@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
@@ -2,20 +2,21 @@
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 query = require('../../chunks/query-D3HF7Pde.js');
9
- 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');
10
8
  const safeCustomElement = require('../../chunks/safe-custom-element-tQ-epw6h.js');
9
+ const shared_tailwindElement_index = require('../../shared/tailwind-element/index.cjs');
11
10
  require('../../tailwind-config.cjs');
12
- const axe = require('../../chunks/axe-MHuN9KU0.js');
11
+ const cn = require('../../chunks/cn-zamUNFMe.js');
12
+ require('viem');
13
+ const axe = require('axe-core');
13
14
  require('../lukso-textarea/index.cjs');
14
15
  require('../lukso-markdown/index.cjs');
15
16
  require('../lukso-switch/index.cjs');
16
17
  require('../lukso-button/index.cjs');
17
18
  require('../lukso-icon/index.cjs');
18
- require('../../chunks/index-BHAtoIlu.js');
19
+ require('../../chunks/index-cakeic-M.js');
19
20
  require('../lukso-dropdown/index.cjs');
20
21
  require('../lukso-dropdown-option/index.cjs');
21
22
  require('../lukso-tooltip/index.cjs');
@@ -45,7 +46,7 @@ async function checkAccessibility(element) {
45
46
  };
46
47
  }
