/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
import { ALWAYS_PREFIX, alwaysPalette, deprecatedAlwaysPalette, newAlwaysPalette } from "../palette/dist/index.js";
import { AVATAR_SIZE_PREFIX, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_CONTROL_HEIGHT_VAR, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DROP_SHADOW_PREFIX, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, ICON_SIZE_PREFIX, INSET_SHADOW_PREFIX, INVERT_COLOR_MODE_CLASSNAME, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, MOTION_PREFIX, OUTLINE_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, getMotionVar, getShadowLayerValue, textVariantsSafe } from "../css-tokens/dist/index.js";
import { variants } from "../styles/variants.js";
import { entries } from "../utils/dist/entries.js";
import { fromEntries } from "../utils/dist/fromEntries.js";
import { mapValues } from "../utils/dist/mapValues.js";
import { INTERACTIVE_ATOMICS, MAX_MODIFIERS_PER_COMPOUND, MODIFIER_ATOMICS, isAtomicState, isInteractiveAtomic, isModifierAtomic } from "../automated-config/dist/types/StateAxis.js";
import { generateSchemaKey } from "../automated-config/dist/utils/generateSchemaKey.js";
import { canonicalizeStateKey, splitStateKey } from "../automated-config/dist/utils/canonicalizeStateKey.js";
import { resolvePropertyStates } from "../automated-config/dist/utils/resolvePropertyStates.js";
import { isVariantConfigWithComponentStates, isVariantConfigWithProperties } from "../automated-config/dist/utils/variantConfigGuards.js";
import { buildConfigSchema, findFixtureType, findFixtureTypeForValue } from "../automated-config/dist/utils/buildConfigSchema.js";
import { generateDefaultClassName } from "../automated-config/dist/utils/generateDefaultClassName.js";
import { SHARED_BUTTON_ICONBUTTON_SIZES, applyButtonControlHeightDeclarations, applyIconButtonControlHeightDeclarations, getButtonContentLineHeight, getButtonControlContentSize, getButtonControlHeight, getButtonIconSizeVar, getIconButtonControlHeight } from "../automated-config/dist/utils/getButtonControlHeight.js";
import { disableIconButtonMatchButtonHeight, enableIconButtonMatchButtonHeight, isIconButtonMatchButtonHeightEnabled } from "../automated-config/dist/utils/iconButtonMatchButtonHeight.js";
import { getButtonControlHeightPx, getIconButtonControlHeightPx, getIconButtonOnlyControlHeightPx, syncButtonControlHeightVarForSize, syncIconButtonControlHeightVarForSize, syncIconButtonOnlyControlHeightVarForSize } from "../automated-config/dist/utils/getButtonControlHeightPx.js";
import { getStateDocsClass, getStateSelector, isKnownStateAtom } from "../automated-config/dist/utils/pseudoStateSelectors.js";
import { propertyUsesPerStateEnabled, resolveSlotByCascade } from "../automated-config/dist/utils/resolveSlotByCascade.js";
import { cartesianProduct } from "../automated-config/dist/utils/cartesianProduct.js";
import { getConfigSubcomponents } from "../automated-config/dist/utils/subcomponents.js";
import { coalesceConfigVariant } from "../automated-config/dist/utils/coalesceConfigVariant.js";
import { getConfigDefaultValue, isConfigDefaultValue } from "../automated-config/dist/utils/defaults.js";
import { generateKeyFromFlatConfigPath } from "../automated-config/dist/utils/generateKeyFromFlatConfigPath.js";
import { getConfigComponentVariant } from "../automated-config/dist/utils/getConfigComponentVariant.js";
import { getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix } from "../automated-config/dist/utils/getConfigVariantComponentStatesMatrix.js";
import { getConfigVariantProperties } from "../automated-config/dist/utils/getConfigVariantProperties.js";
import { getConfigVariantPseudoStates } from "../automated-config/dist/utils/getConfigVariantPseudoStates.js";
import { getConfigVariants } from "../automated-config/dist/utils/getConfigVariants.js";
import { getPaginationControlWidthPx, syncPaginationWidthVarForSize } from "../automated-config/dist/utils/getPaginationControlWidthPx.js";
import { isConfiguratorPropertyVisible } from "../automated-config/dist/utils/isConfiguratorPropertyVisible.js";
import { applyBoxShadowBorder, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, generateClassName, generateConfigStyles, generateDeclaration, generateStyles, mergeUniversalUnderOverride, statePseudoMapDocsMode } from "../automated-config/dist/utils/index.js";
import { AvatarConfig, BadgeConfig, BannerConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DividerConfig, IconButtonConfig, InputConfig, LinkConfig, MenuContentConfig, MenuItemConfig, ModalConfig, PaddleNavConfig, PaginationConfig, PopoverConfig, RadioConfig, ScrimConfig, SelectConfig, SelectContentConfig, SelectItemConfig, SwitchConfig, TabConfig, TabsConfig, ToastConfig, TooltipConfig } from "../automated-config/dist/generated/generatedConfigs.js";
import { shadow } from "./configs/shadow.js";
import { DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP } from "../modes/dist/index.js";
import { FONT_DECLARATIONS_MAP } from "../fonts/dist/index.js";
import { parseButtonVariantFlat } from "./parseButtonVariants.js";
import { fontUrls, getFontUrls, getFontUrlsByIds } from "./utils/getFontUrls.js";
import { spectrumRgbToString, toRgbChannel, toSpectrumValueEntry } from "./utils/spectrum.js";
export { ALWAYS_PREFIX, AVATAR_SIZE_PREFIX, AvatarConfig, BACKGROUND_BLUR_COLOR_PREFIX, BACKGROUND_BLUR_FALLBACK_COLOR_PREFIX, BACKGROUND_BLUR_RADIUS_PREFIX, BACKGROUND_COLOR_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_CONTROL_HEIGHT_VAR, BUTTON_GAP_VAR, BUTTON_SCALE_EFFECT, BUTTON_SCALE_EFFECT_HOVER, BUTTON_SCALE_EFFECT_PRESSED, BUTTON_SCALE_EFFECT_REST, BadgeConfig, BannerConfig, BottomSheetConfig, ButtonConfig, CheckboxConfig, ChipConfig, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_SCALE_MODE_FOR_APP, DROP_SHADOW_PREFIX, DividerConfig, FONT_DECLARATIONS_MAP, FONT_FAMILY_PREFIX, FONT_SIZE_PREFIX, FONT_SLANT_PREFIX, FONT_WEIGHT_PREFIX, FONT_WIDTH_PREFIX, ICON_SIZE_PREFIX, INSET_SHADOW_PREFIX, INTERACTIVE_ATOMICS, INVERT_COLOR_MODE_CLASSNAME, IconButtonConfig, InputConfig, LARGE_SCALE_MODE_CLASSNAME, LETTER_SPACING_PREFIX, LIGHT_COLOR_MODE_CLASSNAME, LINE_COLOR_PREFIX, LINE_HEIGHT_PREFIX, LinkConfig, MAX_MODIFIERS_PER_COMPOUND, MEDIUM_SCALE_MODE_CLASSNAME, MODIFIER_ATOMICS, MOTION_PREFIX, MenuContentConfig, MenuItemConfig, ModalConfig, OUTLINE_PREFIX, PSEUDO_STYLE_SELECTOR_MAP, PaddleNavConfig, PaginationConfig, PopoverConfig, RadioConfig, SHARED_BUTTON_ICONBUTTON_SIZES, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, SYSTEM_COLOR_MODE_CLASSNAME, ScrimConfig, SelectConfig, SelectContentConfig, SelectItemConfig, SwitchConfig, TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, TEXT_RESPONSIVE_CLASSNAME, TEXT_TRANSFORM_PREFIX, TabConfig, TabsConfig, ToastConfig, TooltipConfig, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, alwaysPalette, applyBoxShadowBorder, applyButtonControlHeightDeclarations, applyIconButtonControlHeightDeclarations, buildConfigSchema, canonicalizeStateKey, cartesianProduct, coalesceConfigVariant, createComponentStates, createConfigurableProperty, createLayerConfig, createSubComponentConfig, createVariantConfig, createVariantConfigWithComponentStates, createVariantConfigWithProperties, deprecatedAlwaysPalette, disableIconButtonMatchButtonHeight, enableIconButtonMatchButtonHeight, entries, findFixtureType, findFixtureTypeForValue, fontUrls, fromEntries, generateClassName, generateConfigStyles, generateDeclaration, generateDefaultClassName, generateKeyFromFlatConfigPath, generateSchemaKey, generateStyles, getButtonContentLineHeight, getButtonControlContentSize, getButtonControlHeight, getButtonControlHeightPx, getButtonIconSizeVar, getConfigComponentVariant, getConfigDefaultValue, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getFontUrls, getFontUrlsByIds, getIconButtonControlHeight, getIconButtonControlHeightPx, getIconButtonOnlyControlHeightPx, getMotionVar, getPaginationControlWidthPx, getShadowLayerValue, getStateDocsClass, getStateSelector, isAtomicState, isConfigDefaultValue, isConfiguratorPropertyVisible, isIconButtonMatchButtonHeightEnabled, isInteractiveAtomic, isKnownStateAtom, isModifierAtomic, isVariantConfigWithComponentStates, isVariantConfigWithProperties, mapValues, mergeUniversalUnderOverride, newAlwaysPalette, parseButtonVariantFlat, propertyUsesPerStateEnabled, resolvePropertyStates, resolveSlotByCascade, shadow, spectrumRgbToString, splitStateKey, statePseudoMapDocsMode, syncButtonControlHeightVarForSize, syncIconButtonControlHeightVarForSize, syncIconButtonOnlyControlHeightVarForSize, syncPaginationWidthVarForSize, textVariantsSafe, toRgbChannel, toSpectrumValueEntry, variants };
