@process.co/ui 0.0.5 → 0.0.6

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.
@@ -0,0 +1,4970 @@
1
+ function _array_like_to_array(arr, len) {
2
+ if (len == null || len > arr.length) len = arr.length;
3
+ for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
4
+ return arr2;
5
+ }
6
+ function _array_with_holes(arr) {
7
+ if (Array.isArray(arr)) return arr;
8
+ }
9
+ function _array_without_holes(arr) {
10
+ if (Array.isArray(arr)) return _array_like_to_array(arr);
11
+ }
12
+ function _define_property(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
25
+ function _iterable_to_array(iter) {
26
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
27
+ }
28
+ function _iterable_to_array_limit(arr, i) {
29
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
30
+ if (_i == null) return;
31
+ var _arr = [];
32
+ var _n = true;
33
+ var _d = false;
34
+ var _s, _e;
35
+ try {
36
+ for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
37
+ _arr.push(_s.value);
38
+ if (i && _arr.length === i) break;
39
+ }
40
+ } catch (err) {
41
+ _d = true;
42
+ _e = err;
43
+ } finally{
44
+ try {
45
+ if (!_n && _i["return"] != null) _i["return"]();
46
+ } finally{
47
+ if (_d) throw _e;
48
+ }
49
+ }
50
+ return _arr;
51
+ }
52
+ function _non_iterable_rest() {
53
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
54
+ }
55
+ function _non_iterable_spread() {
56
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
57
+ }
58
+ function _object_spread(target) {
59
+ for(var i = 1; i < arguments.length; i++){
60
+ var source = arguments[i] != null ? arguments[i] : {};
61
+ var ownKeys = Object.keys(source);
62
+ if (typeof Object.getOwnPropertySymbols === "function") {
63
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
64
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
65
+ }));
66
+ }
67
+ ownKeys.forEach(function(key) {
68
+ _define_property(target, key, source[key]);
69
+ });
70
+ }
71
+ return target;
72
+ }
73
+ function _sliced_to_array(arr, i) {
74
+ return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
75
+ }
76
+ function _to_consumable_array(arr) {
77
+ return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
78
+ }
79
+ function _type_of(obj) {
80
+ "@swc/helpers - typeof";
81
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
82
+ }
83
+ function _unsupported_iterable_to_array(o, minLen) {
84
+ if (!o) return;
85
+ if (typeof o === "string") return _array_like_to_array(o, minLen);
86
+ var n = Object.prototype.toString.call(o).slice(8, -1);
87
+ if (n === "Object" && o.constructor) n = o.constructor.name;
88
+ if (n === "Map" || n === "Set") return Array.from(n);
89
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
90
+ }
91
+ import * as React3 from 'react';
92
+ // src/components/fields/Input.tsx
93
+ // ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
94
+ function r(e) {
95
+ var t, f, n = "";
96
+ if ("string" == typeof e || "number" == typeof e) n += e;
97
+ else if ("object" == (typeof e === "undefined" ? "undefined" : _type_of(e))) if (Array.isArray(e)) {
98
+ var o = e.length;
99
+ for(t = 0; t < o; t++)e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
100
+ } else for(f in e)e[f] && (n && (n += " "), n += f);
101
+ return n;
102
+ }
103
+ function clsx() {
104
+ for(var e, t, f = 0, n = "", o = arguments.length; f < o; f++)(e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
105
+ return n;
106
+ }
107
+ // ../../node_modules/.pnpm/tailwind-merge@3.4.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
108
+ var concatArrays = function(array1, array2) {
109
+ var combinedArray = new Array(array1.length + array2.length);
110
+ for(var i = 0; i < array1.length; i++){
111
+ combinedArray[i] = array1[i];
112
+ }
113
+ for(var i1 = 0; i1 < array2.length; i1++){
114
+ combinedArray[array1.length + i1] = array2[i1];
115
+ }
116
+ return combinedArray;
117
+ };
118
+ var createClassValidatorObject = function(classGroupId, validator) {
119
+ return {
120
+ classGroupId: classGroupId,
121
+ validator: validator
122
+ };
123
+ };
124
+ var createClassPartObject = function() {
125
+ var nextPart = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : /* @__PURE__ */ new Map(), validators = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, classGroupId = arguments.length > 2 ? arguments[2] : void 0;
126
+ return {
127
+ nextPart: nextPart,
128
+ validators: validators,
129
+ classGroupId: classGroupId
130
+ };
131
+ };
132
+ var CLASS_PART_SEPARATOR = "-";
133
+ var EMPTY_CONFLICTS = [];
134
+ var ARBITRARY_PROPERTY_PREFIX = "arbitrary..";
135
+ var createClassGroupUtils = function(config) {
136
+ var classMap = createClassMap(config);
137
+ var conflictingClassGroups = config.conflictingClassGroups, conflictingClassGroupModifiers = config.conflictingClassGroupModifiers;
138
+ var getClassGroupId = function(className) {
139
+ if (className.startsWith("[") && className.endsWith("]")) {
140
+ return getGroupIdForArbitraryProperty(className);
141
+ }
142
+ var classParts = className.split(CLASS_PART_SEPARATOR);
143
+ var startIndex = classParts[0] === "" && classParts.length > 1 ? 1 : 0;
144
+ return getGroupRecursive(classParts, startIndex, classMap);
145
+ };
146
+ var getConflictingClassGroupIds = function(classGroupId, hasPostfixModifier) {
147
+ if (hasPostfixModifier) {
148
+ var modifierConflicts = conflictingClassGroupModifiers[classGroupId];
149
+ var baseConflicts = conflictingClassGroups[classGroupId];
150
+ if (modifierConflicts) {
151
+ if (baseConflicts) {
152
+ return concatArrays(baseConflicts, modifierConflicts);
153
+ }
154
+ return modifierConflicts;
155
+ }
156
+ return baseConflicts || EMPTY_CONFLICTS;
157
+ }
158
+ return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
159
+ };
160
+ return {
161
+ getClassGroupId: getClassGroupId,
162
+ getConflictingClassGroupIds: getConflictingClassGroupIds
163
+ };
164
+ };
165
+ var getGroupRecursive = function(classParts, startIndex, classPartObject) {
166
+ var classPathsLength = classParts.length - startIndex;
167
+ if (classPathsLength === 0) {
168
+ return classPartObject.classGroupId;
169
+ }
170
+ var currentClassPart = classParts[startIndex];
171
+ var nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
172
+ if (nextClassPartObject) {
173
+ var result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
174
+ if (result) return result;
175
+ }
176
+ var validators = classPartObject.validators;
177
+ if (validators === null) {
178
+ return void 0;
179
+ }
180
+ var classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
181
+ var validatorsLength = validators.length;
182
+ for(var i = 0; i < validatorsLength; i++){
183
+ var validatorObj = validators[i];
184
+ if (validatorObj.validator(classRest)) {
185
+ return validatorObj.classGroupId;
186
+ }
187
+ }
188
+ return void 0;
189
+ };
190
+ var getGroupIdForArbitraryProperty = function(className) {
191
+ return className.slice(1, -1).indexOf(":") === -1 ? void 0 : function() {
192
+ var content = className.slice(1, -1);
193
+ var colonIndex = content.indexOf(":");
194
+ var property = content.slice(0, colonIndex);
195
+ return property ? ARBITRARY_PROPERTY_PREFIX + property : void 0;
196
+ }();
197
+ };
198
+ var createClassMap = function(config) {
199
+ var theme = config.theme, classGroups = config.classGroups;
200
+ return processClassGroups(classGroups, theme);
201
+ };
202
+ var processClassGroups = function(classGroups, theme) {
203
+ var classMap = createClassPartObject();
204
+ for(var classGroupId in classGroups){
205
+ var group = classGroups[classGroupId];
206
+ processClassesRecursively(group, classMap, classGroupId, theme);
207
+ }
208
+ return classMap;
209
+ };
210
+ var processClassesRecursively = function(classGroup, classPartObject, classGroupId, theme) {
211
+ var len = classGroup.length;
212
+ for(var i = 0; i < len; i++){
213
+ var classDefinition = classGroup[i];
214
+ processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
215
+ }
216
+ };
217
+ var processClassDefinition = function(classDefinition, classPartObject, classGroupId, theme) {
218
+ if (typeof classDefinition === "string") {
219
+ processStringDefinition(classDefinition, classPartObject, classGroupId);
220
+ return;
221
+ }
222
+ if (typeof classDefinition === "function") {
223
+ processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
224
+ return;
225
+ }
226
+ processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);
227
+ };
228
+ var processStringDefinition = function(classDefinition, classPartObject, classGroupId) {
229
+ var classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
230
+ classPartObjectToEdit.classGroupId = classGroupId;
231
+ };
232
+ var processFunctionDefinition = function(classDefinition, classPartObject, classGroupId, theme) {
233
+ if (isThemeGetter(classDefinition)) {
234
+ processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
235
+ return;
236
+ }
237
+ if (classPartObject.validators === null) {
238
+ classPartObject.validators = [];
239
+ }
240
+ classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));
241
+ };
242
+ var processObjectDefinition = function(classDefinition, classPartObject, classGroupId, theme) {
243
+ var entries = Object.entries(classDefinition);
244
+ var len = entries.length;
245
+ for(var i = 0; i < len; i++){
246
+ var _entries_i = _sliced_to_array(entries[i], 2), key = _entries_i[0], value = _entries_i[1];
247
+ processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
248
+ }
249
+ };
250
+ var getPart = function(classPartObject, path) {
251
+ var current = classPartObject;
252
+ var parts = path.split(CLASS_PART_SEPARATOR);
253
+ var len = parts.length;
254
+ for(var i = 0; i < len; i++){
255
+ var part = parts[i];
256
+ var next = current.nextPart.get(part);
257
+ if (!next) {
258
+ next = createClassPartObject();
259
+ current.nextPart.set(part, next);
260
+ }
261
+ current = next;
262
+ }
263
+ return current;
264
+ };
265
+ var isThemeGetter = function(func) {
266
+ return "isThemeGetter" in func && func.isThemeGetter === true;
267
+ };
268
+ var createLruCache = function(maxCacheSize) {
269
+ if (maxCacheSize < 1) {
270
+ return {
271
+ get: function() {
272
+ return void 0;
273
+ },
274
+ set: function() {}
275
+ };
276
+ }
277
+ var cacheSize = 0;
278
+ var cache = /* @__PURE__ */ Object.create(null);
279
+ var previousCache = /* @__PURE__ */ Object.create(null);
280
+ var update = function(key, value) {
281
+ cache[key] = value;
282
+ cacheSize++;
283
+ if (cacheSize > maxCacheSize) {
284
+ cacheSize = 0;
285
+ previousCache = cache;
286
+ cache = /* @__PURE__ */ Object.create(null);
287
+ }
288
+ };
289
+ return {
290
+ get: function get(key) {
291
+ var value = cache[key];
292
+ if (value !== void 0) {
293
+ return value;
294
+ }
295
+ if ((value = previousCache[key]) !== void 0) {
296
+ update(key, value);
297
+ return value;
298
+ }
299
+ },
300
+ set: function set(key, value) {
301
+ if (key in cache) {
302
+ cache[key] = value;
303
+ } else {
304
+ update(key, value);
305
+ }
306
+ }
307
+ };
308
+ };
309
+ var IMPORTANT_MODIFIER = "!";
310
+ var MODIFIER_SEPARATOR = ":";
311
+ var EMPTY_MODIFIERS = [];
312
+ var createResultObject = function(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) {
313
+ return {
314
+ modifiers: modifiers,
315
+ hasImportantModifier: hasImportantModifier,
316
+ baseClassName: baseClassName,
317
+ maybePostfixModifierPosition: maybePostfixModifierPosition,
318
+ isExternal: isExternal
319
+ };
320
+ };
321
+ var createParseClassName = function(config) {
322
+ var prefix = config.prefix, experimentalParseClassName = config.experimentalParseClassName;
323
+ var parseClassName = function(className) {
324
+ var modifiers = [];
325
+ var bracketDepth = 0;
326
+ var parenDepth = 0;
327
+ var modifierStart = 0;
328
+ var postfixModifierPosition;
329
+ var len = className.length;
330
+ for(var index = 0; index < len; index++){
331
+ var currentCharacter = className[index];
332
+ if (bracketDepth === 0 && parenDepth === 0) {
333
+ if (currentCharacter === MODIFIER_SEPARATOR) {
334
+ modifiers.push(className.slice(modifierStart, index));
335
+ modifierStart = index + 1;
336
+ continue;
337
+ }
338
+ if (currentCharacter === "/") {
339
+ postfixModifierPosition = index;
340
+ continue;
341
+ }
342
+ }
343
+ if (currentCharacter === "[") bracketDepth++;
344
+ else if (currentCharacter === "]") bracketDepth--;
345
+ else if (currentCharacter === "(") parenDepth++;
346
+ else if (currentCharacter === ")") parenDepth--;
347
+ }
348
+ var baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
349
+ var baseClassName = baseClassNameWithImportantModifier;
350
+ var hasImportantModifier = false;
351
+ if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {
352
+ baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
353
+ hasImportantModifier = true;
354
+ } else if (/**
355
+ * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
356
+ * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
357
+ */ baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {
358
+ baseClassName = baseClassNameWithImportantModifier.slice(1);
359
+ hasImportantModifier = true;
360
+ }
361
+ var maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
362
+ return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);
363
+ };
364
+ if (prefix) {
365
+ var fullPrefix = prefix + MODIFIER_SEPARATOR;
366
+ var parseClassNameOriginal = parseClassName;
367
+ parseClassName = function(className) {
368
+ return className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, void 0, true);
369
+ };
370
+ }
371
+ if (experimentalParseClassName) {
372
+ var parseClassNameOriginal1 = parseClassName;
373
+ parseClassName = function(className) {
374
+ return experimentalParseClassName({
375
+ className: className,
376
+ parseClassName: parseClassNameOriginal1
377
+ });
378
+ };
379
+ }
380
+ return parseClassName;
381
+ };
382
+ var createSortModifiers = function(config) {
383
+ var modifierWeights = /* @__PURE__ */ new Map();
384
+ config.orderSensitiveModifiers.forEach(function(mod, index) {
385
+ modifierWeights.set(mod, 1e6 + index);
386
+ });
387
+ return function(modifiers) {
388
+ var result = [];
389
+ var currentSegment = [];
390
+ for(var i = 0; i < modifiers.length; i++){
391
+ var modifier = modifiers[i];
392
+ var isArbitrary = modifier[0] === "[";
393
+ var isOrderSensitive = modifierWeights.has(modifier);
394
+ if (isArbitrary || isOrderSensitive) {
395
+ if (currentSegment.length > 0) {
396
+ var _result;
397
+ currentSegment.sort();
398
+ (_result = result).push.apply(_result, _to_consumable_array(currentSegment));
399
+ currentSegment = [];
400
+ }
401
+ result.push(modifier);
402
+ } else {
403
+ currentSegment.push(modifier);
404
+ }
405
+ }
406
+ if (currentSegment.length > 0) {
407
+ var _result1;
408
+ currentSegment.sort();
409
+ (_result1 = result).push.apply(_result1, _to_consumable_array(currentSegment));
410
+ }
411
+ return result;
412
+ };
413
+ };
414
+ var createConfigUtils = function(config) {
415
+ return _object_spread({
416
+ cache: createLruCache(config.cacheSize),
417
+ parseClassName: createParseClassName(config),
418
+ sortModifiers: createSortModifiers(config)
419
+ }, createClassGroupUtils(config));
420
+ };
421
+ var SPLIT_CLASSES_REGEX = /\s+/;
422
+ var mergeClassList = function(classList, configUtils) {
423
+ var parseClassName = configUtils.parseClassName, getClassGroupId = configUtils.getClassGroupId, getConflictingClassGroupIds = configUtils.getConflictingClassGroupIds, sortModifiers = configUtils.sortModifiers;
424
+ var classGroupsInConflict = [];
425
+ var classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
426
+ var result = "";
427
+ for(var index = classNames.length - 1; index >= 0; index -= 1){
428
+ var originalClassName = classNames[index];
429
+ var _parseClassName = parseClassName(originalClassName), isExternal = _parseClassName.isExternal, modifiers = _parseClassName.modifiers, hasImportantModifier = _parseClassName.hasImportantModifier, baseClassName = _parseClassName.baseClassName, maybePostfixModifierPosition = _parseClassName.maybePostfixModifierPosition;
430
+ if (isExternal) {
431
+ result = originalClassName + (result.length > 0 ? " " + result : result);
432
+ continue;
433
+ }
434
+ var hasPostfixModifier = !!maybePostfixModifierPosition;
435
+ var classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
436
+ if (!classGroupId) {
437
+ if (!hasPostfixModifier) {
438
+ result = originalClassName + (result.length > 0 ? " " + result : result);
439
+ continue;
440
+ }
441
+ classGroupId = getClassGroupId(baseClassName);
442
+ if (!classGroupId) {
443
+ result = originalClassName + (result.length > 0 ? " " + result : result);
444
+ continue;
445
+ }
446
+ hasPostfixModifier = false;
447
+ }
448
+ var variantModifier = modifiers.length === 0 ? "" : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(":");
449
+ var modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
450
+ var classId = modifierId + classGroupId;
451
+ if (classGroupsInConflict.indexOf(classId) > -1) {
452
+ continue;
453
+ }
454
+ classGroupsInConflict.push(classId);
455
+ var conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
456
+ for(var i = 0; i < conflictGroups.length; ++i){
457
+ var group = conflictGroups[i];
458
+ classGroupsInConflict.push(modifierId + group);
459
+ }
460
+ result = originalClassName + (result.length > 0 ? " " + result : result);
461
+ }
462
+ return result;
463
+ };
464
+ var twJoin = function() {
465
+ for(var _len = arguments.length, classLists = new Array(_len), _key = 0; _key < _len; _key++){
466
+ classLists[_key] = arguments[_key];
467
+ }
468
+ var index = 0;
469
+ var argument;
470
+ var resolvedValue;
471
+ var string = "";
472
+ while(index < classLists.length){
473
+ if (argument = classLists[index++]) {
474
+ if (resolvedValue = toValue(argument)) {
475
+ string && (string += " ");
476
+ string += resolvedValue;
477
+ }
478
+ }
479
+ }
480
+ return string;
481
+ };
482
+ var toValue = function(mix) {
483
+ if (typeof mix === "string") {
484
+ return mix;
485
+ }
486
+ var resolvedValue;
487
+ var string = "";
488
+ for(var k = 0; k < mix.length; k++){
489
+ if (mix[k]) {
490
+ if (resolvedValue = toValue(mix[k])) {
491
+ string && (string += " ");
492
+ string += resolvedValue;
493
+ }
494
+ }
495
+ }
496
+ return string;
497
+ };
498
+ var createTailwindMerge = function(createConfigFirst) {
499
+ for(var _len = arguments.length, createConfigRest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
500
+ createConfigRest[_key - 1] = arguments[_key];
501
+ }
502
+ var configUtils;
503
+ var cacheGet;
504
+ var cacheSet;
505
+ var functionToCall;
506
+ var initTailwindMerge = function(classList) {
507
+ var config = createConfigRest.reduce(function(previousConfig, createConfigCurrent) {
508
+ return createConfigCurrent(previousConfig);
509
+ }, createConfigFirst());
510
+ configUtils = createConfigUtils(config);
511
+ cacheGet = configUtils.cache.get;
512
+ cacheSet = configUtils.cache.set;
513
+ functionToCall = tailwindMerge;
514
+ return tailwindMerge(classList);
515
+ };
516
+ var tailwindMerge = function(classList) {
517
+ var cachedResult = cacheGet(classList);
518
+ if (cachedResult) {
519
+ return cachedResult;
520
+ }
521
+ var result = mergeClassList(classList, configUtils);
522
+ cacheSet(classList, result);
523
+ return result;
524
+ };
525
+ functionToCall = initTailwindMerge;
526
+ return function() {
527
+ for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
528
+ args[_key] = arguments[_key];
529
+ }
530
+ return functionToCall(twJoin.apply(void 0, _to_consumable_array(args)));
531
+ };
532
+ };
533
+ var fallbackThemeArr = [];
534
+ var fromTheme = function(key) {
535
+ var themeGetter = function(theme) {
536
+ return theme[key] || fallbackThemeArr;
537
+ };
538
+ themeGetter.isThemeGetter = true;
539
+ return themeGetter;
540
+ };
541
+ var arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
542
+ var arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
543
+ var fractionRegex = /^\d+\/\d+$/;
544
+ var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
545
+ var 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$/;
546
+ var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
547
+ var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
548
+ var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
549
+ var isFraction = function(value) {
550
+ return fractionRegex.test(value);
551
+ };
552
+ var isNumber = function(value) {
553
+ return !!value && !Number.isNaN(Number(value));
554
+ };
555
+ var isInteger = function(value) {
556
+ return !!value && Number.isInteger(Number(value));
557
+ };
558
+ var isPercent = function(value) {
559
+ return value.endsWith("%") && isNumber(value.slice(0, -1));
560
+ };
561
+ var isTshirtSize = function(value) {
562
+ return tshirtUnitRegex.test(value);
563
+ };
564
+ var isAny = function() {
565
+ return true;
566
+ };
567
+ var isLengthOnly = function(value) {
568
+ return(// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
569
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
570
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
571
+ lengthUnitRegex.test(value) && !colorFunctionRegex.test(value));
572
+ };
573
+ var isNever = function() {
574
+ return false;
575
+ };
576
+ var isShadow = function(value) {
577
+ return shadowRegex.test(value);
578
+ };
579
+ var isImage = function(value) {
580
+ return imageRegex.test(value);
581
+ };
582
+ var isAnyNonArbitrary = function(value) {
583
+ return !isArbitraryValue(value) && !isArbitraryVariable(value);
584
+ };
585
+ var isArbitrarySize = function(value) {
586
+ return getIsArbitraryValue(value, isLabelSize, isNever);
587
+ };
588
+ var isArbitraryValue = function(value) {
589
+ return arbitraryValueRegex.test(value);
590
+ };
591
+ var isArbitraryLength = function(value) {
592
+ return getIsArbitraryValue(value, isLabelLength, isLengthOnly);
593
+ };
594
+ var isArbitraryNumber = function(value) {
595
+ return getIsArbitraryValue(value, isLabelNumber, isNumber);
596
+ };
597
+ var isArbitraryPosition = function(value) {
598
+ return getIsArbitraryValue(value, isLabelPosition, isNever);
599
+ };
600
+ var isArbitraryImage = function(value) {
601
+ return getIsArbitraryValue(value, isLabelImage, isImage);
602
+ };
603
+ var isArbitraryShadow = function(value) {
604
+ return getIsArbitraryValue(value, isLabelShadow, isShadow);
605
+ };
606
+ var isArbitraryVariable = function(value) {
607
+ return arbitraryVariableRegex.test(value);
608
+ };
609
+ var isArbitraryVariableLength = function(value) {
610
+ return getIsArbitraryVariable(value, isLabelLength);
611
+ };
612
+ var isArbitraryVariableFamilyName = function(value) {
613
+ return getIsArbitraryVariable(value, isLabelFamilyName);
614
+ };
615
+ var isArbitraryVariablePosition = function(value) {
616
+ return getIsArbitraryVariable(value, isLabelPosition);
617
+ };
618
+ var isArbitraryVariableSize = function(value) {
619
+ return getIsArbitraryVariable(value, isLabelSize);
620
+ };
621
+ var isArbitraryVariableImage = function(value) {
622
+ return getIsArbitraryVariable(value, isLabelImage);
623
+ };
624
+ var isArbitraryVariableShadow = function(value) {
625
+ return getIsArbitraryVariable(value, isLabelShadow, true);
626
+ };
627
+ var getIsArbitraryValue = function(value, testLabel, testValue) {
628
+ var result = arbitraryValueRegex.exec(value);
629
+ if (result) {
630
+ if (result[1]) {
631
+ return testLabel(result[1]);
632
+ }
633
+ return testValue(result[2]);
634
+ }
635
+ return false;
636
+ };
637
+ var getIsArbitraryVariable = function(value, testLabel) {
638
+ var shouldMatchNoLabel = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : false;
639
+ var result = arbitraryVariableRegex.exec(value);
640
+ if (result) {
641
+ if (result[1]) {
642
+ return testLabel(result[1]);
643
+ }
644
+ return shouldMatchNoLabel;
645
+ }
646
+ return false;
647
+ };
648
+ var isLabelPosition = function(label) {
649
+ return label === "position" || label === "percentage";
650
+ };
651
+ var isLabelImage = function(label) {
652
+ return label === "image" || label === "url";
653
+ };
654
+ var isLabelSize = function(label) {
655
+ return label === "length" || label === "size" || label === "bg-size";
656
+ };
657
+ var isLabelLength = function(label) {
658
+ return label === "length";
659
+ };
660
+ var isLabelNumber = function(label) {
661
+ return label === "number";
662
+ };
663
+ var isLabelFamilyName = function(label) {
664
+ return label === "family-name";
665
+ };
666
+ var isLabelShadow = function(label) {
667
+ return label === "shadow";
668
+ };
669
+ var getDefaultConfig = function() {
670
+ var themeColor = fromTheme("color");
671
+ var themeFont = fromTheme("font");
672
+ var themeText = fromTheme("text");
673
+ var themeFontWeight = fromTheme("font-weight");
674
+ var themeTracking = fromTheme("tracking");
675
+ var themeLeading = fromTheme("leading");
676
+ var themeBreakpoint = fromTheme("breakpoint");
677
+ var themeContainer = fromTheme("container");
678
+ var themeSpacing = fromTheme("spacing");
679
+ var themeRadius = fromTheme("radius");
680
+ var themeShadow = fromTheme("shadow");
681
+ var themeInsetShadow = fromTheme("inset-shadow");
682
+ var themeTextShadow = fromTheme("text-shadow");
683
+ var themeDropShadow = fromTheme("drop-shadow");
684
+ var themeBlur = fromTheme("blur");
685
+ var themePerspective = fromTheme("perspective");
686
+ var themeAspect = fromTheme("aspect");
687
+ var themeEase = fromTheme("ease");
688
+ var themeAnimate = fromTheme("animate");
689
+ var scaleBreak = function() {
690
+ return [
691
+ "auto",
692
+ "avoid",
693
+ "all",
694
+ "avoid-page",
695
+ "page",
696
+ "left",
697
+ "right",
698
+ "column"
699
+ ];
700
+ };
701
+ var scalePosition = function() {
702
+ return [
703
+ "center",
704
+ "top",
705
+ "bottom",
706
+ "left",
707
+ "right",
708
+ "top-left",
709
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
710
+ "left-top",
711
+ "top-right",
712
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
713
+ "right-top",
714
+ "bottom-right",
715
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
716
+ "right-bottom",
717
+ "bottom-left",
718
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
719
+ "left-bottom"
720
+ ];
721
+ };
722
+ var scalePositionWithArbitrary = function() {
723
+ return _to_consumable_array(scalePosition()).concat([
724
+ isArbitraryVariable,
725
+ isArbitraryValue
726
+ ]);
727
+ };
728
+ var scaleOverflow = function() {
729
+ return [
730
+ "auto",
731
+ "hidden",
732
+ "clip",
733
+ "visible",
734
+ "scroll"
735
+ ];
736
+ };
737
+ var scaleOverscroll = function() {
738
+ return [
739
+ "auto",
740
+ "contain",
741
+ "none"
742
+ ];
743
+ };
744
+ var scaleUnambiguousSpacing = function() {
745
+ return [
746
+ isArbitraryVariable,
747
+ isArbitraryValue,
748
+ themeSpacing
749
+ ];
750
+ };
751
+ var scaleInset = function() {
752
+ return [
753
+ isFraction,
754
+ "full",
755
+ "auto"
756
+ ].concat(_to_consumable_array(scaleUnambiguousSpacing()));
757
+ };
758
+ var scaleGridTemplateColsRows = function() {
759
+ return [
760
+ isInteger,
761
+ "none",
762
+ "subgrid",
763
+ isArbitraryVariable,
764
+ isArbitraryValue
765
+ ];
766
+ };
767
+ var scaleGridColRowStartAndEnd = function() {
768
+ return [
769
+ "auto",
770
+ {
771
+ span: [
772
+ "full",
773
+ isInteger,
774
+ isArbitraryVariable,
775
+ isArbitraryValue
776
+ ]
777
+ },
778
+ isInteger,
779
+ isArbitraryVariable,
780
+ isArbitraryValue
781
+ ];
782
+ };
783
+ var scaleGridColRowStartOrEnd = function() {
784
+ return [
785
+ isInteger,
786
+ "auto",
787
+ isArbitraryVariable,
788
+ isArbitraryValue
789
+ ];
790
+ };
791
+ var scaleGridAutoColsRows = function() {
792
+ return [
793
+ "auto",
794
+ "min",
795
+ "max",
796
+ "fr",
797
+ isArbitraryVariable,
798
+ isArbitraryValue
799
+ ];
800
+ };
801
+ var scaleAlignPrimaryAxis = function() {
802
+ return [
803
+ "start",
804
+ "end",
805
+ "center",
806
+ "between",
807
+ "around",
808
+ "evenly",
809
+ "stretch",
810
+ "baseline",
811
+ "center-safe",
812
+ "end-safe"
813
+ ];
814
+ };
815
+ var scaleAlignSecondaryAxis = function() {
816
+ return [
817
+ "start",
818
+ "end",
819
+ "center",
820
+ "stretch",
821
+ "center-safe",
822
+ "end-safe"
823
+ ];
824
+ };
825
+ var scaleMargin = function() {
826
+ return [
827
+ "auto"
828
+ ].concat(_to_consumable_array(scaleUnambiguousSpacing()));
829
+ };
830
+ var scaleSizing = function() {
831
+ return [
832
+ isFraction,
833
+ "auto",
834
+ "full",
835
+ "dvw",
836
+ "dvh",
837
+ "lvw",
838
+ "lvh",
839
+ "svw",
840
+ "svh",
841
+ "min",
842
+ "max",
843
+ "fit"
844
+ ].concat(_to_consumable_array(scaleUnambiguousSpacing()));
845
+ };
846
+ var scaleColor = function() {
847
+ return [
848
+ themeColor,
849
+ isArbitraryVariable,
850
+ isArbitraryValue
851
+ ];
852
+ };
853
+ var scaleBgPosition = function() {
854
+ return _to_consumable_array(scalePosition()).concat([
855
+ isArbitraryVariablePosition,
856
+ isArbitraryPosition,
857
+ {
858
+ position: [
859
+ isArbitraryVariable,
860
+ isArbitraryValue
861
+ ]
862
+ }
863
+ ]);
864
+ };
865
+ var scaleBgRepeat = function() {
866
+ return [
867
+ "no-repeat",
868
+ {
869
+ repeat: [
870
+ "",
871
+ "x",
872
+ "y",
873
+ "space",
874
+ "round"
875
+ ]
876
+ }
877
+ ];
878
+ };
879
+ var scaleBgSize = function() {
880
+ return [
881
+ "auto",
882
+ "cover",
883
+ "contain",
884
+ isArbitraryVariableSize,
885
+ isArbitrarySize,
886
+ {
887
+ size: [
888
+ isArbitraryVariable,
889
+ isArbitraryValue
890
+ ]
891
+ }
892
+ ];
893
+ };
894
+ var scaleGradientStopPosition = function() {
895
+ return [
896
+ isPercent,
897
+ isArbitraryVariableLength,
898
+ isArbitraryLength
899
+ ];
900
+ };
901
+ var scaleRadius = function() {
902
+ return [
903
+ // Deprecated since Tailwind CSS v4.0.0
904
+ "",
905
+ "none",
906
+ "full",
907
+ themeRadius,
908
+ isArbitraryVariable,
909
+ isArbitraryValue
910
+ ];
911
+ };
912
+ var scaleBorderWidth = function() {
913
+ return [
914
+ "",
915
+ isNumber,
916
+ isArbitraryVariableLength,
917
+ isArbitraryLength
918
+ ];
919
+ };
920
+ var scaleLineStyle = function() {
921
+ return [
922
+ "solid",
923
+ "dashed",
924
+ "dotted",
925
+ "double"
926
+ ];
927
+ };
928
+ var scaleBlendMode = function() {
929
+ return [
930
+ "normal",
931
+ "multiply",
932
+ "screen",
933
+ "overlay",
934
+ "darken",
935
+ "lighten",
936
+ "color-dodge",
937
+ "color-burn",
938
+ "hard-light",
939
+ "soft-light",
940
+ "difference",
941
+ "exclusion",
942
+ "hue",
943
+ "saturation",
944
+ "color",
945
+ "luminosity"
946
+ ];
947
+ };
948
+ var scaleMaskImagePosition = function() {
949
+ return [
950
+ isNumber,
951
+ isPercent,
952
+ isArbitraryVariablePosition,
953
+ isArbitraryPosition
954
+ ];
955
+ };
956
+ var scaleBlur = function() {
957
+ return [
958
+ // Deprecated since Tailwind CSS v4.0.0
959
+ "",
960
+ "none",
961
+ themeBlur,
962
+ isArbitraryVariable,
963
+ isArbitraryValue
964
+ ];
965
+ };
966
+ var scaleRotate = function() {
967
+ return [
968
+ "none",
969
+ isNumber,
970
+ isArbitraryVariable,
971
+ isArbitraryValue
972
+ ];
973
+ };
974
+ var scaleScale = function() {
975
+ return [
976
+ "none",
977
+ isNumber,
978
+ isArbitraryVariable,
979
+ isArbitraryValue
980
+ ];
981
+ };
982
+ var scaleSkew = function() {
983
+ return [
984
+ isNumber,
985
+ isArbitraryVariable,
986
+ isArbitraryValue
987
+ ];
988
+ };
989
+ var scaleTranslate = function() {
990
+ return [
991
+ isFraction,
992
+ "full"
993
+ ].concat(_to_consumable_array(scaleUnambiguousSpacing()));
994
+ };
995
+ return {
996
+ cacheSize: 500,
997
+ theme: {
998
+ animate: [
999
+ "spin",
1000
+ "ping",
1001
+ "pulse",
1002
+ "bounce"
1003
+ ],
1004
+ aspect: [
1005
+ "video"
1006
+ ],
1007
+ blur: [
1008
+ isTshirtSize
1009
+ ],
1010
+ breakpoint: [
1011
+ isTshirtSize
1012
+ ],
1013
+ color: [
1014
+ isAny
1015
+ ],
1016
+ container: [
1017
+ isTshirtSize
1018
+ ],
1019
+ "drop-shadow": [
1020
+ isTshirtSize
1021
+ ],
1022
+ ease: [
1023
+ "in",
1024
+ "out",
1025
+ "in-out"
1026
+ ],
1027
+ font: [
1028
+ isAnyNonArbitrary
1029
+ ],
1030
+ "font-weight": [
1031
+ "thin",
1032
+ "extralight",
1033
+ "light",
1034
+ "normal",
1035
+ "medium",
1036
+ "semibold",
1037
+ "bold",
1038
+ "extrabold",
1039
+ "black"
1040
+ ],
1041
+ "inset-shadow": [
1042
+ isTshirtSize
1043
+ ],
1044
+ leading: [
1045
+ "none",
1046
+ "tight",
1047
+ "snug",
1048
+ "normal",
1049
+ "relaxed",
1050
+ "loose"
1051
+ ],
1052
+ perspective: [
1053
+ "dramatic",
1054
+ "near",
1055
+ "normal",
1056
+ "midrange",
1057
+ "distant",
1058
+ "none"
1059
+ ],
1060
+ radius: [
1061
+ isTshirtSize
1062
+ ],
1063
+ shadow: [
1064
+ isTshirtSize
1065
+ ],
1066
+ spacing: [
1067
+ "px",
1068
+ isNumber
1069
+ ],
1070
+ text: [
1071
+ isTshirtSize
1072
+ ],
1073
+ "text-shadow": [
1074
+ isTshirtSize
1075
+ ],
1076
+ tracking: [
1077
+ "tighter",
1078
+ "tight",
1079
+ "normal",
1080
+ "wide",
1081
+ "wider",
1082
+ "widest"
1083
+ ]
1084
+ },
1085
+ classGroups: {
1086
+ // --------------
1087
+ // --- Layout ---
1088
+ // --------------
1089
+ /**
1090
+ * Aspect Ratio
1091
+ * @see https://tailwindcss.com/docs/aspect-ratio
1092
+ */ aspect: [
1093
+ {
1094
+ aspect: [
1095
+ "auto",
1096
+ "square",
1097
+ isFraction,
1098
+ isArbitraryValue,
1099
+ isArbitraryVariable,
1100
+ themeAspect
1101
+ ]
1102
+ }
1103
+ ],
1104
+ /**
1105
+ * Container
1106
+ * @see https://tailwindcss.com/docs/container
1107
+ * @deprecated since Tailwind CSS v4.0.0
1108
+ */ container: [
1109
+ "container"
1110
+ ],
1111
+ /**
1112
+ * Columns
1113
+ * @see https://tailwindcss.com/docs/columns
1114
+ */ columns: [
1115
+ {
1116
+ columns: [
1117
+ isNumber,
1118
+ isArbitraryValue,
1119
+ isArbitraryVariable,
1120
+ themeContainer
1121
+ ]
1122
+ }
1123
+ ],
1124
+ /**
1125
+ * Break After
1126
+ * @see https://tailwindcss.com/docs/break-after
1127
+ */ "break-after": [
1128
+ {
1129
+ "break-after": scaleBreak()
1130
+ }
1131
+ ],
1132
+ /**
1133
+ * Break Before
1134
+ * @see https://tailwindcss.com/docs/break-before
1135
+ */ "break-before": [
1136
+ {
1137
+ "break-before": scaleBreak()
1138
+ }
1139
+ ],
1140
+ /**
1141
+ * Break Inside
1142
+ * @see https://tailwindcss.com/docs/break-inside
1143
+ */ "break-inside": [
1144
+ {
1145
+ "break-inside": [
1146
+ "auto",
1147
+ "avoid",
1148
+ "avoid-page",
1149
+ "avoid-column"
1150
+ ]
1151
+ }
1152
+ ],
1153
+ /**
1154
+ * Box Decoration Break
1155
+ * @see https://tailwindcss.com/docs/box-decoration-break
1156
+ */ "box-decoration": [
1157
+ {
1158
+ "box-decoration": [
1159
+ "slice",
1160
+ "clone"
1161
+ ]
1162
+ }
1163
+ ],
1164
+ /**
1165
+ * Box Sizing
1166
+ * @see https://tailwindcss.com/docs/box-sizing
1167
+ */ box: [
1168
+ {
1169
+ box: [
1170
+ "border",
1171
+ "content"
1172
+ ]
1173
+ }
1174
+ ],
1175
+ /**
1176
+ * Display
1177
+ * @see https://tailwindcss.com/docs/display
1178
+ */ display: [
1179
+ "block",
1180
+ "inline-block",
1181
+ "inline",
1182
+ "flex",
1183
+ "inline-flex",
1184
+ "table",
1185
+ "inline-table",
1186
+ "table-caption",
1187
+ "table-cell",
1188
+ "table-column",
1189
+ "table-column-group",
1190
+ "table-footer-group",
1191
+ "table-header-group",
1192
+ "table-row-group",
1193
+ "table-row",
1194
+ "flow-root",
1195
+ "grid",
1196
+ "inline-grid",
1197
+ "contents",
1198
+ "list-item",
1199
+ "hidden"
1200
+ ],
1201
+ /**
1202
+ * Screen Reader Only
1203
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
1204
+ */ sr: [
1205
+ "sr-only",
1206
+ "not-sr-only"
1207
+ ],
1208
+ /**
1209
+ * Floats
1210
+ * @see https://tailwindcss.com/docs/float
1211
+ */ float: [
1212
+ {
1213
+ float: [
1214
+ "right",
1215
+ "left",
1216
+ "none",
1217
+ "start",
1218
+ "end"
1219
+ ]
1220
+ }
1221
+ ],
1222
+ /**
1223
+ * Clear
1224
+ * @see https://tailwindcss.com/docs/clear
1225
+ */ clear: [
1226
+ {
1227
+ clear: [
1228
+ "left",
1229
+ "right",
1230
+ "both",
1231
+ "none",
1232
+ "start",
1233
+ "end"
1234
+ ]
1235
+ }
1236
+ ],
1237
+ /**
1238
+ * Isolation
1239
+ * @see https://tailwindcss.com/docs/isolation
1240
+ */ isolation: [
1241
+ "isolate",
1242
+ "isolation-auto"
1243
+ ],
1244
+ /**
1245
+ * Object Fit
1246
+ * @see https://tailwindcss.com/docs/object-fit
1247
+ */ "object-fit": [
1248
+ {
1249
+ object: [
1250
+ "contain",
1251
+ "cover",
1252
+ "fill",
1253
+ "none",
1254
+ "scale-down"
1255
+ ]
1256
+ }
1257
+ ],
1258
+ /**
1259
+ * Object Position
1260
+ * @see https://tailwindcss.com/docs/object-position
1261
+ */ "object-position": [
1262
+ {
1263
+ object: scalePositionWithArbitrary()
1264
+ }
1265
+ ],
1266
+ /**
1267
+ * Overflow
1268
+ * @see https://tailwindcss.com/docs/overflow
1269
+ */ overflow: [
1270
+ {
1271
+ overflow: scaleOverflow()
1272
+ }
1273
+ ],
1274
+ /**
1275
+ * Overflow X
1276
+ * @see https://tailwindcss.com/docs/overflow
1277
+ */ "overflow-x": [
1278
+ {
1279
+ "overflow-x": scaleOverflow()
1280
+ }
1281
+ ],
1282
+ /**
1283
+ * Overflow Y
1284
+ * @see https://tailwindcss.com/docs/overflow
1285
+ */ "overflow-y": [
1286
+ {
1287
+ "overflow-y": scaleOverflow()
1288
+ }
1289
+ ],
1290
+ /**
1291
+ * Overscroll Behavior
1292
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1293
+ */ overscroll: [
1294
+ {
1295
+ overscroll: scaleOverscroll()
1296
+ }
1297
+ ],
1298
+ /**
1299
+ * Overscroll Behavior X
1300
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1301
+ */ "overscroll-x": [
1302
+ {
1303
+ "overscroll-x": scaleOverscroll()
1304
+ }
1305
+ ],
1306
+ /**
1307
+ * Overscroll Behavior Y
1308
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1309
+ */ "overscroll-y": [
1310
+ {
1311
+ "overscroll-y": scaleOverscroll()
1312
+ }
1313
+ ],
1314
+ /**
1315
+ * Position
1316
+ * @see https://tailwindcss.com/docs/position
1317
+ */ position: [
1318
+ "static",
1319
+ "fixed",
1320
+ "absolute",
1321
+ "relative",
1322
+ "sticky"
1323
+ ],
1324
+ /**
1325
+ * Top / Right / Bottom / Left
1326
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1327
+ */ inset: [
1328
+ {
1329
+ inset: scaleInset()
1330
+ }
1331
+ ],
1332
+ /**
1333
+ * Right / Left
1334
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1335
+ */ "inset-x": [
1336
+ {
1337
+ "inset-x": scaleInset()
1338
+ }
1339
+ ],
1340
+ /**
1341
+ * Top / Bottom
1342
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1343
+ */ "inset-y": [
1344
+ {
1345
+ "inset-y": scaleInset()
1346
+ }
1347
+ ],
1348
+ /**
1349
+ * Start
1350
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1351
+ */ start: [
1352
+ {
1353
+ start: scaleInset()
1354
+ }
1355
+ ],
1356
+ /**
1357
+ * End
1358
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1359
+ */ end: [
1360
+ {
1361
+ end: scaleInset()
1362
+ }
1363
+ ],
1364
+ /**
1365
+ * Top
1366
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1367
+ */ top: [
1368
+ {
1369
+ top: scaleInset()
1370
+ }
1371
+ ],
1372
+ /**
1373
+ * Right
1374
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1375
+ */ right: [
1376
+ {
1377
+ right: scaleInset()
1378
+ }
1379
+ ],
1380
+ /**
1381
+ * Bottom
1382
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1383
+ */ bottom: [
1384
+ {
1385
+ bottom: scaleInset()
1386
+ }
1387
+ ],
1388
+ /**
1389
+ * Left
1390
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1391
+ */ left: [
1392
+ {
1393
+ left: scaleInset()
1394
+ }
1395
+ ],
1396
+ /**
1397
+ * Visibility
1398
+ * @see https://tailwindcss.com/docs/visibility
1399
+ */ visibility: [
1400
+ "visible",
1401
+ "invisible",
1402
+ "collapse"
1403
+ ],
1404
+ /**
1405
+ * Z-Index
1406
+ * @see https://tailwindcss.com/docs/z-index
1407
+ */ z: [
1408
+ {
1409
+ z: [
1410
+ isInteger,
1411
+ "auto",
1412
+ isArbitraryVariable,
1413
+ isArbitraryValue
1414
+ ]
1415
+ }
1416
+ ],
1417
+ // ------------------------
1418
+ // --- Flexbox and Grid ---
1419
+ // ------------------------
1420
+ /**
1421
+ * Flex Basis
1422
+ * @see https://tailwindcss.com/docs/flex-basis
1423
+ */ basis: [
1424
+ {
1425
+ basis: [
1426
+ isFraction,
1427
+ "full",
1428
+ "auto",
1429
+ themeContainer
1430
+ ].concat(_to_consumable_array(scaleUnambiguousSpacing()))
1431
+ }
1432
+ ],
1433
+ /**
1434
+ * Flex Direction
1435
+ * @see https://tailwindcss.com/docs/flex-direction
1436
+ */ "flex-direction": [
1437
+ {
1438
+ flex: [
1439
+ "row",
1440
+ "row-reverse",
1441
+ "col",
1442
+ "col-reverse"
1443
+ ]
1444
+ }
1445
+ ],
1446
+ /**
1447
+ * Flex Wrap
1448
+ * @see https://tailwindcss.com/docs/flex-wrap
1449
+ */ "flex-wrap": [
1450
+ {
1451
+ flex: [
1452
+ "nowrap",
1453
+ "wrap",
1454
+ "wrap-reverse"
1455
+ ]
1456
+ }
1457
+ ],
1458
+ /**
1459
+ * Flex
1460
+ * @see https://tailwindcss.com/docs/flex
1461
+ */ flex: [
1462
+ {
1463
+ flex: [
1464
+ isNumber,
1465
+ isFraction,
1466
+ "auto",
1467
+ "initial",
1468
+ "none",
1469
+ isArbitraryValue
1470
+ ]
1471
+ }
1472
+ ],
1473
+ /**
1474
+ * Flex Grow
1475
+ * @see https://tailwindcss.com/docs/flex-grow
1476
+ */ grow: [
1477
+ {
1478
+ grow: [
1479
+ "",
1480
+ isNumber,
1481
+ isArbitraryVariable,
1482
+ isArbitraryValue
1483
+ ]
1484
+ }
1485
+ ],
1486
+ /**
1487
+ * Flex Shrink
1488
+ * @see https://tailwindcss.com/docs/flex-shrink
1489
+ */ shrink: [
1490
+ {
1491
+ shrink: [
1492
+ "",
1493
+ isNumber,
1494
+ isArbitraryVariable,
1495
+ isArbitraryValue
1496
+ ]
1497
+ }
1498
+ ],
1499
+ /**
1500
+ * Order
1501
+ * @see https://tailwindcss.com/docs/order
1502
+ */ order: [
1503
+ {
1504
+ order: [
1505
+ isInteger,
1506
+ "first",
1507
+ "last",
1508
+ "none",
1509
+ isArbitraryVariable,
1510
+ isArbitraryValue
1511
+ ]
1512
+ }
1513
+ ],
1514
+ /**
1515
+ * Grid Template Columns
1516
+ * @see https://tailwindcss.com/docs/grid-template-columns
1517
+ */ "grid-cols": [
1518
+ {
1519
+ "grid-cols": scaleGridTemplateColsRows()
1520
+ }
1521
+ ],
1522
+ /**
1523
+ * Grid Column Start / End
1524
+ * @see https://tailwindcss.com/docs/grid-column
1525
+ */ "col-start-end": [
1526
+ {
1527
+ col: scaleGridColRowStartAndEnd()
1528
+ }
1529
+ ],
1530
+ /**
1531
+ * Grid Column Start
1532
+ * @see https://tailwindcss.com/docs/grid-column
1533
+ */ "col-start": [
1534
+ {
1535
+ "col-start": scaleGridColRowStartOrEnd()
1536
+ }
1537
+ ],
1538
+ /**
1539
+ * Grid Column End
1540
+ * @see https://tailwindcss.com/docs/grid-column
1541
+ */ "col-end": [
1542
+ {
1543
+ "col-end": scaleGridColRowStartOrEnd()
1544
+ }
1545
+ ],
1546
+ /**
1547
+ * Grid Template Rows
1548
+ * @see https://tailwindcss.com/docs/grid-template-rows
1549
+ */ "grid-rows": [
1550
+ {
1551
+ "grid-rows": scaleGridTemplateColsRows()
1552
+ }
1553
+ ],
1554
+ /**
1555
+ * Grid Row Start / End
1556
+ * @see https://tailwindcss.com/docs/grid-row
1557
+ */ "row-start-end": [
1558
+ {
1559
+ row: scaleGridColRowStartAndEnd()
1560
+ }
1561
+ ],
1562
+ /**
1563
+ * Grid Row Start
1564
+ * @see https://tailwindcss.com/docs/grid-row
1565
+ */ "row-start": [
1566
+ {
1567
+ "row-start": scaleGridColRowStartOrEnd()
1568
+ }
1569
+ ],
1570
+ /**
1571
+ * Grid Row End
1572
+ * @see https://tailwindcss.com/docs/grid-row
1573
+ */ "row-end": [
1574
+ {
1575
+ "row-end": scaleGridColRowStartOrEnd()
1576
+ }
1577
+ ],
1578
+ /**
1579
+ * Grid Auto Flow
1580
+ * @see https://tailwindcss.com/docs/grid-auto-flow
1581
+ */ "grid-flow": [
1582
+ {
1583
+ "grid-flow": [
1584
+ "row",
1585
+ "col",
1586
+ "dense",
1587
+ "row-dense",
1588
+ "col-dense"
1589
+ ]
1590
+ }
1591
+ ],
1592
+ /**
1593
+ * Grid Auto Columns
1594
+ * @see https://tailwindcss.com/docs/grid-auto-columns
1595
+ */ "auto-cols": [
1596
+ {
1597
+ "auto-cols": scaleGridAutoColsRows()
1598
+ }
1599
+ ],
1600
+ /**
1601
+ * Grid Auto Rows
1602
+ * @see https://tailwindcss.com/docs/grid-auto-rows
1603
+ */ "auto-rows": [
1604
+ {
1605
+ "auto-rows": scaleGridAutoColsRows()
1606
+ }
1607
+ ],
1608
+ /**
1609
+ * Gap
1610
+ * @see https://tailwindcss.com/docs/gap
1611
+ */ gap: [
1612
+ {
1613
+ gap: scaleUnambiguousSpacing()
1614
+ }
1615
+ ],
1616
+ /**
1617
+ * Gap X
1618
+ * @see https://tailwindcss.com/docs/gap
1619
+ */ "gap-x": [
1620
+ {
1621
+ "gap-x": scaleUnambiguousSpacing()
1622
+ }
1623
+ ],
1624
+ /**
1625
+ * Gap Y
1626
+ * @see https://tailwindcss.com/docs/gap
1627
+ */ "gap-y": [
1628
+ {
1629
+ "gap-y": scaleUnambiguousSpacing()
1630
+ }
1631
+ ],
1632
+ /**
1633
+ * Justify Content
1634
+ * @see https://tailwindcss.com/docs/justify-content
1635
+ */ "justify-content": [
1636
+ {
1637
+ justify: _to_consumable_array(scaleAlignPrimaryAxis()).concat([
1638
+ "normal"
1639
+ ])
1640
+ }
1641
+ ],
1642
+ /**
1643
+ * Justify Items
1644
+ * @see https://tailwindcss.com/docs/justify-items
1645
+ */ "justify-items": [
1646
+ {
1647
+ "justify-items": _to_consumable_array(scaleAlignSecondaryAxis()).concat([
1648
+ "normal"
1649
+ ])
1650
+ }
1651
+ ],
1652
+ /**
1653
+ * Justify Self
1654
+ * @see https://tailwindcss.com/docs/justify-self
1655
+ */ "justify-self": [
1656
+ {
1657
+ "justify-self": [
1658
+ "auto"
1659
+ ].concat(_to_consumable_array(scaleAlignSecondaryAxis()))
1660
+ }
1661
+ ],
1662
+ /**
1663
+ * Align Content
1664
+ * @see https://tailwindcss.com/docs/align-content
1665
+ */ "align-content": [
1666
+ {
1667
+ content: [
1668
+ "normal"
1669
+ ].concat(_to_consumable_array(scaleAlignPrimaryAxis()))
1670
+ }
1671
+ ],
1672
+ /**
1673
+ * Align Items
1674
+ * @see https://tailwindcss.com/docs/align-items
1675
+ */ "align-items": [
1676
+ {
1677
+ items: _to_consumable_array(scaleAlignSecondaryAxis()).concat([
1678
+ {
1679
+ baseline: [
1680
+ "",
1681
+ "last"
1682
+ ]
1683
+ }
1684
+ ])
1685
+ }
1686
+ ],
1687
+ /**
1688
+ * Align Self
1689
+ * @see https://tailwindcss.com/docs/align-self
1690
+ */ "align-self": [
1691
+ {
1692
+ self: [
1693
+ "auto"
1694
+ ].concat(_to_consumable_array(scaleAlignSecondaryAxis()), [
1695
+ {
1696
+ baseline: [
1697
+ "",
1698
+ "last"
1699
+ ]
1700
+ }
1701
+ ])
1702
+ }
1703
+ ],
1704
+ /**
1705
+ * Place Content
1706
+ * @see https://tailwindcss.com/docs/place-content
1707
+ */ "place-content": [
1708
+ {
1709
+ "place-content": scaleAlignPrimaryAxis()
1710
+ }
1711
+ ],
1712
+ /**
1713
+ * Place Items
1714
+ * @see https://tailwindcss.com/docs/place-items
1715
+ */ "place-items": [
1716
+ {
1717
+ "place-items": _to_consumable_array(scaleAlignSecondaryAxis()).concat([
1718
+ "baseline"
1719
+ ])
1720
+ }
1721
+ ],
1722
+ /**
1723
+ * Place Self
1724
+ * @see https://tailwindcss.com/docs/place-self
1725
+ */ "place-self": [
1726
+ {
1727
+ "place-self": [
1728
+ "auto"
1729
+ ].concat(_to_consumable_array(scaleAlignSecondaryAxis()))
1730
+ }
1731
+ ],
1732
+ // Spacing
1733
+ /**
1734
+ * Padding
1735
+ * @see https://tailwindcss.com/docs/padding
1736
+ */ p: [
1737
+ {
1738
+ p: scaleUnambiguousSpacing()
1739
+ }
1740
+ ],
1741
+ /**
1742
+ * Padding X
1743
+ * @see https://tailwindcss.com/docs/padding
1744
+ */ px: [
1745
+ {
1746
+ px: scaleUnambiguousSpacing()
1747
+ }
1748
+ ],
1749
+ /**
1750
+ * Padding Y
1751
+ * @see https://tailwindcss.com/docs/padding
1752
+ */ py: [
1753
+ {
1754
+ py: scaleUnambiguousSpacing()
1755
+ }
1756
+ ],
1757
+ /**
1758
+ * Padding Start
1759
+ * @see https://tailwindcss.com/docs/padding
1760
+ */ ps: [
1761
+ {
1762
+ ps: scaleUnambiguousSpacing()
1763
+ }
1764
+ ],
1765
+ /**
1766
+ * Padding End
1767
+ * @see https://tailwindcss.com/docs/padding
1768
+ */ pe: [
1769
+ {
1770
+ pe: scaleUnambiguousSpacing()
1771
+ }
1772
+ ],
1773
+ /**
1774
+ * Padding Top
1775
+ * @see https://tailwindcss.com/docs/padding
1776
+ */ pt: [
1777
+ {
1778
+ pt: scaleUnambiguousSpacing()
1779
+ }
1780
+ ],
1781
+ /**
1782
+ * Padding Right
1783
+ * @see https://tailwindcss.com/docs/padding
1784
+ */ pr: [
1785
+ {
1786
+ pr: scaleUnambiguousSpacing()
1787
+ }
1788
+ ],
1789
+ /**
1790
+ * Padding Bottom
1791
+ * @see https://tailwindcss.com/docs/padding
1792
+ */ pb: [
1793
+ {
1794
+ pb: scaleUnambiguousSpacing()
1795
+ }
1796
+ ],
1797
+ /**
1798
+ * Padding Left
1799
+ * @see https://tailwindcss.com/docs/padding
1800
+ */ pl: [
1801
+ {
1802
+ pl: scaleUnambiguousSpacing()
1803
+ }
1804
+ ],
1805
+ /**
1806
+ * Margin
1807
+ * @see https://tailwindcss.com/docs/margin
1808
+ */ m: [
1809
+ {
1810
+ m: scaleMargin()
1811
+ }
1812
+ ],
1813
+ /**
1814
+ * Margin X
1815
+ * @see https://tailwindcss.com/docs/margin
1816
+ */ mx: [
1817
+ {
1818
+ mx: scaleMargin()
1819
+ }
1820
+ ],
1821
+ /**
1822
+ * Margin Y
1823
+ * @see https://tailwindcss.com/docs/margin
1824
+ */ my: [
1825
+ {
1826
+ my: scaleMargin()
1827
+ }
1828
+ ],
1829
+ /**
1830
+ * Margin Start
1831
+ * @see https://tailwindcss.com/docs/margin
1832
+ */ ms: [
1833
+ {
1834
+ ms: scaleMargin()
1835
+ }
1836
+ ],
1837
+ /**
1838
+ * Margin End
1839
+ * @see https://tailwindcss.com/docs/margin
1840
+ */ me: [
1841
+ {
1842
+ me: scaleMargin()
1843
+ }
1844
+ ],
1845
+ /**
1846
+ * Margin Top
1847
+ * @see https://tailwindcss.com/docs/margin
1848
+ */ mt: [
1849
+ {
1850
+ mt: scaleMargin()
1851
+ }
1852
+ ],
1853
+ /**
1854
+ * Margin Right
1855
+ * @see https://tailwindcss.com/docs/margin
1856
+ */ mr: [
1857
+ {
1858
+ mr: scaleMargin()
1859
+ }
1860
+ ],
1861
+ /**
1862
+ * Margin Bottom
1863
+ * @see https://tailwindcss.com/docs/margin
1864
+ */ mb: [
1865
+ {
1866
+ mb: scaleMargin()
1867
+ }
1868
+ ],
1869
+ /**
1870
+ * Margin Left
1871
+ * @see https://tailwindcss.com/docs/margin
1872
+ */ ml: [
1873
+ {
1874
+ ml: scaleMargin()
1875
+ }
1876
+ ],
1877
+ /**
1878
+ * Space Between X
1879
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1880
+ */ "space-x": [
1881
+ {
1882
+ "space-x": scaleUnambiguousSpacing()
1883
+ }
1884
+ ],
1885
+ /**
1886
+ * Space Between X Reverse
1887
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1888
+ */ "space-x-reverse": [
1889
+ "space-x-reverse"
1890
+ ],
1891
+ /**
1892
+ * Space Between Y
1893
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1894
+ */ "space-y": [
1895
+ {
1896
+ "space-y": scaleUnambiguousSpacing()
1897
+ }
1898
+ ],
1899
+ /**
1900
+ * Space Between Y Reverse
1901
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1902
+ */ "space-y-reverse": [
1903
+ "space-y-reverse"
1904
+ ],
1905
+ // --------------
1906
+ // --- Sizing ---
1907
+ // --------------
1908
+ /**
1909
+ * Size
1910
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1911
+ */ size: [
1912
+ {
1913
+ size: scaleSizing()
1914
+ }
1915
+ ],
1916
+ /**
1917
+ * Width
1918
+ * @see https://tailwindcss.com/docs/width
1919
+ */ w: [
1920
+ {
1921
+ w: [
1922
+ themeContainer,
1923
+ "screen"
1924
+ ].concat(_to_consumable_array(scaleSizing()))
1925
+ }
1926
+ ],
1927
+ /**
1928
+ * Min-Width
1929
+ * @see https://tailwindcss.com/docs/min-width
1930
+ */ "min-w": [
1931
+ {
1932
+ "min-w": [
1933
+ themeContainer,
1934
+ "screen",
1935
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */ "none"
1936
+ ].concat(_to_consumable_array(scaleSizing()))
1937
+ }
1938
+ ],
1939
+ /**
1940
+ * Max-Width
1941
+ * @see https://tailwindcss.com/docs/max-width
1942
+ */ "max-w": [
1943
+ {
1944
+ "max-w": [
1945
+ themeContainer,
1946
+ "screen",
1947
+ "none",
1948
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */ "prose",
1949
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */ {
1950
+ screen: [
1951
+ themeBreakpoint
1952
+ ]
1953
+ }
1954
+ ].concat(_to_consumable_array(scaleSizing()))
1955
+ }
1956
+ ],
1957
+ /**
1958
+ * Height
1959
+ * @see https://tailwindcss.com/docs/height
1960
+ */ h: [
1961
+ {
1962
+ h: [
1963
+ "screen",
1964
+ "lh"
1965
+ ].concat(_to_consumable_array(scaleSizing()))
1966
+ }
1967
+ ],
1968
+ /**
1969
+ * Min-Height
1970
+ * @see https://tailwindcss.com/docs/min-height
1971
+ */ "min-h": [
1972
+ {
1973
+ "min-h": [
1974
+ "screen",
1975
+ "lh",
1976
+ "none"
1977
+ ].concat(_to_consumable_array(scaleSizing()))
1978
+ }
1979
+ ],
1980
+ /**
1981
+ * Max-Height
1982
+ * @see https://tailwindcss.com/docs/max-height
1983
+ */ "max-h": [
1984
+ {
1985
+ "max-h": [
1986
+ "screen",
1987
+ "lh"
1988
+ ].concat(_to_consumable_array(scaleSizing()))
1989
+ }
1990
+ ],
1991
+ // ------------------
1992
+ // --- Typography ---
1993
+ // ------------------
1994
+ /**
1995
+ * Font Size
1996
+ * @see https://tailwindcss.com/docs/font-size
1997
+ */ "font-size": [
1998
+ {
1999
+ text: [
2000
+ "base",
2001
+ themeText,
2002
+ isArbitraryVariableLength,
2003
+ isArbitraryLength
2004
+ ]
2005
+ }
2006
+ ],
2007
+ /**
2008
+ * Font Smoothing
2009
+ * @see https://tailwindcss.com/docs/font-smoothing
2010
+ */ "font-smoothing": [
2011
+ "antialiased",
2012
+ "subpixel-antialiased"
2013
+ ],
2014
+ /**
2015
+ * Font Style
2016
+ * @see https://tailwindcss.com/docs/font-style
2017
+ */ "font-style": [
2018
+ "italic",
2019
+ "not-italic"
2020
+ ],
2021
+ /**
2022
+ * Font Weight
2023
+ * @see https://tailwindcss.com/docs/font-weight
2024
+ */ "font-weight": [
2025
+ {
2026
+ font: [
2027
+ themeFontWeight,
2028
+ isArbitraryVariable,
2029
+ isArbitraryNumber
2030
+ ]
2031
+ }
2032
+ ],
2033
+ /**
2034
+ * Font Stretch
2035
+ * @see https://tailwindcss.com/docs/font-stretch
2036
+ */ "font-stretch": [
2037
+ {
2038
+ "font-stretch": [
2039
+ "ultra-condensed",
2040
+ "extra-condensed",
2041
+ "condensed",
2042
+ "semi-condensed",
2043
+ "normal",
2044
+ "semi-expanded",
2045
+ "expanded",
2046
+ "extra-expanded",
2047
+ "ultra-expanded",
2048
+ isPercent,
2049
+ isArbitraryValue
2050
+ ]
2051
+ }
2052
+ ],
2053
+ /**
2054
+ * Font Family
2055
+ * @see https://tailwindcss.com/docs/font-family
2056
+ */ "font-family": [
2057
+ {
2058
+ font: [
2059
+ isArbitraryVariableFamilyName,
2060
+ isArbitraryValue,
2061
+ themeFont
2062
+ ]
2063
+ }
2064
+ ],
2065
+ /**
2066
+ * Font Variant Numeric
2067
+ * @see https://tailwindcss.com/docs/font-variant-numeric
2068
+ */ "fvn-normal": [
2069
+ "normal-nums"
2070
+ ],
2071
+ /**
2072
+ * Font Variant Numeric
2073
+ * @see https://tailwindcss.com/docs/font-variant-numeric
2074
+ */ "fvn-ordinal": [
2075
+ "ordinal"
2076
+ ],
2077
+ /**
2078
+ * Font Variant Numeric
2079
+ * @see https://tailwindcss.com/docs/font-variant-numeric
2080
+ */ "fvn-slashed-zero": [
2081
+ "slashed-zero"
2082
+ ],
2083
+ /**
2084
+ * Font Variant Numeric
2085
+ * @see https://tailwindcss.com/docs/font-variant-numeric
2086
+ */ "fvn-figure": [
2087
+ "lining-nums",
2088
+ "oldstyle-nums"
2089
+ ],
2090
+ /**
2091
+ * Font Variant Numeric
2092
+ * @see https://tailwindcss.com/docs/font-variant-numeric
2093
+ */ "fvn-spacing": [
2094
+ "proportional-nums",
2095
+ "tabular-nums"
2096
+ ],
2097
+ /**
2098
+ * Font Variant Numeric
2099
+ * @see https://tailwindcss.com/docs/font-variant-numeric
2100
+ */ "fvn-fraction": [
2101
+ "diagonal-fractions",
2102
+ "stacked-fractions"
2103
+ ],
2104
+ /**
2105
+ * Letter Spacing
2106
+ * @see https://tailwindcss.com/docs/letter-spacing
2107
+ */ tracking: [
2108
+ {
2109
+ tracking: [
2110
+ themeTracking,
2111
+ isArbitraryVariable,
2112
+ isArbitraryValue
2113
+ ]
2114
+ }
2115
+ ],
2116
+ /**
2117
+ * Line Clamp
2118
+ * @see https://tailwindcss.com/docs/line-clamp
2119
+ */ "line-clamp": [
2120
+ {
2121
+ "line-clamp": [
2122
+ isNumber,
2123
+ "none",
2124
+ isArbitraryVariable,
2125
+ isArbitraryNumber
2126
+ ]
2127
+ }
2128
+ ],
2129
+ /**
2130
+ * Line Height
2131
+ * @see https://tailwindcss.com/docs/line-height
2132
+ */ leading: [
2133
+ {
2134
+ leading: [
2135
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */ themeLeading
2136
+ ].concat(_to_consumable_array(scaleUnambiguousSpacing()))
2137
+ }
2138
+ ],
2139
+ /**
2140
+ * List Style Image
2141
+ * @see https://tailwindcss.com/docs/list-style-image
2142
+ */ "list-image": [
2143
+ {
2144
+ "list-image": [
2145
+ "none",
2146
+ isArbitraryVariable,
2147
+ isArbitraryValue
2148
+ ]
2149
+ }
2150
+ ],
2151
+ /**
2152
+ * List Style Position
2153
+ * @see https://tailwindcss.com/docs/list-style-position
2154
+ */ "list-style-position": [
2155
+ {
2156
+ list: [
2157
+ "inside",
2158
+ "outside"
2159
+ ]
2160
+ }
2161
+ ],
2162
+ /**
2163
+ * List Style Type
2164
+ * @see https://tailwindcss.com/docs/list-style-type
2165
+ */ "list-style-type": [
2166
+ {
2167
+ list: [
2168
+ "disc",
2169
+ "decimal",
2170
+ "none",
2171
+ isArbitraryVariable,
2172
+ isArbitraryValue
2173
+ ]
2174
+ }
2175
+ ],
2176
+ /**
2177
+ * Text Alignment
2178
+ * @see https://tailwindcss.com/docs/text-align
2179
+ */ "text-alignment": [
2180
+ {
2181
+ text: [
2182
+ "left",
2183
+ "center",
2184
+ "right",
2185
+ "justify",
2186
+ "start",
2187
+ "end"
2188
+ ]
2189
+ }
2190
+ ],
2191
+ /**
2192
+ * Placeholder Color
2193
+ * @deprecated since Tailwind CSS v3.0.0
2194
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
2195
+ */ "placeholder-color": [
2196
+ {
2197
+ placeholder: scaleColor()
2198
+ }
2199
+ ],
2200
+ /**
2201
+ * Text Color
2202
+ * @see https://tailwindcss.com/docs/text-color
2203
+ */ "text-color": [
2204
+ {
2205
+ text: scaleColor()
2206
+ }
2207
+ ],
2208
+ /**
2209
+ * Text Decoration
2210
+ * @see https://tailwindcss.com/docs/text-decoration
2211
+ */ "text-decoration": [
2212
+ "underline",
2213
+ "overline",
2214
+ "line-through",
2215
+ "no-underline"
2216
+ ],
2217
+ /**
2218
+ * Text Decoration Style
2219
+ * @see https://tailwindcss.com/docs/text-decoration-style
2220
+ */ "text-decoration-style": [
2221
+ {
2222
+ decoration: _to_consumable_array(scaleLineStyle()).concat([
2223
+ "wavy"
2224
+ ])
2225
+ }
2226
+ ],
2227
+ /**
2228
+ * Text Decoration Thickness
2229
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
2230
+ */ "text-decoration-thickness": [
2231
+ {
2232
+ decoration: [
2233
+ isNumber,
2234
+ "from-font",
2235
+ "auto",
2236
+ isArbitraryVariable,
2237
+ isArbitraryLength
2238
+ ]
2239
+ }
2240
+ ],
2241
+ /**
2242
+ * Text Decoration Color
2243
+ * @see https://tailwindcss.com/docs/text-decoration-color
2244
+ */ "text-decoration-color": [
2245
+ {
2246
+ decoration: scaleColor()
2247
+ }
2248
+ ],
2249
+ /**
2250
+ * Text Underline Offset
2251
+ * @see https://tailwindcss.com/docs/text-underline-offset
2252
+ */ "underline-offset": [
2253
+ {
2254
+ "underline-offset": [
2255
+ isNumber,
2256
+ "auto",
2257
+ isArbitraryVariable,
2258
+ isArbitraryValue
2259
+ ]
2260
+ }
2261
+ ],
2262
+ /**
2263
+ * Text Transform
2264
+ * @see https://tailwindcss.com/docs/text-transform
2265
+ */ "text-transform": [
2266
+ "uppercase",
2267
+ "lowercase",
2268
+ "capitalize",
2269
+ "normal-case"
2270
+ ],
2271
+ /**
2272
+ * Text Overflow
2273
+ * @see https://tailwindcss.com/docs/text-overflow
2274
+ */ "text-overflow": [
2275
+ "truncate",
2276
+ "text-ellipsis",
2277
+ "text-clip"
2278
+ ],
2279
+ /**
2280
+ * Text Wrap
2281
+ * @see https://tailwindcss.com/docs/text-wrap
2282
+ */ "text-wrap": [
2283
+ {
2284
+ text: [
2285
+ "wrap",
2286
+ "nowrap",
2287
+ "balance",
2288
+ "pretty"
2289
+ ]
2290
+ }
2291
+ ],
2292
+ /**
2293
+ * Text Indent
2294
+ * @see https://tailwindcss.com/docs/text-indent
2295
+ */ indent: [
2296
+ {
2297
+ indent: scaleUnambiguousSpacing()
2298
+ }
2299
+ ],
2300
+ /**
2301
+ * Vertical Alignment
2302
+ * @see https://tailwindcss.com/docs/vertical-align
2303
+ */ "vertical-align": [
2304
+ {
2305
+ align: [
2306
+ "baseline",
2307
+ "top",
2308
+ "middle",
2309
+ "bottom",
2310
+ "text-top",
2311
+ "text-bottom",
2312
+ "sub",
2313
+ "super",
2314
+ isArbitraryVariable,
2315
+ isArbitraryValue
2316
+ ]
2317
+ }
2318
+ ],
2319
+ /**
2320
+ * Whitespace
2321
+ * @see https://tailwindcss.com/docs/whitespace
2322
+ */ whitespace: [
2323
+ {
2324
+ whitespace: [
2325
+ "normal",
2326
+ "nowrap",
2327
+ "pre",
2328
+ "pre-line",
2329
+ "pre-wrap",
2330
+ "break-spaces"
2331
+ ]
2332
+ }
2333
+ ],
2334
+ /**
2335
+ * Word Break
2336
+ * @see https://tailwindcss.com/docs/word-break
2337
+ */ break: [
2338
+ {
2339
+ break: [
2340
+ "normal",
2341
+ "words",
2342
+ "all",
2343
+ "keep"
2344
+ ]
2345
+ }
2346
+ ],
2347
+ /**
2348
+ * Overflow Wrap
2349
+ * @see https://tailwindcss.com/docs/overflow-wrap
2350
+ */ wrap: [
2351
+ {
2352
+ wrap: [
2353
+ "break-word",
2354
+ "anywhere",
2355
+ "normal"
2356
+ ]
2357
+ }
2358
+ ],
2359
+ /**
2360
+ * Hyphens
2361
+ * @see https://tailwindcss.com/docs/hyphens
2362
+ */ hyphens: [
2363
+ {
2364
+ hyphens: [
2365
+ "none",
2366
+ "manual",
2367
+ "auto"
2368
+ ]
2369
+ }
2370
+ ],
2371
+ /**
2372
+ * Content
2373
+ * @see https://tailwindcss.com/docs/content
2374
+ */ content: [
2375
+ {
2376
+ content: [
2377
+ "none",
2378
+ isArbitraryVariable,
2379
+ isArbitraryValue
2380
+ ]
2381
+ }
2382
+ ],
2383
+ // -------------------
2384
+ // --- Backgrounds ---
2385
+ // -------------------
2386
+ /**
2387
+ * Background Attachment
2388
+ * @see https://tailwindcss.com/docs/background-attachment
2389
+ */ "bg-attachment": [
2390
+ {
2391
+ bg: [
2392
+ "fixed",
2393
+ "local",
2394
+ "scroll"
2395
+ ]
2396
+ }
2397
+ ],
2398
+ /**
2399
+ * Background Clip
2400
+ * @see https://tailwindcss.com/docs/background-clip
2401
+ */ "bg-clip": [
2402
+ {
2403
+ "bg-clip": [
2404
+ "border",
2405
+ "padding",
2406
+ "content",
2407
+ "text"
2408
+ ]
2409
+ }
2410
+ ],
2411
+ /**
2412
+ * Background Origin
2413
+ * @see https://tailwindcss.com/docs/background-origin
2414
+ */ "bg-origin": [
2415
+ {
2416
+ "bg-origin": [
2417
+ "border",
2418
+ "padding",
2419
+ "content"
2420
+ ]
2421
+ }
2422
+ ],
2423
+ /**
2424
+ * Background Position
2425
+ * @see https://tailwindcss.com/docs/background-position
2426
+ */ "bg-position": [
2427
+ {
2428
+ bg: scaleBgPosition()
2429
+ }
2430
+ ],
2431
+ /**
2432
+ * Background Repeat
2433
+ * @see https://tailwindcss.com/docs/background-repeat
2434
+ */ "bg-repeat": [
2435
+ {
2436
+ bg: scaleBgRepeat()
2437
+ }
2438
+ ],
2439
+ /**
2440
+ * Background Size
2441
+ * @see https://tailwindcss.com/docs/background-size
2442
+ */ "bg-size": [
2443
+ {
2444
+ bg: scaleBgSize()
2445
+ }
2446
+ ],
2447
+ /**
2448
+ * Background Image
2449
+ * @see https://tailwindcss.com/docs/background-image
2450
+ */ "bg-image": [
2451
+ {
2452
+ bg: [
2453
+ "none",
2454
+ {
2455
+ linear: [
2456
+ {
2457
+ to: [
2458
+ "t",
2459
+ "tr",
2460
+ "r",
2461
+ "br",
2462
+ "b",
2463
+ "bl",
2464
+ "l",
2465
+ "tl"
2466
+ ]
2467
+ },
2468
+ isInteger,
2469
+ isArbitraryVariable,
2470
+ isArbitraryValue
2471
+ ],
2472
+ radial: [
2473
+ "",
2474
+ isArbitraryVariable,
2475
+ isArbitraryValue
2476
+ ],
2477
+ conic: [
2478
+ isInteger,
2479
+ isArbitraryVariable,
2480
+ isArbitraryValue
2481
+ ]
2482
+ },
2483
+ isArbitraryVariableImage,
2484
+ isArbitraryImage
2485
+ ]
2486
+ }
2487
+ ],
2488
+ /**
2489
+ * Background Color
2490
+ * @see https://tailwindcss.com/docs/background-color
2491
+ */ "bg-color": [
2492
+ {
2493
+ bg: scaleColor()
2494
+ }
2495
+ ],
2496
+ /**
2497
+ * Gradient Color Stops From Position
2498
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2499
+ */ "gradient-from-pos": [
2500
+ {
2501
+ from: scaleGradientStopPosition()
2502
+ }
2503
+ ],
2504
+ /**
2505
+ * Gradient Color Stops Via Position
2506
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2507
+ */ "gradient-via-pos": [
2508
+ {
2509
+ via: scaleGradientStopPosition()
2510
+ }
2511
+ ],
2512
+ /**
2513
+ * Gradient Color Stops To Position
2514
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2515
+ */ "gradient-to-pos": [
2516
+ {
2517
+ to: scaleGradientStopPosition()
2518
+ }
2519
+ ],
2520
+ /**
2521
+ * Gradient Color Stops From
2522
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2523
+ */ "gradient-from": [
2524
+ {
2525
+ from: scaleColor()
2526
+ }
2527
+ ],
2528
+ /**
2529
+ * Gradient Color Stops Via
2530
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2531
+ */ "gradient-via": [
2532
+ {
2533
+ via: scaleColor()
2534
+ }
2535
+ ],
2536
+ /**
2537
+ * Gradient Color Stops To
2538
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2539
+ */ "gradient-to": [
2540
+ {
2541
+ to: scaleColor()
2542
+ }
2543
+ ],
2544
+ // ---------------
2545
+ // --- Borders ---
2546
+ // ---------------
2547
+ /**
2548
+ * Border Radius
2549
+ * @see https://tailwindcss.com/docs/border-radius
2550
+ */ rounded: [
2551
+ {
2552
+ rounded: scaleRadius()
2553
+ }
2554
+ ],
2555
+ /**
2556
+ * Border Radius Start
2557
+ * @see https://tailwindcss.com/docs/border-radius
2558
+ */ "rounded-s": [
2559
+ {
2560
+ "rounded-s": scaleRadius()
2561
+ }
2562
+ ],
2563
+ /**
2564
+ * Border Radius End
2565
+ * @see https://tailwindcss.com/docs/border-radius
2566
+ */ "rounded-e": [
2567
+ {
2568
+ "rounded-e": scaleRadius()
2569
+ }
2570
+ ],
2571
+ /**
2572
+ * Border Radius Top
2573
+ * @see https://tailwindcss.com/docs/border-radius
2574
+ */ "rounded-t": [
2575
+ {
2576
+ "rounded-t": scaleRadius()
2577
+ }
2578
+ ],
2579
+ /**
2580
+ * Border Radius Right
2581
+ * @see https://tailwindcss.com/docs/border-radius
2582
+ */ "rounded-r": [
2583
+ {
2584
+ "rounded-r": scaleRadius()
2585
+ }
2586
+ ],
2587
+ /**
2588
+ * Border Radius Bottom
2589
+ * @see https://tailwindcss.com/docs/border-radius
2590
+ */ "rounded-b": [
2591
+ {
2592
+ "rounded-b": scaleRadius()
2593
+ }
2594
+ ],
2595
+ /**
2596
+ * Border Radius Left
2597
+ * @see https://tailwindcss.com/docs/border-radius
2598
+ */ "rounded-l": [
2599
+ {
2600
+ "rounded-l": scaleRadius()
2601
+ }
2602
+ ],
2603
+ /**
2604
+ * Border Radius Start Start
2605
+ * @see https://tailwindcss.com/docs/border-radius
2606
+ */ "rounded-ss": [
2607
+ {
2608
+ "rounded-ss": scaleRadius()
2609
+ }
2610
+ ],
2611
+ /**
2612
+ * Border Radius Start End
2613
+ * @see https://tailwindcss.com/docs/border-radius
2614
+ */ "rounded-se": [
2615
+ {
2616
+ "rounded-se": scaleRadius()
2617
+ }
2618
+ ],
2619
+ /**
2620
+ * Border Radius End End
2621
+ * @see https://tailwindcss.com/docs/border-radius
2622
+ */ "rounded-ee": [
2623
+ {
2624
+ "rounded-ee": scaleRadius()
2625
+ }
2626
+ ],
2627
+ /**
2628
+ * Border Radius End Start
2629
+ * @see https://tailwindcss.com/docs/border-radius
2630
+ */ "rounded-es": [
2631
+ {
2632
+ "rounded-es": scaleRadius()
2633
+ }
2634
+ ],
2635
+ /**
2636
+ * Border Radius Top Left
2637
+ * @see https://tailwindcss.com/docs/border-radius
2638
+ */ "rounded-tl": [
2639
+ {
2640
+ "rounded-tl": scaleRadius()
2641
+ }
2642
+ ],
2643
+ /**
2644
+ * Border Radius Top Right
2645
+ * @see https://tailwindcss.com/docs/border-radius
2646
+ */ "rounded-tr": [
2647
+ {
2648
+ "rounded-tr": scaleRadius()
2649
+ }
2650
+ ],
2651
+ /**
2652
+ * Border Radius Bottom Right
2653
+ * @see https://tailwindcss.com/docs/border-radius
2654
+ */ "rounded-br": [
2655
+ {
2656
+ "rounded-br": scaleRadius()
2657
+ }
2658
+ ],
2659
+ /**
2660
+ * Border Radius Bottom Left
2661
+ * @see https://tailwindcss.com/docs/border-radius
2662
+ */ "rounded-bl": [
2663
+ {
2664
+ "rounded-bl": scaleRadius()
2665
+ }
2666
+ ],
2667
+ /**
2668
+ * Border Width
2669
+ * @see https://tailwindcss.com/docs/border-width
2670
+ */ "border-w": [
2671
+ {
2672
+ border: scaleBorderWidth()
2673
+ }
2674
+ ],
2675
+ /**
2676
+ * Border Width X
2677
+ * @see https://tailwindcss.com/docs/border-width
2678
+ */ "border-w-x": [
2679
+ {
2680
+ "border-x": scaleBorderWidth()
2681
+ }
2682
+ ],
2683
+ /**
2684
+ * Border Width Y
2685
+ * @see https://tailwindcss.com/docs/border-width
2686
+ */ "border-w-y": [
2687
+ {
2688
+ "border-y": scaleBorderWidth()
2689
+ }
2690
+ ],
2691
+ /**
2692
+ * Border Width Start
2693
+ * @see https://tailwindcss.com/docs/border-width
2694
+ */ "border-w-s": [
2695
+ {
2696
+ "border-s": scaleBorderWidth()
2697
+ }
2698
+ ],
2699
+ /**
2700
+ * Border Width End
2701
+ * @see https://tailwindcss.com/docs/border-width
2702
+ */ "border-w-e": [
2703
+ {
2704
+ "border-e": scaleBorderWidth()
2705
+ }
2706
+ ],
2707
+ /**
2708
+ * Border Width Top
2709
+ * @see https://tailwindcss.com/docs/border-width
2710
+ */ "border-w-t": [
2711
+ {
2712
+ "border-t": scaleBorderWidth()
2713
+ }
2714
+ ],
2715
+ /**
2716
+ * Border Width Right
2717
+ * @see https://tailwindcss.com/docs/border-width
2718
+ */ "border-w-r": [
2719
+ {
2720
+ "border-r": scaleBorderWidth()
2721
+ }
2722
+ ],
2723
+ /**
2724
+ * Border Width Bottom
2725
+ * @see https://tailwindcss.com/docs/border-width
2726
+ */ "border-w-b": [
2727
+ {
2728
+ "border-b": scaleBorderWidth()
2729
+ }
2730
+ ],
2731
+ /**
2732
+ * Border Width Left
2733
+ * @see https://tailwindcss.com/docs/border-width
2734
+ */ "border-w-l": [
2735
+ {
2736
+ "border-l": scaleBorderWidth()
2737
+ }
2738
+ ],
2739
+ /**
2740
+ * Divide Width X
2741
+ * @see https://tailwindcss.com/docs/border-width#between-children
2742
+ */ "divide-x": [
2743
+ {
2744
+ "divide-x": scaleBorderWidth()
2745
+ }
2746
+ ],
2747
+ /**
2748
+ * Divide Width X Reverse
2749
+ * @see https://tailwindcss.com/docs/border-width#between-children
2750
+ */ "divide-x-reverse": [
2751
+ "divide-x-reverse"
2752
+ ],
2753
+ /**
2754
+ * Divide Width Y
2755
+ * @see https://tailwindcss.com/docs/border-width#between-children
2756
+ */ "divide-y": [
2757
+ {
2758
+ "divide-y": scaleBorderWidth()
2759
+ }
2760
+ ],
2761
+ /**
2762
+ * Divide Width Y Reverse
2763
+ * @see https://tailwindcss.com/docs/border-width#between-children
2764
+ */ "divide-y-reverse": [
2765
+ "divide-y-reverse"
2766
+ ],
2767
+ /**
2768
+ * Border Style
2769
+ * @see https://tailwindcss.com/docs/border-style
2770
+ */ "border-style": [
2771
+ {
2772
+ border: _to_consumable_array(scaleLineStyle()).concat([
2773
+ "hidden",
2774
+ "none"
2775
+ ])
2776
+ }
2777
+ ],
2778
+ /**
2779
+ * Divide Style
2780
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2781
+ */ "divide-style": [
2782
+ {
2783
+ divide: _to_consumable_array(scaleLineStyle()).concat([
2784
+ "hidden",
2785
+ "none"
2786
+ ])
2787
+ }
2788
+ ],
2789
+ /**
2790
+ * Border Color
2791
+ * @see https://tailwindcss.com/docs/border-color
2792
+ */ "border-color": [
2793
+ {
2794
+ border: scaleColor()
2795
+ }
2796
+ ],
2797
+ /**
2798
+ * Border Color X
2799
+ * @see https://tailwindcss.com/docs/border-color
2800
+ */ "border-color-x": [
2801
+ {
2802
+ "border-x": scaleColor()
2803
+ }
2804
+ ],
2805
+ /**
2806
+ * Border Color Y
2807
+ * @see https://tailwindcss.com/docs/border-color
2808
+ */ "border-color-y": [
2809
+ {
2810
+ "border-y": scaleColor()
2811
+ }
2812
+ ],
2813
+ /**
2814
+ * Border Color S
2815
+ * @see https://tailwindcss.com/docs/border-color
2816
+ */ "border-color-s": [
2817
+ {
2818
+ "border-s": scaleColor()
2819
+ }
2820
+ ],
2821
+ /**
2822
+ * Border Color E
2823
+ * @see https://tailwindcss.com/docs/border-color
2824
+ */ "border-color-e": [
2825
+ {
2826
+ "border-e": scaleColor()
2827
+ }
2828
+ ],
2829
+ /**
2830
+ * Border Color Top
2831
+ * @see https://tailwindcss.com/docs/border-color
2832
+ */ "border-color-t": [
2833
+ {
2834
+ "border-t": scaleColor()
2835
+ }
2836
+ ],
2837
+ /**
2838
+ * Border Color Right
2839
+ * @see https://tailwindcss.com/docs/border-color
2840
+ */ "border-color-r": [
2841
+ {
2842
+ "border-r": scaleColor()
2843
+ }
2844
+ ],
2845
+ /**
2846
+ * Border Color Bottom
2847
+ * @see https://tailwindcss.com/docs/border-color
2848
+ */ "border-color-b": [
2849
+ {
2850
+ "border-b": scaleColor()
2851
+ }
2852
+ ],
2853
+ /**
2854
+ * Border Color Left
2855
+ * @see https://tailwindcss.com/docs/border-color
2856
+ */ "border-color-l": [
2857
+ {
2858
+ "border-l": scaleColor()
2859
+ }
2860
+ ],
2861
+ /**
2862
+ * Divide Color
2863
+ * @see https://tailwindcss.com/docs/divide-color
2864
+ */ "divide-color": [
2865
+ {
2866
+ divide: scaleColor()
2867
+ }
2868
+ ],
2869
+ /**
2870
+ * Outline Style
2871
+ * @see https://tailwindcss.com/docs/outline-style
2872
+ */ "outline-style": [
2873
+ {
2874
+ outline: _to_consumable_array(scaleLineStyle()).concat([
2875
+ "none",
2876
+ "hidden"
2877
+ ])
2878
+ }
2879
+ ],
2880
+ /**
2881
+ * Outline Offset
2882
+ * @see https://tailwindcss.com/docs/outline-offset
2883
+ */ "outline-offset": [
2884
+ {
2885
+ "outline-offset": [
2886
+ isNumber,
2887
+ isArbitraryVariable,
2888
+ isArbitraryValue
2889
+ ]
2890
+ }
2891
+ ],
2892
+ /**
2893
+ * Outline Width
2894
+ * @see https://tailwindcss.com/docs/outline-width
2895
+ */ "outline-w": [
2896
+ {
2897
+ outline: [
2898
+ "",
2899
+ isNumber,
2900
+ isArbitraryVariableLength,
2901
+ isArbitraryLength
2902
+ ]
2903
+ }
2904
+ ],
2905
+ /**
2906
+ * Outline Color
2907
+ * @see https://tailwindcss.com/docs/outline-color
2908
+ */ "outline-color": [
2909
+ {
2910
+ outline: scaleColor()
2911
+ }
2912
+ ],
2913
+ // ---------------
2914
+ // --- Effects ---
2915
+ // ---------------
2916
+ /**
2917
+ * Box Shadow
2918
+ * @see https://tailwindcss.com/docs/box-shadow
2919
+ */ shadow: [
2920
+ {
2921
+ shadow: [
2922
+ // Deprecated since Tailwind CSS v4.0.0
2923
+ "",
2924
+ "none",
2925
+ themeShadow,
2926
+ isArbitraryVariableShadow,
2927
+ isArbitraryShadow
2928
+ ]
2929
+ }
2930
+ ],
2931
+ /**
2932
+ * Box Shadow Color
2933
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2934
+ */ "shadow-color": [
2935
+ {
2936
+ shadow: scaleColor()
2937
+ }
2938
+ ],
2939
+ /**
2940
+ * Inset Box Shadow
2941
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2942
+ */ "inset-shadow": [
2943
+ {
2944
+ "inset-shadow": [
2945
+ "none",
2946
+ themeInsetShadow,
2947
+ isArbitraryVariableShadow,
2948
+ isArbitraryShadow
2949
+ ]
2950
+ }
2951
+ ],
2952
+ /**
2953
+ * Inset Box Shadow Color
2954
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2955
+ */ "inset-shadow-color": [
2956
+ {
2957
+ "inset-shadow": scaleColor()
2958
+ }
2959
+ ],
2960
+ /**
2961
+ * Ring Width
2962
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2963
+ */ "ring-w": [
2964
+ {
2965
+ ring: scaleBorderWidth()
2966
+ }
2967
+ ],
2968
+ /**
2969
+ * Ring Width Inset
2970
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2971
+ * @deprecated since Tailwind CSS v4.0.0
2972
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2973
+ */ "ring-w-inset": [
2974
+ "ring-inset"
2975
+ ],
2976
+ /**
2977
+ * Ring Color
2978
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2979
+ */ "ring-color": [
2980
+ {
2981
+ ring: scaleColor()
2982
+ }
2983
+ ],
2984
+ /**
2985
+ * Ring Offset Width
2986
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
2987
+ * @deprecated since Tailwind CSS v4.0.0
2988
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2989
+ */ "ring-offset-w": [
2990
+ {
2991
+ "ring-offset": [
2992
+ isNumber,
2993
+ isArbitraryLength
2994
+ ]
2995
+ }
2996
+ ],
2997
+ /**
2998
+ * Ring Offset Color
2999
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
3000
+ * @deprecated since Tailwind CSS v4.0.0
3001
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
3002
+ */ "ring-offset-color": [
3003
+ {
3004
+ "ring-offset": scaleColor()
3005
+ }
3006
+ ],
3007
+ /**
3008
+ * Inset Ring Width
3009
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
3010
+ */ "inset-ring-w": [
3011
+ {
3012
+ "inset-ring": scaleBorderWidth()
3013
+ }
3014
+ ],
3015
+ /**
3016
+ * Inset Ring Color
3017
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
3018
+ */ "inset-ring-color": [
3019
+ {
3020
+ "inset-ring": scaleColor()
3021
+ }
3022
+ ],
3023
+ /**
3024
+ * Text Shadow
3025
+ * @see https://tailwindcss.com/docs/text-shadow
3026
+ */ "text-shadow": [
3027
+ {
3028
+ "text-shadow": [
3029
+ "none",
3030
+ themeTextShadow,
3031
+ isArbitraryVariableShadow,
3032
+ isArbitraryShadow
3033
+ ]
3034
+ }
3035
+ ],
3036
+ /**
3037
+ * Text Shadow Color
3038
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
3039
+ */ "text-shadow-color": [
3040
+ {
3041
+ "text-shadow": scaleColor()
3042
+ }
3043
+ ],
3044
+ /**
3045
+ * Opacity
3046
+ * @see https://tailwindcss.com/docs/opacity
3047
+ */ opacity: [
3048
+ {
3049
+ opacity: [
3050
+ isNumber,
3051
+ isArbitraryVariable,
3052
+ isArbitraryValue
3053
+ ]
3054
+ }
3055
+ ],
3056
+ /**
3057
+ * Mix Blend Mode
3058
+ * @see https://tailwindcss.com/docs/mix-blend-mode
3059
+ */ "mix-blend": [
3060
+ {
3061
+ "mix-blend": _to_consumable_array(scaleBlendMode()).concat([
3062
+ "plus-darker",
3063
+ "plus-lighter"
3064
+ ])
3065
+ }
3066
+ ],
3067
+ /**
3068
+ * Background Blend Mode
3069
+ * @see https://tailwindcss.com/docs/background-blend-mode
3070
+ */ "bg-blend": [
3071
+ {
3072
+ "bg-blend": scaleBlendMode()
3073
+ }
3074
+ ],
3075
+ /**
3076
+ * Mask Clip
3077
+ * @see https://tailwindcss.com/docs/mask-clip
3078
+ */ "mask-clip": [
3079
+ {
3080
+ "mask-clip": [
3081
+ "border",
3082
+ "padding",
3083
+ "content",
3084
+ "fill",
3085
+ "stroke",
3086
+ "view"
3087
+ ]
3088
+ },
3089
+ "mask-no-clip"
3090
+ ],
3091
+ /**
3092
+ * Mask Composite
3093
+ * @see https://tailwindcss.com/docs/mask-composite
3094
+ */ "mask-composite": [
3095
+ {
3096
+ mask: [
3097
+ "add",
3098
+ "subtract",
3099
+ "intersect",
3100
+ "exclude"
3101
+ ]
3102
+ }
3103
+ ],
3104
+ /**
3105
+ * Mask Image
3106
+ * @see https://tailwindcss.com/docs/mask-image
3107
+ */ "mask-image-linear-pos": [
3108
+ {
3109
+ "mask-linear": [
3110
+ isNumber
3111
+ ]
3112
+ }
3113
+ ],
3114
+ "mask-image-linear-from-pos": [
3115
+ {
3116
+ "mask-linear-from": scaleMaskImagePosition()
3117
+ }
3118
+ ],
3119
+ "mask-image-linear-to-pos": [
3120
+ {
3121
+ "mask-linear-to": scaleMaskImagePosition()
3122
+ }
3123
+ ],
3124
+ "mask-image-linear-from-color": [
3125
+ {
3126
+ "mask-linear-from": scaleColor()
3127
+ }
3128
+ ],
3129
+ "mask-image-linear-to-color": [
3130
+ {
3131
+ "mask-linear-to": scaleColor()
3132
+ }
3133
+ ],
3134
+ "mask-image-t-from-pos": [
3135
+ {
3136
+ "mask-t-from": scaleMaskImagePosition()
3137
+ }
3138
+ ],
3139
+ "mask-image-t-to-pos": [
3140
+ {
3141
+ "mask-t-to": scaleMaskImagePosition()
3142
+ }
3143
+ ],
3144
+ "mask-image-t-from-color": [
3145
+ {
3146
+ "mask-t-from": scaleColor()
3147
+ }
3148
+ ],
3149
+ "mask-image-t-to-color": [
3150
+ {
3151
+ "mask-t-to": scaleColor()
3152
+ }
3153
+ ],
3154
+ "mask-image-r-from-pos": [
3155
+ {
3156
+ "mask-r-from": scaleMaskImagePosition()
3157
+ }
3158
+ ],
3159
+ "mask-image-r-to-pos": [
3160
+ {
3161
+ "mask-r-to": scaleMaskImagePosition()
3162
+ }
3163
+ ],
3164
+ "mask-image-r-from-color": [
3165
+ {
3166
+ "mask-r-from": scaleColor()
3167
+ }
3168
+ ],
3169
+ "mask-image-r-to-color": [
3170
+ {
3171
+ "mask-r-to": scaleColor()
3172
+ }
3173
+ ],
3174
+ "mask-image-b-from-pos": [
3175
+ {
3176
+ "mask-b-from": scaleMaskImagePosition()
3177
+ }
3178
+ ],
3179
+ "mask-image-b-to-pos": [
3180
+ {
3181
+ "mask-b-to": scaleMaskImagePosition()
3182
+ }
3183
+ ],
3184
+ "mask-image-b-from-color": [
3185
+ {
3186
+ "mask-b-from": scaleColor()
3187
+ }
3188
+ ],
3189
+ "mask-image-b-to-color": [
3190
+ {
3191
+ "mask-b-to": scaleColor()
3192
+ }
3193
+ ],
3194
+ "mask-image-l-from-pos": [
3195
+ {
3196
+ "mask-l-from": scaleMaskImagePosition()
3197
+ }
3198
+ ],
3199
+ "mask-image-l-to-pos": [
3200
+ {
3201
+ "mask-l-to": scaleMaskImagePosition()
3202
+ }
3203
+ ],
3204
+ "mask-image-l-from-color": [
3205
+ {
3206
+ "mask-l-from": scaleColor()
3207
+ }
3208
+ ],
3209
+ "mask-image-l-to-color": [
3210
+ {
3211
+ "mask-l-to": scaleColor()
3212
+ }
3213
+ ],
3214
+ "mask-image-x-from-pos": [
3215
+ {
3216
+ "mask-x-from": scaleMaskImagePosition()
3217
+ }
3218
+ ],
3219
+ "mask-image-x-to-pos": [
3220
+ {
3221
+ "mask-x-to": scaleMaskImagePosition()
3222
+ }
3223
+ ],
3224
+ "mask-image-x-from-color": [
3225
+ {
3226
+ "mask-x-from": scaleColor()
3227
+ }
3228
+ ],
3229
+ "mask-image-x-to-color": [
3230
+ {
3231
+ "mask-x-to": scaleColor()
3232
+ }
3233
+ ],
3234
+ "mask-image-y-from-pos": [
3235
+ {
3236
+ "mask-y-from": scaleMaskImagePosition()
3237
+ }
3238
+ ],
3239
+ "mask-image-y-to-pos": [
3240
+ {
3241
+ "mask-y-to": scaleMaskImagePosition()
3242
+ }
3243
+ ],
3244
+ "mask-image-y-from-color": [
3245
+ {
3246
+ "mask-y-from": scaleColor()
3247
+ }
3248
+ ],
3249
+ "mask-image-y-to-color": [
3250
+ {
3251
+ "mask-y-to": scaleColor()
3252
+ }
3253
+ ],
3254
+ "mask-image-radial": [
3255
+ {
3256
+ "mask-radial": [
3257
+ isArbitraryVariable,
3258
+ isArbitraryValue
3259
+ ]
3260
+ }
3261
+ ],
3262
+ "mask-image-radial-from-pos": [
3263
+ {
3264
+ "mask-radial-from": scaleMaskImagePosition()
3265
+ }
3266
+ ],
3267
+ "mask-image-radial-to-pos": [
3268
+ {
3269
+ "mask-radial-to": scaleMaskImagePosition()
3270
+ }
3271
+ ],
3272
+ "mask-image-radial-from-color": [
3273
+ {
3274
+ "mask-radial-from": scaleColor()
3275
+ }
3276
+ ],
3277
+ "mask-image-radial-to-color": [
3278
+ {
3279
+ "mask-radial-to": scaleColor()
3280
+ }
3281
+ ],
3282
+ "mask-image-radial-shape": [
3283
+ {
3284
+ "mask-radial": [
3285
+ "circle",
3286
+ "ellipse"
3287
+ ]
3288
+ }
3289
+ ],
3290
+ "mask-image-radial-size": [
3291
+ {
3292
+ "mask-radial": [
3293
+ {
3294
+ closest: [
3295
+ "side",
3296
+ "corner"
3297
+ ],
3298
+ farthest: [
3299
+ "side",
3300
+ "corner"
3301
+ ]
3302
+ }
3303
+ ]
3304
+ }
3305
+ ],
3306
+ "mask-image-radial-pos": [
3307
+ {
3308
+ "mask-radial-at": scalePosition()
3309
+ }
3310
+ ],
3311
+ "mask-image-conic-pos": [
3312
+ {
3313
+ "mask-conic": [
3314
+ isNumber
3315
+ ]
3316
+ }
3317
+ ],
3318
+ "mask-image-conic-from-pos": [
3319
+ {
3320
+ "mask-conic-from": scaleMaskImagePosition()
3321
+ }
3322
+ ],
3323
+ "mask-image-conic-to-pos": [
3324
+ {
3325
+ "mask-conic-to": scaleMaskImagePosition()
3326
+ }
3327
+ ],
3328
+ "mask-image-conic-from-color": [
3329
+ {
3330
+ "mask-conic-from": scaleColor()
3331
+ }
3332
+ ],
3333
+ "mask-image-conic-to-color": [
3334
+ {
3335
+ "mask-conic-to": scaleColor()
3336
+ }
3337
+ ],
3338
+ /**
3339
+ * Mask Mode
3340
+ * @see https://tailwindcss.com/docs/mask-mode
3341
+ */ "mask-mode": [
3342
+ {
3343
+ mask: [
3344
+ "alpha",
3345
+ "luminance",
3346
+ "match"
3347
+ ]
3348
+ }
3349
+ ],
3350
+ /**
3351
+ * Mask Origin
3352
+ * @see https://tailwindcss.com/docs/mask-origin
3353
+ */ "mask-origin": [
3354
+ {
3355
+ "mask-origin": [
3356
+ "border",
3357
+ "padding",
3358
+ "content",
3359
+ "fill",
3360
+ "stroke",
3361
+ "view"
3362
+ ]
3363
+ }
3364
+ ],
3365
+ /**
3366
+ * Mask Position
3367
+ * @see https://tailwindcss.com/docs/mask-position
3368
+ */ "mask-position": [
3369
+ {
3370
+ mask: scaleBgPosition()
3371
+ }
3372
+ ],
3373
+ /**
3374
+ * Mask Repeat
3375
+ * @see https://tailwindcss.com/docs/mask-repeat
3376
+ */ "mask-repeat": [
3377
+ {
3378
+ mask: scaleBgRepeat()
3379
+ }
3380
+ ],
3381
+ /**
3382
+ * Mask Size
3383
+ * @see https://tailwindcss.com/docs/mask-size
3384
+ */ "mask-size": [
3385
+ {
3386
+ mask: scaleBgSize()
3387
+ }
3388
+ ],
3389
+ /**
3390
+ * Mask Type
3391
+ * @see https://tailwindcss.com/docs/mask-type
3392
+ */ "mask-type": [
3393
+ {
3394
+ "mask-type": [
3395
+ "alpha",
3396
+ "luminance"
3397
+ ]
3398
+ }
3399
+ ],
3400
+ /**
3401
+ * Mask Image
3402
+ * @see https://tailwindcss.com/docs/mask-image
3403
+ */ "mask-image": [
3404
+ {
3405
+ mask: [
3406
+ "none",
3407
+ isArbitraryVariable,
3408
+ isArbitraryValue
3409
+ ]
3410
+ }
3411
+ ],
3412
+ // ---------------
3413
+ // --- Filters ---
3414
+ // ---------------
3415
+ /**
3416
+ * Filter
3417
+ * @see https://tailwindcss.com/docs/filter
3418
+ */ filter: [
3419
+ {
3420
+ filter: [
3421
+ // Deprecated since Tailwind CSS v3.0.0
3422
+ "",
3423
+ "none",
3424
+ isArbitraryVariable,
3425
+ isArbitraryValue
3426
+ ]
3427
+ }
3428
+ ],
3429
+ /**
3430
+ * Blur
3431
+ * @see https://tailwindcss.com/docs/blur
3432
+ */ blur: [
3433
+ {
3434
+ blur: scaleBlur()
3435
+ }
3436
+ ],
3437
+ /**
3438
+ * Brightness
3439
+ * @see https://tailwindcss.com/docs/brightness
3440
+ */ brightness: [
3441
+ {
3442
+ brightness: [
3443
+ isNumber,
3444
+ isArbitraryVariable,
3445
+ isArbitraryValue
3446
+ ]
3447
+ }
3448
+ ],
3449
+ /**
3450
+ * Contrast
3451
+ * @see https://tailwindcss.com/docs/contrast
3452
+ */ contrast: [
3453
+ {
3454
+ contrast: [
3455
+ isNumber,
3456
+ isArbitraryVariable,
3457
+ isArbitraryValue
3458
+ ]
3459
+ }
3460
+ ],
3461
+ /**
3462
+ * Drop Shadow
3463
+ * @see https://tailwindcss.com/docs/drop-shadow
3464
+ */ "drop-shadow": [
3465
+ {
3466
+ "drop-shadow": [
3467
+ // Deprecated since Tailwind CSS v4.0.0
3468
+ "",
3469
+ "none",
3470
+ themeDropShadow,
3471
+ isArbitraryVariableShadow,
3472
+ isArbitraryShadow
3473
+ ]
3474
+ }
3475
+ ],
3476
+ /**
3477
+ * Drop Shadow Color
3478
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
3479
+ */ "drop-shadow-color": [
3480
+ {
3481
+ "drop-shadow": scaleColor()
3482
+ }
3483
+ ],
3484
+ /**
3485
+ * Grayscale
3486
+ * @see https://tailwindcss.com/docs/grayscale
3487
+ */ grayscale: [
3488
+ {
3489
+ grayscale: [
3490
+ "",
3491
+ isNumber,
3492
+ isArbitraryVariable,
3493
+ isArbitraryValue
3494
+ ]
3495
+ }
3496
+ ],
3497
+ /**
3498
+ * Hue Rotate
3499
+ * @see https://tailwindcss.com/docs/hue-rotate
3500
+ */ "hue-rotate": [
3501
+ {
3502
+ "hue-rotate": [
3503
+ isNumber,
3504
+ isArbitraryVariable,
3505
+ isArbitraryValue
3506
+ ]
3507
+ }
3508
+ ],
3509
+ /**
3510
+ * Invert
3511
+ * @see https://tailwindcss.com/docs/invert
3512
+ */ invert: [
3513
+ {
3514
+ invert: [
3515
+ "",
3516
+ isNumber,
3517
+ isArbitraryVariable,
3518
+ isArbitraryValue
3519
+ ]
3520
+ }
3521
+ ],
3522
+ /**
3523
+ * Saturate
3524
+ * @see https://tailwindcss.com/docs/saturate
3525
+ */ saturate: [
3526
+ {
3527
+ saturate: [
3528
+ isNumber,
3529
+ isArbitraryVariable,
3530
+ isArbitraryValue
3531
+ ]
3532
+ }
3533
+ ],
3534
+ /**
3535
+ * Sepia
3536
+ * @see https://tailwindcss.com/docs/sepia
3537
+ */ sepia: [
3538
+ {
3539
+ sepia: [
3540
+ "",
3541
+ isNumber,
3542
+ isArbitraryVariable,
3543
+ isArbitraryValue
3544
+ ]
3545
+ }
3546
+ ],
3547
+ /**
3548
+ * Backdrop Filter
3549
+ * @see https://tailwindcss.com/docs/backdrop-filter
3550
+ */ "backdrop-filter": [
3551
+ {
3552
+ "backdrop-filter": [
3553
+ // Deprecated since Tailwind CSS v3.0.0
3554
+ "",
3555
+ "none",
3556
+ isArbitraryVariable,
3557
+ isArbitraryValue
3558
+ ]
3559
+ }
3560
+ ],
3561
+ /**
3562
+ * Backdrop Blur
3563
+ * @see https://tailwindcss.com/docs/backdrop-blur
3564
+ */ "backdrop-blur": [
3565
+ {
3566
+ "backdrop-blur": scaleBlur()
3567
+ }
3568
+ ],
3569
+ /**
3570
+ * Backdrop Brightness
3571
+ * @see https://tailwindcss.com/docs/backdrop-brightness
3572
+ */ "backdrop-brightness": [
3573
+ {
3574
+ "backdrop-brightness": [
3575
+ isNumber,
3576
+ isArbitraryVariable,
3577
+ isArbitraryValue
3578
+ ]
3579
+ }
3580
+ ],
3581
+ /**
3582
+ * Backdrop Contrast
3583
+ * @see https://tailwindcss.com/docs/backdrop-contrast
3584
+ */ "backdrop-contrast": [
3585
+ {
3586
+ "backdrop-contrast": [
3587
+ isNumber,
3588
+ isArbitraryVariable,
3589
+ isArbitraryValue
3590
+ ]
3591
+ }
3592
+ ],
3593
+ /**
3594
+ * Backdrop Grayscale
3595
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
3596
+ */ "backdrop-grayscale": [
3597
+ {
3598
+ "backdrop-grayscale": [
3599
+ "",
3600
+ isNumber,
3601
+ isArbitraryVariable,
3602
+ isArbitraryValue
3603
+ ]
3604
+ }
3605
+ ],
3606
+ /**
3607
+ * Backdrop Hue Rotate
3608
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
3609
+ */ "backdrop-hue-rotate": [
3610
+ {
3611
+ "backdrop-hue-rotate": [
3612
+ isNumber,
3613
+ isArbitraryVariable,
3614
+ isArbitraryValue
3615
+ ]
3616
+ }
3617
+ ],
3618
+ /**
3619
+ * Backdrop Invert
3620
+ * @see https://tailwindcss.com/docs/backdrop-invert
3621
+ */ "backdrop-invert": [
3622
+ {
3623
+ "backdrop-invert": [
3624
+ "",
3625
+ isNumber,
3626
+ isArbitraryVariable,
3627
+ isArbitraryValue
3628
+ ]
3629
+ }
3630
+ ],
3631
+ /**
3632
+ * Backdrop Opacity
3633
+ * @see https://tailwindcss.com/docs/backdrop-opacity
3634
+ */ "backdrop-opacity": [
3635
+ {
3636
+ "backdrop-opacity": [
3637
+ isNumber,
3638
+ isArbitraryVariable,
3639
+ isArbitraryValue
3640
+ ]
3641
+ }
3642
+ ],
3643
+ /**
3644
+ * Backdrop Saturate
3645
+ * @see https://tailwindcss.com/docs/backdrop-saturate
3646
+ */ "backdrop-saturate": [
3647
+ {
3648
+ "backdrop-saturate": [
3649
+ isNumber,
3650
+ isArbitraryVariable,
3651
+ isArbitraryValue
3652
+ ]
3653
+ }
3654
+ ],
3655
+ /**
3656
+ * Backdrop Sepia
3657
+ * @see https://tailwindcss.com/docs/backdrop-sepia
3658
+ */ "backdrop-sepia": [
3659
+ {
3660
+ "backdrop-sepia": [
3661
+ "",
3662
+ isNumber,
3663
+ isArbitraryVariable,
3664
+ isArbitraryValue
3665
+ ]
3666
+ }
3667
+ ],
3668
+ // --------------
3669
+ // --- Tables ---
3670
+ // --------------
3671
+ /**
3672
+ * Border Collapse
3673
+ * @see https://tailwindcss.com/docs/border-collapse
3674
+ */ "border-collapse": [
3675
+ {
3676
+ border: [
3677
+ "collapse",
3678
+ "separate"
3679
+ ]
3680
+ }
3681
+ ],
3682
+ /**
3683
+ * Border Spacing
3684
+ * @see https://tailwindcss.com/docs/border-spacing
3685
+ */ "border-spacing": [
3686
+ {
3687
+ "border-spacing": scaleUnambiguousSpacing()
3688
+ }
3689
+ ],
3690
+ /**
3691
+ * Border Spacing X
3692
+ * @see https://tailwindcss.com/docs/border-spacing
3693
+ */ "border-spacing-x": [
3694
+ {
3695
+ "border-spacing-x": scaleUnambiguousSpacing()
3696
+ }
3697
+ ],
3698
+ /**
3699
+ * Border Spacing Y
3700
+ * @see https://tailwindcss.com/docs/border-spacing
3701
+ */ "border-spacing-y": [
3702
+ {
3703
+ "border-spacing-y": scaleUnambiguousSpacing()
3704
+ }
3705
+ ],
3706
+ /**
3707
+ * Table Layout
3708
+ * @see https://tailwindcss.com/docs/table-layout
3709
+ */ "table-layout": [
3710
+ {
3711
+ table: [
3712
+ "auto",
3713
+ "fixed"
3714
+ ]
3715
+ }
3716
+ ],
3717
+ /**
3718
+ * Caption Side
3719
+ * @see https://tailwindcss.com/docs/caption-side
3720
+ */ caption: [
3721
+ {
3722
+ caption: [
3723
+ "top",
3724
+ "bottom"
3725
+ ]
3726
+ }
3727
+ ],
3728
+ // ---------------------------------
3729
+ // --- Transitions and Animation ---
3730
+ // ---------------------------------
3731
+ /**
3732
+ * Transition Property
3733
+ * @see https://tailwindcss.com/docs/transition-property
3734
+ */ transition: [
3735
+ {
3736
+ transition: [
3737
+ "",
3738
+ "all",
3739
+ "colors",
3740
+ "opacity",
3741
+ "shadow",
3742
+ "transform",
3743
+ "none",
3744
+ isArbitraryVariable,
3745
+ isArbitraryValue
3746
+ ]
3747
+ }
3748
+ ],
3749
+ /**
3750
+ * Transition Behavior
3751
+ * @see https://tailwindcss.com/docs/transition-behavior
3752
+ */ "transition-behavior": [
3753
+ {
3754
+ transition: [
3755
+ "normal",
3756
+ "discrete"
3757
+ ]
3758
+ }
3759
+ ],
3760
+ /**
3761
+ * Transition Duration
3762
+ * @see https://tailwindcss.com/docs/transition-duration
3763
+ */ duration: [
3764
+ {
3765
+ duration: [
3766
+ isNumber,
3767
+ "initial",
3768
+ isArbitraryVariable,
3769
+ isArbitraryValue
3770
+ ]
3771
+ }
3772
+ ],
3773
+ /**
3774
+ * Transition Timing Function
3775
+ * @see https://tailwindcss.com/docs/transition-timing-function
3776
+ */ ease: [
3777
+ {
3778
+ ease: [
3779
+ "linear",
3780
+ "initial",
3781
+ themeEase,
3782
+ isArbitraryVariable,
3783
+ isArbitraryValue
3784
+ ]
3785
+ }
3786
+ ],
3787
+ /**
3788
+ * Transition Delay
3789
+ * @see https://tailwindcss.com/docs/transition-delay
3790
+ */ delay: [
3791
+ {
3792
+ delay: [
3793
+ isNumber,
3794
+ isArbitraryVariable,
3795
+ isArbitraryValue
3796
+ ]
3797
+ }
3798
+ ],
3799
+ /**
3800
+ * Animation
3801
+ * @see https://tailwindcss.com/docs/animation
3802
+ */ animate: [
3803
+ {
3804
+ animate: [
3805
+ "none",
3806
+ themeAnimate,
3807
+ isArbitraryVariable,
3808
+ isArbitraryValue
3809
+ ]
3810
+ }
3811
+ ],
3812
+ // ------------------
3813
+ // --- Transforms ---
3814
+ // ------------------
3815
+ /**
3816
+ * Backface Visibility
3817
+ * @see https://tailwindcss.com/docs/backface-visibility
3818
+ */ backface: [
3819
+ {
3820
+ backface: [
3821
+ "hidden",
3822
+ "visible"
3823
+ ]
3824
+ }
3825
+ ],
3826
+ /**
3827
+ * Perspective
3828
+ * @see https://tailwindcss.com/docs/perspective
3829
+ */ perspective: [
3830
+ {
3831
+ perspective: [
3832
+ themePerspective,
3833
+ isArbitraryVariable,
3834
+ isArbitraryValue
3835
+ ]
3836
+ }
3837
+ ],
3838
+ /**
3839
+ * Perspective Origin
3840
+ * @see https://tailwindcss.com/docs/perspective-origin
3841
+ */ "perspective-origin": [
3842
+ {
3843
+ "perspective-origin": scalePositionWithArbitrary()
3844
+ }
3845
+ ],
3846
+ /**
3847
+ * Rotate
3848
+ * @see https://tailwindcss.com/docs/rotate
3849
+ */ rotate: [
3850
+ {
3851
+ rotate: scaleRotate()
3852
+ }
3853
+ ],
3854
+ /**
3855
+ * Rotate X
3856
+ * @see https://tailwindcss.com/docs/rotate
3857
+ */ "rotate-x": [
3858
+ {
3859
+ "rotate-x": scaleRotate()
3860
+ }
3861
+ ],
3862
+ /**
3863
+ * Rotate Y
3864
+ * @see https://tailwindcss.com/docs/rotate
3865
+ */ "rotate-y": [
3866
+ {
3867
+ "rotate-y": scaleRotate()
3868
+ }
3869
+ ],
3870
+ /**
3871
+ * Rotate Z
3872
+ * @see https://tailwindcss.com/docs/rotate
3873
+ */ "rotate-z": [
3874
+ {
3875
+ "rotate-z": scaleRotate()
3876
+ }
3877
+ ],
3878
+ /**
3879
+ * Scale
3880
+ * @see https://tailwindcss.com/docs/scale
3881
+ */ scale: [
3882
+ {
3883
+ scale: scaleScale()
3884
+ }
3885
+ ],
3886
+ /**
3887
+ * Scale X
3888
+ * @see https://tailwindcss.com/docs/scale
3889
+ */ "scale-x": [
3890
+ {
3891
+ "scale-x": scaleScale()
3892
+ }
3893
+ ],
3894
+ /**
3895
+ * Scale Y
3896
+ * @see https://tailwindcss.com/docs/scale
3897
+ */ "scale-y": [
3898
+ {
3899
+ "scale-y": scaleScale()
3900
+ }
3901
+ ],
3902
+ /**
3903
+ * Scale Z
3904
+ * @see https://tailwindcss.com/docs/scale
3905
+ */ "scale-z": [
3906
+ {
3907
+ "scale-z": scaleScale()
3908
+ }
3909
+ ],
3910
+ /**
3911
+ * Scale 3D
3912
+ * @see https://tailwindcss.com/docs/scale
3913
+ */ "scale-3d": [
3914
+ "scale-3d"
3915
+ ],
3916
+ /**
3917
+ * Skew
3918
+ * @see https://tailwindcss.com/docs/skew
3919
+ */ skew: [
3920
+ {
3921
+ skew: scaleSkew()
3922
+ }
3923
+ ],
3924
+ /**
3925
+ * Skew X
3926
+ * @see https://tailwindcss.com/docs/skew
3927
+ */ "skew-x": [
3928
+ {
3929
+ "skew-x": scaleSkew()
3930
+ }
3931
+ ],
3932
+ /**
3933
+ * Skew Y
3934
+ * @see https://tailwindcss.com/docs/skew
3935
+ */ "skew-y": [
3936
+ {
3937
+ "skew-y": scaleSkew()
3938
+ }
3939
+ ],
3940
+ /**
3941
+ * Transform
3942
+ * @see https://tailwindcss.com/docs/transform
3943
+ */ transform: [
3944
+ {
3945
+ transform: [
3946
+ isArbitraryVariable,
3947
+ isArbitraryValue,
3948
+ "",
3949
+ "none",
3950
+ "gpu",
3951
+ "cpu"
3952
+ ]
3953
+ }
3954
+ ],
3955
+ /**
3956
+ * Transform Origin
3957
+ * @see https://tailwindcss.com/docs/transform-origin
3958
+ */ "transform-origin": [
3959
+ {
3960
+ origin: scalePositionWithArbitrary()
3961
+ }
3962
+ ],
3963
+ /**
3964
+ * Transform Style
3965
+ * @see https://tailwindcss.com/docs/transform-style
3966
+ */ "transform-style": [
3967
+ {
3968
+ transform: [
3969
+ "3d",
3970
+ "flat"
3971
+ ]
3972
+ }
3973
+ ],
3974
+ /**
3975
+ * Translate
3976
+ * @see https://tailwindcss.com/docs/translate
3977
+ */ translate: [
3978
+ {
3979
+ translate: scaleTranslate()
3980
+ }
3981
+ ],
3982
+ /**
3983
+ * Translate X
3984
+ * @see https://tailwindcss.com/docs/translate
3985
+ */ "translate-x": [
3986
+ {
3987
+ "translate-x": scaleTranslate()
3988
+ }
3989
+ ],
3990
+ /**
3991
+ * Translate Y
3992
+ * @see https://tailwindcss.com/docs/translate
3993
+ */ "translate-y": [
3994
+ {
3995
+ "translate-y": scaleTranslate()
3996
+ }
3997
+ ],
3998
+ /**
3999
+ * Translate Z
4000
+ * @see https://tailwindcss.com/docs/translate
4001
+ */ "translate-z": [
4002
+ {
4003
+ "translate-z": scaleTranslate()
4004
+ }
4005
+ ],
4006
+ /**
4007
+ * Translate None
4008
+ * @see https://tailwindcss.com/docs/translate
4009
+ */ "translate-none": [
4010
+ "translate-none"
4011
+ ],
4012
+ // ---------------------
4013
+ // --- Interactivity ---
4014
+ // ---------------------
4015
+ /**
4016
+ * Accent Color
4017
+ * @see https://tailwindcss.com/docs/accent-color
4018
+ */ accent: [
4019
+ {
4020
+ accent: scaleColor()
4021
+ }
4022
+ ],
4023
+ /**
4024
+ * Appearance
4025
+ * @see https://tailwindcss.com/docs/appearance
4026
+ */ appearance: [
4027
+ {
4028
+ appearance: [
4029
+ "none",
4030
+ "auto"
4031
+ ]
4032
+ }
4033
+ ],
4034
+ /**
4035
+ * Caret Color
4036
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
4037
+ */ "caret-color": [
4038
+ {
4039
+ caret: scaleColor()
4040
+ }
4041
+ ],
4042
+ /**
4043
+ * Color Scheme
4044
+ * @see https://tailwindcss.com/docs/color-scheme
4045
+ */ "color-scheme": [
4046
+ {
4047
+ scheme: [
4048
+ "normal",
4049
+ "dark",
4050
+ "light",
4051
+ "light-dark",
4052
+ "only-dark",
4053
+ "only-light"
4054
+ ]
4055
+ }
4056
+ ],
4057
+ /**
4058
+ * Cursor
4059
+ * @see https://tailwindcss.com/docs/cursor
4060
+ */ cursor: [
4061
+ {
4062
+ cursor: [
4063
+ "auto",
4064
+ "default",
4065
+ "pointer",
4066
+ "wait",
4067
+ "text",
4068
+ "move",
4069
+ "help",
4070
+ "not-allowed",
4071
+ "none",
4072
+ "context-menu",
4073
+ "progress",
4074
+ "cell",
4075
+ "crosshair",
4076
+ "vertical-text",
4077
+ "alias",
4078
+ "copy",
4079
+ "no-drop",
4080
+ "grab",
4081
+ "grabbing",
4082
+ "all-scroll",
4083
+ "col-resize",
4084
+ "row-resize",
4085
+ "n-resize",
4086
+ "e-resize",
4087
+ "s-resize",
4088
+ "w-resize",
4089
+ "ne-resize",
4090
+ "nw-resize",
4091
+ "se-resize",
4092
+ "sw-resize",
4093
+ "ew-resize",
4094
+ "ns-resize",
4095
+ "nesw-resize",
4096
+ "nwse-resize",
4097
+ "zoom-in",
4098
+ "zoom-out",
4099
+ isArbitraryVariable,
4100
+ isArbitraryValue
4101
+ ]
4102
+ }
4103
+ ],
4104
+ /**
4105
+ * Field Sizing
4106
+ * @see https://tailwindcss.com/docs/field-sizing
4107
+ */ "field-sizing": [
4108
+ {
4109
+ "field-sizing": [
4110
+ "fixed",
4111
+ "content"
4112
+ ]
4113
+ }
4114
+ ],
4115
+ /**
4116
+ * Pointer Events
4117
+ * @see https://tailwindcss.com/docs/pointer-events
4118
+ */ "pointer-events": [
4119
+ {
4120
+ "pointer-events": [
4121
+ "auto",
4122
+ "none"
4123
+ ]
4124
+ }
4125
+ ],
4126
+ /**
4127
+ * Resize
4128
+ * @see https://tailwindcss.com/docs/resize
4129
+ */ resize: [
4130
+ {
4131
+ resize: [
4132
+ "none",
4133
+ "",
4134
+ "y",
4135
+ "x"
4136
+ ]
4137
+ }
4138
+ ],
4139
+ /**
4140
+ * Scroll Behavior
4141
+ * @see https://tailwindcss.com/docs/scroll-behavior
4142
+ */ "scroll-behavior": [
4143
+ {
4144
+ scroll: [
4145
+ "auto",
4146
+ "smooth"
4147
+ ]
4148
+ }
4149
+ ],
4150
+ /**
4151
+ * Scroll Margin
4152
+ * @see https://tailwindcss.com/docs/scroll-margin
4153
+ */ "scroll-m": [
4154
+ {
4155
+ "scroll-m": scaleUnambiguousSpacing()
4156
+ }
4157
+ ],
4158
+ /**
4159
+ * Scroll Margin X
4160
+ * @see https://tailwindcss.com/docs/scroll-margin
4161
+ */ "scroll-mx": [
4162
+ {
4163
+ "scroll-mx": scaleUnambiguousSpacing()
4164
+ }
4165
+ ],
4166
+ /**
4167
+ * Scroll Margin Y
4168
+ * @see https://tailwindcss.com/docs/scroll-margin
4169
+ */ "scroll-my": [
4170
+ {
4171
+ "scroll-my": scaleUnambiguousSpacing()
4172
+ }
4173
+ ],
4174
+ /**
4175
+ * Scroll Margin Start
4176
+ * @see https://tailwindcss.com/docs/scroll-margin
4177
+ */ "scroll-ms": [
4178
+ {
4179
+ "scroll-ms": scaleUnambiguousSpacing()
4180
+ }
4181
+ ],
4182
+ /**
4183
+ * Scroll Margin End
4184
+ * @see https://tailwindcss.com/docs/scroll-margin
4185
+ */ "scroll-me": [
4186
+ {
4187
+ "scroll-me": scaleUnambiguousSpacing()
4188
+ }
4189
+ ],
4190
+ /**
4191
+ * Scroll Margin Top
4192
+ * @see https://tailwindcss.com/docs/scroll-margin
4193
+ */ "scroll-mt": [
4194
+ {
4195
+ "scroll-mt": scaleUnambiguousSpacing()
4196
+ }
4197
+ ],
4198
+ /**
4199
+ * Scroll Margin Right
4200
+ * @see https://tailwindcss.com/docs/scroll-margin
4201
+ */ "scroll-mr": [
4202
+ {
4203
+ "scroll-mr": scaleUnambiguousSpacing()
4204
+ }
4205
+ ],
4206
+ /**
4207
+ * Scroll Margin Bottom
4208
+ * @see https://tailwindcss.com/docs/scroll-margin
4209
+ */ "scroll-mb": [
4210
+ {
4211
+ "scroll-mb": scaleUnambiguousSpacing()
4212
+ }
4213
+ ],
4214
+ /**
4215
+ * Scroll Margin Left
4216
+ * @see https://tailwindcss.com/docs/scroll-margin
4217
+ */ "scroll-ml": [
4218
+ {
4219
+ "scroll-ml": scaleUnambiguousSpacing()
4220
+ }
4221
+ ],
4222
+ /**
4223
+ * Scroll Padding
4224
+ * @see https://tailwindcss.com/docs/scroll-padding
4225
+ */ "scroll-p": [
4226
+ {
4227
+ "scroll-p": scaleUnambiguousSpacing()
4228
+ }
4229
+ ],
4230
+ /**
4231
+ * Scroll Padding X
4232
+ * @see https://tailwindcss.com/docs/scroll-padding
4233
+ */ "scroll-px": [
4234
+ {
4235
+ "scroll-px": scaleUnambiguousSpacing()
4236
+ }
4237
+ ],
4238
+ /**
4239
+ * Scroll Padding Y
4240
+ * @see https://tailwindcss.com/docs/scroll-padding
4241
+ */ "scroll-py": [
4242
+ {
4243
+ "scroll-py": scaleUnambiguousSpacing()
4244
+ }
4245
+ ],
4246
+ /**
4247
+ * Scroll Padding Start
4248
+ * @see https://tailwindcss.com/docs/scroll-padding
4249
+ */ "scroll-ps": [
4250
+ {
4251
+ "scroll-ps": scaleUnambiguousSpacing()
4252
+ }
4253
+ ],
4254
+ /**
4255
+ * Scroll Padding End
4256
+ * @see https://tailwindcss.com/docs/scroll-padding
4257
+ */ "scroll-pe": [
4258
+ {
4259
+ "scroll-pe": scaleUnambiguousSpacing()
4260
+ }
4261
+ ],
4262
+ /**
4263
+ * Scroll Padding Top
4264
+ * @see https://tailwindcss.com/docs/scroll-padding
4265
+ */ "scroll-pt": [
4266
+ {
4267
+ "scroll-pt": scaleUnambiguousSpacing()
4268
+ }
4269
+ ],
4270
+ /**
4271
+ * Scroll Padding Right
4272
+ * @see https://tailwindcss.com/docs/scroll-padding
4273
+ */ "scroll-pr": [
4274
+ {
4275
+ "scroll-pr": scaleUnambiguousSpacing()
4276
+ }
4277
+ ],
4278
+ /**
4279
+ * Scroll Padding Bottom
4280
+ * @see https://tailwindcss.com/docs/scroll-padding
4281
+ */ "scroll-pb": [
4282
+ {
4283
+ "scroll-pb": scaleUnambiguousSpacing()
4284
+ }
4285
+ ],
4286
+ /**
4287
+ * Scroll Padding Left
4288
+ * @see https://tailwindcss.com/docs/scroll-padding
4289
+ */ "scroll-pl": [
4290
+ {
4291
+ "scroll-pl": scaleUnambiguousSpacing()
4292
+ }
4293
+ ],
4294
+ /**
4295
+ * Scroll Snap Align
4296
+ * @see https://tailwindcss.com/docs/scroll-snap-align
4297
+ */ "snap-align": [
4298
+ {
4299
+ snap: [
4300
+ "start",
4301
+ "end",
4302
+ "center",
4303
+ "align-none"
4304
+ ]
4305
+ }
4306
+ ],
4307
+ /**
4308
+ * Scroll Snap Stop
4309
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
4310
+ */ "snap-stop": [
4311
+ {
4312
+ snap: [
4313
+ "normal",
4314
+ "always"
4315
+ ]
4316
+ }
4317
+ ],
4318
+ /**
4319
+ * Scroll Snap Type
4320
+ * @see https://tailwindcss.com/docs/scroll-snap-type
4321
+ */ "snap-type": [
4322
+ {
4323
+ snap: [
4324
+ "none",
4325
+ "x",
4326
+ "y",
4327
+ "both"
4328
+ ]
4329
+ }
4330
+ ],
4331
+ /**
4332
+ * Scroll Snap Type Strictness
4333
+ * @see https://tailwindcss.com/docs/scroll-snap-type
4334
+ */ "snap-strictness": [
4335
+ {
4336
+ snap: [
4337
+ "mandatory",
4338
+ "proximity"
4339
+ ]
4340
+ }
4341
+ ],
4342
+ /**
4343
+ * Touch Action
4344
+ * @see https://tailwindcss.com/docs/touch-action
4345
+ */ touch: [
4346
+ {
4347
+ touch: [
4348
+ "auto",
4349
+ "none",
4350
+ "manipulation"
4351
+ ]
4352
+ }
4353
+ ],
4354
+ /**
4355
+ * Touch Action X
4356
+ * @see https://tailwindcss.com/docs/touch-action
4357
+ */ "touch-x": [
4358
+ {
4359
+ "touch-pan": [
4360
+ "x",
4361
+ "left",
4362
+ "right"
4363
+ ]
4364
+ }
4365
+ ],
4366
+ /**
4367
+ * Touch Action Y
4368
+ * @see https://tailwindcss.com/docs/touch-action
4369
+ */ "touch-y": [
4370
+ {
4371
+ "touch-pan": [
4372
+ "y",
4373
+ "up",
4374
+ "down"
4375
+ ]
4376
+ }
4377
+ ],
4378
+ /**
4379
+ * Touch Action Pinch Zoom
4380
+ * @see https://tailwindcss.com/docs/touch-action
4381
+ */ "touch-pz": [
4382
+ "touch-pinch-zoom"
4383
+ ],
4384
+ /**
4385
+ * User Select
4386
+ * @see https://tailwindcss.com/docs/user-select
4387
+ */ select: [
4388
+ {
4389
+ select: [
4390
+ "none",
4391
+ "text",
4392
+ "all",
4393
+ "auto"
4394
+ ]
4395
+ }
4396
+ ],
4397
+ /**
4398
+ * Will Change
4399
+ * @see https://tailwindcss.com/docs/will-change
4400
+ */ "will-change": [
4401
+ {
4402
+ "will-change": [
4403
+ "auto",
4404
+ "scroll",
4405
+ "contents",
4406
+ "transform",
4407
+ isArbitraryVariable,
4408
+ isArbitraryValue
4409
+ ]
4410
+ }
4411
+ ],
4412
+ // -----------
4413
+ // --- SVG ---
4414
+ // -----------
4415
+ /**
4416
+ * Fill
4417
+ * @see https://tailwindcss.com/docs/fill
4418
+ */ fill: [
4419
+ {
4420
+ fill: [
4421
+ "none"
4422
+ ].concat(_to_consumable_array(scaleColor()))
4423
+ }
4424
+ ],
4425
+ /**
4426
+ * Stroke Width
4427
+ * @see https://tailwindcss.com/docs/stroke-width
4428
+ */ "stroke-w": [
4429
+ {
4430
+ stroke: [
4431
+ isNumber,
4432
+ isArbitraryVariableLength,
4433
+ isArbitraryLength,
4434
+ isArbitraryNumber
4435
+ ]
4436
+ }
4437
+ ],
4438
+ /**
4439
+ * Stroke
4440
+ * @see https://tailwindcss.com/docs/stroke
4441
+ */ stroke: [
4442
+ {
4443
+ stroke: [
4444
+ "none"
4445
+ ].concat(_to_consumable_array(scaleColor()))
4446
+ }
4447
+ ],
4448
+ // ---------------------
4449
+ // --- Accessibility ---
4450
+ // ---------------------
4451
+ /**
4452
+ * Forced Color Adjust
4453
+ * @see https://tailwindcss.com/docs/forced-color-adjust
4454
+ */ "forced-color-adjust": [
4455
+ {
4456
+ "forced-color-adjust": [
4457
+ "auto",
4458
+ "none"
4459
+ ]
4460
+ }
4461
+ ]
4462
+ },
4463
+ conflictingClassGroups: {
4464
+ overflow: [
4465
+ "overflow-x",
4466
+ "overflow-y"
4467
+ ],
4468
+ overscroll: [
4469
+ "overscroll-x",
4470
+ "overscroll-y"
4471
+ ],
4472
+ inset: [
4473
+ "inset-x",
4474
+ "inset-y",
4475
+ "start",
4476
+ "end",
4477
+ "top",
4478
+ "right",
4479
+ "bottom",
4480
+ "left"
4481
+ ],
4482
+ "inset-x": [
4483
+ "right",
4484
+ "left"
4485
+ ],
4486
+ "inset-y": [
4487
+ "top",
4488
+ "bottom"
4489
+ ],
4490
+ flex: [
4491
+ "basis",
4492
+ "grow",
4493
+ "shrink"
4494
+ ],
4495
+ gap: [
4496
+ "gap-x",
4497
+ "gap-y"
4498
+ ],
4499
+ p: [
4500
+ "px",
4501
+ "py",
4502
+ "ps",
4503
+ "pe",
4504
+ "pt",
4505
+ "pr",
4506
+ "pb",
4507
+ "pl"
4508
+ ],
4509
+ px: [
4510
+ "pr",
4511
+ "pl"
4512
+ ],
4513
+ py: [
4514
+ "pt",
4515
+ "pb"
4516
+ ],
4517
+ m: [
4518
+ "mx",
4519
+ "my",
4520
+ "ms",
4521
+ "me",
4522
+ "mt",
4523
+ "mr",
4524
+ "mb",
4525
+ "ml"
4526
+ ],
4527
+ mx: [
4528
+ "mr",
4529
+ "ml"
4530
+ ],
4531
+ my: [
4532
+ "mt",
4533
+ "mb"
4534
+ ],
4535
+ size: [
4536
+ "w",
4537
+ "h"
4538
+ ],
4539
+ "font-size": [
4540
+ "leading"
4541
+ ],
4542
+ "fvn-normal": [
4543
+ "fvn-ordinal",
4544
+ "fvn-slashed-zero",
4545
+ "fvn-figure",
4546
+ "fvn-spacing",
4547
+ "fvn-fraction"
4548
+ ],
4549
+ "fvn-ordinal": [
4550
+ "fvn-normal"
4551
+ ],
4552
+ "fvn-slashed-zero": [
4553
+ "fvn-normal"
4554
+ ],
4555
+ "fvn-figure": [
4556
+ "fvn-normal"
4557
+ ],
4558
+ "fvn-spacing": [
4559
+ "fvn-normal"
4560
+ ],
4561
+ "fvn-fraction": [
4562
+ "fvn-normal"
4563
+ ],
4564
+ "line-clamp": [
4565
+ "display",
4566
+ "overflow"
4567
+ ],
4568
+ rounded: [
4569
+ "rounded-s",
4570
+ "rounded-e",
4571
+ "rounded-t",
4572
+ "rounded-r",
4573
+ "rounded-b",
4574
+ "rounded-l",
4575
+ "rounded-ss",
4576
+ "rounded-se",
4577
+ "rounded-ee",
4578
+ "rounded-es",
4579
+ "rounded-tl",
4580
+ "rounded-tr",
4581
+ "rounded-br",
4582
+ "rounded-bl"
4583
+ ],
4584
+ "rounded-s": [
4585
+ "rounded-ss",
4586
+ "rounded-es"
4587
+ ],
4588
+ "rounded-e": [
4589
+ "rounded-se",
4590
+ "rounded-ee"
4591
+ ],
4592
+ "rounded-t": [
4593
+ "rounded-tl",
4594
+ "rounded-tr"
4595
+ ],
4596
+ "rounded-r": [
4597
+ "rounded-tr",
4598
+ "rounded-br"
4599
+ ],
4600
+ "rounded-b": [
4601
+ "rounded-br",
4602
+ "rounded-bl"
4603
+ ],
4604
+ "rounded-l": [
4605
+ "rounded-tl",
4606
+ "rounded-bl"
4607
+ ],
4608
+ "border-spacing": [
4609
+ "border-spacing-x",
4610
+ "border-spacing-y"
4611
+ ],
4612
+ "border-w": [
4613
+ "border-w-x",
4614
+ "border-w-y",
4615
+ "border-w-s",
4616
+ "border-w-e",
4617
+ "border-w-t",
4618
+ "border-w-r",
4619
+ "border-w-b",
4620
+ "border-w-l"
4621
+ ],
4622
+ "border-w-x": [
4623
+ "border-w-r",
4624
+ "border-w-l"
4625
+ ],
4626
+ "border-w-y": [
4627
+ "border-w-t",
4628
+ "border-w-b"
4629
+ ],
4630
+ "border-color": [
4631
+ "border-color-x",
4632
+ "border-color-y",
4633
+ "border-color-s",
4634
+ "border-color-e",
4635
+ "border-color-t",
4636
+ "border-color-r",
4637
+ "border-color-b",
4638
+ "border-color-l"
4639
+ ],
4640
+ "border-color-x": [
4641
+ "border-color-r",
4642
+ "border-color-l"
4643
+ ],
4644
+ "border-color-y": [
4645
+ "border-color-t",
4646
+ "border-color-b"
4647
+ ],
4648
+ translate: [
4649
+ "translate-x",
4650
+ "translate-y",
4651
+ "translate-none"
4652
+ ],
4653
+ "translate-none": [
4654
+ "translate",
4655
+ "translate-x",
4656
+ "translate-y",
4657
+ "translate-z"
4658
+ ],
4659
+ "scroll-m": [
4660
+ "scroll-mx",
4661
+ "scroll-my",
4662
+ "scroll-ms",
4663
+ "scroll-me",
4664
+ "scroll-mt",
4665
+ "scroll-mr",
4666
+ "scroll-mb",
4667
+ "scroll-ml"
4668
+ ],
4669
+ "scroll-mx": [
4670
+ "scroll-mr",
4671
+ "scroll-ml"
4672
+ ],
4673
+ "scroll-my": [
4674
+ "scroll-mt",
4675
+ "scroll-mb"
4676
+ ],
4677
+ "scroll-p": [
4678
+ "scroll-px",
4679
+ "scroll-py",
4680
+ "scroll-ps",
4681
+ "scroll-pe",
4682
+ "scroll-pt",
4683
+ "scroll-pr",
4684
+ "scroll-pb",
4685
+ "scroll-pl"
4686
+ ],
4687
+ "scroll-px": [
4688
+ "scroll-pr",
4689
+ "scroll-pl"
4690
+ ],
4691
+ "scroll-py": [
4692
+ "scroll-pt",
4693
+ "scroll-pb"
4694
+ ],
4695
+ touch: [
4696
+ "touch-x",
4697
+ "touch-y",
4698
+ "touch-pz"
4699
+ ],
4700
+ "touch-x": [
4701
+ "touch"
4702
+ ],
4703
+ "touch-y": [
4704
+ "touch"
4705
+ ],
4706
+ "touch-pz": [
4707
+ "touch"
4708
+ ]
4709
+ },
4710
+ conflictingClassGroupModifiers: {
4711
+ "font-size": [
4712
+ "leading"
4713
+ ]
4714
+ },
4715
+ orderSensitiveModifiers: [
4716
+ "*",
4717
+ "**",
4718
+ "after",
4719
+ "backdrop",
4720
+ "before",
4721
+ "details-content",
4722
+ "file",
4723
+ "first-letter",
4724
+ "first-line",
4725
+ "marker",
4726
+ "placeholder",
4727
+ "selection"
4728
+ ]
4729
+ };
4730
+ };
4731
+ var twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
4732
+ // src/lib/utils.ts
4733
+ function cn() {
4734
+ for(var _len = arguments.length, inputs = new Array(_len), _key = 0; _key < _len; _key++){
4735
+ inputs[_key] = arguments[_key];
4736
+ }
4737
+ return twMerge(clsx(inputs));
4738
+ }
4739
+ // src/components/fields/Input.tsx
4740
+ function Input(param) {
4741
+ var fieldName = param.fieldName, label = param.label, value = param.value, onChange = param.onChange, _param_disabled = param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, placeholder = param.placeholder, _param_expectedType = param.expectedType, expectedType = _param_expectedType === void 0 ? "string" : _param_expectedType, _param_required = param.required, required = _param_required === void 0 ? false : _param_required, _param_hasRequiredError = param.hasRequiredError, hasRequiredError = _param_hasRequiredError === void 0 ? false : _param_hasRequiredError, className = param.className, editorClassName = param.editorClassName;
4742
+ var displayValue = React3.useMemo(function() {
4743
+ if (value && (typeof value === "undefined" ? "undefined" : _type_of(value)) === "object" && "expression" in value) {
4744
+ return value.expression || "";
4745
+ }
4746
+ return String(value !== null && value !== void 0 ? value : "");
4747
+ }, [
4748
+ value
4749
+ ]);
4750
+ var isExpression = React3.useMemo(function() {
4751
+ return value && (typeof value === "undefined" ? "undefined" : _type_of(value)) === "object" && "expression" in value;
4752
+ }, [
4753
+ value
4754
+ ]);
4755
+ var handleChange = React3.useCallback(function(e) {
4756
+ var newValue = e.target.value;
4757
+ if (newValue.includes("{{")) {
4758
+ onChange({
4759
+ expression: newValue,
4760
+ type: "expression"
4761
+ });
4762
+ } else {
4763
+ onChange(newValue);
4764
+ }
4765
+ }, [
4766
+ onChange
4767
+ ]);
4768
+ var showError = hasRequiredError || required && !displayValue;
4769
+ return /* @__PURE__ */ React3.createElement("div", {
4770
+ className: cn("uii:mb-2", className)
4771
+ }, /* @__PURE__ */ React3.createElement("div", {
4772
+ className: "uii:flex uii:items-center uii:gap-2 uii:mt-2"
4773
+ }, /* @__PURE__ */ React3.createElement("label", {
4774
+ htmlFor: fieldName,
4775
+ className: "uii:text-xs uii:font-bold uii:text-muted-foreground"
4776
+ }, label, ":"), expectedType !== "$.interface.timer" && /* @__PURE__ */ React3.createElement("span", {
4777
+ className: "uii:-mt-2 uii:inline-flex uii:px-1 uii:py-0.5 uii:bg-gray-200 uii:rounded-sm uii:text-[10px] uii:font-mono uii:text-muted-foreground uii:font-light"
4778
+ }, expectedType), showError && /* @__PURE__ */ React3.createElement("span", {
4779
+ className: "uii:-mt-2 uii:inline-flex uii:px-1 uii:py-0.5 uii:bg-red-100 uii:text-red-600 uii:rounded-sm uii:text-[10px] uii:font-medium"
4780
+ }, "Required")), /* @__PURE__ */ React3.createElement("div", {
4781
+ className: "uii:mt-0.5"
4782
+ }, /* @__PURE__ */ React3.createElement("input", {
4783
+ id: fieldName,
4784
+ name: fieldName,
4785
+ type: "text",
4786
+ value: displayValue,
4787
+ onChange: handleChange,
4788
+ disabled: disabled,
4789
+ placeholder: placeholder || "Enter value or {{ expression }}...",
4790
+ className: cn("uii:w-full uii:h-9 uii:px-3 uii:rounded-sm uii:border uii:bg-background uii:text-sm", "uii:outline-none uii:transition-all", "focus:uii:border-ring focus:uii:ring-ring/50 focus:uii:ring-[3px]", showError ? "uii:border-red-500 hover:uii:border-red-600" : "uii:border-input hover:uii:border-ring/50", isExpression && "uii:font-mono uii:text-amber-600", disabled && "uii:opacity-50 uii:cursor-not-allowed", editorClassName)
4791
+ })));
4792
+ }
4793
+ function Select(param) {
4794
+ var fieldName = param.fieldName, label = param.label, value = param.value, onChange = param.onChange, rawOptions = param.options, _param_disabled = param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, placeholder = param.placeholder, _param_expectedType = param.expectedType, expectedType = _param_expectedType === void 0 ? "string" : _param_expectedType, _param_required = param.required, required = _param_required === void 0 ? false : _param_required, _param_hasRequiredError = param.hasRequiredError, hasRequiredError = _param_hasRequiredError === void 0 ? false : _param_hasRequiredError, className = param.className, children = param.children;
4795
+ var _React3_useState = _sliced_to_array(React3.useState(false), 2), isExpressionMode = _React3_useState[0], setIsExpressionMode = _React3_useState[1];
4796
+ var _React3_useState1 = _sliced_to_array(React3.useState(""), 2), expressionValue = _React3_useState1[0], setExpressionValue = _React3_useState1[1];
4797
+ var options = React3.useMemo(function() {
4798
+ return rawOptions.map(function(opt) {
4799
+ return typeof opt === "string" ? {
4800
+ value: opt,
4801
+ label: opt
4802
+ } : opt;
4803
+ });
4804
+ }, [
4805
+ rawOptions
4806
+ ]);
4807
+ var displayValue = React3.useMemo(function() {
4808
+ if (value && (typeof value === "undefined" ? "undefined" : _type_of(value)) === "object" && "expression" in value) {
4809
+ return value.expression || "";
4810
+ }
4811
+ return String(value !== null && value !== void 0 ? value : "");
4812
+ }, [
4813
+ value
4814
+ ]);
4815
+ var isExpression = React3.useMemo(function() {
4816
+ return value && (typeof value === "undefined" ? "undefined" : _type_of(value)) === "object" && "expression" in value;
4817
+ }, [
4818
+ value
4819
+ ]);
4820
+ React3.useEffect(function() {
4821
+ if (isExpression) {
4822
+ setIsExpressionMode(true);
4823
+ setExpressionValue(displayValue);
4824
+ }
4825
+ }, [
4826
+ isExpression,
4827
+ displayValue
4828
+ ]);
4829
+ var handleSelectChange = React3.useCallback(function(newValue) {
4830
+ if (newValue === "__expression__") {
4831
+ setIsExpressionMode(true);
4832
+ return;
4833
+ }
4834
+ onChange(newValue);
4835
+ }, [
4836
+ onChange
4837
+ ]);
4838
+ var handleExpressionChange = React3.useCallback(function(e) {
4839
+ var newValue = e.target.value;
4840
+ setExpressionValue(newValue);
4841
+ onChange({
4842
+ expression: newValue,
4843
+ type: "expression"
4844
+ });
4845
+ }, [
4846
+ onChange
4847
+ ]);
4848
+ var handleSwitchToValue = React3.useCallback(function() {
4849
+ setIsExpressionMode(false);
4850
+ setExpressionValue("");
4851
+ onChange("");
4852
+ }, [
4853
+ onChange
4854
+ ]);
4855
+ var showError = hasRequiredError || required && !displayValue;
4856
+ var renderProps = {
4857
+ value: displayValue,
4858
+ onChange: handleSelectChange,
4859
+ onExpressionClick: function() {
4860
+ return setIsExpressionMode(true);
4861
+ },
4862
+ options: options,
4863
+ localInput: displayValue,
4864
+ setLocalInput: function() {},
4865
+ expressionMode: {
4866
+ current: isExpressionMode ? "expression" : "value",
4867
+ isExpressionMode: isExpressionMode,
4868
+ isEditorMode: false,
4869
+ isEditing: false,
4870
+ isFullScreen: false,
4871
+ expression: expressionValue,
4872
+ switchToValue: handleSwitchToValue,
4873
+ switchToExpression: function() {
4874
+ return setIsExpressionMode(true);
4875
+ },
4876
+ switchToEditor: function() {
4877
+ return setIsExpressionMode(true);
4878
+ },
4879
+ clear: handleSwitchToValue
4880
+ },
4881
+ hasError: showError
4882
+ };
4883
+ return /* @__PURE__ */ React3.createElement("div", {
4884
+ className: cn("uii:mb-2", className)
4885
+ }, /* @__PURE__ */ React3.createElement("div", {
4886
+ className: "uii:flex uii:items-center uii:gap-2 uii:mt-2"
4887
+ }, /* @__PURE__ */ React3.createElement("label", {
4888
+ htmlFor: fieldName,
4889
+ className: "uii:text-xs uii:font-bold uii:text-muted-foreground"
4890
+ }, label, ":"), expectedType !== "$.interface.timer" && /* @__PURE__ */ React3.createElement("span", {
4891
+ className: "uii:-mt-2 uii:inline-flex uii:px-1 uii:py-0.5 uii:bg-gray-200 uii:rounded-sm uii:text-[10px] uii:font-mono uii:text-muted-foreground uii:font-light"
4892
+ }, expectedType), showError && /* @__PURE__ */ React3.createElement("span", {
4893
+ className: "uii:-mt-2 uii:inline-flex uii:px-1 uii:py-0.5 uii:bg-red-100 uii:text-red-600 uii:rounded-sm uii:text-[10px] uii:font-medium"
4894
+ }, "Required")), /* @__PURE__ */ React3.createElement("div", {
4895
+ className: "uii:mt-0.5"
4896
+ }, children ? // Use custom render function
4897
+ children(renderProps) : isExpressionMode ? // Expression mode - show input with clear button
4898
+ /* @__PURE__ */ React3.createElement("div", {
4899
+ className: "uii:flex uii:items-center uii:h-9 uii:rounded-sm uii:border uii:border-amber-500/50 uii:bg-amber-500/5"
4900
+ }, /* @__PURE__ */ React3.createElement("input", {
4901
+ id: fieldName,
4902
+ name: fieldName,
4903
+ type: "text",
4904
+ value: expressionValue,
4905
+ onChange: handleExpressionChange,
4906
+ disabled: disabled,
4907
+ placeholder: "Enter expression...",
4908
+ className: cn("uii:flex-1 uii:h-full uii:px-3 uii:bg-transparent uii:text-sm uii:font-mono uii:text-amber-600", "uii:outline-none uii:border-none", disabled && "uii:opacity-50 uii:cursor-not-allowed")
4909
+ }), /* @__PURE__ */ React3.createElement("button", {
4910
+ type: "button",
4911
+ onClick: handleSwitchToValue,
4912
+ className: "uii:flex uii:items-center uii:justify-center uii:h-full uii:px-2 uii:text-amber-600 hover:uii:text-red-600 uii:border-l uii:border-amber-500/30",
4913
+ title: "Clear and return to value mode"
4914
+ }, "\xD7")) : // Value mode - show select
4915
+ /* @__PURE__ */ React3.createElement("select", {
4916
+ id: fieldName,
4917
+ name: fieldName,
4918
+ value: displayValue,
4919
+ onChange: function(e) {
4920
+ return handleSelectChange(e.target.value);
4921
+ },
4922
+ disabled: disabled,
4923
+ className: cn("uii:w-full uii:h-9 uii:px-3 uii:rounded-sm uii:border uii:bg-background uii:text-sm", "uii:outline-none uii:transition-all uii:cursor-pointer", "focus:uii:border-ring focus:uii:ring-ring/50 focus:uii:ring-[3px]", showError ? "uii:border-red-500 hover:uii:border-red-600" : "uii:border-input hover:uii:border-ring/50", disabled && "uii:opacity-50 uii:cursor-not-allowed")
4924
+ }, placeholder && /* @__PURE__ */ React3.createElement("option", {
4925
+ value: "",
4926
+ disabled: true
4927
+ }, placeholder), options.map(function(opt) {
4928
+ return /* @__PURE__ */ React3.createElement("option", {
4929
+ key: opt.value,
4930
+ value: opt.value
4931
+ }, opt.label);
4932
+ }), /* @__PURE__ */ React3.createElement("option", {
4933
+ value: "__expression__"
4934
+ }, "\uD83D\uDCDD Custom Expression"))));
4935
+ }
4936
+ // src/components/fields/index.tsx
4937
+ function useTemplateFieldContext() {
4938
+ return {
4939
+ yDoc: null,
4940
+ collabUser: null,
4941
+ awareness: null,
4942
+ availableNodes: null,
4943
+ myInterface: null,
4944
+ typeDeclarations: "",
4945
+ element: null,
4946
+ nodeId: "",
4947
+ onControlFocus: function() {},
4948
+ onControlBlur: function() {},
4949
+ onRecordChange: function() {},
4950
+ onValidationChange: function() {},
4951
+ parentFieldPath: null,
4952
+ disabled: false
4953
+ };
4954
+ }
4955
+ function useIsInTemplateFieldProvider() {
4956
+ return false;
4957
+ }
4958
+ function useFieldPath(fieldName) {
4959
+ return fieldName;
4960
+ }
4961
+ function TemplateFieldProvider(param) {
4962
+ var children = param.children;
4963
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, children);
4964
+ }
4965
+ function NestedFieldProvider(param) {
4966
+ var children = param.children;
4967
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, children);
4968
+ }
4969
+ export { Input, NestedFieldProvider, Select, TemplateFieldProvider, useFieldPath, useIsInTemplateFieldProvider, useTemplateFieldContext }; //# sourceMappingURL=index.js.map
4970
+ //# sourceMappingURL=index.js.map