@synergy-design-system/components 3.0.0 → 3.2.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/README.md +0 -61
- package/dist/chunks/{chunk.3EJU447K.js → chunk.26QTFTWA.js} +5 -5
- package/dist/chunks/chunk.26QTFTWA.js.map +7 -0
- package/dist/chunks/{chunk.VA26EAEP.js → chunk.2BJPTG2Q.js} +1 -1
- package/dist/chunks/chunk.2BJPTG2Q.js.map +7 -0
- package/dist/chunks/{chunk.5732DMBC.js → chunk.2DT3C6WE.js} +1 -1
- package/dist/chunks/chunk.2DT3C6WE.js.map +7 -0
- package/dist/chunks/{chunk.4ZEHQOJ3.js → chunk.2EZFBKDU.js} +2 -2
- package/dist/chunks/chunk.2EZFBKDU.js.map +7 -0
- package/dist/chunks/chunk.2IL4PA6Q.js +130 -0
- package/dist/chunks/chunk.2IL4PA6Q.js.map +7 -0
- package/dist/chunks/{chunk.FVYPYWJH.js → chunk.2J5ARXAO.js} +5 -5
- package/dist/chunks/{chunk.FSZIE7IO.js → chunk.34A453XJ.js} +1 -1
- package/dist/chunks/chunk.34A453XJ.js.map +7 -0
- package/dist/chunks/chunk.34RGILSE.js +10 -0
- package/dist/chunks/chunk.34RGILSE.js.map +7 -0
- package/dist/chunks/{chunk.I5R3PXG7.js → chunk.3GSHQV5Q.js} +2 -2
- package/dist/chunks/{chunk.3NXKLKWH.js → chunk.3JDUKQRN.js} +1 -1
- package/dist/chunks/chunk.3JDUKQRN.js.map +7 -0
- package/dist/chunks/{chunk.SLKJ2OJN.js → chunk.4K5KFEYL.js} +7 -7
- package/dist/chunks/chunk.4K5KFEYL.js.map +7 -0
- package/dist/chunks/{chunk.ZBW4ZSZ7.js → chunk.4XZTYPIY.js} +1 -1
- package/dist/chunks/chunk.4XZTYPIY.js.map +7 -0
- package/dist/chunks/{chunk.SEYI7UTA.js → chunk.4YHI2ATV.js} +15 -1
- package/dist/chunks/{chunk.SEYI7UTA.js.map → chunk.4YHI2ATV.js.map} +2 -2
- package/dist/chunks/{chunk.67NOFASU.js → chunk.4ZMYXIBW.js} +2 -2
- package/dist/chunks/chunk.4ZMYXIBW.js.map +7 -0
- package/dist/chunks/{chunk.U6VNE4JX.js → chunk.52USEUTP.js} +2 -2
- package/dist/chunks/chunk.52USEUTP.js.map +7 -0
- package/dist/chunks/{chunk.IVM3BGRH.js → chunk.5FVNGR5M.js} +1 -1
- package/dist/chunks/chunk.5FVNGR5M.js.map +7 -0
- package/dist/chunks/{chunk.OIB4NIRJ.js → chunk.5ICJ7VWS.js} +2 -2
- package/dist/chunks/chunk.5ICJ7VWS.js.map +7 -0
- package/dist/chunks/{chunk.OI3HOOCT.js → chunk.5KL2GWNQ.js} +1 -1
- package/dist/chunks/chunk.5KL2GWNQ.js.map +7 -0
- package/dist/chunks/{chunk.VV3WAINT.js → chunk.5QMMVRAY.js} +2 -2
- package/dist/chunks/chunk.5QMMVRAY.js.map +7 -0
- package/dist/chunks/{chunk.RBOU3KVS.js → chunk.5QYKBLQ4.js} +7 -7
- package/dist/chunks/chunk.5QYKBLQ4.js.map +7 -0
- package/dist/chunks/{chunk.4ADVK4N5.js → chunk.5RIU5X7Z.js} +2 -2
- package/dist/chunks/chunk.5RIU5X7Z.js.map +7 -0
- package/dist/chunks/{chunk.FD2CG2HT.js → chunk.6AT5JL7A.js} +1 -29
- package/dist/chunks/chunk.6AT5JL7A.js.map +7 -0
- package/dist/chunks/{chunk.HSQZ3ZWE.js → chunk.6EHOI2BO.js} +14 -14
- package/dist/chunks/{chunk.ZNJG4EY4.js → chunk.6F7L74P2.js} +2 -2
- package/dist/chunks/chunk.6F7L74P2.js.map +7 -0
- package/dist/chunks/{chunk.UAUY6RVN.js → chunk.6GU7PVLX.js} +2 -2
- package/dist/chunks/chunk.6GU7PVLX.js.map +7 -0
- package/dist/chunks/{chunk.5F5Y2RD6.js → chunk.6JDKH43H.js} +537 -131
- package/dist/chunks/chunk.6JDKH43H.js.map +7 -0
- package/dist/chunks/{chunk.HVXG4JG6.js → chunk.6KIX3PER.js} +1 -1
- package/dist/chunks/chunk.6KIX3PER.js.map +7 -0
- package/dist/chunks/{chunk.M72HMQL6.js → chunk.6ND5EQHX.js} +2 -2
- package/dist/chunks/chunk.6ND5EQHX.js.map +7 -0
- package/dist/chunks/{chunk.BNHQTT5B.js → chunk.6PRXWBZE.js} +2 -2
- package/dist/chunks/{chunk.XDOZEDCW.js → chunk.6TVTDKLK.js} +2 -2
- package/dist/chunks/chunk.6TVTDKLK.js.map +7 -0
- package/dist/chunks/{chunk.EMTWFPA4.js → chunk.6UWGX2XK.js} +2 -2
- package/dist/chunks/chunk.6UWGX2XK.js.map +7 -0
- package/dist/chunks/{chunk.XKT2M3XA.js → chunk.7G6N24FO.js} +2 -2
- package/dist/chunks/{chunk.OHDB73E6.js → chunk.7UHGS3KI.js} +2 -2
- package/dist/chunks/chunk.7UHGS3KI.js.map +7 -0
- package/dist/chunks/{chunk.JLXCLATV.js → chunk.7V7XEBE2.js} +1 -1
- package/dist/chunks/chunk.7V7XEBE2.js.map +7 -0
- package/dist/chunks/{chunk.N7BCC4V5.js → chunk.B45BLWF7.js} +13 -13
- package/dist/chunks/chunk.B45BLWF7.js.map +7 -0
- package/dist/chunks/{chunk.KW5TWA5Y.js → chunk.BC532CB6.js} +1 -1
- package/dist/chunks/chunk.BC532CB6.js.map +7 -0
- package/dist/chunks/{chunk.X7XPEYAM.js → chunk.BHJVE26D.js} +2 -3
- package/dist/chunks/chunk.BHJVE26D.js.map +7 -0
- package/dist/chunks/{chunk.6VA5V372.js → chunk.BIAB7B7S.js} +2 -2
- package/dist/chunks/chunk.BIAB7B7S.js.map +7 -0
- package/dist/chunks/{chunk.AF4RYZHB.js → chunk.BJVWQ3LR.js} +2 -2
- package/dist/chunks/{chunk.SUH6DGJ5.js → chunk.BQTSV4AJ.js} +6 -6
- package/dist/chunks/chunk.BQTSV4AJ.js.map +7 -0
- package/dist/chunks/{chunk.BXY667C7.js → chunk.CCY6IYFD.js} +1 -1
- package/dist/chunks/chunk.CCY6IYFD.js.map +7 -0
- package/dist/chunks/{chunk.R4FCX5PU.js → chunk.CEP5JF3B.js} +2 -2
- package/dist/chunks/{chunk.IOFVUQIY.js → chunk.CGHRPSUK.js} +2 -2
- package/dist/chunks/chunk.CGHRPSUK.js.map +7 -0
- package/dist/chunks/{chunk.WVVQK5TE.js → chunk.CHFWLQN5.js} +1 -1
- package/dist/chunks/chunk.CHFWLQN5.js.map +7 -0
- package/dist/chunks/{chunk.VBPHUZ5N.js → chunk.CJMW4UVM.js} +15 -15
- package/dist/chunks/chunk.CJMW4UVM.js.map +7 -0
- package/dist/chunks/{chunk.Y5TMYX2L.js → chunk.CMOZ4SCN.js} +1 -1
- package/dist/chunks/chunk.CMOZ4SCN.js.map +7 -0
- package/dist/chunks/{chunk.GRVNUIP2.js → chunk.CX7IEDUW.js} +1 -1
- package/dist/chunks/chunk.CX7IEDUW.js.map +7 -0
- package/dist/chunks/{chunk.XL2GZSHM.js → chunk.D43HKTYD.js} +5 -5
- package/dist/chunks/chunk.D43HKTYD.js.map +7 -0
- package/dist/chunks/{chunk.HW62YVCL.js → chunk.D47LGG4N.js} +5 -5
- package/dist/chunks/chunk.D47LGG4N.js.map +7 -0
- package/dist/chunks/{chunk.DZ7YIR5N.js → chunk.DAIQ5WRI.js} +1 -1
- package/dist/chunks/chunk.DAIQ5WRI.js.map +7 -0
- package/dist/chunks/{chunk.AZ3N5IOO.js → chunk.DEJAPNIZ.js} +1 -1
- package/dist/chunks/chunk.DEJAPNIZ.js.map +7 -0
- package/dist/chunks/{chunk.MJ4Q6YEU.js → chunk.DQVEBDUM.js} +2 -2
- package/dist/chunks/chunk.DQVEBDUM.js.map +7 -0
- package/dist/chunks/{chunk.JG7YXWHG.js → chunk.ECNXEYTN.js} +2 -2
- package/dist/chunks/chunk.ECNXEYTN.js.map +7 -0
- package/dist/chunks/{chunk.QT47J2O6.js → chunk.EZ722KZU.js} +2 -2
- package/dist/chunks/chunk.EZ722KZU.js.map +7 -0
- package/dist/chunks/{chunk.F4TDCDGD.js → chunk.FBYEVEZ6.js} +5 -5
- package/dist/chunks/chunk.FBYEVEZ6.js.map +7 -0
- package/dist/chunks/{chunk.4URTG3MF.js → chunk.FKIDTC5A.js} +7 -7
- package/dist/chunks/chunk.FKIDTC5A.js.map +7 -0
- package/dist/chunks/{chunk.42F33KBM.js → chunk.FUYMXIMF.js} +4 -4
- package/dist/chunks/{chunk.BWTMFHNM.js → chunk.FVIRHFY6.js} +5 -3
- package/dist/chunks/{chunk.BWTMFHNM.js.map → chunk.FVIRHFY6.js.map} +2 -2
- package/dist/chunks/{chunk.NLYVOJGK.js → chunk.FXJLG622.js} +1 -1
- package/dist/chunks/chunk.FXJLG622.js.map +7 -0
- package/dist/chunks/{chunk.D5GEYHUG.js → chunk.GEMZSFPA.js} +7 -7
- package/dist/chunks/chunk.GEMZSFPA.js.map +7 -0
- package/dist/chunks/{chunk.5QGW4QZT.js → chunk.GFD645IU.js} +5 -5
- package/dist/chunks/chunk.GFD645IU.js.map +7 -0
- package/dist/chunks/{chunk.P3JEES5B.js → chunk.GOAMFSM4.js} +13 -13
- package/dist/chunks/{chunk.XTWO6ZZW.js → chunk.GPP4D4HH.js} +1 -1
- package/dist/chunks/chunk.GPP4D4HH.js.map +7 -0
- package/dist/chunks/{chunk.R5WFWL7W.js → chunk.H5WUQAD7.js} +2 -2
- package/dist/chunks/chunk.H5WUQAD7.js.map +7 -0
- package/dist/chunks/{chunk.OBERL73O.js → chunk.H647D2ZB.js} +5 -5
- package/dist/chunks/chunk.H647D2ZB.js.map +7 -0
- package/dist/chunks/{chunk.UT3DWYFM.js → chunk.H6EHQYZA.js} +2 -2
- package/dist/chunks/chunk.H6EHQYZA.js.map +7 -0
- package/dist/chunks/{chunk.K5VB7VKA.js → chunk.I5ABAZLK.js} +8 -8
- package/dist/chunks/chunk.I5ABAZLK.js.map +7 -0
- package/dist/chunks/{chunk.UBGDTOZZ.js → chunk.IJIRSZXP.js} +2 -2
- package/dist/chunks/chunk.IJIRSZXP.js.map +7 -0
- package/dist/chunks/{chunk.36BZPB3H.js → chunk.IQ45XDXM.js} +2 -2
- package/dist/chunks/chunk.IQ45XDXM.js.map +7 -0
- package/dist/chunks/{chunk.U5757NSE.js → chunk.J3GDDM6Q.js} +1 -1
- package/dist/chunks/chunk.J3GDDM6Q.js.map +7 -0
- package/dist/chunks/{chunk.43YNZAWL.js → chunk.JDYQ7EFG.js} +1 -1
- package/dist/chunks/chunk.JDYQ7EFG.js.map +7 -0
- package/dist/chunks/{chunk.3FT4KLCP.js → chunk.JFAN6AQH.js} +13 -13
- package/dist/chunks/chunk.JFAN6AQH.js.map +7 -0
- package/dist/chunks/{chunk.RAOPZXJL.js → chunk.JILCM7FD.js} +1 -1
- package/dist/chunks/chunk.JILCM7FD.js.map +7 -0
- package/dist/chunks/{chunk.6B7GMPMK.js → chunk.K2HZDQMS.js} +12 -12
- package/dist/chunks/chunk.K2HZDQMS.js.map +7 -0
- package/dist/chunks/{chunk.GJIDYO3Z.js → chunk.KHRQ5VI4.js} +6 -6
- package/dist/chunks/chunk.KHRQ5VI4.js.map +7 -0
- package/dist/chunks/{chunk.LJGUOWPM.js → chunk.KIVJSZWU.js} +10 -10
- package/dist/chunks/chunk.KIVJSZWU.js.map +7 -0
- package/dist/chunks/{chunk.IAS6MLT6.js → chunk.KLL2SVR7.js} +2 -1
- package/dist/chunks/chunk.KLL2SVR7.js.map +7 -0
- package/dist/chunks/{chunk.JYLOZXGC.js → chunk.KOKPJSO2.js} +14 -14
- package/dist/chunks/{chunk.FQWBH6B3.js → chunk.KPHDBL43.js} +1 -1
- package/dist/chunks/chunk.KPHDBL43.js.map +7 -0
- package/dist/chunks/{chunk.UPDHOWDW.js → chunk.KRR2BTZW.js} +2 -2
- package/dist/chunks/{chunk.PGGH5VGL.js → chunk.KT7OGMZP.js} +4 -4
- package/dist/chunks/chunk.KT7OGMZP.js.map +7 -0
- package/dist/chunks/{chunk.2GP2EYG4.js → chunk.L3PVKJP6.js} +6 -6
- package/dist/chunks/chunk.L3PVKJP6.js.map +7 -0
- package/dist/chunks/{chunk.YBITSWNW.js → chunk.LFRJ623K.js} +2 -2
- package/dist/chunks/chunk.LFRJ623K.js.map +7 -0
- package/dist/chunks/{chunk.C2ENQBPM.js → chunk.LQDIH4Z5.js} +1 -1
- package/dist/chunks/chunk.LQDIH4Z5.js.map +7 -0
- package/dist/chunks/{chunk.DHT3ZN7B.js → chunk.LZTCTUDK.js} +11 -11
- package/dist/chunks/chunk.LZTCTUDK.js.map +7 -0
- package/dist/chunks/{chunk.6KTVNSPY.js → chunk.MFLXKYBR.js} +11 -11
- package/dist/chunks/chunk.MFLXKYBR.js.map +7 -0
- package/dist/chunks/{chunk.X6HKBVIE.js → chunk.MP5AW7KH.js} +2 -2
- package/dist/chunks/{chunk.JX6C3ADT.js → chunk.MUYFKDTO.js} +13 -7
- package/dist/chunks/chunk.MUYFKDTO.js.map +7 -0
- package/dist/chunks/{chunk.FSWTBNSI.js → chunk.N7HN275B.js} +1 -1
- package/dist/chunks/chunk.N7HN275B.js.map +7 -0
- package/dist/chunks/{chunk.34V3QOIQ.js → chunk.NMWM3BP7.js} +2 -2
- package/dist/chunks/chunk.NMWM3BP7.js.map +7 -0
- package/dist/chunks/{chunk.4I2C7KCE.js → chunk.O6TRAUHQ.js} +2 -2
- package/dist/chunks/{chunk.O6ZH6AOI.js → chunk.OFKOVRHG.js} +1 -1
- package/dist/chunks/chunk.OFKOVRHG.js.map +7 -0
- package/dist/chunks/{chunk.LVYJDZMX.js → chunk.OUZ7W2PK.js} +2 -2
- package/dist/chunks/chunk.OUZ7W2PK.js.map +7 -0
- package/dist/chunks/{chunk.6EK4W7PI.js → chunk.OYDK7VLV.js} +22 -22
- package/dist/chunks/chunk.OYDK7VLV.js.map +7 -0
- package/dist/chunks/{chunk.JKSFECFA.js → chunk.P4JFVVSO.js} +2 -2
- package/dist/chunks/chunk.P4JFVVSO.js.map +7 -0
- package/dist/chunks/{chunk.RMIDAEF5.js → chunk.PB6IANE7.js} +1 -1
- package/dist/chunks/chunk.PB6IANE7.js.map +7 -0
- package/dist/chunks/{chunk.B3UAPU32.js → chunk.PDY32KGV.js} +6 -6
- package/dist/chunks/chunk.PDY32KGV.js.map +7 -0
- package/dist/chunks/{chunk.XAQKFEHH.js → chunk.PHFTXPIT.js} +1 -1
- package/dist/chunks/chunk.PHFTXPIT.js.map +7 -0
- package/dist/chunks/{chunk.234ERFCE.js → chunk.PLV4PZYX.js} +1 -1
- package/dist/chunks/chunk.PLV4PZYX.js.map +7 -0
- package/dist/chunks/{chunk.N7LV5KRH.js → chunk.PN5GCUMW.js} +9 -9
- package/dist/chunks/chunk.PN5GCUMW.js.map +7 -0
- package/dist/chunks/{chunk.MU43DZ7W.js → chunk.PN64BR66.js} +1 -1
- package/dist/chunks/chunk.PN64BR66.js.map +7 -0
- package/dist/chunks/{chunk.VYQ53GHN.js → chunk.PNCX23JO.js} +9 -9
- package/dist/chunks/chunk.PNCX23JO.js.map +7 -0
- package/dist/chunks/{chunk.PR7SSUOT.js → chunk.PNEINJI2.js} +2 -2
- package/dist/chunks/chunk.PNEINJI2.js.map +7 -0
- package/dist/chunks/{chunk.G4URZQCL.js → chunk.PTRCO527.js} +1 -1
- package/dist/chunks/chunk.PTRCO527.js.map +7 -0
- package/dist/chunks/{chunk.EIJX4T2G.js → chunk.Q2XJ7NJC.js} +10 -10
- package/dist/chunks/chunk.Q2XJ7NJC.js.map +7 -0
- package/dist/chunks/{chunk.PKYC7QF3.js → chunk.Q5EKPQBR.js} +1 -1
- package/dist/chunks/chunk.Q5EKPQBR.js.map +7 -0
- package/dist/chunks/{chunk.6EKUFYET.js → chunk.Q6HZ4JXR.js} +1 -1
- package/dist/chunks/chunk.Q6HZ4JXR.js.map +7 -0
- package/dist/chunks/{chunk.2RSO2DKG.js → chunk.QG5SKZKD.js} +2 -2
- package/dist/chunks/chunk.QG5SKZKD.js.map +7 -0
- package/dist/chunks/{chunk.OAQRCZOO.js → chunk.QLETXF4A.js} +2 -2
- package/dist/chunks/chunk.QLETXF4A.js.map +7 -0
- package/dist/chunks/{chunk.5T3K7UXO.js → chunk.QRPDILBH.js} +2 -2
- package/dist/chunks/chunk.QRPDILBH.js.map +7 -0
- package/dist/chunks/{chunk.DRLFKWVC.js → chunk.QWIUHODV.js} +2 -2
- package/dist/chunks/{chunk.C4JTZKPZ.js → chunk.R3SMKUIL.js} +1 -1
- package/dist/chunks/chunk.R3SMKUIL.js.map +7 -0
- package/dist/chunks/{chunk.IYB26JEV.js → chunk.RBDBPRCS.js} +2 -2
- package/dist/chunks/chunk.RBDBPRCS.js.map +7 -0
- package/dist/chunks/{chunk.3EQF2FRQ.js → chunk.RH63RIHH.js} +10 -10
- package/dist/chunks/chunk.RH63RIHH.js.map +7 -0
- package/dist/chunks/{chunk.ADSEQZBF.js → chunk.RJUVM6NO.js} +1 -1
- package/dist/chunks/chunk.RJUVM6NO.js.map +7 -0
- package/dist/chunks/{chunk.KPBZSLEA.js → chunk.RO6WY67Q.js} +2 -2
- package/dist/chunks/chunk.RO6WY67Q.js.map +7 -0
- package/dist/chunks/{chunk.YTEJW7IF.js → chunk.RODNHT5C.js} +2 -2
- package/dist/chunks/chunk.RODNHT5C.js.map +7 -0
- package/dist/chunks/{chunk.YIYXW5NV.js → chunk.RRYH72O7.js} +2 -2
- package/dist/chunks/chunk.RRYH72O7.js.map +7 -0
- package/dist/chunks/{chunk.Z3SZOYBJ.js → chunk.RXBJIQCC.js} +2 -2
- package/dist/chunks/chunk.RXBJIQCC.js.map +7 -0
- package/dist/chunks/{chunk.ZVOOP3PI.js → chunk.RY3ZM7MQ.js} +24 -8
- package/dist/chunks/{chunk.ZVOOP3PI.js.map → chunk.RY3ZM7MQ.js.map} +2 -2
- package/dist/chunks/{chunk.HXLRLIDZ.js → chunk.S7JH7R5W.js} +8 -8
- package/dist/chunks/{chunk.Q3SJASPT.js → chunk.SEYPIVFM.js} +2 -2
- package/dist/chunks/chunk.SEYPIVFM.js.map +7 -0
- package/dist/chunks/{chunk.JE5Y2YD7.js → chunk.SMIMHADA.js} +1 -1
- package/dist/chunks/chunk.SMIMHADA.js.map +7 -0
- package/dist/chunks/{chunk.LBN3HL2T.js → chunk.SNYUENL4.js} +12 -12
- package/dist/chunks/chunk.SNYUENL4.js.map +7 -0
- package/dist/chunks/{chunk.ZPL7FJ2H.js → chunk.T23XHCUI.js} +10 -10
- package/dist/chunks/{chunk.RV5JERXK.js → chunk.T5GCLOJ6.js} +16 -16
- package/dist/chunks/chunk.T5GCLOJ6.js.map +7 -0
- package/dist/chunks/{chunk.MM3NO6GS.js → chunk.TNT5GH3Y.js} +64 -5
- package/dist/chunks/chunk.TNT5GH3Y.js.map +7 -0
- package/dist/chunks/{chunk.D6IIQDWJ.js → chunk.TVVJTCGG.js} +1 -1
- package/dist/chunks/chunk.TVVJTCGG.js.map +7 -0
- package/dist/chunks/{chunk.5SQ7NVBX.js → chunk.UB4EPKCP.js} +1 -1
- package/dist/chunks/chunk.UB4EPKCP.js.map +7 -0
- package/dist/chunks/{chunk.4T2NDUOQ.js → chunk.UJRM7HDU.js} +2 -2
- package/dist/chunks/chunk.UJRM7HDU.js.map +7 -0
- package/dist/chunks/{chunk.4FRKK5XY.js → chunk.UOOCDAPN.js} +3 -3
- package/dist/chunks/{chunk.N7QJ54ZM.js → chunk.UORFJFA2.js} +1 -1
- package/dist/chunks/chunk.UORFJFA2.js.map +7 -0
- package/dist/chunks/{chunk.X57JLQDS.js → chunk.UW35P23G.js} +2 -2
- package/dist/chunks/chunk.UW35P23G.js.map +7 -0
- package/dist/chunks/{chunk.56BJYBST.js → chunk.UWMO4OOX.js} +2 -2
- package/dist/chunks/{chunk.C2CWYCOU.js → chunk.V37RYGE7.js} +1 -1
- package/dist/chunks/chunk.V37RYGE7.js.map +7 -0
- package/dist/chunks/{chunk.N6C27EXQ.js → chunk.VL3GX6WV.js} +9 -1
- package/dist/chunks/chunk.VL3GX6WV.js.map +7 -0
- package/dist/chunks/chunk.VMLERD3J.js +52 -0
- package/dist/chunks/chunk.VMLERD3J.js.map +7 -0
- package/dist/chunks/{chunk.QUM76UHV.js → chunk.VPL7U5EC.js} +1 -1
- package/dist/chunks/chunk.VPL7U5EC.js.map +7 -0
- package/dist/chunks/{chunk.PWODN6WT.js → chunk.VQ2RY6WP.js} +2 -2
- package/dist/chunks/chunk.VQ2RY6WP.js.map +7 -0
- package/dist/chunks/{chunk.B56PMMC4.js → chunk.WHDNCE4Q.js} +9 -9
- package/dist/chunks/{chunk.JQ4NCOOB.js → chunk.WNUAJF2S.js} +7 -7
- package/dist/chunks/{chunk.QACXXBE3.js → chunk.WPAX3KY7.js} +12 -12
- package/dist/chunks/chunk.WPAX3KY7.js.map +7 -0
- package/dist/chunks/{chunk.S22BO5SF.js → chunk.WRPQ3635.js} +1 -1
- package/dist/chunks/chunk.WRPQ3635.js.map +7 -0
- package/dist/chunks/{chunk.4TB35TYG.js → chunk.X323W6VB.js} +1 -1
- package/dist/chunks/chunk.X323W6VB.js.map +7 -0
- package/dist/chunks/{chunk.6EPU7YUS.js → chunk.X5NFOV5A.js} +1 -1
- package/dist/chunks/chunk.X5NFOV5A.js.map +7 -0
- package/dist/chunks/{chunk.QXZFSE4T.js → chunk.X5TIKPLJ.js} +2 -2
- package/dist/chunks/chunk.X5TIKPLJ.js.map +7 -0
- package/dist/chunks/{chunk.ZR7J6ZEM.js → chunk.X6WKPXTG.js} +2 -2
- package/dist/chunks/chunk.X6WKPXTG.js.map +7 -0
- package/dist/chunks/{chunk.7SIMUMVH.js → chunk.XGBJ2PGD.js} +7 -7
- package/dist/chunks/chunk.XGBJ2PGD.js.map +7 -0
- package/dist/chunks/{chunk.DQKV5FSY.js → chunk.XRSLCQH3.js} +1 -1
- package/dist/chunks/chunk.XRSLCQH3.js.map +7 -0
- package/dist/chunks/{chunk.2ACTZBEC.js → chunk.XYTR2GHP.js} +7 -7
- package/dist/chunks/chunk.XYTR2GHP.js.map +7 -0
- package/dist/chunks/{chunk.KSWDM4HW.js → chunk.YACUYJZN.js} +2 -2
- package/dist/chunks/{chunk.EHSNF4SS.js → chunk.YITQ6NLI.js} +1 -1
- package/dist/chunks/chunk.YITQ6NLI.js.map +7 -0
- package/dist/chunks/{chunk.O644HRW3.js → chunk.YOFWLXEH.js} +1 -1
- package/dist/chunks/chunk.YOFWLXEH.js.map +7 -0
- package/dist/chunks/{chunk.K62NPKGN.js → chunk.YPYFEST2.js} +1 -1
- package/dist/chunks/chunk.YPYFEST2.js.map +7 -0
- package/dist/chunks/{chunk.KLUICBMV.js → chunk.YSKOI4OG.js} +4 -4
- package/dist/chunks/{chunk.WPVUSCH3.js → chunk.YUK555QP.js} +2 -2
- package/dist/chunks/{chunk.DXVTZKXX.js → chunk.YZMG6OGY.js} +2 -2
- package/dist/chunks/{chunk.ATT3RT4A.js → chunk.ZA7XD4RH.js} +11 -11
- package/dist/chunks/chunk.ZA7XD4RH.js.map +7 -0
- package/dist/chunks/{chunk.6OX2AX3Z.js → chunk.ZC3GXTWV.js} +1 -1
- package/dist/chunks/chunk.ZC3GXTWV.js.map +7 -0
- package/dist/chunks/{chunk.IMZSPXJV.js → chunk.ZNM2KW2N.js} +2 -2
- package/dist/chunks/chunk.ZNM2KW2N.js.map +7 -0
- package/dist/chunks/{chunk.4BRJ5OJE.js → chunk.ZXEPSSXQ.js} +2 -2
- package/dist/chunks/chunk.ZXEPSSXQ.js.map +7 -0
- package/dist/components/accordion/accordion.component.js +8 -7
- package/dist/components/accordion/accordion.js +9 -8
- package/dist/components/alert/alert.component.d.ts +0 -6
- package/dist/components/alert/alert.component.js +22 -21
- package/dist/components/alert/alert.d.ts +0 -6
- package/dist/components/alert/alert.js +23 -22
- package/dist/components/alert/alert.styles.d.ts +0 -6
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/badge/badge.component.d.ts +0 -6
- package/dist/components/badge/badge.component.js +10 -9
- package/dist/components/badge/badge.d.ts +0 -6
- package/dist/components/badge/badge.js +11 -10
- package/dist/components/badge/badge.styles.d.ts +0 -6
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.component.d.ts +0 -6
- package/dist/components/breadcrumb/breadcrumb.component.js +12 -12
- package/dist/components/breadcrumb/breadcrumb.d.ts +0 -6
- package/dist/components/breadcrumb/breadcrumb.js +13 -13
- package/dist/components/breadcrumb/breadcrumb.styles.d.ts +0 -6
- package/dist/components/breadcrumb/breadcrumb.styles.js +1 -1
- package/dist/components/breadcrumb-item/breadcrumb-item.component.d.ts +0 -6
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +6 -6
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +0 -6
- package/dist/components/breadcrumb-item/breadcrumb-item.js +7 -7
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.d.ts +0 -6
- package/dist/components/breadcrumb-item/breadcrumb-item.styles.js +1 -1
- package/dist/components/button/button.component.d.ts +0 -6
- package/dist/components/button/button.component.js +21 -20
- package/dist/components/button/button.custom.styles.js +1 -1
- package/dist/components/button/button.d.ts +0 -6
- package/dist/components/button/button.js +22 -21
- package/dist/components/button/button.styles.d.ts +0 -6
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/button-group/button-group.component.d.ts +7 -6
- package/dist/components/button-group/button-group.component.js +10 -4
- package/dist/components/button-group/button-group.custom.styles.d.ts +2 -0
- package/dist/components/button-group/button-group.custom.styles.js +8 -0
- package/dist/components/button-group/button-group.custom.styles.js.map +7 -0
- package/dist/components/button-group/button-group.d.ts +0 -6
- package/dist/components/button-group/button-group.js +11 -5
- package/dist/components/button-group/button-group.styles.d.ts +0 -6
- package/dist/components/button-group/button-group.styles.js +1 -1
- package/dist/components/card/card.component.d.ts +0 -6
- package/dist/components/card/card.component.js +5 -5
- package/dist/components/card/card.d.ts +0 -6
- package/dist/components/card/card.js +6 -6
- package/dist/components/card/card.styles.d.ts +0 -6
- package/dist/components/card/card.styles.js +1 -1
- package/dist/components/checkbox/checkbox.component.d.ts +0 -6
- package/dist/components/checkbox/checkbox.component.js +18 -17
- package/dist/components/checkbox/checkbox.d.ts +0 -6
- package/dist/components/checkbox/checkbox.js +19 -18
- package/dist/components/checkbox/checkbox.styles.d.ts +0 -6
- package/dist/components/checkbox/checkbox.styles.js +1 -1
- package/dist/components/combobox/combobox.component.d.ts +125 -17
- package/dist/components/combobox/combobox.component.js +37 -30
- package/dist/components/combobox/combobox.custom.styles.js +1 -1
- package/dist/components/combobox/combobox.js +38 -31
- package/dist/components/combobox/combobox.styles.d.ts +0 -6
- package/dist/components/combobox/combobox.styles.js +1 -1
- package/dist/components/combobox/option-renderer.js +1 -1
- package/dist/components/combobox/utils.d.ts +8 -1
- package/dist/components/combobox/utils.js +3 -1
- package/dist/components/details/details.component.d.ts +0 -6
- package/dist/components/details/details.component.js +19 -18
- package/dist/components/details/details.d.ts +0 -6
- package/dist/components/details/details.js +20 -19
- package/dist/components/details/details.styles.d.ts +0 -6
- package/dist/components/details/details.styles.js +1 -1
- package/dist/components/dialog/dialog.component.d.ts +0 -6
- package/dist/components/dialog/dialog.component.js +25 -24
- package/dist/components/dialog/dialog.d.ts +0 -6
- package/dist/components/dialog/dialog.js +26 -25
- package/dist/components/dialog/dialog.styles.d.ts +0 -6
- package/dist/components/dialog/dialog.styles.js +1 -1
- package/dist/components/divider/divider.component.d.ts +0 -6
- package/dist/components/divider/divider.component.js +5 -5
- package/dist/components/divider/divider.d.ts +0 -6
- package/dist/components/divider/divider.js +6 -6
- package/dist/components/divider/divider.styles.d.ts +0 -6
- package/dist/components/divider/divider.styles.js +1 -1
- package/dist/components/drawer/drawer.component.d.ts +0 -6
- package/dist/components/drawer/drawer.component.js +25 -24
- package/dist/components/drawer/drawer.d.ts +0 -6
- package/dist/components/drawer/drawer.js +26 -25
- package/dist/components/drawer/drawer.styles.d.ts +0 -6
- package/dist/components/drawer/drawer.styles.js +1 -1
- package/dist/components/dropdown/dropdown.component.d.ts +0 -6
- package/dist/components/dropdown/dropdown.component.js +13 -13
- package/dist/components/dropdown/dropdown.d.ts +0 -6
- package/dist/components/dropdown/dropdown.js +14 -14
- package/dist/components/dropdown/dropdown.styles.d.ts +0 -6
- package/dist/components/dropdown/dropdown.styles.js +1 -1
- package/dist/components/file/file.component.js +26 -25
- package/dist/components/file/file.js +27 -26
- package/dist/components/header/header.component.js +13 -13
- package/dist/components/header/header.js +14 -14
- package/dist/components/icon/icon.component.d.ts +0 -6
- package/dist/components/icon/icon.component.js +8 -8
- package/dist/components/icon/icon.d.ts +0 -6
- package/dist/components/icon/icon.js +9 -9
- package/dist/components/icon/icon.styles.d.ts +0 -6
- package/dist/components/icon/icon.styles.js +1 -1
- package/dist/components/icon/library.d.ts +0 -6
- package/dist/components/icon/library.default.d.ts +0 -6
- package/dist/components/icon/library.default.js +2 -2
- package/dist/components/icon/library.js +3 -3
- package/dist/components/icon/library.migration.js +4 -4
- package/dist/components/icon-button/icon-button.component.d.ts +0 -6
- package/dist/components/icon-button/icon-button.component.js +14 -13
- package/dist/components/icon-button/icon-button.d.ts +0 -6
- package/dist/components/icon-button/icon-button.js +15 -14
- package/dist/components/icon-button/icon-button.styles.d.ts +0 -6
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/input/input.component.d.ts +0 -6
- package/dist/components/input/input.component.js +22 -21
- package/dist/components/input/input.d.ts +0 -6
- package/dist/components/input/input.js +23 -22
- package/dist/components/input/input.styles.d.ts +0 -6
- package/dist/components/input/input.styles.js +1 -1
- package/dist/components/menu/menu.component.d.ts +0 -6
- package/dist/components/menu/menu.component.js +4 -4
- package/dist/components/menu/menu.d.ts +0 -6
- package/dist/components/menu/menu.js +5 -5
- package/dist/components/menu/menu.styles.d.ts +0 -6
- package/dist/components/menu/menu.styles.js +1 -1
- package/dist/components/menu-item/menu-item.component.d.ts +0 -6
- package/dist/components/menu-item/menu-item.component.js +18 -18
- package/dist/components/menu-item/menu-item.d.ts +0 -6
- package/dist/components/menu-item/menu-item.js +19 -19
- package/dist/components/menu-item/menu-item.styles.d.ts +0 -6
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/menu-item/submenu-controller.d.ts +0 -6
- package/dist/components/menu-item/submenu-controller.js +2 -2
- package/dist/components/menu-label/menu-label.component.d.ts +0 -6
- package/dist/components/menu-label/menu-label.component.js +7 -7
- package/dist/components/menu-label/menu-label.d.ts +0 -6
- package/dist/components/menu-label/menu-label.js +8 -8
- package/dist/components/menu-label/menu-label.styles.d.ts +0 -6
- package/dist/components/menu-label/menu-label.styles.js +1 -1
- package/dist/components/nav-item/nav-item.component.js +12 -12
- package/dist/components/nav-item/nav-item.js +13 -13
- package/dist/components/optgroup/optgroup.component.js +7 -7
- package/dist/components/optgroup/optgroup.js +8 -8
- package/dist/components/option/option.component.d.ts +0 -6
- package/dist/components/option/option.component.js +17 -12
- package/dist/components/option/option.d.ts +0 -6
- package/dist/components/option/option.js +18 -13
- package/dist/components/option/option.styles.d.ts +0 -6
- package/dist/components/option/option.styles.js +1 -1
- package/dist/components/popup/popup.component.d.ts +0 -6
- package/dist/components/popup/popup.component.js +6 -6
- package/dist/components/popup/popup.d.ts +0 -6
- package/dist/components/popup/popup.js +7 -7
- package/dist/components/popup/popup.styles.d.ts +0 -6
- package/dist/components/popup/popup.styles.js +1 -1
- package/dist/components/prio-nav/prio-nav.component.js +25 -25
- package/dist/components/prio-nav/prio-nav.js +26 -26
- package/dist/components/progress-bar/progress-bar.component.d.ts +0 -6
- package/dist/components/progress-bar/progress-bar.component.js +6 -6
- package/dist/components/progress-bar/progress-bar.d.ts +0 -6
- package/dist/components/progress-bar/progress-bar.js +7 -7
- package/dist/components/progress-bar/progress-bar.styles.d.ts +0 -6
- package/dist/components/progress-bar/progress-bar.styles.js +1 -1
- package/dist/components/progress-ring/progress-ring.component.d.ts +0 -6
- package/dist/components/progress-ring/progress-ring.component.js +6 -6
- package/dist/components/progress-ring/progress-ring.d.ts +0 -6
- package/dist/components/progress-ring/progress-ring.js +7 -7
- package/dist/components/progress-ring/progress-ring.styles.d.ts +0 -6
- package/dist/components/progress-ring/progress-ring.styles.js +1 -1
- package/dist/components/radio/radio.component.d.ts +0 -6
- package/dist/components/radio/radio.component.js +14 -13
- package/dist/components/radio/radio.d.ts +0 -6
- package/dist/components/radio/radio.js +15 -14
- package/dist/components/radio/radio.styles.d.ts +0 -6
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.component.d.ts +0 -6
- package/dist/components/radio-button/radio-button.component.js +11 -10
- package/dist/components/radio-button/radio-button.d.ts +0 -6
- package/dist/components/radio-button/radio-button.js +12 -11
- package/dist/components/radio-button/radio-button.styles.d.ts +0 -6
- package/dist/components/radio-button/radio-button.styles.js +2 -2
- package/dist/components/radio-group/radio-group.component.d.ts +0 -6
- package/dist/components/radio-group/radio-group.component.js +15 -13
- package/dist/components/radio-group/radio-group.d.ts +0 -6
- package/dist/components/radio-group/radio-group.js +16 -14
- package/dist/components/radio-group/radio-group.styles.d.ts +0 -6
- package/dist/components/radio-group/radio-group.styles.js +1 -1
- package/dist/components/range/range.component.js +22 -21
- package/dist/components/range/range.js +23 -22
- package/dist/components/range-tick/range-tick.component.js +3 -3
- package/dist/components/range-tick/range-tick.js +4 -4
- package/dist/components/resize-observer/resize-observer.component.d.ts +0 -6
- package/dist/components/resize-observer/resize-observer.component.js +5 -5
- package/dist/components/resize-observer/resize-observer.styles.d.ts +0 -6
- package/dist/components/resize-observer/resize-observer.styles.js +1 -1
- package/dist/components/select/select.component.d.ts +0 -6
- package/dist/components/select/select.component.js +30 -29
- package/dist/components/select/select.d.ts +0 -6
- package/dist/components/select/select.js +31 -30
- package/dist/components/select/select.styles.d.ts +0 -6
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/side-nav/side-nav.component.js +29 -28
- package/dist/components/side-nav/side-nav.js +30 -29
- package/dist/components/spinner/spinner.component.d.ts +0 -6
- package/dist/components/spinner/spinner.component.js +6 -6
- package/dist/components/spinner/spinner.d.ts +0 -6
- package/dist/components/spinner/spinner.js +7 -7
- package/dist/components/spinner/spinner.styles.d.ts +0 -6
- package/dist/components/spinner/spinner.styles.js +1 -1
- package/dist/components/switch/switch.component.d.ts +0 -6
- package/dist/components/switch/switch.component.js +13 -12
- package/dist/components/switch/switch.d.ts +0 -6
- package/dist/components/switch/switch.js +14 -13
- package/dist/components/switch/switch.styles.d.ts +0 -6
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.component.d.ts +0 -6
- package/dist/components/tab/tab.component.js +18 -17
- package/dist/components/tab/tab.d.ts +0 -6
- package/dist/components/tab/tab.js +19 -18
- package/dist/components/tab/tab.styles.d.ts +0 -6
- package/dist/components/tab/tab.styles.js +1 -1
- package/dist/components/tab-group/tab-group.component.d.ts +0 -6
- package/dist/components/tab-group/tab-group.component.js +21 -20
- package/dist/components/tab-group/tab-group.d.ts +0 -6
- package/dist/components/tab-group/tab-group.js +22 -21
- package/dist/components/tab-group/tab-group.styles.d.ts +0 -6
- package/dist/components/tab-group/tab-group.styles.js +1 -1
- package/dist/components/tab-panel/tab-panel.component.d.ts +0 -6
- package/dist/components/tab-panel/tab-panel.component.js +5 -5
- package/dist/components/tab-panel/tab-panel.d.ts +0 -6
- package/dist/components/tab-panel/tab-panel.js +6 -6
- package/dist/components/tab-panel/tab-panel.styles.d.ts +0 -6
- package/dist/components/tab-panel/tab-panel.styles.js +1 -1
- package/dist/components/tag/tag.component.d.ts +0 -6
- package/dist/components/tag/tag.component.js +18 -17
- package/dist/components/tag/tag.d.ts +0 -6
- package/dist/components/tag/tag.js +19 -18
- package/dist/components/tag/tag.styles.d.ts +0 -6
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/textarea/textarea.component.d.ts +0 -6
- package/dist/components/textarea/textarea.component.js +13 -12
- package/dist/components/textarea/textarea.d.ts +0 -6
- package/dist/components/textarea/textarea.js +14 -13
- package/dist/components/textarea/textarea.styles.d.ts +0 -6
- package/dist/components/textarea/textarea.styles.js +1 -1
- package/dist/components/tooltip/tooltip.component.d.ts +0 -6
- package/dist/components/tooltip/tooltip.component.js +12 -12
- package/dist/components/tooltip/tooltip.d.ts +0 -6
- package/dist/components/tooltip/tooltip.js +13 -13
- package/dist/components/tooltip/tooltip.styles.d.ts +0 -6
- package/dist/components/tooltip/tooltip.styles.js +1 -1
- package/dist/components/validate/utility.js +2 -2
- package/dist/components/validate/validate.component.js +24 -23
- package/dist/components/validate/validate.js +25 -24
- package/dist/custom-elements.json +336 -54
- package/dist/events/syn-after-hide.d.ts +0 -6
- package/dist/events/syn-after-show.d.ts +0 -6
- package/dist/events/syn-blur.d.ts +0 -6
- package/dist/events/syn-change.d.ts +0 -6
- package/dist/events/syn-clear.d.ts +0 -6
- package/dist/events/syn-close.d.ts +0 -6
- package/dist/events/syn-default-settings-changed.d.ts +1 -1
- package/dist/events/syn-error.d.ts +0 -6
- package/dist/events/syn-focus.d.ts +0 -6
- package/dist/events/syn-hide.d.ts +0 -6
- package/dist/events/syn-initial-focus.d.ts +0 -6
- package/dist/events/syn-input.d.ts +0 -6
- package/dist/events/syn-invalid.d.ts +0 -6
- package/dist/events/syn-load.d.ts +0 -6
- package/dist/events/syn-remove.d.ts +0 -6
- package/dist/events/syn-reposition.d.ts +0 -6
- package/dist/events/syn-request-close.d.ts +0 -6
- package/dist/events/syn-resize.d.ts +0 -6
- package/dist/events/syn-select.d.ts +0 -6
- package/dist/events/syn-show.d.ts +0 -6
- package/dist/events/syn-tab-hide.d.ts +0 -6
- package/dist/events/syn-tab-show.d.ts +0 -6
- package/dist/internal/active-elements.d.ts +0 -6
- package/dist/internal/animate.d.ts +0 -6
- package/dist/internal/default-value.d.ts +0 -6
- package/dist/internal/event.d.ts +0 -6
- package/dist/internal/form.d.ts +0 -6
- package/dist/internal/modal.d.ts +0 -6
- package/dist/internal/offset.d.ts +0 -6
- package/dist/internal/scroll.d.ts +0 -6
- package/dist/internal/scrollend-polyfill.d.ts +0 -6
- package/dist/internal/slot.d.ts +0 -6
- package/dist/internal/string.d.ts +0 -6
- package/dist/internal/synergy-element.d.ts +0 -6
- package/dist/internal/tabbable.d.ts +0 -6
- package/dist/internal/test/data-testid-helpers.d.ts +0 -6
- package/dist/internal/test/element-visible-overflow.d.ts +0 -6
- package/dist/internal/test/form-control-base-tests.d.ts +0 -6
- package/dist/internal/test/wait-for-scrolling.d.ts +0 -6
- package/dist/internal/test.d.ts +0 -6
- package/dist/internal/watch.d.ts +0 -6
- package/dist/styles/component.styles.d.ts +0 -6
- package/dist/styles/form-control.styles.d.ts +0 -6
- package/dist/styles/index.css +1 -7
- package/dist/styles/utility.css +0 -6
- package/dist/synergy-autoloader.d.ts +0 -6
- package/dist/synergy-autoloader.js +1 -1
- package/dist/synergy-autoloader.js.map +2 -2
- package/dist/synergy.js +177 -175
- package/dist/translations/de.d.ts +0 -6
- package/dist/translations/de.js +3 -4
- package/dist/translations/de.js.map +2 -2
- package/dist/translations/en.d.ts +0 -6
- package/dist/translations/en.js +1 -1
- package/dist/utilities/animation-registry.d.ts +0 -6
- package/dist/utilities/animation-registry.js +1 -1
- package/dist/utilities/base-path.d.ts +0 -6
- package/dist/utilities/base-path.js +1 -1
- package/dist/utilities/defaultSettings/base.d.ts +7 -1
- package/dist/utilities/defaultSettings/base.js +1 -1
- package/dist/utilities/defaultSettings/decorator.js +4 -3
- package/dist/utilities/defaultSettings/functions.js +3 -2
- package/dist/utilities/defaultSettings/index.js +4 -3
- package/dist/utilities/defaultSettings/sort.d.ts +9 -0
- package/dist/utilities/defaultSettings/sort.js +10 -0
- package/dist/utilities/defaultSettings/sort.js.map +7 -0
- package/dist/utilities/form.d.ts +0 -6
- package/dist/utilities/form.js +2 -2
- package/dist/utilities/icon-library.d.ts +0 -6
- package/dist/utilities/icon-library.js +3 -3
- package/dist/utilities/localize.d.ts +0 -6
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +44 -7
- package/package.json +4 -9
- package/dist/chunks/chunk.234ERFCE.js.map +0 -7
- package/dist/chunks/chunk.2ACTZBEC.js.map +0 -7
- package/dist/chunks/chunk.2GP2EYG4.js.map +0 -7
- package/dist/chunks/chunk.2RSO2DKG.js.map +0 -7
- package/dist/chunks/chunk.34V3QOIQ.js.map +0 -7
- package/dist/chunks/chunk.36BZPB3H.js.map +0 -7
- package/dist/chunks/chunk.3EJU447K.js.map +0 -7
- package/dist/chunks/chunk.3EQF2FRQ.js.map +0 -7
- package/dist/chunks/chunk.3FT4KLCP.js.map +0 -7
- package/dist/chunks/chunk.3NXKLKWH.js.map +0 -7
- package/dist/chunks/chunk.43YNZAWL.js.map +0 -7
- package/dist/chunks/chunk.4ADVK4N5.js.map +0 -7
- package/dist/chunks/chunk.4BRJ5OJE.js.map +0 -7
- package/dist/chunks/chunk.4T2NDUOQ.js.map +0 -7
- package/dist/chunks/chunk.4TB35TYG.js.map +0 -7
- package/dist/chunks/chunk.4URTG3MF.js.map +0 -7
- package/dist/chunks/chunk.4ZEHQOJ3.js.map +0 -7
- package/dist/chunks/chunk.5732DMBC.js.map +0 -7
- package/dist/chunks/chunk.5F5Y2RD6.js.map +0 -7
- package/dist/chunks/chunk.5QGW4QZT.js.map +0 -7
- package/dist/chunks/chunk.5SQ7NVBX.js.map +0 -7
- package/dist/chunks/chunk.5T3K7UXO.js.map +0 -7
- package/dist/chunks/chunk.67NOFASU.js.map +0 -7
- package/dist/chunks/chunk.6B7GMPMK.js.map +0 -7
- package/dist/chunks/chunk.6EK4W7PI.js.map +0 -7
- package/dist/chunks/chunk.6EKUFYET.js.map +0 -7
- package/dist/chunks/chunk.6EPU7YUS.js.map +0 -7
- package/dist/chunks/chunk.6KTVNSPY.js.map +0 -7
- package/dist/chunks/chunk.6OX2AX3Z.js.map +0 -7
- package/dist/chunks/chunk.6VA5V372.js.map +0 -7
- package/dist/chunks/chunk.7SIMUMVH.js.map +0 -7
- package/dist/chunks/chunk.ADSEQZBF.js.map +0 -7
- package/dist/chunks/chunk.ATT3RT4A.js.map +0 -7
- package/dist/chunks/chunk.AZ3N5IOO.js.map +0 -7
- package/dist/chunks/chunk.B3UAPU32.js.map +0 -7
- package/dist/chunks/chunk.BIJTSOZF.js +0 -43
- package/dist/chunks/chunk.BIJTSOZF.js.map +0 -7
- package/dist/chunks/chunk.BXY667C7.js.map +0 -7
- package/dist/chunks/chunk.C2CWYCOU.js.map +0 -7
- package/dist/chunks/chunk.C2ENQBPM.js.map +0 -7
- package/dist/chunks/chunk.C4JTZKPZ.js.map +0 -7
- package/dist/chunks/chunk.D5GEYHUG.js.map +0 -7
- package/dist/chunks/chunk.D6IIQDWJ.js.map +0 -7
- package/dist/chunks/chunk.DHT3ZN7B.js.map +0 -7
- package/dist/chunks/chunk.DQKV5FSY.js.map +0 -7
- package/dist/chunks/chunk.DZ7YIR5N.js.map +0 -7
- package/dist/chunks/chunk.EHSNF4SS.js.map +0 -7
- package/dist/chunks/chunk.EIJX4T2G.js.map +0 -7
- package/dist/chunks/chunk.EMTWFPA4.js.map +0 -7
- package/dist/chunks/chunk.F4TDCDGD.js.map +0 -7
- package/dist/chunks/chunk.FD2CG2HT.js.map +0 -7
- package/dist/chunks/chunk.FQWBH6B3.js.map +0 -7
- package/dist/chunks/chunk.FSWTBNSI.js.map +0 -7
- package/dist/chunks/chunk.FSZIE7IO.js.map +0 -7
- package/dist/chunks/chunk.G4URZQCL.js.map +0 -7
- package/dist/chunks/chunk.GJIDYO3Z.js.map +0 -7
- package/dist/chunks/chunk.GRVNUIP2.js.map +0 -7
- package/dist/chunks/chunk.HVXG4JG6.js.map +0 -7
- package/dist/chunks/chunk.HW62YVCL.js.map +0 -7
- package/dist/chunks/chunk.IAS6MLT6.js.map +0 -7
- package/dist/chunks/chunk.IMZSPXJV.js.map +0 -7
- package/dist/chunks/chunk.IOFVUQIY.js.map +0 -7
- package/dist/chunks/chunk.IVM3BGRH.js.map +0 -7
- package/dist/chunks/chunk.IYB26JEV.js.map +0 -7
- package/dist/chunks/chunk.JE5Y2YD7.js.map +0 -7
- package/dist/chunks/chunk.JG7YXWHG.js.map +0 -7
- package/dist/chunks/chunk.JKSFECFA.js.map +0 -7
- package/dist/chunks/chunk.JLXCLATV.js.map +0 -7
- package/dist/chunks/chunk.JX6C3ADT.js.map +0 -7
- package/dist/chunks/chunk.K5VB7VKA.js.map +0 -7
- package/dist/chunks/chunk.K62NPKGN.js.map +0 -7
- package/dist/chunks/chunk.KPBZSLEA.js.map +0 -7
- package/dist/chunks/chunk.KW5TWA5Y.js.map +0 -7
- package/dist/chunks/chunk.LBN3HL2T.js.map +0 -7
- package/dist/chunks/chunk.LJGUOWPM.js.map +0 -7
- package/dist/chunks/chunk.LVYJDZMX.js.map +0 -7
- package/dist/chunks/chunk.M72HMQL6.js.map +0 -7
- package/dist/chunks/chunk.MJ4Q6YEU.js.map +0 -7
- package/dist/chunks/chunk.MM3NO6GS.js.map +0 -7
- package/dist/chunks/chunk.MU43DZ7W.js.map +0 -7
- package/dist/chunks/chunk.N6C27EXQ.js.map +0 -7
- package/dist/chunks/chunk.N7BCC4V5.js.map +0 -7
- package/dist/chunks/chunk.N7LV5KRH.js.map +0 -7
- package/dist/chunks/chunk.N7QJ54ZM.js.map +0 -7
- package/dist/chunks/chunk.NLYVOJGK.js.map +0 -7
- package/dist/chunks/chunk.O644HRW3.js.map +0 -7
- package/dist/chunks/chunk.O6ZH6AOI.js.map +0 -7
- package/dist/chunks/chunk.OAQRCZOO.js.map +0 -7
- package/dist/chunks/chunk.OBERL73O.js.map +0 -7
- package/dist/chunks/chunk.OHDB73E6.js.map +0 -7
- package/dist/chunks/chunk.OI3HOOCT.js.map +0 -7
- package/dist/chunks/chunk.OIB4NIRJ.js.map +0 -7
- package/dist/chunks/chunk.PGGH5VGL.js.map +0 -7
- package/dist/chunks/chunk.PKYC7QF3.js.map +0 -7
- package/dist/chunks/chunk.PR7SSUOT.js.map +0 -7
- package/dist/chunks/chunk.PWODN6WT.js.map +0 -7
- package/dist/chunks/chunk.Q3SJASPT.js.map +0 -7
- package/dist/chunks/chunk.QACXXBE3.js.map +0 -7
- package/dist/chunks/chunk.QT47J2O6.js.map +0 -7
- package/dist/chunks/chunk.QUM76UHV.js.map +0 -7
- package/dist/chunks/chunk.QXZFSE4T.js.map +0 -7
- package/dist/chunks/chunk.R5WFWL7W.js.map +0 -7
- package/dist/chunks/chunk.RAOPZXJL.js.map +0 -7
- package/dist/chunks/chunk.RBOU3KVS.js.map +0 -7
- package/dist/chunks/chunk.RMIDAEF5.js.map +0 -7
- package/dist/chunks/chunk.RV5JERXK.js.map +0 -7
- package/dist/chunks/chunk.S22BO5SF.js.map +0 -7
- package/dist/chunks/chunk.SLKJ2OJN.js.map +0 -7
- package/dist/chunks/chunk.SUH6DGJ5.js.map +0 -7
- package/dist/chunks/chunk.U5757NSE.js.map +0 -7
- package/dist/chunks/chunk.U6VNE4JX.js.map +0 -7
- package/dist/chunks/chunk.UAUY6RVN.js.map +0 -7
- package/dist/chunks/chunk.UBGDTOZZ.js.map +0 -7
- package/dist/chunks/chunk.UT3DWYFM.js.map +0 -7
- package/dist/chunks/chunk.VA26EAEP.js.map +0 -7
- package/dist/chunks/chunk.VBPHUZ5N.js.map +0 -7
- package/dist/chunks/chunk.VV3WAINT.js.map +0 -7
- package/dist/chunks/chunk.VYQ53GHN.js.map +0 -7
- package/dist/chunks/chunk.WVVQK5TE.js.map +0 -7
- package/dist/chunks/chunk.X57JLQDS.js.map +0 -7
- package/dist/chunks/chunk.X7XPEYAM.js.map +0 -7
- package/dist/chunks/chunk.XAQKFEHH.js.map +0 -7
- package/dist/chunks/chunk.XDOZEDCW.js.map +0 -7
- package/dist/chunks/chunk.XL2GZSHM.js.map +0 -7
- package/dist/chunks/chunk.XTWO6ZZW.js.map +0 -7
- package/dist/chunks/chunk.Y5TMYX2L.js.map +0 -7
- package/dist/chunks/chunk.YBITSWNW.js.map +0 -7
- package/dist/chunks/chunk.YIYXW5NV.js.map +0 -7
- package/dist/chunks/chunk.YTEJW7IF.js.map +0 -7
- package/dist/chunks/chunk.Z3SZOYBJ.js.map +0 -7
- package/dist/chunks/chunk.ZBW4ZSZ7.js.map +0 -7
- package/dist/chunks/chunk.ZNJG4EY4.js.map +0 -7
- package/dist/chunks/chunk.ZR7J6ZEM.js.map +0 -7
- /package/dist/chunks/{chunk.FVYPYWJH.js.map → chunk.2J5ARXAO.js.map} +0 -0
- /package/dist/chunks/{chunk.I5R3PXG7.js.map → chunk.3GSHQV5Q.js.map} +0 -0
- /package/dist/chunks/{chunk.HSQZ3ZWE.js.map → chunk.6EHOI2BO.js.map} +0 -0
- /package/dist/chunks/{chunk.BNHQTT5B.js.map → chunk.6PRXWBZE.js.map} +0 -0
- /package/dist/chunks/{chunk.XKT2M3XA.js.map → chunk.7G6N24FO.js.map} +0 -0
- /package/dist/chunks/{chunk.AF4RYZHB.js.map → chunk.BJVWQ3LR.js.map} +0 -0
- /package/dist/chunks/{chunk.R4FCX5PU.js.map → chunk.CEP5JF3B.js.map} +0 -0
- /package/dist/chunks/{chunk.42F33KBM.js.map → chunk.FUYMXIMF.js.map} +0 -0
- /package/dist/chunks/{chunk.P3JEES5B.js.map → chunk.GOAMFSM4.js.map} +0 -0
- /package/dist/chunks/{chunk.JYLOZXGC.js.map → chunk.KOKPJSO2.js.map} +0 -0
- /package/dist/chunks/{chunk.UPDHOWDW.js.map → chunk.KRR2BTZW.js.map} +0 -0
- /package/dist/chunks/{chunk.X6HKBVIE.js.map → chunk.MP5AW7KH.js.map} +0 -0
- /package/dist/chunks/{chunk.4I2C7KCE.js.map → chunk.O6TRAUHQ.js.map} +0 -0
- /package/dist/chunks/{chunk.DRLFKWVC.js.map → chunk.QWIUHODV.js.map} +0 -0
- /package/dist/chunks/{chunk.HXLRLIDZ.js.map → chunk.S7JH7R5W.js.map} +0 -0
- /package/dist/chunks/{chunk.ZPL7FJ2H.js.map → chunk.T23XHCUI.js.map} +0 -0
- /package/dist/chunks/{chunk.4FRKK5XY.js.map → chunk.UOOCDAPN.js.map} +0 -0
- /package/dist/chunks/{chunk.56BJYBST.js.map → chunk.UWMO4OOX.js.map} +0 -0
- /package/dist/chunks/{chunk.B56PMMC4.js.map → chunk.WHDNCE4Q.js.map} +0 -0
- /package/dist/chunks/{chunk.JQ4NCOOB.js.map → chunk.WNUAJF2S.js.map} +0 -0
- /package/dist/chunks/{chunk.KSWDM4HW.js.map → chunk.YACUYJZN.js.map} +0 -0
- /package/dist/chunks/{chunk.KLUICBMV.js.map → chunk.YSKOI4OG.js.map} +0 -0
- /package/dist/chunks/{chunk.WPVUSCH3.js.map → chunk.YUK555QP.js.map} +0 -0
- /package/dist/chunks/{chunk.DXVTZKXX.js.map → chunk.YZMG6OGY.js.map} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/tab-panel/tab-panel.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './tab-panel.styles.js';\nimport customStyles from './tab-panel.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\nlet id = 0;\n\n/**\n * @summary Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-tab-panel--docs\n * @status stable\n * @since 2.0\n *\n * @slot - The tab panel's content.\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --padding - The tab panel's padding.\n */\nexport default class SynTabPanel extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private readonly attrId = ++id;\n private readonly componentId = `syn-tab-panel-${this.attrId}`;\n\n /** The tab panel's name. */\n @property({ reflect: true }) name = '';\n\n /** When true, the tab panel will be shown. */\n @property({ type: Boolean, reflect: true }) active = false;\n\n connectedCallback() {\n super.connectedCallback();\n this.id = this.id.length > 0 ? this.id : this.componentId;\n this.setAttribute('role', 'tabpanel');\n }\n\n @watch('active')\n handleActiveChange() {\n this.setAttribute('aria-hidden', this.active ? 'false' : 'true');\n }\n\n render() {\n return html`\n <slot\n part=\"base\"\n class=${classMap({\n 'tab-panel': true,\n 'tab-panel--active': this.active\n })}\n ></slot>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,gBAAgB;AAQzB,IAAI,KAAK;AAcT,IAAqB,cAArB,cAAyC,eAAe;AAAA,EAAxD;AAAA;AAGE,SAAiB,SAAS,EAAE;AAC5B,SAAiB,cAAc,iBAAiB,KAAK,MAAM;AAG9B,gBAAO;AAGQ,kBAAS;AAAA;AAAA,EAErD,oBAAoB;AAClB,UAAM,kBAAkB;AACxB,SAAK,KAAK,KAAK,GAAG,SAAS,IAAI,KAAK,KAAK,KAAK;AAC9C,SAAK,aAAa,QAAQ,UAAU;AAAA,EACtC;AAAA,EAGA,qBAAqB;AACnB,SAAK,aAAa,eAAe,KAAK,SAAS,UAAU,MAAM;AAAA,EACjE;AAAA,EAEA,SAAS;AACP,WAAO;AAAA;AAAA;AAAA,gBAGK,SAAS;AAAA,MACf,aAAa;AAAA,MACb,qBAAqB,KAAK;AAAA,IAC5B,CAAC,CAAC;AAAA;AAAA;AAAA,EAGR;AACF;AAlCqB,YACZ,SAAyB,CAAC,0BAAiB,0BAAQ,+BAAY;AAMzC;AAAA,EAA5B,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GAPR,YAOU;AAGe;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAVvB,YAUyB;AAS5C;AAAA,EADC,MAAM,QAAQ;AAAA,GAlBI,YAmBnB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.3T6ULO23.js";
|
|
4
4
|
import {
|
|
5
5
|
SynDivider
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.FBYEVEZ6.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.CHFWLQN5.js";
|
|
10
10
|
import {
|
|
11
11
|
SynergyElement
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.ECNXEYTN.js";
|
|
13
13
|
import {
|
|
14
14
|
__decorateClass
|
|
15
15
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -131,4 +131,4 @@ __decorateClass([
|
|
|
131
131
|
export {
|
|
132
132
|
SynOptgroup
|
|
133
133
|
};
|
|
134
|
-
//# sourceMappingURL=chunk.
|
|
134
|
+
//# sourceMappingURL=chunk.FUYMXIMF.js.map
|
|
@@ -38,13 +38,14 @@ var getValueFromOption = (option) => {
|
|
|
38
38
|
}
|
|
39
39
|
return value;
|
|
40
40
|
};
|
|
41
|
+
var getValuesFromOptions = (options) => options.map(getValueFromOption);
|
|
41
42
|
var checkValueBelongsToOption = (value, option) => {
|
|
42
|
-
if (!option ||
|
|
43
|
+
if (!option || value === void 0 || value === null || value === "") {
|
|
43
44
|
return false;
|
|
44
45
|
}
|
|
45
46
|
const optionValue = option.value;
|
|
46
47
|
const optionText = option.getTextLabel();
|
|
47
|
-
return value === optionValue || value === optionText;
|
|
48
|
+
return String(value) === String(optionValue) || String(value) === optionText;
|
|
48
49
|
};
|
|
49
50
|
|
|
50
51
|
export {
|
|
@@ -57,6 +58,7 @@ export {
|
|
|
57
58
|
createElementFromTemplateResult,
|
|
58
59
|
createOptionFromDifferentTypes,
|
|
59
60
|
getValueFromOption,
|
|
61
|
+
getValuesFromOptions,
|
|
60
62
|
checkValueBelongsToOption
|
|
61
63
|
};
|
|
62
|
-
//# sourceMappingURL=chunk.
|
|
64
|
+
//# sourceMappingURL=chunk.FVIRHFY6.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/components/combobox/utils.ts"],
|
|
4
|
-
"sourcesContent": ["import { type TemplateResult, html, render } from 'lit';\nimport { unsafeHTML } from 'lit/directives/unsafe-html.js';\nimport type SynOptGroup from '../optgroup/optgroup.js';\nimport type SynOption from '../option/option.component.js';\n\n/**\n * Get a list of all assigned elements for a given slot\n * @param slot The slot to query\n * @returns Flattened list of assigned elements\n */\nexport const getAssignedElementsForSlot = (slot: HTMLSlotElement) => Array.from(\n slot.assignedElements({ flatten: true }),\n) as HTMLElement[];\n\n/**\n * Retrieves the option or nested options from the provided HTMLElement.\n *\n * @param item - The HTMLElement representing the option or containing nested options.\n * @returns The found syn-option(s)\n */\nexport const getOptionOrNestedOptions = (item: HTMLElement): SynOption | SynOption[] => (\n item.tagName.toLocaleLowerCase() === 'syn-option' ? item as SynOption : Array.from(item.querySelectorAll<SynOption>(':scope > syn-option'))\n);\n\n/**\n * Check if an item is a syn-optgroup\n * @param item The item to check for\n * @returns True if the item is a SynOptgroup, false otherwise\n */\nexport const isOptgroup = (item: HTMLElement): item is SynOptGroup => (\n item.tagName.toLocaleLowerCase() === 'syn-optgroup'\n);\n\n/**\n * Get a list of only Option elements\n * @param items List of items to check for\n * @returns New array of all found syn-nav-items\n */\nexport const getAllOptions = (items: HTMLElement[]) => items.map(getOptionOrNestedOptions);\n\n/**\n * Get a list of only Optgroup elements\n * @param items List of items to check for\n * @returns New array of all found syn-optgroup's\n */\nexport const filterOnlyOptgroups = (items: HTMLElement[]) => items.filter(isOptgroup);\n\n/**\n * Normalize a string by removing accents and converting to lowercase\n * @param str The string to normalize\n * @returns The normalized string\n */\nexport const normalizeString = (str: string) => str.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '').toLowerCase();\n\n/**\n * Creates a `SynOption` element from a given `TemplateResult`.\n * We assume that the given `TemplateResult` is a <syn-option>.\n *\n * @param template - The `TemplateResult` to be rendered into a `SynOption`.\n * @returns The created SynOption element\n */\nexport const createElementFromTemplateResult = (template: TemplateResult) => {\n const container = document.createElement('div');\n render(template, container);\n return container.firstElementChild as HTMLElement;\n};\n\nconst getOptionOrUndefined = (element: HTMLElement) => (element.tagName.toLocaleLowerCase() === 'syn-option' ? element as SynOption : undefined);\n\n/**\n * This function takes an input of type `TemplateResult`, `string`, or `HTMLElement`\n * and creates an SynOption from it.\n *\n * @param option - The option which can be of type `TemplateResult`, `string` or `HTMLElement`.\n * @returns The created SynOption or undefined if the option was not a valid type.\n */\nexport const createOptionFromDifferentTypes = (option: TemplateResult | string | HTMLElement) => {\n if (!option) return undefined;\n\n if (option instanceof HTMLElement) {\n return getOptionOrUndefined(option);\n }\n\n if (typeof option === 'string') {\n const template = html`${unsafeHTML(option)}`;\n const element = createElementFromTemplateResult(template);\n return getOptionOrUndefined(element);\n }\n\n if (Object.prototype.hasOwnProperty.call(option, '_$litType$')) {\n const element = createElementFromTemplateResult(option);\n return getOptionOrUndefined(element);\n }\n\n return undefined;\n};\n\n/**\n * Gets the value from an option. If an option has no value, it will use the text label.\n * @param option The syn-option to get the value from\n * @returns The value of the option\n */\nexport const getValueFromOption = (option: SynOption) => {\n const { value } = option;\n if (value === undefined || value === null || value === '') {\n // If the option has no value, use the text label\n return option.getTextLabel();\n }\n return value;\n};\n\n/**\n * Check if a value belongs to the value or text label of an option.\n * @param value The value to check\n * @param option The option to check against\n * @returns True if the value belongs to the option, false otherwise\n */\nexport const checkValueBelongsToOption = (value: string, option: SynOption | undefined) => {\n if (!option ||
|
|
5
|
-
"mappings": ";AAAA,SAA8B,MAAM,cAAc;AAClD,SAAS,kBAAkB;AASpB,IAAM,6BAA6B,CAAC,SAA0B,MAAM;AAAA,EACzE,KAAK,iBAAiB,EAAE,SAAS,KAAK,CAAC;AACzC;AAQO,IAAM,2BAA2B,CAAC,SACvC,KAAK,QAAQ,kBAAkB,MAAM,eAAe,OAAoB,MAAM,KAAK,KAAK,iBAA4B,qBAAqB,CAAC;AAQrI,IAAM,aAAa,CAAC,SACzB,KAAK,QAAQ,kBAAkB,MAAM;AAQhC,IAAM,gBAAgB,CAAC,UAAyB,MAAM,IAAI,wBAAwB;AAOlF,IAAM,sBAAsB,CAAC,UAAyB,MAAM,OAAO,UAAU;AAO7E,IAAM,kBAAkB,CAAC,QAAgB,IAAI,UAAU,KAAK,EAAE,QAAQ,oBAAoB,EAAE,EAAE,YAAY;AAS1G,IAAM,kCAAkC,CAAC,aAA6B;AAC3E,QAAM,YAAY,SAAS,cAAc,KAAK;AAC9C,SAAO,UAAU,SAAS;AAC1B,SAAO,UAAU;AACnB;AAEA,IAAM,uBAAuB,CAAC,YAA0B,QAAQ,QAAQ,kBAAkB,MAAM,eAAe,UAAuB;AAS/H,IAAM,iCAAiC,CAAC,WAAkD;AAC/F,MAAI,CAAC,OAAQ,QAAO;AAEpB,MAAI,kBAAkB,aAAa;AACjC,WAAO,qBAAqB,MAAM;AAAA,EACpC;AAEA,MAAI,OAAO,WAAW,UAAU;AAC9B,UAAM,WAAW,OAAO,WAAW,MAAM,CAAC;AAC1C,UAAM,UAAU,gCAAgC,QAAQ;AACxD,WAAO,qBAAqB,OAAO;AAAA,EACrC;AAEA,MAAI,OAAO,UAAU,eAAe,KAAK,QAAQ,YAAY,GAAG;AAC9D,UAAM,UAAU,gCAAgC,MAAM;AACtD,WAAO,qBAAqB,OAAO;AAAA,EACrC;AAEA,SAAO;AACT;AAOO,IAAM,qBAAqB,CAAC,WAAsB;AACvD,QAAM,EAAE,MAAM,IAAI;AAClB,MAAI,UAAU,UAAa,UAAU,QAAQ,UAAU,IAAI;AAEzD,WAAO,OAAO,aAAa;AAAA,EAC7B;AACA,SAAO;AACT;AAQO,IAAM,4BAA4B,CAAC,
|
|
4
|
+
"sourcesContent": ["import { type TemplateResult, html, render } from 'lit';\nimport { unsafeHTML } from 'lit/directives/unsafe-html.js';\nimport type SynOptGroup from '../optgroup/optgroup.js';\nimport type SynOption from '../option/option.component.js';\n\n/**\n * Get a list of all assigned elements for a given slot\n * @param slot The slot to query\n * @returns Flattened list of assigned elements\n */\nexport const getAssignedElementsForSlot = (slot: HTMLSlotElement) => Array.from(\n slot.assignedElements({ flatten: true }),\n) as HTMLElement[];\n\n/**\n * Retrieves the option or nested options from the provided HTMLElement.\n *\n * @param item - The HTMLElement representing the option or containing nested options.\n * @returns The found syn-option(s)\n */\nexport const getOptionOrNestedOptions = (item: HTMLElement): SynOption | SynOption[] => (\n item.tagName.toLocaleLowerCase() === 'syn-option' ? item as SynOption : Array.from(item.querySelectorAll<SynOption>(':scope > syn-option'))\n);\n\n/**\n * Check if an item is a syn-optgroup\n * @param item The item to check for\n * @returns True if the item is a SynOptgroup, false otherwise\n */\nexport const isOptgroup = (item: HTMLElement): item is SynOptGroup => (\n item.tagName.toLocaleLowerCase() === 'syn-optgroup'\n);\n\n/**\n * Get a list of only Option elements\n * @param items List of items to check for\n * @returns New array of all found syn-nav-items\n */\nexport const getAllOptions = (items: HTMLElement[]) => items.map(getOptionOrNestedOptions);\n\n/**\n * Get a list of only Optgroup elements\n * @param items List of items to check for\n * @returns New array of all found syn-optgroup's\n */\nexport const filterOnlyOptgroups = (items: HTMLElement[]) => items.filter(isOptgroup);\n\n/**\n * Normalize a string by removing accents and converting to lowercase\n * @param str The string to normalize\n * @returns The normalized string\n */\nexport const normalizeString = (str: string) => str.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '').toLowerCase();\n\n/**\n * Creates a `SynOption` element from a given `TemplateResult`.\n * We assume that the given `TemplateResult` is a <syn-option>.\n *\n * @param template - The `TemplateResult` to be rendered into a `SynOption`.\n * @returns The created SynOption element\n */\nexport const createElementFromTemplateResult = (template: TemplateResult) => {\n const container = document.createElement('div');\n render(template, container);\n return container.firstElementChild as HTMLElement;\n};\n\nconst getOptionOrUndefined = (element: HTMLElement) => (element.tagName.toLocaleLowerCase() === 'syn-option' ? element as SynOption : undefined);\n\n/**\n * This function takes an input of type `TemplateResult`, `string`, or `HTMLElement`\n * and creates an SynOption from it.\n *\n * @param option - The option which can be of type `TemplateResult`, `string` or `HTMLElement`.\n * @returns The created SynOption or undefined if the option was not a valid type.\n */\nexport const createOptionFromDifferentTypes = (option: TemplateResult | string | HTMLElement) => {\n if (!option) return undefined;\n\n if (option instanceof HTMLElement) {\n return getOptionOrUndefined(option);\n }\n\n if (typeof option === 'string') {\n const template = html`${unsafeHTML(option)}`;\n const element = createElementFromTemplateResult(template);\n return getOptionOrUndefined(element);\n }\n\n if (Object.prototype.hasOwnProperty.call(option, '_$litType$')) {\n const element = createElementFromTemplateResult(option);\n return getOptionOrUndefined(element);\n }\n\n return undefined;\n};\n\n/**\n * Gets the value from an option. If an option has no value, it will use the text label.\n * @param option The syn-option to get the value from\n * @returns The value of the option\n */\nexport const getValueFromOption = (option: SynOption) => {\n const { value } = option;\n if (value === undefined || value === null || value === '') {\n // If the option has no value, use the text label\n return option.getTextLabel();\n }\n return value;\n};\n\n/**\n * Get the values for options. If an option has no value, it will use the text label.\n *\n * @param options List of syn-options to get the values from\n * @returns The values of the options\n */\nexport const getValuesFromOptions = (options: SynOption[]) => options.map(getValueFromOption);\n\n/**\n * Check if a value belongs to the value or text label of an option.\n * @param value The value to check\n * @param option The option to check against\n * @returns True if the value belongs to the option, false otherwise\n */\nexport const checkValueBelongsToOption = (value: string | number, option: SynOption | undefined) => {\n if (!option || value === undefined || value === null || value === '') {\n return false;\n }\n\n const optionValue = option.value;\n const optionText = option.getTextLabel();\n return String(value) === String(optionValue) || String(value) === optionText;\n};\n"],
|
|
5
|
+
"mappings": ";AAAA,SAA8B,MAAM,cAAc;AAClD,SAAS,kBAAkB;AASpB,IAAM,6BAA6B,CAAC,SAA0B,MAAM;AAAA,EACzE,KAAK,iBAAiB,EAAE,SAAS,KAAK,CAAC;AACzC;AAQO,IAAM,2BAA2B,CAAC,SACvC,KAAK,QAAQ,kBAAkB,MAAM,eAAe,OAAoB,MAAM,KAAK,KAAK,iBAA4B,qBAAqB,CAAC;AAQrI,IAAM,aAAa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OAAO;AAC3B,QAAM,aAAa,OAAO,aAAa;AACvC,SAAO,OAAO,KAAK,MAAM,OAAO,WAAW,KAAK,OAAO,KAAK,MAAM;AACpE;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/styles/component.styles.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n box-sizing: border-box;\n }\n\n :host *,\n :host *::before,\n :host *::after {\n box-sizing: inherit;\n }\n\n [hidden] {\n display: none !important;\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AACA,SAAS,WAAW;AAEpB,IAAO,2BAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
spinner_styles_default
|
|
3
|
+
} from "./chunk.7V7XEBE2.js";
|
|
1
4
|
import {
|
|
2
5
|
spinner_custom_styles_default
|
|
3
6
|
} from "./chunk.WQMTAEYE.js";
|
|
4
|
-
import {
|
|
5
|
-
spinner_styles_default
|
|
6
|
-
} from "./chunk.JLXCLATV.js";
|
|
7
7
|
import {
|
|
8
8
|
LocalizeController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.QLETXF4A.js";
|
|
10
10
|
import {
|
|
11
11
|
component_styles_default
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.FXJLG622.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.ECNXEYTN.js";
|
|
16
16
|
|
|
17
17
|
// src/components/spinner/spinner.component.ts
|
|
18
18
|
import { html } from "lit";
|
|
@@ -35,4 +35,4 @@ SynSpinner.styles = [component_styles_default, spinner_styles_default, spinner_c
|
|
|
35
35
|
export {
|
|
36
36
|
SynSpinner
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=chunk.
|
|
38
|
+
//# sourceMappingURL=chunk.GEMZSFPA.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/spinner/spinner.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './spinner.styles.js';\nimport customStyles from './spinner.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Spinners are used to show the progress of an indeterminate operation.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-spinner--docs\n * @status stable\n * @since 2.0\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --track-width - The width of the track.\n * @cssproperty --indicator-color - The color of the spinner's indicator.\n * @cssproperty --speed - The time it takes for the spinner to complete one animation cycle.\n */\nexport default class SynSpinner extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private readonly localize = new LocalizeController(this);\n\n render() {\n return html`\n <svg part=\"base\" class=\"spinner\" role=\"progressbar\" aria-label=${this.localize.term('loading')}>\n <circle class=\"spinner__track\"></circle>\n <circle class=\"spinner__indicator\"></circle>\n </svg>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AACA,SAAS,YAAY;AAoBrB,IAAqB,aAArB,cAAwC,eAAe;AAAA,EAAvD;AAAA;AAGE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAAA;AAAA,EAEvD,SAAS;AACP,WAAO;AAAA,uEAC4D,KAAK,SAAS,KAAK,SAAS,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKlG;AACF;AAbqB,WACZ,SAAyB,CAAC,0BAAiB,wBAAQ,6BAAY;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk.36EHOOOO.js";
|
|
4
4
|
import {
|
|
5
5
|
popup_styles_default
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.DEJAPNIZ.js";
|
|
7
7
|
import {
|
|
8
8
|
LocalizeController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.QLETXF4A.js";
|
|
10
10
|
import {
|
|
11
11
|
component_styles_default
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.FXJLG622.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.ECNXEYTN.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass,
|
|
18
18
|
__spreadProps,
|
|
@@ -426,4 +426,4 @@ __decorateClass([
|
|
|
426
426
|
export {
|
|
427
427
|
SynPopup
|
|
428
428
|
};
|
|
429
|
-
//# sourceMappingURL=chunk.
|
|
429
|
+
//# sourceMappingURL=chunk.GFD645IU.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/popup/popup.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* 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": ";;;;;;;;;;;;;;;;;;;;;;AACA,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;AAPhC;AAcA,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,oBAAW;AAGX,oBAAW;AAOV,iBAAQ;AAOO,0BAAwD;AAM5C,wBAAe;AAM1C,gBAAO;AAqBpC,kCAAyB;AAO0B,gCAA+C;AAU3C,uBAAc;AAGxC,iBAAQ;AAUmB,wBAAe;AAgBX,2BAAkB;AAQtB,uBAAc;AAkRtE,SAAQ,oBAAoB,MAAM;AAChC,UAAI,KAAK,eAAe,KAAK,UAAU;AACrC,cAAM,aAAa,KAAK,SAAS,sBAAsB;AACvD,cAAM,YAAY,KAAK,MAAM,sBAAsB;AACnD,cAAM,aAAa,KAAK,UAAU,SAAS,KAAK,KAAK,KAAK,UAAU,SAAS,QAAQ;AACrF,YAAI,WAAW;AACf,YAAI,WAAW;AACf,YAAI,YAAY;AAChB,YAAI,YAAY;AAChB,YAAI,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AW,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,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTooltip
|
|
3
|
-
} from "./chunk.
|
|
4
|
-
import {
|
|
5
|
-
range_styles_default
|
|
6
|
-
} from "./chunk.IM54DI3K.js";
|
|
3
|
+
} from "./chunk.KIVJSZWU.js";
|
|
7
4
|
import {
|
|
8
5
|
arraysDiffer,
|
|
9
6
|
getNormalizedValueFromClientX,
|
|
10
7
|
numericSort
|
|
11
8
|
} from "./chunk.236RSW67.js";
|
|
9
|
+
import {
|
|
10
|
+
range_styles_default
|
|
11
|
+
} from "./chunk.IM54DI3K.js";
|
|
12
12
|
import {
|
|
13
13
|
defaultValue
|
|
14
|
-
} from "./chunk.
|
|
14
|
+
} from "./chunk.3JDUKQRN.js";
|
|
15
15
|
import {
|
|
16
16
|
form_control_custom_styles_default,
|
|
17
17
|
form_control_styles_default
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.PTRCO527.js";
|
|
19
19
|
import {
|
|
20
20
|
FormControlController,
|
|
21
21
|
customErrorValidityState,
|
|
22
22
|
validValidityState
|
|
23
|
-
} from "./chunk.
|
|
23
|
+
} from "./chunk.J3GDDM6Q.js";
|
|
24
24
|
import {
|
|
25
25
|
HasSlotController
|
|
26
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.CHFWLQN5.js";
|
|
27
27
|
import {
|
|
28
28
|
LocalizeController
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.QLETXF4A.js";
|
|
30
30
|
import {
|
|
31
31
|
enableDefaultSettings
|
|
32
|
-
} from "./chunk.
|
|
32
|
+
} from "./chunk.YACUYJZN.js";
|
|
33
33
|
import {
|
|
34
34
|
component_styles_default
|
|
35
|
-
} from "./chunk.
|
|
35
|
+
} from "./chunk.FXJLG622.js";
|
|
36
36
|
import {
|
|
37
37
|
SynergyElement
|
|
38
|
-
} from "./chunk.
|
|
38
|
+
} from "./chunk.ECNXEYTN.js";
|
|
39
39
|
import {
|
|
40
40
|
__decorateClass,
|
|
41
41
|
__privateAdd,
|
|
@@ -715,4 +715,4 @@ SynRange = __decorateClass([
|
|
|
715
715
|
export {
|
|
716
716
|
SynRange
|
|
717
717
|
};
|
|
718
|
-
//# sourceMappingURL=chunk.
|
|
718
|
+
//# sourceMappingURL=chunk.GOAMFSM4.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/select/select.styles.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n display: block;\n }\n\n /** The popup */\n .select {\n flex: 1 1 auto;\n display: inline-flex;\n width: 100%;\n position: relative;\n vertical-align: middle;\n }\n\n .select::part(popup) {\n z-index: var(--syn-z-index-dropdown);\n }\n\n .select[data-current-placement^='top']::part(popup) {\n transform-origin: bottom;\n }\n\n .select[data-current-placement^='bottom']::part(popup) {\n transform-origin: top;\n }\n\n /* Combobox */\n .select__combobox {\n flex: 1;\n display: flex;\n width: 100%;\n min-width: 0;\n position: relative;\n align-items: center;\n justify-content: start;\n font-family: var(--syn-input-font-family);\n font-weight: var(--syn-input-font-weight);\n letter-spacing: var(--syn-input-letter-spacing);\n vertical-align: middle;\n overflow: hidden;\n cursor: pointer;\n transition:\n var(--syn-transition-fast) color,\n var(--syn-transition-fast) border,\n var(--syn-transition-fast) box-shadow,\n var(--syn-transition-fast) background-color;\n }\n\n .select__display-input {\n position: relative;\n width: 100%;\n font: inherit;\n border: none;\n background: none;\n color: var(--syn-input-color);\n cursor: inherit;\n overflow: hidden;\n padding: 0;\n margin: 0;\n -webkit-appearance: none;\n }\n\n .select__display-input::placeholder {\n color: var(--syn-input-placeholder-color);\n }\n\n .select:not(.select--disabled):hover .select__display-input {\n color: var(--syn-input-color-hover);\n }\n\n .select__display-input:focus {\n outline: none;\n }\n\n /* Visually hide the display input when multiple is enabled */\n .select--multiple:not(.select--placeholder-visible) .select__display-input {\n position: absolute;\n z-index: -1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n }\n\n .select__value-input {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n opacity: 0;\n z-index: -1;\n }\n\n .select__tags {\n display: flex;\n flex: 1;\n align-items: center;\n flex-wrap: wrap;\n margin-inline-start: var(--syn-spacing-2x-small);\n }\n\n .select__tags::slotted(syn-tag) {\n cursor: pointer !important;\n }\n\n .select--disabled .select__tags,\n .select--disabled .select__tags::slotted(syn-tag) {\n cursor: not-allowed !important;\n }\n\n /* Standard selects */\n .select--standard .select__combobox {\n background-color: var(--syn-input-background-color);\n border: solid var(--syn-input-border-width) var(--syn-input-border-color);\n }\n\n .select--standard.select--disabled .select__combobox {\n background-color: var(--syn-input-background-color-disabled);\n border-color: var(--syn-input-border-color-disabled);\n color: var(--syn-input-color-disabled);\n opacity: 0.5;\n cursor: not-allowed;\n outline: none;\n }\n\n .select--standard:not(.select--disabled).select--open .select__combobox,\n .select--standard:not(.select--disabled).select--focused .select__combobox {\n background-color: var(--syn-input-background-color-focus);\n border-color: var(--syn-input-border-color-focus);\n box-shadow: 0 0 0 var(--syn-focus-ring-width) var(--syn-input-focus-ring-color);\n }\n\n/* Sizes */\n .select--small .select__combobox {\n border-radius: var(--syn-input-border-radius-small);\n font-size: var(--syn-input-font-size-small);\n min-height: var(--syn-input-height-small);\n padding-block: 0;\n padding-inline: var(--syn-input-spacing-small);\n }\n\n .select--small .select__clear {\n margin-inline-start: var(--syn-input-spacing-small);\n }\n\n .select--small .select__prefix::slotted(*) {\n margin-inline-end: var(--syn-input-spacing-small);\n }\n\n .select--small.select--multiple:not(.select--placeholder-visible) .select__prefix::slotted(*) {\n margin-inline-start: var(--syn-input-spacing-small);\n }\n\n .select--small.select--multiple:not(.select--placeholder-visible) .select__combobox {\n padding-block: 2px;\n padding-inline-start: 0;\n }\n\n .select--small .select__tags {\n gap: 2px;\n }\n\n .select--medium .select__combobox {\n border-radius: var(--syn-input-border-radius-medium);\n font-size: var(--syn-input-font-size-medium);\n min-height: var(--syn-input-height-medium);\n padding-block: 0;\n padding-inline: var(--syn-input-spacing-medium);\n }\n\n .select--medium .select__clear {\n margin-inline-start: var(--syn-input-spacing-medium);\n }\n\n .select--medium .select__prefix::slotted(*) {\n margin-inline-end: var(--syn-input-spacing-medium);\n }\n\n .select--medium.select--multiple:not(.select--placeholder-visible) .select__prefix::slotted(*) {\n margin-inline-start: var(--syn-input-spacing-medium);\n }\n\n .select--medium.select--multiple:not(.select--placeholder-visible) .select__combobox {\n padding-inline-start: 0;\n padding-block: 3px;\n }\n\n .select--medium .select__tags {\n gap: 3px;\n }\n\n .select--large .select__combobox {\n border-radius: var(--syn-input-border-radius-large);\n font-size: var(--syn-input-font-size-large);\n min-height: var(--syn-input-height-large);\n padding-block: 0;\n padding-inline: var(--syn-input-spacing-large);\n }\n\n .select--large .select__clear {\n margin-inline-start: var(--syn-input-spacing-large);\n }\n\n .select--large .select__prefix::slotted(*) {\n margin-inline-end: var(--syn-input-spacing-large);\n }\n\n .select--large.select--multiple:not(.select--placeholder-visible) .select__prefix::slotted(*) {\n margin-inline-start: var(--syn-input-spacing-large);\n }\n\n .select--large.select--multiple:not(.select--placeholder-visible) .select__combobox {\n padding-inline-start: 0;\n padding-block: 4px;\n }\n\n .select--large .select__tags {\n gap: 4px;\n }/* Prefix and Suffix */\n .select__prefix,\n .select__suffix {\n flex: 0;\n display: inline-flex;\n align-items: center;\n color: var(--syn-input-placeholder-color);\n }\n\n .select__suffix::slotted(*) {\n margin-inline-start: var(--syn-spacing-small);\n }\n\n /* Clear button */\n .select__clear {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: inherit;\n color: var(--syn-input-icon-color);\n border: none;\n background: none;\n padding: 0;\n transition: var(--syn-transition-fast) color;\n cursor: pointer;\n }\n\n .select__clear:hover {\n color: var(--syn-input-icon-color-hover);\n }\n\n .select__clear:focus {\n outline: none;\n }\n\n /* Expand icon */\n .select__expand-icon {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n transition: var(--syn-transition-medium) rotate ease;\n rotate: 0;\n margin-inline-start: var(--syn-spacing-small);\n }\n\n .select--open .select__expand-icon {\n rotate: -180deg;\n }\n\n /* Listbox */\n .select__listbox {\n display: block;\n position: relative;\n font-family: var(--syn-font-sans);\n font-size: var(--syn-font-size-medium);\n font-weight: var(--syn-font-weight-normal);\n box-shadow: var(--syn-shadow-large);\n background: var(--syn-panel-background-color);\n border: solid var(--syn-panel-border-width) var(--syn-panel-border-color);\n border-radius: var(--syn-border-radius-medium);\n padding-block: var(--syn-spacing-x-small);\n padding-inline: 0;\n overflow: auto;\n overscroll-behavior: none;\n\n /* Make sure it adheres to the popup's auto size */\n max-width: var(--auto-size-available-width);\n max-height: var(--auto-size-available-height);\n }\n\n .select__listbox ::slotted(syn-divider) {\n --spacing: var(--syn-spacing-x-small);\n }\n\n .select__listbox ::slotted(small) {\n display: block;\n font-size: var(--syn-font-size-small);\n font-weight: var(--syn-font-weight-semibold);\n color: var(--syn-color-neutral-500);\n padding-block: var(--syn-spacing-2x-small);\n padding-inline: var(--syn-spacing-x-large);\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AACA,SAAS,WAAW;AAEpB,IAAO,wBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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AA;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
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynTag
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.5QYKBLQ4.js";
|
|
4
4
|
|
|
5
5
|
// src/components/tag/tag.ts
|
|
6
6
|
var tag_default = SynTag;
|
|
@@ -9,4 +9,4 @@ SynTag.define("syn-tag");
|
|
|
9
9
|
export {
|
|
10
10
|
tag_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.H5WUQAD7.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/tag/tag.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport SynTag from './tag.component.js';\n\nexport * from './tag.component.js';\nexport default SynTag;\n\nSynTag.define('syn-tag');\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-tag': SynTag;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AAIA,IAAO,cAAQ;AAEf,OAAO,OAAO,SAAS;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk.GZHQAHOL.js";
|
|
4
4
|
import {
|
|
5
5
|
menu_label_styles_default
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.JILCM7FD.js";
|
|
7
7
|
import {
|
|
8
8
|
SynDivider
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.FBYEVEZ6.js";
|
|
10
10
|
import {
|
|
11
11
|
component_styles_default
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.FXJLG622.js";
|
|
13
13
|
import {
|
|
14
14
|
SynergyElement
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.ECNXEYTN.js";
|
|
16
16
|
|
|
17
17
|
// src/components/menu-label/menu-label.component.ts
|
|
18
18
|
import { html } from "lit";
|
|
@@ -34,4 +34,4 @@ SynMenuLabel.dependencies = {
|
|
|
34
34
|
export {
|
|
35
35
|
SynMenuLabel
|
|
36
36
|
};
|
|
37
|
-
//# sourceMappingURL=chunk.
|
|
37
|
+
//# sourceMappingURL=chunk.H647D2ZB.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/menu-label/menu-label.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { html } from 'lit';\nimport SynDivider from '../divider/divider.component.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './menu-label.styles.js';\nimport customStyles from './menu-label.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Menu labels are used to describe a group of menu items.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-menu-label--docs\n * @status stable\n * @since 2.0\n *\n * @slot - The menu label's content.\n *\n * @csspart base - The component's base wrapper.\n * @csspart divider - The divider that is displayed above the content\n * @csspart label - The label that is displayed below the divider\n *\n * @dependency syn-divider\n *\n * @cssproperty --display-divider - Display property of the divider. Defaults to \"block\"\n */\nexport default class SynMenuLabel extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n static dependencies = {\n 'syn-divider': SynDivider,\n };\n \n render() {\n return html`\n <div part=\"base\" class=\"menu-label-wrapper\">\n <syn-divider class=\"menu-label__divider\" part=\"divider\"></syn-divider>\n <slot part=\"label\" class=\"menu-label\"></slot>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-menu-label': SynMenuLabel;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AACA,SAAS,YAAY;AAwBrB,IAAqB,eAArB,cAA0C,eAAe;AAAA,EAOvD,SAAS;AACP,WAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMT;AACF;AAfqB,aACZ,SAAyB,CAAC,0BAAiB,2BAAQ,gCAAY;AADnD,aAGZ,eAAe;AAAA,EACpB,eAAe;AACjB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formCollections
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.J3GDDM6Q.js";
|
|
4
4
|
|
|
5
5
|
// src/utilities/form.ts
|
|
6
6
|
function serialize(form) {
|
|
@@ -37,4 +37,4 @@ export {
|
|
|
37
37
|
serialize,
|
|
38
38
|
getFormControls
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=chunk.
|
|
40
|
+
//# sourceMappingURL=chunk.H6EHQYZA.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/utilities/form.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { formCollections } from '../internal/form.js';\n\n/**\n * Serializes a form and returns a plain object. If a form control with the same name appears more than once, the\n * property will be converted to an array.\n */\nexport function serialize(form: HTMLFormElement) {\n const formData = new FormData(form);\n const object: Record<string, unknown> = {};\n\n formData.forEach((value, key) => {\n if (Reflect.has(object, key)) {\n const entry = object[key];\n if (Array.isArray(entry)) {\n entry.push(value);\n } else {\n object[key] = [object[key], value];\n }\n } else {\n object[key] = value;\n }\n });\n\n return object;\n}\n\n/**\n * Returns all form controls that are associated with the specified form. Includes both native and Synergy form\n * controls. Use this function in lieu of the `HTMLFormElement.elements` property, which doesn't recognize Synergy\n * form controls.\n */\nexport function getFormControls(form: HTMLFormElement) {\n const rootNode = form.getRootNode() as Document | ShadowRoot;\n const allNodes = [...rootNode.querySelectorAll('*')];\n const formControls = [...form.elements];\n const collection = formCollections.get(form);\n const synergyFormControls = collection ? Array.from(collection) : [];\n\n // To return form controls in the right order, we sort by DOM index\n return [...formControls, ...synergyFormControls].sort((a: Element, b: Element) => {\n if (allNodes.indexOf(a) < allNodes.indexOf(b)) return -1;\n if (allNodes.indexOf(a) > allNodes.indexOf(b)) return 1;\n return 0;\n });\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AAOO,SAAS,UAAU,MAAuB;AAC/C,QAAM,WAAW,IAAI,SAAS,IAAI;AAClC,QAAM,SAAkC,CAAC;AAEzC,WAAS,QAAQ,CAAC,OAAO,QAAQ;AAC/B,QAAI,QAAQ,IAAI,QAAQ,GAAG,GAAG;AAC5B,YAAM,QAAQ,OAAO,GAAG;AACxB,UAAI,MAAM,QAAQ,KAAK,GAAG;AACxB,cAAM,KAAK,KAAK;AAAA,MAClB,OAAO;AACL,eAAO,GAAG,IAAI,CAAC,OAAO,GAAG,GAAG,KAAK;AAAA,MACnC;AAAA,IACF,OAAO;AACL,aAAO,GAAG,IAAI;AAAA,IAChB;AAAA,EACF,CAAC;AAED,SAAO;AACT;AAOO,SAAS,gBAAgB,MAAuB;AACrD,QAAM,WAAW,KAAK,YAAY;AAClC,QAAM,WAAW,CAAC,GAAG,SAAS,iBAAiB,GAAG,CAAC;AACnD,QAAM,eAAe,CAAC,GAAG,KAAK,QAAQ;AACtC,QAAM,aAAa,gBAAgB,IAAI,IAAI;AAC3C,QAAM,sBAAsB,aAAa,MAAM,KAAK,UAAU,IAAI,CAAC;AAGnE,SAAO,CAAC,GAAG,cAAc,GAAG,mBAAmB,EAAE,KAAK,CAAC,GAAY,MAAe;AAChF,QAAI,SAAS,QAAQ,CAAC,IAAI,SAAS,QAAQ,CAAC,EAAG,QAAO;AACtD,QAAI,SAAS,QAAQ,CAAC,IAAI,SAAS,QAAQ,CAAC,EAAG,QAAO;AACtD,WAAO;AAAA,EACT,CAAC;AACH;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
icon_button_styles_default
|
|
3
|
-
} from "./chunk.DZ7YIR5N.js";
|
|
4
1
|
import {
|
|
5
2
|
icon_button_custom_styles_default
|
|
6
3
|
} from "./chunk.OQUVO5QW.js";
|
|
4
|
+
import {
|
|
5
|
+
icon_button_styles_default
|
|
6
|
+
} from "./chunk.DAIQ5WRI.js";
|
|
7
7
|
import {
|
|
8
8
|
SynIcon
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.KHRQ5VI4.js";
|
|
10
10
|
import {
|
|
11
11
|
enableDefaultSettings
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.YACUYJZN.js";
|
|
13
13
|
import {
|
|
14
14
|
component_styles_default
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.FXJLG622.js";
|
|
16
16
|
import {
|
|
17
17
|
SynergyElement
|
|
18
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.ECNXEYTN.js";
|
|
19
19
|
import {
|
|
20
20
|
__decorateClass
|
|
21
21
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -144,4 +144,4 @@ SynIconButton = __decorateClass([
|
|
|
144
144
|
export {
|
|
145
145
|
SynIconButton
|
|
146
146
|
};
|
|
147
|
-
//# sourceMappingURL=chunk.
|
|
147
|
+
//# sourceMappingURL=chunk.I5ABAZLK.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/icon-button/icon-button.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html, literal } from 'lit/static-html.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIcon from '../icon/icon.component.js';\nimport styles from './icon-button.styles.js';\nimport customStyles from './icon-button.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Icons buttons are simple, icon-only buttons that can be used for actions and in toolbars.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-icon-button--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n *\n * @event syn-blur - Emitted when the icon button loses focus.\n * @event syn-focus - Emitted when the icon button gains focus.\n *\n * @csspart base - The component's base wrapper.\n */\n@enableDefaultSettings('SynIconButton')\nexport default class SynIconButton extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon': SynIcon };\n\n @query('.icon-button') button: HTMLButtonElement | HTMLLinkElement;\n\n @state() private hasFocus = false;\n\n /** The name of the icon to draw. Available names depend on the icon library being used. */\n @property() name?: string;\n\n /** The name of a registered custom icon library. */\n @property() library?: string;\n\n /**\n * An external URL of an SVG file. Be sure you trust the content you are including, as it will be executed as code and\n * can result in XSS attacks.\n */\n @property() src?: string;\n\n /** When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`. */\n @property() href?: string;\n\n /** Tells the browser where to open the link. Only used when `href` is set. */\n @property() target?: '_blank' | '_parent' | '_self' | '_top';\n\n /** Tells the browser to download the linked file as this filename. Only used when `href` is set. */\n @property() download?: string;\n\n /**\n * A description that gets read by assistive devices. For optimal accessibility, you should always include a label\n * that describes what the icon button does.\n */\n @property() label = '';\n\n /** The icon button's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' | 'inherit' = 'inherit';\n\n /**\n * The color of the icon button.\n * The default \"currentColor\" makes it possible to easily style the icon button from outside without any CSS variables.\n */\n @property({ reflect: true }) color: 'currentColor' | 'primary' | 'neutral' = 'currentColor';\n\n /** Disables the button. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n private handleClick(event: MouseEvent) {\n if (this.disabled) {\n event.preventDefault();\n event.stopPropagation();\n }\n }\n\n /** Simulates a click on the icon button. */\n click() {\n this.button.click();\n }\n\n /** Sets focus on the icon button. */\n focus(options?: FocusOptions) {\n this.button.focus(options);\n }\n\n /** Removes focus from the icon button. */\n blur() {\n this.button.blur();\n }\n\n render() {\n const isLink = this.href ? true : false;\n const tag = isLink ? literal`a` : literal`button`;\n\n /* eslint-disable lit/binding-positions, lit/no-invalid-html */\n return html`\n <${tag}\n part=\"base\"\n class=${classMap({\n 'icon-button': true,\n 'icon-button--disabled': !isLink && this.disabled,\n 'icon-button--focused': this.hasFocus,\n 'icon-button--small': this.size === 'small',\n 'icon-button--medium': this.size === 'medium',\n 'icon-button--large': this.size === 'large',\n })}\n ?disabled=${ifDefined(isLink ? undefined : this.disabled)}\n type=${ifDefined(isLink ? undefined : 'button')}\n href=${ifDefined(isLink ? this.href : undefined)}\n target=${ifDefined(isLink ? this.target : undefined)}\n download=${ifDefined(isLink ? this.download : undefined)}\n rel=${ifDefined(isLink && this.target ? 'noreferrer noopener' : undefined)}\n role=${ifDefined(isLink ? undefined : 'button')}\n aria-disabled=${this.disabled ? 'true' : 'false'}\n aria-label=\"${this.label}\"\n tabindex=${this.disabled ? '-1' : '0'}\n @blur=${this.handleBlur}\n @focus=${this.handleFocus}\n @click=${this.handleClick}\n >\n <syn-icon\n class=\"icon-button__icon\"\n name=${ifDefined(this.name)}\n library=${ifDefined(this.library)}\n src=${ifDefined(this.src)}\n aria-hidden=\"true\"\n ></syn-icon>\n </${tag}>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AACzB,SAAS,MAAM,eAAe;AAC9B,SAAS,iBAAiB;AAC1B,SAAS,UAAU,OAAO,aAAa;AAuBvC,IAAqB,gBAArB,cAA2C,eAAe;AAAA,EAA1D;AAAA;AAMW,SAAQ,WAAW;AA2BhB,iBAAQ;AAGS,gBAAiD;AAMjD,iBAAiD;AAGlC,oBAAW;AAAA;AAAA,EAE/C,aAAa;AACnB,SAAK,WAAW;AAChB,SAAK,KAAK,UAAU;AAAA,EACtB;AAAA,EAEQ,cAAc;AACpB,SAAK,WAAW;AAChB,SAAK,KAAK,WAAW;AAAA,EACvB;AAAA,EAEQ,YAAY,OAAmB;AACrC,QAAI,KAAK,UAAU;AACjB,YAAM,eAAe;AACrB,YAAM,gBAAgB;AAAA,IACxB;AAAA,EACF;AAAA;AAAA,EAGA,QAAQ;AACN,SAAK,OAAO,MAAM;AAAA,EACpB;AAAA;AAAA,EAGA,MAAM,SAAwB;AAC5B,SAAK,OAAO,MAAM,OAAO;AAAA,EAC3B;AAAA;AAAA,EAGA,OAAO;AACL,SAAK,OAAO,KAAK;AAAA,EACnB;AAAA,EAEA,SAAS;AACP,UAAM,SAAS,KAAK,OAAO,OAAO;AAClC,UAAM,MAAM,SAAS,aAAa;AAGlC,WAAO;AAAA,SACF,GAAG;AAAA;AAAA,gBAEI,SAAS;AAAA,MACf,eAAe;AAAA,MACf,yBAAyB,CAAC,UAAU,KAAK;AAAA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,cAwBP;AAGA;AAAA,EAAX,SAAS;AAAA,GA3BS,cA2BP;AAMA;AAAA,EAAX,SAAS;AAAA,GAjCS,cAiCP;AAGiB;AAAA,EAA5B,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GApCR,cAoCU;AAMA;AAAA,EAA5B,SAAS,EAAE,SAAS,KAAK,CAAC;AAAA,GA1CR,cA0CU;AAGe;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GA7CvB,cA6CyB;AA7CzB,gBAArB;AAAA,EADC,sBAAsB,eAAe;AAAA,GACjB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynProgressRing
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.XGBJ2PGD.js";
|
|
4
4
|
|
|
5
5
|
// src/components/progress-ring/progress-ring.ts
|
|
6
6
|
var progress_ring_default = SynProgressRing;
|
|
@@ -9,4 +9,4 @@ SynProgressRing.define("syn-progress-ring");
|
|
|
9
9
|
export {
|
|
10
10
|
progress_ring_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.IJIRSZXP.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/progress-ring/progress-ring.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport SynProgressRing from './progress-ring.component.js';\n\nexport * from './progress-ring.component.js';\nexport default SynProgressRing;\n\nSynProgressRing.define('syn-progress-ring');\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-progress-ring': SynProgressRing;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AAIA,IAAO,wBAAQ;AAEf,gBAAgB,OAAO,mBAAmB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynIconButton
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.I5ABAZLK.js";
|
|
4
4
|
|
|
5
5
|
// src/components/icon-button/icon-button.ts
|
|
6
6
|
var icon_button_default = SynIconButton;
|
|
@@ -9,4 +9,4 @@ SynIconButton.define("syn-icon-button");
|
|
|
9
9
|
export {
|
|
10
10
|
icon_button_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.IQ45XDXM.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/icon-button/icon-button.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport SynIconButton from './icon-button.component.js';\n\nexport * from './icon-button.component.js';\nexport default SynIconButton;\n\nSynIconButton.define('syn-icon-button');\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-icon-button': SynIconButton;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AAIA,IAAO,sBAAQ;AAEf,cAAc,OAAO,iBAAiB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|