@luzmo/lucero 1.0.1-alpha.22 → 1.0.1-alpha.23

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 (71) hide show
  1. package/components/accordion/index.cjs +2 -2
  2. package/components/accordion/index.js +1 -1
  3. package/components/action-bar/index.cjs +1 -1
  4. package/components/action-bar/index.js +2 -2
  5. package/components/action-button/index.cjs +1 -1
  6. package/components/action-button/index.js +1 -1
  7. package/components/action-group/index.cjs +1 -1
  8. package/components/action-group/index.js +1 -1
  9. package/components/{action-group-DS7x8jfJ.js → action-group-Bwt9w8Vh.js} +1 -1
  10. package/components/action-group-D917z7XF.cjs +20 -0
  11. package/components/action-menu/index.cjs +1 -1
  12. package/components/action-menu/index.js +2 -2
  13. package/components/button/index.cjs +1 -1
  14. package/components/button/index.js +3 -3
  15. package/components/{button-base-BGAqeDTT.js → button-base-B5uul3tZ.js} +1 -1
  16. package/components/{button-base-CShsEDFM.cjs → button-base-C7or8-FB.cjs} +1 -1
  17. package/components/{clear-button-CMhq1QsA.js → clear-button-BFtJVPzm.js} +1 -1
  18. package/components/{clear-button-BWJrTbkk.cjs → clear-button-_a8GjtJC.cjs} +1 -1
  19. package/components/{close-button-BiJwFZyW.js → close-button-D9qjjy2w.js} +1 -1
  20. package/components/{close-button-DrMdfzPW.cjs → close-button-TZ08VFmi.cjs} +1 -1
  21. package/components/color-area/index.cjs +1 -1
  22. package/components/color-area/index.js +1 -1
  23. package/components/color-palette-group/index.cjs +1 -1
  24. package/components/color-palette-group/index.js +1 -1
  25. package/components/color-slider/index.cjs +1 -1
  26. package/components/color-slider/index.js +1 -1
  27. package/components/date-time-picker/index.cjs +3 -3
  28. package/components/date-time-picker/index.js +1 -1
  29. package/components/index.cjs +1 -1
  30. package/components/index.js +4 -4
  31. package/components/infield-button/index.cjs +1 -1
  32. package/components/infield-button/index.js +1 -1
  33. package/components/menu/index.cjs +3 -3
  34. package/components/menu/index.js +7 -7
  35. package/components/number-field/index.cjs +1 -1
  36. package/components/number-field/index.js +1 -1
  37. package/components/observe-slot-presence-CNltc0C0.cjs +18 -0
  38. package/components/{observe-slot-presence-CmVi0zTc.js → observe-slot-presence-DFi6GE3H.js} +1 -1
  39. package/components/observe-slot-text-CBMHpuIK.cjs +18 -0
  40. package/components/{observe-slot-text-CugmOzNZ.js → observe-slot-text-DorVpCL4.js} +11 -11
  41. package/components/options/index.cjs +26 -30
  42. package/components/options/index.js +198 -252
  43. package/components/overlay/index.cjs +2 -2
  44. package/components/overlay/index.js +24 -25
  45. package/components/picker-button/index.cjs +1 -1
  46. package/components/picker-button/index.js +2 -2
  47. package/components/{streaming-listener-BgU36S1Z.js → streaming-listener-BlWm-XZU.js} +4 -5
  48. package/components/streaming-listener-D9Wc7skA.cjs +18 -0
  49. package/components/swatch/index.cjs +6 -6
  50. package/components/swatch/index.js +2 -2
  51. package/components/tabs/index.cjs +18 -34
  52. package/components/tabs/index.js +192 -527
  53. package/components/tags/index.cjs +1 -1
  54. package/components/tags/index.js +1 -1
  55. package/components/toast/index.cjs +1 -1
  56. package/components/toast/index.js +1 -1
  57. package/components/utils.cjs +1 -1
  58. package/components/utils.js +1 -1
  59. package/package.json +1 -1
  60. package/components/action-group-D6rV7sfq.cjs +0 -20
  61. package/components/async-directive-CDQoI4mS.js +0 -81
  62. package/components/async-directive-CddlkYlZ.cjs +0 -22
  63. package/components/directive-DrvvqO47.cjs +0 -32
  64. package/components/directive-OK_Jd_xx.js +0 -314
  65. package/components/mutation-controller-DH7YOCyj.js +0 -52
  66. package/components/mutation-controller-DkOMCW-c.cjs +0 -22
  67. package/components/observe-slot-presence-bc9chhsi.cjs +0 -18
  68. package/components/observe-slot-text-ByPG1Lqw.cjs +0 -18
  69. package/components/streaming-listener-CfUtuELp.cjs +0 -18
  70. package/components/when-CDK1Tt5Y.js +0 -28
  71. package/components/when-CDZyJPvd.cjs +0 -22
