@yahoo/uds 3.4.8 → 3.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/cli/FullWidthClassToProp.mock.tsx +17 -0
  2. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  3. package/cli/bin/uds-linux-arm64 +0 -0
  4. package/cli/bin/uds-linux-x64-baseline +0 -0
  5. package/dist/{VStack-CWaR6qMk.d.ts → VStack-CmraVolm.d.ts} +3 -8
  6. package/dist/{VStack-VYrQbFmE.d.cts → VStack-dT3EJCu4.d.cts} +3 -8
  7. package/dist/chunk-EE3DM7SS.js +2 -0
  8. package/dist/chunk-IQ4HRDIM.cjs +3 -0
  9. package/dist/chunk-KSHOOD3K.js +3 -0
  10. package/dist/chunk-P4XGJJCM.cjs +2 -0
  11. package/dist/client/index.cjs +2 -2
  12. package/dist/client/index.d.cts +2 -2
  13. package/dist/client/index.d.ts +2 -2
  14. package/dist/client/index.js +3 -3
  15. package/dist/{index-5FbcDtke.d.ts → index-BOfq14yW.d.ts} +6 -39
  16. package/dist/{index-D9eJ0LWw.d.cts → index-D1poGuo1.d.cts} +6 -39
  17. package/dist/index.cjs +1 -1
  18. package/dist/index.d.cts +3 -3
  19. package/dist/index.d.ts +3 -3
  20. package/dist/index.js +1 -1
  21. package/dist/metafile-cjs.json +1 -1
  22. package/dist/metafile-esm.json +1 -1
  23. package/dist/tailwind/plugin.cjs +1 -1
  24. package/dist/tailwind/plugin.js +2 -2
  25. package/dist/tailwind/purger.cjs +1 -1
  26. package/dist/tailwind/purger.js +1 -1
  27. package/dist/tailwind/utils.cjs +1 -1
  28. package/dist/tailwind/utils.js +1 -1
  29. package/dist/tokens/automation/configs.cjs +1 -1
  30. package/dist/tokens/automation/configs.d.cts +1 -1
  31. package/dist/tokens/automation/configs.d.ts +1 -1
  32. package/dist/tokens/automation/configs.js +1 -1
  33. package/dist/tokens/automation/properties.cjs +1 -1
  34. package/dist/tokens/automation/properties.d.cts +1 -1
  35. package/dist/tokens/automation/properties.d.ts +1 -1
  36. package/dist/tokens/automation/properties.js +1 -1
  37. package/dist/tokens/index.cjs +1 -1
  38. package/dist/tokens/index.d.cts +2 -2
  39. package/dist/tokens/index.d.ts +2 -2
  40. package/dist/tokens/index.js +1 -1
  41. package/package.json +5 -3
  42. package/dist/VStack-BKDHQeTK.d.ts +0 -150
  43. package/dist/VStack-Dvrz0_7L.d.cts +0 -150
  44. package/dist/chunk-2MG2VZWQ.js +0 -3
  45. package/dist/chunk-4ZPWHOWH.js +0 -3
  46. package/dist/chunk-6GA7YVZ6.js +0 -2
  47. package/dist/chunk-B6TJHTZE.js +0 -2
  48. package/dist/chunk-HBZLHJEI.js +0 -2
  49. package/dist/chunk-JT7WMMLH.cjs +0 -3
  50. package/dist/chunk-NFM3LOGK.cjs +0 -2
  51. package/dist/chunk-TH6RUZ5W.cjs +0 -3
  52. package/dist/chunk-XF3ISQLE.cjs +0 -2
  53. package/dist/chunk-YTMZSL6D.cjs +0 -1
  54. package/dist/index-5tZk1dA6.d.cts +0 -241
  55. package/dist/index-Byllc0JJ.d.ts +0 -241
  56. package/dist/types-DE_O6y5z.d.cts +0 -10302
  57. package/dist/types-DE_O6y5z.d.ts +0 -10302
@@ -1 +1 @@
1
- export{configurableProperties}from"../../chunk-6GA7YVZ6.js";
1
+ export{configurableProperties}from"../../chunk-EE3DM7SS.js";
@@ -1 +1 @@
1
- "use strict";var e=require("../chunk-NFM3LOGK.cjs"),t=require("../chunk-IC335V3E.cjs"),r=require("../chunk-J7PUOUXC.cjs"),n=require("../chunk-HTL6WRXY.cjs");Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return e.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return e.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return e.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return e.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return e.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return e.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return e.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return e.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return e.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return e.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return e.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return e.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return e.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return e.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return e.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return e.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return e.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return e.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return e.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return e.createVariantConfigWithProperties}}),Object.defineProperty(exports,"defaultTokensConfig",{enumerable:!0,get:function(){return e.defaultTokensConfig}}),Object.defineProperty(exports,"defaultUniversalTokensConfigAuto",{enumerable:!0,get:function(){return e.defaultUniversalTokensConfigAuto}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return e.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return e.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return e.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return e.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return e.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return e.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return e.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return e.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return e.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return e.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return e.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return e.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return e.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return e.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return e.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return e.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return e.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return e.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return e.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return e.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return e.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return e.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return e.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return e.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return e.toMinimalDbConfigObject}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return t.variants}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return r.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return r.mapValues}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return n.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return n.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return n.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return n.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return n.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return n.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return n.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return n.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return n.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return n.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return n.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return n.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return n.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return n.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return n.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXXLARGE_SCALE_MODE_CLASSNAME}});
1
+ "use strict";var e=require("../chunk-P4XGJJCM.cjs"),t=require("../chunk-IC335V3E.cjs"),r=require("../chunk-J7PUOUXC.cjs"),n=require("../chunk-HTL6WRXY.cjs");Object.defineProperty(exports,"DEFAULT_COLOR_MODE",{enumerable:!0,get:function(){return e.DEFAULT_COLOR_MODE}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_FOR_APP",{enumerable:!0,get:function(){return e.DEFAULT_COLOR_MODE_FOR_APP}}),Object.defineProperty(exports,"DEFAULT_HIGH_CONTRAST_MODE",{enumerable:!0,get:function(){return e.DEFAULT_HIGH_CONTRAST_MODE}}),Object.defineProperty(exports,"DEFAULT_REGION_MODE",{enumerable:!0,get:function(){return e.DEFAULT_REGION_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE",{enumerable:!0,get:function(){return e.DEFAULT_SCALE_MODE}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_FOR_APP",{enumerable:!0,get:function(){return e.DEFAULT_SCALE_MODE_FOR_APP}}),Object.defineProperty(exports,"FONT_DECLARATIONS_MAP",{enumerable:!0,get:function(){return e.FONT_DECLARATIONS_MAP}}),Object.defineProperty(exports,"alwaysPalette",{enumerable:!0,get:function(){return e.alwaysPalette}}),Object.defineProperty(exports,"button",{enumerable:!0,get:function(){return e.button}}),Object.defineProperty(exports,"cartesianProduct",{enumerable:!0,get:function(){return e.cartesianProduct}}),Object.defineProperty(exports,"coalesceConfigVariant",{enumerable:!0,get:function(){return e.coalesceConfigVariant}}),Object.defineProperty(exports,"configurableProperties",{enumerable:!0,get:function(){return e.configurableProperties}}),Object.defineProperty(exports,"createComponentStateConfig",{enumerable:!0,get:function(){return e.createComponentStateConfig}}),Object.defineProperty(exports,"createComponentStates",{enumerable:!0,get:function(){return e.createComponentStates}}),Object.defineProperty(exports,"createConfigurableProperty",{enumerable:!0,get:function(){return e.createConfigurableProperty}}),Object.defineProperty(exports,"createLayerConfig",{enumerable:!0,get:function(){return e.createLayerConfig}}),Object.defineProperty(exports,"createSubComponentConfig",{enumerable:!0,get:function(){return e.createSubComponentConfig}}),Object.defineProperty(exports,"createVariantConfig",{enumerable:!0,get:function(){return e.createVariantConfig}}),Object.defineProperty(exports,"createVariantConfigWithComponentStates",{enumerable:!0,get:function(){return e.createVariantConfigWithComponentStates}}),Object.defineProperty(exports,"createVariantConfigWithProperties",{enumerable:!0,get:function(){return e.createVariantConfigWithProperties}}),Object.defineProperty(exports,"defaultTokensConfig",{enumerable:!0,get:function(){return e.defaultTokensConfig}}),Object.defineProperty(exports,"defaultUniversalTokensConfigAuto",{enumerable:!0,get:function(){return e.defaultUniversalTokensConfigAuto}}),Object.defineProperty(exports,"findFixtureType",{enumerable:!0,get:function(){return e.findFixtureType}}),Object.defineProperty(exports,"fontWeightMap",{enumerable:!0,get:function(){return e.fontWeightMap}}),Object.defineProperty(exports,"fromEntries",{enumerable:!0,get:function(){return e.fromEntries}}),Object.defineProperty(exports,"generateClassName",{enumerable:!0,get:function(){return e.generateClassName}}),Object.defineProperty(exports,"generateDeclaration",{enumerable:!0,get:function(){return e.generateDeclaration}}),Object.defineProperty(exports,"generateKeyFromFlatConfigPath",{enumerable:!0,get:function(){return e.generateKeyFromFlatConfigPath}}),Object.defineProperty(exports,"generateSchemaKey",{enumerable:!0,get:function(){return e.generateSchemaKey}}),Object.defineProperty(exports,"generateStyles",{enumerable:!0,get:function(){return e.generateStyles}}),Object.defineProperty(exports,"getConfigDefaultValue",{enumerable:!0,get:function(){return e.getConfigDefaultValue}}),Object.defineProperty(exports,"getConfigPseudoStateVariables",{enumerable:!0,get:function(){return e.getConfigPseudoStateVariables}}),Object.defineProperty(exports,"getConfigPseudoStateVariablesWithSetter",{enumerable:!0,get:function(){return e.getConfigPseudoStateVariablesWithSetter}}),Object.defineProperty(exports,"getConfigSubcomponents",{enumerable:!0,get:function(){return e.getConfigSubcomponents}}),Object.defineProperty(exports,"getConfigVariantComponentStates",{enumerable:!0,get:function(){return e.getConfigVariantComponentStates}}),Object.defineProperty(exports,"getConfigVariantComponentStatesMatrix",{enumerable:!0,get:function(){return e.getConfigVariantComponentStatesMatrix}}),Object.defineProperty(exports,"getConfigVariantProperties",{enumerable:!0,get:function(){return e.getConfigVariantProperties}}),Object.defineProperty(exports,"getConfigVariantPseudoStates",{enumerable:!0,get:function(){return e.getConfigVariantPseudoStates}}),Object.defineProperty(exports,"getConfigVariants",{enumerable:!0,get:function(){return e.getConfigVariants}}),Object.defineProperty(exports,"getDefaultButtonBaseMap",{enumerable:!0,get:function(){return e.getDefaultButtonBaseMap}}),Object.defineProperty(exports,"isConfigDefaultValue",{enumerable:!0,get:function(){return e.isConfigDefaultValue}}),Object.defineProperty(exports,"parseButtonVariantFlat",{enumerable:!0,get:function(){return e.parseButtonVariantFlat}}),Object.defineProperty(exports,"parseDeprecatedButtonPaletteVariant",{enumerable:!0,get:function(){return e.parseDeprecatedButtonPaletteVariant}}),Object.defineProperty(exports,"setConfigPseudoStateVariable",{enumerable:!0,get:function(){return e.setConfigPseudoStateVariable}}),Object.defineProperty(exports,"shadow",{enumerable:!0,get:function(){return e.shadow}}),Object.defineProperty(exports,"statePseudoMapDocsMode",{enumerable:!0,get:function(){return e.statePseudoMapDocsMode}}),Object.defineProperty(exports,"toMinimalDbConfigObject",{enumerable:!0,get:function(){return e.toMinimalDbConfigObject}}),Object.defineProperty(exports,"variants",{enumerable:!0,get:function(){return t.variants}}),Object.defineProperty(exports,"entries",{enumerable:!0,get:function(){return r.entries}}),Object.defineProperty(exports,"mapValues",{enumerable:!0,get:function(){return r.mapValues}}),Object.defineProperty(exports,"AVATAR_SIZE_PREFIX",{enumerable:!0,get:function(){return n.AVATAR_SIZE_PREFIX}}),Object.defineProperty(exports,"BORDER_RADIUS_PREFIX",{enumerable:!0,get:function(){return n.BORDER_RADIUS_PREFIX}}),Object.defineProperty(exports,"BORDER_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.BORDER_WIDTH_PREFIX}}),Object.defineProperty(exports,"BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return n.BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"DARK_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DARK_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"DEFAULT_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.DEFAULT_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"FONT_FAMILY_PREFIX",{enumerable:!0,get:function(){return n.FONT_FAMILY_PREFIX}}),Object.defineProperty(exports,"FONT_SIZE_PREFIX",{enumerable:!0,get:function(){return n.FONT_SIZE_PREFIX}}),Object.defineProperty(exports,"FONT_SLANT_PREFIX",{enumerable:!0,get:function(){return n.FONT_SLANT_PREFIX}}),Object.defineProperty(exports,"FONT_WEIGHT_PREFIX",{enumerable:!0,get:function(){return n.FONT_WEIGHT_PREFIX}}),Object.defineProperty(exports,"FONT_WIDTH_PREFIX",{enumerable:!0,get:function(){return n.FONT_WIDTH_PREFIX}}),Object.defineProperty(exports,"ICON_BUTTON_CSS_VAR_MAP",{enumerable:!0,get:function(){return n.ICON_BUTTON_CSS_VAR_MAP}}),Object.defineProperty(exports,"ICON_SIZE_PREFIX",{enumerable:!0,get:function(){return n.ICON_SIZE_PREFIX}}),Object.defineProperty(exports,"LARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"LIGHT_COLOR_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.LIGHT_COLOR_MODE_CLASSNAME}}),Object.defineProperty(exports,"LINE_HEIGHT_PREFIX",{enumerable:!0,get:function(){return n.LINE_HEIGHT_PREFIX}}),Object.defineProperty(exports,"MEDIUM_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.MEDIUM_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"MOTION_PREFIX",{enumerable:!0,get:function(){return n.MOTION_PREFIX}}),Object.defineProperty(exports,"PSEUDO_STYLE_SELECTOR_MAP",{enumerable:!0,get:function(){return n.PSEUDO_STYLE_SELECTOR_MAP}}),Object.defineProperty(exports,"SMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.SMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"SPECTRUM_COLOR_PREFIX",{enumerable:!0,get:function(){return n.SPECTRUM_COLOR_PREFIX}}),Object.defineProperty(exports,"TEXT_TRANSFORM_PREFIX",{enumerable:!0,get:function(){return n.TEXT_TRANSFORM_PREFIX}}),Object.defineProperty(exports,"UDS_PREFIX",{enumerable:!0,get:function(){return n.UDS_PREFIX}}),Object.defineProperty(exports,"XLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XSMALL_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XSMALL_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXLARGE_SCALE_MODE_CLASSNAME}}),Object.defineProperty(exports,"XXXLARGE_SCALE_MODE_CLASSNAME",{enumerable:!0,get:function(){return n.XXXLARGE_SCALE_MODE_CLASSNAME}});
@@ -1,6 +1,6 @@
1
1
  export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './automation/configs.cjs';
