luxen-ui 0.2.0 → 0.3.0
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.
- package/cdn/custom-elements.json +495 -337
- package/cdn/elements/dialog/dialog.d.ts +3 -0
- package/cdn/elements/dialog/dialog.d.ts.map +1 -1
- package/cdn/elements/dialog/dialog.js +10 -6
- package/cdn/elements/dialog/dialog.js.map +1 -1
- package/cdn/elements/dialog/dialog.styles.js +1 -1
- package/cdn/elements/dialog/dialog.styles.js.map +1 -1
- package/cdn/elements/dropdown/dropdown.js +1 -1
- package/cdn/elements/dropdown/dropdown.js.map +1 -1
- package/cdn/elements/dropdown-item/dropdown-item.js +1 -1
- package/cdn/elements/dropdown-item/dropdown-item.js.map +1 -1
- package/cdn/elements/input-otp/input-otp.d.ts +8 -2
- package/cdn/elements/input-otp/input-otp.d.ts.map +1 -1
- package/cdn/elements/input-otp/input-otp.js +1 -1
- package/cdn/elements/input-otp/input-otp.js.map +1 -1
- package/cdn/elements/popover/popover.js +1 -1
- package/cdn/elements/popover/popover.js.map +1 -1
- package/cdn/styles/elements/button.css +1 -1
- package/cdn/styles/elements/input-otp.css +63 -29
- package/cdn/styles/index.css +15 -2
- package/dist/css/elements/button.css +1 -1
- package/dist/css/elements/input-otp.css +63 -29
- package/dist/css/index.css +15 -2
- package/dist/custom-elements.json +495 -337
- package/dist/elements/dialog/dialog.css +10 -0
- package/dist/elements/dialog/dialog.d.ts +3 -0
- package/dist/elements/dialog/dialog.d.ts.map +1 -1
- package/dist/elements/dialog/dialog.js +16 -4
- package/dist/elements/dropdown/dropdown.css +4 -4
- package/dist/elements/dropdown-item/dropdown-item.css +2 -1
- package/dist/elements/input-otp/input-otp.d.ts +8 -2
- package/dist/elements/input-otp/input-otp.d.ts.map +1 -1
- package/dist/elements/input-otp/input-otp.js +14 -5
- package/dist/elements/popover/popover.css +3 -4
- package/dist/skills/luxen-ui/references/dialog.md +79 -1
- package/dist/skills/luxen-ui/references/drawer.md +8 -0
- package/package.json +1 -1
package/cdn/custom-elements.json
CHANGED
|
@@ -2048,7 +2048,7 @@
|
|
|
2048
2048
|
{
|
|
2049
2049
|
"kind": "variable",
|
|
2050
2050
|
"name": "u",
|
|
2051
|
-
"default": "class extends n{constructor(...e){super(...e),this.title=``,this.open=!1,this.lightDismiss=!1,this._mouseDownTarget=null,this._commandListener={handleEvent:e=>this._onCommand(e)}}static{this.styles=[o,s]}connectedCallback(){super.connectedCallback(),this.addEventListener(`command`,this._commandListener)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`command`,this._commandListener)}firstUpdated(){this.dialog.addEventListener(`cancel`,e=>this._onCancel(e)),this.dialog.addEventListener(`close`,()=>this._onNativeClose()),this.dialog.addEventListener(`mousedown`,e=>{this._mouseDownTarget=e.target}),this.dialog.addEventListener(`click`,e=>this._onDialogClick(e))}updated(e){if(e.has(`open`)){if(this.open&&!this.dialog.open)this.emit(`show`),this.toggleAttribute(`data-modal`,!0),this.dialog.showModal(),this._focusAutofocusTarget(),this._emitAfter(`after-show`);else if(!this.open&&this.dialog.open){if(!this.emit(`hide`,{cancelable:!0})){this.open=!0;return}this.dialog.close()}}}_onCommand(e){switch(e.command){case`--hide`:this.open=!1;break;case`--show`:this.open=!0;break}}_onCancel(e){this.emit(`hide`,{cancelable:!0})||e.preventDefault()}_onNativeClose(){this.open=!1,this.removeAttribute(`data-modal`),this._emitAfter(`after-hide`)}_onDialogClick(e){let t=e.target===this.dialog&&this._mouseDownTarget===this.dialog;if(this._mouseDownTarget=null,t){if(this.lightDismiss){c||(this.open=!1);return}this._nudgeDismiss()}}_nudgeDismiss(){matchMedia(`(prefers-reduced-motion: reduce)`).matches||(this._nudgeAnimation?.cancel(),this._nudgeAnimation=this.dialog.animate([{transform:`scale(1)`},{transform:`scale(1.02)`},{transform:`scale(1)`}],{duration:250,easing:`ease-in-out`}))}async _emitAfter(e){await new Promise(e=>requestAnimationFrame(()=>e(null)));let t=this.dialog.getAnimations({subtree:!1});await Promise.all(t.map(e=>e.finished.catch(()=>{}))),e===`after-show`===this.open&&this.emit(e)}_focusAutofocusTarget(){this.querySelector(`[autofocus]`)?.focus({preventScroll:!0})}render(){return e` <dialog part=\"dialog\" closedby=${this.lightDismiss&&c?`any`:t} > <header part=\"header\"> <h2 part=\"title\">${this.title}</h2> <slot name=\"close\"></slot> </header> <div part=\"body\"> <slot></slot> </div> <footer part=\"footer\"> <slot name=\"footer\"></slot> </footer> </dialog> `}}"
|
|
2051
|
+
"default": "class extends n{constructor(...e){super(...e),this.title=``,this.open=!1,this.lightDismiss=!1,this.withoutHeader=!1,this._mouseDownTarget=null,this._commandListener={handleEvent:e=>this._onCommand(e)}}static{this.styles=[o,s]}connectedCallback(){super.connectedCallback(),this.addEventListener(`command`,this._commandListener)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`command`,this._commandListener)}firstUpdated(){this.dialog.addEventListener(`cancel`,e=>this._onCancel(e)),this.dialog.addEventListener(`close`,()=>this._onNativeClose()),this.dialog.addEventListener(`mousedown`,e=>{this._mouseDownTarget=e.target}),this.dialog.addEventListener(`click`,e=>this._onDialogClick(e))}updated(e){if(e.has(`open`)){if(this.open&&!this.dialog.open)this.emit(`show`),this.toggleAttribute(`data-modal`,!0),this.dialog.showModal(),this._focusAutofocusTarget(),this._emitAfter(`after-show`);else if(!this.open&&this.dialog.open){if(!this.emit(`hide`,{cancelable:!0})){this.open=!0;return}this.dialog.close()}}}_onCommand(e){switch(e.command){case`--hide`:this.open=!1;break;case`--show`:this.open=!0;break}}_onCancel(e){this.emit(`hide`,{cancelable:!0})||e.preventDefault()}_onNativeClose(){this.open=!1,this.removeAttribute(`data-modal`),this._emitAfter(`after-hide`)}_onDialogClick(e){let t=e.target===this.dialog&&this._mouseDownTarget===this.dialog;if(this._mouseDownTarget=null,t){if(this.lightDismiss){c||(this.open=!1);return}this._nudgeDismiss()}}_nudgeDismiss(){matchMedia(`(prefers-reduced-motion: reduce)`).matches||(this._nudgeAnimation?.cancel(),this._nudgeAnimation=this.dialog.animate([{transform:`scale(1)`},{transform:`scale(1.02)`},{transform:`scale(1)`}],{duration:250,easing:`ease-in-out`}))}async _emitAfter(e){await new Promise(e=>requestAnimationFrame(()=>e(null)));let t=this.dialog.getAnimations({subtree:!1});await Promise.all(t.map(e=>e.finished.catch(()=>{}))),e===`after-show`===this.open&&this.emit(e)}_focusAutofocusTarget(){this.querySelector(`[autofocus]`)?.focus({preventScroll:!0})}render(){return e` <dialog part=\"dialog\" closedby=${this.lightDismiss&&c?`any`:t} > ${this.withoutHeader?t:e` <header part=\"header\"> <slot name=\"title\"> ${this.title?e`<h2 part=\"title\">${this.title}</h2>`:t} </slot> <slot name=\"close\"></slot> </header> `} <div part=\"body\"> <slot></slot> </div> <footer part=\"footer\"> <slot name=\"footer\"></slot> </footer> </dialog> `}}"
|
|
2052
2052
|
}
|
|
2053
2053
|
],
|
|
2054
2054
|
"exports": [
|
|
@@ -2240,7 +2240,7 @@
|
|
|
2240
2240
|
{
|
|
2241
2241
|
"kind": "variable",
|
|
2242
2242
|
"name": "r",
|
|
2243
|
-
"default": "class extends e{constructor(...e){super(...e),this._cells=[],this._separatorEl=null,this._initialized=!1,this._updateCells=()=>{let e=this._input.value,t=this._input.maxLength||6,n=Math.min(this._input.selectionStart??0,t-1),r=document.activeElement===this._input;for(let t=0;t<this._cells.length;t++){let i=this._cells[t],a=i.firstElementChild,o=e[t]??``;a.textContent=o,o?i.setAttribute(`data-filled`,``):i.removeAttribute(`data-filled`),r&&t===n?i.setAttribute(`data-active`,``):i.removeAttribute(`data-active`)}},this._clearCells=()=>{for(let e of this._cells)e.removeAttribute(`data-active`)}}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>this._setup())}disconnectedCallback(){super.disconnectedCallback(),this._teardown()}_setup(){let e=this.querySelector(`input`);if(!e)return;this._input=e;let t=Number(getComputedStyle(this).getPropertyValue(`--digits`).trim())||6,n={type:`text`,inputmode:`numeric`,autocomplete:`one-time-code`,maxlength:String(t),pattern:String.raw`\\d{${t}}`};for(let[e,t]of Object.entries(n))this._input.hasAttribute(e)||this._input.setAttribute(e,t);this._container=document.createElement(`div`),this._container.className=`l-input-otp-cells`,this._container.setAttribute(`aria-hidden`,`true`);for(let e=0;e<t;e++){let n=document.createElement(`div`);n.className=`l-input-otp-cell`,n.appendChild(document.createElement(`span`)),this._cells.push(n),this._container.appendChild(n),this.separatorAfter&&e===this.separatorAfter-1&&e<t-1&&(this._separatorEl=document.createElement(`span`),this._separatorEl.className=`l-input-otp-separator`,this._container.appendChild(this._separatorEl))}this._input.replaceWith(this._container),this._container.appendChild(this._input),this._initialized=!0,this._updateCells(),this._input.addEventListener(`input`,this._updateCells),this._input.addEventListener(`click`,this._updateCells),this._input.addEventListener(`keyup`,this._updateCells),this._input.addEventListener(`focus`,this.
|
|
2243
|
+
"default": "class extends e{constructor(...e){super(...e),this._cells=[],this._separatorEl=null,this._initialized=!1,this._updateCells=()=>{let e=this._input.value,t=this._input.maxLength||6,n=Math.min(this._input.selectionStart??0,t-1),r=document.activeElement===this._input;for(let t=0;t<this._cells.length;t++){let i=this._cells[t],a=i.firstElementChild,o=e[t]??``;a.textContent=o,o?i.setAttribute(`data-filled`,``):i.removeAttribute(`data-filled`),r&&t===n?i.setAttribute(`data-active`,``):i.removeAttribute(`data-active`)}},this._clearCells=()=>{for(let e of this._cells)e.removeAttribute(`data-active`)},this._scheduleUpdateCells=()=>{requestAnimationFrame(this._updateCells)}}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>this._setup())}disconnectedCallback(){super.disconnectedCallback(),this._teardown()}_setup(){let e=this.querySelector(`input`);if(!e)return;this._input=e;let t=Number(getComputedStyle(this).getPropertyValue(`--digits`).trim())||6,n={type:`text`,inputmode:`numeric`,autocomplete:`one-time-code`,maxlength:String(t),pattern:String.raw`\\d{${t}}`};for(let[e,t]of Object.entries(n))this._input.hasAttribute(e)||this._input.setAttribute(e,t);this._container=document.createElement(`div`),this._container.className=`l-input-otp-cells`,this._container.setAttribute(`aria-hidden`,`true`);for(let e=0;e<t;e++){let n=document.createElement(`div`);n.className=`l-input-otp-cell`,n.appendChild(document.createElement(`span`)),this._cells.push(n),this._container.appendChild(n),this.separatorAfter&&e===this.separatorAfter-1&&e<t-1&&(this._separatorEl=document.createElement(`span`),this._separatorEl.className=`l-input-otp-separator`,this._container.appendChild(this._separatorEl))}this._input.replaceWith(this._container),this._container.appendChild(this._input),this._initialized=!0,this._updateCells(),this._input.addEventListener(`input`,this._updateCells),this._input.addEventListener(`click`,this._updateCells),this._input.addEventListener(`keyup`,this._updateCells),this._input.addEventListener(`focus`,this._scheduleUpdateCells),this._input.addEventListener(`blur`,this._clearCells)}_teardown(){this._initialized&&=(this._input.removeEventListener(`input`,this._updateCells),this._input.removeEventListener(`click`,this._updateCells),this._input.removeEventListener(`keyup`,this._updateCells),this._input.removeEventListener(`focus`,this._scheduleUpdateCells),this._input.removeEventListener(`blur`,this._clearCells),this._container.replaceWith(this._input),this._separatorEl?.remove(),this._cells=[],this._separatorEl=null,!1)}}"
|
|
2244
2244
|
}
|
|
2245
2245
|
],
|
|
2246
2246
|
"exports": [
|
|
@@ -3299,6 +3299,10 @@
|
|
|
3299
3299
|
"description": "Body content.",
|
|
3300
3300
|
"name": ""
|
|
3301
3301
|
},
|
|
3302
|
+
{
|
|
3303
|
+
"description": "Custom heading element. Overrides the default `<h2>` rendered from the `title` property.",
|
|
3304
|
+
"name": "title"
|
|
3305
|
+
},
|
|
3302
3306
|
{
|
|
3303
3307
|
"description": "Close button (typically `<button class=\"l-close\">`).",
|
|
3304
3308
|
"name": "close"
|
|
@@ -3384,6 +3388,15 @@
|
|
|
3384
3388
|
"description": "Close when the backdrop is clicked.",
|
|
3385
3389
|
"default": "false"
|
|
3386
3390
|
},
|
|
3391
|
+
{
|
|
3392
|
+
"kind": "field",
|
|
3393
|
+
"name": "withoutHeader",
|
|
3394
|
+
"type": {
|
|
3395
|
+
"text": "boolean"
|
|
3396
|
+
},
|
|
3397
|
+
"description": "Hide the header entirely (title and close slot).",
|
|
3398
|
+
"default": "false"
|
|
3399
|
+
},
|
|
3387
3400
|
{
|
|
3388
3401
|
"kind": "field",
|
|
3389
3402
|
"name": "_mouseDownTarget",
|
|
@@ -3731,6 +3744,14 @@
|
|
|
3731
3744
|
"name": "LuxenDialog",
|
|
3732
3745
|
"module": "src/html/elements/dialog/dialog.ts"
|
|
3733
3746
|
}
|
|
3747
|
+
},
|
|
3748
|
+
{
|
|
3749
|
+
"description": "Custom heading element. Overrides the default `<h2>` rendered from the `title` property.",
|
|
3750
|
+
"name": "title",
|
|
3751
|
+
"inheritedFrom": {
|
|
3752
|
+
"name": "LuxenDialog",
|
|
3753
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
3754
|
+
}
|
|
3734
3755
|
}
|
|
3735
3756
|
],
|
|
3736
3757
|
"events": [
|
|
@@ -3810,6 +3831,19 @@
|
|
|
3810
3831
|
"name": "LuxenDialog",
|
|
3811
3832
|
"module": "src/html/elements/dialog/dialog.ts"
|
|
3812
3833
|
}
|
|
3834
|
+
},
|
|
3835
|
+
{
|
|
3836
|
+
"name": "without-header",
|
|
3837
|
+
"type": {
|
|
3838
|
+
"text": "boolean"
|
|
3839
|
+
},
|
|
3840
|
+
"default": "false",
|
|
3841
|
+
"description": "Hide the header entirely (title and close slot).",
|
|
3842
|
+
"fieldName": "withoutHeader",
|
|
3843
|
+
"inheritedFrom": {
|
|
3844
|
+
"name": "LuxenDialog",
|
|
3845
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
3846
|
+
}
|
|
3813
3847
|
}
|
|
3814
3848
|
],
|
|
3815
3849
|
"members": [
|
|
@@ -3857,6 +3891,21 @@
|
|
|
3857
3891
|
"module": "src/html/elements/dialog/dialog.ts"
|
|
3858
3892
|
}
|
|
3859
3893
|
},
|
|
3894
|
+
{
|
|
3895
|
+
"kind": "field",
|
|
3896
|
+
"name": "withoutHeader",
|
|
3897
|
+
"type": {
|
|
3898
|
+
"text": "boolean"
|
|
3899
|
+
},
|
|
3900
|
+
"default": "false",
|
|
3901
|
+
"description": "Hide the header entirely (title and close slot).",
|
|
3902
|
+
"attribute": "without-header",
|
|
3903
|
+
"reflects": true,
|
|
3904
|
+
"inheritedFrom": {
|
|
3905
|
+
"name": "LuxenDialog",
|
|
3906
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
3907
|
+
}
|
|
3908
|
+
},
|
|
3860
3909
|
{
|
|
3861
3910
|
"kind": "field",
|
|
3862
3911
|
"name": "dialog",
|
|
@@ -4589,11 +4638,31 @@
|
|
|
4589
4638
|
},
|
|
4590
4639
|
{
|
|
4591
4640
|
"description": "Cell width and height (default: 2.75rem). Font size scales automatically.",
|
|
4592
|
-
"name": "--size"
|
|
4641
|
+
"name": "--cell-size"
|
|
4593
4642
|
},
|
|
4594
4643
|
{
|
|
4595
4644
|
"description": "Space between cells (default: 0.5rem).",
|
|
4596
|
-
"name": "--gap"
|
|
4645
|
+
"name": "--cell-gap"
|
|
4646
|
+
},
|
|
4647
|
+
{
|
|
4648
|
+
"description": "Cell background color.",
|
|
4649
|
+
"name": "--cell-bg-color"
|
|
4650
|
+
},
|
|
4651
|
+
{
|
|
4652
|
+
"description": "Cell border color.",
|
|
4653
|
+
"name": "--cell-border-color"
|
|
4654
|
+
},
|
|
4655
|
+
{
|
|
4656
|
+
"description": "Cell border-radius.",
|
|
4657
|
+
"name": "--cell-border-radius"
|
|
4658
|
+
},
|
|
4659
|
+
{
|
|
4660
|
+
"description": "Border + ring color of the active (focused) cell.",
|
|
4661
|
+
"name": "--cell-focus-color"
|
|
4662
|
+
},
|
|
4663
|
+
{
|
|
4664
|
+
"description": "`box-shadow` of the active cell ring (defaults to a 1px solid ring; set to `none` to disable).",
|
|
4665
|
+
"name": "--cell-focus-ring"
|
|
4597
4666
|
}
|
|
4598
4667
|
],
|
|
4599
4668
|
"members": [
|
|
@@ -4637,6 +4706,10 @@
|
|
|
4637
4706
|
"kind": "field",
|
|
4638
4707
|
"name": "_clearCells"
|
|
4639
4708
|
},
|
|
4709
|
+
{
|
|
4710
|
+
"kind": "field",
|
|
4711
|
+
"name": "_scheduleUpdateCells"
|
|
4712
|
+
},
|
|
4640
4713
|
{
|
|
4641
4714
|
"kind": "method",
|
|
4642
4715
|
"name": "emit",
|
|
@@ -9043,6 +9116,10 @@
|
|
|
9043
9116
|
"description": "Body content.",
|
|
9044
9117
|
"name": ""
|
|
9045
9118
|
},
|
|
9119
|
+
{
|
|
9120
|
+
"description": "Custom heading element. Overrides the default `<h2>` rendered from the `title` property.",
|
|
9121
|
+
"name": "title"
|
|
9122
|
+
},
|
|
9046
9123
|
{
|
|
9047
9124
|
"description": "Close button (typically `<button class=\"l-close\">`).",
|
|
9048
9125
|
"name": "close"
|
|
@@ -9085,6 +9162,17 @@
|
|
|
9085
9162
|
"attribute": "light-dismiss",
|
|
9086
9163
|
"reflects": true
|
|
9087
9164
|
},
|
|
9165
|
+
{
|
|
9166
|
+
"kind": "field",
|
|
9167
|
+
"name": "withoutHeader",
|
|
9168
|
+
"type": {
|
|
9169
|
+
"text": "boolean"
|
|
9170
|
+
},
|
|
9171
|
+
"default": "false",
|
|
9172
|
+
"description": "Hide the header entirely (title and close slot).",
|
|
9173
|
+
"attribute": "without-header",
|
|
9174
|
+
"reflects": true
|
|
9175
|
+
},
|
|
9088
9176
|
{
|
|
9089
9177
|
"kind": "field",
|
|
9090
9178
|
"name": "dialog",
|
|
@@ -9262,6 +9350,15 @@
|
|
|
9262
9350
|
"default": "false",
|
|
9263
9351
|
"description": "Close when the backdrop is clicked.",
|
|
9264
9352
|
"fieldName": "lightDismiss"
|
|
9353
|
+
},
|
|
9354
|
+
{
|
|
9355
|
+
"name": "without-header",
|
|
9356
|
+
"type": {
|
|
9357
|
+
"text": "boolean"
|
|
9358
|
+
},
|
|
9359
|
+
"default": "false",
|
|
9360
|
+
"description": "Hide the header entirely (title and close slot).",
|
|
9361
|
+
"fieldName": "withoutHeader"
|
|
9265
9362
|
}
|
|
9266
9363
|
],
|
|
9267
9364
|
"superclass": {
|
|
@@ -9562,6 +9659,14 @@
|
|
|
9562
9659
|
"name": "LuxenDialog",
|
|
9563
9660
|
"module": "src/html/elements/dialog/dialog.ts"
|
|
9564
9661
|
}
|
|
9662
|
+
},
|
|
9663
|
+
{
|
|
9664
|
+
"description": "Custom heading element. Overrides the default `<h2>` rendered from the `title` property.",
|
|
9665
|
+
"name": "title",
|
|
9666
|
+
"inheritedFrom": {
|
|
9667
|
+
"name": "LuxenDialog",
|
|
9668
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
9669
|
+
}
|
|
9565
9670
|
}
|
|
9566
9671
|
],
|
|
9567
9672
|
"members": [
|
|
@@ -9619,6 +9724,21 @@
|
|
|
9619
9724
|
"module": "src/html/elements/dialog/dialog.ts"
|
|
9620
9725
|
}
|
|
9621
9726
|
},
|
|
9727
|
+
{
|
|
9728
|
+
"kind": "field",
|
|
9729
|
+
"name": "withoutHeader",
|
|
9730
|
+
"type": {
|
|
9731
|
+
"text": "boolean"
|
|
9732
|
+
},
|
|
9733
|
+
"default": "false",
|
|
9734
|
+
"description": "Hide the header entirely (title and close slot).",
|
|
9735
|
+
"attribute": "without-header",
|
|
9736
|
+
"reflects": true,
|
|
9737
|
+
"inheritedFrom": {
|
|
9738
|
+
"name": "LuxenDialog",
|
|
9739
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
9740
|
+
}
|
|
9741
|
+
},
|
|
9622
9742
|
{
|
|
9623
9743
|
"kind": "field",
|
|
9624
9744
|
"name": "dialog",
|
|
@@ -9876,6 +9996,19 @@
|
|
|
9876
9996
|
"name": "LuxenDialog",
|
|
9877
9997
|
"module": "src/html/elements/dialog/dialog.ts"
|
|
9878
9998
|
}
|
|
9999
|
+
},
|
|
10000
|
+
{
|
|
10001
|
+
"name": "without-header",
|
|
10002
|
+
"type": {
|
|
10003
|
+
"text": "boolean"
|
|
10004
|
+
},
|
|
10005
|
+
"default": "false",
|
|
10006
|
+
"description": "Hide the header entirely (title and close slot).",
|
|
10007
|
+
"fieldName": "withoutHeader",
|
|
10008
|
+
"inheritedFrom": {
|
|
10009
|
+
"name": "LuxenDialog",
|
|
10010
|
+
"module": "src/html/elements/dialog/dialog.ts"
|
|
10011
|
+
}
|
|
9879
10012
|
}
|
|
9880
10013
|
],
|
|
9881
10014
|
"superclass": {
|
|
@@ -10653,11 +10786,31 @@
|
|
|
10653
10786
|
},
|
|
10654
10787
|
{
|
|
10655
10788
|
"description": "Cell width and height (default: 2.75rem). Font size scales automatically.",
|
|
10656
|
-
"name": "--size"
|
|
10789
|
+
"name": "--cell-size"
|
|
10657
10790
|
},
|
|
10658
10791
|
{
|
|
10659
10792
|
"description": "Space between cells (default: 0.5rem).",
|
|
10660
|
-
"name": "--gap"
|
|
10793
|
+
"name": "--cell-gap"
|
|
10794
|
+
},
|
|
10795
|
+
{
|
|
10796
|
+
"description": "Cell background color.",
|
|
10797
|
+
"name": "--cell-bg-color"
|
|
10798
|
+
},
|
|
10799
|
+
{
|
|
10800
|
+
"description": "Cell border color.",
|
|
10801
|
+
"name": "--cell-border-color"
|
|
10802
|
+
},
|
|
10803
|
+
{
|
|
10804
|
+
"description": "Cell border-radius.",
|
|
10805
|
+
"name": "--cell-border-radius"
|
|
10806
|
+
},
|
|
10807
|
+
{
|
|
10808
|
+
"description": "Border + ring color of the active (focused) cell.",
|
|
10809
|
+
"name": "--cell-focus-color"
|
|
10810
|
+
},
|
|
10811
|
+
{
|
|
10812
|
+
"description": "`box-shadow` of the active cell ring (defaults to a 1px solid ring; set to `none` to disable).",
|
|
10813
|
+
"name": "--cell-focus-ring"
|
|
10661
10814
|
}
|
|
10662
10815
|
],
|
|
10663
10816
|
"members": [
|
|
@@ -10734,6 +10887,11 @@
|
|
|
10734
10887
|
"name": "_clearCells",
|
|
10735
10888
|
"privacy": "private"
|
|
10736
10889
|
},
|
|
10890
|
+
{
|
|
10891
|
+
"kind": "field",
|
|
10892
|
+
"name": "_scheduleUpdateCells",
|
|
10893
|
+
"privacy": "private"
|
|
10894
|
+
},
|
|
10737
10895
|
{
|
|
10738
10896
|
"kind": "method",
|
|
10739
10897
|
"name": "emit",
|
|
@@ -13857,372 +14015,152 @@
|
|
|
13857
14015
|
},
|
|
13858
14016
|
{
|
|
13859
14017
|
"kind": "javascript-module",
|
|
13860
|
-
"path": "src/html/
|
|
14018
|
+
"path": "src/html/elements/tree-item/index.ts",
|
|
14019
|
+
"declarations": [],
|
|
14020
|
+
"exports": [
|
|
14021
|
+
{
|
|
14022
|
+
"kind": "js",
|
|
14023
|
+
"name": "*",
|
|
14024
|
+
"declaration": {
|
|
14025
|
+
"name": "*",
|
|
14026
|
+
"module": "src/html/elements/tree-item/tree-item"
|
|
14027
|
+
}
|
|
14028
|
+
}
|
|
14029
|
+
]
|
|
14030
|
+
},
|
|
14031
|
+
{
|
|
14032
|
+
"kind": "javascript-module",
|
|
14033
|
+
"path": "src/html/elements/tree-item/tree-item.ts",
|
|
13861
14034
|
"declarations": [
|
|
13862
14035
|
{
|
|
13863
14036
|
"kind": "class",
|
|
13864
|
-
"description": "",
|
|
13865
|
-
"name": "
|
|
14037
|
+
"description": "A node inside `<l-tree>`. Nested `<l-tree-item>` children become sub-nodes.",
|
|
14038
|
+
"name": "LuxenTreeItem",
|
|
14039
|
+
"cssProperties": [
|
|
14040
|
+
{
|
|
14041
|
+
"description": "Internal depth index driving indentation. Set by `<l-tree>`. Layout tokens (`--chevron-size`, `--row-height`, `--row-padding-inline`, `--item-gap`) live on `<l-tree>` and cascade down — see its CSS custom properties.",
|
|
14042
|
+
"name": "--_depth"
|
|
14043
|
+
}
|
|
14044
|
+
],
|
|
14045
|
+
"cssParts": [
|
|
14046
|
+
{
|
|
14047
|
+
"description": "The item row.",
|
|
14048
|
+
"name": "base"
|
|
14049
|
+
},
|
|
14050
|
+
{
|
|
14051
|
+
"description": "The chevron toggle area.",
|
|
14052
|
+
"name": "expand-button"
|
|
14053
|
+
},
|
|
14054
|
+
{
|
|
14055
|
+
"description": "The native checkbox input.",
|
|
14056
|
+
"name": "checkbox"
|
|
14057
|
+
},
|
|
14058
|
+
{
|
|
14059
|
+
"description": "The label container.",
|
|
14060
|
+
"name": "label"
|
|
14061
|
+
},
|
|
14062
|
+
{
|
|
14063
|
+
"description": "Wrapper around the content and children slots; carries the indent guide.",
|
|
14064
|
+
"name": "branch"
|
|
14065
|
+
},
|
|
14066
|
+
{
|
|
14067
|
+
"description": "The content slot wrapper (block area between the row and the children).",
|
|
14068
|
+
"name": "content"
|
|
14069
|
+
},
|
|
14070
|
+
{
|
|
14071
|
+
"description": "The nested items container.",
|
|
14072
|
+
"name": "children"
|
|
14073
|
+
}
|
|
14074
|
+
],
|
|
14075
|
+
"slots": [
|
|
14076
|
+
{
|
|
14077
|
+
"description": "Label content (kept to a single row).",
|
|
14078
|
+
"name": ""
|
|
14079
|
+
},
|
|
14080
|
+
{
|
|
14081
|
+
"description": "Leading content before the label (e.g. icon).",
|
|
14082
|
+
"name": "prefix"
|
|
14083
|
+
},
|
|
14084
|
+
{
|
|
14085
|
+
"description": "Trailing content.",
|
|
14086
|
+
"name": "suffix"
|
|
14087
|
+
},
|
|
14088
|
+
{
|
|
14089
|
+
"description": "Icon shown when the item is collapsed.",
|
|
14090
|
+
"name": "expand-icon"
|
|
14091
|
+
},
|
|
14092
|
+
{
|
|
14093
|
+
"description": "Icon shown when the item is expanded.",
|
|
14094
|
+
"name": "collapse-icon"
|
|
14095
|
+
},
|
|
14096
|
+
{
|
|
14097
|
+
"description": "Block content that belongs to the item but not to its header row (e.g. comment body, action bar). Hidden when a branch is collapsed.",
|
|
14098
|
+
"name": "content"
|
|
14099
|
+
}
|
|
14100
|
+
],
|
|
13866
14101
|
"members": [
|
|
13867
14102
|
{
|
|
13868
14103
|
"kind": "field",
|
|
13869
|
-
"name": "
|
|
13870
|
-
"
|
|
13871
|
-
"text": "ReactiveControllerHost & HTMLElement"
|
|
13872
|
-
},
|
|
13873
|
-
"privacy": "private",
|
|
13874
|
-
"default": "host"
|
|
14104
|
+
"name": "_internals",
|
|
14105
|
+
"privacy": "private"
|
|
13875
14106
|
},
|
|
13876
14107
|
{
|
|
13877
14108
|
"kind": "field",
|
|
13878
|
-
"name": "
|
|
14109
|
+
"name": "_childObserver",
|
|
13879
14110
|
"type": {
|
|
13880
|
-
"text": "
|
|
14111
|
+
"text": "MutationObserver | undefined"
|
|
13881
14112
|
},
|
|
13882
|
-
"privacy": "private"
|
|
13883
|
-
"default": "config"
|
|
14113
|
+
"privacy": "private"
|
|
13884
14114
|
},
|
|
13885
14115
|
{
|
|
13886
14116
|
"kind": "field",
|
|
13887
|
-
"name": "
|
|
14117
|
+
"name": "expanded",
|
|
13888
14118
|
"type": {
|
|
13889
|
-
"text": "
|
|
14119
|
+
"text": "boolean"
|
|
13890
14120
|
},
|
|
13891
|
-
"
|
|
14121
|
+
"default": "false",
|
|
14122
|
+
"description": "Whether the item is expanded.",
|
|
14123
|
+
"attribute": "expanded",
|
|
14124
|
+
"reflects": true
|
|
13892
14125
|
},
|
|
13893
14126
|
{
|
|
13894
14127
|
"kind": "field",
|
|
13895
|
-
"name": "
|
|
14128
|
+
"name": "selected",
|
|
13896
14129
|
"type": {
|
|
13897
|
-
"text": "
|
|
14130
|
+
"text": "boolean"
|
|
13898
14131
|
},
|
|
13899
|
-
"
|
|
14132
|
+
"default": "false",
|
|
14133
|
+
"description": "Whether the item is selected.",
|
|
14134
|
+
"attribute": "selected",
|
|
14135
|
+
"reflects": true
|
|
13900
14136
|
},
|
|
13901
14137
|
{
|
|
13902
14138
|
"kind": "field",
|
|
13903
|
-
"name": "
|
|
14139
|
+
"name": "indeterminate",
|
|
13904
14140
|
"type": {
|
|
13905
|
-
"text": "
|
|
14141
|
+
"text": "boolean"
|
|
13906
14142
|
},
|
|
13907
|
-
"
|
|
14143
|
+
"default": "false",
|
|
14144
|
+
"description": "Whether the checkbox is indeterminate (some descendants selected).",
|
|
14145
|
+
"attribute": "indeterminate",
|
|
14146
|
+
"reflects": true
|
|
13908
14147
|
},
|
|
13909
14148
|
{
|
|
13910
14149
|
"kind": "field",
|
|
13911
|
-
"name": "
|
|
14150
|
+
"name": "disabled",
|
|
13912
14151
|
"type": {
|
|
13913
|
-
"text": "
|
|
14152
|
+
"text": "boolean"
|
|
13914
14153
|
},
|
|
13915
|
-
"
|
|
14154
|
+
"default": "false",
|
|
14155
|
+
"description": "Whether the item is disabled.",
|
|
14156
|
+
"attribute": "disabled",
|
|
14157
|
+
"reflects": true
|
|
13916
14158
|
},
|
|
13917
14159
|
{
|
|
13918
14160
|
"kind": "field",
|
|
13919
|
-
"name": "
|
|
14161
|
+
"name": "lazy",
|
|
13920
14162
|
"type": {
|
|
13921
|
-
"text": "
|
|
13922
|
-
},
|
|
13923
|
-
"privacy": "private",
|
|
13924
|
-
"default": "''"
|
|
13925
|
-
},
|
|
13926
|
-
{
|
|
13927
|
-
"kind": "method",
|
|
13928
|
-
"name": "hostConnected"
|
|
13929
|
-
},
|
|
13930
|
-
{
|
|
13931
|
-
"kind": "method",
|
|
13932
|
-
"name": "hostDisconnected"
|
|
13933
|
-
},
|
|
13934
|
-
{
|
|
13935
|
-
"kind": "field",
|
|
13936
|
-
"name": "currentPlacement",
|
|
13937
|
-
"readonly": true
|
|
13938
|
-
},
|
|
13939
|
-
{
|
|
13940
|
-
"kind": "method",
|
|
13941
|
-
"name": "updatePosition",
|
|
13942
|
-
"parameters": [
|
|
13943
|
-
{
|
|
13944
|
-
"name": "options",
|
|
13945
|
-
"type": {
|
|
13946
|
-
"text": "PositionOptions"
|
|
13947
|
-
}
|
|
13948
|
-
}
|
|
13949
|
-
]
|
|
13950
|
-
},
|
|
13951
|
-
{
|
|
13952
|
-
"kind": "method",
|
|
13953
|
-
"name": "startPositioning",
|
|
13954
|
-
"parameters": [
|
|
13955
|
-
{
|
|
13956
|
-
"name": "options",
|
|
13957
|
-
"type": {
|
|
13958
|
-
"text": "PositionOptions"
|
|
13959
|
-
}
|
|
13960
|
-
}
|
|
13961
|
-
]
|
|
13962
|
-
},
|
|
13963
|
-
{
|
|
13964
|
-
"kind": "method",
|
|
13965
|
-
"name": "stopPositioning"
|
|
13966
|
-
},
|
|
13967
|
-
{
|
|
13968
|
-
"kind": "method",
|
|
13969
|
-
"name": "handlePointerLeave",
|
|
13970
|
-
"parameters": [
|
|
13971
|
-
{
|
|
13972
|
-
"name": "e",
|
|
13973
|
-
"type": {
|
|
13974
|
-
"text": "PointerEvent"
|
|
13975
|
-
}
|
|
13976
|
-
},
|
|
13977
|
-
{
|
|
13978
|
-
"name": "onHide",
|
|
13979
|
-
"type": {
|
|
13980
|
-
"text": "() => void"
|
|
13981
|
-
}
|
|
13982
|
-
}
|
|
13983
|
-
]
|
|
13984
|
-
},
|
|
13985
|
-
{
|
|
13986
|
-
"kind": "method",
|
|
13987
|
-
"name": "cleanupSafePolygon"
|
|
13988
|
-
},
|
|
13989
|
-
{
|
|
13990
|
-
"kind": "method",
|
|
13991
|
-
"name": "addTriggerListeners",
|
|
13992
|
-
"parameters": [
|
|
13993
|
-
{
|
|
13994
|
-
"name": "handlers",
|
|
13995
|
-
"type": {
|
|
13996
|
-
"text": "TriggerHandlers"
|
|
13997
|
-
}
|
|
13998
|
-
}
|
|
13999
|
-
]
|
|
14000
|
-
},
|
|
14001
|
-
{
|
|
14002
|
-
"kind": "method",
|
|
14003
|
-
"name": "removeTriggerListeners",
|
|
14004
|
-
"parameters": [
|
|
14005
|
-
{
|
|
14006
|
-
"name": "triggerOverride",
|
|
14007
|
-
"optional": true,
|
|
14008
|
-
"type": {
|
|
14009
|
-
"text": "HTMLElement | null"
|
|
14010
|
-
}
|
|
14011
|
-
}
|
|
14012
|
-
]
|
|
14013
|
-
},
|
|
14014
|
-
{
|
|
14015
|
-
"kind": "method",
|
|
14016
|
-
"name": "animateShow",
|
|
14017
|
-
"parameters": [
|
|
14018
|
-
{
|
|
14019
|
-
"name": "el",
|
|
14020
|
-
"type": {
|
|
14021
|
-
"text": "HTMLElement"
|
|
14022
|
-
}
|
|
14023
|
-
},
|
|
14024
|
-
{
|
|
14025
|
-
"name": "duration",
|
|
14026
|
-
"type": {
|
|
14027
|
-
"text": "number"
|
|
14028
|
-
}
|
|
14029
|
-
},
|
|
14030
|
-
{
|
|
14031
|
-
"name": "keyframes",
|
|
14032
|
-
"optional": true,
|
|
14033
|
-
"type": {
|
|
14034
|
-
"text": "Keyframe[]"
|
|
14035
|
-
}
|
|
14036
|
-
}
|
|
14037
|
-
]
|
|
14038
|
-
},
|
|
14039
|
-
{
|
|
14040
|
-
"kind": "method",
|
|
14041
|
-
"name": "animateHide",
|
|
14042
|
-
"parameters": [
|
|
14043
|
-
{
|
|
14044
|
-
"name": "el",
|
|
14045
|
-
"type": {
|
|
14046
|
-
"text": "HTMLElement"
|
|
14047
|
-
}
|
|
14048
|
-
},
|
|
14049
|
-
{
|
|
14050
|
-
"name": "duration",
|
|
14051
|
-
"type": {
|
|
14052
|
-
"text": "number"
|
|
14053
|
-
}
|
|
14054
|
-
},
|
|
14055
|
-
{
|
|
14056
|
-
"name": "keyframes",
|
|
14057
|
-
"optional": true,
|
|
14058
|
-
"type": {
|
|
14059
|
-
"text": "Keyframe[]"
|
|
14060
|
-
}
|
|
14061
|
-
}
|
|
14062
|
-
]
|
|
14063
|
-
}
|
|
14064
|
-
]
|
|
14065
|
-
}
|
|
14066
|
-
],
|
|
14067
|
-
"exports": [
|
|
14068
|
-
{
|
|
14069
|
-
"kind": "js",
|
|
14070
|
-
"name": "PopoverController",
|
|
14071
|
-
"declaration": {
|
|
14072
|
-
"name": "PopoverController",
|
|
14073
|
-
"module": "src/html/shared/controllers/popover.ts"
|
|
14074
|
-
}
|
|
14075
|
-
}
|
|
14076
|
-
]
|
|
14077
|
-
},
|
|
14078
|
-
{
|
|
14079
|
-
"kind": "javascript-module",
|
|
14080
|
-
"path": "src/html/elements/tree-item/index.ts",
|
|
14081
|
-
"declarations": [],
|
|
14082
|
-
"exports": [
|
|
14083
|
-
{
|
|
14084
|
-
"kind": "js",
|
|
14085
|
-
"name": "*",
|
|
14086
|
-
"declaration": {
|
|
14087
|
-
"name": "*",
|
|
14088
|
-
"module": "src/html/elements/tree-item/tree-item"
|
|
14089
|
-
}
|
|
14090
|
-
}
|
|
14091
|
-
]
|
|
14092
|
-
},
|
|
14093
|
-
{
|
|
14094
|
-
"kind": "javascript-module",
|
|
14095
|
-
"path": "src/html/elements/tree-item/tree-item.ts",
|
|
14096
|
-
"declarations": [
|
|
14097
|
-
{
|
|
14098
|
-
"kind": "class",
|
|
14099
|
-
"description": "A node inside `<l-tree>`. Nested `<l-tree-item>` children become sub-nodes.",
|
|
14100
|
-
"name": "LuxenTreeItem",
|
|
14101
|
-
"cssProperties": [
|
|
14102
|
-
{
|
|
14103
|
-
"description": "Internal depth index driving indentation. Set by `<l-tree>`. Layout tokens (`--chevron-size`, `--row-height`, `--row-padding-inline`, `--item-gap`) live on `<l-tree>` and cascade down — see its CSS custom properties.",
|
|
14104
|
-
"name": "--_depth"
|
|
14105
|
-
}
|
|
14106
|
-
],
|
|
14107
|
-
"cssParts": [
|
|
14108
|
-
{
|
|
14109
|
-
"description": "The item row.",
|
|
14110
|
-
"name": "base"
|
|
14111
|
-
},
|
|
14112
|
-
{
|
|
14113
|
-
"description": "The chevron toggle area.",
|
|
14114
|
-
"name": "expand-button"
|
|
14115
|
-
},
|
|
14116
|
-
{
|
|
14117
|
-
"description": "The native checkbox input.",
|
|
14118
|
-
"name": "checkbox"
|
|
14119
|
-
},
|
|
14120
|
-
{
|
|
14121
|
-
"description": "The label container.",
|
|
14122
|
-
"name": "label"
|
|
14123
|
-
},
|
|
14124
|
-
{
|
|
14125
|
-
"description": "Wrapper around the content and children slots; carries the indent guide.",
|
|
14126
|
-
"name": "branch"
|
|
14127
|
-
},
|
|
14128
|
-
{
|
|
14129
|
-
"description": "The content slot wrapper (block area between the row and the children).",
|
|
14130
|
-
"name": "content"
|
|
14131
|
-
},
|
|
14132
|
-
{
|
|
14133
|
-
"description": "The nested items container.",
|
|
14134
|
-
"name": "children"
|
|
14135
|
-
}
|
|
14136
|
-
],
|
|
14137
|
-
"slots": [
|
|
14138
|
-
{
|
|
14139
|
-
"description": "Label content (kept to a single row).",
|
|
14140
|
-
"name": ""
|
|
14141
|
-
},
|
|
14142
|
-
{
|
|
14143
|
-
"description": "Leading content before the label (e.g. icon).",
|
|
14144
|
-
"name": "prefix"
|
|
14145
|
-
},
|
|
14146
|
-
{
|
|
14147
|
-
"description": "Trailing content.",
|
|
14148
|
-
"name": "suffix"
|
|
14149
|
-
},
|
|
14150
|
-
{
|
|
14151
|
-
"description": "Icon shown when the item is collapsed.",
|
|
14152
|
-
"name": "expand-icon"
|
|
14153
|
-
},
|
|
14154
|
-
{
|
|
14155
|
-
"description": "Icon shown when the item is expanded.",
|
|
14156
|
-
"name": "collapse-icon"
|
|
14157
|
-
},
|
|
14158
|
-
{
|
|
14159
|
-
"description": "Block content that belongs to the item but not to its header row (e.g. comment body, action bar). Hidden when a branch is collapsed.",
|
|
14160
|
-
"name": "content"
|
|
14161
|
-
}
|
|
14162
|
-
],
|
|
14163
|
-
"members": [
|
|
14164
|
-
{
|
|
14165
|
-
"kind": "field",
|
|
14166
|
-
"name": "_internals",
|
|
14167
|
-
"privacy": "private"
|
|
14168
|
-
},
|
|
14169
|
-
{
|
|
14170
|
-
"kind": "field",
|
|
14171
|
-
"name": "_childObserver",
|
|
14172
|
-
"type": {
|
|
14173
|
-
"text": "MutationObserver | undefined"
|
|
14174
|
-
},
|
|
14175
|
-
"privacy": "private"
|
|
14176
|
-
},
|
|
14177
|
-
{
|
|
14178
|
-
"kind": "field",
|
|
14179
|
-
"name": "expanded",
|
|
14180
|
-
"type": {
|
|
14181
|
-
"text": "boolean"
|
|
14182
|
-
},
|
|
14183
|
-
"default": "false",
|
|
14184
|
-
"description": "Whether the item is expanded.",
|
|
14185
|
-
"attribute": "expanded",
|
|
14186
|
-
"reflects": true
|
|
14187
|
-
},
|
|
14188
|
-
{
|
|
14189
|
-
"kind": "field",
|
|
14190
|
-
"name": "selected",
|
|
14191
|
-
"type": {
|
|
14192
|
-
"text": "boolean"
|
|
14193
|
-
},
|
|
14194
|
-
"default": "false",
|
|
14195
|
-
"description": "Whether the item is selected.",
|
|
14196
|
-
"attribute": "selected",
|
|
14197
|
-
"reflects": true
|
|
14198
|
-
},
|
|
14199
|
-
{
|
|
14200
|
-
"kind": "field",
|
|
14201
|
-
"name": "indeterminate",
|
|
14202
|
-
"type": {
|
|
14203
|
-
"text": "boolean"
|
|
14204
|
-
},
|
|
14205
|
-
"default": "false",
|
|
14206
|
-
"description": "Whether the checkbox is indeterminate (some descendants selected).",
|
|
14207
|
-
"attribute": "indeterminate",
|
|
14208
|
-
"reflects": true
|
|
14209
|
-
},
|
|
14210
|
-
{
|
|
14211
|
-
"kind": "field",
|
|
14212
|
-
"name": "disabled",
|
|
14213
|
-
"type": {
|
|
14214
|
-
"text": "boolean"
|
|
14215
|
-
},
|
|
14216
|
-
"default": "false",
|
|
14217
|
-
"description": "Whether the item is disabled.",
|
|
14218
|
-
"attribute": "disabled",
|
|
14219
|
-
"reflects": true
|
|
14220
|
-
},
|
|
14221
|
-
{
|
|
14222
|
-
"kind": "field",
|
|
14223
|
-
"name": "lazy",
|
|
14224
|
-
"type": {
|
|
14225
|
-
"text": "boolean"
|
|
14163
|
+
"text": "boolean"
|
|
14226
14164
|
},
|
|
14227
14165
|
"default": "false",
|
|
14228
14166
|
"description": "Marks this item as having children that will be loaded on first expand.",
|
|
@@ -14481,6 +14419,226 @@
|
|
|
14481
14419
|
}
|
|
14482
14420
|
]
|
|
14483
14421
|
},
|
|
14422
|
+
{
|
|
14423
|
+
"kind": "javascript-module",
|
|
14424
|
+
"path": "src/html/shared/controllers/popover.ts",
|
|
14425
|
+
"declarations": [
|
|
14426
|
+
{
|
|
14427
|
+
"kind": "class",
|
|
14428
|
+
"description": "",
|
|
14429
|
+
"name": "PopoverController",
|
|
14430
|
+
"members": [
|
|
14431
|
+
{
|
|
14432
|
+
"kind": "field",
|
|
14433
|
+
"name": "_host",
|
|
14434
|
+
"type": {
|
|
14435
|
+
"text": "ReactiveControllerHost & HTMLElement"
|
|
14436
|
+
},
|
|
14437
|
+
"privacy": "private",
|
|
14438
|
+
"default": "host"
|
|
14439
|
+
},
|
|
14440
|
+
{
|
|
14441
|
+
"kind": "field",
|
|
14442
|
+
"name": "_config",
|
|
14443
|
+
"type": {
|
|
14444
|
+
"text": "PopoverControllerConfig"
|
|
14445
|
+
},
|
|
14446
|
+
"privacy": "private",
|
|
14447
|
+
"default": "config"
|
|
14448
|
+
},
|
|
14449
|
+
{
|
|
14450
|
+
"kind": "field",
|
|
14451
|
+
"name": "_cleanupAutoUpdate",
|
|
14452
|
+
"type": {
|
|
14453
|
+
"text": "() => void | undefined"
|
|
14454
|
+
},
|
|
14455
|
+
"privacy": "private"
|
|
14456
|
+
},
|
|
14457
|
+
{
|
|
14458
|
+
"kind": "field",
|
|
14459
|
+
"name": "_cleanupSafePolygon",
|
|
14460
|
+
"type": {
|
|
14461
|
+
"text": "() => void | undefined"
|
|
14462
|
+
},
|
|
14463
|
+
"privacy": "private"
|
|
14464
|
+
},
|
|
14465
|
+
{
|
|
14466
|
+
"kind": "field",
|
|
14467
|
+
"name": "_handlers",
|
|
14468
|
+
"type": {
|
|
14469
|
+
"text": "TriggerHandlers | undefined"
|
|
14470
|
+
},
|
|
14471
|
+
"privacy": "private"
|
|
14472
|
+
},
|
|
14473
|
+
{
|
|
14474
|
+
"kind": "field",
|
|
14475
|
+
"name": "_triggerElement",
|
|
14476
|
+
"type": {
|
|
14477
|
+
"text": "HTMLElement | null | undefined"
|
|
14478
|
+
},
|
|
14479
|
+
"privacy": "private"
|
|
14480
|
+
},
|
|
14481
|
+
{
|
|
14482
|
+
"kind": "field",
|
|
14483
|
+
"name": "_currentPlacement",
|
|
14484
|
+
"type": {
|
|
14485
|
+
"text": "string"
|
|
14486
|
+
},
|
|
14487
|
+
"privacy": "private",
|
|
14488
|
+
"default": "''"
|
|
14489
|
+
},
|
|
14490
|
+
{
|
|
14491
|
+
"kind": "method",
|
|
14492
|
+
"name": "hostConnected"
|
|
14493
|
+
},
|
|
14494
|
+
{
|
|
14495
|
+
"kind": "method",
|
|
14496
|
+
"name": "hostDisconnected"
|
|
14497
|
+
},
|
|
14498
|
+
{
|
|
14499
|
+
"kind": "field",
|
|
14500
|
+
"name": "currentPlacement",
|
|
14501
|
+
"readonly": true
|
|
14502
|
+
},
|
|
14503
|
+
{
|
|
14504
|
+
"kind": "method",
|
|
14505
|
+
"name": "updatePosition",
|
|
14506
|
+
"parameters": [
|
|
14507
|
+
{
|
|
14508
|
+
"name": "options",
|
|
14509
|
+
"type": {
|
|
14510
|
+
"text": "PositionOptions"
|
|
14511
|
+
}
|
|
14512
|
+
}
|
|
14513
|
+
]
|
|
14514
|
+
},
|
|
14515
|
+
{
|
|
14516
|
+
"kind": "method",
|
|
14517
|
+
"name": "startPositioning",
|
|
14518
|
+
"parameters": [
|
|
14519
|
+
{
|
|
14520
|
+
"name": "options",
|
|
14521
|
+
"type": {
|
|
14522
|
+
"text": "PositionOptions"
|
|
14523
|
+
}
|
|
14524
|
+
}
|
|
14525
|
+
]
|
|
14526
|
+
},
|
|
14527
|
+
{
|
|
14528
|
+
"kind": "method",
|
|
14529
|
+
"name": "stopPositioning"
|
|
14530
|
+
},
|
|
14531
|
+
{
|
|
14532
|
+
"kind": "method",
|
|
14533
|
+
"name": "handlePointerLeave",
|
|
14534
|
+
"parameters": [
|
|
14535
|
+
{
|
|
14536
|
+
"name": "e",
|
|
14537
|
+
"type": {
|
|
14538
|
+
"text": "PointerEvent"
|
|
14539
|
+
}
|
|
14540
|
+
},
|
|
14541
|
+
{
|
|
14542
|
+
"name": "onHide",
|
|
14543
|
+
"type": {
|
|
14544
|
+
"text": "() => void"
|
|
14545
|
+
}
|
|
14546
|
+
}
|
|
14547
|
+
]
|
|
14548
|
+
},
|
|
14549
|
+
{
|
|
14550
|
+
"kind": "method",
|
|
14551
|
+
"name": "cleanupSafePolygon"
|
|
14552
|
+
},
|
|
14553
|
+
{
|
|
14554
|
+
"kind": "method",
|
|
14555
|
+
"name": "addTriggerListeners",
|
|
14556
|
+
"parameters": [
|
|
14557
|
+
{
|
|
14558
|
+
"name": "handlers",
|
|
14559
|
+
"type": {
|
|
14560
|
+
"text": "TriggerHandlers"
|
|
14561
|
+
}
|
|
14562
|
+
}
|
|
14563
|
+
]
|
|
14564
|
+
},
|
|
14565
|
+
{
|
|
14566
|
+
"kind": "method",
|
|
14567
|
+
"name": "removeTriggerListeners",
|
|
14568
|
+
"parameters": [
|
|
14569
|
+
{
|
|
14570
|
+
"name": "triggerOverride",
|
|
14571
|
+
"optional": true,
|
|
14572
|
+
"type": {
|
|
14573
|
+
"text": "HTMLElement | null"
|
|
14574
|
+
}
|
|
14575
|
+
}
|
|
14576
|
+
]
|
|
14577
|
+
},
|
|
14578
|
+
{
|
|
14579
|
+
"kind": "method",
|
|
14580
|
+
"name": "animateShow",
|
|
14581
|
+
"parameters": [
|
|
14582
|
+
{
|
|
14583
|
+
"name": "el",
|
|
14584
|
+
"type": {
|
|
14585
|
+
"text": "HTMLElement"
|
|
14586
|
+
}
|
|
14587
|
+
},
|
|
14588
|
+
{
|
|
14589
|
+
"name": "duration",
|
|
14590
|
+
"type": {
|
|
14591
|
+
"text": "number"
|
|
14592
|
+
}
|
|
14593
|
+
},
|
|
14594
|
+
{
|
|
14595
|
+
"name": "keyframes",
|
|
14596
|
+
"optional": true,
|
|
14597
|
+
"type": {
|
|
14598
|
+
"text": "Keyframe[]"
|
|
14599
|
+
}
|
|
14600
|
+
}
|
|
14601
|
+
]
|
|
14602
|
+
},
|
|
14603
|
+
{
|
|
14604
|
+
"kind": "method",
|
|
14605
|
+
"name": "animateHide",
|
|
14606
|
+
"parameters": [
|
|
14607
|
+
{
|
|
14608
|
+
"name": "el",
|
|
14609
|
+
"type": {
|
|
14610
|
+
"text": "HTMLElement"
|
|
14611
|
+
}
|
|
14612
|
+
},
|
|
14613
|
+
{
|
|
14614
|
+
"name": "duration",
|
|
14615
|
+
"type": {
|
|
14616
|
+
"text": "number"
|
|
14617
|
+
}
|
|
14618
|
+
},
|
|
14619
|
+
{
|
|
14620
|
+
"name": "keyframes",
|
|
14621
|
+
"optional": true,
|
|
14622
|
+
"type": {
|
|
14623
|
+
"text": "Keyframe[]"
|
|
14624
|
+
}
|
|
14625
|
+
}
|
|
14626
|
+
]
|
|
14627
|
+
}
|
|
14628
|
+
]
|
|
14629
|
+
}
|
|
14630
|
+
],
|
|
14631
|
+
"exports": [
|
|
14632
|
+
{
|
|
14633
|
+
"kind": "js",
|
|
14634
|
+
"name": "PopoverController",
|
|
14635
|
+
"declaration": {
|
|
14636
|
+
"name": "PopoverController",
|
|
14637
|
+
"module": "src/html/shared/controllers/popover.ts"
|
|
14638
|
+
}
|
|
14639
|
+
}
|
|
14640
|
+
]
|
|
14641
|
+
},
|
|
14484
14642
|
{
|
|
14485
14643
|
"kind": "javascript-module",
|
|
14486
14644
|
"path": "src/html/shared/styles/host.styles.ts",
|