@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,13 +1,15 @@
1
- import { b as TailwindStyledElement, E, x } from '../../chunks/index-5X9ujrWL.js';
2
- import { n } from '../../chunks/property-DfumgIL6.js';
3
- import { r } from '../../chunks/state-CaelFSbE.js';
4
- import { c as ce } from '../../chunks/index-B9iart53.js';
5
- import { o } from '../../chunks/style-map-BPljJihp.js';
1
+ import { nothing, html } from 'lit';
2
+ import { property, state } from 'lit/decorators.js';
3
+ import { tv } from 'tailwind-variants';
4
+ import { o } from '../../chunks/style-map-auscxO0L.js';
6
5
  import { s as safeCustomElement } from '../../chunks/safe-custom-element-qdGIR_v6.js';
6
+ import { TailwindStyledElement } from '../../shared/tailwind-element/index.js';
7
7
  import '../../tailwind-config.js';
8
- import { c as cn } from '../../chunks/axe-DJKac19y.js';
8
+ import { c as cn } from '../../chunks/cn-LM_JlZIN.js';
9
+ import 'viem';
10
+ import 'axe-core';
9
11
  import '../lukso-icon/index.js';
10
- import '../../chunks/index-B_H2eYG_.js';
12
+ import '../../chunks/index-CA6SrfZ-.js';
11
13
  import '../lukso-form-label/index.js';
12
14
  import '../lukso-form-description/index.js';
13
15
  import '../lukso-form-error/index.js';
