@mhmo91/schmancy 0.2.30 → 0.2.31
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/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/{scroll-DnAxN1uS.cjs → scroll-CCExKwoj.cjs} +20 -11
- package/dist/scroll-CCExKwoj.cjs.map +1 -0
- package/dist/{scroll-Bl-fR7Vv.js → scroll-CYzhWpN5.js} +58 -45
- package/dist/scroll-CYzhWpN5.js.map +1 -0
- package/dist/teleport.cjs +1 -1
- package/dist/{teleport.component-BMTgJEZ0.cjs → teleport.component-BmlV_hrl.cjs} +2 -2
- package/dist/{teleport.component-BMTgJEZ0.cjs.map → teleport.component-BmlV_hrl.cjs.map} +1 -1
- package/dist/{teleport.component-B5i3T7cn.js → teleport.component-D4-R4i-G.js} +2 -2
- package/dist/{teleport.component-B5i3T7cn.js.map → teleport.component-D4-R4i-G.js.map} +1 -1
- package/dist/teleport.js +1 -1
- package/package.json +1 -1
- package/types/src/layout/scroll/scroll.d.ts +10 -0
- package/dist/scroll-Bl-fR7Vv.js.map +0 -1
- package/dist/scroll-DnAxN1uS.cjs.map +0 -1
package/dist/card.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";require("./teleport.component-
|
|
1
|
+
"use strict";require("./teleport.component-BmlV_hrl.cjs");
|
|
2
2
|
//# sourceMappingURL=card.cjs.map
|
package/dist/card.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./teleport.component-
|
|
1
|
+
import "./teleport.component-D4-R4i-G.js";
|
|
2
2
|
//# sourceMappingURL=card.js.map
|
package/dist/content-drawer.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./teleport.component-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./teleport.component-BmlV_hrl.cjs");Object.defineProperty(exports,"SchmancyContentDrawer",{enumerable:!0,get:()=>e.SchmancyContentDrawer}),exports.SchmancyContentDrawerID=e.SchmancyContentDrawerID,Object.defineProperty(exports,"SchmancyContentDrawerMain",{enumerable:!0,get:()=>e.SchmancyContentDrawerMain}),exports.SchmancyContentDrawerMaxHeight=e.SchmancyContentDrawerMaxHeight,exports.SchmancyContentDrawerMinWidth=e.SchmancyContentDrawerMinWidth,Object.defineProperty(exports,"SchmancyContentDrawerSheet",{enumerable:!0,get:()=>e.SchmancyContentDrawerSheet}),exports.SchmancyContentDrawerSheetMode=e.SchmancyContentDrawerSheetMode,exports.SchmancyContentDrawerSheetState=e.SchmancyContentDrawerSheetState,exports.schmancyContentDrawer=e.schmancyContentDrawer;
|
|
2
2
|
//# sourceMappingURL=content-drawer.cjs.map
|
package/dist/content-drawer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as n, b as t, f as r, c, d as h, g as S, S as o, a as s, s as m } from "./teleport.component-
|
|
1
|
+
import { e as n, b as t, f as r, c, d as h, g as S, S as o, a as s, s as m } from "./teleport.component-D4-R4i-G.js";
|
|
2
2
|
export {
|
|
3
3
|
n as SchmancyContentDrawer,
|
|
4
4
|
t as SchmancyContentDrawerID,
|
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),require("./animated-text-C5zM-91H.cjs");const r=require("./area.component-DCLLi1YA.cjs");require("./autocomplete-Dfq-Rhjy.cjs"),require("./spinner-8GhT-bLm.cjs");const o=require("./icon-button-DHiO0w8J.cjs"),e=require("./teleport.component-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),require("./animated-text-C5zM-91H.cjs");const r=require("./area.component-DCLLi1YA.cjs");require("./autocomplete-Dfq-Rhjy.cjs"),require("./spinner-8GhT-bLm.cjs");const o=require("./icon-button-DHiO0w8J.cjs"),e=require("./teleport.component-BmlV_hrl.cjs"),S=require("./checkbox-BdsGj_z6.cjs");require("./chips-Z8e_rQtM.cjs");const u=require("./payment-card-form-B7tV2ttW.cjs");require("./date-range-CDX0VlcK.cjs");const y=require("./delay-DsFVHHw2.cjs"),n=require("./ripple-C2BHbhcS.cjs");require("./divider-CjgOM462.cjs"),require("./form-DyYGOlOR.cjs"),require("./icon-DPN7kWO0.cjs"),require("./input-2kqgsr0S.cjs");const c=require("./scroll-CCExKwoj.cjs"),m=require("./list-Cq9RDYF_.cjs");require("./menu-ifiBMg-F.cjs");const a=require("./outlet-u1_Qa8Li.cjs");require("./option-DOBWmGE5.cjs");const b=require("./radio-group-m5Swl5cq.cjs"),l=require("./rxjs-utils.cjs");require("rxjs"),require("./index-DyJ0oDpR.cjs"),require("./select-ljp7-IxH.cjs");const t=require("./sheet-DPHbRnXg.cjs"),h=require("./slider-ds6hnN7n.cjs"),d=require("./surface-BzSJT7y7.cjs");require("./table-BDIhXdSA.cjs"),require("./tabs-group-CHAAr7Wl.cjs"),require("./textarea-CJhi4hDu.cjs");const i=require("./theme.component-Dhm3MpVW.cjs"),p=require("./theme.interface-Xg5Zi46a.cjs");require("./theme-button-DoIFEVSv.cjs");const g=require("./tree-BkhYPaz6.cjs"),f=require("./types.cjs"),q=require("./typewriter-DGIW1V_b.cjs"),D=require("./typography-DQHpwRFR.cjs");exports.FINDING_MORTIES=r.FINDING_MORTIES,exports.HERE_RICKY=r.HERE_RICKY,exports.HISTORY_STRATEGY=r.HISTORY_STRATEGY,Object.defineProperty(exports,"SchmancyArea",{enumerable:!0,get:()=>r.SchmancyArea}),exports.area=r.area,exports.routerHistory=r.routerHistory,Object.defineProperty(exports,"SchmnacyButton",{enumerable:!0,get:()=>o.SchmnacyButton}),Object.defineProperty(exports,"SchmnacyIconButton",{enumerable:!0,get:()=>o.SchmnacyIconButton}),exports.HereMorty=e.HereMorty,Object.defineProperty(exports,"SchmancyContentDrawer",{enumerable:!0,get:()=>e.SchmancyContentDrawer}),exports.SchmancyContentDrawerID=e.SchmancyContentDrawerID,Object.defineProperty(exports,"SchmancyContentDrawerMain",{enumerable:!0,get:()=>e.SchmancyContentDrawerMain}),exports.SchmancyContentDrawerMaxHeight=e.SchmancyContentDrawerMaxHeight,exports.SchmancyContentDrawerMinWidth=e.SchmancyContentDrawerMinWidth,Object.defineProperty(exports,"SchmancyContentDrawerSheet",{enumerable:!0,get:()=>e.SchmancyContentDrawerSheet}),exports.SchmancyContentDrawerSheetMode=e.SchmancyContentDrawerSheetMode,exports.SchmancyContentDrawerSheetState=e.SchmancyContentDrawerSheetState,Object.defineProperty(exports,"SchmancyDrawerAppbar",{enumerable:!0,get:()=>e.SchmancyDrawerAppbar}),exports.SchmancyDrawerNavbarMode=e.SchmancyDrawerNavbarMode,exports.SchmancyDrawerNavbarState=e.SchmancyDrawerNavbarState,Object.defineProperty(exports,"SchmancyNavigationDrawer",{enumerable:!0,get:()=>e.SchmancyNavigationDrawer}),Object.defineProperty(exports,"SchmancyNavigationDrawerContent",{enumerable:!0,get:()=>e.SchmancyNavigationDrawerContent}),Object.defineProperty(exports,"SchmancyNavigationDrawerSidebar",{enumerable:!0,get:()=>e.SchmancyNavigationDrawerSidebar}),Object.defineProperty(exports,"SchmancyTeleportation",{enumerable:!0,get:()=>e.SchmancyTeleportation}),exports.WhereAreYouRicky=e.WhereAreYouRicky,exports.schmancyContentDrawer=e.schmancyContentDrawer,exports.schmancyNavDrawer=e.schmancyNavDrawer,exports.teleport=e.teleport,Object.defineProperty(exports,"SchmancyCheckbox",{enumerable:!0,get:()=>S.SchmancyCheckbox}),Object.defineProperty(exports,"SchmancyPaymentCardForm",{enumerable:!0,get:()=>u.SchmancyPaymentCardForm}),Object.defineProperty(exports,"SchmancyDelay",{enumerable:!0,get:()=>y.SchmancyDelay}),exports.delayContext=y.delayContext,exports.color=n.color,exports.fullHeight=n.fullHeight,exports.ripple=n.ripple,Object.defineProperty(exports,"SchmancyFlex",{enumerable:!0,get:()=>c.SchmancyFlex}),Object.defineProperty(exports,"SchmancyGrid",{enumerable:!0,get:()=>c.SchmancyGrid}),Object.defineProperty(exports,"SchmancyScroll",{enumerable:!0,get:()=>c.SchmancyScroll}),Object.defineProperty(exports,"List",{enumerable:!0,get:()=>m.List}),Object.defineProperty(exports,"SchmancyListItem",{enumerable:!0,get:()=>m.SchmancyListItem}),exports.$notify=a.$notify,Object.defineProperty(exports,"SchmancyNotification",{enumerable:!0,get:()=>a.SchmancyNotification}),Object.defineProperty(exports,"SchmancyNotificationOutlet",{enumerable:!0,get:()=>a.SchmancyNotificationOutlet}),Object.defineProperty(exports,"RadioGroup",{enumerable:!0,get:()=>b.RadioGroup}),exports.mutationObserver=l.mutationObserver,exports.SchmancySheetPosition=t.SchmancySheetPosition,exports.SheetHereMorty=t.SheetHereMorty,exports.SheetWhereAreYouRicky=t.SheetWhereAreYouRicky,exports.sheet=t.sheet,Object.defineProperty(exports,"SchmancySlide",{enumerable:!0,get:()=>h.SchmancySlide}),Object.defineProperty(exports,"SchmancySlider",{enumerable:!0,get:()=>h.SchmancySlider}),Object.defineProperty(exports,"SchmancySurface",{enumerable:!0,get:()=>d.SchmancySurface}),Object.defineProperty(exports,"SchmancyThemeComponent",{enumerable:!0,get:()=>i.SchmancyThemeComponent}),exports.formateTheme=i.formateTheme,exports.tailwindStyles=i.tailwindStyles,exports.SchmancyTheme=p.SchmancyTheme,Object.defineProperty(exports,"SchmancyTree",{enumerable:!0,get:()=>g.SchmancyTree}),exports.SchmancyEvents=f.SchmancyEvents,Object.defineProperty(exports,"TypewriterElement",{enumerable:!0,get:()=>q.TypewriterElement}),Object.defineProperty(exports,"SchmancyTypography",{enumerable:!0,get:()=>D.SchmancyTypography});
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { F as d, H as T, b, S as u, a as N, r as H } from "./area.component-BrPf
|
|
|
3
3
|
import "./autocomplete-CcDfKbfJ.js";
|
|
4
4
|
import "./spinner-zxOxMm7j.js";
|
|
5
5
|
import { S as v, a as I } from "./icon-button-CbEs8eyS.js";
|
|
6
|
-
import { H as g, e as E, b as A, f as Y, c as k, d as F, g as G, S as O, a as W, i as L, k as _, l as B, m as P, j as $, n as j, o as K, W as q, s as z, h as J, t as Q } from "./teleport.component-
|
|
6
|
+
import { H as g, e as E, b as A, f as Y, c as k, d as F, g as G, S as O, a as W, i as L, k as _, l as B, m as P, j as $, n as j, o as K, W as q, s as z, h as J, t as Q } from "./teleport.component-D4-R4i-G.js";
|
|
7
7
|
import { S as V } from "./checkbox-DV8tPYX0.js";
|
|
8
8
|
import "./chips-Ca-SY6mg.js";
|
|
9
9
|
import { S as Z } from "./payment-card-form-CTZsSGOB.js";
|
|
@@ -14,7 +14,7 @@ import "./divider-B7kWs-q5.js";
|
|
|
14
14
|
import "./form-BUV1hUzI.js";
|
|
15
15
|
import "./icon-CWvUTBIP.js";
|
|
16
16
|
import "./input-D3hti5wB.js";
|
|
17
|
-
import { S as sa, a as Sa, b as ha } from "./scroll-
|
|
17
|
+
import { S as sa, a as Sa, b as ha } from "./scroll-CYzhWpN5.js";
|
|
18
18
|
import { L as ya, S as pa } from "./list-D3m-rd6d.js";
|
|
19
19
|
import "./menu-CCQYHiy2.js";
|
|
20
20
|
import { $ as xa, S as Da, a as la } from "./outlet-BsrhXTEg.js";
|
package/dist/layout.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./scroll-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./scroll-CCExKwoj.cjs");Object.defineProperty(exports,"SchmancyFlex",{enumerable:!0,get:()=>e.SchmancyFlex}),Object.defineProperty(exports,"SchmancyGrid",{enumerable:!0,get:()=>e.SchmancyGrid}),Object.defineProperty(exports,"SchmancyScroll",{enumerable:!0,get:()=>e.SchmancyScroll});
|
|
2
2
|
//# sourceMappingURL=layout.cjs.map
|
package/dist/layout.js
CHANGED
package/dist/nav-drawer.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./teleport.component-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./teleport.component-BmlV_hrl.cjs");Object.defineProperty(exports,"SchmancyDrawerAppbar",{enumerable:!0,get:()=>e.SchmancyDrawerAppbar}),exports.SchmancyDrawerNavbarMode=e.SchmancyDrawerNavbarMode,exports.SchmancyDrawerNavbarState=e.SchmancyDrawerNavbarState,Object.defineProperty(exports,"SchmancyNavigationDrawer",{enumerable:!0,get:()=>e.SchmancyNavigationDrawer}),Object.defineProperty(exports,"SchmancyNavigationDrawerContent",{enumerable:!0,get:()=>e.SchmancyNavigationDrawerContent}),Object.defineProperty(exports,"SchmancyNavigationDrawerSidebar",{enumerable:!0,get:()=>e.SchmancyNavigationDrawerSidebar}),exports.schmancyNavDrawer=e.schmancyNavDrawer;
|
|
2
2
|
//# sourceMappingURL=nav-drawer.cjs.map
|
package/dist/nav-drawer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as c, k as n, l as e, m, j as h, n as i, h as s } from "./teleport.component-
|
|
1
|
+
import { i as c, k as n, l as e, m, j as h, n as i, h as s } from "./teleport.component-D4-R4i-G.js";
|
|
2
2
|
export {
|
|
3
3
|
c as SchmancyDrawerAppbar,
|
|
4
4
|
n as SchmancyDrawerNavbarMode,
|
|
@@ -1,24 +1,33 @@
|
|
|
1
|
-
"use strict";const d=require("lit"),t=require("lit/decorators.js"),
|
|
2
|
-
<section class=${
|
|
1
|
+
"use strict";const d=require("lit"),t=require("lit/decorators.js"),k=require("lit/directives/class-map.js"),j=require("lit/directives/style-map.js"),a=require("rxjs"),P=require("./tailwind.mixin-_mD_GeAp.cjs");var G=Object.defineProperty,r=(s,i,n,p)=>{for(var l,o=void 0,y=s.length-1;y>=0;y--)(l=s[y])&&(o=l(i,n,o)||o);return o&&G(i,n,o),o};const g=class g 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"))}};g.styles=[g.styles];let e=g;r([t.property({type:Boolean})],e.prototype,"center"),r([t.property({type:String})],e.prototype,"padding"),r([t.property({type:String})],e.prototype,"margin"),r([t.property({type:String})],e.prototype,"width"),r([t.property({type:String})],e.prototype,"height"),r([t.property({type:String})],e.prototype,"minWidth"),r([t.property({type:String})],e.prototype,"minHeight"),r([t.property({type:String})],e.prototype,"maxWidth"),r([t.property({type:String})],e.prototype,"maxHeight"),r([t.property({type:String})],e.prototype,"display"),r([t.property({type:String})],e.prototype,"overflow"),r([t.property({type:String})],e.prototype,"overflowX"),r([t.property({type:String})],e.prototype,"overflowY"),r([t.property({type:String})],e.prototype,"position"),r([t.property({type:String})],e.prototype,"top"),r([t.property({type:String})],e.prototype,"right"),r([t.property({type:String})],e.prototype,"bottom"),r([t.property({type:String})],e.prototype,"left"),r([t.property({type:String})],e.prototype,"inset"),r([t.property({type:String})],e.prototype,"zIndex"),r([t.property({type:String})],e.prototype,"border"),r([t.property({type:String})],e.prototype,"borderTop"),r([t.property({type:String})],e.prototype,"borderRight"),r([t.property({type:String})],e.prototype,"borderBottom"),r([t.property({type:String})],e.prototype,"borderLeft"),r([t.property({type:String})],e.prototype,"borderColor"),r([t.property({type:String})],e.prototype,"borderRadius"),r([t.property({type:String})],e.prototype,"borderWidth"),r([t.property({type:String})],e.prototype,"boxShadow"),r([t.property({type:String})],e.prototype,"opacity"),r([t.property({type:String})],e.prototype,"background"),r([t.property({type:String})],e.prototype,"backgroundImage"),r([t.property({type:String})],e.prototype,"backgroundPosition"),r([t.property({type:String})],e.prototype,"backgroundSize"),r([t.property({type:String})],e.prototype,"backgroundRepeat"),r([t.property({type:String})],e.prototype,"backgroundAttachment"),r([t.property({type:String})],e.prototype,"backgroundColor"),r([t.property({type:String})],e.prototype,"backgroundClip"),r([t.property({type:String})],e.prototype,"backgroundOrigin"),r([t.property({type:String})],e.prototype,"backgroundBlendMode"),r([t.property({type:String})],e.prototype,"filter"),r([t.property({type:String})],e.prototype,"backdropFilter");var O=Object.defineProperty,C=Object.getOwnPropertyDescriptor,c=(s,i,n,p)=>{for(var l,o=p>1?void 0:p?C(i,n):i,y=s.length-1;y>=0;y--)(l=s[y])&&(o=(p?l(i,n,o):l(o))||o);return p&&o&&O(i,n,o),o};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 s={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
|
+
<section class=${k.classMap(s)} style=${j.styleMap({})}>
|
|
3
3
|
<slot></slot>
|
|
4
4
|
</section>
|
|
5
|
-
`}},exports.SchmancyFlex.styles=[e.styles,d.unsafeCSS(":host{display:block;background-color:inherit}")],
|
|
6
|
-
<section class="${this.classMap(
|
|
5
|
+
`}},exports.SchmancyFlex.styles=[e.styles,d.unsafeCSS(":host{display:block;background-color:inherit}")],c([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"flow",2),c([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"wrap",2),c([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"align",2),c([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"justify",2),c([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"gap",2),exports.SchmancyFlex=c([t.customElement("schmancy-flex")],exports.SchmancyFlex);var F=Object.defineProperty,E=Object.getOwnPropertyDescriptor,h=(s,i,n,p)=>{for(var l,o=p>1?void 0:p?E(i,n):i,y=s.length-1;y>=0;y--)(l=s[y])&&(o=(p?l(i,n,o):l(o))||o);return p&&o&&F(i,n,o),o};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(s=>s.target),a.startWith(1),a.map(()=>this.clientWidth?this.clientWidth:window.innerWidth),a.distinctUntilChanged(),a.takeUntil(this.disconnecting),a.debounceTime(10),a.map(s=>{var n,p,l,o,y,u,f,m,b,w,S,v;let i;return(n=this.rcols)!=null&&n["2xl"]&&s>=1536?i=(p=this.rcols)==null?void 0:p["2xl"]:(l=this.rcols)!=null&&l.xl&&s>=1280?i=(o=this.rcols)==null?void 0:o.xl:(y=this.rcols)!=null&&y.lg&&s>=1024?i=(u=this.rcols)==null?void 0:u.lg:(f=this.rcols)!=null&&f.md&&s>=768?i=(m=this.rcols)==null?void 0:m.md:(b=this.rcols)!=null&&b.sm&&s>=640?i=(w=this.rcols)==null?void 0:w.sm:(S=this.rcols)!=null&&S.xs&&s<640&&(i=(v=this.rcols)==null?void 0:v.xs),i})).subscribe(s=>{this.cols=s})}render(){const s={"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},i={gridTemplateRows:this.rows?this.rows:void 0,gridTemplateColumns:this.cols?this.cols:void 0};return d.html`
|
|
6
|
+
<section class="${this.classMap(s)}" style=${this.styleMap(i)}>
|
|
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}")],h([t.property({type:String})],exports.SchmancyGrid.prototype,"flow",2),h([t.property({type:String})],exports.SchmancyGrid.prototype,"align",2),h([t.property({type:String})],exports.SchmancyGrid.prototype,"justify",2),h([t.property({type:String})],exports.SchmancyGrid.prototype,"content",2),h([t.property({type:String})],exports.SchmancyGrid.prototype,"gap",2),h([t.property({type:String})],exports.SchmancyGrid.prototype,"cols",2),h([t.property({type:String})],exports.SchmancyGrid.prototype,"rows",2),h([t.property({type:Object})],exports.SchmancyGrid.prototype,"rcols",2),h([t.property({type:Boolean})],exports.SchmancyGrid.prototype,"wrap",2),h([t.queryAssignedElements()],exports.SchmancyGrid.prototype,"assignedElements",2),exports.SchmancyGrid=h([t.customElement("schmancy-grid")],exports.SchmancyGrid);var W=Object.defineProperty,
|
|
9
|
+
`}},exports.SchmancyGrid.styles=[e.styles,d.unsafeCSS(":host{height:max-content;width:-webkit-fill-available;display:block}")],h([t.property({type:String})],exports.SchmancyGrid.prototype,"flow",2),h([t.property({type:String})],exports.SchmancyGrid.prototype,"align",2),h([t.property({type:String})],exports.SchmancyGrid.prototype,"justify",2),h([t.property({type:String})],exports.SchmancyGrid.prototype,"content",2),h([t.property({type:String})],exports.SchmancyGrid.prototype,"gap",2),h([t.property({type:String})],exports.SchmancyGrid.prototype,"cols",2),h([t.property({type:String})],exports.SchmancyGrid.prototype,"rows",2),h([t.property({type:Object})],exports.SchmancyGrid.prototype,"rcols",2),h([t.property({type:Boolean})],exports.SchmancyGrid.prototype,"wrap",2),h([t.queryAssignedElements()],exports.SchmancyGrid.prototype,"assignedElements",2),exports.SchmancyGrid=h([t.customElement("schmancy-grid")],exports.SchmancyGrid);var W=Object.defineProperty,z=Object.getOwnPropertyDescriptor,x=(s,i,n,p)=>{for(var l,o=p>1?void 0:p?z(i,n):i,y=s.length-1;y>=0;y--)(l=s[y])&&(o=(p?l(i,n,o):l(o))||o);return p&&o&&W(i,n,o),o};exports.SchmancyScroll=class extends P.TailwindElement(d.css`
|
|
10
10
|
:host {
|
|
11
11
|
height: 100%;
|
|
12
12
|
width: 100%;
|
|
13
13
|
overflow: hidden;
|
|
14
|
-
box-
|
|
14
|
+
box-sizing: border-box; /* Ensures proper sizing */
|
|
15
15
|
display: block;
|
|
16
16
|
position: relative;
|
|
17
17
|
inset: 0px;
|
|
18
18
|
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
.scrollbar-hide {
|
|
20
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
21
|
+
scrollbar-width: none; /* Firefox */
|
|
22
|
+
}
|
|
23
|
+
.scrollbar-hide::-webkit-scrollbar {
|
|
24
|
+
display: none; /* Chrome, Safari, and Opera */
|
|
25
|
+
}
|
|
26
|
+
`){constructor(){super(...arguments),this.hide=!1}render(){const s={"h-full w-full inset-0 overflow-x-scroll overflow-y-scroll scroll-smooth overscroll-contain":!0,"scrollbar-hide":this.hide};return d.html`
|
|
27
|
+
<div class="relative inset-0 h-full w-full overscroll-none">
|
|
28
|
+
<div class=${this.classMap(s)}>
|
|
29
|
+
<slot></slot>
|
|
30
|
+
</div>
|
|
22
31
|
</div>
|
|
23
|
-
|
|
24
|
-
//# sourceMappingURL=scroll-
|
|
32
|
+
`}},x([t.property({type:Boolean,reflect:!0})],exports.SchmancyScroll.prototype,"hide",2),exports.SchmancyScroll=x([t.customElement("schmancy-scroll")],exports.SchmancyScroll);
|
|
33
|
+
//# sourceMappingURL=scroll-CCExKwoj.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-CCExKwoj.cjs","sources":["../src/layout/layout/layout.ts","../src/layout/flex/flex.ts","../src/layout/grid/grid.ts","../src/layout/scroll/scroll.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/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/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 } from 'lit/decorators.js'\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\trender() {\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-scroll overflow-y-scroll 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 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"],"names":["Layout","TailwindElement","super","arguments","this","layout","center","display","undefined","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","_l","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","render"],"mappings":"qVAGqB,MAAAA,EAAA,MAAAA,UAAeC,kBAApC,CAAA,CAAA,aAAAC,CAAAA,MAAAA,GAAAC,SAEUC,EAAAA,KAAAC,OAAA,GACkDD,KAAAE,OAAAA,OAqB5CF,KAAAG,QAAAC,OAC8EJ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AAArC,EAAAA;AAAAA;AAAAA,iBAEQjE,KAAKkE,SAASH,CAAAA,CAAAA;AAAAA;AAAAA;AAAAA;AAAAA,GAAQ,CAX/Bf,EAAAA,EAAA,CADNG,EAAAA,SAAS,CAAEC,KAAMC,QAASgB,UA3Bf+B,CAAAA,CAAAA,EAAAA,uBA4BL9C,UAAA,OAAA,GA5BK8C,QAANA,eAAApD,EAAA,CADNsB,EAAAA,cAAc,iBAAA,CAAA,EACF8B"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { unsafeCSS 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
|
|
8
|
-
for (var
|
|
9
|
-
return s &&
|
|
1
|
+
import { unsafeCSS as C, html as u, css as W } from "lit";
|
|
2
|
+
import { property as t, customElement as w, queryAssignedElements as B } from "lit/decorators.js";
|
|
3
|
+
import { classMap as E } from "lit/directives/class-map.js";
|
|
4
|
+
import { styleMap as M } from "lit/directives/style-map.js";
|
|
5
|
+
import { fromEvent as R, map as f, startWith as T, distinctUntilChanged as $, takeUntil as I, debounceTime as H } from "rxjs";
|
|
6
|
+
import { T as z } from "./tailwind.mixin-DtR4DQvn.js";
|
|
7
|
+
var A = Object.defineProperty, r = (o, i, l, p) => {
|
|
8
|
+
for (var y, s = void 0, n = o.length - 1; n >= 0; n--) (y = o[n]) && (s = y(i, l, s) || s);
|
|
9
|
+
return s && A(i, l, s), s;
|
|
10
10
|
};
|
|
11
|
-
const
|
|
11
|
+
const g = class g extends z() {
|
|
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,81 +16,94 @@ const d = class d extends C() {
|
|
|
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
|
+
g.styles = [g.styles];
|
|
20
|
+
let e = g;
|
|
21
21
|
r([t({ type: Boolean })], e.prototype, "center"), r([t({ type: String })], e.prototype, "padding"), r([t({ type: String })], e.prototype, "margin"), r([t({ type: String })], e.prototype, "width"), r([t({ type: String })], e.prototype, "height"), r([t({ type: String })], e.prototype, "minWidth"), r([t({ type: String })], e.prototype, "minHeight"), r([t({ type: String })], e.prototype, "maxWidth"), r([t({ type: String })], e.prototype, "maxHeight"), r([t({ type: String })], e.prototype, "display"), r([t({ type: String })], e.prototype, "overflow"), r([t({ type: String })], e.prototype, "overflowX"), r([t({ type: String })], e.prototype, "overflowY"), r([t({ type: String })], e.prototype, "position"), r([t({ type: String })], e.prototype, "top"), r([t({ type: String })], e.prototype, "right"), r([t({ type: String })], e.prototype, "bottom"), r([t({ type: String })], e.prototype, "left"), r([t({ type: String })], e.prototype, "inset"), r([t({ type: String })], e.prototype, "zIndex"), r([t({ type: String })], e.prototype, "border"), r([t({ type: String })], e.prototype, "borderTop"), r([t({ type: String })], e.prototype, "borderRight"), r([t({ type: String })], e.prototype, "borderBottom"), r([t({ type: String })], e.prototype, "borderLeft"), r([t({ type: String })], e.prototype, "borderColor"), r([t({ type: String })], e.prototype, "borderRadius"), r([t({ type: String })], e.prototype, "borderWidth"), r([t({ type: String })], e.prototype, "boxShadow"), r([t({ type: String })], e.prototype, "opacity"), r([t({ type: String })], e.prototype, "background"), r([t({ type: String })], e.prototype, "backgroundImage"), r([t({ type: String })], e.prototype, "backgroundPosition"), r([t({ type: String })], e.prototype, "backgroundSize"), r([t({ type: String })], e.prototype, "backgroundRepeat"), r([t({ type: String })], e.prototype, "backgroundAttachment"), r([t({ type: String })], e.prototype, "backgroundColor"), r([t({ type: String })], e.prototype, "backgroundClip"), r([t({ type: String })], e.prototype, "backgroundOrigin"), r([t({ type: String })], e.prototype, "backgroundBlendMode"), r([t({ type: String })], e.prototype, "filter"), r([t({ type: String })], e.prototype, "backdropFilter");
|
|
22
|
-
var
|
|
23
|
-
for (var
|
|
24
|
-
return p && s &&
|
|
22
|
+
var D = Object.defineProperty, F = Object.getOwnPropertyDescriptor, d = (o, i, l, p) => {
|
|
23
|
+
for (var y, s = p > 1 ? void 0 : p ? F(i, l) : i, n = o.length - 1; n >= 0; n--) (y = o[n]) && (s = (p ? y(i, l, s) : y(s)) || s);
|
|
24
|
+
return p && s && D(i, l, s), s;
|
|
25
25
|
};
|
|
26
|
-
let
|
|
26
|
+
let c = class extends e {
|
|
27
27
|
constructor() {
|
|
28
28
|
super(...arguments), this.layout = !0, this.flow = "col", this.wrap = "wrap", this.align = "start", this.justify = "start", this.gap = "none";
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
const
|
|
31
|
+
const o = { 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
32
|
return u`
|
|
33
|
-
<section class=${
|
|
33
|
+
<section class=${E(o)} style=${M({})}>
|
|
34
34
|
<slot></slot>
|
|
35
35
|
</section>
|
|
36
36
|
`;
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
|
-
|
|
40
|
-
var U = Object.defineProperty, X = Object.getOwnPropertyDescriptor, a = (
|
|
41
|
-
for (var
|
|
42
|
-
return p && s && U(
|
|
39
|
+
c.styles = [e.styles, C(":host{display:block;background-color:inherit}")], d([t({ type: String, reflect: !0 })], c.prototype, "flow", 2), d([t({ type: String, reflect: !0 })], c.prototype, "wrap", 2), d([t({ type: String, reflect: !0 })], c.prototype, "align", 2), d([t({ type: String, reflect: !0 })], c.prototype, "justify", 2), d([t({ type: String, reflect: !0 })], c.prototype, "gap", 2), c = d([w("schmancy-flex")], c);
|
|
40
|
+
var U = Object.defineProperty, X = Object.getOwnPropertyDescriptor, a = (o, i, l, p) => {
|
|
41
|
+
for (var y, s = p > 1 ? void 0 : p ? X(i, l) : i, n = o.length - 1; n >= 0; n--) (y = o[n]) && (s = (p ? y(i, l, s) : y(s)) || s);
|
|
42
|
+
return p && s && U(i, l, s), s;
|
|
43
43
|
};
|
|
44
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
|
|
51
|
-
let
|
|
52
|
-
return (
|
|
53
|
-
})).subscribe((
|
|
54
|
-
this.cols =
|
|
49
|
+
this.rcols && R(window, "resize").pipe(f((o) => o.target), T(1), f(() => this.clientWidth ? this.clientWidth : window.innerWidth), $(), I(this.disconnecting), H(10), f((o) => {
|
|
50
|
+
var l, p, y, s, n, m, S, v, P, x, k, j;
|
|
51
|
+
let i;
|
|
52
|
+
return (l = this.rcols) != null && l["2xl"] && o >= 1536 ? i = (p = this.rcols) == null ? void 0 : p["2xl"] : (y = this.rcols) != null && y.xl && o >= 1280 ? i = (s = this.rcols) == null ? void 0 : s.xl : (n = this.rcols) != null && n.lg && o >= 1024 ? i = (m = this.rcols) == null ? void 0 : m.lg : (S = this.rcols) != null && S.md && o >= 768 ? i = (v = this.rcols) == null ? void 0 : v.md : (P = this.rcols) != null && P.sm && o >= 640 ? i = (x = this.rcols) == null ? void 0 : x.sm : (k = this.rcols) != null && k.xs && o < 640 && (i = (j = this.rcols) == null ? void 0 : j.xs), i;
|
|
53
|
+
})).subscribe((o) => {
|
|
54
|
+
this.cols = o;
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
const
|
|
58
|
+
const o = { "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 }, i = { gridTemplateRows: this.rows ? this.rows : void 0, gridTemplateColumns: this.cols ? this.cols : void 0 };
|
|
59
59
|
return u`
|
|
60
|
-
<section class="${this.classMap(
|
|
60
|
+
<section class="${this.classMap(o)}" style=${this.styleMap(i)}>
|
|
61
61
|
<slot> </slot>
|
|
62
62
|
</section>
|
|
63
63
|
`;
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
|
-
h.styles = [e.styles,
|
|
67
|
-
var Y = Object.defineProperty,
|
|
68
|
-
|
|
66
|
+
h.styles = [e.styles, C(":host{height:max-content;width:-webkit-fill-available;display:block}")], a([t({ type: String })], h.prototype, "flow", 2), a([t({ type: String })], h.prototype, "align", 2), a([t({ type: String })], h.prototype, "justify", 2), a([t({ type: String })], h.prototype, "content", 2), a([t({ type: String })], h.prototype, "gap", 2), a([t({ type: String })], h.prototype, "cols", 2), a([t({ type: String })], h.prototype, "rows", 2), a([t({ type: Object })], h.prototype, "rcols", 2), a([t({ type: Boolean })], h.prototype, "wrap", 2), a([B()], h.prototype, "assignedElements", 2), h = a([w("schmancy-grid")], h);
|
|
67
|
+
var Y = Object.defineProperty, L = Object.getOwnPropertyDescriptor, O = (o, i, l, p) => {
|
|
68
|
+
for (var y, s = p > 1 ? void 0 : p ? L(i, l) : i, n = o.length - 1; n >= 0; n--) (y = o[n]) && (s = (p ? y(i, l, s) : y(s)) || s);
|
|
69
|
+
return p && s && Y(i, l, s), s;
|
|
70
|
+
};
|
|
71
|
+
let b = class extends z(W`
|
|
69
72
|
:host {
|
|
70
73
|
height: 100%;
|
|
71
74
|
width: 100%;
|
|
72
75
|
overflow: hidden;
|
|
73
|
-
box-
|
|
76
|
+
box-sizing: border-box; /* Ensures proper sizing */
|
|
74
77
|
display: block;
|
|
75
78
|
position: relative;
|
|
76
79
|
inset: 0px;
|
|
77
80
|
}
|
|
81
|
+
.scrollbar-hide {
|
|
82
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
83
|
+
scrollbar-width: none; /* Firefox */
|
|
84
|
+
}
|
|
85
|
+
.scrollbar-hide::-webkit-scrollbar {
|
|
86
|
+
display: none; /* Chrome, Safari, and Opera */
|
|
87
|
+
}
|
|
78
88
|
`) {
|
|
89
|
+
constructor() {
|
|
90
|
+
super(...arguments), this.hide = !1;
|
|
91
|
+
}
|
|
79
92
|
render() {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
93
|
+
const o = { "h-full w-full inset-0 overflow-x-scroll overflow-y-scroll scroll-smooth overscroll-contain": !0, "scrollbar-hide": this.hide };
|
|
94
|
+
return u`
|
|
95
|
+
<div class="relative inset-0 h-full w-full overscroll-none">
|
|
96
|
+
<div class=${this.classMap(o)}>
|
|
97
|
+
<slot></slot>
|
|
98
|
+
</div>
|
|
83
99
|
</div>
|
|
84
|
-
|
|
100
|
+
`;
|
|
85
101
|
}
|
|
86
102
|
};
|
|
87
|
-
|
|
88
|
-
for (var l, s = p > 1 ? void 0 : p ? F(o, y) : o, n = i.length - 1; n >= 0; n--) (l = i[n]) && (s = (p ? l(o, y, s) : l(s)) || s);
|
|
89
|
-
return p && s && Y(o, y, s), s;
|
|
90
|
-
})([b("schmancy-scroll")], j);
|
|
103
|
+
O([t({ type: Boolean, reflect: !0 })], b.prototype, "hide", 2), b = O([w("schmancy-scroll")], b);
|
|
91
104
|
export {
|
|
92
|
-
|
|
105
|
+
c as S,
|
|
93
106
|
h as a,
|
|
94
|
-
|
|
107
|
+
b
|
|
95
108
|
};
|
|
96
|
-
//# sourceMappingURL=scroll-
|
|
109
|
+
//# sourceMappingURL=scroll-CYzhWpN5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-CYzhWpN5.js","sources":["../src/layout/layout/layout.ts","../src/layout/flex/flex.ts","../src/layout/grid/grid.ts","../src/layout/scroll/scroll.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/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/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 } from 'lit/decorators.js'\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\trender() {\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-scroll overflow-y-scroll 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 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"],"names":["Layout","TailwindElement","constructor","super","arguments","this","layout","center","undefined","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","_u","property","type","Boolean","prototype","String","SchmancyFlex","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","gridTemplateCol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AAA,EAEd,SAAAxC;AAEC,UAAMC,IAAU,EACf,8FAA8F,IAC9F,kBAAkB/D,KAAKsG,KAAAA;AAGjB,WAAArC;AAAAA;AAAAA,iBAEQjE,KAAKkE,SAASH,CAAAA,CAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,EAAQ;AAAA;AAX/Bf,EAAA,CADNG,EAAS,EAAEC,MAAMC,SAASgB,YA3Bf+B,CAAAA,CAAAA,GAAAA,EA4BL9C,WAAA,QAAA,CAAA,GA5BK8C,IAANpD,EAAA,CADNsB,EAAc,iBACF8B,CAAAA,GAAAA,CAAAA;"}
|
package/dist/teleport.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./teleport.component-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./teleport.component-BmlV_hrl.cjs");exports.HereMorty=e.HereMorty,Object.defineProperty(exports,"SchmancyTeleportation",{enumerable:!0,get:()=>e.SchmancyTeleportation}),exports.WhereAreYouRicky=e.WhereAreYouRicky,exports.teleport=e.teleport;
|
|
2
2
|
//# sourceMappingURL=teleport.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const h=require("lit"),c=require("lit/decorators.js"),n=require("rxjs");require("./animated-text-C5zM-91H.cjs");const q=require("./area.component-DCLLi1YA.cjs");require("./autocomplete-Dfq-Rhjy.cjs"),require("./spinner-8GhT-bLm.cjs"),require("./icon-button-DHiO0w8J.cjs"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js");const S=require("./tailwind.mixin-_mD_GeAp.cjs"),O=require("./theme.interface-Xg5Zi46a.cjs");require("./checkbox-BdsGj_z6.cjs"),require("./chips-Z8e_rQtM.cjs"),require("./payment-card-form-B7tV2ttW.cjs");const d=require("./types.cjs"),l=require("./provide-_VUNOf1R.cjs"),u=require("./litElement.mixin-DWxwPXWQ.cjs"),p=require("./consume-Di0U0iBU.cjs");require("./date-range-CDX0VlcK.cjs"),require("./delay-DsFVHHw2.cjs");const b=require("./ripple-C2BHbhcS.cjs");require("./divider-CjgOM462.cjs"),require("./form-DyYGOlOR.cjs"),require("./icon-DPN7kWO0.cjs"),require("./input-2kqgsr0S.cjs"),require("./scroll-
|
|
1
|
+
"use strict";const h=require("lit"),c=require("lit/decorators.js"),n=require("rxjs");require("./animated-text-C5zM-91H.cjs");const q=require("./area.component-DCLLi1YA.cjs");require("./autocomplete-Dfq-Rhjy.cjs"),require("./spinner-8GhT-bLm.cjs"),require("./icon-button-DHiO0w8J.cjs"),require("lit/directives/class-map.js"),require("lit/directives/style-map.js");const S=require("./tailwind.mixin-_mD_GeAp.cjs"),O=require("./theme.interface-Xg5Zi46a.cjs");require("./checkbox-BdsGj_z6.cjs"),require("./chips-Z8e_rQtM.cjs"),require("./payment-card-form-B7tV2ttW.cjs");const d=require("./types.cjs"),l=require("./provide-_VUNOf1R.cjs"),u=require("./litElement.mixin-DWxwPXWQ.cjs"),p=require("./consume-Di0U0iBU.cjs");require("./date-range-CDX0VlcK.cjs"),require("./delay-DsFVHHw2.cjs");const b=require("./ripple-C2BHbhcS.cjs");require("./divider-CjgOM462.cjs"),require("./form-DyYGOlOR.cjs"),require("./icon-DPN7kWO0.cjs"),require("./input-2kqgsr0S.cjs"),require("./scroll-CCExKwoj.cjs"),require("./list-Cq9RDYF_.cjs"),require("./menu-ifiBMg-F.cjs");const z=require("lit/directives/when.js");require("./outlet-u1_Qa8Li.cjs"),require("./option-DOBWmGE5.cjs"),require("./radio-group-m5Swl5cq.cjs"),require("./index-DyJ0oDpR.cjs"),require("./select-ljp7-IxH.cjs");const I=require("./sheet-DPHbRnXg.cjs");require("./slider-ds6hnN7n.cjs"),require("./surface-BzSJT7y7.cjs"),require("./table-BDIhXdSA.cjs"),require("./tabs-group-CHAAr7Wl.cjs"),require("./textarea-CJhi4hDu.cjs"),require("./theme.component-Dhm3MpVW.cjs"),require("./theme-button-DoIFEVSv.cjs"),require("./tree-BkhYPaz6.cjs"),require("./typewriter-DGIW1V_b.cjs"),require("./typography-DQHpwRFR.cjs");const j=require("rxjs/operators");var B=Object.defineProperty,Y=Object.getOwnPropertyDescriptor;let X=class extends S.TailwindElement(h.css`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
}
|
|
@@ -141,4 +141,4 @@
|
|
|
141
141
|
class="${this.classMap({"fixed inset-0 z-49 hidden":!0})}"
|
|
142
142
|
></div>
|
|
143
143
|
`}},w([p.c({context:N,subscribe:!0}),c.state()],exports.SchmancyNavigationDrawerSidebar.prototype,"mode",2),w([p.c({context:W,subscribe:!0}),c.state()],exports.SchmancyNavigationDrawerSidebar.prototype,"state",2),w([c.query("#overlay")],exports.SchmancyNavigationDrawerSidebar.prototype,"overlay",2),w([c.query("nav")],exports.SchmancyNavigationDrawerSidebar.prototype,"nav",2),w([c.property({type:String})],exports.SchmancyNavigationDrawerSidebar.prototype,"width",2),exports.SchmancyNavigationDrawerSidebar=w([c.customElement("schmancy-nav-drawer-navbar")],exports.SchmancyNavigationDrawerSidebar);const U="whereAreYouRicky",H="hereMorty",f=new class{constructor(){this.activeTeleportations=new Map,this.flipRequests=new n.Subject,this.find=e=>n.zip([n.fromEvent(window,H).pipe(n.filter(t=>!!t.detail.component.uuid&&!!e.id&&t.detail.component.id===e.id&&t.detail.component.uuid!==e.uuid),n.map(t=>t.detail.component),n.take(1)),n.of(e).pipe(n.tap(()=>{window.dispatchEvent(new CustomEvent(U,{detail:{id:e.id,callerID:e.uuid}}))}))]).pipe(n.map(([t])=>t),n.timeout(0)),this.flip=e=>{const{from:t,to:s}=e,i=s.element.style.zIndex;s.element.style.transformOrigin="top left",s.element.style.setProperty("visibility","visible"),s.element.style.zIndex="1000";const a=[{transform:`translate(${t.rect.left-s.rect.left}px, ${t.rect.top-s.rect.top}px) scale(${t.rect.width/s.rect.width}, ${t.rect.height/s.rect.height})`},{transform:"translate(0, 0) scale(1, 1)"}];s.element.animate(a,{duration:250,delay:10,easing:"cubic-bezier(0.455, 0.03, 0.515, 0.955)"}).onfinish=()=>{s.element.style.zIndex=i,s.element.style.transformOrigin=""}},this.flipRequests.pipe(n.bufferTime(1),n.map(e=>e.map(({from:t,to:s,host:i},a)=>({from:t,to:s,host:i,i:a}))),n.concatMap(e=>n.zip(e.map(t=>n.of(this.flip(t)))))).subscribe()}};function L(e){return n.interval(50).pipe(j.map(()=>e.getBoundingClientRect()),j.distinctUntilChanged((t,s)=>t.width===s.width&&t.height===s.height&&t.top===s.top&&t.right===s.right&&t.bottom===s.bottom&&t.left===s.left),j.take(1))}var ue=Object.defineProperty,we=Object.getOwnPropertyDescriptor,x=(e,t,s,i)=>{for(var a,r=i>1?void 0:i?we(t,s):t,o=e.length-1;o>=0;o--)(a=e[o])&&(r=(i?a(t,s,r):a(r))||r);return i&&r&&ue(t,s,r),r};exports.SchmancyTeleportation=class extends u.$LitElement(h.css``){constructor(){super(...arguments),this.uuid=Math.floor(Math.random()*Date.now()),this.delay=0,this.debugging=!1}get _slottedChildren(){return this.shadowRoot.querySelector("slot").assignedElements({flatten:!0})}connectedCallback(){if(this.id===void 0)throw new Error("id is required");super.connectedCallback(),n.merge(n.fromEvent(window,q.FINDING_MORTIES).pipe(n.tap({next:()=>{this.dispatchEvent(new CustomEvent(q.HERE_RICKY,{detail:{component:this},bubbles:!0,composed:!0}))}})),n.fromEvent(window,U).pipe(n.tap({next:e=>{e.detail.id===this.id&&this.uuid&&e.detail.callerID!==this.uuid&&this.dispatchEvent(new CustomEvent(H,{detail:{component:this},bubbles:!0,composed:!0}))}}))).pipe(n.takeUntil(this.disconnecting)).subscribe()}async firstUpdated(){n.of(f.activeTeleportations.get(this.id)).pipe(n.filter(e=>!!e),n.takeUntil(this.disconnecting),n.throwIfEmpty()).subscribe({next:e=>{this.style.setProperty("visibility","hidden"),L(this).pipe(n.takeUntil(this.disconnecting)).subscribe({next:t=>{f.activeTeleportations.set(this.id,t),f.flipRequests.next({from:{rect:e},to:{rect:t,element:this._slottedChildren[0]},host:this})}})},error:()=>{this.style.setProperty("visibility","visible"),L(this).pipe(n.takeUntil(this.disconnecting)).subscribe({next:e=>{f.activeTeleportations.set(this.id,e)}})},complete:()=>{}})}render(){return h.html`<slot></slot>`}},x([c.property({type:Number,reflect:!0})],exports.SchmancyTeleportation.prototype,"uuid",2),x([c.property({type:String})],exports.SchmancyTeleportation.prototype,"id",2),x([c.property({type:Number})],exports.SchmancyTeleportation.prototype,"delay",2),exports.SchmancyTeleportation=x([c.customElement("schmancy-teleport")],exports.SchmancyTeleportation),exports.HereMorty=H,exports.SchmancyContentDrawerID=R,exports.SchmancyContentDrawerMaxHeight=M,exports.SchmancyContentDrawerMinWidth=k,exports.SchmancyContentDrawerSheetMode=$,exports.SchmancyContentDrawerSheetState=A,exports.SchmancyDrawerNavbarMode=N,exports.SchmancyDrawerNavbarState=W,exports.WhereAreYouRicky=U,exports.schmancyContentDrawer=Z,exports.schmancyNavDrawer=ae,exports.teleport=f;
|
|
144
|
-
//# sourceMappingURL=teleport.component-
|
|
144
|
+
//# sourceMappingURL=teleport.component-BmlV_hrl.cjs.map
|