@lukso/web-components 1.172.13 → 1.172.14

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 (126) hide show
  1. package/dist/chunks/cn-LM_JlZIN.js +36 -0
  2. package/dist/chunks/cn-zamUNFMe.js +39 -0
  3. package/dist/chunks/directive-CY66atYi.js +22 -0
  4. package/dist/chunks/directive-DUHAbymA.js +15 -0
  5. package/dist/chunks/index-BNt_JinF.js +212 -0
  6. package/dist/chunks/{index-DG4rMUh3.js → index-BOEPqh0N.js} +1 -1
  7. package/dist/chunks/{index-F8ll4iy2.js → index-C5S-_QDF.js} +1 -1
  8. package/dist/chunks/{index-B_H2eYG_.js → index-CA6SrfZ-.js} +9 -8
  9. package/dist/chunks/{index-CZGvLdJ0.js → index-CqZm8OfY.js} +1 -2
  10. package/dist/chunks/index-Cy2_2lFt.js +214 -0
  11. package/dist/chunks/{index-Dn2DJhID.js → index-Ds-r8fCt.js} +77 -74
  12. package/dist/chunks/{index-C5YyB6ug.js → index-DvLZWpq9.js} +2 -3
  13. package/dist/chunks/{index-D_5wz2k1.js → index-UVrFZqIM.js} +79 -76
  14. package/dist/chunks/{index-BHAtoIlu.js → index-cakeic-M.js} +9 -8
  15. package/dist/chunks/{style-map-B7XFhSOK.js → style-map-AEeBQfPb.js} +2 -3
  16. package/dist/chunks/{style-map-BPljJihp.js → style-map-auscxO0L.js} +1 -2
  17. package/dist/components/index.cjs +4 -5
  18. package/dist/components/index.js +4 -5
  19. package/dist/components/lukso-alert/index.cjs +16 -15
  20. package/dist/components/lukso-alert/index.js +16 -15
  21. package/dist/components/lukso-button/index.cjs +42 -40
  22. package/dist/components/lukso-button/index.js +39 -37
  23. package/dist/components/lukso-card/index.cjs +66 -71
  24. package/dist/components/lukso-card/index.js +48 -53
  25. package/dist/components/lukso-checkbox/index.cjs +27 -26
  26. package/dist/components/lukso-checkbox/index.js +27 -26
  27. package/dist/components/lukso-collapse/index.cjs +27 -26
  28. package/dist/components/lukso-collapse/index.js +26 -25
  29. package/dist/components/lukso-color-picker/index.cjs +33 -31
  30. package/dist/components/lukso-color-picker/index.js +32 -30
  31. package/dist/components/lukso-dropdown/index.cjs +20 -19
  32. package/dist/components/lukso-dropdown/index.js +20 -19
  33. package/dist/components/lukso-dropdown-option/index.cjs +12 -11
  34. package/dist/components/lukso-dropdown-option/index.js +12 -11
  35. package/dist/components/lukso-footer/index.cjs +5 -4
  36. package/dist/components/lukso-footer/index.js +5 -4
  37. package/dist/components/lukso-form-description/index.cjs +7 -6
  38. package/dist/components/lukso-form-description/index.js +7 -6
  39. package/dist/components/lukso-form-error/index.cjs +7 -6
  40. package/dist/components/lukso-form-error/index.js +7 -6
  41. package/dist/components/lukso-form-label/index.cjs +8 -7
  42. package/dist/components/lukso-form-label/index.js +8 -7
  43. package/dist/components/lukso-icon/index.cjs +268 -267
  44. package/dist/components/lukso-icon/index.js +268 -267
  45. package/dist/components/lukso-image/index.cjs +12 -12
  46. package/dist/components/lukso-image/index.js +12 -12
  47. package/dist/components/lukso-input/index.cjs +49 -47
  48. package/dist/components/lukso-input/index.js +48 -46
  49. package/dist/components/lukso-markdown/index.cjs +13 -83
  50. package/dist/components/lukso-markdown/index.js +13 -83
  51. package/dist/components/lukso-markdown-editor/index.cjs +68 -67
  52. package/dist/components/lukso-markdown-editor/index.js +67 -66
  53. package/dist/components/lukso-modal/index.cjs +12 -11
  54. package/dist/components/lukso-modal/index.js +11 -10
  55. package/dist/components/lukso-navbar/index.cjs +30 -30
  56. package/dist/components/lukso-navbar/index.js +30 -30
  57. package/dist/components/lukso-pagination/index.cjs +16 -16
  58. package/dist/components/lukso-pagination/index.js +16 -16
  59. package/dist/components/lukso-profile/index.cjs +162 -11
  60. package/dist/components/lukso-profile/index.js +165 -5
  61. package/dist/components/lukso-progress/index.cjs +16 -13
  62. package/dist/components/lukso-progress/index.js +13 -10
  63. package/dist/components/lukso-qr-code/index.cjs +17 -34
  64. package/dist/components/lukso-qr-code/index.js +16 -33
  65. package/dist/components/lukso-radio/index.cjs +27 -25
  66. package/dist/components/lukso-radio/index.js +25 -23
  67. package/dist/components/lukso-radio-group/index.cjs +9 -9
  68. package/dist/components/lukso-radio-group/index.js +9 -9
  69. package/dist/components/lukso-sanitize/index.cjs +5 -4
  70. package/dist/components/lukso-sanitize/index.js +5 -4
  71. package/dist/components/lukso-search/index.cjs +11 -8
  72. package/dist/components/lukso-search/index.js +11 -8
  73. package/dist/components/lukso-select/index.cjs +47 -46
  74. package/dist/components/lukso-select/index.js +46 -45
  75. package/dist/components/lukso-share/index.cjs +7 -6
  76. package/dist/components/lukso-share/index.js +7 -6
  77. package/dist/components/lukso-switch/index.cjs +16 -15
  78. package/dist/components/lukso-switch/index.js +16 -15
  79. package/dist/components/lukso-tag/index.cjs +13 -12
  80. package/dist/components/lukso-tag/index.js +12 -11
  81. package/dist/components/lukso-terms/index.cjs +9 -8
  82. package/dist/components/lukso-terms/index.js +9 -8
  83. package/dist/components/lukso-textarea/index.cjs +36 -34
  84. package/dist/components/lukso-textarea/index.js +35 -33
  85. package/dist/components/lukso-tooltip/index.cjs +27 -3461
  86. package/dist/components/lukso-tooltip/index.js +27 -3461
  87. package/dist/components/lukso-username/index.cjs +11 -7
  88. package/dist/components/lukso-username/index.js +11 -7
  89. package/dist/components/lukso-wizard/index.cjs +13 -12
  90. package/dist/components/lukso-wizard/index.js +11 -10
  91. package/dist/index.cjs +6 -6
  92. package/dist/index.js +5 -5
  93. package/dist/shared/tailwind-element/index.cjs +15 -3
  94. package/dist/shared/tailwind-element/index.js +17 -1
  95. package/dist/vite.full.config.d.ts.map +1 -1
  96. package/package.json +7 -1
  97. package/dist/chunks/_commonjsHelpers-B85MJLTf.js +0 -5
  98. package/dist/chunks/_commonjsHelpers-CFO10eej.js +0 -7
  99. package/dist/chunks/axe-DJKac19y.js +0 -35093
  100. package/dist/chunks/axe-MHuN9KU0.js +0 -35097
  101. package/dist/chunks/base-Bn-zDNuZ.js +0 -93
  102. package/dist/chunks/base-Cl6v8-BZ.js +0 -8
  103. package/dist/chunks/base-KJhhKWYy.js +0 -91
  104. package/dist/chunks/base-NFGX42U4.js +0 -10
  105. package/dist/chunks/chunk-LQIOVPBE-CGhQ79Di.js +0 -370
  106. package/dist/chunks/chunk-LQIOVPBE-kQFZF_OS.js +0 -372
  107. package/dist/chunks/directive-BKuZRRPO.js +0 -8
  108. package/dist/chunks/directive-DT5Y-Nw0.js +0 -12
  109. package/dist/chunks/index-5X9ujrWL.js +0 -41
  110. package/dist/chunks/index-B9iart53.js +0 -2545
  111. package/dist/chunks/index-BAf8Hzhe.js +0 -611
  112. package/dist/chunks/index-BBFSnMaE.js +0 -1345
  113. package/dist/chunks/index-BDyLu6M0.js +0 -609
  114. package/dist/chunks/index-BxQ_0s_1.js +0 -50
  115. package/dist/chunks/index-CaJky2qL.js +0 -2547
  116. package/dist/chunks/index-glHBylgQ.js +0 -1347
  117. package/dist/chunks/isAddress-B1R_6-uN.js +0 -745
  118. package/dist/chunks/isAddress-BUdSrCaY.js +0 -743
  119. package/dist/chunks/property-D6IL6zax.js +0 -11
  120. package/dist/chunks/property-DfumgIL6.js +0 -9
  121. package/dist/chunks/query-CHb9Ft_d.js +0 -9
  122. package/dist/chunks/query-D3HF7Pde.js +0 -11
  123. package/dist/chunks/state-CFjY89m3.js +0 -11
  124. package/dist/chunks/state-CaelFSbE.js +0 -9
  125. package/dist/chunks/unsafe-html-BHBLEMoa.js +0 -10
  126. package/dist/chunks/unsafe-html-DiwkOQlV.js +0 -12
