@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,18 +1,21 @@
1
- import { m as makeBlockie } from './index-BDyLu6M0.js';
2
- import { b as TailwindStyledElement, x, E } from './index-5X9ujrWL.js';
3
- import { n } from './property-DfumgIL6.js';
4
- import { r } from './state-CaelFSbE.js';
5
- import { c as ce } from './index-B9iart53.js';
1
+ import makeBlockie from 'ethereum-blockies-base64';
2
+ import { html, nothing } from 'lit';
3
+ import { property, state } from 'lit/decorators.js';
4
+ import { tv } from 'tailwind-variants';
6
5
  import { s as safeCustomElement } from './safe-custom-element-qdGIR_v6.js';
7
6
  import '../components/lukso-dropdown/index.js';
8
7
  import '../components/lukso-dropdown-option/index.js';
9
8
  import '../components/lukso-icon/index.js';
10
9
  import '../components/lukso-input/index.js';
10
+ import '../components/lukso-profile/index.js';
11
11
  import '../components/lukso-tag/index.js';
12
- import { s as sliceAddress } from './index-BBFSnMaE.js';
12
+ import { s as sliceAddress } from './index-BNt_JinF.js';
13
13
  import '../components/lukso-tooltip/index.js';
14
+ import { TailwindStyledElement } from '../shared/tailwind-element/index.js';
14
15
  import '../tailwind-config.js';
15
- import './axe-DJKac19y.js';
16
+ import './cn-LM_JlZIN.js';
17
+ import 'viem';
18
+ import 'axe-core';
16
19
  import { u as uniqId } from './uniq-id-CGUN-pJV.js';
17
20
 
18
21
  const style = ":host {\n\n display: inline-flex\n}\n\n:host([is-full-width]) {\n\n display: flex;\n\n width: 100%\n}";
@@ -87,7 +90,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
87
90
  this.withGroupLabels = false;
88
91
  this.isDebouncing = false;
89
92
  this.resultsParsed = [];
