@yahoo/uds 3.47.0 → 3.49.0

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/FlattenButtonVariant.mock.tsx +17 -0
  2. package/dist/{Box-KZ1-_3Y1.d.ts → Box-Crrq6i4h.d.ts} +1 -1
  3. package/dist/{Box-BFRDyWaq.d.cts → Box-D3tacR6r.d.cts} +1 -1
  4. package/dist/{Box-MHJ0-0M3.d.ts → Box-DSlj_nk4.d.ts} +1 -1
  5. package/dist/{Box-CVbnF3KY.d.cts → Box-DpyU-coK.d.cts} +1 -1
  6. package/dist/{Pressable-BCKijzW4.d.ts → Pressable-B6BLEH9a.d.ts} +1 -1
  7. package/dist/{Pressable-DVLHV--n.d.ts → Pressable-B_tUxlD9.d.ts} +1 -1
  8. package/dist/{Pressable-DM2L9PzA.d.cts → Pressable-C1Csw_As.d.cts} +1 -1
  9. package/dist/{Pressable-GdByxoJg.d.cts → Pressable-CSl68bNG.d.cts} +1 -1
  10. package/dist/{Text-Buzrh-6W.d.cts → Text-BAHkYEiK.d.cts} +18 -2
  11. package/dist/{Text-Buzrh-6W.d.ts → Text-BAHkYEiK.d.ts} +18 -2
  12. package/dist/{Text-774Va3iq.d.ts → Text-BE_L9lP2.d.ts} +1 -1
  13. package/dist/{Text-Bq5NiVYm.d.cts → Text-CsOioZGs.d.cts} +1 -1
  14. package/dist/{Text-IGbWWF7a.d.ts → Text-CvY2JUUX.d.ts} +1 -1
  15. package/dist/{Text-C58YvnSu.d.cts → Text-DkshZZiK.d.cts} +1 -1
  16. package/dist/{VStack-AyF9g6Xi.d.cts → VStack-BkfbZYlc.d.cts} +2 -2
  17. package/dist/{VStack-UmkAYRN1.d.cts → VStack-C33dVmTS.d.cts} +2 -2
  18. package/dist/{VStack-4KrkGBKP.d.ts → VStack-C5UmhjZX.d.ts} +2 -2
  19. package/dist/{VStack-CppUZHJL.d.ts → VStack-CJJ81YBr.d.ts} +2 -2
  20. package/dist/client/Menu.d.cts +4 -4
  21. package/dist/client/Menu.d.ts +4 -4
  22. package/dist/client/index.d.cts +4 -4
  23. package/dist/client/index.d.ts +4 -4
  24. package/dist/defaultTokensConfig.d.cts +2 -2
  25. package/dist/defaultTokensConfig.d.ts +2 -2
  26. package/dist/experimental/client/SwitchV2.d.cts +1 -1
  27. package/dist/experimental/client/SwitchV2.d.ts +1 -1
  28. package/dist/experimental/client/SwitchV2.js +0 -1
  29. package/dist/experimental/client/index.d.cts +1 -1
  30. package/dist/experimental/client/index.d.ts +1 -1
  31. package/dist/experimental/index.d.cts +1 -1
  32. package/dist/experimental/index.d.ts +1 -1
  33. package/dist/{index-BnkxCwiE.d.cts → index-B7ouHsYr.d.cts} +1 -1
  34. package/dist/{index-cZ0qEwcJ.d.cts → index-CaoWyj2K.d.cts} +1 -1
  35. package/dist/{index-BtKE9zn1.d.ts → index-CsCxUL1M.d.ts} +1 -1
  36. package/dist/{index-DPrPpHqT.d.ts → index-cfPq3YHj.d.ts} +1 -1
  37. package/dist/index.d.cts +7 -7
  38. package/dist/index.d.ts +7 -7
  39. package/dist/metafile-cjs.json +1 -1
  40. package/dist/metafile-esm.json +1 -1
  41. package/dist/tailwind/plugin.d.cts +1 -1
  42. package/dist/tailwind/plugin.d.ts +1 -1
  43. package/dist/tailwind/utils.d.cts +1 -1
  44. package/dist/tailwind/utils.d.ts +1 -1
  45. package/dist/tokens/automation/configs.d.cts +2 -2
  46. package/dist/tokens/automation/configs.d.ts +2 -2
  47. package/dist/tokens/automation/properties.d.cts +2 -2
  48. package/dist/tokens/automation/properties.d.ts +2 -2
  49. package/dist/tokens/index.d.cts +4 -4
  50. package/dist/tokens/index.d.ts +4 -4
  51. package/dist/tokens/parseTokens.d.cts +1 -1
  52. package/dist/tokens/parseTokens.d.ts +1 -1
  53. package/dist/{types-D6kYghpa.d.cts → types-Cx4ERyM0.d.cts} +1953 -1937
  54. package/dist/{types-D6kYghpa.d.ts → types-Cx4ERyM0.d.ts} +1953 -1937
  55. package/dist/{types-Da_DnBJy.d.cts → types-wpDRhNL7.d.cts} +1964 -1948
  56. package/dist/{types-Da_DnBJy.d.ts → types-wpDRhNL7.d.ts} +1964 -1948
  57. package/package.json +1 -1
@@ -0,0 +1,17 @@
1
+ import { Button, HStack, IconButton } from '@yahoo/uds';
2
+ import { Cross } from '@yahoo/uds-icons';
3
+
4
+ export const PageA = () => {
5
+ return (
6
+ <HStack>
7
+ <Button variant="brand-secondary">Click me</Button><IconButton name={Cross} />
8
+ <Button variant="primary">Click me</Button><IconButton name={Cross} variant="primary" />
9
+ <Button variant="secondary">Click me</Button><IconButton name={Cross} variant="brand" />
10
+ <Button variant="warning-tertiary">Click me</Button><IconButton name={Cross} variant="brand-tertiary" />
11
+ <Button>Click me</Button><IconButton name={Cross} />
12
+ <Button variant="tertiary">Click me</Button><IconButton name={Cross} variant="brand-tertiary" />
13
+ <Button variant="secondary">Click me</Button><IconButton name={Cross} variant="secondary" />
14
+ <Button variant="tertiary">Click me</Button><IconButton name={Cross} variant="tertiary" />
15
+ </HStack>
16
+ );
17
+ }
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { b as UniversalBoxProps } from './types-D6kYghpa.js';
2
+ import { b as UniversalBoxProps } from './types-wpDRhNL7.js';
3
3
 
4
4
  type DivProps = React.HTMLAttributes<HTMLDivElement>;
