@yahoo/uds 3.169.0 → 3.170.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/automated-config/dist/generated/autoVariantTemplates.cjs +218 -0
- package/dist/automated-config/dist/generated/autoVariantTemplates.js +218 -0
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.cts +2 -2
- package/dist/automated-config/dist/utils/getConfigVariantProperties.d.ts +2 -2
- package/dist/components/Icon.cjs +3 -6
- package/dist/components/Icon.js +3 -6
- package/dist/components/IconSlot.cjs +1 -1
- package/dist/components/IconSlot.js +1 -1
- package/dist/components/client/Button/Button.cjs +1 -1
- package/dist/components/client/Button/Button.js +1 -1
- package/dist/components/client/IconButton/IconButton.cjs +1 -1
- package/dist/components/client/IconButton/IconButton.js +1 -1
- package/dist/components/client/Menu/Menu.Content.cjs +1 -1
- package/dist/components/client/Menu/Menu.Content.js +1 -1
- package/dist/components/client/Popover/PopoverContent.cjs +1 -1
- package/dist/components/client/Popover/PopoverContent.js +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.cts +1 -1
- package/dist/components/client/Popover/UDSPopoverConfigProvider.d.ts +1 -1
- package/dist/components/client/Toast/UDSToastConfigProvider.d.cts +5 -5
- package/dist/components/client/Toast/UDSToastConfigProvider.d.ts +5 -5
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/styles/styleVariantTemplates.cjs +146 -0
- package/dist/styles/styleVariantTemplates.d.cts +161 -0
- package/dist/styles/styleVariantTemplates.d.ts +161 -0
- package/dist/styles/styleVariantTemplates.js +145 -0
- package/dist/styles/styler.cjs +32 -21
- package/dist/styles/styler.d.cts +13 -281
- package/dist/styles/styler.d.ts +13 -281
- package/dist/styles/styler.js +32 -21
- package/dist/styles/stylerTypes.d.cts +1 -1
- package/dist/styles/stylerTypes.d.ts +1 -1
- package/dist/styles/textColorVariants.cjs +40 -0
- package/dist/styles/textColorVariants.d.cts +39 -0
- package/dist/styles/textColorVariants.d.ts +39 -0
- package/dist/styles/textColorVariants.js +39 -0
- package/dist/styles/udsTailwindMerge.cjs +522 -0
- package/dist/styles/udsTailwindMerge.d.cts +7 -0
- package/dist/styles/udsTailwindMerge.d.ts +7 -0
- package/dist/styles/udsTailwindMerge.js +520 -0
- package/dist/styles/variantClass.cjs +31 -0
- package/dist/styles/variantClass.d.cts +12 -0
- package/dist/styles/variantClass.d.ts +12 -0
- package/dist/styles/variantClass.js +30 -0
- package/dist/styles/variants.cjs +3 -29
- package/dist/styles/variants.js +3 -29
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.cts +2 -2
- package/dist/tailwind-internal/dist/utils/getShadowStyles.d.ts +2 -2
- package/dist/tokens/index.cjs +1 -1
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/utils/getFontUrls.cjs +8 -1
- package/dist/tokens/utils/getFontUrls.d.cts +7 -0
- package/dist/tokens/utils/getFontUrls.d.ts +7 -0
- package/dist/tokens/utils/getFontUrls.js +8 -1
- package/dist/uds/generated/componentData.cjs +365 -361
- package/dist/uds/generated/componentData.js +365 -361
- package/dist/uds/generated/tailwindPurge.cjs +80 -80
- package/dist/uds/generated/tailwindPurge.js +80 -80
- package/generated/componentData.json +590 -590
- package/generated/tailwindPurge.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,522 @@
|
|
|
1
|
+
/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
require("../_virtual/_rolldown/runtime.cjs");
|
|
4
|
+
let tailwind_merge = require("tailwind-merge");
|
|
5
|
+
//#region src/styles/udsTailwindMerge.ts
|
|
6
|
+
/**
|
|
7
|
+
* A tailwind-merge instance scoped to the class vocabulary UDS can emit.
|
|
8
|
+
*
|
|
9
|
+
* tailwind-merge's default configuration catalogues every Tailwind utility and
|
|
10
|
+
* is ~82% of the library's size (20.3 kB vs 3.6 kB minified for the engine
|
|
11
|
+
* alone). UDS only needs conflict resolution between the classes its style
|
|
12
|
+
* props generate (see `styleVariantTemplates.ts`) and consumer `className`
|
|
13
|
+
* overrides, so this from-scratch config enumerates exactly that vocabulary:
|
|
14
|
+
* the engine still handles variant modifiers (`hover:`, `placeholder:`),
|
|
15
|
+
* `!important`, arbitrary values, and negative utilities.
|
|
16
|
+
*
|
|
17
|
+
* Guard groups exist for consumer utilities that share a prefix with a UDS
|
|
18
|
+
* group but target a different CSS property (`text-lg` vs `text-primary`,
|
|
19
|
+
* `border-2` vs `border-primary`, `font-bold` vs `font-icons`, `bg-cover` vs
|
|
20
|
+
* `bg-primary`) so a consumer override never deletes an unrelated UDS class.
|
|
21
|
+
*
|
|
22
|
+
* Known, intentional behavior difference from the previous full-config merge:
|
|
23
|
+
* conflicts between two classes *outside* this vocabulary (e.g.
|
|
24
|
+
* `cx('mt-2', 'columns-3', 'columns-2')` in consumer code) are passed through
|
|
25
|
+
* unmerged and CSS order decides. UDS never emits such classes, and
|
|
26
|
+
* `udsTailwindMerge.test.ts` verifies parity with the previous behavior for
|
|
27
|
+
* every class UDS does emit.
|
|
28
|
+
*/
|
|
29
|
+
const anyValue = () => true;
|
|
30
|
+
const TEXT_VARIANT_NAMES = [
|
|
31
|
+
"display1",
|
|
32
|
+
"display2",
|
|
33
|
+
"display3",
|
|
34
|
+
"title1",
|
|
35
|
+
"title2",
|
|
36
|
+
"title3",
|
|
37
|
+
"title4",
|
|
38
|
+
"headline1",
|
|
39
|
+
"body1",
|
|
40
|
+
"label1",
|
|
41
|
+
"label2",
|
|
42
|
+
"label3",
|
|
43
|
+
"label4",
|
|
44
|
+
"caption1",
|
|
45
|
+
"caption2",
|
|
46
|
+
"legal1",
|
|
47
|
+
"ui1",
|
|
48
|
+
"ui2",
|
|
49
|
+
"ui3",
|
|
50
|
+
"ui4",
|
|
51
|
+
"ui5",
|
|
52
|
+
"ui6"
|
|
53
|
+
];
|
|
54
|
+
const isTextVariant = (value) => TEXT_VARIANT_NAMES.includes(value.split("/")[0]);
|
|
55
|
+
const isArbitraryLength = (value) => /^\[(length:|\d|\.\d)/.test(value);
|
|
56
|
+
const isTshirtSize = (value) => /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/.test(value);
|
|
57
|
+
const isBorderWidth = (value) => /^\d+$/.test(value) || value === "thin" || value === "medium" || value === "thick" || value.startsWith("width-elevation-");
|
|
58
|
+
const udsTwMerge = /* @__PURE__ */ (0, tailwind_merge.createTailwindMerge)(() => ({
|
|
59
|
+
cacheSize: 500,
|
|
60
|
+
separator: ":",
|
|
61
|
+
theme: {},
|
|
62
|
+
classGroups: {
|
|
63
|
+
"text-align": [{ text: [
|
|
64
|
+
"center",
|
|
65
|
+
"justify",
|
|
66
|
+
"start",
|
|
67
|
+
"end",
|
|
68
|
+
"left",
|
|
69
|
+
"right"
|
|
70
|
+
] }],
|
|
71
|
+
"text-overflow": ["truncate", { text: ["ellipsis", "clip"] }],
|
|
72
|
+
"text-wrap": [{ text: [
|
|
73
|
+
"wrap",
|
|
74
|
+
"nowrap",
|
|
75
|
+
"balance",
|
|
76
|
+
"pretty"
|
|
77
|
+
] }],
|
|
78
|
+
"font-size": [{ text: [
|
|
79
|
+
"base",
|
|
80
|
+
isTshirtSize,
|
|
81
|
+
isTextVariant,
|
|
82
|
+
isArbitraryLength
|
|
83
|
+
] }],
|
|
84
|
+
"text-opacity": [{ "text-opacity": [anyValue] }],
|
|
85
|
+
"text-color": [{ text: [anyValue] }],
|
|
86
|
+
"font-weight": [{ font: [
|
|
87
|
+
"thin",
|
|
88
|
+
"extralight",
|
|
89
|
+
"light",
|
|
90
|
+
"normal",
|
|
91
|
+
"medium",
|
|
92
|
+
"semibold",
|
|
93
|
+
"bold",
|
|
94
|
+
"extrabold",
|
|
95
|
+
"black"
|
|
96
|
+
] }],
|
|
97
|
+
"font-style": ["italic", "not-italic"],
|
|
98
|
+
"font-family": [{ font: ["icons", isTextVariant] }],
|
|
99
|
+
leading: [{ leading: [anyValue] }],
|
|
100
|
+
tracking: [{ tracking: [anyValue] }],
|
|
101
|
+
"uds-font-family": [{ "uds-font-family": [anyValue] }],
|
|
102
|
+
"uds-font-size": [{ "uds-font-size": [anyValue] }],
|
|
103
|
+
"uds-font-weight": [{ "uds-font-weight": [anyValue] }],
|
|
104
|
+
"uds-line-height": [{ "uds-line-height": [anyValue] }],
|
|
105
|
+
"uds-letter-spacing": [{ "uds-letter-spacing": [anyValue] }],
|
|
106
|
+
"uds-text-transform": [
|
|
107
|
+
{ "uds-text-transform": [anyValue] },
|
|
108
|
+
"normal-case",
|
|
109
|
+
"uppercase",
|
|
110
|
+
"lowercase",
|
|
111
|
+
"capitalize"
|
|
112
|
+
],
|
|
113
|
+
p: [{ p: [anyValue] }],
|
|
114
|
+
px: [{ px: [anyValue] }],
|
|
115
|
+
py: [{ py: [anyValue] }],
|
|
116
|
+
ps: [{ ps: [anyValue] }],
|
|
117
|
+
pe: [{ pe: [anyValue] }],
|
|
118
|
+
pt: [{ pt: [anyValue] }],
|
|
119
|
+
pb: [{ pb: [anyValue] }],
|
|
120
|
+
m: [{ m: [anyValue] }],
|
|
121
|
+
mx: [{ mx: [anyValue] }],
|
|
122
|
+
my: [{ my: [anyValue] }],
|
|
123
|
+
ms: [{ ms: [anyValue] }],
|
|
124
|
+
me: [{ me: [anyValue] }],
|
|
125
|
+
mt: [{ mt: [anyValue] }],
|
|
126
|
+
mb: [{ mb: [anyValue] }],
|
|
127
|
+
gap: [{ gap: [anyValue] }],
|
|
128
|
+
"gap-x": [{ "gap-x": [anyValue] }],
|
|
129
|
+
"gap-y": [{ "gap-y": [anyValue] }],
|
|
130
|
+
"bg-size": [{ bg: [
|
|
131
|
+
"auto",
|
|
132
|
+
"cover",
|
|
133
|
+
"contain"
|
|
134
|
+
] }],
|
|
135
|
+
"bg-position": [{ bg: [
|
|
136
|
+
"center",
|
|
137
|
+
"top",
|
|
138
|
+
"bottom",
|
|
139
|
+
"left",
|
|
140
|
+
"right",
|
|
141
|
+
"left-top",
|
|
142
|
+
"left-bottom",
|
|
143
|
+
"right-top",
|
|
144
|
+
"right-bottom"
|
|
145
|
+
] }],
|
|
146
|
+
"bg-repeat": [{ bg: [
|
|
147
|
+
"repeat",
|
|
148
|
+
"no-repeat",
|
|
149
|
+
"repeat-x",
|
|
150
|
+
"repeat-y",
|
|
151
|
+
"repeat-round",
|
|
152
|
+
"repeat-space"
|
|
153
|
+
] }],
|
|
154
|
+
"bg-attachment": [{ bg: [
|
|
155
|
+
"fixed",
|
|
156
|
+
"local",
|
|
157
|
+
"scroll"
|
|
158
|
+
] }],
|
|
159
|
+
"bg-clip": [{ "bg-clip": [
|
|
160
|
+
"border",
|
|
161
|
+
"padding",
|
|
162
|
+
"content",
|
|
163
|
+
"text"
|
|
164
|
+
] }],
|
|
165
|
+
"bg-origin": [{ "bg-origin": [
|
|
166
|
+
"border",
|
|
167
|
+
"padding",
|
|
168
|
+
"content"
|
|
169
|
+
] }],
|
|
170
|
+
"bg-blend": [{ "bg-blend": [anyValue] }],
|
|
171
|
+
"bg-image": ["bg-none", { "bg-gradient-to": [anyValue] }],
|
|
172
|
+
"bg-opacity": [{ "bg-opacity": [anyValue] }],
|
|
173
|
+
"bg-color": [{ bg: [anyValue] }],
|
|
174
|
+
"border-width": ["border", { border: [isBorderWidth] }],
|
|
175
|
+
"border-width-x": ["border-x", { "border-x": [isBorderWidth] }],
|
|
176
|
+
"border-width-y": ["border-y", { "border-y": [isBorderWidth] }],
|
|
177
|
+
"border-width-s": ["border-s", { "border-s": [isBorderWidth] }],
|
|
178
|
+
"border-width-e": ["border-e", { "border-e": [isBorderWidth] }],
|
|
179
|
+
"border-width-t": ["border-t", { "border-t": [isBorderWidth] }],
|
|
180
|
+
"border-width-r": ["border-r", { "border-r": [isBorderWidth] }],
|
|
181
|
+
"border-width-b": ["border-b", { "border-b": [isBorderWidth] }],
|
|
182
|
+
"border-width-l": ["border-l", { "border-l": [isBorderWidth] }],
|
|
183
|
+
"border-style": [{ border: [
|
|
184
|
+
"solid",
|
|
185
|
+
"dashed",
|
|
186
|
+
"dotted",
|
|
187
|
+
"double",
|
|
188
|
+
"hidden",
|
|
189
|
+
"none"
|
|
190
|
+
] }],
|
|
191
|
+
"border-collapse": ["border-collapse", "border-separate"],
|
|
192
|
+
"border-spacing": [{ "border-spacing": [anyValue] }],
|
|
193
|
+
"border-spacing-x": [{ "border-spacing-x": [anyValue] }],
|
|
194
|
+
"border-spacing-y": [{ "border-spacing-y": [anyValue] }],
|
|
195
|
+
"border-opacity": [{ "border-opacity": [anyValue] }],
|
|
196
|
+
"border-color": [{ border: [anyValue] }],
|
|
197
|
+
"border-color-x": [{ "border-x": [anyValue] }],
|
|
198
|
+
"border-color-y": [{ "border-y": [anyValue] }],
|
|
199
|
+
"border-color-s": [{ "border-s": [anyValue] }],
|
|
200
|
+
"border-color-e": [{ "border-e": [anyValue] }],
|
|
201
|
+
"border-color-t": [{ "border-t": [anyValue] }],
|
|
202
|
+
"border-color-r": [{ "border-r": [anyValue] }],
|
|
203
|
+
"border-color-b": [{ "border-b": [anyValue] }],
|
|
204
|
+
"border-color-l": [{ "border-l": [anyValue] }],
|
|
205
|
+
"uds-border-radius": [{ "uds-border-radius": [anyValue] }],
|
|
206
|
+
"uds-border-radius-ts": [{ "uds-border-top-start-radius": [anyValue] }],
|
|
207
|
+
"uds-border-radius-te": [{ "uds-border-top-end-radius": [anyValue] }],
|
|
208
|
+
"uds-border-radius-bs": [{ "uds-border-bottom-start-radius": [anyValue] }],
|
|
209
|
+
"uds-border-radius-be": [{ "uds-border-bottom-end-radius": [anyValue] }],
|
|
210
|
+
"uds-border-width": [{ "uds-border-width": [anyValue] }],
|
|
211
|
+
"uds-border-width-x": [{ "uds-border-width-x": [anyValue] }],
|
|
212
|
+
"uds-border-width-y": [{ "uds-border-width-y": [anyValue] }],
|
|
213
|
+
"uds-border-width-s": [{ "uds-border-width-start": [anyValue] }],
|
|
214
|
+
"uds-border-width-e": [{ "uds-border-width-end": [anyValue] }],
|
|
215
|
+
"uds-border-width-t": [{ "uds-border-width-top": [anyValue] }],
|
|
216
|
+
"uds-border-width-b": [{ "uds-border-width-bottom": [anyValue] }],
|
|
217
|
+
"uds-nested-border-radius": [
|
|
218
|
+
"uds-nested-border-radius",
|
|
219
|
+
"uds-nested-border-radius-first",
|
|
220
|
+
"uds-nested-border-radius-last"
|
|
221
|
+
],
|
|
222
|
+
"uds-nested-border-radius-size": [{ "uds-nested-border-radius-size": [anyValue] }],
|
|
223
|
+
"uds-nested-border-radius-width": [{ "uds-nested-border-radius-width": [anyValue] }],
|
|
224
|
+
"uds-nested-border-radius-spacing": [{ "uds-nested-border-radius-spacing": [anyValue] }],
|
|
225
|
+
"uds-drop-shadow": [{ "uds-drop-shadow": [anyValue] }],
|
|
226
|
+
"uds-inset-shadow": [{ "uds-inset-shadow": [anyValue] }],
|
|
227
|
+
"uds-color-mode": [{ "uds-color-mode": [anyValue] }],
|
|
228
|
+
"uds-scale-mode": [{ "uds-scale-mode": [anyValue] }],
|
|
229
|
+
avatarSize: [{ avatarSize: [anyValue] }],
|
|
230
|
+
iconSize: [{ iconSize: [anyValue] }],
|
|
231
|
+
w: [{ w: [anyValue] }],
|
|
232
|
+
h: [{ h: [anyValue] }],
|
|
233
|
+
size: [{ size: [anyValue] }],
|
|
234
|
+
basis: [{ basis: [anyValue] }],
|
|
235
|
+
content: ["content-none", { content: [(value) => value.startsWith("[")] }],
|
|
236
|
+
"align-content": [{ content: [anyValue] }],
|
|
237
|
+
"align-items": [{ items: [anyValue] }],
|
|
238
|
+
"align-self": [{ self: [anyValue] }],
|
|
239
|
+
"justify-items": [{ "justify-items": [anyValue] }],
|
|
240
|
+
"justify-self": [{ "justify-self": [anyValue] }],
|
|
241
|
+
"justify-content": [{ justify: [anyValue] }],
|
|
242
|
+
flex: [{ flex: [
|
|
243
|
+
"1",
|
|
244
|
+
"auto",
|
|
245
|
+
"initial",
|
|
246
|
+
"none"
|
|
247
|
+
] }],
|
|
248
|
+
"flex-direction": [{ flex: [
|
|
249
|
+
"row",
|
|
250
|
+
"row-reverse",
|
|
251
|
+
"col",
|
|
252
|
+
"col-reverse"
|
|
253
|
+
] }],
|
|
254
|
+
"flex-wrap": [{ flex: [
|
|
255
|
+
"wrap",
|
|
256
|
+
"wrap-reverse",
|
|
257
|
+
"nowrap"
|
|
258
|
+
] }],
|
|
259
|
+
grow: ["grow", { grow: [anyValue] }],
|
|
260
|
+
shrink: ["shrink", { shrink: [anyValue] }],
|
|
261
|
+
display: [
|
|
262
|
+
"block",
|
|
263
|
+
"inline-block",
|
|
264
|
+
"inline",
|
|
265
|
+
"flex",
|
|
266
|
+
"inline-flex",
|
|
267
|
+
"table",
|
|
268
|
+
"inline-table",
|
|
269
|
+
"table-caption",
|
|
270
|
+
"table-cell",
|
|
271
|
+
"table-column",
|
|
272
|
+
"table-column-group",
|
|
273
|
+
"table-footer-group",
|
|
274
|
+
"table-header-group",
|
|
275
|
+
"table-row-group",
|
|
276
|
+
"table-row",
|
|
277
|
+
"flow-root",
|
|
278
|
+
"grid",
|
|
279
|
+
"inline-grid",
|
|
280
|
+
"contents",
|
|
281
|
+
"list-item",
|
|
282
|
+
"hidden"
|
|
283
|
+
],
|
|
284
|
+
position: [
|
|
285
|
+
"static",
|
|
286
|
+
"fixed",
|
|
287
|
+
"absolute",
|
|
288
|
+
"relative",
|
|
289
|
+
"sticky"
|
|
290
|
+
],
|
|
291
|
+
overflow: [{ overflow: [anyValue] }],
|
|
292
|
+
"overflow-x": [{ "overflow-x": [anyValue] }],
|
|
293
|
+
"overflow-y": [{ "overflow-y": [anyValue] }],
|
|
294
|
+
"object-fit": [{ object: [
|
|
295
|
+
"contain",
|
|
296
|
+
"cover",
|
|
297
|
+
"fill",
|
|
298
|
+
"none",
|
|
299
|
+
"scale-down"
|
|
300
|
+
] }],
|
|
301
|
+
"object-position": [{ object: [anyValue] }],
|
|
302
|
+
opacity: [{ opacity: [anyValue] }],
|
|
303
|
+
cursor: [{ cursor: [anyValue] }],
|
|
304
|
+
"pointer-events": [{ "pointer-events": [anyValue] }],
|
|
305
|
+
visibility: [
|
|
306
|
+
"visible",
|
|
307
|
+
"invisible",
|
|
308
|
+
"collapse"
|
|
309
|
+
],
|
|
310
|
+
transition: ["transition", { transition: [anyValue] }],
|
|
311
|
+
duration: [{ duration: [anyValue] }],
|
|
312
|
+
ease: [{ ease: [anyValue] }],
|
|
313
|
+
delay: [{ delay: [anyValue] }],
|
|
314
|
+
animate: [{ animate: [anyValue] }],
|
|
315
|
+
z: [{ z: [anyValue] }],
|
|
316
|
+
inset: [{ inset: [anyValue] }],
|
|
317
|
+
"inset-x": [{ "inset-x": [anyValue] }],
|
|
318
|
+
"inset-y": [{ "inset-y": [anyValue] }],
|
|
319
|
+
top: [{ top: [anyValue] }],
|
|
320
|
+
right: [{ right: [anyValue] }],
|
|
321
|
+
bottom: [{ bottom: [anyValue] }],
|
|
322
|
+
left: [{ left: [anyValue] }],
|
|
323
|
+
"translate-x": [{ "translate-x": [anyValue] }],
|
|
324
|
+
"translate-y": [{ "translate-y": [anyValue] }],
|
|
325
|
+
scale: [{ scale: [anyValue] }],
|
|
326
|
+
"scale-x": [{ "scale-x": [anyValue] }],
|
|
327
|
+
"scale-y": [{ "scale-y": [anyValue] }],
|
|
328
|
+
rounded: ["rounded", { rounded: [anyValue] }],
|
|
329
|
+
"rounded-s": ["rounded-s", { "rounded-s": [anyValue] }],
|
|
330
|
+
"rounded-e": ["rounded-e", { "rounded-e": [anyValue] }],
|
|
331
|
+
"rounded-t": ["rounded-t", { "rounded-t": [anyValue] }],
|
|
332
|
+
"rounded-r": ["rounded-r", { "rounded-r": [anyValue] }],
|
|
333
|
+
"rounded-b": ["rounded-b", { "rounded-b": [anyValue] }],
|
|
334
|
+
"rounded-l": ["rounded-l", { "rounded-l": [anyValue] }],
|
|
335
|
+
"rounded-ss": ["rounded-ss", { "rounded-ss": [anyValue] }],
|
|
336
|
+
"rounded-se": ["rounded-se", { "rounded-se": [anyValue] }],
|
|
337
|
+
"rounded-ee": ["rounded-ee", { "rounded-ee": [anyValue] }],
|
|
338
|
+
"rounded-es": ["rounded-es", { "rounded-es": [anyValue] }],
|
|
339
|
+
"rounded-tl": ["rounded-tl", { "rounded-tl": [anyValue] }],
|
|
340
|
+
"rounded-tr": ["rounded-tr", { "rounded-tr": [anyValue] }],
|
|
341
|
+
"rounded-br": ["rounded-br", { "rounded-br": [anyValue] }],
|
|
342
|
+
"rounded-bl": ["rounded-bl", { "rounded-bl": [anyValue] }],
|
|
343
|
+
"min-w": [{ "min-w": [anyValue] }],
|
|
344
|
+
"min-h": [{ "min-h": [anyValue] }],
|
|
345
|
+
"max-w": [{ "max-w": [anyValue] }],
|
|
346
|
+
"max-h": [{ "max-h": [anyValue] }],
|
|
347
|
+
shadow: ["shadow", { shadow: [
|
|
348
|
+
"inner",
|
|
349
|
+
"none",
|
|
350
|
+
isTshirtSize,
|
|
351
|
+
isArbitraryLength
|
|
352
|
+
] }],
|
|
353
|
+
"shadow-color": [{ shadow: [anyValue] }],
|
|
354
|
+
"outline-style": [
|
|
355
|
+
"outline",
|
|
356
|
+
"outline-none",
|
|
357
|
+
{ outline: [
|
|
358
|
+
"dashed",
|
|
359
|
+
"dotted",
|
|
360
|
+
"double"
|
|
361
|
+
] }
|
|
362
|
+
],
|
|
363
|
+
"outline-offset": [{ "outline-offset": [anyValue] }],
|
|
364
|
+
select: [{ select: [anyValue] }],
|
|
365
|
+
touch: [{ touch: [
|
|
366
|
+
"auto",
|
|
367
|
+
"none",
|
|
368
|
+
"manipulation"
|
|
369
|
+
] }],
|
|
370
|
+
"touch-x": [{ "touch-pan": [
|
|
371
|
+
"x",
|
|
372
|
+
"left",
|
|
373
|
+
"right"
|
|
374
|
+
] }],
|
|
375
|
+
"touch-y": [{ "touch-pan": [
|
|
376
|
+
"y",
|
|
377
|
+
"up",
|
|
378
|
+
"down"
|
|
379
|
+
] }],
|
|
380
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
381
|
+
whitespace: [{ whitespace: [anyValue] }],
|
|
382
|
+
fill: [{ fill: [anyValue] }],
|
|
383
|
+
"line-clamp": [{ "line-clamp": [anyValue] }],
|
|
384
|
+
"list-style-type": [
|
|
385
|
+
"list-none",
|
|
386
|
+
"list-disc",
|
|
387
|
+
"list-decimal"
|
|
388
|
+
],
|
|
389
|
+
appearance: [{ appearance: [anyValue] }],
|
|
390
|
+
"box-sizing": ["box-border", "box-content"],
|
|
391
|
+
sr: ["sr-only", "not-sr-only"],
|
|
392
|
+
"fvn-spacing": [
|
|
393
|
+
"normal-nums",
|
|
394
|
+
"tabular-nums",
|
|
395
|
+
"proportional-nums"
|
|
396
|
+
],
|
|
397
|
+
"place-content": [{ "place-content": [anyValue] }],
|
|
398
|
+
"place-items": [{ "place-items": [anyValue] }],
|
|
399
|
+
"grid-flow": [{ "grid-flow": [anyValue] }],
|
|
400
|
+
"grid-cols": [{ "grid-cols": [anyValue] }],
|
|
401
|
+
"auto-cols": [{ "auto-cols": [anyValue] }],
|
|
402
|
+
"col-start-end": ["col-auto", { "col-span": [anyValue] }],
|
|
403
|
+
"col-start": [{ "col-start": [anyValue] }],
|
|
404
|
+
"col-end": [{ "col-end": [anyValue] }],
|
|
405
|
+
aspect: [{ aspect: [anyValue] }],
|
|
406
|
+
"text-decoration": [
|
|
407
|
+
"underline",
|
|
408
|
+
"overline",
|
|
409
|
+
"line-through",
|
|
410
|
+
"no-underline"
|
|
411
|
+
]
|
|
412
|
+
},
|
|
413
|
+
conflictingClassGroups: {
|
|
414
|
+
p: [
|
|
415
|
+
"px",
|
|
416
|
+
"py",
|
|
417
|
+
"ps",
|
|
418
|
+
"pe",
|
|
419
|
+
"pt",
|
|
420
|
+
"pb"
|
|
421
|
+
],
|
|
422
|
+
py: ["pt", "pb"],
|
|
423
|
+
m: [
|
|
424
|
+
"mx",
|
|
425
|
+
"my",
|
|
426
|
+
"ms",
|
|
427
|
+
"me",
|
|
428
|
+
"mt",
|
|
429
|
+
"mb"
|
|
430
|
+
],
|
|
431
|
+
my: ["mt", "mb"],
|
|
432
|
+
gap: ["gap-x", "gap-y"],
|
|
433
|
+
"border-width": [
|
|
434
|
+
"border-width-s",
|
|
435
|
+
"border-width-e",
|
|
436
|
+
"border-width-t",
|
|
437
|
+
"border-width-r",
|
|
438
|
+
"border-width-b",
|
|
439
|
+
"border-width-l"
|
|
440
|
+
],
|
|
441
|
+
"border-width-x": ["border-width-r", "border-width-l"],
|
|
442
|
+
"border-width-y": ["border-width-t", "border-width-b"],
|
|
443
|
+
"border-color": [
|
|
444
|
+
"border-color-s",
|
|
445
|
+
"border-color-e",
|
|
446
|
+
"border-color-t",
|
|
447
|
+
"border-color-r",
|
|
448
|
+
"border-color-b",
|
|
449
|
+
"border-color-l"
|
|
450
|
+
],
|
|
451
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
452
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
453
|
+
size: ["w", "h"],
|
|
454
|
+
rounded: [
|
|
455
|
+
"rounded-s",
|
|
456
|
+
"rounded-e",
|
|
457
|
+
"rounded-t",
|
|
458
|
+
"rounded-r",
|
|
459
|
+
"rounded-b",
|
|
460
|
+
"rounded-l",
|
|
461
|
+
"rounded-ss",
|
|
462
|
+
"rounded-se",
|
|
463
|
+
"rounded-ee",
|
|
464
|
+
"rounded-es",
|
|
465
|
+
"rounded-tl",
|
|
466
|
+
"rounded-tr",
|
|
467
|
+
"rounded-br",
|
|
468
|
+
"rounded-bl"
|
|
469
|
+
],
|
|
470
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
471
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
472
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
473
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
474
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
475
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
476
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
477
|
+
touch: [
|
|
478
|
+
"touch-x",
|
|
479
|
+
"touch-y",
|
|
480
|
+
"touch-pz"
|
|
481
|
+
],
|
|
482
|
+
"touch-x": ["touch"],
|
|
483
|
+
"touch-y": ["touch"],
|
|
484
|
+
"touch-pz": ["touch"],
|
|
485
|
+
"uds-border-radius": [
|
|
486
|
+
"uds-border-radius-ts",
|
|
487
|
+
"uds-border-radius-te",
|
|
488
|
+
"uds-border-radius-bs",
|
|
489
|
+
"uds-border-radius-be"
|
|
490
|
+
],
|
|
491
|
+
"uds-border-width": [
|
|
492
|
+
"uds-border-width-x",
|
|
493
|
+
"uds-border-width-y",
|
|
494
|
+
"uds-border-width-s",
|
|
495
|
+
"uds-border-width-e",
|
|
496
|
+
"uds-border-width-t",
|
|
497
|
+
"uds-border-width-b"
|
|
498
|
+
],
|
|
499
|
+
"uds-border-width-x": ["uds-border-width-s", "uds-border-width-e"],
|
|
500
|
+
"uds-border-width-y": ["uds-border-width-t", "uds-border-width-b"],
|
|
501
|
+
flex: [
|
|
502
|
+
"basis",
|
|
503
|
+
"grow",
|
|
504
|
+
"shrink"
|
|
505
|
+
],
|
|
506
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
507
|
+
inset: [
|
|
508
|
+
"inset-x",
|
|
509
|
+
"inset-y",
|
|
510
|
+
"top",
|
|
511
|
+
"right",
|
|
512
|
+
"bottom",
|
|
513
|
+
"left"
|
|
514
|
+
],
|
|
515
|
+
"inset-x": ["left", "right"],
|
|
516
|
+
"inset-y": ["top", "bottom"],
|
|
517
|
+
"line-clamp": ["display", "overflow"]
|
|
518
|
+
},
|
|
519
|
+
conflictingClassGroupModifiers: {}
|
|
520
|
+
}));
|
|
521
|
+
//#endregion
|
|
522
|
+
exports.udsTwMerge = udsTwMerge;
|