@yahoo/uds 3.11.1 → 3.13.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 (84) 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-Fjl8GOP_.d.cts → Input-CVeeUxNU.d.cts} +1 -1
  5. package/dist/{Input-DFCQ2u9B.d.ts → Input-D8BREuel.d.ts} +1 -1
  6. package/dist/Input-DpPT9FEx.d.cts +42 -0
  7. package/dist/Input-Dsf_gO9A.d.ts +42 -0
  8. package/dist/{Pressable-fG9Ir9i4.d.cts → Pressable-BVo-S6Zr.d.cts} +1 -1
  9. package/dist/{Pressable-DexnJ2tl.d.ts → Pressable-C8YAmTgO.d.ts} +1 -1
  10. package/dist/Pressable-CyPTAGE2.d.ts +44 -0
  11. package/dist/Pressable-DJs75dFs.d.cts +44 -0
  12. package/dist/{VStack-BLo_GVRR.d.cts → VStack-BuZuyzJQ.d.cts} +1 -1
  13. package/dist/VStack-Cwnc0X7i.d.cts +112 -0
  14. package/dist/{VStack-CAmlGQov.d.ts → VStack-FrGTqacI.d.ts} +1 -1
  15. package/dist/VStack-pKyyirAP.d.ts +112 -0
  16. package/dist/{chunk-R5VO4HNN.js → chunk-2II4ZFQI.js} +2 -2
  17. package/dist/chunk-2J7CK77Y.cjs +1 -0
  18. package/dist/chunk-BJCZ62IT.js +1 -0
  19. package/dist/chunk-C3Q7Z6UA.js +3 -0
  20. package/dist/chunk-CW2GDS2H.cjs +1 -0
  21. package/dist/chunk-EGRAYQGZ.js +2 -0
  22. package/dist/chunk-FIK5E5XF.cjs +1 -0
  23. package/dist/chunk-FIY4G5A4.cjs +1 -0
  24. package/dist/chunk-IVLA3HPE.js +1 -0
  25. package/dist/chunk-PYXGHSQQ.cjs +2 -0
  26. package/dist/chunk-RYT7E6ME.js +3 -0
  27. package/dist/chunk-SYYG6CQE.js +2 -0
  28. package/dist/chunk-UONN6ZKS.cjs +1 -0
  29. package/dist/chunk-VAUJIRSN.js +2 -0
  30. package/dist/{chunk-3OMTBWQH.cjs → chunk-VWZ3EXJ3.cjs} +1 -1
  31. package/dist/chunk-WNGG5RTE.cjs +3 -0
  32. package/dist/client/Menu.cjs +1 -1
  33. package/dist/client/Menu.d.cts +3 -3
  34. package/dist/client/Menu.d.ts +3 -3
  35. package/dist/client/Menu.js +2 -2
  36. package/dist/client/index.cjs +1 -1
  37. package/dist/client/index.d.cts +3 -3
  38. package/dist/client/index.d.ts +3 -3
  39. package/dist/client/index.js +1 -1
  40. package/dist/fixtures.cjs +13 -3
  41. package/dist/fixtures.d.cts +3 -2
  42. package/dist/fixtures.d.ts +3 -2
  43. package/dist/fixtures.js +11 -2
  44. package/dist/{index-DkZBPwMK.d.ts → index-BXnKaQUl.d.ts} +1 -1
  45. package/dist/{index-CzTuVTTj.d.cts → index-C3N2muhC.d.cts} +1 -1
  46. package/dist/index-Dk7Qj5gp.d.cts +243 -0
  47. package/dist/index-PeX4hWLQ.d.ts +243 -0
  48. package/dist/index.cjs +1 -1
  49. package/dist/index.d.cts +6 -6
  50. package/dist/index.d.ts +6 -6
  51. package/dist/index.js +1 -1
  52. package/dist/metafile-cjs.json +1 -1
  53. package/dist/metafile-esm.json +1 -1
  54. package/dist/tailwind/plugin.cjs +1 -1
  55. package/dist/tailwind/plugin.d.cts +5 -10
  56. package/dist/tailwind/plugin.d.ts +5 -10
  57. package/dist/tailwind/plugin.js +2 -2
  58. package/dist/tailwind/utils.cjs +1 -1
  59. package/dist/tailwind/utils.d.cts +5 -2
  60. package/dist/tailwind/utils.d.ts +5 -2
  61. package/dist/tailwind/utils.js +1 -1
  62. package/dist/tokens/automation/configs.cjs +1 -1
  63. package/dist/tokens/automation/configs.d.cts +2 -2
  64. package/dist/tokens/automation/configs.d.ts +2 -2
  65. package/dist/tokens/automation/configs.js +1 -1
  66. package/dist/tokens/automation/properties.cjs +1 -1
  67. package/dist/tokens/automation/properties.d.cts +2 -2
  68. package/dist/tokens/automation/properties.d.ts +2 -2
  69. package/dist/tokens/automation/properties.js +1 -1
  70. package/dist/tokens/index.cjs +1 -1
  71. package/dist/tokens/index.d.cts +3399 -3399
  72. package/dist/tokens/index.d.ts +3399 -3399
  73. package/dist/tokens/index.js +1 -1
  74. package/dist/tokens/parseTokens.d.cts +1 -1
  75. package/dist/tokens/parseTokens.d.ts +1 -1
  76. package/dist/{types-CCP4BG97.d.cts → types-BUzQ4GYD.d.cts} +2018 -2019
  77. package/dist/{types-CCP4BG97.d.ts → types-BUzQ4GYD.d.ts} +2018 -2019
  78. package/dist/types-BvOFo15W.d.cts +8 -0
  79. package/dist/types-BvOFo15W.d.ts +8 -0
  80. package/dist/types-Che4YX3v.d.cts +10449 -0
  81. package/dist/types-Che4YX3v.d.ts +10449 -0
  82. package/package.json +2 -1
  83. package/dist/chunk-37HUQ2LJ.js +0 -2
  84. package/dist/chunk-SQ6WOQUJ.cjs +0 -2
