@cordwainer/cw-elements 1.0.3 → 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 (1227) hide show
  1. package/cdn/chunks/chunk.2HCOWDQ2.js +292 -0
  2. package/cdn/chunks/chunk.2ITDDQ74.js +11 -0
  3. package/cdn/chunks/chunk.2XB4N7HP.js +24 -0
  4. package/cdn/chunks/chunk.33RKYZ3H.js +42 -0
  5. package/cdn/chunks/chunk.3AON4UYF.js +25 -0
  6. package/cdn/chunks/chunk.3CFMBWU5.js +11 -0
  7. package/cdn/chunks/chunk.3ITR3YMH.js +16 -0
  8. package/cdn/chunks/chunk.3KQQNJDR.js +11 -0
  9. package/cdn/chunks/chunk.3TSAB5QT.js +11 -0
  10. package/cdn/chunks/chunk.3Z3PLTUL.js +11 -0
  11. package/cdn/chunks/chunk.43VOQH3T.js +25 -0
  12. package/cdn/chunks/chunk.4EES6GOQ.js +24 -0
  13. package/cdn/chunks/chunk.4FMYZJVU.js +24 -0
  14. package/cdn/chunks/chunk.4JFCP6SO.js +299 -0
  15. package/cdn/chunks/chunk.4JLZWUJ2.js +302 -0
  16. package/cdn/chunks/chunk.4K7B4CJ6.js +821 -0
  17. package/cdn/chunks/chunk.4N647OPV.js +21 -0
  18. package/cdn/chunks/chunk.4SKKVZ55.js +233 -0
  19. package/cdn/chunks/chunk.52JGCTU5.js +29 -0
  20. package/cdn/chunks/chunk.5DU3XP7U.js +24 -0
  21. package/cdn/chunks/chunk.5OTXX577.js +24 -0
  22. package/cdn/chunks/chunk.5UHI74VE.js +844 -0
  23. package/cdn/chunks/chunk.655SUSW2.js +11 -0
  24. package/cdn/chunks/chunk.66W6K6UW.js +114 -0
  25. package/cdn/chunks/chunk.6D4WVN7S.js +28 -0
  26. package/cdn/chunks/chunk.6LLJOWGP.js +36 -0
  27. package/cdn/chunks/chunk.6RODMT7E.js +24 -0
  28. package/cdn/chunks/chunk.6YPK3JMS.js +1990 -0
  29. package/cdn/chunks/chunk.7OU3XWCS.js +120 -0
  30. package/cdn/chunks/chunk.7PW5UITU.js +21 -0
  31. package/cdn/chunks/chunk.7QBOR7UC.js +11 -0
  32. package/cdn/chunks/chunk.7YLCMHGB.js +11 -0
  33. package/cdn/chunks/chunk.A3K6BVEY.js +1925 -0
  34. package/cdn/chunks/chunk.AM7AFPJX.js +21 -0
  35. package/cdn/chunks/chunk.AOMTPHQE.js +11 -0
  36. package/cdn/chunks/chunk.ARJRMDAZ.js +969 -0
  37. package/cdn/chunks/chunk.ARU2MPJN.js +49 -0
  38. package/cdn/chunks/chunk.AWKIJZ56.js +21 -0
  39. package/cdn/chunks/chunk.B5JS5PSY.js +11 -0
  40. package/cdn/chunks/chunk.BCL5BS7M.js +267 -0
  41. package/cdn/chunks/chunk.BQNIJLQQ.js +11 -0
  42. package/cdn/chunks/chunk.BYPPYZSC.js +174 -0
  43. package/cdn/chunks/chunk.C5JCJOBY.js +25 -0
  44. package/cdn/chunks/chunk.C7IERU4U.js +113 -0
  45. package/cdn/chunks/chunk.CAANYHVQ.js +11 -0
  46. package/cdn/chunks/chunk.CBIBDTMJ.js +21 -0
  47. package/cdn/chunks/chunk.CNH6N7WQ.js +11 -0
  48. package/cdn/chunks/chunk.D2S7DWGA.js +25 -0
  49. package/cdn/chunks/chunk.D4D7Z3EO.js +11 -0
  50. package/cdn/chunks/chunk.D5ENUSZC.js +11 -0
  51. package/cdn/chunks/chunk.DCEJQIUE.js +279 -0
  52. package/cdn/chunks/chunk.DI3FKHCW.js +904 -0
  53. package/cdn/chunks/chunk.DRVRTRXM.js +27 -0
  54. package/cdn/chunks/chunk.DWK5PZP6.js +142 -0
  55. package/cdn/chunks/chunk.DZF6GS3W.js +28 -0
  56. package/cdn/chunks/chunk.E7ZSKWYG.js +297 -0
  57. package/cdn/chunks/chunk.EBASGSNC.js +11 -0
  58. package/cdn/chunks/chunk.ECL4K2S3.js +95 -0
  59. package/cdn/chunks/chunk.EIZM5IQF.js +25 -0
  60. package/cdn/chunks/chunk.EZ4P5QWF.js +295 -0
  61. package/cdn/chunks/chunk.F3FBYMAV.js +11 -0
  62. package/cdn/chunks/chunk.FAF5A5AU.js +21 -0
  63. package/cdn/chunks/chunk.FFPZJUHY.js +11 -0
  64. package/cdn/chunks/chunk.FIUOWQRA.js +11 -0
  65. package/cdn/chunks/chunk.FJIVURHU.js +87 -0
  66. package/cdn/chunks/chunk.FJLDW473.js +339 -0
  67. package/cdn/chunks/chunk.FMXM264S.js +75 -0
  68. package/cdn/chunks/chunk.FS5NO3ZJ.js +21 -0
  69. package/cdn/chunks/chunk.FS7R2DXQ.js +11 -0
  70. package/cdn/chunks/chunk.G2HEPOXB.js +11 -0
  71. package/cdn/chunks/chunk.GAQ7ZUAW.js +11 -0
  72. package/cdn/chunks/chunk.GOD4KD5Z.js +122 -0
  73. package/cdn/chunks/chunk.GOEVWHFJ.js +218 -0
  74. package/cdn/chunks/chunk.GXTWKGV2.js +29 -0
  75. package/cdn/chunks/chunk.GZUCTJRZ.js +26 -0
  76. package/cdn/chunks/chunk.H6L5SOQU.js +580 -0
  77. package/cdn/chunks/chunk.HEWQ2PCJ.js +93 -0
  78. package/cdn/chunks/chunk.HIKINB52.js +27 -0
  79. package/cdn/chunks/chunk.HNF62D2W.js +402 -0
  80. package/cdn/chunks/chunk.HNTITCGD.js +11 -0
  81. package/cdn/chunks/chunk.HOBAXFUI.js +11 -0
  82. package/cdn/chunks/chunk.HRI5Y66I.js +391 -0
  83. package/cdn/chunks/chunk.IDD4S3NG.js +25 -0
  84. package/cdn/chunks/chunk.IFN3MYUZ.js +29 -0
  85. package/cdn/chunks/chunk.IL2DQ3QY.js +21 -0
  86. package/cdn/chunks/chunk.IP6SNBIW.js +11 -0
  87. package/cdn/chunks/chunk.IPSBD5ME.js +11 -0
  88. package/cdn/chunks/chunk.IQBSTJ65.js +197 -0
  89. package/cdn/chunks/chunk.JFBDWP4U.js +63 -0
  90. package/cdn/chunks/chunk.JTXCFBR4.js +11 -0
  91. package/cdn/chunks/chunk.JW7KHZ4J.js +11 -0
  92. package/cdn/chunks/chunk.KFWRQHN7.js +11 -0
  93. package/cdn/chunks/chunk.KGID72UV.js +33 -0
  94. package/cdn/chunks/chunk.KL5BH3FA.js +24 -0
  95. package/cdn/chunks/chunk.KSHAFN7C.js +33 -0
  96. package/cdn/chunks/chunk.KV2FDPRK.js +137 -0
  97. package/cdn/chunks/chunk.KYNXASIK.js +25 -0
  98. package/cdn/chunks/chunk.L2C3QJBP.js +11 -0
  99. package/cdn/chunks/chunk.L4XWYK6U.js +11 -0
  100. package/cdn/chunks/chunk.LBBPR7N5.js +127 -0
  101. package/cdn/chunks/chunk.LBW2TUUF.js +724 -0
  102. package/cdn/chunks/chunk.LCLK7HWZ.js +97 -0
  103. package/cdn/chunks/chunk.LFFIOKB5.js +33 -0
  104. package/cdn/chunks/chunk.LGLAK7IY.js +11 -0
  105. package/cdn/chunks/chunk.LJJCBC53.js +24 -0
  106. package/cdn/chunks/chunk.LNNK5UGF.js +21 -0
  107. package/cdn/chunks/chunk.LR4QSFK2.js +49 -0
  108. package/cdn/chunks/chunk.LWORAYYY.js +11 -0
  109. package/cdn/chunks/chunk.LWYKDK2Q.js +236 -0
  110. package/cdn/chunks/chunk.LY3FQEUG.js +135 -0
  111. package/cdn/chunks/chunk.M3LS5AU5.js +11 -0
  112. package/cdn/chunks/chunk.MNQ4FIA2.js +11 -0
  113. package/cdn/chunks/chunk.MSOI5XB5.js +11 -0
  114. package/cdn/chunks/chunk.MTGAZOUU.js +11 -0
  115. package/cdn/chunks/chunk.MZTIJ5NI.js +103 -0
  116. package/cdn/chunks/chunk.N233KOTU.js +50 -0
  117. package/cdn/chunks/chunk.NDAKKJTZ.js +314 -0
  118. package/cdn/chunks/chunk.NECVATDY.js +21 -0
  119. package/cdn/chunks/chunk.NLRLLJCX.js +24 -0
  120. package/cdn/chunks/chunk.NPMHLMPG.js +21 -0
  121. package/cdn/chunks/chunk.NQG4ZBID.js +11 -0
  122. package/cdn/chunks/chunk.NR6EKIVZ.js +216 -0
  123. package/cdn/chunks/chunk.NUN5N26D.js +25 -0
  124. package/cdn/chunks/chunk.NYW7VFFN.js +21 -0
  125. package/cdn/chunks/chunk.OEEDTQST.js +11 -0
  126. package/cdn/chunks/chunk.OEIWKWEU.js +499 -0
  127. package/cdn/chunks/chunk.OEJAVM5K.js +33 -0
  128. package/cdn/chunks/chunk.OIDIDCJJ.js +11 -0
  129. package/cdn/chunks/chunk.ON57KIEN.js +67 -0
  130. package/cdn/chunks/chunk.OOAK7TAG.js +44 -0
  131. package/cdn/chunks/chunk.ORVZZGLB.js +21 -0
  132. package/cdn/chunks/chunk.OUA6SC6S.js +11 -0
  133. package/cdn/chunks/chunk.OUT2YMSY.js +21 -0
  134. package/cdn/chunks/chunk.P4EIGKJN.js +11 -0
  135. package/cdn/chunks/chunk.P4VJA7SF.js +11 -0
  136. package/cdn/chunks/chunk.PA5QOKP5.js +11 -0
  137. package/cdn/chunks/chunk.PBTGD2ZW.js +346 -0
  138. package/cdn/chunks/chunk.PDXMUT4D.js +118 -0
  139. package/cdn/chunks/chunk.PFYG5PQN.js +11 -0
  140. package/cdn/chunks/chunk.PYGN5SMV.js +186 -0
  141. package/cdn/chunks/chunk.QD5DJ6HW.js +118 -0
  142. package/cdn/chunks/chunk.QEGMANJD.js +11 -0
  143. package/cdn/chunks/chunk.QFKEAIZB.js +11 -0
  144. package/cdn/chunks/chunk.QH62LR5V.js +11 -0
  145. package/cdn/chunks/chunk.QOTLA23K.js +11 -0
  146. package/cdn/chunks/chunk.QPA3FW75.js +378 -0
  147. package/cdn/chunks/chunk.QU63JKLN.js +11 -0
  148. package/cdn/chunks/chunk.QWWQCQV3.js +24 -0
  149. package/cdn/chunks/chunk.R2VYKFDL.js +11 -0
  150. package/cdn/chunks/chunk.R5YQVTTD.js +28 -0
  151. package/cdn/chunks/chunk.R6T7GVPW.js +291 -0
  152. package/cdn/chunks/chunk.R7WIIHCX.js +73 -0
  153. package/cdn/chunks/chunk.ROJPM4GQ.js +24 -0
  154. package/cdn/chunks/chunk.RT4CAW3E.js +26 -0
  155. package/cdn/chunks/chunk.RZJ3HU54.js +367 -0
  156. package/cdn/chunks/chunk.S2AVYGHA.js +11 -0
  157. package/cdn/chunks/chunk.SDP7CF3A.js +24 -0
  158. package/cdn/chunks/chunk.SE2G7R3B.js +21 -0
  159. package/cdn/chunks/chunk.SNCZLCHW.js +77 -0
  160. package/cdn/chunks/chunk.SYCSG742.js +52 -0
  161. package/cdn/chunks/chunk.SZPC7S7X.js +255 -0
  162. package/cdn/chunks/chunk.T6VVR4ZE.js +21 -0
  163. package/cdn/chunks/chunk.T73FEO3I.js +11 -0
  164. package/cdn/chunks/chunk.TEV7KYVM.js +24 -0
  165. package/cdn/chunks/chunk.TKCWOOX6.js +11 -0
  166. package/cdn/chunks/chunk.TWMGSSDH.js +11 -0
  167. package/cdn/chunks/chunk.TZPNJJKB.js +11 -0
  168. package/cdn/chunks/chunk.UC7EWMAO.js +29 -0
  169. package/cdn/chunks/chunk.UJDGTUBN.js +26 -0
  170. package/cdn/chunks/chunk.ULWZXCAU.js +27 -0
  171. package/cdn/chunks/chunk.V5LILEPX.js +153 -0
  172. package/cdn/chunks/chunk.VAJXTKN4.js +11 -0
  173. package/cdn/chunks/chunk.VAOKIXI6.js +27 -0
  174. package/cdn/chunks/chunk.VDP6PTWO.js +21 -0
  175. package/cdn/chunks/chunk.VMPRIN5S.js +28 -0
  176. package/cdn/chunks/chunk.VWYUYCHL.js +158 -0
  177. package/cdn/chunks/chunk.W3N2EFBL.js +21 -0
  178. package/cdn/chunks/chunk.WAGPTPZE.js +11 -0
  179. package/cdn/chunks/chunk.WLRCSPNA.js +79 -0
  180. package/cdn/chunks/chunk.WQSEOTUN.js +11 -0
  181. package/cdn/chunks/chunk.WY27JU74.js +11 -0
  182. package/cdn/chunks/chunk.X7J57Z6J.js +11 -0
  183. package/cdn/chunks/chunk.XPKWG7LR.js +28 -0
  184. package/cdn/chunks/chunk.XQWZA6HB.js +21 -0
  185. package/cdn/chunks/chunk.Y2YDNSAD.js +27 -0
  186. package/cdn/chunks/chunk.Y6MNSLG2.js +350 -0
  187. package/cdn/chunks/chunk.YMYUMO3J.js +336 -0
  188. package/cdn/chunks/chunk.YXJDZ2OS.js +21 -0
  189. package/cdn/chunks/chunk.ZQL4G2MF.js +25 -0
  190. package/cdn/chunks/chunk.ZRPKY6II.js +11 -0
  191. package/cdn/chunks/chunk.ZSU7N44F.js +21 -0
  192. package/cdn/chunks/chunk.ZSVNJLS5.js +455 -0
  193. package/cdn/chunks/chunk.ZU6JOHHU.js +24 -0
  194. package/cdn/chunks/chunk.ZVSJARP7.js +82 -0
  195. package/cdn/components/alert/alert.component.js +8 -8
  196. package/cdn/components/alert/alert.js +9 -9
  197. package/cdn/components/animated-image/animated-image.component.js +5 -5
  198. package/cdn/components/animated-image/animated-image.js +6 -6
  199. package/cdn/components/animation/animation.component.js +2 -2
  200. package/cdn/components/animation/animation.js +3 -3
  201. package/cdn/components/avatar/avatar.component.js +5 -5
  202. package/cdn/components/avatar/avatar.js +6 -6
  203. package/cdn/components/badge/badge.component.js +2 -2
  204. package/cdn/components/badge/badge.js +3 -3
  205. package/cdn/components/breadcrumb/breadcrumb.component.js +7 -7
  206. package/cdn/components/breadcrumb/breadcrumb.js +8 -8
  207. package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  208. package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
  209. package/cdn/components/button/button.component.js +8 -8
  210. package/cdn/components/button/button.js +9 -9
  211. package/cdn/components/button-group/button-group.component.js +2 -2
  212. package/cdn/components/button-group/button-group.js +3 -3
  213. package/cdn/components/card/card.component.js +2 -2
  214. package/cdn/components/card/card.js +3 -3
  215. package/cdn/components/carousel/carousel.component.js +7 -7
  216. package/cdn/components/carousel/carousel.js +8 -8
  217. package/cdn/components/carousel-item/carousel-item.component.js +2 -2
  218. package/cdn/components/carousel-item/carousel-item.js +3 -3
  219. package/cdn/components/checkbox/checkbox.component.js +5 -5
  220. package/cdn/components/checkbox/checkbox.js +6 -6
  221. package/cdn/components/color-picker/color-picker.component.js +16 -16
  222. package/cdn/components/color-picker/color-picker.js +17 -17
  223. package/cdn/components/combobox/combobox.component.d.ts +219 -0
  224. package/cdn/components/combobox/combobox.component.js +44 -0
  225. package/cdn/components/combobox/combobox.d.ts +8 -0
  226. package/cdn/components/combobox/combobox.js +45 -0
  227. package/cdn/components/combobox/combobox.styles.d.ts +2 -0
  228. package/cdn/components/combobox/combobox.styles.js +8 -0
  229. package/cdn/components/copy-button/copy-button.component.js +10 -10
  230. package/cdn/components/copy-button/copy-button.js +11 -11
  231. package/cdn/components/date-picker/date-picker.component.d.ts +190 -0
  232. package/cdn/components/date-picker/date-picker.component.js +36 -0
  233. package/cdn/components/date-picker/date-picker.d.ts +8 -0
  234. package/cdn/components/date-picker/date-picker.js +37 -0
  235. package/cdn/components/date-picker/date-picker.styles.d.ts +2 -0
  236. package/cdn/components/date-picker/date-picker.styles.js +8 -0
  237. package/cdn/components/details/details.component.js +7 -7
  238. package/cdn/components/details/details.js +8 -8
  239. package/cdn/components/dialog/dialog.component.js +9 -9
  240. package/cdn/components/dialog/dialog.js +10 -10
  241. package/cdn/components/divider/divider.component.js +2 -2
  242. package/cdn/components/divider/divider.js +3 -3
  243. package/cdn/components/drawer/drawer.component.js +9 -9
  244. package/cdn/components/drawer/drawer.js +10 -10
  245. package/cdn/components/dropdown/dropdown.component.js +5 -5
  246. package/cdn/components/dropdown/dropdown.js +6 -6
  247. package/cdn/components/format-bytes/format-bytes.component.js +4 -4
  248. package/cdn/components/format-bytes/format-bytes.js +5 -5
  249. package/cdn/components/format-date/format-date.component.js +4 -4
  250. package/cdn/components/format-date/format-date.js +5 -5
  251. package/cdn/components/format-number/format-number.component.js +4 -4
  252. package/cdn/components/format-number/format-number.js +5 -5
  253. package/cdn/components/icon/icon.component.js +4 -4
  254. package/cdn/components/icon/icon.js +5 -5
  255. package/cdn/components/icon/library.js +2 -2
  256. package/cdn/components/icon-button/icon-button.component.js +5 -5
  257. package/cdn/components/icon-button/icon-button.js +6 -6
  258. package/cdn/components/image-comparer/image-comparer.component.js +7 -7
  259. package/cdn/components/image-comparer/image-comparer.js +8 -8
  260. package/cdn/components/include/include.component.js +2 -2
  261. package/cdn/components/include/include.js +3 -3
  262. package/cdn/components/input/input.component.js +7 -7
  263. package/cdn/components/input/input.js +8 -8
  264. package/cdn/components/menu/menu.component.js +2 -2
  265. package/cdn/components/menu/menu.js +3 -3
  266. package/cdn/components/menu-item/menu-item.component.js +9 -9
  267. package/cdn/components/menu-item/menu-item.js +10 -10
  268. package/cdn/components/menu-label/menu-label.component.js +2 -2
  269. package/cdn/components/menu-label/menu-label.js +3 -3
  270. package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
  271. package/cdn/components/mutation-observer/mutation-observer.js +3 -3
  272. package/cdn/components/option/option.component.js +7 -7
  273. package/cdn/components/option/option.js +8 -8
  274. package/cdn/components/pagination/pagination.component.d.ts +49 -0
  275. package/cdn/components/pagination/pagination.component.js +28 -0
  276. package/cdn/components/pagination/pagination.d.ts +8 -0
  277. package/cdn/components/pagination/pagination.js +29 -0
  278. package/cdn/components/pagination/pagination.styles.d.ts +2 -0
  279. package/cdn/components/pagination/pagination.styles.js +8 -0
  280. package/cdn/components/popup/popup.component.js +4 -4
  281. package/cdn/components/popup/popup.js +5 -5
  282. package/cdn/components/progress-bar/progress-bar.component.js +4 -4
  283. package/cdn/components/progress-bar/progress-bar.js +5 -5
  284. package/cdn/components/progress-ring/progress-ring.component.js +4 -4
  285. package/cdn/components/progress-ring/progress-ring.js +5 -5
  286. package/cdn/components/qr-code/qr-code.component.js +2 -2
  287. package/cdn/components/qr-code/qr-code.js +3 -3
  288. package/cdn/components/radio/radio.component.js +5 -5
  289. package/cdn/components/radio/radio.js +6 -6
  290. package/cdn/components/radio-button/radio-button.component.js +2 -2
  291. package/cdn/components/radio-button/radio-button.js +3 -3
  292. package/cdn/components/radio-group/radio-group.component.js +3 -3
  293. package/cdn/components/radio-group/radio-group.js +4 -4
  294. package/cdn/components/range/range.component.js +4 -4
  295. package/cdn/components/range/range.js +5 -5
  296. package/cdn/components/rating/rating.component.js +8 -8
  297. package/cdn/components/rating/rating.js +9 -9
  298. package/cdn/components/relative-time/relative-time.component.js +4 -4
  299. package/cdn/components/relative-time/relative-time.js +5 -5
  300. package/cdn/components/resize-observer/resize-observer.component.js +2 -2
  301. package/cdn/components/resize-observer/resize-observer.js +3 -3
  302. package/cdn/components/select/select.component.js +12 -12
  303. package/cdn/components/select/select.js +13 -13
  304. package/cdn/components/skeleton/skeleton.component.js +2 -2
  305. package/cdn/components/skeleton/skeleton.js +3 -3
  306. package/cdn/components/spinner/spinner.component.js +4 -4
  307. package/cdn/components/spinner/spinner.js +5 -5
  308. package/cdn/components/split-panel/split-panel.component.js +4 -4
  309. package/cdn/components/split-panel/split-panel.js +5 -5
  310. package/cdn/components/switch/switch.component.js +2 -2
  311. package/cdn/components/switch/switch.js +3 -3
  312. package/cdn/components/tab/tab.component.js +8 -8
  313. package/cdn/components/tab/tab.js +9 -9
  314. package/cdn/components/tab-group/tab-group.component.js +9 -9
  315. package/cdn/components/tab-group/tab-group.js +10 -10
  316. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  317. package/cdn/components/tab-panel/tab-panel.js +3 -3
  318. package/cdn/components/tag/tag.component.js +8 -8
  319. package/cdn/components/tag/tag.js +9 -9
  320. package/cdn/components/textarea/textarea.component.js +2 -2
  321. package/cdn/components/textarea/textarea.js +3 -3
  322. package/cdn/components/time-picker/time-picker.component.d.ts +184 -0
  323. package/cdn/components/time-picker/time-picker.component.js +35 -0
  324. package/cdn/components/time-picker/time-picker.d.ts +8 -0
  325. package/cdn/components/time-picker/time-picker.js +36 -0
  326. package/cdn/components/time-picker/time-picker.styles.d.ts +2 -0
  327. package/cdn/components/time-picker/time-picker.styles.js +8 -0
  328. package/cdn/components/tooltip/tooltip.component.js +5 -5
  329. package/cdn/components/tooltip/tooltip.js +6 -6
  330. package/cdn/components/tree/tree.component.js +11 -11
  331. package/cdn/components/tree/tree.js +12 -12
  332. package/cdn/components/tree-item/tree-item.component.js +9 -9
  333. package/cdn/components/tree-item/tree-item.js +10 -10
  334. package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
  335. package/cdn/components/visually-hidden/visually-hidden.js +3 -3
  336. package/cdn/custom-elements.json +10787 -7218
  337. package/cdn/cw-elements.d.ts +4 -0
  338. package/cdn/cw-elements.js +176 -152
  339. package/cdn/react/alert/index.js +9 -9
  340. package/cdn/react/animated-image/index.js +6 -6
  341. package/cdn/react/animation/index.js +3 -3
  342. package/cdn/react/avatar/index.js +6 -6
  343. package/cdn/react/badge/index.js +3 -3
  344. package/cdn/react/breadcrumb/index.js +8 -8
  345. package/cdn/react/breadcrumb-item/index.js +3 -3
  346. package/cdn/react/button/index.js +9 -9
  347. package/cdn/react/button-group/index.js +3 -3
  348. package/cdn/react/card/index.js +3 -3
  349. package/cdn/react/carousel/index.js +8 -8
  350. package/cdn/react/carousel-item/index.js +3 -3
  351. package/cdn/react/checkbox/index.js +6 -6
  352. package/cdn/react/color-picker/index.js +17 -17
  353. package/cdn/react/combobox/index.d.ts +87 -0
  354. package/cdn/react/combobox/index.js +45 -0
  355. package/cdn/react/copy-button/index.js +11 -11
  356. package/cdn/react/date-picker/index.d.ts +81 -0
  357. package/cdn/react/date-picker/index.js +37 -0
  358. package/cdn/react/details/index.js +8 -8
  359. package/cdn/react/dialog/index.js +10 -10
  360. package/cdn/react/divider/index.js +3 -3
  361. package/cdn/react/drawer/index.js +10 -10
  362. package/cdn/react/dropdown/index.js +6 -6
  363. package/cdn/react/format-bytes/index.js +5 -5
  364. package/cdn/react/format-date/index.js +5 -5
  365. package/cdn/react/format-number/index.js +5 -5
  366. package/cdn/react/icon/index.js +5 -5
  367. package/cdn/react/icon-button/index.js +6 -6
  368. package/cdn/react/image-comparer/index.js +8 -8
  369. package/cdn/react/include/index.js +3 -3
  370. package/cdn/react/index.d.ts +4 -0
  371. package/cdn/react/index.js +179 -155
  372. package/cdn/react/input/index.js +8 -8
  373. package/cdn/react/menu/index.js +3 -3
  374. package/cdn/react/menu-item/index.js +10 -10
  375. package/cdn/react/menu-label/index.js +3 -3
  376. package/cdn/react/mutation-observer/index.js +3 -3
  377. package/cdn/react/option/index.js +8 -8
  378. package/cdn/react/pagination/index.d.ts +26 -0
  379. package/cdn/react/pagination/index.js +29 -0
  380. package/cdn/react/popup/index.js +5 -5
  381. package/cdn/react/progress-bar/index.js +5 -5
  382. package/cdn/react/progress-ring/index.js +5 -5
  383. package/cdn/react/qr-code/index.js +3 -3
  384. package/cdn/react/radio/index.js +6 -6
  385. package/cdn/react/radio-button/index.js +3 -3
  386. package/cdn/react/radio-group/index.js +4 -4
  387. package/cdn/react/range/index.js +5 -5
  388. package/cdn/react/rating/index.js +9 -9
  389. package/cdn/react/relative-time/index.js +5 -5
  390. package/cdn/react/resize-observer/index.js +3 -3
  391. package/cdn/react/select/index.js +13 -13
  392. package/cdn/react/skeleton/index.js +3 -3
  393. package/cdn/react/spinner/index.js +5 -5
  394. package/cdn/react/split-panel/index.js +5 -5
  395. package/cdn/react/switch/index.js +3 -3
  396. package/cdn/react/tab/index.js +9 -9
  397. package/cdn/react/tab-group/index.js +10 -10
  398. package/cdn/react/tab-panel/index.js +3 -3
  399. package/cdn/react/tag/index.js +9 -9
  400. package/cdn/react/textarea/index.js +3 -3
  401. package/cdn/react/time-picker/index.d.ts +77 -0
  402. package/cdn/react/time-picker/index.js +36 -0
  403. package/cdn/react/tooltip/index.js +6 -6
  404. package/cdn/react/tree/index.js +12 -12
  405. package/cdn/react/tree-item/index.js +10 -10
  406. package/cdn/react/visually-hidden/index.js +3 -3
  407. package/cdn/translations/da.js +2 -2
  408. package/cdn/translations/de-ch.js +2 -2
  409. package/cdn/translations/de.js +2 -2
  410. package/cdn/translations/en-gb.js +2 -2
  411. package/cdn/translations/en.js +1 -1
  412. package/cdn/translations/es.js +2 -2
  413. package/cdn/translations/fa.js +2 -2
  414. package/cdn/translations/fr.js +2 -2
  415. package/cdn/translations/he.js +2 -2
  416. package/cdn/translations/hu.js +2 -2
  417. package/cdn/translations/ja.js +2 -2
  418. package/cdn/translations/nb.js +2 -2
  419. package/cdn/translations/nl.js +2 -2
  420. package/cdn/translations/nn.js +2 -2
  421. package/cdn/translations/pl.js +2 -2
  422. package/cdn/translations/pt.js +2 -2
  423. package/cdn/translations/ru.js +2 -2
  424. package/cdn/translations/sv.js +2 -2
  425. package/cdn/translations/tr.js +2 -2
  426. package/cdn/translations/uk.js +2 -2
  427. package/cdn/translations/zh-cn.js +2 -2
  428. package/cdn/translations/zh-tw.js +2 -2
  429. package/cdn/types/vue/index.d.ts +472 -0
  430. package/cdn/utilities/icon-library.js +2 -2
  431. package/cdn/utilities/localize.d.ts +10 -0
  432. package/cdn/utilities/localize.js +2 -2
  433. package/cdn/vscode.html-custom-data.json +377 -0
  434. package/cdn/web-types.json +2113 -1026
  435. package/dist/chunks/chunk.2H4HZOD6.js +15 -0
  436. package/dist/chunks/chunk.2MQORRRY.js +11 -0
  437. package/dist/chunks/chunk.2PKCIQLP.js +42 -0
  438. package/dist/chunks/chunk.2RLWEUTO.js +33 -0
  439. package/dist/chunks/chunk.3J5QI4JK.js +25 -0
  440. package/dist/chunks/chunk.3KHBUHFC.js +11 -0
  441. package/dist/chunks/chunk.3SGQL66D.js +34 -0
  442. package/dist/chunks/chunk.3TDGRVGW.js +231 -0
  443. package/dist/chunks/chunk.43D3JN4D.js +813 -0
  444. package/dist/chunks/chunk.4EVEVJPF.js +11 -0
  445. package/dist/chunks/chunk.4IMMLOHV.js +21 -0
  446. package/dist/chunks/chunk.4PELDTWU.js +94 -0
  447. package/dist/chunks/chunk.4QI4XQMO.js +370 -0
  448. package/dist/chunks/chunk.5BCRHR5N.js +11 -0
  449. package/dist/chunks/chunk.5FHLKLBD.js +33 -0
  450. package/dist/chunks/chunk.5LAPZTKG.js +67 -0
  451. package/dist/chunks/chunk.5NIRKV36.js +11 -0
  452. package/dist/chunks/chunk.5Q7Z4CF5.js +11 -0
  453. package/dist/chunks/chunk.5QKXA4SG.js +11 -0
  454. package/dist/chunks/chunk.5UHMCLES.js +113 -0
  455. package/dist/chunks/chunk.5Z6HEUEV.js +227 -0
  456. package/dist/chunks/chunk.65DV4VYU.js +294 -0
  457. package/dist/chunks/chunk.65IQW2LO.js +11 -0
  458. package/dist/chunks/chunk.6KCZ7HCZ.js +21 -0
  459. package/dist/chunks/chunk.6S2N3IGZ.js +24 -0
  460. package/dist/chunks/chunk.6V4BLPJO.js +27 -0
  461. package/dist/chunks/chunk.73HOFQXB.js +73 -0
  462. package/dist/chunks/chunk.76PNPNJ3.js +116 -0
  463. package/dist/chunks/chunk.76QD6SEE.js +192 -0
  464. package/dist/chunks/chunk.7F5K2B3K.js +11 -0
  465. package/dist/chunks/chunk.7H5CO23V.js +21 -0
  466. package/dist/chunks/chunk.7NNDVKVL.js +27 -0
  467. package/dist/chunks/chunk.7R6FIZB3.js +26 -0
  468. package/dist/chunks/chunk.7RBDQ2Q2.js +290 -0
  469. package/dist/chunks/chunk.7RGLY5S5.js +11 -0
  470. package/dist/chunks/chunk.7RZ4QYRJ.js +24 -0
  471. package/dist/chunks/chunk.7UJMCUQZ.js +93 -0
  472. package/dist/chunks/chunk.7XNX5RX5.js +21 -0
  473. package/dist/chunks/chunk.ACJPI2ZP.js +21 -0
  474. package/dist/chunks/chunk.AK7AQCUZ.js +397 -0
  475. package/dist/chunks/chunk.AMPETZRT.js +25 -0
  476. package/dist/chunks/chunk.AO5R5WRH.js +11 -0
  477. package/dist/chunks/chunk.AODRAEIP.js +27 -0
  478. package/dist/chunks/chunk.ARJBERRZ.js +11 -0
  479. package/dist/chunks/chunk.ATZFHYGU.js +11 -0
  480. package/dist/chunks/chunk.AX4VQJ2Y.js +837 -0
  481. package/dist/chunks/chunk.AY44GO7E.js +11 -0
  482. package/dist/chunks/chunk.B2H5BCXK.js +26 -0
  483. package/dist/chunks/chunk.BBCQTHKV.js +25 -0
  484. package/dist/chunks/chunk.BHQYPJVY.js +85 -0
  485. package/dist/chunks/chunk.BW7LP64Q.js +28 -0
  486. package/dist/chunks/chunk.C6CMN3L6.js +21 -0
  487. package/dist/chunks/chunk.C73LCOB6.js +11 -0
  488. package/dist/chunks/chunk.CA4QX643.js +135 -0
  489. package/dist/chunks/chunk.CIX52UF6.js +11 -0
  490. package/dist/chunks/chunk.D6GLBPCC.js +50 -0
  491. package/dist/chunks/chunk.DEOXGA6Y.js +11 -0
  492. package/dist/chunks/chunk.DFQRUEUQ.js +961 -0
  493. package/dist/chunks/chunk.DW73DS3K.js +21 -0
  494. package/dist/chunks/chunk.E6CN5MCG.js +45 -0
  495. package/dist/chunks/chunk.ECLUEVFQ.js +11 -0
  496. package/dist/chunks/chunk.ELM2KTTL.js +336 -0
  497. package/dist/chunks/chunk.EPO6OMTJ.js +11 -0
  498. package/dist/chunks/chunk.EXT4JQLR.js +42 -0
  499. package/dist/chunks/chunk.EYA3B3XL.js +292 -0
  500. package/dist/chunks/chunk.F32NLI2K.js +22 -0
  501. package/dist/chunks/chunk.F3HU4FRE.js +11 -0
  502. package/dist/chunks/chunk.FHGNOZ3M.js +24 -0
  503. package/dist/chunks/chunk.GACJOPHW.js +21 -0
  504. package/dist/chunks/chunk.GB5ZNIFK.js +115 -0
  505. package/dist/chunks/chunk.GNTQPKMI.js +22 -0
  506. package/dist/chunks/chunk.GR5TXY3I.js +11 -0
  507. package/dist/chunks/chunk.H5OSCBD4.js +11 -0
  508. package/dist/chunks/chunk.H6XYUOZQ.js +21 -0
  509. package/dist/chunks/chunk.HQABLPRL.js +11 -0
  510. package/dist/chunks/chunk.HR4KJEN7.js +21 -0
  511. package/dist/chunks/chunk.IBBKXLSG.js +247 -0
  512. package/dist/chunks/chunk.IBFFKPMJ.js +21 -0
  513. package/dist/chunks/chunk.IEHK5ZAT.js +28 -0
  514. package/dist/chunks/chunk.ILC22ZAI.js +315 -0
  515. package/dist/chunks/chunk.ISPW6VWV.js +25 -0
  516. package/dist/chunks/chunk.ITLMQYJE.js +11 -0
  517. package/dist/chunks/chunk.J4LIU6PI.js +109 -0
  518. package/dist/chunks/chunk.JD34XJ6C.js +417 -0
  519. package/dist/chunks/chunk.JNQIYERA.js +80 -0
  520. package/dist/chunks/chunk.K5Z3ITGZ.js +24 -0
  521. package/dist/chunks/chunk.K7LTF73O.js +11 -0
  522. package/dist/chunks/chunk.KDQUV5WY.js +11 -0
  523. package/dist/chunks/chunk.KHBX4ULR.js +181 -0
  524. package/dist/chunks/chunk.KPHFMPFR.js +11 -0
  525. package/dist/chunks/chunk.KQTQK5MD.js +111 -0
  526. package/dist/chunks/chunk.KZNVSSO7.js +280 -0
  527. package/dist/chunks/chunk.L4XMKPQH.js +25 -0
  528. package/dist/chunks/chunk.LAFKBNYZ.js +119 -0
  529. package/dist/chunks/chunk.LAFWNCOU.js +11 -0
  530. package/dist/chunks/chunk.LKADYOCK.js +24 -0
  531. package/dist/chunks/chunk.LQ347S54.js +126 -0
  532. package/dist/chunks/chunk.LWLRBQ5J.js +949 -0
  533. package/dist/chunks/chunk.LWMAUYHC.js +26 -0
  534. package/dist/chunks/chunk.LXY3R7YG.js +21 -0
  535. package/dist/chunks/chunk.MDYXLMXH.js +11 -0
  536. package/dist/chunks/chunk.MICTHKCS.js +151 -0
  537. package/dist/chunks/chunk.MQA77RMD.js +100 -0
  538. package/dist/chunks/chunk.MVOUSXSF.js +91 -0
  539. package/dist/chunks/chunk.NBUSQ542.js +24 -0
  540. package/dist/chunks/chunk.NH42D4UE.js +24 -0
  541. package/dist/chunks/chunk.NP4OUAXU.js +11 -0
  542. package/dist/chunks/chunk.O2IU3M7C.js +24 -0
  543. package/dist/chunks/chunk.O2ZVM6SW.js +75 -0
  544. package/dist/chunks/chunk.O4GMXCLR.js +134 -0
  545. package/dist/chunks/chunk.O5XY6B7A.js +11 -0
  546. package/dist/chunks/chunk.OGWIBXT7.js +63 -0
  547. package/dist/chunks/chunk.OIFFM3XU.js +75 -0
  548. package/dist/chunks/chunk.OIPUR7ON.js +11 -0
  549. package/dist/chunks/chunk.OOAK7TAG.js +44 -0
  550. package/dist/chunks/chunk.PAX3G5WD.js +11 -0
  551. package/dist/chunks/chunk.PFF33EOI.js +11 -0
  552. package/dist/chunks/chunk.PQ3TMW3U.js +11 -0
  553. package/dist/chunks/chunk.PYUUOHXO.js +11 -0
  554. package/dist/chunks/chunk.PZEU3QVW.js +29 -0
  555. package/dist/chunks/chunk.Q2KYARNF.js +11 -0
  556. package/dist/chunks/chunk.QCNSBCC4.js +21 -0
  557. package/dist/chunks/chunk.QD6ZHCQB.js +11 -0
  558. package/dist/chunks/chunk.QDHPCZYU.js +361 -0
  559. package/dist/chunks/chunk.QDI4JIQP.js +21 -0
  560. package/dist/chunks/chunk.QXODBA7E.js +274 -0
  561. package/dist/chunks/chunk.R55RM4C7.js +21 -0
  562. package/dist/chunks/chunk.RGBGPSJY.js +49 -0
  563. package/dist/chunks/chunk.RIZVMR72.js +28 -0
  564. package/dist/chunks/chunk.RM5L3IOA.js +90 -0
  565. package/dist/chunks/chunk.RU4DLCZV.js +337 -0
  566. package/dist/chunks/chunk.S6V3X736.js +311 -0
  567. package/dist/chunks/chunk.SDOJGRAK.js +11 -0
  568. package/dist/chunks/chunk.SEZSK32Z.js +29 -0
  569. package/dist/chunks/chunk.SGSFAE2H.js +11 -0
  570. package/dist/chunks/chunk.SOXPH2YX.js +11 -0
  571. package/dist/chunks/chunk.SPHLRGEH.js +24 -0
  572. package/dist/chunks/chunk.SRCMHGIO.js +448 -0
  573. package/dist/chunks/chunk.SU27LAPT.js +21 -0
  574. package/dist/chunks/chunk.T2O3LNNZ.js +11 -0
  575. package/dist/chunks/chunk.T325IMR5.js +21 -0
  576. package/dist/chunks/chunk.T532OZDW.js +28 -0
  577. package/dist/chunks/chunk.TAFVMUNL.js +24 -0
  578. package/dist/chunks/chunk.TLANNMVK.js +29 -0
  579. package/dist/chunks/chunk.TNOY6DAH.js +491 -0
  580. package/dist/chunks/chunk.TRSBHO5X.js +213 -0
  581. package/dist/chunks/chunk.TWJDGQUP.js +21 -0
  582. package/dist/chunks/chunk.U2KFH7IQ.js +11 -0
  583. package/dist/chunks/chunk.U2VXEMIB.js +27 -0
  584. package/dist/chunks/chunk.U3E4RUF3.js +25 -0
  585. package/dist/chunks/chunk.U5LW3SOP.js +170 -0
  586. package/dist/chunks/chunk.UBMVNKLH.js +11 -0
  587. package/dist/chunks/chunk.UGMPZPOC.js +896 -0
  588. package/dist/chunks/chunk.UQJIYR5Y.js +25 -0
  589. package/dist/chunks/chunk.UVAZQGMH.js +259 -0
  590. package/dist/chunks/chunk.UYUXI3C5.js +11 -0
  591. package/dist/chunks/chunk.UZ32VHHN.js +25 -0
  592. package/dist/chunks/chunk.V7L5VH2Q.js +28 -0
  593. package/dist/chunks/chunk.V7MYJXMP.js +11 -0
  594. package/dist/chunks/chunk.VBV4B3MS.js +45 -0
  595. package/dist/chunks/chunk.VOHIUZ6B.js +11 -0
  596. package/dist/chunks/chunk.VPBLXZTT.js +11 -0
  597. package/dist/chunks/chunk.VQCBJ2CK.js +25 -0
  598. package/dist/chunks/chunk.VU3W74XH.js +11 -0
  599. package/dist/chunks/chunk.W2GR4RJE.js +33 -0
  600. package/dist/chunks/chunk.W4JLUJUI.js +21 -0
  601. package/dist/chunks/chunk.WD6B4MTR.js +11 -0
  602. package/dist/chunks/chunk.WJF5XUDZ.js +21 -0
  603. package/dist/chunks/chunk.WTPEMOIE.js +29 -0
  604. package/dist/chunks/chunk.WW7EXCNV.js +11 -0
  605. package/dist/chunks/chunk.X2CXPW44.js +11 -0
  606. package/dist/chunks/chunk.XBZBOF5F.js +11 -0
  607. package/dist/chunks/chunk.XEIGR7UN.js +11 -0
  608. package/dist/chunks/chunk.XMG7E7TA.js +24 -0
  609. package/dist/chunks/chunk.XN44PEUX.js +11 -0
  610. package/dist/chunks/chunk.XOU3MYJD.js +21 -0
  611. package/dist/chunks/chunk.XPDQCCD3.js +11 -0
  612. package/dist/chunks/chunk.XTSODF7Y.js +33 -0
  613. package/dist/chunks/chunk.XYCRVLA3.js +11 -0
  614. package/dist/chunks/chunk.Y7NKENZS.js +11 -0
  615. package/dist/chunks/chunk.YBDJDQJP.js +11 -0
  616. package/dist/chunks/chunk.YE5N3PSS.js +59 -0
  617. package/dist/chunks/chunk.YK27CZ2Z.js +550 -0
  618. package/dist/chunks/chunk.YMDR4GNB.js +11 -0
  619. package/dist/chunks/chunk.YOSWTWCE.js +293 -0
  620. package/dist/chunks/chunk.YQYPY5UZ.js +347 -0
  621. package/dist/chunks/chunk.YS6YVFW6.js +11 -0
  622. package/dist/chunks/chunk.YYOXSBIU.js +11 -0
  623. package/dist/chunks/chunk.Z2AEINB6.js +24 -0
  624. package/dist/chunks/chunk.Z2UUL2QO.js +117 -0
  625. package/dist/chunks/chunk.Z2XNWJKH.js +25 -0
  626. package/dist/chunks/chunk.Z4VHIICI.js +147 -0
  627. package/dist/chunks/chunk.ZF3SPCYS.js +100 -0
  628. package/dist/chunks/chunk.ZQVQKLWH.js +286 -0
  629. package/dist/chunks/chunk.ZVXW5IDX.js +384 -0
  630. package/dist/components/alert/alert.component.js +8 -8
  631. package/dist/components/alert/alert.js +9 -9
  632. package/dist/components/animated-image/animated-image.component.js +5 -5
  633. package/dist/components/animated-image/animated-image.js +6 -6
  634. package/dist/components/animation/animation.component.js +2 -2
  635. package/dist/components/animation/animation.js +3 -3
  636. package/dist/components/avatar/avatar.component.js +5 -5
  637. package/dist/components/avatar/avatar.js +6 -6
  638. package/dist/components/badge/badge.component.js +2 -2
  639. package/dist/components/badge/badge.js +3 -3
  640. package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
  641. package/dist/components/breadcrumb/breadcrumb.js +8 -8
  642. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  643. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  644. package/dist/components/button/button.component.js +8 -8
  645. package/dist/components/button/button.js +9 -9
  646. package/dist/components/button-group/button-group.component.js +2 -2
  647. package/dist/components/button-group/button-group.js +3 -3
  648. package/dist/components/card/card.component.js +2 -2
  649. package/dist/components/card/card.js +3 -3
  650. package/dist/components/carousel/carousel.component.js +7 -7
  651. package/dist/components/carousel/carousel.js +8 -8
  652. package/dist/components/carousel-item/carousel-item.component.js +2 -2
  653. package/dist/components/carousel-item/carousel-item.js +3 -3
  654. package/dist/components/checkbox/checkbox.component.js +5 -5
  655. package/dist/components/checkbox/checkbox.js +6 -6
  656. package/dist/components/color-picker/color-picker.component.js +16 -16
  657. package/dist/components/color-picker/color-picker.js +17 -17
  658. package/dist/components/combobox/combobox.component.d.ts +219 -0
  659. package/dist/components/combobox/combobox.component.js +36 -0
  660. package/dist/components/combobox/combobox.d.ts +8 -0
  661. package/dist/components/combobox/combobox.js +37 -0
  662. package/dist/components/combobox/combobox.styles.d.ts +2 -0
  663. package/dist/components/combobox/combobox.styles.js +7 -0
  664. package/dist/components/copy-button/copy-button.component.js +10 -10
  665. package/dist/components/copy-button/copy-button.js +11 -11
  666. package/dist/components/date-picker/date-picker.component.d.ts +190 -0
  667. package/dist/components/date-picker/date-picker.component.js +29 -0
  668. package/dist/components/date-picker/date-picker.d.ts +8 -0
  669. package/dist/components/date-picker/date-picker.js +30 -0
  670. package/dist/components/date-picker/date-picker.styles.d.ts +2 -0
  671. package/dist/components/date-picker/date-picker.styles.js +7 -0
  672. package/dist/components/details/details.component.js +7 -7
  673. package/dist/components/details/details.js +8 -8
  674. package/dist/components/dialog/dialog.component.js +9 -9
  675. package/dist/components/dialog/dialog.js +10 -10
  676. package/dist/components/divider/divider.component.js +2 -2
  677. package/dist/components/divider/divider.js +3 -3
  678. package/dist/components/drawer/drawer.component.js +9 -9
  679. package/dist/components/drawer/drawer.js +10 -10
  680. package/dist/components/dropdown/dropdown.component.js +5 -5
  681. package/dist/components/dropdown/dropdown.js +6 -6
  682. package/dist/components/format-bytes/format-bytes.component.js +4 -4
  683. package/dist/components/format-bytes/format-bytes.js +5 -5
  684. package/dist/components/format-date/format-date.component.js +4 -4
  685. package/dist/components/format-date/format-date.js +5 -5
  686. package/dist/components/format-number/format-number.component.js +4 -4
  687. package/dist/components/format-number/format-number.js +5 -5
  688. package/dist/components/icon/icon.component.js +4 -4
  689. package/dist/components/icon/icon.js +5 -5
  690. package/dist/components/icon/library.js +2 -2
  691. package/dist/components/icon-button/icon-button.component.js +5 -5
  692. package/dist/components/icon-button/icon-button.js +6 -6
  693. package/dist/components/image-comparer/image-comparer.component.js +7 -7
  694. package/dist/components/image-comparer/image-comparer.js +8 -8
  695. package/dist/components/include/include.component.js +2 -2
  696. package/dist/components/include/include.js +3 -3
  697. package/dist/components/input/input.component.js +7 -7
  698. package/dist/components/input/input.js +8 -8
  699. package/dist/components/menu/menu.component.js +2 -2
  700. package/dist/components/menu/menu.js +3 -3
  701. package/dist/components/menu-item/menu-item.component.js +9 -9
  702. package/dist/components/menu-item/menu-item.js +10 -10
  703. package/dist/components/menu-label/menu-label.component.js +2 -2
  704. package/dist/components/menu-label/menu-label.js +3 -3
  705. package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
  706. package/dist/components/mutation-observer/mutation-observer.js +3 -3
  707. package/dist/components/option/option.component.js +7 -7
  708. package/dist/components/option/option.js +8 -8
  709. package/dist/components/pagination/pagination.component.d.ts +49 -0
  710. package/dist/components/pagination/pagination.component.js +21 -0
  711. package/dist/components/pagination/pagination.d.ts +8 -0
  712. package/dist/components/pagination/pagination.js +22 -0
  713. package/dist/components/pagination/pagination.styles.d.ts +2 -0
  714. package/dist/components/pagination/pagination.styles.js +7 -0
  715. package/dist/components/popup/popup.component.js +4 -4
  716. package/dist/components/popup/popup.js +5 -5
  717. package/dist/components/progress-bar/progress-bar.component.js +4 -4
  718. package/dist/components/progress-bar/progress-bar.js +5 -5
  719. package/dist/components/progress-ring/progress-ring.component.js +4 -4
  720. package/dist/components/progress-ring/progress-ring.js +5 -5
  721. package/dist/components/qr-code/qr-code.component.js +2 -2
  722. package/dist/components/qr-code/qr-code.js +3 -3
  723. package/dist/components/radio/radio.component.js +5 -5
  724. package/dist/components/radio/radio.js +6 -6
  725. package/dist/components/radio-button/radio-button.component.js +2 -2
  726. package/dist/components/radio-button/radio-button.js +3 -3
  727. package/dist/components/radio-group/radio-group.component.js +3 -3
  728. package/dist/components/radio-group/radio-group.js +4 -4
  729. package/dist/components/range/range.component.js +4 -4
  730. package/dist/components/range/range.js +5 -5
  731. package/dist/components/rating/rating.component.js +7 -7
  732. package/dist/components/rating/rating.js +8 -8
  733. package/dist/components/relative-time/relative-time.component.js +4 -4
  734. package/dist/components/relative-time/relative-time.js +5 -5
  735. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  736. package/dist/components/resize-observer/resize-observer.js +3 -3
  737. package/dist/components/select/select.component.js +12 -12
  738. package/dist/components/select/select.js +13 -13
  739. package/dist/components/skeleton/skeleton.component.js +2 -2
  740. package/dist/components/skeleton/skeleton.js +3 -3
  741. package/dist/components/spinner/spinner.component.js +4 -4
  742. package/dist/components/spinner/spinner.js +5 -5
  743. package/dist/components/split-panel/split-panel.component.js +4 -4
  744. package/dist/components/split-panel/split-panel.js +5 -5
  745. package/dist/components/switch/switch.component.js +2 -2
  746. package/dist/components/switch/switch.js +3 -3
  747. package/dist/components/tab/tab.component.js +8 -8
  748. package/dist/components/tab/tab.js +9 -9
  749. package/dist/components/tab-group/tab-group.component.js +9 -9
  750. package/dist/components/tab-group/tab-group.js +10 -10
  751. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  752. package/dist/components/tab-panel/tab-panel.js +3 -3
  753. package/dist/components/tag/tag.component.js +8 -8
  754. package/dist/components/tag/tag.js +9 -9
  755. package/dist/components/textarea/textarea.component.js +2 -2
  756. package/dist/components/textarea/textarea.js +3 -3
  757. package/dist/components/time-picker/time-picker.component.d.ts +184 -0
  758. package/dist/components/time-picker/time-picker.component.js +30 -0
  759. package/dist/components/time-picker/time-picker.d.ts +8 -0
  760. package/dist/components/time-picker/time-picker.js +31 -0
  761. package/dist/components/time-picker/time-picker.styles.d.ts +2 -0
  762. package/dist/components/time-picker/time-picker.styles.js +7 -0
  763. package/dist/components/tooltip/tooltip.component.js +5 -5
  764. package/dist/components/tooltip/tooltip.js +6 -6
  765. package/dist/components/tree/tree.component.js +11 -11
  766. package/dist/components/tree/tree.js +12 -12
  767. package/dist/components/tree-item/tree-item.component.js +9 -9
  768. package/dist/components/tree-item/tree-item.js +10 -10
  769. package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
  770. package/dist/components/visually-hidden/visually-hidden.js +3 -3
  771. package/dist/custom-elements.json +10787 -7218
  772. package/dist/cw-elements.d.ts +4 -0
  773. package/dist/cw-elements.js +175 -151
  774. package/dist/react/alert/index.js +9 -9
  775. package/dist/react/animated-image/index.js +6 -6
  776. package/dist/react/animation/index.js +3 -3
  777. package/dist/react/avatar/index.js +6 -6
  778. package/dist/react/badge/index.js +3 -3
  779. package/dist/react/breadcrumb/index.js +8 -8
  780. package/dist/react/breadcrumb-item/index.js +3 -3
  781. package/dist/react/button/index.js +9 -9
  782. package/dist/react/button-group/index.js +3 -3
  783. package/dist/react/card/index.js +3 -3
  784. package/dist/react/carousel/index.js +8 -8
  785. package/dist/react/carousel-item/index.js +3 -3
  786. package/dist/react/checkbox/index.js +6 -6
  787. package/dist/react/color-picker/index.js +17 -17
  788. package/dist/react/combobox/index.d.ts +87 -0
  789. package/dist/react/combobox/index.js +37 -0
  790. package/dist/react/copy-button/index.js +11 -11
  791. package/dist/react/date-picker/index.d.ts +81 -0
  792. package/dist/react/date-picker/index.js +30 -0
  793. package/dist/react/details/index.js +8 -8
  794. package/dist/react/dialog/index.js +10 -10
  795. package/dist/react/divider/index.js +3 -3
  796. package/dist/react/drawer/index.js +10 -10
  797. package/dist/react/dropdown/index.js +6 -6
  798. package/dist/react/format-bytes/index.js +5 -5
  799. package/dist/react/format-date/index.js +5 -5
  800. package/dist/react/format-number/index.js +5 -5
  801. package/dist/react/icon/index.js +5 -5
  802. package/dist/react/icon-button/index.js +6 -6
  803. package/dist/react/image-comparer/index.js +8 -8
  804. package/dist/react/include/index.js +3 -3
  805. package/dist/react/index.d.ts +4 -0
  806. package/dist/react/index.js +178 -154
  807. package/dist/react/input/index.js +8 -8
  808. package/dist/react/menu/index.js +3 -3
  809. package/dist/react/menu-item/index.js +10 -10
  810. package/dist/react/menu-label/index.js +3 -3
  811. package/dist/react/mutation-observer/index.js +3 -3
  812. package/dist/react/option/index.js +8 -8
  813. package/dist/react/pagination/index.d.ts +26 -0
  814. package/dist/react/pagination/index.js +22 -0
  815. package/dist/react/popup/index.js +5 -5
  816. package/dist/react/progress-bar/index.js +5 -5
  817. package/dist/react/progress-ring/index.js +5 -5
  818. package/dist/react/qr-code/index.js +3 -3
  819. package/dist/react/radio/index.js +6 -6
  820. package/dist/react/radio-button/index.js +3 -3
  821. package/dist/react/radio-group/index.js +4 -4
  822. package/dist/react/range/index.js +5 -5
  823. package/dist/react/rating/index.js +8 -8
  824. package/dist/react/relative-time/index.js +5 -5
  825. package/dist/react/resize-observer/index.js +3 -3
  826. package/dist/react/select/index.js +13 -13
  827. package/dist/react/skeleton/index.js +3 -3
  828. package/dist/react/spinner/index.js +5 -5
  829. package/dist/react/split-panel/index.js +5 -5
  830. package/dist/react/switch/index.js +3 -3
  831. package/dist/react/tab/index.js +9 -9
  832. package/dist/react/tab-group/index.js +10 -10
  833. package/dist/react/tab-panel/index.js +3 -3
  834. package/dist/react/tag/index.js +9 -9
  835. package/dist/react/textarea/index.js +3 -3
  836. package/dist/react/time-picker/index.d.ts +77 -0
  837. package/dist/react/time-picker/index.js +31 -0
  838. package/dist/react/tooltip/index.js +6 -6
  839. package/dist/react/tree/index.js +12 -12
  840. package/dist/react/tree-item/index.js +10 -10
  841. package/dist/react/visually-hidden/index.js +3 -3
  842. package/dist/translations/da.js +2 -2
  843. package/dist/translations/de-ch.js +3 -3
  844. package/dist/translations/de.js +3 -3
  845. package/dist/translations/en-gb.js +2 -2
  846. package/dist/translations/en.js +1 -1
  847. package/dist/translations/es.js +2 -2
  848. package/dist/translations/fa.js +2 -2
  849. package/dist/translations/fr.js +2 -2
  850. package/dist/translations/he.js +2 -2
  851. package/dist/translations/hu.js +2 -2
  852. package/dist/translations/ja.js +2 -2
  853. package/dist/translations/nb.js +2 -2
  854. package/dist/translations/nl.js +2 -2
  855. package/dist/translations/nn.js +2 -2
  856. package/dist/translations/pl.js +2 -2
  857. package/dist/translations/pt.js +2 -2
  858. package/dist/translations/ru.js +2 -2
  859. package/dist/translations/sv.js +2 -2
  860. package/dist/translations/tr.js +2 -2
  861. package/dist/translations/uk.js +2 -2
  862. package/dist/translations/zh-cn.js +2 -2
  863. package/dist/translations/zh-tw.js +2 -2
  864. package/dist/types/vue/index.d.ts +472 -0
  865. package/dist/utilities/icon-library.js +2 -2
  866. package/dist/utilities/localize.d.ts +10 -0
  867. package/dist/utilities/localize.js +2 -2
  868. package/dist/vscode.html-custom-data.json +377 -0
  869. package/dist/web-types.json +2113 -1026
  870. package/package.json +1 -1
  871. package/cdn/chunks/chunk.2A5EVHQW.js +0 -153
  872. package/cdn/chunks/chunk.2CIIZRV6.js +0 -11
  873. package/cdn/chunks/chunk.2COBQQ72.js +0 -24
  874. package/cdn/chunks/chunk.2KPKFPBC.js +0 -11
  875. package/cdn/chunks/chunk.2MBBWAS7.js +0 -11
  876. package/cdn/chunks/chunk.2SBPTIVZ.js +0 -95
  877. package/cdn/chunks/chunk.2SZ44Q7D.js +0 -28
  878. package/cdn/chunks/chunk.3262A2RG.js +0 -11
  879. package/cdn/chunks/chunk.37SIMBWB.js +0 -455
  880. package/cdn/chunks/chunk.3H3FIH4V.js +0 -24
  881. package/cdn/chunks/chunk.3H7X4FT7.js +0 -26
  882. package/cdn/chunks/chunk.3MBUK4N5.js +0 -11
  883. package/cdn/chunks/chunk.3WEFI5D7.js +0 -11
  884. package/cdn/chunks/chunk.43MUAJCV.js +0 -267
  885. package/cdn/chunks/chunk.4AM6XMKQ.js +0 -11
  886. package/cdn/chunks/chunk.4CIDPXAY.js +0 -25
  887. package/cdn/chunks/chunk.4IRRRSCC.js +0 -24
  888. package/cdn/chunks/chunk.52LF3CZT.js +0 -11
  889. package/cdn/chunks/chunk.5CZ3RSWA.js +0 -11
  890. package/cdn/chunks/chunk.5FKQOEKB.js +0 -21
  891. package/cdn/chunks/chunk.5GIZDV7W.js +0 -21
  892. package/cdn/chunks/chunk.5NAM7XRN.js +0 -24
  893. package/cdn/chunks/chunk.5W77ZLUX.js +0 -233
  894. package/cdn/chunks/chunk.5YE55SVX.js +0 -11
  895. package/cdn/chunks/chunk.66DIT4A6.js +0 -11
  896. package/cdn/chunks/chunk.6BQKHBKT.js +0 -11
  897. package/cdn/chunks/chunk.6KU7ANFF.js +0 -24
  898. package/cdn/chunks/chunk.6LMG674A.js +0 -21
  899. package/cdn/chunks/chunk.6XXSWUEV.js +0 -50
  900. package/cdn/chunks/chunk.7FBTQVS6.js +0 -11
  901. package/cdn/chunks/chunk.7IYRG36H.js +0 -21
  902. package/cdn/chunks/chunk.7KJ3FFQC.js +0 -11
  903. package/cdn/chunks/chunk.7OZ22UC2.js +0 -11
  904. package/cdn/chunks/chunk.7VHYET4Z.js +0 -33
  905. package/cdn/chunks/chunk.7VZWUFNK.js +0 -11
  906. package/cdn/chunks/chunk.A2IV4J54.js +0 -24
  907. package/cdn/chunks/chunk.A5U2MRBT.js +0 -314
  908. package/cdn/chunks/chunk.AAK7KQLT.js +0 -21
  909. package/cdn/chunks/chunk.ACBP6OFO.js +0 -63
  910. package/cdn/chunks/chunk.AD6S3FNO.js +0 -11
  911. package/cdn/chunks/chunk.AHAJ7OZZ.js +0 -580
  912. package/cdn/chunks/chunk.ANKYWNXV.js +0 -27
  913. package/cdn/chunks/chunk.AYAHOY7H.js +0 -127
  914. package/cdn/chunks/chunk.BJNGUGY3.js +0 -21
  915. package/cdn/chunks/chunk.BRDR23J7.js +0 -255
  916. package/cdn/chunks/chunk.C4N4QJUT.js +0 -11
  917. package/cdn/chunks/chunk.C4QY7KGQ.js +0 -44
  918. package/cdn/chunks/chunk.CEYI3GND.js +0 -279
  919. package/cdn/chunks/chunk.CFQJHSSK.js +0 -821
  920. package/cdn/chunks/chunk.CIGGIY2H.js +0 -11
  921. package/cdn/chunks/chunk.CV7H2AAD.js +0 -87
  922. package/cdn/chunks/chunk.D3CH37HR.js +0 -11
  923. package/cdn/chunks/chunk.DHESEN7B.js +0 -186
  924. package/cdn/chunks/chunk.DLOQPGSH.js +0 -208
  925. package/cdn/chunks/chunk.DOWZF6IJ.js +0 -336
  926. package/cdn/chunks/chunk.DQAWKO65.js +0 -297
  927. package/cdn/chunks/chunk.E3ENMZZJ.js +0 -402
  928. package/cdn/chunks/chunk.E45UKEGD.js +0 -24
  929. package/cdn/chunks/chunk.ECW76WEO.js +0 -21
  930. package/cdn/chunks/chunk.EHHWE3LS.js +0 -21
  931. package/cdn/chunks/chunk.EHLCOUWY.js +0 -82
  932. package/cdn/chunks/chunk.EHPA5QTP.js +0 -25
  933. package/cdn/chunks/chunk.EI63SNKE.js +0 -299
  934. package/cdn/chunks/chunk.FBUJEC6X.js +0 -27
  935. package/cdn/chunks/chunk.FFZ2BP5P.js +0 -21
  936. package/cdn/chunks/chunk.FMCF6L7Y.js +0 -25
  937. package/cdn/chunks/chunk.FNYA6AEO.js +0 -25
  938. package/cdn/chunks/chunk.FZLL5W67.js +0 -11
  939. package/cdn/chunks/chunk.GHKLTH2F.js +0 -11
  940. package/cdn/chunks/chunk.GQ6D6Y7V.js +0 -21
  941. package/cdn/chunks/chunk.GZUHFML5.js +0 -24
  942. package/cdn/chunks/chunk.H3YHS4A2.js +0 -11
  943. package/cdn/chunks/chunk.H6VYJGLA.js +0 -114
  944. package/cdn/chunks/chunk.HG2RYHY6.js +0 -25
  945. package/cdn/chunks/chunk.HGHAGNDK.js +0 -49
  946. package/cdn/chunks/chunk.HLRX7KTA.js +0 -11
  947. package/cdn/chunks/chunk.HNCLB7RZ.js +0 -27
  948. package/cdn/chunks/chunk.HO5H3XLJ.js +0 -11
  949. package/cdn/chunks/chunk.HS4CJ7PO.js +0 -118
  950. package/cdn/chunks/chunk.HUI4TPYQ.js +0 -346
  951. package/cdn/chunks/chunk.HYISJTDZ.js +0 -120
  952. package/cdn/chunks/chunk.I6KI64WH.js +0 -21
  953. package/cdn/chunks/chunk.I7S4EEMN.js +0 -724
  954. package/cdn/chunks/chunk.IBRIHWFK.js +0 -24
  955. package/cdn/chunks/chunk.J34BGR2T.js +0 -367
  956. package/cdn/chunks/chunk.JCGJ5ILX.js +0 -28
  957. package/cdn/chunks/chunk.JIF4PGM7.js +0 -77
  958. package/cdn/chunks/chunk.JIPM32DT.js +0 -11
  959. package/cdn/chunks/chunk.JPNJJ5LC.js +0 -11
  960. package/cdn/chunks/chunk.JTRSQY5G.js +0 -291
  961. package/cdn/chunks/chunk.JZOKGM7V.js +0 -11
  962. package/cdn/chunks/chunk.KKNABC46.js +0 -21
  963. package/cdn/chunks/chunk.KOXJFB6O.js +0 -27
  964. package/cdn/chunks/chunk.KOZ6K4KB.js +0 -302
  965. package/cdn/chunks/chunk.KV5T4QLP.js +0 -378
  966. package/cdn/chunks/chunk.KYTQR7YW.js +0 -11
  967. package/cdn/chunks/chunk.L3HSJDIL.js +0 -122
  968. package/cdn/chunks/chunk.L4VU3CEF.js +0 -21
  969. package/cdn/chunks/chunk.L5ZEEGKA.js +0 -391
  970. package/cdn/chunks/chunk.L7ROUYT4.js +0 -21
  971. package/cdn/chunks/chunk.LBW5NBV6.js +0 -11
  972. package/cdn/chunks/chunk.LCWF66XK.js +0 -113
  973. package/cdn/chunks/chunk.LUGCUBOX.js +0 -11
  974. package/cdn/chunks/chunk.LZ577XOU.js +0 -11
  975. package/cdn/chunks/chunk.LZDH4W5S.js +0 -137
  976. package/cdn/chunks/chunk.MFGDBCHN.js +0 -25
  977. package/cdn/chunks/chunk.MKLVZ667.js +0 -27
  978. package/cdn/chunks/chunk.MKMC55HU.js +0 -21
  979. package/cdn/chunks/chunk.MKUT34KI.js +0 -11
  980. package/cdn/chunks/chunk.N4V2MUJF.js +0 -73
  981. package/cdn/chunks/chunk.NGBE7CGI.js +0 -11
  982. package/cdn/chunks/chunk.NXWBJTYQ.js +0 -28
  983. package/cdn/chunks/chunk.O3MV4WDU.js +0 -1925
  984. package/cdn/chunks/chunk.OESEEZOO.js +0 -11
  985. package/cdn/chunks/chunk.OHDELZVG.js +0 -11
  986. package/cdn/chunks/chunk.OITV5Q4M.js +0 -11
  987. package/cdn/chunks/chunk.OPGPYL6M.js +0 -93
  988. package/cdn/chunks/chunk.ORMYBK76.js +0 -67
  989. package/cdn/chunks/chunk.P4KFYA6W.js +0 -11
  990. package/cdn/chunks/chunk.P7OJIK3I.js +0 -142
  991. package/cdn/chunks/chunk.PLLWAFGU.js +0 -24
  992. package/cdn/chunks/chunk.PM37NS6R.js +0 -25
  993. package/cdn/chunks/chunk.PU2FRPCZ.js +0 -25
  994. package/cdn/chunks/chunk.Q3KIIXIF.js +0 -49
  995. package/cdn/chunks/chunk.Q7NNOIM7.js +0 -25
  996. package/cdn/chunks/chunk.QEKOQQNR.js +0 -24
  997. package/cdn/chunks/chunk.QVT32MJC.js +0 -11
  998. package/cdn/chunks/chunk.QWVE24DV.js +0 -11
  999. package/cdn/chunks/chunk.QXPOR5HV.js +0 -21
  1000. package/cdn/chunks/chunk.RBUASREB.js +0 -1990
  1001. package/cdn/chunks/chunk.RF5CSPCC.js +0 -292
  1002. package/cdn/chunks/chunk.RGIC5PFY.js +0 -79
  1003. package/cdn/chunks/chunk.RH6LIJFS.js +0 -26
  1004. package/cdn/chunks/chunk.RTLK5JPO.js +0 -11
  1005. package/cdn/chunks/chunk.RVQFGDP5.js +0 -11
  1006. package/cdn/chunks/chunk.RW7KVOST.js +0 -21
  1007. package/cdn/chunks/chunk.SHAQUV67.js +0 -26
  1008. package/cdn/chunks/chunk.SMFERX2T.js +0 -11
  1009. package/cdn/chunks/chunk.SMRIWF2S.js +0 -11
  1010. package/cdn/chunks/chunk.SPGXP4KE.js +0 -24
  1011. package/cdn/chunks/chunk.SWR3SNWR.js +0 -11
  1012. package/cdn/chunks/chunk.TCSE25HK.js +0 -11
  1013. package/cdn/chunks/chunk.TKE527J7.js +0 -28
  1014. package/cdn/chunks/chunk.TKEECB7E.js +0 -11
  1015. package/cdn/chunks/chunk.TLMJU2OB.js +0 -11
  1016. package/cdn/chunks/chunk.TLTQO3CH.js +0 -11
  1017. package/cdn/chunks/chunk.TM5VNFZE.js +0 -75
  1018. package/cdn/chunks/chunk.TR7FQ3ZG.js +0 -21
  1019. package/cdn/chunks/chunk.TTLE7BKW.js +0 -29
  1020. package/cdn/chunks/chunk.TY6Z2QNH.js +0 -236
  1021. package/cdn/chunks/chunk.U5GNII6R.js +0 -29
  1022. package/cdn/chunks/chunk.UILESE4L.js +0 -11
  1023. package/cdn/chunks/chunk.UU6PFMXT.js +0 -36
  1024. package/cdn/chunks/chunk.UWP6RHHS.js +0 -11
  1025. package/cdn/chunks/chunk.W2UXVIQE.js +0 -11
  1026. package/cdn/chunks/chunk.WBLTQD6C.js +0 -197
  1027. package/cdn/chunks/chunk.WF4B5CX5.js +0 -21
  1028. package/cdn/chunks/chunk.WOEBD6LC.js +0 -29
  1029. package/cdn/chunks/chunk.XAG7GB5I.js +0 -42
  1030. package/cdn/chunks/chunk.XF36G36X.js +0 -135
  1031. package/cdn/chunks/chunk.XGBZFDFN.js +0 -158
  1032. package/cdn/chunks/chunk.XHIZYSOX.js +0 -11
  1033. package/cdn/chunks/chunk.XIJ5MMLY.js +0 -11
  1034. package/cdn/chunks/chunk.XNMKNLYR.js +0 -103
  1035. package/cdn/chunks/chunk.XZ4JKK5S.js +0 -216
  1036. package/cdn/chunks/chunk.XZBGILKA.js +0 -11
  1037. package/cdn/chunks/chunk.Y6NDVPIT.js +0 -11
  1038. package/cdn/chunks/chunk.YB6NPK7S.js +0 -42
  1039. package/cdn/chunks/chunk.YFO4ZW45.js +0 -24
  1040. package/cdn/chunks/chunk.YG3DTK7H.js +0 -21
  1041. package/cdn/chunks/chunk.YG7T6UCH.js +0 -97
  1042. package/cdn/chunks/chunk.YL2XWZJ6.js +0 -499
  1043. package/cdn/chunks/chunk.YSELPFTP.js +0 -29
  1044. package/cdn/chunks/chunk.YVCV474L.js +0 -21
  1045. package/cdn/chunks/chunk.Z46D7BRX.js +0 -16
  1046. package/cdn/chunks/chunk.Z4LMVVXH.js +0 -28
  1047. package/cdn/chunks/chunk.ZQQ2VRTL.js +0 -11
  1048. package/cdn/chunks/chunk.ZVCP457Q.js +0 -11
  1049. package/dist/chunks/chunk.25DBUKBD.js +0 -27
  1050. package/dist/chunks/chunk.2GLSHNYS.js +0 -25
  1051. package/dist/chunks/chunk.2GRSESM4.js +0 -11
  1052. package/dist/chunks/chunk.2J2H5W2L.js +0 -11
  1053. package/dist/chunks/chunk.2W6AVKJ3.js +0 -11
  1054. package/dist/chunks/chunk.2WWRIQU5.js +0 -21
  1055. package/dist/chunks/chunk.36MZCQXU.js +0 -45
  1056. package/dist/chunks/chunk.3E3JPGHN.js +0 -134
  1057. package/dist/chunks/chunk.3EMXJHKK.js +0 -11
  1058. package/dist/chunks/chunk.3IWXNFPK.js +0 -100
  1059. package/dist/chunks/chunk.44L7SRPK.js +0 -119
  1060. package/dist/chunks/chunk.4DFHYFII.js +0 -24
  1061. package/dist/chunks/chunk.4NDG46JO.js +0 -21
  1062. package/dist/chunks/chunk.4OCGYOOT.js +0 -11
  1063. package/dist/chunks/chunk.4TIVNLRE.js +0 -11
  1064. package/dist/chunks/chunk.564UI6PW.js +0 -21
  1065. package/dist/chunks/chunk.5662BZAR.js +0 -259
  1066. package/dist/chunks/chunk.56JVAFOW.js +0 -11
  1067. package/dist/chunks/chunk.5A2AVMPJ.js +0 -491
  1068. package/dist/chunks/chunk.62B6AN4G.js +0 -417
  1069. package/dist/chunks/chunk.62C747SM.js +0 -11
  1070. package/dist/chunks/chunk.66AMABIA.js +0 -94
  1071. package/dist/chunks/chunk.6GLJMNLF.js +0 -21
  1072. package/dist/chunks/chunk.6REPXOV2.js +0 -126
  1073. package/dist/chunks/chunk.6YXYHHVS.js +0 -28
  1074. package/dist/chunks/chunk.7I3N4VKN.js +0 -337
  1075. package/dist/chunks/chunk.7RHIZ2X6.js +0 -274
  1076. package/dist/chunks/chunk.7S6VSYA5.js +0 -21
  1077. package/dist/chunks/chunk.A7BVYOGM.js +0 -11
  1078. package/dist/chunks/chunk.AECOOL73.js +0 -25
  1079. package/dist/chunks/chunk.AFVDL4XO.js +0 -21
  1080. package/dist/chunks/chunk.AGFIG65W.js +0 -11
  1081. package/dist/chunks/chunk.ANHE2WFW.js +0 -25
  1082. package/dist/chunks/chunk.AOVLR7JD.js +0 -75
  1083. package/dist/chunks/chunk.BDHMZWKP.js +0 -45
  1084. package/dist/chunks/chunk.BHPSDIUZ.js +0 -28
  1085. package/dist/chunks/chunk.BZUG556F.js +0 -11
  1086. package/dist/chunks/chunk.C2DCJFUM.js +0 -26
  1087. package/dist/chunks/chunk.C4QY7KGQ.js +0 -44
  1088. package/dist/chunks/chunk.CPNPX6S7.js +0 -147
  1089. package/dist/chunks/chunk.CXZNHRVR.js +0 -448
  1090. package/dist/chunks/chunk.D24TMZV4.js +0 -11
  1091. package/dist/chunks/chunk.D2G52ZGP.js +0 -24
  1092. package/dist/chunks/chunk.D3BAPYS4.js +0 -63
  1093. package/dist/chunks/chunk.D5J66JPV.js +0 -11
  1094. package/dist/chunks/chunk.DD4CHTVK.js +0 -24
  1095. package/dist/chunks/chunk.DHR6SD6T.js +0 -25
  1096. package/dist/chunks/chunk.DQIRIOBB.js +0 -11
  1097. package/dist/chunks/chunk.DQWXJ5OO.js +0 -151
  1098. package/dist/chunks/chunk.DRTTJSJH.js +0 -11
  1099. package/dist/chunks/chunk.DRX7ZWPK.js +0 -34
  1100. package/dist/chunks/chunk.DYPNSJFE.js +0 -75
  1101. package/dist/chunks/chunk.E2O25FNN.js +0 -11
  1102. package/dist/chunks/chunk.E5JRHEXH.js +0 -293
  1103. package/dist/chunks/chunk.E6O5QIVP.js +0 -11
  1104. package/dist/chunks/chunk.EASVNPP3.js +0 -109
  1105. package/dist/chunks/chunk.EDJXBUG2.js +0 -25
  1106. package/dist/chunks/chunk.EIBS2Z7P.js +0 -29
  1107. package/dist/chunks/chunk.EJYF7PE7.js +0 -813
  1108. package/dist/chunks/chunk.EMZ442PQ.js +0 -949
  1109. package/dist/chunks/chunk.ETZMOOLO.js +0 -21
  1110. package/dist/chunks/chunk.EUZUWL7P.js +0 -24
  1111. package/dist/chunks/chunk.EVII3AXJ.js +0 -11
  1112. package/dist/chunks/chunk.EY5ALKH5.js +0 -11
  1113. package/dist/chunks/chunk.F2URQJQT.js +0 -227
  1114. package/dist/chunks/chunk.F7DY7EII.js +0 -24
  1115. package/dist/chunks/chunk.FJTQ32X4.js +0 -22
  1116. package/dist/chunks/chunk.FLMZEQSZ.js +0 -21
  1117. package/dist/chunks/chunk.FMTXOEH4.js +0 -11
  1118. package/dist/chunks/chunk.FXJFE27W.js +0 -24
  1119. package/dist/chunks/chunk.FXKV67MH.js +0 -11
  1120. package/dist/chunks/chunk.FXUPPYRG.js +0 -135
  1121. package/dist/chunks/chunk.G4U57SOA.js +0 -11
  1122. package/dist/chunks/chunk.G6M65V6R.js +0 -24
  1123. package/dist/chunks/chunk.GJH2YKWQ.js +0 -100
  1124. package/dist/chunks/chunk.GMATCVRU.js +0 -247
  1125. package/dist/chunks/chunk.GVUMLOIR.js +0 -290
  1126. package/dist/chunks/chunk.H6PSWXCY.js +0 -21
  1127. package/dist/chunks/chunk.H7XO3O2G.js +0 -11
  1128. package/dist/chunks/chunk.HDE5RX2K.js +0 -11
  1129. package/dist/chunks/chunk.HHU3WBEO.js +0 -21
  1130. package/dist/chunks/chunk.HOHI2BQZ.js +0 -11
  1131. package/dist/chunks/chunk.HRODKK2V.js +0 -21
  1132. package/dist/chunks/chunk.HRTLU4OR.js +0 -11
  1133. package/dist/chunks/chunk.HXFFB7NF.js +0 -42
  1134. package/dist/chunks/chunk.HY3GW4MF.js +0 -50
  1135. package/dist/chunks/chunk.IDPNXIPQ.js +0 -15
  1136. package/dist/chunks/chunk.IKUYKBO4.js +0 -25
  1137. package/dist/chunks/chunk.IM2UWHYW.js +0 -11
  1138. package/dist/chunks/chunk.IQKCYCJD.js +0 -397
  1139. package/dist/chunks/chunk.JECDUKTT.js +0 -11
  1140. package/dist/chunks/chunk.JFSBJ5M5.js +0 -294
  1141. package/dist/chunks/chunk.JQPDPO4H.js +0 -27
  1142. package/dist/chunks/chunk.JQXGML5I.js +0 -192
  1143. package/dist/chunks/chunk.K6SO2YK2.js +0 -28
  1144. package/dist/chunks/chunk.KDZTBW7D.js +0 -25
  1145. package/dist/chunks/chunk.KKFZJXVH.js +0 -11
  1146. package/dist/chunks/chunk.KROEUMQN.js +0 -311
  1147. package/dist/chunks/chunk.KRWWGSDD.js +0 -25
  1148. package/dist/chunks/chunk.KSZAQSOO.js +0 -11
  1149. package/dist/chunks/chunk.L7HUUF24.js +0 -11
  1150. package/dist/chunks/chunk.LNTLR2EB.js +0 -113
  1151. package/dist/chunks/chunk.LP3LYQNE.js +0 -181
  1152. package/dist/chunks/chunk.LQJYBS5E.js +0 -80
  1153. package/dist/chunks/chunk.LRZVQO2O.js +0 -29
  1154. package/dist/chunks/chunk.LTJ3ANS7.js +0 -11
  1155. package/dist/chunks/chunk.LYXWBS3Q.js +0 -27
  1156. package/dist/chunks/chunk.M2AG3GLJ.js +0 -11
  1157. package/dist/chunks/chunk.MMPT3YUH.js +0 -384
  1158. package/dist/chunks/chunk.MNDJRNQX.js +0 -11
  1159. package/dist/chunks/chunk.N7FPHAE2.js +0 -116
  1160. package/dist/chunks/chunk.NBD2IHTY.js +0 -11
  1161. package/dist/chunks/chunk.NGS2GE2N.js +0 -21
  1162. package/dist/chunks/chunk.NN3ZWPJX.js +0 -11
  1163. package/dist/chunks/chunk.NRRR52DX.js +0 -370
  1164. package/dist/chunks/chunk.O5OIXIRM.js +0 -24
  1165. package/dist/chunks/chunk.O5ZG7J4B.js +0 -550
  1166. package/dist/chunks/chunk.ONTO4X2V.js +0 -11
  1167. package/dist/chunks/chunk.OP2IZEZE.js +0 -11
  1168. package/dist/chunks/chunk.OP34ILHF.js +0 -11
  1169. package/dist/chunks/chunk.PHBLDWGW.js +0 -117
  1170. package/dist/chunks/chunk.PJH66TLC.js +0 -21
  1171. package/dist/chunks/chunk.PKOA4DIJ.js +0 -315
  1172. package/dist/chunks/chunk.PTURT3LB.js +0 -24
  1173. package/dist/chunks/chunk.PUABCOFU.js +0 -28
  1174. package/dist/chunks/chunk.PXU77CI5.js +0 -11
  1175. package/dist/chunks/chunk.QDCIHSOI.js +0 -21
  1176. package/dist/chunks/chunk.QDWLFJVV.js +0 -111
  1177. package/dist/chunks/chunk.QFOOSPUP.js +0 -11
  1178. package/dist/chunks/chunk.QOZNNXXE.js +0 -26
  1179. package/dist/chunks/chunk.QRHPRDG2.js +0 -11
  1180. package/dist/chunks/chunk.QTX5MLC4.js +0 -280
  1181. package/dist/chunks/chunk.QW2MM7A4.js +0 -361
  1182. package/dist/chunks/chunk.R33Z4OMO.js +0 -25
  1183. package/dist/chunks/chunk.RCGIQXPE.js +0 -21
  1184. package/dist/chunks/chunk.RKT7G4BL.js +0 -67
  1185. package/dist/chunks/chunk.RLEISJRJ.js +0 -11
  1186. package/dist/chunks/chunk.S2Y3A3AM.js +0 -93
  1187. package/dist/chunks/chunk.SUSYSSMZ.js +0 -22
  1188. package/dist/chunks/chunk.SXVQRCVR.js +0 -39
  1189. package/dist/chunks/chunk.SY2IIVVQ.js +0 -11
  1190. package/dist/chunks/chunk.T25J2IHG.js +0 -25
  1191. package/dist/chunks/chunk.T3V7LRHS.js +0 -29
  1192. package/dist/chunks/chunk.TB57WXUT.js +0 -73
  1193. package/dist/chunks/chunk.TDTPJGI7.js +0 -28
  1194. package/dist/chunks/chunk.TEXG3V5D.js +0 -42
  1195. package/dist/chunks/chunk.TM2K2VOC.js +0 -11
  1196. package/dist/chunks/chunk.TZG3G36D.js +0 -11
  1197. package/dist/chunks/chunk.U6GD7RA5.js +0 -21
  1198. package/dist/chunks/chunk.UAZCJ6QG.js +0 -11
  1199. package/dist/chunks/chunk.UDAYXY7O.js +0 -11
  1200. package/dist/chunks/chunk.UF5F44EE.js +0 -11
  1201. package/dist/chunks/chunk.UFRGXMNI.js +0 -21
  1202. package/dist/chunks/chunk.UL7SBSXX.js +0 -286
  1203. package/dist/chunks/chunk.UW3YGYZF.js +0 -21
  1204. package/dist/chunks/chunk.UWQP3K4H.js +0 -24
  1205. package/dist/chunks/chunk.VBYVEMQD.js +0 -11
  1206. package/dist/chunks/chunk.VMYDYO3D.js +0 -11
  1207. package/dist/chunks/chunk.VXDJVRIH.js +0 -11
  1208. package/dist/chunks/chunk.W4Z25FAS.js +0 -59
  1209. package/dist/chunks/chunk.WBFHQSPC.js +0 -11
  1210. package/dist/chunks/chunk.WLPBOIVK.js +0 -11
  1211. package/dist/chunks/chunk.WTGB44YK.js +0 -91
  1212. package/dist/chunks/chunk.WWZY5XKI.js +0 -11
  1213. package/dist/chunks/chunk.XC25AJEF.js +0 -90
  1214. package/dist/chunks/chunk.XCF7CFRR.js +0 -231
  1215. package/dist/chunks/chunk.XKAOTPRC.js +0 -11
  1216. package/dist/chunks/chunk.XPSAM3J7.js +0 -29
  1217. package/dist/chunks/chunk.XUZBVMW7.js +0 -11
  1218. package/dist/chunks/chunk.Y4JGOR4A.js +0 -26
  1219. package/dist/chunks/chunk.Y5ZYCHKK.js +0 -33
  1220. package/dist/chunks/chunk.YRXC5ETZ.js +0 -85
  1221. package/dist/chunks/chunk.YUDVWN6S.js +0 -21
  1222. package/dist/chunks/chunk.YVLMZLTH.js +0 -27
  1223. package/dist/chunks/chunk.YWLTG6BC.js +0 -21
  1224. package/dist/chunks/chunk.Z2I7ITAV.js +0 -24
  1225. package/dist/chunks/chunk.Z2IXAT5N.js +0 -11
  1226. package/dist/chunks/chunk.Z5POFS5S.js +0 -213
  1227. package/dist/chunks/chunk.ZHZ3PLWC.js +0 -21
