sunpeak 0.20.18 → 0.20.19

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  import { L as __require, _ as record, a as array, b as unknown, f as never, i as _undefined, m as object, o as boolean, p as number, u as literal, v as string, y as union } from "./v4-COy4jjxX.js";
2
2
  import { B as ResourceLinkSchema, G as ToolSchema, a as CallToolResultSchema, m as EmbeddedResourceSchema, s as ContentBlockSchema, v as ImplementationSchema, z as RequestIdSchema } from "./protocol-CMhIkbSk.js";
3
3
  import { $ as s, A as TQ, B as e, C as PQ, D as RQ, E as R, F as ZQ, G as i, H as f, I as _, J as l, K as j, L as _Q, M as W, N as XQ, O as SQ, P as YQ, Q as r, R as bQ, S as P, T as QY, U as g, V as eX, W as h, X as q, Y as n, Z as qQ, _ as JQ, a as AQ, at as z, b as O, c as CQ, d as F, et as t, f as FQ, g as IQ, h as I, i as A, it as wQ, j as U, k as T, l as DQ, m as HQ, n as AppProvider, nt as v, o as B, ot as zQ, p as H, q as kQ, r as $Q, rt as w, s as C, t as useApp, tt as u, u as E, v as L, w as QQ, x as OQ, y as M, z as d } from "./use-app-CIOwvd3s.js";
4
- import { S as DEFAULT_STYLE_VARIABLES } from "./inspector-l1Eo18H7.js";
4
+ import { C as DEFAULT_STYLE_VARIABLES, S as cn } from "./inspector-DMdmJlDA.js";
5
5
  import { detectHost, isChatGPT, isClaude } from "./host/index.js";
6
6
  import { t as inspector_exports } from "./inspector/index.js";
7
7
  import { t as chatgpt_exports } from "./chatgpt/index.js";
@@ -1266,3325 +1266,6 @@ function useAppState(defaultState) {
1266
1266
  }, [])];
1267
1267
  }
1268
1268
  //#endregion
