@synergy-design-system/components 2.4.3 → 2.5.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.XMS3V7AX.js → chunk.26PVORV4.js} +3 -3
- package/dist/chunks/{chunk.KBUOEYFD.js → chunk.2JGMDXJX.js} +4 -4
- package/dist/chunks/chunk.2LACXU5F.js +12 -0
- package/dist/chunks/chunk.2LACXU5F.js.map +7 -0
- package/dist/chunks/{chunk.KOZGQJ42.js → chunk.3442R447.js} +2 -2
- package/dist/chunks/{chunk.5C2N3OG3.js → chunk.36WNAWGH.js} +2 -2
- package/dist/chunks/{chunk.QH5LWFIU.js → chunk.445GTYI7.js} +2 -2
- package/dist/chunks/{chunk.4HSU3RZA.js → chunk.4U4U4WYP.js} +2 -2
- package/dist/chunks/{chunk.UWNJQDZP.js → chunk.4VJLNO6Y.js} +4 -4
- package/dist/chunks/{chunk.CN4QRO22.js → chunk.4VP6SOMT.js} +2 -2
- package/dist/chunks/{chunk.AV56MW4Q.js → chunk.543GQUFN.js} +4 -4
- package/dist/chunks/{chunk.B4PYRXCV.js → chunk.5BDQUWIH.js} +9 -7
- package/dist/chunks/{chunk.B4PYRXCV.js.map → chunk.5BDQUWIH.js.map} +1 -1
- package/dist/chunks/{chunk.A54YJOJZ.js → chunk.6EHHOHBG.js} +2 -2
- package/dist/chunks/{chunk.Q63T23NX.js → chunk.6N5IAYT2.js} +2 -2
- package/dist/chunks/{chunk.STPTOC6W.js → chunk.6ZMQFRAK.js} +2 -2
- package/dist/chunks/{chunk.R2MO73SN.js → chunk.7INB3LU4.js} +2 -2
- package/dist/chunks/{chunk.NUHI5YB7.js → chunk.7TOZAZTA.js} +9 -9
- package/dist/chunks/{chunk.5UWGWBIX.js → chunk.A3TUOOXV.js} +2 -2
- package/dist/chunks/{chunk.KU3GIITB.js → chunk.A45QGUNM.js} +2 -2
- package/dist/chunks/{chunk.Z2XKAE7D.js → chunk.AA7ETQ6Z.js} +9 -7
- package/dist/chunks/{chunk.Z2XKAE7D.js.map → chunk.AA7ETQ6Z.js.map} +1 -1
- package/dist/chunks/{chunk.SDQC32B3.js → chunk.AINKZEUX.js} +3 -1
- package/dist/chunks/{chunk.SDQC32B3.js.map → chunk.AINKZEUX.js.map} +2 -2
- package/dist/chunks/{chunk.7MRLMCDG.js → chunk.APPDW65F.js} +16 -14
- package/dist/chunks/{chunk.7MRLMCDG.js.map → chunk.APPDW65F.js.map} +1 -1
- package/dist/chunks/{chunk.DXNSNACZ.js → chunk.AUQVJZEW.js} +2 -2
- package/dist/chunks/{chunk.WM3ZKNS4.js → chunk.BCAT6PJO.js} +2 -2
- package/dist/chunks/{chunk.4HBNKWDI.js → chunk.BCM6GF47.js} +2 -2
- package/dist/chunks/{chunk.MIF4NFFN.js → chunk.BWVISANJ.js} +2 -2
- package/dist/chunks/{chunk.MIF4NFFN.js.map → chunk.BWVISANJ.js.map} +1 -1
- package/dist/chunks/{chunk.GJPZZH76.js → chunk.BZ7DXEKT.js} +2 -2
- package/dist/chunks/chunk.C2ENQBPM.js +17 -0
- package/dist/chunks/chunk.C2ENQBPM.js.map +7 -0
- package/dist/chunks/{chunk.XHVDKQO2.js → chunk.C66PDYUI.js} +2 -2
- package/dist/chunks/{chunk.SMPYVOTL.js → chunk.CCBYOE35.js} +2 -2
- package/dist/chunks/{chunk.FZKUXUK6.js → chunk.CG7HK3HS.js} +5 -5
- package/dist/chunks/{chunk.LITNZ5UP.js → chunk.COI5VNKC.js} +3 -3
- package/dist/chunks/{chunk.LVMOATGP.js → chunk.CZISOWFR.js} +3 -3
- package/dist/chunks/{chunk.MQMVF4PW.js → chunk.DCWG25RX.js} +6 -6
- package/dist/chunks/{chunk.R7FWD6IV.js → chunk.EG23UW3V.js} +3 -3
- package/dist/chunks/{chunk.TJADLTCQ.js → chunk.EPEJDXFO.js} +15 -13
- package/dist/chunks/{chunk.TJADLTCQ.js.map → chunk.EPEJDXFO.js.map} +1 -1
- package/dist/chunks/{chunk.XVFSTDCI.js → chunk.GCVGZHJK.js} +2 -2
- package/dist/chunks/{chunk.4H3F5YVU.js → chunk.GOXWNSOG.js} +2 -2
- package/dist/chunks/{chunk.F5LLLIE5.js → chunk.GZQPS6JH.js} +3 -3
- package/dist/chunks/{chunk.CX4QZVGR.js → chunk.HLE65RI4.js} +2 -3
- package/dist/chunks/{chunk.CX4QZVGR.js.map → chunk.HLE65RI4.js.map} +2 -2
- package/dist/chunks/{chunk.YLRQUWVH.js → chunk.HLRZHIBP.js} +2 -2
- package/dist/chunks/{chunk.FO3NV7MY.js → chunk.HPWFMICA.js} +9 -7
- package/dist/chunks/{chunk.FO3NV7MY.js.map → chunk.HPWFMICA.js.map} +1 -1
- package/dist/chunks/{chunk.2BVNVTCJ.js → chunk.HRU52NH5.js} +2 -2
- package/dist/chunks/{chunk.5CL6DHME.js → chunk.HVJGBGHT.js} +2 -2
- package/dist/chunks/chunk.IKZOQ7AE.js +184 -0
- package/dist/chunks/chunk.IKZOQ7AE.js.map +7 -0
- package/dist/chunks/{chunk.SW3NDC4L.js → chunk.IOTJRIT5.js} +2 -2
- package/dist/chunks/{chunk.ZBYQDVMH.js → chunk.JD6HMTL2.js} +12 -10
- package/dist/chunks/{chunk.ZBYQDVMH.js.map → chunk.JD6HMTL2.js.map} +1 -1
- package/dist/chunks/{chunk.QZNPL6WK.js → chunk.JSPLWE2A.js} +10 -2
- package/dist/chunks/{chunk.QZNPL6WK.js.map → chunk.JSPLWE2A.js.map} +2 -2
- package/dist/chunks/{chunk.OPAVUSG6.js → chunk.KPEDDAR4.js} +4 -4
- package/dist/chunks/{chunk.6JHUWKC2.js → chunk.LAKJ5MK2.js} +6 -6
- package/dist/chunks/{chunk.XRRZVMQT.js → chunk.LQZJ6SLT.js} +2 -2
- package/dist/chunks/{chunk.MVZJDKSR.js → chunk.M4PJZ2KX.js} +7 -7
- package/dist/chunks/{chunk.VHASVP7B.js → chunk.MAWKXH6T.js} +7 -7
- package/dist/chunks/{chunk.TQMD3CRX.js → chunk.ML6NOYHV.js} +2 -2
- package/dist/chunks/{chunk.PYLHI2JQ.js → chunk.MLOZ4D3V.js} +2 -16
- package/dist/chunks/{chunk.PYLHI2JQ.js.map → chunk.MLOZ4D3V.js.map} +3 -3
- package/dist/chunks/{chunk.AVNL6XBJ.js → chunk.MO5THLW3.js} +3 -3
- package/dist/chunks/{chunk.W2S2MTUW.js → chunk.MQH2OOTN.js} +2 -2
- package/dist/chunks/{chunk.BCREP7HQ.js → chunk.MZO2W4AG.js} +2 -2
- package/dist/chunks/{chunk.QGODDF6V.js → chunk.OAD4GL57.js} +2 -2
- package/dist/chunks/{chunk.TFC66SL6.js → chunk.OP4WTQ2R.js} +9 -7
- package/dist/chunks/{chunk.TFC66SL6.js.map → chunk.OP4WTQ2R.js.map} +1 -1
- package/dist/chunks/{chunk.4UGAAIOV.js → chunk.OUSXEKQG.js} +6 -6
- package/dist/chunks/chunk.OZ7PQTHB.js +483 -0
- package/dist/chunks/chunk.OZ7PQTHB.js.map +7 -0
- package/dist/chunks/{chunk.4ZAIWKYK.js → chunk.P7GNMVZ4.js} +2 -2
- package/dist/chunks/{chunk.2FHYURSV.js → chunk.PGDHCGHK.js} +2 -2
- package/dist/chunks/{chunk.J47HF5GZ.js → chunk.POXDBLOS.js} +4 -4
- package/dist/chunks/{chunk.6EXC65JJ.js → chunk.QBVLTYU7.js} +8 -1
- package/dist/chunks/{chunk.6EXC65JJ.js.map → chunk.QBVLTYU7.js.map} +2 -2
- package/dist/chunks/{chunk.VNQF6LEZ.js → chunk.QVNMCS3Y.js} +2 -2
- package/dist/chunks/{chunk.KP7ABNMV.js → chunk.QVULMTSN.js} +6 -6
- package/dist/chunks/{chunk.JBW7QDPF.js → chunk.R6VT7GM5.js} +2 -2
- package/dist/chunks/{chunk.VA5J6CGG.js → chunk.REXNHEPD.js} +2 -2
- package/dist/chunks/{chunk.LLNHJVT6.js → chunk.RQ6PQ76D.js} +3 -3
- package/dist/chunks/{chunk.5KE7YYYL.js → chunk.RSPZU72C.js} +2 -2
- package/dist/chunks/{chunk.JBSLSPA4.js → chunk.RUUKH7KZ.js} +2 -2
- package/dist/chunks/{chunk.5BUBL7JY.js → chunk.S2UI5DQ6.js} +2 -2
- package/dist/chunks/{chunk.IUBRJUHB.js → chunk.SIADSRVP.js} +2 -2
- package/dist/chunks/{chunk.PVBLEKYQ.js → chunk.SN6A7VBJ.js} +2 -2
- package/dist/chunks/{chunk.ZBJXFMXI.js → chunk.SOVF26GR.js} +6 -6
- package/dist/chunks/{chunk.NH5UF5W4.js → chunk.T4MHUMBJ.js} +10 -10
- package/dist/chunks/{chunk.KDBBMF6R.js → chunk.TCGQ6I55.js} +5 -5
- package/dist/chunks/{chunk.DNYMFI4T.js → chunk.TD2KXBBJ.js} +2 -2
- package/dist/chunks/{chunk.AD7URUHH.js → chunk.THRSQDCW.js} +2 -2
- package/dist/chunks/{chunk.NCS3KNSS.js → chunk.TVIXZRR6.js} +3 -3
- package/dist/chunks/{chunk.MLTJKLDB.js → chunk.UKK7UB66.js} +2 -2
- package/dist/chunks/{chunk.2BKN4SVL.js → chunk.VCCPDP5S.js} +2 -2
- package/dist/chunks/{chunk.GCI7QWTQ.js → chunk.VI6PYB5C.js} +7 -7
- package/dist/chunks/{chunk.NMM47RXC.js → chunk.VNOGO2PS.js} +2 -2
- package/dist/chunks/{chunk.DOHCZXOF.js → chunk.VREBZRBU.js} +2 -2
- package/dist/chunks/{chunk.MXCWG2OM.js → chunk.W2474HMX.js} +2 -2
- package/dist/chunks/{chunk.PD4GEYPT.js → chunk.WEUMPGAL.js} +2 -2
- package/dist/chunks/{chunk.DFR3UNMT.js → chunk.XBHV2RZS.js} +5 -5
- package/dist/chunks/{chunk.EHZE3CKH.js → chunk.XD3FB2XT.js} +7 -7
- package/dist/chunks/{chunk.H4EFGKKT.js → chunk.XY7PAA7K.js} +2 -2
- package/dist/chunks/{chunk.RILCNQ7U.js → chunk.Y4PC4NYJ.js} +2 -2
- package/dist/chunks/{chunk.DCILBP5O.js → chunk.ZHDP4GU5.js} +2 -2
- package/dist/chunks/{chunk.E3KW3KQM.js → chunk.ZTEMBLJH.js} +2 -2
- package/dist/chunks/{chunk.E3KW3KQM.js.map → chunk.ZTEMBLJH.js.map} +1 -1
- package/dist/chunks/{chunk.Y4LO5L6L.js → chunk.ZXLXQMJJ.js} +2 -2
- package/dist/components/accordion/accordion.component.js +3 -3
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/alert/alert.component.js +12 -11
- package/dist/components/alert/alert.js +13 -12
- package/dist/components/badge/badge.component.js +4 -4
- package/dist/components/badge/badge.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.component.js +8 -8
- package/dist/components/breadcrumb/breadcrumb.js +9 -9
- 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 +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/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/details/details.component.js +10 -9
- package/dist/components/details/details.js +11 -10
- package/dist/components/dialog/dialog.component.js +11 -10
- package/dist/components/dialog/dialog.js +12 -11
- 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 -10
- package/dist/components/drawer/drawer.js +12 -11
- package/dist/components/dropdown/dropdown.component.js +7 -6
- package/dist/components/dropdown/dropdown.js +8 -7
- package/dist/components/file/file.component.d.ts +195 -0
- package/dist/components/file/file.component.js +32 -0
- package/dist/components/file/file.component.js.map +7 -0
- package/dist/components/file/file.d.ts +8 -0
- package/dist/components/file/file.js +33 -0
- package/dist/components/file/file.js.map +7 -0
- package/dist/components/file/file.styles.d.ts +2 -0
- package/dist/components/file/file.styles.js +8 -0
- package/dist/components/file/file.styles.js.map +7 -0
- package/dist/components/header/header.component.js +9 -9
- package/dist/components/header/header.js +10 -10
- 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 +12 -12
- package/dist/components/input/input.js +13 -13
- 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 +11 -11
- package/dist/components/menu-item/menu-item.js +12 -12
- package/dist/components/menu-item/submenu-controller.js +2 -2
- package/dist/components/menu-label/menu-label.component.js +4 -4
- package/dist/components/menu-label/menu-label.js +5 -5
- 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 +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.js +15 -14
- package/dist/components/prio-nav/prio-nav.js +16 -15
- 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 +6 -6
- package/dist/components/radio/radio.js +7 -7
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +5 -5
- package/dist/components/radio-group/radio-group.js +6 -6
- package/dist/components/select/select.component.js +17 -16
- package/dist/components/select/select.js +18 -17
- package/dist/components/side-nav/side-nav.component.js +13 -12
- package/dist/components/side-nav/side-nav.js +14 -13
- 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 +9 -9
- package/dist/components/tab/tab.js +10 -10
- package/dist/components/tab-group/tab-group.component.js +10 -10
- package/dist/components/tab-group/tab-group.js +11 -11
- 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 +10 -10
- package/dist/components/tag/tag.js +11 -11
- package/dist/components/textarea/textarea.component.js +4 -4
- package/dist/components/textarea/textarea.js +5 -5
- package/dist/components/tooltip/tooltip.component.js +8 -7
- package/dist/components/tooltip/tooltip.js +9 -8
- package/dist/custom-elements.json +781 -77
- package/dist/styles/fouc.css +1 -0
- package/dist/styles/index.css +2 -1
- package/dist/synergy.d.ts +1 -0
- package/dist/synergy.js +147 -140
- package/dist/translations/de.js +11 -3
- package/dist/translations/de.js.map +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/utilities/form.js +2 -2
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +4 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +114 -23
- package/package.json +3 -3
- /package/dist/chunks/{chunk.XMS3V7AX.js.map → chunk.26PVORV4.js.map} +0 -0
- /package/dist/chunks/{chunk.KBUOEYFD.js.map → chunk.2JGMDXJX.js.map} +0 -0
- /package/dist/chunks/{chunk.KOZGQJ42.js.map → chunk.3442R447.js.map} +0 -0
- /package/dist/chunks/{chunk.5C2N3OG3.js.map → chunk.36WNAWGH.js.map} +0 -0
- /package/dist/chunks/{chunk.QH5LWFIU.js.map → chunk.445GTYI7.js.map} +0 -0
- /package/dist/chunks/{chunk.4HSU3RZA.js.map → chunk.4U4U4WYP.js.map} +0 -0
- /package/dist/chunks/{chunk.UWNJQDZP.js.map → chunk.4VJLNO6Y.js.map} +0 -0
- /package/dist/chunks/{chunk.CN4QRO22.js.map → chunk.4VP6SOMT.js.map} +0 -0
- /package/dist/chunks/{chunk.AV56MW4Q.js.map → chunk.543GQUFN.js.map} +0 -0
- /package/dist/chunks/{chunk.A54YJOJZ.js.map → chunk.6EHHOHBG.js.map} +0 -0
- /package/dist/chunks/{chunk.Q63T23NX.js.map → chunk.6N5IAYT2.js.map} +0 -0
- /package/dist/chunks/{chunk.STPTOC6W.js.map → chunk.6ZMQFRAK.js.map} +0 -0
- /package/dist/chunks/{chunk.R2MO73SN.js.map → chunk.7INB3LU4.js.map} +0 -0
- /package/dist/chunks/{chunk.NUHI5YB7.js.map → chunk.7TOZAZTA.js.map} +0 -0
- /package/dist/chunks/{chunk.5UWGWBIX.js.map → chunk.A3TUOOXV.js.map} +0 -0
- /package/dist/chunks/{chunk.KU3GIITB.js.map → chunk.A45QGUNM.js.map} +0 -0
- /package/dist/chunks/{chunk.DXNSNACZ.js.map → chunk.AUQVJZEW.js.map} +0 -0
- /package/dist/chunks/{chunk.WM3ZKNS4.js.map → chunk.BCAT6PJO.js.map} +0 -0
- /package/dist/chunks/{chunk.4HBNKWDI.js.map → chunk.BCM6GF47.js.map} +0 -0
- /package/dist/chunks/{chunk.GJPZZH76.js.map → chunk.BZ7DXEKT.js.map} +0 -0
- /package/dist/chunks/{chunk.XHVDKQO2.js.map → chunk.C66PDYUI.js.map} +0 -0
- /package/dist/chunks/{chunk.SMPYVOTL.js.map → chunk.CCBYOE35.js.map} +0 -0
- /package/dist/chunks/{chunk.FZKUXUK6.js.map → chunk.CG7HK3HS.js.map} +0 -0
- /package/dist/chunks/{chunk.LITNZ5UP.js.map → chunk.COI5VNKC.js.map} +0 -0
- /package/dist/chunks/{chunk.LVMOATGP.js.map → chunk.CZISOWFR.js.map} +0 -0
- /package/dist/chunks/{chunk.MQMVF4PW.js.map → chunk.DCWG25RX.js.map} +0 -0
- /package/dist/chunks/{chunk.R7FWD6IV.js.map → chunk.EG23UW3V.js.map} +0 -0
- /package/dist/chunks/{chunk.XVFSTDCI.js.map → chunk.GCVGZHJK.js.map} +0 -0
- /package/dist/chunks/{chunk.4H3F5YVU.js.map → chunk.GOXWNSOG.js.map} +0 -0
- /package/dist/chunks/{chunk.F5LLLIE5.js.map → chunk.GZQPS6JH.js.map} +0 -0
- /package/dist/chunks/{chunk.YLRQUWVH.js.map → chunk.HLRZHIBP.js.map} +0 -0
- /package/dist/chunks/{chunk.2BVNVTCJ.js.map → chunk.HRU52NH5.js.map} +0 -0
- /package/dist/chunks/{chunk.5CL6DHME.js.map → chunk.HVJGBGHT.js.map} +0 -0
- /package/dist/chunks/{chunk.SW3NDC4L.js.map → chunk.IOTJRIT5.js.map} +0 -0
- /package/dist/chunks/{chunk.OPAVUSG6.js.map → chunk.KPEDDAR4.js.map} +0 -0
- /package/dist/chunks/{chunk.6JHUWKC2.js.map → chunk.LAKJ5MK2.js.map} +0 -0
- /package/dist/chunks/{chunk.XRRZVMQT.js.map → chunk.LQZJ6SLT.js.map} +0 -0
- /package/dist/chunks/{chunk.MVZJDKSR.js.map → chunk.M4PJZ2KX.js.map} +0 -0
- /package/dist/chunks/{chunk.VHASVP7B.js.map → chunk.MAWKXH6T.js.map} +0 -0
- /package/dist/chunks/{chunk.TQMD3CRX.js.map → chunk.ML6NOYHV.js.map} +0 -0
- /package/dist/chunks/{chunk.AVNL6XBJ.js.map → chunk.MO5THLW3.js.map} +0 -0
- /package/dist/chunks/{chunk.W2S2MTUW.js.map → chunk.MQH2OOTN.js.map} +0 -0
- /package/dist/chunks/{chunk.BCREP7HQ.js.map → chunk.MZO2W4AG.js.map} +0 -0
- /package/dist/chunks/{chunk.QGODDF6V.js.map → chunk.OAD4GL57.js.map} +0 -0
- /package/dist/chunks/{chunk.4UGAAIOV.js.map → chunk.OUSXEKQG.js.map} +0 -0
- /package/dist/chunks/{chunk.4ZAIWKYK.js.map → chunk.P7GNMVZ4.js.map} +0 -0
- /package/dist/chunks/{chunk.2FHYURSV.js.map → chunk.PGDHCGHK.js.map} +0 -0
- /package/dist/chunks/{chunk.J47HF5GZ.js.map → chunk.POXDBLOS.js.map} +0 -0
- /package/dist/chunks/{chunk.VNQF6LEZ.js.map → chunk.QVNMCS3Y.js.map} +0 -0
- /package/dist/chunks/{chunk.KP7ABNMV.js.map → chunk.QVULMTSN.js.map} +0 -0
- /package/dist/chunks/{chunk.JBW7QDPF.js.map → chunk.R6VT7GM5.js.map} +0 -0
- /package/dist/chunks/{chunk.VA5J6CGG.js.map → chunk.REXNHEPD.js.map} +0 -0
- /package/dist/chunks/{chunk.LLNHJVT6.js.map → chunk.RQ6PQ76D.js.map} +0 -0
- /package/dist/chunks/{chunk.5KE7YYYL.js.map → chunk.RSPZU72C.js.map} +0 -0
- /package/dist/chunks/{chunk.JBSLSPA4.js.map → chunk.RUUKH7KZ.js.map} +0 -0
- /package/dist/chunks/{chunk.5BUBL7JY.js.map → chunk.S2UI5DQ6.js.map} +0 -0
- /package/dist/chunks/{chunk.IUBRJUHB.js.map → chunk.SIADSRVP.js.map} +0 -0
- /package/dist/chunks/{chunk.PVBLEKYQ.js.map → chunk.SN6A7VBJ.js.map} +0 -0
- /package/dist/chunks/{chunk.ZBJXFMXI.js.map → chunk.SOVF26GR.js.map} +0 -0
- /package/dist/chunks/{chunk.NH5UF5W4.js.map → chunk.T4MHUMBJ.js.map} +0 -0
- /package/dist/chunks/{chunk.KDBBMF6R.js.map → chunk.TCGQ6I55.js.map} +0 -0
- /package/dist/chunks/{chunk.DNYMFI4T.js.map → chunk.TD2KXBBJ.js.map} +0 -0
- /package/dist/chunks/{chunk.AD7URUHH.js.map → chunk.THRSQDCW.js.map} +0 -0
- /package/dist/chunks/{chunk.NCS3KNSS.js.map → chunk.TVIXZRR6.js.map} +0 -0
- /package/dist/chunks/{chunk.MLTJKLDB.js.map → chunk.UKK7UB66.js.map} +0 -0
- /package/dist/chunks/{chunk.2BKN4SVL.js.map → chunk.VCCPDP5S.js.map} +0 -0
- /package/dist/chunks/{chunk.GCI7QWTQ.js.map → chunk.VI6PYB5C.js.map} +0 -0
- /package/dist/chunks/{chunk.NMM47RXC.js.map → chunk.VNOGO2PS.js.map} +0 -0
- /package/dist/chunks/{chunk.DOHCZXOF.js.map → chunk.VREBZRBU.js.map} +0 -0
- /package/dist/chunks/{chunk.MXCWG2OM.js.map → chunk.W2474HMX.js.map} +0 -0
- /package/dist/chunks/{chunk.PD4GEYPT.js.map → chunk.WEUMPGAL.js.map} +0 -0
- /package/dist/chunks/{chunk.DFR3UNMT.js.map → chunk.XBHV2RZS.js.map} +0 -0
- /package/dist/chunks/{chunk.EHZE3CKH.js.map → chunk.XD3FB2XT.js.map} +0 -0
- /package/dist/chunks/{chunk.H4EFGKKT.js.map → chunk.XY7PAA7K.js.map} +0 -0
- /package/dist/chunks/{chunk.RILCNQ7U.js.map → chunk.Y4PC4NYJ.js.map} +0 -0
- /package/dist/chunks/{chunk.DCILBP5O.js.map → chunk.ZHDP4GU5.js.map} +0 -0
- /package/dist/chunks/{chunk.Y4LO5L6L.js.map → chunk.ZXLXQMJJ.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.KG52EHDB.js";
|
|
4
4
|
import {
|
|
5
5
|
SynDivider
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.HVJGBGHT.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.WVVQK5TE.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.QJMO7V5R.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.BWVISANJ.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -93,4 +93,4 @@ __decorateClass([
|
|
|
93
93
|
export {
|
|
94
94
|
SynOptgroup
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=chunk.
|
|
96
|
+
//# sourceMappingURL=chunk.26PVORV4.js.map
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
form_control_custom_styles_default,
|
|
12
12
|
form_control_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.HLE65RI4.js";
|
|
14
14
|
import {
|
|
15
15
|
FormControlController
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.QBVLTYU7.js";
|
|
17
17
|
import {
|
|
18
18
|
HasSlotController
|
|
19
19
|
} from "./chunk.WVVQK5TE.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
SynergyElement,
|
|
25
25
|
component_styles_default
|
|
26
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.BWVISANJ.js";
|
|
27
27
|
import {
|
|
28
28
|
__decorateClass
|
|
29
29
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -362,4 +362,4 @@ __decorateClass([
|
|
|
362
362
|
export {
|
|
363
363
|
SynTextarea
|
|
364
364
|
};
|
|
365
|
-
//# sourceMappingURL=chunk.
|
|
365
|
+
//# sourceMappingURL=chunk.2JGMDXJX.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/file/file.ts"],
|
|
4
|
+
"sourcesContent": ["import SynFile from './file.component.js';\n\nexport * from './file.component.js';\nexport default SynFile;\n\nSynFile.define('syn-file');\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-file': SynFile;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AAGA,IAAO,eAAQ;AAEf,QAAQ,OAAO,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
SynergyElement,
|
|
6
6
|
component_styles_default
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.BWVISANJ.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.3442R447.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.QVULMTSN.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.36WNAWGH.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.BWVISANJ.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -53,4 +53,4 @@ __decorateClass([
|
|
|
53
53
|
export {
|
|
54
54
|
SynCard
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=chunk.
|
|
56
|
+
//# sourceMappingURL=chunk.445GTYI7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.APPDW65F.js";
|
|
4
4
|
|
|
5
5
|
// src/components/select/select.ts
|
|
6
6
|
var select_default = SynSelect;
|
|
@@ -9,4 +9,4 @@ SynSelect.define("syn-select");
|
|
|
9
9
|
export {
|
|
10
10
|
select_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.4U4U4WYP.js.map
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk.S22BO5SF.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIcon
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.OUSXEKQG.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.ZTEMBLJH.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement,
|
|
15
15
|
component_styles_default
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.BWVISANJ.js";
|
|
17
17
|
import {
|
|
18
18
|
__decorateClass
|
|
19
19
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -89,4 +89,4 @@ __decorateClass([
|
|
|
89
89
|
export {
|
|
90
90
|
SynBreadcrumb
|
|
91
91
|
};
|
|
92
|
-
//# sourceMappingURL=chunk.
|
|
92
|
+
//# sourceMappingURL=chunk.4VJLNO6Y.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynCard
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.445GTYI7.js";
|
|
4
4
|
|
|
5
5
|
// src/components/card/card.ts
|
|
6
6
|
var card_default = SynCard;
|
|
@@ -9,4 +9,4 @@ SynCard.define("syn-card");
|
|
|
9
9
|
export {
|
|
10
10
|
card_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.4VP6SOMT.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
library_system_default
|
|
3
|
-
} from "./chunk.SDQC32B3.js";
|
|
4
1
|
import {
|
|
5
2
|
library_default_default
|
|
6
3
|
} from "./chunk.YTEJW7IF.js";
|
|
4
|
+
import {
|
|
5
|
+
library_system_default
|
|
6
|
+
} from "./chunk.AINKZEUX.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.543GQUFN.js.map
|
|
@@ -13,12 +13,14 @@ import {
|
|
|
13
13
|
} from "./chunk.MU43DZ7W.js";
|
|
14
14
|
import {
|
|
15
15
|
SynIconButton
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.GZQPS6JH.js";
|
|
17
17
|
import {
|
|
18
|
-
animateTo,
|
|
19
|
-
stopAnimations,
|
|
20
18
|
waitForEvent
|
|
21
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.C2ENQBPM.js";
|
|
20
|
+
import {
|
|
21
|
+
animateTo,
|
|
22
|
+
stopAnimations
|
|
23
|
+
} from "./chunk.MLOZ4D3V.js";
|
|
22
24
|
import {
|
|
23
25
|
getAnimation,
|
|
24
26
|
setDefaultAnimation
|
|
@@ -28,14 +30,14 @@ import {
|
|
|
28
30
|
} from "./chunk.WVVQK5TE.js";
|
|
29
31
|
import {
|
|
30
32
|
LocalizeController
|
|
31
|
-
} from "./chunk.
|
|
33
|
+
} from "./chunk.ZTEMBLJH.js";
|
|
32
34
|
import {
|
|
33
35
|
watch
|
|
34
36
|
} from "./chunk.QJMO7V5R.js";
|
|
35
37
|
import {
|
|
36
38
|
SynergyElement,
|
|
37
39
|
component_styles_default
|
|
38
|
-
} from "./chunk.
|
|
40
|
+
} from "./chunk.BWVISANJ.js";
|
|
39
41
|
import {
|
|
40
42
|
__decorateClass
|
|
41
43
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -285,4 +287,4 @@ setDefaultAnimation("dialog.overlay.hide", {
|
|
|
285
287
|
export {
|
|
286
288
|
SynDialog
|
|
287
289
|
};
|
|
288
|
-
//# sourceMappingURL=chunk.
|
|
290
|
+
//# sourceMappingURL=chunk.5BDQUWIH.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/components/dialog/dialog.component.ts"],
|
|
4
4
|
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../internal/scroll.js';\nimport { property, query } from 'lit/decorators.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport Modal from '../../internal/modal.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './dialog.styles.js';\nimport customStyles from './dialog.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Dialogs, sometimes called \"modals\", appear above the page and require the user's immediate attention.\n * @documentation https://synergy.style/components/dialog\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The dialog's main content.\n * @slot label - The dialog's label. Alternatively, you can use the `label` attribute.\n * @slot header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @slot footer - The dialog's footer, usually one or more buttons representing various options.\n *\n * @event syn-show - Emitted when the dialog opens.\n * @event syn-after-show - Emitted after the dialog opens and all animations are complete.\n * @event syn-hide - Emitted when the dialog closes.\n * @event syn-after-hide - Emitted after the dialog closes and all animations are complete.\n * @event syn-initial-focus - Emitted when the dialog opens and is ready to receive focus. Calling\n * `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n * @event {{ source: 'close-button' | 'keyboard' | 'overlay' }} syn-request-close - Emitted when the user attempts to\n * close the dialog by clicking the close button, clicking the overlay, or pressing escape. Calling\n * `event.preventDefault()` will keep the dialog open. Avoid using this unless closing the dialog will result in\n * destructive behavior such as data loss.\n *\n * @csspart base - The component's base wrapper.\n * @csspart overlay - The overlay that covers the screen behind the dialog.\n * @csspart panel - The dialog's panel (where the dialog and its content are rendered).\n * @csspart header - The dialog's header. This element wraps the title and header actions.\n * @csspart header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @csspart title - The dialog's title.\n * @csspart close-button - The close button, an `<syn-icon-button>`.\n * @csspart close-button__base - The close button's exported `base` part.\n * @csspart body - The dialog's body.\n * @csspart footer - The dialog's footer.\n *\n * @cssproperty --width - The preferred width of the dialog. Note that the dialog will shrink to accommodate smaller screens.\n * @cssproperty --header-spacing - The amount of padding to use for the header.\n * @cssproperty --body-spacing - The amount of padding to use for the body.\n * @cssproperty --footer-spacing - The amount of padding to use for the footer.\n *\n * @animation dialog.show - The animation to use when showing the dialog.\n * @animation dialog.hide - The animation to use when hiding the dialog.\n * @animation dialog.denyClose - The animation to use when a request to close the dialog is denied.\n * @animation dialog.overlay.show - The animation to use when showing the dialog's overlay.\n * @animation dialog.overlay.hide - The animation to use when hiding the dialog's overlay.\n *\n * @property modal - Exposes the internal modal utility that controls focus trapping. To temporarily disable focus\n * trapping and allow third-party modals spawned from an active Synergy modal, call `modal.activateExternal()` when\n * the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore Synergy's focus trapping.\n */\nexport default class SynDialog extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = {\n 'syn-icon-button': SynIconButton\n };\n\n private readonly hasSlotController = new HasSlotController(this, 'footer');\n private readonly localize = new LocalizeController(this);\n private originalTrigger: HTMLElement | null;\n public modal = new Modal(this);\n private closeWatcher: CloseWatcher | null;\n\n @query('.dialog') dialog: HTMLElement;\n @query('.dialog__panel') panel: HTMLElement;\n @query('.dialog__overlay') overlay: HTMLElement;\n\n /**\n * Indicates whether or not the dialog is open. You can toggle this attribute to show and hide the dialog, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the dialog's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /**\n * The dialog's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.\n */\n @property({ reflect: true }) label = '';\n\n /**\n * Disables the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the dialog.\n */\n @property({ attribute: 'no-header', type: Boolean, reflect: true }) noHeader = false;\n\n firstUpdated() {\n this.dialog.hidden = !this.open;\n\n if (this.open) {\n this.addOpenListeners();\n this.modal.activate();\n lockBodyScrolling(this);\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.modal.deactivate();\n unlockBodyScrolling(this);\n this.closeWatcher?.destroy();\n }\n\n private requestClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const slRequestClose = this.emit('syn-request-close', {\n cancelable: true,\n detail: { source }\n });\n\n if (slRequestClose.defaultPrevented) {\n const animation = getAnimation(this, 'dialog.denyClose', { dir: this.localize.dir() });\n animateTo(this.panel, animation.keyframes, animation.options);\n return;\n }\n\n this.hide();\n }\n\n private addOpenListeners() {\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => this.requestClose('keyboard');\n } else {\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n }\n }\n\n private removeOpenListeners() {\n this.closeWatcher?.destroy();\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n }\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape' && this.modal.isActive() && this.open) {\n event.stopPropagation();\n this.requestClose('keyboard');\n }\n };\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n // Show\n this.emit('syn-show');\n this.addOpenListeners();\n this.originalTrigger = document.activeElement as HTMLElement;\n this.modal.activate();\n\n lockBodyScrolling(this);\n\n // When the dialog is shown, Safari will attempt to set focus on whatever element has autofocus. This can cause\n // the dialogs's animation to jitter (if it starts offscreen), so we'll temporarily remove the attribute, call\n // `focus({ preventScroll: true })` ourselves, and add the attribute back afterwards.\n //\n // Related: https://github.com/synergy-design-system/synergy/issues/693\n //\n const autoFocusTarget = this.querySelector('[autofocus]');\n if (autoFocusTarget) {\n autoFocusTarget.removeAttribute('autofocus');\n }\n\n await Promise.all([stopAnimations(this.dialog), stopAnimations(this.overlay)]);\n this.dialog.hidden = false;\n\n // Set initial focus\n requestAnimationFrame(() => {\n const slInitialFocus = this.emit('syn-initial-focus', { cancelable: true });\n\n if (!slInitialFocus.defaultPrevented) {\n // Set focus to the autofocus target and restore the attribute\n if (autoFocusTarget) {\n (autoFocusTarget as HTMLInputElement).focus({ preventScroll: true });\n } else {\n this.panel.focus({ preventScroll: true });\n }\n }\n\n // Restore the autofocus attribute\n if (autoFocusTarget) {\n autoFocusTarget.setAttribute('autofocus', '');\n }\n });\n\n const panelAnimation = getAnimation(this, 'dialog.show', { dir: this.localize.dir() });\n const overlayAnimation = getAnimation(this, 'dialog.overlay.show', { dir: this.localize.dir() });\n await Promise.all([\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options),\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options)\n ]);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.removeOpenListeners();\n this.modal.deactivate();\n\n await Promise.all([stopAnimations(this.dialog), stopAnimations(this.overlay)]);\n const panelAnimation = getAnimation(this, 'dialog.hide', { dir: this.localize.dir() });\n const overlayAnimation = getAnimation(this, 'dialog.overlay.hide', { dir: this.localize.dir() });\n\n // Animate the overlay and the panel at the same time. Because animation durations might be different, we need to\n // hide each one individually when the animation finishes, otherwise the first one that finishes will reappear\n // unexpectedly. We'll unhide them after all animations have completed.\n await Promise.all([\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options).then(() => {\n this.overlay.hidden = true;\n }),\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options).then(() => {\n this.panel.hidden = true;\n })\n ]);\n\n this.dialog.hidden = true;\n\n // Now that the dialog is hidden, restore the overlay and panel for next time\n this.overlay.hidden = false;\n this.panel.hidden = false;\n\n unlockBodyScrolling(this);\n\n // Restore focus to the original trigger\n const trigger = this.originalTrigger;\n if (typeof trigger?.focus === 'function') {\n setTimeout(() => trigger.focus());\n }\n\n this.emit('syn-after-hide');\n }\n }\n\n /** Shows the dialog. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the dialog */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n dialog: true,\n 'dialog--open': this.open,\n 'dialog--has-footer': this.hasSlotController.test('footer')\n })}\n >\n <div part=\"overlay\" class=\"dialog__overlay\" @click=${() => this.requestClose('overlay')} tabindex=\"-1\"></div>\n\n <div\n part=\"panel\"\n class=\"dialog__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden=${this.open ? 'false' : 'true'}\n aria-label=${ifDefined(this.noHeader ? this.label : undefined)}\n aria-labelledby=${ifDefined(!this.noHeader ? 'title' : undefined)}\n tabindex=\"-1\"\n >\n ${!this.noHeader\n ? html`\n <header part=\"header\" class=\"dialog__header\">\n <h2 part=\"title\" class=\"dialog__title\" id=\"title\">\n <slot name=\"label\"> ${this.label.length > 0 ? this.label : String.fromCharCode(65279)} </slot>\n </h2>\n <div part=\"header-actions\" class=\"dialog__header-actions\">\n <slot name=\"header-actions\"></slot>\n <syn-icon-button\n part=\"close-button\"\n exportparts=\"base:close-button__base\"\n class=\"dialog__close\"\n name=\"x-lg\"\n label=${this.localize.term('close')}\n library=\"system\"\n @click=\"${() => this.requestClose('close-button')}\"\n ></syn-icon-button>\n </div>\n </header>\n `\n : ''}\n ${\n '' /* The tabindex=\"-1\" is here because the body is technically scrollable if overflowing. However, if there's no focusable elements inside, you won't actually be able to scroll it via keyboard. Previously this was just a <slot>, but tabindex=\"-1\" on the slot causes children to not be focusable. https://github.com/synergy-design-system/synergy/issues/1753#issuecomment-1836803277 */\n }\n <div part=\"body\" class=\"dialog__body\" tabindex=\"-1\"><slot></slot></div>\n\n <footer part=\"footer\" class=\"dialog__footer\">\n <slot name=\"footer\"></slot>\n </footer>\n </div>\n </div>\n `;\n }\n}\n\nsetDefaultAnimation('dialog.show', {\n keyframes: [\n { opacity: 0, scale: 0.8 },\n { opacity: 1, scale: 1 }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('dialog.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.8 }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('dialog.denyClose', {\n keyframes: [{ scale: 1 }, { scale: 1.02 }, { scale: 1 }],\n options: { duration: 250 }\n});\n\nsetDefaultAnimation('dialog.overlay.show', {\n keyframes: [{ opacity: 0 }, { opacity: 1 }],\n options: { duration: 250 }\n});\n\nsetDefaultAnimation('dialog.overlay.hide', {\n keyframes: [{ opacity: 1 }, { opacity: 0 }],\n options: { duration: 250 }\n});\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,gBAAgB;AAGzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAG1B,SAAS,UAAU,aAAa;AA6DhC,IAAqB,YAArB,cAAuC,eAAe;AAAA,EAAtD;AAAA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ADL,MAAM,QAAQ,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAxF1B,UAyFb;AAwKR,oBAAoB,eAAe;AAAA,EACjC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,IACzB,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,EACzB;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,eAAe;AAAA,EACjC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,IACvB,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,EAC3B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,oBAAoB;AAAA,EACtC,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,KAAK,GAAG,EAAE,OAAO,EAAE,CAAC;AAAA,EACvD,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;AAED,oBAAoB,uBAAuB;AAAA,EACzC,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;AAED,oBAAoB,uBAAuB;AAAA,EACzC,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynOptgroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.26PVORV4.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.6EHHOHBG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDialog
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.5BDQUWIH.js";
|
|
4
4
|
|
|
5
5
|
// src/components/dialog/dialog.ts
|
|
6
6
|
var dialog_default = SynDialog;
|
|
@@ -9,4 +9,4 @@ SynDialog.define("syn-dialog");
|
|
|
9
9
|
export {
|
|
10
10
|
dialog_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.6N5IAYT2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadioButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.GOXWNSOG.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio-button/radio-button.ts
|
|
6
6
|
var radio_button_default = SynRadioButton;
|
|
@@ -9,4 +9,4 @@ SynRadioButton.define("syn-radio-button");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.6ZMQFRAK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynHeader
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.DCWG25RX.js";
|
|
4
4
|
|
|
5
5
|
// src/components/header/header.ts
|
|
6
6
|
var header_default = SynHeader;
|
|
@@ -9,4 +9,4 @@ SynHeader.define("syn-header");
|
|
|
9
9
|
export {
|
|
10
10
|
header_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.7INB3LU4.js.map
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
menu_item_custom_styles_default
|
|
3
|
+
} from "./chunk.OOABXWCW.js";
|
|
1
4
|
import {
|
|
2
5
|
menu_item_styles_default
|
|
3
6
|
} from "./chunk.MLP2VIC7.js";
|
|
4
7
|
import {
|
|
5
8
|
SubmenuController
|
|
6
9
|
} from "./chunk.U2OMGNNZ.js";
|
|
7
|
-
import {
|
|
8
|
-
menu_item_custom_styles_default
|
|
9
|
-
} from "./chunk.OOABXWCW.js";
|
|
10
10
|
import {
|
|
11
11
|
SynPopup
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.3442R447.js";
|
|
13
13
|
import {
|
|
14
14
|
SynSpinner
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.TVIXZRR6.js";
|
|
16
16
|
import {
|
|
17
17
|
HasSlotController,
|
|
18
18
|
getTextContent
|
|
19
19
|
} from "./chunk.WVVQK5TE.js";
|
|
20
20
|
import {
|
|
21
21
|
SynIcon
|
|
22
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.OUSXEKQG.js";
|
|
23
23
|
import {
|
|
24
24
|
LocalizeController
|
|
25
|
-
} from "./chunk.
|
|
25
|
+
} from "./chunk.ZTEMBLJH.js";
|
|
26
26
|
import {
|
|
27
27
|
watch
|
|
28
28
|
} from "./chunk.QJMO7V5R.js";
|
|
29
29
|
import {
|
|
30
30
|
SynergyElement,
|
|
31
31
|
component_styles_default
|
|
32
|
-
} from "./chunk.
|
|
32
|
+
} from "./chunk.BWVISANJ.js";
|
|
33
33
|
import {
|
|
34
34
|
__decorateClass
|
|
35
35
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -191,4 +191,4 @@ __decorateClass([
|
|
|
191
191
|
export {
|
|
192
192
|
SynMenuItem
|
|
193
193
|
};
|
|
194
|
-
//# sourceMappingURL=chunk.
|
|
194
|
+
//# sourceMappingURL=chunk.7TOZAZTA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSwitch
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.VI6PYB5C.js";
|
|
4
4
|
|
|
5
5
|
// src/components/switch/switch.ts
|
|
6
6
|
var switch_default = SynSwitch;
|
|
@@ -9,4 +9,4 @@ SynSwitch.define("syn-switch");
|
|
|
9
9
|
export {
|
|
10
10
|
switch_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.A3TUOOXV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynBadge
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.EG23UW3V.js";
|
|
4
4
|
|
|
5
5
|
// src/components/badge/badge.ts
|
|
6
6
|
var badge_default = SynBadge;
|
|
@@ -9,4 +9,4 @@ SynBadge.define("syn-badge");
|
|
|
9
9
|
export {
|
|
10
10
|
badge_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.A45QGUNM.js.map
|
|
@@ -13,12 +13,14 @@ import {
|
|
|
13
13
|
} from "./chunk.RX7A4EQ2.js";
|
|
14
14
|
import {
|
|
15
15
|
SynIconButton
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.GZQPS6JH.js";
|
|
17
17
|
import {
|
|
18
|
-
animateTo,
|
|
19
|
-
stopAnimations,
|
|
20
18
|
waitForEvent
|
|
21
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.C2ENQBPM.js";
|
|
20
|
+
import {
|
|
21
|
+
animateTo,
|
|
22
|
+
stopAnimations
|
|
23
|
+
} from "./chunk.MLOZ4D3V.js";
|
|
22
24
|
import {
|
|
23
25
|
getAnimation,
|
|
24
26
|
setDefaultAnimation
|
|
@@ -28,14 +30,14 @@ import {
|
|
|
28
30
|
} from "./chunk.WVVQK5TE.js";
|
|
29
31
|
import {
|
|
30
32
|
LocalizeController
|
|
31
|
-
} from "./chunk.
|
|
33
|
+
} from "./chunk.ZTEMBLJH.js";
|
|
32
34
|
import {
|
|
33
35
|
watch
|
|
34
36
|
} from "./chunk.QJMO7V5R.js";
|
|
35
37
|
import {
|
|
36
38
|
SynergyElement,
|
|
37
39
|
component_styles_default
|
|
38
|
-
} from "./chunk.
|
|
40
|
+
} from "./chunk.BWVISANJ.js";
|
|
39
41
|
import {
|
|
40
42
|
__decorateClass
|
|
41
43
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -391,4 +393,4 @@ setDefaultAnimation("drawer.overlay.hide", {
|
|
|
391
393
|
export {
|
|
392
394
|
SynDrawer
|
|
393
395
|
};
|
|
394
|
-
//# sourceMappingURL=chunk.
|
|
396
|
+
//# sourceMappingURL=chunk.AA7ETQ6Z.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/components/drawer/drawer.component.ts", "../../src/internal/string.ts"],
|
|
4
4
|
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../internal/scroll.js';\nimport { property, query } from 'lit/decorators.js';\nimport { uppercaseFirstLetter } from '../../internal/string.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport Modal from '../../internal/modal.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './drawer.styles.js';\nimport customStyles from './drawer.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Drawers slide in from a container to expose additional options and information.\n * @documentation https://synergy.style/components/drawer\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The drawer's main content.\n * @slot label - The drawer's label. Alternatively, you can use the `label` attribute.\n * @slot header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @event syn-show - Emitted when the drawer opens.\n * @event syn-after-show - Emitted after the drawer opens and all animations are complete.\n * @event syn-hide - Emitted when the drawer closes.\n * @event syn-after-hide - Emitted after the drawer closes and all animations are complete.\n * @event syn-initial-focus - Emitted when the drawer opens and is ready to receive focus. Calling\n * `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n * @event {{ source: 'close-button' | 'keyboard' | 'overlay' }} syn-request-close - Emitted when the user attempts to\n * close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling\n * `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in\n * destructive behavior such as data loss.\n *\n * @csspart base - The component's base wrapper.\n * @csspart overlay - The overlay that covers the screen behind the drawer.\n * @csspart panel - The drawer's panel (where the drawer and its content are rendered).\n * @csspart header - The drawer's header. This element wraps the title and header actions.\n * @csspart header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @csspart title - The drawer's title.\n * @csspart close-button - The close button, an `<syn-icon-button>`.\n * @csspart close-button__base - The close button's exported `base` part.\n * @csspart body - The drawer's body.\n * @csspart footer - The drawer's footer.\n *\n * @cssproperty --size - The preferred size of the drawer. This will be applied to the drawer's width or height\n * depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens.\n * @cssproperty --header-spacing - The amount of padding to use for the header.\n * @cssproperty --body-spacing - The amount of padding to use for the body.\n * @cssproperty --footer-spacing - The amount of padding to use for the footer.\n *\n * @animation drawer.showTop - The animation to use when showing a drawer with `top` placement.\n * @animation drawer.showEnd - The animation to use when showing a drawer with `end` placement.\n * @animation drawer.showBottom - The animation to use when showing a drawer with `bottom` placement.\n * @animation drawer.showStart - The animation to use when showing a drawer with `start` placement.\n * @animation drawer.hideTop - The animation to use when hiding a drawer with `top` placement.\n * @animation drawer.hideEnd - The animation to use when hiding a drawer with `end` placement.\n * @animation drawer.hideBottom - The animation to use when hiding a drawer with `bottom` placement.\n * @animation drawer.hideStart - The animation to use when hiding a drawer with `start` placement.\n * @animation drawer.denyClose - The animation to use when a request to close the drawer is denied.\n * @animation drawer.overlay.show - The animation to use when showing the drawer's overlay.\n * @animation drawer.overlay.hide - The animation to use when hiding the drawer's overlay.\n *\n * @property modal - Exposes the internal modal utility that controls focus trapping. To temporarily disable focus\n * trapping and allow third-party modals spawned from an active Synergy modal, call `modal.activateExternal()` when\n * the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore Synergy's focus trapping.\n */\nexport default class SynDrawer extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon-button': SynIconButton };\n\n private readonly hasSlotController = new HasSlotController(this, 'footer');\n private readonly localize = new LocalizeController(this);\n private originalTrigger: HTMLElement | null;\n public modal = new Modal(this);\n private closeWatcher: CloseWatcher | null;\n\n @query('.drawer') drawer: HTMLElement;\n @query('.drawer__panel') panel: HTMLElement;\n @query('.drawer__overlay') overlay: HTMLElement;\n\n /**\n * Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.\n */\n @property({ reflect: true }) label = '';\n\n /** The direction from which the drawer will open. */\n @property({ reflect: true }) placement: 'top' | 'end' | 'bottom' | 'start' = 'end';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this attribute and add `position: relative` to the parent.\n */\n @property({ type: Boolean, reflect: true }) contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @property({ attribute: 'no-header', type: Boolean, reflect: true }) noHeader = false;\n\n firstUpdated() {\n this.drawer.hidden = !this.open;\n\n if (this.open) {\n this.addOpenListeners();\n\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n unlockBodyScrolling(this);\n this.closeWatcher?.destroy();\n }\n\n private requestClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const slRequestClose = this.emit('syn-request-close', {\n cancelable: true,\n detail: { source }\n });\n\n if (slRequestClose.defaultPrevented) {\n const animation = getAnimation(this, 'drawer.denyClose', { dir: this.localize.dir() });\n animateTo(this.panel, animation.keyframes, animation.options);\n return;\n }\n\n this.hide();\n }\n\n private addOpenListeners() {\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n if (!this.contained) {\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => this.requestClose('keyboard');\n }\n } else {\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n }\n }\n\n private removeOpenListeners() {\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n this.closeWatcher?.destroy();\n }\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n // Contained drawers aren't modal and don't response to the escape key\n if (this.contained) {\n return;\n }\n\n if (event.key === 'Escape' && this.modal.isActive() && this.open) {\n event.stopImmediatePropagation();\n this.requestClose('keyboard');\n }\n };\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n // Show\n this.emit('syn-show');\n this.addOpenListeners();\n this.originalTrigger = document.activeElement as HTMLElement;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n\n // When the drawer is shown, Safari will attempt to set focus on whatever element has autofocus. This causes the\n // drawer's animation to jitter, so we'll temporarily remove the attribute, call `focus({ preventScroll: true })`\n // ourselves, and add the attribute back afterwards.\n //\n // Related: https://github.com/synergy-design-system/synergy/issues/693\n //\n const autoFocusTarget = this.querySelector('[autofocus]');\n if (autoFocusTarget) {\n autoFocusTarget.removeAttribute('autofocus');\n }\n\n await Promise.all([stopAnimations(this.drawer), stopAnimations(this.overlay)]);\n this.drawer.hidden = false;\n\n // Set initial focus\n requestAnimationFrame(() => {\n const slInitialFocus = this.emit('syn-initial-focus', { cancelable: true });\n\n if (!slInitialFocus.defaultPrevented) {\n // Set focus to the autofocus target and restore the attribute\n if (autoFocusTarget) {\n (autoFocusTarget as HTMLInputElement).focus({ preventScroll: true });\n } else {\n this.panel.focus({ preventScroll: true });\n }\n }\n\n // Restore the autofocus attribute\n if (autoFocusTarget) {\n autoFocusTarget.setAttribute('autofocus', '');\n }\n });\n\n const panelAnimation = getAnimation(this, `drawer.show${uppercaseFirstLetter(this.placement)}`, {\n dir: this.localize.dir()\n });\n const overlayAnimation = getAnimation(this, 'drawer.overlay.show', { dir: this.localize.dir() });\n await Promise.all([\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options),\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options)\n ]);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.removeOpenListeners();\n\n if (!this.contained) {\n this.modal.deactivate();\n unlockBodyScrolling(this);\n }\n\n await Promise.all([stopAnimations(this.drawer), stopAnimations(this.overlay)]);\n const panelAnimation = getAnimation(this, `drawer.hide${uppercaseFirstLetter(this.placement)}`, {\n dir: this.localize.dir()\n });\n const overlayAnimation = getAnimation(this, 'drawer.overlay.hide', { dir: this.localize.dir() });\n\n // Animate the overlay and the panel at the same time. Because animation durations might be different, we need to\n // hide each one individually when the animation finishes, otherwise the first one that finishes will reappear\n // unexpectedly. We'll unhide them after all animations have completed.\n await Promise.all([\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options).then(() => {\n this.overlay.hidden = true;\n }),\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options).then(() => {\n this.panel.hidden = true;\n })\n ]);\n\n this.drawer.hidden = true;\n\n // Now that the dialog is hidden, restore the overlay and panel for next time\n this.overlay.hidden = false;\n this.panel.hidden = false;\n\n // Restore focus to the original trigger\n const trigger = this.originalTrigger;\n if (typeof trigger?.focus === 'function') {\n setTimeout(() => trigger.focus());\n }\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch('contained', { waitUntilFirstUpdate: true })\n handleNoModalChange() {\n if (this.open && !this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n\n if (this.open && this.contained) {\n this.modal.deactivate();\n unlockBodyScrolling(this);\n }\n }\n\n /** Shows the drawer. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the drawer */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--top': this.placement === 'top',\n 'drawer--end': this.placement === 'end',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--start': this.placement === 'start',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--rtl': this.localize.dir() === 'rtl',\n 'drawer--has-footer': this.hasSlotController.test('footer')\n })}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" @click=${() => this.requestClose('overlay')} tabindex=\"-1\"></div>\n\n <div\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden=${this.open ? 'false' : 'true'}\n aria-label=${ifDefined(this.noHeader ? this.label : undefined)}\n aria-labelledby=${ifDefined(!this.noHeader ? 'title' : undefined)}\n tabindex=\"0\"\n >\n ${!this.noHeader\n ? html`\n <header part=\"header\" class=\"drawer__header\">\n <h2 part=\"title\" class=\"drawer__title\" id=\"title\">\n <!-- If there's no label, use an invisible character to prevent the header from collapsing -->\n <slot name=\"label\"> ${this.label.length > 0 ? this.label : String.fromCharCode(65279)} </slot>\n </h2>\n <div part=\"header-actions\" class=\"drawer__header-actions\">\n <slot name=\"header-actions\"></slot>\n <syn-icon-button\n part=\"close-button\"\n exportparts=\"base:close-button__base\"\n class=\"drawer__close\"\n name=\"x-lg\"\n label=${this.localize.term('close')}\n library=\"system\"\n @click=${() => this.requestClose('close-button')}\n ></syn-icon-button>\n </div>\n </header>\n `\n : ''}\n\n <slot part=\"body\" class=\"drawer__body\"></slot>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\"></slot>\n </footer>\n </div>\n </div>\n `;\n }\n}\n\n// Top\nsetDefaultAnimation('drawer.showTop', {\n keyframes: [\n { opacity: 0, translate: '0 -100%' },\n { opacity: 1, translate: '0 0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideTop', {\n keyframes: [\n { opacity: 1, translate: '0 0' },\n { opacity: 0, translate: '0 -100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// End\nsetDefaultAnimation('drawer.showEnd', {\n keyframes: [\n { opacity: 0, translate: '100%' },\n { opacity: 1, translate: '0' }\n ],\n rtlKeyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideEnd', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '100%' }\n ],\n rtlKeyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Bottom\nsetDefaultAnimation('drawer.showBottom', {\n keyframes: [\n { opacity: 0, translate: '0 100%' },\n { opacity: 1, translate: '0 0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideBottom', {\n keyframes: [\n { opacity: 1, translate: '0 0' },\n { opacity: 0, translate: '0 100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Start\nsetDefaultAnimation('drawer.showStart', {\n keyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' }\n ],\n rtlKeyframes: [\n { opacity: 0, translate: '100%' },\n { opacity: 1, translate: '0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideStart', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' }\n ],\n rtlKeyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Deny close\nsetDefaultAnimation('drawer.denyClose', {\n keyframes: [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }],\n options: { duration: 250 }\n});\n\n// Overlay\nsetDefaultAnimation('drawer.overlay.show', {\n keyframes: [{ opacity: 0 }, { opacity: 1 }],\n options: { duration: 250 }\n});\n\nsetDefaultAnimation('drawer.overlay.hide', {\n keyframes: [{ opacity: 1 }, { opacity: 0 }],\n options: { duration: 250 }\n});\n", "/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\n/** Converts the first letter of a string to uppercase */\nexport function uppercaseFirstLetter(string: string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,gBAAgB;AAGzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAG1B,SAAS,UAAU,aAAa;;;ACPzB,SAAS,qBAAqB,QAAgB;AACnD,SAAO,OAAO,OAAO,CAAC,EAAE,YA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icons = {
|
|
|
26
26
|
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill='currentColor'><path d="M6 10C4.9 10 4 10.9 4 12C4 13.1 4.9 14 6 14C7.1 14 8 13.1 8 12C8 10.9 7.1 10 6 10ZM18 10C16.9 10 16 10.9 16 12C16 13.1 16.9 14 18 14C19.1 14 20 13.1 20 12C20 10.9 19.1 10 18 10ZM12 10C10.9 10 10 10.9 10 12C10 13.1 10.9 14 12 14C13.1 14 14 13.1 14 12C14 10.9 13.1 10 12 10Z"/></svg>`,
|
|
27
27
|
"radio": `
|
|
28
28
|
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill='currentColor'><path d="M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z"/></svg>`,
|
|
29
|
+
"upload-file": `
|
|
30
|
+
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill='currentColor'><path d="M14 2H6C4.9 2 4.01 2.9 4.01 4L4 20C4 21.1 4.89 22 5.99 22H18C19.1 22 20 21.1 20 20V8L14 2ZM18 20H6V4H13V9H18V20ZM8 15.01L9.41 16.42L11 14.84V19H13V14.84L14.59 16.43L16 15.01L12.01 11L8 15.01Z"/></svg>`,
|
|
29
31
|
"x-circle-fill": `
|
|
30
32
|
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill='currentColor'><path d="M12 2C6.47 2 2 6.47 2 12C2 17.53 6.47 22 12 22C17.53 22 22 17.53 22 12C22 6.47 17.53 2 12 2ZM17 15.59L15.59 17L12 13.41L8.41 17L7 15.59L10.59 12L7 8.41L8.41 7L12 10.59L15.59 7L17 8.41L13.41 12L17 15.59Z"/></svg>`,
|
|
31
33
|
"x-lg": `
|
|
@@ -45,4 +47,4 @@ var library_system_default = systemLibrary;
|
|
|
45
47
|
export {
|
|
46
48
|
library_system_default
|
|
47
49
|
};
|
|
48
|
-
//# sourceMappingURL=chunk.
|
|
50
|
+
//# sourceMappingURL=chunk.AINKZEUX.js.map
|