@lukso/web-components 1.29.0 → 1.31.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/README.md +0 -4
- package/dist/components/index.cjs +10 -5
- package/dist/components/index.js +6 -5
- package/dist/components/lukso-button/index.cjs +20 -20
- package/dist/components/lukso-button/index.js +4 -4
- package/dist/components/lukso-card/index.cjs +33 -17
- package/dist/components/lukso-card/index.js +24 -8
- package/dist/components/lukso-footer/index.cjs +58 -0
- package/dist/components/lukso-footer/index.js +56 -0
- package/dist/components/lukso-icon/index.cjs +8 -8
- package/dist/components/lukso-icon/index.js +3 -3
- package/dist/components/lukso-input/index.cjs +24 -24
- package/dist/components/lukso-input/index.js +4 -4
- package/dist/components/lukso-modal/index.cjs +6 -6
- package/dist/components/lukso-modal/index.js +3 -3
- package/dist/components/lukso-navbar/index.cjs +47 -17
- package/dist/components/lukso-navbar/index.js +42 -12
- package/dist/components/lukso-profile/index.cjs +8 -8
- package/dist/components/lukso-profile/index.js +3 -3
- package/dist/components/lukso-progress/index.cjs +8 -8
- package/dist/components/lukso-progress/index.js +3 -3
- package/dist/components/lukso-sanitize/index.cjs +5 -5
- package/dist/components/lukso-sanitize/index.js +2 -2
- 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 +8 -8
- package/dist/components/lukso-switch/index.js +4 -4
- package/dist/components/lukso-tag/index.cjs +19 -11
- package/dist/components/lukso-tag/index.js +14 -6
- package/dist/components/lukso-terms/index.cjs +7 -7
- package/dist/components/lukso-terms/index.js +5 -5
- package/dist/components/lukso-test/index.cjs +6 -6
- package/dist/components/lukso-test/index.js +2 -2
- package/dist/components/lukso-username/index.cjs +29 -15
- package/dist/components/lukso-username/index.js +22 -8
- package/dist/components/lukso-wizard/index.cjs +7 -7
- package/dist/components/lukso-wizard/index.js +3 -3
- package/dist/{directive-9ec64c08.js → directive-190d1dea.js} +1 -1
- package/dist/{directive-db00f5fb.cjs → directive-d0161b26.cjs} +2 -2
- package/dist/{index-90c43338.js → index-4507034c.js} +1 -1
- package/dist/{index-714323c9.js → index-48ee71cd.js} +1 -1
- package/dist/{index-c600bfd6.cjs → index-4a94cf2c.cjs} +1 -1
- package/dist/{index-7dc05ee5.cjs → index-a1c8eb00.cjs} +1 -1
- package/dist/index.cjs +10 -5
- package/dist/index.js +6 -5
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/lukso-card/index.d.ts +6 -1
- package/dist/src/components/lukso-card/lukso-card.stories.d.ts +4 -0
- package/dist/src/components/lukso-card/lukso-card.stories.d.ts.map +1 -1
- package/dist/src/components/lukso-footer/index.d.ts +9 -0
- package/dist/src/components/lukso-footer/lukso-footer.stories.d.ts +7 -0
- package/dist/src/components/lukso-footer/lukso-footer.stories.d.ts.map +1 -0
- package/dist/src/components/lukso-navbar/index.d.ts +5 -0
- package/dist/src/components/lukso-navbar/lukso-navbar.stories.d.ts +5 -1
- package/dist/src/components/lukso-navbar/lukso-navbar.stories.d.ts.map +1 -1
- package/dist/src/components/lukso-tag/index.d.ts +5 -3
- package/dist/src/components/lukso-tag/lukso-tag.stories.d.ts +2 -0
- package/dist/src/components/lukso-tag/lukso-tag.stories.d.ts.map +1 -1
- package/dist/src/components/lukso-username/index.d.ts +2 -1
- package/dist/src/components/lukso-username/lukso-username.stories.d.ts +2 -2
- package/dist/src/components/lukso-username/lukso-username.stories.d.ts.map +1 -1
- package/dist/{state-7fde94d1.js → state-069457a0.js} +1 -1
- package/dist/{state-a62a7d5d.cjs → state-a13eb70b.cjs} +2 -2
- package/dist/{style-map-105316ca.js → style-map-a25f1f00.js} +2 -2
- package/dist/{style-map-09c2cd24.cjs → style-map-f737f913.cjs} +2 -2
- package/package.json +6 -1
- package/tools/assets/images/up-logo.png +0 -0
package/README.md
CHANGED
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
4
4
|
|
|
5
5
|
const components_luksoButton_index = require('./lukso-button/index.cjs');
|
|
6
6
|
const components_luksoCard_index = require('./lukso-card/index.cjs');
|
|
7
|
+
const components_luksoFooter_index = require('./lukso-footer/index.cjs');
|
|
7
8
|
const components_luksoIcon_index = require('./lukso-icon/index.cjs');
|
|
8
9
|
const components_luksoInput_index = require('./lukso-input/index.cjs');
|
|
9
10
|
const components_luksoModal_index = require('./lukso-modal/index.cjs');
|
|
@@ -18,11 +19,11 @@ const components_luksoTerms_index = require('./lukso-terms/index.cjs');
|
|
|
18
19
|
const components_luksoTest_index = require('./lukso-test/index.cjs');
|
|
19
20
|
const components_luksoUsername_index = require('./lukso-username/index.cjs');
|
|
20
21
|
const components_luksoWizard_index = require('./lukso-wizard/index.cjs');
|
|
21
|
-
const shared_tailwindElement_index = require('../index-
|
|
22
|
-
require('../directive-
|
|
23
|
-
require('../state-
|
|
24
|
-
require('../index-
|
|
25
|
-
require('../style-map-
|
|
22
|
+
const shared_tailwindElement_index = require('../index-4a94cf2c.cjs');
|
|
23
|
+
require('../directive-d0161b26.cjs');
|
|
24
|
+
require('../state-a13eb70b.cjs');
|
|
25
|
+
require('../index-a1c8eb00.cjs');
|
|
26
|
+
require('../style-map-f737f913.cjs');
|
|
26
27
|
require('../style-map-ce3031bc.cjs');
|
|
27
28
|
|
|
28
29
|
|
|
@@ -35,6 +36,10 @@ Object.defineProperty(exports, 'LuksoCard', {
|
|
|
35
36
|
enumerable: true,
|
|
36
37
|
get: () => components_luksoCard_index.LuksoCard
|
|
37
38
|
});
|
|
39
|
+
Object.defineProperty(exports, 'LuksoFooter', {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: () => components_luksoFooter_index.LuksoFooter
|
|
42
|
+
});
|
|
38
43
|
Object.defineProperty(exports, 'LuksoIcon', {
|
|
39
44
|
enumerable: true,
|
|
40
45
|
get: () => components_luksoIcon_index.LuksoIcon
|
package/dist/components/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { LuksoButton } from './lukso-button/index.js';
|
|
2
2
|
export { LuksoCard } from './lukso-card/index.js';
|
|
3
|
+
export { LuksoFooter } from './lukso-footer/index.js';
|
|
3
4
|
export { LuksoIcon } from './lukso-icon/index.js';
|
|
4
5
|
export { LuksoInput } from './lukso-input/index.js';
|
|
5
6
|
export { LuksoModal } from './lukso-modal/index.js';
|
|
@@ -14,9 +15,9 @@ export { LuksoTerms } from './lukso-terms/index.js';
|
|
|
14
15
|
export { LuksoTest } from './lukso-test/index.js';
|
|
15
16
|
export { LuksoUsername } from './lukso-username/index.js';
|
|
16
17
|
export { LuksoWizard } from './lukso-wizard/index.js';
|
|
17
|
-
export { a as TailwindElement, T as TailwindStyledElement } from '../index-
|
|
18
|
-
import '../directive-
|
|
19
|
-
import '../state-
|
|
20
|
-
import '../index-
|
|
21
|
-
import '../style-map-
|
|
18
|
+
export { a as TailwindElement, T as TailwindStyledElement } from '../index-4507034c.js';
|
|
19
|
+
import '../directive-190d1dea.js';
|
|
20
|
+
import '../state-069457a0.js';
|
|
21
|
+
import '../index-48ee71cd.js';
|
|
22
|
+
import '../style-map-a25f1f00.js';
|
|
22
23
|
import '../style-map-06219dec.js';
|
|
@@ -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 directive = require('../../directive-
|
|
7
|
-
const state = require('../../state-
|
|
8
|
-
const index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
|
|
6
|
+
const directive = require('../../directive-d0161b26.cjs');
|
|
7
|
+
const state = require('../../state-a13eb70b.cjs');
|
|
8
|
+
const index = require('../../index-a1c8eb00.cjs');
|
|
9
9
|
|
|
10
10
|
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
|
|
11
11
|
|
|
@@ -183,49 +183,49 @@ exports.LuksoButton = class LuksoButton extends shared_tailwindElement_index.Tai
|
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
185
|
__decorateClass([
|
|
186
|
-
directive.e({ type: String })
|
|
186
|
+
directive.e$1({ type: String })
|
|
187
187
|
], exports.LuksoButton.prototype, "variant", 2);
|
|
188
188
|
__decorateClass([
|
|
189
|
-
directive.e({ type: String })
|
|
189
|
+
directive.e$1({ type: String })
|
|
190
190
|
], exports.LuksoButton.prototype, "size", 2);
|
|
191
191
|
__decorateClass([
|
|
192
|
-
directive.e({ type: Boolean })
|
|
192
|
+
directive.e$1({ type: Boolean })
|
|
193
193
|
], exports.LuksoButton.prototype, "disabled", 2);
|
|
194
194
|
__decorateClass([
|
|
195
|
-
directive.e({ type: Boolean, attribute: "is-full-width" })
|
|
195
|
+
directive.e$1({ type: Boolean, attribute: "is-full-width" })
|
|
196
196
|
], exports.LuksoButton.prototype, "isFullWidth", 2);
|
|
197
197
|
__decorateClass([
|
|
198
|
-
directive.e({ type: Boolean, attribute: "is-long-press" })
|
|
198
|
+
directive.e$1({ type: Boolean, attribute: "is-long-press" })
|
|
199
199
|
], exports.LuksoButton.prototype, "isLongPress", 2);
|
|
200
200
|
__decorateClass([
|
|
201
|
-
directive.e({ type: Boolean, attribute: "is-link" })
|
|
201
|
+
directive.e$1({ type: Boolean, attribute: "is-link" })
|
|
202
202
|
], exports.LuksoButton.prototype, "isLink", 2);
|
|
203
203
|
__decorateClass([
|
|
204
|
-
directive.e({ type: Boolean, attribute: "is-loading" })
|
|
204
|
+
directive.e$1({ type: Boolean, attribute: "is-loading" })
|
|
205
205
|
], exports.LuksoButton.prototype, "isLoading", 2);
|
|
206
206
|
__decorateClass([
|
|
207
|
-
directive.e({ type: String })
|
|
207
|
+
directive.e$1({ type: String })
|
|
208
208
|
], exports.LuksoButton.prototype, "type", 2);
|
|
209
209
|
__decorateClass([
|
|
210
|
-
directive.e({ type: String })
|
|
210
|
+
directive.e$1({ type: String })
|
|
211
211
|
], exports.LuksoButton.prototype, "href", 2);
|
|
212
212
|
__decorateClass([
|
|
213
|
-
directive.e({ type: String })
|
|
213
|
+
directive.e$1({ type: String })
|
|
214
214
|
], exports.LuksoButton.prototype, "target", 2);
|
|
215
215
|
__decorateClass([
|
|
216
|
-
directive.e({ type: String })
|
|
216
|
+
directive.e$1({ type: String })
|
|
217
217
|
], exports.LuksoButton.prototype, "rel", 2);
|
|
218
218
|
__decorateClass([
|
|
219
|
-
directive.e({ type: String, attribute: "loading-text" })
|
|
219
|
+
directive.e$1({ type: String, attribute: "loading-text" })
|
|
220
220
|
], exports.LuksoButton.prototype, "loadingText", 2);
|
|
221
221
|
__decorateClass([
|
|
222
|
-
directive.e({ type: String, attribute: "custom-class" })
|
|
222
|
+
directive.e$1({ type: String, attribute: "custom-class" })
|
|
223
223
|
], exports.LuksoButton.prototype, "customClass", 2);
|
|
224
224
|
__decorateClass([
|
|
225
|
-
directive.e({ type: Boolean, attribute: "is-active" })
|
|
225
|
+
directive.e$1({ type: Boolean, attribute: "is-active" })
|
|
226
226
|
], exports.LuksoButton.prototype, "isActive", 2);
|
|
227
227
|
__decorateClass([
|
|
228
|
-
directive.e({ type: Number })
|
|
228
|
+
directive.e$1({ type: Number })
|
|
229
229
|
], exports.LuksoButton.prototype, "count", 2);
|
|
230
230
|
__decorateClass([
|
|
231
231
|
state.t()
|
|
@@ -237,5 +237,5 @@ __decorateClass([
|
|
|
237
237
|
state.t()
|
|
238
238
|
], exports.LuksoButton.prototype, "timer", 2);
|
|
239
239
|
exports.LuksoButton = __decorateClass([
|
|
240
|
-
directive.e
|
|
240
|
+
directive.e("lukso-button")
|
|
241
241
|
], exports.LuksoButton);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
2
|
-
import { e,
|
|
3
|
-
import { t } from '../../state-
|
|
4
|
-
import { c as customClassMap } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x } from '../../index-4507034c.js';
|
|
2
|
+
import { a as e, e as e$1 } from '../../directive-190d1dea.js';
|
|
3
|
+
import { t } from '../../state-069457a0.js';
|
|
4
|
+
import { c as customClassMap } from '../../index-48ee71cd.js';
|
|
5
5
|
|
|
6
6
|
const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
|
|
7
7
|
|
|
@@ -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 directive = require('../../directive-
|
|
7
|
-
const styleMap = require('../../style-map-
|
|
8
|
-
const index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
|
|
6
|
+
const directive = require('../../directive-d0161b26.cjs');
|
|
7
|
+
const styleMap = require('../../style-map-f737f913.cjs');
|
|
8
|
+
const index = require('../../index-a1c8eb00.cjs');
|
|
9
9
|
require('../lukso-profile/index.cjs');
|
|
10
10
|
|
|
11
11
|
const style = ":host {\n display: flex;\n width: 100%;\n}\n\n:host([is-fixed-width]) {\n width: inherit;\n}";
|
|
@@ -32,14 +32,20 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
32
32
|
this.isFixedHeight = false;
|
|
33
33
|
this.isFullWidth = false;
|
|
34
34
|
this.customClass = "";
|
|
35
|
-
this.
|
|
35
|
+
this.size = "medium";
|
|
36
|
+
this.isHoverable = false;
|
|
37
|
+
this.mediumStyles = `rounded-24 shadow-neutral-drop-shadow-2xl`;
|
|
38
|
+
this.smallStyles = `rounded-12 shadow-neutral-drop-shadow`;
|
|
39
|
+
this.smallHoverStyles = `hover:shadow-neutral-drop-shadow-1xl cursor-pointer transition`;
|
|
36
40
|
}
|
|
37
41
|
basicTemplate() {
|
|
38
42
|
return shared_tailwindElement_index.x`
|
|
39
43
|
<div
|
|
40
44
|
data-testid="card"
|
|
41
45
|
class="bg-neutral-100 ${index.customClassMap({
|
|
42
|
-
[this.
|
|
46
|
+
[this.mediumStyles]: !this.customClass && this.size === "medium",
|
|
47
|
+
[this.smallStyles]: !this.customClass && this.size === "small",
|
|
48
|
+
[this.smallHoverStyles]: this.isHoverable && this.size === "small",
|
|
43
49
|
[this.customClass]: !!this.customClass,
|
|
44
50
|
["w-[362px]"]: this.isFixedWidth,
|
|
45
51
|
["min-h-[534px]"]: this.isFixedHeight,
|
|
@@ -55,7 +61,9 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
55
61
|
<div
|
|
56
62
|
data-testid="card"
|
|
57
63
|
class="bg-neutral-100 grid grid-rows-[auto,1fr] ${index.customClassMap({
|
|
58
|
-
[this.
|
|
64
|
+
[this.mediumStyles]: !this.customClass && this.size === "medium",
|
|
65
|
+
[this.smallStyles]: !this.customClass && this.size === "small",
|
|
66
|
+
[this.smallHoverStyles]: this.isHoverable && this.size === "small",
|
|
59
67
|
[this.customClass]: !!this.customClass,
|
|
60
68
|
["w-[362px]"]: this.isFixedWidth,
|
|
61
69
|
["min-h-[534px]"]: this.isFixedHeight,
|
|
@@ -76,7 +84,9 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
76
84
|
<div
|
|
77
85
|
data-testid="card"
|
|
78
86
|
class="bg-neutral-100 grid grid-rows-[auto,1fr] ${index.customClassMap({
|
|
79
|
-
[this.
|
|
87
|
+
[this.mediumStyles]: !this.customClass && this.size === "medium",
|
|
88
|
+
[this.smallStyles]: !this.customClass && this.size === "small",
|
|
89
|
+
[this.smallHoverStyles]: this.isHoverable && this.size === "small",
|
|
80
90
|
[this.customClass]: !!this.customClass,
|
|
81
91
|
["w-[362px]"]: this.isFixedWidth,
|
|
82
92
|
["min-h-[534px]"]: this.isFixedHeight,
|
|
@@ -131,29 +141,35 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
131
141
|
}
|
|
132
142
|
};
|
|
133
143
|
__decorateClass([
|
|
134
|
-
directive.e({ type: String })
|
|
144
|
+
directive.e$1({ type: String })
|
|
135
145
|
], exports.LuksoCard.prototype, "variant", 2);
|
|
136
146
|
__decorateClass([
|
|
137
|
-
directive.e({ type: String, attribute: "background-url" })
|
|
147
|
+
directive.e$1({ type: String, attribute: "background-url" })
|
|
138
148
|
], exports.LuksoCard.prototype, "backgroundUrl", 2);
|
|
139
149
|
__decorateClass([
|
|
140
|
-
directive.e({ type: String, attribute: "profile-url" })
|
|
150
|
+
directive.e$1({ type: String, attribute: "profile-url" })
|
|
141
151
|
], exports.LuksoCard.prototype, "profileUrl", 2);
|
|
142
152
|
__decorateClass([
|
|
143
|
-
directive.e({ type: String, attribute: "profile-address" })
|
|
153
|
+
directive.e$1({ type: String, attribute: "profile-address" })
|
|
144
154
|
], exports.LuksoCard.prototype, "profileAddress", 2);
|
|
145
155
|
__decorateClass([
|
|
146
|
-
directive.e({ type: Boolean, attribute: "is-fixed-width" })
|
|
156
|
+
directive.e$1({ type: Boolean, attribute: "is-fixed-width" })
|
|
147
157
|
], exports.LuksoCard.prototype, "isFixedWidth", 2);
|
|
148
158
|
__decorateClass([
|
|
149
|
-
directive.e({ type: Boolean, attribute: "is-fixed-height" })
|
|
159
|
+
directive.e$1({ type: Boolean, attribute: "is-fixed-height" })
|
|
150
160
|
], exports.LuksoCard.prototype, "isFixedHeight", 2);
|
|
151
161
|
__decorateClass([
|
|
152
|
-
directive.e({ type: Boolean, attribute: "is-full-width" })
|
|
162
|
+
directive.e$1({ type: Boolean, attribute: "is-full-width" })
|
|
153
163
|
], exports.LuksoCard.prototype, "isFullWidth", 2);
|
|
154
164
|
__decorateClass([
|
|
155
|
-
directive.e({ type: String, attribute: "custom-class" })
|
|
165
|
+
directive.e$1({ type: String, attribute: "custom-class" })
|
|
156
166
|
], exports.LuksoCard.prototype, "customClass", 2);
|
|
167
|
+
__decorateClass([
|
|
168
|
+
directive.e$1({ type: String })
|
|
169
|
+
], exports.LuksoCard.prototype, "size", 2);
|
|
170
|
+
__decorateClass([
|
|
171
|
+
directive.e$1({ type: Boolean, attribute: "is-hoverable" })
|
|
172
|
+
], exports.LuksoCard.prototype, "isHoverable", 2);
|
|
157
173
|
exports.LuksoCard = __decorateClass([
|
|
158
|
-
directive.e
|
|
174
|
+
directive.e("lukso-card")
|
|
159
175
|
], exports.LuksoCard);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x } from '../../index-
|
|
2
|
-
import { e,
|
|
3
|
-
import { o } from '../../style-map-
|
|
4
|
-
import { c as customClassMap } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x } from '../../index-4507034c.js';
|
|
2
|
+
import { a as e, e as e$1 } from '../../directive-190d1dea.js';
|
|
3
|
+
import { o } from '../../style-map-a25f1f00.js';
|
|
4
|
+
import { c as customClassMap } from '../../index-48ee71cd.js';
|
|
5
5
|
import '../lukso-profile/index.js';
|
|
6
6
|
|
|
7
7
|
const style = ":host {\n display: flex;\n width: 100%;\n}\n\n:host([is-fixed-width]) {\n width: inherit;\n}";
|
|
@@ -28,14 +28,20 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
28
28
|
this.isFixedHeight = false;
|
|
29
29
|
this.isFullWidth = false;
|
|
30
30
|
this.customClass = "";
|
|
31
|
-
this.
|
|
31
|
+
this.size = "medium";
|
|
32
|
+
this.isHoverable = false;
|
|
33
|
+
this.mediumStyles = `rounded-24 shadow-neutral-drop-shadow-2xl`;
|
|
34
|
+
this.smallStyles = `rounded-12 shadow-neutral-drop-shadow`;
|
|
35
|
+
this.smallHoverStyles = `hover:shadow-neutral-drop-shadow-1xl cursor-pointer transition`;
|
|
32
36
|
}
|
|
33
37
|
basicTemplate() {
|
|
34
38
|
return x`
|
|
35
39
|
<div
|
|
36
40
|
data-testid="card"
|
|
37
41
|
class="bg-neutral-100 ${customClassMap({
|
|
38
|
-
[this.
|
|
42
|
+
[this.mediumStyles]: !this.customClass && this.size === "medium",
|
|
43
|
+
[this.smallStyles]: !this.customClass && this.size === "small",
|
|
44
|
+
[this.smallHoverStyles]: this.isHoverable && this.size === "small",
|
|
39
45
|
[this.customClass]: !!this.customClass,
|
|
40
46
|
["w-[362px]"]: this.isFixedWidth,
|
|
41
47
|
["min-h-[534px]"]: this.isFixedHeight,
|
|
@@ -51,7 +57,9 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
51
57
|
<div
|
|
52
58
|
data-testid="card"
|
|
53
59
|
class="bg-neutral-100 grid grid-rows-[auto,1fr] ${customClassMap({
|
|
54
|
-
[this.
|
|
60
|
+
[this.mediumStyles]: !this.customClass && this.size === "medium",
|
|
61
|
+
[this.smallStyles]: !this.customClass && this.size === "small",
|
|
62
|
+
[this.smallHoverStyles]: this.isHoverable && this.size === "small",
|
|
55
63
|
[this.customClass]: !!this.customClass,
|
|
56
64
|
["w-[362px]"]: this.isFixedWidth,
|
|
57
65
|
["min-h-[534px]"]: this.isFixedHeight,
|
|
@@ -72,7 +80,9 @@ let LuksoCard = class extends TailwindStyledElement(style) {
|
|
|
72
80
|
<div
|
|
73
81
|
data-testid="card"
|
|
74
82
|
class="bg-neutral-100 grid grid-rows-[auto,1fr] ${customClassMap({
|
|
75
|
-
[this.
|
|
83
|
+
[this.mediumStyles]: !this.customClass && this.size === "medium",
|
|
84
|
+
[this.smallStyles]: !this.customClass && this.size === "small",
|
|
85
|
+
[this.smallHoverStyles]: this.isHoverable && this.size === "small",
|
|
76
86
|
[this.customClass]: !!this.customClass,
|
|
77
87
|
["w-[362px]"]: this.isFixedWidth,
|
|
78
88
|
["min-h-[534px]"]: this.isFixedHeight,
|
|
@@ -150,6 +160,12 @@ __decorateClass([
|
|
|
150
160
|
__decorateClass([
|
|
151
161
|
e({ type: String, attribute: "custom-class" })
|
|
152
162
|
], LuksoCard.prototype, "customClass", 2);
|
|
163
|
+
__decorateClass([
|
|
164
|
+
e({ type: String })
|
|
165
|
+
], LuksoCard.prototype, "size", 2);
|
|
166
|
+
__decorateClass([
|
|
167
|
+
e({ type: Boolean, attribute: "is-hoverable" })
|
|
168
|
+
], LuksoCard.prototype, "isHoverable", 2);
|
|
153
169
|
LuksoCard = __decorateClass([
|
|
154
170
|
e$1("lukso-card")
|
|
155
171
|
], LuksoCard);
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
|
|
6
|
+
const directive = require('../../directive-d0161b26.cjs');
|
|
7
|
+
require('../lukso-share/index.cjs');
|
|
8
|
+
require('../../index-a1c8eb00.cjs');
|
|
9
|
+
|
|
10
|
+
var __defProp = Object.defineProperty;
|
|
11
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
13
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
14
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
15
|
+
if (decorator = decorators[i])
|
|
16
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
17
|
+
if (kind && result)
|
|
18
|
+
__defProp(target, key, result);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
exports.LuksoFooter = class LuksoFooter extends shared_tailwindElement_index.TailwindElement {
|
|
22
|
+
render() {
|
|
23
|
+
return shared_tailwindElement_index.x`
|
|
24
|
+
<footer class="bg-neutral-100">
|
|
25
|
+
<div
|
|
26
|
+
class="p-10 grid gap-12 items-center lg:grid-cols-[auto,max-content]"
|
|
27
|
+
>
|
|
28
|
+
<slot name="top"></slot>
|
|
29
|
+
<div className="flex lg:justify-end">
|
|
30
|
+
<lukso-share></lukso-share>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
<div
|
|
34
|
+
class="grid sm:grid-cols-[max-content,auto] px-10 py-6 bg-neutral-95 gap-8"
|
|
35
|
+
>
|
|
36
|
+
<slot name="bottom"></slot>
|
|
37
|
+
<div class="flex sm:justify-end">
|
|
38
|
+
<a
|
|
39
|
+
href="https://lukso.network/"
|
|
40
|
+
target="_blank"
|
|
41
|
+
class="sm:text-right opacity-50 text-neutral-30"
|
|
42
|
+
>
|
|
43
|
+
<span class="paragraph-inter-10-semi-bold">Powered by</span>
|
|
44
|
+
<img
|
|
45
|
+
src="/assets/images/lukso-logo.svg"
|
|
46
|
+
alt="LUKSO"
|
|
47
|
+
class="h-4"
|
|
48
|
+
/>
|
|
49
|
+
</a>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</footer>
|
|
53
|
+
`;
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
exports.LuksoFooter = __decorateClass([
|
|
57
|
+
directive.e("lukso-footer")
|
|
58
|
+
], exports.LuksoFooter);
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { a as TailwindElement, x } from '../../index-4507034c.js';
|
|
2
|
+
import { e } from '../../directive-190d1dea.js';
|
|
3
|
+
import '../lukso-share/index.js';
|
|
4
|
+
import '../../index-48ee71cd.js';
|
|
5
|
+
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
8
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
9
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
10
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
11
|
+
if (decorator = decorators[i])
|
|
12
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
13
|
+
if (kind && result)
|
|
14
|
+
__defProp(target, key, result);
|
|
15
|
+
return result;
|
|
16
|
+
};
|
|
17
|
+
let LuksoFooter = class extends TailwindElement {
|
|
18
|
+
render() {
|
|
19
|
+
return x`
|
|
20
|
+
<footer class="bg-neutral-100">
|
|
21
|
+
<div
|
|
22
|
+
class="p-10 grid gap-12 items-center lg:grid-cols-[auto,max-content]"
|
|
23
|
+
>
|
|
24
|
+
<slot name="top"></slot>
|
|
25
|
+
<div className="flex lg:justify-end">
|
|
26
|
+
<lukso-share></lukso-share>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
<div
|
|
30
|
+
class="grid sm:grid-cols-[max-content,auto] px-10 py-6 bg-neutral-95 gap-8"
|
|
31
|
+
>
|
|
32
|
+
<slot name="bottom"></slot>
|
|
33
|
+
<div class="flex sm:justify-end">
|
|
34
|
+
<a
|
|
35
|
+
href="https://lukso.network/"
|
|
36
|
+
target="_blank"
|
|
37
|
+
class="sm:text-right opacity-50 text-neutral-30"
|
|
38
|
+
>
|
|
39
|
+
<span class="paragraph-inter-10-semi-bold">Powered by</span>
|
|
40
|
+
<img
|
|
41
|
+
src="/assets/images/lukso-logo.svg"
|
|
42
|
+
alt="LUKSO"
|
|
43
|
+
class="h-4"
|
|
44
|
+
/>
|
|
45
|
+
</a>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</footer>
|
|
49
|
+
`;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
LuksoFooter = __decorateClass([
|
|
53
|
+
e("lukso-footer")
|
|
54
|
+
], LuksoFooter);
|
|
55
|
+
|
|
56
|
+
export { LuksoFooter };
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const directive = require('../../directive-
|
|
7
|
-
const styleMap = require('../../style-map-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
|
|
6
|
+
const directive = require('../../directive-d0161b26.cjs');
|
|
7
|
+
const styleMap = require('../../style-map-f737f913.cjs');
|
|
8
8
|
|
|
9
9
|
const style = ":host {\n display: inline-flex\n}";
|
|
10
10
|
|
|
@@ -4802,17 +4802,17 @@ exports.LuksoIcon = class LuksoIcon extends shared_tailwindElement_index.Tailwin
|
|
|
4802
4802
|
}
|
|
4803
4803
|
};
|
|
4804
4804
|
__decorateClass([
|
|
4805
|
-
directive.e({ type: String })
|
|
4805
|
+
directive.e$1({ type: String })
|
|
4806
4806
|
], exports.LuksoIcon.prototype, "name", 2);
|
|
4807
4807
|
__decorateClass([
|
|
4808
|
-
directive.e({ type: String })
|
|
4808
|
+
directive.e$1({ type: String })
|
|
4809
4809
|
], exports.LuksoIcon.prototype, "size", 2);
|
|
4810
4810
|
__decorateClass([
|
|
4811
|
-
directive.e({ type: String })
|
|
4811
|
+
directive.e$1({ type: String })
|
|
4812
4812
|
], exports.LuksoIcon.prototype, "color", 2);
|
|
4813
4813
|
__decorateClass([
|
|
4814
|
-
directive.e({ type: String, attribute: "secondary-color" })
|
|
4814
|
+
directive.e$1({ type: String, attribute: "secondary-color" })
|
|
4815
4815
|
], exports.LuksoIcon.prototype, "secondaryColor", 2);
|
|
4816
4816
|
exports.LuksoIcon = __decorateClass([
|
|
4817
|
-
directive.e
|
|
4817
|
+
directive.e("lukso-icon")
|
|
4818
4818
|
], exports.LuksoIcon);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { x, T as TailwindStyledElement } from '../../index-
|
|
2
|
-
import { e,
|
|
3
|
-
import { o } from '../../style-map-
|
|
1
|
+
import { x, T as TailwindStyledElement } from '../../index-4507034c.js';
|
|
2
|
+
import { a as e, e as e$1 } from '../../directive-190d1dea.js';
|
|
3
|
+
import { o } from '../../style-map-a25f1f00.js';
|
|
4
4
|
|
|
5
5
|
const style = ":host {\n display: inline-flex\n}";
|
|
6
6
|
|
|
@@ -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 directive = require('../../directive-
|
|
7
|
-
const state = require('../../state-
|
|
8
|
-
const index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
|
|
6
|
+
const directive = require('../../directive-d0161b26.cjs');
|
|
7
|
+
const state = require('../../state-a13eb70b.cjs');
|
|
8
|
+
const index = require('../../index-a1c8eb00.cjs');
|
|
9
9
|
|
|
10
10
|
var __defProp = Object.defineProperty;
|
|
11
11
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -245,61 +245,61 @@ exports.LuksoInput = class LuksoInput extends shared_tailwindElement_index.Tailw
|
|
|
245
245
|
}
|
|
246
246
|
};
|
|
247
247
|
__decorateClass([
|
|
248
|
-
directive.e({ type: String })
|
|
248
|
+
directive.e$1({ type: String })
|
|
249
249
|
], exports.LuksoInput.prototype, "value", 2);
|
|
250
250
|
__decorateClass([
|
|
251
|
-
directive.e({ type: String })
|
|
251
|
+
directive.e$1({ type: String })
|
|
252
252
|
], exports.LuksoInput.prototype, "name", 2);
|
|
253
253
|
__decorateClass([
|
|
254
|
-
directive.e({ type: String })
|
|
254
|
+
directive.e$1({ type: String })
|
|
255
255
|
], exports.LuksoInput.prototype, "type", 2);
|
|
256
256
|
__decorateClass([
|
|
257
|
-
directive.e({ type: String })
|
|
257
|
+
directive.e$1({ type: String })
|
|
258
258
|
], exports.LuksoInput.prototype, "placeholder", 2);
|
|
259
259
|
__decorateClass([
|
|
260
|
-
directive.e({ type: String })
|
|
260
|
+
directive.e$1({ type: String })
|
|
261
261
|
], exports.LuksoInput.prototype, "label", 2);
|
|
262
262
|
__decorateClass([
|
|
263
|
-
directive.e({ type: String })
|
|
263
|
+
directive.e$1({ type: String })
|
|
264
264
|
], exports.LuksoInput.prototype, "autocomplete", 2);
|
|
265
265
|
__decorateClass([
|
|
266
|
-
directive.e({ type: String })
|
|
266
|
+
directive.e$1({ type: String })
|
|
267
267
|
], exports.LuksoInput.prototype, "id", 2);
|
|
268
268
|
__decorateClass([
|
|
269
|
-
directive.e({ type: String })
|
|
269
|
+
directive.e$1({ type: String })
|
|
270
270
|
], exports.LuksoInput.prototype, "ref", 2);
|
|
271
271
|
__decorateClass([
|
|
272
|
-
directive.e({ type: String })
|
|
272
|
+
directive.e$1({ type: String })
|
|
273
273
|
], exports.LuksoInput.prototype, "accept", 2);
|
|
274
274
|
__decorateClass([
|
|
275
|
-
directive.e({ type: String })
|
|
275
|
+
directive.e$1({ type: String })
|
|
276
276
|
], exports.LuksoInput.prototype, "description", 2);
|
|
277
277
|
__decorateClass([
|
|
278
|
-
directive.e({ type: String })
|
|
278
|
+
directive.e$1({ type: String })
|
|
279
279
|
], exports.LuksoInput.prototype, "error", 2);
|
|
280
280
|
__decorateClass([
|
|
281
|
-
directive.e({ type: String })
|
|
281
|
+
directive.e$1({ type: String })
|
|
282
282
|
], exports.LuksoInput.prototype, "unit", 2);
|
|
283
283
|
__decorateClass([
|
|
284
|
-
directive.e({ type: String, attribute: "custom-class" })
|
|
284
|
+
directive.e$1({ type: String, attribute: "custom-class" })
|
|
285
285
|
], exports.LuksoInput.prototype, "customClass", 2);
|
|
286
286
|
__decorateClass([
|
|
287
|
-
directive.e({ type: Boolean, attribute: "is-full-width" })
|
|
287
|
+
directive.e$1({ type: Boolean, attribute: "is-full-width" })
|
|
288
288
|
], exports.LuksoInput.prototype, "isFullWidth", 2);
|
|
289
289
|
__decorateClass([
|
|
290
|
-
directive.e({ type: Boolean, attribute: "is-readonly" })
|
|
290
|
+
directive.e$1({ type: Boolean, attribute: "is-readonly" })
|
|
291
291
|
], exports.LuksoInput.prototype, "isReadonly", 2);
|
|
292
292
|
__decorateClass([
|
|
293
|
-
directive.e({ type: Boolean, attribute: "is-disabled" })
|
|
293
|
+
directive.e$1({ type: Boolean, attribute: "is-disabled" })
|
|
294
294
|
], exports.LuksoInput.prototype, "isDisabled", 2);
|
|
295
295
|
__decorateClass([
|
|
296
|
-
directive.e({ type: Boolean })
|
|
296
|
+
directive.e$1({ type: Boolean })
|
|
297
297
|
], exports.LuksoInput.prototype, "autofocus", 2);
|
|
298
298
|
__decorateClass([
|
|
299
|
-
directive.e({ type: Number })
|
|
299
|
+
directive.e$1({ type: Number })
|
|
300
300
|
], exports.LuksoInput.prototype, "max", 2);
|
|
301
301
|
__decorateClass([
|
|
302
|
-
directive.e({ type: Number })
|
|
302
|
+
directive.e$1({ type: Number })
|
|
303
303
|
], exports.LuksoInput.prototype, "min", 2);
|
|
304
304
|
__decorateClass([
|
|
305
305
|
state.t()
|
|
@@ -308,5 +308,5 @@ __decorateClass([
|
|
|
308
308
|
state.t()
|
|
309
309
|
], exports.LuksoInput.prototype, "hasHighlight", 2);
|
|
310
310
|
exports.LuksoInput = __decorateClass([
|
|
311
|
-
directive.e
|
|
311
|
+
directive.e("lukso-input")
|
|
312
312
|
], exports.LuksoInput);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as TailwindElement, x, A } from '../../index-
|
|
2
|
-
import { e,
|
|
3
|
-
import { t } from '../../state-
|
|
4
|
-
import { c as customClassMap } from '../../index-
|
|
1
|
+
import { a as TailwindElement, x, A } from '../../index-4507034c.js';
|
|
2
|
+
import { a as e, e as e$1 } from '../../directive-190d1dea.js';
|
|
3
|
+
import { t } from '../../state-069457a0.js';
|
|
4
|
+
import { c as customClassMap } from '../../index-48ee71cd.js';
|
|
5
5
|
|
|
6
6
|
var __defProp = Object.defineProperty;
|
|
7
7
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
4
|
|
|
5
|
-
const shared_tailwindElement_index = require('../../index-
|
|
6
|
-
const directive = require('../../directive-
|
|
7
|
-
const index = require('../../index-
|
|
5
|
+
const shared_tailwindElement_index = require('../../index-4a94cf2c.cjs');
|
|
6
|
+
const directive = require('../../directive-d0161b26.cjs');
|
|
7
|
+
const index = require('../../index-a1c8eb00.cjs');
|
|
8
8
|
|
|
9
9
|
var __defProp = Object.defineProperty;
|
|
10
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -60,11 +60,11 @@ exports.LuksoModal = class LuksoModal extends shared_tailwindElement_index.Tailw
|
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
__decorateClass([
|
|
63
|
-
directive.e({ type: Boolean, attribute: "is-open" })
|
|
63
|
+
directive.e$1({ type: Boolean, attribute: "is-open" })
|
|
64
64
|
], exports.LuksoModal.prototype, "isOpen", 2);
|
|
65
65
|
__decorateClass([
|
|
66
|
-
directive.e({ type: String })
|
|
66
|
+
directive.e$1({ type: String })
|
|
67
67
|
], exports.LuksoModal.prototype, "size", 2);
|
|
68
68
|
exports.LuksoModal = __decorateClass([
|
|
69
|
-
directive.e
|
|
69
|
+
directive.e("lukso-modal")
|
|
70
70
|
], exports.LuksoModal);
|