90
- this.styles = ce({
93
+ this.styles = tv({
91
94
  slots: {
92
95
  loading: "bg-neutral-95 w-full animate-pulse animation-delay-none"
93
96
  },
@@ -195,7 +198,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
195
198
  break;
196
199
  }
197
200
  resultTemplates.push(
198
- x`<div
201
+ html`<div
199
202
  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"
200
203
  >
201
204
  ${headerText}
@@ -232,22 +235,22 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
232
235
  break;
233
236
  }
234
237
  }
235
- return x`<lukso-dropdown
238
+ return html`<lukso-dropdown
236
239
  size=${this.dropdownSize[this.size]}
237
240
  is-open=${this.resultsParsed.length > 0}
238
241
  is-open-on-outside-click
239
242
  is-full-width
240
- max-height=${this.maxHeight || E}
243
+ max-height=${this.maxHeight || nothing}
241
244
  >${resultTemplates}</lukso-dropdown
242
245
  >`;
243
246
  }
244
247
  noResultsTemplate() {
245
- return x`<lukso-dropdown
248
+ return html`<lukso-dropdown
246
249
  size=${this.dropdownSize[this.size]}
247
250
  is-open
248
251
  is-open-on-outside-click
249
252
  is-full-width
250
- >${x`<div class="paragraph-inter-14-semi-bold text-neutral-20 pl-1">
253
+ >${html`<div class="paragraph-inter-14-semi-bold text-neutral-20 pl-1">
251
254
  ${this.noResultsText}
252
255
  </div>`}</lukso-dropdown
253
256
  >`;
@@ -257,12 +260,12 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
257
260
  size: this.size
258
261
  });
259
262
  if (this.showNoResults) {
260
- return x`<lukso-dropdown
263
+ return html`<lukso-dropdown
261
264
  size=${this.dropdownSize[this.size]}
262
265
  is-open
263
266
  is-open-on-outside-click
264
267
  is-full-width
265
- >${x`
268
+ >${html`
266
269
  <div role="status" class="flex flex-col gap-1">
267
270
  <div class=${loading()}></div>
268
271
  </div>
@@ -270,33 +273,33 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
270
273
  >`;
271
274
  }
272
275
  if (this.resultsParsed.length === 0 || this.resultsParsed.length > 5) {
273
- return x`<lukso-dropdown
276
+ return html`<lukso-dropdown
274
277
  size=${this.dropdownSize[this.size]}
275
278
  is-open
276
279
  is-open-on-outside-click
277
280
  is-full-width
278
- >${x`
281
+ >${html`
279
282
  <div role="status" class="flex flex-col gap-1">
280
- ${[...Array(5)].map(() => x`<div class=${loading()}></div>`)}
283
+ ${[...Array(5)].map(() => html`<div class=${loading()}></div>`)}
281
284
  </div>
282
285
  `}</lukso-dropdown
283
286
  >`;
284
287
  }
285
- return x`<lukso-dropdown
288
+ return html`<lukso-dropdown
286
289
  size=${this.dropdownSize[this.size]}
287
290
  is-open
288
291
  is-open-on-outside-click
289
292
  is-full-width
290
- >${x`
293
+ >${html`
291
294
  <div role="status" class="flex flex-col gap-1">
292
- ${this.resultsParsed.map(() => x`<div class=${loading()}></div>`)}
295
+ ${this.resultsParsed.map(() => html`<div class=${loading()}></div>`)}
293
296
  </div>
294
297
  `}</lukso-dropdown
295
298
  >`;
296
299
  }
297
300
  resultStringTemplate(result, index) {
298
301
  const dropdownSize = this.size === "large" || this.size === "x-large" ? "medium" : this.size;
299
- return x`<lukso-dropdown-option
302
+ return html`<lukso-dropdown-option
300
303
  data-id="${result.id}"
301
304
  data-index="${index + 1}"
302
305
  ?is-selected=${this.selected === index + 1}
@@ -307,13 +310,13 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
307
310
  </lukso-dropdown-option>`;
308
311
  }
309
312
  resultUniversalNameTemplate(result, index) {
310
- const tag = x`<lukso-tag
313
+ const tag = html`<lukso-tag
311
314
  is-rounded
312
315
  background-color="${result.status ? "green-95" : "neutral-95"}"
313
316
  text-color="${result.status ? "green-45" : "neutral-60"}"
314
317
  >${!!result.status ? this.availableText : this.unavailableText}</lukso-tag
315
318
  >`;
316
- return x`<lukso-dropdown-option
319
+ return html`<lukso-dropdown-option
317
320
  data-id="${result.id}"
318
321
  data-index="${index + 1}"
319
322
  ?is-selected=${this.selected === index + 1}
@@ -327,12 +330,12 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
327
330
  </lukso-dropdown-option>`;
328
331
  }
329
332
  resultProfileTemplate(result, index) {
330
- const eoaProfilePicture = x`<lukso-profile
333
+ const eoaProfilePicture = html`<lukso-profile
331
334
  profile-address="${result.address}"
332
335
  profile-url="${result.address ? makeBlockie(result.address) : ""}"
333
336
  size=${this.profileSize[this.size]}
334
337
  ></lukso-profile>`;
335
- const lsp3ProfilePicture = x`<lukso-profile
338
+ const lsp3ProfilePicture = html`<lukso-profile
336
339
  profile-address="${result.address}"
337
340
  profile-url="${result.image}"
338
341
  size=${this.profileSize[this.size]}
@@ -340,7 +343,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
340
343
  ></lukso-profile>`;
341
344
  const standard = result.standard || STANDARDS.LSP3;
342
345
  const profilePicture = standard !== STANDARDS.LSP3 ? eoaProfilePicture : lsp3ProfilePicture;
343
- const upProfileUsername = x`<lukso-username
346
+ const upProfileUsername = html`<lukso-username
344
347
  name="${result.name?.toLowerCase() || "anonymous-profile"}"
345
348
  address="${result.address}"
346
349
  name-color="neutral-20"
@@ -349,7 +352,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
349
352
  ?hide-prefix="${!result.name}"
350
353
  class="ml-1"
351
354
  ></lukso-username>`;
352
- const eoaUsername = x`<lukso-username
355
+ const eoaUsername = html`<lukso-username
353
356
  name="${sliceAddress(result.address, 8)}"
354
357
  address="__EOA"
355
358
  name-color="neutral-20"
@@ -358,7 +361,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
358
361
  hide-prefix
359
362
  class="ml-1"
360
363
  ></lukso-username>`;
361
- const scUsername = x`<lukso-username
364
+ const scUsername = html`<lukso-username
362
365
  name="${sliceAddress(result.address, 8)}"
363
366
  address=""
364
367
  name-color="neutral-20"
@@ -373,7 +376,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
373
376
  } else if (standard === STANDARDS.LSP3) {
374
377
  profileName = upProfileUsername;
375
378
  }
376
- return x`<lukso-dropdown-option
379
+ return html`<lukso-dropdown-option
377
380
  data-id="${result.address}"
378
381
  data-index="${index + 1}"
379
382
  ?is-selected=${this.selected === index + 1}
@@ -384,7 +387,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
384
387
  </lukso-dropdown-option>`;
385
388
  }
386
389
  resultAssetTemplate(result, index) {
387
- return x`<lukso-dropdown-option
390
+ return html`<lukso-dropdown-option
388
391
  data-id="${result.address}"
389
392
  data-index="${index + 1}"
390
393
  ?is-selected=${this.selected === index + 1}
@@ -407,7 +410,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
407
410
  </lukso-dropdown-option>`;
408
411
  }
409
412
  resultAppTemplate(result, index) {
410
- return x`<lukso-dropdown-option
413
+ return html`<lukso-dropdown-option
411
414
  data-id="${result.address}"
412
415
  data-index="${index + 1}"
413
416
  ?is-selected=${this.selected === index + 1}
@@ -429,7 +432,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
429
432
  for (const recentSearch of result.value) {
430
433
  switch (recentSearch.type) {
431
434
  case SEARCH_RESULT_TYPES.PROFILE: {
432
- const eoaProfilePicture = x`<lukso-tooltip
435
+ const eoaProfilePicture = html`<lukso-tooltip
433
436
  show-delay="2000"
434
437
  class="flex"
435
438
  >
@@ -452,7 +455,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
452
455
  @click=${() => this.handleSelect(recentSearch)}
453
456
  ></lukso-profile
454
457
  ></lukso-tooltip>`;
455
- const lsp3ProfilePicture = x`<lukso-tooltip
458
+ const lsp3ProfilePicture = html`<lukso-tooltip
456
459
  show-delay="2000"
457
460
  class="flex"
458
461
  >
@@ -482,7 +485,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
482
485
  break;
483
486
  }
484
487
  case SEARCH_RESULT_TYPES.ASSET: {
485
- const asset = x`<lukso-tooltip show-delay="2000" class="flex">
488
+ const asset = html`<lukso-tooltip show-delay="2000" class="flex">
486
489
  <div slot="text">
487
490
  <span class="font-600"
488
491
  >${recentSearch.name}
@@ -504,7 +507,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
504
507
  break;
505
508
  }
506
509
  case SEARCH_RESULT_TYPES.APP: {
507
- const app = x`<lukso-tooltip show-delay="2000" class="flex">
510
+ const app = html`<lukso-tooltip show-delay="2000" class="flex">
508
511
  <div slot="text">
509
512
  <span class="font-600">${recentSearch.name}</span>
510
513
  </div>
@@ -521,7 +524,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
521
524
  }
522
525
  }
523
526
  }
524
- return x`<div class="flex gap-4 mx-3 my-2">
527
+ return html`<div class="flex gap-4 mx-3 my-2">
525
528
  ${recentSearchTemplates}
526
529
  </div>`;
527
530
  }
@@ -669,7 +672,7 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
669
672
  this.searchDebounce(target.value);
670
673
  }
671
674
  render() {
672
- return x`
675
+ return html`
673
676
  <div class="relative w-full">
674
677
  <lukso-input
675
678
  name=${this.name}
@@ -698,113 +701,113 @@ let LuksoSearch = class extends TailwindStyledElement(style) {
698
701
  @on-key-up=${this.handleKeyUp}
699
702
  ></lukso-input>
700
703
  <!-- results dropdown -->
701
- ${this.results && !(this.isSearching || this.isDebouncing) ? this.resultsTemplate() : E}
704
+ ${this.results && !(this.isSearching || this.isDebouncing) ? this.resultsTemplate() : nothing}
702
705
  <!-- no results dropdown -->
703
- ${this.showNoResults && !(this.isSearching || this.isDebouncing) ? this.noResultsTemplate() : E}
706
+ ${this.showNoResults && !(this.isSearching || this.isDebouncing) ? this.noResultsTemplate() : nothing}
704
707
  <!-- loading dropdown -->
705
- ${!this.hideLoading && this.value && (this.isSearching || this.isDebouncing) ? this.loadingTemplate() : E}
708
+ ${!this.hideLoading && this.value && (this.isSearching || this.isDebouncing) ? this.loadingTemplate() : nothing}
706
709
  </div>
707
710
  `;
708
711
  }
