@luzmo/lucero 0.0.6 → 0.0.9
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/components/accordion/accordion-item.d.ts +2 -2
- package/components/accordion/accordion.d.ts +2 -2
- package/components/accordion/index.cjs +1 -1
- package/components/accordion/index.js +3 -3
- package/components/action-bar/index.cjs +1 -1
- package/components/action-bar/index.js +6 -6
- package/components/action-button/action-button.d.ts +4 -4
- package/components/action-button/index.cjs +1 -1
- package/components/action-button/index.js +3 -3
- package/components/action-group/action-group.d.ts +2 -2
- package/components/action-group/index.cjs +1 -1
- package/components/action-group/index.js +1 -1
- package/components/{action-group-C8YUQzt8.cjs → action-group-Uimj-MJP.cjs} +1 -1
- package/components/{action-group-B7oQXv30.js → action-group-enfc-YnW.js} +2 -2
- package/components/action-menu/index.cjs +1 -1
- package/components/action-menu/index.js +6 -6
- package/components/{async-directive-BhRGSTWB.js → async-directive-DWRUSKKF.js} +1 -1
- package/components/{async-directive-_65ULPLK.cjs → async-directive-D_Ter1F8.cjs} +1 -1
- package/components/avatar/avatar.d.ts +2 -2
- package/components/avatar/index.cjs +1 -1
- package/components/avatar/index.js +5 -5
- package/components/{base-rtxi7uaR.cjs → base-B7Pfl2if.cjs} +6 -6
- package/components/{base-CxUap9HL.js → base-CawdqE7p.js} +2 -1
- package/components/button/button-base.d.ts +2 -2
- package/components/button/button.d.ts +4 -4
- package/components/button/clear-button.d.ts +4 -4
- package/components/button/close-button.d.ts +4 -4
- package/components/button/index.cjs +1 -1
- package/components/button/index.js +6 -6
- package/components/{button-base-CgrTYVgq.js → button-base-B7v4eeRh.js} +14 -12
- package/components/{button-base-DjqSZyn2.cjs → button-base-DmjYs2s9.cjs} +2 -2
- package/components/button-group/button-group.d.ts +2 -2
- package/components/button-group/index.cjs +1 -1
- package/components/button-group/index.js +2 -2
- package/components/checkbox/checkbox.d.ts +2 -2
- package/components/checkbox/index.cjs +1 -1
- package/components/checkbox/index.js +3 -3
- package/components/{checkbox-mixin-BRluTF9s.js → checkbox-mixin-BFGTmw17.js} +2 -2
- package/components/{checkbox-mixin-iB-0ivgo.cjs → checkbox-mixin-DUhXwD46.cjs} +1 -1
- package/components/{clear-button-CyLF5dx_.js → clear-button-DgZmX5RX.js} +6 -6
- package/components/{clear-button-DFXE6MLx.cjs → clear-button-KdrF2jaV.cjs} +1 -1
- package/components/{close-button-CzpdWCWI.js → close-button-CFHQnbsK.js} +6 -6
- package/components/{close-button-CcD-aVqh.cjs → close-button-DVGUppyd.cjs} +1 -1
- package/components/color-area/index.cjs +3 -3
- package/components/color-area/index.js +5 -4
- package/components/color-field/index.cjs +1 -1
- package/components/color-field/index.js +2 -2
- package/components/color-handle/index.cjs +1 -1
- package/components/color-handle/index.js +2 -2
- package/components/color-loupe/index.cjs +1 -1
- package/components/color-loupe/index.js +1 -1
- package/components/{color-loupe-CD-dhmB1.js → color-loupe-DxcqXoJ6.js} +1 -1
- package/components/{color-loupe-BN3k1ACF.cjs → color-loupe-SskbNeMp.cjs} +1 -1
- package/components/color-menu/color-menu.d.ts +2 -2
- package/components/color-menu/index.cjs +1 -1
- package/components/color-menu/index.js +3 -3
- package/components/color-picker/color-picker.d.ts +2 -2
- package/components/color-picker/index.cjs +1 -1
- package/components/color-picker/index.js +3 -3
- package/components/color-slider/index.cjs +4 -4
- package/components/color-slider/index.js +6 -5
- package/components/{directive-helpers-C3pAxRR3.cjs → directive-helpers-TkFq2eZF.cjs} +1 -1
- package/components/{directive-helpers-D0vm0gvF.js → directive-helpers-nlQRAaQt.js} +1 -1
- package/components/divider/divider.d.ts +4 -4
- package/components/divider/index.cjs +1 -1
- package/components/divider/index.d.ts +3 -3
- package/components/divider/index.js +5 -5
- package/components/field-group/index.cjs +1 -1
- package/components/field-group/index.js +1 -1
- package/components/{field-group-DAImvhSF.js → field-group-DAhrTCfl.js} +2 -2
- package/components/{field-group-d5Hkb8UW.cjs → field-group-DSY2HUoj.cjs} +1 -1
- package/components/field-label/field-label.d.ts +4 -4
- package/components/field-label/index.cjs +1 -1
- package/components/field-label/index.d.ts +3 -3
- package/components/field-label/index.js +2 -2
- package/components/{field-label-DY9iRmRI.js → field-label-CAFfGxEL.js} +6 -6
- package/components/{field-label-D1zKXSG6.cjs → field-label-CjsQ3ujK.cjs} +2 -2
- package/components/{focusable-DyyBr-J-.cjs → focusable-DGWL1v1p.cjs} +1 -1
- package/components/{focusable-Bze9xE25.js → focusable-cj2QhwDT.js} +1 -1
- package/components/icon/index.cjs +1 -1
- package/components/icon/index.js +2 -2
- package/components/{if-defined-C-8FyBSN.cjs → if-defined-B56xGmAg.cjs} +1 -1
- package/components/{if-defined-XzWkhMhg.js → if-defined-BSAr_4u4.js} +1 -1
- package/components/{index-Ci6Jnhu4.js → index-CMvLpPKD.js} +7 -7
- package/components/{index-CNtoBntg.cjs → index-DnWavOZD.cjs} +2 -2
- package/components/index.cjs +1 -10
- package/components/index.js +145 -178
- package/components/infield-button/index.cjs +1 -1
- package/components/infield-button/index.js +3 -3
- package/components/infield-button/infield-button.d.ts +4 -4
- package/components/label/index.cjs +1 -1
- package/components/label/index.js +1 -1
- package/components/language-resolution-8yZa5r_P.js +53 -0
- package/components/language-resolution-DJzmyzZq.cjs +18 -0
- package/components/{like-anchor-DKuw8fJA.cjs → like-anchor-Bmabl9ra.cjs} +1 -1
- package/components/{like-anchor-DnsAwo_O.js → like-anchor-QBlvwFfT.js} +2 -2
- package/components/{manage-help-text-B-FXFXgT.js → manage-help-text-Cozl9Sgn.js} +2 -2
- package/components/{manage-help-text-I5aYDAKT.cjs → manage-help-text-OHXDgxyj.cjs} +1 -1
- package/components/menu/index.cjs +1 -1
- package/components/menu/index.js +1 -1
- package/components/menu/menu-divider.d.ts +2 -2
- package/components/menu/menu-item.d.ts +2 -2
- package/components/menu/menu.d.ts +2 -2
- package/components/multi-language-field/index.cjs +1 -1
- package/components/multi-language-field/index.js +3 -3
- package/components/multi-language-field/multi-language-field.d.ts +2 -2
- package/components/number-field/index.cjs +3 -3
- package/components/number-field/index.js +7 -6
- package/components/{observe-slot-text-DeSKIzvP.cjs → observe-slot-text-CrYB2Pj-.cjs} +1 -1
- package/components/{observe-slot-text-DrM71me1.js → observe-slot-text-ggb4kKgY.js} +1 -1
- package/components/overlay/abstract-overlay.d.ts +6 -6
- package/components/overlay/index.cjs +7 -7
- package/components/overlay/index.d.ts +4 -4
- package/components/overlay/index.js +11 -11
- package/components/overlay/interaction-controller.d.ts +5 -5
- package/components/overlay/loader.d.ts +2 -2
- package/components/overlay/overlay-dialog.d.ts +2 -2
- package/components/overlay/overlay-no-popover.d.ts +2 -2
- package/components/overlay/overlay-popover.d.ts +2 -2
- package/components/overlay/overlay-stack.d.ts +5 -5
- package/components/overlay/overlay-timer.d.ts +1 -1
- package/components/overlay/overlay-trigger.d.ts +5 -5
- package/components/overlay/overlay.d.ts +4 -4
- package/components/{overlay-C2Cck0Az.js → overlay-CJ9by37f.js} +48 -48
- package/components/{overlay-dn6Xe_vz.cjs → overlay-Deh6Ki6I.cjs} +2 -2
- package/components/{pending-state-BeJ7iP-O.cjs → pending-state-Do522lTd.cjs} +1 -1
- package/components/{pending-state--XOfTjzE.js → pending-state-TJj1x9xn.js} +2 -2
- package/components/picker/index.cjs +1 -1
- package/components/picker/index.js +2 -2
- package/components/picker/interaction-controller.d.ts +5 -5
- package/components/picker/picker.d.ts +6 -6
- package/components/{picker-BZAWrSDk.js → picker-833Apxe4.js} +10 -10
- package/components/{picker-8cOc-jjh.cjs → picker-DDx8ii73.cjs} +2 -2
- package/components/{platform-DQYMG7JI.js → platform-BM-uMWpX.js} +34 -19
- package/components/platform-BiXhwqk3.cjs +18 -0
- package/components/popover/index.cjs +1 -1
- package/components/popover/index.d.ts +3 -3
- package/components/popover/index.js +2 -2
- package/components/popover/popover.d.ts +5 -5
- package/components/{popover-CCzs4VH8.cjs → popover-BGOgXaka.cjs} +2 -2
- package/components/{popover-D0EliN0L.js → popover-DlkzrLpl.js} +3 -3
- package/components/progress-circle/index.cjs +1 -1
- package/components/progress-circle/index.js +1 -1
- package/components/progress-circle/progress-circle.d.ts +2 -2
- package/components/{progress-circle-_-9sAlMM.js → progress-circle-Be24kv6B.js} +3 -3
- package/components/{progress-circle-DYSSkjlY.cjs → progress-circle-NNbCMK2i.cjs} +1 -1
- package/components/radio/index.cjs +1 -1
- package/components/radio/index.js +3 -3
- package/components/radio/radio.d.ts +2 -2
- package/components/search/index.cjs +1 -1
- package/components/search/index.js +3 -3
- package/components/{sized-mixin-DcJTTohI.js → sized-mixin-BxMraZLS.js} +1 -1
- package/components/{sized-mixin-BAI6NiE2.cjs → sized-mixin-D9LkrMjb.cjs} +1 -1
- package/components/slider/index.cjs +1 -1
- package/components/slider/index.js +2 -2
- package/components/slider/slider.d.ts +2 -2
- package/components/{state-WWHLNMRG.cjs → state-C5I1gP3G.cjs} +1 -1
- package/components/{state-D8vot9IB.js → state-CYxk12SV.js} +1 -1
- package/components/{streaming-listener-BbmNyKWO.js → streaming-listener-CCalHg57.js} +18 -52
- package/components/streaming-listener-KVex1WWB.cjs +18 -0
- package/components/{style-map-CoBJRbvu.js → style-map-Ct2LiEds.js} +1 -1
- package/components/{style-map-DH0jkl7s.cjs → style-map-uMq-yDJ3.cjs} +1 -1
- package/components/swatch/index.cjs +1 -1
- package/components/swatch/index.js +4 -4
- package/components/swatch/swatch-group.d.ts +2 -2
- package/components/swatch/swatch.d.ts +2 -2
- package/components/switch/index.cjs +1 -1
- package/components/switch/index.js +4 -4
- package/components/switch/switch.d.ts +2 -2
- package/components/tags/index.cjs +1 -1
- package/components/tags/index.js +3 -3
- package/components/tags/tag.d.ts +2 -2
- package/components/tags/tags.d.ts +2 -2
- package/components/text-field/help-text.d.ts +4 -4
- package/components/text-field/index.cjs +2 -2
- package/components/text-field/index.d.ts +3 -3
- package/components/text-field/index.js +4 -4
- package/components/text-field/text-field.d.ts +2 -2
- package/components/{text-field-BU7yxiOR.cjs → text-field-5_ev9way.cjs} +1 -1
- package/components/{text-field-05QNK_Lj.js → text-field-CvKSS59x.js} +7 -7
- package/components/toast/index.cjs +1 -1
- package/components/toast/index.js +2 -2
- package/components/tooltip/index.cjs +2 -2
- package/components/tooltip/index.d.ts +3 -3
- package/components/tooltip/index.js +7 -5
- package/components/tooltip/tooltip.d.ts +6 -6
- package/components/unit-input/index.cjs +1 -1
- package/components/unit-input/index.js +3 -3
- package/components/utils.cjs +18 -0
- package/components/utils.js +42 -0
- package/custom-elements.json +1 -0
- package/index.d.ts +2 -1
- package/package.json +6 -6
- package/utils/index.d.ts +6 -0
- package/components/legend-position/index.d.ts +0 -7
- package/components/legend-position/legend-position.d.ts +0 -10
- package/components/platform-CQzYNWKq.cjs +0 -18
- package/components/streaming-listener-C2A7ZJZP.cjs +0 -18
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../base-
|
|
18
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../base-B7Pfl2if.cjs"),u=require("../query-BL-TJj7K.cjs"),d=require("../if-defined-B56xGmAg.cjs"),p=require("../style-map-uMq-yDJ3.cjs");require("../color-handle/index.cjs");const b=require("../focusable-DGWL1v1p.cjs"),m=require("../color-DphK4hwx.cjs"),g=require("../language-resolution-DJzmyzZq.cjs"),v=require("../streaming-listener-KVex1WWB.cjs"),h=require("../index-DCKCHDTt.cjs"),f='.opacity-checkerboard{position:absolute;block-size:100%;inline-size:100%;background:repeating-conic-gradient(var(--luzmo-color-loupe-checkerboard-light, rgb(255, 255, 255)) 0 25%,var(--luzmo-color-loupe-checkerboard-dark, rgb(230, 230, 230)) 0 50%) var(--luzmo-color-loupe-checkerboard-position, left top)/calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2) calc(var(--luzmo-color-loupe-checkerboard-size, 8px) * 2)}:host{--luzmo-color-slider-gradient-fallback: rgb(255 0 0) 0%, rgb(255 255 0) 17%, rgb(0 255 0) 33%, rgb(0 255 255) 50%, rgb(0 0 255) 67%, rgb(255 0 255) 83%, rgb(255 0 0) 100%;touch-action:none}:host([vertical]) .handle{inset-block-start:unset;inset-block-end:0}:host([vertical]) .slider{-webkit-appearance:slider-vertical;-moz-appearance:slider-vertical;appearance:slider-vertical}:host(:focus){outline:none}.gradient{overflow:hidden}::slotted(*){width:100%;height:100%}@media (forced-colors: active){:host{--highcontrast-color-slider-border-color: CanvasText;--highcontrast-color-slider-border-color-disabled: GrayText;--highcontrast-color-slider-background-color-disabled: Canvas;forced-color-adjust:none}}:host{--luzmo-color-handle-hitarea-border-radius: var( --luzmo-color-slider-handle-hitarea-border-radius, 0px );min-inline-size:var(--luzmo-color-slider-minimum-length, 80px);inline-size:var(--luzmo-color-slider-length, 192px);block-size:var(--luzmo-color-slider-control-track-width, 24px);-webkit-user-select:none;user-select:none;cursor:default;display:block;position:relative}:host([focused]){z-index:2}:host([disabled]){pointer-events:none}:host([disabled]) .gradient{display:none}:host([vertical]){min-block-size:var(--luzmo-color-slider-vertical-minimum-height, var(--luzmo-color-slider-minimum-length, 80px));block-size:var(--luzmo-color-slider-vertical-height, var(--luzmo-color-slider-length, 192px));min-inline-size:0;inline-size:var(--luzmo-color-slider-vertical-control-track-width, var(--luzmo-color-slider-control-track-height, 24px));display:inline-block}:host([vertical]) .handle{inset-inline-start:50%}.handle{inset-block-start:50%;inset-inline-start:0}.checkerboard{--luzmo-color-slider-border-color-local: var( --highcontrast-color-slider-border-color, var(--luzmo-color-slider-border-color, var(--luzmo-border-color)) )}.checkerboard:before{content:"";z-index:1;box-shadow:inset 0 0 0 var(--luzmo-color-slider-border-width, var(--luzmo-border-width)) var(--luzmo-color-slider-border-color-local);border-radius:var(--luzmo-color-slider-border-rounding, var(--luzmo-border-radius-s));position:absolute;top:0;right:0;bottom:0;left:0}:host([disabled]) .checkerboard{--luzmo-color-slider-border-color-local: var( --highcontrast-color-slider-border-color-disabled, var(--luzmo-color-slider-border-color-disabled, var(--luzmo-dimmed-color)) );background:var(--highcontrast-color-slider-background-color-disabled, var(--luzmo-color-slider-background-color-disabled, var(--luzmo-dimmed-color)))}.checkerboard,.gradient{inline-size:100%;block-size:100%;border-radius:var(--luzmo-color-slider-border-rounding, var(--luzmo-border-radius-s))}.gradient:dir(rtl),:host([dir=rtl]) .gradient{transform:scaleX(-1)}.slider{opacity:0;inline-size:100%;block-size:100%;z-index:0;pointer-events:none;margin:0;position:absolute;inset-block-start:0;inset-inline-start:0}';var y=Object.defineProperty,z=Object.getOwnPropertyDescriptor,l=(c,e,t,o)=>{for(var s=o>1?void 0:o?z(e,t):e,a=c.length-1,n;a>=0;a--)(n=c[a])&&(s=(o?n(e,t,s):n(s))||s);return o&&s&&y(e,t,s),s};class r extends b.Focusable{constructor(){super(...arguments),this.disabled=!1,this.focused=!1,this.label="hue",this.vertical=!1,this.languageResolver=new g.LanguageResolutionController(this),this.colorController=new m.ColorController(this,{applyColorToState:()=>{if(this.mode==="opacity"){const e=new h.TinyColor(this.colorController.color);this.sliderHandlePosition=100*e.getAlpha()}else this.sliderHandlePosition=100*(this.colorController.hue/360)},extractColorFromState:e=>this.mode==="opacity"?{...e.getColor("hsl"),a:this.value}:{...e.getColor("hsl"),h:this.value},maintains:"saturation"}),this.sliderHandlePosition=0,this.step=1,this.isLTR=!0,this._altered=0,this._pointerDown=!1}static get styles(){return[i.r(f)]}get value(){return this.mode==="opacity"?this.colorController.opacity:this.colorController.hue}set value(e){this.mode==="opacity"?this.colorController.opacity=e:this.colorController.hue=e}get color(){return this.colorController.color}set color(e){this.colorController.color=e}get altered(){return this._altered}set altered(e){this._altered=e,this.step=Math.max(1,this.altered*10)}get focusElement(){return this.input}handleKeydown(e){const{key:t}=e;this.focused=!0,this.altered=[e.shiftKey,e.ctrlKey,e.altKey].filter(n=>!!n).length;let o=0;switch(t){case"ArrowUp":{o=this.step;break}case"ArrowDown":{o=-this.step;break}case"ArrowLeft":{o=this.step*(this.isLTR?-1:1);break}case"ArrowRight":{o=this.step*(this.isLTR?1:-1);break}default:return}e.preventDefault();const a=100/(this.mode==="opacity"?100:360);this.sliderHandlePosition=Math.min(100,Math.max(0,this.sliderHandlePosition+o*a)),this.value=this.mode==="opacity"?Math.min(1,Math.max(0,this.value+o/100)):Math.min(360,Math.max(0,this.value+o)),this.colorController.applyColorFromState(),o!==0&&(this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}handleInput(e){const{valueAsNumber:t}=e.target;this.value=t,this.sliderHandlePosition=100*(this.mode==="opacity"?this.value:this.value/360),this.colorController.applyColorFromState()}handleChange(e){this.handleInput(e),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}focus(e={}){super.focus(e),this.forwardFocus()}forwardFocus(){this.input.focus()}handleFocus(){this.focused=!0}handleBlur(){this._pointerDown||(this.altered=0,this.focused=!1)}handlePointerdown(e){if(e.button!==0){e.preventDefault();return}this._pointerDown=!0,this.colorController.savePreviousColor(),this.boundingClientRect=this.getBoundingClientRect(),e.target.setPointerCapture(e.pointerId),e.pointerType==="mouse"&&(this.focused=!0)}handlePointermove(e){this.sliderHandlePosition=this.calculateHandlePosition(e),this.value=(this.mode==="opacity"?1:360)*(this.sliderHandlePosition/100),this.colorController.applyColorFromState(),this.dispatchEvent(new Event("input",{bubbles:!0,composed:!0,cancelable:!0}))}handlePointerup(e){this._pointerDown=!1,e.target.releasePointerCapture(e.pointerId),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0,cancelable:!0}))||this.colorController.restorePreviousColor(),this.focus(),e.pointerType==="mouse"&&(this.focused=!1)}calculateHandlePosition(e){if(!this.boundingClientRect)return this.sliderHandlePosition;const t=this.boundingClientRect,o=this.vertical?t.top:t.left,s=this.vertical?e.clientY:e.clientX,a=this.vertical?t.height:t.width,n=Math.max(0,Math.min(1,(s-o)/a));return this.vertical||!this.isLTR?100-100*n:100*n}handleGradientPointerdown(e){e.button===0&&(e.stopPropagation(),e.preventDefault(),this.handle.dispatchEvent(new PointerEvent("pointerdown",e)),this.handlePointermove(e))}get handlePositionStyles(){return`${this.vertical?"inset-block-end":"inset-inline-start"}: ${this.sliderHandlePosition}%`}get getColorSliderStyle(){const e=this.vertical?"top":"right";if(this.mode==="opacity"){const t=new h.TinyColor(this.colorController.color).setAlpha(1).toRgbString();return{background:`linear-gradient(to ${e}, transparent, ${t})`}}return{background:`linear-gradient(to ${e}, var(--luzmo-color-slider-gradient, var(--luzmo-color-slider-gradient-fallback)))`}}render(){return i.x`
|
|
19
19
|
<div
|
|
20
20
|
class="opacity-checkerboard checkerboard"
|
|
21
21
|
role="presentation"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<div
|
|
25
25
|
class="gradient"
|
|
26
26
|
role="presentation"
|
|
27
|
-
style=${
|
|
27
|
+
style=${p.o(this.getColorSliderStyle)}
|
|
28
28
|
>
|
|
29
29
|
<slot name="gradient"></slot>
|
|
30
30
|
</div>
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
color=${this.mode==="opacity"?this.color:"hsl("+this.value+", 100%, 50%)"}
|
|
38
38
|
?disabled=${this.disabled}
|
|
39
39
|
style=${this.handlePositionStyles}
|
|
40
|
-
${
|
|
40
|
+
${v.streamingListener({start:["pointerdown",this.handlePointerdown],streamInside:["pointermove",this.handlePointermove],end:[["pointerup","pointercancel","pointerleave"],this.handlePointerup]})}
|
|
41
41
|
></luzmo-color-handle>
|
|
42
42
|
<input
|
|
43
43
|
type="range"
|
|
@@ -54,4 +54,4 @@
|
|
|
54
54
|
@change=${this.handleChange}
|
|
55
55
|
@keydown=${this.handleKeydown}
|
|
56
56
|
/>
|
|
57
|
-
`}firstUpdated(e){super.firstUpdated(e),this.boundingClientRect=this.getBoundingClientRect(),this.addEventListener("focus",this.handleFocus),this.addEventListener("blur",this.handleBlur)}updated(e){e.has("mode")&&(this.handle.style.insetInlineStart="",this.handle.style.insetBlockEnd="",this.mode==="opacity"&&(this.colorController.color=new h.TinyColor(this.colorController.color).toRgbString(),this.handle.style.insetInlineStart=100*this.colorController.opacity+"%"))}}l([i.n({type:String,reflect:!0})],r.prototype,"dir",2);l([i.n({type:String,reflect:!0})],r.prototype,"mode",2);l([i.n({type:Boolean,reflect:!0})],r.prototype,"disabled",2);l([i.n({type:Boolean,reflect:!0})],r.prototype,"focused",2);l([
|
|
57
|
+
`}firstUpdated(e){super.firstUpdated(e),this.boundingClientRect=this.getBoundingClientRect(),this.addEventListener("focus",this.handleFocus),this.addEventListener("blur",this.handleBlur)}updated(e){e.has("mode")&&(this.handle.style.insetInlineStart="",this.handle.style.insetBlockEnd="",this.mode==="opacity"&&(this.colorController.color=new h.TinyColor(this.colorController.color).toRgbString(),this.handle.style.insetInlineStart=100*this.colorController.opacity+"%"))}}l([i.n({type:String,reflect:!0})],r.prototype,"dir",2);l([i.n({type:String,reflect:!0})],r.prototype,"mode",2);l([i.n({type:Boolean,reflect:!0})],r.prototype,"disabled",2);l([i.n({type:Boolean,reflect:!0})],r.prototype,"focused",2);l([u.e(".handle")],r.prototype,"handle",2);l([i.n({type:String})],r.prototype,"label",2);l([i.n({type:Boolean,reflect:!0})],r.prototype,"vertical",2);l([i.n({type:Number})],r.prototype,"value",1);l([i.n({type:Number,reflect:!0})],r.prototype,"sliderHandlePosition",2);l([i.n({type:String})],r.prototype,"color",1);l([i.n({type:Number})],r.prototype,"step",2);l([i.n({type:Boolean,attribute:"is-ltr"})],r.prototype,"isLTR",2);l([u.e("input")],r.prototype,"input",2);customElements.get("luzmo-color-slider")||customElements.define("luzmo-color-slider",r);exports.LuzmoColorSlider=r;
|
|
@@ -15,14 +15,15 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
import { r as p, x as b, n as i } from "../base-
|
|
18
|
+
import { r as p, x as b, n as i } from "../base-CawdqE7p.js";
|
|
19
19
|
import { e as h } from "../query-D_KR_GUc.js";
|
|
20
|
-
import { o as d } from "../if-defined-
|
|
21
|
-
import { o as g } from "../style-map-
|
|
20
|
+
import { o as d } from "../if-defined-BSAr_4u4.js";
|
|
21
|
+
import { o as g } from "../style-map-Ct2LiEds.js";
|
|
22
22
|
import "../color-handle/index.js";
|
|
23
|
-
import { F as z } from "../focusable-
|
|
23
|
+
import { F as z } from "../focusable-cj2QhwDT.js";
|
|
24
24
|
import { C as f } from "../color-Bg3tYsAQ.js";
|
|
25
|
-
import { L as v
|
|
25
|
+
import { L as v } from "../language-resolution-8yZa5r_P.js";
|
|
26
|
+
import { s as y } from "../streaming-listener-CCalHg57.js";
|
|
26
27
|
import { T as u } from "../index-C1chwzNp.js";
|
|
27
28
|
const m = () => {
|
|
28
29
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
"use strict";require("./base-
|
|
18
|
+
"use strict";require("./base-B7Pfl2if.cjs");/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright 2020 Google LLC
|
|
21
21
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
|
|
2
2
|
import { LuzmoElement } from '../../utils/base';
|
|
3
|
-
declare const
|
|
4
|
-
new (...args: any[]): import("
|
|
5
|
-
prototype: import("
|
|
3
|
+
declare const LuzmoDivider_base: typeof LuzmoElement & {
|
|
4
|
+
new (...args: any[]): import("../..").SizedElementInterface;
|
|
5
|
+
prototype: import("../..").SizedElementInterface;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
8
|
* @element luzmo-divider
|
|
9
9
|
*/
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class LuzmoDivider extends LuzmoDivider_base {
|
|
11
11
|
static styles: CSSResultArray;
|
|
12
12
|
/**
|
|
13
13
|
* Set the orientation of the divider
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../base-
|
|
18
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../base-B7Pfl2if.cjs"),d=require("../sized-mixin-D9LkrMjb.cjs"),c=require("../divider.module-CXMNveQc.cjs");var p=Object.defineProperty,n=(o,e,l,f)=>{for(var t=void 0,s=o.length-1,u;s>=0;s--)(u=o[s])&&(t=u(e,l,t)||t);return t&&p(e,l,t),t};const a=class a extends d.SizedMixin(i.LuzmoElement,{validSizes:["s","m","l"],noDefaultSize:!0}){constructor(){super(...arguments),this.vertical=!1}render(){return i.x``}firstUpdated(e){super.firstUpdated(e),this.setAttribute("role","separator")}updated(e){super.updated(e),e.has("vertical")&&(this.vertical?this.setAttribute("aria-orientation","vertical"):this.removeAttribute("aria-orientation"))}};a.styles=[i.r(c.styles)];let r=a;n([i.n({type:Boolean,reflect:!0})],r.prototype,"vertical");n([i.n({type:String,reflect:!0,attribute:"static-color"})],r.prototype,"staticColor");customElements.get("luzmo-divider")||customElements.define("luzmo-divider",r);exports.LuzmoDivider=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LuzmoDivider } from './divider';
|
|
2
2
|
declare global {
|
|
3
3
|
interface HTMLElementTagNameMap {
|
|
4
|
-
'luzmo-divider':
|
|
4
|
+
'luzmo-divider': LuzmoDivider;
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
|
-
export {
|
|
7
|
+
export { LuzmoDivider } from './divider';
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
import {
|
|
19
|
-
import { S as f } from "../sized-mixin-
|
|
18
|
+
import { a as s, r as z, x as d, n as c } from "../base-CawdqE7p.js";
|
|
19
|
+
import { S as f } from "../sized-mixin-BxMraZLS.js";
|
|
20
20
|
import { s as b } from "../divider.module-DwOuLGU3.js";
|
|
21
21
|
const n = () => {
|
|
22
22
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
@@ -30,7 +30,7 @@ var p = Object.defineProperty, a = (r, o, m, g) => {
|
|
|
30
30
|
(i = r[t]) && (l = i(o, m, l) || l);
|
|
31
31
|
return l && p(o, m, l), l;
|
|
32
32
|
};
|
|
33
|
-
const u = class u extends f(
|
|
33
|
+
const u = class u extends f(s, {
|
|
34
34
|
validSizes: ["s", "m", "l"],
|
|
35
35
|
noDefaultSize: !0
|
|
36
36
|
}) {
|
|
@@ -47,7 +47,7 @@ const u = class u extends f(z, {
|
|
|
47
47
|
super.updated(o), o.has("vertical") && (this.vertical ? this.setAttribute("aria-orientation", "vertical") : this.removeAttribute("aria-orientation"));
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
u.styles = [
|
|
50
|
+
u.styles = [z(b)];
|
|
51
51
|
let e = u;
|
|
52
52
|
a([
|
|
53
53
|
c({ type: Boolean, reflect: !0 })
|
|
@@ -57,5 +57,5 @@ a([
|
|
|
57
57
|
], e.prototype, "staticColor");
|
|
58
58
|
customElements.get("luzmo-divider") || customElements.define("luzmo-divider", e);
|
|
59
59
|
export {
|
|
60
|
-
e as
|
|
60
|
+
e as LuzmoDivider
|
|
61
61
|
};
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../field-group-
|
|
18
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../field-group-DSY2HUoj.cjs");customElements.get("luzmo-field-group")||customElements.define("luzmo-field-group",e.LuzmoFieldGroup);exports.LuzmoFieldGroup=e.LuzmoFieldGroup;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
import { L as r } from "../field-group-
|
|
18
|
+
import { L as r } from "../field-group-DAhrTCfl.js";
|
|
19
19
|
const l = () => {
|
|
20
20
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
21
21
|
const o = document.createElement("style");
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
import {
|
|
19
|
-
import { M as h } from "./manage-help-text-
|
|
18
|
+
import { a as d, r as p, x as u, n as l } from "./base-CawdqE7p.js";
|
|
19
|
+
import { M as h } from "./manage-help-text-Cozl9Sgn.js";
|
|
20
20
|
const f = '.luzmo-FieldGroup--toplabel{flex-direction:column}.luzmo-FieldGroup--sidelabel{flex-direction:row}.group{flex-flow:column wrap;display:flex}:host([vertical]) .group{flex-direction:column}:host([horizontal]) .group{flex-direction:row}:host([horizontal]) .group slot:not([name])::slotted(:not(:last-child)){margin-inline-end:var(--field-group-margin)}:host([horizontal]) .group .luzmo-HelpText{flex-basis:100%}:host{--field-group-margin: 16px;--field-group-readonly-delimiter: ","}:host([horizontal][dir=rtl]) slot:not([name])::slotted(*:not(:last-child)),:host([dir=rtl]:not([vertical])) slot:not([name])::slotted(*:not(:last-child)){margin:0 0 0 var(--field-group-margin)}:host([horizontal][dir=ltr]) slot:not([name])::slotted(*:not(:last-child)),:host([dir=ltr]:not([vertical])) slot:not([name])::slotted(*:not(:last-child)){margin:0 var(--field-group-margin) 0 0}';
|
|
21
21
|
var m = Object.defineProperty, o = (i, t, s, c) => {
|
|
22
22
|
for (var e = void 0, a = i.length - 1, n; a >= 0; a--)
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
"use strict";const e=require("./base-
|
|
18
|
+
"use strict";const e=require("./base-B7Pfl2if.cjs"),d=require("./manage-help-text-OHXDgxyj.cjs"),u='.luzmo-FieldGroup--toplabel{flex-direction:column}.luzmo-FieldGroup--sidelabel{flex-direction:row}.group{flex-flow:column wrap;display:flex}:host([vertical]) .group{flex-direction:column}:host([horizontal]) .group{flex-direction:row}:host([horizontal]) .group slot:not([name])::slotted(:not(:last-child)){margin-inline-end:var(--field-group-margin)}:host([horizontal]) .group .luzmo-HelpText{flex-basis:100%}:host{--field-group-margin: 16px;--field-group-readonly-delimiter: ","}:host([horizontal][dir=rtl]) slot:not([name])::slotted(*:not(:last-child)),:host([dir=rtl]:not([vertical])) slot:not([name])::slotted(*:not(:last-child)){margin:0 0 0 var(--field-group-margin)}:host([horizontal][dir=ltr]) slot:not([name])::slotted(*:not(:last-child)),:host([dir=ltr]:not([vertical])) slot:not([name])::slotted(*:not(:last-child)){margin:0 var(--field-group-margin) 0 0}';var p=Object.defineProperty,r=(i,t,n,h)=>{for(var l=void 0,a=i.length-1,s;a>=0;a--)(s=i[a])&&(l=s(t,n,l)||l);return l&&p(t,n,l),l};class o extends d.ManageHelpText(e.LuzmoElement,{mode:"external"}){constructor(){super(...arguments),this.horizontal=!1,this.invalid=!1,this.label="",this.vertical=!1}static get styles(){return[e.r(u)]}handleSlotchange(){}render(){return e.x`
|
|
19
19
|
<div class="group" role="presentation">
|
|
20
20
|
<slot @slotchange=${this.handleSlotchange}></slot>
|
|
21
21
|
</div>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { CSSResultArray, PropertyValues, TemplateResult } from 'lit';
|
|
2
2
|
import { LuzmoElement } from '../../utils/base';
|
|
3
|
-
declare const
|
|
4
|
-
new (...args: any[]): import("
|
|
5
|
-
prototype: import("
|
|
3
|
+
declare const LuzmoFieldLabel_base: typeof LuzmoElement & {
|
|
4
|
+
new (...args: any[]): import("../..").SizedElementInterface;
|
|
5
|
+
prototype: import("../..").SizedElementInterface;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
8
|
* @element luzmo-field-label
|
|
9
9
|
*
|
|
10
10
|
* @slot - text content of the label
|
|
11
11
|
*/
|
|
12
|
-
export declare class
|
|
12
|
+
export declare class LuzmoFieldLabel extends LuzmoFieldLabel_base {
|
|
13
13
|
static get styles(): CSSResultArray;
|
|
14
14
|
/**
|
|
15
15
|
* Whether the label is disabled.
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../field-label-
|
|
18
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../field-label-CjsQ3ujK.cjs");customElements.get("luzmo-field-label")||customElements.define("luzmo-field-label",e.LuzmoFieldLabel);exports.LuzmoFieldLabel=e.LuzmoFieldLabel;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LuzmoFieldLabel } from './field-label';
|
|
2
2
|
declare global {
|
|
3
3
|
interface HTMLElementTagNameMap {
|
|
4
|
-
'luzmo-field-label':
|
|
4
|
+
'luzmo-field-label': LuzmoFieldLabel;
|
|
5
5
|
}
|
|
6
6
|
}
|
|
7
|
-
export {
|
|
7
|
+
export { LuzmoFieldLabel } from './field-label';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
import {
|
|
18
|
+
import { L as r } from "../field-label-CAFfGxEL.js";
|
|
19
19
|
const l = () => {
|
|
20
20
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
21
21
|
const o = document.createElement("style");
|
|
@@ -25,5 +25,5 @@ const l = () => {
|
|
|
25
25
|
l();
|
|
26
26
|
customElements.get("luzmo-field-label") || customElements.define("luzmo-field-label", r);
|
|
27
27
|
export {
|
|
28
|
-
r as
|
|
28
|
+
r as LuzmoFieldLabel
|
|
29
29
|
};
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
import {
|
|
18
|
+
import { a as b, r as g, E as m, x as d, n as r } from "./base-CawdqE7p.js";
|
|
19
19
|
import { e as h } from "./query-D_KR_GUc.js";
|
|
20
20
|
import { c, a as u } from "./condition-attribute-with-id-Dv4lSRbe.js";
|
|
21
21
|
import { r as p } from "./random-id-ByCz1xaq.js";
|
|
22
|
-
import { E as
|
|
23
|
-
import { S as x } from "./sized-mixin-
|
|
22
|
+
import { E as z, e as v } from "./element-resolution-FCUT-wql.js";
|
|
23
|
+
import { S as x } from "./sized-mixin-BxMraZLS.js";
|
|
24
24
|
const k = ":host{box-sizing:border-box;min-block-size:var(--luzmo-field-label-min-height, var(--field-label-min-height));padding-block:var(--luzmo-field-label-padding-block, var(--luzmo-field-label-top-to-text, var(--field-label-top-to-text)) var(--luzmo-field-label-bottom-to-text, var(--field-label-bottom-to-text)));padding-inline:0;padding-inline:var(--luzmo-field-label-padding-inline, 0);margin-block:0;margin-block:var(--luzmo-field-label-margin-block, var(--luzmo-field-label-margin-block-start, 0) var(--luzmo-field-label-margin-block-end, 0));margin-inline:0;margin-inline:var(--luzmo-field-label-margin-inline, var(--luzmo-field-label-margin-inline-start, 0) var(--luzmo-field-label-margin-inline-end, 0));font-size:var(--luzmo-field-label-font-size, var(--field-label-font-size));font-weight:var(--luzmo-field-label-font-weight, var(--field-label-font-weight));line-height:var(--luzmo-field-label-line-height, var(--field-label-line-height));-webkit-font-smoothing:subpixel-antialiased;-moz-osx-font-smoothing:auto;color:var(--luzmo-field-label-color, var(--field-label-color));display:block;font-family:var(--luzmo-field-label-font-family, var(--luzmo-font-family))}:host(:lang(ja)),:host(:lang(ko)),:host(:lang(zh)){--luzmo-field-label-line-height: var( --luzmo-field-label-line-height-cjk, var(--field-label-line-height-cjk) )}:host([disabled]),:host([disabled]) .required-icon{--luzmo-field-label-color: var( --highcontrast-field-label-disabled-content-color, var( --luzmo-disabled-content-color, var(--field-label-disabled-content-color) ) )}.required-icon{display:inline-block;margin-block:0;margin-inline:var(--luzmo-field-label-text-to-asterisk, var(--field-label-text-to-asterisk)) 0;vertical-align:initial;vertical-align:var(--luzmo-field-label-asterisk-vertical-align, baseline)}:host([side-aligned=start]),:host([side-aligned=end]){vertical-align:top;margin-block-start:0;margin-block-end:0;margin-inline-end:var(--luzmo-field-label-side-padding-right, var(--field-label-side-padding-right));display:inline-flex;align-items:center;font-size:var(--luzmo-field-label-side-aligned-font-size, var(--field-label-side-aligned-font-size));block-size:var(--luzmo-field-label-side-aligned-height, var(--field-label-side-aligned-height))}:host([side-aligned=end]){text-align:end}@media (forced-colors: active){:host{--highcontrast-field-label-disabled-content-color: GrayText}}:host{--field-label-color: var(--luzmo-font-color);--field-label-font-weight: var(--luzmo-font-weight);--field-label-line-height: var(--luzmo-line-height);--field-label-line-height-cjk: 1.5;--field-label-disabled-content-color: var(--luzmo-font-color-disabled)}:host{--field-label-min-height: var(--luzmo-component-height-xs);--field-label-side-aligned-height: var(--luzmo-component-height);--field-label-top-to-text: calc(var(--luzmo-spacing-2));--field-label-bottom-to-text: var(--luzmo-spacing-2);--field-label-side-aligned-font-size: var(--luzmo-font-size);--field-label-font-size: var(--luzmo-font-size-s);--field-label-side-padding-right: var(--luzmo-spacing-4);--field-label-text-to-asterisk: 0px}:host([size=s]){--field-label-min-height: var(--luzmo-component-height-xxs);--field-label-side-aligned-height: var(--luzmo-component-height-s);--field-label-top-to-text: calc(var(--luzmo-spacing-1));--field-label-bottom-to-text: var(--luzmo-spacing-1);--field-label-side-aligned-font-size: var(--luzmo-font-size-s);--field-label-font-size: var(--luzmo-font-size-xs);--field-label-side-padding-right: var(--luzmo-spacing-3);--field-label-text-to-asterisk: 0px}:host([size=l]){--field-label-min-height: var(--luzmo-component-height-xs);--field-label-side-aligned-height: var(--luzmo-component-height-l);--field-label-top-to-text: var(--luzmo-spacing-3);--field-label-bottom-to-text: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) );--field-label-side-aligned-font-size: var(--luzmo-font-size-l);--field-label-font-size: var(--luzmo-font-size);--field-label-side-padding-right: var(--luzmo-spacing-4);--field-label-text-to-asterisk: var(--luzmo-spacing-1)}:host([size=xl]){--field-label-min-height: var(--luzmo-component-height-s);--field-label-side-aligned-height: var(--luzmo-component-height-xl);--field-label-top-to-text: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--field-label-bottom-to-text: var(--luzmo-spacing-3);--field-label-side-aligned-font-size: var(--luzmo-font-size-xl);--field-label-font-size: var(--luzmo-font-size-l);--field-label-side-padding-right: var(--luzmo-spacing-4);--field-label-text-to-asterisk: var(--luzmo-spacing-1)}label{display:inline-block}";
|
|
25
25
|
var y = Object.defineProperty, o = (s, e, t, l) => {
|
|
26
26
|
for (var i = void 0, a = s.length - 1, f; a >= 0; a--)
|
|
@@ -34,7 +34,7 @@ class n extends x(b, {
|
|
|
34
34
|
noDefaultSize: !0
|
|
35
35
|
}) {
|
|
36
36
|
constructor() {
|
|
37
|
-
super(...arguments), this.disabled = !1, this.id = "", this.for = "", this.required = !1, this.resolvedElement = new
|
|
37
|
+
super(...arguments), this.disabled = !1, this.id = "", this.for = "", this.required = !1, this.resolvedElement = new z(this);
|
|
38
38
|
}
|
|
39
39
|
static get styles() {
|
|
40
40
|
return [g(k)];
|
|
@@ -80,7 +80,7 @@ class n extends x(b, {
|
|
|
80
80
|
super.firstUpdated(e), this.addEventListener("click", this.handleClick);
|
|
81
81
|
}
|
|
82
82
|
willUpdate(e) {
|
|
83
|
-
this.hasAttribute("id") || this.setAttribute("id", `${this.tagName.toLowerCase()}-${p()}`), e.has("for") && (this.resolvedElement.selector = this.for ? `#${this.for}` : ""), (e.has("id") || e.has(
|
|
83
|
+
this.hasAttribute("id") || this.setAttribute("id", `${this.tagName.toLowerCase()}-${p()}`), e.has("for") && (this.resolvedElement.selector = this.for ? `#${this.for}` : ""), (e.has("id") || e.has(v)) && this.manageTarget();
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
o([
|
|
@@ -102,5 +102,5 @@ o([
|
|
|
102
102
|
r({ type: String, reflect: !0, attribute: "side-aligned" })
|
|
103
103
|
], n.prototype, "sideAligned");
|
|
104
104
|
export {
|
|
105
|
-
n as
|
|
105
|
+
n as L
|
|
106
106
|
};
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
"use strict";const t=require("./base-
|
|
18
|
+
"use strict";const t=require("./base-B7Pfl2if.cjs"),g=require("./query-BL-TJj7K.cjs"),f=require("./condition-attribute-with-id-DrQYZzFS.cjs"),h=require("./random-id-CqvckpWe.cjs"),b=require("./element-resolution-BvRLGqIU.cjs"),c=require("./sized-mixin-D9LkrMjb.cjs"),m=":host{box-sizing:border-box;min-block-size:var(--luzmo-field-label-min-height, var(--field-label-min-height));padding-block:var(--luzmo-field-label-padding-block, var(--luzmo-field-label-top-to-text, var(--field-label-top-to-text)) var(--luzmo-field-label-bottom-to-text, var(--field-label-bottom-to-text)));padding-inline:0;padding-inline:var(--luzmo-field-label-padding-inline, 0);margin-block:0;margin-block:var(--luzmo-field-label-margin-block, var(--luzmo-field-label-margin-block-start, 0) var(--luzmo-field-label-margin-block-end, 0));margin-inline:0;margin-inline:var(--luzmo-field-label-margin-inline, var(--luzmo-field-label-margin-inline-start, 0) var(--luzmo-field-label-margin-inline-end, 0));font-size:var(--luzmo-field-label-font-size, var(--field-label-font-size));font-weight:var(--luzmo-field-label-font-weight, var(--field-label-font-weight));line-height:var(--luzmo-field-label-line-height, var(--field-label-line-height));-webkit-font-smoothing:subpixel-antialiased;-moz-osx-font-smoothing:auto;color:var(--luzmo-field-label-color, var(--field-label-color));display:block;font-family:var(--luzmo-field-label-font-family, var(--luzmo-font-family))}:host(:lang(ja)),:host(:lang(ko)),:host(:lang(zh)){--luzmo-field-label-line-height: var( --luzmo-field-label-line-height-cjk, var(--field-label-line-height-cjk) )}:host([disabled]),:host([disabled]) .required-icon{--luzmo-field-label-color: var( --highcontrast-field-label-disabled-content-color, var( --luzmo-disabled-content-color, var(--field-label-disabled-content-color) ) )}.required-icon{display:inline-block;margin-block:0;margin-inline:var(--luzmo-field-label-text-to-asterisk, var(--field-label-text-to-asterisk)) 0;vertical-align:initial;vertical-align:var(--luzmo-field-label-asterisk-vertical-align, baseline)}:host([side-aligned=start]),:host([side-aligned=end]){vertical-align:top;margin-block-start:0;margin-block-end:0;margin-inline-end:var(--luzmo-field-label-side-padding-right, var(--field-label-side-padding-right));display:inline-flex;align-items:center;font-size:var(--luzmo-field-label-side-aligned-font-size, var(--field-label-side-aligned-font-size));block-size:var(--luzmo-field-label-side-aligned-height, var(--field-label-side-aligned-height))}:host([side-aligned=end]){text-align:end}@media (forced-colors: active){:host{--highcontrast-field-label-disabled-content-color: GrayText}}:host{--field-label-color: var(--luzmo-font-color);--field-label-font-weight: var(--luzmo-font-weight);--field-label-line-height: var(--luzmo-line-height);--field-label-line-height-cjk: 1.5;--field-label-disabled-content-color: var(--luzmo-font-color-disabled)}:host{--field-label-min-height: var(--luzmo-component-height-xs);--field-label-side-aligned-height: var(--luzmo-component-height);--field-label-top-to-text: calc(var(--luzmo-spacing-2));--field-label-bottom-to-text: var(--luzmo-spacing-2);--field-label-side-aligned-font-size: var(--luzmo-font-size);--field-label-font-size: var(--luzmo-font-size-s);--field-label-side-padding-right: var(--luzmo-spacing-4);--field-label-text-to-asterisk: 0px}:host([size=s]){--field-label-min-height: var(--luzmo-component-height-xxs);--field-label-side-aligned-height: var(--luzmo-component-height-s);--field-label-top-to-text: calc(var(--luzmo-spacing-1));--field-label-bottom-to-text: var(--luzmo-spacing-1);--field-label-side-aligned-font-size: var(--luzmo-font-size-s);--field-label-font-size: var(--luzmo-font-size-xs);--field-label-side-padding-right: var(--luzmo-spacing-3);--field-label-text-to-asterisk: 0px}:host([size=l]){--field-label-min-height: var(--luzmo-component-height-xs);--field-label-side-aligned-height: var(--luzmo-component-height-l);--field-label-top-to-text: var(--luzmo-spacing-3);--field-label-bottom-to-text: calc( var(--luzmo-spacing-2) + var(--luzmo-spacing-1) );--field-label-side-aligned-font-size: var(--luzmo-font-size-l);--field-label-font-size: var(--luzmo-font-size);--field-label-side-padding-right: var(--luzmo-spacing-4);--field-label-text-to-asterisk: var(--luzmo-spacing-1)}:host([size=xl]){--field-label-min-height: var(--luzmo-component-height-s);--field-label-side-aligned-height: var(--luzmo-component-height-xl);--field-label-top-to-text: calc( var(--luzmo-spacing-3) + var(--luzmo-spacing-1) );--field-label-bottom-to-text: var(--luzmo-spacing-3);--field-label-side-aligned-font-size: var(--luzmo-font-size-xl);--field-label-font-size: var(--luzmo-font-size-l);--field-label-side-padding-right: var(--luzmo-spacing-4);--field-label-text-to-asterisk: var(--luzmo-spacing-1)}label{display:inline-block}";var u=Object.defineProperty,r=(s,e,a,l)=>{for(var i=void 0,o=s.length-1,d;o>=0;o--)(d=s[o])&&(i=d(e,a,i)||i);return i&&u(e,a,i),i};const z=()=>t.x`
|
|
19
19
|
<div class="icon-container required-icon">*</div>
|
|
20
20
|
`;class n extends c.SizedMixin(t.LuzmoElement,{noDefaultSize:!0}){constructor(){super(...arguments),this.disabled=!1,this.id="",this.for="",this.required=!1,this.resolvedElement=new b.ElementResolutionController(this)}static get styles(){return[t.r(m)]}handleClick(e){if(!this.target||this.disabled||e.defaultPrevented)return;this.target.focus();const a=this.getRootNode(),l=this.target,i=l.getRootNode(),o=i.host;i===a&&l.forceFocusVisible?l.forceFocusVisible():o&&o.forceFocusVisible&&o.forceFocusVisible()}applyTargetLabel(e){if(this.target=e||this.target,this.target){const a=this.target.applyFocusElementLabel,l=this.target.focusElement||this.target,i=l.getRootNode();a!==void 0?a(this.labelText,this):i===this.getRootNode()?(e?f.conditionAttributeWithId:f.conditionAttributeWithoutId)(l,"aria-labelledby",[this.id]):e?l.setAttribute("aria-label",this.labelText):l.removeAttribute("aria-label")}}async manageTarget(){this.applyTargetLabel();const e=this.resolvedElement.element;if(!e){this.target=e;return}e.localName.search("-")>0&&await customElements.whenDefined(e.localName),e.updateComplete!==void 0&&await e.updateComplete,this.applyTargetLabel(e)}get labelText(){const e=this.slotEl.assignedNodes({flatten:!0});return e.length===0?"":e.map(l=>(l.textContent||"").trim()).join(" ")}render(){return t.x`
|
|
21
21
|
<label>
|
|
22
22
|
<slot></slot>
|
|
23
23
|
${this.required?t.x` ${z()} `:t.E}
|
|
24
24
|
</label>
|
|
25
|
-
`}firstUpdated(e){super.firstUpdated(e),this.addEventListener("click",this.handleClick)}willUpdate(e){this.hasAttribute("id")||this.setAttribute("id",`${this.tagName.toLowerCase()}-${h.randomID()}`),e.has("for")&&(this.resolvedElement.selector=this.for?`#${this.for}`:""),(e.has("id")||e.has(b.elementResolverUpdatedSymbol))&&this.manageTarget()}}r([t.n({type:Boolean,reflect:!0})],n.prototype,"disabled");r([t.n({type:String})],n.prototype,"id");r([t.n({type:String})],n.prototype,"for");r([t.n({type:Boolean,reflect:!0})],n.prototype,"required");r([g.e("slot")],n.prototype,"slotEl");r([t.n({type:String,reflect:!0,attribute:"side-aligned"})],n.prototype,"sideAligned");exports.
|
|
25
|
+
`}firstUpdated(e){super.firstUpdated(e),this.addEventListener("click",this.handleClick)}willUpdate(e){this.hasAttribute("id")||this.setAttribute("id",`${this.tagName.toLowerCase()}-${h.randomID()}`),e.has("for")&&(this.resolvedElement.selector=this.for?`#${this.for}`:""),(e.has("id")||e.has(b.elementResolverUpdatedSymbol))&&this.manageTarget()}}r([t.n({type:Boolean,reflect:!0})],n.prototype,"disabled");r([t.n({type:String})],n.prototype,"id");r([t.n({type:String})],n.prototype,"for");r([t.n({type:Boolean,reflect:!0})],n.prototype,"required");r([g.e("slot")],n.prototype,"slotEl");r([t.n({type:String,reflect:!0,attribute:"side-aligned"})],n.prototype,"sideAligned");exports.LuzmoFieldLabel=n;
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
"use strict";const n=require("./base-
|
|
18
|
+
"use strict";const n=require("./base-B7Pfl2if.cjs"),d=require("./focus-visible-B0P9aY_G.cjs");var b=Object.defineProperty,f=Object.getOwnPropertyDescriptor,r=(a,t,e,i)=>{for(var s=i>1?void 0:i?f(t,e):t,l=a.length-1,o;l>=0;l--)(o=a[l])&&(s=(i?o(t,e,s):o(s))||s);return i&&s&&b(t,e,s),s};function h(){return new Promise(a=>requestAnimationFrame(()=>a()))}class u extends d.FocusVisiblePolyfillMixin(n.LuzmoElement){constructor(){super(...arguments),this.disabled=!1,this.autofocus=!1,this._tabIndex=0,this.manipulatingTabindex=!1,this.autofocusReady=Promise.resolve()}get tabIndex(){if(this.focusElement===this){const e=this.hasAttribute("tabindex")?Number(this.getAttribute("tabindex")):Number.NaN;return Number.isNaN(e)?-1:e}const t=Number.parseFloat(this.hasAttribute("tabindex")&&this.getAttribute("tabindex")||"0");return this.disabled||t<0?-1:this.focusElement?this._tabIndex:t}set tabIndex(t){var e;if(this.manipulatingTabindex){this.manipulatingTabindex=!1;return}if(this.focusElement===this){if(this.disabled)this._tabIndex=t;else if(t!==this._tabIndex){this._tabIndex=t;const i=""+t;this.manipulatingTabindex=!0,this.setAttribute("tabindex",i)}return}if(t===-1?this.addEventListener("pointerdown",this.onPointerdownManagementOfTabIndex):(this.manipulatingTabindex=!0,this.removeEventListener("pointerdown",this.onPointerdownManagementOfTabIndex)),t===-1||this.disabled){if(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),this.removeAttribute("focusable"),this.selfManageFocusElement)return;t===-1?(e=this.focusElement)==null||e.removeAttribute("tabindex"):(this._tabIndex=t,this.manageFocusElementTabindex(t));return}this.setAttribute("focusable",""),this.hasAttribute("tabindex")?this.removeAttribute("tabindex"):this.manipulatingTabindex=!1,this._tabIndex=t,this.manageFocusElementTabindex(t)}onPointerdownManagementOfTabIndex(){this.tabIndex===-1&&setTimeout(()=>{this.tabIndex=0,this.focus({preventScroll:!0}),this.tabIndex=-1})}async manageFocusElementTabindex(t){this.focusElement||await this.updateComplete,t===null?this.focusElement.removeAttribute("tabindex"):this.focusElement!==this&&(this.focusElement.tabIndex=t)}get focusElement(){throw new Error("Must implement focusElement getter!")}get selfManageFocusElement(){return!1}focus(t){this.disabled||!this.focusElement||(this.focusElement===this?Reflect.apply(HTMLElement.prototype.focus,this,[t]):this.focusElement.focus(t))}blur(){const t=this.focusElement||this;t===this?HTMLElement.prototype.blur.apply(this):t.blur()}click(){if(this.disabled)return;const t=this.focusElement||this;t===this?HTMLElement.prototype.click.apply(this):t.click()}manageAutoFocus(){this.autofocus&&(this.dispatchEvent(new KeyboardEvent("keydown",{code:"Tab"})),this.focusElement.focus())}firstUpdated(t){super.firstUpdated(t),(!this.hasAttribute("tabindex")||this.getAttribute("tabindex")!=="-1")&&this.setAttribute("focusable","")}update(t){t.has("disabled")&&this.handleDisabledChanged(this.disabled,t.get("disabled")),super.update(t)}updated(t){super.updated(t),t.has("disabled")&&this.disabled&&this.blur()}async handleDisabledChanged(t,e){const i=()=>this.focusElement!==this&&this.focusElement.disabled!==void 0;t?(this.manipulatingTabindex=!0,this.setAttribute("tabindex","-1"),await this.updateComplete,i()?this.focusElement.disabled=!0:this.setAttribute("aria-disabled","true")):e&&(this.manipulatingTabindex=!0,this.focusElement===this?this.setAttribute("tabindex",""+this._tabIndex):this.removeAttribute("tabindex"),await this.updateComplete,i()?this.focusElement.disabled=!1:this.removeAttribute("aria-disabled"))}async getUpdateComplete(){const t=await super.getUpdateComplete();return await this.autofocusReady,t}connectedCallback(){super.connectedCallback(),this.autofocus&&(this.autofocusReady=new Promise(async t=>{await h(),await h(),t()}),this.updateComplete.then(()=>{this.manageAutoFocus()}))}}r([n.n({type:Boolean,reflect:!0})],u.prototype,"disabled",2);r([n.n({type:Boolean})],u.prototype,"autofocus",2);r([n.n({type:Number})],u.prototype,"tabIndex",1);exports.Focusable=u;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
import {
|
|
18
|
+
import { a as d, n as o } from "./base-CawdqE7p.js";
|
|
19
19
|
import { F as b } from "./focus-visible-DBlJGoEW.js";
|
|
20
20
|
var f = Object.defineProperty, m = Object.getOwnPropertyDescriptor, l = (a, t, e, i) => {
|
|
21
21
|
for (var s = i > 1 ? void 0 : i ? m(t, e) : t, n = a.length - 1, u; n >= 0; n--)
|
|
@@ -15,4 +15,4 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("@luzmo/icons"),o=require("../base-
|
|
18
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("@luzmo/icons"),o=require("../base-B7Pfl2if.cjs"),m=require("../if-defined-B56xGmAg.cjs"),d=":host{pointer-events:none;transform:none;transform:var(--luzmo-icon-transform, none);inline-size:var(--luzmo-icon-inline-size, var(--luzmo-icon-size, var(--icon-size)));block-size:var(--luzmo-icon-block-size, var(--luzmo-icon-size, var(--icon-size)));font-size:var(--luzmo-icon-block-size, var(--luzmo-icon-size, var(--icon-size)));color:inherit;color:var(--luzmo-icon-color, inherit);fill:currentColor;display:inline-block}::slotted(svg),:host svg,:host img{--icon-vertical-align: var(--parent-element-icon-vertical-align, -.125em);vertical-align:var(--icon-vertical-align)!important}:host([block]){display:block;vertical-align:0}:host([block]) svg,:host([block]) img{--icon-vertical-align: var(--parent-element-icon-vertical-align, 0)}:host([size=xxs]){--icon-size: var(--luzmo-icon-size-xxs)}:host([size=xs]){--icon-size: var(--luzmo-icon-size-xs)}:host([size=s]){--icon-size: var(--luzmo-icon-size-s)}:host,:host([size=m]){--icon-size: var(--luzmo-icon-size-m)}:host([size=l]){--icon-size: var(--luzmo-icon-size-l)}:host([size=xl]){--icon-size: var(--luzmo-icon-size-xl)}:host([size=xxl]){--icon-size: var(--luzmo-icon-size-xxl)}:host(:not(:root)){overflow:visible}@media (forced-colors: active){:host{forced-color-adjust:auto}}img,svg,::slotted(*){height:100%;width:100%;vertical-align:top;color:inherit}@media (forced-colors: active){img,svg,::slotted(*){forced-color-adjust:auto}}";var h=Object.defineProperty,u=(t,i,n,z)=>{for(var e=void 0,s=t.length-1,l;s>=0;s--)(l=t[s])&&(e=l(i,n,e)||e);return e&&h(i,n,e),e};class a extends o.LuzmoElement{constructor(){super(...arguments),this.label=""}static get styles(){return[o.r(d)]}connectedCallback(){super.connectedCallback()}disconnectedCallback(){super.disconnectedCallback()}update(i){i.has("label")&&(this.label?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true")),super.update(i)}render(){return o.x` <slot></slot> `}}u([o.n({reflect:!0})],a.prototype,"label");u([o.n({reflect:!0})],a.prototype,"size");var p=Object.defineProperty,c=(t,i,n,z)=>{for(var e=void 0,s=t.length-1,l;s>=0;s--)(l=t[s])&&(e=l(i,n,e)||e);return e&&p(i,n,e),e};class r extends a{constructor(){super(...arguments),this.block=!1}render(){return this.icon?v.luzmoIcon(this.icon,this.options):this.src?o.x` <img src=${this.src} alt=${m.o(this.label)} /> `:super.render()}}c([o.n()],r.prototype,"src");c([o.n()],r.prototype,"options");c([o.n()],r.prototype,"icon");c([o.n({type:Boolean})],r.prototype,"block");customElements.get("luzmo-icon")||customElements.define("luzmo-icon",r);exports.LuzmoIcon=r;
|
package/components/icon/index.js
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
18
|
import { luzmoIcon as f } from "@luzmo/icons";
|
|
19
|
-
import {
|
|
20
|
-
import { o as p } from "../if-defined-
|
|
19
|
+
import { a as b, r as g, x as m, n as i } from "../base-CawdqE7p.js";
|
|
20
|
+
import { o as p } from "../if-defined-BSAr_4u4.js";
|
|
21
21
|
const d = () => {
|
|
22
22
|
if (typeof document < "u" && !document.querySelector("style[data-luzmo-vars]")) {
|
|
23
23
|
const e = document.createElement("style");
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
"use strict";const e=require("./base-
|
|
18
|
+
"use strict";const e=require("./base-B7Pfl2if.cjs");/**
|
|
19
19
|
* @license
|
|
20
20
|
* Copyright 2018 Google LLC
|
|
21
21
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
16
16
|
* SOFTWARE.
|
|
17
17
|
* */
|
|
18
|
-
import {
|
|
18
|
+
import { a as x, r as g, x as h, n as r, E as w } from "./base-CawdqE7p.js";
|
|
19
19
|
import { e as b } from "./query-D_KR_GUc.js";
|
|
20
|
-
import { S as y } from "./sized-mixin-
|
|
20
|
+
import { S as y } from "./sized-mixin-BxMraZLS.js";
|
|
21
21
|
import { s as A } from "./divider.module-DwOuLGU3.js";
|
|
22
|
-
import { r as P } from "./state-
|
|
22
|
+
import { r as P } from "./state-CYxk12SV.js";
|
|
23
23
|
import { n as O } from "./query-assigned-nodes-C76XVPWY.js";
|
|
24
24
|
import { r as S } from "./random-id-ByCz1xaq.js";
|
|
25
25
|
import { s as E } from "./mutation-controller-DH7YOCyj.js";
|
|
26
|
-
import { F as D } from "./focusable-
|
|
27
|
-
import { L as R } from "./like-anchor-
|
|
28
|
-
import { O as L } from "./observe-slot-text-
|
|
26
|
+
import { F as D } from "./focusable-cj2QhwDT.js";
|
|
27
|
+
import { L as R } from "./like-anchor-QBlvwFfT.js";
|
|
28
|
+
import { O as L } from "./observe-slot-text-ggb4kKgY.js";
|
|
29
29
|
import { D as U } from "./dependency-manger-CEXvGQUV.js";
|
|
30
30
|
import { luzmoIcon as M, luzmoAngleRight as T, luzmoCheck as _ } from "@luzmo/icons";
|
|
31
31
|
import { S as $ } from "./slottable-request-event-DggLA4Rx.js";
|
|
@@ -718,7 +718,7 @@ class s extends R(
|
|
|
718
718
|
@focusin=${(t) => t.stopPropagation()}
|
|
719
719
|
></slot>
|
|
720
720
|
`;
|
|
721
|
-
return this.hasSubmenu ? (this.dependencyManager.add("luzmo-overlay"), this.dependencyManager.add("luzmo-popover"), import("./overlay-
|
|
721
|
+
return this.hasSubmenu ? (this.dependencyManager.add("luzmo-overlay"), this.dependencyManager.add("luzmo-popover"), import("./overlay-CJ9by37f.js").then((t) => t.f), import("./popover-DlkzrLpl.js"), h`
|
|
722
722
|
<luzmo-overlay
|
|
723
723
|
.triggerElement=${this}
|
|
724
724
|
?disabled=${!this.hasSubmenu}
|