@cordwainer/cw-elements 1.1.1 → 1.2.1

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 (1205) hide show
  1. package/README.md +2 -0
  2. package/cdn/chunks/chunk.2ABQBH3T.js +24 -0
  3. package/cdn/chunks/chunk.2M2LDZVP.js +63 -0
  4. package/cdn/chunks/chunk.2RL42HHN.js +11 -0
  5. package/cdn/chunks/chunk.2UI4D7JQ.js +25 -0
  6. package/cdn/chunks/chunk.2VA72LZG.js +75 -0
  7. package/cdn/chunks/chunk.2WHCNZPF.js +73 -0
  8. package/cdn/chunks/chunk.2XSYSDO3.js +20 -0
  9. package/cdn/chunks/chunk.32FCS5G3.js +25 -0
  10. package/cdn/chunks/chunk.36WEKSSD.js +27 -0
  11. package/cdn/chunks/chunk.3JUR4WLV.js +367 -0
  12. package/cdn/chunks/chunk.3SCO7KYN.js +11 -0
  13. package/cdn/chunks/chunk.3TZJEICB.js +28 -0
  14. package/cdn/chunks/chunk.433OX757.js +21 -0
  15. package/cdn/chunks/chunk.43A4Y653.js +11 -0
  16. package/cdn/chunks/chunk.4BOG5IA6.js +21 -0
  17. package/cdn/chunks/chunk.4EHFE5SL.js +33 -0
  18. package/cdn/chunks/chunk.4I6BHFGN.js +25 -0
  19. package/cdn/chunks/chunk.4MTUK4EV.js +21 -0
  20. package/cdn/chunks/chunk.4QNVGPFV.js +24 -0
  21. package/cdn/chunks/chunk.4RC43V33.js +291 -0
  22. package/cdn/chunks/chunk.4VRBSQM7.js +11 -0
  23. package/cdn/chunks/chunk.527GM2XC.js +11 -0
  24. package/cdn/chunks/chunk.534ODYW6.js +21 -0
  25. package/cdn/chunks/chunk.5I6MH2ZW.js +82 -0
  26. package/cdn/chunks/chunk.5XEDSSJT.js +11 -0
  27. package/cdn/chunks/chunk.64LRCUA3.js +11 -0
  28. package/cdn/chunks/chunk.67XVRFWW.js +11 -0
  29. package/cdn/chunks/chunk.6I4O5VLK.js +279 -0
  30. package/cdn/chunks/chunk.6IAEPJN3.js +36 -0
  31. package/cdn/chunks/chunk.6PB43MV5.js +11 -0
  32. package/cdn/chunks/chunk.73JRDUHG.js +11 -0
  33. package/cdn/chunks/chunk.7BGZDXGF.js +21 -0
  34. package/cdn/chunks/chunk.7BTFK3HV.js +21 -0
  35. package/cdn/chunks/chunk.7DTXWJNT.js +50 -0
  36. package/cdn/chunks/chunk.7KFKGBU4.js +174 -0
  37. package/cdn/chunks/chunk.7XMXNXCD.js +29 -0
  38. package/cdn/chunks/chunk.7ZIVYTTK.js +199 -0
  39. package/cdn/chunks/chunk.A4BCZJLI.js +21 -0
  40. package/cdn/chunks/chunk.A64VLE5I.js +292 -0
  41. package/cdn/chunks/chunk.A6FTT2VQ.js +21 -0
  42. package/cdn/chunks/chunk.A7AEPAIU.js +49 -0
  43. package/cdn/chunks/chunk.ABK5M4LV.js +137 -0
  44. package/cdn/chunks/chunk.AI3ZWFWE.js +11 -0
  45. package/cdn/chunks/chunk.AXIPZE4P.js +1925 -0
  46. package/cdn/chunks/chunk.B2PPQIWG.js +11 -0
  47. package/cdn/chunks/chunk.B4CBZOWA.js +821 -0
  48. package/cdn/chunks/chunk.BAQ7AMXF.js +844 -0
  49. package/cdn/chunks/chunk.BCZ3EWVO.js +127 -0
  50. package/cdn/chunks/chunk.BELJYMFR.js +302 -0
  51. package/cdn/chunks/chunk.BIO2VN6G.js +11 -0
  52. package/cdn/chunks/chunk.BK437T4Q.js +21 -0
  53. package/cdn/chunks/chunk.BKEUG26E.js +11 -0
  54. package/cdn/chunks/chunk.BP5ZEQUH.js +24 -0
  55. package/cdn/chunks/chunk.BPHWOOXQ.js +11 -0
  56. package/cdn/chunks/chunk.BS3LJAXR.js +11 -0
  57. package/cdn/chunks/chunk.BYB5ZXFV.js +27 -0
  58. package/cdn/chunks/chunk.C4QY7KGQ.js +44 -0
  59. package/cdn/chunks/chunk.CFXNM5PV.js +21 -0
  60. package/cdn/chunks/chunk.CRESCVNO.js +24 -0
  61. package/cdn/chunks/chunk.CSANS7VC.js +24 -0
  62. package/cdn/chunks/chunk.CTSRL7V6.js +455 -0
  63. package/cdn/chunks/chunk.D264CTKL.js +24 -0
  64. package/cdn/chunks/chunk.D7LM22EN.js +25 -0
  65. package/cdn/chunks/chunk.DDTTFJCF.js +499 -0
  66. package/cdn/chunks/chunk.DF7ZAXYF.js +11 -0
  67. package/cdn/chunks/chunk.DG26Z4ZB.js +11 -0
  68. package/cdn/chunks/chunk.DGF5TDSM.js +21 -0
  69. package/cdn/chunks/chunk.DGODKPQA.js +11 -0
  70. package/cdn/chunks/chunk.DPAO43JG.js +11 -0
  71. package/cdn/chunks/chunk.DQPV33E7.js +27 -0
  72. package/cdn/chunks/chunk.DS2XGVWR.js +11 -0
  73. package/cdn/chunks/chunk.DV26UG7N.js +25 -0
  74. package/cdn/chunks/chunk.DXDA3VLS.js +33 -0
  75. package/cdn/chunks/chunk.ES3K3XA7.js +77 -0
  76. package/cdn/chunks/chunk.ET3FRZ6O.js +33 -0
  77. package/cdn/chunks/chunk.EVG4STTK.js +28 -0
  78. package/cdn/chunks/chunk.EVH3IAYF.js +11 -0
  79. package/cdn/chunks/chunk.EWAW6AG4.js +11 -0
  80. package/cdn/chunks/chunk.EZPFOFUH.js +11 -0
  81. package/cdn/chunks/chunk.FOGXRJPB.js +11 -0
  82. package/cdn/chunks/chunk.FSVSO6MD.js +25 -0
  83. package/cdn/chunks/chunk.GD6G7IYN.js +299 -0
  84. package/cdn/chunks/chunk.GISCOUWX.js +255 -0
  85. package/cdn/chunks/chunk.GK2NKYP5.js +11 -0
  86. package/cdn/chunks/chunk.GOTBDAX4.js +11 -0
  87. package/cdn/chunks/chunk.GPYSXCKD.js +87 -0
  88. package/cdn/chunks/chunk.GQ7ANUTJ.js +11 -0
  89. package/cdn/chunks/chunk.H2ELFXIG.js +120 -0
  90. package/cdn/chunks/chunk.H6P7XLGN.js +158 -0
  91. package/cdn/chunks/chunk.H75CMH4M.js +11 -0
  92. package/cdn/chunks/chunk.HLPDOZ5R.js +11 -0
  93. package/cdn/chunks/chunk.HN4HUBBD.js +11 -0
  94. package/cdn/chunks/chunk.HNB7SB2N.js +26 -0
  95. package/cdn/chunks/chunk.HNWXRE3Y.js +49 -0
  96. package/cdn/chunks/chunk.HNZOPGOE.js +346 -0
  97. package/cdn/chunks/chunk.HPADXAEP.js +267 -0
  98. package/cdn/chunks/chunk.HSXXLJL3.js +21 -0
  99. package/cdn/chunks/chunk.I5E35GCJ.js +11 -0
  100. package/cdn/chunks/chunk.IAGQ4UKG.js +11 -0
  101. package/cdn/chunks/chunk.ICG3HF46.js +21 -0
  102. package/cdn/chunks/chunk.IUZFGI5Z.js +336 -0
  103. package/cdn/chunks/chunk.JDAYWQJD.js +24 -0
  104. package/cdn/chunks/chunk.JEARUAS7.js +11 -0
  105. package/cdn/chunks/chunk.JQIAYDIB.js +11 -0
  106. package/cdn/chunks/chunk.JRX6YGCO.js +103 -0
  107. package/cdn/chunks/chunk.JVO3SEBW.js +236 -0
  108. package/cdn/chunks/chunk.KAI6AEER.js +11 -0
  109. package/cdn/chunks/chunk.KBV5AHP5.js +233 -0
  110. package/cdn/chunks/chunk.KQ6WUWCD.js +574 -0
  111. package/cdn/chunks/chunk.KU44YP6V.js +28 -0
  112. package/cdn/chunks/chunk.KVQAU74F.js +11 -0
  113. package/cdn/chunks/chunk.KXR6AJ4U.js +11 -0
  114. package/cdn/chunks/chunk.KZRRAERK.js +77 -0
  115. package/cdn/chunks/chunk.LK3HNKNT.js +11 -0
  116. package/cdn/chunks/chunk.LLGCABXU.js +21 -0
  117. package/cdn/chunks/chunk.LLYDZTAW.js +11 -0
  118. package/cdn/chunks/chunk.LPHSK456.js +24 -0
  119. package/cdn/chunks/chunk.LQG2OJTL.js +21 -0
  120. package/cdn/chunks/chunk.LQUMD6B3.js +186 -0
  121. package/cdn/chunks/chunk.LRD4KZ65.js +11 -0
  122. package/cdn/chunks/chunk.M63W4FGQ.js +25 -0
  123. package/cdn/chunks/chunk.MAY2VKXH.js +402 -0
  124. package/cdn/chunks/chunk.MKS5EXEH.js +79 -0
  125. package/cdn/chunks/chunk.MQ3YWKSW.js +11 -0
  126. package/cdn/chunks/chunk.MRSANBCU.js +28 -0
  127. package/cdn/chunks/chunk.MUYIYV3K.js +24 -0
  128. package/cdn/chunks/chunk.N4JWQSRB.js +297 -0
  129. package/cdn/chunks/chunk.N6V4TS7X.js +21 -0
  130. package/cdn/chunks/chunk.NBR7Z7VY.js +363 -0
  131. package/cdn/chunks/chunk.NE2QGN6G.js +378 -0
  132. package/cdn/chunks/chunk.NE4A3M72.js +724 -0
  133. package/cdn/chunks/chunk.NPMCH2U4.js +153 -0
  134. package/cdn/chunks/chunk.NYIAWE3H.js +95 -0
  135. package/cdn/chunks/chunk.OH6KSJA3.js +11 -0
  136. package/cdn/chunks/chunk.OJWHL257.js +197 -0
  137. package/cdn/chunks/chunk.OMY6HOV2.js +114 -0
  138. package/cdn/chunks/chunk.ONHKLZW5.js +21 -0
  139. package/cdn/chunks/chunk.OU6G3AGI.js +120 -0
  140. package/cdn/chunks/chunk.P3D32XA3.js +11 -0
  141. package/cdn/chunks/chunk.P67UYW4E.js +26 -0
  142. package/cdn/chunks/chunk.PEOBBIRW.js +969 -0
  143. package/cdn/chunks/chunk.PKVVEW5V.js +21 -0
  144. package/cdn/chunks/chunk.PPCXRX4Y.js +25 -0
  145. package/cdn/chunks/chunk.PPZKAX5E.js +11 -0
  146. package/cdn/chunks/chunk.PQAMU4Q5.js +904 -0
  147. package/cdn/chunks/chunk.QOGDCKGP.js +97 -0
  148. package/cdn/chunks/chunk.R2K7WOZ3.js +11 -0
  149. package/cdn/chunks/chunk.R4YQUQ5I.js +27 -0
  150. package/cdn/chunks/chunk.R52Y3GOJ.js +11 -0
  151. package/cdn/chunks/chunk.RAHX455H.js +29 -0
  152. package/cdn/chunks/chunk.RISMPXQZ.js +26 -0
  153. package/cdn/chunks/chunk.RSFQHYNG.js +93 -0
  154. package/cdn/chunks/chunk.RVTSNJQY.js +11 -0
  155. package/cdn/chunks/chunk.S25WMYUT.js +21 -0
  156. package/cdn/chunks/chunk.S2FT5LFP.js +11 -0
  157. package/cdn/chunks/chunk.S3TXG4NZ.js +11 -0
  158. package/cdn/chunks/chunk.SBANF5X2.js +11 -0
  159. package/cdn/chunks/chunk.SJRDDKRU.js +11 -0
  160. package/cdn/chunks/chunk.SML7LZDD.js +113 -0
  161. package/cdn/chunks/chunk.STLV5MN3.js +25 -0
  162. package/cdn/chunks/chunk.T4PM4ZKM.js +11 -0
  163. package/cdn/chunks/chunk.T7RZTLZV.js +67 -0
  164. package/cdn/chunks/chunk.TCZQRLNO.js +29 -0
  165. package/cdn/chunks/chunk.TJKEGD2K.js +142 -0
  166. package/cdn/chunks/chunk.TMWLGPV2.js +24 -0
  167. package/cdn/chunks/chunk.U2MNDT4P.js +26 -0
  168. package/cdn/chunks/chunk.U7UORM77.js +11 -0
  169. package/cdn/chunks/chunk.UAICV3R4.js +28 -0
  170. package/cdn/chunks/chunk.UCZTHXGB.js +314 -0
  171. package/cdn/chunks/chunk.UCZVHBLT.js +11 -0
  172. package/cdn/chunks/chunk.UEPAYYWS.js +11 -0
  173. package/cdn/chunks/chunk.UOUMZSTF.js +218 -0
  174. package/cdn/chunks/chunk.UTT5APVM.js +11 -0
  175. package/cdn/chunks/chunk.UVDSERG6.js +11 -0
  176. package/cdn/chunks/chunk.VAU32IYQ.js +21 -0
  177. package/cdn/chunks/chunk.VHLF4LLS.js +391 -0
  178. package/cdn/chunks/chunk.VTFPOF4Q.js +21 -0
  179. package/cdn/chunks/chunk.WULO5ADH.js +27 -0
  180. package/cdn/chunks/chunk.X2RU4UVB.js +33 -0
  181. package/cdn/chunks/chunk.X3RZ7YLA.js +11 -0
  182. package/cdn/chunks/chunk.XCVQE4JF.js +24 -0
  183. package/cdn/chunks/chunk.XD2FENJJ.js +11 -0
  184. package/cdn/chunks/chunk.XDFCFX3B.js +24 -0
  185. package/cdn/chunks/chunk.XRB7KLVK.js +11 -0
  186. package/cdn/chunks/chunk.Y4CB2PIQ.js +135 -0
  187. package/cdn/chunks/chunk.YBBWVKOT.js +42 -0
  188. package/cdn/chunks/chunk.YEFRIPYW.js +122 -0
  189. package/cdn/chunks/chunk.YIBQOBWJ.js +21 -0
  190. package/cdn/chunks/chunk.YKG5HHYI.js +11 -0
  191. package/cdn/chunks/chunk.YZC3323J.js +216 -0
  192. package/cdn/chunks/chunk.ZBQEZGGB.js +29 -0
  193. package/cdn/chunks/chunk.ZMZDJ5EM.js +24 -0
  194. package/cdn/chunks/chunk.ZNJQJUDO.js +1990 -0
  195. package/cdn/chunks/chunk.ZPANZHYH.js +11 -0
  196. package/cdn/chunks/chunk.ZPE6J3UM.js +24 -0
  197. package/cdn/chunks/chunk.ZSYATAUK.js +11 -0
  198. package/cdn/components/alert/alert.component.js +6 -6
  199. package/cdn/components/alert/alert.js +7 -7
  200. package/cdn/components/animated-image/animated-image.component.js +5 -5
  201. package/cdn/components/animated-image/animated-image.js +6 -6
  202. package/cdn/components/animation/animation.component.js +2 -2
  203. package/cdn/components/animation/animation.js +3 -3
  204. package/cdn/components/avatar/avatar.component.js +5 -5
  205. package/cdn/components/avatar/avatar.js +6 -6
  206. package/cdn/components/badge/badge.component.js +2 -2
  207. package/cdn/components/badge/badge.js +3 -3
  208. package/cdn/components/breadcrumb/breadcrumb.component.js +5 -5
  209. package/cdn/components/breadcrumb/breadcrumb.js +6 -6
  210. package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  211. package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
  212. package/cdn/components/button/button.component.js +6 -6
  213. package/cdn/components/button/button.js +7 -7
  214. package/cdn/components/button-group/button-group.component.js +2 -2
  215. package/cdn/components/button-group/button-group.js +3 -3
  216. package/cdn/components/card/card.component.js +2 -2
  217. package/cdn/components/card/card.js +3 -3
  218. package/cdn/components/carousel/carousel.component.js +6 -5
  219. package/cdn/components/carousel/carousel.js +7 -6
  220. package/cdn/components/carousel-item/carousel-item.component.js +2 -2
  221. package/cdn/components/carousel-item/carousel-item.js +3 -3
  222. package/cdn/components/checkbox/checkbox.component.js +5 -5
  223. package/cdn/components/checkbox/checkbox.js +6 -6
  224. package/cdn/components/color-picker/color-picker.component.js +13 -13
  225. package/cdn/components/color-picker/color-picker.js +14 -14
  226. package/cdn/components/combobox/combobox.component.js +10 -10
  227. package/cdn/components/combobox/combobox.js +11 -11
  228. package/cdn/components/copy-button/copy-button.component.js +7 -7
  229. package/cdn/components/copy-button/copy-button.js +8 -8
  230. package/cdn/components/data-table/data-table-column.component.d.ts +39 -0
  231. package/cdn/components/data-table/data-table-column.component.js +10 -0
  232. package/cdn/components/data-table/data-table-column.d.ts +8 -0
  233. package/cdn/components/data-table/data-table-column.js +11 -0
  234. package/cdn/components/data-table/data-table.component.d.ts +98 -0
  235. package/cdn/components/data-table/data-table.component.js +35 -0
  236. package/cdn/components/data-table/data-table.d.ts +8 -0
  237. package/cdn/components/data-table/data-table.js +36 -0
  238. package/cdn/components/data-table/data-table.styles.d.ts +2 -0
  239. package/cdn/components/data-table/data-table.styles.js +8 -0
  240. package/cdn/components/data-table/define/cw-data-table-column.d.ts +8 -0
  241. package/cdn/components/data-table/define/cw-data-table-column.js +14 -0
  242. package/cdn/components/data-table-column/data-table-column.d.ts +2 -0
  243. package/cdn/components/data-table-column/data-table-column.js +11 -0
  244. package/cdn/components/date-picker/date-picker.component.js +7 -7
  245. package/cdn/components/date-picker/date-picker.js +8 -8
  246. package/cdn/components/details/details.component.js +5 -5
  247. package/cdn/components/details/details.js +6 -6
  248. package/cdn/components/dialog/dialog.component.js +7 -7
  249. package/cdn/components/dialog/dialog.js +8 -8
  250. package/cdn/components/divider/divider.component.js +2 -2
  251. package/cdn/components/divider/divider.js +3 -3
  252. package/cdn/components/drawer/drawer.component.js +7 -7
  253. package/cdn/components/drawer/drawer.js +8 -8
  254. package/cdn/components/dropdown/dropdown.component.js +3 -3
  255. package/cdn/components/dropdown/dropdown.js +4 -4
  256. package/cdn/components/format-bytes/format-bytes.component.js +2 -2
  257. package/cdn/components/format-bytes/format-bytes.js +3 -3
  258. package/cdn/components/format-date/format-date.component.js +2 -2
  259. package/cdn/components/format-date/format-date.js +3 -3
  260. package/cdn/components/format-number/format-number.component.js +2 -2
  261. package/cdn/components/format-number/format-number.js +3 -3
  262. package/cdn/components/icon/icon.component.js +4 -4
  263. package/cdn/components/icon/icon.js +5 -5
  264. package/cdn/components/icon/library.js +2 -2
  265. package/cdn/components/icon-button/icon-button.component.js +5 -5
  266. package/cdn/components/icon-button/icon-button.js +6 -6
  267. package/cdn/components/image-comparer/image-comparer.component.js +5 -5
  268. package/cdn/components/image-comparer/image-comparer.js +6 -6
  269. package/cdn/components/include/include.component.js +3 -3
  270. package/cdn/components/include/include.js +4 -4
  271. package/cdn/components/input/input.component.js +5 -5
  272. package/cdn/components/input/input.js +6 -6
  273. package/cdn/components/menu/menu.component.js +2 -2
  274. package/cdn/components/menu/menu.js +3 -3
  275. package/cdn/components/menu-item/menu-item.component.js +7 -7
  276. package/cdn/components/menu-item/menu-item.js +8 -8
  277. package/cdn/components/menu-label/menu-label.component.js +2 -2
  278. package/cdn/components/menu-label/menu-label.js +3 -3
  279. package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
  280. package/cdn/components/mutation-observer/mutation-observer.js +3 -3
  281. package/cdn/components/option/option.component.js +5 -5
  282. package/cdn/components/option/option.js +6 -6
  283. package/cdn/components/pagination/pagination.component.js +6 -6
  284. package/cdn/components/pagination/pagination.js +7 -7
  285. package/cdn/components/popup/popup.component.js +2 -2
  286. package/cdn/components/popup/popup.js +3 -3
  287. package/cdn/components/progress-bar/progress-bar.component.js +2 -2
  288. package/cdn/components/progress-bar/progress-bar.js +3 -3
  289. package/cdn/components/progress-ring/progress-ring.component.js +2 -2
  290. package/cdn/components/progress-ring/progress-ring.js +3 -3
  291. package/cdn/components/qr-code/qr-code.component.js +2 -2
  292. package/cdn/components/qr-code/qr-code.js +3 -3
  293. package/cdn/components/radio/radio.component.js +5 -5
  294. package/cdn/components/radio/radio.js +6 -6
  295. package/cdn/components/radio-button/radio-button.component.js +2 -2
  296. package/cdn/components/radio-button/radio-button.js +3 -3
  297. package/cdn/components/radio-group/radio-group.component.js +3 -3
  298. package/cdn/components/radio-group/radio-group.js +4 -4
  299. package/cdn/components/range/range.component.js +2 -2
  300. package/cdn/components/range/range.js +3 -3
  301. package/cdn/components/rating/rating.component.js +5 -5
  302. package/cdn/components/rating/rating.js +6 -6
  303. package/cdn/components/relative-time/relative-time.component.js +2 -2
  304. package/cdn/components/relative-time/relative-time.js +3 -3
  305. package/cdn/components/resize-observer/resize-observer.component.js +2 -2
  306. package/cdn/components/resize-observer/resize-observer.js +3 -3
  307. package/cdn/components/select/select.component.js +8 -8
  308. package/cdn/components/select/select.js +9 -9
  309. package/cdn/components/skeleton/skeleton.component.js +2 -2
  310. package/cdn/components/skeleton/skeleton.js +3 -3
  311. package/cdn/components/spinner/spinner.component.js +2 -2
  312. package/cdn/components/spinner/spinner.js +3 -3
  313. package/cdn/components/split-panel/split-panel.component.js +2 -2
  314. package/cdn/components/split-panel/split-panel.js +3 -3
  315. package/cdn/components/switch/switch.component.js +2 -2
  316. package/cdn/components/switch/switch.js +3 -3
  317. package/cdn/components/tab/tab.component.js +6 -6
  318. package/cdn/components/tab/tab.js +7 -7
  319. package/cdn/components/tab-group/tab-group.component.js +7 -7
  320. package/cdn/components/tab-group/tab-group.js +8 -8
  321. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  322. package/cdn/components/tab-panel/tab-panel.js +3 -3
  323. package/cdn/components/tag/tag.component.js +6 -6
  324. package/cdn/components/tag/tag.js +7 -7
  325. package/cdn/components/textarea/textarea.component.js +2 -2
  326. package/cdn/components/textarea/textarea.js +3 -3
  327. package/cdn/components/time-picker/time-picker.component.js +7 -7
  328. package/cdn/components/time-picker/time-picker.js +8 -8
  329. package/cdn/components/tooltip/tooltip.component.js +3 -3
  330. package/cdn/components/tooltip/tooltip.js +4 -4
  331. package/cdn/components/tree/tree.component.js +9 -9
  332. package/cdn/components/tree/tree.js +10 -10
  333. package/cdn/components/tree-item/tree-item.component.js +7 -7
  334. package/cdn/components/tree-item/tree-item.js +8 -8
  335. package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
  336. package/cdn/components/visually-hidden/visually-hidden.js +3 -3
  337. package/cdn/custom-elements.json +772 -3
  338. package/cdn/cw-elements.d.ts +3 -0
  339. package/cdn/cw-elements.js +184 -165
  340. package/cdn/events/cw-row-click.d.ts +9 -0
  341. package/cdn/events/cw-row-selection-change.d.ts +8 -0
  342. package/cdn/events/cw-sort-change.d.ts +9 -0
  343. package/cdn/events/events.d.ts +3 -0
  344. package/cdn/react/alert/index.js +7 -7
  345. package/cdn/react/animated-image/index.js +6 -6
  346. package/cdn/react/animation/index.js +3 -3
  347. package/cdn/react/avatar/index.js +6 -6
  348. package/cdn/react/badge/index.js +3 -3
  349. package/cdn/react/breadcrumb/index.js +6 -6
  350. package/cdn/react/breadcrumb-item/index.js +3 -3
  351. package/cdn/react/button/index.js +7 -7
  352. package/cdn/react/button-group/index.js +3 -3
  353. package/cdn/react/card/index.js +3 -3
  354. package/cdn/react/carousel/index.js +7 -6
  355. package/cdn/react/carousel-item/index.js +3 -3
  356. package/cdn/react/checkbox/index.js +6 -6
  357. package/cdn/react/color-picker/index.js +14 -14
  358. package/cdn/react/combobox/index.js +11 -11
  359. package/cdn/react/copy-button/index.js +8 -8
  360. package/cdn/react/data-table/index.d.ts +50 -0
  361. package/cdn/react/data-table/index.js +36 -0
  362. package/cdn/react/data-table-column/index.d.ts +11 -0
  363. package/cdn/react/data-table-column/index.js +11 -0
  364. package/cdn/react/date-picker/index.js +8 -8
  365. package/cdn/react/details/index.js +6 -6
  366. package/cdn/react/dialog/index.js +8 -8
  367. package/cdn/react/divider/index.js +3 -3
  368. package/cdn/react/drawer/index.js +8 -8
  369. package/cdn/react/dropdown/index.js +4 -4
  370. package/cdn/react/format-bytes/index.js +3 -3
  371. package/cdn/react/format-date/index.js +3 -3
  372. package/cdn/react/format-number/index.js +3 -3
  373. package/cdn/react/icon/index.js +5 -5
  374. package/cdn/react/icon-button/index.js +6 -6
  375. package/cdn/react/image-comparer/index.js +6 -6
  376. package/cdn/react/include/index.js +4 -4
  377. package/cdn/react/index.d.ts +2 -0
  378. package/cdn/react/index.js +172 -160
  379. package/cdn/react/input/index.js +6 -6
  380. package/cdn/react/menu/index.js +3 -3
  381. package/cdn/react/menu-item/index.js +8 -8
  382. package/cdn/react/menu-label/index.js +3 -3
  383. package/cdn/react/mutation-observer/index.js +3 -3
  384. package/cdn/react/option/index.js +6 -6
  385. package/cdn/react/pagination/index.js +7 -7
  386. package/cdn/react/popup/index.js +3 -3
  387. package/cdn/react/progress-bar/index.js +3 -3
  388. package/cdn/react/progress-ring/index.js +3 -3
  389. package/cdn/react/qr-code/index.js +3 -3
  390. package/cdn/react/radio/index.js +6 -6
  391. package/cdn/react/radio-button/index.js +3 -3
  392. package/cdn/react/radio-group/index.js +4 -4
  393. package/cdn/react/range/index.js +3 -3
  394. package/cdn/react/rating/index.js +6 -6
  395. package/cdn/react/relative-time/index.js +3 -3
  396. package/cdn/react/resize-observer/index.js +3 -3
  397. package/cdn/react/select/index.js +9 -9
  398. package/cdn/react/skeleton/index.js +3 -3
  399. package/cdn/react/spinner/index.js +3 -3
  400. package/cdn/react/split-panel/index.js +3 -3
  401. package/cdn/react/switch/index.js +3 -3
  402. package/cdn/react/tab/index.js +7 -7
  403. package/cdn/react/tab-group/index.js +8 -8
  404. package/cdn/react/tab-panel/index.js +3 -3
  405. package/cdn/react/tag/index.js +7 -7
  406. package/cdn/react/textarea/index.js +3 -3
  407. package/cdn/react/time-picker/index.js +8 -8
  408. package/cdn/react/tooltip/index.js +4 -4
  409. package/cdn/react/tree/index.js +10 -10
  410. package/cdn/react/tree-item/index.js +8 -8
  411. package/cdn/react/visually-hidden/index.js +3 -3
  412. package/cdn/types/vue/index.d.ts +109 -0
  413. package/cdn/utilities/icon-library.js +2 -2
  414. package/cdn/vscode.html-custom-data.json +117 -1
  415. package/cdn/web-types.json +267 -3
  416. package/dist/chunks/chunk.24EJVARZ.js +29 -0
  417. package/dist/chunks/chunk.2CFOWBGY.js +21 -0
  418. package/dist/chunks/chunk.2E2GE6KK.js +11 -0
  419. package/dist/chunks/chunk.2LZFWEHD.js +11 -0
  420. package/dist/chunks/chunk.2OHPKMXI.js +21 -0
  421. package/dist/chunks/chunk.2PMJGOSC.js +11 -0
  422. package/dist/chunks/chunk.2UMKVL63.js +11 -0
  423. package/dist/chunks/chunk.2XE6JBK7.js +24 -0
  424. package/dist/chunks/chunk.34FGPPU6.js +896 -0
  425. package/dist/chunks/chunk.3DTAKSK7.js +21 -0
  426. package/dist/chunks/chunk.3H7B7Z5O.js +28 -0
  427. package/dist/chunks/chunk.3IAVLPXZ.js +21 -0
  428. package/dist/chunks/chunk.3PNFQXBT.js +181 -0
  429. package/dist/chunks/chunk.3VC4WJAC.js +448 -0
  430. package/dist/chunks/chunk.472E2CQD.js +21 -0
  431. package/dist/chunks/chunk.4CBJO73P.js +11 -0
  432. package/dist/chunks/chunk.4EWWJ47Z.js +11 -0
  433. package/dist/chunks/chunk.4FY5QAHZ.js +170 -0
  434. package/dist/chunks/chunk.4HPRO7M7.js +247 -0
  435. package/dist/chunks/chunk.4PXYWJXH.js +24 -0
  436. package/dist/chunks/chunk.5DE6VF5B.js +813 -0
  437. package/dist/chunks/chunk.5DPHPWOJ.js +11 -0
  438. package/dist/chunks/chunk.5J5KZ5TW.js +11 -0
  439. package/dist/chunks/chunk.5NU26MOJ.js +25 -0
  440. package/dist/chunks/chunk.5RP3PHYB.js +29 -0
  441. package/dist/chunks/chunk.5WDGDDQ3.js +961 -0
  442. package/dist/chunks/chunk.5Z3XAIY4.js +21 -0
  443. package/dist/chunks/chunk.64Q4DHEC.js +213 -0
  444. package/dist/chunks/chunk.6FJBBZKX.js +11 -0
  445. package/dist/chunks/chunk.6FVNKQ54.js +134 -0
  446. package/dist/chunks/chunk.6JVW6XLD.js +85 -0
  447. package/dist/chunks/chunk.6LVXYPQH.js +33 -0
  448. package/dist/chunks/chunk.6VI7H4MV.js +11 -0
  449. package/dist/chunks/chunk.74PB7XMV.js +949 -0
  450. package/dist/chunks/chunk.75BK22OR.js +111 -0
  451. package/dist/chunks/chunk.7FD76G44.js +11 -0
  452. package/dist/chunks/chunk.7GJRJPPN.js +311 -0
  453. package/dist/chunks/chunk.7GPZOWLE.js +24 -0
  454. package/dist/chunks/chunk.7OBAC32Q.js +25 -0
  455. package/dist/chunks/chunk.7TG6SJPV.js +11 -0
  456. package/dist/chunks/chunk.A2A3DRJQ.js +11 -0
  457. package/dist/chunks/chunk.A6ZS6YRS.js +286 -0
  458. package/dist/chunks/chunk.AC4T4HFA.js +91 -0
  459. package/dist/chunks/chunk.ARBMBD2B.js +21 -0
  460. package/dist/chunks/chunk.AV75HAIG.js +27 -0
  461. package/dist/chunks/chunk.AXRKNBZF.js +11 -0
  462. package/dist/chunks/chunk.AYLOUPKG.js +11 -0
  463. package/dist/chunks/chunk.AYX6QHXW.js +73 -0
  464. package/dist/chunks/chunk.B3TJCADV.js +24 -0
  465. package/dist/chunks/chunk.B5LBWUBD.js +11 -0
  466. package/dist/chunks/chunk.B6ID2PDB.js +290 -0
  467. package/dist/chunks/chunk.BHP3QFCJ.js +11 -0
  468. package/dist/chunks/chunk.BK47O3KW.js +135 -0
  469. package/dist/chunks/chunk.BLSJIYI6.js +100 -0
  470. package/dist/chunks/chunk.BVIJP5RC.js +11 -0
  471. package/dist/chunks/chunk.C4QY7KGQ.js +44 -0
  472. package/dist/chunks/chunk.C542FYKK.js +11 -0
  473. package/dist/chunks/chunk.CAOTRJOW.js +550 -0
  474. package/dist/chunks/chunk.CEXGFIAV.js +294 -0
  475. package/dist/chunks/chunk.CU5ANFVS.js +11 -0
  476. package/dist/chunks/chunk.CXRGRCSK.js +397 -0
  477. package/dist/chunks/chunk.D2VLDTOZ.js +11 -0
  478. package/dist/chunks/chunk.D7GPAHBZ.js +11 -0
  479. package/dist/chunks/chunk.DCFCP26E.js +21 -0
  480. package/dist/chunks/chunk.E6LJPT4B.js +11 -0
  481. package/dist/chunks/chunk.EUB7WUZM.js +11 -0
  482. package/dist/chunks/chunk.EUI4TRBJ.js +196 -0
  483. package/dist/chunks/chunk.EWHHNCEA.js +11 -0
  484. package/dist/chunks/chunk.EWSIAKFM.js +11 -0
  485. package/dist/chunks/chunk.F55RRF2P.js +384 -0
  486. package/dist/chunks/chunk.FEYII463.js +21 -0
  487. package/dist/chunks/chunk.FLHBW7DF.js +21 -0
  488. package/dist/chunks/chunk.FN4PVBB6.js +45 -0
  489. package/dist/chunks/chunk.G2N7A3IP.js +21 -0
  490. package/dist/chunks/chunk.G3BV7NCZ.js +417 -0
  491. package/dist/chunks/chunk.GHDJAN2E.js +25 -0
  492. package/dist/chunks/chunk.GJG74PTE.js +21 -0
  493. package/dist/chunks/chunk.GPN2BGGI.js +11 -0
  494. package/dist/chunks/chunk.H4VKVI6E.js +116 -0
  495. package/dist/chunks/chunk.H52VLARC.js +24 -0
  496. package/dist/chunks/chunk.HP3DNHPA.js +491 -0
  497. package/dist/chunks/chunk.HPQW7FK5.js +274 -0
  498. package/dist/chunks/chunk.HRIOMBWG.js +280 -0
  499. package/dist/chunks/chunk.I7LVKQSP.js +24 -0
  500. package/dist/chunks/chunk.IFMZCPGA.js +11 -0
  501. package/dist/chunks/chunk.IPWWOLXN.js +27 -0
  502. package/dist/chunks/chunk.IU2FNHPY.js +11 -0
  503. package/dist/chunks/chunk.IVRTXFWA.js +353 -0
  504. package/dist/chunks/chunk.IXPDPWKX.js +45 -0
  505. package/dist/chunks/chunk.J576WMWH.js +11 -0
  506. package/dist/chunks/chunk.JCP4JWEH.js +26 -0
  507. package/dist/chunks/chunk.JDTEW363.js +33 -0
  508. package/dist/chunks/chunk.JRB2CFGL.js +26 -0
  509. package/dist/chunks/chunk.JUO26IUG.js +117 -0
  510. package/dist/chunks/chunk.KAZBZUUZ.js +21 -0
  511. package/dist/chunks/chunk.KFWIMX4B.js +11 -0
  512. package/dist/chunks/chunk.KIZ77UX5.js +21 -0
  513. package/dist/chunks/chunk.KJZVIA7G.js +11 -0
  514. package/dist/chunks/chunk.KNAQE2OL.js +11 -0
  515. package/dist/chunks/chunk.KUW2VSER.js +90 -0
  516. package/dist/chunks/chunk.KW6UPMYT.js +315 -0
  517. package/dist/chunks/chunk.KZLYBEG4.js +80 -0
  518. package/dist/chunks/chunk.L5JKO7VD.js +11 -0
  519. package/dist/chunks/chunk.L6IEPL3F.js +11 -0
  520. package/dist/chunks/chunk.LCA53YRB.js +28 -0
  521. package/dist/chunks/chunk.LHGVMO5X.js +337 -0
  522. package/dist/chunks/chunk.LOVW4MNA.js +11 -0
  523. package/dist/chunks/chunk.MDRBDGCO.js +27 -0
  524. package/dist/chunks/chunk.MGO3FDQH.js +34 -0
  525. package/dist/chunks/chunk.MQUV32XZ.js +25 -0
  526. package/dist/chunks/chunk.MUCDWZAI.js +192 -0
  527. package/dist/chunks/chunk.MW64SNQA.js +11 -0
  528. package/dist/chunks/chunk.N4TZLHCC.js +11 -0
  529. package/dist/chunks/chunk.NL4XOUR3.js +42 -0
  530. package/dist/chunks/chunk.NQGOBEHY.js +11 -0
  531. package/dist/chunks/chunk.NU2WYHNI.js +11 -0
  532. package/dist/chunks/chunk.NWBWDWSO.js +11 -0
  533. package/dist/chunks/chunk.O2STSARY.js +50 -0
  534. package/dist/chunks/chunk.O42KAWHS.js +21 -0
  535. package/dist/chunks/chunk.O4G7MFYO.js +29 -0
  536. package/dist/chunks/chunk.O7AK2OZ4.js +24 -0
  537. package/dist/chunks/chunk.OA6RRD5Y.js +21 -0
  538. package/dist/chunks/chunk.OCBYTZGA.js +259 -0
  539. package/dist/chunks/chunk.ODKV6NBM.js +63 -0
  540. package/dist/chunks/chunk.OFXINFLT.js +11 -0
  541. package/dist/chunks/chunk.OGMXZQIM.js +21 -0
  542. package/dist/chunks/chunk.OKV2MLBB.js +28 -0
  543. package/dist/chunks/chunk.OTXNGE3O.js +21 -0
  544. package/dist/chunks/chunk.OVUSH6AK.js +11 -0
  545. package/dist/chunks/chunk.OXIIU3K4.js +25 -0
  546. package/dist/chunks/chunk.P2FOGONX.js +28 -0
  547. package/dist/chunks/chunk.P7YOTJXZ.js +11 -0
  548. package/dist/chunks/chunk.PA55T77S.js +11 -0
  549. package/dist/chunks/chunk.PATGC3X7.js +25 -0
  550. package/dist/chunks/chunk.PBV6FZL4.js +11 -0
  551. package/dist/chunks/chunk.PNHADJAP.js +33 -0
  552. package/dist/chunks/chunk.PQWBTU3F.js +21 -0
  553. package/dist/chunks/chunk.PQX2SW7V.js +119 -0
  554. package/dist/chunks/chunk.Q4T5FGUL.js +24 -0
  555. package/dist/chunks/chunk.QC5AUPZV.js +11 -0
  556. package/dist/chunks/chunk.QDJIVNEW.js +21 -0
  557. package/dist/chunks/chunk.QMV53DGM.js +11 -0
  558. package/dist/chunks/chunk.QPMHHGEF.js +227 -0
  559. package/dist/chunks/chunk.QUYP6ZA4.js +126 -0
  560. package/dist/chunks/chunk.QVPR5KOK.js +11 -0
  561. package/dist/chunks/chunk.QWGCHRYG.js +11 -0
  562. package/dist/chunks/chunk.QWSRWVIP.js +29 -0
  563. package/dist/chunks/chunk.R3NRVCIF.js +67 -0
  564. package/dist/chunks/chunk.R6SJJIJE.js +11 -0
  565. package/dist/chunks/chunk.RE2BJU6F.js +11 -0
  566. package/dist/chunks/chunk.RETL7COS.js +33 -0
  567. package/dist/chunks/chunk.RKG3RLXW.js +28 -0
  568. package/dist/chunks/chunk.ROH3VYLZ.js +11 -0
  569. package/dist/chunks/chunk.RRWAT4EO.js +75 -0
  570. package/dist/chunks/chunk.RT3YPR7Q.js +11 -0
  571. package/dist/chunks/chunk.S7UEANY3.js +22 -0
  572. package/dist/chunks/chunk.SI7XIY4V.js +24 -0
  573. package/dist/chunks/chunk.SQH35K7G.js +75 -0
  574. package/dist/chunks/chunk.SVA365LW.js +24 -0
  575. package/dist/chunks/chunk.T6NW45S3.js +59 -0
  576. package/dist/chunks/chunk.TCVZDV3L.js +11 -0
  577. package/dist/chunks/chunk.TFSS4CRR.js +147 -0
  578. package/dist/chunks/chunk.TKMHVYY6.js +11 -0
  579. package/dist/chunks/chunk.TKRW2UHK.js +370 -0
  580. package/dist/chunks/chunk.TT57Y5K4.js +21 -0
  581. package/dist/chunks/chunk.UDYZEDBI.js +231 -0
  582. package/dist/chunks/chunk.ULEDTEBC.js +293 -0
  583. package/dist/chunks/chunk.UTGGN7J3.js +151 -0
  584. package/dist/chunks/chunk.UVBFU7OU.js +11 -0
  585. package/dist/chunks/chunk.UVOCQJRB.js +26 -0
  586. package/dist/chunks/chunk.UYZA44SQ.js +25 -0
  587. package/dist/chunks/chunk.VLDWYBJT.js +75 -0
  588. package/dist/chunks/chunk.VP52B2ZR.js +27 -0
  589. package/dist/chunks/chunk.VPM6KB24.js +837 -0
  590. package/dist/chunks/chunk.VTF4FNII.js +361 -0
  591. package/dist/chunks/chunk.VVCMIQK6.js +24 -0
  592. package/dist/chunks/chunk.VYP7NYGV.js +21 -0
  593. package/dist/chunks/chunk.VYSRBMRI.js +25 -0
  594. package/dist/chunks/chunk.W5JSNSYN.js +26 -0
  595. package/dist/chunks/chunk.W7KGSLJH.js +100 -0
  596. package/dist/chunks/chunk.WAQRDYX7.js +22 -0
  597. package/dist/chunks/chunk.WFGKQKVG.js +109 -0
  598. package/dist/chunks/chunk.WGHUJEKV.js +11 -0
  599. package/dist/chunks/chunk.WNWA7ACI.js +11 -0
  600. package/dist/chunks/chunk.WP3ANYTF.js +11 -0
  601. package/dist/chunks/chunk.WTTKZNZW.js +24 -0
  602. package/dist/chunks/chunk.X7W4UD7O.js +11 -0
  603. package/dist/chunks/chunk.XPIT643W.js +11 -0
  604. package/dist/chunks/chunk.XR244XZQ.js +93 -0
  605. package/dist/chunks/chunk.YXJVGT2S.js +11 -0
  606. package/dist/chunks/chunk.ZA6GK7QH.js +25 -0
  607. package/dist/chunks/chunk.ZFNTCDXV.js +11 -0
  608. package/dist/chunks/chunk.ZLENW5NO.js +94 -0
  609. package/dist/chunks/chunk.ZRQPBGKE.js +115 -0
  610. package/dist/chunks/chunk.ZXYFUMSD.js +25 -0
  611. package/dist/components/alert/alert.component.js +6 -6
  612. package/dist/components/alert/alert.js +7 -7
  613. package/dist/components/animated-image/animated-image.component.js +5 -5
  614. package/dist/components/animated-image/animated-image.js +6 -6
  615. package/dist/components/animation/animation.component.js +2 -2
  616. package/dist/components/animation/animation.js +3 -3
  617. package/dist/components/avatar/avatar.component.js +5 -5
  618. package/dist/components/avatar/avatar.js +6 -6
  619. package/dist/components/badge/badge.component.js +2 -2
  620. package/dist/components/badge/badge.js +3 -3
  621. package/dist/components/breadcrumb/breadcrumb.component.js +5 -5
  622. package/dist/components/breadcrumb/breadcrumb.js +6 -6
  623. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  624. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  625. package/dist/components/button/button.component.js +6 -6
  626. package/dist/components/button/button.js +7 -7
  627. package/dist/components/button-group/button-group.component.js +2 -2
  628. package/dist/components/button-group/button-group.js +3 -3
  629. package/dist/components/card/card.component.js +2 -2
  630. package/dist/components/card/card.js +3 -3
  631. package/dist/components/carousel/carousel.component.js +5 -5
  632. package/dist/components/carousel/carousel.js +6 -6
  633. package/dist/components/carousel-item/carousel-item.component.js +2 -2
  634. package/dist/components/carousel-item/carousel-item.js +3 -3
  635. package/dist/components/checkbox/checkbox.component.js +5 -5
  636. package/dist/components/checkbox/checkbox.js +6 -6
  637. package/dist/components/color-picker/color-picker.component.js +12 -12
  638. package/dist/components/color-picker/color-picker.js +13 -13
  639. package/dist/components/combobox/combobox.component.js +10 -10
  640. package/dist/components/combobox/combobox.js +11 -11
  641. package/dist/components/copy-button/copy-button.component.js +7 -7
  642. package/dist/components/copy-button/copy-button.js +8 -8
  643. package/dist/components/data-table/data-table-column.component.d.ts +39 -0
  644. package/dist/components/data-table/data-table-column.component.js +9 -0
  645. package/dist/components/data-table/data-table-column.d.ts +8 -0
  646. package/dist/components/data-table/data-table-column.js +10 -0
  647. package/dist/components/data-table/data-table.component.d.ts +98 -0
  648. package/dist/components/data-table/data-table.component.js +27 -0
  649. package/dist/components/data-table/data-table.d.ts +8 -0
  650. package/dist/components/data-table/data-table.js +28 -0
  651. package/dist/components/data-table/data-table.styles.d.ts +2 -0
  652. package/dist/components/data-table/data-table.styles.js +7 -0
  653. package/dist/components/data-table/define/cw-data-table-column.d.ts +8 -0
  654. package/dist/components/data-table/define/cw-data-table-column.js +13 -0
  655. package/dist/components/data-table-column/data-table-column.d.ts +2 -0
  656. package/dist/components/data-table-column/data-table-column.js +10 -0
  657. package/dist/components/date-picker/date-picker.component.js +7 -7
  658. package/dist/components/date-picker/date-picker.js +8 -8
  659. package/dist/components/details/details.component.js +5 -5
  660. package/dist/components/details/details.js +6 -6
  661. package/dist/components/dialog/dialog.component.js +7 -7
  662. package/dist/components/dialog/dialog.js +8 -8
  663. package/dist/components/divider/divider.component.js +2 -2
  664. package/dist/components/divider/divider.js +3 -3
  665. package/dist/components/drawer/drawer.component.js +7 -7
  666. package/dist/components/drawer/drawer.js +8 -8
  667. package/dist/components/dropdown/dropdown.component.js +3 -3
  668. package/dist/components/dropdown/dropdown.js +4 -4
  669. package/dist/components/format-bytes/format-bytes.component.js +2 -2
  670. package/dist/components/format-bytes/format-bytes.js +3 -3
  671. package/dist/components/format-date/format-date.component.js +2 -2
  672. package/dist/components/format-date/format-date.js +3 -3
  673. package/dist/components/format-number/format-number.component.js +2 -2
  674. package/dist/components/format-number/format-number.js +3 -3
  675. package/dist/components/icon/icon.component.js +4 -4
  676. package/dist/components/icon/icon.js +5 -5
  677. package/dist/components/icon/library.js +2 -2
  678. package/dist/components/icon-button/icon-button.component.js +5 -5
  679. package/dist/components/icon-button/icon-button.js +6 -6
  680. package/dist/components/image-comparer/image-comparer.component.js +5 -5
  681. package/dist/components/image-comparer/image-comparer.js +6 -6
  682. package/dist/components/include/include.component.js +3 -3
  683. package/dist/components/include/include.js +4 -4
  684. package/dist/components/input/input.component.js +5 -5
  685. package/dist/components/input/input.js +6 -6
  686. package/dist/components/menu/menu.component.js +2 -2
  687. package/dist/components/menu/menu.js +3 -3
  688. package/dist/components/menu-item/menu-item.component.js +7 -7
  689. package/dist/components/menu-item/menu-item.js +8 -8
  690. package/dist/components/menu-label/menu-label.component.js +2 -2
  691. package/dist/components/menu-label/menu-label.js +3 -3
  692. package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
  693. package/dist/components/mutation-observer/mutation-observer.js +3 -3
  694. package/dist/components/option/option.component.js +5 -5
  695. package/dist/components/option/option.js +6 -6
  696. package/dist/components/pagination/pagination.component.js +6 -6
  697. package/dist/components/pagination/pagination.js +7 -7
  698. package/dist/components/popup/popup.component.js +2 -2
  699. package/dist/components/popup/popup.js +3 -3
  700. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  701. package/dist/components/progress-bar/progress-bar.js +3 -3
  702. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  703. package/dist/components/progress-ring/progress-ring.js +3 -3
  704. package/dist/components/qr-code/qr-code.component.js +2 -2
  705. package/dist/components/qr-code/qr-code.js +3 -3
  706. package/dist/components/radio/radio.component.js +5 -5
  707. package/dist/components/radio/radio.js +6 -6
  708. package/dist/components/radio-button/radio-button.component.js +2 -2
  709. package/dist/components/radio-button/radio-button.js +3 -3
  710. package/dist/components/radio-group/radio-group.component.js +3 -3
  711. package/dist/components/radio-group/radio-group.js +4 -4
  712. package/dist/components/range/range.component.js +2 -2
  713. package/dist/components/range/range.js +3 -3
  714. package/dist/components/rating/rating.component.js +5 -5
  715. package/dist/components/rating/rating.js +6 -6
  716. package/dist/components/relative-time/relative-time.component.js +2 -2
  717. package/dist/components/relative-time/relative-time.js +3 -3
  718. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  719. package/dist/components/resize-observer/resize-observer.js +3 -3
  720. package/dist/components/select/select.component.js +8 -8
  721. package/dist/components/select/select.js +9 -9
  722. package/dist/components/skeleton/skeleton.component.js +2 -2
  723. package/dist/components/skeleton/skeleton.js +3 -3
  724. package/dist/components/spinner/spinner.component.js +2 -2
  725. package/dist/components/spinner/spinner.js +3 -3
  726. package/dist/components/split-panel/split-panel.component.js +2 -2
  727. package/dist/components/split-panel/split-panel.js +3 -3
  728. package/dist/components/switch/switch.component.js +2 -2
  729. package/dist/components/switch/switch.js +3 -3
  730. package/dist/components/tab/tab.component.js +6 -6
  731. package/dist/components/tab/tab.js +7 -7
  732. package/dist/components/tab-group/tab-group.component.js +7 -7
  733. package/dist/components/tab-group/tab-group.js +8 -8
  734. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  735. package/dist/components/tab-panel/tab-panel.js +3 -3
  736. package/dist/components/tag/tag.component.js +6 -6
  737. package/dist/components/tag/tag.js +7 -7
  738. package/dist/components/textarea/textarea.component.js +2 -2
  739. package/dist/components/textarea/textarea.js +3 -3
  740. package/dist/components/time-picker/time-picker.component.js +7 -7
  741. package/dist/components/time-picker/time-picker.js +8 -8
  742. package/dist/components/tooltip/tooltip.component.js +3 -3
  743. package/dist/components/tooltip/tooltip.js +4 -4
  744. package/dist/components/tree/tree.component.js +9 -9
  745. package/dist/components/tree/tree.js +10 -10
  746. package/dist/components/tree-item/tree-item.component.js +7 -7
  747. package/dist/components/tree-item/tree-item.js +8 -8
  748. package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
  749. package/dist/components/visually-hidden/visually-hidden.js +3 -3
  750. package/dist/custom-elements.json +772 -3
  751. package/dist/cw-elements.d.ts +3 -0
  752. package/dist/cw-elements.js +180 -163
  753. package/dist/events/cw-row-click.d.ts +9 -0
  754. package/dist/events/cw-row-selection-change.d.ts +8 -0
  755. package/dist/events/cw-sort-change.d.ts +9 -0
  756. package/dist/events/events.d.ts +3 -0
  757. package/dist/react/alert/index.js +7 -7
  758. package/dist/react/animated-image/index.js +6 -6
  759. package/dist/react/animation/index.js +3 -3
  760. package/dist/react/avatar/index.js +6 -6
  761. package/dist/react/badge/index.js +3 -3
  762. package/dist/react/breadcrumb/index.js +6 -6
  763. package/dist/react/breadcrumb-item/index.js +3 -3
  764. package/dist/react/button/index.js +7 -7
  765. package/dist/react/button-group/index.js +3 -3
  766. package/dist/react/card/index.js +3 -3
  767. package/dist/react/carousel/index.js +6 -6
  768. package/dist/react/carousel-item/index.js +3 -3
  769. package/dist/react/checkbox/index.js +6 -6
  770. package/dist/react/color-picker/index.js +13 -13
  771. package/dist/react/combobox/index.js +11 -11
  772. package/dist/react/copy-button/index.js +8 -8
  773. package/dist/react/data-table/index.d.ts +50 -0
  774. package/dist/react/data-table/index.js +28 -0
  775. package/dist/react/data-table-column/index.d.ts +11 -0
  776. package/dist/react/data-table-column/index.js +10 -0
  777. package/dist/react/date-picker/index.js +8 -8
  778. package/dist/react/details/index.js +6 -6
  779. package/dist/react/dialog/index.js +8 -8
  780. package/dist/react/divider/index.js +3 -3
  781. package/dist/react/drawer/index.js +8 -8
  782. package/dist/react/dropdown/index.js +4 -4
  783. package/dist/react/format-bytes/index.js +3 -3
  784. package/dist/react/format-date/index.js +3 -3
  785. package/dist/react/format-number/index.js +3 -3
  786. package/dist/react/icon/index.js +5 -5
  787. package/dist/react/icon-button/index.js +6 -6
  788. package/dist/react/image-comparer/index.js +6 -6
  789. package/dist/react/include/index.js +4 -4
  790. package/dist/react/index.d.ts +2 -0
  791. package/dist/react/index.js +170 -159
  792. package/dist/react/input/index.js +6 -6
  793. package/dist/react/menu/index.js +3 -3
  794. package/dist/react/menu-item/index.js +8 -8
  795. package/dist/react/menu-label/index.js +3 -3
  796. package/dist/react/mutation-observer/index.js +3 -3
  797. package/dist/react/option/index.js +6 -6
  798. package/dist/react/pagination/index.js +7 -7
  799. package/dist/react/popup/index.js +3 -3
  800. package/dist/react/progress-bar/index.js +3 -3
  801. package/dist/react/progress-ring/index.js +3 -3
  802. package/dist/react/qr-code/index.js +3 -3
  803. package/dist/react/radio/index.js +6 -6
  804. package/dist/react/radio-button/index.js +3 -3
  805. package/dist/react/radio-group/index.js +4 -4
  806. package/dist/react/range/index.js +3 -3
  807. package/dist/react/rating/index.js +6 -6
  808. package/dist/react/relative-time/index.js +3 -3
  809. package/dist/react/resize-observer/index.js +3 -3
  810. package/dist/react/select/index.js +9 -9
  811. package/dist/react/skeleton/index.js +3 -3
  812. package/dist/react/spinner/index.js +3 -3
  813. package/dist/react/split-panel/index.js +3 -3
  814. package/dist/react/switch/index.js +3 -3
  815. package/dist/react/tab/index.js +7 -7
  816. package/dist/react/tab-group/index.js +8 -8
  817. package/dist/react/tab-panel/index.js +3 -3
  818. package/dist/react/tag/index.js +7 -7
  819. package/dist/react/textarea/index.js +3 -3
  820. package/dist/react/time-picker/index.js +8 -8
  821. package/dist/react/tooltip/index.js +4 -4
  822. package/dist/react/tree/index.js +10 -10
  823. package/dist/react/tree-item/index.js +8 -8
  824. package/dist/react/visually-hidden/index.js +3 -3
  825. package/dist/types/vue/index.d.ts +109 -0
  826. package/dist/utilities/icon-library.js +2 -2
  827. package/dist/vscode.html-custom-data.json +117 -1
  828. package/dist/web-types.json +267 -3
  829. package/package.json +2 -2
  830. package/cdn/chunks/chunk.2A4TV43P.js +0 -724
  831. package/cdn/chunks/chunk.2DEAZWRQ.js +0 -11
  832. package/cdn/chunks/chunk.2H4AZFNU.js +0 -11
  833. package/cdn/chunks/chunk.2R2Z6PCD.js +0 -24
  834. package/cdn/chunks/chunk.3EGBBB5K.js +0 -11
  835. package/cdn/chunks/chunk.3ENRE7OR.js +0 -11
  836. package/cdn/chunks/chunk.3FVXE5BV.js +0 -24
  837. package/cdn/chunks/chunk.3IAQ77Q3.js +0 -11
  838. package/cdn/chunks/chunk.3IOMQDWN.js +0 -21
  839. package/cdn/chunks/chunk.3JWTKZFP.js +0 -25
  840. package/cdn/chunks/chunk.3K354UTT.js +0 -103
  841. package/cdn/chunks/chunk.3KS3QEI4.js +0 -25
  842. package/cdn/chunks/chunk.3LZLQLTS.js +0 -216
  843. package/cdn/chunks/chunk.3MY4EVEC.js +0 -21
  844. package/cdn/chunks/chunk.3UAIXK5E.js +0 -11
  845. package/cdn/chunks/chunk.3VNICZ3Q.js +0 -11
  846. package/cdn/chunks/chunk.47L4DIWZ.js +0 -236
  847. package/cdn/chunks/chunk.4MFOJ24X.js +0 -499
  848. package/cdn/chunks/chunk.52MAHBDD.js +0 -455
  849. package/cdn/chunks/chunk.5HUNEC4W.js +0 -11
  850. package/cdn/chunks/chunk.5NNEUWUJ.js +0 -79
  851. package/cdn/chunks/chunk.5VHXPOZZ.js +0 -28
  852. package/cdn/chunks/chunk.64FLSQDP.js +0 -11
  853. package/cdn/chunks/chunk.67GPGOIS.js +0 -299
  854. package/cdn/chunks/chunk.6CGSGOTV.js +0 -21
  855. package/cdn/chunks/chunk.6KGGXNVQ.js +0 -24
  856. package/cdn/chunks/chunk.6MA3C3QT.js +0 -302
  857. package/cdn/chunks/chunk.6XNSXNWJ.js +0 -11
  858. package/cdn/chunks/chunk.76WSFSBV.js +0 -137
  859. package/cdn/chunks/chunk.7MSHAINE.js +0 -11
  860. package/cdn/chunks/chunk.7RDUDBUC.js +0 -11
  861. package/cdn/chunks/chunk.AAT4ZZ7G.js +0 -26
  862. package/cdn/chunks/chunk.AB7KY4SW.js +0 -120
  863. package/cdn/chunks/chunk.AEGUCBTS.js +0 -21
  864. package/cdn/chunks/chunk.ARVULDGL.js +0 -21
  865. package/cdn/chunks/chunk.AV57WMNB.js +0 -11
  866. package/cdn/chunks/chunk.B7XTUGZK.js +0 -11
  867. package/cdn/chunks/chunk.BFVCZALB.js +0 -75
  868. package/cdn/chunks/chunk.BX4KUF7K.js +0 -127
  869. package/cdn/chunks/chunk.C5R7MTMZ.js +0 -50
  870. package/cdn/chunks/chunk.CMUCLWUZ.js +0 -26
  871. package/cdn/chunks/chunk.CRMEV6RJ.js +0 -11
  872. package/cdn/chunks/chunk.D2T3UOBH.js +0 -158
  873. package/cdn/chunks/chunk.D7IU5VT2.js +0 -113
  874. package/cdn/chunks/chunk.DIC7ONN6.js +0 -27
  875. package/cdn/chunks/chunk.DM4ZI5BL.js +0 -11
  876. package/cdn/chunks/chunk.DQKLLK5G.js +0 -904
  877. package/cdn/chunks/chunk.DVXAQNCQ.js +0 -11
  878. package/cdn/chunks/chunk.DX3VU5TL.js +0 -21
  879. package/cdn/chunks/chunk.E7A2F5NE.js +0 -11
  880. package/cdn/chunks/chunk.EANN3P7Y.js +0 -114
  881. package/cdn/chunks/chunk.EB7QJF6T.js +0 -11
  882. package/cdn/chunks/chunk.EJH5MCF6.js +0 -93
  883. package/cdn/chunks/chunk.EOPXSJJN.js +0 -24
  884. package/cdn/chunks/chunk.EUBE57DS.js +0 -21
  885. package/cdn/chunks/chunk.EYEN4NIK.js +0 -33
  886. package/cdn/chunks/chunk.F3TL434V.js +0 -11
  887. package/cdn/chunks/chunk.F3TNBJUR.js +0 -11
  888. package/cdn/chunks/chunk.F5EHM76O.js +0 -21
  889. package/cdn/chunks/chunk.FAOL7ENI.js +0 -24
  890. package/cdn/chunks/chunk.FCQSOMXB.js +0 -11
  891. package/cdn/chunks/chunk.FIZERXX3.js +0 -29
  892. package/cdn/chunks/chunk.FPK7VYGP.js +0 -11
  893. package/cdn/chunks/chunk.GAYWRZUG.js +0 -1925
  894. package/cdn/chunks/chunk.GBXY3A3F.js +0 -197
  895. package/cdn/chunks/chunk.GIEGBF5B.js +0 -11
  896. package/cdn/chunks/chunk.GJREPP4U.js +0 -28
  897. package/cdn/chunks/chunk.GPVZ7GMF.js +0 -11
  898. package/cdn/chunks/chunk.H3FHLSRB.js +0 -297
  899. package/cdn/chunks/chunk.HKBG7GY2.js +0 -21
  900. package/cdn/chunks/chunk.HRWC4GJH.js +0 -402
  901. package/cdn/chunks/chunk.HTEYNIPW.js +0 -233
  902. package/cdn/chunks/chunk.HUKKHM5S.js +0 -11
  903. package/cdn/chunks/chunk.HXU3V4R6.js +0 -11
  904. package/cdn/chunks/chunk.I6ZH42RL.js +0 -21
  905. package/cdn/chunks/chunk.IJ7LYBYI.js +0 -42
  906. package/cdn/chunks/chunk.IL5QRGXP.js +0 -267
  907. package/cdn/chunks/chunk.IP3TNEV7.js +0 -95
  908. package/cdn/chunks/chunk.IWRQNB3H.js +0 -21
  909. package/cdn/chunks/chunk.J6XS6HSD.js +0 -25
  910. package/cdn/chunks/chunk.JD6QAQQM.js +0 -25
  911. package/cdn/chunks/chunk.JIUAIFNX.js +0 -27
  912. package/cdn/chunks/chunk.JU44U4AS.js +0 -135
  913. package/cdn/chunks/chunk.KC3P2BQH.js +0 -21
  914. package/cdn/chunks/chunk.KG75LIKO.js +0 -11
  915. package/cdn/chunks/chunk.KUPKONFD.js +0 -11
  916. package/cdn/chunks/chunk.KXURWGGR.js +0 -11
  917. package/cdn/chunks/chunk.LHAORF3A.js +0 -11
  918. package/cdn/chunks/chunk.LHLYQ4V6.js +0 -11
  919. package/cdn/chunks/chunk.LJLXSSLG.js +0 -25
  920. package/cdn/chunks/chunk.LPVVZOX2.js +0 -25
  921. package/cdn/chunks/chunk.LY7LAQRJ.js +0 -11
  922. package/cdn/chunks/chunk.LYOGKSNQ.js +0 -29
  923. package/cdn/chunks/chunk.M5WA2ZFA.js +0 -11
  924. package/cdn/chunks/chunk.MKW64T4J.js +0 -292
  925. package/cdn/chunks/chunk.MNMOAZ43.js +0 -11
  926. package/cdn/chunks/chunk.MS2JQUJF.js +0 -291
  927. package/cdn/chunks/chunk.N5IMJQLU.js +0 -36
  928. package/cdn/chunks/chunk.NMQVUNL3.js +0 -11
  929. package/cdn/chunks/chunk.NMTIL4UF.js +0 -367
  930. package/cdn/chunks/chunk.NREQZZGS.js +0 -186
  931. package/cdn/chunks/chunk.NSSEWP2A.js +0 -153
  932. package/cdn/chunks/chunk.NSSJUNAZ.js +0 -33
  933. package/cdn/chunks/chunk.NXKBVVZB.js +0 -346
  934. package/cdn/chunks/chunk.OAKBQZWB.js +0 -174
  935. package/cdn/chunks/chunk.OOAK7TAG.js +0 -44
  936. package/cdn/chunks/chunk.OPH5HE2R.js +0 -25
  937. package/cdn/chunks/chunk.OXEIRYFR.js +0 -33
  938. package/cdn/chunks/chunk.P33T2ZNO.js +0 -28
  939. package/cdn/chunks/chunk.P4NHY4HA.js +0 -21
  940. package/cdn/chunks/chunk.PAY7XXSL.js +0 -21
  941. package/cdn/chunks/chunk.PEKVLLTG.js +0 -11
  942. package/cdn/chunks/chunk.PMWCGFW2.js +0 -77
  943. package/cdn/chunks/chunk.PYYBALBE.js +0 -279
  944. package/cdn/chunks/chunk.Q2UOTI4A.js +0 -27
  945. package/cdn/chunks/chunk.Q34BWFJ4.js +0 -33
  946. package/cdn/chunks/chunk.Q4Z66SZ6.js +0 -49
  947. package/cdn/chunks/chunk.QAMPV3MD.js +0 -21
  948. package/cdn/chunks/chunk.QF5ELIOT.js +0 -391
  949. package/cdn/chunks/chunk.QG2GJHM6.js +0 -11
  950. package/cdn/chunks/chunk.QLVLE7QW.js +0 -21
  951. package/cdn/chunks/chunk.QTWCIPC6.js +0 -11
  952. package/cdn/chunks/chunk.RLN3KLUQ.js +0 -314
  953. package/cdn/chunks/chunk.RXM4GGRQ.js +0 -11
  954. package/cdn/chunks/chunk.SASH2F7I.js +0 -378
  955. package/cdn/chunks/chunk.SILMJOWQ.js +0 -580
  956. package/cdn/chunks/chunk.SJ4XVRAI.js +0 -73
  957. package/cdn/chunks/chunk.SKK744HB.js +0 -11
  958. package/cdn/chunks/chunk.SLWNQYU3.js +0 -82
  959. package/cdn/chunks/chunk.SRI2BE7D.js +0 -11
  960. package/cdn/chunks/chunk.T4VS6ESZ.js +0 -844
  961. package/cdn/chunks/chunk.TGZZPOZW.js +0 -24
  962. package/cdn/chunks/chunk.THXYC2IT.js +0 -21
  963. package/cdn/chunks/chunk.TLPCJ6LN.js +0 -255
  964. package/cdn/chunks/chunk.TQIS6BOG.js +0 -1990
  965. package/cdn/chunks/chunk.TQK4GXS5.js +0 -11
  966. package/cdn/chunks/chunk.TZ3Z2CEG.js +0 -11
  967. package/cdn/chunks/chunk.U3OR4M6F.js +0 -11
  968. package/cdn/chunks/chunk.U5EOBBCM.js +0 -67
  969. package/cdn/chunks/chunk.U7R633MZ.js +0 -11
  970. package/cdn/chunks/chunk.UCVUCI3G.js +0 -28
  971. package/cdn/chunks/chunk.UE4SQTGV.js +0 -63
  972. package/cdn/chunks/chunk.UF4LXMLB.js +0 -11
  973. package/cdn/chunks/chunk.UMGVXEIO.js +0 -24
  974. package/cdn/chunks/chunk.UON4NBKI.js +0 -11
  975. package/cdn/chunks/chunk.UOPFBL47.js +0 -24
  976. package/cdn/chunks/chunk.V2RFJNOY.js +0 -24
  977. package/cdn/chunks/chunk.V2VHB62N.js +0 -118
  978. package/cdn/chunks/chunk.VBIPD3ME.js +0 -21
  979. package/cdn/chunks/chunk.VEDIM4V3.js +0 -11
  980. package/cdn/chunks/chunk.VG6K5JXI.js +0 -87
  981. package/cdn/chunks/chunk.VJF7EIPU.js +0 -27
  982. package/cdn/chunks/chunk.VKVSMRSO.js +0 -11
  983. package/cdn/chunks/chunk.VU4RSF5L.js +0 -24
  984. package/cdn/chunks/chunk.VWQSNFWO.js +0 -24
  985. package/cdn/chunks/chunk.VWXWKIRM.js +0 -25
  986. package/cdn/chunks/chunk.W5TQUQMJ.js +0 -11
  987. package/cdn/chunks/chunk.WF32CG6V.js +0 -49
  988. package/cdn/chunks/chunk.WQBLZULR.js +0 -11
  989. package/cdn/chunks/chunk.WRRJR2X2.js +0 -24
  990. package/cdn/chunks/chunk.WTJZYBNK.js +0 -11
  991. package/cdn/chunks/chunk.WXEZ2UPV.js +0 -969
  992. package/cdn/chunks/chunk.X2F5MIVZ.js +0 -11
  993. package/cdn/chunks/chunk.XF6B7FJQ.js +0 -11
  994. package/cdn/chunks/chunk.XKIL3ESQ.js +0 -28
  995. package/cdn/chunks/chunk.XSFAKZID.js +0 -21
  996. package/cdn/chunks/chunk.XTIXAOLS.js +0 -821
  997. package/cdn/chunks/chunk.XULRXE3K.js +0 -29
  998. package/cdn/chunks/chunk.XWBLF7JY.js +0 -11
  999. package/cdn/chunks/chunk.XZTLAZY4.js +0 -11
  1000. package/cdn/chunks/chunk.Y2TKADTF.js +0 -218
  1001. package/cdn/chunks/chunk.Y45J3GF2.js +0 -26
  1002. package/cdn/chunks/chunk.YGFBR3F7.js +0 -29
  1003. package/cdn/chunks/chunk.YGGMW4NU.js +0 -21
  1004. package/cdn/chunks/chunk.YH3K5LMB.js +0 -142
  1005. package/cdn/chunks/chunk.YNOHGGP7.js +0 -24
  1006. package/cdn/chunks/chunk.YSWQQKRZ.js +0 -11
  1007. package/cdn/chunks/chunk.YT63NC3S.js +0 -24
  1008. package/cdn/chunks/chunk.YVNBAYSL.js +0 -11
  1009. package/cdn/chunks/chunk.Z5OTA7QQ.js +0 -122
  1010. package/cdn/chunks/chunk.Z7ZPWWNW.js +0 -27
  1011. package/cdn/chunks/chunk.ZFHNY6JM.js +0 -336
  1012. package/cdn/chunks/chunk.ZHCKNSS7.js +0 -97
  1013. package/cdn/chunks/chunk.ZHGO7BYZ.js +0 -25
  1014. package/cdn/chunks/chunk.ZQA5H5HN.js +0 -11
  1015. package/cdn/chunks/chunk.ZSAAFCZB.js +0 -11
  1016. package/cdn/chunks/chunk.ZSSLKKRV.js +0 -11
  1017. package/cdn/chunks/chunk.ZSUEUS2F.js +0 -21
  1018. package/dist/chunks/chunk.25LPMDR3.js +0 -11
  1019. package/dist/chunks/chunk.2CRTYIYQ.js +0 -25
  1020. package/dist/chunks/chunk.2HKGSSIB.js +0 -11
  1021. package/dist/chunks/chunk.2J2AOJAG.js +0 -34
  1022. package/dist/chunks/chunk.2P7I77C5.js +0 -11
  1023. package/dist/chunks/chunk.2QU2HP2P.js +0 -11
  1024. package/dist/chunks/chunk.32COWIRU.js +0 -50
  1025. package/dist/chunks/chunk.34S4GDUG.js +0 -11
  1026. package/dist/chunks/chunk.3C2A6SE6.js +0 -26
  1027. package/dist/chunks/chunk.3EMIJIFY.js +0 -11
  1028. package/dist/chunks/chunk.3KA5YVHK.js +0 -24
  1029. package/dist/chunks/chunk.3MA6M7PA.js +0 -75
  1030. package/dist/chunks/chunk.3OEEYIQQ.js +0 -29
  1031. package/dist/chunks/chunk.3T27EN5W.js +0 -33
  1032. package/dist/chunks/chunk.43JK37O7.js +0 -21
  1033. package/dist/chunks/chunk.46YPPYF6.js +0 -361
  1034. package/dist/chunks/chunk.4CJPDIW6.js +0 -25
  1035. package/dist/chunks/chunk.4D27AII5.js +0 -85
  1036. package/dist/chunks/chunk.4JVSFMPM.js +0 -75
  1037. package/dist/chunks/chunk.4N5NACC4.js +0 -26
  1038. package/dist/chunks/chunk.4U6CE7OZ.js +0 -11
  1039. package/dist/chunks/chunk.4UN5A4PN.js +0 -25
  1040. package/dist/chunks/chunk.4W636OXN.js +0 -11
  1041. package/dist/chunks/chunk.52PNZVTR.js +0 -337
  1042. package/dist/chunks/chunk.55P2KVUC.js +0 -11
  1043. package/dist/chunks/chunk.5DS4CXGR.js +0 -11
  1044. package/dist/chunks/chunk.5GOPR7MZ.js +0 -11
  1045. package/dist/chunks/chunk.5IEIGV2O.js +0 -27
  1046. package/dist/chunks/chunk.5QURAHA3.js +0 -11
  1047. package/dist/chunks/chunk.5VP5RB7N.js +0 -21
  1048. package/dist/chunks/chunk.6B4MMOIJ.js +0 -21
  1049. package/dist/chunks/chunk.6LAQPQZW.js +0 -11
  1050. package/dist/chunks/chunk.6U3WBF3X.js +0 -80
  1051. package/dist/chunks/chunk.73ANYWUV.js +0 -21
  1052. package/dist/chunks/chunk.75LMNY6V.js +0 -94
  1053. package/dist/chunks/chunk.7NEMCPWV.js +0 -231
  1054. package/dist/chunks/chunk.A2RK3HEK.js +0 -100
  1055. package/dist/chunks/chunk.AB5DQJVO.js +0 -11
  1056. package/dist/chunks/chunk.ADAZ246M.js +0 -247
  1057. package/dist/chunks/chunk.AFA4MJAT.js +0 -21
  1058. package/dist/chunks/chunk.AHG6W2GG.js +0 -22
  1059. package/dist/chunks/chunk.ALIOJGTU.js +0 -25
  1060. package/dist/chunks/chunk.AM2TOO4T.js +0 -11
  1061. package/dist/chunks/chunk.APOVO7BD.js +0 -21
  1062. package/dist/chunks/chunk.BFHELFJM.js +0 -25
  1063. package/dist/chunks/chunk.BINQTA74.js +0 -11
  1064. package/dist/chunks/chunk.BM5FXR2H.js +0 -27
  1065. package/dist/chunks/chunk.BTAOITRJ.js +0 -134
  1066. package/dist/chunks/chunk.BU5BANUN.js +0 -259
  1067. package/dist/chunks/chunk.BU75OOTV.js +0 -21
  1068. package/dist/chunks/chunk.C3ZP5TVI.js +0 -11
  1069. package/dist/chunks/chunk.CA4X2PWP.js +0 -24
  1070. package/dist/chunks/chunk.CCZ7SDUT.js +0 -25
  1071. package/dist/chunks/chunk.CUCBE5MT.js +0 -93
  1072. package/dist/chunks/chunk.CZFEUNT6.js +0 -42
  1073. package/dist/chunks/chunk.CZYBCV4D.js +0 -11
  1074. package/dist/chunks/chunk.DCJDLIDI.js +0 -11
  1075. package/dist/chunks/chunk.DGB5XYFJ.js +0 -813
  1076. package/dist/chunks/chunk.DTLWFXC5.js +0 -63
  1077. package/dist/chunks/chunk.DWGSCY4K.js +0 -11
  1078. package/dist/chunks/chunk.E2P3HTXY.js +0 -11
  1079. package/dist/chunks/chunk.E4HMOC44.js +0 -11
  1080. package/dist/chunks/chunk.EKHWDHOQ.js +0 -11
  1081. package/dist/chunks/chunk.EMO6JYVI.js +0 -21
  1082. package/dist/chunks/chunk.ERC3FHCL.js +0 -24
  1083. package/dist/chunks/chunk.ET6QBNWA.js +0 -21
  1084. package/dist/chunks/chunk.F7DNVENT.js +0 -227
  1085. package/dist/chunks/chunk.FLMQ4OE3.js +0 -896
  1086. package/dist/chunks/chunk.FMIJFT4V.js +0 -25
  1087. package/dist/chunks/chunk.FN5FMRMO.js +0 -11
  1088. package/dist/chunks/chunk.FOR7FLWZ.js +0 -11
  1089. package/dist/chunks/chunk.FRMVDJMS.js +0 -27
  1090. package/dist/chunks/chunk.FYFESI3M.js +0 -11
  1091. package/dist/chunks/chunk.G4OMLNS4.js +0 -147
  1092. package/dist/chunks/chunk.GFIOD2CQ.js +0 -11
  1093. package/dist/chunks/chunk.GWHPAVVZ.js +0 -11
  1094. package/dist/chunks/chunk.GWWYWO5M.js +0 -21
  1095. package/dist/chunks/chunk.GZIHFIS6.js +0 -21
  1096. package/dist/chunks/chunk.H5UZ6OTU.js +0 -11
  1097. package/dist/chunks/chunk.H637RXYG.js +0 -24
  1098. package/dist/chunks/chunk.HBHXXGKF.js +0 -24
  1099. package/dist/chunks/chunk.HCIKWZOI.js +0 -21
  1100. package/dist/chunks/chunk.HDX2QZBI.js +0 -286
  1101. package/dist/chunks/chunk.HF2EO7K7.js +0 -11
  1102. package/dist/chunks/chunk.HMEF6ZRP.js +0 -11
  1103. package/dist/chunks/chunk.HRBBOW5R.js +0 -192
  1104. package/dist/chunks/chunk.I2XDW6BB.js +0 -29
  1105. package/dist/chunks/chunk.IOFZNTMC.js +0 -170
  1106. package/dist/chunks/chunk.IQ4SLLMM.js +0 -11
  1107. package/dist/chunks/chunk.IUZKRP3N.js +0 -11
  1108. package/dist/chunks/chunk.IYG556GV.js +0 -11
  1109. package/dist/chunks/chunk.J3ISSZWN.js +0 -11
  1110. package/dist/chunks/chunk.JMKNWDHB.js +0 -448
  1111. package/dist/chunks/chunk.JMU7RNG4.js +0 -11
  1112. package/dist/chunks/chunk.JV3L55WQ.js +0 -45
  1113. package/dist/chunks/chunk.K3TFJ7GW.js +0 -91
  1114. package/dist/chunks/chunk.K6CJ5NHO.js +0 -24
  1115. package/dist/chunks/chunk.KAUUHVW5.js +0 -26
  1116. package/dist/chunks/chunk.KH2ACUWV.js +0 -837
  1117. package/dist/chunks/chunk.KLHWG76Q.js +0 -25
  1118. package/dist/chunks/chunk.KRZWUE47.js +0 -11
  1119. package/dist/chunks/chunk.KTHHOW5N.js +0 -11
  1120. package/dist/chunks/chunk.KV74PNSO.js +0 -11
  1121. package/dist/chunks/chunk.L3FQRTT2.js +0 -11
  1122. package/dist/chunks/chunk.LM2PJPWP.js +0 -135
  1123. package/dist/chunks/chunk.LOWRQ3OW.js +0 -11
  1124. package/dist/chunks/chunk.LRQAZ6XD.js +0 -21
  1125. package/dist/chunks/chunk.LTE5IQ5L.js +0 -949
  1126. package/dist/chunks/chunk.LU7BS7OT.js +0 -21
  1127. package/dist/chunks/chunk.M3LA7MQQ.js +0 -491
  1128. package/dist/chunks/chunk.M42DMQRT.js +0 -21
  1129. package/dist/chunks/chunk.M4SKY2DI.js +0 -11
  1130. package/dist/chunks/chunk.M55OULL4.js +0 -280
  1131. package/dist/chunks/chunk.MMVG5RID.js +0 -28
  1132. package/dist/chunks/chunk.MNGIGEY5.js +0 -45
  1133. package/dist/chunks/chunk.ND4SQN7L.js +0 -11
  1134. package/dist/chunks/chunk.NDT6QVQ3.js +0 -22
  1135. package/dist/chunks/chunk.NERLOKHA.js +0 -28
  1136. package/dist/chunks/chunk.NFF26ZBJ.js +0 -33
  1137. package/dist/chunks/chunk.NHOKAXB2.js +0 -274
  1138. package/dist/chunks/chunk.NU6KOXR6.js +0 -73
  1139. package/dist/chunks/chunk.NZ5OAKJX.js +0 -11
  1140. package/dist/chunks/chunk.O3KODY3G.js +0 -90
  1141. package/dist/chunks/chunk.OFUVD4SX.js +0 -116
  1142. package/dist/chunks/chunk.OIWEM33H.js +0 -11
  1143. package/dist/chunks/chunk.OLCO6RWF.js +0 -11
  1144. package/dist/chunks/chunk.OOAK7TAG.js +0 -44
  1145. package/dist/chunks/chunk.OSQJLHDJ.js +0 -397
  1146. package/dist/chunks/chunk.P626GK6T.js +0 -11
  1147. package/dist/chunks/chunk.PAO3M6D4.js +0 -28
  1148. package/dist/chunks/chunk.PB4E7WQ2.js +0 -370
  1149. package/dist/chunks/chunk.PQV3MZ37.js +0 -21
  1150. package/dist/chunks/chunk.PRNHJRWT.js +0 -25
  1151. package/dist/chunks/chunk.PYOGBP2V.js +0 -11
  1152. package/dist/chunks/chunk.Q3IGIWAA.js +0 -550
  1153. package/dist/chunks/chunk.R3FFKANO.js +0 -294
  1154. package/dist/chunks/chunk.RHATJNWH.js +0 -24
  1155. package/dist/chunks/chunk.RNYPQ4XH.js +0 -11
  1156. package/dist/chunks/chunk.RQUKYDF4.js +0 -21
  1157. package/dist/chunks/chunk.RTE7US4I.js +0 -311
  1158. package/dist/chunks/chunk.S62ORUZA.js +0 -24
  1159. package/dist/chunks/chunk.SDFUBE6S.js +0 -59
  1160. package/dist/chunks/chunk.SHDWIT7S.js +0 -293
  1161. package/dist/chunks/chunk.SL5ZJXQR.js +0 -11
  1162. package/dist/chunks/chunk.SVTVJVUC.js +0 -27
  1163. package/dist/chunks/chunk.T6BEJ5CM.js +0 -384
  1164. package/dist/chunks/chunk.TC26SLTW.js +0 -117
  1165. package/dist/chunks/chunk.TXJCZFRS.js +0 -11
  1166. package/dist/chunks/chunk.UELOMXR7.js +0 -109
  1167. package/dist/chunks/chunk.UJC2GZ4O.js +0 -119
  1168. package/dist/chunks/chunk.UNZ6R6B5.js +0 -151
  1169. package/dist/chunks/chunk.UTOXEWLC.js +0 -24
  1170. package/dist/chunks/chunk.V7IE25WJ.js +0 -29
  1171. package/dist/chunks/chunk.VNNQWMN6.js +0 -11
  1172. package/dist/chunks/chunk.VS25IUL7.js +0 -417
  1173. package/dist/chunks/chunk.VVYD353A.js +0 -113
  1174. package/dist/chunks/chunk.VXKTFIC3.js +0 -21
  1175. package/dist/chunks/chunk.VZ4FAB3W.js +0 -67
  1176. package/dist/chunks/chunk.W6UHJ2E7.js +0 -33
  1177. package/dist/chunks/chunk.WB3WKUAB.js +0 -28
  1178. package/dist/chunks/chunk.WDI2MXRN.js +0 -11
  1179. package/dist/chunks/chunk.WIAY6VCZ.js +0 -111
  1180. package/dist/chunks/chunk.WIMKXPSM.js +0 -11
  1181. package/dist/chunks/chunk.WS6BAQ4T.js +0 -315
  1182. package/dist/chunks/chunk.X34XVPXB.js +0 -11
  1183. package/dist/chunks/chunk.X7NLPKY3.js +0 -126
  1184. package/dist/chunks/chunk.XAYJURUA.js +0 -961
  1185. package/dist/chunks/chunk.XCQWZVIR.js +0 -11
  1186. package/dist/chunks/chunk.XQOG5HRJ.js +0 -24
  1187. package/dist/chunks/chunk.XRTIVOSK.js +0 -11
  1188. package/dist/chunks/chunk.XTMVWM6A.js +0 -29
  1189. package/dist/chunks/chunk.XXDBDZZJ.js +0 -33
  1190. package/dist/chunks/chunk.XY5HFT3M.js +0 -100
  1191. package/dist/chunks/chunk.YB6ZIF4S.js +0 -21
  1192. package/dist/chunks/chunk.YDO7KJWD.js +0 -11
  1193. package/dist/chunks/chunk.YGSZQ2ZC.js +0 -290
  1194. package/dist/chunks/chunk.YIKHKFHP.js +0 -25
  1195. package/dist/chunks/chunk.YPPE3P5H.js +0 -21
  1196. package/dist/chunks/chunk.YUZQUCEI.js +0 -24
  1197. package/dist/chunks/chunk.YXPF5YXX.js +0 -21
  1198. package/dist/chunks/chunk.ZAEC4FHM.js +0 -181
  1199. package/dist/chunks/chunk.ZBNR3B7F.js +0 -213
  1200. package/dist/chunks/chunk.ZCRJTKW5.js +0 -11
  1201. package/dist/chunks/chunk.ZFRUPLFG.js +0 -11
  1202. package/dist/chunks/chunk.ZFX5W25Q.js +0 -11
  1203. package/dist/chunks/chunk.ZGRDYMCQ.js +0 -28
  1204. package/dist/chunks/chunk.ZJ3HRMB7.js +0 -24
  1205. package/dist/chunks/chunk.ZXV2VP4U.js +0 -11
@@ -1,949 +0,0 @@
1
- import {
2
- CwInput
3
- } from "./chunk.M3LA7MQQ.js";
4
- import {
5
- drag
6
- } from "./chunk.ESELY2US.js";
7
- import {
8
- CwDropdown
9
- } from "./chunk.T6BEJ5CM.js";
10
- import {
11
- defaultValue
12
- } from "./chunk.GI7VDIWX.js";
13
- import {
14
- color_picker_styles_default
15
- } from "./chunk.IXJCSAM3.js";
16
- import {
17
- CwVisuallyHidden
18
- } from "./chunk.AHG6W2GG.js";
19
- import {
20
- clamp
21
- } from "./chunk.HF7GESMZ.js";
22
- import {
23
- CwButton
24
- } from "./chunk.SHDWIT7S.js";
25
- import {
26
- FormControlController
27
- } from "./chunk.PH2VNONO.js";
28
- import {
29
- CwButtonGroup
30
- } from "./chunk.K3TFJ7GW.js";
31
- import {
32
- LocalizeController
33
- } from "./chunk.2H4HZOD6.js";
34
- import {
35
- CwIcon
36
- } from "./chunk.ZAEC4FHM.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.75LMNY6V.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
- };