@lukso/web-components 1.62.0 → 1.64.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.
Files changed (64) hide show
  1. package/dist/components/index.cjs +3 -3
  2. package/dist/components/index.js +3 -3
  3. package/dist/components/lukso-button/index.cjs +1 -1
  4. package/dist/components/lukso-button/index.js +1 -1
  5. package/dist/components/lukso-card/index.cjs +30 -27
  6. package/dist/components/lukso-card/index.d.ts +2 -2
  7. package/dist/components/lukso-card/index.d.ts.map +1 -1
  8. package/dist/components/lukso-card/index.js +30 -27
  9. package/dist/components/lukso-card/lukso-card.stories.d.ts +1 -1
  10. package/dist/components/lukso-card/lukso-card.stories.d.ts.map +1 -1
  11. package/dist/components/lukso-checkbox/index.cjs +1 -1
  12. package/dist/components/lukso-checkbox/index.js +1 -1
  13. package/dist/components/lukso-footer/index.cjs +1 -1
  14. package/dist/components/lukso-footer/index.js +1 -1
  15. package/dist/components/lukso-icon/icons/wallet-restore.d.ts +3 -0
  16. package/dist/components/lukso-icon/icons/wallet-restore.d.ts.map +1 -0
  17. package/dist/components/lukso-icon/index.cjs +41 -2
  18. package/dist/components/lukso-icon/index.d.ts.map +1 -1
  19. package/dist/components/lukso-icon/index.js +41 -2
  20. package/dist/components/lukso-input/index.cjs +1 -1
  21. package/dist/components/lukso-input/index.js +1 -1
  22. package/dist/components/lukso-modal/index.cjs +1 -1
  23. package/dist/components/lukso-modal/index.js +1 -1
  24. package/dist/components/lukso-navbar/index.cjs +2 -2
  25. package/dist/components/lukso-navbar/index.js +2 -2
  26. package/dist/components/lukso-profile/index.cjs +2 -2
  27. package/dist/components/lukso-profile/index.js +2 -2
  28. package/dist/components/lukso-progress/index.cjs +2 -2
  29. package/dist/components/lukso-progress/index.js +2 -2
  30. package/dist/components/lukso-sanitize/index.cjs +1 -1
  31. package/dist/components/lukso-sanitize/index.js +1 -1
  32. package/dist/components/lukso-search/index.cjs +3 -3
  33. package/dist/components/lukso-search/index.js +3 -3
  34. package/dist/components/lukso-select/index.cjs +3 -3
  35. package/dist/components/lukso-select/index.js +3 -3
  36. package/dist/components/lukso-share/index.cjs +1 -1
  37. package/dist/components/lukso-share/index.js +1 -1
  38. package/dist/components/lukso-switch/index.cjs +2 -2
  39. package/dist/components/lukso-switch/index.js +2 -2
  40. package/dist/components/lukso-tag/index.cjs +2 -2
  41. package/dist/components/lukso-tag/index.js +2 -2
  42. package/dist/components/lukso-terms/index.cjs +2 -2
  43. package/dist/components/lukso-terms/index.js +2 -2
  44. package/dist/components/lukso-test/index.cjs +1 -1
  45. package/dist/components/lukso-test/index.js +1 -1
  46. package/dist/components/lukso-tooltip/index.cjs +1 -1
  47. package/dist/components/lukso-tooltip/index.js +1 -1
  48. package/dist/components/lukso-username/index.cjs +2 -2
  49. package/dist/components/lukso-username/index.js +2 -2
  50. package/dist/components/lukso-wizard/index.cjs +1 -1
  51. package/dist/components/lukso-wizard/index.js +1 -1
  52. package/dist/{index-61181f2e.js → index-1765cfe1.js} +1 -1
  53. package/dist/index-3527fb14.js +39 -0
  54. package/dist/index-688c3040.cjs +46 -0
  55. package/dist/{index-b1813aa6.cjs → index-98e8e0d5.cjs} +1 -1
  56. package/dist/index.cjs +3 -3
  57. package/dist/index.js +3 -3
  58. package/dist/shared/tailwind-element/index.cjs +1 -1
  59. package/dist/shared/tailwind-element/index.js +1 -1
  60. package/dist/{style-map-ec917798.js → style-map-9fdda015.js} +1 -1
  61. package/dist/{style-map-0e5b61bc.cjs → style-map-c86dd6e2.cjs} +1 -1
  62. package/package.json +1 -1
  63. package/dist/index-2cbce78e.js +0 -39
  64. package/dist/index-4964f1aa.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-4964f1aa.cjs');
