@mhmo91/schmancy 0.2.15 → 0.2.16

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.
Files changed (49) hide show
  1. package/dist/card.cjs +1 -1
  2. package/dist/card.js +1 -1
  3. package/dist/{chips-CCNEOlx2.js → chips-iwpEO4yI.js} +12 -12
  4. package/dist/{chips-CCNEOlx2.js.map → chips-iwpEO4yI.js.map} +1 -1
  5. package/dist/chips.js +1 -1
  6. package/dist/content-drawer.cjs +1 -1
  7. package/dist/content-drawer.js +1 -1
  8. package/dist/context-5nmahssp.js +6 -0
  9. package/dist/context-5nmahssp.js.map +1 -0
  10. package/dist/context-BATZj31H.cjs +2 -0
  11. package/dist/context-BATZj31H.cjs.map +1 -0
  12. package/dist/{delay-ZjnwZygz.cjs → delay-Ci5OBInD.cjs} +2 -2
  13. package/dist/{delay-ZjnwZygz.cjs.map → delay-Ci5OBInD.cjs.map} +1 -1
  14. package/dist/delay.cjs +1 -1
  15. package/dist/index.cjs +1 -1
  16. package/dist/index.js +72 -71
  17. package/dist/index.js.map +1 -1
  18. package/dist/list-CPuuRy-O.cjs +21 -0
  19. package/dist/list-CPuuRy-O.cjs.map +1 -0
  20. package/dist/list-DLUs5fLg.js +70 -0
  21. package/dist/list-DLUs5fLg.js.map +1 -0
  22. package/dist/list.cjs +1 -1
  23. package/dist/list.js +1 -1
  24. package/dist/nav-drawer.cjs +1 -1
  25. package/dist/nav-drawer.js +3 -3
  26. package/dist/{surface-DxPFMsdk.cjs → surface-D6dflZFw.cjs} +3 -3
  27. package/dist/surface-D6dflZFw.cjs.map +1 -0
  28. package/dist/{surface-Be5WvBRV.js → surface-DKT0Af0Z.js} +12 -13
  29. package/dist/surface-DKT0Af0Z.js.map +1 -0
  30. package/dist/surface.cjs +1 -1
  31. package/dist/surface.js +1 -1
  32. package/dist/teleport.cjs +1 -1
  33. package/dist/{teleport.component-BCkjx7SO.js → teleport.component-ChBGmqA6.js} +146 -212
  34. package/dist/teleport.component-ChBGmqA6.js.map +1 -0
  35. package/dist/teleport.component-HoGT2W8s.cjs +144 -0
  36. package/dist/teleport.component-HoGT2W8s.cjs.map +1 -0
  37. package/dist/teleport.js +3 -3
  38. package/dist/{typewriter-v9NtjriH.js → typewriter-8avpGisR.js} +11 -11
  39. package/dist/{typewriter-v9NtjriH.js.map → typewriter-8avpGisR.js.map} +1 -1
  40. package/dist/{typewriter-ChAfM5s5.cjs → typewriter-BodUEEGi.cjs} +2 -2
  41. package/dist/{typewriter-ChAfM5s5.cjs.map → typewriter-BodUEEGi.cjs.map} +1 -1
  42. package/dist/typewriter.cjs +1 -1
  43. package/dist/typewriter.js +1 -1
  44. package/package.json +1 -1
  45. package/dist/surface-Be5WvBRV.js.map +0 -1
  46. package/dist/surface-DxPFMsdk.cjs.map +0 -1
  47. package/dist/teleport.component-BCkjx7SO.js.map +0 -1
  48. package/dist/teleport.component-Ca5QcRnp.cjs +0 -173
  49. package/dist/teleport.component-Ca5QcRnp.cjs.map +0 -1
@@ -1,16 +1,16 @@
1
- import { n as p, e as c } from "./provide-kj6-udep.js";
1
+ import { e as p } from "./provide-kj6-udep.js";
2
2
  import "rxjs";
3
3
  import "lit/directives/class-map.js";
4
4
  import "lit/directives/style-map.js";
