@lukso/web-components 1.115.2 → 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 -12
- package/dist/components/index.js +9 -12
- package/dist/components/lukso-button/index.cjs +28 -31
- package/dist/components/lukso-button/index.js +11 -14
- package/dist/components/lukso-card/index.cjs +39 -29
- package/dist/components/lukso-card/index.js +30 -20
- 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 -33
- package/dist/components/lukso-color-picker/index.js +16 -19
- package/dist/components/lukso-dropdown/index.cjs +9 -12
- package/dist/components/lukso-dropdown/index.js +9 -12
- 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/index.cjs +8 -8
- package/dist/components/lukso-icon/index.js +4 -4
- 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 -49
- package/dist/components/lukso-input/index.js +22 -25
- 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 -16
- package/dist/components/lukso-pagination/index.js +8 -11
- 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 -13
- package/dist/components/lukso-progress/index.js +5 -8
- 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 -44
- package/dist/components/lukso-search/index.js +17 -20
- package/dist/components/lukso-select/index.cjs +38 -41
- package/dist/components/lukso-select/index.js +20 -23
- 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 -38
- package/dist/components/lukso-textarea/index.js +17 -20
- 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 -21
- package/dist/components/lukso-username/index.js +7 -10
- 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 -12
- package/dist/index.js +9 -12
- 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/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,17 +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
|
-
require('
|
|
11
|
-
require('node:path');
|
|
12
|
-
const cn = require('../../cn-fc6d6aa9.cjs');
|
|
10
|
+
const cn = require('../../cn-b6daa995.cjs');
|
|
13
11
|
require('../lukso-icon/index.cjs');
|
|
14
|
-
require('../../
|
|
15
|
-
require('../../style-map-54c139bb.cjs');
|
|
12
|
+
require('../../style-map-552ab28f.cjs');
|
|
16
13
|
require('../../directive-8278ab14.cjs');
|
|
17
14
|
|
|
18
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}";
|
|
@@ -128,10 +125,10 @@ exports.LuksoTextarea = class LuksoTextarea extends shared_tailwindElement_index
|
|
|
128
125
|
inputTemplate(styles) {
|
|
129
126
|
return shared_tailwindElement_index.x`
|
|
130
127
|
<textarea
|
|
131
|
-
name=${this.name ? this.name : shared_tailwindElement_index.
|
|
132
|
-
placeholder=${this.placeholder ? this.placeholder : shared_tailwindElement_index.
|
|
133
|
-
ref=${this.ref ? this.ref : shared_tailwindElement_index.
|
|
134
|
-
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}
|
|
135
132
|
rows=${this.rows}
|
|
136
133
|
data-testid=${this.name ? `textarea-${this.name}` : "textarea"}
|
|
137
134
|
?autofocus=${this.autofocus}
|
|
@@ -165,7 +162,7 @@ ${this.value}</textarea
|
|
|
165
162
|
descriptionTemplate() {
|
|
166
163
|
return shared_tailwindElement_index.x`
|
|
167
164
|
<div class="paragraph-inter-12-regular text-neutral-20 pb-2">
|
|
168
|
-
${this.description ?? shared_tailwindElement_index.
|
|
165
|
+
${this.description ?? shared_tailwindElement_index.E}
|
|
169
166
|
</div>
|
|
170
167
|
`;
|
|
171
168
|
}
|
|
@@ -300,78 +297,78 @@ ${this.value}</textarea
|
|
|
300
297
|
});
|
|
301
298
|
return shared_tailwindElement_index.x`
|
|
302
299
|
<div class="w-[inherit]">
|
|
303
|
-
${this.label ? this.labelTemplate() : shared_tailwindElement_index.
|
|
304
|
-
${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}
|
|
305
302
|
<div class=${wrapper()}>
|
|
306
303
|
<div class="relative w-[inherit] flex">
|
|
307
304
|
${this.inputTemplate(input())}
|
|
308
305
|
</div>
|
|
309
306
|
</div>
|
|
310
|
-
${this.error ? this.errorTemplate() : shared_tailwindElement_index.
|
|
307
|
+
${this.error ? this.errorTemplate() : shared_tailwindElement_index.E}
|
|
311
308
|
</div>
|
|
312
309
|
`;
|
|
313
310
|
}
|
|
314
311
|
};
|
|
315
312
|
__decorateClass([
|
|
316
|
-
|
|
313
|
+
property.n({ type: String })
|
|
317
314
|
], exports.LuksoTextarea.prototype, "value", 2);
|
|
318
315
|
__decorateClass([
|
|
319
|
-
|
|
316
|
+
property.n({ type: String })
|
|
320
317
|
], exports.LuksoTextarea.prototype, "name", 2);
|
|
321
318
|
__decorateClass([
|
|
322
|
-
|
|
319
|
+
property.n({ type: String })
|
|
323
320
|
], exports.LuksoTextarea.prototype, "placeholder", 2);
|
|
324
321
|
__decorateClass([
|
|
325
|
-
|
|
322
|
+
property.n({ type: String })
|
|
326
323
|
], exports.LuksoTextarea.prototype, "label", 2);
|
|
327
324
|
__decorateClass([
|
|
328
|
-
|
|
325
|
+
property.n({ type: String })
|
|
329
326
|
], exports.LuksoTextarea.prototype, "id", 2);
|
|
330
327
|
__decorateClass([
|
|
331
|
-
|
|
328
|
+
property.n({ type: String })
|
|
332
329
|
], exports.LuksoTextarea.prototype, "ref", 2);
|
|
333
330
|
__decorateClass([
|
|
334
|
-
|
|
331
|
+
property.n({ type: String })
|
|
335
332
|
], exports.LuksoTextarea.prototype, "description", 2);
|
|
336
333
|
__decorateClass([
|
|
337
|
-
|
|
334
|
+
property.n({ type: String })
|
|
338
335
|
], exports.LuksoTextarea.prototype, "error", 2);
|
|
339
336
|
__decorateClass([
|
|
340
|
-
|
|
337
|
+
property.n({ type: String, attribute: "custom-class" })
|
|
341
338
|
], exports.LuksoTextarea.prototype, "customClass", 2);
|
|
342
339
|
__decorateClass([
|
|
343
|
-
|
|
340
|
+
property.n({ type: Boolean, attribute: "is-full-width" })
|
|
344
341
|
], exports.LuksoTextarea.prototype, "isFullWidth", 2);
|
|
345
342
|
__decorateClass([
|
|
346
|
-
|
|
343
|
+
property.n({ type: Boolean, attribute: "is-readonly" })
|
|
347
344
|
], exports.LuksoTextarea.prototype, "isReadonly", 2);
|
|
348
345
|
__decorateClass([
|
|
349
|
-
|
|
346
|
+
property.n({ type: Boolean, attribute: "is-disabled" })
|
|
350
347
|
], exports.LuksoTextarea.prototype, "isDisabled", 2);
|
|
351
348
|
__decorateClass([
|
|
352
|
-
|
|
349
|
+
property.n({ type: Boolean })
|
|
353
350
|
], exports.LuksoTextarea.prototype, "autofocus", 2);
|
|
354
351
|
__decorateClass([
|
|
355
|
-
|
|
352
|
+
property.n({ type: Boolean })
|
|
356
353
|
], exports.LuksoTextarea.prototype, "borderless", 2);
|
|
357
354
|
__decorateClass([
|
|
358
|
-
|
|
355
|
+
property.n({ type: Boolean, attribute: "is-non-resizable" })
|
|
359
356
|
], exports.LuksoTextarea.prototype, "isNonResizable", 2);
|
|
360
357
|
__decorateClass([
|
|
361
|
-
|
|
358
|
+
property.n({ type: Boolean, attribute: "keep-focus-on-escape" })
|
|
362
359
|
], exports.LuksoTextarea.prototype, "keepFocusOnEscape", 2);
|
|
363
360
|
__decorateClass([
|
|
364
|
-
|
|
361
|
+
property.n({ type: String })
|
|
365
362
|
], exports.LuksoTextarea.prototype, "size", 2);
|
|
366
363
|
__decorateClass([
|
|
367
|
-
|
|
364
|
+
property.n({ type: Number })
|
|
368
365
|
], exports.LuksoTextarea.prototype, "rows", 2);
|
|
369
366
|
__decorateClass([
|
|
370
|
-
state.
|
|
367
|
+
state.r()
|
|
371
368
|
], exports.LuksoTextarea.prototype, "hasFocus", 2);
|
|
372
369
|
__decorateClass([
|
|
373
|
-
state.
|
|
370
|
+
state.r()
|
|
374
371
|
], exports.LuksoTextarea.prototype, "hasHighlight", 2);
|
|
375
372
|
exports.LuksoTextarea = __decorateClass([
|
|
376
|
-
|
|
373
|
+
property.t("lukso-textarea")
|
|
377
374
|
], exports.LuksoTextarea);
|
|
@@ -1,14 +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 '
|
|
7
|
-
import 'node:path';
|
|
8
|
-
import { c as cn } from '../../cn-01b2d42a.js';
|
|
6
|
+
import { c as cn } from '../../cn-90c03edf.js';
|
|
9
7
|
import '../lukso-icon/index.js';
|
|
10
|
-
import '../../
|
|
11
|
-
import '../../style-map-7a555e98.js';
|
|
8
|
+
import '../../style-map-15dde65e.js';
|
|
12
9
|
import '../../directive-2bb7789e.js';
|
|
13
10
|
|
|
14
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}";
|
|
@@ -124,10 +121,10 @@ let LuksoTextarea = class extends TailwindStyledElement(style) {
|
|
|
124
121
|
inputTemplate(styles) {
|
|
125
122
|
return x`
|
|
126
123
|
<textarea
|
|
127
|
-
name=${this.name ? this.name :
|
|
128
|
-
placeholder=${this.placeholder ? this.placeholder :
|
|
129
|
-
ref=${this.ref ? this.ref :
|
|
130
|
-
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}
|
|
131
128
|
rows=${this.rows}
|
|
132
129
|
data-testid=${this.name ? `textarea-${this.name}` : "textarea"}
|
|
133
130
|
?autofocus=${this.autofocus}
|
|
@@ -161,7 +158,7 @@ ${this.value}</textarea
|
|
|
161
158
|
descriptionTemplate() {
|
|
162
159
|
return x`
|
|
163
160
|
<div class="paragraph-inter-12-regular text-neutral-20 pb-2">
|
|
164
|
-
${this.description ??
|
|
161
|
+
${this.description ?? E}
|
|
165
162
|
</div>
|
|
166
163
|
`;
|
|
167
164
|
}
|
|
@@ -296,14 +293,14 @@ ${this.value}</textarea
|
|
|
296
293
|
});
|
|
297
294
|
return x`
|
|
298
295
|
<div class="w-[inherit]">
|
|
299
|
-
${this.label ? this.labelTemplate() :
|
|
300
|
-
${this.description ? this.descriptionTemplate() :
|
|
296
|
+
${this.label ? this.labelTemplate() : E}
|
|
297
|
+
${this.description ? this.descriptionTemplate() : E}
|
|
301
298
|
<div class=${wrapper()}>
|
|
302
299
|
<div class="relative w-[inherit] flex">
|
|
303
300
|
${this.inputTemplate(input())}
|
|
304
301
|
</div>
|
|
305
302
|
</div>
|
|
306
|
-
${this.error ? this.errorTemplate() :
|
|
303
|
+
${this.error ? this.errorTemplate() : E}
|
|
307
304
|
</div>
|
|
308
305
|
`;
|
|
309
306
|
}
|
|
@@ -363,13 +360,13 @@ __decorateClass([
|
|
|
363
360
|
n({ type: Number })
|
|
364
361
|
], LuksoTextarea.prototype, "rows", 2);
|
|
365
362
|
__decorateClass([
|
|
366
|
-
|
|
363
|
+
r()
|
|
367
364
|
], LuksoTextarea.prototype, "hasFocus", 2);
|
|
368
365
|
__decorateClass([
|
|
369
|
-
|
|
366
|
+
r()
|
|
370
367
|
], LuksoTextarea.prototype, "hasHighlight", 2);
|
|
371
368
|
LuksoTextarea = __decorateClass([
|
|
372
|
-
|
|
369
|
+
t("lukso-textarea")
|
|
373
370
|
], LuksoTextarea);
|
|
374
371
|
|
|
375
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,15 +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
|
-
require('
|
|
11
|
-
require('node:path');
|
|
12
|
-
const cn = require('../../cn-fc6d6aa9.cjs');
|
|
13
|
-
require('../../bundle-mjs-d58a83c6.cjs');
|
|
10
|
+
const cn = require('../../cn-b6daa995.cjs');
|
|
14
11
|
require('../../directive-8278ab14.cjs');
|
|
15
12
|
|
|
16
13
|
const sliceAddress = (address, startSliceBy = 6, endSliceBy) => {
|
|
@@ -1269,7 +1266,7 @@ exports.LuksoUsername = class LuksoUsername extends shared_tailwindElement_index
|
|
|
1269
1266
|
[`color: var(--${this.nameColor})`]: this.nameColor !== ""
|
|
1270
1267
|
})}
|
|
1271
1268
|
>
|
|
1272
|
-
${this.hidePrefix ? shared_tailwindElement_index.
|
|
1269
|
+
${this.hidePrefix ? shared_tailwindElement_index.E : this.prefix}${name}
|
|
1273
1270
|
</div>`;
|
|
1274
1271
|
}
|
|
1275
1272
|
addressTemplate(styles) {
|
|
@@ -1306,38 +1303,38 @@ exports.LuksoUsername = class LuksoUsername extends shared_tailwindElement_index
|
|
|
1306
1303
|
}
|
|
1307
1304
|
};
|
|
1308
1305
|
__decorateClass([
|
|
1309
|
-
|
|
1306
|
+
property.n({ type: String })
|
|
1310
1307
|
], exports.LuksoUsername.prototype, "name", 2);
|
|
1311
1308
|
__decorateClass([
|
|
1312
|
-
|
|
1309
|
+
property.n({ type: String })
|
|
1313
1310
|
], exports.LuksoUsername.prototype, "address", 2);
|
|
1314
1311
|
__decorateClass([
|
|
1315
|
-
|
|
1312
|
+
property.n({ type: Number, attribute: "max-width" })
|
|
1316
1313
|
], exports.LuksoUsername.prototype, "maxWidth", 2);
|
|
1317
1314
|
__decorateClass([
|
|
1318
|
-
|
|
1315
|
+
property.n({ type: "string" })
|
|
1319
1316
|
], exports.LuksoUsername.prototype, "size", 2);
|
|
1320
1317
|
__decorateClass([
|
|
1321
|
-
|
|
1318
|
+
property.n({ type: Number, attribute: "slice-by" })
|
|
1322
1319
|
], exports.LuksoUsername.prototype, "sliceBy", 2);
|
|
1323
1320
|
__decorateClass([
|
|
1324
|
-
|
|
1321
|
+
property.n({ type: String, attribute: "address-color" })
|
|
1325
1322
|
], exports.LuksoUsername.prototype, "addressColor", 2);
|
|
1326
1323
|
__decorateClass([
|
|
1327
|
-
|
|
1324
|
+
property.n({ type: String, attribute: "name-color" })
|
|
1328
1325
|
], exports.LuksoUsername.prototype, "nameColor", 2);
|
|
1329
1326
|
__decorateClass([
|
|
1330
|
-
|
|
1327
|
+
property.n({ type: String, attribute: "custom-class" })
|
|
1331
1328
|
], exports.LuksoUsername.prototype, "customClass", 2);
|
|
1332
1329
|
__decorateClass([
|
|
1333
|
-
|
|
1330
|
+
property.n({ type: Boolean, attribute: "hide-prefix" })
|
|
1334
1331
|
], exports.LuksoUsername.prototype, "hidePrefix", 2);
|
|
1335
1332
|
__decorateClass([
|
|
1336
|
-
|
|
1333
|
+
property.n({ type: String })
|
|
1337
1334
|
], exports.LuksoUsername.prototype, "prefix", 2);
|
|
1338
1335
|
__decorateClass([
|
|
1339
|
-
|
|
1336
|
+
property.n({ type: Boolean, attribute: "no-transform" })
|
|
1340
1337
|
], exports.LuksoUsername.prototype, "noTransform", 2);
|
|
1341
1338
|
exports.LuksoUsername = __decorateClass([
|
|
1342
|
-
|
|
1339
|
+
property.t("lukso-username")
|
|
1343
1340
|
], exports.LuksoUsername);
|
|
@@ -1,12 +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 '
|
|
7
|
-
import 'node:path';
|
|
8
|
-
import { c as cn } from '../../cn-01b2d42a.js';
|
|
9
|
-
import '../../bundle-mjs-fbc6e2a8.js';
|
|
6
|
+
import { c as cn } from '../../cn-90c03edf.js';
|
|
10
7
|
import '../../directive-2bb7789e.js';
|
|
11
8
|
|
|
12
9
|
const sliceAddress = (address, startSliceBy = 6, endSliceBy) => {
|
|
@@ -1265,7 +1262,7 @@ let LuksoUsername = class extends TailwindStyledElement(style) {
|
|
|
1265
1262
|
[`color: var(--${this.nameColor})`]: this.nameColor !== ""
|
|
1266
1263
|
})}
|
|
1267
1264
|
>
|
|
1268
|
-
${this.hidePrefix ?
|
|
1265
|
+
${this.hidePrefix ? E : this.prefix}${name}
|
|
1269
1266
|
</div>`;
|
|
1270
1267
|
}
|
|
1271
1268
|
addressTemplate(styles) {
|
|
@@ -1335,7 +1332,7 @@ __decorateClass([
|
|
|
1335
1332
|
n({ type: Boolean, attribute: "no-transform" })
|
|
1336
1333
|
], LuksoUsername.prototype, "noTransform", 2);
|
|
1337
1334
|
LuksoUsername = __decorateClass([
|
|
1338
|
-
|
|
1335
|
+
t("lukso-username")
|
|
1339
1336
|
], LuksoUsername);
|
|
1340
1337
|
|
|
1341
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 };
|