@@ -1,20 +1,23 @@
1
1
  'use strict';
2
2
 
3
- const components_luksoProfile_index = require('./index-BAf8Hzhe.js');
4
- const shared_tailwindElement_index = require('./index-BxQ_0s_1.js');
5
- const property = require('./property-D6IL6zax.js');
6
- const state = require('./state-CFjY89m3.js');
7
- const index = require('./index-CaJky2qL.js');
3
+ const makeBlockie = require('ethereum-blockies-base64');
4
+ const lit = require('lit');
5
+ const decorators_js = require('lit/decorators.js');
6
+ const tailwindVariants = require('tailwind-variants');
8
7
  const safeCustomElement = require('./safe-custom-element-tQ-epw6h.js');
9
8
  require('../components/lukso-dropdown/index.cjs');
10
9
  require('../components/lukso-dropdown-option/index.cjs');
11
10
  require('../components/lukso-icon/index.cjs');
12
11
  require('../components/lukso-input/index.cjs');
12
+ require('../components/lukso-profile/index.cjs');
13
13
  require('../components/lukso-tag/index.cjs');
14
- const components_luksoUsername_index = require('./index-glHBylgQ.js');
14
+ const components_luksoUsername_index = require('./index-Cy2_2lFt.js');
15
15
  require('../components/lukso-tooltip/index.cjs');
16
+ const shared_tailwindElement_index = require('../shared/tailwind-element/index.cjs');
16
17
  require('../tailwind-config.cjs');
17
- require('./axe-MHuN9KU0.js');
18
+ require('./cn-zamUNFMe.js');
19
+ require('viem');
20
+ require('axe-core');
18
21
  const uniqId = require('./uniq-id-Cszs24DQ.js');
19
22
 
20
23
  const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
@@ -89,7 +92,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
89
92
  this.withGroupLabels = false;
90
93
  this.isDebouncing = false;
