@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.
Files changed (862) hide show
  1. package/cdn/chunks/{chunk.TDV6FYZX.js → chunk.2HCOWDQ2.js} +3 -3
  2. package/cdn/chunks/{chunk.FIKR7I4P.js → chunk.2ITDDQ74.js} +1 -1
  3. package/cdn/chunks/{chunk.GVVKJKG6.js → chunk.2XB4N7HP.js} +1 -1
  4. package/cdn/chunks/{chunk.VGZACMVS.js → chunk.33RKYZ3H.js} +1 -1
  5. package/{dist/chunks/chunk.XJFKIUZL.js → cdn/chunks/chunk.3AON4UYF.js} +1 -1
  6. package/cdn/chunks/{chunk.B5NOVYX6.js → chunk.3CFMBWU5.js} +1 -1
  7. package/cdn/chunks/{chunk.Z46D7BRX.js → chunk.3ITR3YMH.js} +1 -1
  8. package/cdn/chunks/{chunk.B665IET3.js → chunk.3KQQNJDR.js} +1 -1
  9. package/{dist/chunks/chunk.7OV3SGRD.js → cdn/chunks/chunk.3TSAB5QT.js} +1 -1
  10. package/cdn/chunks/{chunk.QEU47NC2.js → chunk.3Z3PLTUL.js} +1 -1
  11. package/{dist/chunks/chunk.PMK6QNRC.js → cdn/chunks/chunk.43VOQH3T.js} +1 -1
  12. package/{dist/chunks/chunk.KOKMERMV.js → cdn/chunks/chunk.4EES6GOQ.js} +1 -1
  13. package/cdn/chunks/chunk.4FMYZJVU.js +24 -0
  14. package/cdn/chunks/{chunk.TMLGI2RQ.js → chunk.4JFCP6SO.js} +2 -2
  15. package/cdn/chunks/{chunk.2QZ36WJT.js → chunk.4JLZWUJ2.js} +4 -4
  16. package/cdn/chunks/{chunk.EF4W5VAI.js → chunk.4K7B4CJ6.js} +5 -5
  17. package/cdn/chunks/{chunk.VDKDAFO4.js → chunk.4N647OPV.js} +1 -1
  18. package/cdn/chunks/{chunk.XRJQMOKI.js → chunk.4SKKVZ55.js} +4 -4
  19. package/{dist/chunks/chunk.P7RKLO6R.js → cdn/chunks/chunk.52JGCTU5.js} +1 -1
  20. package/cdn/chunks/{chunk.UCSRLWA2.js → chunk.5DU3XP7U.js} +1 -1
  21. package/{dist/chunks/chunk.763YHQPW.js → cdn/chunks/chunk.5OTXX577.js} +1 -1
  22. package/cdn/chunks/chunk.5UHI74VE.js +844 -0
  23. package/{dist/chunks/chunk.KT35R72U.js → cdn/chunks/chunk.655SUSW2.js} +1 -1
  24. package/cdn/chunks/{chunk.MPKZLETH.js → chunk.66W6K6UW.js} +2 -2
  25. package/{dist/chunks/chunk.665FBIVN.js → cdn/chunks/chunk.6D4WVN7S.js} +1 -1
  26. package/cdn/chunks/{chunk.2BZYHVAA.js → chunk.6LLJOWGP.js} +2 -2
  27. package/cdn/chunks/{chunk.7NFLO67E.js → chunk.6RODMT7E.js} +1 -1
  28. package/cdn/chunks/{chunk.GO7KGZOP.js → chunk.6YPK3JMS.js} +8 -8
  29. package/cdn/chunks/{chunk.JNVGCUJV.js → chunk.7OU3XWCS.js} +2 -2
  30. package/cdn/chunks/{chunk.L76DX3LO.js → chunk.7PW5UITU.js} +1 -1
  31. package/{dist/chunks/chunk.65GPXPS4.js → cdn/chunks/chunk.7QBOR7UC.js} +1 -1
  32. package/cdn/chunks/{chunk.UOCMT5KF.js → chunk.7YLCMHGB.js} +1 -1
  33. package/cdn/chunks/{chunk.BBZR4SMX.js → chunk.A3K6BVEY.js} +2 -2
  34. package/{dist/chunks/chunk.E42PJXHU.js → cdn/chunks/chunk.AM7AFPJX.js} +1 -1
  35. package/cdn/chunks/{chunk.AQC4MW3D.js → chunk.AOMTPHQE.js} +1 -1
  36. package/cdn/chunks/{chunk.N6NGURUS.js → chunk.ARJRMDAZ.js} +11 -9
  37. package/cdn/chunks/{chunk.RQTACNRD.js → chunk.ARU2MPJN.js} +1 -1
  38. package/{dist/chunks/chunk.GOBD4Z65.js → cdn/chunks/chunk.AWKIJZ56.js} +1 -1
  39. package/cdn/chunks/{chunk.PVO3FADL.js → chunk.B5JS5PSY.js} +1 -1
  40. package/cdn/chunks/{chunk.DODFRSSI.js → chunk.BCL5BS7M.js} +2 -2
  41. package/{dist/chunks/chunk.PQSKOESY.js → cdn/chunks/chunk.BQNIJLQQ.js} +1 -1
  42. package/cdn/chunks/chunk.BYPPYZSC.js +174 -0
  43. package/{dist/chunks/chunk.KRYDATMA.js → cdn/chunks/chunk.C5JCJOBY.js} +1 -1
  44. package/cdn/chunks/{chunk.XTSPN4R2.js → chunk.C7IERU4U.js} +1 -1
  45. package/cdn/chunks/{chunk.X5LEEANE.js → chunk.CAANYHVQ.js} +1 -1
  46. package/cdn/chunks/{chunk.KVJ5VZD5.js → chunk.CBIBDTMJ.js} +1 -1
  47. package/cdn/chunks/chunk.CNH6N7WQ.js +11 -0
  48. package/cdn/chunks/{chunk.X4MRYMNI.js → chunk.D2S7DWGA.js} +1 -1
  49. package/cdn/chunks/{chunk.HIF2OHVM.js → chunk.D4D7Z3EO.js} +1 -1
  50. package/{dist/chunks/chunk.BRWGDDSD.js → cdn/chunks/chunk.D5ENUSZC.js} +1 -1
  51. package/cdn/chunks/{chunk.YQGDVTMB.js → chunk.DCEJQIUE.js} +3 -3
  52. package/cdn/chunks/chunk.DI3FKHCW.js +904 -0
  53. package/cdn/chunks/{chunk.RG2ZQTZT.js → chunk.DRVRTRXM.js} +1 -1
  54. package/cdn/chunks/{chunk.A32RWXXM.js → chunk.DWK5PZP6.js} +1 -1
  55. package/cdn/chunks/{chunk.TLS5MIRB.js → chunk.DZF6GS3W.js} +1 -1
  56. package/cdn/chunks/{chunk.36KJB3ZP.js → chunk.E7ZSKWYG.js} +6 -6
  57. package/cdn/chunks/{chunk.6ZML6PPJ.js → chunk.EBASGSNC.js} +1 -1
  58. package/cdn/chunks/{chunk.LTOS2OMK.js → chunk.ECL4K2S3.js} +1 -1
  59. package/cdn/chunks/{chunk.5JUMTF32.js → chunk.EIZM5IQF.js} +1 -1
  60. package/cdn/chunks/chunk.EZ4P5QWF.js +295 -0
  61. package/cdn/chunks/{chunk.W3A4O5SL.js → chunk.F3FBYMAV.js} +1 -1
  62. package/cdn/chunks/{chunk.G6WVVAXZ.js → chunk.FAF5A5AU.js} +1 -1
  63. package/cdn/chunks/{chunk.LSZCLNXC.js → chunk.FFPZJUHY.js} +1 -1
  64. package/cdn/chunks/{chunk.JYEWLHBO.js → chunk.FIUOWQRA.js} +1 -1
  65. package/cdn/chunks/{chunk.QGL5IXBT.js → chunk.FJIVURHU.js} +2 -2
  66. package/cdn/chunks/{chunk.57GIFBAS.js → chunk.FJLDW473.js} +1 -3
  67. package/cdn/chunks/{chunk.VG3JLKZT.js → chunk.FMXM264S.js} +2 -2
  68. package/cdn/chunks/{chunk.RRQWN4VQ.js → chunk.FS5NO3ZJ.js} +1 -1
  69. package/cdn/chunks/{chunk.JYAECO5B.js → chunk.FS7R2DXQ.js} +1 -1
  70. package/cdn/chunks/{chunk.SFDCC6RP.js → chunk.G2HEPOXB.js} +1 -1
  71. package/cdn/chunks/{chunk.STHQ7WFY.js → chunk.GAQ7ZUAW.js} +1 -1
  72. package/cdn/chunks/{chunk.HHXNLZL6.js → chunk.GOD4KD5Z.js} +3 -3
  73. package/cdn/chunks/{chunk.IJV5TSMJ.js → chunk.GOEVWHFJ.js} +42 -32
  74. package/{dist/chunks/chunk.QW57S6BW.js → cdn/chunks/chunk.GXTWKGV2.js} +1 -1
  75. package/cdn/chunks/{chunk.CIO7YZYM.js → chunk.GZUCTJRZ.js} +1 -1
  76. package/cdn/chunks/{chunk.5DTXWFT4.js → chunk.H6L5SOQU.js} +3 -3
  77. package/cdn/chunks/{chunk.7J4YZAP7.js → chunk.HEWQ2PCJ.js} +3 -3
  78. package/cdn/chunks/{chunk.MREAUPYK.js → chunk.HIKINB52.js} +1 -1
  79. package/cdn/chunks/{chunk.4OV6VPEK.js → chunk.HNF62D2W.js} +3 -3
  80. package/cdn/chunks/{chunk.HYY2OEES.js → chunk.HNTITCGD.js} +1 -1
  81. package/{dist/chunks/chunk.LDYA5LEF.js → cdn/chunks/chunk.HOBAXFUI.js} +1 -1
  82. package/cdn/chunks/{chunk.23QJ7NJJ.js → chunk.HRI5Y66I.js} +3 -3
  83. package/cdn/chunks/{chunk.5BZAHCJF.js → chunk.IDD4S3NG.js} +1 -1
  84. package/cdn/chunks/{chunk.LJXRCZI7.js → chunk.IFN3MYUZ.js} +1 -1
  85. package/{dist/chunks/chunk.XTLMFQRG.js → cdn/chunks/chunk.IL2DQ3QY.js} +1 -1
  86. package/cdn/chunks/{chunk.G7ONJPZV.js → chunk.IP6SNBIW.js} +1 -1
  87. package/cdn/chunks/{chunk.OHS5HEB7.js → chunk.IPSBD5ME.js} +1 -1
  88. package/cdn/chunks/{chunk.LTSCKEZA.js → chunk.IQBSTJ65.js} +5 -5
  89. package/cdn/chunks/{chunk.64DQ5UHZ.js → chunk.JFBDWP4U.js} +1 -1
  90. package/{dist/chunks/chunk.3KCAFARP.js → cdn/chunks/chunk.JTXCFBR4.js} +1 -1
  91. package/{dist/chunks/chunk.FCSLBJKP.js → cdn/chunks/chunk.JW7KHZ4J.js} +1 -1
  92. package/{dist/chunks/chunk.D3EVDN26.js → cdn/chunks/chunk.KFWRQHN7.js} +1 -1
  93. package/cdn/chunks/{chunk.L6FHFQMH.js → chunk.KGID72UV.js} +1 -1
  94. package/cdn/chunks/{chunk.2AVZV55V.js → chunk.KL5BH3FA.js} +1 -1
  95. package/{dist/chunks/chunk.TMGWXVEU.js → cdn/chunks/chunk.KSHAFN7C.js} +1 -1
  96. package/cdn/chunks/{chunk.XDHHJ5CI.js → chunk.KV2FDPRK.js} +1 -1
  97. package/cdn/chunks/{chunk.Y5IX73JH.js → chunk.KYNXASIK.js} +1 -1
  98. package/cdn/chunks/{chunk.BYQOAATK.js → chunk.L2C3QJBP.js} +1 -1
  99. package/cdn/chunks/{chunk.JWIYHJZV.js → chunk.L4XWYK6U.js} +1 -1
  100. package/cdn/chunks/{chunk.CIWFI7M7.js → chunk.LBBPR7N5.js} +1 -1
  101. package/cdn/chunks/{chunk.XMOKORIS.js → chunk.LBW2TUUF.js} +1 -1
  102. package/cdn/chunks/{chunk.OBBP4SDL.js → chunk.LCLK7HWZ.js} +3 -3
  103. package/cdn/chunks/chunk.LFFIOKB5.js +33 -0
  104. package/cdn/chunks/{chunk.OFICDQUP.js → chunk.LGLAK7IY.js} +1 -1
  105. package/cdn/chunks/{chunk.MQCVKOGC.js → chunk.LJJCBC53.js} +1 -1
  106. package/{dist/chunks/chunk.2WXOAVPT.js → cdn/chunks/chunk.LNNK5UGF.js} +1 -1
  107. package/cdn/chunks/{chunk.G4F5AGXC.js → chunk.LR4QSFK2.js} +1 -1
  108. package/cdn/chunks/{chunk.X5OOOBYY.js → chunk.LWORAYYY.js} +1 -1
  109. package/cdn/chunks/{chunk.AK66EZZ6.js → chunk.LWYKDK2Q.js} +3 -3
  110. package/cdn/chunks/{chunk.5YUYCGQ7.js → chunk.LY3FQEUG.js} +2 -2
  111. package/cdn/chunks/{chunk.S36OHWCD.js → chunk.M3LS5AU5.js} +1 -1
  112. package/cdn/chunks/{chunk.3EFTNCB7.js → chunk.MNQ4FIA2.js} +1 -1
  113. package/cdn/chunks/{chunk.ORXAOSYG.js → chunk.MSOI5XB5.js} +1 -1
  114. package/cdn/chunks/{chunk.KKDGIKPZ.js → chunk.MTGAZOUU.js} +1 -1
  115. package/cdn/chunks/{chunk.N7Z7YFPG.js → chunk.MZTIJ5NI.js} +2 -2
  116. package/cdn/chunks/{chunk.HRUSWDQO.js → chunk.N233KOTU.js} +2 -2
  117. package/cdn/chunks/{chunk.MA7BRXRJ.js → chunk.NDAKKJTZ.js} +3 -3
  118. package/cdn/chunks/{chunk.F4XOF4OO.js → chunk.NECVATDY.js} +1 -1
  119. package/{dist/chunks/chunk.HDSCF2QB.js → cdn/chunks/chunk.NLRLLJCX.js} +1 -1
  120. package/cdn/chunks/{chunk.VX3O2XFT.js → chunk.NPMHLMPG.js} +1 -1
  121. package/cdn/chunks/{chunk.EP3EOPIN.js → chunk.NQG4ZBID.js} +1 -1
  122. package/cdn/chunks/{chunk.7DV4KFED.js → chunk.NR6EKIVZ.js} +2 -2
  123. package/{dist/chunks/chunk.KNVWXOX5.js → cdn/chunks/chunk.NUN5N26D.js} +1 -1
  124. package/{dist/chunks/chunk.EUJQPPBD.js → cdn/chunks/chunk.NYW7VFFN.js} +1 -1
  125. package/cdn/chunks/{chunk.J22HNHPX.js → chunk.OEEDTQST.js} +1 -1
  126. package/cdn/chunks/{chunk.PWDUNF72.js → chunk.OEIWKWEU.js} +3 -3
  127. package/cdn/chunks/chunk.OEJAVM5K.js +33 -0
  128. package/{dist/chunks/chunk.PRUL2VS7.js → cdn/chunks/chunk.OIDIDCJJ.js} +1 -1
  129. package/cdn/chunks/{chunk.YMCVVN7I.js → chunk.ON57KIEN.js} +1 -1
  130. package/{dist/chunks/chunk.MZPA3A6E.js → cdn/chunks/chunk.ORVZZGLB.js} +1 -1
  131. package/cdn/chunks/{chunk.PLA2L3GD.js → chunk.OUA6SC6S.js} +1 -1
  132. package/{dist/chunks/chunk.SDC54GIC.js → cdn/chunks/chunk.OUT2YMSY.js} +1 -1
  133. package/cdn/chunks/{chunk.KDPC7QBC.js → chunk.P4EIGKJN.js} +1 -1
  134. package/cdn/chunks/{chunk.AJ3ANPQ3.js → chunk.P4VJA7SF.js} +1 -1
  135. package/cdn/chunks/{chunk.7H5E2H5H.js → chunk.PA5QOKP5.js} +1 -1
  136. package/cdn/chunks/{chunk.YQKIZ6FS.js → chunk.PBTGD2ZW.js} +2 -2
  137. package/cdn/chunks/{chunk.ACNV6AUB.js → chunk.PDXMUT4D.js} +2 -2
  138. package/{dist/chunks/chunk.AGM34VVK.js → cdn/chunks/chunk.PFYG5PQN.js} +1 -1
  139. package/cdn/chunks/{chunk.5QU7YOU6.js → chunk.PYGN5SMV.js} +5 -5
  140. package/cdn/chunks/chunk.QD5DJ6HW.js +118 -0
  141. package/cdn/chunks/{chunk.AVZR5QUK.js → chunk.QEGMANJD.js} +1 -1
  142. package/cdn/chunks/{chunk.7FKGS4NN.js → chunk.QFKEAIZB.js} +1 -1
  143. package/cdn/chunks/{chunk.D755QAZ2.js → chunk.QH62LR5V.js} +1 -1
  144. package/cdn/chunks/{chunk.WFIK4QKU.js → chunk.QOTLA23K.js} +1 -1
  145. package/cdn/chunks/{chunk.M5Y3CVH5.js → chunk.QPA3FW75.js} +1 -1
  146. package/cdn/chunks/{chunk.OOID47SK.js → chunk.QU63JKLN.js} +1 -1
  147. package/cdn/chunks/{chunk.FNTJI56Z.js → chunk.QWWQCQV3.js} +1 -1
  148. package/cdn/chunks/{chunk.URQUUCLV.js → chunk.R2VYKFDL.js} +1 -1
  149. package/{dist/chunks/chunk.NYYMMRQF.js → cdn/chunks/chunk.R5YQVTTD.js} +1 -1
  150. package/cdn/chunks/{chunk.FCANBYWU.js → chunk.R6T7GVPW.js} +3 -3
  151. package/cdn/chunks/{chunk.4R6BRK42.js → chunk.R7WIIHCX.js} +2 -2
  152. package/{dist/chunks/chunk.OXJKUKQI.js → cdn/chunks/chunk.ROJPM4GQ.js} +1 -1
  153. package/{dist/chunks/chunk.Q2BZ5L4Q.js → cdn/chunks/chunk.RT4CAW3E.js} +1 -1
  154. package/cdn/chunks/{chunk.DULA3BXU.js → chunk.RZJ3HU54.js} +2 -2
  155. package/cdn/chunks/{chunk.RETIUTF2.js → chunk.S2AVYGHA.js} +1 -1
  156. package/{dist/chunks/chunk.7MUQRKSL.js → cdn/chunks/chunk.SDP7CF3A.js} +1 -1
  157. package/cdn/chunks/{chunk.CFC7WPIH.js → chunk.SE2G7R3B.js} +1 -1
  158. package/cdn/chunks/{chunk.GAFXEGCL.js → chunk.SNCZLCHW.js} +4 -4
  159. package/cdn/chunks/{chunk.XAG7GB5I.js → chunk.SYCSG742.js} +10 -0
  160. package/cdn/chunks/{chunk.2ELMNABV.js → chunk.SZPC7S7X.js} +1 -1
  161. package/cdn/chunks/{chunk.FU5AEFPB.js → chunk.T6VVR4ZE.js} +1 -1
  162. package/cdn/chunks/{chunk.EKA5IZBB.js → chunk.T73FEO3I.js} +1 -1
  163. package/cdn/chunks/{chunk.DMOBOOGK.js → chunk.TEV7KYVM.js} +1 -1
  164. package/cdn/chunks/chunk.TKCWOOX6.js +11 -0
  165. package/cdn/chunks/{chunk.JDNQB5GE.js → chunk.TWMGSSDH.js} +1 -1
  166. package/cdn/chunks/{chunk.GKTPFSX2.js → chunk.TZPNJJKB.js} +1 -1
  167. package/cdn/chunks/{chunk.4FOMW3EY.js → chunk.UC7EWMAO.js} +1 -1
  168. package/cdn/chunks/{chunk.O4IXCC3Q.js → chunk.UJDGTUBN.js} +1 -1
  169. package/{dist/chunks/chunk.X2ZJLZBO.js → cdn/chunks/chunk.ULWZXCAU.js} +1 -1
  170. package/cdn/chunks/{chunk.T2MLBJCH.js → chunk.V5LILEPX.js} +3 -3
  171. package/cdn/chunks/{chunk.5I7XA6M5.js → chunk.VAJXTKN4.js} +1 -1
  172. package/{dist/chunks/chunk.HOXXIMTY.js → cdn/chunks/chunk.VAOKIXI6.js} +1 -1
  173. package/cdn/chunks/{chunk.HMT745MR.js → chunk.VDP6PTWO.js} +1 -1
  174. package/{dist/chunks/chunk.VJ2NXK6M.js → cdn/chunks/chunk.VMPRIN5S.js} +1 -1
  175. package/cdn/chunks/{chunk.QBDAXQRD.js → chunk.VWYUYCHL.js} +3 -3
  176. package/cdn/chunks/{chunk.DCDGAB72.js → chunk.W3N2EFBL.js} +1 -1
  177. package/{dist/chunks/chunk.KLMDKBSQ.js → cdn/chunks/chunk.WAGPTPZE.js} +1 -1
  178. package/cdn/chunks/{chunk.BXLLLPP4.js → chunk.WLRCSPNA.js} +2 -2
  179. package/cdn/chunks/{chunk.7QIFZGLU.js → chunk.WQSEOTUN.js} +1 -1
  180. package/cdn/chunks/{chunk.3XT5BPUQ.js → chunk.WY27JU74.js} +1 -1
  181. package/cdn/chunks/{chunk.OFAB73NQ.js → chunk.X7J57Z6J.js} +1 -1
  182. package/cdn/chunks/{chunk.RAF72V64.js → chunk.XPKWG7LR.js} +1 -1
  183. package/cdn/chunks/{chunk.BVRVVV3H.js → chunk.XQWZA6HB.js} +1 -1
  184. package/{dist/chunks/chunk.UDU53G4K.js → cdn/chunks/chunk.Y2YDNSAD.js} +1 -1
  185. package/cdn/chunks/chunk.Y6MNSLG2.js +350 -0
  186. package/cdn/chunks/{chunk.OMQZMDHO.js → chunk.YMYUMO3J.js} +5 -5
  187. package/cdn/chunks/{chunk.TEFTEV42.js → chunk.YXJDZ2OS.js} +1 -1
  188. package/cdn/chunks/{chunk.AP7BJUVF.js → chunk.ZQL4G2MF.js} +1 -1
  189. package/cdn/chunks/chunk.ZRPKY6II.js +11 -0
  190. package/cdn/chunks/{chunk.2KRRVOTP.js → chunk.ZSU7N44F.js} +1 -1
  191. package/cdn/chunks/{chunk.PMION4XH.js → chunk.ZSVNJLS5.js} +4 -4
  192. package/cdn/chunks/{chunk.FD2BLKNF.js → chunk.ZU6JOHHU.js} +1 -1
  193. package/cdn/chunks/{chunk.LOYDJCRX.js → chunk.ZVSJARP7.js} +1 -1
  194. package/cdn/components/alert/alert.component.js +8 -8
  195. package/cdn/components/alert/alert.js +9 -9
  196. package/cdn/components/animated-image/animated-image.component.js +5 -5
  197. package/cdn/components/animated-image/animated-image.js +6 -6
  198. package/cdn/components/animation/animation.component.js +2 -2
  199. package/cdn/components/animation/animation.js +3 -3
  200. package/cdn/components/avatar/avatar.component.js +5 -5
  201. package/cdn/components/avatar/avatar.js +6 -6
  202. package/cdn/components/badge/badge.component.js +2 -2
  203. package/cdn/components/badge/badge.js +3 -3
  204. package/cdn/components/breadcrumb/breadcrumb.component.js +7 -7
  205. package/cdn/components/breadcrumb/breadcrumb.js +8 -8
  206. package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  207. package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
  208. package/cdn/components/button/button.component.js +8 -8
  209. package/cdn/components/button/button.js +9 -9
  210. package/cdn/components/button-group/button-group.component.js +2 -2
  211. package/cdn/components/button-group/button-group.js +3 -3
  212. package/cdn/components/card/card.component.js +2 -2
  213. package/cdn/components/card/card.js +3 -3
  214. package/cdn/components/carousel/carousel.component.js +7 -7
  215. package/cdn/components/carousel/carousel.js +8 -8
  216. package/cdn/components/carousel-item/carousel-item.component.js +2 -2
  217. package/cdn/components/carousel-item/carousel-item.js +3 -3
  218. package/cdn/components/checkbox/checkbox.component.js +5 -5
  219. package/cdn/components/checkbox/checkbox.js +6 -6
  220. package/cdn/components/color-picker/color-picker.component.js +14 -14
  221. package/cdn/components/color-picker/color-picker.js +15 -15
  222. package/cdn/components/combobox/combobox.component.js +13 -13
  223. package/cdn/components/combobox/combobox.js +14 -14
  224. package/cdn/components/combobox/combobox.styles.js +1 -1
  225. package/cdn/components/copy-button/copy-button.component.js +9 -9
  226. package/cdn/components/copy-button/copy-button.js +10 -10
  227. package/cdn/components/date-picker/date-picker.component.d.ts +190 -0
  228. package/cdn/components/date-picker/date-picker.component.js +36 -0
  229. package/cdn/components/date-picker/date-picker.d.ts +8 -0
  230. package/cdn/components/date-picker/date-picker.js +37 -0
  231. package/cdn/components/date-picker/date-picker.styles.d.ts +2 -0
  232. package/cdn/components/date-picker/date-picker.styles.js +8 -0
  233. package/cdn/components/details/details.component.js +7 -7
  234. package/cdn/components/details/details.js +8 -8
  235. package/cdn/components/dialog/dialog.component.js +9 -9
  236. package/cdn/components/dialog/dialog.js +10 -10
  237. package/cdn/components/divider/divider.component.js +2 -2
  238. package/cdn/components/divider/divider.js +3 -3
  239. package/cdn/components/drawer/drawer.component.js +8 -8
  240. package/cdn/components/drawer/drawer.js +9 -9
  241. package/cdn/components/dropdown/dropdown.component.js +5 -5
  242. package/cdn/components/dropdown/dropdown.js +6 -6
  243. package/cdn/components/format-bytes/format-bytes.component.js +4 -4
  244. package/cdn/components/format-bytes/format-bytes.js +5 -5
  245. package/cdn/components/format-date/format-date.component.js +4 -4
  246. package/cdn/components/format-date/format-date.js +5 -5
  247. package/cdn/components/format-number/format-number.component.js +4 -4
  248. package/cdn/components/format-number/format-number.js +5 -5
  249. package/cdn/components/icon/icon.component.js +4 -4
  250. package/cdn/components/icon/icon.js +5 -5
  251. package/cdn/components/icon/library.js +2 -2
  252. package/cdn/components/icon-button/icon-button.component.js +5 -5
  253. package/cdn/components/icon-button/icon-button.js +6 -6
  254. package/cdn/components/image-comparer/image-comparer.component.js +7 -7
  255. package/cdn/components/image-comparer/image-comparer.js +8 -8
  256. package/cdn/components/include/include.component.js +3 -3
  257. package/cdn/components/include/include.js +4 -4
  258. package/cdn/components/input/input.component.js +7 -7
  259. package/cdn/components/input/input.js +8 -8
  260. package/cdn/components/menu/menu.component.js +2 -2
  261. package/cdn/components/menu/menu.js +3 -3
  262. package/cdn/components/menu-item/menu-item.component.js +9 -9
  263. package/cdn/components/menu-item/menu-item.js +10 -10
  264. package/cdn/components/menu-label/menu-label.component.js +2 -2
  265. package/cdn/components/menu-label/menu-label.js +3 -3
  266. package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
  267. package/cdn/components/mutation-observer/mutation-observer.js +3 -3
  268. package/cdn/components/option/option.component.js +7 -7
  269. package/cdn/components/option/option.js +8 -8
  270. package/cdn/components/pagination/pagination.component.d.ts +49 -0
  271. package/cdn/components/pagination/pagination.component.js +28 -0
  272. package/cdn/components/pagination/pagination.d.ts +8 -0
  273. package/cdn/components/pagination/pagination.js +29 -0
  274. package/cdn/components/pagination/pagination.styles.d.ts +2 -0
  275. package/cdn/components/pagination/pagination.styles.js +8 -0
  276. package/cdn/components/popup/popup.component.js +4 -4
  277. package/cdn/components/popup/popup.js +5 -5
  278. package/cdn/components/progress-bar/progress-bar.component.js +4 -4
  279. package/cdn/components/progress-bar/progress-bar.js +5 -5
  280. package/cdn/components/progress-ring/progress-ring.component.js +4 -4
  281. package/cdn/components/progress-ring/progress-ring.js +5 -5
  282. package/cdn/components/qr-code/qr-code.component.js +2 -2
  283. package/cdn/components/qr-code/qr-code.js +3 -3
  284. package/cdn/components/radio/radio.component.js +5 -5
  285. package/cdn/components/radio/radio.js +6 -6
  286. package/cdn/components/radio-button/radio-button.component.js +2 -2
  287. package/cdn/components/radio-button/radio-button.js +3 -3
  288. package/cdn/components/radio-group/radio-group.component.js +3 -3
  289. package/cdn/components/radio-group/radio-group.js +4 -4
  290. package/cdn/components/range/range.component.js +4 -4
  291. package/cdn/components/range/range.js +5 -5
  292. package/cdn/components/rating/rating.component.js +7 -7
  293. package/cdn/components/rating/rating.js +8 -8
  294. package/cdn/components/relative-time/relative-time.component.js +4 -4
  295. package/cdn/components/relative-time/relative-time.js +5 -5
  296. package/cdn/components/resize-observer/resize-observer.component.js +2 -2
  297. package/cdn/components/resize-observer/resize-observer.js +3 -3
  298. package/cdn/components/select/select.component.js +10 -10
  299. package/cdn/components/select/select.js +11 -11
  300. package/cdn/components/skeleton/skeleton.component.js +2 -2
  301. package/cdn/components/skeleton/skeleton.js +3 -3
  302. package/cdn/components/spinner/spinner.component.js +4 -4
  303. package/cdn/components/spinner/spinner.js +5 -5
  304. package/cdn/components/split-panel/split-panel.component.js +4 -4
  305. package/cdn/components/split-panel/split-panel.js +5 -5
  306. package/cdn/components/switch/switch.component.js +2 -2
  307. package/cdn/components/switch/switch.js +3 -3
  308. package/cdn/components/tab/tab.component.js +8 -8
  309. package/cdn/components/tab/tab.js +9 -9
  310. package/cdn/components/tab-group/tab-group.component.js +9 -9
  311. package/cdn/components/tab-group/tab-group.js +10 -10
  312. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  313. package/cdn/components/tab-panel/tab-panel.js +3 -3
  314. package/cdn/components/tag/tag.component.js +8 -8
  315. package/cdn/components/tag/tag.js +9 -9
  316. package/cdn/components/textarea/textarea.component.js +2 -2
  317. package/cdn/components/textarea/textarea.js +3 -3
  318. package/cdn/components/time-picker/time-picker.component.d.ts +184 -0
  319. package/cdn/components/time-picker/time-picker.component.js +35 -0
  320. package/cdn/components/time-picker/time-picker.d.ts +8 -0
  321. package/cdn/components/time-picker/time-picker.js +36 -0
  322. package/cdn/components/time-picker/time-picker.styles.d.ts +2 -0
  323. package/cdn/components/time-picker/time-picker.styles.js +8 -0
  324. package/cdn/components/tooltip/tooltip.component.js +5 -5
  325. package/cdn/components/tooltip/tooltip.js +6 -6
  326. package/cdn/components/tree/tree.component.js +10 -10
  327. package/cdn/components/tree/tree.js +11 -11
  328. package/cdn/components/tree-item/tree-item.component.js +9 -9
  329. package/cdn/components/tree-item/tree-item.js +10 -10
  330. package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
  331. package/cdn/components/visually-hidden/visually-hidden.js +3 -3
  332. package/cdn/custom-elements.json +9602 -7183
  333. package/cdn/cw-elements.d.ts +3 -0
  334. package/cdn/cw-elements.js +181 -163
  335. package/cdn/react/alert/index.js +9 -9
  336. package/cdn/react/animated-image/index.js +6 -6
  337. package/cdn/react/animation/index.js +3 -3
  338. package/cdn/react/avatar/index.js +6 -6
  339. package/cdn/react/badge/index.js +3 -3
  340. package/cdn/react/breadcrumb/index.js +8 -8
  341. package/cdn/react/breadcrumb-item/index.js +3 -3
  342. package/cdn/react/button/index.js +9 -9
  343. package/cdn/react/button-group/index.js +3 -3
  344. package/cdn/react/card/index.js +3 -3
  345. package/cdn/react/carousel/index.js +8 -8
  346. package/cdn/react/carousel-item/index.js +3 -3
  347. package/cdn/react/checkbox/index.js +6 -6
  348. package/cdn/react/color-picker/index.js +15 -15
  349. package/cdn/react/combobox/index.js +14 -14
  350. package/cdn/react/copy-button/index.js +10 -10
  351. package/cdn/react/date-picker/index.d.ts +81 -0
  352. package/cdn/react/date-picker/index.js +37 -0
  353. package/cdn/react/details/index.js +8 -8
  354. package/cdn/react/dialog/index.js +10 -10
  355. package/cdn/react/divider/index.js +3 -3
  356. package/cdn/react/drawer/index.js +9 -9
  357. package/cdn/react/dropdown/index.js +6 -6
  358. package/cdn/react/format-bytes/index.js +5 -5
  359. package/cdn/react/format-date/index.js +5 -5
  360. package/cdn/react/format-number/index.js +5 -5
  361. package/cdn/react/icon/index.js +5 -5
  362. package/cdn/react/icon-button/index.js +6 -6
  363. package/cdn/react/image-comparer/index.js +8 -8
  364. package/cdn/react/include/index.js +4 -4
  365. package/cdn/react/index.d.ts +3 -0
  366. package/cdn/react/index.js +179 -161
  367. package/cdn/react/input/index.js +8 -8
  368. package/cdn/react/menu/index.js +3 -3
  369. package/cdn/react/menu-item/index.js +10 -10
  370. package/cdn/react/menu-label/index.js +3 -3
  371. package/cdn/react/mutation-observer/index.js +3 -3
  372. package/cdn/react/option/index.js +8 -8
  373. package/cdn/react/pagination/index.d.ts +26 -0
  374. package/cdn/react/pagination/index.js +29 -0
  375. package/cdn/react/popup/index.js +5 -5
  376. package/cdn/react/progress-bar/index.js +5 -5
  377. package/cdn/react/progress-ring/index.js +5 -5
  378. package/cdn/react/qr-code/index.js +3 -3
  379. package/cdn/react/radio/index.js +6 -6
  380. package/cdn/react/radio-button/index.js +3 -3
  381. package/cdn/react/radio-group/index.js +4 -4
  382. package/cdn/react/range/index.js +5 -5
  383. package/cdn/react/rating/index.js +8 -8
  384. package/cdn/react/relative-time/index.js +5 -5
  385. package/cdn/react/resize-observer/index.js +3 -3
  386. package/cdn/react/select/index.js +11 -11
  387. package/cdn/react/skeleton/index.js +3 -3
  388. package/cdn/react/spinner/index.js +5 -5
  389. package/cdn/react/split-panel/index.js +5 -5
  390. package/cdn/react/switch/index.js +3 -3
  391. package/cdn/react/tab/index.js +9 -9
  392. package/cdn/react/tab-group/index.js +10 -10
  393. package/cdn/react/tab-panel/index.js +3 -3
  394. package/cdn/react/tag/index.js +9 -9
  395. package/cdn/react/textarea/index.js +3 -3
  396. package/cdn/react/time-picker/index.d.ts +77 -0
  397. package/cdn/react/time-picker/index.js +36 -0
  398. package/cdn/react/tooltip/index.js +6 -6
  399. package/cdn/react/tree/index.js +11 -11
  400. package/cdn/react/tree-item/index.js +10 -10
  401. package/cdn/react/visually-hidden/index.js +3 -3
  402. package/cdn/translations/da.js +2 -2
  403. package/cdn/translations/de-ch.js +2 -2
  404. package/cdn/translations/de.js +2 -2
  405. package/cdn/translations/en-gb.js +2 -2
  406. package/cdn/translations/en.js +1 -1
  407. package/cdn/translations/es.js +2 -2
  408. package/cdn/translations/fa.js +2 -2
  409. package/cdn/translations/fr.js +2 -2
  410. package/cdn/translations/he.js +2 -2
  411. package/cdn/translations/hu.js +2 -2
  412. package/cdn/translations/ja.js +2 -2
  413. package/cdn/translations/nb.js +2 -2
  414. package/cdn/translations/nl.js +2 -2
  415. package/cdn/translations/nn.js +2 -2
  416. package/cdn/translations/pl.js +2 -2
  417. package/cdn/translations/pt.js +2 -2
  418. package/cdn/translations/ru.js +2 -2
  419. package/cdn/translations/sv.js +2 -2
  420. package/cdn/translations/tr.js +2 -2
  421. package/cdn/translations/uk.js +2 -2
  422. package/cdn/translations/zh-cn.js +2 -2
  423. package/cdn/translations/zh-tw.js +2 -2
  424. package/cdn/types/vue/index.d.ts +314 -0
  425. package/cdn/utilities/icon-library.js +2 -2
  426. package/cdn/utilities/localize.d.ts +10 -0
  427. package/cdn/utilities/localize.js +2 -2
  428. package/cdn/vscode.html-custom-data.json +258 -0
  429. package/cdn/web-types.json +914 -181
  430. package/dist/chunks/{chunk.IDPNXIPQ.js → chunk.2H4HZOD6.js} +1 -1
  431. package/dist/chunks/{chunk.2LPGT5X7.js → chunk.2MQORRRY.js} +1 -1
  432. package/dist/chunks/{chunk.CVMFCNMM.js → chunk.2PKCIQLP.js} +1 -1
  433. package/dist/chunks/chunk.2RLWEUTO.js +33 -0
  434. package/dist/chunks/{chunk.SFYH2R4X.js → chunk.3J5QI4JK.js} +1 -1
  435. package/dist/chunks/{chunk.X5NZMCF5.js → chunk.3KHBUHFC.js} +1 -1
  436. package/dist/chunks/{chunk.AZHMWS6L.js → chunk.3SGQL66D.js} +2 -2
  437. package/dist/chunks/{chunk.L6QTSP3C.js → chunk.3TDGRVGW.js} +3 -3
  438. package/dist/chunks/{chunk.VMMAAE4P.js → chunk.43D3JN4D.js} +5 -5
  439. package/dist/chunks/{chunk.QGH7J6CH.js → chunk.4EVEVJPF.js} +1 -1
  440. package/{cdn/chunks/chunk.6LD6OBAE.js → dist/chunks/chunk.4IMMLOHV.js} +1 -1
  441. package/dist/chunks/{chunk.567JN6DK.js → chunk.4PELDTWU.js} +1 -1
  442. package/dist/chunks/{chunk.P2GJ4VV3.js → chunk.4QI4XQMO.js} +1 -1
  443. package/dist/chunks/{chunk.C7UXSUZS.js → chunk.5BCRHR5N.js} +1 -1
  444. package/dist/chunks/{chunk.NM6FV6GO.js → chunk.5FHLKLBD.js} +1 -1
  445. package/dist/chunks/{chunk.FFOZ5QYG.js → chunk.5LAPZTKG.js} +2 -2
  446. package/dist/chunks/{chunk.6UINBE7O.js → chunk.5NIRKV36.js} +1 -1
  447. package/{cdn/chunks/chunk.454DLRAB.js → dist/chunks/chunk.5Q7Z4CF5.js} +1 -1
  448. package/dist/chunks/{chunk.BK6L7XUN.js → chunk.5QKXA4SG.js} +1 -1
  449. package/dist/chunks/{chunk.XLC63U4A.js → chunk.5UHMCLES.js} +2 -2
  450. package/dist/chunks/{chunk.XSSQNTMJ.js → chunk.5Z6HEUEV.js} +4 -4
  451. package/dist/chunks/{chunk.RSQDRTVW.js → chunk.65DV4VYU.js} +2 -2
  452. package/{cdn/chunks/chunk.7CXBIEPO.js → dist/chunks/chunk.65IQW2LO.js} +1 -1
  453. package/dist/chunks/{chunk.BGVXOK25.js → chunk.6KCZ7HCZ.js} +1 -1
  454. package/{cdn/chunks/chunk.EUJOOI64.js → dist/chunks/chunk.6S2N3IGZ.js} +1 -1
  455. package/{cdn/chunks/chunk.M3T2MZBI.js → dist/chunks/chunk.6V4BLPJO.js} +1 -1
  456. package/dist/chunks/{chunk.UXEEZOF7.js → chunk.73HOFQXB.js} +2 -2
  457. package/dist/chunks/{chunk.Z5GWLXE7.js → chunk.76PNPNJ3.js} +2 -2
  458. package/dist/chunks/{chunk.DQHJ5K4Z.js → chunk.76QD6SEE.js} +5 -5
  459. package/dist/chunks/{chunk.AI4SASOJ.js → chunk.7F5K2B3K.js} +1 -1
  460. package/dist/chunks/{chunk.HE37CRVM.js → chunk.7H5CO23V.js} +1 -1
  461. package/{cdn/chunks/chunk.BL3LDZZ2.js → dist/chunks/chunk.7NNDVKVL.js} +1 -1
  462. package/{cdn/chunks/chunk.J3WFI2KI.js → dist/chunks/chunk.7R6FIZB3.js} +1 -1
  463. package/dist/chunks/{chunk.NDCLKVTA.js → chunk.7RBDQ2Q2.js} +6 -6
  464. package/dist/chunks/{chunk.ZQVN5QDH.js → chunk.7RGLY5S5.js} +1 -1
  465. package/{cdn/chunks/chunk.IST3R6UF.js → dist/chunks/chunk.7RZ4QYRJ.js} +1 -1
  466. package/dist/chunks/{chunk.GA7G5JW4.js → chunk.7UJMCUQZ.js} +3 -3
  467. package/{cdn/chunks/chunk.DDVLQEIQ.js → dist/chunks/chunk.7XNX5RX5.js} +1 -1
  468. package/dist/chunks/{chunk.CBBCTNVQ.js → chunk.ACJPI2ZP.js} +1 -1
  469. package/dist/chunks/{chunk.EBQIFLA3.js → chunk.AK7AQCUZ.js} +3 -3
  470. package/{cdn/chunks/chunk.GHZHB7GZ.js → dist/chunks/chunk.AMPETZRT.js} +1 -1
  471. package/dist/chunks/{chunk.UKRLMHI6.js → chunk.AO5R5WRH.js} +1 -1
  472. package/{cdn/chunks/chunk.YJB5ER7V.js → dist/chunks/chunk.AODRAEIP.js} +1 -1
  473. package/dist/chunks/{chunk.NQRPSUW2.js → chunk.ARJBERRZ.js} +1 -1
  474. package/{cdn/chunks/chunk.63AEUNNE.js → dist/chunks/chunk.ATZFHYGU.js} +1 -1
  475. package/dist/chunks/chunk.AX4VQJ2Y.js +837 -0
  476. package/{cdn/chunks/chunk.423POR7Z.js → dist/chunks/chunk.AY44GO7E.js} +1 -1
  477. package/dist/chunks/{chunk.QIDODUL4.js → chunk.B2H5BCXK.js} +1 -1
  478. package/{cdn/chunks/chunk.PEOS3WEQ.js → dist/chunks/chunk.BBCQTHKV.js} +1 -1
  479. package/dist/chunks/{chunk.2IO5RPED.js → chunk.BHQYPJVY.js} +2 -2
  480. package/{cdn/chunks/chunk.CXSU5TA7.js → dist/chunks/chunk.BW7LP64Q.js} +1 -1
  481. package/dist/chunks/{chunk.QHO2UAQT.js → chunk.C6CMN3L6.js} +1 -1
  482. package/dist/chunks/{chunk.SMSBTM6G.js → chunk.C73LCOB6.js} +1 -1
  483. package/dist/chunks/{chunk.DSY23EIY.js → chunk.CA4QX643.js} +1 -1
  484. package/{cdn/chunks/chunk.MOOLNJWA.js → dist/chunks/chunk.CIX52UF6.js} +1 -1
  485. package/dist/chunks/{chunk.E6532JK6.js → chunk.D6GLBPCC.js} +2 -2
  486. package/dist/chunks/{chunk.U23GUW3O.js → chunk.DEOXGA6Y.js} +1 -1
  487. package/dist/chunks/{chunk.SXSVZZB4.js → chunk.DFQRUEUQ.js} +11 -9
  488. package/{cdn/chunks/chunk.G3JTEGO6.js → dist/chunks/chunk.DW73DS3K.js} +1 -1
  489. package/dist/chunks/{chunk.2747IIKP.js → chunk.E6CN5MCG.js} +1 -1
  490. package/dist/chunks/{chunk.PTFZH4OX.js → chunk.ECLUEVFQ.js} +1 -1
  491. package/dist/chunks/{chunk.CZCGIYSR.js → chunk.ELM2KTTL.js} +1 -3
  492. package/dist/chunks/{chunk.SPZTN6LU.js → chunk.EPO6OMTJ.js} +1 -1
  493. package/dist/chunks/{chunk.HXFFB7NF.js → chunk.EXT4JQLR.js} +1 -1
  494. package/dist/chunks/chunk.EYA3B3XL.js +292 -0
  495. package/dist/chunks/{chunk.R73XOGFN.js → chunk.F32NLI2K.js} +1 -1
  496. package/dist/chunks/{chunk.DESAXJQ5.js → chunk.F3HU4FRE.js} +1 -1
  497. package/{cdn/chunks/chunk.3ZFAS3AL.js → dist/chunks/chunk.FHGNOZ3M.js} +1 -1
  498. package/dist/chunks/{chunk.WRL4DMNY.js → chunk.GACJOPHW.js} +1 -1
  499. package/dist/chunks/chunk.GB5ZNIFK.js +115 -0
  500. package/dist/chunks/{chunk.XHFMC7NL.js → chunk.GNTQPKMI.js} +1 -1
  501. package/dist/chunks/{chunk.ARSNH6JV.js → chunk.GR5TXY3I.js} +1 -1
  502. package/dist/chunks/chunk.H5OSCBD4.js +11 -0
  503. package/{cdn/chunks/chunk.AVK2F7R7.js → dist/chunks/chunk.H6XYUOZQ.js} +1 -1
  504. package/dist/chunks/{chunk.CVOBAEVZ.js → chunk.HQABLPRL.js} +1 -1
  505. package/dist/chunks/{chunk.ZON7Z32S.js → chunk.HR4KJEN7.js} +1 -1
  506. package/dist/chunks/{chunk.TKBUILRJ.js → chunk.IBBKXLSG.js} +1 -1
  507. package/dist/chunks/{chunk.IG74SDTK.js → chunk.IBFFKPMJ.js} +1 -1
  508. package/dist/chunks/{chunk.LE7AQJCB.js → chunk.IEHK5ZAT.js} +1 -1
  509. package/dist/chunks/{chunk.52M7YFL5.js → chunk.ILC22ZAI.js} +5 -5
  510. package/dist/chunks/{chunk.V53K453G.js → chunk.ISPW6VWV.js} +1 -1
  511. package/dist/chunks/{chunk.6XW7V33W.js → chunk.ITLMQYJE.js} +1 -1
  512. package/dist/chunks/{chunk.C5WPJECI.js → chunk.J4LIU6PI.js} +2 -2
  513. package/dist/chunks/{chunk.UQJ6QVAZ.js → chunk.JD34XJ6C.js} +2 -2
  514. package/dist/chunks/{chunk.JMQ7CTGW.js → chunk.JNQIYERA.js} +1 -1
  515. package/dist/chunks/{chunk.VTHFNCHH.js → chunk.K5Z3ITGZ.js} +1 -1
  516. package/dist/chunks/{chunk.YFCIPDEQ.js → chunk.K7LTF73O.js} +1 -1
  517. package/dist/chunks/{chunk.V3Z2BTMH.js → chunk.KDQUV5WY.js} +1 -1
  518. package/dist/chunks/{chunk.W2VPO4VE.js → chunk.KHBX4ULR.js} +5 -5
  519. package/dist/chunks/{chunk.IJ6QAZGA.js → chunk.KPHFMPFR.js} +1 -1
  520. package/dist/chunks/{chunk.P6WYIVRU.js → chunk.KQTQK5MD.js} +1 -1
  521. package/dist/chunks/{chunk.NMGHEELN.js → chunk.KZNVSSO7.js} +3 -3
  522. package/{cdn/chunks/chunk.QEEST3EB.js → dist/chunks/chunk.L4XMKPQH.js} +1 -1
  523. package/dist/chunks/{chunk.AUK3FUDQ.js → chunk.LAFKBNYZ.js} +1 -1
  524. package/dist/chunks/{chunk.GULR3V5I.js → chunk.LAFWNCOU.js} +1 -1
  525. package/{cdn/chunks/chunk.HNNT46J6.js → dist/chunks/chunk.LKADYOCK.js} +1 -1
  526. package/dist/chunks/{chunk.DM5MBJXC.js → chunk.LQ347S54.js} +2 -2
  527. package/dist/chunks/{chunk.6IFYZB4Q.js → chunk.LWLRBQ5J.js} +8 -8
  528. package/dist/chunks/{chunk.RDEJ5UJC.js → chunk.LWMAUYHC.js} +1 -1
  529. package/{cdn/chunks/chunk.APMZOTIL.js → dist/chunks/chunk.LXY3R7YG.js} +1 -1
  530. package/{cdn/chunks/chunk.FA53EVHS.js → dist/chunks/chunk.MDYXLMXH.js} +1 -1
  531. package/dist/chunks/{chunk.HFKJXCTI.js → chunk.MICTHKCS.js} +3 -3
  532. package/dist/chunks/{chunk.J7MTCPEZ.js → chunk.MQA77RMD.js} +2 -2
  533. package/dist/chunks/{chunk.LKYPNZHC.js → chunk.MVOUSXSF.js} +1 -1
  534. package/dist/chunks/{chunk.S3F7MIGD.js → chunk.NBUSQ542.js} +1 -1
  535. package/dist/chunks/chunk.NH42D4UE.js +24 -0
  536. package/{cdn/chunks/chunk.2KRVWKPV.js → dist/chunks/chunk.NP4OUAXU.js} +1 -1
  537. package/dist/chunks/{chunk.INTNI2AM.js → chunk.O2IU3M7C.js} +1 -1
  538. package/dist/chunks/{chunk.Q4YNMCNT.js → chunk.O2ZVM6SW.js} +4 -4
  539. package/dist/chunks/{chunk.ZR4MRID5.js → chunk.O4GMXCLR.js} +1 -1
  540. package/dist/chunks/chunk.O5XY6B7A.js +11 -0
  541. package/dist/chunks/{chunk.QTH5KWYR.js → chunk.OGWIBXT7.js} +1 -1
  542. package/dist/chunks/{chunk.K6UUETAU.js → chunk.OIFFM3XU.js} +2 -2
  543. package/dist/chunks/{chunk.JEUQMOE6.js → chunk.OIPUR7ON.js} +1 -1
  544. package/dist/chunks/{chunk.7TGFFVOO.js → chunk.PAX3G5WD.js} +1 -1
  545. package/dist/chunks/{chunk.NBSCYGEO.js → chunk.PFF33EOI.js} +1 -1
  546. package/dist/chunks/chunk.PQ3TMW3U.js +11 -0
  547. package/dist/chunks/{chunk.AVRTUBBV.js → chunk.PYUUOHXO.js} +1 -1
  548. package/dist/chunks/{chunk.T7XLHTVV.js → chunk.PZEU3QVW.js} +1 -1
  549. package/dist/chunks/{chunk.MNDGAY37.js → chunk.Q2KYARNF.js} +1 -1
  550. package/{cdn/chunks/chunk.ZRUOMTCM.js → dist/chunks/chunk.QCNSBCC4.js} +1 -1
  551. package/dist/chunks/{chunk.SZPMEWOB.js → chunk.QD6ZHCQB.js} +1 -1
  552. package/dist/chunks/{chunk.IEYNC5ZO.js → chunk.QDHPCZYU.js} +2 -2
  553. package/dist/chunks/{chunk.KT4VDHOS.js → chunk.QDI4JIQP.js} +1 -1
  554. package/dist/chunks/{chunk.U7K3BGXK.js → chunk.QXODBA7E.js} +3 -3
  555. package/dist/chunks/{chunk.3XXDGLXD.js → chunk.R55RM4C7.js} +1 -1
  556. package/dist/chunks/{chunk.SXVQRCVR.js → chunk.RGBGPSJY.js} +10 -0
  557. package/dist/chunks/{chunk.GF2IXBUV.js → chunk.RIZVMR72.js} +1 -1
  558. package/dist/chunks/{chunk.F4CQKCWM.js → chunk.RM5L3IOA.js} +3 -3
  559. package/dist/chunks/{chunk.44QRCJ3U.js → chunk.RU4DLCZV.js} +2 -2
  560. package/dist/chunks/{chunk.MDNPNMFX.js → chunk.S6V3X736.js} +3 -3
  561. package/dist/chunks/{chunk.UR6NVETE.js → chunk.SDOJGRAK.js} +1 -1
  562. package/{cdn/chunks/chunk.EK2GM3E7.js → dist/chunks/chunk.SEZSK32Z.js} +1 -1
  563. package/{cdn/chunks/chunk.2M4B6U6R.js → dist/chunks/chunk.SGSFAE2H.js} +1 -1
  564. package/dist/chunks/{chunk.WF35TQ3B.js → chunk.SOXPH2YX.js} +1 -1
  565. package/dist/chunks/{chunk.GDJZZD46.js → chunk.SPHLRGEH.js} +1 -1
  566. package/dist/chunks/{chunk.KBFG6YOY.js → chunk.SRCMHGIO.js} +4 -4
  567. package/dist/chunks/{chunk.DGVJSWGF.js → chunk.SU27LAPT.js} +1 -1
  568. package/dist/chunks/{chunk.5UHOHCG6.js → chunk.T2O3LNNZ.js} +1 -1
  569. package/dist/chunks/{chunk.3G3EPS43.js → chunk.T325IMR5.js} +1 -1
  570. package/{cdn/chunks/chunk.KZWBHZBX.js → dist/chunks/chunk.T532OZDW.js} +1 -1
  571. package/dist/chunks/{chunk.AR6SR2WY.js → chunk.TAFVMUNL.js} +1 -1
  572. package/{cdn/chunks/chunk.2QQBAJ2H.js → dist/chunks/chunk.TLANNMVK.js} +1 -1
  573. package/dist/chunks/{chunk.7SIWEJUF.js → chunk.TNOY6DAH.js} +3 -3
  574. package/dist/chunks/{chunk.QAT3D7DX.js → chunk.TRSBHO5X.js} +1 -1
  575. package/dist/chunks/{chunk.D24OLOG5.js → chunk.TWJDGQUP.js} +1 -1
  576. package/dist/chunks/{chunk.MBTECJ34.js → chunk.U2KFH7IQ.js} +1 -1
  577. package/dist/chunks/{chunk.HJPFAS7Y.js → chunk.U2VXEMIB.js} +1 -1
  578. package/dist/chunks/{chunk.NDYXHETJ.js → chunk.U3E4RUF3.js} +1 -1
  579. package/dist/chunks/chunk.U5LW3SOP.js +170 -0
  580. package/dist/chunks/{chunk.PMCE6ODO.js → chunk.UBMVNKLH.js} +1 -1
  581. package/dist/chunks/chunk.UGMPZPOC.js +896 -0
  582. package/dist/chunks/{chunk.IKWWODYQ.js → chunk.UQJIYR5Y.js} +1 -1
  583. package/dist/chunks/{chunk.M22HSCZX.js → chunk.UVAZQGMH.js} +2 -2
  584. package/dist/chunks/{chunk.7433LIYL.js → chunk.UYUXI3C5.js} +1 -1
  585. package/{cdn/chunks/chunk.G4S6PHF2.js → dist/chunks/chunk.UZ32VHHN.js} +1 -1
  586. package/{cdn/chunks/chunk.RLDOF26C.js → dist/chunks/chunk.V7L5VH2Q.js} +1 -1
  587. package/dist/chunks/{chunk.AL65PY7V.js → chunk.V7MYJXMP.js} +1 -1
  588. package/dist/chunks/{chunk.QXFO3QWK.js → chunk.VBV4B3MS.js} +1 -1
  589. package/dist/chunks/{chunk.IFDMWT4R.js → chunk.VOHIUZ6B.js} +1 -1
  590. package/dist/chunks/{chunk.U45TJLC6.js → chunk.VPBLXZTT.js} +1 -1
  591. package/dist/chunks/{chunk.QIRVGE6Z.js → chunk.VQCBJ2CK.js} +1 -1
  592. package/{cdn/chunks/chunk.DG6RRSBW.js → dist/chunks/chunk.VU3W74XH.js} +1 -1
  593. package/dist/chunks/chunk.W2GR4RJE.js +33 -0
  594. package/dist/chunks/{chunk.XISG4TGO.js → chunk.W4JLUJUI.js} +1 -1
  595. package/dist/chunks/{chunk.RX7RUQZB.js → chunk.WD6B4MTR.js} +1 -1
  596. package/{cdn/chunks/chunk.5CNMIFJF.js → dist/chunks/chunk.WJF5XUDZ.js} +1 -1
  597. package/dist/chunks/{chunk.SJ24DYR2.js → chunk.WTPEMOIE.js} +1 -1
  598. package/dist/chunks/{chunk.EIC7L5SA.js → chunk.WW7EXCNV.js} +1 -1
  599. package/dist/chunks/{chunk.5QQSIF7Z.js → chunk.X2CXPW44.js} +1 -1
  600. package/{cdn/chunks/chunk.2MAEADU5.js → dist/chunks/chunk.XBZBOF5F.js} +1 -1
  601. package/{cdn/chunks/chunk.JKVP3CWK.js → dist/chunks/chunk.XEIGR7UN.js} +1 -1
  602. package/dist/chunks/{chunk.XTZWIN4P.js → chunk.XMG7E7TA.js} +1 -1
  603. package/dist/chunks/{chunk.RBIK3ZI2.js → chunk.XN44PEUX.js} +1 -1
  604. package/dist/chunks/{chunk.KIDIHVHM.js → chunk.XOU3MYJD.js} +1 -1
  605. package/dist/chunks/{chunk.MGGJ5IGG.js → chunk.XPDQCCD3.js} +1 -1
  606. package/{cdn/chunks/chunk.BCYWOL5T.js → dist/chunks/chunk.XTSODF7Y.js} +1 -1
  607. package/{cdn/chunks/chunk.5U7RICDJ.js → dist/chunks/chunk.XYCRVLA3.js} +1 -1
  608. package/dist/chunks/{chunk.DOB2DE43.js → chunk.Y7NKENZS.js} +1 -1
  609. package/dist/chunks/{chunk.WQHQN73Y.js → chunk.YBDJDQJP.js} +1 -1
  610. package/dist/chunks/{chunk.O4BM2XHQ.js → chunk.YE5N3PSS.js} +1 -1
  611. package/dist/chunks/{chunk.GDTFI5GT.js → chunk.YK27CZ2Z.js} +3 -3
  612. package/dist/chunks/{chunk.5QIUN6VE.js → chunk.YMDR4GNB.js} +1 -1
  613. package/dist/chunks/{chunk.VIDPDBD4.js → chunk.YOSWTWCE.js} +4 -4
  614. package/dist/chunks/chunk.YQYPY5UZ.js +347 -0
  615. package/dist/chunks/{chunk.OMKCBDVN.js → chunk.YS6YVFW6.js} +1 -1
  616. package/dist/chunks/{chunk.PJOUZH3H.js → chunk.YYOXSBIU.js} +1 -1
  617. package/{cdn/chunks/chunk.BBY4XHBV.js → dist/chunks/chunk.Z2AEINB6.js} +1 -1
  618. package/dist/chunks/{chunk.LJZYTPHX.js → chunk.Z2UUL2QO.js} +3 -3
  619. package/dist/chunks/{chunk.NX5IE35B.js → chunk.Z2XNWJKH.js} +1 -1
  620. package/dist/chunks/{chunk.3MWRZHJI.js → chunk.Z4VHIICI.js} +3 -3
  621. package/dist/chunks/{chunk.HGYRJZEQ.js → chunk.ZF3SPCYS.js} +1 -1
  622. package/dist/chunks/{chunk.45UF2NV7.js → chunk.ZQVQKLWH.js} +3 -3
  623. package/dist/chunks/{chunk.RRA5SLN5.js → chunk.ZVXW5IDX.js} +3 -3
  624. package/dist/components/alert/alert.component.js +8 -8
  625. package/dist/components/alert/alert.js +9 -9
  626. package/dist/components/animated-image/animated-image.component.js +5 -5
  627. package/dist/components/animated-image/animated-image.js +6 -6
  628. package/dist/components/animation/animation.component.js +2 -2
  629. package/dist/components/animation/animation.js +3 -3
  630. package/dist/components/avatar/avatar.component.js +5 -5
  631. package/dist/components/avatar/avatar.js +6 -6
  632. package/dist/components/badge/badge.component.js +2 -2
  633. package/dist/components/badge/badge.js +3 -3
  634. package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
  635. package/dist/components/breadcrumb/breadcrumb.js +8 -8
  636. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  637. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  638. package/dist/components/button/button.component.js +8 -8
  639. package/dist/components/button/button.js +9 -9
  640. package/dist/components/button-group/button-group.component.js +2 -2
  641. package/dist/components/button-group/button-group.js +3 -3
  642. package/dist/components/card/card.component.js +2 -2
  643. package/dist/components/card/card.js +3 -3
  644. package/dist/components/carousel/carousel.component.js +7 -7
  645. package/dist/components/carousel/carousel.js +8 -8
  646. package/dist/components/carousel-item/carousel-item.component.js +2 -2
  647. package/dist/components/carousel-item/carousel-item.js +3 -3
  648. package/dist/components/checkbox/checkbox.component.js +5 -5
  649. package/dist/components/checkbox/checkbox.js +6 -6
  650. package/dist/components/color-picker/color-picker.component.js +14 -14
  651. package/dist/components/color-picker/color-picker.js +15 -15
  652. package/dist/components/combobox/combobox.component.js +13 -13
  653. package/dist/components/combobox/combobox.js +14 -14
  654. package/dist/components/combobox/combobox.styles.js +1 -1
  655. package/dist/components/copy-button/copy-button.component.js +9 -9
  656. package/dist/components/copy-button/copy-button.js +10 -10
  657. package/dist/components/date-picker/date-picker.component.d.ts +190 -0
  658. package/dist/components/date-picker/date-picker.component.js +29 -0
  659. package/dist/components/date-picker/date-picker.d.ts +8 -0
  660. package/dist/components/date-picker/date-picker.js +30 -0
  661. package/dist/components/date-picker/date-picker.styles.d.ts +2 -0
  662. package/dist/components/date-picker/date-picker.styles.js +7 -0
  663. package/dist/components/details/details.component.js +7 -7
  664. package/dist/components/details/details.js +8 -8
  665. package/dist/components/dialog/dialog.component.js +9 -9
  666. package/dist/components/dialog/dialog.js +10 -10
  667. package/dist/components/divider/divider.component.js +2 -2
  668. package/dist/components/divider/divider.js +3 -3
  669. package/dist/components/drawer/drawer.component.js +8 -8
  670. package/dist/components/drawer/drawer.js +9 -9
  671. package/dist/components/dropdown/dropdown.component.js +5 -5
  672. package/dist/components/dropdown/dropdown.js +6 -6
  673. package/dist/components/format-bytes/format-bytes.component.js +4 -4
  674. package/dist/components/format-bytes/format-bytes.js +5 -5
  675. package/dist/components/format-date/format-date.component.js +4 -4
  676. package/dist/components/format-date/format-date.js +5 -5
  677. package/dist/components/format-number/format-number.component.js +4 -4
  678. package/dist/components/format-number/format-number.js +5 -5
  679. package/dist/components/icon/icon.component.js +4 -4
  680. package/dist/components/icon/icon.js +5 -5
  681. package/dist/components/icon/library.js +2 -2
  682. package/dist/components/icon-button/icon-button.component.js +5 -5
  683. package/dist/components/icon-button/icon-button.js +6 -6
  684. package/dist/components/image-comparer/image-comparer.component.js +7 -7
  685. package/dist/components/image-comparer/image-comparer.js +8 -8
  686. package/dist/components/include/include.component.js +3 -3
  687. package/dist/components/include/include.js +4 -4
  688. package/dist/components/input/input.component.js +7 -7
  689. package/dist/components/input/input.js +8 -8
  690. package/dist/components/menu/menu.component.js +2 -2
  691. package/dist/components/menu/menu.js +3 -3
  692. package/dist/components/menu-item/menu-item.component.js +9 -9
  693. package/dist/components/menu-item/menu-item.js +10 -10
  694. package/dist/components/menu-label/menu-label.component.js +2 -2
  695. package/dist/components/menu-label/menu-label.js +3 -3
  696. package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
  697. package/dist/components/mutation-observer/mutation-observer.js +3 -3
  698. package/dist/components/option/option.component.js +7 -7
  699. package/dist/components/option/option.js +8 -8
  700. package/dist/components/pagination/pagination.component.d.ts +49 -0
  701. package/dist/components/pagination/pagination.component.js +21 -0
  702. package/dist/components/pagination/pagination.d.ts +8 -0
  703. package/dist/components/pagination/pagination.js +22 -0
  704. package/dist/components/pagination/pagination.styles.d.ts +2 -0
  705. package/dist/components/pagination/pagination.styles.js +7 -0
  706. package/dist/components/popup/popup.component.js +4 -4
  707. package/dist/components/popup/popup.js +5 -5
  708. package/dist/components/progress-bar/progress-bar.component.js +4 -4
  709. package/dist/components/progress-bar/progress-bar.js +5 -5
  710. package/dist/components/progress-ring/progress-ring.component.js +4 -4
  711. package/dist/components/progress-ring/progress-ring.js +5 -5
  712. package/dist/components/qr-code/qr-code.component.js +2 -2
  713. package/dist/components/qr-code/qr-code.js +3 -3
  714. package/dist/components/radio/radio.component.js +5 -5
  715. package/dist/components/radio/radio.js +6 -6
  716. package/dist/components/radio-button/radio-button.component.js +2 -2
  717. package/dist/components/radio-button/radio-button.js +3 -3
  718. package/dist/components/radio-group/radio-group.component.js +3 -3
  719. package/dist/components/radio-group/radio-group.js +4 -4
  720. package/dist/components/range/range.component.js +4 -4
  721. package/dist/components/range/range.js +5 -5
  722. package/dist/components/rating/rating.component.js +7 -7
  723. package/dist/components/rating/rating.js +8 -8
  724. package/dist/components/relative-time/relative-time.component.js +4 -4
  725. package/dist/components/relative-time/relative-time.js +5 -5
  726. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  727. package/dist/components/resize-observer/resize-observer.js +3 -3
  728. package/dist/components/select/select.component.js +10 -10
  729. package/dist/components/select/select.js +11 -11
  730. package/dist/components/skeleton/skeleton.component.js +2 -2
  731. package/dist/components/skeleton/skeleton.js +3 -3
  732. package/dist/components/spinner/spinner.component.js +4 -4
  733. package/dist/components/spinner/spinner.js +5 -5
  734. package/dist/components/split-panel/split-panel.component.js +4 -4
  735. package/dist/components/split-panel/split-panel.js +5 -5
  736. package/dist/components/switch/switch.component.js +2 -2
  737. package/dist/components/switch/switch.js +3 -3
  738. package/dist/components/tab/tab.component.js +8 -8
  739. package/dist/components/tab/tab.js +9 -9
  740. package/dist/components/tab-group/tab-group.component.js +9 -9
  741. package/dist/components/tab-group/tab-group.js +10 -10
  742. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  743. package/dist/components/tab-panel/tab-panel.js +3 -3
  744. package/dist/components/tag/tag.component.js +8 -8
  745. package/dist/components/tag/tag.js +9 -9
  746. package/dist/components/textarea/textarea.component.js +2 -2
  747. package/dist/components/textarea/textarea.js +3 -3
  748. package/dist/components/time-picker/time-picker.component.d.ts +184 -0
  749. package/dist/components/time-picker/time-picker.component.js +30 -0
  750. package/dist/components/time-picker/time-picker.d.ts +8 -0
  751. package/dist/components/time-picker/time-picker.js +31 -0
  752. package/dist/components/time-picker/time-picker.styles.d.ts +2 -0
  753. package/dist/components/time-picker/time-picker.styles.js +7 -0
  754. package/dist/components/tooltip/tooltip.component.js +5 -5
  755. package/dist/components/tooltip/tooltip.js +6 -6
  756. package/dist/components/tree/tree.component.js +10 -10
  757. package/dist/components/tree/tree.js +11 -11
  758. package/dist/components/tree-item/tree-item.component.js +9 -9
  759. package/dist/components/tree-item/tree-item.js +10 -10
  760. package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
  761. package/dist/components/visually-hidden/visually-hidden.js +3 -3
  762. package/dist/custom-elements.json +9602 -7183
  763. package/dist/cw-elements.d.ts +3 -0
  764. package/dist/cw-elements.js +181 -163
  765. package/dist/react/alert/index.js +9 -9
  766. package/dist/react/animated-image/index.js +6 -6
  767. package/dist/react/animation/index.js +3 -3
  768. package/dist/react/avatar/index.js +6 -6
  769. package/dist/react/badge/index.js +3 -3
  770. package/dist/react/breadcrumb/index.js +8 -8
  771. package/dist/react/breadcrumb-item/index.js +3 -3
  772. package/dist/react/button/index.js +9 -9
  773. package/dist/react/button-group/index.js +3 -3
  774. package/dist/react/card/index.js +3 -3
  775. package/dist/react/carousel/index.js +8 -8
  776. package/dist/react/carousel-item/index.js +3 -3
  777. package/dist/react/checkbox/index.js +6 -6
  778. package/dist/react/color-picker/index.js +15 -15
  779. package/dist/react/combobox/index.js +14 -14
  780. package/dist/react/copy-button/index.js +10 -10
  781. package/dist/react/date-picker/index.d.ts +81 -0
  782. package/dist/react/date-picker/index.js +30 -0
  783. package/dist/react/details/index.js +8 -8
  784. package/dist/react/dialog/index.js +10 -10
  785. package/dist/react/divider/index.js +3 -3
  786. package/dist/react/drawer/index.js +9 -9
  787. package/dist/react/dropdown/index.js +6 -6
  788. package/dist/react/format-bytes/index.js +5 -5
  789. package/dist/react/format-date/index.js +5 -5
  790. package/dist/react/format-number/index.js +5 -5
  791. package/dist/react/icon/index.js +5 -5
  792. package/dist/react/icon-button/index.js +6 -6
  793. package/dist/react/image-comparer/index.js +8 -8
  794. package/dist/react/include/index.js +4 -4
  795. package/dist/react/index.d.ts +3 -0
  796. package/dist/react/index.js +179 -161
  797. package/dist/react/input/index.js +8 -8
  798. package/dist/react/menu/index.js +3 -3
  799. package/dist/react/menu-item/index.js +10 -10
  800. package/dist/react/menu-label/index.js +3 -3
  801. package/dist/react/mutation-observer/index.js +3 -3
  802. package/dist/react/option/index.js +8 -8
  803. package/dist/react/pagination/index.d.ts +26 -0
  804. package/dist/react/pagination/index.js +22 -0
  805. package/dist/react/popup/index.js +5 -5
  806. package/dist/react/progress-bar/index.js +5 -5
  807. package/dist/react/progress-ring/index.js +5 -5
  808. package/dist/react/qr-code/index.js +3 -3
  809. package/dist/react/radio/index.js +6 -6
  810. package/dist/react/radio-button/index.js +3 -3
  811. package/dist/react/radio-group/index.js +4 -4
  812. package/dist/react/range/index.js +5 -5
  813. package/dist/react/rating/index.js +8 -8
  814. package/dist/react/relative-time/index.js +5 -5
  815. package/dist/react/resize-observer/index.js +3 -3
  816. package/dist/react/select/index.js +11 -11
  817. package/dist/react/skeleton/index.js +3 -3
  818. package/dist/react/spinner/index.js +5 -5
  819. package/dist/react/split-panel/index.js +5 -5
  820. package/dist/react/switch/index.js +3 -3
  821. package/dist/react/tab/index.js +9 -9
  822. package/dist/react/tab-group/index.js +10 -10
  823. package/dist/react/tab-panel/index.js +3 -3
  824. package/dist/react/tag/index.js +9 -9
  825. package/dist/react/textarea/index.js +3 -3
  826. package/dist/react/time-picker/index.d.ts +77 -0
  827. package/dist/react/time-picker/index.js +31 -0
  828. package/dist/react/tooltip/index.js +6 -6
  829. package/dist/react/tree/index.js +11 -11
  830. package/dist/react/tree-item/index.js +10 -10
  831. package/dist/react/visually-hidden/index.js +3 -3
  832. package/dist/translations/da.js +2 -2
  833. package/dist/translations/de-ch.js +3 -3
  834. package/dist/translations/de.js +3 -3
  835. package/dist/translations/en-gb.js +2 -2
  836. package/dist/translations/en.js +1 -1
  837. package/dist/translations/es.js +2 -2
  838. package/dist/translations/fa.js +2 -2
  839. package/dist/translations/fr.js +2 -2
  840. package/dist/translations/he.js +2 -2
  841. package/dist/translations/hu.js +2 -2
  842. package/dist/translations/ja.js +2 -2
  843. package/dist/translations/nb.js +2 -2
  844. package/dist/translations/nl.js +2 -2
  845. package/dist/translations/nn.js +2 -2
  846. package/dist/translations/pl.js +2 -2
  847. package/dist/translations/pt.js +2 -2
  848. package/dist/translations/ru.js +2 -2
  849. package/dist/translations/sv.js +2 -2
  850. package/dist/translations/tr.js +2 -2
  851. package/dist/translations/uk.js +2 -2
  852. package/dist/translations/zh-cn.js +2 -2
  853. package/dist/translations/zh-tw.js +2 -2
  854. package/dist/types/vue/index.d.ts +314 -0
  855. package/dist/utilities/icon-library.js +2 -2
  856. package/dist/utilities/localize.d.ts +10 -0
  857. package/dist/utilities/localize.js +2 -2
  858. package/dist/vscode.html-custom-data.json +258 -0
  859. package/dist/web-types.json +914 -181
  860. package/package.json +1 -1
  861. package/{dist/chunks/chunk.C4QY7KGQ.js → cdn/chunks/chunk.OOAK7TAG.js} +3 -3
  862. package/{cdn/chunks/chunk.C4QY7KGQ.js → dist/chunks/chunk.OOAK7TAG.js} +3 -3
