@yahoo/uds 3.17.0 → 3.18.0-beta.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 (91) hide show
  1. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  2. package/cli/bin/uds-darwin-x64 +0 -0
  3. package/cli/bin/uds-linux-arm64 +0 -0
  4. package/cli/bin/uds-linux-x64-baseline +0 -0
  5. package/cli/compile.ts +1 -1
  6. package/cli/consts.ts +1 -0
  7. package/cli/{uds-cli → uds-cli.js} +2 -1
  8. package/dist/{Input-Bi0k9lK1.d.cts → Input-Chk6jMTa.d.cts} +1 -1
  9. package/dist/{Input-Bp3nGfpd.d.ts → Input-CjSSpDxo.d.ts} +1 -1
  10. package/dist/Input-Dd7-zRx5.d.ts +42 -0
  11. package/dist/Input-j8aXgNl5.d.cts +42 -0
  12. package/dist/{Pressable-vjs_c2ir.d.cts → Pressable-Bu7fvFeV.d.cts} +1 -1
  13. package/dist/Pressable-BuGapAWr.d.cts +44 -0
  14. package/dist/{Pressable-CLPkQKQ5.d.ts → Pressable-Dj8miUTu.d.ts} +1 -1
  15. package/dist/Pressable-DkqJ7djj.d.ts +44 -0
  16. package/dist/{VStack-BPTqS-dY.d.ts → VStack-BPdz1Irb.d.ts} +1 -1
  17. package/dist/{VStack-D5H0I8mo.d.cts → VStack-DylGPXUr.d.ts} +1 -1
  18. package/dist/VStack-I7A-h7cx.d.cts +112 -0
  19. package/dist/VStack-koRZ9tkP.d.cts +112 -0
  20. package/dist/chunk-24HEQ4PT.js +1 -0
  21. package/dist/chunk-35PHZJZG.cjs +1 -0
  22. package/dist/chunk-3T5IX3JE.cjs +1 -0
  23. package/dist/chunk-6OYKLY27.js +2 -0
  24. package/dist/chunk-6ZCIS462.cjs +2 -0
  25. package/dist/chunk-72JXN7EE.js +1 -0
  26. package/dist/chunk-A4MU7ARJ.cjs +1 -0
  27. package/dist/{chunk-CJQWF4E7.cjs → chunk-DR45EMIP.cjs} +1 -1
  28. package/dist/chunk-EF6FLPTH.cjs +1 -0
  29. package/dist/chunk-FOQRYH73.js +1 -0
  30. package/dist/chunk-FSOKVNOU.cjs +1 -0
  31. package/dist/chunk-LMKMOCXO.js +2 -0
  32. package/dist/chunk-MWF3T6YY.cjs +3 -0
  33. package/dist/chunk-NW3RYPC2.cjs +1 -0
  34. package/dist/chunk-Q3GQNZOI.js +1 -0
  35. package/dist/chunk-QFJTN7H3.js +2 -0
  36. package/dist/chunk-TPSHAL7U.js +3 -0
  37. package/dist/chunk-Z2ZVRADJ.js +2 -0
  38. package/dist/client/Menu.d.cts +3 -3
  39. package/dist/client/Menu.d.ts +3 -3
  40. package/dist/client/index.cjs +1 -1
  41. package/dist/client/index.d.cts +3 -3
  42. package/dist/client/index.d.ts +3 -3
  43. package/dist/client/index.js +1 -1
  44. package/dist/defaultTokensConfig.cjs +1 -0
  45. package/dist/defaultTokensConfig.d.cts +8802 -0
  46. package/dist/defaultTokensConfig.d.ts +8802 -0
  47. package/dist/defaultTokensConfig.js +2 -0
  48. package/dist/experimental/client/SwitchV2.cjs +1 -0
  49. package/dist/experimental/client/SwitchV2.d.cts +1 -1
  50. package/dist/experimental/client/SwitchV2.d.ts +1 -1
  51. package/dist/{index-DyPB0-IK.d.cts → index-BY904kdp.d.cts} +1 -1
  52. package/dist/index-C39loIM9.d.cts +243 -0
  53. package/dist/index-CGhLQEyB.d.ts +243 -0
  54. package/dist/{index-B2IMnWzt.d.ts → index-DiG1Pd_3.d.ts} +1 -1
  55. package/dist/index.cjs +1 -1
  56. package/dist/index.d.cts +7 -7
  57. package/dist/index.d.ts +7 -7
  58. package/dist/index.js +1 -1
  59. package/dist/metafile-cjs.json +1 -1
  60. package/dist/metafile-esm.json +1 -1
  61. package/dist/tailwind/plugin.cjs +1 -1
  62. package/dist/tailwind/plugin.d.cts +5 -10
  63. package/dist/tailwind/plugin.d.ts +5 -10
  64. package/dist/tailwind/plugin.js +2 -2
  65. package/dist/tailwind/utils.cjs +1 -1
  66. package/dist/tailwind/utils.d.cts +5 -5
  67. package/dist/tailwind/utils.d.ts +5 -5
  68. package/dist/tailwind/utils.js +1 -1
  69. package/dist/tokens/automation/configs.cjs +1 -1
  70. package/dist/tokens/automation/configs.d.cts +2 -2
  71. package/dist/tokens/automation/configs.d.ts +2 -2
  72. package/dist/tokens/automation/configs.js +1 -1
  73. package/dist/tokens/automation/properties.cjs +1 -1
  74. package/dist/tokens/automation/properties.d.cts +2 -2
  75. package/dist/tokens/automation/properties.d.ts +2 -2
  76. package/dist/tokens/automation/properties.js +1 -1
  77. package/dist/tokens/index.cjs +1 -1
  78. package/dist/tokens/index.d.cts +5 -8799
  79. package/dist/tokens/index.d.ts +5 -8799
  80. package/dist/tokens/index.js +1 -1
  81. package/dist/tokens/parseTokens.d.cts +1 -1
  82. package/dist/tokens/parseTokens.d.ts +1 -1
  83. package/dist/{types-DQT6xsrl.d.cts → types-D113cJbW.d.cts} +1945 -1945
  84. package/dist/{types-DQT6xsrl.d.ts → types-D113cJbW.d.ts} +1945 -1945
  85. package/dist/types-DSRVFV7Y.d.cts +10465 -0
  86. package/dist/types-DSRVFV7Y.d.ts +10465 -0
  87. package/package.json +12 -2
  88. package/cli/FlattenButtonVariant.mock.tsx +0 -17
  89. package/dist/chunk-GDB25UGP.js +0 -2
  90. package/dist/chunk-HT3GLDSF.js +0 -2
  91. package/dist/chunk-WGG66FKO.cjs +0 -1