@@ -1,314 +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 y = globalThis, C = y.trustedTypes, E = C ? C.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, W = "$lit$", p = `lit$${Math.random().toFixed(9).slice(2)}$`, k = "?" + p, z = `<${k}>`, f = document, T = () => f.createComment(""), x = (n) => n === null || typeof n != "object" && typeof n != "function", B = Array.isArray, Z = (n) => B(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", I = `[
24
- \f\r]`, m = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, U = /-->/g, P = />/g, u = RegExp(`>|${I}(?:([^\\s"'>=/]+)(${I}*=${I}*(?:[^
25
- \f\r"'\`<>=]|("|')|))|$)`, "g"), L = /'/g, O = /"/g, V = /^(?:script|style|textarea|title)$/i, H = Symbol.for("lit-noChange"), c = Symbol.for("lit-nothing"), R = /* @__PURE__ */ new WeakMap(), g = f.createTreeWalker(f, 129);
26
- function j(n, t) {
27
- if (!B(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
28
- return E !== void 0 ? E.createHTML(t) : t;
29
- }
30
- const F = (n, t) => {
31
- const e = n.length - 1, i = [];
32
- let s, h = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = m;
33
- for (let A = 0; A < e; A++) {
34
- const o = n[A];
35
- let $, _, l = -1, a = 0;
36
- for (; a < o.length && (r.lastIndex = a, _ = r.exec(o), _ !== null); ) a = r.lastIndex, r === m ? _[1] === "!--" ? r = U : _[1] !== void 0 ? r = P : _[2] !== void 0 ? (V.test(_[2]) && (s = RegExp("</" + _[2], "g")), r = u) : _[3] !== void 0 && (r = u) : r === u ? _[0] === ">" ? (r = s ?? m, l = -1) : _[1] === void 0 ? l = -2 : (l = r.lastIndex - _[2].length, $ = _[1], r = _[3] === void 0 ? u : _[3] === '"' ? O : L) : r === O || r === L ? r = u : r === U || r === P ? r = m : (r = u, s = void 0);
37
- const d = r === u && n[A + 1].startsWith("/>") ? " " : "";
38
- h += r === m ? o + z : l >= 0 ? (i.push($), o.slice(0, l) + W + o.slice(l) + p + d) : o + p + (l === -2 ? A : d);
39
- }
40
- return [j(n, h + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
41
- };
42
- class N {
43
- constructor({ strings: t, _$litType$: e }, i) {
44
- let s;
45
- this.parts = [];
46
- let h = 0, r = 0;
47
- const A = t.length - 1, o = this.parts, [$, _] = F(t, e);
48
- if (this.el = N.createElement($, i), g.currentNode = this.el.content, e === 2 || e === 3) {
49
- const l = this.el.content.firstChild;
50
- l.replaceWith(...l.childNodes);
51
- }
52
- for (; (s = g.nextNode()) !== null && o.length < A; ) {
53
- if (s.nodeType === 1) {
54
- if (s.hasAttributes()) for (const l of s.getAttributeNames()) if (l.endsWith(W)) {
55
- const a = _[r++], d = s.getAttribute(l).split(p), M = /([.?@])?(.*)/.exec(a);
56
- o.push({ type: 1, index: h, name: M[2], strings: d, ctor: M[1] === "." ? q : M[1] === "?" ? G : M[1] === "@" ? J : S }), s.removeAttribute(l);
57
- } else l.startsWith(p) && (o.push({ type: 6, index: h }), s.removeAttribute(l));
58
- if (V.test(s.tagName)) {
59
- const l = s.textContent.split(p), a = l.length - 1;
60
- if (a > 0) {
61
- s.textContent = C ? C.emptyScript : "";
62
- for (let d = 0; d < a; d++) s.append(l[d], T()), g.nextNode(), o.push({ type: 2, index: ++h });
63
- s.append(l[a], T());
64
- }
65
- }
66
- } else if (s.nodeType === 8) if (s.data === k) o.push({ type: 2, index: h });
67
- else {
68
- let l = -1;
69
- for (; (l = s.data.indexOf(p, l + 1)) !== -1; ) o.push({ type: 7, index: h }), l += p.length - 1;
70
- }
71
- h++;
72
- }
73
- }
74
- static createElement(t, e) {
75
- const i = f.createElement("template");
76
- return i.innerHTML = t, i;
77
- }
78
- }
79
- function v(n, t, e = n, i) {
80
- var r, A;
81
- if (t === H) return t;
82
- let s = i !== void 0 ? (r = e._$Co) == null ? void 0 : r[i] : e._$Cl;
83
- const h = x(t) ? void 0 : t._$litDirective$;
84
- return (s == null ? void 0 : s.constructor) !== h && ((A = s == null ? void 0 : s._$AO) == null || A.call(s, !1), h === void 0 ? s = void 0 : (s = new h(n), s._$AT(n, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = s : e._$Cl = s), s !== void 0 && (t = v(n, s._$AS(n, t.values), s, i)), t;
85
- }
86
- let Q = class {
87
- constructor(t, e) {
88
- this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
89
- }
90
- get parentNode() {
91
- return this._$AM.parentNode;
92
- }
93
- get _$AU() {
94
- return this._$AM._$AU;
95
- }
96
- u(t) {
97
- const { el: { content: e }, parts: i } = this._$AD, s = ((t == null ? void 0 : t.creationScope) ?? f).importNode(e, !0);
98
- g.currentNode = s;
99
- let h = g.nextNode(), r = 0, A = 0, o = i[0];
100
- for (; o !== void 0; ) {
101
- if (r === o.index) {
102
- let $;
103
- o.type === 2 ? $ = new b(h, h.nextSibling, this, t) : o.type === 1 ? $ = new o.ctor(h, o.name, o.strings, this, t) : o.type === 6 && ($ = new K(h, this, t)), this._$AV.push($), o = i[++A];
104
- }
105
- r !== (o == null ? void 0 : o.index) && (h = g.nextNode(), r++);
106
- }
107
- return g.currentNode = f, s;
108
- }
109
- p(t) {
110
- let e = 0;
111
- for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
112
- }
113
- };
114
- class b {
115
- get _$AU() {
116
- var t;
117
- return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
118
- }
119
- constructor(t, e, i, s) {
120
- this.type = 2, this._$AH = c, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cv = (s == null ? void 0 : s.isConnected) ?? !0;
121
- }
122
- get parentNode() {
123
- let t = this._$AA.parentNode;
124
- const e = this._$AM;
125
- return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
126
- }
127
- get startNode() {
128
- return this._$AA;
129
- }
130
- get endNode() {
131
- return this._$AB;
132
- }
133
- _$AI(t, e = this) {
134
- t = v(this, t, e), x(t) ? t === c || t == null || t === "" ? (this._$AH !== c && this._$AR(), this._$AH = c) : t !== this._$AH && t !== H && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Z(t) ? this.k(t) : this._(t);
135
- }
136
- O(t) {
137
- return this._$AA.parentNode.insertBefore(t, this._$AB);
138
- }
139
- T(t) {
140
- this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
141
- }
142
- _(t) {
143
- this._$AH !== c && x(this._$AH) ? this._$AA.nextSibling.data = t : this.T(f.createTextNode(t)), this._$AH = t;
144
- }
145
- $(t) {
146
- var h;
147
- const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = N.createElement(j(i.h, i.h[0]), this.options)), i);
148
- if (((h = this._$AH) == null ? void 0 : h._$AD) === s) this._$AH.p(e);
149
- else {
150
- const r = new Q(s, this), A = r.u(this.options);
151
- r.p(e), this.T(A), this._$AH = r;
152
- }
153
- }
154
- _$AC(t) {
155
- let e = R.get(t.strings);
156
- return e === void 0 && R.set(t.strings, e = new N(t)), e;
157
- }
158
- k(t) {
159
- B(this._$AH) || (this._$AH = [], this._$AR());
160
- const e = this._$AH;
161
- let i, s = 0;
162
- for (const h of t) s === e.length ? e.push(i = new b(this.O(T()), this.O(T()), this, this.options)) : i = e[s], i._$AI(h), s++;
163
- s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
164
- }
165
- _$AR(t = this._$AA.nextSibling, e) {
166
- var i;
167
- for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
168
- const s = t.nextSibling;
169
- t.remove(), t = s;
170
- }
171
- }
172
- setConnected(t) {
173
- var e;
174
- this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
175
- }
176
- }
177
- class S {
178
- get tagName() {
179
- return this.element.tagName;
180
- }
181
- get _$AU() {
182
- return this._$AM._$AU;
183
- }
184
- constructor(t, e, i, s, h) {
185
- this.type = 1, this._$AH = c, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = h, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = c;
186
- }
187
- _$AI(t, e = this, i, s) {
188
- const h = this.strings;
189
- let r = !1;
190
- if (h === void 0) t = v(this, t, e, 0), r = !x(t) || t !== this._$AH && t !== H, r && (this._$AH = t);
191
- else {
192
- const A = t;
193
- let o, $;
194
- for (t = h[0], o = 0; o < h.length - 1; o++) $ = v(this, A[i + o], e, o), $ === H && ($ = this._$AH[o]), r || (r = !x($) || $ !== this._$AH[o]), $ === c ? t = c : t !== c && (t += ($ ?? "") + h[o + 1]), this._$AH[o] = $;
195
- }
196
- r && !s && this.j(t);
197
- }
198
- j(t) {
199
- t === c ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
200
- }
201
- }
202
- class q extends S {
203
- constructor() {
204
- super(...arguments), this.type = 3;
205
- }
206
- j(t) {
207
- this.element[this.name] = t === c ? void 0 : t;
208
- }
209
- }
210
- class G extends S {
211
- constructor() {
212
- super(...arguments), this.type = 4;
213
- }
214
- j(t) {
215
- this.element.toggleAttribute(this.name, !!t && t !== c);
216
- }
217
- }
218
- class J extends S {
219
- constructor(t, e, i, s, h) {
220
- super(t, e, i, s, h), this.type = 5;
221
- }
222
- _$AI(t, e = this) {
223
- if ((t = v(this, t, e, 0) ?? c) === H) return;
224
- const i = this._$AH, s = t === c && i !== c || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, h = t !== c && (i === c || s);
225
- s && this.element.removeEventListener(this.name, this, i), h && this.element.addEventListener(this.name, this, t), this._$AH = t;
226
- }
227
- handleEvent(t) {
228
- var e;
229
- typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
230
- }
231
- }
232
- class K {
233
- constructor(t, e, i) {
234
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
235
- }
236
- get _$AU() {
237
- return this._$AM._$AU;
238
- }
239
- _$AI(t) {
240
- v(this, t);
241
- }
242
- }
243
- const X = { I: b }, w = y.litHtmlPolyfillSupport;
244
- w == null || w(N, b), (y.litHtmlVersions ?? (y.litHtmlVersions = [])).push("3.2.1");
245
- /**
246
- * @license
247
- * Copyright 2020 Google LLC
248
- * SPDX-License-Identifier: BSD-3-Clause
249
- */
250
- const { I: Y } = X, st = (n) => n.strings === void 0, D = () => document.createComment(""), it = (n, t, e) => {
251
- var h;
252
- const i = n._$AA.parentNode, s = t === void 0 ? n._$AB : t._$AA;
253
- if (e === void 0) {
254
- const r = i.insertBefore(D(), s), A = i.insertBefore(D(), s);
255
- e = new Y(r, A, n, n.options);
256
- } else {
257
- const r = e._$AB.nextSibling, A = e._$AM, o = A !== n;
258
- if (o) {
259
- let $;
260
- (h = e._$AQ) == null || h.call(e, n), e._$AM = n, e._$AP !== void 0 && ($ = n._$AU) !== A._$AU && e._$AP($);
261
- }
262
- if (r !== s || o) {
263
- let $ = e._$AA;
264
- for (; $ !== r; ) {
265
- const _ = $.nextSibling;
266
- i.insertBefore($, s), $ = _;
267
- }
268
- }
269
- }
270
- return e;
271
- }, nt = (n, t, e = n) => (n._$AI(t, e), n), tt = {}, rt = (n, t = tt) => n._$AH = t, ot = (n) => n._$AH, ht = (n) => {
272
- var i;
273
- (i = n._$AP) == null || i.call(n, !1, !0);
274
- let t = n._$AA;
275
- const e = n._$AB.nextSibling;
276
- for (; t !== e; ) {
277
- const s = t.nextSibling;
278
- t.remove(), t = s;
279
- }
280
- };
281
- /**
282
- * @license
283
- * Copyright 2017 Google LLC
284
- * SPDX-License-Identifier: BSD-3-Clause
285
- */
286
- const $t = { CHILD: 2 }, lt = (n) => (...t) => ({ _$litDirective$: n, values: t });
287
- class At {
288
- constructor(t) {
289
- }
290
- get _$AU() {
291
- return this._$AM._$AU;
292
- }
293
- _$AT(t, e, i) {
294
- this._$Ct = t, this._$AM = e, this._$Ci = i;
295
- }
296
- _$AS(t, e) {
297
- return this.update(t, e);
298
- }
299
- update(t, e) {
300
- return this.render(...e);
301
- }
302
- }
303
- export {
304
- ht as M,
305
- H as T,
306
- lt as e,
307
- st as f,
308
- At as i,
309
- rt as m,
310
- ot as p,
311
- it as r,
312
- $t as t,
313
- nt as v
314
- };
@@ -1,52 +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 2021 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */
23
- class a {
24
- constructor(t, { target: s, config: e, callback: i, skipInitial: h }) {
25
- this.t = /* @__PURE__ */ new Set(), this.o = !1, this.i = !1, this.h = t, s !== null && this.t.add(s ?? t), this.l = e, this.o = h ?? this.o, this.callback = i, window.MutationObserver ? (this.u = new MutationObserver((o) => {
26
- this.handleChanges(o), this.h.requestUpdate();
27
- }), t.addController(this)) : console.warn("MutationController error: browser does not support MutationObserver.");
28
- }
29
- handleChanges(t) {
30
- var s;
31
- this.value = (s = this.callback) == null ? void 0 : s.call(this, t, this.u);
32
- }
33
- hostConnected() {
34
- for (const t of this.t) this.observe(t);
35
- }
36
- hostDisconnected() {
37
- this.disconnect();
38
- }
39
- async hostUpdated() {
40
- const t = this.u.takeRecords();
41
- (t.length || !this.o && this.i) && this.handleChanges(t), this.i = !1;
42
- }
43
- observe(t) {
44
- this.t.add(t), this.u.observe(t, this.l), this.i = !0, this.h.requestUpdate();
45
- }
46
- disconnect() {
47
- this.u.disconnect();
48
- }
49
- }
50
- export {
51
- a as s
52
- };
@@ -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";/**
19
- * @license
20
- * Copyright 2021 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */class n{constructor(t,{target:s,config:e,callback:i,skipInitial:h}){this.t=new Set,this.o=!1,this.i=!1,this.h=t,s!==null&&this.t.add(s??t),this.l=e,this.o=h??this.o,this.callback=i,window.MutationObserver?(this.u=new MutationObserver(o=>{this.handleChanges(o),this.h.requestUpdate()}),t.addController(this)):console.warn("MutationController error: browser does not support MutationObserver.")}handleChanges(t){var s;this.value=(s=this.callback)==null?void 0:s.call(this,t,this.u)}hostConnected(){for(const t of this.t)this.observe(t)}hostDisconnected(){this.disconnect()}async hostUpdated(){const t=this.u.takeRecords();(t.length||!this.o&&this.i)&&this.handleChanges(t),this.i=!1}observe(t){this.t.add(t),this.u.observe(t,this.l),this.i=!0,this.h.requestUpdate()}disconnect(){this.u.disconnect()}}exports.s=n;
@@ -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 g=require("./mutation-controller-DkOMCW-c.cjs"),e=Symbol("slotContentIsPresent");function b(a,r){var i,l;const n=Array.isArray(r)?r:[r];class c extends(l=a,i=e,l){constructor(...t){super(t),this[i]=new Map,this.managePresenceObservedSlot=()=>{let o=!1;n.forEach(s=>{const h=!!this.querySelector(`:scope > ${s}`),u=this[e].get(s)||!1;o=o||u!==h,this[e].set(s,!!this.querySelector(`:scope > ${s}`))}),o&&this.updateComplete.then(()=>{this.requestUpdate()})},new g.s(this,{config:{childList:!0,subtree:!0},callback:()=>{this.managePresenceObservedSlot()}}),this.managePresenceObservedSlot()}get slotContentIsPresent(){if(n.length===1)return this[e].get(n[0])||!1;throw new Error("Multiple selectors provided to `ObserveSlotPresence` use `getSlotContentPresence(selector: string)` instead.")}getSlotContentPresence(t){if(this[e].has(t))return this[e].get(t)||!1;throw new Error(`The provided selector \`${t}\` is not being observed.`)}}return c}exports.ObserveSlotPresence=b;
@@ -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 g=require("./mutation-controller-DkOMCW-c.cjs"),h=require("lit/decorators.js");var x=Object.defineProperty,p=(d,n,i,u)=>{for(var t=void 0,r=d.length-1,o;r>=0;r--)(o=d[r])&&(t=o(n,i,t)||t);return t&&x(n,i,t),t};const c=Symbol("assignedNodes");function m(d,n,i=[]){var u,t;const r=f=>e=>f.matches(e);class o extends(t=d,u=c,t){constructor(...e){super(e),this.slotHasContent=!1,new g.s(this,{config:{characterData:!0,subtree:!0},callback:l=>{for(const s of l)if(s.type==="characterData"){this.manageTextObservedSlot();return}}})}manageTextObservedSlot(){if(!this[c])return;const e=[...this[c]].filter(l=>{const s=l;return s.tagName?!i.some(r(s)):s.textContent?s.textContent.trim():!1});this.slotHasContent=e.length>0}update(e){if(!this.hasUpdated){const{childNodes:l}=this,s=[...l].filter(b=>{const a=b;return a.tagName?i.some(r(a))?!1:n?a.getAttribute("slot")===n:!a.hasAttribute("slot"):a.textContent?a.textContent.trim():!1});this.slotHasContent=s.length>0}super.update(e)}firstUpdated(e){super.firstUpdated(e),this.updateComplete.then(()=>{this.manageTextObservedSlot()})}}return p([h.property({type:Boolean,attribute:!1})],o.prototype,"slotHasContent"),p([h.queryAssignedNodes({slot:n,flatten:!0})],o.prototype,u),o}exports.ObserveSlotText=m;
@@ -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 a=require("lit"),d=require("./async-directive-CddlkYlZ.cjs"),m=require("./directive-DrvvqO47.cjs"),s=["",()=>{}];class l extends d.f{constructor(){super(...arguments),this.start=s,this.streamInside=s,this.end=s,this.streamOutside=s,this.state="off",this.handleStart=e=>{this.clearStream(),this.callHandler(this.start[1],e),!e.defaultPrevented&&(this.removeListeners(),this.addListeners("on"))},this.handleInside=e=>{this.handleStream(this.streamInside[1],e)},this.handleEnd=e=>{this.clearStream(),this.callHandler(this.end[1],e),this.removeListeners(),this.addListeners("off")},this.handleOutside=e=>{this.handleStream(this.streamOutside[1],e)}}render(e){return a.nothing}update(e,[{start:t,end:i,streamInside:n=s,streamOutside:h=s}]){var r;this.element!==e.element&&(this.element=e.element,this.removeListeners()),this.host=((r=e.options)==null?void 0:r.host)||this.element,this.start=t,this.end=i,this.streamInside=n,this.streamOutside=h,this.addListeners()}addListeners(e){this.state=e||this.state,this.state==="off"?(this.addListener(this.streamOutside[0],this.handleOutside),this.addListener(this.start[0],this.handleStart)):this.state==="on"&&(this.addListener(this.streamInside[0],this.handleInside),this.addListener(this.end[0],this.handleEnd))}callHandler(e,t){typeof e=="function"?e.call(this.host,t):e.handleEvent(t)}handleStream(e,t){this.stream||(this.callHandler(e,t),this.stream=requestAnimationFrame(()=>{this.stream=void 0}))}clearStream(){this.stream!=null&&(cancelAnimationFrame(this.stream),this.stream=void 0)}addListener(e,t){Array.isArray(e)?e.map(i=>{this.element.addEventListener(i,t)}):this.element.addEventListener(e,t)}removeListener(e,t){Array.isArray(e)?e.map(i=>{this.element.removeEventListener(i,t)}):this.element.removeEventListener(e,t)}removeListeners(){this.removeListener(this.start[0],this.handleStart),this.removeListener(this.streamInside[0],this.handleInside),this.removeListener(this.end[0],this.handleEnd),this.removeListener(this.streamOutside[0],this.handleOutside)}disconnected(){this.removeListeners()}reconnected(){this.addListeners()}}const o=m.e(l);exports.streamingListener=o;
@@ -1,28 +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 2021 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */
23
- function o(r, n, e) {
24
- return r ? n(r) : e == null ? void 0 : e(r);
25
- }
26
- export {
27
- o as n
28
- };
@@ -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";/**
19
- * @license
20
- * Copyright 2021 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */function c(n,u,r){return n?u(n):r==null?void 0:r(n)}exports.n=c;