@yahoo/uds 3.0.0-beta.1 → 3.0.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 (92) 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/cli/codemods/addCommentAboveComponents.ts +8 -2
  5. package/cli/commands/expo/_setup.ts +1 -0
  6. package/cli/commands/sync.ts +3 -0
  7. package/cli/preload.ts +1 -0
  8. package/cli/utils/auth.ts +1 -0
  9. package/cli/utils/configWorker.ts +10 -2
  10. package/cli/utils/purgeCSS.ts +18 -6
  11. package/cli/utils/setupConfigWorker.ts +2 -2
  12. package/cli/utils/types.ts +3 -1
  13. package/dist/{Text-DC5H-ljU.d.cts → Text-yeQcITg9.d.cts} +1 -1
  14. package/dist/{Text-DC5H-ljU.d.ts → Text-yeQcITg9.d.ts} +1 -1
  15. package/dist/{VStack-dsjTgotn.d.ts → VStack-CJs5afN8.d.ts} +1 -1
  16. package/dist/{VStack-lZcVQtuR.d.cts → VStack-GpQHE4xQ.d.cts} +1 -1
  17. package/dist/analytics/server.js +1 -1
  18. package/dist/{chunk-ROCVTVD4.js → chunk-4G4TBHHL.js} +1 -1
  19. package/dist/chunk-6CVEYTLQ.js +2 -0
  20. package/dist/chunk-6XNKVFUM.cjs +2 -0
  21. package/dist/{chunk-GWUSJOIP.js → chunk-AFPPCX7S.js} +2 -2
  22. package/dist/{chunk-RCTE4OK2.cjs → chunk-BNLUH23E.cjs} +1 -1
  23. package/dist/{chunk-3R4CMTF2.js → chunk-EWJ3J526.js} +1 -1
  24. package/dist/{chunk-GXWRHF26.cjs → chunk-FOX6Q5GR.cjs} +1 -1
  25. package/dist/{chunk-UWAIMWW7.cjs → chunk-HTL6WRXY.cjs} +1 -1
  26. package/dist/{chunk-H35WDIEH.cjs → chunk-J7PUOUXC.cjs} +1 -1
  27. package/dist/{chunk-COT7GQ26.js → chunk-N3FKHXEJ.js} +2 -2
  28. package/dist/{chunk-PLVCO2Q2.cjs → chunk-NUEZVMWZ.cjs} +1 -1
  29. package/dist/chunk-O26JIFUR.cjs +3 -0
  30. package/dist/{chunk-TYCIDVTR.js → chunk-S5UKKXRV.js} +1 -1
  31. package/dist/chunk-WCB4EHGZ.js +3 -0
  32. package/dist/client/index.cjs +2 -2
  33. package/dist/client/index.d.cts +3 -3
  34. package/dist/client/index.d.ts +3 -3
  35. package/dist/client/index.js +3 -3
  36. package/dist/experimental/client/index.cjs +1 -1
  37. package/dist/experimental/client/index.d.cts +1 -1
  38. package/dist/experimental/client/index.d.ts +1 -1
  39. package/dist/experimental/client/index.js +1 -1
  40. package/dist/experimental/index.cjs +2 -2
  41. package/dist/experimental/index.d.cts +1 -1
  42. package/dist/experimental/index.d.ts +1 -1
  43. package/dist/experimental/index.js +1 -1
  44. package/dist/fixtures.cjs +2 -1
  45. package/dist/fixtures.js +2 -1
  46. package/dist/flags.cjs +1 -1
  47. package/dist/flags.js +1 -1
  48. package/dist/{index-B1ZHRmSN.d.ts → index-CU_UPAew.d.ts} +4 -4
  49. package/dist/{index-By9VJ9yq.d.cts → index-DUFUMc1S.d.cts} +4 -4
  50. package/dist/index.cjs +1 -1
  51. package/dist/index.d.cts +108 -108
  52. package/dist/index.d.ts +108 -108
  53. package/dist/index.js +1 -1
  54. package/dist/metafile-cjs.json +1 -1
  55. package/dist/metafile-esm.json +1 -1
  56. package/dist/tailwind/plugin.cjs +1 -1
  57. package/dist/tailwind/plugin.d.cts +9 -4
  58. package/dist/tailwind/plugin.d.ts +9 -4
  59. package/dist/tailwind/plugin.js +2 -2
  60. package/dist/tailwind/purger.cjs +2 -2
  61. package/dist/tailwind/purger.js +3 -3
  62. package/dist/tailwind/tsMorph.cjs +1 -1
  63. package/dist/tailwind/tsMorph.js +1 -1
  64. package/dist/tailwind/utils.cjs +1 -1
  65. package/dist/tailwind/utils.d.cts +4 -4
  66. package/dist/tailwind/utils.d.ts +4 -4
  67. package/dist/tailwind/utils.js +1 -1
  68. package/dist/tokens/automation/configs.cjs +1 -1
  69. package/dist/tokens/automation/configs.d.cts +2 -2
  70. package/dist/tokens/automation/configs.d.ts +2 -2
  71. package/dist/tokens/automation/configs.js +1 -1
  72. package/dist/tokens/automation/properties.cjs +1 -1
  73. package/dist/tokens/automation/properties.d.cts +2 -2
  74. package/dist/tokens/automation/properties.d.ts +2 -2
  75. package/dist/tokens/automation/properties.js +1 -1
  76. package/dist/tokens/index.cjs +1 -1
  77. package/dist/tokens/index.d.cts +3810 -3810
  78. package/dist/tokens/index.d.ts +3810 -3810
  79. package/dist/tokens/index.js +1 -1
  80. package/dist/tokens/parseTokens.cjs +1 -1
  81. package/dist/tokens/parseTokens.d.cts +1 -1
  82. package/dist/tokens/parseTokens.d.ts +1 -1
  83. package/dist/tokens/parseTokens.js +1 -1
  84. package/dist/{types-oxQ-ciqn.d.cts → types-d2CfR7zp.d.cts} +1962 -1954
  85. package/dist/{types-oxQ-ciqn.d.ts → types-d2CfR7zp.d.ts} +1962 -1954
  86. package/package.json +1 -1
  87. package/dist/chunk-DIZ6AEFQ.cjs +0 -3
  88. package/dist/chunk-IGRY2O2E.js +0 -2
  89. package/dist/chunk-IQXT3UML.cjs +0 -2
  90. package/dist/chunk-SWTZ62RF.js +0 -3
  91. /package/dist/{motionFeatures-II2BNXF5.cjs → motionFeatures-6LIGGXPL.cjs} +0 -0
  92. /package/dist/{motionFeatures-25DAPVNO.js → motionFeatures-SJISLQ4M.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
2
  import { CSSRuleObject } from 'tailwindcss/types/config';
3
- import { B as ButtonConfig, i as ButtonClassMap, I as IconButtonClassMap, U as UniversalTokensConfig, j as ButtonColorProperty, k as ButtonColorPropertyConfig } from '../types-oxQ-ciqn.cjs';
3
+ import { B as ButtonConfig, i as ButtonClassMap, I as IconButtonClassMap, U as UniversalTokensConfig, j as ButtonColorProperty, k as ButtonColorPropertyConfig } from '../types-d2CfR7zp.cjs';
4
4
  import defaultTailwindTheme from 'tailwindcss/defaultTheme';
5
5
  import '@yahoo/uds-icons/types';
6
6
  import 'motion/react';
@@ -29,9 +29,9 @@ type TwBorderRadius = Exclude<keyof typeof defaultTailwindTheme.borderRadius, Tw
29
29
  type TwBorderWidthToExclude = '0' | '8';
30
30
  type TwBorderWidth = Exclude<keyof typeof defaultTailwindTheme.borderWidth, TwBorderWidthToExclude>;
31
31
  declare const udsToTailwindMap: {
32
- fontSize: Record<"label4" | "label2" | "label1" | "title1" | "caption1" | "caption2" | "headline1" | "title4" | "title3" | "label3" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
33
- lineHeight: Record<"label4" | "label2" | "label1" | "title1" | "caption1" | "caption2" | "headline1" | "title4" | "title3" | "label3" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
34
- borderRadius: Record<"sm" | "xl" | "md" | "lg" | "xs", TwBorderRadius>;
32
+ fontSize: Record<"label3" | "label1" | "label4" | "label2" | "caption1" | "headline1" | "caption2" | "title4" | "title3" | "title1" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
33
+ lineHeight: Record<"label3" | "label1" | "label4" | "label2" | "caption1" | "headline1" | "caption2" | "title4" | "title3" | "title1" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
34
+ borderRadius: Record<"md" | "sm" | "lg" | "xl" | "xs", TwBorderRadius>;
35
35
  borderWidth: Record<"medium" | "thin" | "thick", TwBorderWidth>;
36
36
  };
37
37
  /**
@@ -50,6 +50,11 @@ interface TailwindPluginOptions {
50
50
  * @default false
51
51
  */
52
52
  disableFontFaceDeclarations?: boolean;
53
+ /**
54
+ * Generates CSS classes for visually forcing components into a pseudo state (hover, focus, etc)
55
+ * @default false
56
+ */
57
+ generatePseudoStateSuffixes?: boolean;
53
58
  }
