@synergy-design-system/components 2.20.0-settings.1 → 2.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{chunk.742PBV5R.js → chunk.2BWRXKN2.js} +8 -14
- package/dist/chunks/chunk.2BWRXKN2.js.map +7 -0
- package/dist/chunks/{chunk.JBLFNOCX.js → chunk.2IVNHVMH.js} +37 -35
- package/dist/chunks/chunk.2IVNHVMH.js.map +7 -0
- package/dist/chunks/{chunk.POGMEL53.js → chunk.2MDGY2UP.js} +10 -3
- package/dist/chunks/chunk.2MDGY2UP.js.map +7 -0
- package/dist/chunks/{chunk.WLHRVKAR.js → chunk.2RO5SDFI.js} +2 -2
- package/dist/chunks/{chunk.IBQDKFYH.js → chunk.2TG4SORD.js} +72 -48
- package/dist/chunks/chunk.2TG4SORD.js.map +7 -0
- package/dist/chunks/{chunk.B2WOBIWW.js → chunk.2UVFBYRY.js} +2 -2
- package/dist/chunks/{chunk.UY5AOQHP.js → chunk.3PLJRLWU.js} +2 -2
- package/dist/chunks/{chunk.Q33XUREM.js → chunk.3UADS2FG.js} +2 -2
- package/dist/chunks/{chunk.QWMAKCAT.js → chunk.4DPLWNXK.js} +2 -2
- package/dist/chunks/{chunk.XDM6VD32.js → chunk.4WRP75PK.js} +2 -2
- package/dist/chunks/{chunk.DYUCTKM6.js → chunk.52LV42QJ.js} +2 -2
- package/dist/chunks/{chunk.VL74BJLP.js → chunk.6SX6G2R5.js} +2 -2
- package/dist/chunks/{chunk.EBYGA33B.js → chunk.76VMRLB3.js} +2 -2
- package/dist/chunks/{chunk.Z4OFLKEQ.js → chunk.7QSI2KTA.js} +2 -2
- package/dist/chunks/{chunk.XSS62TBI.js → chunk.ABFTGQIG.js} +2 -2
- package/dist/chunks/{chunk.HNVPPNYZ.js → chunk.ADPRVKM4.js} +2 -2
- package/dist/chunks/{chunk.A2JLMFJ4.js → chunk.AYGM4AMZ.js} +2 -2
- package/dist/chunks/{chunk.53THUSDO.js → chunk.BCJDEKZV.js} +2 -2
- package/dist/chunks/{chunk.BJTRYICX.js → chunk.BN3TNJKZ.js} +2 -2
- package/dist/chunks/{chunk.BPZOCAHJ.js → chunk.BNFIYDZO.js} +2 -2
- package/dist/chunks/{chunk.4ZPJSGD5.js → chunk.BRJMFR3A.js} +2 -2
- package/dist/chunks/{chunk.EVECGQOP.js → chunk.BYCL2SI7.js} +4 -10
- package/dist/chunks/chunk.BYCL2SI7.js.map +7 -0
- package/dist/chunks/{chunk.7NZ7JAEV.js → chunk.C7WDSHTE.js} +2 -2
- package/dist/chunks/{chunk.7XMTQ7P7.js → chunk.CK64L7GU.js} +3 -3
- package/dist/chunks/{chunk.JHPSR3AP.js → chunk.D2AMFNCW.js} +2 -2
- package/dist/chunks/{chunk.TXQLKFUU.js → chunk.D3QHOCYT.js} +3 -9
- package/dist/chunks/chunk.D3QHOCYT.js.map +7 -0
- package/dist/chunks/{chunk.UYGCYMDS.js → chunk.DN2RWBXM.js} +2 -2
- package/dist/chunks/{chunk.PDAOZ7HN.js → chunk.DSTRFXMO.js} +2 -2
- package/dist/chunks/{chunk.E72GLNXI.js → chunk.DYUWNUJK.js} +2 -2
- package/dist/chunks/{chunk.LYMHXGME.js → chunk.E6XELP7N.js} +2 -2
- package/dist/chunks/{chunk.UXHC3W5U.js → chunk.EAFPSNLJ.js} +6 -6
- package/dist/chunks/{chunk.Z2PVOPJK.js → chunk.EFPAPHDN.js} +3 -9
- package/dist/chunks/chunk.EFPAPHDN.js.map +7 -0
- package/dist/chunks/{chunk.PLSOGFSX.js → chunk.EHRE7REF.js} +2 -2
- package/dist/chunks/{chunk.BO7VIZR3.js → chunk.FIYONEFX.js} +8 -14
- package/dist/chunks/chunk.FIYONEFX.js.map +7 -0
- package/dist/chunks/{chunk.NL4FKYIJ.js → chunk.GFMUULQR.js} +2 -2
- package/dist/chunks/{chunk.P5XIUYNV.js → chunk.GLD3DYFW.js} +2 -2
- package/dist/chunks/{chunk.XP47Y2SU.js → chunk.HDAUY6QG.js} +2 -2
- package/dist/chunks/{chunk.MDG7KZFO.js → chunk.HMVKM2LC.js} +2 -2
- package/dist/chunks/{chunk.FLB37Q2Y.js → chunk.I4PP7TTT.js} +6 -6
- package/dist/chunks/{chunk.VKRMYKYH.js → chunk.II2KA3OR.js} +10 -4
- package/dist/chunks/chunk.II2KA3OR.js.map +7 -0
- package/dist/chunks/{chunk.HPQBH3O2.js → chunk.IOP352J7.js} +2 -2
- package/dist/chunks/{chunk.MKQXTHWU.js → chunk.JHSYQUJH.js} +2 -2
- package/dist/chunks/{chunk.MKQXTHWU.js.map → chunk.JHSYQUJH.js.map} +1 -1
- package/dist/chunks/{chunk.HZ3S4J3T.js → chunk.JRBHRPZR.js} +2 -2
- package/dist/chunks/{chunk.7467Z6PG.js → chunk.JWKGHB3O.js} +2 -2
- package/dist/chunks/{chunk.24C4XJAI.js → chunk.K2HEGEPX.js} +3 -9
- package/dist/chunks/chunk.K2HEGEPX.js.map +7 -0
- package/dist/chunks/{chunk.QMVBPAZF.js → chunk.KFBZFX3D.js} +2 -2
- package/dist/chunks/{chunk.ST3V3ZVP.js → chunk.KKX6OV4A.js} +2 -2
- package/dist/chunks/{chunk.YTMSHKEA.js → chunk.LFTDPRZJ.js} +10 -10
- package/dist/chunks/{chunk.SXFIFBVM.js → chunk.LGJ6I7QC.js} +4 -10
- package/dist/chunks/chunk.LGJ6I7QC.js.map +7 -0
- package/dist/chunks/{chunk.OFA3YJLS.js → chunk.LVNDSKZE.js} +2 -2
- package/dist/chunks/{chunk.Y4EGILWE.js → chunk.MN76TCGZ.js} +2 -2
- package/dist/chunks/{chunk.JNAG6IBY.js → chunk.MPPVRHYV.js} +2 -2
- package/dist/chunks/{chunk.XMSHEZ3R.js → chunk.NDXLRMDA.js} +2 -2
- package/dist/chunks/{chunk.AQS4YK7Q.js → chunk.NHQHD65V.js} +2 -2
- package/dist/chunks/{chunk.Y334QFFZ.js → chunk.NIYWCDQQ.js} +7 -7
- package/dist/chunks/{chunk.LZ27X5R6.js → chunk.NOWXA25R.js} +2 -2
- package/dist/chunks/{chunk.LYNLLR54.js → chunk.NUOEVS57.js} +9 -9
- package/dist/chunks/{chunk.EMGPXY5T.js → chunk.O2E77ZO7.js} +2 -2
- package/dist/chunks/{chunk.XY3WHMD7.js → chunk.O4OYBWOG.js} +2 -2
- package/dist/chunks/{chunk.XCILIICJ.js → chunk.PLGBAAOJ.js} +8 -14
- package/dist/chunks/chunk.PLGBAAOJ.js.map +7 -0
- package/dist/chunks/{chunk.DERBT2MN.js → chunk.PMILVAQ7.js} +8 -14
- package/dist/chunks/chunk.PMILVAQ7.js.map +7 -0
- package/dist/chunks/{chunk.NUCBTPTS.js → chunk.QA7VKYYH.js} +8 -14
- package/dist/chunks/chunk.QA7VKYYH.js.map +7 -0
- package/dist/chunks/{chunk.S7PAQRVY.js → chunk.RODVBLTN.js} +7 -7
- package/dist/chunks/{chunk.TL5RQ2KH.js → chunk.RS7QM77K.js} +2 -2
- package/dist/chunks/{chunk.EMU2E2VE.js → chunk.RTK2527V.js} +3 -9
- package/dist/chunks/{chunk.EMU2E2VE.js.map → chunk.RTK2527V.js.map} +2 -2
- package/dist/chunks/{chunk.HCMNEIRN.js → chunk.RXNHONDB.js} +6 -6
- package/dist/chunks/{chunk.BWESHYBN.js → chunk.SG4JU5HT.js} +2 -2
- package/dist/chunks/{chunk.WLYLSH3H.js → chunk.SGW6T6AH.js} +2 -2
- package/dist/chunks/{chunk.7Y7O45CM.js → chunk.SMOCJ6CY.js} +2 -8
- package/dist/chunks/chunk.SMOCJ6CY.js.map +7 -0
- package/dist/chunks/{chunk.VOOMTA4X.js → chunk.SUUQ7PWG.js} +2 -2
- package/dist/chunks/{chunk.VLE3Q74Y.js → chunk.SVAYQQEQ.js} +2 -2
- package/dist/chunks/{chunk.MGET4VXP.js → chunk.TBZ4NGLX.js} +2 -2
- package/dist/chunks/{chunk.SYWSXUHZ.js → chunk.TNR3DRP2.js} +2 -2
- package/dist/chunks/{chunk.T53XYA43.js → chunk.TVG3CB4W.js} +2 -8
- package/dist/chunks/chunk.TVG3CB4W.js.map +7 -0
- package/dist/chunks/{chunk.4AKA2QRO.js → chunk.TWUIL4KN.js} +2 -2
- package/dist/chunks/{chunk.ZDIDYG6H.js → chunk.U3QINJJN.js} +2 -2
- package/dist/chunks/{chunk.24DN2XDS.js → chunk.UAH335JY.js} +7 -13
- package/dist/chunks/chunk.UAH335JY.js.map +7 -0
- package/dist/chunks/{chunk.5EGFFSLN.js → chunk.UBS3CSG4.js} +2 -2
- package/dist/chunks/{chunk.5EGFFSLN.js.map → chunk.UBS3CSG4.js.map} +1 -1
- package/dist/chunks/{chunk.SNHVIH7F.js → chunk.UD7TMIOI.js} +2 -2
- package/dist/chunks/{chunk.SKA5Y7HA.js → chunk.UI3JVXJO.js} +3 -3
- package/dist/chunks/{chunk.7LASULTQ.js → chunk.UTLJPCF6.js} +2 -2
- package/dist/chunks/{chunk.BA7XLIED.js → chunk.UVY2BCUE.js} +3 -9
- package/dist/chunks/{chunk.BA7XLIED.js.map → chunk.UVY2BCUE.js.map} +2 -2
- package/dist/chunks/{chunk.J53UXHXV.js → chunk.VDR7MHDJ.js} +2 -2
- package/dist/chunks/{chunk.O7JPMKUW.js → chunk.VNVGDBIY.js} +8 -14
- package/dist/chunks/chunk.VNVGDBIY.js.map +7 -0
- package/dist/chunks/{chunk.LHNUNBCA.js → chunk.VRIWW3IQ.js} +2 -2
- package/dist/chunks/{chunk.3HW4J22U.js → chunk.VSXPNDRV.js} +5 -5
- package/dist/chunks/{chunk.AS3TB27D.js → chunk.W4SGQB3N.js} +7 -7
- package/dist/chunks/{chunk.R2HFUCJI.js → chunk.WBYNKJUU.js} +18 -24
- package/dist/chunks/chunk.WBYNKJUU.js.map +7 -0
- package/dist/chunks/{chunk.NM5EI7ZH.js → chunk.WDWOLLU7.js} +2 -2
- package/dist/chunks/{chunk.WMUMEYQJ.js → chunk.WSN5XASN.js} +6 -6
- package/dist/chunks/{chunk.NN73HBIU.js → chunk.WYXCB5I5.js} +6 -6
- package/dist/chunks/{chunk.NN73HBIU.js.map → chunk.WYXCB5I5.js.map} +2 -2
- package/dist/chunks/{chunk.YQLTFWYX.js → chunk.XFWY2BGU.js} +2 -2
- package/dist/chunks/{chunk.N54SVWTA.js → chunk.YBDH432U.js} +2 -2
- package/dist/chunks/{chunk.SWUXKALS.js → chunk.YNJ5L3DR.js} +2 -2
- package/dist/chunks/{chunk.2QFNK7XL.js → chunk.YNWZ5ZFI.js} +2 -2
- package/dist/chunks/{chunk.IFWSRMUK.js → chunk.YQZ2UGG3.js} +2 -2
- package/dist/chunks/{chunk.FAREQGAK.js → chunk.ZK2J5LTO.js} +2 -2
- package/dist/chunks/{chunk.AIQ3EJZY.js → chunk.ZR6W46YN.js} +2 -8
- package/dist/chunks/chunk.ZR6W46YN.js.map +7 -0
- package/dist/chunks/{chunk.7EYHNKMM.js → chunk.ZXWHFKUE.js} +3 -3
- package/dist/components/accordion/accordion.component.js +3 -6
- package/dist/components/accordion/accordion.js +4 -7
- package/dist/components/alert/alert.component.d.ts +2 -0
- package/dist/components/alert/alert.component.js +9 -12
- package/dist/components/alert/alert.js +10 -13
- package/dist/components/badge/badge.component.js +4 -7
- package/dist/components/badge/badge.js +5 -8
- 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 +8 -11
- package/dist/components/button/button.custom.styles.js +1 -1
- package/dist/components/button/button.js +9 -12
- 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 +5 -8
- package/dist/components/checkbox/checkbox.js +6 -9
- package/dist/components/combobox/combobox.component.js +10 -13
- package/dist/components/combobox/combobox.js +11 -14
- package/dist/components/details/details.component.js +6 -9
- package/dist/components/details/details.js +7 -10
- package/dist/components/dialog/dialog.component.js +10 -13
- package/dist/components/dialog/dialog.js +11 -14
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +9 -12
- package/dist/components/drawer/drawer.js +10 -13
- package/dist/components/dropdown/dropdown.component.js +5 -5
- package/dist/components/dropdown/dropdown.js +6 -6
- package/dist/components/file/file.component.js +9 -12
- package/dist/components/file/file.js +10 -13
- package/dist/components/header/header.component.js +7 -7
- package/dist/components/header/header.js +8 -8
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -6
- package/dist/components/icon-button/icon-button.js +4 -7
- package/dist/components/input/input.component.js +8 -11
- package/dist/components/input/input.custom.styles.js +1 -1
- package/dist/components/input/input.js +9 -12
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +8 -8
- package/dist/components/menu-item/menu-item.js +9 -9
- 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 +3 -3
- package/dist/components/nav-item/nav-item.js +4 -4
- 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 +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/prio-nav/prio-nav.component.js +12 -12
- package/dist/components/prio-nav/prio-nav.js +13 -13
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/radio/radio.component.js +3 -6
- package/dist/components/radio/radio.js +4 -7
- package/dist/components/radio-button/radio-button.component.js +2 -5
- package/dist/components/radio-button/radio-button.js +3 -6
- package/dist/components/radio-group/radio-group.component.js +3 -6
- package/dist/components/radio-group/radio-group.js +4 -7
- package/dist/components/range/range.component.js +5 -8
- package/dist/components/range/range.js +6 -9
- 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 -12
- package/dist/components/select/select.js +10 -13
- package/dist/components/side-nav/side-nav.component.js +11 -14
- package/dist/components/side-nav/side-nav.js +12 -15
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/switch/switch.component.js +2 -5
- package/dist/components/switch/switch.js +3 -6
- package/dist/components/tab/tab.component.js +6 -9
- package/dist/components/tab/tab.js +7 -10
- package/dist/components/tab-group/tab-group.component.js +7 -10
- package/dist/components/tab-group/tab-group.js +8 -11
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +6 -9
- package/dist/components/tag/tag.js +7 -10
- package/dist/components/textarea/textarea.component.js +2 -5
- package/dist/components/textarea/textarea.js +3 -6
- package/dist/components/tooltip/tooltip.component.js +4 -4
- package/dist/components/tooltip/tooltip.js +5 -5
- package/dist/components/validate/utility.js +2 -2
- package/dist/components/validate/validate.component.js +11 -14
- package/dist/components/validate/validate.js +12 -15
- package/dist/custom-elements.json +183 -167
- package/dist/events/events.d.ts +0 -1
- package/dist/styles/index.css +1 -1
- package/dist/synergy.d.ts +0 -1
- package/dist/synergy.js +129 -145
- package/dist/vscode.html-custom-data.json +32 -32
- package/package.json +17 -18
- package/dist/chunks/chunk.24C4XJAI.js.map +0 -7
- package/dist/chunks/chunk.24DN2XDS.js.map +0 -7
- package/dist/chunks/chunk.742PBV5R.js.map +0 -7
- package/dist/chunks/chunk.7Y7O45CM.js.map +0 -7
- package/dist/chunks/chunk.AIQ3EJZY.js.map +0 -7
- package/dist/chunks/chunk.BO7VIZR3.js.map +0 -7
- package/dist/chunks/chunk.DERBT2MN.js.map +0 -7
- package/dist/chunks/chunk.EVECGQOP.js.map +0 -7
- package/dist/chunks/chunk.IBQDKFYH.js.map +0 -7
- package/dist/chunks/chunk.JBLFNOCX.js.map +0 -7
- package/dist/chunks/chunk.JSEL4YPW.js +0 -147
- package/dist/chunks/chunk.JSEL4YPW.js.map +0 -7
- package/dist/chunks/chunk.NUCBTPTS.js.map +0 -7
- package/dist/chunks/chunk.O7JPMKUW.js.map +0 -7
- package/dist/chunks/chunk.OLCT57R5.js +0 -69
- package/dist/chunks/chunk.OLCT57R5.js.map +0 -7
- package/dist/chunks/chunk.POGMEL53.js.map +0 -7
- package/dist/chunks/chunk.R2HFUCJI.js.map +0 -7
- package/dist/chunks/chunk.RSCUHBW3.js +0 -1
- package/dist/chunks/chunk.RSCUHBW3.js.map +0 -7
- package/dist/chunks/chunk.SXFIFBVM.js.map +0 -7
- package/dist/chunks/chunk.T53XYA43.js.map +0 -7
- package/dist/chunks/chunk.TXQLKFUU.js.map +0 -7
- package/dist/chunks/chunk.UPDPVGHT.js +0 -59
- package/dist/chunks/chunk.UPDPVGHT.js.map +0 -7
- package/dist/chunks/chunk.VKRMYKYH.js.map +0 -7
- package/dist/chunks/chunk.XCILIICJ.js.map +0 -7
- package/dist/chunks/chunk.Z2PVOPJK.js.map +0 -7
- package/dist/events/syn-default-settings-changed.d.ts +0 -16
- package/dist/utilities/defaultSettings/base.d.ts +0 -87
- package/dist/utilities/defaultSettings/base.js +0 -10
- package/dist/utilities/defaultSettings/base.js.map +0 -7
- package/dist/utilities/defaultSettings/decorator.d.ts +0 -12
- package/dist/utilities/defaultSettings/decorator.js +0 -10
- package/dist/utilities/defaultSettings/decorator.js.map +0 -7
- package/dist/utilities/defaultSettings/functions.d.ts +0 -41
- package/dist/utilities/defaultSettings/functions.js +0 -21
- package/dist/utilities/defaultSettings/functions.js.map +0 -7
- package/dist/utilities/defaultSettings/index.d.ts +0 -3
- package/dist/utilities/defaultSettings/index.js +0 -20
- package/dist/utilities/defaultSettings/index.js.map +0 -7
- /package/dist/chunks/{chunk.WLHRVKAR.js.map → chunk.2RO5SDFI.js.map} +0 -0
- /package/dist/chunks/{chunk.B2WOBIWW.js.map → chunk.2UVFBYRY.js.map} +0 -0
- /package/dist/chunks/{chunk.UY5AOQHP.js.map → chunk.3PLJRLWU.js.map} +0 -0
- /package/dist/chunks/{chunk.Q33XUREM.js.map → chunk.3UADS2FG.js.map} +0 -0
- /package/dist/chunks/{chunk.QWMAKCAT.js.map → chunk.4DPLWNXK.js.map} +0 -0
- /package/dist/chunks/{chunk.XDM6VD32.js.map → chunk.4WRP75PK.js.map} +0 -0
- /package/dist/chunks/{chunk.DYUCTKM6.js.map → chunk.52LV42QJ.js.map} +0 -0
- /package/dist/chunks/{chunk.VL74BJLP.js.map → chunk.6SX6G2R5.js.map} +0 -0
- /package/dist/chunks/{chunk.EBYGA33B.js.map → chunk.76VMRLB3.js.map} +0 -0
- /package/dist/chunks/{chunk.Z4OFLKEQ.js.map → chunk.7QSI2KTA.js.map} +0 -0
- /package/dist/chunks/{chunk.XSS62TBI.js.map → chunk.ABFTGQIG.js.map} +0 -0
- /package/dist/chunks/{chunk.HNVPPNYZ.js.map → chunk.ADPRVKM4.js.map} +0 -0
- /package/dist/chunks/{chunk.A2JLMFJ4.js.map → chunk.AYGM4AMZ.js.map} +0 -0
- /package/dist/chunks/{chunk.53THUSDO.js.map → chunk.BCJDEKZV.js.map} +0 -0
- /package/dist/chunks/{chunk.BJTRYICX.js.map → chunk.BN3TNJKZ.js.map} +0 -0
- /package/dist/chunks/{chunk.BPZOCAHJ.js.map → chunk.BNFIYDZO.js.map} +0 -0
- /package/dist/chunks/{chunk.4ZPJSGD5.js.map → chunk.BRJMFR3A.js.map} +0 -0
- /package/dist/chunks/{chunk.7NZ7JAEV.js.map → chunk.C7WDSHTE.js.map} +0 -0
- /package/dist/chunks/{chunk.7XMTQ7P7.js.map → chunk.CK64L7GU.js.map} +0 -0
- /package/dist/chunks/{chunk.JHPSR3AP.js.map → chunk.D2AMFNCW.js.map} +0 -0
- /package/dist/chunks/{chunk.UYGCYMDS.js.map → chunk.DN2RWBXM.js.map} +0 -0
- /package/dist/chunks/{chunk.PDAOZ7HN.js.map → chunk.DSTRFXMO.js.map} +0 -0
- /package/dist/chunks/{chunk.E72GLNXI.js.map → chunk.DYUWNUJK.js.map} +0 -0
- /package/dist/chunks/{chunk.LYMHXGME.js.map → chunk.E6XELP7N.js.map} +0 -0
- /package/dist/chunks/{chunk.UXHC3W5U.js.map → chunk.EAFPSNLJ.js.map} +0 -0
- /package/dist/chunks/{chunk.PLSOGFSX.js.map → chunk.EHRE7REF.js.map} +0 -0
- /package/dist/chunks/{chunk.NL4FKYIJ.js.map → chunk.GFMUULQR.js.map} +0 -0
- /package/dist/chunks/{chunk.P5XIUYNV.js.map → chunk.GLD3DYFW.js.map} +0 -0
- /package/dist/chunks/{chunk.XP47Y2SU.js.map → chunk.HDAUY6QG.js.map} +0 -0
- /package/dist/chunks/{chunk.MDG7KZFO.js.map → chunk.HMVKM2LC.js.map} +0 -0
- /package/dist/chunks/{chunk.FLB37Q2Y.js.map → chunk.I4PP7TTT.js.map} +0 -0
- /package/dist/chunks/{chunk.HPQBH3O2.js.map → chunk.IOP352J7.js.map} +0 -0
- /package/dist/chunks/{chunk.HZ3S4J3T.js.map → chunk.JRBHRPZR.js.map} +0 -0
- /package/dist/chunks/{chunk.7467Z6PG.js.map → chunk.JWKGHB3O.js.map} +0 -0
- /package/dist/chunks/{chunk.QMVBPAZF.js.map → chunk.KFBZFX3D.js.map} +0 -0
- /package/dist/chunks/{chunk.ST3V3ZVP.js.map → chunk.KKX6OV4A.js.map} +0 -0
- /package/dist/chunks/{chunk.YTMSHKEA.js.map → chunk.LFTDPRZJ.js.map} +0 -0
- /package/dist/chunks/{chunk.OFA3YJLS.js.map → chunk.LVNDSKZE.js.map} +0 -0
- /package/dist/chunks/{chunk.Y4EGILWE.js.map → chunk.MN76TCGZ.js.map} +0 -0
- /package/dist/chunks/{chunk.JNAG6IBY.js.map → chunk.MPPVRHYV.js.map} +0 -0
- /package/dist/chunks/{chunk.XMSHEZ3R.js.map → chunk.NDXLRMDA.js.map} +0 -0
- /package/dist/chunks/{chunk.AQS4YK7Q.js.map → chunk.NHQHD65V.js.map} +0 -0
- /package/dist/chunks/{chunk.Y334QFFZ.js.map → chunk.NIYWCDQQ.js.map} +0 -0
- /package/dist/chunks/{chunk.LZ27X5R6.js.map → chunk.NOWXA25R.js.map} +0 -0
- /package/dist/chunks/{chunk.LYNLLR54.js.map → chunk.NUOEVS57.js.map} +0 -0
- /package/dist/chunks/{chunk.EMGPXY5T.js.map → chunk.O2E77ZO7.js.map} +0 -0
- /package/dist/chunks/{chunk.XY3WHMD7.js.map → chunk.O4OYBWOG.js.map} +0 -0
- /package/dist/chunks/{chunk.S7PAQRVY.js.map → chunk.RODVBLTN.js.map} +0 -0
- /package/dist/chunks/{chunk.TL5RQ2KH.js.map → chunk.RS7QM77K.js.map} +0 -0
- /package/dist/chunks/{chunk.HCMNEIRN.js.map → chunk.RXNHONDB.js.map} +0 -0
- /package/dist/chunks/{chunk.BWESHYBN.js.map → chunk.SG4JU5HT.js.map} +0 -0
- /package/dist/chunks/{chunk.WLYLSH3H.js.map → chunk.SGW6T6AH.js.map} +0 -0
- /package/dist/chunks/{chunk.VOOMTA4X.js.map → chunk.SUUQ7PWG.js.map} +0 -0
- /package/dist/chunks/{chunk.VLE3Q74Y.js.map → chunk.SVAYQQEQ.js.map} +0 -0
- /package/dist/chunks/{chunk.MGET4VXP.js.map → chunk.TBZ4NGLX.js.map} +0 -0
- /package/dist/chunks/{chunk.SYWSXUHZ.js.map → chunk.TNR3DRP2.js.map} +0 -0
- /package/dist/chunks/{chunk.4AKA2QRO.js.map → chunk.TWUIL4KN.js.map} +0 -0
- /package/dist/chunks/{chunk.ZDIDYG6H.js.map → chunk.U3QINJJN.js.map} +0 -0
- /package/dist/chunks/{chunk.SNHVIH7F.js.map → chunk.UD7TMIOI.js.map} +0 -0
- /package/dist/chunks/{chunk.SKA5Y7HA.js.map → chunk.UI3JVXJO.js.map} +0 -0
- /package/dist/chunks/{chunk.7LASULTQ.js.map → chunk.UTLJPCF6.js.map} +0 -0
- /package/dist/chunks/{chunk.J53UXHXV.js.map → chunk.VDR7MHDJ.js.map} +0 -0
- /package/dist/chunks/{chunk.LHNUNBCA.js.map → chunk.VRIWW3IQ.js.map} +0 -0
- /package/dist/chunks/{chunk.3HW4J22U.js.map → chunk.VSXPNDRV.js.map} +0 -0
- /package/dist/chunks/{chunk.AS3TB27D.js.map → chunk.W4SGQB3N.js.map} +0 -0
- /package/dist/chunks/{chunk.NM5EI7ZH.js.map → chunk.WDWOLLU7.js.map} +0 -0
- /package/dist/chunks/{chunk.WMUMEYQJ.js.map → chunk.WSN5XASN.js.map} +0 -0
- /package/dist/chunks/{chunk.YQLTFWYX.js.map → chunk.XFWY2BGU.js.map} +0 -0
- /package/dist/chunks/{chunk.N54SVWTA.js.map → chunk.YBDH432U.js.map} +0 -0
- /package/dist/chunks/{chunk.SWUXKALS.js.map → chunk.YNJ5L3DR.js.map} +0 -0
- /package/dist/chunks/{chunk.2QFNK7XL.js.map → chunk.YNWZ5ZFI.js.map} +0 -0
- /package/dist/chunks/{chunk.IFWSRMUK.js.map → chunk.YQZ2UGG3.js.map} +0 -0
- /package/dist/chunks/{chunk.FAREQGAK.js.map → chunk.ZK2J5LTO.js.map} +0 -0
- /package/dist/chunks/{chunk.7EYHNKMM.js.map → chunk.ZXWHFKUE.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadioGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UVY2BCUE.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio-group/radio-group.ts
|
|
6
6
|
var radio_group_default = SynRadioGroup;
|
|
@@ -9,4 +9,4 @@ SynRadioGroup.define("syn-radio-group");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.2UVFBYRY.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.JHSYQUJH.js";
|
|
16
16
|
|
|
17
17
|
// src/components/spinner/spinner.component.ts
|
|
18
18
|
import { html } from "lit";
|
|
@@ -35,4 +35,4 @@ SynSpinner.styles = [component_styles_default, spinner_styles_default, spinner_c
|
|
|
35
35
|
export {
|
|
36
36
|
SynSpinner
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=chunk.
|
|
38
|
+
//# sourceMappingURL=chunk.3PLJRLWU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynFile
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UAH335JY.js";
|
|
4
4
|
|
|
5
5
|
// src/components/file/file.ts
|
|
6
6
|
var file_default = SynFile;
|
|
@@ -9,4 +9,4 @@ SynFile.define("syn-file");
|
|
|
9
9
|
export {
|
|
10
10
|
file_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.3UADS2FG.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.NLYVOJGK.js";
|
|
16
16
|
import {
|
|
17
17
|
SynergyElement
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.JHSYQUJH.js";
|
|
19
19
|
import {
|
|
20
20
|
__decorateClass
|
|
21
21
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -120,4 +120,4 @@ __decorateClass([
|
|
|
120
120
|
export {
|
|
121
121
|
SynBreadcrumbItem
|
|
122
122
|
};
|
|
123
|
-
//# sourceMappingURL=chunk.
|
|
123
|
+
//# sourceMappingURL=chunk.4DPLWNXK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTabbableElements
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2MDGY2UP.js";
|
|
4
4
|
import {
|
|
5
5
|
__yieldStar
|
|
6
6
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -130,4 +130,4 @@ var Modal = class {
|
|
|
130
130
|
export {
|
|
131
131
|
Modal
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=chunk.
|
|
133
|
+
//# sourceMappingURL=chunk.4WRP75PK.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.JHSYQUJH.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -64,4 +64,4 @@ __decorateClass([
|
|
|
64
64
|
export {
|
|
65
65
|
SynTabPanel
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=chunk.
|
|
67
|
+
//# sourceMappingURL=chunk.52LV42QJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynProgressBar
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.D2AMFNCW.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.6SX6G2R5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenuLabel
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UI3JVXJO.js";
|
|
4
4
|
|
|
5
5
|
// src/components/menu-label/menu-label.ts
|
|
6
6
|
var menu_label_default = SynMenuLabel;
|
|
@@ -9,4 +9,4 @@ SynMenuLabel.define("syn-menu-label");
|
|
|
9
9
|
export {
|
|
10
10
|
menu_label_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.76VMRLB3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynBreadcrumb
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.VSXPNDRV.js";
|
|
4
4
|
|
|
5
5
|
// src/components/breadcrumb/breadcrumb.ts
|
|
6
6
|
var breadcrumb_default = SynBreadcrumb;
|
|
@@ -9,4 +9,4 @@ SynBreadcrumb.define("syn-breadcrumb");
|
|
|
9
9
|
export {
|
|
10
10
|
breadcrumb_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.7QSI2KTA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynNavItem
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.CK64L7GU.js";
|
|
4
4
|
|
|
5
5
|
// src/components/nav-item/nav-item.ts
|
|
6
6
|
var nav_item_default = SynNavItem;
|
|
@@ -9,4 +9,4 @@ SynNavItem.define("syn-nav-item");
|
|
|
9
9
|
export {
|
|
10
10
|
nav_item_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.ABFTGQIG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSideNav
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.RODVBLTN.js";
|
|
4
4
|
|
|
5
5
|
// src/components/side-nav/side-nav.ts
|
|
6
6
|
var side_nav_default = SynSideNav;
|
|
@@ -9,4 +9,4 @@ SynSideNav.define("syn-side-nav");
|
|
|
9
9
|
export {
|
|
10
10
|
side_nav_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.ADPRVKM4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDivider
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.O2E77ZO7.js";
|
|
4
4
|
|
|
5
5
|
// src/components/divider/divider.ts
|
|
6
6
|
var divider_default = SynDivider;
|
|
@@ -9,4 +9,4 @@ SynDivider.define("syn-divider");
|
|
|
9
9
|
export {
|
|
10
10
|
divider_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.AYGM4AMZ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTabPanel
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.52LV42QJ.js";
|
|
4
4
|
|
|
5
5
|
// src/components/tab-panel/tab-panel.ts
|
|
6
6
|
var tab_panel_default = SynTabPanel;
|
|
@@ -9,4 +9,4 @@ SynTabPanel.define("syn-tab-panel");
|
|
|
9
9
|
export {
|
|
10
10
|
tab_panel_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.BCJDEKZV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynIconButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.RTK2527V.js";
|
|
4
4
|
|
|
5
5
|
// src/components/icon-button/icon-button.ts
|
|
6
6
|
var icon_button_default = SynIconButton;
|
|
@@ -9,4 +9,4 @@ SynIconButton.define("syn-icon-button");
|
|
|
9
9
|
export {
|
|
10
10
|
icon_button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.BN3TNJKZ.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.JHSYQUJH.js";
|
|
13
13
|
import {
|
|
14
14
|
__decorateClass
|
|
15
15
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -160,4 +160,4 @@ __decorateClass([
|
|
|
160
160
|
export {
|
|
161
161
|
SynMenu
|
|
162
162
|
};
|
|
163
|
-
//# sourceMappingURL=chunk.
|
|
163
|
+
//# sourceMappingURL=chunk.BNFIYDZO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynIcon
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.YNJ5L3DR.js";
|
|
4
4
|
|
|
5
5
|
// src/components/icon/icon.ts
|
|
6
6
|
var icon_default = SynIcon;
|
|
@@ -9,4 +9,4 @@ SynIcon.define("syn-icon");
|
|
|
9
9
|
export {
|
|
10
10
|
icon_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.BRJMFR3A.js.map
|
|
@@ -3,25 +3,22 @@ import {
|
|
|
3
3
|
isBlurEvent,
|
|
4
4
|
isInvalidEvent,
|
|
5
5
|
normalizeEventAttribute
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.2RO5SDFI.js";
|
|
7
7
|
import {
|
|
8
8
|
validate_styles_default
|
|
9
9
|
} from "./chunk.MVM3NN6Y.js";
|
|
10
10
|
import {
|
|
11
11
|
SynAlert
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.2IVNHVMH.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.74IOULXM.js";
|
|
16
|
-
import {
|
|
17
|
-
enableDefaultSettings
|
|
18
|
-
} from "./chunk.OLCT57R5.js";
|
|
19
16
|
import {
|
|
20
17
|
component_styles_default
|
|
21
18
|
} from "./chunk.NLYVOJGK.js";
|
|
22
19
|
import {
|
|
23
20
|
SynergyElement
|
|
24
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.JHSYQUJH.js";
|
|
25
22
|
import {
|
|
26
23
|
__decorateClass
|
|
27
24
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -323,11 +320,8 @@ __decorateClass([
|
|
|
323
320
|
__decorateClass([
|
|
324
321
|
watch("customValidationMessage", { waitUntilFirstUpdate: true })
|
|
325
322
|
], SynValidate.prototype, "handleCustomValidationMessageChange", 1);
|
|
326
|
-
SynValidate = __decorateClass([
|
|
327
|
-
enableDefaultSettings("SynValidate")
|
|
328
|
-
], SynValidate);
|
|
329
323
|
|
|
330
324
|
export {
|
|
331
325
|
SynValidate
|
|
332
326
|
};
|
|
333
|
-
//# sourceMappingURL=chunk.
|
|
327
|
+
//# sourceMappingURL=chunk.BYCL2SI7.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/validate/validate.component.ts"],
|
|
4
|
+
"sourcesContent": ["import type { CSSResultGroup, PropertyValues } from 'lit';\nimport { html } from 'lit';\nimport { property, queryAssignedElements, state } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport { watch } from '../../internal/watch.js';\nimport SynAlert from '../alert/alert.component.js';\nimport {\n getEventNameForElement,\n isBlurEvent,\n isInvalidEvent,\n normalizeEventAttribute,\n} from './utility.js';\nimport styles from './validate.styles.js';\n\n/**\n * @summary Validate provides form field validation messages in a unified way.\n * It does this by using [the native browser validation](https://developer.mozilla.org/en-US/docs/Learn/Forms/Form_validation)\n * and showing the validation message in a consistent, user defined way.\n *\n * @dependency syn-alert\n *\n * @slot - The form field that should be validated.\n * Avoid slotting in more than one element, as subsequent ones will be ignored.\n *\n * @csspart base - The component's base wrapper.\n * @csspart input-wrapper - The container that wraps the form field.\n * @csspart alert - The syn-alert that is shown when the variant is set to \"inline\".\n * @csspart alert__base - The container that wraps the alert.\n * @csspart alert__message - The container that wraps the alert message.\n * @csspart alert__icon - The container that wraps the alert icon.\n */\nexport default class SynValidate extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n static dependencies = {\n 'syn-alert': SynAlert,\n };\n\n controller = new AbortController();\n\n observer: MutationObserver;\n\n @queryAssignedElements() private slottedChildren: HTMLElement[];\n\n @state() validationMessage = '';\n\n @state() eagerFirstMount = true;\n\n @state() isInternalTriggeredInvalid = false;\n\n @state() isValid = true;\n\n /**\n * The variant that should be used to show validation alerts.\n *\n * The following variants are supported:\n * - **native** (default): Uses the native browser validation, usually a browser tooltip.\n * - **inline**: Show the validation message underneath the element, using a `<syn-alert>`\n */\n @property({ reflect: true }) variant: 'native' | 'inline' = 'native';\n\n /** Do not show the error icon when using the inline variant validation */\n @property({ attribute: 'hide-icon', reflect: true, type: Boolean }) hideIcon = false;\n\n /**\n * Defines the events that trigger the validation.\n * `invalid` will always automatically be included.\n * You may also use the `live` keyword to validate on every input change.\n * `live` will make sure to listen to the `invalid`, `input` and `blur` events.\n *\n * Please have a look at the [documentation for native form validation](https://developer.mozilla.org/en-US/docs/Learn/Forms/Form_validation)\n * and [the use of form invalid events](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/invalid_event) for further information.\n *\n * @example ```html\n * <!-- Validate on invalid and change events (invalid, change) -->\n * <syn-validate on=\"invalid change\"></syn-validate>\n *\n * <!-- Validate on live events (invalid, blur, input)-->\n * <syn-validate on=\"live\"></syn-validate>\n *\n * <!-- Validate on live and custom events (invalid, blur, input, focus, change) -->\n * <syn-validate on=\"live focus change\"></syn-validate>\n * ```\n */\n @property({ reflect: true }) on: string = '';\n\n /**\n * Custom validation message to be displayed when the input is invalid.\n * Will override the default browser validation message.\n * Set to an empty string to reset the validation message.\n */\n @property({ attribute: 'custom-validation-message', type: String }) customValidationMessage = '';\n\n /**\n * Set this to true to validate the input immediately when it is rendered.\n * Best used with a `variant` of `inline`.\n * When setting eager, the input will not be focused automatically.\n *\n * When using a `variant` of `native` the browser will focus\n * the last eager field as it is using a tooltip.\n * In this case it is better to just provide one eager field.\n */\n @property({ type: Boolean }) eager = false;\n\n // Automatically refresh all event listeners when the on property changes.\n @watch('on', { waitUntilFirstUpdate: true })\n handleListenerChange() {\n this.updateEvents();\n }\n\n @watch('eager', { waitUntilFirstUpdate: false })\n async handleEagerChange() {\n if (this.eager) {\n const input = this.getInput();\n await this.updateComplete;\n input?.reportValidity();\n this.eagerFirstMount = true;\n } else {\n this.eagerFirstMount = false;\n }\n }\n\n // Synchronize the validation message on the wrapped input with the custom message\n @watch('customValidationMessage', { waitUntilFirstUpdate: true })\n handleCustomValidationMessageChange() {\n const input = this.getInput();\n if (input) {\n this.setCustomValidationMessage(input);\n this.setValidationMessage(input);\n }\n }\n\n /**\n * Returns the validity state of the input component.\n * `true` for valid and `false` for invalid.\n */\n getValidity() {\n return this.isValid;\n }\n\n /**\n * Get the input element to validate. Defined as the first slotted element\n * @returns The input element or undefined if not found\n */\n private getInput() {\n const input = this.slottedChildren[0];\n return input ? input as HTMLInputElement : undefined;\n }\n\n /**\n * Get the event names to listen for.\n * If the input is a synergy element, will use syn- prefixes.\n * @returns The event names to listen for\n */\n // eslint-disable-next-line complexity\n private getUsedEventNames() {\n const input = this.getInput();\n\n // If there is no input, skip before doing any harm\n if (!input) {\n return [];\n }\n\n // Make sure to always use an array of events\n // This is needed because on may be a special value like \"live\"\n const on = normalizeEventAttribute(this.on);\n\n // Filter makes sure to remove empty values, e.g.\n // <syn-validate on=\"\"></syn-validate>\n const [...events] = on.filter(Boolean);\n\n // Make sure to always have an invalid event\n if (!events.includes('invalid')) {\n events.push('invalid');\n }\n\n // Special handling for the live keyword:\n // live always means on input and blur\n if (events.includes('live')) {\n events.push('input');\n events.push('blur');\n }\n\n // Make sure to remove duplicated events and the live property\n // and map the events to the correct event names\n return Array.from(new Set(\n events\n .filter(e => e !== 'live')\n .map(e => getEventNameForElement(input, e)),\n ));\n }\n\n /**\n * Update the events on the input element.\n */\n private updateEvents() {\n this.controller.abort();\n this.controller = new AbortController();\n const input = this.getInput();\n\n if (!input) {\n return;\n }\n\n const events = this.getUsedEventNames();\n events.forEach(eventName => {\n input.addEventListener(eventName, this.validate, {\n capture: isInvalidEvent(eventName),\n signal: this.controller.signal,\n });\n });\n\n // If the change event is not included,\n // make sure to attach a custom listener that resets the validation message\n // This is needed as the custom message may be set on change\n const usedChangeEvent = getEventNameForElement(input, 'change');\n if (!events.includes(usedChangeEvent)) {\n input.addEventListener(usedChangeEvent, this.internalRevalidate, {\n signal: this.controller.signal,\n });\n }\n }\n\n private setValidationMessage(input: HTMLInputElement) {\n const { customValidationMessage } = this;\n const validationMessage = customValidationMessage || input.validationMessage;\n this.validationMessage = validationMessage;\n }\n\n /**\n * Set the custom validation message to the input. This will make sure to either:\n * - use the custom message if one is set or\n * - use the default message if the custom message is empty\n */\n private setCustomValidationMessage(input: HTMLInputElement) {\n // Set the custom validation message on the input only once, when the customValidationMessage\n // is changed. Otherwise there could be problems with `variant=\"native\"` and `on=\"live\"` or\n // `on=\"blur\"`, because the browser popup will never disappear even if clicking somewhere else.\n input.setCustomValidity(this.customValidationMessage);\n }\n\n /**\n * Set the validation message from the input element\n * @param e The event that was received\n */\n private internalRevalidate = (e: Event) => {\n const input = e.currentTarget as HTMLInputElement;\n if (input.validity?.valid) {\n this.validationMessage = '';\n }\n };\n\n /**\n * Handle the blur event during validation\n */\n // eslint-disable-next-line class-methods-use-this\n private handleFocus(input: HTMLInputElement) {\n const activeElement = document.activeElement! as HTMLInputElement;\n const activeElementIsWrapped = activeElement.closest('syn-validate');\n\n if (!activeElement.validity?.valid && activeElementIsWrapped) {\n // The active element is invalid do not scroll\n return;\n }\n\n input.scrollIntoView({ block: 'nearest' });\n input.focus();\n }\n\n /**\n * Triggers a validation run, showing the validation message if needed.\n */\n // eslint-disable-next-line complexity\n private validate = (e: Event) => {\n // Make sure to stop the validate component from going into an endless cycle of triggering\n if (isInvalidEvent(e.type) && this.variant === 'native' && this.isInternalTriggeredInvalid === true) {\n this.isInternalTriggeredInvalid = false;\n return;\n }\n\n // Make sure to always prevent the invalid event when not using native validation\n if (isInvalidEvent(e.type) && this.variant !== 'native') {\n e.preventDefault();\n e.stopPropagation();\n }\n\n const input = e.currentTarget as HTMLInputElement;\n this.isValid = input.validity?.valid;\n\n // When we are using eager, make sure to skip focus on the first mount\n if (this.eager && this.eagerFirstMount) {\n this.eagerFirstMount = false;\n this.setValidationMessage(input);\n return;\n }\n\n // If the active element that has focus is placed in a validate component,\n // make sure to not loose focus.\n if (!this.isValid && !isBlurEvent(e.type)) {\n this.handleFocus(input);\n }\n\n this.setValidationMessage(input);\n\n // Trigger reportValidity when using native validation, so the browser popup is also shown\n // for other events than `invalid`. All events except the blur event, should trigger this.\n if (!isBlurEvent(e.type) && this.variant === 'native') {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.updateComplete.then(() => {\n this.isInternalTriggeredInvalid = true;\n input.reportValidity();\n });\n }\n };\n\n async firstUpdated(changedProperties: PropertyValues) {\n super.firstUpdated(changedProperties);\n this.updateEvents();\n\n // #713: Make sure to set the custom validation message on mount\n // When we have a custom element, we need to wait for it to be ready!\n const input = this.getInput();\n\n if (this.customValidationMessage) {\n if (input instanceof SynergyElement) {\n await input.updateComplete;\n }\n input?.setCustomValidity(this.customValidationMessage);\n }\n\n // Make sure to run validation on mount if eager is set\n if (this.eager) {\n await this.updateComplete;\n this.isValid = input?.validity?.valid ?? false;\n input?.reportValidity();\n }\n }\n\n connectedCallback() {\n super.connectedCallback();\n\n // #717: Make sure to remove to rerun validation when\n // disabled or readonly properties change on the input\n this.observer = new MutationObserver(entries => {\n const input = this.getInput();\n\n if (!input) {\n return;\n }\n\n const hasDisabledOrReadonly = entries\n // Only check for changes on the input element\n .filter(({ target }) => target === input)\n // Check if the input is disabled or readonly\n .every(entry => {\n const target = entry.target as HTMLInputElement;\n return target.hasAttribute('disabled') || target.hasAttribute('readonly');\n });\n\n if (hasDisabledOrReadonly) {\n this.isValid = true;\n this.validationMessage = '';\n } else {\n // When using a synergy element, we need to check the validity after the element is updated,\n // as we cannot rely on the validity state of the element itself.\n // Unfortunately, this depends on used browser :(.\n const waitForPromise = input instanceof SynergyElement\n ? input.updateComplete\n : Promise.resolve();\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n waitForPromise.then(() => {\n this.isValid = input?.validity?.valid ?? false;\n this.validationMessage = input?.validationMessage ?? '';\n });\n }\n });\n\n this.observer.observe(this, {\n attributeFilter: ['disabled', 'readonly'],\n attributes: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.controller.abort();\n this?.observer?.disconnect();\n }\n\n private renderInlineValidation() {\n if (this.variant !== 'inline' || !this.validationMessage) {\n return '';\n }\n\n return html`\n <syn-alert\n open\n exportparts=\"base:alert__base,message:alert__message,icon:alert__icon\"\n part=\"alert\"\n variant=\"danger\"\n >\n ${!this.hideIcon\n ? html`<syn-icon slot=\"icon\" name=\"error\" library=\"system\"></syn-icon>`\n : ''\n }\n ${this.validationMessage}\n </syn-alert>\n `;\n }\n\n render() {\n return html`\n <div\n class=\"validate\"\n part=\"base\"\n >\n <slot\n class=\"validate__input-wrapper\"\n part=\"input-wrapper\"\n ></slot>\n \n ${this.renderInlineValidation()}\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,YAAY;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
4
|
|
|
5
5
|
// src/components/button/button.ts
|
|
6
6
|
var button_default = SynButton;
|
|
@@ -9,4 +9,4 @@ SynButton.define("syn-button");
|
|
|
9
9
|
export {
|
|
10
10
|
button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.C7WDSHTE.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.SHCZO4KK.js";
|
|
4
4
|
import {
|
|
5
5
|
SynDivider
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.O2E77ZO7.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.WVVQK5TE.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk.NLYVOJGK.js";
|
|
16
16
|
import {
|
|
17
17
|
SynergyElement
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.JHSYQUJH.js";
|
|
19
19
|
import {
|
|
20
20
|
__decorateClass
|
|
21
21
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -339,4 +339,4 @@ __decorateClass([
|
|
|
339
339
|
export {
|
|
340
340
|
SynNavItem
|
|
341
341
|
};
|
|
342
|
-
//# sourceMappingURL=chunk.
|
|
342
|
+
//# sourceMappingURL=chunk.CK64L7GU.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.JHSYQUJH.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -68,4 +68,4 @@ __decorateClass([
|
|
|
68
68
|
export {
|
|
69
69
|
SynProgressBar
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk.
|
|
71
|
+
//# sourceMappingURL=chunk.D2AMFNCW.js.map
|
|
@@ -6,19 +6,16 @@ import {
|
|
|
6
6
|
} from "./chunk.6EPU7YUS.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIconButton
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.RTK2527V.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
12
|
} from "./chunk.GIU3H3J3.js";
|
|
13
|
-
import {
|
|
14
|
-
enableDefaultSettings
|
|
15
|
-
} from "./chunk.OLCT57R5.js";
|
|
16
13
|
import {
|
|
17
14
|
component_styles_default
|
|
18
15
|
} from "./chunk.NLYVOJGK.js";
|
|
19
16
|
import {
|
|
20
17
|
SynergyElement
|
|
21
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.JHSYQUJH.js";
|
|
22
19
|
import {
|
|
23
20
|
__decorateClass
|
|
24
21
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -77,11 +74,8 @@ __decorateClass([
|
|
|
77
74
|
__decorateClass([
|
|
78
75
|
property({ type: Boolean })
|
|
79
76
|
], SynTag.prototype, "removable", 2);
|
|
80
|
-
SynTag = __decorateClass([
|
|
81
|
-
enableDefaultSettings("SynTag")
|
|
82
|
-
], SynTag);
|
|
83
77
|
|
|
84
78
|
export {
|
|
85
79
|
SynTag
|
|
86
80
|
};
|
|
87
|
-
//# sourceMappingURL=chunk.
|
|
81
|
+
//# sourceMappingURL=chunk.D3QHOCYT.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/tag/tag.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 { LocalizeController } from '../../utilities/localize.js';\nimport { property } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './tag.styles.js';\nimport customStyles from './tag.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Tags are used as labels to organize things or to indicate a selection.\n * @documentation https://synergy.style/components/tag\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The tag's content.\n *\n * @event syn-remove - Emitted when the remove button is activated.\n *\n * @csspart base - The component's base wrapper.\n * @csspart content - The tag's content.\n * @csspart remove-button - The tag's remove button, an `<syn-icon-button>`.\n * @csspart remove-button__base - The remove button's exported `base` part.\n */\nexport default class SynTag extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon-button': SynIconButton };\n\n private readonly localize = new LocalizeController(this);\n\n /** The tag's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Makes the tag removable and shows a remove button. */\n @property({ type: Boolean }) removable = false;\n\n private handleRemoveClick() {\n this.emit('syn-remove');\n }\n\n render() {\n return html`\n <span\n part=\"base\"\n class=${classMap({\n tag: true,\n\n // Sizes\n 'tag--small': this.size === 'small',\n 'tag--medium': this.size === 'medium',\n 'tag--large': this.size === 'large',\n\n // Modifiers\n 'tag--removable': this.removable\n })}\n >\n <slot part=\"content\" class=\"tag__content\"></slot>\n\n ${this.removable\n ? html`\n <syn-icon-button\n part=\"remove-button\"\n exportparts=\"base:remove-button__base\"\n name=\"x-lg\"\n library=\"system\"\n label=${this.localize.term('remove')}\n class=\"tag__remove\"\n @click=${this.handleRemoveClick}\n tabindex=\"-1\"\n ></syn-icon-button>\n `\n : ''}\n </span>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AAErB,SAAS,gBAAgB;AAyBzB,IAAqB,SAArB,cAAoC,eAAe;AAAA,EAAnD;AAAA;AAIE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAG1B,gBAAqC;AAGrC,qBAAY;AAAA;AAAA,EAEjC,oBAAoB;AAC1B,SAAK,KAAK,YAAY;AAAA,EACxB;AAAA,EAEA,SAAS;AACP,WAAO;AAAA;AAAA;AAAA,gBAGK,SAAS;AAAA,MACf,KAAK;AAAA;AAAA,MAGL,cAAc,KAAK,SAAS;AAAA,MAC5B,eAAe,KAAK,SAAS;AAAA,MAC7B,cAAc,KAAK,SAAS;AAAA;AAAA,MAG5B,kBAAkB,KAAK;AAAA,IACzB,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA,UAIA,KAAK,YACH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAMY,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,yBAE3B,KAAK,iBAAiB;AAAA;AAAA;AAAA,gBAInC,EAAE;AAAA;AAAA;AAAA,EAGZ;AACF;AAnDqB,OACZ,SAAyB,CAAC,0BAAiB,oBAAQ,yBAAY;AADnD,OAEZ,eAAe,EAAE,mBAAmB,cAAc;AAK5B;AAAA,EAA5B,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GAPR,OAOU;AAGA;AAAA,EAA5B,SAAS,EAAE,MAAM,QAAQ,CAAC;AAAA,GAVR,OAUU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadio
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.EFPAPHDN.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio/radio.ts
|
|
6
6
|
var radio_default = SynRadio;
|
|
@@ -9,4 +9,4 @@ SynRadio.define("syn-radio");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.DN2RWBXM.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTabGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2TG4SORD.js";
|
|
4
4
|
|
|
5
5
|
// src/components/tab-group/tab-group.ts
|
|
6
6
|
var tab_group_default = SynTabGroup;
|
|
@@ -9,4 +9,4 @@ SynTabGroup.define("syn-tab-group");
|
|
|
9
9
|
export {
|
|
10
10
|
tab_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.DSTRFXMO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynProgressRing
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.YNWZ5ZFI.js";
|
|
4
4
|
|
|
5
5
|
// src/components/progress-ring/progress-ring.ts
|
|
6
6
|
var progress_ring_default = SynProgressRing;
|
|
@@ -9,4 +9,4 @@ SynProgressRing.define("syn-progress-ring");
|
|
|
9
9
|
export {
|
|
10
10
|
progress_ring_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.DYUWNUJK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.FIYONEFX.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.E6XELP7N.js.map
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
} from "./chunk.66LQF6IO.js";
|
|
4
4
|
import {
|
|
5
5
|
icon_default
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.BRJMFR3A.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.WVVQK5TE.js";
|
|
10
|
-
import {
|
|
11
|
-
LocalizeController
|
|
12
|
-
} from "./chunk.GIU3H3J3.js";
|
|
13
10
|
import {
|
|
14
11
|
watch
|
|
15
12
|
} from "./chunk.74IOULXM.js";
|
|
13
|
+
import {
|
|
14
|
+
LocalizeController
|
|
15
|
+
} from "./chunk.GIU3H3J3.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.JHSYQUJH.js";
|
|
22
22
|
import {
|
|
23
23
|
__decorateClass
|
|
24
24
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -184,4 +184,4 @@ __decorateClass([
|
|
|
184
184
|
export {
|
|
185
185
|
SynHeader
|
|
186
186
|
};
|
|
187
|
-
//# sourceMappingURL=chunk.
|
|
187
|
+
//# sourceMappingURL=chunk.EAFPSNLJ.js.map
|
|
@@ -6,19 +6,16 @@ import {
|
|
|
6
6
|
} from "./chunk.EHSNF4SS.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIcon
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.YNJ5L3DR.js";
|
|
10
10
|
import {
|
|
11
11
|
watch
|
|
12
12
|
} from "./chunk.74IOULXM.js";
|
|
13
|
-
import {
|
|
14
|
-
enableDefaultSettings
|
|
15
|
-
} from "./chunk.OLCT57R5.js";
|
|
16
13
|
import {
|
|
17
14
|
component_styles_default
|
|
18
15
|
} from "./chunk.NLYVOJGK.js";
|
|
19
16
|
import {
|
|
20
17
|
SynergyElement
|
|
21
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.JHSYQUJH.js";
|
|
22
19
|
import {
|
|
23
20
|
__decorateClass
|
|
24
21
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -113,11 +110,8 @@ __decorateClass([
|
|
|
113
110
|
__decorateClass([
|
|
114
111
|
watch("disabled", { waitUntilFirstUpdate: true })
|
|
115
112
|
], SynRadio.prototype, "handleDisabledChange", 1);
|
|
116
|
-
SynRadio = __decorateClass([
|
|
117
|
-
enableDefaultSettings("SynRadio")
|
|
118
|
-
], SynRadio);
|
|
119
113
|
|
|
120
114
|
export {
|
|
121
115
|
SynRadio
|
|
122
116
|
};
|
|
123
|
-
//# sourceMappingURL=chunk.
|
|
117
|
+
//# sourceMappingURL=chunk.EFPAPHDN.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 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';\n\n/**\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 */\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>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vB,mBAAmB,KAAK;AAAA,MACxB,kBAAkB,KAAK;AAAA,MACvB,gBAAgB,KAAK,SAAS;AAAA,MAC9B,iBAAiB,KAAK,SAAS;AAAA,MAC/B,gBAAgB,KAAK,SAAS;AAAA,IAChC,CAAC,CAAC;AAAA;AAAA,sBAEY,UAAU,KAAK,UAAU,sBAAsB,EAAE,EAAE;AAAA,YAC7D,KAAK,UACH,8GACA,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMd;AACF;AAxFqB,SACZ,SAAyB,CAAC,0BAAiB,sBAAQ,2BAAY;AADnD,SAEZ,eAAe,EAAE,YAAY,QAAQ;AAEnC;AAAA,EAAR,MAAM;AAAA,GAJY,SAIV;AACU;AAAA,EAAlB,MAAM;AAAA,GALY,SAKA;AAGP;AAAA,EAAX,SAAS;AAAA,GARS,SAQP;AAMiB;AAAA,EAA5B,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GAdR,SAcU;AAGe;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAjBvB,SAiByB;AAqC5C;AAAA,EADC,MAAM,SAAS;AAAA,GArDG,SAsDnB;AAMA;AAAA,EADC,MAAM,YAAY,EAAE,sBAAsB,KAAK,CAAC;AAAA,GA3D9B,SA4DnB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.NLYVOJGK.js";
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.JHSYQUJH.js";
|
|
13
13
|
import {
|
|
14
14
|
__decorateClass,
|
|
15
15
|
__spreadProps,
|
|
@@ -415,4 +415,4 @@ __decorateClass([
|
|
|
415
415
|
export {
|
|
416
416
|
SynPopup
|
|
417
417
|
};
|
|
418
|
-
//# sourceMappingURL=chunk.
|
|
418
|
+
//# sourceMappingURL=chunk.EHRE7REF.js.map
|