@lukso/web-components 1.118.0 → 1.119.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/index.cjs +7 -7
- package/dist/components/index.js +7 -7
- package/dist/components/lukso-button/index.cjs +3 -3
- package/dist/components/lukso-button/index.js +3 -3
- package/dist/components/lukso-card/index.cjs +6 -6
- package/dist/components/lukso-card/index.js +6 -6
- package/dist/components/lukso-checkbox/index.cjs +3 -3
- package/dist/components/lukso-checkbox/index.js +3 -3
- package/dist/components/lukso-color-picker/index.cjs +4 -4
- package/dist/components/lukso-color-picker/index.js +4 -4
- package/dist/components/lukso-dropdown/index.cjs +7 -7
- package/dist/components/lukso-dropdown/index.js +7 -7
- package/dist/components/lukso-dropdown-option/index.cjs +2 -2
- package/dist/components/lukso-dropdown-option/index.js +2 -2
- package/dist/components/lukso-footer/index.cjs +2 -2
- package/dist/components/lukso-footer/index.js +2 -2
- package/dist/components/lukso-icon/index.cjs +3 -3
- package/dist/components/lukso-icon/index.js +3 -3
- package/dist/components/lukso-image/index.cjs +4 -4
- package/dist/components/lukso-image/index.js +4 -4
- package/dist/components/lukso-input/index.cjs +4 -4
- package/dist/components/lukso-input/index.js +4 -4
- package/dist/components/lukso-modal/index.cjs +2 -2
- package/dist/components/lukso-modal/index.js +2 -2
- package/dist/components/lukso-navbar/index.cjs +5 -5
- package/dist/components/lukso-navbar/index.js +5 -5
- package/dist/components/lukso-pagination/index.cjs +4 -4
- package/dist/components/lukso-pagination/index.js +4 -4
- package/dist/components/lukso-profile/index.cjs +5 -5
- package/dist/components/lukso-profile/index.js +5 -5
- package/dist/components/lukso-progress/index.cjs +3 -3
- package/dist/components/lukso-progress/index.js +3 -3
- package/dist/components/lukso-sanitize/index.cjs +2 -2
- package/dist/components/lukso-sanitize/index.js +2 -2
- package/dist/components/lukso-search/index.cjs +14 -10
- package/dist/components/lukso-search/index.d.ts +1 -0
- package/dist/components/lukso-search/index.d.ts.map +1 -1
- package/dist/components/lukso-search/index.js +14 -10
- package/dist/components/lukso-search/lukso-search.stories.d.ts +2 -0
- package/dist/components/lukso-search/lukso-search.stories.d.ts.map +1 -1
- package/dist/components/lukso-select/index.cjs +75 -75
- package/dist/components/lukso-select/index.js +75 -75
- package/dist/components/lukso-share/index.cjs +27 -24
- package/dist/components/lukso-share/index.js +27 -24
- package/dist/components/lukso-switch/index.cjs +11 -8
- package/dist/components/lukso-switch/index.js +11 -8
- package/dist/components/lukso-tag/index.cjs +35 -32
- package/dist/components/lukso-tag/index.js +35 -32
- package/dist/components/lukso-terms/index.cjs +10 -7
- package/dist/components/lukso-terms/index.js +10 -7
- package/dist/components/lukso-test/index.cjs +16 -13
- package/dist/components/lukso-test/index.js +16 -13
- package/dist/components/lukso-textarea/index.cjs +86 -83
- package/dist/components/lukso-textarea/index.js +86 -83
- package/dist/components/lukso-tooltip/index.cjs +38 -35
- package/dist/components/lukso-tooltip/index.js +38 -35
- package/dist/components/lukso-username/index.cjs +53 -50
- package/dist/components/lukso-username/index.js +53 -50
- package/dist/components/lukso-wizard/index.cjs +45 -42
- package/dist/components/lukso-wizard/index.js +45 -42
- package/dist/{index-dbfb7d50.cjs → index-104cf124.cjs} +3 -3
- package/dist/{index-40811e43.js → index-12775596.js} +3 -3
- package/dist/{index-f564f46f.cjs → index-3926da18.cjs} +1 -1
- package/dist/{index-9f282d35.cjs → index-67915f32.cjs} +2 -2
- package/dist/{index-dda1809d.cjs → index-68c61387.cjs} +5 -3
- package/dist/{index-eb08047e.js → index-7bb28a79.js} +1 -1
- package/dist/{index-86a3fdc1.js → index-92dc158d.js} +5 -3
- package/dist/{index-30c74dfe.js → index-ff8d75cd.js} +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +7 -7
- package/dist/{property-46482bf7.cjs → property-bf2eee83.cjs} +1 -1
- package/dist/{property-140ef335.js → property-eaa52bd9.js} +1 -1
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/{state-876605e4.js → state-1fc9a224.js} +1 -1
- package/dist/{state-94c1d585.cjs → state-375dfffc.cjs} +1 -1
- package/dist/{style-map-15dde65e.js → style-map-5aef4b6f.js} +1 -1
- package/dist/{style-map-552ab28f.cjs → style-map-8e54f508.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x, E } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { T as TailwindStyledElement, x, E } from '../../index-92dc158d.js';
|
|
2
|
+
import { n, t } from '../../property-eaa52bd9.js';
|
|
3
|
+
import { r } from '../../state-1fc9a224.js';
|
|
4
4
|
import { c as ce } from '../../index-d14b6a34.js';
|
|
5
5
|
import '../../tailwind-config.js';
|
|
6
6
|
import { c as cn } from '../../cn-90c03edf.js';
|
|
7
7
|
import '../lukso-icon/index.js';
|
|
8
|
-
import '../../style-map-
|
|
8
|
+
import '../../style-map-5aef4b6f.js';
|
|
9
9
|
import '../../directive-2bb7789e.js';
|
|
10
10
|
|
|
11
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}";
|
|
@@ -23,92 +23,95 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
23
23
|
};
|
|
24
24
|
const FOCUS_DELAY_MS = 10;
|
|
25
25
|
let LuksoTextarea = class extends TailwindStyledElement(style) {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments);
|
|
28
|
+
this.value = "";
|
|
29
|
+
this.name = "";
|
|
30
|
+
this.placeholder = "";
|
|
31
|
+
this.label = "";
|
|
32
|
+
this.id = "";
|
|
33
|
+
this.ref = void 0;
|
|
34
|
+
this.description = "";
|
|
35
|
+
this.error = "";
|
|
36
|
+
this.customClass = "";
|
|
37
|
+
this.isFullWidth = false;
|
|
38
|
+
this.isReadonly = false;
|
|
39
|
+
this.isDisabled = false;
|
|
40
|
+
this.autofocus = false;
|
|
41
|
+
this.borderless = false;
|
|
42
|
+
this.isNonResizable = false;
|
|
43
|
+
this.keepFocusOnEscape = false;
|
|
44
|
+
this.size = "medium";
|
|
45
|
+
this.rows = 4;
|
|
46
|
+
this.hasFocus = false;
|
|
47
|
+
this.hasHighlight = false;
|
|
48
|
+
this.styles = ce({
|
|
49
|
+
slots: {
|
|
50
|
+
wrapper: "group flex",
|
|
51
|
+
input: `bg-neutral-100 border-solid placeholder:text-neutral-70 w-full
|
|
50
52
|
outline-none transition transition-all duration-150 appearance-none`
|
|
51
|
-
},
|
|
52
|
-
variants: {
|
|
53
|
-
hasError: {
|
|
54
|
-
true: {
|
|
55
|
-
input: "border-red-85"
|
|
56
|
-
},
|
|
57
|
-
false: {
|
|
58
|
-
input: "border-neutral-90"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
hasHighlight: {
|
|
62
|
-
true: {
|
|
63
|
-
input: "border-neutral-35"
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
borderless: {
|
|
67
|
-
true: { input: "border-0" },
|
|
68
|
-
false: { input: "border" }
|
|
69
|
-
},
|
|
70
|
-
isReadonly: {
|
|
71
|
-
true: { input: "cursor-not-allowed" }
|
|
72
53
|
},
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
54
|
+
variants: {
|
|
55
|
+
hasError: {
|
|
56
|
+
true: {
|
|
57
|
+
input: "border-red-85"
|
|
58
|
+
},
|
|
59
|
+
false: {
|
|
60
|
+
input: "border-neutral-90"
|
|
61
|
+
}
|
|
76
62
|
},
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
false: { wrapper: "w-[350px]" }
|
|
82
|
-
},
|
|
83
|
-
size: {
|
|
84
|
-
small: {
|
|
85
|
-
input: "min-h-[28px] px-2 py-1 paragraph-inter-12-regular rounded-8"
|
|
63
|
+
hasHighlight: {
|
|
64
|
+
true: {
|
|
65
|
+
input: "border-neutral-35"
|
|
66
|
+
}
|
|
86
67
|
},
|
|
87
|
-
|
|
88
|
-
input: "
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
68
|
+
borderless: {
|
|
69
|
+
true: { input: "border-0" },
|
|
70
|
+
false: { input: "border" }
|
|
71
|
+
},
|
|
72
|
+
isReadonly: {
|
|
73
|
+
true: { input: "cursor-not-allowed" }
|
|
74
|
+
},
|
|
75
|
+
isDisabled: {
|
|
76
|
+
true: {
|
|
77
|
+
input: "text-neutral-60 cursor-not-allowed"
|
|
78
|
+
},
|
|
79
|
+
false: { input: "text-neutral-20" }
|
|
80
|
+
},
|
|
81
|
+
isFullWidth: {
|
|
82
|
+
true: { wrapper: "w-full" },
|
|
83
|
+
false: { wrapper: "w-[350px]" }
|
|
84
|
+
},
|
|
85
|
+
size: {
|
|
86
|
+
small: {
|
|
87
|
+
input: "min-h-[28px] px-2 py-1 paragraph-inter-12-regular rounded-8"
|
|
88
|
+
},
|
|
89
|
+
medium: {
|
|
90
|
+
input: "min-h-[48px] px-4 py-3 paragraph-inter-14-regular rounded-12"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
isNonResizable: {
|
|
94
|
+
true: {
|
|
95
|
+
input: "resize-none"
|
|
96
|
+
}
|
|
94
97
|
}
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
compoundVariants: [
|
|
98
|
-
{
|
|
99
|
-
isFullWidth: false,
|
|
100
|
-
size: "small",
|
|
101
|
-
class: { wrapper: "w-[210px]" }
|
|
102
98
|
},
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
99
|
+
compoundVariants: [
|
|
100
|
+
{
|
|
101
|
+
isFullWidth: false,
|
|
102
|
+
size: "small",
|
|
103
|
+
class: { wrapper: "w-[210px]" }
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
hasHighlight: true,
|
|
107
|
+
hasError: true,
|
|
108
|
+
class: {
|
|
109
|
+
input: "border-red-65"
|
|
110
|
+
}
|
|
108
111
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
+
]
|
|
113
|
+
});
|
|
114
|
+
}
|
|
112
115
|
connectedCallback() {
|
|
113
116
|
super.connectedCallback();
|
|
114
117
|
if (this.autofocus) {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
7
|
-
const state = require('../../state-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-68c61387.cjs');
|
|
6
|
+
const property = require('../../property-bf2eee83.cjs');
|
|
7
|
+
const state = require('../../state-375dfffc.cjs');
|
|
8
8
|
const index = require('../../index-2b104ecb.cjs');
|
|
9
|
-
const styleMap = require('../../style-map-
|
|
9
|
+
const styleMap = require('../../style-map-8e54f508.cjs');
|
|
10
10
|
require('../../directive-8278ab14.cjs');
|
|
11
11
|
|
|
12
12
|
var top = 'top';
|
|
@@ -3460,39 +3460,42 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
3460
3460
|
return result;
|
|
3461
3461
|
};
|
|
3462
3462
|
exports.LuksoTooltip = class LuksoTooltip extends shared_tailwindElement_index.TailwindStyledElement(style) {
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3463
|
+
constructor() {
|
|
3464
|
+
super(...arguments);
|
|
3465
|
+
this.variant = "light";
|
|
3466
|
+
this.size = "medium";
|
|
3467
|
+
this.placement = "top";
|
|
3468
|
+
this.trigger = "mouseenter";
|
|
3469
|
+
this.text = "";
|
|
3470
|
+
this.maxWidth = 300;
|
|
3471
|
+
this.show = false;
|
|
3472
|
+
this.hideOnClick = "true";
|
|
3473
|
+
this.isClipboardCopy = false;
|
|
3474
|
+
this.copyText = "";
|
|
3475
|
+
this.copyValue = "";
|
|
3476
|
+
this.offset = 10;
|
|
3477
|
+
this.options = "";
|
|
3478
|
+
this.showArrow = true;
|
|
3479
|
+
this.showDelay = 300;
|
|
3480
|
+
this.hideDelay = 300;
|
|
3481
|
+
this.showCopy = false;
|
|
3482
|
+
this.optionsParsed = [];
|
|
3483
|
+
this.tooltipInstance = void 0;
|
|
3484
|
+
this.styles = index.ce({
|
|
3485
|
+
slots: {
|
|
3486
|
+
tooltip: "hidden",
|
|
3487
|
+
trigger: "cursor-pointer flex flex-col items-center",
|
|
3488
|
+
options: "rounded-4 hover:bg-neutral-95"
|
|
3489
|
+
},
|
|
3490
|
+
variants: {
|
|
3491
|
+
hasNoText: {
|
|
3492
|
+
true: {
|
|
3493
|
+
trigger: "cursor-default"
|
|
3494
|
+
}
|
|
3492
3495
|
}
|
|
3493
3496
|
}
|
|
3494
|
-
}
|
|
3495
|
-
}
|
|
3497
|
+
});
|
|
3498
|
+
}
|
|
3496
3499
|
hideOnClickCheck() {
|
|
3497
3500
|
if (this.hideOnClick === "toggle") {
|
|
3498
3501
|
return this.hideOnClick;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
3
|
-
import { r } from '../../state-
|
|
1
|
+
import { T as TailwindStyledElement, x } from '../../index-92dc158d.js';
|
|
2
|
+
import { n, t } from '../../property-eaa52bd9.js';
|
|
3
|
+
import { r } from '../../state-1fc9a224.js';
|
|
4
4
|
import { c as ce } from '../../index-d14b6a34.js';
|
|
5
|
-
import { o } from '../../style-map-
|
|
5
|
+
import { o } from '../../style-map-5aef4b6f.js';
|
|
6
6
|
import '../../directive-2bb7789e.js';
|
|
7
7
|
|
|
8
8
|
var top = 'top';
|
|
@@ -3456,39 +3456,42 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
3456
3456
|
return result;
|
|
3457
3457
|
};
|
|
3458
3458
|
let LuksoTooltip = class extends TailwindStyledElement(style) {
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3459
|
+
constructor() {
|
|
3460
|
+
super(...arguments);
|
|
3461
|
+
this.variant = "light";
|
|
3462
|
+
this.size = "medium";
|
|
3463
|
+
this.placement = "top";
|
|
3464
|
+
this.trigger = "mouseenter";
|
|
3465
|
+
this.text = "";
|
|
3466
|
+
this.maxWidth = 300;
|
|
3467
|
+
this.show = false;
|
|
3468
|
+
this.hideOnClick = "true";
|
|
3469
|
+
this.isClipboardCopy = false;
|
|
3470
|
+
this.copyText = "";
|
|
3471
|
+
this.copyValue = "";
|
|
3472
|
+
this.offset = 10;
|
|
3473
|
+
this.options = "";
|
|
3474
|
+
this.showArrow = true;
|
|
3475
|
+
this.showDelay = 300;
|
|
3476
|
+
this.hideDelay = 300;
|
|
3477
|
+
this.showCopy = false;
|
|
3478
|
+
this.optionsParsed = [];
|
|
3479
|
+
this.tooltipInstance = void 0;
|
|
3480
|
+
this.styles = ce({
|
|
3481
|
+
slots: {
|
|
3482
|
+
tooltip: "hidden",
|
|
3483
|
+
trigger: "cursor-pointer flex flex-col items-center",
|
|
3484
|
+
options: "rounded-4 hover:bg-neutral-95"
|
|
3485
|
+
},
|
|
3486
|
+
variants: {
|
|
3487
|
+
hasNoText: {
|
|
3488
|
+
true: {
|
|
3489
|
+
trigger: "cursor-default"
|
|
3490
|
+
}
|
|
3488
3491
|
}
|
|
3489
3492
|
}
|
|
3490
|
-
}
|
|
3491
|
-
}
|
|
3493
|
+
});
|
|
3494
|
+
}
|
|
3492
3495
|
hideOnClickCheck() {
|
|
3493
3496
|
if (this.hideOnClick === "toggle") {
|
|
3494
3497
|
return this.hideOnClick;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const property = require('../../property-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-68c61387.cjs');
|
|
6
|
+
const property = require('../../property-bf2eee83.cjs');
|
|
7
7
|
const index = require('../../index-2b104ecb.cjs');
|
|
8
|
-
const index$1 = require('../../index-
|
|
8
|
+
const index$1 = require('../../index-3926da18.cjs');
|
|
9
9
|
require('../../tailwind-config.cjs');
|
|
10
10
|
const cn = require('../../cn-b6daa995.cjs');
|
|
11
11
|
require('../../directive-8278ab14.cjs');
|
|
@@ -1178,57 +1178,60 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
1178
1178
|
return result;
|
|
1179
1179
|
};
|
|
1180
1180
|
exports.LuksoUsername = class LuksoUsername extends shared_tailwindElement_index.TailwindStyledElement(style) {
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1181
|
+
constructor() {
|
|
1182
|
+
super(...arguments);
|
|
1183
|
+
this.name = "";
|
|
1184
|
+
this.address = "";
|
|
1185
|
+
this.maxWidth = 200;
|
|
1186
|
+
this.size = "large";
|
|
1187
|
+
this.sliceBy = 8;
|
|
1188
|
+
this.addressColor = "";
|
|
1189
|
+
this.nameColor = "";
|
|
1190
|
+
this.customClass = "";
|
|
1191
|
+
this.hidePrefix = false;
|
|
1192
|
+
this.prefix = "@";
|
|
1193
|
+
this.noTransform = false;
|
|
1194
|
+
/** Width of the first 4 bytes of the address */
|
|
1195
|
+
this.bytesWidth = 52;
|
|
1196
|
+
this.styles = index.ce({
|
|
1197
|
+
slots: {
|
|
1198
|
+
wrapper: "inline-flex",
|
|
1199
|
+
name: "inline-block whitespace-nowrap overflow-hidden text-ellipsis",
|
|
1200
|
+
address: "inline-block",
|
|
1201
|
+
bytes: "inline-block"
|
|
1202
|
+
},
|
|
1203
|
+
variants: {
|
|
1204
|
+
size: {
|
|
1205
|
+
"x-small": {
|
|
1206
|
+
wrapper: "paragraph-ptmono-10-bold"
|
|
1207
|
+
},
|
|
1208
|
+
small: {
|
|
1209
|
+
wrapper: "paragraph-ptmono-12-bold"
|
|
1210
|
+
},
|
|
1211
|
+
medium: {
|
|
1212
|
+
wrapper: "paragraph-ptmono-14-bold"
|
|
1213
|
+
},
|
|
1214
|
+
large: {
|
|
1215
|
+
wrapper: "paragraph-ptmono-16-bold"
|
|
1216
|
+
},
|
|
1217
|
+
"x-large": {
|
|
1218
|
+
wrapper: "paragraph-ptmono-24-bold"
|
|
1219
|
+
}
|
|
1211
1220
|
},
|
|
1212
|
-
|
|
1213
|
-
|
|
1221
|
+
hasNameColor: {
|
|
1222
|
+
false: {
|
|
1223
|
+
name: "text-transparent bg-clip-text bg-gradient-to-r from-gradient-1-start to-gradient-1-end"
|
|
1224
|
+
}
|
|
1214
1225
|
},
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
false: {
|
|
1221
|
-
name: "text-transparent bg-clip-text bg-gradient-to-r from-gradient-1-start to-gradient-1-end"
|
|
1222
|
-
}
|
|
1223
|
-
},
|
|
1224
|
-
hasAddressColor: {
|
|
1225
|
-
false: {
|
|
1226
|
-
address: "text-neutral-20",
|
|
1227
|
-
bytes: "text-neutral-60"
|
|
1226
|
+
hasAddressColor: {
|
|
1227
|
+
false: {
|
|
1228
|
+
address: "text-neutral-20",
|
|
1229
|
+
bytes: "text-neutral-60"
|
|
1230
|
+
}
|
|
1228
1231
|
}
|
|
1229
1232
|
}
|
|
1230
|
-
}
|
|
1231
|
-
}
|
|
1233
|
+
});
|
|
1234
|
+
}
|
|
1232
1235
|
transformName(name) {
|
|
1233
1236
|
if (this.noTransform) {
|
|
1234
1237
|
return name;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x, E } from '../../index-
|
|
2
|
-
import { n, t } from '../../property-
|
|
1
|
+
import { T as TailwindStyledElement, x, E } from '../../index-92dc158d.js';
|
|
2
|
+
import { n, t } from '../../property-eaa52bd9.js';
|
|
3
3
|
import { c as ce } from '../../index-d14b6a34.js';
|
|
4
|
-
import { c as customStyleMap } from '../../index-
|
|
4
|
+
import { c as customStyleMap } from '../../index-7bb28a79.js';
|
|
5
5
|
import '../../tailwind-config.js';
|
|
6
6
|
import { c as cn } from '../../cn-90c03edf.js';
|
|
7
7
|
import '../../directive-2bb7789e.js';
|
|
@@ -1174,57 +1174,60 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
1174
1174
|
return result;
|
|
1175
1175
|
};
|
|
1176
1176
|
let LuksoUsername = class extends TailwindStyledElement(style) {
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1177
|
+
constructor() {
|
|
1178
|
+
super(...arguments);
|
|
1179
|
+
this.name = "";
|
|
1180
|
+
this.address = "";
|
|
1181
|
+
this.maxWidth = 200;
|
|
1182
|
+
this.size = "large";
|
|
1183
|
+
this.sliceBy = 8;
|
|
1184
|
+
this.addressColor = "";
|
|
1185
|
+
this.nameColor = "";
|
|
1186
|
+
this.customClass = "";
|
|
1187
|
+
this.hidePrefix = false;
|
|
1188
|
+
this.prefix = "@";
|
|
1189
|
+
this.noTransform = false;
|
|
1190
|
+
/** Width of the first 4 bytes of the address */
|
|
1191
|
+
this.bytesWidth = 52;
|
|
1192
|
+
this.styles = ce({
|
|
1193
|
+
slots: {
|
|
1194
|
+
wrapper: "inline-flex",
|
|
1195
|
+
name: "inline-block whitespace-nowrap overflow-hidden text-ellipsis",
|
|
1196
|
+
address: "inline-block",
|
|
1197
|
+
bytes: "inline-block"
|
|
1198
|
+
},
|
|
1199
|
+
variants: {
|
|
1200
|
+
size: {
|
|
1201
|
+
"x-small": {
|
|
1202
|
+
wrapper: "paragraph-ptmono-10-bold"
|
|
1203
|
+
},
|
|
1204
|
+
small: {
|
|
1205
|
+
wrapper: "paragraph-ptmono-12-bold"
|
|
1206
|
+
},
|
|
1207
|
+
medium: {
|
|
1208
|
+
wrapper: "paragraph-ptmono-14-bold"
|
|
1209
|
+
},
|
|
1210
|
+
large: {
|
|
1211
|
+
wrapper: "paragraph-ptmono-16-bold"
|
|
1212
|
+
},
|
|
1213
|
+
"x-large": {
|
|
1214
|
+
wrapper: "paragraph-ptmono-24-bold"
|
|
1215
|
+
}
|
|
1207
1216
|
},
|
|
1208
|
-
|
|
1209
|
-
|
|
1217
|
+
hasNameColor: {
|
|
1218
|
+
false: {
|
|
1219
|
+
name: "text-transparent bg-clip-text bg-gradient-to-r from-gradient-1-start to-gradient-1-end"
|
|
1220
|
+
}
|
|
1210
1221
|
},
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
false: {
|
|
1217
|
-
name: "text-transparent bg-clip-text bg-gradient-to-r from-gradient-1-start to-gradient-1-end"
|
|
1218
|
-
}
|
|
1219
|
-
},
|
|
1220
|
-
hasAddressColor: {
|
|
1221
|
-
false: {
|
|
1222
|
-
address: "text-neutral-20",
|
|
1223
|
-
bytes: "text-neutral-60"
|
|
1222
|
+
hasAddressColor: {
|
|
1223
|
+
false: {
|
|
1224
|
+
address: "text-neutral-20",
|
|
1225
|
+
bytes: "text-neutral-60"
|
|
1226
|
+
}
|
|
1224
1227
|
}
|
|
1225
1228
|
}
|
|
1226
|
-
}
|
|
1227
|
-
}
|
|
1229
|
+
});
|
|
1230
|
+
}
|
|
1228
1231
|
transformName(name) {
|
|
1229
1232
|
if (this.noTransform) {
|
|
1230
1233
|
return name;
|