@synergy-design-system/components 3.15.4 → 3.15.6
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.NBYMQKQ4.js → chunk.2QN5VSUR.js} +2 -2
- package/dist/chunks/{chunk.M4FKK4H7.js → chunk.34QJZAQN.js} +2 -2
- package/dist/chunks/{chunk.Y46MLFHY.js → chunk.37IHP7BG.js} +3 -3
- package/dist/chunks/{chunk.JQJHZS4G.js → chunk.3CMROAAL.js} +2 -2
- package/dist/chunks/{chunk.6CIB6PSW.js → chunk.3L5FDCMH.js} +2 -2
- package/dist/chunks/{chunk.E7RRUMEX.js → chunk.45YNTYOZ.js} +3 -3
- package/dist/chunks/{chunk.LA67OWZY.js → chunk.46TEDXXN.js} +2 -2
- package/dist/chunks/{chunk.4MG3QDNW.js → chunk.4I2RJVH5.js} +2 -2
- package/dist/chunks/{chunk.T2FPHORT.js → chunk.4JVC2VNF.js} +2 -2
- package/dist/chunks/{chunk.YNMWBENS.js → chunk.4LPRLZEC.js} +2 -2
- package/dist/chunks/{chunk.QY26WHBP.js → chunk.4ZOCSXH4.js} +2 -2
- package/dist/chunks/{chunk.6VCFWFXG.js → chunk.57ZNNVJD.js} +2 -2
- package/dist/chunks/{chunk.73Z3FWPL.js → chunk.5RQIZU45.js} +5 -5
- package/dist/chunks/{chunk.DJUGIJOA.js → chunk.63JBLXCM.js} +2 -2
- package/dist/chunks/{chunk.W5JD45AC.js → chunk.6HU2H2VB.js} +4 -4
- package/dist/chunks/{chunk.IRQSCGKR.js → chunk.6JICRYLR.js} +4 -4
- package/dist/chunks/{chunk.WGV34FQN.js → chunk.7ATQA6CZ.js} +2 -2
- package/dist/chunks/{chunk.WL3IXJNI.js → chunk.7YCUXELV.js} +2 -2
- package/dist/chunks/{chunk.WL3IXJNI.js.map → chunk.7YCUXELV.js.map} +1 -1
- package/dist/chunks/{chunk.JERRHSUK.js → chunk.ABM67XAL.js} +2 -2
- package/dist/chunks/{chunk.OSIAWGVN.js → chunk.AE5NBH2R.js} +5 -5
- package/dist/chunks/{chunk.RQZY3CBD.js → chunk.ALNYXBZ2.js} +2 -2
- package/dist/chunks/{chunk.3DR4P2UN.js → chunk.B6F4Q4IT.js} +2 -2
- package/dist/chunks/{chunk.43AHNKUF.js → chunk.BCMKX2J2.js} +3 -3
- package/dist/chunks/{chunk.6QXHWMR4.js → chunk.BIAOZFHY.js} +2 -2
- package/dist/chunks/{chunk.3PJ3OMJ3.js → chunk.BJ2R6HWM.js} +3 -3
- package/dist/chunks/{chunk.UNS2UR34.js → chunk.CV7FE336.js} +2 -2
- package/dist/chunks/{chunk.XOYRT5AB.js → chunk.D46C67S6.js} +2 -2
- package/dist/chunks/{chunk.PD5ZCLS3.js → chunk.DCV2TIY6.js} +2 -2
- package/dist/chunks/{chunk.PZQBCZXZ.js → chunk.DHUFRPXN.js} +2 -2
- package/dist/chunks/{chunk.O2VECB5Y.js → chunk.DJIAGYRX.js} +2 -2
- package/dist/chunks/{chunk.4UTEZFEQ.js → chunk.DSKV4JMN.js} +2 -2
- package/dist/chunks/{chunk.PBYUHFNB.js → chunk.DVMSDDLB.js} +2 -2
- package/dist/chunks/{chunk.MVGHT5N5.js → chunk.EFGAZQFG.js} +3 -3
- package/dist/chunks/{chunk.PTB2RAAZ.js → chunk.EGTAKQAU.js} +6 -6
- package/dist/chunks/{chunk.ABRAUA2P.js → chunk.EKFYOO45.js} +5 -5
- package/dist/chunks/{chunk.UD4HUYDT.js → chunk.FAK2KFOB.js} +6 -6
- package/dist/chunks/{chunk.KP7I46YT.js → chunk.FMRXZ25K.js} +2 -2
- package/dist/chunks/{chunk.VYBZVRVF.js → chunk.GFYYLBC7.js} +2 -2
- package/dist/chunks/{chunk.SQNDHZWV.js → chunk.GUW23JPZ.js} +4 -4
- package/dist/chunks/{chunk.VK35CL2X.js → chunk.GYOIJQKN.js} +3 -3
- package/dist/chunks/{chunk.LOYQRLBZ.js → chunk.H6Y2KI6V.js} +12 -13
- package/dist/chunks/chunk.H6Y2KI6V.js.map +7 -0
- package/dist/chunks/{chunk.YCTZ7J4B.js → chunk.HOKJ5BFL.js} +2 -2
- package/dist/chunks/{chunk.GBB34Y74.js → chunk.HQQIVH2S.js} +2 -2
- package/dist/chunks/{chunk.EX43UAEY.js → chunk.HRXQKMTA.js} +3 -3
- package/dist/chunks/{chunk.MPJ2QALZ.js → chunk.HUJAKIZN.js} +2 -2
- package/dist/chunks/{chunk.MPJ2QALZ.js.map → chunk.HUJAKIZN.js.map} +1 -1
- package/dist/chunks/{chunk.3TPF3YOJ.js → chunk.I6PP4QSQ.js} +2 -2
- package/dist/chunks/{chunk.N2EW6GUY.js → chunk.IHAFPHVS.js} +2 -2
- package/dist/chunks/{chunk.AF4B7YYE.js → chunk.IIRPZ642.js} +5 -5
- package/dist/chunks/{chunk.B2YV7MIT.js → chunk.IRQYNSLA.js} +2 -2
- package/dist/chunks/{chunk.JBEKP3MA.js → chunk.IWWZ7NR4.js} +2 -2
- package/dist/chunks/{chunk.IXNVXYKT.js → chunk.JDCUCXJ5.js} +2 -2
- package/dist/chunks/{chunk.TVMK25Y5.js → chunk.JIKFLM23.js} +2 -2
- package/dist/chunks/{chunk.6I6VY3WS.js → chunk.JNI24XE2.js} +2 -2
- package/dist/chunks/{chunk.T5NQSBIU.js → chunk.JVCAQIXF.js} +2 -2
- package/dist/chunks/{chunk.P4JFVVSO.js → chunk.KR45AFAB.js} +11 -2
- package/dist/chunks/chunk.KR45AFAB.js.map +7 -0
- package/dist/chunks/{chunk.TVS4L3HC.js → chunk.KVYYFM4V.js} +3 -3
- package/dist/chunks/{chunk.27OB5Z7J.js → chunk.L7EEUWC6.js} +4 -4
- package/dist/chunks/{chunk.VDBD6G4Q.js → chunk.MQFQLLZE.js} +4 -15
- package/dist/chunks/{chunk.VDBD6G4Q.js.map → chunk.MQFQLLZE.js.map} +2 -2
- package/dist/chunks/{chunk.ULOBL642.js → chunk.MTETA3HA.js} +2 -2
- package/dist/chunks/{chunk.W46WQKWL.js → chunk.MWEJ7CGR.js} +2 -2
- package/dist/chunks/{chunk.TVOWBITV.js → chunk.N3B52ZU7.js} +3 -3
- package/dist/chunks/{chunk.CVJOHPVN.js → chunk.NL2IOCPJ.js} +4 -4
- package/dist/chunks/{chunk.UQCGZEKS.js → chunk.O5HRNZ2W.js} +4 -4
- package/dist/chunks/{chunk.DRENFZZA.js → chunk.OBX7SKFS.js} +4 -4
- package/dist/chunks/{chunk.D5J3W5DU.js → chunk.OGRJ4HV7.js} +2 -2
- package/dist/chunks/{chunk.OD4GJZWM.js → chunk.OLTM5MWQ.js} +3 -3
- package/dist/chunks/{chunk.D4QV2RCS.js → chunk.OZPSZV3Z.js} +2 -2
- package/dist/chunks/{chunk.267EOHJM.js → chunk.PIC3MEDG.js} +5 -5
- package/dist/chunks/{chunk.6BA6OE7I.js → chunk.PIFYONLO.js} +2 -2
- package/dist/chunks/{chunk.OY7AUQPS.js → chunk.PLL33BFP.js} +2 -2
- package/dist/chunks/{chunk.QU6TBEV5.js → chunk.PNA52HT2.js} +4 -4
- package/dist/chunks/{chunk.TO24E2BV.js → chunk.PY4T4VWD.js} +2 -2
- package/dist/chunks/{chunk.AIFANC6W.js → chunk.Q7B6OCSA.js} +7 -7
- package/dist/chunks/{chunk.R3SMKUIL.js → chunk.QCHIEOZ2.js} +32 -11
- package/dist/chunks/chunk.QCHIEOZ2.js.map +7 -0
- package/dist/chunks/{chunk.B6GODDET.js → chunk.QEY3KSN5.js} +4 -4
- package/dist/chunks/{chunk.QSBGVJAV.js → chunk.QKATJHEP.js} +2 -2
- package/dist/chunks/{chunk.UORFJFA2.js → chunk.QKD2Z4MN.js} +48 -49
- package/dist/chunks/chunk.QKD2Z4MN.js.map +7 -0
- package/dist/chunks/{chunk.7WU4T3CK.js → chunk.QMEHL7N7.js} +2 -2
- package/dist/chunks/{chunk.CQ46LXUP.js → chunk.QYOAPG3L.js} +2 -2
- package/dist/chunks/{chunk.I2RODYKO.js → chunk.R3SBAYOR.js} +3 -3
- package/dist/chunks/{chunk.HH5E6L7D.js → chunk.RMW7EMAA.js} +3 -3
- package/dist/chunks/{chunk.LNGDI26E.js → chunk.S2WBFFGA.js} +2 -2
- package/dist/chunks/{chunk.IHVCWV2N.js → chunk.SAPWH62I.js} +2 -2
- package/dist/chunks/{chunk.ZTHIOBJX.js → chunk.SFBN63ZC.js} +2 -2
- package/dist/chunks/{chunk.QVTWOSMA.js → chunk.SFXYATZT.js} +2 -2
- package/dist/chunks/{chunk.ADR7A6NU.js → chunk.SRI62J7K.js} +2 -2
- package/dist/chunks/{chunk.YUI2CVNB.js → chunk.T5DDTXF3.js} +2 -2
- package/dist/chunks/{chunk.R2B62JOW.js → chunk.THFDFDHY.js} +2 -2
- package/dist/chunks/{chunk.MG6X5MYV.js → chunk.TMXDTUP5.js} +2 -2
- package/dist/chunks/{chunk.SGMHHYFF.js → chunk.TSZKR2LS.js} +2 -2
- package/dist/chunks/{chunk.KDGRKMPC.js → chunk.US6QVDON.js} +2 -2
- package/dist/chunks/{chunk.JWAE5WKX.js → chunk.USRVA3FU.js} +2 -2
- package/dist/chunks/{chunk.JVFLTPYY.js → chunk.VBPZVGXH.js} +4 -4
- package/dist/chunks/{chunk.D3X5C4XA.js → chunk.VZ4IFLE2.js} +2 -2
- package/dist/chunks/{chunk.6S5LBERK.js → chunk.W4V4LBQ5.js} +2 -2
- package/dist/chunks/chunk.W4V4LBQ5.js.map +7 -0
- package/dist/chunks/{chunk.EJM5ADI2.js → chunk.WEETV3PK.js} +2 -2
- package/dist/chunks/{chunk.OOEOZE2L.js → chunk.WVGOSRRS.js} +6 -6
- package/dist/chunks/{chunk.OTUE6RD7.js → chunk.WYNCUNIG.js} +7 -7
- package/dist/chunks/{chunk.JACBJA4R.js → chunk.X2LZUY3L.js} +2 -2
- package/dist/chunks/{chunk.NH2A6SYT.js → chunk.XW5QFTOG.js} +2 -2
- package/dist/chunks/{chunk.56YVKBWT.js → chunk.YNZSF3FC.js} +3 -3
- package/dist/chunks/{chunk.AZAEJIOY.js → chunk.Z4QAGMQF.js} +4 -4
- package/dist/chunks/{chunk.JCMXLHX4.js → chunk.ZE5BLQVJ.js} +6 -9
- package/dist/chunks/chunk.ZE5BLQVJ.js.map +7 -0
- package/dist/chunks/{chunk.AOL6LJRI.js → chunk.ZIUT6HDC.js} +4 -4
- package/dist/chunks/{chunk.QZBZKP3E.js → chunk.ZT5YMF6W.js} +8 -8
- package/dist/chunks/{chunk.BHCQIO4A.js → chunk.ZXCY3EPJ.js} +4 -4
- package/dist/chunks/{chunk.GCYVVS3D.js → chunk.ZZ36JHKP.js} +2 -2
- package/dist/components/accordion/accordion.component.js +5 -5
- package/dist/components/accordion/accordion.js +6 -6
- package/dist/components/alert/alert.component.js +7 -7
- package/dist/components/alert/alert.js +8 -8
- package/dist/components/badge/badge.component.js +5 -5
- package/dist/components/badge/badge.js +6 -6
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- 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 +7 -7
- package/dist/components/button/button.js +8 -8
- package/dist/components/button-group/button-group.component.js +5 -5
- package/dist/components/button-group/button-group.js +6 -6
- package/dist/components/card/card.component.d.ts +1 -1
- package/dist/components/card/card.component.js +3 -4
- package/dist/components/card/card.js +4 -5
- package/dist/components/card/card.styles.js +1 -1
- package/dist/components/chart/chart.component.js +2 -2
- package/dist/components/chart/chart.js +2 -2
- package/dist/components/checkbox/checkbox.component.js +6 -6
- package/dist/components/checkbox/checkbox.js +7 -7
- package/dist/components/combobox/combobox.component.js +10 -10
- package/dist/components/combobox/combobox.js +11 -11
- package/dist/components/details/details.component.js +6 -6
- package/dist/components/details/details.js +7 -7
- package/dist/components/dialog/dialog.component.js +9 -9
- package/dist/components/dialog/dialog.js +10 -10
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +9 -10
- package/dist/components/drawer/drawer.js +10 -11
- package/dist/components/drawer/drawer.styles.js +1 -1
- package/dist/components/dropdown/dropdown.component.js +3 -3
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/file/file.component.js +8 -8
- package/dist/components/file/file.js +9 -9
- package/dist/components/header/header.component.js +4 -4
- package/dist/components/header/header.js +5 -5
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- 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 +7 -7
- package/dist/components/input/input.js +8 -8
- 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 +5 -5
- package/dist/components/menu-item/menu-item.js +6 -6
- 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 +4 -4
- package/dist/components/nav-item/nav-item.js +5 -5
- package/dist/components/optgroup/optgroup.component.js +3 -3
- package/dist/components/optgroup/optgroup.js +4 -4
- package/dist/components/option/option.component.js +6 -6
- package/dist/components/option/option.js +7 -7
- package/dist/components/pagination/pagination.component.js +13 -13
- package/dist/components/pagination/pagination.js +14 -14
- 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 +8 -8
- package/dist/components/prio-nav/prio-nav.js +9 -9
- 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 +5 -5
- package/dist/components/radio-button/radio-button.js +6 -6
- package/dist/components/radio-group/radio-group.component.js +6 -6
- package/dist/components/radio-group/radio-group.js +7 -7
- package/dist/components/range/range.component.js +7 -7
- package/dist/components/range/range.js +8 -8
- package/dist/components/range-tick/range-tick.component.js +2 -2
- package/dist/components/range-tick/range-tick.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/select/select.component.js +9 -9
- package/dist/components/select/select.js +10 -10
- package/dist/components/side-nav/side-nav.component.js +12 -13
- package/dist/components/side-nav/side-nav.js +13 -14
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/switch/switch.component.js +5 -5
- package/dist/components/switch/switch.js +6 -6
- package/dist/components/tab/tab.component.js +7 -7
- package/dist/components/tab/tab.js +8 -8
- package/dist/components/tab-group/tab-group.component.js +8 -8
- package/dist/components/tab-group/tab-group.js +9 -9
- 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 +7 -7
- package/dist/components/tag/tag.js +8 -8
- package/dist/components/tag-group/tag-group.component.js +5 -5
- package/dist/components/tag-group/tag-group.js +6 -6
- package/dist/components/textarea/textarea.component.js +5 -5
- package/dist/components/textarea/textarea.js +6 -6
- package/dist/components/tooltip/tooltip.component.js +3 -3
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/validate/utility.js +2 -2
- package/dist/components/validate/validate.component.js +11 -11
- package/dist/components/validate/validate.js +12 -12
- package/dist/custom-elements.json +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +123 -125
- package/dist/utilities/defaultSettings/decorator.js +3 -3
- package/dist/utilities/defaultSettings/functions.js +2 -2
- package/dist/utilities/defaultSettings/index.js +3 -3
- package/package.json +5 -5
- package/dist/chunks/chunk.6S5LBERK.js.map +0 -7
- package/dist/chunks/chunk.I4FIU7FA.js +0 -83
- package/dist/chunks/chunk.I4FIU7FA.js.map +0 -7
- package/dist/chunks/chunk.JCMXLHX4.js.map +0 -7
- package/dist/chunks/chunk.LOYQRLBZ.js.map +0 -7
- package/dist/chunks/chunk.O655X4YP.js +0 -65
- package/dist/chunks/chunk.O655X4YP.js.map +0 -7
- package/dist/chunks/chunk.P4JFVVSO.js.map +0 -7
- package/dist/chunks/chunk.R3SMKUIL.js.map +0 -7
- package/dist/chunks/chunk.UORFJFA2.js.map +0 -7
- package/dist/components/card/card.custom.styles.d.ts +0 -2
- package/dist/components/card/card.custom.styles.js +0 -8
- package/dist/components/card/card.custom.styles.js.map +0 -7
- package/dist/components/drawer/drawer.custom.styles.d.ts +0 -2
- package/dist/components/drawer/drawer.custom.styles.js +0 -8
- package/dist/components/drawer/drawer.custom.styles.js.map +0 -7
- /package/dist/chunks/{chunk.NBYMQKQ4.js.map → chunk.2QN5VSUR.js.map} +0 -0
- /package/dist/chunks/{chunk.M4FKK4H7.js.map → chunk.34QJZAQN.js.map} +0 -0
- /package/dist/chunks/{chunk.Y46MLFHY.js.map → chunk.37IHP7BG.js.map} +0 -0
- /package/dist/chunks/{chunk.JQJHZS4G.js.map → chunk.3CMROAAL.js.map} +0 -0
- /package/dist/chunks/{chunk.6CIB6PSW.js.map → chunk.3L5FDCMH.js.map} +0 -0
- /package/dist/chunks/{chunk.E7RRUMEX.js.map → chunk.45YNTYOZ.js.map} +0 -0
- /package/dist/chunks/{chunk.LA67OWZY.js.map → chunk.46TEDXXN.js.map} +0 -0
- /package/dist/chunks/{chunk.4MG3QDNW.js.map → chunk.4I2RJVH5.js.map} +0 -0
- /package/dist/chunks/{chunk.T2FPHORT.js.map → chunk.4JVC2VNF.js.map} +0 -0
- /package/dist/chunks/{chunk.YNMWBENS.js.map → chunk.4LPRLZEC.js.map} +0 -0
- /package/dist/chunks/{chunk.QY26WHBP.js.map → chunk.4ZOCSXH4.js.map} +0 -0
- /package/dist/chunks/{chunk.6VCFWFXG.js.map → chunk.57ZNNVJD.js.map} +0 -0
- /package/dist/chunks/{chunk.73Z3FWPL.js.map → chunk.5RQIZU45.js.map} +0 -0
- /package/dist/chunks/{chunk.DJUGIJOA.js.map → chunk.63JBLXCM.js.map} +0 -0
- /package/dist/chunks/{chunk.W5JD45AC.js.map → chunk.6HU2H2VB.js.map} +0 -0
- /package/dist/chunks/{chunk.IRQSCGKR.js.map → chunk.6JICRYLR.js.map} +0 -0
- /package/dist/chunks/{chunk.WGV34FQN.js.map → chunk.7ATQA6CZ.js.map} +0 -0
- /package/dist/chunks/{chunk.JERRHSUK.js.map → chunk.ABM67XAL.js.map} +0 -0
- /package/dist/chunks/{chunk.OSIAWGVN.js.map → chunk.AE5NBH2R.js.map} +0 -0
- /package/dist/chunks/{chunk.RQZY3CBD.js.map → chunk.ALNYXBZ2.js.map} +0 -0
- /package/dist/chunks/{chunk.3DR4P2UN.js.map → chunk.B6F4Q4IT.js.map} +0 -0
- /package/dist/chunks/{chunk.43AHNKUF.js.map → chunk.BCMKX2J2.js.map} +0 -0
- /package/dist/chunks/{chunk.6QXHWMR4.js.map → chunk.BIAOZFHY.js.map} +0 -0
- /package/dist/chunks/{chunk.3PJ3OMJ3.js.map → chunk.BJ2R6HWM.js.map} +0 -0
- /package/dist/chunks/{chunk.UNS2UR34.js.map → chunk.CV7FE336.js.map} +0 -0
- /package/dist/chunks/{chunk.XOYRT5AB.js.map → chunk.D46C67S6.js.map} +0 -0
- /package/dist/chunks/{chunk.PD5ZCLS3.js.map → chunk.DCV2TIY6.js.map} +0 -0
- /package/dist/chunks/{chunk.PZQBCZXZ.js.map → chunk.DHUFRPXN.js.map} +0 -0
- /package/dist/chunks/{chunk.O2VECB5Y.js.map → chunk.DJIAGYRX.js.map} +0 -0
- /package/dist/chunks/{chunk.4UTEZFEQ.js.map → chunk.DSKV4JMN.js.map} +0 -0
- /package/dist/chunks/{chunk.PBYUHFNB.js.map → chunk.DVMSDDLB.js.map} +0 -0
- /package/dist/chunks/{chunk.MVGHT5N5.js.map → chunk.EFGAZQFG.js.map} +0 -0
- /package/dist/chunks/{chunk.PTB2RAAZ.js.map → chunk.EGTAKQAU.js.map} +0 -0
- /package/dist/chunks/{chunk.ABRAUA2P.js.map → chunk.EKFYOO45.js.map} +0 -0
- /package/dist/chunks/{chunk.UD4HUYDT.js.map → chunk.FAK2KFOB.js.map} +0 -0
- /package/dist/chunks/{chunk.KP7I46YT.js.map → chunk.FMRXZ25K.js.map} +0 -0
- /package/dist/chunks/{chunk.VYBZVRVF.js.map → chunk.GFYYLBC7.js.map} +0 -0
- /package/dist/chunks/{chunk.SQNDHZWV.js.map → chunk.GUW23JPZ.js.map} +0 -0
- /package/dist/chunks/{chunk.VK35CL2X.js.map → chunk.GYOIJQKN.js.map} +0 -0
- /package/dist/chunks/{chunk.YCTZ7J4B.js.map → chunk.HOKJ5BFL.js.map} +0 -0
- /package/dist/chunks/{chunk.GBB34Y74.js.map → chunk.HQQIVH2S.js.map} +0 -0
- /package/dist/chunks/{chunk.EX43UAEY.js.map → chunk.HRXQKMTA.js.map} +0 -0
- /package/dist/chunks/{chunk.3TPF3YOJ.js.map → chunk.I6PP4QSQ.js.map} +0 -0
- /package/dist/chunks/{chunk.N2EW6GUY.js.map → chunk.IHAFPHVS.js.map} +0 -0
- /package/dist/chunks/{chunk.AF4B7YYE.js.map → chunk.IIRPZ642.js.map} +0 -0
- /package/dist/chunks/{chunk.B2YV7MIT.js.map → chunk.IRQYNSLA.js.map} +0 -0
- /package/dist/chunks/{chunk.JBEKP3MA.js.map → chunk.IWWZ7NR4.js.map} +0 -0
- /package/dist/chunks/{chunk.IXNVXYKT.js.map → chunk.JDCUCXJ5.js.map} +0 -0
- /package/dist/chunks/{chunk.TVMK25Y5.js.map → chunk.JIKFLM23.js.map} +0 -0
- /package/dist/chunks/{chunk.6I6VY3WS.js.map → chunk.JNI24XE2.js.map} +0 -0
- /package/dist/chunks/{chunk.T5NQSBIU.js.map → chunk.JVCAQIXF.js.map} +0 -0
- /package/dist/chunks/{chunk.TVS4L3HC.js.map → chunk.KVYYFM4V.js.map} +0 -0
- /package/dist/chunks/{chunk.27OB5Z7J.js.map → chunk.L7EEUWC6.js.map} +0 -0
- /package/dist/chunks/{chunk.ULOBL642.js.map → chunk.MTETA3HA.js.map} +0 -0
- /package/dist/chunks/{chunk.W46WQKWL.js.map → chunk.MWEJ7CGR.js.map} +0 -0
- /package/dist/chunks/{chunk.TVOWBITV.js.map → chunk.N3B52ZU7.js.map} +0 -0
- /package/dist/chunks/{chunk.CVJOHPVN.js.map → chunk.NL2IOCPJ.js.map} +0 -0
- /package/dist/chunks/{chunk.UQCGZEKS.js.map → chunk.O5HRNZ2W.js.map} +0 -0
- /package/dist/chunks/{chunk.DRENFZZA.js.map → chunk.OBX7SKFS.js.map} +0 -0
- /package/dist/chunks/{chunk.D5J3W5DU.js.map → chunk.OGRJ4HV7.js.map} +0 -0
- /package/dist/chunks/{chunk.OD4GJZWM.js.map → chunk.OLTM5MWQ.js.map} +0 -0
- /package/dist/chunks/{chunk.D4QV2RCS.js.map → chunk.OZPSZV3Z.js.map} +0 -0
- /package/dist/chunks/{chunk.267EOHJM.js.map → chunk.PIC3MEDG.js.map} +0 -0
- /package/dist/chunks/{chunk.6BA6OE7I.js.map → chunk.PIFYONLO.js.map} +0 -0
- /package/dist/chunks/{chunk.OY7AUQPS.js.map → chunk.PLL33BFP.js.map} +0 -0
- /package/dist/chunks/{chunk.QU6TBEV5.js.map → chunk.PNA52HT2.js.map} +0 -0
- /package/dist/chunks/{chunk.TO24E2BV.js.map → chunk.PY4T4VWD.js.map} +0 -0
- /package/dist/chunks/{chunk.AIFANC6W.js.map → chunk.Q7B6OCSA.js.map} +0 -0
- /package/dist/chunks/{chunk.B6GODDET.js.map → chunk.QEY3KSN5.js.map} +0 -0
- /package/dist/chunks/{chunk.QSBGVJAV.js.map → chunk.QKATJHEP.js.map} +0 -0
- /package/dist/chunks/{chunk.7WU4T3CK.js.map → chunk.QMEHL7N7.js.map} +0 -0
- /package/dist/chunks/{chunk.CQ46LXUP.js.map → chunk.QYOAPG3L.js.map} +0 -0
- /package/dist/chunks/{chunk.I2RODYKO.js.map → chunk.R3SBAYOR.js.map} +0 -0
- /package/dist/chunks/{chunk.HH5E6L7D.js.map → chunk.RMW7EMAA.js.map} +0 -0
- /package/dist/chunks/{chunk.LNGDI26E.js.map → chunk.S2WBFFGA.js.map} +0 -0
- /package/dist/chunks/{chunk.IHVCWV2N.js.map → chunk.SAPWH62I.js.map} +0 -0
- /package/dist/chunks/{chunk.ZTHIOBJX.js.map → chunk.SFBN63ZC.js.map} +0 -0
- /package/dist/chunks/{chunk.QVTWOSMA.js.map → chunk.SFXYATZT.js.map} +0 -0
- /package/dist/chunks/{chunk.ADR7A6NU.js.map → chunk.SRI62J7K.js.map} +0 -0
- /package/dist/chunks/{chunk.YUI2CVNB.js.map → chunk.T5DDTXF3.js.map} +0 -0
- /package/dist/chunks/{chunk.R2B62JOW.js.map → chunk.THFDFDHY.js.map} +0 -0
- /package/dist/chunks/{chunk.MG6X5MYV.js.map → chunk.TMXDTUP5.js.map} +0 -0
- /package/dist/chunks/{chunk.SGMHHYFF.js.map → chunk.TSZKR2LS.js.map} +0 -0
- /package/dist/chunks/{chunk.KDGRKMPC.js.map → chunk.US6QVDON.js.map} +0 -0
- /package/dist/chunks/{chunk.JWAE5WKX.js.map → chunk.USRVA3FU.js.map} +0 -0
- /package/dist/chunks/{chunk.JVFLTPYY.js.map → chunk.VBPZVGXH.js.map} +0 -0
- /package/dist/chunks/{chunk.D3X5C4XA.js.map → chunk.VZ4IFLE2.js.map} +0 -0
- /package/dist/chunks/{chunk.EJM5ADI2.js.map → chunk.WEETV3PK.js.map} +0 -0
- /package/dist/chunks/{chunk.OOEOZE2L.js.map → chunk.WVGOSRRS.js.map} +0 -0
- /package/dist/chunks/{chunk.OTUE6RD7.js.map → chunk.WYNCUNIG.js.map} +0 -0
- /package/dist/chunks/{chunk.JACBJA4R.js.map → chunk.X2LZUY3L.js.map} +0 -0
- /package/dist/chunks/{chunk.NH2A6SYT.js.map → chunk.XW5QFTOG.js.map} +0 -0
- /package/dist/chunks/{chunk.56YVKBWT.js.map → chunk.YNZSF3FC.js.map} +0 -0
- /package/dist/chunks/{chunk.AZAEJIOY.js.map → chunk.Z4QAGMQF.js.map} +0 -0
- /package/dist/chunks/{chunk.AOL6LJRI.js.map → chunk.ZIUT6HDC.js.map} +0 -0
- /package/dist/chunks/{chunk.QZBZKP3E.js.map → chunk.ZT5YMF6W.js.map} +0 -0
- /package/dist/chunks/{chunk.BHCQIO4A.js.map → chunk.ZXCY3EPJ.js.map} +0 -0
- /package/dist/chunks/{chunk.GCYVVS3D.js.map → chunk.ZZ36JHKP.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.CHFWLQN5.js";
|
|
7
7
|
import {
|
|
8
8
|
enableDefaultSettings
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.4I2RJVH5.js";
|
|
10
10
|
import {
|
|
11
11
|
watch
|
|
12
12
|
} from "./chunk.SMIMHADA.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.2NT3B5WJ.js";
|
|
16
16
|
import {
|
|
17
17
|
SynergyElement
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.7YCUXELV.js";
|
|
19
19
|
import {
|
|
20
20
|
__decorateClass
|
|
21
21
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -138,4 +138,4 @@ SynRadioButton = __decorateClass([
|
|
|
138
138
|
export {
|
|
139
139
|
SynRadioButton
|
|
140
140
|
};
|
|
141
|
-
//# sourceMappingURL=chunk.
|
|
141
|
+
//# sourceMappingURL=chunk.EFGAZQFG.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynAlert
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.NL2IOCPJ.js";
|
|
4
4
|
import {
|
|
5
5
|
enableDefaultSettings
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.4I2RJVH5.js";
|
|
7
7
|
import {
|
|
8
8
|
alertSizeForInput,
|
|
9
9
|
getActualInputElement,
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
isInvalidEvent,
|
|
13
13
|
isSynergyElement,
|
|
14
14
|
normalizeEventAttribute
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.2QN5VSUR.js";
|
|
16
16
|
import {
|
|
17
17
|
validate_styles_default
|
|
18
18
|
} from "./chunk.MVM3NN6Y.js";
|
|
19
19
|
import {
|
|
20
20
|
SynTooltip
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.45YNTYOZ.js";
|
|
22
22
|
import {
|
|
23
23
|
watch
|
|
24
24
|
} from "./chunk.SMIMHADA.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk.2NT3B5WJ.js";
|
|
28
28
|
import {
|
|
29
29
|
SynergyElement
|
|
30
|
-
} from "./chunk.
|
|
30
|
+
} from "./chunk.7YCUXELV.js";
|
|
31
31
|
import {
|
|
32
32
|
__decorateClass
|
|
33
33
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -439,4 +439,4 @@ SynValidate = __decorateClass([
|
|
|
439
439
|
export {
|
|
440
440
|
SynValidate
|
|
441
441
|
};
|
|
442
|
-
//# sourceMappingURL=chunk.
|
|
442
|
+
//# sourceMappingURL=chunk.EGTAKQAU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.5RQIZU45.js";
|
|
4
4
|
import {
|
|
5
5
|
file_styles_default
|
|
6
6
|
} from "./chunk.2ECWEEUO.js";
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
} from "./chunk.CHFWLQN5.js";
|
|
19
19
|
import {
|
|
20
20
|
SynIcon
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.SFBN63ZC.js";
|
|
22
22
|
import {
|
|
23
23
|
enableDefaultSettings
|
|
24
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.4I2RJVH5.js";
|
|
25
25
|
import {
|
|
26
26
|
animateTo
|
|
27
27
|
} from "./chunk.Q6HZ4JXR.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk.2NT3B5WJ.js";
|
|
41
41
|
import {
|
|
42
42
|
SynergyElement
|
|
43
|
-
} from "./chunk.
|
|
43
|
+
} from "./chunk.7YCUXELV.js";
|
|
44
44
|
import {
|
|
45
45
|
__decorateClass
|
|
46
46
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -544,4 +544,4 @@ setDefaultAnimation("file.text.appear", {
|
|
|
544
544
|
export {
|
|
545
545
|
SynFile
|
|
546
546
|
};
|
|
547
|
-
//# sourceMappingURL=chunk.
|
|
547
|
+
//# sourceMappingURL=chunk.EKFYOO45.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDropdown
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.KVYYFM4V.js";
|
|
4
4
|
import {
|
|
5
5
|
SynMenu
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.USRVA3FU.js";
|
|
7
7
|
import {
|
|
8
8
|
prio_nav_styles_default
|
|
9
9
|
} from "./chunk.74N5WLM5.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk.OJ3N7TWP.js";
|
|
16
16
|
import {
|
|
17
17
|
SynNavItem
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.VBPZVGXH.js";
|
|
19
19
|
import {
|
|
20
20
|
SynIcon
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.SFBN63ZC.js";
|
|
22
22
|
import {
|
|
23
23
|
LocalizeController
|
|
24
24
|
} from "./chunk.VCRQ2GII.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk.2NT3B5WJ.js";
|
|
28
28
|
import {
|
|
29
29
|
SynergyElement
|
|
30
|
-
} from "./chunk.
|
|
30
|
+
} from "./chunk.7YCUXELV.js";
|
|
31
31
|
import {
|
|
32
32
|
__decorateClass
|
|
33
33
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -209,4 +209,4 @@ __decorateClass([
|
|
|
209
209
|
export {
|
|
210
210
|
SynPrioNav
|
|
211
211
|
};
|
|
212
|
-
//# sourceMappingURL=chunk.
|
|
212
|
+
//# sourceMappingURL=chunk.FAK2KFOB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadio
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.O5HRNZ2W.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.FMRXZ25K.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSwitch
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.RMW7EMAA.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.GFYYLBC7.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk.X5NFOV5A.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIconButton
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.OBX7SKFS.js";
|
|
10
10
|
import {
|
|
11
11
|
enableDefaultSettings
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.4I2RJVH5.js";
|
|
13
13
|
import {
|
|
14
14
|
LocalizeController
|
|
15
15
|
} from "./chunk.VCRQ2GII.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk.2NT3B5WJ.js";
|
|
19
19
|
import {
|
|
20
20
|
SynergyElement
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.7YCUXELV.js";
|
|
22
22
|
import {
|
|
23
23
|
__decorateClass
|
|
24
24
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -84,4 +84,4 @@ SynTag = __decorateClass([
|
|
|
84
84
|
export {
|
|
85
85
|
SynTag
|
|
86
86
|
};
|
|
87
|
-
//# sourceMappingURL=chunk.
|
|
87
|
+
//# sourceMappingURL=chunk.GUW23JPZ.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.CMOZ4SCN.js";
|
|
7
7
|
import {
|
|
8
8
|
enableDefaultSettings
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.4I2RJVH5.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
12
|
} from "./chunk.VCRQ2GII.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.2NT3B5WJ.js";
|
|
16
16
|
import {
|
|
17
17
|
SynergyElement
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.7YCUXELV.js";
|
|
19
19
|
import {
|
|
20
20
|
__decorateClass
|
|
21
21
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -66,4 +66,4 @@ SynBadge = __decorateClass([
|
|
|
66
66
|
export {
|
|
67
67
|
SynBadge
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=chunk.
|
|
69
|
+
//# sourceMappingURL=chunk.GYOIJQKN.js.map
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
card_custom_styles_default
|
|
3
|
-
} from "./chunk.O655X4YP.js";
|
|
4
1
|
import {
|
|
5
2
|
card_styles_default
|
|
6
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.QCHIEOZ2.js";
|
|
7
4
|
import {
|
|
8
5
|
HasSlotController
|
|
9
6
|
} from "./chunk.CHFWLQN5.js";
|
|
@@ -12,15 +9,17 @@ import {
|
|
|
12
9
|
} from "./chunk.2NT3B5WJ.js";
|
|
13
10
|
import {
|
|
14
11
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.7YCUXELV.js";
|
|
16
13
|
import {
|
|
17
14
|
__decorateClass
|
|
18
15
|
} from "./chunk.MO2GTRUM.js";
|
|
19
16
|
|
|
20
17
|
// src/components/card/card.component.ts
|
|
18
|
+
import {
|
|
19
|
+
html
|
|
20
|
+
} from "lit";
|
|
21
21
|
import { classMap } from "lit/directives/class-map.js";
|
|
22
22
|
import { property } from "lit/decorators.js";
|
|
23
|
-
import { html } from "lit";
|
|
24
23
|
var SynCard = class extends SynergyElement {
|
|
25
24
|
constructor() {
|
|
26
25
|
super(...arguments);
|
|
@@ -34,11 +33,11 @@ var SynCard = class extends SynergyElement {
|
|
|
34
33
|
part="base"
|
|
35
34
|
class=${classMap({
|
|
36
35
|
card: true,
|
|
37
|
-
"card--shadow": this.shadow,
|
|
38
|
-
"card--sharp": this.sharp,
|
|
39
36
|
"card--has-footer": this.hasSlotController.test("footer"),
|
|
37
|
+
"card--has-header": this.hasSlotController.test("header"),
|
|
40
38
|
"card--has-image": this.hasSlotController.test("image"),
|
|
41
|
-
"card--
|
|
39
|
+
"card--shadow": this.shadow,
|
|
40
|
+
"card--sharp": this.sharp
|
|
42
41
|
})}
|
|
43
42
|
>
|
|
44
43
|
<slot name="image" part="image" class="card__image"></slot>
|
|
@@ -49,15 +48,15 @@ var SynCard = class extends SynergyElement {
|
|
|
49
48
|
`;
|
|
50
49
|
}
|
|
51
50
|
};
|
|
52
|
-
SynCard.styles = [component_styles_default, card_styles_default
|
|
51
|
+
SynCard.styles = [component_styles_default, card_styles_default];
|
|
53
52
|
__decorateClass([
|
|
54
|
-
property({
|
|
53
|
+
property({ reflect: true, type: Boolean })
|
|
55
54
|
], SynCard.prototype, "shadow", 2);
|
|
56
55
|
__decorateClass([
|
|
57
|
-
property({
|
|
56
|
+
property({ reflect: true, type: Boolean })
|
|
58
57
|
], SynCard.prototype, "sharp", 2);
|
|
59
58
|
|
|
60
59
|
export {
|
|
61
60
|
SynCard
|
|
62
61
|
};
|
|
63
|
-
//# sourceMappingURL=chunk.
|
|
62
|
+
//# sourceMappingURL=chunk.H6Y2KI6V.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/card/card.component.ts"],
|
|
4
|
+
"sourcesContent": ["import {\n type CSSResultGroup,\n html,\n} from 'lit';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { property } from 'lit/decorators.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './card.styles.js';\n\n/**\n * @summary Cards can be used to group related subjects in a container.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-card--docs\n * @status stable\n * @since 1.25.0\n *\n * @slot - The card's main content.\n * @slot header - An optional header for the card.\n * @slot footer - An optional footer for the card.\n * @slot image - An optional image to render at the start of the card.\n *\n * @csspart base - The component's base wrapper.\n * @csspart image - The container that wraps the card's image.\n * @csspart header - The container that wraps the card's header.\n * @csspart body - The container that wraps the card's main content.\n * @csspart footer - The container that wraps the card's footer.\n *\n * @cssproperty --border-color - The card's border color, including borders that occur inside the card.\n * @cssproperty --border-radius - The border radius for the card's edges.\n * @cssproperty --border-width - The width of the card's borders.\n * @cssproperty --padding - The padding to use for the card's sections.\n */\nexport default class SynCard extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n private readonly hasSlotController = new HasSlotController(this, 'footer', 'header', 'image');\n\n /** Draws the card with a shadow. Can be used when the card has to stand out visually, for example in dashboards. */\n @property({ reflect: true, type: Boolean }) shadow = false;\n\n /** Draws the card with sharp edges. Can be used e.g. when nesting multiple syn-cards to create hierarchy. */\n @property({ reflect: true, type: Boolean }) sharp = false;\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n card: true,\n 'card--has-footer': this.hasSlotController.test('footer'),\n 'card--has-header': this.hasSlotController.test('header'),\n 'card--has-image': this.hasSlotController.test('image'),\n 'card--shadow': this.shadow,\n 'card--sharp': this.sharp,\n })}\n >\n <slot name=\"image\" part=\"image\" class=\"card__image\"></slot>\n <slot name=\"header\" part=\"header\" class=\"card__header\"></slot>\n <slot part=\"body\" class=\"card__body\"></slot>\n <slot name=\"footer\" part=\"footer\" class=\"card__footer\"></slot>\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA,EAEE;AAAA,OACK;AACP,SAAS,gBAAgB;AACzB,SAAS,gBAAgB;AA4BzB,IAAqB,UAArB,cAAqC,eAAe;AAAA,EAApD;AAAA;AAGE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,UAAU,UAAU,OAAO;AAGhD,kBAAS;AAGT,iBAAQ;AAAA;AAAA,EAEpD,SAAS;AACP,WAAO;AAAA;AAAA;AAAA,gBAGK,SAAS;AAAA,MACf,MAAM;AAAA,MACN,oBAAoB,KAAK,kBAAkB,KAAK,QAAQ;AAAA,MACxD,oBAAoB,KAAK,kBAAkB,KAAK,QAAQ;AAAA,MACxD,mBAAmB,KAAK,kBAAkB,KAAK,OAAO;AAAA,MACtD,gBAAgB,KAAK;AAAA,MACrB,eAAe,KAAK;AAAA,IACtB,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQR;AACF;AA/BqB,QACZ,SAAyB,CAAC,0BAAiB,mBAAM;AAKZ;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GANvB,QAMyB;AAGA;AAAA,EAA3C,SAAS,EAAE,SAAS,MAAM,MAAM,QAAQ,CAAC;AAAA,GATvB,QASyB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynPrioNav
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.FAK2KFOB.js";
|
|
4
4
|
|
|
5
5
|
// src/components/prio-nav/prio-nav.ts
|
|
6
6
|
var prio_nav_default = SynPrioNav;
|
|
@@ -9,4 +9,4 @@ SynPrioNav.define("syn-prio-nav");
|
|
|
9
9
|
export {
|
|
10
10
|
prio_nav_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.HOKJ5BFL.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynPagination
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ZT5YMF6W.js";
|
|
4
4
|
|
|
5
5
|
// src/components/pagination/pagination.ts
|
|
6
6
|
var pagination_default = SynPagination;
|
|
@@ -9,4 +9,4 @@ SynPagination.define("syn-pagination");
|
|
|
9
9
|
export {
|
|
10
10
|
pagination_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.HQQIVH2S.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.WRPQ3635.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIcon
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.SFBN63ZC.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
12
|
} from "./chunk.VCRQ2GII.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.2NT3B5WJ.js";
|
|
16
16
|
import {
|
|
17
17
|
SynergyElement
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.7YCUXELV.js";
|
|
19
19
|
import {
|
|
20
20
|
__decorateClass
|
|
21
21
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -91,4 +91,4 @@ __decorateClass([
|
|
|
91
91
|
export {
|
|
92
92
|
SynBreadcrumb
|
|
93
93
|
};
|
|
94
|
-
//# sourceMappingURL=chunk.
|
|
94
|
+
//# sourceMappingURL=chunk.HRXQKMTA.js.map
|
|
@@ -65,7 +65,7 @@ var header_styles_default = css`
|
|
|
65
65
|
*/
|
|
66
66
|
.header__label {
|
|
67
67
|
color: var(--syn-typography-color-text);
|
|
68
|
-
font: var(--syn-
|
|
68
|
+
font: var(--syn-heading-large);
|
|
69
69
|
padding: 0 var(--syn-spacing-2x-large);
|
|
70
70
|
white-space: nowrap;
|
|
71
71
|
}
|
|
@@ -145,4 +145,4 @@ var header_styles_default = css`
|
|
|
145
145
|
export {
|
|
146
146
|
header_styles_default
|
|
147
147
|
};
|
|
148
|
-
//# sourceMappingURL=chunk.
|
|
148
|
+
//# sourceMappingURL=chunk.HUJAKIZN.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/components/header/header.styles.ts"],
|
|
4
|
-
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n --sticky-position: 0;\n --metanavigation-item-size: var(--syn-font-size-x-large);\n\n display: block;\n }\n\n .header {\n background: var(--syn-panel-background-color);\n box-shadow: inset 0 -1px 0 0 var(--syn-header-border-color);\n }\n\n /**\n * The primary content area displays one to many slotted items\n * and contains the following items:\n * - side nav state icon (OPTIONAL)\n * - company or application logo\n * - application name\n * - meta-navigation\n */\n .header__content {\n align-items: center;\n box-sizing: content-box;\n display: flex;\n min-height: 40px;\n padding: var(--syn-spacing-small) var(--syn-spacing-large);\n }\n\n /**\n * The logo slot includes the application or company logo\n */\n .header__logo ::slotted(*),\n .header__logo syn-icon {\n display: block;\n }\n\n /**\n * Make sure to use the correct color and outline for links\n */\n .header__logo ::slotted(a),\n .header__logo ::slotted(a:hover) {\n color: var(--syn-logo-color);\n }\n\n .header__logo ::slotted(a:is(:focus-visible)) {\n outline: var(--syn-focus-ring);\n outline-offset: var(--syn-focus-ring-offset);\n }\n\n /**\n * Styles for the default logo. This makes sure the default SICK logo has the correct size and color\n */\n .header__logo syn-icon,\n .header__logo syn-icon::part(svg) {\n color: var(--syn-logo-color);\n height: 32px;\n width: auto;\n }\n\n /**\n * The label section hosts the application name\n */\n .header__label {\n color: var(--syn-typography-color-text);\n font: var(--syn-
|
|
4
|
+
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n --sticky-position: 0;\n --metanavigation-item-size: var(--syn-font-size-x-large);\n\n display: block;\n }\n\n .header {\n background: var(--syn-panel-background-color);\n box-shadow: inset 0 -1px 0 0 var(--syn-header-border-color);\n }\n\n /**\n * The primary content area displays one to many slotted items\n * and contains the following items:\n * - side nav state icon (OPTIONAL)\n * - company or application logo\n * - application name\n * - meta-navigation\n */\n .header__content {\n align-items: center;\n box-sizing: content-box;\n display: flex;\n min-height: 40px;\n padding: var(--syn-spacing-small) var(--syn-spacing-large);\n }\n\n /**\n * The logo slot includes the application or company logo\n */\n .header__logo ::slotted(*),\n .header__logo syn-icon {\n display: block;\n }\n\n /**\n * Make sure to use the correct color and outline for links\n */\n .header__logo ::slotted(a),\n .header__logo ::slotted(a:hover) {\n color: var(--syn-logo-color);\n }\n\n .header__logo ::slotted(a:is(:focus-visible)) {\n outline: var(--syn-focus-ring);\n outline-offset: var(--syn-focus-ring-offset);\n }\n\n /**\n * Styles for the default logo. This makes sure the default SICK logo has the correct size and color\n */\n .header__logo syn-icon,\n .header__logo syn-icon::part(svg) {\n color: var(--syn-logo-color);\n height: 32px;\n width: auto;\n }\n\n /**\n * The label section hosts the application name\n */\n .header__label {\n color: var(--syn-typography-color-text);\n font: var(--syn-heading-large);\n padding: 0 var(--syn-spacing-2x-large);\n white-space: nowrap;\n }\n\n /**\n * The options menu holds an arbitrary list of <syn-icon-button />\n */\n .header__meta-navigation {\n display: flex;\n flex: 1;\n gap: var(--syn-spacing-x-small);\n justify-content: end;\n }\n\n .header__meta-navigation ::slotted(*) {\n color: var(--syn-interactive-quiet-color);\n display: contents;\n font-size: var(--metanavigation-item-size);\n }\n\n /**\n * The horizontal top navigation section\n */\n .header__navigation {\n padding: 0 var(--syn-spacing-large);\n }\n\n /**\n * The burger menu icon styles\n */\n .header__burger-menu-toggle {\n align-items: center;\n background: none;\n border: none;\n color: var(--syn-interactive-quiet-color);\n cursor: pointer;\n display: flex;\n font-size: var(--syn-font-size-x-large);\n margin-right: calc(var(--syn-spacing-medium) + var(--syn-spacing-2x-small));\n padding: var(--syn-spacing-x-small);\n transition: var(--syn-transition-x-fast) color;\n }\n\n .header__burger-menu-toggle:hover {\n color: var(--syn-interactive-quiet-color-hover);\n }\n\n .header__burger-menu-toggle:active {\n color: var(--syn-interactive-quiet-color-active);\n }\n\n .header__burger-menu-toggle:focus-visible {\n outline: var(--syn-focus-ring);\n outline-offset: var(--syn-focus-ring-offset);\n }\n\n /**\n * If the burger menu is provided, use a smaller spacing on the left side\n */\n .header--has-burger-menu .header__content {\n padding-left: var(--syn-spacing-medium);\n }\n\n /**\n * #529: Sticky header styles\n */\n :host([sticky]) {\n box-shadow: var(--syn-shadow-sticky-down);\n position: sticky;\n top: var(--sticky-position);\n\n /* Make sure the header is above all other content, but below any potential modals or overlays */\n z-index: calc(infinity - 1);\n }\n`;\n"],
|
|
5
5
|
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,wBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynProgressRing
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.TMXDTUP5.js";
|
|
4
4
|
|
|
5
5
|
// src/components/progress-ring/progress-ring.ts
|
|
6
6
|
var progress_ring_default = SynProgressRing;
|
|
@@ -9,4 +9,4 @@ SynProgressRing.define("syn-progress-ring");
|
|
|
9
9
|
export {
|
|
10
10
|
progress_ring_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.I6PP4QSQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadioGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.6HU2H2VB.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio-group/radio-group.ts
|
|
6
6
|
var radio_group_default = SynRadioGroup;
|
|
@@ -9,4 +9,4 @@ SynRadioGroup.define("syn-radio-group");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.IHAFPHVS.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.KVS7GBFQ.js";
|
|
10
10
|
import {
|
|
11
11
|
SynDivider
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.QYOAPG3L.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultValue
|
|
15
15
|
} from "./chunk.3JDUKQRN.js";
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
} from "./chunk.CHFWLQN5.js";
|
|
25
25
|
import {
|
|
26
26
|
SynIcon
|
|
27
|
-
} from "./chunk.
|
|
27
|
+
} from "./chunk.SFBN63ZC.js";
|
|
28
28
|
import {
|
|
29
29
|
enableDefaultSettings
|
|
30
|
-
} from "./chunk.
|
|
30
|
+
} from "./chunk.4I2RJVH5.js";
|
|
31
31
|
import {
|
|
32
32
|
createNumericStrategy,
|
|
33
33
|
modernNumericStrategy,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
} from "./chunk.2NT3B5WJ.js";
|
|
45
45
|
import {
|
|
46
46
|
SynergyElement
|
|
47
|
-
} from "./chunk.
|
|
47
|
+
} from "./chunk.7YCUXELV.js";
|
|
48
48
|
import {
|
|
49
49
|
__decorateClass,
|
|
50
50
|
__privateAdd,
|
|
@@ -865,4 +865,4 @@ SynInput = __decorateClass([
|
|
|
865
865
|
export {
|
|
866
866
|
SynInput
|
|
867
867
|
};
|
|
868
|
-
//# sourceMappingURL=chunk.
|
|
868
|
+
//# sourceMappingURL=chunk.IIRPZ642.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTagGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.37IHP7BG.js";
|
|
4
4
|
|
|
5
5
|
// src/components/tag-group/tag-group.ts
|
|
6
6
|
var tag_group_default = SynTagGroup;
|
|
@@ -9,4 +9,4 @@ SynTagGroup.define("syn-tag-group");
|
|
|
9
9
|
export {
|
|
10
10
|
tag_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.IRQYNSLA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.WVGOSRRS.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.IWWZ7NR4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynBreadcrumb
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.HRXQKMTA.js";
|
|
4
4
|
|
|
5
5
|
// src/components/breadcrumb/breadcrumb.ts
|
|
6
6
|
var breadcrumb_default = SynBreadcrumb;
|
|
@@ -9,4 +9,4 @@ SynBreadcrumb.define("syn-breadcrumb");
|
|
|
9
9
|
export {
|
|
10
10
|
breadcrumb_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.JDCUCXJ5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynCombobox
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.WYNCUNIG.js";
|
|
4
4
|
|
|
5
5
|
// src/components/combobox/combobox.ts
|
|
6
6
|
var combobox_default = SynCombobox;
|
|
@@ -9,4 +9,4 @@ SynCombobox.define("syn-combobox");
|
|
|
9
9
|
export {
|
|
10
10
|
combobox_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.JIKFLM23.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynCheckbox
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.QEY3KSN5.js";
|
|
4
4
|
|
|
5
5
|
// src/components/checkbox/checkbox.ts
|
|
6
6
|
var checkbox_default = SynCheckbox;
|
|
@@ -9,4 +9,4 @@ SynCheckbox.define("syn-checkbox");
|
|
|
9
9
|
export {
|
|
10
10
|
checkbox_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.JNI24XE2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynIconButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.OBX7SKFS.js";
|
|
4
4
|
|
|
5
5
|
// src/components/icon-button/icon-button.ts
|
|
6
6
|
var icon_button_default = SynIconButton;
|
|
@@ -9,4 +9,4 @@ SynIconButton.define("syn-icon-button");
|
|
|
9
9
|
export {
|
|
10
10
|
icon_button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.JVCAQIXF.js.map
|
|
@@ -98,7 +98,16 @@ var Modal = class {
|
|
|
98
98
|
checkFocus() {
|
|
99
99
|
if (this.isActive() && !this.isExternalActivated) {
|
|
100
100
|
const tabbableElements = getTabbableElements(this.element);
|
|
101
|
-
|
|
101
|
+
const isFocusWithin = (() => {
|
|
102
|
+
let node = document.activeElement;
|
|
103
|
+
while (node) {
|
|
104
|
+
if (this.element.contains(node)) return true;
|
|
105
|
+
const root = node.shadowRoot;
|
|
106
|
+
node = root ? root.activeElement : null;
|
|
107
|
+
}
|
|
108
|
+
return false;
|
|
109
|
+
})();
|
|
110
|
+
if (!isFocusWithin) {
|
|
102
111
|
const start = tabbableElements[0];
|
|
103
112
|
const end = tabbableElements[tabbableElements.length - 1];
|
|
104
113
|
const target = this.tabDirection === "forward" ? start : end;
|
|
@@ -117,4 +126,4 @@ var Modal = class {
|
|
|
117
126
|
export {
|
|
118
127
|
Modal
|
|
119
128
|
};
|
|
120
|
-
//# sourceMappingURL=chunk.
|
|
129
|
+
//# sourceMappingURL=chunk.KR45AFAB.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/internal/modal.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { activeElements, getDeepestActiveElement } from './active-elements.js';\nimport { getTabbableElements } from './tabbable.js';\n\nlet activeModals: HTMLElement[] = [];\n\nexport default class Modal {\n element: HTMLElement;\n isExternalActivated: boolean;\n tabDirection: 'forward' | 'backward' = 'forward';\n currentFocus: HTMLElement | null;\n previousFocus: HTMLElement | null;\n elementsWithTabbableControls: string[];\n\n constructor(element: HTMLElement) {\n this.element = element;\n\n this.elementsWithTabbableControls = ['iframe'];\n }\n\n /** Activates focus trapping. */\n activate() {\n activeModals.push(this.element);\n document.addEventListener('focusin', this.handleFocusIn);\n document.addEventListener('keydown', this.handleKeyDown);\n document.addEventListener('keyup', this.handleKeyUp);\n }\n\n /** Deactivates focus trapping. */\n deactivate() {\n activeModals = activeModals.filter(modal => modal !== this.element);\n this.currentFocus = null;\n document.removeEventListener('focusin', this.handleFocusIn);\n document.removeEventListener('keydown', this.handleKeyDown);\n document.removeEventListener('keyup', this.handleKeyUp);\n }\n\n /** Determines if this modal element is currently active or not. */\n isActive() {\n // The \"active\" modal is always the most recent one shown\n return activeModals[activeModals.length - 1] === this.element;\n }\n\n /** Activates external modal behavior and temporarily disables focus trapping. */\n activateExternal() {\n this.isExternalActivated = true;\n }\n\n /** Deactivates external modal behavior and re-enables focus trapping. */\n deactivateExternal() {\n this.isExternalActivated = false;\n }\n\n private checkFocus() {\n if (this.isActive() && !this.isExternalActivated) {\n const tabbableElements = getTabbableElements(this.element);\n\n // Chrome 149+ (Chromium issue #407769114) changed the `:focus-within`\n // pseudo-class so that it no longer propagates through top-layer elements\n // (e.g. popovers opened via the Popover API). When a syn-select or\n // syn-dropdown inside this dialog opens its popup (which is promoted to\n // the top-layer), `:focus-within` on the dialog returns `false` even\n // though focus is logically still within the dialog's content tree.\n // This caused the modal to immediately yank focus back, closing the popup.\n //\n // Fix: walk the composed active-element chain and check whether any\n // element in that chain is a descendant of this modal. This is immune to\n // the top-layer boundary because we query actual DOM containment rather\n // than relying on the CSS pseudo-class.\n const isFocusWithin = (() => {\n // Traverse shadow-root boundaries to find the deepest focused element\n let node: Element | null = document.activeElement;\n while (node) {\n if (this.element.contains(node)) return true;\n const root = node.shadowRoot;\n node = root ? root.activeElement : null;\n }\n return false;\n })();\n\n if (!isFocusWithin) {\n const start = tabbableElements[0];\n const end = tabbableElements[tabbableElements.length - 1];\n const target = this.tabDirection === 'forward' ? start : end;\n\n if (typeof target?.focus === 'function') {\n this.currentFocus = target;\n target.focus({ preventScroll: false });\n }\n }\n }\n }\n\n private handleFocusIn = () => {\n if (!this.isActive()) return;\n this.checkFocus();\n };\n\n private possiblyHasTabbableChildren(element: HTMLElement) {\n return (\n this.elementsWithTabbableControls.includes(element.tagName.toLowerCase()) || element.hasAttribute('controls')\n // Should we add a data-attribute for people to set just in case they have an element where we don't know if it has possibly tabbable elements?\n );\n }\n\n private handleKeyDown = (event: KeyboardEvent) => {\n if (event.key !== 'Tab' || this.isExternalActivated) return;\n if (!this.isActive()) return;\n\n // Because sometimes focus can actually be taken over from outside sources,\n // we don't want to rely on `this.currentFocus`. Instead we check the actual `activeElement` and\n // recurse through shadowRoots.\n const currentActiveElement = getDeepestActiveElement();\n this.previousFocus = currentActiveElement as HTMLElement | null;\n\n if (this.previousFocus && this.possiblyHasTabbableChildren(this.previousFocus)) {\n return;\n }\n\n if (event.shiftKey) {\n this.tabDirection = 'backward';\n } else {\n this.tabDirection = 'forward';\n }\n\n const tabbableElements = getTabbableElements(this.element);\n\n let currentFocusIndex = tabbableElements.findIndex(el => el === currentActiveElement);\n\n this.previousFocus = this.currentFocus;\n\n const addition = this.tabDirection === 'forward' ? 1 : -1;\n\n // eslint-disable-next-line\n while (true) {\n if (currentFocusIndex + addition >= tabbableElements.length) {\n currentFocusIndex = 0;\n } else if (currentFocusIndex + addition < 0) {\n currentFocusIndex = tabbableElements.length - 1;\n } else {\n currentFocusIndex += addition;\n }\n\n this.previousFocus = this.currentFocus;\n const nextFocus = /** @type {HTMLElement} */ tabbableElements[currentFocusIndex];\n\n // This is a special case. We need to make sure we're not calling .focus() if we're already focused on an element\n // that possibly has \"controls\"\n if (this.tabDirection === 'backward') {\n if (this.previousFocus && this.possiblyHasTabbableChildren(this.previousFocus)) {\n return;\n }\n }\n\n if (nextFocus && this.possiblyHasTabbableChildren(nextFocus)) {\n return;\n }\n\n event.preventDefault();\n this.currentFocus = nextFocus;\n this.currentFocus?.focus({ preventScroll: false });\n\n // Check to make sure focus actually changed. It may not always be the next focus, we just don't want it to be the previousFocus.\n const allActiveElements = [...activeElements()];\n if (allActiveElements.includes(this.currentFocus) || !allActiveElements.includes(this.previousFocus!)) {\n break;\n }\n }\n\n setTimeout(() => this.checkFocus());\n };\n\n private handleKeyUp = () => {\n this.tabDirection = 'forward';\n };\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk.XRSLCQH3.js";
|
|
8
8
|
import {
|
|
9
9
|
SynPopup
|
|
10
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.MWEJ7CGR.js";
|
|
11
11
|
import {
|
|
12
12
|
waitForEvent
|
|
13
13
|
} from "./chunk.LQDIH4Z5.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk.2NT3B5WJ.js";
|
|
31
31
|
import {
|
|
32
32
|
SynergyElement
|
|
33
|
-
} from "./chunk.
|
|
33
|
+
} from "./chunk.7YCUXELV.js";
|
|
34
34
|
import {
|
|
35
35
|
__decorateClass
|
|
36
36
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -382,4 +382,4 @@ setDefaultAnimation("dropdown.hide", {
|
|
|
382
382
|
export {
|
|
383
383
|
SynDropdown
|
|
384
384
|
};
|
|
385
|
-
//# sourceMappingURL=chunk.
|
|
385
|
+
//# sourceMappingURL=chunk.KVYYFM4V.js.map
|