@@ -44,7 +46,7 @@ let LuksoColorPicker = class extends TailwindStyledElement(style) {
44
46
  this.size = "medium";
45
47
  this.hasFocus = false;
46
48
  this.hasHighlight = false;
47
- this.styles = ce({
49
+ this.styles = tv({
48
50
  slots: {
49
51
  wrapper: "group grid border overflow-hidden",
50
52
  input: `bg-neutral-100 border-solid placeholder:text-neutral-70 w-full
@@ -152,15 +154,15 @@ let LuksoColorPicker = class extends TailwindStyledElement(style) {
152
154
  }
153
155
  }
154
156
  inputTemplate(styles) {
155
- return x`
157
+ return html`
156
158
  <input
157
159
  .value=${this.value}
158
- name=${this.name ? this.name : E}
160
+ name=${this.name ? this.name : nothing}
159
161
  type="text"
160
- placeholder=${this.placeholder ? this.placeholder : E}
162
+ placeholder=${this.placeholder ? this.placeholder : nothing}
161
163
  ?autofocus=${this.autofocus}
162
164
  autocomplete="off"
163
- id=${this.id ? this.id : E}
165
+ id=${this.id ? this.id : nothing}
164
166
  data-testid=${this.name ? `input-${this.name}` : "input"}
165
167
  ?readonly=${this.isReadonly ? true : void 0}
166
168
  ?disabled=${this.isDisabled ? true : void 0}
@@ -175,7 +177,7 @@ let LuksoColorPicker = class extends TailwindStyledElement(style) {
175
177
  `;
176
178
  }
177
179
  colorPickerTemplate(styles, colorInputStyles) {
178
- return x`<div
180
+ return html`<div
179
181
  class=${styles}
180
182
  style=${o({
181
183
  backgroundColor: `${this.value}`
@@ -276,7 +278,7 @@ let LuksoColorPicker = class extends TailwindStyledElement(style) {
276
278
  isFullWidth: this.isFullWidth,
277
279
  size: this.size
278
280
  });
279
- return x`
281
+ return html`
280
282
  <div class="w-[inherit]">
281
283
  <lukso-form-label
282
284
  for-name=${this.name}
@@ -295,52 +297,52 @@ let LuksoColorPicker = class extends TailwindStyledElement(style) {
295
297
  }
296
298
  };
297
299
  __decorateClass([
298
- n({ type: String })
300
+ property({ type: String })
299
301
  ], LuksoColorPicker.prototype, "value", 2);
300
302
  __decorateClass([
301
- n({ type: String })
303
+ property({ type: String })
302
304
  ], LuksoColorPicker.prototype, "name", 2);
303
305
  __decorateClass([
304
- n({ type: String })
306
+ property({ type: String })
305
307
  ], LuksoColorPicker.prototype, "placeholder", 2);
306
308
  __decorateClass([
307
- n({ type: String })
309
+ property({ type: String })
308
310
  ], LuksoColorPicker.prototype, "label", 2);
309
311
  __decorateClass([
310
- n({ type: String })
312
+ property({ type: String })
311
313
  ], LuksoColorPicker.prototype, "id", 2);
312
314
  __decorateClass([
313
- n({ type: String })
315
+ property({ type: String })
314
316
  ], LuksoColorPicker.prototype, "description", 2);
315
317
  __decorateClass([
316
- n({ type: String })
318
+ property({ type: String })
317
319
  ], LuksoColorPicker.prototype, "error", 2);
318
320
  __decorateClass([
319
- n({ type: String, attribute: "custom-class" })
321
+ property({ type: String, attribute: "custom-class" })
320
322
  ], LuksoColorPicker.prototype, "customClass", 2);
321
323
  __decorateClass([
322
- n({ type: Boolean, attribute: "is-full-width" })
324
+ property({ type: Boolean, attribute: "is-full-width" })
323
325
  ], LuksoColorPicker.prototype, "isFullWidth", 2);
324
326
  __decorateClass([
325
- n({ type: Boolean, attribute: "is-readonly" })
327
+ property({ type: Boolean, attribute: "is-readonly" })
326
328
  ], LuksoColorPicker.prototype, "isReadonly", 2);
327
329
  __decorateClass([
328
- n({ type: Boolean, attribute: "is-disabled" })
330
+ property({ type: Boolean, attribute: "is-disabled" })
329
331
  ], LuksoColorPicker.prototype, "isDisabled", 2);
330
332
  __decorateClass([
331
- n({ type: Boolean })
333
+ property({ type: Boolean })
332
334
  ], LuksoColorPicker.prototype, "autofocus", 2);
333
335
  __decorateClass([
334
- n({ type: Boolean, attribute: "keep-focus-on-escape" })
336
+ property({ type: Boolean, attribute: "keep-focus-on-escape" })
335
337
  ], LuksoColorPicker.prototype, "keepFocusOnEscape", 2);
336
338
  __decorateClass([
337
- n({ type: String })
339
+ property({ type: String })
338
340
  ], LuksoColorPicker.prototype, "size", 2);
339
341
  __decorateClass([
340
- r()
342
+ state()
341
343
  ], LuksoColorPicker.prototype, "hasFocus", 2);
342
344
  __decorateClass([
343
- r()
345
+ state()
344
346
  ], LuksoColorPicker.prototype, "hasHighlight", 2);
345
347
  LuksoColorPicker = __decorateClass([
346
348
  safeCustomElement("lukso-color-picker")
@@ -2,13 +2,14 @@
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
9
  require('../lukso-icon/index.cjs');
10
- require('../../chunks/index-BAf8Hzhe.js');
11
- require('../../chunks/index-glHBylgQ.js');
10
+ require('../lukso-profile/index.cjs');
11
+ require('../../chunks/index-Cy2_2lFt.js');
12
+ const shared_tailwindElement_index = require('../../shared/tailwind-element/index.cjs');
12
13
  const uniqId = require('../../chunks/uniq-id-Cszs24DQ.js');
13
14
 
14
15
  const debounceFunction = (func, timeout = 100) => {
@@ -46,7 +47,7 @@ exports.LuksoDropdown = class LuksoDropdown extends shared_tailwindElement_index
46
47
  this.size = "large";
47
48
  this.trigger = "click";
48
49
  this.maxHeight = void 0;
49
- this.styles = index.ce({
50
+ this.styles = tailwindVariants.tv({
50
51
  slots: {
51
52
  wrapper: "absolute z-50",
52
53
  dropdown: `bg-neutral-100 border border-neutral-90 shadow-1xl
@@ -204,12 +205,12 @@ exports.LuksoDropdown = class LuksoDropdown extends shared_tailwindElement_index
204
205
  hasMaxHeight: this.maxHeight !== void 0
205
206
  });
206
207
  if (!this.isOpen) {
207
- return shared_tailwindElement_index.E;
208
+ return lit.nothing;
208
209
  }
209
- return shared_tailwindElement_index.x`<div id=${this.id} class=${wrapper()}>
210
+ return lit.html`<div id=${this.id} class=${wrapper()}>
210
211
  <div
211
212
  class=${dropdown()}
212
- style=${this.maxHeight ? `max-height: ${this.maxHeight}px;` : shared_tailwindElement_index.E}
213
+ style=${this.maxHeight ? `max-height: ${this.maxHeight}px;` : lit.nothing}
213
214
  >
214
215
  <slot></slot>
215
216
  </div>
@@ -217,34 +218,34 @@ exports.LuksoDropdown = class LuksoDropdown extends shared_tailwindElement_index
217
218
  }
218
219
  };
219
220
  __decorateClass([
220
- property.n({ type: String })
221
+ decorators_js.property({ type: String })
221
222
  ], exports.LuksoDropdown.prototype, "id", 2);
222
223
  __decorateClass([
223
- property.n({ type: String, attribute: "trigger-id" })
224
+ decorators_js.property({ type: String, attribute: "trigger-id" })
224
225
  ], exports.LuksoDropdown.prototype, "triggerId", 2);
225
226
  __decorateClass([
226
- property.n({ type: Boolean, attribute: "is-open", reflect: true })
227
+ decorators_js.property({ type: Boolean, attribute: "is-open", reflect: true })
227
228
  ], exports.LuksoDropdown.prototype, "isOpen", 2);
228
229
  __decorateClass([
229
- property.n({ type: Boolean, attribute: "is-open-on-outside-click" })
230
+ decorators_js.property({ type: Boolean, attribute: "is-open-on-outside-click" })
230
231
  ], exports.LuksoDropdown.prototype, "isOpenOnOutsideClick", 2);
231
232
  __decorateClass([
232
- property.n({ type: Boolean, attribute: "open-top" })
233
+ decorators_js.property({ type: Boolean, attribute: "open-top" })
233
234
  ], exports.LuksoDropdown.prototype, "openTop", 2);
234
235
  __decorateClass([
235
- property.n({ type: Boolean, attribute: "is-right" })
236
+ decorators_js.property({ type: Boolean, attribute: "is-right" })
236
237
  ], exports.LuksoDropdown.prototype, "isRight", 2);
237
238
  __decorateClass([
238
- property.n({ type: Boolean, attribute: "is-full-width" })
239
+ decorators_js.property({ type: Boolean, attribute: "is-full-width" })
239
240
  ], exports.LuksoDropdown.prototype, "isFullWidth", 2);
240
241
  __decorateClass([
241
- property.n({ type: String })
242
+ decorators_js.property({ type: String })
242
243
  ], exports.LuksoDropdown.prototype, "size", 2);
243
244
  __decorateClass([
244
- property.n({ type: String })
245
+ decorators_js.property({ type: String })
245
246
  ], exports.LuksoDropdown.prototype, "trigger", 2);
246
247
  __decorateClass([
247
- property.n({ type: Number, attribute: "max-height", reflect: true })
248
+ decorators_js.property({ type: Number, attribute: "max-height", reflect: true })
248
249
  ], exports.LuksoDropdown.prototype, "maxHeight", 2);
249
250
  exports.LuksoDropdown = __decorateClass([
250
251
  safeCustomElement.safeCustomElement("lukso-dropdown")
@@ -1,10 +1,11 @@
1
- import { b as TailwindStyledElement, E, x } from '../../chunks/index-5X9ujrWL.js';
2
- import { n } from '../../chunks/property-DfumgIL6.js';
3
- import { c as ce } from '../../chunks/index-B9iart53.js';
1
+ import { nothing, html } from 'lit';
2
+ import { property } from 'lit/decorators.js';
3
+ import { tv } from 'tailwind-variants';
4
4
  import { s as safeCustomElement } from '../../chunks/safe-custom-element-qdGIR_v6.js';
5
5
  import '../lukso-icon/index.js';
6
- import '../../chunks/index-BDyLu6M0.js';
7
- import '../../chunks/index-BBFSnMaE.js';
6
+ import '../lukso-profile/index.js';
7
+ import '../../chunks/index-BNt_JinF.js';
8
+ import { TailwindStyledElement } from '../../shared/tailwind-element/index.js';
8
9
  import { u as uniqId } from '../../chunks/uniq-id-CGUN-pJV.js';
9
10
 
10
11
  const debounceFunction = (func, timeout = 100) => {
@@ -42,7 +43,7 @@ let LuksoDropdown = class extends TailwindStyledElement(style) {
42
43
  this.size = "large";
43
44
  this.trigger = "click";
44
45
  this.maxHeight = void 0;
45
- this.styles = ce({
46
+ this.styles = tv({
46
47
  slots: {
47
48
  wrapper: "absolute z-50",
48
49
  dropdown: `bg-neutral-100 border border-neutral-90 shadow-1xl
@@ -200,12 +201,12 @@ let LuksoDropdown = class extends TailwindStyledElement(style) {
200
201
  hasMaxHeight: this.maxHeight !== void 0
201
202
  });
202
203
  if (!this.isOpen) {
203
- return E;
204
+ return nothing;
204
205
  }
205
- return x`<div id=${this.id} class=${wrapper()}>
206
+ return html`<div id=${this.id} class=${wrapper()}>
206
207
  <div
207
208
  class=${dropdown()}
208
- style=${this.maxHeight ? `max-height: ${this.maxHeight}px;` : E}
209
+ style=${this.maxHeight ? `max-height: ${this.maxHeight}px;` : nothing}
209
210
  >
210
211
  <slot></slot>
211
212
  </div>
@@ -213,34 +214,34 @@ let LuksoDropdown = class extends TailwindStyledElement(style) {
213
214
  }
214
215
  };
215
216
  __decorateClass([
216
- n({ type: String })
217
+ property({ type: String })
217
218
  ], LuksoDropdown.prototype, "id", 2);
218
219
  __decorateClass([
219
- n({ type: String, attribute: "trigger-id" })
220
+ property({ type: String, attribute: "trigger-id" })
220
221
  ], LuksoDropdown.prototype, "triggerId", 2);
221
222
  __decorateClass([
222
- n({ type: Boolean, attribute: "is-open", reflect: true })
223
+ property({ type: Boolean, attribute: "is-open", reflect: true })
223
224
  ], LuksoDropdown.prototype, "isOpen", 2);
224
225
  __decorateClass([
225
- n({ type: Boolean, attribute: "is-open-on-outside-click" })
226
+ property({ type: Boolean, attribute: "is-open-on-outside-click" })
226
227
  ], LuksoDropdown.prototype, "isOpenOnOutsideClick", 2);
227
228
  __decorateClass([
228
- n({ type: Boolean, attribute: "open-top" })
229
+ property({ type: Boolean, attribute: "open-top" })
229
230
  ], LuksoDropdown.prototype, "openTop", 2);
230
231
  __decorateClass([
231
- n({ type: Boolean, attribute: "is-right" })
232
+ property({ type: Boolean, attribute: "is-right" })
232
233
  ], LuksoDropdown.prototype, "isRight", 2);
233
234
  __decorateClass([
234
- n({ type: Boolean, attribute: "is-full-width" })
235
+ property({ type: Boolean, attribute: "is-full-width" })
235
236
  ], LuksoDropdown.prototype, "isFullWidth", 2);
236
237
  __decorateClass([
237
- n({ type: String })
238
+ property({ type: String })
238
239
  ], LuksoDropdown.prototype, "size", 2);
239
240
  __decorateClass([
240
- n({ type: String })
241
+ property({ type: String })
241
242
  ], LuksoDropdown.prototype, "trigger", 2);
242
243
  __decorateClass([
243
- n({ type: Number, attribute: "max-height", reflect: true })
244
+ property({ type: Number, attribute: "max-height", reflect: true })
244
245
  ], LuksoDropdown.prototype, "maxHeight", 2);
245
246
  LuksoDropdown = __decorateClass([
246
247
  safeCustomElement("lukso-dropdown")
@@ -2,10 +2,11 @@
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
 
10
11
  const style = ":host {\n display: block\n}";
11
12
 
@@ -28,7 +29,7 @@ exports.LuksoDropdownOption = class LuksoDropdownOption extends shared_tailwindE
28
29
  this.isActive = false;
29
30
  this.isGroup = false;
30
31
  this.size = "large";
31
- this.styles = index.ce({
32
+ this.styles = tailwindVariants.tv({
32
33
  base: `text-neutral-20 cursor-pointer select-none
33
34
  whitespace-nowrap flex items-center truncate gap-2`,
34
35
  variants: {
@@ -88,28 +89,28 @@ exports.LuksoDropdownOption = class LuksoDropdownOption extends shared_tailwindE
88
89
  isDisabled: this.isDisabled,
89
90
  isReadonly: this.isReadonly
90
91
  });
91
- return shared_tailwindElement_index.x`<div class="${styles}">
92
+ return lit.html`<div class="${styles}">
92
93
  <slot></slot>
93
94
  </div>`;
94
95
  }
95
96
  };
96
97
  __decorateClass([
97
- property.n({ type: Boolean, attribute: "is-readonly" })
98
+ decorators_js.property({ type: Boolean, attribute: "is-readonly" })
98
99
  ], exports.LuksoDropdownOption.prototype, "isReadonly", 2);
99
100
  __decorateClass([
100
- property.n({ type: Boolean, attribute: "is-disabled" })
101
+ decorators_js.property({ type: Boolean, attribute: "is-disabled" })
101
102
  ], exports.LuksoDropdownOption.prototype, "isDisabled", 2);
102
103
  __decorateClass([
103
- property.n({ type: Boolean, attribute: "is-selected" })
104
+ decorators_js.property({ type: Boolean, attribute: "is-selected" })
104
105
  ], exports.LuksoDropdownOption.prototype, "isSelected", 2);
105
106
  __decorateClass([
106
- property.n({ type: Boolean, attribute: "is-active" })
107
+ decorators_js.property({ type: Boolean, attribute: "is-active" })
107
108
  ], exports.LuksoDropdownOption.prototype, "isActive", 2);
108
109
  __decorateClass([
109
- property.n({ type: Boolean, attribute: "is-group" })
110
+ decorators_js.property({ type: Boolean, attribute: "is-group" })
110
111
  ], exports.LuksoDropdownOption.prototype, "isGroup", 2);
111
112
  __decorateClass([
112
- property.n({ type: String })
113
+ decorators_js.property({ type: String })
113
114
  ], exports.LuksoDropdownOption.prototype, "size", 2);
114
115
  exports.LuksoDropdownOption = __decorateClass([
115
116
  safeCustomElement.safeCustomElement("lukso-dropdown-option")
@@ -1,7 +1,8 @@
1
- import { b as TailwindStyledElement, x } from '../../chunks/index-5X9ujrWL.js';
2
- import { n } from '../../chunks/property-DfumgIL6.js';
3
- import { c as ce } from '../../chunks/index-B9iart53.js';
1
+ import { html } from 'lit';
2
+ import { property } from 'lit/decorators.js';
3
+ import { tv } from 'tailwind-variants';
4
4
  import { s as safeCustomElement } from '../../chunks/safe-custom-element-qdGIR_v6.js';
5
+ import { TailwindStyledElement } from '../../shared/tailwind-element/index.js';
5
6
 
6
7
  const style = ":host {\n display: block\n}";
7
8
 
@@ -24,7 +25,7 @@ let LuksoDropdownOption = class extends TailwindStyledElement(style) {
24
25
  this.isActive = false;
25
26
  this.isGroup = false;
26
27
  this.size = "large";
27
- this.styles = ce({
28
+ this.styles = tv({
28
29
  base: `text-neutral-20 cursor-pointer select-none
29
30
  whitespace-nowrap flex items-center truncate gap-2`,
30
31
  variants: {
@@ -84,28 +85,28 @@ let LuksoDropdownOption = class extends TailwindStyledElement(style) {
84
85
  isDisabled: this.isDisabled,
85
86
  isReadonly: this.isReadonly
86
87
  });
87
- return x`<div class="${styles}">
88
+ return html`<div class="${styles}">
88
89
  <slot></slot>
89
90
  </div>`;
90
91
  }
91
92
  };
92
93
  __decorateClass([
93
- n({ type: Boolean, attribute: "is-readonly" })
94
+ property({ type: Boolean, attribute: "is-readonly" })
94
95
  ], LuksoDropdownOption.prototype, "isReadonly", 2);
95
96
  __decorateClass([
96
- n({ type: Boolean, attribute: "is-disabled" })
97
+ property({ type: Boolean, attribute: "is-disabled" })
97
98
  ], LuksoDropdownOption.prototype, "isDisabled", 2);
98
99
  __decorateClass([
99
- n({ type: Boolean, attribute: "is-selected" })
100
+ property({ type: Boolean, attribute: "is-selected" })
100
101
  ], LuksoDropdownOption.prototype, "isSelected", 2);
101
102
  __decorateClass([
102
- n({ type: Boolean, attribute: "is-active" })
103
+ property({ type: Boolean, attribute: "is-active" })
103
104
  ], LuksoDropdownOption.prototype, "isActive", 2);
104
105
  __decorateClass([
105
- n({ type: Boolean, attribute: "is-group" })
106
+ property({ type: Boolean, attribute: "is-group" })
106
107
  ], LuksoDropdownOption.prototype, "isGroup", 2);
107
108
  __decorateClass([
108
- n({ type: String })
109
+ property({ type: String })
109
110
  ], LuksoDropdownOption.prototype, "size", 2);
110
111
  LuksoDropdownOption = __decorateClass([
111
112
  safeCustomElement("lukso-dropdown-option")
@@ -2,9 +2,10 @@
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');
5
+ const lit = require('lit');
6
+ const decorators_js = require('lit/decorators.js');
7
7
  const safeCustomElement = require('../../chunks/safe-custom-element-tQ-epw6h.js');
8
+ const shared_tailwindElement_index = require('../../shared/tailwind-element/index.cjs');
8
9
 
9
10
  var __defProp = Object.defineProperty;
10
11
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -38,7 +39,7 @@ exports.LuksoFooter = class LuksoFooter extends shared_tailwindElement_index.Tai
38
39
  } catch (error) {
39
40
  console.warn("Invalid providers format, using default providers.", error);
40
41
  }
41
- return shared_tailwindElement_index.x`
42
+ return lit.html`
42
43
  <footer class="bg-neutral-100">
43
44
  <div
44
45
  class="p-10 grid gap-8 items-center lg:grid-cols-[auto,max-content]"
@@ -70,7 +71,7 @@ exports.LuksoFooter = class LuksoFooter extends shared_tailwindElement_index.Tai
70
71
  }
71
72
  };
72
73
  __decorateClass([
73
- property.n({ type: String })
74
+ decorators_js.property({ type: String })
74
75
  ], exports.LuksoFooter.prototype, "providers", 2);
75
76
  exports.LuksoFooter = __decorateClass([
76
77
  safeCustomElement.safeCustomElement("lukso-footer")
@@ -1,6 +1,7 @@
1
- import { T as TailwindElement, x } from '../../chunks/index-5X9ujrWL.js';
2
- import { n } from '../../chunks/property-DfumgIL6.js';
1
+ import { html } from 'lit';
2
+ import { property } from 'lit/decorators.js';
3
3
  import { s as safeCustomElement } from '../../chunks/safe-custom-element-qdGIR_v6.js';
4
+ import { TailwindElement } from '../../shared/tailwind-element/index.js';
4
5
 
5
6
  var __defProp = Object.defineProperty;
6
7
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -34,7 +35,7 @@ let LuksoFooter = class extends TailwindElement {
34
35
  } catch (error) {
35
36
  console.warn("Invalid providers format, using default providers.", error);
36
37
  }
37
- return x`
38
+ return html`
38
39
  <footer class="bg-neutral-100">
39
40
  <div
40
41
  class="p-10 grid gap-8 items-center lg:grid-cols-[auto,max-content]"
@@ -66,7 +67,7 @@ let LuksoFooter = class extends TailwindElement {
66
67
  }
67
68
  };
68
69
  __decorateClass([
69
- n({ type: String })
70
+ property({ type: String })
70
71
  ], LuksoFooter.prototype, "providers", 2);
71
72
  LuksoFooter = __decorateClass([
72
73
  safeCustomElement("lukso-footer")
@@ -2,9 +2,10 @@
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');
5
+ const lit = require('lit');
6
+ const decorators_js = require('lit/decorators.js');
7
7
  const safeCustomElement = require('../../chunks/safe-custom-element-tQ-epw6h.js');
8
+ const shared_tailwindElement_index = require('../../shared/tailwind-element/index.cjs');
8
9
 
9
10
  const style = ":host {\n display: flex\n}";
10
11
 
@@ -20,16 +21,16 @@ var __decorateClass = (decorators, target, key, kind) => {
20
21
  };
21
22
  exports.LuksoFormDescription = class LuksoFormDescription extends shared_tailwindElement_index.TailwindStyledElement(style) {
22
23
  render() {
23
- return this.description ? shared_tailwindElement_index.x`
24
+ return this.description ? lit.html`
24
25
  <lukso-sanitize
25
- html-content=${this.description ? this.description : shared_tailwindElement_index.E}
26
+ html-content=${this.description ? this.description : lit.nothing}
26
27
  class="paragraph-inter-12-regular text-neutral-20 pb-2"
27
28
  ></lukso-sanitize>
28
- ` : shared_tailwindElement_index.E;
29
+ ` : lit.nothing;
29
30
  }
30
31
  };
31
32
  __decorateClass([
32
- property.n({ type: String, reflect: true })
33
+ decorators_js.property({ type: String, reflect: true })
33
34
  ], exports.LuksoFormDescription.prototype, "description", 2);
34
35
  exports.LuksoFormDescription = __decorateClass([
35
36
  safeCustomElement.safeCustomElement("lukso-form-description")
@@ -1,6 +1,7 @@
1
- import { b as TailwindStyledElement, E, x } from '../../chunks/index-5X9ujrWL.js';
2
- import { n } from '../../chunks/property-DfumgIL6.js';
1
+ import { nothing, html } from 'lit';
2
+ import { property } from 'lit/decorators.js';
3
3
  import { s as safeCustomElement } from '../../chunks/safe-custom-element-qdGIR_v6.js';
4
+ import { TailwindStyledElement } from '../../shared/tailwind-element/index.js';
4
5
 
5
6
  const style = ":host {\n display: flex\n}";
6
7
 
@@ -16,16 +17,16 @@ var __decorateClass = (decorators, target, key, kind) => {
16
17
  };
17
18
  let LuksoFormDescription = class extends TailwindStyledElement(style) {
18
19
  render() {
19
- return this.description ? x`
20
+ return this.description ? html`
20
21
  <lukso-sanitize
21
- html-content=${this.description ? this.description : E}
22
+ html-content=${this.description ? this.description : nothing}
22
23
  class="paragraph-inter-12-regular text-neutral-20 pb-2"
23
24
  ></lukso-sanitize>
24
- ` : E;
25
+ ` : nothing;
25
26
  }
26
27
  };
27
28
  __decorateClass([
28
- n({ type: String, reflect: true })
29
+ property({ type: String, reflect: true })
29
30
  ], LuksoFormDescription.prototype, "description", 2);
30
31
  LuksoFormDescription = __decorateClass([
31
32
  safeCustomElement("lukso-form-description")
@@ -2,9 +2,10 @@
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');
5
+ const lit = require('lit');
6
+ const decorators_js = require('lit/decorators.js');
7
7
  const safeCustomElement = require('../../chunks/safe-custom-element-tQ-epw6h.js');
8
+ const shared_tailwindElement_index = require('../../shared/tailwind-element/index.cjs');
8
9
 
9
10
  const style = ":host {\n display: flex\n}";
10
11
 
@@ -20,16 +21,16 @@ var __decorateClass = (decorators, target, key, kind) => {
20
21
  };
21
22
  exports.LuksoFormError = class LuksoFormError extends shared_tailwindElement_index.TailwindStyledElement(style) {
22
23
  render() {
23
- return this.error ? shared_tailwindElement_index.x`
24
+ return this.error ? lit.html`
24
25
  <lukso-sanitize
25
- html-content=${this.error ? this.error : shared_tailwindElement_index.E}
26
+ html-content=${this.error ? this.error : lit.nothing}
26
27
  class="paragraph-inter-12-regular text-red-65 pt-2"
27
28
  ></lukso-sanitize>
28
- ` : shared_tailwindElement_index.E;
29
+ ` : lit.nothing;
29
30
  }
30
31
  };
31
32
  __decorateClass([
32
- property.n({ type: String, reflect: true })
33
+ decorators_js.property({ type: String, reflect: true })
33
34
  ], exports.LuksoFormError.prototype, "error", 2);
34
35
  exports.LuksoFormError = __decorateClass([
35
36
  safeCustomElement.safeCustomElement("lukso-form-error")
@@ -1,6 +1,7 @@
1
- import { b as TailwindStyledElement, E, x } from '../../chunks/index-5X9ujrWL.js';
2
- import { n } from '../../chunks/property-DfumgIL6.js';
1
+ import { nothing, html } from 'lit';
2
+ import { property } from 'lit/decorators.js';
3
3
  import { s as safeCustomElement } from '../../chunks/safe-custom-element-qdGIR_v6.js';
4
+ import { TailwindStyledElement } from '../../shared/tailwind-element/index.js';
4
5
 
5
6
  const style = ":host {\n display: flex\n}";
6
7
 
@@ -16,16 +17,16 @@ var __decorateClass = (decorators, target, key, kind) => {
16
17
  };
17
18
  let LuksoFormError = class extends TailwindStyledElement(style) {
18
19
  render() {
19
- return this.error ? x`
20
+ return this.error ? html`
20
21
  <lukso-sanitize
21
- html-content=${this.error ? this.error : E}
22
+ html-content=${this.error ? this.error : nothing}
22
23
  class="paragraph-inter-12-regular text-red-65 pt-2"
23
24
  ></lukso-sanitize>
24
- ` : E;
25
+ ` : nothing;
25
26
  }
26
27
  };
27
28
  __decorateClass([
28
- n({ type: String, reflect: true })
29
+ property({ type: String, reflect: true })
29
30
  ], LuksoFormError.prototype, "error", 2);
30
31
  LuksoFormError = __decorateClass([
31
32
  safeCustomElement("lukso-form-error")