54
59
  declare const tailwindPlugin: {
55
60
  (options: TailwindPluginOptions): {
@@ -1,6 +1,6 @@
1
1
  import * as tailwindcss_types_config from 'tailwindcss/types/config';
2
2
  import { CSSRuleObject } from 'tailwindcss/types/config';
3
- import { B as ButtonConfig, i as ButtonClassMap, I as IconButtonClassMap, U as UniversalTokensConfig, j as ButtonColorProperty, k as ButtonColorPropertyConfig } from '../types-oxQ-ciqn.js';
3
+ import { B as ButtonConfig, i as ButtonClassMap, I as IconButtonClassMap, U as UniversalTokensConfig, j as ButtonColorProperty, k as ButtonColorPropertyConfig } from '../types-d2CfR7zp.js';
4
4
  import defaultTailwindTheme from 'tailwindcss/defaultTheme';
5
5
  import '@yahoo/uds-icons/types';
6
6
  import 'motion/react';
@@ -29,9 +29,9 @@ type TwBorderRadius = Exclude<keyof typeof defaultTailwindTheme.borderRadius, Tw
29
29
  type TwBorderWidthToExclude = '0' | '8';
30
30
  type TwBorderWidth = Exclude<keyof typeof defaultTailwindTheme.borderWidth, TwBorderWidthToExclude>;
31
31
  declare const udsToTailwindMap: {
32
- fontSize: Record<"label4" | "label2" | "label1" | "title1" | "caption1" | "caption2" | "headline1" | "title4" | "title3" | "label3" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
33
- lineHeight: Record<"label4" | "label2" | "label1" | "title1" | "caption1" | "caption2" | "headline1" | "title4" | "title3" | "label3" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
34
- borderRadius: Record<"sm" | "xl" | "md" | "lg" | "xs", TwBorderRadius>;
32
+ fontSize: Record<"label3" | "label1" | "label4" | "label2" | "caption1" | "headline1" | "caption2" | "title4" | "title3" | "title1" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
33
+ lineHeight: Record<"label3" | "label1" | "label4" | "label2" | "caption1" | "headline1" | "caption2" | "title4" | "title3" | "title1" | "display1" | "display2" | "display3" | "title2" | "body1", TwdFontSize>;
34
+ borderRadius: Record<"md" | "sm" | "lg" | "xl" | "xs", TwBorderRadius>;
35
35
  borderWidth: Record<"medium" | "thin" | "thick", TwBorderWidth>;
36
36
  };
37
37
  /**
@@ -50,6 +50,11 @@ interface TailwindPluginOptions {
50
50
  * @default false
51
51
  */
52
52
  disableFontFaceDeclarations?: boolean;
53
+ /**
54
+ * Generates CSS classes for visually forcing components into a pseudo state (hover, focus, etc)
55
+ * @default false
56
+ */
57
+ generatePseudoStateSuffixes?: boolean;
53
58
  }
54
59
  declare const tailwindPlugin: {
55
60
  (options: TailwindPluginOptions): {