@luzmo/lucero 0.0.9 → 0.0.10

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 (152) hide show
  1. package/components/accordion/index.cjs +6 -6
  2. package/components/accordion/index.js +8 -7
  3. package/components/action-bar/index.cjs +4 -4
  4. package/components/action-bar/index.js +9 -8
  5. package/components/action-button/index.cjs +2 -2
  6. package/components/action-button/index.js +4 -3
  7. package/components/action-group/index.cjs +1 -1
  8. package/components/action-group/index.js +1 -1
  9. package/components/action-group-BBoV2VL9.cjs +20 -0
  10. package/components/{action-group-enfc-YnW.js → action-group-Bf28z235.js} +8 -7
  11. package/components/action-menu/index.cjs +5 -5
  12. package/components/action-menu/index.js +7 -6
  13. package/components/{async-directive-D_Ter1F8.cjs → async-directive-CV2MII86.cjs} +1 -1
  14. package/components/{async-directive-DWRUSKKF.js → async-directive-FGzMycjH.js} +1 -1
  15. package/components/avatar/index.cjs +3 -3
  16. package/components/avatar/index.js +6 -5
  17. package/components/base-DNrOP9L3.js +391 -0
  18. package/components/base-DzbGOAPo.cjs +30 -0
  19. package/components/button/index.cjs +2 -2
  20. package/components/button/index.js +7 -6
  21. package/components/button-base-C1ceE1LF.cjs +25 -0
  22. package/components/{button-base-B7v4eeRh.js → button-base-CDLQV7Vk.js} +5 -4
  23. package/components/button-group/index.cjs +1 -1
  24. package/components/button-group/index.js +8 -7
  25. package/components/checkbox/index.cjs +4 -4
  26. package/components/checkbox/index.js +4 -3
  27. package/components/{checkbox-mixin-BFGTmw17.js → checkbox-mixin-DXUIwtea.js} +11 -10
  28. package/components/{checkbox-mixin-DUhXwD46.cjs → checkbox-mixin-DaXMsrtV.cjs} +3 -3
  29. package/components/{clear-button-DgZmX5RX.js → clear-button-Dh2Mq0cc.js} +7 -6
  30. package/components/clear-button-pnT9_M8M.cjs +18 -0
  31. package/components/{close-button-CFHQnbsK.js → close-button-BsYkXOVh.js} +5 -4
  32. package/components/close-button-CPtjRQ0R.cjs +18 -0
  33. package/components/color-area/index.cjs +4 -4
  34. package/components/color-area/index.js +10 -9
  35. package/components/color-field/index.cjs +2 -2
  36. package/components/color-field/index.js +3 -2
  37. package/components/color-handle/index.cjs +2 -2
  38. package/components/color-handle/index.js +6 -5
  39. package/components/color-loupe/index.cjs +1 -1
  40. package/components/color-loupe/index.js +1 -1
  41. package/components/{color-loupe-DxcqXoJ6.js → color-loupe-BCfIVFkB.js} +4 -3
  42. package/components/color-loupe-DIBrhG1Y.cjs +56 -0
  43. package/components/color-menu/index.cjs +5 -5
  44. package/components/color-menu/index.js +6 -5
  45. package/components/color-picker/index.cjs +4 -4
  46. package/components/color-picker/index.js +10 -9
  47. package/components/color-slider/index.cjs +4 -4
  48. package/components/color-slider/index.js +6 -5
  49. package/components/{directive-helpers-nlQRAaQt.js → directive-helpers-BLDZnGQv.js} +1 -1
  50. package/components/{directive-helpers-TkFq2eZF.cjs → directive-helpers-C2vOfhFx.cjs} +1 -1
  51. package/components/divider/index.cjs +1 -1
  52. package/components/divider/index.js +6 -5
  53. package/components/field-group/index.cjs +1 -1
  54. package/components/field-group/index.js +1 -1
  55. package/components/{field-group-DAhrTCfl.js → field-group-CwZULltm.js} +6 -5
  56. package/components/field-group-eICRTHzI.cjs +23 -0
  57. package/components/field-label/index.cjs +1 -1
  58. package/components/field-label/index.js +1 -1
  59. package/components/{field-label-CAFfGxEL.js → field-label-C3HFlH91.js} +7 -6
  60. package/components/field-label-DOIVL4S4.cjs +25 -0
  61. package/components/{focusable-cj2QhwDT.js → focusable-zT9NFFYs.js} +1 -1
  62. package/components/{focusable-DGWL1v1p.cjs → focusable-zn6qaMtV.cjs} +1 -1
  63. package/components/icon/index.cjs +1 -1
  64. package/components/icon/index.js +5 -4
  65. package/components/{if-defined-BSAr_4u4.js → if-defined-CYpcjGCb.js} +1 -1
  66. package/components/{if-defined-B56xGmAg.cjs → if-defined-Cv6xanXh.cjs} +2 -2
  67. package/components/{index-DnWavOZD.cjs → index-BYumXRH5.cjs} +15 -15
  68. package/components/{index-CMvLpPKD.js → index-C2qG2Sm8.js} +8 -7
  69. package/components/index.cjs +1 -1
  70. package/components/index.js +16 -16
  71. package/components/infield-button/index.cjs +2 -2
  72. package/components/infield-button/index.js +4 -3
  73. package/components/label/index.cjs +1 -1
  74. package/components/label/index.js +5 -4
  75. package/components/{like-anchor-Bmabl9ra.cjs → like-anchor-CmIcmz5k.cjs} +4 -4
  76. package/components/{like-anchor-QBlvwFfT.js → like-anchor-DoJWh4Uu.js} +9 -8
  77. package/components/lit-html-B3ugcwD9.js +248 -0
  78. package/components/lit-html-p4Oxv2-5.cjs +24 -0
  79. package/components/{manage-help-text-OHXDgxyj.cjs → manage-help-text-BKlmmlgp.cjs} +2 -2
  80. package/components/{manage-help-text-Cozl9Sgn.js → manage-help-text-BzWK2v8i.js} +6 -6
  81. package/components/menu/index.cjs +1 -1
  82. package/components/menu/index.js +1 -1
  83. package/components/multi-language-field/index.cjs +2 -2
  84. package/components/multi-language-field/index.js +7 -6
  85. package/components/number-field/index.cjs +4 -4
  86. package/components/number-field/index.js +16 -15
  87. package/components/{observe-slot-text-ggb4kKgY.js → observe-slot-text-BG0H7bQK.js} +1 -1
  88. package/components/{observe-slot-text-CrYB2Pj-.cjs → observe-slot-text-CP_EB97X.cjs} +1 -1
  89. package/components/overlay/index.cjs +7 -7
  90. package/components/overlay/index.js +35 -33
  91. package/components/overlay-B1JDPmUJ.cjs +47 -0
  92. package/components/{overlay-CJ9by37f.js → overlay-D7EbnA6E.js} +9 -8
  93. package/components/{pending-state-Do522lTd.cjs → pending-state-BHCOneQ7.cjs} +2 -2
  94. package/components/{pending-state-TJj1x9xn.js → pending-state-DHXuiejX.js} +2 -2
  95. package/components/picker/index.cjs +1 -1
  96. package/components/picker/index.js +2 -2
  97. package/components/{picker-DDx8ii73.cjs → picker-CLKdhX0B.cjs} +25 -25
  98. package/components/{picker-833Apxe4.js → picker-ChtCbFLB.js} +21 -19
  99. package/components/popover/index.cjs +1 -1
  100. package/components/popover/index.js +1 -1
  101. package/components/popover-CdkB6GFb.cjs +30 -0
  102. package/components/{popover-DlkzrLpl.js → popover-bg0EQQ8p.js} +6 -5
  103. package/components/progress-circle/index.cjs +1 -1
  104. package/components/progress-circle/index.js +1 -1
  105. package/components/{progress-circle-Be24kv6B.js → progress-circle-BT2qW7LK.js} +6 -5
  106. package/components/progress-circle-DTeqfeun.cjs +33 -0
  107. package/components/radio/index.cjs +2 -2
  108. package/components/radio/index.js +7 -6
  109. package/components/search/index.cjs +8 -8
  110. package/components/search/index.js +4 -3
  111. package/components/{sized-mixin-D9LkrMjb.cjs → sized-mixin-BEemErtP.cjs} +1 -1
  112. package/components/{sized-mixin-BxMraZLS.js → sized-mixin-PyCYpyQq.js} +1 -1
  113. package/components/slider/index.cjs +1 -1
  114. package/components/slider/index.js +6 -5
  115. package/components/{state-CYxk12SV.js → state-BG4JQVA1.js} +1 -1
  116. package/components/{state-C5I1gP3G.cjs → state-DHaIxrnQ.cjs} +1 -1
  117. package/components/streaming-listener-BQxEN4sL.cjs +18 -0
  118. package/components/{streaming-listener-CCalHg57.js → streaming-listener-wjMvsv4N.js} +2 -2
  119. package/components/{style-map-uMq-yDJ3.cjs → style-map-BjBGQ_u3.cjs} +2 -2
  120. package/components/{style-map-Ct2LiEds.js → style-map-BqvQDFJt.js} +1 -1
  121. package/components/swatch/index.cjs +7 -7
  122. package/components/swatch/index.js +5 -4
  123. package/components/switch/index.cjs +2 -2
  124. package/components/switch/index.js +5 -4
  125. package/components/tags/index.cjs +4 -4
  126. package/components/tags/index.js +12 -11
  127. package/components/text-field/index.cjs +3 -3
  128. package/components/text-field/index.js +8 -7
  129. package/components/{text-field-CvKSS59x.js → text-field-7ITo3Lac.js} +29 -27
  130. package/components/{text-field-5_ev9way.cjs → text-field-CtUKbEQN.cjs} +15 -15
  131. package/components/toast/index.cjs +11 -11
  132. package/components/toast/index.js +5 -4
  133. package/components/tooltip/index.cjs +4 -4
  134. package/components/tooltip/index.js +6 -5
  135. package/components/unit-input/index.cjs +3 -3
  136. package/components/unit-input/index.js +6 -5
  137. package/components/utils.cjs +1 -1
  138. package/components/utils.js +4 -4
  139. package/package.json +1 -1
  140. package/components/action-group-Uimj-MJP.cjs +0 -20
  141. package/components/base-B7Pfl2if.cjs +0 -40
  142. package/components/base-CawdqE7p.js +0 -666
  143. package/components/button-base-DmjYs2s9.cjs +0 -25
  144. package/components/clear-button-KdrF2jaV.cjs +0 -18
  145. package/components/close-button-DVGUppyd.cjs +0 -18
  146. package/components/color-loupe-SskbNeMp.cjs +0 -56
  147. package/components/field-group-DSY2HUoj.cjs +0 -23
  148. package/components/field-label-CjsQ3ujK.cjs +0 -25
  149. package/components/overlay-Deh6Ki6I.cjs +0 -47
  150. package/components/popover-BGOgXaka.cjs +0 -30
  151. package/components/progress-circle-NNbCMK2i.cjs +0 -33
  152. package/components/streaming-listener-KVex1WWB.cjs +0 -18
