@yahoo/uds 3.12.0 → 3.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/cli/FlattenButtonVariant.mock.tsx +17 -0
  2. package/dist/{Input-3VlNho5u.d.ts → Input-Dl4MH4QA.d.ts} +1 -1
  3. package/dist/{Input-DyendGfP.d.cts → Input-aOibmfef.d.cts} +1 -1
  4. package/dist/{Pressable-Cg5k06jR.d.ts → Pressable-SbKe8rDQ.d.ts} +1 -1
  5. package/dist/{Pressable-DwRN0F9I.d.cts → Pressable-mC6RJscK.d.cts} +1 -1
  6. package/dist/{VStack-CAmlGQov.d.ts → VStack-CntCBGfp.d.ts} +1 -1
  7. package/dist/{VStack-BLo_GVRR.d.cts → VStack-z0qYJqIc.d.cts} +1 -1
  8. package/dist/{chunk-OU46NWOC.cjs → chunk-4NZKRK55.cjs} +1 -1
  9. package/dist/chunk-5BYL7WNH.cjs +1 -0
  10. package/dist/chunk-5QLKLUZU.js +2 -0
  11. package/dist/{chunk-B73VFZGJ.js → chunk-AWSJDBQH.js} +1 -1
  12. package/dist/{chunk-3N4JOIUF.cjs → chunk-BCFYKKRU.cjs} +3 -3
  13. package/dist/{chunk-O7EFQP7P.cjs → chunk-BYASTYEI.cjs} +1 -1
  14. package/dist/{chunk-UKRZ6DPJ.js → chunk-DJUNEWZ7.js} +1 -1
  15. package/dist/{chunk-XGNMO7EU.js → chunk-MQI5GFGF.js} +2 -2
  16. package/dist/{chunk-WLUJBM5E.js → chunk-N4FHPR6Q.js} +1 -1
  17. package/dist/{chunk-ZSIYWIN2.cjs → chunk-NYQHJWTA.cjs} +1 -1
  18. package/dist/{chunk-DKEBQF5G.cjs → chunk-OVXGAHLE.cjs} +1 -1
  19. package/dist/{chunk-4MMZH6H4.cjs → chunk-PP2Z6HI3.cjs} +1 -1
  20. package/dist/{chunk-UZXPZDSS.js → chunk-S2FXUKQX.js} +3 -3
  21. package/dist/{chunk-MABGUDH4.js → chunk-WMOJ5WXH.js} +1 -1
  22. package/dist/{chunk-BJCZ62IT.js → chunk-XYUF3GPH.js} +1 -1
  23. package/dist/{chunk-ZPZAKENT.cjs → chunk-YV2EYDJK.cjs} +1 -1
  24. package/dist/client/Menu.cjs +1 -1
  25. package/dist/client/Menu.d.cts +3 -3
  26. package/dist/client/Menu.d.ts +3 -3
  27. package/dist/client/Menu.js +2 -2
  28. package/dist/client/index.cjs +1 -1
  29. package/dist/client/index.d.cts +3 -3
  30. package/dist/client/index.d.ts +3 -3
  31. package/dist/client/index.js +1 -1
  32. package/dist/fixtures.cjs +13 -3
  33. package/dist/fixtures.d.cts +3 -2
  34. package/dist/fixtures.d.ts +3 -2
  35. package/dist/fixtures.js +11 -2
  36. package/dist/{index-CzTuVTTj.d.cts → index-DSqYDAbI.d.cts} +1 -1
  37. package/dist/{index-DkZBPwMK.d.ts → index-Dwb73uSE.d.ts} +1 -1
  38. package/dist/index.cjs +1 -1
  39. package/dist/index.d.cts +6 -6
  40. package/dist/index.d.ts +6 -6
  41. package/dist/index.js +1 -1
  42. package/dist/metafile-cjs.json +1 -1
  43. package/dist/metafile-esm.json +1 -1
  44. package/dist/tailwind/plugin.cjs +1 -1
  45. package/dist/tailwind/plugin.d.cts +2 -7
  46. package/dist/tailwind/plugin.d.ts +2 -7
  47. package/dist/tailwind/plugin.js +2 -2
  48. package/dist/tailwind/purger.cjs +1 -1
  49. package/dist/tailwind/purger.js +1 -1
  50. package/dist/tailwind/tsMorph.cjs +1 -1
  51. package/dist/tailwind/tsMorph.js +1 -1
  52. package/dist/tailwind/utils.cjs +1 -1
  53. package/dist/tailwind/utils.d.cts +5 -2
  54. package/dist/tailwind/utils.d.ts +5 -2
  55. package/dist/tailwind/utils.js +1 -1
  56. package/dist/tokens/automation/configs.cjs +1 -1
  57. package/dist/tokens/automation/configs.d.cts +2 -2
  58. package/dist/tokens/automation/configs.d.ts +2 -2
  59. package/dist/tokens/automation/configs.js +1 -1
  60. package/dist/tokens/automation/properties.cjs +1 -1
  61. package/dist/tokens/automation/properties.d.cts +2 -2
  62. package/dist/tokens/automation/properties.d.ts +2 -2
  63. package/dist/tokens/automation/properties.js +1 -1
  64. package/dist/tokens/index.cjs +1 -1
  65. package/dist/tokens/index.d.cts +4 -4
  66. package/dist/tokens/index.d.ts +4 -4
  67. package/dist/tokens/index.js +1 -1
  68. package/dist/tokens/parseTokens.cjs +1 -1
  69. package/dist/tokens/parseTokens.d.cts +1 -1
  70. package/dist/tokens/parseTokens.d.ts +1 -1
  71. package/dist/tokens/parseTokens.js +1 -1
  72. package/dist/{types-DHi8fUQQ.d.cts → types-B4Hts0Xm.d.cts} +1981 -1982
  73. package/dist/{types-CCP4BG97.d.ts → types-B4Hts0Xm.d.ts} +5 -6
  74. package/dist/types-BvOFo15W.d.cts +8 -0
  75. package/dist/types-BvOFo15W.d.ts +8 -0
  76. package/package.json +1 -1
  77. package/dist/Input-DFCQ2u9B.d.ts +0 -42
  78. package/dist/Input-Fjl8GOP_.d.cts +0 -42
  79. package/dist/Pressable-DexnJ2tl.d.ts +0 -44
  80. package/dist/Pressable-fG9Ir9i4.d.cts +0 -44
  81. package/dist/VStack-CKzXuoDu.d.cts +0 -112
  82. package/dist/VStack-DTzXc5Gu.d.ts +0 -112
  83. package/dist/chunk-3AGA62FV.js +0 -3
  84. package/dist/chunk-7CV7WF6H.cjs +0 -2
  85. package/dist/chunk-DEQ37TRE.js +0 -1
  86. package/dist/chunk-FIK5E5XF.cjs +0 -1
  87. package/dist/chunk-FIY4G5A4.cjs +0 -1
  88. package/dist/chunk-IVLA3HPE.js +0 -1
  89. package/dist/chunk-KS3DH3LU.js +0 -2
  90. package/dist/chunk-L2LMAKRB.js +0 -2
  91. package/dist/chunk-OJT5LTIJ.cjs +0 -2
  92. package/dist/chunk-PUOU55IC.cjs +0 -2
  93. package/dist/chunk-RYT7E6ME.js +0 -3
  94. package/dist/chunk-SYYG6CQE.js +0 -2
  95. package/dist/chunk-UONN6ZKS.cjs +0 -1
  96. package/dist/chunk-WNGG5RTE.cjs +0 -3
  97. package/dist/index-6XSLBu2d.d.cts +0 -243
  98. package/dist/index-BVQM-l4R.d.ts +0 -243
  99. package/dist/types-CCP4BG97.d.cts +0 -10450
  100. package/dist/types-DHi8fUQQ.d.ts +0 -10450
