@gaddario98/react-core 2.1.5 → 2.1.7
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/README.md +630 -4
- package/dist/form/index.js +23 -50
- package/dist/form/index.js.map +1 -1
- package/dist/form/index.mjs +23 -50
- package/dist/form/index.mjs.map +1 -1
- package/dist/pages/index.d.ts +527 -682
- package/dist/pages/index.js +235 -254
- package/dist/pages/index.js.map +1 -1
- package/dist/pages/index.mjs +235 -254
- package/dist/pages/index.mjs.map +1 -1
- package/dist/queries/index.d.ts +25 -4
- package/dist/queries/index.js +211 -216
- package/dist/queries/index.js.map +1 -1
- package/dist/queries/index.mjs +211 -216
- package/dist/queries/index.mjs.map +1 -1
- package/dist/utiles/index.js +204 -39
- package/dist/utiles/index.js.map +1 -1
- package/dist/utiles/index.mjs +204 -39
- package/dist/utiles/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/utiles/index.mjs
CHANGED
|
@@ -488,7 +488,7 @@ const fromTheme = key => {
|
|
|
488
488
|
};
|
|
489
489
|
const arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
|
|
490
490
|
const arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
|
|
491
|
-
const fractionRegex = /^\d
|
|
491
|
+
const fractionRegex = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/;
|
|
492
492
|
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
493
493
|
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$/;
|
|
494
494
|
const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
|
|
@@ -514,6 +514,8 @@ const isArbitrarySize = value => getIsArbitraryValue(value, isLabelSize, isNever
|
|
|
514
514
|
const isArbitraryValue = value => arbitraryValueRegex.test(value);
|
|
515
515
|
const isArbitraryLength = value => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
|
|
516
516
|
const isArbitraryNumber = value => getIsArbitraryValue(value, isLabelNumber, isNumber);
|
|
517
|
+
const isArbitraryWeight = value => getIsArbitraryValue(value, isLabelWeight, isAny);
|
|
518
|
+
const isArbitraryFamilyName = value => getIsArbitraryValue(value, isLabelFamilyName, isNever);
|
|
517
519
|
const isArbitraryPosition = value => getIsArbitraryValue(value, isLabelPosition, isNever);
|
|
518
520
|
const isArbitraryImage = value => getIsArbitraryValue(value, isLabelImage, isImage);
|
|
519
521
|
const isArbitraryShadow = value => getIsArbitraryValue(value, isLabelShadow, isShadow);
|
|
@@ -524,6 +526,7 @@ const isArbitraryVariablePosition = value => getIsArbitraryVariable(value, isLab
|
|
|
524
526
|
const isArbitraryVariableSize = value => getIsArbitraryVariable(value, isLabelSize);
|
|
525
527
|
const isArbitraryVariableImage = value => getIsArbitraryVariable(value, isLabelImage);
|
|
526
528
|
const isArbitraryVariableShadow = value => getIsArbitraryVariable(value, isLabelShadow, true);
|
|
529
|
+
const isArbitraryVariableWeight = value => getIsArbitraryVariable(value, isLabelWeight, true);
|
|
527
530
|
// Helpers
|
|
528
531
|
const getIsArbitraryValue = (value, testLabel, testValue) => {
|
|
529
532
|
const result = arbitraryValueRegex.exec(value);
|
|
@@ -552,6 +555,7 @@ const isLabelSize = label => label === 'length' || label === 'size' || label ===
|
|
|
552
555
|
const isLabelLength = label => label === 'length';
|
|
553
556
|
const isLabelNumber = label => label === 'number';
|
|
554
557
|
const isLabelFamilyName = label => label === 'family-name';
|
|
558
|
+
const isLabelWeight = label => label === 'number' || label === 'weight';
|
|
555
559
|
const isLabelShadow = label => label === 'shadow';
|
|
556
560
|
const getDefaultConfig = () => {
|
|
557
561
|
/**
|
|
@@ -610,6 +614,8 @@ const getDefaultConfig = () => {
|
|
|
610
614
|
const scaleAlignSecondaryAxis = () => ['start', 'end', 'center', 'stretch', 'center-safe', 'end-safe'];
|
|
611
615
|
const scaleMargin = () => ['auto', ...scaleUnambiguousSpacing()];
|
|
612
616
|
const scaleSizing = () => [isFraction, 'auto', 'full', 'dvw', 'dvh', 'lvw', 'lvh', 'svw', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];
|
|
617
|
+
const scaleSizingInline = () => [isFraction, 'screen', 'full', 'dvw', 'lvw', 'svw', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];
|
|
618
|
+
const scaleSizingBlock = () => [isFraction, 'screen', 'full', 'lh', 'dvh', 'lvh', 'svh', 'min', 'max', 'fit', ...scaleUnambiguousSpacing()];
|
|
613
619
|
const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];
|
|
614
620
|
const scaleBgPosition = () => [...scalePosition(), isArbitraryVariablePosition, isArbitraryPosition, {
|
|
615
621
|
position: [isArbitraryVariable, isArbitraryValue]
|
|
@@ -808,40 +814,66 @@ const getDefaultConfig = () => {
|
|
|
808
814
|
*/
|
|
809
815
|
position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],
|
|
810
816
|
/**
|
|
811
|
-
*
|
|
817
|
+
* Inset
|
|
812
818
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
813
819
|
*/
|
|
814
820
|
inset: [{
|
|
815
821
|
inset: scaleInset()
|
|
816
822
|
}],
|
|
817
823
|
/**
|
|
818
|
-
*
|
|
824
|
+
* Inset Inline
|
|
819
825
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
820
826
|
*/
|
|
821
827
|
'inset-x': [{
|
|
822
828
|
'inset-x': scaleInset()
|
|
823
829
|
}],
|
|
824
830
|
/**
|
|
825
|
-
*
|
|
831
|
+
* Inset Block
|
|
826
832
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
827
833
|
*/
|
|
828
834
|
'inset-y': [{
|
|
829
835
|
'inset-y': scaleInset()
|
|
830
836
|
}],
|
|
831
837
|
/**
|
|
832
|
-
* Start
|
|
838
|
+
* Inset Inline Start
|
|
833
839
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
840
|
+
* @todo class group will be renamed to `inset-s` in next major release
|
|
834
841
|
*/
|
|
835
842
|
start: [{
|
|
843
|
+
'inset-s': scaleInset(),
|
|
844
|
+
/**
|
|
845
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
846
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
847
|
+
*/
|
|
836
848
|
start: scaleInset()
|
|
837
849
|
}],
|
|
838
850
|
/**
|
|
839
|
-
* End
|
|
851
|
+
* Inset Inline End
|
|
840
852
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
853
|
+
* @todo class group will be renamed to `inset-e` in next major release
|
|
841
854
|
*/
|
|
842
855
|
end: [{
|
|
856
|
+
'inset-e': scaleInset(),
|
|
857
|
+
/**
|
|
858
|
+
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
859
|
+
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
860
|
+
*/
|
|
843
861
|
end: scaleInset()
|
|
844
862
|
}],
|
|
863
|
+
/**
|
|
864
|
+
* Inset Block Start
|
|
865
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
866
|
+
*/
|
|
867
|
+
'inset-bs': [{
|
|
868
|
+
'inset-bs': scaleInset()
|
|
869
|
+
}],
|
|
870
|
+
/**
|
|
871
|
+
* Inset Block End
|
|
872
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
873
|
+
*/
|
|
874
|
+
'inset-be': [{
|
|
875
|
+
'inset-be': scaleInset()
|
|
876
|
+
}],
|
|
845
877
|
/**
|
|
846
878
|
* Top
|
|
847
879
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
@@ -1108,33 +1140,47 @@ const getDefaultConfig = () => {
|
|
|
1108
1140
|
p: scaleUnambiguousSpacing()
|
|
1109
1141
|
}],
|
|
1110
1142
|
/**
|
|
1111
|
-
* Padding
|
|
1143
|
+
* Padding Inline
|
|
1112
1144
|
* @see https://tailwindcss.com/docs/padding
|
|
1113
1145
|
*/
|
|
1114
1146
|
px: [{
|
|
1115
1147
|
px: scaleUnambiguousSpacing()
|
|
1116
1148
|
}],
|
|
1117
1149
|
/**
|
|
1118
|
-
* Padding
|
|
1150
|
+
* Padding Block
|
|
1119
1151
|
* @see https://tailwindcss.com/docs/padding
|
|
1120
1152
|
*/
|
|
1121
1153
|
py: [{
|
|
1122
1154
|
py: scaleUnambiguousSpacing()
|
|
1123
1155
|
}],
|
|
1124
1156
|
/**
|
|
1125
|
-
* Padding Start
|
|
1157
|
+
* Padding Inline Start
|
|
1126
1158
|
* @see https://tailwindcss.com/docs/padding
|
|
1127
1159
|
*/
|
|
1128
1160
|
ps: [{
|
|
1129
1161
|
ps: scaleUnambiguousSpacing()
|
|
1130
1162
|
}],
|
|
1131
1163
|
/**
|
|
1132
|
-
* Padding End
|
|
1164
|
+
* Padding Inline End
|
|
1133
1165
|
* @see https://tailwindcss.com/docs/padding
|
|
1134
1166
|
*/
|
|
1135
1167
|
pe: [{
|
|
1136
1168
|
pe: scaleUnambiguousSpacing()
|
|
1137
1169
|
}],
|
|
1170
|
+
/**
|
|
1171
|
+
* Padding Block Start
|
|
1172
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1173
|
+
*/
|
|
1174
|
+
pbs: [{
|
|
1175
|
+
pbs: scaleUnambiguousSpacing()
|
|
1176
|
+
}],
|
|
1177
|
+
/**
|
|
1178
|
+
* Padding Block End
|
|
1179
|
+
* @see https://tailwindcss.com/docs/padding
|
|
1180
|
+
*/
|
|
1181
|
+
pbe: [{
|
|
1182
|
+
pbe: scaleUnambiguousSpacing()
|
|
1183
|
+
}],
|
|
1138
1184
|
/**
|
|
1139
1185
|
* Padding Top
|
|
1140
1186
|
* @see https://tailwindcss.com/docs/padding
|
|
@@ -1171,33 +1217,47 @@ const getDefaultConfig = () => {
|
|
|
1171
1217
|
m: scaleMargin()
|
|
1172
1218
|
}],
|
|
1173
1219
|
/**
|
|
1174
|
-
* Margin
|
|
1220
|
+
* Margin Inline
|
|
1175
1221
|
* @see https://tailwindcss.com/docs/margin
|
|
1176
1222
|
*/
|
|
1177
1223
|
mx: [{
|
|
1178
1224
|
mx: scaleMargin()
|
|
1179
1225
|
}],
|
|
1180
1226
|
/**
|
|
1181
|
-
* Margin
|
|
1227
|
+
* Margin Block
|
|
1182
1228
|
* @see https://tailwindcss.com/docs/margin
|
|
1183
1229
|
*/
|
|
1184
1230
|
my: [{
|
|
1185
1231
|
my: scaleMargin()
|
|
1186
1232
|
}],
|
|
1187
1233
|
/**
|
|
1188
|
-
* Margin Start
|
|
1234
|
+
* Margin Inline Start
|
|
1189
1235
|
* @see https://tailwindcss.com/docs/margin
|
|
1190
1236
|
*/
|
|
1191
1237
|
ms: [{
|
|
1192
1238
|
ms: scaleMargin()
|
|
1193
1239
|
}],
|
|
1194
1240
|
/**
|
|
1195
|
-
* Margin End
|
|
1241
|
+
* Margin Inline End
|
|
1196
1242
|
* @see https://tailwindcss.com/docs/margin
|
|
1197
1243
|
*/
|
|
1198
1244
|
me: [{
|
|
1199
1245
|
me: scaleMargin()
|
|
1200
1246
|
}],
|
|
1247
|
+
/**
|
|
1248
|
+
* Margin Block Start
|
|
1249
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1250
|
+
*/
|
|
1251
|
+
mbs: [{
|
|
1252
|
+
mbs: scaleMargin()
|
|
1253
|
+
}],
|
|
1254
|
+
/**
|
|
1255
|
+
* Margin Block End
|
|
1256
|
+
* @see https://tailwindcss.com/docs/margin
|
|
1257
|
+
*/
|
|
1258
|
+
mbe: [{
|
|
1259
|
+
mbe: scaleMargin()
|
|
1260
|
+
}],
|
|
1201
1261
|
/**
|
|
1202
1262
|
* Margin Top
|
|
1203
1263
|
* @see https://tailwindcss.com/docs/margin
|
|
@@ -1260,6 +1320,48 @@ const getDefaultConfig = () => {
|
|
|
1260
1320
|
size: [{
|
|
1261
1321
|
size: scaleSizing()
|
|
1262
1322
|
}],
|
|
1323
|
+
/**
|
|
1324
|
+
* Inline Size
|
|
1325
|
+
* @see https://tailwindcss.com/docs/width
|
|
1326
|
+
*/
|
|
1327
|
+
'inline-size': [{
|
|
1328
|
+
inline: ['auto', ...scaleSizingInline()]
|
|
1329
|
+
}],
|
|
1330
|
+
/**
|
|
1331
|
+
* Min-Inline Size
|
|
1332
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1333
|
+
*/
|
|
1334
|
+
'min-inline-size': [{
|
|
1335
|
+
'min-inline': ['auto', ...scaleSizingInline()]
|
|
1336
|
+
}],
|
|
1337
|
+
/**
|
|
1338
|
+
* Max-Inline Size
|
|
1339
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1340
|
+
*/
|
|
1341
|
+
'max-inline-size': [{
|
|
1342
|
+
'max-inline': ['none', ...scaleSizingInline()]
|
|
1343
|
+
}],
|
|
1344
|
+
/**
|
|
1345
|
+
* Block Size
|
|
1346
|
+
* @see https://tailwindcss.com/docs/height
|
|
1347
|
+
*/
|
|
1348
|
+
'block-size': [{
|
|
1349
|
+
block: ['auto', ...scaleSizingBlock()]
|
|
1350
|
+
}],
|
|
1351
|
+
/**
|
|
1352
|
+
* Min-Block Size
|
|
1353
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1354
|
+
*/
|
|
1355
|
+
'min-block-size': [{
|
|
1356
|
+
'min-block': ['auto', ...scaleSizingBlock()]
|
|
1357
|
+
}],
|
|
1358
|
+
/**
|
|
1359
|
+
* Max-Block Size
|
|
1360
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1361
|
+
*/
|
|
1362
|
+
'max-block-size': [{
|
|
1363
|
+
'max-block': ['none', ...scaleSizingBlock()]
|
|
1364
|
+
}],
|
|
1263
1365
|
/**
|
|
1264
1366
|
* Width
|
|
1265
1367
|
* @see https://tailwindcss.com/docs/width
|
|
@@ -1332,7 +1434,7 @@ const getDefaultConfig = () => {
|
|
|
1332
1434
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1333
1435
|
*/
|
|
1334
1436
|
'font-weight': [{
|
|
1335
|
-
font: [themeFontWeight,
|
|
1437
|
+
font: [themeFontWeight, isArbitraryVariableWeight, isArbitraryWeight]
|
|
1336
1438
|
}],
|
|
1337
1439
|
/**
|
|
1338
1440
|
* Font Stretch
|
|
@@ -1346,7 +1448,14 @@ const getDefaultConfig = () => {
|
|
|
1346
1448
|
* @see https://tailwindcss.com/docs/font-family
|
|
1347
1449
|
*/
|
|
1348
1450
|
'font-family': [{
|
|
1349
|
-
font: [isArbitraryVariableFamilyName,
|
|
1451
|
+
font: [isArbitraryVariableFamilyName, isArbitraryFamilyName, themeFont]
|
|
1452
|
+
}],
|
|
1453
|
+
/**
|
|
1454
|
+
* Font Feature Settings
|
|
1455
|
+
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1456
|
+
*/
|
|
1457
|
+
'font-features': [{
|
|
1458
|
+
'font-features': [isArbitraryValue]
|
|
1350
1459
|
}],
|
|
1351
1460
|
/**
|
|
1352
1461
|
* Font Variant Numeric
|
|
@@ -1765,33 +1874,47 @@ const getDefaultConfig = () => {
|
|
|
1765
1874
|
border: scaleBorderWidth()
|
|
1766
1875
|
}],
|
|
1767
1876
|
/**
|
|
1768
|
-
* Border Width
|
|
1877
|
+
* Border Width Inline
|
|
1769
1878
|
* @see https://tailwindcss.com/docs/border-width
|
|
1770
1879
|
*/
|
|
1771
1880
|
'border-w-x': [{
|
|
1772
1881
|
'border-x': scaleBorderWidth()
|
|
1773
1882
|
}],
|
|
1774
1883
|
/**
|
|
1775
|
-
* Border Width
|
|
1884
|
+
* Border Width Block
|
|
1776
1885
|
* @see https://tailwindcss.com/docs/border-width
|
|
1777
1886
|
*/
|
|
1778
1887
|
'border-w-y': [{
|
|
1779
1888
|
'border-y': scaleBorderWidth()
|
|
1780
1889
|
}],
|
|
1781
1890
|
/**
|
|
1782
|
-
* Border Width Start
|
|
1891
|
+
* Border Width Inline Start
|
|
1783
1892
|
* @see https://tailwindcss.com/docs/border-width
|
|
1784
1893
|
*/
|
|
1785
1894
|
'border-w-s': [{
|
|
1786
1895
|
'border-s': scaleBorderWidth()
|
|
1787
1896
|
}],
|
|
1788
1897
|
/**
|
|
1789
|
-
* Border Width End
|
|
1898
|
+
* Border Width Inline End
|
|
1790
1899
|
* @see https://tailwindcss.com/docs/border-width
|
|
1791
1900
|
*/
|
|
1792
1901
|
'border-w-e': [{
|
|
1793
1902
|
'border-e': scaleBorderWidth()
|
|
1794
1903
|
}],
|
|
1904
|
+
/**
|
|
1905
|
+
* Border Width Block Start
|
|
1906
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1907
|
+
*/
|
|
1908
|
+
'border-w-bs': [{
|
|
1909
|
+
'border-bs': scaleBorderWidth()
|
|
1910
|
+
}],
|
|
1911
|
+
/**
|
|
1912
|
+
* Border Width Block End
|
|
1913
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1914
|
+
*/
|
|
1915
|
+
'border-w-be': [{
|
|
1916
|
+
'border-be': scaleBorderWidth()
|
|
1917
|
+
}],
|
|
1795
1918
|
/**
|
|
1796
1919
|
* Border Width Top
|
|
1797
1920
|
* @see https://tailwindcss.com/docs/border-width
|
|
@@ -1866,33 +1989,47 @@ const getDefaultConfig = () => {
|
|
|
1866
1989
|
border: scaleColor()
|
|
1867
1990
|
}],
|
|
1868
1991
|
/**
|
|
1869
|
-
* Border Color
|
|
1992
|
+
* Border Color Inline
|
|
1870
1993
|
* @see https://tailwindcss.com/docs/border-color
|
|
1871
1994
|
*/
|
|
1872
1995
|
'border-color-x': [{
|
|
1873
1996
|
'border-x': scaleColor()
|
|
1874
1997
|
}],
|
|
1875
1998
|
/**
|
|
1876
|
-
* Border Color
|
|
1999
|
+
* Border Color Block
|
|
1877
2000
|
* @see https://tailwindcss.com/docs/border-color
|
|
1878
2001
|
*/
|
|
1879
2002
|
'border-color-y': [{
|
|
1880
2003
|
'border-y': scaleColor()
|
|
1881
2004
|
}],
|
|
1882
2005
|
/**
|
|
1883
|
-
* Border Color
|
|
2006
|
+
* Border Color Inline Start
|
|
1884
2007
|
* @see https://tailwindcss.com/docs/border-color
|
|
1885
2008
|
*/
|
|
1886
2009
|
'border-color-s': [{
|
|
1887
2010
|
'border-s': scaleColor()
|
|
1888
2011
|
}],
|
|
1889
2012
|
/**
|
|
1890
|
-
* Border Color
|
|
2013
|
+
* Border Color Inline End
|
|
1891
2014
|
* @see https://tailwindcss.com/docs/border-color
|
|
1892
2015
|
*/
|
|
1893
2016
|
'border-color-e': [{
|
|
1894
2017
|
'border-e': scaleColor()
|
|
1895
2018
|
}],
|
|
2019
|
+
/**
|
|
2020
|
+
* Border Color Block Start
|
|
2021
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2022
|
+
*/
|
|
2023
|
+
'border-color-bs': [{
|
|
2024
|
+
'border-bs': scaleColor()
|
|
2025
|
+
}],
|
|
2026
|
+
/**
|
|
2027
|
+
* Border Color Block End
|
|
2028
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
2029
|
+
*/
|
|
2030
|
+
'border-color-be': [{
|
|
2031
|
+
'border-be': scaleColor()
|
|
2032
|
+
}],
|
|
1896
2033
|
/**
|
|
1897
2034
|
* Border Color Top
|
|
1898
2035
|
* @see https://tailwindcss.com/docs/border-color
|
|
@@ -2753,33 +2890,47 @@ const getDefaultConfig = () => {
|
|
|
2753
2890
|
'scroll-m': scaleUnambiguousSpacing()
|
|
2754
2891
|
}],
|
|
2755
2892
|
/**
|
|
2756
|
-
* Scroll Margin
|
|
2893
|
+
* Scroll Margin Inline
|
|
2757
2894
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2758
2895
|
*/
|
|
2759
2896
|
'scroll-mx': [{
|
|
2760
2897
|
'scroll-mx': scaleUnambiguousSpacing()
|
|
2761
2898
|
}],
|
|
2762
2899
|
/**
|
|
2763
|
-
* Scroll Margin
|
|
2900
|
+
* Scroll Margin Block
|
|
2764
2901
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2765
2902
|
*/
|
|
2766
2903
|
'scroll-my': [{
|
|
2767
2904
|
'scroll-my': scaleUnambiguousSpacing()
|
|
2768
2905
|
}],
|
|
2769
2906
|
/**
|
|
2770
|
-
* Scroll Margin Start
|
|
2907
|
+
* Scroll Margin Inline Start
|
|
2771
2908
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2772
2909
|
*/
|
|
2773
2910
|
'scroll-ms': [{
|
|
2774
2911
|
'scroll-ms': scaleUnambiguousSpacing()
|
|
2775
2912
|
}],
|
|
2776
2913
|
/**
|
|
2777
|
-
* Scroll Margin End
|
|
2914
|
+
* Scroll Margin Inline End
|
|
2778
2915
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2779
2916
|
*/
|
|
2780
2917
|
'scroll-me': [{
|
|
2781
2918
|
'scroll-me': scaleUnambiguousSpacing()
|
|
2782
2919
|
}],
|
|
2920
|
+
/**
|
|
2921
|
+
* Scroll Margin Block Start
|
|
2922
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2923
|
+
*/
|
|
2924
|
+
'scroll-mbs': [{
|
|
2925
|
+
'scroll-mbs': scaleUnambiguousSpacing()
|
|
2926
|
+
}],
|
|
2927
|
+
/**
|
|
2928
|
+
* Scroll Margin Block End
|
|
2929
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2930
|
+
*/
|
|
2931
|
+
'scroll-mbe': [{
|
|
2932
|
+
'scroll-mbe': scaleUnambiguousSpacing()
|
|
2933
|
+
}],
|
|
2783
2934
|
/**
|
|
2784
2935
|
* Scroll Margin Top
|
|
2785
2936
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
@@ -2816,33 +2967,47 @@ const getDefaultConfig = () => {
|
|
|
2816
2967
|
'scroll-p': scaleUnambiguousSpacing()
|
|
2817
2968
|
}],
|
|
2818
2969
|
/**
|
|
2819
|
-
* Scroll Padding
|
|
2970
|
+
* Scroll Padding Inline
|
|
2820
2971
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2821
2972
|
*/
|
|
2822
2973
|
'scroll-px': [{
|
|
2823
2974
|
'scroll-px': scaleUnambiguousSpacing()
|
|
2824
2975
|
}],
|
|
2825
2976
|
/**
|
|
2826
|
-
* Scroll Padding
|
|
2977
|
+
* Scroll Padding Block
|
|
2827
2978
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2828
2979
|
*/
|
|
2829
2980
|
'scroll-py': [{
|
|
2830
2981
|
'scroll-py': scaleUnambiguousSpacing()
|
|
2831
2982
|
}],
|
|
2832
2983
|
/**
|
|
2833
|
-
* Scroll Padding Start
|
|
2984
|
+
* Scroll Padding Inline Start
|
|
2834
2985
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2835
2986
|
*/
|
|
2836
2987
|
'scroll-ps': [{
|
|
2837
2988
|
'scroll-ps': scaleUnambiguousSpacing()
|
|
2838
2989
|
}],
|
|
2839
2990
|
/**
|
|
2840
|
-
* Scroll Padding End
|
|
2991
|
+
* Scroll Padding Inline End
|
|
2841
2992
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2842
2993
|
*/
|
|
2843
2994
|
'scroll-pe': [{
|
|
2844
2995
|
'scroll-pe': scaleUnambiguousSpacing()
|
|
2845
2996
|
}],
|
|
2997
|
+
/**
|
|
2998
|
+
* Scroll Padding Block Start
|
|
2999
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3000
|
+
*/
|
|
3001
|
+
'scroll-pbs': [{
|
|
3002
|
+
'scroll-pbs': scaleUnambiguousSpacing()
|
|
3003
|
+
}],
|
|
3004
|
+
/**
|
|
3005
|
+
* Scroll Padding Block End
|
|
3006
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3007
|
+
*/
|
|
3008
|
+
'scroll-pbe': [{
|
|
3009
|
+
'scroll-pbe': scaleUnambiguousSpacing()
|
|
3010
|
+
}],
|
|
2846
3011
|
/**
|
|
2847
3012
|
* Scroll Padding Top
|
|
2848
3013
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
@@ -2977,15 +3142,15 @@ const getDefaultConfig = () => {
|
|
|
2977
3142
|
conflictingClassGroups: {
|
|
2978
3143
|
overflow: ['overflow-x', 'overflow-y'],
|
|
2979
3144
|
overscroll: ['overscroll-x', 'overscroll-y'],
|
|
2980
|
-
inset: ['inset-x', 'inset-y', 'start', 'end', 'top', 'right', 'bottom', 'left'],
|
|
3145
|
+
inset: ['inset-x', 'inset-y', 'inset-bs', 'inset-be', 'start', 'end', 'top', 'right', 'bottom', 'left'],
|
|
2981
3146
|
'inset-x': ['right', 'left'],
|
|
2982
3147
|
'inset-y': ['top', 'bottom'],
|
|
2983
3148
|
flex: ['basis', 'grow', 'shrink'],
|
|
2984
3149
|
gap: ['gap-x', 'gap-y'],
|
|
2985
|
-
p: ['px', 'py', 'ps', 'pe', 'pt', 'pr', 'pb', 'pl'],
|
|
3150
|
+
p: ['px', 'py', 'ps', 'pe', 'pbs', 'pbe', 'pt', 'pr', 'pb', 'pl'],
|
|
2986
3151
|
px: ['pr', 'pl'],
|
|
2987
3152
|
py: ['pt', 'pb'],
|
|
2988
|
-
m: ['mx', 'my', 'ms', 'me', 'mt', 'mr', 'mb', 'ml'],
|
|
3153
|
+
m: ['mx', 'my', 'ms', 'me', 'mbs', 'mbe', 'mt', 'mr', 'mb', 'ml'],
|
|
2989
3154
|
mx: ['mr', 'ml'],
|
|
2990
3155
|
my: ['mt', 'mb'],
|
|
2991
3156
|
size: ['w', 'h'],
|
|
@@ -3005,18 +3170,18 @@ const getDefaultConfig = () => {
|
|
|
3005
3170
|
'rounded-b': ['rounded-br', 'rounded-bl'],
|
|
3006
3171
|
'rounded-l': ['rounded-tl', 'rounded-bl'],
|
|
3007
3172
|
'border-spacing': ['border-spacing-x', 'border-spacing-y'],
|
|
3008
|
-
'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'],
|
|
3173
|
+
'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'],
|
|
3009
3174
|
'border-w-x': ['border-w-r', 'border-w-l'],
|
|
3010
3175
|
'border-w-y': ['border-w-t', 'border-w-b'],
|
|
3011
|
-
'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'],
|
|
3176
|
+
'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'],
|
|
3012
3177
|
'border-color-x': ['border-color-r', 'border-color-l'],
|
|
3013
3178
|
'border-color-y': ['border-color-t', 'border-color-b'],
|
|
3014
3179
|
translate: ['translate-x', 'translate-y', 'translate-none'],
|
|
3015
3180
|
'translate-none': ['translate', 'translate-x', 'translate-y', 'translate-z'],
|
|
3016
|
-
'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],
|
|
3181
|
+
'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mbs', 'scroll-mbe', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],
|
|
3017
3182
|
'scroll-mx': ['scroll-mr', 'scroll-ml'],
|
|
3018
3183
|
'scroll-my': ['scroll-mt', 'scroll-mb'],
|
|
3019
|
-
'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],
|
|
3184
|
+
'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pbs', 'scroll-pbe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],
|
|
3020
3185
|
'scroll-px': ['scroll-pr', 'scroll-pl'],
|
|
3021
3186
|
'scroll-py': ['scroll-pt', 'scroll-pb'],
|
|
3022
3187
|
touch: ['touch-x', 'touch-y', 'touch-pz'],
|