@@ -15,11 +15,12 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- import { a as d, r as p, x as g, n as c } from "./base-CawdqE7p.js";
19
- import { s as h } from "./mutation-controller-DH7YOCyj.js";
18
+ import { unsafeCSS as d, html as p } from "lit";
19
+ import { s as g } from "./mutation-controller-DH7YOCyj.js";
20
+ import { a as h, n as c } from "./base-DNrOP9L3.js";
20
21
  import { e as b } from "./query-D_KR_GUc.js";
21
22
  import { R as m } from "./roving-tabindex-DOg4z6ZU.js";
22
- import { S as v } from "./sized-mixin-BxMraZLS.js";
23
+ import { S as v } from "./sized-mixin-PyCYpyQq.js";
23
24
  const z = ":host{gap:var(--luzmo-action-group-horizontal-spacing-regular, var(--action-group-horizontal-spacing-regular));flex-wrap:wrap;display:flex}::slotted(*){flex-shrink:0}::slotted(:focus-visible){z-index:3}:host(:not([vertical]):not([compact])) ::slotted(*){flex-shrink:0}:host([vertical]){gap:var(--luzmo-action-group-vertical-spacing-regular, var(--action-group-vertical-spacing-regular));flex-direction:column;display:inline-flex}:host([compact]){gap:var(--luzmo-action-group-gap-size-compact, var(--action-group-gap-size-compact))}:host([compact]:not([quiet])){flex-wrap:nowrap}:host([compact]:not([quiet])) ::slotted(*){border-radius:var(--luzmo-action-group-border-radius-reset, var(--action-group-border-radius-reset));z-index:0;position:relative}:host([compact]:not([quiet])) ::slotted(:first-child){--luzmo-actionbutton-focus-indicator-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) 0px 0px var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-start-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-inline-start:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([compact]:not([quiet])) ::slotted(:not(:first-child)){--luzmo-actionbutton-focus-indicator-border-radius: 0px;margin-inline-start:var(--luzmo-action-group-horizontal-spacing-compact, var(--action-group-horizontal-spacing-compact));margin-inline-end:var(--luzmo-action-group-horizontal-spacing-compact, var(--action-group-horizontal-spacing-compact))}:host([compact]:not([quiet])) ::slotted(:last-child){--luzmo-actionbutton-focus-indicator-border-radius: 0px var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0px;border-start-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-inline-start:var(--luzmo-action-group-horizontal-spacing-compact, var(--action-group-horizontal-spacing-compact));margin-inline-end:var(--luzmo-action-group-border-radius-reset, var(--action-group-border-radius-reset))}:host([compact]:not([quiet])) ::slotted([selected]){z-index:1}@media (hover: hover){:host([compact]:not([quiet])) ::slotted(:hover){z-index:2}}:host([compact]:not([quiet])) ::slotted(:focus-visible){z-index:3}:host([compact]:not([quiet])[vertical]){gap:var(--luzmo-action-group-gap-size-compact, var(--action-group-gap-size-compact))}:host([compact][vertical]:not([quiet])) ::slotted(*){border-radius:var(--luzmo-action-group-border-radius-reset, var(--action-group-border-radius-reset))}:host([compact][vertical]:not([quiet])) ::slotted(:first-child){--luzmo-actionbutton-focus-indicator-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0px 0px;border-start-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-start-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-block-start:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-block-end:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-inline-end:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([compact][vertical]:not([quiet])) ::slotted(:not(:first-child)){margin-block-start:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset));margin-block-end:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-inline-start:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset));margin-inline-end:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([compact][vertical]:not([quiet])) ::slotted(:last-child){--luzmo-actionbutton-focus-indicator-border-radius: 0px 0px var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-end-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));border-end-start-radius:var(--luzmo-action-group-border-radius, var(--action-group-border-radius));margin-block-start:var(--luzmo-action-group-vertical-spacing-compact, var(--action-group-vertical-spacing-compact));margin-block-end:var(--luzmo-action-group-button-spacing-reset, var(--action-group-button-spacing-reset))}:host([justified]) ::slotted(*){flex:1}:host{--action-group-gap-size-compact: 0px;--action-group-horizontal-spacing-compact: -1px;--action-group-vertical-spacing-compact: -1px;--action-group-button-spacing-reset: 0px;--action-group-border-radius-reset: 0px;--action-group-border-radius: var(--luzmo-border-radius);--action-group-horizontal-spacing-regular: var(--luzmo-spacing-3);--action-group-vertical-spacing-regular: var(--luzmo-spacing-3)}:host([size=xs]),:host([size=s]){--action-group-horizontal-spacing-regular: var(--luzmo-spacing-2);--action-group-vertical-spacing-regular: var(--luzmo-spacing-2)}:host,:host([size=l]),:host([size=xl]){--action-group-horizontal-spacing-regular: var(--luzmo-spacing-3);--action-group-vertical-spacing-regular: var(--luzmo-spacing-3)}:host([dir][compact][vertical]) ::slotted(:nth-child(n)){margin-right:0;margin-left:0}:host([justified]) ::slotted(:not([role])),:host([vertical]) ::slotted(:not([role])){display:flex;flex-direction:column;align-items:stretch}:host([compact]:not([quiet])) ::slotted(:not([role])){--overriden-border-radius: 0;--luzmo-action-button-border-radius: var(--overriden-border-radius)}:host([compact][vertical]:not([quiet])) ::slotted(:not([role]):first-child){--overriden-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0 0}:host([compact][vertical]:not([quiet])) ::slotted(:not([role]):last-child){--overriden-border-radius: 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:not([role]):first-child){--overriden-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:not([role]):first-child){--overriden-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:not([role]):last-child){--overriden-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:not([role]):last-child){--overriden-border-radius: var( --luzmo-action-group-border-radius, var(--action-group-border-radius) ) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([compact]:not([quiet])) ::slotted(*){--luzmo-action-button-focus-ring-border-radius: 0}:host([compact][vertical]:not([quiet])) ::slotted(:first-child){--luzmo-action-button-focus-ring-border-radius: var(--luzmo-border-radius) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0 0}:host([compact][vertical]:not([quiet])) ::slotted(:last-child){--luzmo-action-button-focus-ring-border-radius: 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:first-child){--luzmo-action-button-focus-ring-border-radius: var(--luzmo-border-radius) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:first-child){--luzmo-action-button-focus-ring-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=ltr][compact]:not([quiet],[vertical])) ::slotted(:last-child){--luzmo-action-button-focus-ring-border-radius: 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) var(--luzmo-action-group-border-radius, var(--action-group-border-radius)) 0}:host([dir=rtl][compact]:not([quiet],[vertical])) ::slotted(:last-child){--luzmo-action-button-focus-ring-border-radius: var(--luzmo-border-radius) 0 0 var(--luzmo-action-group-border-radius, var(--action-group-border-radius))}";