@@ -0,0 +1,896 @@
1
+ import {
2
+ date_picker_styles_default
3
+ } from "./chunk.YQYPY5UZ.js";
4
+ import {
5
+ CwPopup
6
+ } from "./chunk.JD34XJ6C.js";
7
+ import {
8
+ form_control_styles_default
9
+ } from "./chunk.YBI2MSEM.js";
10
+ import {
11
+ FormControlController
12
+ } from "./chunk.PH2VNONO.js";
13
+ import {
14
+ CwIconButton
15
+ } from "./chunk.LQ347S54.js";
16
+ import {
17
+ getAnimation,
18
+ setDefaultAnimation
19
+ } from "./chunk.SPWJX47D.js";
20
+ import {
21
+ waitForEvent
22
+ } from "./chunk.B4BZKR24.js";
23
+ import {
24
+ animateTo,
25
+ stopAnimations
26
+ } from "./chunk.TJQYJP53.js";
27
+ import {
28
+ LocalizeController
29
+ } from "./chunk.2H4HZOD6.js";
30
+ import {
31
+ HasSlotController
32
+ } from "./chunk.BVGZUUCX.js";
33
+ import {
34
+ CwIcon
35
+ } from "./chunk.KHBX4ULR.js";
36
+ import {
37
+ watch
38
+ } from "./chunk.GQZ7EGMM.js";
39
+ import {
40
+ component_styles_default
41
+ } from "./chunk.TUVJKY7S.js";
42
+ import {
43
+ CwElement
44
+ } from "./chunk.4PELDTWU.js";
45
+ import {
46
+ __decorateClass
47
+ } from "./chunk.Q44EX5TP.js";
48
+
49
+ // src/components/date-picker/date-picker.component.ts
50
+ import { classMap } from "lit/directives/class-map.js";
51
+ import { html } from "lit";
52
+ import { ifDefined } from "lit/directives/if-defined.js";
53
+ import { property, query, state } from "lit/decorators.js";
54
+ var pad = (value) => String(value).padStart(2, "0");
55
+ var range = (start, end) => Array.from({ length: end - start + 1 }, (_, i) => start + i);
56
+ function makeDate(year, month, day) {
57
+ return new Date(year, month, day);
58
+ }
59
+ function isSameDay(a, b) {
60
+ return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();
61
+ }
62
+ function parseDateValue(value) {
63
+ const match = /^(\d{4})-(\d{2})-(\d{2})$/.exec(value.trim());
64
+ if (!match) {
65
+ return void 0;
66
+ }
67
+ const year = Number(match[1]);
68
+ const month = Number(match[2]);
69
+ const day = Number(match[3]);
70
+ const date = makeDate(year, month - 1, day);
71
+ if (date.getFullYear() !== year || date.getMonth() !== month - 1 || date.getDate() !== day) {
72
+ return void 0;
73
+ }
74
+ return date;
75
+ }
76
+ function formatDateValue(date) {
77
+ return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`;
78
+ }
79
+ function getMonthGrid(year, month, firstDayOfWeek, selected, min, max) {
80
+ const today = /* @__PURE__ */ new Date();
81
+ const firstOfMonth = makeDate(year, month, 1);
82
+ const startOffset = (firstOfMonth.getDay() - firstDayOfWeek + 7) % 7;
83
+ const start = makeDate(year, month, 1 - startOffset);
84
+ return range(0, 41).map((index) => {
85
+ const date = makeDate(start.getFullYear(), start.getMonth(), start.getDate() + index);
86
+ return {
87
+ date,
88
+ day: date.getDate(),
89
+ isCurrentMonth: date.getMonth() === month,
90
+ isToday: isSameDay(date, today),
91
+ isSelected: selected !== void 0 && isSameDay(date, selected),
92
+ isDisabled: min !== void 0 && date < min || max !== void 0 && date > max
93
+ };
94
+ });
95
+ }
96
+ var CwDatePicker = class extends CwElement {
97
+ constructor() {
98
+ super(...arguments);
99
+ this.formControlController = new FormControlController(this, {
100
+ assumeInteractionOn: ["cw-blur", "cw-input"]
101
+ });
102
+ this.hasSlotController = new HasSlotController(this, "help-text", "label");
103
+ this.localize = new LocalizeController(this);
104
+ this.hasFocus = false;
105
+ this.focusedDate = /* @__PURE__ */ new Date();
106
+ this.valueHasChanged = false;
107
+ this.name = "";
108
+ this._value = "";
109
+ this.defaultValue = "";
110
+ this.min = "";
111
+ this.max = "";
112
+ this.size = "medium";
113
+ this.placeholder = "";
114
+ this.disabled = false;
115
+ this.clearable = false;
116
+ this.open = false;
117
+ this.hoist = false;
118
+ this.filled = false;
119
+ this.pill = false;
120
+ this.label = "";
121
+ this.placement = "bottom";
122
+ this.helpText = "";
123
+ this.form = "";
124
+ this.required = false;
125
+ this.handleDocumentFocusIn = (event) => {
126
+ const path = event.composedPath();
127
+ if (this && !path.includes(this)) {
128
+ this.hide();
129
+ }
130
+ };
131
+ this.handleDocumentMouseDown = (event) => {
132
+ const path = event.composedPath();
133
+ if (this && !path.includes(this)) {
134
+ this.hide();
135
+ }
136
+ };
137
+ this.handleDocumentKeyDown = (event) => {
138
+ const target = event.target;
139
+ const isClearButton = target.closest(".date-picker__clear") !== null;
140
+ if (isClearButton) {
141
+ return;
142
+ }
143
+ if (event.key === "Escape" && this.open && !this.closeWatcher) {
144
+ event.preventDefault();
145
+ event.stopPropagation();
146
+ this.hide();
147
+ this.displayInput.focus({ preventScroll: true });
148
+ return;
149
+ }
150
+ if (event.key === "Enter" || event.key === " ") {
151
+ event.preventDefault();
152
+ if (!this.open) {
153
+ this.show();
154
+ return;
155
+ }
156
+ this.selectDate(this.focusedDate);
157
+ return;
158
+ }
159
+ const navigationKeys = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight", "Home", "End", "PageUp", "PageDown"];
160
+ if (navigationKeys.includes(event.key)) {
161
+ event.preventDefault();
162
+ if (!this.open) {
163
+ this.show();
164
+ return;
165
+ }
166
+ const isRtl = this.localize.dir() === "rtl";
167
+ switch (event.key) {
168
+ case "ArrowUp":
169
+ this.moveFocusedDate(-7);
170
+ break;
171
+ case "ArrowDown":
172
+ this.moveFocusedDate(7);
173
+ break;
174
+ case "ArrowLeft":
175
+ this.moveFocusedDate(isRtl ? 1 : -1);
176
+ break;
177
+ case "ArrowRight":
178
+ this.moveFocusedDate(isRtl ? -1 : 1);
179
+ break;
180
+ case "Home":
181
+ this.moveFocusedDateToStartOfWeek();
182
+ break;
183
+ case "End":
184
+ this.moveFocusedDateToEndOfWeek();
185
+ break;
186
+ case "PageUp":
187
+ if (event.shiftKey) {
188
+ this.navigateYear(-1);
189
+ } else {
190
+ this.navigateMonth(-1);
191
+ }
192
+ break;
193
+ case "PageDown":
194
+ if (event.shiftKey) {
195
+ this.navigateYear(1);
196
+ } else {
197
+ this.navigateMonth(1);
198
+ }
199
+ break;
200
+ }
201
+ }
202
+ };
203
+ }
204
+ get value() {
205
+ return this._value;
206
+ }
207
+ set value(val) {
208
+ if (this._value === val) {
209
+ return;
210
+ }
211
+ this.valueHasChanged = true;
212
+ this._value = val;
213
+ }
214
+ /** Gets the validity state object */
215
+ get validity() {
216
+ return this.valueInput.validity;
217
+ }
218
+ /** Gets the validation message */
219
+ get validationMessage() {
220
+ return this.valueInput.validationMessage;
221
+ }
222
+ // The current value parsed into a Date, or `undefined` if the value is empty/invalid
223
+ get parsedValue() {
224
+ return parseDateValue(this.value);
225
+ }
226
+ // The minimum selectable date, or `undefined` if `min` is empty/invalid
227
+ get parsedMin() {
228
+ return parseDateValue(this.min);
229
+ }
230
+ // The maximum selectable date, or `undefined` if `max` is empty/invalid
231
+ get parsedMax() {
232
+ return parseDateValue(this.max);
233
+ }
234
+ connectedCallback() {
235
+ super.connectedCallback();
236
+ this.open = false;
237
+ }
238
+ addOpenListeners() {
239
+ var _a;
240
+ document.addEventListener("focusin", this.handleDocumentFocusIn);
241
+ document.addEventListener("keydown", this.handleDocumentKeyDown);
242
+ document.addEventListener("mousedown", this.handleDocumentMouseDown);
243
+ if (this.getRootNode() !== document) {
244
+ this.getRootNode().addEventListener("focusin", this.handleDocumentFocusIn);
245
+ }
246
+ if ("CloseWatcher" in window) {
247
+ (_a = this.closeWatcher) == null ? void 0 : _a.destroy();
248
+ this.closeWatcher = new CloseWatcher();
249
+ this.closeWatcher.onclose = () => {
250
+ if (this.open) {
251
+ this.hide();
252
+ this.displayInput.focus({ preventScroll: true });
253
+ }
254
+ };
255
+ }
256
+ }
257
+ removeOpenListeners() {
258
+ var _a;
259
+ document.removeEventListener("focusin", this.handleDocumentFocusIn);
260
+ document.removeEventListener("keydown", this.handleDocumentKeyDown);
261
+ document.removeEventListener("mousedown", this.handleDocumentMouseDown);
262
+ if (this.getRootNode() !== document) {
263
+ this.getRootNode().removeEventListener("focusin", this.handleDocumentFocusIn);
264
+ }
265
+ (_a = this.closeWatcher) == null ? void 0 : _a.destroy();
266
+ }
267
+ handleFocus() {
268
+ this.hasFocus = true;
269
+ this.emit("cw-focus");
270
+ }
271
+ handleBlur() {
272
+ this.hasFocus = false;
273
+ this.emit("cw-blur");
274
+ }
275
+ handleLabelClick() {
276
+ this.displayInput.focus();
277
+ }
278
+ handleComboboxMouseDown(event) {
279
+ const path = event.composedPath();
280
+ const isIconButton = path.some((el) => el instanceof Element && el.tagName.toLowerCase() === "cw-icon-button");
281
+ if (this.disabled || isIconButton) {
282
+ return;
283
+ }
284
+ event.preventDefault();
285
+ this.displayInput.focus({ preventScroll: true });
286
+ this.open = !this.open;
287
+ }
288
+ handleComboboxKeyDown(event) {
289
+ if (event.key === "Tab") {
290
+ return;
291
+ }
292
+ event.stopPropagation();
293
+ this.handleDocumentKeyDown(event);
294
+ }
295
+ handleClearClick(event) {
296
+ event.stopPropagation();
297
+ if (this.value !== "") {
298
+ this.setDateValue(void 0);
299
+ this.displayInput.focus({ preventScroll: true });
300
+ this.updateComplete.then(() => {
301
+ this.emit("cw-clear");
302
+ this.emit("cw-input");
303
+ this.emit("cw-change");
304
+ });
305
+ }
306
+ }
307
+ handleClearMouseDown(event) {
308
+ event.stopPropagation();
309
+ event.preventDefault();
310
+ }
311
+ handleCalendarMouseDown(event) {
312
+ event.preventDefault();
313
+ }
314
+ handleDayClick(event) {
315
+ var _a;
316
+ const target = event.target;
317
+ const dayEl = target.closest(".date-picker__day");
318
+ if (!dayEl || this.disabled || dayEl.getAttribute("aria-disabled") === "true") {
319
+ return;
320
+ }
321
+ const date = parseDateValue((_a = dayEl.dataset.date) != null ? _a : "");
322
+ if (!date) {
323
+ return;
324
+ }
325
+ this.selectDate(date);
326
+ }
327
+ handlePreviousMonthClick() {
328
+ this.navigateMonth(-1);
329
+ this.displayInput.focus({ preventScroll: true });
330
+ }
331
+ handleNextMonthClick() {
332
+ this.navigateMonth(1);
333
+ this.displayInput.focus({ preventScroll: true });
334
+ }
335
+ handleInvalid(event) {
336
+ this.formControlController.setValidity(false);
337
+ this.formControlController.emitInvalidEvent(event);
338
+ }
339
+ // Determines the first day of the week (0 = Sunday, 6 = Saturday), falling back to the page's locale and then Sunday
340
+ getFirstDayOfWeek() {
341
+ var _a, _b;
342
+ if (this.firstDayOfWeek !== void 0) {
343
+ return (this.firstDayOfWeek % 7 + 7) % 7;
344
+ }
345
+ const locale = new Intl.Locale(this.localize.lang());
346
+ const firstDay = (_b = (_a = locale.getWeekInfo) == null ? void 0 : _a.call(locale)) == null ? void 0 : _b.firstDay;
347
+ return firstDay !== void 0 ? firstDay % 7 : 0;
348
+ }
349
+ // Returns the short and long localized names of each weekday, starting from the first day of the week
350
+ getWeekdayLabels(firstDayOfWeek) {
351
+ const shortFormat = new Intl.DateTimeFormat(this.localize.lang(), { weekday: "short" });
352
+ const longFormat = new Intl.DateTimeFormat(this.localize.lang(), { weekday: "long" });
353
+ return range(0, 6).map((offset) => {
354
+ const date = makeDate(2023, 0, 1 + (firstDayOfWeek + offset) % 7);
355
+ return { short: shortFormat.format(date), long: longFormat.format(date) };
356
+ });
357
+ }
358
+ // Returns the localized "Month YYYY" label for the calendar header
359
+ getHeaderLabel(date) {
360
+ return new Intl.DateTimeFormat(this.localize.lang(), { month: "long", year: "numeric" }).format(date);
361
+ }
362
+ // Returns the full localized label for a day, used for its accessible name
363
+ getDayLabel(date) {
364
+ return new Intl.DateTimeFormat(this.localize.lang(), {
365
+ weekday: "long",
366
+ month: "long",
367
+ day: "numeric",
368
+ year: "numeric"
369
+ }).format(date);
370
+ }
371
+ // Formats the current value for display in the input
372
+ get displayLabel() {
373
+ const date = this.parsedValue;
374
+ if (!date) {
375
+ return "";
376
+ }
377
+ return new Intl.DateTimeFormat(this.localize.lang(), { year: "numeric", month: "short", day: "numeric" }).format(
378
+ date
379
+ );
380
+ }
381
+ moveFocusedDate(deltaDays) {
382
+ const current = this.focusedDate;
383
+ this.focusedDate = makeDate(current.getFullYear(), current.getMonth(), current.getDate() + deltaDays);
384
+ }
385
+ moveFocusedDateToStartOfWeek() {
386
+ const current = this.focusedDate;
387
+ const firstDayOfWeek = this.getFirstDayOfWeek();
388
+ const offset = (current.getDay() - firstDayOfWeek + 7) % 7;
389
+ this.focusedDate = makeDate(current.getFullYear(), current.getMonth(), current.getDate() - offset);
390
+ }
391
+ moveFocusedDateToEndOfWeek() {
392
+ const current = this.focusedDate;
393
+ const firstDayOfWeek = this.getFirstDayOfWeek();
394
+ const offset = (current.getDay() - firstDayOfWeek + 7) % 7;
395
+ this.focusedDate = makeDate(current.getFullYear(), current.getMonth(), current.getDate() + (6 - offset));
396
+ }
397
+ // Moves the focused date to the same day in the previous/next month, clamping to the last day of that month
398
+ navigateMonth(delta) {
399
+ const current = this.focusedDate;
400
+ const daysInTargetMonth = makeDate(current.getFullYear(), current.getMonth() + delta + 1, 0).getDate();
401
+ this.focusedDate = makeDate(
402
+ current.getFullYear(),
403
+ current.getMonth() + delta,
404
+ Math.min(current.getDate(), daysInTargetMonth)
405
+ );
406
+ }
407
+ // Moves the focused date to the same day in the previous/next year, clamping to the last day of that month
408
+ navigateYear(delta) {
409
+ const current = this.focusedDate;
410
+ const daysInTargetMonth = makeDate(current.getFullYear() + delta, current.getMonth() + 1, 0).getDate();
411
+ this.focusedDate = makeDate(
412
+ current.getFullYear() + delta,
413
+ current.getMonth(),
414
+ Math.min(current.getDate(), daysInTargetMonth)
415
+ );
416
+ }
417
+ isDateDisabled(date) {
418
+ const min = this.parsedMin;
419
+ const max = this.parsedMax;
420
+ return min !== void 0 && date < min || max !== void 0 && date > max;
421
+ }
422
+ selectDate(date) {
423
+ if (this.isDateDisabled(date)) {
424
+ return;
425
+ }
426
+ const oldValue = this.value;
427
+ this.focusedDate = date;
428
+ this.setDateValue(date);
429
+ if (this.value !== oldValue) {
430
+ this.updateComplete.then(() => {
431
+ this.emit("cw-input");
432
+ this.emit("cw-change");
433
+ });
434
+ }
435
+ this.hide();
436
+ this.displayInput.focus({ preventScroll: true });
437
+ }
438
+ setDateValue(date) {
439
+ this.valueHasChanged = true;
440
+ this.value = date ? formatDateValue(date) : "";
441
+ }
442
+ // Determines which date should receive focus when the calendar opens
443
+ getInitialFocusDate() {
444
+ const value = this.parsedValue;
445
+ if (value) {
446
+ return value;
447
+ }
448
+ const today = makeDate((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate());
449
+ const min = this.parsedMin;
450
+ const max = this.parsedMax;
451
+ if (min !== void 0 && today < min) {
452
+ return min;
453
+ }
454
+ if (max !== void 0 && today > max) {
455
+ return max;
456
+ }
457
+ return today;
458
+ }
459
+ renderDay(day) {
460
+ const dateString = formatDateValue(day.date);
461
+ const isFocused = isSameDay(day.date, this.focusedDate);
462
+ return html`
463
+ <span
464
+ id="date-picker-day-${dateString}"
465
+ part="day"
466
+ role="gridcell"
467
+ class=${classMap({
468
+ "date-picker__day": true,
469
+ "date-picker__day--adjacent": !day.isCurrentMonth,
470
+ "date-picker__day--today": day.isToday,
471
+ "date-picker__day--selected": day.isSelected,
472
+ "date-picker__day--disabled": day.isDisabled,
473
+ "date-picker__day--focused": isFocused
474
+ })}
475
+ aria-selected=${day.isSelected ? "true" : "false"}
476
+ aria-disabled=${day.isDisabled ? "true" : "false"}
477
+ aria-current=${day.isToday ? "date" : "false"}
478
+ aria-label=${this.getDayLabel(day.date)}
479
+ data-date=${dateString}
480
+ >
481
+ ${day.day}
482
+ </span>
483
+ `;
484
+ }
485
+ renderCalendar() {
486
+ const firstDayOfWeek = this.getFirstDayOfWeek();
487
+ const weekdays = this.getWeekdayLabels(firstDayOfWeek);
488
+ const grid = getMonthGrid(
489
+ this.focusedDate.getFullYear(),
490
+ this.focusedDate.getMonth(),
491
+ firstDayOfWeek,
492
+ this.parsedValue,
493
+ this.parsedMin,
494
+ this.parsedMax
495
+ );
496
+ const weeks = range(0, 5).map((week) => grid.slice(week * 7, week * 7 + 7));
497
+ return html`
498
+ <div
499
+ id="calendar"
500
+ part="calendar"
501
+ class="date-picker__calendar"
502
+ hidden
503
+ @mousedown=${this.handleCalendarMouseDown}
504
+ @mouseup=${this.handleDayClick}
505
+ >
506
+ <div part="header" class="date-picker__header">
507
+ <cw-icon-button
508
+ part="previous-button"
509
+ exportparts="base:previous-button__base"
510
+ class="date-picker__previous"
511
+ name="chevron-left"
512
+ library="system"
513
+ label=${this.localize.term("previousMonth")}
514
+ @click=${this.handlePreviousMonthClick}
515
+ ></cw-icon-button>
516
+
517
+ <span part="heading" class="date-picker__heading" aria-live="polite">
518
+ ${this.getHeaderLabel(this.focusedDate)}
519
+ </span>
520
+
521
+ <cw-icon-button
522
+ part="next-button"
523
+ exportparts="base:next-button__base"
524
+ class="date-picker__next"
525
+ name="chevron-right"
526
+ library="system"
527
+ label=${this.localize.term("nextMonth")}
528
+ @click=${this.handleNextMonthClick}
529
+ ></cw-icon-button>
530
+ </div>
531
+
532
+ <div
533
+ id="grid"
534
+ part="grid"
535
+ class="date-picker__grid"
536
+ role="grid"
537
+ aria-label=${this.getHeaderLabel(this.focusedDate)}
538
+ >
539
+ <div part="weekdays" class="date-picker__weekdays" role="row">
540
+ ${weekdays.map(
541
+ (weekday) => html`
542
+ <span part="weekday" class="date-picker__weekday" role="columnheader" aria-label=${weekday.long}>
543
+ ${weekday.short}
544
+ </span>
545
+ `
546
+ )}
547
+ </div>
548
+
549
+ ${weeks.map(
550
+ (week) => html`
551
+ <div part="row" class="date-picker__row" role="row">${week.map((day) => this.renderDay(day))}</div>
552
+ `
553
+ )}
554
+ </div>
555
+ </div>
556
+ `;
557
+ }
558
+ handleDisabledChange() {
559
+ if (this.disabled) {
560
+ this.open = false;
561
+ this.handleOpenChange();
562
+ }
563
+ }
564
+ attributeChangedCallback(name, oldVal, newVal) {
565
+ super.attributeChangedCallback(name, oldVal, newVal);
566
+ if (name === "value") {
567
+ const cachedValueHasChanged = this.valueHasChanged;
568
+ this.value = this.defaultValue;
569
+ this.valueHasChanged = cachedValueHasChanged;
570
+ }
571
+ }
572
+ handleValueChange() {
573
+ if (!this.valueHasChanged) {
574
+ const cachedValueHasChanged = this.valueHasChanged;
575
+ this.value = this.defaultValue;
576
+ this.valueHasChanged = cachedValueHasChanged;
577
+ }
578
+ this.updateComplete.then(() => this.formControlController.updateValidity());
579
+ }
580
+ async handleOpenChange() {
581
+ if (this.open && !this.disabled) {
582
+ this.emit("cw-show");
583
+ this.addOpenListeners();
584
+ this.focusedDate = this.getInitialFocusDate();
585
+ await stopAnimations(this);
586
+ this.calendar.hidden = false;
587
+ this.popup.active = true;
588
+ const { keyframes, options } = getAnimation(this, "date-picker.show", { dir: this.localize.dir() });
589
+ await animateTo(this.popup.popup, keyframes, options);
590
+ this.emit("cw-after-show");
591
+ } else {
592
+ this.emit("cw-hide");
593
+ this.removeOpenListeners();
594
+ await stopAnimations(this);
595
+ const { keyframes, options } = getAnimation(this, "date-picker.hide", { dir: this.localize.dir() });
596
+ await animateTo(this.popup.popup, keyframes, options);
597
+ this.calendar.hidden = true;
598
+ this.popup.active = false;
599
+ this.emit("cw-after-hide");
600
+ }
601
+ }
602
+ /** Shows the calendar. */
603
+ async show() {
604
+ if (this.open || this.disabled) {
605
+ return void 0;
606
+ }
607
+ this.open = true;
608
+ return waitForEvent(this, "cw-after-show");
609
+ }
610
+ /** Hides the calendar. */
611
+ async hide() {
612
+ if (!this.open || this.disabled) {
613
+ return void 0;
614
+ }
615
+ this.open = false;
616
+ return waitForEvent(this, "cw-after-hide");
617
+ }
618
+ /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
619
+ checkValidity() {
620
+ return this.valueInput.checkValidity();
621
+ }
622
+ /** Gets the associated form, if one exists. */
623
+ getForm() {
624
+ return this.formControlController.getForm();
625
+ }
626
+ /** Checks for validity and shows the browser's validation message if the control is invalid. */
627
+ reportValidity() {
628
+ return this.valueInput.reportValidity();
629
+ }
630
+ /** Sets a custom validation message. Pass an empty string to restore validity. */
631
+ setCustomValidity(message) {
632
+ this.valueInput.setCustomValidity(message);
633
+ this.formControlController.updateValidity();
634
+ }
635
+ /** Sets focus on the control. */
636
+ focus(options) {
637
+ this.displayInput.focus(options);
638
+ }
639
+ /** Removes focus from the control. */
640
+ blur() {
641
+ this.displayInput.blur();
642
+ }
643
+ render() {
644
+ const hasLabelSlot = this.hasSlotController.test("label");
645
+ const hasHelpTextSlot = this.hasSlotController.test("help-text");
646
+ const hasLabel = this.label ? true : !!hasLabelSlot;
647
+ const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
648
+ const hasClearIcon = this.clearable && !this.disabled && this.value.length > 0;
649
+ const isPlaceholderVisible = this.placeholder && this.value.length === 0;
650
+ const activeDescendant = this.open ? `date-picker-day-${formatDateValue(this.focusedDate)}` : void 0;
651
+ return html`
652
+ <div
653
+ part="form-control"
654
+ class=${classMap({
655
+ "form-control": true,
656
+ "form-control--small": this.size === "small",
657
+ "form-control--medium": this.size === "medium",
658
+ "form-control--large": this.size === "large",
659
+ "form-control--has-label": hasLabel,
660
+ "form-control--has-help-text": hasHelpText
661
+ })}
662
+ >
663
+ <label
664
+ id="label"
665
+ part="form-control-label"
666
+ class="form-control__label"
667
+ aria-hidden=${hasLabel ? "false" : "true"}
668
+ @click=${this.handleLabelClick}
669
+ >
670
+ <slot name="label">${this.label}</slot>
671
+ </label>
672
+
673
+ <div part="form-control-input" class="form-control-input">
674
+ <cw-popup
675
+ class=${classMap({
676
+ "date-picker": true,
677
+ "date-picker--standard": true,
678
+ "date-picker--filled": this.filled,
679
+ "date-picker--pill": this.pill,
680
+ "date-picker--open": this.open,
681
+ "date-picker--disabled": this.disabled,
682
+ "date-picker--focused": this.hasFocus,
683
+ "date-picker--placeholder-visible": isPlaceholderVisible,
684
+ "date-picker--top": this.placement === "top",
685
+ "date-picker--bottom": this.placement === "bottom",
686
+ "date-picker--small": this.size === "small",
687
+ "date-picker--medium": this.size === "medium",
688
+ "date-picker--large": this.size === "large"
689
+ })}
690
+ placement=${this.placement}
691
+ strategy=${this.hoist ? "fixed" : "absolute"}
692
+ flip
693
+ shift
694
+ auto-size="vertical"
695
+ auto-size-padding="10"
696
+ >
697
+ <div
698
+ part="combobox"
699
+ class="date-picker__combobox"
700
+ slot="anchor"
701
+ @keydown=${this.handleComboboxKeyDown}
702
+ @mousedown=${this.handleComboboxMouseDown}
703
+ >
704
+ <slot part="prefix" name="prefix" class="date-picker__prefix"></slot>
705
+
706
+ <input
707
+ part="display-input"
708
+ class="date-picker__display-input"
709
+ type="text"
710
+ placeholder=${this.placeholder}
711
+ .disabled=${this.disabled}
712
+ .value=${this.displayLabel}
713
+ autocomplete="off"
714
+ spellcheck="false"
715
+ autocapitalize="off"
716
+ readonly
717
+ role="combobox"
718
+ aria-controls="grid"
719
+ aria-expanded=${this.open ? "true" : "false"}
720
+ aria-haspopup="grid"
721
+ aria-labelledby="label"
722
+ aria-disabled=${this.disabled ? "true" : "false"}
723
+ aria-describedby="help-text"
724
+ aria-activedescendant=${ifDefined(activeDescendant)}
725
+ tabindex="0"
726
+ @focus=${this.handleFocus}
727
+ @blur=${this.handleBlur}
728
+ />
729
+
730
+ <input
731
+ class="date-picker__value-input"
732
+ type="date"
733
+ ?disabled=${this.disabled}
734
+ ?required=${this.required}
735
+ min=${ifDefined(this.min || void 0)}
736
+ max=${ifDefined(this.max || void 0)}
737
+ .value=${this.value}
738
+ tabindex="-1"
739
+ aria-hidden="true"
740
+ @focus=${() => this.focus()}
741
+ @invalid=${this.handleInvalid}
742
+ />
743
+
744
+ ${hasClearIcon ? html`
745
+ <button
746
+ part="clear-button"
747
+ class="date-picker__clear"
748
+ type="button"
749
+ aria-label=${this.localize.term("clearEntry")}
750
+ @mousedown=${this.handleClearMouseDown}
751
+ @click=${this.handleClearClick}
752
+ tabindex="-1"
753
+ >
754
+ <slot name="clear-icon">
755
+ <cw-icon name="x-circle-fill" library="system"></cw-icon>
756
+ </slot>
757
+ </button>
758
+ ` : ""}
759
+
760
+ <slot name="suffix" part="suffix" class="date-picker__suffix"></slot>
761
+
762
+ <slot name="expand-icon" part="expand-icon" class="date-picker__expand-icon">
763
+ <cw-icon library="system" name="calendar3"></cw-icon>
764
+ </slot>
765
+ </div>
766
+
767
+ ${this.renderCalendar()}
768
+ </cw-popup>
769
+ </div>
770
+
771
+ <div
772
+ part="form-control-help-text"
773
+ id="help-text"
774
+ class="form-control__help-text"
775
+ aria-hidden=${hasHelpText ? "false" : "true"}
776
+ >
777
+ <slot name="help-text">${this.helpText}</slot>
778
+ </div>
779
+ </div>
780
+ `;
781
+ }
782
+ };
783
+ CwDatePicker.styles = [component_styles_default, form_control_styles_default, date_picker_styles_default];
784
+ CwDatePicker.dependencies = {
785
+ "cw-icon": CwIcon,
786
+ "cw-icon-button": CwIconButton,
787
+ "cw-popup": CwPopup
788
+ };
789
+ __decorateClass([
790
+ query(".date-picker")
791
+ ], CwDatePicker.prototype, "popup", 2);
792
+ __decorateClass([
793
+ query(".date-picker__combobox")
794
+ ], CwDatePicker.prototype, "combobox", 2);
795
+ __decorateClass([
796
+ query(".date-picker__display-input")
797
+ ], CwDatePicker.prototype, "displayInput", 2);
798
+ __decorateClass([
799
+ query(".date-picker__value-input")
800
+ ], CwDatePicker.prototype, "valueInput", 2);
801
+ __decorateClass([
802
+ query(".date-picker__calendar")
803
+ ], CwDatePicker.prototype, "calendar", 2);
804
+ __decorateClass([
805
+ state()
806
+ ], CwDatePicker.prototype, "hasFocus", 2);
807
+ __decorateClass([
808
+ state()
809
+ ], CwDatePicker.prototype, "focusedDate", 2);
810
+ __decorateClass([
811
+ state()
812
+ ], CwDatePicker.prototype, "valueHasChanged", 2);
813
+ __decorateClass([
814
+ property()
815
+ ], CwDatePicker.prototype, "name", 2);
816
+ __decorateClass([
817
+ state()
818
+ ], CwDatePicker.prototype, "value", 1);
819
+ __decorateClass([
820
+ property({ attribute: "value" })
821
+ ], CwDatePicker.prototype, "defaultValue", 2);
822
+ __decorateClass([
823
+ property()
824
+ ], CwDatePicker.prototype, "min", 2);
825
+ __decorateClass([
826
+ property()
827
+ ], CwDatePicker.prototype, "max", 2);
828
+ __decorateClass([
829
+ property({ attribute: "first-day-of-week", type: Number })
830
+ ], CwDatePicker.prototype, "firstDayOfWeek", 2);
831
+ __decorateClass([
832
+ property({ reflect: true })
833
+ ], CwDatePicker.prototype, "size", 2);
834
+ __decorateClass([
835
+ property()
836
+ ], CwDatePicker.prototype, "placeholder", 2);
837
+ __decorateClass([
838
+ property({ type: Boolean, reflect: true })
839
+ ], CwDatePicker.prototype, "disabled", 2);
840
+ __decorateClass([
841
+ property({ type: Boolean })
842
+ ], CwDatePicker.prototype, "clearable", 2);
843
+ __decorateClass([
844
+ property({ type: Boolean, reflect: true })
845
+ ], CwDatePicker.prototype, "open", 2);
846
+ __decorateClass([
847
+ property({ type: Boolean })
848
+ ], CwDatePicker.prototype, "hoist", 2);
849
+ __decorateClass([
850
+ property({ type: Boolean, reflect: true })
851
+ ], CwDatePicker.prototype, "filled", 2);
852
+ __decorateClass([
853
+ property({ type: Boolean, reflect: true })
854
+ ], CwDatePicker.prototype, "pill", 2);
855
+ __decorateClass([
856
+ property()
857
+ ], CwDatePicker.prototype, "label", 2);
858
+ __decorateClass([
859
+ property({ reflect: true })
860
+ ], CwDatePicker.prototype, "placement", 2);
861
+ __decorateClass([
862
+ property({ attribute: "help-text" })
863
+ ], CwDatePicker.prototype, "helpText", 2);
864
+ __decorateClass([
865
+ property({ reflect: true })
866
+ ], CwDatePicker.prototype, "form", 2);
867
+ __decorateClass([
868
+ property({ type: Boolean, reflect: true })
869
+ ], CwDatePicker.prototype, "required", 2);
870
+ __decorateClass([
871
+ watch("disabled", { waitUntilFirstUpdate: true })
872
+ ], CwDatePicker.prototype, "handleDisabledChange", 1);
873
+ __decorateClass([
874
+ watch(["defaultValue", "value"], { waitUntilFirstUpdate: true })
875
+ ], CwDatePicker.prototype, "handleValueChange", 1);
876
+ __decorateClass([
877
+ watch("open", { waitUntilFirstUpdate: true })
878
+ ], CwDatePicker.prototype, "handleOpenChange", 1);
879
+ setDefaultAnimation("date-picker.show", {
880
+ keyframes: [
881
+ { opacity: 0, scale: 0.9 },
882
+ { opacity: 1, scale: 1 }
883
+ ],
884
+ options: { duration: 100, easing: "ease" }
885
+ });
886
+ setDefaultAnimation("date-picker.hide", {
887
+ keyframes: [
888
+ { opacity: 1, scale: 1 },
889
+ { opacity: 0, scale: 0.9 }
890
+ ],
891
+ options: { duration: 100, easing: "ease" }
892
+ });
893
+
894
+ export {
895
+ CwDatePicker
896
+ };