91
94
  this.resultsParsed = [];
92
- this.styles = index.ce({
95
+ this.styles = tailwindVariants.tv({
93
96
  slots: {
94
97
  loading: "bg-neutral-95 w-full animate-pulse animation-delay-none"
95
98
  },
@@ -197,7 +200,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
197
200
  break;
198
201
  }
199
202
  resultTemplates.push(
200
- shared_tailwindElement_index.x`<div
203
+ lit.html`<div
201
204
  class="${index === 0 ? "mb-1 pb-1" : "my-1 py-1"} text-neutral-35 paragraph-inter-12-medium tracking-wider border-b border-b-neutral-95 text-left"
202
205
  >
203
206
  ${headerText}
@@ -234,22 +237,22 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
234
237
  break;
235
238
  }
236
239
  }
237
- return shared_tailwindElement_index.x`<lukso-dropdown
240
+ return lit.html`<lukso-dropdown
238
241
  size=${this.dropdownSize[this.size]}
239
242
  is-open=${this.resultsParsed.length > 0}
240
243
  is-open-on-outside-click
241
244
  is-full-width
242
- max-height=${this.maxHeight || shared_tailwindElement_index.E}
245
+ max-height=${this.maxHeight || lit.nothing}
243
246
  >${resultTemplates}</lukso-dropdown
244
247
  >`;
245
248
  }
246
249
  noResultsTemplate() {
247
- return shared_tailwindElement_index.x`<lukso-dropdown
250
+ return lit.html`<lukso-dropdown
248
251
  size=${this.dropdownSize[this.size]}
249
252
  is-open
250
253
  is-open-on-outside-click
251
254
  is-full-width
252
- >${shared_tailwindElement_index.x`<div class="paragraph-inter-14-semi-bold text-neutral-20 pl-1">
255
+ >${lit.html`<div class="paragraph-inter-14-semi-bold text-neutral-20 pl-1">
253
256
  ${this.noResultsText}
254
257
  </div>`}</lukso-dropdown
255
258
  >`;
@@ -259,12 +262,12 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
259
262
  size: this.size
260
263
  });
261
264
  if (this.showNoResults) {
262
- return shared_tailwindElement_index.x`<lukso-dropdown
265
+ return lit.html`<lukso-dropdown
263
266
  size=${this.dropdownSize[this.size]}
264
267
  is-open
265
268
  is-open-on-outside-click
266
269
  is-full-width
267
- >${shared_tailwindElement_index.x`
270
+ >${lit.html`
268
271
  <div role="status" class="flex flex-col gap-1">
269
272
  <div class=${loading()}></div>
270
273
  </div>
@@ -272,33 +275,33 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
272
275
  >`;
273
276
  }
274
277
  if (this.resultsParsed.length === 0 || this.resultsParsed.length > 5) {
275
- return shared_tailwindElement_index.x`<lukso-dropdown
278
+ return lit.html`<lukso-dropdown
276
279
  size=${this.dropdownSize[this.size]}
277
280
  is-open
278
281
  is-open-on-outside-click
279
282
  is-full-width
280
- >${shared_tailwindElement_index.x`
283
+ >${lit.html`
281
284
  <div role="status" class="flex flex-col gap-1">
282
- ${[...Array(5)].map(() => shared_tailwindElement_index.x`<div class=${loading()}></div>`)}
285
+ ${[...Array(5)].map(() => lit.html`<div class=${loading()}></div>`)}
283
286
  </div>
284
287
  `}</lukso-dropdown
285
288
  >`;
286
289
  }
287
- return shared_tailwindElement_index.x`<lukso-dropdown
290
+ return lit.html`<lukso-dropdown
288
291
  size=${this.dropdownSize[this.size]}
289
292
  is-open
290
293
  is-open-on-outside-click
291
294
  is-full-width
292
- >${shared_tailwindElement_index.x`
295
+ >${lit.html`
293
296
  <div role="status" class="flex flex-col gap-1">
294
- ${this.resultsParsed.map(() => shared_tailwindElement_index.x`<div class=${loading()}></div>`)}
297
+ ${this.resultsParsed.map(() => lit.html`<div class=${loading()}></div>`)}
295
298
  </div>
296
299
  `}</lukso-dropdown
297
300
  >`;
298
301
  }
299
302
  resultStringTemplate(result, index) {
300
303
  const dropdownSize = this.size === "large" || this.size === "x-large" ? "medium" : this.size;
301
- return shared_tailwindElement_index.x`<lukso-dropdown-option
304
+ return lit.html`<lukso-dropdown-option
302
305
  data-id="${result.id}"
303
306
  data-index="${index + 1}"
304
307
  ?is-selected=${this.selected === index + 1}
@@ -309,13 +312,13 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
309
312
  </lukso-dropdown-option>`;
310
313
  }
311
314
  resultUniversalNameTemplate(result, index) {
312
- const tag = shared_tailwindElement_index.x`<lukso-tag
315
+ const tag = lit.html`<lukso-tag
313
316
  is-rounded
314
317
  background-color="${result.status ? "green-95" : "neutral-95"}"
315
318
  text-color="${result.status ? "green-45" : "neutral-60"}"
316
319
  >${!!result.status ? this.availableText : this.unavailableText}</lukso-tag
317
320
  >`;
318
- return shared_tailwindElement_index.x`<lukso-dropdown-option
321
+ return lit.html`<lukso-dropdown-option
319
322
  data-id="${result.id}"
320
323
  data-index="${index + 1}"
321
324
  ?is-selected=${this.selected === index + 1}
@@ -329,12 +332,12 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
329
332
  </lukso-dropdown-option>`;
330
333
  }
331
334
  resultProfileTemplate(result, index) {
332
- const eoaProfilePicture = shared_tailwindElement_index.x`<lukso-profile
335
+ const eoaProfilePicture = lit.html`<lukso-profile
333
336
  profile-address="${result.address}"
334
- profile-url="${result.address ? components_luksoProfile_index.makeBlockie(result.address) : ""}"
337
+ profile-url="${result.address ? makeBlockie(result.address) : ""}"
335
338
  size=${this.profileSize[this.size]}
336
339
  ></lukso-profile>`;
337
- const lsp3ProfilePicture = shared_tailwindElement_index.x`<lukso-profile
340
+ const lsp3ProfilePicture = lit.html`<lukso-profile
338
341
  profile-address="${result.address}"
339
342
  profile-url="${result.image}"
340
343
  size=${this.profileSize[this.size]}
@@ -342,7 +345,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
342
345
  ></lukso-profile>`;
343
346
  const standard = result.standard || STANDARDS.LSP3;
344
347
  const profilePicture = standard !== STANDARDS.LSP3 ? eoaProfilePicture : lsp3ProfilePicture;
345
- const upProfileUsername = shared_tailwindElement_index.x`<lukso-username
348
+ const upProfileUsername = lit.html`<lukso-username
346
349
  name="${result.name?.toLowerCase() || "anonymous-profile"}"
347
350
  address="${result.address}"
348
351
  name-color="neutral-20"
@@ -351,7 +354,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
351
354
  ?hide-prefix="${!result.name}"
352
355
  class="ml-1"
353
356
  ></lukso-username>`;
354
- const eoaUsername = shared_tailwindElement_index.x`<lukso-username
357
+ const eoaUsername = lit.html`<lukso-username
355
358
  name="${components_luksoUsername_index.sliceAddress(result.address, 8)}"
356
359
  address="__EOA"
357
360
  name-color="neutral-20"
@@ -360,7 +363,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
360
363
  hide-prefix
361
364
  class="ml-1"
362
365
  ></lukso-username>`;
363
- const scUsername = shared_tailwindElement_index.x`<lukso-username
366
+ const scUsername = lit.html`<lukso-username
364
367
  name="${components_luksoUsername_index.sliceAddress(result.address, 8)}"
365
368
  address=""
366
369
  name-color="neutral-20"
@@ -375,7 +378,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
375
378
  } else if (standard === STANDARDS.LSP3) {
376
379
  profileName = upProfileUsername;
377
380
  }
378
- return shared_tailwindElement_index.x`<lukso-dropdown-option
381
+ return lit.html`<lukso-dropdown-option
379
382
  data-id="${result.address}"
380
383
  data-index="${index + 1}"
381
384
  ?is-selected=${this.selected === index + 1}
@@ -386,7 +389,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
386
389
  </lukso-dropdown-option>`;
387
390
  }
388
391
  resultAssetTemplate(result, index) {
389
- return shared_tailwindElement_index.x`<lukso-dropdown-option
392
+ return lit.html`<lukso-dropdown-option
390
393
  data-id="${result.address}"
391
394
  data-index="${index + 1}"
392
395
  ?is-selected=${this.selected === index + 1}
@@ -409,7 +412,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
409
412
  </lukso-dropdown-option>`;
410
413
  }
411
414
  resultAppTemplate(result, index) {
412
- return shared_tailwindElement_index.x`<lukso-dropdown-option
415
+ return lit.html`<lukso-dropdown-option
413
416
  data-id="${result.address}"
414
417
  data-index="${index + 1}"
415
418
  ?is-selected=${this.selected === index + 1}
@@ -431,7 +434,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
431
434
  for (const recentSearch of result.value) {
432
435
  switch (recentSearch.type) {
433
436
  case SEARCH_RESULT_TYPES.PROFILE: {
434
- const eoaProfilePicture = shared_tailwindElement_index.x`<lukso-tooltip
437
+ const eoaProfilePicture = lit.html`<lukso-tooltip
435
438
  show-delay="2000"
436
439
  class="flex"
437
440
  >
@@ -448,13 +451,13 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
448
451
  </div>
449
452
  <lukso-profile
450
453
  profile-address="${recentSearch.address}"
451
- profile-url="${recentSearch.address ? components_luksoProfile_index.makeBlockie(recentSearch.address) : ""}"
454
+ profile-url="${recentSearch.address ? makeBlockie(recentSearch.address) : ""}"
452
455
  size=${this.profileSize[this.size]}
453
456
  class="cursor-pointer transition hover:scale-[1.02]"
454
457
  @click=${() => this.handleSelect(recentSearch)}
455
458
  ></lukso-profile
456
459
  ></lukso-tooltip>`;
457
- const lsp3ProfilePicture = shared_tailwindElement_index.x`<lukso-tooltip
460
+ const lsp3ProfilePicture = lit.html`<lukso-tooltip
458
461
  show-delay="2000"
459
462
  class="flex"
460
463
  >
@@ -484,7 +487,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
484
487
  break;
485
488
  }
486
489
  case SEARCH_RESULT_TYPES.ASSET: {
487
- const asset = shared_tailwindElement_index.x`<lukso-tooltip show-delay="2000" class="flex">
490
+ const asset = lit.html`<lukso-tooltip show-delay="2000" class="flex">
488
491
  <div slot="text">
489
492
  <span class="font-600"
490
493
  >${recentSearch.name}
@@ -506,7 +509,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
506
509
  break;
507
510
  }
508
511
  case SEARCH_RESULT_TYPES.APP: {
509
- const app = shared_tailwindElement_index.x`<lukso-tooltip show-delay="2000" class="flex">
512
+ const app = lit.html`<lukso-tooltip show-delay="2000" class="flex">
510
513
  <div slot="text">
511
514
  <span class="font-600">${recentSearch.name}</span>
512
515
  </div>
@@ -523,7 +526,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
523
526
  }
524
527
  }
525
528
  }
526
- return shared_tailwindElement_index.x`<div class="flex gap-4 mx-3 my-2">
529
+ return lit.html`<div class="flex gap-4 mx-3 my-2">
527
530
  ${recentSearchTemplates}
528
531
  </div>`;
529
532
  }
@@ -671,7 +674,7 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
671
674
  this.searchDebounce(target.value);
672
675
  }
673
676
  render() {
674
- return shared_tailwindElement_index.x`
677
+ return lit.html`
675
678
  <div class="relative w-full">
676
679
  <lukso-input
677
680
  name=${this.name}
@@ -700,113 +703,113 @@ exports.LuksoSearch = class LuksoSearch extends shared_tailwindElement_index.Tai
700
703
  @on-key-up=${this.handleKeyUp}
701
704
  ></lukso-input>
702
705
  <!-- results dropdown -->
703
- ${this.results && !(this.isSearching || this.isDebouncing) ? this.resultsTemplate() : shared_tailwindElement_index.E}
706
+ ${this.results && !(this.isSearching || this.isDebouncing) ? this.resultsTemplate() : lit.nothing}
704
707
  <!-- no results dropdown -->
705
- ${this.showNoResults && !(this.isSearching || this.isDebouncing) ? this.noResultsTemplate() : shared_tailwindElement_index.E}
708
+ ${this.showNoResults && !(this.isSearching || this.isDebouncing) ? this.noResultsTemplate() : lit.nothing}
706
709
  <!-- loading dropdown -->
707
- ${!this.hideLoading && this.value && (this.isSearching || this.isDebouncing) ? this.loadingTemplate() : shared_tailwindElement_index.E}
710
+ ${!this.hideLoading && this.value && (this.isSearching || this.isDebouncing) ? this.loadingTemplate() : lit.nothing}
708
711
  </div>
709
712
  `;
710
713
  }
