@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,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 state = require('../../state-
|
|
8
|
-
const styleMap = require('../../style-map-
|
|
9
|
-
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 styleMap = require('../../style-map-552ab28f.cjs');
|
|
9
|
+
const index = require('../../index-2b104ecb.cjs');
|
|
10
10
|
require('../../directive-8278ab14.cjs');
|
|
11
|
-
require('../../bundle-mjs-d58a83c6.cjs');
|
|
12
11
|
|
|
13
12
|
var __defProp = Object.defineProperty;
|
|
14
13
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -113,20 +112,20 @@ exports.LuksoImage = class LuksoImage extends shared_tailwindElement_index.Tailw
|
|
|
113
112
|
}
|
|
114
113
|
};
|
|
115
114
|
__decorateClass([
|
|
116
|
-
|
|
115
|
+
property.n({ type: String })
|
|
117
116
|
], exports.LuksoImage.prototype, "src", 2);
|
|
118
117
|
__decorateClass([
|
|
119
|
-
|
|
118
|
+
property.n({ type: String })
|
|
120
119
|
], exports.LuksoImage.prototype, "placeholder", 2);
|
|
121
120
|
__decorateClass([
|
|
122
|
-
state.
|
|
121
|
+
state.r()
|
|
123
122
|
], exports.LuksoImage.prototype, "isLoading", 2);
|
|
124
123
|
__decorateClass([
|
|
125
|
-
state.
|
|
124
|
+
state.r()
|
|
126
125
|
], exports.LuksoImage.prototype, "resolvedPlaceholder", 2);
|
|
127
126
|
__decorateClass([
|
|
128
|
-
state.
|
|
127
|
+
state.r()
|
|
129
128
|
], exports.LuksoImage.prototype, "hasError", 2);
|
|
130
129
|
exports.LuksoImage = __decorateClass([
|
|
131
|
-
|
|
130
|
+
property.t("lukso-image")
|
|
132
131
|
], exports.LuksoImage);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { a as TailwindElement, x } from '../../index-
|
|
2
|
-
import { n,
|
|
3
|
-
import {
|
|
4
|
-
import { o } from '../../style-map-
|
|
5
|
-
import { c as ce } from '../../index-
|
|
1
|
+
import { a as TailwindElement, x } from '../../index-86a3fdc1.js';
|
|
2
|
+
import { n, t } from '../../property-140ef335.js';
|
|
3
|
+
import { r } from '../../state-876605e4.js';
|
|
4
|
+
import { o } from '../../style-map-15dde65e.js';
|
|
5
|
+
import { c as ce } from '../../index-d14b6a34.js';
|
|
6
6
|
import '../../directive-2bb7789e.js';
|
|
7
|
-
import '../../bundle-mjs-fbc6e2a8.js';
|
|
8
7
|
|
|
9
8
|
var __defProp = Object.defineProperty;
|
|
10
9
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -115,16 +114,16 @@ __decorateClass([
|
|
|
115
114
|
n({ type: String })
|
|
116
115
|
], LuksoImage.prototype, "placeholder", 2);
|
|
117
116
|
__decorateClass([
|
|
118
|
-
|
|
117
|
+
r()
|
|
119
118
|
], LuksoImage.prototype, "isLoading", 2);
|
|
120
119
|
__decorateClass([
|
|
121
|
-
|
|
120
|
+
r()
|
|
122
121
|
], LuksoImage.prototype, "resolvedPlaceholder", 2);
|
|
123
122
|
__decorateClass([
|
|
124
|
-
|
|
123
|
+
r()
|
|
125
124
|
], LuksoImage.prototype, "hasError", 2);
|
|
126
125
|
LuksoImage = __decorateClass([
|
|
127
|
-
|
|
126
|
+
t("lukso-image")
|
|
128
127
|
], LuksoImage);
|
|
129
128
|
|
|
130
129
|
export { LuksoImage };
|
|
@@ -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}";
|
|
@@ -175,18 +174,18 @@ exports.LuksoInput = class LuksoInput extends shared_tailwindElement_index.Tailw
|
|
|
175
174
|
inputTemplate(styles) {
|
|
176
175
|
return shared_tailwindElement_index.x`
|
|
177
176
|
<input
|
|
178
|
-
name=${this.name ? this.name : shared_tailwindElement_index.
|
|
177
|
+
name=${this.name ? this.name : shared_tailwindElement_index.E}
|
|
179
178
|
type=${this.type}
|
|
180
179
|
.value=${this.value}
|
|
181
|
-
placeholder=${this.placeholder ? this.placeholder : shared_tailwindElement_index.
|
|
180
|
+
placeholder=${this.placeholder ? this.placeholder : shared_tailwindElement_index.E}
|
|
182
181
|
?autofocus=${this.autofocus}
|
|
183
|
-
min=${this.min ? this.min : shared_tailwindElement_index.
|
|
184
|
-
max=${this.max ? this.max : shared_tailwindElement_index.
|
|
182
|
+
min=${this.min ? this.min : shared_tailwindElement_index.E}
|
|
183
|
+
max=${this.max ? this.max : shared_tailwindElement_index.E}
|
|
185
184
|
autocomplete=${this.autocomplete}
|
|
186
|
-
ref=${this.ref ? this.ref : shared_tailwindElement_index.
|
|
187
|
-
id=${this.id ? this.id : shared_tailwindElement_index.
|
|
185
|
+
ref=${this.ref ? this.ref : shared_tailwindElement_index.E}
|
|
186
|
+
id=${this.id ? this.id : shared_tailwindElement_index.E}
|
|
188
187
|
data-testid=${this.name ? `input-${this.name}` : "input"}
|
|
189
|
-
accept=${this.accept ? this.accept : shared_tailwindElement_index.
|
|
188
|
+
accept=${this.accept ? this.accept : shared_tailwindElement_index.E}
|
|
190
189
|
?readonly=${this.isReadonly ? true : void 0}
|
|
191
190
|
?disabled=${this.isDisabled ? true : void 0}
|
|
192
191
|
class=${cn.cn(styles, this.customClass)}
|
|
@@ -215,7 +214,7 @@ exports.LuksoInput = class LuksoInput extends shared_tailwindElement_index.Tailw
|
|
|
215
214
|
descriptionTemplate() {
|
|
216
215
|
return shared_tailwindElement_index.x`
|
|
217
216
|
<div class="paragraph-inter-12-regular text-neutral-20 pb-2">
|
|
218
|
-
${this.description ?? shared_tailwindElement_index.
|
|
217
|
+
${this.description ?? shared_tailwindElement_index.E}
|
|
219
218
|
</div>
|
|
220
219
|
`;
|
|
221
220
|
}
|
|
@@ -393,98 +392,98 @@ exports.LuksoInput = class LuksoInput extends shared_tailwindElement_index.Tailw
|
|
|
393
392
|
});
|
|
394
393
|
return shared_tailwindElement_index.x`
|
|
395
394
|
<div class="w-[inherit]">
|
|
396
|
-
${this.label ? this.labelTemplate() : shared_tailwindElement_index.
|
|
397
|
-
${this.description ? this.descriptionTemplate() : shared_tailwindElement_index.
|
|
395
|
+
${this.label ? this.labelTemplate() : shared_tailwindElement_index.E}
|
|
396
|
+
${this.description ? this.descriptionTemplate() : shared_tailwindElement_index.E}
|
|
398
397
|
<div class=${wrapper()}>
|
|
399
398
|
<div class="relative w-[inherit]">
|
|
400
399
|
${this.inputTemplate(input())}
|
|
401
|
-
${this.rightIcon ? this.rightIconTemplate(rightIcon()) : shared_tailwindElement_index.
|
|
400
|
+
${this.rightIcon ? this.rightIconTemplate(rightIcon()) : shared_tailwindElement_index.E}
|
|
402
401
|
</div>
|
|
403
|
-
${this.unit ? this.unitTemplate(unit()) : shared_tailwindElement_index.
|
|
402
|
+
${this.unit ? this.unitTemplate(unit()) : shared_tailwindElement_index.E}
|
|
404
403
|
</div>
|
|
405
|
-
${this.error ? this.errorTemplate() : shared_tailwindElement_index.
|
|
404
|
+
${this.error ? this.errorTemplate() : shared_tailwindElement_index.E}
|
|
406
405
|
</div>
|
|
407
406
|
`;
|
|
408
407
|
}
|
|
409
408
|
};
|
|
410
409
|
__decorateClass([
|
|
411
|
-
|
|
410
|
+
property.n({ type: String })
|
|
412
411
|
], exports.LuksoInput.prototype, "value", 2);
|
|
413
412
|
__decorateClass([
|
|
414
|
-
|
|
413
|
+
property.n({ type: String })
|
|
415
414
|
], exports.LuksoInput.prototype, "name", 2);
|
|
416
415
|
__decorateClass([
|
|
417
|
-
|
|
416
|
+
property.n({ type: String })
|
|
418
417
|
], exports.LuksoInput.prototype, "type", 2);
|
|
419
418
|
__decorateClass([
|
|
420
|
-
|
|
419
|
+
property.n({ type: String })
|
|
421
420
|
], exports.LuksoInput.prototype, "placeholder", 2);
|
|
422
421
|
__decorateClass([
|
|
423
|
-
|
|
422
|
+
property.n({ type: String })
|
|
424
423
|
], exports.LuksoInput.prototype, "label", 2);
|
|
425
424
|
__decorateClass([
|
|
426
|
-
|
|
425
|
+
property.n({ type: String })
|
|
427
426
|
], exports.LuksoInput.prototype, "autocomplete", 2);
|
|
428
427
|
__decorateClass([
|
|
429
|
-
|
|
428
|
+
property.n({ type: String })
|
|
430
429
|
], exports.LuksoInput.prototype, "id", 2);
|
|
431
430
|
__decorateClass([
|
|
432
|
-
|
|
431
|
+
property.n({ type: String })
|
|
433
432
|
], exports.LuksoInput.prototype, "ref", 2);
|
|
434
433
|
__decorateClass([
|
|
435
|
-
|
|
434
|
+
property.n({ type: String })
|
|
436
435
|
], exports.LuksoInput.prototype, "accept", 2);
|
|
437
436
|
__decorateClass([
|
|
438
|
-
|
|
437
|
+
property.n({ type: String })
|
|
439
438
|
], exports.LuksoInput.prototype, "description", 2);
|
|
440
439
|
__decorateClass([
|
|
441
|
-
|
|
440
|
+
property.n({ type: String })
|
|
442
441
|
], exports.LuksoInput.prototype, "error", 2);
|
|
443
442
|
__decorateClass([
|
|
444
|
-
|
|
443
|
+
property.n({ type: String })
|
|
445
444
|
], exports.LuksoInput.prototype, "unit", 2);
|
|
446
445
|
__decorateClass([
|
|
447
|
-
|
|
446
|
+
property.n({ type: String, attribute: "custom-class" })
|
|
448
447
|
], exports.LuksoInput.prototype, "customClass", 2);
|
|
449
448
|
__decorateClass([
|
|
450
|
-
|
|
449
|
+
property.n({ type: Boolean, attribute: "is-full-width" })
|
|
451
450
|
], exports.LuksoInput.prototype, "isFullWidth", 2);
|
|
452
451
|
__decorateClass([
|
|
453
|
-
|
|
452
|
+
property.n({ type: Boolean, attribute: "is-readonly" })
|
|
454
453
|
], exports.LuksoInput.prototype, "isReadonly", 2);
|
|
455
454
|
__decorateClass([
|
|
456
|
-
|
|
455
|
+
property.n({ type: Boolean, attribute: "is-disabled" })
|
|
457
456
|
], exports.LuksoInput.prototype, "isDisabled", 2);
|
|
458
457
|
__decorateClass([
|
|
459
|
-
|
|
458
|
+
property.n({ type: Boolean })
|
|
460
459
|
], exports.LuksoInput.prototype, "autofocus", 2);
|
|
461
460
|
__decorateClass([
|
|
462
|
-
|
|
461
|
+
property.n({ type: Number })
|
|
463
462
|
], exports.LuksoInput.prototype, "max", 2);
|
|
464
463
|
__decorateClass([
|
|
465
|
-
|
|
464
|
+
property.n({ type: Number })
|
|
466
465
|
], exports.LuksoInput.prototype, "min", 2);
|
|
467
466
|
__decorateClass([
|
|
468
|
-
|
|
467
|
+
property.n({ type: Boolean })
|
|
469
468
|
], exports.LuksoInput.prototype, "borderless", 2);
|
|
470
469
|
__decorateClass([
|
|
471
|
-
|
|
470
|
+
property.n({ type: String })
|
|
472
471
|
], exports.LuksoInput.prototype, "size", 2);
|
|
473
472
|
__decorateClass([
|
|
474
|
-
|
|
473
|
+
property.n({ type: String, attribute: "right-icon" })
|
|
475
474
|
], exports.LuksoInput.prototype, "rightIcon", 2);
|
|
476
475
|
__decorateClass([
|
|
477
|
-
|
|
476
|
+
property.n({ type: Boolean, attribute: "is-right-icon-clickable" })
|
|
478
477
|
], exports.LuksoInput.prototype, "isRightIconClickable", 2);
|
|
479
478
|
__decorateClass([
|
|
480
|
-
|
|
479
|
+
property.n({ type: Boolean, attribute: "keep-focus-on-escape" })
|
|
481
480
|
], exports.LuksoInput.prototype, "keepFocusOnEscape", 2);
|
|
482
481
|
__decorateClass([
|
|
483
|
-
state.
|
|
482
|
+
state.r()
|
|
484
483
|
], exports.LuksoInput.prototype, "hasFocus", 2);
|
|
485
484
|
__decorateClass([
|
|
486
|
-
state.
|
|
485
|
+
state.r()
|
|
487
486
|
], exports.LuksoInput.prototype, "hasHighlight", 2);
|
|
488
487
|
exports.LuksoInput = __decorateClass([
|
|
489
|
-
|
|
488
|
+
property.t("lukso-input")
|
|
490
489
|
], exports.LuksoInput);
|
|
@@ -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}";
|
|
@@ -171,18 +170,18 @@ let LuksoInput = class extends TailwindStyledElement(style) {
|
|
|
171
170
|
inputTemplate(styles) {
|
|
172
171
|
return x`
|
|
173
172
|
<input
|
|
174
|
-
name=${this.name ? this.name :
|
|
173
|
+
name=${this.name ? this.name : E}
|
|
175
174
|
type=${this.type}
|
|
176
175
|
.value=${this.value}
|
|
177
|
-
placeholder=${this.placeholder ? this.placeholder :
|
|
176
|
+
placeholder=${this.placeholder ? this.placeholder : E}
|
|
178
177
|
?autofocus=${this.autofocus}
|
|
179
|
-
min=${this.min ? this.min :
|
|
180
|
-
max=${this.max ? this.max :
|
|
178
|
+
min=${this.min ? this.min : E}
|
|
179
|
+
max=${this.max ? this.max : E}
|
|
181
180
|
autocomplete=${this.autocomplete}
|
|
182
|
-
ref=${this.ref ? this.ref :
|
|
183
|
-
id=${this.id ? this.id :
|
|
181
|
+
ref=${this.ref ? this.ref : E}
|
|
182
|
+
id=${this.id ? this.id : E}
|
|
184
183
|
data-testid=${this.name ? `input-${this.name}` : "input"}
|
|
185
|
-
accept=${this.accept ? this.accept :
|
|
184
|
+
accept=${this.accept ? this.accept : E}
|
|
186
185
|
?readonly=${this.isReadonly ? true : void 0}
|
|
187
186
|
?disabled=${this.isDisabled ? true : void 0}
|
|
188
187
|
class=${cn(styles, this.customClass)}
|
|
@@ -211,7 +210,7 @@ let LuksoInput = class extends TailwindStyledElement(style) {
|
|
|
211
210
|
descriptionTemplate() {
|
|
212
211
|
return x`
|
|
213
212
|
<div class="paragraph-inter-12-regular text-neutral-20 pb-2">
|
|
214
|
-
${this.description ??
|
|
213
|
+
${this.description ?? E}
|
|
215
214
|
</div>
|
|
216
215
|
`;
|
|
217
216
|
}
|
|
@@ -389,16 +388,16 @@ let LuksoInput = class extends TailwindStyledElement(style) {
|
|
|
389
388
|
});
|
|
390
389
|
return x`
|
|
391
390
|
<div class="w-[inherit]">
|
|
392
|
-
${this.label ? this.labelTemplate() :
|
|
393
|
-
${this.description ? this.descriptionTemplate() :
|
|
391
|
+
${this.label ? this.labelTemplate() : E}
|
|
392
|
+
${this.description ? this.descriptionTemplate() : E}
|
|
394
393
|
<div class=${wrapper()}>
|
|
395
394
|
<div class="relative w-[inherit]">
|
|
396
395
|
${this.inputTemplate(input())}
|
|
397
|
-
${this.rightIcon ? this.rightIconTemplate(rightIcon()) :
|
|
396
|
+
${this.rightIcon ? this.rightIconTemplate(rightIcon()) : E}
|
|
398
397
|
</div>
|
|
399
|
-
${this.unit ? this.unitTemplate(unit()) :
|
|
398
|
+
${this.unit ? this.unitTemplate(unit()) : E}
|
|
400
399
|
</div>
|
|
401
|
-
${this.error ? this.errorTemplate() :
|
|
400
|
+
${this.error ? this.errorTemplate() : E}
|
|
402
401
|
</div>
|
|
403
402
|
`;
|
|
404
403
|
}
|
|
@@ -476,13 +475,13 @@ __decorateClass([
|
|
|
476
475
|
n({ type: Boolean, attribute: "keep-focus-on-escape" })
|
|
477
476
|
], LuksoInput.prototype, "keepFocusOnEscape", 2);
|
|
478
477
|
__decorateClass([
|
|
479
|
-
|
|
478
|
+
r()
|
|
480
479
|
], LuksoInput.prototype, "hasFocus", 2);
|
|
481
480
|
__decorateClass([
|
|
482
|
-
|
|
481
|
+
r()
|
|
483
482
|
], LuksoInput.prototype, "hasHighlight", 2);
|
|
484
483
|
LuksoInput = __decorateClass([
|
|
485
|
-
|
|
484
|
+
t("lukso-input")
|
|
486
485
|
], LuksoInput);
|
|
487
486
|
|
|
488
487
|
export { LuksoInput };
|
|
@@ -2,10 +2,9 @@
|
|
|
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
|
-
require('../../bundle-mjs-d58a83c6.cjs');
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-dda1809d.cjs');
|
|
6
|
+
const property = require('../../property-46482bf7.cjs');
|
|
7
|
+
const index = require('../../index-2b104ecb.cjs');
|
|
9
8
|
|
|
10
9
|
var __defProp = Object.defineProperty;
|
|
11
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -98,14 +97,14 @@ exports.LuksoModal = class LuksoModal extends shared_tailwindElement_index.Tailw
|
|
|
98
97
|
}
|
|
99
98
|
};
|
|
100
99
|
__decorateClass([
|
|
101
|
-
|
|
100
|
+
property.n({ type: Boolean, attribute: "is-open" })
|
|
102
101
|
], exports.LuksoModal.prototype, "isOpen", 2);
|
|
103
102
|
__decorateClass([
|
|
104
|
-
|
|
103
|
+
property.n({ type: Boolean, attribute: "disable-animations" })
|
|
105
104
|
], exports.LuksoModal.prototype, "disableAnimations", 2);
|
|
106
105
|
__decorateClass([
|
|
107
|
-
|
|
106
|
+
property.n({ type: String })
|
|
108
107
|
], exports.LuksoModal.prototype, "size", 2);
|
|
109
108
|
exports.LuksoModal = __decorateClass([
|
|
110
|
-
|
|
109
|
+
property.t("lukso-modal")
|
|
111
110
|
], exports.LuksoModal);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { a as TailwindElement, x } from '../../index-
|
|
2
|
-
import { n,
|
|
3
|
-
import { c as ce } from '../../index-
|
|
4
|
-
import '../../bundle-mjs-fbc6e2a8.js';
|
|
1
|
+
import { a as TailwindElement, x } from '../../index-86a3fdc1.js';
|
|
2
|
+
import { n, t } from '../../property-140ef335.js';
|
|
3
|
+
import { c as ce } from '../../index-d14b6a34.js';
|
|
5
4
|
|
|
6
5
|
var __defProp = Object.defineProperty;
|
|
7
6
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -103,7 +102,7 @@ __decorateClass([
|
|
|
103
102
|
n({ type: String })
|
|
104
103
|
], LuksoModal.prototype, "size", 2);
|
|
105
104
|
LuksoModal = __decorateClass([
|
|
106
|
-
|
|
105
|
+
t("lukso-modal")
|
|
107
106
|
], LuksoModal);
|
|
108
107
|
|
|
109
108
|
export { LuksoModal };
|
|
@@ -2,16 +2,15 @@
|
|
|
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('../lukso-icon/index.cjs');
|
|
10
10
|
require('../lukso-tag/index.cjs');
|
|
11
|
-
require('../../
|
|
12
|
-
require('../../style-map-54c139bb.cjs');
|
|
11
|
+
require('../../style-map-552ab28f.cjs');
|
|
13
12
|
require('../../directive-8278ab14.cjs');
|
|
14
|
-
require('../../index-
|
|
13
|
+
require('../../index-f564f46f.cjs');
|
|
15
14
|
|
|
16
15
|
var __defProp = Object.defineProperty;
|
|
17
16
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -202,7 +201,7 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
|
|
|
202
201
|
</div>
|
|
203
202
|
${this.isTestnet ? shared_tailwindElement_index.x`<lukso-tag background-color="yellow-65" class="ml-2">
|
|
204
203
|
TESTNET
|
|
205
|
-
</lukso-tag>` : shared_tailwindElement_index.
|
|
204
|
+
</lukso-tag>` : shared_tailwindElement_index.E}
|
|
206
205
|
</div>
|
|
207
206
|
${this.icon ? shared_tailwindElement_index.x`<div
|
|
208
207
|
class="flex border-l border-l-purple-82 h-7 items-center pl-3 ml-3"
|
|
@@ -213,45 +212,45 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
|
|
|
213
212
|
color="purple-51"
|
|
214
213
|
@click=${this.handleIconClick}
|
|
215
214
|
></lukso-icon>
|
|
216
|
-
</div>` : shared_tailwindElement_index.
|
|
215
|
+
</div>` : shared_tailwindElement_index.E}
|
|
217
216
|
</div>
|
|
218
|
-
${this.isCenter ? shared_tailwindElement_index.
|
|
219
|
-
${this.isCenter ? shared_tailwindElement_index.
|
|
220
|
-
${this.mobileMenuTemplate(styles)}` : shared_tailwindElement_index.
|
|
217
|
+
${this.isCenter ? shared_tailwindElement_index.E : this.desktopCenterTemplate(styles)}
|
|
218
|
+
${this.isCenter ? shared_tailwindElement_index.E : this.hasMenu ? shared_tailwindElement_index.x`${this.desktopMenuTemplate(styles)}
|
|
219
|
+
${this.mobileMenuTemplate(styles)}` : shared_tailwindElement_index.E}
|
|
221
220
|
</nav>
|
|
222
221
|
`;
|
|
223
222
|
}
|
|
224
223
|
};
|
|
225
224
|
__decorateClass([
|
|
226
|
-
|
|
225
|
+
property.n({ type: String })
|
|
227
226
|
], exports.LuksoNavbar.prototype, "title", 2);
|
|
228
227
|
__decorateClass([
|
|
229
|
-
|
|
228
|
+
property.n({ type: Boolean, attribute: "is-center" })
|
|
230
229
|
], exports.LuksoNavbar.prototype, "isCenter", 2);
|
|
231
230
|
__decorateClass([
|
|
232
|
-
|
|
231
|
+
property.n({ type: Boolean, attribute: "is-sticky" })
|
|
233
232
|
], exports.LuksoNavbar.prototype, "isSticky", 2);
|
|
234
233
|
__decorateClass([
|
|
235
|
-
|
|
234
|
+
property.n({ type: Boolean, attribute: "is-transparent" })
|
|
236
235
|
], exports.LuksoNavbar.prototype, "isTransparent", 2);
|
|
237
236
|
__decorateClass([
|
|
238
|
-
|
|
237
|
+
property.n({ type: Boolean, attribute: "is-testnet" })
|
|
239
238
|
], exports.LuksoNavbar.prototype, "isTestnet", 2);
|
|
240
239
|
__decorateClass([
|
|
241
|
-
|
|
240
|
+
property.n({ type: String })
|
|
242
241
|
], exports.LuksoNavbar.prototype, "icon", 2);
|
|
243
242
|
__decorateClass([
|
|
244
|
-
|
|
243
|
+
property.n({ type: Boolean, attribute: "has-menu" })
|
|
245
244
|
], exports.LuksoNavbar.prototype, "hasMenu", 2);
|
|
246
245
|
__decorateClass([
|
|
247
|
-
|
|
246
|
+
property.n({ type: String, attribute: "logo-url" })
|
|
248
247
|
], exports.LuksoNavbar.prototype, "logoUrl", 2);
|
|
249
248
|
__decorateClass([
|
|
250
|
-
|
|
249
|
+
property.n({ type: String, attribute: "mobile-breakpoint" })
|
|
251
250
|
], exports.LuksoNavbar.prototype, "mobileBreakpoint", 2);
|
|
252
251
|
__decorateClass([
|
|
253
|
-
state.
|
|
252
|
+
state.r()
|
|
254
253
|
], exports.LuksoNavbar.prototype, "isMenuOpen", 2);
|
|
255
254
|
exports.LuksoNavbar = __decorateClass([
|
|
256
|
-
|
|
255
|
+
property.t("lukso-navbar")
|
|
257
256
|
], exports.LuksoNavbar);
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { a as TailwindElement, x,
|
|
2
|
-
import { n,
|
|
3
|
-
import {
|
|
4
|
-
import { c as ce } from '../../index-
|
|
1
|
+
import { a as TailwindElement, 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 '../lukso-icon/index.js';
|
|
6
6
|
import '../lukso-tag/index.js';
|
|
7
|
-
import '../../
|
|
8
|
-
import '../../style-map-7a555e98.js';
|
|
7
|
+
import '../../style-map-15dde65e.js';
|
|
9
8
|
import '../../directive-2bb7789e.js';
|
|
10
|
-
import '../../index-
|
|
9
|
+
import '../../index-eb08047e.js';
|
|
11
10
|
|
|
12
11
|
var __defProp = Object.defineProperty;
|
|
13
12
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -198,7 +197,7 @@ let LuksoNavbar = class extends TailwindElement {
|
|
|
198
197
|
</div>
|
|
199
198
|
${this.isTestnet ? x`<lukso-tag background-color="yellow-65" class="ml-2">
|
|
200
199
|
TESTNET
|
|
201
|
-
</lukso-tag>` :
|
|
200
|
+
</lukso-tag>` : E}
|
|
202
201
|
</div>
|
|
203
202
|
${this.icon ? x`<div
|
|
204
203
|
class="flex border-l border-l-purple-82 h-7 items-center pl-3 ml-3"
|
|
@@ -209,11 +208,11 @@ let LuksoNavbar = class extends TailwindElement {
|
|
|
209
208
|
color="purple-51"
|
|
210
209
|
@click=${this.handleIconClick}
|
|
211
210
|
></lukso-icon>
|
|
212
|
-
</div>` :
|
|
211
|
+
</div>` : E}
|
|
213
212
|
</div>
|
|
214
|
-
${this.isCenter ?
|
|
215
|
-
${this.isCenter ?
|
|
216
|
-
${this.mobileMenuTemplate(styles)}` :
|
|
213
|
+
${this.isCenter ? E : this.desktopCenterTemplate(styles)}
|
|
214
|
+
${this.isCenter ? E : this.hasMenu ? x`${this.desktopMenuTemplate(styles)}
|
|
215
|
+
${this.mobileMenuTemplate(styles)}` : E}
|
|
217
216
|
</nav>
|
|
218
217
|
`;
|
|
219
218
|
}
|
|
@@ -246,10 +245,10 @@ __decorateClass([
|
|
|
246
245
|
n({ type: String, attribute: "mobile-breakpoint" })
|
|
247
246
|
], LuksoNavbar.prototype, "mobileBreakpoint", 2);
|
|
248
247
|
__decorateClass([
|
|
249
|
-
|
|
248
|
+
r()
|
|
250
249
|
], LuksoNavbar.prototype, "isMenuOpen", 2);
|
|
251
250
|
LuksoNavbar = __decorateClass([
|
|
252
|
-
|
|
251
|
+
t("lukso-navbar")
|
|
253
252
|
], LuksoNavbar);
|
|
254
253
|
|
|
255
254
|
export { LuksoNavbar };
|
|
@@ -2,17 +2,16 @@
|
|
|
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('../lukso-icon/index.cjs');
|
|
10
10
|
require('../lukso-button/index.cjs');
|
|
11
|
-
require('../../
|
|
12
|
-
require('../../style-map-54c139bb.cjs');
|
|
11
|
+
require('../../style-map-552ab28f.cjs');
|
|
13
12
|
require('../../directive-8278ab14.cjs');
|
|
14
13
|
require('../../tailwind-config.cjs');
|
|
15
|
-
require('../../cn-
|
|
14
|
+
require('../../cn-b6daa995.cjs');
|
|
16
15
|
|
|
17
16
|
const style = ":host {\n display: inline-flex\n}";
|
|
18
17
|
|
|
@@ -192,23 +191,23 @@ exports.LuksoPagination = class LuksoPagination extends shared_tailwindElement_i
|
|
|
192
191
|
}
|
|
193
192
|
};
|
|
194
193
|
__decorateClass([
|
|
195
|
-
|
|
194
|
+
property.n({ type: String })
|
|
196
195
|
], exports.LuksoPagination.prototype, "variant", 2);
|
|
197
196
|
__decorateClass([
|
|
198
|
-
|
|
197
|
+
property.n({ type: String })
|
|
199
198
|
], exports.LuksoPagination.prototype, "size", 2);
|
|
200
199
|
__decorateClass([
|
|
201
|
-
|
|
200
|
+
property.n({ type: Number, attribute: "current-page" })
|
|
202
201
|
], exports.LuksoPagination.prototype, "currentPage", 2);
|
|
203
202
|
__decorateClass([
|
|
204
|
-
|
|
203
|
+
property.n({ type: Number, attribute: "total-pages" })
|
|
205
204
|
], exports.LuksoPagination.prototype, "totalPages", 2);
|
|
206
205
|
__decorateClass([
|
|
207
|
-
|
|
206
|
+
property.n({ type: Boolean, attribute: "is-mobile" })
|
|
208
207
|
], exports.LuksoPagination.prototype, "isMobile", 2);
|
|
209
208
|
__decorateClass([
|
|
210
|
-
state.
|
|
209
|
+
state.r()
|
|
211
210
|
], exports.LuksoPagination.prototype, "pagination", 2);
|
|
212
211
|
exports.LuksoPagination = __decorateClass([
|
|
213
|
-
|
|
212
|
+
property.t("lukso-pagination")
|
|
214
213
|
], exports.LuksoPagination);
|