@powerhousedao/powerhouse-vetra-packages 6.2.3-dev.69 → 6.2.3-dev.70

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.
Files changed (92) hide show
  1. package/dist/browser/document-models/index.js +1 -1
  2. package/dist/{node/documents-D70S9PZL.mjs → browser/documents-BLZ-QW5b.js} +4 -5
  3. package/dist/browser/documents-BLZ-QW5b.js.map +1 -0
  4. package/dist/browser/{editor-C46DbRGz.js → editor-Dmpkd8pQ.js} +3 -3
  5. package/dist/browser/{editor-C46DbRGz.js.map → editor-Dmpkd8pQ.js.map} +1 -1
  6. package/dist/browser/editor-x1UIfSot.js +2277 -0
  7. package/dist/browser/editor-x1UIfSot.js.map +1 -0
  8. package/dist/browser/editors/document-model-editor/module.js +1 -1
  9. package/dist/browser/editors/document-model-editor/module.js.map +1 -1
  10. package/dist/browser/editors/generic-drive-explorer/index.js +4 -341
  11. package/dist/browser/editors/generic-drive-explorer/index.js.map +1 -1
  12. package/dist/browser/editors/generic-drive-explorer/module.js +1 -1
  13. package/dist/browser/folder-view-CwIU4XEe.js +237 -0
  14. package/dist/browser/folder-view-CwIU4XEe.js.map +1 -0
  15. package/dist/browser/graphql-editor-CpcGaYmP.js +103 -0
  16. package/dist/browser/graphql-editor-CpcGaYmP.js.map +1 -0
  17. package/dist/browser/hooks-BmHa-lY2.js +126 -0
  18. package/dist/browser/hooks-BmHa-lY2.js.map +1 -0
  19. package/dist/browser/index.js +5 -805
  20. package/dist/browser/index.js.map +1 -1
  21. package/dist/browser/json-editor-CB1XmZgN.js +55 -0
  22. package/dist/browser/json-editor-CB1XmZgN.js.map +1 -0
  23. package/dist/browser/schema-context-5evhtuMb.js +70 -0
  24. package/dist/browser/schema-context-5evhtuMb.js.map +1 -0
  25. package/dist/browser/state-schemas-DHLAg1w0.js +300 -0
  26. package/dist/browser/state-schemas-DHLAg1w0.js.map +1 -0
  27. package/dist/node/bundle-mjs-Cuu3DEfT.mjs +3140 -0
  28. package/dist/node/bundle-mjs-Cuu3DEfT.mjs.map +1 -0
  29. package/dist/node/{graphql-Dp4j7rmx.mjs → documents-CFiuC6XV.mjs} +16 -3
  30. package/dist/node/documents-CFiuC6XV.mjs.map +1 -0
  31. package/dist/node/{editor-pTt1k9t6.mjs → editor-7g9ujMII.mjs} +2883 -2733
  32. package/dist/node/editor-7g9ujMII.mjs.map +1 -0
  33. package/dist/node/{editor-DXke64og.mjs → editor-NwTlNx8z.mjs} +3 -3
  34. package/dist/node/{editor-DXke64og.mjs.map → editor-NwTlNx8z.mjs.map} +1 -1
  35. package/dist/node/editors/document-model-editor/module.mjs +1 -1
  36. package/dist/node/editors/document-model-editor/module.mjs.map +1 -1
  37. package/dist/node/editors/generic-drive-explorer/index.mjs +3 -4
  38. package/dist/node/editors/generic-drive-explorer/index.mjs.map +1 -1
  39. package/dist/node/editors/generic-drive-explorer/module.mjs +1 -1
  40. package/dist/node/{folder-view-UO8P7SfT.mjs → folder-view-CkCNU8A_.mjs} +4 -4
  41. package/dist/node/folder-view-CkCNU8A_.mjs.map +1 -0
  42. package/dist/node/{graphql-editor-CBJXEY_C.mjs → graphql-editor-v1OXETjM.mjs} +5079 -26
  43. package/dist/node/graphql-editor-v1OXETjM.mjs.map +1 -0
  44. package/dist/{browser/hooks-eQxBX7g4.js → node/hooks-gEAaW5rF.mjs} +2 -2
  45. package/dist/node/{hooks-C2b46djt.mjs.map → hooks-gEAaW5rF.mjs.map} +1 -1
  46. package/dist/node/index.mjs +3 -178
  47. package/dist/node/index.mjs.map +1 -1
  48. package/dist/{browser/json-editor-DfRD-pfk.js → node/json-editor-8dfjgcaX.mjs} +3 -3
  49. package/dist/node/{json-editor-DaqHARBD.mjs.map → json-editor-8dfjgcaX.mjs.map} +1 -1
  50. package/dist/node/rolldown-runtime-Bl3dcgcQ.mjs +16 -0
  51. package/dist/node/{schema-context-CojjnSE6.mjs → schema-context-DgUu7l_Q.mjs} +2 -3
  52. package/dist/node/{schema-context-CojjnSE6.mjs.map → schema-context-DgUu7l_Q.mjs.map} +1 -1
  53. package/dist/node/{state-schemas-C-3b_V-y.mjs → state-schemas-DXWpf1zO.mjs} +419 -53
  54. package/dist/node/state-schemas-DXWpf1zO.mjs.map +1 -0
  55. package/package.json +19 -17
  56. package/dist/browser/assets/entry-oIniX8Dq.js +0 -418
  57. package/dist/browser/assets/projection-entry-CdlLTrjU.js +0 -482
  58. package/dist/browser/documents-CRzouuNR.js +0 -6067
  59. package/dist/browser/documents-CRzouuNR.js.map +0 -1
  60. package/dist/browser/editor-CHAz7_5H.js +0 -4676
  61. package/dist/browser/editor-CHAz7_5H.js.map +0 -1
  62. package/dist/browser/folder-view-ByndDKAA.js +0 -966
  63. package/dist/browser/folder-view-ByndDKAA.js.map +0 -1
  64. package/dist/browser/graphql-editor-DaeXCZJ2.js +0 -11708
  65. package/dist/browser/graphql-editor-DaeXCZJ2.js.map +0 -1
  66. package/dist/browser/hooks-eQxBX7g4.js.map +0 -1
  67. package/dist/browser/icon-components-CJ4I3Y6Y-63fqUqwJ.js +0 -3188
  68. package/dist/browser/icon-components-CJ4I3Y6Y-63fqUqwJ.js.map +0 -1
  69. package/dist/browser/json-editor-DfRD-pfk.js.map +0 -1
  70. package/dist/browser/parser-DtbeHA3H.js +0 -2554
  71. package/dist/browser/parser-DtbeHA3H.js.map +0 -1
  72. package/dist/browser/rolldown-runtime-DC62tzP2.js +0 -33
  73. package/dist/browser/src-CohvVFnR-DSqs821B.js +0 -5694
  74. package/dist/browser/src-CohvVFnR-DSqs821B.js.map +0 -1
  75. package/dist/browser/state-schemas-CVfWDSOU.js +0 -696
  76. package/dist/browser/state-schemas-CVfWDSOU.js.map +0 -1
  77. package/dist/browser/tslib.es6-Cno80yFJ.js +0 -32
  78. package/dist/browser/tslib.es6-Cno80yFJ.js.map +0 -1
  79. package/dist/node/documents-D70S9PZL.mjs.map +0 -1
  80. package/dist/node/editor-pTt1k9t6.mjs.map +0 -1
  81. package/dist/node/folder-view-UO8P7SfT.mjs.map +0 -1
  82. package/dist/node/graphql-Dp4j7rmx.mjs.map +0 -1
  83. package/dist/node/graphql-editor-CBJXEY_C.mjs.map +0 -1
  84. package/dist/node/hooks-C2b46djt.mjs +0 -24593
  85. package/dist/node/icon-components-CJ4I3Y6Y-BEyG_aKA.mjs +0 -3188
  86. package/dist/node/icon-components-CJ4I3Y6Y-BEyG_aKA.mjs.map +0 -1
  87. package/dist/node/json-editor-DaqHARBD.mjs +0 -153
  88. package/dist/node/src-CohvVFnR-6ubKLBl5.mjs +0 -6375
  89. package/dist/node/src-CohvVFnR-6ubKLBl5.mjs.map +0 -1
  90. package/dist/node/state-schemas-C-3b_V-y.mjs.map +0 -1
  91. package/dist/node/tslib.es6-VORZjfk3.mjs +0 -583
  92. package/dist/node/tslib.es6-VORZjfk3.mjs.map +0 -1
