@jotyping/jap-ds 0.1.2-alpha
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/LICENCE.md +9 -0
- package/README.md +34 -0
- package/dist/assets/Satoshi-Black.woff +0 -0
- package/dist/assets/Satoshi-Black.woff2 +0 -0
- package/dist/assets/Satoshi-Bold.woff +0 -0
- package/dist/assets/Satoshi-Bold.woff2 +0 -0
- package/dist/assets/Satoshi-Italic.woff +0 -0
- package/dist/assets/Satoshi-Italic.woff2 +0 -0
- package/dist/assets/Satoshi-Regular.woff +0 -0
- package/dist/assets/Satoshi-Regular.woff2 +0 -0
- package/dist/assets/lit.svg +1 -0
- package/dist/components/button/jap-button.js +42 -0
- package/dist/components/button/jap-button.js.map +1 -0
- package/dist/components/button/jap-button.scss.js +5 -0
- package/dist/components/button/jap-button.scss.js.map +1 -0
- package/dist/components/flash/jap-flash.js +74 -0
- package/dist/components/flash/jap-flash.js.map +1 -0
- package/dist/components/flash/jap-flash.scss.js +5 -0
- package/dist/components/flash/jap-flash.scss.js.map +1 -0
- package/dist/components/footer/jap-footer.js +50 -0
- package/dist/components/footer/jap-footer.js.map +1 -0
- package/dist/components/footer/jap-footer.scss.js +5 -0
- package/dist/components/footer/jap-footer.scss.js.map +1 -0
- package/dist/components/header/jap-header.js +69 -0
- package/dist/components/header/jap-header.js.map +1 -0
- package/dist/components/header/jap-header.scss.js +5 -0
- package/dist/components/header/jap-header.scss.js.map +1 -0
- package/dist/components/heading/jap-heading.js +63 -0
- package/dist/components/heading/jap-heading.js.map +1 -0
- package/dist/components/heading/jap-heading.scss.js +5 -0
- package/dist/components/heading/jap-heading.scss.js.map +1 -0
- package/dist/components/icon/icon-data.js +47 -0
- package/dist/components/icon/icon-data.js.map +1 -0
- package/dist/components/icon/jap-icon.js +58 -0
- package/dist/components/icon/jap-icon.js.map +1 -0
- package/dist/components/icon/jap-icon.scss.js +5 -0
- package/dist/components/icon/jap-icon.scss.js.map +1 -0
- package/dist/components/icon-button/jap-icon-button.js +52 -0
- package/dist/components/icon-button/jap-icon-button.js.map +1 -0
- package/dist/components/icon-button/jap-icon-button.scss.js +5 -0
- package/dist/components/icon-button/jap-icon-button.scss.js.map +1 -0
- package/dist/components/image-link/jap-image-link.js +63 -0
- package/dist/components/image-link/jap-image-link.js.map +1 -0
- package/dist/components/image-link/jap-image-link.scss.js +5 -0
- package/dist/components/image-link/jap-image-link.scss.js.map +1 -0
- package/dist/components/link/jap-link.js +43 -0
- package/dist/components/link/jap-link.js.map +1 -0
- package/dist/components/link/jap-link.scss.js +5 -0
- package/dist/components/link/jap-link.scss.js.map +1 -0
- package/dist/components/modal/jap-modal.js +86 -0
- package/dist/components/modal/jap-modal.js.map +1 -0
- package/dist/components/modal/jap-modal.scss.js +5 -0
- package/dist/components/modal/jap-modal.scss.js.map +1 -0
- package/dist/components/navigation/jap-navigation.js +44 -0
- package/dist/components/navigation/jap-navigation.js.map +1 -0
- package/dist/components/navigation/jap-navigation.scss.js +5 -0
- package/dist/components/navigation/jap-navigation.scss.js.map +1 -0
- package/dist/components/tag/jap-tag.js +36 -0
- package/dist/components/tag/jap-tag.js.map +1 -0
- package/dist/components/tag/jap-tag.scss.js +5 -0
- package/dist/components/tag/jap-tag.scss.js.map +1 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/stores/breakpoint-store.js +13 -0
- package/dist/stores/breakpoint-store.js.map +1 -0
- package/dist/styles/fonts-Bq9ey8UU.css +1 -0
- package/dist/styles/variables-D5EJvzLN.css +1 -0
- package/dist/vite.svg +1 -0
- package/package.json +51 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { unsafeCSS as l, LitElement as a, html as u } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/index.js";
|
|
2
|
+
import { property as n, customElement as y } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/decorators.js";
|
|
3
|
+
import f from "./jap-icon-button.scss.js";
|
|
4
|
+
import "../button/jap-button.js";
|
|
5
|
+
import "../flash/jap-flash.js";
|
|
6
|
+
import "../footer/jap-footer.js";
|
|
7
|
+
import "../header/jap-header.js";
|
|
8
|
+
import "../heading/jap-heading.js";
|
|
9
|
+
import "../icon/jap-icon.js";
|
|
10
|
+
import "../image-link/jap-image-link.js";
|
|
11
|
+
import "../link/jap-link.js";
|
|
12
|
+
import "../modal/jap-modal.js";
|
|
13
|
+
import "../navigation/jap-navigation.js";
|
|
14
|
+
import "../tag/jap-tag.js";
|
|
15
|
+
var h = Object.defineProperty, b = Object.getOwnPropertyDescriptor, p = (c, r, i, e) => {
|
|
16
|
+
for (var t = e > 1 ? void 0 : e ? b(r, i) : r, s = c.length - 1, m; s >= 0; s--)
|
|
17
|
+
(m = c[s]) && (t = (e ? m(r, i, t) : m(t)) || t);
|
|
18
|
+
return e && t && h(r, i, t), t;
|
|
19
|
+
};
|
|
20
|
+
let o = class extends a {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments), this.type = "borderless", this.iconName = "puzzle", this.color = "black";
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
return u`
|
|
26
|
+
<button class=${this.type}>
|
|
27
|
+
<jap-icon
|
|
28
|
+
iconName=${this.iconName}
|
|
29
|
+
color=${this.color}
|
|
30
|
+
size=${this.type === "borderless" ? "48px" : "32px"}
|
|
31
|
+
></jap-icon>
|
|
32
|
+
</button>
|
|
33
|
+
`;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
o.styles = l(f);
|
|
37
|
+
p([
|
|
38
|
+
n({ type: String })
|
|
39
|
+
], o.prototype, "type", 2);
|
|
40
|
+
p([
|
|
41
|
+
n({ type: String })
|
|
42
|
+
], o.prototype, "iconName", 2);
|
|
43
|
+
p([
|
|
44
|
+
n({ type: String })
|
|
45
|
+
], o.prototype, "color", 2);
|
|
46
|
+
o = p([
|
|
47
|
+
y("jap-icon-button")
|
|
48
|
+
], o);
|
|
49
|
+
export {
|
|
50
|
+
o as JapIconButton
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=jap-icon-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jap-icon-button.js","sources":["../../../src/components/icon-button/jap-icon-button.ts"],"sourcesContent":["import { LitElement, html, unsafeCSS } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\nimport style from \"./jap-icon-button.scss?inline\";\nimport { IconName } from \"../icon/jap-icon.ts\";\nimport \"../../components\";\n\n@customElement(\"jap-icon-button\")\nexport class JapIconButton extends LitElement {\n static styles = unsafeCSS(style);\n\n /**\n * Button type, can be \"primary\" or \"secondary\".\n */\n @property({ type: String }) type: \"borderless\" | \"border\" = \"borderless\";\n\n /**\n * Icon name.\n */\n @property({ type: String }) iconName: IconName = \"puzzle\";\n\n /**\n * Icon color.\n */\n @property({ type: String }) color:\n | \"red\"\n | \"purple\"\n | \"blue\"\n | \"black\"\n | \"white\"\n | \"neutral-200\"\n | \"neutral-400\"\n | \"neutral-600\" = \"black\";\n\n render() {\n return html`\n <button class=${this.type}>\n <jap-icon\n iconName=${this.iconName}\n color=${this.color}\n size=${this.type === \"borderless\" ? \"48px\" : \"32px\"}\n ></jap-icon>\n </button>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"jap-icon-button\": JapIconButton;\n }\n}\n"],"names":["JapIconButton","LitElement","html","unsafeCSS","style","__decorateClass","property","customElement"],"mappings":";;;;;;;;;;;;;;;;;;;AAOO,IAAMA,IAAN,cAA4BC,EAAW;AAAA,EAAvC,cAAA;AAAA,UAAA,GAAA,SAAA,GAMuB,KAAA,OAAgC,cAKhC,KAAA,WAAqB,UAKrB,KAAA,QAQR;AAAA,EAAA;AAAA,EAEpB,SAAS;AACP,WAAOC;AAAA,sBACW,KAAK,IAAI;AAAA;AAAA,qBAEV,KAAK,QAAQ;AAAA,kBAChB,KAAK,KAAK;AAAA,iBACX,KAAK,SAAS,eAAe,SAAS,MAAM;AAAA;AAAA;AAAA;AAAA,EAI3D;AACF;AArCaF,EACJ,SAASG,EAAUC,CAAK;AAKHC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GANfN,EAMiB,WAAA,QAAA,CAAA;AAKAK,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAXfN,EAWiB,WAAA,YAAA,CAAA;AAKAK,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAhBfN,EAgBiB,WAAA,SAAA,CAAA;AAhBjBA,IAANK,EAAA;AAAA,EADNE,EAAc,iBAAiB;AAAA,GACnBP,CAAA;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const o = '@font-face{font-family:Satoshi-Regular;src:url(/assets/Satoshi-Regular.woff2) format("woff2"),url(/assets/Satoshi-Regular.woff) format("woff");font-weight:400;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Italic;src:url(/assets/Satoshi-Italic.woff2) format("woff2"),url(/assets/Satoshi-Italic.woff) format("woff");font-weight:400;font-display:swap;font-style:italic}@font-face{font-family:Satoshi-Bold;src:url(/assets/Satoshi-Bold.woff2) format("woff2"),url(/assets/Satoshi-Bold.woff) format("woff");font-weight:700;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Black;src:url(/assets/Satoshi-Black.woff2) format("woff2"),url(/assets/Satoshi-Black.woff) format("woff");font-weight:900;font-display:swap;font-style:normal}:host{display:inline-block;height:48px;width:48px}:host([active]) button.borderless{color:#3a3a3a}button{cursor:pointer;border:none;padding:0;width:48px;height:48px}button.borderless{color:#3a3a3a;background-color:#fff}button.borderless:hover{color:#ff4d2a}button.border{color:#3a3a3a;background-color:#fff;outline:2px solid #3a3a3a;outline-offset:-2px;border-radius:24px}';
|
|
2
|
+
export {
|
|
3
|
+
o as default
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=jap-icon-button.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jap-icon-button.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { LitElement as n, html as c, unsafeCSS as v } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/index.js";
|
|
2
|
+
import { property as l, customElement as d } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/decorators.js";
|
|
3
|
+
import f from "./jap-image-link.scss.js";
|
|
4
|
+
import { SignalWatcher as h } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/@lit-labs/signals/index.js";
|
|
5
|
+
import { breakpoint as g } from "../../stores/breakpoint-store.js";
|
|
6
|
+
import { classMap as u } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/directives/class-map.js";
|
|
7
|
+
import "../button/jap-button.js";
|
|
8
|
+
import "../flash/jap-flash.js";
|
|
9
|
+
import "../footer/jap-footer.js";
|
|
10
|
+
import "../header/jap-header.js";
|
|
11
|
+
import "../heading/jap-heading.js";
|
|
12
|
+
import "../icon/jap-icon.js";
|
|
13
|
+
import "../icon-button/jap-icon-button.js";
|
|
14
|
+
import "../link/jap-link.js";
|
|
15
|
+
import "../modal/jap-modal.js";
|
|
16
|
+
import "../navigation/jap-navigation.js";
|
|
17
|
+
import "../tag/jap-tag.js";
|
|
18
|
+
var y = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, o = (i, e, s, p) => {
|
|
19
|
+
for (var t = p > 1 ? void 0 : p ? _(e, s) : e, m = i.length - 1, a; m >= 0; m--)
|
|
20
|
+
(a = i[m]) && (t = (p ? a(e, s, t) : a(t)) || t);
|
|
21
|
+
return p && t && y(e, s, t), t;
|
|
22
|
+
};
|
|
23
|
+
let r = class extends h(n) {
|
|
24
|
+
constructor() {
|
|
25
|
+
super(...arguments), this.href = "", this.target = "_blank", this.description = "";
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
const i = {
|
|
29
|
+
title: !0,
|
|
30
|
+
[g.get()]: !0
|
|
31
|
+
};
|
|
32
|
+
return c`
|
|
33
|
+
<div>
|
|
34
|
+
<a href="${this.href}" target="${this.target}">
|
|
35
|
+
<div class="link-wrapper">
|
|
36
|
+
<div class=${u(i)}>
|
|
37
|
+
<slot></slot>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="divider"></div>
|
|
40
|
+
<div class="description">${this.description}</div>
|
|
41
|
+
</div>
|
|
42
|
+
</a>
|
|
43
|
+
</div>
|
|
44
|
+
`;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
r.styles = v(f);
|
|
48
|
+
o([
|
|
49
|
+
l({ type: String })
|
|
50
|
+
], r.prototype, "href", 2);
|
|
51
|
+
o([
|
|
52
|
+
l({ type: String })
|
|
53
|
+
], r.prototype, "target", 2);
|
|
54
|
+
o([
|
|
55
|
+
l({ type: String })
|
|
56
|
+
], r.prototype, "description", 2);
|
|
57
|
+
r = o([
|
|
58
|
+
d("jap-image-link")
|
|
59
|
+
], r);
|
|
60
|
+
export {
|
|
61
|
+
r as JapImageLink
|
|
62
|
+
};
|
|
63
|
+
//# sourceMappingURL=jap-image-link.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jap-image-link.js","sources":["../../../src/components/image-link/jap-image-link.ts"],"sourcesContent":["import { LitElement, html, unsafeCSS } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\nimport style from \"./jap-image-link.scss?inline\";\nimport { SignalWatcher } from \"@lit-labs/signals\";\nimport { breakpoint } from \"../../stores/breakpoint-store\";\nimport { classMap } from \"lit/directives/class-map.js\";\nimport \"../../components\";\n\n@customElement(\"jap-image-link\")\nexport class JapImageLink extends SignalWatcher(LitElement) {\n static styles = unsafeCSS(style);\n @property({ type: String }) href = \"\";\n @property({ type: String }) target: \"_blank\" | \"_bla\" = \"_blank\";\n @property({ type: String }) description = \"\";\n\n render() {\n const titleClass = {\n title: true,\n [breakpoint.get()]: true,\n };\n\n return html`\n <div>\n <a href=\"${this.href}\" target=\"${this.target}\">\n <div class=\"link-wrapper\">\n <div class=${classMap(titleClass)}>\n <slot></slot>\n </div>\n <div class=\"divider\"></div>\n <div class=\"description\">${this.description}</div>\n </div>\n </a>\n </div>\n `;\n }\n}\n"],"names":["JapImageLink","SignalWatcher","LitElement","titleClass","breakpoint","html","classMap","unsafeCSS","style","__decorateClass","property","customElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AASO,IAAMA,IAAN,cAA2BC,EAAcC,CAAU,EAAE;AAAA,EAArD,cAAA;AAAA,UAAA,GAAA,SAAA,GAEuB,KAAA,OAAO,IACP,KAAA,SAA4B,UAC5B,KAAA,cAAc;AAAA,EAAA;AAAA,EAE1C,SAAS;AACP,UAAMC,IAAa;AAAA,MACjB,OAAO;AAAA,MACP,CAACC,EAAW,KAAK,GAAG;AAAA,IAAA;AAGtB,WAAOC;AAAA;AAAA,mBAEQ,KAAK,IAAI,aAAa,KAAK,MAAM;AAAA;AAAA,yBAE3BC,EAASH,CAAU,CAAC;AAAA;AAAA;AAAA;AAAA,uCAIN,KAAK,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA,EAKrD;AACF;AA1BaH,EACJ,SAASO,EAAUC,CAAK;AACHC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAFfV,EAEiB,WAAA,QAAA,CAAA;AACAS,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAHfV,EAGiB,WAAA,UAAA,CAAA;AACAS,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAJfV,EAIiB,WAAA,eAAA,CAAA;AAJjBA,IAANS,EAAA;AAAA,EADNE,EAAc,gBAAgB;AAAA,GAClBX,CAAA;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const t = '@font-face{font-family:Satoshi-Regular;src:url(/assets/Satoshi-Regular.woff2) format("woff2"),url(/assets/Satoshi-Regular.woff) format("woff");font-weight:400;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Italic;src:url(/assets/Satoshi-Italic.woff2) format("woff2"),url(/assets/Satoshi-Italic.woff) format("woff");font-weight:400;font-display:swap;font-style:italic}@font-face{font-family:Satoshi-Bold;src:url(/assets/Satoshi-Bold.woff2) format("woff2"),url(/assets/Satoshi-Bold.woff) format("woff");font-weight:700;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Black;src:url(/assets/Satoshi-Black.woff2) format("woff2"),url(/assets/Satoshi-Black.woff) format("woff");font-weight:900;font-display:swap;font-style:normal}:host{display:inline-block}.link-wrapper{display:flex;flex-direction:column;gap:4px;width:auto}a{color:#3a3a3a;text-decoration:none;background-color:transparent}a:hover{color:#3a3a3a}.title.l{font-family:Satoshi-Italic,sans-serif;font-size:34px;line-height:52px}.title.m,.title.s{font-family:Satoshi-Italic,sans-serif;font-size:28px;line-height:42px}.divider{border-bottom:solid 2px #3a3a3a;height:1px}.description{font-family:Satoshi-Regular,sans-serif;font-size:22px;line-height:32px}';
|
|
2
|
+
export {
|
|
3
|
+
t as default
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=jap-image-link.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jap-image-link.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { unsafeCSS as f, LitElement as v, html as h } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/index.js";
|
|
2
|
+
import { property as l, customElement as m } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/decorators.js";
|
|
3
|
+
import c from "./jap-link.scss.js";
|
|
4
|
+
var y = Object.defineProperty, d = Object.getOwnPropertyDescriptor, p = (a, e, i, s) => {
|
|
5
|
+
for (var t = s > 1 ? void 0 : s ? d(e, i) : e, o = a.length - 1, n; o >= 0; o--)
|
|
6
|
+
(n = a[o]) && (t = (s ? n(e, i, t) : n(t)) || t);
|
|
7
|
+
return s && t && y(e, i, t), t;
|
|
8
|
+
};
|
|
9
|
+
let r = class extends v {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments), this.href = "", this.target = "_blank", this.description = "";
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return h`
|
|
15
|
+
<div>
|
|
16
|
+
<a href="${this.href}" target="${this.target}">
|
|
17
|
+
<div class="link-wrapper">
|
|
18
|
+
<div class="title">
|
|
19
|
+
<slot></slot>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</a>
|
|
23
|
+
</div>
|
|
24
|
+
`;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
r.styles = f(c);
|
|
28
|
+
p([
|
|
29
|
+
l({ type: String })
|
|
30
|
+
], r.prototype, "href", 2);
|
|
31
|
+
p([
|
|
32
|
+
l({ type: String })
|
|
33
|
+
], r.prototype, "target", 2);
|
|
34
|
+
p([
|
|
35
|
+
l({ type: String })
|
|
36
|
+
], r.prototype, "description", 2);
|
|
37
|
+
r = p([
|
|
38
|
+
m("jap-link")
|
|
39
|
+
], r);
|
|
40
|
+
export {
|
|
41
|
+
r as JapLink
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=jap-link.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jap-link.js","sources":["../../../src/components/link/jap-link.ts"],"sourcesContent":["import { LitElement, html, unsafeCSS } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\nimport style from \"./jap-link.scss?inline\";\n\n@customElement(\"jap-link\")\nexport class JapLink extends LitElement {\n static styles = unsafeCSS(style);\n @property({ type: String }) href = \"\";\n @property({ type: String }) target: \"_blank\" | \"_bla\" = \"_blank\";\n @property({ type: String }) description = \"\";\n\n render() {\n return html`\n <div>\n <a href=\"${this.href}\" target=\"${this.target}\">\n <div class=\"link-wrapper\">\n <div class=\"title\">\n <slot></slot>\n </div>\n </div>\n </a>\n </div>\n `;\n }\n}\n"],"names":["JapLink","LitElement","html","unsafeCSS","style","__decorateClass","property","customElement"],"mappings":";;;;;;;;AAKO,IAAMA,IAAN,cAAsBC,EAAW;AAAA,EAAjC,cAAA;AAAA,UAAA,GAAA,SAAA,GAEuB,KAAA,OAAO,IACP,KAAA,SAA4B,UAC5B,KAAA,cAAc;AAAA,EAAA;AAAA,EAE1C,SAAS;AACP,WAAOC;AAAA;AAAA,mBAEQ,KAAK,IAAI,aAAa,KAAK,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASlD;AACF;AAnBaF,EACJ,SAASG,EAAUC,CAAK;AACHC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAFfN,EAEiB,WAAA,QAAA,CAAA;AACAK,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAHfN,EAGiB,WAAA,UAAA,CAAA;AACAK,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAJfN,EAIiB,WAAA,eAAA,CAAA;AAJjBA,IAANK,EAAA;AAAA,EADNE,EAAc,UAAU;AAAA,GACZP,CAAA;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const t = '@font-face{font-family:Satoshi-Regular;src:url(/assets/Satoshi-Regular.woff2) format("woff2"),url(/assets/Satoshi-Regular.woff) format("woff");font-weight:400;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Italic;src:url(/assets/Satoshi-Italic.woff2) format("woff2"),url(/assets/Satoshi-Italic.woff) format("woff");font-weight:400;font-display:swap;font-style:italic}@font-face{font-family:Satoshi-Bold;src:url(/assets/Satoshi-Bold.woff2) format("woff2"),url(/assets/Satoshi-Bold.woff) format("woff");font-weight:700;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Black;src:url(/assets/Satoshi-Black.woff2) format("woff2"),url(/assets/Satoshi-Black.woff) format("woff");font-weight:900;font-display:swap;font-style:normal}:host{display:inline-block}.link-wrapper{display:flex;flex-direction:column;gap:4px;width:auto}a{color:#3a3a3a;text-decoration:none;background-color:transparent}a:hover{color:#3a3a3a;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}.title{font-family:Satoshi-Regular,sans-serif;font-size:22px;line-height:32px}';
|
|
2
|
+
export {
|
|
3
|
+
t as default
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=jap-link.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jap-link.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { LitElement as d, html as h, unsafeCSS as u } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/index.js";
|
|
2
|
+
import { property as m, customElement as v } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/decorators.js";
|
|
3
|
+
import f from "./jap-modal.scss.js";
|
|
4
|
+
import { SignalWatcher as b } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/@lit-labs/signals/index.js";
|
|
5
|
+
import { classMap as p } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/directives/class-map.js";
|
|
6
|
+
import "../button/jap-button.js";
|
|
7
|
+
import "../flash/jap-flash.js";
|
|
8
|
+
import "../footer/jap-footer.js";
|
|
9
|
+
import "../header/jap-header.js";
|
|
10
|
+
import "../heading/jap-heading.js";
|
|
11
|
+
import "../icon/jap-icon.js";
|
|
12
|
+
import "../icon-button/jap-icon-button.js";
|
|
13
|
+
import "../image-link/jap-image-link.js";
|
|
14
|
+
import "../link/jap-link.js";
|
|
15
|
+
import "../navigation/jap-navigation.js";
|
|
16
|
+
import "../tag/jap-tag.js";
|
|
17
|
+
import { breakpoint as l } from "../../stores/breakpoint-store.js";
|
|
18
|
+
var y = Object.defineProperty, w = Object.getOwnPropertyDescriptor, c = (i, e, s, o) => {
|
|
19
|
+
for (var t = o > 1 ? void 0 : o ? w(e, s) : e, n = i.length - 1, a; n >= 0; n--)
|
|
20
|
+
(a = i[n]) && (t = (o ? a(e, s, t) : a(t)) || t);
|
|
21
|
+
return o && t && y(e, s, t), t;
|
|
22
|
+
};
|
|
23
|
+
let r = class extends b(d) {
|
|
24
|
+
constructor() {
|
|
25
|
+
super(...arguments), this.show = !1, this.type = "default";
|
|
26
|
+
}
|
|
27
|
+
render() {
|
|
28
|
+
const i = {
|
|
29
|
+
backdrop: !0,
|
|
30
|
+
hidden: !this.show || l.get() === "s"
|
|
31
|
+
}, e = {
|
|
32
|
+
content: !0,
|
|
33
|
+
[l.get()]: !0,
|
|
34
|
+
hidden: !this.show
|
|
35
|
+
}, s = {
|
|
36
|
+
"btn-close-wrapper": !0,
|
|
37
|
+
[this.type]: !0,
|
|
38
|
+
[l.get()]: !0
|
|
39
|
+
}, o = {
|
|
40
|
+
"content-body": !0,
|
|
41
|
+
[l.get()]: !0
|
|
42
|
+
};
|
|
43
|
+
return h`<slot name="button" @click=${() => this.show = !0}></slot>
|
|
44
|
+
<div
|
|
45
|
+
class=${p(i)}
|
|
46
|
+
@click=${() => {
|
|
47
|
+
this.show = !1;
|
|
48
|
+
}}
|
|
49
|
+
></div>
|
|
50
|
+
<div class=${p(e)}>
|
|
51
|
+
<div class=${p(s)}>
|
|
52
|
+
<jap-icon-button
|
|
53
|
+
iconName="x"
|
|
54
|
+
color="black"
|
|
55
|
+
type="borderless"
|
|
56
|
+
@click=${() => {
|
|
57
|
+
this.show = !1;
|
|
58
|
+
}}
|
|
59
|
+
></jap-icon-button>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="content-wrapper">
|
|
62
|
+
<slot></slot>
|
|
63
|
+
<div class="content-header">
|
|
64
|
+
<slot name="header"></slot>
|
|
65
|
+
</div>
|
|
66
|
+
<div class=${p(o)}>
|
|
67
|
+
<slot name="content"></slot>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>`;
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
r.styles = u(f);
|
|
74
|
+
c([
|
|
75
|
+
m({ type: Boolean })
|
|
76
|
+
], r.prototype, "show", 2);
|
|
77
|
+
c([
|
|
78
|
+
m({ type: String, reflect: !0 })
|
|
79
|
+
], r.prototype, "type", 2);
|
|
80
|
+
r = c([
|
|
81
|
+
v("jap-modal")
|
|
82
|
+
], r);
|
|
83
|
+
export {
|
|
84
|
+
r as JapModal
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=jap-modal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jap-modal.js","sources":["../../../src/components/modal/jap-modal.ts"],"sourcesContent":["import { LitElement, html, unsafeCSS } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\nimport style from \"./jap-modal.scss?inline\";\nimport { SignalWatcher } from \"@lit-labs/signals\";\nimport { classMap } from \"lit/directives/class-map.js\";\nimport \"../../components\";\nimport { breakpoint } from \"../../stores/breakpoint-store\";\n\n@customElement(\"jap-modal\")\nexport class JapModal extends SignalWatcher(LitElement) {\n static styles = unsafeCSS(style);\n\n @property({ type: Boolean }) show = false;\n @property({ type: String, reflect: true })\n type: \"default\" | \"header\" = \"default\";\n\n render() {\n const backdropClasses = {\n backdrop: true,\n hidden: !this.show || breakpoint.get() === \"s\",\n };\n\n const contentClasses = {\n content: true,\n [breakpoint.get()]: true,\n hidden: !this.show,\n };\n\n const btnCloseClasses = {\n \"btn-close-wrapper\": true,\n [this.type]: true,\n [breakpoint.get()]: true,\n };\n\n const contentBodyClasses = {\n \"content-body\": true,\n [breakpoint.get()]: true,\n };\n\n return html`<slot name=\"button\" @click=${() => (this.show = true)}></slot>\n <div\n class=${classMap(backdropClasses)}\n @click=${() => {\n this.show = false;\n }}\n ></div>\n <div class=${classMap(contentClasses)}>\n <div class=${classMap(btnCloseClasses)}>\n <jap-icon-button\n iconName=\"x\"\n color=\"black\"\n type=\"borderless\"\n @click=${() => {\n this.show = false;\n }}\n ></jap-icon-button>\n </div>\n <div class=\"content-wrapper\">\n <slot></slot>\n <div class=\"content-header\">\n <slot name=\"header\"></slot>\n </div>\n <div class=${classMap(contentBodyClasses)}>\n <slot name=\"content\"></slot>\n </div>\n </div>\n </div>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"jap-modal\": JapModal;\n }\n}\n"],"names":["JapModal","SignalWatcher","LitElement","backdropClasses","breakpoint","contentClasses","btnCloseClasses","contentBodyClasses","html","classMap","unsafeCSS","style","__decorateClass","property","customElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AASO,IAAMA,IAAN,cAAuBC,EAAcC,CAAU,EAAE;AAAA,EAAjD,cAAA;AAAA,UAAA,GAAA,SAAA,GAGwB,KAAA,OAAO,IAEpC,KAAA,OAA6B;AAAA,EAAA;AAAA,EAE7B,SAAS;AACP,UAAMC,IAAkB;AAAA,MACtB,UAAU;AAAA,MACV,QAAQ,CAAC,KAAK,QAAQC,EAAW,UAAU;AAAA,IAAA,GAGvCC,IAAiB;AAAA,MACrB,SAAS;AAAA,MACT,CAACD,EAAW,IAAA,CAAK,GAAG;AAAA,MACpB,QAAQ,CAAC,KAAK;AAAA,IAAA,GAGVE,IAAkB;AAAA,MACtB,qBAAqB;AAAA,MACrB,CAAC,KAAK,IAAI,GAAG;AAAA,MACb,CAACF,EAAW,KAAK,GAAG;AAAA,IAAA,GAGhBG,IAAqB;AAAA,MACzB,gBAAgB;AAAA,MAChB,CAACH,EAAW,KAAK,GAAG;AAAA,IAAA;AAGtB,WAAOI,+BAAkC,MAAO,KAAK,OAAO,EAAK;AAAA;AAAA,gBAErDC,EAASN,CAAe,CAAC;AAAA,iBACxB,MAAM;AACb,WAAK,OAAO;AAAA,IACd,CAAC;AAAA;AAAA,mBAEUM,EAASJ,CAAc,CAAC;AAAA,qBACtBI,EAASH,CAAe,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,qBAKzB,MAAM;AACb,WAAK,OAAO;AAAA,IACd,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAQUG,EAASF,CAAkB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKjD;AACF;AA3DaP,EACJ,SAASU,EAAUC,CAAK;AAEFC,EAAA;AAAA,EAA5BC,EAAS,EAAE,MAAM,QAAA,CAAS;AAAA,GAHhBb,EAGkB,WAAA,QAAA,CAAA;AAE7BY,EAAA;AAAA,EADCC,EAAS,EAAE,MAAM,QAAQ,SAAS,IAAM;AAAA,GAJ9Bb,EAKX,WAAA,QAAA,CAAA;AALWA,IAANY,EAAA;AAAA,EADNE,EAAc,WAAW;AAAA,GACbd,CAAA;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const t = '@font-face{font-family:Satoshi-Regular;src:url(/assets/Satoshi-Regular.woff2) format("woff2"),url(/assets/Satoshi-Regular.woff) format("woff");font-weight:400;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Italic;src:url(/assets/Satoshi-Italic.woff2) format("woff2"),url(/assets/Satoshi-Italic.woff) format("woff");font-weight:400;font-display:swap;font-style:italic}@font-face{font-family:Satoshi-Bold;src:url(/assets/Satoshi-Bold.woff2) format("woff2"),url(/assets/Satoshi-Bold.woff) format("woff");font-weight:700;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Black;src:url(/assets/Satoshi-Black.woff2) format("woff2"),url(/assets/Satoshi-Black.woff) format("woff");font-weight:900;font-display:swap;font-style:normal}.content{display:flex;background-color:#fff;position:fixed;z-index:1001}.content.s{top:0;left:0;height:100vh;width:100vw}.content.m{top:70px;left:70px;height:calc(100vh - 140px);width:calc(100vw - 140px)}.content.l{top:150px;left:150px;height:calc(100vh - 300px);width:calc(100vw - 300px)}.content.hidden{display:none}.content-wrapper{width:100%;height:inherit;overflow:hidden}.content-header{font-family:Satoshi-Bold,sans-serif;font-size:24px;line-height:42px;width:100%;display:flex;flex-direction:row;justify-content:center;align-items:center;height:90px}.content-body{font-family:Satoshi-Regular,sans-serif;font-size:22px;line-height:32px;display:flex;padding:40px;overflow-y:auto}.content-body.s{height:calc(100vh - 170px);width:calc(100vw - 80px)}.content-body.m{height:calc(100vh - 230px);width:calc(100vw - 220px)}.content-body.l{height:calc(100vh - 390px);width:calc(100vw - 380px)}.backdrop{position:fixed;top:0;left:0;width:100vw;height:100vh;background-color:#00000080;z-index:999;display:block}.backdrop.hidden{display:none}.btn-close-wrapper{position:absolute;z-index:1000;top:20px;right:20px}.btn-close-wrapper.header.s{top:60px;right:32px}';
|
|
2
|
+
export {
|
|
3
|
+
t as default
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=jap-modal.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jap-modal.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { LitElement as a, html as l, unsafeCSS as n } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/index.js";
|
|
2
|
+
import { customElement as v } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/decorators.js";
|
|
3
|
+
import c from "./jap-navigation.scss.js";
|
|
4
|
+
import { SignalWatcher as f } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/@lit-labs/signals/index.js";
|
|
5
|
+
import { breakpoint as d } from "../../stores/breakpoint-store.js";
|
|
6
|
+
import { classMap as u } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/directives/class-map.js";
|
|
7
|
+
import "../button/jap-button.js";
|
|
8
|
+
import "../flash/jap-flash.js";
|
|
9
|
+
import "../footer/jap-footer.js";
|
|
10
|
+
import "../header/jap-header.js";
|
|
11
|
+
import "../heading/jap-heading.js";
|
|
12
|
+
import "../icon/jap-icon.js";
|
|
13
|
+
import "../icon-button/jap-icon-button.js";
|
|
14
|
+
import "../image-link/jap-image-link.js";
|
|
15
|
+
import "../link/jap-link.js";
|
|
16
|
+
import "../modal/jap-modal.js";
|
|
17
|
+
import "../tag/jap-tag.js";
|
|
18
|
+
var g = Object.getOwnPropertyDescriptor, _ = (r, i, s, p) => {
|
|
19
|
+
for (var t = p > 1 ? void 0 : p ? g(i, s) : i, o = r.length - 1, m; o >= 0; o--)
|
|
20
|
+
(m = r[o]) && (t = m(t) || t);
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
let e = class extends f(a) {
|
|
24
|
+
render() {
|
|
25
|
+
const r = {
|
|
26
|
+
"navi-wrapper": !0,
|
|
27
|
+
[d.get()]: !0
|
|
28
|
+
};
|
|
29
|
+
return l`
|
|
30
|
+
<div class=${u(r)}>
|
|
31
|
+
<slot></slot>
|
|
32
|
+
<div class="border-slider"></div>
|
|
33
|
+
</div>
|
|
34
|
+
`;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
e.styles = n(c);
|
|
38
|
+
e = _([
|
|
39
|
+
v("jap-navigation")
|
|
40
|
+
], e);
|
|
41
|
+
export {
|
|
42
|
+
e as JapNavigation
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=jap-navigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jap-navigation.js","sources":["../../../src/components/navigation/jap-navigation.ts"],"sourcesContent":["import { LitElement, html, unsafeCSS } from \"lit\";\nimport { customElement } from \"lit/decorators.js\";\nimport style from \"./jap-navigation.scss?inline\";\nimport { SignalWatcher } from \"@lit-labs/signals\";\nimport { breakpoint } from \"../../stores/breakpoint-store\";\nimport { classMap } from \"lit/directives/class-map.js\";\nimport \"../../components\";\n\n@customElement(\"jap-navigation\")\nexport class JapNavigation extends SignalWatcher(LitElement) {\n static styles = unsafeCSS(style);\n\n render() {\n const naviWrapperClass = {\n \"navi-wrapper\": true,\n [breakpoint.get()]: true,\n };\n\n return html`\n <div class=${classMap(naviWrapperClass)}>\n <slot></slot>\n <div class=\"border-slider\"></div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"jap-navigation\": JapNavigation;\n }\n}\n"],"names":["JapNavigation","SignalWatcher","LitElement","naviWrapperClass","breakpoint","html","classMap","unsafeCSS","style","__decorateClass","customElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AASO,IAAMA,IAAN,cAA4BC,EAAcC,CAAU,EAAE;AAAA,EAG3D,SAAS;AACP,UAAMC,IAAmB;AAAA,MACvB,gBAAgB;AAAA,MAChB,CAACC,EAAW,KAAK,GAAG;AAAA,IAAA;AAGtB,WAAOC;AAAA,mBACQC,EAASH,CAAgB,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAK3C;AACF;AAhBaH,EACJ,SAASO,EAAUC,CAAK;AADpBR,IAANS,EAAA;AAAA,EADNC,EAAc,gBAAgB;AAAA,GAClBV,CAAA;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const e = ":host{display:inline-block}.navi-wrapper{display:flex;flex-direction:row;gap:12px;flex-wrap:wrap}.navi-wrapper.s{flex-direction:column;gap:16px;width:100%;align-items:center;margin-top:100px}";
|
|
2
|
+
export {
|
|
3
|
+
e as default
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=jap-navigation.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jap-navigation.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { unsafeCSS as l, LitElement as a, html as n } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/index.js";
|
|
2
|
+
import { customElement as v } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/lit/decorators.js";
|
|
3
|
+
import f from "./jap-tag.scss.js";
|
|
4
|
+
import "../button/jap-button.js";
|
|
5
|
+
import "../flash/jap-flash.js";
|
|
6
|
+
import "../footer/jap-footer.js";
|
|
7
|
+
import "../header/jap-header.js";
|
|
8
|
+
import "../heading/jap-heading.js";
|
|
9
|
+
import "../icon/jap-icon.js";
|
|
10
|
+
import "../icon-button/jap-icon-button.js";
|
|
11
|
+
import "../image-link/jap-image-link.js";
|
|
12
|
+
import "../link/jap-link.js";
|
|
13
|
+
import "../modal/jap-modal.js";
|
|
14
|
+
import "../navigation/jap-navigation.js";
|
|
15
|
+
var c = Object.getOwnPropertyDescriptor, g = (o, p, s, m) => {
|
|
16
|
+
for (var t = m > 1 ? void 0 : m ? c(p, s) : p, r = o.length - 1, i; r >= 0; r--)
|
|
17
|
+
(i = o[r]) && (t = i(t) || t);
|
|
18
|
+
return t;
|
|
19
|
+
};
|
|
20
|
+
let e = class extends a {
|
|
21
|
+
render() {
|
|
22
|
+
return n`
|
|
23
|
+
<div class="tag-wrapper">
|
|
24
|
+
<slot></slot>
|
|
25
|
+
</div>
|
|
26
|
+
`;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
e.styles = l(f);
|
|
30
|
+
e = g([
|
|
31
|
+
v("jap-tag")
|
|
32
|
+
], e);
|
|
33
|
+
export {
|
|
34
|
+
e as JapTag
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=jap-tag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jap-tag.js","sources":["../../../src/components/tag/jap-tag.ts"],"sourcesContent":["import { LitElement, html, unsafeCSS } from \"lit\";\nimport { customElement } from \"lit/decorators.js\";\nimport style from \"./jap-tag.scss?inline\";\nimport \"../../components\";\n\n@customElement(\"jap-tag\")\nexport class JapTag extends LitElement {\n static styles = unsafeCSS(style);\n\n render() {\n return html`\n <div class=\"tag-wrapper\">\n <slot></slot>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"jap-tag\": JapTag;\n }\n}\n"],"names":["JapTag","LitElement","html","unsafeCSS","style","__decorateClass","customElement"],"mappings":";;;;;;;;;;;;;;;;;;;AAMO,IAAMA,IAAN,cAAqBC,EAAW;AAAA,EAGrC,SAAS;AACP,WAAOC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKT;AACF;AAVaF,EACJ,SAASG,EAAUC,CAAK;AADpBJ,IAANK,EAAA;AAAA,EADNC,EAAc,SAAS;AAAA,GACXN,CAAA;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const o = '@font-face{font-family:Satoshi-Regular;src:url(/assets/Satoshi-Regular.woff2) format("woff2"),url(/assets/Satoshi-Regular.woff) format("woff");font-weight:400;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Italic;src:url(/assets/Satoshi-Italic.woff2) format("woff2"),url(/assets/Satoshi-Italic.woff) format("woff");font-weight:400;font-display:swap;font-style:italic}@font-face{font-family:Satoshi-Bold;src:url(/assets/Satoshi-Bold.woff2) format("woff2"),url(/assets/Satoshi-Bold.woff) format("woff");font-weight:700;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Black;src:url(/assets/Satoshi-Black.woff2) format("woff2"),url(/assets/Satoshi-Black.woff) format("woff");font-weight:900;font-display:swap;font-style:normal}:host{display:inline-block}.tag-wrapper{font-family:Satoshi-Bold,sans-serif;font-size:24px;line-height:42px;display:flex;align-items:center;justify-content:center;padding:0 20px;border-radius:32px;height:64px;border:none;color:#3a3a3a;background-color:#f3f3f3}';
|
|
2
|
+
export {
|
|
3
|
+
o as default
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=jap-tag.scss.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jap-tag.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
/* empty css */
|
|
3
|
+
import { JapButton as t } from "./components/button/jap-button.js";
|
|
4
|
+
import { JapFlash as m } from "./components/flash/jap-flash.js";
|
|
5
|
+
import { JapFooter as x } from "./components/footer/jap-footer.js";
|
|
6
|
+
import { JapHeader as n } from "./components/header/jap-header.js";
|
|
7
|
+
import { JapHeading as g } from "./components/heading/jap-heading.js";
|
|
8
|
+
import { JapIcon as I } from "./components/icon/jap-icon.js";
|
|
9
|
+
import { JapIconButton as k } from "./components/icon-button/jap-icon-button.js";
|
|
10
|
+
import { JapImageLink as u } from "./components/image-link/jap-image-link.js";
|
|
11
|
+
import { JapLink as F } from "./components/link/jap-link.js";
|
|
12
|
+
import { JapModal as L } from "./components/modal/jap-modal.js";
|
|
13
|
+
import { JapNavigation as s } from "./components/navigation/jap-navigation.js";
|
|
14
|
+
import { JapTag as M } from "./components/tag/jap-tag.js";
|
|
15
|
+
export {
|
|
16
|
+
t as JapButton,
|
|
17
|
+
m as JapFlash,
|
|
18
|
+
x as JapFooter,
|
|
19
|
+
n as JapHeader,
|
|
20
|
+
g as JapHeading,
|
|
21
|
+
I as JapIcon,
|
|
22
|
+
k as JapIconButton,
|
|
23
|
+
u as JapImageLink,
|
|
24
|
+
F as JapLink,
|
|
25
|
+
L as JapModal,
|
|
26
|
+
s as JapNavigation,
|
|
27
|
+
M as JapTag
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { signal as t } from "/Users/jo/Documents/dev/Web/026-jap-ds/jap/node_modules/@lit-labs/signals/index.js";
|
|
2
|
+
const e = t(i(window.innerWidth));
|
|
3
|
+
function i(n) {
|
|
4
|
+
return n < 600 ? "s" : n < 1024 ? "m" : "l";
|
|
5
|
+
}
|
|
6
|
+
window.addEventListener("resize", () => {
|
|
7
|
+
const n = i(window.innerWidth);
|
|
8
|
+
n !== e.get() && e.set(n);
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
e as breakpoint
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=breakpoint-store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoint-store.js","sources":["../../src/stores/breakpoint-store.ts"],"sourcesContent":["import { signal } from \"@lit-labs/signals\";\n\nexport const breakpoint = signal<string>(getBreakpoint(window.innerWidth));\n\nfunction getBreakpoint(width: number): string {\n if (width < 600) return \"s\";\n if (width < 1024) return \"m\";\n return \"l\";\n}\n\nwindow.addEventListener(\"resize\", () => {\n const newBp = getBreakpoint(window.innerWidth);\n if (newBp !== breakpoint.get()) {\n breakpoint.set(newBp);\n }\n});\n"],"names":["breakpoint","signal","getBreakpoint","width","newBp"],"mappings":";AAEO,MAAMA,IAAaC,EAAeC,EAAc,OAAO,UAAU,CAAC;AAEzE,SAASA,EAAcC,GAAuB;AAC5C,SAAIA,IAAQ,MAAY,MACpBA,IAAQ,OAAa,MAClB;AACT;AAEA,OAAO,iBAAiB,UAAU,MAAM;AACtC,QAAMC,IAAQF,EAAc,OAAO,UAAU;AAC7C,EAAIE,MAAUJ,EAAW,SACvBA,EAAW,IAAII,CAAK;AAExB,CAAC;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@font-face{font-family:Satoshi-Regular;src:url(/assets/Satoshi-Regular.woff2) format("woff2"),url(/assets/Satoshi-Regular.woff) format("woff");font-weight:400;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Italic;src:url(/assets/Satoshi-Italic.woff2) format("woff2"),url(/assets/Satoshi-Italic.woff) format("woff");font-weight:400;font-display:swap;font-style:italic}@font-face{font-family:Satoshi-Bold;src:url(/assets/Satoshi-Bold.woff2) format("woff2"),url(/assets/Satoshi-Bold.woff) format("woff");font-weight:700;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Black;src:url(/assets/Satoshi-Black.woff2) format("woff2"),url(/assets/Satoshi-Black.woff) format("woff");font-weight:900;font-display:swap;font-style:normal}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@font-face{font-family:Satoshi-Regular;src:url(/assets/Satoshi-Regular.woff2) format("woff2"),url(/assets/Satoshi-Regular.woff) format("woff");font-weight:400;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Italic;src:url(/assets/Satoshi-Italic.woff2) format("woff2"),url(/assets/Satoshi-Italic.woff) format("woff");font-weight:400;font-display:swap;font-style:italic}@font-face{font-family:Satoshi-Bold;src:url(/assets/Satoshi-Bold.woff2) format("woff2"),url(/assets/Satoshi-Bold.woff) format("woff");font-weight:700;font-display:swap;font-style:normal}@font-face{font-family:Satoshi-Black;src:url(/assets/Satoshi-Black.woff2) format("woff2"),url(/assets/Satoshi-Black.woff) format("woff");font-weight:900;font-display:swap;font-style:normal}body,html{font-family:Satoshi-Regular,Helvetica,Arial,"sans-serif";font-weight:400;font-display:swap;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;padding:0;box-sizing:border-box}
|
package/dist/vite.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/package.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@jotyping/jap-ds",
|
|
3
|
+
"version": "0.1.2-alpha",
|
|
4
|
+
"description": "jap design system",
|
|
5
|
+
"author": "Johannes Pfleghar",
|
|
6
|
+
"homepage": "https://www.johannespfleghar.de",
|
|
7
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "dist/index.js",
|
|
10
|
+
"module": "dist/index.js",
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"dev": "vite",
|
|
16
|
+
"build": "tsc && vite build",
|
|
17
|
+
"preview": "vite preview",
|
|
18
|
+
"storybook": "storybook dev -p 6006",
|
|
19
|
+
"build-storybook": "storybook build"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@lit-labs/signals": "^0.1.3",
|
|
23
|
+
"lit": "^3.2.1"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
27
|
+
"@eslint/js": "^9.20.0",
|
|
28
|
+
"@storybook/addon-docs": "^10.1.11",
|
|
29
|
+
"@storybook/web-components-vite": "^10.1.11",
|
|
30
|
+
"@types/node": "^24.1.0",
|
|
31
|
+
"eslint": "^9.20.1",
|
|
32
|
+
"eslint-plugin-storybook": "^10.1.11",
|
|
33
|
+
"globals": "^15.15.0",
|
|
34
|
+
"prettier": "3.5.1",
|
|
35
|
+
"sass-embedded": "^1.85.0",
|
|
36
|
+
"storybook": "^10.1.11",
|
|
37
|
+
"typescript": "~5.7.2",
|
|
38
|
+
"typescript-eslint": "^8.24.0",
|
|
39
|
+
"vite": "^6.1.0"
|
|
40
|
+
},
|
|
41
|
+
"eslintConfig": {
|
|
42
|
+
"extends": [
|
|
43
|
+
"plugin:storybook/recommended"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"files": [
|
|
47
|
+
"dist",
|
|
48
|
+
"README.md",
|
|
49
|
+
"LICENSE.md"
|
|
50
|
+
]
|
|
51
|
+
}
|