@yahoo/uds 3.17.0 → 3.18.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 (64) 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/{Input-Bi0k9lK1.d.cts → Input-Chk6jMTa.d.cts} +1 -1
  5. package/dist/{Input-Bp3nGfpd.d.ts → Input-Dd7-zRx5.d.ts} +1 -1
  6. package/dist/{Pressable-vjs_c2ir.d.cts → Pressable-Bu7fvFeV.d.cts} +1 -1
  7. package/dist/{Pressable-CLPkQKQ5.d.ts → Pressable-Dj8miUTu.d.ts} +1 -1
  8. package/dist/{VStack-BPTqS-dY.d.ts → VStack-DylGPXUr.d.ts} +1 -1
  9. package/dist/{VStack-D5H0I8mo.d.cts → VStack-koRZ9tkP.d.cts} +1 -1
  10. package/dist/chunk-6OYKLY27.js +2 -0
  11. package/dist/{chunk-CJQWF4E7.cjs → chunk-DR45EMIP.cjs} +1 -1
  12. package/dist/chunk-LMKMOCXO.js +2 -0
  13. package/dist/chunk-NW3RYPC2.cjs +1 -0
  14. package/dist/client/Menu.d.cts +3 -3
  15. package/dist/client/Menu.d.ts +3 -3
  16. package/dist/client/index.cjs +1 -1
  17. package/dist/client/index.d.cts +3 -3
  18. package/dist/client/index.d.ts +3 -3
  19. package/dist/client/index.js +1 -1
  20. package/dist/defaultTokensConfig.cjs +1 -0
  21. package/dist/defaultTokensConfig.d.cts +8802 -0
  22. package/dist/defaultTokensConfig.d.ts +8802 -0
  23. package/dist/defaultTokensConfig.js +2 -0
  24. package/dist/experimental/client/SwitchV2.cjs +1 -0
  25. package/dist/experimental/client/SwitchV2.d.cts +1 -1
  26. package/dist/experimental/client/SwitchV2.d.ts +1 -1
  27. package/dist/experimental/client/SwitchV2.js +1 -0
  28. package/dist/{index-DyPB0-IK.d.cts → index-BY904kdp.d.cts} +1 -1
  29. package/dist/{index-B2IMnWzt.d.ts → index-DiG1Pd_3.d.ts} +1 -1
  30. package/dist/index.cjs +1 -1
  31. package/dist/index.d.cts +7 -7
  32. package/dist/index.d.ts +7 -7
  33. package/dist/index.js +1 -1
  34. package/dist/metafile-cjs.json +1 -1
  35. package/dist/metafile-esm.json +1 -1
  36. package/dist/tailwind/plugin.cjs +1 -1
  37. package/dist/tailwind/plugin.d.cts +5 -10
  38. package/dist/tailwind/plugin.d.ts +5 -10
  39. package/dist/tailwind/plugin.js +2 -2
  40. package/dist/tailwind/utils.cjs +1 -1
  41. package/dist/tailwind/utils.d.cts +5 -5
  42. package/dist/tailwind/utils.d.ts +5 -5
  43. package/dist/tailwind/utils.js +1 -1
  44. package/dist/tokens/automation/configs.cjs +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/configs.js +1 -1
  48. package/dist/tokens/automation/properties.cjs +1 -1
  49. package/dist/tokens/automation/properties.d.cts +2 -2
  50. package/dist/tokens/automation/properties.d.ts +2 -2
  51. package/dist/tokens/automation/properties.js +1 -1
  52. package/dist/tokens/index.cjs +1 -1
  53. package/dist/tokens/index.d.cts +5 -8799
  54. package/dist/tokens/index.d.ts +5 -8799
  55. package/dist/tokens/index.js +1 -1
  56. package/dist/tokens/parseTokens.d.cts +1 -1
  57. package/dist/tokens/parseTokens.d.ts +1 -1
  58. package/dist/{types-DQT6xsrl.d.cts → types-DSRVFV7Y.d.cts} +1 -1
  59. package/dist/{types-DQT6xsrl.d.ts → types-DSRVFV7Y.d.ts} +1 -1
  60. package/package.json +11 -1
  61. package/cli/FlattenButtonVariant.mock.tsx +0 -17
  62. package/dist/chunk-GDB25UGP.js +0 -2
  63. package/dist/chunk-HT3GLDSF.js +0 -2
  64. 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 };