@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,17 +1,18 @@
1
- import { b as TailwindStyledElement, x, E } from '../../chunks/index-5X9ujrWL.js';
2
- import { n } from '../../chunks/property-DfumgIL6.js';
3
- import { r } from '../../chunks/state-CaelFSbE.js';
4
- import { e } from '../../chunks/query-CHb9Ft_d.js';
5
- import { c as ce } from '../../chunks/index-B9iart53.js';
1
+ import { html, nothing } from 'lit';
2
+ import { property, state, query } from 'lit/decorators.js';
3
+ import { tv } from 'tailwind-variants';
6
4
  import { s as safeCustomElement } from '../../chunks/safe-custom-element-qdGIR_v6.js';
5
+ import { TailwindStyledElement } from '../../shared/tailwind-element/index.js';
7
6
  import '../../tailwind-config.js';
8
- import { a as axe, c as cn } from '../../chunks/axe-DJKac19y.js';
7
+ import { c as cn } from '../../chunks/cn-LM_JlZIN.js';
8
+ import 'viem';
9
+ import axe from 'axe-core';
9
10
  import '../lukso-textarea/index.js';
10
11
  import '../lukso-markdown/index.js';
11
12
  import '../lukso-switch/index.js';
12
13
  import '../lukso-button/index.js';
13
14
  import '../lukso-icon/index.js';
14
- import '../../chunks/index-B_H2eYG_.js';
15
+ import '../../chunks/index-CA6SrfZ-.js';
15
16
  import '../lukso-dropdown/index.js';
16
17
  import '../lukso-dropdown-option/index.js';
17
18
  import '../lukso-tooltip/index.js';
@@ -311,7 +312,7 @@ let LuksoMarkdownEditor = class extends TailwindStyledElement(style) {
311
312
  this.isAlignmentDropdownOpen = false;
312
313
  }
313
314
  };
