/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
const require_plugin$1 = require("../node_modules/.bun/tailwindcss@3.4.19_7500dce058369e0a/node_modules/tailwindcss/plugin.cjs");
const require_index = require("../packages/fixtures/dist/index.cjs");
const require_generatedConfigs = require("../packages/automated-config/dist/generated/generatedConfigs.cjs");
const require_index$1 = require("../packages/automated-config/dist/utils/index.cjs");
//#region ../tailwind-internal/dist/plugins/components.js
/*! © 2026 Yahoo, Inc. UDS Tailwind Internal v0.0.0-development */
const componentsPlugin = (/* @__PURE__ */ require_runtime.__toESM(require_plugin$1.require_plugin(), 1)).default.withOptions(({ config, previewOptions = { generatePseudoStateClassModifier: false } }) => ({ addComponents, theme }) => {
	if (config.button || config.iconButton) {
		addComponents(require_index$1.generateStyles(require_generatedConfigs.ButtonConfig, config.button, theme, previewOptions));
		if (config.iconButton) addComponents(require_index$1.generateStyles(require_generatedConfigs.IconButtonConfig, config.iconButton, theme, previewOptions));
	}
	if (config.divider) addComponents(require_index$1.generateStyles(require_generatedConfigs.DividerConfig, config.divider, theme, previewOptions));
	if (config.link) addComponents(require_index$1.generateStyles(require_generatedConfigs.LinkConfig, config.link, theme, previewOptions));
	if (config.badge) addComponents(require_index$1.generateStyles(require_generatedConfigs.BadgeConfig, config.badge, theme, previewOptions));
	if (config.radio) addComponents(require_index$1.generateStyles(require_generatedConfigs.RadioConfig, config.radio, theme, previewOptions));
	if (config.avatar) addComponents(require_index$1.generateStyles(require_generatedConfigs.AvatarConfig, config.avatar, theme, previewOptions));
	if (config.chip) addComponents(require_index$1.generateStyles(require_generatedConfigs.ChipConfig, config.chip, theme, previewOptions));
	if (config.switch) addComponents(require_index$1.generateStyles(require_generatedConfigs.SwitchConfig, config.switch, theme, previewOptions));
	if (config.checkbox) addComponents(require_index$1.generateStyles(require_generatedConfigs.CheckboxConfig, config.checkbox, theme, previewOptions));
	if (config.menuItem) addComponents(require_index$1.generateStyles(require_generatedConfigs.MenuItemConfig, config.menuItem, theme, previewOptions));
	if (config.menuContent) addComponents(require_index$1.generateStyles(require_generatedConfigs.MenuContentConfig, config.menuContent, theme, previewOptions));
	if (config.input) addComponents(require_index$1.generateStyles(require_generatedConfigs.InputConfig, config.input, theme, previewOptions));
	if (config?.toast) addComponents(require_index$1.generateStyles(require_generatedConfigs.ToastConfig, config.toast, theme, previewOptions));
	if (config.tooltip) addComponents(require_index$1.generateStyles(require_generatedConfigs.TooltipConfig, config.tooltip, theme, previewOptions));
	if (config?.bottomSheet) addComponents(require_index$1.generateStyles(require_generatedConfigs.BottomSheetConfig, config.bottomSheet, theme, previewOptions));
	if (config?.scrim) addComponents(require_index$1.generateStyles(require_generatedConfigs.ScrimConfig, config.scrim, theme, previewOptions));
	if (config.popover) addComponents(require_index$1.generateStyles(require_generatedConfigs.PopoverConfig, config.popover, theme, previewOptions));
	addComponents(require_index$1.generateStyles(require_generatedConfigs.BannerConfig, config.banner, theme, previewOptions));
	addComponents(require_index$1.generateStyles(require_generatedConfigs.TabConfig, config.tab, theme, previewOptions));
	addComponents(require_index$1.generateStyles(require_generatedConfigs.TabsConfig, config.tabs, theme, previewOptions));
	addComponents(require_index$1.generateStyles(require_generatedConfigs.ModalConfig, config.modal, theme, previewOptions));
	addComponents(require_index$1.generateStyles(require_generatedConfigs.PaddleNavConfig, config.paddleNav, theme, previewOptions));
	addComponents(require_index$1.generateStyles(require_generatedConfigs.PaginationConfig, config.pagination, theme, previewOptions));
}, () => ({ theme: { extend: { opacity: require_index.opacityMap } } }));
//#endregion
exports.componentsPlugin = componentsPlugin;