2
- import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-D9eJ0LWw.cjs';
3
- export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, k as SchemaStateValue, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from '../index-D9eJ0LWw.cjs';
2
+ import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-D1poGuo1.cjs';
3
+ export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, C as ConfigurablePropertiesName, L as LayerConfig, P as PossibleStates, k as SchemaStateValue, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from '../index-D1poGuo1.cjs';
4
4
  import { cV as UniversalTokensConfigAuto, U as UniversalTokensConfig, aD as ButtonKind, aH as ButtonPalette, ay as ButtonBaseConfig, B as ButtonConfig, a_ as ColorModeConfig, c0 as ScaleModeConfig, m as FontConfig, by as IconButtonConfig, p as MotionConfig, c4 as ShadowConfig, bq as FontWeightDescriptive, br as FontWeightNumeric, a$ as ColorModeForApp, c1 as ScaleModeForApp, C as ColorMode, S as ScaleMode, bw as HighContrastMode, bZ as RegionMode, aS as ButtonVariant, aU as ButtonVariantFlat } from '../types-B_jakWRK.cjs';
5
5
  export { A as AVATAR_SIZE_PREFIX, ad as AlwaysPalette, ae as AlwaysPaletteAlias, af as AlwaysPaletteColor, ag as Animation, ah as AriaAttribute, ai as AvatarAbbreviationStrategy, aj as AvatarShape, ak as AvatarSize, al as AvatarSizeConfig, am as AvatarVariant, D as BORDER_RADIUS_PREFIX, E as BORDER_WIDTH_PREFIX, a5 as BUTTON_CSS_VAR_MAP, an as BackgroundColor, ao as BackgroundPalette, ap as BackgroundPaletteAlias, aq as BackgroundStyleProps, ar as BadgeSize, as as BadgeVariant, at as BorderRadius, au as BorderRadiusConfig, av as BorderStyleProps, aw as BorderWidth, ax as BorderWidthConfig, i as ButtonClassMap, az as ButtonClassName, aA as ButtonColorConfig, aB as ButtonColorEffect, aC as ButtonColorEffectConfig, j as ButtonColorProperty, k as ButtonColorPropertyConfig, aE as ButtonMotionEffect, aF as ButtonMotionProperty, aG as ButtonMotionPropertyConfig, aI as ButtonPaletteColor, aJ as ButtonPaletteConfig, aK as ButtonShadowPropertyConfig, aL as ButtonSize, aM as ButtonSizeConfig, aN as ButtonSizeProperty, aO as ButtonSpectrumColor, aP as ButtonState, aQ as ButtonStateConfig, aR as ButtonStateEffectConfig, aT as ButtonVariantConfig, aV as CheckboxSize, aW as CheckboxValue, aX as CheckboxVariant, aY as ChipSize, aZ as ChipVariant, a as ColorsConfig, b0 as ConfigurableDropShadowValues, b1 as ConfigurableInsetShadowValues, b2 as CustomSizingStyleProps, W as DARK_COLOR_MODE_CLASSNAME, a3 as DEFAULT_COLOR_MODE_CLASSNAME, a4 as DEFAULT_SCALE_MODE_CLASSNAME, b3 as DataAttribute, b4 as Display, b5 as DividerVariant, a8 as FONT_DECLARATIONS_MAP, G as FONT_FAMILY_PREFIX, J as FONT_SIZE_PREFIX, L as FONT_SLANT_PREFIX, K as FONT_WEIGHT_PREFIX, N as FONT_WIDTH_PREFIX, b6 as Flex, b7 as FlexAlignContent, b8 as FlexAlignItems, b9 as FlexAlignSelf, ba as FlexBasis, bb as FlexDirection, bc as FlexGrow, bd as FlexJustifyContent, be as FlexShrink, bf as FlexStyleProps, bg as FlexWrap, bh as FontAlias, a9 as FontAxisConfig, bi as FontCssVar, aa as FontDeclarationConfig, l as FontDeclarationItemConfig, ab as FontDeclarationMap, bj as FontFamilyCDNUrl, bk as FontFamilyConfig, F as FontID, bl as FontSize, bm as FontSizeConfig, bn as FontSlantConfig, bo as FontType, bp as FontWeightConfig, ac as FontWeightForFont, bs as FontWidthConfig, bt as ForegroundColor, bu as ForegroundPalette, bv as ForegroundPaletteAlias, H as Hue, b as HueStep, a6 as ICON_BUTTON_CSS_VAR_MAP, O as ICON_SIZE_PREFIX, I as IconButtonClassMap, bx as IconButtonClassName, bz as IconButtonDefaultsConfig, bA as IconButtonSize, s as IconPropsWithSVGProps, bB as IconSizeConfig, t as ImagePropsWithImgProps, bC as ImageStyleProps, bD as InputSize, $ as LARGE_SCALE_MODE_CLASSNAME, X as LIGHT_COLOR_MODE_CLASSNAME, Q as LINE_HEIGHT_PREFIX, bE as LayoutStyleProps, bF as LetterSpacing, bG as LineClampAlias, bH as LineColor, bI as LineHeight, bJ as LineHeightConfig, bK as LinePalette, bL as LinePaletteAlias, _ as MEDIUM_SCALE_MODE_CLASSNAME, R as MOTION_PREFIX, bM as Modes, bN as MotionCssVar, bO as MotionSpringConfig, o as MotionSpringConfigOptions, M as MotionVariant, n as MotionVariantSpeed, bP as MotionVariantValues, bQ as Overflow, a7 as PSEUDO_STYLE_SELECTOR_MAP, bR as Palette, c as PaletteConfig, P as PaletteType, bS as PaletteValue, bT as PlatformMode, bU as Position, bV as PropertyToPaletteAliasMap, bW as RadioSize, bX as RadioValue, bY as RadioVariant, Z as SMALL_SCALE_MODE_CLASSNAME, T as SPECTRUM_COLOR_PREFIX, b_ as ScaleConfig, b$ as ScaleEffectMap, c2 as ShadowColor, c3 as ShadowColorConfig, c5 as ShadowOffset, c6 as ShadowOpacity, c7 as ShadowPalette, c8 as ShadowPaletteAlias, d as ShadowPreset, c9 as ShadowSpreadRadius, ca as ShadowStyleProps, q as ShadowType, cb as ShadowTypeConfig, cc as ShadowVariant, cd as ShadowVariantConfig, ce as ShadowVariantInvert, cf as ShadowVariantWithInvert, cg as SharedPaletteAlias, ch as SpacingAlias, ci as SpacingConfig, cj as SpacingStyleProps, ck as SpectrumColor, cl as SpectrumConfig, cm as StateStyleProps, cn as StyleProps, co as SwitchSize, V as TEXT_TRANSFORM_PREFIX, cx as TShirtSize, cy as TShirtSizeCommon, cp as TextProperty, cq as TextStyleProps, cr as TextTransform, cs as TextTransformConfig, ct as TextVariant, cu as TransitionDelay, cv as TransitionDuration, cw as TransitionTiming, z as UDS_PREFIX, cz as UdsCssVar, cA as UniversalAvatarIconProps, cB as UniversalAvatarImageProps, cC as UniversalAvatarProps, cD as UniversalAvatarTextProps, cE as UniversalBadgeProps, e as UniversalBoxProps, cF as UniversalButtonProps, cG as UniversalCheckboxProps, cH as UniversalChipBaseProps, cI as UniversalChipButtonProps, cJ as UniversalChipDismissibleProps, cK as UniversalChipLinkProps, cL as UniversalChipProps, cM as UniversalChipToggleProps, g as UniversalDividerProps, r as UniversalFormLabelProps, cN as UniversalIconButtonProps, cO as UniversalIconProps, u as UniversalIconSlot, cP as UniversalImageProps, h as UniversalInputProps, v as UniversalLinkProps, cQ as UniversalMenuItemProps, cR as UniversalPressableProps, cS as UniversalRadioGroupProps, cT as UniversalRadioProps, f as UniversalStackProps, cU as UniversalSwitchProps, w as UniversalTextProps, a0 as XLARGE_SCALE_MODE_CLASSNAME, Y as XSMALL_SCALE_MODE_CLASSNAME, a1 as XXLARGE_SCALE_MODE_CLASSNAME, a2 as XXXLARGE_SCALE_MODE_CLASSNAME, x as alwaysPalette, y as defaultUniversalTokensConfigAuto } from '../types-B_jakWRK.cjs';
