@synergy-design-system/components 3.5.0 → 3.6.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.V6TCG5BQ.js → chunk.2A5ZKU32.js} +7 -7
- package/dist/chunks/{chunk.CV7OGSN7.js → chunk.2IVMHEQ6.js} +7 -7
- package/dist/chunks/{chunk.5T4HS4EI.js → chunk.2PPN6KVK.js} +2 -2
- package/dist/chunks/{chunk.DEJAPNIZ.js → chunk.3334XOIY.js} +25 -17
- package/dist/chunks/chunk.3334XOIY.js.map +7 -0
- package/dist/chunks/{chunk.CPC3JTDA.js → chunk.34DCXKYT.js} +7 -7
- package/dist/chunks/{chunk.XCFOLSPD.js → chunk.36JGEYPF.js} +2 -2
- package/dist/chunks/{chunk.IFEFFC3Q.js → chunk.3NWL4AL3.js} +19 -19
- package/dist/chunks/{chunk.EAEQ3AGO.js → chunk.3WVDHGXC.js} +5 -5
- package/dist/chunks/{chunk.OY6ZX6TH.js → chunk.3XZMOCG6.js} +80 -14
- package/dist/chunks/chunk.3XZMOCG6.js.map +7 -0
- package/dist/chunks/{chunk.WEOHOC3C.js → chunk.4GDY7NEK.js} +37 -3
- package/dist/chunks/chunk.4GDY7NEK.js.map +7 -0
- package/dist/chunks/{chunk.RHL3SPJO.js → chunk.4ZWPK4JG.js} +9 -9
- package/dist/chunks/{chunk.RSTYXHB5.js → chunk.57A42NLG.js} +2 -2
- package/dist/chunks/{chunk.EUQYBYAZ.js → chunk.5QUHHGOD.js} +2 -2
- package/dist/chunks/{chunk.XQZR2X4X.js → chunk.6LMYTIGS.js} +2 -2
- package/dist/chunks/{chunk.KT6MHQM6.js → chunk.6VJY3TRA.js} +15 -13
- package/dist/chunks/chunk.6VJY3TRA.js.map +7 -0
- package/dist/chunks/{chunk.UCRA4FZW.js → chunk.A2AYJJ7H.js} +2 -2
- package/dist/chunks/{chunk.BZMKXI2L.js → chunk.AHX2WNRS.js} +2 -2
- package/dist/chunks/{chunk.GIEAMHSU.js → chunk.AOOC5ALQ.js} +4 -7
- package/dist/chunks/chunk.AOOC5ALQ.js.map +7 -0
- package/dist/chunks/{chunk.UNYO3GI7.js → chunk.CAEBFUZN.js} +143 -50
- package/dist/chunks/chunk.CAEBFUZN.js.map +7 -0
- package/dist/chunks/{chunk.OZ3LPRZE.js → chunk.CVUNFQUG.js} +2 -2
- package/dist/chunks/{chunk.UOEHTGNM.js → chunk.D5UFMTUH.js} +2 -2
- package/dist/chunks/{chunk.AVH3ZNCM.js → chunk.DFMLUH2N.js} +2 -2
- package/dist/chunks/{chunk.5RI2MXEU.js → chunk.E3U7WNRA.js} +8 -11
- package/dist/chunks/chunk.E3U7WNRA.js.map +7 -0
- package/dist/chunks/{chunk.MZJLG4BF.js → chunk.EA2ED5LW.js} +2 -2
- package/dist/chunks/{chunk.UE2OCWAE.js → chunk.EJTQEUF4.js} +2 -2
- package/dist/chunks/{chunk.X4NXSNI6.js → chunk.EPMUBNXV.js} +2 -2
- package/dist/chunks/{chunk.YOFWLXEH.js → chunk.EQUDFX74.js} +16 -10
- package/dist/chunks/chunk.EQUDFX74.js.map +7 -0
- package/dist/chunks/{chunk.EX4R7WUE.js → chunk.FDOTWE5Q.js} +5 -5
- package/dist/chunks/{chunk.BQ7JABKS.js → chunk.HBXMQ7PF.js} +5 -5
- package/dist/chunks/{chunk.3XQ5VLXY.js → chunk.HINYMLWI.js} +2 -2
- package/dist/chunks/{chunk.7J4TXMXH.js → chunk.HSSW752S.js} +2 -2
- package/dist/chunks/{chunk.FFAHZBAJ.js → chunk.HZ74RYOQ.js} +2 -2
- package/dist/chunks/{chunk.MCKS4JLW.js → chunk.IKGD2H5A.js} +3 -3
- package/dist/chunks/{chunk.V4GFOKBI.js → chunk.IUFTAV2I.js} +2 -2
- package/dist/chunks/{chunk.V4GFOKBI.js.map → chunk.IUFTAV2I.js.map} +1 -1
- package/dist/chunks/{chunk.KGECDG22.js → chunk.J2QD6WCF.js} +2 -2
- package/dist/chunks/{chunk.XUAUB2UI.js → chunk.J37FDI7L.js} +2 -2
- package/dist/chunks/{chunk.GZVYO3UJ.js → chunk.JHE7UVMI.js} +2 -2
- package/dist/chunks/{chunk.LKMV5MVK.js → chunk.JKA6KBXT.js} +6 -6
- package/dist/chunks/{chunk.K5OSYXNU.js → chunk.JWA6M5ZZ.js} +2 -2
- package/dist/chunks/{chunk.PODVUIE6.js → chunk.JXKV4DYA.js} +2 -2
- package/dist/chunks/{chunk.FKVCNOHV.js → chunk.KC4VEV4Y.js} +4 -4
- package/dist/chunks/{chunk.STHUTCU7.js → chunk.KURP6IS6.js} +8 -8
- package/dist/chunks/{chunk.YGMDIJUQ.js → chunk.L6H7CHLC.js} +2 -2
- package/dist/chunks/{chunk.TBZAI6T6.js → chunk.LJNMLUJK.js} +3 -3
- package/dist/chunks/{chunk.3AZ6O5UW.js → chunk.LWIAMY4V.js} +3 -3
- package/dist/chunks/{chunk.JJ2K4ORZ.js → chunk.MAKIWTSE.js} +10 -13
- package/dist/chunks/chunk.MAKIWTSE.js.map +7 -0
- package/dist/chunks/{chunk.DFS7LPJO.js → chunk.N2P6JGTF.js} +2 -2
- package/dist/chunks/{chunk.RZ3REQWL.js → chunk.N5ZE6OSY.js} +2 -2
- package/dist/chunks/{chunk.VH6SKOPX.js → chunk.NEHYBY5N.js} +2 -2
- package/dist/chunks/{chunk.YUUXCVT2.js → chunk.NMBIRUQU.js} +2 -2
- package/dist/chunks/{chunk.2BATB6NO.js → chunk.NMWM3BP7.js} +4 -4
- package/dist/chunks/{chunk.THNHZ3LC.js → chunk.NUNQOP7A.js} +2 -2
- package/dist/chunks/{chunk.BJUQE5YL.js → chunk.NWNEDOFO.js} +2 -2
- package/dist/chunks/{chunk.3IQ2QEPZ.js → chunk.NXIQ25W4.js} +21 -13
- package/dist/chunks/chunk.NXIQ25W4.js.map +7 -0
- package/dist/chunks/{chunk.JCWTUOY2.js → chunk.O5STVMJZ.js} +11 -11
- package/dist/chunks/{chunk.MCAB6KY5.js → chunk.OEGAZKUI.js} +2 -2
- package/dist/chunks/{chunk.Q7G25NQW.js → chunk.P4ZXNQQ4.js} +2 -2
- package/dist/chunks/{chunk.G7UFPFQ2.js → chunk.PDOQLAYW.js} +3 -3
- package/dist/chunks/{chunk.MJA5HEFN.js → chunk.PDVI2IPR.js} +2 -2
- package/dist/chunks/{chunk.SWMV7T2O.js → chunk.PIKKRGFU.js} +6 -6
- package/dist/chunks/{chunk.Y5XMLHNP.js → chunk.PLIBKR5J.js} +2 -2
- package/dist/chunks/{chunk.JHJFFBNL.js → chunk.Q3XZRHS6.js} +5 -5
- package/dist/chunks/{chunk.UNTUMNPO.js → chunk.Q7TOL5PH.js} +6 -6
- package/dist/chunks/{chunk.UUECFETB.js → chunk.Q7VKIJC3.js} +2 -2
- package/dist/chunks/{chunk.GZHQAHOL.js → chunk.QKRQEB4F.js} +11 -4
- package/dist/chunks/chunk.QKRQEB4F.js.map +7 -0
- package/dist/chunks/{chunk.FKDUVEOP.js → chunk.QOBJ2NX5.js} +3 -3
- package/dist/chunks/{chunk.7TPOI264.js → chunk.QTVJRWRP.js} +10 -10
- package/dist/chunks/{chunk.O7OELAMY.js → chunk.R4FKW3GX.js} +8 -8
- package/dist/chunks/{chunk.J3GDNLNN.js → chunk.RCI5CCXX.js} +2 -2
- package/dist/chunks/{chunk.CMCJB5AA.js → chunk.RU2RT37T.js} +6 -6
- package/dist/chunks/{chunk.6A2AHHWZ.js → chunk.RXRHPQ7D.js} +2 -2
- package/dist/chunks/{chunk.BVFTZ3AB.js → chunk.S2IHOYLF.js} +2 -2
- package/dist/chunks/{chunk.7RZ27FQL.js → chunk.SBAXRTPJ.js} +5 -8
- package/dist/chunks/chunk.SBAXRTPJ.js.map +7 -0
- package/dist/chunks/{chunk.DYE6F2Y6.js → chunk.SCKEUIIF.js} +2 -2
- package/dist/chunks/{chunk.TDWLNFH4.js → chunk.SCMER6XQ.js} +2 -2
- package/dist/chunks/{chunk.6L4RCUNM.js → chunk.SSOL4LVM.js} +10 -13
- package/dist/chunks/chunk.SSOL4LVM.js.map +7 -0
- package/dist/chunks/{chunk.WUKKH3NE.js → chunk.SYMEFYEK.js} +2 -2
- package/dist/chunks/{chunk.IPWLCVHW.js → chunk.TASXJ4ZX.js} +2 -2
- package/dist/chunks/{chunk.SKQK3F66.js → chunk.TB237H74.js} +2 -2
- package/dist/chunks/{chunk.TVVJTCGG.js → chunk.TUSN4AOP.js} +4 -5
- package/dist/chunks/chunk.TUSN4AOP.js.map +7 -0
- package/dist/chunks/{chunk.ZJ6JMFVP.js → chunk.TVSMRXAW.js} +2 -2
- package/dist/chunks/{chunk.TSWB7UFK.js → chunk.UA5B6CPN.js} +82 -15
- package/dist/chunks/chunk.UA5B6CPN.js.map +7 -0
- package/dist/chunks/{chunk.SBLP34SQ.js → chunk.UCXZFEKY.js} +2 -2
- package/dist/chunks/{chunk.NTBDBGG7.js → chunk.UEMDEZX6.js} +2 -2
- package/dist/chunks/{chunk.CJLZ3QMG.js → chunk.VCJQ6DPU.js} +9 -9
- package/dist/chunks/{chunk.FOH4KP4A.js → chunk.VEIXDC5G.js} +6 -6
- package/dist/chunks/{chunk.XLYCEJU4.js → chunk.VU6FOBTQ.js} +2 -2
- package/dist/chunks/{chunk.SFBSB7EM.js → chunk.WBOHZGDF.js} +5 -5
- package/dist/chunks/{chunk.N4Y2OUEA.js → chunk.WM6M3IWG.js} +2 -2
- package/dist/chunks/{chunk.XWUVIVOV.js → chunk.WOUHL4WE.js} +2 -2
- package/dist/chunks/{chunk.H63OT7RB.js → chunk.X5VH7MID.js} +4 -7
- package/dist/chunks/chunk.X5VH7MID.js.map +7 -0
- package/dist/chunks/{chunk.2YBC7C2K.js → chunk.XAXHRDXN.js} +5 -5
- package/dist/chunks/{chunk.VHCBBPBS.js → chunk.XBDUDOPF.js} +8 -8
- package/dist/chunks/{chunk.XZ7DDRXL.js → chunk.XIO6NVNU.js} +6 -6
- package/dist/chunks/{chunk.KUTXV7RO.js → chunk.XO7VQMVX.js} +2 -2
- package/dist/chunks/{chunk.SN2VEGTZ.js → chunk.XVXJDFUK.js} +2 -2
- package/dist/chunks/{chunk.GCISSJZP.js → chunk.XYDE666E.js} +2 -2
- package/dist/chunks/{chunk.BBPFCDZW.js → chunk.YSWL6IJW.js} +2 -2
- package/dist/chunks/{chunk.UQ65IBBL.js → chunk.YYCO33PM.js} +2 -2
- package/dist/chunks/{chunk.GT6WAUZ7.js → chunk.Z7JE3NFJ.js} +2 -2
- package/dist/chunks/{chunk.CKADV3OI.js → chunk.ZJSALTLL.js} +6 -6
- package/dist/chunks/{chunk.3DCW4HDA.js → chunk.ZOW7OV2U.js} +2 -2
- package/dist/chunks/{chunk.QGLCODBD.js → chunk.ZQJTGEHX.js} +2 -2
- package/dist/chunks/{chunk.LALGMGC2.js → chunk.ZS2RODX4.js} +2 -2
- package/dist/components/accordion/accordion.component.js +3 -3
- package/dist/components/accordion/accordion.js +4 -4
- package/dist/components/alert/alert.component.js +9 -10
- package/dist/components/alert/alert.js +10 -11
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/badge/badge.component.js +4 -4
- package/dist/components/badge/badge.js +5 -5
- package/dist/components/breadcrumb/breadcrumb.component.js +9 -9
- package/dist/components/breadcrumb/breadcrumb.js +10 -10
- 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 -8
- package/dist/components/button/button.js +9 -9
- 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 +6 -6
- package/dist/components/checkbox/checkbox.js +7 -7
- package/dist/components/combobox/combobox.component.js +14 -15
- package/dist/components/combobox/combobox.js +15 -16
- package/dist/components/details/details.component.js +7 -7
- package/dist/components/details/details.js +8 -8
- package/dist/components/dialog/dialog.component.js +8 -8
- package/dist/components/dialog/dialog.js +9 -9
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +8 -8
- package/dist/components/drawer/drawer.js +9 -9
- package/dist/components/dropdown/dropdown.component.js +6 -8
- package/dist/components/dropdown/dropdown.js +7 -9
- package/dist/components/dropdown/dropdown.styles.js +1 -1
- package/dist/components/file/file.component.js +9 -9
- package/dist/components/file/file.js +10 -10
- package/dist/components/header/header.component.js +8 -8
- package/dist/components/header/header.js +9 -9
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.migration.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +6 -6
- package/dist/components/icon-button/icon-button.js +7 -7
- package/dist/components/input/input.component.js +9 -9
- package/dist/components/input/input.js +10 -10
- package/dist/components/menu/menu.component.js +3 -4
- package/dist/components/menu/menu.js +4 -5
- package/dist/components/menu/menu.styles.js +1 -1
- package/dist/components/menu-item/menu-item.component.js +11 -13
- package/dist/components/menu-item/menu-item.js +12 -14
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/menu-label/menu-label.component.js +4 -5
- package/dist/components/menu-label/menu-label.js +5 -6
- package/dist/components/menu-label/menu-label.styles.js +1 -1
- package/dist/components/nav-item/nav-item.component.js +6 -6
- package/dist/components/nav-item/nav-item.js +7 -7
- package/dist/components/optgroup/optgroup.component.js +3 -3
- package/dist/components/optgroup/optgroup.js +4 -4
- package/dist/components/option/option.component.js +8 -8
- package/dist/components/option/option.js +9 -9
- package/dist/components/popup/popup.component.js +3 -4
- package/dist/components/popup/popup.js +4 -5
- package/dist/components/popup/popup.styles.js +1 -1
- package/dist/components/prio-nav/prio-nav.component.js +17 -20
- package/dist/components/prio-nav/prio-nav.js +18 -21
- 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 +6 -6
- package/dist/components/radio/radio.js +7 -7
- package/dist/components/radio-button/radio-button.component.js +3 -3
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +7 -9
- package/dist/components/range/range.js +8 -10
- 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 +11 -12
- package/dist/components/select/select.js +12 -13
- package/dist/components/side-nav/side-nav.component.js +13 -13
- package/dist/components/side-nav/side-nav.js +14 -14
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/switch/switch.component.js +3 -3
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/tab/tab.component.js +8 -8
- package/dist/components/tab/tab.js +9 -9
- package/dist/components/tab-group/tab-group.component.js +9 -9
- package/dist/components/tab-group/tab-group.js +10 -10
- 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 +8 -8
- package/dist/components/tag/tag.js +9 -9
- package/dist/components/textarea/textarea.component.js +3 -3
- package/dist/components/textarea/textarea.js +4 -4
- package/dist/components/tooltip/tooltip.component.d.ts +6 -0
- package/dist/components/tooltip/tooltip.component.js +6 -8
- package/dist/components/tooltip/tooltip.js +7 -9
- package/dist/components/tooltip/tooltip.styles.js +1 -1
- package/dist/components/validate/utility.d.ts +11 -0
- package/dist/components/validate/utility.js +4 -2
- package/dist/components/validate/validate.component.d.ts +21 -2
- package/dist/components/validate/validate.component.js +15 -12
- package/dist/components/validate/validate.js +16 -13
- package/dist/custom-elements.json +142 -84
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +164 -171
- package/dist/utilities/icon-library.js +2 -2
- package/dist/vscode.html-custom-data.json +30 -26
- package/package.json +4 -4
- package/dist/chunks/chunk.2KYFCKCK.js +0 -10
- package/dist/chunks/chunk.2KYFCKCK.js.map +0 -7
- package/dist/chunks/chunk.36EHOOOO.js +0 -23
- package/dist/chunks/chunk.36EHOOOO.js.map +0 -7
- package/dist/chunks/chunk.3IQ2QEPZ.js.map +0 -7
- package/dist/chunks/chunk.5RI2MXEU.js.map +0 -7
- package/dist/chunks/chunk.6L4RCUNM.js.map +0 -7
- package/dist/chunks/chunk.7RZ27FQL.js.map +0 -7
- package/dist/chunks/chunk.CCY6IYFD.js +0 -107
- package/dist/chunks/chunk.CCY6IYFD.js.map +0 -7
- package/dist/chunks/chunk.DEJAPNIZ.js.map +0 -7
- package/dist/chunks/chunk.E7LBPRDC.js +0 -18
- package/dist/chunks/chunk.E7LBPRDC.js.map +0 -7
- package/dist/chunks/chunk.GIEAMHSU.js.map +0 -7
- package/dist/chunks/chunk.GZHQAHOL.js.map +0 -7
- package/dist/chunks/chunk.H63OT7RB.js.map +0 -7
- package/dist/chunks/chunk.JILCM7FD.js +0 -26
- package/dist/chunks/chunk.JILCM7FD.js.map +0 -7
- package/dist/chunks/chunk.JJ2K4ORZ.js.map +0 -7
- package/dist/chunks/chunk.KT6MHQM6.js.map +0 -7
- package/dist/chunks/chunk.N7HN275B.js +0 -161
- package/dist/chunks/chunk.N7HN275B.js.map +0 -7
- package/dist/chunks/chunk.OY6ZX6TH.js.map +0 -7
- package/dist/chunks/chunk.TSWB7UFK.js.map +0 -7
- package/dist/chunks/chunk.TVVJTCGG.js.map +0 -7
- package/dist/chunks/chunk.UNYO3GI7.js.map +0 -7
- package/dist/chunks/chunk.V37RYGE7.js +0 -24
- package/dist/chunks/chunk.V37RYGE7.js.map +0 -7
- package/dist/chunks/chunk.WEOHOC3C.js.map +0 -7
- package/dist/chunks/chunk.YOFWLXEH.js.map +0 -7
- package/dist/components/alert/alert.custom.styles.d.ts +0 -2
- package/dist/components/alert/alert.custom.styles.js +0 -8
- package/dist/components/alert/alert.custom.styles.js.map +0 -7
- package/dist/components/dropdown/dropdown.custom.styles.d.ts +0 -2
- package/dist/components/dropdown/dropdown.custom.styles.js +0 -8
- package/dist/components/dropdown/dropdown.custom.styles.js.map +0 -7
- package/dist/components/menu/menu.custom.styles.d.ts +0 -2
- package/dist/components/menu/menu.custom.styles.js +0 -8
- package/dist/components/menu/menu.custom.styles.js.map +0 -7
- package/dist/components/menu-item/menu-item.custom.styles.d.ts +0 -2
- package/dist/components/menu-item/menu-item.custom.styles.js +0 -8
- package/dist/components/menu-item/menu-item.custom.styles.js.map +0 -7
- package/dist/components/menu-label/menu-label.custom.styles.d.ts +0 -2
- package/dist/components/menu-label/menu-label.custom.styles.js +0 -8
- package/dist/components/menu-label/menu-label.custom.styles.js.map +0 -7
- package/dist/components/popup/popup.custom.styles.d.ts +0 -2
- package/dist/components/popup/popup.custom.styles.js +0 -8
- package/dist/components/popup/popup.custom.styles.js.map +0 -7
- package/dist/components/tooltip/tooltip.custom.styles.d.ts +0 -2
- package/dist/components/tooltip/tooltip.custom.styles.js +0 -8
- package/dist/components/tooltip/tooltip.custom.styles.js.map +0 -7
- /package/dist/chunks/{chunk.V6TCG5BQ.js.map → chunk.2A5ZKU32.js.map} +0 -0
- /package/dist/chunks/{chunk.CV7OGSN7.js.map → chunk.2IVMHEQ6.js.map} +0 -0
- /package/dist/chunks/{chunk.5T4HS4EI.js.map → chunk.2PPN6KVK.js.map} +0 -0
- /package/dist/chunks/{chunk.CPC3JTDA.js.map → chunk.34DCXKYT.js.map} +0 -0
- /package/dist/chunks/{chunk.XCFOLSPD.js.map → chunk.36JGEYPF.js.map} +0 -0
- /package/dist/chunks/{chunk.IFEFFC3Q.js.map → chunk.3NWL4AL3.js.map} +0 -0
- /package/dist/chunks/{chunk.EAEQ3AGO.js.map → chunk.3WVDHGXC.js.map} +0 -0
- /package/dist/chunks/{chunk.RHL3SPJO.js.map → chunk.4ZWPK4JG.js.map} +0 -0
- /package/dist/chunks/{chunk.RSTYXHB5.js.map → chunk.57A42NLG.js.map} +0 -0
- /package/dist/chunks/{chunk.EUQYBYAZ.js.map → chunk.5QUHHGOD.js.map} +0 -0
- /package/dist/chunks/{chunk.XQZR2X4X.js.map → chunk.6LMYTIGS.js.map} +0 -0
- /package/dist/chunks/{chunk.UCRA4FZW.js.map → chunk.A2AYJJ7H.js.map} +0 -0
- /package/dist/chunks/{chunk.BZMKXI2L.js.map → chunk.AHX2WNRS.js.map} +0 -0
- /package/dist/chunks/{chunk.OZ3LPRZE.js.map → chunk.CVUNFQUG.js.map} +0 -0
- /package/dist/chunks/{chunk.UOEHTGNM.js.map → chunk.D5UFMTUH.js.map} +0 -0
- /package/dist/chunks/{chunk.AVH3ZNCM.js.map → chunk.DFMLUH2N.js.map} +0 -0
- /package/dist/chunks/{chunk.MZJLG4BF.js.map → chunk.EA2ED5LW.js.map} +0 -0
- /package/dist/chunks/{chunk.UE2OCWAE.js.map → chunk.EJTQEUF4.js.map} +0 -0
- /package/dist/chunks/{chunk.X4NXSNI6.js.map → chunk.EPMUBNXV.js.map} +0 -0
- /package/dist/chunks/{chunk.EX4R7WUE.js.map → chunk.FDOTWE5Q.js.map} +0 -0
- /package/dist/chunks/{chunk.BQ7JABKS.js.map → chunk.HBXMQ7PF.js.map} +0 -0
- /package/dist/chunks/{chunk.3XQ5VLXY.js.map → chunk.HINYMLWI.js.map} +0 -0
- /package/dist/chunks/{chunk.7J4TXMXH.js.map → chunk.HSSW752S.js.map} +0 -0
- /package/dist/chunks/{chunk.FFAHZBAJ.js.map → chunk.HZ74RYOQ.js.map} +0 -0
- /package/dist/chunks/{chunk.MCKS4JLW.js.map → chunk.IKGD2H5A.js.map} +0 -0
- /package/dist/chunks/{chunk.KGECDG22.js.map → chunk.J2QD6WCF.js.map} +0 -0
- /package/dist/chunks/{chunk.XUAUB2UI.js.map → chunk.J37FDI7L.js.map} +0 -0
- /package/dist/chunks/{chunk.GZVYO3UJ.js.map → chunk.JHE7UVMI.js.map} +0 -0
- /package/dist/chunks/{chunk.LKMV5MVK.js.map → chunk.JKA6KBXT.js.map} +0 -0
- /package/dist/chunks/{chunk.K5OSYXNU.js.map → chunk.JWA6M5ZZ.js.map} +0 -0
- /package/dist/chunks/{chunk.PODVUIE6.js.map → chunk.JXKV4DYA.js.map} +0 -0
- /package/dist/chunks/{chunk.FKVCNOHV.js.map → chunk.KC4VEV4Y.js.map} +0 -0
- /package/dist/chunks/{chunk.STHUTCU7.js.map → chunk.KURP6IS6.js.map} +0 -0
- /package/dist/chunks/{chunk.YGMDIJUQ.js.map → chunk.L6H7CHLC.js.map} +0 -0
- /package/dist/chunks/{chunk.TBZAI6T6.js.map → chunk.LJNMLUJK.js.map} +0 -0
- /package/dist/chunks/{chunk.3AZ6O5UW.js.map → chunk.LWIAMY4V.js.map} +0 -0
- /package/dist/chunks/{chunk.DFS7LPJO.js.map → chunk.N2P6JGTF.js.map} +0 -0
- /package/dist/chunks/{chunk.RZ3REQWL.js.map → chunk.N5ZE6OSY.js.map} +0 -0
- /package/dist/chunks/{chunk.VH6SKOPX.js.map → chunk.NEHYBY5N.js.map} +0 -0
- /package/dist/chunks/{chunk.YUUXCVT2.js.map → chunk.NMBIRUQU.js.map} +0 -0
- /package/dist/chunks/{chunk.2BATB6NO.js.map → chunk.NMWM3BP7.js.map} +0 -0
- /package/dist/chunks/{chunk.THNHZ3LC.js.map → chunk.NUNQOP7A.js.map} +0 -0
- /package/dist/chunks/{chunk.BJUQE5YL.js.map → chunk.NWNEDOFO.js.map} +0 -0
- /package/dist/chunks/{chunk.JCWTUOY2.js.map → chunk.O5STVMJZ.js.map} +0 -0
- /package/dist/chunks/{chunk.MCAB6KY5.js.map → chunk.OEGAZKUI.js.map} +0 -0
- /package/dist/chunks/{chunk.Q7G25NQW.js.map → chunk.P4ZXNQQ4.js.map} +0 -0
- /package/dist/chunks/{chunk.G7UFPFQ2.js.map → chunk.PDOQLAYW.js.map} +0 -0
- /package/dist/chunks/{chunk.MJA5HEFN.js.map → chunk.PDVI2IPR.js.map} +0 -0
- /package/dist/chunks/{chunk.SWMV7T2O.js.map → chunk.PIKKRGFU.js.map} +0 -0
- /package/dist/chunks/{chunk.Y5XMLHNP.js.map → chunk.PLIBKR5J.js.map} +0 -0
- /package/dist/chunks/{chunk.JHJFFBNL.js.map → chunk.Q3XZRHS6.js.map} +0 -0
- /package/dist/chunks/{chunk.UNTUMNPO.js.map → chunk.Q7TOL5PH.js.map} +0 -0
- /package/dist/chunks/{chunk.UUECFETB.js.map → chunk.Q7VKIJC3.js.map} +0 -0
- /package/dist/chunks/{chunk.FKDUVEOP.js.map → chunk.QOBJ2NX5.js.map} +0 -0
- /package/dist/chunks/{chunk.7TPOI264.js.map → chunk.QTVJRWRP.js.map} +0 -0
- /package/dist/chunks/{chunk.O7OELAMY.js.map → chunk.R4FKW3GX.js.map} +0 -0
- /package/dist/chunks/{chunk.J3GDNLNN.js.map → chunk.RCI5CCXX.js.map} +0 -0
- /package/dist/chunks/{chunk.CMCJB5AA.js.map → chunk.RU2RT37T.js.map} +0 -0
- /package/dist/chunks/{chunk.6A2AHHWZ.js.map → chunk.RXRHPQ7D.js.map} +0 -0
- /package/dist/chunks/{chunk.BVFTZ3AB.js.map → chunk.S2IHOYLF.js.map} +0 -0
- /package/dist/chunks/{chunk.DYE6F2Y6.js.map → chunk.SCKEUIIF.js.map} +0 -0
- /package/dist/chunks/{chunk.TDWLNFH4.js.map → chunk.SCMER6XQ.js.map} +0 -0
- /package/dist/chunks/{chunk.WUKKH3NE.js.map → chunk.SYMEFYEK.js.map} +0 -0
- /package/dist/chunks/{chunk.IPWLCVHW.js.map → chunk.TASXJ4ZX.js.map} +0 -0
- /package/dist/chunks/{chunk.SKQK3F66.js.map → chunk.TB237H74.js.map} +0 -0
- /package/dist/chunks/{chunk.ZJ6JMFVP.js.map → chunk.TVSMRXAW.js.map} +0 -0
- /package/dist/chunks/{chunk.SBLP34SQ.js.map → chunk.UCXZFEKY.js.map} +0 -0
- /package/dist/chunks/{chunk.NTBDBGG7.js.map → chunk.UEMDEZX6.js.map} +0 -0
- /package/dist/chunks/{chunk.CJLZ3QMG.js.map → chunk.VCJQ6DPU.js.map} +0 -0
- /package/dist/chunks/{chunk.FOH4KP4A.js.map → chunk.VEIXDC5G.js.map} +0 -0
- /package/dist/chunks/{chunk.XLYCEJU4.js.map → chunk.VU6FOBTQ.js.map} +0 -0
- /package/dist/chunks/{chunk.SFBSB7EM.js.map → chunk.WBOHZGDF.js.map} +0 -0
- /package/dist/chunks/{chunk.N4Y2OUEA.js.map → chunk.WM6M3IWG.js.map} +0 -0
- /package/dist/chunks/{chunk.XWUVIVOV.js.map → chunk.WOUHL4WE.js.map} +0 -0
- /package/dist/chunks/{chunk.2YBC7C2K.js.map → chunk.XAXHRDXN.js.map} +0 -0
- /package/dist/chunks/{chunk.VHCBBPBS.js.map → chunk.XBDUDOPF.js.map} +0 -0
- /package/dist/chunks/{chunk.XZ7DDRXL.js.map → chunk.XIO6NVNU.js.map} +0 -0
- /package/dist/chunks/{chunk.KUTXV7RO.js.map → chunk.XO7VQMVX.js.map} +0 -0
- /package/dist/chunks/{chunk.SN2VEGTZ.js.map → chunk.XVXJDFUK.js.map} +0 -0
- /package/dist/chunks/{chunk.GCISSJZP.js.map → chunk.XYDE666E.js.map} +0 -0
- /package/dist/chunks/{chunk.BBPFCDZW.js.map → chunk.YSWL6IJW.js.map} +0 -0
- /package/dist/chunks/{chunk.UQ65IBBL.js.map → chunk.YYCO33PM.js.map} +0 -0
- /package/dist/chunks/{chunk.GT6WAUZ7.js.map → chunk.Z7JE3NFJ.js.map} +0 -0
- /package/dist/chunks/{chunk.CKADV3OI.js.map → chunk.ZJSALTLL.js.map} +0 -0
- /package/dist/chunks/{chunk.3DCW4HDA.js.map → chunk.ZOW7OV2U.js.map} +0 -0
- /package/dist/chunks/{chunk.QGLCODBD.js.map → chunk.ZQJTGEHX.js.map} +0 -0
- /package/dist/chunks/{chunk.LALGMGC2.js.map → chunk.ZS2RODX4.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSideNav
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.O5STVMJZ.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.HSSW752S.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynCombobox
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.3NWL4AL3.js";
|
|
4
4
|
|
|
5
5
|
// src/components/combobox/combobox.ts
|
|
6
6
|
var combobox_default = SynCombobox;
|
|
@@ -9,4 +9,4 @@ SynCombobox.define("syn-combobox");
|
|
|
9
9
|
export {
|
|
10
10
|
combobox_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.HZ74RYOQ.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.3T6ULO23.js";
|
|
4
4
|
import {
|
|
5
5
|
SynDivider
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.NEHYBY5N.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.CHFWLQN5.js";
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.IUFTAV2I.js";
|
|
13
13
|
import {
|
|
14
14
|
__decorateClass
|
|
15
15
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -131,4 +131,4 @@ __decorateClass([
|
|
|
131
131
|
export {
|
|
132
132
|
SynOptgroup
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=chunk.
|
|
134
|
+
//# sourceMappingURL=chunk.IKGD2H5A.js.map
|
|
@@ -81,7 +81,7 @@ var SynergyElement = class extends LitElement {
|
|
|
81
81
|
_hasRecordedInitialProperties = new WeakMap();
|
|
82
82
|
/* eslint-disable */
|
|
83
83
|
// @ts-expect-error This is auto-injected at build time.
|
|
84
|
-
SynergyElement.version = "3.
|
|
84
|
+
SynergyElement.version = "3.6.1";
|
|
85
85
|
SynergyElement.dependencies = {};
|
|
86
86
|
__decorateClass([
|
|
87
87
|
property()
|
|
@@ -93,4 +93,4 @@ __decorateClass([
|
|
|
93
93
|
export {
|
|
94
94
|
SynergyElement
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=chunk.
|
|
96
|
+
//# sourceMappingURL=chunk.IUFTAV2I.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/internal/synergy-element.ts"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable */\nimport { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n\n// Match event type name strings that are registered on GlobalEventHandlersEventMap...\ntype EventTypeRequiresDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? // ...where the event detail is an object...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? // ...that is non-empty...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? never\n : // ...and has at least one non-optional property\n Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? never\n : T\n : never\n : never;\n\n// The inverse of the above (match any type that doesn't match EventTypeRequiresDetail)\ntype EventTypeDoesNotRequireDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? T\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? T\n : never\n : T\n : T;\n\n// `keyof EventTypesWithRequiredDetail` lists all registered event types that require detail\ntype EventTypesWithRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeRequiresDetail<EventType>]: true;\n};\n\n// `keyof EventTypesWithoutRequiredDetail` lists all registered event types that do NOT require detail\ntype EventTypesWithoutRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeDoesNotRequireDetail<EventType>]: true;\n};\n\n// Helper to make a specific property of an object non-optional\ntype WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };\n\n// Given an event name string, get a valid type for the options to initialize the event that is more restrictive than\n// just CustomEventInit when appropriate (validate the type of the event detail, and require it to be provided if the\n// event requires it)\ntype SynEventInit<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : WithRequired<CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>, 'detail'>\n : CustomEventInit\n : CustomEventInit;\n\n// Given an event name string, get the type of the event\ntype GetCustomEventType<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<unknown>\n ? GlobalEventHandlersEventMap[T]\n : CustomEvent<unknown>\n : CustomEvent<unknown>;\n\n// `keyof ValidEventTypeMap` is equivalent to `keyof GlobalEventHandlersEventMap` but gives a nicer error message\ntype ValidEventTypeMap = EventTypesWithRequiredDetail | EventTypesWithoutRequiredDetail;\n\nexport default class SynergyElement extends LitElement {\n // Make localization attributes reactive\n @property() dir: string;\n @property() lang: string;\n\n /** Emits a custom event with more convenient defaults. */\n emit<T extends string & keyof EventTypesWithoutRequiredDetail>(\n name: EventTypeDoesNotRequireDetail<T>,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T>;\n emit<T extends string & keyof EventTypesWithRequiredDetail>(\n name: EventTypeRequiresDetail<T>,\n options: SynEventInit<T>\n ): GetCustomEventType<T>;\n emit<T extends string & keyof ValidEventTypeMap>(\n name: T,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T> {\n const event = new CustomEvent(name, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {},\n ...options\n });\n\n this.dispatchEvent(event);\n\n return event as GetCustomEventType<T>;\n }\n\n /* eslint-disable */\n // @ts-expect-error This is auto-injected at build time.\n static version = \"3.
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n\n// Match event type name strings that are registered on GlobalEventHandlersEventMap...\ntype EventTypeRequiresDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? // ...where the event detail is an object...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? // ...that is non-empty...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? never\n : // ...and has at least one non-optional property\n Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? never\n : T\n : never\n : never;\n\n// The inverse of the above (match any type that doesn't match EventTypeRequiresDetail)\ntype EventTypeDoesNotRequireDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? T\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? T\n : never\n : T\n : T;\n\n// `keyof EventTypesWithRequiredDetail` lists all registered event types that require detail\ntype EventTypesWithRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeRequiresDetail<EventType>]: true;\n};\n\n// `keyof EventTypesWithoutRequiredDetail` lists all registered event types that do NOT require detail\ntype EventTypesWithoutRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeDoesNotRequireDetail<EventType>]: true;\n};\n\n// Helper to make a specific property of an object non-optional\ntype WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };\n\n// Given an event name string, get a valid type for the options to initialize the event that is more restrictive than\n// just CustomEventInit when appropriate (validate the type of the event detail, and require it to be provided if the\n// event requires it)\ntype SynEventInit<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : WithRequired<CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>, 'detail'>\n : CustomEventInit\n : CustomEventInit;\n\n// Given an event name string, get the type of the event\ntype GetCustomEventType<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<unknown>\n ? GlobalEventHandlersEventMap[T]\n : CustomEvent<unknown>\n : CustomEvent<unknown>;\n\n// `keyof ValidEventTypeMap` is equivalent to `keyof GlobalEventHandlersEventMap` but gives a nicer error message\ntype ValidEventTypeMap = EventTypesWithRequiredDetail | EventTypesWithoutRequiredDetail;\n\nexport default class SynergyElement extends LitElement {\n // Make localization attributes reactive\n @property() dir: string;\n @property() lang: string;\n\n /** Emits a custom event with more convenient defaults. */\n emit<T extends string & keyof EventTypesWithoutRequiredDetail>(\n name: EventTypeDoesNotRequireDetail<T>,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T>;\n emit<T extends string & keyof EventTypesWithRequiredDetail>(\n name: EventTypeRequiresDetail<T>,\n options: SynEventInit<T>\n ): GetCustomEventType<T>;\n emit<T extends string & keyof ValidEventTypeMap>(\n name: T,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T> {\n const event = new CustomEvent(name, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {},\n ...options\n });\n\n this.dispatchEvent(event);\n\n return event as GetCustomEventType<T>;\n }\n\n /* eslint-disable */\n // @ts-expect-error This is auto-injected at build time.\n static version = \"3.6.1\";\n \n\n static define(name: string, elementConstructor = this, options: ElementDefinitionOptions = {}) {\n const currentlyRegisteredConstructor = customElements.get(name) as\n | CustomElementConstructor\n | typeof SynergyElement;\n\n if (!currentlyRegisteredConstructor) {\n // We try to register as the actual class first. If for some reason that fails, we fall back to anonymous classes.\n // customElements can only have 1 class of the same \"object id\" per registry, so that is why the try {} catch {} exists.\n // Some tools like Jest Snapshots and if you import the constructor and call `new SynButton()` they will fail with\n // the anonymous class version.\n try {\n customElements.define(name, elementConstructor, options);\n } catch (_err) {\n customElements.define(name, class extends elementConstructor {}, options);\n }\n return;\n }\n\n let newVersion = ' (unknown version)';\n let existingVersion = newVersion;\n\n if ('version' in elementConstructor && elementConstructor.version) {\n newVersion = ' v' + elementConstructor.version;\n }\n\n if ('version' in currentlyRegisteredConstructor && currentlyRegisteredConstructor.version) {\n existingVersion = ' v' + currentlyRegisteredConstructor.version;\n }\n\n // Need to make sure we're not working with null or empty strings before doing version comparisons.\n if (newVersion && existingVersion && newVersion === existingVersion) {\n // If versions match, we don't need to warn anyone. Carry on.\n return;\n }\n\n console.warn(\n `Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`\n );\n }\n\n static dependencies: Record<string, typeof SynergyElement> = {};\n\n constructor() {\n super();\n Object.entries((this.constructor as typeof SynergyElement).dependencies).forEach(([name, component]) => {\n (this.constructor as typeof SynergyElement).define(name, component);\n });\n }\n\n #hasRecordedInitialProperties = false;\n\n // Store the constructor value of all `static properties = {}`\n initialReflectedProperties: Map<string, unknown> = new Map();\n\n attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null) {\n if (!this.#hasRecordedInitialProperties) {\n (this.constructor as typeof SynergyElement).elementProperties.forEach(\n (obj, prop: keyof typeof this & string) => {\n // eslint-disable-next-line\n if (obj.reflect && this[prop] != null) {\n this.initialReflectedProperties.set(prop, this[prop]);\n }\n }\n );\n\n this.#hasRecordedInitialProperties = true;\n }\n\n super.attributeChangedCallback(name, oldValue, newValue);\n }\n\n protected willUpdate(changedProperties: Parameters<LitElement['willUpdate']>[0]): void {\n super.willUpdate(changedProperties);\n\n // Run the morph fixing *after* willUpdate.\n this.initialReflectedProperties.forEach((value, prop: string & keyof typeof this) => {\n // If a prop changes to `null`, we assume this happens via an attribute changing to `null`.\n // eslint-disable-next-line\n if (changedProperties.has(prop) && this[prop] == null) {\n // Silly type gymnastics to appease the compiler.\n (this as Record<string, unknown>)[prop] = value;\n }\n });\n }\n}\n\nexport interface SynergyFormControl extends SynergyElement {\n // Form attributes\n name: string;\n value: unknown;\n disabled?: boolean;\n defaultValue?: unknown;\n defaultChecked?: boolean;\n form?: string;\n\n // Constraint validation attributes\n pattern?: string;\n min?: number | string | Date;\n max?: number | string | Date;\n step?: number | 'any';\n required?: boolean;\n minlength?: number;\n maxlength?: number;\n\n // Form validation properties\n readonly validity: ValidityState;\n readonly validationMessage: string;\n\n // Form validation methods\n checkValidity: () => boolean;\n getForm: () => HTMLFormElement | null;\n reportValidity: () => boolean;\n setCustomValidity: (message: string) => void;\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;AACA,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AAFzB;AAiEA,IAAqB,iBAArB,cAA4C,WAAW;AAAA,EA8ErD,cAAc;AACZ,UAAM;AAMR,sDAAgC;AAGhC;AAAA,sCAAmD,oBAAI,IAAI;AARzD,WAAO,QAAS,KAAK,YAAsC,YAAY,EAAE,QAAQ,CAAC,CAAC,MAAM,SAAS,MAAM;AACtG,MAAC,KAAK,YAAsC,OAAO,MAAM,SAAS;AAAA,IACpE,CAAC;AAAA,EACH;AAAA,EArEA,KACE,MACA,SACuB;AACvB,UAAM,QAAQ,IAAI,YAAY,MAAM;AAAA,MAClC,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,QAAQ,CAAC;AAAA,OACN,QACJ;AAED,SAAK,cAAc,KAAK;AAExB,WAAO;AAAA,EACT;AAAA,EAOA,OAAO,OAAO,MAAc,qBAAqB,MAAM,UAAoC,CAAC,GAAG;AAC7F,UAAM,iCAAiC,eAAe,IAAI,IAAI;AAI9D,QAAI,CAAC,gCAAgC;AAKnC,UAAI;AACF,uBAAe,OAAO,MAAM,oBAAoB,OAAO;AAAA,MACzD,SAAS,MAAM;AACb,uBAAe,OAAO,MAAM,cAAc,mBAAmB;AAAA,QAAC,GAAG,OAAO;AAAA,MAC1E;AACA;AAAA,IACF;AAEA,QAAI,aAAa;AACjB,QAAI,kBAAkB;AAEtB,QAAI,aAAa,sBAAsB,mBAAmB,SAAS;AACjE,mBAAa,OAAO,mBAAmB;AAAA,IACzC;AAEA,QAAI,aAAa,kCAAkC,+BAA+B,SAAS;AACzF,wBAAkB,OAAO,+BAA+B;AAAA,IAC1D;AAGA,QAAI,cAAc,mBAAmB,eAAe,iBAAiB;AAEnE;AAAA,IACF;AAEA,YAAQ;AAAA,MACN,0BAA0B,IAAI,IAAI,UAAU,UAAU,IAAI,IAAI,eAAe;AAAA,IAC/E;AAAA,EACF;AAAA,EAgBA,yBAAyB,MAAc,UAAyB,UAAyB;AACvF,QAAI,CAAC,mBAAK,gCAA+B;AACvC,MAAC,KAAK,YAAsC,kBAAkB;AAAA,QAC5D,CAAC,KAAK,SAAqC;AAEzC,cAAI,IAAI,WAAW,KAAK,IAAI,KAAK,MAAM;AACrC,iBAAK,2BAA2B,IAAI,MAAM,KAAK,IAAI,CAAC;AAAA,UACtD;AAAA,QACF;AAAA,MACF;AAEA,yBAAK,+BAAgC;AAAA,IACvC;AAEA,UAAM,yBAAyB,MAAM,UAAU,QAAQ;AAAA,EACzD;AAAA,EAEU,WAAW,mBAAkE;AACrF,UAAM,WAAW,iBAAiB;AAGlC,SAAK,2BAA2B,QAAQ,CAAC,OAAO,SAAqC;AAGnF,UAAI,kBAAkB,IAAI,IAAI,KAAK,KAAK,IAAI,KAAK,MAAM;AAErD,QAAC,KAAiC,IAAI,IAAI;AAAA,MAC5C;AAAA,IACF,CAAC;AAAA,EACH;AACF;AAnCE;AAAA;AAAA;AArFmB,eAiCZ,UAAU;AAjCE,eA4EZ,eAAsD,CAAC;AA1ElD;AAAA,EAAX,SAAS;AAAA,GAFS,eAEP;AACA;AAAA,EAAX,SAAS;AAAA,GAHS,eAGP;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSwitch
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.FDOTWE5Q.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.J2QD6WCF.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.2NT3B5WJ.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.IUFTAV2I.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.J37FDI7L.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.2NT3B5WJ.js";
|
|
7
7
|
import {
|
|
8
8
|
SynergyElement
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.IUFTAV2I.js";
|
|
10
10
|
import {
|
|
11
11
|
__decorateClass
|
|
12
12
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -48,4 +48,4 @@ __decorateClass([
|
|
|
48
48
|
export {
|
|
49
49
|
SynRangeTick
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=chunk.
|
|
51
|
+
//# sourceMappingURL=chunk.JHE7UVMI.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.QOBJ2NX5.js";
|
|
20
20
|
import {
|
|
21
21
|
waitForEvent
|
|
22
22
|
} from "./chunk.LQDIH4Z5.js";
|
|
@@ -31,18 +31,18 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
HasSlotController
|
|
33
33
|
} from "./chunk.CHFWLQN5.js";
|
|
34
|
-
import {
|
|
35
|
-
LocalizeController
|
|
36
|
-
} from "./chunk.QLETXF4A.js";
|
|
37
34
|
import {
|
|
38
35
|
watch
|
|
39
36
|
} from "./chunk.SMIMHADA.js";
|
|
37
|
+
import {
|
|
38
|
+
LocalizeController
|
|
39
|
+
} from "./chunk.QLETXF4A.js";
|
|
40
40
|
import {
|
|
41
41
|
component_styles_default
|
|
42
42
|
} from "./chunk.2NT3B5WJ.js";
|
|
43
43
|
import {
|
|
44
44
|
SynergyElement
|
|
45
|
-
} from "./chunk.
|
|
45
|
+
} from "./chunk.IUFTAV2I.js";
|
|
46
46
|
import {
|
|
47
47
|
__decorateClass
|
|
48
48
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -292,4 +292,4 @@ setDefaultAnimation("dialog.overlay.hide", {
|
|
|
292
292
|
export {
|
|
293
293
|
SynDialog
|
|
294
294
|
};
|
|
295
|
-
//# sourceMappingURL=chunk.
|
|
295
|
+
//# sourceMappingURL=chunk.JKA6KBXT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynIcon
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.LJNMLUJK.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.JWA6M5ZZ.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.2NT3B5WJ.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.IUFTAV2I.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -148,4 +148,4 @@ function findButton(el) {
|
|
|
148
148
|
export {
|
|
149
149
|
SynButtonGroup
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk.
|
|
151
|
+
//# sourceMappingURL=chunk.JXKV4DYA.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.K5MZVORR.js";
|
|
4
4
|
import {
|
|
5
5
|
SynDivider
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.NEHYBY5N.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
9
|
} from "./chunk.CHFWLQN5.js";
|
|
10
10
|
import {
|
|
11
11
|
SynIcon
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.LJNMLUJK.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.SMIMHADA.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk.2NT3B5WJ.js";
|
|
19
19
|
import {
|
|
20
20
|
SynergyElement
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.IUFTAV2I.js";
|
|
22
22
|
import {
|
|
23
23
|
__decorateClass
|
|
24
24
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -353,4 +353,4 @@ __decorateClass([
|
|
|
353
353
|
export {
|
|
354
354
|
SynNavItem
|
|
355
355
|
};
|
|
356
|
-
//# sourceMappingURL=chunk.
|
|
356
|
+
//# sourceMappingURL=chunk.KC4VEV4Y.js.map
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
badge_custom_styles_default
|
|
3
|
-
} from "./chunk.SA423NRC.js";
|
|
4
|
-
import {
|
|
5
|
-
badge_styles_default
|
|
6
|
-
} from "./chunk.CMOZ4SCN.js";
|
|
7
1
|
import {
|
|
8
2
|
LocalizeController
|
|
9
3
|
} from "./chunk.QLETXF4A.js";
|
|
@@ -15,7 +9,13 @@ import {
|
|
|
15
9
|
} from "./chunk.2NT3B5WJ.js";
|
|
16
10
|
import {
|
|
17
11
|
SynergyElement
|
|
18
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.IUFTAV2I.js";
|
|
13
|
+
import {
|
|
14
|
+
badge_custom_styles_default
|
|
15
|
+
} from "./chunk.SA423NRC.js";
|
|
16
|
+
import {
|
|
17
|
+
badge_styles_default
|
|
18
|
+
} from "./chunk.CMOZ4SCN.js";
|
|
19
19
|
import {
|
|
20
20
|
__decorateClass
|
|
21
21
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -66,4 +66,4 @@ SynBadge = __decorateClass([
|
|
|
66
66
|
export {
|
|
67
67
|
SynBadge
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=chunk.
|
|
69
|
+
//# sourceMappingURL=chunk.KURP6IS6.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenuItem
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.MAKIWTSE.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.L6H7CHLC.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getIconLibrary,
|
|
9
9
|
unwatchIcon,
|
|
10
10
|
watchIcon
|
|
11
|
-
} from "./chunk.
|
|
11
|
+
} from "./chunk.NMWM3BP7.js";
|
|
12
12
|
import {
|
|
13
13
|
watch
|
|
14
14
|
} from "./chunk.SMIMHADA.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk.2NT3B5WJ.js";
|
|
18
18
|
import {
|
|
19
19
|
SynergyElement
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.IUFTAV2I.js";
|
|
21
21
|
import {
|
|
22
22
|
__decorateClass
|
|
23
23
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -191,4 +191,4 @@ __decorateClass([
|
|
|
191
191
|
export {
|
|
192
192
|
SynIcon
|
|
193
193
|
};
|
|
194
|
-
//# sourceMappingURL=chunk.
|
|
194
|
+
//# sourceMappingURL=chunk.LJNMLUJK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTooltip
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.6VJY3TRA.js";
|
|
4
4
|
import {
|
|
5
5
|
range_styles_default
|
|
6
6
|
} from "./chunk.KEO5PHF2.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
} from "./chunk.2NT3B5WJ.js";
|
|
35
35
|
import {
|
|
36
36
|
SynergyElement
|
|
37
|
-
} from "./chunk.
|
|
37
|
+
} from "./chunk.IUFTAV2I.js";
|
|
38
38
|
import {
|
|
39
39
|
__decorateClass,
|
|
40
40
|
__privateAdd,
|
|
@@ -725,4 +725,4 @@ SynRange = __decorateClass([
|
|
|
725
725
|
export {
|
|
726
726
|
SynRange
|
|
727
727
|
};
|
|
728
|
-
//# sourceMappingURL=chunk.
|
|
728
|
+
//# sourceMappingURL=chunk.LWIAMY4V.js.map
|
|
@@ -1,37 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
menu_item_custom_styles_default
|
|
3
|
-
} from "./chunk.UNYO3GI7.js";
|
|
4
1
|
import {
|
|
5
2
|
menu_item_styles_default
|
|
6
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.CAEBFUZN.js";
|
|
7
4
|
import {
|
|
8
5
|
SubmenuController
|
|
9
6
|
} from "./chunk.BC532CB6.js";
|
|
10
7
|
import {
|
|
11
8
|
SynPopup
|
|
12
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.AOOC5ALQ.js";
|
|
13
10
|
import {
|
|
14
11
|
SynSpinner
|
|
15
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.J37FDI7L.js";
|
|
16
13
|
import {
|
|
17
14
|
HasSlotController,
|
|
18
15
|
getTextContent
|
|
19
16
|
} from "./chunk.CHFWLQN5.js";
|
|
20
17
|
import {
|
|
21
18
|
SynIcon
|
|
22
|
-
} from "./chunk.
|
|
23
|
-
import {
|
|
24
|
-
LocalizeController
|
|
25
|
-
} from "./chunk.QLETXF4A.js";
|
|
19
|
+
} from "./chunk.LJNMLUJK.js";
|
|
26
20
|
import {
|
|
27
21
|
watch
|
|
28
22
|
} from "./chunk.SMIMHADA.js";
|
|
23
|
+
import {
|
|
24
|
+
LocalizeController
|
|
25
|
+
} from "./chunk.QLETXF4A.js";
|
|
29
26
|
import {
|
|
30
27
|
component_styles_default
|
|
31
28
|
} from "./chunk.2NT3B5WJ.js";
|
|
32
29
|
import {
|
|
33
30
|
SynergyElement
|
|
34
|
-
} from "./chunk.
|
|
31
|
+
} from "./chunk.IUFTAV2I.js";
|
|
35
32
|
import {
|
|
36
33
|
__decorateClass,
|
|
37
34
|
__privateAdd,
|
|
@@ -196,7 +193,7 @@ var SynMenuItem = class extends SynergyElement {
|
|
|
196
193
|
`;
|
|
197
194
|
}
|
|
198
195
|
};
|
|
199
|
-
SynMenuItem.styles = [component_styles_default, menu_item_styles_default
|
|
196
|
+
SynMenuItem.styles = [component_styles_default, menu_item_styles_default];
|
|
200
197
|
SynMenuItem.dependencies = {
|
|
201
198
|
"syn-icon": SynIcon,
|
|
202
199
|
"syn-popup": SynPopup,
|
|
@@ -241,4 +238,4 @@ SynMenuItem = __decorateClass([
|
|
|
241
238
|
export {
|
|
242
239
|
SynMenuItem
|
|
243
240
|
};
|
|
244
|
-
//# sourceMappingURL=chunk.
|
|
241
|
+
//# sourceMappingURL=chunk.MAKIWTSE.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/menu-item/menu-item.component.ts", "../../src/internal/watchEvent.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getTextContent, HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query } from 'lit/decorators.js';\nimport { SubmenuController } from './submenu-controller.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 SynPopup from '../popup/popup.component.js';\nimport SynSpinner from '../spinner/spinner.component.js';\nimport styles from './menu-item.styles.js';\nimport { emitEventForPropertyUpdates } from '../../internal/watchEvent.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Menu items provide options for the user to pick from in a menu.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-menu-item--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n * @dependency syn-popup\n * @dependency syn-spinner\n *\n * @slot - The menu item's label.\n * @slot prefix - Used to prepend an icon or similar element to the menu item.\n * @slot suffix - Used to append an icon or similar element to the menu item.\n * @slot submenu - Used to denote a nested menu.\n *\n * @csspart base - The component's base wrapper.\n * @csspart checked-icon - The checked icon, which is only visible when the menu item is checked.\n * @csspart prefix - The prefix container.\n * @csspart label - The menu item label.\n * @csspart suffix - The suffix container.\n * @csspart spinner - The spinner that shows when the menu item is in the loading state.\n * @csspart spinner__base - The spinner's base part.\n * @csspart submenu-icon - The submenu icon, visible only when the menu item has a submenu (not yet implemented).\n *\n * @cssproperty [--submenu-offset=-2px] - The distance submenus shift to overlap the parent menu.\n */\n@emitEventForPropertyUpdates(['type', 'loading'], {\n waitUntilFirstUpdated: true,\n})\nexport default class SynMenuItem extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n static dependencies = {\n 'syn-icon': SynIcon,\n 'syn-popup': SynPopup,\n 'syn-spinner': SynSpinner\n };\n\n private cachedTextLabel: string;\n private readonly localize = new LocalizeController(this);\n\n @query('slot:not([name])') defaultSlot: HTMLSlotElement;\n @query('.menu-item') menuItem: HTMLElement;\n\n /** The type of menu item to render. To use `checked`, this value must be set to `checkbox`. */\n @property() type: 'normal' | 'checkbox' = 'normal';\n\n /** Draws the item in a checked state. */\n @property({ type: Boolean, reflect: true }) checked = false;\n\n /** A unique value to store in the menu item. This can be used as a way to identify menu items when selected. */\n @property() value = '';\n\n /** Draws the menu item in a loading state. */\n @property({ type: Boolean, reflect: true }) loading = false;\n\n /** Draws the menu item in a disabled state, preventing selection. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n private readonly hasSlotController = new HasSlotController(this, 'submenu');\n private submenuController: SubmenuController = new SubmenuController(this, this.hasSlotController);\n\n connectedCallback() {\n super.connectedCallback();\n this.addEventListener('click', this.handleHostClick);\n this.addEventListener('mouseover', this.handleMouseOver);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.removeEventListener('click', this.handleHostClick);\n this.removeEventListener('mouseover', this.handleMouseOver);\n }\n\n private handleDefaultSlotChange() {\n const textLabel = this.getTextLabel();\n\n // Ignore the first time the label is set\n if (typeof this.cachedTextLabel === 'undefined') {\n this.cachedTextLabel = textLabel;\n return;\n }\n\n // When the label changes, emit a slotchange event so parent controls see it\n if (textLabel !== this.cachedTextLabel) {\n this.cachedTextLabel = textLabel;\n this.emit('slotchange', { bubbles: true, composed: false, cancelable: false });\n }\n }\n\n private handleHostClick = (event: MouseEvent) => {\n // Prevent the click event from being emitted when the button is disabled or loading\n if (this.disabled) {\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n };\n\n private handleMouseOver = (event: MouseEvent) => {\n this.focus();\n event.stopPropagation();\n };\n\n @watch('checked')\n handleCheckedChange() {\n // For proper accessibility, users have to use type=\"checkbox\" to use the checked attribute\n if (this.checked && this.type !== 'checkbox') {\n this.checked = false;\n console.error('The checked attribute can only be used on menu items with type=\"checkbox\"', this);\n return;\n }\n\n // Only checkbox types can receive the aria-checked attribute\n if (this.type === 'checkbox') {\n this.setAttribute('aria-checked', this.checked ? 'true' : 'false');\n } else {\n this.removeAttribute('aria-checked');\n }\n }\n\n @watch('disabled')\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n @watch('type')\n handleTypeChange() {\n if (this.type === 'checkbox') {\n this.setAttribute('role', 'menuitemcheckbox');\n this.setAttribute('aria-checked', this.checked ? 'true' : 'false');\n } else {\n this.setAttribute('role', 'menuitem');\n this.removeAttribute('aria-checked');\n }\n }\n\n /** Returns a text label based on the contents of the menu item's default slot. */\n getTextLabel() {\n return getTextContent(this.defaultSlot);\n }\n\n isSubmenu() {\n return this.hasSlotController.test('submenu');\n }\n\n render() {\n const isRtl = this.localize.dir() === 'rtl';\n const isSubmenuExpanded = this.submenuController.isExpanded();\n\n return html`\n <div\n id=\"anchor\"\n part=\"base\"\n class=${classMap({\n 'menu-item': true,\n 'menu-item--rtl': isRtl,\n 'menu-item--checked': this.checked,\n 'menu-item--disabled': this.disabled,\n 'menu-item--loading': this.loading,\n 'menu-item--has-submenu': this.isSubmenu(),\n 'menu-item--submenu-expanded': isSubmenuExpanded\n })}\n ?aria-haspopup=\"${this.isSubmenu()}\"\n ?aria-expanded=\"${isSubmenuExpanded ? true : false}\"\n >\n <span part=\"checked-icon\" class=\"menu-item__check\">\n <syn-icon name=\"check\" library=\"system\" aria-hidden=\"true\"></syn-icon>\n </span>\n\n <slot name=\"prefix\" part=\"prefix\" class=\"menu-item__prefix\"></slot>\n\n <slot part=\"label\" class=\"menu-item__label\" @slotchange=${this.handleDefaultSlotChange}></slot>\n\n <slot name=\"suffix\" part=\"suffix\" class=\"menu-item__suffix\"></slot>\n\n <span part=\"submenu-icon\" class=\"menu-item__chevron\">\n <syn-icon name=\"chevron-down\" library=\"system\" aria-hidden=\"true\"></syn-icon>\n </span>\n\n ${this.submenuController.renderSubmenu()}\n ${this.loading ? html` <syn-spinner part=\"spinner\" exportparts=\"base:spinner__base\"></syn-spinner> ` : ''}\n </div>\n `;\n }\n}\n", "/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { PropertyValues } from 'lit';\nimport type SynergyElement from './synergy-element.js';\n\ntype Constructor<T = object> = new (...args: any[]) => T;\n\ninterface DecoratorOptions {\n /**\n * If true, will only start watching after the initial updated call\n */\n waitUntilFirstUpdated?: boolean;\n}\n\n/**\n * Class decorator that automatically emits a `syn-attributes-changed` event\n * when at least one of the provided attributes have changed.\n * The event will contain an array of all changed properties, including their\n * - attribute name\n * - old value and\n * - new value.\n *\n * @example\n * ```ts\n * class OriginalClass extends SynergyElement {}\n * export const MyComponent = emitEventForPropertyUpdates(['attribute1', 'attribute2'])(BaseClass);\n *\n * // Create the component, providing initial values for the changed attribute list\n * const myComponent = document.createElement('my-component');\n * myComponent.attribute1 = 'initial value for attribute 1';\n * myComponent.attribute2 = 'initial value for attribute 2';\n *\n * // Create a container and listen for the event\n * const container = document.createElement('div');\n * container.addEventListener('syn-attributes-changed', (event: SynAttributesChangedEvent) => {\n * // We do not want to propagate the event further\n * event.stopImmidiatePropagation();\n *\n * console.log(event.detail);\n * });\n *\n * // Add the component to the container\n * container.appendChild(myComponent);\n *\n * // Change the attributes\n * myComponent.attribute1 = 'value for attribute 1';\n * myComponent.attribute2 = 'value for attribute 2';\n *\n * // Output:\n * // [\n * // {\n * // attribute: 'attribute1',\n * // oldValue: 'initial value for attribute 1',\n * // newValue: 'value for attribute 1'\n * // },\n * // {\n * // attribute: 'attribute2',\n * // oldValue: 'initial value for attribute 2',\n * // newValue: 'value for attribute 2'\n * // }\n * // ]\n * ```\n */\nexport function emitEventForPropertyUpdates(\n watchedProperties: string[],\n options?: DecoratorOptions,\n) {\n const resolvedOptions: Required<DecoratorOptions> = {\n waitUntilFirstUpdated: false,\n ...options,\n };\n\n return <T extends Constructor<SynergyElement>>(Proto: T): T => class extends Proto {\n // True if the event was emitted, false otherwise\n #synPrivateFirstChangeHasBeenEmitted = !resolvedOptions.waitUntilFirstUpdated;\n\n updated(changedProps: PropertyValues) {\n if (!this.#synPrivateFirstChangeHasBeenEmitted) {\n this.#synPrivateFirstChangeHasBeenEmitted = true;\n return;\n }\n\n // Get the list of all changed properties\n const monitoredChangedProperties = Array\n .from(changedProps)\n .filter(([key]) => watchedProperties.includes(key as string));\n\n // If there are no changed properties, return before sending anything\n if (monitoredChangedProperties.length === 0) {\n super.updated(changedProps);\n return;\n }\n\n // Send out the event with all changed properties\n const detail = monitoredChangedProperties.map(([key, value]) => ({\n attribute: key,\n newValue: this[key as keyof this],\n oldValue: value,\n }));\n\n this.emit('syn-attributes-changed', {\n detail,\n });\n super.updated(changedProps);\n }\n };\n}\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynOption
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.VCJQ6DPU.js";
|
|
4
4
|
|
|
5
5
|
// src/components/option/option.ts
|
|
6
6
|
var option_default = SynOption;
|
|
@@ -9,4 +9,4 @@ SynOption.define("syn-option");
|
|
|
9
9
|
export {
|
|
10
10
|
option_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.N2P6JGTF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButtonGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.JXKV4DYA.js";
|
|
4
4
|
|
|
5
5
|
// src/components/button-group/button-group.ts
|
|
6
6
|
var button_group_default = SynButtonGroup;
|
|
@@ -9,4 +9,4 @@ SynButtonGroup.define("syn-button-group");
|
|
|
9
9
|
export {
|
|
10
10
|
button_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.N5ZE6OSY.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.2NT3B5WJ.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.IUFTAV2I.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -43,4 +43,4 @@ __decorateClass([
|
|
|
43
43
|
export {
|
|
44
44
|
SynDivider
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk.
|
|
46
|
+
//# sourceMappingURL=chunk.NEHYBY5N.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynMenu
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.X5VH7MID.js";
|
|
4
4
|
|
|
5
5
|
// src/components/menu/menu.ts
|
|
6
6
|
var menu_default = SynMenu;
|
|
@@ -9,4 +9,4 @@ SynMenu.define("syn-menu");
|
|
|
9
9
|
export {
|
|
10
10
|
menu_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.NMBIRUQU.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
library_system_default
|
|
3
|
-
} from "./chunk.3RR4RIR7.js";
|
|
4
1
|
import {
|
|
5
2
|
library_default_default
|
|
6
3
|
} from "./chunk.RODNHT5C.js";
|
|
4
|
+
import {
|
|
5
|
+
library_system_default
|
|
6
|
+
} from "./chunk.3RR4RIR7.js";
|
|
7
7
|
|
|
8
8
|
// src/components/icon/library.ts
|
|
9
9
|
var registry = [library_default_default, library_system_default];
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
registerIconLibrary,
|
|
43
43
|
unregisterIconLibrary
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=chunk.
|
|
45
|
+
//# sourceMappingURL=chunk.NMWM3BP7.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2IVMHEQ6.js";
|
|
4
4
|
|
|
5
5
|
// src/components/button/button.ts
|
|
6
6
|
var button_default = SynButton;
|
|
@@ -9,4 +9,4 @@ SynButton.define("syn-button");
|
|
|
9
9
|
export {
|
|
10
10
|
button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.NUNQOP7A.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTabPanel
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.RXRHPQ7D.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.NWNEDOFO.js.map
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
-
// src/components/menu/menu.
|
|
1
|
+
// src/components/menu/menu.styles.ts
|
|
2
2
|
import { css } from "lit";
|
|
3
|
-
var
|
|
3
|
+
var menu_styles_default = css`
|
|
4
4
|
:host {
|
|
5
|
+
background: var(--syn-panel-background-color);
|
|
6
|
+
border: solid var(--syn-panel-border-width) var(--syn-panel-border-color);
|
|
5
7
|
border-radius: var(--syn-input-border-radius-medium);
|
|
8
|
+
display: block;
|
|
9
|
+
overflow: auto;
|
|
10
|
+
overscroll-behavior: none;
|
|
11
|
+
padding: var(--syn-spacing-x-small) 0;
|
|
12
|
+
position: relative;
|
|
6
13
|
}
|
|
7
14
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
.menu--no-checkmarks::slotted(syn-menu-item) {
|
|
13
|
-
--display-checkmark: none;
|
|
15
|
+
::slotted(syn-divider) {
|
|
16
|
+
/* #369: Slotted syn-dividers should use a lighter color so they do not crash with the border visually */
|
|
17
|
+
--color: var(--syn-panel-border-color);
|
|
18
|
+
--spacing: var(--syn-spacing-x-small);
|
|
14
19
|
}
|
|
15
20
|
|
|
16
21
|
/**
|
|
@@ -22,13 +27,16 @@ var menu_custom_styles_default = css`
|
|
|
22
27
|
--display-divider: none;
|
|
23
28
|
}
|
|
24
29
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
30
|
+
/*
|
|
31
|
+
* #368: Hide the checkmarks for menu items
|
|
32
|
+
* when no syn-menu-item[checkbox] or loading is present
|
|
33
|
+
*/
|
|
34
|
+
.menu--no-checkmarks::slotted(syn-menu-item) {
|
|
35
|
+
--display-checkmark: none;
|
|
28
36
|
}
|
|
29
37
|
`;
|
|
30
38
|
|
|
31
39
|
export {
|
|
32
|
-
|
|
40
|
+
menu_styles_default
|
|
33
41
|
};
|
|
34
|
-
//# sourceMappingURL=chunk.
|
|
42
|
+
//# sourceMappingURL=chunk.NXIQ25W4.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/menu/menu.styles.ts"],
|
|
4
|
+
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n background: var(--syn-panel-background-color);\n border: solid var(--syn-panel-border-width) var(--syn-panel-border-color);\n border-radius: var(--syn-input-border-radius-medium);\n display: block;\n overflow: auto;\n overscroll-behavior: none;\n padding: var(--syn-spacing-x-small) 0;\n position: relative;\n }\n\n ::slotted(syn-divider) {\n /* #369: Slotted syn-dividers should use a lighter color so they do not crash with the border visually */\n --color: var(--syn-panel-border-color);\n --spacing: var(--syn-spacing-x-small);\n }\n\n /**\n * Make sure to hide the syn-divider for the first syn-optgroup\n * Note! ::slotted does currently not work with ::part, so we\n * opted for using a css variable here.\n */\n ::slotted(syn-menu-label:first-of-type) {\n --display-divider: none;\n }\n\n /*\n * #368: Hide the checkmarks for menu items\n * when no syn-menu-item[checkbox] or loading is present\n */\n .menu--no-checkmarks::slotted(syn-menu-item) {\n --display-checkmark: none;\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,sBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|