5
5
  interface BoxProps extends UniversalBoxProps, DivProps {
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { b as UniversalBoxProps } from './types-Da_DnBJy.cjs';
2
+ import { b as UniversalBoxProps } from './types-wpDRhNL7.cjs';
3
3
 
4
4
  type DivProps = React.HTMLAttributes<HTMLDivElement>;
5
5
  interface BoxProps extends UniversalBoxProps, DivProps {
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { b as UniversalBoxProps } from './types-Da_DnBJy.js';
2
+ import { b as UniversalBoxProps } from './types-Cx4ERyM0.js';
3
3
 
4
4
  type DivProps = React.HTMLAttributes<HTMLDivElement>;
5
5
  interface BoxProps extends UniversalBoxProps, DivProps {
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { b as UniversalBoxProps } from './types-D6kYghpa.cjs';
2
+ import { b as UniversalBoxProps } from './types-Cx4ERyM0.cjs';
3
3
 
4
4
  type DivProps = React.HTMLAttributes<HTMLDivElement>;
5
5
  interface BoxProps extends UniversalBoxProps, DivProps {
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { a as UniversalPressableProps } from './types-D6kYghpa.js';
2
+ import { a as UniversalPressableProps } from './types-Cx4ERyM0.js';
3
3
 
4
4
  type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
5
5
  interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { a as UniversalPressableProps } from './types-Da_DnBJy.js';
2
+ import { a as UniversalPressableProps } from './types-wpDRhNL7.js';
3
3
 
4
4
  type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
5
5
  interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { a as UniversalPressableProps } from './types-D6kYghpa.cjs';
2
+ import { a as UniversalPressableProps } from './types-wpDRhNL7.cjs';
3
3
 
4
4
  type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
5
5
  interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { a as UniversalPressableProps } from './types-Da_DnBJy.cjs';
2
+ import { a as UniversalPressableProps } from './types-Cx4ERyM0.cjs';
3
3
 
4
4
  type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
5
5
  interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren, ElementType, ReactNode, Ref } from 'react';
1
+ import { PropsWithChildren, ElementType, ReactNode, ReactElement, Ref } from 'react';
2
2
  import { SvgIcon, IconSize, IconVariant } from '@yahoo/uds-icons/types';
3
3
 
4
4
  declare const alwaysPalette: {
@@ -216,7 +216,23 @@ type SVGElementProps = Omit<React.HTMLAttributes<SVGSVGElement>, 'color'>;
216
216
  interface IconPropsWithSVGProps extends UniversalIconProps, SVGElementProps {
217
217
  }
218
218
  type IconSlotRenderProps = Omit<IconPropsWithSVGProps, 'name'>;
219
- type UniversalIconSlot = SvgIcon | ReactNode | ((iconProps: IconSlotRenderProps) => ReactNode);
219
+ /**
220
+ * We are changing the slot prop from ReactNode to ReactElement to avoid
221
+ * confusing and useless options like number and string, however,
222
+ * there are cases where folks are using null/undefined to dynamically opt-out
223
+ * of rendering the icon. We want to still allow that.
224
+ */
225
+ type BackwardsCompatibleReactElement = null | undefined | ReactElement;
226
+ /**
227
+ * Used anywhere we offer an icon which can be customized.
228
+ *
229
+ * Passing an SvgIcon is the happy path.
230
+ *
231
+ * @example
232
+ * import { Calendar } from "@yahoo/uds-icons"
233
+ * <IconSlot icon={Calendar} />
234
+ */
235
+ type UniversalIconSlot = SvgIcon | BackwardsCompatibleReactElement | ((iconProps: IconSlotRenderProps) => BackwardsCompatibleReactElement);
220
236
  type SwitchSize = 'sm' | 'md';
221
237
  interface UniversalSwitchProps {
222
238
  /**
@@ -1,4 +1,4 @@
1
- import { PropsWithChildren, ElementType, ReactNode, Ref } from 'react';
1
+ import { PropsWithChildren, ElementType, ReactNode, ReactElement, Ref } from 'react';
2
2
  import { SvgIcon, IconSize, IconVariant } from '@yahoo/uds-icons/types';
3
3
 
4
4
  declare const alwaysPalette: {
@@ -216,7 +216,23 @@ type SVGElementProps = Omit<React.HTMLAttributes<SVGSVGElement>, 'color'>;
216
216
  interface IconPropsWithSVGProps extends UniversalIconProps, SVGElementProps {
217
217
  }
218
218
  type IconSlotRenderProps = Omit<IconPropsWithSVGProps, 'name'>;
219
- type UniversalIconSlot = SvgIcon | ReactNode | ((iconProps: IconSlotRenderProps) => ReactNode);
219
+ /**
220
+ * We are changing the slot prop from ReactNode to ReactElement to avoid
221
+ * confusing and useless options like number and string, however,
222
+ * there are cases where folks are using null/undefined to dynamically opt-out
223
+ * of rendering the icon. We want to still allow that.
224
+ */
225
+ type BackwardsCompatibleReactElement = null | undefined | ReactElement;
226
+ /**
227
+ * Used anywhere we offer an icon which can be customized.
228
+ *
229
+ * Passing an SvgIcon is the happy path.
230
+ *
231
+ * @example
232
+ * import { Calendar } from "@yahoo/uds-icons"
233
+ * <IconSlot icon={Calendar} />
234
+ */
235
+ type UniversalIconSlot = SvgIcon | BackwardsCompatibleReactElement | ((iconProps: IconSlotRenderProps) => BackwardsCompatibleReactElement);
220
236
  type SwitchSize = 'sm' | 'md';
221
237
  interface UniversalSwitchProps {
222
238
  /**
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { Ref } from 'react';
3
- import { U as UniversalTextProps } from './types-D6kYghpa.js';
3
+ import { U as UniversalTextProps } from './types-Cx4ERyM0.js';
4
4
 
5
5
  type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
6
6
  type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { Ref } from 'react';
3
- import { U as UniversalTextProps } from './types-Da_DnBJy.cjs';
3
+ import { U as UniversalTextProps } from './types-wpDRhNL7.cjs';
4
4
 
5
5
  type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
6
6
  type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { Ref } from 'react';
3
- import { U as UniversalTextProps } from './types-Da_DnBJy.js';
3
+ import { U as UniversalTextProps } from './types-wpDRhNL7.js';
4
4
 
5
5
  type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
6
6
  type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { Ref } from 'react';
3
- import { U as UniversalTextProps } from './types-D6kYghpa.cjs';
3
+ import { U as UniversalTextProps } from './types-Cx4ERyM0.cjs';
4
4
 
5
5
  type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
6
6
  type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { n as UniversalStackProps, o as UniversalDividerProps } from './types-D6kYghpa.cjs';
3
- import { B as BoxProps, D as DivProps } from './Box-CVbnF3KY.cjs';
2
+ import { n as UniversalStackProps, o as UniversalDividerProps } from './types-Cx4ERyM0.cjs';
3
+ import { B as BoxProps, D as DivProps } from './Box-DpyU-coK.cjs';
4
4
 
5
5
  interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
6
6
  layerClassNames?: {
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { n as UniversalStackProps, o as UniversalDividerProps } from './types-Da_DnBJy.cjs';
3
- import { B as BoxProps, D as DivProps } from './Box-BFRDyWaq.cjs';
2
+ import { n as UniversalStackProps, o as UniversalDividerProps } from './types-wpDRhNL7.cjs';
3
+ import { B as BoxProps, D as DivProps } from './Box-D3tacR6r.cjs';
4
4
 
5
5
  interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
6
6
  layerClassNames?: {
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { n as UniversalStackProps, o as UniversalDividerProps } from './types-D6kYghpa.js';
3
- import { B as BoxProps, D as DivProps } from './Box-KZ1-_3Y1.js';
2
+ import { n as UniversalStackProps, o as UniversalDividerProps } from './types-Cx4ERyM0.js';
3
+ import { B as BoxProps, D as DivProps } from './Box-DSlj_nk4.js';
4
4
 
5
5
  interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
6
6
  layerClassNames?: {
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
- import { n as UniversalStackProps, o as UniversalDividerProps } from './types-Da_DnBJy.js';
3
- import { B as BoxProps, D as DivProps } from './Box-MHJ0-0M3.js';
2
+ import { n as UniversalStackProps, o as UniversalDividerProps } from './types-wpDRhNL7.js';
3
+ import { B as BoxProps, D as DivProps } from './Box-Crrq6i4h.js';
4
4
 
5
5
  interface DividerCoreProps extends Omit<BoxProps, 'color' | 'borderColor' | 'borderWidth'>, Omit<UniversalStackProps, 'separator' | 'asChild'>, Omit<UniversalDividerProps, 'variant'> {
6
6
  layerClassNames?: {
@@ -1,11 +1,11 @@
1
1
  import * as react from 'react';
2
2
  import { AriaRole, HTMLAttributes, PropsWithChildren } from 'react';
3
3
  import { MenuProps, MenuItemProps as MenuItemProps$1, MenuItemCheckboxProps as MenuItemCheckboxProps$1, MenuProviderProps as MenuProviderProps$1, MenuButtonProps, useMenuContext, useMenuStore } from '@ariakit/react/menu';
4
- import { t as SpacingAlias, u as UniversalMenuItemProps } from '../types-Da_DnBJy.cjs';
5
- import { V as VStackProps, D as DividerProps } from '../VStack-UmkAYRN1.cjs';
6
- import { P as PressableProps } from '../Pressable-GdByxoJg.cjs';
4
+ import { t as SpacingAlias, u as UniversalMenuItemProps } from '../types-Cx4ERyM0.cjs';
5
+ import { V as VStackProps, D as DividerProps } from '../VStack-BkfbZYlc.cjs';
6
+ import { P as PressableProps } from '../Pressable-CSl68bNG.cjs';
7
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
- import { B as BoxProps } from '../Box-BFRDyWaq.cjs';
8
+ import { B as BoxProps } from '../Box-DpyU-coK.cjs';
9
9
  import { useStoreState } from '@ariakit/react';
10
10
  import '@yahoo/uds-icons/types';
11
11
  import 'motion/react';
@@ -1,11 +1,11 @@
1
1
  import * as react from 'react';
2
2
  import { AriaRole, HTMLAttributes, PropsWithChildren } from 'react';
3
3
  import { MenuProps, MenuItemProps as MenuItemProps$1, MenuItemCheckboxProps as MenuItemCheckboxProps$1, MenuProviderProps as MenuProviderProps$1, MenuButtonProps, useMenuContext, useMenuStore } from '@ariakit/react/menu';
4
- import { t as SpacingAlias, u as UniversalMenuItemProps } from '../types-Da_DnBJy.js';
5
- import { V as VStackProps, D as DividerProps } from '../VStack-CppUZHJL.js';
6
- import { P as PressableProps } from '../Pressable-DVLHV--n.js';
4
+ import { t as SpacingAlias, u as UniversalMenuItemProps } from '../types-Cx4ERyM0.js';
5
+ import { V as VStackProps, D as DividerProps } from '../VStack-C5UmhjZX.js';
6
+ import { P as PressableProps } from '../Pressable-B6BLEH9a.js';
7
7
  import * as react_jsx_runtime from 'react/jsx-runtime';
8
- import { B as BoxProps } from '../Box-MHJ0-0M3.js';
8
+ import { B as BoxProps } from '../Box-DSlj_nk4.js';
9
9
  import { useStoreState } from '@ariakit/react';
10
10
  import '@yahoo/uds-icons/types';
11
11
  import 'motion/react';
@@ -1,11 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { cT as UniversalAvatarIconProps, w as IconPropsWithSVGProps, cW as UniversalAvatarTextProps, cU as UniversalAvatarImageProps, x as ImagePropsWithImgProps, cX as UniversalBadgeProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, d2 as UniversalChipProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d3 as UniversalChipToggleProps, d4 as UniversalIconButtonProps, d8 as UniversalInputProps, d6 as UniversalIconSlot, da as UniversalRadioProps, d9 as UniversalRadioGroupProps, b_ as MotionVariant, b$ as MotionVariantSpeed, c as UniversalSwitchProps } from '../types-Da_DnBJy.cjs';
3
- import { a as TextProps } from '../Text-Bq5NiVYm.cjs';
2
+ import { cT as UniversalAvatarIconProps, w as IconPropsWithSVGProps, cW as UniversalAvatarTextProps, cU as UniversalAvatarImageProps, x as ImagePropsWithImgProps, cX as UniversalBadgeProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, d2 as UniversalChipProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d3 as UniversalChipToggleProps, d4 as UniversalIconButtonProps, d8 as UniversalInputProps, d6 as UniversalIconSlot, da as UniversalRadioProps, d9 as UniversalRadioGroupProps, b_ as MotionVariant, b$ as MotionVariantSpeed, c as UniversalSwitchProps } from '../types-Cx4ERyM0.cjs';
3
+ import { a as TextProps } from '../Text-DkshZZiK.cjs';
4
4
  import * as react from 'react';
5
5
  import react__default, { ForwardRefExoticComponent, InputHTMLAttributes, PropsWithChildren } from 'react';
6
6
  import { HTMLMotionProps, MotionConfigProps, LazyFeatureBundle } from 'motion/react';
7
- import { B as BoxProps } from '../Box-BFRDyWaq.cjs';
8
- export { a as Pressable, P as PressableProps } from '../Pressable-GdByxoJg.cjs';
7
+ import { B as BoxProps } from '../Box-DpyU-coK.cjs';
8
+ export { a as Pressable, P as PressableProps } from '../Pressable-CSl68bNG.cjs';
9
9
  export { Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps } from '@yahoo/uds/client/Menu';
10
10
  import '@yahoo/uds-icons/types';
11
11
  import 'type-fest';
@@ -1,11 +1,11 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { cT as UniversalAvatarIconProps, w as IconPropsWithSVGProps, cW as UniversalAvatarTextProps, cU as UniversalAvatarImageProps, x as ImagePropsWithImgProps, cX as UniversalBadgeProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, d2 as UniversalChipProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d3 as UniversalChipToggleProps, d4 as UniversalIconButtonProps, d8 as UniversalInputProps, d6 as UniversalIconSlot, da as UniversalRadioProps, d9 as UniversalRadioGroupProps, b_ as MotionVariant, b$ as MotionVariantSpeed, c as UniversalSwitchProps } from '../types-Da_DnBJy.js';
3
- import { a as TextProps } from '../Text-IGbWWF7a.js';
2
+ import { cT as UniversalAvatarIconProps, w as IconPropsWithSVGProps, cW as UniversalAvatarTextProps, cU as UniversalAvatarImageProps, x as ImagePropsWithImgProps, cX as UniversalBadgeProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, d2 as UniversalChipProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d3 as UniversalChipToggleProps, d4 as UniversalIconButtonProps, d8 as UniversalInputProps, d6 as UniversalIconSlot, da as UniversalRadioProps, d9 as UniversalRadioGroupProps, b_ as MotionVariant, b$ as MotionVariantSpeed, c as UniversalSwitchProps } from '../types-Cx4ERyM0.js';
3
+ import { a as TextProps } from '../Text-BE_L9lP2.js';
4
4
  import * as react from 'react';
5
5
  import react__default, { ForwardRefExoticComponent, InputHTMLAttributes, PropsWithChildren } from 'react';
6
6
  import { HTMLMotionProps, MotionConfigProps, LazyFeatureBundle } from 'motion/react';
7
- import { B as BoxProps } from '../Box-MHJ0-0M3.js';
8
- export { a as Pressable, P as PressableProps } from '../Pressable-DVLHV--n.js';
7
+ import { B as BoxProps } from '../Box-DSlj_nk4.js';
8
+ export { a as Pressable, P as PressableProps } from '../Pressable-B6BLEH9a.js';
9
9
  export { Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps } from '@yahoo/uds/client/Menu';
10
10
  import '@yahoo/uds-icons/types';
11
11
  import 'type-fest';
@@ -1,5 +1,5 @@
1
- import { C as ColorModeConfig, S as ScaleModeConfig, F as FontConfig, B as ButtonConfig, I as IconButtonConfig, M as MotionConfig, d as ShadowConfig, T as TypographyConfig, G as GlobalDefaultsConfig, e as BreakpointsConfig } from './types-Da_DnBJy.cjs';
2
- export { f as defaultUniversalTokensConfigAuto } from './types-Da_DnBJy.cjs';
1
+ import { C as ColorModeConfig, S as ScaleModeConfig, F as FontConfig, B as ButtonConfig, I as IconButtonConfig, M as MotionConfig, d as ShadowConfig, T as TypographyConfig, G as GlobalDefaultsConfig, e as BreakpointsConfig } from './types-Cx4ERyM0.cjs';
2
+ export { f as defaultUniversalTokensConfigAuto } from './types-Cx4ERyM0.cjs';
3
3
  import '@yahoo/uds-icons/types';
4
4
  import 'motion/react';
5
5
  import 'react';
@@ -1,5 +1,5 @@
1
- import { C as ColorModeConfig, S as ScaleModeConfig, F as FontConfig, B as ButtonConfig, I as IconButtonConfig, M as MotionConfig, d as ShadowConfig, T as TypographyConfig, G as GlobalDefaultsConfig, e as BreakpointsConfig } from './types-Da_DnBJy.js';
2
- export { f as defaultUniversalTokensConfigAuto } from './types-Da_DnBJy.js';
1
+ import { C as ColorModeConfig, S as ScaleModeConfig, F as FontConfig, B as ButtonConfig, I as IconButtonConfig, M as MotionConfig, d as ShadowConfig, T as TypographyConfig, G as GlobalDefaultsConfig, e as BreakpointsConfig } from './types-Cx4ERyM0.js';
2
+ export { f as defaultUniversalTokensConfigAuto } from './types-Cx4ERyM0.js';
3
3
  import '@yahoo/uds-icons/types';
4
4
  import 'motion/react';
5
5
  import 'react';
@@ -1,4 +1,4 @@
1
- import { c as UniversalSwitchProps } from '../../types-Da_DnBJy.cjs';
1
+ import { c as UniversalSwitchProps } from '../../types-Cx4ERyM0.cjs';
2
2
  import react__default from 'react';
3
3
  import '@yahoo/uds-icons/types';
4
4
  import 'motion/react';
@@ -1,4 +1,4 @@
1
- import { c as UniversalSwitchProps } from '../../types-Da_DnBJy.js';
1
+ import { c as UniversalSwitchProps } from '../../types-Cx4ERyM0.js';
2
2
  import react__default from 'react';
3
3
  import '@yahoo/uds-icons/types';
4
4
  import 'motion/react';
@@ -1,2 +1 @@
1
- "use client";
2
1
  import{FormLabel as t}from"../../chunk-SFRPZXWP.js";import{SpringMotionConfig as e,AvoidMotionLibraryProvider as a}from"../../chunk-EFOWTGKI.js";import{Box as o,cx as i,getStyles as n,IconSlot as r}from"../../chunk-PMXAH4FA.js";import*as l from"motion/react-m";import{forwardRef as c,useId as s,useRef as d,useState as h,useCallback as u,useEffect as m}from"react";import{jsx as f,jsxs as p}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var w=()=>import("../../domMax-XRPNJ6D3.js").then(({domMax:t})=>t),y=l.create(o),b=c(function({id:a,isOn:l,defaultIsOn:c,onChange:b,label:v,labelPosition:N="start",size:x="md",onIcon:C,offIcon:g,reduceMotion:I,disabled:k,required:S,onFocus:V,onBlur:z,className:H,layerClassNames:P,...A},F){const j=s(),M=a??`uds-input-${j}`,R=d(null),q=void 0!==l,[O,X]=h(q?l:c),B=u(t=>{b?.(t),q||X(t.target.checked)},[q,b]),D=u(t=>{V?.(t)},[V]),W=u(t=>{z?.(t)},[z]),E=I?"always":"user",G=I?"duration-0":"duration-120 motion-reduce:duration-0";m(()=>{q&&X(l)},[l,q]);const J={root:n({switchSizeRoot:x,switchVariantRoot:"default",switchVariantActiveRoot:O?"on":"off",className:i("group","flex","items-center","start"===N?"flex-row":"flex-row-reverse",...k?["cursor-default","opacity-50"]:["cursor-pointer"],P?.root,H)}),switch:n({switchVariantSwitch:"default",switchSizeSwitch:x,switchVariantActiveSwitch:O?"on":"off",className:i("uds-ring","uds-ring-within","relative","rounded-full","items-center",G,"transition-[background-color,box-shadow]",P?.switch)}),handleContainer:i("pointer-events-none","relative","w-full","h-full"),handle:n({switchSizeHandle:x,className:i("absolute","top-0","bottom-0",O?"right-0":"left-0",P?.handle)}),handleContents:i("relative","w-full","h-full","rounded-full","overflow-hidden",!k&&"group-hover:scale-105","opacity-95",!k&&"group-hover:opacity-100",G,"transition-[transform,opacity]"),handleCircle:n({switchVariantActiveHandle:O?"on":"off",switchVariantHandle:"default",className:i("absolute","top-0","left-0","right-0","bottom-0")}),handleIcon:n({switchSizeHandleIcon:x,switchVariantHandleIcon:"default",switchVariantActiveHandleIcon:O?"on":"off",className:i("absolute","opacity-0","top-1/2","left-1/2","transform","translate-x-[-50%]","translate-y-[-50%]",G,"transition-opacity")}),htmlCheckbox:i("cursor-[inherit]","absolute","opacity-0","top-1/2","left-1/2","w-[calc(100%+2px)]","h-[calc(100%+2px)]","transform","translate-x-[-50%]","translate-y-[-50%]"),label:i("start"===N?"text-start":"text-end",P?.label)};return f(e,{reducedMotion:E,loadFeatures:w,layoutVariant:"bouncy",layoutSpeed:"4",children:p(v?"label":"div",{className:J.root,"data-testid":"switch-root",tabIndex:-1,children:[p(o,{className:J.switch,children:[f("input",{type:"checkbox",...A,ref:t=>{R.current=t,"function"==typeof F?F(t):null!==F&&(F.current=t)},onFocus:D,onBlur:W,id:M,disabled:k,required:S,checked:q?O:void 0,defaultChecked:q?void 0:c,onChange:B,className:J.htmlCheckbox,style:{}}),f(o,{className:J.handleContainer,children:f(y,{className:J.handle,layout:"position",layoutDependency:O,children:p(o,{className:J.handleContents,children:[f(o,{className:J.handleCircle}),C&&f(r,{icon:C,iconProps:{variant:"fill",size:"sm"},"data-testid":"on-icon",className:i(J.handleIcon,O?"opacity-100":"opacity-0")}),g&&f(r,{icon:g,iconProps:{variant:"fill",size:"sm"},"data-testid":"off-icon",className:i(J.handleIcon,O?"opacity-0":"opacity-100")})]})})})]}),v&&f(t,{as:"div",variant:"inherit",color:"inherit",required:S,label:v,className:J.label})]})})});b.displayName="SwitchV2";var v=a;export{b as SwitchV2,v as SwitchV2AvoidMotionLibraryProvider};
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { a as UniversalStackProps, D as DivProps, T as TextProps, b as UniversalSwitchProps, I as IconPropsWithSVGProps } from '../../Text-Buzrh-6W.cjs';
2
+ import { a as UniversalStackProps, D as DivProps, T as TextProps, b as UniversalSwitchProps, I as IconPropsWithSVGProps } from '../../Text-BAHkYEiK.cjs';
3
3
  import { PressableProps } from '@yahoo/uds/client';
4
4
  import * as react from 'react';
5
5
  import react__default, { PropsWithChildren, ReactNode } from 'react';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { a as UniversalStackProps, D as DivProps, T as TextProps, b as UniversalSwitchProps, I as IconPropsWithSVGProps } from '../../Text-Buzrh-6W.js';
2
+ import { a as UniversalStackProps, D as DivProps, T as TextProps, b as UniversalSwitchProps, I as IconPropsWithSVGProps } from '../../Text-BAHkYEiK.js';
3
3
  import { PressableProps } from '@yahoo/uds/client';
4
4
  import * as react from 'react';
5
5
  import react__default, { PropsWithChildren, ReactNode } from 'react';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { I as IconPropsWithSVGProps, B as BoxProps, U as UniversalTextProps, T as TextProps } from '../Text-Buzrh-6W.cjs';
2
+ import { I as IconPropsWithSVGProps, B as BoxProps, U as UniversalTextProps, T as TextProps } from '../Text-BAHkYEiK.cjs';
3
3
  import react__default, { TableHTMLAttributes, HTMLAttributes, TdHTMLAttributes } from 'react';
4
4
  export { Accordion, AccordionProps, AvoidMotionLibraryProvider, Modal, ModalDismiss, ModalHeader, ModalProps, ModalStore, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, PopoverHeadingProps, PopoverProps, PopoverProvider, SwitchV2, SwitchV2Props, Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, Tabs, TabsProps, ToastContainer, ToastProps, toast, useAvoidMotionLibrary, useModalStore, usePopoverStore } from '@yahoo/uds/experimental/client';
5
5
  import '@yahoo/uds-icons/types';
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { I as IconPropsWithSVGProps, B as BoxProps, U as UniversalTextProps, T as TextProps } from '../Text-Buzrh-6W.js';
2
+ import { I as IconPropsWithSVGProps, B as BoxProps, U as UniversalTextProps, T as TextProps } from '../Text-BAHkYEiK.js';
3
3
  import react__default, { TableHTMLAttributes, HTMLAttributes, TdHTMLAttributes } from 'react';
4
4
  export { Accordion, AccordionProps, AvoidMotionLibraryProvider, Modal, ModalDismiss, ModalHeader, ModalProps, ModalStore, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, PopoverHeadingProps, PopoverProps, PopoverProvider, SwitchV2, SwitchV2Props, Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, Tabs, TabsProps, ToastContainer, ToastProps, toast, useAvoidMotionLibrary, useModalStore, usePopoverStore } from '@yahoo/uds/experimental/client';
5
5
  import '@yahoo/uds-icons/types';
@@ -1,5 +1,5 @@
1
1
  import * as properties from '@yahoo/uds/fixtures';
2
- import { m as ShadowPreset, g as UniversalTokensConfig } from './types-Da_DnBJy.cjs';
2
+ import { m as ShadowPreset, g as UniversalTokensConfig } from './types-Cx4ERyM0.cjs';
3
3
 
4
4
  type DispatchContext = {
5
5
  componentName: string;
@@ -1,5 +1,5 @@
1
1
  import * as properties from '@yahoo/uds/fixtures';
2
- import { m as ShadowPreset, g as UniversalTokensConfig } from './types-D6kYghpa.cjs';
2
+ import { m as ShadowPreset, g as UniversalTokensConfig } from './types-wpDRhNL7.cjs';
3
3
 
4
4
  type DispatchContext = {
5
5
  componentName: string;
@@ -1,5 +1,5 @@
1
1
  import * as properties from '@yahoo/uds/fixtures';
2
- import { m as ShadowPreset, g as UniversalTokensConfig } from './types-D6kYghpa.js';
2
+ import { m as ShadowPreset, g as UniversalTokensConfig } from './types-wpDRhNL7.js';
3
3
 
4
4
  type DispatchContext = {
5
5
  componentName: string;
@@ -1,5 +1,5 @@
1
1
  import * as properties from '@yahoo/uds/fixtures';
2
- import { m as ShadowPreset, g as UniversalTokensConfig } from './types-Da_DnBJy.js';
2
+ import { m as ShadowPreset, g as UniversalTokensConfig } from './types-Cx4ERyM0.js';
3
3
 
4
4
  type DispatchContext = {
5
5
  componentName: string;
package/dist/index.d.cts CHANGED
@@ -1,16 +1,16 @@
1
- import { D as DivProps } from './Box-BFRDyWaq.cjs';
2
- export { a as Box, B as BoxProps } from './Box-BFRDyWaq.cjs';
3
- export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-UmkAYRN1.cjs';
1
+ import { D as DivProps } from './Box-DpyU-coK.cjs';
2
+ export { a as Box, B as BoxProps } from './Box-DpyU-coK.cjs';
3
+ export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-BkfbZYlc.cjs';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import { v as UniversalFormLabelProps, n as UniversalStackProps, w as IconPropsWithSVGProps, x as ImagePropsWithImgProps, y as UniversalLinkProps } from './types-Da_DnBJy.cjs';
6
- export { D as AVATAR_SIZE_PREFIX, al as AlwaysPalette, am as AlwaysPaletteAlias, an as AlwaysPaletteColor, ao as Animation, ap as AriaAttribute, aq as AvatarAbbreviationStrategy, ar as AvatarShape, as as AvatarSize, at as AvatarSizeConfig, au as AvatarVariant, E as BORDER_RADIUS_PREFIX, J as BORDER_WIDTH_PREFIX, ac as BUTTON_CSS_VAR_MAP, av as BackgroundColor, aw as BackgroundPalette, ax as BackgroundPaletteAlias, ay as BackgroundStyleProps, az as BadgeSize, aA as BadgeVariant, aB as BorderRadius, aC as BorderRadiusConfig, aD as BorderStyleProps, aE as BorderWidth, aF as BorderWidthConfig, aG as Breakpoint, aH as BreakpointWithBase, e as BreakpointsConfig, aI as ButtonBaseConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, B as ButtonConfig, aN as ButtonKind, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aR as ButtonPalette, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b0 as ButtonVariant, b1 as ButtonVariantConfig, b2 as ButtonVariantFlat, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, h as ColorMode, C as ColorModeConfig, b8 as ColorModeForApp, i as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a8 as DEFAULT_COLOR_MODE_CLASSNAME, a9 as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, af as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ag as FontAxisConfig, F as FontConfig, br as FontCssVar, ai as FontDeclarationConfig, ah as FontDeclarationItemConfig, aj as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, bu as FontID, bv as FontSize, bw as FontSizeConfig, bx as FontSlantConfig, by as FontType, bz as FontWeightConfig, bA as FontWeightDescriptive, ak as FontWeightForFont, bB as FontWeightNumeric, bC as FontWidthConfig, bD as ForegroundColor, bE as ForegroundPalette, bF as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bG as HighContrastMode, H as Hue, j as HueStep, ad as ICON_BUTTON_CSS_VAR_MAP, R as ICON_SIZE_PREFIX, a0 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bH as IconButtonClassName, I as IconButtonConfig, bI as IconButtonDefaultsConfig, bJ as IconButtonSize, bK as IconSizeConfig, bL as IconSlotRenderProps, bM as ImageStyleProps, bN as InputSize, a4 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bO as LayoutStyleProps, bP as LetterSpacing, bQ as LineClampAlias, bR as LineColor, bS as LineHeight, bT as LineHeightConfig, bU as LinePalette, bV as LinePaletteAlias, a3 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bW as Modes, M as MotionConfig, bX as MotionCssVar, bY as MotionSpringConfig, bZ as MotionSpringConfigOptions, b_ as MotionVariant, b$ as MotionVariantSpeed, c0 as MotionVariantValues, c1 as Overflow, ae as PSEUDO_STYLE_SELECTOR_MAP, c2 as Palette, k as PaletteConfig, P as PaletteType, c3 as PaletteValue, c4 as Pixels, c5 as PlatformMode, c6 as Position, c7 as PropertyToPaletteAliasMap, c8 as RadioSize, c9 as RadioValue, ca as RadioVariant, cb as RegionMode, cc as Rems, a2 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, $ as SYSTEM_COLOR_MODE_CLASSNAME, cd as ScaleConfig, ce as ScaleEffectMap, l as ScaleMode, S as ScaleModeConfig, cf as ScaleModeForApp, cg as ShadowColor, ch as ShadowColorConfig, d as ShadowConfig, ci as ShadowOffset, cj as ShadowOpacity, ck as ShadowPalette, cl as ShadowPaletteAlias, m as ShadowPreset, cm as ShadowSpreadRadius, cn as ShadowStyleProps, co as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, t as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, ab as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, aa as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, A as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, b as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, o as UniversalDividerProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalIconSlot, d7 as UniversalImageProps, d8 as UniversalInputProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d9 as UniversalRadioGroupProps, da as UniversalRadioProps, c as UniversalSwitchProps, U as UniversalTextProps, g as UniversalTokensConfig, db as UniversalTokensConfigAuto, a5 as XLARGE_SCALE_MODE_CLASSNAME, a1 as XSMALL_SCALE_MODE_CLASSNAME, a6 as XXLARGE_SCALE_MODE_CLASSNAME, a7 as XXXLARGE_SCALE_MODE_CLASSNAME, z as alwaysPalette } from './types-Da_DnBJy.cjs';
5
+ import { v as UniversalFormLabelProps, n as UniversalStackProps, w as IconPropsWithSVGProps, x as ImagePropsWithImgProps, y as UniversalLinkProps } from './types-Cx4ERyM0.cjs';
6
+ export { D as AVATAR_SIZE_PREFIX, al as AlwaysPalette, am as AlwaysPaletteAlias, an as AlwaysPaletteColor, ao as Animation, ap as AriaAttribute, aq as AvatarAbbreviationStrategy, ar as AvatarShape, as as AvatarSize, at as AvatarSizeConfig, au as AvatarVariant, E as BORDER_RADIUS_PREFIX, J as BORDER_WIDTH_PREFIX, ac as BUTTON_CSS_VAR_MAP, av as BackgroundColor, aw as BackgroundPalette, ax as BackgroundPaletteAlias, ay as BackgroundStyleProps, az as BadgeSize, aA as BadgeVariant, aB as BorderRadius, aC as BorderRadiusConfig, aD as BorderStyleProps, aE as BorderWidth, aF as BorderWidthConfig, aG as Breakpoint, aH as BreakpointWithBase, e as BreakpointsConfig, aI as ButtonBaseConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, B as ButtonConfig, aN as ButtonKind, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aR as ButtonPalette, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b0 as ButtonVariant, b1 as ButtonVariantConfig, b2 as ButtonVariantFlat, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, h as ColorMode, C as ColorModeConfig, b8 as ColorModeForApp, i as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a8 as DEFAULT_COLOR_MODE_CLASSNAME, a9 as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, af as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ag as FontAxisConfig, F as FontConfig, br as FontCssVar, ai as FontDeclarationConfig, ah as FontDeclarationItemConfig, aj as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, bu as FontID, bv as FontSize, bw as FontSizeConfig, bx as FontSlantConfig, by as FontType, bz as FontWeightConfig, bA as FontWeightDescriptive, ak as FontWeightForFont, bB as FontWeightNumeric, bC as FontWidthConfig, bD as ForegroundColor, bE as ForegroundPalette, bF as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bG as HighContrastMode, H as Hue, j as HueStep, ad as ICON_BUTTON_CSS_VAR_MAP, R as ICON_SIZE_PREFIX, a0 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bH as IconButtonClassName, I as IconButtonConfig, bI as IconButtonDefaultsConfig, bJ as IconButtonSize, bK as IconSizeConfig, bL as IconSlotRenderProps, bM as ImageStyleProps, bN as InputSize, a4 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bO as LayoutStyleProps, bP as LetterSpacing, bQ as LineClampAlias, bR as LineColor, bS as LineHeight, bT as LineHeightConfig, bU as LinePalette, bV as LinePaletteAlias, a3 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bW as Modes, M as MotionConfig, bX as MotionCssVar, bY as MotionSpringConfig, bZ as MotionSpringConfigOptions, b_ as MotionVariant, b$ as MotionVariantSpeed, c0 as MotionVariantValues, c1 as Overflow, ae as PSEUDO_STYLE_SELECTOR_MAP, c2 as Palette, k as PaletteConfig, P as PaletteType, c3 as PaletteValue, c4 as Pixels, c5 as PlatformMode, c6 as Position, c7 as PropertyToPaletteAliasMap, c8 as RadioSize, c9 as RadioValue, ca as RadioVariant, cb as RegionMode, cc as Rems, a2 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, $ as SYSTEM_COLOR_MODE_CLASSNAME, cd as ScaleConfig, ce as ScaleEffectMap, l as ScaleMode, S as ScaleModeConfig, cf as ScaleModeForApp, cg as ShadowColor, ch as ShadowColorConfig, d as ShadowConfig, ci as ShadowOffset, cj as ShadowOpacity, ck as ShadowPalette, cl as ShadowPaletteAlias, m as ShadowPreset, cm as ShadowSpreadRadius, cn as ShadowStyleProps, co as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, t as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, ab as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, aa as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, A as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, b as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, o as UniversalDividerProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalIconSlot, d7 as UniversalImageProps, d8 as UniversalInputProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d9 as UniversalRadioGroupProps, da as UniversalRadioProps, c as UniversalSwitchProps, U as UniversalTextProps, g as UniversalTokensConfig, db as UniversalTokensConfigAuto, a5 as XLARGE_SCALE_MODE_CLASSNAME, a1 as XSMALL_SCALE_MODE_CLASSNAME, a6 as XXLARGE_SCALE_MODE_CLASSNAME, a7 as XXXLARGE_SCALE_MODE_CLASSNAME, z as alwaysPalette } from './types-Cx4ERyM0.cjs';
7
7
  import * as react from 'react';
8
8
  import { PropsWithChildren, Dispatch, SetStateAction } from 'react';
9
- export { T as Text, a as TextProps } from './Text-Bq5NiVYm.cjs';
9
+ export { T as Text, a as TextProps } from './Text-DkshZZiK.cjs';
10
10
  export { Avatar, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarText, AvatarTextProps, Badge, BadgeProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipButton, ChipButtonProps, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipToggle, ChipToggleProps, IconButton, IconButtonProps, Input, InputHelpText, InputHelpTextProps, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
11
11
  export { AllSelectors, BaseSelector, CssStyleObject, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, ParentVariantSelector, button, cartesianProduct, coalesceConfigVariant, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getDefaultButtonBaseMap, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseDeprecatedButtonPaletteVariant, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.cjs';
12
12
  export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.cjs';
13
- export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, 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-BnkxCwiE.cjs';
13
+ export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, 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-B7ouHsYr.cjs';
14
14
  export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
15
15
  import 'motion/react';
16
16
  import 'type-fest';
package/dist/index.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- import { D as DivProps } from './Box-MHJ0-0M3.js';
2
- export { a as Box, B as BoxProps } from './Box-MHJ0-0M3.js';
3
- export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-CppUZHJL.js';
1
+ import { D as DivProps } from './Box-DSlj_nk4.js';
2
+ export { a as Box, B as BoxProps } from './Box-DSlj_nk4.js';
3
+ export { a as Divider, D as DividerProps, b as VStack, V as VStackProps } from './VStack-C5UmhjZX.js';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import { v as UniversalFormLabelProps, n as UniversalStackProps, w as IconPropsWithSVGProps, x as ImagePropsWithImgProps, y as UniversalLinkProps } from './types-Da_DnBJy.js';
6
- export { D as AVATAR_SIZE_PREFIX, al as AlwaysPalette, am as AlwaysPaletteAlias, an as AlwaysPaletteColor, ao as Animation, ap as AriaAttribute, aq as AvatarAbbreviationStrategy, ar as AvatarShape, as as AvatarSize, at as AvatarSizeConfig, au as AvatarVariant, E as BORDER_RADIUS_PREFIX, J as BORDER_WIDTH_PREFIX, ac as BUTTON_CSS_VAR_MAP, av as BackgroundColor, aw as BackgroundPalette, ax as BackgroundPaletteAlias, ay as BackgroundStyleProps, az as BadgeSize, aA as BadgeVariant, aB as BorderRadius, aC as BorderRadiusConfig, aD as BorderStyleProps, aE as BorderWidth, aF as BorderWidthConfig, aG as Breakpoint, aH as BreakpointWithBase, e as BreakpointsConfig, aI as ButtonBaseConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, B as ButtonConfig, aN as ButtonKind, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aR as ButtonPalette, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b0 as ButtonVariant, b1 as ButtonVariantConfig, b2 as ButtonVariantFlat, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, h as ColorMode, C as ColorModeConfig, b8 as ColorModeForApp, i as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a8 as DEFAULT_COLOR_MODE_CLASSNAME, a9 as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, af as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ag as FontAxisConfig, F as FontConfig, br as FontCssVar, ai as FontDeclarationConfig, ah as FontDeclarationItemConfig, aj as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, bu as FontID, bv as FontSize, bw as FontSizeConfig, bx as FontSlantConfig, by as FontType, bz as FontWeightConfig, bA as FontWeightDescriptive, ak as FontWeightForFont, bB as FontWeightNumeric, bC as FontWidthConfig, bD as ForegroundColor, bE as ForegroundPalette, bF as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bG as HighContrastMode, H as Hue, j as HueStep, ad as ICON_BUTTON_CSS_VAR_MAP, R as ICON_SIZE_PREFIX, a0 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bH as IconButtonClassName, I as IconButtonConfig, bI as IconButtonDefaultsConfig, bJ as IconButtonSize, bK as IconSizeConfig, bL as IconSlotRenderProps, bM as ImageStyleProps, bN as InputSize, a4 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bO as LayoutStyleProps, bP as LetterSpacing, bQ as LineClampAlias, bR as LineColor, bS as LineHeight, bT as LineHeightConfig, bU as LinePalette, bV as LinePaletteAlias, a3 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bW as Modes, M as MotionConfig, bX as MotionCssVar, bY as MotionSpringConfig, bZ as MotionSpringConfigOptions, b_ as MotionVariant, b$ as MotionVariantSpeed, c0 as MotionVariantValues, c1 as Overflow, ae as PSEUDO_STYLE_SELECTOR_MAP, c2 as Palette, k as PaletteConfig, P as PaletteType, c3 as PaletteValue, c4 as Pixels, c5 as PlatformMode, c6 as Position, c7 as PropertyToPaletteAliasMap, c8 as RadioSize, c9 as RadioValue, ca as RadioVariant, cb as RegionMode, cc as Rems, a2 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, $ as SYSTEM_COLOR_MODE_CLASSNAME, cd as ScaleConfig, ce as ScaleEffectMap, l as ScaleMode, S as ScaleModeConfig, cf as ScaleModeForApp, cg as ShadowColor, ch as ShadowColorConfig, d as ShadowConfig, ci as ShadowOffset, cj as ShadowOpacity, ck as ShadowPalette, cl as ShadowPaletteAlias, m as ShadowPreset, cm as ShadowSpreadRadius, cn as ShadowStyleProps, co as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, t as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, ab as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, aa as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, A as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, b as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, o as UniversalDividerProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalIconSlot, d7 as UniversalImageProps, d8 as UniversalInputProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d9 as UniversalRadioGroupProps, da as UniversalRadioProps, c as UniversalSwitchProps, U as UniversalTextProps, g as UniversalTokensConfig, db as UniversalTokensConfigAuto, a5 as XLARGE_SCALE_MODE_CLASSNAME, a1 as XSMALL_SCALE_MODE_CLASSNAME, a6 as XXLARGE_SCALE_MODE_CLASSNAME, a7 as XXXLARGE_SCALE_MODE_CLASSNAME, z as alwaysPalette } from './types-Da_DnBJy.js';
5
+ import { v as UniversalFormLabelProps, n as UniversalStackProps, w as IconPropsWithSVGProps, x as ImagePropsWithImgProps, y as UniversalLinkProps } from './types-Cx4ERyM0.js';
6
+ export { D as AVATAR_SIZE_PREFIX, al as AlwaysPalette, am as AlwaysPaletteAlias, an as AlwaysPaletteColor, ao as Animation, ap as AriaAttribute, aq as AvatarAbbreviationStrategy, ar as AvatarShape, as as AvatarSize, at as AvatarSizeConfig, au as AvatarVariant, E as BORDER_RADIUS_PREFIX, J as BORDER_WIDTH_PREFIX, ac as BUTTON_CSS_VAR_MAP, av as BackgroundColor, aw as BackgroundPalette, ax as BackgroundPaletteAlias, ay as BackgroundStyleProps, az as BadgeSize, aA as BadgeVariant, aB as BorderRadius, aC as BorderRadiusConfig, aD as BorderStyleProps, aE as BorderWidth, aF as BorderWidthConfig, aG as Breakpoint, aH as BreakpointWithBase, e as BreakpointsConfig, aI as ButtonBaseConfig, p as ButtonClassMap, aJ as ButtonClassName, aK as ButtonColorConfig, aL as ButtonColorEffect, aM as ButtonColorEffectConfig, r as ButtonColorProperty, s as ButtonColorPropertyConfig, B as ButtonConfig, aN as ButtonKind, aO as ButtonMotionEffect, aP as ButtonMotionProperty, aQ as ButtonMotionPropertyConfig, aR as ButtonPalette, aS as ButtonPaletteColor, aT as ButtonPaletteConfig, aU as ButtonShadowPropertyConfig, aV as ButtonSize, aW as ButtonSizeConfig, aX as ButtonSizeProperty, aY as ButtonSpectrumColor, aZ as ButtonState, a_ as ButtonStateConfig, a$ as ButtonStateEffectConfig, b0 as ButtonVariant, b1 as ButtonVariantConfig, b2 as ButtonVariantFlat, b3 as CheckboxSize, b4 as CheckboxValue, b5 as CheckboxVariant, b6 as ChipSize, b7 as ChipVariant, h as ColorMode, C as ColorModeConfig, b8 as ColorModeForApp, i as ColorsConfig, b9 as ConfigurableDropShadowValues, ba as ConfigurableInsetShadowValues, bb as CustomSizingStyleProps, Z as DARK_COLOR_MODE_CLASSNAME, a8 as DEFAULT_COLOR_MODE_CLASSNAME, a9 as DEFAULT_SCALE_MODE_CLASSNAME, bc as DataAttribute, bd as Display, be as DividerVariant, af as FONT_DECLARATIONS_MAP, K as FONT_FAMILY_PREFIX, L as FONT_SIZE_PREFIX, O as FONT_SLANT_PREFIX, N as FONT_WEIGHT_PREFIX, Q as FONT_WIDTH_PREFIX, bf as Flex, bg as FlexAlignContent, bh as FlexAlignItems, bi as FlexAlignSelf, bj as FlexBasis, bk as FlexDirection, bl as FlexGrow, bm as FlexJustifyContent, bn as FlexShrink, bo as FlexStyleProps, bp as FlexWrap, bq as FontAlias, ag as FontAxisConfig, F as FontConfig, br as FontCssVar, ai as FontDeclarationConfig, ah as FontDeclarationItemConfig, aj as FontDeclarationMap, bs as FontFamilyCDNUrl, bt as FontFamilyConfig, bu as FontID, bv as FontSize, bw as FontSizeConfig, bx as FontSlantConfig, by as FontType, bz as FontWeightConfig, bA as FontWeightDescriptive, ak as FontWeightForFont, bB as FontWeightNumeric, bC as FontWidthConfig, bD as ForegroundColor, bE as ForegroundPalette, bF as ForegroundPaletteAlias, G as GlobalDefaultsConfig, bG as HighContrastMode, H as Hue, j as HueStep, ad as ICON_BUTTON_CSS_VAR_MAP, R as ICON_SIZE_PREFIX, a0 as INVERT_COLOR_MODE_CLASSNAME, q as IconButtonClassMap, bH as IconButtonClassName, I as IconButtonConfig, bI as IconButtonDefaultsConfig, bJ as IconButtonSize, bK as IconSizeConfig, bL as IconSlotRenderProps, bM as ImageStyleProps, bN as InputSize, a4 as LARGE_SCALE_MODE_CLASSNAME, _ as LIGHT_COLOR_MODE_CLASSNAME, V as LINE_HEIGHT_PREFIX, bO as LayoutStyleProps, bP as LetterSpacing, bQ as LineClampAlias, bR as LineColor, bS as LineHeight, bT as LineHeightConfig, bU as LinePalette, bV as LinePaletteAlias, a3 as MEDIUM_SCALE_MODE_CLASSNAME, W as MOTION_PREFIX, bW as Modes, M as MotionConfig, bX as MotionCssVar, bY as MotionSpringConfig, bZ as MotionSpringConfigOptions, b_ as MotionVariant, b$ as MotionVariantSpeed, c0 as MotionVariantValues, c1 as Overflow, ae as PSEUDO_STYLE_SELECTOR_MAP, c2 as Palette, k as PaletteConfig, P as PaletteType, c3 as PaletteValue, c4 as Pixels, c5 as PlatformMode, c6 as Position, c7 as PropertyToPaletteAliasMap, c8 as RadioSize, c9 as RadioValue, ca as RadioVariant, cb as RegionMode, cc as Rems, a2 as SMALL_SCALE_MODE_CLASSNAME, X as SPECTRUM_COLOR_PREFIX, $ as SYSTEM_COLOR_MODE_CLASSNAME, cd as ScaleConfig, ce as ScaleEffectMap, l as ScaleMode, S as ScaleModeConfig, cf as ScaleModeForApp, cg as ShadowColor, ch as ShadowColorConfig, d as ShadowConfig, ci as ShadowOffset, cj as ShadowOpacity, ck as ShadowPalette, cl as ShadowPaletteAlias, m as ShadowPreset, cm as ShadowSpreadRadius, cn as ShadowStyleProps, co as ShadowType, cp as ShadowTypeConfig, cq as ShadowVariant, cr as ShadowVariantConfig, cs as ShadowVariantInvert, ct as ShadowVariantWithInvert, cu as SharedPaletteAlias, t as SpacingAlias, cv as SpacingConfig, cw as SpacingStyleProps, cx as SpectrumColor, cy as SpectrumConfig, cz as StateStyleProps, cA as StyleProps, cB as SwitchSize, ab as TEXT_RESPONSIVE_BREAKPOINT_CLASSNAMES, aa as TEXT_RESPONSIVE_CLASSNAME, Y as TEXT_TRANSFORM_PREFIX, cL as TShirtSize, cM as TShirtSizeCommon, cC as TextDecorationLine, cD as TextProperty, cE as TextStyleProps, cF as TextTransform, cG as TextTransformConfig, cH as TextVariant, cI as TransitionDelay, cJ as TransitionDuration, cK as TransitionTiming, T as TypographyConfig, cN as TypographyResponsiveProperty, cO as TypographyStyle, cP as TypographyStyleProperty, cQ as TypographyUnitValue, A as UDS_PREFIX, cR as UdsCssVar, cS as Unitless, cT as UniversalAvatarIconProps, cU as UniversalAvatarImageProps, cV as UniversalAvatarProps, cW as UniversalAvatarTextProps, cX as UniversalBadgeProps, b as UniversalBoxProps, cY as UniversalButtonProps, cZ as UniversalCheckboxProps, c_ as UniversalChipBaseProps, c$ as UniversalChipButtonProps, d0 as UniversalChipDismissibleProps, d1 as UniversalChipLinkProps, d2 as UniversalChipProps, d3 as UniversalChipToggleProps, o as UniversalDividerProps, d4 as UniversalIconButtonProps, d5 as UniversalIconProps, d6 as UniversalIconSlot, d7 as UniversalImageProps, d8 as UniversalInputProps, u as UniversalMenuItemProps, a as UniversalPressableProps, d9 as UniversalRadioGroupProps, da as UniversalRadioProps, c as UniversalSwitchProps, U as UniversalTextProps, g as UniversalTokensConfig, db as UniversalTokensConfigAuto, a5 as XLARGE_SCALE_MODE_CLASSNAME, a1 as XSMALL_SCALE_MODE_CLASSNAME, a6 as XXLARGE_SCALE_MODE_CLASSNAME, a7 as XXXLARGE_SCALE_MODE_CLASSNAME, z as alwaysPalette } from './types-Cx4ERyM0.js';
7
7
  import * as react from 'react';
8
8
  import { PropsWithChildren, Dispatch, SetStateAction } from 'react';
9
- export { T as Text, a as TextProps } from './Text-IGbWWF7a.js';
9
+ export { T as Text, a as TextProps } from './Text-BE_L9lP2.js';
10
10
  export { Avatar, AvatarIcon, AvatarIconProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarText, AvatarTextProps, Badge, BadgeProps, Button, ButtonProps, Checkbox, CheckboxProps, Chip, ChipButton, ChipButtonProps, ChipDismissible, ChipDismissibleProps, ChipLink, ChipLinkProps, ChipProps, ChipToggle, ChipToggleProps, IconButton, IconButtonProps, Input, InputHelpText, InputHelpTextProps, InputProps, Menu, MenuContentProps, MenuDividerProps, MenuItemCheckboxProps, MenuItemProps, MenuPlacement, MenuProviderProps, MenuTriggerProps, Pressable, PressableProps, Radio, RadioGroupProvider, RadioGroupProviderProps, RadioProps, SpringMotionConfig, SpringMotionConfigProps, Switch, SwitchProps } from '@yahoo/uds/client';
11
11
  export { AllSelectors, BaseSelector, CssStyleObject, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, ParentVariantSelector, button, cartesianProduct, coalesceConfigVariant, entries, fontWeightMap, fromEntries, generateKeyFromFlatConfigPath, generateSchemaKey, getConfigDefaultValue, getConfigPseudoStateVariables, getConfigPseudoStateVariablesWithSetter, getConfigSubcomponents, getConfigVariantComponentStates, getConfigVariantComponentStatesMatrix, getConfigVariantProperties, getConfigVariantPseudoStates, getConfigVariants, getDefaultButtonBaseMap, isConfigDefaultValue, mapValues, parseButtonVariantFlat, parseDeprecatedButtonPaletteVariant, setConfigPseudoStateVariable, shadow, variants } from './tokens/index.js';
12
12
  export { AvatarConfig, BadgeConfig, CheckboxConfig, ChipConfig, DividerConfig, InputConfig, LinkConfig, MenuConfig, RadioConfig, SwitchConfig } from './tokens/automation/configs.js';
13
- export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, 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-DPrPpHqT.js';
13
+ export { A as AllPossibleProperties, j as AllVariantKeys, i as AutoComponentName, h as AutoComponents, g as ComponentConfig, b as ComponentStateConfig, C as ConfigurablePropertiesName, E as ExtendablePropertiesName, L as LayerConfig, P as PossibleStates, a as PossibleStatesWithRest, k as SchemaStateValue, S as SelectedConfigurableProperty, d as SubComponentConfig, V as VariantConfig, 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-cfPq3YHj.js';
14
14
  export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
15
15
  import 'motion/react';
16
16
  import 'type-fest';