@yahoo/uds 3.16.0-beta.2 → 3.16.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 (132) hide show
  1. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  2. package/cli/bin/uds-linux-arm64 +0 -0
  3. package/cli/bin/uds-linux-x64-baseline +0 -0
  4. package/dist/{Box-D40ThLwg.d.cts → Box-CcXdv2Rw.d.cts} +1 -37
  5. package/dist/{Box-D40ThLwg.d.ts → Box-CcXdv2Rw.d.ts} +1 -37
  6. package/dist/{Input-BMRGSU5y.d.ts → Input-9mqqHyM_.d.ts} +1 -1
  7. package/dist/{Input-Bodf4GHN.d.ts → Input-CqWvnTE2.d.ts} +1 -1
  8. package/dist/{Input-CMSWyzqv.d.cts → Input-CsnKIM7r.d.cts} +1 -1
  9. package/dist/{Input-Dy8st3t9.d.cts → Input-zEU4biDe.d.cts} +1 -1
  10. package/dist/{Pressable-6OGAsf5K.d.cts → Pressable-DG4fPi9g.d.cts} +1 -1
  11. package/dist/{Pressable-BWXRpiJE.d.cts → Pressable-DJiKOTnV.d.cts} +1 -1
  12. package/dist/{Pressable-Bu5pYD6Z.d.ts → Pressable-Ujv71dpY.d.ts} +1 -1
  13. package/dist/{Pressable-CIIFtTng.d.ts → Pressable-pKA6lolm.d.ts} +1 -1
  14. package/dist/{VStack-BeVwzpH2.d.cts → VStack-C-52-Shi.d.cts} +1 -1
  15. package/dist/{VStack-BD2tZc5A.d.ts → VStack-CL70cH04.d.ts} +1 -1
  16. package/dist/{VStack-neVNcyVv.d.cts → VStack-P1-kL67Z.d.cts} +1 -1
  17. package/dist/{VStack-QdWDAiK_.d.ts → VStack-PqVPCp0y.d.ts} +1 -1
  18. package/dist/chunk-37LEXEW4.js +3 -0
  19. package/dist/chunk-5ZMNC32B.js +1 -0
  20. package/dist/chunk-6BNYCBB5.cjs +1 -0
  21. package/dist/{chunk-MSCQUXK7.js → chunk-BKCOUFTY.js} +1 -1
  22. package/dist/chunk-DXK52WSU.js +3 -0
  23. package/dist/{chunk-OCQZCUT3.js → chunk-DZFKDL7I.js} +1 -1
  24. package/dist/chunk-GXIGOHD4.js +3 -0
  25. package/dist/chunk-JFLE7LSO.cjs +3 -0
  26. package/dist/chunk-KJ6ND3UD.cjs +2 -0
  27. package/dist/chunk-M5SXYW4O.js +1 -0
  28. package/dist/{chunk-Q6L5YDK4.cjs → chunk-O2MILEHQ.cjs} +1 -1
  29. package/dist/chunk-OMJ3BDEX.cjs +1 -0
  30. package/dist/chunk-RDF2NPZV.cjs +1 -0
  31. package/dist/chunk-RR45EHLK.js +3 -0
  32. package/dist/{chunk-BIT4ZYYL.cjs → chunk-S4TWJY7B.cjs} +1 -1
  33. package/dist/chunk-TJZ4HVAG.cjs +3 -0
  34. package/dist/chunk-UIMEZHPS.cjs +2 -0
  35. package/dist/chunk-W4KK6R6C.js +1 -0
  36. package/dist/chunk-YR633T75.cjs +1 -0
  37. package/dist/chunk-YVEYAMML.js +1 -0
  38. package/dist/client/Menu.cjs +1 -1
  39. package/dist/client/Menu.d.cts +3 -3
  40. package/dist/client/Menu.d.ts +3 -3
  41. package/dist/client/Menu.js +2 -2
  42. package/dist/client/index.cjs +1 -1
  43. package/dist/client/index.d.cts +38 -6
  44. package/dist/client/index.d.ts +38 -6
  45. package/dist/client/index.js +1 -1
  46. package/dist/experimental/client/index.cjs +2 -2
  47. package/dist/experimental/client/index.d.cts +2 -39
  48. package/dist/experimental/client/index.d.ts +2 -39
  49. package/dist/experimental/client/index.js +2 -2
  50. package/dist/experimental/index.cjs +1 -1
  51. package/dist/experimental/index.d.cts +2 -2
  52. package/dist/experimental/index.d.ts +2 -2
  53. package/dist/experimental/index.js +1 -1
  54. package/dist/{index-Dv3eaEEg.d.ts → index-CAFGK7nu.d.ts} +1 -1
  55. package/dist/{index-Cp0yW36O.d.ts → index-ChofTMM1.d.ts} +1 -1
  56. package/dist/{index-B7kmT6BF.d.cts → index-Dffuri1m.d.cts} +1 -1
  57. package/dist/{index-B3nKT69I.d.cts → index-DuXo_Lq2.d.cts} +1 -1
  58. package/dist/index.cjs +1 -1
  59. package/dist/index.d.cts +6 -6
  60. package/dist/index.d.ts +6 -6
  61. package/dist/index.js +1 -1
  62. package/dist/metafile-cjs.json +1 -1
  63. package/dist/metafile-esm.json +1 -1
  64. package/dist/tailwind/plugin.cjs +1 -1
  65. package/dist/tailwind/plugin.d.cts +1 -1
  66. package/dist/tailwind/plugin.d.ts +1 -1
  67. package/dist/tailwind/plugin.js +2 -2
  68. package/dist/tailwind/purger.cjs +1 -1
  69. package/dist/tailwind/purger.js +1 -1
  70. package/dist/tailwind/utils.cjs +1 -1
  71. package/dist/tailwind/utils.d.cts +1 -1
  72. package/dist/tailwind/utils.d.ts +1 -1
  73. package/dist/tailwind/utils.js +1 -1
  74. package/dist/tokens/automation/configs.cjs +1 -1
  75. package/dist/tokens/automation/configs.d.cts +2 -2
  76. package/dist/tokens/automation/configs.d.ts +2 -2
  77. package/dist/tokens/automation/configs.js +1 -1
  78. package/dist/tokens/automation/properties.cjs +1 -1
  79. package/dist/tokens/automation/properties.d.cts +2 -2
  80. package/dist/tokens/automation/properties.d.ts +2 -2
  81. package/dist/tokens/automation/properties.js +1 -1
  82. package/dist/tokens/index.cjs +1 -1
  83. package/dist/tokens/index.d.cts +20 -20
  84. package/dist/tokens/index.d.ts +20 -20
  85. package/dist/tokens/index.js +1 -1
  86. package/dist/tokens/parseTokens.d.cts +1 -1
  87. package/dist/tokens/parseTokens.d.ts +1 -1
  88. package/dist/{types-DYEQXQnF.d.ts → types-CN9tOfEO.d.cts} +1945 -1945
  89. package/dist/{types-BPg1GqRW.d.ts → types-CN9tOfEO.d.ts} +1 -1
  90. package/dist/{types-BPg1GqRW.d.cts → types-kxTkQgcG.d.cts} +1958 -1958
  91. package/dist/{types-DYEQXQnF.d.cts → types-kxTkQgcG.d.ts} +1 -1
  92. package/package.json +2 -12
  93. package/dist/SpringMotionConfig-CDjfwVEF.d.cts +0 -45
  94. package/dist/SpringMotionConfig-CGcal4P2.d.cts +0 -45
  95. package/dist/SpringMotionConfig-DVN_tZUq.d.ts +0 -45
  96. package/dist/SpringMotionConfig-G-5m8zYg.d.ts +0 -45
  97. package/dist/chunk-24HEQ4PT.js +0 -1
  98. package/dist/chunk-2ZZHX2EJ.cjs +0 -1
  99. package/dist/chunk-35PHZJZG.cjs +0 -1
  100. package/dist/chunk-3T5IX3JE.cjs +0 -1
  101. package/dist/chunk-4OQKZKM5.js +0 -1
  102. package/dist/chunk-6ZCIS462.cjs +0 -2
  103. package/dist/chunk-72JXN7EE.js +0 -1
  104. package/dist/chunk-A3B3VYP6.cjs +0 -1
  105. package/dist/chunk-A4MU7ARJ.cjs +0 -1
  106. package/dist/chunk-AIZ2OTKW.cjs +0 -2
  107. package/dist/chunk-EF6FLPTH.cjs +0 -1
  108. package/dist/chunk-FOQRYH73.js +0 -1
  109. package/dist/chunk-GP7XCURZ.js +0 -1
  110. package/dist/chunk-HN3QQ5PU.js +0 -2
  111. package/dist/chunk-HUFHYJ5T.cjs +0 -1
  112. package/dist/chunk-HYCGETLK.js +0 -2
  113. package/dist/chunk-LUIZSLSJ.cjs +0 -1
  114. package/dist/chunk-MWF3T6YY.cjs +0 -3
  115. package/dist/chunk-OGIKGD5Z.js +0 -2
  116. package/dist/chunk-OJB3FVN6.js +0 -3
  117. package/dist/chunk-ON6FCSMM.js +0 -1
  118. package/dist/chunk-PN3UA6WB.cjs +0 -1
  119. package/dist/chunk-Q3GQNZOI.js +0 -1
  120. package/dist/chunk-QFJTN7H3.js +0 -2
  121. package/dist/chunk-SQCEFYU5.cjs +0 -3
  122. package/dist/chunk-TPSHAL7U.js +0 -3
  123. package/dist/chunk-XMZZKQMQ.js +0 -1
  124. package/dist/chunk-XVD3PMQ7.cjs +0 -1
  125. package/dist/domMax-OBCHPQP3.js +0 -1
  126. package/dist/domMax-ZTC57OAI.cjs +0 -1
  127. package/dist/experimental/client/SwitchV2.cjs +0 -2
  128. package/dist/experimental/client/SwitchV2.d.cts +0 -44
  129. package/dist/experimental/client/SwitchV2.d.ts +0 -44
  130. package/dist/experimental/client/SwitchV2.js +0 -2
  131. /package/dist/{domAnimation-ESPUKI4G.cjs → motionFeatures-6LIGGXPL.cjs} +0 -0
  132. /package/dist/{domAnimation-MWKTMI4P.js → motionFeatures-SJISLQ4M.js} +0 -0