@@ -1,18 +1,13 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
- import { CSSRuleObject } from 'tailwindcss/types/config';
3
- import { B as ButtonConfig, l as ButtonClassMap, b as UniversalTokensConfig, I as IconButtonClassMap, m as ButtonColorProperty, n as ButtonColorPropertyConfig } from '../types-CCP4BG97.cjs';
2
+ import { B as ButtonConfig, j as ButtonClassMap, b as UniversalTokensConfig, I as IconButtonClassMap, k as ButtonColorProperty, l as ButtonColorPropertyConfig } from '../types-Che4YX3v.cjs';
4
3
  import { Config } from 'tailwindcss';
4
+ import { T as ThemeFn, C as CssStyleObject } from '../types-BvOFo15W.cjs';
5
5
  import defaultTailwindTheme from 'tailwindcss/defaultTheme';
6
6
  import '@yahoo/uds-icons/types';
7
7
  import 'motion/react';
8
8
  import 'react';
9
9
  import 'type-fest';
10
10
 
11
- /** TODO: create typed theme function to ensure valid paths are being used */
12
- type ThemeFn = (path: string) => string;
13
- type SimpleStyleObject = Record<string, string> | CSSRuleObject;
14
- type CssStyleObject = Record<`.${string}`, SimpleStyleObject | Record<string, SimpleStyleObject>>;
15
-
16
11
  declare function getButtonStyles(button: ButtonConfig, theme: ThemeFn): ButtonClassMap;
17
12
 
18
13
  type IconButtonConfig = Exclude<UniversalTokensConfig['iconButton'], undefined>;
@@ -30,9 +25,9 @@ type TwBorderRadius = Exclude<keyof typeof defaultTailwindTheme.borderRadius, Tw
30
25
  type TwBorderWidthToExclude = '0' | '8';
31
26
  type TwBorderWidth = Exclude<keyof typeof defaultTailwindTheme.borderWidth, TwBorderWidthToExclude>;
32
27
  declare const udsToTailwindMap: {
33
- fontSize: Record<"label2" | "label1" | "label3" | "label4" | "title1" | "caption1" | "title4" | "title3" | "headline1" | "caption2" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
34
- lineHeight: Record<"label2" | "label1" | "label3" | "label4" | "title1" | "caption1" | "title4" | "title3" | "headline1" | "caption2" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
35
- borderRadius: Record<"sm" | "md" | "xl" | "lg" | "xs", TwBorderRadius>;
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>;
36
31
  borderWidth: Record<"medium" | "thin" | "thick", TwBorderWidth>;
37
32
  };
38
33
  /**
@@ -1,18 +1,13 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
- import { CSSRuleObject } from 'tailwindcss/types/config';
3
- import { B as ButtonConfig, l as ButtonClassMap, b as UniversalTokensConfig, I as IconButtonClassMap, m as ButtonColorProperty, n as ButtonColorPropertyConfig } from '../types-CCP4BG97.js';
2
+ import { B as ButtonConfig, j as ButtonClassMap, b as UniversalTokensConfig, I as IconButtonClassMap, k as ButtonColorProperty, l as ButtonColorPropertyConfig } from '../types-Che4YX3v.js';
4
3
  import { Config } from 'tailwindcss';
4
+ import { T as ThemeFn, C as CssStyleObject } from '../types-BvOFo15W.js';
5
5
  import defaultTailwindTheme from 'tailwindcss/defaultTheme';
6
6
  import '@yahoo/uds-icons/types';
7
7
  import 'motion/react';
8
8
  import 'react';
9
9
  import 'type-fest';
10
10
 
11
- /** TODO: create typed theme function to ensure valid paths are being used */
12
- type ThemeFn = (path: string) => string;
13
- type SimpleStyleObject = Record<string, string> | CSSRuleObject;
14
- type CssStyleObject = Record<`.${string}`, SimpleStyleObject | Record<string, SimpleStyleObject>>;
15
-
16
11
  declare function getButtonStyles(button: ButtonConfig, theme: ThemeFn): ButtonClassMap;
17
12
 
18
13
  type IconButtonConfig = Exclude<UniversalTokensConfig['iconButton'], undefined>;
@@ -30,9 +25,9 @@ type TwBorderRadius = Exclude<keyof typeof defaultTailwindTheme.borderRadius, Tw
30
25
  type TwBorderWidthToExclude = '0' | '8';
31
26
  type TwBorderWidth = Exclude<keyof typeof defaultTailwindTheme.borderWidth, TwBorderWidthToExclude>;
32
27
  declare const udsToTailwindMap: {
33
- fontSize: Record<"label2" | "label1" | "label3" | "label4" | "title1" | "caption1" | "title4" | "title3" | "headline1" | "caption2" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
34
- lineHeight: Record<"label2" | "label1" | "label3" | "label4" | "title1" | "caption1" | "title4" | "title3" | "headline1" | "caption2" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
35
- borderRadius: Record<"sm" | "md" | "xl" | "lg" | "xs", TwBorderRadius>;
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>;
36
31
  borderWidth: Record<"medium" | "thin" | "thick", TwBorderWidth>;
37
32
  };
38
33
  /**