@synergy-design-system/components 2.77.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/code-quality/html-validate/scripts/synergy-element-rules.js +24 -6
- package/dist/chunks/{chunk.ADIU6GO2.js → chunk.2ACTZBEC.js} +7 -7
- package/dist/chunks/{chunk.34QTCBH5.js → chunk.2GP2EYG4.js} +5 -5
- package/dist/chunks/{chunk.2FWMG7GH.js → chunk.2RSO2DKG.js} +2 -2
- package/dist/chunks/{chunk.DH3ESODU.js → chunk.2VDKBFQ7.js} +2 -2
- package/dist/chunks/{chunk.DH3ESODU.js.map → chunk.2VDKBFQ7.js.map} +1 -1
- package/dist/chunks/{chunk.ZUQ225FP.js → chunk.34V3QOIQ.js} +2 -2
- package/dist/chunks/{chunk.NNF3HUZN.js → chunk.36BZPB3H.js} +2 -2
- package/dist/chunks/{chunk.HD634VUP.js → chunk.3EJU447K.js} +2 -2
- package/dist/chunks/{chunk.UEDN3QLN.js → chunk.3EQF2FRQ.js} +6 -6
- package/dist/chunks/{chunk.6YAZZQSR.js → chunk.3FT4KLCP.js} +11 -12
- package/dist/chunks/chunk.3FT4KLCP.js.map +7 -0
- package/dist/chunks/{chunk.Y5IKF6ZC.js → chunk.3RR4RIR7.js} +7 -8
- package/dist/chunks/chunk.3RR4RIR7.js.map +7 -0
- package/dist/chunks/{chunk.M7U5QI74.js → chunk.3T6ULO23.js} +2 -2
- package/dist/chunks/{chunk.M7U5QI74.js.map → chunk.3T6ULO23.js.map} +1 -1
- package/dist/chunks/{chunk.A7LOAARY.js → chunk.3WVPUEAN.js} +3 -3
- package/dist/chunks/{chunk.A7LOAARY.js.map → chunk.3WVPUEAN.js.map} +1 -1
- package/dist/chunks/{chunk.FPEGQJBE.js → chunk.42F33KBM.js} +4 -4
- package/dist/chunks/{chunk.DCQZCUJC.js → chunk.4ADVK4N5.js} +2 -2
- package/dist/chunks/{chunk.IOMYSP25.js → chunk.4FRKK5XY.js} +3 -3
- package/dist/chunks/{chunk.DZTLGJLC.js → chunk.4I2C7KCE.js} +2 -2
- package/dist/chunks/{chunk.BI7YROH2.js → chunk.4T2NDUOQ.js} +2 -2
- package/dist/chunks/{chunk.RHEPJKLB.js → chunk.4URTG3MF.js} +2 -2
- package/dist/chunks/{chunk.Z4JDFQ6P.js → chunk.4ZEHQOJ3.js} +2 -2
- package/dist/chunks/{chunk.I5G3RSAT.js → chunk.56BJYBST.js} +2 -2
- package/dist/chunks/{chunk.VKHKZ3ML.js → chunk.5F5Y2RD6.js} +9 -14
- package/dist/chunks/chunk.5F5Y2RD6.js.map +7 -0
- package/dist/chunks/{chunk.EK4TK5MY.js → chunk.5OXFZJYX.js} +8 -8
- package/dist/chunks/chunk.5OXFZJYX.js.map +7 -0
- package/dist/chunks/{chunk.64KVEIIA.js → chunk.5QGW4QZT.js} +5 -9
- package/dist/chunks/chunk.5QGW4QZT.js.map +7 -0
- package/dist/chunks/{chunk.S7ITIAH3.js → chunk.5T3K7UXO.js} +2 -2
- package/dist/chunks/{chunk.MZRNJOUV.js → chunk.66HKI7Q7.js} +1 -1
- package/dist/chunks/chunk.66HKI7Q7.js.map +7 -0
- package/dist/chunks/{chunk.KYBZYOAW.js → chunk.67NOFASU.js} +2 -2
- package/dist/chunks/{chunk.IHG5V7G6.js → chunk.6B7GMPMK.js} +13 -13
- package/dist/chunks/{chunk.JSH4LXZJ.js → chunk.6EK4W7PI.js} +9 -14
- package/dist/chunks/chunk.6EK4W7PI.js.map +7 -0
- package/dist/chunks/{chunk.F7V5LHZA.js → chunk.6KTVNSPY.js} +8 -8
- package/dist/chunks/{chunk.K2O55TNU.js → chunk.6P2XCD2Q.js} +4 -4
- package/dist/chunks/{chunk.K2O55TNU.js.map → chunk.6P2XCD2Q.js.map} +1 -1
- package/dist/chunks/{chunk.3XRQPR37.js → chunk.6VA5V372.js} +2 -2
- package/dist/chunks/{chunk.O76MMYOC.js → chunk.7SIMUMVH.js} +3 -3
- package/dist/chunks/{chunk.M25ZNEHD.js → chunk.AF4RYZHB.js} +2 -2
- package/dist/chunks/{chunk.37FTXFHX.js → chunk.ATT3RT4A.js} +6 -11
- package/dist/chunks/chunk.ATT3RT4A.js.map +7 -0
- package/dist/chunks/{chunk.4NWG6GIY.js → chunk.B3UAPU32.js} +9 -9
- package/dist/chunks/{chunk.GZZPYVQX.js → chunk.B56PMMC4.js} +7 -7
- package/dist/chunks/{chunk.S74CFZ4Z.js → chunk.BL5JW7YS.js} +14 -14
- package/dist/chunks/{chunk.S74CFZ4Z.js.map → chunk.BL5JW7YS.js.map} +1 -1
- package/dist/chunks/{chunk.HS2BUHJR.js → chunk.BNHQTT5B.js} +2 -2
- package/dist/chunks/{chunk.77CVXMWD.js → chunk.BVV2XKW3.js} +2 -2
- package/dist/chunks/chunk.BVV2XKW3.js.map +7 -0
- package/dist/chunks/{chunk.5C3IFF3A.js → chunk.CDOWFAH2.js} +7 -7
- package/dist/chunks/chunk.CDOWFAH2.js.map +7 -0
- package/dist/chunks/{chunk.MV23LMED.js → chunk.D5GEYHUG.js} +3 -3
- package/dist/chunks/{chunk.357ZOX56.js → chunk.DHT3ZN7B.js} +10 -10
- package/dist/chunks/{chunk.VLVWVJUC.js → chunk.DRLFKWVC.js} +2 -2
- package/dist/chunks/{chunk.ZHJLUYXA.js → chunk.DXVTZKXX.js} +2 -2
- package/dist/chunks/{chunk.UCLYCASW.js → chunk.EHZBQTCT.js} +2 -2
- package/dist/chunks/{chunk.UCLYCASW.js.map → chunk.EHZBQTCT.js.map} +1 -1
- package/dist/chunks/{chunk.KZP6W6WX.js → chunk.EIJX4T2G.js} +6 -6
- package/dist/chunks/{chunk.XASOHJYY.js → chunk.EMTWFPA4.js} +2 -2
- package/dist/chunks/{chunk.I42ZMXUL.js → chunk.F4TDCDGD.js} +2 -2
- package/dist/chunks/{chunk.LBUMVFCE.js → chunk.FHTQSNCX.js} +3 -3
- package/dist/chunks/chunk.FHTQSNCX.js.map +7 -0
- package/dist/chunks/{chunk.DAELIXNV.js → chunk.FVYPYWJH.js} +6 -6
- package/dist/chunks/{chunk.5EC6B57G.js → chunk.GCTLPTMT.js} +3 -3
- package/dist/chunks/{chunk.5EC6B57G.js.map → chunk.GCTLPTMT.js.map} +1 -1
- package/dist/chunks/{chunk.2DGMS4FV.js → chunk.GFX23JLA.js} +2 -2
- package/dist/chunks/chunk.GFX23JLA.js.map +7 -0
- package/dist/chunks/{chunk.SP7ULWRO.js → chunk.GJIDYO3Z.js} +3 -3
- package/dist/chunks/{chunk.RRAZSY4U.js → chunk.HSQZ3ZWE.js} +10 -26
- package/dist/chunks/chunk.HSQZ3ZWE.js.map +7 -0
- package/dist/chunks/{chunk.2NIFD3YE.js → chunk.HU237XM2.js} +2 -2
- package/dist/chunks/{chunk.2NIFD3YE.js.map → chunk.HU237XM2.js.map} +1 -1
- package/dist/chunks/{chunk.VZGIDWPA.js → chunk.HW62YVCL.js} +3 -3
- package/dist/chunks/{chunk.KNUV2HA6.js → chunk.HXLRLIDZ.js} +6 -6
- package/dist/chunks/{chunk.K3RFNN2T.js → chunk.I5R3PXG7.js} +2 -2
- package/dist/chunks/{chunk.CT7WV7U3.js → chunk.IM54DI3K.js} +10 -10
- package/dist/chunks/chunk.IM54DI3K.js.map +7 -0
- package/dist/chunks/{chunk.3DUI4MAT.js → chunk.IMZSPXJV.js} +2 -2
- package/dist/chunks/{chunk.O67MQZKB.js → chunk.IOFVUQIY.js} +2 -2
- package/dist/chunks/{chunk.43XCD64Q.js → chunk.IYB26JEV.js} +2 -2
- package/dist/chunks/{chunk.XWNOP753.js → chunk.IZRTF5EM.js} +8 -8
- package/dist/chunks/chunk.IZRTF5EM.js.map +7 -0
- package/dist/chunks/{chunk.QF6ODD6S.js → chunk.JG7YXWHG.js} +2 -2
- package/dist/chunks/{chunk.QF6ODD6S.js.map → chunk.JG7YXWHG.js.map} +1 -1
- package/dist/chunks/{chunk.WSVB6XWI.js → chunk.JQ4NCOOB.js} +5 -5
- package/dist/chunks/{chunk.547D43SQ.js → chunk.JX6C3ADT.js} +7 -7
- package/dist/chunks/{chunk.3O3BJR4Y.js → chunk.JYLOZXGC.js} +9 -9
- package/dist/chunks/{chunk.FCYQT7CQ.js → chunk.K5MZVORR.js} +4 -4
- package/dist/chunks/chunk.K5MZVORR.js.map +7 -0
- package/dist/chunks/{chunk.3R55CWLN.js → chunk.K5VB7VKA.js} +5 -5
- package/dist/chunks/{chunk.LHFBIW7M.js → chunk.KLUICBMV.js} +7 -5
- package/dist/chunks/chunk.KLUICBMV.js.map +7 -0
- package/dist/chunks/{chunk.EMM5E2QE.js → chunk.KPBZSLEA.js} +2 -2
- package/dist/chunks/{chunk.ZNNZXEP4.js → chunk.KSWDM4HW.js} +2 -2
- package/dist/chunks/{chunk.V4HPWQE7.js → chunk.KW5TWA5Y.js} +1 -2
- package/dist/chunks/{chunk.V4HPWQE7.js.map → chunk.KW5TWA5Y.js.map} +2 -2
- package/dist/chunks/{chunk.COMLGAG4.js → chunk.LBN3HL2T.js} +9 -9
- package/dist/chunks/{chunk.O5XZDHTS.js → chunk.LJGUOWPM.js} +7 -12
- package/dist/chunks/chunk.LJGUOWPM.js.map +7 -0
- package/dist/chunks/{chunk.TITGO6ES.js → chunk.LVYJDZMX.js} +2 -2
- package/dist/chunks/{chunk.K6ZQFJXS.js → chunk.M72HMQL6.js} +2 -2
- package/dist/chunks/{chunk.H5LIIOIS.js → chunk.MJ4Q6YEU.js} +2 -2
- package/dist/chunks/{chunk.IRQZZURK.js → chunk.MM3NO6GS.js} +2 -2
- package/dist/chunks/{chunk.C6JRBWBJ.js → chunk.N6C27EXQ.js} +4 -4
- package/dist/chunks/{chunk.C6JRBWBJ.js.map → chunk.N6C27EXQ.js.map} +1 -1
- package/dist/chunks/{chunk.74EPLGQK.js → chunk.N7BCC4V5.js} +7 -7
- package/dist/chunks/{chunk.YMHR44VM.js → chunk.N7LV5KRH.js} +7 -7
- package/dist/chunks/{chunk.VOC5DYU5.js → chunk.OBERL73O.js} +3 -3
- package/dist/chunks/{chunk.TBO7YQ7H.js → chunk.OHDB73E6.js} +2 -2
- package/dist/chunks/{chunk.OQOWQHEV.js → chunk.OIB4NIRJ.js} +2 -2
- package/dist/chunks/{chunk.E3Z62YYT.js → chunk.OQUVO5QW.js} +9 -9
- package/dist/chunks/chunk.OQUVO5QW.js.map +7 -0
- package/dist/chunks/{chunk.KAKCOA6W.js → chunk.P3JEES5B.js} +5 -6
- package/dist/chunks/{chunk.KAKCOA6W.js.map → chunk.P3JEES5B.js.map} +2 -2
- package/dist/chunks/{chunk.I7AC3RTR.js → chunk.PGGH5VGL.js} +2 -2
- package/dist/chunks/{chunk.GW4F6TG7.js → chunk.PR7SSUOT.js} +2 -2
- package/dist/chunks/{chunk.TBRYI77U.js → chunk.PWODN6WT.js} +2 -2
- package/dist/chunks/{chunk.473H3SHJ.js → chunk.Q3SJASPT.js} +2 -2
- package/dist/chunks/{chunk.YNQZY5WT.js → chunk.QACXXBE3.js} +5 -5
- package/dist/chunks/{chunk.ERSURHPX.js → chunk.QT47J2O6.js} +2 -2
- package/dist/chunks/{chunk.PYW5SSBY.js → chunk.QXZFSE4T.js} +2 -2
- package/dist/chunks/{chunk.FPEZO62Q.js → chunk.R4FCX5PU.js} +2 -2
- package/dist/chunks/{chunk.SQMVO2BA.js → chunk.R5WFWL7W.js} +2 -2
- package/dist/chunks/{chunk.NRCH63KS.js → chunk.RBOU3KVS.js} +5 -5
- package/dist/chunks/{chunk.NQAIJI6C.js → chunk.RV5JERXK.js} +7 -7
- package/dist/chunks/{chunk.2ZMXABWX.js → chunk.SA423NRC.js} +11 -11
- package/dist/chunks/chunk.SA423NRC.js.map +7 -0
- package/dist/chunks/{chunk.EWKVHJPJ.js → chunk.SEYI7UTA.js} +25 -25
- package/dist/chunks/chunk.SEYI7UTA.js.map +7 -0
- package/dist/chunks/{chunk.T7PPSROA.js → chunk.SLDFB2O3.js} +17 -17
- package/dist/chunks/chunk.SLDFB2O3.js.map +7 -0
- package/dist/chunks/{chunk.XILYGDY5.js → chunk.SLKJ2OJN.js} +5 -5
- package/dist/chunks/{chunk.HD3FIFU7.js → chunk.SUH6DGJ5.js} +3 -3
- package/dist/chunks/{chunk.ZCUURSJU.js → chunk.TSWB7UFK.js} +21 -21
- package/dist/chunks/chunk.TSWB7UFK.js.map +7 -0
- package/dist/chunks/{chunk.PFLUXEIO.js → chunk.U6VNE4JX.js} +2 -2
- package/dist/chunks/{chunk.EEJUDZFL.js → chunk.UAUY6RVN.js} +2 -2
- package/dist/chunks/{chunk.WPZ3G3PZ.js → chunk.UBGDTOZZ.js} +2 -2
- package/dist/chunks/{chunk.OAAB4YO4.js → chunk.UNYO3GI7.js} +12 -12
- package/dist/chunks/chunk.UNYO3GI7.js.map +7 -0
- package/dist/chunks/{chunk.NNAU5QBN.js → chunk.UPDHOWDW.js} +2 -2
- package/dist/chunks/{chunk.FBWCMSZA.js → chunk.VBPHUZ5N.js} +6 -6
- package/dist/chunks/{chunk.4A6JD5B2.js → chunk.VBS3JEIP.js} +1 -1
- package/dist/chunks/chunk.VBS3JEIP.js.map +7 -0
- package/dist/chunks/{chunk.6RXGKFPT.js → chunk.VV3WAINT.js} +2 -2
- package/dist/chunks/{chunk.MVSK3TVN.js → chunk.VYQ53GHN.js} +8 -8
- package/dist/chunks/{chunk.7YONTVZW.js → chunk.WPVUSCH3.js} +2 -2
- package/dist/chunks/{chunk.4WQZFNSE.js → chunk.WQMTAEYE.js} +3 -3
- package/dist/chunks/chunk.WQMTAEYE.js.map +7 -0
- package/dist/chunks/{chunk.YS2YSFGV.js → chunk.X57JLQDS.js} +2 -2
- package/dist/chunks/{chunk.QZ5LIQE6.js → chunk.X6HKBVIE.js} +2 -2
- package/dist/chunks/{chunk.NREI75V5.js → chunk.XC4GHHH2.js} +4 -4
- package/dist/chunks/{chunk.NREI75V5.js.map → chunk.XC4GHHH2.js.map} +1 -1
- package/dist/chunks/{chunk.VQJBKWMV.js → chunk.XDOZEDCW.js} +2 -2
- package/dist/chunks/{chunk.ABDHXV6X.js → chunk.XKT2M3XA.js} +2 -2
- package/dist/chunks/{chunk.UW4IKEIE.js → chunk.XL2GZSHM.js} +2 -2
- package/dist/chunks/{chunk.IBKLU7LL.js → chunk.YBITSWNW.js} +2 -2
- package/dist/chunks/{chunk.43WK7D7Y.js → chunk.YIYXW5NV.js} +2 -2
- package/dist/chunks/{chunk.SAV6MIQK.js → chunk.YOJL35VB.js} +8 -8
- package/dist/chunks/chunk.YOJL35VB.js.map +7 -0
- package/dist/chunks/{chunk.LJ3KWXOI.js → chunk.Z3SZOYBJ.js} +2 -2
- package/dist/chunks/{chunk.DIUHLEKA.js → chunk.ZNJG4EY4.js} +2 -2
- package/dist/chunks/{chunk.BEAGYN6W.js → chunk.ZPL7FJ2H.js} +7 -7
- package/dist/chunks/{chunk.HBGYPZ7M.js → chunk.ZR7J6ZEM.js} +2 -2
- package/dist/chunks/{chunk.PDXNYRZI.js → chunk.ZVOOP3PI.js} +12 -8
- package/dist/chunks/chunk.ZVOOP3PI.js.map +7 -0
- package/dist/components/accordion/accordion.component.js +6 -6
- package/dist/components/accordion/accordion.js +7 -7
- package/dist/components/alert/alert.component.js +16 -16
- package/dist/components/alert/alert.custom.styles.js +1 -1
- package/dist/components/alert/alert.js +17 -17
- package/dist/components/badge/badge.component.js +7 -7
- package/dist/components/badge/badge.custom.styles.js +1 -1
- package/dist/components/badge/badge.js +8 -8
- package/dist/components/breadcrumb/breadcrumb.component.js +11 -11
- package/dist/components/breadcrumb/breadcrumb.js +12 -12
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +3 -3
- package/dist/components/breadcrumb-item/breadcrumb-item.custom.styles.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.js +4 -4
- package/dist/components/button/button.component.js +15 -15
- package/dist/components/button/button.custom.styles.js +1 -1
- package/dist/components/button/button.js +16 -16
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +12 -12
- package/dist/components/checkbox/checkbox.custom.styles.js +1 -1
- package/dist/components/checkbox/checkbox.js +13 -13
- package/dist/components/combobox/combobox.component.d.ts +0 -7
- package/dist/components/combobox/combobox.component.js +15 -15
- package/dist/components/combobox/combobox.js +16 -16
- package/dist/components/details/details.component.js +13 -13
- package/dist/components/details/details.custom.styles.js +1 -1
- package/dist/components/details/details.js +14 -14
- package/dist/components/dialog/dialog.component.js +15 -15
- package/dist/components/dialog/dialog.custom.styles.js +1 -1
- package/dist/components/dialog/dialog.js +16 -16
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +14 -14
- package/dist/components/drawer/drawer.js +15 -15
- package/dist/components/dropdown/dropdown.component.d.ts +0 -6
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/file/file.component.js +17 -17
- package/dist/components/file/file.js +18 -18
- package/dist/components/file/file.styles.js +1 -1
- package/dist/components/header/header.component.js +11 -11
- package/dist/components/header/header.js +12 -12
- package/dist/components/header/header.styles.js +1 -1
- package/dist/components/icon/icon.component.js +6 -6
- package/dist/components/icon/icon.js +7 -7
- package/dist/components/icon/library.js +4 -4
- package/dist/components/icon/library.migration.d.ts +5 -0
- package/dist/components/icon/library.migration.js +5 -5
- package/dist/components/icon/library.system.js +3 -3
- package/dist/components/icon/sick2018-system-icons.d.ts +3 -0
- package/dist/components/icon/sick2018-system-icons.js +1 -1
- package/dist/components/icon/sick2025-system-icons.js +1 -1
- package/dist/components/icon-button/icon-button.component.js +12 -12
- package/dist/components/icon-button/icon-button.custom.styles.js +1 -1
- package/dist/components/icon-button/icon-button.js +13 -13
- package/dist/components/input/input.component.d.ts +1 -2
- package/dist/components/input/input.component.js +14 -14
- package/dist/components/input/input.custom.styles.js +1 -1
- package/dist/components/input/input.js +15 -15
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +14 -14
- package/dist/components/menu-item/menu-item.custom.styles.js +1 -1
- package/dist/components/menu-item/menu-item.js +15 -15
- package/dist/components/menu-item/submenu-controller.js +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.js +9 -9
- package/dist/components/nav-item/nav-item.js +10 -10
- package/dist/components/nav-item/nav-item.styles.js +1 -1
- package/dist/components/optgroup/optgroup.component.js +4 -4
- package/dist/components/optgroup/optgroup.js +5 -5
- package/dist/components/optgroup/optgroup.styles.js +1 -1
- package/dist/components/option/option.component.js +10 -10
- package/dist/components/option/option.custom.styles.js +1 -1
- package/dist/components/option/option.js +11 -11
- package/dist/components/popup/popup.component.d.ts +0 -6
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/prio-nav/prio-nav.component.js +15 -15
- package/dist/components/prio-nav/prio-nav.js +16 -16
- package/dist/components/progress-bar/progress-bar.component.js +3 -3
- package/dist/components/progress-bar/progress-bar.custom.styles.js +1 -1
- package/dist/components/progress-bar/progress-bar.js +4 -4
- package/dist/components/progress-ring/progress-ring.component.js +3 -3
- package/dist/components/progress-ring/progress-ring.custom.styles.js +1 -1
- package/dist/components/progress-ring/progress-ring.js +4 -4
- package/dist/components/radio/radio.component.js +12 -12
- package/dist/components/radio/radio.custom.styles.js +1 -1
- package/dist/components/radio/radio.js +13 -13
- package/dist/components/radio-button/radio-button.component.js +6 -6
- package/dist/components/radio-button/radio-button.js +7 -7
- package/dist/components/radio-group/radio-group.component.js +7 -7
- package/dist/components/radio-group/radio-group.js +8 -8
- package/dist/components/range/range.component.js +9 -9
- package/dist/components/range/range.js +10 -10
- package/dist/components/range/range.styles.js +1 -1
- package/dist/components/range-tick/range-tick.component.js +3 -3
- package/dist/components/range-tick/range-tick.js +4 -4
- package/dist/components/range-tick/range-tick.styles.js +1 -1
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/select/select.component.d.ts +0 -6
- package/dist/components/select/select.component.js +17 -17
- package/dist/components/select/select.js +18 -18
- package/dist/components/side-nav/side-nav.component.d.ts +1 -14
- package/dist/components/side-nav/side-nav.component.js +18 -18
- package/dist/components/side-nav/side-nav.js +19 -19
- package/dist/components/spinner/spinner.component.js +3 -3
- package/dist/components/spinner/spinner.custom.styles.js +1 -1
- package/dist/components/spinner/spinner.js +4 -4
- package/dist/components/switch/switch.component.js +7 -7
- package/dist/components/switch/switch.custom.styles.js +1 -1
- package/dist/components/switch/switch.js +8 -8
- package/dist/components/tab/tab.component.js +15 -15
- package/dist/components/tab/tab.custom.styles.js +1 -1
- package/dist/components/tab/tab.js +16 -16
- package/dist/components/tab-group/tab-group.component.js +16 -16
- package/dist/components/tab-group/tab-group.custom.styles.js +1 -1
- package/dist/components/tab-group/tab-group.js +17 -17
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +15 -15
- package/dist/components/tag/tag.custom.styles.js +1 -1
- package/dist/components/tag/tag.js +16 -16
- package/dist/components/textarea/textarea.component.js +6 -6
- package/dist/components/textarea/textarea.js +7 -7
- package/dist/components/tooltip/tooltip.component.d.ts +0 -7
- package/dist/components/tooltip/tooltip.component.js +4 -4
- package/dist/components/tooltip/tooltip.js +5 -5
- package/dist/components/validate/utility.js +2 -2
- package/dist/components/validate/validate.component.js +18 -18
- package/dist/components/validate/validate.js +19 -19
- package/dist/custom-elements.json +4 -132
- package/dist/styles/index.css +1 -1
- package/dist/synergy.js +142 -140
- package/dist/utilities/defaultSettings/base.js +1 -1
- package/dist/utilities/defaultSettings/decorator.js +3 -3
- package/dist/utilities/defaultSettings/functions.d.ts +11 -4
- package/dist/utilities/defaultSettings/functions.js +4 -2
- package/dist/utilities/defaultSettings/index.d.ts +1 -1
- package/dist/utilities/defaultSettings/index.js +5 -3
- package/dist/utilities/icon-library.js +4 -4
- package/dist/vscode.html-custom-data.json +0 -30
- package/package.json +4 -4
- package/dist/chunks/chunk.2DGMS4FV.js.map +0 -7
- package/dist/chunks/chunk.2ZMXABWX.js.map +0 -7
- package/dist/chunks/chunk.37FTXFHX.js.map +0 -7
- package/dist/chunks/chunk.4A6JD5B2.js.map +0 -7
- package/dist/chunks/chunk.4WQZFNSE.js.map +0 -7
- package/dist/chunks/chunk.5C3IFF3A.js.map +0 -7
- package/dist/chunks/chunk.64KVEIIA.js.map +0 -7
- package/dist/chunks/chunk.6YAZZQSR.js.map +0 -7
- package/dist/chunks/chunk.77CVXMWD.js.map +0 -7
- package/dist/chunks/chunk.CT7WV7U3.js.map +0 -7
- package/dist/chunks/chunk.E3Z62YYT.js.map +0 -7
- package/dist/chunks/chunk.EK4TK5MY.js.map +0 -7
- package/dist/chunks/chunk.EWKVHJPJ.js.map +0 -7
- package/dist/chunks/chunk.FCYQT7CQ.js.map +0 -7
- package/dist/chunks/chunk.JSH4LXZJ.js.map +0 -7
- package/dist/chunks/chunk.LBUMVFCE.js.map +0 -7
- package/dist/chunks/chunk.LHFBIW7M.js.map +0 -7
- package/dist/chunks/chunk.MZRNJOUV.js.map +0 -7
- package/dist/chunks/chunk.O5XZDHTS.js.map +0 -7
- package/dist/chunks/chunk.OAAB4YO4.js.map +0 -7
- package/dist/chunks/chunk.PDXNYRZI.js.map +0 -7
- package/dist/chunks/chunk.RRAZSY4U.js.map +0 -7
- package/dist/chunks/chunk.SAV6MIQK.js.map +0 -7
- package/dist/chunks/chunk.T7PPSROA.js.map +0 -7
- package/dist/chunks/chunk.VKHKZ3ML.js.map +0 -7
- package/dist/chunks/chunk.XWNOP753.js.map +0 -7
- package/dist/chunks/chunk.Y5IKF6ZC.js.map +0 -7
- package/dist/chunks/chunk.ZCUURSJU.js.map +0 -7
- /package/dist/chunks/{chunk.ADIU6GO2.js.map → chunk.2ACTZBEC.js.map} +0 -0
- /package/dist/chunks/{chunk.34QTCBH5.js.map → chunk.2GP2EYG4.js.map} +0 -0
- /package/dist/chunks/{chunk.2FWMG7GH.js.map → chunk.2RSO2DKG.js.map} +0 -0
- /package/dist/chunks/{chunk.ZUQ225FP.js.map → chunk.34V3QOIQ.js.map} +0 -0
- /package/dist/chunks/{chunk.NNF3HUZN.js.map → chunk.36BZPB3H.js.map} +0 -0
- /package/dist/chunks/{chunk.HD634VUP.js.map → chunk.3EJU447K.js.map} +0 -0
- /package/dist/chunks/{chunk.UEDN3QLN.js.map → chunk.3EQF2FRQ.js.map} +0 -0
- /package/dist/chunks/{chunk.FPEGQJBE.js.map → chunk.42F33KBM.js.map} +0 -0
- /package/dist/chunks/{chunk.DCQZCUJC.js.map → chunk.4ADVK4N5.js.map} +0 -0
- /package/dist/chunks/{chunk.IOMYSP25.js.map → chunk.4FRKK5XY.js.map} +0 -0
- /package/dist/chunks/{chunk.DZTLGJLC.js.map → chunk.4I2C7KCE.js.map} +0 -0
- /package/dist/chunks/{chunk.BI7YROH2.js.map → chunk.4T2NDUOQ.js.map} +0 -0
- /package/dist/chunks/{chunk.RHEPJKLB.js.map → chunk.4URTG3MF.js.map} +0 -0
- /package/dist/chunks/{chunk.Z4JDFQ6P.js.map → chunk.4ZEHQOJ3.js.map} +0 -0
- /package/dist/chunks/{chunk.I5G3RSAT.js.map → chunk.56BJYBST.js.map} +0 -0
- /package/dist/chunks/{chunk.S7ITIAH3.js.map → chunk.5T3K7UXO.js.map} +0 -0
- /package/dist/chunks/{chunk.KYBZYOAW.js.map → chunk.67NOFASU.js.map} +0 -0
- /package/dist/chunks/{chunk.IHG5V7G6.js.map → chunk.6B7GMPMK.js.map} +0 -0
- /package/dist/chunks/{chunk.F7V5LHZA.js.map → chunk.6KTVNSPY.js.map} +0 -0
- /package/dist/chunks/{chunk.3XRQPR37.js.map → chunk.6VA5V372.js.map} +0 -0
- /package/dist/chunks/{chunk.O76MMYOC.js.map → chunk.7SIMUMVH.js.map} +0 -0
- /package/dist/chunks/{chunk.M25ZNEHD.js.map → chunk.AF4RYZHB.js.map} +0 -0
- /package/dist/chunks/{chunk.4NWG6GIY.js.map → chunk.B3UAPU32.js.map} +0 -0
- /package/dist/chunks/{chunk.GZZPYVQX.js.map → chunk.B56PMMC4.js.map} +0 -0
- /package/dist/chunks/{chunk.HS2BUHJR.js.map → chunk.BNHQTT5B.js.map} +0 -0
- /package/dist/chunks/{chunk.MV23LMED.js.map → chunk.D5GEYHUG.js.map} +0 -0
- /package/dist/chunks/{chunk.357ZOX56.js.map → chunk.DHT3ZN7B.js.map} +0 -0
- /package/dist/chunks/{chunk.VLVWVJUC.js.map → chunk.DRLFKWVC.js.map} +0 -0
- /package/dist/chunks/{chunk.ZHJLUYXA.js.map → chunk.DXVTZKXX.js.map} +0 -0
- /package/dist/chunks/{chunk.KZP6W6WX.js.map → chunk.EIJX4T2G.js.map} +0 -0
- /package/dist/chunks/{chunk.XASOHJYY.js.map → chunk.EMTWFPA4.js.map} +0 -0
- /package/dist/chunks/{chunk.I42ZMXUL.js.map → chunk.F4TDCDGD.js.map} +0 -0
- /package/dist/chunks/{chunk.DAELIXNV.js.map → chunk.FVYPYWJH.js.map} +0 -0
- /package/dist/chunks/{chunk.SP7ULWRO.js.map → chunk.GJIDYO3Z.js.map} +0 -0
- /package/dist/chunks/{chunk.VZGIDWPA.js.map → chunk.HW62YVCL.js.map} +0 -0
- /package/dist/chunks/{chunk.KNUV2HA6.js.map → chunk.HXLRLIDZ.js.map} +0 -0
- /package/dist/chunks/{chunk.K3RFNN2T.js.map → chunk.I5R3PXG7.js.map} +0 -0
- /package/dist/chunks/{chunk.3DUI4MAT.js.map → chunk.IMZSPXJV.js.map} +0 -0
- /package/dist/chunks/{chunk.O67MQZKB.js.map → chunk.IOFVUQIY.js.map} +0 -0
- /package/dist/chunks/{chunk.43XCD64Q.js.map → chunk.IYB26JEV.js.map} +0 -0
- /package/dist/chunks/{chunk.WSVB6XWI.js.map → chunk.JQ4NCOOB.js.map} +0 -0
- /package/dist/chunks/{chunk.547D43SQ.js.map → chunk.JX6C3ADT.js.map} +0 -0
- /package/dist/chunks/{chunk.3O3BJR4Y.js.map → chunk.JYLOZXGC.js.map} +0 -0
- /package/dist/chunks/{chunk.3R55CWLN.js.map → chunk.K5VB7VKA.js.map} +0 -0
- /package/dist/chunks/{chunk.EMM5E2QE.js.map → chunk.KPBZSLEA.js.map} +0 -0
- /package/dist/chunks/{chunk.ZNNZXEP4.js.map → chunk.KSWDM4HW.js.map} +0 -0
- /package/dist/chunks/{chunk.COMLGAG4.js.map → chunk.LBN3HL2T.js.map} +0 -0
- /package/dist/chunks/{chunk.TITGO6ES.js.map → chunk.LVYJDZMX.js.map} +0 -0
- /package/dist/chunks/{chunk.K6ZQFJXS.js.map → chunk.M72HMQL6.js.map} +0 -0
- /package/dist/chunks/{chunk.H5LIIOIS.js.map → chunk.MJ4Q6YEU.js.map} +0 -0
- /package/dist/chunks/{chunk.IRQZZURK.js.map → chunk.MM3NO6GS.js.map} +0 -0
- /package/dist/chunks/{chunk.74EPLGQK.js.map → chunk.N7BCC4V5.js.map} +0 -0
- /package/dist/chunks/{chunk.YMHR44VM.js.map → chunk.N7LV5KRH.js.map} +0 -0
- /package/dist/chunks/{chunk.VOC5DYU5.js.map → chunk.OBERL73O.js.map} +0 -0
- /package/dist/chunks/{chunk.TBO7YQ7H.js.map → chunk.OHDB73E6.js.map} +0 -0
- /package/dist/chunks/{chunk.OQOWQHEV.js.map → chunk.OIB4NIRJ.js.map} +0 -0
- /package/dist/chunks/{chunk.I7AC3RTR.js.map → chunk.PGGH5VGL.js.map} +0 -0
- /package/dist/chunks/{chunk.GW4F6TG7.js.map → chunk.PR7SSUOT.js.map} +0 -0
- /package/dist/chunks/{chunk.TBRYI77U.js.map → chunk.PWODN6WT.js.map} +0 -0
- /package/dist/chunks/{chunk.473H3SHJ.js.map → chunk.Q3SJASPT.js.map} +0 -0
- /package/dist/chunks/{chunk.YNQZY5WT.js.map → chunk.QACXXBE3.js.map} +0 -0
- /package/dist/chunks/{chunk.ERSURHPX.js.map → chunk.QT47J2O6.js.map} +0 -0
- /package/dist/chunks/{chunk.PYW5SSBY.js.map → chunk.QXZFSE4T.js.map} +0 -0
- /package/dist/chunks/{chunk.FPEZO62Q.js.map → chunk.R4FCX5PU.js.map} +0 -0
- /package/dist/chunks/{chunk.SQMVO2BA.js.map → chunk.R5WFWL7W.js.map} +0 -0
- /package/dist/chunks/{chunk.NRCH63KS.js.map → chunk.RBOU3KVS.js.map} +0 -0
- /package/dist/chunks/{chunk.NQAIJI6C.js.map → chunk.RV5JERXK.js.map} +0 -0
- /package/dist/chunks/{chunk.XILYGDY5.js.map → chunk.SLKJ2OJN.js.map} +0 -0
- /package/dist/chunks/{chunk.HD3FIFU7.js.map → chunk.SUH6DGJ5.js.map} +0 -0
- /package/dist/chunks/{chunk.PFLUXEIO.js.map → chunk.U6VNE4JX.js.map} +0 -0
- /package/dist/chunks/{chunk.EEJUDZFL.js.map → chunk.UAUY6RVN.js.map} +0 -0
- /package/dist/chunks/{chunk.WPZ3G3PZ.js.map → chunk.UBGDTOZZ.js.map} +0 -0
- /package/dist/chunks/{chunk.NNAU5QBN.js.map → chunk.UPDHOWDW.js.map} +0 -0
- /package/dist/chunks/{chunk.FBWCMSZA.js.map → chunk.VBPHUZ5N.js.map} +0 -0
- /package/dist/chunks/{chunk.6RXGKFPT.js.map → chunk.VV3WAINT.js.map} +0 -0
- /package/dist/chunks/{chunk.MVSK3TVN.js.map → chunk.VYQ53GHN.js.map} +0 -0
- /package/dist/chunks/{chunk.7YONTVZW.js.map → chunk.WPVUSCH3.js.map} +0 -0
- /package/dist/chunks/{chunk.YS2YSFGV.js.map → chunk.X57JLQDS.js.map} +0 -0
- /package/dist/chunks/{chunk.QZ5LIQE6.js.map → chunk.X6HKBVIE.js.map} +0 -0
- /package/dist/chunks/{chunk.VQJBKWMV.js.map → chunk.XDOZEDCW.js.map} +0 -0
- /package/dist/chunks/{chunk.ABDHXV6X.js.map → chunk.XKT2M3XA.js.map} +0 -0
- /package/dist/chunks/{chunk.UW4IKEIE.js.map → chunk.XL2GZSHM.js.map} +0 -0
- /package/dist/chunks/{chunk.IBKLU7LL.js.map → chunk.YBITSWNW.js.map} +0 -0
- /package/dist/chunks/{chunk.43WK7D7Y.js.map → chunk.YIYXW5NV.js.map} +0 -0
- /package/dist/chunks/{chunk.LJ3KWXOI.js.map → chunk.Z3SZOYBJ.js.map} +0 -0
- /package/dist/chunks/{chunk.DIUHLEKA.js.map → chunk.ZNJG4EY4.js.map} +0 -0
- /package/dist/chunks/{chunk.BEAGYN6W.js.map → chunk.ZPL7FJ2H.js.map} +0 -0
- /package/dist/chunks/{chunk.HBGYPZ7M.js.map → chunk.ZR7J6ZEM.js.map} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
range_tick_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2VDKBFQ7.js";
|
|
4
4
|
import {
|
|
5
5
|
component_styles_default
|
|
6
6
|
} from "./chunk.NLYVOJGK.js";
|
|
7
7
|
import {
|
|
8
8
|
SynergyElement
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.JG7YXWHG.js";
|
|
10
10
|
import {
|
|
11
11
|
__decorateClass
|
|
12
12
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -48,4 +48,4 @@ __decorateClass([
|
|
|
48
48
|
export {
|
|
49
49
|
SynRangeTick
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=chunk.
|
|
51
|
+
//# sourceMappingURL=chunk.4FRKK5XY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynValidate
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ZPL7FJ2H.js";
|
|
4
4
|
|
|
5
5
|
// src/components/validate/validate.ts
|
|
6
6
|
var validate_default = SynValidate;
|
|
@@ -9,4 +9,4 @@ SynValidate.define("syn-validate");
|
|
|
9
9
|
export {
|
|
10
10
|
validate_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.4I2C7KCE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynRadio
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2ACTZBEC.js";
|
|
4
4
|
|
|
5
5
|
// src/components/radio/radio.ts
|
|
6
6
|
var radio_default = SynRadio;
|
|
@@ -9,4 +9,4 @@ SynRadio.define("syn-radio");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.4T2NDUOQ.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.JG7YXWHG.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -64,4 +64,4 @@ __decorateClass([
|
|
|
64
64
|
export {
|
|
65
65
|
SynTabPanel
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=chunk.
|
|
67
|
+
//# sourceMappingURL=chunk.4URTG3MF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynIcon
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.GJIDYO3Z.js";
|
|
4
4
|
|
|
5
5
|
// src/components/icon/icon.ts
|
|
6
6
|
var icon_default = SynIcon;
|
|
@@ -9,4 +9,4 @@ SynIcon.define("syn-icon");
|
|
|
9
9
|
export {
|
|
10
10
|
icon_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.4ZEHQOJ3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynFile
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.JYLOZXGC.js";
|
|
4
4
|
|
|
5
5
|
// src/components/file/file.ts
|
|
6
6
|
var file_default = SynFile;
|
|
@@ -9,4 +9,4 @@ SynFile.define("syn-file");
|
|
|
9
9
|
export {
|
|
10
10
|
file_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.56BJYBST.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynOption
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.JX6C3ADT.js";
|
|
4
4
|
import {
|
|
5
5
|
SynPopup
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.5QGW4QZT.js";
|
|
7
7
|
import {
|
|
8
8
|
defaultOptionRenderer
|
|
9
9
|
} from "./chunk.IAS6MLT6.js";
|
|
@@ -51,22 +51,22 @@ import {
|
|
|
51
51
|
} from "./chunk.WVVQK5TE.js";
|
|
52
52
|
import {
|
|
53
53
|
SynIcon
|
|
54
|
-
} from "./chunk.
|
|
54
|
+
} from "./chunk.GJIDYO3Z.js";
|
|
55
|
+
import {
|
|
56
|
+
watch
|
|
57
|
+
} from "./chunk.JE5Y2YD7.js";
|
|
55
58
|
import {
|
|
56
59
|
LocalizeController
|
|
57
60
|
} from "./chunk.OAQRCZOO.js";
|
|
58
61
|
import {
|
|
59
62
|
enableDefaultSettings
|
|
60
|
-
} from "./chunk.
|
|
61
|
-
import {
|
|
62
|
-
watch
|
|
63
|
-
} from "./chunk.JE5Y2YD7.js";
|
|
63
|
+
} from "./chunk.KSWDM4HW.js";
|
|
64
64
|
import {
|
|
65
65
|
component_styles_default
|
|
66
66
|
} from "./chunk.NLYVOJGK.js";
|
|
67
67
|
import {
|
|
68
68
|
SynergyElement
|
|
69
|
-
} from "./chunk.
|
|
69
|
+
} from "./chunk.JG7YXWHG.js";
|
|
70
70
|
import {
|
|
71
71
|
__decorateClass
|
|
72
72
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -98,7 +98,6 @@ var SynCombobox = class extends SynergyElement {
|
|
|
98
98
|
this.disabled = false;
|
|
99
99
|
this.clearable = false;
|
|
100
100
|
this.open = false;
|
|
101
|
-
this.hoist = false;
|
|
102
101
|
this.label = "";
|
|
103
102
|
this.placement = "bottom";
|
|
104
103
|
this.helpText = "";
|
|
@@ -688,7 +687,6 @@ var SynCombobox = class extends SynergyElement {
|
|
|
688
687
|
"combobox--top": this.placement === "top"
|
|
689
688
|
})}
|
|
690
689
|
placement=${`${this.placement}-start`}
|
|
691
|
-
strategy=${this.hoist ? "fixed" : "absolute"}
|
|
692
690
|
flip
|
|
693
691
|
shift
|
|
694
692
|
sync="width"
|
|
@@ -875,9 +873,6 @@ __decorateClass([
|
|
|
875
873
|
__decorateClass([
|
|
876
874
|
property({ reflect: true, type: Boolean })
|
|
877
875
|
], SynCombobox.prototype, "open", 2);
|
|
878
|
-
__decorateClass([
|
|
879
|
-
property({ type: Boolean })
|
|
880
|
-
], SynCombobox.prototype, "hoist", 2);
|
|
881
876
|
__decorateClass([
|
|
882
877
|
property()
|
|
883
878
|
], SynCombobox.prototype, "label", 2);
|
|
@@ -935,4 +930,4 @@ setDefaultAnimation("combobox.hide", {
|
|
|
935
930
|
export {
|
|
936
931
|
SynCombobox
|
|
937
932
|
};
|
|
938
|
-
//# sourceMappingURL=chunk.
|
|
933
|
+
//# sourceMappingURL=chunk.5F5Y2RD6.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/combobox/combobox.component.ts"],
|
|
4
|
+
"sourcesContent": ["import type { CSSResultGroup, PropertyValues } from 'lit';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { property, query, state } from 'lit/decorators.js';\nimport { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { defaultValue } from '../../internal/default-value.js';\nimport { FormControlController } from '../../internal/form.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { LocalizeController } from '../../utilities/localize.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 type { SynergyFormControl } from '../../internal/synergy-element.js';\nimport SynOption from '../option/option.component.js';\nimport type SynOptGroup from '../optgroup/optgroup.js';\nimport styles from './combobox.styles.js';\nimport customStyles from './combobox.custom.styles.js';\nimport {\n checkValueBelongsToOption,\n createOptionFromDifferentTypes, filterOnlyOptgroups, getAllOptions, getAssignedElementsForSlot,\n getValueFromOption, normalizeString,\n} from './utils.js';\nimport { scrollIntoView } from '../../internal/scroll.js';\nimport { type OptionRenderer, defaultOptionRenderer } from './option-renderer.js';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Comboboxes allow you to choose items from a menu of predefined options.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-combobox--docs\n * @status stable\n *\n * @dependency syn-icon\n * @dependency syn-popup\n *\n * @slot - The listbox options. Must be `<syn-option>` elements.\n * You can use `<syn-optgroup>`'s to group items visually.\n * @slot label - The combobox'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.\n * Rotates on open and close.\n * @slot help-text - Text that describes how to use the combobox.\n * 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 combobox's menu opens.\n * @event syn-after-show - Emitted after the combobox's menu opens and all animations are complete.\n * @event syn-hide - Emitted when the combobox's menu closes.\n * @event syn-after-hide - Emitted after the combobox's menu closes and all animations are complete.\n * @event syn-invalid - Emitted when the form control has been checked for validity\n * and its constraints aren't satisfied.\n * @event syn-error - Emitted when the combobox menu fails to open.\n *\n * @csspart form-control - The form control that wraps the label, combobox, and help text.\n * @csspart form-control-label - The label's wrapper.\n * @csspart form-control-input - The combobox's wrapper.\n * @csspart form-control-help-text - The help text's wrapper.\n * @csspart combobox - The container the wraps the prefix, 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,\n * an `<input>` element.\n * @csspart listbox - The listbox container where the options are slotted\n * and the filtered options list exists.\n * @csspart filtered-listbox - The container that wraps the filtered options.\n * @csspart clear-button - The clear button.\n * @csspart expand-icon - The container that wraps the expand icon.\n * @csspart popup - The popup's exported `popup` part.\n * Use this to target the tooltip's popup container.\n * @csspart no-results - The container that wraps the \"no results\" message.\n *\n * @animation combobox.show - The animation to use when showing the combobox.\n * @animation combobox.hide - The animation to use when hiding the combobox.\n */\n@enableDefaultSettings('SynCombobox')\nexport default class SynCombobox extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [\n componentStyles,\n formControlStyles,\n styles,\n formControlCustomStyles,\n customStyles,\n ];\n\n static dependencies = {\n 'syn-icon': SynIcon,\n 'syn-popup': SynPopup,\n };\n\n private readonly formControlController = new FormControlController(this, {\n assumeInteractionOn: ['syn-blur', 'syn-input'],\n });\n\n private readonly hasSlotController = new HasSlotController(this, 'help-text', 'label');\n\n private readonly localize = new LocalizeController(this);\n\n private closeWatcher: CloseWatcher | null;\n\n /** The last syn-option, that was selected by click or via keyboard navigation */\n private lastOption: SynOption | undefined;\n\n private isOptionRendererTriggered = false;\n\n private isInitialized: boolean = false;\n\n @query('.combobox') popup: SynPopup;\n\n @query('.combobox__inputs') combobox: HTMLSlotElement;\n\n @query('.combobox__display-input') displayInput: HTMLInputElement;\n\n @query('.combobox__value-input') valueInput: HTMLInputElement;\n\n @query('.combobox__listbox') listbox: HTMLSlotElement;\n\n @query('slot:not([name])') private defaultSlot: HTMLSlotElement;\n\n @state() private hasFocus = false;\n\n @state() private isUserInput = false;\n\n @state() displayLabel = '';\n\n @state() selectedOption: SynOption | undefined;\n\n @state() numberFilteredOptions = 0;\n\n @state() cachedOptions: SynOption [] = [];\n\n /** The name of the combobox, submitted as a name/value pair with form data. */\n @property() name = '';\n\n /**\n * The current value of the combobox, submitted as a name/value pair with form data.\n */\n @property() value = '';\n\n /** The default value of the form control. Primarily used for resetting the form control. */\n @defaultValue() defaultValue = '';\n\n /** The combobox's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Placeholder text to show as a hint when the combobox is empty. */\n @property() placeholder = '';\n\n /** Disables the combobox control. */\n @property({ reflect: true, type: Boolean }) disabled = false;\n\n /** Adds a clear button when the combobox is not empty. */\n @property({ type: Boolean }) clearable = false;\n\n /**\n * Indicates whether or not the combobox is open.\n * You can toggle this attribute to show and hide the listbox, or you can use the `show()`\n * and `hide()` methods and this attribute will reflect the combobox's open state.\n */\n @property({ reflect: true, type: Boolean }) open = false;\n\n /** The combobox's label. If you need to display HTML, use the `label` slot instead. */\n @property() label = '';\n\n /**\n * The preferred placement of the combobox's menu.\n * Note that the actual placement may vary as needed to keep the listbox inside of the viewport.\n */\n @property({ reflect: true }) placement: 'top' | 'bottom' = 'bottom';\n\n /** The combobox'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.\n * This attribute allows you to place the form control outside of a form and associate it\n * with the form that has this `id`.\n * The form must be in the same document or shadow root for this to work.\n */\n @property({ reflect: true }) form = '';\n\n /** The combobox's required attribute. */\n @property({ reflect: true, type: Boolean }) required = false;\n\n /**\n * When set to `true`, restricts the combobox to only allow selection from the available options.\n * Users will not be able to enter custom values that are not present in the list.\n */\n @property({ reflect: true, type: Boolean }) restricted = false;\n\n /**\n * A function that customizes the rendered option. The first argument is the option, the second\n * is the query string, which is typed into the combobox.\n * The function should return either a Lit TemplateResult or a string containing trusted HTML\n * to render in the shown list of filtered options.\n * If the query string should be highlighted use the `highlightOptionRenderer` function.\n */\n @property() getOption: OptionRenderer = defaultOptionRenderer;\n\n /**\n * A function used to filter options in the combobox component.\n * The default filter method is a case- and diacritic-insensitive string comparison.\n *\n * @param option - The option to be filtered.\n * @param queryString - The query string used for filtering.\n * @returns A boolean indicating whether the option should be included in the filtered results.\n */\n // eslint-disable-next-line class-methods-use-this\n @property() filter: (option: SynOption, queryString: string) => boolean = (option, queryStr) => {\n let content = option?.textContent || '';\n if (option instanceof SynOption) {\n content = option.getTextLabel();\n }\n const normalizedOption = normalizeString(content);\n const normalizedQuery = normalizeString(queryStr);\n\n if (normalizedOption.includes(normalizedQuery)) {\n return true;\n }\n\n return option?.value === queryStr;\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 // Because this is a form control, it shouldn't be opened initially\n this.open = false;\n }\n\n firstUpdated() {\n this.isInitialized = true;\n this.formControlController.updateValidity();\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\n // the defaultValue manually to be able to reset forms and the dynamic loading of options\n // are working correctly.\n this.defaultValue = this.value;\n }\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/synergy-design-system/synergy/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,\n // 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 // eslint-disable-next-line @typescript-eslint/no-floating-promises\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.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 combobox\n const path = event.composedPath();\n if (this && !path.includes(this)) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.hide();\n }\n };\n\n /* eslint-disable @typescript-eslint/no-floating-promises */\n // eslint-disable-next-line complexity\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n const target = event.target as HTMLElement;\n const isClearButton = target.closest('.combobox__clear') !== null;\n\n if (isClearButton) {\n return;\n }\n\n // Close when pressing escape and open / clear input if not open\n if (event.key === 'Escape') {\n if (this.open && !this.closeWatcher) {\n event.preventDefault();\n event.stopPropagation();\n this.hide();\n this.displayInput.focus({ preventScroll: true });\n } else if (!this.open) {\n this.clearCombobox();\n }\n }\n\n // Handle enter.\n if (event.key === 'Enter') {\n const currentOption = this.getCurrentOption();\n\n // Pressing enter when focused on an input should submit the form like a native input, but\n // we wait a tick before submitting to allow users to cancel the keydown event if they need to\n const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;\n if (!this.open && !hasModifier) {\n setTimeout(() => {\n if (!event.defaultPrevented) {\n this.formControlController.submit();\n }\n });\n return;\n }\n\n if (!this.open || (currentOption && currentOption.disabled)) {\n return;\n }\n\n // Update the value based on the current selection and close it\n if (currentOption) {\n const oldValue = this.lastOption ? getValueFromOption(this.lastOption) : undefined;\n this.updateSelectedOptionsCacheAndValue(currentOption);\n\n if (this.value !== oldValue) {\n this.setSelectedOptionToSelected();\n // Emit after updating\n this.updateComplete.then(() => {\n this.emit('syn-input');\n this.emit('syn-change');\n });\n }\n }\n\n this.hide();\n this.displayInput.focus({ preventScroll: true });\n return;\n }\n\n // Navigate options\n if (['ArrowUp', 'ArrowDown'].includes(event.key)) {\n // Prevent scrolling\n event.preventDefault();\n event.stopPropagation();\n // Open it\n if (!this.open) {\n this.show();\n }\n\n this.selectNextOption(event.key === 'ArrowDown');\n }\n\n // Move cursor\n if (['Home', 'End'].includes(event.key)) {\n // Prevent scrolling\n event.preventDefault();\n event.stopPropagation();\n if (event.key === 'Home') {\n this.displayInput.setSelectionRange(0, 0);\n } else if (event.key === 'End') {\n this.displayInput.setSelectionRange(\n this.displayInput.value.length,\n this.displayInput.value.length,\n );\n }\n }\n };\n /* eslint-enable @typescript-eslint/no-floating-promises */\n\n private handleDocumentMouseDown = (event: MouseEvent) => {\n // Close when clicking outside of the combobox\n const path = event.composedPath();\n if (this && !path.includes(this)) {\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.hide();\n }\n };\n\n private handleLabelClick() {\n this.displayInput.focus();\n }\n\n private handleComboboxMouseDown(event: MouseEvent) {\n // Ignore disabled controls\n if (this.disabled) {\n return;\n }\n\n const toggleListboxOpen = () => (this.open ? this.hide() : this.show());\n event.preventDefault();\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n toggleListboxOpen().then(() => {\n setTimeout(() => this.displayInput.focus({ preventScroll: true }));\n });\n }\n\n private handleComboboxKeyDown(event: KeyboardEvent) {\n if (event.key === 'Tab') {\n return;\n }\n\n this.handleDocumentKeyDown(event);\n }\n\n private handleClearClick(event: MouseEvent) {\n event.stopPropagation();\n this.clearCombobox();\n }\n\n private clearCombobox() {\n if (this.value !== '') {\n this.value = '';\n this.displayInput.value = '';\n this.lastOption = undefined;\n this.updateSelectedOptionsCacheAndValue(undefined);\n this.displayInput.focus({ preventScroll: true });\n this.setSelectedOptionToSelected();\n\n // Emit after update\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.updateComplete.then(() => {\n this.emit('syn-clear');\n this.emit('syn-input');\n this.emit('syn-change');\n });\n }\n }\n\n // eslint-disable-next-line class-methods-use-this\n private preventLoosingFocus(event: MouseEvent) {\n // Don't lose focus of the input or propagate events\n event.stopPropagation();\n event.preventDefault();\n }\n\n /* eslint-disable @typescript-eslint/no-floating-promises */\n private handleOptionClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n const option = target.closest('syn-option');\n const oldValue = this.lastOption ? getValueFromOption(this.lastOption) : undefined;\n if (option && !option.disabled) {\n this.updateSelectedOptionsCacheAndValue(option);\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 this.setSelectedOptionToSelected();\n // Emit after updating\n this.updateComplete.then(() => {\n this.emit('syn-input');\n this.emit('syn-change');\n });\n }\n\n this.hide();\n this.displayInput.focus({ preventScroll: true });\n }\n }\n /* eslint-enable @typescript-eslint/no-floating-promises */\n\n /**\n * Selects the following or previous option.\n *\n * @param isNext - A boolean indicating whether to select the following option (true)\n * or the previous option (false).\n */\n private selectNextOption(isNext: boolean) {\n const filteredOptions = this.getAllFilteredOptions();\n\n if (filteredOptions.length === 0) {\n return;\n }\n\n const currentOption = this.getCurrentOption();\n const currentIndex = filteredOptions.indexOf(currentOption!);\n let newIndex = Math.max(0, currentIndex);\n\n if (isNext) {\n const nextIndex = currentIndex + 1;\n newIndex = (nextIndex > filteredOptions.length - 1) ? 0 : nextIndex;\n } else {\n const previousIndex = currentIndex - 1;\n newIndex = previousIndex < 0 ? filteredOptions.length - 1 : previousIndex;\n }\n this.setCurrentOption(filteredOptions[newIndex]);\n scrollIntoView(this.getCurrentOption()!, this.listbox, 'vertical', 'auto');\n }\n\n private getAllFilteredOptions() {\n return this.getSlottedOptions().filter(option => !option.hidden);\n }\n\n private getCurrentOption() {\n return this.getAllFilteredOptions().find(option => option.current);\n }\n\n // Sets the current option, which is the option the user is currently interacting with\n // (e.g. via keyboard). Only one option may be \"current\" at a time.\n private setCurrentOption(option: SynOption | null) {\n const allOptions = this.getAllFilteredOptions();\n\n // Clear selection\n this.displayInput.removeAttribute('aria-activedescendant');\n\n allOptions.forEach(el => {\n // eslint-disable-next-line no-param-reassign\n el.current = false;\n el.setAttribute('aria-selected', 'false');\n });\n\n // Select the target option\n if (option) {\n // eslint-disable-next-line no-param-reassign\n option.current = true;\n option.setAttribute('aria-selected', 'true');\n this.displayInput.setAttribute('aria-activedescendant', option.id);\n }\n }\n\n /**\n * Updates the selected options cache, the current value, and the display value\n */\n // eslint-disable-next-line complexity\n private updateSelectedOptionsCacheAndValue(option: SynOption | undefined) {\n this.selectedOption = option;\n\n let optionValue;\n\n if (option) {\n this.lastOption = option;\n optionValue = String(getValueFromOption(option));\n } else if (this.restricted && !this.isValidValue() && this.value !== '' && !this.isUserInput) {\n // if an invalid value was set via property binding for `restricted`comboboxes,\n // reset to last valid value\n this.resetToLastValidValue();\n return;\n }\n\n // Update the value\n this.value = optionValue ?? this.displayInput.value;\n\n // Update validity and display label\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.updateComplete.then(() => {\n this.displayLabel = this.selectedOption?.getTextLabel() ?? this.displayInput.value;\n this.formControlController.updateValidity();\n });\n }\n\n private setSelectedOptionToSelected() {\n const slottedOptions = this.getSlottedOptions();\n slottedOptions.forEach((opt) => {\n // eslint-disable-next-line no-param-reassign\n opt.selected = false;\n });\n\n if (this.selectedOption) {\n this.selectedOption.selected = true;\n }\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n @watch(['filter', 'getOption'], { waitUntilFirstUpdate: true })\n handlePropertiesChange() {\n this.createComboboxOptionsFromQuery(this.value);\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n // Disabled form controls are always valid\n this.formControlController.setValidity(this.disabled);\n\n // Close the listbox when the control is disabled\n if (this.disabled) {\n this.open = false;\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.handleOpenChange();\n }\n }\n\n @watch('value', { waitUntilFirstUpdate: true })\n handleValueChange() {\n this.updateSelectedOptionFromValue();\n this.setCurrentOption(null);\n }\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open && !this.disabled) {\n if (this.numberFilteredOptions === 0 && !this.restricted) {\n // Don't open the listbox if there are no options and it is not restricted\n this.open = false;\n this.emit('syn-error');\n return;\n }\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 const { keyframes, options } = getAnimation(this, 'combobox.show', { dir: this.localize.dir() });\n await animateTo(this.popup.popup, keyframes, options);\n\n this.emit('syn-after-show');\n return;\n }\n\n this.setCurrentOption(null);\n this.displayInput.removeAttribute('aria-activedescendant');\n // Hide\n this.emit('syn-hide');\n this.removeOpenListeners();\n\n await stopAnimations(this);\n const { keyframes, options } = getAnimation(this, 'combobox.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. If it is not possible to open the listbox, because there are no\n * appropriate filtered options, a syn-error is emitted and the listbox stays closed.\n */\n async show() {\n if (this.open || this.disabled) {\n this.open = false;\n return undefined;\n }\n\n this.open = true;\n return Promise.race([waitForEvent(this, 'syn-after-show'), waitForEvent(this, 'syn-error')]);\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 /**\n * Checks for validity but does not show a validation message.\n * Returns `true` when valid and `false` when invalid.\n */\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 /* eslint-disable no-param-reassign, @typescript-eslint/no-floating-promises */\n private createComboboxOptionsFromQuery(queryString: string) {\n this.numberFilteredOptions = 0;\n this.isOptionRendererTriggered = true;\n\n // This is needed for angular. For some reason the handleDefaultSlotChange is not triggered\n // initially and therefore the cachedOptions are not set.\n if (this.cachedOptions.length === 0) {\n this.cacheSlottedOptionsAndOptgroups();\n }\n\n // Update the syn-option's based on the query string and getOption\n this.getSlottedOptions()\n .forEach(option => {\n // Use the original cached option, to do changes on it\n const cachedOption = this.cachedOptions.find(o => o.id === option.id) || option;\n const optionResult = this.getOption(cachedOption, queryString);\n let updatedOption = createOptionFromDifferentTypes(optionResult);\n\n // The type of the getOption function is incorrect, therefore use the original option\n if (!updatedOption) {\n updatedOption = cachedOption;\n }\n\n const hideOption = !(this.filter(updatedOption, queryString) || queryString === '');\n updatedOption.hidden = hideOption;\n option.replaceWith(updatedOption);\n\n if (!hideOption) {\n this.numberFilteredOptions += 1;\n }\n });\n\n // Update the syn-optgroup's if available\n const visibleOptgroups = this.getSlottedOptGroups().filter(optgroup => {\n const options = getAllOptions(Array.from(optgroup.children) as HTMLElement[]).flat();\n const isVisible = options.some(option => !option.hidden);\n optgroup.hidden = !isVisible;\n return isVisible;\n });\n\n // Hide the divider of the first visible optgroup, as it can unfortunately not be hidden via css\n visibleOptgroups[0]?.style.setProperty('--display-divider', 'none');\n\n // This is needed so the component does not endlessly rerender,\n // because the slot change event is endlessly retriggered otherwise.\n setTimeout(() => {\n this.isOptionRendererTriggered = false;\n }, 0);\n }\n /* eslint-enable no-param-reassign, @typescript-eslint/no-floating-promises */\n\n private async handleInput() {\n const inputValue = this.displayInput.value;\n const cachedLastOption = this.lastOption;\n this.isUserInput = true;\n\n this.value = inputValue;\n await this.updateComplete;\n this.isUserInput = false;\n this.lastOption = cachedLastOption;\n this.open = this.restricted || this.numberFilteredOptions > 0;\n this.selectedOption = undefined;\n this.formControlController.updateValidity();\n this.emit('syn-input');\n }\n\n /**\n * Checks if the current value is available in the options list.\n * This is used to determine if the value is valid when the combobox is restricted.\n *\n * @returns `true` if the current value is available in the options list,\n * otherwise `false`.\n */\n private isValidValue(): boolean {\n const isValid = this.cachedOptions.some(\n option => getValueFromOption(option) === this.value,\n );\n return isValid;\n }\n\n private getOptionFromValue(): SynOption | undefined {\n return this.cachedOptions.find(option => checkValueBelongsToOption(this.value, option));\n }\n\n /**\n * Resets the value to the last valid value or to an empty string.\n */\n private resetToLastValidValue() {\n let label = '';\n let value = '';\n\n if (this.lastOption) {\n value = String(getValueFromOption(this.lastOption));\n label = this.lastOption.getTextLabel();\n }\n\n // Wait for the popup close animation to be finished before updating the value.\n // This is to prevent flickering of the listbox, as the value is potentially reset to empty\n // string and the whole options would be shown again.\n const popupAnimations = this.popup?.popup?.getAnimations?.() ?? [];\n const waitForAnimations = popupAnimations.length\n ? Promise.all(\n popupAnimations.map(animation => (animation.playState === 'finished'\n ? Promise.resolve()\n : new Promise<void>(resolve => { animation.addEventListener('finish', () => resolve(), { once: true }); }))),\n )\n : Promise.resolve();\n\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n waitForAnimations.then(() => {\n this.value = value;\n this.displayInput.value = label;\n this.formControlController.updateValidity();\n });\n }\n\n private handleChange() {\n // Only update the value and emit the event, if the change event occurred by\n // the user typing something in and removing focus of the combobox\n if (this.selectedOption) {\n return;\n }\n\n // If the value is not valid, we need to reset the value to the last valid value\n if (this.restricted && !this.isValidValue() && this.value !== '') {\n this.resetToLastValidValue();\n return;\n }\n\n // Otherwise, update value from input and emit change\n this.value = this.displayInput.value;\n this.lastOption = this.getOptionFromValue();\n this.selectedOption = this.getOptionFromValue();\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n this.updateComplete.then(() => {\n this.formControlController.updateValidity();\n });\n this.setSelectedOptionToSelected();\n this.emit('syn-change');\n }\n\n private getSlottedOptions() {\n return getAllOptions(getAssignedElementsForSlot(this.defaultSlot)).flat();\n }\n\n private getSlottedOptGroups(): SynOptGroup[] {\n return filterOnlyOptgroups(getAssignedElementsForSlot(this.defaultSlot));\n }\n\n /* eslint-disable no-param-reassign */\n private cacheSlottedOptionsAndOptgroups() {\n const slottedOptions = this.getSlottedOptions();\n const slottedOptgroups = this.getSlottedOptGroups();\n\n slottedOptions.forEach((option, index) => {\n option.id = option.id || `syn-combobox-option-${index}`;\n });\n\n slottedOptgroups.forEach((optgroup, index) => {\n optgroup.id = optgroup.id || `syn-combobox-optgroup-${index}`;\n });\n\n // Cache the slotted options\n this.cachedOptions = [...slottedOptions];\n }\n /* eslint-enable no-param-reassign */\n\n private updateSelectedOptionFromValue(): void {\n // check if the value has a corresponding option via value or text content\n // for empty values use the text content, as then the values of the option are not set\n const option = this.getOptionFromValue();\n\n if (!option) {\n this.displayInput.value = this.value;\n }\n\n this.updateSelectedOptionsCacheAndValue(option);\n this.createComboboxOptionsFromQuery(this.value);\n }\n\n /* eslint-disable @typescript-eslint/no-floating-promises, complexity */\n /* @internal - used by options to update labels */\n public handleDefaultSlotChange() {\n // We need to check if the slotChange is triggered by our own changes we do to the already\n // slotted options or because new options were slotted into the combobox\n const slottedOptions = this.getSlottedOptions();\n const optionsLength = slottedOptions.length;\n const cachedOptionsLength = this.cachedOptions.length;\n\n if (!this.isOptionRendererTriggered || cachedOptionsLength !== optionsLength) {\n // Rerun this handler when <syn-option> is registered\n if (!customElements.get('syn-option')) {\n customElements.whenDefined('syn-option').then(() => this.handleDefaultSlotChange());\n return;\n }\n\n this.cacheSlottedOptionsAndOptgroups();\n\n this.updateSelectedOptionFromValue();\n\n if (this.hasFocus && this.value.length > 0 && !this.open) {\n this.show();\n }\n }\n }\n /* eslint-enable @typescript-eslint/no-floating-promises, complexity */\n\n /* eslint-disable @typescript-eslint/unbound-method */\n // eslint-disable-next-line complexity\n render() {\n const hasLabelSlot = this.hasSlotController.test('label');\n const hasHelpTextSlot = this.hasSlotController.test('help-text');\n const hasLabel = this.label ? true : !!hasLabelSlot;\n const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;\n const hasClearIcon = this.clearable && !this.disabled && this.value.length > 0;\n const isPlaceholderVisible = this.placeholder && this.value.length === 0;\n\n return html`\n <div\n part=\"form-control\"\n class=${classMap({\n 'form-control': true,\n 'form-control--has-help-text': hasHelpText,\n 'form-control--has-label': hasLabel,\n 'form-control--large': this.size === 'large',\n 'form-control--medium': this.size === 'medium',\n 'form-control--small': this.size === 'small',\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 combobox: true,\n 'combobox--bottom': this.placement === 'bottom',\n 'combobox--disabled': this.disabled,\n 'combobox--focused': this.hasFocus,\n 'combobox--large': this.size === 'large',\n 'combobox--medium': this.size === 'medium',\n 'combobox--open': this.open,\n 'combobox--placeholder-visible': isPlaceholderVisible,\n 'combobox--small': this.size === 'small',\n 'combobox--standard': true,\n 'combobox--top': this.placement === 'top',\n })}\n placement=${`${this.placement}-start`}\n flip\n shift\n sync=\"width\"\n auto-size=\"vertical\"\n auto-size-padding=\"10\"\n exportparts=\"popup\"\n >\n <div\n part=\"combobox\"\n class=\"combobox__inputs\"\n slot=\"anchor\"\n @keydown=${this.handleComboboxKeyDown}\n @mousedown=${this.handleComboboxMouseDown}\n >\n <slot part=\"prefix\" name=\"prefix\" class=\"combobox__prefix\"></slot>\n\n <input\n part=\"display-input\"\n class=\"combobox__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 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 aria-autocomplete=\"list\"\n aria-owns=\"listbox\"\n @input=${this.handleInput}\n @change=${this.handleChange}\n />\n\n <input\n class=\"combobox__value-input\"\n type=\"text\"\n ?disabled=${this.disabled}\n ?required=${this.required}\n .value=${this.value}\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=\"combobox__clear\"\n type=\"button\"\n aria-label=${this.localize.term('clearEntry')}\n @mousedown=${this.preventLoosingFocus}\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=\"combobox__suffix\"></slot>\n\n <slot name=\"expand-icon\" part=\"expand-icon\" class=\"combobox__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-labelledby=\"label\"\n part=\"listbox\"\n class=\"combobox__listbox\"\n tabindex=\"-1\"\n @mousedown=${this.preventLoosingFocus}\n @mouseup=${this.handleOptionClick}\n >\n <div class=\"listbox__options\" part=\"filtered-listbox\">\n ${this.numberFilteredOptions === 0\n ? html`<span\n class=\"listbox__no-results\"\n aria-hidden=\"true\"\n part=\"no-results\"\n >${this.localize.term('noResults')}</span\n >`\n : ''}\n <slot @slotchange=${this.handleDefaultSlotChange}></slot> \n </div>\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 /* eslint-enable @typescript-eslint/unbound-method */\n}\n\nsetDefaultAnimation('combobox.show', {\n keyframes: [\n { opacity: 0, scale: 0.9 },\n { opacity: 1, scale: 1 },\n ],\n options: { duration: 100, easing: 'ease' },\n});\n\nsetDefaultAnimation('combobox.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": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,UAAU,OAAO,aAAa;AAmFvC,IAAqB,cAArB,cAAyC,eAA6C;AAAA,EAAtF;AAAA;AAcE,SAAi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EAAE;AAAA,IACvB,EAAE,SAAS,GAAG,OAAO,IAAI;AAAA,EAC3B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;",
|
|
6
|
+
"names": ["keyframes", "options"]
|
|
7
|
+
}
|
|
@@ -7,7 +7,7 @@ var header_styles_default = css`
|
|
|
7
7
|
|
|
8
8
|
.header {
|
|
9
9
|
background: var(--syn-panel-background-color);
|
|
10
|
-
box-shadow: inset 0 -1px 0 0 var(--syn-header-border-color
|
|
10
|
+
box-shadow: inset 0 -1px 0 0 var(--syn-header-border-color);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -39,7 +39,7 @@ var header_styles_default = css`
|
|
|
39
39
|
*/
|
|
40
40
|
.header__logo ::slotted(a),
|
|
41
41
|
.header__logo ::slotted(a:hover) {
|
|
42
|
-
color: var(--syn-logo-color
|
|
42
|
+
color: var(--syn-logo-color);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
.header__logo ::slotted(a:is(:focus-visible)) {
|
|
@@ -52,7 +52,7 @@ var header_styles_default = css`
|
|
|
52
52
|
*/
|
|
53
53
|
.header__logo syn-icon,
|
|
54
54
|
.header__logo syn-icon::part(svg) {
|
|
55
|
-
color: var(--syn-logo-color
|
|
55
|
+
color: var(--syn-logo-color);
|
|
56
56
|
height: 32px;
|
|
57
57
|
width: auto;
|
|
58
58
|
}
|
|
@@ -78,7 +78,7 @@ var header_styles_default = css`
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.header__meta-navigation ::slotted(*) {
|
|
81
|
-
color: var(--syn-interactive-quiet-color
|
|
81
|
+
color: var(--syn-interactive-quiet-color);
|
|
82
82
|
display: contents;
|
|
83
83
|
font-size: var(--syn-font-size-x-large);
|
|
84
84
|
}
|
|
@@ -97,7 +97,7 @@ var header_styles_default = css`
|
|
|
97
97
|
align-items: center;
|
|
98
98
|
background: none;
|
|
99
99
|
border: none;
|
|
100
|
-
color: var(--syn-interactive-quiet-color
|
|
100
|
+
color: var(--syn-interactive-quiet-color);
|
|
101
101
|
cursor: pointer;
|
|
102
102
|
display: flex;
|
|
103
103
|
font-size: var(--syn-font-size-x-large);
|
|
@@ -107,11 +107,11 @@ var header_styles_default = css`
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.header__burger-menu-toggle:hover {
|
|
110
|
-
color: var(--syn-interactive-quiet-color-hover
|
|
110
|
+
color: var(--syn-interactive-quiet-color-hover);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
.header__burger-menu-toggle:active {
|
|
114
|
-
color: var(--syn-interactive-quiet-color-active
|
|
114
|
+
color: var(--syn-interactive-quiet-color-active);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.header__burger-menu-toggle:focus-visible {
|
|
@@ -130,4 +130,4 @@ var header_styles_default = css`
|
|
|
130
130
|
export {
|
|
131
131
|
header_styles_default
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=chunk.
|
|
133
|
+
//# sourceMappingURL=chunk.5OXFZJYX.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/header/header.styles.ts"],
|
|
4
|
+
"sourcesContent": ["import { css } from 'lit';\n\nexport default css`\n :host {\n display: block;\n }\n\n .header {\n background: var(--syn-panel-background-color);\n box-shadow: inset 0 -1px 0 0 var(--syn-header-border-color);\n }\n\n /**\n * The primary content area displays one to many slotted items\n * and contains the following items:\n * - side nav state icon (OPTIONAL)\n * - company or application logo\n * - application name\n * - meta-navigation\n */\n .header__content {\n align-items: center;\n box-sizing: content-box;\n display: flex;\n min-height: 40px;\n padding: var(--syn-spacing-small) var(--syn-spacing-large);\n }\n\n /**\n * The logo slot includes the application or company logo\n */\n .header__logo ::slotted(*),\n .header__logo syn-icon {\n display: block;\n }\n\n /**\n * Make sure to use the correct color and outline for links\n */\n .header__logo ::slotted(a),\n .header__logo ::slotted(a:hover) {\n color: var(--syn-logo-color);\n }\n\n .header__logo ::slotted(a:is(:focus-visible)) {\n outline: var(--syn-focus-ring);\n outline-offset: var(--syn-focus-ring-offset);\n }\n\n /**\n * Styles for the default logo. This makes sure the default SICK logo has the correct size and color\n */\n .header__logo syn-icon,\n .header__logo syn-icon::part(svg) {\n color: var(--syn-logo-color);\n height: 32px;\n width: auto;\n }\n\n /**\n * The label section hosts the application name\n */\n .header__label {\n color: var(--syn-typography-color-text);\n font: var(--syn-body-large-bold);\n padding: 0 var(--syn-spacing-2x-large);\n white-space: nowrap;\n }\n\n /**\n * The options menu holds an arbitrary list of <syn-icon-button />\n */\n .header__meta-navigation {\n display: flex;\n flex: 1;\n gap: var(--syn-spacing-x-small);\n justify-content: end;\n }\n\n .header__meta-navigation ::slotted(*) {\n color: var(--syn-interactive-quiet-color);\n display: contents;\n font-size: var(--syn-font-size-x-large);\n }\n\n /**\n * The horizontal top navigation section\n */\n .header__navigation {\n padding: 0 var(--syn-spacing-large);\n }\n\n /**\n * The burger menu icon styles\n */\n .header__burger-menu-toggle {\n align-items: center;\n background: none;\n border: none;\n color: var(--syn-interactive-quiet-color);\n cursor: pointer;\n display: flex;\n font-size: var(--syn-font-size-x-large);\n margin-right: calc(var(--syn-spacing-medium) + var(--syn-spacing-2x-small));\n padding: var(--syn-spacing-x-small);\n transition: var(--syn-transition-x-fast) color;\n }\n\n .header__burger-menu-toggle:hover {\n color: var(--syn-interactive-quiet-color-hover);\n }\n\n .header__burger-menu-toggle:active {\n color: var(--syn-interactive-quiet-color-active);\n }\n\n .header__burger-menu-toggle:focus-visible {\n outline: var(--syn-focus-ring);\n outline-offset: var(--syn-focus-ring-offset);\n }\n\n /**\n * If the burger menu is provided, use a smaller spacing on the left side\n */\n .header--has-burger-menu .header__content {\n padding-left: var(--syn-spacing-medium);\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAS,WAAW;AAEpB,IAAO,wBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk.NLYVOJGK.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.JG7YXWHG.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass,
|
|
18
18
|
__spreadProps,
|
|
@@ -37,7 +37,6 @@ var SynPopup = class extends SynergyElement {
|
|
|
37
37
|
this.localize = new LocalizeController(this);
|
|
38
38
|
this.active = false;
|
|
39
39
|
this.placement = "top";
|
|
40
|
-
this.strategy = "absolute";
|
|
41
40
|
this.distance = 0;
|
|
42
41
|
this.skidding = 0;
|
|
43
42
|
this.arrow = false;
|
|
@@ -263,11 +262,11 @@ var SynPopup = class extends SynergyElement {
|
|
|
263
262
|
})
|
|
264
263
|
);
|
|
265
264
|
}
|
|
266
|
-
const getOffsetParent = SUPPORTS_POPOVER
|
|
265
|
+
const getOffsetParent = SUPPORTS_POPOVER ? (element) => platform.getOffsetParent(element, offsetParent) : platform.getOffsetParent;
|
|
267
266
|
computePosition(this.anchorEl, this.popup, {
|
|
268
267
|
placement: this.placement,
|
|
269
268
|
middleware,
|
|
270
|
-
strategy: SUPPORTS_POPOVER ? "absolute" :
|
|
269
|
+
strategy: SUPPORTS_POPOVER ? "absolute" : "fixed",
|
|
271
270
|
platform: __spreadProps(__spreadValues({}, platform), {
|
|
272
271
|
getOffsetParent
|
|
273
272
|
})
|
|
@@ -333,7 +332,7 @@ var SynPopup = class extends SynergyElement {
|
|
|
333
332
|
class=${classMap({
|
|
334
333
|
popup: true,
|
|
335
334
|
"popup--active": this.active,
|
|
336
|
-
"popup--fixed": !SUPPORTS_POPOVER
|
|
335
|
+
"popup--fixed": !SUPPORTS_POPOVER,
|
|
337
336
|
"popup--has-arrow": this.arrow
|
|
338
337
|
})}
|
|
339
338
|
>
|
|
@@ -359,9 +358,6 @@ __decorateClass([
|
|
|
359
358
|
__decorateClass([
|
|
360
359
|
property({ reflect: true })
|
|
361
360
|
], SynPopup.prototype, "placement", 2);
|
|
362
|
-
__decorateClass([
|
|
363
|
-
property({ reflect: true })
|
|
364
|
-
], SynPopup.prototype, "strategy", 2);
|
|
365
361
|
__decorateClass([
|
|
366
362
|
property({ type: Number })
|
|
367
363
|
], SynPopup.prototype, "distance", 2);
|
|
@@ -430,4 +426,4 @@ __decorateClass([
|
|
|
430
426
|
export {
|
|
431
427
|
SynPopup
|
|
432
428
|
};
|
|
433
|
-
//# sourceMappingURL=chunk.
|
|
429
|
+
//# sourceMappingURL=chunk.5QGW4QZT.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/popup/popup.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 { arrow, autoUpdate, computePosition, flip, offset, platform, shift, size } from '@floating-ui/dom';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { offsetParent } from 'composed-offset-position';\nimport { property, query } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './popup.styles.js';\nimport customStyles from './popup.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\nconst SUPPORTS_POPOVER = globalThis?.HTMLElement?.prototype.hasOwnProperty('popover');\n\nexport interface VirtualElement {\n getBoundingClientRect: () => DOMRect;\n contextElement?: Element;\n}\n\nfunction isVirtualElement(e: unknown): e is VirtualElement {\n return (\n e !== null &&\n typeof e === 'object' &&\n 'getBoundingClientRect' in e &&\n ('contextElement' in e ? e.contextElement instanceof Element : true)\n );\n}\n\n/**\n * @summary Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-popup--docs\n * @status stable\n * @since 2.0\n *\n * @event syn-reposition - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive\n * operations in your listener or consider debouncing it.\n *\n * @slot - The popup's content.\n * @slot anchor - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the\n * `anchor` attribute or property instead.\n *\n * @csspart arrow - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are\n * assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and\n * maybe a border or box shadow.\n * @csspart popup - The popup's container. Useful for setting a background color, box shadow, etc.\n * @csspart hover-bridge - The hover bridge element. Only available when the `hover-bridge` option is enabled.\n *\n * @cssproperty [--arrow-size=6px] - The size of the arrow. Note that an arrow won't be shown unless the `arrow`\n * attribute is used.\n * @cssproperty [--arrow-color=var(--syn-color-neutral-0)] - The color of the arrow.\n * @cssproperty [--auto-size-available-width] - A read-only custom property that determines the amount of width the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n * @cssproperty [--auto-size-available-height] - A read-only custom property that determines the amount of height the\n * popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only\n * available when using `auto-size`.\n */\nexport default class SynPopup extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private anchorEl: Element | VirtualElement | null;\n private cleanup: ReturnType<typeof autoUpdate> | undefined;\n private readonly localize = new LocalizeController(this);\n\n /** A reference to the internal popup container. Useful for animating and styling the popup with JavaScript. */\n @query('.popup') popup: HTMLElement;\n @query('.popup__arrow') private arrowEl: HTMLElement;\n\n /**\n * The element the popup will be anchored to. If the anchor lives outside of the popup, you can provide the anchor\n * element `id`, a DOM element reference, or a `VirtualElement`. If the anchor lives inside the popup, use the\n * `anchor` slot instead.\n */\n @property() anchor: Element | string | VirtualElement;\n\n /**\n * Activates the positioning logic and shows the popup. When this attribute is removed, the positioning logic is torn\n * down and the popup will be hidden.\n */\n @property({ type: Boolean, reflect: true }) active = false;\n\n /**\n * The preferred placement of the popup. Note that the actual placement will vary as configured to keep the\n * panel inside of the viewport.\n */\n @property({ reflect: true }) placement:\n | 'top'\n | 'top-start'\n | 'top-end'\n | 'bottom'\n | 'bottom-start'\n | 'bottom-end'\n | 'right'\n | 'right-start'\n | 'right-end'\n | 'left'\n | 'left-start'\n | 'left-end' = 'top';\n\n /** The distance in pixels from which to offset the panel away from its anchor. */\n @property({ type: Number }) distance = 0;\n\n /** The distance in pixels from which to offset the panel along its anchor. */\n @property({ type: Number }) skidding = 0;\n\n /**\n * Attaches an arrow to the popup. The arrow's size and color can be customized using the `--arrow-size` and\n * `--arrow-color` custom properties. For additional customizations, you can also target the arrow using\n * `::part(arrow)` in your stylesheet.\n */\n @property({ type: Boolean }) arrow = false;\n\n /**\n * The placement of the arrow. The default is `anchor`, which will align the arrow as close to the center of the\n * anchor as possible, considering available space and `arrow-padding`. A value of `start`, `end`, or `center` will\n * align the arrow to the start, end, or center of the popover instead.\n */\n @property({ attribute: 'arrow-placement' }) arrowPlacement: 'start' | 'end' | 'center' | 'anchor' = 'anchor';\n\n /**\n * The amount of padding between the arrow and the edges of the popup. If the popup has a border-radius, for example,\n * this will prevent it from overflowing the corners.\n */\n @property({ attribute: 'arrow-padding', type: Number }) arrowPadding = 10;\n\n /**\n * When set, placement of the popup will flip to the opposite site to keep it in view. You can use\n * `flipFallbackPlacements` to further configure how the fallback placement is determined.\n */\n @property({ type: Boolean }) flip = false;\n\n /**\n * If the preferred placement doesn't fit, popup will be tested in these fallback placements until one fits. Must be a\n * string of any number of placements separated by a space, e.g. \"top bottom left\". If no placement fits, the flip\n * fallback strategy will be used instead.\n * */\n @property({\n attribute: 'flip-fallback-placements',\n converter: {\n fromAttribute: (value: string) => {\n return value\n .split(' ')\n .map(p => p.trim())\n .filter(p => p !== '');\n },\n toAttribute: (value: []) => {\n return value.join(' ');\n }\n }\n })\n flipFallbackPlacements = '';\n\n /**\n * When neither the preferred placement nor the fallback placements fit, this value will be used to determine whether\n * the popup should be positioned using the best available fit based on available space or as it was initially\n * preferred.\n */\n @property({ attribute: 'flip-fallback-strategy' }) flipFallbackStrategy: 'best-fit' | 'initial' = 'best-fit';\n\n /**\n * The flip boundary describes clipping element(s) that overflow will be checked relative to when flipping. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) flipBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the flip behavior will occur. */\n @property({ attribute: 'flip-padding', type: Number }) flipPadding = 0;\n\n /** Moves the popup along the axis to keep it in view when clipped. */\n @property({ type: Boolean }) shift = false;\n\n /**\n * The shift boundary describes clipping element(s) that overflow will be checked relative to when shifting. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) shiftBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the shift behavior will occur. */\n @property({ attribute: 'shift-padding', type: Number }) shiftPadding = 0;\n\n /** When set, this will cause the popup to automatically resize itself to prevent it from overflowing. */\n @property({ attribute: 'auto-size' }) autoSize: 'horizontal' | 'vertical' | 'both';\n\n /** Syncs the popup's width or height to that of the anchor element. */\n @property() sync: 'width' | 'height' | 'both';\n\n /**\n * The auto-size boundary describes clipping element(s) that overflow will be checked relative to when resizing. By\n * default, the boundary includes overflow ancestors that will cause the element to be clipped. If needed, you can\n * change the boundary by passing a reference to one or more elements to this property.\n */\n @property({ type: Object }) autoSizeBoundary: Element | Element[];\n\n /** The amount of padding, in pixels, to exceed before the auto-size behavior will occur. */\n @property({ attribute: 'auto-size-padding', type: Number }) autoSizePadding = 0;\n\n /**\n * When a gap exists between the anchor and the popup element, this option will add a \"hover bridge\" that fills the\n * gap using an invisible element. This makes listening for events such as `mouseenter` and `mouseleave` more sane\n * because the pointer never technically leaves the element. The hover bridge will only be drawn when the popover is\n * active.\n */\n @property({ attribute: 'hover-bridge', type: Boolean }) hoverBridge = false;\n\n async connectedCallback() {\n super.connectedCallback();\n\n // Start the positioner after the first update\n await this.updateComplete;\n this.start();\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.stop();\n }\n\n async updated(changedProps: Map<string, unknown>) {\n super.updated(changedProps);\n\n // Start or stop the positioner when active changes\n if (changedProps.has('active')) {\n if (this.active) {\n this.start();\n } else {\n this.stop();\n }\n }\n\n // Update the anchor when anchor changes\n if (changedProps.has('anchor')) {\n this.handleAnchorChange();\n }\n\n // All other properties will trigger a reposition when active\n if (this.active) {\n await this.updateComplete;\n this.reposition();\n }\n }\n\n private async handleAnchorChange() {\n await this.stop();\n\n if (this.anchor && typeof this.anchor === 'string') {\n // Locate the anchor by id\n const root = this.getRootNode() as Document | ShadowRoot;\n this.anchorEl = root.getElementById(this.anchor);\n } else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {\n // Use the anchor's reference\n this.anchorEl = this.anchor;\n } else {\n // Look for a slotted anchor\n this.anchorEl = this.querySelector<HTMLElement>('[slot=\"anchor\"]');\n }\n\n // If the anchor is a <slot>, we'll use the first assigned element as the target since slots use `display: contents`\n // and positioning can't be calculated on them\n if (this.anchorEl instanceof HTMLSlotElement) {\n this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0] as HTMLElement;\n }\n\n // If the anchor is valid, start it up\n if (this.anchorEl && this.active) {\n this.start();\n }\n }\n\n private start() {\n // We can't start the positioner without an anchor or when the popup is inactive\n if (!this.anchorEl || !this.active) {\n return;\n }\n\n if (SUPPORTS_POPOVER) {\n this.popup.showPopover?.();\n }\n\n this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {\n this.reposition();\n });\n }\n\n private async stop(): Promise<void> {\n return new Promise(resolve => {\n if (SUPPORTS_POPOVER) {\n // #1041 In some testing frameworks the disconnectedCallback is called too early so this.popup is not yet available\n this.popup?.hidePopover?.();\n }\n if (this.cleanup) {\n this.cleanup();\n this.cleanup = undefined;\n this.removeAttribute('data-current-placement');\n this.style.removeProperty('--auto-size-available-width');\n this.style.removeProperty('--auto-size-available-height');\n requestAnimationFrame(() => resolve());\n } else {\n resolve();\n }\n });\n }\n\n /** Forces the popup to recalculate and reposition itself. */\n reposition() {\n // Nothing to do if the popup is inactive or the anchor doesn't exist\n if (!this.active || !this.anchorEl) {\n return;\n }\n\n //\n // NOTE: Floating UI middlewares are order dependent: https://floating-ui.com/docs/middleware\n //\n const middleware = [\n // The offset middleware goes first\n offset({ mainAxis: this.distance, crossAxis: this.skidding })\n ];\n\n // First we sync width/height\n if (this.sync) {\n middleware.push(\n size({\n apply: ({ rects }) => {\n const syncWidth = this.sync === 'width' || this.sync === 'both';\n const syncHeight = this.sync === 'height' || this.sync === 'both';\n this.popup.style.width = syncWidth ? `${rects.reference.width}px` : '';\n this.popup.style.height = syncHeight ? `${rects.reference.height}px` : '';\n }\n })\n );\n } else {\n // Cleanup styles if we're not matching width/height\n this.popup.style.width = '';\n this.popup.style.height = '';\n }\n\n // Then we flip\n if (this.flip) {\n middleware.push(\n flip({\n boundary: this.flipBoundary,\n // @ts-expect-error - We're converting a string attribute to an array here\n fallbackPlacements: this.flipFallbackPlacements,\n fallbackStrategy: this.flipFallbackStrategy === 'best-fit' ? 'bestFit' : 'initialPlacement',\n padding: this.flipPadding\n })\n );\n }\n\n // Then we shift\n if (this.shift) {\n middleware.push(\n shift({\n boundary: this.shiftBoundary,\n padding: this.shiftPadding\n })\n );\n }\n\n // Now we adjust the size as needed\n if (this.autoSize) {\n middleware.push(\n size({\n boundary: this.autoSizeBoundary,\n padding: this.autoSizePadding,\n apply: ({ availableWidth, availableHeight }) => {\n if (this.autoSize === 'vertical' || this.autoSize === 'both') {\n this.style.setProperty('--auto-size-available-height', `${availableHeight}px`);\n } else {\n this.style.removeProperty('--auto-size-available-height');\n }\n\n if (this.autoSize === 'horizontal' || this.autoSize === 'both') {\n this.style.setProperty('--auto-size-available-width', `${availableWidth}px`);\n } else {\n this.style.removeProperty('--auto-size-available-width');\n }\n }\n })\n );\n } else {\n // Cleanup styles if we're no longer using auto-size\n this.style.removeProperty('--auto-size-available-width');\n this.style.removeProperty('--auto-size-available-height');\n }\n\n // Finally, we add an arrow\n if (this.arrow) {\n middleware.push(\n arrow({\n element: this.arrowEl,\n padding: this.arrowPadding\n })\n );\n }\n\n //\n // Use custom positioning logic if the strategy is absolute. Otherwise, fall back to the default logic.\n //\n // More info: https://github.com/shoelace-style/shoelace/issues/1135\n //\n const getOffsetParent =\n SUPPORTS_POPOVER\n ? (element: Element) => platform.getOffsetParent(element, offsetParent)\n : platform.getOffsetParent;\n\n computePosition(this.anchorEl, this.popup, {\n placement: this.placement,\n middleware,\n strategy: SUPPORTS_POPOVER ? 'absolute' : 'fixed',\n platform: {\n ...platform,\n getOffsetParent\n }\n }).then(({ x, y, middlewareData, placement }) => {\n //\n // Even though we have our own localization utility, it uses different heuristics to determine RTL. Because of\n // that, we'll use the same approach that Floating UI uses.\n //\n // Source: https://github.com/floating-ui/floating-ui/blob/cb3b6ab07f95275730d3e6e46c702f8d4908b55c/packages/dom/src/utils/getDocumentRect.ts#L31\n //\n const isRtl = this.localize.dir() === 'rtl';\n const staticSide = { top: 'bottom', right: 'left', bottom: 'top', left: 'right' }[placement.split('-')[0]]!;\n\n this.setAttribute('data-current-placement', placement);\n\n Object.assign(this.popup.style, {\n left: `${x}px`,\n top: `${y}px`\n });\n\n if (this.arrow) {\n const arrowX = middlewareData.arrow!.x;\n const arrowY = middlewareData.arrow!.y;\n let top = '';\n let right = '';\n let bottom = '';\n let left = '';\n\n if (this.arrowPlacement === 'start') {\n // Start\n const value = typeof arrowX === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n top = typeof arrowY === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n right = isRtl ? value : '';\n left = isRtl ? '' : value;\n } else if (this.arrowPlacement === 'end') {\n // End\n const value = typeof arrowX === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n right = isRtl ? '' : value;\n left = isRtl ? value : '';\n bottom = typeof arrowY === 'number' ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : '';\n } else if (this.arrowPlacement === 'center') {\n // Center\n left = typeof arrowX === 'number' ? `calc(50% - var(--arrow-size-diagonal))` : '';\n top = typeof arrowY === 'number' ? `calc(50% - var(--arrow-size-diagonal))` : '';\n } else {\n // Anchor (default)\n left = typeof arrowX === 'number' ? `${arrowX}px` : '';\n top = typeof arrowY === 'number' ? `${arrowY}px` : '';\n }\n\n Object.assign(this.arrowEl.style, {\n top,\n right,\n bottom,\n left,\n [staticSide]: 'calc(var(--arrow-size-diagonal) * -1)'\n });\n }\n });\n\n // Wait until the new position is drawn before updating the hover bridge, otherwise it can get out of sync\n requestAnimationFrame(() => this.updateHoverBridge());\n\n this.emit('syn-reposition');\n }\n\n private updateHoverBridge = () => {\n if (this.hoverBridge && this.anchorEl) {\n const anchorRect = this.anchorEl.getBoundingClientRect();\n const popupRect = this.popup.getBoundingClientRect();\n const isVertical = this.placement.includes('top') || this.placement.includes('bottom');\n let topLeftX = 0;\n let topLeftY = 0;\n let topRightX = 0;\n let topRightY = 0;\n let bottomLeftX = 0;\n let bottomLeftY = 0;\n let bottomRightX = 0;\n let bottomRightY = 0;\n\n if (isVertical) {\n if (anchorRect.top < popupRect.top) {\n // Anchor is above\n topLeftX = anchorRect.left;\n topLeftY = anchorRect.bottom;\n topRightX = anchorRect.right;\n topRightY = anchorRect.bottom;\n\n bottomLeftX = popupRect.left;\n bottomLeftY = popupRect.top;\n bottomRightX = popupRect.right;\n bottomRightY = popupRect.top;\n } else {\n // Anchor is below\n topLeftX = popupRect.left;\n topLeftY = popupRect.bottom;\n topRightX = popupRect.right;\n topRightY = popupRect.bottom;\n\n bottomLeftX = anchorRect.left;\n bottomLeftY = anchorRect.top;\n bottomRightX = anchorRect.right;\n bottomRightY = anchorRect.top;\n }\n } else {\n if (anchorRect.left < popupRect.left) {\n // Anchor is on the left\n topLeftX = anchorRect.right;\n topLeftY = anchorRect.top;\n topRightX = popupRect.left;\n topRightY = popupRect.top;\n\n bottomLeftX = anchorRect.right;\n bottomLeftY = anchorRect.bottom;\n bottomRightX = popupRect.left;\n bottomRightY = popupRect.bottom;\n } else {\n // Anchor is on the right\n topLeftX = popupRect.right;\n topLeftY = popupRect.top;\n topRightX = anchorRect.left;\n topRightY = anchorRect.top;\n\n bottomLeftX = popupRect.right;\n bottomLeftY = popupRect.bottom;\n bottomRightX = anchorRect.left;\n bottomRightY = anchorRect.bottom;\n }\n }\n\n this.style.setProperty('--hover-bridge-top-left-x', `${topLeftX}px`);\n this.style.setProperty('--hover-bridge-top-left-y', `${topLeftY}px`);\n this.style.setProperty('--hover-bridge-top-right-x', `${topRightX}px`);\n this.style.setProperty('--hover-bridge-top-right-y', `${topRightY}px`);\n this.style.setProperty('--hover-bridge-bottom-left-x', `${bottomLeftX}px`);\n this.style.setProperty('--hover-bridge-bottom-left-y', `${bottomLeftY}px`);\n this.style.setProperty('--hover-bridge-bottom-right-x', `${bottomRightX}px`);\n this.style.setProperty('--hover-bridge-bottom-right-y', `${bottomRightY}px`);\n }\n };\n\n render() {\n return html`\n <slot name=\"anchor\" @slotchange=${this.handleAnchorChange}></slot>\n\n <span\n part=\"hover-bridge\"\n class=${classMap({\n 'popup-hover-bridge': true,\n 'popup-hover-bridge--visible': this.hoverBridge && this.active\n })}\n ></span>\n\n <div\n part=\"popup\"\n popover=${ifDefined(SUPPORTS_POPOVER ? 'manual' : undefined)}\n class=${classMap({\n popup: true,\n 'popup--active': this.active,\n 'popup--fixed': !SUPPORTS_POPOVER,\n 'popup--has-arrow': this.arrow\n })}\n >\n <slot></slot>\n ${this.arrow ? html`<div part=\"arrow\" class=\"popup__arrow\" role=\"presentation\"></div>` : ''}\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,OAAO,YAAY,iBAAiB,MAAM,QAAQ,UAAU,OAAO,YAAY;AACxF,SAAS,gBAAgB;AACzB,SAAS,iBAAiB;AAC1B,SAAS,YAAY;AAErB,SAAS,oBAAoB;AAC7B,SAAS,UAAU,aAAa;AAdhC;AAqBA,IAAM,oBAAmB,8CAAY,gBAAZ,mBAAyB,UAAU,eAAe;AAO3E,SAAS,iBAAiB,GAAiC;AACzD,SACE,MAAM,QACN,OAAO,MAAM,YACb,2BAA2B,MAC1B,oBAAoB,IAAI,EAAE,0BAA0B,UAAU;AAEnE;AA+BA,IAAqB,WAArB,cAAsC,eAAe;AAAA,EAArD;AAAA;AAKE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAiBX,kBAAS;AAMxB,qBAYZ;AAGW,oB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AlD,SAAS,EAAE,WAAW,yBAAyB,CAAC;AAAA,GApG9B,SAoGgC;AAOvB;AAAA,EAA3B,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GA3GP,SA2GS;AAG2B;AAAA,EAAtD,SAAS,EAAE,WAAW,gBAAgB,MAAM,OAAO,CAAC;AAAA,GA9GlC,SA8GoC;AAG1B;AAAA,EAA5B,SAAS,EAAE,MAAM,QAAQ,CAAC;AAAA,GAjHR,SAiHU;AAOD;AAAA,EAA3B,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GAxHP,SAwHS;AAG4B;AAAA,EAAvD,SAAS,EAAE,WAAW,iBAAiB,MAAM,OAAO,CAAC;AAAA,GA3HnC,SA2HqC;AAGlB;AAAA,EAArC,SAAS,EAAE,WAAW,YAAY,CAAC;AAAA,GA9HjB,SA8HmB;AAG1B;AAAA,EAAX,SAAS;AAAA,GAjIS,SAiIP;AAOgB;AAAA,EAA3B,SAAS,EAAE,MAAM,OAAO,CAAC;AAAA,GAxIP,SAwIS;AAGgC;AAAA,EAA3D,SAAS,EAAE,WAAW,qBAAqB,MAAM,OAAO,CAAC;AAAA,GA3IvC,SA2IyC;AAQJ;AAAA,EAAvD,SAAS,EAAE,WAAW,gBAAgB,MAAM,QAAQ,CAAC;AAAA,GAnJnC,SAmJqC;",
|
|
6
|
+
"names": ["_a"]
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynButtonGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.MM3NO6GS.js";
|
|
4
4
|
|
|
5
5
|
// src/components/button-group/button-group.ts
|
|
6
6
|
var button_group_default = SynButtonGroup;
|
|
@@ -9,4 +9,4 @@ SynButtonGroup.define("syn-button-group");
|
|
|
9
9
|
export {
|
|
10
10
|
button_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.5T3K7UXO.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/icon/sick2018-system-icons.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\n/**\n * @deprecated Consider moving to synergy 2025 icons directly. See https://synergy-design-system.github.io/?path=/docs/migration--docs for further details.\n */\n\nexport const icons = {\n \"add\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z\\\"/></svg>\",\n \"check\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m8.795 15.875-4.17-4.17-1.42 1.41 5.59 5.59 12-12-1.41-1.41z\\\"/></svg>\",\n \"chevron-down\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M16.59 8.295 12 12.875l-4.59-4.58L6 9.705l6 6 6-6z\\\"/></svg>\",\n \"chevron-right\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m9.705 6-1.41 1.41 4.58 4.59-4.58 4.59L9.705 18l6-6z\\\"/></svg>\",\n \"details-close\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m7.41 15.705 4.59-4.58 4.59 4.58 1.41-1.41-6-6-6 6z\\\"/></svg>\",\n \"details-open\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M16.59 8.295 12 12.875l-4.59-4.58L6 9.705l6 6 6-6z\\\"/></svg>\",\n \"eye\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3\\\"/></svg>\",\n \"eye-slash\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12.005 6.5c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16c.57-.23 1.18-.36 1.83-.36m-10-2.73 2.74 2.74a11.8 11.8 0 0 0-3.74 4.99c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42 2.93 2.92 1.27-1.27L3.275 2.5zm5.53 5.53 1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z\\\"/></svg>\",\n \"indeterminate\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M19 13H5v-2h14z\\\"/></svg>\",\n \"logo-color\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"295\\\" height=\\\"94\\\" viewBox=\\\"0 0 295 94\\\" fill='currentColor'><g clip-path=\\\"url(#a)\\\"><path d=\\\"M166.804 0c17.635 0 32.971 9.893 40.87 24.488l-19.073 10.294c-4.267-7.863-12.513-13.106-21.797-13.106-13.541 0-24.871 11.138-24.872 25.315 0 14.178 11.331 25.317 24.872 25.317 9.475 0 17.923-5.453 22.103-13.595l19.054 10.346c-7.829 14.83-23.348 24.924-41.157 24.924-25.707 0-46.547-21.04-46.547-46.992S141.097 0 166.804 0M57.284 1.672c12.541 0 21.494 9.388 21.494 21.293H26.875c-6.976.993-7.42 11.696 0 12.906h27.64c15.162.41 27.258 12.48 27.258 27.763 0 14.081-11.947 28.233-27.187 28.233H26.082c-12.131 0-25.49-6.549-25.49-21.754.156 0 46.595 0 54.003.008 7.898-1.576 7.018-11.538 0-12.914h-27.72c-14.752 0-26.43-12.593-26.43-27.598 0-14.43 10.79-27.937 26.43-27.937zm53.794 90.195h-21.3V1.663h21.3zM237.535 1.663V37.84h8.291l22.398-36.176h26.492L264.192 47.34l30.079 44.527h-26.5L245.103 56.92h-7.568v34.948H215.99V1.663z\\\"/></g><defs><clipPath id=\\\"a\\\"><path d=\\\"M0 0h295v94H0z\\\"/></clipPath></defs></svg>\",\n \"menu\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z\\\"/></svg>\",\n \"more\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2\\\"/></svg>\",\n \"more-vert\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2\\\"/></svg>\",\n \"placeholder\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2zm6 9-4 5h12l-3-4-2.03 2.71zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5M20 2h-7v2h7v7h2V4c0-1.1-.9-2-2-2m0 18h-7v2h7c1.1 0 2-.9 2-2v-7h-2zM4 13H2v7c0 1.1.9 2 2 2h7v-2H4z\\\"/></svg>\",\n \"radio\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"12\\\" height=\\\"12\\\" viewBox=\\\"0 0 12 12\\\" fill='currentColor'><path d=\\\"M6 1C3.235 1 1 3.235 1 6s2.235 5 5 5 5-2.235 5-5-2.235-5-5-5\\\"/></svg>\",\n \"status-error\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27zM12 17.3c-.72 0-1.3-.58-1.3-1.3s.58-1.3 1.3-1.3 1.3.58 1.3 1.3-.58 1.3-1.3 1.3m1-4.3h-2V7h2z\\\"/></svg>\",\n \"status-informative\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z\\\"/></svg>\",\n \"status-neutral\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58a.49.49 0 0 0 .12-.61l-1.92-3.32a.49.49 0 0 0-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54a.484.484 0 0 0-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58a.49.49 0 0 0-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6A3.61 3.61 0 0 1 8.4 12c0-1.98 1.62-3.6 3.6-3.6s3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6\\\"/></svg>\",\n \"status-success\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z\\\"/></svg>\",\n \"status-warning\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M1 21.5h22l-11-19zm12-3h-2v-2h2zm0-4h-2v-4h2z\\\"/></svg>\",\n \"sticky_sidebar\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M5 21q-.824 0-1.412-.587A1.93 1.93 0 0 1 3 19V5q0-.824.587-1.412A1.93 1.93 0 0 1 5 3h14q.824 0 1.413.587Q21 4.176 21 5v14q0 .824-.587 1.413A1.93 1.93 0 0 1 19 21zm5-2h9V5h-9z\\\"/></svg>\",\n \"tabs-left\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"m17.835 3.87-1.77-1.77-9.9 9.9 9.9 9.9 1.77-1.77L9.705 12z\\\"/></svg>\",\n \"tabs-right\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M6.115 20.23 7.885 22l10-10-10-10-1.77 1.77 8.23 8.23z\\\"/></svg>\",\n \"upload-file\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z\\\"/></svg>\",\n \"x-circle-fill\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z\\\"/></svg>\",\n \"x-lg\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" fill='currentColor'><path d=\\\"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\\\"/></svg>\"\n};\n"],
|
|
5
|
+
"mappings": ";AAKO,IAAM,QAAQ;AAAA,EACnB,OAAO;AAAA,EACP,SAAS;AAAA,EACT,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,OAAO;AAAA,EACP,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,eAAe;AAAA,EACf,SAAS;AAAA,EACT,gBAAgB;AAAA,EAChB,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,cAAc;AAAA,EACd,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,QAAQ;AACV;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSpinner
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.D5GEYHUG.js";
|
|
4
4
|
|
|
5
5
|
// src/components/spinner/spinner.ts
|
|
6
6
|
var spinner_default = SynSpinner;
|
|
@@ -9,4 +9,4 @@ SynSpinner.define("syn-spinner");
|
|
|
9
9
|
export {
|
|
10
10
|
spinner_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.67NOFASU.js.map
|