6
6
  export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
@@ -1,6 +1,6 @@
1
1
  export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './automation/configs.js';
2
- import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-5FbcDtke.js';
3
- export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, k as SchemaStateValue, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from '../index-5FbcDtke.js';
2
+ import { g as ComponentConfig, V as VariantConfig, b as ComponentStateConfig, S as SelectedConfigurableProperty, a as PossibleStatesWithRest, d as SubComponentConfig } from '../index-BOfq14yW.js';
3
+ export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, C as ConfigurablePropertiesName, L as LayerConfig, P as PossibleStates, k as SchemaStateValue, f as VariantConfigWithComponentStates, e as VariantConfigWithProperties, c as configurableProperties, r as createComponentStateConfig, w as createComponentStates, p as createConfigurableProperty, x as createLayerConfig, y as createSubComponentConfig, q as createVariantConfig, v as createVariantConfigWithComponentStates, u as createVariantConfigWithProperties, l as findFixtureType, m as generateClassName, n as generateDeclaration, o as generateStyles, s as statePseudoMapDocsMode, t as toMinimalDbConfigObject } from '../index-BOfq14yW.js';
4
4
  import { cV as UniversalTokensConfigAuto, U as UniversalTokensConfig, aD as ButtonKind, aH as ButtonPalette, ay as ButtonBaseConfig, B as ButtonConfig, a_ as ColorModeConfig, c0 as ScaleModeConfig, m as FontConfig, by as IconButtonConfig, p as MotionConfig, c4 as ShadowConfig, bq as FontWeightDescriptive, br as FontWeightNumeric, a$ as ColorModeForApp, c1 as ScaleModeForApp, C as ColorMode, S as ScaleMode, bw as HighContrastMode, bZ as RegionMode, aS as ButtonVariant, aU as ButtonVariantFlat } from '../types-B_jakWRK.js';
