@jbpark/live-editor 1.11.0 → 1.12.0
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/{ast-C0FNDLFQ.mjs → ast-9E8pNi7j.mjs} +44 -41
- package/dist/ast-9E8pNi7j.mjs.map +1 -0
- package/dist/{document-DqLm4Vqi.d.mts → document-BVWq-dmf.d.mts} +9 -11
- package/dist/{document-CBw2uF_P.mjs → document-DocoSXLT.mjs} +2932 -3087
- package/dist/document-DocoSXLT.mjs.map +1 -0
- package/dist/{index-DdSjzvA3.d.mts → index-C8h8TcIl.d.mts} +1 -1
- package/dist/index.d.mts +22 -149
- package/dist/index.mjs +669 -466
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +782 -0
- package/dist/tailwind-CzPhj3D9.mjs +36 -0
- package/dist/tailwind-CzPhj3D9.mjs.map +1 -0
- package/dist/utils/ast/index.d.mts +3 -7
- package/dist/utils/ast/index.mjs +3 -4
- package/dist/utils/index.d.mts +2 -3
- package/dist/utils/index.mjs +3 -4
- package/dist/utils/tailwind/index.mjs +1 -36
- package/dist/{utils-BjYg1Sh8.mjs → utils-DP9WPbBJ.mjs} +1505 -18
- package/dist/utils-DP9WPbBJ.mjs.map +1 -0
- package/package.json +44 -43
- package/dist/ast-C0FNDLFQ.mjs.map +0 -1
- package/dist/document-CBw2uF_P.mjs.map +0 -1
- package/dist/index.css +0 -77
- package/dist/index.css.map +0 -1
- package/dist/utils/tailwind/index.mjs.map +0 -1
- package/dist/utils-BjYg1Sh8.mjs.map +0 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { a as generateSectionPreviews, b as TS_PATTERNS, c as replaceDocumentSections, h as CONFIG, i as generateSectionPreview, l as createBoundedCache, o as getSections, s as parseDocument, y as REGEX } from "./document-
|
|
1
|
+
import { a as generateSectionPreviews, b as TS_PATTERNS, c as replaceDocumentSections, h as CONFIG, i as generateSectionPreview, l as createBoundedCache, o as getSections, s as parseDocument, y as REGEX } from "./document-DocoSXLT.mjs";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import * as Babel from "@babel/standalone";
|
|
4
4
|
import * as ui from "@jbpark/ui-kit";
|
|
5
5
|
import * as utils from "@jbpark/ui-kit/utils";
|
|
6
|
-
|
|
7
6
|
//#region node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
8
7
|
function r(e) {
|
|
9
8
|
var t, f, n = "";
|
|
@@ -18,9 +17,8 @@ function clsx() {
|
|
|
18
17
|
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
19
18
|
return n;
|
|
20
19
|
}
|
|
21
|
-
|
|
22
20
|
//#endregion
|
|
23
|
-
//#region node_modules/.pnpm/tailwind-merge@3.
|
|
21
|
+
//#region node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
24
22
|
/**
|
|
25
23
|
* Concatenates two arrays faster than the array spread operator.
|
|
26
24
|
*/
|
|
@@ -48,7 +46,8 @@ const createClassGroupUtils = (config) => {
|
|
|
48
46
|
const getClassGroupId = (className) => {
|
|
49
47
|
if (className.startsWith("[") && className.endsWith("]")) return getGroupIdForArbitraryProperty(className);
|
|
50
48
|
const classParts = className.split(CLASS_PART_SEPARATOR);
|
|
51
|
-
|
|
49
|
+
const startIndex = classParts[0] === "" && classParts.length > 1 ? 1 : 0;
|
|
50
|
+
return getGroupRecursive(classParts, startIndex, classMap);
|
|
52
51
|
};
|
|
53
52
|
const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
|
|
54
53
|
if (hasPostfixModifier) {
|
|
@@ -303,11 +302,18 @@ const createConfigUtils = (config) => ({
|
|
|
303
302
|
cache: createLruCache(config.cacheSize),
|
|
304
303
|
parseClassName: createParseClassName(config),
|
|
305
304
|
sortModifiers: createSortModifiers(config),
|
|
305
|
+
postfixLookupClassGroupIds: createPostfixLookupClassGroupIds(config),
|
|
306
306
|
...createClassGroupUtils(config)
|
|
307
307
|
});
|
|
308
|
+
const createPostfixLookupClassGroupIds = (config) => {
|
|
309
|
+
const lookup = Object.create(null);
|
|
310
|
+
const classGroupIds = config.postfixLookupClassGroups;
|
|
311
|
+
if (classGroupIds) for (let i = 0; i < classGroupIds.length; i++) lookup[classGroupIds[i]] = true;
|
|
312
|
+
return lookup;
|
|
313
|
+
};
|
|
308
314
|
const SPLIT_CLASSES_REGEX = /\s+/;
|
|
309
315
|
const mergeClassList = (classList, configUtils) => {
|
|
310
|
-
const { parseClassName, getClassGroupId, getConflictingClassGroupIds, sortModifiers } = configUtils;
|
|
316
|
+
const { parseClassName, getClassGroupId, getConflictingClassGroupIds, sortModifiers, postfixLookupClassGroupIds } = configUtils;
|
|
311
317
|
/**
|
|
312
318
|
* Set of classGroupIds in following format:
|
|
313
319
|
* `{importantModifier}{variantModifiers}{classGroupId}`
|
|
@@ -326,7 +332,15 @@ const mergeClassList = (classList, configUtils) => {
|
|
|
326
332
|
continue;
|
|
327
333
|
}
|
|
328
334
|
let hasPostfixModifier = !!maybePostfixModifierPosition;
|
|
329
|
-
let classGroupId
|
|
335
|
+
let classGroupId;
|
|
336
|
+
if (hasPostfixModifier) {
|
|
337
|
+
classGroupId = getClassGroupId(baseClassName.substring(0, maybePostfixModifierPosition));
|
|
338
|
+
const classGroupIdWithPostfix = classGroupId && postfixLookupClassGroupIds[classGroupId] ? getClassGroupId(baseClassName) : void 0;
|
|
339
|
+
if (classGroupIdWithPostfix && classGroupIdWithPostfix !== classGroupId) {
|
|
340
|
+
classGroupId = classGroupIdWithPostfix;
|
|
341
|
+
hasPostfixModifier = false;
|
|
342
|
+
}
|
|
343
|
+
} else classGroupId = getClassGroupId(baseClassName);
|
|
330
344
|
if (!classGroupId) {
|
|
331
345
|
if (!hasPostfixModifier) {
|
|
332
346
|
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
@@ -393,7 +407,8 @@ const createTailwindMerge = (createConfigFirst, ...createConfigRest) => {
|
|
|
393
407
|
let cacheSet;
|
|
394
408
|
let functionToCall;
|
|
395
409
|
const initTailwindMerge = (classList) => {
|
|
396
|
-
|
|
410
|
+
const config = createConfigRest.reduce((previousConfig, createConfigCurrent) => createConfigCurrent(previousConfig), createConfigFirst());
|
|
411
|
+
configUtils = createConfigUtils(config);
|
|
397
412
|
cacheGet = configUtils.cache.get;
|
|
398
413
|
cacheSet = configUtils.cache.set;
|
|
399
414
|
functionToCall = tailwindMerge;
|
|
@@ -417,7 +432,7 @@ const fromTheme = (key) => {
|
|
|
417
432
|
};
|
|
418
433
|
const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
|
|
419
434
|
const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
|
|
420
|
-
const fractionRegex = /^\d
|
|
435
|
+
const fractionRegex = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/;
|
|
421
436
|
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
422
437
|
const lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
|
|
423
438
|
const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
|
|
@@ -434,10 +449,13 @@ const isNever = () => false;
|
|
|
434
449
|
const isShadow = (value) => shadowRegex.test(value);
|
|
435
450
|
const isImage = (value) => imageRegex.test(value);
|
|
436
451
|
const isAnyNonArbitrary = (value) => !isArbitraryValue(value) && !isArbitraryVariable(value);
|
|
452
|
+
const isNamedContainerQuery = (value) => value.startsWith("@container") && (value[10] === "/" && value[11] !== void 0 || value[11] === "s" && value[16] !== void 0 && value.startsWith("-size/", 10) || value[11] === "n" && value[18] !== void 0 && value.startsWith("-normal/", 10));
|
|
437
453
|
const isArbitrarySize = (value) => getIsArbitraryValue(value, isLabelSize, isNever);
|
|
438
454
|
const isArbitraryValue = (value) => arbitraryValueRegex.test(value);
|
|
439
455
|
const isArbitraryLength = (value) => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
|
|
440
456
|
const isArbitraryNumber = (value) => getIsArbitraryValue(value, isLabelNumber, isNumber);
|
|
457
|
+
const isArbitraryWeight = (value) => getIsArbitraryValue(value, isLabelWeight, isAny);
|
|
458
|
+
const isArbitraryFamilyName = (value) => getIsArbitraryValue(value, isLabelFamilyName, isNever);
|
|
441
459
|
const isArbitraryPosition = (value) => getIsArbitraryValue(value, isLabelPosition, isNever);
|
|
442
460
|
const isArbitraryImage = (value) => getIsArbitraryValue(value, isLabelImage, isImage);
|
|
443
461
|
const isArbitraryShadow = (value) => getIsArbitraryValue(value, isLabelShadow, isShadow);
|
|
@@ -448,6 +466,7 @@ const isArbitraryVariablePosition = (value) => getIsArbitraryVariable(value, isL
|
|
|
448
466
|
const isArbitraryVariableSize = (value) => getIsArbitraryVariable(value, isLabelSize);
|
|
449
467
|
const isArbitraryVariableImage = (value) => getIsArbitraryVariable(value, isLabelImage);
|
|
450
468
|
const isArbitraryVariableShadow = (value) => getIsArbitraryVariable(value, isLabelShadow, true);
|
|
469
|
+
const isArbitraryVariableWeight = (value) => getIsArbitraryVariable(value, isLabelWeight, true);
|
|
451
470
|
const getIsArbitraryValue = (value, testLabel, testValue) => {
|
|
452
471
|
const result = arbitraryValueRegex.exec(value);
|
|
453
472
|
if (result) {
|
|
@@ -470,6 +489,7 @@ const isLabelSize = (label) => label === "length" || label === "size" || label =
|
|
|
470
489
|
const isLabelLength = (label) => label === "length";
|
|
471
490
|
const isLabelNumber = (label) => label === "number";
|
|
472
491
|
const isLabelFamilyName = (label) => label === "family-name";
|
|
492
|
+
const isLabelWeight = (label) => label === "number" || label === "weight";
|
|
473
493
|
const isLabelShadow = (label) => label === "shadow";
|
|
474
494
|
const getDefaultConfig = () => {
|
|
475
495
|
/**
|
|
@@ -623,6 +643,31 @@ const getDefaultConfig = () => {
|
|
|
623
643
|
"fit",
|
|
624
644
|
...scaleUnambiguousSpacing()
|
|
625
645
|
];
|
|
646
|
+
const scaleSizingInline = () => [
|
|
647
|
+
isFraction,
|
|
648
|
+
"screen",
|
|
649
|
+
"full",
|
|
650
|
+
"dvw",
|
|
651
|
+
"lvw",
|
|
652
|
+
"svw",
|
|
653
|
+
"min",
|
|
654
|
+
"max",
|
|
655
|
+
"fit",
|
|
656
|
+
...scaleUnambiguousSpacing()
|
|
657
|
+
];
|
|
658
|
+
const scaleSizingBlock = () => [
|
|
659
|
+
isFraction,
|
|
660
|
+
"screen",
|
|
661
|
+
"full",
|
|
662
|
+
"lh",
|
|
663
|
+
"dvh",
|
|
664
|
+
"lvh",
|
|
665
|
+
"svh",
|
|
666
|
+
"min",
|
|
667
|
+
"max",
|
|
668
|
+
"fit",
|
|
669
|
+
...scaleUnambiguousSpacing()
|
|
670
|
+
];
|
|
626
671
|
const scaleColor = () => [
|
|
627
672
|
themeColor,
|
|
628
673
|
isArbitraryVariable,
|
|
@@ -791,6 +836,10 @@ const getDefaultConfig = () => {
|
|
|
791
836
|
]
|
|
792
837
|
},
|
|
793
838
|
classGroups: {
|
|
839
|
+
/**
|
|
840
|
+
* Aspect Ratio
|
|
841
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
842
|
+
*/
|
|
794
843
|
aspect: [{ aspect: [
|
|
795
844
|
"auto",
|
|
796
845
|
"square",
|
|
@@ -799,23 +848,72 @@ const getDefaultConfig = () => {
|
|
|
799
848
|
isArbitraryVariable,
|
|
800
849
|
themeAspect
|
|
801
850
|
] }],
|
|
851
|
+
/**
|
|
852
|
+
* Container
|
|
853
|
+
* @see https://tailwindcss.com/docs/container
|
|
854
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
855
|
+
*/
|
|
802
856
|
container: ["container"],
|
|
857
|
+
/**
|
|
858
|
+
* Container Type
|
|
859
|
+
* @see https://tailwindcss.com/docs/responsive-design#container-queries
|
|
860
|
+
*/
|
|
861
|
+
"container-type": [{ "@container": [
|
|
862
|
+
"",
|
|
863
|
+
"normal",
|
|
864
|
+
"size",
|
|
865
|
+
isArbitraryVariable,
|
|
866
|
+
isArbitraryValue
|
|
867
|
+
] }],
|
|
868
|
+
/**
|
|
869
|
+
* Container Name
|
|
870
|
+
* @see https://tailwindcss.com/docs/responsive-design#named-containers
|
|
871
|
+
*/
|
|
872
|
+
"container-named": [isNamedContainerQuery],
|
|
873
|
+
/**
|
|
874
|
+
* Columns
|
|
875
|
+
* @see https://tailwindcss.com/docs/columns
|
|
876
|
+
*/
|
|
803
877
|
columns: [{ columns: [
|
|
804
878
|
isNumber,
|
|
805
879
|
isArbitraryValue,
|
|
806
880
|
isArbitraryVariable,
|
|
807
881
|
themeContainer
|
|
808
882
|
] }],
|
|
883
|
+
/**
|
|
884
|
+
* Break After
|
|
885
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
886
|
+
*/
|
|
809
887
|
"break-after": [{ "break-after": scaleBreak() }],
|
|
888
|
+
/**
|
|
889
|
+
* Break Before
|
|
890
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
891
|
+
*/
|
|
810
892
|
"break-before": [{ "break-before": scaleBreak() }],
|
|
893
|
+
/**
|
|
894
|
+
* Break Inside
|
|
895
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
896
|
+
*/
|
|
811
897
|
"break-inside": [{ "break-inside": [
|
|
812
898
|
"auto",
|
|
813
899
|
"avoid",
|
|
814
900
|
"avoid-page",
|
|
815
901
|
"avoid-column"
|
|
816
902
|
] }],
|
|
903
|
+
/**
|
|
904
|
+
* Box Decoration Break
|
|
905
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
906
|
+
*/
|
|
817
907
|
"box-decoration": [{ "box-decoration": ["slice", "clone"] }],
|
|
908
|
+
/**
|
|
909
|
+
* Box Sizing
|
|
910
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
911
|
+
*/
|
|
818
912
|
box: [{ box: ["border", "content"] }],
|
|
913
|
+
/**
|
|
914
|
+
* Display
|
|
915
|
+
* @see https://tailwindcss.com/docs/display
|
|
916
|
+
*/
|
|
819
917
|
display: [
|
|
820
918
|
"block",
|
|
821
919
|
"inline-block",
|
|
@@ -839,7 +937,15 @@ const getDefaultConfig = () => {
|
|
|
839
937
|
"list-item",
|
|
840
938
|
"hidden"
|
|
841
939
|
],
|
|
940
|
+
/**
|
|
941
|
+
* Screen Reader Only
|
|
942
|
+
* @see https://tailwindcss.com/docs/display#screen-reader-only
|
|
943
|
+
*/
|
|
842
944
|
sr: ["sr-only", "not-sr-only"],
|
|
945
|
+
/**
|
|
946
|
+
* Floats
|
|
947
|
+
* @see https://tailwindcss.com/docs/float
|
|
948
|
+
*/
|
|
843
949
|
float: [{ float: [
|
|
844
950
|
"right",
|
|
845
951
|
"left",
|
|
@@ -847,6 +953,10 @@ const getDefaultConfig = () => {
|
|
|
847
953
|
"start",
|
|
848
954
|
"end"
|
|
849
955
|
] }],
|
|
956
|
+
/**
|
|
957
|
+
* Clear
|
|
958
|
+
* @see https://tailwindcss.com/docs/clear
|
|
959
|
+
*/
|
|
850
960
|
clear: [{ clear: [
|
|
851
961
|
"left",
|
|
852
962
|
"right",
|
|
@@ -855,7 +965,15 @@ const getDefaultConfig = () => {
|
|
|
855
965
|
"start",
|
|
856
966
|
"end"
|
|
857
967
|
] }],
|
|
968
|
+
/**
|
|
969
|
+
* Isolation
|
|
970
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
971
|
+
*/
|
|
858
972
|
isolation: ["isolate", "isolation-auto"],
|
|
973
|
+
/**
|
|
974
|
+
* Object Fit
|
|
975
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
976
|
+
*/
|
|
859
977
|
"object-fit": [{ object: [
|
|
860
978
|
"contain",
|
|
861
979
|
"cover",
|
|
@@ -863,13 +981,45 @@ const getDefaultConfig = () => {
|
|
|
863
981
|
"none",
|
|
864
982
|
"scale-down"
|
|
865
983
|
] }],
|
|
984
|
+
/**
|
|
985
|
+
* Object Position
|
|
986
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
987
|
+
*/
|
|
866
988
|
"object-position": [{ object: scalePositionWithArbitrary() }],
|
|
989
|
+
/**
|
|
990
|
+
* Overflow
|
|
991
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
992
|
+
*/
|
|
867
993
|
overflow: [{ overflow: scaleOverflow() }],
|
|
994
|
+
/**
|
|
995
|
+
* Overflow X
|
|
996
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
997
|
+
*/
|
|
868
998
|
"overflow-x": [{ "overflow-x": scaleOverflow() }],
|
|
999
|
+
/**
|
|
1000
|
+
* Overflow Y
|
|
1001
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1002
|
+
*/
|
|
869
1003
|
"overflow-y": [{ "overflow-y": scaleOverflow() }],
|
|
1004
|
+
/**
|
|
1005
|
+
* Overscroll Behavior
|
|
1006
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1007
|
+
*/
|
|
870
1008
|
overscroll: [{ overscroll: scaleOverscroll() }],
|
|
1009
|
+
/**
|
|
1010
|
+
* Overscroll Behavior X
|
|
1011
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1012
|
+
*/
|
|
871
1013
|
"overscroll-x": [{ "overscroll-x": scaleOverscroll() }],
|
|
1014
|
+
/**
|
|
1015
|
+
* Overscroll Behavior Y
|
|
1016
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1017
|
+
*/
|
|
872
1018
|
"overscroll-y": [{ "overscroll-y": scaleOverscroll() }],
|
|
1019
|
+
/**
|
|
1020
|
+
* Position
|
|
1021
|
+
* @see https://tailwindcss.com/docs/position
|
|
1022
|
+
*/
|
|
873
1023
|
position: [
|
|
874
1024
|
"static",
|
|
875
1025
|
"fixed",
|
|
@@ -877,26 +1027,100 @@ const getDefaultConfig = () => {
|
|
|
877
1027
|
"relative",
|
|
878
1028
|
"sticky"
|
|
879
1029
|
],
|
|
1030
|
+
/**
|
|
1031
|
+
* Inset
|
|
1032
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1033
|
+
*/
|
|
880
1034
|
inset: [{ inset: scaleInset() }],
|
|
1035
|
+
/**
|
|
1036
|
+
* Inset Inline
|
|
1037
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1038
|
+
*/
|
|
881
1039
|
"inset-x": [{ "inset-x": scaleInset() }],
|
|
1040
|
+
/**
|
|
1041
|
+
* Inset Block
|
|
1042
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1043
|
+
*/
|
|
882
1044
|
"inset-y": [{ "inset-y": scaleInset() }],
|
|
883
|
-
|
|
884
|
-
|
|
1045
|
+
/**
|
|
1046
|
+
* Inset Inline Start
|
|
1047
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1048
|
+
* @todo class group will be renamed to `inset-s` in next major release
|
|
1049
|
+
*/
|
|
1050
|
+
start: [{
|
|
1051
|
+
"inset-s": scaleInset(),
|
|
1052
|
+
/**
|
|
1053
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
1054
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
1055
|
+
*/
|
|
1056
|
+
start: scaleInset()
|
|
1057
|
+
}],
|
|
1058
|
+
/**
|
|
1059
|
+
* Inset Inline End
|
|
1060
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1061
|
+
* @todo class group will be renamed to `inset-e` in next major release
|
|
1062
|
+
*/
|
|
1063
|
+
end: [{
|
|
1064
|
+
"inset-e": scaleInset(),
|
|
1065
|
+
/**
|
|
1066
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
1067
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
1068
|
+
*/
|
|
1069
|
+
end: scaleInset()
|
|
1070
|
+
}],
|
|
1071
|
+
/**
|
|
1072
|
+
* Inset Block Start
|
|
1073
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1074
|
+
*/
|
|
1075
|
+
"inset-bs": [{ "inset-bs": scaleInset() }],
|
|
1076
|
+
/**
|
|
1077
|
+
* Inset Block End
|
|
1078
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1079
|
+
*/
|
|
1080
|
+
"inset-be": [{ "inset-be": scaleInset() }],
|
|
1081
|
+
/**
|
|
1082
|
+
* Top
|
|
1083
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1084
|
+
*/
|
|
885
1085
|
top: [{ top: scaleInset() }],
|
|
1086
|
+
/**
|
|
1087
|
+
* Right
|
|
1088
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1089
|
+
*/
|
|
886
1090
|
right: [{ right: scaleInset() }],
|
|
1091
|
+
/**
|
|
1092
|
+
* Bottom
|
|
1093
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1094
|
+
*/
|
|
887
1095
|
bottom: [{ bottom: scaleInset() }],
|
|
1096
|
+
/**
|
|
1097
|
+
* Left
|
|
1098
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1099
|
+
*/
|
|
888
1100
|
left: [{ left: scaleInset() }],
|
|
1101
|
+
/**
|
|
1102
|
+
* Visibility
|
|
1103
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
1104
|
+
*/
|
|
889
1105
|
visibility: [
|
|
890
1106
|
"visible",
|
|
891
1107
|
"invisible",
|
|
892
1108
|
"collapse"
|
|
893
1109
|
],
|
|
1110
|
+
/**
|
|
1111
|
+
* Z-Index
|
|
1112
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
1113
|
+
*/
|
|
894
1114
|
z: [{ z: [
|
|
895
1115
|
isInteger,
|
|
896
1116
|
"auto",
|
|
897
1117
|
isArbitraryVariable,
|
|
898
1118
|
isArbitraryValue
|
|
899
1119
|
] }],
|
|
1120
|
+
/**
|
|
1121
|
+
* Flex Basis
|
|
1122
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
1123
|
+
*/
|
|
900
1124
|
basis: [{ basis: [
|
|
901
1125
|
isFraction,
|
|
902
1126
|
"full",
|
|
@@ -904,17 +1128,29 @@ const getDefaultConfig = () => {
|
|
|
904
1128
|
themeContainer,
|
|
905
1129
|
...scaleUnambiguousSpacing()
|
|
906
1130
|
] }],
|
|
1131
|
+
/**
|
|
1132
|
+
* Flex Direction
|
|
1133
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
1134
|
+
*/
|
|
907
1135
|
"flex-direction": [{ flex: [
|
|
908
1136
|
"row",
|
|
909
1137
|
"row-reverse",
|
|
910
1138
|
"col",
|
|
911
1139
|
"col-reverse"
|
|
912
1140
|
] }],
|
|
1141
|
+
/**
|
|
1142
|
+
* Flex Wrap
|
|
1143
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
1144
|
+
*/
|
|
913
1145
|
"flex-wrap": [{ flex: [
|
|
914
1146
|
"nowrap",
|
|
915
1147
|
"wrap",
|
|
916
1148
|
"wrap-reverse"
|
|
917
1149
|
] }],
|
|
1150
|
+
/**
|
|
1151
|
+
* Flex
|
|
1152
|
+
* @see https://tailwindcss.com/docs/flex
|
|
1153
|
+
*/
|
|
918
1154
|
flex: [{ flex: [
|
|
919
1155
|
isNumber,
|
|
920
1156
|
isFraction,
|
|
@@ -923,18 +1159,30 @@ const getDefaultConfig = () => {
|
|
|
923
1159
|
"none",
|
|
924
1160
|
isArbitraryValue
|
|
925
1161
|
] }],
|
|
1162
|
+
/**
|
|
1163
|
+
* Flex Grow
|
|
1164
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
1165
|
+
*/
|
|
926
1166
|
grow: [{ grow: [
|
|
927
1167
|
"",
|
|
928
1168
|
isNumber,
|
|
929
1169
|
isArbitraryVariable,
|
|
930
1170
|
isArbitraryValue
|
|
931
1171
|
] }],
|
|
1172
|
+
/**
|
|
1173
|
+
* Flex Shrink
|
|
1174
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1175
|
+
*/
|
|
932
1176
|
shrink: [{ shrink: [
|
|
933
1177
|
"",
|
|
934
1178
|
isNumber,
|
|
935
1179
|
isArbitraryVariable,
|
|
936
1180
|
isArbitraryValue
|
|
937
1181
|
] }],
|
|
1182
|
+
/**
|
|
1183
|
+
* Order
|
|
1184
|
+
* @see https://tailwindcss.com/docs/order
|
|
1185
|
+
*/
|
|
938
1186
|
order: [{ order: [
|
|
939
1187
|
isInteger,
|
|
940
1188
|
"first",
|
|
@@ -943,14 +1191,50 @@ const getDefaultConfig = () => {
|
|
|
943
1191
|
isArbitraryVariable,
|
|
944
1192
|
isArbitraryValue
|
|
945
1193
|
] }],
|
|
1194
|
+
/**
|
|
1195
|
+
* Grid Template Columns
|
|
1196
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1197
|
+
*/
|
|
946
1198
|
"grid-cols": [{ "grid-cols": scaleGridTemplateColsRows() }],
|
|
1199
|
+
/**
|
|
1200
|
+
* Grid Column Start / End
|
|
1201
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1202
|
+
*/
|
|
947
1203
|
"col-start-end": [{ col: scaleGridColRowStartAndEnd() }],
|
|
1204
|
+
/**
|
|
1205
|
+
* Grid Column Start
|
|
1206
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1207
|
+
*/
|
|
948
1208
|
"col-start": [{ "col-start": scaleGridColRowStartOrEnd() }],
|
|
1209
|
+
/**
|
|
1210
|
+
* Grid Column End
|
|
1211
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
1212
|
+
*/
|
|
949
1213
|
"col-end": [{ "col-end": scaleGridColRowStartOrEnd() }],
|
|
1214
|
+
/**
|
|
1215
|
+
* Grid Template Rows
|
|
1216
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1217
|
+
*/
|
|
950
1218
|
"grid-rows": [{ "grid-rows": scaleGridTemplateColsRows() }],
|
|
1219
|
+
/**
|
|
1220
|
+
* Grid Row Start / End
|
|
1221
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1222
|
+
*/
|
|
951
1223
|
"row-start-end": [{ row: scaleGridColRowStartAndEnd() }],
|
|
1224
|
+
/**
|
|
1225
|
+
* Grid Row Start
|
|
1226
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1227
|
+
*/
|
|
952
1228
|
"row-start": [{ "row-start": scaleGridColRowStartOrEnd() }],
|
|
1229
|
+
/**
|
|
1230
|
+
* Grid Row End
|
|
1231
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
1232
|
+
*/
|
|
953
1233
|
"row-end": [{ "row-end": scaleGridColRowStartOrEnd() }],
|
|
1234
|
+
/**
|
|
1235
|
+
* Grid Auto Flow
|
|
1236
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
1237
|
+
*/
|
|
954
1238
|
"grid-flow": [{ "grid-flow": [
|
|
955
1239
|
"row",
|
|
956
1240
|
"col",
|
|
@@ -958,58 +1242,268 @@ const getDefaultConfig = () => {
|
|
|
958
1242
|
"row-dense",
|
|
959
1243
|
"col-dense"
|
|
960
1244
|
] }],
|
|
1245
|
+
/**
|
|
1246
|
+
* Grid Auto Columns
|
|
1247
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1248
|
+
*/
|
|
961
1249
|
"auto-cols": [{ "auto-cols": scaleGridAutoColsRows() }],
|
|
1250
|
+
/**
|
|
1251
|
+
* Grid Auto Rows
|
|
1252
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1253
|
+
*/
|
|
962
1254
|
"auto-rows": [{ "auto-rows": scaleGridAutoColsRows() }],
|
|
1255
|
+
/**
|
|
1256
|
+
* Gap
|
|
1257
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1258
|
+
*/
|
|
963
1259
|
gap: [{ gap: scaleUnambiguousSpacing() }],
|
|
1260
|
+
/**
|
|
1261
|
+
* Gap X
|
|
1262
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1263
|
+
*/
|
|
964
1264
|
"gap-x": [{ "gap-x": scaleUnambiguousSpacing() }],
|
|
1265
|
+
/**
|
|
1266
|
+
* Gap Y
|
|
1267
|
+
* @see https://tailwindcss.com/docs/gap
|
|
1268
|
+
*/
|
|
965
1269
|
"gap-y": [{ "gap-y": scaleUnambiguousSpacing() }],
|
|
1270
|
+
/**
|
|
1271
|
+
* Justify Content
|
|
1272
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
1273
|
+
*/
|
|
966
1274
|
"justify-content": [{ justify: [...scaleAlignPrimaryAxis(), "normal"] }],
|
|
1275
|
+
/**
|
|
1276
|
+
* Justify Items
|
|
1277
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
1278
|
+
*/
|
|
967
1279
|
"justify-items": [{ "justify-items": [...scaleAlignSecondaryAxis(), "normal"] }],
|
|
1280
|
+
/**
|
|
1281
|
+
* Justify Self
|
|
1282
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
1283
|
+
*/
|
|
968
1284
|
"justify-self": [{ "justify-self": ["auto", ...scaleAlignSecondaryAxis()] }],
|
|
1285
|
+
/**
|
|
1286
|
+
* Align Content
|
|
1287
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
1288
|
+
*/
|
|
969
1289
|
"align-content": [{ content: ["normal", ...scaleAlignPrimaryAxis()] }],
|
|
1290
|
+
/**
|
|
1291
|
+
* Align Items
|
|
1292
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
1293
|
+
*/
|
|
970
1294
|
"align-items": [{ items: [...scaleAlignSecondaryAxis(), { baseline: ["", "last"] }] }],
|
|
1295
|
+
/**
|
|
1296
|
+
* Align Self
|
|
1297
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
1298
|
+
*/
|
|
971
1299
|
"align-self": [{ self: [
|
|
972
1300
|
"auto",
|
|
973
1301
|
...scaleAlignSecondaryAxis(),
|
|
974
1302
|
{ baseline: ["", "last"] }
|
|
975
1303
|
] }],
|
|
1304
|
+
/**
|
|
1305
|
+
* Place Content
|
|
1306
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
1307
|
+
*/
|
|
976
1308
|
"place-content": [{ "place-content": scaleAlignPrimaryAxis() }],
|
|
1309
|
+
/**
|
|
1310
|
+
* Place Items
|
|
1311
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
1312
|
+
*/
|
|
977
1313
|
"place-items": [{ "place-items": [...scaleAlignSecondaryAxis(), "baseline"] }],
|
|
1314
|
+
/**
|
|
1315
|
+
* Place Self
|
|
1316
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
1317
|
+
*/
|
|
978
1318
|
"place-self": [{ "place-self": ["auto", ...scaleAlignSecondaryAxis()] }],
|
|
1319
|
+
/**
|
|
1320
|
+
* Padding
|
|
1321
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1322
|
+
*/
|
|
979
1323
|
p: [{ p: scaleUnambiguousSpacing() }],
|
|
1324
|
+
/**
|
|
1325
|
+
* Padding Inline
|
|
1326
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1327
|
+
*/
|
|
980
1328
|
px: [{ px: scaleUnambiguousSpacing() }],
|
|
1329
|
+
/**
|
|
1330
|
+
* Padding Block
|
|
1331
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1332
|
+
*/
|
|
981
1333
|
py: [{ py: scaleUnambiguousSpacing() }],
|
|
1334
|
+
/**
|
|
1335
|
+
* Padding Inline Start
|
|
1336
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1337
|
+
*/
|
|
982
1338
|
ps: [{ ps: scaleUnambiguousSpacing() }],
|
|
1339
|
+
/**
|
|
1340
|
+
* Padding Inline End
|
|
1341
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1342
|
+
*/
|
|
983
1343
|
pe: [{ pe: scaleUnambiguousSpacing() }],
|
|
1344
|
+
/**
|
|
1345
|
+
* Padding Block Start
|
|
1346
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1347
|
+
*/
|
|
1348
|
+
pbs: [{ pbs: scaleUnambiguousSpacing() }],
|
|
1349
|
+
/**
|
|
1350
|
+
* Padding Block End
|
|
1351
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1352
|
+
*/
|
|
1353
|
+
pbe: [{ pbe: scaleUnambiguousSpacing() }],
|
|
1354
|
+
/**
|
|
1355
|
+
* Padding Top
|
|
1356
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1357
|
+
*/
|
|
984
1358
|
pt: [{ pt: scaleUnambiguousSpacing() }],
|
|
1359
|
+
/**
|
|
1360
|
+
* Padding Right
|
|
1361
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1362
|
+
*/
|
|
985
1363
|
pr: [{ pr: scaleUnambiguousSpacing() }],
|
|
1364
|
+
/**
|
|
1365
|
+
* Padding Bottom
|
|
1366
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1367
|
+
*/
|
|
986
1368
|
pb: [{ pb: scaleUnambiguousSpacing() }],
|
|
1369
|
+
/**
|
|
1370
|
+
* Padding Left
|
|
1371
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1372
|
+
*/
|
|
987
1373
|
pl: [{ pl: scaleUnambiguousSpacing() }],
|
|
1374
|
+
/**
|
|
1375
|
+
* Margin
|
|
1376
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1377
|
+
*/
|
|
988
1378
|
m: [{ m: scaleMargin() }],
|
|
1379
|
+
/**
|
|
1380
|
+
* Margin Inline
|
|
1381
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1382
|
+
*/
|
|
989
1383
|
mx: [{ mx: scaleMargin() }],
|
|
1384
|
+
/**
|
|
1385
|
+
* Margin Block
|
|
1386
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1387
|
+
*/
|
|
990
1388
|
my: [{ my: scaleMargin() }],
|
|
1389
|
+
/**
|
|
1390
|
+
* Margin Inline Start
|
|
1391
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1392
|
+
*/
|
|
991
1393
|
ms: [{ ms: scaleMargin() }],
|
|
1394
|
+
/**
|
|
1395
|
+
* Margin Inline End
|
|
1396
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1397
|
+
*/
|
|
992
1398
|
me: [{ me: scaleMargin() }],
|
|
1399
|
+
/**
|
|
1400
|
+
* Margin Block Start
|
|
1401
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1402
|
+
*/
|
|
1403
|
+
mbs: [{ mbs: scaleMargin() }],
|
|
1404
|
+
/**
|
|
1405
|
+
* Margin Block End
|
|
1406
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1407
|
+
*/
|
|
1408
|
+
mbe: [{ mbe: scaleMargin() }],
|
|
1409
|
+
/**
|
|
1410
|
+
* Margin Top
|
|
1411
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1412
|
+
*/
|
|
993
1413
|
mt: [{ mt: scaleMargin() }],
|
|
1414
|
+
/**
|
|
1415
|
+
* Margin Right
|
|
1416
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1417
|
+
*/
|
|
994
1418
|
mr: [{ mr: scaleMargin() }],
|
|
1419
|
+
/**
|
|
1420
|
+
* Margin Bottom
|
|
1421
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1422
|
+
*/
|
|
995
1423
|
mb: [{ mb: scaleMargin() }],
|
|
1424
|
+
/**
|
|
1425
|
+
* Margin Left
|
|
1426
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1427
|
+
*/
|
|
996
1428
|
ml: [{ ml: scaleMargin() }],
|
|
1429
|
+
/**
|
|
1430
|
+
* Space Between X
|
|
1431
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1432
|
+
*/
|
|
997
1433
|
"space-x": [{ "space-x": scaleUnambiguousSpacing() }],
|
|
1434
|
+
/**
|
|
1435
|
+
* Space Between X Reverse
|
|
1436
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1437
|
+
*/
|
|
998
1438
|
"space-x-reverse": ["space-x-reverse"],
|
|
1439
|
+
/**
|
|
1440
|
+
* Space Between Y
|
|
1441
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1442
|
+
*/
|
|
999
1443
|
"space-y": [{ "space-y": scaleUnambiguousSpacing() }],
|
|
1444
|
+
/**
|
|
1445
|
+
* Space Between Y Reverse
|
|
1446
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1447
|
+
*/
|
|
1000
1448
|
"space-y-reverse": ["space-y-reverse"],
|
|
1449
|
+
/**
|
|
1450
|
+
* Size
|
|
1451
|
+
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1452
|
+
*/
|
|
1001
1453
|
size: [{ size: scaleSizing() }],
|
|
1454
|
+
/**
|
|
1455
|
+
* Inline Size
|
|
1456
|
+
* @see https://tailwindcss.com/docs/width
|
|
1457
|
+
*/
|
|
1458
|
+
"inline-size": [{ inline: ["auto", ...scaleSizingInline()] }],
|
|
1459
|
+
/**
|
|
1460
|
+
* Min-Inline Size
|
|
1461
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1462
|
+
*/
|
|
1463
|
+
"min-inline-size": [{ "min-inline": ["auto", ...scaleSizingInline()] }],
|
|
1464
|
+
/**
|
|
1465
|
+
* Max-Inline Size
|
|
1466
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1467
|
+
*/
|
|
1468
|
+
"max-inline-size": [{ "max-inline": ["none", ...scaleSizingInline()] }],
|
|
1469
|
+
/**
|
|
1470
|
+
* Block Size
|
|
1471
|
+
* @see https://tailwindcss.com/docs/height
|
|
1472
|
+
*/
|
|
1473
|
+
"block-size": [{ block: ["auto", ...scaleSizingBlock()] }],
|
|
1474
|
+
/**
|
|
1475
|
+
* Min-Block Size
|
|
1476
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1477
|
+
*/
|
|
1478
|
+
"min-block-size": [{ "min-block": ["auto", ...scaleSizingBlock()] }],
|
|
1479
|
+
/**
|
|
1480
|
+
* Max-Block Size
|
|
1481
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1482
|
+
*/
|
|
1483
|
+
"max-block-size": [{ "max-block": ["none", ...scaleSizingBlock()] }],
|
|
1484
|
+
/**
|
|
1485
|
+
* Width
|
|
1486
|
+
* @see https://tailwindcss.com/docs/width
|
|
1487
|
+
*/
|
|
1002
1488
|
w: [{ w: [
|
|
1003
1489
|
themeContainer,
|
|
1004
1490
|
"screen",
|
|
1005
1491
|
...scaleSizing()
|
|
1006
1492
|
] }],
|
|
1493
|
+
/**
|
|
1494
|
+
* Min-Width
|
|
1495
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1496
|
+
*/
|
|
1007
1497
|
"min-w": [{ "min-w": [
|
|
1008
1498
|
themeContainer,
|
|
1009
1499
|
"screen",
|
|
1010
1500
|
"none",
|
|
1011
1501
|
...scaleSizing()
|
|
1012
1502
|
] }],
|
|
1503
|
+
/**
|
|
1504
|
+
* Max-Width
|
|
1505
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1506
|
+
*/
|
|
1013
1507
|
"max-w": [{ "max-w": [
|
|
1014
1508
|
themeContainer,
|
|
1015
1509
|
"screen",
|
|
@@ -1018,35 +1512,67 @@ const getDefaultConfig = () => {
|
|
|
1018
1512
|
{ screen: [themeBreakpoint] },
|
|
1019
1513
|
...scaleSizing()
|
|
1020
1514
|
] }],
|
|
1515
|
+
/**
|
|
1516
|
+
* Height
|
|
1517
|
+
* @see https://tailwindcss.com/docs/height
|
|
1518
|
+
*/
|
|
1021
1519
|
h: [{ h: [
|
|
1022
1520
|
"screen",
|
|
1023
1521
|
"lh",
|
|
1024
1522
|
...scaleSizing()
|
|
1025
1523
|
] }],
|
|
1524
|
+
/**
|
|
1525
|
+
* Min-Height
|
|
1526
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1527
|
+
*/
|
|
1026
1528
|
"min-h": [{ "min-h": [
|
|
1027
1529
|
"screen",
|
|
1028
1530
|
"lh",
|
|
1029
1531
|
"none",
|
|
1030
1532
|
...scaleSizing()
|
|
1031
1533
|
] }],
|
|
1534
|
+
/**
|
|
1535
|
+
* Max-Height
|
|
1536
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1537
|
+
*/
|
|
1032
1538
|
"max-h": [{ "max-h": [
|
|
1033
1539
|
"screen",
|
|
1034
1540
|
"lh",
|
|
1035
1541
|
...scaleSizing()
|
|
1036
1542
|
] }],
|
|
1543
|
+
/**
|
|
1544
|
+
* Font Size
|
|
1545
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
1546
|
+
*/
|
|
1037
1547
|
"font-size": [{ text: [
|
|
1038
1548
|
"base",
|
|
1039
1549
|
themeText,
|
|
1040
1550
|
isArbitraryVariableLength,
|
|
1041
1551
|
isArbitraryLength
|
|
1042
1552
|
] }],
|
|
1553
|
+
/**
|
|
1554
|
+
* Font Smoothing
|
|
1555
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
1556
|
+
*/
|
|
1043
1557
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1558
|
+
/**
|
|
1559
|
+
* Font Style
|
|
1560
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
1561
|
+
*/
|
|
1044
1562
|
"font-style": ["italic", "not-italic"],
|
|
1563
|
+
/**
|
|
1564
|
+
* Font Weight
|
|
1565
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
1566
|
+
*/
|
|
1045
1567
|
"font-weight": [{ font: [
|
|
1046
1568
|
themeFontWeight,
|
|
1047
|
-
|
|
1048
|
-
|
|
1569
|
+
isArbitraryVariableWeight,
|
|
1570
|
+
isArbitraryWeight
|
|
1049
1571
|
] }],
|
|
1572
|
+
/**
|
|
1573
|
+
* Font Stretch
|
|
1574
|
+
* @see https://tailwindcss.com/docs/font-stretch
|
|
1575
|
+
*/
|
|
1050
1576
|
"font-stretch": [{ "font-stretch": [
|
|
1051
1577
|
"ultra-condensed",
|
|
1052
1578
|
"extra-condensed",
|
|
@@ -1060,35 +1586,92 @@ const getDefaultConfig = () => {
|
|
|
1060
1586
|
isPercent,
|
|
1061
1587
|
isArbitraryValue
|
|
1062
1588
|
] }],
|
|
1589
|
+
/**
|
|
1590
|
+
* Font Family
|
|
1591
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
1592
|
+
*/
|
|
1063
1593
|
"font-family": [{ font: [
|
|
1064
1594
|
isArbitraryVariableFamilyName,
|
|
1065
|
-
|
|
1595
|
+
isArbitraryFamilyName,
|
|
1066
1596
|
themeFont
|
|
1067
1597
|
] }],
|
|
1598
|
+
/**
|
|
1599
|
+
* Font Feature Settings
|
|
1600
|
+
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1601
|
+
*/
|
|
1602
|
+
"font-features": [{ "font-features": [isArbitraryValue] }],
|
|
1603
|
+
/**
|
|
1604
|
+
* Font Variant Numeric
|
|
1605
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1606
|
+
*/
|
|
1068
1607
|
"fvn-normal": ["normal-nums"],
|
|
1608
|
+
/**
|
|
1609
|
+
* Font Variant Numeric
|
|
1610
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1611
|
+
*/
|
|
1069
1612
|
"fvn-ordinal": ["ordinal"],
|
|
1613
|
+
/**
|
|
1614
|
+
* Font Variant Numeric
|
|
1615
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1616
|
+
*/
|
|
1070
1617
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
1618
|
+
/**
|
|
1619
|
+
* Font Variant Numeric
|
|
1620
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1621
|
+
*/
|
|
1071
1622
|
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
1623
|
+
/**
|
|
1624
|
+
* Font Variant Numeric
|
|
1625
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1626
|
+
*/
|
|
1072
1627
|
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
1628
|
+
/**
|
|
1629
|
+
* Font Variant Numeric
|
|
1630
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1631
|
+
*/
|
|
1073
1632
|
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
1633
|
+
/**
|
|
1634
|
+
* Letter Spacing
|
|
1635
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1636
|
+
*/
|
|
1074
1637
|
tracking: [{ tracking: [
|
|
1075
1638
|
themeTracking,
|
|
1076
1639
|
isArbitraryVariable,
|
|
1077
1640
|
isArbitraryValue
|
|
1078
1641
|
] }],
|
|
1642
|
+
/**
|
|
1643
|
+
* Line Clamp
|
|
1644
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
1645
|
+
*/
|
|
1079
1646
|
"line-clamp": [{ "line-clamp": [
|
|
1080
1647
|
isNumber,
|
|
1081
1648
|
"none",
|
|
1082
1649
|
isArbitraryVariable,
|
|
1083
1650
|
isArbitraryNumber
|
|
1084
1651
|
] }],
|
|
1652
|
+
/**
|
|
1653
|
+
* Line Height
|
|
1654
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
1655
|
+
*/
|
|
1085
1656
|
leading: [{ leading: [themeLeading, ...scaleUnambiguousSpacing()] }],
|
|
1657
|
+
/**
|
|
1658
|
+
* List Style Image
|
|
1659
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
1660
|
+
*/
|
|
1086
1661
|
"list-image": [{ "list-image": [
|
|
1087
1662
|
"none",
|
|
1088
1663
|
isArbitraryVariable,
|
|
1089
1664
|
isArbitraryValue
|
|
1090
1665
|
] }],
|
|
1666
|
+
/**
|
|
1667
|
+
* List Style Position
|
|
1668
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
1669
|
+
*/
|
|
1091
1670
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
1671
|
+
/**
|
|
1672
|
+
* List Style Type
|
|
1673
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
1674
|
+
*/
|
|
1092
1675
|
"list-style-type": [{ list: [
|
|
1093
1676
|
"disc",
|
|
1094
1677
|
"decimal",
|
|
@@ -1096,6 +1679,10 @@ const getDefaultConfig = () => {
|
|
|
1096
1679
|
isArbitraryVariable,
|
|
1097
1680
|
isArbitraryValue
|
|
1098
1681
|
] }],
|
|
1682
|
+
/**
|
|
1683
|
+
* Text Alignment
|
|
1684
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
1685
|
+
*/
|
|
1099
1686
|
"text-alignment": [{ text: [
|
|
1100
1687
|
"left",
|
|
1101
1688
|
"center",
|
|
@@ -1104,15 +1691,36 @@ const getDefaultConfig = () => {
|
|
|
1104
1691
|
"start",
|
|
1105
1692
|
"end"
|
|
1106
1693
|
] }],
|
|
1694
|
+
/**
|
|
1695
|
+
* Placeholder Color
|
|
1696
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1697
|
+
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1698
|
+
*/
|
|
1107
1699
|
"placeholder-color": [{ placeholder: scaleColor() }],
|
|
1700
|
+
/**
|
|
1701
|
+
* Text Color
|
|
1702
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
1703
|
+
*/
|
|
1108
1704
|
"text-color": [{ text: scaleColor() }],
|
|
1705
|
+
/**
|
|
1706
|
+
* Text Decoration
|
|
1707
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
1708
|
+
*/
|
|
1109
1709
|
"text-decoration": [
|
|
1110
1710
|
"underline",
|
|
1111
1711
|
"overline",
|
|
1112
1712
|
"line-through",
|
|
1113
1713
|
"no-underline"
|
|
1114
1714
|
],
|
|
1715
|
+
/**
|
|
1716
|
+
* Text Decoration Style
|
|
1717
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1718
|
+
*/
|
|
1115
1719
|
"text-decoration-style": [{ decoration: [...scaleLineStyle(), "wavy"] }],
|
|
1720
|
+
/**
|
|
1721
|
+
* Text Decoration Thickness
|
|
1722
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1723
|
+
*/
|
|
1116
1724
|
"text-decoration-thickness": [{ decoration: [
|
|
1117
1725
|
isNumber,
|
|
1118
1726
|
"from-font",
|
|
@@ -1120,31 +1728,68 @@ const getDefaultConfig = () => {
|
|
|
1120
1728
|
isArbitraryVariable,
|
|
1121
1729
|
isArbitraryLength
|
|
1122
1730
|
] }],
|
|
1731
|
+
/**
|
|
1732
|
+
* Text Decoration Color
|
|
1733
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1734
|
+
*/
|
|
1123
1735
|
"text-decoration-color": [{ decoration: scaleColor() }],
|
|
1736
|
+
/**
|
|
1737
|
+
* Text Underline Offset
|
|
1738
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1739
|
+
*/
|
|
1124
1740
|
"underline-offset": [{ "underline-offset": [
|
|
1125
1741
|
isNumber,
|
|
1126
1742
|
"auto",
|
|
1127
1743
|
isArbitraryVariable,
|
|
1128
1744
|
isArbitraryValue
|
|
1129
1745
|
] }],
|
|
1746
|
+
/**
|
|
1747
|
+
* Text Transform
|
|
1748
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
1749
|
+
*/
|
|
1130
1750
|
"text-transform": [
|
|
1131
1751
|
"uppercase",
|
|
1132
1752
|
"lowercase",
|
|
1133
1753
|
"capitalize",
|
|
1134
1754
|
"normal-case"
|
|
1135
1755
|
],
|
|
1756
|
+
/**
|
|
1757
|
+
* Text Overflow
|
|
1758
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
1759
|
+
*/
|
|
1136
1760
|
"text-overflow": [
|
|
1137
1761
|
"truncate",
|
|
1138
1762
|
"text-ellipsis",
|
|
1139
1763
|
"text-clip"
|
|
1140
1764
|
],
|
|
1765
|
+
/**
|
|
1766
|
+
* Text Wrap
|
|
1767
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
1768
|
+
*/
|
|
1141
1769
|
"text-wrap": [{ text: [
|
|
1142
1770
|
"wrap",
|
|
1143
1771
|
"nowrap",
|
|
1144
1772
|
"balance",
|
|
1145
1773
|
"pretty"
|
|
1146
1774
|
] }],
|
|
1775
|
+
/**
|
|
1776
|
+
* Text Indent
|
|
1777
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
1778
|
+
*/
|
|
1147
1779
|
indent: [{ indent: scaleUnambiguousSpacing() }],
|
|
1780
|
+
/**
|
|
1781
|
+
* Tab Size
|
|
1782
|
+
* @see https://tailwindcss.com/docs/tab-size
|
|
1783
|
+
*/
|
|
1784
|
+
"tab-size": [{ tab: [
|
|
1785
|
+
isInteger,
|
|
1786
|
+
isArbitraryVariable,
|
|
1787
|
+
isArbitraryValue
|
|
1788
|
+
] }],
|
|
1789
|
+
/**
|
|
1790
|
+
* Vertical Alignment
|
|
1791
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
1792
|
+
*/
|
|
1148
1793
|
"vertical-align": [{ align: [
|
|
1149
1794
|
"baseline",
|
|
1150
1795
|
"top",
|
|
@@ -1157,6 +1802,10 @@ const getDefaultConfig = () => {
|
|
|
1157
1802
|
isArbitraryVariable,
|
|
1158
1803
|
isArbitraryValue
|
|
1159
1804
|
] }],
|
|
1805
|
+
/**
|
|
1806
|
+
* Whitespace
|
|
1807
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
1808
|
+
*/
|
|
1160
1809
|
whitespace: [{ whitespace: [
|
|
1161
1810
|
"normal",
|
|
1162
1811
|
"nowrap",
|
|
@@ -1165,46 +1814,90 @@ const getDefaultConfig = () => {
|
|
|
1165
1814
|
"pre-wrap",
|
|
1166
1815
|
"break-spaces"
|
|
1167
1816
|
] }],
|
|
1817
|
+
/**
|
|
1818
|
+
* Word Break
|
|
1819
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
1820
|
+
*/
|
|
1168
1821
|
break: [{ break: [
|
|
1169
1822
|
"normal",
|
|
1170
1823
|
"words",
|
|
1171
1824
|
"all",
|
|
1172
1825
|
"keep"
|
|
1173
1826
|
] }],
|
|
1827
|
+
/**
|
|
1828
|
+
* Overflow Wrap
|
|
1829
|
+
* @see https://tailwindcss.com/docs/overflow-wrap
|
|
1830
|
+
*/
|
|
1174
1831
|
wrap: [{ wrap: [
|
|
1175
1832
|
"break-word",
|
|
1176
1833
|
"anywhere",
|
|
1177
1834
|
"normal"
|
|
1178
1835
|
] }],
|
|
1836
|
+
/**
|
|
1837
|
+
* Hyphens
|
|
1838
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
1839
|
+
*/
|
|
1179
1840
|
hyphens: [{ hyphens: [
|
|
1180
1841
|
"none",
|
|
1181
1842
|
"manual",
|
|
1182
1843
|
"auto"
|
|
1183
1844
|
] }],
|
|
1845
|
+
/**
|
|
1846
|
+
* Content
|
|
1847
|
+
* @see https://tailwindcss.com/docs/content
|
|
1848
|
+
*/
|
|
1184
1849
|
content: [{ content: [
|
|
1185
1850
|
"none",
|
|
1186
1851
|
isArbitraryVariable,
|
|
1187
1852
|
isArbitraryValue
|
|
1188
1853
|
] }],
|
|
1854
|
+
/**
|
|
1855
|
+
* Background Attachment
|
|
1856
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
1857
|
+
*/
|
|
1189
1858
|
"bg-attachment": [{ bg: [
|
|
1190
1859
|
"fixed",
|
|
1191
1860
|
"local",
|
|
1192
1861
|
"scroll"
|
|
1193
1862
|
] }],
|
|
1863
|
+
/**
|
|
1864
|
+
* Background Clip
|
|
1865
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
1866
|
+
*/
|
|
1194
1867
|
"bg-clip": [{ "bg-clip": [
|
|
1195
1868
|
"border",
|
|
1196
1869
|
"padding",
|
|
1197
1870
|
"content",
|
|
1198
1871
|
"text"
|
|
1199
1872
|
] }],
|
|
1873
|
+
/**
|
|
1874
|
+
* Background Origin
|
|
1875
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
1876
|
+
*/
|
|
1200
1877
|
"bg-origin": [{ "bg-origin": [
|
|
1201
1878
|
"border",
|
|
1202
1879
|
"padding",
|
|
1203
1880
|
"content"
|
|
1204
1881
|
] }],
|
|
1882
|
+
/**
|
|
1883
|
+
* Background Position
|
|
1884
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
1885
|
+
*/
|
|
1205
1886
|
"bg-position": [{ bg: scaleBgPosition() }],
|
|
1887
|
+
/**
|
|
1888
|
+
* Background Repeat
|
|
1889
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
1890
|
+
*/
|
|
1206
1891
|
"bg-repeat": [{ bg: scaleBgRepeat() }],
|
|
1892
|
+
/**
|
|
1893
|
+
* Background Size
|
|
1894
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
1895
|
+
*/
|
|
1207
1896
|
"bg-size": [{ bg: scaleBgSize() }],
|
|
1897
|
+
/**
|
|
1898
|
+
* Background Image
|
|
1899
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
1900
|
+
*/
|
|
1208
1901
|
"bg-image": [{ bg: [
|
|
1209
1902
|
"none",
|
|
1210
1903
|
{
|
|
@@ -1237,78 +1930,306 @@ const getDefaultConfig = () => {
|
|
|
1237
1930
|
isArbitraryVariableImage,
|
|
1238
1931
|
isArbitraryImage
|
|
1239
1932
|
] }],
|
|
1933
|
+
/**
|
|
1934
|
+
* Background Color
|
|
1935
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
1936
|
+
*/
|
|
1240
1937
|
"bg-color": [{ bg: scaleColor() }],
|
|
1938
|
+
/**
|
|
1939
|
+
* Gradient Color Stops From Position
|
|
1940
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1941
|
+
*/
|
|
1241
1942
|
"gradient-from-pos": [{ from: scaleGradientStopPosition() }],
|
|
1943
|
+
/**
|
|
1944
|
+
* Gradient Color Stops Via Position
|
|
1945
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1946
|
+
*/
|
|
1242
1947
|
"gradient-via-pos": [{ via: scaleGradientStopPosition() }],
|
|
1948
|
+
/**
|
|
1949
|
+
* Gradient Color Stops To Position
|
|
1950
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1951
|
+
*/
|
|
1243
1952
|
"gradient-to-pos": [{ to: scaleGradientStopPosition() }],
|
|
1953
|
+
/**
|
|
1954
|
+
* Gradient Color Stops From
|
|
1955
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1956
|
+
*/
|
|
1244
1957
|
"gradient-from": [{ from: scaleColor() }],
|
|
1958
|
+
/**
|
|
1959
|
+
* Gradient Color Stops Via
|
|
1960
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1961
|
+
*/
|
|
1245
1962
|
"gradient-via": [{ via: scaleColor() }],
|
|
1963
|
+
/**
|
|
1964
|
+
* Gradient Color Stops To
|
|
1965
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1966
|
+
*/
|
|
1246
1967
|
"gradient-to": [{ to: scaleColor() }],
|
|
1968
|
+
/**
|
|
1969
|
+
* Border Radius
|
|
1970
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1971
|
+
*/
|
|
1247
1972
|
rounded: [{ rounded: scaleRadius() }],
|
|
1973
|
+
/**
|
|
1974
|
+
* Border Radius Start
|
|
1975
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1976
|
+
*/
|
|
1248
1977
|
"rounded-s": [{ "rounded-s": scaleRadius() }],
|
|
1978
|
+
/**
|
|
1979
|
+
* Border Radius End
|
|
1980
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1981
|
+
*/
|
|
1249
1982
|
"rounded-e": [{ "rounded-e": scaleRadius() }],
|
|
1983
|
+
/**
|
|
1984
|
+
* Border Radius Top
|
|
1985
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1986
|
+
*/
|
|
1250
1987
|
"rounded-t": [{ "rounded-t": scaleRadius() }],
|
|
1988
|
+
/**
|
|
1989
|
+
* Border Radius Right
|
|
1990
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1991
|
+
*/
|
|
1251
1992
|
"rounded-r": [{ "rounded-r": scaleRadius() }],
|
|
1993
|
+
/**
|
|
1994
|
+
* Border Radius Bottom
|
|
1995
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1996
|
+
*/
|
|
1252
1997
|
"rounded-b": [{ "rounded-b": scaleRadius() }],
|
|
1998
|
+
/**
|
|
1999
|
+
* Border Radius Left
|
|
2000
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2001
|
+
*/
|
|
1253
2002
|
"rounded-l": [{ "rounded-l": scaleRadius() }],
|
|
2003
|
+
/**
|
|
2004
|
+
* Border Radius Start Start
|
|
2005
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2006
|
+
*/
|
|
1254
2007
|
"rounded-ss": [{ "rounded-ss": scaleRadius() }],
|
|
2008
|
+
/**
|
|
2009
|
+
* Border Radius Start End
|
|
2010
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2011
|
+
*/
|
|
1255
2012
|
"rounded-se": [{ "rounded-se": scaleRadius() }],
|
|
2013
|
+
/**
|
|
2014
|
+
* Border Radius End End
|
|
2015
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2016
|
+
*/
|
|
1256
2017
|
"rounded-ee": [{ "rounded-ee": scaleRadius() }],
|
|
2018
|
+
/**
|
|
2019
|
+
* Border Radius End Start
|
|
2020
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2021
|
+
*/
|
|
1257
2022
|
"rounded-es": [{ "rounded-es": scaleRadius() }],
|
|
2023
|
+
/**
|
|
2024
|
+
* Border Radius Top Left
|
|
2025
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2026
|
+
*/
|
|
1258
2027
|
"rounded-tl": [{ "rounded-tl": scaleRadius() }],
|
|
2028
|
+
/**
|
|
2029
|
+
* Border Radius Top Right
|
|
2030
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2031
|
+
*/
|
|
1259
2032
|
"rounded-tr": [{ "rounded-tr": scaleRadius() }],
|
|
2033
|
+
/**
|
|
2034
|
+
* Border Radius Bottom Right
|
|
2035
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2036
|
+
*/
|
|
1260
2037
|
"rounded-br": [{ "rounded-br": scaleRadius() }],
|
|
2038
|
+
/**
|
|
2039
|
+
* Border Radius Bottom Left
|
|
2040
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2041
|
+
*/
|
|
1261
2042
|
"rounded-bl": [{ "rounded-bl": scaleRadius() }],
|
|
2043
|
+
/**
|
|
2044
|
+
* Border Width
|
|
2045
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2046
|
+
*/
|
|
1262
2047
|
"border-w": [{ border: scaleBorderWidth() }],
|
|
2048
|
+
/**
|
|
2049
|
+
* Border Width Inline
|
|
2050
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2051
|
+
*/
|
|
1263
2052
|
"border-w-x": [{ "border-x": scaleBorderWidth() }],
|
|
2053
|
+
/**
|
|
2054
|
+
* Border Width Block
|
|
2055
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2056
|
+
*/
|
|
1264
2057
|
"border-w-y": [{ "border-y": scaleBorderWidth() }],
|
|
2058
|
+
/**
|
|
2059
|
+
* Border Width Inline Start
|
|
2060
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2061
|
+
*/
|
|
1265
2062
|
"border-w-s": [{ "border-s": scaleBorderWidth() }],
|
|
2063
|
+
/**
|
|
2064
|
+
* Border Width Inline End
|
|
2065
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2066
|
+
*/
|
|
1266
2067
|
"border-w-e": [{ "border-e": scaleBorderWidth() }],
|
|
2068
|
+
/**
|
|
2069
|
+
* Border Width Block Start
|
|
2070
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2071
|
+
*/
|
|
2072
|
+
"border-w-bs": [{ "border-bs": scaleBorderWidth() }],
|
|
2073
|
+
/**
|
|
2074
|
+
* Border Width Block End
|
|
2075
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2076
|
+
*/
|
|
2077
|
+
"border-w-be": [{ "border-be": scaleBorderWidth() }],
|
|
2078
|
+
/**
|
|
2079
|
+
* Border Width Top
|
|
2080
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2081
|
+
*/
|
|
1267
2082
|
"border-w-t": [{ "border-t": scaleBorderWidth() }],
|
|
2083
|
+
/**
|
|
2084
|
+
* Border Width Right
|
|
2085
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2086
|
+
*/
|
|
1268
2087
|
"border-w-r": [{ "border-r": scaleBorderWidth() }],
|
|
2088
|
+
/**
|
|
2089
|
+
* Border Width Bottom
|
|
2090
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2091
|
+
*/
|
|
1269
2092
|
"border-w-b": [{ "border-b": scaleBorderWidth() }],
|
|
2093
|
+
/**
|
|
2094
|
+
* Border Width Left
|
|
2095
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2096
|
+
*/
|
|
1270
2097
|
"border-w-l": [{ "border-l": scaleBorderWidth() }],
|
|
2098
|
+
/**
|
|
2099
|
+
* Divide Width X
|
|
2100
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2101
|
+
*/
|
|
1271
2102
|
"divide-x": [{ "divide-x": scaleBorderWidth() }],
|
|
2103
|
+
/**
|
|
2104
|
+
* Divide Width X Reverse
|
|
2105
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2106
|
+
*/
|
|
1272
2107
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
2108
|
+
/**
|
|
2109
|
+
* Divide Width Y
|
|
2110
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2111
|
+
*/
|
|
1273
2112
|
"divide-y": [{ "divide-y": scaleBorderWidth() }],
|
|
2113
|
+
/**
|
|
2114
|
+
* Divide Width Y Reverse
|
|
2115
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2116
|
+
*/
|
|
1274
2117
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
2118
|
+
/**
|
|
2119
|
+
* Border Style
|
|
2120
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
2121
|
+
*/
|
|
1275
2122
|
"border-style": [{ border: [
|
|
1276
2123
|
...scaleLineStyle(),
|
|
1277
2124
|
"hidden",
|
|
1278
2125
|
"none"
|
|
1279
2126
|
] }],
|
|
2127
|
+
/**
|
|
2128
|
+
* Divide Style
|
|
2129
|
+
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
2130
|
+
*/
|
|
1280
2131
|
"divide-style": [{ divide: [
|
|
1281
2132
|
...scaleLineStyle(),
|
|
1282
2133
|
"hidden",
|
|
1283
2134
|
"none"
|
|
1284
2135
|
] }],
|
|
2136
|
+
/**
|
|
2137
|
+
* Border Color
|
|
2138
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2139
|
+
*/
|
|
1285
2140
|
"border-color": [{ border: scaleColor() }],
|
|
2141
|
+
/**
|
|
2142
|
+
* Border Color Inline
|
|
2143
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2144
|
+
*/
|
|
1286
2145
|
"border-color-x": [{ "border-x": scaleColor() }],
|
|
2146
|
+
/**
|
|
2147
|
+
* Border Color Block
|
|
2148
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2149
|
+
*/
|
|
1287
2150
|
"border-color-y": [{ "border-y": scaleColor() }],
|
|
2151
|
+
/**
|
|
2152
|
+
* Border Color Inline Start
|
|
2153
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2154
|
+
*/
|
|
1288
2155
|
"border-color-s": [{ "border-s": scaleColor() }],
|
|
2156
|
+
/**
|
|
2157
|
+
* Border Color Inline End
|
|
2158
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2159
|
+
*/
|
|
1289
2160
|
"border-color-e": [{ "border-e": scaleColor() }],
|
|
2161
|
+
/**
|
|
2162
|
+
* Border Color Block Start
|
|
2163
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2164
|
+
*/
|
|
2165
|
+
"border-color-bs": [{ "border-bs": scaleColor() }],
|
|
2166
|
+
/**
|
|
2167
|
+
* Border Color Block End
|
|
2168
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2169
|
+
*/
|
|
2170
|
+
"border-color-be": [{ "border-be": scaleColor() }],
|
|
2171
|
+
/**
|
|
2172
|
+
* Border Color Top
|
|
2173
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2174
|
+
*/
|
|
1290
2175
|
"border-color-t": [{ "border-t": scaleColor() }],
|
|
2176
|
+
/**
|
|
2177
|
+
* Border Color Right
|
|
2178
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2179
|
+
*/
|
|
1291
2180
|
"border-color-r": [{ "border-r": scaleColor() }],
|
|
2181
|
+
/**
|
|
2182
|
+
* Border Color Bottom
|
|
2183
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2184
|
+
*/
|
|
1292
2185
|
"border-color-b": [{ "border-b": scaleColor() }],
|
|
2186
|
+
/**
|
|
2187
|
+
* Border Color Left
|
|
2188
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2189
|
+
*/
|
|
1293
2190
|
"border-color-l": [{ "border-l": scaleColor() }],
|
|
2191
|
+
/**
|
|
2192
|
+
* Divide Color
|
|
2193
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
2194
|
+
*/
|
|
1294
2195
|
"divide-color": [{ divide: scaleColor() }],
|
|
2196
|
+
/**
|
|
2197
|
+
* Outline Style
|
|
2198
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
2199
|
+
*/
|
|
1295
2200
|
"outline-style": [{ outline: [
|
|
1296
2201
|
...scaleLineStyle(),
|
|
1297
2202
|
"none",
|
|
1298
2203
|
"hidden"
|
|
1299
2204
|
] }],
|
|
2205
|
+
/**
|
|
2206
|
+
* Outline Offset
|
|
2207
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
2208
|
+
*/
|
|
1300
2209
|
"outline-offset": [{ "outline-offset": [
|
|
1301
2210
|
isNumber,
|
|
1302
2211
|
isArbitraryVariable,
|
|
1303
2212
|
isArbitraryValue
|
|
1304
2213
|
] }],
|
|
2214
|
+
/**
|
|
2215
|
+
* Outline Width
|
|
2216
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
2217
|
+
*/
|
|
1305
2218
|
"outline-w": [{ outline: [
|
|
1306
2219
|
"",
|
|
1307
2220
|
isNumber,
|
|
1308
2221
|
isArbitraryVariableLength,
|
|
1309
2222
|
isArbitraryLength
|
|
1310
2223
|
] }],
|
|
2224
|
+
/**
|
|
2225
|
+
* Outline Color
|
|
2226
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
2227
|
+
*/
|
|
1311
2228
|
"outline-color": [{ outline: scaleColor() }],
|
|
2229
|
+
/**
|
|
2230
|
+
* Box Shadow
|
|
2231
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
2232
|
+
*/
|
|
1312
2233
|
shadow: [{ shadow: [
|
|
1313
2234
|
"",
|
|
1314
2235
|
"none",
|
|
@@ -1316,39 +2237,109 @@ const getDefaultConfig = () => {
|
|
|
1316
2237
|
isArbitraryVariableShadow,
|
|
1317
2238
|
isArbitraryShadow
|
|
1318
2239
|
] }],
|
|
2240
|
+
/**
|
|
2241
|
+
* Box Shadow Color
|
|
2242
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2243
|
+
*/
|
|
1319
2244
|
"shadow-color": [{ shadow: scaleColor() }],
|
|
2245
|
+
/**
|
|
2246
|
+
* Inset Box Shadow
|
|
2247
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2248
|
+
*/
|
|
1320
2249
|
"inset-shadow": [{ "inset-shadow": [
|
|
1321
2250
|
"none",
|
|
1322
2251
|
themeInsetShadow,
|
|
1323
2252
|
isArbitraryVariableShadow,
|
|
1324
2253
|
isArbitraryShadow
|
|
1325
2254
|
] }],
|
|
2255
|
+
/**
|
|
2256
|
+
* Inset Box Shadow Color
|
|
2257
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2258
|
+
*/
|
|
1326
2259
|
"inset-shadow-color": [{ "inset-shadow": scaleColor() }],
|
|
2260
|
+
/**
|
|
2261
|
+
* Ring Width
|
|
2262
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2263
|
+
*/
|
|
1327
2264
|
"ring-w": [{ ring: scaleBorderWidth() }],
|
|
2265
|
+
/**
|
|
2266
|
+
* Ring Width Inset
|
|
2267
|
+
* @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
|
|
2268
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
2269
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2270
|
+
*/
|
|
1328
2271
|
"ring-w-inset": ["ring-inset"],
|
|
2272
|
+
/**
|
|
2273
|
+
* Ring Color
|
|
2274
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2275
|
+
*/
|
|
1329
2276
|
"ring-color": [{ ring: scaleColor() }],
|
|
2277
|
+
/**
|
|
2278
|
+
* Ring Offset Width
|
|
2279
|
+
* @see https://v3.tailwindcss.com/docs/ring-offset-width
|
|
2280
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
2281
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2282
|
+
*/
|
|
1330
2283
|
"ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
|
|
2284
|
+
/**
|
|
2285
|
+
* Ring Offset Color
|
|
2286
|
+
* @see https://v3.tailwindcss.com/docs/ring-offset-color
|
|
2287
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
2288
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2289
|
+
*/
|
|
1331
2290
|
"ring-offset-color": [{ "ring-offset": scaleColor() }],
|
|
2291
|
+
/**
|
|
2292
|
+
* Inset Ring Width
|
|
2293
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2294
|
+
*/
|
|
1332
2295
|
"inset-ring-w": [{ "inset-ring": scaleBorderWidth() }],
|
|
2296
|
+
/**
|
|
2297
|
+
* Inset Ring Color
|
|
2298
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2299
|
+
*/
|
|
1333
2300
|
"inset-ring-color": [{ "inset-ring": scaleColor() }],
|
|
2301
|
+
/**
|
|
2302
|
+
* Text Shadow
|
|
2303
|
+
* @see https://tailwindcss.com/docs/text-shadow
|
|
2304
|
+
*/
|
|
1334
2305
|
"text-shadow": [{ "text-shadow": [
|
|
1335
2306
|
"none",
|
|
1336
2307
|
themeTextShadow,
|
|
1337
2308
|
isArbitraryVariableShadow,
|
|
1338
2309
|
isArbitraryShadow
|
|
1339
2310
|
] }],
|
|
2311
|
+
/**
|
|
2312
|
+
* Text Shadow Color
|
|
2313
|
+
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2314
|
+
*/
|
|
1340
2315
|
"text-shadow-color": [{ "text-shadow": scaleColor() }],
|
|
2316
|
+
/**
|
|
2317
|
+
* Opacity
|
|
2318
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
2319
|
+
*/
|
|
1341
2320
|
opacity: [{ opacity: [
|
|
1342
2321
|
isNumber,
|
|
1343
2322
|
isArbitraryVariable,
|
|
1344
2323
|
isArbitraryValue
|
|
1345
2324
|
] }],
|
|
2325
|
+
/**
|
|
2326
|
+
* Mix Blend Mode
|
|
2327
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2328
|
+
*/
|
|
1346
2329
|
"mix-blend": [{ "mix-blend": [
|
|
1347
2330
|
...scaleBlendMode(),
|
|
1348
2331
|
"plus-darker",
|
|
1349
2332
|
"plus-lighter"
|
|
1350
2333
|
] }],
|
|
2334
|
+
/**
|
|
2335
|
+
* Background Blend Mode
|
|
2336
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2337
|
+
*/
|
|
1351
2338
|
"bg-blend": [{ "bg-blend": scaleBlendMode() }],
|
|
2339
|
+
/**
|
|
2340
|
+
* Mask Clip
|
|
2341
|
+
* @see https://tailwindcss.com/docs/mask-clip
|
|
2342
|
+
*/
|
|
1352
2343
|
"mask-clip": [{ "mask-clip": [
|
|
1353
2344
|
"border",
|
|
1354
2345
|
"padding",
|
|
@@ -1357,12 +2348,20 @@ const getDefaultConfig = () => {
|
|
|
1357
2348
|
"stroke",
|
|
1358
2349
|
"view"
|
|
1359
2350
|
] }, "mask-no-clip"],
|
|
2351
|
+
/**
|
|
2352
|
+
* Mask Composite
|
|
2353
|
+
* @see https://tailwindcss.com/docs/mask-composite
|
|
2354
|
+
*/
|
|
1360
2355
|
"mask-composite": [{ mask: [
|
|
1361
2356
|
"add",
|
|
1362
2357
|
"subtract",
|
|
1363
2358
|
"intersect",
|
|
1364
2359
|
"exclude"
|
|
1365
2360
|
] }],
|
|
2361
|
+
/**
|
|
2362
|
+
* Mask Image
|
|
2363
|
+
* @see https://tailwindcss.com/docs/mask-image
|
|
2364
|
+
*/
|
|
1366
2365
|
"mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
|
|
1367
2366
|
"mask-image-linear-from-pos": [{ "mask-linear-from": scaleMaskImagePosition() }],
|
|
1368
2367
|
"mask-image-linear-to-pos": [{ "mask-linear-to": scaleMaskImagePosition() }],
|
|
@@ -1408,11 +2407,19 @@ const getDefaultConfig = () => {
|
|
|
1408
2407
|
"mask-image-conic-to-pos": [{ "mask-conic-to": scaleMaskImagePosition() }],
|
|
1409
2408
|
"mask-image-conic-from-color": [{ "mask-conic-from": scaleColor() }],
|
|
1410
2409
|
"mask-image-conic-to-color": [{ "mask-conic-to": scaleColor() }],
|
|
2410
|
+
/**
|
|
2411
|
+
* Mask Mode
|
|
2412
|
+
* @see https://tailwindcss.com/docs/mask-mode
|
|
2413
|
+
*/
|
|
1411
2414
|
"mask-mode": [{ mask: [
|
|
1412
2415
|
"alpha",
|
|
1413
2416
|
"luminance",
|
|
1414
2417
|
"match"
|
|
1415
2418
|
] }],
|
|
2419
|
+
/**
|
|
2420
|
+
* Mask Origin
|
|
2421
|
+
* @see https://tailwindcss.com/docs/mask-origin
|
|
2422
|
+
*/
|
|
1416
2423
|
"mask-origin": [{ "mask-origin": [
|
|
1417
2424
|
"border",
|
|
1418
2425
|
"padding",
|
|
@@ -1421,32 +2428,72 @@ const getDefaultConfig = () => {
|
|
|
1421
2428
|
"stroke",
|
|
1422
2429
|
"view"
|
|
1423
2430
|
] }],
|
|
2431
|
+
/**
|
|
2432
|
+
* Mask Position
|
|
2433
|
+
* @see https://tailwindcss.com/docs/mask-position
|
|
2434
|
+
*/
|
|
1424
2435
|
"mask-position": [{ mask: scaleBgPosition() }],
|
|
2436
|
+
/**
|
|
2437
|
+
* Mask Repeat
|
|
2438
|
+
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2439
|
+
*/
|
|
1425
2440
|
"mask-repeat": [{ mask: scaleBgRepeat() }],
|
|
2441
|
+
/**
|
|
2442
|
+
* Mask Size
|
|
2443
|
+
* @see https://tailwindcss.com/docs/mask-size
|
|
2444
|
+
*/
|
|
1426
2445
|
"mask-size": [{ mask: scaleBgSize() }],
|
|
2446
|
+
/**
|
|
2447
|
+
* Mask Type
|
|
2448
|
+
* @see https://tailwindcss.com/docs/mask-type
|
|
2449
|
+
*/
|
|
1427
2450
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
2451
|
+
/**
|
|
2452
|
+
* Mask Image
|
|
2453
|
+
* @see https://tailwindcss.com/docs/mask-image
|
|
2454
|
+
*/
|
|
1428
2455
|
"mask-image": [{ mask: [
|
|
1429
2456
|
"none",
|
|
1430
2457
|
isArbitraryVariable,
|
|
1431
2458
|
isArbitraryValue
|
|
1432
2459
|
] }],
|
|
2460
|
+
/**
|
|
2461
|
+
* Filter
|
|
2462
|
+
* @see https://tailwindcss.com/docs/filter
|
|
2463
|
+
*/
|
|
1433
2464
|
filter: [{ filter: [
|
|
1434
2465
|
"",
|
|
1435
2466
|
"none",
|
|
1436
2467
|
isArbitraryVariable,
|
|
1437
2468
|
isArbitraryValue
|
|
1438
2469
|
] }],
|
|
2470
|
+
/**
|
|
2471
|
+
* Blur
|
|
2472
|
+
* @see https://tailwindcss.com/docs/blur
|
|
2473
|
+
*/
|
|
1439
2474
|
blur: [{ blur: scaleBlur() }],
|
|
2475
|
+
/**
|
|
2476
|
+
* Brightness
|
|
2477
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
2478
|
+
*/
|
|
1440
2479
|
brightness: [{ brightness: [
|
|
1441
2480
|
isNumber,
|
|
1442
2481
|
isArbitraryVariable,
|
|
1443
2482
|
isArbitraryValue
|
|
1444
2483
|
] }],
|
|
2484
|
+
/**
|
|
2485
|
+
* Contrast
|
|
2486
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
2487
|
+
*/
|
|
1445
2488
|
contrast: [{ contrast: [
|
|
1446
2489
|
isNumber,
|
|
1447
2490
|
isArbitraryVariable,
|
|
1448
2491
|
isArbitraryValue
|
|
1449
2492
|
] }],
|
|
2493
|
+
/**
|
|
2494
|
+
* Drop Shadow
|
|
2495
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2496
|
+
*/
|
|
1450
2497
|
"drop-shadow": [{ "drop-shadow": [
|
|
1451
2498
|
"",
|
|
1452
2499
|
"none",
|
|
@@ -1454,91 +2501,183 @@ const getDefaultConfig = () => {
|
|
|
1454
2501
|
isArbitraryVariableShadow,
|
|
1455
2502
|
isArbitraryShadow
|
|
1456
2503
|
] }],
|
|
2504
|
+
/**
|
|
2505
|
+
* Drop Shadow Color
|
|
2506
|
+
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2507
|
+
*/
|
|
1457
2508
|
"drop-shadow-color": [{ "drop-shadow": scaleColor() }],
|
|
2509
|
+
/**
|
|
2510
|
+
* Grayscale
|
|
2511
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
2512
|
+
*/
|
|
1458
2513
|
grayscale: [{ grayscale: [
|
|
1459
2514
|
"",
|
|
1460
2515
|
isNumber,
|
|
1461
2516
|
isArbitraryVariable,
|
|
1462
2517
|
isArbitraryValue
|
|
1463
2518
|
] }],
|
|
2519
|
+
/**
|
|
2520
|
+
* Hue Rotate
|
|
2521
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2522
|
+
*/
|
|
1464
2523
|
"hue-rotate": [{ "hue-rotate": [
|
|
1465
2524
|
isNumber,
|
|
1466
2525
|
isArbitraryVariable,
|
|
1467
2526
|
isArbitraryValue
|
|
1468
2527
|
] }],
|
|
2528
|
+
/**
|
|
2529
|
+
* Invert
|
|
2530
|
+
* @see https://tailwindcss.com/docs/invert
|
|
2531
|
+
*/
|
|
1469
2532
|
invert: [{ invert: [
|
|
1470
2533
|
"",
|
|
1471
2534
|
isNumber,
|
|
1472
2535
|
isArbitraryVariable,
|
|
1473
2536
|
isArbitraryValue
|
|
1474
2537
|
] }],
|
|
2538
|
+
/**
|
|
2539
|
+
* Saturate
|
|
2540
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
2541
|
+
*/
|
|
1475
2542
|
saturate: [{ saturate: [
|
|
1476
2543
|
isNumber,
|
|
1477
2544
|
isArbitraryVariable,
|
|
1478
2545
|
isArbitraryValue
|
|
1479
2546
|
] }],
|
|
2547
|
+
/**
|
|
2548
|
+
* Sepia
|
|
2549
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
2550
|
+
*/
|
|
1480
2551
|
sepia: [{ sepia: [
|
|
1481
2552
|
"",
|
|
1482
2553
|
isNumber,
|
|
1483
2554
|
isArbitraryVariable,
|
|
1484
2555
|
isArbitraryValue
|
|
1485
2556
|
] }],
|
|
2557
|
+
/**
|
|
2558
|
+
* Backdrop Filter
|
|
2559
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
2560
|
+
*/
|
|
1486
2561
|
"backdrop-filter": [{ "backdrop-filter": [
|
|
1487
2562
|
"",
|
|
1488
2563
|
"none",
|
|
1489
2564
|
isArbitraryVariable,
|
|
1490
2565
|
isArbitraryValue
|
|
1491
2566
|
] }],
|
|
2567
|
+
/**
|
|
2568
|
+
* Backdrop Blur
|
|
2569
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2570
|
+
*/
|
|
1492
2571
|
"backdrop-blur": [{ "backdrop-blur": scaleBlur() }],
|
|
2572
|
+
/**
|
|
2573
|
+
* Backdrop Brightness
|
|
2574
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2575
|
+
*/
|
|
1493
2576
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1494
2577
|
isNumber,
|
|
1495
2578
|
isArbitraryVariable,
|
|
1496
2579
|
isArbitraryValue
|
|
1497
2580
|
] }],
|
|
2581
|
+
/**
|
|
2582
|
+
* Backdrop Contrast
|
|
2583
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2584
|
+
*/
|
|
1498
2585
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1499
2586
|
isNumber,
|
|
1500
2587
|
isArbitraryVariable,
|
|
1501
2588
|
isArbitraryValue
|
|
1502
2589
|
] }],
|
|
2590
|
+
/**
|
|
2591
|
+
* Backdrop Grayscale
|
|
2592
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2593
|
+
*/
|
|
1503
2594
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1504
2595
|
"",
|
|
1505
2596
|
isNumber,
|
|
1506
2597
|
isArbitraryVariable,
|
|
1507
2598
|
isArbitraryValue
|
|
1508
2599
|
] }],
|
|
2600
|
+
/**
|
|
2601
|
+
* Backdrop Hue Rotate
|
|
2602
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2603
|
+
*/
|
|
1509
2604
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1510
2605
|
isNumber,
|
|
1511
2606
|
isArbitraryVariable,
|
|
1512
2607
|
isArbitraryValue
|
|
1513
2608
|
] }],
|
|
2609
|
+
/**
|
|
2610
|
+
* Backdrop Invert
|
|
2611
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2612
|
+
*/
|
|
1514
2613
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
1515
2614
|
"",
|
|
1516
2615
|
isNumber,
|
|
1517
2616
|
isArbitraryVariable,
|
|
1518
2617
|
isArbitraryValue
|
|
1519
2618
|
] }],
|
|
2619
|
+
/**
|
|
2620
|
+
* Backdrop Opacity
|
|
2621
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2622
|
+
*/
|
|
1520
2623
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1521
2624
|
isNumber,
|
|
1522
2625
|
isArbitraryVariable,
|
|
1523
2626
|
isArbitraryValue
|
|
1524
2627
|
] }],
|
|
2628
|
+
/**
|
|
2629
|
+
* Backdrop Saturate
|
|
2630
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2631
|
+
*/
|
|
1525
2632
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1526
2633
|
isNumber,
|
|
1527
2634
|
isArbitraryVariable,
|
|
1528
2635
|
isArbitraryValue
|
|
1529
2636
|
] }],
|
|
2637
|
+
/**
|
|
2638
|
+
* Backdrop Sepia
|
|
2639
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2640
|
+
*/
|
|
1530
2641
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1531
2642
|
"",
|
|
1532
2643
|
isNumber,
|
|
1533
2644
|
isArbitraryVariable,
|
|
1534
2645
|
isArbitraryValue
|
|
1535
2646
|
] }],
|
|
2647
|
+
/**
|
|
2648
|
+
* Border Collapse
|
|
2649
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
2650
|
+
*/
|
|
1536
2651
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
2652
|
+
/**
|
|
2653
|
+
* Border Spacing
|
|
2654
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2655
|
+
*/
|
|
1537
2656
|
"border-spacing": [{ "border-spacing": scaleUnambiguousSpacing() }],
|
|
2657
|
+
/**
|
|
2658
|
+
* Border Spacing X
|
|
2659
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2660
|
+
*/
|
|
1538
2661
|
"border-spacing-x": [{ "border-spacing-x": scaleUnambiguousSpacing() }],
|
|
2662
|
+
/**
|
|
2663
|
+
* Border Spacing Y
|
|
2664
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2665
|
+
*/
|
|
1539
2666
|
"border-spacing-y": [{ "border-spacing-y": scaleUnambiguousSpacing() }],
|
|
2667
|
+
/**
|
|
2668
|
+
* Table Layout
|
|
2669
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
2670
|
+
*/
|
|
1540
2671
|
"table-layout": [{ table: ["auto", "fixed"] }],
|
|
2672
|
+
/**
|
|
2673
|
+
* Caption Side
|
|
2674
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
2675
|
+
*/
|
|
1541
2676
|
caption: [{ caption: ["top", "bottom"] }],
|
|
2677
|
+
/**
|
|
2678
|
+
* Transition Property
|
|
2679
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
2680
|
+
*/
|
|
1542
2681
|
transition: [{ transition: [
|
|
1543
2682
|
"",
|
|
1544
2683
|
"all",
|
|
@@ -1550,13 +2689,25 @@ const getDefaultConfig = () => {
|
|
|
1550
2689
|
isArbitraryVariable,
|
|
1551
2690
|
isArbitraryValue
|
|
1552
2691
|
] }],
|
|
2692
|
+
/**
|
|
2693
|
+
* Transition Behavior
|
|
2694
|
+
* @see https://tailwindcss.com/docs/transition-behavior
|
|
2695
|
+
*/
|
|
1553
2696
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
2697
|
+
/**
|
|
2698
|
+
* Transition Duration
|
|
2699
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
2700
|
+
*/
|
|
1554
2701
|
duration: [{ duration: [
|
|
1555
2702
|
isNumber,
|
|
1556
2703
|
"initial",
|
|
1557
2704
|
isArbitraryVariable,
|
|
1558
2705
|
isArbitraryValue
|
|
1559
2706
|
] }],
|
|
2707
|
+
/**
|
|
2708
|
+
* Transition Timing Function
|
|
2709
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2710
|
+
*/
|
|
1560
2711
|
ease: [{ ease: [
|
|
1561
2712
|
"linear",
|
|
1562
2713
|
"initial",
|
|
@@ -1564,36 +2715,108 @@ const getDefaultConfig = () => {
|
|
|
1564
2715
|
isArbitraryVariable,
|
|
1565
2716
|
isArbitraryValue
|
|
1566
2717
|
] }],
|
|
2718
|
+
/**
|
|
2719
|
+
* Transition Delay
|
|
2720
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
2721
|
+
*/
|
|
1567
2722
|
delay: [{ delay: [
|
|
1568
2723
|
isNumber,
|
|
1569
2724
|
isArbitraryVariable,
|
|
1570
2725
|
isArbitraryValue
|
|
1571
2726
|
] }],
|
|
2727
|
+
/**
|
|
2728
|
+
* Animation
|
|
2729
|
+
* @see https://tailwindcss.com/docs/animation
|
|
2730
|
+
*/
|
|
1572
2731
|
animate: [{ animate: [
|
|
1573
2732
|
"none",
|
|
1574
2733
|
themeAnimate,
|
|
1575
2734
|
isArbitraryVariable,
|
|
1576
2735
|
isArbitraryValue
|
|
1577
2736
|
] }],
|
|
2737
|
+
/**
|
|
2738
|
+
* Backface Visibility
|
|
2739
|
+
* @see https://tailwindcss.com/docs/backface-visibility
|
|
2740
|
+
*/
|
|
1578
2741
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
2742
|
+
/**
|
|
2743
|
+
* Perspective
|
|
2744
|
+
* @see https://tailwindcss.com/docs/perspective
|
|
2745
|
+
*/
|
|
1579
2746
|
perspective: [{ perspective: [
|
|
1580
2747
|
themePerspective,
|
|
1581
2748
|
isArbitraryVariable,
|
|
1582
2749
|
isArbitraryValue
|
|
1583
2750
|
] }],
|
|
2751
|
+
/**
|
|
2752
|
+
* Perspective Origin
|
|
2753
|
+
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2754
|
+
*/
|
|
1584
2755
|
"perspective-origin": [{ "perspective-origin": scalePositionWithArbitrary() }],
|
|
2756
|
+
/**
|
|
2757
|
+
* Rotate
|
|
2758
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2759
|
+
*/
|
|
1585
2760
|
rotate: [{ rotate: scaleRotate() }],
|
|
2761
|
+
/**
|
|
2762
|
+
* Rotate X
|
|
2763
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2764
|
+
*/
|
|
1586
2765
|
"rotate-x": [{ "rotate-x": scaleRotate() }],
|
|
2766
|
+
/**
|
|
2767
|
+
* Rotate Y
|
|
2768
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2769
|
+
*/
|
|
1587
2770
|
"rotate-y": [{ "rotate-y": scaleRotate() }],
|
|
2771
|
+
/**
|
|
2772
|
+
* Rotate Z
|
|
2773
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2774
|
+
*/
|
|
1588
2775
|
"rotate-z": [{ "rotate-z": scaleRotate() }],
|
|
2776
|
+
/**
|
|
2777
|
+
* Scale
|
|
2778
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2779
|
+
*/
|
|
1589
2780
|
scale: [{ scale: scaleScale() }],
|
|
2781
|
+
/**
|
|
2782
|
+
* Scale X
|
|
2783
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2784
|
+
*/
|
|
1590
2785
|
"scale-x": [{ "scale-x": scaleScale() }],
|
|
2786
|
+
/**
|
|
2787
|
+
* Scale Y
|
|
2788
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2789
|
+
*/
|
|
1591
2790
|
"scale-y": [{ "scale-y": scaleScale() }],
|
|
2791
|
+
/**
|
|
2792
|
+
* Scale Z
|
|
2793
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2794
|
+
*/
|
|
1592
2795
|
"scale-z": [{ "scale-z": scaleScale() }],
|
|
2796
|
+
/**
|
|
2797
|
+
* Scale 3D
|
|
2798
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2799
|
+
*/
|
|
1593
2800
|
"scale-3d": ["scale-3d"],
|
|
2801
|
+
/**
|
|
2802
|
+
* Skew
|
|
2803
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2804
|
+
*/
|
|
1594
2805
|
skew: [{ skew: scaleSkew() }],
|
|
2806
|
+
/**
|
|
2807
|
+
* Skew X
|
|
2808
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2809
|
+
*/
|
|
1595
2810
|
"skew-x": [{ "skew-x": scaleSkew() }],
|
|
2811
|
+
/**
|
|
2812
|
+
* Skew Y
|
|
2813
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2814
|
+
*/
|
|
1596
2815
|
"skew-y": [{ "skew-y": scaleSkew() }],
|
|
2816
|
+
/**
|
|
2817
|
+
* Transform
|
|
2818
|
+
* @see https://tailwindcss.com/docs/transform
|
|
2819
|
+
*/
|
|
1597
2820
|
transform: [{ transform: [
|
|
1598
2821
|
isArbitraryVariable,
|
|
1599
2822
|
isArbitraryValue,
|
|
@@ -1602,16 +2825,69 @@ const getDefaultConfig = () => {
|
|
|
1602
2825
|
"gpu",
|
|
1603
2826
|
"cpu"
|
|
1604
2827
|
] }],
|
|
2828
|
+
/**
|
|
2829
|
+
* Transform Origin
|
|
2830
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
2831
|
+
*/
|
|
1605
2832
|
"transform-origin": [{ origin: scalePositionWithArbitrary() }],
|
|
2833
|
+
/**
|
|
2834
|
+
* Transform Style
|
|
2835
|
+
* @see https://tailwindcss.com/docs/transform-style
|
|
2836
|
+
*/
|
|
1606
2837
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
2838
|
+
/**
|
|
2839
|
+
* Translate
|
|
2840
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2841
|
+
*/
|
|
1607
2842
|
translate: [{ translate: scaleTranslate() }],
|
|
2843
|
+
/**
|
|
2844
|
+
* Translate X
|
|
2845
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2846
|
+
*/
|
|
1608
2847
|
"translate-x": [{ "translate-x": scaleTranslate() }],
|
|
2848
|
+
/**
|
|
2849
|
+
* Translate Y
|
|
2850
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2851
|
+
*/
|
|
1609
2852
|
"translate-y": [{ "translate-y": scaleTranslate() }],
|
|
2853
|
+
/**
|
|
2854
|
+
* Translate Z
|
|
2855
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2856
|
+
*/
|
|
1610
2857
|
"translate-z": [{ "translate-z": scaleTranslate() }],
|
|
2858
|
+
/**
|
|
2859
|
+
* Translate None
|
|
2860
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2861
|
+
*/
|
|
1611
2862
|
"translate-none": ["translate-none"],
|
|
2863
|
+
/**
|
|
2864
|
+
* Zoom
|
|
2865
|
+
* @see https://tailwindcss.com/docs/zoom
|
|
2866
|
+
*/
|
|
2867
|
+
zoom: [{ zoom: [
|
|
2868
|
+
isInteger,
|
|
2869
|
+
isArbitraryVariable,
|
|
2870
|
+
isArbitraryValue
|
|
2871
|
+
] }],
|
|
2872
|
+
/**
|
|
2873
|
+
* Accent Color
|
|
2874
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
2875
|
+
*/
|
|
1612
2876
|
accent: [{ accent: scaleColor() }],
|
|
2877
|
+
/**
|
|
2878
|
+
* Appearance
|
|
2879
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
2880
|
+
*/
|
|
1613
2881
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
2882
|
+
/**
|
|
2883
|
+
* Caret Color
|
|
2884
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2885
|
+
*/
|
|
1614
2886
|
"caret-color": [{ caret: scaleColor() }],
|
|
2887
|
+
/**
|
|
2888
|
+
* Color Scheme
|
|
2889
|
+
* @see https://tailwindcss.com/docs/color-scheme
|
|
2890
|
+
*/
|
|
1615
2891
|
"color-scheme": [{ scheme: [
|
|
1616
2892
|
"normal",
|
|
1617
2893
|
"dark",
|
|
@@ -1620,6 +2896,10 @@ const getDefaultConfig = () => {
|
|
|
1620
2896
|
"only-dark",
|
|
1621
2897
|
"only-light"
|
|
1622
2898
|
] }],
|
|
2899
|
+
/**
|
|
2900
|
+
* Cursor
|
|
2901
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
2902
|
+
*/
|
|
1623
2903
|
cursor: [{ cursor: [
|
|
1624
2904
|
"auto",
|
|
1625
2905
|
"default",
|
|
@@ -1660,69 +2940,245 @@ const getDefaultConfig = () => {
|
|
|
1660
2940
|
isArbitraryVariable,
|
|
1661
2941
|
isArbitraryValue
|
|
1662
2942
|
] }],
|
|
2943
|
+
/**
|
|
2944
|
+
* Field Sizing
|
|
2945
|
+
* @see https://tailwindcss.com/docs/field-sizing
|
|
2946
|
+
*/
|
|
1663
2947
|
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
2948
|
+
/**
|
|
2949
|
+
* Pointer Events
|
|
2950
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
2951
|
+
*/
|
|
1664
2952
|
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
2953
|
+
/**
|
|
2954
|
+
* Resize
|
|
2955
|
+
* @see https://tailwindcss.com/docs/resize
|
|
2956
|
+
*/
|
|
1665
2957
|
resize: [{ resize: [
|
|
1666
2958
|
"none",
|
|
1667
2959
|
"",
|
|
1668
2960
|
"y",
|
|
1669
2961
|
"x"
|
|
1670
2962
|
] }],
|
|
2963
|
+
/**
|
|
2964
|
+
* Scroll Behavior
|
|
2965
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
2966
|
+
*/
|
|
1671
2967
|
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
2968
|
+
/**
|
|
2969
|
+
* Scrollbar Thumb Color
|
|
2970
|
+
* @see https://tailwindcss.com/docs/scrollbar-color
|
|
2971
|
+
*/
|
|
2972
|
+
"scrollbar-thumb-color": [{ "scrollbar-thumb": scaleColor() }],
|
|
2973
|
+
/**
|
|
2974
|
+
* Scrollbar Track Color
|
|
2975
|
+
* @see https://tailwindcss.com/docs/scrollbar-color
|
|
2976
|
+
*/
|
|
2977
|
+
"scrollbar-track-color": [{ "scrollbar-track": scaleColor() }],
|
|
2978
|
+
/**
|
|
2979
|
+
* Scrollbar Gutter
|
|
2980
|
+
* @see https://tailwindcss.com/docs/scrollbar-gutter
|
|
2981
|
+
*/
|
|
2982
|
+
"scrollbar-gutter": [{ "scrollbar-gutter": [
|
|
2983
|
+
"auto",
|
|
2984
|
+
"stable",
|
|
2985
|
+
"both"
|
|
2986
|
+
] }],
|
|
2987
|
+
/**
|
|
2988
|
+
* Scrollbar Width
|
|
2989
|
+
* @see https://tailwindcss.com/docs/scrollbar-width
|
|
2990
|
+
*/
|
|
2991
|
+
"scrollbar-w": [{ scrollbar: [
|
|
2992
|
+
"auto",
|
|
2993
|
+
"thin",
|
|
2994
|
+
"none"
|
|
2995
|
+
] }],
|
|
2996
|
+
/**
|
|
2997
|
+
* Scroll Margin
|
|
2998
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2999
|
+
*/
|
|
1672
3000
|
"scroll-m": [{ "scroll-m": scaleUnambiguousSpacing() }],
|
|
3001
|
+
/**
|
|
3002
|
+
* Scroll Margin Inline
|
|
3003
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3004
|
+
*/
|
|
1673
3005
|
"scroll-mx": [{ "scroll-mx": scaleUnambiguousSpacing() }],
|
|
3006
|
+
/**
|
|
3007
|
+
* Scroll Margin Block
|
|
3008
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3009
|
+
*/
|
|
1674
3010
|
"scroll-my": [{ "scroll-my": scaleUnambiguousSpacing() }],
|
|
3011
|
+
/**
|
|
3012
|
+
* Scroll Margin Inline Start
|
|
3013
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3014
|
+
*/
|
|
1675
3015
|
"scroll-ms": [{ "scroll-ms": scaleUnambiguousSpacing() }],
|
|
3016
|
+
/**
|
|
3017
|
+
* Scroll Margin Inline End
|
|
3018
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3019
|
+
*/
|
|
1676
3020
|
"scroll-me": [{ "scroll-me": scaleUnambiguousSpacing() }],
|
|
3021
|
+
/**
|
|
3022
|
+
* Scroll Margin Block Start
|
|
3023
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3024
|
+
*/
|
|
3025
|
+
"scroll-mbs": [{ "scroll-mbs": scaleUnambiguousSpacing() }],
|
|
3026
|
+
/**
|
|
3027
|
+
* Scroll Margin Block End
|
|
3028
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3029
|
+
*/
|
|
3030
|
+
"scroll-mbe": [{ "scroll-mbe": scaleUnambiguousSpacing() }],
|
|
3031
|
+
/**
|
|
3032
|
+
* Scroll Margin Top
|
|
3033
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3034
|
+
*/
|
|
1677
3035
|
"scroll-mt": [{ "scroll-mt": scaleUnambiguousSpacing() }],
|
|
3036
|
+
/**
|
|
3037
|
+
* Scroll Margin Right
|
|
3038
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3039
|
+
*/
|
|
1678
3040
|
"scroll-mr": [{ "scroll-mr": scaleUnambiguousSpacing() }],
|
|
3041
|
+
/**
|
|
3042
|
+
* Scroll Margin Bottom
|
|
3043
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3044
|
+
*/
|
|
1679
3045
|
"scroll-mb": [{ "scroll-mb": scaleUnambiguousSpacing() }],
|
|
3046
|
+
/**
|
|
3047
|
+
* Scroll Margin Left
|
|
3048
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3049
|
+
*/
|
|
1680
3050
|
"scroll-ml": [{ "scroll-ml": scaleUnambiguousSpacing() }],
|
|
3051
|
+
/**
|
|
3052
|
+
* Scroll Padding
|
|
3053
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3054
|
+
*/
|
|
1681
3055
|
"scroll-p": [{ "scroll-p": scaleUnambiguousSpacing() }],
|
|
3056
|
+
/**
|
|
3057
|
+
* Scroll Padding Inline
|
|
3058
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3059
|
+
*/
|
|
1682
3060
|
"scroll-px": [{ "scroll-px": scaleUnambiguousSpacing() }],
|
|
3061
|
+
/**
|
|
3062
|
+
* Scroll Padding Block
|
|
3063
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3064
|
+
*/
|
|
1683
3065
|
"scroll-py": [{ "scroll-py": scaleUnambiguousSpacing() }],
|
|
3066
|
+
/**
|
|
3067
|
+
* Scroll Padding Inline Start
|
|
3068
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3069
|
+
*/
|
|
1684
3070
|
"scroll-ps": [{ "scroll-ps": scaleUnambiguousSpacing() }],
|
|
3071
|
+
/**
|
|
3072
|
+
* Scroll Padding Inline End
|
|
3073
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3074
|
+
*/
|
|
1685
3075
|
"scroll-pe": [{ "scroll-pe": scaleUnambiguousSpacing() }],
|
|
3076
|
+
/**
|
|
3077
|
+
* Scroll Padding Block Start
|
|
3078
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3079
|
+
*/
|
|
3080
|
+
"scroll-pbs": [{ "scroll-pbs": scaleUnambiguousSpacing() }],
|
|
3081
|
+
/**
|
|
3082
|
+
* Scroll Padding Block End
|
|
3083
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3084
|
+
*/
|
|
3085
|
+
"scroll-pbe": [{ "scroll-pbe": scaleUnambiguousSpacing() }],
|
|
3086
|
+
/**
|
|
3087
|
+
* Scroll Padding Top
|
|
3088
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3089
|
+
*/
|
|
1686
3090
|
"scroll-pt": [{ "scroll-pt": scaleUnambiguousSpacing() }],
|
|
3091
|
+
/**
|
|
3092
|
+
* Scroll Padding Right
|
|
3093
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3094
|
+
*/
|
|
1687
3095
|
"scroll-pr": [{ "scroll-pr": scaleUnambiguousSpacing() }],
|
|
3096
|
+
/**
|
|
3097
|
+
* Scroll Padding Bottom
|
|
3098
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3099
|
+
*/
|
|
1688
3100
|
"scroll-pb": [{ "scroll-pb": scaleUnambiguousSpacing() }],
|
|
3101
|
+
/**
|
|
3102
|
+
* Scroll Padding Left
|
|
3103
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3104
|
+
*/
|
|
1689
3105
|
"scroll-pl": [{ "scroll-pl": scaleUnambiguousSpacing() }],
|
|
3106
|
+
/**
|
|
3107
|
+
* Scroll Snap Align
|
|
3108
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
3109
|
+
*/
|
|
1690
3110
|
"snap-align": [{ snap: [
|
|
1691
3111
|
"start",
|
|
1692
3112
|
"end",
|
|
1693
3113
|
"center",
|
|
1694
3114
|
"align-none"
|
|
1695
3115
|
] }],
|
|
3116
|
+
/**
|
|
3117
|
+
* Scroll Snap Stop
|
|
3118
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
3119
|
+
*/
|
|
1696
3120
|
"snap-stop": [{ snap: ["normal", "always"] }],
|
|
3121
|
+
/**
|
|
3122
|
+
* Scroll Snap Type
|
|
3123
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3124
|
+
*/
|
|
1697
3125
|
"snap-type": [{ snap: [
|
|
1698
3126
|
"none",
|
|
1699
3127
|
"x",
|
|
1700
3128
|
"y",
|
|
1701
3129
|
"both"
|
|
1702
3130
|
] }],
|
|
3131
|
+
/**
|
|
3132
|
+
* Scroll Snap Type Strictness
|
|
3133
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3134
|
+
*/
|
|
1703
3135
|
"snap-strictness": [{ snap: ["mandatory", "proximity"] }],
|
|
3136
|
+
/**
|
|
3137
|
+
* Touch Action
|
|
3138
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3139
|
+
*/
|
|
1704
3140
|
touch: [{ touch: [
|
|
1705
3141
|
"auto",
|
|
1706
3142
|
"none",
|
|
1707
3143
|
"manipulation"
|
|
1708
3144
|
] }],
|
|
3145
|
+
/**
|
|
3146
|
+
* Touch Action X
|
|
3147
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3148
|
+
*/
|
|
1709
3149
|
"touch-x": [{ "touch-pan": [
|
|
1710
3150
|
"x",
|
|
1711
3151
|
"left",
|
|
1712
3152
|
"right"
|
|
1713
3153
|
] }],
|
|
3154
|
+
/**
|
|
3155
|
+
* Touch Action Y
|
|
3156
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3157
|
+
*/
|
|
1714
3158
|
"touch-y": [{ "touch-pan": [
|
|
1715
3159
|
"y",
|
|
1716
3160
|
"up",
|
|
1717
3161
|
"down"
|
|
1718
3162
|
] }],
|
|
3163
|
+
/**
|
|
3164
|
+
* Touch Action Pinch Zoom
|
|
3165
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3166
|
+
*/
|
|
1719
3167
|
"touch-pz": ["touch-pinch-zoom"],
|
|
3168
|
+
/**
|
|
3169
|
+
* User Select
|
|
3170
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
3171
|
+
*/
|
|
1720
3172
|
select: [{ select: [
|
|
1721
3173
|
"none",
|
|
1722
3174
|
"text",
|
|
1723
3175
|
"all",
|
|
1724
3176
|
"auto"
|
|
1725
3177
|
] }],
|
|
3178
|
+
/**
|
|
3179
|
+
* Will Change
|
|
3180
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
3181
|
+
*/
|
|
1726
3182
|
"will-change": [{ "will-change": [
|
|
1727
3183
|
"auto",
|
|
1728
3184
|
"scroll",
|
|
@@ -1731,22 +3187,41 @@ const getDefaultConfig = () => {
|
|
|
1731
3187
|
isArbitraryVariable,
|
|
1732
3188
|
isArbitraryValue
|
|
1733
3189
|
] }],
|
|
3190
|
+
/**
|
|
3191
|
+
* Fill
|
|
3192
|
+
* @see https://tailwindcss.com/docs/fill
|
|
3193
|
+
*/
|
|
1734
3194
|
fill: [{ fill: ["none", ...scaleColor()] }],
|
|
3195
|
+
/**
|
|
3196
|
+
* Stroke Width
|
|
3197
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
3198
|
+
*/
|
|
1735
3199
|
"stroke-w": [{ stroke: [
|
|
1736
3200
|
isNumber,
|
|
1737
3201
|
isArbitraryVariableLength,
|
|
1738
3202
|
isArbitraryLength,
|
|
1739
3203
|
isArbitraryNumber
|
|
1740
3204
|
] }],
|
|
3205
|
+
/**
|
|
3206
|
+
* Stroke
|
|
3207
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
3208
|
+
*/
|
|
1741
3209
|
stroke: [{ stroke: ["none", ...scaleColor()] }],
|
|
3210
|
+
/**
|
|
3211
|
+
* Forced Color Adjust
|
|
3212
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
3213
|
+
*/
|
|
1742
3214
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
1743
3215
|
},
|
|
1744
3216
|
conflictingClassGroups: {
|
|
3217
|
+
"container-named": ["container-type"],
|
|
1745
3218
|
overflow: ["overflow-x", "overflow-y"],
|
|
1746
3219
|
overscroll: ["overscroll-x", "overscroll-y"],
|
|
1747
3220
|
inset: [
|
|
1748
3221
|
"inset-x",
|
|
1749
3222
|
"inset-y",
|
|
3223
|
+
"inset-bs",
|
|
3224
|
+
"inset-be",
|
|
1750
3225
|
"start",
|
|
1751
3226
|
"end",
|
|
1752
3227
|
"top",
|
|
@@ -1767,6 +3242,8 @@ const getDefaultConfig = () => {
|
|
|
1767
3242
|
"py",
|
|
1768
3243
|
"ps",
|
|
1769
3244
|
"pe",
|
|
3245
|
+
"pbs",
|
|
3246
|
+
"pbe",
|
|
1770
3247
|
"pt",
|
|
1771
3248
|
"pr",
|
|
1772
3249
|
"pb",
|
|
@@ -1779,6 +3256,8 @@ const getDefaultConfig = () => {
|
|
|
1779
3256
|
"my",
|
|
1780
3257
|
"ms",
|
|
1781
3258
|
"me",
|
|
3259
|
+
"mbs",
|
|
3260
|
+
"mbe",
|
|
1782
3261
|
"mt",
|
|
1783
3262
|
"mr",
|
|
1784
3263
|
"mb",
|
|
@@ -1829,6 +3308,8 @@ const getDefaultConfig = () => {
|
|
|
1829
3308
|
"border-w-y",
|
|
1830
3309
|
"border-w-s",
|
|
1831
3310
|
"border-w-e",
|
|
3311
|
+
"border-w-bs",
|
|
3312
|
+
"border-w-be",
|
|
1832
3313
|
"border-w-t",
|
|
1833
3314
|
"border-w-r",
|
|
1834
3315
|
"border-w-b",
|
|
@@ -1841,6 +3322,8 @@ const getDefaultConfig = () => {
|
|
|
1841
3322
|
"border-color-y",
|
|
1842
3323
|
"border-color-s",
|
|
1843
3324
|
"border-color-e",
|
|
3325
|
+
"border-color-bs",
|
|
3326
|
+
"border-color-be",
|
|
1844
3327
|
"border-color-t",
|
|
1845
3328
|
"border-color-r",
|
|
1846
3329
|
"border-color-b",
|
|
@@ -1864,6 +3347,8 @@ const getDefaultConfig = () => {
|
|
|
1864
3347
|
"scroll-my",
|
|
1865
3348
|
"scroll-ms",
|
|
1866
3349
|
"scroll-me",
|
|
3350
|
+
"scroll-mbs",
|
|
3351
|
+
"scroll-mbe",
|
|
1867
3352
|
"scroll-mt",
|
|
1868
3353
|
"scroll-mr",
|
|
1869
3354
|
"scroll-mb",
|
|
@@ -1876,6 +3361,8 @@ const getDefaultConfig = () => {
|
|
|
1876
3361
|
"scroll-py",
|
|
1877
3362
|
"scroll-ps",
|
|
1878
3363
|
"scroll-pe",
|
|
3364
|
+
"scroll-pbs",
|
|
3365
|
+
"scroll-pbe",
|
|
1879
3366
|
"scroll-pt",
|
|
1880
3367
|
"scroll-pr",
|
|
1881
3368
|
"scroll-pb",
|
|
@@ -1893,6 +3380,7 @@ const getDefaultConfig = () => {
|
|
|
1893
3380
|
"touch-pz": ["touch"]
|
|
1894
3381
|
},
|
|
1895
3382
|
conflictingClassGroupModifiers: { "font-size": ["leading"] },
|
|
3383
|
+
postfixLookupClassGroups: ["container-type"],
|
|
1896
3384
|
orderSensitiveModifiers: [
|
|
1897
3385
|
"*",
|
|
1898
3386
|
"**",
|
|
@@ -1909,8 +3397,7 @@ const getDefaultConfig = () => {
|
|
|
1909
3397
|
]
|
|
1910
3398
|
};
|
|
1911
3399
|
};
|
|
1912
|
-
const twMerge =
|
|
1913
|
-
|
|
3400
|
+
const twMerge = /*#__PURE__*/ createTailwindMerge(getDefaultConfig);
|
|
1914
3401
|
//#endregion
|
|
1915
3402
|
//#region src/utils/index.ts
|
|
1916
3403
|
const ts = await import("typescript");
|
|
@@ -2030,7 +3517,7 @@ const getCachedScriptBlob = async (src) => {
|
|
|
2030
3517
|
const preloadScripts = (scripts) => {
|
|
2031
3518
|
scripts.forEach((src) => getCachedScriptBlob(src));
|
|
2032
3519
|
};
|
|
2033
|
-
|
|
2034
3520
|
//#endregion
|
|
2035
3521
|
export { detectTypeScript as a, generateSections as c, replaceSections as d, transformCode as f, compile as i, getCachedScriptBlob as l, clearCompilationCache as n, extractSections as o, cn as r, generateSection as s, baseModules as t, preloadScripts as u };
|
|
2036
|
-
|
|
3522
|
+
|
|
3523
|
+
//# sourceMappingURL=utils-DP9WPbBJ.mjs.map
|