711
714
  };
712
715
  __decorateClass([
713
- property.n({ type: String })
716
+ decorators_js.property({ type: String })
714
717
  ], exports.LuksoSearch.prototype, "value", 2);
715
718
  __decorateClass([
716
- property.n({ type: String })
719
+ decorators_js.property({ type: String })
717
720
  ], exports.LuksoSearch.prototype, "name", 2);
718
721
  __decorateClass([
719
- property.n({ type: String })
722
+ decorators_js.property({ type: String })
720
723
  ], exports.LuksoSearch.prototype, "placeholder", 2);
721
724
  __decorateClass([
722
- property.n({ type: String })
725
+ decorators_js.property({ type: String })
723
726
  ], exports.LuksoSearch.prototype, "label", 2);
724
727
  __decorateClass([
725
- property.n({ type: String, attribute: "group-labels" })
728
+ decorators_js.property({ type: String, attribute: "group-labels" })
726
729
  ], exports.LuksoSearch.prototype, "groupLabels", 2);
727
730
  __decorateClass([
728
- property.n({ type: String, attribute: "available-text" })
731
+ decorators_js.property({ type: String, attribute: "available-text" })
729
732
  ], exports.LuksoSearch.prototype, "availableText", 2);
730
733
  __decorateClass([
731
- property.n({ type: String, attribute: "unavailable-text" })
734
+ decorators_js.property({ type: String, attribute: "unavailable-text" })
732
735
  ], exports.LuksoSearch.prototype, "unavailableText", 2);
