@tonyclaw/llm-inspector 1.11.0 → 1.11.2
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/.output/nitro.json +1 -1
- package/.output/public/assets/index-BpKPXEcb.css +1 -0
- package/.output/public/assets/index-Chp_30CP.js +11 -0
- package/.output/public/assets/index-DLvqlFS9.js +130 -0
- package/.output/server/_libs/@radix-ui/react-use-controllable-state+[...].mjs +1 -1
- package/.output/server/_libs/ajv-formats.mjs +18 -18
- package/.output/server/_libs/ajv.mjs +941 -6305
- package/.output/server/_libs/cookie-es.mjs +7 -21
- package/.output/server/_libs/floating-ui__core.mjs +18 -17
- package/.output/server/_libs/floating-ui__dom.mjs +24 -20
- package/.output/server/_libs/floating-ui__react-dom.mjs +55 -28
- package/.output/server/_libs/floating-ui__utils.mjs +36 -36
- package/.output/server/_libs/h3-v2.mjs +20 -9
- package/.output/server/_libs/isbot.mjs +3 -2
- package/.output/server/_libs/json-schema-traverse.mjs +1 -90
- package/.output/server/_libs/jszip.mjs +28 -28
- package/.output/server/_libs/mdast-util-from-markdown.mjs +1 -1
- package/.output/server/_libs/pako.mjs +13 -13
- package/.output/server/_libs/property-information.mjs +13 -1
- package/.output/server/_libs/radix-ui__react-collection.mjs +1 -1
- package/.output/server/_libs/radix-ui__react-id.mjs +1 -1
- package/.output/server/_libs/react-dom.mjs +10 -10
- package/.output/server/_libs/react.mjs +44 -44
- package/.output/server/_libs/readable-stream.mjs +15 -15
- package/.output/server/_libs/rou3.mjs +1 -7
- package/.output/server/_libs/safe-buffer.mjs +3 -3
- package/.output/server/_libs/semver.mjs +10 -10
- package/.output/server/_libs/seroval-plugins.mjs +5 -5
- package/.output/server/_libs/seroval.mjs +606 -596
- package/.output/server/_libs/srvx.mjs +10 -245
- package/.output/server/_libs/swr.mjs +1 -1
- package/.output/server/_libs/tailwind-merge.mjs +286 -41
- package/.output/server/_libs/tanstack__history.mjs +31 -44
- package/.output/server/_libs/tanstack__react-router.mjs +780 -1089
- package/.output/server/_libs/tanstack__react-store.mjs +1 -1
- package/.output/server/_libs/tanstack__react-virtual.mjs +82 -7
- package/.output/server/_libs/tanstack__router-core.mjs +2223 -2328
- package/.output/server/_libs/tanstack__virtual-core.mjs +58 -17
- package/.output/server/_libs/ungap__structured-clone.mjs +14 -2
- package/.output/server/_libs/use-sync-external-store.mjs +1 -1
- package/.output/server/_libs/zod.mjs +503 -205
- package/.output/server/_ssr/empty-plugin-adapters-BFgPZ6_d.mjs +6 -0
- package/.output/server/_ssr/{index-I_Nx8QEB.mjs → index-CYuV1ljD.mjs} +8 -8
- package/.output/server/_ssr/index.mjs +1098 -776
- package/.output/server/_ssr/{router-BVxfVFsb.mjs → router-e-RbjELX.mjs} +4 -6
- package/.output/server/_tanstack-start-manifest_v-C5P5lsG5.mjs +4 -0
- package/.output/server/index.mjs +21 -21
- package/package.json +1 -1
- package/src/components/providers/ProvidersPanel.tsx +4 -2
- package/src/components/providers/SettingsDialog.tsx +2 -1
- package/src/proxy/dataDir.ts +1 -1
- package/.output/public/assets/index-BIZeMR5N.js +0 -105
- package/.output/public/assets/index-SmtLx1lM.css +0 -1
- package/.output/public/assets/main-QfbQ5oBP.js +0 -17
- package/.output/server/_libs/tiny-invariant.mjs +0 -12
- package/.output/server/_libs/tiny-warning.mjs +0 -5
- package/.output/server/_tanstack-start-manifest_v-Cm2Owszu.mjs +0 -4
|
@@ -302,15 +302,27 @@ const createConfigUtils = (config) => ({
|
|
|
302
302
|
cache: createLruCache(config.cacheSize),
|
|
303
303
|
parseClassName: createParseClassName(config),
|
|
304
304
|
sortModifiers: createSortModifiers(config),
|
|
305
|
+
postfixLookupClassGroupIds: createPostfixLookupClassGroupIds(config),
|
|
305
306
|
...createClassGroupUtils(config)
|
|
306
307
|
});
|
|
308
|
+
const createPostfixLookupClassGroupIds = (config) => {
|
|
309
|
+
const lookup = /* @__PURE__ */ Object.create(null);
|
|
310
|
+
const classGroupIds = config.postfixLookupClassGroups;
|
|
311
|
+
if (classGroupIds) {
|
|
312
|
+
for (let i = 0; i < classGroupIds.length; i++) {
|
|
313
|
+
lookup[classGroupIds[i]] = true;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
return lookup;
|
|
317
|
+
};
|
|
307
318
|
const SPLIT_CLASSES_REGEX = /\s+/;
|
|
308
319
|
const mergeClassList = (classList, configUtils) => {
|
|
309
320
|
const {
|
|
310
321
|
parseClassName,
|
|
311
322
|
getClassGroupId,
|
|
312
323
|
getConflictingClassGroupIds,
|
|
313
|
-
sortModifiers
|
|
324
|
+
sortModifiers,
|
|
325
|
+
postfixLookupClassGroupIds
|
|
314
326
|
} = configUtils;
|
|
315
327
|
const classGroupsInConflict = [];
|
|
316
328
|
const classNames = classList.trim().split(SPLIT_CLASSES_REGEX);
|
|
@@ -329,7 +341,18 @@ const mergeClassList = (classList, configUtils) => {
|
|
|
329
341
|
continue;
|
|
330
342
|
}
|
|
331
343
|
let hasPostfixModifier = !!maybePostfixModifierPosition;
|
|
332
|
-
let classGroupId
|
|
344
|
+
let classGroupId;
|
|
345
|
+
if (hasPostfixModifier) {
|
|
346
|
+
const baseClassNameWithoutPostfix = baseClassName.substring(0, maybePostfixModifierPosition);
|
|
347
|
+
classGroupId = getClassGroupId(baseClassNameWithoutPostfix);
|
|
348
|
+
const classGroupIdWithPostfix = classGroupId && postfixLookupClassGroupIds[classGroupId] ? getClassGroupId(baseClassName) : void 0;
|
|
349
|
+
if (classGroupIdWithPostfix && classGroupIdWithPostfix !== classGroupId) {
|
|
350
|
+
classGroupId = classGroupIdWithPostfix;
|
|
351
|
+
hasPostfixModifier = false;
|
|
352
|
+
}
|
|
353
|
+
} else {
|
|
354
|
+
classGroupId = getClassGroupId(baseClassName);
|
|
355
|
+
}
|
|
333
356
|
if (!classGroupId) {
|
|
334
357
|
if (!hasPostfixModifier) {
|
|
335
358
|
result = originalClassName + (result.length > 0 ? " " + result : result);
|
|
@@ -422,7 +445,7 @@ const fromTheme = (key) => {
|
|
|
422
445
|
};
|
|
423
446
|
const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
|
|
424
447
|
const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
|
|
425
|
-
const fractionRegex = /^\d
|
|
448
|
+
const fractionRegex = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/;
|
|
426
449
|
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
427
450
|
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$/;
|
|
428
451
|
const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
|
|
@@ -444,10 +467,13 @@ const isNever = () => false;
|
|
|
444
467
|
const isShadow = (value) => shadowRegex.test(value);
|
|
445
468
|
const isImage = (value) => imageRegex.test(value);
|
|
446
469
|
const isAnyNonArbitrary = (value) => !isArbitraryValue(value) && !isArbitraryVariable(value);
|
|
470
|
+
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));
|
|
447
471
|
const isArbitrarySize = (value) => getIsArbitraryValue(value, isLabelSize, isNever);
|
|
448
472
|
const isArbitraryValue = (value) => arbitraryValueRegex.test(value);
|
|
449
473
|
const isArbitraryLength = (value) => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
|
|
450
474
|
const isArbitraryNumber = (value) => getIsArbitraryValue(value, isLabelNumber, isNumber);
|
|
475
|
+
const isArbitraryWeight = (value) => getIsArbitraryValue(value, isLabelWeight, isAny);
|
|
476
|
+
const isArbitraryFamilyName = (value) => getIsArbitraryValue(value, isLabelFamilyName, isNever);
|
|
451
477
|
const isArbitraryPosition = (value) => getIsArbitraryValue(value, isLabelPosition, isNever);
|
|
452
478
|
const isArbitraryImage = (value) => getIsArbitraryValue(value, isLabelImage, isImage);
|
|
453
479
|
const isArbitraryShadow = (value) => getIsArbitraryValue(value, isLabelShadow, isShadow);
|
|
@@ -458,6 +484,7 @@ const isArbitraryVariablePosition = (value) => getIsArbitraryVariable(value, isL
|
|
|
458
484
|
const isArbitraryVariableSize = (value) => getIsArbitraryVariable(value, isLabelSize);
|
|
459
485
|
const isArbitraryVariableImage = (value) => getIsArbitraryVariable(value, isLabelImage);
|
|
460
486
|
const isArbitraryVariableShadow = (value) => getIsArbitraryVariable(value, isLabelShadow, true);
|
|
487
|
+
const isArbitraryVariableWeight = (value) => getIsArbitraryVariable(value, isLabelWeight, true);
|
|
461
488
|
const getIsArbitraryValue = (value, testLabel, testValue) => {
|
|
462
489
|
const result = arbitraryValueRegex.exec(value);
|
|
463
490
|
if (result) {
|
|
@@ -484,6 +511,7 @@ const isLabelSize = (label) => label === "length" || label === "size" || label =
|
|
|
484
511
|
const isLabelLength = (label) => label === "length";
|
|
485
512
|
const isLabelNumber = (label) => label === "number";
|
|
486
513
|
const isLabelFamilyName = (label) => label === "family-name";
|
|
514
|
+
const isLabelWeight = (label) => label === "number" || label === "weight";
|
|
487
515
|
const isLabelShadow = (label) => label === "shadow";
|
|
488
516
|
const getDefaultConfig = () => {
|
|
489
517
|
const themeColor = fromTheme("color");
|
|
@@ -540,6 +568,8 @@ const getDefaultConfig = () => {
|
|
|
540
568
|
const scaleAlignSecondaryAxis = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"];
|
|
541
569
|
const scaleMargin = () => ["auto", ...scaleUnambiguousSpacing()];
|
|
542
570
|
const scaleSizing = () => [isFraction, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...scaleUnambiguousSpacing()];
|
|
571
|
+
const scaleSizingInline = () => [isFraction, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...scaleUnambiguousSpacing()];
|
|
572
|
+
const scaleSizingBlock = () => [isFraction, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...scaleUnambiguousSpacing()];
|
|
543
573
|
const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];
|
|
544
574
|
const scaleBgPosition = () => [...scalePosition(), isArbitraryVariablePosition, isArbitraryPosition, {
|
|
545
575
|
position: [isArbitraryVariable, isArbitraryValue]
|
|
@@ -616,6 +646,18 @@ const getDefaultConfig = () => {
|
|
|
616
646
|
* @deprecated since Tailwind CSS v4.0.0
|
|
617
647
|
*/
|
|
618
648
|
container: ["container"],
|
|
649
|
+
/**
|
|
650
|
+
* Container Type
|
|
651
|
+
* @see https://tailwindcss.com/docs/responsive-design#container-queries
|
|
652
|
+
*/
|
|
653
|
+
"container-type": [{
|
|
654
|
+
"@container": ["", "normal", "size", isArbitraryVariable, isArbitraryValue]
|
|
655
|
+
}],
|
|
656
|
+
/**
|
|
657
|
+
* Container Name
|
|
658
|
+
* @see https://tailwindcss.com/docs/responsive-design#named-containers
|
|
659
|
+
*/
|
|
660
|
+
"container-named": [isNamedContainerQuery],
|
|
619
661
|
/**
|
|
620
662
|
* Columns
|
|
621
663
|
* @see https://tailwindcss.com/docs/columns
|
|
@@ -749,40 +791,66 @@ const getDefaultConfig = () => {
|
|
|
749
791
|
*/
|
|
750
792
|
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
751
793
|
/**
|
|
752
|
-
*
|
|
794
|
+
* Inset
|
|
753
795
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
754
796
|
*/
|
|
755
797
|
inset: [{
|
|
756
798
|
inset: scaleInset()
|
|
757
799
|
}],
|
|
758
800
|
/**
|
|
759
|
-
*
|
|
801
|
+
* Inset Inline
|
|
760
802
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
761
803
|
*/
|
|
762
804
|
"inset-x": [{
|
|
763
805
|
"inset-x": scaleInset()
|
|
764
806
|
}],
|
|
765
807
|
/**
|
|
766
|
-
*
|
|
808
|
+
* Inset Block
|
|
767
809
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
768
810
|
*/
|
|
769
811
|
"inset-y": [{
|
|
770
812
|
"inset-y": scaleInset()
|
|
771
813
|
}],
|
|
772
814
|
/**
|
|
773
|
-
* Start
|
|
815
|
+
* Inset Inline Start
|
|
774
816
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
817
|
+
* @todo class group will be renamed to `inset-s` in next major release
|
|
775
818
|
*/
|
|
776
819
|
start: [{
|
|
820
|
+
"inset-s": scaleInset(),
|
|
821
|
+
/**
|
|
822
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
823
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
824
|
+
*/
|
|
777
825
|
start: scaleInset()
|
|
778
826
|
}],
|
|
779
827
|
/**
|
|
780
|
-
* End
|
|
828
|
+
* Inset Inline End
|
|
781
829
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
830
|
+
* @todo class group will be renamed to `inset-e` in next major release
|
|
782
831
|
*/
|
|
783
832
|
end: [{
|
|
833
|
+
"inset-e": scaleInset(),
|
|
834
|
+
/**
|
|
835
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
836
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
837
|
+
*/
|
|
784
838
|
end: scaleInset()
|
|
785
839
|
}],
|
|
840
|
+
/**
|
|
841
|
+
* Inset Block Start
|
|
842
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
843
|
+
*/
|
|
844
|
+
"inset-bs": [{
|
|
845
|
+
"inset-bs": scaleInset()
|
|
846
|
+
}],
|
|
847
|
+
/**
|
|
848
|
+
* Inset Block End
|
|
849
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
850
|
+
*/
|
|
851
|
+
"inset-be": [{
|
|
852
|
+
"inset-be": scaleInset()
|
|
853
|
+
}],
|
|
786
854
|
/**
|
|
787
855
|
* Top
|
|
788
856
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
@@ -1049,33 +1117,47 @@ const getDefaultConfig = () => {
|
|
|
1049
1117
|
p: scaleUnambiguousSpacing()
|
|
1050
1118
|
}],
|
|
1051
1119
|
/**
|
|
1052
|
-
* Padding
|
|
1120
|
+
* Padding Inline
|
|
1053
1121
|
* @see https://tailwindcss.com/docs/padding
|
|
1054
1122
|
*/
|
|
1055
1123
|
px: [{
|
|
1056
1124
|
px: scaleUnambiguousSpacing()
|
|
1057
1125
|
}],
|
|
1058
1126
|
/**
|
|
1059
|
-
* Padding
|
|
1127
|
+
* Padding Block
|
|
1060
1128
|
* @see https://tailwindcss.com/docs/padding
|
|
1061
1129
|
*/
|
|
1062
1130
|
py: [{
|
|
1063
1131
|
py: scaleUnambiguousSpacing()
|
|
1064
1132
|
}],
|
|
1065
1133
|
/**
|
|
1066
|
-
* Padding Start
|
|
1134
|
+
* Padding Inline Start
|
|
1067
1135
|
* @see https://tailwindcss.com/docs/padding
|
|
1068
1136
|
*/
|
|
1069
1137
|
ps: [{
|
|
1070
1138
|
ps: scaleUnambiguousSpacing()
|
|
1071
1139
|
}],
|
|
1072
1140
|
/**
|
|
1073
|
-
* Padding End
|
|
1141
|
+
* Padding Inline End
|
|
1074
1142
|
* @see https://tailwindcss.com/docs/padding
|
|
1075
1143
|
*/
|
|
1076
1144
|
pe: [{
|
|
1077
1145
|
pe: scaleUnambiguousSpacing()
|
|
1078
1146
|
}],
|
|
1147
|
+
/**
|
|
1148
|
+
* Padding Block Start
|
|
1149
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1150
|
+
*/
|
|
1151
|
+
pbs: [{
|
|
1152
|
+
pbs: scaleUnambiguousSpacing()
|
|
1153
|
+
}],
|
|
1154
|
+
/**
|
|
1155
|
+
* Padding Block End
|
|
1156
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1157
|
+
*/
|
|
1158
|
+
pbe: [{
|
|
1159
|
+
pbe: scaleUnambiguousSpacing()
|
|
1160
|
+
}],
|
|
1079
1161
|
/**
|
|
1080
1162
|
* Padding Top
|
|
1081
1163
|
* @see https://tailwindcss.com/docs/padding
|
|
@@ -1112,33 +1194,47 @@ const getDefaultConfig = () => {
|
|
|
1112
1194
|
m: scaleMargin()
|
|
1113
1195
|
}],
|
|
1114
1196
|
/**
|
|
1115
|
-
* Margin
|
|
1197
|
+
* Margin Inline
|
|
1116
1198
|
* @see https://tailwindcss.com/docs/margin
|
|
1117
1199
|
*/
|
|
1118
1200
|
mx: [{
|
|
1119
1201
|
mx: scaleMargin()
|
|
1120
1202
|
}],
|
|
1121
1203
|
/**
|
|
1122
|
-
* Margin
|
|
1204
|
+
* Margin Block
|
|
1123
1205
|
* @see https://tailwindcss.com/docs/margin
|
|
1124
1206
|
*/
|
|
1125
1207
|
my: [{
|
|
1126
1208
|
my: scaleMargin()
|
|
1127
1209
|
}],
|
|
1128
1210
|
/**
|
|
1129
|
-
* Margin Start
|
|
1211
|
+
* Margin Inline Start
|
|
1130
1212
|
* @see https://tailwindcss.com/docs/margin
|
|
1131
1213
|
*/
|
|
1132
1214
|
ms: [{
|
|
1133
1215
|
ms: scaleMargin()
|
|
1134
1216
|
}],
|
|
1135
1217
|
/**
|
|
1136
|
-
* Margin End
|
|
1218
|
+
* Margin Inline End
|
|
1137
1219
|
* @see https://tailwindcss.com/docs/margin
|
|
1138
1220
|
*/
|
|
1139
1221
|
me: [{
|
|
1140
1222
|
me: scaleMargin()
|
|
1141
1223
|
}],
|
|
1224
|
+
/**
|
|
1225
|
+
* Margin Block Start
|
|
1226
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1227
|
+
*/
|
|
1228
|
+
mbs: [{
|
|
1229
|
+
mbs: scaleMargin()
|
|
1230
|
+
}],
|
|
1231
|
+
/**
|
|
1232
|
+
* Margin Block End
|
|
1233
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1234
|
+
*/
|
|
1235
|
+
mbe: [{
|
|
1236
|
+
mbe: scaleMargin()
|
|
1237
|
+
}],
|
|
1142
1238
|
/**
|
|
1143
1239
|
* Margin Top
|
|
1144
1240
|
* @see https://tailwindcss.com/docs/margin
|
|
@@ -1201,6 +1297,48 @@ const getDefaultConfig = () => {
|
|
|
1201
1297
|
size: [{
|
|
1202
1298
|
size: scaleSizing()
|
|
1203
1299
|
}],
|
|
1300
|
+
/**
|
|
1301
|
+
* Inline Size
|
|
1302
|
+
* @see https://tailwindcss.com/docs/width
|
|
1303
|
+
*/
|
|
1304
|
+
"inline-size": [{
|
|
1305
|
+
inline: ["auto", ...scaleSizingInline()]
|
|
1306
|
+
}],
|
|
1307
|
+
/**
|
|
1308
|
+
* Min-Inline Size
|
|
1309
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1310
|
+
*/
|
|
1311
|
+
"min-inline-size": [{
|
|
1312
|
+
"min-inline": ["auto", ...scaleSizingInline()]
|
|
1313
|
+
}],
|
|
1314
|
+
/**
|
|
1315
|
+
* Max-Inline Size
|
|
1316
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1317
|
+
*/
|
|
1318
|
+
"max-inline-size": [{
|
|
1319
|
+
"max-inline": ["none", ...scaleSizingInline()]
|
|
1320
|
+
}],
|
|
1321
|
+
/**
|
|
1322
|
+
* Block Size
|
|
1323
|
+
* @see https://tailwindcss.com/docs/height
|
|
1324
|
+
*/
|
|
1325
|
+
"block-size": [{
|
|
1326
|
+
block: ["auto", ...scaleSizingBlock()]
|
|
1327
|
+
}],
|
|
1328
|
+
/**
|
|
1329
|
+
* Min-Block Size
|
|
1330
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1331
|
+
*/
|
|
1332
|
+
"min-block-size": [{
|
|
1333
|
+
"min-block": ["auto", ...scaleSizingBlock()]
|
|
1334
|
+
}],
|
|
1335
|
+
/**
|
|
1336
|
+
* Max-Block Size
|
|
1337
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1338
|
+
*/
|
|
1339
|
+
"max-block-size": [{
|
|
1340
|
+
"max-block": ["none", ...scaleSizingBlock()]
|
|
1341
|
+
}],
|
|
1204
1342
|
/**
|
|
1205
1343
|
* Width
|
|
1206
1344
|
* @see https://tailwindcss.com/docs/width
|
|
@@ -1285,7 +1423,7 @@ const getDefaultConfig = () => {
|
|
|
1285
1423
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1286
1424
|
*/
|
|
1287
1425
|
"font-weight": [{
|
|
1288
|
-
font: [themeFontWeight,
|
|
1426
|
+
font: [themeFontWeight, isArbitraryVariableWeight, isArbitraryWeight]
|
|
1289
1427
|
}],
|
|
1290
1428
|
/**
|
|
1291
1429
|
* Font Stretch
|
|
@@ -1299,7 +1437,14 @@ const getDefaultConfig = () => {
|
|
|
1299
1437
|
* @see https://tailwindcss.com/docs/font-family
|
|
1300
1438
|
*/
|
|
1301
1439
|
"font-family": [{
|
|
1302
|
-
font: [isArbitraryVariableFamilyName,
|
|
1440
|
+
font: [isArbitraryVariableFamilyName, isArbitraryFamilyName, themeFont]
|
|
1441
|
+
}],
|
|
1442
|
+
/**
|
|
1443
|
+
* Font Feature Settings
|
|
1444
|
+
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1445
|
+
*/
|
|
1446
|
+
"font-features": [{
|
|
1447
|
+
"font-features": [isArbitraryValue]
|
|
1303
1448
|
}],
|
|
1304
1449
|
/**
|
|
1305
1450
|
* Font Variant Numeric
|
|
@@ -1456,6 +1601,13 @@ const getDefaultConfig = () => {
|
|
|
1456
1601
|
indent: [{
|
|
1457
1602
|
indent: scaleUnambiguousSpacing()
|
|
1458
1603
|
}],
|
|
1604
|
+
/**
|
|
1605
|
+
* Tab Size
|
|
1606
|
+
* @see https://tailwindcss.com/docs/tab-size
|
|
1607
|
+
*/
|
|
1608
|
+
"tab-size": [{
|
|
1609
|
+
tab: [isInteger, isArbitraryVariable, isArbitraryValue]
|
|
1610
|
+
}],
|
|
1459
1611
|
/**
|
|
1460
1612
|
* Vertical Alignment
|
|
1461
1613
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
@@ -1721,33 +1873,47 @@ const getDefaultConfig = () => {
|
|
|
1721
1873
|
border: scaleBorderWidth()
|
|
1722
1874
|
}],
|
|
1723
1875
|
/**
|
|
1724
|
-
* Border Width
|
|
1876
|
+
* Border Width Inline
|
|
1725
1877
|
* @see https://tailwindcss.com/docs/border-width
|
|
1726
1878
|
*/
|
|
1727
1879
|
"border-w-x": [{
|
|
1728
1880
|
"border-x": scaleBorderWidth()
|
|
1729
1881
|
}],
|
|
1730
1882
|
/**
|
|
1731
|
-
* Border Width
|
|
1883
|
+
* Border Width Block
|
|
1732
1884
|
* @see https://tailwindcss.com/docs/border-width
|
|
1733
1885
|
*/
|
|
1734
1886
|
"border-w-y": [{
|
|
1735
1887
|
"border-y": scaleBorderWidth()
|
|
1736
1888
|
}],
|
|
1737
1889
|
/**
|
|
1738
|
-
* Border Width Start
|
|
1890
|
+
* Border Width Inline Start
|
|
1739
1891
|
* @see https://tailwindcss.com/docs/border-width
|
|
1740
1892
|
*/
|
|
1741
1893
|
"border-w-s": [{
|
|
1742
1894
|
"border-s": scaleBorderWidth()
|
|
1743
1895
|
}],
|
|
1744
1896
|
/**
|
|
1745
|
-
* Border Width End
|
|
1897
|
+
* Border Width Inline End
|
|
1746
1898
|
* @see https://tailwindcss.com/docs/border-width
|
|
1747
1899
|
*/
|
|
1748
1900
|
"border-w-e": [{
|
|
1749
1901
|
"border-e": scaleBorderWidth()
|
|
1750
1902
|
}],
|
|
1903
|
+
/**
|
|
1904
|
+
* Border Width Block Start
|
|
1905
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1906
|
+
*/
|
|
1907
|
+
"border-w-bs": [{
|
|
1908
|
+
"border-bs": scaleBorderWidth()
|
|
1909
|
+
}],
|
|
1910
|
+
/**
|
|
1911
|
+
* Border Width Block End
|
|
1912
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1913
|
+
*/
|
|
1914
|
+
"border-w-be": [{
|
|
1915
|
+
"border-be": scaleBorderWidth()
|
|
1916
|
+
}],
|
|
1751
1917
|
/**
|
|
1752
1918
|
* Border Width Top
|
|
1753
1919
|
* @see https://tailwindcss.com/docs/border-width
|
|
@@ -1822,33 +1988,47 @@ const getDefaultConfig = () => {
|
|
|
1822
1988
|
border: scaleColor()
|
|
1823
1989
|
}],
|
|
1824
1990
|
/**
|
|
1825
|
-
* Border Color
|
|
1991
|
+
* Border Color Inline
|
|
1826
1992
|
* @see https://tailwindcss.com/docs/border-color
|
|
1827
1993
|
*/
|
|
1828
1994
|
"border-color-x": [{
|
|
1829
1995
|
"border-x": scaleColor()
|
|
1830
1996
|
}],
|
|
1831
1997
|
/**
|
|
1832
|
-
* Border Color
|
|
1998
|
+
* Border Color Block
|
|
1833
1999
|
* @see https://tailwindcss.com/docs/border-color
|
|
1834
2000
|
*/
|
|
1835
2001
|
"border-color-y": [{
|
|
1836
2002
|
"border-y": scaleColor()
|
|
1837
2003
|
}],
|
|
1838
2004
|
/**
|
|
1839
|
-
* Border Color
|
|
2005
|
+
* Border Color Inline Start
|
|
1840
2006
|
* @see https://tailwindcss.com/docs/border-color
|
|
1841
2007
|
*/
|
|
1842
2008
|
"border-color-s": [{
|
|
1843
2009
|
"border-s": scaleColor()
|
|
1844
2010
|
}],
|
|
1845
2011
|
/**
|
|
1846
|
-
* Border Color
|
|
2012
|
+
* Border Color Inline End
|
|
1847
2013
|
* @see https://tailwindcss.com/docs/border-color
|
|
1848
2014
|
*/
|
|
1849
2015
|
"border-color-e": [{
|
|
1850
2016
|
"border-e": scaleColor()
|
|
1851
2017
|
}],
|
|
2018
|
+
/**
|
|
2019
|
+
* Border Color Block Start
|
|
2020
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2021
|
+
*/
|
|
2022
|
+
"border-color-bs": [{
|
|
2023
|
+
"border-bs": scaleColor()
|
|
2024
|
+
}],
|
|
2025
|
+
/**
|
|
2026
|
+
* Border Color Block End
|
|
2027
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2028
|
+
*/
|
|
2029
|
+
"border-color-be": [{
|
|
2030
|
+
"border-be": scaleColor()
|
|
2031
|
+
}],
|
|
1852
2032
|
/**
|
|
1853
2033
|
* Border Color Top
|
|
1854
2034
|
* @see https://tailwindcss.com/docs/border-color
|
|
@@ -2653,6 +2833,13 @@ const getDefaultConfig = () => {
|
|
|
2653
2833
|
* @see https://tailwindcss.com/docs/translate
|
|
2654
2834
|
*/
|
|
2655
2835
|
"translate-none": ["translate-none"],
|
|
2836
|
+
/**
|
|
2837
|
+
* Zoom
|
|
2838
|
+
* @see https://tailwindcss.com/docs/zoom
|
|
2839
|
+
*/
|
|
2840
|
+
zoom: [{
|
|
2841
|
+
zoom: [isInteger, isArbitraryVariable, isArbitraryValue]
|
|
2842
|
+
}],
|
|
2656
2843
|
// ---------------------
|
|
2657
2844
|
// --- Interactivity ---
|
|
2658
2845
|
// ---------------------
|
|
@@ -2719,6 +2906,34 @@ const getDefaultConfig = () => {
|
|
|
2719
2906
|
"scroll-behavior": [{
|
|
2720
2907
|
scroll: ["auto", "smooth"]
|
|
2721
2908
|
}],
|
|
2909
|
+
/**
|
|
2910
|
+
* Scrollbar Thumb Color
|
|
2911
|
+
* @see https://tailwindcss.com/docs/scrollbar-color
|
|
2912
|
+
*/
|
|
2913
|
+
"scrollbar-thumb-color": [{
|
|
2914
|
+
"scrollbar-thumb": scaleColor()
|
|
2915
|
+
}],
|
|
2916
|
+
/**
|
|
2917
|
+
* Scrollbar Track Color
|
|
2918
|
+
* @see https://tailwindcss.com/docs/scrollbar-color
|
|
2919
|
+
*/
|
|
2920
|
+
"scrollbar-track-color": [{
|
|
2921
|
+
"scrollbar-track": scaleColor()
|
|
2922
|
+
}],
|
|
2923
|
+
/**
|
|
2924
|
+
* Scrollbar Gutter
|
|
2925
|
+
* @see https://tailwindcss.com/docs/scrollbar-gutter
|
|
2926
|
+
*/
|
|
2927
|
+
"scrollbar-gutter": [{
|
|
2928
|
+
"scrollbar-gutter": ["auto", "stable", "both"]
|
|
2929
|
+
}],
|
|
2930
|
+
/**
|
|
2931
|
+
* Scrollbar Width
|
|
2932
|
+
* @see https://tailwindcss.com/docs/scrollbar-width
|
|
2933
|
+
*/
|
|
2934
|
+
"scrollbar-w": [{
|
|
2935
|
+
scrollbar: ["auto", "thin", "none"]
|
|
2936
|
+
}],
|
|
2722
2937
|
/**
|
|
2723
2938
|
* Scroll Margin
|
|
2724
2939
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
@@ -2727,33 +2942,47 @@ const getDefaultConfig = () => {
|
|
|
2727
2942
|
"scroll-m": scaleUnambiguousSpacing()
|
|
2728
2943
|
}],
|
|
2729
2944
|
/**
|
|
2730
|
-
* Scroll Margin
|
|
2945
|
+
* Scroll Margin Inline
|
|
2731
2946
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2732
2947
|
*/
|
|
2733
2948
|
"scroll-mx": [{
|
|
2734
2949
|
"scroll-mx": scaleUnambiguousSpacing()
|
|
2735
2950
|
}],
|
|
2736
2951
|
/**
|
|
2737
|
-
* Scroll Margin
|
|
2952
|
+
* Scroll Margin Block
|
|
2738
2953
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2739
2954
|
*/
|
|
2740
2955
|
"scroll-my": [{
|
|
2741
2956
|
"scroll-my": scaleUnambiguousSpacing()
|
|
2742
2957
|
}],
|
|
2743
2958
|
/**
|
|
2744
|
-
* Scroll Margin Start
|
|
2959
|
+
* Scroll Margin Inline Start
|
|
2745
2960
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2746
2961
|
*/
|
|
2747
2962
|
"scroll-ms": [{
|
|
2748
2963
|
"scroll-ms": scaleUnambiguousSpacing()
|
|
2749
2964
|
}],
|
|
2750
2965
|
/**
|
|
2751
|
-
* Scroll Margin End
|
|
2966
|
+
* Scroll Margin Inline End
|
|
2752
2967
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2753
2968
|
*/
|
|
2754
2969
|
"scroll-me": [{
|
|
2755
2970
|
"scroll-me": scaleUnambiguousSpacing()
|
|
2756
2971
|
}],
|
|
2972
|
+
/**
|
|
2973
|
+
* Scroll Margin Block Start
|
|
2974
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2975
|
+
*/
|
|
2976
|
+
"scroll-mbs": [{
|
|
2977
|
+
"scroll-mbs": scaleUnambiguousSpacing()
|
|
2978
|
+
}],
|
|
2979
|
+
/**
|
|
2980
|
+
* Scroll Margin Block End
|
|
2981
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2982
|
+
*/
|
|
2983
|
+
"scroll-mbe": [{
|
|
2984
|
+
"scroll-mbe": scaleUnambiguousSpacing()
|
|
2985
|
+
}],
|
|
2757
2986
|
/**
|
|
2758
2987
|
* Scroll Margin Top
|
|
2759
2988
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
@@ -2790,33 +3019,47 @@ const getDefaultConfig = () => {
|
|
|
2790
3019
|
"scroll-p": scaleUnambiguousSpacing()
|
|
2791
3020
|
}],
|
|
2792
3021
|
/**
|
|
2793
|
-
* Scroll Padding
|
|
3022
|
+
* Scroll Padding Inline
|
|
2794
3023
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2795
3024
|
*/
|
|
2796
3025
|
"scroll-px": [{
|
|
2797
3026
|
"scroll-px": scaleUnambiguousSpacing()
|
|
2798
3027
|
}],
|
|
2799
3028
|
/**
|
|
2800
|
-
* Scroll Padding
|
|
3029
|
+
* Scroll Padding Block
|
|
2801
3030
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2802
3031
|
*/
|
|
2803
3032
|
"scroll-py": [{
|
|
2804
3033
|
"scroll-py": scaleUnambiguousSpacing()
|
|
2805
3034
|
}],
|
|
2806
3035
|
/**
|
|
2807
|
-
* Scroll Padding Start
|
|
3036
|
+
* Scroll Padding Inline Start
|
|
2808
3037
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2809
3038
|
*/
|
|
2810
3039
|
"scroll-ps": [{
|
|
2811
3040
|
"scroll-ps": scaleUnambiguousSpacing()
|
|
2812
3041
|
}],
|
|
2813
3042
|
/**
|
|
2814
|
-
* Scroll Padding End
|
|
3043
|
+
* Scroll Padding Inline End
|
|
2815
3044
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2816
3045
|
*/
|
|
2817
3046
|
"scroll-pe": [{
|
|
2818
3047
|
"scroll-pe": scaleUnambiguousSpacing()
|
|
2819
3048
|
}],
|
|
3049
|
+
/**
|
|
3050
|
+
* Scroll Padding Block Start
|
|
3051
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3052
|
+
*/
|
|
3053
|
+
"scroll-pbs": [{
|
|
3054
|
+
"scroll-pbs": scaleUnambiguousSpacing()
|
|
3055
|
+
}],
|
|
3056
|
+
/**
|
|
3057
|
+
* Scroll Padding Block End
|
|
3058
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3059
|
+
*/
|
|
3060
|
+
"scroll-pbe": [{
|
|
3061
|
+
"scroll-pbe": scaleUnambiguousSpacing()
|
|
3062
|
+
}],
|
|
2820
3063
|
/**
|
|
2821
3064
|
* Scroll Padding Top
|
|
2822
3065
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
@@ -2949,17 +3192,18 @@ const getDefaultConfig = () => {
|
|
|
2949
3192
|
}]
|
|
2950
3193
|
},
|
|
2951
3194
|
conflictingClassGroups: {
|
|
3195
|
+
"container-named": ["container-type"],
|
|
2952
3196
|
overflow: ["overflow-x", "overflow-y"],
|
|
2953
3197
|
overscroll: ["overscroll-x", "overscroll-y"],
|
|
2954
|
-
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
3198
|
+
inset: ["inset-x", "inset-y", "inset-bs", "inset-be", "start", "end", "top", "right", "bottom", "left"],
|
|
2955
3199
|
"inset-x": ["right", "left"],
|
|
2956
3200
|
"inset-y": ["top", "bottom"],
|
|
2957
3201
|
flex: ["basis", "grow", "shrink"],
|
|
2958
3202
|
gap: ["gap-x", "gap-y"],
|
|
2959
|
-
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
3203
|
+
p: ["px", "py", "ps", "pe", "pbs", "pbe", "pt", "pr", "pb", "pl"],
|
|
2960
3204
|
px: ["pr", "pl"],
|
|
2961
3205
|
py: ["pt", "pb"],
|
|
2962
|
-
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
3206
|
+
m: ["mx", "my", "ms", "me", "mbs", "mbe", "mt", "mr", "mb", "ml"],
|
|
2963
3207
|
mx: ["mr", "ml"],
|
|
2964
3208
|
my: ["mt", "mb"],
|
|
2965
3209
|
size: ["w", "h"],
|
|
@@ -2979,18 +3223,18 @@ const getDefaultConfig = () => {
|
|
|
2979
3223
|
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
2980
3224
|
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
2981
3225
|
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
2982
|
-
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
3226
|
+
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-bs", "border-w-be", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
2983
3227
|
"border-w-x": ["border-w-r", "border-w-l"],
|
|
2984
3228
|
"border-w-y": ["border-w-t", "border-w-b"],
|
|
2985
|
-
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
3229
|
+
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-bs", "border-color-be", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
2986
3230
|
"border-color-x": ["border-color-r", "border-color-l"],
|
|
2987
3231
|
"border-color-y": ["border-color-t", "border-color-b"],
|
|
2988
3232
|
translate: ["translate-x", "translate-y", "translate-none"],
|
|
2989
3233
|
"translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
|
|
2990
|
-
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
3234
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mbs", "scroll-mbe", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
2991
3235
|
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
2992
3236
|
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
2993
|
-
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
3237
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pbs", "scroll-pbe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
2994
3238
|
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
2995
3239
|
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
2996
3240
|
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
@@ -3001,6 +3245,7 @@ const getDefaultConfig = () => {
|
|
|
3001
3245
|
conflictingClassGroupModifiers: {
|
|
3002
3246
|
"font-size": ["leading"]
|
|
3003
3247
|
},
|
|
3248
|
+
postfixLookupClassGroups: ["container-type"],
|
|
3004
3249
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3005
3250
|
};
|
|
3006
3251
|
};
|