@lukso/web-components 1.102.1 → 1.102.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/dist/components/index.cjs +4 -4
- package/dist/components/index.js +4 -4
- package/dist/components/lukso-button/index.cjs +1 -1
- package/dist/components/lukso-button/index.js +1 -1
- package/dist/components/lukso-card/index.cjs +3 -3
- package/dist/components/lukso-card/index.js +3 -3
- package/dist/components/lukso-checkbox/index.cjs +1 -1
- package/dist/components/lukso-checkbox/index.js +1 -1
- package/dist/components/lukso-color-picker/index.cjs +2 -2
- package/dist/components/lukso-color-picker/index.js +2 -2
- package/dist/components/lukso-dropdown/index.cjs +4 -4
- package/dist/components/lukso-dropdown/index.js +4 -4
- package/dist/components/lukso-dropdown-option/index.cjs +3 -3
- package/dist/components/lukso-dropdown-option/index.js +3 -3
- 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-image/index.cjs +2 -2
- package/dist/components/lukso-image/index.js +2 -2
- package/dist/components/lukso-input/index.cjs +2 -2
- package/dist/components/lukso-input/index.js +2 -2
- 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 +3 -3
- package/dist/components/lukso-navbar/index.js +3 -3
- package/dist/components/lukso-pagination/index.cjs +2 -2
- package/dist/components/lukso-pagination/index.js +2 -2
- 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 +2 -2
- package/dist/components/lukso-progress/index.js +2 -2
- 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 +4 -4
- package/dist/components/lukso-search/index.js +4 -4
- package/dist/components/lukso-select/index.cjs +72 -73
- package/dist/components/lukso-select/index.d.ts.map +1 -1
- package/dist/components/lukso-select/index.js +72 -73
- package/dist/components/lukso-share/index.cjs +23 -26
- package/dist/components/lukso-share/index.js +23 -26
- package/dist/components/lukso-switch/index.cjs +7 -10
- package/dist/components/lukso-switch/index.js +7 -10
- package/dist/components/lukso-tag/index.cjs +31 -34
- package/dist/components/lukso-tag/index.js +31 -34
- package/dist/components/lukso-terms/index.cjs +5 -8
- package/dist/components/lukso-terms/index.js +5 -8
- package/dist/components/lukso-test/index.cjs +12 -15
- package/dist/components/lukso-test/index.js +12 -15
- package/dist/components/lukso-textarea/index.cjs +81 -84
- package/dist/components/lukso-textarea/index.js +81 -84
- package/dist/components/lukso-tooltip/index.cjs +33 -36
- package/dist/components/lukso-tooltip/index.js +33 -36
- package/dist/components/lukso-username/index.cjs +49 -52
- package/dist/components/lukso-username/index.js +49 -52
- package/dist/components/lukso-wizard/index.cjs +41 -44
- package/dist/components/lukso-wizard/index.js +41 -44
- package/dist/{index-6349a8aa.js → index-15b30335.js} +1 -1
- package/dist/{index-474fac60.cjs → index-1ce46c50.cjs} +1 -1
- package/dist/{index-8ccda1e9.cjs → index-89eb56eb.cjs} +3 -5
- package/dist/{index-17879e5a.cjs → index-b9bc3bbb.cjs} +1 -1
- package/dist/{index-d89cc6bc.js → index-c154a31c.js} +3 -5
- package/dist/{index-7e82dcae.js → index-f62a47db.js} +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/{style-map-12def811.cjs → style-map-3dd58f82.cjs} +1 -1
- package/dist/{style-map-cf4f4350.js → style-map-d46cc789.js} +1 -1
- package/package.json +1 -1
|
@@ -2,11 +2,11 @@
|
|
|
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-89eb56eb.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
|
|
7
7
|
const state = require('../../state-d9fb972b.cjs');
|
|
8
8
|
const index = require('../../index-1d3f4a5a.cjs');
|
|
9
|
-
const styleMap = require('../../style-map-
|
|
9
|
+
const styleMap = require('../../style-map-3dd58f82.cjs');
|
|
10
10
|
require('../../bundle-mjs-d58a83c6.cjs');
|
|
11
11
|
require('../../directive-8278ab14.cjs');
|
|
12
12
|
|
|
@@ -3461,42 +3461,39 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
3461
3461
|
return result;
|
|
3462
3462
|
};
|
|
3463
3463
|
exports.LuksoTooltip = class LuksoTooltip extends shared_tailwindElement_index.TailwindStyledElement(style) {
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
true: {
|
|
3494
|
-
trigger: "cursor-default"
|
|
3495
|
-
}
|
|
3464
|
+
variant = "light";
|
|
3465
|
+
size = "medium";
|
|
3466
|
+
placement = "top";
|
|
3467
|
+
trigger = "mouseenter";
|
|
3468
|
+
text = "";
|
|
3469
|
+
maxWidth = 300;
|
|
3470
|
+
show = false;
|
|
3471
|
+
hideOnClick = "true";
|
|
3472
|
+
isClipboardCopy = false;
|
|
3473
|
+
copyText = "";
|
|
3474
|
+
copyValue = "";
|
|
3475
|
+
offset = 10;
|
|
3476
|
+
options = "";
|
|
3477
|
+
showArrow = true;
|
|
3478
|
+
showDelay = 300;
|
|
3479
|
+
hideDelay = 300;
|
|
3480
|
+
showCopy = false;
|
|
3481
|
+
optionsParsed = [];
|
|
3482
|
+
tooltipInstance = void 0;
|
|
3483
|
+
styles = index.ce({
|
|
3484
|
+
slots: {
|
|
3485
|
+
tooltip: "hidden",
|
|
3486
|
+
trigger: "cursor-pointer flex flex-col items-center",
|
|
3487
|
+
options: "rounded-4 hover:bg-neutral-95"
|
|
3488
|
+
},
|
|
3489
|
+
variants: {
|
|
3490
|
+
hasNoText: {
|
|
3491
|
+
true: {
|
|
3492
|
+
trigger: "cursor-default"
|
|
3496
3493
|
}
|
|
3497
3494
|
}
|
|
3498
|
-
}
|
|
3499
|
-
}
|
|
3495
|
+
}
|
|
3496
|
+
});
|
|
3500
3497
|
hideOnClickCheck() {
|
|
3501
3498
|
if (this.hideOnClick === "toggle") {
|
|
3502
3499
|
return this.hideOnClick;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x } from '../../index-c154a31c.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-1c8c9e90.js';
|
|
3
3
|
import { t } from '../../state-b9ca4e74.js';
|
|
4
4
|
import { c as ce } from '../../index-ca8e900d.js';
|
|
5
|
-
import { o } from '../../style-map-
|
|
5
|
+
import { o } from '../../style-map-d46cc789.js';
|
|
6
6
|
import '../../bundle-mjs-fbc6e2a8.js';
|
|
7
7
|
import '../../directive-2bb7789e.js';
|
|
8
8
|
|
|
@@ -3457,42 +3457,39 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
3457
3457
|
return result;
|
|
3458
3458
|
};
|
|
3459
3459
|
let LuksoTooltip = class extends TailwindStyledElement(style) {
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
true: {
|
|
3490
|
-
trigger: "cursor-default"
|
|
3491
|
-
}
|
|
3460
|
+
variant = "light";
|
|
3461
|
+
size = "medium";
|
|
3462
|
+
placement = "top";
|
|
3463
|
+
trigger = "mouseenter";
|
|
3464
|
+
text = "";
|
|
3465
|
+
maxWidth = 300;
|
|
3466
|
+
show = false;
|
|
3467
|
+
hideOnClick = "true";
|
|
3468
|
+
isClipboardCopy = false;
|
|
3469
|
+
copyText = "";
|
|
3470
|
+
copyValue = "";
|
|
3471
|
+
offset = 10;
|
|
3472
|
+
options = "";
|
|
3473
|
+
showArrow = true;
|
|
3474
|
+
showDelay = 300;
|
|
3475
|
+
hideDelay = 300;
|
|
3476
|
+
showCopy = false;
|
|
3477
|
+
optionsParsed = [];
|
|
3478
|
+
tooltipInstance = void 0;
|
|
3479
|
+
styles = ce({
|
|
3480
|
+
slots: {
|
|
3481
|
+
tooltip: "hidden",
|
|
3482
|
+
trigger: "cursor-pointer flex flex-col items-center",
|
|
3483
|
+
options: "rounded-4 hover:bg-neutral-95"
|
|
3484
|
+
},
|
|
3485
|
+
variants: {
|
|
3486
|
+
hasNoText: {
|
|
3487
|
+
true: {
|
|
3488
|
+
trigger: "cursor-default"
|
|
3492
3489
|
}
|
|
3493
3490
|
}
|
|
3494
|
-
}
|
|
3495
|
-
}
|
|
3491
|
+
}
|
|
3492
|
+
});
|
|
3496
3493
|
hideOnClickCheck() {
|
|
3497
3494
|
if (this.hideOnClick === "toggle") {
|
|
3498
3495
|
return this.hideOnClick;
|
|
@@ -2,10 +2,10 @@
|
|
|
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-89eb56eb.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
|
|
7
7
|
const index = require('../../index-1d3f4a5a.cjs');
|
|
8
|
-
const index$1 = require('../../index-
|
|
8
|
+
const index$1 = require('../../index-b9bc3bbb.cjs');
|
|
9
9
|
require('../../tailwind-config.cjs');
|
|
10
10
|
const cn = require('../../cn-5ceac001.cjs');
|
|
11
11
|
require('../../bundle-mjs-d58a83c6.cjs');
|
|
@@ -1179,60 +1179,57 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
1179
1179
|
return result;
|
|
1180
1180
|
};
|
|
1181
1181
|
exports.LuksoUsername = class LuksoUsername extends shared_tailwindElement_index.TailwindStyledElement(style) {
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
small: {
|
|
1210
|
-
wrapper: "paragraph-ptmono-12-bold"
|
|
1211
|
-
},
|
|
1212
|
-
medium: {
|
|
1213
|
-
wrapper: "paragraph-ptmono-14-bold"
|
|
1214
|
-
},
|
|
1215
|
-
large: {
|
|
1216
|
-
wrapper: "paragraph-ptmono-16-bold"
|
|
1217
|
-
},
|
|
1218
|
-
"x-large": {
|
|
1219
|
-
wrapper: "paragraph-ptmono-24-bold"
|
|
1220
|
-
}
|
|
1182
|
+
name = "";
|
|
1183
|
+
address = "";
|
|
1184
|
+
maxWidth = 200;
|
|
1185
|
+
size = "large";
|
|
1186
|
+
sliceBy = 8;
|
|
1187
|
+
addressColor = "";
|
|
1188
|
+
nameColor = "";
|
|
1189
|
+
customClass = "";
|
|
1190
|
+
hidePrefix = false;
|
|
1191
|
+
prefix = "@";
|
|
1192
|
+
noTransform = false;
|
|
1193
|
+
/** Width of the first 4 bytes of the address */
|
|
1194
|
+
bytesWidth = 52;
|
|
1195
|
+
styles = index.ce({
|
|
1196
|
+
slots: {
|
|
1197
|
+
wrapper: "inline-flex",
|
|
1198
|
+
name: "inline-block whitespace-nowrap overflow-hidden text-ellipsis",
|
|
1199
|
+
address: "inline-block",
|
|
1200
|
+
bytes: "inline-block"
|
|
1201
|
+
},
|
|
1202
|
+
variants: {
|
|
1203
|
+
size: {
|
|
1204
|
+
"x-small": {
|
|
1205
|
+
wrapper: "paragraph-ptmono-10-bold"
|
|
1206
|
+
},
|
|
1207
|
+
small: {
|
|
1208
|
+
wrapper: "paragraph-ptmono-12-bold"
|
|
1221
1209
|
},
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
name: "text-transparent bg-clip-text bg-gradient-to-r from-gradient-1-start to-gradient-1-end"
|
|
1225
|
-
}
|
|
1210
|
+
medium: {
|
|
1211
|
+
wrapper: "paragraph-ptmono-14-bold"
|
|
1226
1212
|
},
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1213
|
+
large: {
|
|
1214
|
+
wrapper: "paragraph-ptmono-16-bold"
|
|
1215
|
+
},
|
|
1216
|
+
"x-large": {
|
|
1217
|
+
wrapper: "paragraph-ptmono-24-bold"
|
|
1218
|
+
}
|
|
1219
|
+
},
|
|
1220
|
+
hasNameColor: {
|
|
1221
|
+
false: {
|
|
1222
|
+
name: "text-transparent bg-clip-text bg-gradient-to-r from-gradient-1-start to-gradient-1-end"
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
hasAddressColor: {
|
|
1226
|
+
false: {
|
|
1227
|
+
address: "text-neutral-20",
|
|
1228
|
+
bytes: "text-neutral-60"
|
|
1232
1229
|
}
|
|
1233
1230
|
}
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1231
|
+
}
|
|
1232
|
+
});
|
|
1236
1233
|
transformName(name) {
|
|
1237
1234
|
if (this.noTransform) {
|
|
1238
1235
|
return name;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x, A } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x, A } from '../../index-c154a31c.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-1c8c9e90.js';
|
|
3
3
|
import { c as ce } from '../../index-ca8e900d.js';
|
|
4
|
-
import { c as customStyleMap } from '../../index-
|
|
4
|
+
import { c as customStyleMap } from '../../index-15b30335.js';
|
|
5
5
|
import '../../tailwind-config.js';
|
|
6
6
|
import { c as cn } from '../../cn-b54dcc61.js';
|
|
7
7
|
import '../../bundle-mjs-fbc6e2a8.js';
|
|
@@ -1175,60 +1175,57 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
1175
1175
|
return result;
|
|
1176
1176
|
};
|
|
1177
1177
|
let LuksoUsername = class extends TailwindStyledElement(style) {
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
small: {
|
|
1206
|
-
wrapper: "paragraph-ptmono-12-bold"
|
|
1207
|
-
},
|
|
1208
|
-
medium: {
|
|
1209
|
-
wrapper: "paragraph-ptmono-14-bold"
|
|
1210
|
-
},
|
|
1211
|
-
large: {
|
|
1212
|
-
wrapper: "paragraph-ptmono-16-bold"
|
|
1213
|
-
},
|
|
1214
|
-
"x-large": {
|
|
1215
|
-
wrapper: "paragraph-ptmono-24-bold"
|
|
1216
|
-
}
|
|
1178
|
+
name = "";
|
|
1179
|
+
address = "";
|
|
1180
|
+
maxWidth = 200;
|
|
1181
|
+
size = "large";
|
|
1182
|
+
sliceBy = 8;
|
|
1183
|
+
addressColor = "";
|
|
1184
|
+
nameColor = "";
|
|
1185
|
+
customClass = "";
|
|
1186
|
+
hidePrefix = false;
|
|
1187
|
+
prefix = "@";
|
|
1188
|
+
noTransform = false;
|
|
1189
|
+
/** Width of the first 4 bytes of the address */
|
|
1190
|
+
bytesWidth = 52;
|
|
1191
|
+
styles = ce({
|
|
1192
|
+
slots: {
|
|
1193
|
+
wrapper: "inline-flex",
|
|
1194
|
+
name: "inline-block whitespace-nowrap overflow-hidden text-ellipsis",
|
|
1195
|
+
address: "inline-block",
|
|
1196
|
+
bytes: "inline-block"
|
|
1197
|
+
},
|
|
1198
|
+
variants: {
|
|
1199
|
+
size: {
|
|
1200
|
+
"x-small": {
|
|
1201
|
+
wrapper: "paragraph-ptmono-10-bold"
|
|
1202
|
+
},
|
|
1203
|
+
small: {
|
|
1204
|
+
wrapper: "paragraph-ptmono-12-bold"
|
|
1217
1205
|
},
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
name: "text-transparent bg-clip-text bg-gradient-to-r from-gradient-1-start to-gradient-1-end"
|
|
1221
|
-
}
|
|
1206
|
+
medium: {
|
|
1207
|
+
wrapper: "paragraph-ptmono-14-bold"
|
|
1222
1208
|
},
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1209
|
+
large: {
|
|
1210
|
+
wrapper: "paragraph-ptmono-16-bold"
|
|
1211
|
+
},
|
|
1212
|
+
"x-large": {
|
|
1213
|
+
wrapper: "paragraph-ptmono-24-bold"
|
|
1214
|
+
}
|
|
1215
|
+
},
|
|
1216
|
+
hasNameColor: {
|
|
1217
|
+
false: {
|
|
1218
|
+
name: "text-transparent bg-clip-text bg-gradient-to-r from-gradient-1-start to-gradient-1-end"
|
|
1219
|
+
}
|
|
1220
|
+
},
|
|
1221
|
+
hasAddressColor: {
|
|
1222
|
+
false: {
|
|
1223
|
+
address: "text-neutral-20",
|
|
1224
|
+
bytes: "text-neutral-60"
|
|
1228
1225
|
}
|
|
1229
1226
|
}
|
|
1230
|
-
}
|
|
1231
|
-
}
|
|
1227
|
+
}
|
|
1228
|
+
});
|
|
1232
1229
|
transformName(name) {
|
|
1233
1230
|
if (this.noTransform) {
|
|
1234
1231
|
return name;
|
|
@@ -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-89eb56eb.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
|
|
7
7
|
const directive = require('../../directive-8278ab14.cjs');
|
|
8
8
|
const index = require('../../index-1d3f4a5a.cjs');
|
|
@@ -35,61 +35,58 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
35
35
|
return result;
|
|
36
36
|
};
|
|
37
37
|
exports.LuksoWizard = class LuksoWizard extends shared_tailwindElement_index.TailwindStyledElement(style) {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
slots: {
|
|
45
|
-
base: `inline-flex flex-col items-center justify-end first:-ml-12 last:-mr-12 relative
|
|
38
|
+
steps = "";
|
|
39
|
+
activeStep = 1;
|
|
40
|
+
size = "medium";
|
|
41
|
+
stepStyles = index.ce({
|
|
42
|
+
slots: {
|
|
43
|
+
base: `inline-flex flex-col items-center justify-end first:-ml-12 last:-mr-12 relative
|
|
46
44
|
[&>.lukso-wizard-circle]:after:last:hidden [&>.lukso-wizard-circle]:before:last:hidden`,
|
|
47
|
-
|
|
45
|
+
circle: `lukso-wizard-circle bg-neutral-90 w-4 h-4 rounded-full shadow-wizard-step mt-2 flex items-center
|
|
48
46
|
border-[1px] border-solid border-[rgba(255,255,255,0.8)]
|
|
49
47
|
after:block after:absolute after:bottom-[7px] after:ml-[15px] after:h-[2px]
|
|
50
48
|
after:content:'' after:bg-transparent after:transition-width after:duration-300
|
|
51
49
|
before:block before:absolute before:bottom-[7px] before:ml-[15px] before:h-[2px]
|
|
52
50
|
before:content:'' before:bg-neutral-90 before:shadow-wizard-line before:w-[calc(100%-16px)]`,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
},
|
|
63
|
-
large: {
|
|
64
|
-
base: "w-[180px]"
|
|
65
|
-
},
|
|
66
|
-
["full-width"]: {
|
|
67
|
-
base: "w-full"
|
|
68
|
-
}
|
|
51
|
+
innerCircle: "lukso-wizard-circle-inner rounded-full w-[10px] h-[10px] ml-[2px]"
|
|
52
|
+
},
|
|
53
|
+
variants: {
|
|
54
|
+
size: {
|
|
55
|
+
small: {
|
|
56
|
+
base: "w-[92px]"
|
|
57
|
+
},
|
|
58
|
+
medium: {
|
|
59
|
+
base: "w-[121px]"
|
|
69
60
|
},
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
61
|
+
large: {
|
|
62
|
+
base: "w-[180px]"
|
|
63
|
+
},
|
|
64
|
+
["full-width"]: {
|
|
65
|
+
base: "w-full"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
completed: {
|
|
69
|
+
true: {
|
|
70
|
+
base: `[&>.lukso-wizard-circle]:after:bg-purple-51
|
|
73
71
|
[&_.lukso-wizard-circle-inner]:bg-gradient-to-t
|
|
74
72
|
[&_.lukso-wizard-circle-inner]:from-gradient-3-start
|
|
75
73
|
[&_.lukso-wizard-circle-inner]:to-gradient-3-end`,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
74
|
+
circle: "completed"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
current: {
|
|
78
|
+
true: {
|
|
79
|
+
circle: "current"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
active: {
|
|
83
|
+
true: {
|
|
84
|
+
base: `[&_.lukso-wizard-circle-inner]:border-2 [&_.lukso-wizard-circle-inner]:border-purple-51`,
|
|
85
|
+
innerCircle: "[&_.lukso-wizard-circle-inner]:border-2 [&_.lukso-wizard-circle-inner]:border-purple-51"
|
|
89
86
|
}
|
|
90
87
|
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
88
|
+
}
|
|
89
|
+
});
|
|
93
90
|
stepTemplate(step, index) {
|
|
94
91
|
const { base, circle, innerCircle } = this.stepStyles({
|
|
95
92
|
completed: index + 1 < this.activeStep,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j, b as T, T as TailwindStyledElement, x } from '../../index-
|
|
1
|
+
import { j, b as T, T as TailwindStyledElement, x } from '../../index-c154a31c.js';
|
|
2
2
|
import { n, e as e$1 } from '../../query-assigned-elements-1c8c9e90.js';
|
|
3
3
|
import { e, i, t } from '../../directive-2bb7789e.js';
|
|
4
4
|
import { c as ce } from '../../index-ca8e900d.js';
|
|
@@ -31,61 +31,58 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
31
31
|
return result;
|
|
32
32
|
};
|
|
33
33
|
let LuksoWizard = class extends TailwindStyledElement(style) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
slots: {
|
|
41
|
-
base: `inline-flex flex-col items-center justify-end first:-ml-12 last:-mr-12 relative
|
|
34
|
+
steps = "";
|
|
35
|
+
activeStep = 1;
|
|
36
|
+
size = "medium";
|
|
37
|
+
stepStyles = ce({
|
|
38
|
+
slots: {
|
|
39
|
+
base: `inline-flex flex-col items-center justify-end first:-ml-12 last:-mr-12 relative
|
|
42
40
|
[&>.lukso-wizard-circle]:after:last:hidden [&>.lukso-wizard-circle]:before:last:hidden`,
|
|
43
|
-
|
|
41
|
+
circle: `lukso-wizard-circle bg-neutral-90 w-4 h-4 rounded-full shadow-wizard-step mt-2 flex items-center
|
|
44
42
|
border-[1px] border-solid border-[rgba(255,255,255,0.8)]
|
|
45
43
|
after:block after:absolute after:bottom-[7px] after:ml-[15px] after:h-[2px]
|
|
46
44
|
after:content:'' after:bg-transparent after:transition-width after:duration-300
|
|
47
45
|
before:block before:absolute before:bottom-[7px] before:ml-[15px] before:h-[2px]
|
|
48
46
|
before:content:'' before:bg-neutral-90 before:shadow-wizard-line before:w-[calc(100%-16px)]`,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
},
|
|
59
|
-
large: {
|
|
60
|
-
base: "w-[180px]"
|
|
61
|
-
},
|
|
62
|
-
["full-width"]: {
|
|
63
|
-
base: "w-full"
|
|
64
|
-
}
|
|
47
|
+
innerCircle: "lukso-wizard-circle-inner rounded-full w-[10px] h-[10px] ml-[2px]"
|
|
48
|
+
},
|
|
49
|
+
variants: {
|
|
50
|
+
size: {
|
|
51
|
+
small: {
|
|
52
|
+
base: "w-[92px]"
|
|
53
|
+
},
|
|
54
|
+
medium: {
|
|
55
|
+
base: "w-[121px]"
|
|
65
56
|
},
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
57
|
+
large: {
|
|
58
|
+
base: "w-[180px]"
|
|
59
|
+
},
|
|
60
|
+
["full-width"]: {
|
|
61
|
+
base: "w-full"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
completed: {
|
|
65
|
+
true: {
|
|
66
|
+
base: `[&>.lukso-wizard-circle]:after:bg-purple-51
|
|
69
67
|
[&_.lukso-wizard-circle-inner]:bg-gradient-to-t
|
|
70
68
|
[&_.lukso-wizard-circle-inner]:from-gradient-3-start
|
|
71
69
|
[&_.lukso-wizard-circle-inner]:to-gradient-3-end`,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}
|
|
70
|
+
circle: "completed"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
current: {
|
|
74
|
+
true: {
|
|
75
|
+
circle: "current"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
active: {
|
|
79
|
+
true: {
|
|
80
|
+
base: `[&_.lukso-wizard-circle-inner]:border-2 [&_.lukso-wizard-circle-inner]:border-purple-51`,
|
|
81
|
+
innerCircle: "[&_.lukso-wizard-circle-inner]:border-2 [&_.lukso-wizard-circle-inner]:border-purple-51"
|
|
85
82
|
}
|
|
86
83
|
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
84
|
+
}
|
|
85
|
+
});
|
|
89
86
|
stepTemplate(step, index) {
|
|
90
87
|
const { base, circle, innerCircle } = this.stepStyles({
|
|
91
88
|
completed: index + 1 < this.activeStep,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const shared_tailwindElement_index = require('./index-
|
|
3
|
+
const shared_tailwindElement_index = require('./index-89eb56eb.cjs');
|
|
4
4
|
const queryAssignedElements = require('./query-assigned-elements-d5e45650.cjs');
|
|
5
5
|
const index = require('./index-1d3f4a5a.cjs');
|
|
6
6
|
require('./components/lukso-icon/index.cjs');
|