709
712
  };
710
713
  __decorateClass([
711
- n({ type: String })
714
+ property({ type: String })
712
715
  ], LuksoSearch.prototype, "value", 2);
713
716
  __decorateClass([
714
- n({ type: String })
717
+ property({ type: String })
715
718
  ], LuksoSearch.prototype, "name", 2);
716
719
  __decorateClass([
717
- n({ type: String })
720
+ property({ type: String })
718
721
  ], LuksoSearch.prototype, "placeholder", 2);
719
722
  __decorateClass([
720
- n({ type: String })
723
+ property({ type: String })
721
724
  ], LuksoSearch.prototype, "label", 2);
722
725
  __decorateClass([
723
- n({ type: String, attribute: "group-labels" })
726
+ property({ type: String, attribute: "group-labels" })
724
727
  ], LuksoSearch.prototype, "groupLabels", 2);
725
728
  __decorateClass([
726
- n({ type: String, attribute: "available-text" })
729
+ property({ type: String, attribute: "available-text" })
727
730
  ], LuksoSearch.prototype, "availableText", 2);
728
731
  __decorateClass([
729
- n({ type: String, attribute: "unavailable-text" })
732
+ property({ type: String, attribute: "unavailable-text" })
730
733
  ], LuksoSearch.prototype, "unavailableText", 2);
