@synergy-design-system/components 1.13.0 → 1.14.0
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/chunks/{chunk.TOBWLVQY.js → chunk.2KV3G5JF.js} +2 -2
- package/dist/chunks/chunk.2NRG7KJT.js +12 -0
- package/dist/chunks/chunk.2NRG7KJT.js.map +7 -0
- package/dist/chunks/{chunk.4RYBHPDG.js → chunk.2OLQHFOR.js} +3 -3
- package/dist/chunks/{chunk.XF4DS2IU.js → chunk.2SLHEFOH.js} +11 -11
- package/dist/chunks/{chunk.NE7RLB6A.js → chunk.2ZEMD2N7.js} +2 -2
- package/dist/chunks/{chunk.XKURNDPY.js → chunk.34NAFEQ7.js} +2 -2
- package/dist/chunks/{chunk.LDWFJMF6.js → chunk.3HTXK6WY.js} +2 -2
- package/dist/chunks/{chunk.ZPMKYF4O.js → chunk.4LMFTSOM.js} +7 -7
- package/dist/chunks/{chunk.BD3YJRAC.js → chunk.4MRXASVT.js} +2 -2
- package/dist/chunks/{chunk.ZFDPWUKA.js → chunk.525LGYB4.js} +12 -12
- package/dist/chunks/{chunk.ZGKQGMNS.js → chunk.5HAKNNIR.js} +2 -2
- package/dist/chunks/{chunk.LUPEZL5H.js → chunk.5TOD3QS2.js} +2 -2
- package/dist/chunks/{chunk.LUPEZL5H.js.map → chunk.5TOD3QS2.js.map} +1 -1
- package/dist/chunks/{chunk.FIVDEPVP.js → chunk.64MHCKTF.js} +8 -8
- package/dist/chunks/{chunk.XRLJLT47.js → chunk.722JR5BD.js} +3 -3
- package/dist/chunks/{chunk.HJNNSNKN.js → chunk.7UUZ5ISH.js} +3 -3
- package/dist/chunks/{chunk.T7D7X73E.js → chunk.A6S4OYWD.js} +10 -10
- package/dist/chunks/{chunk.EMIN5Z4Y.js → chunk.B57ZVQ2Q.js} +2 -2
- package/dist/chunks/{chunk.WU6GTI3K.js → chunk.BUIBP2TA.js} +2 -2
- package/dist/chunks/{chunk.OQ7JU642.js → chunk.CG753OYA.js} +2 -2
- package/dist/chunks/{chunk.NXAAWXFC.js → chunk.COFVSXEF.js} +11 -11
- package/dist/chunks/{chunk.MKKJWJHG.js → chunk.CSOIUDS4.js} +2 -2
- package/dist/chunks/{chunk.MEMVYSEM.js → chunk.DXL3JN6D.js} +2 -2
- package/dist/chunks/{chunk.7JJZR4JG.js → chunk.ETREUSYO.js} +6 -6
- package/dist/chunks/{chunk.HOJ7LSMH.js → chunk.EWGDHM27.js} +2 -2
- package/dist/chunks/{chunk.OWAQA3TV.js → chunk.EZE5M5XB.js} +2 -2
- package/dist/chunks/{chunk.CKASWRIG.js → chunk.GDHER3FZ.js} +2 -2
- package/dist/chunks/{chunk.FYJQBDYL.js → chunk.GGY5VQYA.js} +2 -2
- package/dist/chunks/{chunk.3PBOWA5U.js → chunk.H33SDUY3.js} +5 -5
- package/dist/chunks/{chunk.TEWZUSS3.js → chunk.H7XP6JAS.js} +2 -2
- package/dist/chunks/chunk.II4PANKR.js +56 -0
- package/dist/chunks/chunk.II4PANKR.js.map +7 -0
- package/dist/chunks/{chunk.KZFU7TFZ.js → chunk.ITUSK365.js} +2 -2
- package/dist/chunks/{chunk.K74W3RP4.js → chunk.KEEDSK2V.js} +4 -4
- package/dist/chunks/{chunk.SR56N2RY.js → chunk.L6ZUZPOW.js} +5 -5
- package/dist/chunks/{chunk.J4XBGQBY.js → chunk.MEDX62IL.js} +3 -3
- package/dist/chunks/{chunk.AW7IXLZ6.js → chunk.MQCFDVLW.js} +2 -2
- package/dist/chunks/{chunk.UJIWHSZR.js → chunk.NXX572OD.js} +2 -2
- package/dist/chunks/{chunk.WNUV3MAD.js → chunk.OLM7IVHA.js} +6 -6
- package/dist/chunks/{chunk.RBDVQQ3E.js → chunk.P2D7PUR2.js} +5 -5
- package/dist/chunks/{chunk.LKEOG4V4.js → chunk.PAK472WN.js} +2 -2
- package/dist/chunks/{chunk.F2JCTYYN.js → chunk.PEMSU7RY.js} +2 -2
- package/dist/chunks/{chunk.4IIG6F76.js → chunk.PSTO5STZ.js} +2 -2
- package/dist/chunks/{chunk.WBOGDY52.js → chunk.Q4CT57M2.js} +2 -2
- package/dist/chunks/{chunk.YSDEWPDF.js → chunk.QFMUPETV.js} +3 -3
- package/dist/chunks/{chunk.MM2YC5ZH.js → chunk.QQB6JCQY.js} +9 -9
- package/dist/chunks/{chunk.LAB4YJYE.js → chunk.RK7OBPZ5.js} +2 -2
- package/dist/chunks/{chunk.LAB4YJYE.js.map → chunk.RK7OBPZ5.js.map} +1 -1
- package/dist/chunks/{chunk.BAPPYU2J.js → chunk.SRZMRKLQ.js} +2 -2
- package/dist/chunks/{chunk.ZKGSBP7D.js → chunk.UEQDHG7J.js} +2 -2
- package/dist/chunks/{chunk.A3SKDWCT.js → chunk.V53WYKEU.js} +6 -2
- package/dist/chunks/{chunk.A3SKDWCT.js.map → chunk.V53WYKEU.js.map} +2 -2
- package/dist/chunks/chunk.VCXIV7H4.js +61 -0
- package/dist/chunks/chunk.VCXIV7H4.js.map +7 -0
- package/dist/chunks/{chunk.JZLW5XX6.js → chunk.VDYPXC2H.js} +2 -2
- package/dist/chunks/{chunk.TDEBVJWI.js → chunk.VSEAHAW7.js} +2 -2
- package/dist/chunks/chunk.WQJRBFZA.js +66 -0
- package/dist/chunks/chunk.WQJRBFZA.js.map +7 -0
- package/dist/chunks/{chunk.WWBODWZN.js → chunk.YRMXDJFM.js} +2 -2
- package/dist/chunks/{chunk.B35CKL75.js → chunk.ZLEQ5DOF.js} +2 -2
- package/dist/components/badge/badge.component.d.ts +19 -0
- package/dist/components/badge/badge.component.js +13 -0
- package/dist/components/badge/badge.component.js.map +7 -0
- package/dist/components/badge/badge.custom.styles.d.ts +2 -0
- package/dist/components/badge/badge.custom.styles.js +8 -0
- package/dist/components/badge/badge.custom.styles.js.map +7 -0
- package/dist/components/badge/badge.d.ts +8 -0
- package/dist/components/badge/badge.js +14 -0
- package/dist/components/badge/badge.js.map +7 -0
- package/dist/components/badge/badge.styles.d.ts +2 -0
- package/dist/components/badge/badge.styles.js +8 -0
- package/dist/components/badge/badge.styles.js.map +7 -0
- package/dist/components/button/button.component.js +9 -9
- package/dist/components/button/button.js +10 -10
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +10 -10
- package/dist/components/drawer/drawer.js +11 -11
- package/dist/components/dropdown/dropdown.component.js +7 -7
- package/dist/components/dropdown/dropdown.js +8 -8
- package/dist/components/header/header.component.js +6 -6
- package/dist/components/header/header.js +7 -7
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/input/input.component.js +10 -10
- package/dist/components/input/input.js +11 -11
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +9 -9
- package/dist/components/menu-item/menu-item.js +10 -10
- package/dist/components/menu-item/submenu-controller.js +2 -2
- package/dist/components/menu-label/menu-label.component.js +3 -3
- package/dist/components/menu-label/menu-label.js +4 -4
- package/dist/components/optgroup/optgroup.component.js +3 -3
- package/dist/components/optgroup/optgroup.js +4 -4
- package/dist/components/option/option.component.js +7 -7
- package/dist/components/option/option.js +8 -8
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/radio/radio.component.js +6 -6
- package/dist/components/radio/radio.js +7 -7
- package/dist/components/radio-button/radio-button.component.js +3 -3
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/select/select.component.js +11 -11
- package/dist/components/select/select.js +12 -12
- package/dist/components/spinner/spinner.component.js +4 -4
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tag/tag.component.js +8 -8
- package/dist/components/tag/tag.js +9 -9
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/custom-elements.json +166 -90
- package/dist/synergy.d.ts +1 -0
- package/dist/synergy.js +100 -93
- package/dist/translations/de.js +7 -3
- package/dist/translations/de.js.map +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/utilities/localize.d.ts +4 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +29 -6
- package/package.json +2 -2
- /package/dist/chunks/{chunk.TOBWLVQY.js.map → chunk.2KV3G5JF.js.map} +0 -0
- /package/dist/chunks/{chunk.4RYBHPDG.js.map → chunk.2OLQHFOR.js.map} +0 -0
- /package/dist/chunks/{chunk.XF4DS2IU.js.map → chunk.2SLHEFOH.js.map} +0 -0
- /package/dist/chunks/{chunk.NE7RLB6A.js.map → chunk.2ZEMD2N7.js.map} +0 -0
- /package/dist/chunks/{chunk.XKURNDPY.js.map → chunk.34NAFEQ7.js.map} +0 -0
- /package/dist/chunks/{chunk.LDWFJMF6.js.map → chunk.3HTXK6WY.js.map} +0 -0
- /package/dist/chunks/{chunk.ZPMKYF4O.js.map → chunk.4LMFTSOM.js.map} +0 -0
- /package/dist/chunks/{chunk.BD3YJRAC.js.map → chunk.4MRXASVT.js.map} +0 -0
- /package/dist/chunks/{chunk.ZFDPWUKA.js.map → chunk.525LGYB4.js.map} +0 -0
- /package/dist/chunks/{chunk.ZGKQGMNS.js.map → chunk.5HAKNNIR.js.map} +0 -0
- /package/dist/chunks/{chunk.FIVDEPVP.js.map → chunk.64MHCKTF.js.map} +0 -0
- /package/dist/chunks/{chunk.XRLJLT47.js.map → chunk.722JR5BD.js.map} +0 -0
- /package/dist/chunks/{chunk.HJNNSNKN.js.map → chunk.7UUZ5ISH.js.map} +0 -0
- /package/dist/chunks/{chunk.T7D7X73E.js.map → chunk.A6S4OYWD.js.map} +0 -0
- /package/dist/chunks/{chunk.EMIN5Z4Y.js.map → chunk.B57ZVQ2Q.js.map} +0 -0
- /package/dist/chunks/{chunk.WU6GTI3K.js.map → chunk.BUIBP2TA.js.map} +0 -0
- /package/dist/chunks/{chunk.OQ7JU642.js.map → chunk.CG753OYA.js.map} +0 -0
- /package/dist/chunks/{chunk.NXAAWXFC.js.map → chunk.COFVSXEF.js.map} +0 -0
- /package/dist/chunks/{chunk.MKKJWJHG.js.map → chunk.CSOIUDS4.js.map} +0 -0
- /package/dist/chunks/{chunk.MEMVYSEM.js.map → chunk.DXL3JN6D.js.map} +0 -0
- /package/dist/chunks/{chunk.7JJZR4JG.js.map → chunk.ETREUSYO.js.map} +0 -0
- /package/dist/chunks/{chunk.HOJ7LSMH.js.map → chunk.EWGDHM27.js.map} +0 -0
- /package/dist/chunks/{chunk.OWAQA3TV.js.map → chunk.EZE5M5XB.js.map} +0 -0
- /package/dist/chunks/{chunk.CKASWRIG.js.map → chunk.GDHER3FZ.js.map} +0 -0
- /package/dist/chunks/{chunk.FYJQBDYL.js.map → chunk.GGY5VQYA.js.map} +0 -0
- /package/dist/chunks/{chunk.3PBOWA5U.js.map → chunk.H33SDUY3.js.map} +0 -0
- /package/dist/chunks/{chunk.TEWZUSS3.js.map → chunk.H7XP6JAS.js.map} +0 -0
- /package/dist/chunks/{chunk.KZFU7TFZ.js.map → chunk.ITUSK365.js.map} +0 -0
- /package/dist/chunks/{chunk.K74W3RP4.js.map → chunk.KEEDSK2V.js.map} +0 -0
- /package/dist/chunks/{chunk.SR56N2RY.js.map → chunk.L6ZUZPOW.js.map} +0 -0
- /package/dist/chunks/{chunk.J4XBGQBY.js.map → chunk.MEDX62IL.js.map} +0 -0
- /package/dist/chunks/{chunk.AW7IXLZ6.js.map → chunk.MQCFDVLW.js.map} +0 -0
- /package/dist/chunks/{chunk.UJIWHSZR.js.map → chunk.NXX572OD.js.map} +0 -0
- /package/dist/chunks/{chunk.WNUV3MAD.js.map → chunk.OLM7IVHA.js.map} +0 -0
- /package/dist/chunks/{chunk.RBDVQQ3E.js.map → chunk.P2D7PUR2.js.map} +0 -0
- /package/dist/chunks/{chunk.LKEOG4V4.js.map → chunk.PAK472WN.js.map} +0 -0
- /package/dist/chunks/{chunk.F2JCTYYN.js.map → chunk.PEMSU7RY.js.map} +0 -0
- /package/dist/chunks/{chunk.4IIG6F76.js.map → chunk.PSTO5STZ.js.map} +0 -0
- /package/dist/chunks/{chunk.WBOGDY52.js.map → chunk.Q4CT57M2.js.map} +0 -0
- /package/dist/chunks/{chunk.YSDEWPDF.js.map → chunk.QFMUPETV.js.map} +0 -0
- /package/dist/chunks/{chunk.MM2YC5ZH.js.map → chunk.QQB6JCQY.js.map} +0 -0
- /package/dist/chunks/{chunk.BAPPYU2J.js.map → chunk.SRZMRKLQ.js.map} +0 -0
- /package/dist/chunks/{chunk.ZKGSBP7D.js.map → chunk.UEQDHG7J.js.map} +0 -0
- /package/dist/chunks/{chunk.JZLW5XX6.js.map → chunk.VDYPXC2H.js.map} +0 -0
- /package/dist/chunks/{chunk.TDEBVJWI.js.map → chunk.VSEAHAW7.js.map} +0 -0
- /package/dist/chunks/{chunk.WWBODWZN.js.map → chunk.YRMXDJFM.js.map} +0 -0
- /package/dist/chunks/{chunk.B35CKL75.js.map → chunk.ZLEQ5DOF.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SynergyElement,
|
|
6
6
|
component_styles_default
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.5TOD3QS2.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass,
|
|
10
10
|
__spreadProps,
|
|
@@ -409,4 +409,4 @@ __decorateClass([
|
|
|
409
409
|
export {
|
|
410
410
|
SynPopup
|
|
411
411
|
};
|
|
412
|
-
//# sourceMappingURL=chunk.
|
|
412
|
+
//# sourceMappingURL=chunk.GGY5VQYA.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
SynergyElement,
|
|
3
|
-
component_styles_default
|
|
4
|
-
} from "./chunk.LUPEZL5H.js";
|
|
5
1
|
import {
|
|
6
2
|
button_group_styles_default
|
|
7
3
|
} from "./chunk.A7IIJ2LL.js";
|
|
4
|
+
import {
|
|
5
|
+
SynergyElement,
|
|
6
|
+
component_styles_default
|
|
7
|
+
} from "./chunk.5TOD3QS2.js";
|
|
8
8
|
import {
|
|
9
9
|
__decorateClass
|
|
10
10
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -84,4 +84,4 @@ function findButton(el) {
|
|
|
84
84
|
export {
|
|
85
85
|
SynButtonGroup
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk.
|
|
87
|
+
//# sourceMappingURL=chunk.H33SDUY3.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
SynergyElement,
|
|
25
25
|
component_styles_default
|
|
26
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.5TOD3QS2.js";
|
|
27
27
|
import {
|
|
28
28
|
__decorateClass
|
|
29
29
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -364,4 +364,4 @@ __decorateClass([
|
|
|
364
364
|
export {
|
|
365
365
|
SynTextarea
|
|
366
366
|
};
|
|
367
|
-
//# sourceMappingURL=chunk.
|
|
367
|
+
//# sourceMappingURL=chunk.H7XP6JAS.js.map
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// src/components/badge/badge.styles.ts
|
|
2
|
+
import { css } from "lit";
|
|
3
|
+
var badge_styles_default = css`
|
|
4
|
+
/* stylelint-disable */
|
|
5
|
+
:host {
|
|
6
|
+
display: inline-flex;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.badge {
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
font-size: max(12px, 0.75em);
|
|
14
|
+
font-weight: var(--syn-font-weight-semibold);
|
|
15
|
+
letter-spacing: var(--syn-letter-spacing-normal);
|
|
16
|
+
line-height: 1;
|
|
17
|
+
border-radius: var(--syn-border-radius-small);
|
|
18
|
+
border: solid 1px var(--syn-color-neutral-0);
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
padding: 0.35em 0.6em;
|
|
21
|
+
user-select: none;
|
|
22
|
+
-webkit-user-select: none;
|
|
23
|
+
cursor: inherit;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Variant modifiers */
|
|
27
|
+
.badge--primary {
|
|
28
|
+
background-color: var(--syn-color-primary-600);
|
|
29
|
+
color: var(--syn-color-neutral-0);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.badge--success {
|
|
33
|
+
background-color: var(--syn-color-success-600);
|
|
34
|
+
color: var(--syn-color-neutral-0);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.badge--neutral {
|
|
38
|
+
background-color: var(--syn-color-neutral-600);
|
|
39
|
+
color: var(--syn-color-neutral-0);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.badge--warning {
|
|
43
|
+
background-color: var(--syn-color-warning-600);
|
|
44
|
+
color: var(--syn-color-neutral-0);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.badge--danger {
|
|
48
|
+
background-color: var(--syn-color-danger-600);
|
|
49
|
+
color: var(--syn-color-neutral-0);
|
|
50
|
+
}
|
|
51
|
+
`;
|
|
52
|
+
|
|
53
|
+
export {
|
|
54
|
+
badge_styles_default
|
|
55
|
+
};
|
|
56
|
+
//# sourceMappingURL=chunk.II4PANKR.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/badge/badge.styles.ts"],
|
|
4
|
+
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n display: inline-flex;\n }\n\n .badge {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: max(12px, 0.75em);\n font-weight: var(--syn-font-weight-semibold);\n letter-spacing: var(--syn-letter-spacing-normal);\n line-height: 1;\n border-radius: var(--syn-border-radius-small);\n border: solid 1px var(--syn-color-neutral-0);\n white-space: nowrap;\n padding: 0.35em 0.6em;\n user-select: none;\n -webkit-user-select: none;\n cursor: inherit;\n }\n\n /* Variant modifiers */\n .badge--primary {\n background-color: var(--syn-color-primary-600);\n color: var(--syn-color-neutral-0);\n }\n\n .badge--success {\n background-color: var(--syn-color-success-600);\n color: var(--syn-color-neutral-0);\n }\n\n .badge--neutral {\n background-color: var(--syn-color-neutral-600);\n color: var(--syn-color-neutral-0);\n }\n\n .badge--warning {\n background-color: var(--syn-color-warning-600);\n color: var(--syn-color-neutral-0);\n }\n\n .badge--danger {\n background-color: var(--syn-color-danger-600);\n color: var(--syn-color-neutral-0);\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AAMA,SAAS,WAAW;AAEpB,IAAO,uBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SynergyElement,
|
|
9
9
|
component_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.5TOD3QS2.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -128,4 +128,4 @@ __decorateClass([
|
|
|
128
128
|
export {
|
|
129
129
|
SynMenu
|
|
130
130
|
};
|
|
131
|
-
//# sourceMappingURL=chunk.
|
|
131
|
+
//# sourceMappingURL=chunk.ITUSK365.js.map
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk.BGHK4NQA.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIconButton
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.7UUZ5ISH.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.RK7OBPZ5.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement,
|
|
15
15
|
component_styles_default
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.5TOD3QS2.js";
|
|
17
17
|
import {
|
|
18
18
|
__decorateClass
|
|
19
19
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -76,4 +76,4 @@ __decorateClass([
|
|
|
76
76
|
export {
|
|
77
77
|
SynTag
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=chunk.
|
|
79
|
+
//# sourceMappingURL=chunk.KEEDSK2V.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
icon_default
|
|
3
|
+
} from "./chunk.Q4CT57M2.js";
|
|
1
4
|
import {
|
|
2
5
|
header_styles_default
|
|
3
6
|
} from "./chunk.JDXKGJ63.js";
|
|
4
|
-
import {
|
|
5
|
-
icon_default
|
|
6
|
-
} from "./chunk.WBOGDY52.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.66WXVGAW.js";
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.5TOD3QS2.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -77,4 +77,4 @@ __decorateClass([
|
|
|
77
77
|
export {
|
|
78
78
|
SynHeader
|
|
79
79
|
};
|
|
80
|
-
//# sourceMappingURL=chunk.
|
|
80
|
+
//# sourceMappingURL=chunk.L6ZUZPOW.js.map
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "./chunk.3FOVDOJX.js";
|
|
7
7
|
import {
|
|
8
8
|
SynDivider
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.5HAKNNIR.js";
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.5TOD3QS2.js";
|
|
14
14
|
|
|
15
15
|
// src/components/menu-label/menu-label.component.ts
|
|
16
16
|
import { html } from "lit";
|
|
@@ -32,4 +32,4 @@ SynMenuLabel.dependencies = {
|
|
|
32
32
|
export {
|
|
33
33
|
SynMenuLabel
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=chunk.
|
|
35
|
+
//# sourceMappingURL=chunk.MEDX62IL.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTextarea
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.H7XP6JAS.js";
|
|
4
4
|
|
|
5
5
|
// src/components/textarea/textarea.ts
|
|
6
6
|
var textarea_default = SynTextarea;
|
|
@@ -9,4 +9,4 @@ SynTextarea.define("syn-textarea");
|
|
|
9
9
|
export {
|
|
10
10
|
textarea_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.MQCFDVLW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenuLabel
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.MEDX62IL.js";
|
|
4
4
|
|
|
5
5
|
// src/components/menu-label/menu-label.ts
|
|
6
6
|
var menu_label_default = SynMenuLabel;
|
|
@@ -9,4 +9,4 @@ SynMenuLabel.define("syn-menu-label");
|
|
|
9
9
|
export {
|
|
10
10
|
menu_label_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.NXX572OD.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
radio_custom_styles_default
|
|
3
|
-
} from "./chunk.V6VND4OF.js";
|
|
4
1
|
import {
|
|
5
2
|
radio_styles_default
|
|
6
3
|
} from "./chunk.PKO6FEOM.js";
|
|
4
|
+
import {
|
|
5
|
+
radio_custom_styles_default
|
|
6
|
+
} from "./chunk.V6VND4OF.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIcon
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.4LMFTSOM.js";
|
|
10
10
|
import {
|
|
11
11
|
watch
|
|
12
12
|
} from "./chunk.AVTU2BGE.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement,
|
|
15
15
|
component_styles_default
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.5TOD3QS2.js";
|
|
17
17
|
import {
|
|
18
18
|
__decorateClass
|
|
19
19
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -112,4 +112,4 @@ __decorateClass([
|
|
|
112
112
|
export {
|
|
113
113
|
SynRadio
|
|
114
114
|
};
|
|
115
|
-
//# sourceMappingURL=chunk.
|
|
115
|
+
//# sourceMappingURL=chunk.OLM7IVHA.js.map
|
|
@@ -4,6 +4,9 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
radio_group_styles_default
|
|
6
6
|
} from "./chunk.XIUSSERX.js";
|
|
7
|
+
import {
|
|
8
|
+
SynButtonGroup
|
|
9
|
+
} from "./chunk.H33SDUY3.js";
|
|
7
10
|
import {
|
|
8
11
|
form_control_custom_styles_default,
|
|
9
12
|
form_control_styles_default
|
|
@@ -20,13 +23,10 @@ import {
|
|
|
20
23
|
import {
|
|
21
24
|
watch
|
|
22
25
|
} from "./chunk.AVTU2BGE.js";
|
|
23
|
-
import {
|
|
24
|
-
SynButtonGroup
|
|
25
|
-
} from "./chunk.3PBOWA5U.js";
|
|
26
26
|
import {
|
|
27
27
|
SynergyElement,
|
|
28
28
|
component_styles_default
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.5TOD3QS2.js";
|
|
30
30
|
import {
|
|
31
31
|
__decorateClass
|
|
32
32
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -356,4 +356,4 @@ __decorateClass([
|
|
|
356
356
|
export {
|
|
357
357
|
SynRadioGroup
|
|
358
358
|
};
|
|
359
|
-
//# sourceMappingURL=chunk.
|
|
359
|
+
//# sourceMappingURL=chunk.P2D7PUR2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynInput
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.QQB6JCQY.js";
|
|
4
4
|
|
|
5
5
|
// src/components/input/input.ts
|
|
6
6
|
var input_default = SynInput;
|
|
@@ -9,4 +9,4 @@ SynInput.define("syn-input");
|
|
|
9
9
|
export {
|
|
10
10
|
input_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.PAK472WN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynIconButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.7UUZ5ISH.js";
|
|
4
4
|
|
|
5
5
|
// src/components/icon-button/icon-button.ts
|
|
6
6
|
var icon_button_default = SynIconButton;
|
|
@@ -9,4 +9,4 @@ SynIconButton.define("syn-icon-button");
|
|
|
9
9
|
export {
|
|
10
10
|
icon_button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.PEMSU7RY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadioButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.VSEAHAW7.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio-button/radio-button.ts
|
|
6
6
|
var radio_button_default = SynRadioButton;
|
|
@@ -9,4 +9,4 @@ SynRadioButton.define("syn-radio-button");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.PSTO5STZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynIcon
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.4LMFTSOM.js";
|
|
4
4
|
|
|
5
5
|
// src/components/icon/icon.ts
|
|
6
6
|
var icon_default = SynIcon;
|
|
@@ -9,4 +9,4 @@ SynIcon.define("syn-icon");
|
|
|
9
9
|
export {
|
|
10
10
|
icon_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.Q4CT57M2.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.KG52EHDB.js";
|
|
4
4
|
import {
|
|
5
5
|
SynDivider
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.5HAKNNIR.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.66WXVGAW.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.AVTU2BGE.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.5TOD3QS2.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -93,4 +93,4 @@ __decorateClass([
|
|
|
93
93
|
export {
|
|
94
94
|
SynOptgroup
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=chunk.
|
|
96
|
+
//# sourceMappingURL=chunk.QFMUPETV.js.map
|
|
@@ -4,6 +4,9 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
input_styles_default
|
|
6
6
|
} from "./chunk.4QS5IWYB.js";
|
|
7
|
+
import {
|
|
8
|
+
SynDivider
|
|
9
|
+
} from "./chunk.5HAKNNIR.js";
|
|
7
10
|
import {
|
|
8
11
|
defaultValue
|
|
9
12
|
} from "./chunk.WFAJR3FN.js";
|
|
@@ -11,12 +14,6 @@ import {
|
|
|
11
14
|
form_control_custom_styles_default,
|
|
12
15
|
form_control_styles_default
|
|
13
16
|
} from "./chunk.TTL762VF.js";
|
|
14
|
-
import {
|
|
15
|
-
SynDivider
|
|
16
|
-
} from "./chunk.ZGKQGMNS.js";
|
|
17
|
-
import {
|
|
18
|
-
LocalizeController
|
|
19
|
-
} from "./chunk.LAB4YJYE.js";
|
|
20
17
|
import {
|
|
21
18
|
FormControlController
|
|
22
19
|
} from "./chunk.SZCGMXW5.js";
|
|
@@ -25,14 +22,17 @@ import {
|
|
|
25
22
|
} from "./chunk.66WXVGAW.js";
|
|
26
23
|
import {
|
|
27
24
|
SynIcon
|
|
28
|
-
} from "./chunk.
|
|
25
|
+
} from "./chunk.4LMFTSOM.js";
|
|
29
26
|
import {
|
|
30
27
|
watch
|
|
31
28
|
} from "./chunk.AVTU2BGE.js";
|
|
29
|
+
import {
|
|
30
|
+
LocalizeController
|
|
31
|
+
} from "./chunk.RK7OBPZ5.js";
|
|
32
32
|
import {
|
|
33
33
|
SynergyElement,
|
|
34
34
|
component_styles_default
|
|
35
|
-
} from "./chunk.
|
|
35
|
+
} from "./chunk.5TOD3QS2.js";
|
|
36
36
|
import {
|
|
37
37
|
__decorateClass,
|
|
38
38
|
__spreadValues
|
|
@@ -643,4 +643,4 @@ __decorateClass([
|
|
|
643
643
|
export {
|
|
644
644
|
SynInput
|
|
645
645
|
};
|
|
646
|
-
//# sourceMappingURL=chunk.
|
|
646
|
+
//# sourceMappingURL=chunk.QQB6JCQY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
en_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.V53WYKEU.js";
|
|
4
4
|
|
|
5
5
|
// src/utilities/localize.ts
|
|
6
6
|
import { LocalizeController as DefaultLocalizationController, registerTranslation } from "@shoelace-style/localize";
|
|
@@ -13,4 +13,4 @@ export {
|
|
|
13
13
|
LocalizeController,
|
|
14
14
|
registerTranslation2 as registerTranslation
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=chunk.
|
|
16
|
+
//# sourceMappingURL=chunk.RK7OBPZ5.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/utilities/localize.ts"],
|
|
4
|
-
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { LocalizeController as DefaultLocalizationController, registerTranslation } from '@shoelace-style/localize';\nimport en from '../translations/en.js'; // Register English as the default/fallback language\nimport type { Translation as DefaultTranslation } from '@shoelace-style/localize';\n\n// Extend the controller and apply our own translation interface for better typings\nexport class LocalizeController extends DefaultLocalizationController<Translation> {\n // Technicallly '../translations/en.js' is supposed to work via side-effects. However, by some mystery sometimes the\n // translations don't get bundled as expected resulting in `no translation found` errors.\n // This is basically some extra assurance that our translations get registered prior to our localizer connecting in a component\n // and we don't rely on implicit import ordering.\n static {\n registerTranslation(en);\n }\n}\n\n// Export functions from the localize lib so we have one central place to import them from\nexport { registerTranslation } from '@shoelace-style/localize';\n\nexport interface Translation extends DefaultTranslation {\n $code: string; // e.g. en, en-GB\n $name: string; // e.g. English, Espa\u00F1ol\n $dir: 'ltr' | 'rtl';\n\n carousel: string;\n clearEntry: string;\n close: string;\n copied: string;\n copy: string;\n currentValue: string;\n error: string;\n goToSlide: (slide: number, count: number) => string;\n hidePassword: string;\n loading: string;\n nextSlide: string;\n numOptionsSelected: (num: number) => string;\n previousSlide: string;\n progress: string;\n remove: string;\n resize: string;\n scrollToEnd: string;\n scrollToStart: string;\n selectAColorFromTheScreen: string;\n showPassword: string;\n slideNum: (slide: number) => string;\n toggleColorFormat: string;\n}\n"],
|
|
4
|
+
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { LocalizeController as DefaultLocalizationController, registerTranslation } from '@shoelace-style/localize';\nimport en from '../translations/en.js'; // Register English as the default/fallback language\nimport type { Translation as DefaultTranslation } from '@shoelace-style/localize';\n\n// Extend the controller and apply our own translation interface for better typings\nexport class LocalizeController extends DefaultLocalizationController<Translation> {\n // Technicallly '../translations/en.js' is supposed to work via side-effects. However, by some mystery sometimes the\n // translations don't get bundled as expected resulting in `no translation found` errors.\n // This is basically some extra assurance that our translations get registered prior to our localizer connecting in a component\n // and we don't rely on implicit import ordering.\n static {\n registerTranslation(en);\n }\n}\n\n// Export functions from the localize lib so we have one central place to import them from\nexport { registerTranslation } from '@shoelace-style/localize';\n\nexport interface Translation extends DefaultTranslation {\n danger: string;\n notification: string;\n success: string;\n warning: string;\n$code: string; // e.g. en, en-GB\n $name: string; // e.g. English, Espa\u00F1ol\n $dir: 'ltr' | 'rtl';\n\n carousel: string;\n clearEntry: string;\n close: string;\n copied: string;\n copy: string;\n currentValue: string;\n error: string;\n goToSlide: (slide: number, count: number) => string;\n hidePassword: string;\n loading: string;\n nextSlide: string;\n numOptionsSelected: (num: number) => string;\n previousSlide: string;\n progress: string;\n remove: string;\n resize: string;\n scrollToEnd: string;\n scrollToStart: string;\n selectAColorFromTheScreen: string;\n showPassword: string;\n slideNum: (slide: number) => string;\n toggleColorFormat: string;\n}\n"],
|
|
5
5
|
"mappings": ";;;;;AAMA,SAAS,sBAAsB,+BAA+B,2BAA2B;AAgBzF,SAAS,uBAAAA,4BAA2B;AAX7B,IAAM,qBAAN,cAAiC,8BAA2C;AAQnF;AAFI,oBAAoB,UAAE;",
|
|
6
6
|
"names": ["registerTranslation"]
|
|
7
7
|
}
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
SynergyElement,
|
|
25
25
|
component_styles_default
|
|
26
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.5TOD3QS2.js";
|
|
27
27
|
import {
|
|
28
28
|
__decorateClass
|
|
29
29
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -247,4 +247,4 @@ __decorateClass([
|
|
|
247
247
|
export {
|
|
248
248
|
SynSwitch
|
|
249
249
|
};
|
|
250
|
-
//# sourceMappingURL=chunk.
|
|
250
|
+
//# sourceMappingURL=chunk.SRZMRKLQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenuItem
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.64MHCKTF.js";
|
|
4
4
|
|
|
5
5
|
// src/components/menu-item/menu-item.ts
|
|
6
6
|
var menu_item_default = SynMenuItem;
|
|
@@ -9,4 +9,4 @@ SynMenuItem.define("syn-menu-item");
|
|
|
9
9
|
export {
|
|
10
10
|
menu_item_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.UEQDHG7J.js.map
|
|
@@ -31,7 +31,11 @@ var translation = {
|
|
|
31
31
|
selectAColorFromTheScreen: "Select a color from the screen",
|
|
32
32
|
showPassword: "Show password",
|
|
33
33
|
slideNum: (slide) => `Slide ${slide}`,
|
|
34
|
-
toggleColorFormat: "Toggle color format"
|
|
34
|
+
toggleColorFormat: "Toggle color format",
|
|
35
|
+
danger: "Danger",
|
|
36
|
+
notification: "Notification",
|
|
37
|
+
success: "Success",
|
|
38
|
+
warning: "Warning"
|
|
35
39
|
};
|
|
36
40
|
registerTranslation(translation);
|
|
37
41
|
var en_default = translation;
|
|
@@ -39,4 +43,4 @@ var en_default = translation;
|
|
|
39
43
|
export {
|
|
40
44
|
en_default
|
|
41
45
|
};
|
|
42
|
-
//# sourceMappingURL=chunk.
|
|
46
|
+
//# sourceMappingURL=chunk.V53WYKEU.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/translations/en.ts"],
|
|
4
|
-
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { registerTranslation } from '@shoelace-style/localize';\nimport type { Translation } from '../utilities/localize.js';\n\nconst translation: Translation = {\n $code: 'en',\n $name: 'English',\n $dir: 'ltr',\n\n carousel: 'Carousel',\n clearEntry: 'Clear entry',\n close: 'Close',\n copied: 'Copied',\n copy: 'Copy',\n currentValue: 'Current value',\n error: 'Error',\n goToSlide: (slide, count) => `Go to slide ${slide} of ${count}`,\n hidePassword: 'Hide password',\n loading: 'Loading',\n nextSlide: 'Next slide',\n numOptionsSelected: num => {\n if (num === 0) return 'No options selected';\n if (num === 1) return '1 option selected';\n return `${num} options selected`;\n },\n previousSlide: 'Previous slide',\n progress: 'Progress',\n remove: 'Remove',\n resize: 'Resize',\n scrollToEnd: 'Scroll to end',\n scrollToStart: 'Scroll to start',\n selectAColorFromTheScreen: 'Select a color from the screen',\n showPassword: 'Show password',\n slideNum: slide => `Slide ${slide}`,\n toggleColorFormat: 'Toggle color format'
|
|
5
|
-
"mappings": ";AAMA,SAAS,2BAA2B;AAGpC,IAAM,cAA2B;AAAA,EAC/B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,MAAM;AAAA,EAEN,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,cAAc;AAAA,EACd,OAAO;AAAA,EACP,WAAW,CAAC,OAAO,UAAU,eAAe,KAAK,OAAO,KAAK;AAAA,EAC7D,cAAc;AAAA,EACd,SAAS;AAAA,EACT,WAAW;AAAA,EACX,oBAAoB,SAAO;AACzB,QAAI,QAAQ;AAAG,aAAO;AACtB,QAAI,QAAQ;AAAG,aAAO;AACtB,WAAO,GAAG,GAAG;AAAA,EACf;AAAA,EACA,eAAe;AAAA,EACf,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,eAAe;AAAA,EACf,2BAA2B;AAAA,EAC3B,cAAc;AAAA,EACd,UAAU,WAAS,SAAS,KAAK;AAAA,EACjC,mBAAmB;
|
|
4
|
+
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { registerTranslation } from '@shoelace-style/localize';\nimport type { Translation } from '../utilities/localize.js';\n\nconst translation: Translation = {\n $code: 'en',\n $name: 'English',\n $dir: 'ltr',\n\n carousel: 'Carousel',\n clearEntry: 'Clear entry',\n close: 'Close',\n copied: 'Copied',\n copy: 'Copy',\n currentValue: 'Current value',\n error: 'Error',\n goToSlide: (slide, count) => `Go to slide ${slide} of ${count}`,\n hidePassword: 'Hide password',\n loading: 'Loading',\n nextSlide: 'Next slide',\n numOptionsSelected: num => {\n if (num === 0) return 'No options selected';\n if (num === 1) return '1 option selected';\n return `${num} options selected`;\n },\n previousSlide: 'Previous slide',\n progress: 'Progress',\n remove: 'Remove',\n resize: 'Resize',\n scrollToEnd: 'Scroll to end',\n scrollToStart: 'Scroll to start',\n selectAColorFromTheScreen: 'Select a color from the screen',\n showPassword: 'Show password',\n slideNum: slide => `Slide ${slide}`,\n toggleColorFormat: 'Toggle color format',\n danger: 'Danger',\nnotification: 'Notification',\nsuccess: 'Success',\nwarning: 'Warning',\n};\n\nregisterTranslation(translation);\n\nexport default translation;\n"],
|
|
5
|
+
"mappings": ";AAMA,SAAS,2BAA2B;AAGpC,IAAM,cAA2B;AAAA,EAC/B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,MAAM;AAAA,EAEN,UAAU;AAAA,EACV,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,cAAc;AAAA,EACd,OAAO;AAAA,EACP,WAAW,CAAC,OAAO,UAAU,eAAe,KAAK,OAAO,KAAK;AAAA,EAC7D,cAAc;AAAA,EACd,SAAS;AAAA,EACT,WAAW;AAAA,EACX,oBAAoB,SAAO;AACzB,QAAI,QAAQ;AAAG,aAAO;AACtB,QAAI,QAAQ;AAAG,aAAO;AACtB,WAAO,GAAG,GAAG;AAAA,EACf;AAAA,EACA,eAAe;AAAA,EACf,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,eAAe;AAAA,EACf,2BAA2B;AAAA,EAC3B,cAAc;AAAA,EACd,UAAU,WAAS,SAAS,KAAK;AAAA,EACjC,mBAAmB;AAAA,EACnB,QAAQ;AAAA,EACV,cAAc;AAAA,EACd,SAAS;AAAA,EACT,SAAS;AACT;AAEA,oBAAoB,WAAW;AAE/B,IAAO,aAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import {
|
|
2
|
+
badge_custom_styles_default
|
|
3
|
+
} from "./chunk.WQJRBFZA.js";
|
|
4
|
+
import {
|
|
5
|
+
badge_styles_default
|
|
6
|
+
} from "./chunk.II4PANKR.js";
|
|
7
|
+
import {
|
|
8
|
+
LocalizeController
|
|
9
|
+
} from "./chunk.RK7OBPZ5.js";
|
|
10
|
+
import {
|
|
11
|
+
SynergyElement,
|
|
12
|
+
component_styles_default
|
|
13
|
+
} from "./chunk.5TOD3QS2.js";
|
|
14
|
+
import {
|
|
15
|
+
__decorateClass
|
|
16
|
+
} from "./chunk.QNDC5KWA.js";
|
|
17
|
+
|
|
18
|
+
// src/components/badge/badge.component.ts
|
|
19
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
20
|
+
import { html } from "lit";
|
|
21
|
+
import { property } from "lit/decorators.js";
|
|
22
|
+
var SynBadge = class extends SynergyElement {
|
|
23
|
+
constructor() {
|
|
24
|
+
super(...arguments);
|
|
25
|
+
this.localize = new LocalizeController(this);
|
|
26
|
+
this.variant = "primary";
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
return html`
|
|
30
|
+
<span
|
|
31
|
+
part="base"
|
|
32
|
+
class=${classMap({
|
|
33
|
+
badge: true,
|
|
34
|
+
"badge--primary": this.variant === "primary",
|
|
35
|
+
"badge--success": this.variant === "success",
|
|
36
|
+
"badge--neutral": this.variant === "neutral",
|
|
37
|
+
"badge--warning": this.variant === "warning",
|
|
38
|
+
"badge--danger": this.variant === "danger"
|
|
39
|
+
})}
|
|
40
|
+
role="status"
|
|
41
|
+
>
|
|
42
|
+
<slot>
|
|
43
|
+
<span class="visually-hidden">
|
|
44
|
+
${this.localize.term(
|
|
45
|
+
this.variant === "primary" || this.variant === "neutral" ? "notification" : this.variant
|
|
46
|
+
)}
|
|
47
|
+
</span>
|
|
48
|
+
</slot>
|
|
49
|
+
</span>
|
|
50
|
+
`;
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
SynBadge.styles = [component_styles_default, badge_styles_default, badge_custom_styles_default];
|
|
54
|
+
__decorateClass([
|
|
55
|
+
property({ reflect: true })
|
|
56
|
+
], SynBadge.prototype, "variant", 2);
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
SynBadge
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=chunk.VCXIV7H4.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/badge/badge.component.ts"],
|
|
4
|
+
"sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n// Removing this comment will prevent it from being managed by it.\n// ---------------------------------------------------------------------\n\n/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport styles from './badge.styles.js';\nimport customStyles from './badge.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Badges are used to draw attention and display statuses or counts.\n * @documentation https://synergy.style/components/badge\n * @status stable\n * @since 2.0\n *\n * @slot - The badge's content.\n *\n * @csspart base - The component's base wrapper.\n */\nexport default class SynBadge extends SynergyElement {\n \n private readonly localize = new LocalizeController(this);\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n /** The badge's theme variant. */\n @property({ reflect: true }) variant: 'primary' | 'success' | 'neutral' | 'warning' | 'danger' = 'primary';\n\n render() {\n return html`\n <span\n part=\"base\"\n class=${classMap({\n badge: true,\n 'badge--primary': this.variant === 'primary',\n 'badge--success': this.variant === 'success',\n 'badge--neutral': this.variant === 'neutral',\n 'badge--warning': this.variant === 'warning',\n 'badge--danger': this.variant === 'danger',\n })}\n role=\"status\"\n >\n <slot>\n <span class=\"visually-hidden\">\n ${this.localize.term(\n (this.variant === 'primary' || this.variant === 'neutral')\n ? 'notification'\n : this.variant\n )}\n </span>\n </slot>\n </span>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAMA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,gBAAgB;AAkBzB,IAAqB,WAArB,cAAsC,eAAe;AAAA,EAArD;AAAA;AAEE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAI1B,mBAAoE;AAAA;AAAA,EAEjG,SAAS;AACP,WAAO;AAAA;AAAA;AAAA,gBAGK,SAAS;AAAA,MACf,OAAO;AAAA,MACP,kBAAkB,KAAK,YAAY;AAAA,MACnC,kBAAkB,KAAK,YAAY;AAAA,MACnC,kBAAkB,KAAK,YAAY;AAAA,MACnC,kBAAkB,KAAK,YAAY;AAAA,MACnC,iBAAiB,KAAK,YAAY;AAAA,IACpC,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,cAKI,KAAK,SAAS;AAAA,MACb,KAAK,YAAY,aAAa,KAAK,YAAY,YAC5C,iBACA,KAAK;AAAA,IACT,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKb;AACF;AAlCqB,SAGZ,SAAyB,CAAC,0BAAiB,sBAAQ,2BAAY;AAGzC;AAAA,EAA5B,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GANR,SAMU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadio
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.OLM7IVHA.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio/radio.ts
|
|
6
6
|
var radio_default = SynRadio;
|
|
@@ -9,4 +9,4 @@ SynRadio.define("syn-radio");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.VDYPXC2H.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.5TOD3QS2.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -125,4 +125,4 @@ __decorateClass([
|
|
|
125
125
|
export {
|
|
126
126
|
SynRadioButton
|
|
127
127
|
};
|
|
128
|
-
//# sourceMappingURL=chunk.
|
|
128
|
+
//# sourceMappingURL=chunk.VSEAHAW7.js.map
|