5
- import { T as u } from "./tailwind.mixin-C5OzBKVB.js";
6
- import { css as d, html as f } from "lit";
7
- import { property as o, customElement as y } from "lit/decorators.js";
8
- const g = p("surface");
9
- var m = Object.defineProperty, b = Object.getOwnPropertyDescriptor, s = (l, i, a, r) => {
10
- for (var n, t = r > 1 ? void 0 : r ? b(i, a) : i, h = l.length - 1; h >= 0; h--) (n = l[h]) && (t = (r ? n(i, a, t) : n(t)) || t);
5
+ import { T as c } from "./tailwind.mixin-C5OzBKVB.js";
6
+ import { css as d, html as u } from "lit";
7
+ import { property as o, customElement as f } from "lit/decorators.js";
8
+ import { S as y } from "./context-5nmahssp.js";
9
+ var m = Object.defineProperty, g = Object.getOwnPropertyDescriptor, s = (l, i, a, r) => {
10
+ for (var n, t = r > 1 ? void 0 : r ? g(i, a) : i, h = l.length - 1; h >= 0; h--) (n = l[h]) && (t = (r ? n(i, a, t) : n(t)) || t);
11
11
  return r && t && m(i, a, t), t;
12
12
  };
13
- let e = class extends u(d`
13
+ let e = class extends c(d`
14
14
  :host {
15
15
  display: block;
16
16
  }
@@ -26,16 +26,15 @@ let e = class extends u(d`
26
26
  return { "relative inset-0 block sha": !0, "rounded-none": this.rounded === "none", "rounded-t-[8px]": this.rounded === "top", "rounded-l-[8px]": this.rounded === "left", "rounded-r-[8px]": this.rounded === "right", "rounded-b-[8px]": this.rounded === "bottom", "rounded-[8px]": this.rounded === "all", "w-full h-full": this.fill, "shadow-xs": this.elevation === 1, "shadow-sm": this.elevation === 2, "shadow-md": this.elevation === 3, "shadow-lg": this.elevation === 4, "text-surface-on": this.type === "surface" || this.type === "surfaceDim" || this.type === "surfaceBright" || this.type === "containerLowest" || this.type === "containerLow" || this.type === "container" || this.type === "containerHigh" || this.type === "containerHighest", "bg-surface-default": this.type === "surface", "bg-surface-dim": this.type === "surfaceDim", "bg-surface-bright": this.type === "surfaceBright", "bg-surface-lowest": this.type === "containerLowest", "bg-surface-low": this.type === "containerLow", "bg-surface-container": this.type === "container", "bg-surface-high": this.type === "containerHigh", "bg-surface-highest": this.type === "containerHighest" };
27
27
  }
28
28
  render() {
29
- return f`
29
+ return u`
30
30
  <div class="${this.classMap(this.classes)}">
31
31
  <slot></slot>
32
32
  </div>
33
33
  `;
34
34
  }
35
35
  };
36
- s([o({ type: Boolean })], e.prototype, "fill", 2), s([o()], e.prototype, "rounded", 2), s([c({ context: g }), o()], e.prototype, "type", 2), s([o({ type: Number })], e.prototype, "elevation", 2), e = s([y("schmancy-surface")], e);
36
+ s([o({ type: Boolean })], e.prototype, "fill", 2), s([o()], e.prototype, "rounded", 2), s([p({ context: y }), o()], e.prototype, "type", 2), s([o({ type: Number })], e.prototype, "elevation", 2), e = s([f("schmancy-surface")], e);
37
37
  export {
38
- e as S,
39
- g as a
38
+ e as S
40
39
  };
41
- //# sourceMappingURL=surface-Be5WvBRV.js.map
40
+ //# sourceMappingURL=surface-DKT0Af0Z.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"surface-DKT0Af0Z.js","sources":["../src/surface/surface.ts"],"sourcesContent":["import { provide } from '@lit/context'\nimport { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\nimport { SchmancySurfaceTypeContext } from './context'\n/**\n * @element schmancy-surface\n * @slot - default content\n */\n@customElement('schmancy-surface')\nexport class SchmancySurface extends TailwindElement(css`\n\t:host {\n\t\tdisplay: block;\n\t}\n\t:host([fill]) {\n\t\theight: -webkit-fill-available;\n\t\twidth: -webkit-fill-available;\n\t}\n`) {\n\t@property({ type: Boolean }) fill = false\n\t@property() rounded: 'none' | 'top' | 'left' | 'right' | 'bottom' | 'all' = 'none'\n\n\t@provide({ context: SchmancySurfaceTypeContext })\n\t@property()\n\ttype:\n\t\t| 'surface'\n\t\t| 'surfaceDim'\n\t\t| 'surfaceBright'\n\t\t| 'containerLowest'\n\t\t| 'containerLow'\n\t\t| 'container'\n\t\t| 'containerHigh'\n\t\t| 'containerHighest' = 'surface'\n\t@property({ type: Number }) elevation: 0 | 1 | 2 | 3 | 4 | 5 = 0\n\n\tget classes(): Record<string, boolean> {\n\t\treturn {\n\t\t\t'relative inset-0 block sha': true,\n\t\t\t'rounded-none': this.rounded === 'none',\n\t\t\t'rounded-t-[8px]': this.rounded === 'top',\n\t\t\t'rounded-l-[8px]': this.rounded === 'left',\n\t\t\t'rounded-r-[8px]': this.rounded === 'right',\n\t\t\t'rounded-b-[8px]': this.rounded === 'bottom',\n\t\t\t'rounded-[8px]': this.rounded === 'all',\n\n\t\t\t'w-full h-full': this.fill,\n\t\t\t'shadow-xs': this.elevation === 1,\n\t\t\t'shadow-sm': this.elevation === 2,\n\t\t\t'shadow-md': this.elevation === 3,\n\t\t\t'shadow-lg': this.elevation === 4,\n\t\t\t'text-surface-on':\n\t\t\t\tthis.type === 'surface' ||\n\t\t\t\tthis.type === 'surfaceDim' ||\n\t\t\t\tthis.type === 'surfaceBright' ||\n\t\t\t\tthis.type === 'containerLowest' ||\n\t\t\t\tthis.type === 'containerLow' ||\n\t\t\t\tthis.type === 'container' ||\n\t\t\t\tthis.type === 'containerHigh' ||\n\t\t\t\tthis.type === 'containerHighest',\n\t\t\t// 'text-surface-onVariant':\n\t\t\t// \tthis.type === 'containerLowest' ||\n\t\t\t// \tthis.type === 'containerLow' ||\n\t\t\t// \tthis.type === 'container' ||\n\t\t\t// \tthis.type === 'containerHigh' ||\n\t\t\t// \tthis.type === 'containerHighest',\n\t\t\t'bg-surface-default': this.type === 'surface',\n\t\t\t'bg-surface-dim': this.type === 'surfaceDim',\n\t\t\t'bg-surface-bright': this.type === 'surfaceBright',\n\t\t\t'bg-surface-lowest': this.type === 'containerLowest',\n\t\t\t'bg-surface-low': this.type === 'containerLow',\n\t\t\t'bg-surface-container': this.type === 'container',\n\t\t\t'bg-surface-high': this.type === 'containerHigh',\n\t\t\t'bg-surface-highest': this.type === 'containerHighest',\n\t\t}\n\t}\n\tprotected render(): unknown {\n\t\treturn html`\n\t\t\t<div class=\"${this.classMap(this.classes)}\">\n\t\t\t\t<slot></slot>\n\t\t\t</div>\n\t\t`\n\t}\n}\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-surface': SchmancySurface\n\t}\n}\n"],"names":["SchmancySurface","TailwindElement","css","super","arguments","this","fill","rounded","type","elevation","classes","render","html","classMap","__decorateClass","property","Boolean","prototype","provide","context","SchmancySurfaceTypeContext","Number","customElement"],"mappings":";;;;;;;;;;;;AAUa,IAAAA,IAAN,cAA8BC,EAAgBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAA9C,EAAA;AAAA,EAAA,cAAAC;AAAAA,UAAAA,GAAAC,SAS8BC,GAAAA,KAAAC,OAAA,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A,IAS4BH,EAAA,CAA3BC,EAAS,EAAEP,MAAMa,YAvBNrB,EAuBgBiB,WAAA,aAAA,CAvBhBjB,GAAAA,IAANc,EAAA,CADNQ,EAAc,sBACFtB;"}
package/dist/surface.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./surface-DxPFMsdk.cjs");Object.defineProperty(exports,"SchmancySurface",{enumerable:!0,get:()=>e.SchmancySurface});
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./surface-D6dflZFw.cjs");Object.defineProperty(exports,"SchmancySurface",{enumerable:!0,get:()=>e.SchmancySurface});
2
2
  //# sourceMappingURL=surface.cjs.map
package/dist/surface.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as r } from "./surface-Be5WvBRV.js";
1
+ import { S as r } from "./surface-DKT0Af0Z.js";
2
2
  export {
3
3
  r as SchmancySurface
4
4
  };
package/dist/teleport.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./teleport.component-Ca5QcRnp.cjs");exports.HereMorty=e.HereMorty,Object.defineProperty(exports,"SchmancyTeleportation",{enumerable:!0,get:()=>e.SchmancyTeleportation}),exports.WhereAreYouRicky=e.WhereAreYouRicky,exports.teleport=e.teleport;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./teleport.component-HoGT2W8s.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