@luzmo/lucero 0.0.11 → 0.0.12

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 (171) hide show
  1. package/components/accordion/index.cjs +5 -5
  2. package/components/accordion/index.js +9 -10
  3. package/components/action-bar/index.cjs +4 -4
  4. package/components/action-bar/index.js +10 -10
  5. package/components/action-button/index.cjs +2 -2
  6. package/components/action-button/index.js +4 -4
  7. package/components/action-group/index.cjs +1 -1
  8. package/components/action-group/index.js +1 -1
  9. package/components/action-group-B59CWNnT.cjs +20 -0
  10. package/components/{action-group-Bf28z235.js → action-group-DzT5e9uS.js} +8 -9
  11. package/components/action-menu/index.cjs +9 -9
  12. package/components/action-menu/index.js +8 -9
  13. package/components/avatar/index.cjs +3 -3
  14. package/components/avatar/index.js +6 -7
  15. package/components/base-CCsOyfm4.js +632 -0
  16. package/components/base-CaRKlVkL.cjs +36 -0
  17. package/components/button/index.cjs +2 -2
  18. package/components/button/index.js +7 -7
  19. package/components/{button-base-CDLQV7Vk.js → button-base-BUylwU1F.js} +5 -6
  20. package/components/button-base-D62oiPcu.cjs +25 -0
  21. package/components/button-group/index.cjs +1 -1
  22. package/components/button-group/index.js +6 -6
  23. package/components/checkbox/index.cjs +4 -4
  24. package/components/checkbox/index.js +4 -4
  25. package/components/{checkbox-mixin-DXUIwtea.js → checkbox-mixin-CM4VUJxF.js} +9 -10
  26. package/components/{checkbox-mixin-DaXMsrtV.cjs → checkbox-mixin-CifGmiLR.cjs} +3 -3
  27. package/components/{clear-button-Dh2Mq0cc.js → clear-button-BmUyRVoz.js} +4 -4
  28. package/components/clear-button-Cc5-XUOJ.cjs +18 -0
  29. package/components/{close-button-BsYkXOVh.js → close-button-BekXo6bQ.js} +10 -10
  30. package/components/close-button-Bf8yzpLd.cjs +18 -0
  31. package/components/color-area/index.cjs +6 -6
  32. package/components/color-area/index.js +10 -11
  33. package/components/color-field/index.cjs +2 -2
  34. package/components/color-field/index.js +3 -3
  35. package/components/color-handle/index.cjs +2 -2
  36. package/components/color-handle/index.js +6 -6
  37. package/components/color-loupe/index.cjs +1 -1
  38. package/components/color-loupe/index.js +1 -1
  39. package/components/color-loupe-CLzp2MiI.cjs +56 -0
  40. package/components/{color-loupe-BCfIVFkB.js → color-loupe-DiegGLZu.js} +4 -4
  41. package/components/color-menu/index.cjs +5 -5
  42. package/components/color-menu/index.js +5 -7
  43. package/components/color-picker/index.cjs +4 -4
  44. package/components/color-picker/index.js +11 -13
  45. package/components/color-slider/index.cjs +7 -7
  46. package/components/color-slider/index.js +6 -7
  47. package/components/divider/index.cjs +1 -1
  48. package/components/divider/index.js +6 -6
  49. package/components/field-group/index.cjs +1 -1
  50. package/components/field-group/index.js +1 -1
  51. package/components/{field-group-CwZULltm.js → field-group-BPZvGJi1.js} +6 -6
  52. package/components/field-group-CodR_26L.cjs +23 -0
  53. package/components/field-label/index.cjs +1 -1
  54. package/components/field-label/index.js +1 -1
  55. package/components/{field-label-C3HFlH91.js → field-label-6AaW05kA.js} +7 -8
  56. package/components/field-label-B91K6moC.cjs +25 -0
  57. package/components/focusable-BFdecx5l.cjs +18 -0
  58. package/components/{focusable-zT9NFFYs.js → focusable-CxA_NMK_.js} +2 -1
  59. package/components/icon/index.cjs +1 -1
  60. package/components/icon/index.js +6 -6
  61. package/components/index-Cg_y7WKM.cjs +77 -0
  62. package/components/{index-C2qG2Sm8.js → index-QeYYAZQR.js} +15 -18
  63. package/components/index.cjs +1 -1
  64. package/components/index.js +16 -16
  65. package/components/infield-button/index.cjs +2 -2
  66. package/components/infield-button/index.js +4 -4
  67. package/components/label/index.cjs +1 -1
  68. package/components/label/index.js +5 -5
  69. package/components/{like-anchor-DoJWh4Uu.js → like-anchor-D7tY6am5.js} +21 -21
  70. package/components/like-anchor-b3cNzw52.cjs +32 -0
  71. package/components/{manage-help-text-BzWK2v8i.js → manage-help-text-CmE_nfjl.js} +8 -8
  72. package/components/{manage-help-text-BKlmmlgp.cjs → manage-help-text-CoX77cTJ.cjs} +3 -3
  73. package/components/menu/index.cjs +1 -1
  74. package/components/menu/index.js +1 -1
  75. package/components/multi-language-field/index.cjs +2 -2
  76. package/components/multi-language-field/index.js +7 -7
  77. package/components/number-field/index.cjs +4 -4
  78. package/components/number-field/index.js +16 -17
  79. package/components/observe-slot-text-ByPG1Lqw.cjs +18 -0
  80. package/components/{observe-slot-text-BG0H7bQK.js → observe-slot-text-CugmOzNZ.js} +20 -21
  81. package/components/overlay/index.cjs +7 -7
  82. package/components/overlay/index.js +45 -49
  83. package/components/overlay-BWBJGJN_.cjs +47 -0
  84. package/components/{overlay-D7EbnA6E.js → overlay-CtdbWiFs.js} +71 -74
  85. package/components/{pending-state-DHXuiejX.js → pending-state-B_JeaE62.js} +2 -2
  86. package/components/{pending-state-BHCOneQ7.cjs → pending-state-DWvTsSoS.cjs} +2 -2
  87. package/components/picker/index.cjs +1 -1
  88. package/components/picker/index.js +2 -2
  89. package/components/picker-CaC1rQOK.cjs +123 -0
  90. package/components/{picker-ChtCbFLB.js → picker-DwbcFve2.js} +109 -140
  91. package/components/popover/index.cjs +1 -1
  92. package/components/popover/index.js +1 -1
  93. package/components/popover-C4w3aY8m.cjs +30 -0
  94. package/components/{popover-bg0EQQ8p.js → popover-DLFHilGS.js} +6 -7
  95. package/components/progress-circle/index.cjs +1 -1
  96. package/components/progress-circle/index.js +1 -1
  97. package/components/progress-circle-BXyXtMcs.cjs +33 -0
  98. package/components/{progress-circle-BT2qW7LK.js → progress-circle-CUCJ_Ehs.js} +6 -7
  99. package/components/radio/index.cjs +2 -2
  100. package/components/radio/index.js +9 -10
  101. package/components/search/index.cjs +7 -7
  102. package/components/search/index.js +4 -5
  103. package/components/{base-BjTwmyRF.cjs → sized-mixin-DcvJLFeo.cjs} +1 -5
  104. package/components/{sized-mixin-PyCYpyQq.js → sized-mixin-cJbo3PKR.js} +5 -5
  105. package/components/slider/index.cjs +1 -1
  106. package/components/slider/index.js +6 -6
  107. package/components/{streaming-listener-wjMvsv4N.js → streaming-listener-BgCzt2TI.js} +5 -6
  108. package/components/streaming-listener-C2bsIc4J.cjs +18 -0
  109. package/components/swatch/index.cjs +7 -7
  110. package/components/swatch/index.js +11 -12
  111. package/components/switch/index.cjs +2 -2
  112. package/components/switch/index.js +5 -5
  113. package/components/tags/index.cjs +4 -4
  114. package/components/tags/index.js +12 -13
  115. package/components/text-field/index.cjs +3 -3
  116. package/components/text-field/index.js +8 -8
  117. package/components/text-field-BX_aHXSW.js +288 -0
  118. package/components/text-field-DAr2RyH9.cjs +81 -0
  119. package/components/toast/index.cjs +5 -5
  120. package/components/toast/index.js +5 -5
  121. package/components/tooltip/index.cjs +4 -4
  122. package/components/tooltip/index.js +6 -7
  123. package/components/unit-input/index.cjs +6 -6
  124. package/components/unit-input/index.js +5 -6
  125. package/components/utils.cjs +1 -1
  126. package/components/utils.js +4 -4
  127. package/package.json +1 -1
  128. package/components/action-group-BBoV2VL9.cjs +0 -20
  129. package/components/async-directive-CV2MII86.cjs +0 -22
  130. package/components/async-directive-FGzMycjH.js +0 -82
  131. package/components/base-D76d76ww.js +0 -26
  132. package/components/base-DNrOP9L3.js +0 -391
  133. package/components/base-DzbGOAPo.cjs +0 -30
  134. package/components/button-base-C1ceE1LF.cjs +0 -25
  135. package/components/clear-button-pnT9_M8M.cjs +0 -18
  136. package/components/close-button-CPtjRQ0R.cjs +0 -18
  137. package/components/color-loupe-DIBrhG1Y.cjs +0 -56
  138. package/components/directive-C7oCP5Bh.cjs +0 -22
  139. package/components/directive-helpers-BLDZnGQv.js +0 -28
  140. package/components/directive-helpers-C2vOfhFx.cjs +0 -22
  141. package/components/directive-oAbCiebi.js +0 -44
  142. package/components/field-group-eICRTHzI.cjs +0 -23
  143. package/components/field-label-DOIVL4S4.cjs +0 -25
  144. package/components/focusable-zn6qaMtV.cjs +0 -18
  145. package/components/if-defined-CYpcjGCb.js +0 -27
  146. package/components/if-defined-Cv6xanXh.cjs +0 -22
  147. package/components/index-BYumXRH5.cjs +0 -77
  148. package/components/like-anchor-CmIcmz5k.cjs +0 -32
  149. package/components/lit-html-B3ugcwD9.js +0 -248
  150. package/components/lit-html-p4Oxv2-5.cjs +0 -24
  151. package/components/observe-slot-text-CP_EB97X.cjs +0 -18
  152. package/components/overlay-B1JDPmUJ.cjs +0 -47
  153. package/components/picker-CLKdhX0B.cjs +0 -127
  154. package/components/popover-CdkB6GFb.cjs +0 -30
  155. package/components/progress-circle-DTeqfeun.cjs +0 -33
  156. package/components/query-BL-TJj7K.cjs +0 -22
  157. package/components/query-D_KR_GUc.js +0 -51
  158. package/components/query-assigned-elements-DjfhL1cl.js +0 -36
  159. package/components/query-assigned-elements-DsKsfk7G.cjs +0 -22
  160. package/components/query-assigned-nodes-BcKWmGzy.cjs +0 -22
  161. package/components/query-assigned-nodes-C76XVPWY.js +0 -36
  162. package/components/sized-mixin-BEemErtP.cjs +0 -18
  163. package/components/state-BG4JQVA1.js +0 -29
  164. package/components/state-DHaIxrnQ.cjs +0 -22
  165. package/components/streaming-listener-BQxEN4sL.cjs +0 -18
  166. package/components/style-map-BjBGQ_u3.cjs +0 -22
  167. package/components/style-map-BqvQDFJt.js +0 -53
  168. package/components/text-field-7ITo3Lac.js +0 -315
  169. package/components/text-field-CtUKbEQN.cjs +0 -85
  170. package/components/when-CDK1Tt5Y.js +0 -28
  171. package/components/when-CDZyJPvd.cjs +0 -22