733
736
  __decorateClass([
734
- property.n({ type: String })
737
+ decorators_js.property({ type: String })
735
738
  ], exports.LuksoSearch.prototype, "autocomplete", 2);
736
739
  __decorateClass([
737
- property.n({ type: String })
740
+ decorators_js.property({ type: String })
738
741
  ], exports.LuksoSearch.prototype, "id", 2);
739
742
  __decorateClass([
740
- property.n({ type: String })
743
+ decorators_js.property({ type: String })
741
744
  ], exports.LuksoSearch.prototype, "description", 2);
742
745
  __decorateClass([
743
- property.n({ type: String })
746
+ decorators_js.property({ type: String })
744
747
  ], exports.LuksoSearch.prototype, "error", 2);
745
748
  __decorateClass([
746
- property.n({ type: String, attribute: "custom-class" })
749
+ decorators_js.property({ type: String, attribute: "custom-class" })
747
750
  ], exports.LuksoSearch.prototype, "customClass", 2);
748
751
  __decorateClass([
749
- property.n({ type: Boolean, attribute: "is-full-width" })
752
+ decorators_js.property({ type: Boolean, attribute: "is-full-width" })
750
753
  ], exports.LuksoSearch.prototype, "isFullWidth", 2);
751
754
  __decorateClass([
752
- property.n({ type: Boolean, attribute: "is-readonly" })
755
+ decorators_js.property({ type: Boolean, attribute: "is-readonly" })
753
756
  ], exports.LuksoSearch.prototype, "isReadonly", 2);
754
757
  __decorateClass([
755
- property.n({ type: Boolean, attribute: "is-disabled" })
758
+ decorators_js.property({ type: Boolean, attribute: "is-disabled" })
756
759
  ], exports.LuksoSearch.prototype, "isDisabled", 2);
757
760
  __decorateClass([
758
- property.n({ type: Boolean })
761
+ decorators_js.property({ type: Boolean })
759
762
  ], exports.LuksoSearch.prototype, "autofocus", 2);
760
763
  __decorateClass([
761
- property.n({ type: Boolean })
764
+ decorators_js.property({ type: Boolean })
762
765
  ], exports.LuksoSearch.prototype, "borderless", 2);
