@cordwainer/cw-elements 1.1.0-alpha.1 → 1.1.0-alpha.4
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.XMOKORIS.js → chunk.2G3O3XON.js} +1 -1
- package/cdn/chunks/{chunk.EKA5IZBB.js → chunk.2MKGUSML.js} +1 -1
- package/cdn/chunks/{chunk.2BZYHVAA.js → chunk.2SGSQGAL.js} +2 -2
- package/cdn/chunks/{chunk.PMION4XH.js → chunk.2ZWS6TCH.js} +4 -4
- package/cdn/chunks/{chunk.G7ONJPZV.js → chunk.344USDV6.js} +1 -1
- package/cdn/chunks/{chunk.J22HNHPX.js → chunk.37IKVS4E.js} +1 -1
- package/{dist/chunks/chunk.AGM34VVK.js → cdn/chunks/chunk.3AD6BYEG.js} +1 -1
- package/cdn/chunks/{chunk.Z46D7BRX.js → chunk.3ITR3YMH.js} +1 -1
- package/cdn/chunks/{chunk.G6WVVAXZ.js → chunk.3REHQDTA.js} +1 -1
- package/cdn/chunks/{chunk.HIF2OHVM.js → chunk.3SHNY2QT.js} +1 -1
- package/{dist/chunks/chunk.KRYDATMA.js → cdn/chunks/chunk.3SUCNDZE.js} +1 -1
- package/cdn/chunks/{chunk.RG2ZQTZT.js → chunk.3TAXLT6Y.js} +1 -1
- package/{dist/chunks/chunk.BRWGDDSD.js → cdn/chunks/chunk.3WD7JED5.js} +1 -1
- package/cdn/chunks/{chunk.VX3O2XFT.js → chunk.4E72OI3W.js} +1 -1
- package/cdn/chunks/{chunk.UOCMT5KF.js → chunk.4EM2ZTZK.js} +1 -1
- package/cdn/chunks/{chunk.VGZACMVS.js → chunk.4HGWGREG.js} +1 -1
- package/cdn/chunks/{chunk.TEFTEV42.js → chunk.4M4QRULX.js} +1 -1
- package/{dist/chunks/chunk.D3EVDN26.js → cdn/chunks/chunk.4MTZLOPO.js} +1 -1
- package/cdn/chunks/{chunk.N7Z7YFPG.js → chunk.4N3HJD26.js} +2 -2
- package/cdn/chunks/{chunk.URQUUCLV.js → chunk.4OXCBY23.js} +1 -1
- package/cdn/chunks/{chunk.KDPC7QBC.js → chunk.5HBFALUB.js} +1 -1
- package/cdn/chunks/{chunk.JYEWLHBO.js → chunk.5KSHBY6J.js} +1 -1
- package/cdn/chunks/chunk.5SLU253A.js +11 -0
- package/cdn/chunks/{chunk.CIWFI7M7.js → chunk.5VQ7E7JO.js} +1 -1
- package/cdn/chunks/{chunk.JKVP3CWK.js → chunk.6MQTKJMY.js} +1 -1
- package/cdn/chunks/{chunk.STHQ7WFY.js → chunk.6NNDOJ2I.js} +1 -1
- package/{dist/chunks/chunk.OXJKUKQI.js → cdn/chunks/chunk.6NUD6XLI.js} +1 -1
- package/cdn/chunks/{chunk.MREAUPYK.js → chunk.6SYLTVCQ.js} +1 -1
- package/cdn/chunks/{chunk.G4F5AGXC.js → chunk.6XXZ7INE.js} +1 -1
- package/{dist/chunks/chunk.Q2BZ5L4Q.js → cdn/chunks/chunk.7YEJKFID.js} +1 -1
- package/cdn/chunks/{chunk.BXLLLPP4.js → chunk.AAYYQN7A.js} +2 -2
- package/cdn/chunks/{chunk.QEU47NC2.js → chunk.AKGULPFX.js} +1 -1
- package/{dist/chunks/chunk.UDU53G4K.js → cdn/chunks/chunk.AOT7QJTL.js} +1 -1
- package/{dist/chunks/chunk.7MUQRKSL.js → cdn/chunks/chunk.AZLJSQBR.js} +1 -1
- package/cdn/chunks/{chunk.QBDAXQRD.js → chunk.B4R2KKBC.js} +3 -3
- package/cdn/chunks/{chunk.2ELMNABV.js → chunk.BDX6BO5G.js} +1 -1
- package/cdn/chunks/{chunk.L76DX3LO.js → chunk.BLOJ5ZLO.js} +1 -1
- package/cdn/chunks/{chunk.GKTPFSX2.js → chunk.BNNU2BPP.js} +1 -1
- package/cdn/chunks/{chunk.O4IXCC3Q.js → chunk.C5GMZU3N.js} +1 -1
- package/cdn/chunks/{chunk.6ZML6PPJ.js → chunk.C6UAKPPT.js} +1 -1
- package/cdn/chunks/{chunk.AQC4MW3D.js → chunk.CC7XL2PX.js} +1 -1
- package/{dist/chunks/chunk.PMK6QNRC.js → cdn/chunks/chunk.CICRL6WF.js} +1 -1
- package/{dist/chunks/chunk.VJ2NXK6M.js → cdn/chunks/chunk.CJBAQSX3.js} +1 -1
- package/{dist/chunks/chunk.HOXXIMTY.js → cdn/chunks/chunk.CP6YQED5.js} +1 -1
- package/cdn/chunks/{chunk.PVO3FADL.js → chunk.CP7FMMG3.js} +1 -1
- package/cdn/chunks/{chunk.N6NGURUS.js → chunk.CRO3KVQR.js} +11 -9
- package/cdn/chunks/{chunk.JYAECO5B.js → chunk.CUQS3YOY.js} +1 -1
- package/cdn/chunks/{chunk.WFIK4QKU.js → chunk.CWHYEBMB.js} +1 -1
- package/cdn/chunks/chunk.D3CC4EPP.js +844 -0
- package/cdn/chunks/{chunk.5YUYCGQ7.js → chunk.D6PC4JXO.js} +2 -2
- package/cdn/chunks/{chunk.A32RWXXM.js → chunk.D6V7ZHYQ.js} +1 -1
- package/{dist/chunks/chunk.2WXOAVPT.js → cdn/chunks/chunk.DDRLXCTA.js} +1 -1
- package/cdn/chunks/{chunk.QGL5IXBT.js → chunk.DKMTXVXN.js} +2 -2
- package/cdn/chunks/{chunk.X4MRYMNI.js → chunk.DLNWFHDI.js} +1 -1
- package/cdn/chunks/chunk.DRMCBG6H.js +904 -0
- package/cdn/chunks/{chunk.HHXNLZL6.js → chunk.DRPJVBOZ.js} +3 -3
- package/cdn/chunks/{chunk.S36OHWCD.js → chunk.DVNP3K4H.js} +1 -1
- package/cdn/chunks/{chunk.7DV4KFED.js → chunk.DZWR6PEE.js} +2 -2
- package/{dist/chunks/chunk.EUJQPPBD.js → cdn/chunks/chunk.E7WVBNRJ.js} +1 -1
- package/{dist/chunks/chunk.XTLMFQRG.js → cdn/chunks/chunk.EEJWCLGL.js} +1 -1
- package/cdn/chunks/{chunk.D755QAZ2.js → chunk.EMTB5DAK.js} +1 -1
- package/cdn/chunks/chunk.EZ4P5QWF.js +295 -0
- package/{dist/chunks/chunk.PRUL2VS7.js → cdn/chunks/chunk.F3SRD2KJ.js} +1 -1
- package/{dist/chunks/chunk.LDYA5LEF.js → cdn/chunks/chunk.FGMHMPLS.js} +1 -1
- package/cdn/chunks/{chunk.OMQZMDHO.js → chunk.FJ5A4KU7.js} +5 -5
- package/cdn/chunks/{chunk.57GIFBAS.js → chunk.FJLDW473.js} +1 -3
- package/{dist/chunks/chunk.GOBD4Z65.js → cdn/chunks/chunk.FMKV4MCI.js} +1 -1
- package/cdn/chunks/{chunk.XRJQMOKI.js → chunk.FNZQ5VSF.js} +4 -4
- package/{dist/chunks/chunk.7OV3SGRD.js → cdn/chunks/chunk.FQZHVD3I.js} +1 -1
- package/cdn/chunks/{chunk.LTSCKEZA.js → chunk.G3SHDPUP.js} +5 -5
- package/cdn/chunks/{chunk.2AVZV55V.js → chunk.GBWIVSK3.js} +1 -1
- package/cdn/chunks/{chunk.AJ3ANPQ3.js → chunk.GDC3HQTW.js} +1 -1
- package/cdn/chunks/{chunk.3EFTNCB7.js → chunk.GE7VGXKR.js} +1 -1
- package/cdn/chunks/{chunk.PLA2L3GD.js → chunk.GEYGDEL7.js} +1 -1
- package/cdn/chunks/{chunk.5BZAHCJF.js → chunk.GKQH3I4C.js} +1 -1
- package/{dist/chunks/chunk.P7RKLO6R.js → cdn/chunks/chunk.GTBXZQUT.js} +1 -1
- package/cdn/chunks/{chunk.B665IET3.js → chunk.GUCOMEV6.js} +1 -1
- package/cdn/chunks/{chunk.OFAB73NQ.js → chunk.GWWFNRW7.js} +1 -1
- package/cdn/chunks/{chunk.YMCVVN7I.js → chunk.GXUVXHEH.js} +1 -1
- package/cdn/chunks/{chunk.CFC7WPIH.js → chunk.GYDXKIPC.js} +1 -1
- package/cdn/chunks/{chunk.OHS5HEB7.js → chunk.H5AUJTIE.js} +1 -1
- package/cdn/chunks/{chunk.Y5IX73JH.js → chunk.H62HAJ4G.js} +1 -1
- package/cdn/chunks/{chunk.JDNQB5GE.js → chunk.HIOJFFMD.js} +1 -1
- package/cdn/chunks/{chunk.TLS5MIRB.js → chunk.HNFOWGAF.js} +1 -1
- package/cdn/chunks/{chunk.PWDUNF72.js → chunk.HPKEKSCQ.js} +3 -3
- package/cdn/chunks/chunk.HRPTSKZU.js +11 -0
- package/cdn/chunks/{chunk.7J4YZAP7.js → chunk.HVI4NG5X.js} +3 -3
- package/cdn/chunks/{chunk.OOID47SK.js → chunk.HW4LPGYV.js} +1 -1
- package/cdn/chunks/{chunk.AP7BJUVF.js → chunk.IBYE7SF6.js} +1 -1
- package/cdn/chunks/chunk.IFKRLVTV.js +33 -0
- package/cdn/chunks/{chunk.X5LEEANE.js → chunk.IS54XFJN.js} +1 -1
- package/cdn/chunks/{chunk.LOYDJCRX.js → chunk.IZS4D5XJ.js} +1 -1
- package/cdn/chunks/{chunk.4R6BRK42.js → chunk.JLPIVTRU.js} +2 -2
- package/cdn/chunks/chunk.JOCUD4J7.js +33 -0
- package/{dist/chunks/chunk.65GPXPS4.js → cdn/chunks/chunk.JPHGEDT5.js} +1 -1
- package/cdn/chunks/{chunk.AVZR5QUK.js → chunk.JWARE5PS.js} +1 -1
- package/cdn/chunks/{chunk.7FKGS4NN.js → chunk.JX7GLEDK.js} +1 -1
- package/cdn/chunks/chunk.K6SG4JO3.js +24 -0
- package/cdn/chunks/{chunk.YQGDVTMB.js → chunk.K7AB4TPA.js} +3 -3
- package/cdn/chunks/{chunk.RRQWN4VQ.js → chunk.KB3VA4TE.js} +1 -1
- package/cdn/chunks/{chunk.GO7KGZOP.js → chunk.KFREF2YU.js} +8 -8
- package/cdn/chunks/{chunk.OBBP4SDL.js → chunk.KJACRAIC.js} +3 -3
- package/{dist/chunks/chunk.MZPA3A6E.js → cdn/chunks/chunk.KJMCT657.js} +1 -1
- package/{dist/chunks/chunk.HDSCF2QB.js → cdn/chunks/chunk.KOJTPCVM.js} +1 -1
- package/cdn/chunks/{chunk.EF4W5VAI.js → chunk.KOZI6SSZ.js} +5 -5
- package/cdn/chunks/{chunk.DMOBOOGK.js → chunk.KP3EHPK6.js} +1 -1
- package/cdn/chunks/{chunk.HMT745MR.js → chunk.L35FSBOA.js} +1 -1
- package/{dist/chunks/chunk.665FBIVN.js → cdn/chunks/chunk.L7EUYBP6.js} +1 -1
- package/cdn/chunks/{chunk.XTSPN4R2.js → chunk.LAY5ZWTP.js} +1 -1
- package/cdn/chunks/{chunk.FCANBYWU.js → chunk.LGDY4XPQ.js} +3 -3
- package/cdn/chunks/{chunk.JNVGCUJV.js → chunk.LTNLG4FQ.js} +2 -2
- package/cdn/chunks/{chunk.YQKIZ6FS.js → chunk.LTNO5T7J.js} +2 -2
- package/cdn/chunks/{chunk.FD2BLKNF.js → chunk.LWIN5CHQ.js} +1 -1
- package/cdn/chunks/{chunk.RETIUTF2.js → chunk.MCIVZYVO.js} +1 -1
- package/cdn/chunks/{chunk.T2MLBJCH.js → chunk.N2BHNSBD.js} +3 -3
- package/cdn/chunks/{chunk.TDV6FYZX.js → chunk.N5DVW7TT.js} +3 -3
- package/cdn/chunks/{chunk.DULA3BXU.js → chunk.N62PMN23.js} +2 -2
- package/cdn/chunks/{chunk.7NFLO67E.js → chunk.NEFQ65VQ.js} +1 -1
- package/cdn/chunks/{chunk.FNTJI56Z.js → chunk.NK25BNT3.js} +1 -1
- package/cdn/chunks/{chunk.CIO7YZYM.js → chunk.NL7YTSTQ.js} +1 -1
- package/cdn/chunks/{chunk.VDKDAFO4.js → chunk.NRJ4YBHV.js} +1 -1
- package/cdn/chunks/{chunk.7H5E2H5H.js → chunk.NTE2WKEX.js} +1 -1
- package/{dist/chunks/chunk.KNVWXOX5.js → cdn/chunks/chunk.NW34ILHB.js} +1 -1
- package/cdn/chunks/{chunk.DCDGAB72.js → chunk.OBS4R2ZB.js} +1 -1
- package/cdn/chunks/{chunk.AK66EZZ6.js → chunk.OF7JKCZK.js} +3 -3
- package/cdn/chunks/{chunk.FU5AEFPB.js → chunk.OIMIRD3Q.js} +1 -1
- package/cdn/chunks/{chunk.X5OOOBYY.js → chunk.ONGS6LCX.js} +1 -1
- package/cdn/chunks/{chunk.LTOS2OMK.js → chunk.OT2EEW3C.js} +1 -1
- package/cdn/chunks/{chunk.23QJ7NJJ.js → chunk.OXZ2NJK6.js} +3 -3
- package/cdn/chunks/{chunk.IJV5TSMJ.js → chunk.P37C4G3Z.js} +42 -32
- package/{dist/chunks/chunk.NYYMMRQF.js → cdn/chunks/chunk.PBJROARS.js} +1 -1
- package/cdn/chunks/{chunk.BYQOAATK.js → chunk.PFZZ4KER.js} +1 -1
- package/cdn/chunks/{chunk.OFICDQUP.js → chunk.PNRINPIB.js} +1 -1
- package/cdn/chunks/{chunk.MPKZLETH.js → chunk.POWACDL7.js} +2 -2
- package/cdn/chunks/{chunk.7QIFZGLU.js → chunk.PPI6B33L.js} +1 -1
- package/cdn/chunks/{chunk.RAF72V64.js → chunk.PR3CI3RE.js} +1 -1
- package/{dist/chunks/chunk.KLMDKBSQ.js → cdn/chunks/chunk.PTTQ3B3T.js} +1 -1
- package/cdn/chunks/chunk.PXAJWZBJ.js +11 -0
- package/{dist/chunks/chunk.PQSKOESY.js → cdn/chunks/chunk.PYAK77HD.js} +1 -1
- package/cdn/chunks/{chunk.W3A4O5SL.js → chunk.QAPN7F24.js} +1 -1
- package/cdn/chunks/chunk.QD5DJ6HW.js +118 -0
- package/{dist/chunks/chunk.XJFKIUZL.js → cdn/chunks/chunk.QEPSKRS3.js} +1 -1
- package/cdn/chunks/chunk.QIYOO76F.js +174 -0
- package/cdn/chunks/{chunk.MA7BRXRJ.js → chunk.QMM4LX6K.js} +3 -3
- package/cdn/chunks/{chunk.36KJB3ZP.js → chunk.QNZOTL6S.js} +6 -6
- package/{dist/chunks/chunk.E42PJXHU.js → cdn/chunks/chunk.QVAR5FGJ.js} +1 -1
- package/cdn/chunks/{chunk.2QZ36WJT.js → chunk.QYRLDNQT.js} +4 -4
- package/cdn/chunks/{chunk.DODFRSSI.js → chunk.QZK6MURJ.js} +2 -2
- package/cdn/chunks/{chunk.LSZCLNXC.js → chunk.R76VH6XE.js} +1 -1
- package/cdn/chunks/{chunk.5JUMTF32.js → chunk.RKMTJOZF.js} +1 -1
- package/{dist/chunks/chunk.KT35R72U.js → cdn/chunks/chunk.RVAWWP3C.js} +1 -1
- package/{dist/chunks/chunk.QW57S6BW.js → cdn/chunks/chunk.SCFXDGZ2.js} +1 -1
- package/cdn/chunks/{chunk.GAFXEGCL.js → chunk.SMRX5UIK.js} +4 -4
- package/cdn/chunks/{chunk.XAG7GB5I.js → chunk.SYCSG742.js} +10 -0
- package/cdn/chunks/{chunk.KKDGIKPZ.js → chunk.T7KPNPPE.js} +1 -1
- package/cdn/chunks/{chunk.ORXAOSYG.js → chunk.TGGJJZ3O.js} +1 -1
- package/cdn/chunks/{chunk.B5NOVYX6.js → chunk.THHH3PMV.js} +1 -1
- package/cdn/chunks/{chunk.4OV6VPEK.js → chunk.TP4M37EW.js} +3 -3
- package/{dist/chunks/chunk.SDC54GIC.js → cdn/chunks/chunk.U35NANA7.js} +1 -1
- package/{dist/chunks/chunk.FCSLBJKP.js → cdn/chunks/chunk.UP2FBA2V.js} +1 -1
- package/cdn/chunks/{chunk.RQTACNRD.js → chunk.URJ7QYMZ.js} +1 -1
- package/cdn/chunks/{chunk.5DTXWFT4.js → chunk.URXEUDSW.js} +3 -3
- package/cdn/chunks/{chunk.SFDCC6RP.js → chunk.UTEHAFWQ.js} +1 -1
- package/cdn/chunks/{chunk.4FOMW3EY.js → chunk.V22P56PE.js} +1 -1
- package/{dist/chunks/chunk.763YHQPW.js → cdn/chunks/chunk.V23E7BOU.js} +1 -1
- package/cdn/chunks/{chunk.XDHHJ5CI.js → chunk.V5IOVYAA.js} +1 -1
- package/cdn/chunks/{chunk.BBZR4SMX.js → chunk.V765AFZQ.js} +2 -2
- package/cdn/chunks/{chunk.5QU7YOU6.js → chunk.VAAUHT43.js} +5 -5
- package/{dist/chunks/chunk.TMGWXVEU.js → cdn/chunks/chunk.VD23LFPJ.js} +1 -1
- package/{dist/chunks/chunk.KOKMERMV.js → cdn/chunks/chunk.VJZJEQMZ.js} +1 -1
- package/cdn/chunks/{chunk.HYY2OEES.js → chunk.VMAVOPPB.js} +1 -1
- package/cdn/chunks/{chunk.3XT5BPUQ.js → chunk.VRQ5N75G.js} +1 -1
- package/cdn/chunks/{chunk.TMLGI2RQ.js → chunk.VS5ZQWAE.js} +2 -2
- package/cdn/chunks/{chunk.HRUSWDQO.js → chunk.VSJH7EBB.js} +2 -2
- package/cdn/chunks/{chunk.F4XOF4OO.js → chunk.WAUNWER6.js} +1 -1
- package/{dist/chunks/chunk.X2ZJLZBO.js → cdn/chunks/chunk.WSKZCCZF.js} +1 -1
- package/cdn/chunks/{chunk.2KRRVOTP.js → chunk.WY3KTT6P.js} +1 -1
- package/cdn/chunks/{chunk.GVVKJKG6.js → chunk.X4LXGWNS.js} +1 -1
- package/cdn/chunks/{chunk.JWIYHJZV.js → chunk.XAFW347E.js} +1 -1
- package/cdn/chunks/{chunk.FIKR7I4P.js → chunk.XGOZERMS.js} +1 -1
- package/cdn/chunks/{chunk.KVJ5VZD5.js → chunk.XVJSAIVR.js} +1 -1
- package/cdn/chunks/chunk.Y6MNSLG2.js +350 -0
- package/cdn/chunks/{chunk.VG3JLKZT.js → chunk.YEL6VP3Z.js} +2 -2
- package/cdn/chunks/{chunk.64DQ5UHZ.js → chunk.YFNA2NPF.js} +1 -1
- package/cdn/chunks/{chunk.MQCVKOGC.js → chunk.YG3DE56B.js} +1 -1
- package/cdn/chunks/{chunk.UCSRLWA2.js → chunk.YJ3RJR55.js} +1 -1
- package/cdn/chunks/{chunk.EP3EOPIN.js → chunk.YJHVVSMG.js} +1 -1
- package/cdn/chunks/{chunk.BVRVVV3H.js → chunk.YZGNU7SQ.js} +1 -1
- package/cdn/chunks/{chunk.LJXRCZI7.js → chunk.Z7T4LJYD.js} +1 -1
- package/cdn/chunks/{chunk.M5Y3CVH5.js → chunk.ZHEEBSTU.js} +1 -1
- package/cdn/chunks/{chunk.5I7XA6M5.js → chunk.ZJ3BN6B3.js} +1 -1
- package/cdn/chunks/{chunk.ACNV6AUB.js → chunk.ZQV5JXQE.js} +2 -2
- package/cdn/chunks/{chunk.L6FHFQMH.js → chunk.ZWVYQO5M.js} +1 -1
- package/cdn/components/alert/alert.component.js +8 -8
- package/cdn/components/alert/alert.js +9 -9
- package/cdn/components/animated-image/animated-image.component.js +5 -5
- package/cdn/components/animated-image/animated-image.js +6 -6
- package/cdn/components/animation/animation.component.js +2 -2
- package/cdn/components/animation/animation.js +3 -3
- package/cdn/components/avatar/avatar.component.js +5 -5
- package/cdn/components/avatar/avatar.js +6 -6
- package/cdn/components/badge/badge.component.js +2 -2
- package/cdn/components/badge/badge.js +3 -3
- package/cdn/components/breadcrumb/breadcrumb.component.js +7 -7
- package/cdn/components/breadcrumb/breadcrumb.js +8 -8
- 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 +8 -8
- package/cdn/components/button/button.js +9 -9
- package/cdn/components/button-group/button-group.component.js +2 -2
- package/cdn/components/button-group/button-group.js +3 -3
- package/cdn/components/card/card.component.js +2 -2
- package/cdn/components/card/card.js +3 -3
- package/cdn/components/carousel/carousel.component.js +7 -7
- package/cdn/components/carousel/carousel.js +8 -8
- 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 +5 -5
- package/cdn/components/checkbox/checkbox.js +6 -6
- package/cdn/components/color-picker/color-picker.component.js +14 -14
- package/cdn/components/color-picker/color-picker.js +15 -15
- package/cdn/components/combobox/combobox.component.js +13 -13
- package/cdn/components/combobox/combobox.js +14 -14
- package/cdn/components/combobox/combobox.styles.js +1 -1
- package/cdn/components/copy-button/copy-button.component.js +9 -9
- package/cdn/components/copy-button/copy-button.js +10 -10
- package/cdn/components/date-picker/date-picker.component.d.ts +190 -0
- package/cdn/components/date-picker/date-picker.component.js +36 -0
- package/cdn/components/date-picker/date-picker.d.ts +8 -0
- package/cdn/components/date-picker/date-picker.js +37 -0
- package/cdn/components/date-picker/date-picker.styles.d.ts +2 -0
- package/cdn/components/date-picker/date-picker.styles.js +8 -0
- package/cdn/components/details/details.component.js +7 -7
- package/cdn/components/details/details.js +8 -8
- package/cdn/components/dialog/dialog.component.js +9 -9
- package/cdn/components/dialog/dialog.js +10 -10
- package/cdn/components/divider/divider.component.js +2 -2
- package/cdn/components/divider/divider.js +3 -3
- package/cdn/components/drawer/drawer.component.js +8 -8
- package/cdn/components/drawer/drawer.js +9 -9
- 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 +4 -4
- package/cdn/components/format-bytes/format-bytes.js +5 -5
- package/cdn/components/format-date/format-date.component.js +4 -4
- package/cdn/components/format-date/format-date.js +5 -5
- package/cdn/components/format-number/format-number.component.js +4 -4
- package/cdn/components/format-number/format-number.js +5 -5
- package/cdn/components/icon/icon.component.js +4 -4
- package/cdn/components/icon/icon.js +5 -5
- package/cdn/components/icon/library.js +2 -2
- package/cdn/components/icon-button/icon-button.component.js +5 -5
- package/cdn/components/icon-button/icon-button.js +6 -6
- package/cdn/components/image-comparer/image-comparer.component.js +7 -7
- package/cdn/components/image-comparer/image-comparer.js +8 -8
- package/cdn/components/include/include.component.js +3 -3
- package/cdn/components/include/include.js +4 -4
- package/cdn/components/input/input.component.js +7 -7
- package/cdn/components/input/input.js +8 -8
- 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 +9 -9
- package/cdn/components/menu-item/menu-item.js +10 -10
- 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 +7 -7
- package/cdn/components/option/option.js +8 -8
- package/cdn/components/pagination/pagination.component.d.ts +49 -0
- package/cdn/components/pagination/pagination.component.js +28 -0
- package/cdn/components/pagination/pagination.d.ts +8 -0
- package/cdn/components/pagination/pagination.js +29 -0
- package/cdn/components/pagination/pagination.styles.d.ts +2 -0
- package/cdn/components/pagination/pagination.styles.js +8 -0
- package/cdn/components/popup/popup.component.js +4 -4
- package/cdn/components/popup/popup.js +5 -5
- package/cdn/components/progress-bar/progress-bar.component.js +4 -4
- package/cdn/components/progress-bar/progress-bar.js +5 -5
- package/cdn/components/progress-ring/progress-ring.component.js +4 -4
- package/cdn/components/progress-ring/progress-ring.js +5 -5
- 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 +5 -5
- package/cdn/components/radio/radio.js +6 -6
- package/cdn/components/radio-button/radio-button.component.js +2 -2
- package/cdn/components/radio-button/radio-button.js +3 -3
- package/cdn/components/radio-group/radio-group.component.js +3 -3
- package/cdn/components/radio-group/radio-group.js +4 -4
- package/cdn/components/range/range.component.js +4 -4
- package/cdn/components/range/range.js +5 -5
- package/cdn/components/rating/rating.component.js +7 -7
- package/cdn/components/rating/rating.js +8 -8
- package/cdn/components/relative-time/relative-time.component.js +4 -4
- package/cdn/components/relative-time/relative-time.js +5 -5
- 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 +10 -10
- package/cdn/components/select/select.js +11 -11
- package/cdn/components/skeleton/skeleton.component.js +2 -2
- package/cdn/components/skeleton/skeleton.js +3 -3
- package/cdn/components/spinner/spinner.component.js +4 -4
- package/cdn/components/spinner/spinner.js +5 -5
- package/cdn/components/split-panel/split-panel.component.js +4 -4
- package/cdn/components/split-panel/split-panel.js +5 -5
- package/cdn/components/switch/switch.component.js +2 -2
- package/cdn/components/switch/switch.js +3 -3
- package/cdn/components/tab/tab.component.js +8 -8
- package/cdn/components/tab/tab.js +9 -9
- package/cdn/components/tab-group/tab-group.component.js +9 -9
- package/cdn/components/tab-group/tab-group.js +10 -10
- package/cdn/components/tab-panel/tab-panel.component.js +2 -2
- package/cdn/components/tab-panel/tab-panel.js +3 -3
- package/cdn/components/tag/tag.component.js +8 -8
- package/cdn/components/tag/tag.js +9 -9
- package/cdn/components/textarea/textarea.component.js +2 -2
- package/cdn/components/textarea/textarea.js +3 -3
- package/cdn/components/time-picker/time-picker.component.d.ts +184 -0
- package/cdn/components/time-picker/time-picker.component.js +35 -0
- package/cdn/components/time-picker/time-picker.d.ts +8 -0
- package/cdn/components/time-picker/time-picker.js +36 -0
- package/cdn/components/time-picker/time-picker.styles.d.ts +2 -0
- package/cdn/components/time-picker/time-picker.styles.js +8 -0
- package/cdn/components/tooltip/tooltip.component.js +5 -5
- package/cdn/components/tooltip/tooltip.js +6 -6
- 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 +9 -9
- package/cdn/components/tree-item/tree-item.js +10 -10
- 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 +9602 -7183
- package/cdn/cw-elements.d.ts +3 -0
- package/cdn/cw-elements.js +181 -163
- package/cdn/react/alert/index.js +9 -9
- package/cdn/react/animated-image/index.js +6 -6
- package/cdn/react/animation/index.js +3 -3
- package/cdn/react/avatar/index.js +6 -6
- package/cdn/react/badge/index.js +3 -3
- package/cdn/react/breadcrumb/index.js +8 -8
- package/cdn/react/breadcrumb-item/index.js +3 -3
- package/cdn/react/button/index.js +9 -9
- package/cdn/react/button-group/index.js +3 -3
- package/cdn/react/card/index.js +3 -3
- package/cdn/react/carousel/index.js +8 -8
- package/cdn/react/carousel-item/index.js +3 -3
- package/cdn/react/checkbox/index.js +6 -6
- package/cdn/react/color-picker/index.js +15 -15
- package/cdn/react/combobox/index.js +14 -14
- package/cdn/react/copy-button/index.js +10 -10
- package/cdn/react/date-picker/index.d.ts +81 -0
- package/cdn/react/date-picker/index.js +37 -0
- package/cdn/react/details/index.js +8 -8
- package/cdn/react/dialog/index.js +10 -10
- package/cdn/react/divider/index.js +3 -3
- package/cdn/react/drawer/index.js +9 -9
- package/cdn/react/dropdown/index.js +6 -6
- package/cdn/react/format-bytes/index.js +5 -5
- package/cdn/react/format-date/index.js +5 -5
- package/cdn/react/format-number/index.js +5 -5
- package/cdn/react/icon/index.js +5 -5
- package/cdn/react/icon-button/index.js +6 -6
- package/cdn/react/image-comparer/index.js +8 -8
- package/cdn/react/include/index.js +4 -4
- package/cdn/react/index.d.ts +3 -0
- package/cdn/react/index.js +179 -161
- package/cdn/react/input/index.js +8 -8
- package/cdn/react/menu/index.js +3 -3
- package/cdn/react/menu-item/index.js +10 -10
- package/cdn/react/menu-label/index.js +3 -3
- package/cdn/react/mutation-observer/index.js +3 -3
- package/cdn/react/option/index.js +8 -8
- package/cdn/react/pagination/index.d.ts +26 -0
- package/cdn/react/pagination/index.js +29 -0
- package/cdn/react/popup/index.js +5 -5
- package/cdn/react/progress-bar/index.js +5 -5
- package/cdn/react/progress-ring/index.js +5 -5
- package/cdn/react/qr-code/index.js +3 -3
- package/cdn/react/radio/index.js +6 -6
- package/cdn/react/radio-button/index.js +3 -3
- package/cdn/react/radio-group/index.js +4 -4
- package/cdn/react/range/index.js +5 -5
- package/cdn/react/rating/index.js +8 -8
- package/cdn/react/relative-time/index.js +5 -5
- package/cdn/react/resize-observer/index.js +3 -3
- package/cdn/react/select/index.js +11 -11
- package/cdn/react/skeleton/index.js +3 -3
- package/cdn/react/spinner/index.js +5 -5
- package/cdn/react/split-panel/index.js +5 -5
- package/cdn/react/switch/index.js +3 -3
- package/cdn/react/tab/index.js +9 -9
- package/cdn/react/tab-group/index.js +10 -10
- package/cdn/react/tab-panel/index.js +3 -3
- package/cdn/react/tag/index.js +9 -9
- package/cdn/react/textarea/index.js +3 -3
- package/cdn/react/time-picker/index.d.ts +77 -0
- package/cdn/react/time-picker/index.js +36 -0
- package/cdn/react/tooltip/index.js +6 -6
- package/cdn/react/tree/index.js +11 -11
- package/cdn/react/tree-item/index.js +10 -10
- package/cdn/react/visually-hidden/index.js +3 -3
- package/cdn/translations/da.js +2 -2
- package/cdn/translations/de-ch.js +2 -2
- package/cdn/translations/de.js +2 -2
- package/cdn/translations/en-gb.js +2 -2
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/es.js +2 -2
- package/cdn/translations/fa.js +2 -2
- package/cdn/translations/fr.js +2 -2
- package/cdn/translations/he.js +2 -2
- package/cdn/translations/hu.js +2 -2
- package/cdn/translations/ja.js +2 -2
- package/cdn/translations/nb.js +2 -2
- package/cdn/translations/nl.js +2 -2
- package/cdn/translations/nn.js +2 -2
- package/cdn/translations/pl.js +2 -2
- package/cdn/translations/pt.js +2 -2
- package/cdn/translations/ru.js +2 -2
- package/cdn/translations/sv.js +2 -2
- package/cdn/translations/tr.js +2 -2
- package/cdn/translations/uk.js +2 -2
- package/cdn/translations/zh-cn.js +2 -2
- package/cdn/translations/zh-tw.js +2 -2
- package/cdn/types/vue/index.d.ts +314 -0
- package/cdn/utilities/icon-library.js +2 -2
- package/cdn/utilities/localize.d.ts +10 -0
- package/cdn/utilities/localize.js +2 -2
- package/cdn/vscode.html-custom-data.json +258 -0
- package/cdn/web-types.json +914 -181
- package/{cdn/chunks/chunk.5U7RICDJ.js → dist/chunks/chunk.2624RLWM.js} +1 -1
- package/dist/chunks/{chunk.NDCLKVTA.js → chunk.2AZWZJT4.js} +6 -6
- package/dist/chunks/{chunk.U7K3BGXK.js → chunk.2B2OZ5MJ.js} +3 -3
- package/dist/chunks/{chunk.IDPNXIPQ.js → chunk.2H4HZOD6.js} +1 -1
- package/dist/chunks/{chunk.MGGJ5IGG.js → chunk.2LZC6ENB.js} +1 -1
- package/dist/chunks/{chunk.IG74SDTK.js → chunk.2ZXCO5L3.js} +1 -1
- package/dist/chunks/{chunk.PTFZH4OX.js → chunk.322BP5PD.js} +1 -1
- package/dist/chunks/{chunk.C5WPJECI.js → chunk.35JOYYMK.js} +2 -2
- package/dist/chunks/{chunk.IFDMWT4R.js → chunk.35VPRLY7.js} +1 -1
- package/dist/chunks/{chunk.GDTFI5GT.js → chunk.3BTFJOLL.js} +3 -3
- package/{cdn/chunks/chunk.MOOLNJWA.js → dist/chunks/chunk.3CQYPW4E.js} +1 -1
- package/{cdn/chunks/chunk.EK2GM3E7.js → dist/chunks/chunk.3IKPRQDO.js} +1 -1
- package/{cdn/chunks/chunk.HNNT46J6.js → dist/chunks/chunk.3K5TZEXR.js} +1 -1
- package/dist/chunks/{chunk.2747IIKP.js → chunk.3W3N7S5T.js} +1 -1
- package/dist/chunks/{chunk.6UINBE7O.js → chunk.3XJZLMCB.js} +1 -1
- package/dist/chunks/{chunk.ARSNH6JV.js → chunk.3YSWXHWA.js} +1 -1
- package/dist/chunks/{chunk.MNDGAY37.js → chunk.3ZZDJPAZ.js} +1 -1
- package/dist/chunks/{chunk.5QQSIF7Z.js → chunk.42FZA7LG.js} +1 -1
- package/dist/chunks/{chunk.Z5GWLXE7.js → chunk.44LCU3MW.js} +2 -2
- package/{cdn/chunks/chunk.2MAEADU5.js → dist/chunks/chunk.45E4AGIQ.js} +1 -1
- package/dist/chunks/chunk.45Y6QCMK.js +837 -0
- package/dist/chunks/{chunk.LJZYTPHX.js → chunk.46JBMYFN.js} +3 -3
- package/dist/chunks/{chunk.3MWRZHJI.js → chunk.4HKCHLFM.js} +3 -3
- package/dist/chunks/{chunk.WRL4DMNY.js → chunk.4UOJS5DR.js} +1 -1
- package/dist/chunks/{chunk.EIC7L5SA.js → chunk.4WACQHUJ.js} +1 -1
- package/dist/chunks/{chunk.SZPMEWOB.js → chunk.4XBHYTWL.js} +1 -1
- package/{cdn/chunks/chunk.2QQBAJ2H.js → dist/chunks/chunk.4YIZXTAX.js} +1 -1
- package/{cdn/chunks/chunk.PEOS3WEQ.js → dist/chunks/chunk.52I6US3J.js} +1 -1
- package/{cdn/chunks/chunk.IST3R6UF.js → dist/chunks/chunk.54NXU4YH.js} +1 -1
- package/dist/chunks/chunk.5HCLCB4W.js +896 -0
- package/dist/chunks/{chunk.NDYXHETJ.js → chunk.5KUZAV2Y.js} +1 -1
- package/dist/chunks/{chunk.TKBUILRJ.js → chunk.5MF35DYW.js} +1 -1
- package/{cdn/chunks/chunk.BCYWOL5T.js → dist/chunks/chunk.5OWVI7VB.js} +1 -1
- package/dist/chunks/{chunk.RBIK3ZI2.js → chunk.5S2W6IXI.js} +1 -1
- package/dist/chunks/{chunk.M22HSCZX.js → chunk.5T2WGNLE.js} +2 -2
- package/dist/chunks/{chunk.XHFMC7NL.js → chunk.65VOW33C.js} +1 -1
- package/dist/chunks/{chunk.52M7YFL5.js → chunk.6HRTIF22.js} +5 -5
- package/{cdn/chunks/chunk.GHZHB7GZ.js → dist/chunks/chunk.6QEPS7GU.js} +1 -1
- package/dist/chunks/{chunk.QIDODUL4.js → chunk.6RXLRDPI.js} +1 -1
- package/{cdn/chunks/chunk.J3WFI2KI.js → dist/chunks/chunk.6WECD6AI.js} +1 -1
- package/dist/chunks/{chunk.LKYPNZHC.js → chunk.6X3F5ROP.js} +1 -1
- package/dist/chunks/{chunk.UXEEZOF7.js → chunk.72MGMIBN.js} +2 -2
- package/dist/chunks/{chunk.NMGHEELN.js → chunk.7AKBGAL7.js} +3 -3
- package/dist/chunks/{chunk.3G3EPS43.js → chunk.7FHYAOSV.js} +1 -1
- package/dist/chunks/{chunk.6XW7V33W.js → chunk.7I4GP6HO.js} +1 -1
- package/dist/chunks/{chunk.5UHOHCG6.js → chunk.7J4BHHRX.js} +1 -1
- package/{cdn/chunks/chunk.423POR7Z.js → dist/chunks/chunk.7WNXO6KS.js} +1 -1
- package/dist/chunks/{chunk.P6WYIVRU.js → chunk.A3G2HX2N.js} +1 -1
- package/dist/chunks/{chunk.K6UUETAU.js → chunk.A4FYW6XQ.js} +2 -2
- package/dist/chunks/chunk.A4I4YOZD.js +11 -0
- package/dist/chunks/{chunk.CBBCTNVQ.js → chunk.A7X5HU2B.js} +1 -1
- package/dist/chunks/{chunk.BGVXOK25.js → chunk.ACFMPPFY.js} +1 -1
- package/dist/chunks/{chunk.NBSCYGEO.js → chunk.AHCZRJZX.js} +1 -1
- package/dist/chunks/{chunk.CVOBAEVZ.js → chunk.AQWRKFWQ.js} +1 -1
- package/dist/chunks/{chunk.JMQ7CTGW.js → chunk.ATUH245H.js} +1 -1
- package/dist/chunks/{chunk.IEYNC5ZO.js → chunk.AVS3R3CD.js} +2 -2
- package/dist/chunks/{chunk.AR6SR2WY.js → chunk.AWE5PV4N.js} +1 -1
- package/dist/chunks/{chunk.RX7RUQZB.js → chunk.B72CUGCP.js} +1 -1
- package/dist/chunks/{chunk.RRA5SLN5.js → chunk.BRV45ASX.js} +3 -3
- package/{cdn/chunks/chunk.2M4B6U6R.js → dist/chunks/chunk.CBUCIY63.js} +1 -1
- package/dist/chunks/{chunk.S3F7MIGD.js → chunk.CD2DVGSM.js} +1 -1
- package/dist/chunks/{chunk.DGVJSWGF.js → chunk.COP2CNOI.js} +1 -1
- package/dist/chunks/{chunk.2LPGT5X7.js → chunk.CRM7P6DR.js} +1 -1
- package/dist/chunks/{chunk.DSY23EIY.js → chunk.D5E5555N.js} +1 -1
- package/dist/chunks/{chunk.MBTECJ34.js → chunk.DADZ7AU4.js} +1 -1
- package/dist/chunks/{chunk.2IO5RPED.js → chunk.DBU6HHIU.js} +2 -2
- package/dist/chunks/{chunk.V3Z2BTMH.js → chunk.DEXAGBI3.js} +1 -1
- package/{cdn/chunks/chunk.YJB5ER7V.js → dist/chunks/chunk.DTVPJQSG.js} +1 -1
- package/dist/chunks/{chunk.U23GUW3O.js → chunk.DW6UMZW6.js} +1 -1
- package/dist/chunks/{chunk.5QIUN6VE.js → chunk.E52VZDMF.js} +1 -1
- package/{cdn/chunks/chunk.DDVLQEIQ.js → dist/chunks/chunk.E6WOF5GM.js} +1 -1
- package/dist/chunks/{chunk.567JN6DK.js → chunk.EFVXMX3N.js} +1 -1
- package/dist/chunks/{chunk.CZCGIYSR.js → chunk.ELM2KTTL.js} +1 -3
- package/{cdn/chunks/chunk.63AEUNNE.js → dist/chunks/chunk.EPA23NFI.js} +1 -1
- package/dist/chunks/{chunk.7TGFFVOO.js → chunk.EROFQQVX.js} +1 -1
- package/dist/chunks/{chunk.HXFFB7NF.js → chunk.EXT4JQLR.js} +1 -1
- package/dist/chunks/chunk.EYA3B3XL.js +292 -0
- package/dist/chunks/{chunk.AVRTUBBV.js → chunk.F3UWUW33.js} +1 -1
- package/dist/chunks/{chunk.UKRLMHI6.js → chunk.FDEPR7NF.js} +1 -1
- package/dist/chunks/chunk.FLTRGITF.js +11 -0
- package/dist/chunks/{chunk.ZQVN5QDH.js → chunk.FOGOODLI.js} +1 -1
- package/dist/chunks/{chunk.XTZWIN4P.js → chunk.FSZKL46I.js} +1 -1
- package/dist/chunks/chunk.GB5ZNIFK.js +115 -0
- package/dist/chunks/{chunk.HFKJXCTI.js → chunk.GBVCKNWJ.js} +3 -3
- package/dist/chunks/{chunk.ZON7Z32S.js → chunk.GGOALJFK.js} +1 -1
- package/dist/chunks/{chunk.GULR3V5I.js → chunk.GLSMIUKJ.js} +1 -1
- package/dist/chunks/{chunk.MDNPNMFX.js → chunk.GRWRE5EI.js} +3 -3
- package/dist/chunks/chunk.HQ3ZDFJJ.js +33 -0
- package/dist/chunks/{chunk.GA7G5JW4.js → chunk.HQA7RR42.js} +3 -3
- package/{cdn/chunks/chunk.APMZOTIL.js → dist/chunks/chunk.HTHWQW5C.js} +1 -1
- package/dist/chunks/{chunk.KIDIHVHM.js → chunk.I5NTDUIV.js} +1 -1
- package/dist/chunks/chunk.IMOV5MQ7.js +11 -0
- package/dist/chunks/{chunk.LE7AQJCB.js → chunk.IN7VGCN2.js} +1 -1
- package/{cdn/chunks/chunk.BBY4XHBV.js → dist/chunks/chunk.J2YBP2NC.js} +1 -1
- package/dist/chunks/{chunk.44QRCJ3U.js → chunk.J7PCKDMA.js} +2 -2
- package/dist/chunks/{chunk.KBFG6YOY.js → chunk.JIEFUD4K.js} +4 -4
- package/dist/chunks/{chunk.RDEJ5UJC.js → chunk.JOR6E2DI.js} +1 -1
- package/dist/chunks/{chunk.C7UXSUZS.js → chunk.JWVLU32D.js} +1 -1
- package/{cdn/chunks/chunk.CXSU5TA7.js → dist/chunks/chunk.JXJQZ6BC.js} +1 -1
- package/{cdn/chunks/chunk.AVK2F7R7.js → dist/chunks/chunk.K2U6I7GF.js} +1 -1
- package/{cdn/chunks/chunk.M3T2MZBI.js → dist/chunks/chunk.K3ZDLDTN.js} +1 -1
- package/dist/chunks/{chunk.DQHJ5K4Z.js → chunk.KMO7LZN3.js} +5 -5
- package/{cdn/chunks/chunk.RLDOF26C.js → dist/chunks/chunk.L7OZPG6B.js} +1 -1
- package/{cdn/chunks/chunk.5CNMIFJF.js → dist/chunks/chunk.LAB3EJOV.js} +1 -1
- package/dist/chunks/{chunk.AI4SASOJ.js → chunk.LIFBZBKO.js} +1 -1
- package/{cdn/chunks/chunk.454DLRAB.js → dist/chunks/chunk.LROQCC6K.js} +1 -1
- package/{cdn/chunks/chunk.7CXBIEPO.js → dist/chunks/chunk.LYJVQNTV.js} +1 -1
- package/dist/chunks/{chunk.DOB2DE43.js → chunk.M65RH427.js} +1 -1
- package/dist/chunks/{chunk.P2GJ4VV3.js → chunk.MGPZ6VFC.js} +1 -1
- package/dist/chunks/{chunk.IJ6QAZGA.js → chunk.MPKHZ6FE.js} +1 -1
- package/dist/chunks/{chunk.GF2IXBUV.js → chunk.MQLQK4DD.js} +1 -1
- package/{cdn/chunks/chunk.2KRVWKPV.js → dist/chunks/chunk.MTEOZJKC.js} +1 -1
- package/dist/chunks/{chunk.VTHFNCHH.js → chunk.MUARTVYG.js} +1 -1
- package/dist/chunks/chunk.MV6BCTQ5.js +33 -0
- package/dist/chunks/{chunk.AZHMWS6L.js → chunk.MVK6NQQE.js} +2 -2
- package/dist/chunks/{chunk.BK6L7XUN.js → chunk.MYLKSGRF.js} +1 -1
- package/dist/chunks/{chunk.D24OLOG5.js → chunk.N4QKMUZ4.js} +1 -1
- package/dist/chunks/{chunk.RSQDRTVW.js → chunk.N4R7BVZN.js} +2 -2
- package/dist/chunks/{chunk.3KCAFARP.js → chunk.NALTGADL.js} +1 -1
- package/dist/chunks/{chunk.O4BM2XHQ.js → chunk.NFTRHP3Z.js} +1 -1
- package/{cdn/chunks/chunk.DG6RRSBW.js → dist/chunks/chunk.NSKS5A4M.js} +1 -1
- package/dist/chunks/{chunk.7SIWEJUF.js → chunk.O5WLECKX.js} +3 -3
- package/dist/chunks/{chunk.EBQIFLA3.js → chunk.OLONTGZ5.js} +3 -3
- package/{cdn/chunks/chunk.FA53EVHS.js → dist/chunks/chunk.OU2AZT44.js} +1 -1
- package/dist/chunks/{chunk.DM5MBJXC.js → chunk.OVQBZ4VN.js} +2 -2
- package/dist/chunks/{chunk.45UF2NV7.js → chunk.P4KUS7LP.js} +3 -3
- package/dist/chunks/{chunk.VIDPDBD4.js → chunk.PA67CQRA.js} +4 -4
- package/dist/chunks/{chunk.OMKCBDVN.js → chunk.PC6HBSGG.js} +1 -1
- package/dist/chunks/{chunk.IKWWODYQ.js → chunk.PF3JDYGU.js} +1 -1
- package/dist/chunks/{chunk.XSSQNTMJ.js → chunk.QMKKVLNQ.js} +4 -4
- package/dist/chunks/{chunk.UQJ6QVAZ.js → chunk.QQK2SIME.js} +2 -2
- package/dist/chunks/{chunk.QAT3D7DX.js → chunk.R5LBYWPF.js} +1 -1
- package/dist/chunks/{chunk.SXVQRCVR.js → chunk.RGBGPSJY.js} +10 -0
- package/dist/chunks/{chunk.SXSVZZB4.js → chunk.RGTANIXL.js} +11 -9
- package/dist/chunks/{chunk.NM6FV6GO.js → chunk.RMN5Z3HX.js} +1 -1
- package/dist/chunks/{chunk.E6532JK6.js → chunk.RSFT3XPR.js} +2 -2
- package/dist/chunks/{chunk.CVMFCNMM.js → chunk.RVYT5YC3.js} +1 -1
- package/{cdn/chunks/chunk.G4S6PHF2.js → dist/chunks/chunk.RXMILBSN.js} +1 -1
- package/dist/chunks/{chunk.HE37CRVM.js → chunk.S2GC43IK.js} +1 -1
- package/dist/chunks/{chunk.T7XLHTVV.js → chunk.S66YGY3Q.js} +1 -1
- package/{cdn/chunks/chunk.BL3LDZZ2.js → dist/chunks/chunk.S6IDRRBA.js} +1 -1
- package/dist/chunks/chunk.SGYYGJ74.js +24 -0
- package/dist/chunks/{chunk.AUK3FUDQ.js → chunk.SHWH5KAH.js} +1 -1
- package/dist/chunks/{chunk.QHO2UAQT.js → chunk.SIO7T2Y6.js} +1 -1
- package/dist/chunks/{chunk.R73XOGFN.js → chunk.SNQNN2V2.js} +1 -1
- package/dist/chunks/{chunk.YFCIPDEQ.js → chunk.SOXQ64QU.js} +1 -1
- package/{cdn/chunks/chunk.3ZFAS3AL.js → dist/chunks/chunk.SP43KMOX.js} +1 -1
- package/{cdn/chunks/chunk.QEEST3EB.js → dist/chunks/chunk.SPMTWSQB.js} +1 -1
- package/dist/chunks/{chunk.INTNI2AM.js → chunk.STF7IMR5.js} +1 -1
- package/dist/chunks/{chunk.KT4VDHOS.js → chunk.STMGOWCS.js} +1 -1
- package/dist/chunks/{chunk.QXFO3QWK.js → chunk.T7DZOP3H.js} +1 -1
- package/dist/chunks/{chunk.QGH7J6CH.js → chunk.TBMCGVRM.js} +1 -1
- package/dist/chunks/{chunk.WQHQN73Y.js → chunk.THHLYN5R.js} +1 -1
- package/{cdn/chunks/chunk.G3JTEGO6.js → dist/chunks/chunk.UL6LUHU6.js} +1 -1
- package/{cdn/chunks/chunk.ZRUOMTCM.js → dist/chunks/chunk.UMMSW5RY.js} +1 -1
- package/dist/chunks/{chunk.J7MTCPEZ.js → chunk.UQYF4O5Y.js} +2 -2
- package/dist/chunks/{chunk.WF35TQ3B.js → chunk.UUGM4MYC.js} +1 -1
- package/dist/chunks/{chunk.V53K453G.js → chunk.UUWJ5Y7W.js} +1 -1
- package/dist/chunks/{chunk.XLC63U4A.js → chunk.UUZSIOWQ.js} +2 -2
- package/dist/chunks/{chunk.F4CQKCWM.js → chunk.UVMJKTNQ.js} +3 -3
- package/dist/chunks/{chunk.QIRVGE6Z.js → chunk.VEBNFGT3.js} +1 -1
- package/dist/chunks/{chunk.L6QTSP3C.js → chunk.VP2NZUD4.js} +3 -3
- package/dist/chunks/{chunk.X5NZMCF5.js → chunk.VQUQUJBX.js} +1 -1
- package/dist/chunks/{chunk.HGYRJZEQ.js → chunk.W44BM5EI.js} +1 -1
- package/dist/chunks/{chunk.SPZTN6LU.js → chunk.WFKW3NFP.js} +1 -1
- package/dist/chunks/{chunk.PJOUZH3H.js → chunk.WFUDAXS3.js} +1 -1
- package/dist/chunks/{chunk.7433LIYL.js → chunk.WJZI3MMC.js} +1 -1
- package/dist/chunks/chunk.WKMWHEBG.js +170 -0
- package/dist/chunks/{chunk.3XXDGLXD.js → chunk.WO2KZSF2.js} +1 -1
- package/dist/chunks/{chunk.HJPFAS7Y.js → chunk.WQIL65HV.js} +1 -1
- package/dist/chunks/{chunk.NX5IE35B.js → chunk.X3TL2DKM.js} +1 -1
- package/dist/chunks/{chunk.QTH5KWYR.js → chunk.X7UEC6HW.js} +1 -1
- package/dist/chunks/{chunk.SFYH2R4X.js → chunk.XI7HZVJN.js} +1 -1
- package/dist/chunks/{chunk.VMMAAE4P.js → chunk.XXLXWXLZ.js} +5 -5
- package/dist/chunks/{chunk.U45TJLC6.js → chunk.Y2KWIFH3.js} +1 -1
- package/dist/chunks/{chunk.SMSBTM6G.js → chunk.Y6WLZGKR.js} +1 -1
- package/dist/chunks/{chunk.FFOZ5QYG.js → chunk.YAHB5UDG.js} +2 -2
- package/dist/chunks/{chunk.DESAXJQ5.js → chunk.YDWC7HQY.js} +1 -1
- package/dist/chunks/{chunk.AL65PY7V.js → chunk.YED3QE3C.js} +1 -1
- package/dist/chunks/{chunk.SJ24DYR2.js → chunk.YGY6MLAX.js} +1 -1
- package/dist/chunks/{chunk.JEUQMOE6.js → chunk.YHAXZVAW.js} +1 -1
- package/dist/chunks/{chunk.Q4YNMCNT.js → chunk.YISCALXN.js} +4 -4
- package/dist/chunks/{chunk.UR6NVETE.js → chunk.YKQNYFMU.js} +1 -1
- package/{cdn/chunks/chunk.EUJOOI64.js → dist/chunks/chunk.YN22QSH7.js} +1 -1
- package/{cdn/chunks/chunk.KZWBHZBX.js → dist/chunks/chunk.YOMSTJ3L.js} +1 -1
- package/dist/chunks/{chunk.ZR4MRID5.js → chunk.YPEYU2JG.js} +1 -1
- package/{cdn/chunks/chunk.6LD6OBAE.js → dist/chunks/chunk.YQ6FMAVG.js} +1 -1
- package/dist/chunks/chunk.YQYPY5UZ.js +347 -0
- package/dist/chunks/{chunk.PMCE6ODO.js → chunk.Z2XW2VN4.js} +1 -1
- package/dist/chunks/{chunk.GDJZZD46.js → chunk.Z3WNGMGB.js} +1 -1
- package/dist/chunks/{chunk.NQRPSUW2.js → chunk.ZCGKRWX6.js} +1 -1
- package/dist/chunks/{chunk.XISG4TGO.js → chunk.ZFRKEHAL.js} +1 -1
- package/dist/chunks/{chunk.6IFYZB4Q.js → chunk.ZIDENU6R.js} +8 -8
- package/dist/chunks/{chunk.W2VPO4VE.js → chunk.ZOBVW4QZ.js} +5 -5
- package/dist/components/alert/alert.component.js +8 -8
- package/dist/components/alert/alert.js +9 -9
- package/dist/components/animated-image/animated-image.component.js +5 -5
- package/dist/components/animated-image/animated-image.js +6 -6
- package/dist/components/animation/animation.component.js +2 -2
- package/dist/components/animation/animation.js +3 -3
- package/dist/components/avatar/avatar.component.js +5 -5
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/badge/badge.component.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
- package/dist/components/breadcrumb/breadcrumb.js +8 -8
- 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 +8 -8
- package/dist/components/button/button.js +9 -9
- package/dist/components/button-group/button-group.component.js +2 -2
- package/dist/components/button-group/button-group.js +3 -3
- package/dist/components/card/card.component.js +2 -2
- package/dist/components/card/card.js +3 -3
- package/dist/components/carousel/carousel.component.js +7 -7
- package/dist/components/carousel/carousel.js +8 -8
- 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 +5 -5
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/color-picker/color-picker.component.js +14 -14
- package/dist/components/color-picker/color-picker.js +15 -15
- package/dist/components/combobox/combobox.component.js +13 -13
- package/dist/components/combobox/combobox.js +14 -14
- package/dist/components/combobox/combobox.styles.js +1 -1
- package/dist/components/copy-button/copy-button.component.js +9 -9
- package/dist/components/copy-button/copy-button.js +10 -10
- package/dist/components/date-picker/date-picker.component.d.ts +190 -0
- package/dist/components/date-picker/date-picker.component.js +29 -0
- package/dist/components/date-picker/date-picker.d.ts +8 -0
- package/dist/components/date-picker/date-picker.js +30 -0
- package/dist/components/date-picker/date-picker.styles.d.ts +2 -0
- package/dist/components/date-picker/date-picker.styles.js +7 -0
- package/dist/components/details/details.component.js +7 -7
- package/dist/components/details/details.js +8 -8
- package/dist/components/dialog/dialog.component.js +9 -9
- package/dist/components/dialog/dialog.js +10 -10
- package/dist/components/divider/divider.component.js +2 -2
- package/dist/components/divider/divider.js +3 -3
- package/dist/components/drawer/drawer.component.js +8 -8
- package/dist/components/drawer/drawer.js +9 -9
- package/dist/components/dropdown/dropdown.component.js +5 -5
- package/dist/components/dropdown/dropdown.js +6 -6
- package/dist/components/format-bytes/format-bytes.component.js +4 -4
- package/dist/components/format-bytes/format-bytes.js +5 -5
- package/dist/components/format-date/format-date.component.js +4 -4
- package/dist/components/format-date/format-date.js +5 -5
- package/dist/components/format-number/format-number.component.js +4 -4
- package/dist/components/format-number/format-number.js +5 -5
- package/dist/components/icon/icon.component.js +4 -4
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon-button/icon-button.component.js +5 -5
- package/dist/components/icon-button/icon-button.js +6 -6
- package/dist/components/image-comparer/image-comparer.component.js +7 -7
- package/dist/components/image-comparer/image-comparer.js +8 -8
- package/dist/components/include/include.component.js +3 -3
- package/dist/components/include/include.js +4 -4
- package/dist/components/input/input.component.js +7 -7
- package/dist/components/input/input.js +8 -8
- 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 +9 -9
- package/dist/components/menu-item/menu-item.js +10 -10
- 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 +7 -7
- package/dist/components/option/option.js +8 -8
- package/dist/components/pagination/pagination.component.d.ts +49 -0
- package/dist/components/pagination/pagination.component.js +21 -0
- package/dist/components/pagination/pagination.d.ts +8 -0
- package/dist/components/pagination/pagination.js +22 -0
- package/dist/components/pagination/pagination.styles.d.ts +2 -0
- package/dist/components/pagination/pagination.styles.js +7 -0
- package/dist/components/popup/popup.component.js +4 -4
- package/dist/components/popup/popup.js +5 -5
- package/dist/components/progress-bar/progress-bar.component.js +4 -4
- package/dist/components/progress-bar/progress-bar.js +5 -5
- package/dist/components/progress-ring/progress-ring.component.js +4 -4
- package/dist/components/progress-ring/progress-ring.js +5 -5
- 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 +5 -5
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio-button/radio-button.component.js +2 -2
- package/dist/components/radio-button/radio-button.js +3 -3
- package/dist/components/radio-group/radio-group.component.js +3 -3
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.component.js +4 -4
- package/dist/components/range/range.js +5 -5
- package/dist/components/rating/rating.component.js +7 -7
- package/dist/components/rating/rating.js +8 -8
- package/dist/components/relative-time/relative-time.component.js +4 -4
- package/dist/components/relative-time/relative-time.js +5 -5
- 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 +10 -10
- package/dist/components/select/select.js +11 -11
- package/dist/components/skeleton/skeleton.component.js +2 -2
- package/dist/components/skeleton/skeleton.js +3 -3
- package/dist/components/spinner/spinner.component.js +4 -4
- package/dist/components/spinner/spinner.js +5 -5
- package/dist/components/split-panel/split-panel.component.js +4 -4
- package/dist/components/split-panel/split-panel.js +5 -5
- package/dist/components/switch/switch.component.js +2 -2
- package/dist/components/switch/switch.js +3 -3
- package/dist/components/tab/tab.component.js +8 -8
- package/dist/components/tab/tab.js +9 -9
- package/dist/components/tab-group/tab-group.component.js +9 -9
- package/dist/components/tab-group/tab-group.js +10 -10
- package/dist/components/tab-panel/tab-panel.component.js +2 -2
- package/dist/components/tab-panel/tab-panel.js +3 -3
- package/dist/components/tag/tag.component.js +8 -8
- package/dist/components/tag/tag.js +9 -9
- package/dist/components/textarea/textarea.component.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/time-picker/time-picker.component.d.ts +184 -0
- package/dist/components/time-picker/time-picker.component.js +30 -0
- package/dist/components/time-picker/time-picker.d.ts +8 -0
- package/dist/components/time-picker/time-picker.js +31 -0
- package/dist/components/time-picker/time-picker.styles.d.ts +2 -0
- package/dist/components/time-picker/time-picker.styles.js +7 -0
- package/dist/components/tooltip/tooltip.component.js +5 -5
- package/dist/components/tooltip/tooltip.js +6 -6
- package/dist/components/tree/tree.component.js +10 -10
- package/dist/components/tree/tree.js +11 -11
- package/dist/components/tree-item/tree-item.component.js +9 -9
- package/dist/components/tree-item/tree-item.js +10 -10
- 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 +9602 -7183
- package/dist/cw-elements.d.ts +3 -0
- package/dist/cw-elements.js +181 -163
- package/dist/react/alert/index.js +9 -9
- package/dist/react/animated-image/index.js +6 -6
- package/dist/react/animation/index.js +3 -3
- package/dist/react/avatar/index.js +6 -6
- package/dist/react/badge/index.js +3 -3
- package/dist/react/breadcrumb/index.js +8 -8
- package/dist/react/breadcrumb-item/index.js +3 -3
- package/dist/react/button/index.js +9 -9
- package/dist/react/button-group/index.js +3 -3
- package/dist/react/card/index.js +3 -3
- package/dist/react/carousel/index.js +8 -8
- package/dist/react/carousel-item/index.js +3 -3
- package/dist/react/checkbox/index.js +6 -6
- package/dist/react/color-picker/index.js +15 -15
- package/dist/react/combobox/index.js +14 -14
- package/dist/react/copy-button/index.js +10 -10
- package/dist/react/date-picker/index.d.ts +81 -0
- package/dist/react/date-picker/index.js +30 -0
- package/dist/react/details/index.js +8 -8
- package/dist/react/dialog/index.js +10 -10
- package/dist/react/divider/index.js +3 -3
- package/dist/react/drawer/index.js +9 -9
- package/dist/react/dropdown/index.js +6 -6
- package/dist/react/format-bytes/index.js +5 -5
- package/dist/react/format-date/index.js +5 -5
- package/dist/react/format-number/index.js +5 -5
- package/dist/react/icon/index.js +5 -5
- package/dist/react/icon-button/index.js +6 -6
- package/dist/react/image-comparer/index.js +8 -8
- package/dist/react/include/index.js +4 -4
- package/dist/react/index.d.ts +3 -0
- package/dist/react/index.js +179 -161
- package/dist/react/input/index.js +8 -8
- package/dist/react/menu/index.js +3 -3
- package/dist/react/menu-item/index.js +10 -10
- package/dist/react/menu-label/index.js +3 -3
- package/dist/react/mutation-observer/index.js +3 -3
- package/dist/react/option/index.js +8 -8
- package/dist/react/pagination/index.d.ts +26 -0
- package/dist/react/pagination/index.js +22 -0
- package/dist/react/popup/index.js +5 -5
- package/dist/react/progress-bar/index.js +5 -5
- package/dist/react/progress-ring/index.js +5 -5
- package/dist/react/qr-code/index.js +3 -3
- package/dist/react/radio/index.js +6 -6
- package/dist/react/radio-button/index.js +3 -3
- package/dist/react/radio-group/index.js +4 -4
- package/dist/react/range/index.js +5 -5
- package/dist/react/rating/index.js +8 -8
- package/dist/react/relative-time/index.js +5 -5
- package/dist/react/resize-observer/index.js +3 -3
- package/dist/react/select/index.js +11 -11
- package/dist/react/skeleton/index.js +3 -3
- package/dist/react/spinner/index.js +5 -5
- package/dist/react/split-panel/index.js +5 -5
- package/dist/react/switch/index.js +3 -3
- package/dist/react/tab/index.js +9 -9
- package/dist/react/tab-group/index.js +10 -10
- package/dist/react/tab-panel/index.js +3 -3
- package/dist/react/tag/index.js +9 -9
- package/dist/react/textarea/index.js +3 -3
- package/dist/react/time-picker/index.d.ts +77 -0
- package/dist/react/time-picker/index.js +31 -0
- package/dist/react/tooltip/index.js +6 -6
- package/dist/react/tree/index.js +11 -11
- package/dist/react/tree-item/index.js +10 -10
- package/dist/react/visually-hidden/index.js +3 -3
- package/dist/translations/da.js +2 -2
- package/dist/translations/de-ch.js +3 -3
- package/dist/translations/de.js +3 -3
- package/dist/translations/en-gb.js +2 -2
- package/dist/translations/en.js +1 -1
- package/dist/translations/es.js +2 -2
- package/dist/translations/fa.js +2 -2
- package/dist/translations/fr.js +2 -2
- package/dist/translations/he.js +2 -2
- package/dist/translations/hu.js +2 -2
- package/dist/translations/ja.js +2 -2
- package/dist/translations/nb.js +2 -2
- package/dist/translations/nl.js +2 -2
- package/dist/translations/nn.js +2 -2
- package/dist/translations/pl.js +2 -2
- package/dist/translations/pt.js +2 -2
- package/dist/translations/ru.js +2 -2
- package/dist/translations/sv.js +2 -2
- package/dist/translations/tr.js +2 -2
- package/dist/translations/uk.js +2 -2
- package/dist/translations/zh-cn.js +2 -2
- package/dist/translations/zh-tw.js +2 -2
- package/dist/types/vue/index.d.ts +314 -0
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +10 -0
- package/dist/utilities/localize.js +2 -2
- package/dist/vscode.html-custom-data.json +258 -0
- package/dist/web-types.json +914 -181
- package/package.json +1 -1
- package/{dist/chunks/chunk.C4QY7KGQ.js → cdn/chunks/chunk.OOAK7TAG.js} +3 -3
- package/{cdn/chunks/chunk.C4QY7KGQ.js → dist/chunks/chunk.OOAK7TAG.js} +3 -3
|
@@ -0,0 +1,844 @@
|
|
|
1
|
+
import {
|
|
2
|
+
time_picker_styles_default
|
|
3
|
+
} from "./chunk.EZ4P5QWF.js";
|
|
4
|
+
import {
|
|
5
|
+
CwOption
|
|
6
|
+
} from "./chunk.N2BHNSBD.js";
|
|
7
|
+
import {
|
|
8
|
+
scrollIntoView
|
|
9
|
+
} from "./chunk.PH2N3MLE.js";
|
|
10
|
+
import {
|
|
11
|
+
CwPopup
|
|
12
|
+
} from "./chunk.V765AFZQ.js";
|
|
13
|
+
import {
|
|
14
|
+
form_control_styles_default
|
|
15
|
+
} from "./chunk.DJVND463.js";
|
|
16
|
+
import {
|
|
17
|
+
FormControlController
|
|
18
|
+
} from "./chunk.FIVNGT4O.js";
|
|
19
|
+
import {
|
|
20
|
+
getAnimation,
|
|
21
|
+
setDefaultAnimation
|
|
22
|
+
} from "./chunk.JSLXCIMZ.js";
|
|
23
|
+
import {
|
|
24
|
+
waitForEvent
|
|
25
|
+
} from "./chunk.B4BZKR24.js";
|
|
26
|
+
import {
|
|
27
|
+
animateTo,
|
|
28
|
+
stopAnimations
|
|
29
|
+
} from "./chunk.3CTNMS55.js";
|
|
30
|
+
import {
|
|
31
|
+
LocalizeController
|
|
32
|
+
} from "./chunk.3ITR3YMH.js";
|
|
33
|
+
import {
|
|
34
|
+
HasSlotController
|
|
35
|
+
} from "./chunk.BVGZUUCX.js";
|
|
36
|
+
import {
|
|
37
|
+
e
|
|
38
|
+
} from "./chunk.VBR4VS53.js";
|
|
39
|
+
import {
|
|
40
|
+
CwIcon
|
|
41
|
+
} from "./chunk.VAAUHT43.js";
|
|
42
|
+
import {
|
|
43
|
+
watch
|
|
44
|
+
} from "./chunk.RB5L7E7Z.js";
|
|
45
|
+
import {
|
|
46
|
+
component_styles_default
|
|
47
|
+
} from "./chunk.NJIHXHXI.js";
|
|
48
|
+
import {
|
|
49
|
+
CwElement,
|
|
50
|
+
e as e2,
|
|
51
|
+
n,
|
|
52
|
+
r,
|
|
53
|
+
r2
|
|
54
|
+
} from "./chunk.P37C4G3Z.js";
|
|
55
|
+
import {
|
|
56
|
+
b
|
|
57
|
+
} from "./chunk.6A2LG33L.js";
|
|
58
|
+
import {
|
|
59
|
+
__decorateClass
|
|
60
|
+
} from "./chunk.QIOX6AG5.js";
|
|
61
|
+
|
|
62
|
+
// src/components/time-picker/time-picker.component.ts
|
|
63
|
+
var pad = (value) => String(value).padStart(2, "0");
|
|
64
|
+
var range = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => start + i);
|
|
65
|
+
function parseTimeValue(value) {
|
|
66
|
+
const match = /^([0-9]{1,2})(?::([0-9]{1,2}))?(?::([0-9]{1,2}))?$/.exec(value.trim());
|
|
67
|
+
if (!match) {
|
|
68
|
+
return void 0;
|
|
69
|
+
}
|
|
70
|
+
const hour = Number(match[1]);
|
|
71
|
+
const minute = match[2] !== void 0 ? Number(match[2]) : 0;
|
|
72
|
+
const second = match[3] !== void 0 ? Number(match[3]) : 0;
|
|
73
|
+
if (hour > 23 || minute > 59 || second > 59) {
|
|
74
|
+
return void 0;
|
|
75
|
+
}
|
|
76
|
+
return { hour, minute, second };
|
|
77
|
+
}
|
|
78
|
+
function formatTimeValue(parts, granularity) {
|
|
79
|
+
if (granularity === "hour") {
|
|
80
|
+
return pad(parts.hour);
|
|
81
|
+
}
|
|
82
|
+
if (granularity === "second") {
|
|
83
|
+
return `${pad(parts.hour)}:${pad(parts.minute)}:${pad(parts.second)}`;
|
|
84
|
+
}
|
|
85
|
+
return `${pad(parts.hour)}:${pad(parts.minute)}`;
|
|
86
|
+
}
|
|
87
|
+
var CwTimePicker = class extends CwElement {
|
|
88
|
+
constructor() {
|
|
89
|
+
super(...arguments);
|
|
90
|
+
this.formControlController = new FormControlController(this, {
|
|
91
|
+
assumeInteractionOn: ["cw-blur", "cw-input"]
|
|
92
|
+
});
|
|
93
|
+
this.hasSlotController = new HasSlotController(this, "help-text", "label");
|
|
94
|
+
this.localize = new LocalizeController(this);
|
|
95
|
+
this.hasFocus = false;
|
|
96
|
+
this.activeColumn = "hour";
|
|
97
|
+
this.valueHasChanged = false;
|
|
98
|
+
this.name = "";
|
|
99
|
+
this._value = "";
|
|
100
|
+
this.defaultValue = "";
|
|
101
|
+
this.granularity = "minute";
|
|
102
|
+
this.hourFormat = "auto";
|
|
103
|
+
this.size = "medium";
|
|
104
|
+
this.placeholder = "";
|
|
105
|
+
this.disabled = false;
|
|
106
|
+
this.clearable = false;
|
|
107
|
+
this.open = false;
|
|
108
|
+
this.hoist = false;
|
|
109
|
+
this.filled = false;
|
|
110
|
+
this.pill = false;
|
|
111
|
+
this.label = "";
|
|
112
|
+
this.placement = "bottom";
|
|
113
|
+
this.helpText = "";
|
|
114
|
+
this.form = "";
|
|
115
|
+
this.required = false;
|
|
116
|
+
this.handleDocumentFocusIn = (event) => {
|
|
117
|
+
const path = event.composedPath();
|
|
118
|
+
if (this && !path.includes(this)) {
|
|
119
|
+
this.hide();
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
this.handleDocumentMouseDown = (event) => {
|
|
123
|
+
const path = event.composedPath();
|
|
124
|
+
if (this && !path.includes(this)) {
|
|
125
|
+
this.hide();
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
this.handleDocumentKeyDown = (event) => {
|
|
129
|
+
var _a;
|
|
130
|
+
const target = event.target;
|
|
131
|
+
const isClearButton = target.closest(".time-picker__clear") !== null;
|
|
132
|
+
if (isClearButton) {
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
if (event.key === "Escape" && this.open && !this.closeWatcher) {
|
|
136
|
+
event.preventDefault();
|
|
137
|
+
event.stopPropagation();
|
|
138
|
+
this.hide();
|
|
139
|
+
this.displayInput.focus({ preventScroll: true });
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
143
|
+
event.preventDefault();
|
|
144
|
+
if (!this.open) {
|
|
145
|
+
this.show();
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
this.hide();
|
|
149
|
+
this.displayInput.focus({ preventScroll: true });
|
|
150
|
+
return;
|
|
151
|
+
}
|
|
152
|
+
if (["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Home", "End"].includes(event.key)) {
|
|
153
|
+
event.preventDefault();
|
|
154
|
+
if (!this.open) {
|
|
155
|
+
this.show();
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
const columns = this.getColumns();
|
|
159
|
+
const columnIndex = Math.max(
|
|
160
|
+
0,
|
|
161
|
+
columns.findIndex((column2) => column2.name === this.activeColumn)
|
|
162
|
+
);
|
|
163
|
+
if (event.key === "ArrowLeft" || event.key === "ArrowRight") {
|
|
164
|
+
const delta = event.key === "ArrowRight" ? 1 : -1;
|
|
165
|
+
this.activeColumn = columns[(columnIndex + delta + columns.length) % columns.length].name;
|
|
166
|
+
this.updateComplete.then(() => this.scrollActiveOptionsIntoView());
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
const column = columns[columnIndex];
|
|
170
|
+
const parts = (_a = this.parsedValue) != null ? _a : { hour: 0, minute: 0, second: 0 };
|
|
171
|
+
const currentValue = this.getColumnValue(column.name, parts);
|
|
172
|
+
let newValue;
|
|
173
|
+
if (event.key === "Home") {
|
|
174
|
+
newValue = column.values[0];
|
|
175
|
+
} else if (event.key === "End") {
|
|
176
|
+
newValue = column.values[column.values.length - 1];
|
|
177
|
+
} else {
|
|
178
|
+
const currentIndex = column.values.indexOf(currentValue);
|
|
179
|
+
const delta = event.key === "ArrowDown" ? 1 : -1;
|
|
180
|
+
newValue = column.values[(currentIndex + delta + column.values.length) % column.values.length];
|
|
181
|
+
}
|
|
182
|
+
this.applyColumnValue(column.name, newValue);
|
|
183
|
+
this.updateComplete.then(() => this.scrollActiveOptionsIntoView());
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
get value() {
|
|
188
|
+
return this._value;
|
|
189
|
+
}
|
|
190
|
+
set value(val) {
|
|
191
|
+
if (this._value === val) {
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
this.valueHasChanged = true;
|
|
195
|
+
this._value = val;
|
|
196
|
+
}
|
|
197
|
+
/** Gets the validity state object */
|
|
198
|
+
get validity() {
|
|
199
|
+
return this.valueInput.validity;
|
|
200
|
+
}
|
|
201
|
+
/** Gets the validation message */
|
|
202
|
+
get validationMessage() {
|
|
203
|
+
return this.valueInput.validationMessage;
|
|
204
|
+
}
|
|
205
|
+
// The current value parsed into hour/minute/second parts, or `undefined` if the value is empty/invalid
|
|
206
|
+
get parsedValue() {
|
|
207
|
+
return parseTimeValue(this.value);
|
|
208
|
+
}
|
|
209
|
+
connectedCallback() {
|
|
210
|
+
super.connectedCallback();
|
|
211
|
+
this.open = false;
|
|
212
|
+
}
|
|
213
|
+
addOpenListeners() {
|
|
214
|
+
var _a;
|
|
215
|
+
document.addEventListener("focusin", this.handleDocumentFocusIn);
|
|
216
|
+
document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
217
|
+
document.addEventListener("mousedown", this.handleDocumentMouseDown);
|
|
218
|
+
if (this.getRootNode() !== document) {
|
|
219
|
+
this.getRootNode().addEventListener("focusin", this.handleDocumentFocusIn);
|
|
220
|
+
}
|
|
221
|
+
if ("CloseWatcher" in window) {
|
|
222
|
+
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
223
|
+
this.closeWatcher = new CloseWatcher();
|
|
224
|
+
this.closeWatcher.onclose = () => {
|
|
225
|
+
if (this.open) {
|
|
226
|
+
this.hide();
|
|
227
|
+
this.displayInput.focus({ preventScroll: true });
|
|
228
|
+
}
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
removeOpenListeners() {
|
|
233
|
+
var _a;
|
|
234
|
+
document.removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
235
|
+
document.removeEventListener("keydown", this.handleDocumentKeyDown);
|
|
236
|
+
document.removeEventListener("mousedown", this.handleDocumentMouseDown);
|
|
237
|
+
if (this.getRootNode() !== document) {
|
|
238
|
+
this.getRootNode().removeEventListener("focusin", this.handleDocumentFocusIn);
|
|
239
|
+
}
|
|
240
|
+
(_a = this.closeWatcher) == null ? void 0 : _a.destroy();
|
|
241
|
+
}
|
|
242
|
+
handleFocus() {
|
|
243
|
+
this.hasFocus = true;
|
|
244
|
+
this.emit("cw-focus");
|
|
245
|
+
}
|
|
246
|
+
handleBlur() {
|
|
247
|
+
this.hasFocus = false;
|
|
248
|
+
this.emit("cw-blur");
|
|
249
|
+
}
|
|
250
|
+
handleLabelClick() {
|
|
251
|
+
this.displayInput.focus();
|
|
252
|
+
}
|
|
253
|
+
handleComboboxMouseDown(event) {
|
|
254
|
+
const path = event.composedPath();
|
|
255
|
+
const isIconButton = path.some((el) => el instanceof Element && el.tagName.toLowerCase() === "cw-icon-button");
|
|
256
|
+
if (this.disabled || isIconButton) {
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
event.preventDefault();
|
|
260
|
+
this.displayInput.focus({ preventScroll: true });
|
|
261
|
+
this.open = !this.open;
|
|
262
|
+
}
|
|
263
|
+
handleComboboxKeyDown(event) {
|
|
264
|
+
if (event.key === "Tab") {
|
|
265
|
+
return;
|
|
266
|
+
}
|
|
267
|
+
event.stopPropagation();
|
|
268
|
+
this.handleDocumentKeyDown(event);
|
|
269
|
+
}
|
|
270
|
+
handleClearClick(event) {
|
|
271
|
+
event.stopPropagation();
|
|
272
|
+
if (this.value !== "") {
|
|
273
|
+
this.setTimeValue(void 0);
|
|
274
|
+
this.displayInput.focus({ preventScroll: true });
|
|
275
|
+
this.updateComplete.then(() => {
|
|
276
|
+
this.emit("cw-clear");
|
|
277
|
+
this.emit("cw-input");
|
|
278
|
+
this.emit("cw-change");
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
handleClearMouseDown(event) {
|
|
283
|
+
event.stopPropagation();
|
|
284
|
+
event.preventDefault();
|
|
285
|
+
}
|
|
286
|
+
handleListboxMouseDown(event) {
|
|
287
|
+
event.preventDefault();
|
|
288
|
+
}
|
|
289
|
+
handleOptionClick(event) {
|
|
290
|
+
const target = event.target;
|
|
291
|
+
const option = target.closest("cw-option");
|
|
292
|
+
const columnEl = target.closest("[data-column]");
|
|
293
|
+
if (!option || option.disabled || !columnEl || this.disabled) {
|
|
294
|
+
return;
|
|
295
|
+
}
|
|
296
|
+
this.activeColumn = columnEl.dataset.column;
|
|
297
|
+
this.applyColumnValue(this.activeColumn, Number(option.value));
|
|
298
|
+
this.displayInput.focus({ preventScroll: true });
|
|
299
|
+
}
|
|
300
|
+
handleInvalid(event) {
|
|
301
|
+
this.formControlController.setValidity(false);
|
|
302
|
+
this.formControlController.emitInvalidEvent(event);
|
|
303
|
+
}
|
|
304
|
+
// Determines the hour cycle to use based on `hourFormat`, falling back to the page's locale
|
|
305
|
+
getHourCycle() {
|
|
306
|
+
var _a;
|
|
307
|
+
if (this.hourFormat === "12") {
|
|
308
|
+
return "h12";
|
|
309
|
+
}
|
|
310
|
+
if (this.hourFormat === "24") {
|
|
311
|
+
return "h23";
|
|
312
|
+
}
|
|
313
|
+
const resolvedOptions = new Intl.DateTimeFormat(this.localize.lang(), {
|
|
314
|
+
hour: "numeric"
|
|
315
|
+
}).resolvedOptions();
|
|
316
|
+
return (_a = resolvedOptions.hourCycle) != null ? _a : "h23";
|
|
317
|
+
}
|
|
318
|
+
is12Hour() {
|
|
319
|
+
const hourCycle = this.getHourCycle();
|
|
320
|
+
return hourCycle === "h11" || hourCycle === "h12";
|
|
321
|
+
}
|
|
322
|
+
// Returns the localized label for the AM (0) or PM (1) period
|
|
323
|
+
getPeriodLabel(period) {
|
|
324
|
+
var _a, _b;
|
|
325
|
+
const date = new Date(1970, 0, 1, period === 1 ? 13 : 1);
|
|
326
|
+
const parts = new Intl.DateTimeFormat(this.localize.lang(), { hour: "numeric", hourCycle: "h12" }).formatToParts(
|
|
327
|
+
date
|
|
328
|
+
);
|
|
329
|
+
return (_b = (_a = parts.find((part) => part.type === "dayPeriod")) == null ? void 0 : _a.value) != null ? _b : period === 1 ? "PM" : "AM";
|
|
330
|
+
}
|
|
331
|
+
// Builds the list of columns to render based on `granularity` and the resolved hour format
|
|
332
|
+
getColumns() {
|
|
333
|
+
const columns = [
|
|
334
|
+
{ name: "hour", values: this.is12Hour() ? range(1, 12) : range(0, 23) }
|
|
335
|
+
];
|
|
336
|
+
if (this.granularity !== "hour") {
|
|
337
|
+
columns.push({ name: "minute", values: range(0, 59) });
|
|
338
|
+
}
|
|
339
|
+
if (this.granularity === "second") {
|
|
340
|
+
columns.push({ name: "second", values: range(0, 59) });
|
|
341
|
+
}
|
|
342
|
+
if (this.is12Hour()) {
|
|
343
|
+
columns.push({ name: "meridiem", values: [0, 1] });
|
|
344
|
+
}
|
|
345
|
+
return columns;
|
|
346
|
+
}
|
|
347
|
+
// Gets the value currently displayed in the given column for the provided time parts
|
|
348
|
+
getColumnValue(name, parts) {
|
|
349
|
+
switch (name) {
|
|
350
|
+
case "hour":
|
|
351
|
+
if (this.is12Hour()) {
|
|
352
|
+
const displayHour = parts.hour % 12;
|
|
353
|
+
return displayHour === 0 ? 12 : displayHour;
|
|
354
|
+
}
|
|
355
|
+
return parts.hour;
|
|
356
|
+
case "minute":
|
|
357
|
+
return parts.minute;
|
|
358
|
+
case "second":
|
|
359
|
+
return parts.second;
|
|
360
|
+
case "meridiem":
|
|
361
|
+
return parts.hour >= 12 ? 1 : 0;
|
|
362
|
+
default:
|
|
363
|
+
return 0;
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
// Applies a newly selected column value to the time picker's value
|
|
367
|
+
applyColumnValue(name, value) {
|
|
368
|
+
var _a;
|
|
369
|
+
const oldValue = this.value;
|
|
370
|
+
const parts = (_a = this.parsedValue) != null ? _a : { hour: 0, minute: 0, second: 0 };
|
|
371
|
+
switch (name) {
|
|
372
|
+
case "hour":
|
|
373
|
+
if (this.is12Hour()) {
|
|
374
|
+
parts.hour = value % 12 + (parts.hour >= 12 ? 12 : 0);
|
|
375
|
+
} else {
|
|
376
|
+
parts.hour = value;
|
|
377
|
+
}
|
|
378
|
+
break;
|
|
379
|
+
case "minute":
|
|
380
|
+
parts.minute = value;
|
|
381
|
+
break;
|
|
382
|
+
case "second":
|
|
383
|
+
parts.second = value;
|
|
384
|
+
break;
|
|
385
|
+
case "meridiem": {
|
|
386
|
+
const displayHour = parts.hour % 12;
|
|
387
|
+
parts.hour = displayHour + (value === 1 ? 12 : 0);
|
|
388
|
+
break;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
this.setTimeValue(parts);
|
|
392
|
+
if (this.value !== oldValue) {
|
|
393
|
+
this.updateComplete.then(() => {
|
|
394
|
+
this.emit("cw-input");
|
|
395
|
+
this.emit("cw-change");
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
setTimeValue(parts) {
|
|
400
|
+
this.valueHasChanged = true;
|
|
401
|
+
this.value = parts ? formatTimeValue(parts, this.granularity) : "";
|
|
402
|
+
}
|
|
403
|
+
// Scrolls the selected (or default) option of each column into view
|
|
404
|
+
scrollActiveOptionsIntoView() {
|
|
405
|
+
const parts = this.parsedValue;
|
|
406
|
+
this.columnElements.forEach((columnEl) => {
|
|
407
|
+
var _a;
|
|
408
|
+
const columnName = columnEl.dataset.column;
|
|
409
|
+
const value = parts ? this.getColumnValue(columnName, parts) : (_a = this.getColumns().find((column) => column.name === columnName)) == null ? void 0 : _a.values[0];
|
|
410
|
+
const option = [...columnEl.querySelectorAll("cw-option")].find((el) => Number(el.value) === value);
|
|
411
|
+
if (option) {
|
|
412
|
+
scrollIntoView(option, columnEl, "vertical", "auto");
|
|
413
|
+
}
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
// Formats the current value for display in the input
|
|
417
|
+
get displayLabel() {
|
|
418
|
+
const parts = this.parsedValue;
|
|
419
|
+
if (!parts) {
|
|
420
|
+
return "";
|
|
421
|
+
}
|
|
422
|
+
const date = new Date(1970, 0, 1, parts.hour, parts.minute, parts.second);
|
|
423
|
+
const options = { hour: "numeric" };
|
|
424
|
+
if (this.granularity !== "hour") {
|
|
425
|
+
options.minute = "2-digit";
|
|
426
|
+
}
|
|
427
|
+
if (this.granularity === "second") {
|
|
428
|
+
options.second = "2-digit";
|
|
429
|
+
}
|
|
430
|
+
if (this.hourFormat !== "auto") {
|
|
431
|
+
options.hourCycle = this.hourFormat === "12" ? "h12" : "h23";
|
|
432
|
+
}
|
|
433
|
+
return new Intl.DateTimeFormat(this.localize.lang(), options).format(date);
|
|
434
|
+
}
|
|
435
|
+
// Returns the localized aria-label for a column
|
|
436
|
+
getColumnLabel(name) {
|
|
437
|
+
switch (name) {
|
|
438
|
+
case "hour":
|
|
439
|
+
return this.localize.term("hour");
|
|
440
|
+
case "minute":
|
|
441
|
+
return this.localize.term("minute");
|
|
442
|
+
case "second":
|
|
443
|
+
return this.localize.term("second");
|
|
444
|
+
case "meridiem":
|
|
445
|
+
return this.localize.term("meridiem");
|
|
446
|
+
default:
|
|
447
|
+
return "";
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
// Returns the label shown for a given value within a column
|
|
451
|
+
getColumnOptionLabel(name, value) {
|
|
452
|
+
if (name === "meridiem") {
|
|
453
|
+
return this.getPeriodLabel(value);
|
|
454
|
+
}
|
|
455
|
+
if (name === "hour" && this.is12Hour()) {
|
|
456
|
+
return String(value);
|
|
457
|
+
}
|
|
458
|
+
return pad(value);
|
|
459
|
+
}
|
|
460
|
+
renderColumn(column) {
|
|
461
|
+
const parts = this.parsedValue;
|
|
462
|
+
const selectedValue = parts ? this.getColumnValue(column.name, parts) : void 0;
|
|
463
|
+
return b`
|
|
464
|
+
<div
|
|
465
|
+
part="column"
|
|
466
|
+
class="time-picker__column"
|
|
467
|
+
role="listbox"
|
|
468
|
+
aria-label=${this.getColumnLabel(column.name)}
|
|
469
|
+
data-column=${column.name}
|
|
470
|
+
>
|
|
471
|
+
${column.values.map((value, index) => {
|
|
472
|
+
const isSelected = selectedValue === value;
|
|
473
|
+
const isFocusable = selectedValue !== void 0 ? isSelected : index === 0;
|
|
474
|
+
return b`
|
|
475
|
+
<cw-option
|
|
476
|
+
part="option"
|
|
477
|
+
exportparts="base:option__base, label:option__label"
|
|
478
|
+
.value=${String(value)}
|
|
479
|
+
.selected=${isSelected}
|
|
480
|
+
.current=${isSelected && this.activeColumn === column.name}
|
|
481
|
+
tabindex=${isFocusable ? 0 : -1}
|
|
482
|
+
>
|
|
483
|
+
${this.getColumnOptionLabel(column.name, value)}
|
|
484
|
+
</cw-option>
|
|
485
|
+
`;
|
|
486
|
+
})}
|
|
487
|
+
</div>
|
|
488
|
+
`;
|
|
489
|
+
}
|
|
490
|
+
handleDisabledChange() {
|
|
491
|
+
if (this.disabled) {
|
|
492
|
+
this.open = false;
|
|
493
|
+
this.handleOpenChange();
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
attributeChangedCallback(name, oldVal, newVal) {
|
|
497
|
+
super.attributeChangedCallback(name, oldVal, newVal);
|
|
498
|
+
if (name === "value") {
|
|
499
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
500
|
+
this.value = this.defaultValue;
|
|
501
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
handleValueChange() {
|
|
505
|
+
if (!this.valueHasChanged) {
|
|
506
|
+
const cachedValueHasChanged = this.valueHasChanged;
|
|
507
|
+
this.value = this.defaultValue;
|
|
508
|
+
this.valueHasChanged = cachedValueHasChanged;
|
|
509
|
+
}
|
|
510
|
+
this.updateComplete.then(() => this.formControlController.updateValidity());
|
|
511
|
+
}
|
|
512
|
+
handleGranularityOrHourFormatChange() {
|
|
513
|
+
const columns = this.getColumns();
|
|
514
|
+
if (!columns.some((column) => column.name === this.activeColumn)) {
|
|
515
|
+
this.activeColumn = "hour";
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
async handleOpenChange() {
|
|
519
|
+
if (this.open && !this.disabled) {
|
|
520
|
+
this.emit("cw-show");
|
|
521
|
+
this.addOpenListeners();
|
|
522
|
+
await stopAnimations(this);
|
|
523
|
+
this.listbox.hidden = false;
|
|
524
|
+
this.popup.active = true;
|
|
525
|
+
requestAnimationFrame(() => {
|
|
526
|
+
this.scrollActiveOptionsIntoView();
|
|
527
|
+
});
|
|
528
|
+
const { keyframes, options } = getAnimation(this, "time-picker.show", { dir: this.localize.dir() });
|
|
529
|
+
await animateTo(this.popup.popup, keyframes, options);
|
|
530
|
+
this.emit("cw-after-show");
|
|
531
|
+
} else {
|
|
532
|
+
this.emit("cw-hide");
|
|
533
|
+
this.removeOpenListeners();
|
|
534
|
+
await stopAnimations(this);
|
|
535
|
+
const { keyframes, options } = getAnimation(this, "time-picker.hide", { dir: this.localize.dir() });
|
|
536
|
+
await animateTo(this.popup.popup, keyframes, options);
|
|
537
|
+
this.listbox.hidden = true;
|
|
538
|
+
this.popup.active = false;
|
|
539
|
+
this.emit("cw-after-hide");
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
/** Shows the listbox. */
|
|
543
|
+
async show() {
|
|
544
|
+
if (this.open || this.disabled) {
|
|
545
|
+
return void 0;
|
|
546
|
+
}
|
|
547
|
+
this.open = true;
|
|
548
|
+
return waitForEvent(this, "cw-after-show");
|
|
549
|
+
}
|
|
550
|
+
/** Hides the listbox. */
|
|
551
|
+
async hide() {
|
|
552
|
+
if (!this.open || this.disabled) {
|
|
553
|
+
return void 0;
|
|
554
|
+
}
|
|
555
|
+
this.open = false;
|
|
556
|
+
return waitForEvent(this, "cw-after-hide");
|
|
557
|
+
}
|
|
558
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
559
|
+
checkValidity() {
|
|
560
|
+
return this.valueInput.checkValidity();
|
|
561
|
+
}
|
|
562
|
+
/** Gets the associated form, if one exists. */
|
|
563
|
+
getForm() {
|
|
564
|
+
return this.formControlController.getForm();
|
|
565
|
+
}
|
|
566
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
567
|
+
reportValidity() {
|
|
568
|
+
return this.valueInput.reportValidity();
|
|
569
|
+
}
|
|
570
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
571
|
+
setCustomValidity(message) {
|
|
572
|
+
this.valueInput.setCustomValidity(message);
|
|
573
|
+
this.formControlController.updateValidity();
|
|
574
|
+
}
|
|
575
|
+
/** Sets focus on the control. */
|
|
576
|
+
focus(options) {
|
|
577
|
+
this.displayInput.focus(options);
|
|
578
|
+
}
|
|
579
|
+
/** Removes focus from the control. */
|
|
580
|
+
blur() {
|
|
581
|
+
this.displayInput.blur();
|
|
582
|
+
}
|
|
583
|
+
render() {
|
|
584
|
+
const hasLabelSlot = this.hasSlotController.test("label");
|
|
585
|
+
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
586
|
+
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
587
|
+
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
|
588
|
+
const hasClearIcon = this.clearable && !this.disabled && this.value.length > 0;
|
|
589
|
+
const isPlaceholderVisible = this.placeholder && this.value.length === 0;
|
|
590
|
+
return b`
|
|
591
|
+
<div
|
|
592
|
+
part="form-control"
|
|
593
|
+
class=${e({
|
|
594
|
+
"form-control": true,
|
|
595
|
+
"form-control--small": this.size === "small",
|
|
596
|
+
"form-control--medium": this.size === "medium",
|
|
597
|
+
"form-control--large": this.size === "large",
|
|
598
|
+
"form-control--has-label": hasLabel,
|
|
599
|
+
"form-control--has-help-text": hasHelpText
|
|
600
|
+
})}
|
|
601
|
+
>
|
|
602
|
+
<label
|
|
603
|
+
id="label"
|
|
604
|
+
part="form-control-label"
|
|
605
|
+
class="form-control__label"
|
|
606
|
+
aria-hidden=${hasLabel ? "false" : "true"}
|
|
607
|
+
@click=${this.handleLabelClick}
|
|
608
|
+
>
|
|
609
|
+
<slot name="label">${this.label}</slot>
|
|
610
|
+
</label>
|
|
611
|
+
|
|
612
|
+
<div part="form-control-input" class="form-control-input">
|
|
613
|
+
<cw-popup
|
|
614
|
+
class=${e({
|
|
615
|
+
"time-picker": true,
|
|
616
|
+
"time-picker--standard": true,
|
|
617
|
+
"time-picker--filled": this.filled,
|
|
618
|
+
"time-picker--pill": this.pill,
|
|
619
|
+
"time-picker--open": this.open,
|
|
620
|
+
"time-picker--disabled": this.disabled,
|
|
621
|
+
"time-picker--focused": this.hasFocus,
|
|
622
|
+
"time-picker--placeholder-visible": isPlaceholderVisible,
|
|
623
|
+
"time-picker--top": this.placement === "top",
|
|
624
|
+
"time-picker--bottom": this.placement === "bottom",
|
|
625
|
+
"time-picker--small": this.size === "small",
|
|
626
|
+
"time-picker--medium": this.size === "medium",
|
|
627
|
+
"time-picker--large": this.size === "large"
|
|
628
|
+
})}
|
|
629
|
+
placement=${this.placement}
|
|
630
|
+
strategy=${this.hoist ? "fixed" : "absolute"}
|
|
631
|
+
flip
|
|
632
|
+
shift
|
|
633
|
+
auto-size="vertical"
|
|
634
|
+
auto-size-padding="10"
|
|
635
|
+
>
|
|
636
|
+
<div
|
|
637
|
+
part="combobox"
|
|
638
|
+
class="time-picker__combobox"
|
|
639
|
+
slot="anchor"
|
|
640
|
+
@keydown=${this.handleComboboxKeyDown}
|
|
641
|
+
@mousedown=${this.handleComboboxMouseDown}
|
|
642
|
+
>
|
|
643
|
+
<slot part="prefix" name="prefix" class="time-picker__prefix"></slot>
|
|
644
|
+
|
|
645
|
+
<input
|
|
646
|
+
part="display-input"
|
|
647
|
+
class="time-picker__display-input"
|
|
648
|
+
type="text"
|
|
649
|
+
placeholder=${this.placeholder}
|
|
650
|
+
.disabled=${this.disabled}
|
|
651
|
+
.value=${this.displayLabel}
|
|
652
|
+
autocomplete="off"
|
|
653
|
+
spellcheck="false"
|
|
654
|
+
autocapitalize="off"
|
|
655
|
+
readonly
|
|
656
|
+
aria-controls="listbox"
|
|
657
|
+
aria-expanded=${this.open ? "true" : "false"}
|
|
658
|
+
aria-haspopup="listbox"
|
|
659
|
+
aria-labelledby="label"
|
|
660
|
+
aria-disabled=${this.disabled ? "true" : "false"}
|
|
661
|
+
aria-describedby="help-text"
|
|
662
|
+
role="combobox"
|
|
663
|
+
tabindex="0"
|
|
664
|
+
@focus=${this.handleFocus}
|
|
665
|
+
@blur=${this.handleBlur}
|
|
666
|
+
/>
|
|
667
|
+
|
|
668
|
+
<input
|
|
669
|
+
class="time-picker__value-input"
|
|
670
|
+
type="text"
|
|
671
|
+
?disabled=${this.disabled}
|
|
672
|
+
?required=${this.required}
|
|
673
|
+
.value=${this.value}
|
|
674
|
+
tabindex="-1"
|
|
675
|
+
aria-hidden="true"
|
|
676
|
+
@focus=${() => this.focus()}
|
|
677
|
+
@invalid=${this.handleInvalid}
|
|
678
|
+
/>
|
|
679
|
+
|
|
680
|
+
${hasClearIcon ? b`
|
|
681
|
+
<button
|
|
682
|
+
part="clear-button"
|
|
683
|
+
class="time-picker__clear"
|
|
684
|
+
type="button"
|
|
685
|
+
aria-label=${this.localize.term("clearEntry")}
|
|
686
|
+
@mousedown=${this.handleClearMouseDown}
|
|
687
|
+
@click=${this.handleClearClick}
|
|
688
|
+
tabindex="-1"
|
|
689
|
+
>
|
|
690
|
+
<slot name="clear-icon">
|
|
691
|
+
<cw-icon name="x-circle-fill" library="system"></cw-icon>
|
|
692
|
+
</slot>
|
|
693
|
+
</button>
|
|
694
|
+
` : ""}
|
|
695
|
+
|
|
696
|
+
<slot name="suffix" part="suffix" class="time-picker__suffix"></slot>
|
|
697
|
+
|
|
698
|
+
<slot name="expand-icon" part="expand-icon" class="time-picker__expand-icon">
|
|
699
|
+
<cw-icon library="system" name="clock"></cw-icon>
|
|
700
|
+
</slot>
|
|
701
|
+
</div>
|
|
702
|
+
|
|
703
|
+
<div
|
|
704
|
+
id="listbox"
|
|
705
|
+
part="listbox"
|
|
706
|
+
class="time-picker__listbox"
|
|
707
|
+
tabindex="-1"
|
|
708
|
+
@mousedown=${this.handleListboxMouseDown}
|
|
709
|
+
@mouseup=${this.handleOptionClick}
|
|
710
|
+
>
|
|
711
|
+
${this.getColumns().map((column) => this.renderColumn(column))}
|
|
712
|
+
</div>
|
|
713
|
+
</cw-popup>
|
|
714
|
+
</div>
|
|
715
|
+
|
|
716
|
+
<div
|
|
717
|
+
part="form-control-help-text"
|
|
718
|
+
id="help-text"
|
|
719
|
+
class="form-control__help-text"
|
|
720
|
+
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
721
|
+
>
|
|
722
|
+
<slot name="help-text">${this.helpText}</slot>
|
|
723
|
+
</div>
|
|
724
|
+
</div>
|
|
725
|
+
`;
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
CwTimePicker.styles = [component_styles_default, form_control_styles_default, time_picker_styles_default];
|
|
729
|
+
CwTimePicker.dependencies = {
|
|
730
|
+
"cw-icon": CwIcon,
|
|
731
|
+
"cw-option": CwOption,
|
|
732
|
+
"cw-popup": CwPopup
|
|
733
|
+
};
|
|
734
|
+
__decorateClass([
|
|
735
|
+
e2(".time-picker")
|
|
736
|
+
], CwTimePicker.prototype, "popup", 2);
|
|
737
|
+
__decorateClass([
|
|
738
|
+
e2(".time-picker__combobox")
|
|
739
|
+
], CwTimePicker.prototype, "combobox", 2);
|
|
740
|
+
__decorateClass([
|
|
741
|
+
e2(".time-picker__display-input")
|
|
742
|
+
], CwTimePicker.prototype, "displayInput", 2);
|
|
743
|
+
__decorateClass([
|
|
744
|
+
e2(".time-picker__value-input")
|
|
745
|
+
], CwTimePicker.prototype, "valueInput", 2);
|
|
746
|
+
__decorateClass([
|
|
747
|
+
e2(".time-picker__listbox")
|
|
748
|
+
], CwTimePicker.prototype, "listbox", 2);
|
|
749
|
+
__decorateClass([
|
|
750
|
+
r2(".time-picker__column")
|
|
751
|
+
], CwTimePicker.prototype, "columnElements", 2);
|
|
752
|
+
__decorateClass([
|
|
753
|
+
r()
|
|
754
|
+
], CwTimePicker.prototype, "hasFocus", 2);
|
|
755
|
+
__decorateClass([
|
|
756
|
+
r()
|
|
757
|
+
], CwTimePicker.prototype, "activeColumn", 2);
|
|
758
|
+
__decorateClass([
|
|
759
|
+
r()
|
|
760
|
+
], CwTimePicker.prototype, "valueHasChanged", 2);
|
|
761
|
+
__decorateClass([
|
|
762
|
+
n()
|
|
763
|
+
], CwTimePicker.prototype, "name", 2);
|
|
764
|
+
__decorateClass([
|
|
765
|
+
r()
|
|
766
|
+
], CwTimePicker.prototype, "value", 1);
|
|
767
|
+
__decorateClass([
|
|
768
|
+
n({ attribute: "value" })
|
|
769
|
+
], CwTimePicker.prototype, "defaultValue", 2);
|
|
770
|
+
__decorateClass([
|
|
771
|
+
n({ reflect: true })
|
|
772
|
+
], CwTimePicker.prototype, "granularity", 2);
|
|
773
|
+
__decorateClass([
|
|
774
|
+
n({ attribute: "hour-format" })
|
|
775
|
+
], CwTimePicker.prototype, "hourFormat", 2);
|
|
776
|
+
__decorateClass([
|
|
777
|
+
n({ reflect: true })
|
|
778
|
+
], CwTimePicker.prototype, "size", 2);
|
|
779
|
+
__decorateClass([
|
|
780
|
+
n()
|
|
781
|
+
], CwTimePicker.prototype, "placeholder", 2);
|
|
782
|
+
__decorateClass([
|
|
783
|
+
n({ type: Boolean, reflect: true })
|
|
784
|
+
], CwTimePicker.prototype, "disabled", 2);
|
|
785
|
+
__decorateClass([
|
|
786
|
+
n({ type: Boolean })
|
|
787
|
+
], CwTimePicker.prototype, "clearable", 2);
|
|
788
|
+
__decorateClass([
|
|
789
|
+
n({ type: Boolean, reflect: true })
|
|
790
|
+
], CwTimePicker.prototype, "open", 2);
|
|
791
|
+
__decorateClass([
|
|
792
|
+
n({ type: Boolean })
|
|
793
|
+
], CwTimePicker.prototype, "hoist", 2);
|
|
794
|
+
__decorateClass([
|
|
795
|
+
n({ type: Boolean, reflect: true })
|
|
796
|
+
], CwTimePicker.prototype, "filled", 2);
|
|
797
|
+
__decorateClass([
|
|
798
|
+
n({ type: Boolean, reflect: true })
|
|
799
|
+
], CwTimePicker.prototype, "pill", 2);
|
|
800
|
+
__decorateClass([
|
|
801
|
+
n()
|
|
802
|
+
], CwTimePicker.prototype, "label", 2);
|
|
803
|
+
__decorateClass([
|
|
804
|
+
n({ reflect: true })
|
|
805
|
+
], CwTimePicker.prototype, "placement", 2);
|
|
806
|
+
__decorateClass([
|
|
807
|
+
n({ attribute: "help-text" })
|
|
808
|
+
], CwTimePicker.prototype, "helpText", 2);
|
|
809
|
+
__decorateClass([
|
|
810
|
+
n({ reflect: true })
|
|
811
|
+
], CwTimePicker.prototype, "form", 2);
|
|
812
|
+
__decorateClass([
|
|
813
|
+
n({ type: Boolean, reflect: true })
|
|
814
|
+
], CwTimePicker.prototype, "required", 2);
|
|
815
|
+
__decorateClass([
|
|
816
|
+
watch("disabled", { waitUntilFirstUpdate: true })
|
|
817
|
+
], CwTimePicker.prototype, "handleDisabledChange", 1);
|
|
818
|
+
__decorateClass([
|
|
819
|
+
watch(["defaultValue", "value"], { waitUntilFirstUpdate: true })
|
|
820
|
+
], CwTimePicker.prototype, "handleValueChange", 1);
|
|
821
|
+
__decorateClass([
|
|
822
|
+
watch(["granularity", "hourFormat"], { waitUntilFirstUpdate: true })
|
|
823
|
+
], CwTimePicker.prototype, "handleGranularityOrHourFormatChange", 1);
|
|
824
|
+
__decorateClass([
|
|
825
|
+
watch("open", { waitUntilFirstUpdate: true })
|
|
826
|
+
], CwTimePicker.prototype, "handleOpenChange", 1);
|
|
827
|
+
setDefaultAnimation("time-picker.show", {
|
|
828
|
+
keyframes: [
|
|
829
|
+
{ opacity: 0, scale: 0.9 },
|
|
830
|
+
{ opacity: 1, scale: 1 }
|
|
831
|
+
],
|
|
832
|
+
options: { duration: 100, easing: "ease" }
|
|
833
|
+
});
|
|
834
|
+
setDefaultAnimation("time-picker.hide", {
|
|
835
|
+
keyframes: [
|
|
836
|
+
{ opacity: 1, scale: 1 },
|
|
837
|
+
{ opacity: 0, scale: 0.9 }
|
|
838
|
+
],
|
|
839
|
+
options: { duration: 100, easing: "ease" }
|
|
840
|
+
});
|
|
841
|
+
|
|
842
|
+
export {
|
|
843
|
+
CwTimePicker
|
|
844
|
+
};
|