5
5
  export { A as AVATAR_SIZE_PREFIX, ad as AlwaysPalette, ae as AlwaysPaletteAlias, af as AlwaysPaletteColor, ag as Animation, ah as AriaAttribute, ai as AvatarAbbreviationStrategy, aj as AvatarShape, ak as AvatarSize, al as AvatarSizeConfig, am as AvatarVariant, D as BORDER_RADIUS_PREFIX, E as BORDER_WIDTH_PREFIX, a5 as BUTTON_CSS_VAR_MAP, an as BackgroundColor, ao as BackgroundPalette, ap as BackgroundPaletteAlias, aq as BackgroundStyleProps, ar as BadgeSize, as as BadgeVariant, at as BorderRadius, au as BorderRadiusConfig, av as BorderStyleProps, aw as BorderWidth, ax as BorderWidthConfig, i as ButtonClassMap, az as ButtonClassName, aA as ButtonColorConfig, aB as ButtonColorEffect, aC as ButtonColorEffectConfig, j as ButtonColorProperty, k as ButtonColorPropertyConfig, aE as ButtonMotionEffect, aF as ButtonMotionProperty, aG as ButtonMotionPropertyConfig, aI as ButtonPaletteColor, aJ as ButtonPaletteConfig, aK as ButtonShadowPropertyConfig, aL as ButtonSize, aM as ButtonSizeConfig, aN as ButtonSizeProperty, aO as ButtonSpectrumColor, aP as ButtonState, aQ as ButtonStateConfig, aR as ButtonStateEffectConfig, aT as ButtonVariantConfig, aV as CheckboxSize, aW as CheckboxValue, aX as CheckboxVariant, aY as ChipSize, aZ as ChipVariant, a as ColorsConfig, b0 as ConfigurableDropShadowValues, b1 as ConfigurableInsetShadowValues, b2 as CustomSizingStyleProps, W as DARK_COLOR_MODE_CLASSNAME, a3 as DEFAULT_COLOR_MODE_CLASSNAME, a4 as DEFAULT_SCALE_MODE_CLASSNAME, b3 as DataAttribute, b4 as Display, b5 as DividerVariant, a8 as FONT_DECLARATIONS_MAP, G as FONT_FAMILY_PREFIX, J as FONT_SIZE_PREFIX, L as FONT_SLANT_PREFIX, K as FONT_WEIGHT_PREFIX, N as FONT_WIDTH_PREFIX, b6 as Flex, b7 as FlexAlignContent, b8 as FlexAlignItems, b9 as FlexAlignSelf, ba as FlexBasis, bb as FlexDirection, bc as FlexGrow, bd as FlexJustifyContent, be as FlexShrink, bf as FlexStyleProps, bg as FlexWrap, bh as FontAlias, a9 as FontAxisConfig, bi as FontCssVar, aa as FontDeclarationConfig, l as FontDeclarationItemConfig, ab as FontDeclarationMap, bj as FontFamilyCDNUrl, bk as FontFamilyConfig, F as FontID, bl as FontSize, bm as FontSizeConfig, bn as FontSlantConfig, bo as FontType, bp as FontWeightConfig, ac as FontWeightForFont, bs as FontWidthConfig, bt as ForegroundColor, bu as ForegroundPalette, bv as ForegroundPaletteAlias, H as Hue, b as HueStep, a6 as ICON_BUTTON_CSS_VAR_MAP, O as ICON_SIZE_PREFIX, I as IconButtonClassMap, bx as IconButtonClassName, bz as IconButtonDefaultsConfig, bA as IconButtonSize, s as IconPropsWithSVGProps, bB as IconSizeConfig, t as ImagePropsWithImgProps, bC as ImageStyleProps, bD as InputSize, $ as LARGE_SCALE_MODE_CLASSNAME, X as LIGHT_COLOR_MODE_CLASSNAME, Q as LINE_HEIGHT_PREFIX, bE as LayoutStyleProps, bF as LetterSpacing, bG as LineClampAlias, bH as LineColor, bI as LineHeight, bJ as LineHeightConfig, bK as LinePalette, bL as LinePaletteAlias, _ as MEDIUM_SCALE_MODE_CLASSNAME, R as MOTION_PREFIX, bM as Modes, bN as MotionCssVar, bO as MotionSpringConfig, o as MotionSpringConfigOptions, M as MotionVariant, n as MotionVariantSpeed, bP as MotionVariantValues, bQ as Overflow, a7 as PSEUDO_STYLE_SELECTOR_MAP, bR as Palette, c as PaletteConfig, P as PaletteType, bS as PaletteValue, bT as PlatformMode, bU as Position, bV as PropertyToPaletteAliasMap, bW as RadioSize, bX as RadioValue, bY as RadioVariant, Z as SMALL_SCALE_MODE_CLASSNAME, T as SPECTRUM_COLOR_PREFIX, b_ as ScaleConfig, b$ as ScaleEffectMap, c2 as ShadowColor, c3 as ShadowColorConfig, c5 as ShadowOffset, c6 as ShadowOpacity, c7 as ShadowPalette, c8 as ShadowPaletteAlias, d as ShadowPreset, c9 as ShadowSpreadRadius, ca as ShadowStyleProps, q as ShadowType, cb as ShadowTypeConfig, cc as ShadowVariant, cd as ShadowVariantConfig, ce as ShadowVariantInvert, cf as ShadowVariantWithInvert, cg as SharedPaletteAlias, ch as SpacingAlias, ci as SpacingConfig, cj as SpacingStyleProps, ck as SpectrumColor, cl as SpectrumConfig, cm as StateStyleProps, cn as StyleProps, co as SwitchSize, V as TEXT_TRANSFORM_PREFIX, cx as TShirtSize, cy as TShirtSizeCommon, cp as TextProperty, cq as TextStyleProps, cr as TextTransform, cs as TextTransformConfig, ct as TextVariant, cu as TransitionDelay, cv as TransitionDuration, cw as TransitionTiming, z as UDS_PREFIX, cz as UdsCssVar, cA as UniversalAvatarIconProps, cB as UniversalAvatarImageProps, cC as UniversalAvatarProps, cD as UniversalAvatarTextProps, cE as UniversalBadgeProps, e as UniversalBoxProps, cF as UniversalButtonProps, cG as UniversalCheckboxProps, cH as UniversalChipBaseProps, cI as UniversalChipButtonProps, cJ as UniversalChipDismissibleProps, cK as UniversalChipLinkProps, cL as UniversalChipProps, cM as UniversalChipToggleProps, g as UniversalDividerProps, r as UniversalFormLabelProps, cN as UniversalIconButtonProps, cO as UniversalIconProps, u as UniversalIconSlot, cP as UniversalImageProps, h as UniversalInputProps, v as UniversalLinkProps, cQ as UniversalMenuItemProps, cR as UniversalPressableProps, cS as UniversalRadioGroupProps, cT as UniversalRadioProps, f as UniversalStackProps, cU as UniversalSwitchProps, w as UniversalTextProps, a0 as XLARGE_SCALE_MODE_CLASSNAME, Y as XSMALL_SCALE_MODE_CLASSNAME, a1 as XXLARGE_SCALE_MODE_CLASSNAME, a2 as XXXLARGE_SCALE_MODE_CLASSNAME, x as alwaysPalette, y as defaultUniversalTokensConfigAuto } from '../types-B_jakWRK.js';
6
6
  export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
@@ -1 +1 @@
1
- export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,alwaysPalette,button,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStateConfig,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,defaultTokensConfig,defaultUniversalTokensConfigAuto,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateDeclaration,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,getDefaultButtonBaseMap,isConfigDefaultValue,parseButtonVariantFlat,parseDeprecatedButtonPaletteVariant,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"../chunk-6GA7YVZ6.js";export{variants}from"../chunk-GSO3MC65.js";export{entries,mapValues}from"../chunk-EWJ3J526.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"../chunk-4G4TBHHL.js";
1
+ export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,alwaysPalette,button,cartesianProduct,coalesceConfigVariant,configurableProperties,createComponentStateConfig,createComponentStates,createConfigurableProperty,createLayerConfig,createSubComponentConfig,createVariantConfig,createVariantConfigWithComponentStates,createVariantConfigWithProperties,defaultTokensConfig,defaultUniversalTokensConfigAuto,findFixtureType,fontWeightMap,fromEntries,generateClassName,generateDeclaration,generateKeyFromFlatConfigPath,generateSchemaKey,generateStyles,getConfigDefaultValue,getConfigPseudoStateVariables,getConfigPseudoStateVariablesWithSetter,getConfigSubcomponents,getConfigVariantComponentStates,getConfigVariantComponentStatesMatrix,getConfigVariantProperties,getConfigVariantPseudoStates,getConfigVariants,getDefaultButtonBaseMap,isConfigDefaultValue,parseButtonVariantFlat,parseDeprecatedButtonPaletteVariant,setConfigPseudoStateVariable,shadow,statePseudoMapDocsMode,toMinimalDbConfigObject}from"../chunk-EE3DM7SS.js";export{variants}from"../chunk-GSO3MC65.js";export{entries,mapValues}from"../chunk-EWJ3J526.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_SLANT_PREFIX,FONT_WEIGHT_PREFIX,FONT_WIDTH_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"../chunk-4G4TBHHL.js";
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
3
  "description": "Yahoo Universal System",
4
- "version": "3.4.8",
4
+ "version": "3.5.0-beta.1",
5
5
  "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
6
9
  "bin": {
7
10
  "uds": "./cli/uds-cli"
8
11
  },
@@ -205,6 +208,5 @@
205
208
  "react": "^18.3.1 || ^19.0.0",
206
209
  "react-dom": "^18.3.1 || ^19.0.0",
207
210
  "tailwindcss": "^3.4.13"
208
- },
209
- "license": "MIT"
211
+ }
210
212
  }
