@pequity/squirrel 6.0.12 → 6.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/chunks/index.js +2645 -0
- package/dist/cjs/chunks/p-btn.types.js +3 -0
- package/dist/cjs/chunks/p-select.js +2 -2
- package/dist/cjs/index.js +23 -31
- package/dist/cjs/inputClasses.js +127 -0
- package/dist/cjs/inputClassesMixin.js +23 -19
- package/dist/cjs/p-btn.js +56 -57
- package/dist/cjs/p-input-search.js +3 -3
- package/dist/cjs/useInputClasses.js +19 -18
- package/dist/es/chunks/index.js +2646 -0
- package/dist/es/chunks/p-btn.types.js +4 -0
- package/dist/es/chunks/p-select.js +2 -2
- package/dist/es/index.js +28 -36
- package/dist/es/inputClasses.js +127 -0
- package/dist/es/inputClassesMixin.js +23 -19
- package/dist/es/p-btn.js +56 -57
- package/dist/es/p-input-search.js +3 -3
- package/dist/es/useInputClasses.js +23 -22
- package/dist/squirrel/components/p-btn/p-btn.types.d.ts +2 -1
- package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +395 -17
- package/dist/squirrel/components/p-dropdown-select/p-dropdown-select.vue.d.ts +30 -22
- package/dist/squirrel/components/p-input/p-input.vue.d.ts +11 -7
- package/dist/squirrel/components/p-input-number/p-input-number.vue.d.ts +11 -7
- package/dist/squirrel/components/p-input-percent/p-input-percent.vue.d.ts +3 -3
- package/dist/squirrel/components/p-input-search/p-input-search.vue.d.ts +16 -12
- package/dist/squirrel/components/p-select/p-select.vue.d.ts +5 -5
- package/dist/squirrel/components/p-select-list/p-select-list.vue.d.ts +30 -22
- package/dist/squirrel/components/p-textarea/p-textarea.vue.d.ts +11 -7
- package/dist/squirrel/components/p-toggle/p-toggle.vue.d.ts +11 -7
- package/dist/squirrel/composables/useInputClasses.d.ts +3 -3
- package/dist/squirrel/index.d.ts +1 -0
- package/dist/squirrel/utils/index.d.ts +2 -2
- package/dist/squirrel/utils/inputClasses.d.ts +938 -0
- package/dist/squirrel/utils/inputClassesMixin.d.ts +12 -8
- package/dist/squirrel.css +13 -13
- package/package.json +10 -7
- package/squirrel/components/p-btn/p-btn.spec.js +1 -1
- package/squirrel/components/p-btn/p-btn.types.ts +3 -1
- package/squirrel/components/p-btn/p-btn.vue +60 -74
- package/squirrel/components/p-file-upload/p-file-upload.spec.js +3 -8
- package/squirrel/components/p-inline-date-picker/p-inline-date-picker.spec.js +3 -10
- package/squirrel/components/p-input/p-input.spec.js +3 -8
- package/squirrel/components/p-input-number/p-input-number.spec.js +15 -18
- package/squirrel/components/p-input-percent/p-input-percent.spec.js +3 -8
- package/squirrel/components/p-input-percent/p-input-percent.vue +3 -3
- package/squirrel/components/p-input-search/p-input-search.vue +4 -4
- package/squirrel/components/p-select/p-select.spec.js +27 -33
- package/squirrel/components/p-select/p-select.vue +4 -4
- package/squirrel/components/p-textarea/p-textarea.spec.js +3 -8
- package/squirrel/composables/useInputClasses.spec.js +138 -77
- package/squirrel/composables/useInputClasses.ts +25 -39
- package/squirrel/index.ts +1 -0
- package/squirrel/utils/index.ts +3 -36
- package/squirrel/utils/inputClasses.ts +128 -0
- package/squirrel/utils/inputClassesMixin.spec.js +153 -64
- package/squirrel/utils/inputClassesMixin.ts +26 -43
- package/dist/cjs/inputClassesShared.js +0 -76
- package/dist/es/inputClassesShared.js +0 -76
- package/dist/squirrel/utils/inputClassesShared.d.ts +0 -45
- package/squirrel/utils/inputClassesShared.ts +0 -75
|
@@ -0,0 +1,2645 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var l = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, u = (e) => !e || typeof e != "object" || Object.keys(e).length === 0, x$1 = (e, o) => JSON.stringify(e) === JSON.stringify(o);
|
|
3
|
+
function i(e, o) {
|
|
4
|
+
e.forEach(function(r) {
|
|
5
|
+
Array.isArray(r) ? i(r, o) : o.push(r);
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
function y(e) {
|
|
9
|
+
let o = [];
|
|
10
|
+
return i(e, o), o;
|
|
11
|
+
}
|
|
12
|
+
var a = (...e) => y(e).filter(Boolean), p = (e, o) => {
|
|
13
|
+
let r = {}, c = Object.keys(e), f = Object.keys(o);
|
|
14
|
+
for (let t of c) if (f.includes(t)) {
|
|
15
|
+
let s = e[t], n = o[t];
|
|
16
|
+
Array.isArray(s) || Array.isArray(n) ? r[t] = a(n, s) : typeof s == "object" && typeof n == "object" ? r[t] = p(s, n) : r[t] = n + " " + s;
|
|
17
|
+
} else r[t] = e[t];
|
|
18
|
+
for (let t of f) c.includes(t) || (r[t] = o[t]);
|
|
19
|
+
return r;
|
|
20
|
+
}, g = (e) => !e || typeof e != "string" ? e : e.replace(/\s+/g, " ").trim();
|
|
21
|
+
const CLASS_PART_SEPARATOR = "-";
|
|
22
|
+
const createClassGroupUtils = (config) => {
|
|
23
|
+
const classMap = createClassMap(config);
|
|
24
|
+
const {
|
|
25
|
+
conflictingClassGroups,
|
|
26
|
+
conflictingClassGroupModifiers
|
|
27
|
+
} = config;
|
|
28
|
+
const getClassGroupId = (className) => {
|
|
29
|
+
const classParts = className.split(CLASS_PART_SEPARATOR);
|
|
30
|
+
if (classParts[0] === "" && classParts.length !== 1) {
|
|
31
|
+
classParts.shift();
|
|
32
|
+
}
|
|
33
|
+
return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
|
|
34
|
+
};
|
|
35
|
+
const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
|
|
36
|
+
const conflicts = conflictingClassGroups[classGroupId] || [];
|
|
37
|
+
if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
|
|
38
|
+
return [...conflicts, ...conflictingClassGroupModifiers[classGroupId]];
|
|
39
|
+
}
|
|
40
|
+
return conflicts;
|
|
41
|
+
};
|
|
42
|
+
return {
|
|
43
|
+
getClassGroupId,
|
|
44
|
+
getConflictingClassGroupIds
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
const getGroupRecursive = (classParts, classPartObject) => {
|
|
48
|
+
var _a;
|
|
49
|
+
if (classParts.length === 0) {
|
|
50
|
+
return classPartObject.classGroupId;
|
|
51
|
+
}
|
|
52
|
+
const currentClassPart = classParts[0];
|
|
53
|
+
const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
|
|
54
|
+
const classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : void 0;
|
|
55
|
+
if (classGroupFromNextClassPart) {
|
|
56
|
+
return classGroupFromNextClassPart;
|
|
57
|
+
}
|
|
58
|
+
if (classPartObject.validators.length === 0) {
|
|
59
|
+
return void 0;
|
|
60
|
+
}
|
|
61
|
+
const classRest = classParts.join(CLASS_PART_SEPARATOR);
|
|
62
|
+
return (_a = classPartObject.validators.find(({
|
|
63
|
+
validator
|
|
64
|
+
}) => validator(classRest))) == null ? void 0 : _a.classGroupId;
|
|
65
|
+
};
|
|
66
|
+
const arbitraryPropertyRegex = /^\[(.+)\]$/;
|
|
67
|
+
const getGroupIdForArbitraryProperty = (className) => {
|
|
68
|
+
if (arbitraryPropertyRegex.test(className)) {
|
|
69
|
+
const arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
|
|
70
|
+
const property = arbitraryPropertyClassName == null ? void 0 : arbitraryPropertyClassName.substring(0, arbitraryPropertyClassName.indexOf(":"));
|
|
71
|
+
if (property) {
|
|
72
|
+
return "arbitrary.." + property;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
const createClassMap = (config) => {
|
|
77
|
+
const {
|
|
78
|
+
theme,
|
|
79
|
+
prefix
|
|
80
|
+
} = config;
|
|
81
|
+
const classMap = {
|
|
82
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
83
|
+
validators: []
|
|
84
|
+
};
|
|
85
|
+
const prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
|
|
86
|
+
prefixedClassGroupEntries.forEach(([classGroupId, classGroup]) => {
|
|
87
|
+
processClassesRecursively(classGroup, classMap, classGroupId, theme);
|
|
88
|
+
});
|
|
89
|
+
return classMap;
|
|
90
|
+
};
|
|
91
|
+
const processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
|
|
92
|
+
classGroup.forEach((classDefinition) => {
|
|
93
|
+
if (typeof classDefinition === "string") {
|
|
94
|
+
const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
|
|
95
|
+
classPartObjectToEdit.classGroupId = classGroupId;
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
if (typeof classDefinition === "function") {
|
|
99
|
+
if (isThemeGetter(classDefinition)) {
|
|
100
|
+
processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
classPartObject.validators.push({
|
|
104
|
+
validator: classDefinition,
|
|
105
|
+
classGroupId
|
|
106
|
+
});
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
Object.entries(classDefinition).forEach(([key, classGroup2]) => {
|
|
110
|
+
processClassesRecursively(classGroup2, getPart(classPartObject, key), classGroupId, theme);
|
|
111
|
+
});
|
|
112
|
+
});
|
|
113
|
+
};
|
|
114
|
+
const getPart = (classPartObject, path) => {
|
|
115
|
+
let currentClassPartObject = classPartObject;
|
|
116
|
+
path.split(CLASS_PART_SEPARATOR).forEach((pathPart) => {
|
|
117
|
+
if (!currentClassPartObject.nextPart.has(pathPart)) {
|
|
118
|
+
currentClassPartObject.nextPart.set(pathPart, {
|
|
119
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
120
|
+
validators: []
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
|
|
124
|
+
});
|
|
125
|
+
return currentClassPartObject;
|
|
126
|
+
};
|
|
127
|
+
const isThemeGetter = (func) => func.isThemeGetter;
|
|
128
|
+
const getPrefixedClassGroupEntries = (classGroupEntries, prefix) => {
|
|
129
|
+
if (!prefix) {
|
|
130
|
+
return classGroupEntries;
|
|
131
|
+
}
|
|
132
|
+
return classGroupEntries.map(([classGroupId, classGroup]) => {
|
|
133
|
+
const prefixedClassGroup = classGroup.map((classDefinition) => {
|
|
134
|
+
if (typeof classDefinition === "string") {
|
|
135
|
+
return prefix + classDefinition;
|
|
136
|
+
}
|
|
137
|
+
if (typeof classDefinition === "object") {
|
|
138
|
+
return Object.fromEntries(Object.entries(classDefinition).map(([key, value]) => [prefix + key, value]));
|
|
139
|
+
}
|
|
140
|
+
return classDefinition;
|
|
141
|
+
});
|
|
142
|
+
return [classGroupId, prefixedClassGroup];
|
|
143
|
+
});
|
|
144
|
+
};
|
|
145
|
+
const createLruCache = (maxCacheSize) => {
|
|
146
|
+
if (maxCacheSize < 1) {
|
|
147
|
+
return {
|
|
148
|
+
get: () => void 0,
|
|
149
|
+
set: () => {
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
let cacheSize = 0;
|
|
154
|
+
let cache = /* @__PURE__ */ new Map();
|
|
155
|
+
let previousCache = /* @__PURE__ */ new Map();
|
|
156
|
+
const update = (key, value) => {
|
|
157
|
+
cache.set(key, value);
|
|
158
|
+
cacheSize++;
|
|
159
|
+
if (cacheSize > maxCacheSize) {
|
|
160
|
+
cacheSize = 0;
|
|
161
|
+
previousCache = cache;
|
|
162
|
+
cache = /* @__PURE__ */ new Map();
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
return {
|
|
166
|
+
get(key) {
|
|
167
|
+
let value = cache.get(key);
|
|
168
|
+
if (value !== void 0) {
|
|
169
|
+
return value;
|
|
170
|
+
}
|
|
171
|
+
if ((value = previousCache.get(key)) !== void 0) {
|
|
172
|
+
update(key, value);
|
|
173
|
+
return value;
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
set(key, value) {
|
|
177
|
+
if (cache.has(key)) {
|
|
178
|
+
cache.set(key, value);
|
|
179
|
+
} else {
|
|
180
|
+
update(key, value);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
const IMPORTANT_MODIFIER = "!";
|
|
186
|
+
const createParseClassName = (config) => {
|
|
187
|
+
const {
|
|
188
|
+
separator,
|
|
189
|
+
experimentalParseClassName
|
|
190
|
+
} = config;
|
|
191
|
+
const isSeparatorSingleCharacter = separator.length === 1;
|
|
192
|
+
const firstSeparatorCharacter = separator[0];
|
|
193
|
+
const separatorLength = separator.length;
|
|
194
|
+
const parseClassName = (className) => {
|
|
195
|
+
const modifiers = [];
|
|
196
|
+
let bracketDepth = 0;
|
|
197
|
+
let modifierStart = 0;
|
|
198
|
+
let postfixModifierPosition;
|
|
199
|
+
for (let index = 0; index < className.length; index++) {
|
|
200
|
+
let currentCharacter = className[index];
|
|
201
|
+
if (bracketDepth === 0) {
|
|
202
|
+
if (currentCharacter === firstSeparatorCharacter && (isSeparatorSingleCharacter || className.slice(index, index + separatorLength) === separator)) {
|
|
203
|
+
modifiers.push(className.slice(modifierStart, index));
|
|
204
|
+
modifierStart = index + separatorLength;
|
|
205
|
+
continue;
|
|
206
|
+
}
|
|
207
|
+
if (currentCharacter === "/") {
|
|
208
|
+
postfixModifierPosition = index;
|
|
209
|
+
continue;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
if (currentCharacter === "[") {
|
|
213
|
+
bracketDepth++;
|
|
214
|
+
} else if (currentCharacter === "]") {
|
|
215
|
+
bracketDepth--;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
|
|
219
|
+
const hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
|
|
220
|
+
const baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
|
|
221
|
+
const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
|
|
222
|
+
return {
|
|
223
|
+
modifiers,
|
|
224
|
+
hasImportantModifier,
|
|
225
|
+
baseClassName,
|
|
226
|
+
maybePostfixModifierPosition
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
if (experimentalParseClassName) {
|
|
230
|
+
return (className) => experimentalParseClassName({
|
|
231
|
+
className,
|
|
232
|
+
parseClassName
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
return parseClassName;
|
|
236
|
+
};
|
|
237
|
+
const sortModifiers = (modifiers) => {
|
|
238
|
+
if (modifiers.length <= 1) {
|
|
239
|
+
return modifiers;
|
|
240
|
+
}
|
|
241
|
+
const sortedModifiers = [];
|
|
242
|
+
let unsortedModifiers = [];
|
|
243
|
+
modifiers.forEach((modifier) => {
|
|
244
|
+
const isArbitraryVariant = modifier[0] === "[";
|
|
245
|
+
if (isArbitraryVariant) {
|
|
246
|
+
sortedModifiers.push(...unsortedModifiers.sort(), modifier);
|
|
247
|
+
unsortedModifiers = [];
|
|
248
|
+
} else {
|
|
249
|
+
unsortedModifiers.push(modifier);
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
sortedModifiers.push(...unsortedModifiers.sort());
|
|
253
|
+
return sortedModifiers;
|
|
254
|
+
};
|
|
255
|
+
const createConfigUtils = (config) => ({
|
|
256
|
+
cache: createLruCache(config.cacheSize),
|
|
257
|
+
parseClassName: createParseClassName(config),
|
|
258
|
+
...createClassGroupUtils(config)
|
|
259
|
+
});
|
|
260
|
+
const SPLIT_CLASSES_REGEX = /\s+/;
|
|
261
|
+
const mergeClassList = (classList, configUtils) => {
|
|
262
|
+
const {
|
|
263
|
+
parseClassName,
|
|
264
|
+
getClassGroupId,
|
|
265
|
+
getConflictingClassGroupIds
|
|
266
|
+
} = configUtils;
|
|
267
|
+
const classGroupsInConflict = [];
|
|
268
|
+
const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
|
|
269
|
+
let result = "";
|
|
270
|
+
for (let index = classNames.length - 1; index >= 0; index -= 1) {
|
|
271
|
+
const originalClassName = classNames[index];
|
|
272
|
+
const {
|
|
273
|
+
modifiers,
|
|
274
|
+
hasImportantModifier,
|
|
275
|
+
baseClassName,
|
|
276
|
+
maybePostfixModifierPosition
|
|
277
|
+
} = parseClassName(originalClassName);
|
|
278
|
+
let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
|
|
279
|
+
let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
|
|
280
|
+
if (!classGroupId) {
|
|
281
|
+
if (!hasPostfixModifier) {
|
|
282
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
283
|
+
continue;
|
|
284
|
+
}
|
|
285
|
+
classGroupId = getClassGroupId(baseClassName);
|
|
286
|
+
if (!classGroupId) {
|
|
287
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
288
|
+
continue;
|
|
289
|
+
}
|
|
290
|
+
hasPostfixModifier = false;
|
|
291
|
+
}
|
|
292
|
+
const variantModifier = sortModifiers(modifiers).join(":");
|
|
293
|
+
const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
|
|
294
|
+
const classId = modifierId + classGroupId;
|
|
295
|
+
if (classGroupsInConflict.includes(classId)) {
|
|
296
|
+
continue;
|
|
297
|
+
}
|
|
298
|
+
classGroupsInConflict.push(classId);
|
|
299
|
+
const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
|
|
300
|
+
for (let i2 = 0; i2 < conflictGroups.length; ++i2) {
|
|
301
|
+
const group = conflictGroups[i2];
|
|
302
|
+
classGroupsInConflict.push(modifierId + group);
|
|
303
|
+
}
|
|
304
|
+
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
305
|
+
}
|
|
306
|
+
return result;
|
|
307
|
+
};
|
|
308
|
+
function twJoin() {
|
|
309
|
+
let index = 0;
|
|
310
|
+
let argument;
|
|
311
|
+
let resolvedValue;
|
|
312
|
+
let string = "";
|
|
313
|
+
while (index < arguments.length) {
|
|
314
|
+
if (argument = arguments[index++]) {
|
|
315
|
+
if (resolvedValue = toValue(argument)) {
|
|
316
|
+
string && (string += " ");
|
|
317
|
+
string += resolvedValue;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
return string;
|
|
322
|
+
}
|
|
323
|
+
const toValue = (mix) => {
|
|
324
|
+
if (typeof mix === "string") {
|
|
325
|
+
return mix;
|
|
326
|
+
}
|
|
327
|
+
let resolvedValue;
|
|
328
|
+
let string = "";
|
|
329
|
+
for (let k = 0; k < mix.length; k++) {
|
|
330
|
+
if (mix[k]) {
|
|
331
|
+
if (resolvedValue = toValue(mix[k])) {
|
|
332
|
+
string && (string += " ");
|
|
333
|
+
string += resolvedValue;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
return string;
|
|
338
|
+
};
|
|
339
|
+
function createTailwindMerge(createConfigFirst, ...createConfigRest) {
|
|
340
|
+
let configUtils;
|
|
341
|
+
let cacheGet;
|
|
342
|
+
let cacheSet;
|
|
343
|
+
let functionToCall = initTailwindMerge;
|
|
344
|
+
function initTailwindMerge(classList) {
|
|
345
|
+
const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
|
|
346
|
+
configUtils = createConfigUtils(config);
|
|
347
|
+
cacheGet = configUtils.cache.get;
|
|
348
|
+
cacheSet = configUtils.cache.set;
|
|
349
|
+
functionToCall = tailwindMerge;
|
|
350
|
+
return tailwindMerge(classList);
|
|
351
|
+
}
|
|
352
|
+
function tailwindMerge(classList) {
|
|
353
|
+
const cachedResult = cacheGet(classList);
|
|
354
|
+
if (cachedResult) {
|
|
355
|
+
return cachedResult;
|
|
356
|
+
}
|
|
357
|
+
const result = mergeClassList(classList, configUtils);
|
|
358
|
+
cacheSet(classList, result);
|
|
359
|
+
return result;
|
|
360
|
+
}
|
|
361
|
+
return function callTailwindMerge() {
|
|
362
|
+
return functionToCall(twJoin.apply(null, arguments));
|
|
363
|
+
};
|
|
364
|
+
}
|
|
365
|
+
const fromTheme = (key) => {
|
|
366
|
+
const themeGetter = (theme) => theme[key] || [];
|
|
367
|
+
themeGetter.isThemeGetter = true;
|
|
368
|
+
return themeGetter;
|
|
369
|
+
};
|
|
370
|
+
const arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
|
|
371
|
+
const fractionRegex = /^\d+\/\d+$/;
|
|
372
|
+
const stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
|
|
373
|
+
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
374
|
+
const lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
|
|
375
|
+
const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
|
|
376
|
+
const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
377
|
+
const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
378
|
+
const isLength = (value) => isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
|
|
379
|
+
const isArbitraryLength = (value) => getIsArbitraryValue(value, "length", isLengthOnly);
|
|
380
|
+
const isNumber = (value) => Boolean(value) && !Number.isNaN(Number(value));
|
|
381
|
+
const isArbitraryNumber = (value) => getIsArbitraryValue(value, "number", isNumber);
|
|
382
|
+
const isInteger = (value) => Boolean(value) && Number.isInteger(Number(value));
|
|
383
|
+
const isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
|
|
384
|
+
const isArbitraryValue = (value) => arbitraryValueRegex.test(value);
|
|
385
|
+
const isTshirtSize = (value) => tshirtUnitRegex.test(value);
|
|
386
|
+
const sizeLabels = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
387
|
+
const isArbitrarySize = (value) => getIsArbitraryValue(value, sizeLabels, isNever);
|
|
388
|
+
const isArbitraryPosition = (value) => getIsArbitraryValue(value, "position", isNever);
|
|
389
|
+
const imageLabels = /* @__PURE__ */ new Set(["image", "url"]);
|
|
390
|
+
const isArbitraryImage = (value) => getIsArbitraryValue(value, imageLabels, isImage);
|
|
391
|
+
const isArbitraryShadow = (value) => getIsArbitraryValue(value, "", isShadow);
|
|
392
|
+
const isAny = () => true;
|
|
393
|
+
const getIsArbitraryValue = (value, label, testValue) => {
|
|
394
|
+
const result = arbitraryValueRegex.exec(value);
|
|
395
|
+
if (result) {
|
|
396
|
+
if (result[1]) {
|
|
397
|
+
return typeof label === "string" ? result[1] === label : label.has(result[1]);
|
|
398
|
+
}
|
|
399
|
+
return testValue(result[2]);
|
|
400
|
+
}
|
|
401
|
+
return false;
|
|
402
|
+
};
|
|
403
|
+
const isLengthOnly = (value) => (
|
|
404
|
+
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
405
|
+
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
406
|
+
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
407
|
+
lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
|
|
408
|
+
);
|
|
409
|
+
const isNever = () => false;
|
|
410
|
+
const isShadow = (value) => shadowRegex.test(value);
|
|
411
|
+
const isImage = (value) => imageRegex.test(value);
|
|
412
|
+
const getDefaultConfig = () => {
|
|
413
|
+
const colors = fromTheme("colors");
|
|
414
|
+
const spacing = fromTheme("spacing");
|
|
415
|
+
const blur = fromTheme("blur");
|
|
416
|
+
const brightness = fromTheme("brightness");
|
|
417
|
+
const borderColor = fromTheme("borderColor");
|
|
418
|
+
const borderRadius = fromTheme("borderRadius");
|
|
419
|
+
const borderSpacing = fromTheme("borderSpacing");
|
|
420
|
+
const borderWidth = fromTheme("borderWidth");
|
|
421
|
+
const contrast = fromTheme("contrast");
|
|
422
|
+
const grayscale = fromTheme("grayscale");
|
|
423
|
+
const hueRotate = fromTheme("hueRotate");
|
|
424
|
+
const invert = fromTheme("invert");
|
|
425
|
+
const gap = fromTheme("gap");
|
|
426
|
+
const gradientColorStops = fromTheme("gradientColorStops");
|
|
427
|
+
const gradientColorStopPositions = fromTheme("gradientColorStopPositions");
|
|
428
|
+
const inset = fromTheme("inset");
|
|
429
|
+
const margin = fromTheme("margin");
|
|
430
|
+
const opacity = fromTheme("opacity");
|
|
431
|
+
const padding = fromTheme("padding");
|
|
432
|
+
const saturate = fromTheme("saturate");
|
|
433
|
+
const scale = fromTheme("scale");
|
|
434
|
+
const sepia = fromTheme("sepia");
|
|
435
|
+
const skew = fromTheme("skew");
|
|
436
|
+
const space = fromTheme("space");
|
|
437
|
+
const translate = fromTheme("translate");
|
|
438
|
+
const getOverscroll = () => ["auto", "contain", "none"];
|
|
439
|
+
const getOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
|
|
440
|
+
const getSpacingWithAutoAndArbitrary = () => ["auto", isArbitraryValue, spacing];
|
|
441
|
+
const getSpacingWithArbitrary = () => [isArbitraryValue, spacing];
|
|
442
|
+
const getLengthWithEmptyAndArbitrary = () => ["", isLength, isArbitraryLength];
|
|
443
|
+
const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
|
|
444
|
+
const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
|
|
445
|
+
const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
|
|
446
|
+
const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
|
|
447
|
+
const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
|
|
448
|
+
const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
|
|
449
|
+
const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
|
|
450
|
+
const getNumberAndArbitrary = () => [isNumber, isArbitraryValue];
|
|
451
|
+
return {
|
|
452
|
+
cacheSize: 500,
|
|
453
|
+
separator: ":",
|
|
454
|
+
theme: {
|
|
455
|
+
colors: [isAny],
|
|
456
|
+
spacing: [isLength, isArbitraryLength],
|
|
457
|
+
blur: ["none", "", isTshirtSize, isArbitraryValue],
|
|
458
|
+
brightness: getNumberAndArbitrary(),
|
|
459
|
+
borderColor: [colors],
|
|
460
|
+
borderRadius: ["none", "", "full", isTshirtSize, isArbitraryValue],
|
|
461
|
+
borderSpacing: getSpacingWithArbitrary(),
|
|
462
|
+
borderWidth: getLengthWithEmptyAndArbitrary(),
|
|
463
|
+
contrast: getNumberAndArbitrary(),
|
|
464
|
+
grayscale: getZeroAndEmpty(),
|
|
465
|
+
hueRotate: getNumberAndArbitrary(),
|
|
466
|
+
invert: getZeroAndEmpty(),
|
|
467
|
+
gap: getSpacingWithArbitrary(),
|
|
468
|
+
gradientColorStops: [colors],
|
|
469
|
+
gradientColorStopPositions: [isPercent, isArbitraryLength],
|
|
470
|
+
inset: getSpacingWithAutoAndArbitrary(),
|
|
471
|
+
margin: getSpacingWithAutoAndArbitrary(),
|
|
472
|
+
opacity: getNumberAndArbitrary(),
|
|
473
|
+
padding: getSpacingWithArbitrary(),
|
|
474
|
+
saturate: getNumberAndArbitrary(),
|
|
475
|
+
scale: getNumberAndArbitrary(),
|
|
476
|
+
sepia: getZeroAndEmpty(),
|
|
477
|
+
skew: getNumberAndArbitrary(),
|
|
478
|
+
space: getSpacingWithArbitrary(),
|
|
479
|
+
translate: getSpacingWithArbitrary()
|
|
480
|
+
},
|
|
481
|
+
classGroups: {
|
|
482
|
+
// Layout
|
|
483
|
+
/**
|
|
484
|
+
* Aspect Ratio
|
|
485
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
486
|
+
*/
|
|
487
|
+
aspect: [{
|
|
488
|
+
aspect: ["auto", "square", "video", isArbitraryValue]
|
|
489
|
+
}],
|
|
490
|
+
/**
|
|
491
|
+
* Container
|
|
492
|
+
* @see https://tailwindcss.com/docs/container
|
|
493
|
+
*/
|
|
494
|
+
container: ["container"],
|
|
495
|
+
/**
|
|
496
|
+
* Columns
|
|
497
|
+
* @see https://tailwindcss.com/docs/columns
|
|
498
|
+
*/
|
|
499
|
+
columns: [{
|
|
500
|
+
columns: [isTshirtSize]
|
|
501
|
+
}],
|
|
502
|
+
/**
|
|
503
|
+
* Break After
|
|
504
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
505
|
+
*/
|
|
506
|
+
"break-after": [{
|
|
507
|
+
"break-after": getBreaks()
|
|
508
|
+
}],
|
|
509
|
+
/**
|
|
510
|
+
* Break Before
|
|
511
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
512
|
+
*/
|
|
513
|
+
"break-before": [{
|
|
514
|
+
"break-before": getBreaks()
|
|
515
|
+
}],
|
|
516
|
+
/**
|
|
517
|
+
* Break Inside
|
|
518
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
519
|
+
*/
|
|
520
|
+
"break-inside": [{
|
|
521
|
+
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
|
|
522
|
+
}],
|
|
523
|
+
/**
|
|
524
|
+
* Box Decoration Break
|
|
525
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
526
|
+
*/
|
|
527
|
+
"box-decoration": [{
|
|
528
|
+
"box-decoration": ["slice", "clone"]
|
|
529
|
+
}],
|
|
530
|
+
/**
|
|
531
|
+
* Box Sizing
|
|
532
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
533
|
+
*/
|
|
534
|
+
box: [{
|
|
535
|
+
box: ["border", "content"]
|
|
536
|
+
}],
|
|
537
|
+
/**
|
|
538
|
+
* Display
|
|
539
|
+
* @see https://tailwindcss.com/docs/display
|
|
540
|
+
*/
|
|
541
|
+
display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
|
|
542
|
+
/**
|
|
543
|
+
* Floats
|
|
544
|
+
* @see https://tailwindcss.com/docs/float
|
|
545
|
+
*/
|
|
546
|
+
float: [{
|
|
547
|
+
float: ["right", "left", "none", "start", "end"]
|
|
548
|
+
}],
|
|
549
|
+
/**
|
|
550
|
+
* Clear
|
|
551
|
+
* @see https://tailwindcss.com/docs/clear
|
|
552
|
+
*/
|
|
553
|
+
clear: [{
|
|
554
|
+
clear: ["left", "right", "both", "none", "start", "end"]
|
|
555
|
+
}],
|
|
556
|
+
/**
|
|
557
|
+
* Isolation
|
|
558
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
559
|
+
*/
|
|
560
|
+
isolation: ["isolate", "isolation-auto"],
|
|
561
|
+
/**
|
|
562
|
+
* Object Fit
|
|
563
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
564
|
+
*/
|
|
565
|
+
"object-fit": [{
|
|
566
|
+
object: ["contain", "cover", "fill", "none", "scale-down"]
|
|
567
|
+
}],
|
|
568
|
+
/**
|
|
569
|
+
* Object Position
|
|
570
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
571
|
+
*/
|
|
572
|
+
"object-position": [{
|
|
573
|
+
object: [...getPositions(), isArbitraryValue]
|
|
574
|
+
}],
|
|
575
|
+
/**
|
|
576
|
+
* Overflow
|
|
577
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
578
|
+
*/
|
|
579
|
+
overflow: [{
|
|
580
|
+
overflow: getOverflow()
|
|
581
|
+
}],
|
|
582
|
+
/**
|
|
583
|
+
* Overflow X
|
|
584
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
585
|
+
*/
|
|
586
|
+
"overflow-x": [{
|
|
587
|
+
"overflow-x": getOverflow()
|
|
588
|
+
}],
|
|
589
|
+
/**
|
|
590
|
+
* Overflow Y
|
|
591
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
592
|
+
*/
|
|
593
|
+
"overflow-y": [{
|
|
594
|
+
"overflow-y": getOverflow()
|
|
595
|
+
}],
|
|
596
|
+
/**
|
|
597
|
+
* Overscroll Behavior
|
|
598
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
599
|
+
*/
|
|
600
|
+
overscroll: [{
|
|
601
|
+
overscroll: getOverscroll()
|
|
602
|
+
}],
|
|
603
|
+
/**
|
|
604
|
+
* Overscroll Behavior X
|
|
605
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
606
|
+
*/
|
|
607
|
+
"overscroll-x": [{
|
|
608
|
+
"overscroll-x": getOverscroll()
|
|
609
|
+
}],
|
|
610
|
+
/**
|
|
611
|
+
* Overscroll Behavior Y
|
|
612
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
613
|
+
*/
|
|
614
|
+
"overscroll-y": [{
|
|
615
|
+
"overscroll-y": getOverscroll()
|
|
616
|
+
}],
|
|
617
|
+
/**
|
|
618
|
+
* Position
|
|
619
|
+
* @see https://tailwindcss.com/docs/position
|
|
620
|
+
*/
|
|
621
|
+
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
622
|
+
/**
|
|
623
|
+
* Top / Right / Bottom / Left
|
|
624
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
625
|
+
*/
|
|
626
|
+
inset: [{
|
|
627
|
+
inset: [inset]
|
|
628
|
+
}],
|
|
629
|
+
/**
|
|
630
|
+
* Right / Left
|
|
631
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
632
|
+
*/
|
|
633
|
+
"inset-x": [{
|
|
634
|
+
"inset-x": [inset]
|
|
635
|
+
}],
|
|
636
|
+
/**
|
|
637
|
+
* Top / Bottom
|
|
638
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
639
|
+
*/
|
|
640
|
+
"inset-y": [{
|
|
641
|
+
"inset-y": [inset]
|
|
642
|
+
}],
|
|
643
|
+
/**
|
|
644
|
+
* Start
|
|
645
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
646
|
+
*/
|
|
647
|
+
start: [{
|
|
648
|
+
start: [inset]
|
|
649
|
+
}],
|
|
650
|
+
/**
|
|
651
|
+
* End
|
|
652
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
653
|
+
*/
|
|
654
|
+
end: [{
|
|
655
|
+
end: [inset]
|
|
656
|
+
}],
|
|
657
|
+
/**
|
|
658
|
+
* Top
|
|
659
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
660
|
+
*/
|
|
661
|
+
top: [{
|
|
662
|
+
top: [inset]
|
|
663
|
+
}],
|
|
664
|
+
/**
|
|
665
|
+
* Right
|
|
666
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
667
|
+
*/
|
|
668
|
+
right: [{
|
|
669
|
+
right: [inset]
|
|
670
|
+
}],
|
|
671
|
+
/**
|
|
672
|
+
* Bottom
|
|
673
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
674
|
+
*/
|
|
675
|
+
bottom: [{
|
|
676
|
+
bottom: [inset]
|
|
677
|
+
}],
|
|
678
|
+
/**
|
|
679
|
+
* Left
|
|
680
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
681
|
+
*/
|
|
682
|
+
left: [{
|
|
683
|
+
left: [inset]
|
|
684
|
+
}],
|
|
685
|
+
/**
|
|
686
|
+
* Visibility
|
|
687
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
688
|
+
*/
|
|
689
|
+
visibility: ["visible", "invisible", "collapse"],
|
|
690
|
+
/**
|
|
691
|
+
* Z-Index
|
|
692
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
693
|
+
*/
|
|
694
|
+
z: [{
|
|
695
|
+
z: ["auto", isInteger, isArbitraryValue]
|
|
696
|
+
}],
|
|
697
|
+
// Flexbox and Grid
|
|
698
|
+
/**
|
|
699
|
+
* Flex Basis
|
|
700
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
701
|
+
*/
|
|
702
|
+
basis: [{
|
|
703
|
+
basis: getSpacingWithAutoAndArbitrary()
|
|
704
|
+
}],
|
|
705
|
+
/**
|
|
706
|
+
* Flex Direction
|
|
707
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
708
|
+
*/
|
|
709
|
+
"flex-direction": [{
|
|
710
|
+
flex: ["row", "row-reverse", "col", "col-reverse"]
|
|
711
|
+
}],
|
|
712
|
+
/**
|
|
713
|
+
* Flex Wrap
|
|
714
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
715
|
+
*/
|
|
716
|
+
"flex-wrap": [{
|
|
717
|
+
flex: ["wrap", "wrap-reverse", "nowrap"]
|
|
718
|
+
}],
|
|
719
|
+
/**
|
|
720
|
+
* Flex
|
|
721
|
+
* @see https://tailwindcss.com/docs/flex
|
|
722
|
+
*/
|
|
723
|
+
flex: [{
|
|
724
|
+
flex: ["1", "auto", "initial", "none", isArbitraryValue]
|
|
725
|
+
}],
|
|
726
|
+
/**
|
|
727
|
+
* Flex Grow
|
|
728
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
729
|
+
*/
|
|
730
|
+
grow: [{
|
|
731
|
+
grow: getZeroAndEmpty()
|
|
732
|
+
}],
|
|
733
|
+
/**
|
|
734
|
+
* Flex Shrink
|
|
735
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
736
|
+
*/
|
|
737
|
+
shrink: [{
|
|
738
|
+
shrink: getZeroAndEmpty()
|
|
739
|
+
}],
|
|
740
|
+
/**
|
|
741
|
+
* Order
|
|
742
|
+
* @see https://tailwindcss.com/docs/order
|
|
743
|
+
*/
|
|
744
|
+
order: [{
|
|
745
|
+
order: ["first", "last", "none", isInteger, isArbitraryValue]
|
|
746
|
+
}],
|
|
747
|
+
/**
|
|
748
|
+
* Grid Template Columns
|
|
749
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
750
|
+
*/
|
|
751
|
+
"grid-cols": [{
|
|
752
|
+
"grid-cols": [isAny]
|
|
753
|
+
}],
|
|
754
|
+
/**
|
|
755
|
+
* Grid Column Start / End
|
|
756
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
757
|
+
*/
|
|
758
|
+
"col-start-end": [{
|
|
759
|
+
col: ["auto", {
|
|
760
|
+
span: ["full", isInteger, isArbitraryValue]
|
|
761
|
+
}, isArbitraryValue]
|
|
762
|
+
}],
|
|
763
|
+
/**
|
|
764
|
+
* Grid Column Start
|
|
765
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
766
|
+
*/
|
|
767
|
+
"col-start": [{
|
|
768
|
+
"col-start": getNumberWithAutoAndArbitrary()
|
|
769
|
+
}],
|
|
770
|
+
/**
|
|
771
|
+
* Grid Column End
|
|
772
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
773
|
+
*/
|
|
774
|
+
"col-end": [{
|
|
775
|
+
"col-end": getNumberWithAutoAndArbitrary()
|
|
776
|
+
}],
|
|
777
|
+
/**
|
|
778
|
+
* Grid Template Rows
|
|
779
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
780
|
+
*/
|
|
781
|
+
"grid-rows": [{
|
|
782
|
+
"grid-rows": [isAny]
|
|
783
|
+
}],
|
|
784
|
+
/**
|
|
785
|
+
* Grid Row Start / End
|
|
786
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
787
|
+
*/
|
|
788
|
+
"row-start-end": [{
|
|
789
|
+
row: ["auto", {
|
|
790
|
+
span: [isInteger, isArbitraryValue]
|
|
791
|
+
}, isArbitraryValue]
|
|
792
|
+
}],
|
|
793
|
+
/**
|
|
794
|
+
* Grid Row Start
|
|
795
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
796
|
+
*/
|
|
797
|
+
"row-start": [{
|
|
798
|
+
"row-start": getNumberWithAutoAndArbitrary()
|
|
799
|
+
}],
|
|
800
|
+
/**
|
|
801
|
+
* Grid Row End
|
|
802
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
803
|
+
*/
|
|
804
|
+
"row-end": [{
|
|
805
|
+
"row-end": getNumberWithAutoAndArbitrary()
|
|
806
|
+
}],
|
|
807
|
+
/**
|
|
808
|
+
* Grid Auto Flow
|
|
809
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
810
|
+
*/
|
|
811
|
+
"grid-flow": [{
|
|
812
|
+
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
|
|
813
|
+
}],
|
|
814
|
+
/**
|
|
815
|
+
* Grid Auto Columns
|
|
816
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
817
|
+
*/
|
|
818
|
+
"auto-cols": [{
|
|
819
|
+
"auto-cols": ["auto", "min", "max", "fr", isArbitraryValue]
|
|
820
|
+
}],
|
|
821
|
+
/**
|
|
822
|
+
* Grid Auto Rows
|
|
823
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
824
|
+
*/
|
|
825
|
+
"auto-rows": [{
|
|
826
|
+
"auto-rows": ["auto", "min", "max", "fr", isArbitraryValue]
|
|
827
|
+
}],
|
|
828
|
+
/**
|
|
829
|
+
* Gap
|
|
830
|
+
* @see https://tailwindcss.com/docs/gap
|
|
831
|
+
*/
|
|
832
|
+
gap: [{
|
|
833
|
+
gap: [gap]
|
|
834
|
+
}],
|
|
835
|
+
/**
|
|
836
|
+
* Gap X
|
|
837
|
+
* @see https://tailwindcss.com/docs/gap
|
|
838
|
+
*/
|
|
839
|
+
"gap-x": [{
|
|
840
|
+
"gap-x": [gap]
|
|
841
|
+
}],
|
|
842
|
+
/**
|
|
843
|
+
* Gap Y
|
|
844
|
+
* @see https://tailwindcss.com/docs/gap
|
|
845
|
+
*/
|
|
846
|
+
"gap-y": [{
|
|
847
|
+
"gap-y": [gap]
|
|
848
|
+
}],
|
|
849
|
+
/**
|
|
850
|
+
* Justify Content
|
|
851
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
852
|
+
*/
|
|
853
|
+
"justify-content": [{
|
|
854
|
+
justify: ["normal", ...getAlign()]
|
|
855
|
+
}],
|
|
856
|
+
/**
|
|
857
|
+
* Justify Items
|
|
858
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
859
|
+
*/
|
|
860
|
+
"justify-items": [{
|
|
861
|
+
"justify-items": ["start", "end", "center", "stretch"]
|
|
862
|
+
}],
|
|
863
|
+
/**
|
|
864
|
+
* Justify Self
|
|
865
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
866
|
+
*/
|
|
867
|
+
"justify-self": [{
|
|
868
|
+
"justify-self": ["auto", "start", "end", "center", "stretch"]
|
|
869
|
+
}],
|
|
870
|
+
/**
|
|
871
|
+
* Align Content
|
|
872
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
873
|
+
*/
|
|
874
|
+
"align-content": [{
|
|
875
|
+
content: ["normal", ...getAlign(), "baseline"]
|
|
876
|
+
}],
|
|
877
|
+
/**
|
|
878
|
+
* Align Items
|
|
879
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
880
|
+
*/
|
|
881
|
+
"align-items": [{
|
|
882
|
+
items: ["start", "end", "center", "baseline", "stretch"]
|
|
883
|
+
}],
|
|
884
|
+
/**
|
|
885
|
+
* Align Self
|
|
886
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
887
|
+
*/
|
|
888
|
+
"align-self": [{
|
|
889
|
+
self: ["auto", "start", "end", "center", "stretch", "baseline"]
|
|
890
|
+
}],
|
|
891
|
+
/**
|
|
892
|
+
* Place Content
|
|
893
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
894
|
+
*/
|
|
895
|
+
"place-content": [{
|
|
896
|
+
"place-content": [...getAlign(), "baseline"]
|
|
897
|
+
}],
|
|
898
|
+
/**
|
|
899
|
+
* Place Items
|
|
900
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
901
|
+
*/
|
|
902
|
+
"place-items": [{
|
|
903
|
+
"place-items": ["start", "end", "center", "baseline", "stretch"]
|
|
904
|
+
}],
|
|
905
|
+
/**
|
|
906
|
+
* Place Self
|
|
907
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
908
|
+
*/
|
|
909
|
+
"place-self": [{
|
|
910
|
+
"place-self": ["auto", "start", "end", "center", "stretch"]
|
|
911
|
+
}],
|
|
912
|
+
// Spacing
|
|
913
|
+
/**
|
|
914
|
+
* Padding
|
|
915
|
+
* @see https://tailwindcss.com/docs/padding
|
|
916
|
+
*/
|
|
917
|
+
p: [{
|
|
918
|
+
p: [padding]
|
|
919
|
+
}],
|
|
920
|
+
/**
|
|
921
|
+
* Padding X
|
|
922
|
+
* @see https://tailwindcss.com/docs/padding
|
|
923
|
+
*/
|
|
924
|
+
px: [{
|
|
925
|
+
px: [padding]
|
|
926
|
+
}],
|
|
927
|
+
/**
|
|
928
|
+
* Padding Y
|
|
929
|
+
* @see https://tailwindcss.com/docs/padding
|
|
930
|
+
*/
|
|
931
|
+
py: [{
|
|
932
|
+
py: [padding]
|
|
933
|
+
}],
|
|
934
|
+
/**
|
|
935
|
+
* Padding Start
|
|
936
|
+
* @see https://tailwindcss.com/docs/padding
|
|
937
|
+
*/
|
|
938
|
+
ps: [{
|
|
939
|
+
ps: [padding]
|
|
940
|
+
}],
|
|
941
|
+
/**
|
|
942
|
+
* Padding End
|
|
943
|
+
* @see https://tailwindcss.com/docs/padding
|
|
944
|
+
*/
|
|
945
|
+
pe: [{
|
|
946
|
+
pe: [padding]
|
|
947
|
+
}],
|
|
948
|
+
/**
|
|
949
|
+
* Padding Top
|
|
950
|
+
* @see https://tailwindcss.com/docs/padding
|
|
951
|
+
*/
|
|
952
|
+
pt: [{
|
|
953
|
+
pt: [padding]
|
|
954
|
+
}],
|
|
955
|
+
/**
|
|
956
|
+
* Padding Right
|
|
957
|
+
* @see https://tailwindcss.com/docs/padding
|
|
958
|
+
*/
|
|
959
|
+
pr: [{
|
|
960
|
+
pr: [padding]
|
|
961
|
+
}],
|
|
962
|
+
/**
|
|
963
|
+
* Padding Bottom
|
|
964
|
+
* @see https://tailwindcss.com/docs/padding
|
|
965
|
+
*/
|
|
966
|
+
pb: [{
|
|
967
|
+
pb: [padding]
|
|
968
|
+
}],
|
|
969
|
+
/**
|
|
970
|
+
* Padding Left
|
|
971
|
+
* @see https://tailwindcss.com/docs/padding
|
|
972
|
+
*/
|
|
973
|
+
pl: [{
|
|
974
|
+
pl: [padding]
|
|
975
|
+
}],
|
|
976
|
+
/**
|
|
977
|
+
* Margin
|
|
978
|
+
* @see https://tailwindcss.com/docs/margin
|
|
979
|
+
*/
|
|
980
|
+
m: [{
|
|
981
|
+
m: [margin]
|
|
982
|
+
}],
|
|
983
|
+
/**
|
|
984
|
+
* Margin X
|
|
985
|
+
* @see https://tailwindcss.com/docs/margin
|
|
986
|
+
*/
|
|
987
|
+
mx: [{
|
|
988
|
+
mx: [margin]
|
|
989
|
+
}],
|
|
990
|
+
/**
|
|
991
|
+
* Margin Y
|
|
992
|
+
* @see https://tailwindcss.com/docs/margin
|
|
993
|
+
*/
|
|
994
|
+
my: [{
|
|
995
|
+
my: [margin]
|
|
996
|
+
}],
|
|
997
|
+
/**
|
|
998
|
+
* Margin Start
|
|
999
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1000
|
+
*/
|
|
1001
|
+
ms: [{
|
|
1002
|
+
ms: [margin]
|
|
1003
|
+
}],
|
|
1004
|
+
/**
|
|
1005
|
+
* Margin End
|
|
1006
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1007
|
+
*/
|
|
1008
|
+
me: [{
|
|
1009
|
+
me: [margin]
|
|
1010
|
+
}],
|
|
1011
|
+
/**
|
|
1012
|
+
* Margin Top
|
|
1013
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1014
|
+
*/
|
|
1015
|
+
mt: [{
|
|
1016
|
+
mt: [margin]
|
|
1017
|
+
}],
|
|
1018
|
+
/**
|
|
1019
|
+
* Margin Right
|
|
1020
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1021
|
+
*/
|
|
1022
|
+
mr: [{
|
|
1023
|
+
mr: [margin]
|
|
1024
|
+
}],
|
|
1025
|
+
/**
|
|
1026
|
+
* Margin Bottom
|
|
1027
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1028
|
+
*/
|
|
1029
|
+
mb: [{
|
|
1030
|
+
mb: [margin]
|
|
1031
|
+
}],
|
|
1032
|
+
/**
|
|
1033
|
+
* Margin Left
|
|
1034
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1035
|
+
*/
|
|
1036
|
+
ml: [{
|
|
1037
|
+
ml: [margin]
|
|
1038
|
+
}],
|
|
1039
|
+
/**
|
|
1040
|
+
* Space Between X
|
|
1041
|
+
* @see https://tailwindcss.com/docs/space
|
|
1042
|
+
*/
|
|
1043
|
+
"space-x": [{
|
|
1044
|
+
"space-x": [space]
|
|
1045
|
+
}],
|
|
1046
|
+
/**
|
|
1047
|
+
* Space Between X Reverse
|
|
1048
|
+
* @see https://tailwindcss.com/docs/space
|
|
1049
|
+
*/
|
|
1050
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
1051
|
+
/**
|
|
1052
|
+
* Space Between Y
|
|
1053
|
+
* @see https://tailwindcss.com/docs/space
|
|
1054
|
+
*/
|
|
1055
|
+
"space-y": [{
|
|
1056
|
+
"space-y": [space]
|
|
1057
|
+
}],
|
|
1058
|
+
/**
|
|
1059
|
+
* Space Between Y Reverse
|
|
1060
|
+
* @see https://tailwindcss.com/docs/space
|
|
1061
|
+
*/
|
|
1062
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
1063
|
+
// Sizing
|
|
1064
|
+
/**
|
|
1065
|
+
* Width
|
|
1066
|
+
* @see https://tailwindcss.com/docs/width
|
|
1067
|
+
*/
|
|
1068
|
+
w: [{
|
|
1069
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", isArbitraryValue, spacing]
|
|
1070
|
+
}],
|
|
1071
|
+
/**
|
|
1072
|
+
* Min-Width
|
|
1073
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1074
|
+
*/
|
|
1075
|
+
"min-w": [{
|
|
1076
|
+
"min-w": [isArbitraryValue, spacing, "min", "max", "fit"]
|
|
1077
|
+
}],
|
|
1078
|
+
/**
|
|
1079
|
+
* Max-Width
|
|
1080
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1081
|
+
*/
|
|
1082
|
+
"max-w": [{
|
|
1083
|
+
"max-w": [isArbitraryValue, spacing, "none", "full", "min", "max", "fit", "prose", {
|
|
1084
|
+
screen: [isTshirtSize]
|
|
1085
|
+
}, isTshirtSize]
|
|
1086
|
+
}],
|
|
1087
|
+
/**
|
|
1088
|
+
* Height
|
|
1089
|
+
* @see https://tailwindcss.com/docs/height
|
|
1090
|
+
*/
|
|
1091
|
+
h: [{
|
|
1092
|
+
h: [isArbitraryValue, spacing, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1093
|
+
}],
|
|
1094
|
+
/**
|
|
1095
|
+
* Min-Height
|
|
1096
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1097
|
+
*/
|
|
1098
|
+
"min-h": [{
|
|
1099
|
+
"min-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1100
|
+
}],
|
|
1101
|
+
/**
|
|
1102
|
+
* Max-Height
|
|
1103
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1104
|
+
*/
|
|
1105
|
+
"max-h": [{
|
|
1106
|
+
"max-h": [isArbitraryValue, spacing, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1107
|
+
}],
|
|
1108
|
+
/**
|
|
1109
|
+
* Size
|
|
1110
|
+
* @see https://tailwindcss.com/docs/size
|
|
1111
|
+
*/
|
|
1112
|
+
size: [{
|
|
1113
|
+
size: [isArbitraryValue, spacing, "auto", "min", "max", "fit"]
|
|
1114
|
+
}],
|
|
1115
|
+
// Typography
|
|
1116
|
+
/**
|
|
1117
|
+
* Font Size
|
|
1118
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
1119
|
+
*/
|
|
1120
|
+
"font-size": [{
|
|
1121
|
+
text: ["base", isTshirtSize, isArbitraryLength]
|
|
1122
|
+
}],
|
|
1123
|
+
/**
|
|
1124
|
+
* Font Smoothing
|
|
1125
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
1126
|
+
*/
|
|
1127
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1128
|
+
/**
|
|
1129
|
+
* Font Style
|
|
1130
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
1131
|
+
*/
|
|
1132
|
+
"font-style": ["italic", "not-italic"],
|
|
1133
|
+
/**
|
|
1134
|
+
* Font Weight
|
|
1135
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
1136
|
+
*/
|
|
1137
|
+
"font-weight": [{
|
|
1138
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", isArbitraryNumber]
|
|
1139
|
+
}],
|
|
1140
|
+
/**
|
|
1141
|
+
* Font Family
|
|
1142
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
1143
|
+
*/
|
|
1144
|
+
"font-family": [{
|
|
1145
|
+
font: [isAny]
|
|
1146
|
+
}],
|
|
1147
|
+
/**
|
|
1148
|
+
* Font Variant Numeric
|
|
1149
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1150
|
+
*/
|
|
1151
|
+
"fvn-normal": ["normal-nums"],
|
|
1152
|
+
/**
|
|
1153
|
+
* Font Variant Numeric
|
|
1154
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1155
|
+
*/
|
|
1156
|
+
"fvn-ordinal": ["ordinal"],
|
|
1157
|
+
/**
|
|
1158
|
+
* Font Variant Numeric
|
|
1159
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1160
|
+
*/
|
|
1161
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
1162
|
+
/**
|
|
1163
|
+
* Font Variant Numeric
|
|
1164
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1165
|
+
*/
|
|
1166
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
1167
|
+
/**
|
|
1168
|
+
* Font Variant Numeric
|
|
1169
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1170
|
+
*/
|
|
1171
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
1172
|
+
/**
|
|
1173
|
+
* Font Variant Numeric
|
|
1174
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1175
|
+
*/
|
|
1176
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
|
|
1177
|
+
/**
|
|
1178
|
+
* Letter Spacing
|
|
1179
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1180
|
+
*/
|
|
1181
|
+
tracking: [{
|
|
1182
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", isArbitraryValue]
|
|
1183
|
+
}],
|
|
1184
|
+
/**
|
|
1185
|
+
* Line Clamp
|
|
1186
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
1187
|
+
*/
|
|
1188
|
+
"line-clamp": [{
|
|
1189
|
+
"line-clamp": ["none", isNumber, isArbitraryNumber]
|
|
1190
|
+
}],
|
|
1191
|
+
/**
|
|
1192
|
+
* Line Height
|
|
1193
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
1194
|
+
*/
|
|
1195
|
+
leading: [{
|
|
1196
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", isLength, isArbitraryValue]
|
|
1197
|
+
}],
|
|
1198
|
+
/**
|
|
1199
|
+
* List Style Image
|
|
1200
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
1201
|
+
*/
|
|
1202
|
+
"list-image": [{
|
|
1203
|
+
"list-image": ["none", isArbitraryValue]
|
|
1204
|
+
}],
|
|
1205
|
+
/**
|
|
1206
|
+
* List Style Type
|
|
1207
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
1208
|
+
*/
|
|
1209
|
+
"list-style-type": [{
|
|
1210
|
+
list: ["none", "disc", "decimal", isArbitraryValue]
|
|
1211
|
+
}],
|
|
1212
|
+
/**
|
|
1213
|
+
* List Style Position
|
|
1214
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
1215
|
+
*/
|
|
1216
|
+
"list-style-position": [{
|
|
1217
|
+
list: ["inside", "outside"]
|
|
1218
|
+
}],
|
|
1219
|
+
/**
|
|
1220
|
+
* Placeholder Color
|
|
1221
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1222
|
+
* @see https://tailwindcss.com/docs/placeholder-color
|
|
1223
|
+
*/
|
|
1224
|
+
"placeholder-color": [{
|
|
1225
|
+
placeholder: [colors]
|
|
1226
|
+
}],
|
|
1227
|
+
/**
|
|
1228
|
+
* Placeholder Opacity
|
|
1229
|
+
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1230
|
+
*/
|
|
1231
|
+
"placeholder-opacity": [{
|
|
1232
|
+
"placeholder-opacity": [opacity]
|
|
1233
|
+
}],
|
|
1234
|
+
/**
|
|
1235
|
+
* Text Alignment
|
|
1236
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
1237
|
+
*/
|
|
1238
|
+
"text-alignment": [{
|
|
1239
|
+
text: ["left", "center", "right", "justify", "start", "end"]
|
|
1240
|
+
}],
|
|
1241
|
+
/**
|
|
1242
|
+
* Text Color
|
|
1243
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
1244
|
+
*/
|
|
1245
|
+
"text-color": [{
|
|
1246
|
+
text: [colors]
|
|
1247
|
+
}],
|
|
1248
|
+
/**
|
|
1249
|
+
* Text Opacity
|
|
1250
|
+
* @see https://tailwindcss.com/docs/text-opacity
|
|
1251
|
+
*/
|
|
1252
|
+
"text-opacity": [{
|
|
1253
|
+
"text-opacity": [opacity]
|
|
1254
|
+
}],
|
|
1255
|
+
/**
|
|
1256
|
+
* Text Decoration
|
|
1257
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
1258
|
+
*/
|
|
1259
|
+
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
|
|
1260
|
+
/**
|
|
1261
|
+
* Text Decoration Style
|
|
1262
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1263
|
+
*/
|
|
1264
|
+
"text-decoration-style": [{
|
|
1265
|
+
decoration: [...getLineStyles(), "wavy"]
|
|
1266
|
+
}],
|
|
1267
|
+
/**
|
|
1268
|
+
* Text Decoration Thickness
|
|
1269
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1270
|
+
*/
|
|
1271
|
+
"text-decoration-thickness": [{
|
|
1272
|
+
decoration: ["auto", "from-font", isLength, isArbitraryLength]
|
|
1273
|
+
}],
|
|
1274
|
+
/**
|
|
1275
|
+
* Text Underline Offset
|
|
1276
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1277
|
+
*/
|
|
1278
|
+
"underline-offset": [{
|
|
1279
|
+
"underline-offset": ["auto", isLength, isArbitraryValue]
|
|
1280
|
+
}],
|
|
1281
|
+
/**
|
|
1282
|
+
* Text Decoration Color
|
|
1283
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1284
|
+
*/
|
|
1285
|
+
"text-decoration-color": [{
|
|
1286
|
+
decoration: [colors]
|
|
1287
|
+
}],
|
|
1288
|
+
/**
|
|
1289
|
+
* Text Transform
|
|
1290
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
1291
|
+
*/
|
|
1292
|
+
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
|
|
1293
|
+
/**
|
|
1294
|
+
* Text Overflow
|
|
1295
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
1296
|
+
*/
|
|
1297
|
+
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
|
|
1298
|
+
/**
|
|
1299
|
+
* Text Wrap
|
|
1300
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
1301
|
+
*/
|
|
1302
|
+
"text-wrap": [{
|
|
1303
|
+
text: ["wrap", "nowrap", "balance", "pretty"]
|
|
1304
|
+
}],
|
|
1305
|
+
/**
|
|
1306
|
+
* Text Indent
|
|
1307
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
1308
|
+
*/
|
|
1309
|
+
indent: [{
|
|
1310
|
+
indent: getSpacingWithArbitrary()
|
|
1311
|
+
}],
|
|
1312
|
+
/**
|
|
1313
|
+
* Vertical Alignment
|
|
1314
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
1315
|
+
*/
|
|
1316
|
+
"vertical-align": [{
|
|
1317
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", isArbitraryValue]
|
|
1318
|
+
}],
|
|
1319
|
+
/**
|
|
1320
|
+
* Whitespace
|
|
1321
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
1322
|
+
*/
|
|
1323
|
+
whitespace: [{
|
|
1324
|
+
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
|
|
1325
|
+
}],
|
|
1326
|
+
/**
|
|
1327
|
+
* Word Break
|
|
1328
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
1329
|
+
*/
|
|
1330
|
+
break: [{
|
|
1331
|
+
break: ["normal", "words", "all", "keep"]
|
|
1332
|
+
}],
|
|
1333
|
+
/**
|
|
1334
|
+
* Hyphens
|
|
1335
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
1336
|
+
*/
|
|
1337
|
+
hyphens: [{
|
|
1338
|
+
hyphens: ["none", "manual", "auto"]
|
|
1339
|
+
}],
|
|
1340
|
+
/**
|
|
1341
|
+
* Content
|
|
1342
|
+
* @see https://tailwindcss.com/docs/content
|
|
1343
|
+
*/
|
|
1344
|
+
content: [{
|
|
1345
|
+
content: ["none", isArbitraryValue]
|
|
1346
|
+
}],
|
|
1347
|
+
// Backgrounds
|
|
1348
|
+
/**
|
|
1349
|
+
* Background Attachment
|
|
1350
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
1351
|
+
*/
|
|
1352
|
+
"bg-attachment": [{
|
|
1353
|
+
bg: ["fixed", "local", "scroll"]
|
|
1354
|
+
}],
|
|
1355
|
+
/**
|
|
1356
|
+
* Background Clip
|
|
1357
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
1358
|
+
*/
|
|
1359
|
+
"bg-clip": [{
|
|
1360
|
+
"bg-clip": ["border", "padding", "content", "text"]
|
|
1361
|
+
}],
|
|
1362
|
+
/**
|
|
1363
|
+
* Background Opacity
|
|
1364
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1365
|
+
* @see https://tailwindcss.com/docs/background-opacity
|
|
1366
|
+
*/
|
|
1367
|
+
"bg-opacity": [{
|
|
1368
|
+
"bg-opacity": [opacity]
|
|
1369
|
+
}],
|
|
1370
|
+
/**
|
|
1371
|
+
* Background Origin
|
|
1372
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
1373
|
+
*/
|
|
1374
|
+
"bg-origin": [{
|
|
1375
|
+
"bg-origin": ["border", "padding", "content"]
|
|
1376
|
+
}],
|
|
1377
|
+
/**
|
|
1378
|
+
* Background Position
|
|
1379
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
1380
|
+
*/
|
|
1381
|
+
"bg-position": [{
|
|
1382
|
+
bg: [...getPositions(), isArbitraryPosition]
|
|
1383
|
+
}],
|
|
1384
|
+
/**
|
|
1385
|
+
* Background Repeat
|
|
1386
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
1387
|
+
*/
|
|
1388
|
+
"bg-repeat": [{
|
|
1389
|
+
bg: ["no-repeat", {
|
|
1390
|
+
repeat: ["", "x", "y", "round", "space"]
|
|
1391
|
+
}]
|
|
1392
|
+
}],
|
|
1393
|
+
/**
|
|
1394
|
+
* Background Size
|
|
1395
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
1396
|
+
*/
|
|
1397
|
+
"bg-size": [{
|
|
1398
|
+
bg: ["auto", "cover", "contain", isArbitrarySize]
|
|
1399
|
+
}],
|
|
1400
|
+
/**
|
|
1401
|
+
* Background Image
|
|
1402
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
1403
|
+
*/
|
|
1404
|
+
"bg-image": [{
|
|
1405
|
+
bg: ["none", {
|
|
1406
|
+
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1407
|
+
}, isArbitraryImage]
|
|
1408
|
+
}],
|
|
1409
|
+
/**
|
|
1410
|
+
* Background Color
|
|
1411
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
1412
|
+
*/
|
|
1413
|
+
"bg-color": [{
|
|
1414
|
+
bg: [colors]
|
|
1415
|
+
}],
|
|
1416
|
+
/**
|
|
1417
|
+
* Gradient Color Stops From Position
|
|
1418
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1419
|
+
*/
|
|
1420
|
+
"gradient-from-pos": [{
|
|
1421
|
+
from: [gradientColorStopPositions]
|
|
1422
|
+
}],
|
|
1423
|
+
/**
|
|
1424
|
+
* Gradient Color Stops Via Position
|
|
1425
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1426
|
+
*/
|
|
1427
|
+
"gradient-via-pos": [{
|
|
1428
|
+
via: [gradientColorStopPositions]
|
|
1429
|
+
}],
|
|
1430
|
+
/**
|
|
1431
|
+
* Gradient Color Stops To Position
|
|
1432
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1433
|
+
*/
|
|
1434
|
+
"gradient-to-pos": [{
|
|
1435
|
+
to: [gradientColorStopPositions]
|
|
1436
|
+
}],
|
|
1437
|
+
/**
|
|
1438
|
+
* Gradient Color Stops From
|
|
1439
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1440
|
+
*/
|
|
1441
|
+
"gradient-from": [{
|
|
1442
|
+
from: [gradientColorStops]
|
|
1443
|
+
}],
|
|
1444
|
+
/**
|
|
1445
|
+
* Gradient Color Stops Via
|
|
1446
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1447
|
+
*/
|
|
1448
|
+
"gradient-via": [{
|
|
1449
|
+
via: [gradientColorStops]
|
|
1450
|
+
}],
|
|
1451
|
+
/**
|
|
1452
|
+
* Gradient Color Stops To
|
|
1453
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1454
|
+
*/
|
|
1455
|
+
"gradient-to": [{
|
|
1456
|
+
to: [gradientColorStops]
|
|
1457
|
+
}],
|
|
1458
|
+
// Borders
|
|
1459
|
+
/**
|
|
1460
|
+
* Border Radius
|
|
1461
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1462
|
+
*/
|
|
1463
|
+
rounded: [{
|
|
1464
|
+
rounded: [borderRadius]
|
|
1465
|
+
}],
|
|
1466
|
+
/**
|
|
1467
|
+
* Border Radius Start
|
|
1468
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1469
|
+
*/
|
|
1470
|
+
"rounded-s": [{
|
|
1471
|
+
"rounded-s": [borderRadius]
|
|
1472
|
+
}],
|
|
1473
|
+
/**
|
|
1474
|
+
* Border Radius End
|
|
1475
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1476
|
+
*/
|
|
1477
|
+
"rounded-e": [{
|
|
1478
|
+
"rounded-e": [borderRadius]
|
|
1479
|
+
}],
|
|
1480
|
+
/**
|
|
1481
|
+
* Border Radius Top
|
|
1482
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1483
|
+
*/
|
|
1484
|
+
"rounded-t": [{
|
|
1485
|
+
"rounded-t": [borderRadius]
|
|
1486
|
+
}],
|
|
1487
|
+
/**
|
|
1488
|
+
* Border Radius Right
|
|
1489
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1490
|
+
*/
|
|
1491
|
+
"rounded-r": [{
|
|
1492
|
+
"rounded-r": [borderRadius]
|
|
1493
|
+
}],
|
|
1494
|
+
/**
|
|
1495
|
+
* Border Radius Bottom
|
|
1496
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1497
|
+
*/
|
|
1498
|
+
"rounded-b": [{
|
|
1499
|
+
"rounded-b": [borderRadius]
|
|
1500
|
+
}],
|
|
1501
|
+
/**
|
|
1502
|
+
* Border Radius Left
|
|
1503
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1504
|
+
*/
|
|
1505
|
+
"rounded-l": [{
|
|
1506
|
+
"rounded-l": [borderRadius]
|
|
1507
|
+
}],
|
|
1508
|
+
/**
|
|
1509
|
+
* Border Radius Start Start
|
|
1510
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1511
|
+
*/
|
|
1512
|
+
"rounded-ss": [{
|
|
1513
|
+
"rounded-ss": [borderRadius]
|
|
1514
|
+
}],
|
|
1515
|
+
/**
|
|
1516
|
+
* Border Radius Start End
|
|
1517
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1518
|
+
*/
|
|
1519
|
+
"rounded-se": [{
|
|
1520
|
+
"rounded-se": [borderRadius]
|
|
1521
|
+
}],
|
|
1522
|
+
/**
|
|
1523
|
+
* Border Radius End End
|
|
1524
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1525
|
+
*/
|
|
1526
|
+
"rounded-ee": [{
|
|
1527
|
+
"rounded-ee": [borderRadius]
|
|
1528
|
+
}],
|
|
1529
|
+
/**
|
|
1530
|
+
* Border Radius End Start
|
|
1531
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1532
|
+
*/
|
|
1533
|
+
"rounded-es": [{
|
|
1534
|
+
"rounded-es": [borderRadius]
|
|
1535
|
+
}],
|
|
1536
|
+
/**
|
|
1537
|
+
* Border Radius Top Left
|
|
1538
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1539
|
+
*/
|
|
1540
|
+
"rounded-tl": [{
|
|
1541
|
+
"rounded-tl": [borderRadius]
|
|
1542
|
+
}],
|
|
1543
|
+
/**
|
|
1544
|
+
* Border Radius Top Right
|
|
1545
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1546
|
+
*/
|
|
1547
|
+
"rounded-tr": [{
|
|
1548
|
+
"rounded-tr": [borderRadius]
|
|
1549
|
+
}],
|
|
1550
|
+
/**
|
|
1551
|
+
* Border Radius Bottom Right
|
|
1552
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1553
|
+
*/
|
|
1554
|
+
"rounded-br": [{
|
|
1555
|
+
"rounded-br": [borderRadius]
|
|
1556
|
+
}],
|
|
1557
|
+
/**
|
|
1558
|
+
* Border Radius Bottom Left
|
|
1559
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1560
|
+
*/
|
|
1561
|
+
"rounded-bl": [{
|
|
1562
|
+
"rounded-bl": [borderRadius]
|
|
1563
|
+
}],
|
|
1564
|
+
/**
|
|
1565
|
+
* Border Width
|
|
1566
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1567
|
+
*/
|
|
1568
|
+
"border-w": [{
|
|
1569
|
+
border: [borderWidth]
|
|
1570
|
+
}],
|
|
1571
|
+
/**
|
|
1572
|
+
* Border Width X
|
|
1573
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1574
|
+
*/
|
|
1575
|
+
"border-w-x": [{
|
|
1576
|
+
"border-x": [borderWidth]
|
|
1577
|
+
}],
|
|
1578
|
+
/**
|
|
1579
|
+
* Border Width Y
|
|
1580
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1581
|
+
*/
|
|
1582
|
+
"border-w-y": [{
|
|
1583
|
+
"border-y": [borderWidth]
|
|
1584
|
+
}],
|
|
1585
|
+
/**
|
|
1586
|
+
* Border Width Start
|
|
1587
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1588
|
+
*/
|
|
1589
|
+
"border-w-s": [{
|
|
1590
|
+
"border-s": [borderWidth]
|
|
1591
|
+
}],
|
|
1592
|
+
/**
|
|
1593
|
+
* Border Width End
|
|
1594
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1595
|
+
*/
|
|
1596
|
+
"border-w-e": [{
|
|
1597
|
+
"border-e": [borderWidth]
|
|
1598
|
+
}],
|
|
1599
|
+
/**
|
|
1600
|
+
* Border Width Top
|
|
1601
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1602
|
+
*/
|
|
1603
|
+
"border-w-t": [{
|
|
1604
|
+
"border-t": [borderWidth]
|
|
1605
|
+
}],
|
|
1606
|
+
/**
|
|
1607
|
+
* Border Width Right
|
|
1608
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1609
|
+
*/
|
|
1610
|
+
"border-w-r": [{
|
|
1611
|
+
"border-r": [borderWidth]
|
|
1612
|
+
}],
|
|
1613
|
+
/**
|
|
1614
|
+
* Border Width Bottom
|
|
1615
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1616
|
+
*/
|
|
1617
|
+
"border-w-b": [{
|
|
1618
|
+
"border-b": [borderWidth]
|
|
1619
|
+
}],
|
|
1620
|
+
/**
|
|
1621
|
+
* Border Width Left
|
|
1622
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1623
|
+
*/
|
|
1624
|
+
"border-w-l": [{
|
|
1625
|
+
"border-l": [borderWidth]
|
|
1626
|
+
}],
|
|
1627
|
+
/**
|
|
1628
|
+
* Border Opacity
|
|
1629
|
+
* @see https://tailwindcss.com/docs/border-opacity
|
|
1630
|
+
*/
|
|
1631
|
+
"border-opacity": [{
|
|
1632
|
+
"border-opacity": [opacity]
|
|
1633
|
+
}],
|
|
1634
|
+
/**
|
|
1635
|
+
* Border Style
|
|
1636
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
1637
|
+
*/
|
|
1638
|
+
"border-style": [{
|
|
1639
|
+
border: [...getLineStyles(), "hidden"]
|
|
1640
|
+
}],
|
|
1641
|
+
/**
|
|
1642
|
+
* Divide Width X
|
|
1643
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
1644
|
+
*/
|
|
1645
|
+
"divide-x": [{
|
|
1646
|
+
"divide-x": [borderWidth]
|
|
1647
|
+
}],
|
|
1648
|
+
/**
|
|
1649
|
+
* Divide Width X Reverse
|
|
1650
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
1651
|
+
*/
|
|
1652
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
1653
|
+
/**
|
|
1654
|
+
* Divide Width Y
|
|
1655
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
1656
|
+
*/
|
|
1657
|
+
"divide-y": [{
|
|
1658
|
+
"divide-y": [borderWidth]
|
|
1659
|
+
}],
|
|
1660
|
+
/**
|
|
1661
|
+
* Divide Width Y Reverse
|
|
1662
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
1663
|
+
*/
|
|
1664
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
1665
|
+
/**
|
|
1666
|
+
* Divide Opacity
|
|
1667
|
+
* @see https://tailwindcss.com/docs/divide-opacity
|
|
1668
|
+
*/
|
|
1669
|
+
"divide-opacity": [{
|
|
1670
|
+
"divide-opacity": [opacity]
|
|
1671
|
+
}],
|
|
1672
|
+
/**
|
|
1673
|
+
* Divide Style
|
|
1674
|
+
* @see https://tailwindcss.com/docs/divide-style
|
|
1675
|
+
*/
|
|
1676
|
+
"divide-style": [{
|
|
1677
|
+
divide: getLineStyles()
|
|
1678
|
+
}],
|
|
1679
|
+
/**
|
|
1680
|
+
* Border Color
|
|
1681
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1682
|
+
*/
|
|
1683
|
+
"border-color": [{
|
|
1684
|
+
border: [borderColor]
|
|
1685
|
+
}],
|
|
1686
|
+
/**
|
|
1687
|
+
* Border Color X
|
|
1688
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1689
|
+
*/
|
|
1690
|
+
"border-color-x": [{
|
|
1691
|
+
"border-x": [borderColor]
|
|
1692
|
+
}],
|
|
1693
|
+
/**
|
|
1694
|
+
* Border Color Y
|
|
1695
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1696
|
+
*/
|
|
1697
|
+
"border-color-y": [{
|
|
1698
|
+
"border-y": [borderColor]
|
|
1699
|
+
}],
|
|
1700
|
+
/**
|
|
1701
|
+
* Border Color S
|
|
1702
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1703
|
+
*/
|
|
1704
|
+
"border-color-s": [{
|
|
1705
|
+
"border-s": [borderColor]
|
|
1706
|
+
}],
|
|
1707
|
+
/**
|
|
1708
|
+
* Border Color E
|
|
1709
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1710
|
+
*/
|
|
1711
|
+
"border-color-e": [{
|
|
1712
|
+
"border-e": [borderColor]
|
|
1713
|
+
}],
|
|
1714
|
+
/**
|
|
1715
|
+
* Border Color Top
|
|
1716
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1717
|
+
*/
|
|
1718
|
+
"border-color-t": [{
|
|
1719
|
+
"border-t": [borderColor]
|
|
1720
|
+
}],
|
|
1721
|
+
/**
|
|
1722
|
+
* Border Color Right
|
|
1723
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1724
|
+
*/
|
|
1725
|
+
"border-color-r": [{
|
|
1726
|
+
"border-r": [borderColor]
|
|
1727
|
+
}],
|
|
1728
|
+
/**
|
|
1729
|
+
* Border Color Bottom
|
|
1730
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1731
|
+
*/
|
|
1732
|
+
"border-color-b": [{
|
|
1733
|
+
"border-b": [borderColor]
|
|
1734
|
+
}],
|
|
1735
|
+
/**
|
|
1736
|
+
* Border Color Left
|
|
1737
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1738
|
+
*/
|
|
1739
|
+
"border-color-l": [{
|
|
1740
|
+
"border-l": [borderColor]
|
|
1741
|
+
}],
|
|
1742
|
+
/**
|
|
1743
|
+
* Divide Color
|
|
1744
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
1745
|
+
*/
|
|
1746
|
+
"divide-color": [{
|
|
1747
|
+
divide: [borderColor]
|
|
1748
|
+
}],
|
|
1749
|
+
/**
|
|
1750
|
+
* Outline Style
|
|
1751
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
1752
|
+
*/
|
|
1753
|
+
"outline-style": [{
|
|
1754
|
+
outline: ["", ...getLineStyles()]
|
|
1755
|
+
}],
|
|
1756
|
+
/**
|
|
1757
|
+
* Outline Offset
|
|
1758
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
1759
|
+
*/
|
|
1760
|
+
"outline-offset": [{
|
|
1761
|
+
"outline-offset": [isLength, isArbitraryValue]
|
|
1762
|
+
}],
|
|
1763
|
+
/**
|
|
1764
|
+
* Outline Width
|
|
1765
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
1766
|
+
*/
|
|
1767
|
+
"outline-w": [{
|
|
1768
|
+
outline: [isLength, isArbitraryLength]
|
|
1769
|
+
}],
|
|
1770
|
+
/**
|
|
1771
|
+
* Outline Color
|
|
1772
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
1773
|
+
*/
|
|
1774
|
+
"outline-color": [{
|
|
1775
|
+
outline: [colors]
|
|
1776
|
+
}],
|
|
1777
|
+
/**
|
|
1778
|
+
* Ring Width
|
|
1779
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
1780
|
+
*/
|
|
1781
|
+
"ring-w": [{
|
|
1782
|
+
ring: getLengthWithEmptyAndArbitrary()
|
|
1783
|
+
}],
|
|
1784
|
+
/**
|
|
1785
|
+
* Ring Width Inset
|
|
1786
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
1787
|
+
*/
|
|
1788
|
+
"ring-w-inset": ["ring-inset"],
|
|
1789
|
+
/**
|
|
1790
|
+
* Ring Color
|
|
1791
|
+
* @see https://tailwindcss.com/docs/ring-color
|
|
1792
|
+
*/
|
|
1793
|
+
"ring-color": [{
|
|
1794
|
+
ring: [colors]
|
|
1795
|
+
}],
|
|
1796
|
+
/**
|
|
1797
|
+
* Ring Opacity
|
|
1798
|
+
* @see https://tailwindcss.com/docs/ring-opacity
|
|
1799
|
+
*/
|
|
1800
|
+
"ring-opacity": [{
|
|
1801
|
+
"ring-opacity": [opacity]
|
|
1802
|
+
}],
|
|
1803
|
+
/**
|
|
1804
|
+
* Ring Offset Width
|
|
1805
|
+
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1806
|
+
*/
|
|
1807
|
+
"ring-offset-w": [{
|
|
1808
|
+
"ring-offset": [isLength, isArbitraryLength]
|
|
1809
|
+
}],
|
|
1810
|
+
/**
|
|
1811
|
+
* Ring Offset Color
|
|
1812
|
+
* @see https://tailwindcss.com/docs/ring-offset-color
|
|
1813
|
+
*/
|
|
1814
|
+
"ring-offset-color": [{
|
|
1815
|
+
"ring-offset": [colors]
|
|
1816
|
+
}],
|
|
1817
|
+
// Effects
|
|
1818
|
+
/**
|
|
1819
|
+
* Box Shadow
|
|
1820
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
1821
|
+
*/
|
|
1822
|
+
shadow: [{
|
|
1823
|
+
shadow: ["", "inner", "none", isTshirtSize, isArbitraryShadow]
|
|
1824
|
+
}],
|
|
1825
|
+
/**
|
|
1826
|
+
* Box Shadow Color
|
|
1827
|
+
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1828
|
+
*/
|
|
1829
|
+
"shadow-color": [{
|
|
1830
|
+
shadow: [isAny]
|
|
1831
|
+
}],
|
|
1832
|
+
/**
|
|
1833
|
+
* Opacity
|
|
1834
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
1835
|
+
*/
|
|
1836
|
+
opacity: [{
|
|
1837
|
+
opacity: [opacity]
|
|
1838
|
+
}],
|
|
1839
|
+
/**
|
|
1840
|
+
* Mix Blend Mode
|
|
1841
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1842
|
+
*/
|
|
1843
|
+
"mix-blend": [{
|
|
1844
|
+
"mix-blend": [...getBlendModes(), "plus-lighter", "plus-darker"]
|
|
1845
|
+
}],
|
|
1846
|
+
/**
|
|
1847
|
+
* Background Blend Mode
|
|
1848
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1849
|
+
*/
|
|
1850
|
+
"bg-blend": [{
|
|
1851
|
+
"bg-blend": getBlendModes()
|
|
1852
|
+
}],
|
|
1853
|
+
// Filters
|
|
1854
|
+
/**
|
|
1855
|
+
* Filter
|
|
1856
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1857
|
+
* @see https://tailwindcss.com/docs/filter
|
|
1858
|
+
*/
|
|
1859
|
+
filter: [{
|
|
1860
|
+
filter: ["", "none"]
|
|
1861
|
+
}],
|
|
1862
|
+
/**
|
|
1863
|
+
* Blur
|
|
1864
|
+
* @see https://tailwindcss.com/docs/blur
|
|
1865
|
+
*/
|
|
1866
|
+
blur: [{
|
|
1867
|
+
blur: [blur]
|
|
1868
|
+
}],
|
|
1869
|
+
/**
|
|
1870
|
+
* Brightness
|
|
1871
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
1872
|
+
*/
|
|
1873
|
+
brightness: [{
|
|
1874
|
+
brightness: [brightness]
|
|
1875
|
+
}],
|
|
1876
|
+
/**
|
|
1877
|
+
* Contrast
|
|
1878
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
1879
|
+
*/
|
|
1880
|
+
contrast: [{
|
|
1881
|
+
contrast: [contrast]
|
|
1882
|
+
}],
|
|
1883
|
+
/**
|
|
1884
|
+
* Drop Shadow
|
|
1885
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1886
|
+
*/
|
|
1887
|
+
"drop-shadow": [{
|
|
1888
|
+
"drop-shadow": ["", "none", isTshirtSize, isArbitraryValue]
|
|
1889
|
+
}],
|
|
1890
|
+
/**
|
|
1891
|
+
* Grayscale
|
|
1892
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
1893
|
+
*/
|
|
1894
|
+
grayscale: [{
|
|
1895
|
+
grayscale: [grayscale]
|
|
1896
|
+
}],
|
|
1897
|
+
/**
|
|
1898
|
+
* Hue Rotate
|
|
1899
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
1900
|
+
*/
|
|
1901
|
+
"hue-rotate": [{
|
|
1902
|
+
"hue-rotate": [hueRotate]
|
|
1903
|
+
}],
|
|
1904
|
+
/**
|
|
1905
|
+
* Invert
|
|
1906
|
+
* @see https://tailwindcss.com/docs/invert
|
|
1907
|
+
*/
|
|
1908
|
+
invert: [{
|
|
1909
|
+
invert: [invert]
|
|
1910
|
+
}],
|
|
1911
|
+
/**
|
|
1912
|
+
* Saturate
|
|
1913
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
1914
|
+
*/
|
|
1915
|
+
saturate: [{
|
|
1916
|
+
saturate: [saturate]
|
|
1917
|
+
}],
|
|
1918
|
+
/**
|
|
1919
|
+
* Sepia
|
|
1920
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
1921
|
+
*/
|
|
1922
|
+
sepia: [{
|
|
1923
|
+
sepia: [sepia]
|
|
1924
|
+
}],
|
|
1925
|
+
/**
|
|
1926
|
+
* Backdrop Filter
|
|
1927
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1928
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
1929
|
+
*/
|
|
1930
|
+
"backdrop-filter": [{
|
|
1931
|
+
"backdrop-filter": ["", "none"]
|
|
1932
|
+
}],
|
|
1933
|
+
/**
|
|
1934
|
+
* Backdrop Blur
|
|
1935
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
1936
|
+
*/
|
|
1937
|
+
"backdrop-blur": [{
|
|
1938
|
+
"backdrop-blur": [blur]
|
|
1939
|
+
}],
|
|
1940
|
+
/**
|
|
1941
|
+
* Backdrop Brightness
|
|
1942
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
1943
|
+
*/
|
|
1944
|
+
"backdrop-brightness": [{
|
|
1945
|
+
"backdrop-brightness": [brightness]
|
|
1946
|
+
}],
|
|
1947
|
+
/**
|
|
1948
|
+
* Backdrop Contrast
|
|
1949
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
1950
|
+
*/
|
|
1951
|
+
"backdrop-contrast": [{
|
|
1952
|
+
"backdrop-contrast": [contrast]
|
|
1953
|
+
}],
|
|
1954
|
+
/**
|
|
1955
|
+
* Backdrop Grayscale
|
|
1956
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
1957
|
+
*/
|
|
1958
|
+
"backdrop-grayscale": [{
|
|
1959
|
+
"backdrop-grayscale": [grayscale]
|
|
1960
|
+
}],
|
|
1961
|
+
/**
|
|
1962
|
+
* Backdrop Hue Rotate
|
|
1963
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
1964
|
+
*/
|
|
1965
|
+
"backdrop-hue-rotate": [{
|
|
1966
|
+
"backdrop-hue-rotate": [hueRotate]
|
|
1967
|
+
}],
|
|
1968
|
+
/**
|
|
1969
|
+
* Backdrop Invert
|
|
1970
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
1971
|
+
*/
|
|
1972
|
+
"backdrop-invert": [{
|
|
1973
|
+
"backdrop-invert": [invert]
|
|
1974
|
+
}],
|
|
1975
|
+
/**
|
|
1976
|
+
* Backdrop Opacity
|
|
1977
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
1978
|
+
*/
|
|
1979
|
+
"backdrop-opacity": [{
|
|
1980
|
+
"backdrop-opacity": [opacity]
|
|
1981
|
+
}],
|
|
1982
|
+
/**
|
|
1983
|
+
* Backdrop Saturate
|
|
1984
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1985
|
+
*/
|
|
1986
|
+
"backdrop-saturate": [{
|
|
1987
|
+
"backdrop-saturate": [saturate]
|
|
1988
|
+
}],
|
|
1989
|
+
/**
|
|
1990
|
+
* Backdrop Sepia
|
|
1991
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1992
|
+
*/
|
|
1993
|
+
"backdrop-sepia": [{
|
|
1994
|
+
"backdrop-sepia": [sepia]
|
|
1995
|
+
}],
|
|
1996
|
+
// Tables
|
|
1997
|
+
/**
|
|
1998
|
+
* Border Collapse
|
|
1999
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
2000
|
+
*/
|
|
2001
|
+
"border-collapse": [{
|
|
2002
|
+
border: ["collapse", "separate"]
|
|
2003
|
+
}],
|
|
2004
|
+
/**
|
|
2005
|
+
* Border Spacing
|
|
2006
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2007
|
+
*/
|
|
2008
|
+
"border-spacing": [{
|
|
2009
|
+
"border-spacing": [borderSpacing]
|
|
2010
|
+
}],
|
|
2011
|
+
/**
|
|
2012
|
+
* Border Spacing X
|
|
2013
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2014
|
+
*/
|
|
2015
|
+
"border-spacing-x": [{
|
|
2016
|
+
"border-spacing-x": [borderSpacing]
|
|
2017
|
+
}],
|
|
2018
|
+
/**
|
|
2019
|
+
* Border Spacing Y
|
|
2020
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2021
|
+
*/
|
|
2022
|
+
"border-spacing-y": [{
|
|
2023
|
+
"border-spacing-y": [borderSpacing]
|
|
2024
|
+
}],
|
|
2025
|
+
/**
|
|
2026
|
+
* Table Layout
|
|
2027
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
2028
|
+
*/
|
|
2029
|
+
"table-layout": [{
|
|
2030
|
+
table: ["auto", "fixed"]
|
|
2031
|
+
}],
|
|
2032
|
+
/**
|
|
2033
|
+
* Caption Side
|
|
2034
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
2035
|
+
*/
|
|
2036
|
+
caption: [{
|
|
2037
|
+
caption: ["top", "bottom"]
|
|
2038
|
+
}],
|
|
2039
|
+
// Transitions and Animation
|
|
2040
|
+
/**
|
|
2041
|
+
* Tranisition Property
|
|
2042
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
2043
|
+
*/
|
|
2044
|
+
transition: [{
|
|
2045
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", isArbitraryValue]
|
|
2046
|
+
}],
|
|
2047
|
+
/**
|
|
2048
|
+
* Transition Duration
|
|
2049
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
2050
|
+
*/
|
|
2051
|
+
duration: [{
|
|
2052
|
+
duration: getNumberAndArbitrary()
|
|
2053
|
+
}],
|
|
2054
|
+
/**
|
|
2055
|
+
* Transition Timing Function
|
|
2056
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2057
|
+
*/
|
|
2058
|
+
ease: [{
|
|
2059
|
+
ease: ["linear", "in", "out", "in-out", isArbitraryValue]
|
|
2060
|
+
}],
|
|
2061
|
+
/**
|
|
2062
|
+
* Transition Delay
|
|
2063
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
2064
|
+
*/
|
|
2065
|
+
delay: [{
|
|
2066
|
+
delay: getNumberAndArbitrary()
|
|
2067
|
+
}],
|
|
2068
|
+
/**
|
|
2069
|
+
* Animation
|
|
2070
|
+
* @see https://tailwindcss.com/docs/animation
|
|
2071
|
+
*/
|
|
2072
|
+
animate: [{
|
|
2073
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", isArbitraryValue]
|
|
2074
|
+
}],
|
|
2075
|
+
// Transforms
|
|
2076
|
+
/**
|
|
2077
|
+
* Transform
|
|
2078
|
+
* @see https://tailwindcss.com/docs/transform
|
|
2079
|
+
*/
|
|
2080
|
+
transform: [{
|
|
2081
|
+
transform: ["", "gpu", "none"]
|
|
2082
|
+
}],
|
|
2083
|
+
/**
|
|
2084
|
+
* Scale
|
|
2085
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2086
|
+
*/
|
|
2087
|
+
scale: [{
|
|
2088
|
+
scale: [scale]
|
|
2089
|
+
}],
|
|
2090
|
+
/**
|
|
2091
|
+
* Scale X
|
|
2092
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2093
|
+
*/
|
|
2094
|
+
"scale-x": [{
|
|
2095
|
+
"scale-x": [scale]
|
|
2096
|
+
}],
|
|
2097
|
+
/**
|
|
2098
|
+
* Scale Y
|
|
2099
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2100
|
+
*/
|
|
2101
|
+
"scale-y": [{
|
|
2102
|
+
"scale-y": [scale]
|
|
2103
|
+
}],
|
|
2104
|
+
/**
|
|
2105
|
+
* Rotate
|
|
2106
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2107
|
+
*/
|
|
2108
|
+
rotate: [{
|
|
2109
|
+
rotate: [isInteger, isArbitraryValue]
|
|
2110
|
+
}],
|
|
2111
|
+
/**
|
|
2112
|
+
* Translate X
|
|
2113
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2114
|
+
*/
|
|
2115
|
+
"translate-x": [{
|
|
2116
|
+
"translate-x": [translate]
|
|
2117
|
+
}],
|
|
2118
|
+
/**
|
|
2119
|
+
* Translate Y
|
|
2120
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2121
|
+
*/
|
|
2122
|
+
"translate-y": [{
|
|
2123
|
+
"translate-y": [translate]
|
|
2124
|
+
}],
|
|
2125
|
+
/**
|
|
2126
|
+
* Skew X
|
|
2127
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2128
|
+
*/
|
|
2129
|
+
"skew-x": [{
|
|
2130
|
+
"skew-x": [skew]
|
|
2131
|
+
}],
|
|
2132
|
+
/**
|
|
2133
|
+
* Skew Y
|
|
2134
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2135
|
+
*/
|
|
2136
|
+
"skew-y": [{
|
|
2137
|
+
"skew-y": [skew]
|
|
2138
|
+
}],
|
|
2139
|
+
/**
|
|
2140
|
+
* Transform Origin
|
|
2141
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
2142
|
+
*/
|
|
2143
|
+
"transform-origin": [{
|
|
2144
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", isArbitraryValue]
|
|
2145
|
+
}],
|
|
2146
|
+
// Interactivity
|
|
2147
|
+
/**
|
|
2148
|
+
* Accent Color
|
|
2149
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
2150
|
+
*/
|
|
2151
|
+
accent: [{
|
|
2152
|
+
accent: ["auto", colors]
|
|
2153
|
+
}],
|
|
2154
|
+
/**
|
|
2155
|
+
* Appearance
|
|
2156
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
2157
|
+
*/
|
|
2158
|
+
appearance: [{
|
|
2159
|
+
appearance: ["none", "auto"]
|
|
2160
|
+
}],
|
|
2161
|
+
/**
|
|
2162
|
+
* Cursor
|
|
2163
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
2164
|
+
*/
|
|
2165
|
+
cursor: [{
|
|
2166
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", isArbitraryValue]
|
|
2167
|
+
}],
|
|
2168
|
+
/**
|
|
2169
|
+
* Caret Color
|
|
2170
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2171
|
+
*/
|
|
2172
|
+
"caret-color": [{
|
|
2173
|
+
caret: [colors]
|
|
2174
|
+
}],
|
|
2175
|
+
/**
|
|
2176
|
+
* Pointer Events
|
|
2177
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
2178
|
+
*/
|
|
2179
|
+
"pointer-events": [{
|
|
2180
|
+
"pointer-events": ["none", "auto"]
|
|
2181
|
+
}],
|
|
2182
|
+
/**
|
|
2183
|
+
* Resize
|
|
2184
|
+
* @see https://tailwindcss.com/docs/resize
|
|
2185
|
+
*/
|
|
2186
|
+
resize: [{
|
|
2187
|
+
resize: ["none", "y", "x", ""]
|
|
2188
|
+
}],
|
|
2189
|
+
/**
|
|
2190
|
+
* Scroll Behavior
|
|
2191
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
2192
|
+
*/
|
|
2193
|
+
"scroll-behavior": [{
|
|
2194
|
+
scroll: ["auto", "smooth"]
|
|
2195
|
+
}],
|
|
2196
|
+
/**
|
|
2197
|
+
* Scroll Margin
|
|
2198
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2199
|
+
*/
|
|
2200
|
+
"scroll-m": [{
|
|
2201
|
+
"scroll-m": getSpacingWithArbitrary()
|
|
2202
|
+
}],
|
|
2203
|
+
/**
|
|
2204
|
+
* Scroll Margin X
|
|
2205
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2206
|
+
*/
|
|
2207
|
+
"scroll-mx": [{
|
|
2208
|
+
"scroll-mx": getSpacingWithArbitrary()
|
|
2209
|
+
}],
|
|
2210
|
+
/**
|
|
2211
|
+
* Scroll Margin Y
|
|
2212
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2213
|
+
*/
|
|
2214
|
+
"scroll-my": [{
|
|
2215
|
+
"scroll-my": getSpacingWithArbitrary()
|
|
2216
|
+
}],
|
|
2217
|
+
/**
|
|
2218
|
+
* Scroll Margin Start
|
|
2219
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2220
|
+
*/
|
|
2221
|
+
"scroll-ms": [{
|
|
2222
|
+
"scroll-ms": getSpacingWithArbitrary()
|
|
2223
|
+
}],
|
|
2224
|
+
/**
|
|
2225
|
+
* Scroll Margin End
|
|
2226
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2227
|
+
*/
|
|
2228
|
+
"scroll-me": [{
|
|
2229
|
+
"scroll-me": getSpacingWithArbitrary()
|
|
2230
|
+
}],
|
|
2231
|
+
/**
|
|
2232
|
+
* Scroll Margin Top
|
|
2233
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2234
|
+
*/
|
|
2235
|
+
"scroll-mt": [{
|
|
2236
|
+
"scroll-mt": getSpacingWithArbitrary()
|
|
2237
|
+
}],
|
|
2238
|
+
/**
|
|
2239
|
+
* Scroll Margin Right
|
|
2240
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2241
|
+
*/
|
|
2242
|
+
"scroll-mr": [{
|
|
2243
|
+
"scroll-mr": getSpacingWithArbitrary()
|
|
2244
|
+
}],
|
|
2245
|
+
/**
|
|
2246
|
+
* Scroll Margin Bottom
|
|
2247
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2248
|
+
*/
|
|
2249
|
+
"scroll-mb": [{
|
|
2250
|
+
"scroll-mb": getSpacingWithArbitrary()
|
|
2251
|
+
}],
|
|
2252
|
+
/**
|
|
2253
|
+
* Scroll Margin Left
|
|
2254
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2255
|
+
*/
|
|
2256
|
+
"scroll-ml": [{
|
|
2257
|
+
"scroll-ml": getSpacingWithArbitrary()
|
|
2258
|
+
}],
|
|
2259
|
+
/**
|
|
2260
|
+
* Scroll Padding
|
|
2261
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2262
|
+
*/
|
|
2263
|
+
"scroll-p": [{
|
|
2264
|
+
"scroll-p": getSpacingWithArbitrary()
|
|
2265
|
+
}],
|
|
2266
|
+
/**
|
|
2267
|
+
* Scroll Padding X
|
|
2268
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2269
|
+
*/
|
|
2270
|
+
"scroll-px": [{
|
|
2271
|
+
"scroll-px": getSpacingWithArbitrary()
|
|
2272
|
+
}],
|
|
2273
|
+
/**
|
|
2274
|
+
* Scroll Padding Y
|
|
2275
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2276
|
+
*/
|
|
2277
|
+
"scroll-py": [{
|
|
2278
|
+
"scroll-py": getSpacingWithArbitrary()
|
|
2279
|
+
}],
|
|
2280
|
+
/**
|
|
2281
|
+
* Scroll Padding Start
|
|
2282
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2283
|
+
*/
|
|
2284
|
+
"scroll-ps": [{
|
|
2285
|
+
"scroll-ps": getSpacingWithArbitrary()
|
|
2286
|
+
}],
|
|
2287
|
+
/**
|
|
2288
|
+
* Scroll Padding End
|
|
2289
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2290
|
+
*/
|
|
2291
|
+
"scroll-pe": [{
|
|
2292
|
+
"scroll-pe": getSpacingWithArbitrary()
|
|
2293
|
+
}],
|
|
2294
|
+
/**
|
|
2295
|
+
* Scroll Padding Top
|
|
2296
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2297
|
+
*/
|
|
2298
|
+
"scroll-pt": [{
|
|
2299
|
+
"scroll-pt": getSpacingWithArbitrary()
|
|
2300
|
+
}],
|
|
2301
|
+
/**
|
|
2302
|
+
* Scroll Padding Right
|
|
2303
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2304
|
+
*/
|
|
2305
|
+
"scroll-pr": [{
|
|
2306
|
+
"scroll-pr": getSpacingWithArbitrary()
|
|
2307
|
+
}],
|
|
2308
|
+
/**
|
|
2309
|
+
* Scroll Padding Bottom
|
|
2310
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2311
|
+
*/
|
|
2312
|
+
"scroll-pb": [{
|
|
2313
|
+
"scroll-pb": getSpacingWithArbitrary()
|
|
2314
|
+
}],
|
|
2315
|
+
/**
|
|
2316
|
+
* Scroll Padding Left
|
|
2317
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2318
|
+
*/
|
|
2319
|
+
"scroll-pl": [{
|
|
2320
|
+
"scroll-pl": getSpacingWithArbitrary()
|
|
2321
|
+
}],
|
|
2322
|
+
/**
|
|
2323
|
+
* Scroll Snap Align
|
|
2324
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
2325
|
+
*/
|
|
2326
|
+
"snap-align": [{
|
|
2327
|
+
snap: ["start", "end", "center", "align-none"]
|
|
2328
|
+
}],
|
|
2329
|
+
/**
|
|
2330
|
+
* Scroll Snap Stop
|
|
2331
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
2332
|
+
*/
|
|
2333
|
+
"snap-stop": [{
|
|
2334
|
+
snap: ["normal", "always"]
|
|
2335
|
+
}],
|
|
2336
|
+
/**
|
|
2337
|
+
* Scroll Snap Type
|
|
2338
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2339
|
+
*/
|
|
2340
|
+
"snap-type": [{
|
|
2341
|
+
snap: ["none", "x", "y", "both"]
|
|
2342
|
+
}],
|
|
2343
|
+
/**
|
|
2344
|
+
* Scroll Snap Type Strictness
|
|
2345
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2346
|
+
*/
|
|
2347
|
+
"snap-strictness": [{
|
|
2348
|
+
snap: ["mandatory", "proximity"]
|
|
2349
|
+
}],
|
|
2350
|
+
/**
|
|
2351
|
+
* Touch Action
|
|
2352
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2353
|
+
*/
|
|
2354
|
+
touch: [{
|
|
2355
|
+
touch: ["auto", "none", "manipulation"]
|
|
2356
|
+
}],
|
|
2357
|
+
/**
|
|
2358
|
+
* Touch Action X
|
|
2359
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2360
|
+
*/
|
|
2361
|
+
"touch-x": [{
|
|
2362
|
+
"touch-pan": ["x", "left", "right"]
|
|
2363
|
+
}],
|
|
2364
|
+
/**
|
|
2365
|
+
* Touch Action Y
|
|
2366
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2367
|
+
*/
|
|
2368
|
+
"touch-y": [{
|
|
2369
|
+
"touch-pan": ["y", "up", "down"]
|
|
2370
|
+
}],
|
|
2371
|
+
/**
|
|
2372
|
+
* Touch Action Pinch Zoom
|
|
2373
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2374
|
+
*/
|
|
2375
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
2376
|
+
/**
|
|
2377
|
+
* User Select
|
|
2378
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
2379
|
+
*/
|
|
2380
|
+
select: [{
|
|
2381
|
+
select: ["none", "text", "all", "auto"]
|
|
2382
|
+
}],
|
|
2383
|
+
/**
|
|
2384
|
+
* Will Change
|
|
2385
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
2386
|
+
*/
|
|
2387
|
+
"will-change": [{
|
|
2388
|
+
"will-change": ["auto", "scroll", "contents", "transform", isArbitraryValue]
|
|
2389
|
+
}],
|
|
2390
|
+
// SVG
|
|
2391
|
+
/**
|
|
2392
|
+
* Fill
|
|
2393
|
+
* @see https://tailwindcss.com/docs/fill
|
|
2394
|
+
*/
|
|
2395
|
+
fill: [{
|
|
2396
|
+
fill: [colors, "none"]
|
|
2397
|
+
}],
|
|
2398
|
+
/**
|
|
2399
|
+
* Stroke Width
|
|
2400
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
2401
|
+
*/
|
|
2402
|
+
"stroke-w": [{
|
|
2403
|
+
stroke: [isLength, isArbitraryLength, isArbitraryNumber]
|
|
2404
|
+
}],
|
|
2405
|
+
/**
|
|
2406
|
+
* Stroke
|
|
2407
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
2408
|
+
*/
|
|
2409
|
+
stroke: [{
|
|
2410
|
+
stroke: [colors, "none"]
|
|
2411
|
+
}],
|
|
2412
|
+
// Accessibility
|
|
2413
|
+
/**
|
|
2414
|
+
* Screen Readers
|
|
2415
|
+
* @see https://tailwindcss.com/docs/screen-readers
|
|
2416
|
+
*/
|
|
2417
|
+
sr: ["sr-only", "not-sr-only"],
|
|
2418
|
+
/**
|
|
2419
|
+
* Forced Color Adjust
|
|
2420
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
2421
|
+
*/
|
|
2422
|
+
"forced-color-adjust": [{
|
|
2423
|
+
"forced-color-adjust": ["auto", "none"]
|
|
2424
|
+
}]
|
|
2425
|
+
},
|
|
2426
|
+
conflictingClassGroups: {
|
|
2427
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
2428
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
2429
|
+
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
2430
|
+
"inset-x": ["right", "left"],
|
|
2431
|
+
"inset-y": ["top", "bottom"],
|
|
2432
|
+
flex: ["basis", "grow", "shrink"],
|
|
2433
|
+
gap: ["gap-x", "gap-y"],
|
|
2434
|
+
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
2435
|
+
px: ["pr", "pl"],
|
|
2436
|
+
py: ["pt", "pb"],
|
|
2437
|
+
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
2438
|
+
mx: ["mr", "ml"],
|
|
2439
|
+
my: ["mt", "mb"],
|
|
2440
|
+
size: ["w", "h"],
|
|
2441
|
+
"font-size": ["leading"],
|
|
2442
|
+
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
2443
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
2444
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
2445
|
+
"fvn-figure": ["fvn-normal"],
|
|
2446
|
+
"fvn-spacing": ["fvn-normal"],
|
|
2447
|
+
"fvn-fraction": ["fvn-normal"],
|
|
2448
|
+
"line-clamp": ["display", "overflow"],
|
|
2449
|
+
rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
|
|
2450
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
2451
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
2452
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
2453
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
2454
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
2455
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
2456
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
2457
|
+
"border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
2458
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
2459
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
2460
|
+
"border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
2461
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
2462
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
2463
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
2464
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
2465
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
2466
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
2467
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
2468
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
2469
|
+
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
2470
|
+
"touch-x": ["touch"],
|
|
2471
|
+
"touch-y": ["touch"],
|
|
2472
|
+
"touch-pz": ["touch"]
|
|
2473
|
+
},
|
|
2474
|
+
conflictingClassGroupModifiers: {
|
|
2475
|
+
"font-size": ["leading"]
|
|
2476
|
+
}
|
|
2477
|
+
};
|
|
2478
|
+
};
|
|
2479
|
+
const mergeConfigs = (baseConfig, {
|
|
2480
|
+
cacheSize,
|
|
2481
|
+
prefix,
|
|
2482
|
+
separator,
|
|
2483
|
+
experimentalParseClassName,
|
|
2484
|
+
extend = {},
|
|
2485
|
+
override = {}
|
|
2486
|
+
}) => {
|
|
2487
|
+
overrideProperty(baseConfig, "cacheSize", cacheSize);
|
|
2488
|
+
overrideProperty(baseConfig, "prefix", prefix);
|
|
2489
|
+
overrideProperty(baseConfig, "separator", separator);
|
|
2490
|
+
overrideProperty(baseConfig, "experimentalParseClassName", experimentalParseClassName);
|
|
2491
|
+
for (const configKey in override) {
|
|
2492
|
+
overrideConfigProperties(baseConfig[configKey], override[configKey]);
|
|
2493
|
+
}
|
|
2494
|
+
for (const key in extend) {
|
|
2495
|
+
mergeConfigProperties(baseConfig[key], extend[key]);
|
|
2496
|
+
}
|
|
2497
|
+
return baseConfig;
|
|
2498
|
+
};
|
|
2499
|
+
const overrideProperty = (baseObject, overrideKey, overrideValue) => {
|
|
2500
|
+
if (overrideValue !== void 0) {
|
|
2501
|
+
baseObject[overrideKey] = overrideValue;
|
|
2502
|
+
}
|
|
2503
|
+
};
|
|
2504
|
+
const overrideConfigProperties = (baseObject, overrideObject) => {
|
|
2505
|
+
if (overrideObject) {
|
|
2506
|
+
for (const key in overrideObject) {
|
|
2507
|
+
overrideProperty(baseObject, key, overrideObject[key]);
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
};
|
|
2511
|
+
const mergeConfigProperties = (baseObject, mergeObject) => {
|
|
2512
|
+
if (mergeObject) {
|
|
2513
|
+
for (const key in mergeObject) {
|
|
2514
|
+
const mergeValue = mergeObject[key];
|
|
2515
|
+
if (mergeValue !== void 0) {
|
|
2516
|
+
baseObject[key] = (baseObject[key] || []).concat(mergeValue);
|
|
2517
|
+
}
|
|
2518
|
+
}
|
|
2519
|
+
}
|
|
2520
|
+
};
|
|
2521
|
+
const extendTailwindMerge = (configExtension, ...createConfig) => typeof configExtension === "function" ? createTailwindMerge(getDefaultConfig, configExtension, ...createConfig) : createTailwindMerge(() => mergeConfigs(getDefaultConfig(), configExtension), ...createConfig);
|
|
2522
|
+
const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
|
|
2523
|
+
var ie = { twMerge: true, twMergeConfig: {}, responsiveVariants: false }, x = (s) => s || void 0, N = (...s) => x(y(s).filter(Boolean).join(" ")), R = null, v = {}, q = false, M = (...s) => (b$1) => b$1.twMerge ? ((!R || q) && (q = false, R = u(v) ? twMerge : extendTailwindMerge({ ...v, extend: { theme: v.theme, classGroups: v.classGroups, conflictingClassGroupModifiers: v.conflictingClassGroupModifiers, conflictingClassGroups: v.conflictingClassGroups, ...v.extend } })), x(R(N(s)))) : N(s), _ = (s, b) => {
|
|
2524
|
+
for (let e in b) s.hasOwnProperty(e) ? s[e] = N(s[e], b[e]) : s[e] = b[e];
|
|
2525
|
+
return s;
|
|
2526
|
+
}, ce = (s, b$1) => {
|
|
2527
|
+
let { extend: e = null, slots: O = {}, variants: U = {}, compoundVariants: W = [], compoundSlots: C = [], defaultVariants: z = {} } = s, m = { ...ie, ...b$1 }, k = e != null && e.base ? N(e.base, s == null ? void 0 : s.base) : s == null ? void 0 : s.base, g$1 = e != null && e.variants && !u(e.variants) ? p(U, e.variants) : U, w = e != null && e.defaultVariants && !u(e.defaultVariants) ? { ...e.defaultVariants, ...z } : z;
|
|
2528
|
+
!u(m.twMergeConfig) && !x$1(m.twMergeConfig, v) && (q = true, v = m.twMergeConfig);
|
|
2529
|
+
let S = u(e == null ? void 0 : e.slots), T = u(O) ? {} : { base: N(s == null ? void 0 : s.base, S && (e == null ? void 0 : e.base)), ...O }, j = S ? T : _({ ...e == null ? void 0 : e.slots }, u(T) ? { base: s == null ? void 0 : s.base } : T), h$1 = u(e == null ? void 0 : e.compoundVariants) ? W : a(e == null ? void 0 : e.compoundVariants, W), V = (l$1) => {
|
|
2530
|
+
if (u(g$1) && u(O) && S) return M(k, l$1 == null ? void 0 : l$1.class, l$1 == null ? void 0 : l$1.className)(m);
|
|
2531
|
+
if (h$1 && !Array.isArray(h$1)) throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof h$1}`);
|
|
2532
|
+
if (C && !Array.isArray(C)) throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof C}`);
|
|
2533
|
+
let P = (a2, n, t = [], i2) => {
|
|
2534
|
+
let r = t;
|
|
2535
|
+
if (typeof n == "string") r = r.concat(g(n).split(" ").map((o) => `${a2}:${o}`));
|
|
2536
|
+
else if (Array.isArray(n)) r = r.concat(n.reduce((o, c) => o.concat(`${a2}:${c}`), []));
|
|
2537
|
+
else if (typeof n == "object" && typeof i2 == "string") {
|
|
2538
|
+
for (let o in n) if (n.hasOwnProperty(o) && o === i2) {
|
|
2539
|
+
let c = n[o];
|
|
2540
|
+
if (c && typeof c == "string") {
|
|
2541
|
+
let u2 = g(c);
|
|
2542
|
+
r[i2] ? r[i2] = r[i2].concat(u2.split(" ").map((f) => `${a2}:${f}`)) : r[i2] = u2.split(" ").map((f) => `${a2}:${f}`);
|
|
2543
|
+
} else Array.isArray(c) && c.length > 0 && (r[i2] = c.reduce((u2, f) => u2.concat(`${a2}:${f}`), []));
|
|
2544
|
+
}
|
|
2545
|
+
}
|
|
2546
|
+
return r;
|
|
2547
|
+
}, D = (a$1, n = g$1, t = null, i2 = null) => {
|
|
2548
|
+
var L;
|
|
2549
|
+
let r = n[a$1];
|
|
2550
|
+
if (!r || u(r)) return null;
|
|
2551
|
+
let o = (L = i2 == null ? void 0 : i2[a$1]) != null ? L : l$1 == null ? void 0 : l$1[a$1];
|
|
2552
|
+
if (o === null) return null;
|
|
2553
|
+
let c = l(o), u$1 = Array.isArray(m.responsiveVariants) && m.responsiveVariants.length > 0 || m.responsiveVariants === true, f = w == null ? void 0 : w[a$1], d = [];
|
|
2554
|
+
if (typeof c == "object" && u$1) for (let [E, Q] of Object.entries(c)) {
|
|
2555
|
+
let ne = r[Q];
|
|
2556
|
+
if (E === "initial") {
|
|
2557
|
+
f = Q;
|
|
2558
|
+
continue;
|
|
2559
|
+
}
|
|
2560
|
+
Array.isArray(m.responsiveVariants) && !m.responsiveVariants.includes(E) || (d = P(E, ne, d, t));
|
|
2561
|
+
}
|
|
2562
|
+
let $ = c != null && typeof c != "object" ? c : l(f), A = r[$ || "false"];
|
|
2563
|
+
return typeof d == "object" && typeof t == "string" && d[t] ? _(d, A) : d.length > 0 ? (d.push(A), t === "base" ? d.join(" ") : d) : A;
|
|
2564
|
+
}, p2 = () => g$1 ? Object.keys(g$1).map((a2) => D(a2, g$1)) : null, ee = (a2, n) => {
|
|
2565
|
+
if (!g$1 || typeof g$1 != "object") return null;
|
|
2566
|
+
let t = new Array();
|
|
2567
|
+
for (let i2 in g$1) {
|
|
2568
|
+
let r = D(i2, g$1, a2, n), o = a2 === "base" && typeof r == "string" ? r : r && r[a2];
|
|
2569
|
+
o && (t[t.length] = o);
|
|
2570
|
+
}
|
|
2571
|
+
return t;
|
|
2572
|
+
}, H = {};
|
|
2573
|
+
for (let a2 in l$1) l$1[a2] !== void 0 && (H[a2] = l$1[a2]);
|
|
2574
|
+
let I = (a2, n) => {
|
|
2575
|
+
var i2;
|
|
2576
|
+
let t = typeof (l$1 == null ? void 0 : l$1[a2]) == "object" ? { [a2]: (i2 = l$1[a2]) == null ? void 0 : i2.initial } : {};
|
|
2577
|
+
return { ...w, ...H, ...t, ...n };
|
|
2578
|
+
}, J = (a2 = [], n) => {
|
|
2579
|
+
let t = [];
|
|
2580
|
+
for (let { class: i2, className: r, ...o } of a2) {
|
|
2581
|
+
let c = true;
|
|
2582
|
+
for (let [u2, f] of Object.entries(o)) {
|
|
2583
|
+
let d = I(u2, n)[u2];
|
|
2584
|
+
if (Array.isArray(f)) {
|
|
2585
|
+
if (!f.includes(d)) {
|
|
2586
|
+
c = false;
|
|
2587
|
+
break;
|
|
2588
|
+
}
|
|
2589
|
+
} else {
|
|
2590
|
+
let $ = (A) => A == null || A === false;
|
|
2591
|
+
if ($(f) && $(d)) continue;
|
|
2592
|
+
if (d !== f) {
|
|
2593
|
+
c = false;
|
|
2594
|
+
break;
|
|
2595
|
+
}
|
|
2596
|
+
}
|
|
2597
|
+
}
|
|
2598
|
+
c && (i2 && t.push(i2), r && t.push(r));
|
|
2599
|
+
}
|
|
2600
|
+
return t;
|
|
2601
|
+
}, te = (a2) => {
|
|
2602
|
+
let n = J(h$1, a2);
|
|
2603
|
+
if (!Array.isArray(n)) return n;
|
|
2604
|
+
let t = {};
|
|
2605
|
+
for (let i2 of n) if (typeof i2 == "string" && (t.base = M(t.base, i2)(m)), typeof i2 == "object") for (let [r, o] of Object.entries(i2)) t[r] = M(t[r], o)(m);
|
|
2606
|
+
return t;
|
|
2607
|
+
}, ae = (a2) => {
|
|
2608
|
+
if (C.length < 1) return null;
|
|
2609
|
+
let n = {};
|
|
2610
|
+
for (let { slots: t = [], class: i2, className: r, ...o } of C) {
|
|
2611
|
+
if (!u(o)) {
|
|
2612
|
+
let c = true;
|
|
2613
|
+
for (let u2 of Object.keys(o)) {
|
|
2614
|
+
let f = I(u2, a2)[u2];
|
|
2615
|
+
if (f === void 0 || (Array.isArray(o[u2]) ? !o[u2].includes(f) : o[u2] !== f)) {
|
|
2616
|
+
c = false;
|
|
2617
|
+
break;
|
|
2618
|
+
}
|
|
2619
|
+
}
|
|
2620
|
+
if (!c) continue;
|
|
2621
|
+
}
|
|
2622
|
+
for (let c of t) n[c] = n[c] || [], n[c].push([i2, r]);
|
|
2623
|
+
}
|
|
2624
|
+
return n;
|
|
2625
|
+
};
|
|
2626
|
+
if (!u(O) || !S) {
|
|
2627
|
+
let a2 = {};
|
|
2628
|
+
if (typeof j == "object" && !u(j)) for (let n of Object.keys(j)) a2[n] = (t) => {
|
|
2629
|
+
var i2, r;
|
|
2630
|
+
return M(j[n], ee(n, t), ((i2 = te(t)) != null ? i2 : [])[n], ((r = ae(t)) != null ? r : [])[n], t == null ? void 0 : t.class, t == null ? void 0 : t.className)(m);
|
|
2631
|
+
};
|
|
2632
|
+
return a2;
|
|
2633
|
+
}
|
|
2634
|
+
return M(k, p2(), J(h$1), l$1 == null ? void 0 : l$1.class, l$1 == null ? void 0 : l$1.className)(m);
|
|
2635
|
+
}, K = () => {
|
|
2636
|
+
if (!(!g$1 || typeof g$1 != "object")) return Object.keys(g$1);
|
|
2637
|
+
};
|
|
2638
|
+
return V.variantKeys = K(), V.extend = e, V.base = k, V.slots = j, V.variants = g$1, V.defaultVariants = w, V.compoundSlots = C, V.compoundVariants = h$1, V;
|
|
2639
|
+
}, fe = (s) => (b, e) => ce(b, e ? p(s, e) : s);
|
|
2640
|
+
exports.M = M;
|
|
2641
|
+
exports.N = N;
|
|
2642
|
+
exports.ce = ce;
|
|
2643
|
+
exports.fe = fe;
|
|
2644
|
+
exports.ie = ie;
|
|
2645
|
+
exports.x = x;
|