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

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 (81) 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-field/index.cjs +1 -1
  24. package/components/color-field/index.js +1 -1
  25. package/components/color-palette-group/index.cjs +1 -1
  26. package/components/color-palette-group/index.js +1 -1
  27. package/components/color-slider/index.cjs +1 -1
  28. package/components/color-slider/index.js +1 -1
  29. package/components/date-time-picker/index.cjs +3 -3
  30. package/components/date-time-picker/index.js +1 -1
  31. package/components/index.cjs +1 -1
  32. package/components/index.js +5 -5
  33. package/components/infield-button/index.cjs +1 -1
  34. package/components/infield-button/index.js +1 -1
  35. package/components/menu/index.cjs +3 -3
  36. package/components/menu/index.js +7 -7
  37. package/components/number-field/index.cjs +1 -1
  38. package/components/number-field/index.js +2 -2
  39. package/components/observe-slot-presence-CNltc0C0.cjs +18 -0
  40. package/components/{observe-slot-presence-CmVi0zTc.js → observe-slot-presence-DFi6GE3H.js} +1 -1
  41. package/components/observe-slot-text-CBMHpuIK.cjs +18 -0
  42. package/components/{observe-slot-text-CugmOzNZ.js → observe-slot-text-DorVpCL4.js} +11 -11
  43. package/components/options/index.cjs +26 -30
  44. package/components/options/index.js +198 -252
  45. package/components/overlay/index.cjs +2 -2
  46. package/components/overlay/index.js +24 -25
  47. package/components/picker-button/index.cjs +1 -1
  48. package/components/picker-button/index.js +2 -2
  49. package/components/search/index.cjs +1 -1
  50. package/components/search/index.js +1 -1
  51. package/components/{streaming-listener-BgU36S1Z.js → streaming-listener-BlWm-XZU.js} +4 -5
  52. package/components/streaming-listener-D9Wc7skA.cjs +18 -0
  53. package/components/swatch/index.cjs +6 -6
  54. package/components/swatch/index.js +2 -2
  55. package/components/tabs/index.cjs +18 -34
  56. package/components/tabs/index.js +192 -527
  57. package/components/tags/index.cjs +1 -1
  58. package/components/tags/index.js +1 -1
  59. package/components/text-field/index.cjs +1 -1
  60. package/components/text-field/index.js +1 -1
  61. package/components/text-field/text-field.d.ts +2 -0
  62. package/components/{text-field-JMrsh-zo.cjs → text-field-Bnei-lTb.cjs} +5 -3
  63. package/components/{text-field-BTEpwGFu.js → text-field-CQ8t9NU2.js} +68 -52
  64. package/components/toast/index.cjs +1 -1
  65. package/components/toast/index.js +1 -1
  66. package/components/utils.cjs +1 -1
  67. package/components/utils.js +1 -1
  68. package/custom-elements.json +1 -1
  69. package/package.json +1 -1
  70. package/components/action-group-D6rV7sfq.cjs +0 -20
  71. package/components/async-directive-CDQoI4mS.js +0 -81
  72. package/components/async-directive-CddlkYlZ.cjs +0 -22
  73. package/components/directive-DrvvqO47.cjs +0 -32
  74. package/components/directive-OK_Jd_xx.js +0 -314
  75. package/components/mutation-controller-DH7YOCyj.js +0 -52
  76. package/components/mutation-controller-DkOMCW-c.cjs +0 -22
  77. package/components/observe-slot-presence-bc9chhsi.cjs +0 -18
  78. package/components/observe-slot-text-ByPG1Lqw.cjs +0 -18
  79. package/components/streaming-listener-CfUtuELp.cjs +0 -18
  80. package/components/when-CDK1Tt5Y.js +0 -28
  81. package/components/when-CDZyJPvd.cjs +0 -22
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luzmo/lucero",
3
- "version": "1.0.1-alpha.22",
3
+ "version": "1.0.1-alpha.24",
4
4
  "homepage": "https://luzmo.com",
