@kdcloudjs/shoelace 0.0.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/{chunk.ZITR7CNV.js → chunk.23LEVUAD.js} +1 -1
- package/cdn/chunks/{chunk.IUHTUI3I.js → chunk.2DQM7KR3.js} +1 -1
- package/cdn/chunks/{chunk.7ADEH4EC.js → chunk.2LZSKJ2T.js} +1 -1
- package/cdn/chunks/{chunk.2PRYPMT2.js → chunk.2MEQUOQT.js} +2 -2
- package/cdn/chunks/{chunk.T2U3HEUX.js → chunk.2R5GUAS4.js} +2 -2
- package/cdn/chunks/{chunk.L5ZTEK4M.js → chunk.2ZRKTSMX.js} +1 -1
- package/cdn/chunks/{chunk.FZX25RCS.js → chunk.3AHSZRMI.js} +1 -1
- package/{dist/chunks/chunk.DENOFRR7.js → cdn/chunks/chunk.3DQ7BNHZ.js} +1 -1
- package/cdn/chunks/{chunk.ZJXBRQW5.js → chunk.3GBNNACM.js} +1 -1
- package/cdn/chunks/chunk.3IN3JGBF.js +21 -0
- package/{dist/chunks/chunk.HWOUAQ7Z.js → cdn/chunks/chunk.3IRFJ4MS.js} +1 -1
- package/cdn/chunks/{chunk.K33XKJNC.js → chunk.3QRURD7I.js} +7 -7
- package/cdn/chunks/{chunk.PVG2VMLA.js → chunk.3WDJGGPP.js} +8 -8
- package/cdn/chunks/{chunk.D62MVCEC.js → chunk.4BOWZB3Y.js} +7 -7
- package/cdn/chunks/{chunk.DMDB3P76.js → chunk.4MLXM2Q2.js} +1 -1
- package/cdn/chunks/{chunk.TYW6KXQW.js → chunk.57GYZVBY.js} +1 -1
- package/cdn/chunks/{chunk.VV2HOWBQ.js → chunk.5BFPIXSL.js} +1 -1
- package/cdn/chunks/{chunk.LS5W66UZ.js → chunk.5GSXGIFL.js} +1 -1
- package/cdn/chunks/{chunk.EL3BR24R.js → chunk.5SUMIOIU.js} +1 -1
- package/cdn/chunks/{chunk.R7VBPZW6.js → chunk.5SZDGBQF.js} +16 -3
- package/cdn/chunks/{chunk.MN2P6Q7I.js → chunk.622XCQBN.js} +1 -1
- package/cdn/chunks/{chunk.MHUQSVOW.js → chunk.63IG2JBO.js} +51 -15
- package/cdn/chunks/{chunk.5ZXTOQGQ.js → chunk.64HCJCNI.js} +2 -2
- package/cdn/chunks/{chunk.PYZ4ASAK.js → chunk.6W7LTM2T.js} +1 -1
- package/cdn/chunks/{chunk.5NZJJWRA.js → chunk.72WPILAC.js} +10 -10
- package/cdn/chunks/chunk.7BCM4VPC.js +1124 -0
- package/{dist/chunks/chunk.BPCGZGRG.js → cdn/chunks/chunk.7FB74Q7I.js} +1 -1
- package/cdn/chunks/{chunk.TATUD2RH.js → chunk.7JBGCRPU.js} +1 -1
- package/cdn/chunks/{chunk.QKHXZS7O.js → chunk.7X3B4SI4.js} +1 -1
- package/cdn/chunks/{chunk.GPMG4XGS.js → chunk.A4ELXI5A.js} +1 -1
- package/cdn/chunks/{chunk.6XOLM2C4.js → chunk.ADHO6CPR.js} +15 -15
- package/cdn/chunks/{chunk.T376MFZO.js → chunk.ADJSIZFS.js} +24 -16
- package/cdn/chunks/{chunk.WA5QSEH6.js → chunk.AKG4JRVD.js} +1 -1
- package/cdn/chunks/{chunk.BUOFV2M2.js → chunk.AQPJESFM.js} +1 -1
- package/cdn/chunks/{chunk.MXISIX4T.js → chunk.ARG2AQCR.js} +1 -1
- package/cdn/chunks/{chunk.3XJOP47C.js → chunk.AVEHZ7BN.js} +1 -1
- package/cdn/chunks/{chunk.675CXAHL.js → chunk.B6UMYXUN.js} +4 -4
- package/cdn/chunks/chunk.BGNYIYEZ.js +45 -0
- package/cdn/chunks/{chunk.VWAXADQN.js → chunk.BIPJBNSR.js} +1 -1
- package/cdn/chunks/{chunk.2H34YVVG.js → chunk.BOHUHHB2.js} +1 -1
- package/cdn/chunks/{chunk.HGOSNLLN.js → chunk.BQM4EFTD.js} +2 -2
- package/cdn/chunks/{chunk.NVG7Q53M.js → chunk.BQXFJOTS.js} +1 -1
- package/cdn/chunks/{chunk.VWK5SRK2.js → chunk.BTJSQVOZ.js} +1 -1
- package/cdn/chunks/{chunk.4CTKHZXR.js → chunk.BUARFHOC.js} +1 -1
- package/cdn/chunks/{chunk.FMLP342R.js → chunk.BWGEM2LO.js} +1 -1
- package/cdn/chunks/{chunk.NMUDSHXL.js → chunk.BYNKR6YM.js} +1 -1
- package/cdn/chunks/{chunk.FDBKTS3R.js → chunk.BYXUKV4X.js} +5 -5
- package/cdn/chunks/{chunk.NHBVUEYS.js → chunk.C2DY4TKR.js} +3 -3
- package/cdn/chunks/{chunk.25FH5IKP.js → chunk.C764HI4L.js} +1 -1
- package/cdn/chunks/{chunk.SG4KT4FW.js → chunk.CAGGHZHZ.js} +1 -1
- package/cdn/chunks/{chunk.4V6L5AVW.js → chunk.CEKMP3GY.js} +1 -1
- package/{dist/chunks/chunk.CONLCVF2.js → cdn/chunks/chunk.CJIPDSAV.js} +1 -1
- package/{dist/chunks/chunk.AAFCKJYK.js → cdn/chunks/chunk.CLM7SJO5.js} +1 -1
- package/cdn/chunks/{chunk.UBZXX5ON.js → chunk.CMVBJIRG.js} +1 -1
- package/cdn/chunks/chunk.DEAKCJ66.js +16 -0
- package/cdn/chunks/{chunk.EFXBW3X3.js → chunk.DNJTQ2Y7.js} +1 -1
- package/cdn/chunks/{chunk.ZFPAVMFB.js → chunk.DPQTAZXV.js} +1 -1
- package/cdn/chunks/{chunk.LFRVF4KW.js → chunk.DR5M3QI5.js} +1 -1
- package/cdn/chunks/{chunk.Y27YP6OJ.js → chunk.DTUQJHP5.js} +1 -1
- package/cdn/chunks/{chunk.YGTFCDK7.js → chunk.DYIBSNEG.js} +33 -19
- package/cdn/chunks/{chunk.CMR6APKP.js → chunk.E4IO3LPR.js} +1 -1
- package/cdn/chunks/{chunk.XYBK4234.js → chunk.EFV3N7NN.js} +1 -1
- package/cdn/chunks/{chunk.NRTTZ4YU.js → chunk.EKVQOYN5.js} +1 -1
- package/cdn/chunks/{chunk.CNYZO7IJ.js → chunk.EN6IZDYW.js} +1 -1
- package/{dist/chunks/chunk.QZJWCFAA.js → cdn/chunks/chunk.EOLDHINP.js} +1 -1
- package/{dist/chunks/chunk.N3QVR4J3.js → cdn/chunks/chunk.EPCUFOKP.js} +1 -1
- package/{dist/chunks/chunk.3NAUWTQH.js → cdn/chunks/chunk.ET5BZX7S.js} +1 -1
- package/cdn/chunks/{chunk.MQRBZVTB.js → chunk.EUIGQH5J.js} +1 -1
- package/cdn/chunks/chunk.FAKWCEXF.js +186 -0
- package/cdn/chunks/{chunk.WVXTFVIK.js → chunk.FANLTDNV.js} +3 -3
- package/cdn/chunks/{chunk.MRNFDFXK.js → chunk.FRQZBLKJ.js} +4 -4
- package/cdn/chunks/{chunk.HJJVMHSB.js → chunk.FSUIUKO5.js} +1 -1
- package/cdn/chunks/{chunk.5MKGDGBK.js → chunk.FTIUIMQE.js} +1 -1
- package/{dist/chunks/chunk.LC5S6W4G.js → cdn/chunks/chunk.FWQLDDE5.js} +1 -1
- package/cdn/chunks/{chunk.IMMWORRR.js → chunk.FYQMGS2X.js} +2 -2
- package/cdn/chunks/{chunk.D27QRERK.js → chunk.GAFRSKH4.js} +18 -2
- package/cdn/chunks/{chunk.OZELPYL4.js → chunk.GCPKKFNW.js} +1 -1
- package/cdn/chunks/{chunk.5DQO6W5Q.js → chunk.GKTPCOT6.js} +1 -1
- package/cdn/chunks/{chunk.7YXZGJWW.js → chunk.GMNTE57E.js} +2 -2
- package/cdn/chunks/{chunk.CLDFC2YO.js → chunk.GMZTJAZL.js} +1 -1
- package/cdn/chunks/{chunk.OKHJ4DHA.js → chunk.GSV23YAG.js} +1 -1
- package/{dist/chunks/chunk.4HTO3EML.js → cdn/chunks/chunk.H45CY7YS.js} +1 -1
- package/cdn/chunks/{chunk.D7ICQTLU.js → chunk.H7PLVQKX.js} +7 -7
- package/cdn/chunks/{chunk.R4INK3G2.js → chunk.H7XCAV4K.js} +1 -1
- package/cdn/chunks/{chunk.OSGITGO6.js → chunk.HD2E6OHH.js} +1 -1
- package/cdn/chunks/{chunk.A4U2O3YW.js → chunk.HJNGGHHJ.js} +1 -1
- package/{dist/chunks/chunk.AQM6WZYQ.js → cdn/chunks/chunk.HSDLV7ZD.js} +1 -1
- package/cdn/chunks/{chunk.RVOASAVC.js → chunk.HYLVW7U7.js} +1 -1
- package/cdn/chunks/{chunk.TF7J3NQ5.js → chunk.I7NPEYYT.js} +2 -2
- package/{dist/chunks/chunk.JWQMGR3J.js → cdn/chunks/chunk.IAD2YVQN.js} +1 -1
- package/cdn/chunks/{chunk.AXQSCAFF.js → chunk.IDZPASV6.js} +1 -1
- package/cdn/chunks/{chunk.JVYTH6HR.js → chunk.IEBTQFLH.js} +1 -1
- package/cdn/chunks/{chunk.ALKQ7SGA.js → chunk.IHVTSIVV.js} +1 -1
- package/cdn/chunks/{chunk.D65Q3ZVE.js → chunk.IJVUBV4V.js} +2 -2
- package/cdn/chunks/{chunk.YNYD466S.js → chunk.ILT347FT.js} +1 -1
- package/cdn/chunks/{chunk.OZGGXOW3.js → chunk.IPM7IFNY.js} +1 -1
- package/cdn/chunks/{chunk.G6O4ZYY5.js → chunk.IS33QEZD.js} +1 -1
- package/cdn/chunks/{chunk.YUREHZYL.js → chunk.IXQLNPRF.js} +1 -1
- package/cdn/chunks/{chunk.Q6GQFZCR.js → chunk.IY627F2O.js} +1 -1
- package/cdn/chunks/chunk.J2JUWNCI.js +115 -0
- package/cdn/chunks/{chunk.J6BELCB6.js → chunk.J2T3HKZH.js} +1 -1
- package/cdn/chunks/{chunk.RPVEQ57S.js → chunk.JHJ32V5M.js} +1 -1
- package/cdn/chunks/{chunk.NIQ7HDEA.js → chunk.JKACP3UT.js} +1 -1
- package/cdn/chunks/{chunk.JQRWFVYV.js → chunk.JR6MLRGD.js} +8 -8
- package/{dist/chunks/chunk.OBRCJZQQ.js → cdn/chunks/chunk.JU77O3AK.js} +1 -1
- package/cdn/chunks/{chunk.IQVZD4PM.js → chunk.JVOPRJ6L.js} +1 -1
- package/cdn/chunks/{chunk.CPBVMJCD.js → chunk.JX756U2P.js} +1 -1
- package/cdn/chunks/{chunk.GWNGGKTG.js → chunk.JYYAJVMY.js} +1 -1
- package/cdn/chunks/{chunk.CFEPKSUO.js → chunk.K2DR372Y.js} +1 -1
- package/cdn/chunks/{chunk.AN3572OP.js → chunk.K2DTALJC.js} +88 -237
- package/cdn/chunks/{chunk.HZRKK7RA.js → chunk.KPR25VNY.js} +1 -1
- package/cdn/chunks/{chunk.UBFVD4Q4.js → chunk.KWKKCBZI.js} +1 -1
- package/cdn/chunks/{chunk.PPKHSLOD.js → chunk.L344MXBL.js} +1 -1
- package/cdn/chunks/{chunk.URYTAJ7A.js → chunk.LALNQTWY.js} +1 -1
- package/{dist/chunks/chunk.7NRJ256R.js → cdn/chunks/chunk.LBBMCAAK.js} +1 -1
- package/cdn/chunks/chunk.LDNVPVIS.js +263 -0
- package/cdn/chunks/{chunk.CP626KNE.js → chunk.LFJBLFAF.js} +1 -1
- package/{dist/chunks/chunk.DT5UBEUD.js → cdn/chunks/chunk.LNXLFBJF.js} +1 -1
- package/cdn/chunks/{chunk.OLCZRXDP.js → chunk.LNZZQLSD.js} +1 -1
- package/cdn/chunks/{chunk.SJO2I3DG.js → chunk.LVLRI4FU.js} +2 -2
- package/cdn/chunks/{chunk.XSXSISLX.js → chunk.M25JFF4S.js} +1 -1
- package/cdn/chunks/{chunk.4NESY5EM.js → chunk.MENDJ3ES.js} +1 -1
- package/cdn/chunks/{chunk.SWZRPLND.js → chunk.MMN6BEAM.js} +1 -1
- package/cdn/chunks/{chunk.RP6GKPEY.js → chunk.MXYQ2YHB.js} +1 -1
- package/{dist/chunks/chunk.JPEX6BN5.js → cdn/chunks/chunk.N46Z5XJ2.js} +1 -1
- package/cdn/chunks/{chunk.SQWWPAXJ.js → chunk.NFYJUZ72.js} +1 -1
- package/{dist/chunks/chunk.TTP74D6J.js → cdn/chunks/chunk.NOOFLZZ3.js} +1 -1
- package/{dist/chunks/chunk.4QTJTBYM.js → cdn/chunks/chunk.NRRGBRFQ.js} +1 -1
- package/cdn/chunks/{chunk.AN4PI32A.js → chunk.NTQAYOOB.js} +1 -1
- package/cdn/chunks/{chunk.LEYZYTEK.js → chunk.O6QLVREN.js} +1 -1
- package/cdn/chunks/{chunk.AGHSWC4S.js → chunk.OCNWVR4J.js} +3 -3
- package/{dist/chunks/chunk.EAB246RW.js → cdn/chunks/chunk.OUYYS2WY.js} +1 -1
- package/cdn/chunks/{chunk.2XL5TOFG.js → chunk.PG3KI7CV.js} +3 -3
- package/cdn/chunks/{chunk.CF5AOBIF.js → chunk.PYGUMT6D.js} +1 -1
- package/cdn/chunks/{chunk.QXNU3GXC.js → chunk.Q6EUYTT5.js} +1 -1
- package/cdn/chunks/{chunk.FHP4H3E2.js → chunk.QRCSQLDS.js} +1 -1
- package/{dist/chunks/chunk.HEFQXGDF.js → cdn/chunks/chunk.QVZCPPRX.js} +1 -1
- package/cdn/chunks/{chunk.PEK7MQKH.js → chunk.R5VGZ4LD.js} +2 -2
- package/cdn/chunks/{chunk.4RCMHQZW.js → chunk.R6B7NPKA.js} +1 -1
- package/cdn/chunks/{chunk.25F7ECH2.js → chunk.RBKDUVFD.js} +1 -1
- package/cdn/chunks/{chunk.OFBKGBAA.js → chunk.RCZ3VAD5.js} +4 -4
- package/cdn/chunks/{chunk.65WO4GAX.js → chunk.REFJADYI.js} +1 -1
- package/cdn/chunks/{chunk.TBIIFBFU.js → chunk.RLDNVYO6.js} +2 -2
- package/cdn/chunks/{chunk.6WAZRG2E.js → chunk.RNXADPVA.js} +1 -1
- package/cdn/chunks/{chunk.UD3GWN6G.js → chunk.S4WAIX7T.js} +1 -1
- package/cdn/chunks/{chunk.VX5SAOBY.js → chunk.S7JPGFFL.js} +1 -1
- package/{dist/chunks/chunk.EDJO5LM2.js → cdn/chunks/chunk.SN2P3DPL.js} +1 -1
- package/cdn/chunks/{chunk.GQEMWNGJ.js → chunk.SNJ5TWRF.js} +1 -1
- package/cdn/chunks/{chunk.VYDD6ZT5.js → chunk.SPNXZ2JR.js} +1 -1
- package/cdn/chunks/{chunk.JJNMHN3H.js → chunk.SUQHAKBQ.js} +1 -1
- package/cdn/chunks/{chunk.GUZG6QKY.js → chunk.T2F5SLB3.js} +1 -1
- package/{dist/chunks/chunk.AMEV6ANV.js → cdn/chunks/chunk.T6FDWIJB.js} +1 -1
- package/cdn/chunks/{chunk.GMEJKUXT.js → chunk.T6QOKWOR.js} +1 -1
- package/cdn/chunks/{chunk.CRWMRZSZ.js → chunk.TJTSA5R4.js} +1 -1
- package/cdn/chunks/{chunk.XRTOMNDJ.js → chunk.TLEAVCNN.js} +1 -1
- package/cdn/chunks/{chunk.2RC6ZQ7R.js → chunk.TNBXYFZT.js} +5 -5
- package/cdn/chunks/{chunk.CGIB2CCO.js → chunk.TSTTKLCU.js} +1 -1
- package/cdn/chunks/{chunk.SLQ3GN6U.js → chunk.TWATOU7Q.js} +1 -1
- package/cdn/chunks/{chunk.HYLK53IJ.js → chunk.U6LIZH2N.js} +1 -1
- package/cdn/chunks/{chunk.S3TACGLM.js → chunk.UG75OYIV.js} +1 -1
- package/cdn/chunks/{chunk.IWGACFFM.js → chunk.UGXEFRCT.js} +1 -1
- package/{dist/chunks/chunk.3FQAOA6Q.js → cdn/chunks/chunk.VCIOYUM7.js} +1 -1
- package/{dist/chunks/chunk.Z4XFW4KE.js → cdn/chunks/chunk.VEIVN3WO.js} +1 -1
- package/{dist/chunks/chunk.HMJG4GPR.js → cdn/chunks/chunk.VG7IHWCP.js} +1 -1
- package/cdn/chunks/{chunk.CDPMKUSQ.js → chunk.VJH5TNQS.js} +1 -1
- package/{dist/chunks/chunk.7GKEYXYF.js → cdn/chunks/chunk.VKHUSJ7O.js} +1 -1
- package/cdn/chunks/{chunk.ZQQESBNQ.js → chunk.VNXQLD5E.js} +1 -1
- package/{dist/chunks/chunk.WZQW2RF3.js → cdn/chunks/chunk.VT5AKGJP.js} +1 -1
- package/cdn/chunks/{chunk.7A6ORNMJ.js → chunk.VV24KCRD.js} +6 -6
- package/{dist/chunks/chunk.7HWZPVG2.js → cdn/chunks/chunk.VVX2RMFN.js} +1 -1
- package/cdn/chunks/{chunk.OTA4DIYK.js → chunk.W5YWNJ3F.js} +1 -1
- package/cdn/chunks/{chunk.T6NX4GBA.js → chunk.WDULR4A5.js} +5 -4
- package/cdn/chunks/{chunk.6AAUE2PN.js → chunk.WEXY47CC.js} +1 -1
- package/cdn/chunks/{chunk.K6WUKY2V.js → chunk.WMKP2YBP.js} +4 -4
- package/cdn/chunks/{chunk.BSQ33F6B.js → chunk.WOFTPMUN.js} +4 -4
- package/cdn/chunks/{chunk.FN3O6Q3N.js → chunk.WPAIOHRM.js} +1 -1
- package/cdn/chunks/{chunk.5JS4OCOH.js → chunk.X2PCFGVF.js} +2 -2
- package/cdn/chunks/{chunk.M4FZWFCH.js → chunk.XEP3MV3Z.js} +137 -59
- package/cdn/chunks/{chunk.BN5VAWEF.js → chunk.XJMOUI5V.js} +1 -1
- package/{dist/chunks/chunk.ERVVHGW6.js → cdn/chunks/chunk.XK4LBXDT.js} +1 -1
- package/{dist/chunks/chunk.RBIBBYEQ.js → cdn/chunks/chunk.XP2SN5TY.js} +1 -1
- package/cdn/chunks/{chunk.2P2CSRKK.js → chunk.XQZ75PG6.js} +1 -1
- package/cdn/chunks/{chunk.DUT2WVFL.js → chunk.Y5DKBB6S.js} +1 -1
- package/cdn/chunks/{chunk.LDXTSE2B.js → chunk.YBDLYSR6.js} +1 -1
- package/{dist/chunks/chunk.CWKEWJZN.js → cdn/chunks/chunk.YCOYO5Q5.js} +1 -1
- package/{dist/chunks/chunk.KLVSNEIA.js → cdn/chunks/chunk.YO2RCZB4.js} +1 -1
- package/cdn/chunks/{chunk.HCFW3KUG.js → chunk.YPCLW4PZ.js} +2 -2
- package/cdn/chunks/{chunk.YMMX7AB4.js → chunk.YQCNCHZK.js} +7 -45
- package/cdn/chunks/{chunk.HJNLDS3G.js → chunk.YSDEXDWJ.js} +1 -1
- package/{dist/chunks/chunk.X6LJJSVD.js → cdn/chunks/chunk.YSZADQYN.js} +1 -1
- package/cdn/chunks/{chunk.G63JV5S4.js → chunk.YUBWOTKQ.js} +2 -2
- package/cdn/chunks/{chunk.II3JSTXQ.js → chunk.Z67N6G2D.js} +1 -1
- package/cdn/chunks/{chunk.GAVMNLOD.js → chunk.ZBHMCLJF.js} +1 -1
- package/cdn/chunks/chunk.ZHRDFBUU.js +390 -0
- package/cdn/chunks/{chunk.5AJWHZYG.js → chunk.ZHXVLA3K.js} +1 -1
- package/cdn/chunks/{chunk.UI6GAESI.js → chunk.ZNVXAGZ3.js} +49 -19
- package/cdn/components/alert/alert.component.js +7 -7
- package/cdn/components/alert/alert.js +8 -8
- package/cdn/components/alert/alert.styles.js +1 -1
- package/cdn/components/animated-image/animated-image.component.js +3 -3
- package/cdn/components/animated-image/animated-image.js +4 -4
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +3 -3
- package/cdn/components/avatar/avatar.js +4 -4
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.js +4 -4
- package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/cdn/components/button/button.component.js +7 -7
- package/cdn/components/button/button.js +8 -8
- package/cdn/components/button/button.styles.js +1 -1
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/calendar/calendar.component.js +20 -2
- package/cdn/components/calendar/calendar.js +20 -2
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +3 -3
- package/cdn/components/carousel/carousel.js +4 -4
- package/cdn/components/carousel-item/carousel-item.component.js +2 -2
- package/cdn/components/carousel-item/carousel-item.js +3 -3
- package/cdn/components/checkbox/checkbox.component.js +3 -3
- package/cdn/components/checkbox/checkbox.js +4 -4
- package/cdn/components/color-picker/color-picker.component.js +18 -19
- package/cdn/components/color-picker/color-picker.js +19 -20
- package/cdn/components/copy-button/copy-button.component.js +6 -6
- package/cdn/components/copy-button/copy-button.js +7 -7
- package/cdn/components/datepicker/datepicker.component.js +38 -0
- package/cdn/components/datepicker/datepicker.js +42 -0
- package/cdn/components/details/details.component.js +4 -4
- package/cdn/components/details/details.js +5 -5
- package/cdn/components/details/details.styles.js +1 -1
- package/cdn/components/dialog/dialog.component.js +7 -7
- package/cdn/components/dialog/dialog.js +8 -8
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +7 -7
- package/cdn/components/drawer/drawer.js +8 -8
- package/cdn/components/dropdown/dropdown.component.js +5 -5
- package/cdn/components/dropdown/dropdown.js +6 -6
- package/cdn/components/format-bytes/format-bytes.component.js +2 -2
- package/cdn/components/format-bytes/format-bytes.js +3 -3
- package/cdn/components/format-date/format-date.component.js +2 -2
- package/cdn/components/format-date/format-date.js +3 -3
- package/cdn/components/format-number/format-number.component.js +2 -2
- package/cdn/components/format-number/format-number.js +3 -3
- package/cdn/components/icon/icon.component.js +2 -2
- package/cdn/components/icon/icon.js +3 -3
- package/cdn/components/icon-button/icon-button.component.js +3 -3
- package/cdn/components/icon-button/icon-button.js +4 -4
- package/cdn/components/image-comparer/image-comparer.component.js +3 -3
- package/cdn/components/image-comparer/image-comparer.js +4 -4
- package/cdn/components/include/include.component.js +3 -3
- package/cdn/components/include/include.js +4 -4
- package/cdn/components/input/input.component.js +6 -9
- package/cdn/components/input/input.js +7 -10
- package/cdn/components/input/input.styles.js +1 -1
- package/cdn/components/menu/menu.component.js +2 -2
- package/cdn/components/menu/menu.js +3 -3
- package/cdn/components/menu-item/menu-item.component.js +7 -7
- package/cdn/components/menu-item/menu-item.js +8 -8
- package/cdn/components/menu-label/menu-label.component.js +2 -2
- package/cdn/components/menu-label/menu-label.js +3 -3
- package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
- package/cdn/components/mutation-observer/mutation-observer.js +3 -3
- package/cdn/components/option/option.component.js +3 -3
- package/cdn/components/option/option.js +4 -4
- package/cdn/components/popup/popup.component.js +2 -2
- package/cdn/components/popup/popup.js +3 -3
- package/cdn/components/progress-bar/progress-bar.component.js +3 -3
- package/cdn/components/progress-bar/progress-bar.js +4 -4
- package/cdn/components/progress-ring/progress-ring.component.js +2 -2
- package/cdn/components/progress-ring/progress-ring.js +3 -3
- package/cdn/components/qr-code/qr-code.component.js +2 -2
- package/cdn/components/qr-code/qr-code.js +3 -3
- package/cdn/components/radio/radio.component.js +3 -3
- package/cdn/components/radio/radio.js +4 -4
- package/cdn/components/radio-button/radio-button.component.js +4 -4
- package/cdn/components/radio-button/radio-button.js +5 -5
- package/cdn/components/radio-button/radio-button.styles.js +2 -2
- package/cdn/components/radio-group/radio-group.component.js +4 -4
- package/cdn/components/radio-group/radio-group.js +5 -5
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +4 -4
- package/cdn/components/rating/rating.js +5 -5
- package/cdn/components/relative-time/relative-time.component.js +2 -2
- package/cdn/components/relative-time/relative-time.js +3 -3
- package/cdn/components/resize-observer/resize-observer.component.js +2 -2
- package/cdn/components/resize-observer/resize-observer.js +3 -3
- package/cdn/components/select/select.component.js +8 -8
- package/cdn/components/select/select.js +9 -9
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +2 -2
- package/cdn/components/spinner/spinner.js +3 -3
- package/cdn/components/split-panel/split-panel.component.js +3 -3
- package/cdn/components/split-panel/split-panel.js +4 -4
- package/cdn/components/switch/switch.component.js +3 -3
- package/cdn/components/switch/switch.js +4 -4
- package/cdn/components/switch/switch.styles.js +1 -1
- package/cdn/components/tab/tab.component.js +5 -5
- package/cdn/components/tab/tab.js +6 -6
- package/cdn/components/tab-group/tab-group.component.js +6 -6
- package/cdn/components/tab-group/tab-group.js +7 -7
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/table/body-table.js +5 -4
- package/cdn/components/table/features/row-selection.js +11 -0
- package/cdn/components/table/head-table.js +5 -4
- package/cdn/components/table/spinner-container.js +2 -2
- package/cdn/components/table/table.component.js +26 -7
- package/cdn/components/table/table.context.js +66 -3
- package/cdn/components/table/table.js +28 -9
- package/cdn/components/table/utils.js +7 -0
- package/cdn/components/tag/tag.component.js +5 -5
- package/cdn/components/tag/tag.js +6 -6
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/tooltip/tooltip.component.js +4 -4
- package/cdn/components/tooltip/tooltip.js +5 -5
- package/cdn/components/tooltip/tooltip.styles.js +1 -1
- package/cdn/components/tree/tree.component.js +10 -10
- package/cdn/components/tree/tree.js +11 -11
- package/cdn/components/tree-item/tree-item.component.js +8 -8
- package/cdn/components/tree-item/tree-item.js +9 -9
- package/cdn/components/tree-item/tree-item.styles.js +1 -1
- package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
- package/cdn/components/visually-hidden/visually-hidden.js +3 -3
- package/cdn/custom-elements.json +2824 -2443
- package/cdn/react/alert/index.js +8 -8
- package/cdn/react/animated-image/index.js +4 -4
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +4 -4
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +4 -4
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +8 -8
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +4 -4
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +4 -4
- package/cdn/react/color-picker/index.js +19 -20
- package/cdn/react/copy-button/index.js +7 -7
- package/cdn/react/datepicker/index.js +39 -0
- package/cdn/react/details/index.js +5 -5
- package/cdn/react/dialog/index.js +8 -8
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +8 -8
- package/cdn/react/dropdown/index.js +6 -6
- package/cdn/react/format-bytes/index.js +3 -3
- package/cdn/react/format-date/index.js +3 -3
- package/cdn/react/format-number/index.js +3 -3
- package/cdn/react/icon/index.js +3 -3
- package/cdn/react/icon-button/index.js +4 -4
- package/cdn/react/image-comparer/index.js +4 -4
- package/cdn/react/include/index.js +4 -4
- package/cdn/react/index.js +204 -201
- package/cdn/react/input/index.js +7 -10
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +8 -8
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +4 -4
- package/cdn/react/popup/index.js +3 -3
- package/cdn/react/progress-bar/index.js +4 -4
- package/cdn/react/progress-ring/index.js +3 -3
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +4 -4
- package/cdn/react/radio-button/index.js +5 -5
- package/cdn/react/radio-group/index.js +5 -5
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +5 -5
- package/cdn/react/relative-time/index.js +3 -3
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/select/index.js +9 -9
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +3 -3
- package/cdn/react/split-panel/index.js +4 -4
- package/cdn/react/switch/index.js +4 -4
- package/cdn/react/tab/index.js +6 -6
- package/cdn/react/tab-group/index.js +7 -7
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/table/index.js +27 -8
- package/cdn/react/tag/index.js +6 -6
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/tooltip/index.js +5 -5
- package/cdn/react/tree/index.js +11 -11
- package/cdn/react/tree-item/index.js +9 -9
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/shoelace.js +188 -187
- package/cdn/themes/dark.css +297 -286
- package/cdn/themes/dark.styles.js +297 -286
- package/cdn/themes/light.css +286 -252
- package/cdn/themes/light.styles.js +298 -255
- package/cdn/types/vue/index.d.ts +332 -285
- package/cdn/vscode.html-custom-data.json +282 -195
- package/cdn/web-types.json +703 -521
- package/dist/chunks/{chunk.67ZQ6PMR.js → chunk.22LMB5ZP.js} +4 -4
- package/dist/chunks/chunk.23ZAVB4X.js +388 -0
- package/dist/chunks/chunk.2DF3IW6S.js +260 -0
- package/{cdn/chunks/chunk.55KCBG5V.js → dist/chunks/chunk.2FMGJK4E.js} +1 -1
- package/dist/chunks/{chunk.CKGMCN6T.js → chunk.2MZ7OOZO.js} +1 -1
- package/dist/chunks/{chunk.I7NX25KZ.js → chunk.2RFPHSI5.js} +1 -1
- package/dist/chunks/{chunk.5NLYBKUE.js → chunk.2ZVVWOR6.js} +1 -1
- package/dist/chunks/{chunk.BN7I7IZK.js → chunk.37BW2NNU.js} +1 -1
- package/dist/chunks/{chunk.7PW2YQMR.js → chunk.3AUHAYQF.js} +1 -1
- package/{cdn/chunks/chunk.6M4AYZZJ.js → dist/chunks/chunk.3FSCZMKR.js} +1 -1
- package/dist/chunks/{chunk.QR2YQ4WT.js → chunk.3N56WNRQ.js} +1 -1
- package/dist/chunks/{chunk.RQP7TRVQ.js → chunk.3PLRXNOC.js} +1 -1
- package/dist/chunks/{chunk.VML2NRCR.js → chunk.425FPMNI.js} +1 -1
- package/dist/chunks/{chunk.WB6T5GY5.js → chunk.44FLCGTL.js} +1 -1
- package/dist/chunks/{chunk.6YCRMVU7.js → chunk.4FMSGOJY.js} +1 -1
- package/dist/chunks/{chunk.C2S6DUQY.js → chunk.4IGL2EUS.js} +1 -1
- package/{cdn/chunks/chunk.HENBWQDZ.js → dist/chunks/chunk.4J5RMZ66.js} +1 -1
- package/dist/chunks/{chunk.5UQP3TN6.js → chunk.4NWKJATC.js} +3 -3
- package/dist/chunks/{chunk.MQ2MMGIS.js → chunk.4UW565YL.js} +1 -1
- package/dist/chunks/{chunk.2DQ7YQID.js → chunk.552GI5TU.js} +1 -1
- package/{cdn/chunks/chunk.FOYOJP44.js → dist/chunks/chunk.5MTSKPDY.js} +1 -1
- package/dist/chunks/{chunk.AYTZX3TS.js → chunk.5P75LPWV.js} +6 -6
- package/{cdn/chunks/chunk.YNAFQ3AW.js → dist/chunks/chunk.5PSER7UV.js} +1 -1
- package/dist/chunks/{chunk.PYPJRNCG.js → chunk.5SW72M24.js} +7 -7
- package/dist/chunks/{chunk.EUHRXKY7.js → chunk.5VOJ3AWX.js} +1 -1
- package/dist/chunks/{chunk.75OMDLY6.js → chunk.5XJCQVEK.js} +1 -1
- package/dist/chunks/{chunk.SVGSK7J6.js → chunk.6AGGHDKH.js} +1 -1
- package/dist/chunks/{chunk.JOKODXHH.js → chunk.6DPE65CH.js} +1 -1
- package/{cdn/chunks/chunk.GGAQ4WTE.js → dist/chunks/chunk.6DTQ2RST.js} +1 -1
- package/{cdn/chunks/chunk.4U5V4K7R.js → dist/chunks/chunk.6MPAPKHR.js} +1 -1
- package/dist/chunks/{chunk.YLDJOKCS.js → chunk.6X2IWQFG.js} +1 -1
- package/dist/chunks/{chunk.VSF3CBXU.js → chunk.6YT6UDXE.js} +2 -2
- package/dist/chunks/{chunk.FTIAG6S3.js → chunk.7EXDF63O.js} +1 -1
- package/dist/chunks/{chunk.6HMT3WB6.js → chunk.7GJXD3DO.js} +1 -1
- package/dist/chunks/{chunk.DIFL3OIO.js → chunk.7NUBXZK7.js} +1 -1
- package/dist/chunks/{chunk.Y2L5TTKA.js → chunk.ACPYFT2E.js} +1 -1
- package/dist/chunks/{chunk.5Q5U5NI3.js → chunk.ALA4QTHP.js} +1 -1
- package/dist/chunks/{chunk.6N23A6X7.js → chunk.AWG34B4U.js} +1 -1
- package/dist/chunks/{chunk.2P5EQCYK.js → chunk.BEKUM4BO.js} +1 -1
- package/{cdn/chunks/chunk.C3CC7V56.js → dist/chunks/chunk.BLOSLBZ6.js} +1 -1
- package/dist/chunks/{chunk.562QVLHR.js → chunk.BWI5ZFZ5.js} +1 -1
- package/dist/chunks/{chunk.RE456CM4.js → chunk.BZ2VS2FQ.js} +1 -1
- package/dist/chunks/{chunk.KRMK4QEF.js → chunk.BZZRVFFY.js} +1 -1
- package/dist/chunks/{chunk.5SZZZQEY.js → chunk.C2TY2O26.js} +1 -1
- package/{cdn/chunks/chunk.37MM72EB.js → dist/chunks/chunk.C4P7XNPA.js} +1 -1
- package/dist/chunks/{chunk.3OYFQ2GE.js → chunk.CAYMZ4EW.js} +1 -1
- package/{cdn/chunks/chunk.4F4ZWZUV.js → dist/chunks/chunk.CCBQATE7.js} +1 -1
- package/dist/chunks/{chunk.VF47UCR6.js → chunk.CKWA764R.js} +1 -1
- package/dist/chunks/{chunk.DY66DLXX.js → chunk.CMME3D5G.js} +1 -1
- package/{cdn/chunks/chunk.2NQBYD2X.js → dist/chunks/chunk.CSB2UAJC.js} +1 -1
- package/dist/chunks/{chunk.XKERVFKJ.js → chunk.CY435P5S.js} +1 -1
- package/dist/chunks/{chunk.IVLRZTWU.js → chunk.D2S5RSAL.js} +1 -1
- package/dist/chunks/chunk.DEAKCJ66.js +16 -0
- package/dist/chunks/{chunk.OH57EZ77.js → chunk.DFNJ6YO5.js} +1 -1
- package/dist/chunks/{chunk.3CMCXDAM.js → chunk.DFQZR62N.js} +1 -1
- package/{cdn/chunks/chunk.2V6RRPEG.js → dist/chunks/chunk.DJXNG3EF.js} +1 -1
- package/dist/chunks/{chunk.VBUXAQMQ.js → chunk.DOSUJ44B.js} +3 -3
- package/dist/chunks/{chunk.FEZOQAAA.js → chunk.DWC5QG4U.js} +1 -1
- package/{cdn/chunks/chunk.2P2VLAT3.js → dist/chunks/chunk.DWRJLFY6.js} +1 -1
- package/dist/chunks/{chunk.F5P4JGGP.js → chunk.DY7Q3C4A.js} +7 -7
- package/dist/chunks/{chunk.QOS2AJDC.js → chunk.ERF3RTMM.js} +1 -1
- package/{cdn/chunks/chunk.TN5I25VC.js → dist/chunks/chunk.EXPNO7Z4.js} +1 -1
- package/dist/chunks/{chunk.VZI2ZFJZ.js → chunk.EXR7TTO7.js} +2 -2
- package/{cdn/chunks/chunk.SJQOMFGZ.js → dist/chunks/chunk.F2MBKXHT.js} +1 -1
- package/dist/chunks/{chunk.HN32C22W.js → chunk.FBKBSND6.js} +6 -2
- package/{cdn/chunks/chunk.EGTK3ZFA.js → dist/chunks/chunk.FEWYZRCL.js} +1 -1
- package/dist/chunks/{chunk.QPBXCJGL.js → chunk.FH5BAGDM.js} +1 -1
- package/dist/chunks/{chunk.HPCLRZ2S.js → chunk.FPZJLXNX.js} +51 -15
- package/dist/chunks/{chunk.TEPNXV2U.js → chunk.FUZUDCOO.js} +1 -1
- package/dist/chunks/{chunk.CSAG57R3.js → chunk.FYVEEY2H.js} +1 -1
- package/dist/chunks/{chunk.FY37V2E7.js → chunk.G47LKPQO.js} +1 -1
- package/dist/chunks/{chunk.HJMUNVTE.js → chunk.G7EHMN5V.js} +1 -1
- package/{cdn/chunks/chunk.CJWIMHYH.js → dist/chunks/chunk.GW7OPBRP.js} +1 -1
- package/dist/chunks/{chunk.U2ET3HWZ.js → chunk.GZ3345ZF.js} +1 -1
- package/dist/chunks/{chunk.SQIDSWT5.js → chunk.H27LJJR5.js} +1 -1
- package/dist/chunks/{chunk.Q7SUWESY.js → chunk.H2HGAU4C.js} +1 -1
- package/dist/chunks/{chunk.OYOAAJZ3.js → chunk.H4OCEP76.js} +1 -1
- package/dist/chunks/{chunk.XUO6GY5S.js → chunk.HBBG247C.js} +1 -1
- package/dist/chunks/{chunk.PVQ25BF2.js → chunk.HIFL5MTW.js} +1 -1
- package/dist/chunks/{chunk.MAQXLKQ7.js → chunk.HPOVPECL.js} +137 -59
- package/dist/chunks/chunk.HRAFWQWD.js +113 -0
- package/dist/chunks/{chunk.J7PLVEQM.js → chunk.HUI4WJKN.js} +18 -2
- package/dist/chunks/{chunk.MB7KNGYL.js → chunk.HV7LH2XE.js} +1 -1
- package/dist/chunks/{chunk.LXNDNLGT.js → chunk.HZY36HHO.js} +1 -1
- package/dist/chunks/{chunk.RWS55LOH.js → chunk.I56YA2FE.js} +2 -2
- package/dist/chunks/{chunk.6UYZKYOJ.js → chunk.I5WFQYZE.js} +1 -1
- package/dist/chunks/{chunk.IMQAXOY4.js → chunk.ICQBJXN3.js} +1 -1
- package/dist/chunks/{chunk.IB5CAIOM.js → chunk.IE4TYRVL.js} +1 -1
- package/dist/chunks/{chunk.C3NG3M7R.js → chunk.IFNZ32RQ.js} +1 -1
- package/dist/chunks/{chunk.LVAFQGBI.js → chunk.IGTQGR6B.js} +1 -1
- package/dist/chunks/{chunk.ULVOY2FX.js → chunk.IJKSR74B.js} +5 -5
- package/dist/chunks/{chunk.YOY67QCJ.js → chunk.INDYAKUU.js} +1 -1
- package/dist/chunks/{chunk.AUDNO7AX.js → chunk.IO6GTQTU.js} +1 -1
- package/dist/chunks/{chunk.G4EYRYPW.js → chunk.J5VWABYY.js} +2 -2
- package/dist/chunks/{chunk.EGUAJZ2Q.js → chunk.JK5NL6H3.js} +1 -1
- package/dist/chunks/{chunk.X55OGHMU.js → chunk.JZD6EXKN.js} +1 -1
- package/dist/chunks/{chunk.RVLVEN75.js → chunk.K32TBGQR.js} +4 -4
- package/dist/chunks/{chunk.NFHCWV5S.js → chunk.K7XW37DV.js} +24 -16
- package/dist/chunks/{chunk.XPPUPUIY.js → chunk.KBYTZHEC.js} +2 -2
- package/dist/chunks/{chunk.NQARUHR5.js → chunk.KE2QIWDZ.js} +10 -10
- package/dist/chunks/{chunk.MXT3TWSF.js → chunk.KMDC56K4.js} +1 -1
- package/dist/chunks/{chunk.I5MXJCXA.js → chunk.KMYFAKWZ.js} +2 -2
- package/dist/chunks/{chunk.AM5XLQR6.js → chunk.KQLHZWQ7.js} +1 -1
- package/dist/chunks/{chunk.7CLUZVZ5.js → chunk.KQS4F4RW.js} +1 -1
- package/{cdn/chunks/chunk.FYCVV5SE.js → dist/chunks/chunk.KTFDDZEN.js} +1 -1
- package/dist/chunks/{chunk.A6VUIAK5.js → chunk.KUQYGN2L.js} +2 -2
- package/dist/chunks/{chunk.FOXUKKKX.js → chunk.KV3DKCCD.js} +1 -1
- package/dist/chunks/{chunk.IH36OBWS.js → chunk.L3HJRGSC.js} +1 -1
- package/dist/chunks/{chunk.3ADKB2M6.js → chunk.LBKZB3BB.js} +1 -1
- package/dist/chunks/chunk.LEQAHGT3.js +1123 -0
- package/{cdn/chunks/chunk.DCZIDSYJ.js → dist/chunks/chunk.LJE7KQQL.js} +1 -1
- package/dist/chunks/{chunk.VMSYUJJG.js → chunk.LNJ4HBRW.js} +1 -1
- package/dist/chunks/{chunk.ZAECEDXO.js → chunk.LQPRP3BV.js} +1 -1
- package/dist/chunks/{chunk.TLZDSPEP.js → chunk.LUZBSSAH.js} +2 -2
- package/dist/chunks/{chunk.BMTK6KWU.js → chunk.LWFN7XDP.js} +1 -1
- package/{cdn/chunks/chunk.V4MSVN7Y.js → dist/chunks/chunk.LZCI2IZ7.js} +1 -1
- package/dist/chunks/{chunk.PBWQWEVM.js → chunk.M23X7ZHU.js} +1 -1
- package/{cdn/chunks/chunk.ZHWZULUI.js → dist/chunks/chunk.M7K53O4E.js} +1 -1
- package/dist/chunks/{chunk.CIP5B3P6.js → chunk.MB2BGI3T.js} +2 -2
- package/dist/chunks/chunk.MCQ3MIFP.js +21 -0
- package/dist/chunks/{chunk.BWVSW6TI.js → chunk.MIGZY5I4.js} +16 -3
- package/dist/chunks/{chunk.FWRQ35BX.js → chunk.MT7VKMYW.js} +88 -237
- package/dist/chunks/{chunk.K7WXS3HY.js → chunk.MWB25UWL.js} +1 -1
- package/dist/chunks/{chunk.C5G25IYF.js → chunk.MXD5MH5O.js} +1 -1
- package/dist/chunks/{chunk.JFSQ56GS.js → chunk.NC5OWGIQ.js} +1 -1
- package/dist/chunks/{chunk.YFFB2NHT.js → chunk.NFUAPOOQ.js} +1 -1
- package/dist/chunks/{chunk.EAKRMFIN.js → chunk.NOWJUAPU.js} +43 -15
- package/dist/chunks/{chunk.DO6G64SD.js → chunk.O37GRY54.js} +1 -1
- package/{cdn/chunks/chunk.GMOVHEWH.js → dist/chunks/chunk.O7FCHNBV.js} +1 -1
- package/dist/chunks/{chunk.7BKT2FPA.js → chunk.OFLRRM34.js} +1 -1
- package/dist/chunks/{chunk.XC4MRFYW.js → chunk.OJECNAFS.js} +1 -1
- package/dist/chunks/{chunk.NZ6CH2B7.js → chunk.OOCI6WMY.js} +27 -15
- package/dist/chunks/{chunk.VWU42Q7Q.js → chunk.OW7F7LI7.js} +3 -3
- package/{cdn/chunks/chunk.EXQSRZN6.js → dist/chunks/chunk.OX23FNIL.js} +1 -1
- package/{cdn/chunks/chunk.LDLAXEWG.js → dist/chunks/chunk.PHKH7OCN.js} +1 -1
- package/dist/chunks/{chunk.7HVRGFRV.js → chunk.PIMYNUWJ.js} +1 -1
- package/dist/chunks/{chunk.YCSFZDGI.js → chunk.PN7WYPLJ.js} +13 -13
- package/dist/chunks/{chunk.GLHWQGBU.js → chunk.PVSB7573.js} +1 -1
- package/dist/chunks/{chunk.CYWSTMF7.js → chunk.PYJTGWJI.js} +1 -1
- package/dist/chunks/{chunk.SAHEF66Y.js → chunk.PYPURIG4.js} +2 -2
- package/dist/chunks/{chunk.HA4NNNEB.js → chunk.Q2JWMPGU.js} +1 -1
- package/dist/chunks/{chunk.L2ZJEQ5W.js → chunk.QMFGY2QT.js} +1 -1
- package/dist/chunks/{chunk.4QORYWC7.js → chunk.QNQR32EM.js} +1 -1
- package/dist/chunks/{chunk.AJWLSTGS.js → chunk.QOHGG35L.js} +1 -1
- package/dist/chunks/{chunk.QIEMAGNI.js → chunk.QUMJEIU5.js} +1 -1
- package/dist/chunks/{chunk.3T5GL6TK.js → chunk.QXJEFE7H.js} +1 -1
- package/dist/chunks/{chunk.2QRAV5FA.js → chunk.ROFEO45L.js} +1 -1
- package/dist/chunks/{chunk.LAJ7CWJL.js → chunk.RPKIOXBP.js} +1 -1
- package/dist/chunks/{chunk.AFVKCXVD.js → chunk.RTBKCEHA.js} +1 -1
- package/dist/chunks/{chunk.LNULGODS.js → chunk.RXKXJ2SA.js} +8 -8
- package/{cdn/chunks/chunk.3OBY4PD5.js → dist/chunks/chunk.S57JXMIN.js} +1 -1
- package/dist/chunks/{chunk.D3KZIOYI.js → chunk.S6WWKWOZ.js} +1 -1
- package/dist/chunks/{chunk.KDA5NOB4.js → chunk.SLQ3TLSD.js} +1 -1
- package/dist/chunks/{chunk.3IXMWFFZ.js → chunk.SMV2BLGG.js} +1 -1
- package/dist/chunks/{chunk.CKI5JNFU.js → chunk.SO7CGB7F.js} +1 -1
- package/dist/chunks/{chunk.OTVPTYU6.js → chunk.SSIK4ZGV.js} +8 -8
- package/dist/chunks/{chunk.CLRGVPKR.js → chunk.T45WUXF7.js} +1 -1
- package/dist/chunks/{chunk.QH353KMG.js → chunk.TDYDKTQ6.js} +1 -1
- package/{cdn/chunks/chunk.WLHNZ2FN.js → dist/chunks/chunk.TEEYQFIV.js} +1 -1
- package/dist/chunks/{chunk.O6YP6GRM.js → chunk.TKM2LWRJ.js} +1 -1
- package/dist/chunks/{chunk.23QTCXNR.js → chunk.TNMOEHS2.js} +1 -1
- package/dist/chunks/{chunk.S7XMGNRC.js → chunk.UPHI7XHQ.js} +2 -2
- package/dist/chunks/{chunk.2P7ZU66U.js → chunk.URUWFFVY.js} +4 -4
- package/{cdn/chunks/chunk.RHJ27K2E.js → dist/chunks/chunk.V5S6DIWQ.js} +1 -1
- package/dist/chunks/{chunk.RG5YP4E7.js → chunk.VKZADIVB.js} +1 -1
- package/{cdn/chunks/chunk.6FQBM2NV.js → dist/chunks/chunk.W3F2ZIUM.js} +1 -1
- package/dist/chunks/{chunk.ESO2TANZ.js → chunk.W45PEBK2.js} +1 -1
- package/dist/chunks/{chunk.BYP2W3VJ.js → chunk.W65XZQUC.js} +1 -1
- package/{cdn/chunks/chunk.QGC7V67C.js → dist/chunks/chunk.WHRP6GOV.js} +1 -1
- package/{cdn/chunks/chunk.2R6MZESY.js → dist/chunks/chunk.WIZKJV2W.js} +1 -1
- package/dist/chunks/{chunk.LWRNOAGN.js → chunk.WS5RHS4G.js} +1 -1
- package/dist/chunks/{chunk.FW7UWQXB.js → chunk.XF4NXZUN.js} +5 -4
- package/dist/chunks/{chunk.FWDGIR3U.js → chunk.XJMVHGGE.js} +1 -1
- package/{cdn/chunks/chunk.2OXIMJLU.js → dist/chunks/chunk.XLKWO55H.js} +1 -1
- package/dist/chunks/{chunk.M4FM4A6G.js → chunk.XMAMNYGV.js} +2 -2
- package/dist/chunks/{chunk.YSTDXP43.js → chunk.XPU5YU3S.js} +1 -1
- package/dist/chunks/{chunk.GICQNYLY.js → chunk.XRG4AMUL.js} +3 -3
- package/dist/chunks/{chunk.SPESSCEK.js → chunk.XU4SWNZ5.js} +1 -1
- package/dist/chunks/{chunk.U4UBCQGL.js → chunk.XUHKT4XR.js} +4 -4
- package/dist/chunks/chunk.XWHXWF67.js +180 -0
- package/dist/chunks/{chunk.DLM7C6XL.js → chunk.Y2LLE55K.js} +2 -2
- package/dist/chunks/{chunk.B4H75FLB.js → chunk.Y3JGTJDM.js} +1 -1
- package/dist/chunks/{chunk.DOJVTX23.js → chunk.Y7D4ZNRS.js} +1 -1
- package/dist/chunks/{chunk.B4FKYIJV.js → chunk.Y7NL3JM7.js} +1 -1
- package/dist/chunks/{chunk.VAOOYX3C.js → chunk.YFUR5BLL.js} +1 -1
- package/dist/chunks/{chunk.QKJEDAAH.js → chunk.YHRMKFU2.js} +1 -1
- package/{cdn/chunks/chunk.FRQVQSCX.js → dist/chunks/chunk.YOF7YCGP.js} +1 -1
- package/dist/chunks/{chunk.ELQ6ZAHU.js → chunk.YTIFDWTT.js} +1 -1
- package/dist/chunks/{chunk.ZNE45MUQ.js → chunk.YY5HDA3O.js} +1 -1
- package/dist/chunks/{chunk.FYRZ4LVX.js → chunk.Z2OSGQYG.js} +2 -2
- package/dist/chunks/{chunk.5KVADYZC.js → chunk.ZDNHA3FE.js} +2 -2
- package/dist/chunks/{chunk.YLKHYMMJ.js → chunk.ZFAPC5IL.js} +1 -1
- package/{cdn/chunks/chunk.NOA6A36X.js → dist/chunks/chunk.ZNPUJHGL.js} +1 -1
- package/dist/chunks/{chunk.YCC476ZW.js → chunk.ZQBGF74C.js} +1 -1
- package/dist/chunks/{chunk.SCWM4TJB.js → chunk.ZU34TALF.js} +1 -1
- package/dist/components/alert/alert.component.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/animated-image/animated-image.component.js +3 -3
- package/dist/components/animated-image/animated-image.js +4 -4
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +3 -3
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.js +4 -4
- package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.component.js +6 -6
- package/dist/components/button/button.js +7 -7
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/calendar/calendar.component.js +16 -2
- package/dist/components/calendar/calendar.js +16 -2
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +3 -3
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.component.js +2 -2
- package/dist/components/carousel-item/carousel-item.js +3 -3
- package/dist/components/checkbox/checkbox.component.js +3 -3
- package/dist/components/checkbox/checkbox.js +4 -4
- package/dist/components/color-picker/color-picker.component.js +17 -18
- package/dist/components/color-picker/color-picker.js +18 -19
- package/dist/components/copy-button/copy-button.component.js +6 -6
- package/dist/components/copy-button/copy-button.js +7 -7
- package/dist/components/datepicker/datepicker.component.js +31 -0
- package/dist/components/datepicker/datepicker.js +35 -0
- package/dist/components/details/details.component.js +4 -4
- package/dist/components/details/details.js +5 -5
- package/dist/components/details/details.styles.js +1 -1
- package/dist/components/dialog/dialog.component.js +6 -6
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +6 -6
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.component.js +4 -4
- package/dist/components/dropdown/dropdown.js +5 -5
- package/dist/components/format-bytes/format-bytes.component.js +2 -2
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.component.js +2 -2
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.component.js +2 -2
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/icon/icon.component.js +2 -2
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.component.js +3 -3
- package/dist/components/icon-button/icon-button.js +4 -4
- package/dist/components/image-comparer/image-comparer.component.js +3 -3
- package/dist/components/image-comparer/image-comparer.js +4 -4
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +5 -8
- package/dist/components/input/input.js +6 -9
- package/dist/components/input/input.styles.js +1 -1
- package/dist/components/menu/menu.component.js +2 -2
- package/dist/components/menu/menu.js +3 -3
- package/dist/components/menu-item/menu-item.component.js +7 -7
- package/dist/components/menu-item/menu-item.js +8 -8
- package/dist/components/menu-label/menu-label.component.js +2 -2
- package/dist/components/menu-label/menu-label.js +3 -3
- package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
- package/dist/components/mutation-observer/mutation-observer.js +3 -3
- package/dist/components/option/option.component.js +3 -3
- package/dist/components/option/option.js +4 -4
- package/dist/components/popup/popup.component.js +2 -2
- package/dist/components/popup/popup.js +3 -3
- package/dist/components/progress-bar/progress-bar.component.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.component.js +2 -2
- package/dist/components/progress-ring/progress-ring.js +3 -3
- package/dist/components/qr-code/qr-code.component.js +2 -2
- package/dist/components/qr-code/qr-code.js +3 -3
- package/dist/components/radio/radio.component.js +3 -3
- package/dist/components/radio/radio.js +4 -4
- package/dist/components/radio-button/radio-button.component.js +4 -4
- package/dist/components/radio-button/radio-button.js +5 -5
- package/dist/components/radio-button/radio-button.styles.js +2 -2
- package/dist/components/radio-group/radio-group.component.js +4 -4
- package/dist/components/radio-group/radio-group.js +5 -5
- package/dist/components/range/range.component.js +3 -3
- package/dist/components/range/range.js +4 -4
- package/dist/components/rating/rating.component.js +3 -3
- package/dist/components/rating/rating.js +4 -4
- package/dist/components/relative-time/relative-time.component.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.component.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +3 -3
- package/dist/components/select/select.component.js +7 -7
- package/dist/components/select/select.js +8 -8
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.component.js +2 -2
- package/dist/components/split-panel/split-panel.js +3 -3
- package/dist/components/switch/switch.component.js +3 -3
- package/dist/components/switch/switch.js +4 -4
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.component.js +4 -4
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.component.js +5 -5
- package/dist/components/tab-group/tab-group.js +6 -6
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/table/body-table.js +4 -4
- package/dist/components/table/features/row-selection.js +9 -0
- package/dist/components/table/head-table.js +4 -4
- package/dist/components/table/spinner-container.js +2 -2
- package/dist/components/table/table.component.js +24 -7
- package/dist/components/table/table.context.js +4 -3
- package/dist/components/table/table.js +26 -9
- package/dist/components/table/utils.js +7 -0
- package/dist/components/tag/tag.component.js +4 -4
- package/dist/components/tag/tag.js +5 -5
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/tooltip/tooltip.component.js +4 -4
- package/dist/components/tooltip/tooltip.js +5 -5
- package/dist/components/tooltip/tooltip.styles.js +1 -1
- package/dist/components/tree/tree.component.js +9 -9
- package/dist/components/tree/tree.js +10 -10
- package/dist/components/tree-item/tree-item.component.js +7 -7
- package/dist/components/tree-item/tree-item.js +8 -8
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
- package/dist/components/visually-hidden/visually-hidden.js +3 -3
- package/dist/custom-elements.json +2824 -2443
- package/dist/react/alert/index.js +7 -7
- package/dist/react/animated-image/index.js +4 -4
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +4 -4
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +4 -4
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +7 -7
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +4 -4
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +4 -4
- package/dist/react/color-picker/index.js +18 -19
- package/dist/react/copy-button/index.js +7 -7
- package/dist/react/datepicker/index.js +32 -0
- package/dist/react/details/index.js +5 -5
- package/dist/react/dialog/index.js +7 -7
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +7 -7
- package/dist/react/dropdown/index.js +5 -5
- package/dist/react/format-bytes/index.js +3 -3
- package/dist/react/format-date/index.js +3 -3
- package/dist/react/format-number/index.js +3 -3
- package/dist/react/icon/index.js +3 -3
- package/dist/react/icon-button/index.js +4 -4
- package/dist/react/image-comparer/index.js +4 -4
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.js +201 -199
- package/dist/react/input/index.js +6 -9
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +8 -8
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +4 -4
- package/dist/react/popup/index.js +3 -3
- package/dist/react/progress-bar/index.js +3 -3
- package/dist/react/progress-ring/index.js +3 -3
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +4 -4
- package/dist/react/radio-button/index.js +5 -5
- package/dist/react/radio-group/index.js +5 -5
- package/dist/react/range/index.js +4 -4
- package/dist/react/rating/index.js +4 -4
- package/dist/react/relative-time/index.js +3 -3
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/select/index.js +8 -8
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +3 -3
- package/dist/react/split-panel/index.js +3 -3
- package/dist/react/switch/index.js +4 -4
- package/dist/react/tab/index.js +5 -5
- package/dist/react/tab-group/index.js +6 -6
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/table/index.js +25 -8
- package/dist/react/tag/index.js +5 -5
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/tooltip/index.js +5 -5
- package/dist/react/tree/index.js +10 -10
- package/dist/react/tree-item/index.js +8 -8
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/shoelace.js +185 -185
- package/dist/themes/dark.css +297 -286
- package/dist/themes/dark.styles.js +297 -286
- package/dist/themes/light.css +286 -252
- package/dist/themes/light.styles.js +298 -255
- package/dist/types/vue/index.d.ts +332 -285
- package/dist/vscode.html-custom-data.json +282 -195
- package/dist/web-types.json +703 -521
- package/package.json +2 -2
- package/cdn/chunks/chunk.IW4UQA27.js +0 -453
- package/cdn/chunks/chunk.JK5C4Y2O.js +0 -217
- package/cdn/chunks/chunk.KMG5K64B.js +0 -175
- package/cdn/chunks/chunk.SWRCQLTG.js +0 -21
- package/cdn/chunks/chunk.ZC2X65UJ.js +0 -133
- package/cdn/react/calendar/index.js +0 -14
- package/dist/chunks/chunk.C5JOSC6T.js +0 -125
- package/dist/chunks/chunk.EU44RQUN.js +0 -172
- package/dist/chunks/chunk.OTP7XFTZ.js +0 -450
- package/dist/chunks/chunk.ST6QSNN7.js +0 -21
- package/dist/chunks/chunk.TZQ2VPVF.js +0 -7
- package/dist/react/calendar/index.js +0 -11
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
dropdown_styles_default
|
|
3
3
|
} from "./chunk.LXP7GVU3.js";
|
|
4
|
-
import {
|
|
5
|
-
SlPopup
|
|
6
|
-
} from "./chunk.QKJEDAAH.js";
|
|
7
4
|
import {
|
|
8
5
|
getDeepestActiveElement,
|
|
9
6
|
getTabbableBoundary
|
|
10
7
|
} from "./chunk.VESXC477.js";
|
|
8
|
+
import {
|
|
9
|
+
SlPopup
|
|
10
|
+
} from "./chunk.YHRMKFU2.js";
|
|
11
11
|
import {
|
|
12
12
|
getAnimation,
|
|
13
13
|
setDefaultAnimation
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk.TUVJKY7S.js";
|
|
31
31
|
import {
|
|
32
32
|
ShoelaceElement
|
|
33
|
-
} from "./chunk.
|
|
33
|
+
} from "./chunk.YFUR5BLL.js";
|
|
34
34
|
import {
|
|
35
35
|
__decorateClass
|
|
36
36
|
} from "./chunk.KAW7D32O.js";
|
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SlCalendar,
|
|
3
|
+
formatDatetime,
|
|
4
|
+
parseDatetime
|
|
5
|
+
} from "./chunk.LEQAHGT3.js";
|
|
6
|
+
import {
|
|
7
|
+
SlInput
|
|
8
|
+
} from "./chunk.MT7VKMYW.js";
|
|
9
|
+
import {
|
|
10
|
+
SlPopup
|
|
11
|
+
} from "./chunk.YHRMKFU2.js";
|
|
12
|
+
import {
|
|
13
|
+
defaultValue
|
|
14
|
+
} from "./chunk.GI7VDIWX.js";
|
|
15
|
+
import {
|
|
16
|
+
FormControlController
|
|
17
|
+
} from "./chunk.3RPBFEDE.js";
|
|
18
|
+
import {
|
|
19
|
+
HasSlotController
|
|
20
|
+
} from "./chunk.NYIIDP5N.js";
|
|
21
|
+
import {
|
|
22
|
+
watch
|
|
23
|
+
} from "./chunk.GMYPQTFK.js";
|
|
24
|
+
import {
|
|
25
|
+
component_styles_default
|
|
26
|
+
} from "./chunk.TUVJKY7S.js";
|
|
27
|
+
import {
|
|
28
|
+
ShoelaceElement
|
|
29
|
+
} from "./chunk.YFUR5BLL.js";
|
|
30
|
+
import {
|
|
31
|
+
__decorateClass
|
|
32
|
+
} from "./chunk.KAW7D32O.js";
|
|
33
|
+
|
|
34
|
+
// src/components/datepicker/datepicker.component.ts
|
|
35
|
+
import { html } from "lit";
|
|
36
|
+
import { property, query, state } from "lit/decorators.js";
|
|
37
|
+
|
|
38
|
+
// src/components/datepicker/datepicker.style.ts
|
|
39
|
+
import { css } from "lit";
|
|
40
|
+
var datepicker_style_default = css`
|
|
41
|
+
:host {
|
|
42
|
+
display: inline-block;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.datepicker__popup::part(popup) {
|
|
46
|
+
z-index: var(--sl-z-index-dropdown);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.datepicker__calendar {
|
|
50
|
+
display: block;
|
|
51
|
+
}
|
|
52
|
+
`;
|
|
53
|
+
|
|
54
|
+
// src/components/datepicker/datepicker.component.ts
|
|
55
|
+
var SlDatepicker = class extends ShoelaceElement {
|
|
56
|
+
constructor() {
|
|
57
|
+
super(...arguments);
|
|
58
|
+
this.formControlController = new FormControlController(this);
|
|
59
|
+
this.hasSlotController = new HasSlotController(
|
|
60
|
+
this,
|
|
61
|
+
"help-text",
|
|
62
|
+
"label",
|
|
63
|
+
"prefix",
|
|
64
|
+
"suffix",
|
|
65
|
+
"clear-icon"
|
|
66
|
+
);
|
|
67
|
+
this.lastValidValue = "";
|
|
68
|
+
this.open = false;
|
|
69
|
+
this.value = "";
|
|
70
|
+
this.defaultValue = "";
|
|
71
|
+
this.name = "";
|
|
72
|
+
this.type = "date";
|
|
73
|
+
this.placeholder = "";
|
|
74
|
+
this.label = "";
|
|
75
|
+
this.disabled = false;
|
|
76
|
+
this.readonly = false;
|
|
77
|
+
this.clearable = true;
|
|
78
|
+
this.size = "medium";
|
|
79
|
+
this.hoist = false;
|
|
80
|
+
this.filled = false;
|
|
81
|
+
this.pill = false;
|
|
82
|
+
this.helpText = "";
|
|
83
|
+
this.form = "";
|
|
84
|
+
this.required = false;
|
|
85
|
+
}
|
|
86
|
+
connectedCallback() {
|
|
87
|
+
super.connectedCallback();
|
|
88
|
+
if (!this.value && this.defaultValue) {
|
|
89
|
+
this.value = this.defaultValue;
|
|
90
|
+
}
|
|
91
|
+
if (this.parseValue(this.value)) {
|
|
92
|
+
this.lastValidValue = this.value;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
handleOpenChange() {
|
|
96
|
+
if (this.open && this.calendar) {
|
|
97
|
+
this.calendar.resetView();
|
|
98
|
+
}
|
|
99
|
+
if (!this.open) {
|
|
100
|
+
this.handleValueChange();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
104
|
+
checkValidity() {
|
|
105
|
+
return this.input.checkValidity();
|
|
106
|
+
}
|
|
107
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
108
|
+
reportValidity() {
|
|
109
|
+
return this.input.reportValidity();
|
|
110
|
+
}
|
|
111
|
+
/** Sets a custom validation message. The value provided will be shown to the user when the form is submitted. */
|
|
112
|
+
setCustomValidity(message) {
|
|
113
|
+
this.input.setCustomValidity(message);
|
|
114
|
+
this.formControlController.updateValidity();
|
|
115
|
+
}
|
|
116
|
+
/** Gets the associated form, if one exists. */
|
|
117
|
+
getForm() {
|
|
118
|
+
return this.formControlController.getForm();
|
|
119
|
+
}
|
|
120
|
+
/** Gets the validity state object */
|
|
121
|
+
get validity() {
|
|
122
|
+
return this.input.validity;
|
|
123
|
+
}
|
|
124
|
+
/** Gets the validation message */
|
|
125
|
+
get validationMessage() {
|
|
126
|
+
return this.input.validationMessage;
|
|
127
|
+
}
|
|
128
|
+
updateValue(value, options) {
|
|
129
|
+
const oldValue = this.value;
|
|
130
|
+
this.value = value;
|
|
131
|
+
if (value !== oldValue) {
|
|
132
|
+
if (options == null ? void 0 : options.emitInput) {
|
|
133
|
+
this.emit("sl-input");
|
|
134
|
+
}
|
|
135
|
+
if (options == null ? void 0 : options.emitChange) {
|
|
136
|
+
this.emit("sl-change");
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
parseValue(value) {
|
|
141
|
+
return parseDatetime(value);
|
|
142
|
+
}
|
|
143
|
+
handleDateSelect(event) {
|
|
144
|
+
const selectedDate = event.detail.date;
|
|
145
|
+
const formattedDate = formatDatetime(selectedDate, this.type);
|
|
146
|
+
this.updateValue(formattedDate, { emitInput: true, emitChange: true });
|
|
147
|
+
if (this.input) {
|
|
148
|
+
this.input.focus();
|
|
149
|
+
}
|
|
150
|
+
this.open = false;
|
|
151
|
+
}
|
|
152
|
+
handleDateChange(event) {
|
|
153
|
+
const selectedDate = event.detail.date;
|
|
154
|
+
const formattedDate = formatDatetime(selectedDate, this.type);
|
|
155
|
+
this.updateValue(formattedDate, { emitInput: true, emitChange: false });
|
|
156
|
+
}
|
|
157
|
+
handleTriggerMouseDown(event) {
|
|
158
|
+
const path = event.composedPath();
|
|
159
|
+
const isIconButton = path.some((el) => el instanceof Element && el.tagName.toLowerCase() === "sl-icon-button");
|
|
160
|
+
if (this.disabled || isIconButton) {
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
if (this.input) {
|
|
164
|
+
this.input.focus({ preventScroll: true });
|
|
165
|
+
}
|
|
166
|
+
if (!this.open) {
|
|
167
|
+
this.open = !this.open;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
handleInputChange(event) {
|
|
171
|
+
event.stopPropagation();
|
|
172
|
+
const target = event.target;
|
|
173
|
+
this.updateValue(target.value, { emitInput: true, emitChange: true });
|
|
174
|
+
}
|
|
175
|
+
handleInputInput(event) {
|
|
176
|
+
event.stopPropagation();
|
|
177
|
+
const target = event.target;
|
|
178
|
+
this.updateValue(target.value, { emitInput: true });
|
|
179
|
+
}
|
|
180
|
+
handleInputKeyDown(event) {
|
|
181
|
+
if (event.key === "Escape" && this.open) {
|
|
182
|
+
event.stopPropagation();
|
|
183
|
+
this.open = false;
|
|
184
|
+
}
|
|
185
|
+
if (event.key === "Enter") {
|
|
186
|
+
if (this.open && this.calendar) {
|
|
187
|
+
event.stopPropagation();
|
|
188
|
+
this.calendar.handleKeyDown(event);
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
const parsedDate = this.parseValue(this.value);
|
|
192
|
+
if (parsedDate) {
|
|
193
|
+
const formattedDate = formatDatetime(parsedDate, this.type);
|
|
194
|
+
this.updateValue(formattedDate, { emitChange: true });
|
|
195
|
+
this.open = false;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
handleInputBlur() {
|
|
200
|
+
this.open = false;
|
|
201
|
+
if (this.type === "datetime") {
|
|
202
|
+
this.updateValue(this.lastValidValue, { emitInput: true, emitChange: true });
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
const parsedDate = this.parseValue(this.value);
|
|
206
|
+
if (parsedDate) {
|
|
207
|
+
const formattedDate = formatDatetime(parsedDate, this.type);
|
|
208
|
+
this.updateValue(formattedDate, { emitChange: true });
|
|
209
|
+
} else {
|
|
210
|
+
if (this.value === "") {
|
|
211
|
+
this.lastValidValue = "";
|
|
212
|
+
} else {
|
|
213
|
+
this.updateValue(this.lastValidValue, { emitChange: true });
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
handleValueChange() {
|
|
218
|
+
const validDate = this.parseValue(this.value);
|
|
219
|
+
if (!this.open || this.type === "date") {
|
|
220
|
+
if (validDate) {
|
|
221
|
+
const formattedDate = formatDatetime(validDate, this.type);
|
|
222
|
+
this.lastValidValue = formattedDate;
|
|
223
|
+
} else if (this.value === "") {
|
|
224
|
+
this.lastValidValue = "";
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
if (!this.value || !this.calendar) {
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
this.formControlController.updateValidity();
|
|
231
|
+
if (this.valueChangeDebounceTimer) {
|
|
232
|
+
window.clearTimeout(this.valueChangeDebounceTimer);
|
|
233
|
+
}
|
|
234
|
+
this.valueChangeDebounceTimer = window.setTimeout(() => {
|
|
235
|
+
const parsedDate = this.parseValue(this.value);
|
|
236
|
+
if (parsedDate) {
|
|
237
|
+
this.calendar.value = this.value;
|
|
238
|
+
}
|
|
239
|
+
this.valueChangeDebounceTimer = void 0;
|
|
240
|
+
}, 300);
|
|
241
|
+
}
|
|
242
|
+
render() {
|
|
243
|
+
return html`
|
|
244
|
+
<sl-popup
|
|
245
|
+
part="popup"
|
|
246
|
+
class="datepicker__popup"
|
|
247
|
+
?active=${this.open}
|
|
248
|
+
strategy=${this.hoist ? "fixed" : "absolute"}
|
|
249
|
+
flip
|
|
250
|
+
shift
|
|
251
|
+
placement="bottom-start"
|
|
252
|
+
auto-size="vertical"
|
|
253
|
+
auto-size-padding="10"
|
|
254
|
+
>
|
|
255
|
+
<sl-input
|
|
256
|
+
part="input"
|
|
257
|
+
slot="anchor"
|
|
258
|
+
size=${this.size}
|
|
259
|
+
.value=${this.value}
|
|
260
|
+
default-value=${this.defaultValue}
|
|
261
|
+
label=${this.label}
|
|
262
|
+
placeholder=${this.placeholder}
|
|
263
|
+
help-text=${this.helpText}
|
|
264
|
+
?disabled=${this.disabled}
|
|
265
|
+
?readonly=${this.readonly}
|
|
266
|
+
?clearable=${this.clearable}
|
|
267
|
+
?filled=${this.filled}
|
|
268
|
+
?pill=${this.pill}
|
|
269
|
+
?required=${this.required}
|
|
270
|
+
?autofocus=${this.autofocus}
|
|
271
|
+
pattern=${this.pattern}
|
|
272
|
+
min=${this.min}
|
|
273
|
+
max=${this.max}
|
|
274
|
+
type="text"
|
|
275
|
+
autocomplete="off"
|
|
276
|
+
@mousedown=${this.handleTriggerMouseDown}
|
|
277
|
+
@sl-change=${this.handleInputChange}
|
|
278
|
+
@sl-blur=${this.handleInputBlur}
|
|
279
|
+
@sl-input=${this.handleInputInput}
|
|
280
|
+
@keydown=${this.handleInputKeyDown}
|
|
281
|
+
>
|
|
282
|
+
${this.hasSlotController.test("label") ? html`<slot name="label" slot="label"></slot>` : ""}
|
|
283
|
+
${this.hasSlotController.test("prefix") ? html`<slot name="prefix" slot="prefix"></slot>` : ""}
|
|
284
|
+
${this.hasSlotController.test("suffix") ? html`<slot name="suffix" slot="suffix"></slot>` : html`<sl-icon slot="suffix" name="calendar-date"></sl-icon>`}
|
|
285
|
+
${this.hasSlotController.test("clear-icon") ? html`<slot name="clear-icon" slot="clear-icon"></slot>` : ""}
|
|
286
|
+
${this.hasSlotController.test("help-text") ? html`<slot name="help-text" slot="help-text"></slot>` : ""}
|
|
287
|
+
</sl-input>
|
|
288
|
+
<sl-calendar
|
|
289
|
+
part="calendar"
|
|
290
|
+
class="datepicker__calendar"
|
|
291
|
+
.value=${this.value}
|
|
292
|
+
type=${this.type}
|
|
293
|
+
@sl-date-select=${this.handleDateSelect}
|
|
294
|
+
@sl-date-change=${this.handleDateChange}
|
|
295
|
+
@click=${(event) => event.stopPropagation()}
|
|
296
|
+
></sl-calendar>
|
|
297
|
+
</sl-popup>
|
|
298
|
+
`;
|
|
299
|
+
}
|
|
300
|
+
};
|
|
301
|
+
SlDatepicker.styles = [component_styles_default, datepicker_style_default];
|
|
302
|
+
SlDatepicker.dependencies = {
|
|
303
|
+
"sl-calendar": SlCalendar,
|
|
304
|
+
"sl-popup": SlPopup,
|
|
305
|
+
"sl-input": SlInput
|
|
306
|
+
};
|
|
307
|
+
__decorateClass([
|
|
308
|
+
query("sl-input")
|
|
309
|
+
], SlDatepicker.prototype, "input", 2);
|
|
310
|
+
__decorateClass([
|
|
311
|
+
query("sl-calendar")
|
|
312
|
+
], SlDatepicker.prototype, "calendar", 2);
|
|
313
|
+
__decorateClass([
|
|
314
|
+
state()
|
|
315
|
+
], SlDatepicker.prototype, "open", 2);
|
|
316
|
+
__decorateClass([
|
|
317
|
+
state()
|
|
318
|
+
], SlDatepicker.prototype, "valueChangeDebounceTimer", 2);
|
|
319
|
+
__decorateClass([
|
|
320
|
+
property()
|
|
321
|
+
], SlDatepicker.prototype, "value", 2);
|
|
322
|
+
__decorateClass([
|
|
323
|
+
defaultValue()
|
|
324
|
+
], SlDatepicker.prototype, "defaultValue", 2);
|
|
325
|
+
__decorateClass([
|
|
326
|
+
property()
|
|
327
|
+
], SlDatepicker.prototype, "name", 2);
|
|
328
|
+
__decorateClass([
|
|
329
|
+
property({ reflect: true })
|
|
330
|
+
], SlDatepicker.prototype, "type", 2);
|
|
331
|
+
__decorateClass([
|
|
332
|
+
property()
|
|
333
|
+
], SlDatepicker.prototype, "placeholder", 2);
|
|
334
|
+
__decorateClass([
|
|
335
|
+
property()
|
|
336
|
+
], SlDatepicker.prototype, "label", 2);
|
|
337
|
+
__decorateClass([
|
|
338
|
+
property({ type: Boolean })
|
|
339
|
+
], SlDatepicker.prototype, "disabled", 2);
|
|
340
|
+
__decorateClass([
|
|
341
|
+
property({ type: Boolean })
|
|
342
|
+
], SlDatepicker.prototype, "readonly", 2);
|
|
343
|
+
__decorateClass([
|
|
344
|
+
property({ type: Boolean })
|
|
345
|
+
], SlDatepicker.prototype, "clearable", 2);
|
|
346
|
+
__decorateClass([
|
|
347
|
+
property({ reflect: true })
|
|
348
|
+
], SlDatepicker.prototype, "size", 2);
|
|
349
|
+
__decorateClass([
|
|
350
|
+
property({ type: Boolean })
|
|
351
|
+
], SlDatepicker.prototype, "hoist", 2);
|
|
352
|
+
__decorateClass([
|
|
353
|
+
property({ type: Boolean, reflect: true })
|
|
354
|
+
], SlDatepicker.prototype, "filled", 2);
|
|
355
|
+
__decorateClass([
|
|
356
|
+
property({ type: Boolean, reflect: true })
|
|
357
|
+
], SlDatepicker.prototype, "pill", 2);
|
|
358
|
+
__decorateClass([
|
|
359
|
+
property({ attribute: "help-text" })
|
|
360
|
+
], SlDatepicker.prototype, "helpText", 2);
|
|
361
|
+
__decorateClass([
|
|
362
|
+
property({ reflect: true })
|
|
363
|
+
], SlDatepicker.prototype, "form", 2);
|
|
364
|
+
__decorateClass([
|
|
365
|
+
property({ type: Boolean, reflect: true })
|
|
366
|
+
], SlDatepicker.prototype, "required", 2);
|
|
367
|
+
__decorateClass([
|
|
368
|
+
property()
|
|
369
|
+
], SlDatepicker.prototype, "pattern", 2);
|
|
370
|
+
__decorateClass([
|
|
371
|
+
property()
|
|
372
|
+
], SlDatepicker.prototype, "min", 2);
|
|
373
|
+
__decorateClass([
|
|
374
|
+
property()
|
|
375
|
+
], SlDatepicker.prototype, "max", 2);
|
|
376
|
+
__decorateClass([
|
|
377
|
+
property({ type: Boolean })
|
|
378
|
+
], SlDatepicker.prototype, "autofocus", 2);
|
|
379
|
+
__decorateClass([
|
|
380
|
+
watch("open", { waitUntilFirstUpdate: true })
|
|
381
|
+
], SlDatepicker.prototype, "handleOpenChange", 1);
|
|
382
|
+
__decorateClass([
|
|
383
|
+
watch("value")
|
|
384
|
+
], SlDatepicker.prototype, "handleValueChange", 1);
|
|
385
|
+
|
|
386
|
+
export {
|
|
387
|
+
SlDatepicker
|
|
388
|
+
};
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
// src/components/switch/switch.styles.ts
|
|
2
|
+
import { css } from "lit";
|
|
3
|
+
var switch_styles_default = css`
|
|
4
|
+
:host {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
:host([size='small']) {
|
|
9
|
+
/* increase base height by 2px */
|
|
10
|
+
--height: calc(var(--sl-toggle-size-small) + 2px);
|
|
11
|
+
--thumb-size: calc(var(--sl-toggle-size-small));
|
|
12
|
+
--width: calc(var(--height) * 2);
|
|
13
|
+
|
|
14
|
+
font-size: var(--sl-input-font-size-small);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host([size='medium']) {
|
|
18
|
+
/* increase base height by 2px */
|
|
19
|
+
--height: calc(var(--sl-toggle-size-medium) + 2px);
|
|
20
|
+
--thumb-size: calc(var(--sl-toggle-size-medium));
|
|
21
|
+
--width: calc(var(--height) * 2);
|
|
22
|
+
|
|
23
|
+
font-size: var(--sl-input-font-size-medium);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:host([size='large']) {
|
|
27
|
+
/* increase base height by 2px */
|
|
28
|
+
--height: calc(var(--sl-toggle-size-large) + 2px);
|
|
29
|
+
--thumb-size: calc(var(--sl-toggle-size-large));
|
|
30
|
+
--width: calc(var(--height) * 2);
|
|
31
|
+
|
|
32
|
+
font-size: var(--sl-input-font-size-large);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.switch {
|
|
36
|
+
position: relative;
|
|
37
|
+
display: inline-flex;
|
|
38
|
+
/* stack label above control and left-align */
|
|
39
|
+
flex-direction: column;
|
|
40
|
+
align-items: flex-start;
|
|
41
|
+
font-family: var(--sl-input-font-family);
|
|
42
|
+
font-size: inherit;
|
|
43
|
+
font-weight: var(--sl-input-font-weight);
|
|
44
|
+
color: var(--sl-input-label-color);
|
|
45
|
+
vertical-align: middle;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.switch__control {
|
|
50
|
+
flex: 0 0 auto;
|
|
51
|
+
position: relative;
|
|
52
|
+
display: inline-flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
width: var(--width);
|
|
56
|
+
height: var(--height);
|
|
57
|
+
background-color: var(--sl-color-neutral-400);
|
|
58
|
+
border: solid var(--sl-input-border-width) var(--sl-color-neutral-400);
|
|
59
|
+
border-radius: var(--height);
|
|
60
|
+
transition:
|
|
61
|
+
var(--sl-transition-fast) border-color,
|
|
62
|
+
var(--sl-transition-fast) background-color;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.switch__control .switch__thumb {
|
|
66
|
+
width: var(--thumb-size);
|
|
67
|
+
height: var(--thumb-size);
|
|
68
|
+
background-color: var(--sl-color-neutral-0);
|
|
69
|
+
border-radius: 50%;
|
|
70
|
+
border: solid var(--sl-input-border-width) var(--sl-color-neutral-400);
|
|
71
|
+
translate: calc((var(--width) - var(--height)) / -2);
|
|
72
|
+
transition:
|
|
73
|
+
var(--sl-transition-fast) translate ease,
|
|
74
|
+
var(--sl-transition-fast) background-color,
|
|
75
|
+
var(--sl-transition-fast) border-color,
|
|
76
|
+
var(--sl-transition-fast) box-shadow;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.switch__input {
|
|
80
|
+
position: absolute;
|
|
81
|
+
opacity: 0;
|
|
82
|
+
padding: 0;
|
|
83
|
+
margin: 0;
|
|
84
|
+
pointer-events: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* Hover */
|
|
88
|
+
.switch:not(.switch--checked):not(.switch--disabled) .switch__control:hover {
|
|
89
|
+
background-color: var(--sl-color-neutral-500);
|
|
90
|
+
border-color: var(--sl-color-neutral-500);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.switch:not(.switch--checked):not(.switch--disabled) .switch__control:hover .switch__thumb {
|
|
94
|
+
background-color: var(--sl-color-neutral-0);
|
|
95
|
+
border-color: var(--sl-color-neutral-500);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Focus */
|
|
99
|
+
.switch:not(.switch--checked):not(.switch--disabled) .switch__input:focus-visible ~ .switch__control {
|
|
100
|
+
background-color: var(--sl-color-neutral-400);
|
|
101
|
+
border-color: var(--sl-color-neutral-400);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.switch:not(.switch--checked):not(.switch--disabled) .switch__input:focus-visible ~ .switch__control .switch__thumb {
|
|
105
|
+
background-color: var(--sl-color-neutral-0);
|
|
106
|
+
border-color: var(--sl-color-primary-600);
|
|
107
|
+
outline: var(--sl-focus-ring);
|
|
108
|
+
outline-offset: var(--sl-focus-ring-offset);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* Checked */
|
|
112
|
+
.switch--checked .switch__control {
|
|
113
|
+
background-color: var(--sl-color-primary-600);
|
|
114
|
+
border-color: var(--sl-color-primary-600);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.switch--checked .switch__control .switch__thumb {
|
|
118
|
+
background-color: var(--sl-color-neutral-0);
|
|
119
|
+
border-color: var(--sl-color-primary-600);
|
|
120
|
+
translate: calc((var(--width) - var(--height)) / 2);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* Checked + hover */
|
|
124
|
+
.switch.switch--checked:not(.switch--disabled) .switch__control:hover {
|
|
125
|
+
background-color: var(--sl-color-primary-500);
|
|
126
|
+
border-color: var(--sl-color-primary-500);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.switch.switch--checked:not(.switch--disabled) .switch__control:hover .switch__thumb {
|
|
130
|
+
background-color: var(--sl-color-neutral-0);
|
|
131
|
+
border-color: var(--sl-color-primary-500);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* Checked + focus */
|
|
135
|
+
.switch.switch--checked:not(.switch--disabled) .switch__input:focus-visible ~ .switch__control {
|
|
136
|
+
background-color: var(--sl-color-primary-600);
|
|
137
|
+
/* Use an outline for focus visuals so it doesn't affect layout (border-box) */
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* If the browser supports color-mix, use a 30% transparent mix of the primary color for outline */
|
|
141
|
+
@supports (color: color-mix(in srgb, var(--sl-color-primary-600) 70%, transparent 30%)) {
|
|
142
|
+
.switch.switch--checked:not(.switch--disabled) .switch__input:focus-visible ~ .switch__control {
|
|
143
|
+
outline-color: color-mix(in srgb, var(--sl-color-primary-600) 70%, transparent 30%);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.switch.switch--checked:not(.switch--disabled) .switch__input:focus-visible ~ .switch__control .switch__thumb {
|
|
148
|
+
background-color: var(--sl-color-neutral-0);
|
|
149
|
+
border-color: var(--sl-color-primary-600);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* Active state (when clicked) */
|
|
153
|
+
.switch:not(.switch--disabled) .switch__input:active ~ .switch__control {
|
|
154
|
+
/* Remove inner stroke */
|
|
155
|
+
border-style: none;
|
|
156
|
+
border-width: 0;
|
|
157
|
+
/* Add outer stroke with same color as background */
|
|
158
|
+
box-shadow: 0 0 0 2px color-mix(in srgb, var(--sl-color-neutral-400) 30%, transparent 70%);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.switch:not(.switch--disabled) .switch__input:active ~ .switch__control .switch__thumb {
|
|
162
|
+
width: calc(var(--thumb-size) + 4px);
|
|
163
|
+
/* Move right by 2px to make width increase to the right */
|
|
164
|
+
translate: calc(((var(--width) - var(--height)) / -2) + 2px);
|
|
165
|
+
/* Maintain full rounded corners */
|
|
166
|
+
border-radius: calc(var(--thumb-size) / 2);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* Active state for checked switch */
|
|
170
|
+
.switch.switch--checked:not(.switch--disabled) .switch__input:active ~ .switch__control {
|
|
171
|
+
/* Remove inner stroke */
|
|
172
|
+
border-style: none;
|
|
173
|
+
border-width: 0;
|
|
174
|
+
/* Add outer stroke with same color as background */
|
|
175
|
+
box-shadow: 0 0 0 2px color-mix(in srgb, var(--sl-color-primary-600) 30%, transparent 70%);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.switch.switch--checked:not(.switch--disabled) .switch__input:active ~ .switch__control .switch__thumb {
|
|
179
|
+
width: calc(var(--thumb-size) + 4px);
|
|
180
|
+
/* Move left by 2px to make width increase to the left */
|
|
181
|
+
translate: calc(((var(--width) - var(--height)) / 2) - 2px);
|
|
182
|
+
/* Maintain full rounded corners */
|
|
183
|
+
border-radius: calc(var(--thumb-size) / 2);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/* Fallback for browsers that don't support color-mix */
|
|
187
|
+
@supports not (color: color-mix(in srgb, var(--sl-color-primary-600) 30%, transparent 70%)) {
|
|
188
|
+
.switch:not(.switch--disabled) .switch__input:active ~ .switch__control {
|
|
189
|
+
/* Remove inner stroke */
|
|
190
|
+
border-style: none;
|
|
191
|
+
border-width: 0;
|
|
192
|
+
/* Add outer stroke with same color as background */
|
|
193
|
+
box-shadow: 0 0 0 2px var(--sl-color-neutral-400);
|
|
194
|
+
opacity: 0.3;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.switch.switch--checked:not(.switch--disabled) .switch__input:active ~ .switch__control {
|
|
198
|
+
/* Remove inner stroke */
|
|
199
|
+
border-style: none;
|
|
200
|
+
border-width: 0;
|
|
201
|
+
/* Add outer stroke with same color as background */
|
|
202
|
+
box-shadow: 0 0 0 2px var(--sl-color-primary-600);
|
|
203
|
+
opacity: 0.3;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
/* Maintain thumb opacity in active state */
|
|
207
|
+
.switch:not(.switch--disabled) .switch__input:active ~ .switch__control .switch__thumb {
|
|
208
|
+
width: calc(var(--thumb-size) + 4px);
|
|
209
|
+
/* Move right by 2px to make width increase to the right */
|
|
210
|
+
translate: calc(((var(--width) - var(--height)) / -2) + 2px);
|
|
211
|
+
/* Maintain full rounded corners */
|
|
212
|
+
border-radius: calc(var(--thumb-size) / 2);
|
|
213
|
+
opacity: 1;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.switch.switch--checked:not(.switch--disabled) .switch__input:active ~ .switch__control .switch__thumb {
|
|
217
|
+
width: calc(var(--thumb-size) + 4px);
|
|
218
|
+
/* Move left by 2px to make width increase to the left */
|
|
219
|
+
translate: calc(((var(--width) - var(--height)) / 2) - 2px);
|
|
220
|
+
/* Maintain full rounded corners */
|
|
221
|
+
border-radius: calc(var(--thumb-size) / 2);
|
|
222
|
+
opacity: 1;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/* Disabled */
|
|
227
|
+
.switch--disabled {
|
|
228
|
+
opacity: 0.5;
|
|
229
|
+
cursor: not-allowed;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.switch__label {
|
|
233
|
+
display: block;
|
|
234
|
+
/* label sits above the control, left-aligned */
|
|
235
|
+
line-height: normal;
|
|
236
|
+
order: -1; /* render the label above the control without changing DOM */
|
|
237
|
+
margin: 0 0 4px 0; /* bottom gap before the control */
|
|
238
|
+
user-select: none;
|
|
239
|
+
-webkit-user-select: none;
|
|
240
|
+
text-align: left;
|
|
241
|
+
width: 100%;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
:host([required]) .switch__label::after {
|
|
245
|
+
content: var(--sl-input-required-content);
|
|
246
|
+
color: var(--sl-input-required-content-color);
|
|
247
|
+
margin-inline-start: var(--sl-input-required-content-offset);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
@media (forced-colors: active) {
|
|
251
|
+
.switch.switch--checked:not(.switch--disabled) .switch__control:hover .switch__thumb,
|
|
252
|
+
.switch--checked .switch__control .switch__thumb {
|
|
253
|
+
background-color: ButtonText;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
`;
|
|
257
|
+
|
|
258
|
+
export {
|
|
259
|
+
switch_styles_default
|
|
260
|
+
};
|