763
766
  __decorateClass([
764
- property.n({ type: String })
767
+ decorators_js.property({ type: String })
765
768
  ], exports.LuksoSearch.prototype, "results", 2);
766
769
  __decorateClass([
767
- property.n({ type: String, attribute: "right-icon" })
770
+ decorators_js.property({ type: String, attribute: "right-icon" })
768
771
  ], exports.LuksoSearch.prototype, "rightIcon", 2);
769
772
  __decorateClass([
770
- property.n({ type: Number })
773
+ decorators_js.property({ type: Number })
771
774
  ], exports.LuksoSearch.prototype, "debounce", 2);
772
775
  __decorateClass([
773
- property.n({ type: Boolean, attribute: "is-searching" })
776
+ decorators_js.property({ type: Boolean, attribute: "is-searching" })
774
777
  ], exports.LuksoSearch.prototype, "isSearching", 2);
775
778
  __decorateClass([
776
- property.n({ type: String, attribute: "no-results-text" })
779
+ decorators_js.property({ type: String, attribute: "no-results-text" })
777
780
  ], exports.LuksoSearch.prototype, "noResultsText", 2);
778
781
  __decorateClass([
779
- property.n({ type: Boolean, attribute: "show-no-results" })
782
+ decorators_js.property({ type: Boolean, attribute: "show-no-results" })
780
783
  ], exports.LuksoSearch.prototype, "showNoResults", 2);
781
784
  __decorateClass([
782
- property.n({ type: Boolean, attribute: "hide-loading" })
785
+ decorators_js.property({ type: Boolean, attribute: "hide-loading" })
783
786
  ], exports.LuksoSearch.prototype, "hideLoading", 2);
784
787
  __decorateClass([
785
- property.n({ type: Boolean, attribute: "has-reset" })
788
+ decorators_js.property({ type: Boolean, attribute: "has-reset" })
786
789
  ], exports.LuksoSearch.prototype, "hasReset", 2);
787
790
  __decorateClass([
788
- property.n({ type: Boolean, attribute: "keep-value-on-escape-hit" })
791
+ decorators_js.property({ type: Boolean, attribute: "keep-value-on-escape-hit" })
789
792
  ], exports.LuksoSearch.prototype, "keepValueOnEscapeHit", 2);
790
793
  __decorateClass([
791
- property.n({ type: Number })
794
+ decorators_js.property({ type: Number })
792
795
  ], exports.LuksoSearch.prototype, "selected", 2);
793
796
  __decorateClass([
794
- property.n({ type: String })
797
+ decorators_js.property({ type: String })
795
798
  ], exports.LuksoSearch.prototype, "size", 2);
796
799
  __decorateClass([
797
- property.n({ type: Number, attribute: "max-height" })
800
+ decorators_js.property({ type: Number, attribute: "max-height" })
798
801
  ], exports.LuksoSearch.prototype, "maxHeight", 2);
799
802
  __decorateClass([
800
- property.n({ type: Boolean, attribute: "with-group-labels" })
803
+ decorators_js.property({ type: Boolean, attribute: "with-group-labels" })
801
804
  ], exports.LuksoSearch.prototype, "withGroupLabels", 2);
802
805
  __decorateClass([
803
- state.r()
806
+ decorators_js.state()
804
807
  ], exports.LuksoSearch.prototype, "isDebouncing", 2);
805
808
  __decorateClass([
806
- state.r()
809
+ decorators_js.state()
807
810
  ], exports.LuksoSearch.prototype, "debounceTimer", 2);
808
811
  __decorateClass([
809
- state.r()
812
+ decorators_js.state()
810
813
  ], exports.LuksoSearch.prototype, "resultsParsed", 2);