47
48
  try {
48
- const results = await axe.axe.run(element, {
49
+ const results = await axe.run(element, {
49
50
  resultTypes: ["violations"],
50
51
  tags: ["wcag2a", "wcag2aa", "wcag21aa", "best-practice"],
51
52
  rules: {
@@ -315,7 +316,7 @@ exports.LuksoMarkdownEditor = class LuksoMarkdownEditor extends shared_tailwindE
315
316
  this.isAlignmentDropdownOpen = false;
316
317
  }
317
318
  };
318
- this.styles = index.ce({
319
+ this.styles = tailwindVariants.tv({
319
320
  slots: {
320
321
  wrapper: "w-[inherit]",
321
322
  header: "flex items-center justify-between gap-2 border border-neutral-90 rounded-12 px-3 py-2 bg-neutral-100",
@@ -339,7 +340,7 @@ exports.LuksoMarkdownEditor = class LuksoMarkdownEditor extends shared_tailwindE
339
340
  },
340
341
  compoundVariants: [{ isFullWidth: false, class: { wrapper: "w-[500px]" } }]
341
342
  });
342
- this.toolbarButton = index.ce({
343
+ this.toolbarButton = tailwindVariants.tv({
343
344
  base: "hover:bg-neutral-95 transition border-0 !shadow-none",
344
345
  variants: {
345
346
  active: { true: "bg-neutral-95" },
@@ -2151,7 +2152,7 @@ ${indent}${nextNumber}. `;
2151
2152
  }
2152
2153
  }
2153
2154
  buttonTemplate(icon, handler, name, isActive = false) {
2154
- return shared_tailwindElement_index.x`
2155
+ return lit.html`
2155
2156
  <lukso-tooltip text=${name} placement="top">
2156
2157
  <lukso-button
2157
2158
  @click=${() => {
@@ -2176,10 +2177,10 @@ ${indent}${nextNumber}. `;
2176
2177
  `;
2177
2178
  }
2178
2179
  toolbarTemplate() {
2179
- return shared_tailwindElement_index.x`
2180
+ return lit.html`
2180
2181
  <div class="flex items-center gap-1">
2181
2182
  <!-- Heading -->
2182
- ${this.toolsState.includes("heading") ? shared_tailwindElement_index.x`<div class=${axe.cn(this.styles().headingMenu())}>
2183
+ ${this.toolsState.includes("heading") ? lit.html`<div class=${cn.cn(this.styles().headingMenu())}>
2183
2184
  <lukso-tooltip text="Heading options" placement="top">
2184
2185
  <lukso-button
2185
2186
  id=${this.headingTriggerId}
@@ -2274,7 +2275,7 @@ ${indent}${nextNumber}. `;
2274
2275
  Heading 4
2275
2276
  </lukso-dropdown-option>
2276
2277
  </lukso-dropdown>
2277
- </div>` : shared_tailwindElement_index.E}
2278
+ </div>` : lit.nothing}
2278
2279
 
2279
2280
  <!-- Bold -->
2280
2281
  ${this.toolsState.includes("bold") ? this.buttonTemplate(
@@ -2282,7 +2283,7 @@ ${indent}${nextNumber}. `;
2282
2283
  () => this.toggleWrap("**"),
2283
2284
  "Bold",
2284
2285
  this.activeFormats.bold
2285
- ) : shared_tailwindElement_index.E}
2286
+ ) : lit.nothing}
2286
2287
 
2287
2288
  <!-- Italic -->
2288
2289
  ${this.toolsState.includes("italic") ? this.buttonTemplate(
@@ -2290,10 +2291,10 @@ ${indent}${nextNumber}. `;
2290
2291
  () => this.toggleWrap("*"),
2291
2292
  "Italic",
2292
2293
  this.activeFormats.italic
2293
- ) : shared_tailwindElement_index.E}
2294
+ ) : lit.nothing}
2294
2295
 
2295
2296
  <!-- List -->
2296
- ${this.toolsState.includes("list") ? shared_tailwindElement_index.x`
2297
+ ${this.toolsState.includes("list") ? lit.html`
2297
2298
  <div class=${this.styles().listMenu()}>
2298
2299
  <lukso-tooltip text="List options" placement="top">
2299
2300
  <lukso-button
@@ -2367,7 +2368,7 @@ ${indent}${nextNumber}. `;
2367
2368
  </lukso-dropdown-option>
2368
2369
  </lukso-dropdown>
2369
2370
  </div>
2370
- ` : shared_tailwindElement_index.E}
2371
+ ` : lit.nothing}
2371
2372
 
2372
2373
  <!-- Link -->
2373
2374
  ${this.toolsState.includes("link") ? this.buttonTemplate(
@@ -2375,10 +2376,10 @@ ${indent}${nextNumber}. `;
2375
2376
  () => this.insertLink(),
2376
2377
  "Link",
2377
2378
  this.activeFormats.link
2378
- ) : shared_tailwindElement_index.E}
2379
+ ) : lit.nothing}
2379
2380
 
2380
2381
  <!-- Text Alignment -->
2381
- ${this.toolsState.includes("alignment") ? shared_tailwindElement_index.x`
2382
+ ${this.toolsState.includes("alignment") ? lit.html`
2382
2383
  <div class=${this.styles().alignmentMenu()}>
2383
2384
  <lukso-tooltip text="Text alignment" placement="top">
2384
2385
  <lukso-button
@@ -2479,10 +2480,10 @@ ${indent}${nextNumber}. `;
2479
2480
  </lukso-dropdown-option>
2480
2481
  </lukso-dropdown>
2481
2482
  </div>
2482
- ` : shared_tailwindElement_index.E}
2483
+ ` : lit.nothing}
2483
2484
 
2484
2485
  <!-- Color -->
2485
- ${this.toolsState.includes("color") ? shared_tailwindElement_index.x`
2486
+ ${this.toolsState.includes("color") ? lit.html`
2486
2487
  <div class=${this.styles().colorMenu()}>
2487
2488
  <lukso-tooltip text="Text color" placement="top">
2488
2489
  <lukso-button
@@ -2532,7 +2533,7 @@ ${indent}${nextNumber}. `;
2532
2533
  class="col-span-8 mb-2 flex items-center justify-between"
2533
2534
  >
2534
2535
  <span class="text-xs text-neutral-60">Text Color</span>
2535
- ${this.activeFormats.color ? shared_tailwindElement_index.x`<button
2536
+ ${this.activeFormats.color ? lit.html`<button
2536
2537
  class="text-xs text-neutral-60 hover:text-neutral-20 underline"
2537
2538
  @click=${(e) => {
2538
2539
  e.stopPropagation();
@@ -2543,10 +2544,10 @@ ${indent}${nextNumber}. `;
2543
2544
  aria-label="Clear color"
2544
2545
  >
2545
2546
  Clear
2546
- </button>` : shared_tailwindElement_index.E}
2547
+ </button>` : lit.nothing}
2547
2548
  </div>
2548
2549
  ${this.colorSamples.map(
2549
- (color) => shared_tailwindElement_index.x`
2550
+ (color) => lit.html`
2550
2551
  <button
2551
2552
  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"}"
2552
2553
  style="background-color: ${color}"
@@ -2564,19 +2565,19 @@ ${indent}${nextNumber}. `;
2564
2565
  </div>
2565
2566
  </lukso-dropdown>
2566
2567
  </div>
2567
- ` : shared_tailwindElement_index.E}
2568
+ ` : lit.nothing}
2568
2569
 
2569
2570
  <!-- Divider -->
2570
- ${this.toolsState.length > 0 ? shared_tailwindElement_index.x`<div class=${this.styles().divider()}></div>` : shared_tailwindElement_index.E}
2571
+ ${this.toolsState.length > 0 ? lit.html`<div class=${this.styles().divider()}></div>` : lit.nothing}
2571
2572
  </div>
2572
2573
  `;
2573
2574
  }
2574
2575
  accessibilityIndicatorTemplate() {
2575
2576
  if (!this.hasAccessibilityViolations || this.accessibilityViolations.length === 0 || !this.isPreview) {
2576
- return shared_tailwindElement_index.E;
2577
+ return lit.nothing;
2577
2578
  }
2578
2579
  const tooltipText = formatViolationsForTooltip(this.accessibilityViolations);
2579
- return shared_tailwindElement_index.x`
2580
+ return lit.html`
2580
2581
  <div
2581
2582
  class="accessibility-indicator has-violations absolute top-2 right-2 z-10"
2582
2583
  style="pointer-events: auto;"
@@ -2623,7 +2624,7 @@ ${indent}${nextNumber}. `;
2623
2624
  error
2624
2625
  );
2625
2626
  }
2626
- return shared_tailwindElement_index.x`
2627
+ return lit.html`
2627
2628
  <div class=${wrapper()}>
2628
2629
  <div>
2629
2630
  <lukso-form-label
@@ -2647,14 +2648,14 @@ ${indent}${nextNumber}. `;
2647
2648
  </div>
2648
2649
 
2649
2650
  <div class=${area()}>
2650
- ${!this.isPreview ? shared_tailwindElement_index.x`<div class=${editor()}>
2651
+ ${!this.isPreview ? lit.html`<div class=${editor()}>
2651
2652
  <lukso-textarea
2652
2653
  .value=${this.value}
2653
- name=${this.name ? this.name : shared_tailwindElement_index.E}
2654
- size=${this.size ? this.size : shared_tailwindElement_index.E}
2655
- rows=${this.rows ? this.rows : shared_tailwindElement_index.E}
2656
- placeholder=${this.placeholder ? this.placeholder : shared_tailwindElement_index.E}
2657
- error=${this.error ? this.error : shared_tailwindElement_index.E}
2654
+ name=${this.name ? this.name : lit.nothing}
2655
+ size=${this.size ? this.size : lit.nothing}
2656
+ rows=${this.rows ? this.rows : lit.nothing}
2657
+ placeholder=${this.placeholder ? this.placeholder : lit.nothing}
2658
+ error=${this.error ? this.error : lit.nothing}
2658
2659
  ?is-full-width=${true}
2659
2660
  ?is-disabled=${this.isDisabled}
2660
2661
  ?is-readonly=${this.isReadonly}
@@ -2664,7 +2665,7 @@ ${indent}${nextNumber}. `;
2664
2665
  @on-input-click=${this.handleTextareaClick}
2665
2666
  ></lukso-textarea>
2666
2667
  ${this.accessibilityIndicatorTemplate()}
2667
- </div>` : shared_tailwindElement_index.x`<div
2668
+ </div>` : lit.html`<div
2668
2669
  class=${preview()}
2669
2670
  style="background-color: ${this.previewBackgroundColor};"
2670
2671
  >
@@ -2682,98 +2683,98 @@ ${indent}${nextNumber}. `;
2682
2683
  }
2683
2684
  };
2684
2685
  __decorateClass([
2685
- property.n({ type: String })
2686
+ decorators_js.property({ type: String })
2686
2687
  ], exports.LuksoMarkdownEditor.prototype, "value", 2);
2687
2688
  __decorateClass([
2688
- property.n({ type: String, reflect: true })
2689
+ decorators_js.property({ type: String, reflect: true })
2689
2690
  ], exports.LuksoMarkdownEditor.prototype, "name", 2);
2690
2691
  __decorateClass([
2691
- property.n({ type: String })
2692
+ decorators_js.property({ type: String })
2692
2693
  ], exports.LuksoMarkdownEditor.prototype, "label", 2);
2693
2694
  __decorateClass([
2694
- property.n({ type: String })
2695
+ decorators_js.property({ type: String })
2695
2696
  ], exports.LuksoMarkdownEditor.prototype, "description", 2);
2696
2697
  __decorateClass([
2697
- property.n({ type: String })
2698
+ decorators_js.property({ type: String })
2698
2699
  ], exports.LuksoMarkdownEditor.prototype, "error", 2);
2699
2700
  __decorateClass([
2700
- property.n({ type: Boolean, attribute: "is-full-width" })
2701
+ decorators_js.property({ type: Boolean, attribute: "is-full-width" })
2701
2702
  ], exports.LuksoMarkdownEditor.prototype, "isFullWidth", 2);
2702
2703
  __decorateClass([
2703
- property.n({ type: Boolean, attribute: "is-readonly" })
2704
+ decorators_js.property({ type: Boolean, attribute: "is-readonly" })
2704
2705
  ], exports.LuksoMarkdownEditor.prototype, "isReadonly", 2);
2705
2706
  __decorateClass([
2706
- property.n({ type: Boolean, attribute: "is-disabled" })
2707
+ decorators_js.property({ type: Boolean, attribute: "is-disabled" })
2707
2708
  ], exports.LuksoMarkdownEditor.prototype, "isDisabled", 2);
2708
2709
  __decorateClass([
2709
- property.n({ type: Boolean, attribute: "is-non-resizable" })
2710
+ decorators_js.property({ type: Boolean, attribute: "is-non-resizable" })
2710
2711
  ], exports.LuksoMarkdownEditor.prototype, "isNonResizable", 2);
2711
2712
  __decorateClass([
2712
- property.n({ type: Boolean })
2713
+ decorators_js.property({ type: Boolean })
2713
2714
  ], exports.LuksoMarkdownEditor.prototype, "autofocus", 2);
2714
2715
  __decorateClass([
2715
- property.n({ type: String, reflect: true })
2716
+ decorators_js.property({ type: String, reflect: true })
2716
2717
  ], exports.LuksoMarkdownEditor.prototype, "size", 2);
2717
2718
  __decorateClass([
2718
- property.n({ type: Boolean, attribute: "is-preview", reflect: true })
2719
+ decorators_js.property({ type: Boolean, attribute: "is-preview", reflect: true })
2719
2720
  ], exports.LuksoMarkdownEditor.prototype, "isPreview", 2);
2720
2721
  __decorateClass([
2721
- property.n({ type: Number })
2722
+ decorators_js.property({ type: Number })
2722
2723
  ], exports.LuksoMarkdownEditor.prototype, "rows", 2);
2723
2724
  __decorateClass([
2724
- property.n({ type: String })
2725
+ decorators_js.property({ type: String })
2725
2726
  ], exports.LuksoMarkdownEditor.prototype, "placeholder", 2);
2726
2727
  __decorateClass([
2727
- property.n({
2728
+ decorators_js.property({
2728
2729
  type: String,
2729
2730
  attribute: "preview-background-color",
2730
2731
  reflect: true
2731
2732
  })
2732
2733
  ], exports.LuksoMarkdownEditor.prototype, "previewBackgroundColor", 2);
2733
2734
  __decorateClass([
2734
- property.n({ type: String, attribute: "preview-text-color", reflect: true })
2735
+ decorators_js.property({ type: String, attribute: "preview-text-color", reflect: true })
2735
2736
  ], exports.LuksoMarkdownEditor.prototype, "previewTextColor", 2);
2736
2737
  __decorateClass([
2737
- property.n({ type: Boolean, attribute: "strip-html-tags" })
2738
+ decorators_js.property({ type: Boolean, attribute: "strip-html-tags" })
2738
2739
  ], exports.LuksoMarkdownEditor.prototype, "stripHtmlTags", 2);
2739
2740
  __decorateClass([
2740
- property.n({ type: String })
2741
+ decorators_js.property({ type: String })
2741
2742
  ], exports.LuksoMarkdownEditor.prototype, "tools", 2);
2742
2743
  __decorateClass([
2743
- state.r()
2744
+ decorators_js.state()
2744
2745
  ], exports.LuksoMarkdownEditor.prototype, "toolsState", 2);
2745
2746
  __decorateClass([
2746
- state.r()
2747
+ decorators_js.state()
2747
2748
  ], exports.LuksoMarkdownEditor.prototype, "savedSelectionForPreview", 2);
2748
2749
  __decorateClass([
2749
- state.r()
2750
+ decorators_js.state()
2750
2751
  ], exports.LuksoMarkdownEditor.prototype, "isHeadingDropdownOpen", 2);
2751
2752
  __decorateClass([
2752
- state.r()
2753
+ decorators_js.state()
2753
2754
  ], exports.LuksoMarkdownEditor.prototype, "isColorDropdownOpen", 2);
2754
2755
  __decorateClass([
2755
- state.r()
2756
+ decorators_js.state()
2756
2757
  ], exports.LuksoMarkdownEditor.prototype, "isListDropdownOpen", 2);
2757
2758
  __decorateClass([
2758
- state.r()
2759
+ decorators_js.state()
2759
2760
  ], exports.LuksoMarkdownEditor.prototype, "isAlignmentDropdownOpen", 2);
2760
2761
  __decorateClass([
2761
- state.r()
2762
+ decorators_js.state()
2762
2763
  ], exports.LuksoMarkdownEditor.prototype, "currentSelection", 2);
2763
2764
  __decorateClass([
2764
- state.r()
2765
+ decorators_js.state()
2765
2766
  ], exports.LuksoMarkdownEditor.prototype, "savedSelection", 2);
2766
2767
  __decorateClass([
2767
- state.r()
2768
+ decorators_js.state()
2768
2769
  ], exports.LuksoMarkdownEditor.prototype, "activeFormats", 2);
2769
2770
  __decorateClass([
2770
- state.r()
2771
+ decorators_js.state()
2771
2772
  ], exports.LuksoMarkdownEditor.prototype, "accessibilityViolations", 2);
2772
2773
  __decorateClass([
2773
- state.r()
2774
+ decorators_js.state()
2774
2775
  ], exports.LuksoMarkdownEditor.prototype, "hasAccessibilityViolations", 2);
2775
2776
  __decorateClass([
2776
- query.e("lukso-textarea")
2777
+ decorators_js.query("lukso-textarea")
2777
2778
  ], exports.LuksoMarkdownEditor.prototype, "textareaEl", 2);
2778
2779
  exports.LuksoMarkdownEditor = __decorateClass([
2779
2780
  safeCustomElement.safeCustomElement("lukso-markdown-editor")