Binary file
Binary file
Binary file
@@ -211,42 +211,6 @@ interface UniversalIconProps {
211
211
  type SVGElementProps = Omit<React.HTMLAttributes<SVGSVGElement>, 'color'>;
212
212
  interface IconPropsWithSVGProps extends UniversalIconProps, SVGElementProps {
213
213
  }
214
- type UniversalIconSlot = SvgIcon | ReactNode | ((iconProps: Omit<IconPropsWithSVGProps, 'name'>) => ReactNode);
215
- type SwitchSize = 'sm' | 'md';
216
- interface UniversalSwitchProps {
217
- /**
218
- * Size of the switch.
219
- * @default 'md'
220
- */
221
- size?: SwitchSize;
222
- /**
223
- * The label of the switch. Can be a ReactNode for rich html labels.
224
- * Will not be labelled if omitted. User MUST then use `aria-label` attribute,
225
- * wrap in a `<label>` tag or `htmlFor` to add an external label for a11y.
226
- */
227
- label?: string | ReactNode | (() => ReactNode);
228
- /**
229
- * Controlled value of the switch. Will be an uncontrolled input if not present.
230
- */
231
- isOn?: boolean;
232
- /**
233
- * Set the initial value to default when uncontrolled.
234
- */
235
- defaultIsOn?: boolean;
236
- /** An icon to be displayed on the on state of the input. */
237
- onIcon?: UniversalIconSlot;
238
- /** An icon to be displayed on the off state of the input. */
239
- offIcon?: UniversalIconSlot;
240
- /**
241
- * Disables animations when true.
242
- */
243
- reduceMotion?: boolean;
244
- /**
245
- * On which side of the input is the label displayed.
246
- * @default 'start'
247
- */
248
- labelPosition?: 'start' | 'end';
249
- }
250
214
 
251
215
  type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
252
216
  type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
@@ -264,4 +228,4 @@ type DivProps = React.HTMLAttributes<HTMLDivElement>;
264
228
  interface BoxProps extends UniversalBoxProps, DivProps {
265
229
  }
266
230
 
267
- export type { BoxProps as B, DivProps as D, IconPropsWithSVGProps as I, TextProps as T, UniversalTextProps as U, UniversalStackProps as a, UniversalSwitchProps as b };
231
+ export type { BoxProps as B, DivProps as D, IconPropsWithSVGProps as I, TextProps as T, UniversalTextProps as U, UniversalStackProps as a };
@@ -211,42 +211,6 @@ interface UniversalIconProps {
211
211
  type SVGElementProps = Omit<React.HTMLAttributes<SVGSVGElement>, 'color'>;
212
212
  interface IconPropsWithSVGProps extends UniversalIconProps, SVGElementProps {
213
213
  }
214
- type UniversalIconSlot = SvgIcon | ReactNode | ((iconProps: Omit<IconPropsWithSVGProps, 'name'>) => ReactNode);
215
- type SwitchSize = 'sm' | 'md';
216
- interface UniversalSwitchProps {
217
- /**
218
- * Size of the switch.
219
- * @default 'md'
220
- */
221
- size?: SwitchSize;
222
- /**
223
- * The label of the switch. Can be a ReactNode for rich html labels.
224
- * Will not be labelled if omitted. User MUST then use `aria-label` attribute,
225
- * wrap in a `<label>` tag or `htmlFor` to add an external label for a11y.
226
- */
227
- label?: string | ReactNode | (() => ReactNode);
228
- /**
229
- * Controlled value of the switch. Will be an uncontrolled input if not present.
230
- */
231
- isOn?: boolean;
232
- /**
233
- * Set the initial value to default when uncontrolled.
234
- */
235
- defaultIsOn?: boolean;
236
- /** An icon to be displayed on the on state of the input. */
237
- onIcon?: UniversalIconSlot;
238
- /** An icon to be displayed on the off state of the input. */
239
- offIcon?: UniversalIconSlot;
240
- /**
241
- * Disables animations when true.
242
- */
243
- reduceMotion?: boolean;
244
- /**
245
- * On which side of the input is the label displayed.
246
- * @default 'start'
247
- */
248
- labelPosition?: 'start' | 'end';
249
- }
250
214
 
251
215
  type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li' | 'sup';
252
216
  type ColorWithInherit = Exclude<UniversalTextProps['color'], undefined> | 'inherit';
@@ -264,4 +228,4 @@ type DivProps = React.HTMLAttributes<HTMLDivElement>;
264
228
  interface BoxProps extends UniversalBoxProps, DivProps {
265
229
  }
266
230
 
267
- export type { BoxProps as B, DivProps as D, IconPropsWithSVGProps as I, TextProps as T, UniversalTextProps as U, UniversalStackProps as a, UniversalSwitchProps as b };
231
+ export type { BoxProps as B, DivProps as D, IconPropsWithSVGProps as I, TextProps as T, UniversalTextProps as U, UniversalStackProps as a };
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { U as UniversalInputProps } from './types-DYEQXQnF.js';
2
+ import { U as UniversalInputProps } from './types-CN9tOfEO.js';
3
3
  import { HTMLMotionProps } from 'motion/react';
4
4
 
5
5
  type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { U as UniversalInputProps } from './types-BPg1GqRW.js';
2
+ import { U as UniversalInputProps } from './types-kxTkQgcG.js';
3
3
  import { HTMLMotionProps } from 'motion/react';
4
4
 
5
5
  type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { U as UniversalInputProps } from './types-BPg1GqRW.cjs';
2
+ import { U as UniversalInputProps } from './types-kxTkQgcG.cjs';
3
3
  import { HTMLMotionProps } from 'motion/react';
4
4
 
5
5
  type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { U as UniversalInputProps } from './types-DYEQXQnF.cjs';
2
+ import { U as UniversalInputProps } from './types-CN9tOfEO.cjs';
3
3
  import { HTMLMotionProps } from 'motion/react';
4
4
 
5
5
  type HtmlInputProps = React.InputHTMLAttributes<HTMLInputElement> & HTMLMotionProps<'input'>;
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import { a as UniversalPressableProps } from './types-DYEQXQnF.cjs';
2
+ import { a as UniversalPressableProps } from './types-CN9tOfEO.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-BPg1GqRW.cjs';
2
+ import { a as UniversalPressableProps } from './types-kxTkQgcG.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-BPg1GqRW.js';
2
+ import { a as UniversalPressableProps } from './types-CN9tOfEO.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-DYEQXQnF.js';
2
+ import { a as UniversalPressableProps } from './types-kxTkQgcG.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 { i as UniversalBoxProps, j as UniversalStackProps, k as UniversalDividerProps } from './types-BPg1GqRW.cjs';
2
+ import { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-kxTkQgcG.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 { i as UniversalBoxProps, j as UniversalStackProps, k as UniversalDividerProps } from './types-DYEQXQnF.js';
2
+ import { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-kxTkQgcG.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 { i as UniversalBoxProps, j as UniversalStackProps, k as UniversalDividerProps } from './types-DYEQXQnF.cjs';
2
+ import { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-CN9tOfEO.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 { i as UniversalBoxProps, j as UniversalStackProps, k as UniversalDividerProps } from './types-BPg1GqRW.js';
2
+ import { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-CN9tOfEO.js';
3
3
 
4
4
  type DivProps = React.HTMLAttributes<HTMLDivElement>;
5
5
  interface BoxProps extends UniversalBoxProps, DivProps {
@@ -0,0 +1,3 @@
1
+ import{variants as o}from"./chunk-NYAQO47N.js";import{textVariants as r,backgroundColors as t,foregroundColors as e,spectrumColors as n,borderRadii as i,borderWidths as a,lineColors as l}from"@yahoo/uds/fixtures";import{getFeatureFlags as s}from"@yahoo/uds/flags";import d from"clsx";import f from"imurmurhash";import{extendTailwindMerge as c}from"tailwind-merge";import{forwardRef as p,memo as u,isValidElement as m,cloneElement as b,Children as h}from"react";import{jsx as g}from"react/jsx-runtime";import{isFunction as S}from"lodash-es";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
2
+ function x(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,n=t.length;e<n;e++){const n=t[e];void 0!==o[n]&&(r[n]=o[n])}return r}var w=c({extend:{theme:{borderColor:l,borderWidth:a,borderRadius:i}},override:{classGroups:{"text-color":[{text:[...e,...n]}],"bg-color":[{bg:t}],"font-family":[{font:["icons",...r]}],leading:[{leading:r}]},conflictingClassGroups:{}}}),C=(...o)=>{const r=d(o);return w(r)},v=o=>r=>{if(!o?.variants)return C(o?.base,r?.className);const{variants:t,defaultVariants:e}=o,n=Object.keys(t).map((o=>{const n=r?.[o],i=e?.[o],a=x(n)||x(i);return t[o][a]})),i={...e,...r&&y(r)},a=o?.compoundVariants?.reduce(((o,{className:r,...t})=>Object.entries(t).every((([o,r])=>i[o]===r))?C(o,r):o),"");return C(o?.base,n,a,r?.className)},W=v({variants:o}),B=new Map,T=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,n=t.length;e<n;e++){const n=t[e];r[n]=o[n]}return r}(y(o)),t=(new f).hash(JSON.stringify(r)).result();if(B.has(t))return B.get(t);const e=W(r);return B.set(t,e),e}return W(o)};function E(...o){return r=>o.forEach((o=>function(o,r){"function"==typeof o?o(r):null!=o&&(o.current=r)}(o,r)))}function N(){const o=p(((o,t)=>{const{children:n,...i}=o,a=h.toArray(n),l=a.find(e);if(l){const o=l.props.children,e=a.map((r=>r===l?h.count(o)>1?h.only(null):m(o)?o.props.children:null:r));return g(r,{...i,ref:t,children:m(o)?b(o,void 0,e):null})}return g(r,{...i,ref:t,children:n})}));o.displayName="Slot";const r=p(((o,r)=>{const{children:t,...e}=o;return m(t)?b(t,{...n(e,t.props),ref:r?E(r,t.ref):t.ref}):h.count(t)>1?h.only(null):null}));r.displayName="SlotClone";const t=({children:o})=>o;function e(o){return m(o)&&o.type===t}function n(o,r){const t={...r};for(const e in r){const n=o[e],i=r[e];/^on[A-Z]/.test(e)?n&&i?t[e]=(...o)=>{i(...o),n(...o)}:n&&(t[e]=n):"style"===e&&(t[e]={...n,...i})}return{...o,...t}}return o}var R=N(),G=p((function({asChild:o,className:r,backgroundColor:t,borderRadius:e,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:l,borderColor:s,borderStartColor:d,borderEndColor:f,borderTopColor:c,borderBottomColor:p,borderWidth:u,borderVerticalWidth:m,borderHorizontalWidth:b,borderStartWidth:h,borderEndWidth:S,borderTopWidth:x,borderBottomWidth:y,alignContent:w,alignItems:C,alignSelf:v,flex:W,flexDirection:B,flexGrow:E,flexShrink:N,flexWrap:G,justifyContent:k,flexBasis:z,display:H="flex",overflow:V,overflowX:j,overflowY:O,position:A,spacing:D,spacingHorizontal:I,spacingVertical:Y,spacingBottom:X,spacingEnd:$,spacingStart:F,spacingTop:M,offset:J,offsetVertical:P,offsetHorizontal:Q,offsetBottom:Z,offsetEnd:_,offsetStart:q,offsetTop:K,columnGap:L,rowGap:U,width:oo,height:ro,dropShadow:to,insetShadow:eo,...no},io){const ao=T({backgroundColor:t,borderRadius:e,borderTopStartRadius:n,borderTopEndRadius:i,borderBottomStartRadius:a,borderBottomEndRadius:l,borderColor:s,borderStartColor:d,borderEndColor:f,borderTopColor:c,borderBottomColor:p,borderWidth:u,borderVerticalWidth:m,borderHorizontalWidth:b,borderStartWidth:h,borderEndWidth:S,borderTopWidth:x,borderBottomWidth:y,alignContent:w,alignItems:C,alignSelf:v,flex:W,flexDirection:B,flexGrow:E,flexShrink:N,flexWrap:G,justifyContent:k,flexBasis:z,display:H,overflow:V,overflowX:j,overflowY:O,position:A,spacing:D,spacingHorizontal:I,spacingVertical:Y,spacingBottom:X,spacingEnd:$,spacingStart:F,spacingTop:M,offset:J,offsetVertical:P,offsetHorizontal:Q,offsetBottom:Z,offsetEnd:_,offsetStart:q,offsetTop:K,columnGap:L,rowGap:U,width:oo,height:ro,dropShadow:to,insetShadow:eo,className:r});return g(o?R:"div",{className:ao,ref:io,...no})}));G.displayName="Box";var k=(o,r)=>((o,r)=>{const t=S(r)?r:()=>r;return o.flatMap(((o,r)=>0!==r?[t(r),o]:[o]))})(h.toArray(o),(o=>{const t=S(r)?r(o):r;return m(t)?b(t,{...t.props,key:t.key??`interspersed-${o}`}):null})),z=p((function({gap:o,children:r,separator:t,...e},n){return g(G,{ref:n,flexDirection:"row",rowGap:o,columnGap:o,...e,children:t?k(r,t):r})}));z.displayName="HStack";var H=N(),V={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"},j=p((function({className:o,asChild:r,color:t="primary",variant:e="body1",as:n=V[e],fontFamily:i,fontSize:a,fontWeight:l,lineHeight:s,textTransform:d,textAlign:f,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:S,borderStartColor:x,borderEndColor:y,borderTopColor:w,borderBottomColor:C,borderWidth:v,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:E,borderEndWidth:N,borderTopWidth:R,borderBottomWidth:G,alignContent:k,alignItems:z,alignSelf:j,flex:O,flexDirection:A,flexGrow:D,flexShrink:I,flexWrap:Y,justifyContent:X,flexBasis:$,display:F,overflow:M,overflowX:J,overflowY:P,position:Q,spacing:Z,spacingHorizontal:_,spacingVertical:q,spacingBottom:K,spacingEnd:L,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:lo,columnGap:so,rowGap:fo,...co},po){const uo={...t&&"inherit"!==t?{color:t}:{},...e&&"inherit"!==e?{fontFamily:i??e,fontSize:a??e,fontWeight:l??e,lineHeight:s??e,textTransform:d??e}:{},textAlign:f},mo=T({className:o,...uo,backgroundColor:c,borderRadius:p,borderTopStartRadius:u,borderTopEndRadius:m,borderBottomStartRadius:b,borderBottomEndRadius:h,borderColor:S,borderStartColor:x,borderEndColor:y,borderTopColor:w,borderBottomColor:C,borderWidth:v,borderVerticalWidth:W,borderHorizontalWidth:B,borderStartWidth:E,borderEndWidth:N,borderTopWidth:R,borderBottomWidth:G,alignContent:k,alignItems:z,alignSelf:j,flex:O,flexDirection:A,flexGrow:D,flexShrink:I,flexWrap:Y,justifyContent:X,flexBasis:$,display:F,overflow:M,overflowX:J,overflowY:P,position:Q,spacing:Z,spacingHorizontal:_,spacingVertical:q,spacingBottom:K,spacingEnd:L,spacingStart:U,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:no,offsetEnd:io,offsetStart:ao,offsetTop:lo,columnGap:so,rowGap:fo});return g(r?H:n,{className:mo,ref:po,...co})}));j.displayName="Text";var O=p((function({gap:o,children:r,separator:t,...e},n){return g(G,{ref:n,flexDirection:"column",columnGap:o,rowGap:o,...e,children:t?k(r,t):r})}));O.displayName="VStack";var A={xs:12,sm:16,md:24,lg:32},D=p((function({name:o,size:r="md",variant:t="outline",color:e="primary",className:n,...i},a){const l=o.metadata?.variants??[],s=l.includes(t)?t:l[0]??"fill",d="multicolor"===s,f=T({flex:"none",color:d?void 0:e,className:C(n,!d&&"[&_path]:fill-current")}),c=A[r];return g("svg",{ref:a,xmlns:"http://www.w3.org/2000/svg",width:c,height:c,viewBox:`0 0 ${c} ${c}`,"aria-hidden":"true",focusable:"false",className:f,...i,children:g(o,{size:r,variant:s})})}));D.displayName="Icon";var I=u((function({icon:o,iconProps:r,...t}){if(!o)return null;const e=r??{},n=o;if(n.metadata?.isSvgIcon)return g(D,{name:n,...e,...t});if(S(o)){const r=o(e);return m(r)&&b(r,t)}return m(o)&&b(o,{...e,...o.props,...t})}));
3
+ /*! © 2025 Yahoo, Inc. UDS v0.0.0-development */export{G as Box,z as HStack,D as Icon,I as IconSlot,j as Text,O as VStack,N as createSlot,v as cva,C as cx,T as getStyles};
@@ -0,0 +1 @@
1
+ import{cx as e,VStack as r,HStack as t,Box as i,Text as o,getStyles as a}from"./chunk-RR45EHLK.js";import{forwardRef as l,useMemo as n}from"react";import{jsxs as d,jsx as s}from"react/jsx-runtime";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var c={horizontal:"w-full",vertical:""},h=l((function({vertical:a=!1,contentPosition:l="center",className:h,layerClassNames:m,children:f,...v},x){const N=a?"vertical":"horizontal",b=a?r:t,p=n((()=>({root:e(c[N],h,m?.root),label:e(m?.text),line:m?.line})),[h,N,m?.root,m?.text,m?.line]),y=n((()=>"vertical"===N?{borderTopWidth:0,borderRightWidth:0,borderBottomWidth:0}:{borderLeftWidth:0,borderRightWidth:0,borderBottomWidth:0}),[N]),u=()=>s(i,{flex:"1",className:p.line,style:y});return f?d(b,{flex:"1",alignItems:"center",className:p.root,ref:x,...v,children:["start"!==l&&s(u,{}),s(i,{flex:"none",children:s(o,{color:"inherit",variant:"inherit",className:p.label,children:f})}),"end"!==l&&s(u,{})]}):s(i,{display:"flex",flex:"none",className:p.root,ref:x,...v,children:s(u,{})})}));h.displayName="DividerCore";var m=l((function({variant:r="primary",layerClassNames:t,...i},o){const l=n((()=>({root:e("inherit"!==r&&a({dividerVariantRoot:r}),t?.root),text:e("inherit"!==r?a({dividerVariantLabel:r}):void 0,t?.text),line:e("inherit"!==r&&a({dividerVariantLine:r}),t?.line)})),[t?.line,t?.root,t?.text,r]);return s(h,{ref:o,layerClassNames:l,...i})}));m.displayName="DividerInternal";export{m as DividerInternal};
@@ -0,0 +1 @@
1
+ "use strict";var r=require("./chunk-TJZ4HVAG.cjs"),o=require("lodash-es"),e=require("react/jsx-runtime");/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var t=require("react").memo((function({startIcon:o,endIcon:t,iconProps:i,children:a,size:n,isFilled:l,...s}){const d={helperText:r.cx(r.getStyles({inputSizeHelperText:n,inputVariantHelperText:"default",inputVariantValueHelperText:l?"filled":"empty"})),helperIcon:r.getStyles({inputSizeHelperIcon:n,inputVariantHelperIcon:"default",inputVariantValueHelperIcon:l?"filled":"empty"})},c={variant:"outline",...i};return e.jsxs(r.HStack,{gap:"1",alignItems:"center",...s,children:[o&&e.jsx(r.IconSlot,{icon:o,...c,iconProps:i,className:d.helperIcon}),e.jsx("span",{className:d.helperText,children:a}),t&&e.jsx(r.IconSlot,{icon:t,...c,iconProps:i,className:d.helperIcon})]})}));exports.FormLabel=({htmlFor:t,required:i,label:a,children:n,color:l="muted",variant:s="label3",hasError:d=!1,showRequiredAsterisk:c=!1,as:p="label",className:f,...u})=>{const h=a?o.isFunction(a)?a():a:n;return h?e.jsxs(r.Text,{variant:s,color:l,as:p,htmlFor:t,className:r.cx("cursor-[inherit]",f),...u,children:[h,i&&c&&e.jsx(r.Text,{as:"sup",color:d?"alert":"inherit",variant:"inherit",spacingStart:"0.5","aria-hidden":!0,children:"*"})]}):null},exports.Image=function({width:o,height:t,src:i,alt:a,contentFit:n,backgroundColor:l,borderRadius:s,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:u,borderStartColor:h,borderEndColor:b,borderTopColor:m,borderBottomColor:x,borderWidth:g,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:H,borderBottomWidth:I,alignContent:B,alignItems:w,alignSelf:E,flex:V,flexDirection:v,flexGrow:j,flexShrink:R,flexWrap:y,justifyContent:z,flexBasis:k,display:F,overflow:G,overflowX:q,overflowY:N,position:P,spacing:A,spacingHorizontal:D,spacingVertical:X,spacingBottom:Y,spacingEnd:J,spacingStart:L,spacingTop:M,offset:Z,offsetVertical:K,offsetHorizontal:O,offsetBottom:Q,offsetEnd:U,offsetStart:$,offsetTop:_,columnGap:rr,rowGap:or,...er}){const tr=r.getStyles({contentFit:n,backgroundColor:l,borderRadius:s,borderTopStartRadius:d,borderTopEndRadius:c,borderBottomStartRadius:p,borderBottomEndRadius:f,borderColor:u,borderStartColor:h,borderEndColor:b,borderTopColor:m,borderBottomColor:x,borderWidth:g,borderVerticalWidth:S,borderHorizontalWidth:T,borderStartWidth:C,borderEndWidth:W,borderTopWidth:H,borderBottomWidth:I,alignContent:B,alignItems:w,alignSelf:E,flex:V,flexDirection:v,flexGrow:j,flexShrink:R,flexWrap:y,justifyContent:z,flexBasis:k,display:F,overflow:G,overflowX:q,overflowY:N,position:P,spacing:A,spacingHorizontal:D,spacingVertical:X,spacingBottom:Y,spacingEnd:J,spacingStart:L,spacingTop:M,offset:Z,offsetVertical:K,offsetHorizontal:O,offsetBottom:Q,offsetEnd:U,offsetStart:$,offsetTop:_,columnGap:rr,rowGap:or});return e.jsx("img",{src:i,alt:a,className:tr,style:{width:o,height:t},...er})},exports.InputHelpTextMemo=t;