@@ -1,5 +1,5 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
- import { B as ButtonConfig, k as ButtonClassMap, c as UniversalTokensConfig, I as IconButtonClassMap, l as ButtonColorProperty, m as ButtonColorPropertyConfig } from '../types-DQT6xsrl.cjs';
2
+ import { B as ButtonConfig, p as ButtonClassMap, f as UniversalTokensConfig, q as IconButtonClassMap, r as ButtonColorProperty, s as ButtonColorPropertyConfig } from '../types-DSRVFV7Y.cjs';
3
3
  import { Config } from 'tailwindcss';
4
4
  import { T as ThemeFn, C as CssStyleObject } from '../types-BvOFo15W.cjs';
5
5
  import defaultTailwindTheme from 'tailwindcss/defaultTheme';
@@ -25,16 +25,11 @@ type TwBorderRadius = Exclude<keyof typeof defaultTailwindTheme.borderRadius, Tw
25
25
  type TwBorderWidthToExclude = '0' | '8';
26
26
  type TwBorderWidth = Exclude<keyof typeof defaultTailwindTheme.borderWidth, TwBorderWidthToExclude>;
27
27
  declare const udsToTailwindMap: {
28
- fontSize: Record<"title1" | "label2" | "label4" | "headline1" | "caption1" | "title4" | "title3" | "caption2" | "label1" | "label3" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
29
- lineHeight: Record<"title1" | "label2" | "label4" | "headline1" | "caption1" | "title4" | "title3" | "caption2" | "label1" | "label3" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
30
- borderRadius: Record<"md" | "sm" | "lg" | "xl" | "xs", TwBorderRadius>;
28
+ fontSize: Record<"display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2", TwdFontSize>;
29
+ lineHeight: Record<"display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2", TwdFontSize>;
30
+ borderRadius: Record<"sm" | "md" | "lg" | "xl" | "xs", TwBorderRadius>;
31
31
  borderWidth: Record<"medium" | "thin" | "thick", TwBorderWidth>;
32
32
  };
