@synergy-design-system/components 3.1.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -61
- package/dist/chunks/{chunk.4PUQDU4T.js → chunk.26MIXER6.js} +5 -5
- package/dist/chunks/chunk.26MIXER6.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.2IL4PA6Q.js +130 -0
- package/dist/chunks/chunk.2IL4PA6Q.js.map +7 -0
- package/dist/chunks/{chunk.4M4LRUZD.js → chunk.2PW7XZZF.js} +13 -7
- package/dist/chunks/chunk.2PW7XZZF.js.map +7 -0
- package/dist/chunks/{chunk.KCLOTN4Z.js → chunk.2RS24S7K.js} +5 -5
- package/dist/chunks/chunk.2RS24S7K.js.map +7 -0
- package/dist/chunks/{chunk.VXC77KXR.js → chunk.32C66EYB.js} +6 -6
- package/dist/chunks/chunk.32C66EYB.js.map +7 -0
- package/dist/chunks/{chunk.FSZIE7IO.js → chunk.34A453XJ.js} +1 -1
- package/dist/chunks/chunk.34A453XJ.js.map +7 -0
- package/dist/chunks/{chunk.QUKSQV3V.js → chunk.36HGXE6I.js} +11 -11
- package/dist/chunks/chunk.36HGXE6I.js.map +7 -0
- package/dist/chunks/{chunk.3NXKLKWH.js → chunk.3JDUKQRN.js} +1 -1
- package/dist/chunks/chunk.3JDUKQRN.js.map +7 -0
- package/dist/chunks/{chunk.K3WSJSRV.js → chunk.3NALMFRW.js} +2 -2
- package/dist/chunks/chunk.3NALMFRW.js.map +7 -0
- package/dist/chunks/{chunk.KY3YPRYR.js → chunk.4XEXSCXG.js} +2 -2
- package/dist/chunks/{chunk.ZBW4ZSZ7.js → chunk.4XZTYPIY.js} +1 -1
- package/dist/chunks/chunk.4XZTYPIY.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.QS53GZR4.js → chunk.5GEZBXYH.js} +2 -2
- package/dist/chunks/chunk.5GEZBXYH.js.map +7 -0
- package/dist/chunks/{chunk.WFKDRXA5.js → chunk.5IMXX2BZ.js} +7 -7
- package/dist/chunks/{chunk.WFKDRXA5.js.map → chunk.5IMXX2BZ.js.map} +2 -2
- package/dist/chunks/{chunk.OI3HOOCT.js → chunk.5KL2GWNQ.js} +1 -1
- package/dist/chunks/chunk.5KL2GWNQ.js.map +7 -0
- package/dist/chunks/{chunk.JX55XGPA.js → chunk.5MPCXTIF.js} +2 -2
- package/dist/chunks/chunk.5MPCXTIF.js.map +7 -0
- package/dist/chunks/{chunk.AQITYSQX.js → chunk.5VNNTEAG.js} +7 -7
- package/dist/chunks/chunk.5VNNTEAG.js.map +7 -0
- package/dist/chunks/{chunk.6BGHUVA7.js → chunk.65442A47.js} +7 -7
- package/dist/chunks/{chunk.FD2CG2HT.js → chunk.6AT5JL7A.js} +1 -29
- package/dist/chunks/chunk.6AT5JL7A.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.XCNXSFFB.js → chunk.6V3QIL3Z.js} +2 -2
- package/dist/chunks/chunk.6V3QIL3Z.js.map +7 -0
- package/dist/chunks/{chunk.3PGJQYXW.js → chunk.7G5PBA5Q.js} +2 -2
- package/dist/chunks/chunk.7G5PBA5Q.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.Q6XDV7O7.js → chunk.7XSJ52RM.js} +6 -6
- package/dist/chunks/chunk.7XSJ52RM.js.map +7 -0
- package/dist/chunks/{chunk.5ORVYCVV.js → chunk.AUJMQLMT.js} +6 -6
- package/dist/chunks/chunk.AUJMQLMT.js.map +7 -0
- package/dist/chunks/{chunk.MPSNGSXQ.js → chunk.AVMXNAAK.js} +2 -2
- package/dist/chunks/chunk.AVMXNAAK.js.map +7 -0
- package/dist/chunks/{chunk.L7GQHKZX.js → chunk.B5CUPVI3.js} +13 -13
- package/dist/chunks/chunk.B5CUPVI3.js.map +7 -0
- package/dist/chunks/{chunk.NVT2EKF6.js → chunk.B5H54LE5.js} +2 -2
- package/dist/chunks/chunk.B5H54LE5.js.map +7 -0
- package/dist/chunks/{chunk.AXFQGZJC.js → chunk.BAB5SWUZ.js} +22 -22
- package/dist/chunks/chunk.BAB5SWUZ.js.map +7 -0
- package/dist/chunks/{chunk.BMHWOQRC.js → chunk.BBWQBAFA.js} +10 -10
- package/dist/chunks/chunk.BBWQBAFA.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.BIRYJHTO.js → chunk.C5WF3K27.js} +2 -2
- package/dist/chunks/{chunk.W66D3Q4F.js → chunk.CCWE4N5I.js} +2 -2
- package/dist/chunks/chunk.CCWE4N5I.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.WVVQK5TE.js → chunk.CHFWLQN5.js} +1 -1
- package/dist/chunks/chunk.CHFWLQN5.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.YARPBFC7.js → chunk.D6ABBPRU.js} +2 -2
- package/dist/chunks/chunk.D6ABBPRU.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.KOLE63RX.js → chunk.DIZBFI6I.js} +2 -2
- package/dist/chunks/chunk.DIZBFI6I.js.map +7 -0
- package/dist/chunks/{chunk.KUAYRSLT.js → chunk.DLHQKWGN.js} +2 -2
- package/dist/chunks/{chunk.PAM2UCZU.js → chunk.EG3IHOGQ.js} +2 -2
- package/dist/chunks/chunk.EG3IHOGQ.js.map +7 -0
- package/dist/chunks/{chunk.CUJDP53J.js → chunk.EONM7YMW.js} +10 -10
- package/dist/chunks/chunk.EONM7YMW.js.map +7 -0
- package/dist/chunks/{chunk.KTBISG3Q.js → chunk.EQ34CAWI.js} +5 -5
- package/dist/chunks/chunk.EQ34CAWI.js.map +7 -0
- package/dist/chunks/{chunk.6WFPHCIK.js → chunk.EQ3KJJ3H.js} +14 -14
- package/dist/chunks/{chunk.6WFPHCIK.js.map → chunk.EQ3KJJ3H.js.map} +2 -2
- package/dist/chunks/{chunk.UIRABJTT.js → chunk.EVSLGGKP.js} +2 -2
- package/dist/chunks/chunk.EVSLGGKP.js.map +7 -0
- package/dist/chunks/{chunk.SM4ANWX6.js → chunk.F2QQ2JAK.js} +2 -2
- package/dist/chunks/chunk.F2QQ2JAK.js.map +7 -0
- package/dist/chunks/{chunk.4VOWXLEZ.js → chunk.FCXOOYNC.js} +10 -10
- package/dist/chunks/chunk.FCXOOYNC.js.map +7 -0
- package/dist/chunks/{chunk.I64H5F6D.js → chunk.FLDDHQXG.js} +5 -5
- package/dist/chunks/chunk.FLDDHQXG.js.map +7 -0
- package/dist/chunks/{chunk.DU3L7OGA.js → chunk.FQPIRAA6.js} +5 -5
- package/dist/chunks/chunk.FQPIRAA6.js.map +7 -0
- 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.XTWO6ZZW.js → chunk.GPP4D4HH.js} +1 -1
- package/dist/chunks/chunk.GPP4D4HH.js.map +7 -0
- package/dist/chunks/{chunk.DZSZDFCN.js → chunk.H5ZIVYK5.js} +11 -11
- package/dist/chunks/chunk.H5ZIVYK5.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.W4NRUZSV.js → chunk.H6HGD46M.js} +4 -4
- package/dist/chunks/chunk.H6HGD46M.js.map +7 -0
- package/dist/chunks/{chunk.QAKD2SMK.js → chunk.H7JZRD2G.js} +2 -2
- package/dist/chunks/{chunk.7GUK7OKG.js → chunk.HGR3332E.js} +2 -2
- package/dist/chunks/chunk.HGR3332E.js.map +7 -0
- package/dist/chunks/{chunk.BJIZS3FU.js → chunk.HV57E6MJ.js} +5 -5
- package/dist/chunks/chunk.HV57E6MJ.js.map +7 -0
- package/dist/chunks/{chunk.5E5HEAZN.js → chunk.HZFEZO3W.js} +2 -2
- package/dist/chunks/chunk.HZFEZO3W.js.map +7 -0
- package/dist/chunks/{chunk.XRDJZQBY.js → chunk.IL75TLII.js} +2 -2
- package/dist/chunks/chunk.IL75TLII.js.map +7 -0
- package/dist/chunks/{chunk.2QDRZ3C6.js → chunk.ISCXRNH4.js} +2 -2
- package/dist/chunks/chunk.ISCXRNH4.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.QZ3PTBET.js → chunk.JGZQEVJ6.js} +8 -8
- package/dist/chunks/{chunk.RAOPZXJL.js → chunk.JILCM7FD.js} +1 -1
- package/dist/chunks/chunk.JILCM7FD.js.map +7 -0
- package/dist/chunks/{chunk.ZJHL23CU.js → chunk.JKXO42MS.js} +2 -2
- package/dist/chunks/chunk.JKXO42MS.js.map +7 -0
- package/dist/chunks/{chunk.3PWAIWL5.js → chunk.JSBJOKER.js} +5 -5
- package/dist/chunks/{chunk.I4TQPMB7.js → chunk.JTE7XOWE.js} +6 -6
- package/dist/chunks/chunk.JTE7XOWE.js.map +7 -0
- package/dist/chunks/{chunk.WBHDD3UR.js → chunk.K7ZS3OCZ.js} +4 -4
- package/dist/chunks/{chunk.IAS6MLT6.js → chunk.KLL2SVR7.js} +2 -1
- package/dist/chunks/chunk.KLL2SVR7.js.map +7 -0
- package/dist/chunks/{chunk.V53NJJ67.js → chunk.KO63FB6R.js} +2 -2
- package/dist/chunks/chunk.KO63FB6R.js.map +7 -0
- package/dist/chunks/{chunk.FQWBH6B3.js → chunk.KPHDBL43.js} +1 -1
- package/dist/chunks/chunk.KPHDBL43.js.map +7 -0
- package/dist/chunks/{chunk.VGI7V7OS.js → chunk.KRF7VWRQ.js} +13 -13
- package/dist/chunks/chunk.KRF7VWRQ.js.map +7 -0
- package/dist/chunks/{chunk.7ZHTDECG.js → chunk.KULTIH7F.js} +2 -2
- package/dist/chunks/chunk.KULTIH7F.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.OAIHDW7S.js → chunk.MEFGUKU5.js} +2 -2
- package/dist/chunks/{chunk.TFBMLDBM.js → chunk.MQKESAOP.js} +2 -2
- package/dist/chunks/{chunk.7QGJAPLH.js → chunk.N6DEOPEC.js} +14 -14
- package/dist/chunks/{chunk.FSWTBNSI.js → chunk.N7HN275B.js} +1 -1
- package/dist/chunks/chunk.N7HN275B.js.map +7 -0
- package/dist/chunks/{chunk.RATZ2RGX.js → chunk.NKWPAQM3.js} +2 -2
- package/dist/chunks/{chunk.34V3QOIQ.js → chunk.NMWM3BP7.js} +2 -2
- package/dist/chunks/chunk.NMWM3BP7.js.map +7 -0
- package/dist/chunks/{chunk.QCAMWDPP.js → chunk.NNRQNQWD.js} +7 -7
- package/dist/chunks/chunk.NNRQNQWD.js.map +7 -0
- package/dist/chunks/{chunk.YIQSTAST.js → chunk.NVYIJYVF.js} +2 -2
- package/dist/chunks/{chunk.75RQ52LL.js → chunk.NWA2ZKLU.js} +2 -2
- package/dist/chunks/chunk.NWA2ZKLU.js.map +7 -0
- package/dist/chunks/{chunk.6GWSQWLE.js → chunk.NY33MDYP.js} +537 -131
- package/dist/chunks/chunk.NY33MDYP.js.map +7 -0
- package/dist/chunks/{chunk.WP3FQE65.js → chunk.O2NJ7W2P.js} +2 -2
- package/dist/chunks/{chunk.QU47WZOK.js → chunk.OFF4U2HZ.js} +6 -6
- package/dist/chunks/chunk.OFF4U2HZ.js.map +7 -0
- package/dist/chunks/{chunk.O6ZH6AOI.js → chunk.OFKOVRHG.js} +1 -1
- package/dist/chunks/chunk.OFKOVRHG.js.map +7 -0
- package/dist/chunks/{chunk.IBWQFVMJ.js → chunk.OPZMUWWY.js} +2 -2
- package/dist/chunks/chunk.OPZMUWWY.js.map +7 -0
- package/dist/chunks/{chunk.WENMEQB3.js → chunk.P4I2WO5B.js} +2 -2
- package/dist/chunks/chunk.P4I2WO5B.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.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.MU43DZ7W.js → chunk.PN64BR66.js} +1 -1
- package/dist/chunks/chunk.PN64BR66.js.map +7 -0
- package/dist/chunks/{chunk.DGU5AZZG.js → chunk.PPOTUWL3.js} +13 -13
- package/dist/chunks/chunk.PPOTUWL3.js.map +7 -0
- package/dist/chunks/{chunk.IEPQIQCD.js → chunk.PSR5RQX5.js} +2 -2
- package/dist/chunks/{chunk.G4URZQCL.js → chunk.PTRCO527.js} +1 -1
- package/dist/chunks/chunk.PTRCO527.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.U7O7432Y.js → chunk.QHX346G7.js} +2 -2
- package/dist/chunks/chunk.QHX346G7.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.UOQ4AOFC.js → chunk.QPZJTDAZ.js} +2 -2
- package/dist/chunks/{chunk.CBQRADQA.js → chunk.QQFSMQ37.js} +2 -2
- package/dist/chunks/chunk.QQFSMQ37.js.map +7 -0
- package/dist/chunks/{chunk.YVTRDHMM.js → chunk.QSSDP7SD.js} +7 -7
- package/dist/chunks/{chunk.C4JTZKPZ.js → chunk.R3SMKUIL.js} +1 -1
- package/dist/chunks/chunk.R3SMKUIL.js.map +7 -0
- package/dist/chunks/{chunk.OEOU5X7P.js → chunk.R4KRX3HP.js} +2 -2
- package/dist/chunks/chunk.R4KRX3HP.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.YTEJW7IF.js → chunk.RODNHT5C.js} +2 -2
- package/dist/chunks/chunk.RODNHT5C.js.map +7 -0
- package/dist/chunks/{chunk.2WOSSTKK.js → chunk.RY3ZM7MQ.js} +2 -2
- package/dist/chunks/{chunk.7GJ6YOL7.js → chunk.S362IGFM.js} +12 -12
- package/dist/chunks/chunk.S362IGFM.js.map +7 -0
- package/dist/chunks/{chunk.BIXA6XPE.js → chunk.S46B7VZA.js} +2 -2
- package/dist/chunks/{chunk.JE5Y2YD7.js → chunk.SMIMHADA.js} +1 -1
- package/dist/chunks/chunk.SMIMHADA.js.map +7 -0
- package/dist/chunks/{chunk.O24WNQ4W.js → chunk.SQKP3P2V.js} +9 -9
- package/dist/chunks/chunk.SQKP3P2V.js.map +7 -0
- package/dist/chunks/{chunk.QWHBUNGK.js → chunk.SRY32QYH.js} +7 -7
- package/dist/chunks/chunk.SRY32QYH.js.map +7 -0
- package/dist/chunks/{chunk.7DBSMJLB.js → chunk.SYBGFDZR.js} +13 -13
- package/dist/chunks/chunk.SYBGFDZR.js.map +7 -0
- package/dist/chunks/{chunk.P3W7SDQW.js → chunk.T3OH2LR6.js} +5 -5
- package/dist/chunks/chunk.T3OH2LR6.js.map +7 -0
- package/dist/chunks/{chunk.YR4NKYMG.js → chunk.TAZAKWO5.js} +11 -11
- package/dist/chunks/chunk.TAZAKWO5.js.map +7 -0
- package/dist/chunks/{chunk.K2Y3Q3B4.js → chunk.TJ2I3X4N.js} +2 -2
- package/dist/chunks/chunk.TJ2I3X4N.js.map +7 -0
- package/dist/chunks/{chunk.IZX2QAKU.js → chunk.TMCA3VCF.js} +2 -2
- package/dist/chunks/chunk.TMCA3VCF.js.map +7 -0
- package/dist/chunks/{chunk.J2JXNOZY.js → chunk.TNBDJ6PX.js} +2 -2
- package/dist/chunks/chunk.TNBDJ6PX.js.map +7 -0
- package/dist/chunks/{chunk.DY7AWH4R.js → chunk.TODG4C7Y.js} +5 -5
- package/dist/chunks/chunk.TODG4C7Y.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.ATRUHDOS.js → chunk.U6HWY6PL.js} +11 -11
- package/dist/chunks/chunk.U6HWY6PL.js.map +7 -0
- package/dist/chunks/{chunk.KY52MMTX.js → chunk.U6RI62CP.js} +10 -10
- package/dist/chunks/{chunk.KY52MMTX.js.map → chunk.U6RI62CP.js.map} +2 -2
- package/dist/chunks/{chunk.5SQ7NVBX.js → chunk.UB4EPKCP.js} +1 -1
- package/dist/chunks/chunk.UB4EPKCP.js.map +7 -0
- package/dist/chunks/{chunk.N7QJ54ZM.js → chunk.UORFJFA2.js} +1 -1
- package/dist/chunks/chunk.UORFJFA2.js.map +7 -0
- package/dist/chunks/{chunk.C2CWYCOU.js → chunk.V37RYGE7.js} +1 -1
- package/dist/chunks/chunk.V37RYGE7.js.map +7 -0
- package/dist/chunks/{chunk.KIY5IDWY.js → chunk.VG63OTN3.js} +2 -2
- package/dist/chunks/chunk.VG63OTN3.js.map +7 -0
- package/dist/chunks/{chunk.PSO3VL25.js → chunk.VJQZ76BR.js} +7 -7
- package/dist/chunks/chunk.VJQZ76BR.js.map +7 -0
- package/dist/chunks/{chunk.FLJJ2OCR.js → chunk.VL3GX6WV.js} +5 -1
- package/dist/chunks/chunk.VL3GX6WV.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.FM6IAWK2.js → chunk.VWDX7DJ6.js} +2 -2
- package/dist/chunks/chunk.VWDX7DJ6.js.map +7 -0
- package/dist/chunks/{chunk.FBQ7NUNW.js → chunk.VWFRCPN5.js} +2 -2
- package/dist/chunks/chunk.VWFRCPN5.js.map +7 -0
- package/dist/chunks/{chunk.KLUICBMV.js → chunk.WBOHZGDF.js} +4 -4
- package/dist/chunks/chunk.WBOHZGDF.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.4K75N3WR.js → chunk.WSPPSCSY.js} +2 -2
- package/dist/chunks/chunk.WSPPSCSY.js.map +7 -0
- package/dist/chunks/{chunk.SIX2VPOZ.js → chunk.WT3TWFBE.js} +2 -2
- package/dist/chunks/chunk.WT3TWFBE.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.M7VZBJK4.js → chunk.XMOH46TX.js} +5 -5
- package/dist/chunks/chunk.XMOH46TX.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.ERWB2FQ7.js → chunk.XWRABNCX.js} +10 -10
- package/dist/chunks/chunk.XWRABNCX.js.map +7 -0
- package/dist/chunks/{chunk.YYZLHE7T.js → chunk.Y6ARGQPK.js} +5 -5
- package/dist/chunks/chunk.Y6ARGQPK.js.map +7 -0
- package/dist/chunks/{chunk.MLILJGXQ.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.WLWQYPRE.js → chunk.YONCZQL6.js} +3 -3
- package/dist/chunks/{chunk.K62NPKGN.js → chunk.YPYFEST2.js} +1 -1
- package/dist/chunks/chunk.YPYFEST2.js.map +7 -0
- package/dist/chunks/{chunk.A7WDJ7EI.js → chunk.Z7MROUJG.js} +2 -2
- package/dist/chunks/chunk.Z7MROUJG.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.4BRJ5OJE.js → chunk.ZXEPSSXQ.js} +2 -2
- package/dist/chunks/chunk.ZXEPSSXQ.js.map +7 -0
- package/dist/chunks/{chunk.ELWMR5SE.js → chunk.ZXYCYTZH.js} +2 -2
- package/dist/chunks/chunk.ZXYCYTZH.js.map +7 -0
- package/dist/components/accordion/accordion.component.js +7 -7
- package/dist/components/accordion/accordion.js +8 -8
- package/dist/components/alert/alert.component.d.ts +0 -6
- package/dist/components/alert/alert.component.js +21 -21
- package/dist/components/alert/alert.d.ts +0 -6
- package/dist/components/alert/alert.js +22 -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 +9 -9
- package/dist/components/badge/badge.d.ts +0 -6
- package/dist/components/badge/badge.js +10 -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 +19 -19
- package/dist/components/button/button.d.ts +0 -6
- package/dist/components/button/button.js +20 -20
- 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 +0 -6
- package/dist/components/button-group/button-group.component.js +7 -7
- package/dist/components/button-group/button-group.d.ts +0 -6
- package/dist/components/button-group/button-group.js +8 -8
- 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 +17 -17
- package/dist/components/checkbox/checkbox.d.ts +0 -6
- package/dist/components/checkbox/checkbox.js +18 -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 +36 -30
- package/dist/components/combobox/combobox.custom.styles.js +1 -1
- package/dist/components/combobox/combobox.js +37 -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 +18 -18
- package/dist/components/details/details.d.ts +0 -6
- package/dist/components/details/details.js +19 -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 +24 -24
- package/dist/components/dialog/dialog.d.ts +0 -6
- package/dist/components/dialog/dialog.js +25 -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 +24 -24
- package/dist/components/drawer/drawer.d.ts +0 -6
- package/dist/components/drawer/drawer.js +25 -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 +24 -24
- package/dist/components/file/file.js +25 -25
- 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 +13 -13
- package/dist/components/icon-button/icon-button.d.ts +0 -6
- package/dist/components/icon-button/icon-button.js +14 -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 +21 -21
- package/dist/components/input/input.d.ts +0 -6
- package/dist/components/input/input.js +22 -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 +13 -13
- package/dist/components/radio/radio.d.ts +0 -6
- package/dist/components/radio/radio.js +14 -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 +10 -10
- package/dist/components/radio-button/radio-button.d.ts +0 -6
- package/dist/components/radio-button/radio-button.js +11 -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 +13 -13
- package/dist/components/radio-group/radio-group.d.ts +0 -6
- package/dist/components/radio-group/radio-group.js +14 -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 +20 -20
- package/dist/components/range/range.js +21 -21
- 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 +29 -29
- package/dist/components/select/select.d.ts +0 -6
- package/dist/components/select/select.js +30 -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 +28 -28
- package/dist/components/side-nav/side-nav.js +29 -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 +12 -12
- package/dist/components/switch/switch.d.ts +0 -6
- package/dist/components/switch/switch.js +13 -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 +17 -17
- package/dist/components/tab/tab.d.ts +0 -6
- package/dist/components/tab/tab.js +18 -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 +20 -20
- package/dist/components/tab-group/tab-group.d.ts +0 -6
- package/dist/components/tab-group/tab-group.js +21 -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 +17 -17
- package/dist/components/tag/tag.d.ts +0 -6
- package/dist/components/tag/tag.js +18 -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 +12 -12
- package/dist/components/textarea/textarea.d.ts +0 -6
- package/dist/components/textarea/textarea.js +13 -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 +23 -23
- package/dist/components/validate/validate.js +24 -24
- package/dist/custom-elements.json +288 -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-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 +165 -165
- 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 +4 -1
- package/dist/utilities/defaultSettings/base.js +1 -1
- package/dist/utilities/defaultSettings/decorator.js +3 -3
- package/dist/utilities/defaultSettings/functions.js +2 -2
- package/dist/utilities/defaultSettings/index.js +3 -3
- 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 +30 -7
- package/package.json +21 -31
- package/dist/chunks/chunk.234ERFCE.js.map +0 -7
- package/dist/chunks/chunk.2QDRZ3C6.js.map +0 -7
- package/dist/chunks/chunk.34V3QOIQ.js.map +0 -7
- package/dist/chunks/chunk.3NXKLKWH.js.map +0 -7
- package/dist/chunks/chunk.3PGJQYXW.js.map +0 -7
- package/dist/chunks/chunk.43YNZAWL.js.map +0 -7
- package/dist/chunks/chunk.4BRJ5OJE.js.map +0 -7
- package/dist/chunks/chunk.4K75N3WR.js.map +0 -7
- package/dist/chunks/chunk.4M4LRUZD.js.map +0 -7
- package/dist/chunks/chunk.4PUQDU4T.js.map +0 -7
- package/dist/chunks/chunk.4TB35TYG.js.map +0 -7
- package/dist/chunks/chunk.4VOWXLEZ.js.map +0 -7
- package/dist/chunks/chunk.5732DMBC.js.map +0 -7
- package/dist/chunks/chunk.5E5HEAZN.js.map +0 -7
- package/dist/chunks/chunk.5ORVYCVV.js.map +0 -7
- package/dist/chunks/chunk.5SQ7NVBX.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.6GWSQWLE.js.map +0 -7
- package/dist/chunks/chunk.6OX2AX3Z.js.map +0 -7
- package/dist/chunks/chunk.75RQ52LL.js.map +0 -7
- package/dist/chunks/chunk.7DBSMJLB.js.map +0 -7
- package/dist/chunks/chunk.7GJ6YOL7.js.map +0 -7
- package/dist/chunks/chunk.7GUK7OKG.js.map +0 -7
- package/dist/chunks/chunk.7ZHTDECG.js.map +0 -7
- package/dist/chunks/chunk.A7WDJ7EI.js.map +0 -7
- package/dist/chunks/chunk.ADSEQZBF.js.map +0 -7
- package/dist/chunks/chunk.AQITYSQX.js.map +0 -7
- package/dist/chunks/chunk.ATRUHDOS.js.map +0 -7
- package/dist/chunks/chunk.AXFQGZJC.js.map +0 -7
- package/dist/chunks/chunk.AZ3N5IOO.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.BJIZS3FU.js.map +0 -7
- package/dist/chunks/chunk.BMHWOQRC.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.CBQRADQA.js.map +0 -7
- package/dist/chunks/chunk.CUJDP53J.js.map +0 -7
- package/dist/chunks/chunk.D6IIQDWJ.js.map +0 -7
- package/dist/chunks/chunk.DGU5AZZG.js.map +0 -7
- package/dist/chunks/chunk.DQKV5FSY.js.map +0 -7
- package/dist/chunks/chunk.DU3L7OGA.js.map +0 -7
- package/dist/chunks/chunk.DY7AWH4R.js.map +0 -7
- package/dist/chunks/chunk.DZ7YIR5N.js.map +0 -7
- package/dist/chunks/chunk.DZSZDFCN.js.map +0 -7
- package/dist/chunks/chunk.EHSNF4SS.js.map +0 -7
- package/dist/chunks/chunk.ELWMR5SE.js.map +0 -7
- package/dist/chunks/chunk.ERWB2FQ7.js.map +0 -7
- package/dist/chunks/chunk.FBQ7NUNW.js.map +0 -7
- package/dist/chunks/chunk.FD2CG2HT.js.map +0 -7
- package/dist/chunks/chunk.FLJJ2OCR.js.map +0 -7
- package/dist/chunks/chunk.FM6IAWK2.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.GRVNUIP2.js.map +0 -7
- package/dist/chunks/chunk.HVXG4JG6.js.map +0 -7
- package/dist/chunks/chunk.I4TQPMB7.js.map +0 -7
- package/dist/chunks/chunk.I64H5F6D.js.map +0 -7
- package/dist/chunks/chunk.IAS6MLT6.js.map +0 -7
- package/dist/chunks/chunk.IBWQFVMJ.js.map +0 -7
- package/dist/chunks/chunk.IVM3BGRH.js.map +0 -7
- package/dist/chunks/chunk.IZX2QAKU.js.map +0 -7
- package/dist/chunks/chunk.J2JXNOZY.js.map +0 -7
- package/dist/chunks/chunk.JE5Y2YD7.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.JX55XGPA.js.map +0 -7
- package/dist/chunks/chunk.K2Y3Q3B4.js.map +0 -7
- package/dist/chunks/chunk.K3WSJSRV.js.map +0 -7
- package/dist/chunks/chunk.K62NPKGN.js.map +0 -7
- package/dist/chunks/chunk.KCLOTN4Z.js.map +0 -7
- package/dist/chunks/chunk.KIY5IDWY.js.map +0 -7
- package/dist/chunks/chunk.KLUICBMV.js.map +0 -7
- package/dist/chunks/chunk.KOLE63RX.js.map +0 -7
- package/dist/chunks/chunk.KTBISG3Q.js.map +0 -7
- package/dist/chunks/chunk.KW5TWA5Y.js.map +0 -7
- package/dist/chunks/chunk.L7GQHKZX.js.map +0 -7
- package/dist/chunks/chunk.M7VZBJK4.js.map +0 -7
- package/dist/chunks/chunk.MPSNGSXQ.js.map +0 -7
- package/dist/chunks/chunk.MU43DZ7W.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.NVT2EKF6.js.map +0 -7
- package/dist/chunks/chunk.O24WNQ4W.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.OEOU5X7P.js.map +0 -7
- package/dist/chunks/chunk.OI3HOOCT.js.map +0 -7
- package/dist/chunks/chunk.P3W7SDQW.js.map +0 -7
- package/dist/chunks/chunk.PAM2UCZU.js.map +0 -7
- package/dist/chunks/chunk.PKYC7QF3.js.map +0 -7
- package/dist/chunks/chunk.PSO3VL25.js.map +0 -7
- package/dist/chunks/chunk.Q6XDV7O7.js.map +0 -7
- package/dist/chunks/chunk.QCAMWDPP.js.map +0 -7
- package/dist/chunks/chunk.QS53GZR4.js.map +0 -7
- package/dist/chunks/chunk.QU47WZOK.js.map +0 -7
- package/dist/chunks/chunk.QUKSQV3V.js.map +0 -7
- package/dist/chunks/chunk.QUM76UHV.js.map +0 -7
- package/dist/chunks/chunk.QWHBUNGK.js.map +0 -7
- package/dist/chunks/chunk.RAOPZXJL.js.map +0 -7
- package/dist/chunks/chunk.RMIDAEF5.js.map +0 -7
- package/dist/chunks/chunk.S22BO5SF.js.map +0 -7
- package/dist/chunks/chunk.SIX2VPOZ.js.map +0 -7
- package/dist/chunks/chunk.SM4ANWX6.js.map +0 -7
- package/dist/chunks/chunk.U5757NSE.js.map +0 -7
- package/dist/chunks/chunk.U7O7432Y.js.map +0 -7
- package/dist/chunks/chunk.UIRABJTT.js.map +0 -7
- package/dist/chunks/chunk.UT3DWYFM.js.map +0 -7
- package/dist/chunks/chunk.V53NJJ67.js.map +0 -7
- package/dist/chunks/chunk.VA26EAEP.js.map +0 -7
- package/dist/chunks/chunk.VGI7V7OS.js.map +0 -7
- package/dist/chunks/chunk.VXC77KXR.js.map +0 -7
- package/dist/chunks/chunk.W4NRUZSV.js.map +0 -7
- package/dist/chunks/chunk.W66D3Q4F.js.map +0 -7
- package/dist/chunks/chunk.WENMEQB3.js.map +0 -7
- package/dist/chunks/chunk.WVVQK5TE.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.XCNXSFFB.js.map +0 -7
- package/dist/chunks/chunk.XRDJZQBY.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.YARPBFC7.js.map +0 -7
- package/dist/chunks/chunk.YR4NKYMG.js.map +0 -7
- package/dist/chunks/chunk.YTEJW7IF.js.map +0 -7
- package/dist/chunks/chunk.YYZLHE7T.js.map +0 -7
- package/dist/chunks/chunk.ZBW4ZSZ7.js.map +0 -7
- package/dist/chunks/chunk.ZJHL23CU.js.map +0 -7
- /package/dist/chunks/{chunk.KY3YPRYR.js.map → chunk.4XEXSCXG.js.map} +0 -0
- /package/dist/chunks/{chunk.6BGHUVA7.js.map → chunk.65442A47.js.map} +0 -0
- /package/dist/chunks/{chunk.BIRYJHTO.js.map → chunk.C5WF3K27.js.map} +0 -0
- /package/dist/chunks/{chunk.KUAYRSLT.js.map → chunk.DLHQKWGN.js.map} +0 -0
- /package/dist/chunks/{chunk.QAKD2SMK.js.map → chunk.H7JZRD2G.js.map} +0 -0
- /package/dist/chunks/{chunk.QZ3PTBET.js.map → chunk.JGZQEVJ6.js.map} +0 -0
- /package/dist/chunks/{chunk.3PWAIWL5.js.map → chunk.JSBJOKER.js.map} +0 -0
- /package/dist/chunks/{chunk.WBHDD3UR.js.map → chunk.K7ZS3OCZ.js.map} +0 -0
- /package/dist/chunks/{chunk.OAIHDW7S.js.map → chunk.MEFGUKU5.js.map} +0 -0
- /package/dist/chunks/{chunk.TFBMLDBM.js.map → chunk.MQKESAOP.js.map} +0 -0
- /package/dist/chunks/{chunk.7QGJAPLH.js.map → chunk.N6DEOPEC.js.map} +0 -0
- /package/dist/chunks/{chunk.RATZ2RGX.js.map → chunk.NKWPAQM3.js.map} +0 -0
- /package/dist/chunks/{chunk.YIQSTAST.js.map → chunk.NVYIJYVF.js.map} +0 -0
- /package/dist/chunks/{chunk.WP3FQE65.js.map → chunk.O2NJ7W2P.js.map} +0 -0
- /package/dist/chunks/{chunk.IEPQIQCD.js.map → chunk.PSR5RQX5.js.map} +0 -0
- /package/dist/chunks/{chunk.UOQ4AOFC.js.map → chunk.QPZJTDAZ.js.map} +0 -0
- /package/dist/chunks/{chunk.YVTRDHMM.js.map → chunk.QSSDP7SD.js.map} +0 -0
- /package/dist/chunks/{chunk.2WOSSTKK.js.map → chunk.RY3ZM7MQ.js.map} +0 -0
- /package/dist/chunks/{chunk.BIXA6XPE.js.map → chunk.S46B7VZA.js.map} +0 -0
- /package/dist/chunks/{chunk.MLILJGXQ.js.map → chunk.YACUYJZN.js.map} +0 -0
- /package/dist/chunks/{chunk.WLWQYPRE.js.map → chunk.YONCZQL6.js.map} +0 -0
package/README.md
CHANGED
|
@@ -229,64 +229,3 @@ This package ships with a [custom-elements-manifest](https://github.com/webcompo
|
|
|
229
229
|
Please have a look at the official [breaking changes list](https://synergy-design-system.github.io/?path=/docs/packages-components-breaking-changes--docs) for information how to update to new major versions of Synergy.
|
|
230
230
|
|
|
231
231
|
---
|
|
232
|
-
|
|
233
|
-
## Local setup
|
|
234
|
-
|
|
235
|
-
### Using the vendor cli
|
|
236
|
-
|
|
237
|
-
The vendor cli is taking care about updating our code base according to a new version of shoelace.
|
|
238
|
-
|
|
239
|
-
To change the shoelace version, that should be downloaded, change the version in the config of `./scripts/vendorism.js`.
|
|
240
|
-
To download it use the command `pnpm vendor.get`.
|
|
241
|
-
If code in our components library should be updated to this new shoelace version use `pnpm vendor.set`.
|
|
242
|
-
|
|
243
|
-
All shoelace files are per default readonly and are disabled from being changed. To change this files can be ejected. This can be done via:
|
|
244
|
-
`pnpm vendor.eject "src/declaration.d.ts"`.
|
|
245
|
-
|
|
246
|
-
### Adding events to the output
|
|
247
|
-
|
|
248
|
-
To add events to the component output, make sure to add them to `src/scripts/vendorism.js` into the `events` array that is defined there. After a new build run `via pnpm build`, you will see the new event files and the `events/events.ts` file will be regenerated.
|
|
249
|
-
|
|
250
|
-
### Adding metadata to components
|
|
251
|
-
|
|
252
|
-
Components can be enriched with metadata that automatically generates JSDoc annotations during the build process. The `add-metadata-to-components.js` script processes `*.component.ts` files and looks for corresponding `metadata.json` files to inject JSDoc tags.
|
|
253
|
-
|
|
254
|
-
#### Supported metadata types
|
|
255
|
-
|
|
256
|
-
- `@animation` - Component animations
|
|
257
|
-
- `@event` - Custom events
|
|
258
|
-
- `@slot` - Content slots
|
|
259
|
-
- `@dependency` - Dependencies
|
|
260
|
-
- `@csspart` - CSS parts for styling
|
|
261
|
-
- `@cssproperty` - CSS custom properties
|
|
262
|
-
|
|
263
|
-
#### Usage
|
|
264
|
-
|
|
265
|
-
Create a `metadata.json` file in your component directory:
|
|
266
|
-
|
|
267
|
-
```json
|
|
268
|
-
{
|
|
269
|
-
"@event": [
|
|
270
|
-
{ "name": "syn-change", "description": "Emitted when value changes" }
|
|
271
|
-
],
|
|
272
|
-
"@slot": [{ "name": "default", "description": "Main content" }],
|
|
273
|
-
"@csspart": [{ "name": "base", "description": "Base wrapper" }]
|
|
274
|
-
}
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
This will generate the following JSDoc annotations in your component:
|
|
278
|
-
|
|
279
|
-
```typescript
|
|
280
|
-
/**
|
|
281
|
-
* @summary Your component description
|
|
282
|
-
*
|
|
283
|
-
* @event syn-change - Emitted when value changes
|
|
284
|
-
* @slot default - Main content
|
|
285
|
-
* @csspart base - Base wrapper
|
|
286
|
-
*/
|
|
287
|
-
export default class YourComponent extends SynergyElement {
|
|
288
|
-
// Component implementation...
|
|
289
|
-
}
|
|
290
|
-
```
|
|
291
|
-
|
|
292
|
-
Each metadata object requires a `name` property and optionally accepts a `description`. Run `pnpm vendor.set` to process the metadata and automatically add JSDoc annotations to your component's class comment.
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
} from "./chunk.O655X4YP.js";
|
|
4
4
|
import {
|
|
5
5
|
card_styles_default
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.R3SMKUIL.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.CHFWLQN5.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.VWFRCPN5.js";
|
|
16
16
|
import {
|
|
17
17
|
__decorateClass
|
|
18
18
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -60,4 +60,4 @@ __decorateClass([
|
|
|
60
60
|
export {
|
|
61
61
|
SynCard
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=chunk.
|
|
63
|
+
//# sourceMappingURL=chunk.26MIXER6.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/card/card.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { property } from 'lit/decorators.js';\nimport { HasSlotController } from '../../internal/slot.js';\nimport { html } from 'lit';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './card.styles.js';\nimport customStyles from './card.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Cards can be used to group related subjects in a container.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-card--docs\n * @status stable\n * @since 2.0\n *\n * @slot - The card's main content.\n * @slot header - An optional header for the card.\n * @slot footer - An optional footer for the card.\n * @slot image - An optional image to render at the start of the card.\n *\n * @csspart base - The component's base wrapper.\n * @csspart image - The container that wraps the card's image.\n * @csspart header - The container that wraps the card's header.\n * @csspart body - The container that wraps the card's main content.\n * @csspart footer - The container that wraps the card's footer.\n *\n * @cssproperty --border-color - The card's border color, including borders that occur inside the card.\n * @cssproperty --border-radius - The border radius for the card's edges.\n * @cssproperty --border-width - The width of the card's borders.\n * @cssproperty --padding - The padding to use for the card's sections.\n */\nexport default class SynCard extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private readonly hasSlotController = new HasSlotController(this, 'footer', 'header', 'image');\n\n /** Draws the card with a shadow. Can be used when the card has to stand out visually, for example in dashboards. */\n @property({ type: Boolean, reflect: true }) shadow = false;\n\n /** Draws the card with sharp edges. Can be used e.g. when nesting multiple syn-cards to create hierarchy. */\n @property({ type: Boolean, reflect: true }) sharp = false;\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n card: true,\n 'card--shadow': this.shadow,\n 'card--sharp': this.sharp,\n 'card--has-footer': this.hasSlotController.test('footer'),\n 'card--has-image': this.hasSlotController.test('image'),\n 'card--has-header': this.hasSlotController.test('header')\n })}\n >\n <slot name=\"image\" part=\"image\" class=\"card__image\"></slot>\n <slot name=\"header\" part=\"header\" class=\"card__header\"></slot>\n <slot part=\"body\" class=\"card__body\"></slot>\n <slot name=\"footer\" part=\"footer\" class=\"card__footer\"></slot>\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AACzB,SAAS,gBAAgB;AAEzB,SAAS,YAAY;AA6BrB,IAAqB,UAArB,cAAqC,eAAe;AAAA,EAApD;AAAA;AAGE,SAAiB,oBAAoB,IAAI,kBAAkB,MAAM,UAAU,UAAU,OAAO;AAGhD,kBAAS;AAGT,iBAAQ;AAAA;AAAA,EAEpD,SAAS;AACP,WAAO;AAAA;AAAA;AAAA,gBAGK,SAAS;AAAA,MACf,MAAM;AAAA,MACN,gBAAgB,KAAK;AAAA,MACrB,eAAe,KAAK;AAAA,MACpB,oBAAoB,KAAK,kBAAkB,KAAK,QAAQ;AAAA,MACxD,mBAAmB,KAAK,kBAAkB,KAAK,OAAO;AAAA,MACtD,oBAAoB,KAAK,kBAAkB,KAAK,QAAQ;AAAA,IAC1D,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQR;AACF;AA/BqB,QACZ,SAAyB,CAAC,0BAAiB,qBAAQ,0BAAY;AAK1B;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GANvB,QAMyB;AAGA;AAAA,EAA3C,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GATvB,QASyB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/details/details.styles.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n display: block;\n }\n\n .details {\n border: solid 1px var(--syn-color-neutral-200);\n border-radius: var(--syn-border-radius-medium);\n background-color: var(--syn-color-neutral-0);\n overflow-anchor: none;\n }\n\n .details--disabled {\n opacity: 0.5;\n }\n\n .details__header {\n display: flex;\n align-items: center;\n border-radius: inherit;\n padding: var(--syn-spacing-medium);\n user-select: none;\n -webkit-user-select: none;\n cursor: pointer;\n }\n\n .details__header::-webkit-details-marker {\n display: none;\n }\n\n .details__header:focus {\n outline: none;\n }\n\n .details__header:focus-visible {\n outline: var(--syn-focus-ring);\n outline-offset: calc(1px + var(--syn-focus-ring-offset));\n }\n\n .details--disabled .details__header {\n cursor: not-allowed;\n }\n\n .details--disabled .details__header:focus-visible {\n outline: none;\n box-shadow: none;\n }\n\n .details__summary {\n flex: 1 1 auto;\n display: flex;\n align-items: center;\n }\n\n .details__summary-icon {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n transition: var(--syn-transition-medium) rotate ease;\n }\n\n .details--open .details__summary-icon {\n rotate: 90deg;\n }\n\n .details--open slot[name='expand-icon'],\n .details:not(.details--open) slot[name='collapse-icon'] {\n display: none;\n }\n\n .details__body {\n overflow: hidden;\n }\n\n .details__content {\n display: block;\n padding: var(--syn-spacing-medium);\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AACA,SAAS,WAAW;AAEpB,IAAO,yBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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/internal/offset.ts", "../../src/internal/scroll.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\n/**\n * Returns an element's offset relative to its parent. Similar to element.offsetTop and element.offsetLeft, except the\n * parent doesn't have to be positioned relative or absolute.\n *\n * NOTE: This was created to work around what appears to be a bug in Chrome where a slotted element's offsetParent seems\n * to ignore elements inside the surrounding shadow DOM: https://bugs.chromium.org/p/chromium/issues/detail?id=920069\n */\nexport function getOffset(element: HTMLElement, parent: HTMLElement) {\n return {\n top: Math.round(element.getBoundingClientRect().top - parent.getBoundingClientRect().top),\n left: Math.round(element.getBoundingClientRect().left - parent.getBoundingClientRect().left)\n };\n}\n", "/* eslint-disable */\nimport { getOffset } from './offset.js';\n\nconst locks = new Set();\n\n/** Returns the width of the document's scrollbar */\nfunction getScrollbarWidth() {\n const documentWidth = document.documentElement.clientWidth;\n return Math.abs(window.innerWidth - documentWidth);\n}\n\n/**\n * Used in conjunction with `scrollbarWidth` to set proper body padding in case the user has padding already on the `<body>` element.\n */\nfunction getExistingBodyPadding() {\n const padding = Number(getComputedStyle(document.body).paddingRight.replace(/px/, ''));\n\n if (isNaN(padding) || !padding) {\n return 0;\n }\n\n return padding;\n}\n\n/**\n * Prevents body scrolling. Keeps track of which elements requested a lock so multiple levels of locking are possible\n * without premature unlocking.\n */\nexport function lockBodyScrolling(lockingEl: HTMLElement) {\n locks.add(lockingEl);\n\n // When the first lock is created, set the scroll lock size to match the scrollbar's width to prevent content from\n // shifting. We only do this on the first lock because the scrollbar width will measure zero after overflow is hidden.\n if (!document.documentElement.classList.contains('syn-scroll-lock')) {\n /** Scrollbar width + body padding calculation can go away once Safari has scrollbar-gutter support. */\n const scrollbarWidth = getScrollbarWidth() + getExistingBodyPadding(); // must be measured before the `syn-scroll-lock` class is applied\n\n let scrollbarGutterProperty = getComputedStyle(document.documentElement).scrollbarGutter;\n\n // default is auto, unsupported browsers is \"undefined\"\n if (!scrollbarGutterProperty || scrollbarGutterProperty === 'auto') {\n scrollbarGutterProperty = 'stable';\n }\n\n /** Sometimes the scrollbar width is 1px, even then, we assume nothing is overflowing. */\n if (scrollbarWidth < 2) {\n // if there's no scrollbar, just set it to an empty string so whatever the user has set gets used. This is useful if the page is not overflowing and showing a scrollbar, or if the user has overflow: hidden, or any other reason a scrollbar may not be showing.\n scrollbarGutterProperty = '';\n }\n document.documentElement.style.setProperty('--syn-scroll-lock-gutter', scrollbarGutterProperty);\n document.documentElement.classList.add('syn-scroll-lock');\n document.documentElement.style.setProperty('--syn-scroll-lock-size', `${scrollbarWidth}px`);\n }\n}\n\n/**\n * Unlocks body scrolling. Scrolling will only be unlocked once all elements that requested a lock call this method.\n */\nexport function unlockBodyScrolling(lockingEl: HTMLElement) {\n locks.delete(lockingEl);\n\n if (locks.size === 0) {\n document.documentElement.classList.remove('syn-scroll-lock');\n document.documentElement.style.removeProperty('--syn-scroll-lock-size');\n }\n}\n\n/** Scrolls an element into view of its container. If the element is already in view, nothing will happen. */\nexport function scrollIntoView(\n element: HTMLElement,\n container: HTMLElement,\n direction: 'horizontal' | 'vertical' | 'both' = 'vertical',\n behavior: 'smooth' | 'auto' = 'smooth'\n) {\n const offset = getOffset(element, container);\n const offsetTop = offset.top + container.scrollTop;\n const offsetLeft = offset.left + container.scrollLeft;\n const minX = container.scrollLeft;\n const maxX = container.scrollLeft + container.offsetWidth;\n const minY = container.scrollTop;\n const maxY = container.scrollTop + container.offsetHeight;\n\n if (direction === 'horizontal' || direction === 'both') {\n if (offsetLeft < minX) {\n container.scrollTo({ left: offsetLeft, behavior });\n } else if (offsetLeft + element.clientWidth > maxX) {\n container.scrollTo({ left: offsetLeft - container.offsetWidth + element.clientWidth, behavior });\n }\n }\n\n if (direction === 'vertical' || direction === 'both') {\n if (offsetTop < minY) {\n container.scrollTo({ top: offsetTop, behavior });\n } else if (offsetTop + element.clientHeight > maxY) {\n container.scrollTo({ top: offsetTop - container.offsetHeight + element.clientHeight, behavior });\n }\n }\n}\n"],
|
|
5
|
+
"mappings": ";AAQO,SAAS,UAAU,SAAsB,QAAqB;AACnE,SAAO;AAAA,IACL,KAAK,KAAK,MAAM,QAAQ,sBAAsB,EAAE,MAAM,OAAO,sBAAsB,EAAE,GAAG;AAAA,IACxF,MAAM,KAAK,MAAM,QAAQ,sBAAsB,EAAE,OAAO,OAAO,sBAAsB,EAAE,IAAI;AAAA,EAC7F;AACF;;;ACVA,IAAM,QAAQ,oBAAI,IAAI;AAGtB,SAAS,oBAAoB;AAC3B,QAAM,gBAAgB,SAAS,gBAAgB;AAC/C,SAAO,KAAK,IAAI,OAAO,aAAa,aAAa;AACnD;AAKA,SAAS,yBAAyB;AAChC,QAAM,UAAU,OAAO,iBAAiB,SAAS,IAAI,EAAE,aAAa,QAAQ,MAAM,EAAE,CAAC;AAErF,MAAI,MAAM,OAAO,KAAK,CAAC,SAAS;AAC9B,WAAO;AAAA,EACT;AAEA,SAAO;AACT;AAMO,SAAS,kBAAkB,WAAwB;AACxD,QAAM,IAAI,SAAS;AAInB,MAAI,CAAC,SAAS,gBAAgB,UAAU,SAAS,iBAAiB,GAAG;AAEnE,UAAM,iBAAiB,kBAAkB,IAAI,uBAAuB;AAEpE,QAAI,0BAA0B,iBAAiB,SAAS,eAAe,EAAE;AAGzE,QAAI,CAAC,2BAA2B,4BAA4B,QAAQ;AAClE,gCAA0B;AAAA,IAC5B;AAGA,QAAI,iBAAiB,GAAG;AAEtB,gCAA0B;AAAA,IAC5B;AACA,aAAS,gBAAgB,MAAM,YAAY,4BAA4B,uBAAuB;AAC9F,aAAS,gBAAgB,UAAU,IAAI,iBAAiB;AACxD,aAAS,gBAAgB,MAAM,YAAY,0BAA0B,GAAG,cAAc,IAAI;AAAA,EAC5F;AACF;AAKO,SAAS,oBAAoB,WAAwB;AAC1D,QAAM,OAAO,SAAS;AAEtB,MAAI,MAAM,SAAS,GAAG;AACpB,aAAS,gBAAgB,UAAU,OAAO,iBAAiB;AAC3D,aAAS,gBAAgB,MAAM,eAAe,wBAAwB;AAAA,EACxE;AACF;AAGO,SAAS,eACd,SACA,WACA,YAAgD,YAChD,WAA8B,UAC9B;AACA,QAAM,SAAS,UAAU,SAAS,SAAS;AAC3C,QAAM,YAAY,OAAO,MAAM,UAAU;AACzC,QAAM,aAAa,OAAO,OAAO,UAAU;AAC3C,QAAM,OAAO,UAAU;AACvB,QAAM,OAAO,UAAU,aAAa,UAAU;AAC9C,QAAM,OAAO,UAAU;AACvB,QAAM,OAAO,UAAU,YAAY,UAAU;AAE7C,MAAI,cAAc,gBAAgB,cAAc,QAAQ;AACtD,QAAI,aAAa,MAAM;AACrB,gBAAU,SAAS,EAAE,MAAM,YAAY,SAAS,CAAC;AAAA,IACnD,WAAW,aAAa,QAAQ,cAAc,MAAM;AAClD,gBAAU,SAAS,EAAE,MAAM,aAAa,UAAU,cAAc,QAAQ,aAAa,SAAS,CAAC;AAAA,IACjG;AAAA,EACF;AAEA,MAAI,cAAc,cAAc,cAAc,QAAQ;AACpD,QAAI,YAAY,MAAM;AACpB,gBAAU,SAAS,EAAE,KAAK,WAAW,SAAS,CAAC;AAAA,IACjD,WAAW,YAAY,QAAQ,eAAe,MAAM;AAClD,gBAAU,SAAS,EAAE,KAAK,YAAY,UAAU,eAAe,QAAQ,cAAc,SAAS,CAAC;AAAA,IACjG;AAAA,EACF;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import {
|
|
2
|
+
option_size_styles_default
|
|
3
|
+
} from "./chunk.AMDQJFFP.js";
|
|
4
|
+
|
|
5
|
+
// src/components/combobox/combobox.custom.styles.ts
|
|
6
|
+
import { css } from "lit";
|
|
7
|
+
var combobox_custom_styles_default = css`
|
|
8
|
+
|
|
9
|
+
.combobox__display-input {
|
|
10
|
+
flex: 1;
|
|
11
|
+
min-width: var(--syn-spacing-2x-large);
|
|
12
|
+
width: unset;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.combobox:not(.combobox--disabled) .combobox__display-input {
|
|
16
|
+
cursor: text;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.listbox__options ::slotted(syn-option[hidden]),
|
|
20
|
+
.listbox__options ::slotted(syn-optgroup[hidden]) {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.listbox__no-results {
|
|
25
|
+
align-items: center;
|
|
26
|
+
color: var(--syn-color-neutral-950);
|
|
27
|
+
display: flex;
|
|
28
|
+
font: var(--syn-body-medium-regular);
|
|
29
|
+
padding: var(--syn-spacing-small) var(--syn-spacing-medium) var(--syn-spacing-small) 52px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.combobox--small .listbox__no-results {
|
|
33
|
+
font-size: var(--syn-input-font-size-small);
|
|
34
|
+
min-height: var(--syn-input-height-small);
|
|
35
|
+
padding: 0 var(--syn-spacing-small) 0 40px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.combobox--large .listbox__no-results {
|
|
39
|
+
font-size: var(--syn-input-font-size-large);
|
|
40
|
+
min-height: var(--syn-input-height-large);
|
|
41
|
+
padding: 0 var(--syn-spacing-large) 0 68px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Multi Select */
|
|
45
|
+
.combobox__tags {
|
|
46
|
+
align-items: center;
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-wrap: wrap;
|
|
49
|
+
margin-inline-start: var(--syn-spacing-2x-small);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.combobox__tags::slotted(syn-tag) {
|
|
53
|
+
cursor: pointer !important;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.combobox--disabled .combobox__tags,
|
|
57
|
+
.combobox--disabled .combobox__tags::slotted(syn-tag) {
|
|
58
|
+
cursor: not-allowed !important;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.combobox--small .combobox__tags {
|
|
62
|
+
gap: var(--syn-spacing-2x-small);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.combobox--medium .combobox__tags {
|
|
66
|
+
gap: var(--syn-spacing-x-small);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.combobox--large .combobox__tags {
|
|
70
|
+
gap: var(--syn-spacing-small);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.combobox--tags-visible.combobox--small .combobox__tags {
|
|
74
|
+
margin-inline-end: var(--syn-spacing-x-small);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.combobox--tags-visible.combobox--medium .combobox__tags {
|
|
78
|
+
margin-inline-end: var(--syn-input-spacing-small);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.combobox--tags-visible.combobox--large .combobox__tags {
|
|
82
|
+
margin-inline-end: var(--syn-input-spacing-medium);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* #850: Allow to measure the size of the combobox.
|
|
87
|
+
* This is needed so we can automatically size and truncate the tags in the <syn-combobox multiple> component.
|
|
88
|
+
* Scoped to multiple to not break the single select per accident.
|
|
89
|
+
* Scoped to when placeholder is not visible to not break the placeholder visualization
|
|
90
|
+
*/
|
|
91
|
+
:host([multiple]) :not(.combobox--placeholder-visible).combobox--tags-visible > .combobox__inputs > .combobox__tags {
|
|
92
|
+
min-width: 85px;
|
|
93
|
+
overflow: hidden;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
:host([multiple]) .combobox__tags > div {
|
|
97
|
+
display: contents;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:host([multiple]) .combobox__tags > div > syn-tag {
|
|
101
|
+
--syn-tag-position-adjustment: var(--syn-spacing-3x-small);
|
|
102
|
+
|
|
103
|
+
max-width: var(--syn-select-tag-max-width);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
:host([multiple]) .combobox__tags > div > syn-tag::part(content) {
|
|
107
|
+
display: initial;
|
|
108
|
+
overflow: hidden;
|
|
109
|
+
text-overflow: ellipsis;
|
|
110
|
+
white-space: nowrap;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/*
|
|
114
|
+
This class is needed to be able to hide the options as long as the popup close animation is running.
|
|
115
|
+
As otherwise the listbox would flicker because the options are shown again when the value is reset to empty string.
|
|
116
|
+
*/
|
|
117
|
+
.options__hide {
|
|
118
|
+
/* We need to set the slot to something different than display: contents to be able to hide it. Also it should not take any space so we remove the height */
|
|
119
|
+
display: block;
|
|
120
|
+
height: 0;
|
|
121
|
+
opacity: 0;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
${option_size_styles_default}
|
|
125
|
+
`;
|
|
126
|
+
|
|
127
|
+
export {
|
|
128
|
+
combobox_custom_styles_default
|
|
129
|
+
};
|
|
130
|
+
//# sourceMappingURL=chunk.2IL4PA6Q.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/combobox/combobox.custom.styles.ts"],
|
|
4
|
+
"sourcesContent": ["import { css } from 'lit';\nimport sharedOptionSize from '../option/option-size.styles.js';\n\nexport default css`\n\n .combobox__display-input {\n flex: 1;\n min-width: var(--syn-spacing-2x-large);\n width: unset;\n }\n\n .combobox:not(.combobox--disabled) .combobox__display-input {\n cursor: text;\n }\n\n .listbox__options ::slotted(syn-option[hidden]), \n .listbox__options ::slotted(syn-optgroup[hidden]) {\n display: none;\n }\n\n .listbox__no-results {\n align-items: center;\n color: var(--syn-color-neutral-950);\n display: flex;\n font: var(--syn-body-medium-regular);\n padding: var(--syn-spacing-small) var(--syn-spacing-medium) var(--syn-spacing-small) 52px;\n }\n\n .combobox--small .listbox__no-results {\n font-size: var(--syn-input-font-size-small);\n min-height: var(--syn-input-height-small);\n padding: 0 var(--syn-spacing-small) 0 40px;\n }\n\n .combobox--large .listbox__no-results {\n font-size: var(--syn-input-font-size-large);\n min-height: var(--syn-input-height-large);\n padding: 0 var(--syn-spacing-large) 0 68px;\n }\n\n /* Multi Select */\n .combobox__tags {\n align-items: center;\n display: flex;\n flex-wrap: wrap;\n margin-inline-start: var(--syn-spacing-2x-small);\n }\n\n .combobox__tags::slotted(syn-tag) {\n cursor: pointer !important;\n }\n\n .combobox--disabled .combobox__tags,\n .combobox--disabled .combobox__tags::slotted(syn-tag) {\n cursor: not-allowed !important;\n }\n\n .combobox--small .combobox__tags {\n gap: var(--syn-spacing-2x-small);\n }\n\n .combobox--medium .combobox__tags {\n gap: var(--syn-spacing-x-small);\n }\n\n .combobox--large .combobox__tags {\n gap: var(--syn-spacing-small);\n }\n\n .combobox--tags-visible.combobox--small .combobox__tags {\n margin-inline-end: var(--syn-spacing-x-small);\n }\n\n .combobox--tags-visible.combobox--medium .combobox__tags {\n margin-inline-end: var(--syn-input-spacing-small);\n }\n\n .combobox--tags-visible.combobox--large .combobox__tags {\n margin-inline-end: var(--syn-input-spacing-medium);\n }\n\n /**\n * #850: Allow to measure the size of the combobox.\n * This is needed so we can automatically size and truncate the tags in the <syn-combobox multiple> component.\n * Scoped to multiple to not break the single select per accident.\n * Scoped to when placeholder is not visible to not break the placeholder visualization\n */\n :host([multiple]) :not(.combobox--placeholder-visible).combobox--tags-visible > .combobox__inputs > .combobox__tags {\n min-width: 85px;\n overflow: hidden;\n }\n\n :host([multiple]) .combobox__tags > div {\n display: contents;\n }\n\n :host([multiple]) .combobox__tags > div > syn-tag {\n --syn-tag-position-adjustment: var(--syn-spacing-3x-small);\n\n max-width: var(--syn-select-tag-max-width);\n }\n\n :host([multiple]) .combobox__tags > div > syn-tag::part(content) {\n display: initial;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n /* \n This class is needed to be able to hide the options as long as the popup close animation is running.\n As otherwise the listbox would flicker because the options are shown again when the value is reset to empty string.\n */\n .options__hide {\n /* We need to set the slot to something different than display: contents to be able to hide it. Also it should not take any space so we remove the height */\n display: block;\n height: 0;\n opacity: 0;\n }\n\n ${sharedOptionSize}\n`;\n"],
|
|
5
|
+
"mappings": ";;;;;AAAA,SAAS,WAAW;AAGpB,IAAO,iCAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAqHX,0BAAgB;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -6,22 +6,25 @@ import {
|
|
|
6
6
|
} from "./chunk.BL5JW7YS.js";
|
|
7
7
|
import {
|
|
8
8
|
option_styles_default
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.5FVNGR5M.js";
|
|
10
10
|
import {
|
|
11
11
|
SynIcon
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.7XSJ52RM.js";
|
|
13
13
|
import {
|
|
14
14
|
LocalizeController
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.QLETXF4A.js";
|
|
16
|
+
import {
|
|
17
|
+
enableDefaultSettings
|
|
18
|
+
} from "./chunk.YACUYJZN.js";
|
|
16
19
|
import {
|
|
17
20
|
watch
|
|
18
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.SMIMHADA.js";
|
|
19
22
|
import {
|
|
20
23
|
component_styles_default
|
|
21
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.FXJLG622.js";
|
|
22
25
|
import {
|
|
23
26
|
SynergyElement
|
|
24
|
-
} from "./chunk.
|
|
27
|
+
} from "./chunk.VWFRCPN5.js";
|
|
25
28
|
import {
|
|
26
29
|
__decorateClass
|
|
27
30
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -182,8 +185,11 @@ __decorateClass([
|
|
|
182
185
|
__decorateClass([
|
|
183
186
|
watch("value")
|
|
184
187
|
], SynOption.prototype, "handleValueChange", 1);
|
|
188
|
+
SynOption = __decorateClass([
|
|
189
|
+
enableDefaultSettings("SynOption")
|
|
190
|
+
], SynOption);
|
|
185
191
|
|
|
186
192
|
export {
|
|
187
193
|
SynOption
|
|
188
194
|
};
|
|
189
|
-
//# sourceMappingURL=chunk.
|
|
195
|
+
//# sourceMappingURL=chunk.2PW7XZZF.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/option/option.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.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 SynIcon from '../icon/icon.component.js';\nimport styles from './option.styles.js';\nimport customStyles from './option.custom.styles.js';\nimport { delimiterToWhiteSpace } from './utility.js';\nimport type { CSSResultGroup } from 'lit';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Options define the selectable items within various form controls such as [select](/components/select).\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-option--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n *\n * @slot - The option's label.\n * @slot prefix - Used to prepend an icon or similar element to the menu item.\n * @slot suffix - Used to append an icon or similar element to the menu item.\n *\n * @csspart checked-icon - The checked icon, an `<syn-icon>` element.\n * @csspart base - The component's base wrapper.\n * @csspart label - The option's label.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n */\n@enableDefaultSettings('SynOption')\nexport default class SynOption extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = { 'syn-icon': SynIcon };\n\n // @ts-expect-error - Controller is currently unused\n private readonly localize = new LocalizeController(this);\n\n // #1036: Needed to store the original value before any delimiter processing\n private originalValue: string | number = '';\n private isInitialized = false;\n\n @query('.option__label') defaultSlot: HTMLSlotElement;\n\n // the delimiter used to separate multiple values in a select\n // This is provided by the wrapping syn-select\n @state() delimiter = ' ';\n\n @state() current = false; // the user has keyed into the option, but hasn't selected it yet (shows a highlight)\n @state() selected = false; // the option is selected and has aria-selected=\"true\"\n @state() hasHover = false; // we need this because Safari doesn't honor :hover styles while dragging\n\n /**\n * The option's value. When selected, the containing form control will receive this value. The value must be unique\n * from other options in the same group. Values may not contain spaces, as spaces are used as delimiters when listing\n * multiple values.\n */\n @property({ reflect: true }) value: string | number = '';\n\n /** Draws the option in a disabled state, preventing selection. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n connectedCallback() {\n super.connectedCallback();\n this.setAttribute('role', 'option');\n this.setAttribute('aria-selected', 'false');\n }\n\n private handleDefaultSlotChange() {\n if (this.isInitialized) {\n // When the label changes, tell the controller to update\n this.triggerParentDefaultSlotChange();\n } else {\n this.isInitialized = true;\n }\n }\n\n private handleMouseEnter() {\n this.hasHover = true;\n }\n\n private handleMouseLeave() {\n this.hasHover = false;\n }\n\n @watch('disabled')\n handleDisabledChange() {\n this.setAttribute('aria-disabled', this.disabled ? 'true' : 'false');\n }\n\n @watch('selected')\n handleSelectedChange() {\n this.setAttribute('aria-selected', this.selected ? 'true' : 'false');\n }\n\n @watch('delimiter')\n handleDelimiterChange() {\n this.sanitizeValueForDelimiter();\n }\n\n @watch('value')\n handleValueChange() {\n this.originalValue = this.value;\n this.sanitizeValueForDelimiter();\n }\n\n /**\n * Replaces any occurrences of the delimiter in the option's original value with underscores.\n */\n sanitizeValueForDelimiter() {\n let value = this.originalValue;\n if (typeof value === 'number') {\n return;\n }\n\n // Ensure the value is a string. This ensures the next line doesn't error and allows framework users to pass numbers\n // instead of requiring them to cast the value to a string.\n if (typeof value !== 'string') {\n value = String(value);\n }\n\n const { delimiter } = this;\n\n if (value.includes(delimiter)) {\n console.error(`Option values cannot include \"${delimiter}\". All occurrences of \"${delimiter}\" have been replaced with \"_\".`, this);\n value = delimiterToWhiteSpace(value, this.delimiter);\n }\n this.value = value;\n // #1056 We need to trigger the parent component's default slot change, so it can update its value selection\n this.triggerParentDefaultSlotChange();\n }\n\n /** Returns a plain text label based on the option's content. */\n getTextLabel() {\n const nodes = this.childNodes;\n let label = '';\n\n [...nodes].forEach(node => {\n if (node.nodeType === Node.ELEMENT_NODE) {\n if (!(node as HTMLElement).hasAttribute('slot')) {\n label += (node as HTMLElement).textContent;\n }\n }\n\n if (node.nodeType === Node.TEXT_NODE) {\n label += node.textContent;\n }\n });\n\n return label.trim();\n }\n\n private triggerParentDefaultSlotChange() {\n customElements.whenDefined('syn-combobox').then(() => {\n const controller = this.closest('syn-combobox');\n if (controller) {\n controller.handleDefaultSlotChange();\n }\n });\n customElements.whenDefined('syn-select').then(() => {\n const controller = this.closest('syn-select');\n if (controller) {\n controller.handleDefaultSlotChange();\n }\n });\n }\n\n render() {\n return html`\n <div\n part=\"base\"\n class=${classMap({\n option: true,\n 'option--current': this.current,\n 'option--disabled': this.disabled,\n 'option--selected': this.selected,\n 'option--hover': this.hasHover\n })}\n @mouseenter=${this.handleMouseEnter}\n @mouseleave=${this.handleMouseLeave}\n >\n <syn-icon part=\"checked-icon\" class=\"option__check\" name=\"check\" library=\"system\" aria-hidden=\"true\"></syn-icon>\n <slot part=\"prefix\" name=\"prefix\" class=\"option__prefix\"></slot>\n <slot part=\"label\" class=\"option__label\" @slotchange=${this.handleDefaultSlotChange}></slot>\n <slot part=\"suffix\" name=\"suffix\" class=\"option__suffix\"></slot>\n </div>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AACzB,SAAS,YAAY;AAErB,SAAS,UAAU,OAAO,aAAa;AA8BvC,IAAqB,YAArB,cAAuC,eAAe;AAAA,EAAtD;AAAA;AAKE;AAAA,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAGvD;AAAA,SAAQ,gBAAiC;AACzC,SAAQ,gBAAgB;AAMf,qBAAY;AAEZ,mBAAU;AACV,oBAAW;AACX,oBAAW;AAOS,iBAAyB;AAGV,oBAAW;AAAA;AAAA,EAEvD,oBAAoB;AAClB,UAAM,kBAAkB;AACxB,SAAK,aAAa,QAAQ,QAAQ;AAClC,SAAK,aAAa,iBAAiB,OAAO;AAAA,EAC5C;AAAA,EAEQ,0BAA0B;AAChC,QAAI,KAAK,eAAe;AAEtB,WAAK,+BAA+B;AAAA,IACtC,OAAO;AACL,WAAK,gBAAgB;AAAA,IACvB;AAAA,EACF;AAAA,EAEQ,mBAAmB;AACzB,SAAK,WAAW;AAAA,EAClB;AAAA,EAEQ,mBAAmB;AACzB,SAAK,WAAW;AAAA,EAClB;AAAA,EAGA,uBAAuB;AACrB,SAAK,aAAa,iBAAiB,KAAK,WAAW,SAAS,OAAO;AAAA,EACrE;AAAA,EAGA,uBAAuB;AACrB,SAAK,aAAa,iBAAiB,KAAK,WAAW,SAAS,OAAO;AAAA,EACrE;AAAA,EAGA,wB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
|
|
5
5
|
spinner_custom_styles_default
|
|
6
6
|
} from "./chunk.WQMTAEYE.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.VWFRCPN5.js";
|
|
16
16
|
|
|
17
17
|
// src/components/spinner/spinner.component.ts
|
|
18
18
|
import { html } from "lit";
|
|
@@ -35,4 +35,4 @@ SynSpinner.styles = [component_styles_default, spinner_styles_default, spinner_c
|
|
|
35
35
|
export {
|
|
36
36
|
SynSpinner
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=chunk.
|
|
38
|
+
//# sourceMappingURL=chunk.2RS24S7K.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/spinner/spinner.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { html } from 'lit';\nimport { LocalizeController } from '../../utilities/localize.js';\nimport componentStyles from '../../styles/component.styles.js';\nimport SynergyElement from '../../internal/synergy-element.js';\nimport styles from './spinner.styles.js';\nimport customStyles from './spinner.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\n\n/**\n * @summary Spinners are used to show the progress of an indeterminate operation.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-spinner--docs\n * @status stable\n * @since 2.0\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --track-width - The width of the track.\n * @cssproperty --indicator-color - The color of the spinner's indicator.\n * @cssproperty --speed - The time it takes for the spinner to complete one animation cycle.\n */\nexport default class SynSpinner extends SynergyElement {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n\n private readonly localize = new LocalizeController(this);\n\n render() {\n return html`\n <svg part=\"base\" class=\"spinner\" role=\"progressbar\" aria-label=${this.localize.term('loading')}>\n <circle class=\"spinner__track\"></circle>\n <circle class=\"spinner__indicator\"></circle>\n </svg>\n `;\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AACA,SAAS,YAAY;AAoBrB,IAAqB,aAArB,cAAwC,eAAe;AAAA,EAAvD;AAAA;AAGE,SAAiB,WAAW,IAAI,mBAAmB,IAAI;AAAA;AAAA,EAEvD,SAAS;AACP,WAAO;AAAA,uEAC4D,KAAK,SAAS,KAAK,SAAS,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKlG;AACF;AAbqB,WACZ,SAAyB,CAAC,0BAAiB,wBAAQ,6BAAY;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -3,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.VWFRCPN5.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.32C66EYB.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=\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AAA;AAAA,oCAEwB,KAAK,gBAAgB;AAAA;AAAA,gBAG7C,EAAE;AAAA,UACJ,KAAK,eAAe,aAClB;AAAA;AAAA,oCAEwB,KAAK,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/divider/divider.styles.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { css } from 'lit';\n\nexport default css`\n\t/* stylelint-disable */\n :host {\n --color: var(--syn-panel-border-color);\n --width: var(--syn-panel-border-width);\n --spacing: var(--syn-spacing-medium);\n }\n\n :host(:not([vertical])) {\n display: block;\n border-top: solid var(--width) var(--color);\n margin: var(--spacing) 0;\n }\n\n :host([vertical]) {\n display: inline-block;\n height: 100%;\n border-left: solid var(--width) var(--color);\n margin: 0 var(--spacing);\n }\n`;\n"],
|
|
5
|
+
"mappings": ";AACA,SAAS,WAAW;AAEpB,IAAO,yBAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynSpinner
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2RS24S7K.js";
|
|
4
4
|
import {
|
|
5
5
|
FormControlController,
|
|
6
6
|
validValidityState
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.J3GDDM6Q.js";
|
|
8
8
|
import {
|
|
9
9
|
button_custom_styles_default
|
|
10
10
|
} from "./chunk.4YHI2ATV.js";
|
|
11
11
|
import {
|
|
12
12
|
button_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.UB4EPKCP.js";
|
|
14
14
|
import {
|
|
15
15
|
HasSlotController,
|
|
16
16
|
getTextContent
|
|
17
|
-
} from "./chunk.
|
|
17
|
+
} from "./chunk.CHFWLQN5.js";
|
|
18
18
|
import {
|
|
19
19
|
SynIcon
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.7XSJ52RM.js";
|
|
21
21
|
import {
|
|
22
22
|
LocalizeController
|
|
23
|
-
} from "./chunk.
|
|
23
|
+
} from "./chunk.QLETXF4A.js";
|
|
24
24
|
import {
|
|
25
25
|
enableDefaultSettings
|
|
26
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.YACUYJZN.js";
|
|
27
27
|
import {
|
|
28
28
|
watch
|
|
29
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.SMIMHADA.js";
|
|
30
30
|
import {
|
|
31
31
|
component_styles_default
|
|
32
|
-
} from "./chunk.
|
|
32
|
+
} from "./chunk.FXJLG622.js";
|
|
33
33
|
import {
|
|
34
34
|
SynergyElement
|
|
35
|
-
} from "./chunk.
|
|
35
|
+
} from "./chunk.VWFRCPN5.js";
|
|
36
36
|
import {
|
|
37
37
|
__decorateClass
|
|
38
38
|
} from "./chunk.MO2GTRUM.js";
|
|
@@ -295,4 +295,4 @@ SynButton = __decorateClass([
|
|
|
295
295
|
export {
|
|
296
296
|
SynButton
|
|
297
297
|
};
|
|
298
|
-
//# sourceMappingURL=chunk.
|
|
298
|
+
//# sourceMappingURL=chunk.36HGXE6I.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/button/button.component.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\nimport { classMap } from 'lit/directives/class-map.js';\nimport { FormControlController, validValidityState } from '../../internal/form.js';\nimport { HasSlotController, getTextContent } from '../../internal/slot.js';\nimport { html, literal } from 'lit/static-html.js';\nimport { ifDefined } from 'lit/directives/if-defined.js';\nimport { LocalizeController } from '../../utilities/localize.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 SynIcon from '../icon/icon.component.js';\nimport SynSpinner from '../spinner/spinner.component.js';\nimport styles from './button.styles.js';\nimport customStyles from './button.custom.styles.js';\nimport type { CSSResultGroup } from 'lit';\nimport type { SynergyFormControl } from '../../internal/synergy-element.js';\nimport { enableDefaultSettings } from '../../utilities/defaultSettings/decorator.js';\n\n/**\n * @summary Buttons represent actions that are available to the user.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-button--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n * @dependency syn-spinner\n *\n * @event syn-blur - Emitted when the button loses focus.\n * @event syn-focus - Emitted when the button gains focus.\n * @event syn-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n *\n * @slot - The button's label.\n * @slot prefix - A presentational prefix icon or similar element.\n * @slot suffix - A presentational suffix icon or similar element.\n *\n * @csspart base - The component's base wrapper.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart label - The button's label.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart caret - The button's caret icon, an `<syn-icon>` element.\n * @csspart spinner - The spinner that shows when the button is in the loading state.\n */\n@enableDefaultSettings('SynButton')\nexport default class SynButton extends SynergyElement implements SynergyFormControl {\n static styles: CSSResultGroup = [componentStyles, styles, customStyles];\n static dependencies = {\n 'syn-icon': SynIcon,\n 'syn-spinner': SynSpinner\n };\n\n private readonly formControlController = new FormControlController(this, {\n assumeInteractionOn: ['click']\n });\n\n private readonly hasSlotController = new HasSlotController(this, '[default]', 'prefix', 'suffix');\n private readonly localize = new LocalizeController(this);\n\n @query('.button') button: HTMLButtonElement | HTMLLinkElement;\n @query('slot:not([name])') defaultSlot: HTMLSlotElement;\n\n @state() private iconOnly = false;\n\n @state() private hasFocus = false;\n @state() invalid = false;\n @property({ reflect: true }) title = ''; // make reactive to pass through\n\n /** The button's theme variant. */\n @property({ reflect: true }) variant: 'filled' | 'outline' | 'text' = 'outline';\n\n /** The button's size. */\n @property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';\n\n /** Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior. */\n @property({ type: Boolean, reflect: true }) caret = false;\n\n /** Disables the button. */\n @property({ type: Boolean, reflect: true }) disabled = false;\n\n /** Draws the button in a loading state. */\n @property({ type: Boolean, reflect: true }) loading = false;\n\n /**\n * The type of button. Note that the default value is `button` instead of `submit`, which is opposite of how native\n * `<button>` elements behave. When the type is `submit`, the button will submit the surrounding form.\n */\n @property() type: 'button' | 'submit' | 'reset' = 'button';\n\n /**\n * The name of the button, submitted as a name/value pair with form data, but only when this button is the submitter.\n * This attribute is ignored when `href` is present.\n */\n @property() name = '';\n\n /**\n * The value of the button, submitted as a pair with the button's name as part of the form data, but only when this\n * button is the submitter. This attribute is ignored when `href` is present.\n */\n @property() value = '';\n\n /** When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`. */\n @property() href = '';\n\n /** Tells the browser where to open the link. Only used when `href` is present. */\n @property() target: '_blank' | '_parent' | '_self' | '_top';\n\n /**\n * When using `href`, this attribute will map to the underlying link's `rel` attribute. Unlike regular links, the\n * default is `noreferrer noopener` to prevent security exploits. However, if you're using `target` to point to a\n * specific tab/window, this will prevent that from working correctly. You can remove or change the default value by\n * setting the attribute to an empty string or a value of your choice, respectively.\n */\n @property() rel = 'noreferrer noopener';\n\n /** Tells the browser to download the linked file as this filename. Only used when `href` is present. */\n @property() download?: string;\n\n /**\n * The \"form owner\" to associate the button with. If omitted, the closest containing form will be used instead. The\n * value of this attribute must be an id of a form in the same document or shadow root as the button.\n */\n @property() form: string;\n\n /** Used to override the form owner's `action` attribute. */\n @property({ attribute: 'formaction' }) formAction: string;\n\n /** Used to override the form owner's `enctype` attribute. */\n @property({ attribute: 'formenctype' })\n formEnctype: 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain';\n\n /** Used to override the form owner's `method` attribute. */\n @property({ attribute: 'formmethod' }) formMethod: 'post' | 'get';\n\n /** Used to override the form owner's `novalidate` attribute. */\n @property({ attribute: 'formnovalidate', type: Boolean }) formNoValidate: boolean;\n\n /** Used to override the form owner's `target` attribute. */\n @property({ attribute: 'formtarget' }) formTarget: '_self' | '_blank' | '_parent' | '_top' | string;\n\n /** Gets the validity state object */\n get validity() {\n if (this.isButton()) {\n return (this.button as HTMLButtonElement).validity;\n }\n\n return validValidityState;\n }\n\n /** Gets the validation message */\n get validationMessage() {\n if (this.isButton()) {\n return (this.button as HTMLButtonElement).validationMessage;\n }\n\n return '';\n }\n\n firstUpdated() {\n if (this.isButton()) {\n this.formControlController.updateValidity();\n }\n }\n\n private handleBlur() {\n this.hasFocus = false;\n this.emit('syn-blur');\n }\n\n private handleFocus() {\n this.hasFocus = true;\n this.emit('syn-focus');\n }\n\n private handleClick() {\n if (this.type === 'submit') {\n this.formControlController.submit(this);\n }\n\n if (this.type === 'reset') {\n this.formControlController.reset(this);\n }\n }\n\n private handleInvalid(event: Event) {\n this.formControlController.setValidity(false);\n this.formControlController.emitInvalidEvent(event);\n }\n\n private isButton() {\n return this.href ? false : true;\n }\n\n private isLink() {\n return this.href ? true : false;\n }\n\n private handleSlotChange() {\n const textContent = getTextContent(this.defaultSlot).trim();\n const assignedElements = this.defaultSlot.assignedElements({flatten: true})\n const iconOnlyElement = assignedElements.length === 1 && assignedElements[0].tagName.toLowerCase() === 'syn-icon';\n\n this.iconOnly = iconOnlyElement && textContent === '';\n }\n\n @watch('disabled', { waitUntilFirstUpdate: true })\n handleDisabledChange() {\n if (this.isButton()) {\n // Disabled form controls are always valid\n this.formControlController.setValidity(this.disabled);\n }\n }\n\n /** Simulates a click on the button. */\n click() {\n this.button.click();\n }\n\n /** Sets focus on the button. */\n focus(options?: FocusOptions) {\n this.button.focus(options);\n }\n\n /** Removes focus from the button. */\n blur() {\n this.button.blur();\n }\n\n /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */\n checkValidity() {\n if (this.isButton()) {\n return (this.button as HTMLButtonElement).checkValidity();\n }\n\n return true;\n }\n\n /** Gets the associated form, if one exists. */\n getForm(): HTMLFormElement | null {\n return this.formControlController.getForm();\n }\n\n /** Checks for validity and shows the browser's validation message if the control is invalid. */\n reportValidity() {\n if (this.isButton()) {\n return (this.button as HTMLButtonElement).reportValidity();\n }\n\n return true;\n }\n\n /** Sets a custom validation message. Pass an empty string to restore validity. */\n setCustomValidity(message: string) {\n if (this.isButton()) {\n (this.button as HTMLButtonElement).setCustomValidity(message);\n this.formControlController.updateValidity();\n }\n }\n\n render() {\n const isLink = this.isLink();\n const tag = isLink ? literal`a` : literal`button`;\n\n /* eslint-disable lit/no-invalid-html */\n /* eslint-disable lit/binding-positions */\n return html`\n <${tag}\n part=\"base\"\n class=${classMap({\n button: true,\n 'button--primary': true,\n 'button--text': this.variant === 'text',\n 'button--small': this.size === 'small',\n 'button--medium': this.size === 'medium',\n 'button--large': this.size === 'large',\n 'button--caret': this.caret,\n 'button--disabled': this.disabled,\n 'button--focused': this.hasFocus,\n 'button--loading': this.loading,\n 'button--filled': this.variant === 'filled',\n 'button--outline': this.variant === 'outline',\n 'button--rtl': this.localize.dir() === 'rtl',\n 'button--has-label': this.hasSlotController.test('[default]'),\n 'button--has-prefix': this.hasSlotController.test('prefix'),\n 'button--has-suffix': this.hasSlotController.test('suffix')\n })}\n ?disabled=${ifDefined(isLink ? undefined : this.disabled)}\n type=${ifDefined(isLink ? undefined : this.type)}\n title=${this.title /* An empty title prevents browser validation tooltips from appearing on hover */}\n name=${ifDefined(isLink ? undefined : this.name)}\n value=${ifDefined(isLink ? undefined : this.value)}\n href=${ifDefined(isLink && !this.disabled ? this.href : undefined)}\n target=${ifDefined(isLink ? this.target : undefined)}\n download=${ifDefined(isLink ? this.download : undefined)}\n rel=${ifDefined(isLink ? this.rel : undefined)}\n role=${ifDefined(isLink ? undefined : 'button')}\n aria-disabled=${this.disabled ? 'true' : 'false'}\n tabindex=${this.disabled ? '-1' : '0'}\n @blur=${this.handleBlur}\n @focus=${this.handleFocus}\n @invalid=${this.isButton() ? this.handleInvalid : null}\n @click=${this.handleClick}\n >\n <slot name=\"prefix\" part=\"prefix\" class=\"button__prefix\"></slot>\n <slot part=\"label\" class=${classMap({ 'button__label': true, 'button__icon-only': this.iconOnly })} @slotchange=${this.handleSlotChange}></slot>\n <slot name=\"suffix\" part=\"suffix\" class=\"button__suffix\"></slot>\n ${\n this.caret ? html` <syn-icon part=\"caret\" class=\"button__caret\" library=\"system\" name=\"chevron-down\"></syn-icon> ` : ''\n }\n ${this.loading ? html`<syn-spinner part=\"spinner\"></syn-spinner>` : ''}\n </${tag}>\n `;\n /* eslint-enable lit/no-invalid-html */\n /* eslint-enable lit/binding-positions */\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,SAAS,gBAAgB;AAGzB,SAAS,MAAM,eAAe;AAC9B,SAAS,iBAAiB;AAE1B,SAAS,UAAU,OAAO,aAAa;AAqCvC,IAAqB,YAArB,cAAuC,eAA6C;AAAA,EAApF;AAAA;AAOE,SAAiB,wBAAwB,IAAI,sBAAsB,MAAM;AAAA,MACvE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A,GA5DS,UA4DP;AAQA;AAAA,EAAX,SAAS;AAAA,GApES,UAoEP;AAGA;AAAA,EAAX,SAAS;AAAA,GAvES,UAuEP;AAMA;AAAA,EAAX,SAAS;AAAA,GA7ES,UA6EP;AAG2B;AAAA,EAAtC,SAAS,EAAE,WAAW,aAAa,CAAC;AAAA,GAhFlB,UAgFoB;AAIvC;AAAA,EADC,SAAS,EAAE,WAAW,cAAc,CAAC;AAAA,GAnFnB,UAoFnB;AAGuC;AAAA,EAAtC,SAAS,EAAE,WAAW,aAAa,CAAC;AAAA,GAvFlB,UAuFoB;AAGmB;AAAA,EAAzD,SAAS,EAAE,WAAW,kBAAkB,MAAM,QAAQ,CAAC;AAAA,GA1FrC,UA0FuC;AAGnB;AAAA,EAAtC,SAAS,EAAE,WAAW,aAAa,CAAC;AAAA,GA7FlB,UA6FoB;AAoEvC;AAAA,EADC,MAAM,YAAY,EAAE,sBAAsB,KAAK,CAAC;AAAA,GAhK9B,UAiKnB;AAjKmB,YAArB;AAAA,EADC,sBAAsB,WAAW;AAAA,GACb;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/internal/default-value.ts"],
|
|
4
|
+
"sourcesContent": ["/* eslint-disable */\n// @defaultValue decorator\n//\n// Runs when the corresponding attribute of the observed property changes, e.g. after calling Element.setAttribute or after updating\n// the observed property.\n//\n// The decorator checks whether the value of the attribute is different from the value of the property and in that case\n// it saves the new value.\n//\n//\n// Usage:\n//\n// @property({ type: Boolean, reflect: true }) checked = false;\n//\n// @defaultValue('checked') defaultChecked = false;\n//\n\nimport { defaultConverter } from 'lit';\nimport type { ReactiveElement } from 'lit';\n\nexport const defaultValue =\n (propertyName = 'value') =>\n (proto: ReactiveElement, key: string) => {\n const ctor = proto.constructor as typeof ReactiveElement;\n\n const attributeChangedCallback = ctor.prototype.attributeChangedCallback;\n ctor.prototype.attributeChangedCallback = function (\n this: ReactiveElement & { [name: string]: unknown },\n name,\n old,\n value\n ) {\n const options = ctor.getPropertyOptions(propertyName);\n const attributeName = typeof options.attribute === 'string' ? options.attribute : propertyName;\n\n if (name === attributeName) {\n const converter = options.converter || defaultConverter;\n const fromAttribute =\n typeof converter === 'function' ? converter : (converter?.fromAttribute ?? defaultConverter.fromAttribute);\n\n const newValue: unknown = fromAttribute!(value, options.type);\n\n if (this[propertyName] !== newValue) {\n this[key] = newValue;\n }\n }\n\n attributeChangedCallback.call(this, name, old, value);\n };\n };\n"],
|
|
5
|
+
"mappings": ";AAiBA,SAAS,wBAAwB;AAG1B,IAAM,eACX,CAAC,eAAe,YAChB,CAAC,OAAwB,QAAgB;AACvC,QAAM,OAAO,MAAM;AAEnB,QAAM,2BAA2B,KAAK,UAAU;AAChD,OAAK,UAAU,2BAA2B,SAExC,MACA,KACA,OACA;AA/BN;AAgCM,UAAM,UAAU,KAAK,mBAAmB,YAAY;AACpD,UAAM,gBAAgB,OAAO,QAAQ,cAAc,WAAW,QAAQ,YAAY;AAElF,QAAI,SAAS,eAAe;AAC1B,YAAM,YAAY,QAAQ,aAAa;AACvC,YAAM,gBACJ,OAAO,cAAc,aAAa,aAAa,4CAAW,kBAAX,YAA4B,iBAAiB;AAE9F,YAAM,WAAoB,cAAe,OAAO,QAAQ,IAAI;AAE5D,UAAI,KAAK,YAAY,MAAM,UAAU;AACnC,aAAK,GAAG,IAAI;AAAA,MACd;AAAA,IACF;AAEA,6BAAyB,KAAK,MAAM,MAAM,KAAK,KAAK;AAAA,EACtD;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SynOption
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.2PW7XZZF.js";
|
|
4
4
|
|
|
5
5
|
// src/components/option/option.ts
|
|
6
6
|
var option_default = SynOption;
|
|
@@ -9,4 +9,4 @@ SynOption.define("syn-option");
|
|
|
9
9
|
export {
|
|
10
10
|
option_default
|
|
11
11
|
};
|
|
12
|
-
//# sourceMappingURL=chunk.
|
|
12
|
+
//# sourceMappingURL=chunk.3NALMFRW.js.map
|