@@ -1,150 +0,0 @@
1
- import * as react from 'react';
2
- import { e as UniversalBoxProps, f as UniversalStackProps, g as UniversalDividerProps, h as UniversalInputProps } from './types-DE_O6y5z.js';
3
- import { HTMLMotionProps } from 'motion/react';
4
-
5
- type DivProps = React.HTMLAttributes<HTMLDivElement>;
6
- interface BoxProps extends UniversalBoxProps, DivProps {
7
- }
8
- /**
9
- * **📦 A layout component that can be used to compose other components**
10
- *
11
- * @description
12
- * The most simple component we ship - a div. But with all the power of the UDS design system.
13
- * By default, `Box` is a flexbox container. When working with vertical or horizontal layouts,
14
- * consider using [VStack](./v-stack) or [HStack](./h-stack) respectively.
15
- *
16
- * @example
17
- * ```tsx
18
- * import { Box } from '@yahoo/uds';
19
- *
20
- * <Box backgroundColor="primary" spacing="6">
21
- * Any kind of content can go here!
22
- * </Box>
23
- * ```
24
- *
25
- * @usage
26
- * - If you need to div-like container to apply padding, shapes, or other styling.
27
- * - If you're creating card components.
28
- *
29
- * @see The {@link https://uds.build/docs/components/box Box Docs} for more info
30
- *
31
- * @related [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
32
- */
33
- declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
34
-
35
- interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
36
- layerClassNames?: {
37
- root?: string;
38
- text?: string;
39
- line?: string;
40
- };
41
- }
42
-
43
- type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
44
- interface DividerInternalProps extends DividerCoreProps {
45
- variant?: VariantWithInherit;
46
- }
47
-
48
- type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
49
- /**
50
- * **📦 A divider component that can be used to visually separate components**
51
- *
52
- * @description
53
- * The Divider component is a visual element used to separate content and create clear groupings within a layout. It helps establish hierarchy, improve readability, and guide users through sections of an interface. Dividers can appear as horizontal or vertical lines and are commonly used between related content blocks, within menus, or in dense UI areas to reduce visual clutter.
54
- *
55
- * @example
56
- * ```tsx
57
- * import { Divider } from '@yahoo/uds';
58
- *
59
- * // Default primary horizontal divider. Similar to <hr />
60
- * <Divider />
61
- *
62
- * // A vertical divider.
63
- * <Divider vertical />
64
- *
65
- * // A horizontal divider with the secondary styling.
66
- * <Divider variant="secondary" />
67
- *
68
- * // A vertical divider with the tertiary styling.
69
- * <Divider vertical variant="tertiary" />
70
- * ```
71
- *
72
- * @usage
73
- * - Visually separating parts of a page. Usually used in conjuction with [HStack](./h-stack) or [VStack](./v-stack).
74
- *
75
- * @see The {@link https://uds.build/docs/components/divider Divider Docs} for more info
76
- *
77
- * @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
78
- */
79
- declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
80
-
81
- type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
82
- type NativeInputProps = Omit<HtmlInputProps, 'height' | 'size' | 'width' | 'color' | 'required'>;
83
- interface InputProps extends NativeInputProps, UniversalInputProps {
84
- /** The type of the input element. Reduced set of options from the HTML input type attribute.
85
- * @default 'text'
86
- */
87
- type?: Exclude<NativeInputProps['type'], 'button' | 'checkbox' | 'color' | 'file' | 'radio' | 'range' | 'reset' | 'submit' | 'search'>;
88
- }
89
- /**
90
- * **📦 An input that allows users to enter text and collect data.**
91
- *
92
- * @componentType Client component
93
- *
94
- * @description
95
- * An input field is a component that takes text typed into it. It can also serve as a way to display a selection and trigger a dropdown menu. Inputs are interactive elements that users can click, tap, or otherwise engage with to collect data and open dropdowns, or both.
96
- *
97
- * @see
98
- * Check out the {@link https://uds.build/docs/components/input Input Docs} for more info
99
- *
100
- * @usage
101
- * - Forms: For collecting data like names, emails, passwords, etc. (e.g., sign-up, login, or contact forms).
102
- * - Search Bars: Allowing users to enter search queries to find content.
103
- * - Filters/Settings: When users need to specify preferences, like selecting a date or adjusting a number value.
104
- * - Feedback/Comments: Letting users leave reviews, comments, or feedback.
105
- *
106
- * @example
107
- * ```tsx
108
- * 'use client';
109
- * import { Input } from "@yahoo/uds";
110
- *
111
- * <Input label="Name" placeholder="Enter your name" required />
112
- *```
113
- *
114
- * @related [Checkbox](https://uds.build/docs/components/checkbox), [Radio](https://uds.build/docs/components/radio).
115
- **/
116
- declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
117
-
118
- type VStackProps = UniversalStackProps & DivProps;
119
- /**
120
- * **🥞 A layout component that arranges its children in rows using flexbox**
121
- *
122
- * @description
123
- * VStack is a layout component that arranges its children in rows using [flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox)
124
- * and can be used to compose larger layouts. VStack is similar to [Box](./box) but provides additional features like a `gap` property to
125
- * add spacing between children.
126
- *
127
- * @example
128
- * ```tsx
129
- * import { VStack, Text } from '@yahoo/uds';
130
- *
131
- * <VStack gap="6">
132
- * <Text variant="body1" color="primary">First</Text>
133
- * <Text variant="body1" color="primary">Second</Text>
134
- * <Text variant="body1" color="primary">Third</Text>
135
- * </VStack>
136
- * ```
137
- *
138
- * @usage
139
- * - Create a column of items, optionally with gaps between.
140
- * - Create rows that are sized to their content (height only). By default each child will fill the width of the VStack.
141
- * - Create rows that fill the available space within the parent container.
142
- * - Create rows of proportionate size to each other (also known as a ratio-based layout).
143
- *
144
- * @see The {@link https://uds.build/docs/components/v-stack VStack Docs} for more info
145
- *
146
- * @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack)
147
- **/
148
- declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
149
-
150
- export { Box as B, type DivProps as D, type InputProps as I, VStack as V, type BoxProps as a, Divider as b, type DividerProps as c, type VStackProps as d, Input as e };
@@ -1,150 +0,0 @@
1
- import * as react from 'react';
2
- import { e as UniversalBoxProps, f as UniversalStackProps, g as UniversalDividerProps, h as UniversalInputProps } from './types-DE_O6y5z.cjs';
3
- import { HTMLMotionProps } from 'motion/react';
4
-
5
- type DivProps = React.HTMLAttributes<HTMLDivElement>;
6
- interface BoxProps extends UniversalBoxProps, DivProps {
7
- }
8
- /**
9
- * **📦 A layout component that can be used to compose other components**
10
- *
11
- * @description
12
- * The most simple component we ship - a div. But with all the power of the UDS design system.
13
- * By default, `Box` is a flexbox container. When working with vertical or horizontal layouts,
14
- * consider using [VStack](./v-stack) or [HStack](./h-stack) respectively.
15
- *
16
- * @example
17
- * ```tsx
18
- * import { Box } from '@yahoo/uds';
19
- *
20
- * <Box backgroundColor="primary" spacing="6">
21
- * Any kind of content can go here!
22
- * </Box>
23
- * ```
24
- *
25
- * @usage
26
- * - If you need to div-like container to apply padding, shapes, or other styling.
27
- * - If you're creating card components.
28
- *
29
- * @see The {@link https://uds.build/docs/components/box Box Docs} for more info
30
- *
31
- * @related [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
32
- */
33
- declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
34
-
35
- interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
36
- layerClassNames?: {
37
- root?: string;
38
- text?: string;
39
- line?: string;
40
- };
41
- }
42
-
43
- type VariantWithInherit = Exclude<UniversalDividerProps['variant'], undefined> | 'inherit';
44
- interface DividerInternalProps extends DividerCoreProps {
45
- variant?: VariantWithInherit;
46
- }
47
-
48
- type DividerProps = Omit<DividerInternalProps, 'layerClassNames'>;
49
- /**
50
- * **📦 A divider component that can be used to visually separate components**
51
- *
52
- * @description
53
- * The Divider component is a visual element used to separate content and create clear groupings within a layout. It helps establish hierarchy, improve readability, and guide users through sections of an interface. Dividers can appear as horizontal or vertical lines and are commonly used between related content blocks, within menus, or in dense UI areas to reduce visual clutter.
54
- *
55
- * @example
56
- * ```tsx
57
- * import { Divider } from '@yahoo/uds';
58
- *
59
- * // Default primary horizontal divider. Similar to <hr />
60
- * <Divider />
61
- *
62
- * // A vertical divider.
63
- * <Divider vertical />
64
- *
65
- * // A horizontal divider with the secondary styling.
66
- * <Divider variant="secondary" />
67
- *
68
- * // A vertical divider with the tertiary styling.
69
- * <Divider vertical variant="tertiary" />
70
- * ```
71
- *
72
- * @usage
73
- * - Visually separating parts of a page. Usually used in conjuction with [HStack](./h-stack) or [VStack](./v-stack).
74
- *
75
- * @see The {@link https://uds.build/docs/components/divider Divider Docs} for more info
76
- *
77
- * @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack), [VStack](https://uds.build/docs/components/v-stack)
78
- */
79
- declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
80
-
81
- type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
82
- type NativeInputProps = Omit<HtmlInputProps, 'height' | 'size' | 'width' | 'color' | 'required'>;
83
- interface InputProps extends NativeInputProps, UniversalInputProps {
84
- /** The type of the input element. Reduced set of options from the HTML input type attribute.
85
- * @default 'text'
86
- */
87
- type?: Exclude<NativeInputProps['type'], 'button' | 'checkbox' | 'color' | 'file' | 'radio' | 'range' | 'reset' | 'submit' | 'search'>;
88
- }
89
- /**
90
- * **📦 An input that allows users to enter text and collect data.**
91
- *
92
- * @componentType Client component
93
- *
94
- * @description
95
- * An input field is a component that takes text typed into it. It can also serve as a way to display a selection and trigger a dropdown menu. Inputs are interactive elements that users can click, tap, or otherwise engage with to collect data and open dropdowns, or both.
96
- *
97
- * @see
98
- * Check out the {@link https://uds.build/docs/components/input Input Docs} for more info
99
- *
100
- * @usage
101
- * - Forms: For collecting data like names, emails, passwords, etc. (e.g., sign-up, login, or contact forms).
102
- * - Search Bars: Allowing users to enter search queries to find content.
103
- * - Filters/Settings: When users need to specify preferences, like selecting a date or adjusting a number value.
104
- * - Feedback/Comments: Letting users leave reviews, comments, or feedback.
105
- *
106
- * @example
107
- * ```tsx
108
- * 'use client';
109
- * import { Input } from "@yahoo/uds";
110
- *
111
- * <Input label="Name" placeholder="Enter your name" required />
112
- *```
113
- *
114
- * @related [Checkbox](https://uds.build/docs/components/checkbox), [Radio](https://uds.build/docs/components/radio).
115
- **/
116
- declare const Input: react.ForwardRefExoticComponent<Omit<InputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
117
-
118
- type VStackProps = UniversalStackProps & DivProps;
119
- /**
120
- * **🥞 A layout component that arranges its children in rows using flexbox**
121
- *
122
- * @description
123
- * VStack is a layout component that arranges its children in rows using [flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox)
124
- * and can be used to compose larger layouts. VStack is similar to [Box](./box) but provides additional features like a `gap` property to
125
- * add spacing between children.
126
- *
127
- * @example
128
- * ```tsx
129
- * import { VStack, Text } from '@yahoo/uds';
130
- *
131
- * <VStack gap="6">
132
- * <Text variant="body1" color="primary">First</Text>
133
- * <Text variant="body1" color="primary">Second</Text>
134
- * <Text variant="body1" color="primary">Third</Text>
135
- * </VStack>
136
- * ```
137
- *
138
- * @usage
139
- * - Create a column of items, optionally with gaps between.
140
- * - Create rows that are sized to their content (height only). By default each child will fill the width of the VStack.
141
- * - Create rows that fill the available space within the parent container.
142
- * - Create rows of proportionate size to each other (also known as a ratio-based layout).
143
- *
144
- * @see The {@link https://uds.build/docs/components/v-stack VStack Docs} for more info
145
- *
146
- * @related [Box](https://uds.build/docs/components/box), [HStack](https://uds.build/docs/components/h-stack)
147
- **/
148
- declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
149
-
150
- export { Box as B, type DivProps as D, type InputProps as I, VStack as V, type BoxProps as a, Divider as b, type DividerProps as c, type VStackProps as d, Input as e };
@@ -1,3 +0,0 @@
1
- import{variants as o}from"./chunk-HBZLHJEI.js";import{textVariants as r,backgroundColors as t,foregroundColors as e,spectrumColors as i,borderRadii as n,borderWidths as a,lineColors as l}from"@yahoo/uds/fixtures";import{getFeatureFlags as s}from"@yahoo/uds/flags";import d from"clsx";import c from"imurmurhash";import{extendTailwindMerge as f}from"tailwind-merge";import{forwardRef as p,memo as u,isValidElement as h,cloneElement as b,useMemo as m,Children as g}from"react";import{jsx as x,jsxs as S}from"react/jsx-runtime";import{isFunction as v}from"lodash-es";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
- function y(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function C(o){const r=Object.create(null),t=Object.keys(o);for(let e=0,i=t.length;e<i;e++){const i=t[e];void 0!==o[i]&&(r[i]=o[i])}return r}var W=f({extend:{theme:{borderColor:l,borderWidth:a,borderRadius:n}},override:{classGroups:{"text-color":[{text:[...e,...i]}],"bg-color":[{bg:t}],"font-family":[{font:["icons",...r]}],leading:[{leading:r}]},conflictingClassGroups:{}}}),w=(...o)=>{const r=d(o);return W(r)},B=o=>r=>{if(!o?.variants)return w(o?.base,r?.className);const{variants:t,defaultVariants:e}=o,i=Object.keys(t).map((o=>{const i=r?.[o],n=e?.[o],a=y(i)||y(n);return t[o][a]})),n={...e,...r&&C(r)},a=o?.compoundVariants?.reduce(((o,{className:r,...t})=>Object.entries(t).every((([o,r])=>n[o]===r))?w(o,r):o),"");return w(o?.base,i,a,r?.className)},T=B({variants:o}),E=new Map,N=o=>{const{useGetStylesCache:r}=s();if(r){const r=function(o){const r=Object.create(null),t=Object.keys(o).sort();for(let e=0,i=t.length;e<i;e++){const i=t[e];r[i]=o[i]}return r}(C(o)),t=(new c).hash(JSON.stringify(r)).result();if(E.has(t))return E.get(t);const e=T(r);return E.set(t,e),e}return T(o)};function R(...o){return r=>o.forEach((o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r)))}function V(){const o=p(((o,t)=>{const{children:i,...n}=o,a=g.toArray(i),l=a.find(e);if(l){const o=l.props.children,e=a.map((r=>r===l?g.count(o)>1?g.only(null):h(o)?o.props.children:null:r));return x(r,{...n,ref:t,children:h(o)?b(o,void 0,e):null})}return x(r,{...n,ref:t,children:i})}));o.displayName="Slot";const r=p(((o,r)=>{const{children:t,...e}=o;return h(t)?b(t,{...i(e,t.props),ref:r?R(r,t.ref):t.ref}):g.count(t)>1?g.only(null):null}));r.displayName="SlotClone";const t=({children:o})=>o;function e(o){return h(o)&&o.type===t}function i(o,r){const t={...r};for(const e in r){const i=o[e],n=r[e];/^on[A-Z]/.test(e)?i&&n?t[e]=(...o)=>{n(...o),i(...o)}:i&&(t[e]=i):"style"===e&&(t[e]={...i,...n})}return{...o,...t}}return o}var H=V(),z=p((function({asChild:o,className:r,backgroundColor:t,borderRadius:e,borderTopStartRadius:i,borderTopEndRadius:n,borderBottomStartRadius:a,borderBottomEndRadius:l,borderColor:s,borderStartColor:d,borderEndColor:c,borderTopColor:f,borderBottomColor:p,borderWidth:u,borderVerticalWidth:h,borderHorizontalWidth:b,borderStartWidth:m,borderEndWidth:g,borderTopWidth:S,borderBottomWidth:v,alignContent:y,alignItems:C,alignSelf:W,flex:w,flexDirection:B,flexGrow:T,flexShrink:E,flexWrap:R,justifyContent:V,flexBasis:z,display:G="flex",overflow:k,overflowX:I,overflowY:j,position:D,spacing:F,spacingHorizontal:O,spacingVertical:A,spacingBottom:X,spacingEnd:Y,spacingStart:P,spacingTop:L,offset:$,offsetVertical:q,offsetHorizontal:J,offsetBottom:M,offsetEnd:Z,offsetStart:_,offsetTop:K,columnGap:Q,rowGap:U,width:oo,height:ro,dropShadow:to,insetShadow:eo,...io},no){const ao=N({backgroundColor:t,borderRadius:e,borderTopStartRadius:i,borderTopEndRadius:n,borderBottomStartRadius:a,borderBottomEndRadius:l,borderColor:s,borderStartColor:d,borderEndColor:c,borderTopColor:f,borderBottomColor:p,borderWidth:u,borderVerticalWidth:h,borderHorizontalWidth:b,borderStartWidth:m,borderEndWidth:g,borderTopWidth:S,borderBottomWidth:v,alignContent:y,alignItems:C,alignSelf:W,flex:w,flexDirection:B,flexGrow:T,flexShrink:E,flexWrap:R,justifyContent:V,flexBasis:z,display:G,overflow:k,overflowX:I,overflowY:j,position:D,spacing:F,spacingHorizontal:O,spacingVertical:A,spacingBottom:X,spacingEnd:Y,spacingStart:P,spacingTop:L,offset:$,offsetVertical:q,offsetHorizontal:J,offsetBottom:M,offsetEnd:Z,offsetStart:_,offsetTop:K,columnGap:Q,rowGap:U,width:oo,height:ro,dropShadow:to,insetShadow:eo,className:r});return x(o?H:"div",{className:ao,ref:no,...io})}));z.displayName="Box";var G=(o,r)=>((o,r)=>{const t=v(r)?r:()=>r;return o.flatMap(((o,r)=>0!==r?[t(r),o]:[o]))})(g.toArray(o),(o=>{const t=v(r)?r(o):r;return h(t)?b(t,{...t.props,key:t.key??`interspersed-${o}`}):null})),k=p((function({gap:o,children:r,separator:t,...e},i){return x(z,{ref:i,flexDirection:"row",rowGap:o,columnGap:o,...e,children:t?G(r,t):r})}));k.displayName="HStack";var I=V(),j={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",label3:"p",label4:"p",caption1:"p",caption2:"p",legal1:"p",inherit:"p"},D=p((function({className:o,asChild:r,color:t="primary",variant:e="body1",as:i=j[e],fontFamily:n,fontSize:a,fontWeight:l,lineHeight:s,textTransform:d,textAlign:c,backgroundColor:f,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:h,borderBottomStartRadius:b,borderBottomEndRadius:m,borderColor:g,borderStartColor:S,borderEndColor:v,borderTopColor:y,borderBottomColor:C,borderWidth:W,borderVerticalWidth:w,borderHorizontalWidth:B,borderStartWidth:T,borderEndWidth:E,borderTopWidth:R,borderBottomWidth:V,alignContent:H,alignItems:z,alignSelf:G,flex:k,flexDirection:D,flexGrow:F,flexShrink:O,flexWrap:A,justifyContent:X,flexBasis:Y,display:P,overflow:L,overflowX:$,overflowY:q,position:J,spacing:M,spacingHorizontal:Z,spacingVertical:_,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:io,offsetEnd:no,offsetStart:ao,offsetTop:lo,columnGap:so,rowGap:co,...fo},po){const uo={...t&&"inherit"!==t?{color:t}:{},...e&&"inherit"!==e?{fontFamily:n??e,fontSize:a??e,fontWeight:l??e,lineHeight:s??e,textTransform:d??e}:{},textAlign:c},ho=N({className:o,...uo,backgroundColor:f,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:h,borderBottomStartRadius:b,borderBottomEndRadius:m,borderColor:g,borderStartColor:S,borderEndColor:v,borderTopColor:y,borderBottomColor:C,borderWidth:W,borderVerticalWidth:w,borderHorizontalWidth:B,borderStartWidth:T,borderEndWidth:E,borderTopWidth:R,borderBottomWidth:V,alignContent:H,alignItems:z,alignSelf:G,flex:k,flexDirection:D,flexGrow:F,flexShrink:O,flexWrap:A,justifyContent:X,flexBasis:Y,display:P,overflow:L,overflowX:$,overflowY:q,position:J,spacing:M,spacingHorizontal:Z,spacingVertical:_,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:io,offsetEnd:no,offsetStart:ao,offsetTop:lo,columnGap:so,rowGap:co});return x(r?I:i,{className:ho,ref:po,...fo})}));D.displayName="Text";var F=p((function({gap:o,children:r,separator:t,...e},i){return x(z,{ref:i,flexDirection:"column",columnGap:o,rowGap:o,...e,children:t?G(r,t):r})}));F.displayName="VStack";var O=({htmlFor:o,required:r,label:t,children:e,color:i="muted",variant:n="label3",hasError:a=!1,showRequiredAsterisk:l=!1,as:s="label",className:d,...c})=>{const f=t?v(t)?t():t:e;return f?S(D,{variant:n,color:i,as:s,htmlFor:o,className:w("cursor-[inherit]",d),...c,children:[f,r&&l&&x(D,{as:"sup",color:a?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null},A={sm:16,md:24,lg:32},X=p((function({name:o,size:r="md",variant:t="outline",color:e="primary",className:i,...n},a){const l=o.metadata?.variants??[],s=l.includes(t)?t:l[0]??"fill",d="multicolor"===s,c=N({flex:"none",color:d?void 0:e,className:w(i,!d&&"[&_path]:fill-current")}),f=A[r];return x("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:f,height:f,viewBox:`0 0 ${f} ${f}`,"aria-hidden":"true",focusable:"false",className:c,...n,children:x(o,{size:r,variant:s})})}));function Y({width:o,height:r,src:t,alt:e,contentFit:i,backgroundColor:n,borderRadius:a,borderTopStartRadius:l,borderTopEndRadius:s,borderBottomStartRadius:d,borderBottomEndRadius:c,borderColor:f,borderStartColor:p,borderEndColor:u,borderTopColor:h,borderBottomColor:b,borderWidth:m,borderVerticalWidth:g,borderHorizontalWidth:S,borderStartWidth:v,borderEndWidth:y,borderTopWidth:C,borderBottomWidth:W,alignContent:w,alignItems:B,alignSelf:T,flex:E,flexDirection:R,flexGrow:V,flexShrink:H,flexWrap:z,justifyContent:G,flexBasis:k,display:I,overflow:j,overflowX:D,overflowY:F,position:O,spacing:A,spacingHorizontal:X,spacingVertical:Y,spacingBottom:P,spacingEnd:L,spacingStart:$,spacingTop:q,offset:J,offsetVertical:M,offsetHorizontal:Z,offsetBottom:_,offsetEnd:K,offsetStart:Q,offsetTop:U,columnGap:oo,rowGap:ro,...to}){const eo=N({contentFit:i,backgroundColor:n,borderRadius:a,borderTopStartRadius:l,borderTopEndRadius:s,borderBottomStartRadius:d,borderBottomEndRadius:c,borderColor:f,borderStartColor:p,borderEndColor:u,borderTopColor:h,borderBottomColor:b,borderWidth:m,borderVerticalWidth:g,borderHorizontalWidth:S,borderStartWidth:v,borderEndWidth:y,borderTopWidth:C,borderBottomWidth:W,alignContent:w,alignItems:B,alignSelf:T,flex:E,flexDirection:R,flexGrow:V,flexShrink:H,flexWrap:z,justifyContent:G,flexBasis:k,display:I,overflow:j,overflowX:D,overflowY:F,position:O,spacing:A,spacingHorizontal:X,spacingVertical:Y,spacingBottom:P,spacingEnd:L,spacingStart:$,spacingTop:q,offset:J,offsetVertical:M,offsetHorizontal:Z,offsetBottom:_,offsetEnd:K,offsetStart:Q,offsetTop:U,columnGap:oo,rowGap:ro});return x("img",{src:t,alt:e,className:eo,style:{width:o,height:r},...to})}X.displayName="Icon";var P=u((function({icon:o,iconProps:r,...t}){if(!o)return null;const e=r??{},i=o;if(i.metadata?.isSvgIcon)return x(X,{name:i,...e,...t});if(v(o)){const r=o(e);return h(r)&&b(r,t)}return h(o)&&b(o,{...e,...o.props,...t})}));var L=u((function({startIcon:o,endIcon:r,iconProps:t,children:e,size:i,isFilled:n,...a}){const l={helperText:N({inputSizeHelperText:i,inputVariantHelperText:"default",inputVariantValueHelperText:n?"filled":"empty"}),helperIcon:N({inputSizeHelperIcon:i,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:n?"filled":"empty"})},s={variant:"outline",...t};return S(k,{gap:"1",alignItems:"center",...a,children:[o&&x(P,{icon:o,...s,iconProps:t,className:l.helperIcon}),x("span",{className:l.helperText,children:e}),r&&x(P,{icon:r,...s,iconProps:t,className:l.helperIcon})]})})),$={horizontal:"w-full",vertical:""},q=p((function({vertical:o=!1,contentPosition:r="center",className:t,layerClassNames:e,children:i,...n},a){const l=o?"vertical":"horizontal",s=o?F:k,d=m((()=>({root:w($[l],t,e?.root),label:e?.text,line:e?.line})),[t,l,e?.root,e?.text,e?.line]),c=m((()=>"vertical"===l?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0}),[l]),f=()=>x(z,{flex:"1",className:d.line,style:c});return i?S(s,{flex:"1",alignItems:"center",className:d.root,ref:a,...n,children:["start"!==r&&x(f,{}),x(z,{flex:"none",children:x(D,{color:"inherit",variant:"inherit",className:d.label,children:i})}),"end"!==r&&x(f,{})]}):x(z,{display:"flex",flex:"none",className:d.root,ref:a,...n,children:x(f,{})})}));q.displayName="DividerCore";var J=p((function({variant:o="primary",layerClassNames:r,...t},e){const i=m((()=>({root:w("inherit"!==o&&N({dividerVariantRoot:o}),r?.root),text:w("inherit"!==o?N({dividerVariantLabel:o}):void 0,r?.text),line:w("inherit"!==o&&N({dividerVariantLine:o}),r?.line)})),[r?.line,r?.root,r?.text,o]);return x(q,{ref:e,layerClassNames:i,...t})}));J.displayName="DividerInternal";
3
- /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{z as Box,J as DividerInternal,O as FormLabel,k as HStack,X as Icon,P as IconSlot,Y as Image,L as InputHelpTextMemo,D as Text,F as VStack,V as createSlot,B as cva,w as cx,N as getStyles};
@@ -1,3 +0,0 @@
1
- import{variants as o}from"./chunk-GSO3MC65.js";import{textVariants as r,backgroundColors as t,foregroundColors as e,spectrumColors as i,borderRadii as n,borderWidths as a,lineColors as l}from"@yahoo/uds/fixtures";import{getFeatureFlags as s}from"@yahoo/uds/flags";import d from"clsx";import c from"imurmurhash";import{extendTailwindMerge as f}from"tailwind-merge";import{forwardRef as p,memo as u,isValidElement as h,cloneElement as b,useMemo as m,Children as g}from"react";import{jsx as x,jsxs as S}from"react/jsx-runtime";import{isFunction as v}from"lodash-es";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
- function C(o){return"boolean"==typeof o?`${o}`:0===o?"0":o}function y(o){const r=Object.create(null),t=Object.keys(o);for(let e=0,i=t.length;e<i;e++){const i=t[e];void 0!==o[i]&&(r[i]=o[i])}return r}var W=f({extend:{theme:{borderColor:l,borderWidth:a,borderRadius:n}},override:{classGroups:{"text-color":[{text:[...e,...i]}],"bg-color":[{bg:t}],"font-family":[{font:["icons",...r]}],leading:[{leading:r}]},conflictingClassGroups:{}}}),w=(...o)=>{const r=d(o);return W(r)},B=o=>r=>{if(!o?.variants)return w(o?.base,r?.className);const{variants:t,defaultVariants:e}=o,i=Object.keys(t).map((o=>{const i=r?.[o],n=e?.[o],a=C(i)||C(n);return t[o][a]})),n={...e,...r&&y(r)},a=o?.compoundVariants?.reduce(((o,{className:r,...t})=>Object.entries(t).every((([o,r])=>n[o]===r))?w(o,r):o),"");return w(o?.base,i,a,r?.className)},T=B({variants:o}),E=new Map,N=o=>{const{useGetStylesCache:r}=s();if(r){const r=function(o){const r=Object.create(null),t=Object.keys(o).sort();for(let e=0,i=t.length;e<i;e++){const i=t[e];r[i]=o[i]}return r}(y(o)),t=(new c).hash(JSON.stringify(r)).result();if(E.has(t))return E.get(t);const e=T(r);return E.set(t,e),e}return T(o)};function R(...o){return r=>o.forEach((o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r)))}function V(){const o=p(((o,t)=>{const{children:i,...n}=o,a=g.toArray(i),l=a.find(e);if(l){const o=l.props.children,e=a.map((r=>r===l?g.count(o)>1?g.only(null):h(o)?o.props.children:null:r));return x(r,{...n,ref:t,children:h(o)?b(o,void 0,e):null})}return x(r,{...n,ref:t,children:i})}));o.displayName="Slot";const r=p(((o,r)=>{const{children:t,...e}=o;return h(t)?b(t,{...i(e,t.props),ref:r?R(r,t.ref):t.ref}):g.count(t)>1?g.only(null):null}));r.displayName="SlotClone";const t=({children:o})=>o;function e(o){return h(o)&&o.type===t}function i(o,r){const t={...r};for(const e in r){const i=o[e],n=r[e];/^on[A-Z]/.test(e)?i&&n?t[e]=(...o)=>{n(...o),i(...o)}:i&&(t[e]=i):"style"===e&&(t[e]={...i,...n})}return{...o,...t}}return o}var z=V(),H=p((function({asChild:o,className:r,backgroundColor:t,borderRadius:e,borderTopStartRadius:i,borderTopEndRadius:n,borderBottomStartRadius:a,borderBottomEndRadius:l,borderColor:s,borderStartColor:d,borderEndColor:c,borderTopColor:f,borderBottomColor:p,borderWidth:u,borderVerticalWidth:h,borderHorizontalWidth:b,borderStartWidth:m,borderEndWidth:g,borderTopWidth:S,borderBottomWidth:v,alignContent:C,alignItems:y,alignSelf:W,flex:w,flexDirection:B,flexGrow:T,flexShrink:E,flexWrap:R,justifyContent:V,flexBasis:H,display:G="flex",overflow:k,overflowX:I,overflowY:j,position:D,spacing:O,spacingHorizontal:F,spacingVertical:A,spacingBottom:X,spacingEnd:Y,spacingStart:P,spacingTop:$,offset:L,offsetVertical:M,offsetHorizontal:q,offsetBottom:J,offsetEnd:Z,offsetStart:_,offsetTop:K,columnGap:Q,rowGap:U,width:oo,height:ro,dropShadow:to,insetShadow:eo,...io},no){const ao=N({backgroundColor:t,borderRadius:e,borderTopStartRadius:i,borderTopEndRadius:n,borderBottomStartRadius:a,borderBottomEndRadius:l,borderColor:s,borderStartColor:d,borderEndColor:c,borderTopColor:f,borderBottomColor:p,borderWidth:u,borderVerticalWidth:h,borderHorizontalWidth:b,borderStartWidth:m,borderEndWidth:g,borderTopWidth:S,borderBottomWidth:v,alignContent:C,alignItems:y,alignSelf:W,flex:w,flexDirection:B,flexGrow:T,flexShrink:E,flexWrap:R,justifyContent:V,flexBasis:H,display:G,overflow:k,overflowX:I,overflowY:j,position:D,spacing:O,spacingHorizontal:F,spacingVertical:A,spacingBottom:X,spacingEnd:Y,spacingStart:P,spacingTop:$,offset:L,offsetVertical:M,offsetHorizontal:q,offsetBottom:J,offsetEnd:Z,offsetStart:_,offsetTop:K,columnGap:Q,rowGap:U,width:oo,height:ro,dropShadow:to,insetShadow:eo,className:r});return x(o?z:"div",{className:ao,ref:no,...io})}));H.displayName="Box";var G=(o,r)=>((o,r)=>{const t=v(r)?r:()=>r;return o.flatMap(((o,r)=>0!==r?[t(r),o]:[o]))})(g.toArray(o),(o=>{const t=v(r)?r(o):r;return h(t)?b(t,{...t.props,key:t.key??`interspersed-${o}`}):null})),k=p((function({gap:o,children:r,separator:t,...e},i){return x(H,{ref:i,flexDirection:"row",rowGap:o,columnGap:o,...e,children:t?G(r,t):r})}));k.displayName="HStack";var I=V(),j={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",label3:"p",label4:"p",caption1:"p",caption2:"p",legal1:"p",inherit:"p"},D=p((function({className:o,asChild:r,color:t="primary",variant:e="body1",as:i=j[e],fontFamily:n,fontSize:a,fontWeight:l,lineHeight:s,textTransform:d,textAlign:c,backgroundColor:f,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:h,borderBottomStartRadius:b,borderBottomEndRadius:m,borderColor:g,borderStartColor:S,borderEndColor:v,borderTopColor:C,borderBottomColor:y,borderWidth:W,borderVerticalWidth:w,borderHorizontalWidth:B,borderStartWidth:T,borderEndWidth:E,borderTopWidth:R,borderBottomWidth:V,alignContent:z,alignItems:H,alignSelf:G,flex:k,flexDirection:D,flexGrow:O,flexShrink:F,flexWrap:A,justifyContent:X,flexBasis:Y,display:P,overflow:$,overflowX:L,overflowY:M,position:q,spacing:J,spacingHorizontal:Z,spacingVertical:_,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:io,offsetEnd:no,offsetStart:ao,offsetTop:lo,columnGap:so,rowGap:co,...fo},po){const uo={...t&&"inherit"!==t?{color:t}:{},...e&&"inherit"!==e?{fontFamily:n??e,fontSize:a??e,fontWeight:l??e,lineHeight:s??e,textTransform:d??e}:{},textAlign:c},ho=N({className:o,...uo,backgroundColor:f,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:h,borderBottomStartRadius:b,borderBottomEndRadius:m,borderColor:g,borderStartColor:S,borderEndColor:v,borderTopColor:C,borderBottomColor:y,borderWidth:W,borderVerticalWidth:w,borderHorizontalWidth:B,borderStartWidth:T,borderEndWidth:E,borderTopWidth:R,borderBottomWidth:V,alignContent:z,alignItems:H,alignSelf:G,flex:k,flexDirection:D,flexGrow:O,flexShrink:F,flexWrap:A,justifyContent:X,flexBasis:Y,display:P,overflow:$,overflowX:L,overflowY:M,position:q,spacing:J,spacingHorizontal:Z,spacingVertical:_,spacingBottom:K,spacingEnd:Q,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:io,offsetEnd:no,offsetStart:ao,offsetTop:lo,columnGap:so,rowGap:co});return x(r?I:i,{className:ho,ref:po,...fo})}));D.displayName="Text";var O=p((function({gap:o,children:r,separator:t,...e},i){return x(H,{ref:i,flexDirection:"column",columnGap:o,rowGap:o,...e,children:t?G(r,t):r})}));O.displayName="VStack";var F=({htmlFor:o,required:r,label:t,children:e,color:i="muted",variant:n="label3",hasError:a=!1,showRequiredAsterisk:l=!1,as:s="label",className:d,...c})=>{const f=t?v(t)?t():t:e;return f?S(D,{variant:n,color:i,as:s,htmlFor:o,className:w("cursor-[inherit]",d),...c,children:[f,r&&l&&x(D,{as:"sup",color:a?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null},A={sm:16,md:24,lg:32},X=p((function({name:o,size:r="md",variant:t="outline",color:e="primary",className:i,...n},a){const l=o.metadata?.variants??[],s=l.includes(t)?t:l[0]??"fill",d="multicolor"===s,c=N({flex:"none",color:d?void 0:e,className:w(i,!d&&"[&_path]:fill-current")}),f=A[r];return x("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:f,height:f,viewBox:`0 0 ${f} ${f}`,"aria-hidden":"true",focusable:"false",className:c,...n,children:x(o,{size:r,variant:s})})}));function Y({width:o,height:r,src:t,alt:e,contentFit:i,backgroundColor:n,borderRadius:a,borderTopStartRadius:l,borderTopEndRadius:s,borderBottomStartRadius:d,borderBottomEndRadius:c,borderColor:f,borderStartColor:p,borderEndColor:u,borderTopColor:h,borderBottomColor:b,borderWidth:m,borderVerticalWidth:g,borderHorizontalWidth:S,borderStartWidth:v,borderEndWidth:C,borderTopWidth:y,borderBottomWidth:W,alignContent:w,alignItems:B,alignSelf:T,flex:E,flexDirection:R,flexGrow:V,flexShrink:z,flexWrap:H,justifyContent:G,flexBasis:k,display:I,overflow:j,overflowX:D,overflowY:O,position:F,spacing:A,spacingHorizontal:X,spacingVertical:Y,spacingBottom:P,spacingEnd:$,spacingStart:L,spacingTop:M,offset:q,offsetVertical:J,offsetHorizontal:Z,offsetBottom:_,offsetEnd:K,offsetStart:Q,offsetTop:U,columnGap:oo,rowGap:ro,...to}){const eo=N({contentFit:i,backgroundColor:n,borderRadius:a,borderTopStartRadius:l,borderTopEndRadius:s,borderBottomStartRadius:d,borderBottomEndRadius:c,borderColor:f,borderStartColor:p,borderEndColor:u,borderTopColor:h,borderBottomColor:b,borderWidth:m,borderVerticalWidth:g,borderHorizontalWidth:S,borderStartWidth:v,borderEndWidth:C,borderTopWidth:y,borderBottomWidth:W,alignContent:w,alignItems:B,alignSelf:T,flex:E,flexDirection:R,flexGrow:V,flexShrink:z,flexWrap:H,justifyContent:G,flexBasis:k,display:I,overflow:j,overflowX:D,overflowY:O,position:F,spacing:A,spacingHorizontal:X,spacingVertical:Y,spacingBottom:P,spacingEnd:$,spacingStart:L,spacingTop:M,offset:q,offsetVertical:J,offsetHorizontal:Z,offsetBottom:_,offsetEnd:K,offsetStart:Q,offsetTop:U,columnGap:oo,rowGap:ro});return x("img",{src:t,alt:e,className:eo,style:{width:o,height:r},...to})}X.displayName="Icon";var P=u((function({icon:o,iconProps:r,...t}){if(!o)return null;const e=r??{},i=o;if(i.metadata?.isSvgIcon)return x(X,{name:i,...e,...t});if(v(o)){const r=o(e);return h(r)&&b(r,t)}return h(o)&&b(o,{...e,...o.props,...t})}));var $=u((function({startIcon:o,endIcon:r,iconProps:t,children:e,size:i,isFilled:n,...a}){const l={helperText:N({inputSizeHelperText:i,inputVariantHelperText:"default",inputVariantValueHelperText:n?"filled":"empty"}),helperIcon:N({inputSizeHelperIcon:i,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:n?"filled":"empty"})},s={variant:"outline",...t};return S(k,{gap:"1",alignItems:"center",...a,children:[o&&x(P,{icon:o,...s,iconProps:t,className:l.helperIcon}),x("span",{className:l.helperText,children:e}),r&&x(P,{icon:r,...s,iconProps:t,className:l.helperIcon})]})})),L={horizontal:"w-full",vertical:""},M=p((function({vertical:o=!1,contentPosition:r="center",className:t,layerClassNames:e,children:i,...n},a){const l=o?"vertical":"horizontal",s=o?O:k,d=m((()=>({root:w(L[l],t,e?.root),label:e?.text,line:e?.line})),[t,l,e?.root,e?.text,e?.line]),c=m((()=>"vertical"===l?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0}),[l]),f=()=>x(H,{flex:"1",className:d.line,style:c});return i?S(s,{flex:"1",alignItems:"center",className:d.root,ref:a,...n,children:["start"!==r&&x(f,{}),x(H,{flex:"none",children:x(D,{color:"inherit",variant:"inherit",className:d.label,children:i})}),"end"!==r&&x(f,{})]}):x(H,{display:"flex",flex:"none",className:d.root,ref:a,...n,children:x(f,{})})}));M.displayName="DividerCore";var q=p((function({variant:o="primary",layerClassNames:r,...t},e){const i=m((()=>({root:w("inherit"!==o&&N({dividerVariantRoot:o}),r?.root),text:w("inherit"!==o?N({dividerVariantLabel:o}):void 0,r?.text),line:w("inherit"!==o&&N({dividerVariantLine:o}),r?.line)})),[r?.line,r?.root,r?.text,o]);return x(M,{ref:e,layerClassNames:i,...t})}));q.displayName="DividerInternal";
3
- /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{H as Box,q as DividerInternal,F as FormLabel,k as HStack,X as Icon,P as IconSlot,Y as Image,$ as InputHelpTextMemo,D as Text,O as VStack,V as createSlot,B as cva,w as cx,N as getStyles};