@synergy-design-system/components 2.37.1 → 2.39.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.3XVUWCFY.js → chunk.2MISZWM3.js} +6 -6
- package/dist/chunks/{chunk.CIV4VLS4.js → chunk.3A5J53Q6.js} +3 -3
- package/dist/chunks/{chunk.MQFZIIMQ.js → chunk.3KLMWEEQ.js} +2 -2
- package/dist/chunks/{chunk.7RMWDEGK.js → chunk.3QLTMSVQ.js} +2 -2
- package/dist/chunks/{chunk.IE3EWUNP.js → chunk.4VB3YUMI.js} +2 -2
- package/dist/chunks/{chunk.F6LOFZID.js → chunk.5T5ZFM4K.js} +2 -2
- package/dist/chunks/{chunk.E2PFSY2N.js → chunk.6ICKBTLA.js} +4 -4
- package/dist/chunks/{chunk.6U5546YL.js → chunk.6LLD4UMP.js} +2 -2
- package/dist/chunks/{chunk.LOAC7CPZ.js → chunk.6LNO7YOX.js} +2 -2
- package/dist/chunks/{chunk.YEKH7E2W.js → chunk.7IBSSLCM.js} +2 -2
- package/dist/chunks/{chunk.7UWIR6RZ.js → chunk.ACA3IODK.js} +5 -5
- package/dist/chunks/{chunk.CBHNZRTN.js → chunk.ACKETVZW.js} +7 -7
- package/dist/chunks/{chunk.NFFX3WLE.js → chunk.AGQSPXQ5.js} +3 -3
- package/dist/chunks/{chunk.SHWHRJHV.js → chunk.AIY3IYKQ.js} +2 -2
- package/dist/chunks/{chunk.DIDAEIBH.js → chunk.AJI6CHGK.js} +2 -2
- package/dist/chunks/{chunk.3SZRFH3U.js → chunk.AMKJ43ST.js} +2 -2
- package/dist/chunks/{chunk.SGUUVU25.js → chunk.ANCFAW4O.js} +4 -4
- package/dist/chunks/{chunk.6JEXJFXS.js → chunk.AXQGD7FI.js} +2 -2
- package/dist/chunks/{chunk.E5EX7CFV.js → chunk.B6QMAV3K.js} +13 -13
- package/dist/chunks/{chunk.DZQPG6QN.js → chunk.B7RCQW6B.js} +2 -2
- package/dist/chunks/{chunk.6BQYLUG2.js → chunk.BT4JP342.js} +2 -2
- package/dist/chunks/{chunk.R26I5MHU.js → chunk.BTJLKS3J.js} +6 -6
- package/dist/chunks/{chunk.S6AC4UW6.js → chunk.BWTMFHNM.js} +19 -2
- package/dist/chunks/{chunk.S6AC4UW6.js.map → chunk.BWTMFHNM.js.map} +2 -2
- package/dist/chunks/{chunk.3VTHEZHX.js → chunk.CIDNX73S.js} +2 -2
- package/dist/chunks/{chunk.G7ZBIMR7.js → chunk.DNLDF5UT.js} +6 -6
- package/dist/chunks/{chunk.FXCJGKSB.js → chunk.DP44T25M.js} +2 -2
- package/dist/chunks/{chunk.6IGX2JHT.js → chunk.DUXL5UQG.js} +2 -2
- package/dist/chunks/{chunk.GBVNXCY4.js → chunk.EEPBPVPH.js} +6 -6
- package/dist/chunks/{chunk.6C55KROR.js → chunk.EHXGKI7G.js} +2 -2
- package/dist/chunks/{chunk.3FZH6BXS.js → chunk.ENLYTIM2.js} +2 -2
- package/dist/chunks/{chunk.ZARBJNJS.js → chunk.EWFQ4AGV.js} +2 -2
- package/dist/chunks/{chunk.LBQS4ZM3.js → chunk.FFZMSFN4.js} +2 -2
- package/dist/chunks/{chunk.K4WRGIJJ.js → chunk.FMOQVTDZ.js} +7 -7
- package/dist/chunks/{chunk.AQCJMAUJ.js → chunk.FTHKO3NA.js} +2 -2
- package/dist/chunks/{chunk.MCPILODC.js → chunk.FXF3NF2A.js} +9 -9
- package/dist/chunks/{chunk.27UINGMQ.js → chunk.GE6TF42K.js} +5 -5
- package/dist/chunks/{chunk.HMUQE7D3.js → chunk.GXGNLYPX.js} +2 -2
- package/dist/chunks/{chunk.PD7YRF7P.js → chunk.HH5B5GDU.js} +2 -2
- package/dist/chunks/{chunk.HCMRBPN3.js → chunk.HKB44BOJ.js} +6 -6
- package/dist/chunks/{chunk.TPAQSTED.js → chunk.HTYUHRNV.js} +2 -2
- package/dist/chunks/{chunk.WVJQ75VQ.js → chunk.HYYSNP2X.js} +2 -2
- package/dist/chunks/chunk.IEVIYOID.js +43 -0
- package/dist/chunks/chunk.IEVIYOID.js.map +7 -0
- package/dist/chunks/{chunk.JBK3WG4C.js → chunk.IRTPVWHU.js} +2 -2
- package/dist/chunks/{chunk.X7V4SUVW.js → chunk.JDBHRFZH.js} +2 -2
- package/dist/chunks/{chunk.IDU4OFG2.js → chunk.JMZ62FLK.js} +2 -2
- package/dist/chunks/{chunk.TFPJTKT7.js → chunk.JPRA2R4Q.js} +2 -2
- package/dist/chunks/{chunk.LWINBFKN.js → chunk.JTCT3IAB.js} +2 -2
- package/dist/chunks/{chunk.OXTYLAXL.js → chunk.JVRXSH37.js} +8 -8
- package/dist/chunks/{chunk.HTBP2NUG.js → chunk.L3SITWBM.js} +2 -2
- package/dist/chunks/{chunk.AXWQBUY7.js → chunk.LHHWSRJL.js} +9 -9
- package/dist/chunks/{chunk.EPIJTRBH.js → chunk.MILWWSWV.js} +2 -2
- package/dist/chunks/{chunk.EPIJTRBH.js.map → chunk.MILWWSWV.js.map} +1 -1
- package/dist/chunks/{chunk.LNTBVXPT.js → chunk.MJFA7UUA.js} +2 -2
- package/dist/chunks/{chunk.AGU24CSE.js → chunk.MKEKIQQZ.js} +6 -6
- package/dist/chunks/chunk.MKEKIQQZ.js.map +7 -0
- package/dist/chunks/{chunk.XAZG62LW.js → chunk.MMVNZ6SZ.js} +2 -2
- package/dist/chunks/{chunk.AAWWG74W.js → chunk.MR7IEDPC.js} +2 -2
- package/dist/chunks/{chunk.CWECIPDL.js → chunk.MSJRULQN.js} +2 -2
- package/dist/chunks/{chunk.54ASDGOT.js → chunk.MWG533EL.js} +7 -7
- package/dist/chunks/{chunk.LBP6RJGL.js → chunk.MXHSSO67.js} +2 -2
- package/dist/chunks/{chunk.ICOLLG4V.js → chunk.NCYYR6TT.js} +6 -6
- package/dist/chunks/{chunk.MV6QYN4T.js → chunk.NEROWQUF.js} +8 -8
- package/dist/chunks/{chunk.IPGLY3H4.js → chunk.OAQRCZOO.js} +2 -2
- package/dist/chunks/{chunk.IPGLY3H4.js.map → chunk.OAQRCZOO.js.map} +1 -1
- package/dist/chunks/{chunk.MMC7T4TY.js → chunk.OTRLSLEK.js} +2 -2
- package/dist/chunks/{chunk.POFCUVGH.js → chunk.OUWI6IUF.js} +2 -2
- package/dist/chunks/{chunk.FFZDMUMA.js → chunk.OXUPDGJ4.js} +3 -3
- package/dist/chunks/{chunk.TRWHTML4.js → chunk.P74L5OIJ.js} +2 -2
- package/dist/chunks/{chunk.B3GS3KJC.js → chunk.PEXJJRDM.js} +2 -2
- package/dist/chunks/{chunk.2RIZU2LR.js → chunk.PFTG553Z.js} +2 -2
- package/dist/chunks/{chunk.ZU4LZWPN.js → chunk.PQ5NGVBA.js} +2 -2
- package/dist/chunks/{chunk.N4G2EKPL.js → chunk.PVSQJRBA.js} +2 -2
- package/dist/chunks/{chunk.26VDHK5H.js → chunk.Q5TP4PGM.js} +2 -2
- package/dist/chunks/{chunk.J6S6BLAL.js → chunk.QNCFY3QL.js} +5 -5
- package/dist/chunks/{chunk.J6S6BLAL.js.map → chunk.QNCFY3QL.js.map} +1 -1
- package/dist/chunks/{chunk.RPERAB7V.js → chunk.RC75CW7X.js} +2 -2
- package/dist/chunks/{chunk.OIP6U65O.js → chunk.RRSIS7PO.js} +7 -7
- package/dist/chunks/{chunk.2W3XHZRN.js → chunk.RZXUZQ3E.js} +5 -5
- package/dist/chunks/{chunk.7CM236J2.js → chunk.S6NPNE7J.js} +6 -6
- package/dist/chunks/{chunk.7CM236J2.js.map → chunk.S6NPNE7J.js.map} +1 -1
- package/dist/chunks/{chunk.U2THY2EC.js → chunk.SEKB2UQT.js} +4 -4
- package/dist/chunks/{chunk.LTCXJO2U.js → chunk.SHB7XMYX.js} +10 -10
- package/dist/chunks/{chunk.5RFZA3GW.js → chunk.SJ2MSJHG.js} +8 -8
- package/dist/chunks/{chunk.JN35RVCG.js → chunk.SJHBJDZW.js} +2 -2
- package/dist/chunks/{chunk.H555XI72.js → chunk.SKMMTUKT.js} +3 -3
- package/dist/chunks/{chunk.HKBDNZ3H.js → chunk.TMD47FNF.js} +2 -2
- package/dist/chunks/{chunk.OG45K3PD.js → chunk.VEXR3FXP.js} +2 -2
- package/dist/chunks/{chunk.E3LLG7LR.js → chunk.VFF4K5EP.js} +6 -6
- package/dist/chunks/{chunk.QAMSIH7R.js → chunk.VG6F2R4N.js} +2 -2
- package/dist/chunks/{chunk.LP536YWY.js → chunk.VKP7VPGF.js} +2 -2
- package/dist/chunks/{chunk.V5WDWVD6.js → chunk.VYIDZXNB.js} +2 -2
- package/dist/chunks/{chunk.T24ZMOCO.js → chunk.WJX7LPPF.js} +3 -3
- package/dist/chunks/{chunk.TEJ3VQIH.js → chunk.WMP2ZCAC.js} +2 -2
- package/dist/chunks/{chunk.SYMFBJ46.js → chunk.WPFLEID5.js} +2 -2
- package/dist/chunks/{chunk.SOHFV375.js → chunk.WXFHFWIV.js} +6 -6
- package/dist/chunks/{chunk.6DYKE5RE.js → chunk.X7XPEYAM.js} +3 -2
- package/dist/chunks/{chunk.6DYKE5RE.js.map → chunk.X7XPEYAM.js.map} +2 -2
- package/dist/chunks/{chunk.E6I7NA4F.js → chunk.XGXDSUKC.js} +2 -2
- package/dist/chunks/{chunk.5WFI47D7.js → chunk.XLX5ZW4Q.js} +3 -3
- package/dist/chunks/{chunk.SA7QUVR2.js → chunk.YAO6NVQB.js} +116 -40
- package/dist/chunks/chunk.YAO6NVQB.js.map +7 -0
- package/dist/chunks/{chunk.UL4TRRNA.js → chunk.YCQWTIMU.js} +3 -3
- package/dist/chunks/{chunk.ATBHM7CE.js → chunk.YN26HJZI.js} +2 -2
- package/dist/chunks/{chunk.GH4S2NPV.js → chunk.ZAR4SQNS.js} +8 -8
- package/dist/chunks/{chunk.F5L3FKWS.js → chunk.ZC2AB2WR.js} +2 -2
- package/dist/chunks/{chunk.NP4ONPEM.js → chunk.ZQEVP3DQ.js} +6 -6
- package/dist/components/accordion/accordion.component.js +3 -3
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/alert/alert.component.js +9 -9
- package/dist/components/alert/alert.js +10 -10
- package/dist/components/badge/badge.component.js +6 -6
- package/dist/components/badge/badge.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.js +8 -8
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +7 -7
- package/dist/components/button/button.js +8 -8
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +4 -4
- package/dist/components/checkbox/checkbox.js +5 -5
- package/dist/components/combobox/combobox.component.d.ts +24 -3
- package/dist/components/combobox/combobox.component.js +10 -10
- package/dist/components/combobox/combobox.custom.styles.js +1 -1
- package/dist/components/combobox/combobox.js +11 -11
- package/dist/components/combobox/utils.d.ts +13 -0
- package/dist/components/combobox/utils.js +5 -1
- package/dist/components/details/details.component.js +6 -6
- package/dist/components/details/details.js +7 -7
- package/dist/components/dialog/dialog.component.js +7 -7
- package/dist/components/dialog/dialog.js +8 -8
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +7 -7
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.component.js +5 -5
- package/dist/components/dropdown/dropdown.js +6 -6
- package/dist/components/file/file.component.js +8 -8
- package/dist/components/file/file.js +9 -9
- package/dist/components/header/header.component.js +6 -6
- package/dist/components/header/header.js +7 -7
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +4 -4
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/input/input.component.js +7 -7
- package/dist/components/input/input.js +8 -8
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/menu-label/menu-label.component.js +3 -3
- package/dist/components/menu-label/menu-label.js +4 -4
- package/dist/components/nav-item/nav-item.component.js +4 -4
- package/dist/components/nav-item/nav-item.js +5 -5
- package/dist/components/optgroup/optgroup.component.js +3 -3
- package/dist/components/optgroup/optgroup.js +4 -4
- package/dist/components/option/option.component.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/popup/popup.component.js +4 -4
- package/dist/components/popup/popup.js +5 -5
- package/dist/components/prio-nav/prio-nav.component.js +10 -10
- package/dist/components/prio-nav/prio-nav.js +11 -11
- package/dist/components/progress-bar/progress-bar.component.js +4 -4
- package/dist/components/progress-bar/progress-bar.js +5 -5
- package/dist/components/progress-ring/progress-ring.component.js +4 -4
- package/dist/components/progress-ring/progress-ring.js +5 -5
- package/dist/components/radio/radio.component.d.ts +1 -1
- package/dist/components/radio/radio.component.js +4 -4
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio-button/radio-button.component.d.ts +1 -1
- package/dist/components/radio-button/radio-button.component.js +3 -3
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-group/radio-group.component.d.ts +2 -2
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +7 -7
- package/dist/components/range/range.js +8 -8
- package/dist/components/range-tick/range-tick.component.js +2 -2
- package/dist/components/range-tick/range-tick.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/select/select.component.js +9 -9
- package/dist/components/select/select.js +10 -10
- package/dist/components/side-nav/side-nav.component.js +10 -10
- package/dist/components/side-nav/side-nav.js +11 -11
- package/dist/components/spinner/spinner.component.js +4 -4
- package/dist/components/spinner/spinner.js +5 -5
- package/dist/components/switch/switch.component.js +3 -3
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/tab/tab.component.js +7 -7
- package/dist/components/tab/tab.js +8 -8
- package/dist/components/tab-group/tab-group.component.js +8 -8
- package/dist/components/tab-group/tab-group.js +9 -9
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +7 -7
- package/dist/components/tag/tag.js +8 -8
- package/dist/components/textarea/textarea.component.js +3 -3
- package/dist/components/textarea/textarea.js +4 -4
- package/dist/components/tooltip/tooltip.component.js +5 -5
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/validate/utility.js +2 -2
- package/dist/components/validate/validate.component.js +11 -11
- package/dist/components/validate/validate.js +12 -12
- package/dist/custom-elements.json +154 -90
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +110 -110
- package/dist/translations/de.js +4 -3
- package/dist/translations/de.js.map +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/utilities/localize.d.ts +1 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +29 -24
- package/package.json +4 -4
- package/dist/chunks/chunk.AGU24CSE.js.map +0 -7
- package/dist/chunks/chunk.EWVMF6KH.js +0 -23
- package/dist/chunks/chunk.EWVMF6KH.js.map +0 -7
- package/dist/chunks/chunk.SA7QUVR2.js.map +0 -7
- /package/dist/chunks/{chunk.3XVUWCFY.js.map → chunk.2MISZWM3.js.map} +0 -0
- /package/dist/chunks/{chunk.CIV4VLS4.js.map → chunk.3A5J53Q6.js.map} +0 -0
- /package/dist/chunks/{chunk.MQFZIIMQ.js.map → chunk.3KLMWEEQ.js.map} +0 -0
- /package/dist/chunks/{chunk.7RMWDEGK.js.map → chunk.3QLTMSVQ.js.map} +0 -0
- /package/dist/chunks/{chunk.IE3EWUNP.js.map → chunk.4VB3YUMI.js.map} +0 -0
- /package/dist/chunks/{chunk.F6LOFZID.js.map → chunk.5T5ZFM4K.js.map} +0 -0
- /package/dist/chunks/{chunk.E2PFSY2N.js.map → chunk.6ICKBTLA.js.map} +0 -0
- /package/dist/chunks/{chunk.6U5546YL.js.map → chunk.6LLD4UMP.js.map} +0 -0
- /package/dist/chunks/{chunk.LOAC7CPZ.js.map → chunk.6LNO7YOX.js.map} +0 -0
- /package/dist/chunks/{chunk.YEKH7E2W.js.map → chunk.7IBSSLCM.js.map} +0 -0
- /package/dist/chunks/{chunk.7UWIR6RZ.js.map → chunk.ACA3IODK.js.map} +0 -0
- /package/dist/chunks/{chunk.CBHNZRTN.js.map → chunk.ACKETVZW.js.map} +0 -0
- /package/dist/chunks/{chunk.NFFX3WLE.js.map → chunk.AGQSPXQ5.js.map} +0 -0
- /package/dist/chunks/{chunk.SHWHRJHV.js.map → chunk.AIY3IYKQ.js.map} +0 -0
- /package/dist/chunks/{chunk.DIDAEIBH.js.map → chunk.AJI6CHGK.js.map} +0 -0
- /package/dist/chunks/{chunk.3SZRFH3U.js.map → chunk.AMKJ43ST.js.map} +0 -0
- /package/dist/chunks/{chunk.SGUUVU25.js.map → chunk.ANCFAW4O.js.map} +0 -0
- /package/dist/chunks/{chunk.6JEXJFXS.js.map → chunk.AXQGD7FI.js.map} +0 -0
- /package/dist/chunks/{chunk.E5EX7CFV.js.map → chunk.B6QMAV3K.js.map} +0 -0
- /package/dist/chunks/{chunk.DZQPG6QN.js.map → chunk.B7RCQW6B.js.map} +0 -0
- /package/dist/chunks/{chunk.6BQYLUG2.js.map → chunk.BT4JP342.js.map} +0 -0
- /package/dist/chunks/{chunk.R26I5MHU.js.map → chunk.BTJLKS3J.js.map} +0 -0
- /package/dist/chunks/{chunk.3VTHEZHX.js.map → chunk.CIDNX73S.js.map} +0 -0
- /package/dist/chunks/{chunk.G7ZBIMR7.js.map → chunk.DNLDF5UT.js.map} +0 -0
- /package/dist/chunks/{chunk.FXCJGKSB.js.map → chunk.DP44T25M.js.map} +0 -0
- /package/dist/chunks/{chunk.6IGX2JHT.js.map → chunk.DUXL5UQG.js.map} +0 -0
- /package/dist/chunks/{chunk.GBVNXCY4.js.map → chunk.EEPBPVPH.js.map} +0 -0
- /package/dist/chunks/{chunk.6C55KROR.js.map → chunk.EHXGKI7G.js.map} +0 -0
- /package/dist/chunks/{chunk.3FZH6BXS.js.map → chunk.ENLYTIM2.js.map} +0 -0
- /package/dist/chunks/{chunk.ZARBJNJS.js.map → chunk.EWFQ4AGV.js.map} +0 -0
- /package/dist/chunks/{chunk.LBQS4ZM3.js.map → chunk.FFZMSFN4.js.map} +0 -0
- /package/dist/chunks/{chunk.K4WRGIJJ.js.map → chunk.FMOQVTDZ.js.map} +0 -0
- /package/dist/chunks/{chunk.AQCJMAUJ.js.map → chunk.FTHKO3NA.js.map} +0 -0
- /package/dist/chunks/{chunk.MCPILODC.js.map → chunk.FXF3NF2A.js.map} +0 -0
- /package/dist/chunks/{chunk.27UINGMQ.js.map → chunk.GE6TF42K.js.map} +0 -0
- /package/dist/chunks/{chunk.HMUQE7D3.js.map → chunk.GXGNLYPX.js.map} +0 -0
- /package/dist/chunks/{chunk.PD7YRF7P.js.map → chunk.HH5B5GDU.js.map} +0 -0
- /package/dist/chunks/{chunk.HCMRBPN3.js.map → chunk.HKB44BOJ.js.map} +0 -0
- /package/dist/chunks/{chunk.TPAQSTED.js.map → chunk.HTYUHRNV.js.map} +0 -0
- /package/dist/chunks/{chunk.WVJQ75VQ.js.map → chunk.HYYSNP2X.js.map} +0 -0
- /package/dist/chunks/{chunk.JBK3WG4C.js.map → chunk.IRTPVWHU.js.map} +0 -0
- /package/dist/chunks/{chunk.X7V4SUVW.js.map → chunk.JDBHRFZH.js.map} +0 -0
- /package/dist/chunks/{chunk.IDU4OFG2.js.map → chunk.JMZ62FLK.js.map} +0 -0
- /package/dist/chunks/{chunk.TFPJTKT7.js.map → chunk.JPRA2R4Q.js.map} +0 -0
- /package/dist/chunks/{chunk.LWINBFKN.js.map → chunk.JTCT3IAB.js.map} +0 -0
- /package/dist/chunks/{chunk.OXTYLAXL.js.map → chunk.JVRXSH37.js.map} +0 -0
- /package/dist/chunks/{chunk.HTBP2NUG.js.map → chunk.L3SITWBM.js.map} +0 -0
- /package/dist/chunks/{chunk.AXWQBUY7.js.map → chunk.LHHWSRJL.js.map} +0 -0
- /package/dist/chunks/{chunk.LNTBVXPT.js.map → chunk.MJFA7UUA.js.map} +0 -0
- /package/dist/chunks/{chunk.XAZG62LW.js.map → chunk.MMVNZ6SZ.js.map} +0 -0
- /package/dist/chunks/{chunk.AAWWG74W.js.map → chunk.MR7IEDPC.js.map} +0 -0
- /package/dist/chunks/{chunk.CWECIPDL.js.map → chunk.MSJRULQN.js.map} +0 -0
- /package/dist/chunks/{chunk.54ASDGOT.js.map → chunk.MWG533EL.js.map} +0 -0
- /package/dist/chunks/{chunk.LBP6RJGL.js.map → chunk.MXHSSO67.js.map} +0 -0
- /package/dist/chunks/{chunk.ICOLLG4V.js.map → chunk.NCYYR6TT.js.map} +0 -0
- /package/dist/chunks/{chunk.MV6QYN4T.js.map → chunk.NEROWQUF.js.map} +0 -0
- /package/dist/chunks/{chunk.MMC7T4TY.js.map → chunk.OTRLSLEK.js.map} +0 -0
- /package/dist/chunks/{chunk.POFCUVGH.js.map → chunk.OUWI6IUF.js.map} +0 -0
- /package/dist/chunks/{chunk.FFZDMUMA.js.map → chunk.OXUPDGJ4.js.map} +0 -0
- /package/dist/chunks/{chunk.TRWHTML4.js.map → chunk.P74L5OIJ.js.map} +0 -0
- /package/dist/chunks/{chunk.B3GS3KJC.js.map → chunk.PEXJJRDM.js.map} +0 -0
- /package/dist/chunks/{chunk.2RIZU2LR.js.map → chunk.PFTG553Z.js.map} +0 -0
- /package/dist/chunks/{chunk.ZU4LZWPN.js.map → chunk.PQ5NGVBA.js.map} +0 -0
- /package/dist/chunks/{chunk.N4G2EKPL.js.map → chunk.PVSQJRBA.js.map} +0 -0
- /package/dist/chunks/{chunk.26VDHK5H.js.map → chunk.Q5TP4PGM.js.map} +0 -0
- /package/dist/chunks/{chunk.RPERAB7V.js.map → chunk.RC75CW7X.js.map} +0 -0
- /package/dist/chunks/{chunk.OIP6U65O.js.map → chunk.RRSIS7PO.js.map} +0 -0
- /package/dist/chunks/{chunk.2W3XHZRN.js.map → chunk.RZXUZQ3E.js.map} +0 -0
- /package/dist/chunks/{chunk.U2THY2EC.js.map → chunk.SEKB2UQT.js.map} +0 -0
- /package/dist/chunks/{chunk.LTCXJO2U.js.map → chunk.SHB7XMYX.js.map} +0 -0
- /package/dist/chunks/{chunk.5RFZA3GW.js.map → chunk.SJ2MSJHG.js.map} +0 -0
- /package/dist/chunks/{chunk.JN35RVCG.js.map → chunk.SJHBJDZW.js.map} +0 -0
- /package/dist/chunks/{chunk.H555XI72.js.map → chunk.SKMMTUKT.js.map} +0 -0
- /package/dist/chunks/{chunk.HKBDNZ3H.js.map → chunk.TMD47FNF.js.map} +0 -0
- /package/dist/chunks/{chunk.OG45K3PD.js.map → chunk.VEXR3FXP.js.map} +0 -0
- /package/dist/chunks/{chunk.E3LLG7LR.js.map → chunk.VFF4K5EP.js.map} +0 -0
- /package/dist/chunks/{chunk.QAMSIH7R.js.map → chunk.VG6F2R4N.js.map} +0 -0
- /package/dist/chunks/{chunk.LP536YWY.js.map → chunk.VKP7VPGF.js.map} +0 -0
- /package/dist/chunks/{chunk.V5WDWVD6.js.map → chunk.VYIDZXNB.js.map} +0 -0
- /package/dist/chunks/{chunk.T24ZMOCO.js.map → chunk.WJX7LPPF.js.map} +0 -0
- /package/dist/chunks/{chunk.TEJ3VQIH.js.map → chunk.WMP2ZCAC.js.map} +0 -0
- /package/dist/chunks/{chunk.SYMFBJ46.js.map → chunk.WPFLEID5.js.map} +0 -0
- /package/dist/chunks/{chunk.SOHFV375.js.map → chunk.WXFHFWIV.js.map} +0 -0
- /package/dist/chunks/{chunk.E6I7NA4F.js.map → chunk.XGXDSUKC.js.map} +0 -0
- /package/dist/chunks/{chunk.5WFI47D7.js.map → chunk.XLX5ZW4Q.js.map} +0 -0
- /package/dist/chunks/{chunk.UL4TRRNA.js.map → chunk.YCQWTIMU.js.map} +0 -0
- /package/dist/chunks/{chunk.ATBHM7CE.js.map → chunk.YN26HJZI.js.map} +0 -0
- /package/dist/chunks/{chunk.GH4S2NPV.js.map → chunk.ZAR4SQNS.js.map} +0 -0
- /package/dist/chunks/{chunk.F5L3FKWS.js.map → chunk.ZC2AB2WR.js.map} +0 -0
- /package/dist/chunks/{chunk.NP4ONPEM.js.map → chunk.ZQEVP3DQ.js.map} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/radio-group/radio-group.component.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport {\n customErrorValidityState,\n FormControlController,\n validValidityState,\n valueMissingValidityState\n} from '../../internal/form.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport formControlStyles from '../../styles/form-control.styles.js';\nimport formControlCustomStyles from '../../styles/form-control.custom.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynButtonGroup from '../button-group/button-group.component.js';\nimport styles from './radio-group.styles.js';\nimport customStyles from './radio-group.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport type { SynergyFormControl } from '../../internal/synergy-element.js';\nimport type SynRadio from '../radio/radio.js';\nimport type SynRadioButton from '../radio-button/radio-button.js';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\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-design-system.github.io/?path=/docs/components-syn-radio-group--docs\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 */\n@enableDefaultSettings('SynRadioGroup')\nexport default class SynRadioGroup extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [componentStyles, formControlStyles, styles, formControlCustomStyles, customStyles];\n static dependencies = { 'syn-button-group': SynButtonGroup };\n\n protected readonly formControlController = new FormControlController(this);\n private readonly hasSlotController = new HasSlotController(this, 'help-text', 'label');\n private customValidityMessage = '';\n private validationTimeout: number;\n\n @query('slot:not([name])') defaultSlot: HTMLSlotElement;\n @query('.radio-group__validation-input') validationInput: HTMLInputElement;\n\n @state() private hasButtonGroup = false;\n @state() private errorMessage = '';\n @state() defaultValue: string | number = '';\n\n /**\n * The radio group's label. Required for proper accessibility. If you need to display HTML, use the `label` slot\n * instead.\n */\n @property() label = '';\n\n /** The radio groups's help text. If you need to display HTML, use the `help-text` slot instead. */\n @property({ attribute: 'help-text' }) helpText = '';\n\n /** The name of the radio group, submitted as a name/value pair with form data. */\n @property() name = 'option';\n\n /** The current value of the radio group, submitted as a name/value pair with form data. */\n @property({ reflect: true }) value: string | number = '';\n\n /** The radio group's size. This size will be applied to all child radios and radio buttons. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /**\n * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\n * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in\n * the same document or shadow root for this to work.\n */\n @property({ reflect: true }) form = '';\n\n /** Ensures a child radio is checked before allowing the containing form to submit. */\n @property({ type: Boolean, reflect: true }) required = false;\n\n /** Gets the validity state object */\n get validity() {\n const isRequiredAndEmpty = this.required && !this.value;\n const hasCustomValidityMessage = this.customValidityMessage !== '';\n\n if (hasCustomValidityMessage) {\n return customErrorValidityState;\n } else if (isRequiredAndEmpty) {\n return valueMissingValidityState;\n }\n\n return validValidityState;\n }\n\n /** Gets the validation message */\n get validationMessage() {\n const isRequiredAndEmpty = this.required && !this.value;\n const hasCustomValidityMessage = this.customValidityMessage !== '';\n\n if (hasCustomValidityMessage) {\n return this.customValidityMessage;\n } else if (isRequiredAndEmpty) {\n return this.validationInput.validationMessage;\n }\n\n return '';\n }\n\n connectedCallback() {\n super.connectedCallback();\n this.defaultValue = this.value;\n }\n\n firstUpdated() {\n this.formControlController.updateValidity();\n }\n\n private getAllRadios() {\n return [...this.querySelectorAll<SynRadio | SynRadioButton>('syn-radio, syn-radio-button')];\n }\n\n private handleRadioClick(event: MouseEvent) {\n const target = (event.target as HTMLElement).closest<SynRadio | SynRadioButton>('syn-radio, syn-radio-button')!;\n const radios = this.getAllRadios();\n const oldValue = this.value;\n\n if (!target || target.disabled) {\n return;\n }\n\n this.value = target.value;\n radios.forEach(radio => (radio.checked = radio === target));\n\n if (this.value !== oldValue) {\n this.emit('syn-change');\n this.emit('syn-input');\n }\n }\n\n private handleKeyDown(event: KeyboardEvent) {\n if (!['ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', ' '].includes(event.key)) {\n return;\n }\n\n const radios = this.getAllRadios().filter(radio => !radio.disabled);\n const checkedRadio = radios.find(radio => radio.checked) ?? radios[0];\n const incr = event.key === ' ' ? 0 : ['ArrowUp', 'ArrowLeft'].includes(event.key) ? -1 : 1;\n const oldValue = this.value;\n let index = radios.indexOf(checkedRadio) + incr;\n\n if (index < 0) {\n index = radios.length - 1;\n }\n\n if (index > radios.length - 1) {\n index = 0;\n }\n\n this.getAllRadios().forEach(radio => {\n radio.checked = false;\n\n if (!this.hasButtonGroup) {\n radio.setAttribute('tabindex', '-1');\n }\n });\n\n this.value = radios[index].value;\n radios[index].checked = true;\n\n if (!this.hasButtonGroup) {\n radios[index].setAttribute('tabindex', '0');\n radios[index].focus();\n } else {\n radios[index].shadowRoot!.querySelector('button')!.focus();\n }\n\n if (this.value !== oldValue) {\n this.emit('syn-change');\n this.emit('syn-input');\n }\n\n event.preventDefault();\n }\n\n private handleLabelClick() {\n this.focus();\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n private async syncRadioElements() {\n const radios = this.getAllRadios();\n\n await Promise.all(\n // Sync the checked state and size\n radios.map(async radio => {\n await radio.updateComplete;\n radio.checked = radio.value === this.value;\n radio.size = this.size;\n })\n );\n\n this.hasButtonGroup = radios.some(radio => radio.tagName.toLowerCase() === 'syn-radio-button');\n\n if (radios.length > 0 && !radios.some(radio => radio.checked)) {\n if (this.hasButtonGroup) {\n const buttonRadio = radios[0].shadowRoot?.querySelector('button');\n\n if (buttonRadio) {\n buttonRadio.setAttribute('tabindex', '0');\n }\n } else {\n radios[0].setAttribute('tabindex', '0');\n }\n }\n\n if (this.hasButtonGroup) {\n const buttonGroup = this.shadowRoot?.querySelector('syn-button-group');\n\n if (buttonGroup) {\n buttonGroup.disableRole = true;\n }\n }\n }\n\n private syncRadios() {\n if (customElements.get('syn-radio') && customElements.get('syn-radio-button')) {\n this.syncRadioElements();\n return;\n }\n\n if (customElements.get('syn-radio')) {\n this.syncRadioElements();\n } else {\n customElements.whenDefined('syn-radio').then(() => this.syncRadios());\n }\n\n if (customElements.get('syn-radio-button')) {\n this.syncRadioElements();\n } else {\n // Rerun this handler when <syn-radio> or <syn-radio-button> is registered\n customElements.whenDefined('syn-radio-button').then(() => this.syncRadios());\n }\n }\n\n private updateCheckedRadio() {\n const radios = this.getAllRadios();\n radios.forEach(radio => (radio.checked = radio.value === this.value));\n this.formControlController.setValidity(this.validity.valid);\n }\n\n @watch('size', { waitUntilFirstUpdate: true })\n handleSizeChange() {\n this.syncRadios();\n }\n\n @watch('value')\n handleValueChange() {\n if (this.hasUpdated) {\n this.updateCheckedRadio();\n }\n }\n\n /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */\n checkValidity() {\n const isRequiredAndEmpty = this.required && !this.value;\n const hasCustomValidityMessage = this.customValidityMessage !== '';\n\n if (isRequiredAndEmpty || hasCustomValidityMessage) {\n this.formControlController.emitInvalidEvent();\n return false;\n }\n\n return true;\n }\n\n /** Gets the associated form, if one exists. */\n getForm(): HTMLFormElement | null {\n return this.formControlController.getForm();\n }\n\n /** Checks for validity and shows the browser's validation message if the control is invalid. */\n reportValidity(): boolean {\n const isValid = this.validity.valid;\n\n this.errorMessage = this.customValidityMessage || isValid ? '' : this.validationInput.validationMessage;\n this.formControlController.setValidity(isValid);\n this.validationInput.hidden = true;\n clearTimeout(this.validationTimeout);\n\n if (!isValid) {\n // Show the browser's constraint validation message\n this.validationInput.hidden = false;\n this.validationInput.reportValidity();\n this.validationTimeout = setTimeout(() => (this.validationInput.hidden = true), 10000) as unknown as number;\n }\n\n return isValid;\n }\n\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message = '') {\n this.customValidityMessage = message;\n this.errorMessage = message;\n this.validationInput.setCustomValidity(message);\n this.formControlController.updateValidity();\n }\n\n /** Sets focus on the radio-group. */\n public focus(options?: FocusOptions) {\n const radios = this.getAllRadios();\n const checked = radios.find(radio => radio.checked);\n const firstEnabledRadio = radios.find(radio => !radio.disabled);\n const radioToFocus = checked || firstEnabledRadio;\n\n // Call focus for the checked radio\n // If no radio is checked, focus the first one that is not disabled\n if (radioToFocus) {\n radioToFocus.focus(options);\n }\n }\n\n render() {\n const hasLabelSlot = this.hasSlotController.test('label');\n const hasHelpTextSlot = this.hasSlotController.test('help-text');\n const hasLabel = this.label ? true : !!hasLabelSlot;\n const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;\n const defaultSlot = html`\n <slot @slotchange=${this.syncRadios} @click=${this.handleRadioClick} @keydown=${this.handleKeyDown}></slot>\n `;\n\n return html`\n <fieldset\n part=\"form-control\"\n class=${classMap({\n 'form-control': true,\n 'form-control--small': this.size === 'small',\n 'form-control--medium': this.size === 'medium',\n 'form-control--large': this.size === 'large',\n 'form-control--radio-group': true,\n 'form-control--has-label': hasLabel,\n 'form-control--has-help-text': hasHelpText\n })}\n role=\"radiogroup\"\n aria-labelledby=\"label\"\n aria-describedby=\"help-text\"\n aria-errormessage=\"error-message\"\n >\n <label\n part=\"form-control-label\"\n id=\"label\"\n class=\"form-control__label\"\n aria-hidden=${hasLabel ? 'false' : 'true'}\n @click=${this.handleLabelClick}\n >\n <slot name=\"label\">${this.label}</slot>\n </label>\n\n <div part=\"form-control-input\" class=\"form-control-input\">\n <div class=\"visually-hidden\">\n <div id=\"error-message\" aria-live=\"assertive\">${this.errorMessage}</div>\n <label class=\"radio-group__validation\">\n <input\n type=\"text\"\n class=\"radio-group__validation-input\"\n ?required=${this.required}\n tabindex=\"-1\"\n hidden\n @invalid=${this.handleInvalid}\n />\n </label>\n </div>\n\n ${this.hasButtonGroup\n ? html`\n <syn-button-group part=\"button-group\" exportparts=\"base:button-group__base\" role=\"presentation\">\n ${defaultSlot}\n </syn-button-group>\n `\n : defaultSlot}\n </div>\n\n <div\n part=\"form-control-help-text\"\n id=\"help-text\"\n class=\"form-control__help-text\"\n aria-hidden=${hasHelpText ? 'false' : 'true'}\n >\n <slot name=\"help-text\">${this.helpText}</slot>\n </div>\n </fieldset>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AAQzB,SAAS,YAAY;AACrB,SAAS,UAAU,OAAO,aAAa;AAwCvC,IAAqB,g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chunk.WJX7LPPF.js";
|
|
4
4
|
|
|
5
5
|
// src/components/progress-bar/progress-bar.ts
|
|
6
6
|
var progress_bar_default = SynProgressBar;
|
|
@@ -9,4 +9,4 @@ SynProgressBar.define("syn-progress-bar");
|
|
|
9
9
|
export {
|
|
10
10
|
progress_bar_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.MMVNZ6SZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDetails
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ACKETVZW.js";
|
|
4
4
|
|
|
5
5
|
// src/components/details/details.ts
|
|
6
6
|
var details_default = SynDetails;
|
|
@@ -9,4 +9,4 @@ SynDetails.define("syn-details");
|
|
|
9
9
|
export {
|
|
10
10
|
details_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.MR7IEDPC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynPrioNav
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.RRSIS7PO.js";
|
|
4
4
|
|
|
5
5
|
// src/components/prio-nav/prio-nav.ts
|
|
6
6
|
var prio_nav_default = SynPrioNav;
|
|
@@ -9,4 +9,4 @@ SynPrioNav.define("syn-prio-nav");
|
|
|
9
9
|
export {
|
|
10
10
|
prio_nav_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.MSJRULQN.js.map
|
|
@@ -3,25 +3,25 @@ import {
|
|
|
3
3
|
isBlurEvent,
|
|
4
4
|
isInvalidEvent,
|
|
5
5
|
normalizeEventAttribute
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.RC75CW7X.js";
|
|
7
7
|
import {
|
|
8
8
|
validate_styles_default
|
|
9
9
|
} from "./chunk.MVM3NN6Y.js";
|
|
10
10
|
import {
|
|
11
11
|
SynAlert
|
|
12
|
-
} from "./chunk.
|
|
13
|
-
import {
|
|
14
|
-
watch
|
|
15
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
12
|
+
} from "./chunk.B6QMAV3K.js";
|
|
16
13
|
import {
|
|
17
14
|
enableDefaultSettings
|
|
18
15
|
} from "./chunk.E5UUNP6E.js";
|
|
16
|
+
import {
|
|
17
|
+
watch
|
|
18
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
19
19
|
import {
|
|
20
20
|
component_styles_default
|
|
21
21
|
} from "./chunk.NLYVOJGK.js";
|
|
22
22
|
import {
|
|
23
23
|
SynergyElement
|
|
24
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.MILWWSWV.js";
|
|
25
25
|
import {
|
|
26
26
|
__decorateClass
|
|
27
27
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -330,4 +330,4 @@ SynValidate = __decorateClass([
|
|
|
330
330
|
export {
|
|
331
331
|
SynValidate
|
|
332
332
|
};
|
|
333
|
-
//# sourceMappingURL=chunk.
|
|
333
|
+
//# sourceMappingURL=chunk.MWG533EL.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynOptgroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.YCQWTIMU.js";
|
|
4
4
|
|
|
5
5
|
// src/components/optgroup/optgroup.ts
|
|
6
6
|
var optgroup_default = SynOptgroup;
|
|
@@ -9,4 +9,4 @@ SynOptgroup.define("syn-optgroup");
|
|
|
9
9
|
export {
|
|
10
10
|
optgroup_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.MXHSSO67.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk.WXVOTRW5.js";
|
|
17
17
|
import {
|
|
18
18
|
SynIconButton
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.AGQSPXQ5.js";
|
|
20
20
|
import {
|
|
21
21
|
waitForEvent
|
|
22
22
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -31,18 +31,18 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
HasSlotController
|
|
33
33
|
} from "./chunk.WVVQK5TE.js";
|
|
34
|
+
import {
|
|
35
|
+
LocalizeController
|
|
36
|
+
} from "./chunk.OAQRCZOO.js";
|
|
34
37
|
import {
|
|
35
38
|
watch
|
|
36
39
|
} from "./chunk.BVZQ6QSY.js";
|
|
37
|
-
import {
|
|
38
|
-
LocalizeController
|
|
39
|
-
} from "./chunk.IPGLY3H4.js";
|
|
40
40
|
import {
|
|
41
41
|
component_styles_default
|
|
42
42
|
} from "./chunk.NLYVOJGK.js";
|
|
43
43
|
import {
|
|
44
44
|
SynergyElement
|
|
45
|
-
} from "./chunk.
|
|
45
|
+
} from "./chunk.MILWWSWV.js";
|
|
46
46
|
import {
|
|
47
47
|
__decorateClass
|
|
48
48
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -407,4 +407,4 @@ setDefaultAnimation("drawer.overlay.hide", {
|
|
|
407
407
|
export {
|
|
408
408
|
SynDrawer
|
|
409
409
|
};
|
|
410
|
-
//# sourceMappingURL=chunk.
|
|
410
|
+
//# sourceMappingURL=chunk.NCYYR6TT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSpinner
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.3A5J53Q6.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlController,
|
|
6
6
|
validValidityState
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
} from "./chunk.WVVQK5TE.js";
|
|
18
18
|
import {
|
|
19
19
|
SynIcon
|
|
20
|
-
} from "./chunk.
|
|
21
|
-
import {
|
|
22
|
-
watch
|
|
23
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
20
|
+
} from "./chunk.WMP2ZCAC.js";
|
|
24
21
|
import {
|
|
25
22
|
LocalizeController
|
|
26
|
-
} from "./chunk.
|
|
23
|
+
} from "./chunk.OAQRCZOO.js";
|
|
27
24
|
import {
|
|
28
25
|
enableDefaultSettings
|
|
29
26
|
} from "./chunk.E5UUNP6E.js";
|
|
27
|
+
import {
|
|
28
|
+
watch
|
|
29
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
30
30
|
import {
|
|
31
31
|
component_styles_default
|
|
32
32
|
} from "./chunk.NLYVOJGK.js";
|
|
33
33
|
import {
|
|
34
34
|
SynergyElement
|
|
35
|
-
} from "./chunk.
|
|
35
|
+
} from "./chunk.MILWWSWV.js";
|
|
36
36
|
import {
|
|
37
37
|
__decorateClass
|
|
38
38
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -295,4 +295,4 @@ SynButton = __decorateClass([
|
|
|
295
295
|
export {
|
|
296
296
|
SynButton
|
|
297
297
|
};
|
|
298
|
-
//# sourceMappingURL=chunk.
|
|
298
|
+
//# sourceMappingURL=chunk.NEROWQUF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
en_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.X7XPEYAM.js";
|
|
4
4
|
|
|
5
5
|
// src/utilities/localize.ts
|
|
6
6
|
import { LocalizeController as DefaultLocalizationController, registerTranslation } from "@shoelace-style/localize";
|
|
@@ -13,4 +13,4 @@ export {
|
|
|
13
13
|
LocalizeController,
|
|
14
14
|
registerTranslation2 as registerTranslation
|
|
15
15
|
};
|
|
16
|
-
//# sourceMappingURL=chunk.
|
|
16
|
+
//# sourceMappingURL=chunk.OAQRCZOO.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/utilities/localize.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { LocalizeController as DefaultLocalizationController, registerTranslation } from '@shoelace-style/localize';\nimport en from '../translations/en.js'; // Register English as the default/fallback language\nimport type { Translation as DefaultTranslation } from '@shoelace-style/localize';\n\n// Extend the controller and apply our own translation interface for better typings\nexport class LocalizeController extends DefaultLocalizationController<Translation> {\n // Technicallly '../translations/en.js' is supposed to work via side-effects. However, by some mystery sometimes the\n // translations don't get bundled as expected resulting in `no translation found` errors.\n // This is basically some extra assurance that our translations get registered prior to our localizer connecting in a component\n // and we don't rely on implicit import ordering.\n static {\n registerTranslation(en);\n }\n}\n\n// Export functions from the localize lib so we have one central place to import them from\nexport { registerTranslation } from '@shoelace-style/localize';\n\nexport interface Translation extends DefaultTranslation {\n closeMenu: string;\n danger: string;\n fileButtonText: string;\n fileButtonTextMultiple: string;\n fileDragDrop: string;\n folderButtonText: string;\n folderDragDrop: string;\n menu: string;\n notification: string;\n numFilesSelected: (num: number, dir: boolean) => string;\n openMenu: string;\n rangeMax: string;\n rangeMin: string;\n sideNav: string;\n sideNavHide: string;\n sideNavShow: string;\n success: string;\n warning: string;\n\n $code: string; // e.g. en, en-GB\n $name: string; // e.g. English, Espa\u00F1ol\n $dir: 'ltr' | 'rtl';\n\n carousel: string;\n clearEntry: string;\n close: string;\n copied: string;\n copy: string;\n currentValue: string;\n error: string;\n goToSlide: (slide: number, count: number) => string;\n hidePassword: string;\n loading: string;\n nextSlide: string;\n numOptionsSelected: (num: number) => string;\n previousSlide: string;\n progress: string;\n remove: string;\n resize: string;\n scrollToEnd: string;\n scrollToStart: string;\n selectAColorFromTheScreen: string;\n showPassword: string;\n slideNum: (slide: number) => string;\n toggleColorFormat: string;\n}\n"],
|
|
4
|
+
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { LocalizeController as DefaultLocalizationController, registerTranslation } from '@shoelace-style/localize';\nimport en from '../translations/en.js'; // Register English as the default/fallback language\nimport type { Translation as DefaultTranslation } from '@shoelace-style/localize';\n\n// Extend the controller and apply our own translation interface for better typings\nexport class LocalizeController extends DefaultLocalizationController<Translation> {\n // Technicallly '../translations/en.js' is supposed to work via side-effects. However, by some mystery sometimes the\n // translations don't get bundled as expected resulting in `no translation found` errors.\n // This is basically some extra assurance that our translations get registered prior to our localizer connecting in a component\n // and we don't rely on implicit import ordering.\n static {\n registerTranslation(en);\n }\n}\n\n// Export functions from the localize lib so we have one central place to import them from\nexport { registerTranslation } from '@shoelace-style/localize';\n\nexport interface Translation extends DefaultTranslation {\n closeMenu: string;\n danger: string;\n fileButtonText: string;\n fileButtonTextMultiple: string;\n fileDragDrop: string;\n folderButtonText: string;\n folderDragDrop: string;\n menu: string;\n noResults: string;\n notification: string;\n numFilesSelected: (num: number, dir: boolean) => string;\n openMenu: string;\n rangeMax: string;\n rangeMin: string;\n sideNav: string;\n sideNavHide: string;\n sideNavShow: string;\n success: string;\n warning: string;\n\n $code: string; // e.g. en, en-GB\n $name: string; // e.g. English, Espa\u00F1ol\n $dir: 'ltr' | 'rtl';\n\n carousel: string;\n clearEntry: string;\n close: string;\n copied: string;\n copy: string;\n currentValue: string;\n error: string;\n goToSlide: (slide: number, count: number) => string;\n hidePassword: string;\n loading: string;\n nextSlide: string;\n numOptionsSelected: (num: number) => string;\n previousSlide: string;\n progress: string;\n remove: string;\n resize: string;\n scrollToEnd: string;\n scrollToStart: string;\n selectAColorFromTheScreen: string;\n showPassword: string;\n slideNum: (slide: number) => string;\n toggleColorFormat: string;\n}\n"],
|
|
5
5
|
"mappings": ";;;;;AAQA,SAAS,sBAAsB,+BAA+B,2BAA2B;AAgBzF,SAAS,uBAAAA,4BAA2B;AAX7B,IAAM,qBAAN,cAAiC,8BAA2C;AAQnF;AAFI,oBAAoB,UAAE;",
|
|
6
6
|
"names": ["registerTranslation"]
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSwitch
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.RZXUZQ3E.js";
|
|
4
4
|
|
|
5
5
|
// src/components/switch/switch.ts
|
|
6
6
|
var switch_default = SynSwitch;
|
|
@@ -9,4 +9,4 @@ SynSwitch.define("syn-switch");
|
|
|
9
9
|
export {
|
|
10
10
|
switch_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.OTRLSLEK.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.NLYVOJGK.js";
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.MILWWSWV.js";
|
|
13
13
|
import {
|
|
14
14
|
__decorateClass
|
|
15
15
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -78,4 +78,4 @@ __decorateClass([
|
|
|
78
78
|
export {
|
|
79
79
|
SynResizeObserver
|
|
80
80
|
};
|
|
81
|
-
//# sourceMappingURL=chunk.
|
|
81
|
+
//# sourceMappingURL=chunk.OUWI6IUF.js.map
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./chunk.X6GR6IA2.js";
|
|
7
7
|
import {
|
|
8
8
|
SynDivider
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.DUXL5UQG.js";
|
|
10
10
|
import {
|
|
11
11
|
component_styles_default
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.MILWWSWV.js";
|
|
16
16
|
|
|
17
17
|
// src/components/menu-label/menu-label.component.ts
|
|
18
18
|
import { html } from "lit";
|
|
@@ -34,4 +34,4 @@ SynMenuLabel.dependencies = {
|
|
|
34
34
|
export {
|
|
35
35
|
SynMenuLabel
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk.
|
|
37
|
+
//# sourceMappingURL=chunk.OXUPDGJ4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSpinner
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.3A5J53Q6.js";
|
|
4
4
|
|
|
5
5
|
// src/components/spinner/spinner.ts
|
|
6
6
|
var spinner_default = SynSpinner;
|
|
@@ -9,4 +9,4 @@ SynSpinner.define("syn-spinner");
|
|
|
9
9
|
export {
|
|
10
10
|
spinner_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.P74L5OIJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTab
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.DNLDF5UT.js";
|
|
4
4
|
|
|
5
5
|
// src/components/tab/tab.ts
|
|
6
6
|
var tab_default = SynTab;
|
|
@@ -9,4 +9,4 @@ SynTab.define("syn-tab");
|
|
|
9
9
|
export {
|
|
10
10
|
tab_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.PEXJJRDM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.LHHWSRJL.js";
|
|
4
4
|
|
|
5
5
|
// src/components/select/select.ts
|
|
6
6
|
var select_default = SynSelect;
|
|
@@ -9,4 +9,4 @@ SynSelect.define("syn-select");
|
|
|
9
9
|
export {
|
|
10
10
|
select_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.PFTG553Z.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.NLYVOJGK.js";
|
|
7
7
|
import {
|
|
8
8
|
SynergyElement
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.MILWWSWV.js";
|
|
10
10
|
import {
|
|
11
11
|
__decorateClass
|
|
12
12
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -48,4 +48,4 @@ __decorateClass([
|
|
|
48
48
|
export {
|
|
49
49
|
SynRangeTick
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=chunk.
|
|
51
|
+
//# sourceMappingURL=chunk.PQ5NGVBA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenuItem
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.JVRXSH37.js";
|
|
4
4
|
|
|
5
5
|
// src/components/menu-item/menu-item.ts
|
|
6
6
|
var menu_item_default = SynMenuItem;
|
|
@@ -9,4 +9,4 @@ SynMenuItem.define("syn-menu-item");
|
|
|
9
9
|
export {
|
|
10
10
|
menu_item_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.PVSQJRBA.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.NLYVOJGK.js";
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.MILWWSWV.js";
|
|
13
13
|
import {
|
|
14
14
|
__decorateClass
|
|
15
15
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -160,4 +160,4 @@ __decorateClass([
|
|
|
160
160
|
export {
|
|
161
161
|
SynMenu
|
|
162
162
|
};
|
|
163
|
-
//# sourceMappingURL=chunk.
|
|
163
|
+
//# sourceMappingURL=chunk.Q5TP4PGM.js.map
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
HasSlotController
|
|
6
6
|
} from "./chunk.WVVQK5TE.js";
|
|
7
|
-
import {
|
|
8
|
-
watch
|
|
9
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
10
7
|
import {
|
|
11
8
|
enableDefaultSettings
|
|
12
9
|
} from "./chunk.E5UUNP6E.js";
|
|
10
|
+
import {
|
|
11
|
+
watch
|
|
12
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
13
13
|
import {
|
|
14
14
|
component_styles_default
|
|
15
15
|
} from "./chunk.NLYVOJGK.js";
|
|
16
16
|
import {
|
|
17
17
|
SynergyElement
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.MILWWSWV.js";
|
|
19
19
|
import {
|
|
20
20
|
__decorateClass
|
|
21
21
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -138,4 +138,4 @@ SynRadioButton = __decorateClass([
|
|
|
138
138
|
export {
|
|
139
139
|
SynRadioButton
|
|
140
140
|
};
|
|
141
|
-
//# sourceMappingURL=chunk.
|
|
141
|
+
//# sourceMappingURL=chunk.QNCFY3QL.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/components/radio-button/radio-button.component.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit/static-html.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './radio-button.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Radios buttons allow the user to select a single option from a group using a button-like control.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-radio-button--docs\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 */\n@enableDefaultSettings('SynRadioButton')\nexport default class SynRadioButton extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n private readonly hasSlotController = new HasSlotController(this, '[default]', 'prefix', 'suffix');\n\n @query('.button') input: HTMLInputElement;\n @query('.hidden-input') hiddenInput: HTMLInputElement;\n\n @state() protected hasFocus = false;\n\n /**\n * @internal The radio button's checked state. This is exposed as an \"internal\" attribute so we can reflect it, making\n * it easier to style in button groups.\n */\n @property({ type: Boolean, reflect: true }) checked = false;\n\n /** The radio's value. When selected, the radio group will receive this value. */\n @property() value: string;\n\n /** Disables the radio button. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /**\n * The radio button's size. When used inside a radio group, the size will be determined by the radio group's size so\n * this attribute can typically be omitted.\n */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Draws a pill-style radio button with rounded edges. */\n @property({ type: Boolean, reflect: true }) pill = false;\n\n connectedCallback() {\n super.connectedCallback();\n this.setAttribute('role', 'presentation');\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleClick(e: MouseEvent) {\n if (this.disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n\n this.checked = true;\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n /** Sets focus on the radio button. */\n focus(options?: FocusOptions) {\n this.input.focus(options);\n }\n\n /** Removes focus from the radio button. */\n blur() {\n this.input.blur();\n }\n\n render() {\n return html`\n <div part=\"base\" role=\"presentation\">\n <button\n part=\"${`button${this.checked ? ' button--checked' : ''}`}\"\n role=\"radio\"\n aria-checked=\"${this.checked}\"\n class=${classMap({\n button: true,\n 'button--default': true,\n 'button--small': this.size === 'small',\n 'button--medium': this.size === 'medium',\n 'button--large': this.size === 'large',\n 'button--checked': this.checked,\n 'button--disabled': this.disabled,\n 'button--focused': this.hasFocus,\n 'button--outline': true,\n 'button--pill': this.pill,\n 'button--has-label': this.hasSlotController.test('[default]'),\n 'button--has-prefix': this.hasSlotController.test('prefix'),\n 'button--has-suffix': this.hasSlotController.test('suffix')\n })}\n aria-disabled=${this.disabled}\n type=\"button\"\n value=${ifDefined(this.value)}\n @blur=${this.handleBlur}\n @focus=${this.handleFocus}\n @click=${this.handleClick}\n >\n <slot name=\"prefix\" part=\"prefix\" class=\"button__prefix\"></slot>\n <slot part=\"label\" class=\"button__label\"></slot>\n <slot name=\"suffix\" part=\"suffix\" class=\"button__suffix\"></slot>\n </button>\n </div>\n `;\n }\n}\n"],
|
|
4
|
+
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit/static-html.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './radio-button.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Radios buttons allow the user to select a single option from a group using a button-like control.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-radio-button--docs\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 */\n@enableDefaultSettings('SynRadioButton')\nexport default class SynRadioButton extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n private readonly hasSlotController = new HasSlotController(this, '[default]', 'prefix', 'suffix');\n\n @query('.button') input: HTMLInputElement;\n @query('.hidden-input') hiddenInput: HTMLInputElement;\n\n @state() protected hasFocus = false;\n\n /**\n * @internal The radio button's checked state. This is exposed as an \"internal\" attribute so we can reflect it, making\n * it easier to style in button groups.\n */\n @property({ type: Boolean, reflect: true }) checked = false;\n\n /** The radio's value. When selected, the radio group will receive this value. */\n @property() value: string | number;\n\n /** Disables the radio button. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /**\n * The radio button's size. When used inside a radio group, the size will be determined by the radio group's size so\n * this attribute can typically be omitted.\n */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Draws a pill-style radio button with rounded edges. */\n @property({ type: Boolean, reflect: true }) pill = false;\n\n connectedCallback() {\n super.connectedCallback();\n this.setAttribute('role', 'presentation');\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleClick(e: MouseEvent) {\n if (this.disabled) {\n e.preventDefault();\n e.stopPropagation();\n return;\n }\n\n this.checked = true;\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n /** Sets focus on the radio button. */\n focus(options?: FocusOptions) {\n this.input.focus(options);\n }\n\n /** Removes focus from the radio button. */\n blur() {\n this.input.blur();\n }\n\n render() {\n return html`\n <div part=\"base\" role=\"presentation\">\n <button\n part=\"${`button${this.checked ? ' button--checked' : ''}`}\"\n role=\"radio\"\n aria-checked=\"${this.checked}\"\n class=${classMap({\n button: true,\n 'button--default': true,\n 'button--small': this.size === 'small',\n 'button--medium': this.size === 'medium',\n 'button--large': this.size === 'large',\n 'button--checked': this.checked,\n 'button--disabled': this.disabled,\n 'button--focused': this.hasFocus,\n 'button--outline': true,\n 'button--pill': this.pill,\n 'button--has-label': this.hasSlotController.test('[default]'),\n 'button--has-prefix': this.hasSlotController.test('prefix'),\n 'button--has-suffix': this.hasSlotController.test('suffix')\n })}\n aria-disabled=${this.disabled}\n type=\"button\"\n value=${ifDefined(this.value)}\n @blur=${this.handleBlur}\n @focus=${this.handleFocus}\n @click=${this.handleClick}\n >\n <slot name=\"prefix\" part=\"prefix\" class=\"button__prefix\"></slot>\n <slot part=\"label\" class=\"button__label\"></slot>\n <slot name=\"suffix\" part=\"suffix\" class=\"button__suffix\"></slot>\n </button>\n </div>\n `;\n }\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAC1B,SAAS,UAAU,OAAO,aAAa;AA6BvC,IAAqB,iBAArB,cAA4C,eAAe;AAAA,EAA3D;AAAA;AAGE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,UAAU,QAAQ;AAKvF,SAAU,WAAW;AAMc,mBAAU;AAMV,oBAAW;AAM1B,gBAAqC;AAGtB,g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,KAAK,CAAC;AAAA,kBACrB,KAAK,UAAU;AAAA,mBACd,KAAK,WAAW;AAAA,mBAChB,KAAK,WAAW;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQjC;AACF;AA3GqB,eACZ,SAAyB,CAAC,0BAAiB,2BAAM;AAItC;AAAA,EAAjB,MAAM,SAAS;AAAA,GALG,eAKD;AACM;AAAA,EAAvB,MAAM,eAAe;AAAA,GANH,eAMK;AAEL;AAAA,EAAlB,MAAM;AAAA,GARY,eAQA;AAMyB;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAdvB,eAcyB;AAGhC;AAAA,EAAX,SAAS;AAAA,GAjBS,eAiBP;AAGgC;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GApBvB,eAoByB;AAMf;AAAA,EAA5B,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GA1BR,eA0BU;AAGe;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GA7BvB,eA6ByB;AA4B5C;AAAA,EADC,MAAM,YAAY,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAxD9B,eAyDnB;AAzDmB,iBAArB;AAAA,EADC,sBAAsB,gBAAgB;AAAA,GAClB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynergyElement
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.MILWWSWV.js";
|
|
4
4
|
|
|
5
5
|
// src/components/validate/utility.ts
|
|
6
6
|
var WhitelistedSynergyFormEventNames = [
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
normalizeEventAttribute,
|
|
34
34
|
getEventNameForElement
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk.
|
|
36
|
+
//# sourceMappingURL=chunk.RC75CW7X.js.map
|
|
@@ -9,25 +9,25 @@ import {
|
|
|
9
9
|
} from "./chunk.OJ3N7TWP.js";
|
|
10
10
|
import {
|
|
11
11
|
SynNavItem
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.SEKB2UQT.js";
|
|
13
13
|
import {
|
|
14
14
|
SynMenu
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.Q5TP4PGM.js";
|
|
16
16
|
import {
|
|
17
17
|
SynDropdown
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.ZQEVP3DQ.js";
|
|
19
19
|
import {
|
|
20
20
|
SynIcon
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.WMP2ZCAC.js";
|
|
22
22
|
import {
|
|
23
23
|
LocalizeController
|
|
24
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.OAQRCZOO.js";
|
|
25
25
|
import {
|
|
26
26
|
component_styles_default
|
|
27
27
|
} from "./chunk.NLYVOJGK.js";
|
|
28
28
|
import {
|
|
29
29
|
SynergyElement
|
|
30
|
-
} from "./chunk.
|
|
30
|
+
} from "./chunk.MILWWSWV.js";
|
|
31
31
|
import {
|
|
32
32
|
__decorateClass
|
|
33
33
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -209,4 +209,4 @@ __decorateClass([
|
|
|
209
209
|
export {
|
|
210
210
|
SynPrioNav
|
|
211
211
|
};
|
|
212
|
-
//# sourceMappingURL=chunk.
|
|
212
|
+
//# sourceMappingURL=chunk.RRSIS7PO.js.map
|
|
@@ -17,18 +17,18 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
HasSlotController
|
|
19
19
|
} from "./chunk.WVVQK5TE.js";
|
|
20
|
-
import {
|
|
21
|
-
watch
|
|
22
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
23
20
|
import {
|
|
24
21
|
enableDefaultSettings
|
|
25
22
|
} from "./chunk.E5UUNP6E.js";
|
|
23
|
+
import {
|
|
24
|
+
watch
|
|
25
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
26
26
|
import {
|
|
27
27
|
component_styles_default
|
|
28
28
|
} from "./chunk.NLYVOJGK.js";
|
|
29
29
|
import {
|
|
30
30
|
SynergyElement
|
|
31
|
-
} from "./chunk.
|
|
31
|
+
} from "./chunk.MILWWSWV.js";
|
|
32
32
|
import {
|
|
33
33
|
__decorateClass
|
|
34
34
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -255,4 +255,4 @@ SynSwitch = __decorateClass([
|
|
|
255
255
|
export {
|
|
256
256
|
SynSwitch
|
|
257
257
|
};
|
|
258
|
-
//# sourceMappingURL=chunk.
|
|
258
|
+
//# sourceMappingURL=chunk.RZXUZQ3E.js.map
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
} from "./chunk.EHSNF4SS.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIcon
|
|
9
|
-
} from "./chunk.
|
|
10
|
-
import {
|
|
11
|
-
watch
|
|
12
|
-
} from "./chunk.BVZQ6QSY.js";
|
|
9
|
+
} from "./chunk.WMP2ZCAC.js";
|
|
13
10
|
import {
|
|
14
11
|
enableDefaultSettings
|
|
15
12
|
} from "./chunk.E5UUNP6E.js";
|
|
13
|
+
import {
|
|
14
|
+
watch
|
|
15
|
+
} from "./chunk.BVZQ6QSY.js";
|
|
16
16
|
import {
|
|
17
17
|
component_styles_default
|
|
18
18
|
} from "./chunk.NLYVOJGK.js";
|
|
19
19
|
import {
|
|
20
20
|
SynergyElement
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.MILWWSWV.js";
|
|
22
22
|
import {
|
|
23
23
|
__decorateClass
|
|
24
24
|
} from "./chunk.Z4XV3SMG.js";
|
|
@@ -120,4 +120,4 @@ SynRadio = __decorateClass([
|
|
|
120
120
|
export {
|
|
121
121
|
SynRadio
|
|
122
122
|
};
|
|
123
|
-
//# sourceMappingURL=chunk.
|
|
123
|
+
//# sourceMappingURL=chunk.S6NPNE7J.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/components/radio/radio.component.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIcon from '../icon/icon.component.js';\nimport styles from './radio.styles.js';\nimport customStyles from './radio.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Radios allow the user to select a single option from a group.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-radio--docs\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 */\n@enableDefaultSettings('SynRadio')\nexport default class SynRadio extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon': SynIcon };\n\n @state() checked = false;\n @state() protected hasFocus = false;\n\n /** The radio's value. When selected, the radio group will receive this value. */\n @property() value: string;\n\n /**\n * The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\n * attribute can typically be omitted.\n */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Disables the radio. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n constructor() {\n super();\n this.addEventListener('blur', this.handleBlur);\n this.addEventListener('click', this.handleClick);\n this.addEventListener('focus', this.handleFocus);\n }\n\n connectedCallback() {\n super.connectedCallback();\n this.setInitialAttributes();\n }\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.emit('syn-blur');\n };\n\n private handleClick = () => {\n if (!this.disabled) {\n this.checked = true;\n }\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.emit('syn-focus');\n };\n\n private setInitialAttributes() {\n this.setAttribute('role', 'radio');\n this.setAttribute('tabindex', '-1');\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n @watch('checked')\n handleCheckedChange() {\n this.setAttribute('aria-checked', this.checked ? 'true' : 'false');\n this.setAttribute('tabindex', this.checked ? '0' : '-1');\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n render() {\n return html`\n <span\n part=\"base\"\n class=${classMap({\n radio: true,\n 'radio--checked': this.checked,\n 'radio--disabled': this.disabled,\n 'radio--focused': this.hasFocus,\n 'radio--small': this.size === 'small',\n 'radio--medium': this.size === 'medium',\n 'radio--large': this.size === 'large'\n })}\n >\n <span part=\"${`control${this.checked ? ' control--checked' : ''}`}\" class=\"radio__control\">\n ${this.checked\n ? html` <syn-icon part=\"checked-icon\" class=\"radio__checked-icon\" library=\"system\" name=\"radio\"></syn-icon> `\n : ''}\n </span>\n\n <slot part=\"label\" class=\"radio__label\"></slot>\n </span>\n `;\n }\n}\n"],
|
|
4
|
+
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { property, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIcon from '../icon/icon.component.js';\nimport styles from './radio.styles.js';\nimport customStyles from './radio.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Radios allow the user to select a single option from a group.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-radio--docs\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 */\n@enableDefaultSettings('SynRadio')\nexport default class SynRadio extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon': SynIcon };\n\n @state() checked = false;\n @state() protected hasFocus = false;\n\n /** The radio's value. When selected, the radio group will receive this value. */\n @property() value: string | number;\n\n /**\n * The radio's size. When used inside a radio group, the size will be determined by the radio group's size so this\n * attribute can typically be omitted.\n */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Disables the radio. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n constructor() {\n super();\n this.addEventListener('blur', this.handleBlur);\n this.addEventListener('click', this.handleClick);\n this.addEventListener('focus', this.handleFocus);\n }\n\n connectedCallback() {\n super.connectedCallback();\n this.setInitialAttributes();\n }\n\n private handleBlur = () => {\n this.hasFocus = false;\n this.emit('syn-blur');\n };\n\n private handleClick = () => {\n if (!this.disabled) {\n this.checked = true;\n }\n };\n\n private handleFocus = () => {\n this.hasFocus = true;\n this.emit('syn-focus');\n };\n\n private setInitialAttributes() {\n this.setAttribute('role', 'radio');\n this.setAttribute('tabindex', '-1');\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n @watch('checked')\n handleCheckedChange() {\n this.setAttribute('aria-checked', this.checked ? 'true' : 'false');\n this.setAttribute('tabindex', this.checked ? '0' : '-1');\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n render() {\n return html`\n <span\n part=\"base\"\n class=${classMap({\n radio: true,\n 'radio--checked': this.checked,\n 'radio--disabled': this.disabled,\n 'radio--focused': this.hasFocus,\n 'radio--small': this.size === 'small',\n 'radio--medium': this.size === 'medium',\n 'radio--large': this.size === 'large'\n })}\n >\n <span part=\"${`control${this.checked ? ' control--checked' : ''}`}\" class=\"radio__control\">\n ${this.checked\n ? html` <syn-icon part=\"checked-icon\" class=\"radio__checked-icon\" library=\"system\" name=\"radio\"></syn-icon> `\n : ''}\n </span>\n\n <slot part=\"label\" class=\"radio__label\"></slot>\n </span>\n `;\n }\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,UAAU,aAAa;AA8BhC,IAAqB,WAArB,cAAsC,eAAe;AAAA,EAmBnD,cAAc;AACZ,UAAM;AAhBC,mBAAU;AACV,SAAU,WAAW;AASD,gBAAqC;AAGtB,oBAAW;AAcvD,SAAQ,aAAa,MAAM;AACzB,WAAK,WAAW;AAChB,WAAK,KAAK,UAAU;AAAA,IACtB;AAEA,SAAQ,cAAc,MAAM;AAC1B,UAAI,CAAC,KAAK,UAAU;AAClB,aAAK,UAAU;AAAA,MACjB;AAAA,IACF;AAEA,SAAQ,cAAc,MAAM;AAC1B,WAAK,WAAW;AAChB,WAAK,KAAK,WAAW;AAAA,IACvB;AAxBE,SAAK,iBAAiB,QAAQ,KAAK,UAAU;AAC7C,SAAK,iBAAiB,SAAS,KAAK,WAAW;AAC/C,SAAK,iBAAiB,SAAS,KAAK,WAAW;A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