@synergy-design-system/components 2.45.0 → 2.45.2
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.XHCIGXHD.js → chunk.2AN6WN6D.js} +6 -6
- package/dist/chunks/{chunk.O7YHFE5A.js → chunk.2EJUIR46.js} +2 -2
- package/dist/chunks/{chunk.YRL6NFIW.js → chunk.2M3G5L4T.js} +2 -2
- package/dist/chunks/{chunk.A3ONRZQG.js → chunk.2RWNCMZU.js} +2 -2
- package/dist/chunks/{chunk.XWD7JUJ3.js → chunk.2U2KM62A.js} +2 -2
- package/dist/chunks/{chunk.E7I3J5SD.js → chunk.2UXCJDAJ.js} +15 -7
- package/dist/chunks/chunk.2UXCJDAJ.js.map +7 -0
- package/dist/chunks/{chunk.GL3EYIRY.js → chunk.33HW5JD7.js} +2 -2
- package/dist/chunks/chunk.36EHOOOO.js +23 -0
- package/dist/chunks/chunk.36EHOOOO.js.map +7 -0
- package/dist/chunks/{chunk.QEVG633Q.js → chunk.3H57PIKI.js} +2 -2
- package/dist/chunks/{chunk.4N4F6TPI.js → chunk.3LSWYRUI.js} +2 -2
- package/dist/chunks/{chunk.43PNVQ2M.js → chunk.3LVJS4GV.js} +6 -6
- package/dist/chunks/chunk.3LVJS4GV.js.map +7 -0
- package/dist/chunks/{chunk.IS3GLJCO.js → chunk.3YODD7Z3.js} +2 -2
- package/dist/chunks/{chunk.CJPSAUTD.js → chunk.4NZFJ6JA.js} +2 -2
- package/dist/chunks/{chunk.U6RTUABL.js → chunk.4QDZGB6K.js} +2 -2
- package/dist/chunks/{chunk.47LU3JDG.js → chunk.4XY2BVNK.js} +5 -5
- package/dist/chunks/{chunk.IHHIBS6E.js → chunk.5LGG5AH4.js} +2 -2
- package/dist/chunks/{chunk.2SFJYVUS.js → chunk.5R4H4RCZ.js} +7 -7
- package/dist/chunks/{chunk.QDJC3QVC.js → chunk.5YXHVJLW.js} +6 -6
- package/dist/chunks/{chunk.MVTYOC4G.js → chunk.7J4L52X7.js} +6 -6
- package/dist/chunks/{chunk.GNDG3SJQ.js → chunk.7MRTIUE2.js} +6 -6
- package/dist/chunks/{chunk.GNDG3SJQ.js.map → chunk.7MRTIUE2.js.map} +2 -2
- package/dist/chunks/{chunk.F6FD2FQX.js → chunk.7PWEDR4V.js} +2 -2
- package/dist/chunks/{chunk.F6FD2FQX.js.map → chunk.7PWEDR4V.js.map} +1 -1
- package/dist/chunks/{chunk.PIVTCFVM.js → chunk.7QHWUHRC.js} +2 -2
- package/dist/chunks/{chunk.WCOUFKSE.js → chunk.7VCXMB4O.js} +6 -6
- package/dist/chunks/{chunk.UE5Y2G5J.js → chunk.AHFMEUB7.js} +3 -3
- package/dist/chunks/{chunk.2FMOTYVN.js → chunk.AJIOVSMV.js} +3 -3
- package/dist/chunks/{chunk.3P2RJ7Q2.js → chunk.ASPF2OAT.js} +2 -2
- package/dist/chunks/{chunk.RSI47MJF.js → chunk.AVJBYGN3.js} +2 -2
- package/dist/chunks/{chunk.2EJUYOXJ.js → chunk.AWMAUFQ2.js} +2 -2
- package/dist/chunks/{chunk.V5KACUQG.js → chunk.BRHITFVR.js} +2 -2
- package/dist/chunks/{chunk.MKXDHGKC.js → chunk.C54XEFIT.js} +2 -2
- package/dist/chunks/{chunk.PHSST3GN.js → chunk.CDJYUWQJ.js} +2 -2
- package/dist/chunks/{chunk.WTGV2YHS.js → chunk.CF2AJWUC.js} +2 -2
- package/dist/chunks/{chunk.3YXGL6PB.js → chunk.D2NG6SZW.js} +2 -2
- package/dist/chunks/{chunk.YR46HSA7.js → chunk.DAQXMWRG.js} +2 -2
- package/dist/chunks/{chunk.2FVXIEHW.js → chunk.DEN4XP76.js} +2 -2
- package/dist/chunks/{chunk.EAS6P6PE.js → chunk.DGI6ZRTS.js} +2 -2
- package/dist/chunks/{chunk.LXB2K2EP.js → chunk.DLGN2SKF.js} +5 -5
- package/dist/chunks/{chunk.775OBFIE.js → chunk.DORATI2I.js} +8 -8
- package/dist/chunks/{chunk.S2CO77RZ.js → chunk.DR2XVWMI.js} +17 -9
- package/dist/chunks/chunk.DR2XVWMI.js.map +7 -0
- package/dist/chunks/{chunk.QOSVIEWF.js → chunk.E6HJE4GR.js} +7 -7
- package/dist/chunks/{chunk.WU22WCIW.js → chunk.EBCCBTTK.js} +8 -8
- package/dist/chunks/chunk.EBCCBTTK.js.map +7 -0
- package/dist/chunks/{chunk.VIV2SMKB.js → chunk.EBMWYPMN.js} +12 -12
- package/dist/chunks/chunk.EBMWYPMN.js.map +7 -0
- package/dist/chunks/{chunk.NZUG4LYW.js → chunk.ENKVXWBD.js} +5 -5
- package/dist/chunks/{chunk.EKQIQ2DM.js → chunk.ES3ECZZN.js} +2 -2
- package/dist/chunks/{chunk.JY3G4O3W.js → chunk.F2XOWYTI.js} +2 -2
- package/dist/chunks/{chunk.ERWTU5QM.js → chunk.G325VK6R.js} +2 -2
- package/dist/chunks/{chunk.WZBR6MRC.js → chunk.GLW6G7B4.js} +2 -2
- package/dist/chunks/{chunk.QAD2SZSR.js → chunk.GSC3S4C7.js} +2 -2
- package/dist/chunks/{chunk.MPFHBRBB.js → chunk.GWDNPLW3.js} +2 -2
- package/dist/chunks/{chunk.QCEDZQIZ.js → chunk.GYMNIDUG.js} +6 -6
- package/dist/chunks/{chunk.G2E6IU6K.js → chunk.HB5VOG7O.js} +6 -6
- package/dist/chunks/{chunk.Q3BJU6OI.js → chunk.HI6E6INJ.js} +2 -2
- package/dist/chunks/{chunk.JW7A7O45.js → chunk.HPO5QTRK.js} +2 -2
- package/dist/chunks/{chunk.TR5DMYXN.js → chunk.HVSXOYWW.js} +9 -9
- package/dist/chunks/{chunk.5YDLLB4H.js → chunk.IEUQSDIW.js} +2 -2
- package/dist/chunks/{chunk.RUVDIFIF.js → chunk.IISFS2XQ.js} +2 -2
- package/dist/chunks/{chunk.YAKAIJGX.js → chunk.IOMDBIJI.js} +2 -2
- package/dist/chunks/{chunk.OKUJNBZA.js → chunk.IX463R5Y.js} +2 -2
- package/dist/chunks/{chunk.PV2BBLSA.js → chunk.K6NJ2PDK.js} +6 -6
- package/dist/chunks/{chunk.4P5VXNLJ.js → chunk.KNUR2AQS.js} +2 -2
- package/dist/chunks/{chunk.GH7M77F4.js → chunk.KR75XE3N.js} +12 -12
- package/dist/chunks/{chunk.UJGWVOQC.js → chunk.KVUTPLNY.js} +2 -2
- package/dist/chunks/{chunk.HXICOH2D.js → chunk.LQWXDISM.js} +2 -2
- package/dist/chunks/{chunk.4KZG5ZGR.js → chunk.LTBKA57Y.js} +2 -2
- package/dist/chunks/{chunk.GPDFPMAA.js → chunk.LW3LVZ3I.js} +2 -2
- package/dist/chunks/{chunk.IY7C7TXC.js → chunk.MGD7HFL3.js} +6 -6
- package/dist/chunks/{chunk.72SPXN4M.js → chunk.MIJZV3OK.js} +2 -2
- package/dist/chunks/{chunk.V2JF2ARW.js → chunk.MOG6Z5CP.js} +2 -2
- package/dist/chunks/{chunk.NHGGACXF.js → chunk.MWT5A6UR.js} +8 -8
- package/dist/chunks/{chunk.2NU65US2.js → chunk.N36WAFT5.js} +2 -2
- package/dist/chunks/{chunk.AEYPPPBN.js → chunk.NQRQ7TD6.js} +7 -7
- package/dist/chunks/{chunk.SOOHRWAC.js → chunk.NZ7ZWYRP.js} +3 -3
- package/dist/chunks/{chunk.MIVLWJE3.js → chunk.OORIUDCN.js} +5 -5
- package/dist/chunks/{chunk.XWRFKT3X.js → chunk.OW5F6IPP.js} +2 -2
- package/dist/chunks/{chunk.QCDUTFT3.js → chunk.PCMT3MUM.js} +2 -2
- package/dist/chunks/{chunk.SAP4WZHM.js → chunk.PRZNYBMZ.js} +2 -2
- package/dist/chunks/{chunk.DBE55F4E.js → chunk.Q2FNI7VB.js} +2 -2
- package/dist/chunks/{chunk.MINKKHKX.js → chunk.QZ7IKRAL.js} +2 -2
- package/dist/chunks/{chunk.FIFYXTSV.js → chunk.R7NKVOAJ.js} +2 -2
- package/dist/chunks/{chunk.RID4SZEA.js → chunk.RCOGQGLL.js} +2 -2
- package/dist/chunks/{chunk.67SXXBDE.js → chunk.RJYU4MHA.js} +21 -6
- package/dist/chunks/chunk.RJYU4MHA.js.map +7 -0
- package/dist/chunks/{chunk.UJ7DPXBG.js → chunk.SMY2U453.js} +2 -2
- package/dist/chunks/{chunk.6K5UWP6M.js → chunk.SNFVW3JM.js} +2 -2
- package/dist/chunks/{chunk.RY2FCMQD.js → chunk.SUADB3XZ.js} +2 -2
- package/dist/chunks/{chunk.EFJBDR7Z.js → chunk.TERMIGDH.js} +2 -2
- package/dist/chunks/{chunk.FXO36T5G.js → chunk.TPRLH2LQ.js} +4 -4
- package/dist/chunks/{chunk.477UZTHM.js → chunk.UG4TPQMJ.js} +2 -2
- package/dist/chunks/{chunk.MWFVQQRA.js → chunk.URNJAXTL.js} +3 -3
- package/dist/chunks/{chunk.CWATEWX3.js → chunk.UW4JDWEI.js} +9 -9
- package/dist/chunks/{chunk.ZSQOHWZW.js → chunk.VDRHRLQQ.js} +6 -6
- package/dist/chunks/{chunk.MBU55RN2.js → chunk.W6FHD2B6.js} +2 -2
- package/dist/chunks/{chunk.F4TQMBPQ.js → chunk.WMRE3ZWT.js} +3 -3
- package/dist/chunks/{chunk.EA3473S6.js → chunk.YFEK7I4W.js} +2 -2
- package/dist/chunks/{chunk.BNHJ5OKO.js → chunk.YN7K46LX.js} +7 -7
- package/dist/chunks/{chunk.MON5ZZWQ.js → chunk.Z5A6S7OG.js} +2 -2
- package/dist/chunks/{chunk.GCRD4HSU.js → chunk.ZVBLLRCO.js} +2 -2
- package/dist/components/accordion/accordion.component.js +3 -3
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/alert/alert.component.js +8 -8
- package/dist/components/alert/alert.js +9 -9
- package/dist/components/badge/badge.component.js +4 -4
- package/dist/components/badge/badge.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.js +8 -8
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- 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 +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/combobox/combobox.component.d.ts +1 -0
- package/dist/components/combobox/combobox.component.js +8 -7
- package/dist/components/combobox/combobox.js +9 -8
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.component.d.ts +1 -0
- package/dist/components/dropdown/dropdown.component.js +5 -4
- package/dist/components/dropdown/dropdown.js +6 -5
- package/dist/components/file/file.component.js +7 -7
- package/dist/components/file/file.js +8 -8
- package/dist/components/header/header.component.js +6 -6
- package/dist/components/header/header.js +7 -7
- 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 +4 -4
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/input/input.component.d.ts +1 -1
- package/dist/components/input/input.component.js +6 -6
- package/dist/components/input/input.js +7 -7
- 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 +8 -7
- package/dist/components/menu-item/menu-item.js +9 -8
- 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 +5 -5
- package/dist/components/option/option.js +6 -6
- 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 +11 -10
- package/dist/components/prio-nav/prio-nav.js +12 -11
- 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 +4 -4
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio-button/radio-button.component.js +3 -3
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-group/radio-group.component.js +5 -5
- package/dist/components/radio-group/radio-group.js +6 -6
- package/dist/components/range/range.component.js +6 -5
- package/dist/components/range/range.js +7 -6
- 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 +10 -9
- package/dist/components/select/select.js +11 -10
- package/dist/components/side-nav/side-nav.component.js +9 -9
- package/dist/components/side-nav/side-nav.js +10 -10
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/switch/switch.component.js +3 -3
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/tab/tab.component.js +6 -6
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.component.js +7 -7
- package/dist/components/tab-group/tab-group.js +8 -8
- 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 +6 -6
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.component.d.ts +1 -1
- package/dist/components/textarea/textarea.component.js +3 -3
- package/dist/components/textarea/textarea.js +4 -4
- package/dist/components/tooltip/tooltip.component.d.ts +1 -0
- package/dist/components/tooltip/tooltip.component.js +5 -4
- package/dist/components/tooltip/tooltip.js +6 -5
- package/dist/components/validate/utility.js +2 -2
- package/dist/components/validate/validate.component.js +10 -10
- package/dist/components/validate/validate.js +11 -11
- package/dist/custom-elements.json +129 -117
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +119 -118
- package/dist/vscode.html-custom-data.json +18 -18
- package/package.json +6 -6
- package/dist/chunks/chunk.43PNVQ2M.js.map +0 -7
- package/dist/chunks/chunk.67SXXBDE.js.map +0 -7
- package/dist/chunks/chunk.E7I3J5SD.js.map +0 -7
- package/dist/chunks/chunk.S2CO77RZ.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.XHCIGXHD.js.map → chunk.2AN6WN6D.js.map} +0 -0
- /package/dist/chunks/{chunk.O7YHFE5A.js.map → chunk.2EJUIR46.js.map} +0 -0
- /package/dist/chunks/{chunk.YRL6NFIW.js.map → chunk.2M3G5L4T.js.map} +0 -0
- /package/dist/chunks/{chunk.A3ONRZQG.js.map → chunk.2RWNCMZU.js.map} +0 -0
- /package/dist/chunks/{chunk.XWD7JUJ3.js.map → chunk.2U2KM62A.js.map} +0 -0
- /package/dist/chunks/{chunk.GL3EYIRY.js.map → chunk.33HW5JD7.js.map} +0 -0
- /package/dist/chunks/{chunk.QEVG633Q.js.map → chunk.3H57PIKI.js.map} +0 -0
- /package/dist/chunks/{chunk.4N4F6TPI.js.map → chunk.3LSWYRUI.js.map} +0 -0
- /package/dist/chunks/{chunk.IS3GLJCO.js.map → chunk.3YODD7Z3.js.map} +0 -0
- /package/dist/chunks/{chunk.CJPSAUTD.js.map → chunk.4NZFJ6JA.js.map} +0 -0
- /package/dist/chunks/{chunk.U6RTUABL.js.map → chunk.4QDZGB6K.js.map} +0 -0
- /package/dist/chunks/{chunk.47LU3JDG.js.map → chunk.4XY2BVNK.js.map} +0 -0
- /package/dist/chunks/{chunk.IHHIBS6E.js.map → chunk.5LGG5AH4.js.map} +0 -0
- /package/dist/chunks/{chunk.2SFJYVUS.js.map → chunk.5R4H4RCZ.js.map} +0 -0
- /package/dist/chunks/{chunk.QDJC3QVC.js.map → chunk.5YXHVJLW.js.map} +0 -0
- /package/dist/chunks/{chunk.MVTYOC4G.js.map → chunk.7J4L52X7.js.map} +0 -0
- /package/dist/chunks/{chunk.PIVTCFVM.js.map → chunk.7QHWUHRC.js.map} +0 -0
- /package/dist/chunks/{chunk.WCOUFKSE.js.map → chunk.7VCXMB4O.js.map} +0 -0
- /package/dist/chunks/{chunk.UE5Y2G5J.js.map → chunk.AHFMEUB7.js.map} +0 -0
- /package/dist/chunks/{chunk.2FMOTYVN.js.map → chunk.AJIOVSMV.js.map} +0 -0
- /package/dist/chunks/{chunk.3P2RJ7Q2.js.map → chunk.ASPF2OAT.js.map} +0 -0
- /package/dist/chunks/{chunk.RSI47MJF.js.map → chunk.AVJBYGN3.js.map} +0 -0
- /package/dist/chunks/{chunk.2EJUYOXJ.js.map → chunk.AWMAUFQ2.js.map} +0 -0
- /package/dist/chunks/{chunk.V5KACUQG.js.map → chunk.BRHITFVR.js.map} +0 -0
- /package/dist/chunks/{chunk.MKXDHGKC.js.map → chunk.C54XEFIT.js.map} +0 -0
- /package/dist/chunks/{chunk.PHSST3GN.js.map → chunk.CDJYUWQJ.js.map} +0 -0
- /package/dist/chunks/{chunk.WTGV2YHS.js.map → chunk.CF2AJWUC.js.map} +0 -0
- /package/dist/chunks/{chunk.3YXGL6PB.js.map → chunk.D2NG6SZW.js.map} +0 -0
- /package/dist/chunks/{chunk.YR46HSA7.js.map → chunk.DAQXMWRG.js.map} +0 -0
- /package/dist/chunks/{chunk.2FVXIEHW.js.map → chunk.DEN4XP76.js.map} +0 -0
- /package/dist/chunks/{chunk.EAS6P6PE.js.map → chunk.DGI6ZRTS.js.map} +0 -0
- /package/dist/chunks/{chunk.LXB2K2EP.js.map → chunk.DLGN2SKF.js.map} +0 -0
- /package/dist/chunks/{chunk.775OBFIE.js.map → chunk.DORATI2I.js.map} +0 -0
- /package/dist/chunks/{chunk.QOSVIEWF.js.map → chunk.E6HJE4GR.js.map} +0 -0
- /package/dist/chunks/{chunk.NZUG4LYW.js.map → chunk.ENKVXWBD.js.map} +0 -0
- /package/dist/chunks/{chunk.EKQIQ2DM.js.map → chunk.ES3ECZZN.js.map} +0 -0
- /package/dist/chunks/{chunk.JY3G4O3W.js.map → chunk.F2XOWYTI.js.map} +0 -0
- /package/dist/chunks/{chunk.ERWTU5QM.js.map → chunk.G325VK6R.js.map} +0 -0
- /package/dist/chunks/{chunk.WZBR6MRC.js.map → chunk.GLW6G7B4.js.map} +0 -0
- /package/dist/chunks/{chunk.QAD2SZSR.js.map → chunk.GSC3S4C7.js.map} +0 -0
- /package/dist/chunks/{chunk.MPFHBRBB.js.map → chunk.GWDNPLW3.js.map} +0 -0
- /package/dist/chunks/{chunk.QCEDZQIZ.js.map → chunk.GYMNIDUG.js.map} +0 -0
- /package/dist/chunks/{chunk.G2E6IU6K.js.map → chunk.HB5VOG7O.js.map} +0 -0
- /package/dist/chunks/{chunk.Q3BJU6OI.js.map → chunk.HI6E6INJ.js.map} +0 -0
- /package/dist/chunks/{chunk.JW7A7O45.js.map → chunk.HPO5QTRK.js.map} +0 -0
- /package/dist/chunks/{chunk.TR5DMYXN.js.map → chunk.HVSXOYWW.js.map} +0 -0
- /package/dist/chunks/{chunk.5YDLLB4H.js.map → chunk.IEUQSDIW.js.map} +0 -0
- /package/dist/chunks/{chunk.RUVDIFIF.js.map → chunk.IISFS2XQ.js.map} +0 -0
- /package/dist/chunks/{chunk.YAKAIJGX.js.map → chunk.IOMDBIJI.js.map} +0 -0
- /package/dist/chunks/{chunk.OKUJNBZA.js.map → chunk.IX463R5Y.js.map} +0 -0
- /package/dist/chunks/{chunk.PV2BBLSA.js.map → chunk.K6NJ2PDK.js.map} +0 -0
- /package/dist/chunks/{chunk.4P5VXNLJ.js.map → chunk.KNUR2AQS.js.map} +0 -0
- /package/dist/chunks/{chunk.GH7M77F4.js.map → chunk.KR75XE3N.js.map} +0 -0
- /package/dist/chunks/{chunk.UJGWVOQC.js.map → chunk.KVUTPLNY.js.map} +0 -0
- /package/dist/chunks/{chunk.HXICOH2D.js.map → chunk.LQWXDISM.js.map} +0 -0
- /package/dist/chunks/{chunk.4KZG5ZGR.js.map → chunk.LTBKA57Y.js.map} +0 -0
- /package/dist/chunks/{chunk.GPDFPMAA.js.map → chunk.LW3LVZ3I.js.map} +0 -0
- /package/dist/chunks/{chunk.IY7C7TXC.js.map → chunk.MGD7HFL3.js.map} +0 -0
- /package/dist/chunks/{chunk.72SPXN4M.js.map → chunk.MIJZV3OK.js.map} +0 -0
- /package/dist/chunks/{chunk.V2JF2ARW.js.map → chunk.MOG6Z5CP.js.map} +0 -0
- /package/dist/chunks/{chunk.NHGGACXF.js.map → chunk.MWT5A6UR.js.map} +0 -0
- /package/dist/chunks/{chunk.2NU65US2.js.map → chunk.N36WAFT5.js.map} +0 -0
- /package/dist/chunks/{chunk.AEYPPPBN.js.map → chunk.NQRQ7TD6.js.map} +0 -0
- /package/dist/chunks/{chunk.SOOHRWAC.js.map → chunk.NZ7ZWYRP.js.map} +0 -0
- /package/dist/chunks/{chunk.MIVLWJE3.js.map → chunk.OORIUDCN.js.map} +0 -0
- /package/dist/chunks/{chunk.XWRFKT3X.js.map → chunk.OW5F6IPP.js.map} +0 -0
- /package/dist/chunks/{chunk.QCDUTFT3.js.map → chunk.PCMT3MUM.js.map} +0 -0
- /package/dist/chunks/{chunk.SAP4WZHM.js.map → chunk.PRZNYBMZ.js.map} +0 -0
- /package/dist/chunks/{chunk.DBE55F4E.js.map → chunk.Q2FNI7VB.js.map} +0 -0
- /package/dist/chunks/{chunk.MINKKHKX.js.map → chunk.QZ7IKRAL.js.map} +0 -0
- /package/dist/chunks/{chunk.FIFYXTSV.js.map → chunk.R7NKVOAJ.js.map} +0 -0
- /package/dist/chunks/{chunk.RID4SZEA.js.map → chunk.RCOGQGLL.js.map} +0 -0
- /package/dist/chunks/{chunk.UJ7DPXBG.js.map → chunk.SMY2U453.js.map} +0 -0
- /package/dist/chunks/{chunk.6K5UWP6M.js.map → chunk.SNFVW3JM.js.map} +0 -0
- /package/dist/chunks/{chunk.RY2FCMQD.js.map → chunk.SUADB3XZ.js.map} +0 -0
- /package/dist/chunks/{chunk.EFJBDR7Z.js.map → chunk.TERMIGDH.js.map} +0 -0
- /package/dist/chunks/{chunk.FXO36T5G.js.map → chunk.TPRLH2LQ.js.map} +0 -0
- /package/dist/chunks/{chunk.477UZTHM.js.map → chunk.UG4TPQMJ.js.map} +0 -0
- /package/dist/chunks/{chunk.MWFVQQRA.js.map → chunk.URNJAXTL.js.map} +0 -0
- /package/dist/chunks/{chunk.CWATEWX3.js.map → chunk.UW4JDWEI.js.map} +0 -0
- /package/dist/chunks/{chunk.ZSQOHWZW.js.map → chunk.VDRHRLQQ.js.map} +0 -0
- /package/dist/chunks/{chunk.MBU55RN2.js.map → chunk.W6FHD2B6.js.map} +0 -0
- /package/dist/chunks/{chunk.F4TQMBPQ.js.map → chunk.WMRE3ZWT.js.map} +0 -0
- /package/dist/chunks/{chunk.EA3473S6.js.map → chunk.YFEK7I4W.js.map} +0 -0
- /package/dist/chunks/{chunk.BNHJ5OKO.js.map → chunk.YN7K46LX.js.map} +0 -0
- /package/dist/chunks/{chunk.MON5ZZWQ.js.map → chunk.Z5A6S7OG.js.map} +0 -0
- /package/dist/chunks/{chunk.GCRD4HSU.js.map → chunk.ZVBLLRCO.js.map} +0 -0
|
@@ -103,6 +103,12 @@ const SynCheckbox = {
|
|
|
103
103
|
* @type {import('html-validate').MetaElement}
|
|
104
104
|
*/
|
|
105
105
|
const SynCombobox = {
|
|
106
|
+
attributes: {
|
|
107
|
+
hoist: {
|
|
108
|
+
boolean: true,
|
|
109
|
+
deprecated: willDeprecateInRelease('3.0', 'Synergy is now using the popover api internally which supports hoisting by default.'),
|
|
110
|
+
},
|
|
111
|
+
},
|
|
106
112
|
flow: true,
|
|
107
113
|
focusable: true,
|
|
108
114
|
formAssociated,
|
|
@@ -146,6 +152,12 @@ const SynDrawer = {
|
|
|
146
152
|
* @type {import('html-validate').MetaElement}
|
|
147
153
|
*/
|
|
148
154
|
const SynDropdown = {
|
|
155
|
+
attributes: {
|
|
156
|
+
hoist: {
|
|
157
|
+
boolean: true,
|
|
158
|
+
deprecated: willDeprecateInRelease('3.0', 'Synergy is now using the popover api internally which supports hoisting by default.'),
|
|
159
|
+
},
|
|
160
|
+
},
|
|
149
161
|
flow: true,
|
|
150
162
|
focusable: true,
|
|
151
163
|
};
|
|
@@ -327,6 +339,12 @@ const SynRange = {
|
|
|
327
339
|
* @type {import('html-validate').MetaElement}
|
|
328
340
|
*/
|
|
329
341
|
const SynSelect = {
|
|
342
|
+
attributes: {
|
|
343
|
+
hoist: {
|
|
344
|
+
boolean: true,
|
|
345
|
+
deprecated: willDeprecateInRelease('3.0', 'Synergy is now using the popover api internally which supports hoisting by default.'),
|
|
346
|
+
},
|
|
347
|
+
},
|
|
330
348
|
flow: true,
|
|
331
349
|
focusable: true,
|
|
332
350
|
formAssociated,
|
|
@@ -410,6 +428,12 @@ const SynTextarea = {
|
|
|
410
428
|
* @type {import('html-validate').MetaElement}
|
|
411
429
|
*/
|
|
412
430
|
const SynTooltip = {
|
|
431
|
+
attributes: {
|
|
432
|
+
hoist: {
|
|
433
|
+
boolean: true,
|
|
434
|
+
deprecated: willDeprecateInRelease('3.0', 'Synergy is now using the popover api internally which supports hoisting by default.'),
|
|
435
|
+
},
|
|
436
|
+
},
|
|
413
437
|
flow: true,
|
|
414
438
|
interactive: true,
|
|
415
439
|
};
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk.WXVOTRW5.js";
|
|
17
17
|
import {
|
|
18
18
|
SynIconButton
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.AHFMEUB7.js";
|
|
20
20
|
import {
|
|
21
21
|
waitForEvent
|
|
22
22
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -31,18 +31,18 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
HasSlotController
|
|
33
33
|
} from "./chunk.WVVQK5TE.js";
|
|
34
|
-
import {
|
|
35
|
-
watch
|
|
36
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
37
34
|
import {
|
|
38
35
|
LocalizeController
|
|
39
36
|
} from "./chunk.OAQRCZOO.js";
|
|
37
|
+
import {
|
|
38
|
+
watch
|
|
39
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
40
40
|
import {
|
|
41
41
|
component_styles_default
|
|
42
42
|
} from "./chunk.NLYVOJGK.js";
|
|
43
43
|
import {
|
|
44
44
|
SynergyElement
|
|
45
|
-
} from "./chunk.
|
|
45
|
+
} from "./chunk.7PWEDR4V.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.2AN6WN6D.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynPopup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.RJYU4MHA.js";
|
|
4
4
|
|
|
5
5
|
// src/components/popup/popup.ts
|
|
6
6
|
var popup_default = SynPopup;
|
|
@@ -9,4 +9,4 @@ SynPopup.define("syn-popup");
|
|
|
9
9
|
export {
|
|
10
10
|
popup_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.2EJUIR46.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynBadge
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.DORATI2I.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.2M3G5L4T.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.7PWEDR4V.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -64,4 +64,4 @@ __decorateClass([
|
|
|
64
64
|
export {
|
|
65
65
|
SynTabPanel
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=chunk.
|
|
67
|
+
//# sourceMappingURL=chunk.2RWNCMZU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadioButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.DLGN2SKF.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.2U2KM62A.js.map
|
|
@@ -17,18 +17,18 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
HasSlotController
|
|
19
19
|
} from "./chunk.WVVQK5TE.js";
|
|
20
|
-
import {
|
|
21
|
-
watch
|
|
22
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
23
20
|
import {
|
|
24
21
|
enableDefaultSettings
|
|
25
22
|
} from "./chunk.E5UUNP6E.js";
|
|
23
|
+
import {
|
|
24
|
+
watch
|
|
25
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
26
26
|
import {
|
|
27
27
|
component_styles_default
|
|
28
28
|
} from "./chunk.NLYVOJGK.js";
|
|
29
29
|
import {
|
|
30
30
|
SynergyElement
|
|
31
|
-
} from "./chunk.
|
|
31
|
+
} from "./chunk.7PWEDR4V.js";
|
|
32
32
|
import {
|
|
33
33
|
__decorateClass
|
|
34
34
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -244,7 +244,7 @@ var SynTextarea = class extends SynergyElement {
|
|
|
244
244
|
minlength=${ifDefined(this.minlength)}
|
|
245
245
|
maxlength=${ifDefined(this.maxlength)}
|
|
246
246
|
autocapitalize=${ifDefined(this.autocapitalize)}
|
|
247
|
-
autocorrect=${ifDefined(this.autocorrect)}
|
|
247
|
+
autocorrect=${ifDefined(this.autocorrect ? void 0 : "off")}
|
|
248
248
|
?autofocus=${this.autofocus}
|
|
249
249
|
spellcheck=${ifDefined(this.spellcheck)}
|
|
250
250
|
enterkeyhint=${ifDefined(this.enterkeyhint)}
|
|
@@ -332,7 +332,15 @@ __decorateClass([
|
|
|
332
332
|
property()
|
|
333
333
|
], SynTextarea.prototype, "autocapitalize", 2);
|
|
334
334
|
__decorateClass([
|
|
335
|
-
property(
|
|
335
|
+
property({
|
|
336
|
+
attribute: "autocorrect",
|
|
337
|
+
reflect: true,
|
|
338
|
+
converter: {
|
|
339
|
+
fromAttribute: (value) => value === "" || value === "on",
|
|
340
|
+
toAttribute: (value) => value ? "on" : "off"
|
|
341
|
+
},
|
|
342
|
+
type: Boolean
|
|
343
|
+
})
|
|
336
344
|
], SynTextarea.prototype, "autocorrect", 2);
|
|
337
345
|
__decorateClass([
|
|
338
346
|
property()
|
|
@@ -375,4 +383,4 @@ SynTextarea = __decorateClass([
|
|
|
375
383
|
export {
|
|
376
384
|
SynTextarea
|
|
377
385
|
};
|
|
378
|
-
//# sourceMappingURL=chunk.
|
|
386
|
+
//# sourceMappingURL=chunk.2UXCJDAJ.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/textarea/textarea.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 { classMap } from 'lit/directives/class-map.js';\nimport { defaultValue } from '../../internal/default-value.js';\nimport { FormControlController } from '../../internal/form.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { live } from 'lit/directives/live.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport formControlStyles from '../../styles/form-control.styles.js';\nimport formControlCustomStyles from '../../styles/form-control.custom.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './textarea.styles.js';\nimport customStyles from './textarea.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport type { SynergyFormControl } from '../../internal/synergy-element.js';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Textareas collect data from the user and allow multiple lines of text.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-textarea--docs\n * @status stable\n * @since 2.0\n *\n * @slot label - The textarea's label. Alternatively, you can use the `label` attribute.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n *\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-change - Emitted when an alteration to the control's value is committed by the user.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-input - Emitted when the control receives input.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The input's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart textarea - The internal `<textarea>` control.\n */\n@enableDefaultSettings('SynTextarea')\nexport default class SynTextarea extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [componentStyles, formControlStyles, styles, formControlCustomStyles, customStyles];\n\n private readonly formControlController = new FormControlController(this, {\n assumeInteractionOn: ['syn-blur', 'syn-input']\n });\n private readonly hasSlotController = new HasSlotController(this, 'help-text', 'label');\n private resizeObserver: ResizeObserver;\n\n @query('.textarea__control') input: HTMLTextAreaElement;\n @query('.textarea__size-adjuster') sizeAdjuster: HTMLTextAreaElement;\n\n @state() private hasFocus = false;\n @property({ reflect: true }) title = ''; // make reactive to pass through\n\n /** The name of the textarea, submitted as a name/value pair with form data. */\n @property() name = '';\n\n /** The current value of the textarea, submitted as a name/value pair with form data. */\n @property() value = '';\n\n /** The textarea's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** The textarea's label. If you need to display HTML, use the `label` slot instead. */\n @property() label = '';\n\n /** The textarea's help text. If you need to display HTML, use the `help-text` slot instead. */\n @property({ attribute: 'help-text' }) helpText = '';\n\n /** Placeholder text to show as a hint when the input is empty. */\n @property() placeholder = '';\n\n /** The number of rows to display by default. */\n @property({ type: Number }) rows = 4;\n\n /** Controls how the textarea can be resized. */\n @property() resize: 'none' | 'vertical' | 'auto' = 'vertical';\n\n /** Disables the textarea. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /** Makes the textarea readonly. */\n @property({ type: Boolean, reflect: true }) readonly = false;\n\n /**\n * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\n * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in\n * the same document or shadow root for this to work.\n */\n @property({ reflect: true }) form = '';\n\n /** Makes the textarea a required field. */\n @property({ type: Boolean, reflect: true }) required = false;\n\n /** The minimum length of input that will be considered valid. */\n @property({ type: Number }) minlength: number;\n\n /** The maximum length of input that will be considered valid. */\n @property({ type: Number }) maxlength: number;\n\n /** Controls whether and how text input is automatically capitalized as it is entered by the user. */\n @property() autocapitalize: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';\n\n /** Indicates whether the browser's autocorrect feature is on or off. */\n @property({\n attribute: 'autocorrect',\n reflect: true,\n converter: {\n fromAttribute: (value: string) => value === '' || value === 'on',\n toAttribute: (value: boolean) => (value ? 'on' : 'off')\n },\n type: Boolean,\n }) autocorrect: boolean;\n\n /**\n * Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n * [this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.\n */\n @property() autocomplete: string;\n\n /** Indicates that the input should receive focus on page load. */\n @property({ type: Boolean }) autofocus: boolean;\n\n /** Used to customize the label or icon of the Enter key on virtual keyboards. */\n @property() enterkeyhint: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';\n\n /** Enables spell checking on the textarea. */\n @property({\n type: Boolean,\n converter: {\n // Allow \"true|false\" attribute values but keep the property boolean\n fromAttribute: value => (!value || value === 'false' ? false : true),\n toAttribute: value => (value ? 'true' : 'false')\n }\n })\n spellcheck = true;\n\n /**\n * Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\n * keyboard on supportive devices.\n */\n @property() inputmode: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';\n\n /** The default value of the form control. Primarily used for resetting the form control. */\n @defaultValue() defaultValue = '';\n\n /** Gets the validity state object */\n get validity() {\n return this.input.validity;\n }\n\n /** Gets the validation message */\n get validationMessage() {\n return this.input.validationMessage;\n }\n\n connectedCallback() {\n super.connectedCallback();\n this.resizeObserver = new ResizeObserver(() => this.setTextareaHeight());\n\n this.updateComplete.then(() => {\n this.setTextareaHeight();\n this.resizeObserver.observe(this.input);\n });\n }\n\n firstUpdated() {\n this.formControlController.updateValidity();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n if (this.input) {\n this.resizeObserver?.unobserve(this.input);\n }\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleChange() {\n this.value = this.input.value;\n this.setTextareaHeight();\n this.emit('syn-change');\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n private handleInput() {\n this.value = this.input.value;\n this.emit('syn-input');\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n private setTextareaHeight() {\n if (this.resize === 'auto') {\n // This prevents layout shifts. We use `clientHeight` instead of `scrollHeight` to account for if the `<textarea>` has a max-height set on it. In my tests, this has worked fine. Im not aware of any edge cases. [Konnor]\n this.sizeAdjuster.style.height = `${this.input.clientHeight}px`;\n this.input.style.height = 'auto';\n this.input.style.height = `${this.input.scrollHeight}px`;\n } else {\n this.input.style.height = '';\n }\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n // Disabled form controls are always valid\n this.formControlController.setValidity(this.disabled);\n }\n\n @watch('rows', { waitUntilFirstUpdate: true })\n handleRowsChange() {\n this.setTextareaHeight();\n }\n\n @watch('value', { waitUntilFirstUpdate: true })\n async handleValueChange() {\n await this.updateComplete;\n this.formControlController.updateValidity();\n this.setTextareaHeight();\n }\n\n /** Sets focus on the textarea. */\n focus(options?: FocusOptions) {\n this.input.focus(options);\n }\n\n /** Removes focus from the textarea. */\n blur() {\n this.input.blur();\n }\n\n /** Selects all the text in the textarea. */\n select() {\n this.input.select();\n }\n\n /** Gets or sets the textarea's scroll position. */\n scrollPosition(position?: { top?: number; left?: number }): { top: number; left: number } | undefined {\n if (position) {\n if (typeof position.top === 'number') this.input.scrollTop = position.top;\n if (typeof position.left === 'number') this.input.scrollLeft = position.left;\n return undefined;\n }\n\n return {\n top: this.input.scrollTop,\n left: this.input.scrollTop\n };\n }\n\n /** Sets the start and end positions of the text selection (0-based). */\n setSelectionRange(\n selectionStart: number,\n selectionEnd: number,\n selectionDirection: 'forward' | 'backward' | 'none' = 'none'\n ) {\n this.input.setSelectionRange(selectionStart, selectionEnd, selectionDirection);\n }\n\n /** Replaces a range of text with a new string. */\n setRangeText(\n replacement: string,\n start?: number,\n end?: number,\n selectMode: 'select' | 'start' | 'end' | 'preserve' = 'preserve'\n ) {\n const selectionStart = start ?? this.input.selectionStart;\n const selectionEnd = end ?? this.input.selectionEnd;\n\n this.input.setRangeText(replacement, selectionStart, selectionEnd, selectMode);\n\n if (this.value !== this.input.value) {\n this.value = this.input.value;\n this.setTextareaHeight();\n }\n }\n\n /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */\n checkValidity() {\n return this.input.checkValidity();\n }\n\n /** Gets the associated form, if one exists. */\n getForm(): HTMLFormElement | null {\n return this.formControlController.getForm();\n }\n\n /** Checks for validity and shows the browser's validation message if the control is invalid. */\n reportValidity() {\n return this.input.reportValidity();\n }\n\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message: string) {\n this.input.setCustomValidity(message);\n this.formControlController.updateValidity();\n }\n\n render() {\n const hasLabelSlot = this.hasSlotController.test('label');\n const hasHelpTextSlot = this.hasSlotController.test('help-text');\n const hasLabel = this.label ? true : !!hasLabelSlot;\n const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;\n\n return html`\n <div\n part=\"form-control\"\n class=${classMap({\n 'form-control': true,\n 'form-control--small': this.size === 'small',\n 'form-control--medium': this.size === 'medium',\n 'form-control--large': this.size === 'large',\n 'form-control--has-label': hasLabel,\n 'form-control--has-help-text': hasHelpText\n })}\n >\n <label\n part=\"form-control-label\"\n class=\"form-control__label\"\n for=\"input\"\n aria-hidden=${hasLabel ? 'false' : 'true'}\n >\n <slot name=\"label\">${this.label}</slot>\n </label>\n\n <div part=\"form-control-input\" class=\"form-control-input\">\n <div\n part=\"base\"\n class=${classMap({\n textarea: true,\n 'textarea--small': this.size === 'small',\n 'textarea--medium': this.size === 'medium',\n 'textarea--large': this.size === 'large',\n 'textarea--standard': !this.readonly,\n 'textarea--readonly': this.readonly,\n 'textarea--disabled': this.disabled,\n 'textarea--focused': this.hasFocus,\n 'textarea--empty': !this.value,\n 'textarea--resize-none': this.resize === 'none',\n 'textarea--resize-vertical': this.resize === 'vertical',\n 'textarea--resize-auto': this.resize === 'auto'\n })}\n >\n <textarea\n part=\"textarea\"\n id=\"input\"\n class=\"textarea__control\"\n title=${this.title /* An empty title prevents browser validation tooltips from appearing on hover */}\n name=${ifDefined(this.name)}\n .value=${live(this.value)}\n ?disabled=${this.disabled}\n ?readonly=${this.readonly}\n ?required=${this.required}\n placeholder=${ifDefined(this.placeholder)}\n rows=${ifDefined(this.rows)}\n minlength=${ifDefined(this.minlength)}\n maxlength=${ifDefined(this.maxlength)}\n autocapitalize=${ifDefined(this.autocapitalize)}\n autocorrect=${ifDefined(this.autocorrect ? undefined : 'off')}\n ?autofocus=${this.autofocus}\n spellcheck=${ifDefined(this.spellcheck)}\n enterkeyhint=${ifDefined(this.enterkeyhint)}\n inputmode=${ifDefined(this.inputmode)}\n aria-describedby=\"help-text\"\n @change=${this.handleChange}\n @input=${this.handleInput}\n @invalid=${this.handleInvalid}\n @focus=${this.handleFocus}\n @blur=${this.handleBlur}\n ></textarea>\n <!-- This \"adjuster\" exists to prevent layout shifting. https://github.com/shoelace-style/shoelace/issues/2180 -->\n <div part=\"textarea-adjuster\" class=\"textarea__size-adjuster\" ?hidden=${this.resize !== 'auto'}></div>\n </div>\n </div>\n\n <div\n part=\"form-control-help-text\"\n id=\"help-text\"\n class=\"form-control__help-text\"\n aria-hidden=${hasHelpText ? 'false' : 'true'}\n >\n <slot name=\"help-text\">${this.helpText}</slot>\n </div>\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AAIzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,SAAS,YAAY;AACrB,SAAS,UAAU,OAAO,aAAa;AAmCvC,IAAqB,cAArB,cAAyC,eAA6C;AAAA,EAAtF;AAAA;AAGE,SAAiB,wBAAwB,IAAI,sBAAsB,MAAM;AAAA,MACvE,qBAAqB,CAAC,YAAY,WAAW;AAAA,IAC/C,CAAC;AACD,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,OAAO;AAM5E,SAAQ,WAAW;AACC,iBAAQ;AAGzB,gBAAO;AAGP,iBAAQ;AAGS,gBAAqC;AAGtD,iBAAQ;AAGkB,oBAAW;AAGrC,uBAAc;AAGE,gBAAO;AAGvB,kBAAuC;AAGP,oBAAW;AAGX,oBAAW;AAO1B,gBAAO;AAGQ,oBAAW;AA2CvD,sBAAa;AASG,wBAAe;AAAA;AAAA;AAAA,EAG/B,IAAI,WAAW;AACb,WAAO,KAAK,MAAM;AAAA,EACpB;AAAA;AAAA,EAGA,IAAI,oBAAoB;AACtB,WAAO,KAAK,MAAM;AAAA,EACpB;AAAA,EAEA,oBAAoB;AAClB,UAAM,kBAAkB;AACxB,SAAK,iBAAiB,IAAI,eAAe,MAAM,KAAK,kBAAkB,CAAC;AAEvE,SAAK,eAAe,KAAK,MAAM;AAC7B,WAAK,kBAAkB;AACvB,WAAK,eAAe,QAAQ,KAAK,KAAK;AAAA,IACxC,CAAC;AAAA,EACH;AAAA,EAEA,eAAe;AACb,SAAK,sBAAsB,eAAe;AAAA,EAC5C;AAAA,EAEA,uBAAuB;AArLzB;AAsLI,UAAM,qBAAqB;AAC3B,QAAI,KAAK,OAAO;AACd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AAA,EADL,MAAM,SAAS,EAAE,sBAAsB,KAAK,CAAC;AAAA,GA1L3B,YA2Lb;AA3La,cAArB;AAAA,EADC,sBAAsB,aAAa;AAAA,GACf;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTextarea
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2UXCJDAJ.js";
|
|
4
4
|
|
|
5
5
|
// src/components/textarea/textarea.ts
|
|
6
6
|
var textarea_default = SynTextarea;
|
|
@@ -9,4 +9,4 @@ SynTextarea.define("syn-textarea");
|
|
|
9
9
|
export {
|
|
10
10
|
textarea_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.33HW5JD7.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// src/components/popup/popup.custom.styles.ts
|
|
2
|
+
import { css } from "lit";
|
|
3
|
+
var popup_custom_styles_default = css`
|
|
4
|
+
.popup {
|
|
5
|
+
/* Clear UA styles for [popover] */
|
|
6
|
+
:where(&) {
|
|
7
|
+
background: unset;
|
|
8
|
+
border: unset;
|
|
9
|
+
color: unset;
|
|
10
|
+
height: unset;
|
|
11
|
+
inset: unset;
|
|
12
|
+
margin: unset;
|
|
13
|
+
overflow: unset;
|
|
14
|
+
padding: unset;
|
|
15
|
+
width: unset;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
`;
|
|
19
|
+
|
|
20
|
+
export {
|
|
21
|
+
popup_custom_styles_default
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=chunk.36EHOOOO.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/popup/popup.custom.styles.ts"],
|
|
4
|
+
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n .popup {\n /* Clear UA styles for [popover] */\n :where(&) {\n background: unset;\n border: unset;\n color: unset;\n height: unset;\n inset: unset;\n margin: unset;\n overflow: unset;\n padding: unset;\n width: unset;\n }\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,8BAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynOptgroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.WMRE3ZWT.js";
|
|
4
4
|
|
|
5
5
|
// src/components/optgroup/optgroup.ts
|
|
6
6
|
var optgroup_default = SynOptgroup;
|
|
@@ -9,4 +9,4 @@ SynOptgroup.define("syn-optgroup");
|
|
|
9
9
|
export {
|
|
10
10
|
optgroup_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.3H57PIKI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.5R4H4RCZ.js";
|
|
4
4
|
|
|
5
5
|
// src/components/button/button.ts
|
|
6
6
|
var button_default = SynButton;
|
|
@@ -9,4 +9,4 @@ SynButton.define("syn-button");
|
|
|
9
9
|
export {
|
|
10
10
|
button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.3LSWYRUI.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.RJYU4MHA.js";
|
|
14
14
|
import {
|
|
15
15
|
waitForEvent
|
|
16
16
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -22,18 +22,18 @@ import {
|
|
|
22
22
|
getAnimation,
|
|
23
23
|
setDefaultAnimation
|
|
24
24
|
} from "./chunk.7JGKUB4A.js";
|
|
25
|
-
import {
|
|
26
|
-
watch
|
|
27
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
28
25
|
import {
|
|
29
26
|
LocalizeController
|
|
30
27
|
} from "./chunk.OAQRCZOO.js";
|
|
28
|
+
import {
|
|
29
|
+
watch
|
|
30
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
31
31
|
import {
|
|
32
32
|
component_styles_default
|
|
33
33
|
} from "./chunk.NLYVOJGK.js";
|
|
34
34
|
import {
|
|
35
35
|
SynergyElement
|
|
36
|
-
} from "./chunk.
|
|
36
|
+
} from "./chunk.7PWEDR4V.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.3LVJS4GV.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\nsetDefa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Q,CAAC;AAAA,GA7DR,YA6DU;AAKA;AAAA,EAA5B,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GAlER,YAkEU;AAoRvB;AAAA,EADL,MAAM,QAAQ,EAAE,sBAAsB,KAAK,CAAC;AAAA,GArV1B,YAsVb;AA0ER,oBAAoB,iBAAiB;AAAA,EACnC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,IACzB,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,EACzB;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,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
|
+
}
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.NLYVOJGK.js";
|
|
16
16
|
import {
|
|
17
17
|
SynergyElement
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.7PWEDR4V.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.3YODD7Z3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButtonGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.GLW6G7B4.js";
|
|
4
4
|
|
|
5
5
|
// src/components/button-group/button-group.ts
|
|
6
6
|
var button_group_default = SynButtonGroup;
|
|
@@ -9,4 +9,4 @@ SynButtonGroup.define("syn-button-group");
|
|
|
9
9
|
export {
|
|
10
10
|
button_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.4NZFJ6JA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRangeTick
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.D2NG6SZW.js";
|
|
4
4
|
|
|
5
5
|
// src/components/range-tick/range-tick.ts
|
|
6
6
|
var range_tick_default = SynRangeTick;
|
|
@@ -9,4 +9,4 @@ SynRangeTick.define("syn-range-tick");
|
|
|
9
9
|
export {
|
|
10
10
|
range_tick_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.4QDZGB6K.js.map
|
|
@@ -17,18 +17,18 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
HasSlotController
|
|
19
19
|
} from "./chunk.WVVQK5TE.js";
|
|
20
|
-
import {
|
|
21
|
-
watch
|
|
22
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
23
20
|
import {
|
|
24
21
|
enableDefaultSettings
|
|
25
22
|
} from "./chunk.E5UUNP6E.js";
|
|
23
|
+
import {
|
|
24
|
+
watch
|
|
25
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
26
26
|
import {
|
|
27
27
|
component_styles_default
|
|
28
28
|
} from "./chunk.NLYVOJGK.js";
|
|
29
29
|
import {
|
|
30
30
|
SynergyElement
|
|
31
|
-
} from "./chunk.
|
|
31
|
+
} from "./chunk.7PWEDR4V.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.4XY2BVNK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynAlert
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.KR75XE3N.js";
|
|
4
4
|
|
|
5
5
|
// src/components/alert/alert.ts
|
|
6
6
|
var alert_default = SynAlert;
|
|
@@ -9,4 +9,4 @@ SynAlert.define("syn-alert");
|
|
|
9
9
|
export {
|
|
10
10
|
alert_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.5LGG5AH4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSpinner
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.PCMT3MUM.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlController,
|
|
6
6
|
validValidityState
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
} from "./chunk.WVVQK5TE.js";
|
|
18
18
|
import {
|
|
19
19
|
SynIcon
|
|
20
|
-
} from "./chunk.
|
|
21
|
-
import {
|
|
22
|
-
watch
|
|
23
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
20
|
+
} from "./chunk.AVJBYGN3.js";
|
|
24
21
|
import {
|
|
25
22
|
LocalizeController
|
|
26
23
|
} from "./chunk.OAQRCZOO.js";
|
|
27
24
|
import {
|
|
28
25
|
enableDefaultSettings
|
|
29
26
|
} from "./chunk.E5UUNP6E.js";
|
|
27
|
+
import {
|
|
28
|
+
watch
|
|
29
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
30
30
|
import {
|
|
31
31
|
component_styles_default
|
|
32
32
|
} from "./chunk.NLYVOJGK.js";
|
|
33
33
|
import {
|
|
34
34
|
SynergyElement
|
|
35
|
-
} from "./chunk.
|
|
35
|
+
} from "./chunk.7PWEDR4V.js";
|
|
36
36
|
import {
|
|
37
37
|
__decorateClass
|
|
38
38
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -295,4 +295,4 @@ SynButton = __decorateClass([
|
|
|
295
295
|
export {
|
|
296
296
|
SynButton
|
|
297
297
|
};
|
|
298
|
-
//# sourceMappingURL=chunk.
|
|
298
|
+
//# sourceMappingURL=chunk.5R4H4RCZ.js.map
|
|
@@ -18,22 +18,22 @@ import {
|
|
|
18
18
|
} from "./chunk.7JGKUB4A.js";
|
|
19
19
|
import {
|
|
20
20
|
SynIcon
|
|
21
|
-
} from "./chunk.
|
|
22
|
-
import {
|
|
23
|
-
watch
|
|
24
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
21
|
+
} from "./chunk.AVJBYGN3.js";
|
|
25
22
|
import {
|
|
26
23
|
LocalizeController
|
|
27
24
|
} from "./chunk.OAQRCZOO.js";
|
|
28
25
|
import {
|
|
29
26
|
enableDefaultSettings
|
|
30
27
|
} from "./chunk.E5UUNP6E.js";
|
|
28
|
+
import {
|
|
29
|
+
watch
|
|
30
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
31
31
|
import {
|
|
32
32
|
component_styles_default
|
|
33
33
|
} from "./chunk.NLYVOJGK.js";
|
|
34
34
|
import {
|
|
35
35
|
SynergyElement
|
|
36
|
-
} from "./chunk.
|
|
36
|
+
} from "./chunk.7PWEDR4V.js";
|
|
37
37
|
import {
|
|
38
38
|
__decorateClass
|
|
39
39
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -247,4 +247,4 @@ setDefaultAnimation("details.hide", {
|
|
|
247
247
|
export {
|
|
248
248
|
SynDetails
|
|
249
249
|
};
|
|
250
|
-
//# sourceMappingURL=chunk.
|
|
250
|
+
//# sourceMappingURL=chunk.5YXHVJLW.js.map
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
} from "./chunk.43YNZAWL.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIconButton
|
|
9
|
-
} from "./chunk.
|
|
10
|
-
import {
|
|
11
|
-
watch
|
|
12
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
9
|
+
} from "./chunk.AHFMEUB7.js";
|
|
13
10
|
import {
|
|
14
11
|
LocalizeController
|
|
15
12
|
} from "./chunk.OAQRCZOO.js";
|
|
13
|
+
import {
|
|
14
|
+
watch
|
|
15
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
16
16
|
import {
|
|
17
17
|
component_styles_default
|
|
18
18
|
} from "./chunk.NLYVOJGK.js";
|
|
19
19
|
import {
|
|
20
20
|
SynergyElement
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.7PWEDR4V.js";
|
|
22
22
|
import {
|
|
23
23
|
__decorateClass
|
|
24
24
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -118,4 +118,4 @@ __decorateClass([
|
|
|
118
118
|
export {
|
|
119
119
|
SynTab
|
|
120
120
|
};
|
|
121
|
-
//# sourceMappingURL=chunk.
|
|
121
|
+
//# sourceMappingURL=chunk.7J4L52X7.js.map
|