@@ -0,0 +1,3140 @@
1
+ //#region ../../node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
2
+ /**
3
+ * Concatenates two arrays faster than the array spread operator.
4
+ */
5
+ const concatArrays = (array1, array2) => {
6
+ const combinedArray = new Array(array1.length + array2.length);
7
+ for (let i = 0; i < array1.length; i++) combinedArray[i] = array1[i];
8
+ for (let i = 0; i < array2.length; i++) combinedArray[array1.length + i] = array2[i];
9
+ return combinedArray;
10
+ };
11
+ const createClassValidatorObject = (classGroupId, validator) => ({
12
+ classGroupId,
13
+ validator
14
+ });
15
+ const createClassPartObject = (nextPart = /* @__PURE__ */ new Map(), validators = null, classGroupId) => ({
16
+ nextPart,
17
+ validators,
18
+ classGroupId
19
+ });
20
+ const CLASS_PART_SEPARATOR = "-";
21
+ const EMPTY_CONFLICTS = [];
22
+ const ARBITRARY_PROPERTY_PREFIX = "arbitrary..";
23
+ const createClassGroupUtils = (config) => {
24
+ const classMap = createClassMap(config);
25
+ const { conflictingClassGroups, conflictingClassGroupModifiers } = config;
26
+ const getClassGroupId = (className) => {
27
+ if (className.startsWith("[") && className.endsWith("]")) return getGroupIdForArbitraryProperty(className);
28
+ const classParts = className.split(CLASS_PART_SEPARATOR);
29
+ const startIndex = classParts[0] === "" && classParts.length > 1 ? 1 : 0;
30
+ return getGroupRecursive(classParts, startIndex, 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
+ const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
376
+ configUtils = createConfigUtils(config);
377
+ cacheGet = configUtils.cache.get;
378
+ cacheSet = configUtils.cache.set;
379
+ functionToCall = tailwindMerge;
380
+ return tailwindMerge(classList);
381
+ };
382
+ const tailwindMerge = (classList) => {
383
+ const cachedResult = cacheGet(classList);
384
+ if (cachedResult) return cachedResult;
385
+ const result = mergeClassList(classList, configUtils);
386
+ cacheSet(classList, result);
387
+ return result;
388
+ };
389
+ functionToCall = initTailwindMerge;
390
+ return (...args) => functionToCall(twJoin(...args));
391
+ };
392
+ const fallbackThemeArr = [];
393
+ const fromTheme = (key) => {
394
+ const themeGetter = (theme) => theme[key] || fallbackThemeArr;
395
+ themeGetter.isThemeGetter = true;
396
+ return themeGetter;
397
+ };
398
+ const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
399
+ const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
400
+ const fractionRegex = /^\d+\/\d+$/;
401
+ const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
402
+ 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$/;
403
+ const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
404
+ const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
405
+ const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
406
+ const isFraction = (value) => fractionRegex.test(value);
407
+ const isNumber = (value) => !!value && !Number.isNaN(Number(value));
408
+ const isInteger = (value) => !!value && Number.isInteger(Number(value));
409
+ const isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
410
+ const isTshirtSize = (value) => tshirtUnitRegex.test(value);
411
+ const isAny = () => true;
412
+ const isLengthOnly = (value) => lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
413
+ const isNever = () => false;
414
+ const isShadow = (value) => shadowRegex.test(value);
415
+ const isImage = (value) => imageRegex.test(value);
416
+ const isAnyNonArbitrary = (value) => !isArbitraryValue(value) && !isArbitraryVariable(value);
417
+ const isArbitrarySize = (value) => getIsArbitraryValue(value, isLabelSize, isNever);
418
+ const isArbitraryValue = (value) => arbitraryValueRegex.test(value);
419
+ const isArbitraryLength = (value) => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
420
+ const isArbitraryNumber = (value) => getIsArbitraryValue(value, isLabelNumber, isNumber);
421
+ const isArbitraryPosition = (value) => getIsArbitraryValue(value, isLabelPosition, isNever);
422
+ const isArbitraryImage = (value) => getIsArbitraryValue(value, isLabelImage, isImage);
423
+ const isArbitraryShadow = (value) => getIsArbitraryValue(value, isLabelShadow, isShadow);
424
+ const isArbitraryVariable = (value) => arbitraryVariableRegex.test(value);
425
+ const isArbitraryVariableLength = (value) => getIsArbitraryVariable(value, isLabelLength);
426
+ const isArbitraryVariableFamilyName = (value) => getIsArbitraryVariable(value, isLabelFamilyName);
427
+ const isArbitraryVariablePosition = (value) => getIsArbitraryVariable(value, isLabelPosition);
428
+ const isArbitraryVariableSize = (value) => getIsArbitraryVariable(value, isLabelSize);
429
+ const isArbitraryVariableImage = (value) => getIsArbitraryVariable(value, isLabelImage);
430
+ const isArbitraryVariableShadow = (value) => getIsArbitraryVariable(value, isLabelShadow, true);
431
+ const getIsArbitraryValue = (value, testLabel, testValue) => {
432
+ const result = arbitraryValueRegex.exec(value);
433
+ if (result) {
434
+ if (result[1]) return testLabel(result[1]);
435
+ return testValue(result[2]);
436
+ }
437
+ return false;
438
+ };
439
+ const getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
440
+ const result = arbitraryVariableRegex.exec(value);
441
+ if (result) {
442
+ if (result[1]) return testLabel(result[1]);
443
+ return shouldMatchNoLabel;
444
+ }
445
+ return false;
446
+ };
447
+ const isLabelPosition = (label) => label === "position" || label === "percentage";
448
+ const isLabelImage = (label) => label === "image" || label === "url";
449
+ const isLabelSize = (label) => label === "length" || label === "size" || label === "bg-size";
450
+ const isLabelLength = (label) => label === "length";
451
+ const isLabelNumber = (label) => label === "number";
452
+ const isLabelFamilyName = (label) => label === "family-name";
453
+ const isLabelShadow = (label) => label === "shadow";
454
+ const getDefaultConfig = () => {
455
+ /**
456
+ * Theme getters for theme variable namespaces
457
+ * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
458
+ */
459
+ const themeColor = fromTheme("color");
460
+ const themeFont = fromTheme("font");
461
+ const themeText = fromTheme("text");
462
+ const themeFontWeight = fromTheme("font-weight");
463
+ const themeTracking = fromTheme("tracking");
464
+ const themeLeading = fromTheme("leading");
465
+ const themeBreakpoint = fromTheme("breakpoint");
466
+ const themeContainer = fromTheme("container");
467
+ const themeSpacing = fromTheme("spacing");
468
+ const themeRadius = fromTheme("radius");
469
+ const themeShadow = fromTheme("shadow");
470
+ const themeInsetShadow = fromTheme("inset-shadow");
471
+ const themeTextShadow = fromTheme("text-shadow");
472
+ const themeDropShadow = fromTheme("drop-shadow");
473
+ const themeBlur = fromTheme("blur");
474
+ const themePerspective = fromTheme("perspective");
475
+ const themeAspect = fromTheme("aspect");
476
+ const themeEase = fromTheme("ease");
477
+ const themeAnimate = fromTheme("animate");
478
+ /**
479
+ * Helpers to avoid repeating the same scales
480
+ *
481
+ * We use functions that create a new array every time they're called instead of static arrays.
482
+ * 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.
483
+ */
484
+ const scaleBreak = () => [
485
+ "auto",
486
+ "avoid",
487
+ "all",
488
+ "avoid-page",
489
+ "page",
490
+ "left",
491
+ "right",
492
+ "column"
493
+ ];
494
+ const scalePosition = () => [
495
+ "center",
496
+ "top",
497
+ "bottom",
498
+ "left",
499
+ "right",
500
+ "top-left",
501
+ "left-top",
502
+ "top-right",
503
+ "right-top",
504
+ "bottom-right",
505
+ "right-bottom",
506
+ "bottom-left",
507
+ "left-bottom"
508
+ ];
509
+ const scalePositionWithArbitrary = () => [
510
+ ...scalePosition(),
511
+ isArbitraryVariable,
512
+ isArbitraryValue
513
+ ];
514
+ const scaleOverflow = () => [
515
+ "auto",
516
+ "hidden",
517
+ "clip",
518
+ "visible",
519
+ "scroll"
520
+ ];
521
+ const scaleOverscroll = () => [
522
+ "auto",
523
+ "contain",
524
+ "none"
525
+ ];
526
+ const scaleUnambiguousSpacing = () => [
527
+ isArbitraryVariable,
528
+ isArbitraryValue,
529
+ themeSpacing
530
+ ];
531
+ const scaleInset = () => [
532
+ isFraction,
533
+ "full",
534
+ "auto",
535
+ ...scaleUnambiguousSpacing()
536
+ ];
537
+ const scaleGridTemplateColsRows = () => [
538
+ isInteger,
539
+ "none",
540
+ "subgrid",
541
+ isArbitraryVariable,
542
+ isArbitraryValue
543
+ ];
544
+ const scaleGridColRowStartAndEnd = () => [
545
+ "auto",
546
+ { span: [
547
+ "full",
548
+ isInteger,
549
+ isArbitraryVariable,
550
+ isArbitraryValue
551
+ ] },
552
+ isInteger,
553
+ isArbitraryVariable,
554
+ isArbitraryValue
555
+ ];
556
+ const scaleGridColRowStartOrEnd = () => [
557
+ isInteger,
558
+ "auto",
559
+ isArbitraryVariable,
560
+ isArbitraryValue
561
+ ];
562
+ const scaleGridAutoColsRows = () => [
563
+ "auto",
564
+ "min",
565
+ "max",
566
+ "fr",
567
+ isArbitraryVariable,
568
+ isArbitraryValue
569
+ ];
570
+ const scaleAlignPrimaryAxis = () => [
571
+ "start",
572
+ "end",
573
+ "center",
574
+ "between",
575
+ "around",
576
+ "evenly",
577
+ "stretch",
578
+ "baseline",
579
+ "center-safe",
580
+ "end-safe"
581
+ ];
582
+ const scaleAlignSecondaryAxis = () => [
583
+ "start",
584
+ "end",
585
+ "center",
586
+ "stretch",
587
+ "center-safe",
588
+ "end-safe"
589
+ ];
590
+ const scaleMargin = () => ["auto", ...scaleUnambiguousSpacing()];
591
+ const scaleSizing = () => [
592
+ isFraction,
593
+ "auto",
594
+ "full",
595
+ "dvw",
596
+ "dvh",
597
+ "lvw",
598
+ "lvh",
599
+ "svw",
600
+ "svh",
601
+ "min",
602
+ "max",
603
+ "fit",
604
+ ...scaleUnambiguousSpacing()
605
+ ];
606
+ const scaleColor = () => [
607
+ themeColor,
608
+ isArbitraryVariable,
609
+ isArbitraryValue
610
+ ];
611
+ const scaleBgPosition = () => [
612
+ ...scalePosition(),
613
+ isArbitraryVariablePosition,
614
+ isArbitraryPosition,
615
+ { position: [isArbitraryVariable, isArbitraryValue] }
616
+ ];
617
+ const scaleBgRepeat = () => ["no-repeat", { repeat: [
618
+ "",
619
+ "x",
620
+ "y",
621
+ "space",
622
+ "round"
623
+ ] }];
624
+ const scaleBgSize = () => [
625
+ "auto",
626
+ "cover",
627
+ "contain",
628
+ isArbitraryVariableSize,
629
+ isArbitrarySize,
630
+ { size: [isArbitraryVariable, isArbitraryValue] }
631
+ ];
632
+ const scaleGradientStopPosition = () => [
633
+ isPercent,
634
+ isArbitraryVariableLength,
635
+ isArbitraryLength
636
+ ];
637
+ const scaleRadius = () => [
638
+ "",
639
+ "none",
640
+ "full",
641
+ themeRadius,
642
+ isArbitraryVariable,
643
+ isArbitraryValue
644
+ ];
645
+ const scaleBorderWidth = () => [
646
+ "",
647
+ isNumber,
648
+ isArbitraryVariableLength,
649
+ isArbitraryLength
650
+ ];
651
+ const scaleLineStyle = () => [
652
+ "solid",
653
+ "dashed",
654
+ "dotted",
655
+ "double"
656
+ ];
657
+ const scaleBlendMode = () => [
658
+ "normal",
659
+ "multiply",
660
+ "screen",
661
+ "overlay",
662
+ "darken",
663
+ "lighten",
664
+ "color-dodge",
665
+ "color-burn",
666
+ "hard-light",
667
+ "soft-light",
668
+ "difference",
669
+ "exclusion",
670
+ "hue",
671
+ "saturation",
672
+ "color",
673
+ "luminosity"
674
+ ];
675
+ const scaleMaskImagePosition = () => [
676
+ isNumber,
677
+ isPercent,
678
+ isArbitraryVariablePosition,
679
+ isArbitraryPosition
680
+ ];
681
+ const scaleBlur = () => [
682
+ "",
683
+ "none",
684
+ themeBlur,
685
+ isArbitraryVariable,
686
+ isArbitraryValue
687
+ ];
688
+ const scaleRotate = () => [
689
+ "none",
690
+ isNumber,
691
+ isArbitraryVariable,
692
+ isArbitraryValue
693
+ ];
694
+ const scaleScale = () => [
695
+ "none",
696
+ isNumber,
697
+ isArbitraryVariable,
698
+ isArbitraryValue
699
+ ];
700
+ const scaleSkew = () => [
701
+ isNumber,
702
+ isArbitraryVariable,
703
+ isArbitraryValue
704
+ ];
705
+ const scaleTranslate = () => [
706
+ isFraction,
707
+ "full",
708
+ ...scaleUnambiguousSpacing()
709
+ ];
710
+ return {
711
+ cacheSize: 500,
712
+ theme: {
713
+ animate: [
714
+ "spin",
715
+ "ping",
716
+ "pulse",
717
+ "bounce"
718
+ ],
719
+ aspect: ["video"],
720
+ blur: [isTshirtSize],
721
+ breakpoint: [isTshirtSize],
722
+ color: [isAny],
723
+ container: [isTshirtSize],
724
+ "drop-shadow": [isTshirtSize],
725
+ ease: [
726
+ "in",
727
+ "out",
728
+ "in-out"
729
+ ],
730
+ font: [isAnyNonArbitrary],
731
+ "font-weight": [
732
+ "thin",
733
+ "extralight",
734
+ "light",
735
+ "normal",
736
+ "medium",
737
+ "semibold",
738
+ "bold",
739
+ "extrabold",
740
+ "black"
741
+ ],
742
+ "inset-shadow": [isTshirtSize],
743
+ leading: [
744
+ "none",
745
+ "tight",
746
+ "snug",
747
+ "normal",
748
+ "relaxed",
749
+ "loose"
750
+ ],
751
+ perspective: [
752
+ "dramatic",
753
+ "near",
754
+ "normal",
755
+ "midrange",
756
+ "distant",
757
+ "none"
758
+ ],
759
+ radius: [isTshirtSize],
760
+ shadow: [isTshirtSize],
761
+ spacing: ["px", isNumber],
762
+ text: [isTshirtSize],
763
+ "text-shadow": [isTshirtSize],
764
+ tracking: [
765
+ "tighter",
766
+ "tight",
767
+ "normal",
768
+ "wide",
769
+ "wider",
770
+ "widest"
771
+ ]
772
+ },
773
+ classGroups: {
774
+ /**
775
+ * Aspect Ratio
776
+ * @see https://tailwindcss.com/docs/aspect-ratio
777
+ */
778
+ aspect: [{ aspect: [
779
+ "auto",
780
+ "square",
781
+ isFraction,
782
+ isArbitraryValue,
783
+ isArbitraryVariable,
784
+ themeAspect
785
+ ] }],
786
+ /**
787
+ * Container
788
+ * @see https://tailwindcss.com/docs/container
789
+ * @deprecated since Tailwind CSS v4.0.0
790
+ */
791
+ container: ["container"],
792
+ /**
793
+ * Columns
794
+ * @see https://tailwindcss.com/docs/columns
795
+ */
796
+ columns: [{ columns: [
797
+ isNumber,
798
+ isArbitraryValue,
799
+ isArbitraryVariable,
800
+ themeContainer
801
+ ] }],
802
+ /**
803
+ * Break After
804
+ * @see https://tailwindcss.com/docs/break-after
805
+ */
806
+ "break-after": [{ "break-after": scaleBreak() }],
807
+ /**
808
+ * Break Before
809
+ * @see https://tailwindcss.com/docs/break-before
810
+ */
811
+ "break-before": [{ "break-before": scaleBreak() }],
812
+ /**
813
+ * Break Inside
814
+ * @see https://tailwindcss.com/docs/break-inside
815
+ */
816
+ "break-inside": [{ "break-inside": [
817
+ "auto",
818
+ "avoid",
819
+ "avoid-page",
820
+ "avoid-column"
821
+ ] }],
822
+ /**
823
+ * Box Decoration Break
824
+ * @see https://tailwindcss.com/docs/box-decoration-break
825
+ */
826
+ "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
827
+ /**
828
+ * Box Sizing
829
+ * @see https://tailwindcss.com/docs/box-sizing
830
+ */
831
+ box: [{ box: ["border", "content"] }],
832
+ /**
833
+ * Display
834
+ * @see https://tailwindcss.com/docs/display
835
+ */
836
+ display: [
837
+ "block",
838
+ "inline-block",
839
+ "inline",
840
+ "flex",
841
+ "inline-flex",
842
+ "table",
843
+ "inline-table",
844
+ "table-caption",
845
+ "table-cell",
846
+ "table-column",
847
+ "table-column-group",
848
+ "table-footer-group",
849
+ "table-header-group",
850
+ "table-row-group",
851
+ "table-row",
852
+ "flow-root",
853
+ "grid",
854
+ "inline-grid",
855
+ "contents",
856
+ "list-item",
857
+ "hidden"
858
+ ],
859
+ /**
860
+ * Screen Reader Only
861
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
862
+ */
863
+ sr: ["sr-only", "not-sr-only"],
864
+ /**
865
+ * Floats
866
+ * @see https://tailwindcss.com/docs/float
867
+ */
868
+ float: [{ float: [
869
+ "right",
870
+ "left",
871
+ "none",
872
+ "start",
873
+ "end"
874
+ ] }],
875
+ /**
876
+ * Clear
877
+ * @see https://tailwindcss.com/docs/clear
878
+ */
879
+ clear: [{ clear: [
880
+ "left",
881
+ "right",
882
+ "both",
883
+ "none",
884
+ "start",
885
+ "end"
886
+ ] }],
887
+ /**
888
+ * Isolation
889
+ * @see https://tailwindcss.com/docs/isolation
890
+ */
891
+ isolation: ["isolate", "isolation-auto"],
892
+ /**
893
+ * Object Fit
894
+ * @see https://tailwindcss.com/docs/object-fit
895
+ */
896
+ "object-fit": [{ object: [
897
+ "contain",
898
+ "cover",
899
+ "fill",
900
+ "none",
901
+ "scale-down"
902
+ ] }],
903
+ /**
904
+ * Object Position
905
+ * @see https://tailwindcss.com/docs/object-position
906
+ */
907
+ "object-position": [{ object: scalePositionWithArbitrary() }],
908
+ /**
909
+ * Overflow
910
+ * @see https://tailwindcss.com/docs/overflow
911
+ */
912
+ overflow: [{ overflow: scaleOverflow() }],
913
+ /**
914
+ * Overflow X
915
+ * @see https://tailwindcss.com/docs/overflow
916
+ */
917
+ "overflow-x": [{ "overflow-x": scaleOverflow() }],
918
+ /**
919
+ * Overflow Y
920
+ * @see https://tailwindcss.com/docs/overflow
921
+ */
922
+ "overflow-y": [{ "overflow-y": scaleOverflow() }],
923
+ /**
924
+ * Overscroll Behavior
925
+ * @see https://tailwindcss.com/docs/overscroll-behavior
926
+ */
927
+ overscroll: [{ overscroll: scaleOverscroll() }],
928
+ /**
929
+ * Overscroll Behavior X
930
+ * @see https://tailwindcss.com/docs/overscroll-behavior
931
+ */
932
+ "overscroll-x": [{ "overscroll-x": scaleOverscroll() }],
933
+ /**
934
+ * Overscroll Behavior Y
935
+ * @see https://tailwindcss.com/docs/overscroll-behavior
936
+ */
937
+ "overscroll-y": [{ "overscroll-y": scaleOverscroll() }],
938
+ /**
939
+ * Position
940
+ * @see https://tailwindcss.com/docs/position
941
+ */
942
+ position: [
943
+ "static",
944
+ "fixed",
945
+ "absolute",
946
+ "relative",
947
+ "sticky"
948
+ ],
949
+ /**
950
+ * Top / Right / Bottom / Left
951
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
952
+ */
953
+ inset: [{ inset: scaleInset() }],
954
+ /**
955
+ * Right / Left
956
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
957
+ */
958
+ "inset-x": [{ "inset-x": scaleInset() }],
959
+ /**
960
+ * Top / Bottom
961
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
962
+ */
963
+ "inset-y": [{ "inset-y": scaleInset() }],
964
+ /**
965
+ * Start
966
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
967
+ */
968
+ start: [{ start: scaleInset() }],
969
+ /**
970
+ * End
971
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
972
+ */
973
+ end: [{ end: scaleInset() }],
974
+ /**
975
+ * Top
976
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
977
+ */
978
+ top: [{ top: scaleInset() }],
979
+ /**
980
+ * Right
981
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
982
+ */
983
+ right: [{ right: scaleInset() }],
984
+ /**
985
+ * Bottom
986
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
987
+ */
988
+ bottom: [{ bottom: scaleInset() }],
989
+ /**
990
+ * Left
991
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
992
+ */
993
+ left: [{ left: scaleInset() }],
994
+ /**
995
+ * Visibility
996
+ * @see https://tailwindcss.com/docs/visibility
997
+ */
998
+ visibility: [
999
+ "visible",
1000
+ "invisible",
1001
+ "collapse"
1002
+ ],
1003
+ /**
1004
+ * Z-Index
1005
+ * @see https://tailwindcss.com/docs/z-index
1006
+ */
1007
+ z: [{ z: [
1008
+ isInteger,
1009
+ "auto",
1010
+ isArbitraryVariable,
1011
+ isArbitraryValue
1012
+ ] }],
1013
+ /**
1014
+ * Flex Basis
1015
+ * @see https://tailwindcss.com/docs/flex-basis
1016
+ */
1017
+ basis: [{ basis: [
1018
+ isFraction,
1019
+ "full",
1020
+ "auto",
1021
+ themeContainer,
1022
+ ...scaleUnambiguousSpacing()
1023
+ ] }],
1024
+ /**
1025
+ * Flex Direction
1026
+ * @see https://tailwindcss.com/docs/flex-direction
1027
+ */
1028
+ "flex-direction": [{ flex: [
1029
+ "row",
1030
+ "row-reverse",
1031
+ "col",
1032
+ "col-reverse"
1033
+ ] }],
1034
+ /**
1035
+ * Flex Wrap
1036
+ * @see https://tailwindcss.com/docs/flex-wrap
1037
+ */
1038
+ "flex-wrap": [{ flex: [
1039
+ "nowrap",
1040
+ "wrap",
1041
+ "wrap-reverse"
1042
+ ] }],
1043
+ /**
1044
+ * Flex
1045
+ * @see https://tailwindcss.com/docs/flex
1046
+ */
1047
+ flex: [{ flex: [
1048
+ isNumber,
1049
+ isFraction,
1050
+ "auto",
1051
+ "initial",
1052
+ "none",
1053
+ isArbitraryValue
1054
+ ] }],
1055
+ /**
1056
+ * Flex Grow
1057
+ * @see https://tailwindcss.com/docs/flex-grow
1058
+ */
1059
+ grow: [{ grow: [
1060
+ "",
1061
+ isNumber,
1062
+ isArbitraryVariable,
1063
+ isArbitraryValue
1064
+ ] }],
1065
+ /**
1066
+ * Flex Shrink
1067
+ * @see https://tailwindcss.com/docs/flex-shrink
1068
+ */
1069
+ shrink: [{ shrink: [
1070
+ "",
1071
+ isNumber,
1072
+ isArbitraryVariable,
1073
+ isArbitraryValue
1074
+ ] }],
1075
+ /**
1076
+ * Order
1077
+ * @see https://tailwindcss.com/docs/order
1078
+ */
1079
+ order: [{ order: [
1080
+ isInteger,
1081
+ "first",
1082
+ "last",
1083
+ "none",
1084
+ isArbitraryVariable,
1085
+ isArbitraryValue
1086
+ ] }],
1087
+ /**
1088
+ * Grid Template Columns
1089
+ * @see https://tailwindcss.com/docs/grid-template-columns
1090
+ */
1091
+ "grid-cols": [{ "grid-cols": scaleGridTemplateColsRows() }],
1092
+ /**
1093
+ * Grid Column Start / End
1094
+ * @see https://tailwindcss.com/docs/grid-column
1095
+ */
1096
+ "col-start-end": [{ col: scaleGridColRowStartAndEnd() }],
1097
+ /**
1098
+ * Grid Column Start
1099
+ * @see https://tailwindcss.com/docs/grid-column
1100
+ */
1101
+ "col-start": [{ "col-start": scaleGridColRowStartOrEnd() }],
1102
+ /**
1103
+ * Grid Column End
1104
+ * @see https://tailwindcss.com/docs/grid-column
1105
+ */
1106
+ "col-end": [{ "col-end": scaleGridColRowStartOrEnd() }],
1107
+ /**
1108
+ * Grid Template Rows
1109
+ * @see https://tailwindcss.com/docs/grid-template-rows
1110
+ */
1111
+ "grid-rows": [{ "grid-rows": scaleGridTemplateColsRows() }],
1112
+ /**
1113
+ * Grid Row Start / End
1114
+ * @see https://tailwindcss.com/docs/grid-row
1115
+ */
1116
+ "row-start-end": [{ row: scaleGridColRowStartAndEnd() }],
1117
+ /**
1118
+ * Grid Row Start
1119
+ * @see https://tailwindcss.com/docs/grid-row
1120
+ */
1121
+ "row-start": [{ "row-start": scaleGridColRowStartOrEnd() }],
1122
+ /**
1123
+ * Grid Row End
1124
+ * @see https://tailwindcss.com/docs/grid-row
1125
+ */
1126
+ "row-end": [{ "row-end": scaleGridColRowStartOrEnd() }],
1127
+ /**
1128
+ * Grid Auto Flow
1129
+ * @see https://tailwindcss.com/docs/grid-auto-flow
1130
+ */
1131
+ "grid-flow": [{ "grid-flow": [
1132
+ "row",
1133
+ "col",
1134
+ "dense",
1135
+ "row-dense",
1136
+ "col-dense"
1137
+ ] }],
1138
+ /**
1139
+ * Grid Auto Columns
1140
+ * @see https://tailwindcss.com/docs/grid-auto-columns
1141
+ */
1142
+ "auto-cols": [{ "auto-cols": scaleGridAutoColsRows() }],
1143
+ /**
1144
+ * Grid Auto Rows
1145
+ * @see https://tailwindcss.com/docs/grid-auto-rows
1146
+ */
1147
+ "auto-rows": [{ "auto-rows": scaleGridAutoColsRows() }],
1148
+ /**
1149
+ * Gap
1150
+ * @see https://tailwindcss.com/docs/gap
1151
+ */
1152
+ gap: [{ gap: scaleUnambiguousSpacing() }],
1153
+ /**
1154
+ * Gap X
1155
+ * @see https://tailwindcss.com/docs/gap
1156
+ */
1157
+ "gap-x": [{ "gap-x": scaleUnambiguousSpacing() }],
1158
+ /**
1159
+ * Gap Y
1160
+ * @see https://tailwindcss.com/docs/gap
1161
+ */
1162
+ "gap-y": [{ "gap-y": scaleUnambiguousSpacing() }],
1163
+ /**
1164
+ * Justify Content
1165
+ * @see https://tailwindcss.com/docs/justify-content
1166
+ */
1167
+ "justify-content": [{ justify: [...scaleAlignPrimaryAxis(), "normal"] }],
1168
+ /**
1169
+ * Justify Items
1170
+ * @see https://tailwindcss.com/docs/justify-items
1171
+ */
1172
+ "justify-items": [{ "justify-items": [...scaleAlignSecondaryAxis(), "normal"] }],
1173
+ /**
1174
+ * Justify Self
1175
+ * @see https://tailwindcss.com/docs/justify-self
1176
+ */
1177
+ "justify-self": [{ "justify-self": ["auto", ...scaleAlignSecondaryAxis()] }],
1178
+ /**
1179
+ * Align Content
1180
+ * @see https://tailwindcss.com/docs/align-content
1181
+ */
1182
+ "align-content": [{ content: ["normal", ...scaleAlignPrimaryAxis()] }],
1183
+ /**
1184
+ * Align Items
1185
+ * @see https://tailwindcss.com/docs/align-items
1186
+ */
1187
+ "align-items": [{ items: [...scaleAlignSecondaryAxis(), { baseline: ["", "last"] }] }],
1188
+ /**
1189
+ * Align Self
1190
+ * @see https://tailwindcss.com/docs/align-self
1191
+ */
1192
+ "align-self": [{ self: [
1193
+ "auto",
1194
+ ...scaleAlignSecondaryAxis(),
1195
+ { baseline: ["", "last"] }
1196
+ ] }],
1197
+ /**
1198
+ * Place Content
1199
+ * @see https://tailwindcss.com/docs/place-content
1200
+ */
1201
+ "place-content": [{ "place-content": scaleAlignPrimaryAxis() }],
1202
+ /**
1203
+ * Place Items
1204
+ * @see https://tailwindcss.com/docs/place-items
1205
+ */
1206
+ "place-items": [{ "place-items": [...scaleAlignSecondaryAxis(), "baseline"] }],
1207
+ /**
1208
+ * Place Self
1209
+ * @see https://tailwindcss.com/docs/place-self
1210
+ */
1211
+ "place-self": [{ "place-self": ["auto", ...scaleAlignSecondaryAxis()] }],
1212
+ /**
1213
+ * Padding
1214
+ * @see https://tailwindcss.com/docs/padding
1215
+ */
1216
+ p: [{ p: scaleUnambiguousSpacing() }],
1217
+ /**
1218
+ * Padding X
1219
+ * @see https://tailwindcss.com/docs/padding
1220
+ */
1221
+ px: [{ px: scaleUnambiguousSpacing() }],
1222
+ /**
1223
+ * Padding Y
1224
+ * @see https://tailwindcss.com/docs/padding
1225
+ */
1226
+ py: [{ py: scaleUnambiguousSpacing() }],
1227
+ /**
1228
+ * Padding Start
1229
+ * @see https://tailwindcss.com/docs/padding
1230
+ */
1231
+ ps: [{ ps: scaleUnambiguousSpacing() }],
1232
+ /**
1233
+ * Padding End
1234
+ * @see https://tailwindcss.com/docs/padding
1235
+ */
1236
+ pe: [{ pe: scaleUnambiguousSpacing() }],
1237
+ /**
1238
+ * Padding Top
1239
+ * @see https://tailwindcss.com/docs/padding
1240
+ */
1241
+ pt: [{ pt: scaleUnambiguousSpacing() }],
1242
+ /**
1243
+ * Padding Right
1244
+ * @see https://tailwindcss.com/docs/padding
1245
+ */
1246
+ pr: [{ pr: scaleUnambiguousSpacing() }],
1247
+ /**
1248
+ * Padding Bottom
1249
+ * @see https://tailwindcss.com/docs/padding
1250
+ */
1251
+ pb: [{ pb: scaleUnambiguousSpacing() }],
1252
+ /**
1253
+ * Padding Left
1254
+ * @see https://tailwindcss.com/docs/padding
1255
+ */
1256
+ pl: [{ pl: scaleUnambiguousSpacing() }],
1257
+ /**
1258
+ * Margin
1259
+ * @see https://tailwindcss.com/docs/margin
1260
+ */
1261
+ m: [{ m: scaleMargin() }],
1262
+ /**
1263
+ * Margin X
1264
+ * @see https://tailwindcss.com/docs/margin
1265
+ */
1266
+ mx: [{ mx: scaleMargin() }],
1267
+ /**
1268
+ * Margin Y
1269
+ * @see https://tailwindcss.com/docs/margin
1270
+ */
1271
+ my: [{ my: scaleMargin() }],
1272
+ /**
1273
+ * Margin Start
1274
+ * @see https://tailwindcss.com/docs/margin
1275
+ */
1276
+ ms: [{ ms: scaleMargin() }],
1277
+ /**
1278
+ * Margin End
1279
+ * @see https://tailwindcss.com/docs/margin
1280
+ */
1281
+ me: [{ me: scaleMargin() }],
1282
+ /**
1283
+ * Margin Top
1284
+ * @see https://tailwindcss.com/docs/margin
1285
+ */
1286
+ mt: [{ mt: scaleMargin() }],
1287
+ /**
1288
+ * Margin Right
1289
+ * @see https://tailwindcss.com/docs/margin
1290
+ */
1291
+ mr: [{ mr: scaleMargin() }],
1292
+ /**
1293
+ * Margin Bottom
1294
+ * @see https://tailwindcss.com/docs/margin
1295
+ */
1296
+ mb: [{ mb: scaleMargin() }],
1297
+ /**
1298
+ * Margin Left
1299
+ * @see https://tailwindcss.com/docs/margin
1300
+ */
1301
+ ml: [{ ml: scaleMargin() }],
1302
+ /**
1303
+ * Space Between X
1304
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1305
+ */
1306
+ "space-x": [{ "space-x": scaleUnambiguousSpacing() }],
1307
+ /**
1308
+ * Space Between X Reverse
1309
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1310
+ */
1311
+ "space-x-reverse": ["space-x-reverse"],
1312
+ /**
1313
+ * Space Between Y
1314
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1315
+ */
1316
+ "space-y": [{ "space-y": scaleUnambiguousSpacing() }],
1317
+ /**
1318
+ * Space Between Y Reverse
1319
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1320
+ */
1321
+ "space-y-reverse": ["space-y-reverse"],
1322
+ /**
1323
+ * Size
1324
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1325
+ */
1326
+ size: [{ size: scaleSizing() }],
1327
+ /**
1328
+ * Width
1329
+ * @see https://tailwindcss.com/docs/width
1330
+ */
1331
+ w: [{ w: [
1332
+ themeContainer,
1333
+ "screen",
1334
+ ...scaleSizing()
1335
+ ] }],
1336
+ /**
1337
+ * Min-Width
1338
+ * @see https://tailwindcss.com/docs/min-width
1339
+ */
1340
+ "min-w": [{ "min-w": [
1341
+ themeContainer,
1342
+ "screen",
1343
+ "none",
1344
+ ...scaleSizing()
1345
+ ] }],
1346
+ /**
1347
+ * Max-Width
1348
+ * @see https://tailwindcss.com/docs/max-width
1349
+ */
1350
+ "max-w": [{ "max-w": [
1351
+ themeContainer,
1352
+ "screen",
1353
+ "none",
1354
+ "prose",
1355
+ { screen: [themeBreakpoint] },
1356
+ ...scaleSizing()
1357
+ ] }],
1358
+ /**
1359
+ * Height
1360
+ * @see https://tailwindcss.com/docs/height
1361
+ */
1362
+ h: [{ h: [
1363
+ "screen",
1364
+ "lh",
1365
+ ...scaleSizing()
1366
+ ] }],
1367
+ /**
1368
+ * Min-Height
1369
+ * @see https://tailwindcss.com/docs/min-height
1370
+ */
1371
+ "min-h": [{ "min-h": [
1372
+ "screen",
1373
+ "lh",
1374
+ "none",
1375
+ ...scaleSizing()
1376
+ ] }],
1377
+ /**
1378
+ * Max-Height
1379
+ * @see https://tailwindcss.com/docs/max-height
1380
+ */
1381
+ "max-h": [{ "max-h": [
1382
+ "screen",
1383
+ "lh",
1384
+ ...scaleSizing()
1385
+ ] }],
1386
+ /**
1387
+ * Font Size
1388
+ * @see https://tailwindcss.com/docs/font-size
1389
+ */
1390
+ "font-size": [{ text: [
1391
+ "base",
1392
+ themeText,
1393
+ isArbitraryVariableLength,
1394
+ isArbitraryLength
1395
+ ] }],
1396
+ /**
1397
+ * Font Smoothing
1398
+ * @see https://tailwindcss.com/docs/font-smoothing
1399
+ */
1400
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1401
+ /**
1402
+ * Font Style
1403
+ * @see https://tailwindcss.com/docs/font-style
1404
+ */
1405
+ "font-style": ["italic", "not-italic"],
1406
+ /**
1407
+ * Font Weight
1408
+ * @see https://tailwindcss.com/docs/font-weight
1409
+ */
1410
+ "font-weight": [{ font: [
1411
+ themeFontWeight,
1412
+ isArbitraryVariable,
1413
+ isArbitraryNumber
1414
+ ] }],
1415
+ /**
1416
+ * Font Stretch
1417
+ * @see https://tailwindcss.com/docs/font-stretch
1418
+ */
1419
+ "font-stretch": [{ "font-stretch": [
1420
+ "ultra-condensed",
1421
+ "extra-condensed",
1422
+ "condensed",
1423
+ "semi-condensed",
1424
+ "normal",
1425
+ "semi-expanded",
1426
+ "expanded",
1427
+ "extra-expanded",
1428
+ "ultra-expanded",
1429
+ isPercent,
1430
+ isArbitraryValue
1431
+ ] }],
1432
+ /**
1433
+ * Font Family
1434
+ * @see https://tailwindcss.com/docs/font-family
1435
+ */
1436
+ "font-family": [{ font: [
1437
+ isArbitraryVariableFamilyName,
1438
+ isArbitraryValue,
1439
+ themeFont
1440
+ ] }],
1441
+ /**
1442
+ * Font Variant Numeric
1443
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1444
+ */
1445
+ "fvn-normal": ["normal-nums"],
1446
+ /**
1447
+ * Font Variant Numeric
1448
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1449
+ */
1450
+ "fvn-ordinal": ["ordinal"],
1451
+ /**
1452
+ * Font Variant Numeric
1453
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1454
+ */
1455
+ "fvn-slashed-zero": ["slashed-zero"],
1456
+ /**
1457
+ * Font Variant Numeric
1458
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1459
+ */
1460
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1461
+ /**
1462
+ * Font Variant Numeric
1463
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1464
+ */
1465
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1466
+ /**
1467
+ * Font Variant Numeric
1468
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1469
+ */
1470
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1471
+ /**
1472
+ * Letter Spacing
1473
+ * @see https://tailwindcss.com/docs/letter-spacing
1474
+ */
1475
+ tracking: [{ tracking: [
1476
+ themeTracking,
1477
+ isArbitraryVariable,
1478
+ isArbitraryValue
1479
+ ] }],
1480
+ /**
1481
+ * Line Clamp
1482
+ * @see https://tailwindcss.com/docs/line-clamp
1483
+ */
1484
+ "line-clamp": [{ "line-clamp": [
1485
+ isNumber,
1486
+ "none",
1487
+ isArbitraryVariable,
1488
+ isArbitraryNumber
1489
+ ] }],
1490
+ /**
1491
+ * Line Height
1492
+ * @see https://tailwindcss.com/docs/line-height
1493
+ */
1494
+ leading: [{ leading: [themeLeading, ...scaleUnambiguousSpacing()] }],
1495
+ /**
1496
+ * List Style Image
1497
+ * @see https://tailwindcss.com/docs/list-style-image
1498
+ */
1499
+ "list-image": [{ "list-image": [
1500
+ "none",
1501
+ isArbitraryVariable,
1502
+ isArbitraryValue
1503
+ ] }],
1504
+ /**
1505
+ * List Style Position
1506
+ * @see https://tailwindcss.com/docs/list-style-position
1507
+ */
1508
+ "list-style-position": [{ list: ["inside", "outside"] }],
1509
+ /**
1510
+ * List Style Type
1511
+ * @see https://tailwindcss.com/docs/list-style-type
1512
+ */
1513
+ "list-style-type": [{ list: [
1514
+ "disc",
1515
+ "decimal",
1516
+ "none",
1517
+ isArbitraryVariable,
1518
+ isArbitraryValue
1519
+ ] }],
1520
+ /**
1521
+ * Text Alignment
1522
+ * @see https://tailwindcss.com/docs/text-align
1523
+ */
1524
+ "text-alignment": [{ text: [
1525
+ "left",
1526
+ "center",
1527
+ "right",
1528
+ "justify",
1529
+ "start",
1530
+ "end"
1531
+ ] }],
1532
+ /**
1533
+ * Placeholder Color
1534
+ * @deprecated since Tailwind CSS v3.0.0
1535
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1536
+ */
1537
+ "placeholder-color": [{ placeholder: scaleColor() }],
1538
+ /**
1539
+ * Text Color
1540
+ * @see https://tailwindcss.com/docs/text-color
1541
+ */
1542
+ "text-color": [{ text: scaleColor() }],
1543
+ /**
1544
+ * Text Decoration
1545
+ * @see https://tailwindcss.com/docs/text-decoration
1546
+ */
1547
+ "text-decoration": [
1548
+ "underline",
1549
+ "overline",
1550
+ "line-through",
1551
+ "no-underline"
1552
+ ],
1553
+ /**
1554
+ * Text Decoration Style
1555
+ * @see https://tailwindcss.com/docs/text-decoration-style
1556
+ */
1557
+ "text-decoration-style": [{ decoration: [...scaleLineStyle(), "wavy"] }],
1558
+ /**
1559
+ * Text Decoration Thickness
1560
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1561
+ */
1562
+ "text-decoration-thickness": [{ decoration: [
1563
+ isNumber,
1564
+ "from-font",
1565
+ "auto",
1566
+ isArbitraryVariable,
1567
+ isArbitraryLength
1568
+ ] }],
1569
+ /**
1570
+ * Text Decoration Color
1571
+ * @see https://tailwindcss.com/docs/text-decoration-color
1572
+ */
1573
+ "text-decoration-color": [{ decoration: scaleColor() }],
1574
+ /**
1575
+ * Text Underline Offset
1576
+ * @see https://tailwindcss.com/docs/text-underline-offset
1577
+ */
1578
+ "underline-offset": [{ "underline-offset": [
1579
+ isNumber,
1580
+ "auto",
1581
+ isArbitraryVariable,
1582
+ isArbitraryValue
1583
+ ] }],
1584
+ /**
1585
+ * Text Transform
1586
+ * @see https://tailwindcss.com/docs/text-transform
1587
+ */
1588
+ "text-transform": [
1589
+ "uppercase",
1590
+ "lowercase",
1591
+ "capitalize",
1592
+ "normal-case"
1593
+ ],
1594
+ /**
1595
+ * Text Overflow
1596
+ * @see https://tailwindcss.com/docs/text-overflow
1597
+ */
1598
+ "text-overflow": [
1599
+ "truncate",
1600
+ "text-ellipsis",
1601
+ "text-clip"
1602
+ ],
1603
+ /**
1604
+ * Text Wrap
1605
+ * @see https://tailwindcss.com/docs/text-wrap
1606
+ */
1607
+ "text-wrap": [{ text: [
1608
+ "wrap",
1609
+ "nowrap",
1610
+ "balance",
1611
+ "pretty"
1612
+ ] }],
1613
+ /**
1614
+ * Text Indent
1615
+ * @see https://tailwindcss.com/docs/text-indent
1616
+ */
1617
+ indent: [{ indent: scaleUnambiguousSpacing() }],
1618
+ /**
1619
+ * Vertical Alignment
1620
+ * @see https://tailwindcss.com/docs/vertical-align
1621
+ */
1622
+ "vertical-align": [{ align: [
1623
+ "baseline",
1624
+ "top",
1625
+ "middle",
1626
+ "bottom",
1627
+ "text-top",
1628
+ "text-bottom",
1629
+ "sub",
1630
+ "super",
1631
+ isArbitraryVariable,
1632
+ isArbitraryValue
1633
+ ] }],
1634
+ /**
1635
+ * Whitespace
1636
+ * @see https://tailwindcss.com/docs/whitespace
1637
+ */
1638
+ whitespace: [{ whitespace: [
1639
+ "normal",
1640
+ "nowrap",
1641
+ "pre",
1642
+ "pre-line",
1643
+ "pre-wrap",
1644
+ "break-spaces"
1645
+ ] }],
1646
+ /**
1647
+ * Word Break
1648
+ * @see https://tailwindcss.com/docs/word-break
1649
+ */
1650
+ break: [{ break: [
1651
+ "normal",
1652
+ "words",
1653
+ "all",
1654
+ "keep"
1655
+ ] }],
1656
+ /**
1657
+ * Overflow Wrap
1658
+ * @see https://tailwindcss.com/docs/overflow-wrap
1659
+ */
1660
+ wrap: [{ wrap: [
1661
+ "break-word",
1662
+ "anywhere",
1663
+ "normal"
1664
+ ] }],
1665
+ /**
1666
+ * Hyphens
1667
+ * @see https://tailwindcss.com/docs/hyphens
1668
+ */
1669
+ hyphens: [{ hyphens: [
1670
+ "none",
1671
+ "manual",
1672
+ "auto"
1673
+ ] }],
1674
+ /**
1675
+ * Content
1676
+ * @see https://tailwindcss.com/docs/content
1677
+ */
1678
+ content: [{ content: [
1679
+ "none",
1680
+ isArbitraryVariable,
1681
+ isArbitraryValue
1682
+ ] }],
1683
+ /**
1684
+ * Background Attachment
1685
+ * @see https://tailwindcss.com/docs/background-attachment
1686
+ */
1687
+ "bg-attachment": [{ bg: [
1688
+ "fixed",
1689
+ "local",
1690
+ "scroll"
1691
+ ] }],
1692
+ /**
1693
+ * Background Clip
1694
+ * @see https://tailwindcss.com/docs/background-clip
1695
+ */
1696
+ "bg-clip": [{ "bg-clip": [
1697
+ "border",
1698
+ "padding",
1699
+ "content",
1700
+ "text"
1701
+ ] }],
1702
+ /**
1703
+ * Background Origin
1704
+ * @see https://tailwindcss.com/docs/background-origin
1705
+ */
1706
+ "bg-origin": [{ "bg-origin": [
1707
+ "border",
1708
+ "padding",
1709
+ "content"
1710
+ ] }],
1711
+ /**
1712
+ * Background Position
1713
+ * @see https://tailwindcss.com/docs/background-position
1714
+ */
1715
+ "bg-position": [{ bg: scaleBgPosition() }],
1716
+ /**
1717
+ * Background Repeat
1718
+ * @see https://tailwindcss.com/docs/background-repeat
1719
+ */
1720
+ "bg-repeat": [{ bg: scaleBgRepeat() }],
1721
+ /**
1722
+ * Background Size
1723
+ * @see https://tailwindcss.com/docs/background-size
1724
+ */
1725
+ "bg-size": [{ bg: scaleBgSize() }],
1726
+ /**
1727
+ * Background Image
1728
+ * @see https://tailwindcss.com/docs/background-image
1729
+ */
1730
+ "bg-image": [{ bg: [
1731
+ "none",
1732
+ {
1733
+ linear: [
1734
+ { to: [
1735
+ "t",
1736
+ "tr",
1737
+ "r",
1738
+ "br",
1739
+ "b",
1740
+ "bl",
1741
+ "l",
1742
+ "tl"
1743
+ ] },
1744
+ isInteger,
1745
+ isArbitraryVariable,
1746
+ isArbitraryValue
1747
+ ],
1748
+ radial: [
1749
+ "",
1750
+ isArbitraryVariable,
1751
+ isArbitraryValue
1752
+ ],
1753
+ conic: [
1754
+ isInteger,
1755
+ isArbitraryVariable,
1756
+ isArbitraryValue
1757
+ ]
1758
+ },
1759
+ isArbitraryVariableImage,
1760
+ isArbitraryImage
1761
+ ] }],
1762
+ /**
1763
+ * Background Color
1764
+ * @see https://tailwindcss.com/docs/background-color
1765
+ */
1766
+ "bg-color": [{ bg: scaleColor() }],
1767
+ /**
1768
+ * Gradient Color Stops From Position
1769
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1770
+ */
1771
+ "gradient-from-pos": [{ from: scaleGradientStopPosition() }],
1772
+ /**
1773
+ * Gradient Color Stops Via Position
1774
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1775
+ */
1776
+ "gradient-via-pos": [{ via: scaleGradientStopPosition() }],
1777
+ /**
1778
+ * Gradient Color Stops To Position
1779
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1780
+ */
1781
+ "gradient-to-pos": [{ to: scaleGradientStopPosition() }],
1782
+ /**
1783
+ * Gradient Color Stops From
1784
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1785
+ */
1786
+ "gradient-from": [{ from: scaleColor() }],
1787
+ /**
1788
+ * Gradient Color Stops Via
1789
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1790
+ */
1791
+ "gradient-via": [{ via: scaleColor() }],
1792
+ /**
1793
+ * Gradient Color Stops To
1794
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1795
+ */
1796
+ "gradient-to": [{ to: scaleColor() }],
1797
+ /**
1798
+ * Border Radius
1799
+ * @see https://tailwindcss.com/docs/border-radius
1800
+ */
1801
+ rounded: [{ rounded: scaleRadius() }],
1802
+ /**
1803
+ * Border Radius Start
1804
+ * @see https://tailwindcss.com/docs/border-radius
1805
+ */
1806
+ "rounded-s": [{ "rounded-s": scaleRadius() }],
1807
+ /**
1808
+ * Border Radius End
1809
+ * @see https://tailwindcss.com/docs/border-radius
1810
+ */
1811
+ "rounded-e": [{ "rounded-e": scaleRadius() }],
1812
+ /**
1813
+ * Border Radius Top
1814
+ * @see https://tailwindcss.com/docs/border-radius
1815
+ */
1816
+ "rounded-t": [{ "rounded-t": scaleRadius() }],
1817
+ /**
1818
+ * Border Radius Right
1819
+ * @see https://tailwindcss.com/docs/border-radius
1820
+ */
1821
+ "rounded-r": [{ "rounded-r": scaleRadius() }],
1822
+ /**
1823
+ * Border Radius Bottom
1824
+ * @see https://tailwindcss.com/docs/border-radius
1825
+ */
1826
+ "rounded-b": [{ "rounded-b": scaleRadius() }],
1827
+ /**
1828
+ * Border Radius Left
1829
+ * @see https://tailwindcss.com/docs/border-radius
1830
+ */
1831
+ "rounded-l": [{ "rounded-l": scaleRadius() }],
1832
+ /**
1833
+ * Border Radius Start Start
1834
+ * @see https://tailwindcss.com/docs/border-radius
1835
+ */
1836
+ "rounded-ss": [{ "rounded-ss": scaleRadius() }],
1837
+ /**
1838
+ * Border Radius Start End
1839
+ * @see https://tailwindcss.com/docs/border-radius
1840
+ */
1841
+ "rounded-se": [{ "rounded-se": scaleRadius() }],
1842
+ /**
1843
+ * Border Radius End End
1844
+ * @see https://tailwindcss.com/docs/border-radius
1845
+ */
1846
+ "rounded-ee": [{ "rounded-ee": scaleRadius() }],
1847
+ /**
1848
+ * Border Radius End Start
1849
+ * @see https://tailwindcss.com/docs/border-radius
1850
+ */
1851
+ "rounded-es": [{ "rounded-es": scaleRadius() }],
1852
+ /**
1853
+ * Border Radius Top Left
1854
+ * @see https://tailwindcss.com/docs/border-radius
1855
+ */
1856
+ "rounded-tl": [{ "rounded-tl": scaleRadius() }],
1857
+ /**
1858
+ * Border Radius Top Right
1859
+ * @see https://tailwindcss.com/docs/border-radius
1860
+ */
1861
+ "rounded-tr": [{ "rounded-tr": scaleRadius() }],
1862
+ /**
1863
+ * Border Radius Bottom Right
1864
+ * @see https://tailwindcss.com/docs/border-radius
1865
+ */
1866
+ "rounded-br": [{ "rounded-br": scaleRadius() }],
1867
+ /**
1868
+ * Border Radius Bottom Left
1869
+ * @see https://tailwindcss.com/docs/border-radius
1870
+ */
1871
+ "rounded-bl": [{ "rounded-bl": scaleRadius() }],
1872
+ /**
1873
+ * Border Width
1874
+ * @see https://tailwindcss.com/docs/border-width
1875
+ */
1876
+ "border-w": [{ border: scaleBorderWidth() }],
1877
+ /**
1878
+ * Border Width X
1879
+ * @see https://tailwindcss.com/docs/border-width
1880
+ */
1881
+ "border-w-x": [{ "border-x": scaleBorderWidth() }],
1882
+ /**
1883
+ * Border Width Y
1884
+ * @see https://tailwindcss.com/docs/border-width
1885
+ */
1886
+ "border-w-y": [{ "border-y": scaleBorderWidth() }],
1887
+ /**
1888
+ * Border Width Start
1889
+ * @see https://tailwindcss.com/docs/border-width
1890
+ */
1891
+ "border-w-s": [{ "border-s": scaleBorderWidth() }],
1892
+ /**
1893
+ * Border Width End
1894
+ * @see https://tailwindcss.com/docs/border-width
1895
+ */
1896
+ "border-w-e": [{ "border-e": scaleBorderWidth() }],
1897
+ /**
1898
+ * Border Width Top
1899
+ * @see https://tailwindcss.com/docs/border-width
1900
+ */
1901
+ "border-w-t": [{ "border-t": scaleBorderWidth() }],
1902
+ /**
1903
+ * Border Width Right
1904
+ * @see https://tailwindcss.com/docs/border-width
1905
+ */
1906
+ "border-w-r": [{ "border-r": scaleBorderWidth() }],
1907
+ /**
1908
+ * Border Width Bottom
1909
+ * @see https://tailwindcss.com/docs/border-width
1910
+ */
1911
+ "border-w-b": [{ "border-b": scaleBorderWidth() }],
1912
+ /**
1913
+ * Border Width Left
1914
+ * @see https://tailwindcss.com/docs/border-width
1915
+ */
1916
+ "border-w-l": [{ "border-l": scaleBorderWidth() }],
1917
+ /**
1918
+ * Divide Width X
1919
+ * @see https://tailwindcss.com/docs/border-width#between-children
1920
+ */
1921
+ "divide-x": [{ "divide-x": scaleBorderWidth() }],
1922
+ /**
1923
+ * Divide Width X Reverse
1924
+ * @see https://tailwindcss.com/docs/border-width#between-children
1925
+ */
1926
+ "divide-x-reverse": ["divide-x-reverse"],
1927
+ /**
1928
+ * Divide Width Y
1929
+ * @see https://tailwindcss.com/docs/border-width#between-children
1930
+ */
1931
+ "divide-y": [{ "divide-y": scaleBorderWidth() }],
1932
+ /**
1933
+ * Divide Width Y Reverse
1934
+ * @see https://tailwindcss.com/docs/border-width#between-children
1935
+ */
1936
+ "divide-y-reverse": ["divide-y-reverse"],
1937
+ /**
1938
+ * Border Style
1939
+ * @see https://tailwindcss.com/docs/border-style
1940
+ */
1941
+ "border-style": [{ border: [
1942
+ ...scaleLineStyle(),
1943
+ "hidden",
1944
+ "none"
1945
+ ] }],
1946
+ /**
1947
+ * Divide Style
1948
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1949
+ */
1950
+ "divide-style": [{ divide: [
1951
+ ...scaleLineStyle(),
1952
+ "hidden",
1953
+ "none"
1954
+ ] }],
1955
+ /**
1956
+ * Border Color
1957
+ * @see https://tailwindcss.com/docs/border-color
1958
+ */
1959
+ "border-color": [{ border: scaleColor() }],
1960
+ /**
1961
+ * Border Color X
1962
+ * @see https://tailwindcss.com/docs/border-color
1963
+ */
1964
+ "border-color-x": [{ "border-x": scaleColor() }],
1965
+ /**
1966
+ * Border Color Y
1967
+ * @see https://tailwindcss.com/docs/border-color
1968
+ */
1969
+ "border-color-y": [{ "border-y": scaleColor() }],
1970
+ /**
1971
+ * Border Color S
1972
+ * @see https://tailwindcss.com/docs/border-color
1973
+ */
1974
+ "border-color-s": [{ "border-s": scaleColor() }],
1975
+ /**
1976
+ * Border Color E
1977
+ * @see https://tailwindcss.com/docs/border-color
1978
+ */
1979
+ "border-color-e": [{ "border-e": scaleColor() }],
1980
+ /**
1981
+ * Border Color Top
1982
+ * @see https://tailwindcss.com/docs/border-color
1983
+ */
1984
+ "border-color-t": [{ "border-t": scaleColor() }],
1985
+ /**
1986
+ * Border Color Right
1987
+ * @see https://tailwindcss.com/docs/border-color
1988
+ */
1989
+ "border-color-r": [{ "border-r": scaleColor() }],
1990
+ /**
1991
+ * Border Color Bottom
1992
+ * @see https://tailwindcss.com/docs/border-color
1993
+ */
1994
+ "border-color-b": [{ "border-b": scaleColor() }],
1995
+ /**
1996
+ * Border Color Left
1997
+ * @see https://tailwindcss.com/docs/border-color
1998
+ */
1999
+ "border-color-l": [{ "border-l": scaleColor() }],
2000
+ /**
2001
+ * Divide Color
2002
+ * @see https://tailwindcss.com/docs/divide-color
2003
+ */
2004
+ "divide-color": [{ divide: scaleColor() }],
2005
+ /**
2006
+ * Outline Style
2007
+ * @see https://tailwindcss.com/docs/outline-style
2008
+ */
2009
+ "outline-style": [{ outline: [
2010
+ ...scaleLineStyle(),
2011
+ "none",
2012
+ "hidden"
2013
+ ] }],
2014
+ /**
2015
+ * Outline Offset
2016
+ * @see https://tailwindcss.com/docs/outline-offset
2017
+ */
2018
+ "outline-offset": [{ "outline-offset": [
2019
+ isNumber,
2020
+ isArbitraryVariable,
2021
+ isArbitraryValue
2022
+ ] }],
2023
+ /**
2024
+ * Outline Width
2025
+ * @see https://tailwindcss.com/docs/outline-width
2026
+ */
2027
+ "outline-w": [{ outline: [
2028
+ "",
2029
+ isNumber,
2030
+ isArbitraryVariableLength,
2031
+ isArbitraryLength
2032
+ ] }],
2033
+ /**
2034
+ * Outline Color
2035
+ * @see https://tailwindcss.com/docs/outline-color
2036
+ */
2037
+ "outline-color": [{ outline: scaleColor() }],
2038
+ /**
2039
+ * Box Shadow
2040
+ * @see https://tailwindcss.com/docs/box-shadow
2041
+ */
2042
+ shadow: [{ shadow: [
2043
+ "",
2044
+ "none",
2045
+ themeShadow,
2046
+ isArbitraryVariableShadow,
2047
+ isArbitraryShadow
2048
+ ] }],
2049
+ /**
2050
+ * Box Shadow Color
2051
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2052
+ */
2053
+ "shadow-color": [{ shadow: scaleColor() }],
2054
+ /**
2055
+ * Inset Box Shadow
2056
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2057
+ */
2058
+ "inset-shadow": [{ "inset-shadow": [
2059
+ "none",
2060
+ themeInsetShadow,
2061
+ isArbitraryVariableShadow,
2062
+ isArbitraryShadow
2063
+ ] }],
2064
+ /**
2065
+ * Inset Box Shadow Color
2066
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2067
+ */
2068
+ "inset-shadow-color": [{ "inset-shadow": scaleColor() }],
2069
+ /**
2070
+ * Ring Width
2071
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2072
+ */
2073
+ "ring-w": [{ ring: scaleBorderWidth() }],
2074
+ /**
2075
+ * Ring Width Inset
2076
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2077
+ * @deprecated since Tailwind CSS v4.0.0
2078
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2079
+ */
2080
+ "ring-w-inset": ["ring-inset"],
2081
+ /**
2082
+ * Ring Color
2083
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2084
+ */
2085
+ "ring-color": [{ ring: scaleColor() }],
2086
+ /**
2087
+ * Ring Offset Width
2088
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
2089
+ * @deprecated since Tailwind CSS v4.0.0
2090
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2091
+ */
2092
+ "ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
2093
+ /**
2094
+ * Ring Offset Color
2095
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
2096
+ * @deprecated since Tailwind CSS v4.0.0
2097
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2098
+ */
2099
+ "ring-offset-color": [{ "ring-offset": scaleColor() }],
2100
+ /**
2101
+ * Inset Ring Width
2102
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2103
+ */
2104
+ "inset-ring-w": [{ "inset-ring": scaleBorderWidth() }],
2105
+ /**
2106
+ * Inset Ring Color
2107
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2108
+ */
2109
+ "inset-ring-color": [{ "inset-ring": scaleColor() }],
2110
+ /**
2111
+ * Text Shadow
2112
+ * @see https://tailwindcss.com/docs/text-shadow
2113
+ */
2114
+ "text-shadow": [{ "text-shadow": [
2115
+ "none",
2116
+ themeTextShadow,
2117
+ isArbitraryVariableShadow,
2118
+ isArbitraryShadow
2119
+ ] }],
2120
+ /**
2121
+ * Text Shadow Color
2122
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2123
+ */
2124
+ "text-shadow-color": [{ "text-shadow": scaleColor() }],
2125
+ /**
2126
+ * Opacity
2127
+ * @see https://tailwindcss.com/docs/opacity
2128
+ */
2129
+ opacity: [{ opacity: [
2130
+ isNumber,
2131
+ isArbitraryVariable,
2132
+ isArbitraryValue
2133
+ ] }],
2134
+ /**
2135
+ * Mix Blend Mode
2136
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2137
+ */
2138
+ "mix-blend": [{ "mix-blend": [
2139
+ ...scaleBlendMode(),
2140
+ "plus-darker",
2141
+ "plus-lighter"
2142
+ ] }],
2143
+ /**
2144
+ * Background Blend Mode
2145
+ * @see https://tailwindcss.com/docs/background-blend-mode
2146
+ */
2147
+ "bg-blend": [{ "bg-blend": scaleBlendMode() }],
2148
+ /**
2149
+ * Mask Clip
2150
+ * @see https://tailwindcss.com/docs/mask-clip
2151
+ */
2152
+ "mask-clip": [{ "mask-clip": [
2153
+ "border",
2154
+ "padding",
2155
+ "content",
2156
+ "fill",
2157
+ "stroke",
2158
+ "view"
2159
+ ] }, "mask-no-clip"],
2160
+ /**
2161
+ * Mask Composite
2162
+ * @see https://tailwindcss.com/docs/mask-composite
2163
+ */
2164
+ "mask-composite": [{ mask: [
2165
+ "add",
2166
+ "subtract",
2167
+ "intersect",
2168
+ "exclude"
2169
+ ] }],
2170
+ /**
2171
+ * Mask Image
2172
+ * @see https://tailwindcss.com/docs/mask-image
2173
+ */
2174
+ "mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
2175
+ "mask-image-linear-from-pos": [{ "mask-linear-from": scaleMaskImagePosition() }],
2176
+ "mask-image-linear-to-pos": [{ "mask-linear-to": scaleMaskImagePosition() }],
2177
+ "mask-image-linear-from-color": [{ "mask-linear-from": scaleColor() }],
2178
+ "mask-image-linear-to-color": [{ "mask-linear-to": scaleColor() }],
2179
+ "mask-image-t-from-pos": [{ "mask-t-from": scaleMaskImagePosition() }],
2180
+ "mask-image-t-to-pos": [{ "mask-t-to": scaleMaskImagePosition() }],
2181
+ "mask-image-t-from-color": [{ "mask-t-from": scaleColor() }],
2182
+ "mask-image-t-to-color": [{ "mask-t-to": scaleColor() }],
2183
+ "mask-image-r-from-pos": [{ "mask-r-from": scaleMaskImagePosition() }],
2184
+ "mask-image-r-to-pos": [{ "mask-r-to": scaleMaskImagePosition() }],
2185
+ "mask-image-r-from-color": [{ "mask-r-from": scaleColor() }],
2186
+ "mask-image-r-to-color": [{ "mask-r-to": scaleColor() }],
2187
+ "mask-image-b-from-pos": [{ "mask-b-from": scaleMaskImagePosition() }],
2188
+ "mask-image-b-to-pos": [{ "mask-b-to": scaleMaskImagePosition() }],
2189
+ "mask-image-b-from-color": [{ "mask-b-from": scaleColor() }],
2190
+ "mask-image-b-to-color": [{ "mask-b-to": scaleColor() }],
2191
+ "mask-image-l-from-pos": [{ "mask-l-from": scaleMaskImagePosition() }],
2192
+ "mask-image-l-to-pos": [{ "mask-l-to": scaleMaskImagePosition() }],
2193
+ "mask-image-l-from-color": [{ "mask-l-from": scaleColor() }],
2194
+ "mask-image-l-to-color": [{ "mask-l-to": scaleColor() }],
2195
+ "mask-image-x-from-pos": [{ "mask-x-from": scaleMaskImagePosition() }],
2196
+ "mask-image-x-to-pos": [{ "mask-x-to": scaleMaskImagePosition() }],
2197
+ "mask-image-x-from-color": [{ "mask-x-from": scaleColor() }],
2198
+ "mask-image-x-to-color": [{ "mask-x-to": scaleColor() }],
2199
+ "mask-image-y-from-pos": [{ "mask-y-from": scaleMaskImagePosition() }],
2200
+ "mask-image-y-to-pos": [{ "mask-y-to": scaleMaskImagePosition() }],
2201
+ "mask-image-y-from-color": [{ "mask-y-from": scaleColor() }],
2202
+ "mask-image-y-to-color": [{ "mask-y-to": scaleColor() }],
2203
+ "mask-image-radial": [{ "mask-radial": [isArbitraryVariable, isArbitraryValue] }],
2204
+ "mask-image-radial-from-pos": [{ "mask-radial-from": scaleMaskImagePosition() }],
2205
+ "mask-image-radial-to-pos": [{ "mask-radial-to": scaleMaskImagePosition() }],
2206
+ "mask-image-radial-from-color": [{ "mask-radial-from": scaleColor() }],
2207
+ "mask-image-radial-to-color": [{ "mask-radial-to": scaleColor() }],
2208
+ "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
2209
+ "mask-image-radial-size": [{ "mask-radial": [{
2210
+ closest: ["side", "corner"],
2211
+ farthest: ["side", "corner"]
2212
+ }] }],
2213
+ "mask-image-radial-pos": [{ "mask-radial-at": scalePosition() }],
2214
+ "mask-image-conic-pos": [{ "mask-conic": [isNumber] }],
2215
+ "mask-image-conic-from-pos": [{ "mask-conic-from": scaleMaskImagePosition() }],
2216
+ "mask-image-conic-to-pos": [{ "mask-conic-to": scaleMaskImagePosition() }],
2217
+ "mask-image-conic-from-color": [{ "mask-conic-from": scaleColor() }],
2218
+ "mask-image-conic-to-color": [{ "mask-conic-to": scaleColor() }],
2219
+ /**
2220
+ * Mask Mode
2221
+ * @see https://tailwindcss.com/docs/mask-mode
2222
+ */
2223
+ "mask-mode": [{ mask: [
2224
+ "alpha",
2225
+ "luminance",
2226
+ "match"
2227
+ ] }],
2228
+ /**
2229
+ * Mask Origin
2230
+ * @see https://tailwindcss.com/docs/mask-origin
2231
+ */
2232
+ "mask-origin": [{ "mask-origin": [
2233
+ "border",
2234
+ "padding",
2235
+ "content",
2236
+ "fill",
2237
+ "stroke",
2238
+ "view"
2239
+ ] }],
2240
+ /**
2241
+ * Mask Position
2242
+ * @see https://tailwindcss.com/docs/mask-position
2243
+ */
2244
+ "mask-position": [{ mask: scaleBgPosition() }],
2245
+ /**
2246
+ * Mask Repeat
2247
+ * @see https://tailwindcss.com/docs/mask-repeat
2248
+ */
2249
+ "mask-repeat": [{ mask: scaleBgRepeat() }],
2250
+ /**
2251
+ * Mask Size
2252
+ * @see https://tailwindcss.com/docs/mask-size
2253
+ */
2254
+ "mask-size": [{ mask: scaleBgSize() }],
2255
+ /**
2256
+ * Mask Type
2257
+ * @see https://tailwindcss.com/docs/mask-type
2258
+ */
2259
+ "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
2260
+ /**
2261
+ * Mask Image
2262
+ * @see https://tailwindcss.com/docs/mask-image
2263
+ */
2264
+ "mask-image": [{ mask: [
2265
+ "none",
2266
+ isArbitraryVariable,
2267
+ isArbitraryValue
2268
+ ] }],
2269
+ /**
2270
+ * Filter
2271
+ * @see https://tailwindcss.com/docs/filter
2272
+ */
2273
+ filter: [{ filter: [
2274
+ "",
2275
+ "none",
2276
+ isArbitraryVariable,
2277
+ isArbitraryValue
2278
+ ] }],
2279
+ /**
2280
+ * Blur
2281
+ * @see https://tailwindcss.com/docs/blur
2282
+ */
2283
+ blur: [{ blur: scaleBlur() }],
2284
+ /**
2285
+ * Brightness
2286
+ * @see https://tailwindcss.com/docs/brightness
2287
+ */
2288
+ brightness: [{ brightness: [
2289
+ isNumber,
2290
+ isArbitraryVariable,
2291
+ isArbitraryValue
2292
+ ] }],
2293
+ /**
2294
+ * Contrast
2295
+ * @see https://tailwindcss.com/docs/contrast
2296
+ */
2297
+ contrast: [{ contrast: [
2298
+ isNumber,
2299
+ isArbitraryVariable,
2300
+ isArbitraryValue
2301
+ ] }],
2302
+ /**
2303
+ * Drop Shadow
2304
+ * @see https://tailwindcss.com/docs/drop-shadow
2305
+ */
2306
+ "drop-shadow": [{ "drop-shadow": [
2307
+ "",
2308
+ "none",
2309
+ themeDropShadow,
2310
+ isArbitraryVariableShadow,
2311
+ isArbitraryShadow
2312
+ ] }],
2313
+ /**
2314
+ * Drop Shadow Color
2315
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2316
+ */
2317
+ "drop-shadow-color": [{ "drop-shadow": scaleColor() }],
2318
+ /**
2319
+ * Grayscale
2320
+ * @see https://tailwindcss.com/docs/grayscale
2321
+ */
2322
+ grayscale: [{ grayscale: [
2323
+ "",
2324
+ isNumber,
2325
+ isArbitraryVariable,
2326
+ isArbitraryValue
2327
+ ] }],
2328
+ /**
2329
+ * Hue Rotate
2330
+ * @see https://tailwindcss.com/docs/hue-rotate
2331
+ */
2332
+ "hue-rotate": [{ "hue-rotate": [
2333
+ isNumber,
2334
+ isArbitraryVariable,
2335
+ isArbitraryValue
2336
+ ] }],
2337
+ /**
2338
+ * Invert
2339
+ * @see https://tailwindcss.com/docs/invert
2340
+ */
2341
+ invert: [{ invert: [
2342
+ "",
2343
+ isNumber,
2344
+ isArbitraryVariable,
2345
+ isArbitraryValue
2346
+ ] }],
2347
+ /**
2348
+ * Saturate
2349
+ * @see https://tailwindcss.com/docs/saturate
2350
+ */
2351
+ saturate: [{ saturate: [
2352
+ isNumber,
2353
+ isArbitraryVariable,
2354
+ isArbitraryValue
2355
+ ] }],
2356
+ /**
2357
+ * Sepia
2358
+ * @see https://tailwindcss.com/docs/sepia
2359
+ */
2360
+ sepia: [{ sepia: [
2361
+ "",
2362
+ isNumber,
2363
+ isArbitraryVariable,
2364
+ isArbitraryValue
2365
+ ] }],
2366
+ /**
2367
+ * Backdrop Filter
2368
+ * @see https://tailwindcss.com/docs/backdrop-filter
2369
+ */
2370
+ "backdrop-filter": [{ "backdrop-filter": [
2371
+ "",
2372
+ "none",
2373
+ isArbitraryVariable,
2374
+ isArbitraryValue
2375
+ ] }],
2376
+ /**
2377
+ * Backdrop Blur
2378
+ * @see https://tailwindcss.com/docs/backdrop-blur
2379
+ */
2380
+ "backdrop-blur": [{ "backdrop-blur": scaleBlur() }],
2381
+ /**
2382
+ * Backdrop Brightness
2383
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2384
+ */
2385
+ "backdrop-brightness": [{ "backdrop-brightness": [
2386
+ isNumber,
2387
+ isArbitraryVariable,
2388
+ isArbitraryValue
2389
+ ] }],
2390
+ /**
2391
+ * Backdrop Contrast
2392
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2393
+ */
2394
+ "backdrop-contrast": [{ "backdrop-contrast": [
2395
+ isNumber,
2396
+ isArbitraryVariable,
2397
+ isArbitraryValue
2398
+ ] }],
2399
+ /**
2400
+ * Backdrop Grayscale
2401
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2402
+ */
2403
+ "backdrop-grayscale": [{ "backdrop-grayscale": [
2404
+ "",
2405
+ isNumber,
2406
+ isArbitraryVariable,
2407
+ isArbitraryValue
2408
+ ] }],
2409
+ /**
2410
+ * Backdrop Hue Rotate
2411
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2412
+ */
2413
+ "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
2414
+ isNumber,
2415
+ isArbitraryVariable,
2416
+ isArbitraryValue
2417
+ ] }],
2418
+ /**
2419
+ * Backdrop Invert
2420
+ * @see https://tailwindcss.com/docs/backdrop-invert
2421
+ */
2422
+ "backdrop-invert": [{ "backdrop-invert": [
2423
+ "",
2424
+ isNumber,
2425
+ isArbitraryVariable,
2426
+ isArbitraryValue
2427
+ ] }],
2428
+ /**
2429
+ * Backdrop Opacity
2430
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2431
+ */
2432
+ "backdrop-opacity": [{ "backdrop-opacity": [
2433
+ isNumber,
2434
+ isArbitraryVariable,
2435
+ isArbitraryValue
2436
+ ] }],
2437
+ /**
2438
+ * Backdrop Saturate
2439
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2440
+ */
2441
+ "backdrop-saturate": [{ "backdrop-saturate": [
2442
+ isNumber,
2443
+ isArbitraryVariable,
2444
+ isArbitraryValue
2445
+ ] }],
2446
+ /**
2447
+ * Backdrop Sepia
2448
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2449
+ */
2450
+ "backdrop-sepia": [{ "backdrop-sepia": [
2451
+ "",
2452
+ isNumber,
2453
+ isArbitraryVariable,
2454
+ isArbitraryValue
2455
+ ] }],
2456
+ /**
2457
+ * Border Collapse
2458
+ * @see https://tailwindcss.com/docs/border-collapse
2459
+ */
2460
+ "border-collapse": [{ border: ["collapse", "separate"] }],
2461
+ /**
2462
+ * Border Spacing
2463
+ * @see https://tailwindcss.com/docs/border-spacing
2464
+ */
2465
+ "border-spacing": [{ "border-spacing": scaleUnambiguousSpacing() }],
2466
+ /**
2467
+ * Border Spacing X
2468
+ * @see https://tailwindcss.com/docs/border-spacing
2469
+ */
2470
+ "border-spacing-x": [{ "border-spacing-x": scaleUnambiguousSpacing() }],
2471
+ /**
2472
+ * Border Spacing Y
2473
+ * @see https://tailwindcss.com/docs/border-spacing
2474
+ */
2475
+ "border-spacing-y": [{ "border-spacing-y": scaleUnambiguousSpacing() }],
2476
+ /**
2477
+ * Table Layout
2478
+ * @see https://tailwindcss.com/docs/table-layout
2479
+ */
2480
+ "table-layout": [{ table: ["auto", "fixed"] }],
2481
+ /**
2482
+ * Caption Side
2483
+ * @see https://tailwindcss.com/docs/caption-side
2484
+ */
2485
+ caption: [{ caption: ["top", "bottom"] }],
2486
+ /**
2487
+ * Transition Property
2488
+ * @see https://tailwindcss.com/docs/transition-property
2489
+ */
2490
+ transition: [{ transition: [
2491
+ "",
2492
+ "all",
2493
+ "colors",
2494
+ "opacity",
2495
+ "shadow",
2496
+ "transform",
2497
+ "none",
2498
+ isArbitraryVariable,
2499
+ isArbitraryValue
2500
+ ] }],
2501
+ /**
2502
+ * Transition Behavior
2503
+ * @see https://tailwindcss.com/docs/transition-behavior
2504
+ */
2505
+ "transition-behavior": [{ transition: ["normal", "discrete"] }],
2506
+ /**
2507
+ * Transition Duration
2508
+ * @see https://tailwindcss.com/docs/transition-duration
2509
+ */
2510
+ duration: [{ duration: [
2511
+ isNumber,
2512
+ "initial",
2513
+ isArbitraryVariable,
2514
+ isArbitraryValue
2515
+ ] }],
2516
+ /**
2517
+ * Transition Timing Function
2518
+ * @see https://tailwindcss.com/docs/transition-timing-function
2519
+ */
2520
+ ease: [{ ease: [
2521
+ "linear",
2522
+ "initial",
2523
+ themeEase,
2524
+ isArbitraryVariable,
2525
+ isArbitraryValue
2526
+ ] }],
2527
+ /**
2528
+ * Transition Delay
2529
+ * @see https://tailwindcss.com/docs/transition-delay
2530
+ */
2531
+ delay: [{ delay: [
2532
+ isNumber,
2533
+ isArbitraryVariable,
2534
+ isArbitraryValue
2535
+ ] }],
2536
+ /**
2537
+ * Animation
2538
+ * @see https://tailwindcss.com/docs/animation
2539
+ */
2540
+ animate: [{ animate: [
2541
+ "none",
2542
+ themeAnimate,
2543
+ isArbitraryVariable,
2544
+ isArbitraryValue
2545
+ ] }],
2546
+ /**
2547
+ * Backface Visibility
2548
+ * @see https://tailwindcss.com/docs/backface-visibility
2549
+ */
2550
+ backface: [{ backface: ["hidden", "visible"] }],
2551
+ /**
2552
+ * Perspective
2553
+ * @see https://tailwindcss.com/docs/perspective
2554
+ */
2555
+ perspective: [{ perspective: [
2556
+ themePerspective,
2557
+ isArbitraryVariable,
2558
+ isArbitraryValue
2559
+ ] }],
2560
+ /**
2561
+ * Perspective Origin
2562
+ * @see https://tailwindcss.com/docs/perspective-origin
2563
+ */
2564
+ "perspective-origin": [{ "perspective-origin": scalePositionWithArbitrary() }],
2565
+ /**
2566
+ * Rotate
2567
+ * @see https://tailwindcss.com/docs/rotate
2568
+ */
2569
+ rotate: [{ rotate: scaleRotate() }],
2570
+ /**
2571
+ * Rotate X
2572
+ * @see https://tailwindcss.com/docs/rotate
2573
+ */
2574
+ "rotate-x": [{ "rotate-x": scaleRotate() }],
2575
+ /**
2576
+ * Rotate Y
2577
+ * @see https://tailwindcss.com/docs/rotate
2578
+ */
2579
+ "rotate-y": [{ "rotate-y": scaleRotate() }],
2580
+ /**
2581
+ * Rotate Z
2582
+ * @see https://tailwindcss.com/docs/rotate
2583
+ */
2584
+ "rotate-z": [{ "rotate-z": scaleRotate() }],
2585
+ /**
2586
+ * Scale
2587
+ * @see https://tailwindcss.com/docs/scale
2588
+ */
2589
+ scale: [{ scale: scaleScale() }],
2590
+ /**
2591
+ * Scale X
2592
+ * @see https://tailwindcss.com/docs/scale
2593
+ */
2594
+ "scale-x": [{ "scale-x": scaleScale() }],
2595
+ /**
2596
+ * Scale Y
2597
+ * @see https://tailwindcss.com/docs/scale
2598
+ */
2599
+ "scale-y": [{ "scale-y": scaleScale() }],
2600
+ /**
2601
+ * Scale Z
2602
+ * @see https://tailwindcss.com/docs/scale
2603
+ */
2604
+ "scale-z": [{ "scale-z": scaleScale() }],
2605
+ /**
2606
+ * Scale 3D
2607
+ * @see https://tailwindcss.com/docs/scale
2608
+ */
2609
+ "scale-3d": ["scale-3d"],
2610
+ /**
2611
+ * Skew
2612
+ * @see https://tailwindcss.com/docs/skew
2613
+ */
2614
+ skew: [{ skew: scaleSkew() }],
2615
+ /**
2616
+ * Skew X
2617
+ * @see https://tailwindcss.com/docs/skew
2618
+ */
2619
+ "skew-x": [{ "skew-x": scaleSkew() }],
2620
+ /**
2621
+ * Skew Y
2622
+ * @see https://tailwindcss.com/docs/skew
2623
+ */
2624
+ "skew-y": [{ "skew-y": scaleSkew() }],
2625
+ /**
2626
+ * Transform
2627
+ * @see https://tailwindcss.com/docs/transform
2628
+ */
2629
+ transform: [{ transform: [
2630
+ isArbitraryVariable,
2631
+ isArbitraryValue,
2632
+ "",
2633
+ "none",
2634
+ "gpu",
2635
+ "cpu"
2636
+ ] }],
2637
+ /**
2638
+ * Transform Origin
2639
+ * @see https://tailwindcss.com/docs/transform-origin
2640
+ */
2641
+ "transform-origin": [{ origin: scalePositionWithArbitrary() }],
2642
+ /**
2643
+ * Transform Style
2644
+ * @see https://tailwindcss.com/docs/transform-style
2645
+ */
2646
+ "transform-style": [{ transform: ["3d", "flat"] }],
2647
+ /**
2648
+ * Translate
2649
+ * @see https://tailwindcss.com/docs/translate
2650
+ */
2651
+ translate: [{ translate: scaleTranslate() }],
2652
+ /**
2653
+ * Translate X
2654
+ * @see https://tailwindcss.com/docs/translate
2655
+ */
2656
+ "translate-x": [{ "translate-x": scaleTranslate() }],
2657
+ /**
2658
+ * Translate Y
2659
+ * @see https://tailwindcss.com/docs/translate
2660
+ */
2661
+ "translate-y": [{ "translate-y": scaleTranslate() }],
2662
+ /**
2663
+ * Translate Z
2664
+ * @see https://tailwindcss.com/docs/translate
2665
+ */
2666
+ "translate-z": [{ "translate-z": scaleTranslate() }],
2667
+ /**
2668
+ * Translate None
2669
+ * @see https://tailwindcss.com/docs/translate
2670
+ */
2671
+ "translate-none": ["translate-none"],
2672
+ /**
2673
+ * Accent Color
2674
+ * @see https://tailwindcss.com/docs/accent-color
2675
+ */
2676
+ accent: [{ accent: scaleColor() }],
2677
+ /**
2678
+ * Appearance
2679
+ * @see https://tailwindcss.com/docs/appearance
2680
+ */
2681
+ appearance: [{ appearance: ["none", "auto"] }],
2682
+ /**
2683
+ * Caret Color
2684
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2685
+ */
2686
+ "caret-color": [{ caret: scaleColor() }],
2687
+ /**
2688
+ * Color Scheme
2689
+ * @see https://tailwindcss.com/docs/color-scheme
2690
+ */
2691
+ "color-scheme": [{ scheme: [
2692
+ "normal",
2693
+ "dark",
2694
+ "light",
2695
+ "light-dark",
2696
+ "only-dark",
2697
+ "only-light"
2698
+ ] }],
2699
+ /**
2700
+ * Cursor
2701
+ * @see https://tailwindcss.com/docs/cursor
2702
+ */
2703
+ cursor: [{ cursor: [
2704
+ "auto",
2705
+ "default",
2706
+ "pointer",
2707
+ "wait",
2708
+ "text",
2709
+ "move",
2710
+ "help",
2711
+ "not-allowed",
2712
+ "none",
2713
+ "context-menu",
2714
+ "progress",
2715
+ "cell",
2716
+ "crosshair",
2717
+ "vertical-text",
2718
+ "alias",
2719
+ "copy",
2720
+ "no-drop",
2721
+ "grab",
2722
+ "grabbing",
2723
+ "all-scroll",
2724
+ "col-resize",
2725
+ "row-resize",
2726
+ "n-resize",
2727
+ "e-resize",
2728
+ "s-resize",
2729
+ "w-resize",
2730
+ "ne-resize",
2731
+ "nw-resize",
2732
+ "se-resize",
2733
+ "sw-resize",
2734
+ "ew-resize",
2735
+ "ns-resize",
2736
+ "nesw-resize",
2737
+ "nwse-resize",
2738
+ "zoom-in",
2739
+ "zoom-out",
2740
+ isArbitraryVariable,
2741
+ isArbitraryValue
2742
+ ] }],
2743
+ /**
2744
+ * Field Sizing
2745
+ * @see https://tailwindcss.com/docs/field-sizing
2746
+ */
2747
+ "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
2748
+ /**
2749
+ * Pointer Events
2750
+ * @see https://tailwindcss.com/docs/pointer-events
2751
+ */
2752
+ "pointer-events": [{ "pointer-events": ["auto", "none"] }],
2753
+ /**
2754
+ * Resize
2755
+ * @see https://tailwindcss.com/docs/resize
2756
+ */
2757
+ resize: [{ resize: [
2758
+ "none",
2759
+ "",
2760
+ "y",
2761
+ "x"
2762
+ ] }],
2763
+ /**
2764
+ * Scroll Behavior
2765
+ * @see https://tailwindcss.com/docs/scroll-behavior
2766
+ */
2767
+ "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
2768
+ /**
2769
+ * Scroll Margin
2770
+ * @see https://tailwindcss.com/docs/scroll-margin
2771
+ */
2772
+ "scroll-m": [{ "scroll-m": scaleUnambiguousSpacing() }],
2773
+ /**
2774
+ * Scroll Margin X
2775
+ * @see https://tailwindcss.com/docs/scroll-margin
2776
+ */
2777
+ "scroll-mx": [{ "scroll-mx": scaleUnambiguousSpacing() }],
2778
+ /**
2779
+ * Scroll Margin Y
2780
+ * @see https://tailwindcss.com/docs/scroll-margin
2781
+ */
2782
+ "scroll-my": [{ "scroll-my": scaleUnambiguousSpacing() }],
2783
+ /**
2784
+ * Scroll Margin Start
2785
+ * @see https://tailwindcss.com/docs/scroll-margin
2786
+ */
2787
+ "scroll-ms": [{ "scroll-ms": scaleUnambiguousSpacing() }],
2788
+ /**
2789
+ * Scroll Margin End
2790
+ * @see https://tailwindcss.com/docs/scroll-margin
2791
+ */
2792
+ "scroll-me": [{ "scroll-me": scaleUnambiguousSpacing() }],
2793
+ /**
2794
+ * Scroll Margin Top
2795
+ * @see https://tailwindcss.com/docs/scroll-margin
2796
+ */
2797
+ "scroll-mt": [{ "scroll-mt": scaleUnambiguousSpacing() }],
2798
+ /**
2799
+ * Scroll Margin Right
2800
+ * @see https://tailwindcss.com/docs/scroll-margin
2801
+ */
2802
+ "scroll-mr": [{ "scroll-mr": scaleUnambiguousSpacing() }],
2803
+ /**
2804
+ * Scroll Margin Bottom
2805
+ * @see https://tailwindcss.com/docs/scroll-margin
2806
+ */
2807
+ "scroll-mb": [{ "scroll-mb": scaleUnambiguousSpacing() }],
2808
+ /**
2809
+ * Scroll Margin Left
2810
+ * @see https://tailwindcss.com/docs/scroll-margin
2811
+ */
2812
+ "scroll-ml": [{ "scroll-ml": scaleUnambiguousSpacing() }],
2813
+ /**
2814
+ * Scroll Padding
2815
+ * @see https://tailwindcss.com/docs/scroll-padding
2816
+ */
2817
+ "scroll-p": [{ "scroll-p": scaleUnambiguousSpacing() }],
2818
+ /**
2819
+ * Scroll Padding X
2820
+ * @see https://tailwindcss.com/docs/scroll-padding
2821
+ */
2822
+ "scroll-px": [{ "scroll-px": scaleUnambiguousSpacing() }],
2823
+ /**
2824
+ * Scroll Padding Y
2825
+ * @see https://tailwindcss.com/docs/scroll-padding
2826
+ */
2827
+ "scroll-py": [{ "scroll-py": scaleUnambiguousSpacing() }],
2828
+ /**
2829
+ * Scroll Padding Start
2830
+ * @see https://tailwindcss.com/docs/scroll-padding
2831
+ */
2832
+ "scroll-ps": [{ "scroll-ps": scaleUnambiguousSpacing() }],
2833
+ /**
2834
+ * Scroll Padding End
2835
+ * @see https://tailwindcss.com/docs/scroll-padding
2836
+ */
2837
+ "scroll-pe": [{ "scroll-pe": scaleUnambiguousSpacing() }],
2838
+ /**
2839
+ * Scroll Padding Top
2840
+ * @see https://tailwindcss.com/docs/scroll-padding
2841
+ */
2842
+ "scroll-pt": [{ "scroll-pt": scaleUnambiguousSpacing() }],
2843
+ /**
2844
+ * Scroll Padding Right
2845
+ * @see https://tailwindcss.com/docs/scroll-padding
2846
+ */
2847
+ "scroll-pr": [{ "scroll-pr": scaleUnambiguousSpacing() }],
2848
+ /**
2849
+ * Scroll Padding Bottom
2850
+ * @see https://tailwindcss.com/docs/scroll-padding
2851
+ */
2852
+ "scroll-pb": [{ "scroll-pb": scaleUnambiguousSpacing() }],
2853
+ /**
2854
+ * Scroll Padding Left
2855
+ * @see https://tailwindcss.com/docs/scroll-padding
2856
+ */
2857
+ "scroll-pl": [{ "scroll-pl": scaleUnambiguousSpacing() }],
2858
+ /**
2859
+ * Scroll Snap Align
2860
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2861
+ */
2862
+ "snap-align": [{ snap: [
2863
+ "start",
2864
+ "end",
2865
+ "center",
2866
+ "align-none"
2867
+ ] }],
2868
+ /**
2869
+ * Scroll Snap Stop
2870
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
2871
+ */
2872
+ "snap-stop": [{ snap: ["normal", "always"] }],
2873
+ /**
2874
+ * Scroll Snap Type
2875
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2876
+ */
2877
+ "snap-type": [{ snap: [
2878
+ "none",
2879
+ "x",
2880
+ "y",
2881
+ "both"
2882
+ ] }],
2883
+ /**
2884
+ * Scroll Snap Type Strictness
2885
+ * @see https://tailwindcss.com/docs/scroll-snap-type
2886
+ */
2887
+ "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
2888
+ /**
2889
+ * Touch Action
2890
+ * @see https://tailwindcss.com/docs/touch-action
2891
+ */
2892
+ touch: [{ touch: [
2893
+ "auto",
2894
+ "none",
2895
+ "manipulation"
2896
+ ] }],
2897
+ /**
2898
+ * Touch Action X
2899
+ * @see https://tailwindcss.com/docs/touch-action
2900
+ */
2901
+ "touch-x": [{ "touch-pan": [
2902
+ "x",
2903
+ "left",
2904
+ "right"
2905
+ ] }],
2906
+ /**
2907
+ * Touch Action Y
2908
+ * @see https://tailwindcss.com/docs/touch-action
2909
+ */
2910
+ "touch-y": [{ "touch-pan": [
2911
+ "y",
2912
+ "up",
2913
+ "down"
2914
+ ] }],
2915
+ /**
2916
+ * Touch Action Pinch Zoom
2917
+ * @see https://tailwindcss.com/docs/touch-action
2918
+ */
2919
+ "touch-pz": ["touch-pinch-zoom"],
2920
+ /**
2921
+ * User Select
2922
+ * @see https://tailwindcss.com/docs/user-select
2923
+ */
2924
+ select: [{ select: [
2925
+ "none",
2926
+ "text",
2927
+ "all",
2928
+ "auto"
2929
+ ] }],
2930
+ /**
2931
+ * Will Change
2932
+ * @see https://tailwindcss.com/docs/will-change
2933
+ */
2934
+ "will-change": [{ "will-change": [
2935
+ "auto",
2936
+ "scroll",
2937
+ "contents",
2938
+ "transform",
2939
+ isArbitraryVariable,
2940
+ isArbitraryValue
2941
+ ] }],
2942
+ /**
2943
+ * Fill
2944
+ * @see https://tailwindcss.com/docs/fill
2945
+ */
2946
+ fill: [{ fill: ["none", ...scaleColor()] }],
2947
+ /**
2948
+ * Stroke Width
2949
+ * @see https://tailwindcss.com/docs/stroke-width
2950
+ */
2951
+ "stroke-w": [{ stroke: [
2952
+ isNumber,
2953
+ isArbitraryVariableLength,
2954
+ isArbitraryLength,
2955
+ isArbitraryNumber
2956
+ ] }],
2957
+ /**
2958
+ * Stroke
2959
+ * @see https://tailwindcss.com/docs/stroke
2960
+ */
2961
+ stroke: [{ stroke: ["none", ...scaleColor()] }],
2962
+ /**
2963
+ * Forced Color Adjust
2964
+ * @see https://tailwindcss.com/docs/forced-color-adjust
2965
+ */
2966
+ "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
2967
+ },
2968
+ conflictingClassGroups: {
2969
+ overflow: ["overflow-x", "overflow-y"],
2970
+ overscroll: ["overscroll-x", "overscroll-y"],
2971
+ inset: [
2972
+ "inset-x",
2973
+ "inset-y",
2974
+ "start",
2975
+ "end",
2976
+ "top",
2977
+ "right",
2978
+ "bottom",
2979
+ "left"
2980
+ ],
2981
+ "inset-x": ["right", "left"],
2982
+ "inset-y": ["top", "bottom"],
2983
+ flex: [
2984
+ "basis",
2985
+ "grow",
2986
+ "shrink"
2987
+ ],
2988
+ gap: ["gap-x", "gap-y"],
2989
+ p: [
2990
+ "px",
2991
+ "py",
2992
+ "ps",
2993
+ "pe",
2994
+ "pt",
2995
+ "pr",
2996
+ "pb",
2997
+ "pl"
2998
+ ],
2999
+ px: ["pr", "pl"],
3000
+ py: ["pt", "pb"],
3001
+ m: [
3002
+ "mx",
3003
+ "my",
3004
+ "ms",
3005
+ "me",
3006
+ "mt",
3007
+ "mr",
3008
+ "mb",
3009
+ "ml"
3010
+ ],
3011
+ mx: ["mr", "ml"],
3012
+ my: ["mt", "mb"],
3013
+ size: ["w", "h"],
3014
+ "font-size": ["leading"],
3015
+ "fvn-normal": [
3016
+ "fvn-ordinal",
3017
+ "fvn-slashed-zero",
3018
+ "fvn-figure",
3019
+ "fvn-spacing",
3020
+ "fvn-fraction"
3021
+ ],
3022
+ "fvn-ordinal": ["fvn-normal"],
3023
+ "fvn-slashed-zero": ["fvn-normal"],
3024
+ "fvn-figure": ["fvn-normal"],
3025
+ "fvn-spacing": ["fvn-normal"],
3026
+ "fvn-fraction": ["fvn-normal"],
3027
+ "line-clamp": ["display", "overflow"],
3028
+ rounded: [
3029
+ "rounded-s",
3030
+ "rounded-e",
3031
+ "rounded-t",
3032
+ "rounded-r",
3033
+ "rounded-b",
3034
+ "rounded-l",
3035
+ "rounded-ss",
3036
+ "rounded-se",
3037
+ "rounded-ee",
3038
+ "rounded-es",
3039
+ "rounded-tl",
3040
+ "rounded-tr",
3041
+ "rounded-br",
3042
+ "rounded-bl"
3043
+ ],
3044
+ "rounded-s": ["rounded-ss", "rounded-es"],
3045
+ "rounded-e": ["rounded-se", "rounded-ee"],
3046
+ "rounded-t": ["rounded-tl", "rounded-tr"],
3047
+ "rounded-r": ["rounded-tr", "rounded-br"],
3048
+ "rounded-b": ["rounded-br", "rounded-bl"],
3049
+ "rounded-l": ["rounded-tl", "rounded-bl"],
3050
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
3051
+ "border-w": [
3052
+ "border-w-x",
3053
+ "border-w-y",
3054
+ "border-w-s",
3055
+ "border-w-e",
3056
+ "border-w-t",
3057
+ "border-w-r",
3058
+ "border-w-b",
3059
+ "border-w-l"
3060
+ ],
3061
+ "border-w-x": ["border-w-r", "border-w-l"],
3062
+ "border-w-y": ["border-w-t", "border-w-b"],
3063
+ "border-color": [
3064
+ "border-color-x",
3065
+ "border-color-y",
3066
+ "border-color-s",
3067
+ "border-color-e",
3068
+ "border-color-t",
3069
+ "border-color-r",
3070
+ "border-color-b",
3071
+ "border-color-l"
3072
+ ],
3073
+ "border-color-x": ["border-color-r", "border-color-l"],
3074
+ "border-color-y": ["border-color-t", "border-color-b"],
3075
+ translate: [
3076
+ "translate-x",
3077
+ "translate-y",
3078
+ "translate-none"
3079
+ ],
3080
+ "translate-none": [
3081
+ "translate",
3082
+ "translate-x",
3083
+ "translate-y",
3084
+ "translate-z"
3085
+ ],
3086
+ "scroll-m": [
3087
+ "scroll-mx",
3088
+ "scroll-my",
3089
+ "scroll-ms",
3090
+ "scroll-me",
3091
+ "scroll-mt",
3092
+ "scroll-mr",
3093
+ "scroll-mb",
3094
+ "scroll-ml"
3095
+ ],
3096
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
3097
+ "scroll-my": ["scroll-mt", "scroll-mb"],
3098
+ "scroll-p": [
3099
+ "scroll-px",
3100
+ "scroll-py",
3101
+ "scroll-ps",
3102
+ "scroll-pe",
3103
+ "scroll-pt",
3104
+ "scroll-pr",
3105
+ "scroll-pb",
3106
+ "scroll-pl"
3107
+ ],
3108
+ "scroll-px": ["scroll-pr", "scroll-pl"],
3109
+ "scroll-py": ["scroll-pt", "scroll-pb"],
3110
+ touch: [
3111
+ "touch-x",
3112
+ "touch-y",
3113
+ "touch-pz"
3114
+ ],
3115
+ "touch-x": ["touch"],
3116
+ "touch-y": ["touch"],
3117
+ "touch-pz": ["touch"]
3118
+ },
3119
+ conflictingClassGroupModifiers: { "font-size": ["leading"] },
3120
+ orderSensitiveModifiers: [
3121
+ "*",
3122
+ "**",
3123
+ "after",
3124
+ "backdrop",
3125
+ "before",
3126
+ "details-content",
3127
+ "file",
3128
+ "first-letter",
3129
+ "first-line",
3130
+ "marker",
3131
+ "placeholder",
3132
+ "selection"
3133
+ ]
3134
+ };
3135
+ };
3136
+ const twMerge = /*#__PURE__*/ createTailwindMerge(getDefaultConfig);
3137
+ //#endregion
3138
+ export { twMerge as t };
3139
+
3140
+ //# sourceMappingURL=bundle-mjs-Cuu3DEfT.mjs.map