@yahoo/uds 3.54.0 → 3.54.2

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 (123) hide show
  1. package/dist/{Box-BTypshx6.d.ts → Box-CZiBJY-U.d.ts} +1 -1
  2. package/dist/{Box-UFimrc8A.d.cts → Box-Dj8Mwnuq.d.cts} +1 -1
  3. package/dist/Box-L9TrtxY6.d.cts +34 -0
  4. package/dist/Box-ZfxGUUQ-.d.ts +34 -0
  5. package/dist/{Pressable-DjIXR0Fy.d.ts → Pressable-BsSxG1mQ.d.ts} +1 -1
  6. package/dist/{Pressable-CfDFSCDf.d.cts → Pressable-Bzvs31vV.d.cts} +1 -1
  7. package/dist/Pressable-C042bbJQ.d.cts +44 -0
  8. package/dist/Pressable-CrGdyngS.d.ts +44 -0
  9. package/dist/{Text-CiP8Me3d.d.cts → Text-CTWa1DHn.d.cts} +1 -1
  10. package/dist/Text-CVlnCCWA.d.cts +88 -0
  11. package/dist/{Text-DyzX3P8H.d.ts → Text-cfrk-aSz.d.ts} +1 -1
  12. package/dist/Text-fHksnirL.d.ts +88 -0
  13. package/dist/{VStack-BmvkK46o.d.ts → VStack-APl_ya0J.d.ts} +2 -2
  14. package/dist/VStack-BX-qY0m6.d.ts +83 -0
  15. package/dist/{VStack-4RUygAt3.d.cts → VStack-CF3Bbwfr.d.cts} +2 -2
  16. package/dist/VStack-DasFpGHh.d.cts +83 -0
  17. package/dist/{chunk-24SIYFLS.cjs → chunk-2AZATKLC.cjs} +2 -2
  18. package/dist/chunk-2YPNAVSY.cjs +2 -0
  19. package/dist/chunk-3ZCMMPZA.js +1 -0
  20. package/dist/{chunk-A775CEIC.cjs → chunk-4GYR7JAY.cjs} +1 -1
  21. package/dist/{chunk-UOJB4RWR.cjs → chunk-4IANEB6Y.cjs} +1 -1
  22. package/dist/{chunk-IANOIZPS.js → chunk-4WJHTN3D.js} +2 -2
  23. package/dist/{chunk-H2PC65MR.cjs → chunk-5PRLWXYU.cjs} +1 -1
  24. package/dist/{chunk-PPFRPMS7.js → chunk-AHWB6J2Q.js} +1 -1
  25. package/dist/{chunk-7QVCKS7V.js → chunk-AMGEYAT4.js} +1 -1
  26. package/dist/chunk-BAZC5ETD.js +3 -0
  27. package/dist/chunk-BM7BPYJZ.js +2 -0
  28. package/dist/chunk-CXQDRT7W.cjs +1 -0
  29. package/dist/{chunk-WQLTYMTS.cjs → chunk-DOTDBCVN.cjs} +1 -1
  30. package/dist/{chunk-VZQYI656.cjs → chunk-ERXK2CJF.cjs} +1 -1
  31. package/dist/chunk-GXRVCRLG.cjs +1 -0
  32. package/dist/chunk-HK7AJH52.js +2 -0
  33. package/dist/{chunk-HOZMPN3Y.js → chunk-HZ4E7D46.js} +1 -1
  34. package/dist/chunk-IYS3XCK5.js +2 -0
  35. package/dist/{chunk-5ZBIY6AW.js → chunk-JK4C6HHW.js} +1 -1
  36. package/dist/{chunk-EHDEWVLV.js → chunk-JQTRJCS3.js} +1 -1
  37. package/dist/chunk-KH7DL4GJ.cjs +2 -0
  38. package/dist/{chunk-MUVYEL64.js → chunk-LGFZ2QKW.js} +2 -2
  39. package/dist/chunk-LNJIO5US.js +2 -0
  40. package/dist/{chunk-26KCJWEG.cjs → chunk-LTL7T7YV.cjs} +1 -1
  41. package/dist/{chunk-VHVEHH3Z.cjs → chunk-M36CUGIZ.cjs} +1 -1
  42. package/dist/{chunk-G4XGZNEI.cjs → chunk-OMWWNWFN.cjs} +1 -1
  43. package/dist/{chunk-XHHJDMZ3.js → chunk-P5JT7DZ7.js} +3 -3
  44. package/dist/chunk-PH6MAF7V.cjs +1 -0
  45. package/dist/chunk-REBNTOTC.cjs +1 -0
  46. package/dist/chunk-RKYTJ6XJ.js +2 -0
  47. package/dist/chunk-RRXNQVLV.cjs +1 -0
  48. package/dist/{chunk-ZG2QBSTD.js → chunk-SIH6N4MG.js} +1 -1
  49. package/dist/chunk-U57GLRER.cjs +1 -0
  50. package/dist/chunk-U6EFKQU3.cjs +1 -0
  51. package/dist/chunk-WXMFQDBD.js +2 -0
  52. package/dist/chunk-XQL5LDQJ.js +2 -0
  53. package/dist/chunk-XTSSNOPG.cjs +1 -0
  54. package/dist/chunk-YXAAENJE.js +1 -0
  55. package/dist/client/Menu.cjs +1 -1
  56. package/dist/client/Menu.d.cts +4 -4
  57. package/dist/client/Menu.d.ts +4 -4
  58. package/dist/client/Menu.js +2 -2
  59. package/dist/client/index.cjs +1 -1
  60. package/dist/client/index.d.cts +4 -4
  61. package/dist/client/index.d.ts +4 -4
  62. package/dist/client/index.js +1 -1
  63. package/dist/defaultTokensConfig.cjs +1 -1
  64. package/dist/defaultTokensConfig.d.cts +2 -2
  65. package/dist/defaultTokensConfig.d.ts +2 -2
  66. package/dist/defaultTokensConfig.js +1 -1
  67. package/dist/experimental/client/SwitchV2.cjs +1 -1
  68. package/dist/experimental/client/SwitchV2.d.cts +1 -1
  69. package/dist/experimental/client/SwitchV2.d.ts +1 -1
  70. package/dist/experimental/client/SwitchV2.js +1 -1
  71. package/dist/experimental/client/index.cjs +1 -1
  72. package/dist/experimental/client/index.js +1 -1
  73. package/dist/experimental/index.cjs +1 -1
  74. package/dist/experimental/index.js +1 -1
  75. package/dist/fixtures.cjs +2 -344
  76. package/dist/fixtures.d.cts +1 -19
  77. package/dist/fixtures.d.ts +1 -19
  78. package/dist/fixtures.js +1 -341
  79. package/dist/{index-CynzbL1I.d.ts → index-DvgJJnbq.d.ts} +1 -1
  80. package/dist/index-OprbCsvg.d.ts +243 -0
  81. package/dist/index-e-O3LVBN.d.cts +243 -0
  82. package/dist/{index-C8Il81Uq.d.cts → index-jFh7u5rS.d.cts} +1 -1
  83. package/dist/index.cjs +1 -1
  84. package/dist/index.d.cts +105 -105
  85. package/dist/index.d.ts +105 -105
  86. package/dist/index.js +1 -1
  87. package/dist/metafile-cjs.json +1 -1
  88. package/dist/metafile-esm.json +1 -1
  89. package/dist/tailwind/plugin.cjs +1 -1
  90. package/dist/tailwind/plugin.d.cts +1 -1
  91. package/dist/tailwind/plugin.d.ts +1 -1
  92. package/dist/tailwind/plugin.js +1 -1
  93. package/dist/tailwind/purger.cjs +1 -1
  94. package/dist/tailwind/purger.js +1 -1
  95. package/dist/tailwind/tsMorph.cjs +1 -1
  96. package/dist/tailwind/tsMorph.js +2 -2
  97. package/dist/tailwind/utils.cjs +1 -1
  98. package/dist/tailwind/utils.d.cts +1 -1
  99. package/dist/tailwind/utils.d.ts +1 -1
  100. package/dist/tailwind/utils.js +1 -1
  101. package/dist/tokens/automation/configs.cjs +1 -1
  102. package/dist/tokens/automation/configs.d.cts +2 -2
  103. package/dist/tokens/automation/configs.d.ts +2 -2
  104. package/dist/tokens/automation/configs.js +1 -1
  105. package/dist/tokens/automation/properties.cjs +1 -1
  106. package/dist/tokens/automation/properties.d.cts +2 -2
  107. package/dist/tokens/automation/properties.d.ts +2 -2
  108. package/dist/tokens/automation/properties.js +1 -1
  109. package/dist/tokens/index.cjs +1 -1
  110. package/dist/tokens/index.d.cts +218 -218
  111. package/dist/tokens/index.d.ts +218 -218
  112. package/dist/tokens/index.js +1 -1
  113. package/dist/tokens/parseTokens.cjs +1 -1
  114. package/dist/tokens/parseTokens.d.cts +7 -19
  115. package/dist/tokens/parseTokens.d.ts +7 -19
  116. package/dist/tokens/parseTokens.js +1 -1
  117. package/dist/{types-DCAXTOkZ.d.cts → types-BAsHl1tU.d.cts} +1939 -1946
  118. package/dist/{types-DCAXTOkZ.d.ts → types-BAsHl1tU.d.ts} +1939 -1946
  119. package/dist/types-DSC_fUuJ.d.cts +10609 -0
  120. package/dist/types-DSC_fUuJ.d.ts +10609 -0
  121. package/package.json +1 -1
  122. package/dist/chunk-F43AI46P.cjs +0 -1
  123. package/dist/chunk-MLPUM5T5.js +0 -2
