/*! © 2026 Yahoo, Inc. UDS Tailwind and Purger v0.0.0-development */
const require_index = require('../../css-tokens/dist/index.cjs');
const require_entries = require('../../utils/entries.cjs');
const require_fromEntries = require('../../utils/fromEntries.cjs');

//#region src/tailwind/utils/getShadowStyles.ts
const shadowVariantToCSS = (shadowType, shadowVariant) => {
	return [`.uds-${shadowType}-shadow-${shadowVariant}`, {
		[`--${require_index.UDS_PREFIX}-${shadowType}-shadow`]: `var(--${require_index.UDS_PREFIX}-${shadowType}-shadow-${shadowVariant})`,
		boxShadow: `var(--${require_index.DROP_SHADOW_PREFIX}, 0 0 transparent), var(--${require_index.UDS_PREFIX}-inset-shadow, 0 0 transparent), var(--tw-ring-offset-shadow, 0 0 transparent), var(--tw-ring-shadow, 0 0 transparent), var(--tw-shadow, 0 0 transparent)`
	}];
};
function getShadowStyles({ config, shadowType }) {
	const shadowTypeConfig = config.shadow[shadowType];
	return require_fromEntries.fromEntries(require_entries.entries(shadowTypeConfig).map(([shadowVariant]) => shadowVariantToCSS(shadowType, shadowVariant)));
}

//#endregion
exports.getShadowStyles = getShadowStyles;
exports.shadowVariantToCSS = shadowVariantToCSS;