731
734
  __decorateClass([
732
- n({ type: String })
735
+ property({ type: String })
733
736
  ], LuksoSearch.prototype, "autocomplete", 2);
734
737
  __decorateClass([
735
- n({ type: String })
738
+ property({ type: String })
736
739
  ], LuksoSearch.prototype, "id", 2);
737
740
  __decorateClass([
738
- n({ type: String })
741
+ property({ type: String })
739
742
  ], LuksoSearch.prototype, "description", 2);
740
743
  __decorateClass([
741
- n({ type: String })
744
+ property({ type: String })
742
745
  ], LuksoSearch.prototype, "error", 2);
743
746
  __decorateClass([
744
- n({ type: String, attribute: "custom-class" })
747
+ property({ type: String, attribute: "custom-class" })
745
748
  ], LuksoSearch.prototype, "customClass", 2);
746
749
  __decorateClass([
747
- n({ type: Boolean, attribute: "is-full-width" })
750
+ property({ type: Boolean, attribute: "is-full-width" })
748
751
  ], LuksoSearch.prototype, "isFullWidth", 2);
749
752
  __decorateClass([
750
- n({ type: Boolean, attribute: "is-readonly" })
753
+ property({ type: Boolean, attribute: "is-readonly" })
751
754
  ], LuksoSearch.prototype, "isReadonly", 2);
752
755
  __decorateClass([
753
- n({ type: Boolean, attribute: "is-disabled" })
756
+ property({ type: Boolean, attribute: "is-disabled" })
754
757
  ], LuksoSearch.prototype, "isDisabled", 2);
755
758
  __decorateClass([
756
- n({ type: Boolean })
759
+ property({ type: Boolean })
757
760
  ], LuksoSearch.prototype, "autofocus", 2);
