@synergy-design-system/components 2.31.1 → 2.32.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/code-quality/html-validate/scripts/deprecation.js +1 -0
- package/code-quality/html-validate/scripts/synergy-element-rules.js +7 -1
- package/dist/chunks/{chunk.CRHZY5XO.js → chunk.227MERHC.js} +2 -2
- package/dist/chunks/{chunk.HCFLTHY5.js → chunk.2LWC5VGW.js} +2 -2
- package/dist/chunks/{chunk.2TFU27NA.js → chunk.2YGY6DRR.js} +2 -2
- package/dist/chunks/{chunk.OUUZOIRQ.js → chunk.34UKMOAN.js} +6 -6
- package/dist/chunks/{chunk.AXD3NMM5.js → chunk.3G4ZJEZH.js} +2 -2
- package/dist/chunks/{chunk.TP6XWU37.js → chunk.3UCVZ2N3.js} +3 -3
- package/dist/chunks/{chunk.DDI5MPRL.js → chunk.44QQS6VO.js} +2 -2
- package/dist/chunks/{chunk.VS3IUNIR.js → chunk.46QGGYGR.js} +7 -7
- package/dist/chunks/{chunk.ARA77UC2.js → chunk.4EGE74LM.js} +3 -3
- package/dist/chunks/{chunk.BM2VNDQB.js → chunk.4PCC4RLB.js} +2 -2
- package/dist/chunks/{chunk.OVJCBGVR.js → chunk.55XHHV7Z.js} +2 -2
- package/dist/chunks/{chunk.YOZVW5AL.js → chunk.56DHDBEB.js} +5 -5
- package/dist/chunks/{chunk.53H7VH7O.js → chunk.56EDYG6B.js} +2 -2
- package/dist/chunks/{chunk.NH4JQFOM.js → chunk.57DU3E3Z.js} +3 -1
- package/dist/chunks/{chunk.NH4JQFOM.js.map → chunk.57DU3E3Z.js.map} +2 -2
- package/dist/chunks/{chunk.2BPX7N5A.js → chunk.5C2RFLFS.js} +2 -2
- package/dist/chunks/{chunk.OQ6TRGBW.js → chunk.62CAR5MG.js} +6 -6
- package/dist/chunks/{chunk.IFRYWN3D.js → chunk.62JHOU5H.js} +2 -2
- package/dist/chunks/{chunk.IFRYWN3D.js.map → chunk.62JHOU5H.js.map} +1 -1
- package/dist/chunks/{chunk.S5N2TE2L.js → chunk.6DYKE5RE.js} +3 -1
- package/dist/chunks/{chunk.S5N2TE2L.js.map → chunk.6DYKE5RE.js.map} +2 -2
- package/dist/chunks/{chunk.6TZ2DFAZ.js → chunk.6JBICFHU.js} +2 -2
- package/dist/chunks/{chunk.H6OFPF2U.js → chunk.6VVYMYDJ.js} +9 -9
- package/dist/chunks/{chunk.MEU2VJRI.js → chunk.73DAHCC3.js} +2 -2
- package/dist/chunks/{chunk.WQHJNOCS.js → chunk.73KA7UX5.js} +2 -2
- package/dist/chunks/{chunk.S3U3H5YM.js → chunk.7AWK33AC.js} +6 -6
- package/dist/chunks/{chunk.57O3GW6F.js → chunk.7DYLS7V5.js} +2 -2
- package/dist/chunks/{chunk.C3OEY3C3.js → chunk.7E7CVZ43.js} +2 -2
- package/dist/chunks/{chunk.E2LK6CZQ.js → chunk.7GT7PLXZ.js} +8 -8
- package/dist/chunks/{chunk.NUIJATJY.js → chunk.7R4JCT5J.js} +2 -2
- package/dist/chunks/{chunk.F6VSTKR4.js → chunk.7WCAKMAK.js} +2 -2
- package/dist/chunks/{chunk.LXMXCA3A.js → chunk.A4ZAJ37W.js} +2 -2
- package/dist/chunks/{chunk.ZD664COV.js → chunk.AL4FWF4H.js} +3 -3
- package/dist/chunks/{chunk.O72UJFII.js → chunk.AXBCLZGS.js} +2 -2
- package/dist/chunks/{chunk.TCP5IT3F.js → chunk.BBLILCDY.js} +7 -7
- package/dist/chunks/{chunk.TCKDCA72.js → chunk.BQDQ2XF4.js} +2 -2
- package/dist/chunks/{chunk.4MFDZDGQ.js → chunk.BSMGYXJY.js} +2 -2
- package/dist/chunks/{chunk.LBAZSXTY.js → chunk.BU5O7KW4.js} +2 -2
- package/dist/chunks/{chunk.S6G76KJP.js → chunk.BZUKUJ36.js} +18 -16
- package/dist/chunks/chunk.BZUKUJ36.js.map +7 -0
- package/dist/chunks/{chunk.BFRV22TW.js → chunk.C3GOUZVH.js} +2 -2
- package/dist/chunks/{chunk.OCD5GCRS.js → chunk.E2NPS5ZN.js} +5 -5
- package/dist/chunks/{chunk.ZC2XDIU3.js → chunk.E3KQWTHA.js} +2 -2
- package/dist/chunks/{chunk.QFHIRCPA.js → chunk.EV64WMJD.js} +2 -2
- package/dist/chunks/{chunk.QZLUMB3K.js → chunk.F5XNF33L.js} +2 -2
- package/dist/chunks/{chunk.C5HUAF7E.js → chunk.F7AAPYYY.js} +6 -6
- package/dist/chunks/chunk.FWLUR33I.js +165 -0
- package/dist/chunks/chunk.FWLUR33I.js.map +7 -0
- package/dist/chunks/{chunk.BUDFIDON.js → chunk.G4PY4E62.js} +2 -2
- package/dist/chunks/{chunk.JTSBAJHO.js → chunk.G6CLSRWS.js} +2 -2
- package/dist/chunks/{chunk.F4PPYWD2.js → chunk.GWVD6JWM.js} +2 -2
- package/dist/chunks/{chunk.C37WAG5S.js → chunk.HCLG3RID.js} +5 -5
- package/dist/chunks/{chunk.UZDYMCG5.js → chunk.HMPLHOEC.js} +2 -2
- package/dist/chunks/{chunk.VJ76QTIO.js → chunk.IKAS4HSG.js} +2 -2
- package/dist/chunks/{chunk.UA5JN2HT.js → chunk.IN2KZ2JM.js} +2 -2
- package/dist/chunks/{chunk.GIU3H3J3.js → chunk.IPGLY3H4.js} +2 -2
- package/dist/chunks/{chunk.GIU3H3J3.js.map → chunk.IPGLY3H4.js.map} +1 -1
- package/dist/chunks/{chunk.J3UFKDWS.js → chunk.IQ23XRJD.js} +6 -6
- package/dist/chunks/{chunk.F5J4LZRJ.js → chunk.IZUV4XRR.js} +5 -5
- package/dist/chunks/{chunk.IHXL2BKO.js → chunk.JGPSIBNQ.js} +5 -5
- package/dist/chunks/{chunk.PIBXQKPW.js → chunk.JJWV4MPY.js} +2 -2
- package/dist/chunks/{chunk.LC74L3J4.js → chunk.JORU53XU.js} +2 -2
- package/dist/chunks/{chunk.B2K6WO7U.js → chunk.KR4ZPT4X.js} +14 -13
- package/dist/chunks/chunk.KR4ZPT4X.js.map +7 -0
- package/dist/chunks/{chunk.TZD6VAFM.js → chunk.KRG4ASUB.js} +8 -8
- package/dist/chunks/{chunk.G43EW4MK.js → chunk.KY7HUUUM.js} +2 -2
- package/dist/chunks/{chunk.4GD27HRW.js → chunk.LMUAOSNG.js} +3 -3
- package/dist/chunks/{chunk.74EZT7OT.js → chunk.LZHDDLQQ.js} +2 -2
- package/dist/chunks/{chunk.W6LCOQGH.js → chunk.MTRKAUI5.js} +13 -13
- package/dist/chunks/{chunk.OH3PPVV4.js → chunk.MYVDDEUN.js} +3 -1
- package/dist/chunks/chunk.MYVDDEUN.js.map +7 -0
- package/dist/chunks/{chunk.EXJFVNO7.js → chunk.N5CECNHU.js} +10 -10
- package/dist/chunks/{chunk.QS5XGTGM.js → chunk.N634EXYZ.js} +3 -3
- package/dist/chunks/{chunk.4PPBTCD5.js → chunk.NGCFEEST.js} +2 -2
- package/dist/chunks/{chunk.VACWERCC.js → chunk.NISA5CE2.js} +6 -6
- package/dist/chunks/{chunk.ITOPC2EK.js → chunk.NOESO6WV.js} +2 -2
- package/dist/chunks/{chunk.2ZLTOKZD.js → chunk.NXKFEIMZ.js} +6 -6
- package/dist/chunks/{chunk.QBQPIJL7.js → chunk.O66H6R5X.js} +2 -2
- package/dist/chunks/{chunk.NIGNMNFF.js → chunk.O7S4ZPF7.js} +2 -2
- package/dist/chunks/{chunk.XMDJPHX2.js → chunk.OFOF7ZOR.js} +2 -2
- package/dist/chunks/{chunk.7WYASY7G.js → chunk.OTRVRUXO.js} +3 -3
- package/dist/chunks/{chunk.66TRD7RB.js → chunk.P7N2RZPB.js} +7 -7
- package/dist/chunks/{chunk.GPIHTDAN.js → chunk.PIC4O6Q2.js} +9 -9
- package/dist/chunks/{chunk.VCVTS2XB.js → chunk.QXIZDYA4.js} +2 -2
- package/dist/chunks/{chunk.VJ4GSZSK.js → chunk.R42AFTFA.js} +9 -9
- package/dist/chunks/{chunk.6UPUUCTS.js → chunk.R52TN2LF.js} +2 -2
- package/dist/chunks/{chunk.5YDUYSLU.js → chunk.RIPTU5BC.js} +2 -2
- package/dist/chunks/{chunk.RXVYZJ7V.js → chunk.RPM55AQB.js} +2 -2
- package/dist/chunks/{chunk.PY3JF3U5.js → chunk.RUQMHV5V.js} +2 -2
- package/dist/chunks/{chunk.CITWLSAM.js → chunk.RVWB22MU.js} +2 -2
- package/dist/chunks/{chunk.VAFUGCAL.js → chunk.RW5BBJ5K.js} +2 -2
- package/dist/chunks/{chunk.Q3YYZERE.js → chunk.SBGVZBBD.js} +95 -63
- package/dist/chunks/chunk.SBGVZBBD.js.map +7 -0
- package/dist/chunks/{chunk.MIFSAMBD.js → chunk.T7UT34YW.js} +2 -2
- package/dist/chunks/{chunk.5BNOHKBQ.js → chunk.TEYI3WY6.js} +2 -2
- package/dist/chunks/{chunk.4WGFUMJG.js → chunk.ULNCAAQN.js} +2 -2
- package/dist/chunks/{chunk.J6T6Y2LH.js → chunk.V6HU7SQP.js} +2 -2
- package/dist/chunks/{chunk.PWZSMYSB.js → chunk.VBE5RBH5.js} +6 -6
- package/dist/chunks/{chunk.LUQR4NNU.js → chunk.VECCQZP5.js} +12 -2
- package/dist/chunks/{chunk.LUQR4NNU.js.map → chunk.VECCQZP5.js.map} +2 -2
- package/dist/chunks/{chunk.W662K66T.js → chunk.VFOXZ66D.js} +2 -2
- package/dist/chunks/{chunk.IZ3YBEWP.js → chunk.W22XP6SZ.js} +19 -10
- package/dist/chunks/chunk.W22XP6SZ.js.map +7 -0
- package/dist/chunks/{chunk.V52DGYOQ.js → chunk.W24WTLHF.js} +9 -9
- package/dist/chunks/chunk.W24WTLHF.js.map +7 -0
- package/dist/chunks/{chunk.D76KQXQ6.js → chunk.W56BX5IM.js} +10 -10
- package/dist/chunks/{chunk.AFSEH45S.js → chunk.WCPQBS67.js} +2 -2
- package/dist/chunks/{chunk.X2BJ2RWR.js → chunk.WIDU3JFX.js} +6 -6
- package/dist/chunks/{chunk.BSZ4E3R4.js → chunk.XACPLHJJ.js} +4 -4
- package/dist/chunks/{chunk.R7YGKYQ3.js → chunk.XRSPUMKG.js} +3 -3
- package/dist/chunks/{chunk.N7HE4GWA.js → chunk.XVFMAH3Z.js} +6 -6
- package/dist/chunks/{chunk.T6HR57NS.js → chunk.YGQ7VBLW.js} +2 -2
- package/dist/chunks/{chunk.KCWPOD5N.js → chunk.YLY5MMDA.js} +2 -2
- package/dist/chunks/{chunk.UTTBWNVC.js → chunk.Z2RDB23K.js} +2 -2
- package/dist/chunks/{chunk.4AUUQXOV.js → chunk.Z52I4QC3.js} +2 -2
- package/dist/chunks/{chunk.RTKKOQ4K.js → chunk.ZH6J636O.js} +2 -2
- package/dist/components/accordion/accordion.component.js +6 -6
- package/dist/components/accordion/accordion.js +7 -7
- package/dist/components/alert/alert.component.js +13 -13
- package/dist/components/alert/alert.js +14 -14
- package/dist/components/badge/badge.component.js +8 -8
- package/dist/components/badge/badge.js +9 -9
- package/dist/components/breadcrumb/breadcrumb.component.js +9 -9
- package/dist/components/breadcrumb/breadcrumb.js +10 -10
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +11 -11
- package/dist/components/button/button.js +12 -12
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +8 -8
- package/dist/components/checkbox/checkbox.js +9 -9
- package/dist/components/combobox/combobox.component.js +12 -12
- package/dist/components/combobox/combobox.js +13 -13
- package/dist/components/details/details.component.js +10 -10
- package/dist/components/details/details.js +11 -11
- package/dist/components/dialog/dialog.component.js +11 -11
- package/dist/components/dialog/dialog.js +12 -12
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.d.ts +2 -0
- package/dist/components/drawer/drawer.component.js +11 -11
- package/dist/components/drawer/drawer.js +12 -12
- package/dist/components/dropdown/dropdown.component.js +5 -5
- package/dist/components/dropdown/dropdown.js +6 -6
- package/dist/components/file/file.component.js +12 -12
- package/dist/components/file/file.js +13 -13
- package/dist/components/header/header.component.d.ts +2 -1
- package/dist/components/header/header.component.js +8 -8
- package/dist/components/header/header.js +9 -9
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- 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 +8 -8
- package/dist/components/icon-button/icon-button.js +9 -9
- 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 +9 -9
- package/dist/components/menu-item/menu-item.js +10 -10
- 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.js +3 -3
- package/dist/components/nav-item/nav-item.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 +4 -4
- package/dist/components/popup/popup.js +5 -5
- package/dist/components/prio-nav/prio-nav.component.js +12 -12
- package/dist/components/prio-nav/prio-nav.js +13 -13
- package/dist/components/progress-bar/progress-bar.component.js +4 -4
- package/dist/components/progress-bar/progress-bar.js +5 -5
- package/dist/components/progress-ring/progress-ring.component.js +4 -4
- package/dist/components/progress-ring/progress-ring.js +5 -5
- package/dist/components/radio/radio.component.js +8 -8
- package/dist/components/radio/radio.js +9 -9
- package/dist/components/radio-button/radio-button.component.js +5 -5
- package/dist/components/radio-button/radio-button.js +6 -6
- package/dist/components/radio-group/radio-group.component.js +6 -6
- package/dist/components/radio-group/radio-group.js +7 -7
- package/dist/components/range/range.component.js +9 -9
- package/dist/components/range/range.js +10 -10
- package/dist/components/range-tick/range-tick.component.js +2 -2
- package/dist/components/range-tick/range-tick.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/select/select.component.js +14 -14
- package/dist/components/select/select.js +15 -15
- package/dist/components/select/utility.d.ts +7 -0
- package/dist/components/select/utility.js +3 -1
- package/dist/components/side-nav/side-nav.component.d.ts +58 -14
- package/dist/components/side-nav/side-nav.component.js +16 -14
- package/dist/components/side-nav/side-nav.js +17 -15
- package/dist/components/side-nav/side-nav.styles.js +1 -1
- package/dist/components/spinner/spinner.component.js +4 -4
- package/dist/components/spinner/spinner.js +5 -5
- package/dist/components/switch/switch.component.js +5 -5
- package/dist/components/switch/switch.js +6 -6
- package/dist/components/tab/tab.component.js +11 -11
- package/dist/components/tab/tab.js +12 -12
- package/dist/components/tab-group/tab-group.component.js +12 -12
- package/dist/components/tab-group/tab-group.js +13 -13
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +11 -11
- package/dist/components/tag/tag.js +12 -12
- package/dist/components/textarea/textarea.component.js +5 -5
- package/dist/components/textarea/textarea.js +6 -6
- package/dist/components/tooltip/tooltip.component.js +5 -5
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/validate/utility.js +2 -2
- package/dist/components/validate/validate.component.js +15 -15
- package/dist/components/validate/validate.js +16 -16
- package/dist/custom-elements.json +85 -33
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +115 -115
- package/dist/translations/de.js +4 -2
- package/dist/translations/de.js.map +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/utilities/defaultSettings/base.d.ts +3 -1
- package/dist/utilities/defaultSettings/base.js +1 -1
- package/dist/utilities/defaultSettings/decorator.js +3 -3
- package/dist/utilities/defaultSettings/functions.js +2 -2
- package/dist/utilities/defaultSettings/index.js +3 -3
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +2 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +13 -4
- package/package.json +4 -4
- package/dist/chunks/chunk.B2K6WO7U.js.map +0 -7
- package/dist/chunks/chunk.H3HTSQKK.js +0 -97
- package/dist/chunks/chunk.H3HTSQKK.js.map +0 -7
- package/dist/chunks/chunk.IZ3YBEWP.js.map +0 -7
- package/dist/chunks/chunk.OH3PPVV4.js.map +0 -7
- package/dist/chunks/chunk.Q3YYZERE.js.map +0 -7
- package/dist/chunks/chunk.S6G76KJP.js.map +0 -7
- package/dist/chunks/chunk.V52DGYOQ.js.map +0 -7
- /package/dist/chunks/{chunk.CRHZY5XO.js.map → chunk.227MERHC.js.map} +0 -0
- /package/dist/chunks/{chunk.HCFLTHY5.js.map → chunk.2LWC5VGW.js.map} +0 -0
- /package/dist/chunks/{chunk.2TFU27NA.js.map → chunk.2YGY6DRR.js.map} +0 -0
- /package/dist/chunks/{chunk.OUUZOIRQ.js.map → chunk.34UKMOAN.js.map} +0 -0
- /package/dist/chunks/{chunk.AXD3NMM5.js.map → chunk.3G4ZJEZH.js.map} +0 -0
- /package/dist/chunks/{chunk.TP6XWU37.js.map → chunk.3UCVZ2N3.js.map} +0 -0
- /package/dist/chunks/{chunk.DDI5MPRL.js.map → chunk.44QQS6VO.js.map} +0 -0
- /package/dist/chunks/{chunk.VS3IUNIR.js.map → chunk.46QGGYGR.js.map} +0 -0
- /package/dist/chunks/{chunk.ARA77UC2.js.map → chunk.4EGE74LM.js.map} +0 -0
- /package/dist/chunks/{chunk.BM2VNDQB.js.map → chunk.4PCC4RLB.js.map} +0 -0
- /package/dist/chunks/{chunk.OVJCBGVR.js.map → chunk.55XHHV7Z.js.map} +0 -0
- /package/dist/chunks/{chunk.YOZVW5AL.js.map → chunk.56DHDBEB.js.map} +0 -0
- /package/dist/chunks/{chunk.53H7VH7O.js.map → chunk.56EDYG6B.js.map} +0 -0
- /package/dist/chunks/{chunk.2BPX7N5A.js.map → chunk.5C2RFLFS.js.map} +0 -0
- /package/dist/chunks/{chunk.OQ6TRGBW.js.map → chunk.62CAR5MG.js.map} +0 -0
- /package/dist/chunks/{chunk.6TZ2DFAZ.js.map → chunk.6JBICFHU.js.map} +0 -0
- /package/dist/chunks/{chunk.H6OFPF2U.js.map → chunk.6VVYMYDJ.js.map} +0 -0
- /package/dist/chunks/{chunk.MEU2VJRI.js.map → chunk.73DAHCC3.js.map} +0 -0
- /package/dist/chunks/{chunk.WQHJNOCS.js.map → chunk.73KA7UX5.js.map} +0 -0
- /package/dist/chunks/{chunk.S3U3H5YM.js.map → chunk.7AWK33AC.js.map} +0 -0
- /package/dist/chunks/{chunk.57O3GW6F.js.map → chunk.7DYLS7V5.js.map} +0 -0
- /package/dist/chunks/{chunk.C3OEY3C3.js.map → chunk.7E7CVZ43.js.map} +0 -0
- /package/dist/chunks/{chunk.E2LK6CZQ.js.map → chunk.7GT7PLXZ.js.map} +0 -0
- /package/dist/chunks/{chunk.NUIJATJY.js.map → chunk.7R4JCT5J.js.map} +0 -0
- /package/dist/chunks/{chunk.F6VSTKR4.js.map → chunk.7WCAKMAK.js.map} +0 -0
- /package/dist/chunks/{chunk.LXMXCA3A.js.map → chunk.A4ZAJ37W.js.map} +0 -0
- /package/dist/chunks/{chunk.ZD664COV.js.map → chunk.AL4FWF4H.js.map} +0 -0
- /package/dist/chunks/{chunk.O72UJFII.js.map → chunk.AXBCLZGS.js.map} +0 -0
- /package/dist/chunks/{chunk.TCP5IT3F.js.map → chunk.BBLILCDY.js.map} +0 -0
- /package/dist/chunks/{chunk.TCKDCA72.js.map → chunk.BQDQ2XF4.js.map} +0 -0
- /package/dist/chunks/{chunk.4MFDZDGQ.js.map → chunk.BSMGYXJY.js.map} +0 -0
- /package/dist/chunks/{chunk.LBAZSXTY.js.map → chunk.BU5O7KW4.js.map} +0 -0
- /package/dist/chunks/{chunk.BFRV22TW.js.map → chunk.C3GOUZVH.js.map} +0 -0
- /package/dist/chunks/{chunk.OCD5GCRS.js.map → chunk.E2NPS5ZN.js.map} +0 -0
- /package/dist/chunks/{chunk.ZC2XDIU3.js.map → chunk.E3KQWTHA.js.map} +0 -0
- /package/dist/chunks/{chunk.QFHIRCPA.js.map → chunk.EV64WMJD.js.map} +0 -0
- /package/dist/chunks/{chunk.QZLUMB3K.js.map → chunk.F5XNF33L.js.map} +0 -0
- /package/dist/chunks/{chunk.C5HUAF7E.js.map → chunk.F7AAPYYY.js.map} +0 -0
- /package/dist/chunks/{chunk.BUDFIDON.js.map → chunk.G4PY4E62.js.map} +0 -0
- /package/dist/chunks/{chunk.JTSBAJHO.js.map → chunk.G6CLSRWS.js.map} +0 -0
- /package/dist/chunks/{chunk.F4PPYWD2.js.map → chunk.GWVD6JWM.js.map} +0 -0
- /package/dist/chunks/{chunk.C37WAG5S.js.map → chunk.HCLG3RID.js.map} +0 -0
- /package/dist/chunks/{chunk.UZDYMCG5.js.map → chunk.HMPLHOEC.js.map} +0 -0
- /package/dist/chunks/{chunk.VJ76QTIO.js.map → chunk.IKAS4HSG.js.map} +0 -0
- /package/dist/chunks/{chunk.UA5JN2HT.js.map → chunk.IN2KZ2JM.js.map} +0 -0
- /package/dist/chunks/{chunk.J3UFKDWS.js.map → chunk.IQ23XRJD.js.map} +0 -0
- /package/dist/chunks/{chunk.F5J4LZRJ.js.map → chunk.IZUV4XRR.js.map} +0 -0
- /package/dist/chunks/{chunk.IHXL2BKO.js.map → chunk.JGPSIBNQ.js.map} +0 -0
- /package/dist/chunks/{chunk.PIBXQKPW.js.map → chunk.JJWV4MPY.js.map} +0 -0
- /package/dist/chunks/{chunk.LC74L3J4.js.map → chunk.JORU53XU.js.map} +0 -0
- /package/dist/chunks/{chunk.TZD6VAFM.js.map → chunk.KRG4ASUB.js.map} +0 -0
- /package/dist/chunks/{chunk.G43EW4MK.js.map → chunk.KY7HUUUM.js.map} +0 -0
- /package/dist/chunks/{chunk.4GD27HRW.js.map → chunk.LMUAOSNG.js.map} +0 -0
- /package/dist/chunks/{chunk.74EZT7OT.js.map → chunk.LZHDDLQQ.js.map} +0 -0
- /package/dist/chunks/{chunk.W6LCOQGH.js.map → chunk.MTRKAUI5.js.map} +0 -0
- /package/dist/chunks/{chunk.EXJFVNO7.js.map → chunk.N5CECNHU.js.map} +0 -0
- /package/dist/chunks/{chunk.QS5XGTGM.js.map → chunk.N634EXYZ.js.map} +0 -0
- /package/dist/chunks/{chunk.4PPBTCD5.js.map → chunk.NGCFEEST.js.map} +0 -0
- /package/dist/chunks/{chunk.VACWERCC.js.map → chunk.NISA5CE2.js.map} +0 -0
- /package/dist/chunks/{chunk.ITOPC2EK.js.map → chunk.NOESO6WV.js.map} +0 -0
- /package/dist/chunks/{chunk.2ZLTOKZD.js.map → chunk.NXKFEIMZ.js.map} +0 -0
- /package/dist/chunks/{chunk.QBQPIJL7.js.map → chunk.O66H6R5X.js.map} +0 -0
- /package/dist/chunks/{chunk.NIGNMNFF.js.map → chunk.O7S4ZPF7.js.map} +0 -0
- /package/dist/chunks/{chunk.XMDJPHX2.js.map → chunk.OFOF7ZOR.js.map} +0 -0
- /package/dist/chunks/{chunk.7WYASY7G.js.map → chunk.OTRVRUXO.js.map} +0 -0
- /package/dist/chunks/{chunk.66TRD7RB.js.map → chunk.P7N2RZPB.js.map} +0 -0
- /package/dist/chunks/{chunk.GPIHTDAN.js.map → chunk.PIC4O6Q2.js.map} +0 -0
- /package/dist/chunks/{chunk.VCVTS2XB.js.map → chunk.QXIZDYA4.js.map} +0 -0
- /package/dist/chunks/{chunk.VJ4GSZSK.js.map → chunk.R42AFTFA.js.map} +0 -0
- /package/dist/chunks/{chunk.6UPUUCTS.js.map → chunk.R52TN2LF.js.map} +0 -0
- /package/dist/chunks/{chunk.5YDUYSLU.js.map → chunk.RIPTU5BC.js.map} +0 -0
- /package/dist/chunks/{chunk.RXVYZJ7V.js.map → chunk.RPM55AQB.js.map} +0 -0
- /package/dist/chunks/{chunk.PY3JF3U5.js.map → chunk.RUQMHV5V.js.map} +0 -0
- /package/dist/chunks/{chunk.CITWLSAM.js.map → chunk.RVWB22MU.js.map} +0 -0
- /package/dist/chunks/{chunk.VAFUGCAL.js.map → chunk.RW5BBJ5K.js.map} +0 -0
- /package/dist/chunks/{chunk.MIFSAMBD.js.map → chunk.T7UT34YW.js.map} +0 -0
- /package/dist/chunks/{chunk.5BNOHKBQ.js.map → chunk.TEYI3WY6.js.map} +0 -0
- /package/dist/chunks/{chunk.4WGFUMJG.js.map → chunk.ULNCAAQN.js.map} +0 -0
- /package/dist/chunks/{chunk.J6T6Y2LH.js.map → chunk.V6HU7SQP.js.map} +0 -0
- /package/dist/chunks/{chunk.PWZSMYSB.js.map → chunk.VBE5RBH5.js.map} +0 -0
- /package/dist/chunks/{chunk.W662K66T.js.map → chunk.VFOXZ66D.js.map} +0 -0
- /package/dist/chunks/{chunk.D76KQXQ6.js.map → chunk.W56BX5IM.js.map} +0 -0
- /package/dist/chunks/{chunk.AFSEH45S.js.map → chunk.WCPQBS67.js.map} +0 -0
- /package/dist/chunks/{chunk.X2BJ2RWR.js.map → chunk.WIDU3JFX.js.map} +0 -0
- /package/dist/chunks/{chunk.BSZ4E3R4.js.map → chunk.XACPLHJJ.js.map} +0 -0
- /package/dist/chunks/{chunk.R7YGKYQ3.js.map → chunk.XRSPUMKG.js.map} +0 -0
- /package/dist/chunks/{chunk.N7HE4GWA.js.map → chunk.XVFMAH3Z.js.map} +0 -0
- /package/dist/chunks/{chunk.T6HR57NS.js.map → chunk.YGQ7VBLW.js.map} +0 -0
- /package/dist/chunks/{chunk.KCWPOD5N.js.map → chunk.YLY5MMDA.js.map} +0 -0
- /package/dist/chunks/{chunk.UTTBWNVC.js.map → chunk.Z2RDB23K.js.map} +0 -0
- /package/dist/chunks/{chunk.4AUUQXOV.js.map → chunk.Z52I4QC3.js.map} +0 -0
- /package/dist/chunks/{chunk.RTKKOQ4K.js.map → chunk.ZH6J636O.js.map} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
side_nav_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.FWLUR33I.js";
|
|
4
|
+
import {
|
|
5
|
+
SynNavItem
|
|
6
|
+
} from "./chunk.BZUKUJ36.js";
|
|
4
7
|
import {
|
|
5
8
|
SynDivider
|
|
6
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.F5XNF33L.js";
|
|
7
10
|
import {
|
|
8
11
|
SynDrawer
|
|
9
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.W22XP6SZ.js";
|
|
10
13
|
import {
|
|
11
14
|
unlockBodyScrolling
|
|
12
15
|
} from "./chunk.5732DMBC.js";
|
|
13
|
-
import {
|
|
14
|
-
blurActiveElement
|
|
15
|
-
} from "./chunk.WXVOTRW5.js";
|
|
16
16
|
import {
|
|
17
17
|
waitForEvent
|
|
18
18
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -25,17 +25,23 @@ import {
|
|
|
25
25
|
HasSlotController
|
|
26
26
|
} from "./chunk.WVVQK5TE.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./chunk.
|
|
28
|
+
SynIcon
|
|
29
|
+
} from "./chunk.3UCVZ2N3.js";
|
|
30
30
|
import {
|
|
31
31
|
watch
|
|
32
32
|
} from "./chunk.74IOULXM.js";
|
|
33
|
+
import {
|
|
34
|
+
LocalizeController
|
|
35
|
+
} from "./chunk.IPGLY3H4.js";
|
|
36
|
+
import {
|
|
37
|
+
enableDefaultSettings
|
|
38
|
+
} from "./chunk.7R4JCT5J.js";
|
|
33
39
|
import {
|
|
34
40
|
component_styles_default
|
|
35
41
|
} from "./chunk.NLYVOJGK.js";
|
|
36
42
|
import {
|
|
37
43
|
SynergyElement
|
|
38
|
-
} from "./chunk.
|
|
44
|
+
} from "./chunk.62JHOU5H.js";
|
|
39
45
|
import {
|
|
40
46
|
__decorateClass
|
|
41
47
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -52,18 +58,19 @@ var SynSideNav = class extends SynergyElement {
|
|
|
52
58
|
this.isAnimationActive = false;
|
|
53
59
|
this.open = false;
|
|
54
60
|
this.rail = false;
|
|
61
|
+
this.variant = "default";
|
|
55
62
|
this.noFocusTrapping = false;
|
|
56
63
|
this.handleMouseEnter = this.handleMouseEnter.bind(this);
|
|
57
64
|
this.handleMouseLeave = this.handleMouseLeave.bind(this);
|
|
58
65
|
this.addEventListener("syn-initial-focus", (event) => {
|
|
59
|
-
if (this.
|
|
66
|
+
if (this.variant !== "default") {
|
|
60
67
|
event.preventDefault();
|
|
61
68
|
this.drawer["originalTrigger"] = null;
|
|
62
69
|
}
|
|
63
70
|
});
|
|
64
71
|
this.addEventListener("focusin", (event) => {
|
|
65
72
|
const targetTag = event.target.tagName.toLowerCase();
|
|
66
|
-
if (targetTag === "syn-nav-item" && this.rail && !this.open) {
|
|
73
|
+
if (targetTag === "syn-nav-item" && this.variant === "rail" && !this.open) {
|
|
67
74
|
this.open = true;
|
|
68
75
|
}
|
|
69
76
|
});
|
|
@@ -71,7 +78,7 @@ var SynSideNav = class extends SynergyElement {
|
|
|
71
78
|
var _a;
|
|
72
79
|
const targetTag = event.target.tagName.toLowerCase();
|
|
73
80
|
const relatedTargetTag = (_a = event.relatedTarget) == null ? void 0 : _a.tagName.toLowerCase();
|
|
74
|
-
if (targetTag === "syn-nav-item" && relatedTargetTag !== "syn-nav-item" && this.rail && this.open) {
|
|
81
|
+
if (targetTag === "syn-nav-item" && relatedTargetTag !== "syn-nav-item" && this.variant === "rail" && this.open) {
|
|
75
82
|
this.open = false;
|
|
76
83
|
}
|
|
77
84
|
});
|
|
@@ -105,20 +112,9 @@ var SynSideNav = class extends SynergyElement {
|
|
|
105
112
|
(_a = this.drawer.shadowRoot.querySelector(".drawer__panel")) == null ? void 0 : _a.removeEventListener("mouseenter", this.handleMouseEnter);
|
|
106
113
|
(_b = this.drawer.shadowRoot.querySelector(".drawer__panel")) == null ? void 0 : _b.removeEventListener("mouseleave", this.handleMouseLeave);
|
|
107
114
|
}
|
|
108
|
-
setDrawerVisibility(isVisible) {
|
|
109
|
-
var _a;
|
|
110
|
-
this.drawer.shadowRoot.querySelector(".drawer").hidden = !isVisible;
|
|
111
|
-
(_a = this.drawer.shadowRoot.querySelector(".drawer__panel")) == null ? void 0 : _a.setAttribute("aria-hidden", isVisible ? "false" : "true");
|
|
112
|
-
}
|
|
113
|
-
forceDrawerVisibilityForRailMode() {
|
|
114
|
-
return waitForEvent(this.drawer, "syn-after-hide").then(() => {
|
|
115
|
-
this.setDrawerVisibility(true);
|
|
116
|
-
this.isAnimationActive = false;
|
|
117
|
-
});
|
|
118
|
-
}
|
|
119
115
|
setDrawerAnimations() {
|
|
120
|
-
const showAnimation = getAnimation(this, `sideNav.show${this.
|
|
121
|
-
const hideAnimation = getAnimation(this, `sideNav.hide${this.
|
|
116
|
+
const showAnimation = getAnimation(this, `sideNav.show${this.variant === "default" ? "NonRail" : "Rail"}`, { dir: this.localize.dir() });
|
|
117
|
+
const hideAnimation = getAnimation(this, `sideNav.hide${this.variant === "default" ? "NonRail" : "Rail"}`, { dir: this.localize.dir() });
|
|
122
118
|
const hideOverlay = getAnimation(this, "sideNav.overlay.hide", { dir: this.localize.dir() });
|
|
123
119
|
const showOverlay = getAnimation(this, "sideNav.overlay.show", { dir: this.localize.dir() });
|
|
124
120
|
setAnimation(this.drawer, "drawer.showStart", showAnimation);
|
|
@@ -126,36 +122,30 @@ var SynSideNav = class extends SynergyElement {
|
|
|
126
122
|
setAnimation(this.drawer, "drawer.overlay.hide", hideOverlay);
|
|
127
123
|
setAnimation(this.drawer, "drawer.overlay.show", showOverlay);
|
|
128
124
|
}
|
|
129
|
-
|
|
125
|
+
handleVariantChange() {
|
|
130
126
|
this.setDrawerAnimations();
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
127
|
+
this.drawer.forceVisibility(this.variant !== "default");
|
|
128
|
+
switch (this.variant) {
|
|
129
|
+
case "rail":
|
|
130
|
+
this.addMouseListener();
|
|
131
|
+
break;
|
|
132
|
+
case "sticky":
|
|
133
|
+
case "default":
|
|
134
|
+
default:
|
|
135
|
+
this.removeMouseListener();
|
|
139
136
|
}
|
|
140
137
|
}
|
|
141
138
|
handleOpenChange() {
|
|
142
|
-
if (
|
|
143
|
-
blurActiveElement(this);
|
|
144
|
-
}
|
|
145
|
-
if (!this.rail) {
|
|
139
|
+
if (this.variant === "default") {
|
|
146
140
|
return;
|
|
147
141
|
}
|
|
148
142
|
this.isAnimationActive = true;
|
|
149
|
-
|
|
150
|
-
this.
|
|
151
|
-
}
|
|
152
|
-
waitForEvent(this.drawer, "syn-after-show").then(() => {
|
|
153
|
-
this.isAnimationActive = false;
|
|
154
|
-
});
|
|
155
|
-
}
|
|
143
|
+
waitForEvent(this.drawer, `syn-after-${this.open ? "show" : "hide"}`).then(() => {
|
|
144
|
+
this.isAnimationActive = false;
|
|
145
|
+
});
|
|
156
146
|
}
|
|
157
147
|
handleFocusTrapping() {
|
|
158
|
-
if (
|
|
148
|
+
if (this.variant === "default") {
|
|
159
149
|
if (this.noFocusTrapping) {
|
|
160
150
|
this.drawer.modal.activateExternal();
|
|
161
151
|
} else {
|
|
@@ -180,20 +170,28 @@ var SynSideNav = class extends SynergyElement {
|
|
|
180
170
|
return waitForEvent(this.drawer, "syn-after-hide");
|
|
181
171
|
}
|
|
182
172
|
/**
|
|
183
|
-
* Initial setup for first render like special rail
|
|
173
|
+
* Initial setup for first render like special variant="rail" and variant="sticky" handling
|
|
174
|
+
* and drawer animations.
|
|
184
175
|
* */
|
|
185
176
|
firstUpdated() {
|
|
186
177
|
this.setDrawerAnimations();
|
|
187
178
|
this.drawer.updateComplete.then(() => {
|
|
179
|
+
this.drawer.forceVisibility(this.variant !== "default");
|
|
188
180
|
this.drawer.shadowRoot.querySelector(".drawer__panel").tabIndex = -1;
|
|
189
181
|
});
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
this.
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
182
|
+
switch (this.variant) {
|
|
183
|
+
case "rail":
|
|
184
|
+
this.drawer.updateComplete.then(() => {
|
|
185
|
+
this.addMouseListener();
|
|
186
|
+
});
|
|
187
|
+
break;
|
|
188
|
+
case "sticky":
|
|
189
|
+
break;
|
|
190
|
+
case "default":
|
|
191
|
+
default:
|
|
192
|
+
if (this.noFocusTrapping) {
|
|
193
|
+
this.drawer.modal.activateExternal();
|
|
194
|
+
}
|
|
197
195
|
}
|
|
198
196
|
}
|
|
199
197
|
disconnectedCallback() {
|
|
@@ -203,18 +201,36 @@ var SynSideNav = class extends SynergyElement {
|
|
|
203
201
|
this.drawer.modal.deactivate();
|
|
204
202
|
}
|
|
205
203
|
}
|
|
204
|
+
// eslint-disable-next-line complexity
|
|
205
|
+
willUpdate(changedProperties) {
|
|
206
|
+
super.willUpdate(changedProperties);
|
|
207
|
+
if (changedProperties.has("rail")) {
|
|
208
|
+
if (this.rail) {
|
|
209
|
+
console.warn("<syn-side-nav/>: The `rail` attribute is deprecated. Please use the `variant` attribute with `rail` instead. It will be removed in synergy version 3.0");
|
|
210
|
+
}
|
|
211
|
+
if (!changedProperties.has("variant") || this.rail) {
|
|
212
|
+
this.variant = this.rail ? "rail" : "default";
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
toggleOpenState() {
|
|
217
|
+
this.open = !this.open;
|
|
218
|
+
}
|
|
219
|
+
// eslint-disable-next-line complexity
|
|
206
220
|
render() {
|
|
207
221
|
const isTouch = window.navigator.maxTouchPoints > 0 || !!("ontouchstart" in window);
|
|
208
222
|
const hasFooter = this.hasSlotController.test("footer");
|
|
223
|
+
const showFooterDivider = hasFooter || this.variant === "sticky";
|
|
209
224
|
return html`
|
|
210
225
|
<nav
|
|
211
226
|
class=${classMap({
|
|
212
227
|
"side-nav": true,
|
|
213
228
|
"side-nav--animation": this.isAnimationActive,
|
|
214
|
-
"side-nav--fix":
|
|
229
|
+
"side-nav--fix": this.variant === "default",
|
|
215
230
|
"side-nav--has-footer": hasFooter,
|
|
216
231
|
"side-nav--open": this.open,
|
|
217
|
-
"side-nav--rail": this.rail,
|
|
232
|
+
"side-nav--rail": this.variant === "rail",
|
|
233
|
+
"side-nav--sticky": this.variant === "sticky",
|
|
218
234
|
"side-nav--touch": isTouch
|
|
219
235
|
})}
|
|
220
236
|
part="base"
|
|
@@ -222,7 +238,7 @@ var SynSideNav = class extends SynergyElement {
|
|
|
222
238
|
|
|
223
239
|
<syn-drawer
|
|
224
240
|
class="side-nav__drawer"
|
|
225
|
-
?contained=${this.
|
|
241
|
+
?contained=${this.variant !== "default"}
|
|
226
242
|
exportparts="overlay,panel,body,base:drawer__base"
|
|
227
243
|
label=${this.localize.term("sideNav")}
|
|
228
244
|
no-header
|
|
@@ -237,8 +253,16 @@ var SynSideNav = class extends SynergyElement {
|
|
|
237
253
|
|
|
238
254
|
<footer class="side-nav__footer" part="footer-container" slot="footer">
|
|
239
255
|
|
|
240
|
-
${
|
|
241
|
-
<slot name="footer" part="footer" ></slot>
|
|
256
|
+
${showFooterDivider ? html`<syn-divider part="footer-divider" class="side-nav__footer-divider"></syn-divider>` : ""}
|
|
257
|
+
<slot name="footer" part="footer" ></slot>
|
|
258
|
+
${this.variant === "sticky" ? html`<syn-nav-item part="toggle-nav-item" class="side-nav__toggle-nav-item" @click=${this.toggleOpenState} ?divider=${hasFooter}>
|
|
259
|
+
<slot name="toggle-icon" slot="prefix" class="side-nav__toggle-icon">
|
|
260
|
+
<syn-icon library="system" name="sticky_sidebar" part="toggle-icon"></syn-icon>
|
|
261
|
+
</slot>
|
|
262
|
+
<slot name="toggle-label" part="toggle-label">
|
|
263
|
+
${!this.open && !this.isAnimationActive ? this.localize.term("sideNavShow") : this.localize.term("sideNavHide")}
|
|
264
|
+
</slot>
|
|
265
|
+
</syn-nav-item>` : ""}
|
|
242
266
|
|
|
243
267
|
</footer>
|
|
244
268
|
|
|
@@ -251,7 +275,9 @@ var SynSideNav = class extends SynergyElement {
|
|
|
251
275
|
SynSideNav.styles = [component_styles_default, side_nav_styles_default];
|
|
252
276
|
SynSideNav.dependencies = {
|
|
253
277
|
"syn-divider": SynDivider,
|
|
254
|
-
"syn-drawer": SynDrawer
|
|
278
|
+
"syn-drawer": SynDrawer,
|
|
279
|
+
"syn-icon": SynIcon,
|
|
280
|
+
"syn-nav-item": SynNavItem
|
|
255
281
|
};
|
|
256
282
|
__decorateClass([
|
|
257
283
|
state()
|
|
@@ -265,18 +291,24 @@ __decorateClass([
|
|
|
265
291
|
__decorateClass([
|
|
266
292
|
property({ reflect: true, type: Boolean })
|
|
267
293
|
], SynSideNav.prototype, "rail", 2);
|
|
294
|
+
__decorateClass([
|
|
295
|
+
property({ reflect: true })
|
|
296
|
+
], SynSideNav.prototype, "variant", 2);
|
|
268
297
|
__decorateClass([
|
|
269
298
|
property({ attribute: "no-focus-trapping", reflect: true, type: Boolean })
|
|
270
299
|
], SynSideNav.prototype, "noFocusTrapping", 2);
|
|
271
300
|
__decorateClass([
|
|
272
|
-
watch("
|
|
273
|
-
], SynSideNav.prototype, "
|
|
301
|
+
watch("variant", { waitUntilFirstUpdate: true })
|
|
302
|
+
], SynSideNav.prototype, "handleVariantChange", 1);
|
|
274
303
|
__decorateClass([
|
|
275
304
|
watch("open", { waitUntilFirstUpdate: true })
|
|
276
305
|
], SynSideNav.prototype, "handleOpenChange", 1);
|
|
277
306
|
__decorateClass([
|
|
278
307
|
watch("noFocusTrapping", { waitUntilFirstUpdate: true })
|
|
279
308
|
], SynSideNav.prototype, "handleFocusTrapping", 1);
|
|
309
|
+
SynSideNav = __decorateClass([
|
|
310
|
+
enableDefaultSettings("SynSideNav")
|
|
311
|
+
], SynSideNav);
|
|
280
312
|
setDefaultAnimation("sideNav.showRail", {
|
|
281
313
|
keyframes: [
|
|
282
314
|
{ width: "var(--side-nav-rail-width)" },
|
|
@@ -317,4 +349,4 @@ setDefaultAnimation("sideNav.overlay.hide", {
|
|
|
317
349
|
export {
|
|
318
350
|
SynSideNav
|
|
319
351
|
};
|
|
320
|
-
//# sourceMappingURL=chunk.
|
|
352
|
+
//# sourceMappingURL=chunk.SBGVZBBD.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/side-nav/side-nav.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/unbound-method */\nimport { classMap } from 'lit/directives/class-map.js';\nimport type { CSSResultGroup, PropertyValues } from 'lit';\nimport { html } from 'lit/static-html.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport styles from './side-nav.styles.js';\nimport SynDrawer from '../drawer/drawer.component.js';\nimport SynDivider from '../divider/divider.component.js';\nimport SynIcon from '../icon/icon.component.js';\nimport SynNavItem from '../nav-item/nav-item.component.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport { getAnimation, setAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { unlockBodyScrolling } from '../../internal/scroll.js';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary The <syn-side-nav /> element contains secondary navigation and fits below the header.\n * It can be used to group multiple navigation items (<syn-nav-item />s) together.\n *\n * @example\n * <syn-side-nav open>\n * <syn-nav-item >Item 1</syn-nav-item>\n * <syn-nav-item divider>Item 2</syn-nav-item>\n * </syn-side-nav>\n *\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-side-nav--docs\n * @status stable\n * @since 1.14.0\n *\n * @dependency syn-divider\n * @dependency syn-drawer\n * @dependency syn-icon\n * @dependency syn-nav-item\n *\n * @slot - The main content of the side-nav. Used for <syn-nav-item /> elements.\n * @slot footer - The footer content of the side-nav. Used for <syn-nav-item /> elements.\n * Please avoid having to many nav-items as it can massively influence the user experience.\n * @slot toggle-label - The label of the toggle nav-item for variant=\"sticky\".\n * @slot toggle-icon - An icon to use in lieu of the default icon for the toggle nav-item\n * for variant=\"sticky\".\n *\n * @event syn-show - Emitted when the side-nav opens.\n * @event syn-after-show - Emitted after the side-nav opens and all animations are complete.\n * @event syn-hide - Emitted when the side-nav closes.\n * @event syn-after-hide - Emitted after the side-nav closes and all animations are complete.\n *\n * @csspart base - The components base wrapper\n * @csspart drawer - The drawer that is used under the hood for creating the side-nav\n * @csspart content-container - The components main content container\n * @csspart content - The components main content\n * @csspart footer-container - The components footer content container\n (where the footer slot content is rendered)\n * @csspart footer-divider - The components footer divider\n * @csspart footer - The components footer content\n * @csspart overlay - The overlay that covers the screen behind the side-nav.\n * @csspart panel - The side-nav's panel (where the whole content is rendered).\n * @csspart body - The side-nav's body (where the default slot content is rendered)\n * @csspart drawer__base - The drawer's base wrapper\n * @csspart toggle-nav-item - The nav-item to toggle open state for variant=\"sticky\"\n * @csspart toggle-icon - The icon of the toggle nav-item for variant=\"sticky\"\n * @csspart toggle-label - The label of the toggle nav-item for variant=\"sticky\".\n\n * @cssproperty --side-nav-open-width - The width of the side-nav if in open state\n *\n * @animation sideNav.showNonRail - The animation to use when showing the side-nav\n * in variant=\"default\".\n * @animation sideNav.showRail - The animation to use when showing the side-nav in variant=\"rail\"\n * and variant=\"sticky\".\n * @animation sideNav.hideNonRail - The animation to use when hiding the side-nav\n * in variant=\"default\".\n * @animation sideNav.hideRail - The animation to use when hiding the side-nav in variant=\"rail\"\n * and variant=\"sticky\".\n * @animation sideNav.overlay.show - The animation to use when showing the side-nav's overlay.\n * @animation sideNav.overlay.hide - The animation to use when hiding the side-nav's overlay.\n */\n@enableDefaultSettings('SynSideNav')\nexport default class SynSideNav extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n static dependencies = {\n 'syn-divider': SynDivider,\n 'syn-drawer': SynDrawer,\n 'syn-icon': SynIcon,\n 'syn-nav-item': SynNavItem,\n };\n\n private readonly hasSlotController = new HasSlotController(this, '[default]', 'footer');\n\n private readonly localize = new LocalizeController(this);\n\n private timeout: NodeJS.Timeout;\n\n /**\n * Current animation active state\n */\n @state() private isAnimationActive = false;\n\n /**\n * Reference to the drawer\n */\n @query('.side-nav__drawer') private drawer: SynDrawer;\n\n /**\n * Indicates whether or not the side-nav is open.\n * You can toggle this attribute to show and hide the side-nav, or you can use the `show()` and\n * `hide()` methods and this attribute will reflect the side-nav's open state.\n *\n * Depending on the \"variant\" attribute, the behavior will differ.\n *\n * __Default__:\n * With `open` will show the side-nav with an overlay.\n * Without `open`, the side-nav will be hidden.\n *\n * __Rail__:\n * With `open` will show the whole side-nav with an overlay for touch devices\n * or without an overlay for non-touch devices.\n * Without `open`, the side-nav will only show the prefix of nav-item's.\n *\n * __Sticky__:\n * With `open` will show the whole side-nav with an overlay for touch devices\n * or without an overlay for non-touch devices.\n * Without `open`, the side-nav will only show the prefix of nav-item's.\n *\n */\n @property({ reflect: true, type: Boolean }) open = false;\n\n /**\n * Use the rail attribute to only show the prefix of navigation items in closed state.\n * This will open on hover on the rail navigation.\n * On touch devices the navigation opens on click and shows an overlay.\n *\n * Note: The Rail is only an option if all Navigation Items on the first level have an Icon.\n * If this is not the case you should use a burger navigation.\n *\n * @deprecated Use the `variant` attribute with `rail` instead.\n * Will be removed in synergy version 3.0\n */\n @property({ reflect: true, type: Boolean }) rail = false;\n\n /**\n * The variant that should be used to show the side navigation.\n *\n * The following variants are supported:\n * - **default** (default): Always shows the whole content and additionally an overlay.\n * This makes especially sense for applications, where you navigate to a place and stay\n * there for a longer time.\n * - **rail**: Only show the prefix of navigation items in closed state.\n * This will open on hover on the rail navigation.\n * On touch devices the navigation opens on click and shows an overlay.\n * Note: The rail variant is only an option if all Navigation Items on the first level\n * have an Icon.\n * If this is not the case you should use a burger navigation.\n * - **sticky**: The side-nav has a pin button to show the side-nav in small (icon only)\n * and full width. This variant is only possible for non-nested navigation items.\n * Note: The sticky variant is only an option if all Navigation Items on the first level\n * have an Icon and if there are only \"first level\" items.\n */\n @property({ reflect: true }) variant: 'default' | 'rail' | 'sticky' = 'default';\n\n /**\n * By default, the side-nav traps the focus if in variant=\"default\" and open.\n * To disable the focus trapping, set this attribute.\n */\n @property({ attribute: 'no-focus-trapping', reflect: true, type: Boolean }) noFocusTrapping = false;\n\n private setDelayedCallback(callback: () => void) {\n clearTimeout(this.timeout);\n this.timeout = setTimeout(callback, 100);\n }\n\n private handleMouseEnter() {\n // Debounce mouse events, to avoid infinite loop of open / closing in variant=\"rail\"\n this.setDelayedCallback(() => {\n this.open = true;\n });\n }\n\n private handleMouseLeave() {\n // Debounce mouse events, to avoid infinite loop of open / closing in variant=\"rail\"\n this.setDelayedCallback(() => {\n this.open = false;\n });\n }\n\n private handleRequestClose() {\n if (this.open) {\n this.open = false;\n }\n }\n\n private addMouseListener() {\n this.drawer.shadowRoot!.querySelector('.drawer__panel')?.addEventListener('mouseenter', this.handleMouseEnter);\n this.drawer.shadowRoot!.querySelector('.drawer__panel')?.addEventListener('mouseleave', this.handleMouseLeave);\n }\n\n private removeMouseListener() {\n this.drawer.shadowRoot!.querySelector('.drawer__panel')?.removeEventListener('mouseenter', this.handleMouseEnter);\n this.drawer.shadowRoot!.querySelector('.drawer__panel')?.removeEventListener('mouseleave', this.handleMouseLeave);\n }\n\n private setDrawerAnimations() {\n const showAnimation = getAnimation(this, `sideNav.show${this.variant === 'default' ? 'NonRail' : 'Rail'}`, { dir: this.localize.dir() });\n const hideAnimation = getAnimation(this, `sideNav.hide${this.variant === 'default' ? 'NonRail' : 'Rail'}`, { dir: this.localize.dir() });\n const hideOverlay = getAnimation(this, 'sideNav.overlay.hide', { dir: this.localize.dir() });\n const showOverlay = getAnimation(this, 'sideNav.overlay.show', { dir: this.localize.dir() });\n\n setAnimation(this.drawer, 'drawer.showStart', showAnimation);\n setAnimation(this.drawer, 'drawer.hideStart', hideAnimation);\n setAnimation(this.drawer, 'drawer.overlay.hide', hideOverlay);\n setAnimation(this.drawer, 'drawer.overlay.show', showOverlay);\n }\n\n @watch('variant', { waitUntilFirstUpdate: true })\n handleVariantChange() {\n this.setDrawerAnimations();\n this.drawer.forceVisibility(this.variant !== 'default');\n\n switch (this.variant) {\n case 'rail':\n // For hover handling\n this.addMouseListener();\n break;\n case 'sticky':\n case 'default':\n default:\n this.removeMouseListener();\n }\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n handleOpenChange() {\n if (this.variant === 'default') {\n return;\n }\n\n this.isAnimationActive = true;\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n waitForEvent(this.drawer, `syn-after-${this.open ? 'show' : 'hide'}`).then(() => {\n this.isAnimationActive = false;\n });\n }\n\n @watch('noFocusTrapping', { waitUntilFirstUpdate: true })\n handleFocusTrapping() {\n if (this.variant === 'default') {\n if (this.noFocusTrapping) {\n this.drawer.modal.activateExternal();\n } else {\n this.drawer.modal.deactivateExternal();\n }\n }\n }\n\n /** Shows the side-nav. */\n async show() {\n if (this.open) {\n return undefined;\n }\n this.open = true;\n\n return waitForEvent(this.drawer, 'syn-after-show');\n }\n\n /** Hides the side-nav */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n\n return waitForEvent(this.drawer, 'syn-after-hide');\n }\n\n constructor() {\n super();\n this.handleMouseEnter = this.handleMouseEnter.bind(this);\n this.handleMouseLeave = this.handleMouseLeave.bind(this);\n this.addEventListener('syn-initial-focus', (event) => {\n if (this.variant !== 'default') {\n // We need to do this, to stop the drawer from giving focus to the panel\n event.preventDefault();\n\n // The originalTrigger needs to be removed, otherwise when closing the drawer,\n // the first focused nav-item is focused again...\n // eslint-disable-next-line @typescript-eslint/dot-notation\n this.drawer['originalTrigger'] = null;\n }\n });\n\n this.addEventListener('focusin', (event) => {\n const targetTag = (event.target as HTMLElement).tagName.toLowerCase();\n // Open the side-nav if it`s in variant=\"rail\", closed and the focused element is a nav-item\n if (targetTag === 'syn-nav-item' && this.variant === 'rail' && !this.open) {\n this.open = true;\n }\n });\n\n this.addEventListener('focusout', (event) => {\n const targetTag = (event.target as HTMLElement).tagName.toLowerCase();\n const relatedTargetTag = (event.relatedTarget as HTMLElement)?.tagName.toLowerCase();\n\n // Close the side-nav, if it`s in variant=\"rail\", open and the next focused element\n // is no longer a nav-item\n if (targetTag === 'syn-nav-item' && relatedTargetTag !== 'syn-nav-item' && this.variant === 'rail' && this.open) {\n this.open = false;\n }\n });\n }\n\n /**\n * Initial setup for first render like special variant=\"rail\" and variant=\"sticky\" handling\n * and drawer animations.\n * */\n firstUpdated() {\n this.setDrawerAnimations();\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.drawer.updateComplete.then(() => {\n this.drawer.forceVisibility(this.variant !== 'default');\n // change tabindex of drawer to make only nav-items focusable and not the panel of the drawer\n (this.drawer.shadowRoot!.querySelector('.drawer__panel') as HTMLElement).tabIndex = -1;\n });\n\n switch (this.variant) {\n case 'rail':\n // Wait for the drawer`s update to be completed\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.drawer.updateComplete.then(() => {\n this.addMouseListener();\n });\n break;\n case 'sticky': break;\n case 'default':\n default:\n if (this.noFocusTrapping) {\n // Disable the focus trapping of the modal\n this.drawer.modal.activateExternal();\n }\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n\n // Remove modal listeners\n if (this.drawer) {\n unlockBodyScrolling(this.drawer);\n this.drawer.modal.deactivate();\n }\n }\n\n // eslint-disable-next-line complexity\n protected override willUpdate(changedProperties: PropertyValues) {\n super.willUpdate(changedProperties);\n\n // TODO: this can be removed in synergy version 3.0\n if (changedProperties.has('rail')) {\n if (this.rail) {\n // Add deprecation console warning for stakeholder, which do not use linting\n // to get their attention\n console.warn('<syn-side-nav/>: The `rail` attribute is deprecated. Please use the `variant` attribute with `rail` instead. It will be removed in synergy version 3.0');\n }\n\n // The `variant` should be adapted to the `rail` attribute,\n // if it was explicitly set or unset by the user.\n // This is needed to be backwards compatible with the `rail` attribute\n if (!changedProperties.has('variant') || this.rail) {\n this.variant = this.rail ? 'rail' : 'default';\n }\n }\n }\n\n private toggleOpenState() {\n this.open = !this.open;\n }\n\n // eslint-disable-next-line complexity\n render() {\n const isTouch = window.navigator.maxTouchPoints > 0 || !!('ontouchstart' in window);\n const hasFooter = this.hasSlotController.test('footer');\n const showFooterDivider = hasFooter || this.variant === 'sticky';\n\n /* eslint-disable lit/no-invalid-html */\n /* eslint-disable @typescript-eslint/unbound-method */\n return html`\n <nav\n class=${classMap({\n 'side-nav': true,\n 'side-nav--animation': this.isAnimationActive,\n 'side-nav--fix': this.variant === 'default',\n 'side-nav--has-footer': hasFooter,\n 'side-nav--open': this.open,\n 'side-nav--rail': this.variant === 'rail',\n 'side-nav--sticky': this.variant === 'sticky',\n 'side-nav--touch': isTouch,\n })}\n part=\"base\"\n >\n \n <syn-drawer\n class=\"side-nav__drawer\"\n ?contained=${this.variant !== 'default'}\n exportparts=\"overlay,panel,body,base:drawer__base\"\n label=${this.localize.term('sideNav')}\n no-header\n ?open=${this.open}\n part=\"drawer\"\n placement=\"start\"\n @syn-request-close=${this.handleRequestClose} \n >\n <div part=\"content-container\" class=\"side-nav__content-container\">\n <slot part=\"content\"></slot>\n </div>\n \n <footer class=\"side-nav__footer\" part=\"footer-container\" slot=\"footer\"> \n\n ${showFooterDivider ? html`<syn-divider part=\"footer-divider\" class=\"side-nav__footer-divider\"></syn-divider>` : ''}\n <slot name=\"footer\" part=\"footer\" ></slot>\n ${this.variant === 'sticky'\n ? html`<syn-nav-item part=\"toggle-nav-item\" class=\"side-nav__toggle-nav-item\" @click=${this.toggleOpenState} ?divider=${hasFooter}>\n <slot name=\"toggle-icon\" slot=\"prefix\" class=\"side-nav__toggle-icon\">\n <syn-icon library=\"system\" name=\"sticky_sidebar\" part=\"toggle-icon\"></syn-icon>\n </slot>\n <slot name=\"toggle-label\" part=\"toggle-label\">\n ${(!this.open && !this.isAnimationActive) ? this.localize.term('sideNavShow') : this.localize.term('sideNavHide')}\n </slot>\n </syn-nav-item>`\n : ''\n }\n \n </footer>\n\n </syn-drawer>\n\n </nav>\n `;\n /* eslint-enable lit/no-invalid-html */\n /* eslint-enable @typescript-eslint/unbound-method */\n }\n}\n\n// Show animations\nsetDefaultAnimation('sideNav.showRail', {\n keyframes: [\n { width: 'var(--side-nav-rail-width)' },\n { width: 'var(--side-nav-open-width)' },\n ],\n options: { duration: 250, easing: 'ease' },\n});\n\nsetDefaultAnimation('sideNav.showNonRail', {\n keyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' },\n ],\n options: { duration: 250, easing: 'ease' },\n});\n\n// Hide animations\nsetDefaultAnimation('sideNav.hideNonRail', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' },\n ],\n options: { duration: 250, easing: 'ease' },\n});\n\nsetDefaultAnimation('sideNav.hideRail', {\n keyframes: [\n { width: 'var(--side-nav-open-width)' },\n { width: 'var(--side-nav-rail-width)' },\n ],\n options: { duration: 250, easing: 'ease' },\n});\n\n// Overlay animations\nsetDefaultAnimation('sideNav.overlay.show', {\n keyframes: [{ opacity: 0 }, { opacity: 1 }],\n options: { duration: 250 },\n});\n\nsetDefaultAnimation('sideNav.overlay.hide', {\n keyframes: [{ opacity: 1 }, { opacity: 0 }],\n options: { duration: 250 },\n});\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AACrB,SAAS,UAAU,OAAO,aAAa;AA6EvC,IAAqB,aAArB,cAAwC,eAAe;AAAA,EAuMrD,cAAc;AACZ,UAAM;AA9LR,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,QAAQ;AAEtF,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAO9C,SAAQ,oBAAoB;AA6BO,gBAAO;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AAAA,EACzC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,WAAW,QAAQ;AAAA,IACjC,EAAE,SAAS,GAAG,WAAW,IAAI;AAAA,EAC/B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAGD,oBAAoB,uBAAuB;AAAA,EACzC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,WAAW,IAAI;AAAA,IAC7B,EAAE,SAAS,GAAG,WAAW,QAAQ;AAAA,EACnC;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,oBAAoB;AAAA,EACtC,WAAW;AAAA,IACT,EAAE,OAAO,6BAA6B;AAAA,IACtC,EAAE,OAAO,6BAA6B;AAAA,EACxC;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAGD,oBAAoB,wBAAwB;AAAA,EAC1C,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;AAED,oBAAoB,wBAAwB;AAAA,EAC1C,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSpinner
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.AL4FWF4H.js";
|
|
4
4
|
|
|
5
5
|
// src/components/spinner/spinner.ts
|
|
6
6
|
var spinner_default = SynSpinner;
|
|
@@ -9,4 +9,4 @@ SynSpinner.define("syn-spinner");
|
|
|
9
9
|
export {
|
|
10
10
|
spinner_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.T7UT34YW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynProgressBar
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.XRSPUMKG.js";
|
|
4
4
|
|
|
5
5
|
// src/components/progress-bar/progress-bar.ts
|
|
6
6
|
var progress_bar_default = SynProgressBar;
|
|
@@ -9,4 +9,4 @@ SynProgressBar.define("syn-progress-bar");
|
|
|
9
9
|
export {
|
|
10
10
|
progress_bar_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.TEYI3WY6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenu
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.V6HU7SQP.js";
|
|
4
4
|
|
|
5
5
|
// src/components/menu/menu.ts
|
|
6
6
|
var menu_default = SynMenu;
|
|
@@ -9,4 +9,4 @@ SynMenu.define("syn-menu");
|
|
|
9
9
|
export {
|
|
10
10
|
menu_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.ULNCAAQN.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.NLYVOJGK.js";
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.62JHOU5H.js";
|
|
13
13
|
import {
|
|
14
14
|
__decorateClass
|
|
15
15
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -160,4 +160,4 @@ __decorateClass([
|
|
|
160
160
|
export {
|
|
161
161
|
SynMenu
|
|
162
162
|
};
|
|
163
|
-
//# sourceMappingURL=chunk.
|
|
163
|
+
//# sourceMappingURL=chunk.V6HU7SQP.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk.AERTEAG5.js";
|
|
11
11
|
import {
|
|
12
12
|
SynButtonGroup
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.QXIZDYA4.js";
|
|
14
14
|
import {
|
|
15
15
|
FormControlController,
|
|
16
16
|
customErrorValidityState,
|
|
@@ -20,18 +20,18 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
HasSlotController
|
|
22
22
|
} from "./chunk.WVVQK5TE.js";
|
|
23
|
-
import {
|
|
24
|
-
enableDefaultSettings
|
|
25
|
-
} from "./chunk.NUIJATJY.js";
|
|
26
23
|
import {
|
|
27
24
|
watch
|
|
28
25
|
} from "./chunk.74IOULXM.js";
|
|
26
|
+
import {
|
|
27
|
+
enableDefaultSettings
|
|
28
|
+
} from "./chunk.7R4JCT5J.js";
|
|
29
29
|
import {
|
|
30
30
|
component_styles_default
|
|
31
31
|
} from "./chunk.NLYVOJGK.js";
|
|
32
32
|
import {
|
|
33
33
|
SynergyElement
|
|
34
|
-
} from "./chunk.
|
|
34
|
+
} from "./chunk.62JHOU5H.js";
|
|
35
35
|
import {
|
|
36
36
|
__decorateClass
|
|
37
37
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -369,4 +369,4 @@ SynRadioGroup = __decorateClass([
|
|
|
369
369
|
export {
|
|
370
370
|
SynRadioGroup
|
|
371
371
|
};
|
|
372
|
-
//# sourceMappingURL=chunk.
|
|
372
|
+
//# sourceMappingURL=chunk.VBE5RBH5.js.map
|
|
@@ -11,8 +11,18 @@ var isAllowedValue = (value) => {
|
|
|
11
11
|
}
|
|
12
12
|
return !!value;
|
|
13
13
|
};
|
|
14
|
+
var compareValues = (a, b) => {
|
|
15
|
+
if (Array.isArray(a) && Array.isArray(b)) {
|
|
16
|
+
if (a.length !== b.length) {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
return a.every((v, i) => v === b[i]);
|
|
20
|
+
}
|
|
21
|
+
return a === b;
|
|
22
|
+
};
|
|
14
23
|
|
|
15
24
|
export {
|
|
16
|
-
isAllowedValue
|
|
25
|
+
isAllowedValue,
|
|
26
|
+
compareValues
|
|
17
27
|
};
|
|
18
|
-
//# sourceMappingURL=chunk.
|
|
28
|
+
//# sourceMappingURL=chunk.VECCQZP5.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/components/select/utility.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * Valid types of inputs\n */\ntype AllowedValueTypes = string | number | Array<string | number>;\n\n/**\n * Check if a given value is allowed\n * @param value The value to check for\n * @returns True if the type is allowed, false otherwise\n */\nexport const isAllowedValue = (value: AllowedValueTypes) => {\n if (Array.isArray(value)) {\n return value.length > 0;\n }\n\n if (typeof value === 'string') {\n return value.length > 0;\n }\n\n if (typeof value === 'number') {\n return true;\n }\n\n return !!value;\n};\n"],
|
|
5
|
-
"mappings": ";AAUO,IAAM,iBAAiB,CAAC,UAA6B;AAC1D,MAAI,MAAM,QAAQ,KAAK,GAAG;AACxB,WAAO,MAAM,SAAS;AAAA,EACxB;AAEA,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,MAAM,SAAS;AAAA,EACxB;AAEA,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO;AAAA,EACT;AAEA,SAAO,CAAC,CAAC;AACX;",
|
|
4
|
+
"sourcesContent": ["/**\n * Valid types of inputs\n */\ntype AllowedValueTypes = string | number | Array<string | number>;\n\n/**\n * Check if a given value is allowed\n * @param value The value to check for\n * @returns True if the type is allowed, false otherwise\n */\nexport const isAllowedValue = (value: AllowedValueTypes) => {\n if (Array.isArray(value)) {\n return value.length > 0;\n }\n\n if (typeof value === 'string') {\n return value.length > 0;\n }\n\n if (typeof value === 'number') {\n return true;\n }\n\n return !!value;\n};\n\n/**\n * Compare two values if they are equal\n * @param a The first value to compare\n * @param b The second value to compare\n * @returns True if the values are equal, false otherwise\n */\nexport const compareValues = (a: AllowedValueTypes, b: AllowedValueTypes) => {\n if (Array.isArray(a) && Array.isArray(b)) {\n if (a.length !== b.length) {\n return false;\n }\n return a.every((v, i) => v === b[i]);\n }\n return a === b;\n};\n"],
|
|
5
|
+
"mappings": ";AAUO,IAAM,iBAAiB,CAAC,UAA6B;AAC1D,MAAI,MAAM,QAAQ,KAAK,GAAG;AACxB,WAAO,MAAM,SAAS;AAAA,EACxB;AAEA,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,MAAM,SAAS;AAAA,EACxB;AAEA,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO;AAAA,EACT;AAEA,SAAO,CAAC,CAAC;AACX;AAQO,IAAM,gBAAgB,CAAC,GAAsB,MAAyB;AAC3E,MAAI,MAAM,QAAQ,CAAC,KAAK,MAAM,QAAQ,CAAC,GAAG;AACxC,QAAI,EAAE,WAAW,EAAE,QAAQ;AACzB,aAAO;AAAA,IACT;AACA,WAAO,EAAE,MAAM,CAAC,GAAG,MAAM,MAAM,EAAE,CAAC,CAAC;AAAA,EACrC;AACA,SAAO,MAAM;AACf;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButtonGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.QXIZDYA4.js";
|
|
4
4
|
|
|
5
5
|
// src/components/button-group/button-group.ts
|
|
6
6
|
var button_group_default = SynButtonGroup;
|
|
@@ -9,4 +9,4 @@ SynButtonGroup.define("syn-button-group");
|
|
|
9
9
|
export {
|
|
10
10
|
button_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.VFOXZ66D.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk.WXVOTRW5.js";
|
|
17
17
|
import {
|
|
18
18
|
SynIconButton
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.XACPLHJJ.js";
|
|
20
20
|
import {
|
|
21
21
|
waitForEvent
|
|
22
22
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -31,18 +31,18 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
HasSlotController
|
|
33
33
|
} from "./chunk.WVVQK5TE.js";
|
|
34
|
-
import {
|
|
35
|
-
LocalizeController
|
|
36
|
-
} from "./chunk.GIU3H3J3.js";
|
|
37
34
|
import {
|
|
38
35
|
watch
|
|
39
36
|
} from "./chunk.74IOULXM.js";
|
|
37
|
+
import {
|
|
38
|
+
LocalizeController
|
|
39
|
+
} from "./chunk.IPGLY3H4.js";
|
|
40
40
|
import {
|
|
41
41
|
component_styles_default
|
|
42
42
|
} from "./chunk.NLYVOJGK.js";
|
|
43
43
|
import {
|
|
44
44
|
SynergyElement
|
|
45
|
-
} from "./chunk.
|
|
45
|
+
} from "./chunk.62JHOU5H.js";
|
|
46
46
|
import {
|
|
47
47
|
__decorateClass
|
|
48
48
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
import { classMap } from "lit/directives/class-map.js";
|
|
52
52
|
import { html } from "lit";
|
|
53
53
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
54
|
-
import { property, query } from "lit/decorators.js";
|
|
54
|
+
import { property, query, state } from "lit/decorators.js";
|
|
55
55
|
|
|
56
56
|
// src/internal/string.ts
|
|
57
57
|
function uppercaseFirstLetter(string) {
|
|
@@ -65,6 +65,7 @@ var SynDrawer = class extends SynergyElement {
|
|
|
65
65
|
this.hasSlotController = new HasSlotController(this, "footer");
|
|
66
66
|
this.localize = new LocalizeController(this);
|
|
67
67
|
this.modal = new Modal(this);
|
|
68
|
+
this.isVisible = false;
|
|
68
69
|
this.open = false;
|
|
69
70
|
this.label = "";
|
|
70
71
|
this.placement = "end";
|
|
@@ -81,7 +82,7 @@ var SynDrawer = class extends SynergyElement {
|
|
|
81
82
|
};
|
|
82
83
|
}
|
|
83
84
|
firstUpdated() {
|
|
84
|
-
this.drawer.hidden = !this.open;
|
|
85
|
+
this.drawer.hidden = this.isVisible ? false : !this.open;
|
|
85
86
|
if (this.open) {
|
|
86
87
|
this.addOpenListeners();
|
|
87
88
|
if (!this.contained) {
|
|
@@ -182,7 +183,7 @@ var SynDrawer = class extends SynergyElement {
|
|
|
182
183
|
this.panel.hidden = true;
|
|
183
184
|
})
|
|
184
185
|
]);
|
|
185
|
-
this.drawer.hidden =
|
|
186
|
+
this.drawer.hidden = !this.isVisible;
|
|
186
187
|
this.overlay.hidden = false;
|
|
187
188
|
this.panel.hidden = false;
|
|
188
189
|
const trigger = this.originalTrigger;
|
|
@@ -218,6 +219,11 @@ var SynDrawer = class extends SynergyElement {
|
|
|
218
219
|
this.open = false;
|
|
219
220
|
return waitForEvent(this, "syn-after-hide");
|
|
220
221
|
}
|
|
222
|
+
// Forces the visibility of the drawer even with `open` set to false. This is needed for the `rail` and `sticky` variant of the syn-side-nav
|
|
223
|
+
forceVisibility(isVisible) {
|
|
224
|
+
this.isVisible = isVisible;
|
|
225
|
+
this.drawer.hidden = isVisible ? false : !this.open;
|
|
226
|
+
}
|
|
221
227
|
render() {
|
|
222
228
|
return html`
|
|
223
229
|
<div
|
|
@@ -242,7 +248,7 @@ var SynDrawer = class extends SynergyElement {
|
|
|
242
248
|
class="drawer__panel"
|
|
243
249
|
role="dialog"
|
|
244
250
|
aria-modal="true"
|
|
245
|
-
aria-hidden=${this.open ? "false" : "true"}
|
|
251
|
+
aria-hidden=${this.isVisible ? "false" : this.open ? "false" : "true"}
|
|
246
252
|
aria-label=${ifDefined(this.noHeader ? this.label : void 0)}
|
|
247
253
|
aria-labelledby=${ifDefined(!this.noHeader ? "title" : void 0)}
|
|
248
254
|
tabindex="0"
|
|
@@ -280,6 +286,9 @@ var SynDrawer = class extends SynergyElement {
|
|
|
280
286
|
};
|
|
281
287
|
SynDrawer.styles = [component_styles_default, drawer_styles_default, drawer_custom_styles_default];
|
|
282
288
|
SynDrawer.dependencies = { "syn-icon-button": SynIconButton };
|
|
289
|
+
__decorateClass([
|
|
290
|
+
state()
|
|
291
|
+
], SynDrawer.prototype, "isVisible", 2);
|
|
283
292
|
__decorateClass([
|
|
284
293
|
query(".drawer")
|
|
285
294
|
], SynDrawer.prototype, "drawer", 2);
|
|
@@ -398,4 +407,4 @@ setDefaultAnimation("drawer.overlay.hide", {
|
|
|
398
407
|
export {
|
|
399
408
|
SynDrawer
|
|
400
409
|
};
|
|
401
|
-
//# sourceMappingURL=chunk.
|
|
410
|
+
//# sourceMappingURL=chunk.W22XP6SZ.js.map
|