@jotyping/jo-designsystem 0.1.2-alpha → 0.1.3-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/dist/components/button/jd-button.js +42 -0
- package/dist/components/button/jd-button.js.map +1 -0
- package/dist/components/button/jd-button.scss.js +5 -0
- package/dist/components/button/jd-button.scss.js.map +1 -0
- package/dist/components/flash/jd-flash.js +74 -0
- package/dist/components/flash/jd-flash.js.map +1 -0
- package/dist/components/flash/jd-flash.scss.js +5 -0
- package/dist/components/flash/jd-flash.scss.js.map +1 -0
- package/dist/components/footer/jd-footer.js +50 -0
- package/dist/components/footer/jd-footer.js.map +1 -0
- package/dist/components/footer/jd-footer.scss.js +5 -0
- package/dist/components/footer/jd-footer.scss.js.map +1 -0
- package/dist/components/header/jd-header.js +69 -0
- package/dist/components/header/jd-header.js.map +1 -0
- package/dist/components/header/jd-header.scss.js +5 -0
- package/dist/components/header/jd-header.scss.js.map +1 -0
- package/dist/components/heading/jd-heading.js +63 -0
- package/dist/components/heading/jd-heading.js.map +1 -0
- package/dist/components/heading/jd-heading.scss.js +5 -0
- package/dist/components/heading/jd-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/jd-icon.js +58 -0
- package/dist/components/icon/jd-icon.js.map +1 -0
- package/dist/components/icon/jd-icon.scss.js +5 -0
- package/dist/components/icon/jd-icon.scss.js.map +1 -0
- package/dist/components/icon-button/jd-icon-button.js +52 -0
- package/dist/components/icon-button/jd-icon-button.js.map +1 -0
- package/dist/components/icon-button/jd-icon-button.scss.js +5 -0
- package/dist/components/icon-button/jd-icon-button.scss.js.map +1 -0
- package/dist/components/image-link/jd-image-link.js +63 -0
- package/dist/components/image-link/jd-image-link.js.map +1 -0
- package/dist/components/image-link/jd-image-link.scss.js +5 -0
- package/dist/components/image-link/jd-image-link.scss.js.map +1 -0
- package/dist/components/link/jd-link.js +43 -0
- package/dist/components/link/jd-link.js.map +1 -0
- package/dist/components/link/jd-link.scss.js +5 -0
- package/dist/components/link/jd-link.scss.js.map +1 -0
- package/dist/components/modal/jd-modal.js +86 -0
- package/dist/components/modal/jd-modal.js.map +1 -0
- package/dist/components/modal/jd-modal.scss.js +5 -0
- package/dist/components/modal/jd-modal.scss.js.map +1 -0
- package/dist/components/navigation/jd-navigation.js +44 -0
- package/dist/components/navigation/jd-navigation.js.map +1 -0
- package/dist/components/navigation/jd-navigation.scss.js +5 -0
- package/dist/components/navigation/jd-navigation.scss.js.map +1 -0
- package/dist/components/tag/jd-tag.js +36 -0
- package/dist/components/tag/jd-tag.js.map +1 -0
- package/dist/components/tag/jd-tag.scss.js +5 -0
- package/dist/components/tag/jd-tag.scss.js.map +1 -0
- package/dist/index.js +27 -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/vite.svg +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { unsafeCSS as l, LitElement as u, html as f } from "/Users/jo/Documents/dev/Web/027 jo-ds/jd/node_modules/lit/index.js";
|
|
2
|
+
import { property as y, customElement as c } from "/Users/jo/Documents/dev/Web/027 jo-ds/jd/node_modules/lit/decorators.js";
|
|
3
|
+
import "../flash/jd-flash.js";
|
|
4
|
+
import "../footer/jd-footer.js";
|
|
5
|
+
import "../header/jd-header.js";
|
|
6
|
+
import "../heading/jd-heading.js";
|
|
7
|
+
import "../icon/jd-icon.js";
|
|
8
|
+
import "../icon-button/jd-icon-button.js";
|
|
9
|
+
import "../image-link/jd-image-link.js";
|
|
10
|
+
import "../link/jd-link.js";
|
|
11
|
+
import "../modal/jd-modal.js";
|
|
12
|
+
import "../navigation/jd-navigation.js";
|
|
13
|
+
import "../tag/jd-tag.js";
|
|
14
|
+
import a from "./jd-button.scss.js";
|
|
15
|
+
var v = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, n = (i, r, p, o) => {
|
|
16
|
+
for (var t = o > 1 ? void 0 : o ? _(r, p) : r, m = i.length - 1, s; m >= 0; m--)
|
|
17
|
+
(s = i[m]) && (t = (o ? s(r, p, t) : s(t)) || t);
|
|
18
|
+
return o && t && v(r, p, t), t;
|
|
19
|
+
};
|
|
20
|
+
let e = class extends u {
|
|
21
|
+
constructor() {
|
|
22
|
+
super(...arguments), this.type = "primary";
|
|
23
|
+
}
|
|
24
|
+
render() {
|
|
25
|
+
return f`
|
|
26
|
+
<button class=${this.type}>
|
|
27
|
+
<slot></slot>
|
|
28
|
+
</button>
|
|
29
|
+
`;
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
e.styles = l(a);
|
|
33
|
+
n([
|
|
34
|
+
y({ type: String })
|
|
35
|
+
], e.prototype, "type", 2);
|
|
36
|
+
e = n([
|
|
37
|
+
c("jd-button")
|
|
38
|
+
], e);
|
|
39
|
+
export {
|
|
40
|
+
e as JdButton
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=jd-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jd-button.js","sources":["../../../src/components/button/jd-button.ts"],"sourcesContent":["import { LitElement, html, unsafeCSS } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\nimport \"../../components\";\nimport style from \"./jd-button.scss?inline\";\n\n@customElement(\"jd-button\")\nexport class JdButton extends LitElement {\n static styles = unsafeCSS(style);\n\n /**\n * Button type, can be \"primary\" or \"secondary\".\n */\n @property({ type: String }) type: \"primary\" | \"secondary\" = \"primary\";\n\n render() {\n return html`\n <button class=${this.type}>\n <slot></slot>\n </button>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"jd-button\": JdButton;\n }\n}\n"],"names":["JdButton","LitElement","html","unsafeCSS","style","__decorateClass","property","customElement"],"mappings":";;;;;;;;;;;;;;;;;;;AAMa,IAAAA,IAAN,cAAuBC,EAAW;AAAA,EAAlC,cAAA;AAAA,UAAA,GAAA,SAAA,GAMuD,KAAA,OAAA;AAAA,EAAA;AAAA,EAE5D,SAAS;AACA,WAAAC;AAAA,sBACW,KAAK,IAAI;AAAA;AAAA;AAAA;AAAA,EAAA;AAK/B;AAfaF,EACJ,SAASG,EAAUC,CAAK;AAKHC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAQ,CAAA;AAAA,GANfN,EAMiB,WAAA,QAAA,CAAA;AANjBA,IAANK,EAAA;AAAA,EADNE,EAAc,WAAW;AAAA,GACbP,CAAA;"}
|