@loadsmart/miranda-wc 2.0.0-beta.6 → 2.0.0-beta.8
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/dist/{alert-circle-13ESz5ak-ruz_HSn3.js → alert-circle-DRy7Wjg_-9i1EA3Ye.js} +2 -2
- package/dist/{alert-circle-13ESz5ak-ruz_HSn3.js.map → alert-circle-DRy7Wjg_-9i1EA3Ye.js.map} +1 -1
- package/dist/{arrow-left-BIb7jStw-DT5V_pxw.js → arrow-left-yon_aOol-Cob3uPsN.js} +2 -2
- package/dist/{arrow-left-BIb7jStw-DT5V_pxw.js.map → arrow-left-yon_aOol-Cob3uPsN.js.map} +1 -1
- package/dist/{arrow-right-Wku0rRI4-DQQXIvFX.js → arrow-right-CCmbULjk-B8sJ-Rku.js} +2 -2
- package/dist/{arrow-right-Wku0rRI4-DQQXIvFX.js.map → arrow-right-CCmbULjk-B8sJ-Rku.js.map} +1 -1
- package/dist/{arrow-sort-down-C3RSPGLc-BnY5Q4D3.js → arrow-sort-down-MQdH915X-ZYroceXg.js} +2 -2
- package/dist/arrow-sort-down-MQdH915X-ZYroceXg.js.map +1 -0
- package/dist/{arrow-sort-up-down-NESBEFJF-C8MwEfyl.js → arrow-sort-up-down-ylD_B4YG-Bx6wQKDN.js} +2 -2
- package/dist/{arrow-sort-up-down-NESBEFJF-C8MwEfyl.js.map → arrow-sort-up-down-ylD_B4YG-Bx6wQKDN.js.map} +1 -1
- package/dist/{arrow-sort-up-C1WwiQwF-CZuf4YLn.js → arrow-sort-up-wY2U3uJr-CoNYUlfc.js} +2 -2
- package/dist/arrow-sort-up-wY2U3uJr-CoNYUlfc.js.map +1 -0
- package/dist/{attention-WyayRaua-BiJBHLWj.js → attention-DEote2lk-_iDf0Ec_.js} +2 -2
- package/dist/{attention-WyayRaua-BiJBHLWj.js.map → attention-DEote2lk-_iDf0Ec_.js.map} +1 -1
- package/dist/{bell-Clm8vjZV-DQIeHHmN.js → bell-DqSSI60X-Dzgn3sh5.js} +2 -2
- package/dist/{bell-Clm8vjZV-DQIeHHmN.js.map → bell-DqSSI60X-Dzgn3sh5.js.map} +1 -1
- package/dist/bolt-ChB8fmsx-CTAT25W6.js +2 -0
- package/dist/bolt-ChB8fmsx-CTAT25W6.js.map +1 -0
- package/dist/{calendar-BRIt01fG-Dmj-ATgI.js → calendar-De-5r46c-hgBxcW8y.js} +2 -2
- package/dist/{calendar-BRIt01fG-Dmj-ATgI.js.map → calendar-De-5r46c-hgBxcW8y.js.map} +1 -1
- package/dist/{canada-flag-CtubPybt-CcBbaB6P.js → canada-flag-CY6py6Rh-CtGM2Fab.js} +2 -2
- package/dist/{canada-flag-CtubPybt-CcBbaB6P.js.map → canada-flag-CY6py6Rh-CtGM2Fab.js.map} +1 -1
- package/dist/{caret-down-CbGsyZM2-D59nexsI.js → caret-down-Bt2deIGO-C4gynn6q.js} +2 -2
- package/dist/{caret-down-CbGsyZM2-D59nexsI.js.map → caret-down-Bt2deIGO-C4gynn6q.js.map} +1 -1
- package/dist/{caret-left--WzPVkEi-B8etqB0O.js → caret-left-BA1DTYGJ-UeAHwf-c.js} +2 -2
- package/dist/{caret-left--WzPVkEi-B8etqB0O.js.map → caret-left-BA1DTYGJ-UeAHwf-c.js.map} +1 -1
- package/dist/{caret-right-B8YYUqFi-C0igTq4U.js → caret-right-Cnk9n-cJ-CFmMT72v.js} +2 -2
- package/dist/{caret-right-B8YYUqFi-C0igTq4U.js.map → caret-right-Cnk9n-cJ-CFmMT72v.js.map} +1 -1
- package/dist/{caret-up-BGiFV-Dg-Db9-qcaW.js → caret-up-CJIx1Y1Q-DIcBpSum.js} +2 -2
- package/dist/{caret-up-BGiFV-Dg-Db9-qcaW.js.map → caret-up-CJIx1Y1Q-DIcBpSum.js.map} +1 -1
- package/dist/{check-CVTSfUcw-DBty4XVc.js → check-Cd13zbB7-DekhyZHQ.js} +2 -2
- package/dist/check-Cd13zbB7-DekhyZHQ.js.map +1 -0
- package/dist/{close-D7cBQXEF-Dv0PVyUS.js → close-DWzRfFtd-sgtEUCom.js} +2 -2
- package/dist/{close-D7cBQXEF-Dv0PVyUS.js.map → close-DWzRfFtd-sgtEUCom.js.map} +1 -1
- package/dist/components/text-area/text-area.d.ts +35 -52
- package/dist/components/text-area/text-area.d.ts.map +1 -1
- package/dist/components/text-area/text-area.styles.d.ts.map +1 -1
- package/dist/contract-HlhMDk_9-C4oRwNB7.js +2 -0
- package/dist/contract-HlhMDk_9-C4oRwNB7.js.map +1 -0
- package/dist/{double-caret-left-Uqi0RfBk-MtVeUzqQ.js → double-caret-left-19-YqAmm-xf9Mrqi6.js} +2 -2
- package/dist/{double-caret-left-Uqi0RfBk-MtVeUzqQ.js.map → double-caret-left-19-YqAmm-xf9Mrqi6.js.map} +1 -1
- package/dist/{double-caret-right-CDksftDh-Bhn-yTX6.js → double-caret-right-DFr1QDQB-CSVSkKZ7.js} +2 -2
- package/dist/{double-caret-right-CDksftDh-Bhn-yTX6.js.map → double-caret-right-DFr1QDQB-CSVSkKZ7.js.map} +1 -1
- package/dist/hourglass-DvCzbcOM-B5G2aXBA.js +2 -0
- package/dist/hourglass-DvCzbcOM-B5G2aXBA.js.map +1 -0
- package/dist/{indeterminate-BDGHbswY-Bxr4qmv9.js → indeterminate-DyHWFVrA-CVg1GOZl.js} +2 -2
- package/dist/indeterminate-DyHWFVrA-CVg1GOZl.js.map +1 -0
- package/dist/{index-DCVKm8ZC.js → index-Cn-oObvN.js} +23 -32
- package/dist/index-Cn-oObvN.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{info-circle-DXejYqGk-CseOI-JK.js → info-circle-Bx9VcHHd-BNsAZaSh.js} +2 -2
- package/dist/{info-circle-DXejYqGk-CseOI-JK.js.map → info-circle-Bx9VcHHd-BNsAZaSh.js.map} +1 -1
- package/dist/{mexico-flag-B5FobyK_-DvHkcRBs.js → mexico-flag-COKixzRJ-DPZZW1tl.js} +2 -2
- package/dist/{mexico-flag-B5FobyK_-DvHkcRBs.js.map → mexico-flag-COKixzRJ-DPZZW1tl.js.map} +1 -1
- package/dist/{pencil-CU-oQ9JK-C7c94L6U.js → pencil-CIHlJytf-BRQAoOkB.js} +2 -2
- package/dist/{pencil-CU-oQ9JK-C7c94L6U.js.map → pencil-CIHlJytf-BRQAoOkB.js.map} +1 -1
- package/dist/{plus-ahnlojdq-C7xMI4Yz.js → plus-VNinQiQ5-6mTrvCDR.js} +2 -2
- package/dist/{plus-ahnlojdq-C7xMI4Yz.js.map → plus-VNinQiQ5-6mTrvCDR.js.map} +1 -1
- package/dist/{question-BmAxpIax-CT_ZBBc1.js → question-BEgCEoXJ-ceTF0woC.js} +2 -2
- package/dist/{question-BmAxpIax-CT_ZBBc1.js.map → question-BEgCEoXJ-ceTF0woC.js.map} +1 -1
- package/dist/send-eX0m6nRK-Bp4VScef.js +2 -0
- package/dist/send-eX0m6nRK-Bp4VScef.js.map +1 -0
- package/dist/{telephone-Bs5Zwfs--COv31kn6.js → telephone-Zb2J5mPJ-DSDZKb0S.js} +2 -2
- package/dist/{telephone-Bs5Zwfs--COv31kn6.js.map → telephone-Zb2J5mPJ-DSDZKb0S.js.map} +1 -1
- package/dist/{trash-ClFxC-Bb-DypUwY92.js → trash-mOcixVZr-Avtb3Wsy.js} +2 -2
- package/dist/{trash-ClFxC-Bb-DypUwY92.js.map → trash-mOcixVZr-Avtb3Wsy.js.map} +1 -1
- package/dist/{united-states-flag-cGVvcvd_-CwiAdoDc.js → united-states-flag-C_hy9-Gf-GJcP_EMO.js} +2 -2
- package/dist/{united-states-flag-cGVvcvd_-CwiAdoDc.js.map → united-states-flag-C_hy9-Gf-GJcP_EMO.js.map} +1 -1
- package/dist/{user-BQBtu3DJ-3D8IDPNQ.js → user-CgArgLwr-BOK_rNaL.js} +2 -2
- package/dist/{user-BQBtu3DJ-3D8IDPNQ.js.map → user-CgArgLwr-BOK_rNaL.js.map} +1 -1
- package/package.json +1 -1
- package/dist/arrow-sort-down-C3RSPGLc-BnY5Q4D3.js.map +0 -1
- package/dist/arrow-sort-up-C1WwiQwF-CZuf4YLn.js.map +0 -1
- package/dist/check-CVTSfUcw-DBty4XVc.js.map +0 -1
- package/dist/indeterminate-BDGHbswY-Bxr4qmv9.js.map +0 -1
- package/dist/index-DCVKm8ZC.js.map +0 -1
|
@@ -218,7 +218,7 @@ const t$3=window,e$5=t$3.ShadowRoot&&(void 0===t$3.ShadyCSS||t$3.ShadyCSS.native
|
|
|
218
218
|
color: var(--m-icon-color);
|
|
219
219
|
fill: var(--m-icon-color);
|
|
220
220
|
}
|
|
221
|
-
`]}e$6(a$4,"media-"),t$4(["none"],_,!0),toCSSValue=h;const icons=new Map([["alert-circle",()=>import("./alert-circle-
|
|
221
|
+
`]}e$6(a$4,"media-"),t$4(["none"],_,!0),toCSSValue=h;const icons=new Map([["alert-circle",()=>import("./alert-circle-DRy7Wjg_-9i1EA3Ye.js")],["arrow-left",()=>import("./arrow-left-yon_aOol-Cob3uPsN.js")],["arrow-right",()=>import("./arrow-right-CCmbULjk-B8sJ-Rku.js")],["arrow-sort-down",()=>import("./arrow-sort-down-MQdH915X-ZYroceXg.js")],["arrow-sort-up",()=>import("./arrow-sort-up-wY2U3uJr-CoNYUlfc.js")],["arrow-sort-up-down",()=>import("./arrow-sort-up-down-ylD_B4YG-Bx6wQKDN.js")],["attention",()=>import("./attention-DEote2lk-_iDf0Ec_.js")],["bell",()=>import("./bell-DqSSI60X-Dzgn3sh5.js")],["bolt",()=>import("./bolt-ChB8fmsx-CTAT25W6.js")],["calendar",()=>import("./calendar-De-5r46c-hgBxcW8y.js")],["canada-flag",()=>import("./canada-flag-CY6py6Rh-CtGM2Fab.js")],["caret-down",()=>import("./caret-down-Bt2deIGO-C4gynn6q.js")],["caret-left",()=>import("./caret-left-BA1DTYGJ-UeAHwf-c.js")],["caret-right",()=>import("./caret-right-Cnk9n-cJ-CFmMT72v.js")],["caret-up",()=>import("./caret-up-CJIx1Y1Q-DIcBpSum.js")],["check",()=>import("./check-Cd13zbB7-DekhyZHQ.js")],["close",()=>import("./close-DWzRfFtd-sgtEUCom.js")],["contract",()=>import("./contract-HlhMDk_9-C4oRwNB7.js")],["double-caret-left",()=>import("./double-caret-left-19-YqAmm-xf9Mrqi6.js")],["double-caret-right",()=>import("./double-caret-right-DFr1QDQB-CSVSkKZ7.js")],["hourglass",()=>import("./hourglass-DvCzbcOM-B5G2aXBA.js")],["indeterminate",()=>import("./indeterminate-DyHWFVrA-CVg1GOZl.js")],["info-circle",()=>import("./info-circle-Bx9VcHHd-BNsAZaSh.js")],["mexico-flag",()=>import("./mexico-flag-COKixzRJ-DPZZW1tl.js")],["pencil",()=>import("./pencil-CIHlJytf-BRQAoOkB.js")],["plus",()=>import("./plus-VNinQiQ5-6mTrvCDR.js")],["send",()=>import("./send-eX0m6nRK-Bp4VScef.js")],["question",()=>import("./question-BEgCEoXJ-ceTF0woC.js")],["telephone",()=>import("./telephone-Zb2J5mPJ-DSDZKb0S.js")],["trash",()=>import("./trash-mOcixVZr-Avtb3Wsy.js")],["united-states-flag",()=>import("./united-states-flag-C_hy9-Gf-GJcP_EMO.js")],["user",()=>import("./user-CgArgLwr-BOK_rNaL.js")]]),AVAILABLE_ICONS=[...icons.keys()];var _Icon_loadIcon,_Accordion_instances,_Accordion_accordionTrigger_get,_Accordion_accordionPanel_get,_Accordion_accordionContent_get,_Accordion_handleExpand,_Accordion_toggle,_Accordion_handleTransition;class Icon extends s$6{static get properties(){return{name:{type:String},size:{type:String},color:{type:String},loading:{state:!0}}}constructor(){super(),this.icon=null,_Icon_loadIcon.set(this,(async()=>{icons.has(this.name);try{this.icon=null;const{default:t}=await icons.get(this.name)();this.icon=t}catch{}finally{this.requestUpdate()}})),this.icon=null}connectedCallback(){super.connectedCallback(),__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}update(t){super.update(t),t.has("name")&&__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}updated(t){super.updated(t),t.has("size")&&null!=this.size&&this.style.setProperty("--m-icon-size",`${parseInt(String(this.size),10)||16}px`),t.has("color")&&null!=this.color&&this.style.setProperty("--m-icon-color",toCSSValue(this.color))}render(){return null!=this.name&&icons.has(this.name)&&null!=this.icon?this.icon:A}}_Icon_loadIcon=new WeakMap,Icon.styles=[styles$G()],window.customElements.define("m-icon",Icon);class Accordion extends Component{static get properties(){return{disabled:{type:Boolean,reflect:!0},expanded:{type:Boolean,reflect:!0}}}constructor(){super(),_Accordion_instances.add(this),_Accordion_handleTransition.set(this,(()=>{this.expanded&&!this.disabled&&(__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).style.height="auto")})),this.disabled=!1,this.expanded=!1,this.resizeObserver=new ResizeObserver((t=>{this.panelHeight=t[0].target.scrollHeight}))}firstUpdated(){__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionContent_get).style.transition="visibility 0.35s",__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionContent_get).setAttribute("role","region"),this.resizeObserver.observe(__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get)),__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).addEventListener("transitionend",__classPrivateFieldGet$1(this,_Accordion_handleTransition,"f"))}update(t){super.update(t),(t.has("expanded")||t.has("disabled"))&&__classPrivateFieldGet$1(this,_Accordion_instances,"m",_Accordion_handleExpand).call(this)}disconnectedCallback(){super.disconnectedCallback(),__classPrivateFieldGet$1(this,_Accordion_instances,"a",_Accordion_accordionPanel_get).removeEventListener("transitionend",__classPrivateFieldGet$1(this,_Accordion_handleTransition,"f")),this.resizeObserver.disconnect()}render(){return x`
|
|
222
222
|
<article class="m-accordion">
|
|
223
223
|
<h3 class="m-accordion-header">
|
|
224
224
|
<button
|
|
@@ -3775,7 +3775,7 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
|
|
|
3775
3775
|
@m-close=${__classPrivateFieldGet$1(this,_ActionableTag_handleClose,"f")}
|
|
3776
3776
|
></m-close-button>
|
|
3777
3777
|
</${this.tag}>
|
|
3778
|
-
`}}_ActionableTag_isSkeleton=new WeakMap,_ActionableTag_isRemovable=new WeakMap,_ActionableTag_isSelectable=new WeakMap,_ActionableTag_isSelected=new WeakMap,_ActionableTag_isDisabled=new WeakMap,_ActionableTag_handleClose=new WeakMap,_ActionableTag_handleClick=new WeakMap,_ActionableTag_instances=new WeakSet,_ActionableTag_toggle=function(){this.selected=!this.selected,this.emit("m-change",{detail:{selected:this.selected}})},ActionableTag.styles=[actionableTagStyles()],window.customElements.define("m-actionable-tag",ActionableTag);var e=new Map;function t(t){var o=e.get(t);o&&o.destroy()}function o(t){var o=e.get(t);o&&o.update()}var r=null;"undefined"==typeof window?((r=function(t){return t}).destroy=function(t){return t},r.update=function(t){return t}):((r=function(t,o){return t&&Array.prototype.forEach.call(t.length?t:[t],(function(t){return function(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!e.has(t)){var o,i=null,r=window.getComputedStyle(t),n=(o=t.value,function(){a({testForHeightReduction:""===o||!t.value.startsWith(o),restoreTextAlign:null}),o=t.value}),s=function(o){t.removeEventListener("autosize:destroy",s),t.removeEventListener("autosize:update",l),t.removeEventListener("input",n),window.removeEventListener("resize",l),Object.keys(o).forEach((function(e){return t.style[e]=o[e]})),e.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,textAlign:t.style.textAlign,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",s),t.addEventListener("autosize:update",l),t.addEventListener("input",n),window.addEventListener("resize",l),t.style.overflowX="hidden",t.style.wordWrap="break-word",e.set(t,{destroy:s,update:l}),l()}function a(e){var o,n,s=e.restoreTextAlign,l=void 0===s?null:s,c=e.testForHeightReduction,d=void 0===c||c,h=r.overflowY;if(0!==t.scrollHeight&&("vertical"===r.resize?t.style.resize="none":"both"===r.resize&&(t.style.resize="horizontal"),d&&(o=function(t){for(var e=[];t&&t.parentNode&&t.parentNode instanceof Element;)t.parentNode.scrollTop&&e.push([t.parentNode,t.parentNode.scrollTop]),t=t.parentNode;return function(){return e.forEach((function(t){var e=t[0],o=t[1];e.style.scrollBehavior="auto",e.scrollTop=o,e.style.scrollBehavior=null}))}}(t),t.style.height=""),n="content-box"===r.boxSizing?t.scrollHeight-(parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)):t.scrollHeight+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),"none"!==r.maxHeight&&n>parseFloat(r.maxHeight)?("hidden"===r.overflowY&&(t.style.overflow="scroll"),n=parseFloat(r.maxHeight)):"hidden"!==r.overflowY&&(t.style.overflow="hidden"),t.style.height=n+"px",l&&(t.style.textAlign=l),o&&o(),i!==n&&(t.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),i=n),h!==r.overflow&&!l)){var u=r.textAlign;"hidden"===r.overflow&&(t.style.textAlign="start"===u?"end":"start"),a({restoreTextAlign:u,testForHeightReduction:!0})}}function l(){a({testForHeightReduction:!0,restoreTextAlign:null})}}(t)})),t}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],t),e},r.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],o),t});var _TextArea_handleInput,
|
|
3778
|
+
`}}_ActionableTag_isSkeleton=new WeakMap,_ActionableTag_isRemovable=new WeakMap,_ActionableTag_isSelectable=new WeakMap,_ActionableTag_isSelected=new WeakMap,_ActionableTag_isDisabled=new WeakMap,_ActionableTag_handleClose=new WeakMap,_ActionableTag_handleClick=new WeakMap,_ActionableTag_instances=new WeakSet,_ActionableTag_toggle=function(){this.selected=!this.selected,this.emit("m-change",{detail:{selected:this.selected}})},ActionableTag.styles=[actionableTagStyles()],window.customElements.define("m-actionable-tag",ActionableTag);var e=new Map;function t(t){var o=e.get(t);o&&o.destroy()}function o(t){var o=e.get(t);o&&o.update()}var r=null;"undefined"==typeof window?((r=function(t){return t}).destroy=function(t){return t},r.update=function(t){return t}):((r=function(t,o){return t&&Array.prototype.forEach.call(t.length?t:[t],(function(t){return function(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!e.has(t)){var o,i=null,r=window.getComputedStyle(t),n=(o=t.value,function(){a({testForHeightReduction:""===o||!t.value.startsWith(o),restoreTextAlign:null}),o=t.value}),s=function(o){t.removeEventListener("autosize:destroy",s),t.removeEventListener("autosize:update",l),t.removeEventListener("input",n),window.removeEventListener("resize",l),Object.keys(o).forEach((function(e){return t.style[e]=o[e]})),e.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,textAlign:t.style.textAlign,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",s),t.addEventListener("autosize:update",l),t.addEventListener("input",n),window.addEventListener("resize",l),t.style.overflowX="hidden",t.style.wordWrap="break-word",e.set(t,{destroy:s,update:l}),l()}function a(e){var o,n,s=e.restoreTextAlign,l=void 0===s?null:s,c=e.testForHeightReduction,d=void 0===c||c,h=r.overflowY;if(0!==t.scrollHeight&&("vertical"===r.resize?t.style.resize="none":"both"===r.resize&&(t.style.resize="horizontal"),d&&(o=function(t){for(var e=[];t&&t.parentNode&&t.parentNode instanceof Element;)t.parentNode.scrollTop&&e.push([t.parentNode,t.parentNode.scrollTop]),t=t.parentNode;return function(){return e.forEach((function(t){var e=t[0],o=t[1];e.style.scrollBehavior="auto",e.scrollTop=o,e.style.scrollBehavior=null}))}}(t),t.style.height=""),n="content-box"===r.boxSizing?t.scrollHeight-(parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)):t.scrollHeight+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),"none"!==r.maxHeight&&n>parseFloat(r.maxHeight)?("hidden"===r.overflowY&&(t.style.overflow="scroll"),n=parseFloat(r.maxHeight)):"hidden"!==r.overflowY&&(t.style.overflow="hidden"),t.style.height=n+"px",l&&(t.style.textAlign=l),o&&o(),i!==n&&(t.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),i=n),h!==r.overflow&&!l)){var u=r.textAlign;"hidden"===r.overflow&&(t.style.textAlign="start"===u?"end":"start"),a({restoreTextAlign:u,testForHeightReduction:!0})}}function l(){a({testForHeightReduction:!0,restoreTextAlign:null})}}(t)})),t}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],t),e},r.update=function(t){return t&&Array.prototype.forEach.call(t.length?t:[t],o),t});var _TextArea_instances,_TextArea_initialize,_TextArea_handleChange,_TextArea_handleInput,_TextArea_handleValueChange,_TextArea_handleDisabledChange,_TextField_instances,_TextField_clear_get,_TextField_initialize,_TextField_handleChange,_TextField_handleInput,_TextField_handleValueChange,_TextField_handleDisabledChange,_TextField_updateClearButton,_TextField_handleClear,n=r;function styles$5(){return i$5`
|
|
3779
3779
|
:host {
|
|
3780
3780
|
--m-text-area-background-color: ${getColor("color-background-primary")};
|
|
3781
3781
|
--m-text-area-border-color: ${getColor("color-border-input")};
|
|
@@ -3795,7 +3795,6 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
|
|
|
3795
3795
|
|
|
3796
3796
|
position: relative;
|
|
3797
3797
|
box-sizing: border-box;
|
|
3798
|
-
width: 100%;
|
|
3799
3798
|
min-block-size: var(--m-text-area-min-height);
|
|
3800
3799
|
|
|
3801
3800
|
background-color: var(--m-text-area-background-color);
|
|
@@ -3833,33 +3832,27 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
|
|
|
3833
3832
|
--m-text-area-border-color: ${getColor("color-danger-60")};
|
|
3834
3833
|
}
|
|
3835
3834
|
|
|
3836
|
-
:host(
|
|
3835
|
+
:host(:disabled) {
|
|
3837
3836
|
--m-text-area-background-color: ${getColor("color-background-tertiary")};
|
|
3838
|
-
|
|
3839
|
-
cursor: default;
|
|
3840
3837
|
}
|
|
3841
3838
|
|
|
3842
|
-
:host(
|
|
3843
|
-
pointer-events: none;
|
|
3844
|
-
}
|
|
3845
|
-
|
|
3846
|
-
:host(:not([disabled]):hover) {
|
|
3839
|
+
:host(:enabled:hover) {
|
|
3847
3840
|
--m-text-area-border-color: ${getColor("color-primary-60")};
|
|
3848
3841
|
}
|
|
3849
3842
|
|
|
3850
|
-
:host(:
|
|
3843
|
+
:host(:enabled:is(:focus, :focus-visible, :focus-within)) {
|
|
3851
3844
|
--m-text-area-border-color: ${getColor("color-primary-100")};
|
|
3852
3845
|
}
|
|
3853
3846
|
|
|
3854
|
-
${on("textarea").not.disabled.active},
|
|
3855
|
-
${on("textarea").not.disabled.focus} {
|
|
3847
|
+
${on("#textarea").not.disabled.active},
|
|
3848
|
+
${on("#textarea").not.disabled.focus} {
|
|
3856
3849
|
-webkit-appearance: none;
|
|
3857
3850
|
background: none;
|
|
3858
3851
|
border: none;
|
|
3859
3852
|
outline: none;
|
|
3860
3853
|
}
|
|
3861
3854
|
|
|
3862
|
-
textarea {
|
|
3855
|
+
#textarea {
|
|
3863
3856
|
${typography("body-md")};
|
|
3864
3857
|
|
|
3865
3858
|
border: none;
|
|
@@ -3880,45 +3873,43 @@ const i="important",n$2=" !"+i,o$1=e$4(class extends i$2{constructor(t){var e;if
|
|
|
3880
3873
|
outline: none;
|
|
3881
3874
|
}
|
|
3882
3875
|
|
|
3883
|
-
textarea::placeholder {
|
|
3876
|
+
#textarea::placeholder {
|
|
3884
3877
|
color: var(--m-text-area-placeholder-color);
|
|
3885
3878
|
}
|
|
3886
3879
|
|
|
3887
|
-
textarea::-webkit-scrollbar {
|
|
3880
|
+
#textarea::-webkit-scrollbar {
|
|
3888
3881
|
width: 8px;
|
|
3889
3882
|
border-radius: ${getToken("border-radius-m")};
|
|
3890
3883
|
}
|
|
3891
3884
|
|
|
3892
|
-
textarea::-webkit-scrollbar-track {
|
|
3885
|
+
#textarea::-webkit-scrollbar-track {
|
|
3893
3886
|
background: ${getColor("color-background-tertiary")};
|
|
3894
3887
|
border-radius: ${getToken("border-radius-m")};
|
|
3895
3888
|
}
|
|
3896
3889
|
|
|
3897
|
-
textarea::-webkit-scrollbar-thumb {
|
|
3890
|
+
#textarea::-webkit-scrollbar-thumb {
|
|
3898
3891
|
background-color: ${getColor("color-border-input")};
|
|
3899
3892
|
border-radius: ${getToken("border-radius-m")};
|
|
3900
3893
|
background-clip: padding-box;
|
|
3901
3894
|
}
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3895
|
+
|
|
3896
|
+
#textarea:disabled {
|
|
3897
|
+
cursor: default;
|
|
3898
|
+
}
|
|
3899
|
+
`}class TextArea extends FormComponent{static get properties(){return{...super.properties,autocomplete:{type:Boolean},autofocus:{type:Boolean},autosize:{type:Boolean},cols:{type:Number},initialValue:{type:String,attribute:"initial-value",reflect:!0},dirname:{type:String},maxLength:{type:Number,reflect:!0,attribute:"max-length"},minLength:{type:Number,reflect:!0,attribute:"min-length"},placeholder:{type:String},readOnly:{type:Boolean,reflect:!0,attribute:"read-only"},resize:{type:String,reflect:!0},rows:{type:Number},spellcheck:{type:Boolean,reflect:!0,attribute:"spell-check"},value:{type:String,reflect:!0},wrap:{type:String}}}constructor(){super(),_TextArea_instances.add(this),_TextArea_handleChange.set(this,(t=>{this.disabled?t.preventDefault():this.reemit(t)})),_TextArea_handleInput.set(this,(()=>{this.setFormValue(this.value)})),_TextArea_handleValueChange.set(this,(t=>{this.textarea&&(this.textarea.value=t??"",this.setFormValue(this.textarea.value))})),_TextArea_handleDisabledChange.set(this,(t=>{this.disabled=t,this.textarea&&(this.textarea.disabled=t)})),this.cols=40,this.placeholder="",this.resize="vertical",this.rows=6,this.value=""}createRenderRoot(){const t=super.createRenderRoot();return t.addEventListener("change",__classPrivateFieldGet$1(this,_TextArea_handleChange,"f")),t}async connectedCallback(){super.connectedCallback(),this.addEventListener("input",__classPrivateFieldGet$1(this,_TextArea_handleInput,"f")),await this.updateComplete,__classPrivateFieldGet$1(this,_TextArea_instances,"m",_TextArea_initialize).call(this,this.getAttribute("value")??this.getAttribute("initial-value")??"")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("input",__classPrivateFieldGet$1(this,_TextArea_handleInput,"f"))}update(t){t.has("disabled")&&__classPrivateFieldGet$1(this,_TextArea_handleDisabledChange,"f").call(this,Boolean(this.disabled)),super.update(t)}updated(t){super.updated(t),t.has("autosize")&&(this.autosize?n(this.textarea):n.destroy(this.textarea))}render(){return x`<textarea
|
|
3900
|
+
id="textarea"
|
|
3905
3901
|
?autofocus=${this.autofocus}
|
|
3902
|
+
?readonly=${this.readOnly}
|
|
3903
|
+
autocomplete=${l$2(this.autocomplete)}
|
|
3906
3904
|
dirname="${l$2(this.dirname)}"
|
|
3907
3905
|
cols="${l$2(this.cols)}"
|
|
3908
3906
|
rows="${l$2(this.rows)}"
|
|
3909
|
-
aria-disabled=${this.disabled?"true":"false"}
|
|
3910
|
-
?disabled="${this.disabled}"
|
|
3911
|
-
?readonly=${this.readOnly}
|
|
3912
3907
|
maxlength=${l$2(null!=this.maxLength&&this.maxLength>-1?this.maxLength:void 0)}
|
|
3913
3908
|
minlength=${l$2(null!=this.minLength&&this.minLength>-1?this.minLength:void 0)}
|
|
3914
3909
|
placeholder="${l$2(this.placeholder)}"
|
|
3915
|
-
@change=${this.reemit}
|
|
3916
|
-
@input=${__classPrivateFieldGet$1(this,_TextArea_handleInput,"f")}
|
|
3917
3910
|
spellcheck=${l$2(this.spellcheck)}
|
|
3918
3911
|
wrap=${l$2(this.wrap)}
|
|
3919
|
-
|
|
3920
|
-
${this.value}</textarea
|
|
3921
|
-
>`}get textarea(){return null==this.textAreaElement&&(this.textAreaElement=this.renderRoot?.querySelector("textArea")??null),this.textAreaElement}focus(){this.textarea?.focus()}}function styles$4(){return i$5`
|
|
3912
|
+
></textarea>`}get textarea(){return this.renderRoot?.querySelector("#textarea")??null}set value(t){__classPrivateFieldGet$1(this,_TextArea_handleValueChange,"f").call(this,t)}get value(){return this.textarea?.value??""}focus(){this.textarea?.focus()}formResetCallback(){__classPrivateFieldGet$1(this,_TextArea_instances,"m",_TextArea_initialize).call(this)}formStateRestoreCallback(t){t&&(this.value=t)}formDisabledCallback(t){super.formDisabledCallback(t),__classPrivateFieldGet$1(this,_TextArea_handleDisabledChange,"f").call(this,t)}}function styles$4(){return i$5`
|
|
3922
3913
|
:host {
|
|
3923
3914
|
--m-text-field-background-color: ${getColor("color-background-primary")};
|
|
3924
3915
|
--m-text-field-border-color: ${getColor("color-border-input")};
|
|
@@ -4024,7 +4015,7 @@ ${this.value}</textarea
|
|
|
4024
4015
|
#clear {
|
|
4025
4016
|
visibility: hidden;
|
|
4026
4017
|
}
|
|
4027
|
-
`}_TextArea_handleInput=new WeakMap,
|
|
4018
|
+
`}_TextArea_handleChange=new WeakMap,_TextArea_handleInput=new WeakMap,_TextArea_handleValueChange=new WeakMap,_TextArea_handleDisabledChange=new WeakMap,_TextArea_instances=new WeakSet,_TextArea_initialize=function(t){this.value=t??this.getAttribute("initial-value")??""},TextArea.styles=[styles$5()],window.customElements.define("m-text-area",TextArea);class TextField extends FormComponent{static get properties(){return{...super.properties,clearable:{type:Boolean},initialValue:{type:String,attribute:"initial-value",reflect:!0},inputMode:{type:String,attribute:"input-mode"},max:{type:String},maxLength:{type:Number,reflect:!0,attribute:"max-length"},min:{type:String},minLength:{type:Number,reflect:!0,attribute:"min-length"},pattern:{type:String},placeholder:{type:String},readOnly:{type:Boolean,reflect:!0,attribute:"read-only"},size:{type:String,reflect:!0},status:{type:String,reflect:!0},step:{type:String},type:{type:String},value:{type:String,reflect:!0}}}constructor(){super(),_TextField_instances.add(this),_TextField_handleChange.set(this,(t=>{this.disabled?t.preventDefault():this.reemit(t)})),_TextField_handleInput.set(this,(()=>{this.setFormValue(this.value),__classPrivateFieldGet$1(this,_TextField_updateClearButton,"f").call(this)})),_TextField_handleValueChange.set(this,(t=>{this.input&&(this.input.value=t,this.setFormValue(t),__classPrivateFieldGet$1(this,_TextField_updateClearButton,"f").call(this))})),_TextField_handleDisabledChange.set(this,(t=>{this.disabled=t,this.input&&(this.input.disabled=t)})),_TextField_updateClearButton.set(this,(()=>{if(__classPrivateFieldGet$1(this,_TextField_instances,"a",_TextField_clear_get)){const t=Boolean(this.clearable)&&!this.disabled&&this.value.length>0;__classPrivateFieldGet$1(this,_TextField_instances,"a",_TextField_clear_get).style.visibility=t?"visible":"hidden"}})),_TextField_handleClear.set(this,(t=>{t.stopPropagation(),this.clear()})),this.clearable=!1,this.size="default",this.type="text",this.value="",this.max=""}createRenderRoot(){const t=super.createRenderRoot();return t.addEventListener("change",__classPrivateFieldGet$1(this,_TextField_handleChange,"f")),t}async connectedCallback(){super.connectedCallback(),this.type=this.type??"text",this.inputMode=this.inputMode??"text",this.addEventListener("input",__classPrivateFieldGet$1(this,_TextField_handleInput,"f")),await this.updateComplete,__classPrivateFieldGet$1(this,_TextField_instances,"m",_TextField_initialize).call(this,this.getAttribute("value")??this.getAttribute("initial-value")??"")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("input",__classPrivateFieldGet$1(this,_TextField_handleInput,"f"))}update(t){t.has("disabled")&&__classPrivateFieldGet$1(this,_TextField_handleDisabledChange,"f").call(this,Boolean(this.disabled)),super.update(t)}updated(t){super.updated(t),t.has("clearable")&&__classPrivateFieldGet$1(this,_TextField_updateClearButton,"f").call(this)}render(){return x`
|
|
4028
4019
|
<slot name="leading"></slot>
|
|
4029
4020
|
<input
|
|
4030
4021
|
id="input"
|
|
@@ -4449,4 +4440,4 @@ ${this.value}</textarea
|
|
|
4449
4440
|
transform-origin: center;
|
|
4450
4441
|
}
|
|
4451
4442
|
`}var _LogoLoader_instances,_LogoLoader_getSize;const DEFAULT_SIZE="48";class LogoLoader extends s$a{constructor(){super(...arguments),_LogoLoader_instances.add(this)}static get properties(){return{size:{type:String,reflect:!0}}}connectedCallback(){super.connectedCallback(),this.style.setProperty("--m-logo-size",__classPrivateFieldGet$1(this,_LogoLoader_instances,"m",_LogoLoader_getSize).call(this))}update(t){super.update(t),t.has("size")&&this.style.setProperty("--m-logo-size",__classPrivateFieldGet$1(this,_LogoLoader_instances,"m",_LogoLoader_getSize).call(this))}render(){return b$1`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 49 48"><g opacity=".7"><mask id="a" width="49" height="16" x="0" y="32" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M32.1364 48H.5l15.1072-15.2727H48.5L33.4266 47.317c-.3323.3324-.818.683-1.2902.683Z"/></mask><g mask="url(#a)"><path fill="url(#b)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g></g><mask id="c" width="32" height="17" x="17" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M17.9546 16.3636V0H48.5L33.2273 16.3636H17.9546Z"/></mask><g mask="url(#c)"><path fill="url(#d)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g><g opacity=".7"><mask id="e" width="16" height="31" x="33" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M48.5 30.5455H33.2273V16.3637L48.5 0v30.5455Z"/></mask><g mask="url(#e)"><path fill="url(#f)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g></g><mask id="g" width="16" height="48" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#D9D9D9" d="M15.7727 0v32.7273L.5 48V16.94c0-.4722.18803-.9226.52036-1.2571L15.7727 0Z"/></mask><g mask="url(#g)"><path fill="url(#h)" d="M-10.4091-10.9091h69.8182v69.8182h-69.8182z"/></g><defs><linearGradient id="b" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="d" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="f" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient><linearGradient id="h" x1="3.56649" x2="53.8665" y1="50.4164" y2=".131295" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#00D7D7"/><stop offset="1" stop-color="#84F11E"/><animateTransform attributeName="gradientTransform" dur="0.8s" repeatCount="indefinite" type="rotate" values="0; 360"/></linearGradient></defs></svg>`}}_LogoLoader_instances=new WeakSet,_LogoLoader_getSize=function(){const t=parseInt(this.size??"48",10);return Number.isNaN(t)?"48px":`${t||"48"}px`},LogoLoader.styles=[styles()],window.customElements.define("m-logo-loader",LogoLoader);export{EmptyStateHeader as $,Accordion as A,BackButton as B,Card as C,Dialog as D,DialogActionPrimary as E,DialogActionSecondary as F,DialogActionTertiary as G,DialogActions as H,DialogBody as I,DialogClose as J,DialogFooter as K,DialogHeader as L,Divider as M,Drawer as N,DRAWER_SIZES as O,DrawerActionPrimary as P,DrawerActionSecondary as Q,DrawerActionTertiary as R,DrawerActions as S,DrawerBody as T,DrawerClose as U,DrawerHeader as V,Dropdown as W,DropdownTrigger as X,DropdownMenu as Y,DropdownItem as Z,EmptyStateAction as _,AccordionTitle as a,Tabs as a$,EmptyStateIllustration as a0,EmptyStateMessage as a1,EmptyState as a2,EMPTY_STATE_VARIANTS as a3,Field as a4,FieldHint as a5,FieldLabel as a6,FIELD_STATUSES as a7,Header as a8,HeaderActions as a9,Column as aA,Link as aB,PageContent as aC,Pagination as aD,ProgressBar as aE,ProgressBarCountdown as aF,Radio as aG,RadioGroup as aH,Section as aI,SectionTitle as aJ,SpinnerWheel as aK,Steps as aL,Step as aM,Switch as aN,Table as aO,defaultTableProps as aP,TableHead as aQ,TableHeadCell as aR,defaultTableHeadCellProps as aS,TableBody as aT,TableFoot as aU,TableRow as aV,TableCell as aW,defaultTableCellProps as aX,TableToolbar as aY,TableFeedback as aZ,TableActions as a_,HeaderContent as aa,HeaderTitle as ab,SubHeader as ac,AVAILABLE_ICONS as ad,Icon as ae,Label as af,defaultLabeledValueProps as ag,LabeledValue as ah,LabeledValueLabel as ai,LabeledValueValue as aj,ALIGN_ITEMS_VALUES as ak,JUSTIFY_CONTENT_VALUES as al,Box as am,defaultBoxProps as an,Group as ao,defaultGroupProps as ap,Stack as aq,defaultStackProps as ar,Grid as as,defaultGridProps as at,Sidebar as au,defaultSidebarProps as av,Switcher as aw,defaultSwitcherProps as ax,Container as ay,Row as az,b,Tab as b0,TabPanel as b1,Tag as b2,ActionableTag as b3,Text as b4,TextArea as b5,TextField as b6,Timeline as b7,TimelineExpandableItem as b8,TimelineItem as b9,TimelineItemBody as ba,TimelineItemFooter as bb,TimelineItemHeader as bc,TimelineItemHeaderSubtitle as bd,TimelineItemHeaderTitle as be,TimelineItemIcon as bf,ToggleGroup as bg,Toggle as bh,Tooltip as bi,TOOLTIP_PLACEMENT_VALUES as bj,LogoLoader as bk,AccordionContent as c,Badge as d,BannerActionPrimary as e,BannerActionSecondary as f,BannerActions as g,BannerDescription as h,BannerIcon as i,BannerTitle as j,Banner as k,Body as l,Button as m,CardBody as n,CardSubtitle as o,CardTitle as p,CardDivider as q,CardFooter as r,CardActionPrimary as s,typographyVariants as t,CardActionSecondary as u,CardActionTertiary as v,Checkbox as w,CloseButton as x,DIALOG_SIZES as y,DIALOG_VARIANTS as z};
|
|
4452
|
-
//# sourceMappingURL=index-
|
|
4443
|
+
//# sourceMappingURL=index-Cn-oObvN.js.map
|