@yahoo/uds 3.67.0-beta.5 → 3.68.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/dist/components/Box.d.cts +2 -2
- package/dist/components/Box.d.ts +2 -2
- package/dist/components/Divider/Divider.d.cts +2 -2
- package/dist/components/Divider/Divider.d.ts +2 -2
- package/dist/components/Divider/DividerInternal.d.cts +2 -2
- package/dist/components/HStack.d.cts +2 -2
- package/dist/components/HStack.d.ts +2 -2
- package/dist/components/Icon.d.cts +2 -2
- package/dist/components/Icon.d.ts +2 -2
- package/dist/components/Link.d.cts +2 -2
- package/dist/components/Link.d.ts +2 -2
- package/dist/components/Text.d.cts +8 -8
- package/dist/components/Text.d.ts +8 -8
- package/dist/components/VStack.d.cts +2 -2
- package/dist/components/VStack.d.ts +2 -2
- package/dist/components/client/AnimateHeightChange.d.cts +2 -2
- package/dist/components/client/Avatar/Avatar.d.cts +2 -2
- package/dist/components/client/Avatar/Avatar.d.ts +2 -2
- package/dist/components/client/Avatar/AvatarIcon.d.cts +2 -2
- package/dist/components/client/Avatar/AvatarIcon.d.ts +2 -2
- package/dist/components/client/Avatar/AvatarImage.d.cts +2 -2
- package/dist/components/client/Avatar/AvatarImage.d.ts +2 -2
- package/dist/components/client/Avatar/AvatarText.d.cts +2 -2
- package/dist/components/client/Avatar/AvatarText.d.ts +2 -2
- package/dist/components/client/IconButton.d.cts +2 -2
- package/dist/components/client/Input/Input.d.cts +2 -2
- package/dist/components/client/Input/Input.d.ts +2 -2
- package/dist/components/client/Input/InputHelpText.d.cts +2 -2
- package/dist/components/client/Input/InputHelpText.d.ts +2 -2
- package/dist/components/client/Input/InputHelpTextInternal.d.cts +4 -4
- package/dist/components/client/Input/InputHelpTextInternal.d.ts +4 -4
- package/dist/components/client/Menu/Menu.Content.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Content.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Divider.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Divider.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Item.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Item.d.ts +2 -2
- package/dist/components/client/Menu/Menu.ItemBase.d.cts +2 -2
- package/dist/components/client/Menu/Menu.ItemBase.d.ts +2 -2
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.cts +2 -2
- package/dist/components/client/Menu/Menu.ItemCheckbox.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Provider.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Provider.d.ts +2 -2
- package/dist/components/client/Menu/Menu.Trigger.d.cts +2 -2
- package/dist/components/client/Menu/Menu.Trigger.d.ts +2 -2
- package/dist/components/client/Pressable.d.cts +2 -2
- package/dist/components/client/Radio/RadioGroupStore.d.cts +2 -2
- package/dist/components/client/Radio/RadioGroupStore.d.ts +2 -2
- package/dist/components/client/SpringMotionConfig.d.cts +3 -3
- package/dist/components/client/SpringMotionConfig.d.ts +2 -2
- package/dist/components/experimental/Spinner.d.cts +2 -2
- package/dist/components/experimental/Table.d.cts +2 -2
- package/dist/components/experimental/client/Accordion.d.cts +2 -2
- package/dist/components/experimental/client/Accordion.d.ts +2 -2
- package/dist/components/experimental/client/AvoidMotionLibraryProvider.d.cts +2 -2
- package/dist/components/experimental/client/Modal.d.cts +3 -3
- package/dist/components/experimental/client/Modal.d.ts +3 -3
- package/dist/components/experimental/client/Popover.d.cts +3 -3
- package/dist/components/experimental/client/Popover.d.ts +3 -3
- package/dist/components/experimental/client/Tabs.d.cts +6 -6
- package/dist/components/experimental/client/Tabs.d.ts +6 -6
- package/dist/components/experimental/client/Toast.d.cts +2 -2
- package/dist/components/experimental/client/Toast.d.ts +2 -2
- package/dist/defaultTokensConfig.cjs +1 -1
- package/dist/defaultTokensConfig.js +1 -1
- package/dist/fixtures.cjs +28 -5
- package/dist/fixtures.d.cts +6 -5
- package/dist/fixtures.d.ts +6 -5
- package/dist/fixtures.js +27 -5
- package/dist/generated/generatedConfigs.cjs +379 -253
- package/dist/generated/generatedConfigs.js +379 -253
- package/dist/generated/tailwindPurge.cjs +163 -61
- package/dist/generated/tailwindPurge.js +163 -61
- package/dist/generated/universalTokensConfigAuto.cjs +1 -1
- package/dist/generated/universalTokensConfigAuto.js +1 -1
- package/dist/index.cjs +5 -2
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/providers/ColorModeProvider.d.cts +4 -4
- package/dist/providers/ColorModeProvider.d.ts +4 -4
- package/dist/providers/ScaleModeProvider.d.cts +4 -4
- package/dist/providers/ScaleModeProvider.d.ts +4 -4
- package/dist/providers/ThemeProvider.d.cts +2 -2
- package/dist/styles/styler.d.cts +14 -14
- package/dist/styles/styler.d.ts +14 -14
- package/dist/styles/variants.cjs +77 -29
- package/dist/styles/variants.d.cts +69 -21
- package/dist/styles/variants.d.ts +69 -21
- package/dist/styles/variants.js +77 -29
- package/dist/tailwind/plugins/a11y.d.ts +3 -3
- package/dist/tailwind/plugins/borders.d.ts +3 -3
- package/dist/tailwind/plugins/colors.cjs +6 -2
- package/dist/tailwind/plugins/colors.d.ts +3 -3
- package/dist/tailwind/plugins/colors.js +5 -2
- package/dist/tailwind/plugins/components.d.ts +3 -3
- package/dist/tailwind/plugins/elevation.d.ts +3 -3
- package/dist/tailwind/plugins/icons.d.ts +3 -3
- package/dist/tailwind/plugins/input.d.ts +3 -3
- package/dist/tailwind/plugins/motion.d.ts +3 -3
- package/dist/tailwind/plugins/nestedBorderRadius.d.ts +3 -3
- package/dist/tailwind/plugins/scaleMode.d.ts +3 -3
- package/dist/tailwind/plugins/shadows.d.ts +3 -3
- package/dist/tailwind/plugins/sizing.d.ts +3 -3
- package/dist/tailwind/plugins/spacing.d.ts +3 -3
- package/dist/tailwind/plugins/typography.d.cts +3 -3
- package/dist/tailwind/plugins/typography.d.ts +3 -3
- package/dist/tailwind/utils/addFontsPlugin.d.cts +3 -3
- package/dist/tailwind/utils/addFontsPlugin.d.ts +3 -3
- package/dist/tailwind/utils/composeTailwindPlugins.d.cts +3 -3
- package/dist/tailwind/utils/composeTailwindPlugins.d.ts +3 -3
- package/dist/tailwind/utils/getShadowPresetValues.cjs +18 -2
- package/dist/tailwind/utils/getShadowPresetValues.js +18 -2
- package/dist/tokens/automation/configs/menu.cjs +1 -1
- package/dist/tokens/automation/configs/menu.js +1 -1
- package/dist/tokens/automation/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/tokens/automation/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/tokens/automation/utils/mapColorFixtureToValue.cjs +7 -1
- package/dist/tokens/automation/utils/mapColorFixtureToValue.js +7 -1
- package/dist/tokens/configs/colorMode.cjs +4 -3
- package/dist/tokens/configs/colorMode.js +2 -1
- package/dist/tokens/configs/palette/alwaysPalette.cjs +28 -0
- package/dist/tokens/configs/palette/alwaysPalette.d.cts +54 -0
- package/dist/tokens/configs/palette/alwaysPalette.d.ts +54 -0
- package/dist/tokens/configs/palette/alwaysPalette.js +24 -0
- package/dist/tokens/configs/palette/darkPalette.cjs +200 -0
- package/dist/tokens/configs/palette/darkPalette.d.cts +6 -0
- package/dist/tokens/configs/palette/darkPalette.d.ts +6 -0
- package/dist/tokens/configs/palette/darkPalette.js +199 -0
- package/dist/tokens/configs/palette/index.cjs +11 -0
- package/dist/tokens/configs/palette/index.d.cts +4 -0
- package/dist/tokens/configs/palette/index.d.ts +4 -0
- package/dist/tokens/configs/palette/index.js +6 -0
- package/dist/tokens/configs/palette/lightPalette.cjs +200 -0
- package/dist/tokens/configs/palette/lightPalette.d.cts +6 -0
- package/dist/tokens/configs/palette/lightPalette.d.ts +6 -0
- package/dist/tokens/configs/palette/lightPalette.js +199 -0
- package/dist/tokens/configs/yosConfig.cjs +137 -137
- package/dist/tokens/configs/yosConfig.js +137 -137
- package/dist/tokens/index.cjs +5 -2
- package/dist/tokens/index.d.cts +4 -3
- package/dist/tokens/index.d.ts +4 -3
- package/dist/tokens/index.js +2 -2
- package/dist/tokens/parseTokens.cjs +2 -2
- package/dist/tokens/parseTokens.js +1 -1
- package/dist/tokens/types.d.cts +6 -4
- package/dist/tokens/types.d.ts +6 -4
- package/dist/utils/intersperse.d.cts +2 -2
- package/dist/utils/intersperse.d.ts +2 -2
- package/package.json +1 -1
- package/dist/tokens/configs/palette.cjs +0 -402
- package/dist/tokens/configs/palette.d.cts +0 -13
- package/dist/tokens/configs/palette.d.ts +0 -13
- package/dist/tokens/configs/palette.js +0 -399
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
/*! © 2025 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
//#region src/tokens/configs/palette/lightPalette.ts
|
|
3
|
+
const lightPalette = {
|
|
4
|
+
background: {
|
|
5
|
+
primary: {
|
|
6
|
+
hue: "gray",
|
|
7
|
+
step: "0"
|
|
8
|
+
},
|
|
9
|
+
secondary: {
|
|
10
|
+
hue: "carbon",
|
|
11
|
+
step: "2"
|
|
12
|
+
},
|
|
13
|
+
accent: {
|
|
14
|
+
hue: "carbon",
|
|
15
|
+
step: "2"
|
|
16
|
+
},
|
|
17
|
+
brand: {
|
|
18
|
+
hue: "purple",
|
|
19
|
+
step: "9"
|
|
20
|
+
},
|
|
21
|
+
"brand-secondary": {
|
|
22
|
+
hue: "purple",
|
|
23
|
+
step: "1"
|
|
24
|
+
},
|
|
25
|
+
info: {
|
|
26
|
+
hue: "blue",
|
|
27
|
+
step: "5"
|
|
28
|
+
},
|
|
29
|
+
"info-secondary": {
|
|
30
|
+
hue: "blue",
|
|
31
|
+
step: "1"
|
|
32
|
+
},
|
|
33
|
+
alert: {
|
|
34
|
+
hue: "red",
|
|
35
|
+
step: "9"
|
|
36
|
+
},
|
|
37
|
+
"alert-secondary": {
|
|
38
|
+
hue: "red",
|
|
39
|
+
step: "2"
|
|
40
|
+
},
|
|
41
|
+
positive: {
|
|
42
|
+
hue: "green",
|
|
43
|
+
step: "5"
|
|
44
|
+
},
|
|
45
|
+
"positive-secondary": {
|
|
46
|
+
hue: "green",
|
|
47
|
+
step: "2"
|
|
48
|
+
},
|
|
49
|
+
warning: {
|
|
50
|
+
hue: "orange",
|
|
51
|
+
step: "5"
|
|
52
|
+
},
|
|
53
|
+
"warning-secondary": {
|
|
54
|
+
hue: "orange",
|
|
55
|
+
step: "2"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
foreground: {
|
|
59
|
+
primary: {
|
|
60
|
+
hue: "carbon",
|
|
61
|
+
step: "13"
|
|
62
|
+
},
|
|
63
|
+
secondary: {
|
|
64
|
+
hue: "carbon",
|
|
65
|
+
step: "10"
|
|
66
|
+
},
|
|
67
|
+
tertiary: {
|
|
68
|
+
hue: "gray",
|
|
69
|
+
step: "9"
|
|
70
|
+
},
|
|
71
|
+
muted: {
|
|
72
|
+
hue: "gray",
|
|
73
|
+
step: "8"
|
|
74
|
+
},
|
|
75
|
+
"on-color": {
|
|
76
|
+
hue: "gray",
|
|
77
|
+
step: "0"
|
|
78
|
+
},
|
|
79
|
+
accent: {
|
|
80
|
+
hue: "carbon",
|
|
81
|
+
step: "7"
|
|
82
|
+
},
|
|
83
|
+
brand: {
|
|
84
|
+
hue: "purple",
|
|
85
|
+
step: "9"
|
|
86
|
+
},
|
|
87
|
+
"brand-secondary": {
|
|
88
|
+
hue: "purple",
|
|
89
|
+
step: "11"
|
|
90
|
+
},
|
|
91
|
+
info: {
|
|
92
|
+
hue: "blue",
|
|
93
|
+
step: "8"
|
|
94
|
+
},
|
|
95
|
+
"info-secondary": {
|
|
96
|
+
hue: "blue",
|
|
97
|
+
step: "12"
|
|
98
|
+
},
|
|
99
|
+
alert: {
|
|
100
|
+
hue: "red",
|
|
101
|
+
step: "9"
|
|
102
|
+
},
|
|
103
|
+
"alert-secondary": {
|
|
104
|
+
hue: "red",
|
|
105
|
+
step: "12"
|
|
106
|
+
},
|
|
107
|
+
positive: {
|
|
108
|
+
hue: "green",
|
|
109
|
+
step: "7"
|
|
110
|
+
},
|
|
111
|
+
"positive-secondary": {
|
|
112
|
+
hue: "green",
|
|
113
|
+
step: "12"
|
|
114
|
+
},
|
|
115
|
+
warning: {
|
|
116
|
+
hue: "orange",
|
|
117
|
+
step: "8"
|
|
118
|
+
},
|
|
119
|
+
"warning-secondary": {
|
|
120
|
+
hue: "orange",
|
|
121
|
+
step: "12"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
line: {
|
|
125
|
+
primary: {
|
|
126
|
+
hue: "gray",
|
|
127
|
+
step: "12"
|
|
128
|
+
},
|
|
129
|
+
secondary: {
|
|
130
|
+
hue: "gray",
|
|
131
|
+
step: "9"
|
|
132
|
+
},
|
|
133
|
+
tertiary: {
|
|
134
|
+
hue: "gray",
|
|
135
|
+
step: "7"
|
|
136
|
+
},
|
|
137
|
+
muted: {
|
|
138
|
+
hue: "gray",
|
|
139
|
+
step: "3"
|
|
140
|
+
},
|
|
141
|
+
accent: {
|
|
142
|
+
hue: "carbon",
|
|
143
|
+
step: "2"
|
|
144
|
+
},
|
|
145
|
+
brand: {
|
|
146
|
+
hue: "purple",
|
|
147
|
+
step: "9"
|
|
148
|
+
},
|
|
149
|
+
"brand-secondary": {
|
|
150
|
+
hue: "purple",
|
|
151
|
+
step: "6"
|
|
152
|
+
},
|
|
153
|
+
info: {
|
|
154
|
+
hue: "blue",
|
|
155
|
+
step: "9"
|
|
156
|
+
},
|
|
157
|
+
"info-secondary": {
|
|
158
|
+
hue: "blue",
|
|
159
|
+
step: "5"
|
|
160
|
+
},
|
|
161
|
+
alert: {
|
|
162
|
+
hue: "red",
|
|
163
|
+
step: "9"
|
|
164
|
+
},
|
|
165
|
+
"alert-secondary": {
|
|
166
|
+
hue: "red",
|
|
167
|
+
step: "5"
|
|
168
|
+
},
|
|
169
|
+
positive: {
|
|
170
|
+
hue: "green",
|
|
171
|
+
step: "9"
|
|
172
|
+
},
|
|
173
|
+
"positive-secondary": {
|
|
174
|
+
hue: "green",
|
|
175
|
+
step: "5"
|
|
176
|
+
},
|
|
177
|
+
warning: {
|
|
178
|
+
hue: "orange",
|
|
179
|
+
step: "9"
|
|
180
|
+
},
|
|
181
|
+
"warning-secondary": {
|
|
182
|
+
hue: "orange",
|
|
183
|
+
step: "7"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
shadow: {
|
|
187
|
+
primary: {
|
|
188
|
+
hue: "carbon",
|
|
189
|
+
step: "12"
|
|
190
|
+
},
|
|
191
|
+
secondary: {
|
|
192
|
+
hue: "purple",
|
|
193
|
+
step: "9"
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
//#endregion
|
|
199
|
+
export { lightPalette };
|