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