@folkehelseinstituttet/designsystem 0.17.1 → 0.17.3
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/fhi-icon-arrow-down-left.js +13 -13
- package/fhi-icon-arrow-down-left.js.map +1 -1
- package/fhi-icon-arrow-down-right.js +15 -15
- package/fhi-icon-arrow-down-right.js.map +1 -1
- package/fhi-icon-arrow-down.js +20 -20
- package/fhi-icon-arrow-down.js.map +1 -1
- package/fhi-icon-arrow-left.js +13 -13
- package/fhi-icon-arrow-left.js.map +1 -1
- package/fhi-icon-arrow-right-left.js +15 -15
- package/fhi-icon-arrow-right-left.js.map +1 -1
- package/fhi-icon-arrow-right.js +15 -15
- package/fhi-icon-arrow-right.js.map +1 -1
- package/fhi-icon-arrow-up-down.js +21 -21
- package/fhi-icon-arrow-up-down.js.map +1 -1
- package/fhi-icon-arrow-up-left.js +14 -14
- package/fhi-icon-arrow-up-left.js.map +1 -1
- package/fhi-icon-arrow-up-right.js +16 -16
- package/fhi-icon-arrow-up-right.js.map +1 -1
- package/fhi-icon-arrow-up.js +21 -21
- package/fhi-icon-arrow-up.js.map +1 -1
- package/fhi-icon-bell.js +14 -14
- package/fhi-icon-bell.js.map +1 -1
- package/fhi-icon-calendar.js +14 -14
- package/fhi-icon-calendar.js.map +1 -1
- package/fhi-icon-check.js +14 -14
- package/fhi-icon-check.js.map +1 -1
- package/fhi-icon-chevron-down.js +14 -14
- package/fhi-icon-chevron-down.js.map +1 -1
- package/fhi-icon-chevron-left.js +14 -14
- package/fhi-icon-chevron-left.js.map +1 -1
- package/fhi-icon-chevron-right.js +14 -14
- package/fhi-icon-chevron-right.js.map +1 -1
- package/fhi-icon-chevron-up.js +18 -18
- package/fhi-icon-chevron-up.js.map +1 -1
- package/fhi-icon-chevrons-down.js +14 -14
- package/fhi-icon-chevrons-down.js.map +1 -1
- package/fhi-icon-chevrons-left.js +14 -14
- package/fhi-icon-chevrons-left.js.map +1 -1
- package/fhi-icon-chevrons-right.js +14 -14
- package/fhi-icon-chevrons-right.js.map +1 -1
- package/fhi-icon-chevrons-up.js +16 -16
- package/fhi-icon-chevrons-up.js.map +1 -1
- package/fhi-icon-circle-arrow-down.js +20 -20
- package/fhi-icon-circle-arrow-down.js.map +1 -1
- package/fhi-icon-circle-arrow-left.js +20 -20
- package/fhi-icon-circle-arrow-left.js.map +1 -1
- package/fhi-icon-circle-arrow-right.js +20 -20
- package/fhi-icon-circle-arrow-right.js.map +1 -1
- package/fhi-icon-circle-arrow-up.js +21 -21
- package/fhi-icon-circle-arrow-up.js.map +1 -1
- package/fhi-icon-circle-check-big.js +14 -14
- package/fhi-icon-circle-check-big.js.map +1 -1
- package/fhi-icon-circle-check.js +14 -14
- package/fhi-icon-circle-check.js.map +1 -1
- package/fhi-icon-circle-chevron-down.js +20 -20
- package/fhi-icon-circle-chevron-down.js.map +1 -1
- package/fhi-icon-circle-chevron-left.js +14 -14
- package/fhi-icon-circle-chevron-left.js.map +1 -1
- package/fhi-icon-circle-chevron-right.js +14 -14
- package/fhi-icon-circle-chevron-right.js.map +1 -1
- package/fhi-icon-circle-chevron-up.js +21 -21
- package/fhi-icon-circle-chevron-up.js.map +1 -1
- package/fhi-icon-circle-exclamation.js +14 -14
- package/fhi-icon-circle-exclamation.js.map +1 -1
- package/fhi-icon-circle-info.js +20 -20
- package/fhi-icon-circle-info.js.map +1 -1
- package/fhi-icon-circle-minus.js +14 -14
- package/fhi-icon-circle-minus.js.map +1 -1
- package/fhi-icon-circle-plus.js +14 -14
- package/fhi-icon-circle-plus.js.map +1 -1
- package/fhi-icon-circle-question.js +15 -15
- package/fhi-icon-circle-question.js.map +1 -1
- package/fhi-icon-circle-x.js +14 -14
- package/fhi-icon-circle-x.js.map +1 -1
- package/fhi-icon-circle.js +14 -14
- package/fhi-icon-circle.js.map +1 -1
- package/fhi-icon-clock.js +14 -14
- package/fhi-icon-clock.js.map +1 -1
- package/fhi-icon-copy.js +16 -16
- package/fhi-icon-copy.js.map +1 -1
- package/fhi-icon-download.js +15 -15
- package/fhi-icon-download.js.map +1 -1
- package/fhi-icon-ellipsis-vertical.js +18 -18
- package/fhi-icon-ellipsis-vertical.js.map +1 -1
- package/fhi-icon-ellipsis.js +18 -18
- package/fhi-icon-ellipsis.js.map +1 -1
- package/fhi-icon-exclamation.js +14 -14
- package/fhi-icon-exclamation.js.map +1 -1
- package/fhi-icon-expand.js +16 -16
- package/fhi-icon-expand.js.map +1 -1
- package/fhi-icon-external-link.js +15 -15
- package/fhi-icon-external-link.js.map +1 -1
- package/fhi-icon-eye-off.js +14 -14
- package/fhi-icon-eye-off.js.map +1 -1
- package/fhi-icon-eye.js +15 -15
- package/fhi-icon-eye.js.map +1 -1
- package/fhi-icon-file.js +15 -15
- package/fhi-icon-file.js.map +1 -1
- package/fhi-icon-filter.js +15 -15
- package/fhi-icon-filter.js.map +1 -1
- package/fhi-icon-folder.js +15 -15
- package/fhi-icon-folder.js.map +1 -1
- package/fhi-icon-gear.js +14 -14
- package/fhi-icon-gear.js.map +1 -1
- package/fhi-icon-grid-9-dots.js +17 -17
- package/fhi-icon-grid-9-dots.js.map +1 -1
- package/fhi-icon-grip-horizontal.js +21 -21
- package/fhi-icon-grip-horizontal.js.map +1 -1
- package/fhi-icon-grip-vertical.js +23 -23
- package/fhi-icon-grip-vertical.js.map +1 -1
- package/fhi-icon-history.js +15 -15
- package/fhi-icon-history.js.map +1 -1
- package/fhi-icon-info.js +15 -15
- package/fhi-icon-info.js.map +1 -1
- package/fhi-icon-link-2-off.js +15 -15
- package/fhi-icon-link-2-off.js.map +1 -1
- package/fhi-icon-link-2.js +15 -15
- package/fhi-icon-link-2.js.map +1 -1
- package/fhi-icon-link.js +14 -14
- package/fhi-icon-link.js.map +1 -1
- package/fhi-icon-lock-open.js +16 -16
- package/fhi-icon-lock-open.js.map +1 -1
- package/fhi-icon-lock.js +14 -14
- package/fhi-icon-lock.js.map +1 -1
- package/fhi-icon-log-in.js +15 -15
- package/fhi-icon-log-in.js.map +1 -1
- package/fhi-icon-log-out.js +16 -16
- package/fhi-icon-log-out.js.map +1 -1
- package/fhi-icon-mail.js +14 -14
- package/fhi-icon-mail.js.map +1 -1
- package/fhi-icon-menu.js +14 -14
- package/fhi-icon-menu.js.map +1 -1
- package/fhi-icon-message.js +15 -15
- package/fhi-icon-message.js.map +1 -1
- package/fhi-icon-minus.js +14 -14
- package/fhi-icon-minus.js.map +1 -1
- package/fhi-icon-octagon-alert.js +12 -12
- package/fhi-icon-octagon-alert.js.map +1 -1
- package/fhi-icon-paperclip.js +18 -18
- package/fhi-icon-paperclip.js.map +1 -1
- package/fhi-icon-pencil.js +15 -15
- package/fhi-icon-pencil.js.map +1 -1
- package/fhi-icon-phone.js +15 -15
- package/fhi-icon-phone.js.map +1 -1
- package/fhi-icon-pin-off.js +16 -16
- package/fhi-icon-pin-off.js.map +1 -1
- package/fhi-icon-pin.js +16 -16
- package/fhi-icon-pin.js.map +1 -1
- package/fhi-icon-plus.js +16 -16
- package/fhi-icon-plus.js.map +1 -1
- package/fhi-icon-printer.js +15 -15
- package/fhi-icon-printer.js.map +1 -1
- package/fhi-icon-question.js +15 -15
- package/fhi-icon-question.js.map +1 -1
- package/fhi-icon-refresh.js +15 -15
- package/fhi-icon-refresh.js.map +1 -1
- package/fhi-icon-rotate-left.js +15 -15
- package/fhi-icon-rotate-left.js.map +1 -1
- package/fhi-icon-rotate-right.js +20 -20
- package/fhi-icon-rotate-right.js.map +1 -1
- package/fhi-icon-search.js +14 -14
- package/fhi-icon-search.js.map +1 -1
- package/fhi-icon-share.js +14 -14
- package/fhi-icon-share.js.map +1 -1
- package/fhi-icon-sheet.js +17 -17
- package/fhi-icon-sheet.js.map +1 -1
- package/fhi-icon-square-check-big.js +15 -15
- package/fhi-icon-square-check-big.js.map +1 -1
- package/fhi-icon-square-check.js +21 -21
- package/fhi-icon-square-check.js.map +1 -1
- package/fhi-icon-square-pen.js +21 -21
- package/fhi-icon-square-pen.js.map +1 -1
- package/fhi-icon-square-x.js +21 -21
- package/fhi-icon-square-x.js.map +1 -1
- package/fhi-icon-square.js +14 -14
- package/fhi-icon-square.js.map +1 -1
- package/fhi-icon-trash.js +14 -14
- package/fhi-icon-trash.js.map +1 -1
- package/fhi-icon-triangle-alert.js +15 -15
- package/fhi-icon-triangle-alert.js.map +1 -1
- package/fhi-icon-upload.js +16 -16
- package/fhi-icon-upload.js.map +1 -1
- package/fhi-icon-user.js +15 -15
- package/fhi-icon-user.js.map +1 -1
- package/fhi-icon-x.js +15 -15
- package/fhi-icon-x.js.map +1 -1
- package/package.json +1 -1
- package/theme/default.css +1 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
var
|
|
1
|
+
import { i as c, n as h, a as m, x as u, t as p } from "./property-DYwjZ69W.js";
|
|
2
|
+
var w = Object.defineProperty, f = Object.getOwnPropertyDescriptor, l = (a, r, s, i) => {
|
|
3
3
|
for (var e = i > 1 ? void 0 : i ? f(r, s) : r, n = a.length - 1, o; n >= 0; n--)
|
|
4
4
|
(o = a[n]) && (e = (i ? o(r, s, e) : o(e)) || e);
|
|
5
|
-
return i && e &&
|
|
5
|
+
return i && e && w(r, s, e), e;
|
|
6
6
|
};
|
|
7
|
-
const
|
|
8
|
-
let t = class extends
|
|
7
|
+
const g = "fhi-icon-arrow-down-left";
|
|
8
|
+
let t = class extends m {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.color = "currentcolor", this.size = "medium";
|
|
11
11
|
}
|
|
12
12
|
get _size() {
|
|
13
13
|
switch (this.size) {
|
|
14
14
|
case "xsmall":
|
|
15
|
-
return "
|
|
15
|
+
return "1rem";
|
|
16
16
|
case "small":
|
|
17
|
-
return "
|
|
17
|
+
return "1.25rem";
|
|
18
18
|
case "medium":
|
|
19
|
-
return "
|
|
19
|
+
return "1.5rem";
|
|
20
20
|
case "large":
|
|
21
|
-
return "
|
|
21
|
+
return "2rem";
|
|
22
22
|
default:
|
|
23
|
-
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '
|
|
23
|
+
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`), "1.5rem") : `${this.size}px`;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
@@ -29,7 +29,7 @@ let t = class extends c {
|
|
|
29
29
|
`;
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
t.styles =
|
|
32
|
+
t.styles = c`
|
|
33
33
|
:host {
|
|
34
34
|
display: flex;
|
|
35
35
|
max-height: min-content;
|
|
@@ -43,10 +43,10 @@ l([
|
|
|
43
43
|
h({ type: String })
|
|
44
44
|
], t.prototype, "size", 2);
|
|
45
45
|
t = l([
|
|
46
|
-
|
|
46
|
+
p(g)
|
|
47
47
|
], t);
|
|
48
48
|
export {
|
|
49
49
|
t as FhiIconArrowDownLeft,
|
|
50
|
-
|
|
50
|
+
g as FhiIconArrowDownLeftSelector
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=fhi-icon-arrow-down-left.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fhi-icon-arrow-down-left.js","sources":["../../src/components/icons/fhi-icon-arrow-down-left.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowDownLeftSelector = \"fhi-icon-arrow-down-left\";\n\n@customElement(FhiIconArrowDownLeftSelector)\nexport class FhiIconArrowDownLeft extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '
|
|
1
|
+
{"version":3,"file":"fhi-icon-arrow-down-left.js","sources":["../../src/components/icons/fhi-icon-arrow-down-left.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowDownLeftSelector = \"fhi-icon-arrow-down-left\";\n\n@customElement(FhiIconArrowDownLeftSelector)\nexport class FhiIconArrowDownLeft extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '1rem'; \n case 'small':\n return '1.25rem';\n case 'medium':\n return '1.5rem'; \n case 'large':\n return '2rem'; \n default:\n if (String(this.size).endsWith('px') || String(this.size).endsWith('rem')) {\n return String(this.size);\n }\n if (isNaN(Number(this.size))) {\n console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`)\n return '1.5rem';\n }\n return `${this.size}px`;\n }\n }\n\n render() {\n return html`\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"${this._size}\" height=\"${this._size}\" fill=\"${this.color}\"><path d=\"M16.526 6.418a.75.75 0 0 1 1.056 1.056l-.052.056-8.72 8.72H17a.75.75 0 0 1 0 1.5H7a.75.75 0 0 1-.75-.75V7a.75.75 0 1 1 1.5 0v8.19l8.72-8.72z\"/></svg>\n `;\n }\n \n static styles = css`\n :host {\n display: flex;\n max-height: min-content;\n max-width: min-content;\n }\n `;\n }\n"],"names":["FhiIconArrowDownLeftSelector","FhiIconArrowDownLeft","LitElement","html","css","__decorateClass","property","customElement"],"mappings":";;;;;;AAOO,MAAMA,IAA+B;AAGrC,IAAMC,IAAN,cAAmCC,EAAW;AAAA,EAA9C,cAAA;AAAA,UAAA,GAAA,SAAA,GACuB,KAAA,QAAgB,gBAChB,KAAA,OAA0F;AAAA,EAAA;AAAA,EACtH,IAAY,QAAgB;AAC1B,YAAQ,KAAK,MAAA;AAAA,MACX,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT;AACE,eAAI,OAAO,KAAK,IAAI,EAAE,SAAS,IAAI,KAAK,OAAO,KAAK,IAAI,EAAE,SAAS,KAAK,IAC/D,OAAO,KAAK,IAAI,IAErB,MAAM,OAAO,KAAK,IAAI,CAAC,KACzB,QAAQ,KAAK,uBAAuB,KAAK,IAAI,0CAA0C,GAChF,YAEF,GAAG,KAAK,IAAI;AAAA,IAAA;AAAA,EAEzB;AAAA,EAEA,SAAS;AACP,WAAOC;AAAAA,2EACgE,KAAK,KAAK,aAAa,KAAK,KAAK,WAAW,KAAK,KAAK;AAAA;AAAA,EAE/H;AASA;AAtCWF,EA+BJ,SAASG;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AA9BYC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GADfL,EACiB,WAAA,SAAA,CAAA;AACAI,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAFfL,EAEiB,WAAA,QAAA,CAAA;AAFjBA,IAANI,EAAA;AAAA,EADNE,EAAcP,CAA4B;AAAA,GAC9BC,CAAA;"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
var
|
|
3
|
-
for (var e =
|
|
4
|
-
(o = l[n]) && (e = (
|
|
5
|
-
return
|
|
1
|
+
import { i as c, n as a, a as m, x as u, t as p } from "./property-DYwjZ69W.js";
|
|
2
|
+
var g = Object.defineProperty, w = Object.getOwnPropertyDescriptor, h = (l, r, s, i) => {
|
|
3
|
+
for (var e = i > 1 ? void 0 : i ? w(r, s) : r, n = l.length - 1, o; n >= 0; n--)
|
|
4
|
+
(o = l[n]) && (e = (i ? o(r, s, e) : o(e)) || e);
|
|
5
|
+
return i && e && g(r, s, e), e;
|
|
6
6
|
};
|
|
7
|
-
const
|
|
8
|
-
let t = class extends
|
|
7
|
+
const z = "fhi-icon-arrow-down-right";
|
|
8
|
+
let t = class extends m {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.color = "currentcolor", this.size = "medium";
|
|
11
11
|
}
|
|
12
12
|
get _size() {
|
|
13
13
|
switch (this.size) {
|
|
14
14
|
case "xsmall":
|
|
15
|
-
return "
|
|
15
|
+
return "1rem";
|
|
16
16
|
case "small":
|
|
17
|
-
return "
|
|
17
|
+
return "1.25rem";
|
|
18
18
|
case "medium":
|
|
19
|
-
return "
|
|
19
|
+
return "1.5rem";
|
|
20
20
|
case "large":
|
|
21
|
-
return "
|
|
21
|
+
return "2rem";
|
|
22
22
|
default:
|
|
23
|
-
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '
|
|
23
|
+
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`), "1.5rem") : `${this.size}px`;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
@@ -29,7 +29,7 @@ let t = class extends c {
|
|
|
29
29
|
`;
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
t.styles =
|
|
32
|
+
t.styles = c`
|
|
33
33
|
:host {
|
|
34
34
|
display: flex;
|
|
35
35
|
max-height: min-content;
|
|
@@ -43,10 +43,10 @@ h([
|
|
|
43
43
|
a({ type: String })
|
|
44
44
|
], t.prototype, "size", 2);
|
|
45
45
|
t = h([
|
|
46
|
-
|
|
46
|
+
p(z)
|
|
47
47
|
], t);
|
|
48
48
|
export {
|
|
49
49
|
t as FhiIconArrowDownRight,
|
|
50
|
-
|
|
50
|
+
z as FhiIconArrowDownRightSelector
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=fhi-icon-arrow-down-right.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fhi-icon-arrow-down-right.js","sources":["../../src/components/icons/fhi-icon-arrow-down-right.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowDownRightSelector = \"fhi-icon-arrow-down-right\";\n\n@customElement(FhiIconArrowDownRightSelector)\nexport class FhiIconArrowDownRight extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '
|
|
1
|
+
{"version":3,"file":"fhi-icon-arrow-down-right.js","sources":["../../src/components/icons/fhi-icon-arrow-down-right.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowDownRightSelector = \"fhi-icon-arrow-down-right\";\n\n@customElement(FhiIconArrowDownRightSelector)\nexport class FhiIconArrowDownRight extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '1rem'; \n case 'small':\n return '1.25rem';\n case 'medium':\n return '1.5rem'; \n case 'large':\n return '2rem'; \n default:\n if (String(this.size).endsWith('px') || String(this.size).endsWith('rem')) {\n return String(this.size);\n }\n if (isNaN(Number(this.size))) {\n console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`)\n return '1.5rem';\n }\n return `${this.size}px`;\n }\n }\n\n render() {\n return html`\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"${this._size}\" height=\"${this._size}\" fill=\"${this.color}\"><path d=\"M6.47 6.47a.75.75 0 0 1 1.004-.052l.056.052 8.72 8.72V7a.75.75 0 0 1 1.5 0v10a.75.75 0 0 1-.75.75H7a.75.75 0 0 1 0-1.5h8.19L6.47 7.53l-.052-.056A.75.75 0 0 1 6.47 6.47\"/></svg>\n `;\n }\n \n static styles = css`\n :host {\n display: flex;\n max-height: min-content;\n max-width: min-content;\n }\n `;\n }\n"],"names":["FhiIconArrowDownRightSelector","FhiIconArrowDownRight","LitElement","html","css","__decorateClass","property","customElement"],"mappings":";;;;;;AAOO,MAAMA,IAAgC;AAGtC,IAAMC,IAAN,cAAoCC,EAAW;AAAA,EAA/C,cAAA;AAAA,UAAA,GAAA,SAAA,GACuB,KAAA,QAAgB,gBAChB,KAAA,OAA0F;AAAA,EAAA;AAAA,EACtH,IAAY,QAAgB;AAC1B,YAAQ,KAAK,MAAA;AAAA,MACX,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT;AACE,eAAI,OAAO,KAAK,IAAI,EAAE,SAAS,IAAI,KAAK,OAAO,KAAK,IAAI,EAAE,SAAS,KAAK,IAC/D,OAAO,KAAK,IAAI,IAErB,MAAM,OAAO,KAAK,IAAI,CAAC,KACzB,QAAQ,KAAK,uBAAuB,KAAK,IAAI,0CAA0C,GAChF,YAEF,GAAG,KAAK,IAAI;AAAA,IAAA;AAAA,EAEzB;AAAA,EAEA,SAAS;AACP,WAAOC;AAAAA,2EACgE,KAAK,KAAK,aAAa,KAAK,KAAK,WAAW,KAAK,KAAK;AAAA;AAAA,EAE/H;AASA;AAtCWF,EA+BJ,SAASG;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AA9BYC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GADfL,EACiB,WAAA,SAAA,CAAA;AACAI,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAFfL,EAEiB,WAAA,QAAA,CAAA;AAFjBA,IAANI,EAAA;AAAA,EADNE,EAAcP,CAA6B;AAAA,GAC/BC,CAAA;"}
|
package/fhi-icon-arrow-down.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
var
|
|
3
|
-
for (var e = i > 1 ? void 0 : i ?
|
|
4
|
-
(o = a[n]) && (e = (i ? o(
|
|
5
|
-
return i && e &&
|
|
1
|
+
import { i as c, n as h, a as m, x as u, t as p } from "./property-DYwjZ69W.js";
|
|
2
|
+
var w = Object.defineProperty, g = Object.getOwnPropertyDescriptor, l = (a, t, s, i) => {
|
|
3
|
+
for (var e = i > 1 ? void 0 : i ? g(t, s) : t, n = a.length - 1, o; n >= 0; n--)
|
|
4
|
+
(o = a[n]) && (e = (i ? o(t, s, e) : o(e)) || e);
|
|
5
|
+
return i && e && w(t, s, e), e;
|
|
6
6
|
};
|
|
7
|
-
const
|
|
8
|
-
let
|
|
7
|
+
const z = "fhi-icon-arrow-down";
|
|
8
|
+
let r = class extends m {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.color = "currentcolor", this.size = "medium";
|
|
11
11
|
}
|
|
12
12
|
get _size() {
|
|
13
13
|
switch (this.size) {
|
|
14
14
|
case "xsmall":
|
|
15
|
-
return "
|
|
15
|
+
return "1rem";
|
|
16
16
|
case "small":
|
|
17
|
-
return "
|
|
17
|
+
return "1.25rem";
|
|
18
18
|
case "medium":
|
|
19
|
-
return "
|
|
19
|
+
return "1.5rem";
|
|
20
20
|
case "large":
|
|
21
|
-
return "
|
|
21
|
+
return "2rem";
|
|
22
22
|
default:
|
|
23
|
-
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '
|
|
23
|
+
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`), "1.5rem") : `${this.size}px`;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
@@ -29,7 +29,7 @@ let t = class extends c {
|
|
|
29
29
|
`;
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
r.styles = c`
|
|
33
33
|
:host {
|
|
34
34
|
display: flex;
|
|
35
35
|
max-height: min-content;
|
|
@@ -38,15 +38,15 @@ t.styles = p`
|
|
|
38
38
|
`;
|
|
39
39
|
l([
|
|
40
40
|
h({ type: String })
|
|
41
|
-
],
|
|
41
|
+
], r.prototype, "color", 2);
|
|
42
42
|
l([
|
|
43
43
|
h({ type: String })
|
|
44
|
-
],
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
],
|
|
44
|
+
], r.prototype, "size", 2);
|
|
45
|
+
r = l([
|
|
46
|
+
p(z)
|
|
47
|
+
], r);
|
|
48
48
|
export {
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
r as FhiIconArrowDown,
|
|
50
|
+
z as FhiIconArrowDownSelector
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=fhi-icon-arrow-down.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fhi-icon-arrow-down.js","sources":["../../src/components/icons/fhi-icon-arrow-down.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowDownSelector = \"fhi-icon-arrow-down\";\n\n@customElement(FhiIconArrowDownSelector)\nexport class FhiIconArrowDown extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '
|
|
1
|
+
{"version":3,"file":"fhi-icon-arrow-down.js","sources":["../../src/components/icons/fhi-icon-arrow-down.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowDownSelector = \"fhi-icon-arrow-down\";\n\n@customElement(FhiIconArrowDownSelector)\nexport class FhiIconArrowDown extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '1rem'; \n case 'small':\n return '1.25rem';\n case 'medium':\n return '1.5rem'; \n case 'large':\n return '2rem'; \n default:\n if (String(this.size).endsWith('px') || String(this.size).endsWith('rem')) {\n return String(this.size);\n }\n if (isNaN(Number(this.size))) {\n console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`)\n return '1.5rem';\n }\n return `${this.size}px`;\n }\n }\n\n render() {\n return html`\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"${this._size}\" height=\"${this._size}\" fill=\"${this.color}\"><path d=\"M11.25 5a.75.75 0 0 1 1.5 0v12.19l5.72-5.72a.75.75 0 1 1 1.06 1.06l-7 7a.75.75 0 0 1-1.003.052l-.057-.052-7-7-.052-.056a.75.75 0 0 1 1.056-1.056l.056.052 5.72 5.72z\"/></svg>\n `;\n }\n \n static styles = css`\n :host {\n display: flex;\n max-height: min-content;\n max-width: min-content;\n }\n `;\n }\n"],"names":["FhiIconArrowDownSelector","FhiIconArrowDown","LitElement","html","css","__decorateClass","property","customElement"],"mappings":";;;;;;AAOO,MAAMA,IAA2B;AAGjC,IAAMC,IAAN,cAA+BC,EAAW;AAAA,EAA1C,cAAA;AAAA,UAAA,GAAA,SAAA,GACuB,KAAA,QAAgB,gBAChB,KAAA,OAA0F;AAAA,EAAA;AAAA,EACtH,IAAY,QAAgB;AAC1B,YAAQ,KAAK,MAAA;AAAA,MACX,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT;AACE,eAAI,OAAO,KAAK,IAAI,EAAE,SAAS,IAAI,KAAK,OAAO,KAAK,IAAI,EAAE,SAAS,KAAK,IAC/D,OAAO,KAAK,IAAI,IAErB,MAAM,OAAO,KAAK,IAAI,CAAC,KACzB,QAAQ,KAAK,uBAAuB,KAAK,IAAI,0CAA0C,GAChF,YAEF,GAAG,KAAK,IAAI;AAAA,IAAA;AAAA,EAEzB;AAAA,EAEA,SAAS;AACP,WAAOC;AAAAA,2EACgE,KAAK,KAAK,aAAa,KAAK,KAAK,WAAW,KAAK,KAAK;AAAA;AAAA,EAE/H;AASA;AAtCWF,EA+BJ,SAASG;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AA9BYC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GADfL,EACiB,WAAA,SAAA,CAAA;AACAI,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAFfL,EAEiB,WAAA,QAAA,CAAA;AAFjBA,IAANI,EAAA;AAAA,EADNE,EAAcP,CAAwB;AAAA,GAC1BC,CAAA;"}
|
package/fhi-icon-arrow-left.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
var f = Object.defineProperty,
|
|
3
|
-
for (var e = i > 1 ? void 0 : i ?
|
|
1
|
+
import { i as c, n as h, a as m, x as u, t as p } from "./property-DYwjZ69W.js";
|
|
2
|
+
var f = Object.defineProperty, g = Object.getOwnPropertyDescriptor, l = (a, r, s, i) => {
|
|
3
|
+
for (var e = i > 1 ? void 0 : i ? g(r, s) : r, n = a.length - 1, o; n >= 0; n--)
|
|
4
4
|
(o = a[n]) && (e = (i ? o(r, s, e) : o(e)) || e);
|
|
5
5
|
return i && e && f(r, s, e), e;
|
|
6
6
|
};
|
|
7
|
-
const
|
|
8
|
-
let t = class extends
|
|
7
|
+
const z = "fhi-icon-arrow-left";
|
|
8
|
+
let t = class extends m {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.color = "currentcolor", this.size = "medium";
|
|
11
11
|
}
|
|
12
12
|
get _size() {
|
|
13
13
|
switch (this.size) {
|
|
14
14
|
case "xsmall":
|
|
15
|
-
return "
|
|
15
|
+
return "1rem";
|
|
16
16
|
case "small":
|
|
17
|
-
return "
|
|
17
|
+
return "1.25rem";
|
|
18
18
|
case "medium":
|
|
19
|
-
return "
|
|
19
|
+
return "1.5rem";
|
|
20
20
|
case "large":
|
|
21
|
-
return "
|
|
21
|
+
return "2rem";
|
|
22
22
|
default:
|
|
23
|
-
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '
|
|
23
|
+
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`), "1.5rem") : `${this.size}px`;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
@@ -29,7 +29,7 @@ let t = class extends c {
|
|
|
29
29
|
`;
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
t.styles =
|
|
32
|
+
t.styles = c`
|
|
33
33
|
:host {
|
|
34
34
|
display: flex;
|
|
35
35
|
max-height: min-content;
|
|
@@ -43,10 +43,10 @@ l([
|
|
|
43
43
|
h({ type: String })
|
|
44
44
|
], t.prototype, "size", 2);
|
|
45
45
|
t = l([
|
|
46
|
-
|
|
46
|
+
p(z)
|
|
47
47
|
], t);
|
|
48
48
|
export {
|
|
49
49
|
t as FhiIconArrowLeft,
|
|
50
|
-
|
|
50
|
+
z as FhiIconArrowLeftSelector
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=fhi-icon-arrow-left.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fhi-icon-arrow-left.js","sources":["../../src/components/icons/fhi-icon-arrow-left.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowLeftSelector = \"fhi-icon-arrow-left\";\n\n@customElement(FhiIconArrowLeftSelector)\nexport class FhiIconArrowLeft extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '
|
|
1
|
+
{"version":3,"file":"fhi-icon-arrow-left.js","sources":["../../src/components/icons/fhi-icon-arrow-left.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowLeftSelector = \"fhi-icon-arrow-left\";\n\n@customElement(FhiIconArrowLeftSelector)\nexport class FhiIconArrowLeft extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '1rem'; \n case 'small':\n return '1.25rem';\n case 'medium':\n return '1.5rem'; \n case 'large':\n return '2rem'; \n default:\n if (String(this.size).endsWith('px') || String(this.size).endsWith('rem')) {\n return String(this.size);\n }\n if (isNaN(Number(this.size))) {\n console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`)\n return '1.5rem';\n }\n return `${this.size}px`;\n }\n }\n\n render() {\n return html`\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"${this._size}\" height=\"${this._size}\" fill=\"${this.color}\"><path d=\"M11.47 4.47a.75.75 0 1 1 1.06 1.06l-5.72 5.72H19a.75.75 0 1 1 0 1.5H6.81l5.72 5.72.052.056a.75.75 0 0 1-1.056 1.056l-.056-.052-7-7a.75.75 0 0 1 0-1.06z\"/></svg>\n `;\n }\n \n static styles = css`\n :host {\n display: flex;\n max-height: min-content;\n max-width: min-content;\n }\n `;\n }\n"],"names":["FhiIconArrowLeftSelector","FhiIconArrowLeft","LitElement","html","css","__decorateClass","property","customElement"],"mappings":";;;;;;AAOO,MAAMA,IAA2B;AAGjC,IAAMC,IAAN,cAA+BC,EAAW;AAAA,EAA1C,cAAA;AAAA,UAAA,GAAA,SAAA,GACuB,KAAA,QAAgB,gBAChB,KAAA,OAA0F;AAAA,EAAA;AAAA,EACtH,IAAY,QAAgB;AAC1B,YAAQ,KAAK,MAAA;AAAA,MACX,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT;AACE,eAAI,OAAO,KAAK,IAAI,EAAE,SAAS,IAAI,KAAK,OAAO,KAAK,IAAI,EAAE,SAAS,KAAK,IAC/D,OAAO,KAAK,IAAI,IAErB,MAAM,OAAO,KAAK,IAAI,CAAC,KACzB,QAAQ,KAAK,uBAAuB,KAAK,IAAI,0CAA0C,GAChF,YAEF,GAAG,KAAK,IAAI;AAAA,IAAA;AAAA,EAEzB;AAAA,EAEA,SAAS;AACP,WAAOC;AAAAA,2EACgE,KAAK,KAAK,aAAa,KAAK,KAAK,WAAW,KAAK,KAAK;AAAA;AAAA,EAE/H;AASA;AAtCWF,EA+BJ,SAASG;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AA9BYC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GADfL,EACiB,WAAA,SAAA,CAAA;AACAI,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAFfL,EAEiB,WAAA,QAAA,CAAA;AAFjBA,IAANI,EAAA;AAAA,EADNE,EAAcP,CAAwB;AAAA,GAC1BC,CAAA;"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
var
|
|
3
|
-
for (var e =
|
|
4
|
-
(l = a[n]) && (e = (
|
|
5
|
-
return
|
|
1
|
+
import { i as c, n as h, a as m, x as u, t as p } from "./property-DYwjZ69W.js";
|
|
2
|
+
var g = Object.defineProperty, f = Object.getOwnPropertyDescriptor, o = (a, r, s, i) => {
|
|
3
|
+
for (var e = i > 1 ? void 0 : i ? f(r, s) : r, n = a.length - 1, l; n >= 0; n--)
|
|
4
|
+
(l = a[n]) && (e = (i ? l(r, s, e) : l(e)) || e);
|
|
5
|
+
return i && e && g(r, s, e), e;
|
|
6
6
|
};
|
|
7
|
-
const
|
|
8
|
-
let t = class extends
|
|
7
|
+
const z = "fhi-icon-arrow-right-left";
|
|
8
|
+
let t = class extends m {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.color = "currentcolor", this.size = "medium";
|
|
11
11
|
}
|
|
12
12
|
get _size() {
|
|
13
13
|
switch (this.size) {
|
|
14
14
|
case "xsmall":
|
|
15
|
-
return "
|
|
15
|
+
return "1rem";
|
|
16
16
|
case "small":
|
|
17
|
-
return "
|
|
17
|
+
return "1.25rem";
|
|
18
18
|
case "medium":
|
|
19
|
-
return "
|
|
19
|
+
return "1.5rem";
|
|
20
20
|
case "large":
|
|
21
|
-
return "
|
|
21
|
+
return "2rem";
|
|
22
22
|
default:
|
|
23
|
-
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '
|
|
23
|
+
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`), "1.5rem") : `${this.size}px`;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
@@ -29,7 +29,7 @@ let t = class extends c {
|
|
|
29
29
|
`;
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
t.styles =
|
|
32
|
+
t.styles = c`
|
|
33
33
|
:host {
|
|
34
34
|
display: flex;
|
|
35
35
|
max-height: min-content;
|
|
@@ -43,10 +43,10 @@ o([
|
|
|
43
43
|
h({ type: String })
|
|
44
44
|
], t.prototype, "size", 2);
|
|
45
45
|
t = o([
|
|
46
|
-
|
|
46
|
+
p(z)
|
|
47
47
|
], t);
|
|
48
48
|
export {
|
|
49
49
|
t as FhiIconArrowRightLeft,
|
|
50
|
-
|
|
50
|
+
z as FhiIconArrowRightLeftSelector
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=fhi-icon-arrow-right-left.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fhi-icon-arrow-right-left.js","sources":["../../src/components/icons/fhi-icon-arrow-right-left.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowRightLeftSelector = \"fhi-icon-arrow-right-left\";\n\n@customElement(FhiIconArrowRightLeftSelector)\nexport class FhiIconArrowRightLeft extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '
|
|
1
|
+
{"version":3,"file":"fhi-icon-arrow-right-left.js","sources":["../../src/components/icons/fhi-icon-arrow-right-left.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowRightLeftSelector = \"fhi-icon-arrow-right-left\";\n\n@customElement(FhiIconArrowRightLeftSelector)\nexport class FhiIconArrowRightLeft extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '1rem'; \n case 'small':\n return '1.25rem';\n case 'medium':\n return '1.5rem'; \n case 'large':\n return '2rem'; \n default:\n if (String(this.size).endsWith('px') || String(this.size).endsWith('rem')) {\n return String(this.size);\n }\n if (isNaN(Number(this.size))) {\n console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`)\n return '1.5rem';\n }\n return `${this.size}px`;\n }\n }\n\n render() {\n return html`\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"${this._size}\" height=\"${this._size}\" fill=\"${this.color}\"><path d=\"M7.47 12.47a.75.75 0 0 1 1.06 1.06l-2.72 2.72H20a.75.75 0 0 1 0 1.5H5.81l2.72 2.72.052.056a.75.75 0 0 1-1.056 1.056l-.056-.052-4-4a.75.75 0 0 1 0-1.06zm8-10a.75.75 0 0 1 1.004-.052l.056.052 4 4 .052.056a.75.75 0 0 1-.052 1.004l-4 4a.75.75 0 1 1-1.06-1.06l2.72-2.72H4a.75.75 0 0 1 0-1.5h14.19l-2.72-2.72-.052-.056a.75.75 0 0 1 .052-1.004\"/></svg>\n `;\n }\n \n static styles = css`\n :host {\n display: flex;\n max-height: min-content;\n max-width: min-content;\n }\n `;\n }\n"],"names":["FhiIconArrowRightLeftSelector","FhiIconArrowRightLeft","LitElement","html","css","__decorateClass","property","customElement"],"mappings":";;;;;;AAOO,MAAMA,IAAgC;AAGtC,IAAMC,IAAN,cAAoCC,EAAW;AAAA,EAA/C,cAAA;AAAA,UAAA,GAAA,SAAA,GACuB,KAAA,QAAgB,gBAChB,KAAA,OAA0F;AAAA,EAAA;AAAA,EACtH,IAAY,QAAgB;AAC1B,YAAQ,KAAK,MAAA;AAAA,MACX,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT;AACE,eAAI,OAAO,KAAK,IAAI,EAAE,SAAS,IAAI,KAAK,OAAO,KAAK,IAAI,EAAE,SAAS,KAAK,IAC/D,OAAO,KAAK,IAAI,IAErB,MAAM,OAAO,KAAK,IAAI,CAAC,KACzB,QAAQ,KAAK,uBAAuB,KAAK,IAAI,0CAA0C,GAChF,YAEF,GAAG,KAAK,IAAI;AAAA,IAAA;AAAA,EAEzB;AAAA,EAEA,SAAS;AACP,WAAOC;AAAAA,2EACgE,KAAK,KAAK,aAAa,KAAK,KAAK,WAAW,KAAK,KAAK;AAAA;AAAA,EAE/H;AASA;AAtCWF,EA+BJ,SAASG;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AA9BYC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GADfL,EACiB,WAAA,SAAA,CAAA;AACAI,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAFfL,EAEiB,WAAA,QAAA,CAAA;AAFjBA,IAANI,EAAA;AAAA,EADNE,EAAcP,CAA6B;AAAA,GAC/BC,CAAA;"}
|
package/fhi-icon-arrow-right.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
var
|
|
3
|
-
for (var e =
|
|
4
|
-
(o = l[n]) && (e = (
|
|
5
|
-
return
|
|
1
|
+
import { i as c, n as a, a as m, x as u, t as p } from "./property-DYwjZ69W.js";
|
|
2
|
+
var g = Object.defineProperty, w = Object.getOwnPropertyDescriptor, h = (l, r, s, i) => {
|
|
3
|
+
for (var e = i > 1 ? void 0 : i ? w(r, s) : r, n = l.length - 1, o; n >= 0; n--)
|
|
4
|
+
(o = l[n]) && (e = (i ? o(r, s, e) : o(e)) || e);
|
|
5
|
+
return i && e && g(r, s, e), e;
|
|
6
6
|
};
|
|
7
|
-
const
|
|
8
|
-
let t = class extends
|
|
7
|
+
const z = "fhi-icon-arrow-right";
|
|
8
|
+
let t = class extends m {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.color = "currentcolor", this.size = "medium";
|
|
11
11
|
}
|
|
12
12
|
get _size() {
|
|
13
13
|
switch (this.size) {
|
|
14
14
|
case "xsmall":
|
|
15
|
-
return "
|
|
15
|
+
return "1rem";
|
|
16
16
|
case "small":
|
|
17
|
-
return "
|
|
17
|
+
return "1.25rem";
|
|
18
18
|
case "medium":
|
|
19
|
-
return "
|
|
19
|
+
return "1.5rem";
|
|
20
20
|
case "large":
|
|
21
|
-
return "
|
|
21
|
+
return "2rem";
|
|
22
22
|
default:
|
|
23
|
-
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '
|
|
23
|
+
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`), "1.5rem") : `${this.size}px`;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
@@ -29,7 +29,7 @@ let t = class extends c {
|
|
|
29
29
|
`;
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
t.styles =
|
|
32
|
+
t.styles = c`
|
|
33
33
|
:host {
|
|
34
34
|
display: flex;
|
|
35
35
|
max-height: min-content;
|
|
@@ -43,10 +43,10 @@ h([
|
|
|
43
43
|
a({ type: String })
|
|
44
44
|
], t.prototype, "size", 2);
|
|
45
45
|
t = h([
|
|
46
|
-
|
|
46
|
+
p(z)
|
|
47
47
|
], t);
|
|
48
48
|
export {
|
|
49
49
|
t as FhiIconArrowRight,
|
|
50
|
-
|
|
50
|
+
z as FhiIconArrowRightSelector
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=fhi-icon-arrow-right.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fhi-icon-arrow-right.js","sources":["../../src/components/icons/fhi-icon-arrow-right.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowRightSelector = \"fhi-icon-arrow-right\";\n\n@customElement(FhiIconArrowRightSelector)\nexport class FhiIconArrowRight extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '
|
|
1
|
+
{"version":3,"file":"fhi-icon-arrow-right.js","sources":["../../src/components/icons/fhi-icon-arrow-right.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowRightSelector = \"fhi-icon-arrow-right\";\n\n@customElement(FhiIconArrowRightSelector)\nexport class FhiIconArrowRight extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '1rem'; \n case 'small':\n return '1.25rem';\n case 'medium':\n return '1.5rem'; \n case 'large':\n return '2rem'; \n default:\n if (String(this.size).endsWith('px') || String(this.size).endsWith('rem')) {\n return String(this.size);\n }\n if (isNaN(Number(this.size))) {\n console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`)\n return '1.5rem';\n }\n return `${this.size}px`;\n }\n }\n\n render() {\n return html`\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"${this._size}\" height=\"${this._size}\" fill=\"${this.color}\"><path d=\"M11.47 4.47a.75.75 0 0 1 1.004-.052l.056.052 7 7 .052.056a.75.75 0 0 1 0 .948l-.052.056-7 7a.75.75 0 1 1-1.06-1.06l5.72-5.72H5a.75.75 0 0 1 0-1.5h12.19l-5.72-5.72-.052-.056a.75.75 0 0 1 .052-1.004\"/></svg>\n `;\n }\n \n static styles = css`\n :host {\n display: flex;\n max-height: min-content;\n max-width: min-content;\n }\n `;\n }\n"],"names":["FhiIconArrowRightSelector","FhiIconArrowRight","LitElement","html","css","__decorateClass","property","customElement"],"mappings":";;;;;;AAOO,MAAMA,IAA4B;AAGlC,IAAMC,IAAN,cAAgCC,EAAW;AAAA,EAA3C,cAAA;AAAA,UAAA,GAAA,SAAA,GACuB,KAAA,QAAgB,gBAChB,KAAA,OAA0F;AAAA,EAAA;AAAA,EACtH,IAAY,QAAgB;AAC1B,YAAQ,KAAK,MAAA;AAAA,MACX,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT;AACE,eAAI,OAAO,KAAK,IAAI,EAAE,SAAS,IAAI,KAAK,OAAO,KAAK,IAAI,EAAE,SAAS,KAAK,IAC/D,OAAO,KAAK,IAAI,IAErB,MAAM,OAAO,KAAK,IAAI,CAAC,KACzB,QAAQ,KAAK,uBAAuB,KAAK,IAAI,0CAA0C,GAChF,YAEF,GAAG,KAAK,IAAI;AAAA,IAAA;AAAA,EAEzB;AAAA,EAEA,SAAS;AACP,WAAOC;AAAAA,2EACgE,KAAK,KAAK,aAAa,KAAK,KAAK,WAAW,KAAK,KAAK;AAAA;AAAA,EAE/H;AASA;AAtCWF,EA+BJ,SAASG;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AA9BYC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GADfL,EACiB,WAAA,SAAA,CAAA;AACAI,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAFfL,EAEiB,WAAA,QAAA,CAAA;AAFjBA,IAANI,EAAA;AAAA,EADNE,EAAcP,CAAyB;AAAA,GAC3BC,CAAA;"}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
var w = Object.defineProperty,
|
|
3
|
-
for (var e = i > 1 ? void 0 : i ?
|
|
4
|
-
(o = a[n]) && (e = (i ? o(
|
|
5
|
-
return i && e && w(
|
|
1
|
+
import { i as c, n as h, a as m, x as p, t as u } from "./property-DYwjZ69W.js";
|
|
2
|
+
var w = Object.defineProperty, g = Object.getOwnPropertyDescriptor, l = (a, t, s, i) => {
|
|
3
|
+
for (var e = i > 1 ? void 0 : i ? g(t, s) : t, n = a.length - 1, o; n >= 0; n--)
|
|
4
|
+
(o = a[n]) && (e = (i ? o(t, s, e) : o(e)) || e);
|
|
5
|
+
return i && e && w(t, s, e), e;
|
|
6
6
|
};
|
|
7
|
-
const
|
|
8
|
-
let
|
|
7
|
+
const z = "fhi-icon-arrow-up-down";
|
|
8
|
+
let r = class extends m {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this.color = "currentcolor", this.size = "medium";
|
|
11
11
|
}
|
|
12
12
|
get _size() {
|
|
13
13
|
switch (this.size) {
|
|
14
14
|
case "xsmall":
|
|
15
|
-
return "
|
|
15
|
+
return "1rem";
|
|
16
16
|
case "small":
|
|
17
|
-
return "
|
|
17
|
+
return "1.25rem";
|
|
18
18
|
case "medium":
|
|
19
|
-
return "
|
|
19
|
+
return "1.5rem";
|
|
20
20
|
case "large":
|
|
21
|
-
return "
|
|
21
|
+
return "2rem";
|
|
22
22
|
default:
|
|
23
|
-
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '
|
|
23
|
+
return String(this.size).endsWith("px") || String(this.size).endsWith("rem") ? String(this.size) : isNaN(Number(this.size)) ? (console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`), "1.5rem") : `${this.size}px`;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return
|
|
27
|
+
return p`
|
|
28
28
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="${this._size}" height="${this._size}" fill="${this.color}"><path d="M6.25 20V5.81L3.53 8.53a.75.75 0 1 1-1.06-1.06l4-4 .056-.052a.75.75 0 0 1 1.004.052l4 4 .052.056a.75.75 0 0 1-1.056 1.056l-.056-.052-2.72-2.72V20a.75.75 0 0 1-1.5 0m10-16a.75.75 0 0 1 1.5 0v14.19l2.72-2.72a.75.75 0 0 1 1.06 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4-.052-.056a.75.75 0 0 1 1.056-1.056l.056.052 2.72 2.72z"/></svg>
|
|
29
29
|
`;
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
r.styles = c`
|
|
33
33
|
:host {
|
|
34
34
|
display: flex;
|
|
35
35
|
max-height: min-content;
|
|
@@ -38,15 +38,15 @@ t.styles = p`
|
|
|
38
38
|
`;
|
|
39
39
|
l([
|
|
40
40
|
h({ type: String })
|
|
41
|
-
],
|
|
41
|
+
], r.prototype, "color", 2);
|
|
42
42
|
l([
|
|
43
43
|
h({ type: String })
|
|
44
|
-
],
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
],
|
|
44
|
+
], r.prototype, "size", 2);
|
|
45
|
+
r = l([
|
|
46
|
+
u(z)
|
|
47
|
+
], r);
|
|
48
48
|
export {
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
r as FhiIconArrowUpDown,
|
|
50
|
+
z as FhiIconArrowUpDownSelector
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=fhi-icon-arrow-up-down.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fhi-icon-arrow-up-down.js","sources":["../../src/components/icons/fhi-icon-arrow-up-down.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowUpDownSelector = \"fhi-icon-arrow-up-down\";\n\n@customElement(FhiIconArrowUpDownSelector)\nexport class FhiIconArrowUpDown extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '
|
|
1
|
+
{"version":3,"file":"fhi-icon-arrow-up-down.js","sources":["../../src/components/icons/fhi-icon-arrow-up-down.component.ts"],"sourcesContent":["\n/*\n This file is auto-generated by generate-icon-components.js. Do not edit it manually.\n*/\nimport { html, css, LitElement } from \"lit\";\nimport { customElement, property } from \"lit/decorators.js\";\n\nexport const FhiIconArrowUpDownSelector = \"fhi-icon-arrow-up-down\";\n\n@customElement(FhiIconArrowUpDownSelector)\nexport class FhiIconArrowUpDown extends LitElement {\n @property({ type: String }) color: string = \"currentcolor\";\n @property({ type: String }) size: 'xsmall' | 'small' | 'medium' | 'large' | number | `${number}px` | `${number}rem` = 'medium';\n private get _size(): string {\n switch (this.size) {\n case 'xsmall': \n return '1rem'; \n case 'small':\n return '1.25rem';\n case 'medium':\n return '1.5rem'; \n case 'large':\n return '2rem'; \n default:\n if (String(this.size).endsWith('px') || String(this.size).endsWith('rem')) {\n return String(this.size);\n }\n if (isNaN(Number(this.size))) {\n console.warn(`Invalid size value: ${this.size}. Falling back to default size '1.5rem'.`)\n return '1.5rem';\n }\n return `${this.size}px`;\n }\n }\n\n render() {\n return html`\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" width=\"${this._size}\" height=\"${this._size}\" fill=\"${this.color}\"><path d=\"M6.25 20V5.81L3.53 8.53a.75.75 0 1 1-1.06-1.06l4-4 .056-.052a.75.75 0 0 1 1.004.052l4 4 .052.056a.75.75 0 0 1-1.056 1.056l-.056-.052-2.72-2.72V20a.75.75 0 0 1-1.5 0m10-16a.75.75 0 0 1 1.5 0v14.19l2.72-2.72a.75.75 0 0 1 1.06 1.06l-4 4a.75.75 0 0 1-1.06 0l-4-4-.052-.056a.75.75 0 0 1 1.056-1.056l.056.052 2.72 2.72z\"/></svg>\n `;\n }\n \n static styles = css`\n :host {\n display: flex;\n max-height: min-content;\n max-width: min-content;\n }\n `;\n }\n"],"names":["FhiIconArrowUpDownSelector","FhiIconArrowUpDown","LitElement","html","css","__decorateClass","property","customElement"],"mappings":";;;;;;AAOO,MAAMA,IAA6B;AAGnC,IAAMC,IAAN,cAAiCC,EAAW;AAAA,EAA5C,cAAA;AAAA,UAAA,GAAA,SAAA,GACuB,KAAA,QAAgB,gBAChB,KAAA,OAA0F;AAAA,EAAA;AAAA,EACtH,IAAY,QAAgB;AAC1B,YAAQ,KAAK,MAAA;AAAA,MACX,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT,KAAK;AACH,eAAO;AAAA,MACT;AACE,eAAI,OAAO,KAAK,IAAI,EAAE,SAAS,IAAI,KAAK,OAAO,KAAK,IAAI,EAAE,SAAS,KAAK,IAC/D,OAAO,KAAK,IAAI,IAErB,MAAM,OAAO,KAAK,IAAI,CAAC,KACzB,QAAQ,KAAK,uBAAuB,KAAK,IAAI,0CAA0C,GAChF,YAEF,GAAG,KAAK,IAAI;AAAA,IAAA;AAAA,EAEzB;AAAA,EAEA,SAAS;AACP,WAAOC;AAAAA,2EACgE,KAAK,KAAK,aAAa,KAAK,KAAK,WAAW,KAAK,KAAK;AAAA;AAAA,EAE/H;AASA;AAtCWF,EA+BJ,SAASG;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AA9BYC,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GADfL,EACiB,WAAA,SAAA,CAAA;AACAI,EAAA;AAAA,EAA3BC,EAAS,EAAE,MAAM,OAAA,CAAQ;AAAA,GAFfL,EAEiB,WAAA,QAAA,CAAA;AAFjBA,IAANI,EAAA;AAAA,EADNE,EAAcP,CAA0B;AAAA,GAC5BC,CAAA;"}
|