314
- this.styles = ce({
315
+ this.styles = tv({
315
316
  slots: {
316
317
  wrapper: "w-[inherit]",
317
318
  header: "flex items-center justify-between gap-2 border border-neutral-90 rounded-12 px-3 py-2 bg-neutral-100",
@@ -335,7 +336,7 @@ let LuksoMarkdownEditor = class extends TailwindStyledElement(style) {
335
336
  },
336
337
  compoundVariants: [{ isFullWidth: false, class: { wrapper: "w-[500px]" } }]
337
338
  });
338
- this.toolbarButton = ce({
339
+ this.toolbarButton = tv({
339
340
  base: "hover:bg-neutral-95 transition border-0 !shadow-none",
340
341
  variants: {
341
342
  active: { true: "bg-neutral-95" },
@@ -2147,7 +2148,7 @@ ${indent}${nextNumber}. `;
2147
2148
  }
2148
2149
  }
2149
2150
  buttonTemplate(icon, handler, name, isActive = false) {
2150
- return x`
2151
+ return html`
2151
2152
  <lukso-tooltip text=${name} placement="top">
2152
2153
  <lukso-button
2153
2154
  @click=${() => {
@@ -2172,10 +2173,10 @@ ${indent}${nextNumber}. `;
2172
2173
  `;
2173
2174
  }
2174
2175
  toolbarTemplate() {
2175
- return x`
2176
+ return html`
2176
2177
  <div class="flex items-center gap-1">
2177
2178
  <!-- Heading -->
2178
- ${this.toolsState.includes("heading") ? x`<div class=${cn(this.styles().headingMenu())}>
2179
+ ${this.toolsState.includes("heading") ? html`<div class=${cn(this.styles().headingMenu())}>
2179
2180
  <lukso-tooltip text="Heading options" placement="top">
2180
2181
  <lukso-button
2181
2182
  id=${this.headingTriggerId}
@@ -2270,7 +2271,7 @@ ${indent}${nextNumber}. `;
2270
2271
  Heading 4
2271
2272
  </lukso-dropdown-option>
2272
2273
  </lukso-dropdown>
2273
- </div>` : E}
2274
+ </div>` : nothing}
2274
2275
 
2275
2276
  <!-- Bold -->
2276
2277
  ${this.toolsState.includes("bold") ? this.buttonTemplate(
@@ -2278,7 +2279,7 @@ ${indent}${nextNumber}. `;
2278
2279
  () => this.toggleWrap("**"),
2279
2280
  "Bold",
2280
2281
  this.activeFormats.bold
2281
- ) : E}
2282
+ ) : nothing}
2282
2283
 
2283
2284
  <!-- Italic -->
2284
2285
  ${this.toolsState.includes("italic") ? this.buttonTemplate(
@@ -2286,10 +2287,10 @@ ${indent}${nextNumber}. `;
2286
2287
  () => this.toggleWrap("*"),
2287
2288
  "Italic",
2288
2289
  this.activeFormats.italic
2289
- ) : E}
2290
+ ) : nothing}
2290
2291
 
2291
2292
  <!-- List -->
2292
- ${this.toolsState.includes("list") ? x`
2293
+ ${this.toolsState.includes("list") ? html`
2293
2294
  <div class=${this.styles().listMenu()}>
2294
2295
  <lukso-tooltip text="List options" placement="top">
2295
2296
  <lukso-button
@@ -2363,7 +2364,7 @@ ${indent}${nextNumber}. `;
2363
2364
  </lukso-dropdown-option>
2364
2365
  </lukso-dropdown>
2365
2366
  </div>
2366
- ` : E}
2367
+ ` : nothing}
2367
2368
 
2368
2369
  <!-- Link -->
2369
2370
  ${this.toolsState.includes("link") ? this.buttonTemplate(
@@ -2371,10 +2372,10 @@ ${indent}${nextNumber}. `;
2371
2372
  () => this.insertLink(),
2372
2373
  "Link",
2373
2374
  this.activeFormats.link
2374
- ) : E}
2375
+ ) : nothing}
2375
2376
 
2376
2377
  <!-- Text Alignment -->
2377
- ${this.toolsState.includes("alignment") ? x`
2378
+ ${this.toolsState.includes("alignment") ? html`
2378
2379
  <div class=${this.styles().alignmentMenu()}>
2379
2380
  <lukso-tooltip text="Text alignment" placement="top">
2380
2381
  <lukso-button
@@ -2475,10 +2476,10 @@ ${indent}${nextNumber}. `;
2475
2476
  </lukso-dropdown-option>
2476
2477
  </lukso-dropdown>
2477
2478
  </div>
2478
- ` : E}
2479
+ ` : nothing}
2479
2480
 
2480
2481
  <!-- Color -->
2481
- ${this.toolsState.includes("color") ? x`
2482
+ ${this.toolsState.includes("color") ? html`
2482
2483
  <div class=${this.styles().colorMenu()}>
2483
2484
  <lukso-tooltip text="Text color" placement="top">
2484
2485
  <lukso-button
@@ -2528,7 +2529,7 @@ ${indent}${nextNumber}. `;
2528
2529
  class="col-span-8 mb-2 flex items-center justify-between"
2529
2530
  >
2530
2531
  <span class="text-xs text-neutral-60">Text Color</span>
2531
- ${this.activeFormats.color ? x`<button
2532
+ ${this.activeFormats.color ? html`<button
2532
2533
  class="text-xs text-neutral-60 hover:text-neutral-20 underline"
2533
2534
  @click=${(e) => {
2534
2535
  e.stopPropagation();
@@ -2539,10 +2540,10 @@ ${indent}${nextNumber}. `;
2539
2540
  aria-label="Clear color"
2540
2541
  >
2541
2542
  Clear
2542
- </button>` : E}
2543
+ </button>` : nothing}
2543
2544
  </div>
2544
2545
  ${this.colorSamples.map(
2545
- (color) => x`
2546
+ (color) => html`
2546
2547
  <button
2547
2548
  class="w-6 h-6 rounded-4 border transition-all ${this.activeFormats.activeColor === color ? "border-neutral-20 ring-2 ring-purple-51" : "border-neutral-90 hover:border-neutral-60"}"
2548
2549
  style="background-color: ${color}"
@@ -2560,19 +2561,19 @@ ${indent}${nextNumber}. `;
2560
2561
  </div>
2561
2562
  </lukso-dropdown>
2562
2563
  </div>
2563
- ` : E}
2564
+ ` : nothing}
2564
2565
 
2565
2566
  <!-- Divider -->
2566
- ${this.toolsState.length > 0 ? x`<div class=${this.styles().divider()}></div>` : E}
2567
+ ${this.toolsState.length > 0 ? html`<div class=${this.styles().divider()}></div>` : nothing}
2567
2568
  </div>
2568
2569
  `;
2569
2570
  }
2570
2571
  accessibilityIndicatorTemplate() {
2571
2572
  if (!this.hasAccessibilityViolations || this.accessibilityViolations.length === 0 || !this.isPreview) {
2572
- return E;
2573
+ return nothing;
2573
2574
  }
2574
2575
  const tooltipText = formatViolationsForTooltip(this.accessibilityViolations);
2575
- return x`
2576
+ return html`
2576
2577
  <div
2577
2578
  class="accessibility-indicator has-violations absolute top-2 right-2 z-10"
2578
2579
  style="pointer-events: auto;"
@@ -2619,7 +2620,7 @@ ${indent}${nextNumber}. `;
2619
2620
  error
2620
2621
  );
2621
2622
  }
2622
- return x`
2623
+ return html`
2623
2624
  <div class=${wrapper()}>
2624
2625
  <div>
2625
2626
  <lukso-form-label
@@ -2643,14 +2644,14 @@ ${indent}${nextNumber}. `;
2643
2644
  </div>
2644
2645
 
2645
2646
  <div class=${area()}>
2646
- ${!this.isPreview ? x`<div class=${editor()}>
2647
+ ${!this.isPreview ? html`<div class=${editor()}>
2647
2648
  <lukso-textarea
2648
2649
  .value=${this.value}
2649
- name=${this.name ? this.name : E}
2650
- size=${this.size ? this.size : E}
2651
- rows=${this.rows ? this.rows : E}
2652
- placeholder=${this.placeholder ? this.placeholder : E}
2653
- error=${this.error ? this.error : E}
2650
+ name=${this.name ? this.name : nothing}
2651
+ size=${this.size ? this.size : nothing}
2652
+ rows=${this.rows ? this.rows : nothing}
2653
+ placeholder=${this.placeholder ? this.placeholder : nothing}
2654
+ error=${this.error ? this.error : nothing}
2654
2655
  ?is-full-width=${true}
2655
2656
  ?is-disabled=${this.isDisabled}
2656
2657
  ?is-readonly=${this.isReadonly}
@@ -2660,7 +2661,7 @@ ${indent}${nextNumber}. `;
2660
2661
  @on-input-click=${this.handleTextareaClick}
2661
2662
  ></lukso-textarea>
2662
2663
  ${this.accessibilityIndicatorTemplate()}
2663
- </div>` : x`<div
2664
+ </div>` : html`<div
2664
2665
  class=${preview()}
2665
2666
  style="background-color: ${this.previewBackgroundColor};"
2666
2667
  >
@@ -2678,98 +2679,98 @@ ${indent}${nextNumber}. `;
2678
2679
  }
2679
2680
  };
2680
2681
  __decorateClass([
2681
- n({ type: String })
2682
+ property({ type: String })
2682
2683
  ], LuksoMarkdownEditor.prototype, "value", 2);
2683
2684
  __decorateClass([
2684
- n({ type: String, reflect: true })
2685
+ property({ type: String, reflect: true })
2685
2686
  ], LuksoMarkdownEditor.prototype, "name", 2);
2686
2687
  __decorateClass([
2687
- n({ type: String })
2688
+ property({ type: String })
2688
2689
  ], LuksoMarkdownEditor.prototype, "label", 2);
2689
2690
  __decorateClass([
2690
- n({ type: String })
2691
+ property({ type: String })
2691
2692
  ], LuksoMarkdownEditor.prototype, "description", 2);
2692
2693
  __decorateClass([
2693
- n({ type: String })
2694
+ property({ type: String })
2694
2695
  ], LuksoMarkdownEditor.prototype, "error", 2);
2695
2696
  __decorateClass([
2696
- n({ type: Boolean, attribute: "is-full-width" })
2697
+ property({ type: Boolean, attribute: "is-full-width" })
2697
2698
  ], LuksoMarkdownEditor.prototype, "isFullWidth", 2);
2698
2699
  __decorateClass([
2699
- n({ type: Boolean, attribute: "is-readonly" })
2700
+ property({ type: Boolean, attribute: "is-readonly" })
2700
2701
  ], LuksoMarkdownEditor.prototype, "isReadonly", 2);
2701
2702
  __decorateClass([
2702
- n({ type: Boolean, attribute: "is-disabled" })
2703
+ property({ type: Boolean, attribute: "is-disabled" })
2703
2704
  ], LuksoMarkdownEditor.prototype, "isDisabled", 2);
2704
2705
  __decorateClass([
2705
- n({ type: Boolean, attribute: "is-non-resizable" })
2706
+ property({ type: Boolean, attribute: "is-non-resizable" })
2706
2707
  ], LuksoMarkdownEditor.prototype, "isNonResizable", 2);
2707
2708
  __decorateClass([
2708
- n({ type: Boolean })
2709
+ property({ type: Boolean })
2709
2710
  ], LuksoMarkdownEditor.prototype, "autofocus", 2);
2710
2711
  __decorateClass([
2711
- n({ type: String, reflect: true })
2712
+ property({ type: String, reflect: true })
2712
2713
  ], LuksoMarkdownEditor.prototype, "size", 2);
2713
2714
  __decorateClass([
2714
- n({ type: Boolean, attribute: "is-preview", reflect: true })
2715
+ property({ type: Boolean, attribute: "is-preview", reflect: true })
2715
2716
  ], LuksoMarkdownEditor.prototype, "isPreview", 2);
2716
2717
  __decorateClass([
2717
- n({ type: Number })
2718
+ property({ type: Number })
2718
2719
  ], LuksoMarkdownEditor.prototype, "rows", 2);
2719
2720
  __decorateClass([
2720
- n({ type: String })
2721
+ property({ type: String })
2721
2722
  ], LuksoMarkdownEditor.prototype, "placeholder", 2);
2722
2723
  __decorateClass([
2723
- n({
2724
+ property({
2724
2725
  type: String,
2725
2726
  attribute: "preview-background-color",
2726
2727
  reflect: true
2727
2728
  })
2728
2729
  ], LuksoMarkdownEditor.prototype, "previewBackgroundColor", 2);
2729
2730
  __decorateClass([
2730
- n({ type: String, attribute: "preview-text-color", reflect: true })
2731
+ property({ type: String, attribute: "preview-text-color", reflect: true })
2731
2732
  ], LuksoMarkdownEditor.prototype, "previewTextColor", 2);
2732
2733
  __decorateClass([
2733
- n({ type: Boolean, attribute: "strip-html-tags" })
2734
+ property({ type: Boolean, attribute: "strip-html-tags" })
2734
2735
  ], LuksoMarkdownEditor.prototype, "stripHtmlTags", 2);
2735
2736
  __decorateClass([
2736
- n({ type: String })
2737
+ property({ type: String })
2737
2738
  ], LuksoMarkdownEditor.prototype, "tools", 2);
2738
2739
  __decorateClass([
2739
- r()
2740
+ state()
2740
2741
  ], LuksoMarkdownEditor.prototype, "toolsState", 2);
2741
2742
  __decorateClass([
2742
- r()
2743
+ state()
2743
2744
  ], LuksoMarkdownEditor.prototype, "savedSelectionForPreview", 2);
2744
2745
  __decorateClass([
2745
- r()
2746
+ state()
2746
2747
  ], LuksoMarkdownEditor.prototype, "isHeadingDropdownOpen", 2);
2747
2748
  __decorateClass([
2748
- r()
2749
+ state()
2749
2750
  ], LuksoMarkdownEditor.prototype, "isColorDropdownOpen", 2);
2750
2751
  __decorateClass([
2751
- r()
2752
+ state()
2752
2753
  ], LuksoMarkdownEditor.prototype, "isListDropdownOpen", 2);
2753
2754
  __decorateClass([
2754
- r()
2755
+ state()
2755
2756
  ], LuksoMarkdownEditor.prototype, "isAlignmentDropdownOpen", 2);
2756
2757
  __decorateClass([
2757
- r()
2758
+ state()
2758
2759
  ], LuksoMarkdownEditor.prototype, "currentSelection", 2);
2759
2760
  __decorateClass([
2760
- r()
2761
+ state()
2761
2762
  ], LuksoMarkdownEditor.prototype, "savedSelection", 2);
2762
2763
  __decorateClass([
2763
- r()
2764
+ state()
2764
2765
  ], LuksoMarkdownEditor.prototype, "activeFormats", 2);
2765
2766
  __decorateClass([
2766
- r()
2767
+ state()
2767
2768
  ], LuksoMarkdownEditor.prototype, "accessibilityViolations", 2);
2768
2769
  __decorateClass([
2769
- r()
2770
+ state()
2770
2771
  ], LuksoMarkdownEditor.prototype, "hasAccessibilityViolations", 2);
2771
2772
  __decorateClass([
2772
- e("lukso-textarea")
2773
+ query("lukso-textarea")
2773
2774
  ], LuksoMarkdownEditor.prototype, "textareaEl", 2);
2774
2775
  LuksoMarkdownEditor = __decorateClass([
2775
2776
  safeCustomElement("lukso-markdown-editor")
@@ -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');
8
- const chunkLQIOVPBE = require('../../chunks/chunk-LQIOVPBE-kQFZF_OS.js');
5
+ const lit = require('lit');
6
+ const decorators_js = require('lit/decorators.js');
7
+ const tailwindVariants = require('tailwind-variants');
8
+ const core = require('@lukso/core');
9
+ const shared_tailwindElement_index = require('../../shared/tailwind-element/index.cjs');
9
10
 
10
11
  var __defProp = Object.defineProperty;
11
12
  var __decorateClass = (decorators, target, key, kind) => {
@@ -16,14 +17,14 @@ var __decorateClass = (decorators, target, key, kind) => {
16
17
  if (result) __defProp(target, key, result);
17
18
  return result;
18
19
  };
19
- class LuksoModal extends chunkLQIOVPBE.withTheme(shared_tailwindElement_index.TailwindElement) {
20
+ class LuksoModal extends core.withTheme(shared_tailwindElement_index.TailwindElement) {
20
21
  constructor() {
21
22
  super(...arguments);
22
23
  this.isOpen = false;
23
24
  this.disableAnimations = false;
24
25
  this.size = "small";
25
26
  this.hasBottomPadding = false;
26
- this.styles = index.ce({
27
+ this.styles = tailwindVariants.tv({
27
28
  slots: {
28
29
  wrapper: "opacity-0 fixed z-[1011] transition-opacity inset-0 w-screen h-screen overflow-y-auto overscroll-none scrolling-touch touch-pan-y",
29
30
  inner: "min-h-screen flex items-center justify-center px-6 pt-6 w-full",
@@ -96,7 +97,7 @@ class LuksoModal extends chunkLQIOVPBE.withTheme(shared_tailwindElement_index.Ta
96
97
  disableAnimations: this.disableAnimations,
97
98
  hasBottomPadding: this.hasBottomPadding
98
99
  });
99
- return shared_tailwindElement_index.x`
100
+ return lit.html`
100
101
  <div data-testid="modal" class=${wrapper()}>
101
102
  <div class=${inner()}>
102
103
  <div class=${overlay()} @click=${this.handleBackdropClick}></div>
@@ -109,16 +110,16 @@ class LuksoModal extends chunkLQIOVPBE.withTheme(shared_tailwindElement_index.Ta
109
110
  }
110
111
  }
111
112
  __decorateClass([
112
- property.n({ type: Boolean, attribute: "is-open" })
113
+ decorators_js.property({ type: Boolean, attribute: "is-open" })
113
114
  ], LuksoModal.prototype, "isOpen");
114
115
  __decorateClass([
115
- property.n({ type: Boolean, attribute: "disable-animations" })
116
+ decorators_js.property({ type: Boolean, attribute: "disable-animations" })
116
117
  ], LuksoModal.prototype, "disableAnimations");
117
118
  __decorateClass([
118
- property.n({ type: String })
119
+ decorators_js.property({ type: String })
119
120
  ], LuksoModal.prototype, "size");
120
121
  __decorateClass([
121
- property.n({ type: Boolean, attribute: "has-bottom-padding" })
122
+ decorators_js.property({ type: Boolean, attribute: "has-bottom-padding" })
122
123
  ], LuksoModal.prototype, "hasBottomPadding");
123
124
  customElements.define("lukso-modal", LuksoModal);
124
125
 
@@ -1,7 +1,8 @@
1
- import { T as TailwindElement, x } from '../../chunks/index-5X9ujrWL.js';
2
- import { n } from '../../chunks/property-DfumgIL6.js';
3
- import { c as ce } from '../../chunks/index-B9iart53.js';
4
- import { w as withTheme } from '../../chunks/chunk-LQIOVPBE-CGhQ79Di.js';
1
+ import { html } from 'lit';
2
+ import { property } from 'lit/decorators.js';
3
+ import { tv } from 'tailwind-variants';
4
+ import { withTheme } from '@lukso/core';
5
+ import { TailwindElement } from '../../shared/tailwind-element/index.js';
5
6
 
6
7
  var __defProp = Object.defineProperty;
7
8
  var __decorateClass = (decorators, target, key, kind) => {
@@ -19,7 +20,7 @@ class LuksoModal extends withTheme(TailwindElement) {
19
20
  this.disableAnimations = false;
20
21
  this.size = "small";
21
22
  this.hasBottomPadding = false;
22
- this.styles = ce({
23
+ this.styles = tv({
23
24
  slots: {
24
25
  wrapper: "opacity-0 fixed z-[1011] transition-opacity inset-0 w-screen h-screen overflow-y-auto overscroll-none scrolling-touch touch-pan-y",
25
26
  inner: "min-h-screen flex items-center justify-center px-6 pt-6 w-full",
@@ -92,7 +93,7 @@ class LuksoModal extends withTheme(TailwindElement) {
92
93
  disableAnimations: this.disableAnimations,
93
94
  hasBottomPadding: this.hasBottomPadding
94
95
  });
95
- return x`
96
+ return html`
96
97
  <div data-testid="modal" class=${wrapper()}>
97
98
  <div class=${inner()}>
98
99
  <div class=${overlay()} @click=${this.handleBackdropClick}></div>
@@ -105,16 +106,16 @@ class LuksoModal extends withTheme(TailwindElement) {
105
106
  }
106
107
  }
107
108
  __decorateClass([
108
- n({ type: Boolean, attribute: "is-open" })
109
+ property({ type: Boolean, attribute: "is-open" })
109
110
  ], LuksoModal.prototype, "isOpen");
110
111
  __decorateClass([
111
- n({ type: Boolean, attribute: "disable-animations" })
112
+ property({ type: Boolean, attribute: "disable-animations" })
112
113
  ], LuksoModal.prototype, "disableAnimations");
113
114
  __decorateClass([
114
- n({ type: String })
115
+ property({ type: String })
115
116
  ], LuksoModal.prototype, "size");
116
117
  __decorateClass([
117
- n({ type: Boolean, attribute: "has-bottom-padding" })
118
+ property({ type: Boolean, attribute: "has-bottom-padding" })
118
119
  ], LuksoModal.prototype, "hasBottomPadding");
119
120
  customElements.define("lukso-modal", LuksoModal);
120
121
 
@@ -2,11 +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 state = require('../../chunks/state-CFjY89m3.js');
8
- 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');
9
8
  const safeCustomElement = require('../../chunks/safe-custom-element-tQ-epw6h.js');
9
+ const shared_tailwindElement_index = require('../../shared/tailwind-element/index.cjs');
10
10
  require('../lukso-icon/index.cjs');
11
11
  require('../lukso-tag/index.cjs');
12
12
 
@@ -35,7 +35,7 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
35
35
  this.mobileBreakpoint = "md";
36
36
  this.isMenuOpen = false;
37
37
  this.defaultLogoUrl = "/assets/images/up-logo.png";
38
- this.styles = index.ce({
38
+ this.styles = tailwindVariants.tv({
39
39
  slots: {
40
40
  wrapper: "h-78 grid items-center",
41
41
  mobileMenuWrapper: "items-center justify-end pr-6 flex gap-2",
@@ -147,21 +147,21 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
147
147
  }
148
148
  }
149
149
  desktopMenuTemplate(styles) {
150
- return shared_tailwindElement_index.x` <div class=${styles.desktopMenuWrapper()}>
150
+ return lit.html` <div class=${styles.desktopMenuWrapper()}>
151
151
  <slot name="desktop-menu"></slot>
152
152
  </div>`;
153
153
  }
154
154
  desktopCenterTemplate(styles) {
155
- return shared_tailwindElement_index.x`<div class=${styles.desktopCenterWrapper()}>
155
+ return lit.html`<div class=${styles.desktopCenterWrapper()}>
156
156
  <slot name="desktop-center"></slot>
157
157
  </div>
158
158
  <div class=${styles.desktopCenterPlaceholder()}></div>`;
159
159
  }
160
160
  mobileMenuTemplate(styles) {
161
- return shared_tailwindElement_index.x`<div class=${styles.mobileMenuWrapper()}>
161
+ return lit.html`<div class=${styles.mobileMenuWrapper()}>
162
162
  <slot name="mobile-menu"></slot>
163
163
 
164
- ${this.hasMobileDropdownMenu ? shared_tailwindElement_index.x` <div
164
+ ${this.hasMobileDropdownMenu ? lit.html` <div
165
165
  class="flex items-center justify-center w-8 h-8 cursor-pointer"
166
166
  @click=${this.handleMenuToggle}
167
167
  >
@@ -172,11 +172,11 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
172
172
  @click=${this.handleMenuToggle}
173
173
  >
174
174
  <slot name="mobile-dropdown"></slot>
175
- </div>` : shared_tailwindElement_index.E}
175
+ </div>` : lit.nothing}
176
176
  </div>`;
177
177
  }
178
178
  brandTemplate() {
179
- return shared_tailwindElement_index.x`
179
+ return lit.html`
180
180
  <div class="flex items-center px-6 md:px-10 h-[inherit]">
181
181
  <div class="flex cursor-pointer group" @click=${this.handleBrandClick}>
182
182
  <img
@@ -190,11 +190,11 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
190
190
  >
191
191
  <span>${this.title}</span>
192
192
  </div>
193
- ${this.isTestnet ? shared_tailwindElement_index.x`<lukso-tag background-color="yellow-65" class="ml-2">
193
+ ${this.isTestnet ? lit.html`<lukso-tag background-color="yellow-65" class="ml-2">
194
194
  TESTNET
195
- </lukso-tag>` : shared_tailwindElement_index.E}
195
+ </lukso-tag>` : lit.nothing}
196
196
  </div>
197
- ${this.icon ? shared_tailwindElement_index.x`<div
197
+ ${this.icon ? lit.html`<div
198
198
  class="flex border-l border-l-purple-82 h-7 items-center pl-3 ml-3"
199
199
  >
200
200
  <lukso-icon
@@ -203,12 +203,12 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
203
203
  color="purple-51"
204
204
  @click=${this.handleIconClick}
205
205
  ></lukso-icon>
206
- </div>` : shared_tailwindElement_index.E}
206
+ </div>` : lit.nothing}
207
207
  </div>
208
208
  `;
209
209
  }
210
210
  menuTemplate(styles) {
211
- return shared_tailwindElement_index.x`<div class="flex items-center justify-end">
211
+ return lit.html`<div class="flex items-center justify-end">
212
212
  ${this.desktopMenuTemplate(styles)} ${this.mobileMenuTemplate(styles)}
213
213
  </div>`;
214
214
  }
@@ -220,47 +220,47 @@ exports.LuksoNavbar = class LuksoNavbar extends shared_tailwindElement_index.Tai
220
220
  mobileBreakpoint: this.mobileBreakpoint,
221
221
  isMenuOpen: this.isMenuOpen
222
222
  });
