@lukso/web-components 1.55.0 → 1.56.1
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 +3 -3
- package/dist/components/index.js +3 -3
- 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 +116 -68
- package/dist/components/lukso-card/index.d.ts +3 -0
- package/dist/components/lukso-card/index.d.ts.map +1 -1
- package/dist/components/lukso-card/index.js +111 -63
- package/dist/components/lukso-card/lukso-card.stories.d.ts +2 -0
- package/dist/components/lukso-card/lukso-card.stories.d.ts.map +1 -1
- package/dist/components/lukso-checkbox/index.cjs +1 -1
- package/dist/components/lukso-checkbox/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/index.cjs +2 -2
- package/dist/components/lukso-icon/index.js +2 -2
- package/dist/components/lukso-input/index.cjs +1 -1
- package/dist/components/lukso-input/index.js +1 -1
- 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 +2 -2
- package/dist/components/lukso-navbar/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 +3 -3
- package/dist/components/lukso-search/index.js +3 -3
- package/dist/components/lukso-select/index.cjs +3 -3
- package/dist/components/lukso-select/index.js +3 -3
- package/dist/components/lukso-share/index.cjs +1 -1
- package/dist/components/lukso-share/index.js +1 -1
- package/dist/components/lukso-switch/index.cjs +2 -2
- package/dist/components/lukso-switch/index.js +2 -2
- package/dist/components/lukso-tag/index.cjs +2 -2
- package/dist/components/lukso-tag/index.js +2 -2
- package/dist/components/lukso-terms/index.cjs +2 -2
- package/dist/components/lukso-terms/index.js +2 -2
- package/dist/components/lukso-test/index.cjs +1 -1
- package/dist/components/lukso-test/index.js +1 -1
- package/dist/components/lukso-tooltip/index.cjs +1 -1
- package/dist/components/lukso-tooltip/index.js +1 -1
- package/dist/components/lukso-username/index.cjs +2 -2
- package/dist/components/lukso-username/index.js +2 -2
- package/dist/components/lukso-wizard/index.cjs +1 -1
- package/dist/components/lukso-wizard/index.js +1 -1
- package/dist/index-4e37f431.cjs +46 -0
- package/dist/{index-21cb1f33.cjs → index-67517059.cjs} +1 -1
- package/dist/{index-b02bfbc3.js → index-8a1b283c.js} +1 -1
- package/dist/index-df3f9aca.js +39 -0
- package/dist/index.cjs +3 -3
- package/dist/index.js +3 -3
- package/dist/shared/tailwind-element/index.cjs +1 -1
- package/dist/shared/tailwind-element/index.js +1 -1
- package/dist/{style-map-04ec407e.js → style-map-7a7ca2de.js} +1 -1
- package/dist/{style-map-beffabf7.cjs → style-map-fc150c58.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-3373dd2c.js +0 -39
- package/dist/index-534893a1.cjs +0 -46
|
@@ -23,15 +23,15 @@ const components_luksoTest_index = require('./lukso-test/index.cjs');
|
|
|
23
23
|
const components_luksoTooltip_index = require('./lukso-tooltip/index.cjs');
|
|
24
24
|
const components_luksoUsername_index = require('./lukso-username/index.cjs');
|
|
25
25
|
const components_luksoWizard_index = require('./lukso-wizard/index.cjs');
|
|
26
|
-
const shared_tailwindElement_index = require('../index-
|
|
26
|
+
const shared_tailwindElement_index = require('../index-4e37f431.cjs');
|
|
27
27
|
require('../cn-4ec0bd94.cjs');
|
|
28
28
|
require('../query-assigned-elements-1d5d9d4c.cjs');
|
|
29
29
|
require('../state-f73a8b4f.cjs');
|
|
30
30
|
require('../index-e8741080.cjs');
|
|
31
31
|
require('../tailwind-config.cjs');
|
|
32
|
-
require('../style-map-
|
|
32
|
+
require('../style-map-fc150c58.cjs');
|
|
33
33
|
require('../directive-8278ab14.cjs');
|
|
34
|
-
require('../index-
|
|
34
|
+
require('../index-67517059.cjs');
|
|
35
35
|
require('../index-e9668573.cjs');
|
|
36
36
|
|
|
37
37
|
|
package/dist/components/index.js
CHANGED
|
@@ -19,13 +19,13 @@ export { LuksoTest } from './lukso-test/index.js';
|
|
|
19
19
|
export { LuksoTooltip } from './lukso-tooltip/index.js';
|
|
20
20
|
export { LuksoUsername } from './lukso-username/index.js';
|
|
21
21
|
export { LuksoWizard } from './lukso-wizard/index.js';
|
|
22
|
-
export { a as TailwindElement, T as TailwindStyledElement } from '../index-
|
|
22
|
+
export { a as TailwindElement, T as TailwindStyledElement } from '../index-df3f9aca.js';
|
|
23
23
|
import '../cn-616567d4.js';
|
|
24
24
|
import '../query-assigned-elements-5d94572f.js';
|
|
25
25
|
import '../state-0a779257.js';
|
|
26
26
|
import '../index-c55a1069.js';
|
|
27
27
|
import '../tailwind-config.js';
|
|
28
|
-
import '../style-map-
|
|
28
|
+
import '../style-map-7a7ca2de.js';
|
|
29
29
|
import '../directive-2bb7789e.js';
|
|
30
|
-
import '../index-
|
|
30
|
+
import '../index-8a1b283c.js';
|
|
31
31
|
import '../index-5e194caf.js';
|
|
@@ -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-4e37f431.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-1d5d9d4c.cjs');
|
|
7
7
|
const state = require('../../state-f73a8b4f.cjs');
|
|
8
8
|
const index = require('../../index-e8741080.cjs');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TailwindStyledElement, x, A } from '../../index-
|
|
1
|
+
import { T as TailwindStyledElement, x, A } from '../../index-df3f9aca.js';
|
|
2
2
|
import { n, e } from '../../query-assigned-elements-5d94572f.js';
|
|
3
3
|
import { t } from '../../state-0a779257.js';
|
|
4
4
|
import { s as se } from '../../index-c55a1069.js';
|
|
@@ -2,13 +2,14 @@
|
|
|
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-4e37f431.cjs');
|
|
6
6
|
const queryAssignedElements = require('../../query-assigned-elements-1d5d9d4c.cjs');
|
|
7
|
-
const styleMap = require('../../style-map-
|
|
7
|
+
const styleMap = require('../../style-map-fc150c58.cjs');
|
|
8
|
+
const index = require('../../index-e8741080.cjs');
|
|
8
9
|
require('../lukso-profile/index.cjs');
|
|
9
10
|
require('../../tailwind-config.cjs');
|
|
10
11
|
const cn = require('../../cn-4ec0bd94.cjs');
|
|
11
|
-
const index = require('../../index-
|
|
12
|
+
const index$1 = require('../../index-67517059.cjs');
|
|
12
13
|
require('../../directive-8278ab14.cjs');
|
|
13
14
|
require('../../index-e9668573.cjs');
|
|
14
15
|
|
|
@@ -37,10 +38,48 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
37
38
|
this.customClass = "";
|
|
38
39
|
this.headerClass = "";
|
|
39
40
|
this.size = "medium";
|
|
41
|
+
this.shadow = "large";
|
|
40
42
|
this.isHoverable = false;
|
|
41
43
|
this.mediumStyles = `rounded-24 shadow-neutral-drop-shadow-2xl`;
|
|
42
44
|
this.smallStyles = `rounded-12 shadow-neutral-drop-shadow`;
|
|
43
45
|
this.smallHoverStyles = `hover:shadow-neutral-drop-shadow-1xl cursor-pointer transition`;
|
|
46
|
+
this.cardStyles = index.se({
|
|
47
|
+
base: `bg-neutral-100`,
|
|
48
|
+
variants: {
|
|
49
|
+
size: {
|
|
50
|
+
small: `rounded-12`,
|
|
51
|
+
medium: `rounded-24`
|
|
52
|
+
},
|
|
53
|
+
shadow: {
|
|
54
|
+
small: `shadow-neutral-drop-shadow`,
|
|
55
|
+
medium: `shadow-neutral-drop-shadow-1xl`,
|
|
56
|
+
large: `shadow-neutral-drop-shadow-2xl`
|
|
57
|
+
},
|
|
58
|
+
isHoverable: {
|
|
59
|
+
true: `cursor-pointer transition`
|
|
60
|
+
},
|
|
61
|
+
hasNoWidth: {
|
|
62
|
+
true: `w-full`
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
compoundVariants: [
|
|
66
|
+
{
|
|
67
|
+
shadow: "small",
|
|
68
|
+
isHoverable: true,
|
|
69
|
+
class: `hover:shadow-neutral-drop-shadow-1xl`
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
shadow: "medium",
|
|
73
|
+
isHoverable: true,
|
|
74
|
+
class: `hover:shadow-neutral-drop-shadow-2xl`
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
shadow: "large",
|
|
78
|
+
isHoverable: true,
|
|
79
|
+
class: `hover:shadow-neutral-drop-shadow-3xl`
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
});
|
|
44
83
|
}
|
|
45
84
|
backgroundImageOrGradient() {
|
|
46
85
|
const opacity = "80";
|
|
@@ -52,26 +91,33 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
52
91
|
return `linear-gradient(90deg, ${gradientStart}, ${gradientEnd})`;
|
|
53
92
|
}
|
|
54
93
|
basicTemplate() {
|
|
94
|
+
const cardStyles = this.cardStyles({
|
|
95
|
+
size: this.size,
|
|
96
|
+
shadow: this.shadow,
|
|
97
|
+
isHoverable: this.isHoverable,
|
|
98
|
+
hasNoWidth: !this.width
|
|
99
|
+
});
|
|
55
100
|
return shared_tailwindElement_index.x`
|
|
56
101
|
<div
|
|
57
102
|
data-testid="card"
|
|
58
|
-
style=${index.customStyleMap({
|
|
103
|
+
style=${index$1.customStyleMap({
|
|
59
104
|
[`min-height: ${this.height}px`]: !!this.height,
|
|
60
105
|
[`width: ${this.width}px`]: !!this.width
|
|
61
106
|
})}
|
|
62
|
-
class=${cn.cn(
|
|
63
|
-
[this.mediumStyles]: !this.customClass && this.size === "medium",
|
|
64
|
-
[this.smallStyles]: !this.customClass && this.size === "small",
|
|
65
|
-
[this.smallHoverStyles]: this.isHoverable && this.size === "small",
|
|
66
|
-
[this.customClass]: !!this.customClass,
|
|
67
|
-
"w-full": !this.width
|
|
68
|
-
})}
|
|
107
|
+
class=${cn.cn(cardStyles, this.customClass)}
|
|
69
108
|
>
|
|
70
109
|
<slot name="content"></slot>
|
|
71
110
|
</div>
|
|
72
111
|
`;
|
|
73
112
|
}
|
|
74
113
|
withHeaderTemplate() {
|
|
114
|
+
const cardStyles = this.cardStyles({
|
|
115
|
+
size: this.size,
|
|
116
|
+
shadow: this.shadow,
|
|
117
|
+
isHoverable: this.isHoverable,
|
|
118
|
+
hasNoWidth: !this.width,
|
|
119
|
+
class: `grid grid-rows-[auto,1fr] overflow-hidden`
|
|
120
|
+
});
|
|
75
121
|
return shared_tailwindElement_index.x`
|
|
76
122
|
<div
|
|
77
123
|
data-testid="card"
|
|
@@ -79,13 +125,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
79
125
|
minHeight: `${this.height}px`,
|
|
80
126
|
width: `${this.width}px`
|
|
81
127
|
})}
|
|
82
|
-
class=${cn.cn(
|
|
83
|
-
[this.mediumStyles]: !this.customClass && this.size === "medium",
|
|
84
|
-
[this.smallStyles]: !this.customClass && this.size === "small",
|
|
85
|
-
[this.smallHoverStyles]: this.isHoverable && this.size === "small",
|
|
86
|
-
[this.customClass]: !!this.customClass,
|
|
87
|
-
"w-full": !this.width
|
|
88
|
-
})}
|
|
128
|
+
class=${cn.cn(cardStyles, this.customClass)}
|
|
89
129
|
>
|
|
90
130
|
<div class=${this.headerClass}>
|
|
91
131
|
<slot name="header"></slot>
|
|
@@ -97,27 +137,28 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
97
137
|
`;
|
|
98
138
|
}
|
|
99
139
|
profileTemplate() {
|
|
140
|
+
const cardStyles = this.cardStyles({
|
|
141
|
+
size: this.size,
|
|
142
|
+
shadow: this.shadow,
|
|
143
|
+
isHoverable: this.isHoverable,
|
|
144
|
+
hasNoWidth: !this.width,
|
|
145
|
+
class: `grid grid-rows-[1fr,auto]`
|
|
146
|
+
});
|
|
100
147
|
return shared_tailwindElement_index.x`
|
|
101
148
|
<div
|
|
102
149
|
data-testid="card"
|
|
103
|
-
style=${index.customStyleMap({
|
|
150
|
+
style=${index$1.customStyleMap({
|
|
104
151
|
[`min-height: ${this.height}px`]: !!this.height,
|
|
105
152
|
[`width: ${this.width}px`]: !!this.width
|
|
106
153
|
})}
|
|
107
|
-
class=${cn.cn(
|
|
108
|
-
[this.mediumStyles]: !this.customClass && this.size === "medium",
|
|
109
|
-
[this.smallStyles]: !this.customClass && this.size === "small",
|
|
110
|
-
[this.smallHoverStyles]: this.isHoverable && this.size === "small",
|
|
111
|
-
[this.customClass]: !!this.customClass,
|
|
112
|
-
"w-full": !this.width
|
|
113
|
-
})}
|
|
154
|
+
class=${cn.cn(cardStyles, this.customClass)}
|
|
114
155
|
>
|
|
115
156
|
<div
|
|
116
157
|
style=${styleMap.o({
|
|
117
158
|
backgroundImage: this.backgroundImageOrGradient()
|
|
118
159
|
})}
|
|
119
160
|
class=${cn.cn(
|
|
120
|
-
"
|
|
161
|
+
"min-h-[92px] -mb-6 w-full bg-center bg-cover rounded-[24px_24px_0_0] relative",
|
|
121
162
|
this.headerClass
|
|
122
163
|
)}
|
|
123
164
|
>
|
|
@@ -128,46 +169,48 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
128
169
|
<slot name="header"></slot>
|
|
129
170
|
</div>
|
|
130
171
|
</div>
|
|
172
|
+
|
|
131
173
|
<div
|
|
132
|
-
|
|
174
|
+
style=${index$1.customStyleMap({
|
|
175
|
+
[`width: ${this.width}px`]: !!this.width
|
|
176
|
+
})}
|
|
177
|
+
class="bg-neutral-100 rounded-24 relative break-normal"
|
|
133
178
|
>
|
|
134
|
-
<
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
179
|
+
<lukso-profile
|
|
180
|
+
profile-url=${this.profileUrl}
|
|
181
|
+
size="large"
|
|
182
|
+
profile-address=${this.profileAddress}
|
|
183
|
+
has-identicon
|
|
184
|
+
class="absolute -top-[40px] left-[calc(50%_-_40px)] z-10"
|
|
185
|
+
></lukso-profile>
|
|
186
|
+
<div
|
|
187
|
+
class="overflow-hidden w-[153px] h-[70px] -top-[70px] relative mx-auto flex items-end justify-center -mb-3"
|
|
188
|
+
>
|
|
143
189
|
<div
|
|
144
|
-
class="
|
|
145
|
-
>
|
|
146
|
-
<div
|
|
147
|
-
class="bg-neutral-100 rounded-[103px_103px_0_0] w-[96px] h-[48px]"
|
|
148
|
-
></div>
|
|
149
|
-
</div>
|
|
150
|
-
<slot name="content"></slot>
|
|
190
|
+
class="bg-neutral-100 rounded-[103px_103px_0_0] w-[96px] h-[48px]"
|
|
191
|
+
></div>
|
|
151
192
|
</div>
|
|
193
|
+
<slot name="content"></slot>
|
|
152
194
|
</div>
|
|
153
195
|
</div>
|
|
154
196
|
`;
|
|
155
197
|
}
|
|
156
198
|
profile2Template() {
|
|
199
|
+
const cardStyles = this.cardStyles({
|
|
200
|
+
size: this.size,
|
|
201
|
+
shadow: this.shadow,
|
|
202
|
+
isHoverable: this.isHoverable,
|
|
203
|
+
hasNoWidth: !this.width,
|
|
204
|
+
class: `grid grid-rows-[auto,1fr]`
|
|
205
|
+
});
|
|
157
206
|
return shared_tailwindElement_index.x`
|
|
158
207
|
<div
|
|
159
208
|
data-testid="card"
|
|
160
|
-
style=${index.customStyleMap({
|
|
209
|
+
style=${index$1.customStyleMap({
|
|
161
210
|
[`min-height: ${this.height}px`]: !!this.height,
|
|
162
211
|
[`width: ${this.width}px`]: !!this.width
|
|
163
212
|
})}
|
|
164
|
-
class=${cn.cn(
|
|
165
|
-
[this.mediumStyles]: !this.customClass && this.size === "medium",
|
|
166
|
-
[this.smallStyles]: !this.customClass && this.size === "small",
|
|
167
|
-
[this.smallHoverStyles]: this.isHoverable && this.size === "small",
|
|
168
|
-
[this.customClass]: !!this.customClass,
|
|
169
|
-
["w-full"]: !this.width
|
|
170
|
-
})}
|
|
213
|
+
class=${cn.cn(cardStyles, this.customClass)}
|
|
171
214
|
>
|
|
172
215
|
<div
|
|
173
216
|
style=${styleMap.o({
|
|
@@ -213,20 +256,21 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
213
256
|
`;
|
|
214
257
|
}
|
|
215
258
|
heroTemplate() {
|
|
259
|
+
const cardStyles = this.cardStyles({
|
|
260
|
+
size: this.size,
|
|
261
|
+
shadow: this.shadow,
|
|
262
|
+
isHoverable: this.isHoverable,
|
|
263
|
+
hasNoWidth: !this.width,
|
|
264
|
+
class: `h-[240px] flex`
|
|
265
|
+
});
|
|
216
266
|
return shared_tailwindElement_index.x`
|
|
217
267
|
<div
|
|
218
268
|
data-testid="card"
|
|
219
|
-
style=${index.customStyleMap({
|
|
269
|
+
style=${index$1.customStyleMap({
|
|
220
270
|
[`min-height: ${this.height}px`]: !!this.height,
|
|
221
271
|
[`width: ${this.width}px`]: !!this.width
|
|
222
272
|
})}
|
|
223
|
-
class=${cn.cn(
|
|
224
|
-
[this.mediumStyles]: !this.customClass && this.size === "medium",
|
|
225
|
-
[this.smallStyles]: !this.customClass && this.size === "small",
|
|
226
|
-
[this.smallHoverStyles]: this.isHoverable && this.size === "small",
|
|
227
|
-
[this.customClass]: !!this.customClass,
|
|
228
|
-
["w-full"]: !this.width
|
|
229
|
-
})}
|
|
273
|
+
class=${cn.cn(cardStyles, this.customClass)}
|
|
230
274
|
>
|
|
231
275
|
<div
|
|
232
276
|
style=${styleMap.o({
|
|
@@ -247,20 +291,21 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
|
|
|
247
291
|
`;
|
|
248
292
|
}
|
|
249
293
|
dappTemplate() {
|
|
294
|
+
const cardStyles = this.cardStyles({
|
|
295
|
+
size: this.size,
|
|
296
|
+
shadow: this.shadow,
|
|
297
|
+
isHoverable: this.isHoverable,
|
|
298
|
+
hasNoWidth: !this.width,
|
|
299
|
+
class: `grid grid-rows-[auto,1fr]`
|
|
300
|
+
});
|
|
250
301
|
return shared_tailwindElement_index.x`
|
|
251
302
|
<div
|
|
252
303
|
data-testid="card"
|
|
253
|
-
style=${index.customStyleMap({
|
|
304
|
+
style=${index$1.customStyleMap({
|
|
254
305
|
[`min-height: ${this.height}px`]: !!this.height,
|
|
255
306
|
[`width: ${this.width}px`]: !!this.width
|
|
256
307
|
})}
|
|
257
|
-
class=${cn.cn(
|
|
258
|
-
[this.mediumStyles]: !this.customClass && this.size === "medium",
|
|
259
|
-
[this.smallStyles]: !this.customClass && this.size === "small",
|
|
260
|
-
[this.smallHoverStyles]: this.isHoverable && this.size === "small",
|
|
261
|
-
[this.customClass]: !!this.customClass,
|
|
262
|
-
["w-full"]: !this.width
|
|
263
|
-
})}
|
|
308
|
+
class=${cn.cn(cardStyles, this.customClass)}
|
|
264
309
|
>
|
|
265
310
|
<div
|
|
266
311
|
style=${styleMap.o({
|
|
@@ -327,6 +372,9 @@ __decorateClass([
|
|
|
327
372
|
__decorateClass([
|
|
328
373
|
queryAssignedElements.n({ type: String })
|
|
329
374
|
], exports.LuksoCard.prototype, "size", 2);
|
|
375
|
+
__decorateClass([
|
|
376
|
+
queryAssignedElements.n({ type: String })
|
|
377
|
+
], exports.LuksoCard.prototype, "shadow", 2);
|
|
330
378
|
__decorateClass([
|
|
331
379
|
queryAssignedElements.n({ type: Boolean, attribute: "is-hoverable" })
|
|
332
380
|
], exports.LuksoCard.prototype, "isHoverable", 2);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type CardVariants = 'basic' | 'with-header' | 'profile' | 'profile-2' | 'hero' | 'dapp';
|
|
2
2
|
export type CardSizes = 'small' | 'medium';
|
|
3
|
+
export type CardShadows = 'small' | 'medium' | 'large';
|
|
3
4
|
declare const LuksoCard_base: typeof import("lit").LitElement;
|
|
4
5
|
export declare class LuksoCard extends LuksoCard_base {
|
|
5
6
|
variant: CardVariants;
|
|
@@ -11,11 +12,13 @@ export declare class LuksoCard extends LuksoCard_base {
|
|
|
11
12
|
customClass: string;
|
|
12
13
|
headerClass: string;
|
|
13
14
|
size: CardSizes;
|
|
15
|
+
shadow: CardShadows;
|
|
14
16
|
isHoverable: boolean;
|
|
15
17
|
private mediumStyles;
|
|
16
18
|
private smallStyles;
|
|
17
19
|
private smallHoverStyles;
|
|
18
20
|
private backgroundImageOrGradient;
|
|
21
|
+
private cardStyles;
|
|
19
22
|
basicTemplate(): import("lit-html").TemplateResult<1>;
|
|
20
23
|
withHeaderTemplate(): import("lit-html").TemplateResult<1>;
|
|
21
24
|
profileTemplate(): import("lit-html").TemplateResult<1>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-card/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-card/index.ts"],"names":[],"mappings":"AAOA,OAAO,4BAA4B,CAAA;AAInC,MAAM,MAAM,YAAY,GACpB,OAAO,GACP,aAAa,GACb,SAAS,GACT,WAAW,GACX,MAAM,GACN,MAAM,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAA;AAE1C,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;;AAEtD,qBACa,SAAU,SAAQ,cAA4B;IAEzD,OAAO,EAAE,YAAY,CAAU;IAG/B,aAAa,SAAK;IAGlB,UAAU,SAAK;IAGf,cAAc,SAAK;IAGnB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAY;IAGrC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAY;IAGtC,WAAW,SAAK;IAGhB,WAAW,SAAK;IAGhB,IAAI,EAAE,SAAS,CAAW;IAG1B,MAAM,EAAE,WAAW,CAAU;IAG7B,WAAW,UAAQ;IAEnB,OAAO,CAAC,YAAY,CAA8C;IAClE,OAAO,CAAC,WAAW,CAA0C;IAC7D,OAAO,CAAC,gBAAgB,CAAmE;IAE3F,OAAO,CAAC,yBAAyB;IAYjC,OAAO,CAAC,UAAU,CAoChB;IAEF,aAAa;IAsBb,kBAAkB;IA4BlB,eAAe;IA8Df,gBAAgB;IA+DhB,YAAY;IAsCZ,YAAY;IAwCZ,MAAM;CAgBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAA;KACxB;CACF"}
|