@cordwainer/cw-elements 1.1.0-alpha.1 → 1.1.0-alpha.3
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.TDV6FYZX.js → chunk.2HCOWDQ2.js} +3 -3
- package/cdn/chunks/{chunk.FIKR7I4P.js → chunk.2ITDDQ74.js} +1 -1
- package/cdn/chunks/{chunk.GVVKJKG6.js → chunk.2XB4N7HP.js} +1 -1
- package/cdn/chunks/{chunk.VGZACMVS.js → chunk.33RKYZ3H.js} +1 -1
- package/{dist/chunks/chunk.XJFKIUZL.js → cdn/chunks/chunk.3AON4UYF.js} +1 -1
- package/cdn/chunks/{chunk.B5NOVYX6.js → chunk.3CFMBWU5.js} +1 -1
- package/cdn/chunks/{chunk.Z46D7BRX.js → chunk.3ITR3YMH.js} +1 -1
- package/cdn/chunks/{chunk.B665IET3.js → chunk.3KQQNJDR.js} +1 -1
- package/{dist/chunks/chunk.7OV3SGRD.js → cdn/chunks/chunk.3TSAB5QT.js} +1 -1
- package/cdn/chunks/{chunk.QEU47NC2.js → chunk.3Z3PLTUL.js} +1 -1
- package/{dist/chunks/chunk.PMK6QNRC.js → cdn/chunks/chunk.43VOQH3T.js} +1 -1
- package/{dist/chunks/chunk.KOKMERMV.js → cdn/chunks/chunk.4EES6GOQ.js} +1 -1
- package/cdn/chunks/chunk.4FMYZJVU.js +24 -0
- package/cdn/chunks/{chunk.TMLGI2RQ.js → chunk.4JFCP6SO.js} +2 -2
- package/cdn/chunks/{chunk.2QZ36WJT.js → chunk.4JLZWUJ2.js} +4 -4
- package/cdn/chunks/{chunk.EF4W5VAI.js → chunk.4K7B4CJ6.js} +5 -5
- package/cdn/chunks/{chunk.VDKDAFO4.js → chunk.4N647OPV.js} +1 -1
- package/cdn/chunks/{chunk.XRJQMOKI.js → chunk.4SKKVZ55.js} +4 -4
- package/{dist/chunks/chunk.P7RKLO6R.js → cdn/chunks/chunk.52JGCTU5.js} +1 -1
- package/cdn/chunks/{chunk.UCSRLWA2.js → chunk.5DU3XP7U.js} +1 -1
- package/{dist/chunks/chunk.763YHQPW.js → cdn/chunks/chunk.5OTXX577.js} +1 -1
- package/cdn/chunks/chunk.5UHI74VE.js +844 -0
- package/{dist/chunks/chunk.KT35R72U.js → cdn/chunks/chunk.655SUSW2.js} +1 -1
- package/cdn/chunks/{chunk.MPKZLETH.js → chunk.66W6K6UW.js} +2 -2
- package/{dist/chunks/chunk.665FBIVN.js → cdn/chunks/chunk.6D4WVN7S.js} +1 -1
- package/cdn/chunks/{chunk.2BZYHVAA.js → chunk.6LLJOWGP.js} +2 -2
- package/cdn/chunks/{chunk.7NFLO67E.js → chunk.6RODMT7E.js} +1 -1
- package/cdn/chunks/{chunk.GO7KGZOP.js → chunk.6YPK3JMS.js} +8 -8
- package/cdn/chunks/{chunk.JNVGCUJV.js → chunk.7OU3XWCS.js} +2 -2
- package/cdn/chunks/{chunk.L76DX3LO.js → chunk.7PW5UITU.js} +1 -1
- package/{dist/chunks/chunk.65GPXPS4.js → cdn/chunks/chunk.7QBOR7UC.js} +1 -1
- package/cdn/chunks/{chunk.UOCMT5KF.js → chunk.7YLCMHGB.js} +1 -1
- package/cdn/chunks/{chunk.BBZR4SMX.js → chunk.A3K6BVEY.js} +2 -2
- package/{dist/chunks/chunk.E42PJXHU.js → cdn/chunks/chunk.AM7AFPJX.js} +1 -1
- package/cdn/chunks/{chunk.AQC4MW3D.js → chunk.AOMTPHQE.js} +1 -1
- package/cdn/chunks/{chunk.N6NGURUS.js → chunk.ARJRMDAZ.js} +11 -9
- package/cdn/chunks/{chunk.RQTACNRD.js → chunk.ARU2MPJN.js} +1 -1
- package/{dist/chunks/chunk.GOBD4Z65.js → cdn/chunks/chunk.AWKIJZ56.js} +1 -1
- package/cdn/chunks/{chunk.PVO3FADL.js → chunk.B5JS5PSY.js} +1 -1
- package/cdn/chunks/{chunk.DODFRSSI.js → chunk.BCL5BS7M.js} +2 -2
- package/{dist/chunks/chunk.PQSKOESY.js → cdn/chunks/chunk.BQNIJLQQ.js} +1 -1
- package/cdn/chunks/chunk.BYPPYZSC.js +174 -0
- package/{dist/chunks/chunk.KRYDATMA.js → cdn/chunks/chunk.C5JCJOBY.js} +1 -1
- package/cdn/chunks/{chunk.XTSPN4R2.js → chunk.C7IERU4U.js} +1 -1
- package/cdn/chunks/{chunk.X5LEEANE.js → chunk.CAANYHVQ.js} +1 -1
- package/cdn/chunks/{chunk.KVJ5VZD5.js → chunk.CBIBDTMJ.js} +1 -1
- package/cdn/chunks/chunk.CNH6N7WQ.js +11 -0
- package/cdn/chunks/{chunk.X4MRYMNI.js → chunk.D2S7DWGA.js} +1 -1
- package/cdn/chunks/{chunk.HIF2OHVM.js → chunk.D4D7Z3EO.js} +1 -1
- package/{dist/chunks/chunk.BRWGDDSD.js → cdn/chunks/chunk.D5ENUSZC.js} +1 -1
- package/cdn/chunks/{chunk.YQGDVTMB.js → chunk.DCEJQIUE.js} +3 -3
- package/cdn/chunks/chunk.DI3FKHCW.js +904 -0
- package/cdn/chunks/{chunk.RG2ZQTZT.js → chunk.DRVRTRXM.js} +1 -1
- package/cdn/chunks/{chunk.A32RWXXM.js → chunk.DWK5PZP6.js} +1 -1
- package/cdn/chunks/{chunk.TLS5MIRB.js → chunk.DZF6GS3W.js} +1 -1
- package/cdn/chunks/{chunk.36KJB3ZP.js → chunk.E7ZSKWYG.js} +6 -6
- package/cdn/chunks/{chunk.6ZML6PPJ.js → chunk.EBASGSNC.js} +1 -1
- package/cdn/chunks/{chunk.LTOS2OMK.js → chunk.ECL4K2S3.js} +1 -1
- package/cdn/chunks/{chunk.5JUMTF32.js → chunk.EIZM5IQF.js} +1 -1
- package/cdn/chunks/chunk.EZ4P5QWF.js +295 -0
- package/cdn/chunks/{chunk.W3A4O5SL.js → chunk.F3FBYMAV.js} +1 -1
- package/cdn/chunks/{chunk.G6WVVAXZ.js → chunk.FAF5A5AU.js} +1 -1
- package/cdn/chunks/{chunk.LSZCLNXC.js → chunk.FFPZJUHY.js} +1 -1
- package/cdn/chunks/{chunk.JYEWLHBO.js → chunk.FIUOWQRA.js} +1 -1
- package/cdn/chunks/{chunk.QGL5IXBT.js → chunk.FJIVURHU.js} +2 -2
- package/cdn/chunks/{chunk.57GIFBAS.js → chunk.FJLDW473.js} +1 -3
- package/cdn/chunks/{chunk.VG3JLKZT.js → chunk.FMXM264S.js} +2 -2
- package/cdn/chunks/{chunk.RRQWN4VQ.js → chunk.FS5NO3ZJ.js} +1 -1
- package/cdn/chunks/{chunk.JYAECO5B.js → chunk.FS7R2DXQ.js} +1 -1
- package/cdn/chunks/{chunk.SFDCC6RP.js → chunk.G2HEPOXB.js} +1 -1
- package/cdn/chunks/{chunk.STHQ7WFY.js → chunk.GAQ7ZUAW.js} +1 -1
- package/cdn/chunks/{chunk.HHXNLZL6.js → chunk.GOD4KD5Z.js} +3 -3
- package/cdn/chunks/{chunk.IJV5TSMJ.js → chunk.GOEVWHFJ.js} +42 -32
- package/{dist/chunks/chunk.QW57S6BW.js → cdn/chunks/chunk.GXTWKGV2.js} +1 -1
- package/cdn/chunks/{chunk.CIO7YZYM.js → chunk.GZUCTJRZ.js} +1 -1
- package/cdn/chunks/{chunk.5DTXWFT4.js → chunk.H6L5SOQU.js} +3 -3
- package/cdn/chunks/{chunk.7J4YZAP7.js → chunk.HEWQ2PCJ.js} +3 -3
- package/cdn/chunks/{chunk.MREAUPYK.js → chunk.HIKINB52.js} +1 -1
- package/cdn/chunks/{chunk.4OV6VPEK.js → chunk.HNF62D2W.js} +3 -3
- package/cdn/chunks/{chunk.HYY2OEES.js → chunk.HNTITCGD.js} +1 -1
- package/{dist/chunks/chunk.LDYA5LEF.js → cdn/chunks/chunk.HOBAXFUI.js} +1 -1
- package/cdn/chunks/{chunk.23QJ7NJJ.js → chunk.HRI5Y66I.js} +3 -3
- package/cdn/chunks/{chunk.5BZAHCJF.js → chunk.IDD4S3NG.js} +1 -1
- package/cdn/chunks/{chunk.LJXRCZI7.js → chunk.IFN3MYUZ.js} +1 -1
- package/{dist/chunks/chunk.XTLMFQRG.js → cdn/chunks/chunk.IL2DQ3QY.js} +1 -1
- package/cdn/chunks/{chunk.G7ONJPZV.js → chunk.IP6SNBIW.js} +1 -1
- package/cdn/chunks/{chunk.OHS5HEB7.js → chunk.IPSBD5ME.js} +1 -1
- package/cdn/chunks/{chunk.LTSCKEZA.js → chunk.IQBSTJ65.js} +5 -5
- package/cdn/chunks/{chunk.64DQ5UHZ.js → chunk.JFBDWP4U.js} +1 -1
- package/{dist/chunks/chunk.3KCAFARP.js → cdn/chunks/chunk.JTXCFBR4.js} +1 -1
- package/{dist/chunks/chunk.FCSLBJKP.js → cdn/chunks/chunk.JW7KHZ4J.js} +1 -1
- package/{dist/chunks/chunk.D3EVDN26.js → cdn/chunks/chunk.KFWRQHN7.js} +1 -1
- package/cdn/chunks/{chunk.L6FHFQMH.js → chunk.KGID72UV.js} +1 -1
- package/cdn/chunks/{chunk.2AVZV55V.js → chunk.KL5BH3FA.js} +1 -1
- package/{dist/chunks/chunk.TMGWXVEU.js → cdn/chunks/chunk.KSHAFN7C.js} +1 -1
- package/cdn/chunks/{chunk.XDHHJ5CI.js → chunk.KV2FDPRK.js} +1 -1
- package/cdn/chunks/{chunk.Y5IX73JH.js → chunk.KYNXASIK.js} +1 -1
- package/cdn/chunks/{chunk.BYQOAATK.js → chunk.L2C3QJBP.js} +1 -1
- package/cdn/chunks/{chunk.JWIYHJZV.js → chunk.L4XWYK6U.js} +1 -1
- package/cdn/chunks/{chunk.CIWFI7M7.js → chunk.LBBPR7N5.js} +1 -1
- package/cdn/chunks/{chunk.XMOKORIS.js → chunk.LBW2TUUF.js} +1 -1
- package/cdn/chunks/{chunk.OBBP4SDL.js → chunk.LCLK7HWZ.js} +3 -3
- package/cdn/chunks/chunk.LFFIOKB5.js +33 -0
- package/cdn/chunks/{chunk.OFICDQUP.js → chunk.LGLAK7IY.js} +1 -1
- package/cdn/chunks/{chunk.MQCVKOGC.js → chunk.LJJCBC53.js} +1 -1
- package/{dist/chunks/chunk.2WXOAVPT.js → cdn/chunks/chunk.LNNK5UGF.js} +1 -1
- package/cdn/chunks/{chunk.G4F5AGXC.js → chunk.LR4QSFK2.js} +1 -1
- package/cdn/chunks/{chunk.X5OOOBYY.js → chunk.LWORAYYY.js} +1 -1
- package/cdn/chunks/{chunk.AK66EZZ6.js → chunk.LWYKDK2Q.js} +3 -3
- package/cdn/chunks/{chunk.5YUYCGQ7.js → chunk.LY3FQEUG.js} +2 -2
- package/cdn/chunks/{chunk.S36OHWCD.js → chunk.M3LS5AU5.js} +1 -1
- package/cdn/chunks/{chunk.3EFTNCB7.js → chunk.MNQ4FIA2.js} +1 -1
- package/cdn/chunks/{chunk.ORXAOSYG.js → chunk.MSOI5XB5.js} +1 -1
- package/cdn/chunks/{chunk.KKDGIKPZ.js → chunk.MTGAZOUU.js} +1 -1
- package/cdn/chunks/{chunk.N7Z7YFPG.js → chunk.MZTIJ5NI.js} +2 -2
- package/cdn/chunks/{chunk.HRUSWDQO.js → chunk.N233KOTU.js} +2 -2
- package/cdn/chunks/{chunk.MA7BRXRJ.js → chunk.NDAKKJTZ.js} +3 -3
- package/cdn/chunks/{chunk.F4XOF4OO.js → chunk.NECVATDY.js} +1 -1
- package/{dist/chunks/chunk.HDSCF2QB.js → cdn/chunks/chunk.NLRLLJCX.js} +1 -1
- package/cdn/chunks/{chunk.VX3O2XFT.js → chunk.NPMHLMPG.js} +1 -1
- package/cdn/chunks/{chunk.EP3EOPIN.js → chunk.NQG4ZBID.js} +1 -1
- package/cdn/chunks/{chunk.7DV4KFED.js → chunk.NR6EKIVZ.js} +2 -2
- package/{dist/chunks/chunk.KNVWXOX5.js → cdn/chunks/chunk.NUN5N26D.js} +1 -1
- package/{dist/chunks/chunk.EUJQPPBD.js → cdn/chunks/chunk.NYW7VFFN.js} +1 -1
- package/cdn/chunks/{chunk.J22HNHPX.js → chunk.OEEDTQST.js} +1 -1
- package/cdn/chunks/{chunk.PWDUNF72.js → chunk.OEIWKWEU.js} +3 -3
- package/cdn/chunks/chunk.OEJAVM5K.js +33 -0
- package/{dist/chunks/chunk.PRUL2VS7.js → cdn/chunks/chunk.OIDIDCJJ.js} +1 -1
- package/cdn/chunks/{chunk.YMCVVN7I.js → chunk.ON57KIEN.js} +1 -1
- package/{dist/chunks/chunk.MZPA3A6E.js → cdn/chunks/chunk.ORVZZGLB.js} +1 -1
- package/cdn/chunks/{chunk.PLA2L3GD.js → chunk.OUA6SC6S.js} +1 -1
- package/{dist/chunks/chunk.SDC54GIC.js → cdn/chunks/chunk.OUT2YMSY.js} +1 -1
- package/cdn/chunks/{chunk.KDPC7QBC.js → chunk.P4EIGKJN.js} +1 -1
- package/cdn/chunks/{chunk.AJ3ANPQ3.js → chunk.P4VJA7SF.js} +1 -1
- package/cdn/chunks/{chunk.7H5E2H5H.js → chunk.PA5QOKP5.js} +1 -1
- package/cdn/chunks/{chunk.YQKIZ6FS.js → chunk.PBTGD2ZW.js} +2 -2
- package/cdn/chunks/{chunk.ACNV6AUB.js → chunk.PDXMUT4D.js} +2 -2
- package/{dist/chunks/chunk.AGM34VVK.js → cdn/chunks/chunk.PFYG5PQN.js} +1 -1
- package/cdn/chunks/{chunk.5QU7YOU6.js → chunk.PYGN5SMV.js} +5 -5
- package/cdn/chunks/chunk.QD5DJ6HW.js +118 -0
- package/cdn/chunks/{chunk.AVZR5QUK.js → chunk.QEGMANJD.js} +1 -1
- package/cdn/chunks/{chunk.7FKGS4NN.js → chunk.QFKEAIZB.js} +1 -1
- package/cdn/chunks/{chunk.D755QAZ2.js → chunk.QH62LR5V.js} +1 -1
- package/cdn/chunks/{chunk.WFIK4QKU.js → chunk.QOTLA23K.js} +1 -1
- package/cdn/chunks/{chunk.M5Y3CVH5.js → chunk.QPA3FW75.js} +1 -1
- package/cdn/chunks/{chunk.OOID47SK.js → chunk.QU63JKLN.js} +1 -1
- package/cdn/chunks/{chunk.FNTJI56Z.js → chunk.QWWQCQV3.js} +1 -1
- package/cdn/chunks/{chunk.URQUUCLV.js → chunk.R2VYKFDL.js} +1 -1
- package/{dist/chunks/chunk.NYYMMRQF.js → cdn/chunks/chunk.R5YQVTTD.js} +1 -1
- package/cdn/chunks/{chunk.FCANBYWU.js → chunk.R6T7GVPW.js} +3 -3
- package/cdn/chunks/{chunk.4R6BRK42.js → chunk.R7WIIHCX.js} +2 -2
- package/{dist/chunks/chunk.OXJKUKQI.js → cdn/chunks/chunk.ROJPM4GQ.js} +1 -1
- package/{dist/chunks/chunk.Q2BZ5L4Q.js → cdn/chunks/chunk.RT4CAW3E.js} +1 -1
- package/cdn/chunks/{chunk.DULA3BXU.js → chunk.RZJ3HU54.js} +2 -2
- package/cdn/chunks/{chunk.RETIUTF2.js → chunk.S2AVYGHA.js} +1 -1
- package/{dist/chunks/chunk.7MUQRKSL.js → cdn/chunks/chunk.SDP7CF3A.js} +1 -1
- package/cdn/chunks/{chunk.CFC7WPIH.js → chunk.SE2G7R3B.js} +1 -1
- package/cdn/chunks/{chunk.GAFXEGCL.js → chunk.SNCZLCHW.js} +4 -4
- package/cdn/chunks/{chunk.XAG7GB5I.js → chunk.SYCSG742.js} +10 -0
- package/cdn/chunks/{chunk.2ELMNABV.js → chunk.SZPC7S7X.js} +1 -1
- package/cdn/chunks/{chunk.FU5AEFPB.js → chunk.T6VVR4ZE.js} +1 -1
- package/cdn/chunks/{chunk.EKA5IZBB.js → chunk.T73FEO3I.js} +1 -1
- package/cdn/chunks/{chunk.DMOBOOGK.js → chunk.TEV7KYVM.js} +1 -1
- package/cdn/chunks/chunk.TKCWOOX6.js +11 -0
- package/cdn/chunks/{chunk.JDNQB5GE.js → chunk.TWMGSSDH.js} +1 -1
- package/cdn/chunks/{chunk.GKTPFSX2.js → chunk.TZPNJJKB.js} +1 -1
- package/cdn/chunks/{chunk.4FOMW3EY.js → chunk.UC7EWMAO.js} +1 -1
- package/cdn/chunks/{chunk.O4IXCC3Q.js → chunk.UJDGTUBN.js} +1 -1
- package/{dist/chunks/chunk.X2ZJLZBO.js → cdn/chunks/chunk.ULWZXCAU.js} +1 -1
- package/cdn/chunks/{chunk.T2MLBJCH.js → chunk.V5LILEPX.js} +3 -3
- package/cdn/chunks/{chunk.5I7XA6M5.js → chunk.VAJXTKN4.js} +1 -1
- package/{dist/chunks/chunk.HOXXIMTY.js → cdn/chunks/chunk.VAOKIXI6.js} +1 -1
- package/cdn/chunks/{chunk.HMT745MR.js → chunk.VDP6PTWO.js} +1 -1
- package/{dist/chunks/chunk.VJ2NXK6M.js → cdn/chunks/chunk.VMPRIN5S.js} +1 -1
- package/cdn/chunks/{chunk.QBDAXQRD.js → chunk.VWYUYCHL.js} +3 -3
- package/cdn/chunks/{chunk.DCDGAB72.js → chunk.W3N2EFBL.js} +1 -1
- package/{dist/chunks/chunk.KLMDKBSQ.js → cdn/chunks/chunk.WAGPTPZE.js} +1 -1
- package/cdn/chunks/{chunk.BXLLLPP4.js → chunk.WLRCSPNA.js} +2 -2
- package/cdn/chunks/{chunk.7QIFZGLU.js → chunk.WQSEOTUN.js} +1 -1
- package/cdn/chunks/{chunk.3XT5BPUQ.js → chunk.WY27JU74.js} +1 -1
- package/cdn/chunks/{chunk.OFAB73NQ.js → chunk.X7J57Z6J.js} +1 -1
- package/cdn/chunks/{chunk.RAF72V64.js → chunk.XPKWG7LR.js} +1 -1
- package/cdn/chunks/{chunk.BVRVVV3H.js → chunk.XQWZA6HB.js} +1 -1
- package/{dist/chunks/chunk.UDU53G4K.js → cdn/chunks/chunk.Y2YDNSAD.js} +1 -1
- package/cdn/chunks/chunk.Y6MNSLG2.js +350 -0
- package/cdn/chunks/{chunk.OMQZMDHO.js → chunk.YMYUMO3J.js} +5 -5
- package/cdn/chunks/{chunk.TEFTEV42.js → chunk.YXJDZ2OS.js} +1 -1
- package/cdn/chunks/{chunk.AP7BJUVF.js → chunk.ZQL4G2MF.js} +1 -1
- package/cdn/chunks/chunk.ZRPKY6II.js +11 -0
- package/cdn/chunks/{chunk.2KRRVOTP.js → chunk.ZSU7N44F.js} +1 -1
- package/cdn/chunks/{chunk.PMION4XH.js → chunk.ZSVNJLS5.js} +4 -4
- package/cdn/chunks/{chunk.FD2BLKNF.js → chunk.ZU6JOHHU.js} +1 -1
- package/cdn/chunks/{chunk.LOYDJCRX.js → chunk.ZVSJARP7.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/dist/chunks/{chunk.IDPNXIPQ.js → chunk.2H4HZOD6.js} +1 -1
- package/dist/chunks/{chunk.2LPGT5X7.js → chunk.2MQORRRY.js} +1 -1
- package/dist/chunks/{chunk.CVMFCNMM.js → chunk.2PKCIQLP.js} +1 -1
- package/dist/chunks/chunk.2RLWEUTO.js +33 -0
- package/dist/chunks/{chunk.SFYH2R4X.js → chunk.3J5QI4JK.js} +1 -1
- package/dist/chunks/{chunk.X5NZMCF5.js → chunk.3KHBUHFC.js} +1 -1
- package/dist/chunks/{chunk.AZHMWS6L.js → chunk.3SGQL66D.js} +2 -2
- package/dist/chunks/{chunk.L6QTSP3C.js → chunk.3TDGRVGW.js} +3 -3
- package/dist/chunks/{chunk.VMMAAE4P.js → chunk.43D3JN4D.js} +5 -5
- package/dist/chunks/{chunk.QGH7J6CH.js → chunk.4EVEVJPF.js} +1 -1
- package/{cdn/chunks/chunk.6LD6OBAE.js → dist/chunks/chunk.4IMMLOHV.js} +1 -1
- package/dist/chunks/{chunk.567JN6DK.js → chunk.4PELDTWU.js} +1 -1
- package/dist/chunks/{chunk.P2GJ4VV3.js → chunk.4QI4XQMO.js} +1 -1
- package/dist/chunks/{chunk.C7UXSUZS.js → chunk.5BCRHR5N.js} +1 -1
- package/dist/chunks/{chunk.NM6FV6GO.js → chunk.5FHLKLBD.js} +1 -1
- package/dist/chunks/{chunk.FFOZ5QYG.js → chunk.5LAPZTKG.js} +2 -2
- package/dist/chunks/{chunk.6UINBE7O.js → chunk.5NIRKV36.js} +1 -1
- package/{cdn/chunks/chunk.454DLRAB.js → dist/chunks/chunk.5Q7Z4CF5.js} +1 -1
- package/dist/chunks/{chunk.BK6L7XUN.js → chunk.5QKXA4SG.js} +1 -1
- package/dist/chunks/{chunk.XLC63U4A.js → chunk.5UHMCLES.js} +2 -2
- package/dist/chunks/{chunk.XSSQNTMJ.js → chunk.5Z6HEUEV.js} +4 -4
- package/dist/chunks/{chunk.RSQDRTVW.js → chunk.65DV4VYU.js} +2 -2
- package/{cdn/chunks/chunk.7CXBIEPO.js → dist/chunks/chunk.65IQW2LO.js} +1 -1
- package/dist/chunks/{chunk.BGVXOK25.js → chunk.6KCZ7HCZ.js} +1 -1
- package/{cdn/chunks/chunk.EUJOOI64.js → dist/chunks/chunk.6S2N3IGZ.js} +1 -1
- package/{cdn/chunks/chunk.M3T2MZBI.js → dist/chunks/chunk.6V4BLPJO.js} +1 -1
- package/dist/chunks/{chunk.UXEEZOF7.js → chunk.73HOFQXB.js} +2 -2
- package/dist/chunks/{chunk.Z5GWLXE7.js → chunk.76PNPNJ3.js} +2 -2
- package/dist/chunks/{chunk.DQHJ5K4Z.js → chunk.76QD6SEE.js} +5 -5
- package/dist/chunks/{chunk.AI4SASOJ.js → chunk.7F5K2B3K.js} +1 -1
- package/dist/chunks/{chunk.HE37CRVM.js → chunk.7H5CO23V.js} +1 -1
- package/{cdn/chunks/chunk.BL3LDZZ2.js → dist/chunks/chunk.7NNDVKVL.js} +1 -1
- package/{cdn/chunks/chunk.J3WFI2KI.js → dist/chunks/chunk.7R6FIZB3.js} +1 -1
- package/dist/chunks/{chunk.NDCLKVTA.js → chunk.7RBDQ2Q2.js} +6 -6
- package/dist/chunks/{chunk.ZQVN5QDH.js → chunk.7RGLY5S5.js} +1 -1
- package/{cdn/chunks/chunk.IST3R6UF.js → dist/chunks/chunk.7RZ4QYRJ.js} +1 -1
- package/dist/chunks/{chunk.GA7G5JW4.js → chunk.7UJMCUQZ.js} +3 -3
- package/{cdn/chunks/chunk.DDVLQEIQ.js → dist/chunks/chunk.7XNX5RX5.js} +1 -1
- package/dist/chunks/{chunk.CBBCTNVQ.js → chunk.ACJPI2ZP.js} +1 -1
- package/dist/chunks/{chunk.EBQIFLA3.js → chunk.AK7AQCUZ.js} +3 -3
- package/{cdn/chunks/chunk.GHZHB7GZ.js → dist/chunks/chunk.AMPETZRT.js} +1 -1
- package/dist/chunks/{chunk.UKRLMHI6.js → chunk.AO5R5WRH.js} +1 -1
- package/{cdn/chunks/chunk.YJB5ER7V.js → dist/chunks/chunk.AODRAEIP.js} +1 -1
- package/dist/chunks/{chunk.NQRPSUW2.js → chunk.ARJBERRZ.js} +1 -1
- package/{cdn/chunks/chunk.63AEUNNE.js → dist/chunks/chunk.ATZFHYGU.js} +1 -1
- package/dist/chunks/chunk.AX4VQJ2Y.js +837 -0
- package/{cdn/chunks/chunk.423POR7Z.js → dist/chunks/chunk.AY44GO7E.js} +1 -1
- package/dist/chunks/{chunk.QIDODUL4.js → chunk.B2H5BCXK.js} +1 -1
- package/{cdn/chunks/chunk.PEOS3WEQ.js → dist/chunks/chunk.BBCQTHKV.js} +1 -1
- package/dist/chunks/{chunk.2IO5RPED.js → chunk.BHQYPJVY.js} +2 -2
- package/{cdn/chunks/chunk.CXSU5TA7.js → dist/chunks/chunk.BW7LP64Q.js} +1 -1
- package/dist/chunks/{chunk.QHO2UAQT.js → chunk.C6CMN3L6.js} +1 -1
- package/dist/chunks/{chunk.SMSBTM6G.js → chunk.C73LCOB6.js} +1 -1
- package/dist/chunks/{chunk.DSY23EIY.js → chunk.CA4QX643.js} +1 -1
- package/{cdn/chunks/chunk.MOOLNJWA.js → dist/chunks/chunk.CIX52UF6.js} +1 -1
- package/dist/chunks/{chunk.E6532JK6.js → chunk.D6GLBPCC.js} +2 -2
- package/dist/chunks/{chunk.U23GUW3O.js → chunk.DEOXGA6Y.js} +1 -1
- package/dist/chunks/{chunk.SXSVZZB4.js → chunk.DFQRUEUQ.js} +11 -9
- package/{cdn/chunks/chunk.G3JTEGO6.js → dist/chunks/chunk.DW73DS3K.js} +1 -1
- package/dist/chunks/{chunk.2747IIKP.js → chunk.E6CN5MCG.js} +1 -1
- package/dist/chunks/{chunk.PTFZH4OX.js → chunk.ECLUEVFQ.js} +1 -1
- package/dist/chunks/{chunk.CZCGIYSR.js → chunk.ELM2KTTL.js} +1 -3
- package/dist/chunks/{chunk.SPZTN6LU.js → chunk.EPO6OMTJ.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.R73XOGFN.js → chunk.F32NLI2K.js} +1 -1
- package/dist/chunks/{chunk.DESAXJQ5.js → chunk.F3HU4FRE.js} +1 -1
- package/{cdn/chunks/chunk.3ZFAS3AL.js → dist/chunks/chunk.FHGNOZ3M.js} +1 -1
- package/dist/chunks/{chunk.WRL4DMNY.js → chunk.GACJOPHW.js} +1 -1
- package/dist/chunks/chunk.GB5ZNIFK.js +115 -0
- package/dist/chunks/{chunk.XHFMC7NL.js → chunk.GNTQPKMI.js} +1 -1
- package/dist/chunks/{chunk.ARSNH6JV.js → chunk.GR5TXY3I.js} +1 -1
- package/dist/chunks/chunk.H5OSCBD4.js +11 -0
- package/{cdn/chunks/chunk.AVK2F7R7.js → dist/chunks/chunk.H6XYUOZQ.js} +1 -1
- package/dist/chunks/{chunk.CVOBAEVZ.js → chunk.HQABLPRL.js} +1 -1
- package/dist/chunks/{chunk.ZON7Z32S.js → chunk.HR4KJEN7.js} +1 -1
- package/dist/chunks/{chunk.TKBUILRJ.js → chunk.IBBKXLSG.js} +1 -1
- package/dist/chunks/{chunk.IG74SDTK.js → chunk.IBFFKPMJ.js} +1 -1
- package/dist/chunks/{chunk.LE7AQJCB.js → chunk.IEHK5ZAT.js} +1 -1
- package/dist/chunks/{chunk.52M7YFL5.js → chunk.ILC22ZAI.js} +5 -5
- package/dist/chunks/{chunk.V53K453G.js → chunk.ISPW6VWV.js} +1 -1
- package/dist/chunks/{chunk.6XW7V33W.js → chunk.ITLMQYJE.js} +1 -1
- package/dist/chunks/{chunk.C5WPJECI.js → chunk.J4LIU6PI.js} +2 -2
- package/dist/chunks/{chunk.UQJ6QVAZ.js → chunk.JD34XJ6C.js} +2 -2
- package/dist/chunks/{chunk.JMQ7CTGW.js → chunk.JNQIYERA.js} +1 -1
- package/dist/chunks/{chunk.VTHFNCHH.js → chunk.K5Z3ITGZ.js} +1 -1
- package/dist/chunks/{chunk.YFCIPDEQ.js → chunk.K7LTF73O.js} +1 -1
- package/dist/chunks/{chunk.V3Z2BTMH.js → chunk.KDQUV5WY.js} +1 -1
- package/dist/chunks/{chunk.W2VPO4VE.js → chunk.KHBX4ULR.js} +5 -5
- package/dist/chunks/{chunk.IJ6QAZGA.js → chunk.KPHFMPFR.js} +1 -1
- package/dist/chunks/{chunk.P6WYIVRU.js → chunk.KQTQK5MD.js} +1 -1
- package/dist/chunks/{chunk.NMGHEELN.js → chunk.KZNVSSO7.js} +3 -3
- package/{cdn/chunks/chunk.QEEST3EB.js → dist/chunks/chunk.L4XMKPQH.js} +1 -1
- package/dist/chunks/{chunk.AUK3FUDQ.js → chunk.LAFKBNYZ.js} +1 -1
- package/dist/chunks/{chunk.GULR3V5I.js → chunk.LAFWNCOU.js} +1 -1
- package/{cdn/chunks/chunk.HNNT46J6.js → dist/chunks/chunk.LKADYOCK.js} +1 -1
- package/dist/chunks/{chunk.DM5MBJXC.js → chunk.LQ347S54.js} +2 -2
- package/dist/chunks/{chunk.6IFYZB4Q.js → chunk.LWLRBQ5J.js} +8 -8
- package/dist/chunks/{chunk.RDEJ5UJC.js → chunk.LWMAUYHC.js} +1 -1
- package/{cdn/chunks/chunk.APMZOTIL.js → dist/chunks/chunk.LXY3R7YG.js} +1 -1
- package/{cdn/chunks/chunk.FA53EVHS.js → dist/chunks/chunk.MDYXLMXH.js} +1 -1
- package/dist/chunks/{chunk.HFKJXCTI.js → chunk.MICTHKCS.js} +3 -3
- package/dist/chunks/{chunk.J7MTCPEZ.js → chunk.MQA77RMD.js} +2 -2
- package/dist/chunks/{chunk.LKYPNZHC.js → chunk.MVOUSXSF.js} +1 -1
- package/dist/chunks/{chunk.S3F7MIGD.js → chunk.NBUSQ542.js} +1 -1
- package/dist/chunks/chunk.NH42D4UE.js +24 -0
- package/{cdn/chunks/chunk.2KRVWKPV.js → dist/chunks/chunk.NP4OUAXU.js} +1 -1
- package/dist/chunks/{chunk.INTNI2AM.js → chunk.O2IU3M7C.js} +1 -1
- package/dist/chunks/{chunk.Q4YNMCNT.js → chunk.O2ZVM6SW.js} +4 -4
- package/dist/chunks/{chunk.ZR4MRID5.js → chunk.O4GMXCLR.js} +1 -1
- package/dist/chunks/chunk.O5XY6B7A.js +11 -0
- package/dist/chunks/{chunk.QTH5KWYR.js → chunk.OGWIBXT7.js} +1 -1
- package/dist/chunks/{chunk.K6UUETAU.js → chunk.OIFFM3XU.js} +2 -2
- package/dist/chunks/{chunk.JEUQMOE6.js → chunk.OIPUR7ON.js} +1 -1
- package/dist/chunks/{chunk.7TGFFVOO.js → chunk.PAX3G5WD.js} +1 -1
- package/dist/chunks/{chunk.NBSCYGEO.js → chunk.PFF33EOI.js} +1 -1
- package/dist/chunks/chunk.PQ3TMW3U.js +11 -0
- package/dist/chunks/{chunk.AVRTUBBV.js → chunk.PYUUOHXO.js} +1 -1
- package/dist/chunks/{chunk.T7XLHTVV.js → chunk.PZEU3QVW.js} +1 -1
- package/dist/chunks/{chunk.MNDGAY37.js → chunk.Q2KYARNF.js} +1 -1
- package/{cdn/chunks/chunk.ZRUOMTCM.js → dist/chunks/chunk.QCNSBCC4.js} +1 -1
- package/dist/chunks/{chunk.SZPMEWOB.js → chunk.QD6ZHCQB.js} +1 -1
- package/dist/chunks/{chunk.IEYNC5ZO.js → chunk.QDHPCZYU.js} +2 -2
- package/dist/chunks/{chunk.KT4VDHOS.js → chunk.QDI4JIQP.js} +1 -1
- package/dist/chunks/{chunk.U7K3BGXK.js → chunk.QXODBA7E.js} +3 -3
- package/dist/chunks/{chunk.3XXDGLXD.js → chunk.R55RM4C7.js} +1 -1
- package/dist/chunks/{chunk.SXVQRCVR.js → chunk.RGBGPSJY.js} +10 -0
- package/dist/chunks/{chunk.GF2IXBUV.js → chunk.RIZVMR72.js} +1 -1
- package/dist/chunks/{chunk.F4CQKCWM.js → chunk.RM5L3IOA.js} +3 -3
- package/dist/chunks/{chunk.44QRCJ3U.js → chunk.RU4DLCZV.js} +2 -2
- package/dist/chunks/{chunk.MDNPNMFX.js → chunk.S6V3X736.js} +3 -3
- package/dist/chunks/{chunk.UR6NVETE.js → chunk.SDOJGRAK.js} +1 -1
- package/{cdn/chunks/chunk.EK2GM3E7.js → dist/chunks/chunk.SEZSK32Z.js} +1 -1
- package/{cdn/chunks/chunk.2M4B6U6R.js → dist/chunks/chunk.SGSFAE2H.js} +1 -1
- package/dist/chunks/{chunk.WF35TQ3B.js → chunk.SOXPH2YX.js} +1 -1
- package/dist/chunks/{chunk.GDJZZD46.js → chunk.SPHLRGEH.js} +1 -1
- package/dist/chunks/{chunk.KBFG6YOY.js → chunk.SRCMHGIO.js} +4 -4
- package/dist/chunks/{chunk.DGVJSWGF.js → chunk.SU27LAPT.js} +1 -1
- package/dist/chunks/{chunk.5UHOHCG6.js → chunk.T2O3LNNZ.js} +1 -1
- package/dist/chunks/{chunk.3G3EPS43.js → chunk.T325IMR5.js} +1 -1
- package/{cdn/chunks/chunk.KZWBHZBX.js → dist/chunks/chunk.T532OZDW.js} +1 -1
- package/dist/chunks/{chunk.AR6SR2WY.js → chunk.TAFVMUNL.js} +1 -1
- package/{cdn/chunks/chunk.2QQBAJ2H.js → dist/chunks/chunk.TLANNMVK.js} +1 -1
- package/dist/chunks/{chunk.7SIWEJUF.js → chunk.TNOY6DAH.js} +3 -3
- package/dist/chunks/{chunk.QAT3D7DX.js → chunk.TRSBHO5X.js} +1 -1
- package/dist/chunks/{chunk.D24OLOG5.js → chunk.TWJDGQUP.js} +1 -1
- package/dist/chunks/{chunk.MBTECJ34.js → chunk.U2KFH7IQ.js} +1 -1
- package/dist/chunks/{chunk.HJPFAS7Y.js → chunk.U2VXEMIB.js} +1 -1
- package/dist/chunks/{chunk.NDYXHETJ.js → chunk.U3E4RUF3.js} +1 -1
- package/dist/chunks/chunk.U5LW3SOP.js +170 -0
- package/dist/chunks/{chunk.PMCE6ODO.js → chunk.UBMVNKLH.js} +1 -1
- package/dist/chunks/chunk.UGMPZPOC.js +896 -0
- package/dist/chunks/{chunk.IKWWODYQ.js → chunk.UQJIYR5Y.js} +1 -1
- package/dist/chunks/{chunk.M22HSCZX.js → chunk.UVAZQGMH.js} +2 -2
- package/dist/chunks/{chunk.7433LIYL.js → chunk.UYUXI3C5.js} +1 -1
- package/{cdn/chunks/chunk.G4S6PHF2.js → dist/chunks/chunk.UZ32VHHN.js} +1 -1
- package/{cdn/chunks/chunk.RLDOF26C.js → dist/chunks/chunk.V7L5VH2Q.js} +1 -1
- package/dist/chunks/{chunk.AL65PY7V.js → chunk.V7MYJXMP.js} +1 -1
- package/dist/chunks/{chunk.QXFO3QWK.js → chunk.VBV4B3MS.js} +1 -1
- package/dist/chunks/{chunk.IFDMWT4R.js → chunk.VOHIUZ6B.js} +1 -1
- package/dist/chunks/{chunk.U45TJLC6.js → chunk.VPBLXZTT.js} +1 -1
- package/dist/chunks/{chunk.QIRVGE6Z.js → chunk.VQCBJ2CK.js} +1 -1
- package/{cdn/chunks/chunk.DG6RRSBW.js → dist/chunks/chunk.VU3W74XH.js} +1 -1
- package/dist/chunks/chunk.W2GR4RJE.js +33 -0
- package/dist/chunks/{chunk.XISG4TGO.js → chunk.W4JLUJUI.js} +1 -1
- package/dist/chunks/{chunk.RX7RUQZB.js → chunk.WD6B4MTR.js} +1 -1
- package/{cdn/chunks/chunk.5CNMIFJF.js → dist/chunks/chunk.WJF5XUDZ.js} +1 -1
- package/dist/chunks/{chunk.SJ24DYR2.js → chunk.WTPEMOIE.js} +1 -1
- package/dist/chunks/{chunk.EIC7L5SA.js → chunk.WW7EXCNV.js} +1 -1
- package/dist/chunks/{chunk.5QQSIF7Z.js → chunk.X2CXPW44.js} +1 -1
- package/{cdn/chunks/chunk.2MAEADU5.js → dist/chunks/chunk.XBZBOF5F.js} +1 -1
- package/{cdn/chunks/chunk.JKVP3CWK.js → dist/chunks/chunk.XEIGR7UN.js} +1 -1
- package/dist/chunks/{chunk.XTZWIN4P.js → chunk.XMG7E7TA.js} +1 -1
- package/dist/chunks/{chunk.RBIK3ZI2.js → chunk.XN44PEUX.js} +1 -1
- package/dist/chunks/{chunk.KIDIHVHM.js → chunk.XOU3MYJD.js} +1 -1
- package/dist/chunks/{chunk.MGGJ5IGG.js → chunk.XPDQCCD3.js} +1 -1
- package/{cdn/chunks/chunk.BCYWOL5T.js → dist/chunks/chunk.XTSODF7Y.js} +1 -1
- package/{cdn/chunks/chunk.5U7RICDJ.js → dist/chunks/chunk.XYCRVLA3.js} +1 -1
- package/dist/chunks/{chunk.DOB2DE43.js → chunk.Y7NKENZS.js} +1 -1
- package/dist/chunks/{chunk.WQHQN73Y.js → chunk.YBDJDQJP.js} +1 -1
- package/dist/chunks/{chunk.O4BM2XHQ.js → chunk.YE5N3PSS.js} +1 -1
- package/dist/chunks/{chunk.GDTFI5GT.js → chunk.YK27CZ2Z.js} +3 -3
- package/dist/chunks/{chunk.5QIUN6VE.js → chunk.YMDR4GNB.js} +1 -1
- package/dist/chunks/{chunk.VIDPDBD4.js → chunk.YOSWTWCE.js} +4 -4
- package/dist/chunks/chunk.YQYPY5UZ.js +347 -0
- package/dist/chunks/{chunk.OMKCBDVN.js → chunk.YS6YVFW6.js} +1 -1
- package/dist/chunks/{chunk.PJOUZH3H.js → chunk.YYOXSBIU.js} +1 -1
- package/{cdn/chunks/chunk.BBY4XHBV.js → dist/chunks/chunk.Z2AEINB6.js} +1 -1
- package/dist/chunks/{chunk.LJZYTPHX.js → chunk.Z2UUL2QO.js} +3 -3
- package/dist/chunks/{chunk.NX5IE35B.js → chunk.Z2XNWJKH.js} +1 -1
- package/dist/chunks/{chunk.3MWRZHJI.js → chunk.Z4VHIICI.js} +3 -3
- package/dist/chunks/{chunk.HGYRJZEQ.js → chunk.ZF3SPCYS.js} +1 -1
- package/dist/chunks/{chunk.45UF2NV7.js → chunk.ZQVQKLWH.js} +3 -3
- package/dist/chunks/{chunk.RRA5SLN5.js → chunk.ZVXW5IDX.js} +3 -3
- 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.V5LILEPX.js";
|
|
7
|
+
import {
|
|
8
|
+
scrollIntoView
|
|
9
|
+
} from "./chunk.PH2N3MLE.js";
|
|
10
|
+
import {
|
|
11
|
+
CwPopup
|
|
12
|
+
} from "./chunk.A3K6BVEY.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.PYGN5SMV.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.GOEVWHFJ.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
|
+
};
|