@lukso/web-components 1.102.2 → 1.103.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 +4 -4
- package/dist/components/index.js +4 -4
- package/dist/components/lukso-button/index.cjs +1 -1
- package/dist/components/lukso-button/index.js +1 -1
- package/dist/components/lukso-card/index.cjs +3 -3
- package/dist/components/lukso-card/index.js +3 -3
- package/dist/components/lukso-checkbox/index.cjs +1 -1
- package/dist/components/lukso-checkbox/index.js +1 -1
- package/dist/components/lukso-color-picker/index.cjs +2 -2
- package/dist/components/lukso-color-picker/index.js +2 -2
- package/dist/components/lukso-dropdown/index.cjs +4 -4
- package/dist/components/lukso-dropdown/index.js +4 -4
- package/dist/components/lukso-dropdown-option/index.cjs +1 -1
- package/dist/components/lukso-dropdown-option/index.js +1 -1
- package/dist/components/lukso-footer/index.cjs +1 -1
- package/dist/components/lukso-footer/index.js +1 -1
- package/dist/components/lukso-icon/icons/hammer.d.ts +3 -0
- package/dist/components/lukso-icon/icons/hammer.d.ts.map +1 -0
- package/dist/components/lukso-icon/index.cjs +40 -3
- package/dist/components/lukso-icon/index.d.ts.map +1 -1
- package/dist/components/lukso-icon/index.js +40 -3
- package/dist/components/lukso-image/index.cjs +2 -2
- package/dist/components/lukso-image/index.js +2 -2
- package/dist/components/lukso-input/index.cjs +2 -2
- package/dist/components/lukso-input/index.js +2 -2
- package/dist/components/lukso-modal/index.cjs +1 -1
- package/dist/components/lukso-modal/index.js +1 -1
- package/dist/components/lukso-navbar/index.cjs +3 -3
- package/dist/components/lukso-navbar/index.js +3 -3
- package/dist/components/lukso-pagination/index.cjs +2 -2
- package/dist/components/lukso-pagination/index.js +2 -2
- package/dist/components/lukso-profile/index.cjs +2 -2
- package/dist/components/lukso-profile/index.js +2 -2
- package/dist/components/lukso-progress/index.cjs +2 -2
- package/dist/components/lukso-progress/index.js +2 -2
- package/dist/components/lukso-sanitize/index.cjs +1 -1
- package/dist/components/lukso-sanitize/index.js +1 -1
- package/dist/components/lukso-search/index.cjs +4 -4
- package/dist/components/lukso-search/index.js +4 -4
- package/dist/components/lukso-select/index.cjs +72 -72
- package/dist/components/lukso-select/index.js +72 -72
- package/dist/components/lukso-share/index.cjs +26 -23
- package/dist/components/lukso-share/index.js +26 -23
- package/dist/components/lukso-switch/index.cjs +10 -7
- package/dist/components/lukso-switch/index.js +10 -7
- package/dist/components/lukso-tag/index.cjs +34 -31
- package/dist/components/lukso-tag/index.js +34 -31
- package/dist/components/lukso-terms/index.cjs +8 -5
- package/dist/components/lukso-terms/index.js +8 -5
- package/dist/components/lukso-test/index.cjs +15 -12
- package/dist/components/lukso-test/index.js +15 -12
- package/dist/components/lukso-textarea/index.cjs +84 -81
- package/dist/components/lukso-textarea/index.js +84 -81
- package/dist/components/lukso-tooltip/index.cjs +36 -33
- package/dist/components/lukso-tooltip/index.js +36 -33
- package/dist/components/lukso-username/index.cjs +52 -49
- package/dist/components/lukso-username/index.js +52 -49
- package/dist/components/lukso-wizard/index.cjs +44 -41
- package/dist/components/lukso-wizard/index.js +44 -41
- package/dist/{index-b9bc3bbb.cjs → index-17879e5a.cjs} +1 -1
- package/dist/{index-1ce46c50.cjs → index-474fac60.cjs} +1 -1
- package/dist/{index-15b30335.js → index-6349a8aa.js} +1 -1
- package/dist/{index-f62a47db.js → index-7e82dcae.js} +1 -1
- package/dist/{index-89eb56eb.cjs → index-8ccda1e9.cjs} +5 -3
- package/dist/{index-c154a31c.js → index-d89cc6bc.js} +5 -3
- package/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/{style-map-3dd58f82.cjs → style-map-12def811.cjs} +1 -1
- package/dist/{style-map-d46cc789.js → style-map-cf4f4350.js} +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-8ccda1e9.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
|
|
7
7
|
const state = require('../../state-d9fb972b.cjs');
|
|
8
8
|
const index = require('../../index-1d3f4a5a.cjs');
|
|
@@ -10,13 +10,13 @@ require('../lukso-icon/index.cjs');
|
|
|
10
10
|
require('../lukso-profile/index.cjs');
|
|
11
11
|
require('../lukso-username/index.cjs');
|
|
12
12
|
require('../lukso-input/index.cjs');
|
|
13
|
-
require('../../index-
|
|
13
|
+
require('../../index-474fac60.cjs');
|
|
14
14
|
require('../lukso-dropdown-option/index.cjs');
|
|
15
15
|
require('../../bundle-mjs-d58a83c6.cjs');
|
|
16
|
-
require('../../style-map-
|
|
16
|
+
require('../../style-map-12def811.cjs');
|
|
17
17
|
require('../../directive-8278ab14.cjs');
|
|
18
18
|
require('../lukso-image/index.cjs');
|
|
19
|
-
require('../../index-
|
|
19
|
+
require('../../index-17879e5a.cjs');
|
|
20
20
|
require('../../tailwind-config.cjs');
|
|
21
21
|
require('../../cn-5ceac001.cjs');
|
|
22
22
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x, A } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x, A } from '../../index-d89cc6bc.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-1c8c9e90.js';
|
|
3
3
|
import { t } from '../../state-b9ca4e74.js';
|
|
4
4
|
import { c as ce } from '../../index-ca8e900d.js';
|
|
@@ -6,13 +6,13 @@ import '../lukso-icon/index.js';
|
|
|
6
6
|
import '../lukso-profile/index.js';
|
|
7
7
|
import '../lukso-username/index.js';
|
|
8
8
|
import '../lukso-input/index.js';
|
|
9
|
-
import '../../index-
|
|
9
|
+
import '../../index-7e82dcae.js';
|
|
10
10
|
import '../lukso-dropdown-option/index.js';
|
|
11
11
|
import '../../bundle-mjs-fbc6e2a8.js';
|
|
12
|
-
import '../../style-map-
|
|
12
|
+
import '../../style-map-cf4f4350.js';
|
|
13
13
|
import '../../directive-2bb7789e.js';
|
|
14
14
|
import '../lukso-image/index.js';
|
|
15
|
-
import '../../index-
|
|
15
|
+
import '../../index-6349a8aa.js';
|
|
16
16
|
import '../../tailwind-config.js';
|
|
17
17
|
import '../../cn-b54dcc61.js';
|
|
18
18
|
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-8ccda1e9.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
|
|
7
7
|
const state = require('../../state-d9fb972b.cjs');
|
|
8
8
|
const index = require('../../index-1d3f4a5a.cjs');
|
|
9
9
|
require('../lukso-icon/index.cjs');
|
|
10
10
|
require('../lukso-profile/index.cjs');
|
|
11
11
|
require('../lukso-username/index.cjs');
|
|
12
|
-
const components_luksoDropdown_index = require('../../index-
|
|
12
|
+
const components_luksoDropdown_index = require('../../index-474fac60.cjs');
|
|
13
13
|
require('../lukso-dropdown-option/index.cjs');
|
|
14
14
|
require('../../bundle-mjs-d58a83c6.cjs');
|
|
15
|
-
require('../../style-map-
|
|
15
|
+
require('../../style-map-12def811.cjs');
|
|
16
16
|
require('../../directive-8278ab14.cjs');
|
|
17
17
|
require('../lukso-image/index.cjs');
|
|
18
|
-
require('../../index-
|
|
18
|
+
require('../../index-17879e5a.cjs');
|
|
19
19
|
require('../../tailwind-config.cjs');
|
|
20
20
|
require('../../cn-5ceac001.cjs');
|
|
21
21
|
|
|
@@ -33,84 +33,84 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
33
33
|
return result;
|
|
34
34
|
};
|
|
35
35
|
exports.LuksoSelect = class LuksoSelect extends shared_tailwindElement_index.TailwindStyledElement(style) {
|
|
36
|
-
value = "";
|
|
37
|
-
placeholder = "";
|
|
38
|
-
label = "";
|
|
39
|
-
id = "";
|
|
40
|
-
description = "";
|
|
41
|
-
error = "";
|
|
42
|
-
isFullWidth = false;
|
|
43
|
-
isReadonly = false;
|
|
44
|
-
isDisabled = false;
|
|
45
|
-
borderless = false;
|
|
46
|
-
options = "";
|
|
47
|
-
selected = void 0;
|
|
48
|
-
isOpen = false;
|
|
49
|
-
openTop = false;
|
|
50
|
-
isLargeIcon = false;
|
|
51
|
-
isRight = false;
|
|
52
|
-
size = "medium";
|
|
53
|
-
showSelectionCounter = false;
|
|
54
|
-
optionsParsed = [];
|
|
55
|
-
valueParsed = void 0;
|
|
56
36
|
constructor() {
|
|
57
37
|
super();
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
38
|
+
this.value = "";
|
|
39
|
+
this.placeholder = "";
|
|
40
|
+
this.label = "";
|
|
41
|
+
this.id = "";
|
|
42
|
+
this.description = "";
|
|
43
|
+
this.error = "";
|
|
44
|
+
this.isFullWidth = false;
|
|
45
|
+
this.isReadonly = false;
|
|
46
|
+
this.isDisabled = false;
|
|
47
|
+
this.borderless = false;
|
|
48
|
+
this.options = "";
|
|
49
|
+
this.selected = void 0;
|
|
50
|
+
this.isOpen = false;
|
|
51
|
+
this.openTop = false;
|
|
52
|
+
this.isLargeIcon = false;
|
|
53
|
+
this.isRight = false;
|
|
54
|
+
this.size = "medium";
|
|
55
|
+
this.showSelectionCounter = false;
|
|
56
|
+
this.optionsParsed = [];
|
|
57
|
+
this.valueParsed = void 0;
|
|
58
|
+
this.inputStyles = index.ce({
|
|
59
|
+
base: `bg-neutral-100
|
|
64
60
|
border border-solid placeholder:text-neutral-70 select-none whitespace-nowrap
|
|
65
61
|
outline-none transition transition-all duration-150 appearance-none
|
|
66
62
|
text-neutral-20 cursor-pointer border-neutral-90 group-hover:border-neutral-35
|
|
67
63
|
flex items-center`,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
64
|
+
variants: {
|
|
65
|
+
isFullWidth: {
|
|
66
|
+
true: "w-full"
|
|
67
|
+
},
|
|
68
|
+
isDisabled: {
|
|
69
|
+
true: "cursor-not-allowed text-neutral-60 group-hover:border-neutral-90"
|
|
70
|
+
},
|
|
71
|
+
hasError: {
|
|
72
|
+
true: "border-red-85 group-hover:border-red-65"
|
|
73
|
+
},
|
|
74
|
+
borderless: {
|
|
75
|
+
true: "border-0"
|
|
76
|
+
},
|
|
77
|
+
size: {
|
|
78
|
+
small: "h-[28px] px-3 py-2 pr-8 paragraph-inter-12-regular rounded-8",
|
|
79
|
+
medium: "h-[48px] px-4 py-3 pr-11 paragraph-inter-14-regular rounded-12"
|
|
80
|
+
}
|
|
84
81
|
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
82
|
+
});
|
|
83
|
+
this.counterStyles = index.ce({
|
|
84
|
+
base: "border border-neutral-20",
|
|
85
|
+
variants: {
|
|
86
|
+
isDisabled: {
|
|
87
|
+
true: "opacity-60 cursor-not-allowed"
|
|
88
|
+
},
|
|
89
|
+
size: {
|
|
90
|
+
small: "paragraph-inter-10-semi-bold rounded-4 py-[1px] px-[5px] ml-1.5",
|
|
91
|
+
medium: "paragraph-inter-14-semi-bold rounded-8 py-[2px] px-[10px] ml-3"
|
|
92
|
+
}
|
|
96
93
|
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
94
|
+
});
|
|
95
|
+
this.iconStyles = index.ce({
|
|
96
|
+
base: "absolute right-0 transition cursor-pointer",
|
|
97
|
+
variants: {
|
|
98
|
+
isDisabled: {
|
|
99
|
+
true: "opacity-60 cursor-not-allowed"
|
|
100
|
+
},
|
|
101
|
+
isOpen: {
|
|
102
|
+
true: "rotate-180"
|
|
103
|
+
},
|
|
104
|
+
size: {
|
|
105
|
+
small: "mr-2",
|
|
106
|
+
medium: "mr-3"
|
|
107
|
+
}
|
|
111
108
|
}
|
|
109
|
+
});
|
|
110
|
+
if (!this.id) {
|
|
111
|
+
this.id = components_luksoDropdown_index.uniqId();
|
|
112
112
|
}
|
|
113
|
-
}
|
|
113
|
+
}
|
|
114
114
|
connectedCallback() {
|
|
115
115
|
super.connectedCallback();
|
|
116
116
|
window.addEventListener("click", this.handleOutsideDropdownClick.bind(this));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x, A } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x, A } from '../../index-d89cc6bc.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-1c8c9e90.js';
|
|
3
3
|
import { t } from '../../state-b9ca4e74.js';
|
|
4
4
|
import { c as ce } from '../../index-ca8e900d.js';
|
|
5
5
|
import '../lukso-icon/index.js';
|
|
6
6
|
import '../lukso-profile/index.js';
|
|
7
7
|
import '../lukso-username/index.js';
|
|
8
|
-
import { u as uniqId } from '../../index-
|
|
8
|
+
import { u as uniqId } from '../../index-7e82dcae.js';
|
|
9
9
|
import '../lukso-dropdown-option/index.js';
|
|
10
10
|
import '../../bundle-mjs-fbc6e2a8.js';
|
|
11
|
-
import '../../style-map-
|
|
11
|
+
import '../../style-map-cf4f4350.js';
|
|
12
12
|
import '../../directive-2bb7789e.js';
|
|
13
13
|
import '../lukso-image/index.js';
|
|
14
|
-
import '../../index-
|
|
14
|
+
import '../../index-6349a8aa.js';
|
|
15
15
|
import '../../tailwind-config.js';
|
|
16
16
|
import '../../cn-b54dcc61.js';
|
|
17
17
|
|
|
@@ -29,84 +29,84 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
29
29
|
return result;
|
|
30
30
|
};
|
|
31
31
|
let LuksoSelect = class extends TailwindStyledElement(style) {
|
|
32
|
-
value = "";
|
|
33
|
-
placeholder = "";
|
|
34
|
-
label = "";
|
|
35
|
-
id = "";
|
|
36
|
-
description = "";
|
|
37
|
-
error = "";
|
|
38
|
-
isFullWidth = false;
|
|
39
|
-
isReadonly = false;
|
|
40
|
-
isDisabled = false;
|
|
41
|
-
borderless = false;
|
|
42
|
-
options = "";
|
|
43
|
-
selected = void 0;
|
|
44
|
-
isOpen = false;
|
|
45
|
-
openTop = false;
|
|
46
|
-
isLargeIcon = false;
|
|
47
|
-
isRight = false;
|
|
48
|
-
size = "medium";
|
|
49
|
-
showSelectionCounter = false;
|
|
50
|
-
optionsParsed = [];
|
|
51
|
-
valueParsed = void 0;
|
|
52
32
|
constructor() {
|
|
53
33
|
super();
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
34
|
+
this.value = "";
|
|
35
|
+
this.placeholder = "";
|
|
36
|
+
this.label = "";
|
|
37
|
+
this.id = "";
|
|
38
|
+
this.description = "";
|
|
39
|
+
this.error = "";
|
|
40
|
+
this.isFullWidth = false;
|
|
41
|
+
this.isReadonly = false;
|
|
42
|
+
this.isDisabled = false;
|
|
43
|
+
this.borderless = false;
|
|
44
|
+
this.options = "";
|
|
45
|
+
this.selected = void 0;
|
|
46
|
+
this.isOpen = false;
|
|
47
|
+
this.openTop = false;
|
|
48
|
+
this.isLargeIcon = false;
|
|
49
|
+
this.isRight = false;
|
|
50
|
+
this.size = "medium";
|
|
51
|
+
this.showSelectionCounter = false;
|
|
52
|
+
this.optionsParsed = [];
|
|
53
|
+
this.valueParsed = void 0;
|
|
54
|
+
this.inputStyles = ce({
|
|
55
|
+
base: `bg-neutral-100
|
|
60
56
|
border border-solid placeholder:text-neutral-70 select-none whitespace-nowrap
|
|
61
57
|
outline-none transition transition-all duration-150 appearance-none
|
|
62
58
|
text-neutral-20 cursor-pointer border-neutral-90 group-hover:border-neutral-35
|
|
63
59
|
flex items-center`,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
60
|
+
variants: {
|
|
61
|
+
isFullWidth: {
|
|
62
|
+
true: "w-full"
|
|
63
|
+
},
|
|
64
|
+
isDisabled: {
|
|
65
|
+
true: "cursor-not-allowed text-neutral-60 group-hover:border-neutral-90"
|
|
66
|
+
},
|
|
67
|
+
hasError: {
|
|
68
|
+
true: "border-red-85 group-hover:border-red-65"
|
|
69
|
+
},
|
|
70
|
+
borderless: {
|
|
71
|
+
true: "border-0"
|
|
72
|
+
},
|
|
73
|
+
size: {
|
|
74
|
+
small: "h-[28px] px-3 py-2 pr-8 paragraph-inter-12-regular rounded-8",
|
|
75
|
+
medium: "h-[48px] px-4 py-3 pr-11 paragraph-inter-14-regular rounded-12"
|
|
76
|
+
}
|
|
80
77
|
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
78
|
+
});
|
|
79
|
+
this.counterStyles = ce({
|
|
80
|
+
base: "border border-neutral-20",
|
|
81
|
+
variants: {
|
|
82
|
+
isDisabled: {
|
|
83
|
+
true: "opacity-60 cursor-not-allowed"
|
|
84
|
+
},
|
|
85
|
+
size: {
|
|
86
|
+
small: "paragraph-inter-10-semi-bold rounded-4 py-[1px] px-[5px] ml-1.5",
|
|
87
|
+
medium: "paragraph-inter-14-semi-bold rounded-8 py-[2px] px-[10px] ml-3"
|
|
88
|
+
}
|
|
92
89
|
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
90
|
+
});
|
|
91
|
+
this.iconStyles = ce({
|
|
92
|
+
base: "absolute right-0 transition cursor-pointer",
|
|
93
|
+
variants: {
|
|
94
|
+
isDisabled: {
|
|
95
|
+
true: "opacity-60 cursor-not-allowed"
|
|
96
|
+
},
|
|
97
|
+
isOpen: {
|
|
98
|
+
true: "rotate-180"
|
|
99
|
+
},
|
|
100
|
+
size: {
|
|
101
|
+
small: "mr-2",
|
|
102
|
+
medium: "mr-3"
|
|
103
|
+
}
|
|
107
104
|
}
|
|
105
|
+
});
|
|
106
|
+
if (!this.id) {
|
|
107
|
+
this.id = uniqId();
|
|
108
108
|
}
|
|
109
|
-
}
|
|
109
|
+
}
|
|
110
110
|
connectedCallback() {
|
|
111
111
|
super.connectedCallback();
|
|
112
112
|
window.addEventListener("click", this.handleOutsideDropdownClick.bind(this));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-8ccda1e9.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
|
|
7
7
|
|
|
8
8
|
const style = ":host {\n display: inline-flex\n}";
|
|
@@ -19,28 +19,31 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
exports.LuksoShare = class LuksoShare extends shared_tailwindElement_index.TailwindStyledElement(style) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
22
|
+
constructor() {
|
|
23
|
+
super(...arguments);
|
|
24
|
+
this.customStyle = "";
|
|
25
|
+
this.providers = "";
|
|
26
|
+
this.defaultProviders = [
|
|
27
|
+
"twitter",
|
|
28
|
+
"instagram",
|
|
29
|
+
"linkedin",
|
|
30
|
+
"telegram",
|
|
31
|
+
"discord",
|
|
32
|
+
"reddit",
|
|
33
|
+
"medium",
|
|
34
|
+
"github"
|
|
35
|
+
];
|
|
36
|
+
this.defaultProviderLinks = {
|
|
37
|
+
twitter: "https://twitter.com/ERC725Account",
|
|
38
|
+
instagram: "https://www.instagram.com/lukso",
|
|
39
|
+
linkedin: "https://linkedin.com/company/lukso",
|
|
40
|
+
telegram: "https://t.me/LUKSO_News",
|
|
41
|
+
discord: "https://discord.gg/lukso",
|
|
42
|
+
reddit: "https://www.reddit.com/r/lukso",
|
|
43
|
+
medium: "https://medium.com/lukso",
|
|
44
|
+
github: "https://github.com/lukso-network"
|
|
45
|
+
};
|
|
46
|
+
}
|
|
44
47
|
linkTemplate(name, url) {
|
|
45
48
|
return shared_tailwindElement_index.x`<a
|
|
46
49
|
href=${url}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x } from '../../index-d89cc6bc.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-1c8c9e90.js';
|
|
3
3
|
|
|
4
4
|
const style = ":host {\n display: inline-flex\n}";
|
|
@@ -15,28 +15,31 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
15
15
|
return result;
|
|
16
16
|
};
|
|
17
17
|
let LuksoShare = class extends TailwindStyledElement(style) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this.customStyle = "";
|
|
21
|
+
this.providers = "";
|
|
22
|
+
this.defaultProviders = [
|
|
23
|
+
"twitter",
|
|
24
|
+
"instagram",
|
|
25
|
+
"linkedin",
|
|
26
|
+
"telegram",
|
|
27
|
+
"discord",
|
|
28
|
+
"reddit",
|
|
29
|
+
"medium",
|
|
30
|
+
"github"
|
|
31
|
+
];
|
|
32
|
+
this.defaultProviderLinks = {
|
|
33
|
+
twitter: "https://twitter.com/ERC725Account",
|
|
34
|
+
instagram: "https://www.instagram.com/lukso",
|
|
35
|
+
linkedin: "https://linkedin.com/company/lukso",
|
|
36
|
+
telegram: "https://t.me/LUKSO_News",
|
|
37
|
+
discord: "https://discord.gg/lukso",
|
|
38
|
+
reddit: "https://www.reddit.com/r/lukso",
|
|
39
|
+
medium: "https://medium.com/lukso",
|
|
40
|
+
github: "https://github.com/lukso-network"
|
|
41
|
+
};
|
|
42
|
+
}
|
|
40
43
|
linkTemplate(name, url) {
|
|
41
44
|
return x`<a
|
|
42
45
|
href=${url}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-8ccda1e9.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-d5e45650.cjs');
|
|
7
|
-
const styleMap = require('../../style-map-
|
|
7
|
+
const styleMap = require('../../style-map-12def811.cjs');
|
|
8
8
|
const index = require('../../index-e9668573.cjs');
|
|
9
9
|
require('../../directive-8278ab14.cjs');
|
|
10
10
|
|
|
@@ -20,9 +20,14 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
20
20
|
return result;
|
|
21
21
|
};
|
|
22
22
|
exports.LuksoSwitch = class LuksoSwitch extends shared_tailwindElement_index.TailwindElement {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
constructor() {
|
|
24
|
+
super(...arguments);
|
|
25
|
+
this.color = "green-54";
|
|
26
|
+
this.isChecked = false;
|
|
27
|
+
this.isDisabled = false;
|
|
28
|
+
this.defaultLabelStyles = `transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10`;
|
|
29
|
+
this.defaultInputStyles = `absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in`;
|
|
30
|
+
}
|
|
26
31
|
async handleChange(event) {
|
|
27
32
|
const target = event.target;
|
|
28
33
|
this.isChecked = target.checked;
|
|
@@ -37,8 +42,6 @@ exports.LuksoSwitch = class LuksoSwitch extends shared_tailwindElement_index.Tai
|
|
|
37
42
|
});
|
|
38
43
|
this.dispatchEvent(changeEvent);
|
|
39
44
|
}
|
|
40
|
-
defaultLabelStyles = `transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10`;
|
|
41
|
-
defaultInputStyles = `absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in`;
|
|
42
45
|
render() {
|
|
43
46
|
return shared_tailwindElement_index.x`
|
|
44
47
|
<label
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as TailwindElement, x } from '../../index-
|
|
1
|
+
import { a as TailwindElement, x } from '../../index-d89cc6bc.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-1c8c9e90.js';
|
|
3
|
-
import { o } from '../../style-map-
|
|
3
|
+
import { o } from '../../style-map-cf4f4350.js';
|
|
4
4
|
import { c as customClassMap } from '../../index-5e194caf.js';
|
|
5
5
|
import '../../directive-2bb7789e.js';
|
|
6
6
|
|
|
@@ -16,9 +16,14 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
16
16
|
return result;
|
|
17
17
|
};
|
|
18
18
|
let LuksoSwitch = class extends TailwindElement {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
constructor() {
|
|
20
|
+
super(...arguments);
|
|
21
|
+
this.color = "green-54";
|
|
22
|
+
this.isChecked = false;
|
|
23
|
+
this.isDisabled = false;
|
|
24
|
+
this.defaultLabelStyles = `transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10`;
|
|
25
|
+
this.defaultInputStyles = `absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in`;
|
|
26
|
+
}
|
|
22
27
|
async handleChange(event) {
|
|
23
28
|
const target = event.target;
|
|
24
29
|
this.isChecked = target.checked;
|
|
@@ -33,8 +38,6 @@ let LuksoSwitch = class extends TailwindElement {
|
|
|
33
38
|
});
|
|
34
39
|
this.dispatchEvent(changeEvent);
|
|
35
40
|
}
|
|
36
|
-
defaultLabelStyles = `transition duration-300 ease-in block h-6 overflow-hidden rounded-full relative inline-block w-10`;
|
|
37
|
-
defaultInputStyles = `absolute block w-6 h-6 rounded-full bg-white border-2 appearance-none transition duration-300 ease-in`;
|
|
38
41
|
render() {
|
|
39
42
|
return x`
|
|
40
43
|
<label
|