26
+ const shared_tailwindElement_index = require('../index-688c3040.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-0e5b61bc.cjs');
32
+ require('../style-map-c86dd6e2.cjs');
33
33
  require('../directive-8278ab14.cjs');
34
- require('../index-b1813aa6.cjs');
34
+ require('../index-98e8e0d5.cjs');
35
35
  require('../index-e9668573.cjs');
36
36
 
37
37
 
@@ -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-2cbce78e.js';
22
+ export { a as TailwindElement, T as TailwindStyledElement } from '../index-3527fb14.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-ec917798.js';
28
+ import '../style-map-9fdda015.js';
29
29
  import '../directive-2bb7789e.js';
30
- import '../index-61181f2e.js';
30
+ import '../index-1765cfe1.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-4964f1aa.cjs');
5
+ const shared_tailwindElement_index = require('../../index-688c3040.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-2cbce78e.js';
1
+ import { T as TailwindStyledElement, x, A } from '../../index-3527fb14.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,14 +2,14 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-4964f1aa.cjs');
5
+ const shared_tailwindElement_index = require('../../index-688c3040.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-1d5d9d4c.cjs');
7
- const styleMap = require('../../style-map-0e5b61bc.cjs');
7
+ const styleMap = require('../../style-map-c86dd6e2.cjs');
8
8
  const index = require('../../index-e8741080.cjs');
9
9
  require('../lukso-profile/index.cjs');
10
10
  require('../../tailwind-config.cjs');
11
11
  const cn = require('../../cn-4ec0bd94.cjs');
12
- const index$1 = require('../../index-b1813aa6.cjs');
12
+ const index$1 = require('../../index-98e8e0d5.cjs');
13
13
  require('../../directive-8278ab14.cjs');
14
14
  require('../../index-e9668573.cjs');
15
15
 
@@ -37,7 +37,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
37
37
  this.height = void 0;
38
38
  this.customClass = "";
39
39
  this.headerClass = "";
40
- this.size = "medium";
40
+ this.borderRadius = "medium";
41
41
  this.shadow = "large";
42
42
  this.isHoverable = false;
43
43
  this.mediumStyles = `rounded-24 shadow-neutral-drop-shadow-2xl`;