@@ -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 { U as UniversalInputProps } from './types-DHi8fUQQ.js';
2
+ import { U as UniversalInputProps } from './types-B4Hts0Xm.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-DHi8fUQQ.cjs';
2
+ import { U as UniversalInputProps } from './types-B4Hts0Xm.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-DHi8fUQQ.js';
2
+ import { a as UniversalPressableProps } from './types-B4Hts0Xm.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-DHi8fUQQ.cjs';
2
+ import { a as UniversalPressableProps } from './types-B4Hts0Xm.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 { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-CCP4BG97.js';
2
+ import { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-B4Hts0Xm.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 { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-CCP4BG97.cjs';
2
+ import { g as UniversalBoxProps, h as UniversalStackProps, i as UniversalDividerProps } from './types-B4Hts0Xm.cjs';
3
3
 
4
4
  type DivProps = React.HTMLAttributes<HTMLDivElement>;
5
5
  interface BoxProps extends UniversalBoxProps, DivProps {
@@ -1 +1 @@
1
- "use strict";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var o="uds",t=`${o}-avatar-size`,e=`${o}-border-radius`,s=`${o}-border-width`,r=`${o}-font`,_=`${o}-font-size`,n=`${o}-font-weight`,E=`${o}-font-slant`,d=`${o}-font-width`,i=`${o}-icon-size`,S=`${o}-line-height`,A=`${o}-motion`,a=`${o}-spectrum-color`,l=`${o}-text-transform`,$=`${o}-color-mode-dark`,p=`${o}-color-mode-light`,b=`${o}-scale-mode-xsmall`,x=`${o}-scale-mode-small`,L=`${o}-scale-mode-medium`,c=`${o}-scale-mode-large`,u=`${o}-scale-mode-xlarge`,R=`${o}-scale-mode-xxlarge`,O=`${o}-scale-mode-xxxlarge`,M=p,C=c,f={borderRadius:`--${o}-button-border-radius`,borderWidth:`--${o}-button-border-width`,color:`--${o}-button-color`,backgroundColor:`--${o}-button-background-color`,borderColor:`--${o}-button-border-color`,padding:`--${o}-button-padding`,columnGap:`--${o}-button-gap`,fontFamily:`--${o}-button-font`,fontWeight:`--${o}-button-font-weight`,fontWidth:`--${o}-button-font-width`,fontSlant:`--${o}-button-font-slant`,fontSize:`--${o}-button-font-size`,lineHeight:`--${o}-button-line-height`,textTransform:`--${o}-button-text-transform`,iconSize:`--${o}-button-icon-size`,dropShadow:`--${o}-button-shadow`,insetShadow:`--${o}-button-inset-shadow`,effects:{scale:{rest:`--${o}-button-effects-scale--rest`,hover:`--${o}-button-effects-scale--hover`,pressed:`--${o}-button-effects-scale--pressed`}}},I={padding:`--${o}-icon-button-padding`,iconSize:`--${o}-icon-button-icon-size`};exports.AVATAR_SIZE_PREFIX=t,exports.BORDER_RADIUS_PREFIX=e,exports.BORDER_WIDTH_PREFIX=s,exports.BUTTON_CSS_VAR_MAP=f,exports.DARK_COLOR_MODE_CLASSNAME=$,exports.DEFAULT_COLOR_MODE_CLASSNAME=M,exports.DEFAULT_SCALE_MODE_CLASSNAME=C,exports.FONT_FAMILY_PREFIX=r,exports.FONT_SIZE_PREFIX=_,exports.FONT_SLANT_PREFIX=E,exports.FONT_WEIGHT_PREFIX=n,exports.FONT_WIDTH_PREFIX=d,exports.ICON_BUTTON_CSS_VAR_MAP=I,exports.ICON_SIZE_PREFIX=i,exports.LARGE_SCALE_MODE_CLASSNAME=c,exports.LIGHT_COLOR_MODE_CLASSNAME=p,exports.LINE_HEIGHT_PREFIX=S,exports.MEDIUM_SCALE_MODE_CLASSNAME=L,exports.MOTION_PREFIX=A,exports.PSEUDO_STYLE_SELECTOR_MAP={hover:":hover:not([disabled])",pressed:":active:not([disabled])",disabled:":disabled",focused:":focus-visible",focusedWithin:":has(:focus-visible)",notDisabled:":not(:disabled)"},exports.SMALL_SCALE_MODE_CLASSNAME=x,exports.SPECTRUM_COLOR_PREFIX=a,exports.TEXT_RESPONSIVE_CLASSNAME="uds-text-responsive",exports.TEXT_TRANSFORM_PREFIX=l,exports.UDS_PREFIX=o,exports.XLARGE_SCALE_MODE_CLASSNAME=u,exports.XSMALL_SCALE_MODE_CLASSNAME=b,exports.XXLARGE_SCALE_MODE_CLASSNAME=R,exports.XXXLARGE_SCALE_MODE_CLASSNAME=O;
1
+ "use strict";/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */var o="uds",t=`${o}-avatar-size`,e=`${o}-border-radius`,s=`${o}-border-width`,r=`${o}-font`,_=`${o}-font-size`,n=`${o}-font-weight`,E=`${o}-font-slant`,d=`${o}-font-width`,i=`${o}-icon-size`,S=`${o}-line-height`,a=`${o}-motion`,A=`${o}-spectrum-color`,l=`${o}-text-transform`,$=`${o}-color-mode-dark`,p=`${o}-color-mode-light`,b=`${o}-scale-mode-xsmall`,x=`${o}-scale-mode-small`,L=`${o}-scale-mode-medium`,c=`${o}-scale-mode-large`,u=`${o}-scale-mode-xlarge`,R=`${o}-scale-mode-xxlarge`,O=`${o}-scale-mode-xxxlarge`,M=p,C=c,f={borderRadius:`--${o}-button-border-radius`,borderWidth:`--${o}-button-border-width`,color:`--${o}-button-color`,backgroundColor:`--${o}-button-background-color`,borderColor:`--${o}-button-border-color`,padding:`--${o}-button-padding`,columnGap:`--${o}-button-gap`,fontFamily:`--${o}-button-font`,fontWeight:`--${o}-button-font-weight`,fontWidth:`--${o}-button-font-width`,fontSlant:`--${o}-button-font-slant`,fontSize:`--${o}-button-font-size`,lineHeight:`--${o}-button-line-height`,textTransform:`--${o}-button-text-transform`,iconSize:`--${o}-button-icon-size`,dropShadow:`--${o}-button-shadow`,insetShadow:`--${o}-button-inset-shadow`,effects:{scale:{rest:`--${o}-button-effects-scale--rest`,hover:`--${o}-button-effects-scale--hover`,pressed:`--${o}-button-effects-scale--pressed`}}},I={padding:`--${o}-icon-button-padding`,iconSize:`--${o}-icon-button-icon-size`};exports.AVATAR_SIZE_PREFIX=t,exports.BORDER_RADIUS_PREFIX=e,exports.BORDER_WIDTH_PREFIX=s,exports.BUTTON_CSS_VAR_MAP=f,exports.DARK_COLOR_MODE_CLASSNAME=$,exports.DEFAULT_COLOR_MODE_CLASSNAME=M,exports.DEFAULT_SCALE_MODE_CLASSNAME=C,exports.FONT_FAMILY_PREFIX=r,exports.FONT_SIZE_PREFIX=_,exports.FONT_SLANT_PREFIX=E,exports.FONT_WEIGHT_PREFIX=n,exports.FONT_WIDTH_PREFIX=d,exports.ICON_BUTTON_CSS_VAR_MAP=I,exports.ICON_SIZE_PREFIX=i,exports.LARGE_SCALE_MODE_CLASSNAME=c,exports.LIGHT_COLOR_MODE_CLASSNAME=p,exports.LINE_HEIGHT_PREFIX=S,exports.MEDIUM_SCALE_MODE_CLASSNAME=L,exports.MOTION_PREFIX=a,exports.PSEUDO_STYLE_SELECTOR_MAP={hover:":hover:not(:has(:disabled))",pressed:":active:not(:has(:disabled))",disabled:":has(:disabled)",focused:":focus-visible",focusedWithin:":has(:focus-visible)",notDisabled:":not(:has(:disabled))"},exports.SMALL_SCALE_MODE_CLASSNAME=x,exports.SPECTRUM_COLOR_PREFIX=A,exports.TEXT_RESPONSIVE_CLASSNAME="uds-text-responsive",exports.TEXT_TRANSFORM_PREFIX=l,exports.UDS_PREFIX=o,exports.XLARGE_SCALE_MODE_CLASSNAME=u,exports.XSMALL_SCALE_MODE_CLASSNAME=b,exports.XXLARGE_SCALE_MODE_CLASSNAME=R,exports.XXXLARGE_SCALE_MODE_CLASSNAME=O;