@mhmo91/schmancy 0.2.132 → 0.2.134
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/{animated-text-DGzNS4Kd.js → animated-text-CaqTFdju.js} +3 -3
- package/dist/{animated-text-DGzNS4Kd.js.map → animated-text-CaqTFdju.js.map} +1 -1
- package/dist/{animated-text-BA466KMo.cjs → animated-text-MY253UjH.cjs} +2 -2
- package/dist/{animated-text-BA466KMo.cjs.map → animated-text-MY253UjH.cjs.map} +1 -1
- package/dist/animated-text.cjs +1 -1
- package/dist/animated-text.js +1 -1
- package/dist/area.cjs +1 -1
- package/dist/{area.component-BsTipdPH.cjs → area.component-CDgqZw1n.cjs} +2 -2
- package/dist/{area.component-BsTipdPH.cjs.map → area.component-CDgqZw1n.cjs.map} +1 -1
- package/dist/{area.component-DqakKBYJ.js → area.component-CeXCFm9M.js} +3 -3
- package/dist/{area.component-DqakKBYJ.js.map → area.component-CeXCFm9M.js.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/{autocomplete-CsePKzPw.cjs → autocomplete-B1JRE-2_.cjs} +2 -2
- package/dist/{autocomplete-CsePKzPw.cjs.map → autocomplete-B1JRE-2_.cjs.map} +1 -1
- package/dist/{autocomplete-DQKvgQXh.js → autocomplete-DMryWEb3.js} +3 -3
- package/dist/{autocomplete-DQKvgQXh.js.map → autocomplete-DMryWEb3.js.map} +1 -1
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-CxcVktYo.js → checkbox-D0sgIadX.js} +2 -2
- package/dist/{checkbox-CxcVktYo.js.map → checkbox-D0sgIadX.js.map} +1 -1
- package/dist/{checkbox-B2iiLgtv.cjs → checkbox-FhdfO0nU.cjs} +2 -2
- package/dist/{checkbox-B2iiLgtv.cjs.map → checkbox-FhdfO0nU.cjs.map} +1 -1
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/{chips-BqYp-S9g.js → chips-DTLqGRsB.js} +3 -3
- package/dist/{chips-BqYp-S9g.js.map → chips-DTLqGRsB.js.map} +1 -1
- package/dist/{chips-UqRrSW28.cjs → chips-trJSchLu.cjs} +2 -2
- package/dist/{chips-UqRrSW28.cjs.map → chips-trJSchLu.cjs.map} +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{date-range-CdoDJ3L2.js → date-range-Bw180a08.js} +3 -3
- package/dist/{date-range-CdoDJ3L2.js.map → date-range-Bw180a08.js.map} +1 -1
- package/dist/{date-range-BwgdrpOA.cjs → date-range-Do6Vn3lT.cjs} +2 -2
- package/dist/{date-range-BwgdrpOA.cjs.map → date-range-Do6Vn3lT.cjs.map} +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-CS6opyMk.js → delay-DHk8I0v-.js} +2 -2
- package/dist/{delay-CS6opyMk.js.map → delay-DHk8I0v-.js.map} +1 -1
- package/dist/{delay-uWrg9zzM.cjs → delay-DizjkqVw.cjs} +2 -2
- package/dist/{delay-uWrg9zzM.cjs.map → delay-DizjkqVw.cjs.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{divider-7V3DrqCq.js → divider-CLnaOn9r.js} +3 -3
- package/dist/{divider-7V3DrqCq.js.map → divider-CLnaOn9r.js.map} +1 -1
- package/dist/{divider-2ok73Eva.cjs → divider-_ND5qzMt.cjs} +2 -2
- package/dist/{divider-2ok73Eva.cjs.map → divider-_ND5qzMt.cjs.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-Wu22kbKr.cjs → flex-B8RU4eBd.cjs} +7 -7
- package/dist/flex-B8RU4eBd.cjs.map +1 -0
- package/dist/{flex-Dl-3pfaZ.js → flex-BNn_BfoY.js} +63 -57
- package/dist/flex-BNn_BfoY.js.map +1 -0
- package/dist/{form-D3iNn8mF.js → form-SRIMe_A_.js} +2 -2
- package/dist/{form-D3iNn8mF.js.map → form-SRIMe_A_.js.map} +1 -1
- package/dist/{form-DtbsNIva.cjs → form-sbmB-_kd.cjs} +2 -2
- package/dist/{form-DtbsNIva.cjs.map → form-sbmB-_kd.cjs.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{icon-Daf3V5zc.js → icon-C3BGxmDa.js} +3 -3
- package/dist/{icon-Daf3V5zc.js.map → icon-C3BGxmDa.js.map} +1 -1
- package/dist/{icon-CcfC08Kv.cjs → icon-DBfJz0y7.cjs} +2 -2
- package/dist/{icon-CcfC08Kv.cjs.map → icon-DBfJz0y7.cjs.map} +1 -1
- package/dist/{icon-button-CvzPbHj1.js → icon-button-CD-hD1-C.js} +3 -3
- package/dist/{icon-button-CvzPbHj1.js.map → icon-button-CD-hD1-C.js.map} +1 -1
- package/dist/{icon-button-D02HHUju.cjs → icon-button-DmsjkeVk.cjs} +2 -2
- package/dist/{icon-button-D02HHUju.cjs.map → icon-button-DmsjkeVk.cjs.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +35 -35
- package/dist/{input-CRKlzC_n.js → input-DeWCUMEO.js} +2 -2
- package/dist/{input-CRKlzC_n.js.map → input-DeWCUMEO.js.map} +1 -1
- package/dist/{input-DkYfzuf_.cjs → input-s7UXIaOm.cjs} +2 -2
- package/dist/{input-DkYfzuf_.cjs.map → input-s7UXIaOm.cjs.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{list-ClN4WGiv.cjs → list-BbTD1-p8.cjs} +2 -2
- package/dist/{list-ClN4WGiv.cjs.map → list-BbTD1-p8.cjs.map} +1 -1
- package/dist/{list-CIfX9HAX.js → list-CHTNMb4R.js} +2 -2
- package/dist/{list-CIfX9HAX.js.map → list-CHTNMb4R.js.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-S3xWZjIN.cjs → litElement.mixin-AkHgwswI.cjs} +2 -2
- package/dist/{litElement.mixin-S3xWZjIN.cjs.map → litElement.mixin-AkHgwswI.cjs.map} +1 -1
- package/dist/{litElement.mixin-Bc-mD_fE.js → litElement.mixin-B1fR6EmN.js} +2 -2
- package/dist/{litElement.mixin-Bc-mD_fE.js.map → litElement.mixin-B1fR6EmN.js.map} +1 -1
- package/dist/{menu-BVIo2QsA.cjs → menu-DcYw6tXo.cjs} +2 -2
- package/dist/{menu-BVIo2QsA.cjs.map → menu-DcYw6tXo.cjs.map} +1 -1
- package/dist/{menu-BLHROh10.js → menu-DqT4sMmQ.js} +3 -3
- package/dist/{menu-BLHROh10.js.map → menu-DqT4sMmQ.js.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +1 -1
- package/dist/{option-DJwUNDv1.js → option-MWhsFQkR.js} +2 -2
- package/dist/{option-DJwUNDv1.js.map → option-MWhsFQkR.js.map} +1 -1
- package/dist/{option-DUsQh2li.cjs → option-XQ5S7kYQ.cjs} +2 -2
- package/dist/{option-DUsQh2li.cjs.map → option-XQ5S7kYQ.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{outlet-D0yXIpoJ.cjs → outlet-BqaXquI2.cjs} +2 -2
- package/dist/{outlet-D0yXIpoJ.cjs.map → outlet-BqaXquI2.cjs.map} +1 -1
- package/dist/{outlet-Ch6PcF31.js → outlet-sNQVCmlc.js} +2 -2
- package/dist/{outlet-Ch6PcF31.js.map → outlet-sNQVCmlc.js.map} +1 -1
- package/dist/{payment-card-form-DHnv_dB5.cjs → payment-card-form-BsXV2Ilz.cjs} +2 -2
- package/dist/{payment-card-form-DHnv_dB5.cjs.map → payment-card-form-BsXV2Ilz.cjs.map} +1 -1
- package/dist/{payment-card-form-RVkRt3dw.js → payment-card-form-CFqxxbpU.js} +3 -3
- package/dist/{payment-card-form-RVkRt3dw.js.map → payment-card-form-CFqxxbpU.js.map} +1 -1
- package/dist/{radio-group-D3GZyViJ.cjs → radio-group-1rligG30.cjs} +2 -2
- package/dist/{radio-group-D3GZyViJ.cjs.map → radio-group-1rligG30.cjs.map} +1 -1
- package/dist/{radio-group-Pnq88mNF.js → radio-group-B-XFNs3k.js} +2 -2
- package/dist/{radio-group-Pnq88mNF.js.map → radio-group-B-XFNs3k.js.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-BfAnYBQC.cjs → schmancy-steps-container-C_0iNIjG.cjs} +2 -2
- package/dist/{schmancy-steps-container-BfAnYBQC.cjs.map → schmancy-steps-container-C_0iNIjG.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-Cxi9CAKu.js → schmancy-steps-container-DNKuPqtZ.js} +2 -2
- package/dist/{schmancy-steps-container-Cxi9CAKu.js.map → schmancy-steps-container-DNKuPqtZ.js.map} +1 -1
- package/dist/{select-D_vwLTzC.cjs → select-BXoNsWb2.cjs} +2 -2
- package/dist/{select-D_vwLTzC.cjs.map → select-BXoNsWb2.cjs.map} +1 -1
- package/dist/{select-Dvc0m2Du.js → select-BkAIgenx.js} +3 -3
- package/dist/{select-Dvc0m2Du.js.map → select-BkAIgenx.js.map} +1 -1
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{sheet-Cmkb43UV.js → sheet-DrffPfA7.js} +3 -3
- package/dist/{sheet-Cmkb43UV.js.map → sheet-DrffPfA7.js.map} +1 -1
- package/dist/{sheet-CckiFxcM.cjs → sheet-HJLcNzIs.cjs} +2 -2
- package/dist/{sheet-CckiFxcM.cjs.map → sheet-HJLcNzIs.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-CTOGZsFh.js → slider-DgRX77_b.js} +3 -3
- package/dist/{slider-CTOGZsFh.js.map → slider-DgRX77_b.js.map} +1 -1
- package/dist/{slider-Cy4MNGb2.cjs → slider-DmrQNZL-.cjs} +2 -2
- package/dist/{slider-Cy4MNGb2.cjs.map → slider-DmrQNZL-.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-Dw4YE-LZ.cjs → spinner-CwnkmBhN.cjs} +2 -2
- package/dist/{spinner-Dw4YE-LZ.cjs.map → spinner-CwnkmBhN.cjs.map} +1 -1
- package/dist/{spinner-nNr0i8Wf.js → spinner-D31vl5-q.js} +3 -3
- package/dist/{spinner-nNr0i8Wf.js.map → spinner-D31vl5-q.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/{surface-CMTttVEi.cjs → surface-DIEA74aN.cjs} +2 -2
- package/dist/{surface-CMTttVEi.cjs.map → surface-DIEA74aN.cjs.map} +1 -1
- package/dist/{surface-CcVbJOTT.js → surface-iHeupN57.js} +2 -2
- package/dist/{surface-CcVbJOTT.js.map → surface-iHeupN57.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-CbQcK1h5.cjs → table-BUqG92dT.cjs} +3 -3
- package/dist/{table-CbQcK1h5.cjs.map → table-BUqG92dT.cjs.map} +1 -1
- package/dist/{table-ByZ8ut41.js → table-D7g88yVq.js} +3 -3
- package/dist/{table-ByZ8ut41.js.map → table-D7g88yVq.js.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-group-Co1gWTv7.js → tabs-group-CQ13H6mW.js} +2 -2
- package/dist/{tabs-group-Co1gWTv7.js.map → tabs-group-CQ13H6mW.js.map} +1 -1
- package/dist/{tabs-group-BEEKbPIG.cjs → tabs-group-Eef64F1R.cjs} +2 -2
- package/dist/{tabs-group-BEEKbPIG.cjs.map → tabs-group-Eef64F1R.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-DLLvl6_j.cjs +2 -0
- package/dist/{tailwind.mixin-CfdJw976.cjs.map → tailwind.mixin-DLLvl6_j.cjs.map} +1 -1
- package/dist/tailwind.mixin-DUDUV2I_.js +43 -0
- package/dist/{tailwind.mixin-BpqwMTLX.js.map → tailwind.mixin-DUDUV2I_.js.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/{teleport.component-D98NF0fA.js → teleport.component-BiiKVgpa.js} +37 -37
- package/dist/{teleport.component-D98NF0fA.js.map → teleport.component-BiiKVgpa.js.map} +1 -1
- package/dist/{teleport.component-Br--aL4K.cjs → teleport.component-C6kyd__T.cjs} +2 -2
- package/dist/{teleport.component-Br--aL4K.cjs.map → teleport.component-C6kyd__T.cjs.map} +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-4HpWvkc3.js → textarea-09PU30ul.js} +2 -2
- package/dist/{textarea-4HpWvkc3.js.map → textarea-09PU30ul.js.map} +1 -1
- package/dist/{textarea-DIBNzSOF.cjs → textarea-BJxMSHw0.cjs} +2 -2
- package/dist/{textarea-DIBNzSOF.cjs.map → textarea-BJxMSHw0.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-ChDLKOJ8.js → theme-button-BuFdb8ef.js} +2 -2
- package/dist/{theme-button-ChDLKOJ8.js.map → theme-button-BuFdb8ef.js.map} +1 -1
- package/dist/{theme-button-CrQPvn70.cjs → theme-button-Cap7xV7L.cjs} +2 -2
- package/dist/{theme-button-CrQPvn70.cjs.map → theme-button-Cap7xV7L.cjs.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.component-DJ8BSZaI.cjs → theme.component-BNA4A65w.cjs} +2 -2
- package/dist/{theme.component-DJ8BSZaI.cjs.map → theme.component-BNA4A65w.cjs.map} +1 -1
- package/dist/{theme.component-DhPLhwDE.js → theme.component-CAptyThi.js} +2 -2
- package/dist/{theme.component-DhPLhwDE.js.map → theme.component-CAptyThi.js.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-BH5wNofv.cjs → timezone-Bn2oTTFO.cjs} +2 -2
- package/dist/{timezone-BH5wNofv.cjs.map → timezone-Bn2oTTFO.cjs.map} +1 -1
- package/dist/{timezone-CzCyse5N.js → timezone-CVgX1TpD.js} +3 -3
- package/dist/{timezone-CzCyse5N.js.map → timezone-CVgX1TpD.js.map} +1 -1
- package/dist/{tree-BSKoUX-3.cjs → tree-hzbm0JCm.cjs} +2 -2
- package/dist/{tree-BSKoUX-3.cjs.map → tree-hzbm0JCm.cjs.map} +1 -1
- package/dist/{tree-DwEecdA9.js → tree-saV2p1r3.js} +2 -2
- package/dist/{tree-DwEecdA9.js.map → tree-saV2p1r3.js.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-DdhbEfaH.cjs → typewriter-Blx_6T4o.cjs} +2 -2
- package/dist/{typewriter-DdhbEfaH.cjs.map → typewriter-Blx_6T4o.cjs.map} +1 -1
- package/dist/{typewriter-Cw_HKjhG.js → typewriter-hmHGatBq.js} +4 -4
- package/dist/{typewriter-Cw_HKjhG.js.map → typewriter-hmHGatBq.js.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-d490P1tM.cjs → typography-R38GiYZQ.cjs} +2 -2
- package/dist/{typography-d490P1tM.cjs.map → typography-R38GiYZQ.cjs.map} +1 -1
- package/dist/{typography-D2EIvv42.js → typography-_9ZukfN2.js} +2 -2
- package/dist/{typography-D2EIvv42.js.map → typography-_9ZukfN2.js.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +11 -11
- package/types/src/layout/scroll/scroll.d.ts +59 -1
- package/types/src/table/table.d.ts +6 -1
- package/dist/flex-Dl-3pfaZ.js.map +0 -1
- package/dist/flex-Wu22kbKr.cjs.map +0 -1
- package/dist/tailwind.mixin-BpqwMTLX.js +0 -43
- package/dist/tailwind.mixin-CfdJw976.cjs +0 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";const d=require("lit"),t=require("lit/decorators.js"),j=require("lit/directives/class-map.js"),F=require("lit/directives/style-map.js"),
|
|
1
|
+
"use strict";const d=require("lit"),t=require("lit/decorators.js"),j=require("lit/directives/class-map.js"),F=require("lit/directives/style-map.js"),a=require("rxjs"),P=require("./tailwind.mixin-DLLvl6_j.cjs");var O=Object.defineProperty,s=(i,o,y,p)=>{for(var n,r=void 0,l=i.length-1;l>=0;l--)(n=i[l])&&(r=n(o,y,r)||r);return r&&O(o,y,r),r};const u=class u extends P.TailwindElement(){constructor(){super(...arguments),this.layout=!0,this.center=void 0,this.display=void 0,this.overflow=void 0,this.overflowX=void 0,this.overflowY=void 0,this.position=void 0}connectedCallback(){super.connectedCallback(),this.style.setProperty("padding",this.padding??""),this.style.setProperty("margin",this.margin??""),this.style.setProperty("width",this.width??""),this.style.setProperty("height",this.height??""),this.style.setProperty("min-width",this.minWidth??""),this.style.setProperty("min-height",this.minHeight??""),this.style.setProperty("max-width",this.maxWidth??""),this.style.setProperty("max-height",this.maxHeight??""),this.style.setProperty("display",this.display??""),this.style.setProperty("overflow",this.overflow??""),this.style.setProperty("overflow-x",this.overflowX??""),this.style.setProperty("overflow-y",this.overflowY??""),this.style.setProperty("position",this.position??""),this.style.setProperty("top",this.top??""),this.style.setProperty("right",this.right??""),this.style.setProperty("bottom",this.bottom??""),this.style.setProperty("left",this.left??""),this.style.setProperty("inset",this.inset??""),this.style.setProperty("z-index",this.zIndex??""),this.style.setProperty("border",this.border??""),this.style.setProperty("border-top",this.borderTop??""),this.style.setProperty("border-right",this.borderRight??""),this.style.setProperty("border-bottom",this.borderBottom??""),this.style.setProperty("border-left",this.borderLeft??""),this.style.setProperty("border-color",this.borderColor??""),this.style.setProperty("border-radius",this.borderRadius??""),this.style.setProperty("border-width",this.borderWidth??""),this.style.setProperty("box-shadow",this.boxShadow??""),this.style.setProperty("opacity",this.opacity??""),this.style.setProperty("background",this.background??""),this.style.setProperty("background-image",this.backgroundImage??""),this.style.setProperty("background-position",this.backgroundPosition??""),this.style.setProperty("background-size",this.backgroundSize??""),this.style.setProperty("background-repeat",this.backgroundRepeat??""),this.style.setProperty("background-attachment",this.backgroundAttachment??""),this.style.setProperty("background-color",this.backgroundColor??""),this.style.setProperty("background-clip",this.backgroundClip??""),this.style.setProperty("background-origin",this.backgroundOrigin??""),this.style.setProperty("background-blend-mode",this.backgroundBlendMode??""),this.style.setProperty("filter",this.filter??""),this.style.setProperty("backdrop-filter",this.backdropFilter??""),this.center&&(this.style.setProperty("margin-left","auto"),this.style.setProperty("margin-right","auto"))}};u.styles=[u.styles];let e=u;s([t.property({type:Boolean})],e.prototype,"center"),s([t.property({type:String})],e.prototype,"padding"),s([t.property({type:String})],e.prototype,"margin"),s([t.property({type:String})],e.prototype,"width"),s([t.property({type:String})],e.prototype,"height"),s([t.property({type:String})],e.prototype,"minWidth"),s([t.property({type:String})],e.prototype,"minHeight"),s([t.property({type:String})],e.prototype,"maxWidth"),s([t.property({type:String})],e.prototype,"maxHeight"),s([t.property({type:String})],e.prototype,"display"),s([t.property({type:String})],e.prototype,"overflow"),s([t.property({type:String})],e.prototype,"overflowX"),s([t.property({type:String})],e.prototype,"overflowY"),s([t.property({type:String})],e.prototype,"position"),s([t.property({type:String})],e.prototype,"top"),s([t.property({type:String})],e.prototype,"right"),s([t.property({type:String})],e.prototype,"bottom"),s([t.property({type:String})],e.prototype,"left"),s([t.property({type:String})],e.prototype,"inset"),s([t.property({type:String})],e.prototype,"zIndex"),s([t.property({type:String})],e.prototype,"border"),s([t.property({type:String})],e.prototype,"borderTop"),s([t.property({type:String})],e.prototype,"borderRight"),s([t.property({type:String})],e.prototype,"borderBottom"),s([t.property({type:String})],e.prototype,"borderLeft"),s([t.property({type:String})],e.prototype,"borderColor"),s([t.property({type:String})],e.prototype,"borderRadius"),s([t.property({type:String})],e.prototype,"borderWidth"),s([t.property({type:String})],e.prototype,"boxShadow"),s([t.property({type:String})],e.prototype,"opacity"),s([t.property({type:String})],e.prototype,"background"),s([t.property({type:String})],e.prototype,"backgroundImage"),s([t.property({type:String})],e.prototype,"backgroundPosition"),s([t.property({type:String})],e.prototype,"backgroundSize"),s([t.property({type:String})],e.prototype,"backgroundRepeat"),s([t.property({type:String})],e.prototype,"backgroundAttachment"),s([t.property({type:String})],e.prototype,"backgroundColor"),s([t.property({type:String})],e.prototype,"backgroundClip"),s([t.property({type:String})],e.prototype,"backgroundOrigin"),s([t.property({type:String})],e.prototype,"backgroundBlendMode"),s([t.property({type:String})],e.prototype,"filter"),s([t.property({type:String})],e.prototype,"backdropFilter");var E=Object.defineProperty,C=Object.getOwnPropertyDescriptor,g=(i,o,y,p)=>{for(var n,r=p>1?void 0:p?C(o,y):o,l=i.length-1;l>=0;l--)(n=i[l])&&(r=(p?n(o,y,r):n(r))||r);return p&&r&&E(o,y,r),r};exports.SchmancyFlex=class extends e{constructor(){super(...arguments),this.layout=!0,this.flow="col",this.wrap="wrap",this.align="start",this.justify="start",this.gap="none"}render(){const i={flex:!0,"flex-col":this.flow==="row","flex-col-reverse":this.flow==="row-reverse","flex-row":this.flow==="col","flex-row-reverse":this.flow==="col-reverse","flex-wrap":this.wrap==="wrap","flex-wrap-reverse":this.wrap==="wrap-reverse","flex-nowrap":this.wrap==="nowrap","items-start":this.align==="start","items-center":this.align==="center","items-end":this.align==="end","items-stretch":this.align==="stretch","justify-baseline":this.align==="baseline","justify-center":this.justify==="center","justify-end":this.justify==="end","justify-start":this.justify==="start","justify-stretch":this.justify==="stretch","justify-between":this.justify==="between","gap-0":this.gap==="none","gap-2":this.gap==="sm","gap-4":this.gap==="md","gap-8":this.gap==="lg"};return d.html`
|
|
2
2
|
<section class=${j.classMap(i)} style=${F.styleMap({})}>
|
|
3
3
|
<slot></slot>
|
|
4
4
|
</section>
|
|
5
|
-
`}},exports.SchmancyFlex.styles=[e.styles,d.unsafeCSS(":host{display:block;background-color:inherit}")],g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"flow",2),g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"wrap",2),g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"align",2),g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"justify",2),g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"gap",2),exports.SchmancyFlex=g([t.customElement("schmancy-flex")],exports.SchmancyFlex);var
|
|
5
|
+
`}},exports.SchmancyFlex.styles=[e.styles,d.unsafeCSS(":host{display:block;background-color:inherit}")],g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"flow",2),g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"wrap",2),g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"align",2),g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"justify",2),g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"gap",2),exports.SchmancyFlex=g([t.customElement("schmancy-flex")],exports.SchmancyFlex);var G=Object.defineProperty,V=Object.getOwnPropertyDescriptor,c=(i,o,y,p)=>{for(var n,r=p>1?void 0:p?V(o,y):o,l=i.length-1;l>=0;l--)(n=i[l])&&(r=(p?n(o,y,r):n(r))||r);return p&&r&&G(o,y,r),r};exports.SchmancyGrid=class extends e{constructor(){super(...arguments),this.layout=!0,this.flow="row",this.align="stretch",this.justify="stretch",this.content="stretch",this.gap="none",this.wrap=!1}firstUpdated(){this.rcols&&a.fromEvent(window,"resize").pipe(a.map(i=>i.target),a.startWith(1),a.map(()=>this.clientWidth?this.clientWidth:window.innerWidth),a.distinctUntilChanged(),a.takeUntil(this.disconnecting),a.debounceTime(10),a.map(i=>{var y,p,n,r,l,b,m,w,S,x,v,k;let o;return(y=this.rcols)!=null&&y["2xl"]&&i>=1536?o=(p=this.rcols)==null?void 0:p["2xl"]:(n=this.rcols)!=null&&n.xl&&i>=1280?o=(r=this.rcols)==null?void 0:r.xl:(l=this.rcols)!=null&&l.lg&&i>=1024?o=(b=this.rcols)==null?void 0:b.lg:(m=this.rcols)!=null&&m.md&&i>=768?o=(w=this.rcols)==null?void 0:w.md:(S=this.rcols)!=null&&S.sm&&i>=640?o=(x=this.rcols)==null?void 0:x.sm:(v=this.rcols)!=null&&v.xs&&i<640&&(o=(k=this.rcols)==null?void 0:k.xs),o})).subscribe(i=>{this.cols=i})}render(){const i={"h-full":!0,"grid flex-1":!0,"grid-flow-row auto-rows-max":this.flow==="row","grid-flow-col auto-cols-max":this.flow==="col","grid-flow-row-dense":this.flow==="row-dense","grid-flow-col-dense":this.flow==="col-dense","grid-flow-dense":this.flow==="dense","justify-center":this.content==="center","justify-end":this.content==="end","justify-start":this.content==="start","justify-stretch":this.content==="stretch","justify-between":this.content==="between","justify-around":this.content==="around","justify-evenly":this.content==="evenly","justify-items-center":this.justify==="center","justify-items-end":this.justify==="end","justify-items-start":this.justify==="start","justify-items-stretch":this.justify==="stretch","items-center":this.align==="center","items-end":this.align==="end","items-start":this.align==="start","items-stretch":this.align==="stretch","items-baseline":this.align==="baseline","gap-0":this.gap==="none","gap-1":this.gap==="xs","gap-2":this.gap==="sm","gap-4":this.gap==="md","gap-8":this.gap==="lg","flex-nowrap":this.wrap,"flex-wrap":!this.wrap},o={gridTemplateRows:this.rows?this.rows:void 0,gridTemplateColumns:this.cols?this.cols:void 0};return d.html`
|
|
6
6
|
<section class="${this.classMap(i)}" style=${this.styleMap(o)}>
|
|
7
7
|
<slot> </slot>
|
|
8
8
|
</section>
|
|
9
|
-
`}},exports.SchmancyGrid.styles=[e.styles,d.unsafeCSS(":host{height:max-content;width:-webkit-fill-available;display:block}")],
|
|
9
|
+
`}},exports.SchmancyGrid.styles=[e.styles,d.unsafeCSS(":host{height:max-content;width:-webkit-fill-available;display:block}")],c([t.property({type:String})],exports.SchmancyGrid.prototype,"flow",2),c([t.property({type:String})],exports.SchmancyGrid.prototype,"align",2),c([t.property({type:String})],exports.SchmancyGrid.prototype,"justify",2),c([t.property({type:String})],exports.SchmancyGrid.prototype,"content",2),c([t.property({type:String})],exports.SchmancyGrid.prototype,"gap",2),c([t.property({type:String})],exports.SchmancyGrid.prototype,"cols",2),c([t.property({type:String})],exports.SchmancyGrid.prototype,"rows",2),c([t.property({type:Object})],exports.SchmancyGrid.prototype,"rcols",2),c([t.property({type:Boolean})],exports.SchmancyGrid.prototype,"wrap",2),c([t.queryAssignedElements()],exports.SchmancyGrid.prototype,"assignedElements",2),exports.SchmancyGrid=c([t.customElement("schmancy-grid")],exports.SchmancyGrid);var T=Object.defineProperty,W=Object.getOwnPropertyDescriptor,f=(i,o,y,p)=>{for(var n,r=p>1?void 0:p?W(o,y):o,l=i.length-1;l>=0;l--)(n=i[l])&&(r=(p?n(o,y,r):n(r))||r);return p&&r&&T(o,y,r),r};exports.SchmancyScroll=class extends P.TailwindElement(d.css`
|
|
10
10
|
:host {
|
|
11
11
|
height: 100%;
|
|
12
12
|
width: 100%;
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
.scrollbar-hide::-webkit-scrollbar {
|
|
24
24
|
display: none; /* Chrome, Safari, and Opera */
|
|
25
25
|
}
|
|
26
|
-
`){constructor(){super(...arguments),this.hide=!1}render(){const i={"h-full w-full inset-0 overflow-x-auto overflow-y-auto scroll-smooth overscroll-contain":!0,"scrollbar-hide":this.hide};return d.html`
|
|
26
|
+
`){constructor(){super(...arguments),this.hide=!1,this.debounce=10}firstUpdated(){a.fromEvent(this.scroller,"scroll",{passive:!0}).pipe(a.debounceTime(this.debounce),a.takeUntil(this.disconnecting)).subscribe(i=>{const o=this.scroller.scrollTop,y=this.scroller.scrollHeight,p=this.scroller.clientHeight;this.dispatchEvent(new CustomEvent("scroll",{detail:{scrollTop:o,scrollHeight:y,clientHeight:p,e:i},bubbles:!0,composed:!0}))})}render(){const i={"h-full w-full inset-0 overflow-x-auto overflow-y-auto scroll-smooth overscroll-contain":!0,"scrollbar-hide":this.hide};return d.html`
|
|
27
27
|
<div class="relative inset-0 h-full w-full overscroll-none">
|
|
28
|
-
<div class=${this.classMap(i)}>
|
|
28
|
+
<div id="scroller" part="scroller" class=${this.classMap(i)}>
|
|
29
29
|
<slot></slot>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
32
|
-
`}},
|
|
32
|
+
`}},f([t.property({type:Boolean,reflect:!0})],exports.SchmancyScroll.prototype,"hide",2),f([t.query("#scroller")],exports.SchmancyScroll.prototype,"scroller",2),f([t.property({type:Number})],exports.SchmancyScroll.prototype,"debounce",2),exports.SchmancyScroll=f([t.customElement("schmancy-scroll")],exports.SchmancyScroll);var z=Object.defineProperty,B=Object.getOwnPropertyDescriptor,h=(i,o,y,p)=>{for(var n,r=p>1?void 0:p?B(o,y):o,l=i.length-1;l>=0;l--)(n=i[l])&&(r=(p?n(o,y,r):n(r))||r);return p&&r&&z(o,y,r),r};exports.SchmancyFlexV2=class extends e{constructor(){super(...arguments),this.inline=!1,this.flow="row",this.wrap="wrap",this.align="stretch",this.justify="start",this.gap="none"}render(){const i=this.inline?"inline-flex":"flex";let o="";switch(this.flow){case"row":case"row-dense":default:o="flex-row";break;case"row-reverse":o="flex-row-reverse";break;case"col":case"col-dense":o="flex-col";break;case"col-reverse":o="flex-col-reverse"}let y="";switch(this.flow==="row-dense"||this.flow==="col-dense"?"wrap":this.wrap){case"wrap":default:y="flex-wrap";break;case"nowrap":y="flex-nowrap";break;case"wrap-reverse":y="flex-wrap-reverse"}let p="";switch(this.align){case"start":p="items-start";break;case"center":p="items-center";break;case"end":p="items-end";break;case"stretch":default:p="items-stretch";break;case"baseline":p="items-baseline"}let n="";switch(this.justify){case"start":default:n="justify-start";break;case"center":n="justify-center";break;case"end":n="justify-end";break;case"between":n="justify-between";break;case"around":n="justify-around";break;case"evenly":n="justify-evenly"}let r="";if(this.content)switch(this.content){case"start":r="content-start";break;case"center":r="content-center";break;case"end":r="content-end";break;case"between":r="content-between";break;case"around":r="content-around";break;case"evenly":r="content-evenly"}const l=[i,o,y,p,n,r,this.gap==="none"?"gap-0":`gap-${this.gap}`].filter(Boolean).join(" ");return d.html`
|
|
33
33
|
<section class=${l}>
|
|
34
34
|
<slot></slot>
|
|
35
35
|
</section>
|
|
@@ -38,4 +38,4 @@
|
|
|
38
38
|
display: block;
|
|
39
39
|
}
|
|
40
40
|
`],h([t.property({type:Boolean,reflect:!0})],exports.SchmancyFlexV2.prototype,"inline",2),h([t.property({type:String,reflect:!0})],exports.SchmancyFlexV2.prototype,"flow",2),h([t.property({type:String,reflect:!0})],exports.SchmancyFlexV2.prototype,"wrap",2),h([t.property({type:String,reflect:!0})],exports.SchmancyFlexV2.prototype,"align",2),h([t.property({type:String,reflect:!0})],exports.SchmancyFlexV2.prototype,"justify",2),h([t.property({type:String,reflect:!0})],exports.SchmancyFlexV2.prototype,"content",2),h([t.property({type:String,reflect:!0})],exports.SchmancyFlexV2.prototype,"gap",2),exports.SchmancyFlexV2=h([t.customElement("sch-flex")],exports.SchmancyFlexV2);
|
|
41
|
-
//# sourceMappingURL=flex-
|
|
41
|
+
//# sourceMappingURL=flex-B8RU4eBd.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flex-B8RU4eBd.cjs","sources":["../src/layout/layout.ts","../src/layout/flex/flex.ts","../src/layout/grid/grid.ts","../src/layout/scroll/scroll.ts","../src/layout/v2/flex.ts"],"sourcesContent":["import { TailwindElement } from '@mixins/index'\nimport { property } from 'lit/decorators.js'\n\nexport default class Layout extends TailwindElement() {\n\tstatic styles = [this.styles]\n\tlayout = true\n\t@property({ type: Boolean }) center: boolean | undefined = undefined\n\t@property({ type: String }) padding: string | undefined\n\t@property({ type: String }) margin: string | undefined\n\t@property({ type: String }) width: string | undefined\n\t@property({ type: String }) height: string | undefined\n\t@property({ type: String }) minWidth: string | undefined\n\t@property({ type: String }) minHeight: string | undefined\n\t@property({ type: String }) maxWidth: string | undefined\n\t@property({ type: String }) maxHeight: string | undefined\n\t@property({ type: String }) display:\n\t\t| 'block'\n\t\t| 'inline-block'\n\t\t| 'inline'\n\t\t| 'flex'\n\t\t| 'inline-flex'\n\t\t| 'grid'\n\t\t| 'inline-grid'\n\t\t| 'table'\n\t\t| 'inline-table'\n\t\t| 'flow-root'\n\t\t| 'none'\n\t\t| undefined = undefined\n\t@property({ type: String }) overflow: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined = undefined\n\t@property({ type: String }) overflowX: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined = undefined\n\t@property({ type: String }) overflowY: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined = undefined\n\t@property({ type: String }) position: 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky' | undefined = undefined\n\t@property({ type: String }) top: string | undefined\n\t@property({ type: String }) right: string | undefined\n\t@property({ type: String }) bottom: string | undefined\n\t@property({ type: String }) left: string | undefined\n\t@property({ type: String }) inset: string | undefined\n\t@property({ type: String }) zIndex: string | undefined\n\n\t@property({ type: String }) border: string | undefined\n\t@property({ type: String }) borderTop: string | undefined\n\t@property({ type: String }) borderRight: string | undefined\n\t@property({ type: String }) borderBottom: string | undefined\n\t@property({ type: String }) borderLeft: string | undefined\n\t@property({ type: String }) borderColor: string | undefined\n\t@property({ type: String }) borderRadius: string | undefined\n\t@property({ type: String }) borderWidth: string | undefined\n\n\t@property({ type: String }) boxShadow: string | undefined\n\t@property({ type: String }) opacity: string | undefined\n\t@property({ type: String }) background: string | undefined\n\t@property({ type: String }) backgroundImage: string | undefined\n\t@property({ type: String }) backgroundPosition: string | undefined\n\t@property({ type: String }) backgroundSize: string | undefined\n\t@property({ type: String }) backgroundRepeat: string | undefined\n\t@property({ type: String }) backgroundAttachment: string | undefined\n\t@property({ type: String }) backgroundColor: string | undefined\n\t@property({ type: String }) backgroundClip: string | undefined\n\t@property({ type: String }) backgroundOrigin: string | undefined\n\t@property({ type: String }) backgroundBlendMode: string | undefined\n\t@property({ type: String }) filter: string | undefined\n\t@property({ type: String }) backdropFilter: string | undefined\n\n\tconnectedCallback(): void {\n\t\tsuper.connectedCallback()\n\t\tthis.style.setProperty('padding', this.padding ?? '')\n\t\tthis.style.setProperty('margin', this.margin ?? '')\n\t\tthis.style.setProperty('width', this.width ?? '')\n\t\tthis.style.setProperty('height', this.height ?? '')\n\t\tthis.style.setProperty('min-width', this.minWidth ?? '')\n\t\tthis.style.setProperty('min-height', this.minHeight ?? '')\n\t\tthis.style.setProperty('max-width', this.maxWidth ?? '')\n\t\tthis.style.setProperty('max-height', this.maxHeight ?? '')\n\t\tthis.style.setProperty('display', this.display ?? '')\n\t\tthis.style.setProperty('overflow', this.overflow ?? '')\n\t\tthis.style.setProperty('overflow-x', this.overflowX ?? '')\n\t\tthis.style.setProperty('overflow-y', this.overflowY ?? '')\n\t\tthis.style.setProperty('position', this.position ?? '')\n\t\tthis.style.setProperty('top', this.top ?? '')\n\t\tthis.style.setProperty('right', this.right ?? '')\n\t\tthis.style.setProperty('bottom', this.bottom ?? '')\n\t\tthis.style.setProperty('left', this.left ?? '')\n\t\tthis.style.setProperty('inset', this.inset ?? '')\n\t\tthis.style.setProperty('z-index', this.zIndex ?? '')\n\t\tthis.style.setProperty('border', this.border ?? '')\n\t\tthis.style.setProperty('border-top', this.borderTop ?? '')\n\t\tthis.style.setProperty('border-right', this.borderRight ?? '')\n\t\tthis.style.setProperty('border-bottom', this.borderBottom ?? '')\n\t\tthis.style.setProperty('border-left', this.borderLeft ?? '')\n\t\tthis.style.setProperty('border-color', this.borderColor ?? '')\n\t\tthis.style.setProperty('border-radius', this.borderRadius ?? '')\n\t\tthis.style.setProperty('border-width', this.borderWidth ?? '')\n\t\tthis.style.setProperty('box-shadow', this.boxShadow ?? '')\n\t\tthis.style.setProperty('opacity', this.opacity ?? '')\n\t\tthis.style.setProperty('background', this.background ?? '')\n\t\tthis.style.setProperty('background-image', this.backgroundImage ?? '')\n\t\tthis.style.setProperty('background-position', this.backgroundPosition ?? '')\n\t\tthis.style.setProperty('background-size', this.backgroundSize ?? '')\n\t\tthis.style.setProperty('background-repeat', this.backgroundRepeat ?? '')\n\t\tthis.style.setProperty('background-attachment', this.backgroundAttachment ?? '')\n\t\tthis.style.setProperty('background-color', this.backgroundColor ?? '')\n\t\tthis.style.setProperty('background-clip', this.backgroundClip ?? '')\n\t\tthis.style.setProperty('background-origin', this.backgroundOrigin ?? '')\n\t\tthis.style.setProperty('background-blend-mode', this.backgroundBlendMode ?? '')\n\t\tthis.style.setProperty('filter', this.filter ?? '')\n\t\tthis.style.setProperty('backdrop-filter', this.backdropFilter ?? '')\n\t\tif (this.center) {\n\t\t\tthis.style.setProperty('margin-left', 'auto')\n\t\t\tthis.style.setProperty('margin-right', 'auto')\n\t\t}\n\t}\n}\n","import { html, unsafeCSS } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\nimport { classMap } from 'lit/directives/class-map.js'\nimport { styleMap } from 'lit/directives/style-map.js'\nimport Layout from '../layout'\nimport style from './flex.scss?inline'\n@customElement('schmancy-flex')\nexport class SchmancyFlex extends Layout {\n\tstatic styles = [Layout.styles, unsafeCSS(style)]\n\tlayout = true\n\t@property({ type: String, reflect: true }) flow: 'row' | 'row-reverse' | 'col' | 'col-reverse' = 'col'\n\t@property({ type: String, reflect: true }) wrap: 'wrap' | 'nowrap' | 'wrap-reverse' = 'wrap'\n\t@property({ type: String, reflect: true }) align: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'start'\n\t@property({ type: String, reflect: true }) justify: 'start' | 'center' | 'end' | 'stretch' | 'between' = 'start'\n\t@property({ type: String, reflect: true }) gap: 'none' | 'sm' | 'md' | 'lg' = 'none'\n\n\trender() {\n\t\tconst classes = {\n\t\t\tflex: true,\n\t\t\t// Direction\n\t\t\t'flex-col': this.flow === 'row',\n\t\t\t'flex-col-reverse': this.flow === 'row-reverse',\n\t\t\t'flex-row': this.flow === 'col',\n\t\t\t'flex-row-reverse': this.flow === 'col-reverse',\n\t\t\t// Wrap\n\t\t\t'flex-wrap': this.wrap === 'wrap',\n\t\t\t'flex-wrap-reverse': this.wrap === 'wrap-reverse',\n\t\t\t'flex-nowrap': this.wrap === 'nowrap',\n\t\t\t// Align\n\t\t\t'items-start': this.align === 'start',\n\t\t\t'items-center': this.align === 'center',\n\t\t\t'items-end': this.align === 'end',\n\t\t\t'items-stretch': this.align === 'stretch',\n\t\t\t'justify-baseline': this.align === 'baseline',\n\n\t\t\t// Justify\n\t\t\t'justify-center': this.justify === 'center',\n\t\t\t'justify-end': this.justify === 'end',\n\t\t\t'justify-start': this.justify === 'start',\n\t\t\t'justify-stretch': this.justify === 'stretch',\n\t\t\t'justify-between': this.justify === 'between',\n\n\t\t\t// Gap\n\t\t\t'gap-0': this.gap === 'none',\n\t\t\t'gap-2': this.gap === 'sm',\n\t\t\t'gap-4': this.gap === 'md',\n\t\t\t'gap-8': this.gap === 'lg',\n\t\t}\n\n\t\tconst styles = {}\n\t\treturn html`\n\t\t\t<section class=${classMap(classes)} style=${styleMap(styles)}>\n\t\t\t\t<slot></slot>\n\t\t\t</section>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-flex': SchmancyFlex\n\t}\n}\n","import { html, unsafeCSS } from 'lit'\nimport { customElement, property, queryAssignedElements } from 'lit/decorators.js'\nimport { debounceTime, distinctUntilChanged, fromEvent, map, startWith, takeUntil } from 'rxjs'\nimport Layout from '../layout'\nimport style from './grid.scss?inline'\n\n@customElement('schmancy-grid')\nexport class SchmancyGrid extends Layout {\n\tstatic styles = [Layout.styles, unsafeCSS(style)]\n\tlayout = true\n\t@property({ type: String }) flow: 'row' | 'col' | 'dense' | 'row-dense' | 'col-dense' = 'row'\n\t@property({ type: String }) align: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'stretch'\n\t@property({ type: String }) justify: 'start' | 'center' | 'end' | 'stretch' = 'stretch'\n\t@property({ type: String }) content: 'start' | 'center' | 'end' | 'stretch' | 'around' | 'evenly' | 'between' =\n\t\t'stretch'\n\t@property({ type: String }) gap: 'none' | 'xs' | 'sm' | 'md' | 'lg' = 'none'\n\n\t@property({ type: String }) cols?: string\n\t@property({ type: String }) rows?: string\n\t@property({ type: Object }) rcols?: {\n\t\txs?: string | number\n\t\tsm?: string | number\n\t\tmd?: string | number\n\t\tlg?: string | number\n\t\txl?: string | number\n\t\t'2xl'?: string | number\n\t}\n\n\t@property({ type: Boolean }) wrap = false\n\n\t@queryAssignedElements() assignedElements!: HTMLElement[]\n\n\tfirstUpdated() {\n\t\tif (this.rcols)\n\t\t\tfromEvent<CustomEvent>(window, 'resize')\n\t\t\t\t.pipe(\n\t\t\t\t\tmap(event => event.target as Window),\n\t\t\t\t\tstartWith(1),\n\t\t\t\t\tmap(() => (this.clientWidth ? this.clientWidth : window.innerWidth)),\n\t\t\t\t\tdistinctUntilChanged(),\n\t\t\t\t\ttakeUntil(this.disconnecting),\n\t\t\t\t\tdebounceTime(10),\n\t\t\t\t\tmap(w => {\n\t\t\t\t\t\tlet cols\n\t\t\t\t\t\tif (this.rcols?.['2xl'] && w >= 1536) cols = this.rcols?.['2xl']\n\t\t\t\t\t\telse if (this.rcols?.xl && w >= 1280) cols = this.rcols?.xl\n\t\t\t\t\t\telse if (this.rcols?.lg && w >= 1024) cols = this.rcols?.lg\n\t\t\t\t\t\telse if (this.rcols?.md && w >= 768) cols = this.rcols?.md\n\t\t\t\t\t\telse if (this.rcols?.sm && w >= 640) cols = this.rcols?.sm\n\t\t\t\t\t\telse if (this.rcols?.xs && w < 640) cols = this.rcols?.xs\n\t\t\t\t\t\treturn cols\n\t\t\t\t\t}),\n\t\t\t\t)\n\t\t\t\t.subscribe(cols => {\n\t\t\t\t\tthis.cols = cols\n\t\t\t\t})\n\t}\n\n\trender() {\n\t\tconst classes = {\n\t\t\t'h-full': true,\n\t\t\t'grid flex-1': true,\n\t\t\t// flow classes: https://tailwindcss.com/docs/grid-auto-flow\n\t\t\t'grid-flow-row auto-rows-max': this.flow === 'row',\n\t\t\t'grid-flow-col auto-cols-max': this.flow === 'col',\n\t\t\t'grid-flow-row-dense': this.flow === 'row-dense',\n\t\t\t'grid-flow-col-dense': this.flow === 'col-dense',\n\t\t\t'grid-flow-dense': this.flow === 'dense',\n\n\t\t\t'justify-center': this.content === 'center',\n\t\t\t'justify-end': this.content === 'end',\n\t\t\t'justify-start': this.content === 'start',\n\t\t\t'justify-stretch': this.content === 'stretch',\n\t\t\t'justify-between': this.content === 'between',\n\t\t\t'justify-around': this.content === 'around',\n\t\t\t'justify-evenly': this.content === 'evenly',\n\n\t\t\t'justify-items-center': this.justify === 'center',\n\t\t\t'justify-items-end': this.justify === 'end',\n\t\t\t'justify-items-start': this.justify === 'start',\n\t\t\t'justify-items-stretch': this.justify === 'stretch',\n\t\t\t'items-center': this.align === 'center',\n\t\t\t'items-end': this.align === 'end',\n\t\t\t'items-start': this.align === 'start',\n\t\t\t'items-stretch': this.align === 'stretch',\n\t\t\t'items-baseline': this.align === 'baseline',\n\t\t\t'gap-0': this.gap === 'none',\n\t\t\t'gap-1': this.gap === 'xs',\n\t\t\t'gap-2': this.gap === 'sm',\n\t\t\t'gap-4': this.gap === 'md',\n\t\t\t'gap-8': this.gap === 'lg',\n\t\t\t'flex-nowrap': this.wrap,\n\t\t\t'flex-wrap': !this.wrap,\n\t\t}\n\t\tconst style = {\n\t\t\tgridTemplateRows: this.rows ? this.rows : undefined,\n\t\t\tgridTemplateColumns: this.cols ? this.cols : undefined,\n\t\t}\n\t\treturn html`\n\t\t\t<section class=\"${this.classMap(classes)}\" style=${this.styleMap(style)}>\n\t\t\t\t<slot> </slot>\n\t\t\t</section>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-grid': SchmancyGrid\n\t}\n}\n","import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, property, query } from 'lit/decorators.js'\nimport { debounceTime, fromEvent, takeUntil } from 'rxjs'\n\n/**\n * Custom scroll event interface for the SchmancyScroll component.\n * Contains detailed information about the scroll state.\n */\nexport interface SchmancyScrollEvent\n\textends CustomEvent<{\n\t\t/** Current scroll position from the top */\n\t\tscrollTop: number\n\t\t/** Total scrollable height of the content */\n\t\tscrollHeight: number\n\t\t/** Visible height of the container */\n\t\tclientHeight: number\n\t\t/** Original scroll event */\n\t\te: Event\n\t}> {}\n\n// Augment the HTMLElementEventMap to include our custom event\ndeclare global {\n\tinterface HTMLElementEventMap {\n\t\tscroll: SchmancyScrollEvent\n\t}\n}\n\n/**\n * A custom scrollable container with enhanced features.\n *\n * @fires {SchmancyScrollEvent} scroll - Fired when scrolling occurs (with a configurable debounce)\n * @slot - Default slot for content to be scrolled\n * @csspart scroller - The inner scrollable div element\n *\n * @example\n * ```html\n * <schmancy-scroll hide>\n * <div>Scrollable content goes here</div>\n * </schmancy-scroll>\n * ```\n */\n@customElement('schmancy-scroll')\nexport class SchmancyScroll extends TailwindElement(css`\n\t:host {\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\toverflow: hidden;\n\t\tbox-sizing: border-box; /* Ensures proper sizing */\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\tinset: 0px;\n\t}\n\t.scrollbar-hide {\n\t\t-ms-overflow-style: none; /* IE and Edge */\n\t\tscrollbar-width: none; /* Firefox */\n\t}\n\t.scrollbar-hide::-webkit-scrollbar {\n\t\tdisplay: none; /* Chrome, Safari, and Opera */\n\t}\n`) {\n\t/**\n\t * Determines whether the scrollbar is hidden.\n\t *\n\t * When `hide` is true, the inner scrollable div receives the `scrollbar-hide` class,\n\t * which hides scrollbars in supported browsers.\n\t *\n\t * @attr hide\n\t * @example <schmancy-scroll hide></schmancy-scroll>\n\t */\n\t@property({ type: Boolean, reflect: true })\n\tpublic hide = false\n\n\t/**\n\t * Reference to the inner scrollable div element\n\t * @private\n\t */\n\t@query('#scroller')\n\tprivate scroller!: HTMLElement\n\n\t/**\n\t * Debounce time in milliseconds for the scroll event.\n\t * Higher values reduce the frequency of scroll events being dispatched.\n\t *\n\t * @attr debounce\n\t * @example <schmancy-scroll debounce=\"50\"></schmancy-scroll>\n\t */\n\t@property({ type: Number })\n\tpublic debounce = 10\n\n\t/**\n\t * Called after the component's first update\n\t * Sets up the scroll event listener with debouncing\n\t * @protected\n\t */\n\tprotected firstUpdated(): void {\n\t\t// Set up scroll event listening with debounce\n\t\tfromEvent(this.scroller, 'scroll', {\n\t\t\tpassive: true,\n\t\t})\n\t\t\t.pipe(\n\t\t\t\tdebounceTime(this.debounce),\n\t\t\t\ttakeUntil(this.disconnecting), // Unsubscribe when the element is destroyed\n\t\t\t)\n\t\t\t.subscribe(e => {\n\t\t\t\tconst scrollTop = this.scroller.scrollTop\n\t\t\t\tconst scrollHeight = this.scroller.scrollHeight\n\t\t\t\tconst clientHeight = this.scroller.clientHeight\n\t\t\t\tthis.dispatchEvent(\n\t\t\t\t\tnew CustomEvent('scroll', {\n\t\t\t\t\t\tdetail: { scrollTop, scrollHeight, clientHeight, e },\n\t\t\t\t\t\tbubbles: true,\n\t\t\t\t\t\tcomposed: true,\n\t\t\t\t\t}) as SchmancyScrollEvent,\n\t\t\t\t)\n\t\t\t})\n\t}\n\n\t/**\n\t * Renders the component template\n\t * @returns {TemplateResult} The template to render\n\t * @protected\n\t */\n\tprotected render() {\n\t\t// The classes are dynamically assigned based on the `hide` property.\n\t\tconst classes = {\n\t\t\t'h-full w-full inset-0 overflow-x-auto overflow-y-auto scroll-smooth overscroll-contain': true,\n\t\t\t'scrollbar-hide': this.hide,\n\t\t}\n\n\t\treturn html`\n\t\t\t<div class=\"relative inset-0 h-full w-full overscroll-none\">\n\t\t\t\t<div id=\"scroller\" part=\"scroller\" class=${this.classMap(classes)}>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-scroll': SchmancyScroll\n\t}\n}\n","import { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\nimport Layout from '../layout'\n\n/**\n * SchmancyFlex exposes a flex container with all the Tailwind CSS 4 options:\n *\n * - **Display**: By default uses `flex` but can be set to inline using the `inline` property.\n * - **Flow**: Accepts 'row', 'row-reverse', 'col', 'col-reverse' as well as grid‐like dense variants:\n * - Dense variants (`row-dense`, `col-dense`) force wrapping.\n * - **Wrap**: 'wrap', 'nowrap', or 'wrap-reverse'\n * - **Align Items**: 'start', 'center', 'end', 'stretch', or 'baseline'\n * - **Justify Content**: 'start', 'center', 'end', 'between', 'around', or 'evenly'\n * - **Align Content** (for multi-line flex containers): 'start', 'center', 'end', 'between', 'around', or 'evenly'\n * - **Gap**: Supports Tailwind’s spacing scale (e.g. 'none', '0', '1', '2', …, '64')\n */\n@customElement('sch-flex')\nexport class SchmancyFlexV2 extends Layout {\n\tstatic styles = [\n\t\tLayout.styles,\n\t\tcss`\n\t\t\t:host {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t`,\n\t]\n\t// If true, the container will use inline-flex instead of flex.\n\t@property({ type: Boolean, reflect: true })\n\tinline = false\n\n\t/**\n\t * Flow property that determines the flex direction.\n\t * Allowed values:\n\t * - Standard: 'row', 'row-reverse', 'col', 'col-reverse'\n\t * - Dense variants: 'row-dense', 'col-dense' (dense implies wrapping)\n\t */\n\t@property({ type: String, reflect: true })\n\tflow: 'row' | 'row-reverse' | 'col' | 'col-reverse' | 'row-dense' | 'col-dense' = 'row'\n\n\t/**\n\t * Flex-wrap options:\n\t * - 'wrap', 'nowrap', or 'wrap-reverse'\n\t */\n\t@property({ type: String, reflect: true })\n\twrap: 'wrap' | 'nowrap' | 'wrap-reverse' = 'wrap'\n\n\t/**\n\t * Align-items (vertical alignment of flex items):\n\t * - 'start', 'center', 'end', 'stretch', or 'baseline'\n\t */\n\t@property({ type: String, reflect: true })\n\talign: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'stretch'\n\n\t/**\n\t * Justify-content (horizontal distribution):\n\t * - 'start', 'center', 'end', 'between', 'around', or 'evenly'\n\t */\n\t@property({ type: String, reflect: true })\n\tjustify: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly' = 'start'\n\n\t/**\n\t * Align-content (spacing between rows when wrapping):\n\t * - 'start', 'center', 'end', 'between', 'around', or 'evenly'\n\t */\n\t@property({ type: String, reflect: true })\n\tcontent?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly'\n\n\t/**\n\t * Gap between flex items.\n\t * Options (based on Tailwind CSS 4 spacing scale):\n\t * - 'none', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '12', '16', '20', '24', '32', '40', '48', '56', or '64'\n\t */\n\t@property({ type: String, reflect: true })\n\tgap:\n\t\t| 'none'\n\t\t| '0'\n\t\t| '1'\n\t\t| '2'\n\t\t| '3'\n\t\t| '4'\n\t\t| '5'\n\t\t| '6'\n\t\t| '7'\n\t\t| '8'\n\t\t| '9'\n\t\t| '10'\n\t\t| '12'\n\t\t| '16'\n\t\t| '20'\n\t\t| '24'\n\t\t| '32'\n\t\t| '40'\n\t\t| '48'\n\t\t| '56'\n\t\t| '64' = 'none'\n\n\trender() {\n\t\t// Determine whether to use inline-flex or flex.\n\t\tconst baseDisplay = this.inline ? 'inline-flex' : 'flex'\n\n\t\t// Map the flow property to a flex-direction class.\n\t\t// (Dense variants use the same class as their standard counterparts.)\n\t\tlet directionClass = ''\n\t\tswitch (this.flow) {\n\t\t\tcase 'row':\n\t\t\tcase 'row-dense':\n\t\t\t\tdirectionClass = 'flex-row'\n\t\t\t\tbreak\n\t\t\tcase 'row-reverse':\n\t\t\t\tdirectionClass = 'flex-row-reverse'\n\t\t\t\tbreak\n\t\t\tcase 'col':\n\t\t\tcase 'col-dense':\n\t\t\t\tdirectionClass = 'flex-col'\n\t\t\t\tbreak\n\t\t\tcase 'col-reverse':\n\t\t\t\tdirectionClass = 'flex-col-reverse'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tdirectionClass = 'flex-row'\n\t\t}\n\n\t\t// Dense variants force wrapping regardless of the wrap property.\n\t\tconst isDense = this.flow === 'row-dense' || this.flow === 'col-dense'\n\t\tconst effectiveWrap = isDense ? 'wrap' : this.wrap\n\n\t\tlet wrapClass = ''\n\t\tswitch (effectiveWrap) {\n\t\t\tcase 'wrap':\n\t\t\t\twrapClass = 'flex-wrap'\n\t\t\t\tbreak\n\t\t\tcase 'nowrap':\n\t\t\t\twrapClass = 'flex-nowrap'\n\t\t\t\tbreak\n\t\t\tcase 'wrap-reverse':\n\t\t\t\twrapClass = 'flex-wrap-reverse'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\twrapClass = 'flex-wrap'\n\t\t}\n\n\t\t// Map align-items.\n\t\tlet alignClass = ''\n\t\tswitch (this.align) {\n\t\t\tcase 'start':\n\t\t\t\talignClass = 'items-start'\n\t\t\t\tbreak\n\t\t\tcase 'center':\n\t\t\t\talignClass = 'items-center'\n\t\t\t\tbreak\n\t\t\tcase 'end':\n\t\t\t\talignClass = 'items-end'\n\t\t\t\tbreak\n\t\t\tcase 'stretch':\n\t\t\t\talignClass = 'items-stretch'\n\t\t\t\tbreak\n\t\t\tcase 'baseline':\n\t\t\t\talignClass = 'items-baseline'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\talignClass = 'items-stretch'\n\t\t}\n\n\t\t// Map justify-content.\n\t\tlet justifyClass = ''\n\t\tswitch (this.justify) {\n\t\t\tcase 'start':\n\t\t\t\tjustifyClass = 'justify-start'\n\t\t\t\tbreak\n\t\t\tcase 'center':\n\t\t\t\tjustifyClass = 'justify-center'\n\t\t\t\tbreak\n\t\t\tcase 'end':\n\t\t\t\tjustifyClass = 'justify-end'\n\t\t\t\tbreak\n\t\t\tcase 'between':\n\t\t\t\tjustifyClass = 'justify-between'\n\t\t\t\tbreak\n\t\t\tcase 'around':\n\t\t\t\tjustifyClass = 'justify-around'\n\t\t\t\tbreak\n\t\t\tcase 'evenly':\n\t\t\t\tjustifyClass = 'justify-evenly'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tjustifyClass = 'justify-start'\n\t\t}\n\n\t\t// Map align-content (if provided).\n\t\tlet contentClass = ''\n\t\tif (this.content) {\n\t\t\tswitch (this.content) {\n\t\t\t\tcase 'start':\n\t\t\t\t\tcontentClass = 'content-start'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'center':\n\t\t\t\t\tcontentClass = 'content-center'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'end':\n\t\t\t\t\tcontentClass = 'content-end'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'between':\n\t\t\t\t\tcontentClass = 'content-between'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'around':\n\t\t\t\t\tcontentClass = 'content-around'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'evenly':\n\t\t\t\t\tcontentClass = 'content-evenly'\n\t\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\n\t\t// Map gap value.\n\t\tconst gapClass = this.gap === 'none' ? 'gap-0' : `gap-${this.gap}`\n\n\t\t// Build the complete list of classes.\n\t\tconst classes = [baseDisplay, directionClass, wrapClass, alignClass, justifyClass, contentClass, gapClass]\n\t\t\t.filter(Boolean)\n\t\t\t.join(' ')\n\n\t\treturn html`\n\t\t\t<section class=${classes}>\n\t\t\t\t<slot></slot>\n\t\t\t</section>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'sch-flex': SchmancyFlexV2\n\t}\n}\n"],"names":["Layout","TailwindElement","super","arguments","this","layout","center","display","overflow","overflowX","overflowY","position","connectedCallback","style","setProperty","padding","margin","width","height","minWidth","minHeight","maxWidth","maxHeight","top","right","bottom","left","inset","zIndex","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","borderWidth","boxShadow","opacity","background","backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundColor","backgroundClip","backgroundOrigin","backgroundBlendMode","filter","backdropFilter","__decorateClass","styles","_a","property","type","Boolean","prototype","String","SchmancyFlex","constructor","flow","wrap","align","justify","gap","classes","flex","html","classMap","styleMap","unsafeCSS","reflect","customElement","SchmancyGrid","content","rcols","fromEvent","window","pipe","map","event","target","startWith","clientWidth","innerWidth","distinctUntilChanged","takeUntil","disconnecting","debounceTime","w","cols","xl","lg","md","sm","xs","subscribe","gridTemplateRows","rows","gridTemplateColumns","Object","queryAssignedElements","SchmancyScroll","css","hide","debounce","firstUpdated","scroller","passive","e","scrollTop","scrollHeight","clientHeight","dispatchEvent","CustomEvent","detail","bubbles","composed","query","Number","SchmancyFlexV2","inline","render","baseDisplay","directionClass","wrapClass","alignClass","justifyClass","contentClass","join"],"mappings":"qVAGqB,MAAAA,EAAA,MAAAA,UAAeC,kBAApC,CAAA,CAAA,aAAAC,CAAAA,MAAAA,GAAAC,SAEUC,EAAAA,KAAAC,OAAA,GACkDD,KAAAE,OAAAA,OAqB5CF,KAAAG,QAAA,OAC8EH,KAAAI,SAAAA,OACCJ,KAAAK,UAAA,OACAL,KAAAM,UAAAA,OACcN,KAAAO,SAAA,MAAA,CAgC5G,mBAAAC,CACCV,MAAMU,kBAAAA,EACNR,KAAKS,MAAMC,YAAY,UAAWV,KAAKW,SAAW,EAClDX,EAAAA,KAAKS,MAAMC,YAAY,SAAUV,KAAKY,QAAU,EAAA,EAChDZ,KAAKS,MAAMC,YAAY,QAASV,KAAKa,OAAS,EAC9Cb,EAAAA,KAAKS,MAAMC,YAAY,SAAUV,KAAKc,QAAU,EAChDd,EAAAA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AAA,CAOAN,EAAAA,EAAA,CADCG,EAAAA,SAAS,CAAEC,KAAMG,OAAQc,QAAS,EAAA,CAAA,CAAA,EA1BvBiD,uBA2BZhE,UAAA,OAAA,CAAA,EAOAN,EAAA,CADCG,EAAAA,SAAS,CAAEC,KAAMG,OAAQc,QAAS,EAAA,CAAA,CAAA,EAjCvBiD,uBAkCZhE,UAAA,QAAA,CAAA,EAOAN,EAAA,CADCG,EAAAA,SAAS,CAAEC,KAAMG,OAAQc,QAAAA,EAxCdiD,CAAAA,CAAAA,EAAAA,uBAyCZhE,UAAA,UAAA,CAOAN,EAAAA,EAAA,CADCG,EAAAA,SAAS,CAAEC,KAAMG,OAAQc,QAAAA,EA/CdiD,CAAAA,CAAAA,EAAAA,uBAgDZhE,UAAA,UAAA,GAQAN,EAAA,CADCG,EAAAA,SAAS,CAAEC,KAAMG,OAAQc,QAAS,EAAA,CAAA,CAAA,EAvDvBiD,uBAwDZhE,UAAA,MAAA,CAAA,EAxDYgE,QAANA,eAAAtE,EAAA,CADNsB,EAAAA,cAAc,UAAA,CAAA,EACFgD"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { unsafeCSS as B, html as
|
|
2
|
-
import { property as t, customElement as
|
|
3
|
-
import { classMap as
|
|
4
|
-
import { styleMap as
|
|
5
|
-
import { fromEvent as
|
|
6
|
-
import { T as
|
|
7
|
-
var F = Object.defineProperty, s = (i, o, l,
|
|
8
|
-
for (var
|
|
1
|
+
import { unsafeCSS as B, html as m, css as E } from "lit";
|
|
2
|
+
import { property as t, customElement as v, queryAssignedElements as $, query as M } from "lit/decorators.js";
|
|
3
|
+
import { classMap as I } from "lit/directives/class-map.js";
|
|
4
|
+
import { styleMap as D } from "lit/directives/style-map.js";
|
|
5
|
+
import { fromEvent as W, map as S, startWith as U, distinctUntilChanged as A, takeUntil as H, debounceTime as T } from "rxjs";
|
|
6
|
+
import { T as R } from "./tailwind.mixin-DUDUV2I_.js";
|
|
7
|
+
var F = Object.defineProperty, s = (i, o, l, n) => {
|
|
8
|
+
for (var p, r = void 0, a = i.length - 1; a >= 0; a--) (p = i[a]) && (r = p(o, l, r) || r);
|
|
9
9
|
return r && F(o, l, r), r;
|
|
10
10
|
};
|
|
11
|
-
const
|
|
11
|
+
const w = class w extends R() {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this.layout = !0, this.center = void 0, this.display = void 0, this.overflow = void 0, this.overflowX = void 0, this.overflowY = void 0, this.position = void 0;
|
|
14
14
|
}
|
|
@@ -16,12 +16,12 @@ const b = class b extends E() {
|
|
|
16
16
|
super.connectedCallback(), this.style.setProperty("padding", this.padding ?? ""), this.style.setProperty("margin", this.margin ?? ""), this.style.setProperty("width", this.width ?? ""), this.style.setProperty("height", this.height ?? ""), this.style.setProperty("min-width", this.minWidth ?? ""), this.style.setProperty("min-height", this.minHeight ?? ""), this.style.setProperty("max-width", this.maxWidth ?? ""), this.style.setProperty("max-height", this.maxHeight ?? ""), this.style.setProperty("display", this.display ?? ""), this.style.setProperty("overflow", this.overflow ?? ""), this.style.setProperty("overflow-x", this.overflowX ?? ""), this.style.setProperty("overflow-y", this.overflowY ?? ""), this.style.setProperty("position", this.position ?? ""), this.style.setProperty("top", this.top ?? ""), this.style.setProperty("right", this.right ?? ""), this.style.setProperty("bottom", this.bottom ?? ""), this.style.setProperty("left", this.left ?? ""), this.style.setProperty("inset", this.inset ?? ""), this.style.setProperty("z-index", this.zIndex ?? ""), this.style.setProperty("border", this.border ?? ""), this.style.setProperty("border-top", this.borderTop ?? ""), this.style.setProperty("border-right", this.borderRight ?? ""), this.style.setProperty("border-bottom", this.borderBottom ?? ""), this.style.setProperty("border-left", this.borderLeft ?? ""), this.style.setProperty("border-color", this.borderColor ?? ""), this.style.setProperty("border-radius", this.borderRadius ?? ""), this.style.setProperty("border-width", this.borderWidth ?? ""), this.style.setProperty("box-shadow", this.boxShadow ?? ""), this.style.setProperty("opacity", this.opacity ?? ""), this.style.setProperty("background", this.background ?? ""), this.style.setProperty("background-image", this.backgroundImage ?? ""), this.style.setProperty("background-position", this.backgroundPosition ?? ""), this.style.setProperty("background-size", this.backgroundSize ?? ""), this.style.setProperty("background-repeat", this.backgroundRepeat ?? ""), this.style.setProperty("background-attachment", this.backgroundAttachment ?? ""), this.style.setProperty("background-color", this.backgroundColor ?? ""), this.style.setProperty("background-clip", this.backgroundClip ?? ""), this.style.setProperty("background-origin", this.backgroundOrigin ?? ""), this.style.setProperty("background-blend-mode", this.backgroundBlendMode ?? ""), this.style.setProperty("filter", this.filter ?? ""), this.style.setProperty("backdrop-filter", this.backdropFilter ?? ""), this.center && (this.style.setProperty("margin-left", "auto"), this.style.setProperty("margin-right", "auto"));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
|
-
|
|
20
|
-
let e =
|
|
19
|
+
w.styles = [w.styles];
|
|
20
|
+
let e = w;
|
|
21
21
|
s([t({ type: Boolean })], e.prototype, "center"), s([t({ type: String })], e.prototype, "padding"), s([t({ type: String })], e.prototype, "margin"), s([t({ type: String })], e.prototype, "width"), s([t({ type: String })], e.prototype, "height"), s([t({ type: String })], e.prototype, "minWidth"), s([t({ type: String })], e.prototype, "minHeight"), s([t({ type: String })], e.prototype, "maxWidth"), s([t({ type: String })], e.prototype, "maxHeight"), s([t({ type: String })], e.prototype, "display"), s([t({ type: String })], e.prototype, "overflow"), s([t({ type: String })], e.prototype, "overflowX"), s([t({ type: String })], e.prototype, "overflowY"), s([t({ type: String })], e.prototype, "position"), s([t({ type: String })], e.prototype, "top"), s([t({ type: String })], e.prototype, "right"), s([t({ type: String })], e.prototype, "bottom"), s([t({ type: String })], e.prototype, "left"), s([t({ type: String })], e.prototype, "inset"), s([t({ type: String })], e.prototype, "zIndex"), s([t({ type: String })], e.prototype, "border"), s([t({ type: String })], e.prototype, "borderTop"), s([t({ type: String })], e.prototype, "borderRight"), s([t({ type: String })], e.prototype, "borderBottom"), s([t({ type: String })], e.prototype, "borderLeft"), s([t({ type: String })], e.prototype, "borderColor"), s([t({ type: String })], e.prototype, "borderRadius"), s([t({ type: String })], e.prototype, "borderWidth"), s([t({ type: String })], e.prototype, "boxShadow"), s([t({ type: String })], e.prototype, "opacity"), s([t({ type: String })], e.prototype, "background"), s([t({ type: String })], e.prototype, "backgroundImage"), s([t({ type: String })], e.prototype, "backgroundPosition"), s([t({ type: String })], e.prototype, "backgroundSize"), s([t({ type: String })], e.prototype, "backgroundRepeat"), s([t({ type: String })], e.prototype, "backgroundAttachment"), s([t({ type: String })], e.prototype, "backgroundColor"), s([t({ type: String })], e.prototype, "backgroundClip"), s([t({ type: String })], e.prototype, "backgroundOrigin"), s([t({ type: String })], e.prototype, "backgroundBlendMode"), s([t({ type: String })], e.prototype, "filter"), s([t({ type: String })], e.prototype, "backdropFilter");
|
|
22
|
-
var
|
|
23
|
-
for (var
|
|
24
|
-
return
|
|
22
|
+
var X = Object.defineProperty, Y = Object.getOwnPropertyDescriptor, f = (i, o, l, n) => {
|
|
23
|
+
for (var p, r = n > 1 ? void 0 : n ? Y(o, l) : o, a = i.length - 1; a >= 0; a--) (p = i[a]) && (r = (n ? p(o, l, r) : p(r)) || r);
|
|
24
|
+
return n && r && X(o, l, r), r;
|
|
25
25
|
};
|
|
26
26
|
let d = class extends e {
|
|
27
27
|
constructor() {
|
|
@@ -29,46 +29,46 @@ let d = class extends e {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
const i = { flex: !0, "flex-col": this.flow === "row", "flex-col-reverse": this.flow === "row-reverse", "flex-row": this.flow === "col", "flex-row-reverse": this.flow === "col-reverse", "flex-wrap": this.wrap === "wrap", "flex-wrap-reverse": this.wrap === "wrap-reverse", "flex-nowrap": this.wrap === "nowrap", "items-start": this.align === "start", "items-center": this.align === "center", "items-end": this.align === "end", "items-stretch": this.align === "stretch", "justify-baseline": this.align === "baseline", "justify-center": this.justify === "center", "justify-end": this.justify === "end", "justify-start": this.justify === "start", "justify-stretch": this.justify === "stretch", "justify-between": this.justify === "between", "gap-0": this.gap === "none", "gap-2": this.gap === "sm", "gap-4": this.gap === "md", "gap-8": this.gap === "lg" };
|
|
32
|
-
return
|
|
33
|
-
<section class=${
|
|
32
|
+
return m`
|
|
33
|
+
<section class=${I(i)} style=${D({})}>
|
|
34
34
|
<slot></slot>
|
|
35
35
|
</section>
|
|
36
36
|
`;
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
|
-
d.styles = [e.styles, B(":host{display:block;background-color:inherit}")], f([t({ type: String, reflect: !0 })], d.prototype, "flow", 2), f([t({ type: String, reflect: !0 })], d.prototype, "wrap", 2), f([t({ type: String, reflect: !0 })], d.prototype, "align", 2), f([t({ type: String, reflect: !0 })], d.prototype, "justify", 2), f([t({ type: String, reflect: !0 })], d.prototype, "gap", 2), d = f([
|
|
40
|
-
var
|
|
41
|
-
for (var
|
|
42
|
-
return
|
|
39
|
+
d.styles = [e.styles, B(":host{display:block;background-color:inherit}")], f([t({ type: String, reflect: !0 })], d.prototype, "flow", 2), f([t({ type: String, reflect: !0 })], d.prototype, "wrap", 2), f([t({ type: String, reflect: !0 })], d.prototype, "align", 2), f([t({ type: String, reflect: !0 })], d.prototype, "justify", 2), f([t({ type: String, reflect: !0 })], d.prototype, "gap", 2), d = f([v("schmancy-flex")], d);
|
|
40
|
+
var q = Object.defineProperty, L = Object.getOwnPropertyDescriptor, y = (i, o, l, n) => {
|
|
41
|
+
for (var p, r = n > 1 ? void 0 : n ? L(o, l) : o, a = i.length - 1; a >= 0; a--) (p = i[a]) && (r = (n ? p(o, l, r) : p(r)) || r);
|
|
42
|
+
return n && r && q(o, l, r), r;
|
|
43
43
|
};
|
|
44
|
-
let
|
|
44
|
+
let h = class extends e {
|
|
45
45
|
constructor() {
|
|
46
46
|
super(...arguments), this.layout = !0, this.flow = "row", this.align = "stretch", this.justify = "stretch", this.content = "stretch", this.gap = "none", this.wrap = !1;
|
|
47
47
|
}
|
|
48
48
|
firstUpdated() {
|
|
49
|
-
this.rcols &&
|
|
50
|
-
var l,
|
|
49
|
+
this.rcols && W(window, "resize").pipe(S((i) => i.target), U(1), S(() => this.clientWidth ? this.clientWidth : window.innerWidth), A(), H(this.disconnecting), T(10), S((i) => {
|
|
50
|
+
var l, n, p, r, a, k, x, P, j, O, C, z;
|
|
51
51
|
let o;
|
|
52
|
-
return (l = this.rcols) != null && l["2xl"] && i >= 1536 ? o = (
|
|
52
|
+
return (l = this.rcols) != null && l["2xl"] && i >= 1536 ? o = (n = this.rcols) == null ? void 0 : n["2xl"] : (p = this.rcols) != null && p.xl && i >= 1280 ? o = (r = this.rcols) == null ? void 0 : r.xl : (a = this.rcols) != null && a.lg && i >= 1024 ? o = (k = this.rcols) == null ? void 0 : k.lg : (x = this.rcols) != null && x.md && i >= 768 ? o = (P = this.rcols) == null ? void 0 : P.md : (j = this.rcols) != null && j.sm && i >= 640 ? o = (O = this.rcols) == null ? void 0 : O.sm : (C = this.rcols) != null && C.xs && i < 640 && (o = (z = this.rcols) == null ? void 0 : z.xs), o;
|
|
53
53
|
})).subscribe((i) => {
|
|
54
54
|
this.cols = i;
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
58
|
const i = { "h-full": !0, "grid flex-1": !0, "grid-flow-row auto-rows-max": this.flow === "row", "grid-flow-col auto-cols-max": this.flow === "col", "grid-flow-row-dense": this.flow === "row-dense", "grid-flow-col-dense": this.flow === "col-dense", "grid-flow-dense": this.flow === "dense", "justify-center": this.content === "center", "justify-end": this.content === "end", "justify-start": this.content === "start", "justify-stretch": this.content === "stretch", "justify-between": this.content === "between", "justify-around": this.content === "around", "justify-evenly": this.content === "evenly", "justify-items-center": this.justify === "center", "justify-items-end": this.justify === "end", "justify-items-start": this.justify === "start", "justify-items-stretch": this.justify === "stretch", "items-center": this.align === "center", "items-end": this.align === "end", "items-start": this.align === "start", "items-stretch": this.align === "stretch", "items-baseline": this.align === "baseline", "gap-0": this.gap === "none", "gap-1": this.gap === "xs", "gap-2": this.gap === "sm", "gap-4": this.gap === "md", "gap-8": this.gap === "lg", "flex-nowrap": this.wrap, "flex-wrap": !this.wrap }, o = { gridTemplateRows: this.rows ? this.rows : void 0, gridTemplateColumns: this.cols ? this.cols : void 0 };
|
|
59
|
-
return
|
|
59
|
+
return m`
|
|
60
60
|
<section class="${this.classMap(i)}" style=${this.styleMap(o)}>
|
|
61
61
|
<slot> </slot>
|
|
62
62
|
</section>
|
|
63
63
|
`;
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
|
-
|
|
67
|
-
var
|
|
68
|
-
for (var
|
|
69
|
-
return
|
|
66
|
+
h.styles = [e.styles, B(":host{height:max-content;width:-webkit-fill-available;display:block}")], y([t({ type: String })], h.prototype, "flow", 2), y([t({ type: String })], h.prototype, "align", 2), y([t({ type: String })], h.prototype, "justify", 2), y([t({ type: String })], h.prototype, "content", 2), y([t({ type: String })], h.prototype, "gap", 2), y([t({ type: String })], h.prototype, "cols", 2), y([t({ type: String })], h.prototype, "rows", 2), y([t({ type: Object })], h.prototype, "rcols", 2), y([t({ type: Boolean })], h.prototype, "wrap", 2), y([$()], h.prototype, "assignedElements", 2), h = y([v("schmancy-grid")], h);
|
|
67
|
+
var N = Object.defineProperty, G = Object.getOwnPropertyDescriptor, u = (i, o, l, n) => {
|
|
68
|
+
for (var p, r = n > 1 ? void 0 : n ? G(o, l) : o, a = i.length - 1; a >= 0; a--) (p = i[a]) && (r = (n ? p(o, l, r) : p(r)) || r);
|
|
69
|
+
return n && r && N(o, l, r), r;
|
|
70
70
|
};
|
|
71
|
-
let
|
|
71
|
+
let b = class extends R(E`
|
|
72
72
|
:host {
|
|
73
73
|
height: 100%;
|
|
74
74
|
width: 100%;
|
|
@@ -87,23 +87,29 @@ let v = class extends E(W`
|
|
|
87
87
|
}
|
|
88
88
|
`) {
|
|
89
89
|
constructor() {
|
|
90
|
-
super(...arguments), this.hide = !1;
|
|
90
|
+
super(...arguments), this.hide = !1, this.debounce = 10;
|
|
91
|
+
}
|
|
92
|
+
firstUpdated() {
|
|
93
|
+
W(this.scroller, "scroll", { passive: !0 }).pipe(T(this.debounce), H(this.disconnecting)).subscribe((i) => {
|
|
94
|
+
const o = this.scroller.scrollTop, l = this.scroller.scrollHeight, n = this.scroller.clientHeight;
|
|
95
|
+
this.dispatchEvent(new CustomEvent("scroll", { detail: { scrollTop: o, scrollHeight: l, clientHeight: n, e: i }, bubbles: !0, composed: !0 }));
|
|
96
|
+
});
|
|
91
97
|
}
|
|
92
98
|
render() {
|
|
93
99
|
const i = { "h-full w-full inset-0 overflow-x-auto overflow-y-auto scroll-smooth overscroll-contain": !0, "scrollbar-hide": this.hide };
|
|
94
|
-
return
|
|
100
|
+
return m`
|
|
95
101
|
<div class="relative inset-0 h-full w-full overscroll-none">
|
|
96
|
-
<div class=${this.classMap(i)}>
|
|
102
|
+
<div id="scroller" part="scroller" class=${this.classMap(i)}>
|
|
97
103
|
<slot></slot>
|
|
98
104
|
</div>
|
|
99
105
|
</div>
|
|
100
106
|
`;
|
|
101
107
|
}
|
|
102
108
|
};
|
|
103
|
-
|
|
104
|
-
var J = Object.defineProperty, K = Object.getOwnPropertyDescriptor, g = (i, o, l,
|
|
105
|
-
for (var
|
|
106
|
-
return
|
|
109
|
+
u([t({ type: Boolean, reflect: !0 })], b.prototype, "hide", 2), u([M("#scroller")], b.prototype, "scroller", 2), u([t({ type: Number })], b.prototype, "debounce", 2), b = u([v("schmancy-scroll")], b);
|
|
110
|
+
var J = Object.defineProperty, K = Object.getOwnPropertyDescriptor, g = (i, o, l, n) => {
|
|
111
|
+
for (var p, r = n > 1 ? void 0 : n ? K(o, l) : o, a = i.length - 1; a >= 0; a--) (p = i[a]) && (r = (n ? p(o, l, r) : p(r)) || r);
|
|
112
|
+
return n && r && J(o, l, r), r;
|
|
107
113
|
};
|
|
108
114
|
let c = class extends e {
|
|
109
115
|
constructor() {
|
|
@@ -140,44 +146,44 @@ let c = class extends e {
|
|
|
140
146
|
case "wrap-reverse":
|
|
141
147
|
l = "flex-wrap-reverse";
|
|
142
148
|
}
|
|
143
|
-
let
|
|
149
|
+
let n = "";
|
|
144
150
|
switch (this.align) {
|
|
145
151
|
case "start":
|
|
146
|
-
|
|
152
|
+
n = "items-start";
|
|
147
153
|
break;
|
|
148
154
|
case "center":
|
|
149
|
-
|
|
155
|
+
n = "items-center";
|
|
150
156
|
break;
|
|
151
157
|
case "end":
|
|
152
|
-
|
|
158
|
+
n = "items-end";
|
|
153
159
|
break;
|
|
154
160
|
case "stretch":
|
|
155
161
|
default:
|
|
156
|
-
|
|
162
|
+
n = "items-stretch";
|
|
157
163
|
break;
|
|
158
164
|
case "baseline":
|
|
159
|
-
|
|
165
|
+
n = "items-baseline";
|
|
160
166
|
}
|
|
161
|
-
let
|
|
167
|
+
let p = "";
|
|
162
168
|
switch (this.justify) {
|
|
163
169
|
case "start":
|
|
164
170
|
default:
|
|
165
|
-
|
|
171
|
+
p = "justify-start";
|
|
166
172
|
break;
|
|
167
173
|
case "center":
|
|
168
|
-
|
|
174
|
+
p = "justify-center";
|
|
169
175
|
break;
|
|
170
176
|
case "end":
|
|
171
|
-
|
|
177
|
+
p = "justify-end";
|
|
172
178
|
break;
|
|
173
179
|
case "between":
|
|
174
|
-
|
|
180
|
+
p = "justify-between";
|
|
175
181
|
break;
|
|
176
182
|
case "around":
|
|
177
|
-
|
|
183
|
+
p = "justify-around";
|
|
178
184
|
break;
|
|
179
185
|
case "evenly":
|
|
180
|
-
|
|
186
|
+
p = "justify-evenly";
|
|
181
187
|
}
|
|
182
188
|
let r = "";
|
|
183
189
|
if (this.content) switch (this.content) {
|
|
@@ -199,23 +205,23 @@ let c = class extends e {
|
|
|
199
205
|
case "evenly":
|
|
200
206
|
r = "content-evenly";
|
|
201
207
|
}
|
|
202
|
-
const a = [i, o, l,
|
|
203
|
-
return
|
|
208
|
+
const a = [i, o, l, n, p, r, this.gap === "none" ? "gap-0" : `gap-${this.gap}`].filter(Boolean).join(" ");
|
|
209
|
+
return m`
|
|
204
210
|
<section class=${a}>
|
|
205
211
|
<slot></slot>
|
|
206
212
|
</section>
|
|
207
213
|
`;
|
|
208
214
|
}
|
|
209
215
|
};
|
|
210
|
-
c.styles = [e.styles,
|
|
216
|
+
c.styles = [e.styles, E`
|
|
211
217
|
:host {
|
|
212
218
|
display: block;
|
|
213
219
|
}
|
|
214
|
-
`], g([t({ type: Boolean, reflect: !0 })], c.prototype, "inline", 2), g([t({ type: String, reflect: !0 })], c.prototype, "flow", 2), g([t({ type: String, reflect: !0 })], c.prototype, "wrap", 2), g([t({ type: String, reflect: !0 })], c.prototype, "align", 2), g([t({ type: String, reflect: !0 })], c.prototype, "justify", 2), g([t({ type: String, reflect: !0 })], c.prototype, "content", 2), g([t({ type: String, reflect: !0 })], c.prototype, "gap", 2), c = g([
|
|
220
|
+
`], g([t({ type: Boolean, reflect: !0 })], c.prototype, "inline", 2), g([t({ type: String, reflect: !0 })], c.prototype, "flow", 2), g([t({ type: String, reflect: !0 })], c.prototype, "wrap", 2), g([t({ type: String, reflect: !0 })], c.prototype, "align", 2), g([t({ type: String, reflect: !0 })], c.prototype, "justify", 2), g([t({ type: String, reflect: !0 })], c.prototype, "content", 2), g([t({ type: String, reflect: !0 })], c.prototype, "gap", 2), c = g([v("sch-flex")], c);
|
|
215
221
|
export {
|
|
216
222
|
d as S,
|
|
217
|
-
|
|
218
|
-
|
|
223
|
+
h as a,
|
|
224
|
+
b,
|
|
219
225
|
c
|
|
220
226
|
};
|
|
221
|
-
//# sourceMappingURL=flex-
|
|
227
|
+
//# sourceMappingURL=flex-BNn_BfoY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flex-BNn_BfoY.js","sources":["../src/layout/layout.ts","../src/layout/flex/flex.ts","../src/layout/grid/grid.ts","../src/layout/scroll/scroll.ts","../src/layout/v2/flex.ts"],"sourcesContent":["import { TailwindElement } from '@mixins/index'\nimport { property } from 'lit/decorators.js'\n\nexport default class Layout extends TailwindElement() {\n\tstatic styles = [this.styles]\n\tlayout = true\n\t@property({ type: Boolean }) center: boolean | undefined = undefined\n\t@property({ type: String }) padding: string | undefined\n\t@property({ type: String }) margin: string | undefined\n\t@property({ type: String }) width: string | undefined\n\t@property({ type: String }) height: string | undefined\n\t@property({ type: String }) minWidth: string | undefined\n\t@property({ type: String }) minHeight: string | undefined\n\t@property({ type: String }) maxWidth: string | undefined\n\t@property({ type: String }) maxHeight: string | undefined\n\t@property({ type: String }) display:\n\t\t| 'block'\n\t\t| 'inline-block'\n\t\t| 'inline'\n\t\t| 'flex'\n\t\t| 'inline-flex'\n\t\t| 'grid'\n\t\t| 'inline-grid'\n\t\t| 'table'\n\t\t| 'inline-table'\n\t\t| 'flow-root'\n\t\t| 'none'\n\t\t| undefined = undefined\n\t@property({ type: String }) overflow: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined = undefined\n\t@property({ type: String }) overflowX: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined = undefined\n\t@property({ type: String }) overflowY: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined = undefined\n\t@property({ type: String }) position: 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky' | undefined = undefined\n\t@property({ type: String }) top: string | undefined\n\t@property({ type: String }) right: string | undefined\n\t@property({ type: String }) bottom: string | undefined\n\t@property({ type: String }) left: string | undefined\n\t@property({ type: String }) inset: string | undefined\n\t@property({ type: String }) zIndex: string | undefined\n\n\t@property({ type: String }) border: string | undefined\n\t@property({ type: String }) borderTop: string | undefined\n\t@property({ type: String }) borderRight: string | undefined\n\t@property({ type: String }) borderBottom: string | undefined\n\t@property({ type: String }) borderLeft: string | undefined\n\t@property({ type: String }) borderColor: string | undefined\n\t@property({ type: String }) borderRadius: string | undefined\n\t@property({ type: String }) borderWidth: string | undefined\n\n\t@property({ type: String }) boxShadow: string | undefined\n\t@property({ type: String }) opacity: string | undefined\n\t@property({ type: String }) background: string | undefined\n\t@property({ type: String }) backgroundImage: string | undefined\n\t@property({ type: String }) backgroundPosition: string | undefined\n\t@property({ type: String }) backgroundSize: string | undefined\n\t@property({ type: String }) backgroundRepeat: string | undefined\n\t@property({ type: String }) backgroundAttachment: string | undefined\n\t@property({ type: String }) backgroundColor: string | undefined\n\t@property({ type: String }) backgroundClip: string | undefined\n\t@property({ type: String }) backgroundOrigin: string | undefined\n\t@property({ type: String }) backgroundBlendMode: string | undefined\n\t@property({ type: String }) filter: string | undefined\n\t@property({ type: String }) backdropFilter: string | undefined\n\n\tconnectedCallback(): void {\n\t\tsuper.connectedCallback()\n\t\tthis.style.setProperty('padding', this.padding ?? '')\n\t\tthis.style.setProperty('margin', this.margin ?? '')\n\t\tthis.style.setProperty('width', this.width ?? '')\n\t\tthis.style.setProperty('height', this.height ?? '')\n\t\tthis.style.setProperty('min-width', this.minWidth ?? '')\n\t\tthis.style.setProperty('min-height', this.minHeight ?? '')\n\t\tthis.style.setProperty('max-width', this.maxWidth ?? '')\n\t\tthis.style.setProperty('max-height', this.maxHeight ?? '')\n\t\tthis.style.setProperty('display', this.display ?? '')\n\t\tthis.style.setProperty('overflow', this.overflow ?? '')\n\t\tthis.style.setProperty('overflow-x', this.overflowX ?? '')\n\t\tthis.style.setProperty('overflow-y', this.overflowY ?? '')\n\t\tthis.style.setProperty('position', this.position ?? '')\n\t\tthis.style.setProperty('top', this.top ?? '')\n\t\tthis.style.setProperty('right', this.right ?? '')\n\t\tthis.style.setProperty('bottom', this.bottom ?? '')\n\t\tthis.style.setProperty('left', this.left ?? '')\n\t\tthis.style.setProperty('inset', this.inset ?? '')\n\t\tthis.style.setProperty('z-index', this.zIndex ?? '')\n\t\tthis.style.setProperty('border', this.border ?? '')\n\t\tthis.style.setProperty('border-top', this.borderTop ?? '')\n\t\tthis.style.setProperty('border-right', this.borderRight ?? '')\n\t\tthis.style.setProperty('border-bottom', this.borderBottom ?? '')\n\t\tthis.style.setProperty('border-left', this.borderLeft ?? '')\n\t\tthis.style.setProperty('border-color', this.borderColor ?? '')\n\t\tthis.style.setProperty('border-radius', this.borderRadius ?? '')\n\t\tthis.style.setProperty('border-width', this.borderWidth ?? '')\n\t\tthis.style.setProperty('box-shadow', this.boxShadow ?? '')\n\t\tthis.style.setProperty('opacity', this.opacity ?? '')\n\t\tthis.style.setProperty('background', this.background ?? '')\n\t\tthis.style.setProperty('background-image', this.backgroundImage ?? '')\n\t\tthis.style.setProperty('background-position', this.backgroundPosition ?? '')\n\t\tthis.style.setProperty('background-size', this.backgroundSize ?? '')\n\t\tthis.style.setProperty('background-repeat', this.backgroundRepeat ?? '')\n\t\tthis.style.setProperty('background-attachment', this.backgroundAttachment ?? '')\n\t\tthis.style.setProperty('background-color', this.backgroundColor ?? '')\n\t\tthis.style.setProperty('background-clip', this.backgroundClip ?? '')\n\t\tthis.style.setProperty('background-origin', this.backgroundOrigin ?? '')\n\t\tthis.style.setProperty('background-blend-mode', this.backgroundBlendMode ?? '')\n\t\tthis.style.setProperty('filter', this.filter ?? '')\n\t\tthis.style.setProperty('backdrop-filter', this.backdropFilter ?? '')\n\t\tif (this.center) {\n\t\t\tthis.style.setProperty('margin-left', 'auto')\n\t\t\tthis.style.setProperty('margin-right', 'auto')\n\t\t}\n\t}\n}\n","import { html, unsafeCSS } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\nimport { classMap } from 'lit/directives/class-map.js'\nimport { styleMap } from 'lit/directives/style-map.js'\nimport Layout from '../layout'\nimport style from './flex.scss?inline'\n@customElement('schmancy-flex')\nexport class SchmancyFlex extends Layout {\n\tstatic styles = [Layout.styles, unsafeCSS(style)]\n\tlayout = true\n\t@property({ type: String, reflect: true }) flow: 'row' | 'row-reverse' | 'col' | 'col-reverse' = 'col'\n\t@property({ type: String, reflect: true }) wrap: 'wrap' | 'nowrap' | 'wrap-reverse' = 'wrap'\n\t@property({ type: String, reflect: true }) align: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'start'\n\t@property({ type: String, reflect: true }) justify: 'start' | 'center' | 'end' | 'stretch' | 'between' = 'start'\n\t@property({ type: String, reflect: true }) gap: 'none' | 'sm' | 'md' | 'lg' = 'none'\n\n\trender() {\n\t\tconst classes = {\n\t\t\tflex: true,\n\t\t\t// Direction\n\t\t\t'flex-col': this.flow === 'row',\n\t\t\t'flex-col-reverse': this.flow === 'row-reverse',\n\t\t\t'flex-row': this.flow === 'col',\n\t\t\t'flex-row-reverse': this.flow === 'col-reverse',\n\t\t\t// Wrap\n\t\t\t'flex-wrap': this.wrap === 'wrap',\n\t\t\t'flex-wrap-reverse': this.wrap === 'wrap-reverse',\n\t\t\t'flex-nowrap': this.wrap === 'nowrap',\n\t\t\t// Align\n\t\t\t'items-start': this.align === 'start',\n\t\t\t'items-center': this.align === 'center',\n\t\t\t'items-end': this.align === 'end',\n\t\t\t'items-stretch': this.align === 'stretch',\n\t\t\t'justify-baseline': this.align === 'baseline',\n\n\t\t\t// Justify\n\t\t\t'justify-center': this.justify === 'center',\n\t\t\t'justify-end': this.justify === 'end',\n\t\t\t'justify-start': this.justify === 'start',\n\t\t\t'justify-stretch': this.justify === 'stretch',\n\t\t\t'justify-between': this.justify === 'between',\n\n\t\t\t// Gap\n\t\t\t'gap-0': this.gap === 'none',\n\t\t\t'gap-2': this.gap === 'sm',\n\t\t\t'gap-4': this.gap === 'md',\n\t\t\t'gap-8': this.gap === 'lg',\n\t\t}\n\n\t\tconst styles = {}\n\t\treturn html`\n\t\t\t<section class=${classMap(classes)} style=${styleMap(styles)}>\n\t\t\t\t<slot></slot>\n\t\t\t</section>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-flex': SchmancyFlex\n\t}\n}\n","import { html, unsafeCSS } from 'lit'\nimport { customElement, property, queryAssignedElements } from 'lit/decorators.js'\nimport { debounceTime, distinctUntilChanged, fromEvent, map, startWith, takeUntil } from 'rxjs'\nimport Layout from '../layout'\nimport style from './grid.scss?inline'\n\n@customElement('schmancy-grid')\nexport class SchmancyGrid extends Layout {\n\tstatic styles = [Layout.styles, unsafeCSS(style)]\n\tlayout = true\n\t@property({ type: String }) flow: 'row' | 'col' | 'dense' | 'row-dense' | 'col-dense' = 'row'\n\t@property({ type: String }) align: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'stretch'\n\t@property({ type: String }) justify: 'start' | 'center' | 'end' | 'stretch' = 'stretch'\n\t@property({ type: String }) content: 'start' | 'center' | 'end' | 'stretch' | 'around' | 'evenly' | 'between' =\n\t\t'stretch'\n\t@property({ type: String }) gap: 'none' | 'xs' | 'sm' | 'md' | 'lg' = 'none'\n\n\t@property({ type: String }) cols?: string\n\t@property({ type: String }) rows?: string\n\t@property({ type: Object }) rcols?: {\n\t\txs?: string | number\n\t\tsm?: string | number\n\t\tmd?: string | number\n\t\tlg?: string | number\n\t\txl?: string | number\n\t\t'2xl'?: string | number\n\t}\n\n\t@property({ type: Boolean }) wrap = false\n\n\t@queryAssignedElements() assignedElements!: HTMLElement[]\n\n\tfirstUpdated() {\n\t\tif (this.rcols)\n\t\t\tfromEvent<CustomEvent>(window, 'resize')\n\t\t\t\t.pipe(\n\t\t\t\t\tmap(event => event.target as Window),\n\t\t\t\t\tstartWith(1),\n\t\t\t\t\tmap(() => (this.clientWidth ? this.clientWidth : window.innerWidth)),\n\t\t\t\t\tdistinctUntilChanged(),\n\t\t\t\t\ttakeUntil(this.disconnecting),\n\t\t\t\t\tdebounceTime(10),\n\t\t\t\t\tmap(w => {\n\t\t\t\t\t\tlet cols\n\t\t\t\t\t\tif (this.rcols?.['2xl'] && w >= 1536) cols = this.rcols?.['2xl']\n\t\t\t\t\t\telse if (this.rcols?.xl && w >= 1280) cols = this.rcols?.xl\n\t\t\t\t\t\telse if (this.rcols?.lg && w >= 1024) cols = this.rcols?.lg\n\t\t\t\t\t\telse if (this.rcols?.md && w >= 768) cols = this.rcols?.md\n\t\t\t\t\t\telse if (this.rcols?.sm && w >= 640) cols = this.rcols?.sm\n\t\t\t\t\t\telse if (this.rcols?.xs && w < 640) cols = this.rcols?.xs\n\t\t\t\t\t\treturn cols\n\t\t\t\t\t}),\n\t\t\t\t)\n\t\t\t\t.subscribe(cols => {\n\t\t\t\t\tthis.cols = cols\n\t\t\t\t})\n\t}\n\n\trender() {\n\t\tconst classes = {\n\t\t\t'h-full': true,\n\t\t\t'grid flex-1': true,\n\t\t\t// flow classes: https://tailwindcss.com/docs/grid-auto-flow\n\t\t\t'grid-flow-row auto-rows-max': this.flow === 'row',\n\t\t\t'grid-flow-col auto-cols-max': this.flow === 'col',\n\t\t\t'grid-flow-row-dense': this.flow === 'row-dense',\n\t\t\t'grid-flow-col-dense': this.flow === 'col-dense',\n\t\t\t'grid-flow-dense': this.flow === 'dense',\n\n\t\t\t'justify-center': this.content === 'center',\n\t\t\t'justify-end': this.content === 'end',\n\t\t\t'justify-start': this.content === 'start',\n\t\t\t'justify-stretch': this.content === 'stretch',\n\t\t\t'justify-between': this.content === 'between',\n\t\t\t'justify-around': this.content === 'around',\n\t\t\t'justify-evenly': this.content === 'evenly',\n\n\t\t\t'justify-items-center': this.justify === 'center',\n\t\t\t'justify-items-end': this.justify === 'end',\n\t\t\t'justify-items-start': this.justify === 'start',\n\t\t\t'justify-items-stretch': this.justify === 'stretch',\n\t\t\t'items-center': this.align === 'center',\n\t\t\t'items-end': this.align === 'end',\n\t\t\t'items-start': this.align === 'start',\n\t\t\t'items-stretch': this.align === 'stretch',\n\t\t\t'items-baseline': this.align === 'baseline',\n\t\t\t'gap-0': this.gap === 'none',\n\t\t\t'gap-1': this.gap === 'xs',\n\t\t\t'gap-2': this.gap === 'sm',\n\t\t\t'gap-4': this.gap === 'md',\n\t\t\t'gap-8': this.gap === 'lg',\n\t\t\t'flex-nowrap': this.wrap,\n\t\t\t'flex-wrap': !this.wrap,\n\t\t}\n\t\tconst style = {\n\t\t\tgridTemplateRows: this.rows ? this.rows : undefined,\n\t\t\tgridTemplateColumns: this.cols ? this.cols : undefined,\n\t\t}\n\t\treturn html`\n\t\t\t<section class=\"${this.classMap(classes)}\" style=${this.styleMap(style)}>\n\t\t\t\t<slot> </slot>\n\t\t\t</section>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-grid': SchmancyGrid\n\t}\n}\n","import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, property, query } from 'lit/decorators.js'\nimport { debounceTime, fromEvent, takeUntil } from 'rxjs'\n\n/**\n * Custom scroll event interface for the SchmancyScroll component.\n * Contains detailed information about the scroll state.\n */\nexport interface SchmancyScrollEvent\n\textends CustomEvent<{\n\t\t/** Current scroll position from the top */\n\t\tscrollTop: number\n\t\t/** Total scrollable height of the content */\n\t\tscrollHeight: number\n\t\t/** Visible height of the container */\n\t\tclientHeight: number\n\t\t/** Original scroll event */\n\t\te: Event\n\t}> {}\n\n// Augment the HTMLElementEventMap to include our custom event\ndeclare global {\n\tinterface HTMLElementEventMap {\n\t\tscroll: SchmancyScrollEvent\n\t}\n}\n\n/**\n * A custom scrollable container with enhanced features.\n *\n * @fires {SchmancyScrollEvent} scroll - Fired when scrolling occurs (with a configurable debounce)\n * @slot - Default slot for content to be scrolled\n * @csspart scroller - The inner scrollable div element\n *\n * @example\n * ```html\n * <schmancy-scroll hide>\n * <div>Scrollable content goes here</div>\n * </schmancy-scroll>\n * ```\n */\n@customElement('schmancy-scroll')\nexport class SchmancyScroll extends TailwindElement(css`\n\t:host {\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\toverflow: hidden;\n\t\tbox-sizing: border-box; /* Ensures proper sizing */\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\tinset: 0px;\n\t}\n\t.scrollbar-hide {\n\t\t-ms-overflow-style: none; /* IE and Edge */\n\t\tscrollbar-width: none; /* Firefox */\n\t}\n\t.scrollbar-hide::-webkit-scrollbar {\n\t\tdisplay: none; /* Chrome, Safari, and Opera */\n\t}\n`) {\n\t/**\n\t * Determines whether the scrollbar is hidden.\n\t *\n\t * When `hide` is true, the inner scrollable div receives the `scrollbar-hide` class,\n\t * which hides scrollbars in supported browsers.\n\t *\n\t * @attr hide\n\t * @example <schmancy-scroll hide></schmancy-scroll>\n\t */\n\t@property({ type: Boolean, reflect: true })\n\tpublic hide = false\n\n\t/**\n\t * Reference to the inner scrollable div element\n\t * @private\n\t */\n\t@query('#scroller')\n\tprivate scroller!: HTMLElement\n\n\t/**\n\t * Debounce time in milliseconds for the scroll event.\n\t * Higher values reduce the frequency of scroll events being dispatched.\n\t *\n\t * @attr debounce\n\t * @example <schmancy-scroll debounce=\"50\"></schmancy-scroll>\n\t */\n\t@property({ type: Number })\n\tpublic debounce = 10\n\n\t/**\n\t * Called after the component's first update\n\t * Sets up the scroll event listener with debouncing\n\t * @protected\n\t */\n\tprotected firstUpdated(): void {\n\t\t// Set up scroll event listening with debounce\n\t\tfromEvent(this.scroller, 'scroll', {\n\t\t\tpassive: true,\n\t\t})\n\t\t\t.pipe(\n\t\t\t\tdebounceTime(this.debounce),\n\t\t\t\ttakeUntil(this.disconnecting), // Unsubscribe when the element is destroyed\n\t\t\t)\n\t\t\t.subscribe(e => {\n\t\t\t\tconst scrollTop = this.scroller.scrollTop\n\t\t\t\tconst scrollHeight = this.scroller.scrollHeight\n\t\t\t\tconst clientHeight = this.scroller.clientHeight\n\t\t\t\tthis.dispatchEvent(\n\t\t\t\t\tnew CustomEvent('scroll', {\n\t\t\t\t\t\tdetail: { scrollTop, scrollHeight, clientHeight, e },\n\t\t\t\t\t\tbubbles: true,\n\t\t\t\t\t\tcomposed: true,\n\t\t\t\t\t}) as SchmancyScrollEvent,\n\t\t\t\t)\n\t\t\t})\n\t}\n\n\t/**\n\t * Renders the component template\n\t * @returns {TemplateResult} The template to render\n\t * @protected\n\t */\n\tprotected render() {\n\t\t// The classes are dynamically assigned based on the `hide` property.\n\t\tconst classes = {\n\t\t\t'h-full w-full inset-0 overflow-x-auto overflow-y-auto scroll-smooth overscroll-contain': true,\n\t\t\t'scrollbar-hide': this.hide,\n\t\t}\n\n\t\treturn html`\n\t\t\t<div class=\"relative inset-0 h-full w-full overscroll-none\">\n\t\t\t\t<div id=\"scroller\" part=\"scroller\" class=${this.classMap(classes)}>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-scroll': SchmancyScroll\n\t}\n}\n","import { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\nimport Layout from '../layout'\n\n/**\n * SchmancyFlex exposes a flex container with all the Tailwind CSS 4 options:\n *\n * - **Display**: By default uses `flex` but can be set to inline using the `inline` property.\n * - **Flow**: Accepts 'row', 'row-reverse', 'col', 'col-reverse' as well as grid‐like dense variants:\n * - Dense variants (`row-dense`, `col-dense`) force wrapping.\n * - **Wrap**: 'wrap', 'nowrap', or 'wrap-reverse'\n * - **Align Items**: 'start', 'center', 'end', 'stretch', or 'baseline'\n * - **Justify Content**: 'start', 'center', 'end', 'between', 'around', or 'evenly'\n * - **Align Content** (for multi-line flex containers): 'start', 'center', 'end', 'between', 'around', or 'evenly'\n * - **Gap**: Supports Tailwind’s spacing scale (e.g. 'none', '0', '1', '2', …, '64')\n */\n@customElement('sch-flex')\nexport class SchmancyFlexV2 extends Layout {\n\tstatic styles = [\n\t\tLayout.styles,\n\t\tcss`\n\t\t\t:host {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t`,\n\t]\n\t// If true, the container will use inline-flex instead of flex.\n\t@property({ type: Boolean, reflect: true })\n\tinline = false\n\n\t/**\n\t * Flow property that determines the flex direction.\n\t * Allowed values:\n\t * - Standard: 'row', 'row-reverse', 'col', 'col-reverse'\n\t * - Dense variants: 'row-dense', 'col-dense' (dense implies wrapping)\n\t */\n\t@property({ type: String, reflect: true })\n\tflow: 'row' | 'row-reverse' | 'col' | 'col-reverse' | 'row-dense' | 'col-dense' = 'row'\n\n\t/**\n\t * Flex-wrap options:\n\t * - 'wrap', 'nowrap', or 'wrap-reverse'\n\t */\n\t@property({ type: String, reflect: true })\n\twrap: 'wrap' | 'nowrap' | 'wrap-reverse' = 'wrap'\n\n\t/**\n\t * Align-items (vertical alignment of flex items):\n\t * - 'start', 'center', 'end', 'stretch', or 'baseline'\n\t */\n\t@property({ type: String, reflect: true })\n\talign: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'stretch'\n\n\t/**\n\t * Justify-content (horizontal distribution):\n\t * - 'start', 'center', 'end', 'between', 'around', or 'evenly'\n\t */\n\t@property({ type: String, reflect: true })\n\tjustify: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly' = 'start'\n\n\t/**\n\t * Align-content (spacing between rows when wrapping):\n\t * - 'start', 'center', 'end', 'between', 'around', or 'evenly'\n\t */\n\t@property({ type: String, reflect: true })\n\tcontent?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly'\n\n\t/**\n\t * Gap between flex items.\n\t * Options (based on Tailwind CSS 4 spacing scale):\n\t * - 'none', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '12', '16', '20', '24', '32', '40', '48', '56', or '64'\n\t */\n\t@property({ type: String, reflect: true })\n\tgap:\n\t\t| 'none'\n\t\t| '0'\n\t\t| '1'\n\t\t| '2'\n\t\t| '3'\n\t\t| '4'\n\t\t| '5'\n\t\t| '6'\n\t\t| '7'\n\t\t| '8'\n\t\t| '9'\n\t\t| '10'\n\t\t| '12'\n\t\t| '16'\n\t\t| '20'\n\t\t| '24'\n\t\t| '32'\n\t\t| '40'\n\t\t| '48'\n\t\t| '56'\n\t\t| '64' = 'none'\n\n\trender() {\n\t\t// Determine whether to use inline-flex or flex.\n\t\tconst baseDisplay = this.inline ? 'inline-flex' : 'flex'\n\n\t\t// Map the flow property to a flex-direction class.\n\t\t// (Dense variants use the same class as their standard counterparts.)\n\t\tlet directionClass = ''\n\t\tswitch (this.flow) {\n\t\t\tcase 'row':\n\t\t\tcase 'row-dense':\n\t\t\t\tdirectionClass = 'flex-row'\n\t\t\t\tbreak\n\t\t\tcase 'row-reverse':\n\t\t\t\tdirectionClass = 'flex-row-reverse'\n\t\t\t\tbreak\n\t\t\tcase 'col':\n\t\t\tcase 'col-dense':\n\t\t\t\tdirectionClass = 'flex-col'\n\t\t\t\tbreak\n\t\t\tcase 'col-reverse':\n\t\t\t\tdirectionClass = 'flex-col-reverse'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tdirectionClass = 'flex-row'\n\t\t}\n\n\t\t// Dense variants force wrapping regardless of the wrap property.\n\t\tconst isDense = this.flow === 'row-dense' || this.flow === 'col-dense'\n\t\tconst effectiveWrap = isDense ? 'wrap' : this.wrap\n\n\t\tlet wrapClass = ''\n\t\tswitch (effectiveWrap) {\n\t\t\tcase 'wrap':\n\t\t\t\twrapClass = 'flex-wrap'\n\t\t\t\tbreak\n\t\t\tcase 'nowrap':\n\t\t\t\twrapClass = 'flex-nowrap'\n\t\t\t\tbreak\n\t\t\tcase 'wrap-reverse':\n\t\t\t\twrapClass = 'flex-wrap-reverse'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\twrapClass = 'flex-wrap'\n\t\t}\n\n\t\t// Map align-items.\n\t\tlet alignClass = ''\n\t\tswitch (this.align) {\n\t\t\tcase 'start':\n\t\t\t\talignClass = 'items-start'\n\t\t\t\tbreak\n\t\t\tcase 'center':\n\t\t\t\talignClass = 'items-center'\n\t\t\t\tbreak\n\t\t\tcase 'end':\n\t\t\t\talignClass = 'items-end'\n\t\t\t\tbreak\n\t\t\tcase 'stretch':\n\t\t\t\talignClass = 'items-stretch'\n\t\t\t\tbreak\n\t\t\tcase 'baseline':\n\t\t\t\talignClass = 'items-baseline'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\talignClass = 'items-stretch'\n\t\t}\n\n\t\t// Map justify-content.\n\t\tlet justifyClass = ''\n\t\tswitch (this.justify) {\n\t\t\tcase 'start':\n\t\t\t\tjustifyClass = 'justify-start'\n\t\t\t\tbreak\n\t\t\tcase 'center':\n\t\t\t\tjustifyClass = 'justify-center'\n\t\t\t\tbreak\n\t\t\tcase 'end':\n\t\t\t\tjustifyClass = 'justify-end'\n\t\t\t\tbreak\n\t\t\tcase 'between':\n\t\t\t\tjustifyClass = 'justify-between'\n\t\t\t\tbreak\n\t\t\tcase 'around':\n\t\t\t\tjustifyClass = 'justify-around'\n\t\t\t\tbreak\n\t\t\tcase 'evenly':\n\t\t\t\tjustifyClass = 'justify-evenly'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tjustifyClass = 'justify-start'\n\t\t}\n\n\t\t// Map align-content (if provided).\n\t\tlet contentClass = ''\n\t\tif (this.content) {\n\t\t\tswitch (this.content) {\n\t\t\t\tcase 'start':\n\t\t\t\t\tcontentClass = 'content-start'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'center':\n\t\t\t\t\tcontentClass = 'content-center'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'end':\n\t\t\t\t\tcontentClass = 'content-end'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'between':\n\t\t\t\t\tcontentClass = 'content-between'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'around':\n\t\t\t\t\tcontentClass = 'content-around'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'evenly':\n\t\t\t\t\tcontentClass = 'content-evenly'\n\t\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\n\t\t// Map gap value.\n\t\tconst gapClass = this.gap === 'none' ? 'gap-0' : `gap-${this.gap}`\n\n\t\t// Build the complete list of classes.\n\t\tconst classes = [baseDisplay, directionClass, wrapClass, alignClass, justifyClass, contentClass, gapClass]\n\t\t\t.filter(Boolean)\n\t\t\t.join(' ')\n\n\t\treturn html`\n\t\t\t<section class=${classes}>\n\t\t\t\t<slot></slot>\n\t\t\t</section>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'sch-flex': SchmancyFlexV2\n\t}\n}\n"],"names":["Layout","TailwindElement","super","arguments","this","layout","center","display","overflow","overflowX","overflowY","position","connectedCallback","style","setProperty","padding","margin","width","height","minWidth","minHeight","maxWidth","maxHeight","top","right","bottom","left","inset","zIndex","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","borderWidth","boxShadow","opacity","background","backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundColor","backgroundClip","backgroundOrigin","backgroundBlendMode","filter","backdropFilter","styles","_w","__decorateClass","property","type","Boolean","prototype","String","SchmancyFlex","constructor","flow","wrap","align","justify","gap","render","classes","flex","html","classMap","styleMap","unsafeCSS","reflect","customElement","SchmancyGrid","content","rcols","fromEvent","window","pipe","map","event","target","startWith","clientWidth","innerWidth","distinctUntilChanged","takeUntil","disconnecting","debounceTime","w","cols","xl","lg","md","sm","xs","subscribe","gridTemplateRows","rows","gridTemplateColumns","Object","queryAssignedElements","SchmancyScroll","css","hide","debounce","scroller","passive","e","scrollTop","scrollHeight","clientHeight","dispatchEvent","CustomEvent","detail","bubbles","composed","query","Number","SchmancyFlexV2","inline","baseDisplay","directionClass","wrapClass","alignClass","justifyClass","contentClass","join"],"mappings":";;;;;;;;;;AAGqB,MAAAA,IAAA,MAAAA,UAAeC,EAApC,EAAA;AAAA,EAAA,cAAAC;AAAAA,UAAAA,GAAAC,SAEUC,GAAAA,KAAAC,SAAA,IACkDD,KAAAE,SAAAA,QAqB5CF,KAAAG,UAAAA,QAC8EH,KAAAI,WAAA,QACCJ,KAAAK,YAAAA,QACAL,KAAAM,YAAA,QACcN,KAAAO,WAAAA;AAAAA,EAAA;AAAA,EAgC5G,oBACCT;AAAAA,UAAMU,kBACNR,GAAAA,KAAKS,MAAMC,YAAY,WAAWV,KAAKW,WAAW,EAClDX,GAAAA,KAAKS,MAAMC,YAAY,UAAUV,KAAKY,UAAU,EAAA,GAChDZ,KAAKS,MAAMC,YAAY,SAASV,KAAKa,SAAS,EAAA,GAC9Cb,KAAKS,MAAMC,YAAY,UAAUV,KAAKc,UAAU,EAAA,GAChDd,KAAKS,MAAMC,YAAY,aAAaV,KAAKe,YAAY,EAAA,GACrDf,KAAKS,MAAMC,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,EAAA,CADCC,EAAS,EAAEC,MAAMC,SAASiB,SAAAA,QAVfgD,EAWZhE,WAAA,UAAA,CASAJ,GAAAA,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQe,SAAAA,QAnBdgD,EAoBZhE,WAAA,QAAA,CAOAJ,GAAAA,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQe,SAAAA,QA1BdgD,EA2BZhE,WAAA,QAAA,CAOAJ,GAAAA,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQe,SAAAA,QAjCdgD,EAkCZhE,WAAA,SAAA,CAOAJ,GAAAA,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQe,SAAAA,QAxCdgD,EAyCZhE,WAAA,WAAA,CAOAJ,GAAAA,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQe,SAAAA,QA/CdgD,EAgDZhE,WAAA,WAAA,CAQAJ,GAAAA,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQe,SAAAA,QAvDdgD,EAwDZhE,WAAA,OAAA,CAxDYgE,GAAAA,IAANpE,EAAA,CADNqB,EAAc,cACF+C;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Subject as d, merge as p, fromEvent as h, tap as m, takeUntil as y } from "rxjs";
|
|
2
2
|
import "lit/directives/class-map.js";
|
|
3
3
|
import "lit/directives/style-map.js";
|
|
4
|
-
import { T as g } from "./tailwind.mixin-
|
|
4
|
+
import { T as g } from "./tailwind.mixin-DUDUV2I_.js";
|
|
5
5
|
import { html as b, LitElement as f, css as k } from "lit";
|
|
6
6
|
import { property as C, customElement as v } from "lit/decorators.js";
|
|
7
7
|
var E = Object.defineProperty, N = Object.getOwnPropertyDescriptor, l = (e, t, s, a) => {
|
|
@@ -158,4 +158,4 @@ r.tagName = "schmancy-form", r.shadowRootOptions = { ...f.shadowRootOptions, mod
|
|
|
158
158
|
display: block;
|
|
159
159
|
}
|
|
160
160
|
`, u([C({ type: Boolean, reflect: !0 })], r.prototype, "novalidate", 2), r = u([v("schmancy-form")], r);
|
|
161
|
-
//# sourceMappingURL=form-
|
|
161
|
+
//# sourceMappingURL=form-SRIMe_A_.js.map
|