@@ -1,4 +1,4 @@
1
- import { g as UniversalTokensConfig, h as ColorMode, i as ColorsConfig, H as Hue, j as HueStep, P as PaletteType, k as PaletteConfig, l as ScaleMode } from '../types-DCAXTOkZ.js';
1
+ import { g as UniversalTokensConfig, h as ColorMode, i as ColorsConfig, H as Hue, j as HueStep, P as PaletteType, k as PaletteConfig, l as ScaleMode } from '../types-DSC_fUuJ.js';
2
2
  import '@yahoo/uds-icons/types';
3
3
  import 'motion/react';
4
4
  import 'react';
@@ -12,30 +12,18 @@ declare function transformColors(colors: ColorsConfig): {
12
12
  palette: { [key in PaletteType]: Record<keyof PaletteConfig[key], string>; };
13
13
  };
14
14
  };
15
- declare function transformNumeric<T extends Record<string, number>>(prefix: string, config: T): {
15
+ declare function transformNumericToPx<T extends Record<string, number>>(prefix: string, config: T): {
16
16
  _vars: Record<string, string>;
17
- _raw: T;
18
- tailwindConfig: Record<string, string>;
19
- };
20
- declare function transformString<T extends Record<string, string>>(prefix: string, config: T, transformValue?: (value: T[keyof T]) => string): {
21
- _vars: Record<string, string>;
22
- _raw: T;
17
+ _raw: Record<string, number>;
23
18
  tailwindConfig: Record<string, string>;
24
19
  };
25
20
  type WebTokens = Omit<UniversalTokensConfig, 'colorMode' | 'scaleMode' | 'fontFamily'> & {
26
21
  colorMode: Record<ColorMode, ReturnType<typeof transformColors>>;
27
22
  scaleMode: Record<ScaleMode, {
28
- fontFamily: ReturnType<typeof transformString>;
29
- fontSize: ReturnType<typeof transformNumeric>;
30
- fontWeight: ReturnType<typeof transformNumeric>;
31
- fontSlant: ReturnType<typeof transformNumeric>;
32
- fontWidth: ReturnType<typeof transformNumeric>;
33
- lineHeight: ReturnType<typeof transformNumeric>;
34
- textTransform: ReturnType<typeof transformString>;
35
- borderRadius: ReturnType<typeof transformNumeric>;
36
- borderWidth: ReturnType<typeof transformNumeric>;
37
- avatarSizes: ReturnType<typeof transformNumeric>;
38
- iconSizes: ReturnType<typeof transformNumeric>;
23
+ borderRadius: ReturnType<typeof transformNumericToPx>;
24
+ borderWidth: ReturnType<typeof transformNumericToPx>;
25
+ avatarSizes: ReturnType<typeof transformNumericToPx>;
26
+ iconSizes: ReturnType<typeof transformNumericToPx>;
39
27
  }>;
40
28
  };
41
29
  declare function parseTokens(config: UniversalTokensConfig): WebTokens;
@@ -1 +1 @@
1
- export{parseTokens}from"../chunk-MLPUM5T5.js";
1
+ export{parseTokens}from"../chunk-RKYTJ6XJ.js";