1269
- //#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
1270
- function r$1(e) {
1271
- var t, f, n = "";
1272
- if ("string" == typeof e || "number" == typeof e) n += e;
1273
- else if ("object" == typeof e) if (Array.isArray(e)) {
1274
- var o = e.length;
1275
- for (t = 0; t < o; t++) e[t] && (f = r$1(e[t])) && (n && (n += " "), n += f);
1276
- } else for (f in e) e[f] && (n && (n += " "), n += f);
1277
- return n;
1278
- }
1279
- function clsx() {
1280
- for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r$1(e)) && (n && (n += " "), n += t);
1281
- return n;
1282
- }
1283
- //#endregion
1284
- //#region ../../node_modules/.pnpm/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
1285
- /**
1286
- * Concatenates two arrays faster than the array spread operator.
1287
- */
1288
- var concatArrays = (array1, array2) => {
1289
- const combinedArray = new Array(array1.length + array2.length);
1290
- for (let i = 0; i < array1.length; i++) combinedArray[i] = array1[i];
1291
- for (let i = 0; i < array2.length; i++) combinedArray[array1.length + i] = array2[i];
1292
- return combinedArray;
1293
- };
1294
- var createClassValidatorObject = (classGroupId, validator) => ({
1295
- classGroupId,
1296
- validator
1297
- });
1298
- var createClassPartObject = (nextPart = /* @__PURE__ */ new Map(), validators = null, classGroupId) => ({
1299
- nextPart,
1300
- validators,
1301
- classGroupId
1302
- });
1303
- var CLASS_PART_SEPARATOR = "-";
1304
- var EMPTY_CONFLICTS = [];
1305
- var ARBITRARY_PROPERTY_PREFIX = "arbitrary..";
1306
- var createClassGroupUtils = (config) => {
1307
- const classMap = createClassMap(config);
1308
- const { conflictingClassGroups, conflictingClassGroupModifiers } = config;
1309
- const getClassGroupId = (className) => {
1310
- if (className.startsWith("[") && className.endsWith("]")) return getGroupIdForArbitraryProperty(className);
1311
- const classParts = className.split(CLASS_PART_SEPARATOR);
1312
- return getGroupRecursive(classParts, classParts[0] === "" && classParts.length > 1 ? 1 : 0, classMap);
1313
- };
1314
- const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
1315
- if (hasPostfixModifier) {
1316
- const modifierConflicts = conflictingClassGroupModifiers[classGroupId];
1317
- const baseConflicts = conflictingClassGroups[classGroupId];
1318
- if (modifierConflicts) {
1319
- if (baseConflicts) return concatArrays(baseConflicts, modifierConflicts);
1320
- return modifierConflicts;
1321
- }
1322
- return baseConflicts || EMPTY_CONFLICTS;
1323
- }
1324
- return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
1325
- };
1326
- return {
1327
- getClassGroupId,
1328
- getConflictingClassGroupIds
1329
- };
1330
- };
1331
- var getGroupRecursive = (classParts, startIndex, classPartObject) => {
1332
- if (classParts.length - startIndex === 0) return classPartObject.classGroupId;
1333
- const currentClassPart = classParts[startIndex];
1334
- const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
1335
- if (nextClassPartObject) {
1336
- const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
1337
- if (result) return result;
1338
- }
1339
- const validators = classPartObject.validators;
1340
- if (validators === null) return;
1341
- const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
1342
- const validatorsLength = validators.length;
1343
- for (let i = 0; i < validatorsLength; i++) {
1344
- const validatorObj = validators[i];
1345
- if (validatorObj.validator(classRest)) return validatorObj.classGroupId;
1346
- }
1347
- };
1348
- /**
1349
- * Get the class group ID for an arbitrary property.
1350
- *
1351
- * @param className - The class name to get the group ID for. Is expected to be string starting with `[` and ending with `]`.
1352
- */
1353
- var getGroupIdForArbitraryProperty = (className) => className.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
1354
- const content = className.slice(1, -1);
1355
- const colonIndex = content.indexOf(":");
1356
- const property = content.slice(0, colonIndex);
1357
- return property ? ARBITRARY_PROPERTY_PREFIX + property : void 0;
1358
- })();
1359
- /**
1360
- * Exported for testing only
1361
- */
1362
- var createClassMap = (config) => {
1363
- const { theme, classGroups } = config;
1364
- return processClassGroups(classGroups, theme);
1365
- };
1366
- var processClassGroups = (classGroups, theme) => {
1367
- const classMap = createClassPartObject();
1368
- for (const classGroupId in classGroups) {
1369
- const group = classGroups[classGroupId];
1370
- processClassesRecursively(group, classMap, classGroupId, theme);
1371
- }
1372
- return classMap;
1373
- };
1374
- var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
1375
- const len = classGroup.length;
1376
- for (let i = 0; i < len; i++) {
1377
- const classDefinition = classGroup[i];
1378
- processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
1379
- }
1380
- };
1381
- var processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
1382
- if (typeof classDefinition === "string") {
1383
- processStringDefinition(classDefinition, classPartObject, classGroupId);
1384
- return;
1385
- }
1386
- if (typeof classDefinition === "function") {
1387
- processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
1388
- return;
1389
- }
1390
- processObjectDefinition(classDefinition, classPartObject, classGroupId, theme);
1391
- };
1392
- var processStringDefinition = (classDefinition, classPartObject, classGroupId) => {
1393
- const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
1394
- classPartObjectToEdit.classGroupId = classGroupId;
1395
- };
1396
- var processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
1397
- if (isThemeGetter(classDefinition)) {
1398
- processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
1399
- return;
1400
- }
1401
- if (classPartObject.validators === null) classPartObject.validators = [];
1402
- classPartObject.validators.push(createClassValidatorObject(classGroupId, classDefinition));
1403
- };
1404
- var processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
1405
- const entries = Object.entries(classDefinition);
1406
- const len = entries.length;
1407
- for (let i = 0; i < len; i++) {
1408
- const [key, value] = entries[i];
1409
- processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
1410
- }
1411
- };
1412
- var getPart = (classPartObject, path) => {
1413
- let current = classPartObject;
1414
- const parts = path.split(CLASS_PART_SEPARATOR);
1415
- const len = parts.length;
1416
- for (let i = 0; i < len; i++) {
1417
- const part = parts[i];
1418
- let next = current.nextPart.get(part);
1419
- if (!next) {
1420
- next = createClassPartObject();
1421
- current.nextPart.set(part, next);
1422
- }
1423
- current = next;
1424
- }
1425
- return current;
1426
- };
1427
- var isThemeGetter = (func) => "isThemeGetter" in func && func.isThemeGetter === true;
1428
- var createLruCache = (maxCacheSize) => {
1429
- if (maxCacheSize < 1) return {
1430
- get: () => void 0,
1431
- set: () => {}
1432
- };
1433
- let cacheSize = 0;
1434
- let cache = Object.create(null);
1435
- let previousCache = Object.create(null);
1436
- const update = (key, value) => {
1437
- cache[key] = value;
1438
- cacheSize++;
1439
- if (cacheSize > maxCacheSize) {
1440
- cacheSize = 0;
1441
- previousCache = cache;
1442
- cache = Object.create(null);
1443
- }
1444
- };
1445
- return {
1446
- get(key) {
1447
- let value = cache[key];
1448
- if (value !== void 0) return value;
1449
- if ((value = previousCache[key]) !== void 0) {
1450
- update(key, value);
1451
- return value;
1452
- }
1453
- },
1454
- set(key, value) {
1455
- if (key in cache) cache[key] = value;
1456
- else update(key, value);
1457
- }
1458
- };
1459
- };
1460
- var IMPORTANT_MODIFIER = "!";
1461
- var MODIFIER_SEPARATOR = ":";
1462
- var EMPTY_MODIFIERS = [];
1463
- var createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition, isExternal) => ({
1464
- modifiers,
1465
- hasImportantModifier,
1466
- baseClassName,
1467
- maybePostfixModifierPosition,
1468
- isExternal
1469
- });
1470
- var createParseClassName = (config) => {
1471
- const { prefix, experimentalParseClassName } = config;
1472
- /**
1473
- * Parse class name into parts.
1474
- *
1475
- * Inspired by `splitAtTopLevelOnly` used in Tailwind CSS
1476
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v3.2.2/src/util/splitAtTopLevelOnly.js
1477
- */
1478
- let parseClassName = (className) => {
1479
- const modifiers = [];
1480
- let bracketDepth = 0;
1481
- let parenDepth = 0;
1482
- let modifierStart = 0;
1483
- let postfixModifierPosition;
1484
- const len = className.length;
1485
- for (let index = 0; index < len; index++) {
1486
- const currentCharacter = className[index];
1487
- if (bracketDepth === 0 && parenDepth === 0) {
1488
- if (currentCharacter === MODIFIER_SEPARATOR) {
1489
- modifiers.push(className.slice(modifierStart, index));
1490
- modifierStart = index + 1;
1491
- continue;
1492
- }
1493
- if (currentCharacter === "/") {
1494
- postfixModifierPosition = index;
1495
- continue;
1496
- }
1497
- }
1498
- if (currentCharacter === "[") bracketDepth++;
1499
- else if (currentCharacter === "]") bracketDepth--;
1500
- else if (currentCharacter === "(") parenDepth++;
1501
- else if (currentCharacter === ")") parenDepth--;
1502
- }
1503
- const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
1504
- let baseClassName = baseClassNameWithImportantModifier;
1505
- let hasImportantModifier = false;
1506
- if (baseClassNameWithImportantModifier.endsWith(IMPORTANT_MODIFIER)) {
1507
- baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
1508
- hasImportantModifier = true;
1509
- } else if (baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER)) {
1510
- baseClassName = baseClassNameWithImportantModifier.slice(1);
1511
- hasImportantModifier = true;
1512
- }
1513
- const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
1514
- return createResultObject(modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition);
1515
- };
1516
- if (prefix) {
1517
- const fullPrefix = prefix + MODIFIER_SEPARATOR;
1518
- const parseClassNameOriginal = parseClassName;
1519
- parseClassName = (className) => className.startsWith(fullPrefix) ? parseClassNameOriginal(className.slice(fullPrefix.length)) : createResultObject(EMPTY_MODIFIERS, false, className, void 0, true);
1520
- }
1521
- if (experimentalParseClassName) {
1522
- const parseClassNameOriginal = parseClassName;
1523
- parseClassName = (className) => experimentalParseClassName({
1524
- className,
1525
- parseClassName: parseClassNameOriginal
1526
- });
1527
- }
1528
- return parseClassName;
1529
- };
1530
- /**
1531
- * Sorts modifiers according to following schema:
1532
- * - Predefined modifiers are sorted alphabetically
1533
- * - When an arbitrary variant appears, it must be preserved which modifiers are before and after it
1534
- */
1535
- var createSortModifiers = (config) => {
1536
- const modifierWeights = /* @__PURE__ */ new Map();
1537
- config.orderSensitiveModifiers.forEach((mod, index) => {
1538
- modifierWeights.set(mod, 1e6 + index);
1539
- });
1540
- return (modifiers) => {
1541
- const result = [];
1542
- let currentSegment = [];
1543
- for (let i = 0; i < modifiers.length; i++) {
1544
- const modifier = modifiers[i];
1545
- const isArbitrary = modifier[0] === "[";
1546
- const isOrderSensitive = modifierWeights.has(modifier);
1547
- if (isArbitrary || isOrderSensitive) {
1548
- if (currentSegment.length > 0) {
1549
- currentSegment.sort();
1550
- result.push(...currentSegment);
1551
- currentSegment = [];
1552
- }
1553
- result.push(modifier);
1554
- } else currentSegment.push(modifier);
1555
- }
1556
- if (currentSegment.length > 0) {
1557
- currentSegment.sort();
1558
- result.push(...currentSegment);
1559
- }
1560
- return result;
1561
- };
1562
- };
1563
- var createConfigUtils = (config) => ({
1564
- cache: createLruCache(config.cacheSize),
1565
- parseClassName: createParseClassName(config),
1566
- sortModifiers: createSortModifiers(config),
1567
- ...createClassGroupUtils(config)
1568
- });
1569
- var SPLIT_CLASSES_REGEX = /\s+/;
1570
- var mergeClassList = (classList, configUtils) => {
1571
- const { parseClassName, getClassGroupId, getConflictingClassGroupIds, sortModifiers } = configUtils;
1572
- /**
1573
- * Set of classGroupIds in following format:
1574
- * `{importantModifier}{variantModifiers}{classGroupId}`
1575
- * @example 'float'
1576
- * @example 'hover:focus:bg-color'
1577
- * @example 'md:!pr'
1578
- */
1579
- const classGroupsInConflict = [];
1580
- const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
1581
- let result = "";
1582
- for (let index = classNames.length - 1; index >= 0; index -= 1) {
1583
- const originalClassName = classNames[index];
1584
- const { isExternal, modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition } = parseClassName(originalClassName);
1585
- if (isExternal) {
1586
- result = originalClassName + (result.length > 0 ? " " + result : result);
1587
- continue;
1588
- }
1589
- let hasPostfixModifier = !!maybePostfixModifierPosition;
1590
- let classGroupId = getClassGroupId(hasPostfixModifier ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
1591
- if (!classGroupId) {
1592
- if (!hasPostfixModifier) {
1593
- result = originalClassName + (result.length > 0 ? " " + result : result);
1594
- continue;
1595
- }
1596
- classGroupId = getClassGroupId(baseClassName);
1597
- if (!classGroupId) {
1598
- result = originalClassName + (result.length > 0 ? " " + result : result);
1599
- continue;
1600
- }
1601
- hasPostfixModifier = false;
1602
- }
1603
- const variantModifier = modifiers.length === 0 ? "" : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(":");
1604
- const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
1605
- const classId = modifierId + classGroupId;
1606
- if (classGroupsInConflict.indexOf(classId) > -1) continue;
1607
- classGroupsInConflict.push(classId);
1608
- const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
1609
- for (let i = 0; i < conflictGroups.length; ++i) {
1610
- const group = conflictGroups[i];
1611
- classGroupsInConflict.push(modifierId + group);
1612
- }
1613
- result = originalClassName + (result.length > 0 ? " " + result : result);
1614
- }
1615
- return result;
1616
- };
1617
- /**
1618
- * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
1619
- *
1620
- * Specifically:
1621
- * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
1622
- * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
1623
- *
1624
- * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
1625
- */
1626
- var twJoin = (...classLists) => {
1627
- let index = 0;
1628
- let argument;
1629
- let resolvedValue;
1630
- let string = "";
1631
- while (index < classLists.length) if (argument = classLists[index++]) {
1632
- if (resolvedValue = toValue(argument)) {
1633
- string && (string += " ");
1634
- string += resolvedValue;
1635
- }
1636
- }
1637
- return string;
1638
- };
1639
- var toValue = (mix) => {
1640
- if (typeof mix === "string") return mix;
1641
- let resolvedValue;
1642
- let string = "";
1643
- for (let k = 0; k < mix.length; k++) if (mix[k]) {
1644
- if (resolvedValue = toValue(mix[k])) {
1645
- string && (string += " ");
1646
- string += resolvedValue;
1647
- }
1648
- }
1649
- return string;
1650
- };
1651
- var createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
1652
- let configUtils;
1653
- let cacheGet;
1654
- let cacheSet;
1655
- let functionToCall;
1656
- const initTailwindMerge = (classList) => {
1657
- configUtils = createConfigUtils(createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst()));
1658
- cacheGet = configUtils.cache.get;
1659
- cacheSet = configUtils.cache.set;
1660
- functionToCall = tailwindMerge;
1661
- return tailwindMerge(classList);
1662
- };
1663
- const tailwindMerge = (classList) => {
1664
- const cachedResult = cacheGet(classList);
1665
- if (cachedResult) return cachedResult;
1666
- const result = mergeClassList(classList, configUtils);
1667
- cacheSet(classList, result);
1668
- return result;
1669
- };
1670
- functionToCall = initTailwindMerge;
1671
- return (...args) => functionToCall(twJoin(...args));
1672
- };
1673
- var fallbackThemeArr = [];
1674
- var fromTheme = (key) => {
1675
- const themeGetter = (theme) => theme[key] || fallbackThemeArr;
1676
- themeGetter.isThemeGetter = true;
1677
- return themeGetter;
1678
- };
1679
- var arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
1680
- var arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
1681
- var fractionRegex = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/;
1682
- var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
1683
- var lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
1684
- var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
1685
- var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
1686
- var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
1687
- var isFraction = (value) => fractionRegex.test(value);
1688
- var isNumber = (value) => !!value && !Number.isNaN(Number(value));
1689
- var isInteger = (value) => !!value && Number.isInteger(Number(value));
1690
- var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
1691
- var isTshirtSize = (value) => tshirtUnitRegex.test(value);
1692
- var isAny = () => true;
1693
- var isLengthOnly = (value) => lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
1694
- var isNever = () => false;
1695
- var isShadow = (value) => shadowRegex.test(value);
1696
- var isImage = (value) => imageRegex.test(value);
1697
- var isAnyNonArbitrary = (value) => !isArbitraryValue(value) && !isArbitraryVariable(value);
1698
- var isArbitrarySize = (value) => getIsArbitraryValue(value, isLabelSize, isNever);
1699
- var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
1700
- var isArbitraryLength = (value) => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
1701
- var isArbitraryNumber = (value) => getIsArbitraryValue(value, isLabelNumber, isNumber);
1702
- var isArbitraryWeight = (value) => getIsArbitraryValue(value, isLabelWeight, isAny);
1703
- var isArbitraryFamilyName = (value) => getIsArbitraryValue(value, isLabelFamilyName, isNever);
1704
- var isArbitraryPosition = (value) => getIsArbitraryValue(value, isLabelPosition, isNever);
1705
- var isArbitraryImage = (value) => getIsArbitraryValue(value, isLabelImage, isImage);
1706
- var isArbitraryShadow = (value) => getIsArbitraryValue(value, isLabelShadow, isShadow);
1707
- var isArbitraryVariable = (value) => arbitraryVariableRegex.test(value);
1708
- var isArbitraryVariableLength = (value) => getIsArbitraryVariable(value, isLabelLength);
1709
- var isArbitraryVariableFamilyName = (value) => getIsArbitraryVariable(value, isLabelFamilyName);
1710
- var isArbitraryVariablePosition = (value) => getIsArbitraryVariable(value, isLabelPosition);
1711
- var isArbitraryVariableSize = (value) => getIsArbitraryVariable(value, isLabelSize);
1712
- var isArbitraryVariableImage = (value) => getIsArbitraryVariable(value, isLabelImage);
1713
- var isArbitraryVariableShadow = (value) => getIsArbitraryVariable(value, isLabelShadow, true);
1714
- var isArbitraryVariableWeight = (value) => getIsArbitraryVariable(value, isLabelWeight, true);
1715
- var getIsArbitraryValue = (value, testLabel, testValue) => {
1716
- const result = arbitraryValueRegex.exec(value);
1717
- if (result) {
1718
- if (result[1]) return testLabel(result[1]);
1719
- return testValue(result[2]);
1720
- }
1721
- return false;
1722
- };
1723
- var getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
1724
- const result = arbitraryVariableRegex.exec(value);
1725
- if (result) {
1726
- if (result[1]) return testLabel(result[1]);
1727
- return shouldMatchNoLabel;
1728
- }
1729
- return false;
1730
- };
1731
- var isLabelPosition = (label) => label === "position" || label === "percentage";
1732
- var isLabelImage = (label) => label === "image" || label === "url";
1733
- var isLabelSize = (label) => label === "length" || label === "size" || label === "bg-size";
1734
- var isLabelLength = (label) => label === "length";
1735
- var isLabelNumber = (label) => label === "number";
1736
- var isLabelFamilyName = (label) => label === "family-name";
1737
- var isLabelWeight = (label) => label === "number" || label === "weight";
1738
- var isLabelShadow = (label) => label === "shadow";
1739
- var getDefaultConfig = () => {
1740
- /**
1741
- * Theme getters for theme variable namespaces
1742
- * @see https://tailwindcss.com/docs/theme#theme-variable-namespaces
1743
- */
1744
- const themeColor = fromTheme("color");
1745
- const themeFont = fromTheme("font");
1746
- const themeText = fromTheme("text");
1747
- const themeFontWeight = fromTheme("font-weight");
1748
- const themeTracking = fromTheme("tracking");
1749
- const themeLeading = fromTheme("leading");
1750
- const themeBreakpoint = fromTheme("breakpoint");
1751
- const themeContainer = fromTheme("container");
1752
- const themeSpacing = fromTheme("spacing");
1753
- const themeRadius = fromTheme("radius");
1754
- const themeShadow = fromTheme("shadow");
1755
- const themeInsetShadow = fromTheme("inset-shadow");
1756
- const themeTextShadow = fromTheme("text-shadow");
1757
- const themeDropShadow = fromTheme("drop-shadow");
1758
- const themeBlur = fromTheme("blur");
1759
- const themePerspective = fromTheme("perspective");
1760
- const themeAspect = fromTheme("aspect");
1761
- const themeEase = fromTheme("ease");
1762
- const themeAnimate = fromTheme("animate");
1763
- /**
1764
- * Helpers to avoid repeating the same scales
1765
- *
1766
- * We use functions that create a new array every time they're called instead of static arrays.
1767
- * This ensures that users who modify any scale by mutating the array (e.g. with `array.push(element)`) don't accidentally mutate arrays in other parts of the config.
1768
- */
1769
- const scaleBreak = () => [
1770
- "auto",
1771
- "avoid",
1772
- "all",
1773
- "avoid-page",
1774
- "page",
1775
- "left",
1776
- "right",
1777
- "column"
1778
- ];
1779
- const scalePosition = () => [
1780
- "center",
1781
- "top",
1782
- "bottom",
1783
- "left",
1784
- "right",
1785
- "top-left",
1786
- "left-top",
1787
- "top-right",
1788
- "right-top",
1789
- "bottom-right",
1790
- "right-bottom",
1791
- "bottom-left",
1792
- "left-bottom"
1793
- ];
1794
- const scalePositionWithArbitrary = () => [
1795
- ...scalePosition(),
1796
- isArbitraryVariable,
1797
- isArbitraryValue
1798
- ];
1799
- const scaleOverflow = () => [
1800
- "auto",
1801
- "hidden",
1802
- "clip",
1803
- "visible",
1804
- "scroll"
1805
- ];
1806
- const scaleOverscroll = () => [
1807
- "auto",
1808
- "contain",
1809
- "none"
1810
- ];
1811
- const scaleUnambiguousSpacing = () => [
1812
- isArbitraryVariable,
1813
- isArbitraryValue,
1814
- themeSpacing
1815
- ];
1816
- const scaleInset = () => [
1817
- isFraction,
1818
- "full",
1819
- "auto",
1820
- ...scaleUnambiguousSpacing()
1821
- ];
1822
- const scaleGridTemplateColsRows = () => [
1823
- isInteger,
1824
- "none",
1825
- "subgrid",
1826
- isArbitraryVariable,
1827
- isArbitraryValue
1828
- ];
1829
- const scaleGridColRowStartAndEnd = () => [
1830
- "auto",
1831
- { span: [
1832
- "full",
1833
- isInteger,
1834
- isArbitraryVariable,
1835
- isArbitraryValue
1836
- ] },
1837
- isInteger,
1838
- isArbitraryVariable,
1839
- isArbitraryValue
1840
- ];
1841
- const scaleGridColRowStartOrEnd = () => [
1842
- isInteger,
1843
- "auto",
1844
- isArbitraryVariable,
1845
- isArbitraryValue
1846
- ];
1847
- const scaleGridAutoColsRows = () => [
1848
- "auto",
1849
- "min",
1850
- "max",
1851
- "fr",
1852
- isArbitraryVariable,
1853
- isArbitraryValue
1854
- ];
1855
- const scaleAlignPrimaryAxis = () => [
1856
- "start",
1857
- "end",
1858
- "center",
1859
- "between",
1860
- "around",
1861
- "evenly",
1862
- "stretch",
1863
- "baseline",
1864
- "center-safe",
1865
- "end-safe"
1866
- ];
1867
- const scaleAlignSecondaryAxis = () => [
1868
- "start",
1869
- "end",
1870
- "center",
1871
- "stretch",
1872
- "center-safe",
1873
- "end-safe"
1874
- ];
1875
- const scaleMargin = () => ["auto", ...scaleUnambiguousSpacing()];
1876
- const scaleSizing = () => [
1877
- isFraction,
1878
- "auto",
1879
- "full",
1880
- "dvw",
1881
- "dvh",
1882
- "lvw",
1883
- "lvh",
1884
- "svw",
1885
- "svh",
1886
- "min",
1887
- "max",
1888
- "fit",
1889
- ...scaleUnambiguousSpacing()
1890
- ];
1891
- const scaleSizingInline = () => [
1892
- isFraction,
1893
- "screen",
1894
- "full",
1895
- "dvw",
1896
- "lvw",
1897
- "svw",
1898
- "min",
1899
- "max",
1900
- "fit",
1901
- ...scaleUnambiguousSpacing()
1902
- ];
1903
- const scaleSizingBlock = () => [
1904
- isFraction,
1905
- "screen",
1906
- "full",
1907
- "lh",
1908
- "dvh",
1909
- "lvh",
1910
- "svh",
1911
- "min",
1912
- "max",
1913
- "fit",
1914
- ...scaleUnambiguousSpacing()
1915
- ];
1916
- const scaleColor = () => [
1917
- themeColor,
1918
- isArbitraryVariable,
1919
- isArbitraryValue
1920
- ];
1921
- const scaleBgPosition = () => [
1922
- ...scalePosition(),
1923
- isArbitraryVariablePosition,
1924
- isArbitraryPosition,
1925
- { position: [isArbitraryVariable, isArbitraryValue] }
1926
- ];
1927
- const scaleBgRepeat = () => ["no-repeat", { repeat: [
1928
- "",
1929
- "x",
1930
- "y",
1931
- "space",
1932
- "round"
1933
- ] }];
1934
- const scaleBgSize = () => [
1935
- "auto",
1936
- "cover",
1937
- "contain",
1938
- isArbitraryVariableSize,
1939
- isArbitrarySize,
1940
- { size: [isArbitraryVariable, isArbitraryValue] }
1941
- ];
1942
- const scaleGradientStopPosition = () => [
1943
- isPercent,
1944
- isArbitraryVariableLength,
1945
- isArbitraryLength
1946
- ];
1947
- const scaleRadius = () => [
1948
- "",
1949
- "none",
1950
- "full",
1951
- themeRadius,
1952
- isArbitraryVariable,
1953
- isArbitraryValue
1954
- ];
1955
- const scaleBorderWidth = () => [
1956
- "",
1957
- isNumber,
1958
- isArbitraryVariableLength,
1959
- isArbitraryLength
1960
- ];
1961
- const scaleLineStyle = () => [
1962
- "solid",
1963
- "dashed",
1964
- "dotted",
1965
- "double"
1966
- ];
1967
- const scaleBlendMode = () => [
1968
- "normal",
1969
- "multiply",
1970
- "screen",
1971
- "overlay",
1972
- "darken",
1973
- "lighten",
1974
- "color-dodge",
1975
- "color-burn",
1976
- "hard-light",
1977
- "soft-light",
1978
- "difference",
1979
- "exclusion",
1980
- "hue",
1981
- "saturation",
1982
- "color",
1983
- "luminosity"
1984
- ];
1985
- const scaleMaskImagePosition = () => [
1986
- isNumber,
1987
- isPercent,
1988
- isArbitraryVariablePosition,
1989
- isArbitraryPosition
1990
- ];
1991
- const scaleBlur = () => [
1992
- "",
1993
- "none",
1994
- themeBlur,
1995
- isArbitraryVariable,
1996
- isArbitraryValue
1997
- ];
1998
- const scaleRotate = () => [
1999
- "none",
2000
- isNumber,
2001
- isArbitraryVariable,
2002
- isArbitraryValue
2003
- ];
2004
- const scaleScale = () => [
2005
- "none",
2006
- isNumber,
2007
- isArbitraryVariable,
2008
- isArbitraryValue
2009
- ];
2010
- const scaleSkew = () => [
2011
- isNumber,
2012
- isArbitraryVariable,
2013
- isArbitraryValue
2014
- ];
2015
- const scaleTranslate = () => [
2016
- isFraction,
2017
- "full",
2018
- ...scaleUnambiguousSpacing()
2019
- ];
2020
- return {
2021
- cacheSize: 500,
2022
- theme: {
2023
- animate: [
2024
- "spin",
2025
- "ping",
2026
- "pulse",
2027
- "bounce"
2028
- ],
2029
- aspect: ["video"],
2030
- blur: [isTshirtSize],
2031
- breakpoint: [isTshirtSize],
2032
- color: [isAny],
2033
- container: [isTshirtSize],
2034
- "drop-shadow": [isTshirtSize],
2035
- ease: [
2036
- "in",
2037
- "out",
2038
- "in-out"
2039
- ],
2040
- font: [isAnyNonArbitrary],
2041
- "font-weight": [
2042
- "thin",
2043
- "extralight",
2044
- "light",
2045
- "normal",
2046
- "medium",
2047
- "semibold",
2048
- "bold",
2049
- "extrabold",
2050
- "black"
2051
- ],
2052
- "inset-shadow": [isTshirtSize],
2053
- leading: [
2054
- "none",
2055
- "tight",
2056
- "snug",
2057
- "normal",
2058
- "relaxed",
2059
- "loose"
2060
- ],
2061
- perspective: [
2062
- "dramatic",
2063
- "near",
2064
- "normal",
2065
- "midrange",
2066
- "distant",
2067
- "none"
2068
- ],
2069
- radius: [isTshirtSize],
2070
- shadow: [isTshirtSize],
2071
- spacing: ["px", isNumber],
2072
- text: [isTshirtSize],
2073
- "text-shadow": [isTshirtSize],
2074
- tracking: [
2075
- "tighter",
2076
- "tight",
2077
- "normal",
2078
- "wide",
2079
- "wider",
2080
- "widest"
2081
- ]
2082
- },
2083
- classGroups: {
2084
- /**
2085
- * Aspect Ratio
2086
- * @see https://tailwindcss.com/docs/aspect-ratio
2087
- */
2088
- aspect: [{ aspect: [
2089
- "auto",
2090
- "square",
2091
- isFraction,
2092
- isArbitraryValue,
2093
- isArbitraryVariable,
2094
- themeAspect
2095
- ] }],
2096
- /**
2097
- * Container
2098
- * @see https://tailwindcss.com/docs/container
2099
- * @deprecated since Tailwind CSS v4.0.0
2100
- */
2101
- container: ["container"],
2102
- /**
2103
- * Columns
2104
- * @see https://tailwindcss.com/docs/columns
2105
- */
2106
- columns: [{ columns: [
2107
- isNumber,
2108
- isArbitraryValue,
2109
- isArbitraryVariable,
2110
- themeContainer
2111
- ] }],
2112
- /**
2113
- * Break After
2114
- * @see https://tailwindcss.com/docs/break-after
2115
- */
2116
- "break-after": [{ "break-after": scaleBreak() }],
2117
- /**
2118
- * Break Before
2119
- * @see https://tailwindcss.com/docs/break-before
2120
- */
2121
- "break-before": [{ "break-before": scaleBreak() }],
2122
- /**
2123
- * Break Inside
2124
- * @see https://tailwindcss.com/docs/break-inside
2125
- */
2126
- "break-inside": [{ "break-inside": [
2127
- "auto",
2128
- "avoid",
2129
- "avoid-page",
2130
- "avoid-column"
2131
- ] }],
2132
- /**
2133
- * Box Decoration Break
2134
- * @see https://tailwindcss.com/docs/box-decoration-break
2135
- */
2136
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
2137
- /**
2138
- * Box Sizing
2139
- * @see https://tailwindcss.com/docs/box-sizing
2140
- */
2141
- box: [{ box: ["border", "content"] }],
2142
- /**
2143
- * Display
2144
- * @see https://tailwindcss.com/docs/display
2145
- */
2146
- display: [
2147
- "block",
2148
- "inline-block",
2149
- "inline",
2150
- "flex",
2151
- "inline-flex",
2152
- "table",
2153
- "inline-table",
2154
- "table-caption",
2155
- "table-cell",
2156
- "table-column",
2157
- "table-column-group",
2158
- "table-footer-group",
2159
- "table-header-group",
2160
- "table-row-group",
2161
- "table-row",
2162
- "flow-root",
2163
- "grid",
2164
- "inline-grid",
2165
- "contents",
2166
- "list-item",
2167
- "hidden"
2168
- ],
2169
- /**
2170
- * Screen Reader Only
2171
- * @see https://tailwindcss.com/docs/display#screen-reader-only
2172
- */
2173
- sr: ["sr-only", "not-sr-only"],
2174
- /**
2175
- * Floats
2176
- * @see https://tailwindcss.com/docs/float
2177
- */
2178
- float: [{ float: [
2179
- "right",
2180
- "left",
2181
- "none",
2182
- "start",
2183
- "end"
2184
- ] }],
2185
- /**
2186
- * Clear
2187
- * @see https://tailwindcss.com/docs/clear
2188
- */
2189
- clear: [{ clear: [
2190
- "left",
2191
- "right",
2192
- "both",
2193
- "none",
2194
- "start",
2195
- "end"
2196
- ] }],
2197
- /**
2198
- * Isolation
2199
- * @see https://tailwindcss.com/docs/isolation
2200
- */
2201
- isolation: ["isolate", "isolation-auto"],
2202
- /**
2203
- * Object Fit
2204
- * @see https://tailwindcss.com/docs/object-fit
2205
- */
2206
- "object-fit": [{ object: [
2207
- "contain",
2208
- "cover",
2209
- "fill",
2210
- "none",
2211
- "scale-down"
2212
- ] }],
2213
- /**
2214
- * Object Position
2215
- * @see https://tailwindcss.com/docs/object-position
2216
- */
2217
- "object-position": [{ object: scalePositionWithArbitrary() }],
2218
- /**
2219
- * Overflow
2220
- * @see https://tailwindcss.com/docs/overflow
2221
- */
2222
- overflow: [{ overflow: scaleOverflow() }],
2223
- /**
2224
- * Overflow X
2225
- * @see https://tailwindcss.com/docs/overflow
2226
- */
2227
- "overflow-x": [{ "overflow-x": scaleOverflow() }],
2228
- /**
2229
- * Overflow Y
2230
- * @see https://tailwindcss.com/docs/overflow
2231
- */
2232
- "overflow-y": [{ "overflow-y": scaleOverflow() }],
2233
- /**
2234
- * Overscroll Behavior
2235
- * @see https://tailwindcss.com/docs/overscroll-behavior
2236
- */
2237
- overscroll: [{ overscroll: scaleOverscroll() }],
2238
- /**
2239
- * Overscroll Behavior X
2240
- * @see https://tailwindcss.com/docs/overscroll-behavior
2241
- */
2242
- "overscroll-x": [{ "overscroll-x": scaleOverscroll() }],
2243
- /**
2244
- * Overscroll Behavior Y
2245
- * @see https://tailwindcss.com/docs/overscroll-behavior
2246
- */
2247
- "overscroll-y": [{ "overscroll-y": scaleOverscroll() }],
2248
- /**
2249
- * Position
2250
- * @see https://tailwindcss.com/docs/position
2251
- */
2252
- position: [
2253
- "static",
2254
- "fixed",
2255
- "absolute",
2256
- "relative",
2257
- "sticky"
2258
- ],
2259
- /**
2260
- * Inset
2261
- * @see https://tailwindcss.com/docs/top-right-bottom-left
2262
- */
2263
- inset: [{ inset: scaleInset() }],
2264
- /**
2265
- * Inset Inline
2266
- * @see https://tailwindcss.com/docs/top-right-bottom-left
2267
- */
2268
- "inset-x": [{ "inset-x": scaleInset() }],
2269
- /**
2270
- * Inset Block
2271
- * @see https://tailwindcss.com/docs/top-right-bottom-left
2272
- */
2273
- "inset-y": [{ "inset-y": scaleInset() }],
2274
- /**
2275
- * Inset Inline Start
2276
- * @see https://tailwindcss.com/docs/top-right-bottom-left
2277
- * @todo class group will be renamed to `inset-s` in next major release
2278
- */
2279
- start: [{
2280
- "inset-s": scaleInset(),
2281
- /**
2282
- * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
2283
- * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
2284
- */
2285
- start: scaleInset()
2286
- }],
2287
- /**
2288
- * Inset Inline End
2289
- * @see https://tailwindcss.com/docs/top-right-bottom-left
2290
- * @todo class group will be renamed to `inset-e` in next major release
2291
- */
2292
- end: [{
2293
- "inset-e": scaleInset(),
2294
- /**
2295
- * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
2296
- * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
2297
- */
2298
- end: scaleInset()
2299
- }],
2300
- /**
2301
- * Inset Block Start
2302
- * @see https://tailwindcss.com/docs/top-right-bottom-left
2303
- */
2304
- "inset-bs": [{ "inset-bs": scaleInset() }],
2305
- /**
2306
- * Inset Block End
2307
- * @see https://tailwindcss.com/docs/top-right-bottom-left
2308
- */
2309
- "inset-be": [{ "inset-be": scaleInset() }],
2310
- /**
2311
- * Top
2312
- * @see https://tailwindcss.com/docs/top-right-bottom-left
2313
- */
2314
- top: [{ top: scaleInset() }],
2315
- /**
2316
- * Right
2317
- * @see https://tailwindcss.com/docs/top-right-bottom-left
2318
- */
2319
- right: [{ right: scaleInset() }],
2320
- /**
2321
- * Bottom
2322
- * @see https://tailwindcss.com/docs/top-right-bottom-left
2323
- */
2324
- bottom: [{ bottom: scaleInset() }],
2325
- /**
2326
- * Left
2327
- * @see https://tailwindcss.com/docs/top-right-bottom-left
2328
- */
2329
- left: [{ left: scaleInset() }],
2330
- /**
2331
- * Visibility
2332
- * @see https://tailwindcss.com/docs/visibility
2333
- */
2334
- visibility: [
2335
- "visible",
2336
- "invisible",
2337
- "collapse"
2338
- ],
2339
- /**
2340
- * Z-Index
2341
- * @see https://tailwindcss.com/docs/z-index
2342
- */
2343
- z: [{ z: [
2344
- isInteger,
2345
- "auto",
2346
- isArbitraryVariable,
2347
- isArbitraryValue
2348
- ] }],
2349
- /**
2350
- * Flex Basis
2351
- * @see https://tailwindcss.com/docs/flex-basis
2352
- */
2353
- basis: [{ basis: [
2354
- isFraction,
2355
- "full",
2356
- "auto",
2357
- themeContainer,
2358
- ...scaleUnambiguousSpacing()
2359
- ] }],
2360
- /**
2361
- * Flex Direction
2362
- * @see https://tailwindcss.com/docs/flex-direction
2363
- */
2364
- "flex-direction": [{ flex: [
2365
- "row",
2366
- "row-reverse",
2367
- "col",
2368
- "col-reverse"
2369
- ] }],
2370
- /**
2371
- * Flex Wrap
2372
- * @see https://tailwindcss.com/docs/flex-wrap
2373
- */
2374
- "flex-wrap": [{ flex: [
2375
- "nowrap",
2376
- "wrap",
2377
- "wrap-reverse"
2378
- ] }],
2379
- /**
2380
- * Flex
2381
- * @see https://tailwindcss.com/docs/flex
2382
- */
2383
- flex: [{ flex: [
2384
- isNumber,
2385
- isFraction,
2386
- "auto",
2387
- "initial",
2388
- "none",
2389
- isArbitraryValue
2390
- ] }],
2391
- /**
2392
- * Flex Grow
2393
- * @see https://tailwindcss.com/docs/flex-grow
2394
- */
2395
- grow: [{ grow: [
2396
- "",
2397
- isNumber,
2398
- isArbitraryVariable,
2399
- isArbitraryValue
2400
- ] }],
2401
- /**
2402
- * Flex Shrink
2403
- * @see https://tailwindcss.com/docs/flex-shrink
2404
- */
2405
- shrink: [{ shrink: [
2406
- "",
2407
- isNumber,
2408
- isArbitraryVariable,
2409
- isArbitraryValue
2410
- ] }],
2411
- /**
2412
- * Order
2413
- * @see https://tailwindcss.com/docs/order
2414
- */
2415
- order: [{ order: [
2416
- isInteger,
2417
- "first",
2418
- "last",
2419
- "none",
2420
- isArbitraryVariable,
2421
- isArbitraryValue
2422
- ] }],
2423
- /**
2424
- * Grid Template Columns
2425
- * @see https://tailwindcss.com/docs/grid-template-columns
2426
- */
2427
- "grid-cols": [{ "grid-cols": scaleGridTemplateColsRows() }],
2428
- /**
2429
- * Grid Column Start / End
2430
- * @see https://tailwindcss.com/docs/grid-column
2431
- */
2432
- "col-start-end": [{ col: scaleGridColRowStartAndEnd() }],
2433
- /**
2434
- * Grid Column Start
2435
- * @see https://tailwindcss.com/docs/grid-column
2436
- */
2437
- "col-start": [{ "col-start": scaleGridColRowStartOrEnd() }],
2438
- /**
2439
- * Grid Column End
2440
- * @see https://tailwindcss.com/docs/grid-column
2441
- */
2442
- "col-end": [{ "col-end": scaleGridColRowStartOrEnd() }],
2443
- /**
2444
- * Grid Template Rows
2445
- * @see https://tailwindcss.com/docs/grid-template-rows
2446
- */
2447
- "grid-rows": [{ "grid-rows": scaleGridTemplateColsRows() }],
2448
- /**
2449
- * Grid Row Start / End
2450
- * @see https://tailwindcss.com/docs/grid-row
2451
- */
2452
- "row-start-end": [{ row: scaleGridColRowStartAndEnd() }],
2453
- /**
2454
- * Grid Row Start
2455
- * @see https://tailwindcss.com/docs/grid-row
2456
- */
2457
- "row-start": [{ "row-start": scaleGridColRowStartOrEnd() }],
2458
- /**
2459
- * Grid Row End
2460
- * @see https://tailwindcss.com/docs/grid-row
2461
- */
2462
- "row-end": [{ "row-end": scaleGridColRowStartOrEnd() }],
2463
- /**
2464
- * Grid Auto Flow
2465
- * @see https://tailwindcss.com/docs/grid-auto-flow
2466
- */
2467
- "grid-flow": [{ "grid-flow": [
2468
- "row",
2469
- "col",
2470
- "dense",
2471
- "row-dense",
2472
- "col-dense"
2473
- ] }],
2474
- /**
2475
- * Grid Auto Columns
2476
- * @see https://tailwindcss.com/docs/grid-auto-columns
2477
- */
2478
- "auto-cols": [{ "auto-cols": scaleGridAutoColsRows() }],
2479
- /**
2480
- * Grid Auto Rows
2481
- * @see https://tailwindcss.com/docs/grid-auto-rows
2482
- */
2483
- "auto-rows": [{ "auto-rows": scaleGridAutoColsRows() }],
2484
- /**
2485
- * Gap
2486
- * @see https://tailwindcss.com/docs/gap
2487
- */
2488
- gap: [{ gap: scaleUnambiguousSpacing() }],
2489
- /**
2490
- * Gap X
2491
- * @see https://tailwindcss.com/docs/gap
2492
- */
2493
- "gap-x": [{ "gap-x": scaleUnambiguousSpacing() }],
2494
- /**
2495
- * Gap Y
2496
- * @see https://tailwindcss.com/docs/gap
2497
- */
2498
- "gap-y": [{ "gap-y": scaleUnambiguousSpacing() }],
2499
- /**
2500
- * Justify Content
2501
- * @see https://tailwindcss.com/docs/justify-content
2502
- */
2503
- "justify-content": [{ justify: [...scaleAlignPrimaryAxis(), "normal"] }],
2504
- /**
2505
- * Justify Items
2506
- * @see https://tailwindcss.com/docs/justify-items
2507
- */
2508
- "justify-items": [{ "justify-items": [...scaleAlignSecondaryAxis(), "normal"] }],
2509
- /**
2510
- * Justify Self
2511
- * @see https://tailwindcss.com/docs/justify-self
2512
- */
2513
- "justify-self": [{ "justify-self": ["auto", ...scaleAlignSecondaryAxis()] }],
2514
- /**
2515
- * Align Content
2516
- * @see https://tailwindcss.com/docs/align-content
2517
- */
2518
- "align-content": [{ content: ["normal", ...scaleAlignPrimaryAxis()] }],
2519
- /**
2520
- * Align Items
2521
- * @see https://tailwindcss.com/docs/align-items
2522
- */
2523
- "align-items": [{ items: [...scaleAlignSecondaryAxis(), { baseline: ["", "last"] }] }],
2524
- /**
2525
- * Align Self
2526
- * @see https://tailwindcss.com/docs/align-self
2527
- */
2528
- "align-self": [{ self: [
2529
- "auto",
2530
- ...scaleAlignSecondaryAxis(),
2531
- { baseline: ["", "last"] }
2532
- ] }],
2533
- /**
2534
- * Place Content
2535
- * @see https://tailwindcss.com/docs/place-content
2536
- */
2537
- "place-content": [{ "place-content": scaleAlignPrimaryAxis() }],
2538
- /**
2539
- * Place Items
2540
- * @see https://tailwindcss.com/docs/place-items
2541
- */
2542
- "place-items": [{ "place-items": [...scaleAlignSecondaryAxis(), "baseline"] }],
2543
- /**
2544
- * Place Self
2545
- * @see https://tailwindcss.com/docs/place-self
2546
- */
2547
- "place-self": [{ "place-self": ["auto", ...scaleAlignSecondaryAxis()] }],
2548
- /**
2549
- * Padding
2550
- * @see https://tailwindcss.com/docs/padding
2551
- */
2552
- p: [{ p: scaleUnambiguousSpacing() }],
2553
- /**
2554
- * Padding Inline
2555
- * @see https://tailwindcss.com/docs/padding
2556
- */
2557
- px: [{ px: scaleUnambiguousSpacing() }],
2558
- /**
2559
- * Padding Block
2560
- * @see https://tailwindcss.com/docs/padding
2561
- */
2562
- py: [{ py: scaleUnambiguousSpacing() }],
2563
- /**
2564
- * Padding Inline Start
2565
- * @see https://tailwindcss.com/docs/padding
2566
- */
2567
- ps: [{ ps: scaleUnambiguousSpacing() }],
2568
- /**
2569
- * Padding Inline End
2570
- * @see https://tailwindcss.com/docs/padding
2571
- */
2572
- pe: [{ pe: scaleUnambiguousSpacing() }],
2573
- /**
2574
- * Padding Block Start
2575
- * @see https://tailwindcss.com/docs/padding
2576
- */
2577
- pbs: [{ pbs: scaleUnambiguousSpacing() }],
2578
- /**
2579
- * Padding Block End
2580
- * @see https://tailwindcss.com/docs/padding
2581
- */
2582
- pbe: [{ pbe: scaleUnambiguousSpacing() }],
2583
- /**
2584
- * Padding Top
2585
- * @see https://tailwindcss.com/docs/padding
2586
- */
2587
- pt: [{ pt: scaleUnambiguousSpacing() }],
2588
- /**
2589
- * Padding Right
2590
- * @see https://tailwindcss.com/docs/padding
2591
- */
2592
- pr: [{ pr: scaleUnambiguousSpacing() }],
2593
- /**
2594
- * Padding Bottom
2595
- * @see https://tailwindcss.com/docs/padding
2596
- */
2597
- pb: [{ pb: scaleUnambiguousSpacing() }],
2598
- /**
2599
- * Padding Left
2600
- * @see https://tailwindcss.com/docs/padding
2601
- */
2602
- pl: [{ pl: scaleUnambiguousSpacing() }],
2603
- /**
2604
- * Margin
2605
- * @see https://tailwindcss.com/docs/margin
2606
- */
2607
- m: [{ m: scaleMargin() }],
2608
- /**
2609
- * Margin Inline
2610
- * @see https://tailwindcss.com/docs/margin
2611
- */
2612
- mx: [{ mx: scaleMargin() }],
2613
- /**
2614
- * Margin Block
2615
- * @see https://tailwindcss.com/docs/margin
2616
- */
2617
- my: [{ my: scaleMargin() }],
2618
- /**
2619
- * Margin Inline Start
2620
- * @see https://tailwindcss.com/docs/margin
2621
- */
2622
- ms: [{ ms: scaleMargin() }],
2623
- /**
2624
- * Margin Inline End
2625
- * @see https://tailwindcss.com/docs/margin
2626
- */
2627
- me: [{ me: scaleMargin() }],
2628
- /**
2629
- * Margin Block Start
2630
- * @see https://tailwindcss.com/docs/margin
2631
- */
2632
- mbs: [{ mbs: scaleMargin() }],
2633
- /**
2634
- * Margin Block End
2635
- * @see https://tailwindcss.com/docs/margin
2636
- */
2637
- mbe: [{ mbe: scaleMargin() }],
2638
- /**
2639
- * Margin Top
2640
- * @see https://tailwindcss.com/docs/margin
2641
- */
2642
- mt: [{ mt: scaleMargin() }],
2643
- /**
2644
- * Margin Right
2645
- * @see https://tailwindcss.com/docs/margin
2646
- */
2647
- mr: [{ mr: scaleMargin() }],
2648
- /**
2649
- * Margin Bottom
2650
- * @see https://tailwindcss.com/docs/margin
2651
- */
2652
- mb: [{ mb: scaleMargin() }],
2653
- /**
2654
- * Margin Left
2655
- * @see https://tailwindcss.com/docs/margin
2656
- */
2657
- ml: [{ ml: scaleMargin() }],
2658
- /**
2659
- * Space Between X
2660
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
2661
- */
2662
- "space-x": [{ "space-x": scaleUnambiguousSpacing() }],
2663
- /**
2664
- * Space Between X Reverse
2665
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
2666
- */
2667
- "space-x-reverse": ["space-x-reverse"],
2668
- /**
2669
- * Space Between Y
2670
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
2671
- */
2672
- "space-y": [{ "space-y": scaleUnambiguousSpacing() }],
2673
- /**
2674
- * Space Between Y Reverse
2675
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
2676
- */
2677
- "space-y-reverse": ["space-y-reverse"],
2678
- /**
2679
- * Size
2680
- * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
2681
- */
2682
- size: [{ size: scaleSizing() }],
2683
- /**
2684
- * Inline Size
2685
- * @see https://tailwindcss.com/docs/width
2686
- */
2687
- "inline-size": [{ inline: ["auto", ...scaleSizingInline()] }],
2688
- /**
2689
- * Min-Inline Size
2690
- * @see https://tailwindcss.com/docs/min-width
2691
- */
2692
- "min-inline-size": [{ "min-inline": ["auto", ...scaleSizingInline()] }],
2693
- /**
2694
- * Max-Inline Size
2695
- * @see https://tailwindcss.com/docs/max-width
2696
- */
2697
- "max-inline-size": [{ "max-inline": ["none", ...scaleSizingInline()] }],
2698
- /**
2699
- * Block Size
2700
- * @see https://tailwindcss.com/docs/height
2701
- */
2702
- "block-size": [{ block: ["auto", ...scaleSizingBlock()] }],
2703
- /**
2704
- * Min-Block Size
2705
- * @see https://tailwindcss.com/docs/min-height
2706
- */
2707
- "min-block-size": [{ "min-block": ["auto", ...scaleSizingBlock()] }],
2708
- /**
2709
- * Max-Block Size
2710
- * @see https://tailwindcss.com/docs/max-height
2711
- */
2712
- "max-block-size": [{ "max-block": ["none", ...scaleSizingBlock()] }],
2713
- /**
2714
- * Width
2715
- * @see https://tailwindcss.com/docs/width
2716
- */
2717
- w: [{ w: [
2718
- themeContainer,
2719
- "screen",
2720
- ...scaleSizing()
2721
- ] }],
2722
- /**
2723
- * Min-Width
2724
- * @see https://tailwindcss.com/docs/min-width
2725
- */
2726
- "min-w": [{ "min-w": [
2727
- themeContainer,
2728
- "screen",
2729
- "none",
2730
- ...scaleSizing()
2731
- ] }],
2732
- /**
2733
- * Max-Width
2734
- * @see https://tailwindcss.com/docs/max-width
2735
- */
2736
- "max-w": [{ "max-w": [
2737
- themeContainer,
2738
- "screen",
2739
- "none",
2740
- "prose",
2741
- { screen: [themeBreakpoint] },
2742
- ...scaleSizing()
2743
- ] }],
2744
- /**
2745
- * Height
2746
- * @see https://tailwindcss.com/docs/height
2747
- */
2748
- h: [{ h: [
2749
- "screen",
2750
- "lh",
2751
- ...scaleSizing()
2752
- ] }],
2753
- /**
2754
- * Min-Height
2755
- * @see https://tailwindcss.com/docs/min-height
2756
- */
2757
- "min-h": [{ "min-h": [
2758
- "screen",
2759
- "lh",
2760
- "none",
2761
- ...scaleSizing()
2762
- ] }],
2763
- /**
2764
- * Max-Height
2765
- * @see https://tailwindcss.com/docs/max-height
2766
- */
2767
- "max-h": [{ "max-h": [
2768
- "screen",
2769
- "lh",
2770
- ...scaleSizing()
2771
- ] }],
2772
- /**
2773
- * Font Size
2774
- * @see https://tailwindcss.com/docs/font-size
2775
- */
2776
- "font-size": [{ text: [
2777
- "base",
2778
- themeText,
2779
- isArbitraryVariableLength,
2780
- isArbitraryLength
2781
- ] }],
2782
- /**
2783
- * Font Smoothing
2784
- * @see https://tailwindcss.com/docs/font-smoothing
2785
- */
2786
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
2787
- /**
2788
- * Font Style
2789
- * @see https://tailwindcss.com/docs/font-style
2790
- */
2791
- "font-style": ["italic", "not-italic"],
2792
- /**
2793
- * Font Weight
2794
- * @see https://tailwindcss.com/docs/font-weight
2795
- */
2796
- "font-weight": [{ font: [
2797
- themeFontWeight,
2798
- isArbitraryVariableWeight,
2799
- isArbitraryWeight
2800
- ] }],
2801
- /**
2802
- * Font Stretch
2803
- * @see https://tailwindcss.com/docs/font-stretch
2804
- */
2805
- "font-stretch": [{ "font-stretch": [
2806
- "ultra-condensed",
2807
- "extra-condensed",
2808
- "condensed",
2809
- "semi-condensed",
2810
- "normal",
2811
- "semi-expanded",
2812
- "expanded",
2813
- "extra-expanded",
2814
- "ultra-expanded",
2815
- isPercent,
2816
- isArbitraryValue
2817
- ] }],
2818
- /**
2819
- * Font Family
2820
- * @see https://tailwindcss.com/docs/font-family
2821
- */
2822
- "font-family": [{ font: [
2823
- isArbitraryVariableFamilyName,
2824
- isArbitraryFamilyName,
2825
- themeFont
2826
- ] }],
2827
- /**
2828
- * Font Feature Settings
2829
- * @see https://tailwindcss.com/docs/font-feature-settings
2830
- */
2831
- "font-features": [{ "font-features": [isArbitraryValue] }],
2832
- /**
2833
- * Font Variant Numeric
2834
- * @see https://tailwindcss.com/docs/font-variant-numeric
2835
- */
2836
- "fvn-normal": ["normal-nums"],
2837
- /**
2838
- * Font Variant Numeric
2839
- * @see https://tailwindcss.com/docs/font-variant-numeric
2840
- */
2841
- "fvn-ordinal": ["ordinal"],
2842
- /**
2843
- * Font Variant Numeric
2844
- * @see https://tailwindcss.com/docs/font-variant-numeric
2845
- */
2846
- "fvn-slashed-zero": ["slashed-zero"],
2847
- /**
2848
- * Font Variant Numeric
2849
- * @see https://tailwindcss.com/docs/font-variant-numeric
2850
- */
2851
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
2852
- /**
2853
- * Font Variant Numeric
2854
- * @see https://tailwindcss.com/docs/font-variant-numeric
2855
- */
2856
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
2857
- /**
2858
- * Font Variant Numeric
2859
- * @see https://tailwindcss.com/docs/font-variant-numeric
2860
- */
2861
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
2862
- /**
2863
- * Letter Spacing
2864
- * @see https://tailwindcss.com/docs/letter-spacing
2865
- */
2866
- tracking: [{ tracking: [
2867
- themeTracking,
2868
- isArbitraryVariable,
2869
- isArbitraryValue
2870
- ] }],
2871
- /**
2872
- * Line Clamp
2873
- * @see https://tailwindcss.com/docs/line-clamp
2874
- */
2875
- "line-clamp": [{ "line-clamp": [
2876
- isNumber,
2877
- "none",
2878
- isArbitraryVariable,
2879
- isArbitraryNumber
2880
- ] }],
2881
- /**
2882
- * Line Height
2883
- * @see https://tailwindcss.com/docs/line-height
2884
- */
2885
- leading: [{ leading: [themeLeading, ...scaleUnambiguousSpacing()] }],
2886
- /**
2887
- * List Style Image
2888
- * @see https://tailwindcss.com/docs/list-style-image
2889
- */
2890
- "list-image": [{ "list-image": [
2891
- "none",
2892
- isArbitraryVariable,
2893
- isArbitraryValue
2894
- ] }],
2895
- /**
2896
- * List Style Position
2897
- * @see https://tailwindcss.com/docs/list-style-position
2898
- */
2899
- "list-style-position": [{ list: ["inside", "outside"] }],
2900
- /**
2901
- * List Style Type
2902
- * @see https://tailwindcss.com/docs/list-style-type
2903
- */
2904
- "list-style-type": [{ list: [
2905
- "disc",
2906
- "decimal",
2907
- "none",
2908
- isArbitraryVariable,
2909
- isArbitraryValue
2910
- ] }],
2911
- /**
2912
- * Text Alignment
2913
- * @see https://tailwindcss.com/docs/text-align
2914
- */
2915
- "text-alignment": [{ text: [
2916
- "left",
2917
- "center",
2918
- "right",
2919
- "justify",
2920
- "start",
2921
- "end"
2922
- ] }],
2923
- /**
2924
- * Placeholder Color
2925
- * @deprecated since Tailwind CSS v3.0.0
2926
- * @see https://v3.tailwindcss.com/docs/placeholder-color
2927
- */
2928
- "placeholder-color": [{ placeholder: scaleColor() }],
2929
- /**
2930
- * Text Color
2931
- * @see https://tailwindcss.com/docs/text-color
2932
- */
2933
- "text-color": [{ text: scaleColor() }],
2934
- /**
2935
- * Text Decoration
2936
- * @see https://tailwindcss.com/docs/text-decoration
2937
- */
2938
- "text-decoration": [
2939
- "underline",
2940
- "overline",
2941
- "line-through",
2942
- "no-underline"
2943
- ],
2944
- /**
2945
- * Text Decoration Style
2946
- * @see https://tailwindcss.com/docs/text-decoration-style
2947
- */
2948
- "text-decoration-style": [{ decoration: [...scaleLineStyle(), "wavy"] }],
2949
- /**
2950
- * Text Decoration Thickness
2951
- * @see https://tailwindcss.com/docs/text-decoration-thickness
2952
- */
2953
- "text-decoration-thickness": [{ decoration: [
2954
- isNumber,
2955
- "from-font",
2956
- "auto",
2957
- isArbitraryVariable,
2958
- isArbitraryLength
2959
- ] }],
2960
- /**
2961
- * Text Decoration Color
2962
- * @see https://tailwindcss.com/docs/text-decoration-color
2963
- */
2964
- "text-decoration-color": [{ decoration: scaleColor() }],
2965
- /**
2966
- * Text Underline Offset
2967
- * @see https://tailwindcss.com/docs/text-underline-offset
2968
- */
2969
- "underline-offset": [{ "underline-offset": [
2970
- isNumber,
2971
- "auto",
2972
- isArbitraryVariable,
2973
- isArbitraryValue
2974
- ] }],
2975
- /**
2976
- * Text Transform
2977
- * @see https://tailwindcss.com/docs/text-transform
2978
- */
2979
- "text-transform": [
2980
- "uppercase",
2981
- "lowercase",
2982
- "capitalize",
2983
- "normal-case"
2984
- ],
2985
- /**
2986
- * Text Overflow
2987
- * @see https://tailwindcss.com/docs/text-overflow
2988
- */
2989
- "text-overflow": [
2990
- "truncate",
2991
- "text-ellipsis",
2992
- "text-clip"
2993
- ],
2994
- /**
2995
- * Text Wrap
2996
- * @see https://tailwindcss.com/docs/text-wrap
2997
- */
2998
- "text-wrap": [{ text: [
2999
- "wrap",
3000
- "nowrap",
3001
- "balance",
3002
- "pretty"
3003
- ] }],
3004
- /**
3005
- * Text Indent
3006
- * @see https://tailwindcss.com/docs/text-indent
3007
- */
3008
- indent: [{ indent: scaleUnambiguousSpacing() }],
3009
- /**
3010
- * Vertical Alignment
3011
- * @see https://tailwindcss.com/docs/vertical-align
3012
- */
3013
- "vertical-align": [{ align: [
3014
- "baseline",
3015
- "top",
3016
- "middle",
3017
- "bottom",
3018
- "text-top",
3019
- "text-bottom",
3020
- "sub",
3021
- "super",
3022
- isArbitraryVariable,
3023
- isArbitraryValue
3024
- ] }],
3025
- /**
3026
- * Whitespace
3027
- * @see https://tailwindcss.com/docs/whitespace
3028
- */
3029
- whitespace: [{ whitespace: [
3030
- "normal",
3031
- "nowrap",
3032
- "pre",
3033
- "pre-line",
3034
- "pre-wrap",
3035
- "break-spaces"
3036
- ] }],
3037
- /**
3038
- * Word Break
3039
- * @see https://tailwindcss.com/docs/word-break
3040
- */
3041
- break: [{ break: [
3042
- "normal",
3043
- "words",
3044
- "all",
3045
- "keep"
3046
- ] }],
3047
- /**
3048
- * Overflow Wrap
3049
- * @see https://tailwindcss.com/docs/overflow-wrap
3050
- */
3051
- wrap: [{ wrap: [
3052
- "break-word",
3053
- "anywhere",
3054
- "normal"
3055
- ] }],
3056
- /**
3057
- * Hyphens
3058
- * @see https://tailwindcss.com/docs/hyphens
3059
- */
3060
- hyphens: [{ hyphens: [
3061
- "none",
3062
- "manual",
3063
- "auto"
3064
- ] }],
3065
- /**
3066
- * Content
3067
- * @see https://tailwindcss.com/docs/content
3068
- */
3069
- content: [{ content: [
3070
- "none",
3071
- isArbitraryVariable,
3072
- isArbitraryValue
3073
- ] }],
3074
- /**
3075
- * Background Attachment
3076
- * @see https://tailwindcss.com/docs/background-attachment
3077
- */
3078
- "bg-attachment": [{ bg: [
3079
- "fixed",
3080
- "local",
3081
- "scroll"
3082
- ] }],
3083
- /**
3084
- * Background Clip
3085
- * @see https://tailwindcss.com/docs/background-clip
3086
- */
3087
- "bg-clip": [{ "bg-clip": [
3088
- "border",
3089
- "padding",
3090
- "content",
3091
- "text"
3092
- ] }],
3093
- /**
3094
- * Background Origin
3095
- * @see https://tailwindcss.com/docs/background-origin
3096
- */
3097
- "bg-origin": [{ "bg-origin": [
3098
- "border",
3099
- "padding",
3100
- "content"
3101
- ] }],
3102
- /**
3103
- * Background Position
3104
- * @see https://tailwindcss.com/docs/background-position
3105
- */
3106
- "bg-position": [{ bg: scaleBgPosition() }],
3107
- /**
3108
- * Background Repeat
3109
- * @see https://tailwindcss.com/docs/background-repeat
3110
- */
3111
- "bg-repeat": [{ bg: scaleBgRepeat() }],
3112
- /**
3113
- * Background Size
3114
- * @see https://tailwindcss.com/docs/background-size
3115
- */
3116
- "bg-size": [{ bg: scaleBgSize() }],
3117
- /**
3118
- * Background Image
3119
- * @see https://tailwindcss.com/docs/background-image
3120
- */
3121
- "bg-image": [{ bg: [
3122
- "none",
3123
- {
3124
- linear: [
3125
- { to: [
3126
- "t",
3127
- "tr",
3128
- "r",
3129
- "br",
3130
- "b",
3131
- "bl",
3132
- "l",
3133
- "tl"
3134
- ] },
3135
- isInteger,
3136
- isArbitraryVariable,
3137
- isArbitraryValue
3138
- ],
3139
- radial: [
3140
- "",
3141
- isArbitraryVariable,
3142
- isArbitraryValue
3143
- ],
3144
- conic: [
3145
- isInteger,
3146
- isArbitraryVariable,
3147
- isArbitraryValue
3148
- ]
3149
- },
3150
- isArbitraryVariableImage,
3151
- isArbitraryImage
3152
- ] }],
3153
- /**
3154
- * Background Color
3155
- * @see https://tailwindcss.com/docs/background-color
3156
- */
3157
- "bg-color": [{ bg: scaleColor() }],
3158
- /**
3159
- * Gradient Color Stops From Position
3160
- * @see https://tailwindcss.com/docs/gradient-color-stops
3161
- */
3162
- "gradient-from-pos": [{ from: scaleGradientStopPosition() }],
3163
- /**
3164
- * Gradient Color Stops Via Position
3165
- * @see https://tailwindcss.com/docs/gradient-color-stops
3166
- */
3167
- "gradient-via-pos": [{ via: scaleGradientStopPosition() }],
3168
- /**
3169
- * Gradient Color Stops To Position
3170
- * @see https://tailwindcss.com/docs/gradient-color-stops
3171
- */
3172
- "gradient-to-pos": [{ to: scaleGradientStopPosition() }],
3173
- /**
3174
- * Gradient Color Stops From
3175
- * @see https://tailwindcss.com/docs/gradient-color-stops
3176
- */
3177
- "gradient-from": [{ from: scaleColor() }],
3178
- /**
3179
- * Gradient Color Stops Via
3180
- * @see https://tailwindcss.com/docs/gradient-color-stops
3181
- */
3182
- "gradient-via": [{ via: scaleColor() }],
3183
- /**
3184
- * Gradient Color Stops To
3185
- * @see https://tailwindcss.com/docs/gradient-color-stops
3186
- */
3187
- "gradient-to": [{ to: scaleColor() }],
3188
- /**
3189
- * Border Radius
3190
- * @see https://tailwindcss.com/docs/border-radius
3191
- */
3192
- rounded: [{ rounded: scaleRadius() }],
3193
- /**
3194
- * Border Radius Start
3195
- * @see https://tailwindcss.com/docs/border-radius
3196
- */
3197
- "rounded-s": [{ "rounded-s": scaleRadius() }],
3198
- /**
3199
- * Border Radius End
3200
- * @see https://tailwindcss.com/docs/border-radius
3201
- */
3202
- "rounded-e": [{ "rounded-e": scaleRadius() }],
3203
- /**
3204
- * Border Radius Top
3205
- * @see https://tailwindcss.com/docs/border-radius
3206
- */
3207
- "rounded-t": [{ "rounded-t": scaleRadius() }],
3208
- /**
3209
- * Border Radius Right
3210
- * @see https://tailwindcss.com/docs/border-radius
3211
- */
3212
- "rounded-r": [{ "rounded-r": scaleRadius() }],
3213
- /**
3214
- * Border Radius Bottom
3215
- * @see https://tailwindcss.com/docs/border-radius
3216
- */
3217
- "rounded-b": [{ "rounded-b": scaleRadius() }],
3218
- /**
3219
- * Border Radius Left
3220
- * @see https://tailwindcss.com/docs/border-radius
3221
- */
3222
- "rounded-l": [{ "rounded-l": scaleRadius() }],
3223
- /**
3224
- * Border Radius Start Start
3225
- * @see https://tailwindcss.com/docs/border-radius
3226
- */
3227
- "rounded-ss": [{ "rounded-ss": scaleRadius() }],
3228
- /**
3229
- * Border Radius Start End
3230
- * @see https://tailwindcss.com/docs/border-radius
3231
- */
3232
- "rounded-se": [{ "rounded-se": scaleRadius() }],
3233
- /**
3234
- * Border Radius End End
3235
- * @see https://tailwindcss.com/docs/border-radius
3236
- */
3237
- "rounded-ee": [{ "rounded-ee": scaleRadius() }],
3238
- /**
3239
- * Border Radius End Start
3240
- * @see https://tailwindcss.com/docs/border-radius
3241
- */
3242
- "rounded-es": [{ "rounded-es": scaleRadius() }],
3243
- /**
3244
- * Border Radius Top Left
3245
- * @see https://tailwindcss.com/docs/border-radius
3246
- */
3247
- "rounded-tl": [{ "rounded-tl": scaleRadius() }],
3248
- /**
3249
- * Border Radius Top Right
3250
- * @see https://tailwindcss.com/docs/border-radius
3251
- */
3252
- "rounded-tr": [{ "rounded-tr": scaleRadius() }],
3253
- /**
3254
- * Border Radius Bottom Right
3255
- * @see https://tailwindcss.com/docs/border-radius
3256
- */
3257
- "rounded-br": [{ "rounded-br": scaleRadius() }],
3258
- /**
3259
- * Border Radius Bottom Left
3260
- * @see https://tailwindcss.com/docs/border-radius
3261
- */
3262
- "rounded-bl": [{ "rounded-bl": scaleRadius() }],
3263
- /**
3264
- * Border Width
3265
- * @see https://tailwindcss.com/docs/border-width
3266
- */
3267
- "border-w": [{ border: scaleBorderWidth() }],
3268
- /**
3269
- * Border Width Inline
3270
- * @see https://tailwindcss.com/docs/border-width
3271
- */
3272
- "border-w-x": [{ "border-x": scaleBorderWidth() }],
3273
- /**
3274
- * Border Width Block
3275
- * @see https://tailwindcss.com/docs/border-width
3276
- */
3277
- "border-w-y": [{ "border-y": scaleBorderWidth() }],
3278
- /**
3279
- * Border Width Inline Start
3280
- * @see https://tailwindcss.com/docs/border-width
3281
- */
3282
- "border-w-s": [{ "border-s": scaleBorderWidth() }],
3283
- /**
3284
- * Border Width Inline End
3285
- * @see https://tailwindcss.com/docs/border-width
3286
- */
3287
- "border-w-e": [{ "border-e": scaleBorderWidth() }],
3288
- /**
3289
- * Border Width Block Start
3290
- * @see https://tailwindcss.com/docs/border-width
3291
- */
3292
- "border-w-bs": [{ "border-bs": scaleBorderWidth() }],
3293
- /**
3294
- * Border Width Block End
3295
- * @see https://tailwindcss.com/docs/border-width
3296
- */
3297
- "border-w-be": [{ "border-be": scaleBorderWidth() }],
3298
- /**
3299
- * Border Width Top
3300
- * @see https://tailwindcss.com/docs/border-width
3301
- */
3302
- "border-w-t": [{ "border-t": scaleBorderWidth() }],
3303
- /**
3304
- * Border Width Right
3305
- * @see https://tailwindcss.com/docs/border-width
3306
- */
3307
- "border-w-r": [{ "border-r": scaleBorderWidth() }],
3308
- /**
3309
- * Border Width Bottom
3310
- * @see https://tailwindcss.com/docs/border-width
3311
- */
3312
- "border-w-b": [{ "border-b": scaleBorderWidth() }],
3313
- /**
3314
- * Border Width Left
3315
- * @see https://tailwindcss.com/docs/border-width
3316
- */
3317
- "border-w-l": [{ "border-l": scaleBorderWidth() }],
3318
- /**
3319
- * Divide Width X
3320
- * @see https://tailwindcss.com/docs/border-width#between-children
3321
- */
3322
- "divide-x": [{ "divide-x": scaleBorderWidth() }],
3323
- /**
3324
- * Divide Width X Reverse
3325
- * @see https://tailwindcss.com/docs/border-width#between-children
3326
- */
3327
- "divide-x-reverse": ["divide-x-reverse"],
3328
- /**
3329
- * Divide Width Y
3330
- * @see https://tailwindcss.com/docs/border-width#between-children
3331
- */
3332
- "divide-y": [{ "divide-y": scaleBorderWidth() }],
3333
- /**
3334
- * Divide Width Y Reverse
3335
- * @see https://tailwindcss.com/docs/border-width#between-children
3336
- */
3337
- "divide-y-reverse": ["divide-y-reverse"],
3338
- /**
3339
- * Border Style
3340
- * @see https://tailwindcss.com/docs/border-style
3341
- */
3342
- "border-style": [{ border: [
3343
- ...scaleLineStyle(),
3344
- "hidden",
3345
- "none"
3346
- ] }],
3347
- /**
3348
- * Divide Style
3349
- * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
3350
- */
3351
- "divide-style": [{ divide: [
3352
- ...scaleLineStyle(),
3353
- "hidden",
3354
- "none"
3355
- ] }],
3356
- /**
3357
- * Border Color
3358
- * @see https://tailwindcss.com/docs/border-color
3359
- */
3360
- "border-color": [{ border: scaleColor() }],
3361
- /**
3362
- * Border Color Inline
3363
- * @see https://tailwindcss.com/docs/border-color
3364
- */
3365
- "border-color-x": [{ "border-x": scaleColor() }],
3366
- /**
3367
- * Border Color Block
3368
- * @see https://tailwindcss.com/docs/border-color
3369
- */
3370
- "border-color-y": [{ "border-y": scaleColor() }],
3371
- /**
3372
- * Border Color Inline Start
3373
- * @see https://tailwindcss.com/docs/border-color
3374
- */
3375
- "border-color-s": [{ "border-s": scaleColor() }],
3376
- /**
3377
- * Border Color Inline End
3378
- * @see https://tailwindcss.com/docs/border-color
3379
- */
3380
- "border-color-e": [{ "border-e": scaleColor() }],
3381
- /**
3382
- * Border Color Block Start
3383
- * @see https://tailwindcss.com/docs/border-color
3384
- */
3385
- "border-color-bs": [{ "border-bs": scaleColor() }],
3386
- /**
3387
- * Border Color Block End
3388
- * @see https://tailwindcss.com/docs/border-color
3389
- */
3390
- "border-color-be": [{ "border-be": scaleColor() }],
3391
- /**
3392
- * Border Color Top
3393
- * @see https://tailwindcss.com/docs/border-color
3394
- */
3395
- "border-color-t": [{ "border-t": scaleColor() }],
3396
- /**
3397
- * Border Color Right
3398
- * @see https://tailwindcss.com/docs/border-color
3399
- */
3400
- "border-color-r": [{ "border-r": scaleColor() }],
3401
- /**
3402
- * Border Color Bottom
3403
- * @see https://tailwindcss.com/docs/border-color
3404
- */
3405
- "border-color-b": [{ "border-b": scaleColor() }],
3406
- /**
3407
- * Border Color Left
3408
- * @see https://tailwindcss.com/docs/border-color
3409
- */
3410
- "border-color-l": [{ "border-l": scaleColor() }],
3411
- /**
3412
- * Divide Color
3413
- * @see https://tailwindcss.com/docs/divide-color
3414
- */
3415
- "divide-color": [{ divide: scaleColor() }],
3416
- /**
3417
- * Outline Style
3418
- * @see https://tailwindcss.com/docs/outline-style
3419
- */
3420
- "outline-style": [{ outline: [
3421
- ...scaleLineStyle(),
3422
- "none",
3423
- "hidden"
3424
- ] }],
3425
- /**
3426
- * Outline Offset
3427
- * @see https://tailwindcss.com/docs/outline-offset
3428
- */
3429
- "outline-offset": [{ "outline-offset": [
3430
- isNumber,
3431
- isArbitraryVariable,
3432
- isArbitraryValue
3433
- ] }],
3434
- /**
3435
- * Outline Width
3436
- * @see https://tailwindcss.com/docs/outline-width
3437
- */
3438
- "outline-w": [{ outline: [
3439
- "",
3440
- isNumber,
3441
- isArbitraryVariableLength,
3442
- isArbitraryLength
3443
- ] }],
3444
- /**
3445
- * Outline Color
3446
- * @see https://tailwindcss.com/docs/outline-color
3447
- */
3448
- "outline-color": [{ outline: scaleColor() }],
3449
- /**
3450
- * Box Shadow
3451
- * @see https://tailwindcss.com/docs/box-shadow
3452
- */
3453
- shadow: [{ shadow: [
3454
- "",
3455
- "none",
3456
- themeShadow,
3457
- isArbitraryVariableShadow,
3458
- isArbitraryShadow
3459
- ] }],
3460
- /**
3461
- * Box Shadow Color
3462
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
3463
- */
3464
- "shadow-color": [{ shadow: scaleColor() }],
3465
- /**
3466
- * Inset Box Shadow
3467
- * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
3468
- */
3469
- "inset-shadow": [{ "inset-shadow": [
3470
- "none",
3471
- themeInsetShadow,
3472
- isArbitraryVariableShadow,
3473
- isArbitraryShadow
3474
- ] }],
3475
- /**
3476
- * Inset Box Shadow Color
3477
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
3478
- */
3479
- "inset-shadow-color": [{ "inset-shadow": scaleColor() }],
3480
- /**
3481
- * Ring Width
3482
- * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
3483
- */
3484
- "ring-w": [{ ring: scaleBorderWidth() }],
3485
- /**
3486
- * Ring Width Inset
3487
- * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
3488
- * @deprecated since Tailwind CSS v4.0.0
3489
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
3490
- */
3491
- "ring-w-inset": ["ring-inset"],
3492
- /**
3493
- * Ring Color
3494
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
3495
- */
3496
- "ring-color": [{ ring: scaleColor() }],
3497
- /**
3498
- * Ring Offset Width
3499
- * @see https://v3.tailwindcss.com/docs/ring-offset-width
3500
- * @deprecated since Tailwind CSS v4.0.0
3501
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
3502
- */
3503
- "ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
3504
- /**
3505
- * Ring Offset Color
3506
- * @see https://v3.tailwindcss.com/docs/ring-offset-color
3507
- * @deprecated since Tailwind CSS v4.0.0
3508
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
3509
- */
3510
- "ring-offset-color": [{ "ring-offset": scaleColor() }],
3511
- /**
3512
- * Inset Ring Width
3513
- * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
3514
- */
3515
- "inset-ring-w": [{ "inset-ring": scaleBorderWidth() }],
3516
- /**
3517
- * Inset Ring Color
3518
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
3519
- */
3520
- "inset-ring-color": [{ "inset-ring": scaleColor() }],
3521
- /**
3522
- * Text Shadow
3523
- * @see https://tailwindcss.com/docs/text-shadow
3524
- */
3525
- "text-shadow": [{ "text-shadow": [
3526
- "none",
3527
- themeTextShadow,
3528
- isArbitraryVariableShadow,
3529
- isArbitraryShadow
3530
- ] }],
3531
- /**
3532
- * Text Shadow Color
3533
- * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
3534
- */
3535
- "text-shadow-color": [{ "text-shadow": scaleColor() }],
3536
- /**
3537
- * Opacity
3538
- * @see https://tailwindcss.com/docs/opacity
3539
- */
3540
- opacity: [{ opacity: [
3541
- isNumber,
3542
- isArbitraryVariable,
3543
- isArbitraryValue
3544
- ] }],
3545
- /**
3546
- * Mix Blend Mode
3547
- * @see https://tailwindcss.com/docs/mix-blend-mode
3548
- */
3549
- "mix-blend": [{ "mix-blend": [
3550
- ...scaleBlendMode(),
3551
- "plus-darker",
3552
- "plus-lighter"
3553
- ] }],
3554
- /**
3555
- * Background Blend Mode
3556
- * @see https://tailwindcss.com/docs/background-blend-mode
3557
- */
3558
- "bg-blend": [{ "bg-blend": scaleBlendMode() }],
3559
- /**
3560
- * Mask Clip
3561
- * @see https://tailwindcss.com/docs/mask-clip
3562
- */
3563
- "mask-clip": [{ "mask-clip": [
3564
- "border",
3565
- "padding",
3566
- "content",
3567
- "fill",
3568
- "stroke",
3569
- "view"
3570
- ] }, "mask-no-clip"],
3571
- /**
3572
- * Mask Composite
3573
- * @see https://tailwindcss.com/docs/mask-composite
3574
- */
3575
- "mask-composite": [{ mask: [
3576
- "add",
3577
- "subtract",
3578
- "intersect",
3579
- "exclude"
3580
- ] }],
3581
- /**
3582
- * Mask Image
3583
- * @see https://tailwindcss.com/docs/mask-image
3584
- */
3585
- "mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
3586
- "mask-image-linear-from-pos": [{ "mask-linear-from": scaleMaskImagePosition() }],
3587
- "mask-image-linear-to-pos": [{ "mask-linear-to": scaleMaskImagePosition() }],
3588
- "mask-image-linear-from-color": [{ "mask-linear-from": scaleColor() }],
3589
- "mask-image-linear-to-color": [{ "mask-linear-to": scaleColor() }],
3590
- "mask-image-t-from-pos": [{ "mask-t-from": scaleMaskImagePosition() }],
3591
- "mask-image-t-to-pos": [{ "mask-t-to": scaleMaskImagePosition() }],
3592
- "mask-image-t-from-color": [{ "mask-t-from": scaleColor() }],
3593
- "mask-image-t-to-color": [{ "mask-t-to": scaleColor() }],
3594
- "mask-image-r-from-pos": [{ "mask-r-from": scaleMaskImagePosition() }],
3595
- "mask-image-r-to-pos": [{ "mask-r-to": scaleMaskImagePosition() }],
3596
- "mask-image-r-from-color": [{ "mask-r-from": scaleColor() }],
3597
- "mask-image-r-to-color": [{ "mask-r-to": scaleColor() }],
3598
- "mask-image-b-from-pos": [{ "mask-b-from": scaleMaskImagePosition() }],
3599
- "mask-image-b-to-pos": [{ "mask-b-to": scaleMaskImagePosition() }],
3600
- "mask-image-b-from-color": [{ "mask-b-from": scaleColor() }],
3601
- "mask-image-b-to-color": [{ "mask-b-to": scaleColor() }],
3602
- "mask-image-l-from-pos": [{ "mask-l-from": scaleMaskImagePosition() }],
3603
- "mask-image-l-to-pos": [{ "mask-l-to": scaleMaskImagePosition() }],
3604
- "mask-image-l-from-color": [{ "mask-l-from": scaleColor() }],
3605
- "mask-image-l-to-color": [{ "mask-l-to": scaleColor() }],
3606
- "mask-image-x-from-pos": [{ "mask-x-from": scaleMaskImagePosition() }],
3607
- "mask-image-x-to-pos": [{ "mask-x-to": scaleMaskImagePosition() }],
3608
- "mask-image-x-from-color": [{ "mask-x-from": scaleColor() }],
3609
- "mask-image-x-to-color": [{ "mask-x-to": scaleColor() }],
3610
- "mask-image-y-from-pos": [{ "mask-y-from": scaleMaskImagePosition() }],
3611
- "mask-image-y-to-pos": [{ "mask-y-to": scaleMaskImagePosition() }],
3612
- "mask-image-y-from-color": [{ "mask-y-from": scaleColor() }],
3613
- "mask-image-y-to-color": [{ "mask-y-to": scaleColor() }],
3614
- "mask-image-radial": [{ "mask-radial": [isArbitraryVariable, isArbitraryValue] }],
3615
- "mask-image-radial-from-pos": [{ "mask-radial-from": scaleMaskImagePosition() }],
3616
- "mask-image-radial-to-pos": [{ "mask-radial-to": scaleMaskImagePosition() }],
3617
- "mask-image-radial-from-color": [{ "mask-radial-from": scaleColor() }],
3618
- "mask-image-radial-to-color": [{ "mask-radial-to": scaleColor() }],
3619
- "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
3620
- "mask-image-radial-size": [{ "mask-radial": [{
3621
- closest: ["side", "corner"],
3622
- farthest: ["side", "corner"]
3623
- }] }],
3624
- "mask-image-radial-pos": [{ "mask-radial-at": scalePosition() }],
3625
- "mask-image-conic-pos": [{ "mask-conic": [isNumber] }],
3626
- "mask-image-conic-from-pos": [{ "mask-conic-from": scaleMaskImagePosition() }],
3627
- "mask-image-conic-to-pos": [{ "mask-conic-to": scaleMaskImagePosition() }],
3628
- "mask-image-conic-from-color": [{ "mask-conic-from": scaleColor() }],
3629
- "mask-image-conic-to-color": [{ "mask-conic-to": scaleColor() }],
3630
- /**
3631
- * Mask Mode
3632
- * @see https://tailwindcss.com/docs/mask-mode
3633
- */
3634
- "mask-mode": [{ mask: [
3635
- "alpha",
3636
- "luminance",
3637
- "match"
3638
- ] }],
3639
- /**
3640
- * Mask Origin
3641
- * @see https://tailwindcss.com/docs/mask-origin
3642
- */
3643
- "mask-origin": [{ "mask-origin": [
3644
- "border",
3645
- "padding",
3646
- "content",
3647
- "fill",
3648
- "stroke",
3649
- "view"
3650
- ] }],
3651
- /**
3652
- * Mask Position
3653
- * @see https://tailwindcss.com/docs/mask-position
3654
- */
3655
- "mask-position": [{ mask: scaleBgPosition() }],
3656
- /**
3657
- * Mask Repeat
3658
- * @see https://tailwindcss.com/docs/mask-repeat
3659
- */
3660
- "mask-repeat": [{ mask: scaleBgRepeat() }],
3661
- /**
3662
- * Mask Size
3663
- * @see https://tailwindcss.com/docs/mask-size
3664
- */
3665
- "mask-size": [{ mask: scaleBgSize() }],
3666
- /**
3667
- * Mask Type
3668
- * @see https://tailwindcss.com/docs/mask-type
3669
- */
3670
- "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
3671
- /**
3672
- * Mask Image
3673
- * @see https://tailwindcss.com/docs/mask-image
3674
- */
3675
- "mask-image": [{ mask: [
3676
- "none",
3677
- isArbitraryVariable,
3678
- isArbitraryValue
3679
- ] }],
3680
- /**
3681
- * Filter
3682
- * @see https://tailwindcss.com/docs/filter
3683
- */
3684
- filter: [{ filter: [
3685
- "",
3686
- "none",
3687
- isArbitraryVariable,
3688
- isArbitraryValue
3689
- ] }],
3690
- /**
3691
- * Blur
3692
- * @see https://tailwindcss.com/docs/blur
3693
- */
3694
- blur: [{ blur: scaleBlur() }],
3695
- /**
3696
- * Brightness
3697
- * @see https://tailwindcss.com/docs/brightness
3698
- */
3699
- brightness: [{ brightness: [
3700
- isNumber,
3701
- isArbitraryVariable,
3702
- isArbitraryValue
3703
- ] }],
3704
- /**
3705
- * Contrast
3706
- * @see https://tailwindcss.com/docs/contrast
3707
- */
3708
- contrast: [{ contrast: [
3709
- isNumber,
3710
- isArbitraryVariable,
3711
- isArbitraryValue
3712
- ] }],
3713
- /**
3714
- * Drop Shadow
3715
- * @see https://tailwindcss.com/docs/drop-shadow
3716
- */
3717
- "drop-shadow": [{ "drop-shadow": [
3718
- "",
3719
- "none",
3720
- themeDropShadow,
3721
- isArbitraryVariableShadow,
3722
- isArbitraryShadow
3723
- ] }],
3724
- /**
3725
- * Drop Shadow Color
3726
- * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
3727
- */
3728
- "drop-shadow-color": [{ "drop-shadow": scaleColor() }],
3729
- /**
3730
- * Grayscale
3731
- * @see https://tailwindcss.com/docs/grayscale
3732
- */
3733
- grayscale: [{ grayscale: [
3734
- "",
3735
- isNumber,
3736
- isArbitraryVariable,
3737
- isArbitraryValue
3738
- ] }],
3739
- /**
3740
- * Hue Rotate
3741
- * @see https://tailwindcss.com/docs/hue-rotate
3742
- */
3743
- "hue-rotate": [{ "hue-rotate": [
3744
- isNumber,
3745
- isArbitraryVariable,
3746
- isArbitraryValue
3747
- ] }],
3748
- /**
3749
- * Invert
3750
- * @see https://tailwindcss.com/docs/invert
3751
- */
3752
- invert: [{ invert: [
3753
- "",
3754
- isNumber,
3755
- isArbitraryVariable,
3756
- isArbitraryValue
3757
- ] }],
3758
- /**
3759
- * Saturate
3760
- * @see https://tailwindcss.com/docs/saturate
3761
- */
3762
- saturate: [{ saturate: [
3763
- isNumber,
3764
- isArbitraryVariable,
3765
- isArbitraryValue
3766
- ] }],
3767
- /**
3768
- * Sepia
3769
- * @see https://tailwindcss.com/docs/sepia
3770
- */
3771
- sepia: [{ sepia: [
3772
- "",
3773
- isNumber,
3774
- isArbitraryVariable,
3775
- isArbitraryValue
3776
- ] }],
3777
- /**
3778
- * Backdrop Filter
3779
- * @see https://tailwindcss.com/docs/backdrop-filter
3780
- */
3781
- "backdrop-filter": [{ "backdrop-filter": [
3782
- "",
3783
- "none",
3784
- isArbitraryVariable,
3785
- isArbitraryValue
3786
- ] }],
3787
- /**
3788
- * Backdrop Blur
3789
- * @see https://tailwindcss.com/docs/backdrop-blur
3790
- */
3791
- "backdrop-blur": [{ "backdrop-blur": scaleBlur() }],
3792
- /**
3793
- * Backdrop Brightness
3794
- * @see https://tailwindcss.com/docs/backdrop-brightness
3795
- */
3796
- "backdrop-brightness": [{ "backdrop-brightness": [
3797
- isNumber,
3798
- isArbitraryVariable,
3799
- isArbitraryValue
3800
- ] }],
3801
- /**
3802
- * Backdrop Contrast
3803
- * @see https://tailwindcss.com/docs/backdrop-contrast
3804
- */
3805
- "backdrop-contrast": [{ "backdrop-contrast": [
3806
- isNumber,
3807
- isArbitraryVariable,
3808
- isArbitraryValue
3809
- ] }],
3810
- /**
3811
- * Backdrop Grayscale
3812
- * @see https://tailwindcss.com/docs/backdrop-grayscale
3813
- */
3814
- "backdrop-grayscale": [{ "backdrop-grayscale": [
3815
- "",
3816
- isNumber,
3817
- isArbitraryVariable,
3818
- isArbitraryValue
3819
- ] }],
3820
- /**
3821
- * Backdrop Hue Rotate
3822
- * @see https://tailwindcss.com/docs/backdrop-hue-rotate
3823
- */
3824
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
3825
- isNumber,
3826
- isArbitraryVariable,
3827
- isArbitraryValue
3828
- ] }],
3829
- /**
3830
- * Backdrop Invert
3831
- * @see https://tailwindcss.com/docs/backdrop-invert
3832
- */
3833
- "backdrop-invert": [{ "backdrop-invert": [
3834
- "",
3835
- isNumber,
3836
- isArbitraryVariable,
3837
- isArbitraryValue
3838
- ] }],
3839
- /**
3840
- * Backdrop Opacity
3841
- * @see https://tailwindcss.com/docs/backdrop-opacity
3842
- */
3843
- "backdrop-opacity": [{ "backdrop-opacity": [
3844
- isNumber,
3845
- isArbitraryVariable,
3846
- isArbitraryValue
3847
- ] }],
3848
- /**
3849
- * Backdrop Saturate
3850
- * @see https://tailwindcss.com/docs/backdrop-saturate
3851
- */
3852
- "backdrop-saturate": [{ "backdrop-saturate": [
3853
- isNumber,
3854
- isArbitraryVariable,
3855
- isArbitraryValue
3856
- ] }],
3857
- /**
3858
- * Backdrop Sepia
3859
- * @see https://tailwindcss.com/docs/backdrop-sepia
3860
- */
3861
- "backdrop-sepia": [{ "backdrop-sepia": [
3862
- "",
3863
- isNumber,
3864
- isArbitraryVariable,
3865
- isArbitraryValue
3866
- ] }],
3867
- /**
3868
- * Border Collapse
3869
- * @see https://tailwindcss.com/docs/border-collapse
3870
- */
3871
- "border-collapse": [{ border: ["collapse", "separate"] }],
3872
- /**
3873
- * Border Spacing
3874
- * @see https://tailwindcss.com/docs/border-spacing
3875
- */
3876
- "border-spacing": [{ "border-spacing": scaleUnambiguousSpacing() }],
3877
- /**
3878
- * Border Spacing X
3879
- * @see https://tailwindcss.com/docs/border-spacing
3880
- */
3881
- "border-spacing-x": [{ "border-spacing-x": scaleUnambiguousSpacing() }],
3882
- /**
3883
- * Border Spacing Y
3884
- * @see https://tailwindcss.com/docs/border-spacing
3885
- */
3886
- "border-spacing-y": [{ "border-spacing-y": scaleUnambiguousSpacing() }],
3887
- /**
3888
- * Table Layout
3889
- * @see https://tailwindcss.com/docs/table-layout
3890
- */
3891
- "table-layout": [{ table: ["auto", "fixed"] }],
3892
- /**
3893
- * Caption Side
3894
- * @see https://tailwindcss.com/docs/caption-side
3895
- */
3896
- caption: [{ caption: ["top", "bottom"] }],
3897
- /**
3898
- * Transition Property
3899
- * @see https://tailwindcss.com/docs/transition-property
3900
- */
3901
- transition: [{ transition: [
3902
- "",
3903
- "all",
3904
- "colors",
3905
- "opacity",
3906
- "shadow",
3907
- "transform",
3908
- "none",
3909
- isArbitraryVariable,
3910
- isArbitraryValue
3911
- ] }],
3912
- /**
3913
- * Transition Behavior
3914
- * @see https://tailwindcss.com/docs/transition-behavior
3915
- */
3916
- "transition-behavior": [{ transition: ["normal", "discrete"] }],
3917
- /**
3918
- * Transition Duration
3919
- * @see https://tailwindcss.com/docs/transition-duration
3920
- */
3921
- duration: [{ duration: [
3922
- isNumber,
3923
- "initial",
3924
- isArbitraryVariable,
3925
- isArbitraryValue
3926
- ] }],
3927
- /**
3928
- * Transition Timing Function
3929
- * @see https://tailwindcss.com/docs/transition-timing-function
3930
- */
3931
- ease: [{ ease: [
3932
- "linear",
3933
- "initial",
3934
- themeEase,
3935
- isArbitraryVariable,
3936
- isArbitraryValue
3937
- ] }],
3938
- /**
3939
- * Transition Delay
3940
- * @see https://tailwindcss.com/docs/transition-delay
3941
- */
3942
- delay: [{ delay: [
3943
- isNumber,
3944
- isArbitraryVariable,
3945
- isArbitraryValue
3946
- ] }],
3947
- /**
3948
- * Animation
3949
- * @see https://tailwindcss.com/docs/animation
3950
- */
3951
- animate: [{ animate: [
3952
- "none",
3953
- themeAnimate,
3954
- isArbitraryVariable,
3955
- isArbitraryValue
3956
- ] }],
3957
- /**
3958
- * Backface Visibility
3959
- * @see https://tailwindcss.com/docs/backface-visibility
3960
- */
3961
- backface: [{ backface: ["hidden", "visible"] }],
3962
- /**
3963
- * Perspective
3964
- * @see https://tailwindcss.com/docs/perspective
3965
- */
3966
- perspective: [{ perspective: [
3967
- themePerspective,
3968
- isArbitraryVariable,
3969
- isArbitraryValue
3970
- ] }],
3971
- /**
3972
- * Perspective Origin
3973
- * @see https://tailwindcss.com/docs/perspective-origin
3974
- */
3975
- "perspective-origin": [{ "perspective-origin": scalePositionWithArbitrary() }],
3976
- /**
3977
- * Rotate
3978
- * @see https://tailwindcss.com/docs/rotate
3979
- */
3980
- rotate: [{ rotate: scaleRotate() }],
3981
- /**
3982
- * Rotate X
3983
- * @see https://tailwindcss.com/docs/rotate
3984
- */
3985
- "rotate-x": [{ "rotate-x": scaleRotate() }],
3986
- /**
3987
- * Rotate Y
3988
- * @see https://tailwindcss.com/docs/rotate
3989
- */
3990
- "rotate-y": [{ "rotate-y": scaleRotate() }],
3991
- /**
3992
- * Rotate Z
3993
- * @see https://tailwindcss.com/docs/rotate
3994
- */
3995
- "rotate-z": [{ "rotate-z": scaleRotate() }],
3996
- /**
3997
- * Scale
3998
- * @see https://tailwindcss.com/docs/scale
3999
- */
4000
- scale: [{ scale: scaleScale() }],
4001
- /**
4002
- * Scale X
4003
- * @see https://tailwindcss.com/docs/scale
4004
- */
4005
- "scale-x": [{ "scale-x": scaleScale() }],
4006
- /**
4007
- * Scale Y
4008
- * @see https://tailwindcss.com/docs/scale
4009
- */
4010
- "scale-y": [{ "scale-y": scaleScale() }],
4011
- /**
4012
- * Scale Z
4013
- * @see https://tailwindcss.com/docs/scale
4014
- */
4015
- "scale-z": [{ "scale-z": scaleScale() }],
4016
- /**
4017
- * Scale 3D
4018
- * @see https://tailwindcss.com/docs/scale
4019
- */
4020
- "scale-3d": ["scale-3d"],
4021
- /**
4022
- * Skew
4023
- * @see https://tailwindcss.com/docs/skew
4024
- */
4025
- skew: [{ skew: scaleSkew() }],
4026
- /**
4027
- * Skew X
4028
- * @see https://tailwindcss.com/docs/skew
4029
- */
4030
- "skew-x": [{ "skew-x": scaleSkew() }],
4031
- /**
4032
- * Skew Y
4033
- * @see https://tailwindcss.com/docs/skew
4034
- */
4035
- "skew-y": [{ "skew-y": scaleSkew() }],
4036
- /**
4037
- * Transform
4038
- * @see https://tailwindcss.com/docs/transform
4039
- */
4040
- transform: [{ transform: [
4041
- isArbitraryVariable,
4042
- isArbitraryValue,
4043
- "",
4044
- "none",
4045
- "gpu",
4046
- "cpu"
4047
- ] }],
4048
- /**
4049
- * Transform Origin
4050
- * @see https://tailwindcss.com/docs/transform-origin
4051
- */
4052
- "transform-origin": [{ origin: scalePositionWithArbitrary() }],
4053
- /**
4054
- * Transform Style
4055
- * @see https://tailwindcss.com/docs/transform-style
4056
- */
4057
- "transform-style": [{ transform: ["3d", "flat"] }],
4058
- /**
4059
- * Translate
4060
- * @see https://tailwindcss.com/docs/translate
4061
- */
4062
- translate: [{ translate: scaleTranslate() }],
4063
- /**
4064
- * Translate X
4065
- * @see https://tailwindcss.com/docs/translate
4066
- */
4067
- "translate-x": [{ "translate-x": scaleTranslate() }],
4068
- /**
4069
- * Translate Y
4070
- * @see https://tailwindcss.com/docs/translate
4071
- */
4072
- "translate-y": [{ "translate-y": scaleTranslate() }],
4073
- /**
4074
- * Translate Z
4075
- * @see https://tailwindcss.com/docs/translate
4076
- */
4077
- "translate-z": [{ "translate-z": scaleTranslate() }],
4078
- /**
4079
- * Translate None
4080
- * @see https://tailwindcss.com/docs/translate
4081
- */
4082
- "translate-none": ["translate-none"],
4083
- /**
4084
- * Accent Color
4085
- * @see https://tailwindcss.com/docs/accent-color
4086
- */
4087
- accent: [{ accent: scaleColor() }],
4088
- /**
4089
- * Appearance
4090
- * @see https://tailwindcss.com/docs/appearance
4091
- */
4092
- appearance: [{ appearance: ["none", "auto"] }],
4093
- /**
4094
- * Caret Color
4095
- * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
4096
- */
4097
- "caret-color": [{ caret: scaleColor() }],
4098
- /**
4099
- * Color Scheme
4100
- * @see https://tailwindcss.com/docs/color-scheme
4101
- */
4102
- "color-scheme": [{ scheme: [
4103
- "normal",
4104
- "dark",
4105
- "light",
4106
- "light-dark",
4107
- "only-dark",
4108
- "only-light"
4109
- ] }],
4110
- /**
4111
- * Cursor
4112
- * @see https://tailwindcss.com/docs/cursor
4113
- */
4114
- cursor: [{ cursor: [
4115
- "auto",
4116
- "default",
4117
- "pointer",
4118
- "wait",
4119
- "text",
4120
- "move",
4121
- "help",
4122
- "not-allowed",
4123
- "none",
4124
- "context-menu",
4125
- "progress",
4126
- "cell",
4127
- "crosshair",
4128
- "vertical-text",
4129
- "alias",
4130
- "copy",
4131
- "no-drop",
4132
- "grab",
4133
- "grabbing",
4134
- "all-scroll",
4135
- "col-resize",
4136
- "row-resize",
4137
- "n-resize",
4138
- "e-resize",
4139
- "s-resize",
4140
- "w-resize",
4141
- "ne-resize",
4142
- "nw-resize",
4143
- "se-resize",
4144
- "sw-resize",
4145
- "ew-resize",
4146
- "ns-resize",
4147
- "nesw-resize",
4148
- "nwse-resize",
4149
- "zoom-in",
4150
- "zoom-out",
4151
- isArbitraryVariable,
4152
- isArbitraryValue
4153
- ] }],
4154
- /**
4155
- * Field Sizing
4156
- * @see https://tailwindcss.com/docs/field-sizing
4157
- */
4158
- "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
4159
- /**
4160
- * Pointer Events
4161
- * @see https://tailwindcss.com/docs/pointer-events
4162
- */
4163
- "pointer-events": [{ "pointer-events": ["auto", "none"] }],
4164
- /**
4165
- * Resize
4166
- * @see https://tailwindcss.com/docs/resize
4167
- */
4168
- resize: [{ resize: [
4169
- "none",
4170
- "",
4171
- "y",
4172
- "x"
4173
- ] }],
4174
- /**
4175
- * Scroll Behavior
4176
- * @see https://tailwindcss.com/docs/scroll-behavior
4177
- */
4178
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
4179
- /**
4180
- * Scroll Margin
4181
- * @see https://tailwindcss.com/docs/scroll-margin
4182
- */
4183
- "scroll-m": [{ "scroll-m": scaleUnambiguousSpacing() }],
4184
- /**
4185
- * Scroll Margin Inline
4186
- * @see https://tailwindcss.com/docs/scroll-margin
4187
- */
4188
- "scroll-mx": [{ "scroll-mx": scaleUnambiguousSpacing() }],
4189
- /**
4190
- * Scroll Margin Block
4191
- * @see https://tailwindcss.com/docs/scroll-margin
4192
- */
4193
- "scroll-my": [{ "scroll-my": scaleUnambiguousSpacing() }],
4194
- /**
4195
- * Scroll Margin Inline Start
4196
- * @see https://tailwindcss.com/docs/scroll-margin
4197
- */
4198
- "scroll-ms": [{ "scroll-ms": scaleUnambiguousSpacing() }],
4199
- /**
4200
- * Scroll Margin Inline End
4201
- * @see https://tailwindcss.com/docs/scroll-margin
4202
- */
4203
- "scroll-me": [{ "scroll-me": scaleUnambiguousSpacing() }],
4204
- /**
4205
- * Scroll Margin Block Start
4206
- * @see https://tailwindcss.com/docs/scroll-margin
4207
- */
4208
- "scroll-mbs": [{ "scroll-mbs": scaleUnambiguousSpacing() }],
4209
- /**
4210
- * Scroll Margin Block End
4211
- * @see https://tailwindcss.com/docs/scroll-margin
4212
- */
4213
- "scroll-mbe": [{ "scroll-mbe": scaleUnambiguousSpacing() }],
4214
- /**
4215
- * Scroll Margin Top
4216
- * @see https://tailwindcss.com/docs/scroll-margin
4217
- */
4218
- "scroll-mt": [{ "scroll-mt": scaleUnambiguousSpacing() }],
4219
- /**
4220
- * Scroll Margin Right
4221
- * @see https://tailwindcss.com/docs/scroll-margin
4222
- */
4223
- "scroll-mr": [{ "scroll-mr": scaleUnambiguousSpacing() }],
4224
- /**
4225
- * Scroll Margin Bottom
4226
- * @see https://tailwindcss.com/docs/scroll-margin
4227
- */
4228
- "scroll-mb": [{ "scroll-mb": scaleUnambiguousSpacing() }],
4229
- /**
4230
- * Scroll Margin Left
4231
- * @see https://tailwindcss.com/docs/scroll-margin
4232
- */
4233
- "scroll-ml": [{ "scroll-ml": scaleUnambiguousSpacing() }],
4234
- /**
4235
- * Scroll Padding
4236
- * @see https://tailwindcss.com/docs/scroll-padding
4237
- */
4238
- "scroll-p": [{ "scroll-p": scaleUnambiguousSpacing() }],
4239
- /**
4240
- * Scroll Padding Inline
4241
- * @see https://tailwindcss.com/docs/scroll-padding
4242
- */
4243
- "scroll-px": [{ "scroll-px": scaleUnambiguousSpacing() }],
4244
- /**
4245
- * Scroll Padding Block
4246
- * @see https://tailwindcss.com/docs/scroll-padding
4247
- */
4248
- "scroll-py": [{ "scroll-py": scaleUnambiguousSpacing() }],
4249
- /**
4250
- * Scroll Padding Inline Start
4251
- * @see https://tailwindcss.com/docs/scroll-padding
4252
- */
4253
- "scroll-ps": [{ "scroll-ps": scaleUnambiguousSpacing() }],
4254
- /**
4255
- * Scroll Padding Inline End
4256
- * @see https://tailwindcss.com/docs/scroll-padding
4257
- */
4258
- "scroll-pe": [{ "scroll-pe": scaleUnambiguousSpacing() }],
4259
- /**
4260
- * Scroll Padding Block Start
4261
- * @see https://tailwindcss.com/docs/scroll-padding
4262
- */
4263
- "scroll-pbs": [{ "scroll-pbs": scaleUnambiguousSpacing() }],
4264
- /**
4265
- * Scroll Padding Block End
4266
- * @see https://tailwindcss.com/docs/scroll-padding
4267
- */
4268
- "scroll-pbe": [{ "scroll-pbe": scaleUnambiguousSpacing() }],
4269
- /**
4270
- * Scroll Padding Top
4271
- * @see https://tailwindcss.com/docs/scroll-padding
4272
- */
4273
- "scroll-pt": [{ "scroll-pt": scaleUnambiguousSpacing() }],
4274
- /**
4275
- * Scroll Padding Right
4276
- * @see https://tailwindcss.com/docs/scroll-padding
4277
- */
4278
- "scroll-pr": [{ "scroll-pr": scaleUnambiguousSpacing() }],
4279
- /**
4280
- * Scroll Padding Bottom
4281
- * @see https://tailwindcss.com/docs/scroll-padding
4282
- */
4283
- "scroll-pb": [{ "scroll-pb": scaleUnambiguousSpacing() }],
4284
- /**
4285
- * Scroll Padding Left
4286
- * @see https://tailwindcss.com/docs/scroll-padding
4287
- */
4288
- "scroll-pl": [{ "scroll-pl": scaleUnambiguousSpacing() }],
4289
- /**
4290
- * Scroll Snap Align
4291
- * @see https://tailwindcss.com/docs/scroll-snap-align
4292
- */
4293
- "snap-align": [{ snap: [
4294
- "start",
4295
- "end",
4296
- "center",
4297
- "align-none"
4298
- ] }],
4299
- /**
4300
- * Scroll Snap Stop
4301
- * @see https://tailwindcss.com/docs/scroll-snap-stop
4302
- */
4303
- "snap-stop": [{ snap: ["normal", "always"] }],
4304
- /**
4305
- * Scroll Snap Type
4306
- * @see https://tailwindcss.com/docs/scroll-snap-type
4307
- */
4308
- "snap-type": [{ snap: [
4309
- "none",
4310
- "x",
4311
- "y",
4312
- "both"
4313
- ] }],
4314
- /**
4315
- * Scroll Snap Type Strictness
4316
- * @see https://tailwindcss.com/docs/scroll-snap-type
4317
- */
4318
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
4319
- /**
4320
- * Touch Action
4321
- * @see https://tailwindcss.com/docs/touch-action
4322
- */
4323
- touch: [{ touch: [
4324
- "auto",
4325
- "none",
4326
- "manipulation"
4327
- ] }],
4328
- /**
4329
- * Touch Action X
4330
- * @see https://tailwindcss.com/docs/touch-action
4331
- */
4332
- "touch-x": [{ "touch-pan": [
4333
- "x",
4334
- "left",
4335
- "right"
4336
- ] }],
4337
- /**
4338
- * Touch Action Y
4339
- * @see https://tailwindcss.com/docs/touch-action
4340
- */
4341
- "touch-y": [{ "touch-pan": [
4342
- "y",
4343
- "up",
4344
- "down"
4345
- ] }],
4346
- /**
4347
- * Touch Action Pinch Zoom
4348
- * @see https://tailwindcss.com/docs/touch-action
4349
- */
4350
- "touch-pz": ["touch-pinch-zoom"],
4351
- /**
4352
- * User Select
4353
- * @see https://tailwindcss.com/docs/user-select
4354
- */
4355
- select: [{ select: [
4356
- "none",
4357
- "text",
4358
- "all",
4359
- "auto"
4360
- ] }],
4361
- /**
4362
- * Will Change
4363
- * @see https://tailwindcss.com/docs/will-change
4364
- */
4365
- "will-change": [{ "will-change": [
4366
- "auto",
4367
- "scroll",
4368
- "contents",
4369
- "transform",
4370
- isArbitraryVariable,
4371
- isArbitraryValue
4372
- ] }],
4373
- /**
4374
- * Fill
4375
- * @see https://tailwindcss.com/docs/fill
4376
- */
4377
- fill: [{ fill: ["none", ...scaleColor()] }],
4378
- /**
4379
- * Stroke Width
4380
- * @see https://tailwindcss.com/docs/stroke-width
4381
- */
4382
- "stroke-w": [{ stroke: [
4383
- isNumber,
4384
- isArbitraryVariableLength,
4385
- isArbitraryLength,
4386
- isArbitraryNumber
4387
- ] }],
4388
- /**
4389
- * Stroke
4390
- * @see https://tailwindcss.com/docs/stroke
4391
- */
4392
- stroke: [{ stroke: ["none", ...scaleColor()] }],
4393
- /**
4394
- * Forced Color Adjust
4395
- * @see https://tailwindcss.com/docs/forced-color-adjust
4396
- */
4397
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
4398
- },
4399
- conflictingClassGroups: {
4400
- overflow: ["overflow-x", "overflow-y"],
4401
- overscroll: ["overscroll-x", "overscroll-y"],
4402
- inset: [
4403
- "inset-x",
4404
- "inset-y",
4405
- "inset-bs",
4406
- "inset-be",
4407
- "start",
4408
- "end",
4409
- "top",
4410
- "right",
4411
- "bottom",
4412
- "left"
4413
- ],
4414
- "inset-x": ["right", "left"],
4415
- "inset-y": ["top", "bottom"],
4416
- flex: [
4417
- "basis",
4418
- "grow",
4419
- "shrink"
4420
- ],
4421
- gap: ["gap-x", "gap-y"],
4422
- p: [
4423
- "px",
4424
- "py",
4425
- "ps",
4426
- "pe",
4427
- "pbs",
4428
- "pbe",
4429
- "pt",
4430
- "pr",
4431
- "pb",
4432
- "pl"
4433
- ],
4434
- px: ["pr", "pl"],
4435
- py: ["pt", "pb"],
4436
- m: [
4437
- "mx",
4438
- "my",
4439
- "ms",
4440
- "me",
4441
- "mbs",
4442
- "mbe",
4443
- "mt",
4444
- "mr",
4445
- "mb",
4446
- "ml"
4447
- ],
4448
- mx: ["mr", "ml"],
4449
- my: ["mt", "mb"],
4450
- size: ["w", "h"],
4451
- "font-size": ["leading"],
4452
- "fvn-normal": [
4453
- "fvn-ordinal",
4454
- "fvn-slashed-zero",
4455
- "fvn-figure",
4456
- "fvn-spacing",
4457
- "fvn-fraction"
4458
- ],
4459
- "fvn-ordinal": ["fvn-normal"],
4460
- "fvn-slashed-zero": ["fvn-normal"],
4461
- "fvn-figure": ["fvn-normal"],
4462
- "fvn-spacing": ["fvn-normal"],
4463
- "fvn-fraction": ["fvn-normal"],
4464
- "line-clamp": ["display", "overflow"],
4465
- rounded: [
4466
- "rounded-s",
4467
- "rounded-e",
4468
- "rounded-t",
4469
- "rounded-r",
4470
- "rounded-b",
4471
- "rounded-l",
4472
- "rounded-ss",
4473
- "rounded-se",
4474
- "rounded-ee",
4475
- "rounded-es",
4476
- "rounded-tl",
4477
- "rounded-tr",
4478
- "rounded-br",
4479
- "rounded-bl"
4480
- ],
4481
- "rounded-s": ["rounded-ss", "rounded-es"],
4482
- "rounded-e": ["rounded-se", "rounded-ee"],
4483
- "rounded-t": ["rounded-tl", "rounded-tr"],
4484
- "rounded-r": ["rounded-tr", "rounded-br"],
4485
- "rounded-b": ["rounded-br", "rounded-bl"],
4486
- "rounded-l": ["rounded-tl", "rounded-bl"],
4487
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
4488
- "border-w": [
4489
- "border-w-x",
4490
- "border-w-y",
4491
- "border-w-s",
4492
- "border-w-e",
4493
- "border-w-bs",
4494
- "border-w-be",
4495
- "border-w-t",
4496
- "border-w-r",
4497
- "border-w-b",
4498
- "border-w-l"
4499
- ],
4500
- "border-w-x": ["border-w-r", "border-w-l"],
4501
- "border-w-y": ["border-w-t", "border-w-b"],
4502
- "border-color": [
4503
- "border-color-x",
4504
- "border-color-y",
4505
- "border-color-s",
4506
- "border-color-e",
4507
- "border-color-bs",
4508
- "border-color-be",
4509
- "border-color-t",
4510
- "border-color-r",
4511
- "border-color-b",
4512
- "border-color-l"
4513
- ],
4514
- "border-color-x": ["border-color-r", "border-color-l"],
4515
- "border-color-y": ["border-color-t", "border-color-b"],
4516
- translate: [
4517
- "translate-x",
4518
- "translate-y",
4519
- "translate-none"
4520
- ],
4521
- "translate-none": [
4522
- "translate",
4523
- "translate-x",
4524
- "translate-y",
4525
- "translate-z"
4526
- ],
4527
- "scroll-m": [
4528
- "scroll-mx",
4529
- "scroll-my",
4530
- "scroll-ms",
4531
- "scroll-me",
4532
- "scroll-mbs",
4533
- "scroll-mbe",
4534
- "scroll-mt",
4535
- "scroll-mr",
4536
- "scroll-mb",
4537
- "scroll-ml"
4538
- ],
4539
- "scroll-mx": ["scroll-mr", "scroll-ml"],
4540
- "scroll-my": ["scroll-mt", "scroll-mb"],
4541
- "scroll-p": [
4542
- "scroll-px",
4543
- "scroll-py",
4544
- "scroll-ps",
4545
- "scroll-pe",
4546
- "scroll-pbs",
4547
- "scroll-pbe",
4548
- "scroll-pt",
4549
- "scroll-pr",
4550
- "scroll-pb",
4551
- "scroll-pl"
4552
- ],
4553
- "scroll-px": ["scroll-pr", "scroll-pl"],
4554
- "scroll-py": ["scroll-pt", "scroll-pb"],
4555
- touch: [
4556
- "touch-x",
4557
- "touch-y",
4558
- "touch-pz"
4559
- ],
4560
- "touch-x": ["touch"],
4561
- "touch-y": ["touch"],
4562
- "touch-pz": ["touch"]
4563
- },
4564
- conflictingClassGroupModifiers: { "font-size": ["leading"] },
4565
- orderSensitiveModifiers: [
4566
- "*",
4567
- "**",
4568
- "after",
4569
- "backdrop",
4570
- "before",
4571
- "details-content",
4572
- "file",
4573
- "first-letter",
4574
- "first-line",
4575
- "marker",
4576
- "placeholder",
4577
- "selection"
4578
- ]
4579
- };
4580
- };
4581
- var twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
4582
- //#endregion
4583
- //#region src/lib/utils.ts
4584
- function cn(...inputs) {
4585
- return twMerge(clsx(inputs));
4586
- }
4587
- //#endregion
4588
1269
  //#region src/lib/media-queries.ts
4589
1270
  function matchMediaQuery(query) {
4590
1271
  return window.matchMedia(query).matches;