24
25
  var f = Object.defineProperty, x = Object.getOwnPropertyDescriptor, s = (n, t, r, e) => {
25
26
  for (var o = e > 1 ? void 0 : e ? x(t, r) : t, a = n.length - 1, i; a >= 0; a--)
@@ -27,7 +28,7 @@ var f = Object.defineProperty, x = Object.getOwnPropertyDescriptor, s = (n, t, r
27
28
  return e && o && f(t, r, o), o;
28
29
  };
29
30
  const l = [];
30
- class u extends v(d, {
31
+ class u extends v(h, {
31
32
  validSizes: ["xs", "s", "m", "l", "xl"],
32
33
  noDefaultSize: !0
33
34
  }) {
@@ -66,7 +67,7 @@ class u extends v(d, {
66
67
  }), this.setSelected([...this.selected, ...e]);
67
68
  }
68
69
  this.manageChildren(), this.manageSelects(), this.hasManaged = !0;
69
- }, new h(this, {
70
+ }, new g(this, {
70
71
  config: {
71
72
  childList: !0,
72
73
  subtree: !0
@@ -78,7 +79,7 @@ class u extends v(d, {
78
79
  });
79
80
  }
80
81
  static get styles() {
81
- return [p(z)];
82
+ return [d(z)];
82
83
  }
83
84
  set buttons(t) {
84
85
  t !== this.buttons && (this._buttons = t, this.rovingTabindexController.clearElementCache());
@@ -201,7 +202,7 @@ class u extends v(d, {
201
202
  this.hasAttribute("role") || this.setAttribute("role", "toolbar");
202
203
  }
203
204
  render() {
204
- return g`
205
+ return p`
205
206
  <slot role="presentation" @slotchange=${this.manageButtons}></slot>
206
207
  `;
207
208
  }
@@ -15,8 +15,8 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("@luzmo/icons"),o=require("../base-B7Pfl2if.cjs"),b=require("../state-C5I1gP3G.cjs"),u=require("../if-defined-B56xGmAg.cjs"),m=require("../index-DnWavOZD.cjs"),p=require("../observe-slot-text-CrYB2Pj-.cjs"),v=require("../slottable-request-event-BfUUt1Mh.cjs"),d=require("../picker-DDx8ii73.cjs");require("../action-button/index.cjs");require("../icon/index.cjs");require("../overlay/index.cjs");require("../popover/index.cjs");const y=":host{display:inline-flex}:host([quiet]){min-width:0}:host>luzmo-menu{display:none}::slotted([slot=icon]){flex-shrink:0}.icon{flex-shrink:0}#popover{max-width:none}:host([dir=ltr]) ::slotted([slot=icon]),:host([dir=ltr]) .icon{margin-left:calc(-1 * (var(--luzmo-action-button-textonly-padding-left-adjusted) - var(--luzmo-action-button-padding-left-adjusted)))}:host([dir=rtl]) ::slotted([slot=icon]),:host([dir=rtl]) .icon{margin-right:calc(-1 * (var(--luzmo-action-button-textonly-padding-left-adjusted) - var(--luzmo-action-button-padding-left-adjusted)))}:host([dir]) slot[icon-only]::slotted([slot=icon]),:host([dir]) slot[icon-only] .icon{margin-inline:calc((var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)) - var(--luzmo-action-button-edge-to-visual-only, var(--action-button-edge-to-visual-only))) * -1)}luzmo-overlay:not(:defined){display:none}";var f=Object.defineProperty,z=Object.getOwnPropertyDescriptor,c=(l,t,s,i)=>{for(var e=i>1?void 0:i?z(t,s):t,r=l.length-1,a;r>=0;r--)(a=l[r])&&(e=(i?a(t,s,e):a(e))||e);return i&&e&&f(t,s,e),e};class n extends m.ObserveSlotPresence(p.ObserveSlotText(d.LuzmoPickerBase,"label"),'[slot="label-only"]'){constructor(){super(...arguments),this.selects=void 0,this.listRole="menu",this.itemRole="menuitem",this.handleSlottableRequest=t=>{this.dispatchEvent(new v.SlottableRequestEvent(t.name,t.data))}}static get styles(){return[o.r(y)]}get hasLabel(){return this.slotHasContent}get labelOnly(){return this.slotContentIsPresent}get buttonContent(){return[o.x`
19
- ${this.labelOnly?o.x``:o.x`
18
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("@luzmo/icons"),o=require("lit"),h=require("../base-DzbGOAPo.cjs"),b=require("../state-DHaIxrnQ.cjs"),u=require("../if-defined-Cv6xanXh.cjs"),p=require("../index-BYumXRH5.cjs"),v=require("../observe-slot-text-CP_EB97X.cjs"),y=require("../slottable-request-event-BfUUt1Mh.cjs"),d=require("../picker-CLKdhX0B.cjs");require("../action-button/index.cjs");require("../icon/index.cjs");require("../overlay/index.cjs");require("../popover/index.cjs");const f=":host{display:inline-flex}:host([quiet]){min-width:0}:host>luzmo-menu{display:none}::slotted([slot=icon]){flex-shrink:0}.icon{flex-shrink:0}#popover{max-width:none}:host([dir=ltr]) ::slotted([slot=icon]),:host([dir=ltr]) .icon{margin-left:calc(-1 * (var(--luzmo-action-button-textonly-padding-left-adjusted) - var(--luzmo-action-button-padding-left-adjusted)))}:host([dir=rtl]) ::slotted([slot=icon]),:host([dir=rtl]) .icon{margin-right:calc(-1 * (var(--luzmo-action-button-textonly-padding-left-adjusted) - var(--luzmo-action-button-padding-left-adjusted)))}:host([dir]) slot[icon-only]::slotted([slot=icon]),:host([dir]) slot[icon-only] .icon{margin-inline:calc((var(--luzmo-action-button-edge-to-text, var(--action-button-edge-to-text)) - var(--luzmo-action-button-edge-to-visual-only, var(--action-button-edge-to-visual-only))) * -1)}luzmo-overlay:not(:defined){display:none}";var z=Object.defineProperty,g=Object.getOwnPropertyDescriptor,c=(l,t,s,i)=>{for(var e=i>1?void 0:i?g(t,s):t,r=l.length-1,a;r>=0;r--)(a=l[r])&&(e=(i?a(t,s,e):a(e))||e);return i&&e&&z(t,s,e),e};class n extends p.ObserveSlotPresence(v.ObserveSlotText(d.LuzmoPickerBase,"label"),'[slot="label-only"]'){constructor(){super(...arguments),this.selects=void 0,this.listRole="menu",this.itemRole="menuitem",this.handleSlottableRequest=t=>{this.dispatchEvent(new y.SlottableRequestEvent(t.name,t.data))}}static get styles(){return[o.unsafeCSS(f)]}get hasLabel(){return this.slotHasContent}get labelOnly(){return this.slotContentIsPresent}get buttonContent(){return[o.html`
19
+ ${this.labelOnly?o.html``:o.html`
20
20
  <slot
21
21
  name="icon"
22
22
  slot="icon"
@@ -25,7 +25,7 @@
25
25
  >
26
26
  <luzmo-icon
27
27
  class="icon"
28
- .icon=${h.luzmoEllipsisHorizontal}
28
+ .icon=${m.luzmoEllipsisHorizontal}
29
29
  size=${this.size}
30
30
  ></luzmo-icon>
31
31
  </slot>
@@ -33,7 +33,7 @@
33
33
  <slot name="label" ?hidden=${!this.hasLabel}></slot>
34
34
  <slot name="label-only"></slot>
35
35
  <slot name="tooltip" @slotchange=${this.handleTooltipSlotchange}></slot>
36
- `]}render(){return this.tooltipEl&&(this.tooltipEl.disabled=this.open),o.x`
36
+ `]}render(){return this.tooltipEl&&(this.tooltipEl.disabled=this.open),o.html`
37
37
  <luzmo-action-button
38
38
  aria-describedby=${d.DESCRIPTION_ID}
39
39
  ?quiet=${this.quiet}
@@ -53,4 +53,4 @@
53
53
  ${this.buttonContent}
54
54
  </luzmo-action-button>
55
55
  ${this.renderMenu} ${this.renderDescriptionSlot}
56
- `}update(t){t.has("invalid")&&(this.invalid=!1),super.update(t)}}c([o.n({type:String})],n.prototype,"selects",2);c([o.n({reflect:!0,attribute:"static-color"})],n.prototype,"staticColor",2);c([b.r()],n.prototype,"labelOnly",1);customElements.get("luzmo-action-menu")||customElements.define("luzmo-action-menu",n);exports.LuzmoActionMenu=n;
56
+ `}update(t){t.has("invalid")&&(this.invalid=!1),super.update(t)}}c([h.n({type:String})],n.prototype,"selects",2);c([h.n({reflect:!0,attribute:"static-color"})],n.prototype,"staticColor",2);c([b.r()],n.prototype,"labelOnly",1);customElements.get("luzmo-action-menu")||customElements.define("luzmo-action-menu",n);exports.LuzmoActionMenu=n;
@@ -16,13 +16,14 @@
16
16
  * SOFTWARE.
17
17
  * */
18
18
  import { luzmoEllipsisHorizontal as z } from "@luzmo/icons";
19
- import { r as b, x as r, n as c } from "../base-CawdqE7p.js";
20
- import { r as h } from "../state-CYxk12SV.js";
21
- import { o as a } from "../if-defined-BSAr_4u4.js";
22
- import { O as p } from "../index-CMvLpPKD.js";
23
- import { O as f } from "../observe-slot-text-ggb4kKgY.js";
19
+ import { unsafeCSS as b, html as r } from "lit";
20
+ import { n as c } from "../base-DNrOP9L3.js";
21
+ import { r as h } from "../state-BG4JQVA1.js";
22
+ import { o as a } from "../if-defined-CYpcjGCb.js";
23
+ import { O as p } from "../index-C2qG2Sm8.js";
24
+ import { O as f } from "../observe-slot-text-BG0H7bQK.js";
24
25
  import { S as g } from "../slottable-request-event-DggLA4Rx.js";
25
- import { L as x, D as v } from "../picker-833Apxe4.js";
26
+ import { L as x, D as v } from "../picker-ChtCbFLB.js";
26
27
  import "../action-button/index.js";
27
28
  import "../icon/index.js";
28
29
  import "../overlay/index.js";
@@ -15,7 +15,7 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- "use strict";const $=require("./directive-helpers-TkFq2eZF.cjs"),c=require("./directive-C7oCP5Bh.cjs");/**
18
+ "use strict";const $=require("./directive-helpers-C2vOfhFx.cjs"),c=require("./directive-C7oCP5Bh.cjs");/**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
@@ -15,7 +15,7 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- import { f as _ } from "./directive-helpers-nlQRAaQt.js";
18
+ import { f as _ } from "./directive-helpers-BLDZnGQv.js";
19
19
  import { i as f, t as A } from "./directive-oAbCiebi.js";
20
20
  /**
21
21
  * @license
@@ -15,10 +15,10 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../base-B7Pfl2if.cjs"),l=require("../query-BL-TJj7K.cjs"),u=require("../if-defined-B56xGmAg.cjs"),d=require("../focusable-DGWL1v1p.cjs"),z=require("../like-anchor-Bmabl9ra.cjs"),v=require("../sized-mixin-D9LkrMjb.cjs"),h='@media (forced-colors: active){:host{--highcontrast-avatar-focus-indicator-color: CanvasText}}:host{--avatar-border-radius: var( --luzmo-avatar-border-radius, var(--luzmo-avatar-size, var(--avatar-size)) );inline-size:var(--luzmo-avatar-size, var(--avatar-size));block-size:var(--luzmo-avatar-size, var(--avatar-size));border-radius:var(--avatar-border-radius);-webkit-user-drag:none;-webkit-user-select:none;user-select:none;opacity:var(--luzmo-avatar-color-opacity, var(--avatar-color-opacity));border-width:0;outline:none;display:inline-block;position:relative;overflow:visible}:host([disabled]){opacity:var(--highcontrast-avatar-color-opacity-disabled, var(--luzmo-avatar-color-opacity-disabled, var(--avatar-color-opacity-disabled)))}:host(:not([disabled])) .is-focused:after,:host(:not([disabled])) .link:focus-visible:after{pointer-events:none;content:"";inline-size:calc(var(--luzmo-avatar-custom-size, var(--luzmo-avatar-size, var(--avatar-size))) + var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) * 2);block-size:calc(var(--luzmo-avatar-custom-size, var(--luzmo-avatar-size, var(--avatar-size))) + var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) * 2);border-style:solid;border-width:var(--luzmo-avatar-focus-indicator-thickness, var(--avatar-focus-indicator-thickness));border-color:var(--highcontrast-avatar-focus-indicator-color, var(--luzmo-avatar-focus-indicator-color, var(--avatar-focus-indicator-color)));border-radius:var(--avatar-border-radius);position:absolute;inset-block-start:calc((var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) + var(--luzmo-avatar-focus-indicator-thickness, var(--avatar-focus-indicator-thickness))) * -1);inset-inline-start:calc((var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) + var(--luzmo-avatar-focus-indicator-thickness, var(--avatar-focus-indicator-thickness))) * -1)}.link{outline:0}.image{inline-size:var(--luzmo-avatar-size, var(--avatar-size));block-size:var(--luzmo-avatar-size, var(--avatar-size));border-radius:var(--avatar-border-radius)}:host([rounding=none]){border-radius:0}:host([rounding=none]) img{border-radius:0}:host([rounding=full]){border-radius:100%}:host([rounding=full]) img{border-radius:100%}:host([border=light]){border:var(--luzmo-avatar-border-width, var(--avatar-border-width)) solid var(--luzmo-avatar-border-color, var(--avatar-border-color))}:host([border=none]){border:0}:host{--avatar-color-opacity: 1;--avatar-border-width: var(--luzmo-border-width);--avatar-border-color: var(--luzmo-border-color);--avatar-size: 32px;--avatar-focus-indicator-thickness: var(--luzmo-indicator-width);--avatar-focus-indicator-gap: var(--luzmo-indicator-gap);--avatar-focus-indicator-color: var(--luzmo-indicator-color);--avatar-color-opacity-disabled: .3}:host([size=xxs]){--avatar-size: var(--luzmo-component-height-xxs)}:host([size=xs]){--avatar-size: var(--luzmo-component-height-xs)}:host([size=s]){--avatar-size: var(--luzmo-component-height-s)}:host{--avatar-size: var(--luzmo-component-height)}:host([size=l]){--avatar-size: var(--luzmo-component-height-l)}:host([size=xl]){--avatar-size: var(--luzmo-component-height-xl)}:host([size=xxl]){--avatar-size: var(--luzmo-component-height-xxl)}img{vertical-align:top}';var m=Object.defineProperty,e=(i,o,n,b)=>{for(var a=void 0,s=i.length-1,c;s>=0;s--)(c=i[s])&&(a=c(o,n,a)||a);return a&&m(o,n,a),a};class r extends z.LikeAnchor(v.SizedMixin(d.Focusable,{validSizes:Object.values(v.ElementSizes)})){constructor(){super(...arguments),this.src=""}static get styles(){return[t.r(h)]}get focusElement(){return this.anchorElement||this}render(){const o=t.x`
18
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("lit"),s=require("../base-DzbGOAPo.cjs"),u=require("../query-BL-TJj7K.cjs"),d=require("../if-defined-Cv6xanXh.cjs"),z=require("../focusable-zn6qaMtV.cjs"),h=require("../like-anchor-CmIcmz5k.cjs"),l=require("../sized-mixin-BEemErtP.cjs"),m='@media (forced-colors: active){:host{--highcontrast-avatar-focus-indicator-color: CanvasText}}:host{--avatar-border-radius: var( --luzmo-avatar-border-radius, var(--luzmo-avatar-size, var(--avatar-size)) );inline-size:var(--luzmo-avatar-size, var(--avatar-size));block-size:var(--luzmo-avatar-size, var(--avatar-size));border-radius:var(--avatar-border-radius);-webkit-user-drag:none;-webkit-user-select:none;user-select:none;opacity:var(--luzmo-avatar-color-opacity, var(--avatar-color-opacity));border-width:0;outline:none;display:inline-block;position:relative;overflow:visible}:host([disabled]){opacity:var(--highcontrast-avatar-color-opacity-disabled, var(--luzmo-avatar-color-opacity-disabled, var(--avatar-color-opacity-disabled)))}:host(:not([disabled])) .is-focused:after,:host(:not([disabled])) .link:focus-visible:after{pointer-events:none;content:"";inline-size:calc(var(--luzmo-avatar-custom-size, var(--luzmo-avatar-size, var(--avatar-size))) + var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) * 2);block-size:calc(var(--luzmo-avatar-custom-size, var(--luzmo-avatar-size, var(--avatar-size))) + var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) * 2);border-style:solid;border-width:var(--luzmo-avatar-focus-indicator-thickness, var(--avatar-focus-indicator-thickness));border-color:var(--highcontrast-avatar-focus-indicator-color, var(--luzmo-avatar-focus-indicator-color, var(--avatar-focus-indicator-color)));border-radius:var(--avatar-border-radius);position:absolute;inset-block-start:calc((var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) + var(--luzmo-avatar-focus-indicator-thickness, var(--avatar-focus-indicator-thickness))) * -1);inset-inline-start:calc((var(--luzmo-avatar-focus-indicator-gap, var(--avatar-focus-indicator-gap)) + var(--luzmo-avatar-focus-indicator-thickness, var(--avatar-focus-indicator-thickness))) * -1)}.link{outline:0}.image{inline-size:var(--luzmo-avatar-size, var(--avatar-size));block-size:var(--luzmo-avatar-size, var(--avatar-size));border-radius:var(--avatar-border-radius)}:host([rounding=none]){border-radius:0}:host([rounding=none]) img{border-radius:0}:host([rounding=full]){border-radius:100%}:host([rounding=full]) img{border-radius:100%}:host([border=light]){border:var(--luzmo-avatar-border-width, var(--avatar-border-width)) solid var(--luzmo-avatar-border-color, var(--avatar-border-color))}:host([border=none]){border:0}:host{--avatar-color-opacity: 1;--avatar-border-width: var(--luzmo-border-width);--avatar-border-color: var(--luzmo-border-color);--avatar-size: 32px;--avatar-focus-indicator-thickness: var(--luzmo-indicator-width);--avatar-focus-indicator-gap: var(--luzmo-indicator-gap);--avatar-focus-indicator-color: var(--luzmo-indicator-color);--avatar-color-opacity-disabled: .3}:host([size=xxs]){--avatar-size: var(--luzmo-component-height-xxs)}:host([size=xs]){--avatar-size: var(--luzmo-component-height-xs)}:host([size=s]){--avatar-size: var(--luzmo-component-height-s)}:host{--avatar-size: var(--luzmo-component-height)}:host([size=l]){--avatar-size: var(--luzmo-component-height-l)}:host([size=xl]){--avatar-size: var(--luzmo-component-height-xl)}:host([size=xxl]){--avatar-size: var(--luzmo-component-height-xxl)}img{vertical-align:top}';var b=Object.defineProperty,t=(e,o,n,f)=>{for(var a=void 0,i=e.length-1,c;i>=0;i--)(c=e[i])&&(a=c(o,n,a)||a);return a&&b(o,n,a),a};class r extends h.LikeAnchor(l.SizedMixin(z.Focusable,{validSizes:Object.values(l.ElementSizes)})){constructor(){super(...arguments),this.src=""}static get styles(){return[v.unsafeCSS(m)]}get focusElement(){return this.anchorElement||this}render(){const o=v.html`
19
19
  <img
20
20
  class="image"
21
- alt=${u.o(this.label||void 0)}
21
+ alt=${d.o(this.label||void 0)}
22
22
  src=${this.src}
23
23
  />
24
- `;return this.href?this.renderAnchor({id:"link",className:"link",anchorContent:o}):o}}e([t.n({type:String,reflect:!0})],r.prototype,"border");e([t.n({type:String,reflect:!0})],r.prototype,"rounding");e([l.e("#link")],r.prototype,"anchorElement");e([t.n()],r.prototype,"src");customElements.get("luzmo-avatar")||customElements.define("luzmo-avatar",r);exports.LuzmoAvatar=r;
24
+ `;return this.href?this.renderAnchor({id:"link",className:"link",anchorContent:o}):o}}t([s.n({type:String,reflect:!0})],r.prototype,"border");t([s.n({type:String,reflect:!0})],r.prototype,"rounding");t([u.e("#link")],r.prototype,"anchorElement");t([s.n()],r.prototype,"src");customElements.get("luzmo-avatar")||customElements.define("luzmo-avatar",r);exports.LuzmoAvatar=r;
@@ -15,12 +15,13 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
- import { r as n, x as m, n as i } from "../base-CawdqE7p.js";
18
+ import { unsafeCSS as n, html as m } from "lit";
19
+ import { n as i } from "../base-DNrOP9L3.js";
19
20
  import { e as d } from "../query-D_KR_GUc.js";
20
- import { o as z } from "../if-defined-BSAr_4u4.js";
21
- import { F as v } from "../focusable-cj2QhwDT.js";
22
- import { L as b } from "../like-anchor-QBlvwFfT.js";
23
- import { S as f, E as h } from "../sized-mixin-BxMraZLS.js";
21
+ import { o as z } from "../if-defined-CYpcjGCb.js";
22
+ import { F as v } from "../focusable-zT9NFFYs.js";
23
+ import { L as b } from "../like-anchor-DoJWh4Uu.js";
24
+ import { S as f, E as h } from "../sized-mixin-PyCYpyQq.js";
24
25
  const u = () => {
25
26
  if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
26
27
  const o = document.createElement("style");
@@ -0,0 +1,391 @@
1
+ /*! * Lucero - The design system for Luzmo.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
6
+ * This license allows users with a current active Luzmo account to use Lucero.
7
+ * This license terminates automatically if a user no longer has an active Luzmo account.
8
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
9
+ *
10
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
+ * SOFTWARE.
17
+ * */
18
+ import { LitElement as w } from "lit";
19
+ /**
20
+ * @license
21
+ * Copyright 2019 Google LLC
22
+ * SPDX-License-Identifier: BSD-3-Clause
23
+ */
24
+ const u = globalThis, y = u.ShadowRoot && (u.ShadyCSS === void 0 || u.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, v = Symbol(), $ = /* @__PURE__ */ new WeakMap();
25
+ let P = class {
26
+ constructor(t, e, s) {
27
+ if (this._$cssResult$ = !0, s !== v) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
28
+ this.cssText = t, this.t = e;
29
+ }
30
+ get styleSheet() {
31
+ let t = this.o;
32
+ const e = this.t;
33
+ if (y && t === void 0) {
34
+ const s = e !== void 0 && e.length === 1;
35
+ s && (t = $.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && $.set(e, t));
36
+ }
37
+ return t;
38
+ }
39
+ toString() {
40
+ return this.cssText;
41
+ }
42
+ };
43
+ const U = (r) => new P(typeof r == "string" ? r : r + "", void 0, v), C = (r, t) => {
44
+ if (y) r.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
45
+ else for (const e of t) {
46
+ const s = document.createElement("style"), i = u.litNonce;
47
+ i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, r.appendChild(s);
48
+ }
49
+ }, S = y ? (r) => r : (r) => r instanceof CSSStyleSheet ? ((t) => {
50
+ let e = "";
51
+ for (const s of t.cssRules) e += s.cssText;
52
+ return U(e);
53
+ })(r) : r;
54
+ /**
55
+ * @license
56
+ * Copyright 2017 Google LLC
57
+ * SPDX-License-Identifier: BSD-3-Clause
58
+ */
59
+ const { is: A, defineProperty: O, getOwnPropertyDescriptor: M, getOwnPropertyNames: R, getOwnPropertySymbols: T, getPrototypeOf: L } = Object, h = globalThis, _ = h.trustedTypes, k = _ ? _.emptyScript : "", m = h.reactiveElementPolyfillSupport, d = (r, t) => r, p = { toAttribute(r, t) {
60
+ switch (t) {
61
+ case Boolean:
62
+ r = r ? k : null;
63
+ break;
64
+ case Object:
65
+ case Array:
66
+ r = r == null ? r : JSON.stringify(r);
67
+ }
68
+ return r;
69
+ }, fromAttribute(r, t) {
70
+ let e = r;
71
+ switch (t) {
72
+ case Boolean:
73
+ e = r !== null;
74
+ break;
75
+ case Number:
76
+ e = r === null ? null : Number(r);
77
+ break;
78
+ case Object:
79
+ case Array:
80
+ try {
81
+ e = JSON.parse(r);
82
+ } catch {
83
+ e = null;
84
+ }
85
+ }
86
+ return e;
87
+ } }, g = (r, t) => !A(r, t), b = { attribute: !0, type: String, converter: p, reflect: !1, hasChanged: g };
88
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), h.litPropertyMetadata ?? (h.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
89
+ class l extends HTMLElement {
90
+ static addInitializer(t) {
91
+ this._$Ei(), (this.l ?? (this.l = [])).push(t);
92
+ }
93
+ static get observedAttributes() {
94
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
95
+ }
96
+ static createProperty(t, e = b) {
97
+ if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
98
+ const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
99
+ i !== void 0 && O(this.prototype, t, i);
100
+ }
101
+ }
102
+ static getPropertyDescriptor(t, e, s) {
103
+ const { get: i, set: n } = M(this.prototype, t) ?? { get() {
104
+ return this[e];
105
+ }, set(o) {
106
+ this[e] = o;
107
+ } };
108
+ return { get() {
109
+ return i == null ? void 0 : i.call(this);
110
+ }, set(o) {
111
+ const a = i == null ? void 0 : i.call(this);
112
+ n.call(this, o), this.requestUpdate(t, a, s);
113
+ }, configurable: !0, enumerable: !0 };
114
+ }
115
+ static getPropertyOptions(t) {
116
+ return this.elementProperties.get(t) ?? b;
117
+ }
118
+ static _$Ei() {
119
+ if (this.hasOwnProperty(d("elementProperties"))) return;
120
+ const t = L(this);
121
+ t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
122
+ }
123
+ static finalize() {
124
+ if (this.hasOwnProperty(d("finalized"))) return;
125
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(d("properties"))) {
126
+ const e = this.properties, s = [...R(e), ...T(e)];
127
+ for (const i of s) this.createProperty(i, e[i]);
128
+ }
129
+ const t = this[Symbol.metadata];
130
+ if (t !== null) {
131
+ const e = litPropertyMetadata.get(t);
132
+ if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
133
+ }
134
+ this._$Eh = /* @__PURE__ */ new Map();
135
+ for (const [e, s] of this.elementProperties) {
136
+ const i = this._$Eu(e, s);
137
+ i !== void 0 && this._$Eh.set(i, e);
138
+ }
139
+ this.elementStyles = this.finalizeStyles(this.styles);
140
+ }
141
+ static finalizeStyles(t) {
142
+ const e = [];
143
+ if (Array.isArray(t)) {
144
+ const s = new Set(t.flat(1 / 0).reverse());
145
+ for (const i of s) e.unshift(S(i));
146
+ } else t !== void 0 && e.push(S(t));
147
+ return e;
148
+ }
149
+ static _$Eu(t, e) {
150
+ const s = e.attribute;
151
+ return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
152
+ }
153
+ constructor() {
154
+ super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
155
+ }
156
+ _$Ev() {
157
+ var t;
158
+ this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
159
+ }
160
+ addController(t) {
161
+ var e;
162
+ (this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
163
+ }
164
+ removeController(t) {
165
+ var e;
166
+ (e = this._$EO) == null || e.delete(t);
167
+ }
168
+ _$E_() {
169
+ const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
170
+ for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
171
+ t.size > 0 && (this._$Ep = t);
172
+ }
173
+ createRenderRoot() {
174
+ const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
175
+ return C(t, this.constructor.elementStyles), t;
176
+ }
177
+ connectedCallback() {
178
+ var t;
179
+ this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
180
+ var s;
181
+ return (s = e.hostConnected) == null ? void 0 : s.call(e);
182
+ });
183
+ }
184
+ enableUpdating(t) {
185
+ }
186
+ disconnectedCallback() {
187
+ var t;
188
+ (t = this._$EO) == null || t.forEach((e) => {
189
+ var s;
190
+ return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
191
+ });
192
+ }
193
+ attributeChangedCallback(t, e, s) {
194
+ this._$AK(t, s);
195
+ }
196
+ _$EC(t, e) {
197
+ var n;
198
+ const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
199
+ if (i !== void 0 && s.reflect === !0) {
200
+ const o = (((n = s.converter) == null ? void 0 : n.toAttribute) !== void 0 ? s.converter : p).toAttribute(e, s.type);
201
+ this._$Em = t, o == null ? this.removeAttribute(i) : this.setAttribute(i, o), this._$Em = null;
202
+ }
203
+ }
204
+ _$AK(t, e) {
205
+ var n;
206
+ const s = this.constructor, i = s._$Eh.get(t);
207
+ if (i !== void 0 && this._$Em !== i) {
208
+ const o = s.getPropertyOptions(i), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : p;
209
+ this._$Em = i, this[i] = a.fromAttribute(e, o.type), this._$Em = null;
210
+ }
211
+ }
212
+ requestUpdate(t, e, s) {
213
+ if (t !== void 0) {
214
+ if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? g)(this[t], e)) return;
215
+ this.P(t, e, s);
216
+ }
217
+ this.isUpdatePending === !1 && (this._$ES = this._$ET());
218
+ }
219
+ P(t, e, s) {
220
+ this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
221
+ }
222
+ async _$ET() {
223
+ this.isUpdatePending = !0;
224
+ try {
225
+ await this._$ES;
226
+ } catch (e) {
227
+ Promise.reject(e);
228
+ }
229
+ const t = this.scheduleUpdate();
230
+ return t != null && await t, !this.isUpdatePending;
231
+ }
232
+ scheduleUpdate() {
233
+ return this.performUpdate();
234
+ }
235
+ performUpdate() {
236
+ var s;
237
+ if (!this.isUpdatePending) return;
238
+ if (!this.hasUpdated) {
239
+ if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
240
+ for (const [n, o] of this._$Ep) this[n] = o;
241
+ this._$Ep = void 0;
242
+ }
243
+ const i = this.constructor.elementProperties;
244
+ if (i.size > 0) for (const [n, o] of i) o.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], o);
245
+ }
246
+ let t = !1;
247
+ const e = this._$AL;
248
+ try {
249
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((i) => {
250
+ var n;
251
+ return (n = i.hostUpdate) == null ? void 0 : n.call(i);
252
+ }), this.update(e)) : this._$EU();
253
+ } catch (i) {
254
+ throw t = !1, this._$EU(), i;
255
+ }
256
+ t && this._$AE(e);
257
+ }
258
+ willUpdate(t) {
259
+ }
260
+ _$AE(t) {
261
+ var e;
262
+ (e = this._$EO) == null || e.forEach((s) => {
263
+ var i;
264
+ return (i = s.hostUpdated) == null ? void 0 : i.call(s);
265
+ }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
266
+ }
267
+ _$EU() {
268
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
269
+ }
270
+ get updateComplete() {
271
+ return this.getUpdateComplete();
272
+ }
273
+ getUpdateComplete() {
274
+ return this._$ES;
275
+ }
276
+ shouldUpdate(t) {
277
+ return !0;
278
+ }
279
+ update(t) {
280
+ this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
281
+ }
282
+ updated(t) {
283
+ }
284
+ firstUpdated(t) {
285
+ }
286
+ }
287
+ l.elementStyles = [], l.shadowRootOptions = { mode: "open" }, l[d("elementProperties")] = /* @__PURE__ */ new Map(), l[d("finalized")] = /* @__PURE__ */ new Map(), m == null || m({ ReactiveElement: l }), (h.reactiveElementVersions ?? (h.reactiveElementVersions = [])).push("2.0.4");
288
+ /**
289
+ * @license
290
+ * Copyright 2017 Google LLC
291
+ * SPDX-License-Identifier: BSD-3-Clause
292
+ */
293
+ const z = { attribute: !0, type: String, converter: p, reflect: !1, hasChanged: g }, x = (r = z, t, e) => {
294
+ const { kind: s, metadata: i } = e;
295
+ let n = globalThis.litPropertyMetadata.get(i);
296
+ if (n === void 0 && globalThis.litPropertyMetadata.set(i, n = /* @__PURE__ */ new Map()), n.set(e.name, r), s === "accessor") {
297
+ const { name: o } = e;
298
+ return { set(a) {
299
+ const c = t.get.call(this);
300
+ t.set.call(this, a), this.requestUpdate(o, c, r);
301
+ }, init(a) {
302
+ return a !== void 0 && this.P(o, void 0, r), a;
303
+ } };
304
+ }
305
+ if (s === "setter") {
306
+ const { name: o } = e;
307
+ return function(a) {
308
+ const c = this[o];
309
+ t.call(this, a), this.requestUpdate(o, c, r);
310
+ };
311
+ }
312
+ throw Error("Unsupported decorator location: " + s);
313
+ };
314
+ function H(r) {
315
+ return (t, e) => typeof e == "object" ? x(r, t, e) : ((s, i, n) => {
316
+ const o = i.hasOwnProperty(n);
317
+ return i.constructor.createProperty(n, o ? { ...s, wrapped: !0 } : s), o ? Object.getOwnPropertyDescriptor(i, n) : void 0;
318
+ })(r, t, e);
319
+ }
320
+ const E = /* @__PURE__ */ new Set(), D = () => {
321
+ const r = document.documentElement.dir === "rtl" ? document.documentElement.dir : "ltr";
322
+ E.forEach((t) => {
323
+ t.setAttribute("dir", r);
324
+ });
325
+ }, N = new MutationObserver(D);
326
+ N.observe(document.documentElement, {
327
+ attributes: !0,
328
+ attributeFilter: ["dir"]
329
+ });
330
+ const j = (r) => r.startManagingContentDirection !== void 0 || r.tagName === "LUZMO-THEME";
331
+ function q(r) {
332
+ class t extends r {
333
+ /**
334
+ * @private
335
+ */
336
+ get isLTR() {
337
+ return this.dir === "ltr";
338
+ }
339
+ hasVisibleFocusInTree() {
340
+ const i = ((n = document) => {
341
+ var c;
342
+ let o = n.activeElement;
343
+ for (; o != null && o.shadowRoot && o.shadowRoot.activeElement; )
344
+ o = o.shadowRoot.activeElement;
345
+ const a = o ? [o] : [];
346
+ for (; o; ) {
347
+ const f = o.assignedSlot || o.parentElement || ((c = o.getRootNode()) == null ? void 0 : c.host);
348
+ f && a.push(f), o = f;
349
+ }
350
+ return a;
351
+ })(this.getRootNode())[0];
352
+ if (!i)
353
+ return !1;
354
+ try {
355
+ return i.matches(":focus-visible") || i.matches(".focus-visible");
356
+ } catch {
357
+ return i.matches(".focus-visible");
358
+ }
359
+ }
360
+ connectedCallback() {
361
+ if (!this.hasAttribute("dir")) {
362
+ let s = this.assignedSlot || this.parentNode;
363
+ for (; s !== document.documentElement && !j(s); )
364
+ s = s.assignedSlot || // step into the shadow DOM of the parent of a slotted node
365
+ s.parentNode || // DOM Element detected
366
+ s.host;
367
+ if (this.dir = s.dir === "rtl" ? s.dir : this.dir || "ltr", s === document.documentElement)
368
+ E.add(this);
369
+ else {
370
+ const { localName: i } = s;
371
+ i.search("-") > -1 && !customElements.get(i) ? customElements.whenDefined(i).then(() => {
372
+ s.startManagingContentDirection(this);
373
+ }) : s.startManagingContentDirection(this);
374
+ }
375
+ this._dirParent = s;
376
+ }
377
+ super.connectedCallback();
378
+ }
379
+ disconnectedCallback() {
380
+ super.disconnectedCallback(), this._dirParent && (this._dirParent === document.documentElement ? E.delete(this) : this._dirParent.stopManagingContentDirection(this), this.removeAttribute("dir"));
381
+ }
382
+ }
383
+ return t;
384
+ }
385
+ class I extends q(w) {
386
+ }
387
+ export {
388
+ q as L,
389
+ I as a,
390
+ H as n
391
+ };
@@ -0,0 +1,30 @@
1
+ /*! * Lucero - The design system for Luzmo.
2
+ *
3
+ * Copyright © 2025 Luzmo
4
+ * All rights reserved.
5
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
6
+ * This license allows users with a current active Luzmo account to use Lucero.
7
+ * This license terminates automatically if a user no longer has an active Luzmo account.
8
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
9
+ *
10
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
11
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
12
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
13
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
14
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
15
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
+ * SOFTWARE.
17
+ * */
18
+ "use strict";const P=require("lit");/**
19
+ * @license
20
+ * Copyright 2019 Google LLC
21
+ * SPDX-License-Identifier: BSD-3-Clause
22
+ */const u=globalThis,y=u.ShadowRoot&&(u.ShadyCSS===void 0||u.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,v=Symbol(),$=new WeakMap;let U=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==v)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(y&&t===void 0){const s=e!==void 0&&e.length===1;s&&(t=$.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&$.set(e,t))}return t}toString(){return this.cssText}};const C=r=>new U(typeof r=="string"?r:r+"",void 0,v),A=(r,t)=>{if(y)r.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const e of t){const s=document.createElement("style"),i=u.litNonce;i!==void 0&&s.setAttribute("nonce",i),s.textContent=e.cssText,r.appendChild(s)}},S=y?r=>r:r=>r instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return C(e)})(r):r;/**
23
+ * @license
24
+ * Copyright 2017 Google LLC
25
+ * SPDX-License-Identifier: BSD-3-Clause
26
+ */const{is:O,defineProperty:M,getOwnPropertyDescriptor:R,getOwnPropertyNames:L,getOwnPropertySymbols:T,getPrototypeOf:z}=Object,h=globalThis,_=h.trustedTypes,k=_?_.emptyScript:"",m=h.reactiveElementPolyfillSupport,d=(r,t)=>r,p={toAttribute(r,t){switch(t){case Boolean:r=r?k:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,t){let e=r;switch(t){case Boolean:e=r!==null;break;case Number:e=r===null?null:Number(r);break;case Object:case Array:try{e=JSON.parse(r)}catch{e=null}}return e}},g=(r,t)=>!O(r,t),b={attribute:!0,type:String,converter:p,reflect:!1,hasChanged:g};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),h.litPropertyMetadata??(h.litPropertyMetadata=new WeakMap);class l extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=b){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);i!==void 0&&M(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:n}=R(this.prototype,t)??{get(){return this[e]},set(o){this[e]=o}};return{get(){return i==null?void 0:i.call(this)},set(o){const a=i==null?void 0:i.call(this);n.call(this,o),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(d("elementProperties")))return;const t=z(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d("properties"))){const e=this.properties,s=[...L(e),...T(e)];for(const i of s)this.createProperty(i,e[i])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[s,i]of e)this.elementProperties.set(s,i)}this._$Eh=new Map;for(const[e,s]of this.elementProperties){const i=this._$Eu(e,s);i!==void 0&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const i of s)e.unshift(S(i))}else t!==void 0&&e.push(S(t));return e}static _$Eu(t,e){const s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),this.renderRoot!==void 0&&this.isConnected&&((e=t.hostConnected)==null||e.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return A(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostConnected)==null?void 0:s.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var n;const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(i!==void 0&&s.reflect===!0){const o=(((n=s.converter)==null?void 0:n.toAttribute)!==void 0?s.converter:p).toAttribute(e,s.type);this._$Em=t,o==null?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){var n;const s=this.constructor,i=s._$Eh.get(t);if(i!==void 0&&this._$Em!==i){const o=s.getPropertyOptions(i),a=typeof o.converter=="function"?{fromAttribute:o.converter}:((n=o.converter)==null?void 0:n.fromAttribute)!==void 0?o.converter:p;this._$Em=i,this[i]=a.fromAttribute(e,o.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??g)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,o]of i)o.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(e)):this._$EU()}catch(i){throw t=!1,this._$EU(),i}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(s=>{var i;return(i=s.hostUpdated)==null?void 0:i.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}l.elementStyles=[],l.shadowRootOptions={mode:"open"},l[d("elementProperties")]=new Map,l[d("finalized")]=new Map,m==null||m({ReactiveElement:l}),(h.reactiveElementVersions??(h.reactiveElementVersions=[])).push("2.0.4");/**
27
+ * @license
28
+ * Copyright 2017 Google LLC
29
+ * SPDX-License-Identifier: BSD-3-Clause
30
+ */const x={attribute:!0,type:String,converter:p,reflect:!1,hasChanged:g},D=(r=x,t,e)=>{const{kind:s,metadata:i}=e;let n=globalThis.litPropertyMetadata.get(i);if(n===void 0&&globalThis.litPropertyMetadata.set(i,n=new Map),n.set(e.name,r),s==="accessor"){const{name:o}=e;return{set(a){const c=t.get.call(this);t.set.call(this,a),this.requestUpdate(o,c,r)},init(a){return a!==void 0&&this.P(o,void 0,r),a}}}if(s==="setter"){const{name:o}=e;return function(a){const c=this[o];t.call(this,a),this.requestUpdate(o,c,r)}}throw Error("Unsupported decorator location: "+s)};function N(r){return(t,e)=>typeof e=="object"?D(r,t,e):((s,i,n)=>{const o=i.hasOwnProperty(n);return i.constructor.createProperty(n,o?{...s,wrapped:!0}:s),o?Object.getOwnPropertyDescriptor(i,n):void 0})(r,t,e)}const E=new Set,j=()=>{const r=document.documentElement.dir==="rtl"?document.documentElement.dir:"ltr";E.forEach(t=>{t.setAttribute("dir",r)})},q=new MutationObserver(j);q.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const F=r=>r.startManagingContentDirection!==void 0||r.tagName==="LUZMO-THEME";function w(r){class t extends r{get isLTR(){return this.dir==="ltr"}hasVisibleFocusInTree(){const i=((n=document)=>{var c;let o=n.activeElement;for(;o!=null&&o.shadowRoot&&o.shadowRoot.activeElement;)o=o.shadowRoot.activeElement;const a=o?[o]:[];for(;o;){const f=o.assignedSlot||o.parentElement||((c=o.getRootNode())==null?void 0:c.host);f&&a.push(f),o=f}return a})(this.getRootNode())[0];if(!i)return!1;try{return i.matches(":focus-visible")||i.matches(".focus-visible")}catch{return i.matches(".focus-visible")}}connectedCallback(){if(!this.hasAttribute("dir")){let s=this.assignedSlot||this.parentNode;for(;s!==document.documentElement&&!F(s);)s=s.assignedSlot||s.parentNode||s.host;if(this.dir=s.dir==="rtl"?s.dir:this.dir||"ltr",s===document.documentElement)E.add(this);else{const{localName:i}=s;i.search("-")>-1&&!customElements.get(i)?customElements.whenDefined(i).then(()=>{s.startManagingContentDirection(this)}):s.startManagingContentDirection(this)}this._dirParent=s}super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback(),this._dirParent&&(this._dirParent===document.documentElement?E.delete(this):this._dirParent.stopManagingContentDirection(this),this.removeAttribute("dir"))}}return t}class B extends w(P.LitElement){}exports.LuzmoElement=B;exports.LuzmoMixin=w;exports.n=N;