758
761
  __decorateClass([
759
- n({ type: Boolean })
762
+ property({ type: Boolean })
760
763
  ], LuksoSearch.prototype, "borderless", 2);
761
764
  __decorateClass([
762
- n({ type: String })
765
+ property({ type: String })
763
766
  ], LuksoSearch.prototype, "results", 2);
764
767
  __decorateClass([
765
- n({ type: String, attribute: "right-icon" })
768
+ property({ type: String, attribute: "right-icon" })
766
769
  ], LuksoSearch.prototype, "rightIcon", 2);
767
770
  __decorateClass([
768
- n({ type: Number })
771
+ property({ type: Number })
769
772
  ], LuksoSearch.prototype, "debounce", 2);
770
773
  __decorateClass([
771
- n({ type: Boolean, attribute: "is-searching" })
774
+ property({ type: Boolean, attribute: "is-searching" })
772
775
  ], LuksoSearch.prototype, "isSearching", 2);
773
776
  __decorateClass([
774
- n({ type: String, attribute: "no-results-text" })
777
+ property({ type: String, attribute: "no-results-text" })
775
778
  ], LuksoSearch.prototype, "noResultsText", 2);
776
779
  __decorateClass([
777
- n({ type: Boolean, attribute: "show-no-results" })
780
+ property({ type: Boolean, attribute: "show-no-results" })
778
781
  ], LuksoSearch.prototype, "showNoResults", 2);
779
782
  __decorateClass([
780
- n({ type: Boolean, attribute: "hide-loading" })
783
+ property({ type: Boolean, attribute: "hide-loading" })
781
784
  ], LuksoSearch.prototype, "hideLoading", 2);
782
785
  __decorateClass([
783
- n({ type: Boolean, attribute: "has-reset" })
786
+ property({ type: Boolean, attribute: "has-reset" })
784
787
  ], LuksoSearch.prototype, "hasReset", 2);
785
788
  __decorateClass([
786
- n({ type: Boolean, attribute: "keep-value-on-escape-hit" })
789
+ property({ type: Boolean, attribute: "keep-value-on-escape-hit" })
787
790
  ], LuksoSearch.prototype, "keepValueOnEscapeHit", 2);
788
791
  __decorateClass([
789
- n({ type: Number })
792
+ property({ type: Number })
790
793
  ], LuksoSearch.prototype, "selected", 2);
791
794
  __decorateClass([
792
- n({ type: String })
795
+ property({ type: String })
793
796
  ], LuksoSearch.prototype, "size", 2);
794
797
  __decorateClass([
795
- n({ type: Number, attribute: "max-height" })
798
+ property({ type: Number, attribute: "max-height" })
796
799
  ], LuksoSearch.prototype, "maxHeight", 2);
797
800
  __decorateClass([
798
- n({ type: Boolean, attribute: "with-group-labels" })
801
+ property({ type: Boolean, attribute: "with-group-labels" })
799
802
  ], LuksoSearch.prototype, "withGroupLabels", 2);
800
803
  __decorateClass([
801
- r()
804
+ state()
802
805
  ], LuksoSearch.prototype, "isDebouncing", 2);
803
806
  __decorateClass([
804
- r()
807
+ state()
805
808
  ], LuksoSearch.prototype, "debounceTimer", 2);
806
809
  __decorateClass([
807
- r()
810
+ state()
808
811
  ], LuksoSearch.prototype, "resultsParsed", 2);
809
812
  LuksoSearch = __decorateClass([
810
813
  safeCustomElement("lukso-search")
@@ -1,7 +1,6 @@
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
  class CustomStyleMapDirective extends directive.i {
7
6
  constructor(partInfo) {
@@ -15,7 +14,7 @@ class CustomStyleMapDirective extends directive.i {
15
14
  render(styleInfoList) {
16
15
  const styles = Object.keys(styleInfoList).filter((key) => styleInfoList[key]);
17
16
  if (styles.length === 0) {
18
- return shared_tailwindElement_index.E;
17
+ return directive.E;
19
18
  }
20
19
  return ` ${styles.join("; ")} `;
21
20
  }