@synergy-design-system/components 1.13.0 → 1.15.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.ZKGSBP7D.js → chunk.2BEBXBDJ.js} +2 -2
- package/dist/chunks/{chunk.TOBWLVQY.js → chunk.2LMCM7HQ.js} +2 -2
- package/dist/chunks/{chunk.MM2YC5ZH.js → chunk.3JBPXBYC.js} +9 -9
- package/dist/chunks/{chunk.XF4DS2IU.js → chunk.3QNVV7DW.js} +11 -11
- package/dist/chunks/{chunk.CKASWRIG.js → chunk.4LD5UMX7.js} +2 -2
- package/dist/chunks/{chunk.FYJQBDYL.js → chunk.4TWUWTOI.js} +2 -2
- package/dist/chunks/{chunk.NXAAWXFC.js → chunk.5UETQYQR.js} +11 -11
- package/dist/chunks/{chunk.AW7IXLZ6.js → chunk.63JWIOGL.js} +2 -2
- package/dist/chunks/{chunk.7UVCYUNR.js → chunk.66MOXMDP.js} +2 -2
- package/dist/chunks/chunk.74N5WLM5.js +53 -0
- package/dist/chunks/chunk.74N5WLM5.js.map +7 -0
- package/dist/chunks/{chunk.JDXKGJ63.js → chunk.AOKNP4QD.js} +42 -2
- package/dist/chunks/{chunk.JDXKGJ63.js.map → chunk.AOKNP4QD.js.map} +2 -2
- package/dist/chunks/chunk.BHTLGDWT.js +166 -0
- package/dist/chunks/chunk.BHTLGDWT.js.map +7 -0
- package/dist/chunks/{chunk.LDWFJMF6.js → chunk.CHJC6OSN.js} +2 -2
- package/dist/chunks/{chunk.HOJ7LSMH.js → chunk.EFV5UWMX.js} +2 -2
- package/dist/chunks/{chunk.MEMVYSEM.js → chunk.FHEH5OSL.js} +2 -2
- package/dist/chunks/{chunk.4RYBHPDG.js → chunk.FKT4RXN7.js} +3 -3
- package/dist/chunks/{chunk.RBDVQQ3E.js → chunk.FYN26TFO.js} +5 -5
- package/dist/chunks/{chunk.WBOGDY52.js → chunk.G7XEHN2F.js} +2 -2
- package/dist/chunks/{chunk.BAPPYU2J.js → chunk.GARWLAOJ.js} +2 -2
- package/dist/chunks/{chunk.T7D7X73E.js → chunk.GCHIBXQT.js} +10 -10
- package/dist/chunks/{chunk.LAB4YJYE.js → chunk.GEHO4WRP.js} +2 -2
- package/dist/chunks/{chunk.LAB4YJYE.js.map → chunk.GEHO4WRP.js.map} +1 -1
- package/dist/chunks/chunk.GO3CCKC3.js +96 -0
- package/dist/chunks/chunk.GO3CCKC3.js.map +7 -0
- package/dist/chunks/{chunk.WWBODWZN.js → chunk.H46CGP6A.js} +2 -2
- package/dist/chunks/{chunk.HJNNSNKN.js → chunk.H7APDHTS.js} +3 -3
- package/dist/chunks/chunk.II4PANKR.js +56 -0
- package/dist/chunks/chunk.II4PANKR.js.map +7 -0
- package/dist/chunks/chunk.IJCD3LMC.js +12 -0
- package/dist/chunks/chunk.IJCD3LMC.js.map +7 -0
- package/dist/chunks/{chunk.EMIN5Z4Y.js → chunk.IUHZVWPW.js} +2 -2
- package/dist/chunks/chunk.IYGOMLU7.js +208 -0
- package/dist/chunks/chunk.IYGOMLU7.js.map +7 -0
- package/dist/chunks/{chunk.OQ7JU642.js → chunk.JCFKRHGM.js} +2 -2
- package/dist/chunks/{chunk.7JJZR4JG.js → chunk.JL53VHSP.js} +6 -6
- package/dist/chunks/{chunk.B35CKL75.js → chunk.JUD3T56D.js} +2 -2
- package/dist/chunks/{chunk.XKURNDPY.js → chunk.KC6TXACE.js} +2 -2
- package/dist/chunks/{chunk.UYD2OVFV.js → chunk.KZMWNTUS.js} +2 -2
- package/dist/chunks/chunk.KZMWNTUS.js.map +7 -0
- package/dist/chunks/chunk.L4UUXVRZ.js +312 -0
- package/dist/chunks/chunk.L4UUXVRZ.js.map +7 -0
- package/dist/chunks/{chunk.FIVDEPVP.js → chunk.LNUIMITL.js} +8 -8
- package/dist/chunks/{chunk.LUPEZL5H.js → chunk.MCJTXOVV.js} +2 -2
- package/dist/chunks/{chunk.LUPEZL5H.js.map → chunk.MCJTXOVV.js.map} +1 -1
- package/dist/chunks/chunk.MJYZDU37.js +318 -0
- package/dist/chunks/chunk.MJYZDU37.js.map +7 -0
- package/dist/chunks/{chunk.MKKJWJHG.js → chunk.MMDRQ7JM.js} +2 -2
- package/dist/chunks/{chunk.ZFDPWUKA.js → chunk.NBHBC5FQ.js} +12 -12
- package/dist/chunks/{chunk.J4XBGQBY.js → chunk.O3A57CXO.js} +3 -3
- package/dist/chunks/{chunk.F2JCTYYN.js → chunk.OLUNOSLX.js} +2 -2
- package/dist/chunks/{chunk.XRLJLT47.js → chunk.ON2HXIFZ.js} +3 -3
- package/dist/chunks/{chunk.BD3YJRAC.js → chunk.OVUVBTHH.js} +2 -2
- package/dist/chunks/chunk.P43W2NFX.js +12 -0
- package/dist/chunks/chunk.P43W2NFX.js.map +7 -0
- package/dist/chunks/chunk.QJGWS4TQ.js +12 -0
- package/dist/chunks/chunk.QJGWS4TQ.js.map +7 -0
- package/dist/chunks/{chunk.A3SKDWCT.js → chunk.QY3GFWGZ.js} +11 -2
- package/dist/chunks/{chunk.A3SKDWCT.js.map → chunk.QY3GFWGZ.js.map} +2 -2
- package/dist/chunks/{chunk.NE7RLB6A.js → chunk.SBHXUKMY.js} +2 -2
- package/dist/chunks/{chunk.3PBOWA5U.js → chunk.SE4NF6AN.js} +5 -5
- package/dist/chunks/chunk.SWPVARPP.js +61 -0
- package/dist/chunks/chunk.SWPVARPP.js.map +7 -0
- package/dist/chunks/{chunk.WNUV3MAD.js → chunk.T43ZXJKG.js} +3 -3
- package/dist/chunks/{chunk.4IIG6F76.js → chunk.TFWNKCFJ.js} +2 -2
- package/dist/chunks/chunk.TRMXLYYL.js +12 -0
- package/dist/chunks/chunk.TRMXLYYL.js.map +7 -0
- package/dist/chunks/{chunk.UJIWHSZR.js → chunk.V3JANQYN.js} +2 -2
- package/dist/chunks/{chunk.LKEOG4V4.js → chunk.V6OK2ECX.js} +2 -2
- package/dist/chunks/chunk.VDA7H6VI.js +286 -0
- package/dist/chunks/chunk.VDA7H6VI.js.map +7 -0
- package/dist/chunks/{chunk.JZLW5XX6.js → chunk.VPW6WZNZ.js} +2 -2
- package/dist/chunks/{chunk.N4VSEIRQ.js → chunk.VTKIDI7N.js} +7 -1
- package/dist/chunks/{chunk.N4VSEIRQ.js.map → chunk.VTKIDI7N.js.map} +2 -2
- package/dist/chunks/{chunk.YSDEWPDF.js → chunk.VUROYPEC.js} +3 -3
- package/dist/chunks/{chunk.WU6GTI3K.js → chunk.VZEN3JIH.js} +2 -2
- package/dist/chunks/{chunk.TDEBVJWI.js → chunk.WCIAL36G.js} +2 -2
- package/dist/chunks/{chunk.ZPMKYF4O.js → chunk.WHYX7AY4.js} +7 -7
- package/dist/chunks/chunk.WQJRBFZA.js +66 -0
- package/dist/chunks/chunk.WQJRBFZA.js.map +7 -0
- package/dist/chunks/{chunk.K74W3RP4.js → chunk.WV2VTAP2.js} +4 -4
- package/dist/chunks/chunk.XNP4OTUB.js +16 -0
- package/dist/chunks/chunk.XNP4OTUB.js.map +7 -0
- package/dist/chunks/{chunk.KZFU7TFZ.js → chunk.XSVH753L.js} +2 -2
- package/dist/chunks/{chunk.ZGKQGMNS.js → chunk.YBPWZ4QI.js} +2 -2
- package/dist/chunks/{chunk.TEWZUSS3.js → chunk.YNWVXDDQ.js} +2 -2
- package/dist/chunks/{chunk.OWAQA3TV.js → chunk.ZMIBKG2N.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 +10 -10
- package/dist/components/button/button.js +11 -11
- 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 +6 -6
- package/dist/components/checkbox/checkbox.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +11 -11
- package/dist/components/drawer/drawer.custom.styles.js +1 -1
- package/dist/components/drawer/drawer.js +12 -12
- package/dist/components/dropdown/dropdown.component.js +7 -7
- package/dist/components/dropdown/dropdown.js +8 -8
- package/dist/components/header/header.component.d.ts +42 -1
- package/dist/components/header/header.component.js +10 -8
- package/dist/components/header/header.js +11 -9
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/icon/icon.component.js +5 -5
- package/dist/components/icon/icon.js +6 -6
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.component.js +6 -6
- package/dist/components/icon-button/icon-button.js +7 -7
- package/dist/components/input/input.component.js +11 -11
- package/dist/components/input/input.js +12 -12
- 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 +10 -10
- package/dist/components/menu-item/menu-item.js +11 -11
- 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/nav-item/nav-item.component.d.ts +145 -0
- package/dist/components/nav-item/nav-item.component.js +15 -0
- package/dist/components/nav-item/nav-item.component.js.map +7 -0
- package/dist/components/nav-item/nav-item.d.ts +8 -0
- package/dist/components/nav-item/nav-item.js +16 -0
- package/dist/components/nav-item/nav-item.js.map +7 -0
- package/dist/components/nav-item/nav-item.styles.d.ts +2 -0
- package/dist/components/nav-item/nav-item.styles.js +8 -0
- package/dist/components/nav-item/nav-item.styles.js.map +7 -0
- package/dist/components/optgroup/optgroup.component.js +3 -3
- package/dist/components/optgroup/optgroup.js +4 -4
- package/dist/components/option/option.component.js +8 -8
- package/dist/components/option/option.js +9 -9
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/prio-nav/prio-nav.component.d.ts +110 -0
- package/dist/components/prio-nav/prio-nav.component.js +38 -0
- package/dist/components/prio-nav/prio-nav.component.js.map +7 -0
- package/dist/components/prio-nav/prio-nav.d.ts +8 -0
- package/dist/components/prio-nav/prio-nav.js +39 -0
- package/dist/components/prio-nav/prio-nav.js.map +7 -0
- package/dist/components/prio-nav/prio-nav.styles.d.ts +2 -0
- package/dist/components/prio-nav/prio-nav.styles.js +8 -0
- package/dist/components/prio-nav/prio-nav.styles.js.map +7 -0
- package/dist/components/prio-nav/utils.d.ts +20 -0
- package/dist/components/prio-nav/utils.js +12 -0
- package/dist/components/prio-nav/utils.js.map +7 -0
- 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 +12 -12
- package/dist/components/select/select.js +13 -13
- package/dist/components/side-nav/side-nav.component.d.ts +122 -0
- package/dist/components/side-nav/side-nav.component.js +34 -0
- package/dist/components/side-nav/side-nav.component.js.map +7 -0
- package/dist/components/side-nav/side-nav.d.ts +8 -0
- package/dist/components/side-nav/side-nav.js +35 -0
- package/dist/components/side-nav/side-nav.js.map +7 -0
- package/dist/components/side-nav/side-nav.styles.d.ts +2 -0
- package/dist/components/side-nav/side-nav.styles.js +8 -0
- package/dist/components/side-nav/side-nav.styles.js.map +7 -0
- 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 +9 -9
- package/dist/components/tag/tag.js +10 -10
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/custom-elements.json +1988 -709
- package/dist/events/events.d.ts +2 -0
- package/dist/events/syn-burger-menu-hide.d.ts +6 -0
- package/dist/events/syn-burger-menu-show.d.ts +6 -0
- package/dist/synergy.d.ts +4 -0
- package/dist/synergy.js +110 -84
- package/dist/translations/de.js +12 -3
- package/dist/translations/de.js.map +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +7 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +128 -8
- package/package.json +4 -3
- package/dist/chunks/chunk.SR56N2RY.js +0 -80
- package/dist/chunks/chunk.SR56N2RY.js.map +0 -7
- package/dist/chunks/chunk.UYD2OVFV.js.map +0 -7
- /package/dist/chunks/{chunk.ZKGSBP7D.js.map → chunk.2BEBXBDJ.js.map} +0 -0
- /package/dist/chunks/{chunk.TOBWLVQY.js.map → chunk.2LMCM7HQ.js.map} +0 -0
- /package/dist/chunks/{chunk.MM2YC5ZH.js.map → chunk.3JBPXBYC.js.map} +0 -0
- /package/dist/chunks/{chunk.XF4DS2IU.js.map → chunk.3QNVV7DW.js.map} +0 -0
- /package/dist/chunks/{chunk.CKASWRIG.js.map → chunk.4LD5UMX7.js.map} +0 -0
- /package/dist/chunks/{chunk.FYJQBDYL.js.map → chunk.4TWUWTOI.js.map} +0 -0
- /package/dist/chunks/{chunk.NXAAWXFC.js.map → chunk.5UETQYQR.js.map} +0 -0
- /package/dist/chunks/{chunk.AW7IXLZ6.js.map → chunk.63JWIOGL.js.map} +0 -0
- /package/dist/chunks/{chunk.7UVCYUNR.js.map → chunk.66MOXMDP.js.map} +0 -0
- /package/dist/chunks/{chunk.LDWFJMF6.js.map → chunk.CHJC6OSN.js.map} +0 -0
- /package/dist/chunks/{chunk.HOJ7LSMH.js.map → chunk.EFV5UWMX.js.map} +0 -0
- /package/dist/chunks/{chunk.MEMVYSEM.js.map → chunk.FHEH5OSL.js.map} +0 -0
- /package/dist/chunks/{chunk.4RYBHPDG.js.map → chunk.FKT4RXN7.js.map} +0 -0
- /package/dist/chunks/{chunk.RBDVQQ3E.js.map → chunk.FYN26TFO.js.map} +0 -0
- /package/dist/chunks/{chunk.WBOGDY52.js.map → chunk.G7XEHN2F.js.map} +0 -0
- /package/dist/chunks/{chunk.BAPPYU2J.js.map → chunk.GARWLAOJ.js.map} +0 -0
- /package/dist/chunks/{chunk.T7D7X73E.js.map → chunk.GCHIBXQT.js.map} +0 -0
- /package/dist/chunks/{chunk.WWBODWZN.js.map → chunk.H46CGP6A.js.map} +0 -0
- /package/dist/chunks/{chunk.HJNNSNKN.js.map → chunk.H7APDHTS.js.map} +0 -0
- /package/dist/chunks/{chunk.EMIN5Z4Y.js.map → chunk.IUHZVWPW.js.map} +0 -0
- /package/dist/chunks/{chunk.OQ7JU642.js.map → chunk.JCFKRHGM.js.map} +0 -0
- /package/dist/chunks/{chunk.7JJZR4JG.js.map → chunk.JL53VHSP.js.map} +0 -0
- /package/dist/chunks/{chunk.B35CKL75.js.map → chunk.JUD3T56D.js.map} +0 -0
- /package/dist/chunks/{chunk.XKURNDPY.js.map → chunk.KC6TXACE.js.map} +0 -0
- /package/dist/chunks/{chunk.FIVDEPVP.js.map → chunk.LNUIMITL.js.map} +0 -0
- /package/dist/chunks/{chunk.MKKJWJHG.js.map → chunk.MMDRQ7JM.js.map} +0 -0
- /package/dist/chunks/{chunk.ZFDPWUKA.js.map → chunk.NBHBC5FQ.js.map} +0 -0
- /package/dist/chunks/{chunk.J4XBGQBY.js.map → chunk.O3A57CXO.js.map} +0 -0
- /package/dist/chunks/{chunk.F2JCTYYN.js.map → chunk.OLUNOSLX.js.map} +0 -0
- /package/dist/chunks/{chunk.XRLJLT47.js.map → chunk.ON2HXIFZ.js.map} +0 -0
- /package/dist/chunks/{chunk.BD3YJRAC.js.map → chunk.OVUVBTHH.js.map} +0 -0
- /package/dist/chunks/{chunk.NE7RLB6A.js.map → chunk.SBHXUKMY.js.map} +0 -0
- /package/dist/chunks/{chunk.3PBOWA5U.js.map → chunk.SE4NF6AN.js.map} +0 -0
- /package/dist/chunks/{chunk.WNUV3MAD.js.map → chunk.T43ZXJKG.js.map} +0 -0
- /package/dist/chunks/{chunk.4IIG6F76.js.map → chunk.TFWNKCFJ.js.map} +0 -0
- /package/dist/chunks/{chunk.UJIWHSZR.js.map → chunk.V3JANQYN.js.map} +0 -0
- /package/dist/chunks/{chunk.LKEOG4V4.js.map → chunk.V6OK2ECX.js.map} +0 -0
- /package/dist/chunks/{chunk.JZLW5XX6.js.map → chunk.VPW6WZNZ.js.map} +0 -0
- /package/dist/chunks/{chunk.YSDEWPDF.js.map → chunk.VUROYPEC.js.map} +0 -0
- /package/dist/chunks/{chunk.WU6GTI3K.js.map → chunk.VZEN3JIH.js.map} +0 -0
- /package/dist/chunks/{chunk.TDEBVJWI.js.map → chunk.WCIAL36G.js.map} +0 -0
- /package/dist/chunks/{chunk.ZPMKYF4O.js.map → chunk.WHYX7AY4.js.map} +0 -0
- /package/dist/chunks/{chunk.K74W3RP4.js.map → chunk.WV2VTAP2.js.map} +0 -0
- /package/dist/chunks/{chunk.KZFU7TFZ.js.map → chunk.XSVH753L.js.map} +0 -0
- /package/dist/chunks/{chunk.ZGKQGMNS.js.map → chunk.YBPWZ4QI.js.map} +0 -0
- /package/dist/chunks/{chunk.TEWZUSS3.js.map → chunk.YNWVXDDQ.js.map} +0 -0
- /package/dist/chunks/{chunk.OWAQA3TV.js.map → chunk.ZMIBKG2N.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenuItem
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.LNUIMITL.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.2BEBXBDJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTag
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.WV2VTAP2.js";
|
|
4
4
|
|
|
5
5
|
// src/components/tag/tag.ts
|
|
6
6
|
var tag_default = SynTag;
|
|
@@ -9,4 +9,4 @@ SynTag.define("syn-tag");
|
|
|
9
9
|
export {
|
|
10
10
|
tag_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.2LMCM7HQ.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.YBPWZ4QI.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.WHYX7AY4.js";
|
|
29
26
|
import {
|
|
30
27
|
watch
|
|
31
28
|
} from "./chunk.AVTU2BGE.js";
|
|
29
|
+
import {
|
|
30
|
+
LocalizeController
|
|
31
|
+
} from "./chunk.GEHO4WRP.js";
|
|
32
32
|
import {
|
|
33
33
|
SynergyElement,
|
|
34
34
|
component_styles_default
|
|
35
|
-
} from "./chunk.
|
|
35
|
+
} from "./chunk.MCJTXOVV.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.3JBPXBYC.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSpinner
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.FKT4RXN7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./chunk.
|
|
5
|
+
button_styles_default
|
|
6
|
+
} from "./chunk.SJMMPKWP.js";
|
|
7
7
|
import {
|
|
8
8
|
FormControlController,
|
|
9
9
|
validValidityState
|
|
@@ -13,20 +13,20 @@ import {
|
|
|
13
13
|
} from "./chunk.66WXVGAW.js";
|
|
14
14
|
import {
|
|
15
15
|
SynIcon
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.WHYX7AY4.js";
|
|
17
17
|
import {
|
|
18
18
|
watch
|
|
19
19
|
} from "./chunk.AVTU2BGE.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk.
|
|
23
|
-
import {
|
|
24
|
-
button_styles_default
|
|
25
|
-
} from "./chunk.SJMMPKWP.js";
|
|
21
|
+
LocalizeController
|
|
22
|
+
} from "./chunk.GEHO4WRP.js";
|
|
26
23
|
import {
|
|
27
24
|
SynergyElement,
|
|
28
25
|
component_styles_default
|
|
29
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.MCJTXOVV.js";
|
|
27
|
+
import {
|
|
28
|
+
button_custom_styles_default
|
|
29
|
+
} from "./chunk.K55MKNUR.js";
|
|
30
30
|
import {
|
|
31
31
|
__decorateClass
|
|
32
32
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -273,4 +273,4 @@ __decorateClass([
|
|
|
273
273
|
export {
|
|
274
274
|
SynButton
|
|
275
275
|
};
|
|
276
|
-
//# sourceMappingURL=chunk.
|
|
276
|
+
//# sourceMappingURL=chunk.3QNVV7DW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynOptgroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.VUROYPEC.js";
|
|
4
4
|
|
|
5
5
|
// src/components/optgroup/optgroup.ts
|
|
6
6
|
var optgroup_default = SynOptgroup;
|
|
@@ -9,4 +9,4 @@ SynOptgroup.define("syn-optgroup");
|
|
|
9
9
|
export {
|
|
10
10
|
optgroup_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.4LD5UMX7.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SynergyElement,
|
|
6
6
|
component_styles_default
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.MCJTXOVV.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.4TWUWTOI.js.map
|
|
@@ -4,13 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk.2QYALZBT.js";
|
|
5
5
|
import {
|
|
6
6
|
SynIconButton
|
|
7
|
-
} from "./chunk.
|
|
8
|
-
import {
|
|
9
|
-
drawer_custom_styles_default
|
|
10
|
-
} from "./chunk.UYD2OVFV.js";
|
|
11
|
-
import {
|
|
12
|
-
drawer_styles_default
|
|
13
|
-
} from "./chunk.PHSJD47V.js";
|
|
7
|
+
} from "./chunk.H7APDHTS.js";
|
|
14
8
|
import {
|
|
15
9
|
getTabbableElements
|
|
16
10
|
} from "./chunk.2QOQY4ZG.js";
|
|
@@ -24,18 +18,24 @@ import {
|
|
|
24
18
|
setDefaultAnimation
|
|
25
19
|
} from "./chunk.QAUTITK3.js";
|
|
26
20
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk.
|
|
21
|
+
drawer_custom_styles_default
|
|
22
|
+
} from "./chunk.KZMWNTUS.js";
|
|
23
|
+
import {
|
|
24
|
+
drawer_styles_default
|
|
25
|
+
} from "./chunk.PHSJD47V.js";
|
|
29
26
|
import {
|
|
30
27
|
HasSlotController
|
|
31
28
|
} from "./chunk.66WXVGAW.js";
|
|
32
29
|
import {
|
|
33
30
|
watch
|
|
34
31
|
} from "./chunk.AVTU2BGE.js";
|
|
32
|
+
import {
|
|
33
|
+
LocalizeController
|
|
34
|
+
} from "./chunk.GEHO4WRP.js";
|
|
35
35
|
import {
|
|
36
36
|
SynergyElement,
|
|
37
37
|
component_styles_default
|
|
38
|
-
} from "./chunk.
|
|
38
|
+
} from "./chunk.MCJTXOVV.js";
|
|
39
39
|
import {
|
|
40
40
|
__decorateClass,
|
|
41
41
|
__yieldStar
|
|
@@ -518,4 +518,4 @@ setDefaultAnimation("drawer.overlay.hide", {
|
|
|
518
518
|
export {
|
|
519
519
|
SynDrawer
|
|
520
520
|
};
|
|
521
|
-
//# sourceMappingURL=chunk.
|
|
521
|
+
//# sourceMappingURL=chunk.5UETQYQR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTextarea
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.YNWVXDDQ.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.63JWIOGL.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.6C4JXZZN.js";
|
|
4
4
|
import {
|
|
5
5
|
library_system_default
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.VTKIDI7N.js";
|
|
7
7
|
|
|
8
8
|
// src/components/icon/library.ts
|
|
9
9
|
var registry = [library_default_default, library_system_default];
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
registerIconLibrary,
|
|
43
43
|
unregisterIconLibrary
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=chunk.
|
|
45
|
+
//# sourceMappingURL=chunk.66MOXMDP.js.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// src/components/prio-nav/prio-nav.styles.ts
|
|
2
|
+
import { css } from "lit";
|
|
3
|
+
var prio_nav_styles_default = css`
|
|
4
|
+
:host {
|
|
5
|
+
display: block;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Needed because the positioning of the priority menu is absolute
|
|
9
|
+
*/
|
|
10
|
+
position: relative !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.horizontal-nav {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex: 1;
|
|
16
|
+
gap: var(--syn-spacing-large);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Priority Menu adjustments
|
|
21
|
+
*/
|
|
22
|
+
.priority-menu--hidden {
|
|
23
|
+
visibility: hidden;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.priority-menu__label {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.priority-menu__label--visible {
|
|
31
|
+
display: block;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Make the available small click area accessible by adding paddings
|
|
36
|
+
*/
|
|
37
|
+
.priority-menu--has-visible-items .priority-menu__icon {
|
|
38
|
+
padding-left: var(--syn-spacing-small);
|
|
39
|
+
padding-right: var(--syn-spacing-small);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Remove the margin from the content container if it is not visible
|
|
44
|
+
*/
|
|
45
|
+
.priority-menu--has-visible-items .priority-menu__nav-item::part(content-container) {
|
|
46
|
+
margin-inline-start: 0;
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
49
|
+
|
|
50
|
+
export {
|
|
51
|
+
prio_nav_styles_default
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=chunk.74N5WLM5.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/prio-nav/prio-nav.styles.ts"],
|
|
4
|
+
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n display: block;\n\n /**\n * Needed because the positioning of the priority menu is absolute\n */\n position: relative !important;\n }\n\n .horizontal-nav {\n display: flex;\n flex: 1;\n gap: var(--syn-spacing-large);\n }\n\n /**\n * Priority Menu adjustments\n */\n .priority-menu--hidden {\n visibility: hidden;\n }\n\n .priority-menu__label {\n display: none;\n }\n\n .priority-menu__label--visible {\n display: block;\n }\n\n /**\n * Make the available small click area accessible by adding paddings\n */\n .priority-menu--has-visible-items .priority-menu__icon {\n padding-left: var(--syn-spacing-small);\n padding-right: var(--syn-spacing-small);\n }\n\n /**\n * Remove the margin from the content container if it is not visible\n */\n .priority-menu--has-visible-items .priority-menu__nav-item::part(content-container) {\n margin-inline-start: 0;\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,0BAAQ;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
|
+
}
|
|
@@ -71,10 +71,11 @@ var header_styles_default = css`
|
|
|
71
71
|
.header__label {
|
|
72
72
|
font: var(--syn-body-large-bold);
|
|
73
73
|
padding: 0 var(--syn-spacing-2x-large);
|
|
74
|
+
white-space: nowrap;
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
/**
|
|
77
|
-
* The options menu holds an
|
|
78
|
+
* The options menu holds an arbitrary list of <syn-icon-button />
|
|
78
79
|
*/
|
|
79
80
|
.header__meta-navigation {
|
|
80
81
|
display: flex;
|
|
@@ -88,12 +89,51 @@ var header_styles_default = css`
|
|
|
88
89
|
font-size: var(--syn-font-size-x-large);
|
|
89
90
|
}
|
|
90
91
|
|
|
92
|
+
/**
|
|
93
|
+
* The horizontal top navigation section
|
|
94
|
+
*/
|
|
91
95
|
.header__navigation {
|
|
92
96
|
padding: 0 var(--syn-spacing-large);
|
|
93
97
|
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* The burger menu icon styles
|
|
101
|
+
*/
|
|
102
|
+
.header__burger-menu-toggle {
|
|
103
|
+
align-items: center;
|
|
104
|
+
background: none;
|
|
105
|
+
border: none;
|
|
106
|
+
color: var(--syn-color-neutral-950);
|
|
107
|
+
cursor: pointer;
|
|
108
|
+
display: flex;
|
|
109
|
+
font-size: var(--syn-font-size-x-large);
|
|
110
|
+
margin-right: calc(var(--syn-spacing-medium) + var(--syn-spacing-2x-small));
|
|
111
|
+
padding: var(--syn-spacing-x-small);
|
|
112
|
+
transition: var(--syn-transition-x-fast) color;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.header__burger-menu-toggle:hover {
|
|
116
|
+
color: var(--syn-color-primary-600);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.header__burger-menu-toggle:active {
|
|
120
|
+
color: var(--syn-color-primary-700);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.header__burger-menu-toggle:focus-visible {
|
|
124
|
+
outline: var(--syn-focus-ring);
|
|
125
|
+
outline-offset: var(--syn-focus-ring-offset);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* If the burger menu is provided, use a smaller spacing on the left side
|
|
130
|
+
*/
|
|
131
|
+
.header--has-burger-menu .header__content {
|
|
132
|
+
padding-left: var(--syn-spacing-medium);
|
|
133
|
+
}
|
|
94
134
|
`;
|
|
95
135
|
|
|
96
136
|
export {
|
|
97
137
|
header_styles_default
|
|
98
138
|
};
|
|
99
|
-
//# sourceMappingURL=chunk.
|
|
139
|
+
//# sourceMappingURL=chunk.AOKNP4QD.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/components/header/header.styles.ts"],
|
|
4
|
-
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n display: block;\n }\n\n .header {\n background: var(--syn-color-neutral-0);\n box-shadow: inset 0 -1px 0 0 var(--syn-color-neutral-400);\n }\n\n /**\n * The primary content area displays one to many slotted items\n * and contains the following items:\n * - side nav state icon (OPTIONAL)\n * - company or application logo\n * - application name\n * - meta-navigation\n */\n .header__content {\n align-items: center;\n box-sizing: content-box;\n display: flex;\n min-height: 40px;\n padding: var(--syn-spacing-large);\n }\n\n /**\n * If the primary navigation is provided, use a smaller spacing\n * between the primary content area and the navigation area\n */\n .header--has-navigation .header__content {\n padding-bottom: var(--syn-spacing-medium);\n }\n\n /**\n * The logo slot includes the application or company logo\n */\n .header__logo ::slotted(*),\n .header__logo syn-icon {\n display: block;\n }\n\n /**\n * Make sure to use the correct color and outline for links\n */\n .header__logo ::slotted(a),\n .header__logo ::slotted(a:hover) {\n color: var(--syn-color-primary-600);\n }\n\n .header__logo ::slotted(a:is(:focus-visible)) {\n outline: var(--syn-focus-ring);\n outline-offset: var(--syn-focus-ring-offset);\n }\n\n /**\n * Styles for the default logo. This makes sure the default SICK logo has the correct size and color\n */\n .header__logo syn-icon,\n .header__logo syn-icon::part(svg) {\n color: var(--syn-color-primary-600);\n height: 32px;\n width: auto;\n }\n\n /**\n * The label section hosts the application name\n */\n .header__label {\n font: var(--syn-body-large-bold);\n padding: 0 var(--syn-spacing-2x-large);\n }\n\n /**\n * The options menu holds an
|
|
5
|
-
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,wBAAQ;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;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;",
|
|
4
|
+
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n display: block;\n }\n\n .header {\n background: var(--syn-color-neutral-0);\n box-shadow: inset 0 -1px 0 0 var(--syn-color-neutral-400);\n }\n\n /**\n * The primary content area displays one to many slotted items\n * and contains the following items:\n * - side nav state icon (OPTIONAL)\n * - company or application logo\n * - application name\n * - meta-navigation\n */\n .header__content {\n align-items: center;\n box-sizing: content-box;\n display: flex;\n min-height: 40px;\n padding: var(--syn-spacing-large);\n }\n\n /**\n * If the primary navigation is provided, use a smaller spacing\n * between the primary content area and the navigation area\n */\n .header--has-navigation .header__content {\n padding-bottom: var(--syn-spacing-medium);\n }\n\n /**\n * The logo slot includes the application or company logo\n */\n .header__logo ::slotted(*),\n .header__logo syn-icon {\n display: block;\n }\n\n /**\n * Make sure to use the correct color and outline for links\n */\n .header__logo ::slotted(a),\n .header__logo ::slotted(a:hover) {\n color: var(--syn-color-primary-600);\n }\n\n .header__logo ::slotted(a:is(:focus-visible)) {\n outline: var(--syn-focus-ring);\n outline-offset: var(--syn-focus-ring-offset);\n }\n\n /**\n * Styles for the default logo. This makes sure the default SICK logo has the correct size and color\n */\n .header__logo syn-icon,\n .header__logo syn-icon::part(svg) {\n color: var(--syn-color-primary-600);\n height: 32px;\n width: auto;\n }\n\n /**\n * The label section hosts the application name\n */\n .header__label {\n font: var(--syn-body-large-bold);\n padding: 0 var(--syn-spacing-2x-large);\n white-space: nowrap;\n }\n\n /**\n * The options menu holds an arbitrary list of <syn-icon-button />\n */\n .header__meta-navigation {\n display: flex;\n flex: 1;\n gap: var(--syn-spacing-x-small);\n justify-content: end;\n }\n\n .header__meta-navigation ::slotted(*) {\n display: contents;\n font-size: var(--syn-font-size-x-large);\n }\n\n /**\n * The horizontal top navigation section\n */\n .header__navigation {\n padding: 0 var(--syn-spacing-large);\n }\n\n /**\n * The burger menu icon styles\n */\n .header__burger-menu-toggle {\n align-items: center;\n background: none;\n border: none;\n color: var(--syn-color-neutral-950);\n cursor: pointer;\n display: flex;\n font-size: var(--syn-font-size-x-large);\n margin-right: calc(var(--syn-spacing-medium) + var(--syn-spacing-2x-small));\n padding: var(--syn-spacing-x-small);\n transition: var(--syn-transition-x-fast) color;\n }\n\n .header__burger-menu-toggle:hover {\n color: var(--syn-color-primary-600);\n }\n\n .header__burger-menu-toggle:active {\n color: var(--syn-color-primary-700);\n }\n\n .header__burger-menu-toggle:focus-visible {\n outline: var(--syn-focus-ring);\n outline-offset: var(--syn-focus-ring-offset);\n }\n\n /**\n * If the burger menu is provided, use a smaller spacing on the left side\n */\n .header--has-burger-menu .header__content {\n padding-left: var(--syn-spacing-medium);\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,wBAAQ;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;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;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
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import {
|
|
2
|
+
icon_default
|
|
3
|
+
} from "./chunk.G7XEHN2F.js";
|
|
4
|
+
import {
|
|
5
|
+
header_styles_default
|
|
6
|
+
} from "./chunk.AOKNP4QD.js";
|
|
7
|
+
import {
|
|
8
|
+
HasSlotController
|
|
9
|
+
} from "./chunk.66WXVGAW.js";
|
|
10
|
+
import {
|
|
11
|
+
watch
|
|
12
|
+
} from "./chunk.AVTU2BGE.js";
|
|
13
|
+
import {
|
|
14
|
+
LocalizeController
|
|
15
|
+
} from "./chunk.GEHO4WRP.js";
|
|
16
|
+
import {
|
|
17
|
+
SynergyElement,
|
|
18
|
+
component_styles_default
|
|
19
|
+
} from "./chunk.MCJTXOVV.js";
|
|
20
|
+
import {
|
|
21
|
+
__decorateClass
|
|
22
|
+
} from "./chunk.QNDC5KWA.js";
|
|
23
|
+
|
|
24
|
+
// src/components/header/header.component.ts
|
|
25
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
26
|
+
import { html } from "lit/static-html.js";
|
|
27
|
+
import { property, state } from "lit/decorators.js";
|
|
28
|
+
var SynHeader = class extends SynergyElement {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(...arguments);
|
|
31
|
+
this.hasSlotController = new HasSlotController(this, "[default]", "logo", "label", "meta-navigation", "navigation");
|
|
32
|
+
this.localize = new LocalizeController(this);
|
|
33
|
+
this.label = "";
|
|
34
|
+
this.showBurgerMenu = false;
|
|
35
|
+
this.burgerMenuVisible = false;
|
|
36
|
+
}
|
|
37
|
+
handleBurgerMenuToggle() {
|
|
38
|
+
if (this.sideNav && !this.sideNav.rail) {
|
|
39
|
+
this.sideNav.open = !this.sideNav.open;
|
|
40
|
+
}
|
|
41
|
+
this.burgerMenuVisible = !this.burgerMenuVisible;
|
|
42
|
+
}
|
|
43
|
+
updateBurgerMenuBasedOnSideNav() {
|
|
44
|
+
if (this.sideNav) {
|
|
45
|
+
this.showBurgerMenu = !this.sideNav.rail;
|
|
46
|
+
this.burgerMenuVisible = !this.sideNav.rail ? this.sideNav.open : false;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
handleBurgerMenuVisible() {
|
|
50
|
+
this.emit(this.burgerMenuVisible ? "syn-burger-menu-show" : "syn-burger-menu-hide");
|
|
51
|
+
}
|
|
52
|
+
connectedCallback() {
|
|
53
|
+
super.connectedCallback();
|
|
54
|
+
this.mutationObserver = new MutationObserver(() => this.updateBurgerMenuBasedOnSideNav());
|
|
55
|
+
}
|
|
56
|
+
firstUpdated() {
|
|
57
|
+
const sideNav = document.querySelector("syn-side-nav");
|
|
58
|
+
this.connectSideNavigation(sideNav);
|
|
59
|
+
}
|
|
60
|
+
disconnectedCallback() {
|
|
61
|
+
super.disconnectedCallback();
|
|
62
|
+
this.mutationObserver.disconnect();
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Connect a `syn-side-nav` to add automatic interaction of the header with the side navigation
|
|
66
|
+
* like showing the burger menu icon and open / close handling.
|
|
67
|
+
*
|
|
68
|
+
* If no side navigation is connected, the header will use the first `syn-side-nav` element it
|
|
69
|
+
* finds.
|
|
70
|
+
*
|
|
71
|
+
* @param sideNav The side navigation to connect to the header
|
|
72
|
+
*/
|
|
73
|
+
connectSideNavigation(sideNav) {
|
|
74
|
+
this.mutationObserver.disconnect();
|
|
75
|
+
this.sideNav = sideNav || document.querySelector("syn-side-nav");
|
|
76
|
+
if (this.sideNav) {
|
|
77
|
+
this.updateBurgerMenuBasedOnSideNav();
|
|
78
|
+
this.mutationObserver.observe(this.sideNav, { attributeFilter: ["open", "rail"], attributes: true });
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
render() {
|
|
82
|
+
const hasNavigation = this.hasSlotController.test("navigation");
|
|
83
|
+
return html`
|
|
84
|
+
<header
|
|
85
|
+
class=${classMap({
|
|
86
|
+
header: true,
|
|
87
|
+
"header--has-burger-menu": this.showBurgerMenu,
|
|
88
|
+
"header--has-navigation": hasNavigation
|
|
89
|
+
})}
|
|
90
|
+
part="base"
|
|
91
|
+
>
|
|
92
|
+
<!-- .header__content -->
|
|
93
|
+
<div part="content" class="header__content">
|
|
94
|
+
|
|
95
|
+
${this.showBurgerMenu ? html`
|
|
96
|
+
<button
|
|
97
|
+
part="burger-menu-toggle-button"
|
|
98
|
+
class="header__burger-menu-toggle"
|
|
99
|
+
type="button"
|
|
100
|
+
@click=${this.handleBurgerMenuToggle}
|
|
101
|
+
aria-label=${this.localize.term(this.burgerMenuVisible ? "closeMenu" : "openMenu")}
|
|
102
|
+
>
|
|
103
|
+
${this.burgerMenuVisible ? html`
|
|
104
|
+
<slot name="show-burger-menu">
|
|
105
|
+
<syn-icon name="x-lg" library="system"></syn-icon>
|
|
106
|
+
</slot>
|
|
107
|
+
` : html`
|
|
108
|
+
<slot name="hide-burger-menu">
|
|
109
|
+
<syn-icon name="menu" library="system"></syn-icon>
|
|
110
|
+
</slot>
|
|
111
|
+
`}
|
|
112
|
+
</button>
|
|
113
|
+
` : ""}
|
|
114
|
+
|
|
115
|
+
<div part="logo" class="header__logo">
|
|
116
|
+
<slot name="logo">
|
|
117
|
+
<syn-icon name="logo-color" library="system" label="SICK Sensor Intelligence"></syn-icon>
|
|
118
|
+
</slot>
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
<div part="label" class="header__label">
|
|
122
|
+
<slot>
|
|
123
|
+
${this.label}
|
|
124
|
+
</slot>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
127
|
+
<div part="meta-navigation" class="header__meta-navigation">
|
|
128
|
+
<slot name="meta-navigation"></slot>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
<!-- /.header__content -->
|
|
132
|
+
|
|
133
|
+
<div part="navigation" class="header__navigation">
|
|
134
|
+
<slot name="navigation"></slot>
|
|
135
|
+
</div>
|
|
136
|
+
</header>
|
|
137
|
+
`;
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
SynHeader.styles = [
|
|
141
|
+
component_styles_default,
|
|
142
|
+
header_styles_default
|
|
143
|
+
];
|
|
144
|
+
SynHeader.dependencies = {
|
|
145
|
+
"syn-icon": icon_default
|
|
146
|
+
};
|
|
147
|
+
__decorateClass([
|
|
148
|
+
property()
|
|
149
|
+
], SynHeader.prototype, "label", 2);
|
|
150
|
+
__decorateClass([
|
|
151
|
+
property({ attribute: "show-burger-menu", reflect: true, type: Boolean })
|
|
152
|
+
], SynHeader.prototype, "showBurgerMenu", 2);
|
|
153
|
+
__decorateClass([
|
|
154
|
+
property({ attribute: "burger-menu-visible", reflect: true, type: Boolean })
|
|
155
|
+
], SynHeader.prototype, "burgerMenuVisible", 2);
|
|
156
|
+
__decorateClass([
|
|
157
|
+
state()
|
|
158
|
+
], SynHeader.prototype, "sideNav", 2);
|
|
159
|
+
__decorateClass([
|
|
160
|
+
watch("burgerMenuVisible", { waitUntilFirstUpdate: true })
|
|
161
|
+
], SynHeader.prototype, "handleBurgerMenuVisible", 1);
|
|
162
|
+
|
|
163
|
+
export {
|
|
164
|
+
SynHeader
|
|
165
|
+
};
|
|
166
|
+
//# sourceMappingURL=chunk.BHTLGDWT.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/header/header.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/unbound-method */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit/static-html.js';\nimport { property, state } from 'lit/decorators.js';\nimport type { CSSResultGroup } from 'lit';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport styles from './header.styles.js';\nimport SynIcon from '../icon/icon.js';\nimport type SynSideNav from '../side-nav/side-nav.component.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { watch } from '../../internal/watch.js';\n\n/**\n * @summary The <syn-header /> element provides a generic application header\n * that can be used to add applications name, toolbar and primary navigation.\n *\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-header--docs\n * @status stable\n * @since 1.10.0\n *\n * @slot - The label for the header.\n * @slot logo - The logo that should be displayed. Will fall back to the SICK logo if not provided.\n * @slot meta-navigation - The meta-navigation is used to add various application toolbar icons.\n * Best used with `<syn-icon-button />` and `<syn-drop-down />`\n * @slot navigation - This slot can be used to add an optional horizontal navigation\n * @slot show-burger-menu - An icon to use in lieu of the default show burger menu icon\n * @slot hide-burger-menu - An icon to use in lieu of the default hide burger menu icon\n *\n * @event syn-burger-menu-show - Emitted when the burger menu button is toggled to visible\n * @event syn-burger-menu-hide - Emitted when the burger menu button is toggled to not visible\n *\n * @csspart base - The component's base wrapper.\n * @csspart content - The wrapper most content items reside\n * @csspart logo - The wrapper the application logo resides in\n * @csspart label - The element wrapping the application name\n * @csspart meta-navigation - The Item wrapping the optional application menu\n * @csspart navigation - The wrapper that is holding the optional top navigation section\n * @csspart burger-menu-toggle-button - The button that toggles the burger menu\n */\nexport default class SynHeader extends SynergyElement {\n static styles: CSSResultGroup = [\n componentStyles,\n styles,\n ];\n\n static dependencies = {\n 'syn-icon': SynIcon,\n };\n\n private readonly hasSlotController = new HasSlotController(this, '[default]', 'logo', 'label', 'meta-navigation', 'navigation');\n\n private readonly localize = new LocalizeController(this);\n\n /**\n * Internal mutation observer\n */\n private mutationObserver: MutationObserver;\n\n /**\n * The headers label. If you need to display HTML, use the `default` slot instead.\n */\n @property() label = '';\n\n /**\n * Adds a button to toggle the burger menu's visibility.\n * The button is added automatically, if the component finds a syn-side-nav in non-rail mode.\n */\n @property({ attribute: 'show-burger-menu', reflect: true, type: Boolean }) showBurgerMenu = false;\n\n /**\n * Determines whether or not the burger menu is currently visible.\n */\n @property({ attribute: 'burger-menu-visible', reflect: true, type: Boolean }) burgerMenuVisible = false;\n\n /**\n * The side nav\n */\n @state() private sideNav: SynSideNav | null;\n\n private handleBurgerMenuToggle() {\n // If there is a side-nav in non-rail mode, toggle the open state!\n if (this.sideNav && !this.sideNav.rail) {\n this.sideNav.open = !this.sideNav.open;\n }\n this.burgerMenuVisible = !this.burgerMenuVisible;\n }\n\n private updateBurgerMenuBasedOnSideNav() {\n // The side-nav has a higher priority than when the burger menu toggle and visibility\n // is set via property\n if (this.sideNav) {\n this.showBurgerMenu = !this.sideNav.rail;\n this.burgerMenuVisible = !this.sideNav.rail ? this.sideNav.open : false;\n }\n }\n\n @watch('burgerMenuVisible', { waitUntilFirstUpdate: true })\n handleBurgerMenuVisible() {\n this.emit(this.burgerMenuVisible ? 'syn-burger-menu-show' : 'syn-burger-menu-hide');\n }\n\n connectedCallback() {\n super.connectedCallback();\n\n this.mutationObserver = new MutationObserver(() => this.updateBurgerMenuBasedOnSideNav());\n }\n\n firstUpdated() {\n // Search for a side-nav and use the first found in case of the connectSideNavigation method\n // is not used by the user.\n const sideNav = document.querySelector('syn-side-nav')!;\n this.connectSideNavigation(sideNav);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n\n // Remove observer\n this.mutationObserver.disconnect();\n }\n\n /**\n * Connect a `syn-side-nav` to add automatic interaction of the header with the side navigation\n * like showing the burger menu icon and open / close handling.\n *\n * If no side navigation is connected, the header will use the first `syn-side-nav` element it\n * finds.\n *\n * @param sideNav The side navigation to connect to the header\n */\n connectSideNavigation(sideNav: SynSideNav) {\n this.mutationObserver.disconnect();\n\n this.sideNav = sideNav || document.querySelector('syn-side-nav');\n if (this.sideNav) {\n // Need to call the method initially, if the side-nav is not open on connect time.\n // Otherwise the mutation observer won`t trigger the method.\n this.updateBurgerMenuBasedOnSideNav();\n this.mutationObserver.observe(this.sideNav, { attributeFilter: ['open', 'rail'], attributes: true });\n }\n }\n\n render() {\n const hasNavigation = this.hasSlotController.test('navigation');\n\n return html`\n <header\n class=${classMap({\n header: true,\n 'header--has-burger-menu': this.showBurgerMenu,\n 'header--has-navigation': hasNavigation,\n })}\n part=\"base\"\n >\n <!-- .header__content -->\n <div part=\"content\" class=\"header__content\">\n\n ${this.showBurgerMenu\n ? html`\n <button\n part=\"burger-menu-toggle-button\"\n class=\"header__burger-menu-toggle\"\n type=\"button\"\n @click=${this.handleBurgerMenuToggle}\n aria-label=${this.localize.term(this.burgerMenuVisible ? 'closeMenu' : 'openMenu')}\n >\n ${this.burgerMenuVisible\n ? html`\n <slot name=\"show-burger-menu\">\n <syn-icon name=\"x-lg\" library=\"system\"></syn-icon>\n </slot>\n `\n : html`\n <slot name=\"hide-burger-menu\">\n <syn-icon name=\"menu\" library=\"system\"></syn-icon>\n </slot>\n `}\n </button>\n `\n : ''}\n\n <div part=\"logo\" class=\"header__logo\">\n <slot name=\"logo\">\n <syn-icon name=\"logo-color\" library=\"system\" label=\"SICK Sensor Intelligence\"></syn-icon>\n </slot>\n </div>\n\n <div part=\"label\" class=\"header__label\">\n <slot>\n ${this.label}\n </slot>\n </div>\n\n <div part=\"meta-navigation\" class=\"header__meta-navigation\">\n <slot name=\"meta-navigation\"></slot>\n </div>\n </div>\n <!-- /.header__content -->\n\n <div part=\"navigation\" class=\"header__navigation\">\n <slot name=\"navigation\"></slot>\n </div>\n </header>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynCheckbox
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ON2HXIFZ.js";
|
|
4
4
|
|
|
5
5
|
// src/components/checkbox/checkbox.ts
|
|
6
6
|
var checkbox_default = SynCheckbox;
|
|
@@ -9,4 +9,4 @@ SynCheckbox.define("syn-checkbox");
|
|
|
9
9
|
export {
|
|
10
10
|
checkbox_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.CHJC6OSN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDropdown
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.NBHBC5FQ.js";
|
|
4
4
|
|
|
5
5
|
// src/components/dropdown/dropdown.ts
|
|
6
6
|
var dropdown_default = SynDropdown;
|
|
@@ -9,4 +9,4 @@ SynDropdown.define("syn-dropdown");
|
|
|
9
9
|
export {
|
|
10
10
|
dropdown_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.EFV5UWMX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.3QNVV7DW.js";
|
|
4
4
|
|
|
5
5
|
// src/components/button/button.ts
|
|
6
6
|
var button_default = SynButton;
|
|
@@ -9,4 +9,4 @@ SynButton.define("syn-button");
|
|
|
9
9
|
export {
|
|
10
10
|
button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.FHEH5OSL.js.map
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
} from "./chunk.OSBC36KQ.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalizeController
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.GEHO4WRP.js";
|
|
7
7
|
import {
|
|
8
8
|
SynergyElement,
|
|
9
9
|
component_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.MCJTXOVV.js";
|
|
11
11
|
|
|
12
12
|
// src/components/spinner/spinner.component.ts
|
|
13
13
|
import { html } from "lit";
|
|
@@ -30,4 +30,4 @@ SynSpinner.styles = [component_styles_default, spinner_styles_default];
|
|
|
30
30
|
export {
|
|
31
31
|
SynSpinner
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=chunk.
|
|
33
|
+
//# sourceMappingURL=chunk.FKT4RXN7.js.map
|