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