@synergy-design-system/components 2.45.0 → 2.45.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/code-quality/html-validate/scripts/synergy-element-rules.js +24 -0
- package/dist/chunks/{chunk.AEYPPPBN.js → chunk.245S7GWI.js} +4 -4
- package/dist/chunks/{chunk.3YXGL6PB.js → chunk.2YJPFMPZ.js} +2 -2
- package/dist/chunks/{chunk.SAP4WZHM.js → chunk.2ZILCVCN.js} +2 -2
- package/dist/chunks/chunk.36EHOOOO.js +23 -0
- package/dist/chunks/chunk.36EHOOOO.js.map +7 -0
- package/dist/chunks/{chunk.F4TQMBPQ.js → chunk.3GKI2SN6.js} +3 -3
- package/dist/chunks/{chunk.IY7C7TXC.js → chunk.3GR65RWU.js} +3 -3
- package/dist/chunks/{chunk.MVTYOC4G.js → chunk.4E6YKCXO.js} +3 -3
- package/dist/chunks/{chunk.NHGGACXF.js → chunk.5IZZU7YZ.js} +5 -5
- package/dist/chunks/{chunk.GNDG3SJQ.js → chunk.5M5HOQHE.js} +3 -3
- package/dist/chunks/{chunk.GNDG3SJQ.js.map → chunk.5M5HOQHE.js.map} +2 -2
- package/dist/chunks/{chunk.GCRD4HSU.js → chunk.5MJ6U3ZD.js} +2 -2
- package/dist/chunks/{chunk.QCDUTFT3.js → chunk.5RXKCWCZ.js} +2 -2
- package/dist/chunks/{chunk.UE5Y2G5J.js → chunk.66X6L2S6.js} +3 -3
- package/dist/chunks/{chunk.UJ7DPXBG.js → chunk.6I4PJUUF.js} +2 -2
- package/dist/chunks/{chunk.MON5ZZWQ.js → chunk.6UFMDQHA.js} +2 -2
- package/dist/chunks/{chunk.FIFYXTSV.js → chunk.6WGVJKL6.js} +2 -2
- package/dist/chunks/{chunk.F6FD2FQX.js → chunk.7C42R3TS.js} +2 -2
- package/dist/chunks/{chunk.F6FD2FQX.js.map → chunk.7C42R3TS.js.map} +1 -1
- package/dist/chunks/{chunk.GH7M77F4.js → chunk.7FW3LXOS.js} +3 -3
- package/dist/chunks/{chunk.U6RTUABL.js → chunk.AAI3YT4E.js} +2 -2
- package/dist/chunks/{chunk.GPDFPMAA.js → chunk.ANA4XLX5.js} +2 -2
- package/dist/chunks/{chunk.V2JF2ARW.js → chunk.ATBW2OIF.js} +2 -2
- package/dist/chunks/{chunk.2FVXIEHW.js → chunk.BDVEGRSM.js} +2 -2
- package/dist/chunks/{chunk.ERWTU5QM.js → chunk.BHRS27UA.js} +2 -2
- package/dist/chunks/{chunk.WU22WCIW.js → chunk.BXBQK3TB.js} +5 -5
- package/dist/chunks/chunk.BXBQK3TB.js.map +7 -0
- package/dist/chunks/{chunk.PIVTCFVM.js → chunk.C6TYP6DS.js} +2 -2
- package/dist/chunks/{chunk.GL3EYIRY.js → chunk.C6UWNTFC.js} +2 -2
- package/dist/chunks/{chunk.BNHJ5OKO.js → chunk.CADFUJEC.js} +4 -4
- package/dist/chunks/{chunk.FXO36T5G.js → chunk.CFPUCJM4.js} +4 -4
- package/dist/chunks/{chunk.ZSQOHWZW.js → chunk.CRNTLHHO.js} +3 -3
- package/dist/chunks/{chunk.E7I3J5SD.js → chunk.CTIV3PDX.js} +2 -2
- package/dist/chunks/{chunk.QDJC3QVC.js → chunk.DQDMEFGY.js} +3 -3
- package/dist/chunks/{chunk.MWFVQQRA.js → chunk.DXU26VPN.js} +3 -3
- package/dist/chunks/{chunk.Q3BJU6OI.js → chunk.ERRWQS7Y.js} +2 -2
- package/dist/chunks/{chunk.MPFHBRBB.js → chunk.F6QEUBK3.js} +2 -2
- package/dist/chunks/{chunk.QOSVIEWF.js → chunk.FMX3E6SS.js} +4 -4
- package/dist/chunks/{chunk.TR5DMYXN.js → chunk.G4XRAVPS.js} +6 -6
- package/dist/chunks/{chunk.4KZG5ZGR.js → chunk.GBHDS2IR.js} +2 -2
- package/dist/chunks/{chunk.MIVLWJE3.js → chunk.GCRXP6BG.js} +3 -3
- package/dist/chunks/{chunk.QCEDZQIZ.js → chunk.GFJ5QZBK.js} +6 -6
- package/dist/chunks/{chunk.PHSST3GN.js → chunk.GMYIVXWP.js} +2 -2
- package/dist/chunks/{chunk.MKXDHGKC.js → chunk.H7FTAZDC.js} +2 -2
- package/dist/chunks/{chunk.RUVDIFIF.js → chunk.HANB33UT.js} +2 -2
- package/dist/chunks/{chunk.QAD2SZSR.js → chunk.HB7DPOMI.js} +2 -2
- package/dist/chunks/{chunk.V5KACUQG.js → chunk.HC77F5GA.js} +2 -2
- package/dist/chunks/{chunk.WCOUFKSE.js → chunk.HIJUMXP4.js} +3 -3
- package/dist/chunks/{chunk.RY2FCMQD.js → chunk.HN5M2E74.js} +2 -2
- package/dist/chunks/{chunk.EFJBDR7Z.js → chunk.HVUYGACL.js} +2 -2
- package/dist/chunks/{chunk.IS3GLJCO.js → chunk.J4AQWKAH.js} +2 -2
- package/dist/chunks/{chunk.3P2RJ7Q2.js → chunk.JE7DIAFP.js} +2 -2
- package/dist/chunks/{chunk.XWD7JUJ3.js → chunk.JLARVA4R.js} +2 -2
- package/dist/chunks/{chunk.EA3473S6.js → chunk.JUON2HSD.js} +2 -2
- package/dist/chunks/{chunk.2NU65US2.js → chunk.JVY2KNFK.js} +2 -2
- package/dist/chunks/{chunk.JW7A7O45.js → chunk.KDYONRAA.js} +2 -2
- package/dist/chunks/{chunk.WTGV2YHS.js → chunk.KSCYTDDN.js} +2 -2
- package/dist/chunks/{chunk.RSI47MJF.js → chunk.KVGLARVX.js} +2 -2
- package/dist/chunks/{chunk.67SXXBDE.js → chunk.L6GZTHH2.js} +21 -6
- package/dist/chunks/chunk.L6GZTHH2.js.map +7 -0
- package/dist/chunks/{chunk.XHCIGXHD.js → chunk.LGYTX653.js} +3 -3
- package/dist/chunks/{chunk.MINKKHKX.js → chunk.LX6MQEJV.js} +2 -2
- package/dist/chunks/{chunk.MBU55RN2.js → chunk.MBRJXK3O.js} +2 -2
- package/dist/chunks/{chunk.YRL6NFIW.js → chunk.ME6NYHXY.js} +2 -2
- package/dist/chunks/{chunk.47LU3JDG.js → chunk.MJSQXS35.js} +2 -2
- package/dist/chunks/{chunk.NZUG4LYW.js → chunk.NDXRKDL3.js} +2 -2
- package/dist/chunks/{chunk.DBE55F4E.js → chunk.NEOUHIDX.js} +2 -2
- package/dist/chunks/{chunk.YAKAIJGX.js → chunk.NJV5WZBN.js} +2 -2
- package/dist/chunks/{chunk.6K5UWP6M.js → chunk.NJXXQYZX.js} +2 -2
- package/dist/chunks/{chunk.2EJUYOXJ.js → chunk.P7ET37O6.js} +2 -2
- package/dist/chunks/{chunk.RID4SZEA.js → chunk.PBILQMHE.js} +2 -2
- package/dist/chunks/{chunk.YR46HSA7.js → chunk.PBYEKOOF.js} +2 -2
- package/dist/chunks/{chunk.43PNVQ2M.js → chunk.PHIRFXRF.js} +3 -3
- package/dist/chunks/chunk.PHIRFXRF.js.map +7 -0
- package/dist/chunks/{chunk.JY3G4O3W.js → chunk.Q3LUZOD3.js} +2 -2
- package/dist/chunks/{chunk.VIV2SMKB.js → chunk.QLUFRXHK.js} +9 -9
- package/dist/chunks/chunk.QLUFRXHK.js.map +7 -0
- package/dist/chunks/{chunk.A3ONRZQG.js → chunk.RAHUTBPN.js} +2 -2
- package/dist/chunks/{chunk.O7YHFE5A.js → chunk.RCRHMX5J.js} +2 -2
- package/dist/chunks/{chunk.OKUJNBZA.js → chunk.RDRWZE6I.js} +2 -2
- package/dist/chunks/{chunk.CWATEWX3.js → chunk.RHKI2RSX.js} +6 -6
- package/dist/chunks/{chunk.HXICOH2D.js → chunk.ROS6G7F5.js} +2 -2
- package/dist/chunks/{chunk.775OBFIE.js → chunk.RZKOGDMT.js} +2 -2
- package/dist/chunks/{chunk.SOOHRWAC.js → chunk.TAHGMS7X.js} +3 -3
- package/dist/chunks/{chunk.4N4F6TPI.js → chunk.TLOBRCJ7.js} +2 -2
- package/dist/chunks/{chunk.72SPXN4M.js → chunk.TMIYLOAZ.js} +2 -2
- package/dist/chunks/{chunk.4P5VXNLJ.js → chunk.TTKLTIKP.js} +2 -2
- package/dist/chunks/{chunk.5YDLLB4H.js → chunk.TVIGWT6Z.js} +2 -2
- package/dist/chunks/{chunk.2FMOTYVN.js → chunk.UUOIHYGE.js} +3 -3
- package/dist/chunks/{chunk.QEVG633Q.js → chunk.VMO643NZ.js} +2 -2
- package/dist/chunks/{chunk.LXB2K2EP.js → chunk.VPLFHUPG.js} +2 -2
- package/dist/chunks/{chunk.WZBR6MRC.js → chunk.WH653LKD.js} +2 -2
- package/dist/chunks/{chunk.S2CO77RZ.js → chunk.WQ5WXIL6.js} +4 -4
- package/dist/chunks/{chunk.477UZTHM.js → chunk.XLWYE4TZ.js} +2 -2
- package/dist/chunks/{chunk.G2E6IU6K.js → chunk.XYTP4HII.js} +3 -3
- package/dist/chunks/{chunk.IHHIBS6E.js → chunk.YBI7X2BA.js} +2 -2
- package/dist/chunks/{chunk.PV2BBLSA.js → chunk.YCOTL24V.js} +3 -3
- package/dist/chunks/{chunk.EAS6P6PE.js → chunk.YNYJD6XX.js} +2 -2
- package/dist/chunks/{chunk.CJPSAUTD.js → chunk.YS5HAVJH.js} +2 -2
- package/dist/chunks/{chunk.UJGWVOQC.js → chunk.Z4KPGJ4M.js} +2 -2
- package/dist/chunks/{chunk.2SFJYVUS.js → chunk.ZC3WZ4HD.js} +4 -4
- package/dist/chunks/{chunk.EKQIQ2DM.js → chunk.ZNBA6PHQ.js} +2 -2
- package/dist/chunks/{chunk.XWRFKT3X.js → chunk.ZUHAUFNE.js} +2 -2
- package/dist/components/accordion/accordion.component.js +2 -2
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/alert/alert.component.js +4 -4
- package/dist/components/alert/alert.js +5 -5
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- 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 +4 -4
- package/dist/components/button/button.js +5 -5
- 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 +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/combobox/combobox.component.d.ts +1 -0
- package/dist/components/combobox/combobox.component.js +6 -5
- package/dist/components/combobox/combobox.js +7 -6
- package/dist/components/details/details.component.js +3 -3
- package/dist/components/details/details.js +4 -4
- package/dist/components/dialog/dialog.component.js +4 -4
- package/dist/components/dialog/dialog.js +5 -5
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +4 -4
- package/dist/components/drawer/drawer.js +5 -5
- package/dist/components/dropdown/dropdown.component.d.ts +1 -0
- package/dist/components/dropdown/dropdown.component.js +4 -3
- package/dist/components/dropdown/dropdown.js +5 -4
- package/dist/components/file/file.component.js +5 -5
- package/dist/components/file/file.js +6 -6
- package/dist/components/header/header.component.js +4 -4
- package/dist/components/header/header.js +5 -5
- 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 +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/input/input.component.js +4 -4
- package/dist/components/input/input.js +5 -5
- 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 +6 -5
- package/dist/components/menu-item/menu-item.js +7 -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 +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/popup/popup.component.d.ts +1 -0
- package/dist/components/popup/popup.component.js +3 -2
- package/dist/components/popup/popup.custom.styles.d.ts +2 -0
- package/dist/components/popup/popup.custom.styles.js +8 -0
- package/dist/components/popup/popup.custom.styles.js.map +7 -0
- package/dist/components/popup/popup.js +4 -3
- package/dist/components/prio-nav/prio-nav.component.js +9 -8
- package/dist/components/prio-nav/prio-nav.js +10 -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 +3 -3
- package/dist/components/radio/radio.js +4 -4
- 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/range/range.component.js +5 -4
- package/dist/components/range/range.js +6 -5
- 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.d.ts +1 -0
- package/dist/components/select/select.component.js +8 -7
- package/dist/components/select/select.js +9 -8
- package/dist/components/side-nav/side-nav.component.js +7 -7
- package/dist/components/side-nav/side-nav.js +8 -8
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- 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 +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/tooltip/tooltip.component.d.ts +1 -0
- package/dist/components/tooltip/tooltip.component.js +4 -3
- package/dist/components/tooltip/tooltip.js +5 -4
- package/dist/components/validate/utility.js +2 -2
- package/dist/components/validate/validate.component.js +6 -6
- package/dist/components/validate/validate.js +7 -7
- package/dist/custom-elements.json +11 -1
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +106 -105
- package/package.json +5 -5
- package/dist/chunks/chunk.43PNVQ2M.js.map +0 -7
- package/dist/chunks/chunk.67SXXBDE.js.map +0 -7
- package/dist/chunks/chunk.VIV2SMKB.js.map +0 -7
- package/dist/chunks/chunk.WU22WCIW.js.map +0 -7
- /package/dist/chunks/{chunk.AEYPPPBN.js.map → chunk.245S7GWI.js.map} +0 -0
- /package/dist/chunks/{chunk.3YXGL6PB.js.map → chunk.2YJPFMPZ.js.map} +0 -0
- /package/dist/chunks/{chunk.SAP4WZHM.js.map → chunk.2ZILCVCN.js.map} +0 -0
- /package/dist/chunks/{chunk.F4TQMBPQ.js.map → chunk.3GKI2SN6.js.map} +0 -0
- /package/dist/chunks/{chunk.IY7C7TXC.js.map → chunk.3GR65RWU.js.map} +0 -0
- /package/dist/chunks/{chunk.MVTYOC4G.js.map → chunk.4E6YKCXO.js.map} +0 -0
- /package/dist/chunks/{chunk.NHGGACXF.js.map → chunk.5IZZU7YZ.js.map} +0 -0
- /package/dist/chunks/{chunk.GCRD4HSU.js.map → chunk.5MJ6U3ZD.js.map} +0 -0
- /package/dist/chunks/{chunk.QCDUTFT3.js.map → chunk.5RXKCWCZ.js.map} +0 -0
- /package/dist/chunks/{chunk.UE5Y2G5J.js.map → chunk.66X6L2S6.js.map} +0 -0
- /package/dist/chunks/{chunk.UJ7DPXBG.js.map → chunk.6I4PJUUF.js.map} +0 -0
- /package/dist/chunks/{chunk.MON5ZZWQ.js.map → chunk.6UFMDQHA.js.map} +0 -0
- /package/dist/chunks/{chunk.FIFYXTSV.js.map → chunk.6WGVJKL6.js.map} +0 -0
- /package/dist/chunks/{chunk.GH7M77F4.js.map → chunk.7FW3LXOS.js.map} +0 -0
- /package/dist/chunks/{chunk.U6RTUABL.js.map → chunk.AAI3YT4E.js.map} +0 -0
- /package/dist/chunks/{chunk.GPDFPMAA.js.map → chunk.ANA4XLX5.js.map} +0 -0
- /package/dist/chunks/{chunk.V2JF2ARW.js.map → chunk.ATBW2OIF.js.map} +0 -0
- /package/dist/chunks/{chunk.2FVXIEHW.js.map → chunk.BDVEGRSM.js.map} +0 -0
- /package/dist/chunks/{chunk.ERWTU5QM.js.map → chunk.BHRS27UA.js.map} +0 -0
- /package/dist/chunks/{chunk.PIVTCFVM.js.map → chunk.C6TYP6DS.js.map} +0 -0
- /package/dist/chunks/{chunk.GL3EYIRY.js.map → chunk.C6UWNTFC.js.map} +0 -0
- /package/dist/chunks/{chunk.BNHJ5OKO.js.map → chunk.CADFUJEC.js.map} +0 -0
- /package/dist/chunks/{chunk.FXO36T5G.js.map → chunk.CFPUCJM4.js.map} +0 -0
- /package/dist/chunks/{chunk.ZSQOHWZW.js.map → chunk.CRNTLHHO.js.map} +0 -0
- /package/dist/chunks/{chunk.E7I3J5SD.js.map → chunk.CTIV3PDX.js.map} +0 -0
- /package/dist/chunks/{chunk.QDJC3QVC.js.map → chunk.DQDMEFGY.js.map} +0 -0
- /package/dist/chunks/{chunk.MWFVQQRA.js.map → chunk.DXU26VPN.js.map} +0 -0
- /package/dist/chunks/{chunk.Q3BJU6OI.js.map → chunk.ERRWQS7Y.js.map} +0 -0
- /package/dist/chunks/{chunk.MPFHBRBB.js.map → chunk.F6QEUBK3.js.map} +0 -0
- /package/dist/chunks/{chunk.QOSVIEWF.js.map → chunk.FMX3E6SS.js.map} +0 -0
- /package/dist/chunks/{chunk.TR5DMYXN.js.map → chunk.G4XRAVPS.js.map} +0 -0
- /package/dist/chunks/{chunk.4KZG5ZGR.js.map → chunk.GBHDS2IR.js.map} +0 -0
- /package/dist/chunks/{chunk.MIVLWJE3.js.map → chunk.GCRXP6BG.js.map} +0 -0
- /package/dist/chunks/{chunk.QCEDZQIZ.js.map → chunk.GFJ5QZBK.js.map} +0 -0
- /package/dist/chunks/{chunk.PHSST3GN.js.map → chunk.GMYIVXWP.js.map} +0 -0
- /package/dist/chunks/{chunk.MKXDHGKC.js.map → chunk.H7FTAZDC.js.map} +0 -0
- /package/dist/chunks/{chunk.RUVDIFIF.js.map → chunk.HANB33UT.js.map} +0 -0
- /package/dist/chunks/{chunk.QAD2SZSR.js.map → chunk.HB7DPOMI.js.map} +0 -0
- /package/dist/chunks/{chunk.V5KACUQG.js.map → chunk.HC77F5GA.js.map} +0 -0
- /package/dist/chunks/{chunk.WCOUFKSE.js.map → chunk.HIJUMXP4.js.map} +0 -0
- /package/dist/chunks/{chunk.RY2FCMQD.js.map → chunk.HN5M2E74.js.map} +0 -0
- /package/dist/chunks/{chunk.EFJBDR7Z.js.map → chunk.HVUYGACL.js.map} +0 -0
- /package/dist/chunks/{chunk.IS3GLJCO.js.map → chunk.J4AQWKAH.js.map} +0 -0
- /package/dist/chunks/{chunk.3P2RJ7Q2.js.map → chunk.JE7DIAFP.js.map} +0 -0
- /package/dist/chunks/{chunk.XWD7JUJ3.js.map → chunk.JLARVA4R.js.map} +0 -0
- /package/dist/chunks/{chunk.EA3473S6.js.map → chunk.JUON2HSD.js.map} +0 -0
- /package/dist/chunks/{chunk.2NU65US2.js.map → chunk.JVY2KNFK.js.map} +0 -0
- /package/dist/chunks/{chunk.JW7A7O45.js.map → chunk.KDYONRAA.js.map} +0 -0
- /package/dist/chunks/{chunk.WTGV2YHS.js.map → chunk.KSCYTDDN.js.map} +0 -0
- /package/dist/chunks/{chunk.RSI47MJF.js.map → chunk.KVGLARVX.js.map} +0 -0
- /package/dist/chunks/{chunk.XHCIGXHD.js.map → chunk.LGYTX653.js.map} +0 -0
- /package/dist/chunks/{chunk.MINKKHKX.js.map → chunk.LX6MQEJV.js.map} +0 -0
- /package/dist/chunks/{chunk.MBU55RN2.js.map → chunk.MBRJXK3O.js.map} +0 -0
- /package/dist/chunks/{chunk.YRL6NFIW.js.map → chunk.ME6NYHXY.js.map} +0 -0
- /package/dist/chunks/{chunk.47LU3JDG.js.map → chunk.MJSQXS35.js.map} +0 -0
- /package/dist/chunks/{chunk.NZUG4LYW.js.map → chunk.NDXRKDL3.js.map} +0 -0
- /package/dist/chunks/{chunk.DBE55F4E.js.map → chunk.NEOUHIDX.js.map} +0 -0
- /package/dist/chunks/{chunk.YAKAIJGX.js.map → chunk.NJV5WZBN.js.map} +0 -0
- /package/dist/chunks/{chunk.6K5UWP6M.js.map → chunk.NJXXQYZX.js.map} +0 -0
- /package/dist/chunks/{chunk.2EJUYOXJ.js.map → chunk.P7ET37O6.js.map} +0 -0
- /package/dist/chunks/{chunk.RID4SZEA.js.map → chunk.PBILQMHE.js.map} +0 -0
- /package/dist/chunks/{chunk.YR46HSA7.js.map → chunk.PBYEKOOF.js.map} +0 -0
- /package/dist/chunks/{chunk.JY3G4O3W.js.map → chunk.Q3LUZOD3.js.map} +0 -0
- /package/dist/chunks/{chunk.A3ONRZQG.js.map → chunk.RAHUTBPN.js.map} +0 -0
- /package/dist/chunks/{chunk.O7YHFE5A.js.map → chunk.RCRHMX5J.js.map} +0 -0
- /package/dist/chunks/{chunk.OKUJNBZA.js.map → chunk.RDRWZE6I.js.map} +0 -0
- /package/dist/chunks/{chunk.CWATEWX3.js.map → chunk.RHKI2RSX.js.map} +0 -0
- /package/dist/chunks/{chunk.HXICOH2D.js.map → chunk.ROS6G7F5.js.map} +0 -0
- /package/dist/chunks/{chunk.775OBFIE.js.map → chunk.RZKOGDMT.js.map} +0 -0
- /package/dist/chunks/{chunk.SOOHRWAC.js.map → chunk.TAHGMS7X.js.map} +0 -0
- /package/dist/chunks/{chunk.4N4F6TPI.js.map → chunk.TLOBRCJ7.js.map} +0 -0
- /package/dist/chunks/{chunk.72SPXN4M.js.map → chunk.TMIYLOAZ.js.map} +0 -0
- /package/dist/chunks/{chunk.4P5VXNLJ.js.map → chunk.TTKLTIKP.js.map} +0 -0
- /package/dist/chunks/{chunk.5YDLLB4H.js.map → chunk.TVIGWT6Z.js.map} +0 -0
- /package/dist/chunks/{chunk.2FMOTYVN.js.map → chunk.UUOIHYGE.js.map} +0 -0
- /package/dist/chunks/{chunk.QEVG633Q.js.map → chunk.VMO643NZ.js.map} +0 -0
- /package/dist/chunks/{chunk.LXB2K2EP.js.map → chunk.VPLFHUPG.js.map} +0 -0
- /package/dist/chunks/{chunk.WZBR6MRC.js.map → chunk.WH653LKD.js.map} +0 -0
- /package/dist/chunks/{chunk.S2CO77RZ.js.map → chunk.WQ5WXIL6.js.map} +0 -0
- /package/dist/chunks/{chunk.477UZTHM.js.map → chunk.XLWYE4TZ.js.map} +0 -0
- /package/dist/chunks/{chunk.G2E6IU6K.js.map → chunk.XYTP4HII.js.map} +0 -0
- /package/dist/chunks/{chunk.IHHIBS6E.js.map → chunk.YBI7X2BA.js.map} +0 -0
- /package/dist/chunks/{chunk.PV2BBLSA.js.map → chunk.YCOTL24V.js.map} +0 -0
- /package/dist/chunks/{chunk.EAS6P6PE.js.map → chunk.YNYJD6XX.js.map} +0 -0
- /package/dist/chunks/{chunk.CJPSAUTD.js.map → chunk.YS5HAVJH.js.map} +0 -0
- /package/dist/chunks/{chunk.UJGWVOQC.js.map → chunk.Z4KPGJ4M.js.map} +0 -0
- /package/dist/chunks/{chunk.2SFJYVUS.js.map → chunk.ZC3WZ4HD.js.map} +0 -0
- /package/dist/chunks/{chunk.EKQIQ2DM.js.map → chunk.ZNBA6PHQ.js.map} +0 -0
- /package/dist/chunks/{chunk.XWRFKT3X.js.map → chunk.ZUHAUFNE.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDropdown
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.PHIRFXRF.js";
|
|
4
4
|
|
|
5
5
|
// src/components/dropdown/dropdown.ts
|
|
6
6
|
var dropdown_default = SynDropdown;
|
|
@@ -9,4 +9,4 @@ SynDropdown.define("syn-dropdown");
|
|
|
9
9
|
export {
|
|
10
10
|
dropdown_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.HVUYGACL.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.NLYVOJGK.js";
|
|
16
16
|
import {
|
|
17
17
|
SynergyElement
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.7C42R3TS.js";
|
|
19
19
|
import {
|
|
20
20
|
__decorateClass
|
|
21
21
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -120,4 +120,4 @@ __decorateClass([
|
|
|
120
120
|
export {
|
|
121
121
|
SynBreadcrumbItem
|
|
122
122
|
};
|
|
123
|
-
//# sourceMappingURL=chunk.
|
|
123
|
+
//# sourceMappingURL=chunk.J4AQWKAH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynHeader
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.YCOTL24V.js";
|
|
4
4
|
|
|
5
5
|
// src/components/header/header.ts
|
|
6
6
|
var header_default = SynHeader;
|
|
@@ -9,4 +9,4 @@ SynHeader.define("syn-header");
|
|
|
9
9
|
export {
|
|
10
10
|
header_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.JE7DIAFP.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadioButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.VPLFHUPG.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio-button/radio-button.ts
|
|
6
6
|
var radio_button_default = SynRadioButton;
|
|
@@ -9,4 +9,4 @@ SynRadioButton.define("syn-radio-button");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.JLARVA4R.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.QLUFRXHK.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.JUON2HSD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadio
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.XYTP4HII.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.JVY2KNFK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynFile
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.FMX3E6SS.js";
|
|
4
4
|
|
|
5
5
|
// src/components/file/file.ts
|
|
6
6
|
var file_default = SynFile;
|
|
@@ -9,4 +9,4 @@ SynFile.define("syn-file");
|
|
|
9
9
|
export {
|
|
10
10
|
file_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.KDYONRAA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynCard
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.LX6MQEJV.js";
|
|
4
4
|
|
|
5
5
|
// src/components/card/card.ts
|
|
6
6
|
var card_default = SynCard;
|
|
@@ -9,4 +9,4 @@ SynCard.define("syn-card");
|
|
|
9
9
|
export {
|
|
10
10
|
card_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.KSCYTDDN.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk.NLYVOJGK.js";
|
|
18
18
|
import {
|
|
19
19
|
SynergyElement
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.7C42R3TS.js";
|
|
21
21
|
import {
|
|
22
22
|
__decorateClass
|
|
23
23
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -191,4 +191,4 @@ __decorateClass([
|
|
|
191
191
|
export {
|
|
192
192
|
SynIcon
|
|
193
193
|
};
|
|
194
|
-
//# sourceMappingURL=chunk.
|
|
194
|
+
//# sourceMappingURL=chunk.KVGLARVX.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
popup_custom_styles_default
|
|
3
|
+
} from "./chunk.36EHOOOO.js";
|
|
1
4
|
import {
|
|
2
5
|
popup_styles_default
|
|
3
6
|
} from "./chunk.AZ3N5IOO.js";
|
|
@@ -9,7 +12,7 @@ import {
|
|
|
9
12
|
} from "./chunk.NLYVOJGK.js";
|
|
10
13
|
import {
|
|
11
14
|
SynergyElement
|
|
12
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.7C42R3TS.js";
|
|
13
16
|
import {
|
|
14
17
|
__decorateClass,
|
|
15
18
|
__spreadProps,
|
|
@@ -19,9 +22,12 @@ import {
|
|
|
19
22
|
// src/components/popup/popup.component.ts
|
|
20
23
|
import { arrow, autoUpdate, computePosition, flip, offset, platform, shift, size } from "@floating-ui/dom";
|
|
21
24
|
import { classMap } from "lit/directives/class-map.js";
|
|
25
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
22
26
|
import { html } from "lit";
|
|
23
27
|
import { offsetParent } from "composed-offset-position";
|
|
24
28
|
import { property, query } from "lit/decorators.js";
|
|
29
|
+
var _a;
|
|
30
|
+
var SUPPORTS_POPOVER = (_a = globalThis == null ? void 0 : globalThis.HTMLElement) == null ? void 0 : _a.prototype.hasOwnProperty("popover");
|
|
25
31
|
function isVirtualElement(e) {
|
|
26
32
|
return e !== null && typeof e === "object" && "getBoundingClientRect" in e && ("contextElement" in e ? e.contextElement instanceof Element : true);
|
|
27
33
|
}
|
|
@@ -154,15 +160,23 @@ var SynPopup = class extends SynergyElement {
|
|
|
154
160
|
}
|
|
155
161
|
}
|
|
156
162
|
start() {
|
|
163
|
+
var _a2, _b;
|
|
157
164
|
if (!this.anchorEl || !this.active) {
|
|
158
165
|
return;
|
|
159
166
|
}
|
|
167
|
+
if (SUPPORTS_POPOVER) {
|
|
168
|
+
(_b = (_a2 = this.popup).showPopover) == null ? void 0 : _b.call(_a2);
|
|
169
|
+
}
|
|
160
170
|
this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
|
|
161
171
|
this.reposition();
|
|
162
172
|
});
|
|
163
173
|
}
|
|
164
174
|
async stop() {
|
|
165
175
|
return new Promise((resolve) => {
|
|
176
|
+
var _a2, _b;
|
|
177
|
+
if (SUPPORTS_POPOVER) {
|
|
178
|
+
(_b = (_a2 = this.popup).hidePopover) == null ? void 0 : _b.call(_a2);
|
|
179
|
+
}
|
|
166
180
|
if (this.cleanup) {
|
|
167
181
|
this.cleanup();
|
|
168
182
|
this.cleanup = void 0;
|
|
@@ -249,11 +263,11 @@ var SynPopup = class extends SynergyElement {
|
|
|
249
263
|
})
|
|
250
264
|
);
|
|
251
265
|
}
|
|
252
|
-
const getOffsetParent = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, offsetParent) : platform.getOffsetParent;
|
|
266
|
+
const getOffsetParent = SUPPORTS_POPOVER || this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, offsetParent) : platform.getOffsetParent;
|
|
253
267
|
computePosition(this.anchorEl, this.popup, {
|
|
254
268
|
placement: this.placement,
|
|
255
269
|
middleware,
|
|
256
|
-
strategy: this.strategy,
|
|
270
|
+
strategy: SUPPORTS_POPOVER ? "absolute" : this.strategy,
|
|
257
271
|
platform: __spreadProps(__spreadValues({}, platform), {
|
|
258
272
|
getOffsetParent
|
|
259
273
|
})
|
|
@@ -315,10 +329,11 @@ var SynPopup = class extends SynergyElement {
|
|
|
315
329
|
|
|
316
330
|
<div
|
|
317
331
|
part="popup"
|
|
332
|
+
popover=${ifDefined(SUPPORTS_POPOVER ? "manual" : void 0)}
|
|
318
333
|
class=${classMap({
|
|
319
334
|
popup: true,
|
|
320
335
|
"popup--active": this.active,
|
|
321
|
-
"popup--fixed": this.strategy === "fixed",
|
|
336
|
+
"popup--fixed": !SUPPORTS_POPOVER && this.strategy === "fixed",
|
|
322
337
|
"popup--has-arrow": this.arrow
|
|
323
338
|
})}
|
|
324
339
|
>
|
|
@@ -328,7 +343,7 @@ var SynPopup = class extends SynergyElement {
|
|
|
328
343
|
`;
|
|
329
344
|
}
|
|
330
345
|
};
|
|
331
|
-
SynPopup.styles = [component_styles_default, popup_styles_default];
|
|
346
|
+
SynPopup.styles = [component_styles_default, popup_styles_default, popup_custom_styles_default];
|
|
332
347
|
__decorateClass([
|
|
333
348
|
query(".popup")
|
|
334
349
|
], SynPopup.prototype, "popup", 2);
|
|
@@ -415,4 +430,4 @@ __decorateClass([
|
|
|
415
430
|
export {
|
|
416
431
|
SynPopup
|
|
417
432
|
};
|
|
418
|
-
//# sourceMappingURL=chunk.
|
|
433
|
+
//# sourceMappingURL=chunk.L6GZTHH2.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/popup/popup.component.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { arrow, autoUpdate, computePosition, flip, offset, platform, shift, size } from '@floating-ui/dom';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { offsetParent } from 'composed-offset-position';\nimport { property, query } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './popup.styles.js';\nimport customStyles from './popup.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\nconst SUPPORTS_POPOVER = globalThis?.HTMLElement?.prototype.hasOwnProperty('popover');\n\nexport interface VirtualElement {\n getBoundingClientRect: () => DOMRect;\n contextElement?: Element;\n}\n\nfunction isVirtualElement(e: unknown): e is VirtualElement {\n return (\n e !== null &&\n typeof e === 'object' &&\n 'getBoundingClientRect' in e &&\n ('contextElement' in e ? e.contextElement instanceof Element : true)\n );\n}\n\n/**\n * @summary Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-popup--docs\n * @status stable\n * @since 2.0\n *\n * @event syn-reposition - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive\n * operations in your listener or consider debouncing it.\n *\n * @slot - The popup's content.\n * @slot anchor - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the\n * `anchor` attribute or property instead.\n *\n * @csspart arrow - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are\n * assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and\n * maybe a border or box shadow.\n * @csspart popup - The popup's container. Useful for setting a background color, box shadow, etc.\n * @csspart hover-bridge - The hover bridge element. Only available when the `hover-bridge` option is enabled.\n *\n * @cssproperty [--arrow-size=6px] - The size of the arrow. Note that an arrow won't be shown unless the `arrow`\n * attribute is used.\n * @cssproperty [--arrow-color=var(--syn-color-neutral-0)] - The color of the arrow.\n * @cssproperty [--auto-size-available-width] - A read-only custom property that determines the amount of width the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n * @cssproperty [--auto-size-available-height] - A read-only custom property that determines the amount of height the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n */\nexport default class SynPopup extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private anchorEl: Element | VirtualElement | null;\n private cleanup: ReturnType<typeof autoUpdate> | undefined;\n private readonly localize = new LocalizeController(this);\n\n /** A reference to the internal popup container. Useful for animating and styling the popup with JavaScript. */\n @query('.popup') popup: HTMLElement;\n @query('.popup__arrow') private arrowEl: HTMLElement;\n\n /**\n * The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide the anchor\n * element `id`, a DOM element reference, or a `VirtualElement`. If the anchor lives inside the popup, use the\n * `anchor` slot instead.\n */\n @property() anchor: Element | string | VirtualElement;\n\n /**\n * Activates the positioning logic and shows the popup. When this attribute is removed, the positioning logic is torn\n * down and the popup will be hidden.\n */\n @property({ type: Boolean, reflect: true }) active = false;\n\n /**\n * The preferred placement of the popup. Note that the actual placement will vary as configured to keep the\n * panel inside of the viewport.\n */\n @property({ reflect: true }) placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /**\n * Determines how the popup is positioned. The `absolute` strategy works well in most cases, but if overflow is\n * clipped, using a `fixed` position strategy can often workaround it.\n * @deprecated The strategy property is deprecated and will be removed in future versions. Modern browsers support the popover element which is used internally instead.\n */\n @property({ reflect: true }) strategy: 'absolute' | 'fixed' = 'absolute';\n\n /** The distance in pixels from which to offset the panel away from its anchor. */\n @property({ type: Number }) distance = 0;\n\n /** The distance in pixels from which to offset the panel along its anchor. */\n @property({ type: Number }) skidding = 0;\n\n /**\n * Attaches an arrow to the popup. The arrow's size and color can be customized using the `--arrow-size` and\n * `--arrow-color` custom properties. For additional customizations, you can also target the arrow using\n * `::part(arrow)` in your stylesheet.\n */\n @property({ type: Boolean }) arrow = false;\n\n /**\n * The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\n * anchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\n * align the arrow to the start, end, or center of the popover instead.\n */\n @property({ attribute: 'arrow-placement' }) arrowPlacement: 'start' | 'end' | 'center' | 'anchor' = 'anchor';\n\n /**\n * The amount of padding between the arrow and the edges of the popup. If the popup has a border-radius, for example,\n * this will prevent it from overflowing the corners.\n */\n @property({ attribute: 'arrow-padding', type: Number }) arrowPadding = 10;\n\n /**\n * When set, placement of the popup will flip to the opposite site to keep it in view. You can use\n * `flipFallbackPlacements` to further configure how the fallback placement is determined.\n */\n @property({ type: Boolean }) flip = false;\n\n /**\n * If the preferred placement doesn't fit, popup will be tested in these fallback placements until one fits. Must be a\n * string of any number of placements separated by a space, e.g. \"top bottom left\". If no placement fits, the flip\n * fallback strategy will be used instead.\n * */\n @property({\n attribute: 'flip-fallback-placements',\n converter: {\n fromAttribute: (value: string) => {\n return value\n .split(' ')\n .map(p => p.trim())\n .filter(p => p !== '');\n },\n toAttribute: (value: []) => {\n return value.join(' ');\n }\n }\n })\n flipFallbackPlacements = '';\n\n /**\n * When neither the preferred placement nor the fallback placements fit, this value will be used to determine whether\n * the popup should be positioned using the best available fit based on available space or as it was initially\n * preferred.\n */\n @property({ attribute: 'flip-fallback-strategy' }) flipFallbackStrategy: 'best-fit' | 'initial' = 'best-fit';\n\n /**\n * The flip boundary describes clipping element(s) that overflow will be checked relative to when flipping. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) flipBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the flip behavior will occur. */\n @property({ attribute: 'flip-padding', type: Number }) flipPadding = 0;\n\n /** Moves the popup along the axis to keep it in view when clipped. */\n @property({ type: Boolean }) shift = false;\n\n /**\n * The shift boundary describes clipping element(s) that overflow will be checked relative to when shifting. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) shiftBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the shift behavior will occur. */\n @property({ attribute: 'shift-padding', type: Number }) shiftPadding = 0;\n\n /** When set, this will cause the popup to automatically resize itself to prevent it from overflowing. */\n @property({ attribute: 'auto-size' }) autoSize: 'horizontal' | 'vertical' | 'both';\n\n /** Syncs the popup's width or height to that of the anchor element. */\n @property() sync: 'width' | 'height' | 'both';\n\n /**\n * The auto-size boundary describes clipping element(s) that overflow will be checked relative to when resizing. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) autoSizeBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the auto-size behavior will occur. */\n @property({ attribute: 'auto-size-padding', type: Number }) autoSizePadding = 0;\n\n /**\n * When a gap exists between the anchor and the popup element, this option will add a \"hover bridge\" that fills the\n * gap using an invisible element. This makes listening for events such as `mouseenter` and `mouseleave` more sane\n * because the pointer never technically leaves the element. The hover bridge will only be drawn when the popover is\n * active.\n */\n @property({ attribute: 'hover-bridge', type: Boolean }) hoverBridge = false;\n\n async connectedCallback() {\n super.connectedCallback();\n\n // Start the positioner after the first update\n await this.updateComplete;\n this.start();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.stop();\n }\n\n async updated(changedProps: Map<string, unknown>) {\n super.updated(changedProps);\n\n // Start or stop the positioner when active changes\n if (changedProps.has('active')) {\n if (this.active) {\n this.start();\n } else {\n this.stop();\n }\n }\n\n // Update the anchor when anchor changes\n if (changedProps.has('anchor')) {\n this.handleAnchorChange();\n }\n\n // All other properties will trigger a reposition when active\n if (this.active) {\n await this.updateComplete;\n this.reposition();\n }\n }\n\n private async handleAnchorChange() {\n await this.stop();\n\n if (this.anchor && typeof this.anchor === 'string') {\n // Locate the anchor by id\n const root = this.getRootNode() as Document | ShadowRoot;\n this.anchorEl = root.getElementById(this.anchor);\n } else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {\n // Use the anchor's reference\n this.anchorEl = this.anchor;\n } else {\n // Look for a slotted anchor\n this.anchorEl = this.querySelector<HTMLElement>('[slot=\"anchor\"]');\n }\n\n // If the anchor is a <slot>, we'll use the first assigned element as the target since slots use `display: contents`\n // and positioning can't be calculated on them\n if (this.anchorEl instanceof HTMLSlotElement) {\n this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0] as HTMLElement;\n }\n\n // If the anchor is valid, start it up\n if (this.anchorEl && this.active) {\n this.start();\n }\n }\n\n private start() {\n // We can't start the positioner without an anchor or when the popup is inactive\n if (!this.anchorEl || !this.active) {\n return;\n }\n\n if (SUPPORTS_POPOVER) {\n this.popup.showPopover?.();\n }\n\n this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {\n this.reposition();\n });\n }\n\n private async stop(): Promise<void> {\n return new Promise(resolve => {\n if (SUPPORTS_POPOVER) {\n this.popup.hidePopover?.();\n }\n if (this.cleanup) {\n this.cleanup();\n this.cleanup = undefined;\n this.removeAttribute('data-current-placement');\n this.style.removeProperty('--auto-size-available-width');\n this.style.removeProperty('--auto-size-available-height');\n requestAnimationFrame(() => resolve());\n } else {\n resolve();\n }\n });\n }\n\n /** Forces the popup to recalculate and reposition itself. */\n reposition() {\n // Nothing to do if the popup is inactive or the anchor doesn't exist\n if (!this.active || !this.anchorEl) {\n return;\n }\n\n //\n // NOTE: Floating UI middlewares are order dependent: https://floating-ui.com/docs/middleware\n //\n const middleware = [\n // The offset middleware goes first\n offset({ mainAxis: this.distance, crossAxis: this.skidding })\n ];\n\n // First we sync width/height\n if (this.sync) {\n middleware.push(\n size({\n apply: ({ rects }) => {\n const syncWidth = this.sync === 'width' || this.sync === 'both';\n const syncHeight = this.sync === 'height' || this.sync === 'both';\n this.popup.style.width = syncWidth ? `${rects.reference.width}px` : '';\n this.popup.style.height = syncHeight ? `${rects.reference.height}px` : '';\n }\n })\n );\n } else {\n // Cleanup styles if we're not matching width/height\n this.popup.style.width = '';\n this.popup.style.height = '';\n }\n\n // Then we flip\n if (this.flip) {\n middleware.push(\n flip({\n boundary: this.flipBoundary,\n // @ts-expect-error - We're converting a string attribute to an array here\n fallbackPlacements: this.flipFallbackPlacements,\n fallbackStrategy: this.flipFallbackStrategy === 'best-fit' ? 'bestFit' : 'initialPlacement',\n padding: this.flipPadding\n })\n );\n }\n\n // Then we shift\n if (this.shift) {\n middleware.push(\n shift({\n boundary: this.shiftBoundary,\n padding: this.shiftPadding\n })\n );\n }\n\n // Now we adjust the size as needed\n if (this.autoSize) {\n middleware.push(\n size({\n boundary: this.autoSizeBoundary,\n padding: this.autoSizePadding,\n apply: ({ availableWidth, availableHeight }) => {\n if (this.autoSize === 'vertical' || this.autoSize === 'both') {\n this.style.setProperty('--auto-size-available-height', `${availableHeight}px`);\n } else {\n this.style.removeProperty('--auto-size-available-height');\n }\n\n if (this.autoSize === 'horizontal' || this.autoSize === 'both') {\n this.style.setProperty('--auto-size-available-width', `${availableWidth}px`);\n } else {\n this.style.removeProperty('--auto-size-available-width');\n }\n }\n })\n );\n } else {\n // Cleanup styles if we're no longer using auto-size\n this.style.removeProperty('--auto-size-available-width');\n this.style.removeProperty('--auto-size-available-height');\n }\n\n // Finally, we add an arrow\n if (this.arrow) {\n middleware.push(\n arrow({\n element: this.arrowEl,\n padding: this.arrowPadding\n })\n );\n }\n\n //\n // Use custom positioning logic if the strategy is absolute. Otherwise, fall back to the default logic.\n //\n // More info: https://github.com/shoelace-style/shoelace/issues/1135\n //\n const getOffsetParent =\n SUPPORTS_POPOVER || this.strategy === 'absolute'\n ? (element: Element) => platform.getOffsetParent(element, offsetParent)\n : platform.getOffsetParent;\n\n computePosition(this.anchorEl, this.popup, {\n placement: this.placement,\n middleware,\n strategy: SUPPORTS_POPOVER ? 'absolute' : this.strategy,\n platform: {\n ...platform,\n getOffsetParent\n }\n }).then(({ x, y, middlewareData, placement }) => {\n //\n // Even though we have our own localization utility, it uses different heuristics to determine RTL. Because of\n // that, we'll use the same approach that Floating UI uses.\n //\n // Source: https://github.com/floating-ui/floating-ui/blob/cb3b6ab07f95275730d3e6e46c702f8d4908b55c/packages/dom/src/utils/getDocumentRect.ts#L31\n //\n const isRtl = this.localize.dir() === 'rtl';\n const staticSide = { top: 'bottom', right: 'left', bottom: 'top', left: 'right' }[placement.split('-')[0]]!;\n\n this.setAttribute('data-current-placement', placement);\n\n Object.assign(this.popup.style, {\n left: `${x}px`,\n top: `${y}px`\n });\n\n if (this.arrow) {\n const arrowX = middlewareData.arrow!.x;\n const arrowY = middlewareData.arrow!.y;\n let top = '';\n let right = '';\n let bottom = '';\n let left = '';\n\n if (this.arrowPlacement === 'start') {\n // Start\n const value = typeof arrowX === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n top = typeof arrowY === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n right = isRtl ? value : '';\n left = isRtl ? '' : value;\n } else if (this.arrowPlacement === 'end') {\n // End\n const value = typeof arrowX === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n right = isRtl ? '' : value;\n left = isRtl ? value : '';\n bottom = typeof arrowY === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n } else if (this.arrowPlacement === 'center') {\n // Center\n left = typeof arrowX === 'number' ? `calc(50% - var(--arrow-size-diagonal))` : '';\n top = typeof arrowY === 'number' ? `calc(50% - var(--arrow-size-diagonal))` : '';\n } else {\n // Anchor (default)\n left = typeof arrowX === 'number' ? `${arrowX}px` : '';\n top = typeof arrowY === 'number' ? `${arrowY}px` : '';\n }\n\n Object.assign(this.arrowEl.style, {\n top,\n right,\n bottom,\n left,\n [staticSide]: 'calc(var(--arrow-size-diagonal) * -1)'\n });\n }\n });\n\n // Wait until the new position is drawn before updating the hover bridge, otherwise it can get out of sync\n requestAnimationFrame(() => this.updateHoverBridge());\n\n this.emit('syn-reposition');\n }\n\n private updateHoverBridge = () => {\n if (this.hoverBridge && this.anchorEl) {\n const anchorRect = this.anchorEl.getBoundingClientRect();\n const popupRect = this.popup.getBoundingClientRect();\n const isVertical = this.placement.includes('top') || this.placement.includes('bottom');\n let topLeftX = 0;\n let topLeftY = 0;\n let topRightX = 0;\n let topRightY = 0;\n let bottomLeftX = 0;\n let bottomLeftY = 0;\n let bottomRightX = 0;\n let bottomRightY = 0;\n\n if (isVertical) {\n if (anchorRect.top < popupRect.top) {\n // Anchor is above\n topLeftX = anchorRect.left;\n topLeftY = anchorRect.bottom;\n topRightX = anchorRect.right;\n topRightY = anchorRect.bottom;\n\n bottomLeftX = popupRect.left;\n bottomLeftY = popupRect.top;\n bottomRightX = popupRect.right;\n bottomRightY = popupRect.top;\n } else {\n // Anchor is below\n topLeftX = popupRect.left;\n topLeftY = popupRect.bottom;\n topRightX = popupRect.right;\n topRightY = popupRect.bottom;\n\n bottomLeftX = anchorRect.left;\n bottomLeftY = anchorRect.top;\n bottomRightX = anchorRect.right;\n bottomRightY = anchorRect.top;\n }\n } else {\n if (anchorRect.left < popupRect.left) {\n // Anchor is on the left\n topLeftX = anchorRect.right;\n topLeftY = anchorRect.top;\n topRightX = popupRect.left;\n topRightY = popupRect.top;\n\n bottomLeftX = anchorRect.right;\n bottomLeftY = anchorRect.bottom;\n bottomRightX = popupRect.left;\n bottomRightY = popupRect.bottom;\n } else {\n // Anchor is on the right\n topLeftX = popupRect.right;\n topLeftY = popupRect.top;\n topRightX = anchorRect.left;\n topRightY = anchorRect.top;\n\n bottomLeftX = popupRect.right;\n bottomLeftY = popupRect.bottom;\n bottomRightX = anchorRect.left;\n bottomRightY = anchorRect.bottom;\n }\n }\n\n this.style.setProperty('--hover-bridge-top-left-x', `${topLeftX}px`);\n this.style.setProperty('--hover-bridge-top-left-y', `${topLeftY}px`);\n this.style.setProperty('--hover-bridge-top-right-x', `${topRightX}px`);\n this.style.setProperty('--hover-bridge-top-right-y', `${topRightY}px`);\n this.style.setProperty('--hover-bridge-bottom-left-x', `${bottomLeftX}px`);\n this.style.setProperty('--hover-bridge-bottom-left-y', `${bottomLeftY}px`);\n this.style.setProperty('--hover-bridge-bottom-right-x', `${bottomRightX}px`);\n this.style.setProperty('--hover-bridge-bottom-right-y', `${bottomRightY}px`);\n }\n };\n\n render() {\n return html`\n <slot name=\"anchor\" @slotchange=${this.handleAnchorChange}></slot>\n\n <span\n part=\"hover-bridge\"\n class=${classMap({\n 'popup-hover-bridge': true,\n 'popup-hover-bridge--visible': this.hoverBridge && this.active\n })}\n ></span>\n\n <div\n part=\"popup\"\n popover=${ifDefined(SUPPORTS_POPOVER ? 'manual' : undefined)}\n class=${classMap({\n popup: true,\n 'popup--active': this.active,\n 'popup--fixed': !SUPPORTS_POPOVER && this.strategy === 'fixed',\n 'popup--has-arrow': this.arrow\n })}\n >\n <slot></slot>\n ${this.arrow ? html`<div part=\"arrow\" class=\"popup__arrow\" role=\"presentation\"></div>` : ''}\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,OAAO,YAAY,iBAAiB,MAAM,QAAQ,UAAU,OAAO,YAAY;AACxF,SAAS,gBAAgB;AACzB,SAAS,iBAAiB;AAC1B,SAAS,YAAY;AAErB,SAAS,oBAAoB;AAC7B,SAAS,UAAU,aAAa;AAdhC;AAqBA,IAAM,oBAAmB,8CAAY,gBAAZ,mBAAyB,UAAU,eAAe;AAO3E,SAAS,iBAAiB,GAAiC;AACzD,SACE,MAAM,QACN,OAAO,MAAM,YACb,2BAA2B,MAC1B,oBAAoB,IAAI,EAAE,0BAA0B,UAAU;AAEnE;AA+B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from "./chunk.66X6L2S6.js";
|
|
20
20
|
import {
|
|
21
21
|
waitForEvent
|
|
22
22
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
} from "./chunk.NLYVOJGK.js";
|
|
43
43
|
import {
|
|
44
44
|
SynergyElement
|
|
45
|
-
} from "./chunk.
|
|
45
|
+
} from "./chunk.7C42R3TS.js";
|
|
46
46
|
import {
|
|
47
47
|
__decorateClass
|
|
48
48
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -292,4 +292,4 @@ setDefaultAnimation("dialog.overlay.hide", {
|
|
|
292
292
|
export {
|
|
293
293
|
SynDialog
|
|
294
294
|
};
|
|
295
|
-
//# sourceMappingURL=chunk.
|
|
295
|
+
//# sourceMappingURL=chunk.LGYTX653.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.7C42R3TS.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -55,4 +55,4 @@ __decorateClass([
|
|
|
55
55
|
export {
|
|
56
56
|
SynCard
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=chunk.
|
|
58
|
+
//# sourceMappingURL=chunk.LX6MQEJV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynIcon
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.KVGLARVX.js";
|
|
4
4
|
|
|
5
5
|
// src/components/icon/icon.ts
|
|
6
6
|
var icon_default = SynIcon;
|
|
@@ -9,4 +9,4 @@ SynIcon.define("syn-icon");
|
|
|
9
9
|
export {
|
|
10
10
|
icon_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.MBRJXK3O.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynBadge
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.RZKOGDMT.js";
|
|
4
4
|
|
|
5
5
|
// src/components/badge/badge.ts
|
|
6
6
|
var badge_default = SynBadge;
|
|
@@ -9,4 +9,4 @@ SynBadge.define("syn-badge");
|
|
|
9
9
|
export {
|
|
10
10
|
badge_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.ME6NYHXY.js.map
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk.NLYVOJGK.js";
|
|
29
29
|
import {
|
|
30
30
|
SynergyElement
|
|
31
|
-
} from "./chunk.
|
|
31
|
+
} from "./chunk.7C42R3TS.js";
|
|
32
32
|
import {
|
|
33
33
|
__decorateClass
|
|
34
34
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -255,4 +255,4 @@ SynSwitch = __decorateClass([
|
|
|
255
255
|
export {
|
|
256
256
|
SynSwitch
|
|
257
257
|
};
|
|
258
|
-
//# sourceMappingURL=chunk.
|
|
258
|
+
//# sourceMappingURL=chunk.MJSQXS35.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.7C42R3TS.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -111,4 +111,4 @@ SynAccordion = __decorateClass([
|
|
|
111
111
|
export {
|
|
112
112
|
SynAccordion
|
|
113
113
|
};
|
|
114
|
-
//# sourceMappingURL=chunk.
|
|
114
|
+
//# sourceMappingURL=chunk.NDXRKDL3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynValidate
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.245S7GWI.js";
|
|
4
4
|
|
|
5
5
|
// src/components/validate/validate.ts
|
|
6
6
|
var validate_default = SynValidate;
|
|
@@ -9,4 +9,4 @@ SynValidate.define("syn-validate");
|
|
|
9
9
|
export {
|
|
10
10
|
validate_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.NEOUHIDX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTabPanel
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.RAHUTBPN.js";
|
|
4
4
|
|
|
5
5
|
// src/components/tab-panel/tab-panel.ts
|
|
6
6
|
var tab_panel_default = SynTabPanel;
|
|
@@ -9,4 +9,4 @@ SynTabPanel.define("syn-tab-panel");
|
|
|
9
9
|
export {
|
|
10
10
|
tab_panel_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.NJV5WZBN.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSideNav
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.G4XRAVPS.js";
|
|
4
4
|
|
|
5
5
|
// src/components/side-nav/side-nav.ts
|
|
6
6
|
var side_nav_default = SynSideNav;
|
|
@@ -9,4 +9,4 @@ SynSideNav.define("syn-side-nav");
|
|
|
9
9
|
export {
|
|
10
10
|
side_nav_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.NJXXQYZX.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.7C42R3TS.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -76,4 +76,4 @@ __decorateClass([
|
|
|
76
76
|
export {
|
|
77
77
|
SynProgressRing
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=chunk.
|
|
79
|
+
//# sourceMappingURL=chunk.P7ET37O6.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.7C42R3TS.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -68,4 +68,4 @@ __decorateClass([
|
|
|
68
68
|
export {
|
|
69
69
|
SynProgressBar
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk.
|
|
71
|
+
//# sourceMappingURL=chunk.PBILQMHE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynCheckbox
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.3GR65RWU.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.PBYEKOOF.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk.G76BKD7B.js";
|
|
11
11
|
import {
|
|
12
12
|
SynPopup
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.L6GZTHH2.js";
|
|
14
14
|
import {
|
|
15
15
|
waitForEvent
|
|
16
16
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk.NLYVOJGK.js";
|
|
34
34
|
import {
|
|
35
35
|
SynergyElement
|
|
36
|
-
} from "./chunk.
|
|
36
|
+
} from "./chunk.7C42R3TS.js";
|
|
37
37
|
import {
|
|
38
38
|
__decorateClass
|
|
39
39
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -385,4 +385,4 @@ setDefaultAnimation("dropdown.hide", {
|
|
|
385
385
|
export {
|
|
386
386
|
SynDropdown
|
|
387
387
|
};
|
|
388
|
-
//# sourceMappingURL=chunk.
|
|
388
|
+
//# sourceMappingURL=chunk.PHIRFXRF.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/dropdown/dropdown.component.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { getDeepestActiveElement } from '../../internal/active-elements.js';\nimport { getTabbableBoundary } from '../../internal/tabbable.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query } from 'lit/decorators.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynPopup from '../popup/popup.component.js';\nimport styles from './dropdown.styles.js';\nimport customStyles from './dropdown.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport type { SynSelectEvent } from '../../events/syn-select.js';\nimport type SynButton from '../button/button.js';\nimport type SynIconButton from '../icon-button/icon-button.js';\nimport type SynMenu from '../menu/menu.js';\n\n/**\n * @summary Dropdowns expose additional content that \"drops down\" in a panel.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-dropdown--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-popup\n *\n * @slot - The dropdown's main content.\n * @slot trigger - The dropdown's trigger, usually a `<syn-button>` element.\n *\n * @event syn-show - Emitted when the dropdown opens.\n * @event syn-after-show - Emitted after the dropdown opens and all animations are complete.\n * @event syn-hide - Emitted when the dropdown closes.\n * @event syn-after-hide - Emitted after the dropdown closes and all animations are complete.\n *\n * @csspart base - The component's base wrapper, an `<syn-popup>` element.\n * @csspart base__popup - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n * @csspart trigger - The container that wraps the trigger.\n * @csspart panel - The panel that gets shown when the dropdown is open.\n *\n * @animation dropdown.show - The animation to use when showing the dropdown.\n * @animation dropdown.hide - The animation to use when hiding the dropdown.\n */\nexport default class SynDropdown extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-popup': SynPopup };\n\n @query('.dropdown') popup: SynPopup;\n @query('.dropdown__trigger') trigger: HTMLSlotElement;\n @query('.dropdown__panel') panel: HTMLSlotElement;\n\n private readonly localize = new LocalizeController(this);\n private closeWatcher: CloseWatcher | null;\n\n /**\n * Indicates whether or not the dropdown is open. You can toggle this attribute to show and hide the dropdown, or you\n * can use the `show()` and `hide()` methods and this attribute will reflect the dropdown's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /**\n * The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel\n * inside of the viewport.\n */\n @property({ reflect: true }) placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'bottom-start';\n\n /** Disables the dropdown so the panel will not open. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /**\n * By default, the dropdown is closed when an item is selected. This attribute will keep it open instead. Useful for\n * dropdowns that allow for multiple interactions.\n */\n @property({ attribute: 'stay-open-on-select', type: Boolean, reflect: true }) stayOpenOnSelect = false;\n\n /**\n * The dropdown will close when the user interacts outside of this element (e.g. clicking). Useful for composing other\n * components that use a dropdown internally.\n */\n @property({ attribute: false }) containingElement?: HTMLElement;\n\n /** The distance in pixels from which to offset the panel away from its trigger. */\n @property({ type: Number }) distance = 0;\n\n /** The distance in pixels from which to offset the panel along its trigger. */\n @property({ type: Number }) skidding = 0;\n\n /**\n * Enable this option to prevent the panel from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.\n * @deprecated This property is deprecated and will be removed in the next major version.\n */\n @property({ type: Boolean }) hoist = false;\n\n /**\n * Syncs the popup width or height to that of the trigger element.\n */\n @property({ reflect: true }) sync: 'width' | 'height' | 'both' | undefined = undefined;\n\n connectedCallback() {\n super.connectedCallback();\n\n if (!this.containingElement) {\n this.containingElement = this;\n }\n }\n\n firstUpdated() {\n this.panel.hidden = !this.open;\n\n // If the dropdown is visible on init, update its position\n if (this.open) {\n this.addOpenListeners();\n this.popup.active = true;\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeOpenListeners();\n this.hide();\n }\n\n focusOnTrigger() {\n const trigger = this.trigger.assignedElements({ flatten: true })[0] as HTMLElement | undefined;\n if (typeof trigger?.focus === 'function') {\n trigger.focus();\n }\n }\n\n getMenu() {\n return this.panel.assignedElements({ flatten: true }).find(el => el.tagName.toLowerCase() === 'syn-menu') as\n | SynMenu\n | undefined;\n }\n\n private handleKeyDown = (event: KeyboardEvent) => {\n // Close when escape is pressed inside an open dropdown. We need to listen on the panel itself and stop propagation\n // in case any ancestors are also listening for this key.\n if (this.open && event.key === 'Escape') {\n event.stopPropagation();\n this.hide();\n this.focusOnTrigger();\n }\n };\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n // Close when escape or tab is pressed\n if (event.key === 'Escape' && this.open && !this.closeWatcher) {\n event.stopPropagation();\n this.focusOnTrigger();\n this.hide();\n return;\n }\n\n // Handle tabbing\n if (event.key === 'Tab') {\n // Tabbing within an open menu should close the dropdown and refocus the trigger\n if (this.open && document.activeElement?.tagName.toLowerCase() === 'syn-menu-item') {\n event.preventDefault();\n this.hide();\n this.focusOnTrigger();\n return;\n }\n\n const computeClosestContaining = (element: Element | null | undefined, tagName: string): Element | null => {\n if (!element) return null;\n\n const closest = element.closest(tagName);\n if (closest) return closest;\n\n const rootNode = element.getRootNode();\n if (rootNode instanceof ShadowRoot) {\n return computeClosestContaining(rootNode.host, tagName);\n }\n\n return null;\n };\n\n // Tabbing outside of the containing element closes the panel\n //\n // If the dropdown is used within a shadow DOM, we need to obtain the activeElement within that shadowRoot,\n // otherwise `document.activeElement` will only return the name of the parent shadow DOM element.\n setTimeout(() => {\n const activeElement =\n this.containingElement?.getRootNode() instanceof ShadowRoot\n ? getDeepestActiveElement()\n : document.activeElement;\n\n if (\n !this.containingElement ||\n computeClosestContaining(activeElement, this.containingElement.tagName.toLowerCase()) !==\n this.containingElement\n ) {\n this.hide();\n }\n });\n }\n };\n\n private handleDocumentMouseDown = (event: MouseEvent) => {\n // Close when clicking outside of the containing element\n const path = event.composedPath();\n if (this.containingElement && !path.includes(this.containingElement)) {\n this.hide();\n }\n };\n\n private handlePanelSelect = (event: SynSelectEvent) => {\n const target = event.target as HTMLElement;\n\n // Hide the dropdown when a menu item is selected\n if (!this.stayOpenOnSelect && target.tagName.toLowerCase() === 'syn-menu') {\n this.hide();\n this.focusOnTrigger();\n }\n };\n\n handleTriggerClick() {\n if (this.open) {\n this.hide();\n } else {\n this.show();\n this.focusOnTrigger();\n }\n }\n\n async handleTriggerKeyDown(event: KeyboardEvent) {\n // When spacebar/enter is pressed, show the panel but don't focus on the menu. This let's the user press the same\n // key again to hide the menu in case they don't want to make a selection.\n if ([' ', 'Enter'].includes(event.key)) {\n event.preventDefault();\n this.handleTriggerClick();\n return;\n }\n\n const menu = this.getMenu();\n\n if (menu) {\n const menuItems = menu.getAllItems();\n const firstMenuItem = menuItems[0];\n const lastMenuItem = menuItems[menuItems.length - 1];\n\n // When up/down is pressed, we make the assumption that the user is familiar with the menu and plans to make a\n // selection. Rather than toggle the panel, we focus on the menu (if one exists) and activate the first item for\n // faster navigation.\n if (['ArrowDown', 'ArrowUp', 'Home', 'End'].includes(event.key)) {\n event.preventDefault();\n\n // Show the menu if it's not already open\n if (!this.open) {\n this.show();\n\n // Wait for the dropdown to open before focusing, but not the animation\n await this.updateComplete;\n }\n\n if (menuItems.length > 0) {\n // Focus on the first/last menu item after showing\n this.updateComplete.then(() => {\n if (event.key === 'ArrowDown' || event.key === 'Home') {\n menu.setCurrentItem(firstMenuItem);\n firstMenuItem.focus();\n }\n\n if (event.key === 'ArrowUp' || event.key === 'End') {\n menu.setCurrentItem(lastMenuItem);\n lastMenuItem.focus();\n }\n });\n }\n }\n }\n }\n\n handleTriggerKeyUp(event: KeyboardEvent) {\n // Prevent space from triggering a click event in Firefox\n if (event.key === ' ') {\n event.preventDefault();\n }\n }\n\n handleTriggerSlotChange() {\n this.updateAccessibleTrigger();\n }\n\n //\n // Slotted triggers can be arbitrary content, but we need to link them to the dropdown panel with `aria-haspopup` and\n // `aria-expanded`. These must be applied to the \"accessible trigger\" (the tabbable portion of the trigger element\n // that gets slotted in) so screen readers will understand them. The accessible trigger could be the slotted element,\n // a child of the slotted element, or an element in the slotted element's shadow root.\n //\n // For example, the accessible trigger of an <syn-button> is a <button> located inside its shadow root.\n //\n // To determine this, we assume the first tabbable element in the trigger slot is the \"accessible trigger.\"\n //\n updateAccessibleTrigger() {\n const assignedElements = this.trigger.assignedElements({ flatten: true }) as HTMLElement[];\n const accessibleTrigger = assignedElements.find(el => getTabbableBoundary(el).start);\n let target: HTMLElement;\n\n if (accessibleTrigger) {\n switch (accessibleTrigger.tagName.toLowerCase()) {\n // Synergy buttons have to update the internal button so it's announced correctly by screen readers\n case 'syn-button':\n case 'syn-icon-button':\n target = (accessibleTrigger as SynButton | SynIconButton).button;\n break;\n\n default:\n target = accessibleTrigger;\n }\n\n target.setAttribute('aria-haspopup', 'true');\n target.setAttribute('aria-expanded', this.open ? 'true' : 'false');\n }\n }\n\n /** Shows the dropdown panel. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the dropdown panel */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n /**\n * Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\n * is activated.\n */\n reposition() {\n this.popup.reposition();\n }\n\n addOpenListeners() {\n this.panel.addEventListener('syn-select', this.handlePanelSelect);\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => {\n this.hide();\n this.focusOnTrigger();\n };\n } else {\n this.panel.addEventListener('keydown', this.handleKeyDown);\n }\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n document.addEventListener('mousedown', this.handleDocumentMouseDown);\n }\n\n removeOpenListeners() {\n if (this.panel) {\n this.panel.removeEventListener('syn-select', this.handlePanelSelect);\n this.panel.removeEventListener('keydown', this.handleKeyDown);\n }\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n document.removeEventListener('mousedown', this.handleDocumentMouseDown);\n this.closeWatcher?.destroy();\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.disabled) {\n this.open = false;\n return;\n }\n\n this.updateAccessibleTrigger();\n\n if (this.open) {\n // Show\n this.emit('syn-show');\n this.addOpenListeners();\n\n await stopAnimations(this);\n this.panel.hidden = false;\n this.popup.active = true;\n const { keyframes, options } = getAnimation(this, 'dropdown.show', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.removeOpenListeners();\n\n await stopAnimations(this);\n const { keyframes, options } = getAnimation(this, 'dropdown.hide', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n this.panel.hidden = true;\n this.popup.active = false;\n\n this.emit('syn-after-hide');\n }\n }\n\n render() {\n return html`\n <syn-popup\n part=\"base\"\n exportparts=\"popup:base__popup\"\n id=\"dropdown\"\n placement=${this.placement}\n distance=${this.distance}\n skidding=${this.skidding}\n strategy=${this.hoist ? 'fixed' : 'absolute'}\n flip\n shift\n auto-size=\"vertical\"\n auto-size-padding=\"10\"\n sync=${ifDefined(this.sync ? this.sync : undefined)}\n class=${classMap({\n dropdown: true,\n 'dropdown--open': this.open\n })}\n >\n <slot\n name=\"trigger\"\n slot=\"anchor\"\n part=\"trigger\"\n class=\"dropdown__trigger\"\n @click=${this.handleTriggerClick}\n @keydown=${this.handleTriggerKeyDown}\n @keyup=${this.handleTriggerKeyUp}\n @slotchange=${this.handleTriggerSlotChange}\n ></slot>\n\n <div aria-hidden=${this.open ? 'false' : 'true'} aria-labelledby=\"dropdown\">\n <slot part=\"panel\" class=\"dropdown__panel\"></slot>\n </div>\n </syn-popup>\n `;\n }\n}\n\nsetDefaultAnimation('dropdown.show', {\n keyframes: [\n { opacity: 0, scale: 0.9 },\n { opacity: 1, scale: 1 }\n ],\n options: { duration: 100, easing: 'ease' }\n});\n\nsetDefaultAnimation('dropdown.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.9 }\n ],\n options: { duration: 100, easing: 'ease' }\n});\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,gBAAgB;AAIzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAE1B,SAAS,UAAU,aAAa;AAsChC,IAAqB,cAArB,cAAyC,eAAe;AAAA,EAAxD;AAAA;AAQE,SAAiB,WA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,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,iBAAiB;AAAA,EACnC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,IACvB,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,EAC3B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;",
|
|
6
|
+
"names": ["_a"]
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTabGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.CADFUJEC.js";
|
|
4
4
|
|
|
5
5
|
// src/components/tab-group/tab-group.ts
|
|
6
6
|
var tab_group_default = SynTabGroup;
|
|
@@ -9,4 +9,4 @@ SynTabGroup.define("syn-tab-group");
|
|
|
9
9
|
export {
|
|
10
10
|
tab_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.Q3LUZOD3.js.map
|