@@ -46,7 +46,8 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
46
46
  this.cardStyles = index.se({
47
47
  base: `bg-neutral-100`,
48
48
  variants: {
49
- size: {
49
+ borderRadius: {
50
+ none: `rounded-0`,
50
51
  small: `rounded-12`,
51
52
  medium: `rounded-24`
52
53
  },
@@ -96,7 +97,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
96
97
  }
97
98
  basicTemplate() {
98
99
  const cardStyles = this.cardStyles({
99
- size: this.size,
100
+ borderRadius: this.borderRadius,
100
101
  shadow: this.shadow,
101
102
  isHoverable: this.isHoverable,
102
103
  hasNoWidth: !this.width
@@ -116,7 +117,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
116
117
  }
117
118
  withHeaderTemplate() {
118
119
  const cardStyles = this.cardStyles({
119
- size: this.size,
120
+ borderRadius: this.borderRadius,
120
121
  shadow: this.shadow,
121
122
  isHoverable: this.isHoverable,
122
123
  hasNoWidth: !this.width,
@@ -134,7 +135,9 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
134
135
  <div class=${this.headerClass}>
135
136
  <slot name="header"></slot>
136
137
  </div>
137
- <div class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-24">
138
+ <div
139
+ class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-[inherit]"
140
+ >
138
141
  <slot name="content"></slot>
139
142
  </div>
140
143
  </div>
@@ -142,7 +145,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
142
145
  }
143
146
  profileTemplate() {
144
147
  const cardStyles = this.cardStyles({
145
- size: this.size,
148
+ borderRadius: this.borderRadius,
146
149
  shadow: this.shadow,
147
150
  isHoverable: this.isHoverable,
148
151
  hasNoWidth: !this.width,
@@ -162,12 +165,12 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
162
165
  backgroundImage: this.backgroundImageOrGradient()
163
166
  })}
164
167
  class=${cn.cn(
165
- "min-h-[92px] -mb-6 w-full bg-center bg-cover rounded-[24px_24px_0_0] relative",
168
+ "min-h-[92px] -mb-6 w-full bg-center bg-cover rounded-t-[inherit] rounded-b-0 relative",
166
169
  this.headerClass
167
170
  )}
168
171
  >
169
172
  ${this.backgroundUrl && shared_tailwindElement_index.x` <div
170
- class="h-full full rounded-[24px_24px_0_0] bg-neutral-20/10 absolute"
173
+ class="h-full full rounded-t-[inherit] rounded-b-0 bg-neutral-20/10 absolute"
171
174
  ></div>`}
172
175
  <div>
173
176
  <slot name="header"></slot>
@@ -178,11 +181,11 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
178
181
  style=${index$1.customStyleMap({
179
182
  [`width: ${this.width}px`]: !!this.width
180
183
  })}
181
- class="bg-neutral-100 rounded-24 relative break-normal"
184
+ class="bg-neutral-100 rounded-[inherit] relative break-normal"
182
185
  >
183
186
  <lukso-profile
184
187
  profile-url=${this.profileUrl}
185
- size="large"
188
+ borderRadius="large"
186
189
  profile-address=${this.profileAddress}
187
190
  has-identicon
188
191
  class="absolute -top-[40px] left-[calc(50%_-_40px)] z-10"
@@ -201,7 +204,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
201
204
  }
202
205
  profile2Template() {
203
206
  const cardStyles = this.cardStyles({
204
- size: this.size,
207
+ borderRadius: this.borderRadius,
205
208
  shadow: this.shadow,
206
209
  isHoverable: this.isHoverable,
207
210
  hasNoWidth: !this.width,
@@ -221,22 +224,22 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
221
224
  backgroundImage: this.backgroundImageOrGradient()
222
225
  })}
223
226
  class=${cn.cn(
224
- "min-h-[129px] -mb-6 bg-center bg-cover rounded-[24px_24px_0_0] relative bg-neutral-100",
227
+ "min-h-[129px] -mb-6 bg-center bg-cover rounded-t-[inherit] rounded-b-0 relative bg-neutral-100",
225
228
  this.headerClass
226
229
  )}
227
230
  >
228
231
  ${this.backgroundUrl && shared_tailwindElement_index.x`<div
229
- class="min-h-full min-w-full rounded-[24px_24px_0_0] bg-neutral-10/10 absolute"
232
+ class="min-h-full min-w-full rounded-t-[inherit] rounded-b-0 bg-neutral-10/10 absolute"
230
233
  ></div>`}
231
234
  <div>
232
235
  <slot name="header"></slot>
233
236
  </div>
234
237
  </div>
235
- <div class="grid grid-rows-[max-content,auto]">
238
+ <div class="grid grid-rows-[max-content,auto] rounded-b-[inherit]">
236
239
  <div class="bg-neutral-100 relative">
237
240
  <lukso-profile
238
241
  profile-url=${this.profileUrl}
239
- size="large"
242
+ borderRadius="large"
240
243
  profile-address=${this.profileAddress}
241
244
  has-identicon
242
245
  class="absolute -top-[40px] left-[calc(50%_-_40px)] z-10"
@@ -251,7 +254,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
251
254
  <slot name="content"></slot>
252
255
  </div>
253
256
  <div
254
- class="bg-neutral-97 rounded-b-24 shadow-neutral-inner-shadow-top"
257
+ class="bg-neutral-97 rounded-b-[inherit] shadow-neutral-inner-shadow-top"
255
258
  >
256
259
  <slot name="bottom"></slot>
257
260
  </div>
@@ -261,7 +264,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
261
264
  }
262
265
  heroTemplate() {
263
266
  const cardStyles = this.cardStyles({
264
- size: this.size,
267
+ borderRadius: this.borderRadius,
265
268
  shadow: this.shadow,
266
269
  isHoverable: this.isHoverable,
267
270
  hasNoWidth: !this.width,
@@ -280,10 +283,10 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
280
283
  style=${styleMap.o({
281
284
  backgroundImage: `url('${this.backgroundUrl}')`
282
285
  })}
283
- class="h-full w-full -mb-6 bg-center bg-cover rounded-24 relative"
286
+ class="h-full w-full -mb-6 bg-center bg-cover rounded-[inherit] relative"
284
287
  >
285
288
  ${this.backgroundUrl && shared_tailwindElement_index.x`<div
286
- class="h-full w-full rounded-24 bg-neutral-20/10 absolute"
289
+ class="h-full w-full rounded-[inherit] bg-neutral-20/10 absolute"
287
290
  ></div>`}
288
291
  <div
289
292
  class="h-full w-full flex flex-col items-center justify-center absolute"
@@ -296,7 +299,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
296
299
  }
297
300
  dappTemplate() {
298
301
  const cardStyles = this.cardStyles({
299
- size: this.size,
302
+ borderRadius: this.borderRadius,
300
303
  shadow: this.shadow,
301
304
  isHoverable: this.isHoverable,
302
305
  hasNoWidth: !this.width,
@@ -316,7 +319,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
316
319
  backgroundImage: this.backgroundImageOrGradient()
317
320
  })}
318
321
  class=${cn.cn(
319
- "min-h-[240px] bg-center bg-cover rounded-[24px_24px_0_0] relative",
322
+ "min-h-[240px] bg-center bg-cover rounded-t-[inherit] rounded-b-0 relative",
320
323
  this.headerClass
321
324
  )}
322
325
  >
@@ -325,7 +328,7 @@ exports.LuksoCard = class LuksoCard extends shared_tailwindElement_index.Tailwin
325
328
  </div>
326
329
  </div>
327
330
  <div
328
- class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-[0_0_24px_24px] relative"
331
+ class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-t-0 rounded-b-[inherit] relative"
329
332
  >
330
333
  <slot name="content"></slot>
331
334
  </div>
@@ -374,8 +377,8 @@ __decorateClass([
374
377
  queryAssignedElements.n({ type: String, attribute: "header-class" })
375
378
  ], exports.LuksoCard.prototype, "headerClass", 2);
376
379
  __decorateClass([
377
- queryAssignedElements.n({ type: String })
378
- ], exports.LuksoCard.prototype, "size", 2);
380
+ queryAssignedElements.n({ type: String, attribute: "border-radius" })
381
+ ], exports.LuksoCard.prototype, "borderRadius", 2);
379
382
  __decorateClass([
380
383
  queryAssignedElements.n({ type: String })
381
384
  ], exports.LuksoCard.prototype, "shadow", 2);
@@ -1,5 +1,5 @@
1
1
  export type CardVariants = 'basic' | 'with-header' | 'profile' | 'profile-2' | 'hero' | 'dapp';
2
- export type CardSizes = 'small' | 'medium';
2
+ export type CardBorderRadius = 'small' | 'medium' | 'none';
3
3
  export type CardShadows = 'small' | 'medium' | 'large';
4
4
  declare const LuksoCard_base: typeof import("lit").LitElement;
5
5
  export declare class LuksoCard extends LuksoCard_base {
@@ -11,7 +11,7 @@ export declare class LuksoCard extends LuksoCard_base {
11
11
  height: number | undefined;
12
12
  customClass: string;
13
13
  headerClass: string;
14
- size: CardSizes;
14
+ borderRadius: CardBorderRadius;
15
15
  shadow: CardShadows;
16
16
  isHoverable: boolean;
17
17
  private mediumStyles;
@@ -1 +1 @@
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;IAiBjC,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"}
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,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;AAE1D,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,YAAY,EAAE,gBAAgB,CAAW;IAGzC,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;IAiBjC,OAAO,CAAC,UAAU,CAqChB;IAEF,aAAa;IAsBb,kBAAkB;IA8BlB,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"}
@@ -1,11 +1,11 @@
1
- import { T as TailwindStyledElement, x } from '../../index-2cbce78e.js';
1
+ import { T as TailwindStyledElement, x } from '../../index-3527fb14.js';
2
2
  import { n, e } from '../../query-assigned-elements-5d94572f.js';
3
- import { o } from '../../style-map-ec917798.js';
3
+ import { o } from '../../style-map-9fdda015.js';
4
4
  import { s as se } from '../../index-c55a1069.js';
5
5
  import '../lukso-profile/index.js';
6
6
  import '../../tailwind-config.js';
7
7
  import { c as cn } from '../../cn-616567d4.js';
8
- import { c as customStyleMap } from '../../index-61181f2e.js';
8
+ import { c as customStyleMap } from '../../index-1765cfe1.js';
9
9
  import '../../directive-2bb7789e.js';
10
10
  import '../../index-5e194caf.js';
11
11
 
@@ -33,7 +33,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
33
33
  this.height = void 0;
34
34
  this.customClass = "";
35
35
  this.headerClass = "";
36
- this.size = "medium";
36
+ this.borderRadius = "medium";
37
37
  this.shadow = "large";
38
38
  this.isHoverable = false;
39
39
  this.mediumStyles = `rounded-24 shadow-neutral-drop-shadow-2xl`;
@@ -42,7 +42,8 @@ let LuksoCard = class extends TailwindStyledElement(style) {
42
42
  this.cardStyles = se({
43
43
  base: `bg-neutral-100`,
44
44
  variants: {
45
- size: {
45
+ borderRadius: {
46
+ none: `rounded-0`,
46
47
  small: `rounded-12`,
47
48
  medium: `rounded-24`
48
49
  },
@@ -92,7 +93,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
92
93
  }
93
94
  basicTemplate() {
94
95
  const cardStyles = this.cardStyles({
95
- size: this.size,
96
+ borderRadius: this.borderRadius,
96
97
  shadow: this.shadow,
97
98
  isHoverable: this.isHoverable,
98
99
  hasNoWidth: !this.width
@@ -112,7 +113,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
112
113
  }
113
114
  withHeaderTemplate() {
114
115
  const cardStyles = this.cardStyles({
115
- size: this.size,
116
+ borderRadius: this.borderRadius,
116
117
  shadow: this.shadow,
117
118
  isHoverable: this.isHoverable,
118
119
  hasNoWidth: !this.width,
@@ -130,7 +131,9 @@ let LuksoCard = class extends TailwindStyledElement(style) {
130
131
  <div class=${this.headerClass}>
131
132
  <slot name="header"></slot>
132
133
  </div>
133
- <div class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-24">
134
+ <div
135
+ class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-[inherit]"
136
+ >
134
137
  <slot name="content"></slot>
135
138
  </div>
136
139
  </div>
@@ -138,7 +141,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
138
141
  }
139
142
  profileTemplate() {
140
143
  const cardStyles = this.cardStyles({
141
- size: this.size,
144
+ borderRadius: this.borderRadius,
142
145
  shadow: this.shadow,
143
146
  isHoverable: this.isHoverable,
144
147
  hasNoWidth: !this.width,
@@ -158,12 +161,12 @@ let LuksoCard = class extends TailwindStyledElement(style) {
158
161
  backgroundImage: this.backgroundImageOrGradient()
159
162
  })}
160
163
  class=${cn(
161
- "min-h-[92px] -mb-6 w-full bg-center bg-cover rounded-[24px_24px_0_0] relative",
164
+ "min-h-[92px] -mb-6 w-full bg-center bg-cover rounded-t-[inherit] rounded-b-0 relative",
162
165
  this.headerClass
163
166
  )}
164
167
  >
165
168
  ${this.backgroundUrl && x` <div
166
- class="h-full full rounded-[24px_24px_0_0] bg-neutral-20/10 absolute"
169
+ class="h-full full rounded-t-[inherit] rounded-b-0 bg-neutral-20/10 absolute"
167
170
  ></div>`}
168
171
  <div>
169
172
  <slot name="header"></slot>
@@ -174,11 +177,11 @@ let LuksoCard = class extends TailwindStyledElement(style) {
174
177
  style=${customStyleMap({
175
178
  [`width: ${this.width}px`]: !!this.width
176
179
  })}
177
- class="bg-neutral-100 rounded-24 relative break-normal"
180
+ class="bg-neutral-100 rounded-[inherit] relative break-normal"
178
181
  >
179
182
  <lukso-profile
180
183
  profile-url=${this.profileUrl}
181
- size="large"
184
+ borderRadius="large"
182
185
  profile-address=${this.profileAddress}
183
186
  has-identicon
184
187
  class="absolute -top-[40px] left-[calc(50%_-_40px)] z-10"
@@ -197,7 +200,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
197
200
  }
198
201
  profile2Template() {
199
202
  const cardStyles = this.cardStyles({
200
- size: this.size,
203
+ borderRadius: this.borderRadius,
201
204
  shadow: this.shadow,
202
205
  isHoverable: this.isHoverable,
203
206
  hasNoWidth: !this.width,
@@ -217,22 +220,22 @@ let LuksoCard = class extends TailwindStyledElement(style) {
217
220
  backgroundImage: this.backgroundImageOrGradient()
218
221
  })}
219
222
  class=${cn(
220
- "min-h-[129px] -mb-6 bg-center bg-cover rounded-[24px_24px_0_0] relative bg-neutral-100",
223
+ "min-h-[129px] -mb-6 bg-center bg-cover rounded-t-[inherit] rounded-b-0 relative bg-neutral-100",
221
224
  this.headerClass
222
225
  )}
223
226
  >
224
227
  ${this.backgroundUrl && x`<div
225
- class="min-h-full min-w-full rounded-[24px_24px_0_0] bg-neutral-10/10 absolute"
228
+ class="min-h-full min-w-full rounded-t-[inherit] rounded-b-0 bg-neutral-10/10 absolute"
226
229
  ></div>`}
227
230
  <div>
228
231
  <slot name="header"></slot>
229
232
  </div>
230
233
  </div>
231
- <div class="grid grid-rows-[max-content,auto]">
234
+ <div class="grid grid-rows-[max-content,auto] rounded-b-[inherit]">
232
235
  <div class="bg-neutral-100 relative">
233
236
  <lukso-profile
234
237
  profile-url=${this.profileUrl}
235
- size="large"
238
+ borderRadius="large"
236
239
  profile-address=${this.profileAddress}
237
240
  has-identicon
238
241
  class="absolute -top-[40px] left-[calc(50%_-_40px)] z-10"
@@ -247,7 +250,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
247
250
  <slot name="content"></slot>
248
251
  </div>
249
252
  <div
250
- class="bg-neutral-97 rounded-b-24 shadow-neutral-inner-shadow-top"
253
+ class="bg-neutral-97 rounded-b-[inherit] shadow-neutral-inner-shadow-top"
251
254
  >
252
255
  <slot name="bottom"></slot>
253
256
  </div>
@@ -257,7 +260,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
257
260
  }
258
261
  heroTemplate() {
259
262
  const cardStyles = this.cardStyles({
260
- size: this.size,
263
+ borderRadius: this.borderRadius,
261
264
  shadow: this.shadow,
262
265
  isHoverable: this.isHoverable,
263
266
  hasNoWidth: !this.width,
@@ -276,10 +279,10 @@ let LuksoCard = class extends TailwindStyledElement(style) {
276
279
  style=${o({
277
280
  backgroundImage: `url('${this.backgroundUrl}')`
278
281
  })}
279
- class="h-full w-full -mb-6 bg-center bg-cover rounded-24 relative"
282
+ class="h-full w-full -mb-6 bg-center bg-cover rounded-[inherit] relative"
280
283
  >
281
284
  ${this.backgroundUrl && x`<div
282
- class="h-full w-full rounded-24 bg-neutral-20/10 absolute"
285
+ class="h-full w-full rounded-[inherit] bg-neutral-20/10 absolute"
283
286
  ></div>`}
284
287
  <div
285
288
  class="h-full w-full flex flex-col items-center justify-center absolute"
@@ -292,7 +295,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
292
295
  }
293
296
  dappTemplate() {
294
297
  const cardStyles = this.cardStyles({
295
- size: this.size,
298
+ borderRadius: this.borderRadius,
296
299
  shadow: this.shadow,
297
300
  isHoverable: this.isHoverable,
298
301
  hasNoWidth: !this.width,
@@ -312,7 +315,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
312
315
  backgroundImage: this.backgroundImageOrGradient()
313
316
  })}
314
317
  class=${cn(
315
- "min-h-[240px] bg-center bg-cover rounded-[24px_24px_0_0] relative",
318
+ "min-h-[240px] bg-center bg-cover rounded-t-[inherit] rounded-b-0 relative",
316
319
  this.headerClass
317
320
  )}
318
321
  >
@@ -321,7 +324,7 @@ let LuksoCard = class extends TailwindStyledElement(style) {
321
324
  </div>
322
325
  </div>
323
326
  <div
324
- class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-[0_0_24px_24px] relative"
327
+ class="bg-neutral-100 shadow-neutral-above-shadow-1xl rounded-t-0 rounded-b-[inherit] relative"
325
328
  >
326
329
  <slot name="content"></slot>
327
330
  </div>
@@ -370,8 +373,8 @@ __decorateClass([
370
373
  n({ type: String, attribute: "header-class" })
371
374
  ], LuksoCard.prototype, "headerClass", 2);
372
375
  __decorateClass([
373
- n({ type: String })
374
- ], LuksoCard.prototype, "size", 2);
376
+ n({ type: String, attribute: "border-radius" })
377
+ ], LuksoCard.prototype, "borderRadius", 2);
375
378
  __decorateClass([
376
379
  n({ type: String })
377
380
  ], LuksoCard.prototype, "shadow", 2);
@@ -20,7 +20,7 @@ export declare const HeroCard: any;
20
20
  export declare const DappCard: any;
21
21
  /** You can customize card with `custom-class` property, it will be used instead of default styles. */
22
22
  export declare const CustomCard: any;
23
- /** You can select card size with `size` property. */
23
+ /** You can select card border radius with `borderRadius` property. */
24
24
  export declare const SmallCard: any;
25
25
  /** Card can be as hoverable element with `is-hoverable` property. */
26
26
  export declare const HoverableCard: any;
@@ -1 +1 @@
1
- {"version":3,"file":"lukso-card.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-card/lukso-card.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAEhD,OAAO,SAAS,CAAA;AAChB,OAAO,kBAAkB,CAAA;AACzB,OAAO,mBAAmB,CAAA;AAE1B,qJAAqJ;AACrJ,QAAA,MAAM,IAAI,EAAE,IAyIX,CAAA;AAED,eAAe,IAAI,CAAA;AA4InB,iDAAiD;AACjD,eAAO,MAAM,WAAW,KAA2B,CAAA;AAQnD,iHAAiH;AACjH,eAAO,MAAM,SAAS,KAA2B,CAAA;AAYjD,wCAAwC;AACxC,eAAO,MAAM,cAAc,KAA2B,CAAA;AAatD,+EAA+E;AAC/E,eAAO,MAAM,oBAAoB,KAAgC,CAAA;AAajE,sIAAsI;AACtI,eAAO,MAAM,WAAW,KAA2B,CAAA;AAmBnD,uCAAuC;AACvC,eAAO,MAAM,YAAY,KAA2B,CAAA;AAOpD,kCAAkC;AAClC,eAAO,MAAM,QAAQ,KAAwB,CAAA;AAK7C,kCAAkC;AAClC,eAAO,MAAM,QAAQ,KAA2B,CAAA;AAKhD,uGAAuG;AACvG,eAAO,MAAM,UAAU,KAA2B,CAAA;AAalD,sDAAsD;AACtD,eAAO,MAAM,SAAS,KAA2B,CAAA;AAKjD,sEAAsE;AACtE,eAAO,MAAM,aAAa,KAA2B,CAAA;AAOrD,0DAA0D;AAC1D,eAAO,MAAM,MAAM,KAA2B,CAAA"}
1
+ {"version":3,"file":"lukso-card.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-card/lukso-card.stories.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAA;AAEhD,OAAO,SAAS,CAAA;AAChB,OAAO,kBAAkB,CAAA;AACzB,OAAO,mBAAmB,CAAA;AAE1B,qJAAqJ;AACrJ,QAAA,MAAM,IAAI,EAAE,IA8IX,CAAA;AAED,eAAe,IAAI,CAAA;AA4InB,iDAAiD;AACjD,eAAO,MAAM,WAAW,KAA2B,CAAA;AAQnD,iHAAiH;AACjH,eAAO,MAAM,SAAS,KAA2B,CAAA;AAYjD,wCAAwC;AACxC,eAAO,MAAM,cAAc,KAA2B,CAAA;AAatD,+EAA+E;AAC/E,eAAO,MAAM,oBAAoB,KAAgC,CAAA;AAajE,sIAAsI;AACtI,eAAO,MAAM,WAAW,KAA2B,CAAA;AAmBnD,uCAAuC;AACvC,eAAO,MAAM,YAAY,KAA2B,CAAA;AAOpD,kCAAkC;AAClC,eAAO,MAAM,QAAQ,KAAwB,CAAA;AAK7C,kCAAkC;AAClC,eAAO,MAAM,QAAQ,KAA2B,CAAA;AAKhD,uGAAuG;AACvG,eAAO,MAAM,UAAU,KAA2B,CAAA;AAalD,uEAAuE;AACvE,eAAO,MAAM,SAAS,KAA2B,CAAA;AAKjD,sEAAsE;AACtE,eAAO,MAAM,aAAa,KAA2B,CAAA;AAOrD,0DAA0D;AAC1D,eAAO,MAAM,MAAM,KAA2B,CAAA"}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-4964f1aa.cjs');
5
+ const shared_tailwindElement_index = require('../../index-688c3040.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-e9668573.cjs');
@@ -1,4 +1,4 @@
1
- import { a as TailwindElement, x, A } from '../../index-2cbce78e.js';
1
+ import { a as TailwindElement, x, A } from '../../index-3527fb14.js';
2
2
  import { n, e } from '../../query-assigned-elements-5d94572f.js';
3
3
  import { t } from '../../state-0a779257.js';
4
4
  import { c as customClassMap } from '../../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-4964f1aa.cjs');
5
+ const shared_tailwindElement_index = require('../../index-688c3040.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-1d5d9d4c.cjs');
7
7
 
8
8
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- import { a as TailwindElement, x } from '../../index-2cbce78e.js';
1
+ import { a as TailwindElement, x } from '../../index-3527fb14.js';
2
2
  import { n, e } from '../../query-assigned-elements-5d94572f.js';
3
3
 
4
4
  var __defProp = Object.defineProperty;
@@ -0,0 +1,3 @@
1
+ import { IconOptions } from '../../../components/lukso-icon/index.js';
2
+ export declare const walletRestore: (options: IconOptions) => import("lit-html").TemplateResult<1>;
3
+ //# sourceMappingURL=wallet-restore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wallet-restore.d.ts","sourceRoot":"","sources":["../../../../../../src/components/lukso-icon/icons/wallet-restore.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAE9D,eAAO,MAAM,aAAa,YAAa,WAAW,yCAoCjD,CAAA"}
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../index-4964f1aa.cjs');
5
+ const shared_tailwindElement_index = require('../../index-688c3040.cjs');
6
6
  const queryAssignedElements = require('../../query-assigned-elements-1d5d9d4c.cjs');
7
- const styleMap = require('../../style-map-0e5b61bc.cjs');
7
+ const styleMap = require('../../style-map-c86dd6e2.cjs');
8
8
  require('../../directive-8278ab14.cjs');
9
9
 
10
10
  const style = ":host {\n display: inline-flex\n}";
@@ -5764,6 +5764,44 @@ const videoOutline = (options) => {
5764
5764
  </svg> `;
5765
5765
  };
5766
5766
 
5767
+ const walletRestore = (options) => {
5768
+ return shared_tailwindElement_index.x`<svg
5769
+ width="24"
5770
+ height="24"
5771
+ viewBox="0 0 24 24"
5772
+ fill="none"
5773
+ xmlns="http://www.w3.org/2000/svg"
5774
+ style=${styleMap.o({
5775
+ width: `${options.width}px`,
5776
+ height: `${options.height}px`
5777
+ })}
5778
+ >
5779
+ <path
5780
+ d="M20.773 8.386H7.59a1.977 1.977 0 0 0-1.977 1.978v7.909c0 1.092.885 1.977 1.977 1.977h13.182a1.977 1.977 0 0 0 1.977-1.977v-7.91a1.977 1.977 0 0 0-1.977-1.977Z"
5781
+ stroke="var(--${options.color})"
5782
+ stroke-width="${options.strokeWidth}"
5783
+ stroke-linejoin="round"
5784
+ />
5785
+ <path
5786
+ d="M20.582 8.386V7.151a2.06 2.06 0 0 0-2.446-2.023L7.288 6.98a2.06 2.06 0 0 0-1.674 2.024v2.019"
5787
+ sstroke="var(--${options.color})"
5788
+ stroke-width="${options.strokeWidth}"
5789
+ stroke-linejoin="round"
5790
+ />
5791
+ <path
5792
+ d="M18.796 15.636a1.318 1.318 0 1 1 0-2.636 1.318 1.318 0 0 1 0 2.636"
5793
+ fill="var(--${options.color})"
5794
+ />
5795
+ <path
5796
+ d="M2.62 5.628 1.23 4.46m1.528 3.267H1M4.515 5.09V3.334"
5797
+ stroke="var(--${options.color})"
5798
+ stroke-width="${options.strokeWidth}"
5799
+ stroke-linecap="round"
5800
+ stroke-linejoin="round"
5801
+ />
5802
+ </svg>`;
5803
+ };
5804
+
5767
5805
  var __defProp = Object.defineProperty;
5768
5806
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5769
5807
  var __decorateClass = (decorators, target, key, kind) => {
@@ -5884,6 +5922,7 @@ const iconMap = {
5884
5922
  "turn-up": turnUp,
5885
5923
  unlocked,
5886
5924
  "wallet-outline": walletOutline,
5925
+ "wallet-restore": walletRestore,
5887
5926
  "warning-round": warningRound,
5888
5927
  "warning-triangle": warningTriangle,
5889
5928
  "google-color": googleColor,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-icon/index.ts"],"names":[],"mappings":"AAkJA,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAA;;AAuJ5E,qBACa,SAAU,SAAQ,cAA4B;IAEzD,IAAI,SAAK;IAGT,IAAI,SAAW;IAGf,KAAK,SAAe;IAGpB,cAAc,SAAK;IAEnB,OAAO,CAAC,KAAK,CA0BZ;IAED,MAAM;CAyBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAA;KACxB;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/lukso-icon/index.ts"],"names":[],"mappings":"AAmJA,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAA;;AAwJ5E,qBACa,SAAU,SAAQ,cAA4B;IAEzD,IAAI,SAAK;IAGT,IAAI,SAAW;IAGf,KAAK,SAAe;IAGpB,cAAc,SAAK;IAEnB,OAAO,CAAC,KAAK,CA0BZ;IAED,MAAM;CAyBP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,SAAS,CAAA;KACxB;CACF"}