33
- /**
34
- * This is a manually defined UDS config converted to use values from Tailwind's default theme.
35
- * https://github.com/tailwindlabs/tailwindcss/blob/master/stubs/config.full.js
36
- */
37
- declare const defaultTailwindThemeAsUdsConfig: UniversalTokensConfig;
38
33
 
39
34
  declare function getButtonColorForProperty(property: ButtonColorProperty, { type, value }: ButtonColorPropertyConfig[ButtonColorProperty], theme: ThemeFn): string;
40
35
 
@@ -86,4 +81,4 @@ declare const tailwindPlugin: {
86
81
  * */
87
82
  declare const getUDSContent: () => string[];
88
83
 
89
- export { defaultTailwindThemeAsUdsConfig, getButtonColorForProperty, getButtonStyles, getIconButtonStyles, getInputStyles, getUDSContent, tailwindPlugin, udsToTailwindMap };
84
+ export { getButtonColorForProperty, getButtonStyles, getIconButtonStyles, getInputStyles, getUDSContent, tailwindPlugin, udsToTailwindMap };
@@ -1,5 +1,5 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
- import { B as ButtonConfig, k as ButtonClassMap, c as UniversalTokensConfig, I as IconButtonClassMap, l as ButtonColorProperty, m as ButtonColorPropertyConfig } from '../types-DQT6xsrl.js';
2
+ import { B as ButtonConfig, p as ButtonClassMap, f as UniversalTokensConfig, q as IconButtonClassMap, r as ButtonColorProperty, s as ButtonColorPropertyConfig } from '../types-DSRVFV7Y.js';
3
3
  import { Config } from 'tailwindcss';
4
4
  import { T as ThemeFn, C as CssStyleObject } from '../types-BvOFo15W.js';
5
5
  import defaultTailwindTheme from 'tailwindcss/defaultTheme';
@@ -25,16 +25,11 @@ type TwBorderRadius = Exclude<keyof typeof defaultTailwindTheme.borderRadius, Tw
25
25
  type TwBorderWidthToExclude = '0' | '8';
26
26
  type TwBorderWidth = Exclude<keyof typeof defaultTailwindTheme.borderWidth, TwBorderWidthToExclude>;
27
27
  declare const udsToTailwindMap: {
28
- fontSize: Record<"title1" | "label2" | "label4" | "headline1" | "caption1" | "title4" | "title3" | "caption2" | "label1" | "label3" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
29
- lineHeight: Record<"title1" | "label2" | "label4" | "headline1" | "caption1" | "title4" | "title3" | "caption2" | "label1" | "label3" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
30
- borderRadius: Record<"md" | "sm" | "lg" | "xl" | "xs", TwBorderRadius>;
28
+ fontSize: Record<"display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2", TwdFontSize>;
29
+ lineHeight: Record<"display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "label3" | "label4" | "caption1" | "caption2", TwdFontSize>;
30
+ borderRadius: Record<"sm" | "md" | "lg" | "xl" | "xs", TwBorderRadius>;
31
31
  borderWidth: Record<"medium" | "thin" | "thick", TwBorderWidth>;
32
32
  };
33
- /**
34
- * This is a manually defined UDS config converted to use values from Tailwind's default theme.
35
- * https://github.com/tailwindlabs/tailwindcss/blob/master/stubs/config.full.js
36
- */
37
- declare const defaultTailwindThemeAsUdsConfig: UniversalTokensConfig;
38
33
 
39
34
  declare function getButtonColorForProperty(property: ButtonColorProperty, { type, value }: ButtonColorPropertyConfig[ButtonColorProperty], theme: ThemeFn): string;
40
35
 
@@ -86,4 +81,4 @@ declare const tailwindPlugin: {
86
81
  * */
87
82
  declare const getUDSContent: () => string[];
88
83
 
89
- export { defaultTailwindThemeAsUdsConfig, getButtonColorForProperty, getButtonStyles, getIconButtonStyles, getInputStyles, getUDSContent, tailwindPlugin, udsToTailwindMap };
84
+ export { getButtonColorForProperty, getButtonStyles, getIconButtonStyles, getInputStyles, getUDSContent, tailwindPlugin, udsToTailwindMap };