@yahoo/uds 0.3.0 → 0.4.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.
- package/cli/README.md +78 -131
- package/cli/commands/purge.ts +7 -3
- package/cli/env.d.ts +1 -0
- package/cli/utils/purgeCSS.test.ts +43 -3
- package/cli/utils/purgeCSS.ts +100 -14
- package/dist/Image.native-B3I4JoH3.d.cts +38 -0
- package/dist/Image.native-DUAFJodS.d.ts +38 -0
- package/dist/VStack-BHlRUsOR.d.cts +103 -0
- package/dist/VStack-DMb_RGRS.d.ts +103 -0
- package/dist/experimental/index.cjs +1 -1
- package/dist/experimental/index.d.cts +8 -8
- package/dist/experimental/index.d.ts +8 -8
- package/dist/experimental/index.js +1 -1
- package/dist/experimental/index.native.cjs +1 -1
- package/dist/experimental/index.native.d.cts +3 -3
- package/dist/experimental/index.native.d.ts +3 -3
- package/dist/experimental/index.native.js +1 -1
- package/dist/fixtures.cjs +1990 -0
- package/dist/fixtures.d.ts +81 -0
- package/dist/fixtures.js +1954 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +42 -237
- package/dist/index.d.ts +42 -237
- package/dist/index.js +1 -1
- package/dist/{index.native-CisPq4BI.d.ts → index.native-BTfOSmUx.d.ts} +1 -1
- package/dist/{index.native-DJlx-bfM.d.cts → index.native-Bm-r2Dpa.d.cts} +1 -1
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +21 -84
- package/dist/index.native.d.ts +21 -84
- package/dist/index.native.js +1 -1
- package/dist/styles/globals.css +0 -1
- package/dist/styles/toast.css +1 -0
- package/dist/styles/toast.d.cts +2 -0
- package/dist/styles/toast.d.ts +2 -0
- package/dist/tailwindPlugin.cjs +1 -1
- package/dist/tailwindPlugin.d.cts +8 -2
- package/dist/tailwindPlugin.d.ts +8 -2
- package/dist/tailwindPlugin.js +1 -1
- package/dist/tailwindPurge.cjs +1 -1
- package/dist/tailwindPurge.js +1 -1
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.d.cts +8 -3
- package/dist/tokens/index.d.ts +8 -3
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/index.native.cjs +1 -1
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/index.native.js +1 -1
- package/dist/tokens/parseTokens.cjs +1 -1
- package/dist/tokens/parseTokens.d.cts +8 -18
- package/dist/tokens/parseTokens.d.ts +8 -18
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/tokens/parseTokens.native.cjs +1 -1
- package/dist/tokens/parseTokens.native.d.cts +4 -21
- package/dist/tokens/parseTokens.native.d.ts +4 -21
- package/dist/tokens/parseTokens.native.js +1 -1
- package/dist/{types-CzJpH_Oi.d.cts → types-COiuE8XK.d.cts} +49 -138
- package/dist/{types-CzJpH_Oi.d.ts → types-COiuE8XK.d.ts} +49 -138
- package/package.json +14 -13
- package/dist/Image.native-C6kOWgnf.d.ts +0 -38
- package/dist/Image.native-VeXt5aeI.d.cts +0 -38
- package/dist/VStack-BSD9TbBd.d.cts +0 -114
- package/dist/VStack-Dk3-8IyU.d.ts +0 -114
- package/dist/fixtures/index.cjs +0 -1
- package/dist/fixtures/index.d.cts +0 -154
- package/dist/fixtures/index.d.ts +0 -154
- package/dist/fixtures/index.js +0 -1
@@ -0,0 +1,81 @@
|
|
1
|
+
import type { AvatarSize, BackgroundPaletteAlias, BorderRadius, BorderWidth, ButtonSize, ButtonVariant, ColorMode, CorePaletteAlias, FontFamilyGlobalAlias, FontWeightDescriptive, ForegroundPaletteAlias, Hue, HueStep, IconSize, LinePaletteAlias, RegionMode, ScaleMode, SpacingAlias, TextTransform, TextVariant } from '@yahoo/uds/tokens';
|
2
|
+
declare const colorModes: ColorMode[];
|
3
|
+
declare const scaleModes: ScaleMode[];
|
4
|
+
declare const regionModes: RegionMode[];
|
5
|
+
declare const hues: Hue[];
|
6
|
+
declare const hueSteps: HueStep[];
|
7
|
+
declare const spectrumColors: ("gray-0" | "gray-1" | "gray-2" | "gray-3" | "gray-4" | "gray-5" | "gray-6" | "gray-7" | "gray-8" | "gray-9" | "gray-10" | "gray-11" | "gray-12" | "gray-13" | "gray-14" | "gray-15" | "purple-0" | "purple-1" | "purple-2" | "purple-3" | "purple-4" | "purple-5" | "purple-6" | "purple-7" | "purple-8" | "purple-9" | "purple-10" | "purple-11" | "purple-12" | "purple-13" | "purple-14" | "purple-15" | "indigo-0" | "indigo-1" | "indigo-2" | "indigo-3" | "indigo-4" | "indigo-5" | "indigo-6" | "indigo-7" | "indigo-8" | "indigo-9" | "indigo-10" | "indigo-11" | "indigo-12" | "indigo-13" | "indigo-14" | "indigo-15" | "blue-0" | "blue-1" | "blue-2" | "blue-3" | "blue-4" | "blue-5" | "blue-6" | "blue-7" | "blue-8" | "blue-9" | "blue-10" | "blue-11" | "blue-12" | "blue-13" | "blue-14" | "blue-15" | "cyan-0" | "cyan-1" | "cyan-2" | "cyan-3" | "cyan-4" | "cyan-5" | "cyan-6" | "cyan-7" | "cyan-8" | "cyan-9" | "cyan-10" | "cyan-11" | "cyan-12" | "cyan-13" | "cyan-14" | "cyan-15" | "teal-0" | "teal-1" | "teal-2" | "teal-3" | "teal-4" | "teal-5" | "teal-6" | "teal-7" | "teal-8" | "teal-9" | "teal-10" | "teal-11" | "teal-12" | "teal-13" | "teal-14" | "teal-15" | "mint-0" | "mint-1" | "mint-2" | "mint-3" | "mint-4" | "mint-5" | "mint-6" | "mint-7" | "mint-8" | "mint-9" | "mint-10" | "mint-11" | "mint-12" | "mint-13" | "mint-14" | "mint-15" | "green-0" | "green-1" | "green-2" | "green-3" | "green-4" | "green-5" | "green-6" | "green-7" | "green-8" | "green-9" | "green-10" | "green-11" | "green-12" | "green-13" | "green-14" | "green-15" | "lime-0" | "lime-1" | "lime-2" | "lime-3" | "lime-4" | "lime-5" | "lime-6" | "lime-7" | "lime-8" | "lime-9" | "lime-10" | "lime-11" | "lime-12" | "lime-13" | "lime-14" | "lime-15" | "citron-0" | "citron-1" | "citron-2" | "citron-3" | "citron-4" | "citron-5" | "citron-6" | "citron-7" | "citron-8" | "citron-9" | "citron-10" | "citron-11" | "citron-12" | "citron-13" | "citron-14" | "citron-15" | "yellow-0" | "yellow-1" | "yellow-2" | "yellow-3" | "yellow-4" | "yellow-5" | "yellow-6" | "yellow-7" | "yellow-8" | "yellow-9" | "yellow-10" | "yellow-11" | "yellow-12" | "yellow-13" | "yellow-14" | "yellow-15" | "brown-0" | "brown-1" | "brown-2" | "brown-3" | "brown-4" | "brown-5" | "brown-6" | "brown-7" | "brown-8" | "brown-9" | "brown-10" | "brown-11" | "brown-12" | "brown-13" | "brown-14" | "brown-15" | "nude-0" | "nude-1" | "nude-2" | "nude-3" | "nude-4" | "nude-5" | "nude-6" | "nude-7" | "nude-8" | "nude-9" | "nude-10" | "nude-11" | "nude-12" | "nude-13" | "nude-14" | "nude-15" | "orange-0" | "orange-1" | "orange-2" | "orange-3" | "orange-4" | "orange-5" | "orange-6" | "orange-7" | "orange-8" | "orange-9" | "orange-10" | "orange-11" | "orange-12" | "orange-13" | "orange-14" | "orange-15" | "sunset-0" | "sunset-1" | "sunset-2" | "sunset-3" | "sunset-4" | "sunset-5" | "sunset-6" | "sunset-7" | "sunset-8" | "sunset-9" | "sunset-10" | "sunset-11" | "sunset-12" | "sunset-13" | "sunset-14" | "sunset-15" | "red-0" | "red-1" | "red-2" | "red-3" | "red-4" | "red-5" | "red-6" | "red-7" | "red-8" | "red-9" | "red-10" | "red-11" | "red-12" | "red-13" | "red-14" | "red-15" | "rose-0" | "rose-1" | "rose-2" | "rose-3" | "rose-4" | "rose-5" | "rose-6" | "rose-7" | "rose-8" | "rose-9" | "rose-10" | "rose-11" | "rose-12" | "rose-13" | "rose-14" | "rose-15" | "pink-0" | "pink-1" | "pink-2" | "pink-3" | "pink-4" | "pink-5" | "pink-6" | "pink-7" | "pink-8" | "pink-9" | "pink-10" | "pink-11" | "pink-12" | "pink-13" | "pink-14" | "pink-15" | "magenta-0" | "magenta-1" | "magenta-2" | "magenta-3" | "magenta-4" | "magenta-5" | "magenta-6" | "magenta-7" | "magenta-8" | "magenta-9" | "magenta-10" | "magenta-11" | "magenta-12" | "magenta-13" | "magenta-14" | "magenta-15" | "carbon-0" | "carbon-1" | "carbon-2" | "carbon-3" | "carbon-4" | "carbon-5" | "carbon-6" | "carbon-7" | "carbon-8" | "carbon-9" | "carbon-10" | "carbon-11" | "carbon-12" | "carbon-13" | "carbon-14" | "carbon-15")[];
|
8
|
+
declare const corePaletteColors: CorePaletteAlias[];
|
9
|
+
declare const backgroundPaletteColors: BackgroundPaletteAlias[];
|
10
|
+
declare const foregroundPaletteColors: ForegroundPaletteAlias[];
|
11
|
+
declare const linePaletteColors: LinePaletteAlias[];
|
12
|
+
declare const alwaysPaletteAliases: ("transparent" | "white" | "black")[];
|
13
|
+
declare const backgroundColors: ("transparent" | "white" | "black" | CorePaletteAlias | BackgroundPaletteAlias)[];
|
14
|
+
declare const foregroundColors: ("transparent" | "white" | "black" | CorePaletteAlias | ForegroundPaletteAlias)[];
|
15
|
+
declare const lineColors: ("transparent" | "white" | "black" | CorePaletteAlias | LinePaletteAlias)[];
|
16
|
+
declare const palette: {
|
17
|
+
core: CorePaletteAlias[];
|
18
|
+
background: BackgroundPaletteAlias[];
|
19
|
+
foreground: ForegroundPaletteAlias[];
|
20
|
+
line: LinePaletteAlias[];
|
21
|
+
};
|
22
|
+
declare const tailwindColorsAsUds: Record<"gray" | "purple" | "indigo" | "blue" | "cyan" | "teal" | "green" | "lime" | "yellow" | "orange" | "red" | "rose" | "pink" | "transparent" | "white" | "black" | "inherit" | "current" | "slate" | "zinc" | "neutral" | "stone" | "amber" | "emerald" | "sky" | "violet" | "fuchsia", Record<"50" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | "950", string>>;
|
23
|
+
declare const textVariants: TextVariant[];
|
24
|
+
declare const fontFamilies: FontFamilyGlobalAlias[];
|
25
|
+
declare const fontWeights: FontWeightDescriptive[];
|
26
|
+
declare const textTransforms: TextTransform[];
|
27
|
+
declare const fontSizeRamp: {
|
28
|
+
xSmall: Record<TextVariant, number>;
|
29
|
+
small: Record<TextVariant, number>;
|
30
|
+
medium: Record<TextVariant, number>;
|
31
|
+
large: Record<TextVariant, number>;
|
32
|
+
xLarge: Record<TextVariant, number>;
|
33
|
+
xxLarge: Record<TextVariant, number>;
|
34
|
+
xxxLarge: Record<TextVariant, number>;
|
35
|
+
};
|
36
|
+
declare const lineHeightRamp: {
|
37
|
+
xSmall: Record<TextVariant, number>;
|
38
|
+
small: Record<TextVariant, number>;
|
39
|
+
medium: Record<TextVariant, number>;
|
40
|
+
large: Record<TextVariant, number>;
|
41
|
+
xLarge: Record<TextVariant, number>;
|
42
|
+
xxLarge: Record<TextVariant, number>;
|
43
|
+
xxxLarge: Record<TextVariant, number>;
|
44
|
+
};
|
45
|
+
declare const avatarSizes: AvatarSize[];
|
46
|
+
declare const avatarShapes: BorderRadius[];
|
47
|
+
declare const borderRadii: BorderRadius[];
|
48
|
+
declare const borderRadiusRamp: {
|
49
|
+
xSmall: Record<BorderRadius, number>;
|
50
|
+
small: Record<BorderRadius, number>;
|
51
|
+
medium: Record<BorderRadius, number>;
|
52
|
+
large: Record<BorderRadius, number>;
|
53
|
+
xLarge: Record<BorderRadius, number>;
|
54
|
+
xxLarge: Record<BorderRadius, number>;
|
55
|
+
xxxLarge: Record<BorderRadius, number>;
|
56
|
+
};
|
57
|
+
declare const borderWidths: BorderWidth[];
|
58
|
+
declare const borderWidthRamp: {
|
59
|
+
xSmall: Record<BorderWidth, number>;
|
60
|
+
small: Record<BorderWidth, number>;
|
61
|
+
medium: Record<BorderWidth, number>;
|
62
|
+
large: Record<BorderWidth, number>;
|
63
|
+
xLarge: Record<BorderWidth, number>;
|
64
|
+
xxLarge: Record<BorderWidth, number>;
|
65
|
+
xxxLarge: Record<BorderWidth, number>;
|
66
|
+
};
|
67
|
+
declare const iconSizes: IconSize[];
|
68
|
+
declare const spacingAliases: SpacingAlias[];
|
69
|
+
declare const spacingRamp: {
|
70
|
+
xSmall: Record<SpacingAlias, number>;
|
71
|
+
small: Record<SpacingAlias, number>;
|
72
|
+
medium: Record<SpacingAlias, number>;
|
73
|
+
large: Record<SpacingAlias, number>;
|
74
|
+
xLarge: Record<SpacingAlias, number>;
|
75
|
+
xxLarge: Record<SpacingAlias, number>;
|
76
|
+
xxxLarge: Record<SpacingAlias, number>;
|
77
|
+
};
|
78
|
+
declare const buttonVariants: ButtonVariant[];
|
79
|
+
declare const buttonSizes: ButtonSize[];
|
80
|
+
declare const iconNames: import("@yahoo/uds").IconName[];
|
81
|
+
export { alwaysPaletteAliases, avatarShapes, avatarSizes, backgroundColors, backgroundPaletteColors, borderRadii, borderRadiusRamp, borderWidthRamp, borderWidths, buttonSizes, buttonVariants, colorModes, corePaletteColors, fontFamilies, fontSizeRamp, fontWeights, foregroundColors, foregroundPaletteColors, hues, hueSteps, iconNames, iconSizes, lineColors, lineHeightRamp, linePaletteColors, palette, regionModes, scaleModes, spacingAliases, spacingRamp, spectrumColors, tailwindColorsAsUds, textTransforms, textVariants, };
|