@@ -1,949 +0,0 @@
1
- import {
2
- CwVisuallyHidden
3
- } from "./chunk.SUSYSSMZ.js";
4
- import {
5
- CwInput
6
- } from "./chunk.5A2AVMPJ.js";
7
- import {
8
- drag
9
- } from "./chunk.ESELY2US.js";
10
- import {
11
- CwDropdown
12
- } from "./chunk.MMPT3YUH.js";
13
- import {
14
- defaultValue
15
- } from "./chunk.GI7VDIWX.js";
16
- import {
17
- color_picker_styles_default
18
- } from "./chunk.IXJCSAM3.js";
19
- import {
20
- clamp
21
- } from "./chunk.HF7GESMZ.js";
22
- import {
23
- CwButton
24
- } from "./chunk.E5JRHEXH.js";
25
- import {
26
- FormControlController
27
- } from "./chunk.PH2VNONO.js";
28
- import {
29
- CwButtonGroup
30
- } from "./chunk.WTGB44YK.js";
31
- import {
32
- LocalizeController
33
- } from "./chunk.IDPNXIPQ.js";
34
- import {
35
- CwIcon
36
- } from "./chunk.LP3LYQNE.js";
37
- import {
38
- watch
39
- } from "./chunk.GQZ7EGMM.js";
40
- import {
41
- component_styles_default
42
- } from "./chunk.TUVJKY7S.js";
43
- import {
44
- CwElement
45
- } from "./chunk.66AMABIA.js";
46
- import {
47
- __decorateClass
48
- } from "./chunk.Q44EX5TP.js";
49
-
50
- // src/components/color-picker/color-picker.component.ts
51
- import { classMap } from "lit/directives/class-map.js";
52
- import { eventOptions, property, query, state } from "lit/decorators.js";
53
- import { html } from "lit";
54
- import { ifDefined } from "lit/directives/if-defined.js";
55
- import { styleMap } from "lit/directives/style-map.js";
56
- import { TinyColor } from "@ctrl/tinycolor";
57
- var hasEyeDropper = "EyeDropper" in window;
58
- var CwColorPicker = class extends CwElement {
59
- constructor() {
60
- super();
61
- this.formControlController = new FormControlController(this);
62
- this.isSafeValue = false;
63
- this.localize = new LocalizeController(this);
64
- this.hasFocus = false;
65
- this.isDraggingGridHandle = false;
66
- this.isEmpty = false;
67
- this.inputValue = "";
68
- this.hue = 0;
69
- this.saturation = 100;
70
- this.brightness = 100;
71
- this.alpha = 100;
72
- this.value = "";
73
- this.defaultValue = "";
74
- this.label = "";
75
- this.format = "hex";
76
- this.inline = false;
77
- this.size = "medium";
78
- this.noFormatToggle = false;
79
- this.name = "";
80
- this.disabled = false;
81
- this.hoist = false;
82
- this.opacity = false;
83
- this.uppercase = false;
84
- this.swatches = "";
85
- this.form = "";
86
- this.required = false;
87
- this.handleFocusIn = () => {
88
- this.hasFocus = true;
89
- this.emit("cw-focus");
90
- };
91
- this.handleFocusOut = () => {
92
- this.hasFocus = false;
93
- this.emit("cw-blur");
94
- };
95
- this.addEventListener("focusin", this.handleFocusIn);
96
- this.addEventListener("focusout", this.handleFocusOut);
97
- }
98
- /** Gets the validity state object */
99
- get validity() {
100
- return this.input.validity;
101
- }
102
- /** Gets the validation message */
103
- get validationMessage() {
104
- return this.input.validationMessage;
105
- }
106
- firstUpdated() {
107
- this.input.updateComplete.then(() => {
108
- this.formControlController.updateValidity();
109
- });
110
- }
111
- handleCopy() {
112
- this.input.select();
113
- document.execCommand("copy");
114
- this.previewButton.focus();
115
- this.previewButton.classList.add("color-picker__preview-color--copied");
116
- this.previewButton.addEventListener("animationend", () => {
117
- this.previewButton.classList.remove("color-picker__preview-color--copied");
118
- });
119
- }
120
- handleFormatToggle() {
121
- const formats = ["hex", "rgb", "hsl", "hsv"];
122
- const nextIndex = (formats.indexOf(this.format) + 1) % formats.length;
123
- this.format = formats[nextIndex];
124
- this.setColor(this.value);
125
- this.emit("cw-change");
126
- this.emit("cw-input");
127
- }
128
- handleAlphaDrag(event) {
129
- const container = this.shadowRoot.querySelector(".color-picker__slider.color-picker__alpha");
130
- const handle = container.querySelector(".color-picker__slider-handle");
131
- const { width } = container.getBoundingClientRect();
132
- let initialValue = this.value;
133
- let currentValue = this.value;
134
- handle.focus();
135
- event.preventDefault();
136
- drag(container, {
137
- onMove: (x) => {
138
- this.alpha = clamp(x / width * 100, 0, 100);
139
- this.syncValues();
140
- if (this.value !== currentValue) {
141
- currentValue = this.value;
142
- this.emit("cw-input");
143
- }
144
- },
145
- onStop: () => {
146
- if (this.value !== initialValue) {
147
- initialValue = this.value;
148
- this.emit("cw-change");
149
- }
150
- },
151
- initialEvent: event
152
- });
153
- }
154
- handleHueDrag(event) {
155
- const container = this.shadowRoot.querySelector(".color-picker__slider.color-picker__hue");
156
- const handle = container.querySelector(".color-picker__slider-handle");
157
- const { width } = container.getBoundingClientRect();
158
- let initialValue = this.value;
159
- let currentValue = this.value;
160
- handle.focus();
161
- event.preventDefault();
162
- drag(container, {
163
- onMove: (x) => {
164
- this.hue = clamp(x / width * 360, 0, 360);
165
- this.syncValues();
166
- if (this.value !== currentValue) {
167
- currentValue = this.value;
168
- this.emit("cw-input");
169
- }
170
- },
171
- onStop: () => {
172
- if (this.value !== initialValue) {
173
- initialValue = this.value;
174
- this.emit("cw-change");
175
- }
176
- },
177
- initialEvent: event
178
- });
179
- }
180
- handleGridDrag(event) {
181
- const grid = this.shadowRoot.querySelector(".color-picker__grid");
182
- const handle = grid.querySelector(".color-picker__grid-handle");
183
- const { width, height } = grid.getBoundingClientRect();
184
- let initialValue = this.value;
185
- let currentValue = this.value;
186
- handle.focus();
187
- event.preventDefault();
188
- this.isDraggingGridHandle = true;
189
- drag(grid, {
190
- onMove: (x, y) => {
191
- this.saturation = clamp(x / width * 100, 0, 100);
192
- this.brightness = clamp(100 - y / height * 100, 0, 100);
193
- this.syncValues();
194
- if (this.value !== currentValue) {
195
- currentValue = this.value;
196
- this.emit("cw-input");
197
- }
198
- },
199
- onStop: () => {
200
- this.isDraggingGridHandle = false;
201
- if (this.value !== initialValue) {
202
- initialValue = this.value;
203
- this.emit("cw-change");
204
- }
205
- },
206
- initialEvent: event
207
- });
208
- }
209
- handleAlphaKeyDown(event) {
210
- const increment = event.shiftKey ? 10 : 1;
211
- const oldValue = this.value;
212
- if (event.key === "ArrowLeft") {
213
- event.preventDefault();
214
- this.alpha = clamp(this.alpha - increment, 0, 100);
215
- this.syncValues();
216
- }
217
- if (event.key === "ArrowRight") {
218
- event.preventDefault();
219
- this.alpha = clamp(this.alpha + increment, 0, 100);
220
- this.syncValues();
221
- }
222
- if (event.key === "Home") {
223
- event.preventDefault();
224
- this.alpha = 0;
225
- this.syncValues();
226
- }
227
- if (event.key === "End") {
228
- event.preventDefault();
229
- this.alpha = 100;
230
- this.syncValues();
231
- }
232
- if (this.value !== oldValue) {
233
- this.emit("cw-change");
234
- this.emit("cw-input");
235
- }
236
- }
237
- handleHueKeyDown(event) {
238
- const increment = event.shiftKey ? 10 : 1;
239
- const oldValue = this.value;
240
- if (event.key === "ArrowLeft") {
241
- event.preventDefault();
242
- this.hue = clamp(this.hue - increment, 0, 360);
243
- this.syncValues();
244
- }
245
- if (event.key === "ArrowRight") {
246
- event.preventDefault();
247
- this.hue = clamp(this.hue + increment, 0, 360);
248
- this.syncValues();
249
- }
250
- if (event.key === "Home") {
251
- event.preventDefault();
252
- this.hue = 0;
253
- this.syncValues();
254
- }
255
- if (event.key === "End") {
256
- event.preventDefault();
257
- this.hue = 360;
258
- this.syncValues();
259
- }
260
- if (this.value !== oldValue) {
261
- this.emit("cw-change");
262
- this.emit("cw-input");
263
- }
264
- }
265
- handleGridKeyDown(event) {
266
- const increment = event.shiftKey ? 10 : 1;
267
- const oldValue = this.value;
268
- if (event.key === "ArrowLeft") {
269
- event.preventDefault();
270
- this.saturation = clamp(this.saturation - increment, 0, 100);
271
- this.syncValues();
272
- }
273
- if (event.key === "ArrowRight") {
274
- event.preventDefault();
275
- this.saturation = clamp(this.saturation + increment, 0, 100);
276
- this.syncValues();
277
- }
278
- if (event.key === "ArrowUp") {
279
- event.preventDefault();
280
- this.brightness = clamp(this.brightness + increment, 0, 100);
281
- this.syncValues();
282
- }
283
- if (event.key === "ArrowDown") {
284
- event.preventDefault();
285
- this.brightness = clamp(this.brightness - increment, 0, 100);
286
- this.syncValues();
287
- }
288
- if (this.value !== oldValue) {
289
- this.emit("cw-change");
290
- this.emit("cw-input");
291
- }
292
- }
293
- handleInputChange(event) {
294
- const target = event.target;
295
- const oldValue = this.value;
296
- event.stopPropagation();
297
- if (this.input.value) {
298
- this.setColor(target.value);
299
- target.value = this.value;
300
- } else {
301
- this.value = "";
302
- }
303
- if (this.value !== oldValue) {
304
- this.emit("cw-change");
305
- this.emit("cw-input");
306
- }
307
- }
308
- handleInputInput(event) {
309
- this.formControlController.updateValidity();
310
- event.stopPropagation();
311
- }
312
- handleInputKeyDown(event) {
313
- if (event.key === "Enter") {
314
- const oldValue = this.value;
315
- if (this.input.value) {
316
- this.setColor(this.input.value);
317
- this.input.value = this.value;
318
- if (this.value !== oldValue) {
319
- this.emit("cw-change");
320
- this.emit("cw-input");
321
- }
322
- setTimeout(() => this.input.select());
323
- } else {
324
- this.hue = 0;
325
- }
326
- }
327
- }
328
- handleInputInvalid(event) {
329
- this.formControlController.setValidity(false);
330
- this.formControlController.emitInvalidEvent(event);
331
- }
332
- handleTouchMove(event) {
333
- event.preventDefault();
334
- }
335
- parseColor(colorString) {
336
- const color = new TinyColor(colorString);
337
- if (!color.isValid) {
338
- return null;
339
- }
340
- const hslColor = color.toHsl();
341
- const hsl = {
342
- h: hslColor.h,
343
- s: hslColor.s * 100,
344
- l: hslColor.l * 100,
345
- a: hslColor.a
346
- };
347
- const rgb = color.toRgb();
348
- const hex = color.toHexString();
349
- const hexa = color.toHex8String();
350
- const hsvColor = color.toHsv();
351
- const hsv = {
352
- h: hsvColor.h,
353
- s: hsvColor.s * 100,
354
- v: hsvColor.v * 100,
355
- a: hsvColor.a
356
- };
357
- return {
358
- hsl: {
359
- h: hsl.h,
360
- s: hsl.s,
361
- l: hsl.l,
362
- string: this.setLetterCase(`hsl(${Math.round(hsl.h)}, ${Math.round(hsl.s)}%, ${Math.round(hsl.l)}%)`)
363
- },
364
- hsla: {
365
- h: hsl.h,
366
- s: hsl.s,
367
- l: hsl.l,
368
- a: hsl.a,
369
- string: this.setLetterCase(
370
- `hsla(${Math.round(hsl.h)}, ${Math.round(hsl.s)}%, ${Math.round(hsl.l)}%, ${hsl.a.toFixed(2).toString()})`
371
- )
372
- },
373
- hsv: {
374
- h: hsv.h,
375
- s: hsv.s,
376
- v: hsv.v,
377
- string: this.setLetterCase(`hsv(${Math.round(hsv.h)}, ${Math.round(hsv.s)}%, ${Math.round(hsv.v)}%)`)
378
- },
379
- hsva: {
380
- h: hsv.h,
381
- s: hsv.s,
382
- v: hsv.v,
383
- a: hsv.a,
384
- string: this.setLetterCase(
385
- `hsva(${Math.round(hsv.h)}, ${Math.round(hsv.s)}%, ${Math.round(hsv.v)}%, ${hsv.a.toFixed(2).toString()})`
386
- )
387
- },
388
- rgb: {
389
- r: rgb.r,
390
- g: rgb.g,
391
- b: rgb.b,
392
- string: this.setLetterCase(`rgb(${Math.round(rgb.r)}, ${Math.round(rgb.g)}, ${Math.round(rgb.b)})`)
393
- },
394
- rgba: {
395
- r: rgb.r,
396
- g: rgb.g,
397
- b: rgb.b,
398
- a: rgb.a,
399
- string: this.setLetterCase(
400
- `rgba(${Math.round(rgb.r)}, ${Math.round(rgb.g)}, ${Math.round(rgb.b)}, ${rgb.a.toFixed(2).toString()})`
401
- )
402
- },
403
- hex: this.setLetterCase(hex),
404
- hexa: this.setLetterCase(hexa)
405
- };
406
- }
407
- setColor(colorString) {
408
- const newColor = this.parseColor(colorString);
409
- if (newColor === null) {
410
- return false;
411
- }
412
- this.hue = newColor.hsva.h;
413
- this.saturation = newColor.hsva.s;
414
- this.brightness = newColor.hsva.v;
415
- this.alpha = this.opacity ? newColor.hsva.a * 100 : 100;
416
- this.syncValues();
417
- return true;
418
- }
419
- setLetterCase(string) {
420
- if (typeof string !== "string") {
421
- return "";
422
- }
423
- return this.uppercase ? string.toUpperCase() : string.toLowerCase();
424
- }
425
- async syncValues() {
426
- const currentColor = this.parseColor(
427
- `hsva(${this.hue}, ${this.saturation}%, ${this.brightness}%, ${this.alpha / 100})`
428
- );
429
- if (currentColor === null) {
430
- return;
431
- }
432
- if (this.format === "hsl") {
433
- this.inputValue = this.opacity ? currentColor.hsla.string : currentColor.hsl.string;
434
- } else if (this.format === "rgb") {
435
- this.inputValue = this.opacity ? currentColor.rgba.string : currentColor.rgb.string;
436
- } else if (this.format === "hsv") {
437
- this.inputValue = this.opacity ? currentColor.hsva.string : currentColor.hsv.string;
438
- } else {
439
- this.inputValue = this.opacity ? currentColor.hexa : currentColor.hex;
440
- }
441
- this.isSafeValue = true;
442
- this.value = this.inputValue;
443
- await this.updateComplete;
444
- this.isSafeValue = false;
445
- }
446
- handleAfterHide() {
447
- this.previewButton.classList.remove("color-picker__preview-color--copied");
448
- }
449
- handleEyeDropper() {
450
- if (!hasEyeDropper) {
451
- return;
452
- }
453
- const eyeDropper = new EyeDropper();
454
- eyeDropper.open().then((colorSelectionResult) => {
455
- const oldValue = this.value;
456
- this.setColor(colorSelectionResult.sRGBHex);
457
- if (this.value !== oldValue) {
458
- this.emit("cw-change");
459
- this.emit("cw-input");
460
- }
461
- }).catch(() => {
462
- });
463
- }
464
- selectSwatch(color) {
465
- const oldValue = this.value;
466
- if (!this.disabled) {
467
- this.setColor(color);
468
- if (this.value !== oldValue) {
469
- this.emit("cw-change");
470
- this.emit("cw-input");
471
- }
472
- }
473
- }
474
- /** Generates a hex string from HSV values. Hue must be 0-360. All other arguments must be 0-100. */
475
- getHexString(hue, saturation, brightness, alpha = 100) {
476
- const color = new TinyColor(`hsva(${hue}, ${saturation}%, ${brightness}%, ${alpha / 100})`);
477
- if (!color.isValid) {
478
- return "";
479
- }
480
- return color.toHex8String();
481
- }
482
- // Prevents nested components from leaking events
483
- stopNestedEventPropagation(event) {
484
- event.stopImmediatePropagation();
485
- }
486
- handleFormatChange() {
487
- this.syncValues();
488
- }
489
- handleOpacityChange() {
490
- this.alpha = 100;
491
- }
492
- handleValueChange(oldValue, newValue) {
493
- this.isEmpty = !newValue;
494
- if (!newValue) {
495
- this.hue = 0;
496
- this.saturation = 0;
497
- this.brightness = 100;
498
- this.alpha = 100;
499
- }
500
- if (!this.isSafeValue) {
501
- const newColor = this.parseColor(newValue);
502
- if (newColor !== null) {
503
- this.inputValue = this.value;
504
- this.hue = newColor.hsva.h;
505
- this.saturation = newColor.hsva.s;
506
- this.brightness = newColor.hsva.v;
507
- this.alpha = newColor.hsva.a * 100;
508
- this.syncValues();
509
- } else {
510
- this.inputValue = oldValue != null ? oldValue : "";
511
- }
512
- }
513
- }
514
- /** Sets focus on the color picker. */
515
- focus(options) {
516
- if (this.inline) {
517
- this.base.focus(options);
518
- } else {
519
- this.trigger.focus(options);
520
- }
521
- }
522
- /** Removes focus from the color picker. */
523
- blur() {
524
- var _a;
525
- const elementToBlur = this.inline ? this.base : this.trigger;
526
- if (this.hasFocus) {
527
- elementToBlur.focus({ preventScroll: true });
528
- elementToBlur.blur();
529
- }
530
- if ((_a = this.dropdown) == null ? void 0 : _a.open) {
531
- this.dropdown.hide();
532
- }
533
- }
534
- /** Returns the current value as a string in the specified format. */
535
- getFormattedValue(format = "hex") {
536
- const currentColor = this.parseColor(
537
- `hsva(${this.hue}, ${this.saturation}%, ${this.brightness}%, ${this.alpha / 100})`
538
- );
539
- if (currentColor === null) {
540
- return "";
541
- }
542
- switch (format) {
543
- case "hex":
544
- return currentColor.hex;
545
- case "hexa":
546
- return currentColor.hexa;
547
- case "rgb":
548
- return currentColor.rgb.string;
549
- case "rgba":
550
- return currentColor.rgba.string;
551
- case "hsl":
552
- return currentColor.hsl.string;
553
- case "hsla":
554
- return currentColor.hsla.string;
555
- case "hsv":
556
- return currentColor.hsv.string;
557
- case "hsva":
558
- return currentColor.hsva.string;
559
- default:
560
- return "";
561
- }
562
- }
563
- /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
564
- checkValidity() {
565
- return this.input.checkValidity();
566
- }
567
- /** Gets the associated form, if one exists. */
568
- getForm() {
569
- return this.formControlController.getForm();
570
- }
571
- /** Checks for validity and shows the browser's validation message if the control is invalid. */
572
- reportValidity() {
573
- if (!this.inline && !this.validity.valid) {
574
- this.dropdown.show();
575
- this.addEventListener("cw-after-show", () => this.input.reportValidity(), { once: true });
576
- if (!this.disabled) {
577
- this.formControlController.emitInvalidEvent();
578
- }
579
- return false;
580
- }
581
- return this.input.reportValidity();
582
- }
583
- /** Sets a custom validation message. Pass an empty string to restore validity. */
584
- setCustomValidity(message) {
585
- this.input.setCustomValidity(message);
586
- this.formControlController.updateValidity();
587
- }
588
- render() {
589
- const gridHandleX = this.saturation;
590
- const gridHandleY = 100 - this.brightness;
591
- const swatches = Array.isArray(this.swatches) ? this.swatches : this.swatches.split(";").filter((color) => color.trim() !== "");
592
- const colorPicker = html`
593
- <div
594
- part="base"
595
- class=${classMap({
596
- "color-picker": true,
597
- "color-picker--inline": this.inline,
598
- "color-picker--disabled": this.disabled,
599
- "color-picker--focused": this.hasFocus
600
- })}
601
- aria-disabled=${this.disabled ? "true" : "false"}
602
- aria-labelledby="label"
603
- tabindex=${this.inline ? "0" : "-1"}
604
- >
605
- ${this.inline ? html`
606
- <cw-visually-hidden id="label">
607
- <slot name="label">${this.label}</slot>
608
- </cw-visually-hidden>
609
- ` : null}
610
-
611
- <div
612
- part="grid"
613
- class="color-picker__grid"
614
- style=${styleMap({ backgroundColor: this.getHexString(this.hue, 100, 100) })}
615
- @pointerdown=${this.handleGridDrag}
616
- @touchmove=${this.handleTouchMove}
617
- >
618
- <span
619
- part="grid-handle"
620
- class=${classMap({
621
- "color-picker__grid-handle": true,
622
- "color-picker__grid-handle--dragging": this.isDraggingGridHandle
623
- })}
624
- style=${styleMap({
625
- top: `${gridHandleY}%`,
626
- left: `${gridHandleX}%`,
627
- backgroundColor: this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
628
- })}
629
- role="application"
630
- aria-label="HSV"
631
- tabindex=${ifDefined(this.disabled ? void 0 : "0")}
632
- @keydown=${this.handleGridKeyDown}
633
- ></span>
634
- </div>
635
-
636
- <div class="color-picker__controls">
637
- <div class="color-picker__sliders">
638
- <div
639
- part="slider hue-slider"
640
- class="color-picker__hue color-picker__slider"
641
- @pointerdown=${this.handleHueDrag}
642
- @touchmove=${this.handleTouchMove}
643
- >
644
- <span
645
- part="slider-handle hue-slider-handle"
646
- class="color-picker__slider-handle"
647
- style=${styleMap({
648
- left: `${this.hue === 0 ? 0 : 100 / (360 / this.hue)}%`
649
- })}
650
- role="slider"
651
- aria-label="hue"
652
- aria-orientation="horizontal"
653
- aria-valuemin="0"
654
- aria-valuemax="360"
655
- aria-valuenow=${`${Math.round(this.hue)}`}
656
- tabindex=${ifDefined(this.disabled ? void 0 : "0")}
657
- @keydown=${this.handleHueKeyDown}
658
- ></span>
659
- </div>
660
-
661
- ${this.opacity ? html`
662
- <div
663
- part="slider opacity-slider"
664
- class="color-picker__alpha color-picker__slider color-picker__transparent-bg"
665
- @pointerdown="${this.handleAlphaDrag}"
666
- @touchmove=${this.handleTouchMove}
667
- >
668
- <div
669
- class="color-picker__alpha-gradient"
670
- style=${styleMap({
671
- backgroundImage: `linear-gradient(
672
- to right,
673
- ${this.getHexString(this.hue, this.saturation, this.brightness, 0)} 0%,
674
- ${this.getHexString(this.hue, this.saturation, this.brightness, 100)} 100%
675
- )`
676
- })}
677
- ></div>
678
- <span
679
- part="slider-handle opacity-slider-handle"
680
- class="color-picker__slider-handle"
681
- style=${styleMap({
682
- left: `${this.alpha}%`
683
- })}
684
- role="slider"
685
- aria-label="alpha"
686
- aria-orientation="horizontal"
687
- aria-valuemin="0"
688
- aria-valuemax="100"
689
- aria-valuenow=${Math.round(this.alpha)}
690
- tabindex=${ifDefined(this.disabled ? void 0 : "0")}
691
- @keydown=${this.handleAlphaKeyDown}
692
- ></span>
693
- </div>
694
- ` : ""}
695
- </div>
696
-
697
- <button
698
- type="button"
699
- part="preview"
700
- class="color-picker__preview color-picker__transparent-bg"
701
- aria-label=${this.localize.term("copy")}
702
- style=${styleMap({
703
- "--preview-color": this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
704
- })}
705
- @click=${this.handleCopy}
706
- ></button>
707
- </div>
708
-
709
- <div class="color-picker__user-input" aria-live="polite">
710
- <cw-input
711
- part="input"
712
- type="text"
713
- name=${this.name}
714
- autocomplete="off"
715
- autocorrect="off"
716
- autocapitalize="off"
717
- spellcheck="false"
718
- value=${this.isEmpty ? "" : this.inputValue}
719
- ?required=${this.required}
720
- ?disabled=${this.disabled}
721
- aria-label=${this.localize.term("currentValue")}
722
- @keydown=${this.handleInputKeyDown}
723
- @cw-change=${this.handleInputChange}
724
- @cw-input=${this.handleInputInput}
725
- @cw-invalid=${this.handleInputInvalid}
726
- @cw-blur=${this.stopNestedEventPropagation}
727
- @cw-focus=${this.stopNestedEventPropagation}
728
- ></cw-input>
729
-
730
- <cw-button-group>
731
- ${!this.noFormatToggle ? html`
732
- <cw-button
733
- part="format-button"
734
- aria-label=${this.localize.term("toggleColorFormat")}
735
- exportparts="
736
- base:format-button__base,
737
- prefix:format-button__prefix,
738
- label:format-button__label,
739
- suffix:format-button__suffix,
740
- caret:format-button__caret
741
- "
742
- @click=${this.handleFormatToggle}
743
- @cw-blur=${this.stopNestedEventPropagation}
744
- @cw-focus=${this.stopNestedEventPropagation}
745
- >
746
- ${this.setLetterCase(this.format)}
747
- </cw-button>
748
- ` : ""}
749
- ${hasEyeDropper ? html`
750
- <cw-button
751
- part="eye-dropper-button"
752
- exportparts="
753
- base:eye-dropper-button__base,
754
- prefix:eye-dropper-button__prefix,
755
- label:eye-dropper-button__label,
756
- suffix:eye-dropper-button__suffix,
757
- caret:eye-dropper-button__caret
758
- "
759
- @click=${this.handleEyeDropper}
760
- @cw-blur=${this.stopNestedEventPropagation}
761
- @cw-focus=${this.stopNestedEventPropagation}
762
- >
763
- <cw-icon
764
- library="system"
765
- name="eyedropper"
766
- label=${this.localize.term("selectAColorFromTheScreen")}
767
- ></cw-icon>
768
- </cw-button>
769
- ` : ""}
770
- </cw-button-group>
771
- </div>
772
-
773
- ${swatches.length > 0 ? html`
774
- <div part="swatches" class="color-picker__swatches">
775
- ${swatches.map((swatch) => {
776
- const parsedColor = this.parseColor(swatch);
777
- if (!parsedColor) {
778
- console.error(`Unable to parse swatch color: "${swatch}"`, this);
779
- return "";
780
- }
781
- return html`
782
- <div
783
- part="swatch"
784
- class="color-picker__swatch color-picker__transparent-bg"
785
- tabindex=${ifDefined(this.disabled ? void 0 : "0")}
786
- role="button"
787
- aria-label=${swatch}
788
- @click=${() => this.selectSwatch(swatch)}
789
- @keydown=${(event) => !this.disabled && event.key === "Enter" && this.setColor(parsedColor.hexa)}
790
- >
791
- <div
792
- class="color-picker__swatch-color"
793
- style=${styleMap({ backgroundColor: parsedColor.hexa })}
794
- ></div>
795
- </div>
796
- `;
797
- })}
798
- </div>
799
- ` : ""}
800
- </div>
801
- `;
802
- if (this.inline) {
803
- return colorPicker;
804
- }
805
- return html`
806
- <cw-dropdown
807
- class="color-dropdown"
808
- aria-disabled=${this.disabled ? "true" : "false"}
809
- .containingElement=${this}
810
- ?disabled=${this.disabled}
811
- ?hoist=${this.hoist}
812
- @cw-after-hide=${this.handleAfterHide}
813
- >
814
- <button
815
- part="trigger"
816
- slot="trigger"
817
- class=${classMap({
818
- "color-dropdown__trigger": true,
819
- "color-dropdown__trigger--disabled": this.disabled,
820
- "color-dropdown__trigger--small": this.size === "small",
821
- "color-dropdown__trigger--medium": this.size === "medium",
822
- "color-dropdown__trigger--large": this.size === "large",
823
- "color-dropdown__trigger--empty": this.isEmpty,
824
- "color-dropdown__trigger--focused": this.hasFocus,
825
- "color-picker__transparent-bg": true
826
- })}
827
- style=${styleMap({
828
- color: this.getHexString(this.hue, this.saturation, this.brightness, this.alpha)
829
- })}
830
- type="button"
831
- >
832
- <cw-visually-hidden>
833
- <slot name="label">${this.label}</slot>
834
- </cw-visually-hidden>
835
- </button>
836
- ${colorPicker}
837
- </cw-dropdown>
838
- `;
839
- }
840
- };
841
- CwColorPicker.styles = [component_styles_default, color_picker_styles_default];
842
- CwColorPicker.dependencies = {
843
- "cw-button-group": CwButtonGroup,
844
- "cw-button": CwButton,
845
- "cw-dropdown": CwDropdown,
846
- "cw-icon": CwIcon,
847
- "cw-input": CwInput,
848
- "cw-visually-hidden": CwVisuallyHidden
849
- };
850
- __decorateClass([
851
- query('[part~="base"]')
852
- ], CwColorPicker.prototype, "base", 2);
853
- __decorateClass([
854
- query('[part~="input"]')
855
- ], CwColorPicker.prototype, "input", 2);
856
- __decorateClass([
857
- query(".color-dropdown")
858
- ], CwColorPicker.prototype, "dropdown", 2);
859
- __decorateClass([
860
- query('[part~="preview"]')
861
- ], CwColorPicker.prototype, "previewButton", 2);
862
- __decorateClass([
863
- query('[part~="trigger"]')
864
- ], CwColorPicker.prototype, "trigger", 2);
865
- __decorateClass([
866
- state()
867
- ], CwColorPicker.prototype, "hasFocus", 2);
868
- __decorateClass([
869
- state()
870
- ], CwColorPicker.prototype, "isDraggingGridHandle", 2);
871
- __decorateClass([
872
- state()
873
- ], CwColorPicker.prototype, "isEmpty", 2);
874
- __decorateClass([
875
- state()
876
- ], CwColorPicker.prototype, "inputValue", 2);
877
- __decorateClass([
878
- state()
879
- ], CwColorPicker.prototype, "hue", 2);
880
- __decorateClass([
881
- state()
882
- ], CwColorPicker.prototype, "saturation", 2);
883
- __decorateClass([
884
- state()
885
- ], CwColorPicker.prototype, "brightness", 2);
886
- __decorateClass([
887
- state()
888
- ], CwColorPicker.prototype, "alpha", 2);
889
- __decorateClass([
890
- property()
891
- ], CwColorPicker.prototype, "value", 2);
892
- __decorateClass([
893
- defaultValue()
894
- ], CwColorPicker.prototype, "defaultValue", 2);
895
- __decorateClass([
896
- property()
897
- ], CwColorPicker.prototype, "label", 2);
898
- __decorateClass([
899
- property()
900
- ], CwColorPicker.prototype, "format", 2);
901
- __decorateClass([
902
- property({ type: Boolean, reflect: true })
903
- ], CwColorPicker.prototype, "inline", 2);
904
- __decorateClass([
905
- property({ reflect: true })
906
- ], CwColorPicker.prototype, "size", 2);
907
- __decorateClass([
908
- property({ attribute: "no-format-toggle", type: Boolean })
909
- ], CwColorPicker.prototype, "noFormatToggle", 2);
910
- __decorateClass([
911
- property()
912
- ], CwColorPicker.prototype, "name", 2);
913
- __decorateClass([
914
- property({ type: Boolean, reflect: true })
915
- ], CwColorPicker.prototype, "disabled", 2);
916
- __decorateClass([
917
- property({ type: Boolean })
918
- ], CwColorPicker.prototype, "hoist", 2);
919
- __decorateClass([
920
- property({ type: Boolean })
921
- ], CwColorPicker.prototype, "opacity", 2);
922
- __decorateClass([
923
- property({ type: Boolean })
924
- ], CwColorPicker.prototype, "uppercase", 2);
925
- __decorateClass([
926
- property()
927
- ], CwColorPicker.prototype, "swatches", 2);
928
- __decorateClass([
929
- property({ reflect: true })
930
- ], CwColorPicker.prototype, "form", 2);
931
- __decorateClass([
932
- property({ type: Boolean, reflect: true })
933
- ], CwColorPicker.prototype, "required", 2);
934
- __decorateClass([
935
- eventOptions({ passive: false })
936
- ], CwColorPicker.prototype, "handleTouchMove", 1);
937
- __decorateClass([
938
- watch("format", { waitUntilFirstUpdate: true })
939
- ], CwColorPicker.prototype, "handleFormatChange", 1);
940
- __decorateClass([
941
- watch("opacity", { waitUntilFirstUpdate: true })
942
- ], CwColorPicker.prototype, "handleOpacityChange", 1);
943
- __decorateClass([
944
- watch("value")
945
- ], CwColorPicker.prototype, "handleValueChange", 1);
946
-
947
- export {
948
- CwColorPicker
949
- };