@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
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./chunk.BVV2XKW3.js";
|
|
4
4
|
import {
|
|
5
5
|
breadcrumb_item_styles_default
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.OFKOVRHG.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.CHFWLQN5.js";
|
|
10
10
|
import {
|
|
11
11
|
watch
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.SMIMHADA.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";
|
|
@@ -120,4 +120,4 @@ __decorateClass([
|
|
|
120
120
|
export {
|
|
121
121
|
SynBreadcrumbItem
|
|
122
122
|
};
|
|
123
|
-
//# sourceMappingURL=chunk.
|
|
123
|
+
//# sourceMappingURL=chunk.BQTSV4AJ.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/breadcrumb-item/breadcrumb-item.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './breadcrumb-item.styles.js';\nimport customStyles from './breadcrumb-item.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-breadcrumb-item--docs\n * @status stable\n * @since 2.0\n *\n * @slot - The breadcrumb item's label.\n * @slot prefix - An optional prefix, usually an icon or icon button.\n * @slot suffix - An optional suffix, usually an icon or icon button.\n * @slot separator - The separator to use for the breadcrumb item. This will only change the separator for this item. If\n * you want to change it for all items in the group, set the separator on `<syn-breadcrumb>` instead.\n *\n * @csspart base - The component's base wrapper.\n * @csspart label - The breadcrumb item's label.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart separator - The container that wraps the separator.\n */\nexport default class SynBreadcrumbItem extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private readonly hasSlotController = new HasSlotController(this, 'prefix', 'suffix');\n\n @query('slot:not([name])') defaultSlot: HTMLSlotElement;\n\n @state() private renderType: 'button' | 'link' | 'dropdown' = 'button';\n\n /**\n * Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\n * internally. When unset, a button will be rendered instead.\n */\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 /** The `rel` attribute to use on the link. Only used when `href` is set. */\n @property() rel = 'noreferrer noopener';\n\n private setRenderType() {\n const hasDropdown =\n this.defaultSlot.assignedElements({ flatten: true }).filter(i => i.tagName.toLowerCase() === 'syn-dropdown')\n .length > 0;\n\n if (this.href) {\n this.renderType = 'link';\n return;\n }\n\n if (hasDropdown) {\n this.renderType = 'dropdown';\n return;\n }\n\n this.renderType = 'button';\n }\n\n @watch('href', { waitUntilFirstUpdate: true })\n hrefChanged() {\n this.setRenderType();\n }\n\n handleSlotChange() {\n this.setRenderType();\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n 'breadcrumb-item': true,\n 'breadcrumb-item--has-prefix': this.hasSlotController.test('prefix'),\n 'breadcrumb-item--has-suffix': this.hasSlotController.test('suffix')\n })}\n >\n <span part=\"prefix\" class=\"breadcrumb-item__prefix\">\n <slot name=\"prefix\"></slot>\n </span>\n\n ${this.renderType === 'link'\n ? html`\n <a\n part=\"label\"\n class=\"breadcrumb-item__label breadcrumb-item__label--link\"\n href=\"${this.href!}\"\n target=\"${ifDefined(this.target ? this.target : undefined)}\"\n rel=${ifDefined(this.target ? this.rel : undefined)}\n >\n <slot @slotchange=${this.handleSlotChange}></slot>\n </a>\n `\n : ''}\n ${this.renderType === 'button'\n ? html`\n <button part=\"label\" type=\"button\" class=\"breadcrumb-item__label breadcrumb-item__label--button\">\n <slot @slotchange=${this.handleSlotChange}></slot>\n </button>\n `\n : ''}\n ${this.renderType === 'dropdown'\n ? html`\n <div part=\"label\" class=\"breadcrumb-item__label breadcrumb-item__label--drop-down\">\n <slot @slotchange=${this.handleSlotChange}></slot>\n </div>\n `\n : ''}\n\n <span part=\"suffix\" class=\"breadcrumb-item__suffix\">\n <slot name=\"suffix\"></slot>\n </span>\n\n <span part=\"separator\" class=\"breadcrumb-item__separator\" aria-hidden=\"true\">\n <slot name=\"separator\"></slot>\n </span>\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,g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K,gBAAgB;AAAA;AAAA,gBAG7C,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWZ;AACF;AApGqB,kBACZ,SAAyB,CAAC,0BAAiB,gCAAQ,qCAAY;AAI3C;AAAA,EAA1B,MAAM,kBAAkB;AAAA,GALN,kBAKQ;AAEV;AAAA,EAAhB,MAAM;AAAA,GAPY,kBAOF;AAML;AAAA,EAAX,SAAS;AAAA,GAbS,kBAaP;AAGA;AAAA,EAAX,SAAS;AAAA,GAhBS,kBAgBP;AAGA;AAAA,EAAX,SAAS;AAAA,GAnBS,kBAmBP;AAqBZ;AAAA,EADC,MAAM,QAAQ,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAvC1B,kBAwCnB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/alert/alert.styles.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n display: contents;\n\n /* For better DX, we'll reset the margin here so the base part can inherit it */\n margin: 0;\n }\n\n .alert {\n position: relative;\n display: flex;\n align-items: stretch;\n background-color: var(--syn-panel-background-color);\n border: solid var(--syn-panel-border-width) var(--syn-panel-border-color);\n border-top-width: calc(var(--syn-panel-border-width) * 3);\n border-radius: var(--syn-border-radius-medium);\n font-family: var(--syn-font-sans);\n font-size: var(--syn-font-size-small);\n font-weight: var(--syn-font-weight-normal);\n line-height: 1.6;\n color: var(--syn-color-neutral-700);\n margin: inherit;\n }\n\n .alert:not(.alert--has-icon) .alert__icon,\n .alert:not(.alert--closable) .alert__close-button {\n display: none;\n }\n\n .alert__icon {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--syn-font-size-large);\n padding-inline-start: var(--syn-spacing-large);\n }\n\n .alert--has-countdown {\n border-bottom: none;\n }\n\n .alert__message {\n flex: 1 1 auto;\n display: block;\n padding: var(--syn-spacing-large);\n }\n\n .alert__close-button {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-size: var(--syn-font-size-medium);\n margin-inline-end: var(--syn-spacing-medium);\n align-self: center;\n }\n\n .alert__countdown {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: calc(var(--syn-panel-border-width) * 3);\n background-color: var(--syn-panel-border-color);\n display: flex;\n }\n\n .alert__countdown--ltr {\n justify-content: flex-end;\n }\n\n .alert__countdown .alert__countdown-elapsed {\n height: 100%;\n width: 0;\n }\n\n .alert--primary .alert__countdown-elapsed {\n background-color: var(--syn-color-primary-600);\n }\n\n .alert--success .alert__countdown-elapsed {\n background-color: var(--syn-color-success-600);\n }\n\n .alert--neutral .alert__countdown-elapsed {\n background-color: var(--syn-color-neutral-600);\n }\n\n .alert--warning .alert__countdown-elapsed {\n background-color: var(--syn-color-warning-600);\n }\n\n .alert--danger .alert__countdown-elapsed {\n background-color: var(--syn-color-danger-600);\n }\n\n .alert__timer {\n display: none;\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AACA,SAAS,WAAW;AAEpB,IAAO,uBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynPrioNav
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.S7JH7R5W.js";
|
|
4
4
|
|
|
5
5
|
// src/components/prio-nav/prio-nav.ts
|
|
6
6
|
var prio_nav_default = SynPrioNav;
|
|
@@ -9,4 +9,4 @@ SynPrioNav.define("syn-prio-nav");
|
|
|
9
9
|
export {
|
|
10
10
|
prio_nav_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.CEP5JF3B.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynDialog
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.T5GCLOJ6.js";
|
|
4
4
|
|
|
5
5
|
// src/components/dialog/dialog.ts
|
|
6
6
|
var dialog_default = SynDialog;
|
|
@@ -9,4 +9,4 @@ SynDialog.define("syn-dialog");
|
|
|
9
9
|
export {
|
|
10
10
|
dialog_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.CGHRPSUK.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/dialog/dialog.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport SynDialog from './dialog.component.js';\n\nexport * from './dialog.component.js';\nexport default SynDialog;\n\nSynDialog.define('syn-dialog');\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-dialog': SynDialog;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AAIA,IAAO,iBAAQ;AAEf,UAAU,OAAO,YAAY;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/internal/slot.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport type { ReactiveController, ReactiveControllerHost } from 'lit';\n\n/** A reactive controller that determines when slots exist. */\nexport class HasSlotController implements ReactiveController {\n host: ReactiveControllerHost & Element;\n slotNames: string[] = [];\n\n constructor(host: ReactiveControllerHost & Element, ...slotNames: string[]) {\n (this.host = host).addController(this);\n this.slotNames = slotNames;\n }\n\n private hasDefaultSlot() {\n return [...this.host.childNodes].some(node => {\n if (node.nodeType === node.TEXT_NODE && node.textContent!.trim() !== '') {\n return true;\n }\n\n if (node.nodeType === node.ELEMENT_NODE) {\n const el = node as HTMLElement;\n const tagName = el.tagName.toLowerCase();\n\n // Ignore visually hidden elements since they aren't rendered\n if (tagName === 'syn-visually-hidden') {\n return false;\n }\n\n // If it doesn't have a slot attribute, it's part of the default slot\n if (!el.hasAttribute('slot')) {\n return true;\n }\n }\n\n return false;\n });\n }\n\n private hasNamedSlot(name: string) {\n return this.host.querySelector(`:scope > [slot=\"${name}\"]`) !== null;\n }\n\n test(slotName: string) {\n return slotName === '[default]' ? this.hasDefaultSlot() : this.hasNamedSlot(slotName);\n }\n\n hostConnected() {\n this.host.shadowRoot!.addEventListener('slotchange', this.handleSlotChange);\n }\n\n hostDisconnected() {\n this.host.shadowRoot!.removeEventListener('slotchange', this.handleSlotChange);\n }\n\n private handleSlotChange = (event: Event) => {\n const slot = event.target as HTMLSlotElement;\n\n if ((this.slotNames.includes('[default]') && !slot.name) || (slot.name && this.slotNames.includes(slot.name))) {\n this.host.requestUpdate();\n }\n };\n}\n\n/**\n * Given a slot, this function iterates over all of its assigned element and text nodes and returns the concatenated\n * HTML as a string. This is useful because we can't use slot.innerHTML as an alternative.\n */\nexport function getInnerHTML(slot: HTMLSlotElement): string {\n const nodes = slot.assignedNodes({ flatten: true });\n let html = '';\n\n [...nodes].forEach(node => {\n if (node.nodeType === Node.ELEMENT_NODE) {\n html += (node as HTMLElement).outerHTML;\n }\n\n if (node.nodeType === Node.TEXT_NODE) {\n html += node.textContent;\n }\n });\n\n return html;\n}\n\n/**\n * Given a slot, this function iterates over all of its assigned text nodes and returns the concatenated text as a\n * string. This is useful because we can't use slot.textContent as an alternative.\n */\nexport function getTextContent(slot: HTMLSlotElement | undefined | null): string {\n if (!slot) {\n return '';\n }\n const nodes = slot.assignedNodes({ flatten: true });\n let text = '';\n\n [...nodes].forEach(node => {\n if (node.nodeType === Node.TEXT_NODE) {\n text += node.textContent;\n }\n });\n\n return text;\n}\n"],
|
|
5
|
+
"mappings": ";AAIO,IAAM,oBAAN,MAAsD;AAAA,EAI3D,YAAY,SAA2C,WAAqB;AAF5E,qBAAsB,CAAC;AAgDvB,SAAQ,mBAAmB,CAAC,UAAiB;AAC3C,YAAM,OAAO,MAAM;AAEnB,UAAK,KAAK,UAAU,SAAS,WAAW,KAAK,CAAC,KAAK,QAAU,KAAK,QAAQ,KAAK,UAAU,SAAS,KAAK,IAAI,GAAI;AAC7G,aAAK,KAAK,cAAc;AAAA,MAC1B;AAAA,IACF;AAnDE,KAAC,KAAK,OAAO,MAAM,cAAc,IAAI;AACrC,SAAK,YAAY;AAAA,EACnB;AAAA,EAEQ,iBAAiB;AACvB,WAAO,CAAC,GAAG,KAAK,KAAK,UAAU,EAAE,KAAK,UAAQ;AAC5C,UAAI,KAAK,aAAa,KAAK,aAAa,KAAK,YAAa,KAAK,MAAM,IAAI;AACvE,eAAO;AAAA,MACT;AAEA,UAAI,KAAK,aAAa,KAAK,cAAc;AACvC,cAAM,KAAK;AACX,cAAM,UAAU,GAAG,QAAQ,YAAY;AAGvC,YAAI,YAAY,uBAAuB;AACrC,iBAAO;AAAA,QACT;AAGA,YAAI,CAAC,GAAG,aAAa,MAAM,GAAG;AAC5B,iBAAO;AAAA,QACT;AAAA,MACF;AAEA,aAAO;AAAA,IACT,CAAC;AAAA,EACH;AAAA,EAEQ,aAAa,MAAc;AACjC,WAAO,KAAK,KAAK,cAAc,mBAAmB,IAAI,IAAI,MAAM;AAAA,EAClE;AAAA,EAEA,KAAK,UAAkB;AACrB,WAAO,aAAa,cAAc,KAAK,eAAe,IAAI,KAAK,aAAa,QAAQ;AAAA,EACtF;AAAA,EAEA,gBAAgB;AACd,SAAK,KAAK,WAAY,iBAAiB,cAAc,KAAK,gBAAgB;AAAA,EAC5E;AAAA,EAEA,mBAAmB;AACjB,SAAK,KAAK,WAAY,oBAAoB,cAAc,KAAK,gBAAgB;AAAA,EAC/E;AASF;AA2BO,SAAS,eAAe,MAAkD;AAC/E,MAAI,CAAC,MAAM;AACT,WAAO;AAAA,EACT;AACA,QAAM,QAAQ,KAAK,cAAc,EAAE,SAAS,KAAK,CAAC;AAClD,MAAI,OAAO;AAEX,GAAC,GAAG,KAAK,EAAE,QAAQ,UAAQ;AACzB,QAAI,KAAK,aAAa,KAAK,WAAW;AACpC,cAAQ,KAAK;AAAA,IACf;AAAA,EACF,CAAC;AAED,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
drawer_styles_default
|
|
3
|
-
} from "./chunk.N7QJ54ZM.js";
|
|
4
1
|
import {
|
|
5
2
|
drawer_custom_styles_default
|
|
6
3
|
} from "./chunk.I4FIU7FA.js";
|
|
4
|
+
import {
|
|
5
|
+
drawer_styles_default
|
|
6
|
+
} from "./chunk.UORFJFA2.js";
|
|
7
7
|
import {
|
|
8
8
|
Modal
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.P4JFVVSO.js";
|
|
10
10
|
import {
|
|
11
11
|
lockBodyScrolling,
|
|
12
12
|
unlockBodyScrolling
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.2DT3C6WE.js";
|
|
14
14
|
import {
|
|
15
15
|
blurActiveElement
|
|
16
16
|
} from "./chunk.WXVOTRW5.js";
|
|
17
17
|
import {
|
|
18
18
|
SynIconButton
|
|
19
|
-
} from "./chunk.
|
|
19
|
+
} from "./chunk.I5ABAZLK.js";
|
|
20
20
|
import {
|
|
21
21
|
waitForEvent
|
|
22
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.LQDIH4Z5.js";
|
|
23
23
|
import {
|
|
24
24
|
animateTo,
|
|
25
25
|
stopAnimations
|
|
26
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.Q6HZ4JXR.js";
|
|
27
27
|
import {
|
|
28
28
|
getAnimation,
|
|
29
29
|
setDefaultAnimation
|
|
30
|
-
} from "./chunk.
|
|
30
|
+
} from "./chunk.RJUVM6NO.js";
|
|
31
31
|
import {
|
|
32
32
|
HasSlotController
|
|
33
|
-
} from "./chunk.
|
|
33
|
+
} from "./chunk.CHFWLQN5.js";
|
|
34
34
|
import {
|
|
35
35
|
watch
|
|
36
|
-
} from "./chunk.
|
|
36
|
+
} from "./chunk.SMIMHADA.js";
|
|
37
37
|
import {
|
|
38
38
|
LocalizeController
|
|
39
|
-
} from "./chunk.
|
|
39
|
+
} from "./chunk.QLETXF4A.js";
|
|
40
40
|
import {
|
|
41
41
|
component_styles_default
|
|
42
|
-
} from "./chunk.
|
|
42
|
+
} from "./chunk.FXJLG622.js";
|
|
43
43
|
import {
|
|
44
44
|
SynergyElement
|
|
45
|
-
} from "./chunk.
|
|
45
|
+
} from "./chunk.ECNXEYTN.js";
|
|
46
46
|
import {
|
|
47
47
|
__decorateClass
|
|
48
48
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -407,4 +407,4 @@ setDefaultAnimation("drawer.overlay.hide", {
|
|
|
407
407
|
export {
|
|
408
408
|
SynDrawer
|
|
409
409
|
};
|
|
410
|
-
//# sourceMappingURL=chunk.
|
|
410
|
+
//# sourceMappingURL=chunk.CJMW4UVM.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/drawer/drawer.component.ts", "../../src/internal/string.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { animateTo, stopAnimations } from '../../internal/animate.js';\nimport { blurActiveElement } from '../../internal/closeActiveElement.js';\nimport { classMap } from 'lit/directives/class-map.js';\nimport { getAnimation, setDefaultAnimation } from '../../utilities/animation-registry.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { lockBodyScrolling, unlockBodyScrolling } from '../../internal/scroll.js';\nimport { property, query, state } from 'lit/decorators.js';\nimport { uppercaseFirstLetter } from '../../internal/string.js';\nimport { waitForEvent } from '../../internal/event.js';\nimport { watch } from '../../internal/watch.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport Modal from '../../internal/modal.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport SynIconButton from '../icon-button/icon-button.component.js';\nimport styles from './drawer.styles.js';\nimport customStyles from './drawer.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Drawers slide in from a container to expose additional options and information.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-drawer--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - The drawer's main content.\n * @slot label - The drawer's label. Alternatively, you can use the `label` attribute.\n * @slot header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @slot footer - The drawer's footer, usually one or more buttons representing various options.\n *\n * @event syn-show - Emitted when the drawer opens.\n * @event syn-after-show - Emitted after the drawer opens and all animations are complete.\n * @event syn-hide - Emitted when the drawer closes.\n * @event syn-after-hide - Emitted after the drawer closes and all animations are complete.\n * @event syn-initial-focus - Emitted when the drawer opens and is ready to receive focus. Calling\n * `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n * @event {{ source: 'close-button' | 'keyboard' | 'overlay' }} syn-request-close - Emitted when the user attempts to\n * close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling\n * `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in\n * destructive behavior such as data loss.\n *\n * @csspart base - The component's base wrapper.\n * @csspart overlay - The overlay that covers the screen behind the drawer.\n * @csspart panel - The drawer's panel (where the drawer and its content are rendered).\n * @csspart header - The drawer's header. This element wraps the title and header actions.\n * @csspart header-actions - Optional actions to add to the header. Works best with `<syn-icon-button>`.\n * @csspart title - The drawer's title.\n * @csspart close-button - The close button, an `<syn-icon-button>`.\n * @csspart close-button__base - The close button's exported `base` part.\n * @csspart body - The drawer's body.\n * @csspart footer - The drawer's footer.\n *\n * @cssproperty --size - The preferred size of the drawer. This will be applied to the drawer's width or height\n * depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens.\n * @cssproperty --header-spacing - The amount of padding to use for the header.\n * @cssproperty --body-spacing - The amount of padding to use for the body.\n * @cssproperty --footer-spacing - The amount of padding to use for the footer.\n *\n * @animation drawer.showTop - The animation to use when showing a drawer with `top` placement.\n * @animation drawer.showEnd - The animation to use when showing a drawer with `end` placement.\n * @animation drawer.showBottom - The animation to use when showing a drawer with `bottom` placement.\n * @animation drawer.showStart - The animation to use when showing a drawer with `start` placement.\n * @animation drawer.hideTop - The animation to use when hiding a drawer with `top` placement.\n * @animation drawer.hideEnd - The animation to use when hiding a drawer with `end` placement.\n * @animation drawer.hideBottom - The animation to use when hiding a drawer with `bottom` placement.\n * @animation drawer.hideStart - The animation to use when hiding a drawer with `start` placement.\n * @animation drawer.denyClose - The animation to use when a request to close the drawer is denied.\n * @animation drawer.overlay.show - The animation to use when showing the drawer's overlay.\n * @animation drawer.overlay.hide - The animation to use when hiding the drawer's overlay.\n *\n * @property modal - Exposes the internal modal utility that controls focus trapping. To temporarily disable focus\n * trapping and allow third-party modals spawned from an active Synergy modal, call `modal.activateExternal()` when\n * the third-party modal opens. Upon closing, call `modal.deactivateExternal()` to restore Synergy's focus trapping.\n */\nexport default class SynDrawer extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon-button': SynIconButton };\n\n private readonly hasSlotController = new HasSlotController(this, 'footer');\n private readonly localize = new LocalizeController(this);\n private originalTrigger: HTMLElement | null;\n public modal = new Modal(this);\n private closeWatcher: CloseWatcher | null;\n\n @state() private isVisible = false; // force visibility even with open set to false\n\n @query('.drawer') drawer: HTMLElement;\n @query('.drawer__panel') panel: HTMLElement;\n @query('.drawer__overlay') overlay: HTMLElement;\n\n /**\n * Indicates whether or not the drawer is open. You can toggle this attribute to show and hide the drawer, or you can\n * use the `show()` and `hide()` methods and this attribute will reflect the drawer's open state.\n */\n @property({ type: Boolean, reflect: true }) open = false;\n\n /**\n * The drawer's label as displayed in the header. You should always include a relevant label even when using\n * `no-header`, as it is required for proper accessibility. If you need to display HTML, use the `label` slot instead.\n */\n @property({ reflect: true }) label = '';\n\n /** The direction from which the drawer will open. */\n @property({ reflect: true }) placement: 'top' | 'end' | 'bottom' | 'start' = 'end';\n\n /**\n * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of\n * its parent element, set this attribute and add `position: relative` to the parent.\n */\n @property({ type: Boolean, reflect: true }) contained = false;\n\n /**\n * Removes the header. This will also remove the default close button, so please ensure you provide an easy,\n * accessible way for users to dismiss the drawer.\n */\n @property({ attribute: 'no-header', type: Boolean, reflect: true }) noHeader = false;\n\n firstUpdated() {\n this.drawer.hidden = this.isVisible ? false : !this.open;\n\n if (this.open) {\n this.addOpenListeners();\n\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n unlockBodyScrolling(this);\n this.removeOpenListeners();\n }\n\n private requestClose(source: 'close-button' | 'keyboard' | 'overlay') {\n const slRequestClose = this.emit('syn-request-close', {\n cancelable: true,\n detail: { source }\n });\n\n if (slRequestClose.defaultPrevented) {\n const animation = getAnimation(this, 'drawer.denyClose', { dir: this.localize.dir() });\n animateTo(this.panel, animation.keyframes, animation.options);\n return;\n }\n\n this.hide();\n }\n\n private addOpenListeners() {\n if ('CloseWatcher' in window) {\n this.closeWatcher?.destroy();\n if (!this.contained) {\n this.closeWatcher = new CloseWatcher();\n this.closeWatcher.onclose = () => this.requestClose('keyboard');\n }\n } else {\n document.addEventListener('keydown', this.handleDocumentKeyDown);\n }\n }\n\n private removeOpenListeners() {\n document.removeEventListener('keydown', this.handleDocumentKeyDown);\n this.closeWatcher?.destroy();\n }\n\n private handleDocumentKeyDown = (event: KeyboardEvent) => {\n // Contained drawers aren't modal and don't response to the escape key\n if (this.contained) {\n return;\n }\n\n if (event.key === 'Escape' && this.modal.isActive() && this.open) {\n event.stopImmediatePropagation();\n this.requestClose('keyboard');\n }\n };\n\n @watch('open', { waitUntilFirstUpdate: true })\n async handleOpenChange() {\n if (this.open) {\n // Show\n this.emit('syn-show');\n this.addOpenListeners();\n this.originalTrigger = document.activeElement as HTMLElement;\n\n // Lock body scrolling only if the drawer isn't contained\n if (!this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n\n // When the drawer is shown, Safari will attempt to set focus on whatever element has autofocus. This causes the\n // drawer's animation to jitter, so we'll temporarily remove the attribute, call `focus({ preventScroll: true })`\n // ourselves, and add the attribute back afterwards.\n //\n // Related: https://github.com/shoelace-style/shoelace/issues/693\n //\n const autoFocusTarget = this.querySelector('[autofocus]');\n if (autoFocusTarget) {\n autoFocusTarget.removeAttribute('autofocus');\n }\n\n await Promise.all([stopAnimations(this.drawer), stopAnimations(this.overlay)]);\n this.drawer.hidden = false;\n\n // Set initial focus\n requestAnimationFrame(() => {\n const slInitialFocus = this.emit('syn-initial-focus', { cancelable: true });\n\n if (!slInitialFocus.defaultPrevented) {\n // Set focus to the autofocus target and restore the attribute\n if (autoFocusTarget) {\n (autoFocusTarget as HTMLInputElement).focus({ preventScroll: true });\n } else {\n this.panel.focus({ preventScroll: true });\n }\n }\n\n // Restore the autofocus attribute\n if (autoFocusTarget) {\n autoFocusTarget.setAttribute('autofocus', '');\n }\n });\n\n const panelAnimation = getAnimation(this, `drawer.show${uppercaseFirstLetter(this.placement)}`, {\n dir: this.localize.dir()\n });\n const overlayAnimation = getAnimation(this, 'drawer.overlay.show', { dir: this.localize.dir() });\n await Promise.all([\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options),\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options)\n ]);\n\n this.emit('syn-after-show');\n } else {\n // Hide\n blurActiveElement(this);\n this.emit('syn-hide');\n this.removeOpenListeners();\n\n if (!this.contained) {\n this.modal.deactivate();\n unlockBodyScrolling(this);\n }\n\n await Promise.all([stopAnimations(this.drawer), stopAnimations(this.overlay)]);\n const panelAnimation = getAnimation(this, `drawer.hide${uppercaseFirstLetter(this.placement)}`, {\n dir: this.localize.dir()\n });\n const overlayAnimation = getAnimation(this, 'drawer.overlay.hide', { dir: this.localize.dir() });\n\n // Animate the overlay and the panel at the same time. Because animation durations might be different, we need to\n // hide each one individually when the animation finishes, otherwise the first one that finishes will reappear\n // unexpectedly. We'll unhide them after all animations have completed.\n await Promise.all([\n animateTo(this.overlay, overlayAnimation.keyframes, overlayAnimation.options).then(() => {\n this.overlay.hidden = true;\n }),\n animateTo(this.panel, panelAnimation.keyframes, panelAnimation.options).then(() => {\n this.panel.hidden = true;\n })\n ]);\n\n this.drawer.hidden = !this.isVisible;\n\n // Now that the dialog is hidden, restore the overlay and panel for next time\n this.overlay.hidden = false;\n this.panel.hidden = false;\n\n // Restore focus to the original trigger\n const trigger = this.originalTrigger;\n if (typeof trigger?.focus === 'function') {\n setTimeout(() => trigger.focus());\n }\n\n this.emit('syn-after-hide');\n }\n }\n\n @watch('contained', { waitUntilFirstUpdate: true })\n handleNoModalChange() {\n if (this.open && !this.contained) {\n this.modal.activate();\n lockBodyScrolling(this);\n }\n\n if (this.open && this.contained) {\n this.modal.deactivate();\n unlockBodyScrolling(this);\n }\n }\n\n /** Shows the drawer. */\n async show() {\n if (this.open) {\n return undefined;\n }\n\n this.open = true;\n return waitForEvent(this, 'syn-after-show');\n }\n\n /** Hides the drawer */\n async hide() {\n if (!this.open) {\n return undefined;\n }\n\n this.open = false;\n return waitForEvent(this, 'syn-after-hide');\n }\n\n // Forces the visibility of the drawer even with `open` set to false. This is needed for the `rail` and `sticky` variant of the syn-side-nav\n forceVisibility(isVisible: boolean) {\n this.isVisible = isVisible;\n this.drawer.hidden = isVisible ? false : !this.open;\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n drawer: true,\n 'drawer--open': this.open,\n 'drawer--top': this.placement === 'top',\n 'drawer--end': this.placement === 'end',\n 'drawer--bottom': this.placement === 'bottom',\n 'drawer--start': this.placement === 'start',\n 'drawer--contained': this.contained,\n 'drawer--fixed': !this.contained,\n 'drawer--rtl': this.localize.dir() === 'rtl',\n 'drawer--has-footer': this.hasSlotController.test('footer')\n })}\n >\n <div part=\"overlay\" class=\"drawer__overlay\" @click=${() => this.requestClose('overlay')} tabindex=\"-1\"></div>\n\n <div\n part=\"panel\"\n class=\"drawer__panel\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-hidden=${this.isVisible ? 'false' : this.open ? 'false' : 'true'}\n aria-label=${ifDefined(this.noHeader ? this.label : undefined)}\n aria-labelledby=${ifDefined(!this.noHeader ? 'title' : undefined)}\n tabindex=\"0\"\n >\n ${!this.noHeader\n ? html`\n <header part=\"header\" class=\"drawer__header\">\n <h2 part=\"title\" class=\"drawer__title\" id=\"title\">\n <!-- If there's no label, use an invisible character to prevent the header from collapsing -->\n <slot name=\"label\"> ${this.label.length > 0 ? this.label : String.fromCharCode(65279)} </slot>\n </h2>\n <div part=\"header-actions\" class=\"drawer__header-actions\">\n <slot name=\"header-actions\"></slot>\n <syn-icon-button\n part=\"close-button\"\n exportparts=\"base:close-button__base\"\n class=\"drawer__close\"\n name=\"x-lg\"\n label=${this.localize.term('close')}\n library=\"system\"\n @click=${() => this.requestClose('close-button')}\n ></syn-icon-button>\n </div>\n </header>\n `\n : ''}\n\n <slot part=\"body\" class=\"drawer__body\"></slot>\n\n <footer part=\"footer\" class=\"drawer__footer\">\n <slot name=\"footer\"></slot>\n </footer>\n </div>\n </div>\n `;\n }\n}\n\n// Top\nsetDefaultAnimation('drawer.showTop', {\n keyframes: [\n { opacity: 0, translate: '0 -100%' },\n { opacity: 1, translate: '0 0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideTop', {\n keyframes: [\n { opacity: 1, translate: '0 0' },\n { opacity: 0, translate: '0 -100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// End\nsetDefaultAnimation('drawer.showEnd', {\n keyframes: [\n { opacity: 0, translate: '100%' },\n { opacity: 1, translate: '0' }\n ],\n rtlKeyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideEnd', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '100%' }\n ],\n rtlKeyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Bottom\nsetDefaultAnimation('drawer.showBottom', {\n keyframes: [\n { opacity: 0, translate: '0 100%' },\n { opacity: 1, translate: '0 0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideBottom', {\n keyframes: [\n { opacity: 1, translate: '0 0' },\n { opacity: 0, translate: '0 100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Start\nsetDefaultAnimation('drawer.showStart', {\n keyframes: [\n { opacity: 0, translate: '-100%' },\n { opacity: 1, translate: '0' }\n ],\n rtlKeyframes: [\n { opacity: 0, translate: '100%' },\n { opacity: 1, translate: '0' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\nsetDefaultAnimation('drawer.hideStart', {\n keyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '-100%' }\n ],\n rtlKeyframes: [\n { opacity: 1, translate: '0' },\n { opacity: 0, translate: '100%' }\n ],\n options: { duration: 250, easing: 'ease' }\n});\n\n// Deny close\nsetDefaultAnimation('drawer.denyClose', {\n keyframes: [{ scale: 1 }, { scale: 1.01 }, { scale: 1 }],\n options: { duration: 250 }\n});\n\n// Overlay\nsetDefaultAnimation('drawer.overlay.show', {\n keyframes: [{ opacity: 0 }, { opacity: 1 }],\n options: { duration: 250 }\n});\n\nsetDefaultAnimation('drawer.overlay.hide', {\n keyframes: [{ opacity: 1 }, { opacity: 0 }],\n options: { duration: 250 }\n});\n", "/* eslint-disable */\n/** Converts the first letter of a string to uppercase */\nexport function uppercaseFirstLetter(string: string) {\n return string.charAt(0).toUpperCase() + string.slice(1);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,SAAS,gBAAgB;AAGzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAG1B,SAAS,UAAU,OAAO,aAAa;;;ACRhC,SAAS,qBAAqB,QAAgB;AACnD,SAAO,OAAO,OAAO,CAAC,EAAE,YAAY,IAAI,OAAO,MAAM,CAAC;AACxD;;;AD2EA,IAAqB,YAArB,cAAuC,eAAe;AAAA,EAAtD;AAAA;AAIE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,QAAQ;AACzE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAEvD,SAAO,QAAQ,IAAI,MAAM,IAAI;AAGpB,SAAQ,YAAY;AAUe,gBAAO;AAMtB,iBAAQ;AAGR,qBAAgD;AAMjC,qBAAY;AAMY,oBAAW;AAqD/E,SAAQ,wBAAwB,CAAC,UAAyB;AAExD,UAAI,KAAK,WAAW;AAClB;AAAA,MACF;AAEA,UAAI,MAAM,QAAQ,YAAY,KAAK,MAAM,SAAS,KAAK,KAAK,MAA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/B;AAAA,EACA,cAAc;AAAA,IACZ,EAAE,SAAS,GAAG,WAAW,OAAO;AAAA,IAChC,EAAE,SAAS,GAAG,WAAW,IAAI;AAAA,EAC/B;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAED,oBAAoB,oBAAoB;AAAA,EACtC,WAAW;AAAA,IACT,EAAE,SAAS,GAAG,WAAW,IAAI;AAAA,IAC7B,EAAE,SAAS,GAAG,WAAW,QAAQ;AAAA,EACnC;AAAA,EACA,cAAc;AAAA,IACZ,EAAE,SAAS,GAAG,WAAW,IAAI;AAAA,IAC7B,EAAE,SAAS,GAAG,WAAW,OAAO;AAAA,EAClC;AAAA,EACA,SAAS,EAAE,UAAU,KAAK,QAAQ,OAAO;AAC3C,CAAC;AAGD,oBAAoB,oBAAoB;AAAA,EACtC,WAAW,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,KAAK,GAAG,EAAE,OAAO,EAAE,CAAC;AAAA,EACvD,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;AAGD,oBAAoB,uBAAuB;AAAA,EACzC,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;AAED,oBAAoB,uBAAuB;AAAA,EACzC,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;AAAA,EAC1C,SAAS,EAAE,UAAU,IAAI;AAC3B,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/badge/badge.styles.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n display: inline-flex;\n }\n\n .badge {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: max(12px, 0.75em);\n font-weight: var(--syn-font-weight-semibold);\n letter-spacing: var(--syn-letter-spacing-normal);\n line-height: 1;\n border-radius: var(--syn-border-radius-small);\n border: solid 1px var(--syn-color-neutral-0);\n white-space: nowrap;\n padding: 0.35em 0.6em;\n user-select: none;\n -webkit-user-select: none;\n cursor: inherit;\n }\n\n /* Variant modifiers */\n .badge--primary {\n background-color: var(--syn-color-primary-600);\n color: var(--syn-color-neutral-0);\n }\n\n .badge--success {\n background-color: var(--syn-color-success-600);\n color: var(--syn-color-neutral-0);\n }\n\n .badge--neutral {\n background-color: var(--syn-color-neutral-600);\n color: var(--syn-color-neutral-0);\n }\n\n .badge--warning {\n background-color: var(--syn-color-warning-600);\n color: var(--syn-color-neutral-0);\n }\n\n .badge--danger {\n background-color: var(--syn-color-danger-600);\n color: var(--syn-color-neutral-0);\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AACA,SAAS,WAAW;AAEpB,IAAO,uBAAQ;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
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/button-group/button-group.styles.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n display: inline-block;\n }\n\n .button-group {\n display: flex;\n flex-wrap: nowrap;\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AACA,SAAS,WAAW;AAEpB,IAAO,8BAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resize_observer_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.5KL2GWNQ.js";
|
|
4
4
|
import {
|
|
5
5
|
watch
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.SMIMHADA.js";
|
|
7
7
|
import {
|
|
8
8
|
component_styles_default
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.FXJLG622.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";
|
|
@@ -78,4 +78,4 @@ __decorateClass([
|
|
|
78
78
|
export {
|
|
79
79
|
SynResizeObserver
|
|
80
80
|
};
|
|
81
|
-
//# sourceMappingURL=chunk.
|
|
81
|
+
//# sourceMappingURL=chunk.D43HKTYD.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/resize-observer/resize-observer.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\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 './resize-observer.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary The Resize Observer component offers a thin, declarative interface to the [`ResizeObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-resize-observer--docs\n * @status stable\n * @since 2.0\n *\n * @slot - One or more elements to watch for resizing.\n *\n * @event {{ entries: ResizeObserverEntry[] }} syn-resize - Emitted when the element is resized.\n */\nexport default class SynResizeObserver extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles];\n\n private resizeObserver: ResizeObserver;\n private observedElements: HTMLElement[] = [];\n\n /** Disables the observer. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n connectedCallback() {\n super.connectedCallback();\n this.resizeObserver = new ResizeObserver((entries: ResizeObserverEntry[]) => {\n this.emit('syn-resize', { detail: { entries } });\n });\n\n if (!this.disabled) {\n this.startObserver();\n }\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this.stopObserver();\n }\n\n private handleSlotChange() {\n if (!this.disabled) {\n this.startObserver();\n }\n }\n\n private startObserver() {\n const slot = this.shadowRoot!.querySelector('slot');\n\n if (slot !== null) {\n const elements = slot.assignedElements({ flatten: true }) as HTMLElement[];\n\n // Unwatch previous elements\n this.observedElements.forEach(el => this.resizeObserver.unobserve(el));\n this.observedElements = [];\n\n // Watch new elements\n elements.forEach(el => {\n this.resizeObserver.observe(el);\n this.observedElements.push(el);\n });\n }\n }\n\n private stopObserver() {\n this.resizeObserver.disconnect();\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n if (this.disabled) {\n this.stopObserver();\n } else {\n this.startObserver();\n }\n }\n\n render() {\n return html` <slot @slotchange=${this.handleSlotChange}></slot> `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-resize-observer': SynResizeObserver;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AACA,SAAS,YAAY;AACrB,SAAS,gBAAgB;AAiBzB,IAAqB,oBAArB,cAA+C,eAAe;AAAA,EAA9D;AAAA;AAIE,SAAQ,mBAAkC,CAAC;AAGC,oBAAW;AAAA;AAAA,EAEvD,oBAAoB;AAClB,UAAM,kBAAkB;AACxB,SAAK,iBAAiB,IAAI,eAAe,CAAC,YAAmC;AAC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js";
|
|
4
4
|
import {
|
|
5
5
|
progress_bar_styles_default
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.VPL7U5EC.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
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -68,4 +68,4 @@ __decorateClass([
|
|
|
68
68
|
export {
|
|
69
69
|
SynProgressBar
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk.
|
|
71
|
+
//# sourceMappingURL=chunk.D47LGG4N.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/progress-bar/progress-bar.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport { property } from 'lit/decorators.js';\nimport { styleMap } from 'lit/directives/style-map.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './progress-bar.styles.js';\nimport customStyles from './progress-bar.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Progress bars are used to show the status of an ongoing operation.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-progress-bar--docs\n * @status stable\n * @since 2.0\n *\n * @slot - A label to show inside the progress indicator.\n *\n * @csspart base - The component's base wrapper.\n * @csspart indicator - The progress bar's indicator.\n * @csspart label - The progress bar's label.\n *\n * @cssproperty --height - The progress bar's height.\n * @cssproperty --track-color - The color of the track.\n * @cssproperty --indicator-color - The color of the indicator.\n * @cssproperty --label-color - The color of the label.\n * @cssproperty --speed - The speed of the progress bar when in indeterminate state.\n */\nexport default class SynProgressBar extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n private readonly localize = new LocalizeController(this);\n\n /** The current progress as a percentage, 0 to 100. */\n @property({ type: Number, reflect: true }) value = 0;\n\n /** When true, percentage is ignored, the label is hidden, and the progress bar is drawn in an indeterminate state. */\n @property({ type: Boolean, reflect: true }) indeterminate = false;\n\n /** A custom label for assistive devices. */\n @property() label = '';\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n 'progress-bar': true,\n 'progress-bar--indeterminate': this.indeterminate,\n 'progress-bar--rtl': this.localize.dir() === 'rtl'\n })}\n role=\"progressbar\"\n title=${ifDefined(this.title)}\n aria-label=${this.label.length > 0 ? this.label : this.localize.term('progress')}\n aria-valuemin=\"0\"\n aria-valuemax=\"100\"\n aria-valuenow=${this.indeterminate ? 0 : this.value}\n >\n <div part=\"indicator\" class=\"progress-bar__indicator\" style=${styleMap({ width: `${this.value}%` })}>\n ${!this.indeterminate ? html` <slot part=\"label\" class=\"progress-bar__label\"></slot> ` : ''}\n </div>\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AACrB,SAAS,iBAAiB;AAE1B,SAAS,gBAAgB;AACzB,SAAS,gBAAgB;AAyBzB,IAAqB,iBAArB,cAA4C,eAAe;AAAA,EAA3D;AAAA;AAEE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAGZ,iBAAQ;AAGP,yBAAgB;AAGhD,iBAAQ;AAAA;AAAA,EAEpB,SAAS;AACP,WAAO;AAAA;AAAA;AAAA,gBAGK,SAAS;AAAA,MACf,gBAAgB;AAAA,MAChB,+BAA+B,KAAK;AAAA,MACpC,qBAAqB,KAAK,SAAS,IAAI,MAAM;AAAA,IAC/C,CAAC,CAAC;AAAA;AAAA,gBAEM,UAAU,KAAK,KAAK,CAAC;AAAA,qBAChB,KAAK,MAAM,SAAS,IAAI,KAAK,QAAQ,KAAK,SAAS,KAAK,UAAU,CAAC;AAAA;AAAA;AAAA,wBAGhE,KAAK,gBAAgB,IAAI,KAAK,KAAK;AAAA;AAAA,sEAEW,SAAS,EAAE,OAAO,GAAG,KAAK,KAAK,IAAI,CAAC,CAAC;AAAA,YAC/F,CAAC,KAAK,gBAAgB,iEAAiE,EAAE;AAAA;AAAA;AAAA;AAAA,EAInG;AACF;AAnCqB,eACZ,SAAyB,CAAC,0BAAiB,6BAAQ,kCAAY;AAI3B;AAAA,EAA1C,SAAS,EAAE,MAAM,QAAQ,SAAS,KAAK,CAAC;AAAA,GALtB,eAKwB;AAGC;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GARvB,eAQyB;AAGhC;AAAA,EAAX,SAAS;AAAA,GAXS,eAWP;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/icon-button/icon-button.styles.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n display: inline-block;\n color: var(--syn-color-neutral-600);\n }\n\n .icon-button {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n background: none;\n border: none;\n border-radius: var(--syn-border-radius-medium);\n font-size: inherit;\n color: inherit;\n padding: var(--syn-spacing-x-small);\n cursor: pointer;\n transition: var(--syn-transition-x-fast) color;\n -webkit-appearance: none;\n }\n\n .icon-button:hover:not(.icon-button--disabled),\n .icon-button:focus-visible:not(.icon-button--disabled) {\n color: var(--syn-color-primary-600);\n }\n\n .icon-button:active:not(.icon-button--disabled) {\n color: var(--syn-color-primary-700);\n }\n\n .icon-button:focus {\n outline: none;\n }\n\n .icon-button--disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n .icon-button:focus-visible {\n outline: var(--syn-focus-ring);\n outline-offset: var(--syn-focus-ring-offset);\n }\n\n .icon-button__icon {\n pointer-events: none;\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AACA,SAAS,WAAW;AAEpB,IAAO,6BAAQ;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
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/popup/popup.styles.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n --arrow-color: var(--syn-color-neutral-1000);\n --arrow-size: 6px;\n\n /*\n * These properties are computed to account for the arrow's dimensions after being rotated 45\u00BA. The constant\n * 0.7071 is derived from sin(45), which is the diagonal size of the arrow's container after rotating.\n */\n --arrow-size-diagonal: calc(var(--arrow-size) * 0.7071);\n --arrow-padding-offset: calc(var(--arrow-size-diagonal) - var(--arrow-size));\n\n display: contents;\n }\n\n .popup {\n position: absolute;\n isolation: isolate;\n max-width: var(--auto-size-available-width, none);\n max-height: var(--auto-size-available-height, none);\n }\n\n .popup--fixed {\n position: fixed;\n }\n\n .popup:not(.popup--active) {\n display: none;\n }\n\n .popup__arrow {\n position: absolute;\n width: calc(var(--arrow-size-diagonal) * 2);\n height: calc(var(--arrow-size-diagonal) * 2);\n rotate: 45deg;\n background: var(--arrow-color);\n z-index: -1;\n }\n\n /* Hover bridge */\n .popup-hover-bridge:not(.popup-hover-bridge--visible) {\n display: none;\n }\n\n .popup-hover-bridge {\n position: fixed;\n z-index: calc(var(--syn-z-index-dropdown) - 1);\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n clip-path: polygon(\n var(--hover-bridge-top-left-x, 0) var(--hover-bridge-top-left-y, 0),\n var(--hover-bridge-top-right-x, 0) var(--hover-bridge-top-right-y, 0),\n var(--hover-bridge-bottom-right-x, 0) var(--hover-bridge-bottom-right-y, 0),\n var(--hover-bridge-bottom-left-x, 0) var(--hover-bridge-bottom-left-y, 0)\n );\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AACA,SAAS,WAAW;AAEpB,IAAO,uBAAQ;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
|
SynMenuLabel
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.H647D2ZB.js";
|
|
4
4
|
|
|
5
5
|
// src/components/menu-label/menu-label.ts
|
|
6
6
|
var menu_label_default = SynMenuLabel;
|
|
@@ -9,4 +9,4 @@ SynMenuLabel.define("syn-menu-label");
|
|
|
9
9
|
export {
|
|
10
10
|
menu_label_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.DQVEBDUM.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/menu-label/menu-label.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport SynMenuLabel from './menu-label.component.js';\n\nexport * from './menu-label.component.js';\nexport default SynMenuLabel;\n\nSynMenuLabel.define('syn-menu-label');\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-menu-label': SynMenuLabel;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AAIA,IAAO,qBAAQ;AAEf,aAAa,OAAO,gBAAgB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -81,7 +81,7 @@ var SynergyElement = class extends LitElement {
|
|
|
81
81
|
_hasRecordedInitialProperties = new WeakMap();
|
|
82
82
|
/* eslint-disable */
|
|
83
83
|
// @ts-expect-error This is auto-injected at build time.
|
|
84
|
-
SynergyElement.version = "3.
|
|
84
|
+
SynergyElement.version = "3.2.0";
|
|
85
85
|
SynergyElement.dependencies = {};
|
|
86
86
|
__decorateClass([
|
|
87
87
|
property()
|
|
@@ -93,4 +93,4 @@ __decorateClass([
|
|
|
93
93
|
export {
|
|
94
94
|
SynergyElement
|
|
95
95
|
};
|
|
96
|
-
//# sourceMappingURL=chunk.
|
|
96
|
+
//# sourceMappingURL=chunk.ECNXEYTN.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/internal/synergy-element.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { LitElement } from 'lit';\nimport { property } from 'lit/decorators.js';\n\n// Match event type name strings that are registered on GlobalEventHandlersEventMap...\ntype EventTypeRequiresDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? // ...where the event detail is an object...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? // ...that is non-empty...\n GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? never\n : // ...and has at least one non-optional property\n Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? never\n : T\n : never\n : never;\n\n// The inverse of the above (match any type that doesn't match EventTypeRequiresDetail)\ntype EventTypeDoesNotRequireDetail<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? T\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? T\n : never\n : T\n : T;\n\n// `keyof EventTypesWithRequiredDetail` lists all registered event types that require detail\ntype EventTypesWithRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeRequiresDetail<EventType>]: true;\n};\n\n// `keyof EventTypesWithoutRequiredDetail` lists all registered event types that do NOT require detail\ntype EventTypesWithoutRequiredDetail = {\n [EventType in keyof GlobalEventHandlersEventMap as EventTypeDoesNotRequireDetail<EventType>]: true;\n};\n\n// Helper to make a specific property of an object non-optional\ntype WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] };\n\n// Given an event name string, get a valid type for the options to initialize the event that is more restrictive than\n// just CustomEventInit when appropriate (validate the type of the event detail, and require it to be provided if the\n// event requires it)\ntype SynEventInit<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>>\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>>\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail']\n ? CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>\n : WithRequired<CustomEventInit<GlobalEventHandlersEventMap[T]['detail']>, 'detail'>\n : CustomEventInit\n : CustomEventInit;\n\n// Given an event name string, get the type of the event\ntype GetCustomEventType<T> = T extends keyof GlobalEventHandlersEventMap\n ? GlobalEventHandlersEventMap[T] extends CustomEvent<unknown>\n ? GlobalEventHandlersEventMap[T]\n : CustomEvent<unknown>\n : CustomEvent<unknown>;\n\n// `keyof ValidEventTypeMap` is equivalent to `keyof GlobalEventHandlersEventMap` but gives a nicer error message\ntype ValidEventTypeMap = EventTypesWithRequiredDetail | EventTypesWithoutRequiredDetail;\n\nexport default class SynergyElement extends LitElement {\n // Make localization attributes reactive\n @property() dir: string;\n @property() lang: string;\n\n /** Emits a custom event with more convenient defaults. */\n emit<T extends string & keyof EventTypesWithoutRequiredDetail>(\n name: EventTypeDoesNotRequireDetail<T>,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T>;\n emit<T extends string & keyof EventTypesWithRequiredDetail>(\n name: EventTypeRequiresDetail<T>,\n options: SynEventInit<T>\n ): GetCustomEventType<T>;\n emit<T extends string & keyof ValidEventTypeMap>(\n name: T,\n options?: SynEventInit<T> | undefined\n ): GetCustomEventType<T> {\n const event = new CustomEvent(name, {\n bubbles: true,\n cancelable: false,\n composed: true,\n detail: {},\n ...options\n });\n\n this.dispatchEvent(event);\n\n return event as GetCustomEventType<T>;\n }\n\n /* eslint-disable */\n // @ts-expect-error This is auto-injected at build time.\n static version = \"3.2.0\";\n \n\n static define(name: string, elementConstructor = this, options: ElementDefinitionOptions = {}) {\n const currentlyRegisteredConstructor = customElements.get(name) as\n | CustomElementConstructor\n | typeof SynergyElement;\n\n if (!currentlyRegisteredConstructor) {\n // We try to register as the actual class first. If for some reason that fails, we fall back to anonymous classes.\n // customElements can only have 1 class of the same \"object id\" per registry, so that is why the try {} catch {} exists.\n // Some tools like Jest Snapshots and if you import the constructor and call `new SynButton()` they will fail with\n // the anonymous class version.\n try {\n customElements.define(name, elementConstructor, options);\n } catch (_err) {\n customElements.define(name, class extends elementConstructor {}, options);\n }\n return;\n }\n\n let newVersion = ' (unknown version)';\n let existingVersion = newVersion;\n\n if ('version' in elementConstructor && elementConstructor.version) {\n newVersion = ' v' + elementConstructor.version;\n }\n\n if ('version' in currentlyRegisteredConstructor && currentlyRegisteredConstructor.version) {\n existingVersion = ' v' + currentlyRegisteredConstructor.version;\n }\n\n // Need to make sure we're not working with null or empty strings before doing version comparisons.\n if (newVersion && existingVersion && newVersion === existingVersion) {\n // If versions match, we don't need to warn anyone. Carry on.\n return;\n }\n\n console.warn(\n `Attempted to register <${name}>${newVersion}, but <${name}>${existingVersion} has already been registered.`\n );\n }\n\n static dependencies: Record<string, typeof SynergyElement> = {};\n\n constructor() {\n super();\n Object.entries((this.constructor as typeof SynergyElement).dependencies).forEach(([name, component]) => {\n (this.constructor as typeof SynergyElement).define(name, component);\n });\n }\n\n #hasRecordedInitialProperties = false;\n\n // Store the constructor value of all `static properties = {}`\n initialReflectedProperties: Map<string, unknown> = new Map();\n\n attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null) {\n if (!this.#hasRecordedInitialProperties) {\n (this.constructor as typeof SynergyElement).elementProperties.forEach(\n (obj, prop: keyof typeof this & string) => {\n // eslint-disable-next-line\n if (obj.reflect && this[prop] != null) {\n this.initialReflectedProperties.set(prop, this[prop]);\n }\n }\n );\n\n this.#hasRecordedInitialProperties = true;\n }\n\n super.attributeChangedCallback(name, oldValue, newValue);\n }\n\n protected willUpdate(changedProperties: Parameters<LitElement['willUpdate']>[0]): void {\n super.willUpdate(changedProperties);\n\n // Run the morph fixing *after* willUpdate.\n this.initialReflectedProperties.forEach((value, prop: string & keyof typeof this) => {\n // If a prop changes to `null`, we assume this happens via an attribute changing to `null`.\n // eslint-disable-next-line\n if (changedProperties.has(prop) && this[prop] == null) {\n // Silly type gymnastics to appease the compiler.\n (this as Record<string, unknown>)[prop] = value;\n }\n });\n }\n}\n\nexport interface SynergyFormControl extends SynergyElement {\n // Form attributes\n name: string;\n value: unknown;\n disabled?: boolean;\n defaultValue?: unknown;\n defaultChecked?: boolean;\n form?: string;\n\n // Constraint validation attributes\n pattern?: string;\n min?: number | string | Date;\n max?: number | string | Date;\n step?: number | 'any';\n required?: boolean;\n minlength?: number;\n maxlength?: number;\n\n // Form validation properties\n readonly validity: ValidityState;\n readonly validationMessage: string;\n\n // Form validation methods\n checkValidity: () => boolean;\n getForm: () => HTMLFormElement | null;\n reportValidity: () => boolean;\n setCustomValidity: (message: string) => void;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;AACA,SAAS,kBAAkB;AAC3B,SAAS,gBAAgB;AAFzB;AAiEA,IAAqB,iBAArB,cAA4C,WAAW;AAAA,EA8ErD,cAAc;AACZ,UAAM;AAMR,sDAAgC;AAGhC;AAAA,sCAAmD,oBAAI,IAAI;AARzD,WAAO,QAAS,KAAK,YAAsC,YAAY,EAAE,QAAQ,CAAC,CAAC,MAAM,SAAS,MAAM;AACtG,MAAC,KAAK,YAAsC,OAAO,MAAM,SAAS;AAAA,IACpE,CAAC;AAAA,EACH;AAAA,EArEA,KACE,MACA,SACuB;AACvB,UAAM,QAAQ,IAAI,YAAY,MAAM;AAAA,MAClC,SAAS;AAAA,MACT,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,QAAQ,CAAC;AAAA,OACN,QACJ;AAED,SAAK,cAAc,KAAK;AAExB,WAAO;AAAA,EACT;AAAA,EAOA,OAAO,OAAO,MAAc,qBAAqB,MAAM,UAAoC,CAAC,GAAG;AAC7F,UAAM,iCAAiC,eAAe,IAAI,IAAI;AAI9D,QAAI,CAAC,gCAAgC;AAKnC,UAAI;AACF,uBAAe,OAAO,MAAM,oBAAoB,OAAO;AAAA,MACzD,SAAS,MAAM;AACb,uBAAe,OAAO,MAAM,cAAc,mBAAmB;AAAA,QAAC,GAAG,OAAO;AAAA,MAC1E;AACA;AAAA,IACF;AAEA,QAAI,aAAa;AACjB,QAAI,kBAAkB;AAEtB,QAAI,aAAa,sB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
|
|
5
5
|
// src/components/radio-group/radio-group.ts
|
|
6
6
|
var radio_group_default = SynRadioGroup;
|
|
@@ -9,4 +9,4 @@ SynRadioGroup.define("syn-radio-group");
|
|
|
9
9
|
export {
|
|
10
10
|
radio_group_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.EZ722KZU.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/radio-group/radio-group.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport SynRadioGroup from './radio-group.component.js';\n\nexport * from './radio-group.component.js';\nexport default SynRadioGroup;\n\nSynRadioGroup.define('syn-radio-group');\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'syn-radio-group': SynRadioGroup;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;AAIA,IAAO,sBAAQ;AAEf,cAAc,OAAO,iBAAiB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk.57RV2JXO.js";
|
|
4
4
|
import {
|
|
5
5
|
divider_styles_default
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.34A453XJ.js";
|
|
7
7
|
import {
|
|
8
8
|
watch
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.SMIMHADA.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
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -43,4 +43,4 @@ __decorateClass([
|
|
|
43
43
|
export {
|
|
44
44
|
SynDivider
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk.
|
|
46
|
+
//# sourceMappingURL=chunk.FBYEVEZ6.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/divider/divider.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\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 './divider.styles.js';\nimport customStyles from './divider.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Dividers are used to visually separate or group elements.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-divider--docs\n * @status stable\n * @since 2.0\n *\n * @cssproperty --color - The color of the divider.\n * @cssproperty --width - The width of the divider.\n * @cssproperty --spacing - The spacing of the divider.\n */\nexport default class SynDivider extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n /** Draws the divider in a vertical orientation. */\n @property({ type: Boolean, reflect: true }) vertical = false;\n\n connectedCallback() {\n super.connectedCallback();\n this.setAttribute('role', 'separator');\n }\n\n @watch('vertical')\n handleVerticalChange() {\n this.setAttribute('aria-orientation', this.vertical ? 'vertical' : 'horizontal');\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AAkBzB,IAAqB,aAArB,cAAwC,eAAe;AAAA,EAAvD;AAAA;AAI8C,oBAAW;AAAA;AAAA,EAEvD,oBAAoB;AAClB,UAAM,kBAAkB;AACxB,SAAK,aAAa,QAAQ,WAAW;AAAA,EACvC;AAAA,EAGA,uBAAuB;AACrB,SAAK,aAAa,oBAAoB,KAAK,WAAW,aAAa,YAAY;AAAA,EACjF;AACF;AAfqB,WACZ,SAAyB,CAAC,0BAAiB,wBAAQ,6BAAY;AAG1B;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAJvB,WAIyB;AAQ5C;AAAA,EADC,MAAM,UAAU;AAAA,GAXE,WAYnB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tab_panel_styles_default
|
|
3
|
+
} from "./chunk.6KIX3PER.js";
|
|
1
4
|
import {
|
|
2
5
|
tab_panel_custom_styles_default
|
|
3
6
|
} from "./chunk.XHWYGYMQ.js";
|
|
4
|
-
import {
|
|
5
|
-
tab_panel_styles_default
|
|
6
|
-
} from "./chunk.HVXG4JG6.js";
|
|
7
7
|
import {
|
|
8
8
|
watch
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.SMIMHADA.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
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -64,4 +64,4 @@ __decorateClass([
|
|
|
64
64
|
export {
|
|
65
65
|
SynTabPanel
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=chunk.
|
|
67
|
+
//# sourceMappingURL=chunk.FKIDTC5A.js.map
|