design-system-silkhaus 0.0.1 → 0.0.3

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