@pixpilot/shadcn-ui 0.4.2 → 0.4.4

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.
@@ -1,1894 +0,0 @@
1
-
2
- //#region ../../node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
3
- /**
4
- * Concatenates two arrays faster than the array spread operator.
5
- */
6
- const concatArrays = (array1, array2) => {
7
- const combinedArray = new Array(array1.length + array2.length);
8
- for (let i = 0; i < array1.length; i++) combinedArray[i] = array1[i];
9
- for (let i = 0; i < array2.length; i++) combinedArray[array1.length + i] = array2[i];
10
- return combinedArray;
11
- };
12
- const createClassValidatorObject = (classGroupId, validator) => ({
13
- classGroupId,
14
- validator
15
- });
16
- const createClassPartObject = (nextPart = /* @__PURE__ */ new Map(), validators = null, classGroupId) => ({
17
- nextPart,
18
- validators,
19
- classGroupId
20
- });
21
- const CLASS_PART_SEPARATOR = "-";
22
- const EMPTY_CONFLICTS = [];
23
- const ARBITRARY_PROPERTY_PREFIX = "arbitrary..";
24
- const createClassGroupUtils = (config) => {
25
- const classMap = createClassMap(config);
26
- const { conflictingClassGroups, conflictingClassGroupModifiers } = config;
27
- const getClassGroupId = (className) => {
28
- if (className.startsWith("[") && className.endsWith("]")) return getGroupIdForArbitraryProperty(className);
29
- const classParts = className.split(CLASS_PART_SEPARATOR);
30
- return getGroupRecursive(classParts, classParts[0] === "" && classParts.length > 1 ? 1 : 0, classMap);
31
- };
32
- const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
33
- if (hasPostfixModifier) {
34
- const modifierConflicts = conflictingClassGroupModifiers[classGroupId];
35
- const baseConflicts = conflictingClassGroups[classGroupId];
36
- if (modifierConflicts) {
37
- if (baseConflicts) return concatArrays(baseConflicts, modifierConflicts);
38
- return modifierConflicts;
39
- }
40
- return baseConflicts || EMPTY_CONFLICTS;
41
- }
42
- return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
43
- };
44
- return {
45
- getClassGroupId,
46
- getConflictingClassGroupIds
47
- };
48
- };
49
- const getGroupRecursive = (classParts, startIndex, classPartObject) => {
50
- if (classParts.length - startIndex === 0) return classPartObject.classGroupId;
51
- const currentClassPart = classParts[startIndex];
52
- const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
53
- if (nextClassPartObject) {
54
- const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
55
- if (result) return result;
56
- }
57
- const validators = classPartObject.validators;
58
- if (validators === null) return;
59
- const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
60
- const validatorsLength = validators.length;
61
- for (let i = 0; i < validatorsLength; i++) {
62
- const validatorObj = validators[i];
63
- if (validatorObj.validator(classRest)) return validatorObj.classGroupId;
64
- }
65
- };
66
- /**
67
- * Get the class group ID for an arbitrary property.
68
- *
69
- * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.
70
- */
71
- const getGroupIdForArbitraryProperty = (className) => className.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
72
- const content = className.slice(1, -1);
73
- const colonIndex = content.indexOf(":");
74
- const property = content.slice(0, colonIndex);
75
- return property ? ARBITRARY_PROPERTY_PREFIX + property : void 0;
76
- })();
77
- /**
78
- * Exported for testing only
79
- */
80
- const createClassMap = (config) => {
81
- const { theme, classGroups } = config;
82
- return processClassGroups(classGroups, theme);
83
- };
84
- const processClassGroups = (classGroups, theme) => {
85
- const classMap = createClassPartObject();
86
- for (const classGroupId in classGroups) {
87
- const group = classGroups[classGroupId];
88
- processClassesRecursively(group, classMap, classGroupId, theme);
89
- }
90
- return classMap;
91
- };
92
- const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
93
- const len = classGroup.length;
94
- for (let i = 0; i < len; i++) {
95
- const classDefinition = classGroup[i];
96
- processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
97
- }
98
- };
99
- const processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
100
- if (typeof classDefinition === "string") {
101
- processStringDefinition(classDefinition, classPartObject, classGroupId);
102
- return;
103
- }
104
- if (typeof classDefinition === "function") {
105
- processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
106
- return;
107
- }
108
- processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);
109
- };
110
- const processStringDefinition = (classDefinition, classPartObject, classGroupId) => {
111
- const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
112
- classPartObjectToEdit.classGroupId = classGroupId;
113
- };
114
- const processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
115
- if (isThemeGetter(classDefinition)) {
116
- processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
117
- return;
118
- }
119
- if (classPartObject.validators === null) classPartObject.validators = [];
120
- classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));
121
- };
122
- const processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
123
- const entries = Object.entries(classDefinition);
124
- const len = entries.length;
125
- for (let i = 0; i < len; i++) {
126
- const [key, value] = entries[i];
127
- processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
128
- }
129
- };
130
- const getPart = (classPartObject, path) => {
131
- let current = classPartObject;
132
- const parts = path.split(CLASS_PART_SEPARATOR);
133
- const len = parts.length;
134
- for (let i = 0; i < len; i++) {
135
- const part = parts[i];
136
- let next = current.nextPart.get(part);
137
- if (!next) {
138
- next = createClassPartObject();
139
- current.nextPart.set(part, next);
140
- }
141
- current = next;
142
- }
143
- return current;
144
- };
145
- const isThemeGetter = (func) => "isThemeGetter" in func && func.isThemeGetter === true;
146
- const createLruCache = (maxCacheSize) => {
147
- if (maxCacheSize < 1) return {
148
- get: () => void 0,
149
- set: () => {}
150
- };
151
- let cacheSize = 0;
152
- let cache = Object.create(null);
153
- let previousCache = Object.create(null);
154
- const update = (key, value) => {
155
- cache[key] = value;
156
- cacheSize++;
157
- if (cacheSize > maxCacheSize) {
158
- cacheSize = 0;
159
- previousCache = cache;
160
- cache = Object.create(null);
161
- }
162
- };
163
- return {
164
- get(key) {
165
- let value = cache[key];
166
- if (value !== void 0) return value;
167
- if ((value = previousCache[key]) !== void 0) {
168
- update(key, value);
169
- return value;
170
- }
171
- },
172
- set(key, value) {
173
- if (key in cache) cache[key] = value;
174
- else update(key, value);
175
- }
176
- };
177
- };
178
- const IMPORTANT_MODIFIER = "!";
179
- const MODIFIER_SEPARATOR = ":";
180
- const EMPTY_MODIFIERS = [];
181
- const createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({
182
- modifiers,
183
- hasImportantModifier,
184
- baseClassName,
185
- maybePostfixModifierPosition,
186
- isExternal
187
- });
188
- const createParseClassName = (config) => {
189
- const { prefix, experimentalParseClassName } = config;
190
- /**
191
- * Parse class name into parts.
192
- *
193
- * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS
194
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
195
- */
196
- let parseClassName = (className) => {
197
- const modifiers = [];
198
- let bracketDepth = 0;
199
- let parenDepth = 0;
200
- let modifierStart = 0;
201
- let postfixModifierPosition;
202
- const len = className.length;
203
- for (let index = 0; index < len; index++) {
204
- const currentCharacter = className[index];
205
- if (bracketDepth === 0 && parenDepth === 0) {
206
- if (currentCharacter === MODIFIER_SEPARATOR) {
207
- modifiers.push(className.slice(modifierStart, index));
208
- modifierStart = index + 1;
209
- continue;
210
- }
211
- if (currentCharacter === "/") {
212
- postfixModifierPosition = index;
213
- continue;
214
- }
215
- }
216
- if (currentCharacter === "[") bracketDepth++;
217
- else if (currentCharacter === "]") bracketDepth--;
218
- else if (currentCharacter === "(") parenDepth++;
219
- else if (currentCharacter === ")") parenDepth--;
220
- }
221
- const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
222
- let baseClassName = baseClassNameWithImportantModifier;
223
- let hasImportantModifier = false;
224
- if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {
225
- baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
226
- hasImportantModifier = true;
227
- } else if (baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {
228
- baseClassName = baseClassNameWithImportantModifier.slice(1);
229
- hasImportantModifier = true;
230
- }
231
- const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
232
- return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);
233
- };
234
- if (prefix) {
235
- const fullPrefix = prefix + MODIFIER_SEPARATOR;
236
- const parseClassNameOriginal = parseClassName;
237
- parseClassName = (className) => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, void 0, true);
238
- }
239
- if (experimentalParseClassName) {
240
- const parseClassNameOriginal = parseClassName;
241
- parseClassName = (className) => experimentalParseClassName({
242
- className,
243
- parseClassName: parseClassNameOriginal
244
- });
245
- }
246
- return parseClassName;
247
- };
248
- /**
249
- * Sorts modifiers according to following schema:
250
- * - Predefined modifiers are sorted alphabetically
251
- * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
252
- */
253
- const createSortModifiers = (config) => {
254
- const modifierWeights = /* @__PURE__ */ new Map();
255
- config.orderSensitiveModifiers.forEach((mod, index) => {
256
- modifierWeights.set(mod, 1e6 + index);
257
- });
258
- return (modifiers) => {
259
- const result = [];
260
- let currentSegment = [];
261
- for (let i = 0; i < modifiers.length; i++) {
262
- const modifier = modifiers[i];
263
- const isArbitrary = modifier[0] === "[";
264
- const isOrderSensitive = modifierWeights.has(modifier);
265
- if (isArbitrary || isOrderSensitive) {
266
- if (currentSegment.length > 0) {
267
- currentSegment.sort();
268
- result.push(...currentSegment);
269
- currentSegment = [];
270
- }
271
- result.push(modifier);
272
- } else currentSegment.push(modifier);
273
- }
274
- if (currentSegment.length > 0) {
275
- currentSegment.sort();
276
- result.push(...currentSegment);
277
- }
278
- return result;
279
- };
280
- };
281
- const createConfigUtils = (config) => ({
282
- cache: createLruCache(config.cacheSize),
283
- parseClassName: createParseClassName(config),
284
- sortModifiers: createSortModifiers(config),
285
- ...createClassGroupUtils(config)
286
- });
287
- const SPLIT_CLASSES_REGEX = /\s+/;
288
- const mergeClassList = (classList, configUtils) => {
289
- const { parseClassName, getClassGroupId, getConflictingClassGroupIds, sortModifiers } = configUtils;
290
- /**
291
- * Set of classGroupIds in following format:
292
- * `{importantModifier}{variantModifiers}{classGroupId}`
293
- * @example 'float'
294
- * @example 'hover:focus:bg-color'
295
- * @example 'md:!pr'
296
- */
297
- const classGroupsInConflict = [];
298
- const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
299
- let result = "";
300
- for (let index = classNames.length - 1; index >= 0; index -= 1) {
301
- const originalClassName = classNames[index];
302
- const { isExternal, modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition } = parseClassName(originalClassName);
303
- if (isExternal) {
304
- result = originalClassName + (result.length > 0 ? " " + result : result);
305
- continue;
306
- }
307
- let hasPostfixModifier = !!maybePostfixModifierPosition;
308
- let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
309
- if (!classGroupId) {
310
- if (!hasPostfixModifier) {
311
- result = originalClassName + (result.length > 0 ? " " + result : result);
312
- continue;
313
- }
314
- classGroupId = getClassGroupId(baseClassName);
315
- if (!classGroupId) {
316
- result = originalClassName + (result.length > 0 ? " " + result : result);
317
- continue;
318
- }
319
- hasPostfixModifier = false;
320
- }
321
- const variantModifier = modifiers.length === 0 ? "" : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(":");
322
- const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
323
- const classId = modifierId + classGroupId;
324
- if (classGroupsInConflict.indexOf(classId) > -1) continue;
325
- classGroupsInConflict.push(classId);
326
- const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
327
- for (let i = 0; i < conflictGroups.length; ++i) {
328
- const group = conflictGroups[i];
329
- classGroupsInConflict.push(modifierId + group);
330
- }
331
- result = originalClassName + (result.length > 0 ? " " + result : result);
332
- }
333
- return result;
334
- };
335
- /**
336
- * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
337
- *
338
- * Specifically:
339
- * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
340
- * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
341
- *
342
- * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
343
- */
344
- const twJoin = (...classLists) => {
345
- let index = 0;
346
- let argument;
347
- let resolvedValue;
348
- let string = "";
349
- while (index < classLists.length) if (argument = classLists[index++]) {
350
- if (resolvedValue = toValue(argument)) {
351
- string && (string += " ");
352
- string += resolvedValue;
353
- }
354
- }
355
- return string;
356
- };
357
- const toValue = (mix) => {
358
- if (typeof mix === "string") return mix;
359
- let resolvedValue;
360
- let string = "";
361
- for (let k = 0; k < mix.length; k++) if (mix[k]) {
362
- if (resolvedValue = toValue(mix[k])) {
363
- string && (string += " ");
364
- string += resolvedValue;
365
- }
366
- }
367
- return string;
368
- };
369
- const createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
370
- let configUtils;
371
- let cacheGet;
372
- let cacheSet;
373
- let functionToCall;
374
- const initTailwindMerge = (classList) => {
375
- configUtils = createConfigUtils(createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst()));
376
- cacheGet = configUtils.cache.get;
377
- cacheSet = configUtils.cache.set;
378
- functionToCall = tailwindMerge;
379
- return tailwindMerge(classList);
380
- };
381
- const tailwindMerge = (classList) => {
382
- const cachedResult = cacheGet(classList);
383
- if (cachedResult) return cachedResult;
384
- const result = mergeClassList(classList, configUtils);
385
- cacheSet(classList, result);
386
- return result;
387
- };
388
- functionToCall = initTailwindMerge;
389
- return (...args) => functionToCall(twJoin(...args));
390
- };
391
- const fallbackThemeArr = [];
392
- const fromTheme = (key) => {
393
- const themeGetter = (theme) => theme[key] || fallbackThemeArr;
394
- themeGetter.isThemeGetter = true;
395
- return themeGetter;
396
- };
397
- const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
398
- const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
399
- const fractionRegex = /^\d+\/\d+$/;
400
- const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
401
- const lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
402
- const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
403
- const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
404
- const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
405
- const isFraction = (value) => fractionRegex.test(value);
406
- const isNumber = (value) => !!value && !Number.isNaN(Number(value));
407
- const isInteger = (value) => !!value && Number.isInteger(Number(value));
408
- const isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
409
- const isTshirtSize = (value) => tshirtUnitRegex.test(value);
410
- const isAny = () => true;
411
- const isLengthOnly = (value) => lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
412
- const isNever = () => false;
413
- const isShadow = (value) => shadowRegex.test(value);
414
- const isImage = (value) => imageRegex.test(value);
415
- const isAnyNonArbitrary = (value) => !isArbitraryValue(value) && !isArbitraryVariable(value);
416
- const isArbitrarySize = (value) => getIsArbitraryValue(value, isLabelSize, isNever);
417
- const isArbitraryValue = (value) => arbitraryValueRegex.test(value);
418
- const isArbitraryLength = (value) => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
419
- const isArbitraryNumber = (value) => getIsArbitraryValue(value, isLabelNumber, isNumber);
420
- const isArbitraryPosition = (value) => getIsArbitraryValue(value, isLabelPosition, isNever);
421
- const isArbitraryImage = (value) => getIsArbitraryValue(value, isLabelImage, isImage);
422
- const isArbitraryShadow = (value) => getIsArbitraryValue(value, isLabelShadow, isShadow);
423
- const isArbitraryVariable = (value) => arbitraryVariableRegex.test(value);
424
- const isArbitraryVariableLength = (value) => getIsArbitraryVariable(value, isLabelLength);
425
- const isArbitraryVariableFamilyName = (value) => getIsArbitraryVariable(value, isLabelFamilyName);
426
- const isArbitraryVariablePosition = (value) => getIsArbitraryVariable(value, isLabelPosition);
427
- const isArbitraryVariableSize = (value) => getIsArbitraryVariable(value, isLabelSize);
428
- const isArbitraryVariableImage = (value) => getIsArbitraryVariable(value, isLabelImage);
429
- const isArbitraryVariableShadow = (value) => getIsArbitraryVariable(value, isLabelShadow, true);
430
- const getIsArbitraryValue = (value, testLabel, testValue) => {
431
- const result = arbitraryValueRegex.exec(value);
432
- if (result) {
433
- if (result[1]) return testLabel(result[1]);
434
- return testValue(result[2]);
435
- }
436
- return false;
437
- };
438
- const getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
439
- const result = arbitraryVariableRegex.exec(value);
440
- if (result) {
441
- if (result[1]) return testLabel(result[1]);
442
- return shouldMatchNoLabel;
443
- }
444
- return false;
445
- };
446
- const isLabelPosition = (label) => label === "position" || label === "percentage";
447
- const isLabelImage = (label) => label === "image" || label === "url";
448
- const isLabelSize = (label) => label === "length" || label === "size" || label === "bg-size";
449
- const isLabelLength = (label) => label === "length";
450
- const isLabelNumber = (label) => label === "number";
451
- const isLabelFamilyName = (label) => label === "family-name";
452
- const isLabelShadow = (label) => label === "shadow";
453
- const getDefaultConfig = () => {
454
- /**
455
- * Theme getters for theme variable namespaces
456
- * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
457
- */
458
- const themeColor = fromTheme("color");
459
- const themeFont = fromTheme("font");
460
- const themeText = fromTheme("text");
461
- const themeFontWeight = fromTheme("font-weight");
462
- const themeTracking = fromTheme("tracking");
463
- const themeLeading = fromTheme("leading");
464
- const themeBreakpoint = fromTheme("breakpoint");
465
- const themeContainer = fromTheme("container");
466
- const themeSpacing = fromTheme("spacing");
467
- const themeRadius = fromTheme("radius");
468
- const themeShadow = fromTheme("shadow");
469
- const themeInsetShadow = fromTheme("inset-shadow");
470
- const themeTextShadow = fromTheme("text-shadow");
471
- const themeDropShadow = fromTheme("drop-shadow");
472
- const themeBlur = fromTheme("blur");
473
- const themePerspective = fromTheme("perspective");
474
- const themeAspect = fromTheme("aspect");
475
- const themeEase = fromTheme("ease");
476
- const themeAnimate = fromTheme("animate");
477
- /**
478
- * Helpers to avoid repeating the same scales
479
- *
480
- * We use functions that create a new array every time they're called instead of static arrays.
481
- * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.
482
- */
483
- const scaleBreak = () => [
484
- "auto",
485
- "avoid",
486
- "all",
487
- "avoid-page",
488
- "page",
489
- "left",
490
- "right",
491
- "column"
492
- ];
493
- const scalePosition = () => [
494
- "center",
495
- "top",
496
- "bottom",
497
- "left",
498
- "right",
499
- "top-left",
500
- "left-top",
501
- "top-right",
502
- "right-top",
503
- "bottom-right",
504
- "right-bottom",
505
- "bottom-left",
506
- "left-bottom"
507
- ];
508
- const scalePositionWithArbitrary = () => [
509
- ...scalePosition(),
510
- isArbitraryVariable,
511
- isArbitraryValue
512
- ];
513
- const scaleOverflow = () => [
514
- "auto",
515
- "hidden",
516
- "clip",
517
- "visible",
518
- "scroll"
519
- ];
520
- const scaleOverscroll = () => [
521
- "auto",
522
- "contain",
523
- "none"
524
- ];
525
- const scaleUnambiguousSpacing = () => [
526
- isArbitraryVariable,
527
- isArbitraryValue,
528
- themeSpacing
529
- ];
530
- const scaleInset = () => [
531
- isFraction,
532
- "full",
533
- "auto",
534
- ...scaleUnambiguousSpacing()
535
- ];
536
- const scaleGridTemplateColsRows = () => [
537
- isInteger,
538
- "none",
539
- "subgrid",
540
- isArbitraryVariable,
541
- isArbitraryValue
542
- ];
543
- const scaleGridColRowStartAndEnd = () => [
544
- "auto",
545
- { span: [
546
- "full",
547
- isInteger,
548
- isArbitraryVariable,
549
- isArbitraryValue
550
- ] },
551
- isInteger,
552
- isArbitraryVariable,
553
- isArbitraryValue
554
- ];
555
- const scaleGridColRowStartOrEnd = () => [
556
- isInteger,
557
- "auto",
558
- isArbitraryVariable,
559
- isArbitraryValue
560
- ];
561
- const scaleGridAutoColsRows = () => [
562
- "auto",
563
- "min",
564
- "max",
565
- "fr",
566
- isArbitraryVariable,
567
- isArbitraryValue
568
- ];
569
- const scaleAlignPrimaryAxis = () => [
570
- "start",
571
- "end",
572
- "center",
573
- "between",
574
- "around",
575
- "evenly",
576
- "stretch",
577
- "baseline",
578
- "center-safe",
579
- "end-safe"
580
- ];
581
- const scaleAlignSecondaryAxis = () => [
582
- "start",
583
- "end",
584
- "center",
585
- "stretch",
586
- "center-safe",
587
- "end-safe"
588
- ];
589
- const scaleMargin = () => ["auto", ...scaleUnambiguousSpacing()];
590
- const scaleSizing = () => [
591
- isFraction,
592
- "auto",
593
- "full",
594
- "dvw",
595
- "dvh",
596
- "lvw",
597
- "lvh",
598
- "svw",
599
- "svh",
600
- "min",
601
- "max",
602
- "fit",
603
- ...scaleUnambiguousSpacing()
604
- ];
605
- const scaleColor = () => [
606
- themeColor,
607
- isArbitraryVariable,
608
- isArbitraryValue
609
- ];
610
- const scaleBgPosition = () => [
611
- ...scalePosition(),
612
- isArbitraryVariablePosition,
613
- isArbitraryPosition,
614
- { position: [isArbitraryVariable, isArbitraryValue] }
615
- ];
616
- const scaleBgRepeat = () => ["no-repeat", { repeat: [
617
- "",
618
- "x",
619
- "y",
620
- "space",
621
- "round"
622
- ] }];
623
- const scaleBgSize = () => [
624
- "auto",
625
- "cover",
626
- "contain",
627
- isArbitraryVariableSize,
628
- isArbitrarySize,
629
- { size: [isArbitraryVariable, isArbitraryValue] }
630
- ];
631
- const scaleGradientStopPosition = () => [
632
- isPercent,
633
- isArbitraryVariableLength,
634
- isArbitraryLength
635
- ];
636
- const scaleRadius = () => [
637
- "",
638
- "none",
639
- "full",
640
- themeRadius,
641
- isArbitraryVariable,
642
- isArbitraryValue
643
- ];
644
- const scaleBorderWidth = () => [
645
- "",
646
- isNumber,
647
- isArbitraryVariableLength,
648
- isArbitraryLength
649
- ];
650
- const scaleLineStyle = () => [
651
- "solid",
652
- "dashed",
653
- "dotted",
654
- "double"
655
- ];
656
- const scaleBlendMode = () => [
657
- "normal",
658
- "multiply",
659
- "screen",
660
- "overlay",
661
- "darken",
662
- "lighten",
663
- "color-dodge",
664
- "color-burn",
665
- "hard-light",
666
- "soft-light",
667
- "difference",
668
- "exclusion",
669
- "hue",
670
- "saturation",
671
- "color",
672
- "luminosity"
673
- ];
674
- const scaleMaskImagePosition = () => [
675
- isNumber,
676
- isPercent,
677
- isArbitraryVariablePosition,
678
- isArbitraryPosition
679
- ];
680
- const scaleBlur = () => [
681
- "",
682
- "none",
683
- themeBlur,
684
- isArbitraryVariable,
685
- isArbitraryValue
686
- ];
687
- const scaleRotate = () => [
688
- "none",
689
- isNumber,
690
- isArbitraryVariable,
691
- isArbitraryValue
692
- ];
693
- const scaleScale = () => [
694
- "none",
695
- isNumber,
696
- isArbitraryVariable,
697
- isArbitraryValue
698
- ];
699
- const scaleSkew = () => [
700
- isNumber,
701
- isArbitraryVariable,
702
- isArbitraryValue
703
- ];
704
- const scaleTranslate = () => [
705
- isFraction,
706
- "full",
707
- ...scaleUnambiguousSpacing()
708
- ];
709
- return {
710
- cacheSize: 500,
711
- theme: {
712
- animate: [
713
- "spin",
714
- "ping",
715
- "pulse",
716
- "bounce"
717
- ],
718
- aspect: ["video"],
719
- blur: [isTshirtSize],
720
- breakpoint: [isTshirtSize],
721
- color: [isAny],
722
- container: [isTshirtSize],
723
- "drop-shadow": [isTshirtSize],
724
- ease: [
725
- "in",
726
- "out",
727
- "in-out"
728
- ],
729
- font: [isAnyNonArbitrary],
730
- "font-weight": [
731
- "thin",
732
- "extralight",
733
- "light",
734
- "normal",
735
- "medium",
736
- "semibold",
737
- "bold",
738
- "extrabold",
739
- "black"
740
- ],
741
- "inset-shadow": [isTshirtSize],
742
- leading: [
743
- "none",
744
- "tight",
745
- "snug",
746
- "normal",
747
- "relaxed",
748
- "loose"
749
- ],
750
- perspective: [
751
- "dramatic",
752
- "near",
753
- "normal",
754
- "midrange",
755
- "distant",
756
- "none"
757
- ],
758
- radius: [isTshirtSize],
759
- shadow: [isTshirtSize],
760
- spacing: ["px", isNumber],
761
- text: [isTshirtSize],
762
- "text-shadow": [isTshirtSize],
763
- tracking: [
764
- "tighter",
765
- "tight",
766
- "normal",
767
- "wide",
768
- "wider",
769
- "widest"
770
- ]
771
- },
772
- classGroups: {
773
- aspect: [{ aspect: [
774
- "auto",
775
- "square",
776
- isFraction,
777
- isArbitraryValue,
778
- isArbitraryVariable,
779
- themeAspect
780
- ] }],
781
- container: ["container"],
782
- columns: [{ columns: [
783
- isNumber,
784
- isArbitraryValue,
785
- isArbitraryVariable,
786
- themeContainer
787
- ] }],
788
- "break-after": [{ "break-after": scaleBreak() }],
789
- "break-before": [{ "break-before": scaleBreak() }],
790
- "break-inside": [{ "break-inside": [
791
- "auto",
792
- "avoid",
793
- "avoid-page",
794
- "avoid-column"
795
- ] }],
796
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
797
- box: [{ box: ["border", "content"] }],
798
- display: [
799
- "block",
800
- "inline-block",
801
- "inline",
802
- "flex",
803
- "inline-flex",
804
- "table",
805
- "inline-table",
806
- "table-caption",
807
- "table-cell",
808
- "table-column",
809
- "table-column-group",
810
- "table-footer-group",
811
- "table-header-group",
812
- "table-row-group",
813
- "table-row",
814
- "flow-root",
815
- "grid",
816
- "inline-grid",
817
- "contents",
818
- "list-item",
819
- "hidden"
820
- ],
821
- sr: ["sr-only", "not-sr-only"],
822
- float: [{ float: [
823
- "right",
824
- "left",
825
- "none",
826
- "start",
827
- "end"
828
- ] }],
829
- clear: [{ clear: [
830
- "left",
831
- "right",
832
- "both",
833
- "none",
834
- "start",
835
- "end"
836
- ] }],
837
- isolation: ["isolate", "isolation-auto"],
838
- "object-fit": [{ object: [
839
- "contain",
840
- "cover",
841
- "fill",
842
- "none",
843
- "scale-down"
844
- ] }],
845
- "object-position": [{ object: scalePositionWithArbitrary() }],
846
- overflow: [{ overflow: scaleOverflow() }],
847
- "overflow-x": [{ "overflow-x": scaleOverflow() }],
848
- "overflow-y": [{ "overflow-y": scaleOverflow() }],
849
- overscroll: [{ overscroll: scaleOverscroll() }],
850
- "overscroll-x": [{ "overscroll-x": scaleOverscroll() }],
851
- "overscroll-y": [{ "overscroll-y": scaleOverscroll() }],
852
- position: [
853
- "static",
854
- "fixed",
855
- "absolute",
856
- "relative",
857
- "sticky"
858
- ],
859
- inset: [{ inset: scaleInset() }],
860
- "inset-x": [{ "inset-x": scaleInset() }],
861
- "inset-y": [{ "inset-y": scaleInset() }],
862
- start: [{ start: scaleInset() }],
863
- end: [{ end: scaleInset() }],
864
- top: [{ top: scaleInset() }],
865
- right: [{ right: scaleInset() }],
866
- bottom: [{ bottom: scaleInset() }],
867
- left: [{ left: scaleInset() }],
868
- visibility: [
869
- "visible",
870
- "invisible",
871
- "collapse"
872
- ],
873
- z: [{ z: [
874
- isInteger,
875
- "auto",
876
- isArbitraryVariable,
877
- isArbitraryValue
878
- ] }],
879
- basis: [{ basis: [
880
- isFraction,
881
- "full",
882
- "auto",
883
- themeContainer,
884
- ...scaleUnambiguousSpacing()
885
- ] }],
886
- "flex-direction": [{ flex: [
887
- "row",
888
- "row-reverse",
889
- "col",
890
- "col-reverse"
891
- ] }],
892
- "flex-wrap": [{ flex: [
893
- "nowrap",
894
- "wrap",
895
- "wrap-reverse"
896
- ] }],
897
- flex: [{ flex: [
898
- isNumber,
899
- isFraction,
900
- "auto",
901
- "initial",
902
- "none",
903
- isArbitraryValue
904
- ] }],
905
- grow: [{ grow: [
906
- "",
907
- isNumber,
908
- isArbitraryVariable,
909
- isArbitraryValue
910
- ] }],
911
- shrink: [{ shrink: [
912
- "",
913
- isNumber,
914
- isArbitraryVariable,
915
- isArbitraryValue
916
- ] }],
917
- order: [{ order: [
918
- isInteger,
919
- "first",
920
- "last",
921
- "none",
922
- isArbitraryVariable,
923
- isArbitraryValue
924
- ] }],
925
- "grid-cols": [{ "grid-cols": scaleGridTemplateColsRows() }],
926
- "col-start-end": [{ col: scaleGridColRowStartAndEnd() }],
927
- "col-start": [{ "col-start": scaleGridColRowStartOrEnd() }],
928
- "col-end": [{ "col-end": scaleGridColRowStartOrEnd() }],
929
- "grid-rows": [{ "grid-rows": scaleGridTemplateColsRows() }],
930
- "row-start-end": [{ row: scaleGridColRowStartAndEnd() }],
931
- "row-start": [{ "row-start": scaleGridColRowStartOrEnd() }],
932
- "row-end": [{ "row-end": scaleGridColRowStartOrEnd() }],
933
- "grid-flow": [{ "grid-flow": [
934
- "row",
935
- "col",
936
- "dense",
937
- "row-dense",
938
- "col-dense"
939
- ] }],
940
- "auto-cols": [{ "auto-cols": scaleGridAutoColsRows() }],
941
- "auto-rows": [{ "auto-rows": scaleGridAutoColsRows() }],
942
- gap: [{ gap: scaleUnambiguousSpacing() }],
943
- "gap-x": [{ "gap-x": scaleUnambiguousSpacing() }],
944
- "gap-y": [{ "gap-y": scaleUnambiguousSpacing() }],
945
- "justify-content": [{ justify: [...scaleAlignPrimaryAxis(), "normal"] }],
946
- "justify-items": [{ "justify-items": [...scaleAlignSecondaryAxis(), "normal"] }],
947
- "justify-self": [{ "justify-self": ["auto", ...scaleAlignSecondaryAxis()] }],
948
- "align-content": [{ content: ["normal", ...scaleAlignPrimaryAxis()] }],
949
- "align-items": [{ items: [...scaleAlignSecondaryAxis(), { baseline: ["", "last"] }] }],
950
- "align-self": [{ self: [
951
- "auto",
952
- ...scaleAlignSecondaryAxis(),
953
- { baseline: ["", "last"] }
954
- ] }],
955
- "place-content": [{ "place-content": scaleAlignPrimaryAxis() }],
956
- "place-items": [{ "place-items": [...scaleAlignSecondaryAxis(), "baseline"] }],
957
- "place-self": [{ "place-self": ["auto", ...scaleAlignSecondaryAxis()] }],
958
- p: [{ p: scaleUnambiguousSpacing() }],
959
- px: [{ px: scaleUnambiguousSpacing() }],
960
- py: [{ py: scaleUnambiguousSpacing() }],
961
- ps: [{ ps: scaleUnambiguousSpacing() }],
962
- pe: [{ pe: scaleUnambiguousSpacing() }],
963
- pt: [{ pt: scaleUnambiguousSpacing() }],
964
- pr: [{ pr: scaleUnambiguousSpacing() }],
965
- pb: [{ pb: scaleUnambiguousSpacing() }],
966
- pl: [{ pl: scaleUnambiguousSpacing() }],
967
- m: [{ m: scaleMargin() }],
968
- mx: [{ mx: scaleMargin() }],
969
- my: [{ my: scaleMargin() }],
970
- ms: [{ ms: scaleMargin() }],
971
- me: [{ me: scaleMargin() }],
972
- mt: [{ mt: scaleMargin() }],
973
- mr: [{ mr: scaleMargin() }],
974
- mb: [{ mb: scaleMargin() }],
975
- ml: [{ ml: scaleMargin() }],
976
- "space-x": [{ "space-x": scaleUnambiguousSpacing() }],
977
- "space-x-reverse": ["space-x-reverse"],
978
- "space-y": [{ "space-y": scaleUnambiguousSpacing() }],
979
- "space-y-reverse": ["space-y-reverse"],
980
- size: [{ size: scaleSizing() }],
981
- w: [{ w: [
982
- themeContainer,
983
- "screen",
984
- ...scaleSizing()
985
- ] }],
986
- "min-w": [{ "min-w": [
987
- themeContainer,
988
- "screen",
989
- "none",
990
- ...scaleSizing()
991
- ] }],
992
- "max-w": [{ "max-w": [
993
- themeContainer,
994
- "screen",
995
- "none",
996
- "prose",
997
- { screen: [themeBreakpoint] },
998
- ...scaleSizing()
999
- ] }],
1000
- h: [{ h: [
1001
- "screen",
1002
- "lh",
1003
- ...scaleSizing()
1004
- ] }],
1005
- "min-h": [{ "min-h": [
1006
- "screen",
1007
- "lh",
1008
- "none",
1009
- ...scaleSizing()
1010
- ] }],
1011
- "max-h": [{ "max-h": [
1012
- "screen",
1013
- "lh",
1014
- ...scaleSizing()
1015
- ] }],
1016
- "font-size": [{ text: [
1017
- "base",
1018
- themeText,
1019
- isArbitraryVariableLength,
1020
- isArbitraryLength
1021
- ] }],
1022
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
1023
- "font-style": ["italic", "not-italic"],
1024
- "font-weight": [{ font: [
1025
- themeFontWeight,
1026
- isArbitraryVariable,
1027
- isArbitraryNumber
1028
- ] }],
1029
- "font-stretch": [{ "font-stretch": [
1030
- "ultra-condensed",
1031
- "extra-condensed",
1032
- "condensed",
1033
- "semi-condensed",
1034
- "normal",
1035
- "semi-expanded",
1036
- "expanded",
1037
- "extra-expanded",
1038
- "ultra-expanded",
1039
- isPercent,
1040
- isArbitraryValue
1041
- ] }],
1042
- "font-family": [{ font: [
1043
- isArbitraryVariableFamilyName,
1044
- isArbitraryValue,
1045
- themeFont
1046
- ] }],
1047
- "fvn-normal": ["normal-nums"],
1048
- "fvn-ordinal": ["ordinal"],
1049
- "fvn-slashed-zero": ["slashed-zero"],
1050
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
1051
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
1052
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1053
- tracking: [{ tracking: [
1054
- themeTracking,
1055
- isArbitraryVariable,
1056
- isArbitraryValue
1057
- ] }],
1058
- "line-clamp": [{ "line-clamp": [
1059
- isNumber,
1060
- "none",
1061
- isArbitraryVariable,
1062
- isArbitraryNumber
1063
- ] }],
1064
- leading: [{ leading: [themeLeading, ...scaleUnambiguousSpacing()] }],
1065
- "list-image": [{ "list-image": [
1066
- "none",
1067
- isArbitraryVariable,
1068
- isArbitraryValue
1069
- ] }],
1070
- "list-style-position": [{ list: ["inside", "outside"] }],
1071
- "list-style-type": [{ list: [
1072
- "disc",
1073
- "decimal",
1074
- "none",
1075
- isArbitraryVariable,
1076
- isArbitraryValue
1077
- ] }],
1078
- "text-alignment": [{ text: [
1079
- "left",
1080
- "center",
1081
- "right",
1082
- "justify",
1083
- "start",
1084
- "end"
1085
- ] }],
1086
- "placeholder-color": [{ placeholder: scaleColor() }],
1087
- "text-color": [{ text: scaleColor() }],
1088
- "text-decoration": [
1089
- "underline",
1090
- "overline",
1091
- "line-through",
1092
- "no-underline"
1093
- ],
1094
- "text-decoration-style": [{ decoration: [...scaleLineStyle(), "wavy"] }],
1095
- "text-decoration-thickness": [{ decoration: [
1096
- isNumber,
1097
- "from-font",
1098
- "auto",
1099
- isArbitraryVariable,
1100
- isArbitraryLength
1101
- ] }],
1102
- "text-decoration-color": [{ decoration: scaleColor() }],
1103
- "underline-offset": [{ "underline-offset": [
1104
- isNumber,
1105
- "auto",
1106
- isArbitraryVariable,
1107
- isArbitraryValue
1108
- ] }],
1109
- "text-transform": [
1110
- "uppercase",
1111
- "lowercase",
1112
- "capitalize",
1113
- "normal-case"
1114
- ],
1115
- "text-overflow": [
1116
- "truncate",
1117
- "text-ellipsis",
1118
- "text-clip"
1119
- ],
1120
- "text-wrap": [{ text: [
1121
- "wrap",
1122
- "nowrap",
1123
- "balance",
1124
- "pretty"
1125
- ] }],
1126
- indent: [{ indent: scaleUnambiguousSpacing() }],
1127
- "vertical-align": [{ align: [
1128
- "baseline",
1129
- "top",
1130
- "middle",
1131
- "bottom",
1132
- "text-top",
1133
- "text-bottom",
1134
- "sub",
1135
- "super",
1136
- isArbitraryVariable,
1137
- isArbitraryValue
1138
- ] }],
1139
- whitespace: [{ whitespace: [
1140
- "normal",
1141
- "nowrap",
1142
- "pre",
1143
- "pre-line",
1144
- "pre-wrap",
1145
- "break-spaces"
1146
- ] }],
1147
- break: [{ break: [
1148
- "normal",
1149
- "words",
1150
- "all",
1151
- "keep"
1152
- ] }],
1153
- wrap: [{ wrap: [
1154
- "break-word",
1155
- "anywhere",
1156
- "normal"
1157
- ] }],
1158
- hyphens: [{ hyphens: [
1159
- "none",
1160
- "manual",
1161
- "auto"
1162
- ] }],
1163
- content: [{ content: [
1164
- "none",
1165
- isArbitraryVariable,
1166
- isArbitraryValue
1167
- ] }],
1168
- "bg-attachment": [{ bg: [
1169
- "fixed",
1170
- "local",
1171
- "scroll"
1172
- ] }],
1173
- "bg-clip": [{ "bg-clip": [
1174
- "border",
1175
- "padding",
1176
- "content",
1177
- "text"
1178
- ] }],
1179
- "bg-origin": [{ "bg-origin": [
1180
- "border",
1181
- "padding",
1182
- "content"
1183
- ] }],
1184
- "bg-position": [{ bg: scaleBgPosition() }],
1185
- "bg-repeat": [{ bg: scaleBgRepeat() }],
1186
- "bg-size": [{ bg: scaleBgSize() }],
1187
- "bg-image": [{ bg: [
1188
- "none",
1189
- {
1190
- linear: [
1191
- { to: [
1192
- "t",
1193
- "tr",
1194
- "r",
1195
- "br",
1196
- "b",
1197
- "bl",
1198
- "l",
1199
- "tl"
1200
- ] },
1201
- isInteger,
1202
- isArbitraryVariable,
1203
- isArbitraryValue
1204
- ],
1205
- radial: [
1206
- "",
1207
- isArbitraryVariable,
1208
- isArbitraryValue
1209
- ],
1210
- conic: [
1211
- isInteger,
1212
- isArbitraryVariable,
1213
- isArbitraryValue
1214
- ]
1215
- },
1216
- isArbitraryVariableImage,
1217
- isArbitraryImage
1218
- ] }],
1219
- "bg-color": [{ bg: scaleColor() }],
1220
- "gradient-from-pos": [{ from: scaleGradientStopPosition() }],
1221
- "gradient-via-pos": [{ via: scaleGradientStopPosition() }],
1222
- "gradient-to-pos": [{ to: scaleGradientStopPosition() }],
1223
- "gradient-from": [{ from: scaleColor() }],
1224
- "gradient-via": [{ via: scaleColor() }],
1225
- "gradient-to": [{ to: scaleColor() }],
1226
- rounded: [{ rounded: scaleRadius() }],
1227
- "rounded-s": [{ "rounded-s": scaleRadius() }],
1228
- "rounded-e": [{ "rounded-e": scaleRadius() }],
1229
- "rounded-t": [{ "rounded-t": scaleRadius() }],
1230
- "rounded-r": [{ "rounded-r": scaleRadius() }],
1231
- "rounded-b": [{ "rounded-b": scaleRadius() }],
1232
- "rounded-l": [{ "rounded-l": scaleRadius() }],
1233
- "rounded-ss": [{ "rounded-ss": scaleRadius() }],
1234
- "rounded-se": [{ "rounded-se": scaleRadius() }],
1235
- "rounded-ee": [{ "rounded-ee": scaleRadius() }],
1236
- "rounded-es": [{ "rounded-es": scaleRadius() }],
1237
- "rounded-tl": [{ "rounded-tl": scaleRadius() }],
1238
- "rounded-tr": [{ "rounded-tr": scaleRadius() }],
1239
- "rounded-br": [{ "rounded-br": scaleRadius() }],
1240
- "rounded-bl": [{ "rounded-bl": scaleRadius() }],
1241
- "border-w": [{ border: scaleBorderWidth() }],
1242
- "border-w-x": [{ "border-x": scaleBorderWidth() }],
1243
- "border-w-y": [{ "border-y": scaleBorderWidth() }],
1244
- "border-w-s": [{ "border-s": scaleBorderWidth() }],
1245
- "border-w-e": [{ "border-e": scaleBorderWidth() }],
1246
- "border-w-t": [{ "border-t": scaleBorderWidth() }],
1247
- "border-w-r": [{ "border-r": scaleBorderWidth() }],
1248
- "border-w-b": [{ "border-b": scaleBorderWidth() }],
1249
- "border-w-l": [{ "border-l": scaleBorderWidth() }],
1250
- "divide-x": [{ "divide-x": scaleBorderWidth() }],
1251
- "divide-x-reverse": ["divide-x-reverse"],
1252
- "divide-y": [{ "divide-y": scaleBorderWidth() }],
1253
- "divide-y-reverse": ["divide-y-reverse"],
1254
- "border-style": [{ border: [
1255
- ...scaleLineStyle(),
1256
- "hidden",
1257
- "none"
1258
- ] }],
1259
- "divide-style": [{ divide: [
1260
- ...scaleLineStyle(),
1261
- "hidden",
1262
- "none"
1263
- ] }],
1264
- "border-color": [{ border: scaleColor() }],
1265
- "border-color-x": [{ "border-x": scaleColor() }],
1266
- "border-color-y": [{ "border-y": scaleColor() }],
1267
- "border-color-s": [{ "border-s": scaleColor() }],
1268
- "border-color-e": [{ "border-e": scaleColor() }],
1269
- "border-color-t": [{ "border-t": scaleColor() }],
1270
- "border-color-r": [{ "border-r": scaleColor() }],
1271
- "border-color-b": [{ "border-b": scaleColor() }],
1272
- "border-color-l": [{ "border-l": scaleColor() }],
1273
- "divide-color": [{ divide: scaleColor() }],
1274
- "outline-style": [{ outline: [
1275
- ...scaleLineStyle(),
1276
- "none",
1277
- "hidden"
1278
- ] }],
1279
- "outline-offset": [{ "outline-offset": [
1280
- isNumber,
1281
- isArbitraryVariable,
1282
- isArbitraryValue
1283
- ] }],
1284
- "outline-w": [{ outline: [
1285
- "",
1286
- isNumber,
1287
- isArbitraryVariableLength,
1288
- isArbitraryLength
1289
- ] }],
1290
- "outline-color": [{ outline: scaleColor() }],
1291
- shadow: [{ shadow: [
1292
- "",
1293
- "none",
1294
- themeShadow,
1295
- isArbitraryVariableShadow,
1296
- isArbitraryShadow
1297
- ] }],
1298
- "shadow-color": [{ shadow: scaleColor() }],
1299
- "inset-shadow": [{ "inset-shadow": [
1300
- "none",
1301
- themeInsetShadow,
1302
- isArbitraryVariableShadow,
1303
- isArbitraryShadow
1304
- ] }],
1305
- "inset-shadow-color": [{ "inset-shadow": scaleColor() }],
1306
- "ring-w": [{ ring: scaleBorderWidth() }],
1307
- "ring-w-inset": ["ring-inset"],
1308
- "ring-color": [{ ring: scaleColor() }],
1309
- "ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
1310
- "ring-offset-color": [{ "ring-offset": scaleColor() }],
1311
- "inset-ring-w": [{ "inset-ring": scaleBorderWidth() }],
1312
- "inset-ring-color": [{ "inset-ring": scaleColor() }],
1313
- "text-shadow": [{ "text-shadow": [
1314
- "none",
1315
- themeTextShadow,
1316
- isArbitraryVariableShadow,
1317
- isArbitraryShadow
1318
- ] }],
1319
- "text-shadow-color": [{ "text-shadow": scaleColor() }],
1320
- opacity: [{ opacity: [
1321
- isNumber,
1322
- isArbitraryVariable,
1323
- isArbitraryValue
1324
- ] }],
1325
- "mix-blend": [{ "mix-blend": [
1326
- ...scaleBlendMode(),
1327
- "plus-darker",
1328
- "plus-lighter"
1329
- ] }],
1330
- "bg-blend": [{ "bg-blend": scaleBlendMode() }],
1331
- "mask-clip": [{ "mask-clip": [
1332
- "border",
1333
- "padding",
1334
- "content",
1335
- "fill",
1336
- "stroke",
1337
- "view"
1338
- ] }, "mask-no-clip"],
1339
- "mask-composite": [{ mask: [
1340
- "add",
1341
- "subtract",
1342
- "intersect",
1343
- "exclude"
1344
- ] }],
1345
- "mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
1346
- "mask-image-linear-from-pos": [{ "mask-linear-from": scaleMaskImagePosition() }],
1347
- "mask-image-linear-to-pos": [{ "mask-linear-to": scaleMaskImagePosition() }],
1348
- "mask-image-linear-from-color": [{ "mask-linear-from": scaleColor() }],
1349
- "mask-image-linear-to-color": [{ "mask-linear-to": scaleColor() }],
1350
- "mask-image-t-from-pos": [{ "mask-t-from": scaleMaskImagePosition() }],
1351
- "mask-image-t-to-pos": [{ "mask-t-to": scaleMaskImagePosition() }],
1352
- "mask-image-t-from-color": [{ "mask-t-from": scaleColor() }],
1353
- "mask-image-t-to-color": [{ "mask-t-to": scaleColor() }],
1354
- "mask-image-r-from-pos": [{ "mask-r-from": scaleMaskImagePosition() }],
1355
- "mask-image-r-to-pos": [{ "mask-r-to": scaleMaskImagePosition() }],
1356
- "mask-image-r-from-color": [{ "mask-r-from": scaleColor() }],
1357
- "mask-image-r-to-color": [{ "mask-r-to": scaleColor() }],
1358
- "mask-image-b-from-pos": [{ "mask-b-from": scaleMaskImagePosition() }],
1359
- "mask-image-b-to-pos": [{ "mask-b-to": scaleMaskImagePosition() }],
1360
- "mask-image-b-from-color": [{ "mask-b-from": scaleColor() }],
1361
- "mask-image-b-to-color": [{ "mask-b-to": scaleColor() }],
1362
- "mask-image-l-from-pos": [{ "mask-l-from": scaleMaskImagePosition() }],
1363
- "mask-image-l-to-pos": [{ "mask-l-to": scaleMaskImagePosition() }],
1364
- "mask-image-l-from-color": [{ "mask-l-from": scaleColor() }],
1365
- "mask-image-l-to-color": [{ "mask-l-to": scaleColor() }],
1366
- "mask-image-x-from-pos": [{ "mask-x-from": scaleMaskImagePosition() }],
1367
- "mask-image-x-to-pos": [{ "mask-x-to": scaleMaskImagePosition() }],
1368
- "mask-image-x-from-color": [{ "mask-x-from": scaleColor() }],
1369
- "mask-image-x-to-color": [{ "mask-x-to": scaleColor() }],
1370
- "mask-image-y-from-pos": [{ "mask-y-from": scaleMaskImagePosition() }],
1371
- "mask-image-y-to-pos": [{ "mask-y-to": scaleMaskImagePosition() }],
1372
- "mask-image-y-from-color": [{ "mask-y-from": scaleColor() }],
1373
- "mask-image-y-to-color": [{ "mask-y-to": scaleColor() }],
1374
- "mask-image-radial": [{ "mask-radial": [isArbitraryVariable, isArbitraryValue] }],
1375
- "mask-image-radial-from-pos": [{ "mask-radial-from": scaleMaskImagePosition() }],
1376
- "mask-image-radial-to-pos": [{ "mask-radial-to": scaleMaskImagePosition() }],
1377
- "mask-image-radial-from-color": [{ "mask-radial-from": scaleColor() }],
1378
- "mask-image-radial-to-color": [{ "mask-radial-to": scaleColor() }],
1379
- "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
1380
- "mask-image-radial-size": [{ "mask-radial": [{
1381
- closest: ["side", "corner"],
1382
- farthest: ["side", "corner"]
1383
- }] }],
1384
- "mask-image-radial-pos": [{ "mask-radial-at": scalePosition() }],
1385
- "mask-image-conic-pos": [{ "mask-conic": [isNumber] }],
1386
- "mask-image-conic-from-pos": [{ "mask-conic-from": scaleMaskImagePosition() }],
1387
- "mask-image-conic-to-pos": [{ "mask-conic-to": scaleMaskImagePosition() }],
1388
- "mask-image-conic-from-color": [{ "mask-conic-from": scaleColor() }],
1389
- "mask-image-conic-to-color": [{ "mask-conic-to": scaleColor() }],
1390
- "mask-mode": [{ mask: [
1391
- "alpha",
1392
- "luminance",
1393
- "match"
1394
- ] }],
1395
- "mask-origin": [{ "mask-origin": [
1396
- "border",
1397
- "padding",
1398
- "content",
1399
- "fill",
1400
- "stroke",
1401
- "view"
1402
- ] }],
1403
- "mask-position": [{ mask: scaleBgPosition() }],
1404
- "mask-repeat": [{ mask: scaleBgRepeat() }],
1405
- "mask-size": [{ mask: scaleBgSize() }],
1406
- "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
1407
- "mask-image": [{ mask: [
1408
- "none",
1409
- isArbitraryVariable,
1410
- isArbitraryValue
1411
- ] }],
1412
- filter: [{ filter: [
1413
- "",
1414
- "none",
1415
- isArbitraryVariable,
1416
- isArbitraryValue
1417
- ] }],
1418
- blur: [{ blur: scaleBlur() }],
1419
- brightness: [{ brightness: [
1420
- isNumber,
1421
- isArbitraryVariable,
1422
- isArbitraryValue
1423
- ] }],
1424
- contrast: [{ contrast: [
1425
- isNumber,
1426
- isArbitraryVariable,
1427
- isArbitraryValue
1428
- ] }],
1429
- "drop-shadow": [{ "drop-shadow": [
1430
- "",
1431
- "none",
1432
- themeDropShadow,
1433
- isArbitraryVariableShadow,
1434
- isArbitraryShadow
1435
- ] }],
1436
- "drop-shadow-color": [{ "drop-shadow": scaleColor() }],
1437
- grayscale: [{ grayscale: [
1438
- "",
1439
- isNumber,
1440
- isArbitraryVariable,
1441
- isArbitraryValue
1442
- ] }],
1443
- "hue-rotate": [{ "hue-rotate": [
1444
- isNumber,
1445
- isArbitraryVariable,
1446
- isArbitraryValue
1447
- ] }],
1448
- invert: [{ invert: [
1449
- "",
1450
- isNumber,
1451
- isArbitraryVariable,
1452
- isArbitraryValue
1453
- ] }],
1454
- saturate: [{ saturate: [
1455
- isNumber,
1456
- isArbitraryVariable,
1457
- isArbitraryValue
1458
- ] }],
1459
- sepia: [{ sepia: [
1460
- "",
1461
- isNumber,
1462
- isArbitraryVariable,
1463
- isArbitraryValue
1464
- ] }],
1465
- "backdrop-filter": [{ "backdrop-filter": [
1466
- "",
1467
- "none",
1468
- isArbitraryVariable,
1469
- isArbitraryValue
1470
- ] }],
1471
- "backdrop-blur": [{ "backdrop-blur": scaleBlur() }],
1472
- "backdrop-brightness": [{ "backdrop-brightness": [
1473
- isNumber,
1474
- isArbitraryVariable,
1475
- isArbitraryValue
1476
- ] }],
1477
- "backdrop-contrast": [{ "backdrop-contrast": [
1478
- isNumber,
1479
- isArbitraryVariable,
1480
- isArbitraryValue
1481
- ] }],
1482
- "backdrop-grayscale": [{ "backdrop-grayscale": [
1483
- "",
1484
- isNumber,
1485
- isArbitraryVariable,
1486
- isArbitraryValue
1487
- ] }],
1488
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
1489
- isNumber,
1490
- isArbitraryVariable,
1491
- isArbitraryValue
1492
- ] }],
1493
- "backdrop-invert": [{ "backdrop-invert": [
1494
- "",
1495
- isNumber,
1496
- isArbitraryVariable,
1497
- isArbitraryValue
1498
- ] }],
1499
- "backdrop-opacity": [{ "backdrop-opacity": [
1500
- isNumber,
1501
- isArbitraryVariable,
1502
- isArbitraryValue
1503
- ] }],
1504
- "backdrop-saturate": [{ "backdrop-saturate": [
1505
- isNumber,
1506
- isArbitraryVariable,
1507
- isArbitraryValue
1508
- ] }],
1509
- "backdrop-sepia": [{ "backdrop-sepia": [
1510
- "",
1511
- isNumber,
1512
- isArbitraryVariable,
1513
- isArbitraryValue
1514
- ] }],
1515
- "border-collapse": [{ border: ["collapse", "separate"] }],
1516
- "border-spacing": [{ "border-spacing": scaleUnambiguousSpacing() }],
1517
- "border-spacing-x": [{ "border-spacing-x": scaleUnambiguousSpacing() }],
1518
- "border-spacing-y": [{ "border-spacing-y": scaleUnambiguousSpacing() }],
1519
- "table-layout": [{ table: ["auto", "fixed"] }],
1520
- caption: [{ caption: ["top", "bottom"] }],
1521
- transition: [{ transition: [
1522
- "",
1523
- "all",
1524
- "colors",
1525
- "opacity",
1526
- "shadow",
1527
- "transform",
1528
- "none",
1529
- isArbitraryVariable,
1530
- isArbitraryValue
1531
- ] }],
1532
- "transition-behavior": [{ transition: ["normal", "discrete"] }],
1533
- duration: [{ duration: [
1534
- isNumber,
1535
- "initial",
1536
- isArbitraryVariable,
1537
- isArbitraryValue
1538
- ] }],
1539
- ease: [{ ease: [
1540
- "linear",
1541
- "initial",
1542
- themeEase,
1543
- isArbitraryVariable,
1544
- isArbitraryValue
1545
- ] }],
1546
- delay: [{ delay: [
1547
- isNumber,
1548
- isArbitraryVariable,
1549
- isArbitraryValue
1550
- ] }],
1551
- animate: [{ animate: [
1552
- "none",
1553
- themeAnimate,
1554
- isArbitraryVariable,
1555
- isArbitraryValue
1556
- ] }],
1557
- backface: [{ backface: ["hidden", "visible"] }],
1558
- perspective: [{ perspective: [
1559
- themePerspective,
1560
- isArbitraryVariable,
1561
- isArbitraryValue
1562
- ] }],
1563
- "perspective-origin": [{ "perspective-origin": scalePositionWithArbitrary() }],
1564
- rotate: [{ rotate: scaleRotate() }],
1565
- "rotate-x": [{ "rotate-x": scaleRotate() }],
1566
- "rotate-y": [{ "rotate-y": scaleRotate() }],
1567
- "rotate-z": [{ "rotate-z": scaleRotate() }],
1568
- scale: [{ scale: scaleScale() }],
1569
- "scale-x": [{ "scale-x": scaleScale() }],
1570
- "scale-y": [{ "scale-y": scaleScale() }],
1571
- "scale-z": [{ "scale-z": scaleScale() }],
1572
- "scale-3d": ["scale-3d"],
1573
- skew: [{ skew: scaleSkew() }],
1574
- "skew-x": [{ "skew-x": scaleSkew() }],
1575
- "skew-y": [{ "skew-y": scaleSkew() }],
1576
- transform: [{ transform: [
1577
- isArbitraryVariable,
1578
- isArbitraryValue,
1579
- "",
1580
- "none",
1581
- "gpu",
1582
- "cpu"
1583
- ] }],
1584
- "transform-origin": [{ origin: scalePositionWithArbitrary() }],
1585
- "transform-style": [{ transform: ["3d", "flat"] }],
1586
- translate: [{ translate: scaleTranslate() }],
1587
- "translate-x": [{ "translate-x": scaleTranslate() }],
1588
- "translate-y": [{ "translate-y": scaleTranslate() }],
1589
- "translate-z": [{ "translate-z": scaleTranslate() }],
1590
- "translate-none": ["translate-none"],
1591
- accent: [{ accent: scaleColor() }],
1592
- appearance: [{ appearance: ["none", "auto"] }],
1593
- "caret-color": [{ caret: scaleColor() }],
1594
- "color-scheme": [{ scheme: [
1595
- "normal",
1596
- "dark",
1597
- "light",
1598
- "light-dark",
1599
- "only-dark",
1600
- "only-light"
1601
- ] }],
1602
- cursor: [{ cursor: [
1603
- "auto",
1604
- "default",
1605
- "pointer",
1606
- "wait",
1607
- "text",
1608
- "move",
1609
- "help",
1610
- "not-allowed",
1611
- "none",
1612
- "context-menu",
1613
- "progress",
1614
- "cell",
1615
- "crosshair",
1616
- "vertical-text",
1617
- "alias",
1618
- "copy",
1619
- "no-drop",
1620
- "grab",
1621
- "grabbing",
1622
- "all-scroll",
1623
- "col-resize",
1624
- "row-resize",
1625
- "n-resize",
1626
- "e-resize",
1627
- "s-resize",
1628
- "w-resize",
1629
- "ne-resize",
1630
- "nw-resize",
1631
- "se-resize",
1632
- "sw-resize",
1633
- "ew-resize",
1634
- "ns-resize",
1635
- "nesw-resize",
1636
- "nwse-resize",
1637
- "zoom-in",
1638
- "zoom-out",
1639
- isArbitraryVariable,
1640
- isArbitraryValue
1641
- ] }],
1642
- "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
1643
- "pointer-events": [{ "pointer-events": ["auto", "none"] }],
1644
- resize: [{ resize: [
1645
- "none",
1646
- "",
1647
- "y",
1648
- "x"
1649
- ] }],
1650
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1651
- "scroll-m": [{ "scroll-m": scaleUnambiguousSpacing() }],
1652
- "scroll-mx": [{ "scroll-mx": scaleUnambiguousSpacing() }],
1653
- "scroll-my": [{ "scroll-my": scaleUnambiguousSpacing() }],
1654
- "scroll-ms": [{ "scroll-ms": scaleUnambiguousSpacing() }],
1655
- "scroll-me": [{ "scroll-me": scaleUnambiguousSpacing() }],
1656
- "scroll-mt": [{ "scroll-mt": scaleUnambiguousSpacing() }],
1657
- "scroll-mr": [{ "scroll-mr": scaleUnambiguousSpacing() }],
1658
- "scroll-mb": [{ "scroll-mb": scaleUnambiguousSpacing() }],
1659
- "scroll-ml": [{ "scroll-ml": scaleUnambiguousSpacing() }],
1660
- "scroll-p": [{ "scroll-p": scaleUnambiguousSpacing() }],
1661
- "scroll-px": [{ "scroll-px": scaleUnambiguousSpacing() }],
1662
- "scroll-py": [{ "scroll-py": scaleUnambiguousSpacing() }],
1663
- "scroll-ps": [{ "scroll-ps": scaleUnambiguousSpacing() }],
1664
- "scroll-pe": [{ "scroll-pe": scaleUnambiguousSpacing() }],
1665
- "scroll-pt": [{ "scroll-pt": scaleUnambiguousSpacing() }],
1666
- "scroll-pr": [{ "scroll-pr": scaleUnambiguousSpacing() }],
1667
- "scroll-pb": [{ "scroll-pb": scaleUnambiguousSpacing() }],
1668
- "scroll-pl": [{ "scroll-pl": scaleUnambiguousSpacing() }],
1669
- "snap-align": [{ snap: [
1670
- "start",
1671
- "end",
1672
- "center",
1673
- "align-none"
1674
- ] }],
1675
- "snap-stop": [{ snap: ["normal", "always"] }],
1676
- "snap-type": [{ snap: [
1677
- "none",
1678
- "x",
1679
- "y",
1680
- "both"
1681
- ] }],
1682
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
1683
- touch: [{ touch: [
1684
- "auto",
1685
- "none",
1686
- "manipulation"
1687
- ] }],
1688
- "touch-x": [{ "touch-pan": [
1689
- "x",
1690
- "left",
1691
- "right"
1692
- ] }],
1693
- "touch-y": [{ "touch-pan": [
1694
- "y",
1695
- "up",
1696
- "down"
1697
- ] }],
1698
- "touch-pz": ["touch-pinch-zoom"],
1699
- select: [{ select: [
1700
- "none",
1701
- "text",
1702
- "all",
1703
- "auto"
1704
- ] }],
1705
- "will-change": [{ "will-change": [
1706
- "auto",
1707
- "scroll",
1708
- "contents",
1709
- "transform",
1710
- isArbitraryVariable,
1711
- isArbitraryValue
1712
- ] }],
1713
- fill: [{ fill: ["none", ...scaleColor()] }],
1714
- "stroke-w": [{ stroke: [
1715
- isNumber,
1716
- isArbitraryVariableLength,
1717
- isArbitraryLength,
1718
- isArbitraryNumber
1719
- ] }],
1720
- stroke: [{ stroke: ["none", ...scaleColor()] }],
1721
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1722
- },
1723
- conflictingClassGroups: {
1724
- overflow: ["overflow-x", "overflow-y"],
1725
- overscroll: ["overscroll-x", "overscroll-y"],
1726
- inset: [
1727
- "inset-x",
1728
- "inset-y",
1729
- "start",
1730
- "end",
1731
- "top",
1732
- "right",
1733
- "bottom",
1734
- "left"
1735
- ],
1736
- "inset-x": ["right", "left"],
1737
- "inset-y": ["top", "bottom"],
1738
- flex: [
1739
- "basis",
1740
- "grow",
1741
- "shrink"
1742
- ],
1743
- gap: ["gap-x", "gap-y"],
1744
- p: [
1745
- "px",
1746
- "py",
1747
- "ps",
1748
- "pe",
1749
- "pt",
1750
- "pr",
1751
- "pb",
1752
- "pl"
1753
- ],
1754
- px: ["pr", "pl"],
1755
- py: ["pt", "pb"],
1756
- m: [
1757
- "mx",
1758
- "my",
1759
- "ms",
1760
- "me",
1761
- "mt",
1762
- "mr",
1763
- "mb",
1764
- "ml"
1765
- ],
1766
- mx: ["mr", "ml"],
1767
- my: ["mt", "mb"],
1768
- size: ["w", "h"],
1769
- "font-size": ["leading"],
1770
- "fvn-normal": [
1771
- "fvn-ordinal",
1772
- "fvn-slashed-zero",
1773
- "fvn-figure",
1774
- "fvn-spacing",
1775
- "fvn-fraction"
1776
- ],
1777
- "fvn-ordinal": ["fvn-normal"],
1778
- "fvn-slashed-zero": ["fvn-normal"],
1779
- "fvn-figure": ["fvn-normal"],
1780
- "fvn-spacing": ["fvn-normal"],
1781
- "fvn-fraction": ["fvn-normal"],
1782
- "line-clamp": ["display", "overflow"],
1783
- rounded: [
1784
- "rounded-s",
1785
- "rounded-e",
1786
- "rounded-t",
1787
- "rounded-r",
1788
- "rounded-b",
1789
- "rounded-l",
1790
- "rounded-ss",
1791
- "rounded-se",
1792
- "rounded-ee",
1793
- "rounded-es",
1794
- "rounded-tl",
1795
- "rounded-tr",
1796
- "rounded-br",
1797
- "rounded-bl"
1798
- ],
1799
- "rounded-s": ["rounded-ss", "rounded-es"],
1800
- "rounded-e": ["rounded-se", "rounded-ee"],
1801
- "rounded-t": ["rounded-tl", "rounded-tr"],
1802
- "rounded-r": ["rounded-tr", "rounded-br"],
1803
- "rounded-b": ["rounded-br", "rounded-bl"],
1804
- "rounded-l": ["rounded-tl", "rounded-bl"],
1805
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
1806
- "border-w": [
1807
- "border-w-x",
1808
- "border-w-y",
1809
- "border-w-s",
1810
- "border-w-e",
1811
- "border-w-t",
1812
- "border-w-r",
1813
- "border-w-b",
1814
- "border-w-l"
1815
- ],
1816
- "border-w-x": ["border-w-r", "border-w-l"],
1817
- "border-w-y": ["border-w-t", "border-w-b"],
1818
- "border-color": [
1819
- "border-color-x",
1820
- "border-color-y",
1821
- "border-color-s",
1822
- "border-color-e",
1823
- "border-color-t",
1824
- "border-color-r",
1825
- "border-color-b",
1826
- "border-color-l"
1827
- ],
1828
- "border-color-x": ["border-color-r", "border-color-l"],
1829
- "border-color-y": ["border-color-t", "border-color-b"],
1830
- translate: [
1831
- "translate-x",
1832
- "translate-y",
1833
- "translate-none"
1834
- ],
1835
- "translate-none": [
1836
- "translate",
1837
- "translate-x",
1838
- "translate-y",
1839
- "translate-z"
1840
- ],
1841
- "scroll-m": [
1842
- "scroll-mx",
1843
- "scroll-my",
1844
- "scroll-ms",
1845
- "scroll-me",
1846
- "scroll-mt",
1847
- "scroll-mr",
1848
- "scroll-mb",
1849
- "scroll-ml"
1850
- ],
1851
- "scroll-mx": ["scroll-mr", "scroll-ml"],
1852
- "scroll-my": ["scroll-mt", "scroll-mb"],
1853
- "scroll-p": [
1854
- "scroll-px",
1855
- "scroll-py",
1856
- "scroll-ps",
1857
- "scroll-pe",
1858
- "scroll-pt",
1859
- "scroll-pr",
1860
- "scroll-pb",
1861
- "scroll-pl"
1862
- ],
1863
- "scroll-px": ["scroll-pr", "scroll-pl"],
1864
- "scroll-py": ["scroll-pt", "scroll-pb"],
1865
- touch: [
1866
- "touch-x",
1867
- "touch-y",
1868
- "touch-pz"
1869
- ],
1870
- "touch-x": ["touch"],
1871
- "touch-y": ["touch"],
1872
- "touch-pz": ["touch"]
1873
- },
1874
- conflictingClassGroupModifiers: { "font-size": ["leading"] },
1875
- orderSensitiveModifiers: [
1876
- "*",
1877
- "**",
1878
- "after",
1879
- "backdrop",
1880
- "before",
1881
- "details-content",
1882
- "file",
1883
- "first-letter",
1884
- "first-line",
1885
- "marker",
1886
- "placeholder",
1887
- "selection"
1888
- ]
1889
- };
1890
- };
1891
- const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
1892
-
1893
- //#endregion
1894
- exports.twMerge = twMerge;