@synergy-design-system/components 2.4.3 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/chunk.277APOW3.js +277 -0
- package/dist/chunks/chunk.277APOW3.js.map +7 -0
- package/dist/chunks/{chunk.QZNPL6WK.js → chunk.27HWF7JY.js} +12 -2
- package/dist/chunks/{chunk.QZNPL6WK.js.map → chunk.27HWF7JY.js.map} +2 -2
- package/dist/chunks/{chunk.Y4LO5L6L.js → chunk.2IEYCSI6.js} +4 -4
- package/dist/chunks/{chunk.NH5UF5W4.js → chunk.2TVDQYJX.js} +12 -12
- package/dist/chunks/{chunk.XVFSTDCI.js → chunk.2VMSUMKU.js} +2 -2
- package/dist/chunks/{chunk.KP7ABNMV.js → chunk.3HG7LHI7.js} +8 -8
- package/dist/chunks/{chunk.MIF4NFFN.js → chunk.3I5JDTGT.js} +3 -3
- package/dist/chunks/{chunk.MIF4NFFN.js.map → chunk.3I5JDTGT.js.map} +1 -1
- package/dist/chunks/{chunk.BCREP7HQ.js → chunk.3SWRT4AL.js} +2 -2
- package/dist/chunks/{chunk.OPAVUSG6.js → chunk.4DCKHPZX.js} +6 -6
- package/dist/chunks/{chunk.DOHCZXOF.js → chunk.4PD74CS6.js} +2 -2
- package/dist/chunks/{chunk.5CL6DHME.js → chunk.4SSPQ66Z.js} +4 -4
- package/dist/chunks/{chunk.GJPZZH76.js → chunk.536NCWEA.js} +2 -2
- package/dist/chunks/{chunk.AV56MW4Q.js → chunk.543GQUFN.js} +4 -4
- package/dist/chunks/{chunk.AD7URUHH.js → chunk.63P7MT4J.js} +2 -2
- package/dist/chunks/{chunk.VA5J6CGG.js → chunk.6BJDFV76.js} +2 -2
- package/dist/chunks/{chunk.VNQF6LEZ.js → chunk.6RTGL3PP.js} +2 -2
- package/dist/chunks/{chunk.FO3NV7MY.js → chunk.72I324LK.js} +12 -10
- package/dist/chunks/{chunk.FO3NV7MY.js.map → chunk.72I324LK.js.map} +1 -1
- package/dist/chunks/{chunk.SDQC32B3.js → chunk.AINKZEUX.js} +3 -1
- package/dist/chunks/{chunk.SDQC32B3.js.map → chunk.AINKZEUX.js.map} +2 -2
- package/dist/chunks/{chunk.5BUBL7JY.js → chunk.AMAMIZIA.js} +2 -2
- package/dist/chunks/{chunk.H4EFGKKT.js → chunk.AQ3OGEJ7.js} +2 -2
- package/dist/chunks/{chunk.NUHI5YB7.js → chunk.AQJKRHVT.js} +11 -11
- package/dist/chunks/{chunk.ZBYQDVMH.js → chunk.AZVHDONN.js} +15 -13
- package/dist/chunks/{chunk.ZBYQDVMH.js.map → chunk.AZVHDONN.js.map} +1 -1
- package/dist/chunks/chunk.C2ENQBPM.js +17 -0
- package/dist/chunks/chunk.C2ENQBPM.js.map +7 -0
- package/dist/chunks/{chunk.MVZJDKSR.js → chunk.CFXNQ5IS.js} +9 -9
- package/dist/chunks/{chunk.KOZGQJ42.js → chunk.CGOHWVSA.js} +3 -3
- package/dist/chunks/{chunk.PMC3VAD6.js → chunk.CRU7ZSDO.js} +2 -2
- package/dist/chunks/{chunk.6JHUWKC2.js → chunk.D3FO6WR5.js} +6 -6
- package/dist/chunks/{chunk.SMPYVOTL.js → chunk.D3NSCKGB.js} +2 -2
- package/dist/chunks/{chunk.JBW7QDPF.js → chunk.D65RJIQG.js} +2 -2
- package/dist/chunks/{chunk.4H3F5YVU.js → chunk.DRA2UZ77.js} +4 -4
- package/dist/chunks/{chunk.W2S2MTUW.js → chunk.E35IIEQ7.js} +2 -2
- package/dist/chunks/{chunk.NMM47RXC.js → chunk.EIKNGXXK.js} +2 -2
- package/dist/chunks/{chunk.4HSU3RZA.js → chunk.EJNLN3CX.js} +2 -2
- package/dist/chunks/{chunk.J47HF5GZ.js → chunk.F6HHFAPB.js} +6 -6
- package/dist/chunks/{chunk.UWNJQDZP.js → chunk.FIIQJSVJ.js} +5 -5
- package/dist/chunks/{chunk.CX4QZVGR.js → chunk.FKKJBKYL.js} +3 -6
- package/dist/chunks/{chunk.CX4QZVGR.js.map → chunk.FKKJBKYL.js.map} +2 -2
- package/dist/chunks/{chunk.PYLHI2JQ.js → chunk.FMSA5VHT.js} +3 -17
- package/dist/chunks/{chunk.PYLHI2JQ.js.map → chunk.FMSA5VHT.js.map} +3 -3
- package/dist/chunks/{chunk.TFC66SL6.js → chunk.FRELNK6W.js} +12 -10
- package/dist/chunks/{chunk.TFC66SL6.js.map → chunk.FRELNK6W.js.map} +1 -1
- package/dist/chunks/{chunk.B4PYRXCV.js → chunk.GKKENNQE.js} +13 -11
- package/dist/chunks/{chunk.B4PYRXCV.js.map → chunk.GKKENNQE.js.map} +1 -1
- package/dist/chunks/{chunk.4HBNKWDI.js → chunk.GQMLBFF3.js} +2 -2
- package/dist/chunks/{chunk.ZBJXFMXI.js → chunk.GVPQNGY3.js} +9 -9
- package/dist/chunks/{chunk.2BKN4SVL.js → chunk.H43NLW3K.js} +2 -2
- package/dist/chunks/{chunk.SW3NDC4L.js → chunk.HE4KPEL6.js} +2 -2
- package/dist/chunks/{chunk.R7FWD6IV.js → chunk.HIIXDCGP.js} +4 -4
- package/dist/chunks/{chunk.QNDC5KWA.js → chunk.HLQ75E45.js} +27 -1
- package/dist/chunks/{chunk.GCI7QWTQ.js → chunk.HVKRSLBD.js} +9 -9
- package/dist/chunks/{chunk.RILCNQ7U.js → chunk.I6ROVIIB.js} +2 -2
- package/dist/chunks/chunk.I6YARDHH.js +39 -0
- package/dist/chunks/chunk.I6YARDHH.js.map +7 -0
- package/dist/chunks/chunk.IJ67S5B6.js +12 -0
- package/dist/chunks/chunk.IJ67S5B6.js.map +7 -0
- package/dist/chunks/chunk.IKZOQ7AE.js +184 -0
- package/dist/chunks/chunk.IKZOQ7AE.js.map +7 -0
- package/dist/chunks/{chunk.TQMD3CRX.js → chunk.INQ5T33N.js} +2 -2
- package/dist/chunks/{chunk.QJMO7V5R.js → chunk.ITKS5ZOS.js} +2 -2
- package/dist/chunks/{chunk.VHASVP7B.js → chunk.ITW4C543.js} +8 -8
- package/dist/chunks/{chunk.Z2XKAE7D.js → chunk.ITWCPUOB.js} +13 -11
- package/dist/chunks/{chunk.Z2XKAE7D.js.map → chunk.ITWCPUOB.js.map} +1 -1
- package/dist/chunks/{chunk.XMS3V7AX.js → chunk.J2EUQLBR.js} +5 -5
- package/dist/chunks/{chunk.A54YJOJZ.js → chunk.J5H7WYNF.js} +2 -2
- package/dist/chunks/{chunk.EHZE3CKH.js → chunk.JUZCWVBF.js} +8 -8
- package/dist/chunks/{chunk.LITNZ5UP.js → chunk.K26XKBB4.js} +4 -4
- package/dist/chunks/{chunk.YLRQUWVH.js → chunk.K5OP4LDM.js} +2 -2
- package/dist/chunks/{chunk.Q63T23NX.js → chunk.KCVQQRVW.js} +2 -2
- package/dist/chunks/{chunk.MSUX23ZJ.js → chunk.KL7CAPPJ.js} +2 -2
- package/dist/chunks/chunk.LGCK4I4E.js +12 -0
- package/dist/chunks/chunk.LGCK4I4E.js.map +7 -0
- package/dist/chunks/{chunk.7MRLMCDG.js → chunk.LH75WEHB.js} +16 -14
- package/dist/chunks/{chunk.7MRLMCDG.js.map → chunk.LH75WEHB.js.map} +1 -1
- package/dist/chunks/{chunk.QGODDF6V.js → chunk.LQCQI2F4.js} +2 -2
- package/dist/chunks/{chunk.WM3ZKNS4.js → chunk.M2JYB7TN.js} +2 -2
- package/dist/chunks/chunk.MCWFKLR3.js +49 -0
- package/dist/chunks/chunk.MCWFKLR3.js.map +7 -0
- package/dist/chunks/{chunk.2FHYURSV.js → chunk.MM55BLFM.js} +3 -3
- package/dist/chunks/{chunk.FZKUXUK6.js → chunk.NCXSLHHQ.js} +7 -7
- package/dist/chunks/{chunk.TJADLTCQ.js → chunk.NFYLQHRP.js} +17 -15
- package/dist/chunks/{chunk.TJADLTCQ.js.map → chunk.NFYLQHRP.js.map} +1 -1
- package/dist/chunks/{chunk.QH5LWFIU.js → chunk.NPHJNN2T.js} +3 -3
- package/dist/chunks/{chunk.LVMOATGP.js → chunk.NREQNXC6.js} +5 -5
- package/dist/chunks/chunk.OOFVD7M5.js +483 -0
- package/dist/chunks/chunk.OOFVD7M5.js.map +7 -0
- package/dist/chunks/{chunk.5UWGWBIX.js → chunk.OQQ3RUCC.js} +2 -2
- package/dist/chunks/{chunk.KBUOEYFD.js → chunk.OUEA3H7P.js} +6 -6
- package/dist/chunks/{chunk.DXNSNACZ.js → chunk.OZGGB3YU.js} +2 -2
- package/dist/chunks/{chunk.XHVDKQO2.js → chunk.PAFCMQM4.js} +2 -2
- package/dist/chunks/{chunk.XRRZVMQT.js → chunk.PN2B3HKP.js} +2 -2
- package/dist/chunks/{chunk.KDBBMF6R.js → chunk.PPKWM5KJ.js} +7 -7
- package/dist/chunks/{chunk.E3KW3KQM.js → chunk.QQ3HY3YJ.js} +2 -2
- package/dist/chunks/{chunk.E3KW3KQM.js.map → chunk.QQ3HY3YJ.js.map} +1 -1
- package/dist/chunks/{chunk.MXCWG2OM.js → chunk.R4Y2EU76.js} +2 -2
- package/dist/chunks/{chunk.JBSLSPA4.js → chunk.R6T4FYGP.js} +2 -2
- package/dist/chunks/{chunk.DFR3UNMT.js → chunk.RU5QGDNJ.js} +7 -7
- package/dist/chunks/{chunk.5C2N3OG3.js → chunk.S35OARTV.js} +2 -2
- package/dist/chunks/{chunk.4ZAIWKYK.js → chunk.T2BHFREJ.js} +4 -4
- package/dist/chunks/{chunk.DNYMFI4T.js → chunk.TOWZTCAT.js} +2 -2
- package/dist/chunks/{chunk.R2MO73SN.js → chunk.U7XXAVXV.js} +2 -2
- package/dist/chunks/{chunk.MQMVF4PW.js → chunk.UCZUWSO5.js} +8 -8
- package/dist/chunks/{chunk.5KE7YYYL.js → chunk.ULJBPLL6.js} +3 -3
- package/dist/chunks/{chunk.PD4GEYPT.js → chunk.UQOWSCP3.js} +2 -2
- package/dist/chunks/{chunk.4UGAAIOV.js → chunk.UYCIME52.js} +8 -8
- package/dist/chunks/{chunk.AVNL6XBJ.js → chunk.UYMVCZFD.js} +5 -5
- package/dist/chunks/{chunk.PVBLEKYQ.js → chunk.VB7U5SK7.js} +2 -2
- package/dist/chunks/{chunk.CN4QRO22.js → chunk.VXAM5HPM.js} +2 -2
- package/dist/chunks/chunk.WO6VXGWQ.js +34 -0
- package/dist/chunks/chunk.WO6VXGWQ.js.map +7 -0
- package/dist/chunks/chunk.WYQ7ZY3X.js +12 -0
- package/dist/chunks/chunk.WYQ7ZY3X.js.map +7 -0
- package/dist/chunks/{chunk.DCILBP5O.js → chunk.WZ3DZS4C.js} +2 -2
- package/dist/chunks/chunk.X7LEPG3A.js +681 -0
- package/dist/chunks/chunk.X7LEPG3A.js.map +7 -0
- package/dist/chunks/{chunk.STPTOC6W.js → chunk.X7TL7T7R.js} +2 -2
- package/dist/chunks/{chunk.IUBRJUHB.js → chunk.XE5OK2UE.js} +2 -2
- package/dist/chunks/{chunk.MLTJKLDB.js → chunk.XG3XBCNU.js} +2 -2
- package/dist/chunks/{chunk.2BVNVTCJ.js → chunk.XL5RSJ3V.js} +2 -2
- package/dist/chunks/{chunk.LLNHJVT6.js → chunk.XVUJKP6I.js} +4 -4
- package/dist/chunks/{chunk.NCS3KNSS.js → chunk.Y3LKXZKA.js} +3 -3
- package/dist/chunks/{chunk.6EXC65JJ.js → chunk.YCNVMJNR.js} +9 -2
- package/dist/chunks/{chunk.6EXC65JJ.js.map → chunk.YCNVMJNR.js.map} +2 -2
- package/dist/chunks/{chunk.F5LLLIE5.js → chunk.YOHLIT2Z.js} +4 -4
- package/dist/chunks/{chunk.KU3GIITB.js → chunk.ZXXT7QGH.js} +2 -2
- package/dist/components/accordion/accordion.component.js +4 -4
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/accordion/accordion.styles.js +1 -1
- package/dist/components/alert/alert.component.js +14 -13
- package/dist/components/alert/alert.custom.styles.js +1 -1
- package/dist/components/alert/alert.js +15 -14
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/badge/badge.component.js +5 -5
- package/dist/components/badge/badge.custom.styles.js +1 -1
- package/dist/components/badge/badge.js +6 -6
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.js +10 -10
- package/dist/components/breadcrumb/breadcrumb.custom.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +11 -11
- package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.custom.styles.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
- package/dist/components/button/button.component.js +12 -12
- package/dist/components/button/button.custom.styles.js +1 -1
- package/dist/components/button/button.js +13 -13
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/button-group/button-group.component.js +3 -3
- package/dist/components/button-group/button-group.js +4 -4
- package/dist/components/button-group/button-group.styles.js +1 -1
- package/dist/components/card/card.component.js +3 -3
- package/dist/components/card/card.custom.styles.js +1 -1
- package/dist/components/card/card.js +4 -4
- package/dist/components/card/card.styles.js +1 -1
- package/dist/components/checkbox/checkbox.component.js +10 -10
- package/dist/components/checkbox/checkbox.custom.styles.js +1 -1
- package/dist/components/checkbox/checkbox.js +11 -11
- package/dist/components/checkbox/checkbox.styles.js +1 -1
- package/dist/components/details/details.component.js +13 -12
- package/dist/components/details/details.custom.styles.js +1 -1
- package/dist/components/details/details.js +14 -13
- package/dist/components/details/details.styles.js +1 -1
- package/dist/components/dialog/dialog.component.js +15 -14
- package/dist/components/dialog/dialog.custom.styles.js +1 -1
- package/dist/components/dialog/dialog.js +16 -15
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/divider/divider.component.js +4 -4
- package/dist/components/divider/divider.custom.styles.js +1 -1
- package/dist/components/divider/divider.js +5 -5
- package/dist/components/divider/divider.styles.js +1 -1
- package/dist/components/drawer/drawer.component.js +15 -14
- package/dist/components/drawer/drawer.custom.styles.js +1 -1
- package/dist/components/drawer/drawer.js +16 -15
- package/dist/components/drawer/drawer.styles.js +1 -1
- package/dist/components/dropdown/dropdown.component.js +10 -9
- package/dist/components/dropdown/dropdown.custom.styles.js +1 -1
- package/dist/components/dropdown/dropdown.js +11 -10
- package/dist/components/dropdown/dropdown.styles.js +1 -1
- package/dist/components/file/file.component.d.ts +195 -0
- package/dist/components/file/file.component.js +32 -0
- package/dist/components/file/file.component.js.map +7 -0
- package/dist/components/file/file.d.ts +8 -0
- package/dist/components/file/file.js +33 -0
- package/dist/components/file/file.js.map +7 -0
- package/dist/components/file/file.styles.d.ts +2 -0
- package/dist/components/file/file.styles.js +8 -0
- package/dist/components/file/file.styles.js.map +7 -0
- package/dist/components/header/header.component.js +11 -11
- package/dist/components/header/header.js +12 -12
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/icon/icon.component.js +7 -7
- package/dist/components/icon/icon.custom.styles.js +1 -1
- package/dist/components/icon/icon.js +8 -8
- package/dist/components/icon/icon.styles.js +1 -1
- package/dist/components/icon/library.default.js +1 -1
- package/dist/components/icon/library.js +3 -3
- package/dist/components/icon/library.system.js +2 -2
- package/dist/components/icon-button/icon-button.component.js +8 -8
- package/dist/components/icon-button/icon-button.custom.styles.js +1 -1
- package/dist/components/icon-button/icon-button.js +9 -9
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/input/input.component.js +14 -14
- package/dist/components/input/input.custom.styles.js +1 -1
- package/dist/components/input/input.js +15 -15
- package/dist/components/input/input.styles.js +1 -1
- package/dist/components/menu/menu.component.js +3 -3
- package/dist/components/menu/menu.custom.styles.js +1 -1
- package/dist/components/menu/menu.js +4 -4
- package/dist/components/menu/menu.styles.js +1 -1
- package/dist/components/menu-item/menu-item.component.js +13 -13
- package/dist/components/menu-item/menu-item.custom.styles.js +1 -1
- package/dist/components/menu-item/menu-item.js +14 -14
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/menu-item/submenu-controller.js +3 -3
- package/dist/components/menu-label/menu-label.component.js +6 -6
- package/dist/components/menu-label/menu-label.custom.styles.js +1 -1
- package/dist/components/menu-label/menu-label.js +7 -7
- package/dist/components/menu-label/menu-label.styles.js +1 -1
- package/dist/components/nav-item/nav-item.component.js +5 -5
- package/dist/components/nav-item/nav-item.js +6 -6
- package/dist/components/nav-item/nav-item.styles.js +1 -1
- package/dist/components/optgroup/optgroup.component.js +5 -5
- package/dist/components/optgroup/optgroup.js +6 -6
- package/dist/components/optgroup/optgroup.styles.js +1 -1
- package/dist/components/option/option.component.js +10 -10
- package/dist/components/option/option.custom.styles.js +1 -1
- package/dist/components/option/option.js +11 -11
- package/dist/components/option/option.styles.js +1 -1
- package/dist/components/popup/popup.component.js +3 -3
- package/dist/components/popup/popup.js +4 -4
- package/dist/components/popup/popup.styles.js +1 -1
- package/dist/components/prio-nav/prio-nav.component.js +18 -17
- package/dist/components/prio-nav/prio-nav.js +19 -18
- package/dist/components/prio-nav/prio-nav.styles.js +1 -1
- package/dist/components/prio-nav/utils.js +1 -1
- package/dist/components/progress-bar/progress-bar.component.js +5 -5
- package/dist/components/progress-bar/progress-bar.custom.styles.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +6 -6
- package/dist/components/progress-bar/progress-bar.styles.js +1 -1
- package/dist/components/progress-ring/progress-ring.component.js +5 -5
- package/dist/components/progress-ring/progress-ring.custom.styles.js +1 -1
- package/dist/components/progress-ring/progress-ring.js +6 -6
- package/dist/components/progress-ring/progress-ring.styles.js +1 -1
- package/dist/components/radio/radio.component.js +8 -8
- package/dist/components/radio/radio.custom.styles.js +1 -1
- package/dist/components/radio/radio.js +9 -9
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.component.js +4 -4
- package/dist/components/radio-button/radio-button.js +5 -5
- package/dist/components/radio-button/radio-button.styles.js +1 -1
- package/dist/components/radio-group/radio-group.component.js +7 -7
- package/dist/components/radio-group/radio-group.custom.styles.js +1 -1
- package/dist/components/radio-group/radio-group.js +8 -8
- package/dist/components/radio-group/radio-group.styles.js +1 -1
- package/dist/components/range/range.component.d.ts +125 -0
- package/dist/components/range/range.component.js +26 -0
- package/dist/components/range/range.component.js.map +7 -0
- package/dist/components/range/range.d.ts +8 -0
- package/dist/components/range/range.js +27 -0
- package/dist/components/range/range.js.map +7 -0
- package/dist/components/range/range.styles.d.ts +2 -0
- package/dist/components/range/range.styles.js +8 -0
- package/dist/components/range/range.styles.js.map +7 -0
- package/dist/components/range/utility.d.ts +9 -0
- package/dist/components/range/utility.js +12 -0
- package/dist/components/range/utility.js.map +7 -0
- package/dist/components/range-tick/range-tick.component.d.ts +24 -0
- package/dist/components/range-tick/range-tick.component.js +10 -0
- package/dist/components/range-tick/range-tick.component.js.map +7 -0
- package/dist/components/range-tick/range-tick.d.ts +8 -0
- package/dist/components/range-tick/range-tick.js +11 -0
- package/dist/components/range-tick/range-tick.js.map +7 -0
- package/dist/components/range-tick/range-tick.styles.d.ts +2 -0
- package/dist/components/range-tick/range-tick.styles.js +8 -0
- package/dist/components/range-tick/range-tick.styles.js.map +7 -0
- package/dist/components/select/select.component.js +19 -18
- package/dist/components/select/select.custom.styles.js +1 -1
- package/dist/components/select/select.js +20 -19
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/side-nav/side-nav.component.js +17 -16
- package/dist/components/side-nav/side-nav.js +18 -17
- package/dist/components/side-nav/side-nav.styles.js +1 -1
- package/dist/components/spinner/spinner.component.js +5 -5
- package/dist/components/spinner/spinner.custom.styles.js +1 -1
- package/dist/components/spinner/spinner.js +6 -6
- package/dist/components/spinner/spinner.styles.js +1 -1
- package/dist/components/switch/switch.component.js +7 -7
- package/dist/components/switch/switch.custom.styles.js +1 -1
- package/dist/components/switch/switch.js +8 -8
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.component.js +11 -11
- package/dist/components/tab/tab.custom.styles.js +1 -1
- package/dist/components/tab/tab.js +12 -12
- package/dist/components/tab/tab.styles.js +1 -1
- package/dist/components/tab-group/tab-group.component.js +12 -12
- package/dist/components/tab-group/tab-group.custom.styles.js +1 -1
- package/dist/components/tab-group/tab-group.js +13 -13
- package/dist/components/tab-group/tab-group.styles.js +1 -1
- package/dist/components/tab-panel/tab-panel.component.js +4 -4
- package/dist/components/tab-panel/tab-panel.custom.styles.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +5 -5
- package/dist/components/tab-panel/tab-panel.styles.js +1 -1
- package/dist/components/tag/tag.component.js +12 -12
- package/dist/components/tag/tag.custom.styles.js +1 -1
- package/dist/components/tag/tag.js +13 -13
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/textarea/textarea.component.js +6 -6
- package/dist/components/textarea/textarea.custom.styles.js +1 -1
- package/dist/components/textarea/textarea.js +7 -7
- package/dist/components/textarea/textarea.styles.js +1 -1
- package/dist/components/tooltip/tooltip.component.js +11 -10
- package/dist/components/tooltip/tooltip.custom.styles.js +1 -1
- package/dist/components/tooltip/tooltip.js +12 -11
- package/dist/components/tooltip/tooltip.styles.js +1 -1
- package/dist/custom-elements.json +1810 -279
- package/dist/events/events.d.ts +1 -0
- package/dist/events/syn-move.d.ts +9 -0
- package/dist/styles/fouc.css +3 -0
- package/dist/styles/index.css +4 -1
- package/dist/synergy-autoloader.js +1 -1
- package/dist/synergy.d.ts +3 -0
- package/dist/synergy.js +155 -135
- package/dist/translations/de.js +14 -4
- package/dist/translations/de.js.map +2 -2
- package/dist/translations/en.js +2 -2
- package/dist/utilities/animation-registry.js +2 -2
- package/dist/utilities/base-path.js +1 -1
- package/dist/utilities/form.js +3 -3
- package/dist/utilities/icon-library.js +3 -3
- package/dist/utilities/localize.d.ts +6 -0
- package/dist/utilities/localize.js +3 -3
- package/dist/vscode.html-custom-data.json +183 -0
- package/package.json +4 -4
- /package/dist/chunks/{chunk.Y4LO5L6L.js.map → chunk.2IEYCSI6.js.map} +0 -0
- /package/dist/chunks/{chunk.NH5UF5W4.js.map → chunk.2TVDQYJX.js.map} +0 -0
- /package/dist/chunks/{chunk.XVFSTDCI.js.map → chunk.2VMSUMKU.js.map} +0 -0
- /package/dist/chunks/{chunk.KP7ABNMV.js.map → chunk.3HG7LHI7.js.map} +0 -0
- /package/dist/chunks/{chunk.BCREP7HQ.js.map → chunk.3SWRT4AL.js.map} +0 -0
- /package/dist/chunks/{chunk.OPAVUSG6.js.map → chunk.4DCKHPZX.js.map} +0 -0
- /package/dist/chunks/{chunk.DOHCZXOF.js.map → chunk.4PD74CS6.js.map} +0 -0
- /package/dist/chunks/{chunk.5CL6DHME.js.map → chunk.4SSPQ66Z.js.map} +0 -0
- /package/dist/chunks/{chunk.GJPZZH76.js.map → chunk.536NCWEA.js.map} +0 -0
- /package/dist/chunks/{chunk.AV56MW4Q.js.map → chunk.543GQUFN.js.map} +0 -0
- /package/dist/chunks/{chunk.AD7URUHH.js.map → chunk.63P7MT4J.js.map} +0 -0
- /package/dist/chunks/{chunk.VA5J6CGG.js.map → chunk.6BJDFV76.js.map} +0 -0
- /package/dist/chunks/{chunk.VNQF6LEZ.js.map → chunk.6RTGL3PP.js.map} +0 -0
- /package/dist/chunks/{chunk.5BUBL7JY.js.map → chunk.AMAMIZIA.js.map} +0 -0
- /package/dist/chunks/{chunk.H4EFGKKT.js.map → chunk.AQ3OGEJ7.js.map} +0 -0
- /package/dist/chunks/{chunk.NUHI5YB7.js.map → chunk.AQJKRHVT.js.map} +0 -0
- /package/dist/chunks/{chunk.MVZJDKSR.js.map → chunk.CFXNQ5IS.js.map} +0 -0
- /package/dist/chunks/{chunk.KOZGQJ42.js.map → chunk.CGOHWVSA.js.map} +0 -0
- /package/dist/chunks/{chunk.PMC3VAD6.js.map → chunk.CRU7ZSDO.js.map} +0 -0
- /package/dist/chunks/{chunk.6JHUWKC2.js.map → chunk.D3FO6WR5.js.map} +0 -0
- /package/dist/chunks/{chunk.SMPYVOTL.js.map → chunk.D3NSCKGB.js.map} +0 -0
- /package/dist/chunks/{chunk.JBW7QDPF.js.map → chunk.D65RJIQG.js.map} +0 -0
- /package/dist/chunks/{chunk.4H3F5YVU.js.map → chunk.DRA2UZ77.js.map} +0 -0
- /package/dist/chunks/{chunk.W2S2MTUW.js.map → chunk.E35IIEQ7.js.map} +0 -0
- /package/dist/chunks/{chunk.NMM47RXC.js.map → chunk.EIKNGXXK.js.map} +0 -0
- /package/dist/chunks/{chunk.4HSU3RZA.js.map → chunk.EJNLN3CX.js.map} +0 -0
- /package/dist/chunks/{chunk.J47HF5GZ.js.map → chunk.F6HHFAPB.js.map} +0 -0
- /package/dist/chunks/{chunk.UWNJQDZP.js.map → chunk.FIIQJSVJ.js.map} +0 -0
- /package/dist/chunks/{chunk.4HBNKWDI.js.map → chunk.GQMLBFF3.js.map} +0 -0
- /package/dist/chunks/{chunk.ZBJXFMXI.js.map → chunk.GVPQNGY3.js.map} +0 -0
- /package/dist/chunks/{chunk.2BKN4SVL.js.map → chunk.H43NLW3K.js.map} +0 -0
- /package/dist/chunks/{chunk.SW3NDC4L.js.map → chunk.HE4KPEL6.js.map} +0 -0
- /package/dist/chunks/{chunk.R7FWD6IV.js.map → chunk.HIIXDCGP.js.map} +0 -0
- /package/dist/chunks/{chunk.QNDC5KWA.js.map → chunk.HLQ75E45.js.map} +0 -0
- /package/dist/chunks/{chunk.GCI7QWTQ.js.map → chunk.HVKRSLBD.js.map} +0 -0
- /package/dist/chunks/{chunk.RILCNQ7U.js.map → chunk.I6ROVIIB.js.map} +0 -0
- /package/dist/chunks/{chunk.TQMD3CRX.js.map → chunk.INQ5T33N.js.map} +0 -0
- /package/dist/chunks/{chunk.QJMO7V5R.js.map → chunk.ITKS5ZOS.js.map} +0 -0
- /package/dist/chunks/{chunk.VHASVP7B.js.map → chunk.ITW4C543.js.map} +0 -0
- /package/dist/chunks/{chunk.XMS3V7AX.js.map → chunk.J2EUQLBR.js.map} +0 -0
- /package/dist/chunks/{chunk.A54YJOJZ.js.map → chunk.J5H7WYNF.js.map} +0 -0
- /package/dist/chunks/{chunk.EHZE3CKH.js.map → chunk.JUZCWVBF.js.map} +0 -0
- /package/dist/chunks/{chunk.LITNZ5UP.js.map → chunk.K26XKBB4.js.map} +0 -0
- /package/dist/chunks/{chunk.YLRQUWVH.js.map → chunk.K5OP4LDM.js.map} +0 -0
- /package/dist/chunks/{chunk.Q63T23NX.js.map → chunk.KCVQQRVW.js.map} +0 -0
- /package/dist/chunks/{chunk.MSUX23ZJ.js.map → chunk.KL7CAPPJ.js.map} +0 -0
- /package/dist/chunks/{chunk.QGODDF6V.js.map → chunk.LQCQI2F4.js.map} +0 -0
- /package/dist/chunks/{chunk.WM3ZKNS4.js.map → chunk.M2JYB7TN.js.map} +0 -0
- /package/dist/chunks/{chunk.2FHYURSV.js.map → chunk.MM55BLFM.js.map} +0 -0
- /package/dist/chunks/{chunk.FZKUXUK6.js.map → chunk.NCXSLHHQ.js.map} +0 -0
- /package/dist/chunks/{chunk.QH5LWFIU.js.map → chunk.NPHJNN2T.js.map} +0 -0
- /package/dist/chunks/{chunk.LVMOATGP.js.map → chunk.NREQNXC6.js.map} +0 -0
- /package/dist/chunks/{chunk.5UWGWBIX.js.map → chunk.OQQ3RUCC.js.map} +0 -0
- /package/dist/chunks/{chunk.KBUOEYFD.js.map → chunk.OUEA3H7P.js.map} +0 -0
- /package/dist/chunks/{chunk.DXNSNACZ.js.map → chunk.OZGGB3YU.js.map} +0 -0
- /package/dist/chunks/{chunk.XHVDKQO2.js.map → chunk.PAFCMQM4.js.map} +0 -0
- /package/dist/chunks/{chunk.XRRZVMQT.js.map → chunk.PN2B3HKP.js.map} +0 -0
- /package/dist/chunks/{chunk.KDBBMF6R.js.map → chunk.PPKWM5KJ.js.map} +0 -0
- /package/dist/chunks/{chunk.MXCWG2OM.js.map → chunk.R4Y2EU76.js.map} +0 -0
- /package/dist/chunks/{chunk.JBSLSPA4.js.map → chunk.R6T4FYGP.js.map} +0 -0
- /package/dist/chunks/{chunk.DFR3UNMT.js.map → chunk.RU5QGDNJ.js.map} +0 -0
- /package/dist/chunks/{chunk.5C2N3OG3.js.map → chunk.S35OARTV.js.map} +0 -0
- /package/dist/chunks/{chunk.4ZAIWKYK.js.map → chunk.T2BHFREJ.js.map} +0 -0
- /package/dist/chunks/{chunk.DNYMFI4T.js.map → chunk.TOWZTCAT.js.map} +0 -0
- /package/dist/chunks/{chunk.R2MO73SN.js.map → chunk.U7XXAVXV.js.map} +0 -0
- /package/dist/chunks/{chunk.MQMVF4PW.js.map → chunk.UCZUWSO5.js.map} +0 -0
- /package/dist/chunks/{chunk.5KE7YYYL.js.map → chunk.ULJBPLL6.js.map} +0 -0
- /package/dist/chunks/{chunk.PD4GEYPT.js.map → chunk.UQOWSCP3.js.map} +0 -0
- /package/dist/chunks/{chunk.4UGAAIOV.js.map → chunk.UYCIME52.js.map} +0 -0
- /package/dist/chunks/{chunk.AVNL6XBJ.js.map → chunk.UYMVCZFD.js.map} +0 -0
- /package/dist/chunks/{chunk.PVBLEKYQ.js.map → chunk.VB7U5SK7.js.map} +0 -0
- /package/dist/chunks/{chunk.CN4QRO22.js.map → chunk.VXAM5HPM.js.map} +0 -0
- /package/dist/chunks/{chunk.DCILBP5O.js.map → chunk.WZ3DZS4C.js.map} +0 -0
- /package/dist/chunks/{chunk.STPTOC6W.js.map → chunk.X7TL7T7R.js.map} +0 -0
- /package/dist/chunks/{chunk.IUBRJUHB.js.map → chunk.XE5OK2UE.js.map} +0 -0
- /package/dist/chunks/{chunk.MLTJKLDB.js.map → chunk.XG3XBCNU.js.map} +0 -0
- /package/dist/chunks/{chunk.2BVNVTCJ.js.map → chunk.XL5RSJ3V.js.map} +0 -0
- /package/dist/chunks/{chunk.LLNHJVT6.js.map → chunk.XVUJKP6I.js.map} +0 -0
- /package/dist/chunks/{chunk.NCS3KNSS.js.map → chunk.Y3LKXZKA.js.map} +0 -0
- /package/dist/chunks/{chunk.F5LLLIE5.js.map → chunk.YOHLIT2Z.js.map} +0 -0
- /package/dist/chunks/{chunk.KU3GIITB.js.map → chunk.ZXXT7QGH.js.map} +0 -0
|
@@ -3674,6 +3674,710 @@
|
|
|
3674
3674
|
}
|
|
3675
3675
|
]
|
|
3676
3676
|
},
|
|
3677
|
+
{
|
|
3678
|
+
"kind": "javascript-module",
|
|
3679
|
+
"path": "components/file/file.js",
|
|
3680
|
+
"declarations": [
|
|
3681
|
+
{
|
|
3682
|
+
"kind": "class",
|
|
3683
|
+
"description": "",
|
|
3684
|
+
"name": "SynFile",
|
|
3685
|
+
"cssParts": [
|
|
3686
|
+
{
|
|
3687
|
+
"description": "The form control that wraps the label, input, and help text.",
|
|
3688
|
+
"name": "form-control"
|
|
3689
|
+
},
|
|
3690
|
+
{
|
|
3691
|
+
"description": "The label's wrapper.",
|
|
3692
|
+
"name": "form-control-label"
|
|
3693
|
+
},
|
|
3694
|
+
{
|
|
3695
|
+
"description": "The input's wrapper.",
|
|
3696
|
+
"name": "form-control-input"
|
|
3697
|
+
},
|
|
3698
|
+
{
|
|
3699
|
+
"description": "The help text's wrapper.",
|
|
3700
|
+
"name": "form-control-help-text"
|
|
3701
|
+
},
|
|
3702
|
+
{
|
|
3703
|
+
"description": "The wrapper around the button and text value.",
|
|
3704
|
+
"name": "button-wrapper"
|
|
3705
|
+
},
|
|
3706
|
+
{
|
|
3707
|
+
"description": "The syn-button acting as a file input.",
|
|
3708
|
+
"name": "button"
|
|
3709
|
+
},
|
|
3710
|
+
{
|
|
3711
|
+
"description": "The syn-button's exported `base` part.",
|
|
3712
|
+
"name": "button__base"
|
|
3713
|
+
},
|
|
3714
|
+
{
|
|
3715
|
+
"description": "The chosen files or placeholder text for the file input.",
|
|
3716
|
+
"name": "value"
|
|
3717
|
+
},
|
|
3718
|
+
{
|
|
3719
|
+
"description": "The element wrapping the drop zone.",
|
|
3720
|
+
"name": "droparea"
|
|
3721
|
+
},
|
|
3722
|
+
{
|
|
3723
|
+
"description": "The background of the drop zone.",
|
|
3724
|
+
"name": "droparea-background"
|
|
3725
|
+
},
|
|
3726
|
+
{
|
|
3727
|
+
"description": "The container that wraps the icon for the drop zone.",
|
|
3728
|
+
"name": "droparea-icon"
|
|
3729
|
+
},
|
|
3730
|
+
{
|
|
3731
|
+
"description": "The text for the drop zone.",
|
|
3732
|
+
"name": "droparea-value"
|
|
3733
|
+
},
|
|
3734
|
+
{
|
|
3735
|
+
"description": "The container that wraps the trigger.",
|
|
3736
|
+
"name": "trigger"
|
|
3737
|
+
}
|
|
3738
|
+
],
|
|
3739
|
+
"slots": [
|
|
3740
|
+
{
|
|
3741
|
+
"description": "The file control's label. Alternatively, you can use the `label` attribute.",
|
|
3742
|
+
"name": "label"
|
|
3743
|
+
},
|
|
3744
|
+
{
|
|
3745
|
+
"description": "Text that describes how to use the file control. Alternatively, you can use the `help-text` attribute.",
|
|
3746
|
+
"name": "help-text"
|
|
3747
|
+
},
|
|
3748
|
+
{
|
|
3749
|
+
"description": "Optional droparea icon to use instead of the default. Works best with `<syn-icon>`.",
|
|
3750
|
+
"name": "droparea-icon"
|
|
3751
|
+
},
|
|
3752
|
+
{
|
|
3753
|
+
"description": "Optional content to be used as trigger instead of the default content. Opening the file dialog on click and as well as drag and drop will work for this content. Following attributes will no longer work: *label*, *droparea*, *help-text*, *size*, *hide-value*. Also if using the disabled attribute, the disabled styling will not be applied and must be taken care of yourself.",
|
|
3754
|
+
"name": "trigger"
|
|
3755
|
+
}
|
|
3756
|
+
],
|
|
3757
|
+
"members": [
|
|
3758
|
+
{
|
|
3759
|
+
"kind": "field",
|
|
3760
|
+
"name": "dependencies",
|
|
3761
|
+
"type": {
|
|
3762
|
+
"text": "object"
|
|
3763
|
+
},
|
|
3764
|
+
"static": true,
|
|
3765
|
+
"default": "{\n 'syn-button': SynButton,\n 'syn-icon': SynIcon,\n }"
|
|
3766
|
+
},
|
|
3767
|
+
{
|
|
3768
|
+
"kind": "field",
|
|
3769
|
+
"name": "formControlController",
|
|
3770
|
+
"privacy": "private",
|
|
3771
|
+
"readonly": true,
|
|
3772
|
+
"default": "new FormControlController(this, {\n assumeInteractionOn: ['syn-change'],\n // This makes sure the value sent in formdata events is always the files object\n // @see internals/form.ts #handleFormData for more information\n value: (el: SynFile) => el.files,\n })"
|
|
3773
|
+
},
|
|
3774
|
+
{
|
|
3775
|
+
"kind": "field",
|
|
3776
|
+
"name": "hasSlotController",
|
|
3777
|
+
"privacy": "private",
|
|
3778
|
+
"readonly": true,
|
|
3779
|
+
"default": "new HasSlotController(this, 'help-text', 'label')"
|
|
3780
|
+
},
|
|
3781
|
+
{
|
|
3782
|
+
"kind": "field",
|
|
3783
|
+
"name": "localize",
|
|
3784
|
+
"privacy": "private",
|
|
3785
|
+
"readonly": true,
|
|
3786
|
+
"default": "new LocalizeController(this)"
|
|
3787
|
+
},
|
|
3788
|
+
{
|
|
3789
|
+
"kind": "field",
|
|
3790
|
+
"name": "userIsDragging",
|
|
3791
|
+
"type": {
|
|
3792
|
+
"text": "boolean"
|
|
3793
|
+
},
|
|
3794
|
+
"privacy": "private",
|
|
3795
|
+
"default": "false"
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
"kind": "field",
|
|
3799
|
+
"name": "files",
|
|
3800
|
+
"description": "The selected files as a FileList object containing a list of File objects.\nThe FileList behaves like an array, so you can get the number of selected files\nvia its length property.\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#getting_information_on_selected_files)",
|
|
3801
|
+
"attribute": "files"
|
|
3802
|
+
},
|
|
3803
|
+
{
|
|
3804
|
+
"kind": "field",
|
|
3805
|
+
"name": "name",
|
|
3806
|
+
"type": {
|
|
3807
|
+
"text": "string"
|
|
3808
|
+
},
|
|
3809
|
+
"default": "''",
|
|
3810
|
+
"description": "The name of the file control, submitted as a name/value pair with form data.",
|
|
3811
|
+
"attribute": "name"
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
"kind": "field",
|
|
3815
|
+
"name": "value",
|
|
3816
|
+
"description": "The value of the file control contains a string that represents the path of the selected file.\nIf multiple files are selected, the value represents the first file in the list.\nIf no file is selected, the value is an empty string.\nBeware that the only valid value when setting a file control is an empty string!\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#value)",
|
|
3817
|
+
"attribute": "value"
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
"kind": "field",
|
|
3821
|
+
"name": "defaultValue",
|
|
3822
|
+
"type": {
|
|
3823
|
+
"text": "string"
|
|
3824
|
+
},
|
|
3825
|
+
"default": "''",
|
|
3826
|
+
"description": "The default value of the form control. Primarily used for resetting the form control."
|
|
3827
|
+
},
|
|
3828
|
+
{
|
|
3829
|
+
"kind": "field",
|
|
3830
|
+
"name": "size",
|
|
3831
|
+
"type": {
|
|
3832
|
+
"text": "'small' | 'medium' | 'large'"
|
|
3833
|
+
},
|
|
3834
|
+
"default": "'medium'",
|
|
3835
|
+
"description": "The file control's size.",
|
|
3836
|
+
"attribute": "size",
|
|
3837
|
+
"reflects": true
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
"kind": "field",
|
|
3841
|
+
"name": "label",
|
|
3842
|
+
"type": {
|
|
3843
|
+
"text": "string"
|
|
3844
|
+
},
|
|
3845
|
+
"default": "''",
|
|
3846
|
+
"description": "The file control's label. If you need to display HTML, use the `label` slot instead.",
|
|
3847
|
+
"attribute": "label"
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
"kind": "field",
|
|
3851
|
+
"name": "helpText",
|
|
3852
|
+
"type": {
|
|
3853
|
+
"text": "string"
|
|
3854
|
+
},
|
|
3855
|
+
"default": "''",
|
|
3856
|
+
"description": "The file control's help text.\nIf you need to display HTML, use the `help-text` slot instead.",
|
|
3857
|
+
"attribute": "help-text"
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
"kind": "field",
|
|
3861
|
+
"name": "disabled",
|
|
3862
|
+
"type": {
|
|
3863
|
+
"text": "boolean"
|
|
3864
|
+
},
|
|
3865
|
+
"default": "false",
|
|
3866
|
+
"description": "Disables the file control.",
|
|
3867
|
+
"attribute": "disabled",
|
|
3868
|
+
"reflects": true
|
|
3869
|
+
},
|
|
3870
|
+
{
|
|
3871
|
+
"kind": "field",
|
|
3872
|
+
"name": "droparea",
|
|
3873
|
+
"type": {
|
|
3874
|
+
"text": "boolean"
|
|
3875
|
+
},
|
|
3876
|
+
"default": "false",
|
|
3877
|
+
"description": "Draw the file control as a drop area",
|
|
3878
|
+
"attribute": "droparea"
|
|
3879
|
+
},
|
|
3880
|
+
{
|
|
3881
|
+
"kind": "field",
|
|
3882
|
+
"name": "accept",
|
|
3883
|
+
"type": {
|
|
3884
|
+
"text": "string"
|
|
3885
|
+
},
|
|
3886
|
+
"default": "''",
|
|
3887
|
+
"description": "Comma separated list of supported file types\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept)",
|
|
3888
|
+
"attribute": "accept"
|
|
3889
|
+
},
|
|
3890
|
+
{
|
|
3891
|
+
"kind": "field",
|
|
3892
|
+
"name": "capture",
|
|
3893
|
+
"type": {
|
|
3894
|
+
"text": "'user' | 'environment'"
|
|
3895
|
+
},
|
|
3896
|
+
"description": "Specifies the types of files that the server accepts.\nCan be set either to user or environment.\nWorks only when not using a droparea!\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture)",
|
|
3897
|
+
"attribute": "capture"
|
|
3898
|
+
},
|
|
3899
|
+
{
|
|
3900
|
+
"kind": "field",
|
|
3901
|
+
"name": "multiple",
|
|
3902
|
+
"type": {
|
|
3903
|
+
"text": "boolean"
|
|
3904
|
+
},
|
|
3905
|
+
"default": "false",
|
|
3906
|
+
"description": "Indicates whether the user can select more than one file.\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#multiple)",
|
|
3907
|
+
"attribute": "multiple",
|
|
3908
|
+
"reflects": true
|
|
3909
|
+
},
|
|
3910
|
+
{
|
|
3911
|
+
"kind": "field",
|
|
3912
|
+
"name": "webkitdirectory",
|
|
3913
|
+
"type": {
|
|
3914
|
+
"text": "boolean"
|
|
3915
|
+
},
|
|
3916
|
+
"default": "false",
|
|
3917
|
+
"description": "Indicates that the file control should let the user select directories instead of files.\nWhen a directory is selected, the directory and its entire hierarchy of contents are included\nin the set of selected items.\nNote: This is a non-standard attribute but is supported in the major browsers.\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)",
|
|
3918
|
+
"attribute": "webkitdirectory",
|
|
3919
|
+
"reflects": true
|
|
3920
|
+
},
|
|
3921
|
+
{
|
|
3922
|
+
"kind": "field",
|
|
3923
|
+
"name": "form",
|
|
3924
|
+
"type": {
|
|
3925
|
+
"text": "string"
|
|
3926
|
+
},
|
|
3927
|
+
"default": "''",
|
|
3928
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element.\nThis attribute allows you to place the form control outside of a form and associate it\nwith the form that has this `id`. The form must be in the same document\nor shadow root for this to work.",
|
|
3929
|
+
"attribute": "form",
|
|
3930
|
+
"reflects": true
|
|
3931
|
+
},
|
|
3932
|
+
{
|
|
3933
|
+
"kind": "field",
|
|
3934
|
+
"name": "required",
|
|
3935
|
+
"type": {
|
|
3936
|
+
"text": "boolean"
|
|
3937
|
+
},
|
|
3938
|
+
"default": "false",
|
|
3939
|
+
"description": "Makes the input a required field.",
|
|
3940
|
+
"attribute": "required",
|
|
3941
|
+
"reflects": true
|
|
3942
|
+
},
|
|
3943
|
+
{
|
|
3944
|
+
"kind": "field",
|
|
3945
|
+
"name": "hideValue",
|
|
3946
|
+
"type": {
|
|
3947
|
+
"text": "boolean"
|
|
3948
|
+
},
|
|
3949
|
+
"default": "false",
|
|
3950
|
+
"description": "Suppress the value from being displayed in the file control",
|
|
3951
|
+
"attribute": "hide-value"
|
|
3952
|
+
},
|
|
3953
|
+
{
|
|
3954
|
+
"kind": "field",
|
|
3955
|
+
"name": "input",
|
|
3956
|
+
"type": {
|
|
3957
|
+
"text": "HTMLInputElement"
|
|
3958
|
+
}
|
|
3959
|
+
},
|
|
3960
|
+
{
|
|
3961
|
+
"kind": "field",
|
|
3962
|
+
"name": "button",
|
|
3963
|
+
"type": {
|
|
3964
|
+
"text": "SynButton"
|
|
3965
|
+
}
|
|
3966
|
+
},
|
|
3967
|
+
{
|
|
3968
|
+
"kind": "field",
|
|
3969
|
+
"name": "dropareaWrapper",
|
|
3970
|
+
"type": {
|
|
3971
|
+
"text": "HTMLDivElement"
|
|
3972
|
+
}
|
|
3973
|
+
},
|
|
3974
|
+
{
|
|
3975
|
+
"kind": "field",
|
|
3976
|
+
"name": "dropareaIcon",
|
|
3977
|
+
"type": {
|
|
3978
|
+
"text": "HTMLSpanElement"
|
|
3979
|
+
}
|
|
3980
|
+
},
|
|
3981
|
+
{
|
|
3982
|
+
"kind": "field",
|
|
3983
|
+
"name": "inputChosen",
|
|
3984
|
+
"type": {
|
|
3985
|
+
"text": "HTMLSpanElement"
|
|
3986
|
+
}
|
|
3987
|
+
},
|
|
3988
|
+
{
|
|
3989
|
+
"kind": "field",
|
|
3990
|
+
"name": "validity",
|
|
3991
|
+
"description": "Gets the validity state object",
|
|
3992
|
+
"readonly": true
|
|
3993
|
+
},
|
|
3994
|
+
{
|
|
3995
|
+
"kind": "field",
|
|
3996
|
+
"name": "validationMessage",
|
|
3997
|
+
"description": "Gets the validation message",
|
|
3998
|
+
"readonly": true
|
|
3999
|
+
},
|
|
4000
|
+
{
|
|
4001
|
+
"kind": "method",
|
|
4002
|
+
"name": "checkValidity",
|
|
4003
|
+
"description": "Checks for validity but does not show a validation message.\nReturns `true` when valid and `false` when invalid."
|
|
4004
|
+
},
|
|
4005
|
+
{
|
|
4006
|
+
"kind": "method",
|
|
4007
|
+
"name": "getForm",
|
|
4008
|
+
"return": {
|
|
4009
|
+
"type": {
|
|
4010
|
+
"text": "HTMLFormElement | null"
|
|
4011
|
+
}
|
|
4012
|
+
},
|
|
4013
|
+
"description": "Gets the associated form, if one exists."
|
|
4014
|
+
},
|
|
4015
|
+
{
|
|
4016
|
+
"kind": "method",
|
|
4017
|
+
"name": "reportValidity",
|
|
4018
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
4019
|
+
},
|
|
4020
|
+
{
|
|
4021
|
+
"kind": "method",
|
|
4022
|
+
"name": "setCustomValidity",
|
|
4023
|
+
"parameters": [
|
|
4024
|
+
{
|
|
4025
|
+
"name": "message",
|
|
4026
|
+
"type": {
|
|
4027
|
+
"text": "string"
|
|
4028
|
+
}
|
|
4029
|
+
}
|
|
4030
|
+
],
|
|
4031
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
4032
|
+
},
|
|
4033
|
+
{
|
|
4034
|
+
"kind": "method",
|
|
4035
|
+
"name": "handleDisabledChange"
|
|
4036
|
+
},
|
|
4037
|
+
{
|
|
4038
|
+
"kind": "method",
|
|
4039
|
+
"name": "handleValueChange"
|
|
4040
|
+
},
|
|
4041
|
+
{
|
|
4042
|
+
"kind": "method",
|
|
4043
|
+
"name": "focus",
|
|
4044
|
+
"parameters": [
|
|
4045
|
+
{
|
|
4046
|
+
"name": "options",
|
|
4047
|
+
"optional": true,
|
|
4048
|
+
"type": {
|
|
4049
|
+
"text": "FocusOptions"
|
|
4050
|
+
}
|
|
4051
|
+
}
|
|
4052
|
+
],
|
|
4053
|
+
"description": "Sets focus on the button or droparea."
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
"kind": "method",
|
|
4057
|
+
"name": "blur",
|
|
4058
|
+
"description": "Removes focus from the button or droparea."
|
|
4059
|
+
},
|
|
4060
|
+
{
|
|
4061
|
+
"kind": "method",
|
|
4062
|
+
"name": "handleInvalid",
|
|
4063
|
+
"privacy": "private",
|
|
4064
|
+
"parameters": [
|
|
4065
|
+
{
|
|
4066
|
+
"name": "event",
|
|
4067
|
+
"type": {
|
|
4068
|
+
"text": "Event"
|
|
4069
|
+
}
|
|
4070
|
+
}
|
|
4071
|
+
]
|
|
4072
|
+
},
|
|
4073
|
+
{
|
|
4074
|
+
"kind": "method",
|
|
4075
|
+
"name": "handleFiles",
|
|
4076
|
+
"privacy": "private",
|
|
4077
|
+
"parameters": [
|
|
4078
|
+
{
|
|
4079
|
+
"name": "files",
|
|
4080
|
+
"type": {
|
|
4081
|
+
"text": "FileList | null"
|
|
4082
|
+
}
|
|
4083
|
+
}
|
|
4084
|
+
]
|
|
4085
|
+
},
|
|
4086
|
+
{
|
|
4087
|
+
"kind": "method",
|
|
4088
|
+
"name": "handleClick",
|
|
4089
|
+
"privacy": "private",
|
|
4090
|
+
"parameters": [
|
|
4091
|
+
{
|
|
4092
|
+
"name": "e",
|
|
4093
|
+
"type": {
|
|
4094
|
+
"text": "Event"
|
|
4095
|
+
}
|
|
4096
|
+
}
|
|
4097
|
+
]
|
|
4098
|
+
},
|
|
4099
|
+
{
|
|
4100
|
+
"kind": "method",
|
|
4101
|
+
"name": "handleChange",
|
|
4102
|
+
"privacy": "private",
|
|
4103
|
+
"parameters": [
|
|
4104
|
+
{
|
|
4105
|
+
"name": "e",
|
|
4106
|
+
"type": {
|
|
4107
|
+
"text": "Event"
|
|
4108
|
+
}
|
|
4109
|
+
}
|
|
4110
|
+
],
|
|
4111
|
+
"description": "Handles the change event of the native input"
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
"kind": "method",
|
|
4115
|
+
"name": "handleDragOver",
|
|
4116
|
+
"privacy": "private",
|
|
4117
|
+
"parameters": [
|
|
4118
|
+
{
|
|
4119
|
+
"name": "e",
|
|
4120
|
+
"type": {
|
|
4121
|
+
"text": "DragEvent"
|
|
4122
|
+
}
|
|
4123
|
+
}
|
|
4124
|
+
]
|
|
4125
|
+
},
|
|
4126
|
+
{
|
|
4127
|
+
"kind": "method",
|
|
4128
|
+
"name": "handleDragLeave",
|
|
4129
|
+
"privacy": "private",
|
|
4130
|
+
"parameters": [
|
|
4131
|
+
{
|
|
4132
|
+
"name": "e",
|
|
4133
|
+
"type": {
|
|
4134
|
+
"text": "DragEvent"
|
|
4135
|
+
}
|
|
4136
|
+
}
|
|
4137
|
+
]
|
|
4138
|
+
},
|
|
4139
|
+
{
|
|
4140
|
+
"kind": "method",
|
|
4141
|
+
"name": "handleDrop",
|
|
4142
|
+
"privacy": "private",
|
|
4143
|
+
"parameters": [
|
|
4144
|
+
{
|
|
4145
|
+
"name": "e",
|
|
4146
|
+
"type": {
|
|
4147
|
+
"text": "DragEvent"
|
|
4148
|
+
}
|
|
4149
|
+
}
|
|
4150
|
+
]
|
|
4151
|
+
},
|
|
4152
|
+
{
|
|
4153
|
+
"kind": "method",
|
|
4154
|
+
"name": "handleFocus",
|
|
4155
|
+
"privacy": "private",
|
|
4156
|
+
"description": "Handle the focus of the droparea and emit focus event"
|
|
4157
|
+
},
|
|
4158
|
+
{
|
|
4159
|
+
"kind": "method",
|
|
4160
|
+
"name": "handleBlur",
|
|
4161
|
+
"privacy": "private",
|
|
4162
|
+
"description": "Handle the blur of the droparea and emit blur event"
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
"kind": "method",
|
|
4166
|
+
"name": "renderValue",
|
|
4167
|
+
"privacy": "private"
|
|
4168
|
+
},
|
|
4169
|
+
{
|
|
4170
|
+
"kind": "method",
|
|
4171
|
+
"name": "renderDroparea",
|
|
4172
|
+
"privacy": "private"
|
|
4173
|
+
},
|
|
4174
|
+
{
|
|
4175
|
+
"kind": "method",
|
|
4176
|
+
"name": "renderButton",
|
|
4177
|
+
"privacy": "private"
|
|
4178
|
+
}
|
|
4179
|
+
],
|
|
4180
|
+
"events": [
|
|
4181
|
+
{
|
|
4182
|
+
"description": "Emitted when the control loses focus.",
|
|
4183
|
+
"name": "syn-blur",
|
|
4184
|
+
"reactName": "onSynBlur",
|
|
4185
|
+
"eventName": "SynBlurEvent"
|
|
4186
|
+
},
|
|
4187
|
+
{
|
|
4188
|
+
"description": "Emitted when an alteration to the control's value is committed by the user.",
|
|
4189
|
+
"name": "syn-change",
|
|
4190
|
+
"reactName": "onSynChange",
|
|
4191
|
+
"eventName": "SynChangeEvent"
|
|
4192
|
+
},
|
|
4193
|
+
{
|
|
4194
|
+
"description": "Emitted when multiple files are selected via drag and drop, without the `multiple` property being set.",
|
|
4195
|
+
"name": "syn-error",
|
|
4196
|
+
"reactName": "onSynError",
|
|
4197
|
+
"eventName": "SynErrorEvent"
|
|
4198
|
+
},
|
|
4199
|
+
{
|
|
4200
|
+
"description": "Emitted when the control gains focus.",
|
|
4201
|
+
"name": "syn-focus",
|
|
4202
|
+
"reactName": "onSynFocus",
|
|
4203
|
+
"eventName": "SynFocusEvent"
|
|
4204
|
+
},
|
|
4205
|
+
{
|
|
4206
|
+
"description": "Emitted when the control receives input.",
|
|
4207
|
+
"name": "syn-input",
|
|
4208
|
+
"reactName": "onSynInput",
|
|
4209
|
+
"eventName": "SynInputEvent"
|
|
4210
|
+
}
|
|
4211
|
+
],
|
|
4212
|
+
"attributes": [
|
|
4213
|
+
{
|
|
4214
|
+
"name": "files",
|
|
4215
|
+
"description": "The selected files as a FileList object containing a list of File objects.\nThe FileList behaves like an array, so you can get the number of selected files\nvia its length property.\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#getting_information_on_selected_files)",
|
|
4216
|
+
"fieldName": "files"
|
|
4217
|
+
},
|
|
4218
|
+
{
|
|
4219
|
+
"name": "name",
|
|
4220
|
+
"type": {
|
|
4221
|
+
"text": "string"
|
|
4222
|
+
},
|
|
4223
|
+
"default": "''",
|
|
4224
|
+
"description": "The name of the file control, submitted as a name/value pair with form data.",
|
|
4225
|
+
"fieldName": "name"
|
|
4226
|
+
},
|
|
4227
|
+
{
|
|
4228
|
+
"name": "value",
|
|
4229
|
+
"description": "The value of the file control contains a string that represents the path of the selected file.\nIf multiple files are selected, the value represents the first file in the list.\nIf no file is selected, the value is an empty string.\nBeware that the only valid value when setting a file control is an empty string!\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#value)",
|
|
4230
|
+
"fieldName": "value"
|
|
4231
|
+
},
|
|
4232
|
+
{
|
|
4233
|
+
"name": "size",
|
|
4234
|
+
"type": {
|
|
4235
|
+
"text": "'small' | 'medium' | 'large'"
|
|
4236
|
+
},
|
|
4237
|
+
"default": "'medium'",
|
|
4238
|
+
"description": "The file control's size.",
|
|
4239
|
+
"fieldName": "size"
|
|
4240
|
+
},
|
|
4241
|
+
{
|
|
4242
|
+
"name": "label",
|
|
4243
|
+
"type": {
|
|
4244
|
+
"text": "string"
|
|
4245
|
+
},
|
|
4246
|
+
"default": "''",
|
|
4247
|
+
"description": "The file control's label. If you need to display HTML, use the `label` slot instead.",
|
|
4248
|
+
"fieldName": "label"
|
|
4249
|
+
},
|
|
4250
|
+
{
|
|
4251
|
+
"name": "help-text",
|
|
4252
|
+
"type": {
|
|
4253
|
+
"text": "string"
|
|
4254
|
+
},
|
|
4255
|
+
"default": "''",
|
|
4256
|
+
"description": "The file control's help text.\nIf you need to display HTML, use the `help-text` slot instead.",
|
|
4257
|
+
"fieldName": "helpText"
|
|
4258
|
+
},
|
|
4259
|
+
{
|
|
4260
|
+
"name": "disabled",
|
|
4261
|
+
"type": {
|
|
4262
|
+
"text": "boolean"
|
|
4263
|
+
},
|
|
4264
|
+
"default": "false",
|
|
4265
|
+
"description": "Disables the file control.",
|
|
4266
|
+
"fieldName": "disabled"
|
|
4267
|
+
},
|
|
4268
|
+
{
|
|
4269
|
+
"name": "droparea",
|
|
4270
|
+
"type": {
|
|
4271
|
+
"text": "boolean"
|
|
4272
|
+
},
|
|
4273
|
+
"default": "false",
|
|
4274
|
+
"description": "Draw the file control as a drop area",
|
|
4275
|
+
"fieldName": "droparea"
|
|
4276
|
+
},
|
|
4277
|
+
{
|
|
4278
|
+
"name": "accept",
|
|
4279
|
+
"type": {
|
|
4280
|
+
"text": "string"
|
|
4281
|
+
},
|
|
4282
|
+
"default": "''",
|
|
4283
|
+
"description": "Comma separated list of supported file types\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept)",
|
|
4284
|
+
"fieldName": "accept"
|
|
4285
|
+
},
|
|
4286
|
+
{
|
|
4287
|
+
"name": "capture",
|
|
4288
|
+
"type": {
|
|
4289
|
+
"text": "'user' | 'environment'"
|
|
4290
|
+
},
|
|
4291
|
+
"description": "Specifies the types of files that the server accepts.\nCan be set either to user or environment.\nWorks only when not using a droparea!\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture)",
|
|
4292
|
+
"fieldName": "capture"
|
|
4293
|
+
},
|
|
4294
|
+
{
|
|
4295
|
+
"name": "multiple",
|
|
4296
|
+
"type": {
|
|
4297
|
+
"text": "boolean"
|
|
4298
|
+
},
|
|
4299
|
+
"default": "false",
|
|
4300
|
+
"description": "Indicates whether the user can select more than one file.\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#multiple)",
|
|
4301
|
+
"fieldName": "multiple"
|
|
4302
|
+
},
|
|
4303
|
+
{
|
|
4304
|
+
"name": "webkitdirectory",
|
|
4305
|
+
"type": {
|
|
4306
|
+
"text": "boolean"
|
|
4307
|
+
},
|
|
4308
|
+
"default": "false",
|
|
4309
|
+
"description": "Indicates that the file control should let the user select directories instead of files.\nWhen a directory is selected, the directory and its entire hierarchy of contents are included\nin the set of selected items.\nNote: This is a non-standard attribute but is supported in the major browsers.\n[see MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory)",
|
|
4310
|
+
"fieldName": "webkitdirectory"
|
|
4311
|
+
},
|
|
4312
|
+
{
|
|
4313
|
+
"name": "form",
|
|
4314
|
+
"type": {
|
|
4315
|
+
"text": "string"
|
|
4316
|
+
},
|
|
4317
|
+
"default": "''",
|
|
4318
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element.\nThis attribute allows you to place the form control outside of a form and associate it\nwith the form that has this `id`. The form must be in the same document\nor shadow root for this to work.",
|
|
4319
|
+
"fieldName": "form"
|
|
4320
|
+
},
|
|
4321
|
+
{
|
|
4322
|
+
"name": "required",
|
|
4323
|
+
"type": {
|
|
4324
|
+
"text": "boolean"
|
|
4325
|
+
},
|
|
4326
|
+
"default": "false",
|
|
4327
|
+
"description": "Makes the input a required field.",
|
|
4328
|
+
"fieldName": "required"
|
|
4329
|
+
},
|
|
4330
|
+
{
|
|
4331
|
+
"name": "hide-value",
|
|
4332
|
+
"type": {
|
|
4333
|
+
"text": "boolean"
|
|
4334
|
+
},
|
|
4335
|
+
"default": "false",
|
|
4336
|
+
"description": "Suppress the value from being displayed in the file control",
|
|
4337
|
+
"fieldName": "hideValue"
|
|
4338
|
+
}
|
|
4339
|
+
],
|
|
4340
|
+
"superclass": {
|
|
4341
|
+
"name": "SynergyElement",
|
|
4342
|
+
"module": "/src/internal/synergy-element.js"
|
|
4343
|
+
},
|
|
4344
|
+
"summary": "File controls allow selecting an arbitrary number of files for uploading.",
|
|
4345
|
+
"tagNameWithoutPrefix": "file",
|
|
4346
|
+
"tagName": "syn-file",
|
|
4347
|
+
"customElement": true,
|
|
4348
|
+
"jsDoc": "/**\n * @summary File controls allow selecting an arbitrary number of files for uploading.\n * @status stable\n *\n * @dependency syn-button\n * @dependency syn-icon\n *\n * @slot label - The file control's label. Alternatively, you can use the `label` attribute.\n * @slot help-text - Text that describes how to use the file control.\n * Alternatively, you can use the `help-text` attribute.\n * @slot droparea-icon - Optional droparea icon to use instead of the default.\n * Works best with `<syn-icon>`.\n * @slot trigger - Optional content to be used as trigger instead of the default content.\n * Opening the file dialog on click and as well as drag and drop will work for this content.\n * Following attributes will no longer work: *label*, *droparea*, *help-text*, *size*,\n * *hide-value*. Also if using the disabled attribute, the disabled styling will not be\n * applied and must be taken care of yourself.\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-error - Emitted when multiple files are selected via drag and drop, without\n * the `multiple` property being set.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-input - Emitted when the control receives input.\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 button-wrapper - The wrapper around the button and text value.\n * @csspart button - The syn-button acting as a file input.\n * @csspart button__base - The syn-button's exported `base` part.\n * @csspart value - The chosen files or placeholder text for the file input.\n * @csspart droparea - The element wrapping the drop zone.\n * @csspart droparea-background - The background of the drop zone.\n * @csspart droparea-icon - The container that wraps the icon for the drop zone.\n * @csspart droparea-value - The text for the drop zone.\n * @csspart trigger - The container that wraps the trigger.\n *\n * @animation file.iconDrop - The animation to use for the file icon\n * when a file is dropped\n * @animation file.text.disappear - The disappear animation to use for the file placeholder text\n * when a file is dropped\n * @animation file.text.appear - The appear animation to use for the file placeholder text\n * when a file is dropped\n */",
|
|
4349
|
+
"status": "stable",
|
|
4350
|
+
"dependencies": [
|
|
4351
|
+
"syn-button",
|
|
4352
|
+
"syn-icon"
|
|
4353
|
+
],
|
|
4354
|
+
"animations": [
|
|
4355
|
+
{
|
|
4356
|
+
"name": "file.iconDrop",
|
|
4357
|
+
"description": "The animation to use for the file icon when a file is dropped"
|
|
4358
|
+
},
|
|
4359
|
+
{
|
|
4360
|
+
"name": "file.text.disappear",
|
|
4361
|
+
"description": "The disappear animation to use for the file placeholder text when a file is dropped"
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
"name": "file.text.appear",
|
|
4365
|
+
"description": "The appear animation to use for the file placeholder text when a file is dropped"
|
|
4366
|
+
}
|
|
4367
|
+
]
|
|
4368
|
+
}
|
|
4369
|
+
],
|
|
4370
|
+
"exports": [
|
|
4371
|
+
{
|
|
4372
|
+
"kind": "js",
|
|
4373
|
+
"name": "default",
|
|
4374
|
+
"declaration": {
|
|
4375
|
+
"name": "SynFile",
|
|
4376
|
+
"module": "components/file/file.js"
|
|
4377
|
+
}
|
|
4378
|
+
}
|
|
4379
|
+
]
|
|
4380
|
+
},
|
|
3677
4381
|
{
|
|
3678
4382
|
"kind": "javascript-module",
|
|
3679
4383
|
"path": "components/header/header.js",
|
|
@@ -7902,11 +8606,220 @@
|
|
|
7902
8606
|
},
|
|
7903
8607
|
{
|
|
7904
8608
|
"kind": "field",
|
|
7905
|
-
"name": "checked",
|
|
8609
|
+
"name": "checked",
|
|
8610
|
+
"type": {
|
|
8611
|
+
"text": "boolean"
|
|
8612
|
+
},
|
|
8613
|
+
"default": "false"
|
|
8614
|
+
},
|
|
8615
|
+
{
|
|
8616
|
+
"kind": "field",
|
|
8617
|
+
"name": "hasFocus",
|
|
8618
|
+
"type": {
|
|
8619
|
+
"text": "boolean"
|
|
8620
|
+
},
|
|
8621
|
+
"privacy": "protected",
|
|
8622
|
+
"default": "false"
|
|
8623
|
+
},
|
|
8624
|
+
{
|
|
8625
|
+
"kind": "field",
|
|
8626
|
+
"name": "value",
|
|
8627
|
+
"type": {
|
|
8628
|
+
"text": "string"
|
|
8629
|
+
},
|
|
8630
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
8631
|
+
"attribute": "value"
|
|
8632
|
+
},
|
|
8633
|
+
{
|
|
8634
|
+
"kind": "field",
|
|
8635
|
+
"name": "size",
|
|
8636
|
+
"type": {
|
|
8637
|
+
"text": "'small' | 'medium' | 'large'"
|
|
8638
|
+
},
|
|
8639
|
+
"default": "'medium'",
|
|
8640
|
+
"description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
|
|
8641
|
+
"attribute": "size",
|
|
8642
|
+
"reflects": true
|
|
8643
|
+
},
|
|
8644
|
+
{
|
|
8645
|
+
"kind": "field",
|
|
8646
|
+
"name": "disabled",
|
|
8647
|
+
"type": {
|
|
8648
|
+
"text": "boolean"
|
|
8649
|
+
},
|
|
8650
|
+
"default": "false",
|
|
8651
|
+
"description": "Disables the radio.",
|
|
8652
|
+
"attribute": "disabled",
|
|
8653
|
+
"reflects": true
|
|
8654
|
+
},
|
|
8655
|
+
{
|
|
8656
|
+
"kind": "field",
|
|
8657
|
+
"name": "handleBlur",
|
|
8658
|
+
"privacy": "private"
|
|
8659
|
+
},
|
|
8660
|
+
{
|
|
8661
|
+
"kind": "field",
|
|
8662
|
+
"name": "handleClick",
|
|
8663
|
+
"privacy": "private"
|
|
8664
|
+
},
|
|
8665
|
+
{
|
|
8666
|
+
"kind": "field",
|
|
8667
|
+
"name": "handleFocus",
|
|
8668
|
+
"privacy": "private"
|
|
8669
|
+
},
|
|
8670
|
+
{
|
|
8671
|
+
"kind": "method",
|
|
8672
|
+
"name": "setInitialAttributes",
|
|
8673
|
+
"privacy": "private"
|
|
8674
|
+
},
|
|
8675
|
+
{
|
|
8676
|
+
"kind": "method",
|
|
8677
|
+
"name": "handleCheckedChange"
|
|
8678
|
+
},
|
|
8679
|
+
{
|
|
8680
|
+
"kind": "method",
|
|
8681
|
+
"name": "handleDisabledChange"
|
|
8682
|
+
}
|
|
8683
|
+
],
|
|
8684
|
+
"events": [
|
|
8685
|
+
{
|
|
8686
|
+
"description": "Emitted when the control loses focus.",
|
|
8687
|
+
"name": "syn-blur",
|
|
8688
|
+
"reactName": "onSynBlur",
|
|
8689
|
+
"eventName": "SynBlurEvent"
|
|
8690
|
+
},
|
|
8691
|
+
{
|
|
8692
|
+
"description": "Emitted when the control gains focus.",
|
|
8693
|
+
"name": "syn-focus",
|
|
8694
|
+
"reactName": "onSynFocus",
|
|
8695
|
+
"eventName": "SynFocusEvent"
|
|
8696
|
+
}
|
|
8697
|
+
],
|
|
8698
|
+
"attributes": [
|
|
8699
|
+
{
|
|
8700
|
+
"name": "value",
|
|
8701
|
+
"type": {
|
|
8702
|
+
"text": "string"
|
|
8703
|
+
},
|
|
8704
|
+
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
8705
|
+
"fieldName": "value"
|
|
8706
|
+
},
|
|
8707
|
+
{
|
|
8708
|
+
"name": "size",
|
|
8709
|
+
"type": {
|
|
8710
|
+
"text": "'small' | 'medium' | 'large'"
|
|
8711
|
+
},
|
|
8712
|
+
"default": "'medium'",
|
|
8713
|
+
"description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\nattribute can typically be omitted.",
|
|
8714
|
+
"fieldName": "size"
|
|
8715
|
+
},
|
|
8716
|
+
{
|
|
8717
|
+
"name": "disabled",
|
|
8718
|
+
"type": {
|
|
8719
|
+
"text": "boolean"
|
|
8720
|
+
},
|
|
8721
|
+
"default": "false",
|
|
8722
|
+
"description": "Disables the radio.",
|
|
8723
|
+
"fieldName": "disabled"
|
|
8724
|
+
}
|
|
8725
|
+
],
|
|
8726
|
+
"superclass": {
|
|
8727
|
+
"name": "SynergyElement",
|
|
8728
|
+
"module": "/src/internal/synergy-element.js"
|
|
8729
|
+
},
|
|
8730
|
+
"summary": "Radios allow the user to select a single option from a group.",
|
|
8731
|
+
"tagNameWithoutPrefix": "radio",
|
|
8732
|
+
"tagName": "syn-radio",
|
|
8733
|
+
"customElement": true,
|
|
8734
|
+
"jsDoc": "/**\n * @summary Radios allow the user to select a single option from a group.\n * @documentation https://synergy.style/components/radio\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n *\n * @slot - The radio's label.\n *\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-focus - Emitted when the control gains focus.\n *\n * @csspart base - The component's base wrapper.\n * @csspart control - The circular container that wraps the radio's checked state.\n * @csspart control--checked - The radio control when the radio is checked.\n * @csspart checked-icon - The checked icon, an `<syn-icon>` element.\n * @csspart label - The container that wraps the radio's label.\n */",
|
|
8735
|
+
"documentation": "https://synergy.style/components/radio",
|
|
8736
|
+
"status": "stable",
|
|
8737
|
+
"since": "2.0",
|
|
8738
|
+
"dependencies": [
|
|
8739
|
+
"syn-icon"
|
|
8740
|
+
]
|
|
8741
|
+
}
|
|
8742
|
+
],
|
|
8743
|
+
"exports": [
|
|
8744
|
+
{
|
|
8745
|
+
"kind": "js",
|
|
8746
|
+
"name": "default",
|
|
8747
|
+
"declaration": {
|
|
8748
|
+
"name": "SynRadio",
|
|
8749
|
+
"module": "components/radio/radio.js"
|
|
8750
|
+
}
|
|
8751
|
+
}
|
|
8752
|
+
]
|
|
8753
|
+
},
|
|
8754
|
+
{
|
|
8755
|
+
"kind": "javascript-module",
|
|
8756
|
+
"path": "components/radio-button/radio-button.js",
|
|
8757
|
+
"declarations": [
|
|
8758
|
+
{
|
|
8759
|
+
"kind": "class",
|
|
8760
|
+
"description": "",
|
|
8761
|
+
"name": "SynRadioButton",
|
|
8762
|
+
"cssParts": [
|
|
8763
|
+
{
|
|
8764
|
+
"description": "The component's base wrapper.",
|
|
8765
|
+
"name": "base"
|
|
8766
|
+
},
|
|
8767
|
+
{
|
|
8768
|
+
"description": "The internal `<button>` element.",
|
|
8769
|
+
"name": "button"
|
|
8770
|
+
},
|
|
8771
|
+
{
|
|
8772
|
+
"description": "The internal button element when the radio button is checked.",
|
|
8773
|
+
"name": "button--checked"
|
|
8774
|
+
},
|
|
8775
|
+
{
|
|
8776
|
+
"description": "The container that wraps the prefix.",
|
|
8777
|
+
"name": "prefix"
|
|
8778
|
+
},
|
|
8779
|
+
{
|
|
8780
|
+
"description": "The container that wraps the radio button's label.",
|
|
8781
|
+
"name": "label"
|
|
8782
|
+
},
|
|
8783
|
+
{
|
|
8784
|
+
"description": "The container that wraps the suffix.",
|
|
8785
|
+
"name": "suffix"
|
|
8786
|
+
}
|
|
8787
|
+
],
|
|
8788
|
+
"slots": [
|
|
8789
|
+
{
|
|
8790
|
+
"description": "The radio button's label.",
|
|
8791
|
+
"name": ""
|
|
8792
|
+
},
|
|
8793
|
+
{
|
|
8794
|
+
"description": "A presentational prefix icon or similar element.",
|
|
8795
|
+
"name": "prefix"
|
|
8796
|
+
},
|
|
8797
|
+
{
|
|
8798
|
+
"description": "A presentational suffix icon or similar element.",
|
|
8799
|
+
"name": "suffix"
|
|
8800
|
+
}
|
|
8801
|
+
],
|
|
8802
|
+
"members": [
|
|
8803
|
+
{
|
|
8804
|
+
"kind": "field",
|
|
8805
|
+
"name": "hasSlotController",
|
|
8806
|
+
"privacy": "private",
|
|
8807
|
+
"readonly": true,
|
|
8808
|
+
"default": "new HasSlotController(this, '[default]', 'prefix', 'suffix')"
|
|
8809
|
+
},
|
|
8810
|
+
{
|
|
8811
|
+
"kind": "field",
|
|
8812
|
+
"name": "input",
|
|
8813
|
+
"type": {
|
|
8814
|
+
"text": "HTMLInputElement"
|
|
8815
|
+
}
|
|
8816
|
+
},
|
|
8817
|
+
{
|
|
8818
|
+
"kind": "field",
|
|
8819
|
+
"name": "hiddenInput",
|
|
7906
8820
|
"type": {
|
|
7907
|
-
"text": "
|
|
7908
|
-
}
|
|
7909
|
-
"default": "false"
|
|
8821
|
+
"text": "HTMLInputElement"
|
|
8822
|
+
}
|
|
7910
8823
|
},
|
|
7911
8824
|
{
|
|
7912
8825
|
"kind": "field",
|
|
@@ -7926,6 +8839,17 @@
|
|
|
7926
8839
|
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
7927
8840
|
"attribute": "value"
|
|
7928
8841
|
},
|
|
8842
|
+
{
|
|
8843
|
+
"kind": "field",
|
|
8844
|
+
"name": "disabled",
|
|
8845
|
+
"type": {
|
|
8846
|
+
"text": "boolean"
|
|
8847
|
+
},
|
|
8848
|
+
"default": "false",
|
|
8849
|
+
"description": "Disables the radio button.",
|
|
8850
|
+
"attribute": "disabled",
|
|
8851
|
+
"reflects": true
|
|
8852
|
+
},
|
|
7929
8853
|
{
|
|
7930
8854
|
"kind": "field",
|
|
7931
8855
|
"name": "size",
|
|
@@ -7933,59 +8857,77 @@
|
|
|
7933
8857
|
"text": "'small' | 'medium' | 'large'"
|
|
7934
8858
|
},
|
|
7935
8859
|
"default": "'medium'",
|
|
7936
|
-
"description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so
|
|
8860
|
+
"description": "The radio button's size. When used inside a radio group, the size will be determined by the radio group's size so\nthis attribute can typically be omitted.",
|
|
7937
8861
|
"attribute": "size",
|
|
7938
8862
|
"reflects": true
|
|
7939
8863
|
},
|
|
7940
8864
|
{
|
|
7941
8865
|
"kind": "field",
|
|
7942
|
-
"name": "
|
|
8866
|
+
"name": "pill",
|
|
7943
8867
|
"type": {
|
|
7944
8868
|
"text": "boolean"
|
|
7945
8869
|
},
|
|
7946
8870
|
"default": "false",
|
|
7947
|
-
"description": "
|
|
7948
|
-
"attribute": "
|
|
8871
|
+
"description": "Draws a pill-style radio button with rounded edges.",
|
|
8872
|
+
"attribute": "pill",
|
|
7949
8873
|
"reflects": true
|
|
7950
8874
|
},
|
|
7951
8875
|
{
|
|
7952
|
-
"kind": "
|
|
8876
|
+
"kind": "method",
|
|
7953
8877
|
"name": "handleBlur",
|
|
7954
8878
|
"privacy": "private"
|
|
7955
8879
|
},
|
|
7956
8880
|
{
|
|
7957
|
-
"kind": "
|
|
8881
|
+
"kind": "method",
|
|
7958
8882
|
"name": "handleClick",
|
|
7959
|
-
"privacy": "private"
|
|
8883
|
+
"privacy": "private",
|
|
8884
|
+
"parameters": [
|
|
8885
|
+
{
|
|
8886
|
+
"name": "e",
|
|
8887
|
+
"type": {
|
|
8888
|
+
"text": "MouseEvent"
|
|
8889
|
+
}
|
|
8890
|
+
}
|
|
8891
|
+
]
|
|
7960
8892
|
},
|
|
7961
8893
|
{
|
|
7962
|
-
"kind": "
|
|
8894
|
+
"kind": "method",
|
|
7963
8895
|
"name": "handleFocus",
|
|
7964
8896
|
"privacy": "private"
|
|
7965
8897
|
},
|
|
7966
8898
|
{
|
|
7967
8899
|
"kind": "method",
|
|
7968
|
-
"name": "
|
|
7969
|
-
"privacy": "private"
|
|
8900
|
+
"name": "handleDisabledChange"
|
|
7970
8901
|
},
|
|
7971
8902
|
{
|
|
7972
8903
|
"kind": "method",
|
|
7973
|
-
"name": "
|
|
8904
|
+
"name": "focus",
|
|
8905
|
+
"parameters": [
|
|
8906
|
+
{
|
|
8907
|
+
"name": "options",
|
|
8908
|
+
"optional": true,
|
|
8909
|
+
"type": {
|
|
8910
|
+
"text": "FocusOptions"
|
|
8911
|
+
}
|
|
8912
|
+
}
|
|
8913
|
+
],
|
|
8914
|
+
"description": "Sets focus on the radio button."
|
|
7974
8915
|
},
|
|
7975
8916
|
{
|
|
7976
8917
|
"kind": "method",
|
|
7977
|
-
"name": "
|
|
8918
|
+
"name": "blur",
|
|
8919
|
+
"description": "Removes focus from the radio button."
|
|
7978
8920
|
}
|
|
7979
8921
|
],
|
|
7980
8922
|
"events": [
|
|
7981
8923
|
{
|
|
7982
|
-
"description": "Emitted when the
|
|
8924
|
+
"description": "Emitted when the button loses focus.",
|
|
7983
8925
|
"name": "syn-blur",
|
|
7984
8926
|
"reactName": "onSynBlur",
|
|
7985
8927
|
"eventName": "SynBlurEvent"
|
|
7986
8928
|
},
|
|
7987
8929
|
{
|
|
7988
|
-
"description": "Emitted when the
|
|
8930
|
+
"description": "Emitted when the button gains focus.",
|
|
7989
8931
|
"name": "syn-focus",
|
|
7990
8932
|
"reactName": "onSynFocus",
|
|
7991
8933
|
"eventName": "SynFocusEvent"
|
|
@@ -8000,40 +8942,46 @@
|
|
|
8000
8942
|
"description": "The radio's value. When selected, the radio group will receive this value.",
|
|
8001
8943
|
"fieldName": "value"
|
|
8002
8944
|
},
|
|
8945
|
+
{
|
|
8946
|
+
"name": "disabled",
|
|
8947
|
+
"type": {
|
|
8948
|
+
"text": "boolean"
|
|
8949
|
+
},
|
|
8950
|
+
"default": "false",
|
|
8951
|
+
"description": "Disables the radio button.",
|
|
8952
|
+
"fieldName": "disabled"
|
|
8953
|
+
},
|
|
8003
8954
|
{
|
|
8004
8955
|
"name": "size",
|
|
8005
8956
|
"type": {
|
|
8006
8957
|
"text": "'small' | 'medium' | 'large'"
|
|
8007
8958
|
},
|
|
8008
8959
|
"default": "'medium'",
|
|
8009
|
-
"description": "The radio's size. When used inside a radio group, the size will be determined by the radio group's size so
|
|
8960
|
+
"description": "The radio button's size. When used inside a radio group, the size will be determined by the radio group's size so\nthis attribute can typically be omitted.",
|
|
8010
8961
|
"fieldName": "size"
|
|
8011
8962
|
},
|
|
8012
8963
|
{
|
|
8013
|
-
"name": "
|
|
8964
|
+
"name": "pill",
|
|
8014
8965
|
"type": {
|
|
8015
8966
|
"text": "boolean"
|
|
8016
8967
|
},
|
|
8017
8968
|
"default": "false",
|
|
8018
|
-
"description": "
|
|
8019
|
-
"fieldName": "
|
|
8969
|
+
"description": "Draws a pill-style radio button with rounded edges.",
|
|
8970
|
+
"fieldName": "pill"
|
|
8020
8971
|
}
|
|
8021
8972
|
],
|
|
8022
8973
|
"superclass": {
|
|
8023
8974
|
"name": "SynergyElement",
|
|
8024
8975
|
"module": "/src/internal/synergy-element.js"
|
|
8025
8976
|
},
|
|
8026
|
-
"summary": "Radios allow the user to select a single option from a group.",
|
|
8027
|
-
"tagNameWithoutPrefix": "radio",
|
|
8028
|
-
"tagName": "syn-radio",
|
|
8977
|
+
"summary": "Radios buttons allow the user to select a single option from a group using a button-like control.",
|
|
8978
|
+
"tagNameWithoutPrefix": "radio-button",
|
|
8979
|
+
"tagName": "syn-radio-button",
|
|
8029
8980
|
"customElement": true,
|
|
8030
|
-
"jsDoc": "/**\n * @summary Radios allow the user to select a single option from a group.\n * @documentation https://synergy.style/components/radio\n * @status stable\n * @since 2.0\n *\n * @
|
|
8031
|
-
"documentation": "https://synergy.style/components/radio",
|
|
8981
|
+
"jsDoc": "/**\n * @summary Radios buttons allow the user to select a single option from a group using a button-like control.\n * @documentation https://synergy.style/components/radio-button\n * @status stable\n * @since 2.0\n *\n * @slot - The radio button's label.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n *\n * @event syn-blur - Emitted when the button loses focus.\n * @event syn-focus - Emitted when the button gains focus.\n *\n * @csspart base - The component's base wrapper.\n * @csspart button - The internal `<button>` element.\n * @csspart button--checked - The internal button element when the radio button is checked.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart label - The container that wraps the radio button's label.\n * @csspart suffix - The container that wraps the suffix.\n */",
|
|
8982
|
+
"documentation": "https://synergy.style/components/radio-button",
|
|
8032
8983
|
"status": "stable",
|
|
8033
|
-
"since": "2.0"
|
|
8034
|
-
"dependencies": [
|
|
8035
|
-
"syn-icon"
|
|
8036
|
-
]
|
|
8984
|
+
"since": "2.0"
|
|
8037
8985
|
}
|
|
8038
8986
|
],
|
|
8039
8987
|
"exports": [
|
|
@@ -8041,145 +8989,239 @@
|
|
|
8041
8989
|
"kind": "js",
|
|
8042
8990
|
"name": "default",
|
|
8043
8991
|
"declaration": {
|
|
8044
|
-
"name": "
|
|
8045
|
-
"module": "components/radio/radio.js"
|
|
8992
|
+
"name": "SynRadioButton",
|
|
8993
|
+
"module": "components/radio-button/radio-button.js"
|
|
8046
8994
|
}
|
|
8047
8995
|
}
|
|
8048
8996
|
]
|
|
8049
8997
|
},
|
|
8050
8998
|
{
|
|
8051
8999
|
"kind": "javascript-module",
|
|
8052
|
-
"path": "components/radio-
|
|
9000
|
+
"path": "components/radio-group/radio-group.js",
|
|
8053
9001
|
"declarations": [
|
|
8054
9002
|
{
|
|
8055
9003
|
"kind": "class",
|
|
8056
9004
|
"description": "",
|
|
8057
|
-
"name": "
|
|
9005
|
+
"name": "SynRadioGroup",
|
|
8058
9006
|
"cssParts": [
|
|
8059
9007
|
{
|
|
8060
|
-
"description": "The
|
|
8061
|
-
"name": "
|
|
9008
|
+
"description": "The form control that wraps the label, input, and help text.",
|
|
9009
|
+
"name": "form-control"
|
|
8062
9010
|
},
|
|
8063
9011
|
{
|
|
8064
|
-
"description": "The
|
|
8065
|
-
"name": "
|
|
9012
|
+
"description": "The label's wrapper.",
|
|
9013
|
+
"name": "form-control-label"
|
|
8066
9014
|
},
|
|
8067
9015
|
{
|
|
8068
|
-
"description": "The
|
|
8069
|
-
"name": "
|
|
9016
|
+
"description": "The input's wrapper.",
|
|
9017
|
+
"name": "form-control-input"
|
|
8070
9018
|
},
|
|
8071
9019
|
{
|
|
8072
|
-
"description": "The
|
|
8073
|
-
"name": "
|
|
9020
|
+
"description": "The help text's wrapper.",
|
|
9021
|
+
"name": "form-control-help-text"
|
|
8074
9022
|
},
|
|
8075
9023
|
{
|
|
8076
|
-
"description": "The
|
|
8077
|
-
"name": "
|
|
9024
|
+
"description": "The button group that wraps radio buttons.",
|
|
9025
|
+
"name": "button-group"
|
|
8078
9026
|
},
|
|
8079
9027
|
{
|
|
8080
|
-
"description": "The
|
|
8081
|
-
"name": "
|
|
9028
|
+
"description": "The button group's `base` part.",
|
|
9029
|
+
"name": "button-group__base"
|
|
8082
9030
|
}
|
|
8083
9031
|
],
|
|
8084
9032
|
"slots": [
|
|
8085
9033
|
{
|
|
8086
|
-
"description": "The radio button
|
|
9034
|
+
"description": "The default slot where `<syn-radio>` or `<syn-radio-button>` elements are placed.",
|
|
8087
9035
|
"name": ""
|
|
8088
9036
|
},
|
|
8089
9037
|
{
|
|
8090
|
-
"description": "
|
|
8091
|
-
"name": "
|
|
9038
|
+
"description": "The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.",
|
|
9039
|
+
"name": "label"
|
|
8092
9040
|
},
|
|
8093
9041
|
{
|
|
8094
|
-
"description": "
|
|
8095
|
-
"name": "
|
|
9042
|
+
"description": "Text that describes how to use the radio group. Alternatively, you can use the `help-text` attribute.",
|
|
9043
|
+
"name": "help-text"
|
|
8096
9044
|
}
|
|
8097
9045
|
],
|
|
8098
9046
|
"members": [
|
|
9047
|
+
{
|
|
9048
|
+
"kind": "field",
|
|
9049
|
+
"name": "dependencies",
|
|
9050
|
+
"type": {
|
|
9051
|
+
"text": "object"
|
|
9052
|
+
},
|
|
9053
|
+
"static": true,
|
|
9054
|
+
"default": "{ 'syn-button-group': SynButtonGroup }"
|
|
9055
|
+
},
|
|
9056
|
+
{
|
|
9057
|
+
"kind": "field",
|
|
9058
|
+
"name": "formControlController",
|
|
9059
|
+
"privacy": "protected",
|
|
9060
|
+
"readonly": true,
|
|
9061
|
+
"default": "new FormControlController(this)"
|
|
9062
|
+
},
|
|
8099
9063
|
{
|
|
8100
9064
|
"kind": "field",
|
|
8101
9065
|
"name": "hasSlotController",
|
|
8102
9066
|
"privacy": "private",
|
|
8103
9067
|
"readonly": true,
|
|
8104
|
-
"default": "new HasSlotController(this, '
|
|
9068
|
+
"default": "new HasSlotController(this, 'help-text', 'label')"
|
|
8105
9069
|
},
|
|
8106
9070
|
{
|
|
8107
9071
|
"kind": "field",
|
|
8108
|
-
"name": "
|
|
9072
|
+
"name": "customValidityMessage",
|
|
8109
9073
|
"type": {
|
|
8110
|
-
"text": "
|
|
9074
|
+
"text": "string"
|
|
9075
|
+
},
|
|
9076
|
+
"privacy": "private",
|
|
9077
|
+
"default": "''"
|
|
9078
|
+
},
|
|
9079
|
+
{
|
|
9080
|
+
"kind": "field",
|
|
9081
|
+
"name": "validationTimeout",
|
|
9082
|
+
"type": {
|
|
9083
|
+
"text": "number"
|
|
9084
|
+
},
|
|
9085
|
+
"privacy": "private"
|
|
9086
|
+
},
|
|
9087
|
+
{
|
|
9088
|
+
"kind": "field",
|
|
9089
|
+
"name": "defaultSlot",
|
|
9090
|
+
"type": {
|
|
9091
|
+
"text": "HTMLSlotElement"
|
|
8111
9092
|
}
|
|
8112
9093
|
},
|
|
8113
9094
|
{
|
|
8114
9095
|
"kind": "field",
|
|
8115
|
-
"name": "
|
|
9096
|
+
"name": "validationInput",
|
|
8116
9097
|
"type": {
|
|
8117
9098
|
"text": "HTMLInputElement"
|
|
8118
9099
|
}
|
|
8119
9100
|
},
|
|
8120
9101
|
{
|
|
8121
9102
|
"kind": "field",
|
|
8122
|
-
"name": "
|
|
9103
|
+
"name": "hasButtonGroup",
|
|
8123
9104
|
"type": {
|
|
8124
9105
|
"text": "boolean"
|
|
8125
9106
|
},
|
|
8126
|
-
"privacy": "
|
|
9107
|
+
"privacy": "private",
|
|
8127
9108
|
"default": "false"
|
|
8128
9109
|
},
|
|
8129
9110
|
{
|
|
8130
9111
|
"kind": "field",
|
|
8131
|
-
"name": "
|
|
9112
|
+
"name": "errorMessage",
|
|
9113
|
+
"type": {
|
|
9114
|
+
"text": "string"
|
|
9115
|
+
},
|
|
9116
|
+
"privacy": "private",
|
|
9117
|
+
"default": "''"
|
|
9118
|
+
},
|
|
9119
|
+
{
|
|
9120
|
+
"kind": "field",
|
|
9121
|
+
"name": "defaultValue",
|
|
9122
|
+
"type": {
|
|
9123
|
+
"text": "string"
|
|
9124
|
+
},
|
|
9125
|
+
"default": "''"
|
|
9126
|
+
},
|
|
9127
|
+
{
|
|
9128
|
+
"kind": "field",
|
|
9129
|
+
"name": "label",
|
|
9130
|
+
"type": {
|
|
9131
|
+
"text": "string"
|
|
9132
|
+
},
|
|
9133
|
+
"default": "''",
|
|
9134
|
+
"description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
9135
|
+
"attribute": "label"
|
|
9136
|
+
},
|
|
9137
|
+
{
|
|
9138
|
+
"kind": "field",
|
|
9139
|
+
"name": "helpText",
|
|
9140
|
+
"type": {
|
|
9141
|
+
"text": "string"
|
|
9142
|
+
},
|
|
9143
|
+
"default": "''",
|
|
9144
|
+
"description": "The radio groups's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
9145
|
+
"attribute": "help-text"
|
|
9146
|
+
},
|
|
9147
|
+
{
|
|
9148
|
+
"kind": "field",
|
|
9149
|
+
"name": "name",
|
|
9150
|
+
"type": {
|
|
9151
|
+
"text": "string"
|
|
9152
|
+
},
|
|
9153
|
+
"default": "'option'",
|
|
9154
|
+
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
9155
|
+
"attribute": "name"
|
|
9156
|
+
},
|
|
9157
|
+
{
|
|
9158
|
+
"kind": "field",
|
|
9159
|
+
"name": "value",
|
|
9160
|
+
"type": {
|
|
9161
|
+
"text": "string"
|
|
9162
|
+
},
|
|
9163
|
+
"default": "''",
|
|
9164
|
+
"description": "The current value of the radio group, submitted as a name/value pair with form data.",
|
|
9165
|
+
"attribute": "value",
|
|
9166
|
+
"reflects": true
|
|
9167
|
+
},
|
|
9168
|
+
{
|
|
9169
|
+
"kind": "field",
|
|
9170
|
+
"name": "size",
|
|
9171
|
+
"type": {
|
|
9172
|
+
"text": "'small' | 'medium' | 'large'"
|
|
9173
|
+
},
|
|
9174
|
+
"default": "'medium'",
|
|
9175
|
+
"description": "The radio group's size. This size will be applied to all child radios and radio buttons.",
|
|
9176
|
+
"attribute": "size",
|
|
9177
|
+
"reflects": true
|
|
9178
|
+
},
|
|
9179
|
+
{
|
|
9180
|
+
"kind": "field",
|
|
9181
|
+
"name": "form",
|
|
8132
9182
|
"type": {
|
|
8133
9183
|
"text": "string"
|
|
8134
9184
|
},
|
|
8135
|
-
"
|
|
8136
|
-
"
|
|
9185
|
+
"default": "''",
|
|
9186
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
9187
|
+
"attribute": "form",
|
|
9188
|
+
"reflects": true
|
|
8137
9189
|
},
|
|
8138
9190
|
{
|
|
8139
9191
|
"kind": "field",
|
|
8140
|
-
"name": "
|
|
9192
|
+
"name": "required",
|
|
8141
9193
|
"type": {
|
|
8142
9194
|
"text": "boolean"
|
|
8143
9195
|
},
|
|
8144
9196
|
"default": "false",
|
|
8145
|
-
"description": "
|
|
8146
|
-
"attribute": "
|
|
9197
|
+
"description": "Ensures a child radio is checked before allowing the containing form to submit.",
|
|
9198
|
+
"attribute": "required",
|
|
8147
9199
|
"reflects": true
|
|
8148
9200
|
},
|
|
8149
9201
|
{
|
|
8150
9202
|
"kind": "field",
|
|
8151
|
-
"name": "
|
|
8152
|
-
"
|
|
8153
|
-
|
|
8154
|
-
},
|
|
8155
|
-
"default": "'medium'",
|
|
8156
|
-
"description": "The radio button's size. When used inside a radio group, the size will be determined by the radio group's size so\nthis attribute can typically be omitted.",
|
|
8157
|
-
"attribute": "size",
|
|
8158
|
-
"reflects": true
|
|
9203
|
+
"name": "validity",
|
|
9204
|
+
"description": "Gets the validity state object",
|
|
9205
|
+
"readonly": true
|
|
8159
9206
|
},
|
|
8160
9207
|
{
|
|
8161
9208
|
"kind": "field",
|
|
8162
|
-
"name": "
|
|
8163
|
-
"
|
|
8164
|
-
|
|
8165
|
-
},
|
|
8166
|
-
"default": "false",
|
|
8167
|
-
"description": "Draws a pill-style radio button with rounded edges.",
|
|
8168
|
-
"attribute": "pill",
|
|
8169
|
-
"reflects": true
|
|
9209
|
+
"name": "validationMessage",
|
|
9210
|
+
"description": "Gets the validation message",
|
|
9211
|
+
"readonly": true
|
|
8170
9212
|
},
|
|
8171
9213
|
{
|
|
8172
9214
|
"kind": "method",
|
|
8173
|
-
"name": "
|
|
9215
|
+
"name": "getAllRadios",
|
|
8174
9216
|
"privacy": "private"
|
|
8175
9217
|
},
|
|
8176
9218
|
{
|
|
8177
9219
|
"kind": "method",
|
|
8178
|
-
"name": "
|
|
9220
|
+
"name": "handleRadioClick",
|
|
8179
9221
|
"privacy": "private",
|
|
8180
9222
|
"parameters": [
|
|
8181
9223
|
{
|
|
8182
|
-
"name": "
|
|
9224
|
+
"name": "event",
|
|
8183
9225
|
"type": {
|
|
8184
9226
|
"text": "MouseEvent"
|
|
8185
9227
|
}
|
|
@@ -8188,64 +9230,151 @@
|
|
|
8188
9230
|
},
|
|
8189
9231
|
{
|
|
8190
9232
|
"kind": "method",
|
|
8191
|
-
"name": "
|
|
8192
|
-
"privacy": "private"
|
|
9233
|
+
"name": "handleKeyDown",
|
|
9234
|
+
"privacy": "private",
|
|
9235
|
+
"parameters": [
|
|
9236
|
+
{
|
|
9237
|
+
"name": "event",
|
|
9238
|
+
"type": {
|
|
9239
|
+
"text": "KeyboardEvent"
|
|
9240
|
+
}
|
|
9241
|
+
}
|
|
9242
|
+
]
|
|
8193
9243
|
},
|
|
8194
9244
|
{
|
|
8195
9245
|
"kind": "method",
|
|
8196
|
-
"name": "
|
|
9246
|
+
"name": "handleLabelClick",
|
|
9247
|
+
"privacy": "private"
|
|
8197
9248
|
},
|
|
8198
9249
|
{
|
|
8199
9250
|
"kind": "method",
|
|
8200
|
-
"name": "
|
|
9251
|
+
"name": "handleInvalid",
|
|
9252
|
+
"privacy": "private",
|
|
8201
9253
|
"parameters": [
|
|
8202
9254
|
{
|
|
8203
|
-
"name": "
|
|
8204
|
-
"optional": true,
|
|
9255
|
+
"name": "event",
|
|
8205
9256
|
"type": {
|
|
8206
|
-
"text": "
|
|
9257
|
+
"text": "Event"
|
|
8207
9258
|
}
|
|
8208
9259
|
}
|
|
8209
|
-
]
|
|
8210
|
-
"description": "Sets focus on the radio button."
|
|
9260
|
+
]
|
|
8211
9261
|
},
|
|
8212
9262
|
{
|
|
8213
9263
|
"kind": "method",
|
|
8214
|
-
"name": "
|
|
8215
|
-
"
|
|
9264
|
+
"name": "syncRadioElements",
|
|
9265
|
+
"privacy": "private"
|
|
9266
|
+
},
|
|
9267
|
+
{
|
|
9268
|
+
"kind": "method",
|
|
9269
|
+
"name": "syncRadios",
|
|
9270
|
+
"privacy": "private"
|
|
9271
|
+
},
|
|
9272
|
+
{
|
|
9273
|
+
"kind": "method",
|
|
9274
|
+
"name": "updateCheckedRadio",
|
|
9275
|
+
"privacy": "private"
|
|
9276
|
+
},
|
|
9277
|
+
{
|
|
9278
|
+
"kind": "method",
|
|
9279
|
+
"name": "handleSizeChange"
|
|
9280
|
+
},
|
|
9281
|
+
{
|
|
9282
|
+
"kind": "method",
|
|
9283
|
+
"name": "handleValueChange"
|
|
9284
|
+
},
|
|
9285
|
+
{
|
|
9286
|
+
"kind": "method",
|
|
9287
|
+
"name": "checkValidity",
|
|
9288
|
+
"description": "Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid."
|
|
9289
|
+
},
|
|
9290
|
+
{
|
|
9291
|
+
"kind": "method",
|
|
9292
|
+
"name": "getForm",
|
|
9293
|
+
"return": {
|
|
9294
|
+
"type": {
|
|
9295
|
+
"text": "HTMLFormElement | null"
|
|
9296
|
+
}
|
|
9297
|
+
},
|
|
9298
|
+
"description": "Gets the associated form, if one exists."
|
|
9299
|
+
},
|
|
9300
|
+
{
|
|
9301
|
+
"kind": "method",
|
|
9302
|
+
"name": "reportValidity",
|
|
9303
|
+
"return": {
|
|
9304
|
+
"type": {
|
|
9305
|
+
"text": "boolean"
|
|
9306
|
+
}
|
|
9307
|
+
},
|
|
9308
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
9309
|
+
},
|
|
9310
|
+
{
|
|
9311
|
+
"kind": "method",
|
|
9312
|
+
"name": "setCustomValidity",
|
|
9313
|
+
"parameters": [
|
|
9314
|
+
{
|
|
9315
|
+
"name": "message",
|
|
9316
|
+
"default": "''"
|
|
9317
|
+
}
|
|
9318
|
+
],
|
|
9319
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
8216
9320
|
}
|
|
8217
9321
|
],
|
|
8218
9322
|
"events": [
|
|
8219
9323
|
{
|
|
8220
|
-
"description": "Emitted when the
|
|
8221
|
-
"name": "syn-
|
|
8222
|
-
"reactName": "
|
|
8223
|
-
"eventName": "
|
|
9324
|
+
"description": "Emitted when the radio group's selected value changes.",
|
|
9325
|
+
"name": "syn-change",
|
|
9326
|
+
"reactName": "onSynChange",
|
|
9327
|
+
"eventName": "SynChangeEvent"
|
|
8224
9328
|
},
|
|
8225
9329
|
{
|
|
8226
|
-
"description": "Emitted when the
|
|
8227
|
-
"name": "syn-
|
|
8228
|
-
"reactName": "
|
|
8229
|
-
"eventName": "
|
|
9330
|
+
"description": "Emitted when the radio group receives user input.",
|
|
9331
|
+
"name": "syn-input",
|
|
9332
|
+
"reactName": "onSynInput",
|
|
9333
|
+
"eventName": "SynInputEvent"
|
|
9334
|
+
},
|
|
9335
|
+
{
|
|
9336
|
+
"description": "Emitted when the form control has been checked for validity and its constraints aren't satisfied.",
|
|
9337
|
+
"name": "syn-invalid",
|
|
9338
|
+
"reactName": "onSynInvalid",
|
|
9339
|
+
"eventName": "SynInvalidEvent"
|
|
8230
9340
|
}
|
|
8231
9341
|
],
|
|
8232
9342
|
"attributes": [
|
|
8233
9343
|
{
|
|
8234
|
-
"name": "
|
|
9344
|
+
"name": "label",
|
|
8235
9345
|
"type": {
|
|
8236
9346
|
"text": "string"
|
|
8237
9347
|
},
|
|
8238
|
-
"
|
|
8239
|
-
"
|
|
9348
|
+
"default": "''",
|
|
9349
|
+
"description": "The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\ninstead.",
|
|
9350
|
+
"fieldName": "label"
|
|
8240
9351
|
},
|
|
8241
9352
|
{
|
|
8242
|
-
"name": "
|
|
9353
|
+
"name": "help-text",
|
|
8243
9354
|
"type": {
|
|
8244
|
-
"text": "
|
|
9355
|
+
"text": "string"
|
|
8245
9356
|
},
|
|
8246
|
-
"default": "
|
|
8247
|
-
"description": "
|
|
8248
|
-
"fieldName": "
|
|
9357
|
+
"default": "''",
|
|
9358
|
+
"description": "The radio groups's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
9359
|
+
"fieldName": "helpText"
|
|
9360
|
+
},
|
|
9361
|
+
{
|
|
9362
|
+
"name": "name",
|
|
9363
|
+
"type": {
|
|
9364
|
+
"text": "string"
|
|
9365
|
+
},
|
|
9366
|
+
"default": "'option'",
|
|
9367
|
+
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
9368
|
+
"fieldName": "name"
|
|
9369
|
+
},
|
|
9370
|
+
{
|
|
9371
|
+
"name": "value",
|
|
9372
|
+
"type": {
|
|
9373
|
+
"text": "string"
|
|
9374
|
+
},
|
|
9375
|
+
"default": "''",
|
|
9376
|
+
"description": "The current value of the radio group, submitted as a name/value pair with form data.",
|
|
9377
|
+
"fieldName": "value"
|
|
8249
9378
|
},
|
|
8250
9379
|
{
|
|
8251
9380
|
"name": "size",
|
|
@@ -8253,31 +9382,43 @@
|
|
|
8253
9382
|
"text": "'small' | 'medium' | 'large'"
|
|
8254
9383
|
},
|
|
8255
9384
|
"default": "'medium'",
|
|
8256
|
-
"description": "The radio
|
|
9385
|
+
"description": "The radio group's size. This size will be applied to all child radios and radio buttons.",
|
|
8257
9386
|
"fieldName": "size"
|
|
8258
9387
|
},
|
|
8259
9388
|
{
|
|
8260
|
-
"name": "
|
|
9389
|
+
"name": "form",
|
|
9390
|
+
"type": {
|
|
9391
|
+
"text": "string"
|
|
9392
|
+
},
|
|
9393
|
+
"default": "''",
|
|
9394
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
9395
|
+
"fieldName": "form"
|
|
9396
|
+
},
|
|
9397
|
+
{
|
|
9398
|
+
"name": "required",
|
|
8261
9399
|
"type": {
|
|
8262
9400
|
"text": "boolean"
|
|
8263
9401
|
},
|
|
8264
9402
|
"default": "false",
|
|
8265
|
-
"description": "
|
|
8266
|
-
"fieldName": "
|
|
9403
|
+
"description": "Ensures a child radio is checked before allowing the containing form to submit.",
|
|
9404
|
+
"fieldName": "required"
|
|
8267
9405
|
}
|
|
8268
9406
|
],
|
|
8269
9407
|
"superclass": {
|
|
8270
9408
|
"name": "SynergyElement",
|
|
8271
9409
|
"module": "/src/internal/synergy-element.js"
|
|
8272
9410
|
},
|
|
8273
|
-
"summary": "
|
|
8274
|
-
"tagNameWithoutPrefix": "radio-
|
|
8275
|
-
"tagName": "syn-radio-
|
|
9411
|
+
"summary": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.",
|
|
9412
|
+
"tagNameWithoutPrefix": "radio-group",
|
|
9413
|
+
"tagName": "syn-radio-group",
|
|
8276
9414
|
"customElement": true,
|
|
8277
|
-
"jsDoc": "/**\n * @summary
|
|
8278
|
-
"documentation": "https://synergy.style/components/radio-
|
|
9415
|
+
"jsDoc": "/**\n * @summary Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n * @documentation https://synergy.style/components/radio-group\n * @status stable\n * @since 2.0\n *\n * @dependency syn-button-group\n *\n * @slot - The default slot where `<syn-radio>` or `<syn-radio-button>` elements are placed.\n * @slot label - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label`\n * attribute.\n * @slot help-text - Text that describes how to use the radio group. Alternatively, you can use the `help-text` attribute.\n *\n * @event syn-change - Emitted when the radio group's selected value changes.\n * @event syn-input - Emitted when the radio group receives user 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 button-group - The button group that wraps radio buttons.\n * @csspart button-group__base - The button group's `base` part.\n */",
|
|
9416
|
+
"documentation": "https://synergy.style/components/radio-group",
|
|
8279
9417
|
"status": "stable",
|
|
8280
|
-
"since": "2.0"
|
|
9418
|
+
"since": "2.0",
|
|
9419
|
+
"dependencies": [
|
|
9420
|
+
"syn-button-group"
|
|
9421
|
+
]
|
|
8281
9422
|
}
|
|
8282
9423
|
],
|
|
8283
9424
|
"exports": [
|
|
@@ -8285,20 +9426,50 @@
|
|
|
8285
9426
|
"kind": "js",
|
|
8286
9427
|
"name": "default",
|
|
8287
9428
|
"declaration": {
|
|
8288
|
-
"name": "
|
|
8289
|
-
"module": "components/radio-
|
|
9429
|
+
"name": "SynRadioGroup",
|
|
9430
|
+
"module": "components/radio-group/radio-group.js"
|
|
8290
9431
|
}
|
|
8291
9432
|
}
|
|
8292
9433
|
]
|
|
8293
9434
|
},
|
|
8294
9435
|
{
|
|
8295
9436
|
"kind": "javascript-module",
|
|
8296
|
-
"path": "components/
|
|
9437
|
+
"path": "components/range/range.js",
|
|
8297
9438
|
"declarations": [
|
|
8298
9439
|
{
|
|
8299
9440
|
"kind": "class",
|
|
8300
9441
|
"description": "",
|
|
8301
|
-
"name": "
|
|
9442
|
+
"name": "SynRange",
|
|
9443
|
+
"cssProperties": [
|
|
9444
|
+
{
|
|
9445
|
+
"description": "The size of a thumb.",
|
|
9446
|
+
"name": "--thumb-size"
|
|
9447
|
+
},
|
|
9448
|
+
{
|
|
9449
|
+
"description": "The clickable area around the thumb. Per default this is set to 140% of the thumb size. Must be a scale css value (defaults to 1.4).",
|
|
9450
|
+
"name": "--thumb-hit-area-size"
|
|
9451
|
+
},
|
|
9452
|
+
{
|
|
9453
|
+
"description": "The clickable area around the track (top and left).",
|
|
9454
|
+
"name": "--track-hit-area-size"
|
|
9455
|
+
},
|
|
9456
|
+
{
|
|
9457
|
+
"description": "Color of the track representing the current value.",
|
|
9458
|
+
"name": "--track-color-active"
|
|
9459
|
+
},
|
|
9460
|
+
{
|
|
9461
|
+
"description": "Color of the track that represents the remaining value.",
|
|
9462
|
+
"name": "--track-color-inactive"
|
|
9463
|
+
},
|
|
9464
|
+
{
|
|
9465
|
+
"description": "The height of the track.",
|
|
9466
|
+
"name": "--track-height"
|
|
9467
|
+
},
|
|
9468
|
+
{
|
|
9469
|
+
"description": "The point of origin of the active track, starting at the left side of the range.",
|
|
9470
|
+
"name": "--track-active-offset"
|
|
9471
|
+
}
|
|
9472
|
+
],
|
|
8302
9473
|
"cssParts": [
|
|
8303
9474
|
{
|
|
8304
9475
|
"description": "The form control that wraps the label, input, and help text.",
|
|
@@ -8309,34 +9480,66 @@
|
|
|
8309
9480
|
"name": "form-control-label"
|
|
8310
9481
|
},
|
|
8311
9482
|
{
|
|
8312
|
-
"description": "The
|
|
8313
|
-
"name": "form-control-
|
|
9483
|
+
"description": "The help text's wrapper.",
|
|
9484
|
+
"name": "form-control-help-text"
|
|
9485
|
+
},
|
|
9486
|
+
{
|
|
9487
|
+
"description": "The component's base wrapper.",
|
|
9488
|
+
"name": "base"
|
|
9489
|
+
},
|
|
9490
|
+
{
|
|
9491
|
+
"description": "The container that wraps the input track and ticks.",
|
|
9492
|
+
"name": "input-wrapper"
|
|
9493
|
+
},
|
|
9494
|
+
{
|
|
9495
|
+
"description": "The wrapper for the track.",
|
|
9496
|
+
"name": "track-wrapper"
|
|
9497
|
+
},
|
|
9498
|
+
{
|
|
9499
|
+
"description": "The inactive track.",
|
|
9500
|
+
"name": "track"
|
|
9501
|
+
},
|
|
9502
|
+
{
|
|
9503
|
+
"description": "The active track.",
|
|
9504
|
+
"name": "active-track"
|
|
9505
|
+
},
|
|
9506
|
+
{
|
|
9507
|
+
"description": "The container that wraps the prefix.",
|
|
9508
|
+
"name": "prefix"
|
|
8314
9509
|
},
|
|
8315
9510
|
{
|
|
8316
|
-
"description": "The
|
|
8317
|
-
"name": "
|
|
9511
|
+
"description": "The container that wraps the suffix.",
|
|
9512
|
+
"name": "suffix"
|
|
8318
9513
|
},
|
|
8319
9514
|
{
|
|
8320
|
-
"description": "The
|
|
8321
|
-
"name": "
|
|
9515
|
+
"description": "The container that wraps the tick marks.",
|
|
9516
|
+
"name": "ticks"
|
|
8322
9517
|
},
|
|
8323
9518
|
{
|
|
8324
|
-
"description": "The
|
|
8325
|
-
"name": "
|
|
9519
|
+
"description": "The thumb(s) that the user can drag to change the range.",
|
|
9520
|
+
"name": "thumb"
|
|
8326
9521
|
}
|
|
8327
9522
|
],
|
|
8328
9523
|
"slots": [
|
|
8329
9524
|
{
|
|
8330
|
-
"description": "The
|
|
8331
|
-
"name": ""
|
|
9525
|
+
"description": "The range's label. Alternatively, you can use the `label` attribute.",
|
|
9526
|
+
"name": "label"
|
|
8332
9527
|
},
|
|
8333
9528
|
{
|
|
8334
|
-
"description": "
|
|
8335
|
-
"name": "
|
|
9529
|
+
"description": "Used to prepend a presentational icon or similar element to the range.",
|
|
9530
|
+
"name": "prefix"
|
|
8336
9531
|
},
|
|
8337
9532
|
{
|
|
8338
|
-
"description": "
|
|
9533
|
+
"description": "Used to append a presentational icon or similar element to the range.",
|
|
9534
|
+
"name": "suffix"
|
|
9535
|
+
},
|
|
9536
|
+
{
|
|
9537
|
+
"description": "Text that describes how to use the range. Alternatively, you can use the `help-text` attribute.",
|
|
8339
9538
|
"name": "help-text"
|
|
9539
|
+
},
|
|
9540
|
+
{
|
|
9541
|
+
"description": "Used to display tick marks at specific intervals along the range.",
|
|
9542
|
+
"name": "ticks"
|
|
8340
9543
|
}
|
|
8341
9544
|
],
|
|
8342
9545
|
"members": [
|
|
@@ -8347,70 +9550,110 @@
|
|
|
8347
9550
|
"text": "object"
|
|
8348
9551
|
},
|
|
8349
9552
|
"static": true,
|
|
8350
|
-
"default": "{
|
|
9553
|
+
"default": "{\n 'syn-tooltip': SynTooltip,\n }"
|
|
8351
9554
|
},
|
|
8352
9555
|
{
|
|
8353
9556
|
"kind": "field",
|
|
8354
|
-
"name": "
|
|
8355
|
-
"
|
|
8356
|
-
|
|
8357
|
-
|
|
9557
|
+
"name": "name",
|
|
9558
|
+
"type": {
|
|
9559
|
+
"text": "string"
|
|
9560
|
+
},
|
|
9561
|
+
"default": "''",
|
|
9562
|
+
"description": "The name of the range, submitted as a name/value pair with form data.",
|
|
9563
|
+
"attribute": "name"
|
|
8358
9564
|
},
|
|
8359
9565
|
{
|
|
8360
9566
|
"kind": "field",
|
|
8361
|
-
"name": "
|
|
8362
|
-
"
|
|
8363
|
-
|
|
8364
|
-
|
|
9567
|
+
"name": "label",
|
|
9568
|
+
"type": {
|
|
9569
|
+
"text": "string"
|
|
9570
|
+
},
|
|
9571
|
+
"default": "''",
|
|
9572
|
+
"description": "The range's label. If you need to display HTML, use the `label` slot instead.",
|
|
9573
|
+
"attribute": "label"
|
|
8365
9574
|
},
|
|
8366
9575
|
{
|
|
8367
9576
|
"kind": "field",
|
|
8368
|
-
"name": "
|
|
9577
|
+
"name": "helpText",
|
|
8369
9578
|
"type": {
|
|
8370
9579
|
"text": "string"
|
|
8371
9580
|
},
|
|
8372
|
-
"
|
|
8373
|
-
"
|
|
9581
|
+
"default": "''",
|
|
9582
|
+
"description": "The range's help text. If you need to display HTML, use the help-text slot instead.",
|
|
9583
|
+
"attribute": "help-text"
|
|
8374
9584
|
},
|
|
8375
9585
|
{
|
|
8376
9586
|
"kind": "field",
|
|
8377
|
-
"name": "
|
|
9587
|
+
"name": "disabled",
|
|
9588
|
+
"type": {
|
|
9589
|
+
"text": "boolean"
|
|
9590
|
+
},
|
|
9591
|
+
"default": "false",
|
|
9592
|
+
"description": "Disables the range.",
|
|
9593
|
+
"attribute": "disabled",
|
|
9594
|
+
"reflects": true
|
|
9595
|
+
},
|
|
9596
|
+
{
|
|
9597
|
+
"kind": "field",
|
|
9598
|
+
"name": "min",
|
|
8378
9599
|
"type": {
|
|
8379
9600
|
"text": "number"
|
|
8380
9601
|
},
|
|
8381
|
-
"
|
|
9602
|
+
"default": "0",
|
|
9603
|
+
"description": "The minimum acceptable value of the range.",
|
|
9604
|
+
"attribute": "min"
|
|
8382
9605
|
},
|
|
8383
9606
|
{
|
|
8384
9607
|
"kind": "field",
|
|
8385
|
-
"name": "
|
|
9608
|
+
"name": "max",
|
|
8386
9609
|
"type": {
|
|
8387
|
-
"text": "
|
|
8388
|
-
}
|
|
9610
|
+
"text": "number"
|
|
9611
|
+
},
|
|
9612
|
+
"default": "100",
|
|
9613
|
+
"description": "The maximum acceptable value of the range.",
|
|
9614
|
+
"attribute": "max"
|
|
8389
9615
|
},
|
|
8390
9616
|
{
|
|
8391
9617
|
"kind": "field",
|
|
8392
|
-
"name": "
|
|
9618
|
+
"name": "step",
|
|
8393
9619
|
"type": {
|
|
8394
|
-
"text": "
|
|
8395
|
-
}
|
|
9620
|
+
"text": "number"
|
|
9621
|
+
},
|
|
9622
|
+
"default": "1",
|
|
9623
|
+
"description": "The interval at which the range will increase and decrease.",
|
|
9624
|
+
"attribute": "step"
|
|
8396
9625
|
},
|
|
8397
9626
|
{
|
|
8398
9627
|
"kind": "field",
|
|
8399
|
-
"name": "
|
|
9628
|
+
"name": "size",
|
|
8400
9629
|
"type": {
|
|
8401
|
-
"text": "
|
|
9630
|
+
"text": "'small' | 'medium' | 'large'"
|
|
8402
9631
|
},
|
|
8403
|
-
"
|
|
8404
|
-
"
|
|
9632
|
+
"default": "'medium'",
|
|
9633
|
+
"description": "The range's size.",
|
|
9634
|
+
"attribute": "size",
|
|
9635
|
+
"reflects": true
|
|
8405
9636
|
},
|
|
8406
9637
|
{
|
|
8407
9638
|
"kind": "field",
|
|
8408
|
-
"name": "
|
|
9639
|
+
"name": "tooltipPlacement",
|
|
8409
9640
|
"type": {
|
|
8410
|
-
"text": "
|
|
9641
|
+
"text": "'top' | 'bottom' | 'none'"
|
|
8411
9642
|
},
|
|
8412
|
-
"
|
|
8413
|
-
"
|
|
9643
|
+
"default": "'top'",
|
|
9644
|
+
"description": "The preferred placement of the range's tooltip. Use \"none\" to disable the tooltip",
|
|
9645
|
+
"attribute": "tooltip-placement"
|
|
9646
|
+
},
|
|
9647
|
+
{
|
|
9648
|
+
"kind": "field",
|
|
9649
|
+
"name": "value",
|
|
9650
|
+
"description": "The current values of the input (in ascending order) as a string of space separated values",
|
|
9651
|
+
"attribute": "value"
|
|
9652
|
+
},
|
|
9653
|
+
{
|
|
9654
|
+
"kind": "field",
|
|
9655
|
+
"name": "valueAsArray",
|
|
9656
|
+
"description": "Gets or sets the current values of the range as an array of numbers"
|
|
8414
9657
|
},
|
|
8415
9658
|
{
|
|
8416
9659
|
"kind": "field",
|
|
@@ -8418,212 +9661,377 @@
|
|
|
8418
9661
|
"type": {
|
|
8419
9662
|
"text": "string"
|
|
8420
9663
|
},
|
|
8421
|
-
"default": "''"
|
|
9664
|
+
"default": "'0'",
|
|
9665
|
+
"description": "The default value of the form control. Primarily used for resetting the form control."
|
|
8422
9666
|
},
|
|
8423
9667
|
{
|
|
8424
9668
|
"kind": "field",
|
|
8425
|
-
"name": "
|
|
9669
|
+
"name": "form",
|
|
8426
9670
|
"type": {
|
|
8427
9671
|
"text": "string"
|
|
8428
9672
|
},
|
|
8429
9673
|
"default": "''",
|
|
8430
|
-
"description": "
|
|
8431
|
-
"attribute": "
|
|
9674
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element.\nThis attribute allows you to place the form control outside of a form\nand associate it with the form that has this `id`.\nThe form must be in the same document or shadow root for this to work.",
|
|
9675
|
+
"attribute": "form",
|
|
9676
|
+
"reflects": true
|
|
8432
9677
|
},
|
|
8433
9678
|
{
|
|
8434
9679
|
"kind": "field",
|
|
8435
|
-
"name": "
|
|
9680
|
+
"name": "tooltipFormatter",
|
|
8436
9681
|
"type": {
|
|
8437
|
-
"text": "string"
|
|
9682
|
+
"text": "(value: number) => string"
|
|
8438
9683
|
},
|
|
8439
|
-
"
|
|
8440
|
-
"description": "The radio groups's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
8441
|
-
"attribute": "help-text"
|
|
9684
|
+
"description": "A function used to format the tooltip's value.\nThe value of the thumb is passed as the only argument.\nThe function should return a string to display in the tooltip."
|
|
8442
9685
|
},
|
|
8443
9686
|
{
|
|
8444
9687
|
"kind": "field",
|
|
8445
|
-
"name": "
|
|
9688
|
+
"name": "baseDiv",
|
|
8446
9689
|
"type": {
|
|
8447
|
-
"text": "
|
|
8448
|
-
}
|
|
8449
|
-
"default": "'option'",
|
|
8450
|
-
"description": "The name of the radio group, submitted as a name/value pair with form data.",
|
|
8451
|
-
"attribute": "name"
|
|
9690
|
+
"text": "HTMLDivElement"
|
|
9691
|
+
}
|
|
8452
9692
|
},
|
|
8453
9693
|
{
|
|
8454
9694
|
"kind": "field",
|
|
8455
|
-
"name": "
|
|
9695
|
+
"name": "activeTrack",
|
|
8456
9696
|
"type": {
|
|
8457
|
-
"text": "
|
|
9697
|
+
"text": "HTMLDivElement"
|
|
9698
|
+
}
|
|
9699
|
+
},
|
|
9700
|
+
{
|
|
9701
|
+
"kind": "field",
|
|
9702
|
+
"name": "thumbs",
|
|
9703
|
+
"type": {
|
|
9704
|
+
"text": "NodeListOf<HTMLDivElement>"
|
|
9705
|
+
}
|
|
9706
|
+
},
|
|
9707
|
+
{
|
|
9708
|
+
"kind": "field",
|
|
9709
|
+
"name": "validationInput",
|
|
9710
|
+
"type": {
|
|
9711
|
+
"text": "HTMLInputElement"
|
|
9712
|
+
}
|
|
9713
|
+
},
|
|
9714
|
+
{
|
|
9715
|
+
"kind": "field",
|
|
9716
|
+
"name": "hasSlotController",
|
|
9717
|
+
"privacy": "private",
|
|
9718
|
+
"readonly": true,
|
|
9719
|
+
"default": "new HasSlotController(this, 'help-text', 'label', 'prefix', 'suffix', 'ticks')"
|
|
9720
|
+
},
|
|
9721
|
+
{
|
|
9722
|
+
"kind": "field",
|
|
9723
|
+
"name": "formControlController",
|
|
9724
|
+
"privacy": "private",
|
|
9725
|
+
"readonly": true,
|
|
9726
|
+
"default": "new FormControlController(this, { assumeInteractionOn: ['syn-change'] })"
|
|
9727
|
+
},
|
|
9728
|
+
{
|
|
9729
|
+
"kind": "field",
|
|
9730
|
+
"name": "localize",
|
|
9731
|
+
"privacy": "private",
|
|
9732
|
+
"default": "new LocalizeController(this)"
|
|
9733
|
+
},
|
|
9734
|
+
{
|
|
9735
|
+
"kind": "field",
|
|
9736
|
+
"name": "#value",
|
|
9737
|
+
"privacy": "private",
|
|
9738
|
+
"type": {
|
|
9739
|
+
"text": "readonly number[]"
|
|
8458
9740
|
},
|
|
8459
|
-
"default": "
|
|
8460
|
-
"description": "The current value of the radio group, submitted as a name/value pair with form data.",
|
|
8461
|
-
"attribute": "value",
|
|
8462
|
-
"reflects": true
|
|
9741
|
+
"default": "[0]"
|
|
8463
9742
|
},
|
|
8464
9743
|
{
|
|
8465
9744
|
"kind": "field",
|
|
8466
|
-
"name": "
|
|
9745
|
+
"name": "#rangeValues",
|
|
9746
|
+
"privacy": "private",
|
|
9747
|
+
"default": "new Map<number, number>()"
|
|
9748
|
+
},
|
|
9749
|
+
{
|
|
9750
|
+
"kind": "field",
|
|
9751
|
+
"name": "#hasFocus",
|
|
9752
|
+
"privacy": "private",
|
|
8467
9753
|
"type": {
|
|
8468
|
-
"text": "
|
|
9754
|
+
"text": "boolean"
|
|
8469
9755
|
},
|
|
8470
|
-
"default": "
|
|
8471
|
-
"description": "The radio group's size. This size will be applied to all child radios and radio buttons.",
|
|
8472
|
-
"attribute": "size",
|
|
8473
|
-
"reflects": true
|
|
9756
|
+
"default": "false"
|
|
8474
9757
|
},
|
|
8475
9758
|
{
|
|
8476
9759
|
"kind": "field",
|
|
8477
|
-
"name": "
|
|
9760
|
+
"name": "#validationError",
|
|
9761
|
+
"privacy": "private",
|
|
8478
9762
|
"type": {
|
|
8479
9763
|
"text": "string"
|
|
8480
9764
|
},
|
|
8481
|
-
"default": "''"
|
|
8482
|
-
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
8483
|
-
"attribute": "form",
|
|
8484
|
-
"reflects": true
|
|
9765
|
+
"default": "''"
|
|
8485
9766
|
},
|
|
8486
9767
|
{
|
|
8487
9768
|
"kind": "field",
|
|
8488
|
-
"name": "
|
|
9769
|
+
"name": "#validationTimeout",
|
|
9770
|
+
"privacy": "private",
|
|
8489
9771
|
"type": {
|
|
8490
|
-
"text": "
|
|
9772
|
+
"text": "NodeJS.Timeout"
|
|
9773
|
+
}
|
|
9774
|
+
},
|
|
9775
|
+
{
|
|
9776
|
+
"kind": "field",
|
|
9777
|
+
"name": "#nextId",
|
|
9778
|
+
"privacy": "private",
|
|
9779
|
+
"type": {
|
|
9780
|
+
"text": "number"
|
|
9781
|
+
},
|
|
9782
|
+
"default": "1"
|
|
9783
|
+
},
|
|
9784
|
+
{
|
|
9785
|
+
"kind": "field",
|
|
9786
|
+
"name": "#lastChangeValue",
|
|
9787
|
+
"privacy": "private",
|
|
9788
|
+
"type": {
|
|
9789
|
+
"text": "number []"
|
|
9790
|
+
},
|
|
9791
|
+
"default": "[]"
|
|
9792
|
+
},
|
|
9793
|
+
{
|
|
9794
|
+
"kind": "field",
|
|
9795
|
+
"name": "#rtl",
|
|
9796
|
+
"privacy": "private",
|
|
9797
|
+
"readonly": true
|
|
9798
|
+
},
|
|
9799
|
+
{
|
|
9800
|
+
"kind": "method",
|
|
9801
|
+
"name": "focus",
|
|
9802
|
+
"parameters": [
|
|
9803
|
+
{
|
|
9804
|
+
"name": "options",
|
|
9805
|
+
"optional": true,
|
|
9806
|
+
"type": {
|
|
9807
|
+
"text": "FocusOptions"
|
|
9808
|
+
}
|
|
9809
|
+
}
|
|
9810
|
+
]
|
|
9811
|
+
},
|
|
9812
|
+
{
|
|
9813
|
+
"kind": "method",
|
|
9814
|
+
"name": "checkValidity",
|
|
9815
|
+
"privacy": "public",
|
|
9816
|
+
"description": "Checks for validity but does not show a validation message.\nReturns `true` when valid and `false` when invalid."
|
|
9817
|
+
},
|
|
9818
|
+
{
|
|
9819
|
+
"kind": "method",
|
|
9820
|
+
"name": "reportValidity",
|
|
9821
|
+
"privacy": "public",
|
|
9822
|
+
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
9823
|
+
},
|
|
9824
|
+
{
|
|
9825
|
+
"kind": "method",
|
|
9826
|
+
"name": "setCustomValidity",
|
|
9827
|
+
"privacy": "public",
|
|
9828
|
+
"parameters": [
|
|
9829
|
+
{
|
|
9830
|
+
"name": "message",
|
|
9831
|
+
"type": {
|
|
9832
|
+
"text": "string"
|
|
9833
|
+
}
|
|
9834
|
+
}
|
|
9835
|
+
],
|
|
9836
|
+
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
9837
|
+
},
|
|
9838
|
+
{
|
|
9839
|
+
"kind": "method",
|
|
9840
|
+
"name": "getForm",
|
|
9841
|
+
"privacy": "public",
|
|
9842
|
+
"return": {
|
|
9843
|
+
"type": {
|
|
9844
|
+
"text": "HTMLFormElement | null"
|
|
9845
|
+
}
|
|
8491
9846
|
},
|
|
8492
|
-
"
|
|
8493
|
-
"description": "Ensures a child radio is checked before allowing the containing form to submit.",
|
|
8494
|
-
"attribute": "required",
|
|
8495
|
-
"reflects": true
|
|
9847
|
+
"description": "Gets the associated form, if one exists."
|
|
8496
9848
|
},
|
|
8497
9849
|
{
|
|
8498
9850
|
"kind": "field",
|
|
8499
9851
|
"name": "validity",
|
|
9852
|
+
"type": {
|
|
9853
|
+
"text": "ValidityState"
|
|
9854
|
+
},
|
|
9855
|
+
"privacy": "public",
|
|
8500
9856
|
"description": "Gets the validity state object",
|
|
8501
9857
|
"readonly": true
|
|
8502
9858
|
},
|
|
8503
9859
|
{
|
|
8504
9860
|
"kind": "field",
|
|
8505
9861
|
"name": "validationMessage",
|
|
9862
|
+
"privacy": "public",
|
|
8506
9863
|
"description": "Gets the validation message",
|
|
8507
9864
|
"readonly": true
|
|
8508
9865
|
},
|
|
8509
9866
|
{
|
|
8510
9867
|
"kind": "method",
|
|
8511
|
-
"name": "
|
|
8512
|
-
"privacy": "private"
|
|
8513
|
-
},
|
|
8514
|
-
{
|
|
8515
|
-
"kind": "method",
|
|
8516
|
-
"name": "handleRadioClick",
|
|
8517
|
-
"privacy": "private",
|
|
9868
|
+
"name": "#onClickTrack",
|
|
8518
9869
|
"parameters": [
|
|
8519
9870
|
{
|
|
8520
9871
|
"name": "event",
|
|
8521
9872
|
"type": {
|
|
8522
|
-
"text": "
|
|
9873
|
+
"text": "PointerEvent"
|
|
8523
9874
|
}
|
|
8524
9875
|
}
|
|
8525
9876
|
]
|
|
8526
9877
|
},
|
|
8527
9878
|
{
|
|
8528
9879
|
"kind": "method",
|
|
8529
|
-
"name": "
|
|
8530
|
-
"privacy": "private",
|
|
9880
|
+
"name": "#onClickThumb",
|
|
8531
9881
|
"parameters": [
|
|
8532
9882
|
{
|
|
8533
9883
|
"name": "event",
|
|
8534
9884
|
"type": {
|
|
8535
|
-
"text": "
|
|
9885
|
+
"text": "PointerEvent"
|
|
8536
9886
|
}
|
|
8537
9887
|
}
|
|
8538
9888
|
]
|
|
8539
9889
|
},
|
|
8540
9890
|
{
|
|
8541
9891
|
"kind": "method",
|
|
8542
|
-
"name": "
|
|
8543
|
-
"
|
|
9892
|
+
"name": "#onDragThumb",
|
|
9893
|
+
"parameters": [
|
|
9894
|
+
{
|
|
9895
|
+
"name": "event",
|
|
9896
|
+
"type": {
|
|
9897
|
+
"text": "PointerEvent"
|
|
9898
|
+
}
|
|
9899
|
+
}
|
|
9900
|
+
]
|
|
8544
9901
|
},
|
|
8545
9902
|
{
|
|
8546
9903
|
"kind": "method",
|
|
8547
|
-
"name": "
|
|
8548
|
-
"privacy": "private",
|
|
9904
|
+
"name": "#onReleaseThumb",
|
|
8549
9905
|
"parameters": [
|
|
8550
9906
|
{
|
|
8551
9907
|
"name": "event",
|
|
8552
9908
|
"type": {
|
|
8553
|
-
"text": "
|
|
9909
|
+
"text": "PointerEvent"
|
|
8554
9910
|
}
|
|
8555
9911
|
}
|
|
8556
9912
|
]
|
|
8557
9913
|
},
|
|
8558
9914
|
{
|
|
8559
9915
|
"kind": "method",
|
|
8560
|
-
"name": "
|
|
8561
|
-
"
|
|
9916
|
+
"name": "#moveThumb",
|
|
9917
|
+
"parameters": [
|
|
9918
|
+
{
|
|
9919
|
+
"name": "thumb",
|
|
9920
|
+
"type": {
|
|
9921
|
+
"text": "HTMLDivElement"
|
|
9922
|
+
}
|
|
9923
|
+
},
|
|
9924
|
+
{
|
|
9925
|
+
"name": "value",
|
|
9926
|
+
"type": {
|
|
9927
|
+
"text": "number"
|
|
9928
|
+
}
|
|
9929
|
+
}
|
|
9930
|
+
]
|
|
8562
9931
|
},
|
|
8563
9932
|
{
|
|
8564
9933
|
"kind": "method",
|
|
8565
|
-
"name": "
|
|
8566
|
-
"privacy": "private"
|
|
9934
|
+
"name": "#updateActiveTrack"
|
|
8567
9935
|
},
|
|
8568
9936
|
{
|
|
8569
9937
|
"kind": "method",
|
|
8570
|
-
"name": "
|
|
8571
|
-
"
|
|
9938
|
+
"name": "#onKeyPress",
|
|
9939
|
+
"parameters": [
|
|
9940
|
+
{
|
|
9941
|
+
"name": "event",
|
|
9942
|
+
"type": {
|
|
9943
|
+
"text": "KeyboardEvent"
|
|
9944
|
+
}
|
|
9945
|
+
}
|
|
9946
|
+
]
|
|
8572
9947
|
},
|
|
8573
9948
|
{
|
|
8574
9949
|
"kind": "method",
|
|
8575
|
-
"name": "
|
|
9950
|
+
"name": "#onBlur",
|
|
9951
|
+
"parameters": [
|
|
9952
|
+
{
|
|
9953
|
+
"name": "event",
|
|
9954
|
+
"type": {
|
|
9955
|
+
"text": "FocusEvent"
|
|
9956
|
+
}
|
|
9957
|
+
}
|
|
9958
|
+
]
|
|
8576
9959
|
},
|
|
8577
9960
|
{
|
|
8578
9961
|
"kind": "method",
|
|
8579
|
-
"name": "
|
|
9962
|
+
"name": "#updateTooltip",
|
|
9963
|
+
"parameters": [
|
|
9964
|
+
{
|
|
9965
|
+
"name": "thumb",
|
|
9966
|
+
"type": {
|
|
9967
|
+
"text": "HTMLDivElement"
|
|
9968
|
+
}
|
|
9969
|
+
}
|
|
9970
|
+
]
|
|
8580
9971
|
},
|
|
8581
9972
|
{
|
|
8582
9973
|
"kind": "method",
|
|
8583
|
-
"name": "
|
|
8584
|
-
"
|
|
9974
|
+
"name": "#onFocusThumb",
|
|
9975
|
+
"parameters": [
|
|
9976
|
+
{
|
|
9977
|
+
"name": "event",
|
|
9978
|
+
"type": {
|
|
9979
|
+
"text": "FocusEvent"
|
|
9980
|
+
}
|
|
9981
|
+
}
|
|
9982
|
+
]
|
|
8585
9983
|
},
|
|
8586
9984
|
{
|
|
8587
9985
|
"kind": "method",
|
|
8588
|
-
"name": "
|
|
8589
|
-
"
|
|
8590
|
-
|
|
8591
|
-
"
|
|
9986
|
+
"name": "#handleInvalid",
|
|
9987
|
+
"parameters": [
|
|
9988
|
+
{
|
|
9989
|
+
"name": "event",
|
|
9990
|
+
"type": {
|
|
9991
|
+
"text": "Event"
|
|
9992
|
+
}
|
|
8592
9993
|
}
|
|
8593
|
-
|
|
8594
|
-
"description": "Gets the associated form, if one exists."
|
|
9994
|
+
]
|
|
8595
9995
|
},
|
|
8596
9996
|
{
|
|
8597
9997
|
"kind": "method",
|
|
8598
|
-
"name": "
|
|
8599
|
-
"return": {
|
|
8600
|
-
"type": {
|
|
8601
|
-
"text": "boolean"
|
|
8602
|
-
}
|
|
8603
|
-
},
|
|
8604
|
-
"description": "Checks for validity and shows the browser's validation message if the control is invalid."
|
|
9998
|
+
"name": "#updatePrefixSuffixPosition"
|
|
8605
9999
|
},
|
|
8606
10000
|
{
|
|
8607
10001
|
"kind": "method",
|
|
8608
|
-
"name": "
|
|
10002
|
+
"name": "renderThumbs",
|
|
10003
|
+
"privacy": "private",
|
|
8609
10004
|
"parameters": [
|
|
8610
10005
|
{
|
|
8611
|
-
"name": "
|
|
8612
|
-
"
|
|
10006
|
+
"name": "hasLabel",
|
|
10007
|
+
"type": {
|
|
10008
|
+
"text": "boolean"
|
|
10009
|
+
}
|
|
8613
10010
|
}
|
|
8614
|
-
]
|
|
8615
|
-
"description": "Sets a custom validation message. Pass an empty string to restore validity."
|
|
10011
|
+
]
|
|
8616
10012
|
}
|
|
8617
10013
|
],
|
|
8618
10014
|
"events": [
|
|
8619
10015
|
{
|
|
8620
|
-
"description": "Emitted when the
|
|
10016
|
+
"description": "Emitted when the control loses focus.",
|
|
10017
|
+
"name": "syn-blur",
|
|
10018
|
+
"reactName": "onSynBlur",
|
|
10019
|
+
"eventName": "SynBlurEvent"
|
|
10020
|
+
},
|
|
10021
|
+
{
|
|
10022
|
+
"description": "Emitted when an alteration to the control's value is committed by the user.",
|
|
8621
10023
|
"name": "syn-change",
|
|
8622
10024
|
"reactName": "onSynChange",
|
|
8623
10025
|
"eventName": "SynChangeEvent"
|
|
8624
10026
|
},
|
|
8625
10027
|
{
|
|
8626
|
-
"description": "Emitted when the
|
|
10028
|
+
"description": "Emitted when the control gains focus.",
|
|
10029
|
+
"name": "syn-focus",
|
|
10030
|
+
"reactName": "onSynFocus",
|
|
10031
|
+
"eventName": "SynFocusEvent"
|
|
10032
|
+
},
|
|
10033
|
+
{
|
|
10034
|
+
"description": "Emitted when the control receives input.",
|
|
8627
10035
|
"name": "syn-input",
|
|
8628
10036
|
"reactName": "onSynInput",
|
|
8629
10037
|
"eventName": "SynInputEvent"
|
|
@@ -8633,16 +10041,31 @@
|
|
|
8633
10041
|
"name": "syn-invalid",
|
|
8634
10042
|
"reactName": "onSynInvalid",
|
|
8635
10043
|
"eventName": "SynInvalidEvent"
|
|
10044
|
+
},
|
|
10045
|
+
{
|
|
10046
|
+
"description": "Emitted when the user moves a thumb, either via touch or keyboard. Use `Event.preventDefault()` to prevent movement.",
|
|
10047
|
+
"name": "syn-move",
|
|
10048
|
+
"reactName": "onSynMove",
|
|
10049
|
+
"eventName": "SynMoveEvent"
|
|
8636
10050
|
}
|
|
8637
10051
|
],
|
|
8638
10052
|
"attributes": [
|
|
10053
|
+
{
|
|
10054
|
+
"name": "name",
|
|
10055
|
+
"type": {
|
|
10056
|
+
"text": "string"
|
|
10057
|
+
},
|
|
10058
|
+
"default": "''",
|
|
10059
|
+
"description": "The name of the range, submitted as a name/value pair with form data.",
|
|
10060
|
+
"fieldName": "name"
|
|
10061
|
+
},
|
|
8639
10062
|
{
|
|
8640
10063
|
"name": "label",
|
|
8641
10064
|
"type": {
|
|
8642
10065
|
"text": "string"
|
|
8643
10066
|
},
|
|
8644
10067
|
"default": "''",
|
|
8645
|
-
"description": "The
|
|
10068
|
+
"description": "The range's label. If you need to display HTML, use the `label` slot instead.",
|
|
8646
10069
|
"fieldName": "label"
|
|
8647
10070
|
},
|
|
8648
10071
|
{
|
|
@@ -8651,26 +10074,44 @@
|
|
|
8651
10074
|
"text": "string"
|
|
8652
10075
|
},
|
|
8653
10076
|
"default": "''",
|
|
8654
|
-
"description": "The
|
|
10077
|
+
"description": "The range's help text. If you need to display HTML, use the help-text slot instead.",
|
|
8655
10078
|
"fieldName": "helpText"
|
|
8656
10079
|
},
|
|
8657
10080
|
{
|
|
8658
|
-
"name": "
|
|
10081
|
+
"name": "disabled",
|
|
8659
10082
|
"type": {
|
|
8660
|
-
"text": "
|
|
10083
|
+
"text": "boolean"
|
|
8661
10084
|
},
|
|
8662
|
-
"default": "
|
|
8663
|
-
"description": "
|
|
8664
|
-
"fieldName": "
|
|
10085
|
+
"default": "false",
|
|
10086
|
+
"description": "Disables the range.",
|
|
10087
|
+
"fieldName": "disabled"
|
|
8665
10088
|
},
|
|
8666
10089
|
{
|
|
8667
|
-
"name": "
|
|
10090
|
+
"name": "min",
|
|
8668
10091
|
"type": {
|
|
8669
|
-
"text": "
|
|
10092
|
+
"text": "number"
|
|
8670
10093
|
},
|
|
8671
|
-
"default": "
|
|
8672
|
-
"description": "The
|
|
8673
|
-
"fieldName": "
|
|
10094
|
+
"default": "0",
|
|
10095
|
+
"description": "The minimum acceptable value of the range.",
|
|
10096
|
+
"fieldName": "min"
|
|
10097
|
+
},
|
|
10098
|
+
{
|
|
10099
|
+
"name": "max",
|
|
10100
|
+
"type": {
|
|
10101
|
+
"text": "number"
|
|
10102
|
+
},
|
|
10103
|
+
"default": "100",
|
|
10104
|
+
"description": "The maximum acceptable value of the range.",
|
|
10105
|
+
"fieldName": "max"
|
|
10106
|
+
},
|
|
10107
|
+
{
|
|
10108
|
+
"name": "step",
|
|
10109
|
+
"type": {
|
|
10110
|
+
"text": "number"
|
|
10111
|
+
},
|
|
10112
|
+
"default": "1",
|
|
10113
|
+
"description": "The interval at which the range will increase and decrease.",
|
|
10114
|
+
"fieldName": "step"
|
|
8674
10115
|
},
|
|
8675
10116
|
{
|
|
8676
10117
|
"name": "size",
|
|
@@ -8678,43 +10119,133 @@
|
|
|
8678
10119
|
"text": "'small' | 'medium' | 'large'"
|
|
8679
10120
|
},
|
|
8680
10121
|
"default": "'medium'",
|
|
8681
|
-
"description": "The
|
|
10122
|
+
"description": "The range's size.",
|
|
8682
10123
|
"fieldName": "size"
|
|
8683
10124
|
},
|
|
10125
|
+
{
|
|
10126
|
+
"name": "tooltip-placement",
|
|
10127
|
+
"type": {
|
|
10128
|
+
"text": "'top' | 'bottom' | 'none'"
|
|
10129
|
+
},
|
|
10130
|
+
"default": "'top'",
|
|
10131
|
+
"description": "The preferred placement of the range's tooltip. Use \"none\" to disable the tooltip",
|
|
10132
|
+
"fieldName": "tooltipPlacement"
|
|
10133
|
+
},
|
|
10134
|
+
{
|
|
10135
|
+
"name": "value",
|
|
10136
|
+
"description": "The current values of the input (in ascending order) as a string of space separated values",
|
|
10137
|
+
"fieldName": "value"
|
|
10138
|
+
},
|
|
8684
10139
|
{
|
|
8685
10140
|
"name": "form",
|
|
8686
10141
|
"type": {
|
|
8687
10142
|
"text": "string"
|
|
8688
10143
|
},
|
|
8689
10144
|
"default": "''",
|
|
8690
|
-
"description": "By default, form controls are associated with the nearest containing `<form>` element
|
|
10145
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element.\nThis attribute allows you to place the form control outside of a form\nand associate it with the form that has this `id`.\nThe form must be in the same document or shadow root for this to work.",
|
|
8691
10146
|
"fieldName": "form"
|
|
10147
|
+
}
|
|
10148
|
+
],
|
|
10149
|
+
"superclass": {
|
|
10150
|
+
"name": "SynergyElement",
|
|
10151
|
+
"module": "/src/internal/synergy-element.js"
|
|
10152
|
+
},
|
|
10153
|
+
"summary": "Ranges allow the user to select values within a given range using one or two thumbs.",
|
|
10154
|
+
"tagNameWithoutPrefix": "range",
|
|
10155
|
+
"tagName": "syn-range",
|
|
10156
|
+
"customElement": true,
|
|
10157
|
+
"jsDoc": "/**\n * @summary Ranges allow the user to select values within a given range using one or two thumbs.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-range--docs\n * @status stable\n *\n * @dependency syn-tooltip\n *\n * @slot label - The range's label. Alternatively, you can use the `label` attribute.\n * @slot prefix - Used to prepend a presentational icon or similar element to the range.\n * @slot suffix - Used to append a presentational icon or similar element to the range.\n * @slot help-text - Text that describes how to use the range.\n * Alternatively, you can use the `help-text` attribute.\n * @slot ticks - Used to display tick marks at specific intervals along the range.\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\n * and its constraints aren't satisfied.\n * @event syn-move - Emitted when the user moves a thumb, either via touch or keyboard.\n * Use `Event.preventDefault()` to prevent movement.\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-help-text - The help text's wrapper.\n * @csspart base - The component's base wrapper.\n * @csspart input-wrapper - The container that wraps the input track and ticks.\n * @csspart track-wrapper - The wrapper for the track.\n * @csspart track - The inactive track.\n * @csspart active-track - The active track.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart ticks - The container that wraps the tick marks.\n * @csspart thumb - The thumb(s) that the user can drag to change the range.\n *\n * @cssproperty --thumb-size - The size of a thumb.\n * @cssproperty --thumb-hit-area-size - The clickable area around the thumb.\n * Per default this is set to 140% of the thumb size. Must be a scale css value (defaults to 1.4).\n * @cssproperty --track-hit-area-size - The clickable area around the track (top and left).\n * @cssproperty --track-color-active - Color of the track representing the current value.\n * @cssproperty --track-color-inactive - Color of the track that represents the remaining value.\n * @cssproperty --track-height - The height of the track.\n * @cssproperty --track-active-offset - The point of origin of the active track,\n * starting at the left side of the range.\n */",
|
|
10158
|
+
"documentation": "https://synergy-design-system.github.io/?path=/docs/components-syn-range--docs",
|
|
10159
|
+
"status": "stable",
|
|
10160
|
+
"dependencies": [
|
|
10161
|
+
"syn-tooltip"
|
|
10162
|
+
]
|
|
10163
|
+
}
|
|
10164
|
+
],
|
|
10165
|
+
"exports": [
|
|
10166
|
+
{
|
|
10167
|
+
"kind": "js",
|
|
10168
|
+
"name": "default",
|
|
10169
|
+
"declaration": {
|
|
10170
|
+
"name": "SynRange",
|
|
10171
|
+
"module": "components/range/range.js"
|
|
10172
|
+
}
|
|
10173
|
+
}
|
|
10174
|
+
]
|
|
10175
|
+
},
|
|
10176
|
+
{
|
|
10177
|
+
"kind": "javascript-module",
|
|
10178
|
+
"path": "components/range-tick/range-tick.js",
|
|
10179
|
+
"declarations": [
|
|
10180
|
+
{
|
|
10181
|
+
"kind": "class",
|
|
10182
|
+
"description": "",
|
|
10183
|
+
"name": "SynRangeTick",
|
|
10184
|
+
"cssProperties": [
|
|
10185
|
+
{
|
|
10186
|
+
"description": "The height of the tick marker.",
|
|
10187
|
+
"name": "--tick-height"
|
|
8692
10188
|
},
|
|
8693
10189
|
{
|
|
8694
|
-
"
|
|
10190
|
+
"description": "The top offset of the tick label.",
|
|
10191
|
+
"name": "--tick-label-top"
|
|
10192
|
+
}
|
|
10193
|
+
],
|
|
10194
|
+
"cssParts": [
|
|
10195
|
+
{
|
|
10196
|
+
"description": "The component's base wrapper.",
|
|
10197
|
+
"name": "base"
|
|
10198
|
+
},
|
|
10199
|
+
{
|
|
10200
|
+
"description": "The component's label.",
|
|
10201
|
+
"name": "label"
|
|
10202
|
+
},
|
|
10203
|
+
{
|
|
10204
|
+
"description": "The component's tick line.",
|
|
10205
|
+
"name": "line"
|
|
10206
|
+
}
|
|
10207
|
+
],
|
|
10208
|
+
"slots": [
|
|
10209
|
+
{
|
|
10210
|
+
"description": "The tick's label",
|
|
10211
|
+
"name": ""
|
|
10212
|
+
}
|
|
10213
|
+
],
|
|
10214
|
+
"members": [
|
|
10215
|
+
{
|
|
10216
|
+
"kind": "field",
|
|
10217
|
+
"name": "subdivision",
|
|
8695
10218
|
"type": {
|
|
8696
10219
|
"text": "boolean"
|
|
8697
10220
|
},
|
|
8698
10221
|
"default": "false",
|
|
8699
|
-
"description": "
|
|
8700
|
-
"
|
|
10222
|
+
"description": "Whether the tick should be shown as a subdivision.",
|
|
10223
|
+
"attribute": "subdivision",
|
|
10224
|
+
"reflects": true
|
|
10225
|
+
}
|
|
10226
|
+
],
|
|
10227
|
+
"attributes": [
|
|
10228
|
+
{
|
|
10229
|
+
"name": "subdivision",
|
|
10230
|
+
"type": {
|
|
10231
|
+
"text": "boolean"
|
|
10232
|
+
},
|
|
10233
|
+
"default": "false",
|
|
10234
|
+
"description": "Whether the tick should be shown as a subdivision.",
|
|
10235
|
+
"fieldName": "subdivision"
|
|
8701
10236
|
}
|
|
8702
10237
|
],
|
|
8703
10238
|
"superclass": {
|
|
8704
10239
|
"name": "SynergyElement",
|
|
8705
10240
|
"module": "/src/internal/synergy-element.js"
|
|
8706
10241
|
},
|
|
8707
|
-
"summary": "
|
|
8708
|
-
"tagNameWithoutPrefix": "
|
|
8709
|
-
"tagName": "syn-
|
|
10242
|
+
"summary": "Ticks visually improve positioning on range sliders.",
|
|
10243
|
+
"tagNameWithoutPrefix": "range-tick",
|
|
10244
|
+
"tagName": "syn-range-tick",
|
|
8710
10245
|
"customElement": true,
|
|
8711
|
-
"jsDoc": "/**\n * @summary
|
|
8712
|
-
"documentation": "https://synergy.
|
|
8713
|
-
"status": "stable"
|
|
8714
|
-
"since": "2.0",
|
|
8715
|
-
"dependencies": [
|
|
8716
|
-
"syn-button-group"
|
|
8717
|
-
]
|
|
10246
|
+
"jsDoc": "/**\n * @summary Ticks visually improve positioning on range sliders.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-range--docs\n * @status stable\n *\n * @slot - The tick's label\n *\n * @csspart base - The component's base wrapper.\n * @csspart label - The component's label.\n * @csspart line - The component's tick line.\n *\n * @cssproperty --tick-height - The height of the tick marker.\n * @cssproperty --tick-label-top - The top offset of the tick label.\n */",
|
|
10247
|
+
"documentation": "https://synergy-design-system.github.io/?path=/docs/components-syn-range--docs",
|
|
10248
|
+
"status": "stable"
|
|
8718
10249
|
}
|
|
8719
10250
|
],
|
|
8720
10251
|
"exports": [
|
|
@@ -8722,8 +10253,8 @@
|
|
|
8722
10253
|
"kind": "js",
|
|
8723
10254
|
"name": "default",
|
|
8724
10255
|
"declaration": {
|
|
8725
|
-
"name": "
|
|
8726
|
-
"module": "components/
|
|
10256
|
+
"name": "SynRangeTick",
|
|
10257
|
+
"module": "components/range-tick/range-tick.js"
|
|
8727
10258
|
}
|
|
8728
10259
|
}
|
|
8729
10260
|
]
|
|
@@ -12562,7 +14093,7 @@
|
|
|
12562
14093
|
"package": {
|
|
12563
14094
|
"name": "@synergy-design-system/components",
|
|
12564
14095
|
"description": "",
|
|
12565
|
-
"version": "2.
|
|
14096
|
+
"version": "2.6.0",
|
|
12566
14097
|
"author": {
|
|
12567
14098
|
"name": "SICK Global UX Foundation",
|
|
12568
14099
|
"url": "https://www.sick.com"
|