@lukso/web-components 1.114.0 → 1.115.3
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/{bundle-mjs-d58a83c6.cjs → cn-90c03edf.js} +35 -4
- package/dist/{bundle-mjs-fbc6e2a8.js → cn-b6daa995.cjs} +39 -2
- package/dist/components/index.cjs +9 -10
- package/dist/components/index.js +9 -10
- package/dist/components/lukso-button/index.cjs +28 -29
- package/dist/components/lukso-button/index.js +11 -12
- package/dist/components/lukso-card/index.cjs +39 -27
- package/dist/components/lukso-card/index.js +30 -18
- package/dist/components/lukso-checkbox/index.cjs +18 -18
- package/dist/components/lukso-checkbox/index.js +8 -8
- package/dist/components/lukso-color-picker/index.cjs +30 -31
- package/dist/components/lukso-color-picker/index.js +16 -17
- package/dist/components/lukso-dropdown/index.cjs +9 -10
- package/dist/components/lukso-dropdown/index.js +9 -10
- package/dist/components/lukso-dropdown-option/index.cjs +10 -11
- package/dist/components/lukso-dropdown-option/index.js +4 -5
- package/dist/components/lukso-footer/index.cjs +4 -4
- package/dist/components/lukso-footer/index.js +3 -3
- package/dist/components/lukso-icon/icons/minus-filled.d.ts +3 -0
- package/dist/components/lukso-icon/icons/minus-filled.d.ts.map +1 -0
- package/dist/components/lukso-icon/index.cjs +32 -9
- package/dist/components/lukso-icon/index.d.ts.map +1 -1
- package/dist/components/lukso-icon/index.js +28 -5
- package/dist/components/lukso-image/index.cjs +11 -12
- package/dist/components/lukso-image/index.js +9 -10
- package/dist/components/lukso-input/index.cjs +46 -47
- package/dist/components/lukso-input/index.js +22 -23
- package/dist/components/lukso-modal/index.cjs +7 -8
- package/dist/components/lukso-modal/index.js +4 -5
- package/dist/components/lukso-navbar/index.cjs +22 -23
- package/dist/components/lukso-navbar/index.js +13 -14
- package/dist/components/lukso-pagination/index.cjs +13 -14
- package/dist/components/lukso-pagination/index.js +8 -9
- package/dist/components/lukso-profile/index.cjs +6 -7
- package/dist/components/lukso-profile/index.js +6 -7
- package/dist/components/lukso-progress/index.cjs +10 -11
- package/dist/components/lukso-progress/index.js +5 -6
- package/dist/components/lukso-sanitize/index.cjs +6 -6
- package/dist/components/lukso-sanitize/index.js +4 -4
- package/dist/components/lukso-search/index.cjs +41 -42
- package/dist/components/lukso-search/index.js +17 -18
- package/dist/components/lukso-select/index.cjs +38 -39
- package/dist/components/lukso-select/index.js +20 -21
- package/dist/components/lukso-share/index.cjs +5 -5
- package/dist/components/lukso-share/index.js +3 -3
- package/dist/components/lukso-switch/index.cjs +7 -7
- package/dist/components/lukso-switch/index.js +4 -4
- package/dist/components/lukso-tag/index.cjs +10 -11
- package/dist/components/lukso-tag/index.js +5 -6
- package/dist/components/lukso-terms/index.cjs +7 -7
- package/dist/components/lukso-terms/index.js +6 -6
- package/dist/components/lukso-test/index.cjs +12 -12
- package/dist/components/lukso-test/index.js +10 -10
- package/dist/components/lukso-textarea/index.cjs +35 -36
- package/dist/components/lukso-textarea/index.js +17 -18
- package/dist/components/lukso-tooltip/index.cjs +24 -25
- package/dist/components/lukso-tooltip/index.js +8 -9
- package/dist/components/lukso-username/index.cjs +18 -19
- package/dist/components/lukso-username/index.js +7 -8
- package/dist/components/lukso-wizard/index.cjs +9 -10
- package/dist/components/lukso-wizard/index.js +7 -8
- package/dist/index-2b104ecb.cjs +2547 -0
- package/dist/{index-ffb387db.js → index-30c74dfe.js} +4 -4
- package/dist/{index-0fbcd7f4.js → index-40811e43.js} +6 -6
- package/dist/index-86a3fdc1.js +37 -0
- package/dist/{index-1b37efea.cjs → index-9f282d35.cjs} +10 -10
- package/dist/index-d14b6a34.js +2545 -0
- package/dist/{index-73fbf718.cjs → index-dbfb7d50.cjs} +14 -14
- package/dist/index-dda1809d.cjs +46 -0
- package/dist/{index-adf2fc92.js → index-eb08047e.js} +2 -2
- package/dist/{index-0917a814.cjs → index-f564f46f.cjs} +2 -2
- package/dist/index.cjs +9 -10
- package/dist/index.js +9 -10
- package/dist/property-140ef335.js +16 -0
- package/dist/property-46482bf7.cjs +19 -0
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/state-876605e4.js +9 -0
- package/dist/state-94c1d585.cjs +11 -0
- package/dist/style-map-15dde65e.js +10 -0
- package/dist/style-map-552ab28f.cjs +12 -0
- package/package.json +2 -14
- package/tools/copy-assets.cjs +18 -18
- package/tools/copy-assets.d.ts +1 -1
- package/tools/copy-assets.d.ts.map +1 -1
- package/tools/copy-assets.js +18 -18
- package/tools/index.cjs +0 -4
- package/tools/index.d.ts +0 -1
- package/tools/index.d.ts.map +1 -1
- package/tools/index.js +0 -3
- package/dist/cn-01b2d42a.js +0 -37
- package/dist/cn-fc6d6aa9.cjs +0 -40
- package/dist/index-0590cf31.js +0 -37
- package/dist/index-1d3f4a5a.cjs +0 -9
- package/dist/index-6457c2f8.cjs +0 -44
- package/dist/index-ca8e900d.js +0 -7
- package/dist/query-assigned-elements-1c8c9e90.js +0 -28
- package/dist/query-assigned-elements-d5e45650.cjs +0 -32
- package/dist/state-b9ca4e74.js +0 -9
- package/dist/state-d9fb972b.cjs +0 -11
- package/dist/style-map-54c139bb.cjs +0 -12
- package/dist/style-map-7a555e98.js +0 -10
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const
|
|
7
|
-
const state = require('../../state-
|
|
8
|
-
const index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
|
|
6
|
+
const property = require('../../property-46482bf7.cjs');
|
|
7
|
+
const state = require('../../state-94c1d585.cjs');
|
|
8
|
+
const index = require('../../index-2b104ecb.cjs');
|
|
9
9
|
require('../../tailwind-config.cjs');
|
|
10
|
-
const cn = require('../../cn-
|
|
10
|
+
const cn = require('../../cn-b6daa995.cjs');
|
|
11
11
|
require('../lukso-icon/index.cjs');
|
|
12
|
-
require('../../
|
|
13
|
-
require('../../style-map-54c139bb.cjs');
|
|
12
|
+
require('../../style-map-552ab28f.cjs');
|
|
14
13
|
require('../../directive-8278ab14.cjs');
|
|
15
14
|
|
|
16
15
|
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
|
|
@@ -126,10 +125,10 @@ exports.LuksoTextarea = class LuksoTextarea extends shared_tailwindElement_index
|
|
|
126
125
|
inputTemplate(styles) {
|
|
127
126
|
return shared_tailwindElement_index.x`
|
|
128
127
|
<textarea
|
|
129
|
-
name=${this.name ? this.name : shared_tailwindElement_index.
|
|
130
|
-
placeholder=${this.placeholder ? this.placeholder : shared_tailwindElement_index.
|
|
131
|
-
ref=${this.ref ? this.ref : shared_tailwindElement_index.
|
|
132
|
-
id=${this.id ? this.id : shared_tailwindElement_index.
|
|
128
|
+
name=${this.name ? this.name : shared_tailwindElement_index.E}
|
|
129
|
+
placeholder=${this.placeholder ? this.placeholder : shared_tailwindElement_index.E}
|
|
130
|
+
ref=${this.ref ? this.ref : shared_tailwindElement_index.E}
|
|
131
|
+
id=${this.id ? this.id : shared_tailwindElement_index.E}
|
|
133
132
|
rows=${this.rows}
|
|
134
133
|
data-testid=${this.name ? `textarea-${this.name}` : "textarea"}
|
|
135
134
|
?autofocus=${this.autofocus}
|
|
@@ -163,7 +162,7 @@ ${this.value}</textarea
|
|
|
163
162
|
descriptionTemplate() {
|
|
164
163
|
return shared_tailwindElement_index.x`
|
|
165
164
|
<div class="paragraph-inter-12-regular text-neutral-20 pb-2">
|
|
166
|
-
${this.description ?? shared_tailwindElement_index.
|
|
165
|
+
${this.description ?? shared_tailwindElement_index.E}
|
|
167
166
|
</div>
|
|
168
167
|
`;
|
|
169
168
|
}
|
|
@@ -298,78 +297,78 @@ ${this.value}</textarea
|
|
|
298
297
|
});
|
|
299
298
|
return shared_tailwindElement_index.x`
|
|
300
299
|
<div class="w-[inherit]">
|
|
301
|
-
${this.label ? this.labelTemplate() : shared_tailwindElement_index.
|
|
302
|
-
${this.description ? this.descriptionTemplate() : shared_tailwindElement_index.
|
|
300
|
+
${this.label ? this.labelTemplate() : shared_tailwindElement_index.E}
|
|
301
|
+
${this.description ? this.descriptionTemplate() : shared_tailwindElement_index.E}
|
|
303
302
|
<div class=${wrapper()}>
|
|
304
303
|
<div class="relative w-[inherit] flex">
|
|
305
304
|
${this.inputTemplate(input())}
|
|
306
305
|
</div>
|
|
307
306
|
</div>
|
|
308
|
-
${this.error ? this.errorTemplate() : shared_tailwindElement_index.
|
|
307
|
+
${this.error ? this.errorTemplate() : shared_tailwindElement_index.E}
|
|
309
308
|
</div>
|
|
310
309
|
`;
|
|
311
310
|
}
|
|
312
311
|
};
|
|
313
312
|
__decorateClass([
|
|
314
|
-
|
|
313
|
+
property.n({ type: String })
|
|
315
314
|
], exports.LuksoTextarea.prototype, "value", 2);
|
|
316
315
|
__decorateClass([
|
|
317
|
-
|
|
316
|
+
property.n({ type: String })
|
|
318
317
|
], exports.LuksoTextarea.prototype, "name", 2);
|
|
319
318
|
__decorateClass([
|
|
320
|
-
|
|
319
|
+
property.n({ type: String })
|
|
321
320
|
], exports.LuksoTextarea.prototype, "placeholder", 2);
|
|
322
321
|
__decorateClass([
|
|
323
|
-
|
|
322
|
+
property.n({ type: String })
|
|
324
323
|
], exports.LuksoTextarea.prototype, "label", 2);
|
|
325
324
|
__decorateClass([
|
|
326
|
-
|
|
325
|
+
property.n({ type: String })
|
|
327
326
|
], exports.LuksoTextarea.prototype, "id", 2);
|
|
328
327
|
__decorateClass([
|
|
329
|
-
|
|
328
|
+
property.n({ type: String })
|
|
330
329
|
], exports.LuksoTextarea.prototype, "ref", 2);
|
|
331
330
|
__decorateClass([
|
|
332
|
-
|
|
331
|
+
property.n({ type: String })
|
|
333
332
|
], exports.LuksoTextarea.prototype, "description", 2);
|
|
334
333
|
__decorateClass([
|
|
335
|
-
|
|
334
|
+
property.n({ type: String })
|
|
336
335
|
], exports.LuksoTextarea.prototype, "error", 2);
|
|
337
336
|
__decorateClass([
|
|
338
|
-
|
|
337
|
+
property.n({ type: String, attribute: "custom-class" })
|
|
339
338
|
], exports.LuksoTextarea.prototype, "customClass", 2);
|
|
340
339
|
__decorateClass([
|
|
341
|
-
|
|
340
|
+
property.n({ type: Boolean, attribute: "is-full-width" })
|
|
342
341
|
], exports.LuksoTextarea.prototype, "isFullWidth", 2);
|
|
343
342
|
__decorateClass([
|
|
344
|
-
|
|
343
|
+
property.n({ type: Boolean, attribute: "is-readonly" })
|
|
345
344
|
], exports.LuksoTextarea.prototype, "isReadonly", 2);
|
|
346
345
|
__decorateClass([
|
|
347
|
-
|
|
346
|
+
property.n({ type: Boolean, attribute: "is-disabled" })
|
|
348
347
|
], exports.LuksoTextarea.prototype, "isDisabled", 2);
|
|
349
348
|
__decorateClass([
|
|
350
|
-
|
|
349
|
+
property.n({ type: Boolean })
|
|
351
350
|
], exports.LuksoTextarea.prototype, "autofocus", 2);
|
|
352
351
|
__decorateClass([
|
|
353
|
-
|
|
352
|
+
property.n({ type: Boolean })
|
|
354
353
|
], exports.LuksoTextarea.prototype, "borderless", 2);
|
|
355
354
|
__decorateClass([
|
|
356
|
-
|
|
355
|
+
property.n({ type: Boolean, attribute: "is-non-resizable" })
|
|
357
356
|
], exports.LuksoTextarea.prototype, "isNonResizable", 2);
|
|
358
357
|
__decorateClass([
|
|
359
|
-
|
|
358
|
+
property.n({ type: Boolean, attribute: "keep-focus-on-escape" })
|
|
360
359
|
], exports.LuksoTextarea.prototype, "keepFocusOnEscape", 2);
|
|
361
360
|
__decorateClass([
|
|
362
|
-
|
|
361
|
+
property.n({ type: String })
|
|
363
362
|
], exports.LuksoTextarea.prototype, "size", 2);
|
|
364
363
|
__decorateClass([
|
|
365
|
-
|
|
364
|
+
property.n({ type: Number })
|
|
366
365
|
], exports.LuksoTextarea.prototype, "rows", 2);
|
|
367
366
|
__decorateClass([
|
|
368
|
-
state.
|
|
367
|
+
state.r()
|
|
369
368
|
], exports.LuksoTextarea.prototype, "hasFocus", 2);
|
|
370
369
|
__decorateClass([
|
|
371
|
-
state.
|
|
370
|
+
state.r()
|
|
372
371
|
], exports.LuksoTextarea.prototype, "hasHighlight", 2);
|
|
373
372
|
exports.LuksoTextarea = __decorateClass([
|
|
374
|
-
|
|
373
|
+
property.t("lukso-textarea")
|
|
375
374
|
], exports.LuksoTextarea);
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x,
|
|
2
|
-
import { n,
|
|
3
|
-
import {
|
|
4
|
-
import { c as ce } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x, E } from '../../index-86a3fdc1.js';
|
|
2
|
+
import { n, t } from '../../property-140ef335.js';
|
|
3
|
+
import { r } from '../../state-876605e4.js';
|
|
4
|
+
import { c as ce } from '../../index-d14b6a34.js';
|
|
5
5
|
import '../../tailwind-config.js';
|
|
6
|
-
import { c as cn } from '../../cn-
|
|
6
|
+
import { c as cn } from '../../cn-90c03edf.js';
|
|
7
7
|
import '../lukso-icon/index.js';
|
|
8
|
-
import '../../
|
|
9
|
-
import '../../style-map-7a555e98.js';
|
|
8
|
+
import '../../style-map-15dde65e.js';
|
|
10
9
|
import '../../directive-2bb7789e.js';
|
|
11
10
|
|
|
12
11
|
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
|
|
@@ -122,10 +121,10 @@ let LuksoTextarea = class extends TailwindStyledElement(style) {
|
|
|
122
121
|
inputTemplate(styles) {
|
|
123
122
|
return x`
|
|
124
123
|
<textarea
|
|
125
|
-
name=${this.name ? this.name :
|
|
126
|
-
placeholder=${this.placeholder ? this.placeholder :
|
|
127
|
-
ref=${this.ref ? this.ref :
|
|
128
|
-
id=${this.id ? this.id :
|
|
124
|
+
name=${this.name ? this.name : E}
|
|
125
|
+
placeholder=${this.placeholder ? this.placeholder : E}
|
|
126
|
+
ref=${this.ref ? this.ref : E}
|
|
127
|
+
id=${this.id ? this.id : E}
|
|
129
128
|
rows=${this.rows}
|
|
130
129
|
data-testid=${this.name ? `textarea-${this.name}` : "textarea"}
|
|
131
130
|
?autofocus=${this.autofocus}
|
|
@@ -159,7 +158,7 @@ ${this.value}</textarea
|
|
|
159
158
|
descriptionTemplate() {
|
|
160
159
|
return x`
|
|
161
160
|
<div class="paragraph-inter-12-regular text-neutral-20 pb-2">
|
|
162
|
-
${this.description ??
|
|
161
|
+
${this.description ?? E}
|
|
163
162
|
</div>
|
|
164
163
|
`;
|
|
165
164
|
}
|
|
@@ -294,14 +293,14 @@ ${this.value}</textarea
|
|
|
294
293
|
});
|
|
295
294
|
return x`
|
|
296
295
|
<div class="w-[inherit]">
|
|
297
|
-
${this.label ? this.labelTemplate() :
|
|
298
|
-
${this.description ? this.descriptionTemplate() :
|
|
296
|
+
${this.label ? this.labelTemplate() : E}
|
|
297
|
+
${this.description ? this.descriptionTemplate() : E}
|
|
299
298
|
<div class=${wrapper()}>
|
|
300
299
|
<div class="relative w-[inherit] flex">
|
|
301
300
|
${this.inputTemplate(input())}
|
|
302
301
|
</div>
|
|
303
302
|
</div>
|
|
304
|
-
${this.error ? this.errorTemplate() :
|
|
303
|
+
${this.error ? this.errorTemplate() : E}
|
|
305
304
|
</div>
|
|
306
305
|
`;
|
|
307
306
|
}
|
|
@@ -361,13 +360,13 @@ __decorateClass([
|
|
|
361
360
|
n({ type: Number })
|
|
362
361
|
], LuksoTextarea.prototype, "rows", 2);
|
|
363
362
|
__decorateClass([
|
|
364
|
-
|
|
363
|
+
r()
|
|
365
364
|
], LuksoTextarea.prototype, "hasFocus", 2);
|
|
366
365
|
__decorateClass([
|
|
367
|
-
|
|
366
|
+
r()
|
|
368
367
|
], LuksoTextarea.prototype, "hasHighlight", 2);
|
|
369
368
|
LuksoTextarea = __decorateClass([
|
|
370
|
-
|
|
369
|
+
t("lukso-textarea")
|
|
371
370
|
], LuksoTextarea);
|
|
372
371
|
|
|
373
372
|
export { LuksoTextarea };
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const
|
|
7
|
-
const state = require('../../state-
|
|
8
|
-
const index = require('../../index-
|
|
9
|
-
const styleMap = require('../../style-map-
|
|
10
|
-
require('../../bundle-mjs-d58a83c6.cjs');
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
|
|
6
|
+
const property = require('../../property-46482bf7.cjs');
|
|
7
|
+
const state = require('../../state-94c1d585.cjs');
|
|
8
|
+
const index = require('../../index-2b104ecb.cjs');
|
|
9
|
+
const styleMap = require('../../style-map-552ab28f.cjs');
|
|
11
10
|
require('../../directive-8278ab14.cjs');
|
|
12
11
|
|
|
13
12
|
var top = 'top';
|
|
@@ -3621,59 +3620,59 @@ exports.LuksoTooltip = class LuksoTooltip extends shared_tailwindElement_index.T
|
|
|
3621
3620
|
}
|
|
3622
3621
|
};
|
|
3623
3622
|
__decorateClass([
|
|
3624
|
-
|
|
3623
|
+
property.n({ type: String })
|
|
3625
3624
|
], exports.LuksoTooltip.prototype, "variant", 2);
|
|
3626
3625
|
__decorateClass([
|
|
3627
|
-
|
|
3626
|
+
property.n({ type: String })
|
|
3628
3627
|
], exports.LuksoTooltip.prototype, "size", 2);
|
|
3629
3628
|
__decorateClass([
|
|
3630
|
-
|
|
3629
|
+
property.n({ type: String })
|
|
3631
3630
|
], exports.LuksoTooltip.prototype, "placement", 2);
|
|
3632
3631
|
__decorateClass([
|
|
3633
|
-
|
|
3632
|
+
property.n({ type: String })
|
|
3634
3633
|
], exports.LuksoTooltip.prototype, "trigger", 2);
|
|
3635
3634
|
__decorateClass([
|
|
3636
|
-
|
|
3635
|
+
property.n({ type: String })
|
|
3637
3636
|
], exports.LuksoTooltip.prototype, "text", 2);
|
|
3638
3637
|
__decorateClass([
|
|
3639
|
-
|
|
3638
|
+
property.n({ type: Number, attribute: "max-width" })
|
|
3640
3639
|
], exports.LuksoTooltip.prototype, "maxWidth", 2);
|
|
3641
3640
|
__decorateClass([
|
|
3642
|
-
|
|
3641
|
+
property.n({ type: Boolean })
|
|
3643
3642
|
], exports.LuksoTooltip.prototype, "show", 2);
|
|
3644
3643
|
__decorateClass([
|
|
3645
|
-
|
|
3644
|
+
property.n({ type: String, attribute: "hide-on-click" })
|
|
3646
3645
|
], exports.LuksoTooltip.prototype, "hideOnClick", 2);
|
|
3647
3646
|
__decorateClass([
|
|
3648
|
-
|
|
3647
|
+
property.n({ type: Boolean, attribute: "is-clipboard-copy" })
|
|
3649
3648
|
], exports.LuksoTooltip.prototype, "isClipboardCopy", 2);
|
|
3650
3649
|
__decorateClass([
|
|
3651
|
-
|
|
3650
|
+
property.n({ type: String, attribute: "copy-text" })
|
|
3652
3651
|
], exports.LuksoTooltip.prototype, "copyText", 2);
|
|
3653
3652
|
__decorateClass([
|
|
3654
|
-
|
|
3653
|
+
property.n({ type: String, attribute: "copy-value" })
|
|
3655
3654
|
], exports.LuksoTooltip.prototype, "copyValue", 2);
|
|
3656
3655
|
__decorateClass([
|
|
3657
|
-
|
|
3656
|
+
property.n({ type: Number })
|
|
3658
3657
|
], exports.LuksoTooltip.prototype, "offset", 2);
|
|
3659
3658
|
__decorateClass([
|
|
3660
|
-
|
|
3659
|
+
property.n({ type: String })
|
|
3661
3660
|
], exports.LuksoTooltip.prototype, "options", 2);
|
|
3662
3661
|
__decorateClass([
|
|
3663
|
-
|
|
3662
|
+
property.n({ type: Boolean, attribute: "show-arrow" })
|
|
3664
3663
|
], exports.LuksoTooltip.prototype, "showArrow", 2);
|
|
3665
3664
|
__decorateClass([
|
|
3666
|
-
|
|
3665
|
+
property.n({ type: Number, attribute: "show-delay" })
|
|
3667
3666
|
], exports.LuksoTooltip.prototype, "showDelay", 2);
|
|
3668
3667
|
__decorateClass([
|
|
3669
|
-
|
|
3668
|
+
property.n({ type: Number, attribute: "hide-delay" })
|
|
3670
3669
|
], exports.LuksoTooltip.prototype, "hideDelay", 2);
|
|
3671
3670
|
__decorateClass([
|
|
3672
|
-
state.
|
|
3671
|
+
state.r()
|
|
3673
3672
|
], exports.LuksoTooltip.prototype, "showCopy", 2);
|
|
3674
3673
|
__decorateClass([
|
|
3675
|
-
state.
|
|
3674
|
+
state.r()
|
|
3676
3675
|
], exports.LuksoTooltip.prototype, "optionsParsed", 2);
|
|
3677
3676
|
exports.LuksoTooltip = __decorateClass([
|
|
3678
|
-
|
|
3677
|
+
property.t("lukso-tooltip")
|
|
3679
3678
|
], exports.LuksoTooltip);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
2
|
-
import { n,
|
|
3
|
-
import {
|
|
4
|
-
import { c as ce } from '../../index-
|
|
5
|
-
import { o } from '../../style-map-
|
|
6
|
-
import '../../bundle-mjs-fbc6e2a8.js';
|
|
1
|
+
import { T as TailwindStyledElement, x } from '../../index-86a3fdc1.js';
|
|
2
|
+
import { n, t } from '../../property-140ef335.js';
|
|
3
|
+
import { r } from '../../state-876605e4.js';
|
|
4
|
+
import { c as ce } from '../../index-d14b6a34.js';
|
|
5
|
+
import { o } from '../../style-map-15dde65e.js';
|
|
7
6
|
import '../../directive-2bb7789e.js';
|
|
8
7
|
|
|
9
8
|
var top = 'top';
|
|
@@ -3665,13 +3664,13 @@ __decorateClass([
|
|
|
3665
3664
|
n({ type: Number, attribute: "hide-delay" })
|
|
3666
3665
|
], LuksoTooltip.prototype, "hideDelay", 2);
|
|
3667
3666
|
__decorateClass([
|
|
3668
|
-
|
|
3667
|
+
r()
|
|
3669
3668
|
], LuksoTooltip.prototype, "showCopy", 2);
|
|
3670
3669
|
__decorateClass([
|
|
3671
|
-
|
|
3670
|
+
r()
|
|
3672
3671
|
], LuksoTooltip.prototype, "optionsParsed", 2);
|
|
3673
3672
|
LuksoTooltip = __decorateClass([
|
|
3674
|
-
|
|
3673
|
+
t("lukso-tooltip")
|
|
3675
3674
|
], LuksoTooltip);
|
|
3676
3675
|
|
|
3677
3676
|
export { LuksoTooltip };
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const
|
|
7
|
-
const index = require('../../index-
|
|
8
|
-
const index$1 = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
|
|
6
|
+
const property = require('../../property-46482bf7.cjs');
|
|
7
|
+
const index = require('../../index-2b104ecb.cjs');
|
|
8
|
+
const index$1 = require('../../index-f564f46f.cjs');
|
|
9
9
|
require('../../tailwind-config.cjs');
|
|
10
|
-
const cn = require('../../cn-
|
|
11
|
-
require('../../bundle-mjs-d58a83c6.cjs');
|
|
10
|
+
const cn = require('../../cn-b6daa995.cjs');
|
|
12
11
|
require('../../directive-8278ab14.cjs');
|
|
13
12
|
|
|
14
13
|
const sliceAddress = (address, startSliceBy = 6, endSliceBy) => {
|
|
@@ -1267,7 +1266,7 @@ exports.LuksoUsername = class LuksoUsername extends shared_tailwindElement_index
|
|
|
1267
1266
|
[`color: var(--${this.nameColor})`]: this.nameColor !== ""
|
|
1268
1267
|
})}
|
|
1269
1268
|
>
|
|
1270
|
-
${this.hidePrefix ? shared_tailwindElement_index.
|
|
1269
|
+
${this.hidePrefix ? shared_tailwindElement_index.E : this.prefix}${name}
|
|
1271
1270
|
</div>`;
|
|
1272
1271
|
}
|
|
1273
1272
|
addressTemplate(styles) {
|
|
@@ -1304,38 +1303,38 @@ exports.LuksoUsername = class LuksoUsername extends shared_tailwindElement_index
|
|
|
1304
1303
|
}
|
|
1305
1304
|
};
|
|
1306
1305
|
__decorateClass([
|
|
1307
|
-
|
|
1306
|
+
property.n({ type: String })
|
|
1308
1307
|
], exports.LuksoUsername.prototype, "name", 2);
|
|
1309
1308
|
__decorateClass([
|
|
1310
|
-
|
|
1309
|
+
property.n({ type: String })
|
|
1311
1310
|
], exports.LuksoUsername.prototype, "address", 2);
|
|
1312
1311
|
__decorateClass([
|
|
1313
|
-
|
|
1312
|
+
property.n({ type: Number, attribute: "max-width" })
|
|
1314
1313
|
], exports.LuksoUsername.prototype, "maxWidth", 2);
|
|
1315
1314
|
__decorateClass([
|
|
1316
|
-
|
|
1315
|
+
property.n({ type: "string" })
|
|
1317
1316
|
], exports.LuksoUsername.prototype, "size", 2);
|
|
1318
1317
|
__decorateClass([
|
|
1319
|
-
|
|
1318
|
+
property.n({ type: Number, attribute: "slice-by" })
|
|
1320
1319
|
], exports.LuksoUsername.prototype, "sliceBy", 2);
|
|
1321
1320
|
__decorateClass([
|
|
1322
|
-
|
|
1321
|
+
property.n({ type: String, attribute: "address-color" })
|
|
1323
1322
|
], exports.LuksoUsername.prototype, "addressColor", 2);
|
|
1324
1323
|
__decorateClass([
|
|
1325
|
-
|
|
1324
|
+
property.n({ type: String, attribute: "name-color" })
|
|
1326
1325
|
], exports.LuksoUsername.prototype, "nameColor", 2);
|
|
1327
1326
|
__decorateClass([
|
|
1328
|
-
|
|
1327
|
+
property.n({ type: String, attribute: "custom-class" })
|
|
1329
1328
|
], exports.LuksoUsername.prototype, "customClass", 2);
|
|
1330
1329
|
__decorateClass([
|
|
1331
|
-
|
|
1330
|
+
property.n({ type: Boolean, attribute: "hide-prefix" })
|
|
1332
1331
|
], exports.LuksoUsername.prototype, "hidePrefix", 2);
|
|
1333
1332
|
__decorateClass([
|
|
1334
|
-
|
|
1333
|
+
property.n({ type: String })
|
|
1335
1334
|
], exports.LuksoUsername.prototype, "prefix", 2);
|
|
1336
1335
|
__decorateClass([
|
|
1337
|
-
|
|
1336
|
+
property.n({ type: Boolean, attribute: "no-transform" })
|
|
1338
1337
|
], exports.LuksoUsername.prototype, "noTransform", 2);
|
|
1339
1338
|
exports.LuksoUsername = __decorateClass([
|
|
1340
|
-
|
|
1339
|
+
property.t("lukso-username")
|
|
1341
1340
|
], exports.LuksoUsername);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x,
|
|
2
|
-
import { n,
|
|
3
|
-
import { c as ce } from '../../index-
|
|
4
|
-
import { c as customStyleMap } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x, E } from '../../index-86a3fdc1.js';
|
|
2
|
+
import { n, t } from '../../property-140ef335.js';
|
|
3
|
+
import { c as ce } from '../../index-d14b6a34.js';
|
|
4
|
+
import { c as customStyleMap } from '../../index-eb08047e.js';
|
|
5
5
|
import '../../tailwind-config.js';
|
|
6
|
-
import { c as cn } from '../../cn-
|
|
7
|
-
import '../../bundle-mjs-fbc6e2a8.js';
|
|
6
|
+
import { c as cn } from '../../cn-90c03edf.js';
|
|
8
7
|
import '../../directive-2bb7789e.js';
|
|
9
8
|
|
|
10
9
|
const sliceAddress = (address, startSliceBy = 6, endSliceBy) => {
|
|
@@ -1263,7 +1262,7 @@ let LuksoUsername = class extends TailwindStyledElement(style) {
|
|
|
1263
1262
|
[`color: var(--${this.nameColor})`]: this.nameColor !== ""
|
|
1264
1263
|
})}
|
|
1265
1264
|
>
|
|
1266
|
-
${this.hidePrefix ?
|
|
1265
|
+
${this.hidePrefix ? E : this.prefix}${name}
|
|
1267
1266
|
</div>`;
|
|
1268
1267
|
}
|
|
1269
1268
|
addressTemplate(styles) {
|
|
@@ -1333,7 +1332,7 @@ __decorateClass([
|
|
|
1333
1332
|
n({ type: Boolean, attribute: "no-transform" })
|
|
1334
1333
|
], LuksoUsername.prototype, "noTransform", 2);
|
|
1335
1334
|
LuksoUsername = __decorateClass([
|
|
1336
|
-
|
|
1335
|
+
t("lukso-username")
|
|
1337
1336
|
], LuksoUsername);
|
|
1338
1337
|
|
|
1339
1338
|
export { LuksoUsername };
|
|
@@ -2,24 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
|
|
6
|
+
const property = require('../../property-46482bf7.cjs');
|
|
7
7
|
const directive = require('../../directive-8278ab14.cjs');
|
|
8
|
-
const index = require('../../index-
|
|
9
|
-
require('../../bundle-mjs-d58a83c6.cjs');
|
|
8
|
+
const index = require('../../index-2b104ecb.cjs');
|
|
10
9
|
|
|
11
10
|
/**
|
|
12
11
|
* @license
|
|
13
12
|
* Copyright 2020 Google LLC
|
|
14
13
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
15
|
-
*/const {I:
|
|
14
|
+
*/const {I:t}=shared_tailwindElement_index.Z,s=()=>document.createComment(""),r=(o,i,n)=>{const e=o._$AA.parentNode,l=void 0===i?o._$AB:i._$AA;if(void 0===n){const i=e.insertBefore(s(),l),c=e.insertBefore(s(),l);n=new t(i,c,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,c=i!==o;if(c){let t;n._$AQ?.(o),n._$AM=o,void 0!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v=(o,t,i=o)=>(o._$AI(t,i),o),u$1={},m=(o,t=u$1)=>o._$AH=t,p=o=>o._$AH,M=o=>{o._$AP?.(!1,!0);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o;}};
|
|
16
15
|
|
|
17
16
|
/**
|
|
18
17
|
* @license
|
|
19
18
|
* Copyright 2017 Google LLC
|
|
20
19
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
21
20
|
*/
|
|
22
|
-
const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=directive.e(class extends directive.i{constructor(e){if(super(e),e.type!==directive.t.CHILD)throw Error("repeat() can only be used in text expressions")}
|
|
21
|
+
const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=directive.e(class extends directive.i{constructor(e){if(super(e),e.type!==directive.t.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r$1,c]){const d=p(s),{values:p$1,keys:a}=this.dt(t,r$1,c);if(!Array.isArray(d))return this.ut=a,p$1;const h=this.ut??=[],v$1=[];let m$1,y,x=0,j=d.length-1,k=0,w=p$1.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v$1[k]=v(d[x],p$1[k]),x++,k++;else if(h[j]===a[w])v$1[w]=v(d[j],p$1[w]),j--,w--;else if(h[x]===a[w])v$1[w]=v(d[x],p$1[w]),r(s,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p$1[k]),r(s,d[x],d[j]),j--,k++;else if(void 0===m$1&&(m$1=u(a,k,w),y=u(h,x,j)),m$1.has(h[x]))if(m$1.has(h[j])){const e=y.get(a[k]),t=void 0!==e?d[e]:null;if(null===t){const e=r(s,d[x]);v(e,p$1[k]),v$1[k]=e;}else v$1[k]=v(t,p$1[k]),r(s,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=r(s,v$1[w+1]);v(e,p$1[k]),v$1[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M(e);}return this.ut=a,m(s,v$1),shared_tailwindElement_index.T}});
|
|
23
22
|
|
|
24
23
|
const style = ".lukso-wizard-circle::after {\n width: 0;\n}\n.lukso-wizard-circle.completed::after {\n width: calc(100% - 16px);\n}\n.lukso-wizard-circle.current::after {\n width: 0;\n}\n.lukso-wizard-circle.current.animated-step::after {\n width: calc(100% - 16px);\n}";
|
|
25
24
|
|
|
@@ -125,14 +124,14 @@ exports.LuksoWizard = class LuksoWizard extends shared_tailwindElement_index.Tai
|
|
|
125
124
|
}
|
|
126
125
|
};
|
|
127
126
|
__decorateClass([
|
|
128
|
-
|
|
127
|
+
property.n({ type: String })
|
|
129
128
|
], exports.LuksoWizard.prototype, "steps", 2);
|
|
130
129
|
__decorateClass([
|
|
131
|
-
|
|
130
|
+
property.n({ type: Number, attribute: "active-step" })
|
|
132
131
|
], exports.LuksoWizard.prototype, "activeStep", 2);
|
|
133
132
|
__decorateClass([
|
|
134
|
-
|
|
133
|
+
property.n({ type: String })
|
|
135
134
|
], exports.LuksoWizard.prototype, "size", 2);
|
|
136
135
|
exports.LuksoWizard = __decorateClass([
|
|
137
|
-
|
|
136
|
+
property.t("lukso-wizard")
|
|
138
137
|
], exports.LuksoWizard);
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n,
|
|
3
|
-
import { e, i, t } from '../../directive-2bb7789e.js';
|
|
4
|
-
import { c as ce } from '../../index-
|
|
5
|
-
import '../../bundle-mjs-fbc6e2a8.js';
|
|
1
|
+
import { Z, b as T, T as TailwindStyledElement, x } from '../../index-86a3fdc1.js';
|
|
2
|
+
import { n, t as t$2 } from '../../property-140ef335.js';
|
|
3
|
+
import { e, i, t as t$1 } from '../../directive-2bb7789e.js';
|
|
4
|
+
import { c as ce } from '../../index-d14b6a34.js';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* @license
|
|
9
8
|
* Copyright 2020 Google LLC
|
|
10
9
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
11
|
-
*/const {I:
|
|
10
|
+
*/const {I:t}=Z,s=()=>document.createComment(""),r=(o,i,n)=>{const e=o._$AA.parentNode,l=void 0===i?o._$AB:i._$AA;if(void 0===n){const i=e.insertBefore(s(),l),c=e.insertBefore(s(),l);n=new t(i,c,o,o.options);}else {const t=n._$AB.nextSibling,i=n._$AM,c=i!==o;if(c){let t;n._$AQ?.(o),n._$AM=o,void 0!==n._$AP&&(t=o._$AU)!==i._$AU&&n._$AP(t);}if(t!==l||c){let o=n._$AA;for(;o!==t;){const t=o.nextSibling;e.insertBefore(o,l),o=t;}}}return n},v=(o,t,i=o)=>(o._$AI(t,i),o),u$1={},m=(o,t=u$1)=>o._$AH=t,p=o=>o._$AH,M=o=>{o._$AP?.(!1,!0);let t=o._$AA;const i=o._$AB.nextSibling;for(;t!==i;){const o=t.nextSibling;t.remove(),t=o;}};
|
|
12
11
|
|
|
13
12
|
/**
|
|
14
13
|
* @license
|
|
15
14
|
* Copyright 2017 Google LLC
|
|
16
15
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
17
16
|
*/
|
|
18
|
-
const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=e(class extends i{constructor(e){if(super(e),e.type!==t.CHILD)throw Error("repeat() can only be used in text expressions")}
|
|
17
|
+
const u=(e,s,t)=>{const r=new Map;for(let l=s;l<=t;l++)r.set(e[l],l);return r},c=e(class extends i{constructor(e){if(super(e),e.type!==t$1.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,s,t){let r;void 0===t?t=s:void 0!==s&&(r=s);const l=[],o=[];let i=0;for(const s of e)l[i]=r?r(s,i):i,o[i]=t(s,i),i++;return {values:o,keys:l}}render(e,s,t){return this.dt(e,s,t).values}update(s,[t,r$1,c]){const d=p(s),{values:p$1,keys:a}=this.dt(t,r$1,c);if(!Array.isArray(d))return this.ut=a,p$1;const h=this.ut??=[],v$1=[];let m$1,y,x=0,j=d.length-1,k=0,w=p$1.length-1;for(;x<=j&&k<=w;)if(null===d[x])x++;else if(null===d[j])j--;else if(h[x]===a[k])v$1[k]=v(d[x],p$1[k]),x++,k++;else if(h[j]===a[w])v$1[w]=v(d[j],p$1[w]),j--,w--;else if(h[x]===a[w])v$1[w]=v(d[x],p$1[w]),r(s,v$1[w+1],d[x]),x++,w--;else if(h[j]===a[k])v$1[k]=v(d[j],p$1[k]),r(s,d[x],d[j]),j--,k++;else if(void 0===m$1&&(m$1=u(a,k,w),y=u(h,x,j)),m$1.has(h[x]))if(m$1.has(h[j])){const e=y.get(a[k]),t=void 0!==e?d[e]:null;if(null===t){const e=r(s,d[x]);v(e,p$1[k]),v$1[k]=e;}else v$1[k]=v(t,p$1[k]),r(s,d[x],t),d[e]=null;k++;}else M(d[j]),j--;else M(d[x]),x++;for(;k<=w;){const e=r(s,v$1[w+1]);v(e,p$1[k]),v$1[k++]=e;}for(;x<=j;){const e=d[x++];null!==e&&M(e);}return this.ut=a,m(s,v$1),T}});
|
|
19
18
|
|
|
20
19
|
const style = ".lukso-wizard-circle::after {\n width: 0;\n}\n.lukso-wizard-circle.completed::after {\n width: calc(100% - 16px);\n}\n.lukso-wizard-circle.current::after {\n width: 0;\n}\n.lukso-wizard-circle.current.animated-step::after {\n width: calc(100% - 16px);\n}";
|
|
21
20
|
|
|
@@ -130,7 +129,7 @@ __decorateClass([
|
|
|
130
129
|
n({ type: String })
|
|
131
130
|
], LuksoWizard.prototype, "size", 2);
|
|
132
131
|
LuksoWizard = __decorateClass([
|
|
133
|
-
|
|
132
|
+
t$2("lukso-wizard")
|
|
134
133
|
], LuksoWizard);
|
|
135
134
|
|
|
136
135
|
export { LuksoWizard };
|