5
5
  "description": "Lucero - The design system for Luzmo",
6
6
  "type": "module",
@@ -1,20 +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 d=require("lit"),p=require("./mutation-controller-DkOMCW-c.cjs"),u=require("lit/decorators.js"),g=require("./base-5nDSSNeT.cjs"),b=require("./roving-tabindex-By_fCy_e.cjs"),h=require("./sized-mixin-DcvJLFeo.cjs"),m=":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))}";var v=Object.defineProperty,z=Object.getOwnPropertyDescriptor,c=(n,t,r,e)=>{for(var o=e>1?void 0:e?z(t,r):t,a=n.length-1,i;a>=0;a--)(i=n[a])&&(o=(e?i(t,r,o):i(o))||o);return e&&o&&v(t,r,o),o};const l=[];class s extends h.SizedMixin(g.LuzmoElement,{validSizes:["xs","s","m","l","xl"],noDefaultSize:!0}){constructor(){super(),this._buttons=[],this._buttonSelector="luzmo-action-button, luzmo-action-menu",this.rovingTabindexController=new b.RovingTabindexController(this,{focusInIndex:t=>{let r=-1;const e=t.findIndex((o,a)=>(!t[r]&&!o.disabled&&(r=a),o.selected&&!o.disabled));return t[e]?e:r},elements:()=>this.buttons,isFocusableElement:t=>!t.disabled}),this.compact=!1,this.emphasized=!1,this.justified=!1,this.label="",this.quiet=!1,this.vertical=!1,this._selected=l,this.hasManaged=!1,this.manageButtons=()=>{if(!this.slotElement)return;const r=this.slotElement.assignedElements({flatten:!0}).reduce((e,o)=>{if(o.matches(this._buttonSelector))e.push(o);else{const a=[...o.querySelectorAll(`:scope > ${this._buttonSelector}`)];e.push(...a)}return e},[]);if(this.buttons=r,this.selects||!this.hasManaged){const e=[];this.buttons.forEach(o=>{o.selected&&e.push(o.value)}),this.setSelected([...this.selected,...e])}this.manageChildren(),this.manageSelects(),this.hasManaged=!0},new p.s(this,{config:{childList:!0,subtree:!0},callback:()=>{this.manageButtons()},skipInitial:!0})}static get styles(){return[d.unsafeCSS(m)]}set buttons(t){t!==this.buttons&&(this._buttons=t,this.rovingTabindexController.clearElementCache())}get buttons(){return this._buttons}set selected(t){this.requestUpdate("selected",this._selected),this._selected=t,this.updateComplete.then(()=>{this.applySelects(),this.manageChildren()})}get selected(){return this._selected}dispatchChange(t){this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0,cancelable:!0}))||(this.setSelected(t),this.buttons.map(e=>{e.selected=this.selected.includes(e.value)}))}setSelected(t,r){if(t===this.selected)return;const e=this.selected;this.requestUpdate("selected",e),this._selected=t,r&&this.dispatchChange(e)}focus(t){this.rovingTabindexController.focus(t)}deselectSelectedButtons(){this.buttons.forEach(t=>{t.selected&&(t.selected=!1,t.tabIndex=-1,t.setAttribute(this.selects?"aria-checked":"aria-pressed","false"))})}handleActionButtonChange(t){t.stopPropagation(),t.preventDefault()}handleClick(t){const r=t.target;if(r.value!==void 0)switch(this.selects){case"single":{this.deselectSelectedButtons(),r.selected=!0,r.tabIndex=0,r.setAttribute("aria-checked","true"),this.setSelected([r.value],!0);break}case"multiple":{const e=[...this.selected];r.selected=!r.selected,r.setAttribute("aria-checked",r.selected?"true":"false"),r.selected?e.push(r.value):e.splice(this.selected.indexOf(r.value),1),this.setSelected(e,!0),this.buttons.forEach(o=>{o.tabIndex=-1}),r.tabIndex=0;break}}}async applySelects(){await this.manageSelects(!0)}async manageSelects(t){if(this.buttons.length===0)return;const r=this.buttons;switch(this.selects){case"single":{this.setAttribute("role","radiogroup");const e=[],o=r.map(async i=>{await i.updateComplete,i.setAttribute("role","radio"),i.setAttribute("aria-checked",i.selected?"true":"false"),i.selected&&e.push(i)});if(t)break;await Promise.all(o);const a=e.map(i=>i.value);this.setSelected(a||l);break}case"multiple":{this.getAttribute("role")==="radiogroup"&&this.removeAttribute("role");const e=[],o=r.map(async i=>{await i.updateComplete,i.setAttribute("role","checkbox"),i.setAttribute("aria-checked",i.selected?"true":"false"),i.selected&&e.push(i.value)});if(t)break;await Promise.all(o);const a=e.length>0?e:l;this.setSelected(a);break}default:if(this.selected.length>0){const e=[],o=r.map(async a=>{await a.updateComplete,a.setAttribute("role","button"),a.selected?(a.setAttribute("aria-pressed","true"),e.push(a)):a.removeAttribute("aria-pressed")});if(t)break;await Promise.all(o),this.setSelected(e.map(a=>a.value))}else{this.buttons.forEach(e=>{e.setAttribute("role","button")});break}}this.hasAttribute("role")||this.setAttribute("role","toolbar")}render(){return d.html`
19
- <slot role="presentation" @slotchange=${this.manageButtons}></slot>
20
- `}firstUpdated(t){super.firstUpdated(t),this.addEventListener("click",this.handleClick)}updated(t){super.updated(t),t.has("selects")&&(this.manageSelects(),this.manageChildren(),this.selects?this.renderRoot.addEventListener("change",this.handleActionButtonChange):this.renderRoot.removeEventListener("change",this.handleActionButtonChange)),(t.has("quiet")||t.has("emphasized")||t.has("size")||t.has("staticColor"))&&this.manageChildren(t),t.has("label")&&(this.label||t.get("label")!==void 0)&&(this.label.length>0?this.setAttribute("aria-label",this.label):this.removeAttribute("aria-label"))}manageChildren(t){this.buttons.forEach(r=>{(this.quiet||t!=null&&t.get("quiet"))&&(r.quiet=this.quiet),(this.emphasized||t!=null&&t.get("emphasized"))&&(r.emphasized=this.emphasized),(this.staticColor||t!=null&&t.get("staticColor"))&&(r.staticColor=this.staticColor),(this.selects||!this.hasManaged)&&(r.selected=this.selected.includes(r.value)),this.size&&(this.size!=="m"||(t==null?void 0:t.get("size"))!==void 0)&&(r.size=this.size)})}}c([u.property({type:Boolean,reflect:!0})],s.prototype,"compact",2);c([u.property({type:Boolean,reflect:!0})],s.prototype,"emphasized",2);c([u.property({type:Boolean,reflect:!0})],s.prototype,"justified",2);c([u.property({type:String})],s.prototype,"label",2);c([u.property({type:Boolean,reflect:!0})],s.prototype,"quiet",2);c([u.property({type:String})],s.prototype,"selects",2);c([u.property({reflect:!0,attribute:"static-color"})],s.prototype,"staticColor",2);c([u.property({type:Boolean,reflect:!0})],s.prototype,"vertical",2);c([u.property({type:Array})],s.prototype,"selected",1);c([u.query("slot")],s.prototype,"slotElement",2);exports.LuzmoActionGroup=s;
@@ -1,81 +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 { i as _, f as A, t as c } from "./directive-OK_Jd_xx.js";
19
- /**
20
- * @license
21
- * Copyright 2017 Google LLC
22
- * SPDX-License-Identifier: BSD-3-Clause
23
- */
24
- const o = (e, t) => {
25
- var i;
26
- const s = e._$AN;
27
- if (s === void 0) return !1;
28
- for (const n of s) (i = n._$AO) == null || i.call(n, t, !1), o(n, t);
29
- return !0;
30
- }, $ = (e) => {
31
- let t, s;
32
- do {
33
- if ((t = e._$AM) === void 0) break;
34
- s = t._$AN, s.delete(e), e = t;
35
- } while ((s == null ? void 0 : s.size) === 0);
36
- }, r = (e) => {
37
- for (let t; t = e._$AM; e = t) {
38
- let s = t._$AN;
39
- if (s === void 0) t._$AN = s = /* @__PURE__ */ new Set();
40
- else if (s.has(e)) break;
41
- s.add(e), l(t);
42
- }
43
- };
44
- function f(e) {
45
- this._$AN !== void 0 ? ($(this), this._$AM = e, r(this)) : this._$AM = e;
46
- }
47
- function d(e, t = !1, s = 0) {
48
- const i = this._$AH, n = this._$AN;
49
- if (n !== void 0 && n.size !== 0) if (t) if (Array.isArray(i)) for (let h = s; h < i.length; h++) o(i[h], !1), $(i[h]);
50
- else i != null && (o(i, !1), $(i));
51
- else o(this, e);
52
- }
53
- const l = (e) => {
54
- e.type == c.CHILD && (e._$AP ?? (e._$AP = d), e._$AQ ?? (e._$AQ = f));
55
- };
56
- class u extends _ {
57
- constructor() {
58
- super(...arguments), this._$AN = void 0;
59
- }
60
- _$AT(t, s, i) {
61
- super._$AT(t, s, i), r(this), this.isConnected = t._$AU;
62
- }
63
- _$AO(t, s = !0) {
64
- var i, n;
65
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (n = this.disconnected) == null || n.call(this)), s && (o(this, t), $(this));
66
- }
67
- setValue(t) {
68
- if (A(this._$Ct)) this._$Ct._$AI(t, this);
69
- else {
70
- const s = [...this._$Ct._$AH];
71
- s[this._$Ci] = t, this._$Ct._$AI(s, this, 0);
72
- }
73
- }
74
- disconnected() {
75
- }
76
- reconnected() {
77
- }
78
- }
79
- export {
80
- u as f
81
- };
@@ -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-DrvvqO47.cjs");/**
19
- * @license
20
- * Copyright 2017 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */const o=(e,t)=>{var i;const s=e._$AN;if(s===void 0)return!1;for(const n of s)(i=n._$AO)==null||i.call(n,t,!1),o(n,t);return!0},r=e=>{let t,s;do{if((t=e._$AM)===void 0)break;s=t._$AN,s.delete(e),e=t}while((s==null?void 0:s.size)===0)},$=e=>{for(let t;t=e._$AM;e=t){let s=t._$AN;if(s===void 0)t._$AN=s=new Set;else if(s.has(e))break;s.add(e),f(t)}};function c(e){this._$AN!==void 0?(r(this),this._$AM=e,$(this)):this._$AM=e}function A(e,t=!1,s=0){const i=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(t)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),r(i[h]);else i!=null&&(o(i,!1),r(i));else o(this,e)}const f=e=>{e.type==_.t.CHILD&&(e._$AP??(e._$AP=A),e._$AQ??(e._$AQ=c))};class d extends _.i{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,s,i){super._$AT(t,s,i),$(this),this.isConnected=t._$AU}_$AO(t,s=!0){var i,n;t!==this.isConnected&&(this.isConnected=t,t?(i=this.reconnected)==null||i.call(this):(n=this.disconnected)==null||n.call(this)),s&&(o(this,t),r(this))}setValue(t){if(_.f(this._$Ct))this._$Ct._$AI(t,this);else{const s=[...this._$Ct._$AH];s[this._$Ci]=t,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}}exports.f=d;
@@ -1,32 +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 2017 Google LLC
21
- * SPDX-License-Identifier: BSD-3-Clause
22
- */const x=globalThis,T=x.trustedTypes,E=T?T.createPolicy("lit-html",{createHTML:n=>n}):void 0,W="$lit$",p=`lit$${Math.random().toFixed(9).slice(2)}$`,k="?"+p,z=`<${k}>`,f=document,C=()=>f.createComment(""),H=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=`[
23
- \f\r]`,y=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,U=/-->/g,P=/>/g,u=RegExp(`>|${I}(?:([^\\s"'>=/]+)(${I}*=${I}*(?:[^
24
- \f\r"'\`<>=]|("|')|))|$)`,"g"),L=/'/g,O=/"/g,V=/^(?:script|style|textarea|title)$/i,v=Symbol.for("lit-noChange"),c=Symbol.for("lit-nothing"),R=new WeakMap,g=f.createTreeWalker(f,129);function j(n,t){if(!B(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return E!==void 0?E.createHTML(t):t}const F=(n,t)=>{const e=n.length-1,i=[];let s,h=t===2?"<svg>":t===3?"<math>":"",r=y;for(let A=0;A<e;A++){const o=n[A];let $,_,l=-1,a=0;for(;a<o.length&&(r.lastIndex=a,_=r.exec(o),_!==null);)a=r.lastIndex,r===y?_[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??y,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=y:(r=u,s=void 0);const d=r===u&&n[A+1].startsWith("/>")?" ":"";h+=r===y?o+z:l>=0?(i.push($),o.slice(0,l)+W+o.slice(l)+p+d):o+p+(l===-2?A:d)}return[j(n,h+(n[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class N{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let h=0,r=0;const A=t.length-1,o=this.parts,[$,_]=F(t,e);if(this.el=N.createElement($,i),g.currentNode=this.el.content,e===2||e===3){const l=this.el.content.firstChild;l.replaceWith(...l.childNodes)}for(;(s=g.nextNode())!==null&&o.length<A;){if(s.nodeType===1){if(s.hasAttributes())for(const l of s.getAttributeNames())if(l.endsWith(W)){const a=_[r++],d=s.getAttribute(l).split(p),b=/([.?@])?(.*)/.exec(a);o.push({type:1,index:h,name:b[2],strings:d,ctor:b[1]==="."?q:b[1]==="?"?G:b[1]==="@"?J:S}),s.removeAttribute(l)}else l.startsWith(p)&&(o.push({type:6,index:h}),s.removeAttribute(l));if(V.test(s.tagName)){const l=s.textContent.split(p),a=l.length-1;if(a>0){s.textContent=T?T.emptyScript:"";for(let d=0;d<a;d++)s.append(l[d],C()),g.nextNode(),o.push({type:2,index:++h});s.append(l[a],C())}}}else if(s.nodeType===8)if(s.data===k)o.push({type:2,index:h});else{let l=-1;for(;(l=s.data.indexOf(p,l+1))!==-1;)o.push({type:7,index:h}),l+=p.length-1}h++}}static createElement(t,e){const i=f.createElement("template");return i.innerHTML=t,i}}function m(n,t,e=n,i){var r,A;if(t===v)return t;let s=i!==void 0?(r=e._$Co)==null?void 0:r[i]:e._$Cl;const h=H(t)?void 0:t._$litDirective$;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=m(n,s._$AS(n,t.values),s,i)),t}let Q=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,s=((t==null?void 0:t.creationScope)??f).importNode(e,!0);g.currentNode=s;let h=g.nextNode(),r=0,A=0,o=i[0];for(;o!==void 0;){if(r===o.index){let $;o.type===2?$=new M(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]}r!==(o==null?void 0:o.index)&&(h=g.nextNode(),r++)}return g.currentNode=f,s}p(t){let e=0;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++}};class M{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,i,s){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}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=m(this,t,e),H(t)?t===c||t==null||t===""?(this._$AH!==c&&this._$AR(),this._$AH=c):t!==this._$AH&&t!==v&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Z(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==c&&H(this._$AH)?this._$AA.nextSibling.data=t:this.T(f.createTextNode(t)),this._$AH=t}$(t){var h;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);if(((h=this._$AH)==null?void 0:h._$AD)===s)this._$AH.p(e);else{const r=new Q(s,this),A=r.u(this.options);r.p(e),this.T(A),this._$AH=r}}_$AC(t){let e=R.get(t.strings);return e===void 0&&R.set(t.strings,e=new N(t)),e}k(t){B(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const h of t)s===e.length?e.push(i=new M(this.O(C()),this.O(C()),this,this.options)):i=e[s],i._$AI(h),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class S{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,h){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}_$AI(t,e=this,i,s){const h=this.strings;let r=!1;if(h===void 0)t=m(this,t,e,0),r=!H(t)||t!==this._$AH&&t!==v,r&&(this._$AH=t);else{const A=t;let o,$;for(t=h[0],o=0;o<h.length-1;o++)$=m(this,A[i+o],e,o),$===v&&($=this._$AH[o]),r||(r=!H($)||$!==this._$AH[o]),$===c?t=c:t!==c&&(t+=($??"")+h[o+1]),this._$AH[o]=$}r&&!s&&this.j(t)}j(t){t===c?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class q extends S{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===c?void 0:t}}class G extends S{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==c)}}class J extends S{constructor(t,e,i,s,h){super(t,e,i,s,h),this.type=5}_$AI(t,e=this){if((t=m(this,t,e,0)??c)===v)return;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);s&&this.element.removeEventListener(this.name,this,i),h&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class K{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){m(this,t)}}const X={I:M},w=x.litHtmlPolyfillSupport;w==null||w(N,M),(x.litHtmlVersions??(x.litHtmlVersions=[])).push("3.2.1");/**
25
- * @license
26
- * Copyright 2020 Google LLC
27
- * SPDX-License-Identifier: BSD-3-Clause
28
- */const{I:Y}=X,tt=n=>n.strings===void 0,D=()=>document.createComment(""),et=(n,t,e)=>{var h;const i=n._$AA.parentNode,s=t===void 0?n._$AB:t._$AA;if(e===void 0){const r=i.insertBefore(D(),s),A=i.insertBefore(D(),s);e=new Y(r,A,n,n.options)}else{const r=e._$AB.nextSibling,A=e._$AM,o=A!==n;if(o){let $;(h=e._$AQ)==null||h.call(e,n),e._$AM=n,e._$AP!==void 0&&($=n._$AU)!==A._$AU&&e._$AP($)}if(r!==s||o){let $=e._$AA;for(;$!==r;){const _=$.nextSibling;i.insertBefore($,s),$=_}}}return e},st=(n,t,e=n)=>(n._$AI(t,e),n),it={},nt=(n,t=it)=>n._$AH=t,rt=n=>n._$AH,ot=n=>{var i;(i=n._$AP)==null||i.call(n,!1,!0);let t=n._$AA;const e=n._$AB.nextSibling;for(;t!==e;){const s=t.nextSibling;t.remove(),t=s}};/**
29
- * @license
30
- * Copyright 2017 Google LLC
31
- * SPDX-License-Identifier: BSD-3-Clause
32
- */const ht={CHILD:2},$t=n=>(...t)=>({_$litDirective$:n,values:t});class lt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}exports.M=ot;exports.T=v;exports.e=$t;exports.f=tt;exports.i=lt;exports.m=nt;exports.p=rt;exports.r=et;exports.t=ht;exports.v=st;
@@ -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;