223
- return shared_tailwindElement_index.x`
223
+ return lit.html`
224
224
  <nav data-testid="navbar" class=${styles.wrapper()}>
225
225
  ${this.brandTemplate()}
226
- ${this.isCenter ? shared_tailwindElement_index.E : this.desktopCenterTemplate(styles)}
227
- ${this.isCenter ? shared_tailwindElement_index.E : this.hasMenu ? this.menuTemplate(styles) : shared_tailwindElement_index.E}
226
+ ${this.isCenter ? lit.nothing : this.desktopCenterTemplate(styles)}
227
+ ${this.isCenter ? lit.nothing : this.hasMenu ? this.menuTemplate(styles) : lit.nothing}
228
228
  </nav>
229
229
  `;
230
230
  }
231
231
  };
232
232
  __decorateClass([
233
- property.n({ type: String })
233
+ decorators_js.property({ type: String })
234
234
  ], exports.LuksoNavbar.prototype, "title", 2);
235
235
  __decorateClass([
236
- property.n({ type: Boolean, attribute: "is-center" })
236
+ decorators_js.property({ type: Boolean, attribute: "is-center" })
237
237
  ], exports.LuksoNavbar.prototype, "isCenter", 2);
238
238
  __decorateClass([
239
- property.n({ type: Boolean, attribute: "is-sticky" })
239
+ decorators_js.property({ type: Boolean, attribute: "is-sticky" })
240
240
  ], exports.LuksoNavbar.prototype, "isSticky", 2);
241
241
  __decorateClass([
242
- property.n({ type: Boolean, attribute: "is-transparent" })
242
+ decorators_js.property({ type: Boolean, attribute: "is-transparent" })
243
243
  ], exports.LuksoNavbar.prototype, "isTransparent", 2);
244
244
  __decorateClass([
245
- property.n({ type: Boolean, attribute: "is-testnet" })
245
+ decorators_js.property({ type: Boolean, attribute: "is-testnet" })
246
246
  ], exports.LuksoNavbar.prototype, "isTestnet", 2);
247
247
  __decorateClass([
248
- property.n({ type: String })
248
+ decorators_js.property({ type: String })
249
249
  ], exports.LuksoNavbar.prototype, "icon", 2);
250
250
  __decorateClass([
251
- property.n({ type: Boolean, attribute: "has-menu" })
251
+ decorators_js.property({ type: Boolean, attribute: "has-menu" })
252
252
  ], exports.LuksoNavbar.prototype, "hasMenu", 2);
253
253
  __decorateClass([
254
- property.n({ type: Boolean, attribute: "has-mobile-dropdown-menu" })
254
+ decorators_js.property({ type: Boolean, attribute: "has-mobile-dropdown-menu" })
255
255
  ], exports.LuksoNavbar.prototype, "hasMobileDropdownMenu", 2);
256
256
  __decorateClass([
257
- property.n({ type: String, attribute: "logo-url" })
257
+ decorators_js.property({ type: String, attribute: "logo-url" })
258
258
  ], exports.LuksoNavbar.prototype, "logoUrl", 2);
259
259
  __decorateClass([
260
- property.n({ type: String, attribute: "mobile-breakpoint" })
260
+ decorators_js.property({ type: String, attribute: "mobile-breakpoint" })
261
261
  ], exports.LuksoNavbar.prototype, "mobileBreakpoint", 2);
262
262
  __decorateClass([
263
- state.r()
263
+ decorators_js.state()
264
264
  ], exports.LuksoNavbar.prototype, "isMenuOpen", 2);
265
265
  exports.LuksoNavbar = __decorateClass([
266
266
  safeCustomElement.safeCustomElement("lukso-navbar")