@synergy-design-system/components 2.2.1 → 2.4.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.QXWUF6OB.js → chunk.2HFAJGUS.js} +11 -11
- package/dist/chunks/{chunk.XZTGJHD2.js → chunk.2IOE774F.js} +7 -7
- package/dist/chunks/{chunk.ADZJXJ4U.js → chunk.3BSRERE5.js} +2 -2
- package/dist/chunks/chunk.3MXVDMDD.js +12 -0
- package/dist/chunks/chunk.3MXVDMDD.js.map +7 -0
- package/dist/chunks/{chunk.NOPRJ4QH.js → chunk.3RCY4LPD.js} +2 -2
- package/dist/chunks/{chunk.2GXD4L2M.js → chunk.4EISMZ57.js} +2 -2
- package/dist/chunks/{chunk.SCGLKYNG.js → chunk.4I3BLYT3.js} +2 -2
- package/dist/chunks/{chunk.L6GEJZFX.js → chunk.4LDOYHGP.js} +2 -2
- package/dist/chunks/chunk.4QGRAV7B.js +106 -0
- package/dist/chunks/chunk.4QGRAV7B.js.map +7 -0
- package/dist/chunks/{chunk.G72MXFHF.js → chunk.53BLDIR3.js} +2 -2
- package/dist/chunks/{chunk.UNDLEHX2.js → chunk.55FLE4MA.js} +3 -3
- package/dist/chunks/{chunk.BOFG4VID.js → chunk.6EJVQBUF.js} +3 -3
- package/dist/chunks/chunk.6H7OKRBI.js +12 -0
- package/dist/chunks/chunk.6H7OKRBI.js.map +7 -0
- package/dist/chunks/{chunk.6666WCQQ.js → chunk.6O6YFUEI.js} +2 -2
- package/dist/chunks/{chunk.KKW6IPIK.js → chunk.736GPEIL.js} +2 -2
- package/dist/chunks/{chunk.I4JTI4B2.js → chunk.75BOHDZA.js} +2 -2
- package/dist/chunks/{chunk.HYBKODEA.js → chunk.7RISGAYO.js} +2 -2
- package/dist/chunks/{chunk.I6444N6Y.js → chunk.7VDN6ERV.js} +10 -10
- package/dist/chunks/{chunk.JF6VUTP3.js → chunk.7VNOOIYC.js} +2 -2
- package/dist/chunks/{chunk.AH7JXEA2.js → chunk.AE6ILTQJ.js} +9 -9
- package/dist/chunks/{chunk.AA54UMGR.js → chunk.AV56MW4Q.js} +4 -4
- package/dist/chunks/{chunk.FGLWJH52.js → chunk.AZPVT7RW.js} +2 -2
- package/dist/chunks/{chunk.IKFF3LCP.js → chunk.C7JIA555.js} +2 -2
- package/dist/chunks/{chunk.PBKGBCEY.js → chunk.CHXT3KCN.js} +2 -2
- package/dist/chunks/{chunk.UDT3BHIY.js → chunk.CJKO6DAL.js} +2 -2
- package/dist/chunks/{chunk.UH2Y55BA.js → chunk.CPXBAL2F.js} +3 -3
- package/dist/chunks/{chunk.JNCK3S26.js → chunk.CRFTU72Z.js} +2 -2
- package/dist/chunks/{chunk.QZO5TDVH.js → chunk.CSEZVUF4.js} +32 -9
- package/dist/chunks/chunk.CSEZVUF4.js.map +7 -0
- package/dist/chunks/{chunk.3OCNGMHR.js → chunk.CZTI67VV.js} +2 -2
- package/dist/chunks/{chunk.HLFSDS2W.js → chunk.DBV6HCJJ.js} +6 -6
- package/dist/chunks/{chunk.ZDGXQEWX.js → chunk.E25QPX73.js} +2 -2
- package/dist/chunks/{chunk.ZZE4YFZH.js → chunk.FIPWACII.js} +5 -5
- package/dist/chunks/{chunk.U3EYIUEM.js → chunk.GAZGPA2F.js} +10 -10
- package/dist/chunks/{chunk.QXH7H6AN.js → chunk.GGLRNP5K.js} +2 -2
- package/dist/chunks/{chunk.YAYURZHV.js → chunk.GLFJ7YL5.js} +2 -2
- package/dist/chunks/{chunk.HNULADIV.js → chunk.GQLVIX7O.js} +2 -2
- package/dist/chunks/{chunk.26HGFJIQ.js → chunk.HD6SKUEO.js} +2 -2
- package/dist/chunks/{chunk.HGGCQORF.js → chunk.HLIH2HKB.js} +2 -2
- package/dist/chunks/{chunk.FFA5NEKJ.js → chunk.HNSSPHBK.js} +2 -2
- package/dist/chunks/{chunk.WALDQS7F.js → chunk.IQZAR5EI.js} +2 -2
- package/dist/chunks/{chunk.K3VTIXSY.js → chunk.ISLXOXDE.js} +2 -2
- package/dist/chunks/{chunk.N4VVLOEJ.js → chunk.J3IQN55H.js} +2 -2
- package/dist/chunks/chunk.JAGKDSP4.js +239 -0
- package/dist/chunks/chunk.JAGKDSP4.js.map +7 -0
- package/dist/chunks/{chunk.SYCQ26JK.js → chunk.JAP2VNT6.js} +3 -3
- package/dist/chunks/{chunk.GQX42DIK.js → chunk.JV2A3TWG.js} +2 -2
- package/dist/chunks/{chunk.IT2WF33D.js → chunk.KG3J5QHR.js} +2 -2
- package/dist/chunks/{chunk.ESFHL7OW.js → chunk.KGCUGM2Z.js} +12 -12
- package/dist/chunks/{chunk.EVRCBL4M.js → chunk.KI2FCEYZ.js} +2 -2
- package/dist/chunks/{chunk.LTNA7DH6.js → chunk.KPLP6EVV.js} +2 -2
- package/dist/chunks/{chunk.PJZ7TFHA.js → chunk.KVPOEQVC.js} +9 -9
- package/dist/chunks/{chunk.JVXMHXUT.js → chunk.KYAO3CTY.js} +10 -10
- package/dist/chunks/{chunk.JLNTO45Z.js → chunk.M2CAI2MO.js} +2 -2
- package/dist/chunks/{chunk.4XCGV45H.js → chunk.MZFTXXW2.js} +2 -2
- package/dist/chunks/{chunk.NIUH3JWB.js → chunk.N4RMSKMQ.js} +2 -2
- package/dist/chunks/{chunk.OG6ZFKXJ.js → chunk.O4VQMRJR.js} +2 -2
- package/dist/chunks/{chunk.PWYE2CKN.js → chunk.OAMJGGCT.js} +2 -2
- package/dist/chunks/{chunk.EKZFQX32.js → chunk.OHWEGWF4.js} +2 -2
- package/dist/chunks/{chunk.6PJ7AOK4.js → chunk.OZETOXHV.js} +7 -7
- package/dist/chunks/{chunk.B55SP7OT.js → chunk.P67M7UQB.js} +3 -3
- package/dist/chunks/chunk.PU2BDR2W.js +144 -0
- package/dist/chunks/chunk.PU2BDR2W.js.map +7 -0
- package/dist/chunks/{chunk.4OLTKAXX.js → chunk.PYLHI2JQ.js} +7 -1
- package/dist/chunks/{chunk.4OLTKAXX.js.map → chunk.PYLHI2JQ.js.map} +1 -1
- package/dist/chunks/{chunk.7MHGXXEB.js → chunk.QGTXVFB6.js} +2 -2
- package/dist/chunks/{chunk.24P533FX.js → chunk.QVTCDV3J.js} +8 -8
- package/dist/chunks/{chunk.4BTQU7DS.js → chunk.QYDTD6WG.js} +5 -5
- package/dist/chunks/{chunk.5V2LG5C6.js → chunk.QZ6T54J3.js} +2 -2
- package/dist/chunks/{chunk.N4SL33Q2.js → chunk.R7QWGCI2.js} +6 -6
- package/dist/chunks/{chunk.E7SVB2R6.js → chunk.RR2U6KHQ.js} +3 -3
- package/dist/chunks/{chunk.25RVT6CZ.js → chunk.S5KZVOT3.js} +2 -2
- package/dist/chunks/{chunk.DV75WCZZ.js → chunk.SI2BYKSQ.js} +6 -6
- package/dist/chunks/{chunk.CMRXPLDZ.js → chunk.SJGJZXA4.js} +9 -9
- package/dist/chunks/{chunk.TXMRS4NH.js → chunk.TJXUBEVD.js} +2 -2
- package/dist/chunks/{chunk.EN4BZT55.js → chunk.U4P67MHM.js} +2 -2
- package/dist/chunks/chunk.U4P67MHM.js.map +7 -0
- package/dist/chunks/{chunk.ELQHZNNF.js → chunk.UAEJMSK4.js} +7 -7
- package/dist/chunks/{chunk.FX5EOGYW.js → chunk.UQSMSJ6Q.js} +5 -5
- package/dist/chunks/chunk.VA26EAEP.js +87 -0
- package/dist/chunks/chunk.VA26EAEP.js.map +7 -0
- package/dist/chunks/{chunk.6DRGHR6G.js → chunk.VOHHPN3L.js} +2 -2
- package/dist/chunks/{chunk.JAHDSTW6.js → chunk.VZSHXWHJ.js} +23 -23
- package/dist/chunks/chunk.VZSHXWHJ.js.map +7 -0
- package/dist/chunks/chunk.WNUZ6LH4.js +20 -0
- package/dist/chunks/chunk.WNUZ6LH4.js.map +7 -0
- package/dist/chunks/{chunk.24WTVGXH.js → chunk.WVIROKEM.js} +2 -2
- package/dist/chunks/{chunk.6FFYAZU4.js → chunk.X77TGBMQ.js} +2 -2
- package/dist/chunks/{chunk.AJE2OV62.js → chunk.X7LLNVXK.js} +5 -5
- package/dist/chunks/{chunk.GIVVS2TV.js → chunk.XRJDPVKM.js} +2 -2
- package/dist/chunks/{chunk.UJ7VV2OQ.js → chunk.XXVDV63N.js} +2 -2
- package/dist/chunks/{chunk.FEQGC6LL.js → chunk.YFMQNPFL.js} +2 -2
- package/dist/chunks/{chunk.NETSJN4U.js → chunk.YLISQ52O.js} +5 -5
- package/dist/chunks/{chunk.NDWE2XUA.js → chunk.YMU4ORBN.js} +3 -3
- package/dist/chunks/{chunk.T5EFYGGU.js → chunk.YY5B4LZ4.js} +2 -2
- package/dist/chunks/{chunk.QT3ESAPF.js → chunk.ZDKKYV7K.js} +2 -2
- package/dist/components/accordion/accordion.component.d.ts +35 -0
- package/dist/components/accordion/accordion.component.js +11 -0
- package/dist/components/accordion/accordion.component.js.map +7 -0
- package/dist/components/accordion/accordion.d.ts +8 -0
- package/dist/components/accordion/accordion.js +12 -0
- package/dist/components/accordion/accordion.js.map +7 -0
- package/dist/components/accordion/accordion.styles.d.ts +2 -0
- package/dist/components/accordion/accordion.styles.js +8 -0
- package/dist/components/accordion/accordion.styles.js.map +7 -0
- package/dist/components/alert/alert.component.js +11 -11
- package/dist/components/alert/alert.js +12 -12
- package/dist/components/badge/badge.component.js +3 -3
- package/dist/components/badge/badge.js +4 -4
- package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.js +8 -8
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +3 -3
- package/dist/components/breadcrumb-item/breadcrumb-item.js +4 -4
- package/dist/components/button/button.component.js +9 -9
- package/dist/components/button/button.js +10 -10
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +7 -7
- package/dist/components/checkbox/checkbox.js +8 -8
- package/dist/components/details/details.component.d.ts +71 -0
- package/dist/components/details/details.component.js +23 -0
- package/dist/components/details/details.component.js.map +7 -0
- package/dist/components/details/details.custom.styles.d.ts +2 -0
- package/dist/components/details/details.custom.styles.js +8 -0
- package/dist/components/details/details.custom.styles.js.map +7 -0
- package/dist/components/details/details.d.ts +14 -0
- package/dist/components/details/details.js +24 -0
- package/dist/components/details/details.js.map +7 -0
- package/dist/components/details/details.styles.d.ts +8 -0
- package/dist/components/details/details.styles.js +8 -0
- package/dist/components/details/details.styles.js.map +7 -0
- package/dist/components/dialog/dialog.component.js +10 -10
- package/dist/components/dialog/dialog.js +11 -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 +10 -10
- package/dist/components/drawer/drawer.js +11 -11
- package/dist/components/dropdown/dropdown.component.js +5 -5
- package/dist/components/dropdown/dropdown.js +6 -6
- 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-button/icon-button.component.js +6 -6
- package/dist/components/icon-button/icon-button.js +7 -7
- package/dist/components/input/input.component.js +10 -10
- package/dist/components/input/input.js +11 -11
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +11 -11
- package/dist/components/menu-item/menu-item.js +12 -12
- 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 +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 -15
- package/dist/components/prio-nav/prio-nav.js +16 -16
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/radio/radio.component.js +6 -6
- package/dist/components/radio/radio.js +7 -7
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/select/select.component.js +13 -13
- package/dist/components/select/select.js +14 -14
- package/dist/components/side-nav/side-nav.component.js +12 -12
- package/dist/components/side-nav/side-nav.js +13 -13
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/switch/switch.component.js +3 -3
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/tab/tab.component.js +8 -8
- package/dist/components/tab/tab.js +9 -9
- package/dist/components/tab-group/tab-group.component.js +9 -9
- package/dist/components/tab-group/tab-group.js +10 -10
- 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 +9 -9
- package/dist/components/tag/tag.js +10 -10
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/tooltip/tooltip.component.js +6 -6
- package/dist/components/tooltip/tooltip.js +7 -7
- package/dist/custom-elements.json +447 -1
- package/dist/styles/fouc.css +2 -0
- package/dist/styles/index.css +3 -1
- package/dist/synergy.d.ts +2 -0
- package/dist/synergy.js +134 -121
- package/dist/utilities/icon-library.js +2 -2
- package/dist/vscode.html-custom-data.json +64 -0
- package/package.json +3 -3
- package/dist/chunks/chunk.EN4BZT55.js.map +0 -7
- package/dist/chunks/chunk.JAHDSTW6.js.map +0 -7
- package/dist/chunks/chunk.QZO5TDVH.js.map +0 -7
- /package/dist/chunks/{chunk.QXWUF6OB.js.map → chunk.2HFAJGUS.js.map} +0 -0
- /package/dist/chunks/{chunk.XZTGJHD2.js.map → chunk.2IOE774F.js.map} +0 -0
- /package/dist/chunks/{chunk.ADZJXJ4U.js.map → chunk.3BSRERE5.js.map} +0 -0
- /package/dist/chunks/{chunk.NOPRJ4QH.js.map → chunk.3RCY4LPD.js.map} +0 -0
- /package/dist/chunks/{chunk.2GXD4L2M.js.map → chunk.4EISMZ57.js.map} +0 -0
- /package/dist/chunks/{chunk.SCGLKYNG.js.map → chunk.4I3BLYT3.js.map} +0 -0
- /package/dist/chunks/{chunk.L6GEJZFX.js.map → chunk.4LDOYHGP.js.map} +0 -0
- /package/dist/chunks/{chunk.G72MXFHF.js.map → chunk.53BLDIR3.js.map} +0 -0
- /package/dist/chunks/{chunk.UNDLEHX2.js.map → chunk.55FLE4MA.js.map} +0 -0
- /package/dist/chunks/{chunk.BOFG4VID.js.map → chunk.6EJVQBUF.js.map} +0 -0
- /package/dist/chunks/{chunk.6666WCQQ.js.map → chunk.6O6YFUEI.js.map} +0 -0
- /package/dist/chunks/{chunk.KKW6IPIK.js.map → chunk.736GPEIL.js.map} +0 -0
- /package/dist/chunks/{chunk.I4JTI4B2.js.map → chunk.75BOHDZA.js.map} +0 -0
- /package/dist/chunks/{chunk.HYBKODEA.js.map → chunk.7RISGAYO.js.map} +0 -0
- /package/dist/chunks/{chunk.I6444N6Y.js.map → chunk.7VDN6ERV.js.map} +0 -0
- /package/dist/chunks/{chunk.JF6VUTP3.js.map → chunk.7VNOOIYC.js.map} +0 -0
- /package/dist/chunks/{chunk.AH7JXEA2.js.map → chunk.AE6ILTQJ.js.map} +0 -0
- /package/dist/chunks/{chunk.AA54UMGR.js.map → chunk.AV56MW4Q.js.map} +0 -0
- /package/dist/chunks/{chunk.FGLWJH52.js.map → chunk.AZPVT7RW.js.map} +0 -0
- /package/dist/chunks/{chunk.IKFF3LCP.js.map → chunk.C7JIA555.js.map} +0 -0
- /package/dist/chunks/{chunk.PBKGBCEY.js.map → chunk.CHXT3KCN.js.map} +0 -0
- /package/dist/chunks/{chunk.UDT3BHIY.js.map → chunk.CJKO6DAL.js.map} +0 -0
- /package/dist/chunks/{chunk.UH2Y55BA.js.map → chunk.CPXBAL2F.js.map} +0 -0
- /package/dist/chunks/{chunk.JNCK3S26.js.map → chunk.CRFTU72Z.js.map} +0 -0
- /package/dist/chunks/{chunk.3OCNGMHR.js.map → chunk.CZTI67VV.js.map} +0 -0
- /package/dist/chunks/{chunk.HLFSDS2W.js.map → chunk.DBV6HCJJ.js.map} +0 -0
- /package/dist/chunks/{chunk.ZDGXQEWX.js.map → chunk.E25QPX73.js.map} +0 -0
- /package/dist/chunks/{chunk.ZZE4YFZH.js.map → chunk.FIPWACII.js.map} +0 -0
- /package/dist/chunks/{chunk.U3EYIUEM.js.map → chunk.GAZGPA2F.js.map} +0 -0
- /package/dist/chunks/{chunk.QXH7H6AN.js.map → chunk.GGLRNP5K.js.map} +0 -0
- /package/dist/chunks/{chunk.YAYURZHV.js.map → chunk.GLFJ7YL5.js.map} +0 -0
- /package/dist/chunks/{chunk.HNULADIV.js.map → chunk.GQLVIX7O.js.map} +0 -0
- /package/dist/chunks/{chunk.26HGFJIQ.js.map → chunk.HD6SKUEO.js.map} +0 -0
- /package/dist/chunks/{chunk.HGGCQORF.js.map → chunk.HLIH2HKB.js.map} +0 -0
- /package/dist/chunks/{chunk.FFA5NEKJ.js.map → chunk.HNSSPHBK.js.map} +0 -0
- /package/dist/chunks/{chunk.WALDQS7F.js.map → chunk.IQZAR5EI.js.map} +0 -0
- /package/dist/chunks/{chunk.K3VTIXSY.js.map → chunk.ISLXOXDE.js.map} +0 -0
- /package/dist/chunks/{chunk.N4VVLOEJ.js.map → chunk.J3IQN55H.js.map} +0 -0
- /package/dist/chunks/{chunk.SYCQ26JK.js.map → chunk.JAP2VNT6.js.map} +0 -0
- /package/dist/chunks/{chunk.GQX42DIK.js.map → chunk.JV2A3TWG.js.map} +0 -0
- /package/dist/chunks/{chunk.IT2WF33D.js.map → chunk.KG3J5QHR.js.map} +0 -0
- /package/dist/chunks/{chunk.ESFHL7OW.js.map → chunk.KGCUGM2Z.js.map} +0 -0
- /package/dist/chunks/{chunk.EVRCBL4M.js.map → chunk.KI2FCEYZ.js.map} +0 -0
- /package/dist/chunks/{chunk.LTNA7DH6.js.map → chunk.KPLP6EVV.js.map} +0 -0
- /package/dist/chunks/{chunk.PJZ7TFHA.js.map → chunk.KVPOEQVC.js.map} +0 -0
- /package/dist/chunks/{chunk.JVXMHXUT.js.map → chunk.KYAO3CTY.js.map} +0 -0
- /package/dist/chunks/{chunk.JLNTO45Z.js.map → chunk.M2CAI2MO.js.map} +0 -0
- /package/dist/chunks/{chunk.4XCGV45H.js.map → chunk.MZFTXXW2.js.map} +0 -0
- /package/dist/chunks/{chunk.NIUH3JWB.js.map → chunk.N4RMSKMQ.js.map} +0 -0
- /package/dist/chunks/{chunk.OG6ZFKXJ.js.map → chunk.O4VQMRJR.js.map} +0 -0
- /package/dist/chunks/{chunk.PWYE2CKN.js.map → chunk.OAMJGGCT.js.map} +0 -0
- /package/dist/chunks/{chunk.EKZFQX32.js.map → chunk.OHWEGWF4.js.map} +0 -0
- /package/dist/chunks/{chunk.6PJ7AOK4.js.map → chunk.OZETOXHV.js.map} +0 -0
- /package/dist/chunks/{chunk.B55SP7OT.js.map → chunk.P67M7UQB.js.map} +0 -0
- /package/dist/chunks/{chunk.7MHGXXEB.js.map → chunk.QGTXVFB6.js.map} +0 -0
- /package/dist/chunks/{chunk.24P533FX.js.map → chunk.QVTCDV3J.js.map} +0 -0
- /package/dist/chunks/{chunk.4BTQU7DS.js.map → chunk.QYDTD6WG.js.map} +0 -0
- /package/dist/chunks/{chunk.5V2LG5C6.js.map → chunk.QZ6T54J3.js.map} +0 -0
- /package/dist/chunks/{chunk.N4SL33Q2.js.map → chunk.R7QWGCI2.js.map} +0 -0
- /package/dist/chunks/{chunk.E7SVB2R6.js.map → chunk.RR2U6KHQ.js.map} +0 -0
- /package/dist/chunks/{chunk.25RVT6CZ.js.map → chunk.S5KZVOT3.js.map} +0 -0
- /package/dist/chunks/{chunk.DV75WCZZ.js.map → chunk.SI2BYKSQ.js.map} +0 -0
- /package/dist/chunks/{chunk.CMRXPLDZ.js.map → chunk.SJGJZXA4.js.map} +0 -0
- /package/dist/chunks/{chunk.TXMRS4NH.js.map → chunk.TJXUBEVD.js.map} +0 -0
- /package/dist/chunks/{chunk.ELQHZNNF.js.map → chunk.UAEJMSK4.js.map} +0 -0
- /package/dist/chunks/{chunk.FX5EOGYW.js.map → chunk.UQSMSJ6Q.js.map} +0 -0
- /package/dist/chunks/{chunk.6DRGHR6G.js.map → chunk.VOHHPN3L.js.map} +0 -0
- /package/dist/chunks/{chunk.24WTVGXH.js.map → chunk.WVIROKEM.js.map} +0 -0
- /package/dist/chunks/{chunk.6FFYAZU4.js.map → chunk.X77TGBMQ.js.map} +0 -0
- /package/dist/chunks/{chunk.AJE2OV62.js.map → chunk.X7LLNVXK.js.map} +0 -0
- /package/dist/chunks/{chunk.GIVVS2TV.js.map → chunk.XRJDPVKM.js.map} +0 -0
- /package/dist/chunks/{chunk.UJ7VV2OQ.js.map → chunk.XXVDV63N.js.map} +0 -0
- /package/dist/chunks/{chunk.FEQGC6LL.js.map → chunk.YFMQNPFL.js.map} +0 -0
- /package/dist/chunks/{chunk.NETSJN4U.js.map → chunk.YLISQ52O.js.map} +0 -0
- /package/dist/chunks/{chunk.NDWE2XUA.js.map → chunk.YMU4ORBN.js.map} +0 -0
- /package/dist/chunks/{chunk.T5EFYGGU.js.map → chunk.YY5B4LZ4.js.map} +0 -0
- /package/dist/chunks/{chunk.QT3ESAPF.js.map → chunk.ZDKKYV7K.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SynergyElement,
|
|
9
9
|
component_styles_default
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.VZSHXWHJ.js";
|
|
11
11
|
import {
|
|
12
12
|
__decorateClass
|
|
13
13
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -128,4 +128,4 @@ __decorateClass([
|
|
|
128
128
|
export {
|
|
129
129
|
SynMenu
|
|
130
130
|
};
|
|
131
|
-
//# sourceMappingURL=chunk.
|
|
131
|
+
//# sourceMappingURL=chunk.CRFTU72Z.js.map
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk.ONW45GQI.js";
|
|
4
4
|
import {
|
|
5
5
|
SynDrawer
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.2IOE774F.js";
|
|
7
7
|
import {
|
|
8
8
|
unlockBodyScrolling
|
|
9
9
|
} from "./chunk.RX7A4EQ2.js";
|
|
10
10
|
import {
|
|
11
11
|
SynDivider
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.M2CAI2MO.js";
|
|
13
13
|
import {
|
|
14
14
|
waitForEvent
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.PYLHI2JQ.js";
|
|
16
16
|
import {
|
|
17
17
|
getAnimation,
|
|
18
18
|
setAnimation,
|
|
@@ -21,16 +21,16 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
HasSlotController
|
|
23
23
|
} from "./chunk.WVVQK5TE.js";
|
|
24
|
-
import {
|
|
25
|
-
watch
|
|
26
|
-
} from "./chunk.QJMO7V5R.js";
|
|
27
24
|
import {
|
|
28
25
|
LocalizeController
|
|
29
26
|
} from "./chunk.E3KW3KQM.js";
|
|
27
|
+
import {
|
|
28
|
+
watch
|
|
29
|
+
} from "./chunk.QJMO7V5R.js";
|
|
30
30
|
import {
|
|
31
31
|
SynergyElement,
|
|
32
32
|
component_styles_default
|
|
33
|
-
} from "./chunk.
|
|
33
|
+
} from "./chunk.VZSHXWHJ.js";
|
|
34
34
|
import {
|
|
35
35
|
__decorateClass
|
|
36
36
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -50,6 +50,26 @@ var SynSideNav = class extends SynergyElement {
|
|
|
50
50
|
this.noFocusTrapping = false;
|
|
51
51
|
this.handleMouseEnter = this.handleMouseEnter.bind(this);
|
|
52
52
|
this.handleMouseLeave = this.handleMouseLeave.bind(this);
|
|
53
|
+
this.addEventListener("syn-initial-focus", (event) => {
|
|
54
|
+
if (this.rail) {
|
|
55
|
+
event.preventDefault();
|
|
56
|
+
this.drawer["originalTrigger"] = null;
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
this.addEventListener("focusin", (event) => {
|
|
60
|
+
const targetTag = event.target.tagName.toLowerCase();
|
|
61
|
+
if (targetTag === "syn-nav-item" && this.rail && !this.open) {
|
|
62
|
+
this.open = true;
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
this.addEventListener("focusout", (event) => {
|
|
66
|
+
var _a;
|
|
67
|
+
const targetTag = event.target.tagName.toLowerCase();
|
|
68
|
+
const relatedTargetTag = (_a = event.relatedTarget) == null ? void 0 : _a.tagName.toLowerCase();
|
|
69
|
+
if (targetTag === "syn-nav-item" && relatedTargetTag !== "syn-nav-item" && this.rail && this.open) {
|
|
70
|
+
this.open = false;
|
|
71
|
+
}
|
|
72
|
+
});
|
|
53
73
|
}
|
|
54
74
|
setDelayedCallback(callback) {
|
|
55
75
|
clearTimeout(this.timeout);
|
|
@@ -155,6 +175,9 @@ var SynSideNav = class extends SynergyElement {
|
|
|
155
175
|
* */
|
|
156
176
|
firstUpdated() {
|
|
157
177
|
this.setDrawerAnimations();
|
|
178
|
+
this.drawer.updateComplete.then(() => {
|
|
179
|
+
this.drawer.shadowRoot.querySelector(".drawer__panel").tabIndex = -1;
|
|
180
|
+
});
|
|
158
181
|
if (this.rail) {
|
|
159
182
|
this.drawer.updateComplete.then(() => {
|
|
160
183
|
this.addMouseListener();
|
|
@@ -195,7 +218,7 @@ var SynSideNav = class extends SynergyElement {
|
|
|
195
218
|
?open=${this.open}
|
|
196
219
|
part="drawer"
|
|
197
220
|
placement="start"
|
|
198
|
-
@syn-request-close=${this.handleRequestClose}
|
|
221
|
+
@syn-request-close=${this.handleRequestClose}
|
|
199
222
|
>
|
|
200
223
|
<div part="content-container" class="side-nav__content-container">
|
|
201
224
|
<slot part="content" ></slot>
|
|
@@ -283,4 +306,4 @@ setDefaultAnimation("sideNav.overlay.hide", {
|
|
|
283
306
|
export {
|
|
284
307
|
SynSideNav
|
|
285
308
|
};
|
|
286
|
-
//# sourceMappingURL=chunk.
|
|
309
|
+
//# sourceMappingURL=chunk.CSEZVUF4.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 } 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 { 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';\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 *\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 *\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 * @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 *\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 in non-rail mode.\n * @animation sideNav.showRail - The animation to use when showing the side-nav in rail mode.\n * @animation sideNav.hideNonRail - The animation to use when hiding the side-nav in non-rail mode.\n * @animation sideNav.hideRail - The animation to use when hiding the side-nav in rail mode.\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 */\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 };\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 if the rail attribute is set or not, the behavior will differ.\n *\n * __Non rail__:\n * With `open` will show the side-nav.\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 */\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 @property({ reflect: true, type: Boolean }) rail = false;\n\n /**\n * By default, the side-nav traps the focus if in non-rail mode 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 rail mode\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 rail mode\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 setDrawerVisibility(isVisible: boolean) {\n (this.drawer.shadowRoot!.querySelector('.drawer') as HTMLElement).hidden = !isVisible;\n this.drawer.shadowRoot!.querySelector('.drawer__panel')?.setAttribute('aria-hidden', isVisible ? 'false' : 'true');\n }\n\n private forceDrawerVisibilityForRailMode() {\n return waitForEvent(this, 'syn-after-hide').then(() => {\n this.setDrawerVisibility(true);\n this.isAnimationActive = false;\n });\n }\n\n private setDrawerAnimations() {\n const showAnimation = getAnimation(this, `sideNav.show${this.rail ? 'Rail' : 'NonRail'}`, { dir: this.localize.dir() });\n const hideAnimation = getAnimation(this, `sideNav.hide${this.rail ? 'Rail' : 'NonRail'}`, { 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('rail', { waitUntilFirstUpdate: true })\n handleModeChange() {\n this.setDrawerAnimations();\n\n if (this.rail) {\n this.addMouseListener();\n // Force drawer visibility for rail mode\n this.setDrawerVisibility(true);\n } else {\n this.removeMouseListener();\n // Remove forcing of drawer visibility for rail mode if not open\n if (!this.open) {\n this.setDrawerVisibility(false);\n }\n }\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n handleOpenChange() {\n if (this.rail) {\n this.isAnimationActive = true;\n\n if (!this.open) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.forceDrawerVisibilityForRailMode();\n } else {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n waitForEvent(this.drawer, 'syn-after-show').then(() => {\n this.isAnimationActive = false;\n });\n }\n }\n }\n\n @watch('noFocusTrapping', { waitUntilFirstUpdate: true })\n handleFocusTrapping() {\n if (!this.rail) {\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, '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, '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.rail) {\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 rail mode, closed and the focused element is a nav-item\n if (targetTag === 'syn-nav-item' && this.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 rail mode, open and the next focused element\n // is no longer a nav-item\n if (targetTag === 'syn-nav-item' && relatedTargetTag !== 'syn-nav-item' && this.rail && this.open) {\n this.open = false;\n }\n });\n }\n\n /**\n * Initial setup for first render like special rail mode handling 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 // 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 if (this.rail) {\n // Wait for the drawer`s update to be completed\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.drawer.updateComplete.then(() => {\n this.addMouseListener();\n // set initial visibility of drawer for rail mode\n this.setDrawerVisibility(true);\n });\n } else if (this.noFocusTrapping) {\n // Disable the focus trapping of the modal\n this.drawer.modal.activateExternal();\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n\n // Remove modal listeners\n unlockBodyScrolling(this.drawer);\n this.drawer.modal.deactivate();\n }\n\n render() {\n const isTouch = window.navigator.maxTouchPoints > 0 || !!('ontouchstart' in window);\n const hasFooter = this.hasSlotController.test('footer');\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.rail,\n 'side-nav--has-footer': hasFooter,\n 'side-nav--open': this.open,\n 'side-nav--rail': this.rail,\n 'side-nav--touch': isTouch,\n })}\n part=\"base\"\n >\n \n <syn-drawer\n class=\"side-nav__drawer\"\n ?contained=${this.rail}\n exportparts=\"overlay\"\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 ${hasFooter ? html`<syn-divider part=\"footer-divider\" class=\"side-nav__footer-divider\"></syn-divider>` : ''}\n <slot name=\"footer\" part=\"footer\" ></slot> \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;AAyDvC,IAAqB,aAArB,cAAwC,eAAe;AAAA,EAwLrD,cAAc;AACZ,UAAM;AAjLR,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,QAAQ;AAEtF,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAO9C,SAAQ,oBAAoB;AAwBO,gBAAO;AAUP,gBAAO;AAMyB,2BAAkB;AAiI5F,SAAK,mBAAmB,KAAK,iBAAiB,KAAK,IAAI;AACvD,SAAK,mBAAmB,KAAK,iBAAiB,KAAK,IAAI;AACvD,SAAK,iBAAiB,qBAAqB,CAAC,UAAU;AACpD,UAAI,KAAK,MAAM;AAEb,cAAM,eAAe;AAKrB,aAAK,OAAO,iBAAiB,IAAI;AAAA,MACnC;AAAA,IACF,CAAC;AAED,SAAK,iBAAiB,WAAW,CAAC,UAAU;AAC1C,YAAM,YAAa,MAAM,OAAuB,QAAQ,YAAY;AAEpE,UAAI,cAAc,kBAAkB,KAAK,QAAQ,CAAC,KAAK,MAAM;AAC3D,aAAK,OAAO;AAAA,MACd;AAAA,IACF,CAAC;AAED,SAAK,iBAAiB,YAAY,CAAC,UAAU;AA7QjD;AA8QM,YAAM,YAAa,MAAM,OAAuB,QAAQ,Y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AC3C,CAAC;AAED,oBAAoB,uBAAuB;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
|
SynButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.QVTCDV3J.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.CZTI67VV.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
tag_custom_styles_default
|
|
3
|
-
} from "./chunk.B6R3IVGO.js";
|
|
4
1
|
import {
|
|
5
2
|
tag_styles_default
|
|
6
3
|
} from "./chunk.6EPU7YUS.js";
|
|
4
|
+
import {
|
|
5
|
+
tag_custom_styles_default
|
|
6
|
+
} from "./chunk.B6R3IVGO.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIconButton
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.55FLE4MA.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
12
|
} from "./chunk.E3KW3KQM.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement,
|
|
15
15
|
component_styles_default
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.VZSHXWHJ.js";
|
|
17
17
|
import {
|
|
18
18
|
__decorateClass
|
|
19
19
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -76,4 +76,4 @@ __decorateClass([
|
|
|
76
76
|
export {
|
|
77
77
|
SynTag
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=chunk.
|
|
79
|
+
//# sourceMappingURL=chunk.DBV6HCJJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynPopup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.CJKO6DAL.js";
|
|
4
4
|
|
|
5
5
|
// src/components/popup/popup.ts
|
|
6
6
|
var popup_default = SynPopup;
|
|
@@ -9,4 +9,4 @@ SynPopup.define("syn-popup");
|
|
|
9
9
|
export {
|
|
10
10
|
popup_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.E25QPX73.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
breadcrumb_item_styles_default
|
|
3
|
-
} from "./chunk.O6ZH6AOI.js";
|
|
4
1
|
import {
|
|
5
2
|
breadcrumb_item_custom_styles_default
|
|
6
3
|
} from "./chunk.NGIGPLN2.js";
|
|
4
|
+
import {
|
|
5
|
+
breadcrumb_item_styles_default
|
|
6
|
+
} from "./chunk.O6ZH6AOI.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.WVVQK5TE.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement,
|
|
15
15
|
component_styles_default
|
|
16
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.VZSHXWHJ.js";
|
|
17
17
|
import {
|
|
18
18
|
__decorateClass
|
|
19
19
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -111,4 +111,4 @@ __decorateClass([
|
|
|
111
111
|
export {
|
|
112
112
|
SynBreadcrumbItem
|
|
113
113
|
};
|
|
114
|
-
//# sourceMappingURL=chunk.
|
|
114
|
+
//# sourceMappingURL=chunk.FIPWACII.js.map
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
tooltip_custom_styles_default
|
|
3
|
-
} from "./chunk.4X3HY2V5.js";
|
|
4
1
|
import {
|
|
5
2
|
tooltip_styles_default
|
|
6
3
|
} from "./chunk.3YMWLLPP.js";
|
|
4
|
+
import {
|
|
5
|
+
tooltip_custom_styles_default
|
|
6
|
+
} from "./chunk.4X3HY2V5.js";
|
|
7
7
|
import {
|
|
8
8
|
SynPopup
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.CJKO6DAL.js";
|
|
10
10
|
import {
|
|
11
11
|
animateTo,
|
|
12
12
|
parseDuration,
|
|
13
13
|
stopAnimations,
|
|
14
14
|
waitForEvent
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.PYLHI2JQ.js";
|
|
16
16
|
import {
|
|
17
17
|
getAnimation,
|
|
18
18
|
setDefaultAnimation
|
|
19
19
|
} from "./chunk.MSUX23ZJ.js";
|
|
20
|
-
import {
|
|
21
|
-
watch
|
|
22
|
-
} from "./chunk.QJMO7V5R.js";
|
|
23
20
|
import {
|
|
24
21
|
LocalizeController
|
|
25
22
|
} from "./chunk.E3KW3KQM.js";
|
|
23
|
+
import {
|
|
24
|
+
watch
|
|
25
|
+
} from "./chunk.QJMO7V5R.js";
|
|
26
26
|
import {
|
|
27
27
|
SynergyElement,
|
|
28
28
|
component_styles_default
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.VZSHXWHJ.js";
|
|
30
30
|
import {
|
|
31
31
|
__decorateClass
|
|
32
32
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -270,4 +270,4 @@ setDefaultAnimation("tooltip.hide", {
|
|
|
270
270
|
export {
|
|
271
271
|
SynTooltip
|
|
272
272
|
};
|
|
273
|
-
//# sourceMappingURL=chunk.
|
|
273
|
+
//# sourceMappingURL=chunk.GAZGPA2F.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDrawer
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2IOE774F.js";
|
|
4
4
|
|
|
5
5
|
// src/components/drawer/drawer.ts
|
|
6
6
|
var drawer_default = SynDrawer;
|
|
@@ -9,4 +9,4 @@ SynDrawer.define("syn-drawer");
|
|
|
9
9
|
export {
|
|
10
10
|
drawer_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.GGLRNP5K.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.VZSHXWHJ.js";
|
|
14
14
|
|
|
15
15
|
// src/components/spinner/spinner.component.ts
|
|
16
16
|
import { html } from "lit";
|
|
@@ -33,4 +33,4 @@ SynSpinner.styles = [component_styles_default, spinner_styles_default, spinner_c
|
|
|
33
33
|
export {
|
|
34
34
|
SynSpinner
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk.
|
|
36
|
+
//# sourceMappingURL=chunk.GLFJ7YL5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynAlert
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.7VDN6ERV.js";
|
|
4
4
|
|
|
5
5
|
// src/components/alert/alert.ts
|
|
6
6
|
var alert_default = SynAlert;
|
|
@@ -9,4 +9,4 @@ SynAlert.define("syn-alert");
|
|
|
9
9
|
export {
|
|
10
10
|
alert_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.GQLVIX7O.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenu
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.CRFTU72Z.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.HD6SKUEO.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement,
|
|
12
12
|
component_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.VZSHXWHJ.js";
|
|
14
14
|
import {
|
|
15
15
|
__decorateClass
|
|
16
16
|
} from "./chunk.QNDC5KWA.js";
|
|
@@ -62,4 +62,4 @@ __decorateClass([
|
|
|
62
62
|
export {
|
|
63
63
|
SynTabPanel
|
|
64
64
|
};
|
|
65
|
-
//# sourceMappingURL=chunk.
|
|
65
|
+
//# sourceMappingURL=chunk.HLIH2HKB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButtonGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.WVIROKEM.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.HNSSPHBK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenuLabel
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.6EJVQBUF.js";
|
|
4
4
|
|
|
5
5
|
// src/components/menu-label/menu-label.ts
|
|
6
6
|
var menu_label_default = SynMenuLabel;
|
|
@@ -9,4 +9,4 @@ SynMenuLabel.define("syn-menu-label");
|
|
|
9
9
|
export {
|
|
10
10
|
menu_label_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.IQZAR5EI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadio
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.P67M7UQB.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio/radio.ts
|
|
6
6
|
var radio_default = SynRadio;
|
|
@@ -9,4 +9,4 @@ SynRadio.define("syn-radio");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.ISLXOXDE.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
SynergyElement,
|
|
25
25
|
component_styles_default
|
|
26
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.VZSHXWHJ.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.J3IQN55H.js.map
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import {
|
|
2
|
+
details_custom_styles_default
|
|
3
|
+
} from "./chunk.PU2BDR2W.js";
|
|
4
|
+
import {
|
|
5
|
+
details_styles_default
|
|
6
|
+
} from "./chunk.VA26EAEP.js";
|
|
7
|
+
import {
|
|
8
|
+
animateTo,
|
|
9
|
+
shimKeyframesHeightAuto,
|
|
10
|
+
stopAnimations,
|
|
11
|
+
waitForEvent
|
|
12
|
+
} from "./chunk.PYLHI2JQ.js";
|
|
13
|
+
import {
|
|
14
|
+
getAnimation,
|
|
15
|
+
setDefaultAnimation
|
|
16
|
+
} from "./chunk.MSUX23ZJ.js";
|
|
17
|
+
import {
|
|
18
|
+
SynIcon
|
|
19
|
+
} from "./chunk.YMU4ORBN.js";
|
|
20
|
+
import {
|
|
21
|
+
LocalizeController
|
|
22
|
+
} from "./chunk.E3KW3KQM.js";
|
|
23
|
+
import {
|
|
24
|
+
watch
|
|
25
|
+
} from "./chunk.QJMO7V5R.js";
|
|
26
|
+
import {
|
|
27
|
+
SynergyElement,
|
|
28
|
+
component_styles_default
|
|
29
|
+
} from "./chunk.VZSHXWHJ.js";
|
|
30
|
+
import {
|
|
31
|
+
__decorateClass
|
|
32
|
+
} from "./chunk.QNDC5KWA.js";
|
|
33
|
+
|
|
34
|
+
// src/components/details/details.component.ts
|
|
35
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
36
|
+
import { html } from "lit";
|
|
37
|
+
import { property, query } from "lit/decorators.js";
|
|
38
|
+
var SynDetails = class extends SynergyElement {
|
|
39
|
+
constructor() {
|
|
40
|
+
super(...arguments);
|
|
41
|
+
this.localize = new LocalizeController(this);
|
|
42
|
+
this.open = false;
|
|
43
|
+
this.disabled = false;
|
|
44
|
+
this.contained = false;
|
|
45
|
+
this.size = "medium";
|
|
46
|
+
}
|
|
47
|
+
firstUpdated() {
|
|
48
|
+
this.body.style.height = this.open ? "auto" : "0";
|
|
49
|
+
if (this.open) {
|
|
50
|
+
this.details.open = true;
|
|
51
|
+
}
|
|
52
|
+
this.detailsObserver = new MutationObserver((changes) => {
|
|
53
|
+
for (const change of changes) {
|
|
54
|
+
if (change.type === "attributes" && change.attributeName === "open") {
|
|
55
|
+
if (this.details.open) {
|
|
56
|
+
this.show();
|
|
57
|
+
} else {
|
|
58
|
+
this.hide();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
this.detailsObserver.observe(this.details, { attributes: true });
|
|
64
|
+
}
|
|
65
|
+
disconnectedCallback() {
|
|
66
|
+
super.disconnectedCallback();
|
|
67
|
+
this.detailsObserver.disconnect();
|
|
68
|
+
}
|
|
69
|
+
handleSummaryClick(event) {
|
|
70
|
+
event.preventDefault();
|
|
71
|
+
if (!this.disabled) {
|
|
72
|
+
if (this.open) {
|
|
73
|
+
this.hide();
|
|
74
|
+
} else {
|
|
75
|
+
this.show();
|
|
76
|
+
}
|
|
77
|
+
this.header.focus();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
handleSummaryKeyDown(event) {
|
|
81
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
82
|
+
event.preventDefault();
|
|
83
|
+
if (this.open) {
|
|
84
|
+
this.hide();
|
|
85
|
+
} else {
|
|
86
|
+
this.show();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
if (event.key === "ArrowUp" || event.key === "ArrowLeft") {
|
|
90
|
+
event.preventDefault();
|
|
91
|
+
this.hide();
|
|
92
|
+
}
|
|
93
|
+
if (event.key === "ArrowDown" || event.key === "ArrowRight") {
|
|
94
|
+
event.preventDefault();
|
|
95
|
+
this.show();
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
async handleOpenChange() {
|
|
99
|
+
if (this.open) {
|
|
100
|
+
this.details.open = true;
|
|
101
|
+
const slShow = this.emit("syn-show", { cancelable: true });
|
|
102
|
+
if (slShow.defaultPrevented) {
|
|
103
|
+
this.open = false;
|
|
104
|
+
this.details.open = false;
|
|
105
|
+
return;
|
|
106
|
+
}
|
|
107
|
+
await stopAnimations(this.body);
|
|
108
|
+
const { keyframes, options } = getAnimation(this, "details.show", { dir: this.localize.dir() });
|
|
109
|
+
await animateTo(this.body, shimKeyframesHeightAuto(keyframes, this.body.scrollHeight), options);
|
|
110
|
+
this.body.style.height = "auto";
|
|
111
|
+
this.emit("syn-after-show");
|
|
112
|
+
} else {
|
|
113
|
+
const slHide = this.emit("syn-hide", { cancelable: true });
|
|
114
|
+
if (slHide.defaultPrevented) {
|
|
115
|
+
this.details.open = true;
|
|
116
|
+
this.open = true;
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
await stopAnimations(this.body);
|
|
120
|
+
const { keyframes, options } = getAnimation(this, "details.hide", { dir: this.localize.dir() });
|
|
121
|
+
await animateTo(this.body, shimKeyframesHeightAuto(keyframes, this.body.scrollHeight), options);
|
|
122
|
+
this.body.style.height = "auto";
|
|
123
|
+
this.details.open = false;
|
|
124
|
+
this.emit("syn-after-hide");
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
/** Shows the details. */
|
|
128
|
+
async show() {
|
|
129
|
+
if (this.open || this.disabled) {
|
|
130
|
+
return void 0;
|
|
131
|
+
}
|
|
132
|
+
this.open = true;
|
|
133
|
+
return waitForEvent(this, "syn-after-show");
|
|
134
|
+
}
|
|
135
|
+
/** Hides the details */
|
|
136
|
+
async hide() {
|
|
137
|
+
if (!this.open || this.disabled) {
|
|
138
|
+
return void 0;
|
|
139
|
+
}
|
|
140
|
+
this.open = false;
|
|
141
|
+
return waitForEvent(this, "syn-after-hide");
|
|
142
|
+
}
|
|
143
|
+
render() {
|
|
144
|
+
return html`
|
|
145
|
+
<details
|
|
146
|
+
part="base"
|
|
147
|
+
class=${classMap({
|
|
148
|
+
details: true,
|
|
149
|
+
"details--size-medium": this.size === "medium",
|
|
150
|
+
"details--size-large": this.size === "large",
|
|
151
|
+
"details--open": this.open,
|
|
152
|
+
"details--disabled": this.disabled,
|
|
153
|
+
"details--contained": this.contained
|
|
154
|
+
})}
|
|
155
|
+
>
|
|
156
|
+
<summary
|
|
157
|
+
part="header"
|
|
158
|
+
id="header"
|
|
159
|
+
class="details__header"
|
|
160
|
+
role="button"
|
|
161
|
+
aria-expanded=${this.open ? "true" : "false"}
|
|
162
|
+
aria-controls="content"
|
|
163
|
+
aria-disabled=${this.disabled ? "true" : "false"}
|
|
164
|
+
tabindex=${this.disabled ? "-1" : "0"}
|
|
165
|
+
@click=${this.handleSummaryClick}
|
|
166
|
+
@keydown=${this.handleSummaryKeyDown}
|
|
167
|
+
>
|
|
168
|
+
<slot name="summary" part="summary" class="details__summary">${this.summary}</slot>
|
|
169
|
+
|
|
170
|
+
<span part="summary-icon" class="details__summary-icon">
|
|
171
|
+
<slot name="expand-icon">
|
|
172
|
+
<syn-icon library="system" name="chevron-down"></syn-icon>
|
|
173
|
+
</slot>
|
|
174
|
+
<slot name="collapse-icon">
|
|
175
|
+
<syn-icon library="system" name="chevron-down"></syn-icon>
|
|
176
|
+
</slot>
|
|
177
|
+
</span>
|
|
178
|
+
</summary>
|
|
179
|
+
|
|
180
|
+
<div class="details__body" role="region" aria-labelledby="header">
|
|
181
|
+
<slot part="content" id="content" class="details__content"></slot>
|
|
182
|
+
</div>
|
|
183
|
+
</details>
|
|
184
|
+
`;
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
SynDetails.styles = [component_styles_default, details_styles_default, details_custom_styles_default];
|
|
188
|
+
SynDetails.dependencies = {
|
|
189
|
+
"syn-icon": SynIcon
|
|
190
|
+
};
|
|
191
|
+
__decorateClass([
|
|
192
|
+
query(".details")
|
|
193
|
+
], SynDetails.prototype, "details", 2);
|
|
194
|
+
__decorateClass([
|
|
195
|
+
query(".details__header")
|
|
196
|
+
], SynDetails.prototype, "header", 2);
|
|
197
|
+
__decorateClass([
|
|
198
|
+
query(".details__body")
|
|
199
|
+
], SynDetails.prototype, "body", 2);
|
|
200
|
+
__decorateClass([
|
|
201
|
+
query(".details__expand-icon-slot")
|
|
202
|
+
], SynDetails.prototype, "expandIconSlot", 2);
|
|
203
|
+
__decorateClass([
|
|
204
|
+
property({ type: Boolean, reflect: true })
|
|
205
|
+
], SynDetails.prototype, "open", 2);
|
|
206
|
+
__decorateClass([
|
|
207
|
+
property()
|
|
208
|
+
], SynDetails.prototype, "summary", 2);
|
|
209
|
+
__decorateClass([
|
|
210
|
+
property({ type: Boolean, reflect: true })
|
|
211
|
+
], SynDetails.prototype, "disabled", 2);
|
|
212
|
+
__decorateClass([
|
|
213
|
+
property({ type: Boolean, reflect: true })
|
|
214
|
+
], SynDetails.prototype, "contained", 2);
|
|
215
|
+
__decorateClass([
|
|
216
|
+
property({ reflect: true })
|
|
217
|
+
], SynDetails.prototype, "size", 2);
|
|
218
|
+
__decorateClass([
|
|
219
|
+
watch("open", { waitUntilFirstUpdate: true })
|
|
220
|
+
], SynDetails.prototype, "handleOpenChange", 1);
|
|
221
|
+
setDefaultAnimation("details.show", {
|
|
222
|
+
keyframes: [
|
|
223
|
+
{ height: "0", opacity: "0" },
|
|
224
|
+
{ height: "auto", opacity: "1" }
|
|
225
|
+
],
|
|
226
|
+
options: { duration: 250, easing: "linear" }
|
|
227
|
+
});
|
|
228
|
+
setDefaultAnimation("details.hide", {
|
|
229
|
+
keyframes: [
|
|
230
|
+
{ height: "auto", opacity: "1" },
|
|
231
|
+
{ height: "0", opacity: "0" }
|
|
232
|
+
],
|
|
233
|
+
options: { duration: 250, easing: "linear" }
|
|
234
|
+
});
|
|
235
|
+
|
|
236
|
+
export {
|
|
237
|
+
SynDetails
|
|
238
|
+
};
|
|
239
|
+
//# sourceMappingURL=chunk.JAGKDSP4.js.map
|