@lukso/web-components 1.66.1 → 1.68.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/{cn-4ec0bd94.cjs → cn-5a985a94.cjs} +48 -19
- package/dist/{cn-616567d4.js → cn-e708e7fa.js} +45 -16
- package/dist/components/index.cjs +5 -5
- package/dist/components/index.js +5 -5
- package/dist/components/lukso-button/index.cjs +5 -5
- package/dist/components/lukso-button/index.js +5 -5
- package/dist/components/lukso-card/index.cjs +6 -6
- package/dist/components/lukso-card/index.js +6 -6
- package/dist/components/lukso-checkbox/index.cjs +1 -1
- package/dist/components/lukso-checkbox/index.js +1 -1
- package/dist/components/lukso-footer/index.cjs +1 -1
- package/dist/components/lukso-footer/index.js +1 -1
- package/dist/components/lukso-icon/index.cjs +2 -2
- package/dist/components/lukso-icon/index.js +2 -2
- package/dist/components/lukso-input/index.cjs +1 -1
- package/dist/components/lukso-input/index.js +1 -1
- package/dist/components/lukso-modal/index.cjs +1 -1
- package/dist/components/lukso-modal/index.js +1 -1
- package/dist/components/lukso-navbar/index.cjs +5 -5
- package/dist/components/lukso-navbar/index.js +5 -5
- package/dist/components/lukso-profile/index.cjs +2 -2
- package/dist/components/lukso-profile/index.js +2 -2
- package/dist/components/lukso-progress/index.cjs +3 -3
- package/dist/components/lukso-progress/index.js +3 -3
- package/dist/components/lukso-sanitize/index.cjs +1 -1
- package/dist/components/lukso-sanitize/index.js +1 -1
- package/dist/components/lukso-search/index.cjs +3 -3
- package/dist/components/lukso-search/index.js +3 -3
- package/dist/components/lukso-select/index.cjs +8 -8
- package/dist/components/lukso-select/index.js +8 -8
- package/dist/components/lukso-share/index.cjs +1 -1
- package/dist/components/lukso-share/index.js +1 -1
- package/dist/components/lukso-switch/index.cjs +2 -2
- package/dist/components/lukso-switch/index.js +2 -2
- package/dist/components/lukso-tag/index.cjs +4 -4
- package/dist/components/lukso-tag/index.js +4 -4
- package/dist/components/lukso-terms/index.cjs +2 -2
- package/dist/components/lukso-terms/index.js +2 -2
- package/dist/components/lukso-test/index.cjs +1 -1
- package/dist/components/lukso-test/index.js +1 -1
- package/dist/components/lukso-tooltip/index.cjs +49 -23
- package/dist/components/lukso-tooltip/index.d.ts +10 -2
- package/dist/components/lukso-tooltip/index.d.ts.map +1 -1
- package/dist/components/lukso-tooltip/index.js +49 -23
- package/dist/components/lukso-tooltip/lukso-tooltip.stories.d.ts +3 -1
- package/dist/components/lukso-tooltip/lukso-tooltip.stories.d.ts.map +1 -1
- package/dist/components/lukso-username/index.cjs +2 -2
- package/dist/components/lukso-username/index.js +2 -2
- package/dist/components/lukso-wizard/index.cjs +64 -41
- package/dist/components/lukso-wizard/index.d.ts +3 -3
- package/dist/components/lukso-wizard/index.d.ts.map +1 -1
- package/dist/components/lukso-wizard/index.js +63 -40
- package/dist/components/lukso-wizard/lukso-wizard.stories.d.ts +0 -2
- package/dist/components/lukso-wizard/lukso-wizard.stories.d.ts.map +1 -1
- package/dist/{index-98e8e0d5.cjs → index-0e131d65.cjs} +1 -1
- package/dist/index-5cc4a839.cjs +46 -0
- package/dist/{index-e8741080.cjs → index-66211c85.cjs} +3 -3
- package/dist/index-814bcac2.js +39 -0
- package/dist/{index-1765cfe1.js → index-f171e7da.js} +1 -1
- package/dist/{index-c55a1069.js → index-faa8c4ae.js} +3 -3
- package/dist/index.cjs +5 -5
- package/dist/index.js +5 -5
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/{style-map-9fdda015.js → style-map-21f59b89.js} +1 -1
- package/dist/{style-map-c86dd6e2.cjs → style-map-7d4ddea1.cjs} +1 -1
- package/package.json +1 -1
- package/tools/cn.cjs +45 -16
- package/tools/cn.js +45 -16
- package/dist/index-3527fb14.js +0 -39
- package/dist/index-688c3040.cjs +0 -46
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
const tailwindConfig = require('./tailwind-config.cjs');
|
|
4
4
|
|
|
5
5
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
6
|
-
(typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('cn-
|
|
6
|
+
(typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('cn-5a985a94.cjs', document.baseURI).href)).replace(/^file:\/\/|\/\w+\.?[jt]s$/g, "").replace(/\/index\.[a-z]+$/g, "");
|
|
7
7
|
|
|
8
|
-
(typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('cn-
|
|
8
|
+
(typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('cn-5a985a94.cjs', document.baseURI).href)).replace(/^file:\/\/|\/\w+\.?[jt]s$/g, "").replace(/\/index\.[a-z]+$/g, "");
|
|
9
9
|
|
|
10
|
-
(typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('cn-
|
|
10
|
+
(typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('cn-5a985a94.cjs', document.baseURI).href)).replace(/^file:\/\/|\/\w+\.?[jt]s$/g, "").replace(/\/index\.[a-z]+$/g, "");
|
|
11
11
|
|
|
12
12
|
const CLASS_PART_SEPARATOR = '-';
|
|
13
13
|
function createClassUtils(config) {
|
|
@@ -399,8 +399,9 @@ const fractionRegex = /^\d+\/\d+$/;
|
|
|
399
399
|
const stringLengths = /*#__PURE__*/new Set(['px', 'full', 'screen']);
|
|
400
400
|
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
401
401
|
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$/;
|
|
402
|
-
|
|
403
|
-
|
|
402
|
+
const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
|
|
403
|
+
// Shadow always begins with x and y offset separated by underscore optionally prepended by inset
|
|
404
|
+
const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
404
405
|
const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
405
406
|
function isLength(value) {
|
|
406
407
|
return isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
|
|
@@ -454,7 +455,10 @@ function getIsArbitraryValue(value, label, testValue) {
|
|
|
454
455
|
return false;
|
|
455
456
|
}
|
|
456
457
|
function isLengthOnly(value) {
|
|
457
|
-
|
|
458
|
+
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
459
|
+
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
460
|
+
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
461
|
+
return lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
|
|
458
462
|
}
|
|
459
463
|
function isNever() {
|
|
460
464
|
return false;
|
|
@@ -499,7 +503,7 @@ function getDefaultConfig() {
|
|
|
499
503
|
const getNumberWithAutoAndArbitrary = () => ['auto', isNumber, isArbitraryValue];
|
|
500
504
|
const getPositions = () => ['bottom', 'center', 'left', 'left-bottom', 'left-top', 'right', 'right-bottom', 'right-top', 'top'];
|
|
501
505
|
const getLineStyles = () => ['solid', 'dashed', 'dotted', 'double', 'none'];
|
|
502
|
-
const getBlendModes = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'
|
|
506
|
+
const getBlendModes = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];
|
|
503
507
|
const getAlign = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch'];
|
|
504
508
|
const getZeroAndEmpty = () => ['', '0', isArbitraryValue];
|
|
505
509
|
const getBreaks = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];
|
|
@@ -601,14 +605,14 @@ function getDefaultConfig() {
|
|
|
601
605
|
* @see https://tailwindcss.com/docs/float
|
|
602
606
|
*/
|
|
603
607
|
float: [{
|
|
604
|
-
float: ['right', 'left', 'none']
|
|
608
|
+
float: ['right', 'left', 'none', 'start', 'end']
|
|
605
609
|
}],
|
|
606
610
|
/**
|
|
607
611
|
* Clear
|
|
608
612
|
* @see https://tailwindcss.com/docs/clear
|
|
609
613
|
*/
|
|
610
614
|
clear: [{
|
|
611
|
-
clear: ['left', 'right', 'both', 'none']
|
|
615
|
+
clear: ['left', 'right', 'both', 'none', 'start', 'end']
|
|
612
616
|
}],
|
|
613
617
|
/**
|
|
614
618
|
* Isolation
|
|
@@ -1123,44 +1127,51 @@ function getDefaultConfig() {
|
|
|
1123
1127
|
* @see https://tailwindcss.com/docs/width
|
|
1124
1128
|
*/
|
|
1125
1129
|
w: [{
|
|
1126
|
-
w: ['auto', 'min', 'max', 'fit', isArbitraryValue, spacing]
|
|
1130
|
+
w: ['auto', 'min', 'max', 'fit', 'svw', 'lvw', 'dvw', isArbitraryValue, spacing]
|
|
1127
1131
|
}],
|
|
1128
1132
|
/**
|
|
1129
1133
|
* Min-Width
|
|
1130
1134
|
* @see https://tailwindcss.com/docs/min-width
|
|
1131
1135
|
*/
|
|
1132
1136
|
'min-w': [{
|
|
1133
|
-
'min-w': ['min', 'max', 'fit'
|
|
1137
|
+
'min-w': [isArbitraryValue, spacing, 'min', 'max', 'fit']
|
|
1134
1138
|
}],
|
|
1135
1139
|
/**
|
|
1136
1140
|
* Max-Width
|
|
1137
1141
|
* @see https://tailwindcss.com/docs/max-width
|
|
1138
1142
|
*/
|
|
1139
1143
|
'max-w': [{
|
|
1140
|
-
'max-w': [
|
|
1144
|
+
'max-w': [isArbitraryValue, spacing, 'none', 'full', 'min', 'max', 'fit', 'prose', {
|
|
1141
1145
|
screen: [isTshirtSize]
|
|
1142
|
-
}, isTshirtSize
|
|
1146
|
+
}, isTshirtSize]
|
|
1143
1147
|
}],
|
|
1144
1148
|
/**
|
|
1145
1149
|
* Height
|
|
1146
1150
|
* @see https://tailwindcss.com/docs/height
|
|
1147
1151
|
*/
|
|
1148
1152
|
h: [{
|
|
1149
|
-
h: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit']
|
|
1153
|
+
h: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']
|
|
1150
1154
|
}],
|
|
1151
1155
|
/**
|
|
1152
1156
|
* Min-Height
|
|
1153
1157
|
* @see https://tailwindcss.com/docs/min-height
|
|
1154
1158
|
*/
|
|
1155
1159
|
'min-h': [{
|
|
1156
|
-
'min-h': ['min', 'max', 'fit',
|
|
1160
|
+
'min-h': [isArbitraryValue, spacing, 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']
|
|
1157
1161
|
}],
|
|
1158
1162
|
/**
|
|
1159
1163
|
* Max-Height
|
|
1160
1164
|
* @see https://tailwindcss.com/docs/max-height
|
|
1161
1165
|
*/
|
|
1162
1166
|
'max-h': [{
|
|
1163
|
-
'max-h': [isArbitraryValue, spacing, 'min', 'max', 'fit']
|
|
1167
|
+
'max-h': [isArbitraryValue, spacing, 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']
|
|
1168
|
+
}],
|
|
1169
|
+
/**
|
|
1170
|
+
* Size
|
|
1171
|
+
* @see https://tailwindcss.com/docs/size
|
|
1172
|
+
*/
|
|
1173
|
+
size: [{
|
|
1174
|
+
size: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit']
|
|
1164
1175
|
}],
|
|
1165
1176
|
// Typography
|
|
1166
1177
|
/**
|
|
@@ -1345,6 +1356,13 @@ function getDefaultConfig() {
|
|
|
1345
1356
|
* @see https://tailwindcss.com/docs/text-overflow
|
|
1346
1357
|
*/
|
|
1347
1358
|
'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],
|
|
1359
|
+
/**
|
|
1360
|
+
* Text Wrap
|
|
1361
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
1362
|
+
*/
|
|
1363
|
+
'text-wrap': [{
|
|
1364
|
+
text: ['wrap', 'nowrap', 'balance', 'pretty']
|
|
1365
|
+
}],
|
|
1348
1366
|
/**
|
|
1349
1367
|
* Text Indent
|
|
1350
1368
|
* @see https://tailwindcss.com/docs/text-indent
|
|
@@ -1870,7 +1888,7 @@ function getDefaultConfig() {
|
|
|
1870
1888
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1871
1889
|
*/
|
|
1872
1890
|
'mix-blend': [{
|
|
1873
|
-
'mix-blend': getBlendModes()
|
|
1891
|
+
'mix-blend': [...getBlendModes(), 'plus-lighter', 'plus-darker']
|
|
1874
1892
|
}],
|
|
1875
1893
|
/**
|
|
1876
1894
|
* Background Blend Mode
|
|
@@ -2184,7 +2202,9 @@ function getDefaultConfig() {
|
|
|
2184
2202
|
* Appearance
|
|
2185
2203
|
* @see https://tailwindcss.com/docs/appearance
|
|
2186
2204
|
*/
|
|
2187
|
-
appearance: [
|
|
2205
|
+
appearance: [{
|
|
2206
|
+
appearance: ['none', 'auto']
|
|
2207
|
+
}],
|
|
2188
2208
|
/**
|
|
2189
2209
|
* Cursor
|
|
2190
2210
|
* @see https://tailwindcss.com/docs/cursor
|
|
@@ -2441,7 +2461,14 @@ function getDefaultConfig() {
|
|
|
2441
2461
|
* Screen Readers
|
|
2442
2462
|
* @see https://tailwindcss.com/docs/screen-readers
|
|
2443
2463
|
*/
|
|
2444
|
-
sr: ['sr-only', 'not-sr-only']
|
|
2464
|
+
sr: ['sr-only', 'not-sr-only'],
|
|
2465
|
+
/**
|
|
2466
|
+
* Forced Color Adjust
|
|
2467
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
2468
|
+
*/
|
|
2469
|
+
'forced-color-adjust': [{
|
|
2470
|
+
'forced-color-adjust': ['auto', 'none']
|
|
2471
|
+
}]
|
|
2445
2472
|
},
|
|
2446
2473
|
conflictingClassGroups: {
|
|
2447
2474
|
overflow: ['overflow-x', 'overflow-y'],
|
|
@@ -2457,6 +2484,7 @@ function getDefaultConfig() {
|
|
|
2457
2484
|
m: ['mx', 'my', 'ms', 'me', 'mt', 'mr', 'mb', 'ml'],
|
|
2458
2485
|
mx: ['mr', 'ml'],
|
|
2459
2486
|
my: ['mt', 'mb'],
|
|
2487
|
+
size: ['w', 'h'],
|
|
2460
2488
|
'font-size': ['leading'],
|
|
2461
2489
|
'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],
|
|
2462
2490
|
'fvn-ordinal': ['fvn-normal'],
|
|
@@ -2464,6 +2492,7 @@ function getDefaultConfig() {
|
|
|
2464
2492
|
'fvn-figure': ['fvn-normal'],
|
|
2465
2493
|
'fvn-spacing': ['fvn-normal'],
|
|
2466
2494
|
'fvn-fraction': ['fvn-normal'],
|
|
2495
|
+
'line-clamp': ['display', 'overflow'],
|
|
2467
2496
|
rounded: ['rounded-s', 'rounded-e', 'rounded-t', 'rounded-r', 'rounded-b', 'rounded-l', 'rounded-ss', 'rounded-se', 'rounded-ee', 'rounded-es', 'rounded-tl', 'rounded-tr', 'rounded-br', 'rounded-bl'],
|
|
2468
2497
|
'rounded-s': ['rounded-ss', 'rounded-es'],
|
|
2469
2498
|
'rounded-e': ['rounded-se', 'rounded-ee'],
|
|
@@ -396,8 +396,9 @@ const fractionRegex = /^\d+\/\d+$/;
|
|
|
396
396
|
const stringLengths = /*#__PURE__*/new Set(['px', 'full', 'screen']);
|
|
397
397
|
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
398
398
|
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$/;
|
|
399
|
-
|
|
400
|
-
|
|
399
|
+
const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
|
|
400
|
+
// Shadow always begins with x and y offset separated by underscore optionally prepended by inset
|
|
401
|
+
const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
401
402
|
const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
402
403
|
function isLength(value) {
|
|
403
404
|
return isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
|
|
@@ -451,7 +452,10 @@ function getIsArbitraryValue(value, label, testValue) {
|
|
|
451
452
|
return false;
|
|
452
453
|
}
|
|
453
454
|
function isLengthOnly(value) {
|
|
454
|
-
|
|
455
|
+
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
456
|
+
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
457
|
+
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
458
|
+
return lengthUnitRegex.test(value) && !colorFunctionRegex.test(value);
|
|
455
459
|
}
|
|
456
460
|
function isNever() {
|
|
457
461
|
return false;
|
|
@@ -496,7 +500,7 @@ function getDefaultConfig() {
|
|
|
496
500
|
const getNumberWithAutoAndArbitrary = () => ['auto', isNumber, isArbitraryValue];
|
|
497
501
|
const getPositions = () => ['bottom', 'center', 'left', 'left-bottom', 'left-top', 'right', 'right-bottom', 'right-top', 'top'];
|
|
498
502
|
const getLineStyles = () => ['solid', 'dashed', 'dotted', 'double', 'none'];
|
|
499
|
-
const getBlendModes = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'
|
|
503
|
+
const getBlendModes = () => ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity'];
|
|
500
504
|
const getAlign = () => ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch'];
|
|
501
505
|
const getZeroAndEmpty = () => ['', '0', isArbitraryValue];
|
|
502
506
|
const getBreaks = () => ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];
|
|
@@ -598,14 +602,14 @@ function getDefaultConfig() {
|
|
|
598
602
|
* @see https://tailwindcss.com/docs/float
|
|
599
603
|
*/
|
|
600
604
|
float: [{
|
|
601
|
-
float: ['right', 'left', 'none']
|
|
605
|
+
float: ['right', 'left', 'none', 'start', 'end']
|
|
602
606
|
}],
|
|
603
607
|
/**
|
|
604
608
|
* Clear
|
|
605
609
|
* @see https://tailwindcss.com/docs/clear
|
|
606
610
|
*/
|
|
607
611
|
clear: [{
|
|
608
|
-
clear: ['left', 'right', 'both', 'none']
|
|
612
|
+
clear: ['left', 'right', 'both', 'none', 'start', 'end']
|
|
609
613
|
}],
|
|
610
614
|
/**
|
|
611
615
|
* Isolation
|
|
@@ -1120,44 +1124,51 @@ function getDefaultConfig() {
|
|
|
1120
1124
|
* @see https://tailwindcss.com/docs/width
|
|
1121
1125
|
*/
|
|
1122
1126
|
w: [{
|
|
1123
|
-
w: ['auto', 'min', 'max', 'fit', isArbitraryValue, spacing]
|
|
1127
|
+
w: ['auto', 'min', 'max', 'fit', 'svw', 'lvw', 'dvw', isArbitraryValue, spacing]
|
|
1124
1128
|
}],
|
|
1125
1129
|
/**
|
|
1126
1130
|
* Min-Width
|
|
1127
1131
|
* @see https://tailwindcss.com/docs/min-width
|
|
1128
1132
|
*/
|
|
1129
1133
|
'min-w': [{
|
|
1130
|
-
'min-w': ['min', 'max', 'fit'
|
|
1134
|
+
'min-w': [isArbitraryValue, spacing, 'min', 'max', 'fit']
|
|
1131
1135
|
}],
|
|
1132
1136
|
/**
|
|
1133
1137
|
* Max-Width
|
|
1134
1138
|
* @see https://tailwindcss.com/docs/max-width
|
|
1135
1139
|
*/
|
|
1136
1140
|
'max-w': [{
|
|
1137
|
-
'max-w': [
|
|
1141
|
+
'max-w': [isArbitraryValue, spacing, 'none', 'full', 'min', 'max', 'fit', 'prose', {
|
|
1138
1142
|
screen: [isTshirtSize]
|
|
1139
|
-
}, isTshirtSize
|
|
1143
|
+
}, isTshirtSize]
|
|
1140
1144
|
}],
|
|
1141
1145
|
/**
|
|
1142
1146
|
* Height
|
|
1143
1147
|
* @see https://tailwindcss.com/docs/height
|
|
1144
1148
|
*/
|
|
1145
1149
|
h: [{
|
|
1146
|
-
h: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit']
|
|
1150
|
+
h: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']
|
|
1147
1151
|
}],
|
|
1148
1152
|
/**
|
|
1149
1153
|
* Min-Height
|
|
1150
1154
|
* @see https://tailwindcss.com/docs/min-height
|
|
1151
1155
|
*/
|
|
1152
1156
|
'min-h': [{
|
|
1153
|
-
'min-h': ['min', 'max', 'fit',
|
|
1157
|
+
'min-h': [isArbitraryValue, spacing, 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']
|
|
1154
1158
|
}],
|
|
1155
1159
|
/**
|
|
1156
1160
|
* Max-Height
|
|
1157
1161
|
* @see https://tailwindcss.com/docs/max-height
|
|
1158
1162
|
*/
|
|
1159
1163
|
'max-h': [{
|
|
1160
|
-
'max-h': [isArbitraryValue, spacing, 'min', 'max', 'fit']
|
|
1164
|
+
'max-h': [isArbitraryValue, spacing, 'min', 'max', 'fit', 'svh', 'lvh', 'dvh']
|
|
1165
|
+
}],
|
|
1166
|
+
/**
|
|
1167
|
+
* Size
|
|
1168
|
+
* @see https://tailwindcss.com/docs/size
|
|
1169
|
+
*/
|
|
1170
|
+
size: [{
|
|
1171
|
+
size: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit']
|
|
1161
1172
|
}],
|
|
1162
1173
|
// Typography
|
|
1163
1174
|
/**
|
|
@@ -1342,6 +1353,13 @@ function getDefaultConfig() {
|
|
|
1342
1353
|
* @see https://tailwindcss.com/docs/text-overflow
|
|
1343
1354
|
*/
|
|
1344
1355
|
'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],
|
|
1356
|
+
/**
|
|
1357
|
+
* Text Wrap
|
|
1358
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
1359
|
+
*/
|
|
1360
|
+
'text-wrap': [{
|
|
1361
|
+
text: ['wrap', 'nowrap', 'balance', 'pretty']
|
|
1362
|
+
}],
|
|
1345
1363
|
/**
|
|
1346
1364
|
* Text Indent
|
|
1347
1365
|
* @see https://tailwindcss.com/docs/text-indent
|
|
@@ -1867,7 +1885,7 @@ function getDefaultConfig() {
|
|
|
1867
1885
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1868
1886
|
*/
|
|
1869
1887
|
'mix-blend': [{
|
|
1870
|
-
'mix-blend': getBlendModes()
|
|
1888
|
+
'mix-blend': [...getBlendModes(), 'plus-lighter', 'plus-darker']
|
|
1871
1889
|
}],
|
|
1872
1890
|
/**
|
|
1873
1891
|
* Background Blend Mode
|
|
@@ -2181,7 +2199,9 @@ function getDefaultConfig() {
|
|
|
2181
2199
|
* Appearance
|
|
2182
2200
|
* @see https://tailwindcss.com/docs/appearance
|
|
2183
2201
|
*/
|
|
2184
|
-
appearance: [
|
|
2202
|
+
appearance: [{
|
|
2203
|
+
appearance: ['none', 'auto']
|
|
2204
|
+
}],
|
|
2185
2205
|
/**
|
|
2186
2206
|
* Cursor
|
|
2187
2207
|
* @see https://tailwindcss.com/docs/cursor
|
|
@@ -2438,7 +2458,14 @@ function getDefaultConfig() {
|
|
|
2438
2458
|
* Screen Readers
|
|
2439
2459
|
* @see https://tailwindcss.com/docs/screen-readers
|
|
2440
2460
|
*/
|
|
2441
|
-
sr: ['sr-only', 'not-sr-only']
|
|
2461
|
+
sr: ['sr-only', 'not-sr-only'],
|
|
2462
|
+
/**
|
|
2463
|
+
* Forced Color Adjust
|
|
2464
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
2465
|
+
*/
|
|
2466
|
+
'forced-color-adjust': [{
|
|
2467
|
+
'forced-color-adjust': ['auto', 'none']
|
|
2468
|
+
}]
|
|
2442
2469
|
},
|
|
2443
2470
|
conflictingClassGroups: {
|
|
2444
2471
|
overflow: ['overflow-x', 'overflow-y'],
|
|
@@ -2454,6 +2481,7 @@ function getDefaultConfig() {
|
|
|
2454
2481
|
m: ['mx', 'my', 'ms', 'me', 'mt', 'mr', 'mb', 'ml'],
|
|
2455
2482
|
mx: ['mr', 'ml'],
|
|
2456
2483
|
my: ['mt', 'mb'],
|
|
2484
|
+
size: ['w', 'h'],
|
|
2457
2485
|
'font-size': ['leading'],
|
|
2458
2486
|
'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],
|
|
2459
2487
|
'fvn-ordinal': ['fvn-normal'],
|
|
@@ -2461,6 +2489,7 @@ function getDefaultConfig() {
|
|
|
2461
2489
|
'fvn-figure': ['fvn-normal'],
|
|
2462
2490
|
'fvn-spacing': ['fvn-normal'],
|
|
2463
2491
|
'fvn-fraction': ['fvn-normal'],
|
|
2492
|
+
'line-clamp': ['display', 'overflow'],
|
|
2464
2493
|
rounded: ['rounded-s', 'rounded-e', 'rounded-t', 'rounded-r', 'rounded-b', 'rounded-l', 'rounded-ss', 'rounded-se', 'rounded-ee', 'rounded-es', 'rounded-tl', 'rounded-tr', 'rounded-br', 'rounded-bl'],
|
|
2465
2494
|
'rounded-s': ['rounded-ss', 'rounded-es'],
|
|
2466
2495
|
'rounded-e': ['rounded-se', 'rounded-ee'],
|
|
@@ -23,15 +23,15 @@ const components_luksoTest_index = require('./lukso-test/index.cjs');
|
|
|
23
23
|
const components_luksoTooltip_index = require('./lukso-tooltip/index.cjs');
|
|
24
24
|
const components_luksoUsername_index = require('./lukso-username/index.cjs');
|
|
25
25
|
const components_luksoWizard_index = require('./lukso-wizard/index.cjs');
|
|
26
|
-
const shared_tailwindElement_index = require('../index-
|
|
27
|
-
require('../cn-
|
|
26
|
+
const shared_tailwindElement_index = require('../index-5cc4a839.cjs');
|
|
27
|
+
require('../cn-5a985a94.cjs');
|
|
28
28
|
require('../query-assigned-elements-1d5d9d4c.cjs');
|
|
29
29
|
require('../state-f73a8b4f.cjs');
|
|
30
|
-
require('../index-
|
|
30
|
+
require('../index-66211c85.cjs');
|
|
31
31
|
require('../tailwind-config.cjs');
|
|
32
|
-
require('../style-map-
|
|
32
|
+
require('../style-map-7d4ddea1.cjs');
|
|
33
33
|
require('../directive-8278ab14.cjs');
|
|
34
|
-
require('../index-
|
|
34
|
+
require('../index-0e131d65.cjs');
|
|
35
35
|
require('../index-e9668573.cjs');
|
|
36
36
|
|
|
37
37
|
|
package/dist/components/index.js
CHANGED
|
@@ -19,13 +19,13 @@ export { LuksoTest } from './lukso-test/index.js';
|
|
|
19
19
|
export { LuksoTooltip } from './lukso-tooltip/index.js';
|
|
20
20
|
export { LuksoUsername } from './lukso-username/index.js';
|
|
21
21
|
export { LuksoWizard } from './lukso-wizard/index.js';
|
|
22
|
-
export { a as TailwindElement, T as TailwindStyledElement } from '../index-
|
|
23
|
-
import '../cn-
|
|
22
|
+
export { a as TailwindElement, T as TailwindStyledElement } from '../index-814bcac2.js';
|
|
23
|
+
import '../cn-e708e7fa.js';
|
|
24
24
|
import '../query-assigned-elements-5d94572f.js';
|
|
25
25
|
import '../state-0a779257.js';
|
|
26
|
-
import '../index-
|
|
26
|
+
import '../index-faa8c4ae.js';
|
|
27
27
|
import '../tailwind-config.js';
|
|
28
|
-
import '../style-map-
|
|
28
|
+
import '../style-map-21f59b89.js';
|
|
29
29
|
import '../directive-2bb7789e.js';
|
|
30
|
-
import '../index-
|
|
30
|
+
import '../index-f171e7da.js';
|
|
31
31
|
import '../index-5e194caf.js';
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-5cc4a839.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-1d5d9d4c.cjs');
|
|
7
7
|
const state = require('../../state-f73a8b4f.cjs');
|
|
8
|
-
const index = require('../../index-
|
|
8
|
+
const index = require('../../index-66211c85.cjs');
|
|
9
9
|
require('../../tailwind-config.cjs');
|
|
10
|
-
const cn = require('../../cn-
|
|
10
|
+
const cn = require('../../cn-5a985a94.cjs');
|
|
11
11
|
|
|
12
12
|
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
|
|
13
13
|
|
|
@@ -44,7 +44,7 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
|
|
|
44
44
|
this.isPressed = false;
|
|
45
45
|
this.noTransition = false;
|
|
46
46
|
this.timer = 0;
|
|
47
|
-
this.counterStyles = index.
|
|
47
|
+
this.counterStyles = index.ie({
|
|
48
48
|
base: `ml-2 border border-neutral-20 rounded-4 px-[2px] py-[1px] paragraph-inter-10-semi-bold text-neutral-20 bg-neutral-100`,
|
|
49
49
|
variants: {
|
|
50
50
|
isActive: {
|
|
@@ -52,7 +52,7 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
|
-
this.buttonStyles = index.
|
|
55
|
+
this.buttonStyles = index.ie({
|
|
56
56
|
base: `flex justify-center items-center relative text-center
|
|
57
57
|
border border-solid cursor-pointer transition
|
|
58
58
|
duration-250 active:scale-98 active:duration-25
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x, A } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x, A } from '../../index-814bcac2.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-5d94572f.js';
|
|
3
3
|
import { t } from '../../state-0a779257.js';
|
|
4
|
-
import {
|
|
4
|
+
import { i as ie } from '../../index-faa8c4ae.js';
|
|
5
5
|
import '../../tailwind-config.js';
|
|
6
|
-
import { c as cn } from '../../cn-
|
|
6
|
+
import { c as cn } from '../../cn-e708e7fa.js';
|
|
7
7
|
|
|
8
8
|
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
|
|
9
9
|
|
|
@@ -40,7 +40,7 @@ let LuksoButton = class extends TailwindStyledElement(style) {
|
|
|
40
40
|
this.isPressed = false;
|
|
41
41
|
this.noTransition = false;
|
|
42
42
|
this.timer = 0;
|
|
43
|
-
this.counterStyles =
|
|
43
|
+
this.counterStyles = ie({
|
|
44
44
|
base: `ml-2 border border-neutral-20 rounded-4 px-[2px] py-[1px] paragraph-inter-10-semi-bold text-neutral-20 bg-neutral-100`,
|
|
45
45
|
variants: {
|
|
46
46
|
isActive: {
|
|
@@ -48,7 +48,7 @@ let LuksoButton = class extends TailwindStyledElement(style) {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
|
-
this.buttonStyles =
|
|
51
|
+
this.buttonStyles = ie({
|
|
52
52
|
base: `flex justify-center items-center relative text-center
|
|
53
53
|
border border-solid cursor-pointer transition
|
|
54
54
|
duration-250 active:scale-98 active:duration-25
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-5cc4a839.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-1d5d9d4c.cjs');
|
|
7
|
-
const styleMap = require('../../style-map-
|
|
8
|
-
const index = require('../../index-
|
|
7
|
+
const styleMap = require('../../style-map-7d4ddea1.cjs');
|
|
8
|
+
const index = require('../../index-66211c85.cjs');
|
|
9
9
|
require('../lukso-profile/index.cjs');
|
|
10
10
|
require('../../tailwind-config.cjs');
|
|
11
|
-
const cn = require('../../cn-
|
|
12
|
-
const index$1 = require('../../index-
|
|
11
|
+
const cn = require('../../cn-5a985a94.cjs');
|
|
12
|
+
const index$1 = require('../../index-0e131d65.cjs');
|
|
13
13
|
require('../../directive-8278ab14.cjs');
|
|
14
14
|
require('../../index-e9668573.cjs');
|
|
15
15
|
|
|
@@ -43,7 +43,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
43
43
|
this.mediumStyles = `rounded-24 shadow-neutral-drop-shadow-2xl`;
|
|
44
44
|
this.smallStyles = `rounded-12 shadow-neutral-drop-shadow`;
|
|
45
45
|
this.smallHoverStyles = `hover:shadow-neutral-drop-shadow-1xl cursor-pointer transition`;
|
|
46
|
-
this.cardStyles = index.
|
|
46
|
+
this.cardStyles = index.ie({
|
|
47
47
|
base: `bg-neutral-100`,
|
|
48
48
|
variants: {
|
|
49
49
|
borderRadius: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x } from '../../index-814bcac2.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-5d94572f.js';
|
|
3
|
-
import { o } from '../../style-map-
|
|
4
|
-
import {
|
|
3
|
+
import { o } from '../../style-map-21f59b89.js';
|
|
4
|
+
import { i as ie } from '../../index-faa8c4ae.js';
|
|
5
5
|
import '../lukso-profile/index.js';
|
|
6
6
|
import '../../tailwind-config.js';
|
|
7
|
-
import { c as cn } from '../../cn-
|
|
8
|
-
import { c as customStyleMap } from '../../index-
|
|
7
|
+
import { c as cn } from '../../cn-e708e7fa.js';
|
|
8
|
+
import { c as customStyleMap } from '../../index-f171e7da.js';
|
|
9
9
|
import '../../directive-2bb7789e.js';
|
|
10
10
|
import '../../index-5e194caf.js';
|
|
11
11
|
|
|
@@ -39,7 +39,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
39
39
|
this.mediumStyles = `rounded-24 shadow-neutral-drop-shadow-2xl`;
|
|
40
40
|
this.smallStyles = `rounded-12 shadow-neutral-drop-shadow`;
|
|
41
41
|
this.smallHoverStyles = `hover:shadow-neutral-drop-shadow-1xl cursor-pointer transition`;
|
|
42
|
-
this.cardStyles =
|
|
42
|
+
this.cardStyles = ie({
|
|
43
43
|
base: `bg-neutral-100`,
|
|
44
44
|
variants: {
|
|
45
45
|
borderRadius: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-5cc4a839.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-1d5d9d4c.cjs');
|
|
7
7
|
const state = require('../../state-f73a8b4f.cjs');
|
|
8
8
|
const index = require('../../index-e9668573.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TailwindElement, x, A } from '../../index-
|
|
1
|
+
import { a as TailwindElement, x, A } from '../../index-814bcac2.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-5d94572f.js';
|
|
3
3
|
import { t } from '../../state-0a779257.js';
|
|
4
4
|
import { c as customClassMap } from '../../index-5e194caf.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-5cc4a839.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-1d5d9d4c.cjs');
|
|
7
7
|
|
|
8
8
|
var __defProp = Object.defineProperty;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-5cc4a839.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-1d5d9d4c.cjs');
|
|
7
|
-
const styleMap = require('../../style-map-
|
|
7
|
+
const styleMap = require('../../style-map-7d4ddea1.cjs');
|
|
8
8
|
require('../../directive-8278ab14.cjs');
|
|
9
9
|
|
|
10
10
|
const style = ":host {\n display: inline-flex\n}";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { x, T as TailwindStyledElement } from '../../index-
|
|
1
|
+
import { x, T as TailwindStyledElement } from '../../index-814bcac2.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-5d94572f.js';
|
|
3
|
-
import { o } from '../../style-map-
|
|
3
|
+
import { o } from '../../style-map-21f59b89.js';
|
|
4
4
|
import '../../directive-2bb7789e.js';
|
|
5
5
|
|
|
6
6
|
const style = ":host {\n display: inline-flex\n}";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-5cc4a839.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-1d5d9d4c.cjs');
|
|
7
7
|
const state = require('../../state-f73a8b4f.cjs');
|
|
8
8
|
const index = require('../../index-e9668573.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TailwindElement, x, A } from '../../index-
|
|
1
|
+
import { a as TailwindElement, x, A } from '../../index-814bcac2.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-5d94572f.js';
|
|
3
3
|
import { t } from '../../state-0a779257.js';
|
|
4
4
|
import { c as customClassMap } from '../../index-5e194caf.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-5cc4a839.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-1d5d9d4c.cjs');
|
|
7
7
|
const index = require('../../index-e9668573.cjs');
|
|
8
8
|
require('../../directive-8278ab14.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as TailwindElement, x } from '../../index-
|
|
1
|
+
import { a as TailwindElement, x } from '../../index-814bcac2.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-5d94572f.js';
|
|
3
3
|
import { c as customClassMap } from '../../index-5e194caf.js';
|
|
4
4
|
import '../../directive-2bb7789e.js';
|