@@ -1,22 +0,0 @@
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 $=require("./directive-helpers-C2vOfhFx.cjs"),c=require("./directive-C7oCP5Bh.cjs");/**
19
- * @license
20
- * Copyright 2017 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */const r=(t,e)=>{var i;const s=t._$AN;if(s===void 0)return!1;for(const n of s)(i=n._$AO)==null||i.call(n,e,!1),r(n,e);return!0},h=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while((s==null?void 0:s.size)===0)},_=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),f(e)}};function A(t){this._$AN!==void 0?(h(this),this._$AM=t,_(this)):this._$AM=t}function d(t,e=!1,s=0){const i=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(e)if(Array.isArray(i))for(let o=s;o<i.length;o++)r(i[o],!1),h(i[o]);else i!=null&&(r(i,!1),h(i));else r(this,t)}const f=t=>{t.type==c.t.CHILD&&(t._$AP??(t._$AP=d),t._$AQ??(t._$AQ=A))};class l extends c.i{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),_(this),this.isConnected=e._$AU}_$AO(e,s=!0){var i,n;e!==this.isConnected&&(this.isConnected=e,e?(i=this.reconnected)==null||i.call(this):(n=this.disconnected)==null||n.call(this)),s&&(r(this,e),h(this))}setValue(e){if($.f(this._$Ct))this._$Ct._$AI(e,this);else{const s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}}exports.f=l;
@@ -1,82 +0,0 @@
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 { f as _ } from "./directive-helpers-BLDZnGQv.js";
19
- import { i as f, t as A } from "./directive-oAbCiebi.js";
20
- /**
21
- * @license
22
- * Copyright 2017 Google LLC
23
- * SPDX-License-Identifier: BSD-3-Clause
24
- */
25
- const n = (e, t) => {
26
- var i;
27
- const s = e._$AN;
28
- if (s === void 0) return !1;
29
- for (const o of s) (i = o._$AO) == null || i.call(o, t, !1), n(o, t);
30
- return !0;
31
- }, r = (e) => {
32
- let t, s;
33
- do {
34
- if ((t = e._$AM) === void 0) break;
35
- s = t._$AN, s.delete(e), e = t;
36
- } while ((s == null ? void 0 : s.size) === 0);
37
- }, $ = (e) => {
38
- for (let t; t = e._$AM; e = t) {
39
- let s = t._$AN;
40
- if (s === void 0) t._$AN = s = /* @__PURE__ */ new Set();
41
- else if (s.has(e)) break;
42
- s.add(e), l(t);
43
- }
44
- };
45
- function c(e) {
46
- this._$AN !== void 0 ? (r(this), this._$AM = e, $(this)) : this._$AM = e;
47
- }
48
- function d(e, t = !1, s = 0) {
49
- const i = this._$AH, o = this._$AN;
50
- if (o !== void 0 && o.size !== 0) if (t) if (Array.isArray(i)) for (let h = s; h < i.length; h++) n(i[h], !1), r(i[h]);
51
- else i != null && (n(i, !1), r(i));
52
- else n(this, e);
53
- }
54
- const l = (e) => {
55
- e.type == A.CHILD && (e._$AP ?? (e._$AP = d), e._$AQ ?? (e._$AQ = c));
56
- };
57
- class C extends f {
58
- constructor() {
59
- super(...arguments), this._$AN = void 0;
60
- }
61
- _$AT(t, s, i) {
62
- super._$AT(t, s, i), $(this), this.isConnected = t._$AU;
63
- }
64
- _$AO(t, s = !0) {
65
- var i, o;
66
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (o = this.disconnected) == null || o.call(this)), s && (n(this, t), r(this));
67
- }
68
- setValue(t) {
69
- if (_(this._$Ct)) this._$Ct._$AI(t, this);
70
- else {
71
- const s = [...this._$Ct._$AH];
72
- s[this._$Ci] = t, this._$Ct._$AI(s, this, 0);
73
- }
74
- }
75
- disconnected() {
76
- }
77
- reconnected() {
78
- }
79
- }
80
- export {
81
- C as f
82
- };
@@ -1,26 +0,0 @@
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
- /**
19
- * @license
20
- * Copyright 2017 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */
23
- const o = (r, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(r, t, e), e);
24
- export {
25
- o as e
26
- };
@@ -1,391 +0,0 @@
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
- };
@@ -1,30 +0,0 @@
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;
@@ -1,25 +0,0 @@
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 i=require("lit"),h=require("./base-DzbGOAPo.cjs"),c=require("./query-BL-TJj7K.cjs"),u=require("./focusable-zn6qaMtV.cjs"),p=require("./like-anchor-CmIcmz5k.cjs"),d=require("./observe-slot-text-CP_EB97X.cjs"),b=":host{display:inline-flex;vertical-align:top;--parent-element-progress-circle-size: 18px;--icon-size: 18px}:host([dir]){-webkit-appearance:none}:host([disabled]){pointer-events:none;cursor:auto}#button{position:absolute;top:0;right:0;bottom:0;left:0}::slotted(luzmo-overlay),::slotted(luzmo-tooltip){position:absolute}:host:after{pointer-events:none}::slotted(*){pointer-events:none}::slotted([slot=icon]){--parent-element-icon-vertical-align: 0}slot[name=icon]::slotted(svg),slot[name=icon]::slotted(img){fill:currentcolor;stroke:currentcolor;block-size:var(--luzmo-button-icon-size, var(--icon-size));inline-size:var(--luzmo-button-icon-size, var(--icon-size))}[icon-only]+#label{display:contents}:host([size=s]){--parent-element-progress-circle-size: 16px;--icon-size: 16px}:host([size=l]){--parent-element-progress-circle-size: 20px;--icon-size: 20px}:host([size=xl]){--parent-element-progress-circle-size: 22px;--icon-size: 22px}";var f=Object.defineProperty,l=(n,e,t,m)=>{for(var s=void 0,o=n.length-1,a;o>=0;o--)(a=n[o])&&(s=a(e,t,s)||s);return s&&f(e,t,s),s};class r extends d.ObserveSlotText(p.LikeAnchor(u.Focusable),"",["luzmo-overlay,luzmo-tooltip"]){constructor(){super(),this.active=!1,this.type="button",this.proxyFocus=this.proxyFocus.bind(this),this.addEventListener("click",this.handleClickCapture,{capture:!0})}static get styles(){return[i.unsafeCSS(b)]}get focusElement(){return this}get hasLabel(){return this.slotHasContent}get buttonContent(){return[i.html` <slot name="icon" ?icon-only=${!this.hasLabel}></slot> `,i.html`
19
- <span id="label">
20
- <slot @slotchange=${this.manageTextObservedSlot}></slot>
21
- </span>
22
- `]}handleClickCapture(e){if(this.disabled)return e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),!1;this.shouldProxyClick()}proxyFocus(){this.focus()}shouldProxyClick(){let e=!1;if(this.anchorElement)this.anchorElement.click(),e=!0;else if(this.type!=="button"){const t=document.createElement("button");t.type=this.type,this.insertAdjacentElement("afterend",t),t.click(),t.remove(),e=!0}return e}renderAnchor(){return i.html`
23
- ${this.buttonContent}
24
- ${super.renderAnchor({id:"button",ariaHidden:!0,className:"button anchor hidden"})}
25
- `}renderButton(){return i.html` ${this.buttonContent} `}render(){return this.href&&this.href.length>0?this.renderAnchor():this.renderButton()}handleKeydown(e){const{code:t}=e;switch(t){case"Space":{e.preventDefault(),this.href===void 0&&(this.addEventListener("keyup",this.handleKeyup),this.active=!0);break}}}handleKeypress(e){const{code:t}=e;switch(t){case"Enter":case"NumpadEnter":{this.click();break}}}handleKeyup(e){const{code:t}=e;switch(t){case"Space":{this.removeEventListener("keyup",this.handleKeyup),this.active=!1,this.click();break}}}manageAnchor(){this.href&&this.href.length>0?(!this.hasAttribute("role")||this.getAttribute("role")==="button")&&this.setAttribute("role","link"):(!this.hasAttribute("role")||this.getAttribute("role")==="link")&&this.setAttribute("role","button")}firstUpdated(e){super.firstUpdated(e),this.hasAttribute("tabindex")||this.setAttribute("tabindex","0"),e.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label")),this.manageAnchor(),this.addEventListener("keydown",this.handleKeydown),this.addEventListener("keypress",this.handleKeypress)}updated(e){super.updated(e),e.has("href")&&this.manageAnchor(),this.anchorElement&&(this.anchorElement.addEventListener("focus",this.proxyFocus),this.anchorElement.tabIndex=-1)}update(e){super.update(e),e.has("label")&&(this.label?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}}l([h.n({type:Boolean,reflect:!0})],r.prototype,"active");l([h.n({type:String})],r.prototype,"type");l([c.e(".anchor")],r.prototype,"anchorElement");exports.LuzmoButtonBase=r;
@@ -1,18 +0,0 @@
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 n=require("@luzmo/icons"),l=require("lit"),i=require("./base-DzbGOAPo.cjs"),s=require("./sized-mixin-BEemErtP.cjs"),b=require("./button-base-C1ceE1LF.cjs"),d=":host{font-size:var(--luzmo-clear-button-icon-size, var(--clear-button-icon-size));cursor:pointer;background-color:initial;background-color:var(--luzmo-clear-button-background-color, transparent);padding:var(--luzmo-clear-button-padding, var(--clear-button-padding));color:var(--luzmo-clear-button-icon-color, var(--clear-button-icon-color));border:none;border-radius:100%;margin:0}.icon{margin-block:0;margin-inline:auto}@media (hover: hover){:host(:hover){color:var(--highcontrast-clear-button-icon-color-hover, var(--luzmo-clear-button-icon-color-hover, var(--clear-button-icon-color-hover)))}:host(:hover) .fill{background-color:var(--luzmo-clear-button-background-color-hover, var(--clear-button-background-color-hover))}}:host(:is(:active,[active])){color:var(--luzmo-clear-button-icon-color-down, var(--clear-button-icon-color-down))}:host(:is(:active,[active])) .fill{background-color:var(--luzmo-clear-button-background-color-down, var(--clear-button-background-color-down))}:host([focus-within]) .js-focus-within,:host(:focus-visible),:host:focus-within{color:var(--luzmo-clear-button-icon-color-key-focus, var(--clear-button-icon-color-key-focus))}:host([focus-within]) .js-focus-within .fill,:host(:focus-visible) .fill,:host:focus-within .fill{background-color:var(--luzmo-clear-button-background-color-key-focus, var(--clear-button-background-color-key-focus))}:host([disabled]){--clear-button-icon-color: var( --luzmo-clear-button-icon-color-disabled, var(--disabled-content-color) );--clear-button-background-color: var( --luzmo-clear-button-background-color-disabled, transparent )}.fill{background-color:var(--luzmo-clear-button-background-color, var(--clear-button-background-color));inline-size:100%;block-size:100%;border-radius:100%;justify-content:center;align-items:center;display:flex}:host([variant=overBackground]:focus-visible){outline:none}@media (forced-colors: active){:host:not(:disabled){--highcontrast-clear-button-icon-color-hover: Highlight}}:host{--clear-button-background-color: transparent;--clear-button-background-color-hover: transparent;--clear-button-background-color-down: transparent;--clear-button-background-color-key-focus: transparent;--clear-button-icon-size: var(--luzmo-font-size);--clear-button-padding: 0px;--clear-button-icon-color: var(--luzmo-font-color);--clear-button-icon-color-hover: var(--luzmo-font-color-hover);--clear-button-icon-color-down: var(--luzmo-font-color-down);--clear-button-icon-color-key-focus: var(--luzmo-font-color-focus)}:host([size=s]){--clear-button-icon-size: var(--luzmo-font-size-s)}:host([size=l]){--clear-button-icon-size: var(--luzmo-font-size-l)}:host([size=xl]){--clear-button-icon-size: var(--luzmo-font-size-xl)}:host .luzmo-ClearButton--quiet{--clear-button-background-color: transparent;--clear-button-background-color-hover: transparent;--clear-button-background-color-down: transparent;--clear-button-background-color-key-focus: transparent}:host([variant=overBackground]){--clear-button-icon-color: rgb(255, 255, 255);--clear-button-icon-color-hover: rgb(255, 255, 255);--clear-button-icon-color-down: rgb(255, 255, 255);--clear-button-icon-color-key-focus: rgb(255, 255, 255);--clear-button-background-color: transparent;--clear-button-background-color-hover: rgba(255, 255, 255, .25);--clear-button-background-color-down: rgba(255, 255, 255, .4);--clear-button-background-color-key-focus: rgba(255, 255, 255, .25)}:host([disabled]){--clear-button-icon-color: var(--luzmo-disabled-color);--clear-button-icon-color-hover: var(--luzmo-disabled-color);--clear-button-icon-color-down: var(--luzmo-disabled-color);--clear-button-background-color: transparent}:host{box-sizing:border-box}";var v=Object.defineProperty,h=(o,t,a,z)=>{for(var r=void 0,c=o.length-1,e;c>=0;c--)(e=o[c])&&(r=e(t,a,r)||r);return r&&v(t,a,r),r};const g=o=>{const t=o==="s"?n.luzmoClear12:["xl","l"].includes(o)?n.luzmoClear16:n.luzmoClear14;return l.html` <div class="icon" slot="icon">${n.luzmoIcon(t)}</div> `};class u extends s.SizedMixin(b.LuzmoButtonBase,{noDefaultSize:!0}){constructor(){super(...arguments),this.variant=""}static get styles(){return[...super.styles,l.unsafeCSS(d)]}get buttonContent(){return[g(this.size)]}render(){return l.html` <div class="fill">${super.render()}</div> `}}h([i.n({reflect:!0})],u.prototype,"variant");exports.LuzmoClearButton=u;