@synergy-design-system/components 2.30.1 → 2.30.3
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.5PKVCNHM.js → chunk.2BF2ZBSM.js} +8 -8
- package/dist/chunks/chunk.2BF2ZBSM.js.map +7 -0
- package/dist/chunks/{chunk.SZ73NMRJ.js → chunk.2NS2E3LJ.js} +2 -2
- package/dist/chunks/{chunk.DG6GXAVF.js → chunk.2W4MHJAM.js} +6 -6
- package/dist/chunks/chunk.2W4MHJAM.js.map +7 -0
- package/dist/chunks/{chunk.3TOKEYJ6.js → chunk.3EPDSEI7.js} +2 -2
- package/dist/chunks/{chunk.2X3APD3V.js → chunk.3OUFLG7V.js} +6 -6
- package/dist/chunks/chunk.3OUFLG7V.js.map +7 -0
- package/dist/chunks/{chunk.WASTXK4A.js → chunk.3QPOD3RO.js} +6 -6
- package/dist/chunks/chunk.3QPOD3RO.js.map +7 -0
- package/dist/chunks/{chunk.QOP6ET4B.js → chunk.3TECDOBS.js} +2 -2
- package/dist/chunks/{chunk.JCJ64TPZ.js → chunk.43UZR7JA.js} +2 -2
- package/dist/chunks/{chunk.UTPP6KE2.js → chunk.45RYQJWS.js} +2 -2
- package/dist/chunks/{chunk.AQHRP3JF.js → chunk.4FYUNOAF.js} +2 -2
- package/dist/chunks/{chunk.2GXRGBN3.js → chunk.4KUAEC3S.js} +2 -2
- package/dist/chunks/{chunk.GAN4SEH5.js → chunk.4XC7NAJH.js} +2 -2
- package/dist/chunks/{chunk.QJPMVHQX.js → chunk.5U2JN5LA.js} +2 -2
- package/dist/chunks/chunk.5U2JN5LA.js.map +7 -0
- package/dist/chunks/{chunk.BMR7V4GF.js → chunk.67BZVLOD.js} +2 -2
- package/dist/chunks/{chunk.UTJJJQMA.js → chunk.6GBQX53P.js} +2 -2
- package/dist/chunks/{chunk.NHGNW7PA.js → chunk.6HKWYUE5.js} +6 -6
- package/dist/chunks/chunk.6HKWYUE5.js.map +7 -0
- package/dist/chunks/{chunk.USSHF6CO.js → chunk.7PPS4IJJ.js} +2 -2
- package/dist/chunks/{chunk.KLZ5NK2C.js → chunk.7YYNY2ZX.js} +2 -2
- package/dist/chunks/{chunk.FHND52A3.js → chunk.A77V4OPP.js} +3 -3
- package/dist/chunks/chunk.A77V4OPP.js.map +7 -0
- package/dist/chunks/{chunk.HWNTLXRL.js → chunk.ARJFVRBM.js} +3 -3
- package/dist/chunks/chunk.ARJFVRBM.js.map +7 -0
- package/dist/chunks/{chunk.IZBTM55D.js → chunk.BG6L74VC.js} +2 -2
- package/dist/chunks/{chunk.2RAC47FN.js → chunk.BXAD2FTL.js} +2 -2
- package/dist/chunks/chunk.BXAD2FTL.js.map +7 -0
- package/dist/chunks/{chunk.2RXN2SCD.js → chunk.C4JBMUTM.js} +6 -6
- package/dist/chunks/chunk.C4JBMUTM.js.map +7 -0
- package/dist/chunks/{chunk.JP4QSX7M.js → chunk.CFUIAMHI.js} +2 -2
- package/dist/chunks/{chunk.RAU2GK6I.js → chunk.CXRCFXZR.js} +8 -8
- package/dist/chunks/chunk.CXRCFXZR.js.map +7 -0
- package/dist/chunks/{chunk.U3CL2TPE.js → chunk.CZG2SMYG.js} +2 -2
- package/dist/chunks/{chunk.762G3PEJ.js → chunk.D3UJRRO6.js} +6 -6
- package/dist/chunks/chunk.D3UJRRO6.js.map +7 -0
- package/dist/chunks/{chunk.5ZRFAVKG.js → chunk.DCDK3EXG.js} +2 -2
- package/dist/chunks/{chunk.SFIQJMJV.js → chunk.DMB7Z2ZQ.js} +2 -2
- package/dist/chunks/{chunk.YSRREAXX.js → chunk.E5IDSSSD.js} +3 -3
- package/dist/chunks/{chunk.YSRREAXX.js.map → chunk.E5IDSSSD.js.map} +1 -1
- package/dist/chunks/{chunk.FITEZWTQ.js → chunk.FA4T7QQM.js} +2 -2
- package/dist/chunks/{chunk.FITEZWTQ.js.map → chunk.FA4T7QQM.js.map} +1 -1
- package/dist/chunks/{chunk.X3CFZAHW.js → chunk.FQYBA7T7.js} +2 -2
- package/dist/chunks/{chunk.X3CFZAHW.js.map → chunk.FQYBA7T7.js.map} +1 -1
- package/dist/chunks/{chunk.532L4VKN.js → chunk.FT3M2BTH.js} +2 -2
- package/dist/chunks/{chunk.SWCGPDHW.js → chunk.FULJSSFR.js} +2 -2
- package/dist/chunks/{chunk.TX2PDRBM.js → chunk.G2JP7HEH.js} +7 -7
- package/dist/chunks/chunk.G2JP7HEH.js.map +7 -0
- package/dist/chunks/{chunk.WA7EKCMV.js → chunk.G2TWKVVP.js} +2 -2
- package/dist/chunks/{chunk.BOBXDVSO.js → chunk.GA2HU6II.js} +6 -6
- package/dist/chunks/chunk.GA2HU6II.js.map +7 -0
- package/dist/chunks/{chunk.AJW2D63L.js → chunk.GE3DTZIM.js} +2 -2
- package/dist/chunks/{chunk.NUYZREPZ.js → chunk.GEV5TYRZ.js} +4 -4
- package/dist/chunks/{chunk.R3THZVHP.js → chunk.IC3XQ2EB.js} +2 -2
- package/dist/chunks/chunk.IC3XQ2EB.js.map +7 -0
- package/dist/chunks/{chunk.PRJ3FJGJ.js → chunk.ICGTNBIJ.js} +3 -3
- package/dist/chunks/{chunk.QX2JOWGH.js → chunk.IGLOIZ2W.js} +5 -5
- package/dist/chunks/chunk.IGLOIZ2W.js.map +7 -0
- package/dist/chunks/{chunk.ZDYMO5XT.js → chunk.IHQEDOAX.js} +2 -2
- package/dist/chunks/{chunk.FGAEUKVN.js → chunk.IUY4D7U3.js} +2 -2
- package/dist/chunks/{chunk.B3D627OD.js → chunk.JIELXBUU.js} +2 -2
- package/dist/chunks/chunk.JIELXBUU.js.map +7 -0
- package/dist/chunks/{chunk.E6OUQFF4.js → chunk.JU7GGWDE.js} +2 -2
- package/dist/chunks/{chunk.K36FG4W2.js → chunk.K4EBTKOS.js} +9 -9
- package/dist/chunks/chunk.K4EBTKOS.js.map +7 -0
- package/dist/chunks/{chunk.GYSYAXFI.js → chunk.KSWTSMEX.js} +8 -8
- package/dist/chunks/chunk.KSWTSMEX.js.map +7 -0
- package/dist/chunks/{chunk.A4FID4OH.js → chunk.KUQ6N3FH.js} +2 -2
- package/dist/chunks/{chunk.BRFSQ5UO.js → chunk.KWMZ63WC.js} +2 -2
- package/dist/chunks/chunk.KWMZ63WC.js.map +7 -0
- package/dist/chunks/{chunk.T4IRZQY2.js → chunk.KXDWM25J.js} +2 -2
- package/dist/chunks/{chunk.T4IRZQY2.js.map → chunk.KXDWM25J.js.map} +1 -1
- package/dist/chunks/{chunk.GOYGD46T.js → chunk.MVBAJTOF.js} +7 -7
- package/dist/chunks/{chunk.6ZCQFVOC.js → chunk.NC57MFGC.js} +2 -2
- package/dist/chunks/{chunk.3ZXMZDAX.js → chunk.NECBJEDG.js} +2 -2
- package/dist/chunks/{chunk.E4QLMZHL.js → chunk.NFEMXBDN.js} +2 -2
- package/dist/chunks/{chunk.YU2PZ5EK.js → chunk.NGIPAGC4.js} +2 -2
- package/dist/chunks/{chunk.UKUUCUD7.js → chunk.NLYJFOZZ.js} +6 -6
- package/dist/chunks/{chunk.RYQHOPIY.js → chunk.NTSN7KDQ.js} +2 -2
- package/dist/chunks/chunk.NTSN7KDQ.js.map +7 -0
- package/dist/chunks/{chunk.AMIQC3O7.js → chunk.OLRA37R5.js} +1 -1
- package/dist/chunks/{chunk.AMIQC3O7.js.map → chunk.OLRA37R5.js.map} +1 -1
- package/dist/chunks/{chunk.6AKLDG33.js → chunk.OPSPWNFD.js} +2 -2
- package/dist/chunks/{chunk.6AKLDG33.js.map → chunk.OPSPWNFD.js.map} +1 -1
- package/dist/chunks/{chunk.PDDQXWQR.js → chunk.OSJ3WQFD.js} +2 -2
- package/dist/chunks/{chunk.Y5RGUISY.js → chunk.PCHN7UNX.js} +2 -2
- package/dist/chunks/{chunk.Y5RGUISY.js.map → chunk.PCHN7UNX.js.map} +1 -1
- package/dist/chunks/{chunk.CILTVCBQ.js → chunk.PJF3RP7Q.js} +7 -7
- package/dist/chunks/chunk.PJF3RP7Q.js.map +7 -0
- package/dist/chunks/{chunk.IQGYOOWV.js → chunk.PLRHUWDP.js} +2 -2
- package/dist/chunks/{chunk.EFJD5CZ6.js → chunk.PQGDR57N.js} +2 -2
- package/dist/chunks/{chunk.D36G42T7.js → chunk.PZSENCZE.js} +7 -7
- package/dist/chunks/chunk.PZSENCZE.js.map +7 -0
- package/dist/chunks/{chunk.NDIBJ6JI.js → chunk.QCGPJAQF.js} +6 -6
- package/dist/chunks/chunk.QCGPJAQF.js.map +7 -0
- package/dist/chunks/{chunk.ZUQIXELH.js → chunk.QFS6KGDB.js} +2 -2
- package/dist/chunks/{chunk.QHPOPKTJ.js → chunk.R2CZGOPZ.js} +6 -6
- package/dist/chunks/chunk.R2CZGOPZ.js.map +7 -0
- package/dist/chunks/{chunk.HLQWQZQU.js → chunk.R3VV2JKB.js} +5 -5
- package/dist/chunks/chunk.R3VV2JKB.js.map +7 -0
- package/dist/chunks/{chunk.FJSVF4A2.js → chunk.RCM2ZMZA.js} +2 -2
- package/dist/chunks/{chunk.D6UYGOT5.js → chunk.RM54PPPR.js} +2 -2
- package/dist/chunks/{chunk.3A4IZ7IM.js → chunk.RMDAJPSI.js} +9 -9
- package/dist/chunks/chunk.RMDAJPSI.js.map +7 -0
- package/dist/chunks/{chunk.UOY56ORY.js → chunk.RVEOI5HV.js} +2 -2
- package/dist/chunks/{chunk.UKYLRMT2.js → chunk.RXJYIHMS.js} +2 -2
- package/dist/chunks/{chunk.JQADLKNT.js → chunk.S3JOQPQH.js} +8 -8
- package/dist/chunks/chunk.S3JOQPQH.js.map +7 -0
- package/dist/chunks/{chunk.6OVQULWC.js → chunk.SFKDMJXY.js} +8 -8
- package/dist/chunks/{chunk.6OVQULWC.js.map → chunk.SFKDMJXY.js.map} +1 -1
- package/dist/chunks/{chunk.MDKD6I5N.js → chunk.SV2YRXTN.js} +9 -9
- package/dist/chunks/chunk.SV2YRXTN.js.map +7 -0
- package/dist/chunks/{chunk.3JKMMYX3.js → chunk.THRS75O2.js} +2 -2
- package/dist/chunks/{chunk.5WZOBIEX.js → chunk.TYEVZCIC.js} +9 -9
- package/dist/chunks/{chunk.KBBZYAPL.js → chunk.UMJHRTE5.js} +9 -9
- package/dist/chunks/chunk.UMJHRTE5.js.map +7 -0
- package/dist/chunks/{chunk.EEMCXA5G.js → chunk.VHXR6VJU.js} +2 -2
- package/dist/chunks/{chunk.GTFKE4JG.js → chunk.VP73GNNH.js} +2 -2
- package/dist/chunks/{chunk.AP55JRQ3.js → chunk.VXYIZUDW.js} +2 -2
- package/dist/chunks/{chunk.QVRCVDGA.js → chunk.WJR72FH5.js} +2 -2
- package/dist/chunks/{chunk.XA4EOA25.js → chunk.WPIWR6GG.js} +8 -8
- package/dist/chunks/{chunk.HI3CSD4O.js → chunk.WTUKJGCV.js} +2 -2
- package/dist/chunks/{chunk.63LZB375.js → chunk.WZSMJ2WD.js} +2 -2
- package/dist/chunks/chunk.WZSMJ2WD.js.map +7 -0
- package/dist/chunks/{chunk.2HPEABF4.js → chunk.XHQTVQU6.js} +2 -2
- package/dist/chunks/{chunk.QQ26YV6J.js → chunk.XV6MIV3R.js} +7 -7
- package/dist/chunks/chunk.XV6MIV3R.js.map +7 -0
- package/dist/chunks/{chunk.IXSDGMHS.js → chunk.YJ5O6SUI.js} +2 -2
- package/dist/chunks/{chunk.574KKJH2.js → chunk.YTCOW742.js} +2 -2
- package/dist/chunks/{chunk.M6OBVNV5.js → chunk.ZFDM6C6S.js} +2 -2
- package/dist/chunks/{chunk.OJFEU2LY.js → chunk.ZHBRF2U3.js} +2 -2
- package/dist/chunks/{chunk.OJFEU2LY.js.map → chunk.ZHBRF2U3.js.map} +1 -1
- package/dist/chunks/{chunk.WIZJDLTC.js → chunk.ZHGCYOV2.js} +2 -2
- package/dist/chunks/chunk.ZHGCYOV2.js.map +7 -0
- package/dist/chunks/{chunk.46CKMKX5.js → chunk.ZJ43C76S.js} +3 -3
- package/dist/chunks/chunk.ZJ43C76S.js.map +7 -0
- package/dist/chunks/{chunk.NPAGHPJZ.js → chunk.ZOLZENHH.js} +2 -2
- package/dist/components/accordion/accordion.component.js +4 -4
- package/dist/components/accordion/accordion.js +5 -5
- package/dist/components/alert/alert.component.d.ts +1 -1
- package/dist/components/alert/alert.component.js +8 -8
- package/dist/components/alert/alert.js +9 -9
- package/dist/components/badge/badge.component.d.ts +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.d.ts +1 -1
- 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.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/components/button/button.component.js +7 -7
- package/dist/components/button/button.js +8 -8
- package/dist/components/button-group/button-group.component.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/checkbox/checkbox.component.d.ts +1 -1
- package/dist/components/checkbox/checkbox.component.js +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/combobox/combobox.component.js +8 -8
- package/dist/components/combobox/combobox.js +9 -9
- package/dist/components/details/details.component.d.ts +1 -1
- package/dist/components/details/details.component.js +5 -5
- package/dist/components/details/details.js +6 -6
- package/dist/components/dialog/dialog.component.d.ts +1 -1
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.d.ts +1 -1
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.d.ts +1 -1
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.component.d.ts +1 -1
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/file/file.component.d.ts +1 -0
- package/dist/components/file/file.component.js +8 -8
- package/dist/components/file/file.js +9 -9
- package/dist/components/header/header.component.js +6 -6
- package/dist/components/header/header.js +7 -7
- package/dist/components/icon/icon.component.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/components/icon-button/icon-button.component.js +4 -4
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/input/input.component.d.ts +1 -1
- package/dist/components/input/input.component.js +7 -7
- package/dist/components/input/input.js +8 -8
- package/dist/components/menu/menu.component.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/menu-label/menu-label.component.d.ts +1 -1
- 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.d.ts +1 -0
- 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.d.ts +1 -1
- package/dist/components/option/option.component.js +5 -5
- package/dist/components/option/option.js +6 -6
- package/dist/components/popup/popup.component.d.ts +1 -1
- 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.d.ts +1 -0
- package/dist/components/prio-nav/prio-nav.component.js +10 -10
- package/dist/components/prio-nav/prio-nav.js +11 -11
- package/dist/components/progress-bar/progress-bar.component.d.ts +1 -1
- 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.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/components/radio/radio.component.js +4 -4
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio-button/radio-button.component.d.ts +1 -1
- package/dist/components/radio-button/radio-button.component.js +3 -3
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-group/radio-group.component.d.ts +1 -1
- package/dist/components/radio-group/radio-group.component.js +5 -5
- package/dist/components/radio-group/radio-group.js +6 -6
- package/dist/components/range/range.component.js +6 -6
- package/dist/components/range/range.js +7 -7
- package/dist/components/range-tick/range-tick.component.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/select/select.component.d.ts +1 -1
- package/dist/components/select/select.component.js +9 -9
- package/dist/components/select/select.js +10 -10
- package/dist/components/side-nav/side-nav.component.js +8 -8
- package/dist/components/side-nav/side-nav.js +9 -9
- package/dist/components/spinner/spinner.component.d.ts +1 -1
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/switch/switch.component.d.ts +1 -1
- package/dist/components/switch/switch.component.js +4 -4
- package/dist/components/switch/switch.js +5 -5
- package/dist/components/tab/tab.component.d.ts +1 -1
- package/dist/components/tab/tab.component.js +6 -6
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.component.d.ts +1 -1
- package/dist/components/tab-group/tab-group.component.js +7 -7
- package/dist/components/tab-group/tab-group.js +8 -8
- package/dist/components/tab-panel/tab-panel.component.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/components/tag/tag.component.js +6 -6
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.component.d.ts +1 -1
- package/dist/components/textarea/textarea.component.js +4 -4
- package/dist/components/textarea/textarea.js +5 -5
- package/dist/components/tooltip/tooltip.component.d.ts +1 -1
- 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.d.ts +1 -1
- package/dist/components/validate/validate.component.js +10 -10
- package/dist/components/validate/validate.js +11 -11
- package/dist/custom-elements.json +93 -85
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +109 -109
- package/dist/utilities/form.js +2 -2
- package/dist/vscode.html-custom-data.json +48 -48
- package/package.json +1 -1
- package/dist/chunks/chunk.2RAC47FN.js.map +0 -7
- package/dist/chunks/chunk.2RXN2SCD.js.map +0 -7
- package/dist/chunks/chunk.2X3APD3V.js.map +0 -7
- package/dist/chunks/chunk.3A4IZ7IM.js.map +0 -7
- package/dist/chunks/chunk.46CKMKX5.js.map +0 -7
- package/dist/chunks/chunk.5PKVCNHM.js.map +0 -7
- package/dist/chunks/chunk.63LZB375.js.map +0 -7
- package/dist/chunks/chunk.762G3PEJ.js.map +0 -7
- package/dist/chunks/chunk.B3D627OD.js.map +0 -7
- package/dist/chunks/chunk.BOBXDVSO.js.map +0 -7
- package/dist/chunks/chunk.BRFSQ5UO.js.map +0 -7
- package/dist/chunks/chunk.CILTVCBQ.js.map +0 -7
- package/dist/chunks/chunk.D36G42T7.js.map +0 -7
- package/dist/chunks/chunk.DG6GXAVF.js.map +0 -7
- package/dist/chunks/chunk.FHND52A3.js.map +0 -7
- package/dist/chunks/chunk.GYSYAXFI.js.map +0 -7
- package/dist/chunks/chunk.HLQWQZQU.js.map +0 -7
- package/dist/chunks/chunk.HWNTLXRL.js.map +0 -7
- package/dist/chunks/chunk.JQADLKNT.js.map +0 -7
- package/dist/chunks/chunk.K36FG4W2.js.map +0 -7
- package/dist/chunks/chunk.KBBZYAPL.js.map +0 -7
- package/dist/chunks/chunk.MDKD6I5N.js.map +0 -7
- package/dist/chunks/chunk.NDIBJ6JI.js.map +0 -7
- package/dist/chunks/chunk.NHGNW7PA.js.map +0 -7
- package/dist/chunks/chunk.QHPOPKTJ.js.map +0 -7
- package/dist/chunks/chunk.QJPMVHQX.js.map +0 -7
- package/dist/chunks/chunk.QQ26YV6J.js.map +0 -7
- package/dist/chunks/chunk.QX2JOWGH.js.map +0 -7
- package/dist/chunks/chunk.R3THZVHP.js.map +0 -7
- package/dist/chunks/chunk.RAU2GK6I.js.map +0 -7
- package/dist/chunks/chunk.RYQHOPIY.js.map +0 -7
- package/dist/chunks/chunk.TX2PDRBM.js.map +0 -7
- package/dist/chunks/chunk.WASTXK4A.js.map +0 -7
- package/dist/chunks/chunk.WIZJDLTC.js.map +0 -7
- /package/dist/chunks/{chunk.SZ73NMRJ.js.map → chunk.2NS2E3LJ.js.map} +0 -0
- /package/dist/chunks/{chunk.3TOKEYJ6.js.map → chunk.3EPDSEI7.js.map} +0 -0
- /package/dist/chunks/{chunk.QOP6ET4B.js.map → chunk.3TECDOBS.js.map} +0 -0
- /package/dist/chunks/{chunk.JCJ64TPZ.js.map → chunk.43UZR7JA.js.map} +0 -0
- /package/dist/chunks/{chunk.UTPP6KE2.js.map → chunk.45RYQJWS.js.map} +0 -0
- /package/dist/chunks/{chunk.AQHRP3JF.js.map → chunk.4FYUNOAF.js.map} +0 -0
- /package/dist/chunks/{chunk.2GXRGBN3.js.map → chunk.4KUAEC3S.js.map} +0 -0
- /package/dist/chunks/{chunk.GAN4SEH5.js.map → chunk.4XC7NAJH.js.map} +0 -0
- /package/dist/chunks/{chunk.BMR7V4GF.js.map → chunk.67BZVLOD.js.map} +0 -0
- /package/dist/chunks/{chunk.UTJJJQMA.js.map → chunk.6GBQX53P.js.map} +0 -0
- /package/dist/chunks/{chunk.USSHF6CO.js.map → chunk.7PPS4IJJ.js.map} +0 -0
- /package/dist/chunks/{chunk.KLZ5NK2C.js.map → chunk.7YYNY2ZX.js.map} +0 -0
- /package/dist/chunks/{chunk.IZBTM55D.js.map → chunk.BG6L74VC.js.map} +0 -0
- /package/dist/chunks/{chunk.JP4QSX7M.js.map → chunk.CFUIAMHI.js.map} +0 -0
- /package/dist/chunks/{chunk.U3CL2TPE.js.map → chunk.CZG2SMYG.js.map} +0 -0
- /package/dist/chunks/{chunk.5ZRFAVKG.js.map → chunk.DCDK3EXG.js.map} +0 -0
- /package/dist/chunks/{chunk.SFIQJMJV.js.map → chunk.DMB7Z2ZQ.js.map} +0 -0
- /package/dist/chunks/{chunk.532L4VKN.js.map → chunk.FT3M2BTH.js.map} +0 -0
- /package/dist/chunks/{chunk.SWCGPDHW.js.map → chunk.FULJSSFR.js.map} +0 -0
- /package/dist/chunks/{chunk.WA7EKCMV.js.map → chunk.G2TWKVVP.js.map} +0 -0
- /package/dist/chunks/{chunk.AJW2D63L.js.map → chunk.GE3DTZIM.js.map} +0 -0
- /package/dist/chunks/{chunk.NUYZREPZ.js.map → chunk.GEV5TYRZ.js.map} +0 -0
- /package/dist/chunks/{chunk.PRJ3FJGJ.js.map → chunk.ICGTNBIJ.js.map} +0 -0
- /package/dist/chunks/{chunk.ZDYMO5XT.js.map → chunk.IHQEDOAX.js.map} +0 -0
- /package/dist/chunks/{chunk.FGAEUKVN.js.map → chunk.IUY4D7U3.js.map} +0 -0
- /package/dist/chunks/{chunk.E6OUQFF4.js.map → chunk.JU7GGWDE.js.map} +0 -0
- /package/dist/chunks/{chunk.A4FID4OH.js.map → chunk.KUQ6N3FH.js.map} +0 -0
- /package/dist/chunks/{chunk.GOYGD46T.js.map → chunk.MVBAJTOF.js.map} +0 -0
- /package/dist/chunks/{chunk.6ZCQFVOC.js.map → chunk.NC57MFGC.js.map} +0 -0
- /package/dist/chunks/{chunk.3ZXMZDAX.js.map → chunk.NECBJEDG.js.map} +0 -0
- /package/dist/chunks/{chunk.E4QLMZHL.js.map → chunk.NFEMXBDN.js.map} +0 -0
- /package/dist/chunks/{chunk.YU2PZ5EK.js.map → chunk.NGIPAGC4.js.map} +0 -0
- /package/dist/chunks/{chunk.UKUUCUD7.js.map → chunk.NLYJFOZZ.js.map} +0 -0
- /package/dist/chunks/{chunk.PDDQXWQR.js.map → chunk.OSJ3WQFD.js.map} +0 -0
- /package/dist/chunks/{chunk.IQGYOOWV.js.map → chunk.PLRHUWDP.js.map} +0 -0
- /package/dist/chunks/{chunk.EFJD5CZ6.js.map → chunk.PQGDR57N.js.map} +0 -0
- /package/dist/chunks/{chunk.ZUQIXELH.js.map → chunk.QFS6KGDB.js.map} +0 -0
- /package/dist/chunks/{chunk.FJSVF4A2.js.map → chunk.RCM2ZMZA.js.map} +0 -0
- /package/dist/chunks/{chunk.D6UYGOT5.js.map → chunk.RM54PPPR.js.map} +0 -0
- /package/dist/chunks/{chunk.UOY56ORY.js.map → chunk.RVEOI5HV.js.map} +0 -0
- /package/dist/chunks/{chunk.UKYLRMT2.js.map → chunk.RXJYIHMS.js.map} +0 -0
- /package/dist/chunks/{chunk.3JKMMYX3.js.map → chunk.THRS75O2.js.map} +0 -0
- /package/dist/chunks/{chunk.5WZOBIEX.js.map → chunk.TYEVZCIC.js.map} +0 -0
- /package/dist/chunks/{chunk.EEMCXA5G.js.map → chunk.VHXR6VJU.js.map} +0 -0
- /package/dist/chunks/{chunk.GTFKE4JG.js.map → chunk.VP73GNNH.js.map} +0 -0
- /package/dist/chunks/{chunk.AP55JRQ3.js.map → chunk.VXYIZUDW.js.map} +0 -0
- /package/dist/chunks/{chunk.QVRCVDGA.js.map → chunk.WJR72FH5.js.map} +0 -0
- /package/dist/chunks/{chunk.XA4EOA25.js.map → chunk.WPIWR6GG.js.map} +0 -0
- /package/dist/chunks/{chunk.HI3CSD4O.js.map → chunk.WTUKJGCV.js.map} +0 -0
- /package/dist/chunks/{chunk.2HPEABF4.js.map → chunk.XHQTVQU6.js.map} +0 -0
- /package/dist/chunks/{chunk.IXSDGMHS.js.map → chunk.YJ5O6SUI.js.map} +0 -0
- /package/dist/chunks/{chunk.574KKJH2.js.map → chunk.YTCOW742.js.map} +0 -0
- /package/dist/chunks/{chunk.M6OBVNV5.js.map → chunk.ZFDM6C6S.js.map} +0 -0
- /package/dist/chunks/{chunk.NPAGHPJZ.js.map → chunk.ZOLZENHH.js.map} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/breadcrumb/breadcrumb.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 { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query } from 'lit/decorators.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 './breadcrumb.styles.js';\nimport customStyles from './breadcrumb.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport type SynBreadcrumbItem from '../breadcrumb-item/breadcrumb-item.js';\n\n/**\n * @summary Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-breadcrumb--docs\n * @status stable\n * @since 2.0\n *\n * @slot - One or more breadcrumb items to display.\n * @slot separator - The separator to use between breadcrumb items. Works best with `<syn-icon>`.\n *\n * @dependency syn-icon\n *\n * @csspart base - The component's base wrapper.\n */\nexport default class SynBreadcrumb extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon': SynIcon };\n\n private readonly localize = new LocalizeController(this);\n private separatorDir = this.localize.dir();\n\n @query('slot') defaultSlot: HTMLSlotElement;\n @query('slot[name=\"separator\"]') separatorSlot: HTMLSlotElement;\n\n /**\n * The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\n * screen readers and other assistive devices to provide more context for users.\n */\n @property() label = '';\n\n // Generates a clone of the separator element to use for each breadcrumb item\n private getSeparator() {\n const separator = this.separatorSlot.assignedElements({ flatten: true })[0] as HTMLElement;\n\n // Clone it, remove ids, and slot it\n const clone = separator.cloneNode(true) as HTMLElement;\n [clone, ...clone.querySelectorAll('[id]')].forEach(el => el.removeAttribute('id'));\n clone.setAttribute('data-default', '');\n clone.slot = 'separator';\n\n return clone;\n }\n\n private handleSlotChange() {\n const items = [...this.defaultSlot.assignedElements({ flatten: true })].filter(\n item => item.tagName.toLowerCase() === 'syn-breadcrumb-item'\n ) as SynBreadcrumbItem[];\n\n items.forEach((item, index) => {\n // Append separators to each item if they don't already have one\n const separator = item.querySelector('[slot=\"separator\"]');\n if (separator === null) {\n // No separator exists, add one\n item.append(this.getSeparator());\n } else if (separator.hasAttribute('data-default')) {\n // A default separator exists, replace it\n separator.replaceWith(this.getSeparator());\n } else {\n // The user provided a custom separator, leave it alone\n }\n\n // The last breadcrumb item is the \"current page\"\n if (index === items.length - 1) {\n item.setAttribute('aria-current', 'page');\n } else {\n item.removeAttribute('aria-current');\n }\n });\n }\n\n render() {\n // We clone the separator and inject them into breadcrumb items, so we need to regenerate the default ones when\n // directionality changes. We do this by storing the current separator direction, waiting for render, then calling\n // the function that regenerates them.\n if (this.separatorDir !== this.localize.dir()) {\n this.separatorDir = this.localize.dir();\n this.updateComplete.then(() => this.handleSlotChange());\n }\n\n return html`\n <nav part=\"base\" class=\"breadcrumb\" aria-label=${this.label}>\n <slot @slotchange=${this.handleSlotChange}></slot>\n </nav>\n\n <span hidden aria-hidden=\"true\">\n <slot name=\"separator\">\n <syn-icon name=\"chevron-down\" library=\"system\" class=${this.localize.dir()}></syn-icon>\n </slot>\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KAAK,SAAS,IAAI;AACtC,WAAK,eAAe,KAAK,MAAM,KAAK,iBAAiB,CAAC;AAAA,IACxD;AAEA,WAAO;AAAA,uDAC4C,KAAK,KAAK;AAAA,4BACrC,KAAK,gBAAgB;AAAA;AAAA;AAAA;AAAA;AAAA,iEAKgB,KAAK,SAAS,IAAI,CAAC;AAAA;AAAA;AAAA;AAAA,EAIlF;AACF;AA7EqB,cACZ,SAAyB,CAAC,0BAAiB,2BAAQ,gCAAY;AADnD,cAEZ,eAAe,EAAE,YAAY,QAAQ;AAK7B;AAAA,EAAd,MAAM,MAAM;AAAA,GAPM,cAOJ;AACkB;AAAA,EAAhC,MAAM,wBAAwB;AAAA,GARZ,cAQc;AAMrB;AAAA,EAAX,SAAS;AAAA,GAdS,cAcP;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.SV2YRXTN.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.RCM2ZMZA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynergyElement
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.FA4T7QQM.js";
|
|
4
4
|
|
|
5
5
|
// src/components/validate/utility.ts
|
|
6
6
|
var WhitelistedSynergyFormEventNames = [
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
normalizeEventAttribute,
|
|
34
34
|
getEventNameForElement
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=chunk.
|
|
36
|
+
//# sourceMappingURL=chunk.RM54PPPR.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.WXVOTRW5.js";
|
|
4
4
|
import {
|
|
5
5
|
SynIconButton
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.A77V4OPP.js";
|
|
7
7
|
import {
|
|
8
8
|
waitForEvent
|
|
9
9
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -18,27 +18,27 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
HasSlotController
|
|
20
20
|
} from "./chunk.WVVQK5TE.js";
|
|
21
|
+
import {
|
|
22
|
+
LocalizeController
|
|
23
|
+
} from "./chunk.GIU3H3J3.js";
|
|
21
24
|
import {
|
|
22
25
|
alert_custom_styles_default
|
|
23
26
|
} from "./chunk.QBHZAR4C.js";
|
|
24
27
|
import {
|
|
25
28
|
alert_styles_default
|
|
26
29
|
} from "./chunk.BXY667C7.js";
|
|
27
|
-
import {
|
|
28
|
-
watch
|
|
29
|
-
} from "./chunk.74IOULXM.js";
|
|
30
|
-
import {
|
|
31
|
-
LocalizeController
|
|
32
|
-
} from "./chunk.GIU3H3J3.js";
|
|
33
30
|
import {
|
|
34
31
|
enableDefaultSettings
|
|
35
32
|
} from "./chunk.NUIJATJY.js";
|
|
33
|
+
import {
|
|
34
|
+
watch
|
|
35
|
+
} from "./chunk.74IOULXM.js";
|
|
36
36
|
import {
|
|
37
37
|
component_styles_default
|
|
38
38
|
} from "./chunk.NLYVOJGK.js";
|
|
39
39
|
import {
|
|
40
40
|
SynergyElement
|
|
41
|
-
} from "./chunk.
|
|
41
|
+
} from "./chunk.FA4T7QQM.js";
|
|
42
42
|
import {
|
|
43
43
|
__decorateClass
|
|
44
44
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -288,4 +288,4 @@ setDefaultAnimation("alert.hide", {
|
|
|
288
288
|
export {
|
|
289
289
|
SynAlert
|
|
290
290
|
};
|
|
291
|
-
//# sourceMappingURL=chunk.
|
|
291
|
+
//# sourceMappingURL=chunk.RMDAJPSI.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/alert/alert.component.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { blurActiveElement } from '../../internal/closeActiveElement.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './alert.styles.js';\nimport customStyles from './alert.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Alerts are used to display important messages inline or as toast notifications.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-alert--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The alert's main content.\n * @slot icon - An icon to show in the alert. Works best with `<syn-icon>`.\n *\n * @event syn-show - Emitted when the alert opens.\n * @event syn-after-show - Emitted after the alert opens and all animations are complete.\n * @event syn-hide - Emitted when the alert closes.\n * @event syn-after-hide - Emitted after the alert closes and all animations are complete.\n *\n * @csspart base - The component's base wrapper.\n * @csspart icon - The container that wraps the optional icon.\n * @csspart message - The container that wraps the alert's main content.\n * @csspart close-button - The close button, an `<syn-icon-button>`.\n * @csspart close-button__base - The close button's exported `base` part.\n *\n * @animation alert.show - The animation to use when showing the alert.\n * @animation alert.hide - The animation to use when hiding the alert.\n */\n@enableDefaultSettings('SynAlert')\nexport default class SynAlert extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon-button': SynIconButton };\n\n private autoHideTimeout: number;\n private remainingTimeInterval: number;\n private countdownAnimation?: Animation;\n private readonly hasSlotController = new HasSlotController(this, 'icon', 'suffix');\n private readonly localize = new LocalizeController(this);\n\n private static currentToastStack: HTMLDivElement;\n\n private static get toastStack() {\n if (!this.currentToastStack) {\n this.currentToastStack = Object.assign(document.createElement('div'), {\n className: 'syn-toast-stack'\n });\n }\n return this.currentToastStack;\n }\n\n @query('[part~=\"base\"]') base: HTMLElement;\n\n @query('.alert__countdown-elapsed') countdownElement: HTMLElement;\n\n /**\n * Indicates whether or not the alert is open. You can toggle this attribute to show and hide the alert, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the alert's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /** Enables a close button that allows the user to dismiss the alert. */\n @property({ type: Boolean, reflect: true }) closable = false;\n\n /** The alert's theme variant. */\n @property({ reflect: true }) variant: 'primary' | 'success' | 'neutral' | 'warning' | 'danger' = 'primary';\n\n /**\n * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with\n * the alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`, meaning\n * the alert will not close on its own.\n */\n @property({ type: Number }) duration = Infinity;\n\n /**\n * Enables a countdown that indicates the remaining time the alert will be displayed.\n * Typically used to indicate the remaining time before a whole app refresh.\n */\n private countdown? : 'rtl' | 'ltr';\n\n @state() private remainingTime = this.duration;\n\n firstUpdated() {\n this.base.hidden = !this.open;\n }\n\n private restartAutoHide() {\n this.handleCountdownChange();\n clearTimeout(this.autoHideTimeout);\n clearInterval(this.remainingTimeInterval);\n if (this.open && this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.duration);\n this.remainingTime = this.duration;\n this.remainingTimeInterval = window.setInterval(() => {\n this.remainingTime -= 100;\n }, 100);\n }\n }\n\n private pauseAutoHide() {\n this.countdownAnimation?.pause();\n clearTimeout(this.autoHideTimeout);\n clearInterval(this.remainingTimeInterval);\n }\n\n private resumeAutoHide() {\n if (this.duration < Infinity) {\n this.autoHideTimeout = window.setTimeout(() => this.hide(), this.remainingTime);\n this.remainingTimeInterval = window.setInterval(() => {\n this.remainingTime -= 100;\n }, 100);\n this.countdownAnimation?.play();\n }\n }\n\n private handleCountdownChange() {\n if (this.open && this.duration < Infinity && this.countdown) {\n const { countdownElement } = this;\n const start = '100%';\n const end = '0';\n this.countdownAnimation = countdownElement.animate([{ width: start }, { width: end }], {\n duration: this.duration,\n easing: 'linear'\n });\n }\n }\n\n private handleCloseClick() {\n this.hide();\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n // Show\n this.emit('syn-show');\n\n if (this.duration < Infinity) {\n this.restartAutoHide();\n }\n\n await stopAnimations(this.base);\n this.base.hidden = false;\n const { keyframes, options } = getAnimation(this, 'alert.show', { dir: this.localize.dir() });\n await animateTo(this.base, keyframes, options);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n blurActiveElement(this);\n this.emit('syn-hide');\n\n clearTimeout(this.autoHideTimeout);\n clearInterval(this.remainingTimeInterval);\n\n await stopAnimations(this.base);\n const { keyframes, options } = getAnimation(this, 'alert.hide', { dir: this.localize.dir() });\n await animateTo(this.base, keyframes, options);\n this.base.hidden = true;\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch('duration')\n handleDurationChange() {\n this.restartAutoHide();\n }\n\n /** Shows the alert. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the alert */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n /**\n * Displays the alert as a toast notification. This will move the alert out of its position in the DOM and, when\n * dismissed, it will be removed from the DOM completely. By storing a reference to the alert, you can reuse it by\n * calling this method again. The returned promise will resolve after the alert is hidden.\n */\n async toast() {\n return new Promise<void>(resolve => {\n this.handleCountdownChange();\n if (SynAlert.toastStack.parentElement === null) {\n document.body.append(SynAlert.toastStack);\n }\n\n SynAlert.toastStack.appendChild(this);\n\n // Wait for the toast stack to render\n requestAnimationFrame(() => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions -- force a reflow for the initial transition\n this.clientWidth;\n this.show();\n });\n\n this.addEventListener(\n 'syn-after-hide',\n () => {\n SynAlert.toastStack.removeChild(this);\n resolve();\n\n // Remove the toast stack from the DOM when there are no more alerts\n if (SynAlert.toastStack.querySelector('syn-alert') === null) {\n SynAlert.toastStack.remove();\n }\n },\n { once: true }\n );\n });\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n alert: true,\n 'alert--open': this.open,\n 'alert--closable': this.closable,\n 'alert--has-icon': this.hasSlotController.test('icon'),\n 'alert--primary': this.variant === 'primary',\n 'alert--success': this.variant === 'success',\n 'alert--neutral': this.variant === 'neutral',\n 'alert--warning': this.variant === 'warning',\n 'alert--danger': this.variant === 'danger'\n })}\n role=\"alert\"\n aria-hidden=${this.open ? 'false' : 'true'}\n @mouseenter=${this.pauseAutoHide}\n @mouseleave=${this.resumeAutoHide}\n >\n <div part=\"icon\" class=\"alert__icon\">\n <slot name=\"icon\"></slot>\n </div>\n\n <div part=\"message\" class=\"alert__message\" aria-live=\"polite\">\n <slot></slot>\n </div>\n\n ${this.closable\n ? html`\n <syn-icon-button\n part=\"close-button\"\n exportparts=\"base:close-button__base\"\n class=\"alert__close-button\"\n name=\"x-lg\"\n library=\"system\"\n label=${this.localize.term('close')}\n @click=${this.handleCloseClick}\n ></syn-icon-button>\n `\n : ''}\n\n <div role=\"timer\" class=\"alert__timer\">${this.remainingTime}</div>\n\n ${this.countdown\n ? html`\n <div\n class=${classMap({\n alert__countdown: true,\n 'alert__countdown--ltr': this.countdown === 'ltr'\n })}\n >\n <div class=\"alert__countdown-elapsed\"></div>\n </div>\n `\n : ''}\n </div>\n `;\n }\n}\n\nsetDefaultAnimation('alert.show', {\n keyframes: [\n { opacity: 0, scale: 0.8 },\n { opacity: 1, scale: 1 }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('alert.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.8 }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,SAAS,gBAAgB;AAGzB,SAAS,YAAY;AAErB,SAAS,UAAU,OAAO,aAAa;AAqCvC,IAAqB,WAArB,cAAsC,eAAe;AAAA,EAArD;AAAA;AAOE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,QAAQ,QAAQ;AACjF,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAqBX,gBAAO;AAGP,oBAAW;AAG1B,mBAAoE;AAOrE,oBAAW;AAQ9B,SAAQ,gBAAgB,KAAK;AAAA;AAAA,EAtCtC,WAAmB,aAAa;AAC9B,QAAI,CAAC,KAAK,mBAAmB;AAC3B,WAAK,oBAAoB,OAAO,OAAO,SAAS,cAAc,KAAK,GAAG;AAAA,QACpE,WAAW;AAAA,MACb,CAAC;AAAA,IACH;AACA,WAAO,KAAK;AAAA,EACd;AAAA,EAiCA,eAAe;AACb,SAAK,KAAK,SAAS,CAAC,KAAK;AAAA,EAC3B;AAAA,EAEQ,kBAAkB;AACxB,SAAK,sBAAsB;AAC3B,iBAAa,KAAK,eAAe;AACjC,kBAAc,KAAK,qBAAqB;AACxC,QAAI,KAAK,QAAQ,KAAK,WAAW,UAAU;AACzC,WAAK,kBAAkB,OAAO,WAAW,MAAM,KAAK,KAAK,GAAG,KAAK,QAAQ;AACzE,WAAK,gBAAgB,KAAK;AAC1B,WAAK,wBAAwB,OAA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AAS,KAAK,CAAC;AAAA,GAhCvB,SAgCyB;AAGf;AAAA,EAA5B,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GAnCR,SAmCU;AAOD;AAAA,EAA3B,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GA1CP,SA0CS;AAQX;AAAA,EAAhB,MAAM;AAAA,GAlDY,SAkDF;AAoDX;AAAA,EADL,MAAM,QAAQ,EAAE,sBAAsB,KAAK,CAAC;AAAA,GArG1B,SAsGb;AAiCN;AAAA,EADC,MAAM,UAAU;AAAA,GAtIE,SAuInB;AAvImB,WAArB;AAAA,EADC,sBAAsB,UAAU;AAAA,GACZ;AAiQrB,oBAAoB,cAAc;AAAA,EAChC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,IACzB,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,EACzB;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,cAAc;AAAA,EAChC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,OAAO,EAAE;AAAA,IACvB,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,EAC3B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDivider
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ZHBRF2U3.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.RVEOI5HV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRangeTick
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.OPSPWNFD.js";
|
|
4
4
|
|
|
5
5
|
// src/components/range-tick/range-tick.ts
|
|
6
6
|
var range_tick_default = SynRangeTick;
|
|
@@ -9,4 +9,4 @@ SynRangeTick.define("syn-range-tick");
|
|
|
9
9
|
export {
|
|
10
10
|
range_tick_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.RXJYIHMS.js.map
|
|
@@ -9,29 +9,29 @@ import {
|
|
|
9
9
|
} from "./chunk.V4HPWQE7.js";
|
|
10
10
|
import {
|
|
11
11
|
SynPopup
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.5U2JN5LA.js";
|
|
13
13
|
import {
|
|
14
14
|
SynSpinner
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.PCHN7UNX.js";
|
|
16
16
|
import {
|
|
17
17
|
HasSlotController,
|
|
18
18
|
getTextContent
|
|
19
19
|
} from "./chunk.WVVQK5TE.js";
|
|
20
20
|
import {
|
|
21
21
|
SynIcon
|
|
22
|
-
} from "./chunk.
|
|
23
|
-
import {
|
|
24
|
-
watch
|
|
25
|
-
} from "./chunk.74IOULXM.js";
|
|
22
|
+
} from "./chunk.IC3XQ2EB.js";
|
|
26
23
|
import {
|
|
27
24
|
LocalizeController
|
|
28
25
|
} from "./chunk.GIU3H3J3.js";
|
|
26
|
+
import {
|
|
27
|
+
watch
|
|
28
|
+
} from "./chunk.74IOULXM.js";
|
|
29
29
|
import {
|
|
30
30
|
component_styles_default
|
|
31
31
|
} from "./chunk.NLYVOJGK.js";
|
|
32
32
|
import {
|
|
33
33
|
SynergyElement
|
|
34
|
-
} from "./chunk.
|
|
34
|
+
} from "./chunk.FA4T7QQM.js";
|
|
35
35
|
import {
|
|
36
36
|
__decorateClass,
|
|
37
37
|
__privateAdd,
|
|
@@ -241,4 +241,4 @@ SynMenuItem = __decorateClass([
|
|
|
241
241
|
export {
|
|
242
242
|
SynMenuItem
|
|
243
243
|
};
|
|
244
|
-
//# sourceMappingURL=chunk.
|
|
244
|
+
//# sourceMappingURL=chunk.S3JOQPQH.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": ["/**\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 { 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 customStyles from './menu-item.custom.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, customStyles];\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": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AAErB,SAAS,UAAU,aAAa;;;ACkDzB,SAAS,4BACd,mBACA,SACA;AACA,QAAM,kBAA8C;AAAA,IAClD,uBAAuB;AAAA,KACpB;AAGL,SAAO,CAAwC,UAAa;AAvE9D;AAuEiE,8BAAc,MAAM;AAAA,MAApB;AAAA;AAE7D;AAAA,iEAAuC,CAAC,gBAAgB;AAAA;AAAA,MAExD,QAAQ,cAA8B;AACpC,YAAI,CAAC,mBAAK,uCAAsC;AAC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uBAAuB;AAAA,EACzB,CAAC;AAAA,GACoB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
badge_custom_styles_default
|
|
3
|
+
} from "./chunk.J6CGTLVH.js";
|
|
4
|
+
import {
|
|
5
|
+
badge_styles_default
|
|
6
|
+
} from "./chunk.Y5TMYX2L.js";
|
|
1
7
|
import {
|
|
2
8
|
LocalizeController
|
|
3
9
|
} from "./chunk.GIU3H3J3.js";
|
|
@@ -9,13 +15,7 @@ import {
|
|
|
9
15
|
} from "./chunk.NLYVOJGK.js";
|
|
10
16
|
import {
|
|
11
17
|
SynergyElement
|
|
12
|
-
} from "./chunk.
|
|
13
|
-
import {
|
|
14
|
-
badge_custom_styles_default
|
|
15
|
-
} from "./chunk.J6CGTLVH.js";
|
|
16
|
-
import {
|
|
17
|
-
badge_styles_default
|
|
18
|
-
} from "./chunk.Y5TMYX2L.js";
|
|
18
|
+
} from "./chunk.FA4T7QQM.js";
|
|
19
19
|
import {
|
|
20
20
|
__decorateClass
|
|
21
21
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -66,4 +66,4 @@ SynBadge = __decorateClass([
|
|
|
66
66
|
export {
|
|
67
67
|
SynBadge
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=chunk.
|
|
69
|
+
//# sourceMappingURL=chunk.SFKDMJXY.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/components/badge/badge.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 } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport styles from './badge.styles.js';\nimport customStyles from './badge.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Badges are used to draw attention and display statuses or counts.\n * @documentation https://synergy.
|
|
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 } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport styles from './badge.styles.js';\nimport customStyles from './badge.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Badges are used to draw attention and display statuses or counts.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-badge--docs\n * @status stable\n * @since 2.0\n *\n * @slot - The badge's content.\n *\n * @csspart base - The component's base wrapper.\n */\n@enableDefaultSettings('SynBadge')\nexport default class SynBadge extends SynergyElement {\n \n private readonly localize = new LocalizeController(this);\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n /** The badge's theme variant. */\n @property({ reflect: true }) variant: 'primary' | 'success' | 'neutral' | 'warning' | 'danger' = 'primary';\n\n render() {\n return html`\n <span\n part=\"base\"\n class=${classMap({\n badge: true,\n 'badge--primary': this.variant === 'primary',\n 'badge--success': this.variant === 'success',\n 'badge--neutral': this.variant === 'neutral',\n 'badge--warning': this.variant === 'warning',\n 'badge--danger': this.variant === 'danger',\n })}\n role=\"status\"\n >\n <slot>\n <span class=\"visually-hidden\">\n ${this.localize.term(\n (this.variant === 'primary' || this.variant === 'neutral')\n ? 'notification'\n : this.variant\n )}\n </span>\n </slot>\n </span>\n `;\n }\n}\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,gBAAgB;AAoBzB,IAAqB,WAArB,cAAsC,eAAe;AAAA,EAArD;AAAA;AAEE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAI1B,mBAAoE;AAAA;AAAA,EAEjG,SAAS;AACP,WAAO;AAAA;AAAA;AAAA,gBAGK,SAAS;AAAA,MACf,OAAO;AAAA,MACP,kBAAkB,KAAK,YAAY;AAAA,MACnC,kBAAkB,KAAK,YAAY;AAAA,MACnC,kBAAkB,KAAK,YAAY;AAAA,MACnC,kBAAkB,KAAK,YAAY;AAAA,MACnC,iBAAiB,KAAK,YAAY;AAAA,IACpC,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,cAKI,KAAK,SAAS;AAAA,MACb,KAAK,YAAY,aAAa,KAAK,YAAY,YAC5C,iBACA,KAAK;AAAA,IACT,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKb;AACF;AAlCqB,SAGZ,SAAyB,CAAC,0BAAiB,sBAAQ,2BAAY;AAGzC;AAAA,EAA5B,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GANR,SAMU;AANV,WAArB;AAAA,EADC,sBAAsB,UAAU;AAAA,GACZ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTag
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ARJFVRBM.js";
|
|
4
4
|
import {
|
|
5
5
|
select_custom_styles_default
|
|
6
6
|
} from "./chunk.B6HFSIU2.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.LUQR4NNU.js";
|
|
13
13
|
import {
|
|
14
14
|
SynPopup
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.5U2JN5LA.js";
|
|
16
16
|
import {
|
|
17
17
|
scrollIntoView
|
|
18
18
|
} from "./chunk.5732DMBC.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk.AERTEAG5.js";
|
|
23
23
|
import {
|
|
24
24
|
FormControlController
|
|
25
|
-
} from "./chunk.
|
|
25
|
+
} from "./chunk.OLRA37R5.js";
|
|
26
26
|
import {
|
|
27
27
|
waitForEvent
|
|
28
28
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -39,22 +39,22 @@ import {
|
|
|
39
39
|
} from "./chunk.WVVQK5TE.js";
|
|
40
40
|
import {
|
|
41
41
|
SynIcon
|
|
42
|
-
} from "./chunk.
|
|
43
|
-
import {
|
|
44
|
-
watch
|
|
45
|
-
} from "./chunk.74IOULXM.js";
|
|
42
|
+
} from "./chunk.IC3XQ2EB.js";
|
|
46
43
|
import {
|
|
47
44
|
LocalizeController
|
|
48
45
|
} from "./chunk.GIU3H3J3.js";
|
|
49
46
|
import {
|
|
50
47
|
enableDefaultSettings
|
|
51
48
|
} from "./chunk.NUIJATJY.js";
|
|
49
|
+
import {
|
|
50
|
+
watch
|
|
51
|
+
} from "./chunk.74IOULXM.js";
|
|
52
52
|
import {
|
|
53
53
|
component_styles_default
|
|
54
54
|
} from "./chunk.NLYVOJGK.js";
|
|
55
55
|
import {
|
|
56
56
|
SynergyElement
|
|
57
|
-
} from "./chunk.
|
|
57
|
+
} from "./chunk.FA4T7QQM.js";
|
|
58
58
|
import {
|
|
59
59
|
__decorateClass
|
|
60
60
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -849,4 +849,4 @@ setDefaultAnimation("select.hide", {
|
|
|
849
849
|
export {
|
|
850
850
|
SynSelect
|
|
851
851
|
};
|
|
852
|
-
//# sourceMappingURL=chunk.
|
|
852
|
+
//# sourceMappingURL=chunk.SV2YRXTN.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/select/select.component.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * ---------------------------------------------------------------------\n * \uD83D\uDD12 AUTOGENERATED BY VENDORISM\n * Removing this comment will prevent it from being managed by it.\n * ---------------------------------------------------------------------\n */\n\n/* eslint-disable */\nimport { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { FormControlController } from '../../internal/form.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { scrollIntoView } from '../../internal/scroll.js';\nimport { unsafeHTML } from 'lit/directives/unsafe-html.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport formControlStyles from '../../styles/form-control.styles.js';\nimport formControlCustomStyles from '../../styles/form-control.custom.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIcon from '../icon/icon.component.js';\nimport SynPopup from '../popup/popup.component.js';\nimport SynTag from '../tag/tag.component.js';\nimport styles from './select.styles.js';\nimport customStyles from './select.custom.styles.js';\nimport type { CSSResultGroup, PropertyValues, TemplateResult } from 'lit';\nimport type { SynergyFormControl } from '../../internal/synergy-element.js';\nimport type { SynRemoveEvent } from '../../events/syn-remove.js';\nimport type SynOption from '../option/option.component.js';\nimport { isAllowedValue } from './utility.js';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Selects allow you to choose items from a menu of predefined options.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-select--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n * @dependency syn-popup\n * @dependency syn-tag\n *\n * @slot - The listbox options. Must be `<syn-option>` elements. You can use `<syn-divider>` to group items visually.\n * @slot label - The input's label. Alternatively, you can use the `label` attribute.\n * @slot prefix - Used to prepend a presentational icon or similar element to the combobox.\n * @slot suffix - Used to append a presentational icon or similar element to the combobox.\n * @slot clear-icon - An icon to use in lieu of the default clear icon.\n * @slot expand-icon - The icon to show when the control is expanded and collapsed. Rotates on open and close.\n * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n *\n * @event syn-change - Emitted when the control's value changes.\n * @event syn-clear - Emitted when the control's value is cleared.\n * @event syn-input - Emitted when the control receives input.\n * @event syn-focus - Emitted when the control gains focus.\n * @event syn-blur - Emitted when the control loses focus.\n * @event syn-show - Emitted when the select's menu opens.\n * @event syn-after-show - Emitted after the select's menu opens and all animations are complete.\n * @event syn-hide - Emitted when the select's menu closes.\n * @event syn-after-hide - Emitted after the select's menu closes and all animations are complete.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @csspart form-control - The form control that wraps the label, input, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The select's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart combobox - The container the wraps the prefix, suffix, combobox, clear icon, and expand button.\n * @csspart prefix - The container that wraps the prefix slot.\n * @csspart suffix - The container that wraps the suffix slot.\n * @csspart display-input - The element that displays the selected option's label, an `<input>` element.\n * @csspart listbox - The listbox container where options are slotted.\n * @csspart tags - The container that houses option tags when `multiselect` is used.\n * @csspart tag - The individual tags that represent each multiselect option.\n * @csspart tag__base - The tag's base part.\n * @csspart tag__content - The tag's content part.\n * @csspart tag__remove-button - The tag's remove button.\n * @csspart tag__remove-button__base - The tag's remove button base part.\n * @csspart clear-button - The clear button.\n * @csspart expand-icon - The container that wraps the expand icon.\n */\n@enableDefaultSettings('SynSelect')\nexport default class SynSelect extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [componentStyles, formControlStyles, styles, formControlCustomStyles, customStyles];\n static dependencies = {\n 'syn-icon': SynIcon,\n 'syn-popup': SynPopup,\n 'syn-tag': SynTag\n };\n\n private readonly formControlController = new FormControlController(this, {\n assumeInteractionOn: ['syn-blur', 'syn-input']\n });\n private readonly hasSlotController = new HasSlotController(this, 'help-text', 'label');\n private readonly localize = new LocalizeController(this);\n private isInitialized: boolean = false;\n private typeToSelectString = '';\n private typeToSelectTimeout: number;\n private closeWatcher: CloseWatcher | null;\n\n @query('.select') popup: SynPopup;\n @query('.select__combobox') combobox: HTMLSlotElement;\n @query('.select__display-input') displayInput: HTMLInputElement;\n @query('.select__value-input') valueInput: HTMLInputElement;\n @query('.select__listbox') listbox: HTMLSlotElement;\n\n @state() private hasFocus = false;\n @state() displayLabel = '';\n @state() currentOption: SynOption;\n @state() selectedOptions: SynOption[] = [];\n @state() private valueHasChanged: boolean = false;\n\n /**\n * The delimiter to use when setting the value when `multiple` is enabled.\n * The default is a space, but you can set it to a comma or other character.\n * @example <syn-select delimiter=\"|\" value=\"option-1|option-2\"></syn-select>\n */\n @property() delimiter = ' ';\n\n /** The name of the select, submitted as a name/value pair with form data. */\n @property() name = '';\n\n private _value: string | number | Array<string | number> = '';\n\n get value() {\n return this._value;\n }\n\n /**\n * The current value of the select, submitted as a name/value pair with form data. When `multiple` is enabled, the\n * value attribute will be a space-delimited list of values based on the options selected, and the value property will\n * be an array. **For this reason, values must not contain spaces.**\n */\n @state()\n set value(val: string | number | Array<string | number>) {\n if (this.multiple) {\n if (!Array.isArray(val)) {\n val = typeof val === 'string' ? val.split(this.delimiter) : [val].filter(Boolean);\n }\n } else {\n val = Array.isArray(val) ? val.join(this.delimiter) : val;\n }\n\n if (this._value === val) {\n return;\n }\n\n this.valueHasChanged = true;\n this._value = val;\n }\n\n /** The default value of the form control. Primarily used for resetting the form control. */\n @property({ attribute: 'value' }) defaultValue: string | number | Array<string | number> = '';\n\n /** The select's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Placeholder text to show as a hint when the select is empty. */\n @property() placeholder = '';\n\n /** Allows more than one option to be selected. */\n @property({ type: Boolean, reflect: true }) multiple = false;\n\n /**\n * The maximum number of selected options to show when `multiple` is true. After the maximum, \"+n\" will be shown to\n * indicate the number of additional items that are selected. Set to 0 to remove the limit.\n */\n @property({ attribute: 'max-options-visible', type: Number }) maxOptionsVisible = 3;\n\n /** Disables the select control. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /** Adds a clear button when the select is not empty. */\n @property({ type: Boolean }) clearable = false;\n\n /**\n * Indicates whether or not the select is open. You can toggle this attribute to show and hide the menu, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the select's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /**\n * Enable this option to prevent the listbox from being clipped when the component is placed inside a container with\n * `overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.\n */\n @property({ type: Boolean }) hoist = false;\n\n /** The select's label. If you need to display HTML, use the `label` slot instead. */\n @property() label = '';\n\n /**\n * The preferred placement of the select's menu. Note that the actual placement may vary as needed to keep the listbox\n * inside of the viewport.\n */\n @property({ reflect: true }) placement: 'top' | 'bottom' = 'bottom';\n\n /** The select's help text. If you need to display HTML, use the `help-text` slot instead. */\n @property({ attribute: 'help-text' }) helpText = '';\n\n /**\n * By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\n * to place the form control outside of a form and associate it with the form that has this `id`. The form must be in\n * the same document or shadow root for this to work.\n */\n @property({ reflect: true }) form = '';\n\n /** The select's required attribute. */\n @property({ type: Boolean, reflect: true }) required = false;\n\n /**\n * A function that customizes the tags to be rendered when multiple=true. The first argument is the option, the second\n * is the current tag's index. The function should return either a Lit TemplateResult or a string containing trusted HTML of the symbol to render at\n * the specified value.\n */\n @property() getTag: (option: SynOption, index: number) => TemplateResult | string | HTMLElement = option => {\n return html`\n <syn-tag\n part=\"tag\"\n exportparts=\"\n base:tag__base,\n content:tag__content,\n remove-button:tag__remove-button,\n remove-button__base:tag__remove-button__base\n \"\n size=${this.size}\n removable\n @syn-remove=${(event: SynRemoveEvent) => this.handleTagRemove(event, option)}\n >\n ${option.getTextLabel()}\n </syn-tag>\n `;\n };\n\n /** Gets the validity state object */\n get validity() {\n return this.valueInput.validity;\n }\n\n /** Gets the validation message */\n get validationMessage() {\n return this.valueInput.validationMessage;\n }\n\n connectedCallback() {\n super.connectedCallback();\n\n setTimeout(() => {\n this.handleDefaultSlotChange();\n });\n\n // Because this is a form control, it shouldn't be opened initially\n this.open = false;\n }\n\n private addOpenListeners() {\n //\n // Listen on the root node instead of the document in case the elements are inside a shadow root\n //\n // https://github.com/shoelace-style/shoelace/issues/1763\n //\n document.addEventListener('focusin', this.handleDocumentFocusIn);\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n document.addEventListener('mousedown', this.handleDocumentMouseDown);\n\n // If the component is rendered in a shadow root, we need to attach the focusin listener there too\n if (this.getRootNode() !== document) {\n this.getRootNode().addEventListener('focusin', this.handleDocumentFocusIn);\n }\n\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => {\n if (this.open) {\n this.hide();\n this.displayInput.focus({ preventScroll: true });\n }\n };\n }\n }\n\n private removeOpenListeners() {\n document.removeEventListener('focusin', this.handleDocumentFocusIn);\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n document.removeEventListener('mousedown', this.handleDocumentMouseDown);\n\n if (this.getRootNode() !== document) {\n this.getRootNode().removeEventListener('focusin', this.handleDocumentFocusIn);\n }\n\n this.closeWatcher?.destroy();\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.displayInput.setSelectionRange(0, 0);\n this.emit('syn-focus');\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleDocumentFocusIn = (event: KeyboardEvent) => {\n // Close when focusing out of the select\n const path = event.composedPath();\n if (this && !path.includes(this)) {\n this.hide();\n }\n };\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n const target = event.target as HTMLElement;\n const isClearButton = target.closest('.select__clear') !== null;\n const isIconButton = target.closest('syn-icon-button') !== null;\n\n // Ignore presses when the target is an icon button (e.g. the remove button in <syn-tag>)\n if (isClearButton || isIconButton) {\n return;\n }\n\n // Close when pressing escape\n if (event.key === 'Escape' && this.open && !this.closeWatcher) {\n event.preventDefault();\n event.stopPropagation();\n this.hide();\n this.displayInput.focus({ preventScroll: true });\n }\n\n // Handle enter and space. When pressing space, we allow for type to select behaviors so if there's anything in the\n // buffer we _don't_ close it.\n if (event.key === 'Enter' || (event.key === ' ' && this.typeToSelectString === '')) {\n event.preventDefault();\n event.stopImmediatePropagation();\n\n // If it's not open, open it\n if (!this.open) {\n this.show();\n return;\n }\n\n // If it is open, update the value based on the current selection and close it\n if (this.currentOption && !this.currentOption.disabled) {\n this.valueHasChanged = true;\n if (this.multiple) {\n this.toggleOptionSelection(this.currentOption);\n } else {\n this.setSelectedOptions(this.currentOption);\n }\n\n // Emit after updating\n this.updateComplete.then(() => {\n this.emit('syn-input');\n this.emit('syn-change');\n });\n\n if (!this.multiple) {\n this.hide();\n this.displayInput.focus({ preventScroll: true });\n }\n }\n\n return;\n }\n\n // Navigate options\n if (['ArrowUp', 'ArrowDown', 'Home', 'End'].includes(event.key)) {\n const allOptions = this.getAllOptions();\n const currentIndex = allOptions.indexOf(this.currentOption);\n let newIndex = Math.max(0, currentIndex);\n\n // Prevent scrolling\n event.preventDefault();\n\n // Open it\n if (!this.open) {\n this.show();\n\n // If an option is already selected, stop here because we want that one to remain highlighted when the listbox\n // opens for the first time\n if (this.currentOption) {\n return;\n }\n }\n\n if (event.key === 'ArrowDown') {\n newIndex = currentIndex + 1;\n if (newIndex > allOptions.length - 1) newIndex = 0;\n } else if (event.key === 'ArrowUp') {\n newIndex = currentIndex - 1;\n if (newIndex < 0) newIndex = allOptions.length - 1;\n } else if (event.key === 'Home') {\n newIndex = 0;\n } else if (event.key === 'End') {\n newIndex = allOptions.length - 1;\n }\n\n this.setCurrentOption(allOptions[newIndex]);\n }\n\n // All other \"printable\" keys trigger type to select\n if ((event.key && event.key.length === 1) || event.key === 'Backspace') {\n const allOptions = this.getAllOptions();\n\n // Don't block important key combos like CMD+R\n if (event.metaKey || event.ctrlKey || event.altKey) {\n return;\n }\n\n // Open, unless the key that triggered is backspace\n if (!this.open) {\n if (event.key === 'Backspace') {\n return;\n }\n\n this.show();\n }\n\n event.stopPropagation();\n event.preventDefault();\n\n clearTimeout(this.typeToSelectTimeout);\n this.typeToSelectTimeout = window.setTimeout(() => (this.typeToSelectString = ''), 1000);\n\n if (event.key === 'Backspace') {\n this.typeToSelectString = this.typeToSelectString.slice(0, -1);\n } else {\n this.typeToSelectString += event.key.toLowerCase();\n }\n\n for (const option of allOptions) {\n const label = option.getTextLabel().toLowerCase();\n\n if (label.startsWith(this.typeToSelectString)) {\n this.setCurrentOption(option);\n break;\n }\n }\n }\n };\n\n private handleDocumentMouseDown = (event: MouseEvent) => {\n // Close when clicking outside of the select\n const path = event.composedPath();\n if (this && !path.includes(this)) {\n this.hide();\n }\n };\n\n private handleLabelClick() {\n this.displayInput.focus();\n }\n\n private handleComboboxMouseDown(event: MouseEvent) {\n const path = event.composedPath();\n const isIconButton = path.some(el => el instanceof Element && el.tagName.toLowerCase() === 'syn-icon-button');\n\n // Ignore disabled controls and clicks on tags (remove buttons)\n if (this.disabled || isIconButton) {\n return;\n }\n\n event.preventDefault();\n this.displayInput.focus({ preventScroll: true });\n this.open = !this.open;\n }\n\n private handleComboboxKeyDown(event: KeyboardEvent) {\n if (event.key === 'Tab') {\n return;\n }\n\n event.stopPropagation();\n this.handleDocumentKeyDown(event);\n }\n\n private handleClearClick(event: MouseEvent) {\n event.stopPropagation();\n\n this.valueHasChanged = true;\n\n if (this.value !== '') {\n this.setSelectedOptions([]);\n this.displayInput.focus({ preventScroll: true });\n\n // Emit after update\n this.updateComplete.then(() => {\n this.emit('syn-clear');\n this.emit('syn-input');\n this.emit('syn-change');\n });\n }\n }\n\n private handleClearMouseDown(event: MouseEvent) {\n // Don't lose focus or propagate events when clicking the clear button\n event.stopPropagation();\n event.preventDefault();\n }\n\n private handleOptionClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n const option = target.closest('syn-option');\n const oldValue = this.value;\n\n if (option && !option.disabled) {\n this.valueHasChanged = true;\n if (this.multiple) {\n this.toggleOptionSelection(option);\n } else {\n this.setSelectedOptions(option);\n }\n\n // Set focus after updating so the value is announced by screen readers\n this.updateComplete.then(() => this.displayInput.focus({ preventScroll: true }));\n\n if (this.value !== oldValue) {\n // Emit after updating\n this.updateComplete.then(() => {\n this.emit('syn-input');\n this.emit('syn-change');\n });\n }\n\n if (!this.multiple) {\n this.hide();\n this.displayInput.focus({ preventScroll: true });\n }\n }\n }\n\n /* @internal - used by options to update labels */\n public handleDefaultSlotChange() {\n if (!customElements.get('syn-option')) {\n customElements.whenDefined('syn-option').then(() => this.handleDefaultSlotChange());\n }\n\n const allOptions = this.getAllOptions();\n const val = this.valueHasChanged ? this.value : this.defaultValue;\n\n this.handleDelimiterChange();\n const value = Array.isArray(val) ? val : [val];\n const values: Array<string | number> = [];\n\n // Check for duplicate values in menu items\n allOptions.forEach(option => values.push(option.value));\n\n // Select only the options that match the new value\n const valueString = value.map(String);\n const allSelectedOptions = allOptions.filter(\n el => valueString.includes(String(el.value)),\n );\n this.setSelectedOptions(allSelectedOptions);\n \n }\n\n private handleTagRemove(event: SynRemoveEvent, option: SynOption) {\n event.stopPropagation();\n\n this.valueHasChanged = true;\n\n if (!this.disabled) {\n this.toggleOptionSelection(option, false);\n\n // Emit after updating\n this.updateComplete.then(() => {\n this.emit('syn-input');\n this.emit('syn-change');\n });\n }\n }\n\n // Gets an array of all <syn-option> elements\n private getAllOptions() {\n return [...this.querySelectorAll<SynOption>('syn-option')];\n }\n\n // Gets the first <syn-option> element\n private getFirstOption() {\n return this.querySelector<SynOption>('syn-option');\n }\n\n // Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard). Only one\n // option may be \"current\" at a time.\n private setCurrentOption(option: SynOption | null) {\n const allOptions = this.getAllOptions();\n\n // Clear selection\n allOptions.forEach(el => {\n el.current = false;\n el.tabIndex = -1;\n });\n\n // Select the target option\n if (option) {\n this.currentOption = option;\n option.current = true;\n option.tabIndex = 0;\n option.focus();\n }\n }\n\n // Sets the selected option(s)\n private setSelectedOptions(option: SynOption | SynOption[]) {\n const allOptions = this.getAllOptions();\n const newSelectedOptions = Array.isArray(option) ? option : [option];\n\n // Clear existing selection\n allOptions.forEach(el => (el.selected = false));\n\n // Set the new selection\n if (newSelectedOptions.length) {\n newSelectedOptions.forEach(el => (el.selected = true));\n }\n\n // Update selection, value, and display label\n this.selectionChanged();\n }\n\n // Toggles an option's selected state\n private toggleOptionSelection(option: SynOption, force?: boolean) {\n if (force === true || force === false) {\n option.selected = force;\n } else {\n option.selected = !option.selected;\n }\n\n this.selectionChanged();\n }\n\n // This method must be called whenever the selection changes. It will update the selected options cache, the current\n // value, and the display value\n private selectionChanged() {\n const options = this.getAllOptions();\n // Update selected options cache\n this.selectedOptions = options.filter(el => el.selected);\n\n // Keep a reference to the previous `valueHasChanged`. Changes made here don't count has changing the value.\n const cachedValueHasChanged = this.valueHasChanged;\n\n // Update the value and display label\n if (this.multiple) {\n this.value = this.selectedOptions.map(el => el.value);\n\n if (this.placeholder && this.value.length === 0) {\n // When no items are selected, keep the value empty so the placeholder shows\n this.displayLabel = '';\n } else {\n this.displayLabel = this.localize.term('numOptionsSelected', this.selectedOptions.length);\n }\n } else {\n const selectedOption = this.selectedOptions[0];\n this.value = selectedOption?.value ?? '';\n this.displayLabel = selectedOption?.getTextLabel?.() ?? '';\n }\n this.valueHasChanged = cachedValueHasChanged;\n\n // Update validity\n this.updateComplete.then(() => {\n this.formControlController.updateValidity();\n });\n }\n\n protected get tags() {\n return this.selectedOptions.map((option, index) => {\n if (index < this.maxOptionsVisible || this.maxOptionsVisible <= 0) {\n const tag = this.getTag(option, index);\n // Wrap so we can handle the remove\n return html`<div @syn-remove=${(e: SynRemoveEvent) => this.handleTagRemove(e, option)}>\n ${typeof tag === 'string' ? unsafeHTML(tag) : tag}\n </div>`;\n } else if (index === this.maxOptionsVisible) {\n // Hit tag limit\n return html`<syn-tag size=${this.size}>+${this.selectedOptions.length - index}</syn-tag>`;\n }\n return html``;\n });\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n @watch('delimiter')\n handleDelimiterChange() {\n this.getAllOptions().forEach(option => {\n option.delimiter = this.delimiter;\n });\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n // Close the listbox when the control is disabled\n if (this.disabled) {\n this.open = false;\n this.handleOpenChange();\n }\n }\n\n firstUpdated() {\n this.isInitialized = true;\n }\n\n protected override willUpdate(changedProperties: PropertyValues) {\n super.willUpdate(changedProperties);\n\n if(!this.isInitialized && !this.defaultValue && this.value) {\n // If the value was set initially via property binding instead of attribute, we need to set the defaultValue manually\n // to be able to reset forms and the dynamic loading of options are working correctly.\n this.defaultValue = this.value\n this.valueHasChanged = false;\n }\n }\n\n attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null) {\n super.attributeChangedCallback(name, oldVal, newVal);\n\n /** This is a backwards compatibility call. In a new major version we should make a clean separation between \"value\" the attribute mapping to \"defaultValue\" property and \"value\" the property not reflecting. */\n if (name === 'value') {\n const cachedValueHasChanged = this.valueHasChanged;\n this.value = this.defaultValue;\n\n // Set it back to false since this isn't an interaction.\n this.valueHasChanged = cachedValueHasChanged;\n }\n }\n\n @watch(['defaultValue', 'value', 'delimiter'], { waitUntilFirstUpdate: true })\n handleValueChange() {\n if (!this.valueHasChanged) {\n const cachedValueHasChanged = this.valueHasChanged;\n this.value = this.defaultValue;\n\n // Set it back to false since this isn't an interaction.\n this.valueHasChanged = cachedValueHasChanged;\n }\n\n const allOptions = this.getAllOptions();\n const value = Array.isArray(this.value) ? this.value : [this.value];\n\n // Select only the options that match the new value\n const valueString = value.map(String);\n const allSelectedOptions = allOptions.filter(\n el => valueString.includes(String(el.value)),\n );\n this.setSelectedOptions(allSelectedOptions);\n \n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open && !this.disabled) {\n // Reset the current option\n this.setCurrentOption(this.selectedOptions[0] || this.getFirstOption());\n\n // Show\n this.emit('syn-show');\n this.addOpenListeners();\n\n await stopAnimations(this);\n this.listbox.hidden = false;\n this.popup.active = true;\n\n // Select the appropriate option based on value after the listbox opens\n requestAnimationFrame(() => {\n this.setCurrentOption(this.currentOption);\n });\n\n const { keyframes, options } = getAnimation(this, 'select.show', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n\n // Make sure the current option is scrolled into view (required for Safari)\n if (this.currentOption) {\n scrollIntoView(this.currentOption, this.listbox, 'vertical', 'auto');\n }\n\n this.emit('syn-after-show');\n } else {\n // Hide\n this.emit('syn-hide');\n this.removeOpenListeners();\n\n await stopAnimations(this);\n const { keyframes, options } = getAnimation(this, 'select.hide', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n this.listbox.hidden = true;\n this.popup.active = false;\n\n this.emit('syn-after-hide');\n }\n }\n\n /** Shows the listbox. */\n async show() {\n if (this.open || this.disabled) {\n this.open = false;\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the listbox. */\n async hide() {\n if (!this.open || this.disabled) {\n this.open = false;\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */\n checkValidity() {\n return this.valueInput.checkValidity();\n }\n\n /** Gets the associated form, if one exists. */\n getForm(): HTMLFormElement | null {\n return this.formControlController.getForm();\n }\n\n /** Checks for validity and shows the browser's validation message if the control is invalid. */\n reportValidity() {\n return this.valueInput.reportValidity();\n }\n\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message: string) {\n this.valueInput.setCustomValidity(message);\n this.formControlController.updateValidity();\n }\n\n /** Sets focus on the control. */\n focus(options?: FocusOptions) {\n this.displayInput.focus(options);\n }\n\n /** Removes focus from the control. */\n blur() {\n this.displayInput.blur();\n }\n\n render() {\n const hasValue = isAllowedValue(this.value);\n const hasLabelSlot = this.hasSlotController.test('label');\n const hasHelpTextSlot = this.hasSlotController.test('help-text');\n const hasLabel = this.label ? true : !!hasLabelSlot;\n const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;\n const hasClearIcon = this.clearable && !this.disabled && hasValue;\n const isPlaceholderVisible = this.placeholder && this.value && !hasValue;\n\n return html`\n <div\n part=\"form-control\"\n class=${classMap({\n 'form-control': true,\n 'form-control--small': this.size === 'small',\n 'form-control--medium': this.size === 'medium',\n 'form-control--large': this.size === 'large',\n 'form-control--has-label': hasLabel,\n 'form-control--has-help-text': hasHelpText\n })}\n >\n <label\n id=\"label\"\n part=\"form-control-label\"\n class=\"form-control__label\"\n aria-hidden=${hasLabel ? 'false' : 'true'}\n @click=${this.handleLabelClick}\n >\n <slot name=\"label\">${this.label}</slot>\n </label>\n\n <div part=\"form-control-input\" class=\"form-control-input\">\n <syn-popup\n class=${classMap({\n select: true,\n 'select--standard': true,\n 'select--open': this.open,\n 'select--disabled': this.disabled,\n 'select--multiple': this.multiple,\n 'select--focused': this.hasFocus,\n 'select--placeholder-visible': isPlaceholderVisible,\n 'select--top': this.placement === 'top',\n 'select--bottom': this.placement === 'bottom',\n 'select--small': this.size === 'small',\n 'select--medium': this.size === 'medium',\n 'select--large': this.size === 'large'\n })}\n placement=${this.placement}\n strategy=${this.hoist ? 'fixed' : 'absolute'}\n flip\n shift\n sync=\"width\"\n auto-size=\"vertical\"\n auto-size-padding=\"10\"\n >\n <div\n part=\"combobox\"\n class=\"select__combobox\"\n slot=\"anchor\"\n @keydown=${this.handleComboboxKeyDown}\n @mousedown=${this.handleComboboxMouseDown}\n >\n <slot part=\"prefix\" name=\"prefix\" class=\"select__prefix\"></slot>\n\n <input\n part=\"display-input\"\n class=\"select__display-input\"\n type=\"text\"\n placeholder=${this.placeholder}\n .disabled=${this.disabled}\n .value=${this.displayLabel}\n autocomplete=\"off\"\n spellcheck=\"false\"\n autocapitalize=\"off\"\n readonly\n aria-controls=\"listbox\"\n aria-expanded=${this.open ? 'true' : 'false'}\n aria-haspopup=\"listbox\"\n aria-labelledby=\"label\"\n aria-disabled=${this.disabled ? 'true' : 'false'}\n aria-describedby=\"help-text\"\n role=\"combobox\"\n tabindex=\"0\"\n @focus=${this.handleFocus}\n @blur=${this.handleBlur}\n />\n\n ${this.multiple ? html`<div part=\"tags\" class=\"select__tags\">${this.tags}</div>` : ''}\n\n <input\n class=\"select__value-input\"\n type=\"text\"\n ?disabled=${this.disabled}\n ?required=${this.required}\n .value=${Array.isArray(this.value) ? this.value.join(', ') : this.value?.toString()}\n tabindex=\"-1\"\n aria-hidden=\"true\"\n @focus=${() => this.focus()}\n @invalid=${this.handleInvalid}\n />\n\n ${hasClearIcon\n ? html`\n <button\n part=\"clear-button\"\n class=\"select__clear\"\n type=\"button\"\n aria-label=${this.localize.term('clearEntry')}\n @mousedown=${this.handleClearMouseDown}\n @click=${this.handleClearClick}\n tabindex=\"-1\"\n >\n <slot name=\"clear-icon\">\n <syn-icon name=\"x-circle-fill\" library=\"system\"></syn-icon>\n </slot>\n </button>\n `\n : ''}\n\n <slot name=\"suffix\" part=\"suffix\" class=\"select__suffix\"></slot>\n\n <slot name=\"expand-icon\" part=\"expand-icon\" class=\"select__expand-icon\">\n <syn-icon library=\"system\" name=\"chevron-down\"></syn-icon>\n </slot>\n </div>\n\n <div\n id=\"listbox\"\n role=\"listbox\"\n aria-expanded=${this.open ? 'true' : 'false'}\n aria-multiselectable=${this.multiple ? 'true' : 'false'}\n aria-labelledby=\"label\"\n part=\"listbox\"\n class=\"select__listbox\"\n tabindex=\"-1\"\n @mouseup=${this.handleOptionClick}\n @slotchange=${this.handleDefaultSlotChange}\n >\n <slot></slot>\n </div>\n </syn-popup>\n </div>\n\n <div\n part=\"form-control-help-text\"\n id=\"help-text\"\n class=\"form-control__help-text\"\n aria-hidden=${hasHelpText ? 'false' : 'true'}\n >\n <slot name=\"help-text\">${this.helpText}</slot>\n </div>\n </div>\n `;\n }\n}\n\nsetDefaultAnimation('select.show', {\n keyframes: [\n { opacity: 0, scale: 0.9 },\n { opacity: 1, scale: 1 }\n ],\n options: { duration: 100, easing: 'ease' }\n});\n\nsetDefaultAnimation('select.hide', {\n keyframes: [\n { opacity: 1, scale: 1 },\n { opacity: 0, scale: 0.9 }\n ],\n options: { duration: 100, easing: 'ease' }\n});\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,SAAS,gBAAgB;AAIzB,SAAS,YAAY;AAErB,SAAS,UAAU,OAAO,aAAa;AAEvC,SAAS,kBAAkB;AAmE3B,IAAqB,YAArB,cAAuC,eAA6C;AAAA,EAApF;AAAA;AAQE,SAAiB,wBAAwB,IAAI,sBAAsB,MAAM;AAAA,MACvE,qBAAqB,CAAC,YAAY,WAAW;AAAA,IAC/C,CAAC;AACD,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,aAAa,OAAO;AACrF,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AACvD,SAAQ,gBAAyB;AACjC,SAAQ,qBAAqB;AAUpB,SAAQ,WAAW;AACnB,wBAAe;AAEf,2BAA+B,CAAC;AAChC,SAAQ,kBAA2B;AAOhC,qBAAY;AAGZ,gBAAO;AAEnB,SAAQ,SAAmD;AA8BzB,wBAAyD;AAG9D,gBAAqC;AAGtD,uBAAc;AAGkB,oBAAW;AAMO,6BAAoB;AAGtC,oBAAW;AAG1B,qBAAY;AAMG,gBAAO;AAMtB,iBAAQ;AAGzB,iBAAQ;AAMS,qBAA8B;AAGrB,oBAAW;AAOpB,gBAAO;AAGQ,oBAAW;AAO3C,kBAAsF,YAAU;AAC1G,aAAO;AAAA;AAAA;AAAA;AAAA;AAAA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av_default = SynPrioNav;
|
|
@@ -9,4 +9,4 @@ SynPrioNav.define("syn-prio-nav");
|
|
|
9
9
|
export {
|
|
10
10
|
prio_nav_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.THRS75O2.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynOption
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.3QPOD3RO.js";
|
|
4
4
|
import {
|
|
5
5
|
SynPopup
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.5U2JN5LA.js";
|
|
7
7
|
import {
|
|
8
8
|
defaultOptionRenderer
|
|
9
9
|
} from "./chunk.HVVPX2VA.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk.V4SIKF4X.js";
|
|
33
33
|
import {
|
|
34
34
|
FormControlController
|
|
35
|
-
} from "./chunk.
|
|
35
|
+
} from "./chunk.OLRA37R5.js";
|
|
36
36
|
import {
|
|
37
37
|
waitForEvent
|
|
38
38
|
} from "./chunk.C2ENQBPM.js";
|
|
@@ -49,22 +49,22 @@ import {
|
|
|
49
49
|
} from "./chunk.WVVQK5TE.js";
|
|
50
50
|
import {
|
|
51
51
|
SynIcon
|
|
52
|
-
} from "./chunk.
|
|
53
|
-
import {
|
|
54
|
-
watch
|
|
55
|
-
} from "./chunk.74IOULXM.js";
|
|
52
|
+
} from "./chunk.IC3XQ2EB.js";
|
|
56
53
|
import {
|
|
57
54
|
LocalizeController
|
|
58
55
|
} from "./chunk.GIU3H3J3.js";
|
|
59
56
|
import {
|
|
60
57
|
enableDefaultSettings
|
|
61
58
|
} from "./chunk.NUIJATJY.js";
|
|
59
|
+
import {
|
|
60
|
+
watch
|
|
61
|
+
} from "./chunk.74IOULXM.js";
|
|
62
62
|
import {
|
|
63
63
|
component_styles_default
|
|
64
64
|
} from "./chunk.NLYVOJGK.js";
|
|
65
65
|
import {
|
|
66
66
|
SynergyElement
|
|
67
|
-
} from "./chunk.
|
|
67
|
+
} from "./chunk.FA4T7QQM.js";
|
|
68
68
|
import {
|
|
69
69
|
__decorateClass
|
|
70
70
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -858,4 +858,4 @@ setDefaultAnimation("combobox.hide", {
|
|
|
858
858
|
export {
|
|
859
859
|
SynCombobox
|
|
860
860
|
};
|
|
861
|
-
//# sourceMappingURL=chunk.
|
|
861
|
+
//# sourceMappingURL=chunk.TYEVZCIC.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSpinner
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.PCHN7UNX.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlController,
|
|
6
6
|
validValidityState
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.OLRA37R5.js";
|
|
8
8
|
import {
|
|
9
9
|
button_custom_styles_default
|
|
10
10
|
} from "./chunk.UBS3CSG4.js";
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
} from "./chunk.WVVQK5TE.js";
|
|
18
18
|
import {
|
|
19
19
|
SynIcon
|
|
20
|
-
} from "./chunk.
|
|
21
|
-
import {
|
|
22
|
-
watch
|
|
23
|
-
} from "./chunk.74IOULXM.js";
|
|
20
|
+
} from "./chunk.IC3XQ2EB.js";
|
|
24
21
|
import {
|
|
25
22
|
LocalizeController
|
|
26
23
|
} from "./chunk.GIU3H3J3.js";
|
|
27
24
|
import {
|
|
28
25
|
enableDefaultSettings
|
|
29
26
|
} from "./chunk.NUIJATJY.js";
|
|
27
|
+
import {
|
|
28
|
+
watch
|
|
29
|
+
} from "./chunk.74IOULXM.js";
|
|
30
30
|
import {
|
|
31
31
|
component_styles_default
|
|
32
32
|
} from "./chunk.NLYVOJGK.js";
|
|
33
33
|
import {
|
|
34
34
|
SynergyElement
|
|
35
|
-
} from "./chunk.
|
|
35
|
+
} from "./chunk.FA4T7QQM.js";
|
|
36
36
|
import {
|
|
37
37
|
__decorateClass
|
|
38
38
|
} from "./chunk.2GFK6XTO.js";
|
|
@@ -229,7 +229,7 @@ __decorateClass([
|
|
|
229
229
|
state()
|
|
230
230
|
], SynButton.prototype, "invalid", 2);
|
|
231
231
|
__decorateClass([
|
|
232
|
-
property()
|
|
232
|
+
property({ reflect: true })
|
|
233
233
|
], SynButton.prototype, "title", 2);
|
|
234
234
|
__decorateClass([
|
|
235
235
|
property({ reflect: true })
|
|
@@ -295,4 +295,4 @@ SynButton = __decorateClass([
|
|
|
295
295
|
export {
|
|
296
296
|
SynButton
|
|
297
297
|
};
|
|
298
|
-
//# sourceMappingURL=chunk.
|
|
298
|
+
//# sourceMappingURL=chunk.UMJHRTE5.js.map
|