@yahoo/uds 3.0.0-beta.1 → 3.0.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.
- package/cli/ButtonFile2.mock.tsx +11 -0
- package/cli/bin/uds-darwin-arm64-baseline +0 -0
- package/cli/bin/uds-linux-arm64 +0 -0
- package/cli/bin/uds-linux-x64-baseline +0 -0
- package/cli/codemods/addCommentAboveComponents.ts +8 -2
- package/cli/commands/expo/_setup.ts +1 -0
- package/cli/commands/sync.ts +3 -0
- package/cli/preload.ts +1 -0
- package/cli/utils/auth.ts +1 -0
- package/cli/utils/configWorker.ts +10 -2
- package/cli/utils/purgeCSS.ts +18 -6
- package/cli/utils/setupConfigWorker.ts +2 -2
- package/cli/utils/types.ts +3 -1
- package/dist/{Text-DC5H-ljU.d.cts → Text-yeQcITg9.d.cts} +1 -1
- package/dist/{Text-DC5H-ljU.d.ts → Text-yeQcITg9.d.ts} +1 -1
- package/dist/{VStack-dsjTgotn.d.ts → VStack-CJs5afN8.d.ts} +1 -1
- package/dist/{VStack-lZcVQtuR.d.cts → VStack-GpQHE4xQ.d.cts} +1 -1
- package/dist/analytics/server.js +1 -1
- package/dist/{chunk-ROCVTVD4.js → chunk-4G4TBHHL.js} +1 -1
- package/dist/chunk-6CVEYTLQ.js +2 -0
- package/dist/chunk-6XNKVFUM.cjs +2 -0
- package/dist/{chunk-GWUSJOIP.js → chunk-AFPPCX7S.js} +2 -2
- package/dist/{chunk-RCTE4OK2.cjs → chunk-BNLUH23E.cjs} +1 -1
- package/dist/{chunk-3R4CMTF2.js → chunk-EWJ3J526.js} +1 -1
- package/dist/{chunk-GXWRHF26.cjs → chunk-FOX6Q5GR.cjs} +1 -1
- package/dist/{chunk-UWAIMWW7.cjs → chunk-HTL6WRXY.cjs} +1 -1
- package/dist/{chunk-H35WDIEH.cjs → chunk-J7PUOUXC.cjs} +1 -1
- package/dist/{chunk-COT7GQ26.js → chunk-N3FKHXEJ.js} +2 -2
- package/dist/{chunk-PLVCO2Q2.cjs → chunk-NUEZVMWZ.cjs} +1 -1
- package/dist/chunk-O26JIFUR.cjs +3 -0
- package/dist/{chunk-TYCIDVTR.js → chunk-S5UKKXRV.js} +1 -1
- package/dist/chunk-WCB4EHGZ.js +3 -0
- package/dist/client/index.cjs +2 -2
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +3 -3
- package/dist/experimental/client/index.cjs +1 -1
- package/dist/experimental/client/index.d.cts +1 -1
- package/dist/experimental/client/index.d.ts +1 -1
- package/dist/experimental/client/index.js +1 -1
- package/dist/experimental/index.cjs +2 -2
- package/dist/experimental/index.d.cts +1 -1
- package/dist/experimental/index.d.ts +1 -1
- package/dist/experimental/index.js +1 -1
- package/dist/fixtures.cjs +2 -1
- package/dist/fixtures.js +2 -1
- package/dist/flags.cjs +1 -1
- package/dist/flags.js +1 -1
- package/dist/{index-B1ZHRmSN.d.ts → index-CU_UPAew.d.ts} +4 -4
- package/dist/{index-By9VJ9yq.d.cts → index-DUFUMc1S.d.cts} +4 -4
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +108 -108
- package/dist/index.d.ts +108 -108
- package/dist/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +9 -4
- package/dist/tailwind/plugin.d.ts +9 -4
- package/dist/tailwind/plugin.js +2 -2
- package/dist/tailwind/purger.cjs +2 -2
- package/dist/tailwind/purger.js +3 -3
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.js +1 -1
- package/dist/tailwind/utils.cjs +1 -1
- package/dist/tailwind/utils.d.cts +4 -4
- package/dist/tailwind/utils.d.ts +4 -4
- package/dist/tailwind/utils.js +1 -1
- package/dist/tokens/automation/configs.cjs +1 -1
- package/dist/tokens/automation/configs.d.cts +2 -2
- package/dist/tokens/automation/configs.d.ts +2 -2
- package/dist/tokens/automation/configs.js +1 -1
- package/dist/tokens/automation/properties.cjs +1 -1
- package/dist/tokens/automation/properties.d.cts +2 -2
- package/dist/tokens/automation/properties.d.ts +2 -2
- package/dist/tokens/automation/properties.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +3810 -3810
- package/dist/tokens/index.d.ts +3810 -3810
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/{types-oxQ-ciqn.d.cts → types-d2CfR7zp.d.cts} +1962 -1954
- package/dist/{types-oxQ-ciqn.d.ts → types-d2CfR7zp.d.ts} +1962 -1954
- package/package.json +1 -1
- package/dist/chunk-DIZ6AEFQ.cjs +0 -3
- package/dist/chunk-IGRY2O2E.js +0 -2
- package/dist/chunk-IQXT3UML.cjs +0 -2
- package/dist/chunk-SWTZ62RF.js +0 -3
- /package/dist/{motionFeatures-II2BNXF5.cjs → motionFeatures-6LIGGXPL.cjs} +0 -0
- /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-
|
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<"
|
33
|
-
lineHeight: Record<"
|
34
|
-
borderRadius: Record<"
|
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-
|
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<"
|
33
|
-
lineHeight: Record<"
|
34
|
-
borderRadius: Record<"
|
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): {
|