811
814
  exports.LuksoSearch = __decorateClass([
812
815
  safeCustomElement.safeCustomElement("lukso-search")
@@ -1,9 +1,10 @@
1
1
  'use strict';
2
2
 
3
- const shared_tailwindElement_index = require('./index-BxQ_0s_1.js');
4
- const property = require('./property-D6IL6zax.js');
5
- const unsafeHtml = require('./unsafe-html-DiwkOQlV.js');
3
+ const lit = require('lit');
4
+ const decorators_js = require('lit/decorators.js');
5
+ const unsafeHtml_js = require('lit/directives/unsafe-html.js');
6
6
  const safeCustomElement = require('./safe-custom-element-tQ-epw6h.js');
7
+ const shared_tailwindElement_index = require('../shared/tailwind-element/index.cjs');
7
8
 
8
9
  /*! @license DOMPurify 3.2.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.7/LICENSE */
9
10
 
@@ -1388,19 +1389,19 @@ exports.LuksoSanitize = class LuksoSanitize extends shared_tailwindElement_index
1388
1389
  // in order to show HTML we need to use unsafeHTML directive.
1389
1390
  // This is safe since we already sanitized content
1390
1391
  render() {
1391
- return this.isPre ? shared_tailwindElement_index.x`<!-- prettier-ignore -->
1392
+ return this.isPre ? lit.html`<!-- prettier-ignore -->
1392
1393
  <div
1393
- class='whitespace-pre-wrap'>${unsafeHtml.o(this.sanitize())}</div>` : shared_tailwindElement_index.x`${unsafeHtml.o(this.sanitize())}`;
1394
+ class='whitespace-pre-wrap'>${unsafeHtml_js.unsafeHTML(this.sanitize())}</div>` : lit.html`${unsafeHtml_js.unsafeHTML(this.sanitize())}`;
1394
1395
  }
1395
1396
  };
1396
1397
  __decorateClass([
1397
- property.n({ type: String, attribute: "html-content" })
1398
+ decorators_js.property({ type: String, attribute: "html-content" })
1398
1399
  ], exports.LuksoSanitize.prototype, "htmlContent", 2);
1399
1400
  __decorateClass([
1400
- property.n({ type: Boolean, attribute: "is-pre" })
1401
+ decorators_js.property({ type: Boolean, attribute: "is-pre" })
1401
1402
  ], exports.LuksoSanitize.prototype, "isPre", 2);
1402
1403
  __decorateClass([
1403
- property.n({ type: Boolean, attribute: "strip-html-tags" })
1404
+ decorators_js.property({ type: Boolean, attribute: "strip-html-tags" })
1404
1405
  ], exports.LuksoSanitize.prototype, "stripHtmlTags", 2);
1405
1406
  exports.LuksoSanitize = __decorateClass([
1406
1407
  safeCustomElement.safeCustomElement("lukso-sanitize")
@@ -1,12 +1,11 @@
1
1
  'use strict';
2
2
 
3
- const shared_tailwindElement_index = require('./index-BxQ_0s_1.js');
4
- const directive = require('./directive-DT5Y-Nw0.js');
3
+ const directive = require('./directive-CY66atYi.js');
5
4
 
6
5
  /**
7
6
  * @license
8
7
  * Copyright 2018 Google LLC
9
8
  * SPDX-License-Identifier: BSD-3-Clause
10
- */const n="important",i=" !"+n,o=directive.e(class extends directive.i{constructor(t){if(super(t),t.type!==directive.t.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const s=t[r];return null==s?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(e,[r]){const{style:s}=e.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(r)),this.render(r);for(const t of this.ft)null==r[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in r){const e=r[t];if(null!=e){this.ft.add(t);const r="string"==typeof e&&e.endsWith(i);t.includes("-")||r?s.setProperty(t,r?e.slice(0,-11):e,r?n:""):s[t]=e;}}return shared_tailwindElement_index.T}});
9
+ */const n="important",i=" !"+n,o=directive.e(class extends directive.i{constructor(t){if(super(t),t.type!==directive.t.ATTRIBUTE||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,r)=>{const s=t[r];return null==s?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`}),"")}update(e,[r]){const{style:s}=e.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(r)),this.render(r);for(const t of this.ft)null==r[t]&&(this.ft.delete(t),t.includes("-")?s.removeProperty(t):s[t]=null);for(const t in r){const e=r[t];if(null!=e){this.ft.add(t);const r="string"==typeof e&&e.endsWith(i);t.includes("-")||r?s.setProperty(t,r?e.slice(0,-11):e,r?n:""):s[t]=e;}}return directive.T}});
11
10
 
12
11
  exports.o = o;
@@ -1,5 +1,4 @@
1
- import { a as T } from './index-5X9ujrWL.js';
2
- import { e, i as i$1, t } from './directive-BKuZRRPO.js';
1
+ import { e, i as i$1, t, T } from './directive-DUHAbymA.js';
3
2
 
4
3
  /**
5
4
  * @license
@@ -22,13 +22,13 @@ const components_luksoMarkdownEditor_index = require('./lukso-markdown-editor/in
22
22
  const components_luksoModal_index = require('./lukso-modal/index.cjs');
23
23
  const components_luksoNavbar_index = require('./lukso-navbar/index.cjs');
24
24
  const components_luksoPagination_index = require('./lukso-pagination/index.cjs');
25
- const components_luksoProfile_index = require('../chunks/index-BAf8Hzhe.js');
25
+ const components_luksoProfile_index = require('./lukso-profile/index.cjs');
26
26
  const components_luksoProgress_index = require('./lukso-progress/index.cjs');
27
27
  const components_luksoQrCode_index = require('./lukso-qr-code/index.cjs');
28
28
  const components_luksoRadio_index = require('./lukso-radio/index.cjs');
29
29
  const components_luksoRadioGroup_index = require('./lukso-radio-group/index.cjs');
30
- const components_luksoSanitize_index = require('../chunks/index-BHAtoIlu.js');
31
- const components_luksoSearch_index = require('../chunks/index-D_5wz2k1.js');
30
+ const components_luksoSanitize_index = require('../chunks/index-cakeic-M.js');
31
+ const components_luksoSearch_index = require('../chunks/index-UVrFZqIM.js');
32
32
  const components_luksoSelect_index = require('./lukso-select/index.cjs');
33
33
  const components_luksoShare_index = require('./lukso-share/index.cjs');
34
34
  const components_luksoSwitch_index = require('./lukso-switch/index.cjs');
@@ -36,9 +36,8 @@ const components_luksoTag_index = require('./lukso-tag/index.cjs');
36
36
  const components_luksoTerms_index = require('./lukso-terms/index.cjs');
37
37
  const components_luksoTextarea_index = require('./lukso-textarea/index.cjs');
38
38
  const components_luksoTooltip_index = require('./lukso-tooltip/index.cjs');
39
- const components_luksoUsername_index = require('../chunks/index-glHBylgQ.js');
39
+ const components_luksoUsername_index = require('../chunks/index-Cy2_2lFt.js');
40
40
  const components_luksoWizard_index = require('./lukso-wizard/index.cjs');
41
- require('../chunks/axe-MHuN9KU0.js');
42
41
 
43
42
 
44
43
 
@@ -18,13 +18,13 @@ export { LuksoMarkdownEditor } from './lukso-markdown-editor/index.js';
18
18
  export { LuksoModal } from './lukso-modal/index.js';
19
19
  export { LuksoNavbar } from './lukso-navbar/index.js';
20
20
  export { LuksoPagination } from './lukso-pagination/index.js';
21
- export { L as LuksoProfile } from '../chunks/index-BDyLu6M0.js';
21
+ export { LuksoProfile } from './lukso-profile/index.js';
22
22
  export { LuksoProgress } from './lukso-progress/index.js';
23
23
  export { LuksoQrCode } from './lukso-qr-code/index.js';
24
24
  export { LuksoRadio } from './lukso-radio/index.js';
25
25
  export { LuksoRadioGroup } from './lukso-radio-group/index.js';
26
- export { D as DEFAULT_OPTIONS, L as LuksoSanitize, N as NO_HTML_TAGS_OPTIONS } from '../chunks/index-B_H2eYG_.js';
27
- export { L as LuksoSearch } from '../chunks/index-Dn2DJhID.js';
26
+ export { D as DEFAULT_OPTIONS, L as LuksoSanitize, N as NO_HTML_TAGS_OPTIONS } from '../chunks/index-CA6SrfZ-.js';
27
+ export { L as LuksoSearch } from '../chunks/index-Ds-r8fCt.js';
28
28
  export { LuksoSelect } from './lukso-select/index.js';
29
29
  export { LuksoShare } from './lukso-share/index.js';
30
30
  export { LuksoSwitch } from './lukso-switch/index.js';
@@ -32,6 +32,5 @@ export { LuksoTag } from './lukso-tag/index.js';
32
32
  export { LuksoTerms } from './lukso-terms/index.js';
33
33
  export { LuksoTextarea } from './lukso-textarea/index.js';
34
34
  export { LuksoTooltip } from './lukso-tooltip/index.js';
35
- export { L as LuksoUsername } from '../chunks/index-BBFSnMaE.js';
35
+ export { L as LuksoUsername } from '../chunks/index-BNt_JinF.js';
36
36
  export { LuksoWizard } from './lukso-wizard/index.js';
37
- import '../chunks/axe-DJKac19y.js';
@@ -2,12 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
4
 
5
- const shared_tailwindElement_index = require('../../chunks/index-BxQ_0s_1.js');
6
- const property = require('../../chunks/property-D6IL6zax.js');
7
- const index = require('../../chunks/index-CaJky2qL.js');
5
+ const lit = require('lit');
6
+ const decorators_js = require('lit/decorators.js');
7
+ const tailwindVariants = require('tailwind-variants');
8
8
  const safeCustomElement = require('../../chunks/safe-custom-element-tQ-epw6h.js');
9
+ const shared_tailwindElement_index = require('../../shared/tailwind-element/index.cjs');
9
10
  require('../lukso-icon/index.cjs');
10
- require('../../chunks/index-BHAtoIlu.js');
11
+ require('../../chunks/index-cakeic-M.js');
11
12
 
12
13
  const style = ":host {\n display: flex\n}";
13
14
 
@@ -28,7 +29,7 @@ exports.LuksoAlert = class LuksoAlert extends shared_tailwindElement_index.Tailw
28
29
  this.hasIcon = false;
29
30
  this.title = "";
30
31
  this.description = "";
31
- this.styles = index.ce({
32
+ this.styles = tailwindVariants.tv({
32
33
  base: "rounded-8 p-4 flex gap-3 items-center",
33
34
  variants: {
34
35
  variant: {
@@ -56,35 +57,35 @@ exports.LuksoAlert = class LuksoAlert extends shared_tailwindElement_index.Tailw
56
57
  const styles = this.styles({
57
58
  variant: this.variant
58
59
  });
59
- return shared_tailwindElement_index.x`
60
+ return lit.html`
60
61
  <div class=${styles}>
61
- ${this.hasIcon ? shared_tailwindElement_index.x`<lukso-icon
62
+ ${this.hasIcon ? lit.html`<lukso-icon
62
63
  pack="vuesax"
63
64
  name="${this.icon.name}"
64
65
  color="${this.icon.color}"
65
- ></lukso-icon>` : shared_tailwindElement_index.E}
66
+ ></lukso-icon>` : lit.nothing}
66
67
  <div class="flex flex-col gap-1">
67
- ${this.title ? shared_tailwindElement_index.x`<div class="heading-inter-14-bold">${this.title}</div>` : shared_tailwindElement_index.E}
68
- ${this.description ? shared_tailwindElement_index.x`<lukso-sanitize
68
+ ${this.title ? lit.html`<div class="heading-inter-14-bold">${this.title}</div>` : lit.nothing}
69
+ ${this.description ? lit.html`<lukso-sanitize
69
70
  class="paragraph-inter-12-regular"
70
71
  html-content="${this.description}"
71
- ></lukso-sanitize>` : shared_tailwindElement_index.E}
72
+ ></lukso-sanitize>` : lit.nothing}
72
73
  </div>
73
74
  </div>
74
75
  `;
75
76
  }
76
77
  };
77
78
  __decorateClass([
78
- property.n({ type: String })
79
+ decorators_js.property({ type: String })
79
80
  ], exports.LuksoAlert.prototype, "variant", 2);
80
81
  __decorateClass([
81
- property.n({ type: Boolean, attribute: "has-icon", reflect: true })
82
+ decorators_js.property({ type: Boolean, attribute: "has-icon", reflect: true })
82
83
  ], exports.LuksoAlert.prototype, "hasIcon", 2);
83
84
  __decorateClass([
84
- property.n({ type: String })
85
+ decorators_js.property({ type: String })
85
86
  ], exports.LuksoAlert.prototype, "title", 2);
86
87
  __decorateClass([
87
- property.n({ type: String })
88
+ decorators_js.property({ type: String })
88
89
  ], exports.LuksoAlert.prototype, "description", 2);
89
90
  exports.LuksoAlert = __decorateClass([
90
91
  safeCustomElement.safeCustomElement("lukso-alert")