@cordwainer/cw-elements 1.2.2 → 1.3.0-alpha.0

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 (1285) hide show
  1. package/cdn/chunks/chunk.22CT3NNE.js +24 -0
  2. package/cdn/chunks/chunk.25KMNMZK.js +11 -0
  3. package/cdn/chunks/chunk.2NENWIUU.js +11 -0
  4. package/cdn/chunks/chunk.2RICIUBA.js +11 -0
  5. package/cdn/chunks/chunk.2ZIRYB3Y.js +25 -0
  6. package/cdn/chunks/chunk.32LVF3NX.js +25 -0
  7. package/cdn/chunks/chunk.3HGG6RUA.js +120 -0
  8. package/cdn/chunks/chunk.3HLPK5O5.js +21 -0
  9. package/cdn/chunks/chunk.3MKLDNWG.js +11 -0
  10. package/cdn/chunks/chunk.46UTDLRO.js +27 -0
  11. package/cdn/chunks/chunk.4D3JC36O.js +11 -0
  12. package/cdn/chunks/chunk.4L6YA4BS.js +21 -0
  13. package/cdn/chunks/chunk.4NFOE2PI.js +218 -0
  14. package/cdn/chunks/chunk.4SC4TGCN.js +969 -0
  15. package/cdn/chunks/chunk.4UE7HAZW.js +29 -0
  16. package/cdn/chunks/chunk.4UT3CKES.js +87 -0
  17. package/cdn/chunks/chunk.52A7UAED.js +24 -0
  18. package/cdn/chunks/chunk.5FHIO4XA.js +385 -0
  19. package/cdn/chunks/chunk.5HK7XVCB.js +33 -0
  20. package/cdn/chunks/chunk.5I5OMI3N.js +11 -0
  21. package/cdn/chunks/chunk.5WBNCPLC.js +21 -0
  22. package/cdn/chunks/chunk.65HZIHGQ.js +27 -0
  23. package/cdn/chunks/chunk.6L4E2FRV.js +135 -0
  24. package/cdn/chunks/chunk.6M54ME6L.js +11 -0
  25. package/cdn/chunks/chunk.6MNPBWK5.js +95 -0
  26. package/cdn/chunks/chunk.6NN4W7MU.js +11 -0
  27. package/cdn/chunks/chunk.737DQEUX.js +216 -0
  28. package/cdn/chunks/chunk.7BW7WPEZ.js +11 -0
  29. package/cdn/chunks/chunk.7HCQTBTI.js +27 -0
  30. package/cdn/chunks/chunk.7IKCQ65R.js +11 -0
  31. package/cdn/chunks/chunk.7NUXY2EY.js +28 -0
  32. package/cdn/chunks/chunk.7PIHS5GL.js +21 -0
  33. package/cdn/chunks/chunk.7RXKDF4L.js +29 -0
  34. package/cdn/chunks/chunk.7SVYHQNT.js +236 -0
  35. package/cdn/chunks/chunk.A2EIYRV7.js +11 -0
  36. package/cdn/chunks/chunk.A6OFMGC3.js +21 -0
  37. package/cdn/chunks/chunk.ACCB6NI3.js +11 -0
  38. package/cdn/chunks/chunk.ACM7MAUS.js +11 -0
  39. package/cdn/chunks/chunk.ACSSYL4R.js +120 -0
  40. package/cdn/chunks/chunk.AE7QHBRW.js +49 -0
  41. package/cdn/chunks/chunk.AIIMDYAE.js +11 -0
  42. package/cdn/chunks/chunk.AQ7UKAJV.js +1925 -0
  43. package/cdn/chunks/chunk.AW4UTLG3.js +25 -0
  44. package/cdn/chunks/chunk.AY5MT3OR.js +367 -0
  45. package/cdn/chunks/chunk.B4BK3A6X.js +21 -0
  46. package/cdn/chunks/chunk.B5ZSFAU6.js +11 -0
  47. package/cdn/chunks/chunk.BI3L4BGR.js +11 -0
  48. package/cdn/chunks/chunk.BITDDFNS.js +21 -0
  49. package/cdn/chunks/chunk.BOCPUXU4.js +24 -0
  50. package/cdn/chunks/chunk.BOZP3WLH.js +11 -0
  51. package/cdn/chunks/chunk.BRGM4UJQ.js +11 -0
  52. package/cdn/chunks/chunk.BVMDTNP7.js +27 -0
  53. package/cdn/chunks/chunk.C7ZSFM4V.js +11 -0
  54. package/cdn/chunks/chunk.CD2E57CF.js +84 -0
  55. package/cdn/chunks/chunk.CVC2DMUB.js +724 -0
  56. package/cdn/chunks/chunk.DF4P6KAE.js +26 -0
  57. package/cdn/chunks/chunk.DITLZ5KK.js +255 -0
  58. package/cdn/chunks/chunk.DLVWLMOU.js +11 -0
  59. package/cdn/chunks/chunk.DZO5S3KM.js +291 -0
  60. package/cdn/chunks/chunk.E2G7LJZ4.js +24 -0
  61. package/cdn/chunks/chunk.E5PYVMR5.js +21 -0
  62. package/cdn/chunks/chunk.EFRG42G4.js +21 -0
  63. package/cdn/chunks/chunk.EGK3WFML.js +113 -0
  64. package/cdn/chunks/chunk.EGOMPAI6.js +28 -0
  65. package/cdn/chunks/chunk.EHNIMAMM.js +11 -0
  66. package/cdn/chunks/chunk.EIPQNPT2.js +11 -0
  67. package/cdn/chunks/chunk.EK5IWFN6.js +21 -0
  68. package/cdn/chunks/chunk.ESY6P4PM.js +11 -0
  69. package/cdn/chunks/chunk.F6VKIAAB.js +11 -0
  70. package/cdn/chunks/chunk.FNMITKXM.js +24 -0
  71. package/cdn/chunks/chunk.G3QUPFQZ.js +11 -0
  72. package/cdn/chunks/chunk.G6AAWWCJ.js +73 -0
  73. package/cdn/chunks/chunk.GEJTL6ST.js +122 -0
  74. package/cdn/chunks/chunk.GMJOFZJP.js +11 -0
  75. package/cdn/chunks/chunk.GV5OP2HG.js +33 -0
  76. package/cdn/chunks/chunk.GVDSP2U7.js +28 -0
  77. package/cdn/chunks/chunk.H4SY37DU.js +103 -0
  78. package/cdn/chunks/chunk.HDSZV4RM.js +24 -0
  79. package/cdn/chunks/chunk.HHFV4YKJ.js +279 -0
  80. package/cdn/chunks/chunk.HIP3MHFF.js +11 -0
  81. package/cdn/chunks/chunk.HJG3QTYZ.js +186 -0
  82. package/cdn/chunks/chunk.HMXHEG5B.js +11 -0
  83. package/cdn/chunks/chunk.I4ZFA2WC.js +11 -0
  84. package/cdn/chunks/chunk.I7EIBAE5.js +77 -0
  85. package/cdn/chunks/chunk.IGVDGCCQ.js +21 -0
  86. package/cdn/chunks/chunk.IIO6C37X.js +11 -0
  87. package/cdn/chunks/chunk.IJL7SK7X.js +21 -0
  88. package/cdn/chunks/chunk.IVQY2JPO.js +11 -0
  89. package/cdn/chunks/chunk.IVWHTOWG.js +21 -0
  90. package/cdn/chunks/chunk.IWXMLM5A.js +21 -0
  91. package/cdn/chunks/chunk.IYZV25WR.js +127 -0
  92. package/cdn/chunks/chunk.JCHF3N6T.js +11 -0
  93. package/cdn/chunks/chunk.JGHPJ4UU.js +346 -0
  94. package/cdn/chunks/chunk.JIG2RHZA.js +21 -0
  95. package/cdn/chunks/chunk.JPIAAJLH.js +11 -0
  96. package/cdn/chunks/chunk.JSREKKUV.js +29 -0
  97. package/cdn/chunks/chunk.JV5QRBAT.js +50 -0
  98. package/cdn/chunks/chunk.K3ZN73C5.js +25 -0
  99. package/cdn/chunks/chunk.K7HBYHFK.js +11 -0
  100. package/cdn/chunks/chunk.KEZUFS3Y.js +11 -0
  101. package/cdn/chunks/chunk.KKA4QL3V.js +24 -0
  102. package/cdn/chunks/chunk.KMX3WIZX.js +11 -0
  103. package/cdn/chunks/chunk.KP23WFZN.js +79 -0
  104. package/cdn/chunks/chunk.KSHDFQ5X.js +391 -0
  105. package/cdn/chunks/chunk.L2XIF6VQ.js +402 -0
  106. package/cdn/chunks/chunk.LBYPFP7A.js +26 -0
  107. package/cdn/chunks/chunk.LEWHPZQJ.js +11 -0
  108. package/cdn/chunks/chunk.LK73OQE3.js +158 -0
  109. package/cdn/chunks/chunk.LPSDL2X4.js +11 -0
  110. package/cdn/chunks/chunk.LQBCYFQZ.js +24 -0
  111. package/cdn/chunks/chunk.LQWDLVIQ.js +233 -0
  112. package/cdn/chunks/chunk.MANOJF6Z.js +455 -0
  113. package/cdn/chunks/chunk.MECD4Z2F.js +26 -0
  114. package/cdn/chunks/chunk.MKN4I4TZ.js +11 -0
  115. package/cdn/chunks/chunk.MPENKN44.js +21 -0
  116. package/cdn/chunks/chunk.N7ZIEEPG.js +21 -0
  117. package/cdn/chunks/chunk.NHHP7JDV.js +24 -0
  118. package/cdn/chunks/chunk.NLVJUY52.js +499 -0
  119. package/cdn/chunks/chunk.NQJEQLSK.js +11 -0
  120. package/cdn/chunks/chunk.OBNLKHVF.js +24 -0
  121. package/cdn/chunks/chunk.OOIOK4M5.js +29 -0
  122. package/cdn/chunks/chunk.OSGEXLYO.js +11 -0
  123. package/cdn/chunks/chunk.P6D5QHVJ.js +11 -0
  124. package/cdn/chunks/chunk.PCFUPG3W.js +21 -0
  125. package/cdn/chunks/chunk.PE36ZBOZ.js +11 -0
  126. package/cdn/chunks/chunk.PPL67JOV.js +56 -0
  127. package/cdn/chunks/chunk.PQHYKCLW.js +33 -0
  128. package/cdn/chunks/chunk.PQIT36YL.js +11 -0
  129. package/cdn/chunks/chunk.PUISP3Y6.js +11 -0
  130. package/cdn/chunks/chunk.Q2AH6F2K.js +302 -0
  131. package/cdn/chunks/chunk.Q5TDIOE2.js +21 -0
  132. package/cdn/chunks/chunk.QIACIGFY.js +11 -0
  133. package/cdn/chunks/chunk.QJYHURZU.js +25 -0
  134. package/cdn/chunks/chunk.QLEQQREQ.js +11 -0
  135. package/cdn/chunks/chunk.QVD6S2XJ.js +11 -0
  136. package/cdn/chunks/chunk.QVSQZ2OW.js +297 -0
  137. package/cdn/chunks/chunk.QYA66GYY.js +21 -0
  138. package/cdn/chunks/chunk.QZM74RZS.js +21 -0
  139. package/cdn/chunks/chunk.R44P3COQ.js +292 -0
  140. package/cdn/chunks/chunk.RCWARHL4.js +63 -0
  141. package/cdn/chunks/chunk.REY2TH4N.js +114 -0
  142. package/cdn/chunks/chunk.RFKZXGL6.js +67 -0
  143. package/cdn/chunks/chunk.RK2NGAHE.js +21 -0
  144. package/cdn/chunks/chunk.RMZ3GGOD.js +378 -0
  145. package/cdn/chunks/chunk.RN7BZPQ4.js +44 -0
  146. package/cdn/chunks/chunk.ROJNY45S.js +904 -0
  147. package/cdn/chunks/chunk.RREEJWO4.js +267 -0
  148. package/cdn/chunks/chunk.RSISCJLD.js +42 -0
  149. package/cdn/chunks/chunk.RXKUDDAG.js +82 -0
  150. package/cdn/chunks/chunk.RZ5U3IGJ.js +25 -0
  151. package/cdn/chunks/chunk.S2I7BGKV.js +26 -0
  152. package/cdn/chunks/chunk.S2U6HXBN.js +11 -0
  153. package/cdn/chunks/chunk.S5Y5NOSY.js +25 -0
  154. package/cdn/chunks/chunk.S5ZFA6QJ.js +25 -0
  155. package/cdn/chunks/chunk.SGU7G5BW.js +24 -0
  156. package/cdn/chunks/chunk.SNUNWMPG.js +114 -0
  157. package/cdn/chunks/chunk.SSHVYOP2.js +153 -0
  158. package/cdn/chunks/chunk.TEMNLUFV.js +11 -0
  159. package/cdn/chunks/chunk.TYQ7ZMBW.js +24 -0
  160. package/cdn/chunks/chunk.TZC3IGYM.js +11 -0
  161. package/cdn/chunks/chunk.U2P5TSSF.js +11 -0
  162. package/cdn/chunks/chunk.U3HV6M7P.js +11 -0
  163. package/cdn/chunks/chunk.U3OKBJY3.js +27 -0
  164. package/cdn/chunks/chunk.UI2YPM4Q.js +11 -0
  165. package/cdn/chunks/chunk.UJXACBPA.js +11 -0
  166. package/cdn/chunks/chunk.UQ5DYLJH.js +11 -0
  167. package/cdn/chunks/chunk.URNAYTVR.js +137 -0
  168. package/cdn/chunks/chunk.V52Q2FBI.js +28 -0
  169. package/cdn/chunks/chunk.V7PVKTVW.js +142 -0
  170. package/cdn/chunks/chunk.VBUKH6YM.js +93 -0
  171. package/cdn/chunks/chunk.VDHDE7LM.js +205 -0
  172. package/cdn/chunks/chunk.VE6544CF.js +49 -0
  173. package/cdn/chunks/chunk.VFTUSAG5.js +24 -0
  174. package/cdn/chunks/chunk.VKA62GEU.js +844 -0
  175. package/cdn/chunks/chunk.VTFDXTES.js +299 -0
  176. package/cdn/chunks/chunk.VTTTIHQX.js +11 -0
  177. package/cdn/chunks/chunk.W2JXCITZ.js +11 -0
  178. package/cdn/chunks/chunk.W5GFIJFT.js +97 -0
  179. package/cdn/chunks/chunk.WCIVOTUQ.js +336 -0
  180. package/cdn/chunks/chunk.WCND34TR.js +21 -0
  181. package/cdn/chunks/chunk.WJD4SWMF.js +75 -0
  182. package/cdn/chunks/chunk.WVVWJJYI.js +36 -0
  183. package/cdn/chunks/chunk.WWXJAZJK.js +174 -0
  184. package/cdn/chunks/chunk.WY5FIE23.js +24 -0
  185. package/cdn/chunks/chunk.X2ADPGES.js +16 -0
  186. package/cdn/chunks/chunk.XAFSQLOF.js +574 -0
  187. package/cdn/chunks/chunk.XDANFU7Z.js +11 -0
  188. package/cdn/chunks/chunk.XMSZO3YG.js +33 -0
  189. package/cdn/chunks/chunk.XSTJB6JL.js +25 -0
  190. package/cdn/chunks/chunk.Y24QYAXM.js +24 -0
  191. package/cdn/chunks/chunk.Y4VSHIAH.js +11 -0
  192. package/cdn/chunks/chunk.YDCHAHGS.js +197 -0
  193. package/cdn/chunks/chunk.YIX3R3PC.js +11 -0
  194. package/cdn/chunks/chunk.YMKYAE6G.js +314 -0
  195. package/cdn/chunks/chunk.YPL5IULB.js +11 -0
  196. package/cdn/chunks/chunk.YQTNXX3P.js +821 -0
  197. package/cdn/chunks/chunk.Z54NXJ3L.js +28 -0
  198. package/cdn/chunks/chunk.Z7Z7ZXYP.js +11 -0
  199. package/cdn/chunks/chunk.ZBOQ7FFE.js +142 -0
  200. package/cdn/chunks/chunk.ZIIKONRE.js +1990 -0
  201. package/cdn/chunks/chunk.ZOYWULJK.js +11 -0
  202. package/cdn/chunks/chunk.ZTC7TXX5.js +53 -0
  203. package/cdn/chunks/chunk.ZTLDMFWK.js +11 -0
  204. package/cdn/components/alert/alert.component.js +8 -8
  205. package/cdn/components/alert/alert.js +9 -9
  206. package/cdn/components/animated-image/animated-image.component.js +5 -5
  207. package/cdn/components/animated-image/animated-image.js +6 -6
  208. package/cdn/components/animation/animation.component.js +2 -2
  209. package/cdn/components/animation/animation.js +3 -3
  210. package/cdn/components/avatar/avatar.component.js +5 -5
  211. package/cdn/components/avatar/avatar.js +6 -6
  212. package/cdn/components/badge/badge.component.js +2 -2
  213. package/cdn/components/badge/badge.js +3 -3
  214. package/cdn/components/breadcrumb/breadcrumb.component.js +7 -7
  215. package/cdn/components/breadcrumb/breadcrumb.js +8 -8
  216. package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  217. package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -3
  218. package/cdn/components/button/button.component.js +8 -8
  219. package/cdn/components/button/button.js +9 -9
  220. package/cdn/components/button-group/button-group.component.js +2 -2
  221. package/cdn/components/button-group/button-group.js +3 -3
  222. package/cdn/components/card/card.component.js +2 -2
  223. package/cdn/components/card/card.js +3 -3
  224. package/cdn/components/carousel/carousel.component.js +7 -7
  225. package/cdn/components/carousel/carousel.js +8 -8
  226. package/cdn/components/carousel-item/carousel-item.component.js +2 -2
  227. package/cdn/components/carousel-item/carousel-item.js +3 -3
  228. package/cdn/components/checkbox/checkbox.component.js +5 -5
  229. package/cdn/components/checkbox/checkbox.js +6 -6
  230. package/cdn/components/color-picker/color-picker.component.js +14 -14
  231. package/cdn/components/color-picker/color-picker.js +15 -15
  232. package/cdn/components/combobox/combobox.component.js +12 -12
  233. package/cdn/components/combobox/combobox.js +13 -13
  234. package/cdn/components/copy-button/copy-button.component.js +9 -9
  235. package/cdn/components/copy-button/copy-button.js +10 -10
  236. package/cdn/components/data-table/data-table-column.component.js +2 -2
  237. package/cdn/components/data-table/data-table-column.js +3 -3
  238. package/cdn/components/data-table/data-table.component.d.ts +3 -0
  239. package/cdn/components/data-table/data-table.component.js +11 -10
  240. package/cdn/components/data-table/data-table.js +12 -11
  241. package/cdn/components/data-table/data-table.styles.js +1 -1
  242. package/cdn/components/data-table/define/cw-data-table-column.js +2 -2
  243. package/cdn/components/data-table-column/data-table-column.js +3 -3
  244. package/cdn/components/date-picker/date-picker.component.js +9 -9
  245. package/cdn/components/date-picker/date-picker.js +10 -10
  246. package/cdn/components/details/details.component.js +7 -7
  247. package/cdn/components/details/details.js +8 -8
  248. package/cdn/components/dialog/dialog.component.js +8 -8
  249. package/cdn/components/dialog/dialog.js +9 -9
  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 +8 -8
  253. package/cdn/components/drawer/drawer.js +9 -9
  254. package/cdn/components/dropdown/dropdown.component.js +5 -5
  255. package/cdn/components/dropdown/dropdown.js +6 -6
  256. package/cdn/components/format-bytes/format-bytes.component.js +4 -4
  257. package/cdn/components/format-bytes/format-bytes.js +5 -5
  258. package/cdn/components/format-date/format-date.component.js +4 -4
  259. package/cdn/components/format-date/format-date.js +5 -5
  260. package/cdn/components/format-number/format-number.component.js +4 -4
  261. package/cdn/components/format-number/format-number.js +5 -5
  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/library.system.js +1 -1
  266. package/cdn/components/icon-button/icon-button.component.js +5 -5
  267. package/cdn/components/icon-button/icon-button.js +6 -6
  268. package/cdn/components/image-comparer/image-comparer.component.js +7 -7
  269. package/cdn/components/image-comparer/image-comparer.js +8 -8
  270. package/cdn/components/include/include.component.js +2 -2
  271. package/cdn/components/include/include.js +3 -3
  272. package/cdn/components/input/input.component.js +7 -7
  273. package/cdn/components/input/input.js +8 -8
  274. package/cdn/components/logo/logo.component.d.ts +43 -0
  275. package/cdn/components/logo/logo.component.js +16 -0
  276. package/cdn/components/logo/logo.d.ts +8 -0
  277. package/cdn/components/logo/logo.js +17 -0
  278. package/cdn/components/logo/logo.styles.d.ts +2 -0
  279. package/cdn/components/logo/logo.styles.js +8 -0
  280. package/cdn/components/menu/menu.component.js +2 -2
  281. package/cdn/components/menu/menu.js +3 -3
  282. package/cdn/components/menu-item/menu-item.component.js +9 -9
  283. package/cdn/components/menu-item/menu-item.js +10 -10
  284. package/cdn/components/menu-label/menu-label.component.js +2 -2
  285. package/cdn/components/menu-label/menu-label.js +3 -3
  286. package/cdn/components/mutation-observer/mutation-observer.component.js +2 -2
  287. package/cdn/components/mutation-observer/mutation-observer.js +3 -3
  288. package/cdn/components/option/option.component.js +7 -7
  289. package/cdn/components/option/option.js +8 -8
  290. package/cdn/components/pagination/pagination.component.js +8 -8
  291. package/cdn/components/pagination/pagination.js +9 -9
  292. package/cdn/components/popup/popup.component.js +4 -4
  293. package/cdn/components/popup/popup.js +5 -5
  294. package/cdn/components/progress-bar/progress-bar.component.js +4 -4
  295. package/cdn/components/progress-bar/progress-bar.js +5 -5
  296. package/cdn/components/progress-ring/progress-ring.component.js +4 -4
  297. package/cdn/components/progress-ring/progress-ring.js +5 -5
  298. package/cdn/components/qr-code/qr-code.component.js +2 -2
  299. package/cdn/components/qr-code/qr-code.js +3 -3
  300. package/cdn/components/radio/radio.component.js +5 -5
  301. package/cdn/components/radio/radio.js +6 -6
  302. package/cdn/components/radio-button/radio-button.component.js +2 -2
  303. package/cdn/components/radio-button/radio-button.js +3 -3
  304. package/cdn/components/radio-group/radio-group.component.js +3 -3
  305. package/cdn/components/radio-group/radio-group.js +4 -4
  306. package/cdn/components/range/range.component.js +4 -4
  307. package/cdn/components/range/range.js +5 -5
  308. package/cdn/components/rating/rating.component.js +7 -7
  309. package/cdn/components/rating/rating.js +8 -8
  310. package/cdn/components/relative-time/relative-time.component.js +4 -4
  311. package/cdn/components/relative-time/relative-time.js +5 -5
  312. package/cdn/components/resize-observer/resize-observer.component.js +2 -2
  313. package/cdn/components/resize-observer/resize-observer.js +3 -3
  314. package/cdn/components/select/select.component.js +10 -10
  315. package/cdn/components/select/select.js +11 -11
  316. package/cdn/components/skeleton/skeleton.component.js +2 -2
  317. package/cdn/components/skeleton/skeleton.js +3 -3
  318. package/cdn/components/spinner/spinner.component.js +4 -4
  319. package/cdn/components/spinner/spinner.js +5 -5
  320. package/cdn/components/split-panel/split-panel.component.js +4 -4
  321. package/cdn/components/split-panel/split-panel.js +5 -5
  322. package/cdn/components/switch/switch.component.js +2 -2
  323. package/cdn/components/switch/switch.js +3 -3
  324. package/cdn/components/tab/tab.component.js +8 -8
  325. package/cdn/components/tab/tab.js +9 -9
  326. package/cdn/components/tab-group/tab-group.component.js +9 -9
  327. package/cdn/components/tab-group/tab-group.js +10 -10
  328. package/cdn/components/tab-panel/tab-panel.component.js +2 -2
  329. package/cdn/components/tab-panel/tab-panel.js +3 -3
  330. package/cdn/components/tag/tag.component.js +8 -8
  331. package/cdn/components/tag/tag.js +9 -9
  332. package/cdn/components/textarea/textarea.component.js +2 -2
  333. package/cdn/components/textarea/textarea.js +3 -3
  334. package/cdn/components/time-picker/time-picker.component.js +9 -9
  335. package/cdn/components/time-picker/time-picker.js +10 -10
  336. package/cdn/components/tooltip/tooltip.component.js +5 -5
  337. package/cdn/components/tooltip/tooltip.js +6 -6
  338. package/cdn/components/tree/tree.component.js +10 -10
  339. package/cdn/components/tree/tree.js +11 -11
  340. package/cdn/components/tree-item/tree-item.component.js +9 -9
  341. package/cdn/components/tree-item/tree-item.js +10 -10
  342. package/cdn/components/visually-hidden/visually-hidden.component.js +2 -2
  343. package/cdn/components/visually-hidden/visually-hidden.js +3 -3
  344. package/cdn/custom-elements.json +201 -1
  345. package/cdn/cw-elements.d.ts +1 -0
  346. package/cdn/cw-elements.js +171 -164
  347. package/cdn/internal/host-context-fallback.d.ts +8 -0
  348. package/cdn/react/alert/index.js +9 -9
  349. package/cdn/react/animated-image/index.js +6 -6
  350. package/cdn/react/animation/index.js +3 -3
  351. package/cdn/react/avatar/index.js +6 -6
  352. package/cdn/react/badge/index.js +3 -3
  353. package/cdn/react/breadcrumb/index.js +8 -8
  354. package/cdn/react/breadcrumb-item/index.js +3 -3
  355. package/cdn/react/button/index.js +9 -9
  356. package/cdn/react/button-group/index.js +3 -3
  357. package/cdn/react/card/index.js +3 -3
  358. package/cdn/react/carousel/index.js +8 -8
  359. package/cdn/react/carousel-item/index.js +3 -3
  360. package/cdn/react/checkbox/index.js +6 -6
  361. package/cdn/react/color-picker/index.js +15 -15
  362. package/cdn/react/combobox/index.js +13 -13
  363. package/cdn/react/copy-button/index.js +10 -10
  364. package/cdn/react/data-table/index.js +12 -11
  365. package/cdn/react/data-table-column/index.js +3 -3
  366. package/cdn/react/date-picker/index.js +10 -10
  367. package/cdn/react/details/index.js +8 -8
  368. package/cdn/react/dialog/index.js +9 -9
  369. package/cdn/react/divider/index.js +3 -3
  370. package/cdn/react/drawer/index.js +9 -9
  371. package/cdn/react/dropdown/index.js +6 -6
  372. package/cdn/react/format-bytes/index.js +5 -5
  373. package/cdn/react/format-date/index.js +5 -5
  374. package/cdn/react/format-number/index.js +5 -5
  375. package/cdn/react/icon/index.js +5 -5
  376. package/cdn/react/icon-button/index.js +6 -6
  377. package/cdn/react/image-comparer/index.js +8 -8
  378. package/cdn/react/include/index.js +3 -3
  379. package/cdn/react/index.d.ts +1 -0
  380. package/cdn/react/index.js +187 -180
  381. package/cdn/react/input/index.js +8 -8
  382. package/cdn/react/logo/index.d.ts +18 -0
  383. package/cdn/react/logo/index.js +17 -0
  384. package/cdn/react/menu/index.js +3 -3
  385. package/cdn/react/menu-item/index.js +10 -10
  386. package/cdn/react/menu-label/index.js +3 -3
  387. package/cdn/react/mutation-observer/index.js +3 -3
  388. package/cdn/react/option/index.js +8 -8
  389. package/cdn/react/pagination/index.js +9 -9
  390. package/cdn/react/popup/index.js +5 -5
  391. package/cdn/react/progress-bar/index.js +5 -5
  392. package/cdn/react/progress-ring/index.js +5 -5
  393. package/cdn/react/qr-code/index.js +3 -3
  394. package/cdn/react/radio/index.js +6 -6
  395. package/cdn/react/radio-button/index.js +3 -3
  396. package/cdn/react/radio-group/index.js +4 -4
  397. package/cdn/react/range/index.js +5 -5
  398. package/cdn/react/rating/index.js +8 -8
  399. package/cdn/react/relative-time/index.js +5 -5
  400. package/cdn/react/resize-observer/index.js +3 -3
  401. package/cdn/react/select/index.js +11 -11
  402. package/cdn/react/skeleton/index.js +3 -3
  403. package/cdn/react/spinner/index.js +5 -5
  404. package/cdn/react/split-panel/index.js +5 -5
  405. package/cdn/react/switch/index.js +3 -3
  406. package/cdn/react/tab/index.js +9 -9
  407. package/cdn/react/tab-group/index.js +10 -10
  408. package/cdn/react/tab-panel/index.js +3 -3
  409. package/cdn/react/tag/index.js +9 -9
  410. package/cdn/react/textarea/index.js +3 -3
  411. package/cdn/react/time-picker/index.js +10 -10
  412. package/cdn/react/tooltip/index.js +6 -6
  413. package/cdn/react/tree/index.js +11 -11
  414. package/cdn/react/tree-item/index.js +10 -10
  415. package/cdn/react/visually-hidden/index.js +3 -3
  416. package/cdn/translations/da.js +2 -2
  417. package/cdn/translations/de-ch.js +2 -2
  418. package/cdn/translations/de.js +2 -2
  419. package/cdn/translations/en-gb.js +2 -2
  420. package/cdn/translations/en.js +1 -1
  421. package/cdn/translations/es.js +3 -2
  422. package/cdn/translations/fa.js +2 -2
  423. package/cdn/translations/fr.js +2 -2
  424. package/cdn/translations/he.js +2 -2
  425. package/cdn/translations/hu.js +2 -2
  426. package/cdn/translations/ja.js +2 -2
  427. package/cdn/translations/nb.js +2 -2
  428. package/cdn/translations/nl.js +2 -2
  429. package/cdn/translations/nn.js +2 -2
  430. package/cdn/translations/pl.js +2 -2
  431. package/cdn/translations/pt.js +2 -2
  432. package/cdn/translations/ru.js +2 -2
  433. package/cdn/translations/sv.js +2 -2
  434. package/cdn/translations/tr.js +2 -2
  435. package/cdn/translations/uk.js +2 -2
  436. package/cdn/translations/zh-cn.js +2 -2
  437. package/cdn/translations/zh-tw.js +2 -2
  438. package/cdn/types/vue/index.d.ts +37 -0
  439. package/cdn/utilities/icon-library.js +2 -2
  440. package/cdn/utilities/localize.d.ts +1 -0
  441. package/cdn/utilities/localize.js +2 -2
  442. package/cdn/vscode.html-custom-data.json +48 -0
  443. package/cdn/web-types.json +83 -1
  444. package/dist/chunks/chunk.2AG4LGFF.js +63 -0
  445. package/dist/chunks/chunk.2GENM2T3.js +59 -0
  446. package/dist/chunks/chunk.2GYEND2E.js +21 -0
  447. package/dist/chunks/chunk.2I3PQAIB.js +11 -0
  448. package/dist/chunks/chunk.2NQUWBBI.js +151 -0
  449. package/dist/chunks/chunk.2THEKYZB.js +11 -0
  450. package/dist/chunks/chunk.2VLMLOWV.js +21 -0
  451. package/dist/chunks/chunk.33HALTCO.js +227 -0
  452. package/dist/chunks/chunk.35VTIGT7.js +21 -0
  453. package/dist/chunks/chunk.3AFGTKZX.js +181 -0
  454. package/dist/chunks/chunk.3AHTUBOG.js +259 -0
  455. package/dist/chunks/chunk.3FIJJQ4E.js +25 -0
  456. package/dist/chunks/chunk.3MAHNAX7.js +11 -0
  457. package/dist/chunks/chunk.3PVGQH5I.js +11 -0
  458. package/dist/chunks/chunk.427OFUAW.js +24 -0
  459. package/dist/chunks/chunk.42BBHZMM.js +294 -0
  460. package/dist/chunks/chunk.46QJGMRB.js +11 -0
  461. package/dist/chunks/chunk.4HEVS4JL.js +24 -0
  462. package/dist/chunks/chunk.4TVSRBHU.js +11 -0
  463. package/dist/chunks/chunk.4WU7ZJJD.js +21 -0
  464. package/dist/chunks/chunk.4YJCZA67.js +21 -0
  465. package/dist/chunks/chunk.53DASUJV.js +293 -0
  466. package/dist/chunks/chunk.57YOOINY.js +21 -0
  467. package/dist/chunks/chunk.5CCJ5XKE.js +91 -0
  468. package/dist/chunks/chunk.5GXIU7UK.js +202 -0
  469. package/dist/chunks/chunk.5JEYDXUT.js +231 -0
  470. package/dist/chunks/chunk.5N3A2GXA.js +11 -0
  471. package/dist/chunks/chunk.5QBMC36T.js +11 -0
  472. package/dist/chunks/chunk.5SMTGQNW.js +11 -0
  473. package/dist/chunks/chunk.65CWOEZ2.js +22 -0
  474. package/dist/chunks/chunk.6CA6X2V3.js +21 -0
  475. package/dist/chunks/chunk.6OCDHTPA.js +28 -0
  476. package/dist/chunks/chunk.774JT5LG.js +25 -0
  477. package/dist/chunks/chunk.7BQQMODJ.js +33 -0
  478. package/dist/chunks/chunk.7E7PWQHX.js +42 -0
  479. package/dist/chunks/chunk.7H3AMZLT.js +11 -0
  480. package/dist/chunks/chunk.7JHZMA57.js +33 -0
  481. package/dist/chunks/chunk.7KAIMHBR.js +11 -0
  482. package/dist/chunks/chunk.7UB7VKAC.js +375 -0
  483. package/dist/chunks/chunk.7VV2QIUG.js +45 -0
  484. package/dist/chunks/chunk.7ZQIIFZB.js +448 -0
  485. package/dist/chunks/chunk.A4H5IHH6.js +11 -0
  486. package/dist/chunks/chunk.A5NMUGPV.js +11 -0
  487. package/dist/chunks/chunk.AARBLRXJ.js +29 -0
  488. package/dist/chunks/chunk.ABRX4XJW.js +11 -0
  489. package/dist/chunks/chunk.AD4UFRUN.js +21 -0
  490. package/dist/chunks/chunk.APE5GL5Y.js +75 -0
  491. package/dist/chunks/chunk.AQQE6CGB.js +11 -0
  492. package/dist/chunks/chunk.AVNCTMUP.js +837 -0
  493. package/dist/chunks/chunk.B3A6JRXS.js +116 -0
  494. package/dist/chunks/chunk.B6XVF6TW.js +24 -0
  495. package/dist/chunks/chunk.B7S5PGDX.js +813 -0
  496. package/dist/chunks/chunk.BFI5RSZX.js +22 -0
  497. package/dist/chunks/chunk.BHOADBXG.js +26 -0
  498. package/dist/chunks/chunk.BLVN4KUO.js +11 -0
  499. package/dist/chunks/chunk.BP2NMHG3.js +11 -0
  500. package/dist/chunks/chunk.BQ3Q5TNW.js +11 -0
  501. package/dist/chunks/chunk.BRG6AG5W.js +21 -0
  502. package/dist/chunks/chunk.BVNGYC7G.js +21 -0
  503. package/dist/chunks/chunk.BZUNZWCQ.js +21 -0
  504. package/dist/chunks/chunk.C2H7NVVH.js +11 -0
  505. package/dist/chunks/chunk.C6MIIMK3.js +11 -0
  506. package/dist/chunks/chunk.CBN6JSDV.js +491 -0
  507. package/dist/chunks/chunk.CBOW7HNP.js +126 -0
  508. package/dist/chunks/chunk.CGTOLVZP.js +11 -0
  509. package/dist/chunks/chunk.CSNIA3KK.js +33 -0
  510. package/dist/chunks/chunk.CURUWSEO.js +21 -0
  511. package/dist/chunks/chunk.CVISD57X.js +11 -0
  512. package/dist/chunks/chunk.D5QUJ3MC.js +11 -0
  513. package/dist/chunks/chunk.DQEH6ERY.js +24 -0
  514. package/dist/chunks/chunk.DTFJMEL7.js +27 -0
  515. package/dist/chunks/chunk.DTUJ2XNL.js +25 -0
  516. package/dist/chunks/chunk.DVGAJ3DA.js +15 -0
  517. package/dist/chunks/chunk.DWRZIT4M.js +24 -0
  518. package/dist/chunks/chunk.E4XI5XFN.js +11 -0
  519. package/dist/chunks/chunk.E5CGWMEK.js +11 -0
  520. package/dist/chunks/chunk.E7YZQ4HD.js +100 -0
  521. package/dist/chunks/chunk.EABEXK5H.js +11 -0
  522. package/dist/chunks/chunk.EAFFBV3W.js +28 -0
  523. package/dist/chunks/chunk.EAIL4D57.js +11 -0
  524. package/dist/chunks/chunk.ELGVK57O.js +11 -0
  525. package/dist/chunks/chunk.ERQHS5I5.js +550 -0
  526. package/dist/chunks/chunk.EVCE56NW.js +21 -0
  527. package/dist/chunks/chunk.F3NM3ABB.js +80 -0
  528. package/dist/chunks/chunk.F5CGWV23.js +337 -0
  529. package/dist/chunks/chunk.FBHA7HUB.js +42 -0
  530. package/dist/chunks/chunk.FPQQJJVJ.js +33 -0
  531. package/dist/chunks/chunk.FUD6M45U.js +24 -0
  532. package/dist/chunks/chunk.G366KAC6.js +361 -0
  533. package/dist/chunks/chunk.G7W64YXN.js +21 -0
  534. package/dist/chunks/chunk.GH7A3UGH.js +34 -0
  535. package/dist/chunks/chunk.GLWSITVT.js +11 -0
  536. package/dist/chunks/chunk.GWSH3PL2.js +21 -0
  537. package/dist/chunks/chunk.GYZOVNX2.js +119 -0
  538. package/dist/chunks/chunk.H2O2N37B.js +11 -0
  539. package/dist/chunks/chunk.H5JYRGAC.js +27 -0
  540. package/dist/chunks/chunk.H7JBYTAA.js +93 -0
  541. package/dist/chunks/chunk.HD4RHRMS.js +109 -0
  542. package/dist/chunks/chunk.HGWLQ3XV.js +117 -0
  543. package/dist/chunks/chunk.HKAXVWKT.js +111 -0
  544. package/dist/chunks/chunk.HR6YWWWW.js +11 -0
  545. package/dist/chunks/chunk.I6WSHEOM.js +21 -0
  546. package/dist/chunks/chunk.IBSHPTFC.js +11 -0
  547. package/dist/chunks/chunk.IKMEH3KY.js +21 -0
  548. package/dist/chunks/chunk.J6JN5ZNA.js +247 -0
  549. package/dist/chunks/chunk.JCZYPLSM.js +21 -0
  550. package/dist/chunks/chunk.JJALDPWX.js +21 -0
  551. package/dist/chunks/chunk.JMM4USPE.js +11 -0
  552. package/dist/chunks/chunk.K3EXY3BU.js +949 -0
  553. package/dist/chunks/chunk.K5UGBPJ3.js +11 -0
  554. package/dist/chunks/chunk.KBNRGSIV.js +11 -0
  555. package/dist/chunks/chunk.KEDNZZ3P.js +100 -0
  556. package/dist/chunks/chunk.KQQLAKRZ.js +21 -0
  557. package/dist/chunks/chunk.L7Z6LGT6.js +25 -0
  558. package/dist/chunks/chunk.LK72UNTZ.js +24 -0
  559. package/dist/chunks/chunk.LLT4TMU5.js +192 -0
  560. package/dist/chunks/chunk.LOU3KYJG.js +370 -0
  561. package/dist/chunks/chunk.LXCC4JLY.js +29 -0
  562. package/dist/chunks/chunk.M357TFC3.js +134 -0
  563. package/dist/chunks/chunk.M4Y4ZID3.js +25 -0
  564. package/dist/chunks/chunk.M5RW4BPF.js +109 -0
  565. package/dist/chunks/chunk.MDH6IU4V.js +170 -0
  566. package/dist/chunks/chunk.MMNRUD4M.js +896 -0
  567. package/dist/chunks/chunk.N2DRBLDH.js +67 -0
  568. package/dist/chunks/chunk.NB4MG53P.js +94 -0
  569. package/dist/chunks/chunk.NKLUE7XC.js +11 -0
  570. package/dist/chunks/chunk.NSTCRPYY.js +11 -0
  571. package/dist/chunks/chunk.NUOLLJJR.js +21 -0
  572. package/dist/chunks/chunk.NZKCYY52.js +961 -0
  573. package/dist/chunks/chunk.O24JHPBJ.js +50 -0
  574. package/dist/chunks/chunk.O2BJRSTL.js +24 -0
  575. package/dist/chunks/chunk.O5KUIOYE.js +11 -0
  576. package/dist/chunks/chunk.OBI6YT4W.js +11 -0
  577. package/dist/chunks/chunk.OCPC37N2.js +11 -0
  578. package/dist/chunks/chunk.OLM7OFIX.js +11 -0
  579. package/dist/chunks/chunk.ONNRL3UG.js +24 -0
  580. package/dist/chunks/chunk.OOZE3NE6.js +25 -0
  581. package/dist/chunks/chunk.OPNTDH3O.js +82 -0
  582. package/dist/chunks/chunk.OQRAO7EF.js +26 -0
  583. package/dist/chunks/chunk.OTCTVE5V.js +29 -0
  584. package/dist/chunks/chunk.OUIVPB2G.js +384 -0
  585. package/dist/chunks/chunk.OV4DLZ2M.js +75 -0
  586. package/dist/chunks/chunk.PA4DYO7E.js +274 -0
  587. package/dist/chunks/chunk.PJ5CMMLX.js +11 -0
  588. package/dist/chunks/chunk.PJXIO5XQ.js +25 -0
  589. package/dist/chunks/chunk.PW26KANS.js +11 -0
  590. package/dist/chunks/chunk.Q3J6WFJT.js +11 -0
  591. package/dist/chunks/chunk.Q4ZVFZMU.js +26 -0
  592. package/dist/chunks/chunk.Q6YH2NQ3.js +315 -0
  593. package/dist/chunks/chunk.QBMZLXDX.js +11 -0
  594. package/dist/chunks/chunk.QFAIVRPD.js +28 -0
  595. package/dist/chunks/chunk.QFCBURYO.js +11 -0
  596. package/dist/chunks/chunk.QIND5MVN.js +25 -0
  597. package/dist/chunks/chunk.QM6HMP4D.js +11 -0
  598. package/dist/chunks/chunk.QNCK2GAI.js +45 -0
  599. package/dist/chunks/chunk.QQ3HVSBR.js +11 -0
  600. package/dist/chunks/chunk.QTEUSPPU.js +11 -0
  601. package/dist/chunks/chunk.QV4DFCEI.js +11 -0
  602. package/dist/chunks/chunk.QVYCCVZS.js +11 -0
  603. package/dist/chunks/chunk.QX4AFNN2.js +11 -0
  604. package/dist/chunks/chunk.QXDQOXQN.js +147 -0
  605. package/dist/chunks/chunk.QZC7L7EX.js +90 -0
  606. package/dist/chunks/chunk.RMKLMD4K.js +26 -0
  607. package/dist/chunks/chunk.RN7BZPQ4.js +44 -0
  608. package/dist/chunks/chunk.RZRNGKJL.js +11 -0
  609. package/dist/chunks/chunk.SA56QYLF.js +28 -0
  610. package/dist/chunks/chunk.STFWRH6P.js +11 -0
  611. package/dist/chunks/chunk.T62XVO2T.js +11 -0
  612. package/dist/chunks/chunk.TDV4IRGW.js +11 -0
  613. package/dist/chunks/chunk.THF2CNPG.js +21 -0
  614. package/dist/chunks/chunk.TJ5VIVAX.js +286 -0
  615. package/dist/chunks/chunk.TO5JY7TD.js +21 -0
  616. package/dist/chunks/chunk.TVNB4JXG.js +50 -0
  617. package/dist/chunks/chunk.TYQ7ZMBW.js +24 -0
  618. package/dist/chunks/chunk.UENUKMVE.js +24 -0
  619. package/dist/chunks/chunk.USKQZ7GU.js +417 -0
  620. package/dist/chunks/chunk.V2T5TJ5I.js +85 -0
  621. package/dist/chunks/chunk.V5WC7WLK.js +213 -0
  622. package/dist/chunks/chunk.V7PVKTVW.js +142 -0
  623. package/dist/chunks/chunk.VUP4OXM6.js +135 -0
  624. package/dist/chunks/chunk.WAP6D3KF.js +280 -0
  625. package/dist/chunks/chunk.WBQTNRCP.js +11 -0
  626. package/dist/chunks/chunk.WEJ3Q4DV.js +11 -0
  627. package/dist/chunks/chunk.WQNJKGUR.js +24 -0
  628. package/dist/chunks/chunk.X6HAPQKG.js +11 -0
  629. package/dist/chunks/chunk.X6U5CKLH.js +11 -0
  630. package/dist/chunks/chunk.XI24R2BK.js +11 -0
  631. package/dist/chunks/chunk.XSLAX4BM.js +27 -0
  632. package/dist/chunks/chunk.Y4DVHEWQ.js +11 -0
  633. package/dist/chunks/chunk.Y6DNILRD.js +24 -0
  634. package/dist/chunks/chunk.Y7OXOIP7.js +290 -0
  635. package/dist/chunks/chunk.YB3XVX7I.js +11 -0
  636. package/dist/chunks/chunk.YGOW7NSW.js +25 -0
  637. package/dist/chunks/chunk.YK4FA566.js +115 -0
  638. package/dist/chunks/chunk.YOBZT5FH.js +27 -0
  639. package/dist/chunks/chunk.YOK6NINY.js +11 -0
  640. package/dist/chunks/chunk.YRW45GH5.js +28 -0
  641. package/dist/chunks/chunk.Z4TUXG7F.js +311 -0
  642. package/dist/chunks/chunk.Z7QSHXUC.js +29 -0
  643. package/dist/chunks/chunk.ZEEZVIUF.js +11 -0
  644. package/dist/chunks/chunk.ZFK7C4IR.js +397 -0
  645. package/dist/chunks/chunk.ZJCU7ADP.js +53 -0
  646. package/dist/chunks/chunk.ZMQF2BRT.js +73 -0
  647. package/dist/chunks/chunk.ZWDVOAET.js +25 -0
  648. package/dist/components/alert/alert.component.js +8 -8
  649. package/dist/components/alert/alert.js +9 -9
  650. package/dist/components/animated-image/animated-image.component.js +5 -5
  651. package/dist/components/animated-image/animated-image.js +6 -6
  652. package/dist/components/animation/animation.component.js +2 -2
  653. package/dist/components/animation/animation.js +3 -3
  654. package/dist/components/avatar/avatar.component.js +5 -5
  655. package/dist/components/avatar/avatar.js +6 -6
  656. package/dist/components/badge/badge.component.js +2 -2
  657. package/dist/components/badge/badge.js +3 -3
  658. package/dist/components/breadcrumb/breadcrumb.component.js +7 -7
  659. package/dist/components/breadcrumb/breadcrumb.js +8 -8
  660. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  661. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  662. package/dist/components/button/button.component.js +8 -8
  663. package/dist/components/button/button.js +9 -9
  664. package/dist/components/button-group/button-group.component.js +2 -2
  665. package/dist/components/button-group/button-group.js +3 -3
  666. package/dist/components/card/card.component.js +2 -2
  667. package/dist/components/card/card.js +3 -3
  668. package/dist/components/carousel/carousel.component.js +7 -7
  669. package/dist/components/carousel/carousel.js +8 -8
  670. package/dist/components/carousel-item/carousel-item.component.js +2 -2
  671. package/dist/components/carousel-item/carousel-item.js +3 -3
  672. package/dist/components/checkbox/checkbox.component.js +5 -5
  673. package/dist/components/checkbox/checkbox.js +6 -6
  674. package/dist/components/color-picker/color-picker.component.js +14 -14
  675. package/dist/components/color-picker/color-picker.js +15 -15
  676. package/dist/components/combobox/combobox.component.js +12 -12
  677. package/dist/components/combobox/combobox.js +13 -13
  678. package/dist/components/copy-button/copy-button.component.js +9 -9
  679. package/dist/components/copy-button/copy-button.js +10 -10
  680. package/dist/components/data-table/data-table-column.component.js +2 -2
  681. package/dist/components/data-table/data-table-column.js +3 -3
  682. package/dist/components/data-table/data-table.component.d.ts +3 -0
  683. package/dist/components/data-table/data-table.component.js +11 -10
  684. package/dist/components/data-table/data-table.js +12 -11
  685. package/dist/components/data-table/data-table.styles.js +1 -1
  686. package/dist/components/data-table/define/cw-data-table-column.js +2 -2
  687. package/dist/components/data-table-column/data-table-column.js +3 -3
  688. package/dist/components/date-picker/date-picker.component.js +9 -9
  689. package/dist/components/date-picker/date-picker.js +10 -10
  690. package/dist/components/details/details.component.js +7 -7
  691. package/dist/components/details/details.js +8 -8
  692. package/dist/components/dialog/dialog.component.js +8 -8
  693. package/dist/components/dialog/dialog.js +9 -9
  694. package/dist/components/divider/divider.component.js +2 -2
  695. package/dist/components/divider/divider.js +3 -3
  696. package/dist/components/drawer/drawer.component.js +8 -8
  697. package/dist/components/drawer/drawer.js +9 -9
  698. package/dist/components/dropdown/dropdown.component.js +5 -5
  699. package/dist/components/dropdown/dropdown.js +6 -6
  700. package/dist/components/format-bytes/format-bytes.component.js +4 -4
  701. package/dist/components/format-bytes/format-bytes.js +5 -5
  702. package/dist/components/format-date/format-date.component.js +4 -4
  703. package/dist/components/format-date/format-date.js +5 -5
  704. package/dist/components/format-number/format-number.component.js +4 -4
  705. package/dist/components/format-number/format-number.js +5 -5
  706. package/dist/components/icon/icon.component.js +4 -4
  707. package/dist/components/icon/icon.js +5 -5
  708. package/dist/components/icon/library.js +2 -2
  709. package/dist/components/icon/library.system.js +1 -1
  710. package/dist/components/icon-button/icon-button.component.js +5 -5
  711. package/dist/components/icon-button/icon-button.js +6 -6
  712. package/dist/components/image-comparer/image-comparer.component.js +7 -7
  713. package/dist/components/image-comparer/image-comparer.js +8 -8
  714. package/dist/components/include/include.component.js +2 -2
  715. package/dist/components/include/include.js +3 -3
  716. package/dist/components/input/input.component.js +7 -7
  717. package/dist/components/input/input.js +8 -8
  718. package/dist/components/logo/logo.component.d.ts +43 -0
  719. package/dist/components/logo/logo.component.js +13 -0
  720. package/dist/components/logo/logo.d.ts +8 -0
  721. package/dist/components/logo/logo.js +14 -0
  722. package/dist/components/logo/logo.styles.d.ts +2 -0
  723. package/dist/components/logo/logo.styles.js +7 -0
  724. package/dist/components/menu/menu.component.js +2 -2
  725. package/dist/components/menu/menu.js +3 -3
  726. package/dist/components/menu-item/menu-item.component.js +9 -9
  727. package/dist/components/menu-item/menu-item.js +10 -10
  728. package/dist/components/menu-label/menu-label.component.js +2 -2
  729. package/dist/components/menu-label/menu-label.js +3 -3
  730. package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
  731. package/dist/components/mutation-observer/mutation-observer.js +3 -3
  732. package/dist/components/option/option.component.js +7 -7
  733. package/dist/components/option/option.js +8 -8
  734. package/dist/components/pagination/pagination.component.js +8 -8
  735. package/dist/components/pagination/pagination.js +9 -9
  736. package/dist/components/popup/popup.component.js +4 -4
  737. package/dist/components/popup/popup.js +5 -5
  738. package/dist/components/progress-bar/progress-bar.component.js +4 -4
  739. package/dist/components/progress-bar/progress-bar.js +5 -5
  740. package/dist/components/progress-ring/progress-ring.component.js +4 -4
  741. package/dist/components/progress-ring/progress-ring.js +5 -5
  742. package/dist/components/qr-code/qr-code.component.js +2 -2
  743. package/dist/components/qr-code/qr-code.js +3 -3
  744. package/dist/components/radio/radio.component.js +5 -5
  745. package/dist/components/radio/radio.js +6 -6
  746. package/dist/components/radio-button/radio-button.component.js +2 -2
  747. package/dist/components/radio-button/radio-button.js +3 -3
  748. package/dist/components/radio-group/radio-group.component.js +3 -3
  749. package/dist/components/radio-group/radio-group.js +4 -4
  750. package/dist/components/range/range.component.js +4 -4
  751. package/dist/components/range/range.js +5 -5
  752. package/dist/components/rating/rating.component.js +7 -7
  753. package/dist/components/rating/rating.js +8 -8
  754. package/dist/components/relative-time/relative-time.component.js +4 -4
  755. package/dist/components/relative-time/relative-time.js +5 -5
  756. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  757. package/dist/components/resize-observer/resize-observer.js +3 -3
  758. package/dist/components/select/select.component.js +10 -10
  759. package/dist/components/select/select.js +11 -11
  760. package/dist/components/skeleton/skeleton.component.js +2 -2
  761. package/dist/components/skeleton/skeleton.js +3 -3
  762. package/dist/components/spinner/spinner.component.js +4 -4
  763. package/dist/components/spinner/spinner.js +5 -5
  764. package/dist/components/split-panel/split-panel.component.js +4 -4
  765. package/dist/components/split-panel/split-panel.js +5 -5
  766. package/dist/components/switch/switch.component.js +2 -2
  767. package/dist/components/switch/switch.js +3 -3
  768. package/dist/components/tab/tab.component.js +8 -8
  769. package/dist/components/tab/tab.js +9 -9
  770. package/dist/components/tab-group/tab-group.component.js +9 -9
  771. package/dist/components/tab-group/tab-group.js +10 -10
  772. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  773. package/dist/components/tab-panel/tab-panel.js +3 -3
  774. package/dist/components/tag/tag.component.js +8 -8
  775. package/dist/components/tag/tag.js +9 -9
  776. package/dist/components/textarea/textarea.component.js +2 -2
  777. package/dist/components/textarea/textarea.js +3 -3
  778. package/dist/components/time-picker/time-picker.component.js +9 -9
  779. package/dist/components/time-picker/time-picker.js +10 -10
  780. package/dist/components/tooltip/tooltip.component.js +5 -5
  781. package/dist/components/tooltip/tooltip.js +6 -6
  782. package/dist/components/tree/tree.component.js +10 -10
  783. package/dist/components/tree/tree.js +11 -11
  784. package/dist/components/tree-item/tree-item.component.js +9 -9
  785. package/dist/components/tree-item/tree-item.js +10 -10
  786. package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
  787. package/dist/components/visually-hidden/visually-hidden.js +3 -3
  788. package/dist/custom-elements.json +201 -1
  789. package/dist/cw-elements.d.ts +1 -0
  790. package/dist/cw-elements.js +171 -164
  791. package/dist/internal/host-context-fallback.d.ts +8 -0
  792. package/dist/react/alert/index.js +9 -9
  793. package/dist/react/animated-image/index.js +6 -6
  794. package/dist/react/animation/index.js +3 -3
  795. package/dist/react/avatar/index.js +6 -6
  796. package/dist/react/badge/index.js +3 -3
  797. package/dist/react/breadcrumb/index.js +8 -8
  798. package/dist/react/breadcrumb-item/index.js +3 -3
  799. package/dist/react/button/index.js +9 -9
  800. package/dist/react/button-group/index.js +3 -3
  801. package/dist/react/card/index.js +3 -3
  802. package/dist/react/carousel/index.js +8 -8
  803. package/dist/react/carousel-item/index.js +3 -3
  804. package/dist/react/checkbox/index.js +6 -6
  805. package/dist/react/color-picker/index.js +15 -15
  806. package/dist/react/combobox/index.js +13 -13
  807. package/dist/react/copy-button/index.js +10 -10
  808. package/dist/react/data-table/index.js +12 -11
  809. package/dist/react/data-table-column/index.js +3 -3
  810. package/dist/react/date-picker/index.js +10 -10
  811. package/dist/react/details/index.js +8 -8
  812. package/dist/react/dialog/index.js +9 -9
  813. package/dist/react/divider/index.js +3 -3
  814. package/dist/react/drawer/index.js +9 -9
  815. package/dist/react/dropdown/index.js +6 -6
  816. package/dist/react/format-bytes/index.js +5 -5
  817. package/dist/react/format-date/index.js +5 -5
  818. package/dist/react/format-number/index.js +5 -5
  819. package/dist/react/icon/index.js +5 -5
  820. package/dist/react/icon-button/index.js +6 -6
  821. package/dist/react/image-comparer/index.js +8 -8
  822. package/dist/react/include/index.js +3 -3
  823. package/dist/react/index.d.ts +1 -0
  824. package/dist/react/index.js +187 -180
  825. package/dist/react/input/index.js +8 -8
  826. package/dist/react/logo/index.d.ts +18 -0
  827. package/dist/react/logo/index.js +14 -0
  828. package/dist/react/menu/index.js +3 -3
  829. package/dist/react/menu-item/index.js +10 -10
  830. package/dist/react/menu-label/index.js +3 -3
  831. package/dist/react/mutation-observer/index.js +3 -3
  832. package/dist/react/option/index.js +8 -8
  833. package/dist/react/pagination/index.js +9 -9
  834. package/dist/react/popup/index.js +5 -5
  835. package/dist/react/progress-bar/index.js +5 -5
  836. package/dist/react/progress-ring/index.js +5 -5
  837. package/dist/react/qr-code/index.js +3 -3
  838. package/dist/react/radio/index.js +6 -6
  839. package/dist/react/radio-button/index.js +3 -3
  840. package/dist/react/radio-group/index.js +4 -4
  841. package/dist/react/range/index.js +5 -5
  842. package/dist/react/rating/index.js +8 -8
  843. package/dist/react/relative-time/index.js +5 -5
  844. package/dist/react/resize-observer/index.js +3 -3
  845. package/dist/react/select/index.js +11 -11
  846. package/dist/react/skeleton/index.js +3 -3
  847. package/dist/react/spinner/index.js +5 -5
  848. package/dist/react/split-panel/index.js +5 -5
  849. package/dist/react/switch/index.js +3 -3
  850. package/dist/react/tab/index.js +9 -9
  851. package/dist/react/tab-group/index.js +10 -10
  852. package/dist/react/tab-panel/index.js +3 -3
  853. package/dist/react/tag/index.js +9 -9
  854. package/dist/react/textarea/index.js +3 -3
  855. package/dist/react/time-picker/index.js +10 -10
  856. package/dist/react/tooltip/index.js +6 -6
  857. package/dist/react/tree/index.js +11 -11
  858. package/dist/react/tree-item/index.js +10 -10
  859. package/dist/react/visually-hidden/index.js +3 -3
  860. package/dist/translations/da.js +2 -2
  861. package/dist/translations/de-ch.js +3 -3
  862. package/dist/translations/de.js +3 -3
  863. package/dist/translations/en-gb.js +2 -2
  864. package/dist/translations/en.js +1 -1
  865. package/dist/translations/es.js +3 -2
  866. package/dist/translations/fa.js +2 -2
  867. package/dist/translations/fr.js +2 -2
  868. package/dist/translations/he.js +2 -2
  869. package/dist/translations/hu.js +2 -2
  870. package/dist/translations/ja.js +2 -2
  871. package/dist/translations/nb.js +2 -2
  872. package/dist/translations/nl.js +2 -2
  873. package/dist/translations/nn.js +2 -2
  874. package/dist/translations/pl.js +2 -2
  875. package/dist/translations/pt.js +2 -2
  876. package/dist/translations/ru.js +2 -2
  877. package/dist/translations/sv.js +2 -2
  878. package/dist/translations/tr.js +2 -2
  879. package/dist/translations/uk.js +2 -2
  880. package/dist/translations/zh-cn.js +2 -2
  881. package/dist/translations/zh-tw.js +2 -2
  882. package/dist/types/vue/index.d.ts +37 -0
  883. package/dist/utilities/icon-library.js +2 -2
  884. package/dist/utilities/localize.d.ts +1 -0
  885. package/dist/utilities/localize.js +2 -2
  886. package/dist/vscode.html-custom-data.json +48 -0
  887. package/dist/web-types.json +83 -1
  888. package/package.json +1 -1
  889. package/cdn/chunks/chunk.2CXWDKSA.js +0 -574
  890. package/cdn/chunks/chunk.2FYNVS7O.js +0 -25
  891. package/cdn/chunks/chunk.2TU23B2P.js +0 -25
  892. package/cdn/chunks/chunk.2Y47E5NF.js +0 -28
  893. package/cdn/chunks/chunk.2ZM7K5QW.js +0 -21
  894. package/cdn/chunks/chunk.33JRP7BH.js +0 -42
  895. package/cdn/chunks/chunk.3EK245BY.js +0 -904
  896. package/cdn/chunks/chunk.3ITR3YMH.js +0 -16
  897. package/cdn/chunks/chunk.3KZAH5AQ.js +0 -363
  898. package/cdn/chunks/chunk.3M6E3A2W.js +0 -77
  899. package/cdn/chunks/chunk.3NXAD3S6.js +0 -11
  900. package/cdn/chunks/chunk.3TFKS637.js +0 -127
  901. package/cdn/chunks/chunk.44QYOAXG.js +0 -11
  902. package/cdn/chunks/chunk.4CK7EBFB.js +0 -499
  903. package/cdn/chunks/chunk.4CVPTKYR.js +0 -27
  904. package/cdn/chunks/chunk.5224SMYP.js +0 -25
  905. package/cdn/chunks/chunk.5JP7PD4N.js +0 -11
  906. package/cdn/chunks/chunk.5WJMKI5W.js +0 -24
  907. package/cdn/chunks/chunk.66LMWXNU.js +0 -11
  908. package/cdn/chunks/chunk.6EFLUST7.js +0 -11
  909. package/cdn/chunks/chunk.6NQQDAYE.js +0 -26
  910. package/cdn/chunks/chunk.6ZFYF2WF.js +0 -25
  911. package/cdn/chunks/chunk.72BS2G42.js +0 -21
  912. package/cdn/chunks/chunk.7366BRV2.js +0 -969
  913. package/cdn/chunks/chunk.7CJZTCQB.js +0 -103
  914. package/cdn/chunks/chunk.7DQNE5XY.js +0 -1925
  915. package/cdn/chunks/chunk.7JCIPBRD.js +0 -26
  916. package/cdn/chunks/chunk.7LC6OOHG.js +0 -391
  917. package/cdn/chunks/chunk.7LSZPTDU.js +0 -27
  918. package/cdn/chunks/chunk.7QCVXEJB.js +0 -21
  919. package/cdn/chunks/chunk.7ZIVYTTK.js +0 -199
  920. package/cdn/chunks/chunk.A3VHAXYO.js +0 -21
  921. package/cdn/chunks/chunk.AEUUT6GH.js +0 -113
  922. package/cdn/chunks/chunk.AKRU6EJJ.js +0 -297
  923. package/cdn/chunks/chunk.AT76YYMC.js +0 -33
  924. package/cdn/chunks/chunk.ATYV775R.js +0 -50
  925. package/cdn/chunks/chunk.B5DL63I7.js +0 -24
  926. package/cdn/chunks/chunk.B63PTPTP.js +0 -24
  927. package/cdn/chunks/chunk.B7B5NKFR.js +0 -77
  928. package/cdn/chunks/chunk.BAPXWW4Q.js +0 -844
  929. package/cdn/chunks/chunk.BRWH3DPD.js +0 -11
  930. package/cdn/chunks/chunk.BRZJKF5N.js +0 -26
  931. package/cdn/chunks/chunk.BYFOH5PZ.js +0 -346
  932. package/cdn/chunks/chunk.C3ZA6VYO.js +0 -73
  933. package/cdn/chunks/chunk.C4QY7KGQ.js +0 -44
  934. package/cdn/chunks/chunk.CAT3P7YD.js +0 -11
  935. package/cdn/chunks/chunk.CSO62GSM.js +0 -21
  936. package/cdn/chunks/chunk.CZ6UD3VE.js +0 -11
  937. package/cdn/chunks/chunk.D5J4Y4QP.js +0 -21
  938. package/cdn/chunks/chunk.D7MCNNCT.js +0 -21
  939. package/cdn/chunks/chunk.DF3P7FLR.js +0 -87
  940. package/cdn/chunks/chunk.DP7KH5NP.js +0 -11
  941. package/cdn/chunks/chunk.DUGVLK2Y.js +0 -11
  942. package/cdn/chunks/chunk.E5CFOV7P.js +0 -11
  943. package/cdn/chunks/chunk.EACSSPMX.js +0 -11
  944. package/cdn/chunks/chunk.EBUG2IF7.js +0 -21
  945. package/cdn/chunks/chunk.EHQ4FLIK.js +0 -24
  946. package/cdn/chunks/chunk.EJDYLREA.js +0 -1990
  947. package/cdn/chunks/chunk.F3BIEFMM.js +0 -11
  948. package/cdn/chunks/chunk.F4I6MJ6D.js +0 -49
  949. package/cdn/chunks/chunk.F4WMPGEZ.js +0 -11
  950. package/cdn/chunks/chunk.FDV5S6Q6.js +0 -11
  951. package/cdn/chunks/chunk.FEHPPAED.js +0 -11
  952. package/cdn/chunks/chunk.FHIMTWRV.js +0 -25
  953. package/cdn/chunks/chunk.FJ5OLSSX.js +0 -216
  954. package/cdn/chunks/chunk.FL75WHV7.js +0 -25
  955. package/cdn/chunks/chunk.FLH276KO.js +0 -11
  956. package/cdn/chunks/chunk.FS65H6I7.js +0 -218
  957. package/cdn/chunks/chunk.FVPLQ2TW.js +0 -120
  958. package/cdn/chunks/chunk.FYUFPWEE.js +0 -122
  959. package/cdn/chunks/chunk.FZLY3KV3.js +0 -114
  960. package/cdn/chunks/chunk.G3EBOEMV.js +0 -63
  961. package/cdn/chunks/chunk.G447ZTAJ.js +0 -11
  962. package/cdn/chunks/chunk.GCLMY3T2.js +0 -174
  963. package/cdn/chunks/chunk.GMIOQIG4.js +0 -11
  964. package/cdn/chunks/chunk.GNLGIRBK.js +0 -82
  965. package/cdn/chunks/chunk.GT4QJTRD.js +0 -137
  966. package/cdn/chunks/chunk.GZ2NCNTA.js +0 -11
  967. package/cdn/chunks/chunk.HBTHTL22.js +0 -29
  968. package/cdn/chunks/chunk.HBXFT6JP.js +0 -26
  969. package/cdn/chunks/chunk.HCSTGKJ5.js +0 -21
  970. package/cdn/chunks/chunk.HEUZATEE.js +0 -24
  971. package/cdn/chunks/chunk.HGPRCQG6.js +0 -367
  972. package/cdn/chunks/chunk.HGUYNNK3.js +0 -11
  973. package/cdn/chunks/chunk.HKGINLU3.js +0 -11
  974. package/cdn/chunks/chunk.HMXN2TM3.js +0 -11
  975. package/cdn/chunks/chunk.HQBM6VW2.js +0 -11
  976. package/cdn/chunks/chunk.HQW7JQ2X.js +0 -158
  977. package/cdn/chunks/chunk.HVTYSJRR.js +0 -11
  978. package/cdn/chunks/chunk.I6L2MQZF.js +0 -24
  979. package/cdn/chunks/chunk.IBBGZOWR.js +0 -93
  980. package/cdn/chunks/chunk.ID5M7VH3.js +0 -267
  981. package/cdn/chunks/chunk.IO6PIG3G.js +0 -11
  982. package/cdn/chunks/chunk.ISGZWPZN.js +0 -255
  983. package/cdn/chunks/chunk.ITIKVPNE.js +0 -127
  984. package/cdn/chunks/chunk.J4C2D6FY.js +0 -11
  985. package/cdn/chunks/chunk.JAZGYNSH.js +0 -11
  986. package/cdn/chunks/chunk.JHX4LSRF.js +0 -11
  987. package/cdn/chunks/chunk.JQ642D2X.js +0 -21
  988. package/cdn/chunks/chunk.JRB7BES7.js +0 -79
  989. package/cdn/chunks/chunk.JULYDIDL.js +0 -28
  990. package/cdn/chunks/chunk.JZIYOJB2.js +0 -11
  991. package/cdn/chunks/chunk.KE3QBB32.js +0 -11
  992. package/cdn/chunks/chunk.KRDDKB5J.js +0 -24
  993. package/cdn/chunks/chunk.KSNKPY77.js +0 -378
  994. package/cdn/chunks/chunk.KT66HULB.js +0 -135
  995. package/cdn/chunks/chunk.KWSSDTZH.js +0 -292
  996. package/cdn/chunks/chunk.KX6SDU2Q.js +0 -142
  997. package/cdn/chunks/chunk.L23GKAEN.js +0 -21
  998. package/cdn/chunks/chunk.LHIY77UO.js +0 -33
  999. package/cdn/chunks/chunk.LJW36GYT.js +0 -29
  1000. package/cdn/chunks/chunk.LK4ZMQQ3.js +0 -821
  1001. package/cdn/chunks/chunk.LRUZREBD.js +0 -11
  1002. package/cdn/chunks/chunk.LW6VGXKA.js +0 -24
  1003. package/cdn/chunks/chunk.LWJUXL5J.js +0 -28
  1004. package/cdn/chunks/chunk.M4IRTE5H.js +0 -21
  1005. package/cdn/chunks/chunk.MFKZ27KU.js +0 -21
  1006. package/cdn/chunks/chunk.MGM4UV64.js +0 -25
  1007. package/cdn/chunks/chunk.MGRHHKLE.js +0 -11
  1008. package/cdn/chunks/chunk.MMRE4L7W.js +0 -25
  1009. package/cdn/chunks/chunk.MNB6IBU7.js +0 -21
  1010. package/cdn/chunks/chunk.N3PRK7GL.js +0 -95
  1011. package/cdn/chunks/chunk.N6FQVBFQ.js +0 -11
  1012. package/cdn/chunks/chunk.NEEA4TIX.js +0 -11
  1013. package/cdn/chunks/chunk.NEFK23HD.js +0 -279
  1014. package/cdn/chunks/chunk.NFLL4NW4.js +0 -455
  1015. package/cdn/chunks/chunk.NHX6TZAK.js +0 -11
  1016. package/cdn/chunks/chunk.NV3DRB7R.js +0 -27
  1017. package/cdn/chunks/chunk.O3ZDUZID.js +0 -11
  1018. package/cdn/chunks/chunk.OHN325WS.js +0 -24
  1019. package/cdn/chunks/chunk.OJFU7HZA.js +0 -21
  1020. package/cdn/chunks/chunk.P6YVVM4V.js +0 -11
  1021. package/cdn/chunks/chunk.PAAUYXJM.js +0 -197
  1022. package/cdn/chunks/chunk.PFPXUVWO.js +0 -336
  1023. package/cdn/chunks/chunk.PIO4BA2R.js +0 -33
  1024. package/cdn/chunks/chunk.PJGPT3CC.js +0 -11
  1025. package/cdn/chunks/chunk.PLWUHX7O.js +0 -49
  1026. package/cdn/chunks/chunk.POJWPEXT.js +0 -24
  1027. package/cdn/chunks/chunk.PQGUWROG.js +0 -11
  1028. package/cdn/chunks/chunk.Q26EXQ5X.js +0 -11
  1029. package/cdn/chunks/chunk.QN2W7GJV.js +0 -11
  1030. package/cdn/chunks/chunk.QNAQP7HU.js +0 -120
  1031. package/cdn/chunks/chunk.QS2F73SW.js +0 -11
  1032. package/cdn/chunks/chunk.QVA3AS5P.js +0 -97
  1033. package/cdn/chunks/chunk.R3HBTAK2.js +0 -11
  1034. package/cdn/chunks/chunk.R6QK54R2.js +0 -21
  1035. package/cdn/chunks/chunk.R6T6XFTZ.js +0 -21
  1036. package/cdn/chunks/chunk.RPNW2L4U.js +0 -724
  1037. package/cdn/chunks/chunk.RSWSIDGM.js +0 -11
  1038. package/cdn/chunks/chunk.RUP2ALDL.js +0 -11
  1039. package/cdn/chunks/chunk.RVZQKTJO.js +0 -11
  1040. package/cdn/chunks/chunk.RWMU7UUV.js +0 -314
  1041. package/cdn/chunks/chunk.RZLQG6XT.js +0 -11
  1042. package/cdn/chunks/chunk.S6SCGNEI.js +0 -11
  1043. package/cdn/chunks/chunk.SCWAXHQU.js +0 -25
  1044. package/cdn/chunks/chunk.SDK5XM7W.js +0 -75
  1045. package/cdn/chunks/chunk.SIBHHIT2.js +0 -29
  1046. package/cdn/chunks/chunk.SJKONRW2.js +0 -11
  1047. package/cdn/chunks/chunk.SYCSG742.js +0 -52
  1048. package/cdn/chunks/chunk.TB37HTF4.js +0 -11
  1049. package/cdn/chunks/chunk.TEBD4Q4Z.js +0 -11
  1050. package/cdn/chunks/chunk.TJMWSQG7.js +0 -24
  1051. package/cdn/chunks/chunk.TJYAECV6.js +0 -21
  1052. package/cdn/chunks/chunk.TO3KRM5O.js +0 -236
  1053. package/cdn/chunks/chunk.TSBWEMEH.js +0 -67
  1054. package/cdn/chunks/chunk.U6HZJHRE.js +0 -11
  1055. package/cdn/chunks/chunk.UJZUOGJ4.js +0 -11
  1056. package/cdn/chunks/chunk.URLHFRCH.js +0 -11
  1057. package/cdn/chunks/chunk.VBXYPCNM.js +0 -11
  1058. package/cdn/chunks/chunk.VKFJNMOV.js +0 -36
  1059. package/cdn/chunks/chunk.VSSLASXQ.js +0 -28
  1060. package/cdn/chunks/chunk.VXCEDMEF.js +0 -299
  1061. package/cdn/chunks/chunk.VZTUA7FF.js +0 -11
  1062. package/cdn/chunks/chunk.W24C4FHM.js +0 -186
  1063. package/cdn/chunks/chunk.W2AATGF2.js +0 -11
  1064. package/cdn/chunks/chunk.W3HPJR42.js +0 -11
  1065. package/cdn/chunks/chunk.W7ZN22OK.js +0 -21
  1066. package/cdn/chunks/chunk.WB57QSL6.js +0 -33
  1067. package/cdn/chunks/chunk.WCXP6BYA.js +0 -402
  1068. package/cdn/chunks/chunk.WSBW4XYR.js +0 -28
  1069. package/cdn/chunks/chunk.WTMLNYLE.js +0 -27
  1070. package/cdn/chunks/chunk.WUWXF5QX.js +0 -153
  1071. package/cdn/chunks/chunk.X2JEGFXA.js +0 -11
  1072. package/cdn/chunks/chunk.X5WSQAGH.js +0 -24
  1073. package/cdn/chunks/chunk.Y5GIEQSR.js +0 -11
  1074. package/cdn/chunks/chunk.YAPO4BYB.js +0 -233
  1075. package/cdn/chunks/chunk.YCV7T4ZY.js +0 -27
  1076. package/cdn/chunks/chunk.YFU67HHR.js +0 -21
  1077. package/cdn/chunks/chunk.YOUDPIMT.js +0 -11
  1078. package/cdn/chunks/chunk.YXY2RAVD.js +0 -21
  1079. package/cdn/chunks/chunk.YYRED2J2.js +0 -291
  1080. package/cdn/chunks/chunk.YZRKR7ZL.js +0 -11
  1081. package/cdn/chunks/chunk.Z4LQCJXU.js +0 -24
  1082. package/cdn/chunks/chunk.Z6ZQWYWR.js +0 -302
  1083. package/cdn/chunks/chunk.ZDKUZJKV.js +0 -24
  1084. package/cdn/chunks/chunk.ZS3O4WAS.js +0 -11
  1085. package/cdn/chunks/chunk.ZTI36HGX.js +0 -21
  1086. package/cdn/chunks/chunk.ZYCSJZ2L.js +0 -29
  1087. package/dist/chunks/chunk.26SCN3SY.js +0 -21
  1088. package/dist/chunks/chunk.27KEOWRV.js +0 -25
  1089. package/dist/chunks/chunk.2H4HZOD6.js +0 -15
  1090. package/dist/chunks/chunk.2HBX2C7P.js +0 -286
  1091. package/dist/chunks/chunk.32RFOP7R.js +0 -11
  1092. package/dist/chunks/chunk.33D3GCIT.js +0 -24
  1093. package/dist/chunks/chunk.3DIYO6WF.js +0 -337
  1094. package/dist/chunks/chunk.3TFKS637.js +0 -127
  1095. package/dist/chunks/chunk.3XPVHZ5A.js +0 -11
  1096. package/dist/chunks/chunk.44BBPC6O.js +0 -33
  1097. package/dist/chunks/chunk.4OD34TVK.js +0 -11
  1098. package/dist/chunks/chunk.4U7K7UIY.js +0 -27
  1099. package/dist/chunks/chunk.4WR7JYJL.js +0 -93
  1100. package/dist/chunks/chunk.55WLK4P2.js +0 -11
  1101. package/dist/chunks/chunk.56LN2K3K.js +0 -25
  1102. package/dist/chunks/chunk.5M3Y4WBA.js +0 -33
  1103. package/dist/chunks/chunk.5NIXLZLX.js +0 -24
  1104. package/dist/chunks/chunk.5PTQY5NF.js +0 -448
  1105. package/dist/chunks/chunk.5TA6UJLM.js +0 -11
  1106. package/dist/chunks/chunk.5UWMRJYY.js +0 -11
  1107. package/dist/chunks/chunk.5YB7UOMO.js +0 -11
  1108. package/dist/chunks/chunk.63KCZ43V.js +0 -247
  1109. package/dist/chunks/chunk.6IFES2JJ.js +0 -11
  1110. package/dist/chunks/chunk.6QF4Y7FC.js +0 -21
  1111. package/dist/chunks/chunk.6UHUSF4L.js +0 -290
  1112. package/dist/chunks/chunk.72UH4ULV.js +0 -11
  1113. package/dist/chunks/chunk.74AIVUWP.js +0 -22
  1114. package/dist/chunks/chunk.74OIYMZN.js +0 -353
  1115. package/dist/chunks/chunk.7JGNB53R.js +0 -11
  1116. package/dist/chunks/chunk.7KORW5LA.js +0 -11
  1117. package/dist/chunks/chunk.7RM7D7AW.js +0 -25
  1118. package/dist/chunks/chunk.A5BQS54B.js +0 -11
  1119. package/dist/chunks/chunk.AA6X6YQC.js +0 -213
  1120. package/dist/chunks/chunk.AMXPY7VS.js +0 -21
  1121. package/dist/chunks/chunk.ANWMKVZY.js +0 -311
  1122. package/dist/chunks/chunk.AT6T6TWK.js +0 -90
  1123. package/dist/chunks/chunk.AUQGVZKT.js +0 -26
  1124. package/dist/chunks/chunk.B5WIETZI.js +0 -126
  1125. package/dist/chunks/chunk.B7U2O2U5.js +0 -11
  1126. package/dist/chunks/chunk.BAPFEMXS.js +0 -25
  1127. package/dist/chunks/chunk.BCEQO4CU.js +0 -27
  1128. package/dist/chunks/chunk.BD2RMGTO.js +0 -75
  1129. package/dist/chunks/chunk.BEPGMGK4.js +0 -11
  1130. package/dist/chunks/chunk.BKRXVZSM.js +0 -11
  1131. package/dist/chunks/chunk.BM4N3O3J.js +0 -134
  1132. package/dist/chunks/chunk.BP357A5C.js +0 -11
  1133. package/dist/chunks/chunk.BP4OTY5C.js +0 -280
  1134. package/dist/chunks/chunk.BQFSNMGN.js +0 -21
  1135. package/dist/chunks/chunk.C4QY7KGQ.js +0 -44
  1136. package/dist/chunks/chunk.C5PZ3JFD.js +0 -63
  1137. package/dist/chunks/chunk.CBH6NG2A.js +0 -11
  1138. package/dist/chunks/chunk.CBOBHPOM.js +0 -11
  1139. package/dist/chunks/chunk.CDQNS2GE.js +0 -21
  1140. package/dist/chunks/chunk.CF6EXFRU.js +0 -11
  1141. package/dist/chunks/chunk.CKDFKLKW.js +0 -11
  1142. package/dist/chunks/chunk.CUGHT6WI.js +0 -11
  1143. package/dist/chunks/chunk.D2Y2HOZF.js +0 -231
  1144. package/dist/chunks/chunk.DARJMTB3.js +0 -21
  1145. package/dist/chunks/chunk.DLOMIVES.js +0 -11
  1146. package/dist/chunks/chunk.DQIWF7HB.js +0 -192
  1147. package/dist/chunks/chunk.DYEAGAGF.js +0 -361
  1148. package/dist/chunks/chunk.EL7GRIBF.js +0 -11
  1149. package/dist/chunks/chunk.ERDRTUL7.js +0 -384
  1150. package/dist/chunks/chunk.ERHLGF4S.js +0 -21
  1151. package/dist/chunks/chunk.ERHVXLZN.js +0 -11
  1152. package/dist/chunks/chunk.EUI4TRBJ.js +0 -196
  1153. package/dist/chunks/chunk.EXT4JQLR.js +0 -42
  1154. package/dist/chunks/chunk.F27VUBMT.js +0 -11
  1155. package/dist/chunks/chunk.F6CAYR2H.js +0 -135
  1156. package/dist/chunks/chunk.FBF5EDYD.js +0 -21
  1157. package/dist/chunks/chunk.FC7PGK5S.js +0 -315
  1158. package/dist/chunks/chunk.FCT5MVZL.js +0 -25
  1159. package/dist/chunks/chunk.FDLY3F3S.js +0 -21
  1160. package/dist/chunks/chunk.FHZAMIMX.js +0 -11
  1161. package/dist/chunks/chunk.FKFUC6BJ.js +0 -24
  1162. package/dist/chunks/chunk.FQIVZXXR.js +0 -11
  1163. package/dist/chunks/chunk.FQVEJRSL.js +0 -294
  1164. package/dist/chunks/chunk.FWEZXFJV.js +0 -417
  1165. package/dist/chunks/chunk.GDZVAMN6.js +0 -181
  1166. package/dist/chunks/chunk.H4JVT6JX.js +0 -91
  1167. package/dist/chunks/chunk.H5EFODDT.js +0 -28
  1168. package/dist/chunks/chunk.HGLQ3DGB.js +0 -22
  1169. package/dist/chunks/chunk.HKBVK3TT.js +0 -26
  1170. package/dist/chunks/chunk.HS7K5ZOT.js +0 -837
  1171. package/dist/chunks/chunk.HSWQEEPZ.js +0 -11
  1172. package/dist/chunks/chunk.I3DUPZNW.js +0 -11
  1173. package/dist/chunks/chunk.IA2HCB36.js +0 -24
  1174. package/dist/chunks/chunk.ICKB6OFW.js +0 -11
  1175. package/dist/chunks/chunk.IEVS7ALY.js +0 -21
  1176. package/dist/chunks/chunk.IKELWKKX.js +0 -11
  1177. package/dist/chunks/chunk.IO65LRYJ.js +0 -80
  1178. package/dist/chunks/chunk.IRNEYWFA.js +0 -11
  1179. package/dist/chunks/chunk.JA7JJLFV.js +0 -21
  1180. package/dist/chunks/chunk.JKI3R4VQ.js +0 -11
  1181. package/dist/chunks/chunk.JS6O25GK.js +0 -85
  1182. package/dist/chunks/chunk.JZBJESIY.js +0 -75
  1183. package/dist/chunks/chunk.KF6OVTLS.js +0 -25
  1184. package/dist/chunks/chunk.KUBXEXZ6.js +0 -29
  1185. package/dist/chunks/chunk.KUTGNM6S.js +0 -11
  1186. package/dist/chunks/chunk.KWSXBXXB.js +0 -274
  1187. package/dist/chunks/chunk.LAQUGVRT.js +0 -33
  1188. package/dist/chunks/chunk.LATBGPMX.js +0 -25
  1189. package/dist/chunks/chunk.LIZT7JBP.js +0 -813
  1190. package/dist/chunks/chunk.LNBOM3VC.js +0 -119
  1191. package/dist/chunks/chunk.LO467D2J.js +0 -11
  1192. package/dist/chunks/chunk.LSAV6WD4.js +0 -21
  1193. package/dist/chunks/chunk.LVAKCQCO.js +0 -25
  1194. package/dist/chunks/chunk.LVFENANG.js +0 -24
  1195. package/dist/chunks/chunk.LXF4IYOB.js +0 -21
  1196. package/dist/chunks/chunk.MHJTPL55.js +0 -75
  1197. package/dist/chunks/chunk.MNDRLTSV.js +0 -11
  1198. package/dist/chunks/chunk.MRI6S4TN.js +0 -24
  1199. package/dist/chunks/chunk.NFWO6RDS.js +0 -11
  1200. package/dist/chunks/chunk.NG634DQV.js +0 -111
  1201. package/dist/chunks/chunk.NKTKPK44.js +0 -961
  1202. package/dist/chunks/chunk.NL3LSSDQ.js +0 -94
  1203. package/dist/chunks/chunk.O5AM6SSC.js +0 -21
  1204. package/dist/chunks/chunk.OIAVX46Z.js +0 -11
  1205. package/dist/chunks/chunk.OR4U4EPP.js +0 -26
  1206. package/dist/chunks/chunk.OVBI65VQ.js +0 -27
  1207. package/dist/chunks/chunk.OX4N2IA2.js +0 -11
  1208. package/dist/chunks/chunk.PF4AZ66T.js +0 -29
  1209. package/dist/chunks/chunk.PLO5B4S6.js +0 -11
  1210. package/dist/chunks/chunk.PMWDHNHO.js +0 -11
  1211. package/dist/chunks/chunk.PNDNA4HI.js +0 -11
  1212. package/dist/chunks/chunk.PTCP6EN4.js +0 -21
  1213. package/dist/chunks/chunk.Q56QPZ4M.js +0 -100
  1214. package/dist/chunks/chunk.Q6XVDXV2.js +0 -21
  1215. package/dist/chunks/chunk.QCPGILVI.js +0 -11
  1216. package/dist/chunks/chunk.QIHBXO5V.js +0 -227
  1217. package/dist/chunks/chunk.QJH6QWIH.js +0 -117
  1218. package/dist/chunks/chunk.QPED4YFH.js +0 -24
  1219. package/dist/chunks/chunk.QPMBSRNM.js +0 -11
  1220. package/dist/chunks/chunk.QPVYLM32.js +0 -45
  1221. package/dist/chunks/chunk.QPWI3MV6.js +0 -11
  1222. package/dist/chunks/chunk.QU2GNV4Y.js +0 -33
  1223. package/dist/chunks/chunk.QUNA52M2.js +0 -11
  1224. package/dist/chunks/chunk.R4WGQXN5.js +0 -28
  1225. package/dist/chunks/chunk.R4XXN7QW.js +0 -11
  1226. package/dist/chunks/chunk.RBUV6CN2.js +0 -73
  1227. package/dist/chunks/chunk.RCPYDLGQ.js +0 -21
  1228. package/dist/chunks/chunk.RGBGPSJY.js +0 -49
  1229. package/dist/chunks/chunk.RI4H3S2X.js +0 -151
  1230. package/dist/chunks/chunk.RMTVHQJI.js +0 -21
  1231. package/dist/chunks/chunk.RQ6U7IMT.js +0 -21
  1232. package/dist/chunks/chunk.RTDN4H6E.js +0 -293
  1233. package/dist/chunks/chunk.RVULB4SE.js +0 -116
  1234. package/dist/chunks/chunk.S5KPGLT3.js +0 -24
  1235. package/dist/chunks/chunk.SF57OTIH.js +0 -11
  1236. package/dist/chunks/chunk.SF6S7RLT.js +0 -24
  1237. package/dist/chunks/chunk.SQEGGM4E.js +0 -21
  1238. package/dist/chunks/chunk.SWAFGZXK.js +0 -11
  1239. package/dist/chunks/chunk.TNXJBLNM.js +0 -29
  1240. package/dist/chunks/chunk.TPCMAL4F.js +0 -28
  1241. package/dist/chunks/chunk.TPT4NPGM.js +0 -28
  1242. package/dist/chunks/chunk.TRTU5JK6.js +0 -28
  1243. package/dist/chunks/chunk.TXKIVCF7.js +0 -11
  1244. package/dist/chunks/chunk.UAOBBJ4A.js +0 -21
  1245. package/dist/chunks/chunk.UBAOKYWA.js +0 -11
  1246. package/dist/chunks/chunk.UBWNAWYR.js +0 -11
  1247. package/dist/chunks/chunk.UDHQHGG2.js +0 -27
  1248. package/dist/chunks/chunk.UH6P4FWK.js +0 -100
  1249. package/dist/chunks/chunk.USJTO4EP.js +0 -24
  1250. package/dist/chunks/chunk.UTBO4L2M.js +0 -11
  1251. package/dist/chunks/chunk.VJFBDLKI.js +0 -491
  1252. package/dist/chunks/chunk.VJG52JZ7.js +0 -11
  1253. package/dist/chunks/chunk.VLWVHBHL.js +0 -59
  1254. package/dist/chunks/chunk.VRAYC4CI.js +0 -896
  1255. package/dist/chunks/chunk.VSNS7XIF.js +0 -67
  1256. package/dist/chunks/chunk.VTUS2YUI.js +0 -24
  1257. package/dist/chunks/chunk.VVZAPWSA.js +0 -11
  1258. package/dist/chunks/chunk.W4BSST62.js +0 -147
  1259. package/dist/chunks/chunk.W6PTQQHW.js +0 -11
  1260. package/dist/chunks/chunk.W7ASDEAN.js +0 -50
  1261. package/dist/chunks/chunk.WO6GHN43.js +0 -370
  1262. package/dist/chunks/chunk.WODF4XBA.js +0 -11
  1263. package/dist/chunks/chunk.WXSHLGFS.js +0 -11
  1264. package/dist/chunks/chunk.X5XFTZBZ.js +0 -45
  1265. package/dist/chunks/chunk.XERD2JC5.js +0 -949
  1266. package/dist/chunks/chunk.XGEQK4UC.js +0 -11
  1267. package/dist/chunks/chunk.XGQTWGTU.js +0 -170
  1268. package/dist/chunks/chunk.XGZWPJIR.js +0 -29
  1269. package/dist/chunks/chunk.XI7BPGCX.js +0 -259
  1270. package/dist/chunks/chunk.XNXXDYDX.js +0 -115
  1271. package/dist/chunks/chunk.XQIVWDNM.js +0 -11
  1272. package/dist/chunks/chunk.XTPBLJJJ.js +0 -397
  1273. package/dist/chunks/chunk.Y22GB2L2.js +0 -24
  1274. package/dist/chunks/chunk.YGZNTFCL.js +0 -109
  1275. package/dist/chunks/chunk.YIDP5TFY.js +0 -550
  1276. package/dist/chunks/chunk.YQSZOLIX.js +0 -34
  1277. package/dist/chunks/chunk.YZQLNNVX.js +0 -21
  1278. package/dist/chunks/chunk.Z27JQL43.js +0 -25
  1279. package/dist/chunks/chunk.ZD4MLQDO.js +0 -11
  1280. package/dist/chunks/chunk.ZDJBATKS.js +0 -25
  1281. package/dist/chunks/chunk.ZF27VTQX.js +0 -26
  1282. package/dist/chunks/chunk.ZLMCQWKF.js +0 -42
  1283. package/dist/chunks/chunk.ZQH63ABB.js +0 -11
  1284. package/dist/chunks/chunk.ZT2CCJRM.js +0 -11
  1285. package/dist/chunks/chunk.ZT73RQQP.js +0 -11
@@ -0,0 +1,969 @@
1
+ import {
2
+ CwTag
3
+ } from "./chunk.W5GFIJFT.js";
4
+ import {
5
+ o
6
+ } from "./chunk.G4QG77C5.js";
7
+ import {
8
+ scrollIntoView
9
+ } from "./chunk.PH2N3MLE.js";
10
+ import {
11
+ CwVisuallyHidden
12
+ } from "./chunk.NHHP7JDV.js";
13
+ import {
14
+ CwPopup
15
+ } from "./chunk.AQ7UKAJV.js";
16
+ import {
17
+ form_control_styles_default
18
+ } from "./chunk.DJVND463.js";
19
+ import {
20
+ combobox_styles_default
21
+ } from "./chunk.FJLDW473.js";
22
+ import {
23
+ CwSpinner
24
+ } from "./chunk.WVVWJJYI.js";
25
+ import {
26
+ FormControlController
27
+ } from "./chunk.FIVNGT4O.js";
28
+ import {
29
+ getAnimation,
30
+ setDefaultAnimation
31
+ } from "./chunk.JSLXCIMZ.js";
32
+ import {
33
+ waitForEvent
34
+ } from "./chunk.B4BZKR24.js";
35
+ import {
36
+ animateTo,
37
+ stopAnimations
38
+ } from "./chunk.3CTNMS55.js";
39
+ import {
40
+ LocalizeController
41
+ } from "./chunk.X2ADPGES.js";
42
+ import {
43
+ HasSlotController
44
+ } from "./chunk.BVGZUUCX.js";
45
+ import {
46
+ e
47
+ } from "./chunk.VBR4VS53.js";
48
+ import {
49
+ CwIcon
50
+ } from "./chunk.HJG3QTYZ.js";
51
+ import {
52
+ watch
53
+ } from "./chunk.RB5L7E7Z.js";
54
+ import {
55
+ component_styles_default
56
+ } from "./chunk.NJIHXHXI.js";
57
+ import {
58
+ CwElement,
59
+ e as e2,
60
+ n,
61
+ r
62
+ } from "./chunk.4NFOE2PI.js";
63
+ import {
64
+ b
65
+ } from "./chunk.6A2LG33L.js";
66
+ import {
67
+ __decorateClass
68
+ } from "./chunk.QIOX6AG5.js";
69
+
70
+ // src/components/combobox/combobox.component.ts
71
+ var nextOptionId = 0;
72
+ var CwCombobox = class extends CwElement {
73
+ constructor() {
74
+ super(...arguments);
75
+ this.formControlController = new FormControlController(this, {
76
+ assumeInteractionOn: ["cw-blur", "cw-input"]
77
+ });
78
+ this.hasSlotController = new HasSlotController(this, "help-text", "label");
79
+ this.localize = new LocalizeController(this);
80
+ /** A free-text value the user has typed that doesn't match any option. Only used when `allowCustomValue` is set. */
81
+ this.customValue = "";
82
+ this.hasFocus = false;
83
+ this.displayLabel = "";
84
+ this.selectedOptions = [];
85
+ this.activeOptionId = "";
86
+ this.hasVisibleOptions = true;
87
+ this.valueHasChanged = false;
88
+ this.isFiltering = false;
89
+ this.name = "";
90
+ this._value = "";
91
+ this.defaultValue = "";
92
+ this.size = "medium";
93
+ this.placeholder = "";
94
+ this.multiple = false;
95
+ this.maxOptionsVisible = 3;
96
+ this.disabled = false;
97
+ this.clearable = false;
98
+ this.allowCustomValue = false;
99
+ this.loading = false;
100
+ this.open = false;
101
+ this.hoist = false;
102
+ this.filled = false;
103
+ this.pill = false;
104
+ this.label = "";
105
+ this.placement = "bottom";
106
+ this.helpText = "";
107
+ this.form = "";
108
+ this.required = false;
109
+ this.getTag = (option) => {
110
+ return b`
111
+ <cw-tag
112
+ part="tag"
113
+ exportparts="
114
+ base:tag__base,
115
+ content:tag__content,
116
+ remove-button:tag__remove-button,
117
+ remove-button__base:tag__remove-button__base
118
+ "
119
+ ?pill=${this.pill}
120
+ size=${this.size}
121
+ removable
122
+ @cw-remove=${(event) => this.handleTagRemove(event, option)}
123
+ >
124
+ ${option.getTextLabel()}
125
+ </cw-tag>
126
+ `;
127
+ };
128
+ this.handleDocumentFocusIn = (event) => {
129
+ const path = event.composedPath();
130
+ if (this && !path.includes(this)) {
131
+ this.hide();
132
+ }
133
+ };
134
+ this.handleDocumentKeyDown = (event) => {
135
+ const target = event.target;
136
+ const isClearButton = target.closest(".combobox__clear") !== null;
137
+ const isIconButton = target.closest("cw-icon-button") !== null;
138
+ if (isClearButton || isIconButton) {
139
+ return;
140
+ }
141
+ if (event.key === "Escape" && this.open && !this.closeWatcher) {
142
+ event.preventDefault();
143
+ event.stopPropagation();
144
+ this.hide();
145
+ this.displayInput.focus({ preventScroll: true });
146
+ return;
147
+ }
148
+ if (event.key === "Enter") {
149
+ if (!this.open) {
150
+ this.show();
151
+ return;
152
+ }
153
+ event.preventDefault();
154
+ if (this.currentOption && !this.currentOption.disabled) {
155
+ this.selectOption(this.currentOption);
156
+ } else if (this.allowCustomValue) {
157
+ const typedValue = this.displayLabel.trim();
158
+ if (typedValue !== "") {
159
+ this.commitCustomValue(typedValue);
160
+ }
161
+ }
162
+ return;
163
+ }
164
+ if (["ArrowUp", "ArrowDown", "Home", "End"].includes(event.key)) {
165
+ const visibleOptions = this.getVisibleOptions();
166
+ const currentIndex = this.currentOption ? visibleOptions.indexOf(this.currentOption) : -1;
167
+ let newIndex = Math.max(0, currentIndex);
168
+ event.preventDefault();
169
+ if (!this.open) {
170
+ this.show();
171
+ if (this.currentOption) {
172
+ return;
173
+ }
174
+ }
175
+ if (visibleOptions.length === 0) {
176
+ return;
177
+ }
178
+ if (event.key === "ArrowDown") {
179
+ newIndex = currentIndex + 1;
180
+ if (newIndex > visibleOptions.length - 1) newIndex = 0;
181
+ } else if (event.key === "ArrowUp") {
182
+ newIndex = currentIndex - 1;
183
+ if (newIndex < 0) newIndex = visibleOptions.length - 1;
184
+ } else if (event.key === "Home") {
185
+ newIndex = 0;
186
+ } else if (event.key === "End") {
187
+ newIndex = visibleOptions.length - 1;
188
+ }
189
+ this.setCurrentOption(visibleOptions[newIndex]);
190
+ if (this.currentOption) {
191
+ scrollIntoView(this.currentOption, this.listbox, "vertical", "auto");
192
+ }
193
+ return;
194
+ }
195
+ if (event.key === "Backspace" && this.multiple && this.displayLabel === "" && this.selectedOptions.length > 0) {
196
+ const lastOption = this.selectedOptions[this.selectedOptions.length - 1];
197
+ this.toggleOptionSelection(lastOption, false);
198
+ this.valueHasChanged = true;
199
+ this.updateComplete.then(() => {
200
+ this.emit("cw-input");
201
+ this.emit("cw-change");
202
+ });
203
+ }
204
+ };
205
+ this.handleDocumentMouseDown = (event) => {
206
+ const path = event.composedPath();
207
+ if (this && !path.includes(this)) {
208
+ this.hide();
209
+ }
210
+ };
211
+ }
212
+ get value() {
213
+ return this._value;
214
+ }
215
+ set value(val) {
216
+ if (this.multiple) {
217
+ val = Array.isArray(val) ? val : val.split(" ");
218
+ } else {
219
+ val = Array.isArray(val) ? val.join(" ") : val;
220
+ }
221
+ if (this._value === val) {
222
+ return;
223
+ }
224
+ this.valueHasChanged = true;
225
+ this._value = val;
226
+ }
227
+ /** Gets the validity state object */
228
+ get validity() {
229
+ return this.valueInput.validity;
230
+ }
231
+ /** Gets the validation message */
232
+ get validationMessage() {
233
+ return this.valueInput.validationMessage;
234
+ }
235
+ connectedCallback() {
236
+ super.connectedCallback();
237
+ setTimeout(() => {
238
+ this.handleDefaultSlotChange();
239
+ });
240
+ this.open = false;
241
+ }
242
+ addOpenListeners() {
243
+ var _a;
244
+ document.addEventListener("focusin", this.handleDocumentFocusIn);
245
+ document.addEventListener("keydown", this.handleDocumentKeyDown);
246
+ document.addEventListener("mousedown", this.handleDocumentMouseDown);
247
+ if (this.getRootNode() !== document) {
248
+ this.getRootNode().addEventListener("focusin", this.handleDocumentFocusIn);
249
+ }
250
+ if ("CloseWatcher" in window) {
251
+ (_a = this.closeWatcher) == null ? void 0 : _a.destroy();
252
+ this.closeWatcher = new CloseWatcher();
253
+ this.closeWatcher.onclose = () => {
254
+ if (this.open) {
255
+ this.hide();
256
+ this.displayInput.focus({ preventScroll: true });
257
+ }
258
+ };
259
+ }
260
+ }
261
+ removeOpenListeners() {
262
+ var _a;
263
+ document.removeEventListener("focusin", this.handleDocumentFocusIn);
264
+ document.removeEventListener("keydown", this.handleDocumentKeyDown);
265
+ document.removeEventListener("mousedown", this.handleDocumentMouseDown);
266
+ if (this.getRootNode() !== document) {
267
+ this.getRootNode().removeEventListener("focusin", this.handleDocumentFocusIn);
268
+ }
269
+ (_a = this.closeWatcher) == null ? void 0 : _a.destroy();
270
+ }
271
+ handleFocus() {
272
+ this.hasFocus = true;
273
+ this.emit("cw-focus");
274
+ }
275
+ handleBlur() {
276
+ this.hasFocus = false;
277
+ this.isFiltering = false;
278
+ this.filterOptions("");
279
+ if (!this.multiple) {
280
+ const selectedOption = this.selectedOptions[0];
281
+ const typedValue = this.displayLabel.trim();
282
+ if (selectedOption) {
283
+ if (typedValue !== selectedOption.getTextLabel()) {
284
+ if (this.allowCustomValue && typedValue !== "") {
285
+ this.commitCustomValue(typedValue);
286
+ } else if (typedValue === "") {
287
+ this.valueHasChanged = true;
288
+ this.setSelectedOptions([]);
289
+ } else {
290
+ this.displayLabel = selectedOption.getTextLabel();
291
+ }
292
+ }
293
+ } else if (this.allowCustomValue && typedValue !== "" && typedValue !== this.customValue) {
294
+ this.commitCustomValue(typedValue);
295
+ } else if (typedValue === "" && this.customValue !== "") {
296
+ this.valueHasChanged = true;
297
+ this.customValue = "";
298
+ this.setSelectedOptions([]);
299
+ } else if (!this.allowCustomValue) {
300
+ this.displayLabel = this.customValue;
301
+ }
302
+ }
303
+ this.emit("cw-blur");
304
+ }
305
+ handleLabelClick() {
306
+ this.displayInput.focus();
307
+ }
308
+ handleComboboxMouseDown(event) {
309
+ const path = event.composedPath();
310
+ const isIconButton = path.some((el) => el instanceof Element && el.tagName.toLowerCase() === "cw-icon-button");
311
+ const isInput = path[0] === this.displayInput;
312
+ if (this.disabled || isIconButton) {
313
+ return;
314
+ }
315
+ if (!isInput) {
316
+ event.preventDefault();
317
+ this.displayInput.focus({ preventScroll: true });
318
+ }
319
+ if (!this.open) {
320
+ this.show();
321
+ }
322
+ }
323
+ handleComboboxKeyDown(event) {
324
+ if (event.key === "Tab") {
325
+ return;
326
+ }
327
+ event.stopPropagation();
328
+ this.handleDocumentKeyDown(event);
329
+ }
330
+ handleInput(event) {
331
+ const target = event.target;
332
+ this.displayLabel = target.value;
333
+ this.customValue = "";
334
+ this.isFiltering = true;
335
+ this.filterOptions(this.displayLabel);
336
+ if (!this.open) {
337
+ this.show();
338
+ }
339
+ const visibleOptions = this.getVisibleOptions();
340
+ this.setCurrentOption(visibleOptions[0]);
341
+ this.emit("cw-input");
342
+ }
343
+ handleClearClick(event) {
344
+ event.stopPropagation();
345
+ this.valueHasChanged = true;
346
+ this.customValue = "";
347
+ const hasValue = Array.isArray(this.value) ? this.value.length > 0 : this.value !== "";
348
+ if (hasValue || this.displayLabel !== "") {
349
+ this.setSelectedOptions([]);
350
+ this.displayLabel = "";
351
+ this.isFiltering = false;
352
+ this.filterOptions("");
353
+ this.displayInput.focus({ preventScroll: true });
354
+ this.updateComplete.then(() => {
355
+ this.emit("cw-clear");
356
+ this.emit("cw-input");
357
+ this.emit("cw-change");
358
+ });
359
+ }
360
+ }
361
+ handleClearMouseDown(event) {
362
+ event.stopPropagation();
363
+ event.preventDefault();
364
+ }
365
+ handleOptionClick(event) {
366
+ const target = event.target;
367
+ const option = target.closest("cw-option");
368
+ if (option && !option.disabled) {
369
+ this.selectOption(option);
370
+ }
371
+ }
372
+ // Prevent mousing down on an option from moving focus off the display input. Otherwise the resulting blur would
373
+ // reset the type-ahead filter (and therefore the layout of the listbox) before the subsequent `mouseup` fires,
374
+ // causing the click to land on the wrong option.
375
+ handleListboxMouseDown(event) {
376
+ event.preventDefault();
377
+ }
378
+ /* @internal - used by options to update labels */
379
+ handleDefaultSlotChange() {
380
+ if (!customElements.get("cw-option")) {
381
+ customElements.whenDefined("cw-option").then(() => this.handleDefaultSlotChange());
382
+ }
383
+ const allOptions = this.getAllOptions();
384
+ const val = this.valueHasChanged ? this.value : this.defaultValue;
385
+ const value = Array.isArray(val) ? val : [val];
386
+ const matchingOptions = allOptions.filter((el) => value.includes(el.value));
387
+ this.updateCustomValue(val, matchingOptions);
388
+ this.setSelectedOptions(matchingOptions);
389
+ this.filterOptions(this.isFiltering ? this.displayLabel : "");
390
+ }
391
+ handleTagRemove(event, option) {
392
+ event.stopPropagation();
393
+ this.valueHasChanged = true;
394
+ if (!this.disabled) {
395
+ this.toggleOptionSelection(option, false);
396
+ this.updateComplete.then(() => {
397
+ this.emit("cw-input");
398
+ this.emit("cw-change");
399
+ });
400
+ }
401
+ }
402
+ // Gets an array of all <cw-option> elements
403
+ getAllOptions() {
404
+ return [...this.querySelectorAll("cw-option")];
405
+ }
406
+ // Gets all <cw-option> elements that match the current filter
407
+ getVisibleOptions() {
408
+ return this.getAllOptions().filter((option) => !option.hidden);
409
+ }
410
+ // Hides options that don't match the given query and tracks whether any options remain visible
411
+ filterOptions(filter) {
412
+ var _a;
413
+ const normalized = filter.trim().toLowerCase();
414
+ const allOptions = this.getAllOptions();
415
+ let hasVisibleOption = false;
416
+ allOptions.forEach((option) => {
417
+ const matches = normalized === "" || option.getTextLabel().toLowerCase().includes(normalized);
418
+ option.hidden = !matches;
419
+ if (matches) {
420
+ hasVisibleOption = true;
421
+ }
422
+ });
423
+ this.hasVisibleOptions = hasVisibleOption;
424
+ if ((_a = this.currentOption) == null ? void 0 : _a.hidden) {
425
+ this.setCurrentOption(this.getVisibleOptions()[0]);
426
+ }
427
+ }
428
+ // Sets the current option, which is the option the user is currently interacting with (e.g. via keyboard or by
429
+ // typing). Only one option may be "current" at a time. Unlike a standard listbox, focus remains on the input;
430
+ // `aria-activedescendant` is used to communicate the current option instead.
431
+ setCurrentOption(option) {
432
+ const allOptions = this.getAllOptions();
433
+ allOptions.forEach((el) => {
434
+ el.current = false;
435
+ el.tabIndex = -1;
436
+ });
437
+ if (option) {
438
+ if (!option.id) {
439
+ option.id = `cw-combobox-option-${++nextOptionId}`;
440
+ }
441
+ this.currentOption = option;
442
+ this.activeOptionId = option.id;
443
+ option.current = true;
444
+ option.tabIndex = 0;
445
+ } else {
446
+ this.currentOption = void 0;
447
+ this.activeOptionId = "";
448
+ }
449
+ }
450
+ // Sets the selected option(s)
451
+ setSelectedOptions(option) {
452
+ const allOptions = this.getAllOptions();
453
+ const newSelectedOptions = Array.isArray(option) ? option : [option];
454
+ allOptions.forEach((el) => el.selected = false);
455
+ if (newSelectedOptions.length) {
456
+ newSelectedOptions.forEach((el) => el.selected = true);
457
+ }
458
+ this.selectionChanged();
459
+ }
460
+ // Toggles an option's selected state
461
+ toggleOptionSelection(option, force) {
462
+ if (force === true || force === false) {
463
+ option.selected = force;
464
+ } else {
465
+ option.selected = !option.selected;
466
+ }
467
+ this.selectionChanged();
468
+ }
469
+ // Determines whether a free-text value should be tracked as the combobox's value
470
+ updateCustomValue(rawValue, matchingOptions) {
471
+ const candidate = Array.isArray(rawValue) ? rawValue[0] : rawValue;
472
+ if (!this.multiple && this.allowCustomValue && matchingOptions.length === 0 && candidate) {
473
+ this.customValue = candidate;
474
+ } else {
475
+ this.customValue = "";
476
+ }
477
+ }
478
+ // Sets the value and display label to a free-text value that doesn't match any option
479
+ commitCustomValue(text) {
480
+ const oldValue = this.value;
481
+ this.valueHasChanged = true;
482
+ this.customValue = text;
483
+ this.setSelectedOptions([]);
484
+ this.isFiltering = false;
485
+ this.filterOptions("");
486
+ if (this.open) {
487
+ this.hide();
488
+ }
489
+ if (this.value !== oldValue) {
490
+ this.updateComplete.then(() => {
491
+ this.emit("cw-input");
492
+ this.emit("cw-change");
493
+ });
494
+ }
495
+ }
496
+ // This method must be called whenever the selection changes. It will update the selected options cache, the current
497
+ // value, and the display label
498
+ selectionChanged() {
499
+ const options = this.getAllOptions();
500
+ this.selectedOptions = options.filter((el) => el.selected);
501
+ const cachedValueHasChanged = this.valueHasChanged;
502
+ if (this.multiple) {
503
+ this.value = this.selectedOptions.map((el) => el.value);
504
+ } else {
505
+ const selectedOption = this.selectedOptions[0];
506
+ if (selectedOption) {
507
+ this.customValue = "";
508
+ this.value = selectedOption.value;
509
+ this.displayLabel = selectedOption.getTextLabel();
510
+ } else {
511
+ this.value = this.customValue;
512
+ if (!this.isFiltering) {
513
+ this.displayLabel = this.customValue;
514
+ }
515
+ }
516
+ }
517
+ this.valueHasChanged = cachedValueHasChanged;
518
+ this.updateComplete.then(() => {
519
+ this.formControlController.updateValidity();
520
+ });
521
+ }
522
+ // Selects an option, updating the input and (for single-select) closing the listbox
523
+ selectOption(option) {
524
+ const oldValue = this.value;
525
+ this.valueHasChanged = true;
526
+ this.customValue = "";
527
+ if (this.multiple) {
528
+ this.toggleOptionSelection(option);
529
+ this.displayLabel = "";
530
+ } else {
531
+ this.setSelectedOptions(option);
532
+ }
533
+ this.isFiltering = false;
534
+ this.filterOptions("");
535
+ this.updateComplete.then(() => {
536
+ this.setCurrentOption(option);
537
+ if (this.value !== oldValue) {
538
+ this.emit("cw-input");
539
+ this.emit("cw-change");
540
+ }
541
+ if (!this.multiple) {
542
+ this.hide();
543
+ }
544
+ this.displayInput.focus({ preventScroll: true });
545
+ });
546
+ }
547
+ get tags() {
548
+ return this.selectedOptions.map((option, index) => {
549
+ if (index < this.maxOptionsVisible || this.maxOptionsVisible <= 0) {
550
+ const tag = this.getTag(option, index);
551
+ return b`<div @cw-remove=${(e3) => this.handleTagRemove(e3, option)}>
552
+ ${typeof tag === "string" ? o(tag) : tag}
553
+ </div>`;
554
+ } else if (index === this.maxOptionsVisible) {
555
+ return b`<cw-tag size=${this.size}>+${this.selectedOptions.length - index}</cw-tag>`;
556
+ }
557
+ return b``;
558
+ });
559
+ }
560
+ handleInvalid(event) {
561
+ this.formControlController.setValidity(false);
562
+ this.formControlController.emitInvalidEvent(event);
563
+ }
564
+ handleDisabledChange() {
565
+ if (this.disabled) {
566
+ this.open = false;
567
+ this.handleOpenChange();
568
+ }
569
+ }
570
+ attributeChangedCallback(name, oldVal, newVal) {
571
+ super.attributeChangedCallback(name, oldVal, newVal);
572
+ if (name === "value") {
573
+ const cachedValueHasChanged = this.valueHasChanged;
574
+ this.value = this.defaultValue;
575
+ this.valueHasChanged = cachedValueHasChanged;
576
+ }
577
+ }
578
+ handleValueChange() {
579
+ if (!this.valueHasChanged) {
580
+ const cachedValueHasChanged = this.valueHasChanged;
581
+ this.value = this.defaultValue;
582
+ this.valueHasChanged = cachedValueHasChanged;
583
+ }
584
+ const allOptions = this.getAllOptions();
585
+ const value = Array.isArray(this.value) ? this.value : [this.value];
586
+ const matchingOptions = allOptions.filter((el) => value.includes(el.value));
587
+ this.updateCustomValue(this.value, matchingOptions);
588
+ this.setSelectedOptions(matchingOptions);
589
+ }
590
+ async handleOpenChange() {
591
+ if (this.open && !this.disabled) {
592
+ this.setCurrentOption(this.selectedOptions[0] || this.getVisibleOptions()[0]);
593
+ this.emit("cw-show");
594
+ this.addOpenListeners();
595
+ await stopAnimations(this);
596
+ this.listbox.hidden = false;
597
+ this.popup.active = true;
598
+ requestAnimationFrame(() => {
599
+ this.setCurrentOption(this.currentOption);
600
+ });
601
+ const { keyframes, options } = getAnimation(this, "combobox.show", { dir: this.localize.dir() });
602
+ await animateTo(this.popup.popup, keyframes, options);
603
+ if (this.currentOption) {
604
+ scrollIntoView(this.currentOption, this.listbox, "vertical", "auto");
605
+ }
606
+ this.emit("cw-after-show");
607
+ } else {
608
+ this.emit("cw-hide");
609
+ this.removeOpenListeners();
610
+ await stopAnimations(this);
611
+ const { keyframes, options } = getAnimation(this, "combobox.hide", { dir: this.localize.dir() });
612
+ await animateTo(this.popup.popup, keyframes, options);
613
+ this.listbox.hidden = true;
614
+ this.popup.active = false;
615
+ this.emit("cw-after-hide");
616
+ }
617
+ }
618
+ /** Shows the listbox. */
619
+ async show() {
620
+ if (this.open || this.disabled) {
621
+ this.open = false;
622
+ return void 0;
623
+ }
624
+ this.open = true;
625
+ return waitForEvent(this, "cw-after-show");
626
+ }
627
+ /** Hides the listbox. */
628
+ async hide() {
629
+ if (!this.open || this.disabled) {
630
+ this.open = false;
631
+ return void 0;
632
+ }
633
+ this.open = false;
634
+ return waitForEvent(this, "cw-after-hide");
635
+ }
636
+ /** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
637
+ checkValidity() {
638
+ return this.valueInput.checkValidity();
639
+ }
640
+ /** Gets the associated form, if one exists. */
641
+ getForm() {
642
+ return this.formControlController.getForm();
643
+ }
644
+ /** Checks for validity and shows the browser's validation message if the control is invalid. */
645
+ reportValidity() {
646
+ return this.valueInput.reportValidity();
647
+ }
648
+ /** Sets a custom validation message. Pass an empty string to restore validity. */
649
+ setCustomValidity(message) {
650
+ this.valueInput.setCustomValidity(message);
651
+ this.formControlController.updateValidity();
652
+ }
653
+ /** Sets focus on the control. */
654
+ focus(options) {
655
+ this.displayInput.focus(options);
656
+ }
657
+ /** Removes focus from the control. */
658
+ blur() {
659
+ this.displayInput.blur();
660
+ }
661
+ render() {
662
+ const hasLabelSlot = this.hasSlotController.test("label");
663
+ const hasHelpTextSlot = this.hasSlotController.test("help-text");
664
+ const hasLabel = this.label ? true : !!hasLabelSlot;
665
+ const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
666
+ const hasValue = Array.isArray(this.value) ? this.value.length > 0 : this.value !== "";
667
+ const hasClearIcon = this.clearable && !this.disabled && (hasValue || this.displayLabel !== "");
668
+ const showNoOptions = this.open && !this.loading && !this.hasVisibleOptions;
669
+ return b`
670
+ <div
671
+ part="form-control"
672
+ class=${e({
673
+ "form-control": true,
674
+ "form-control--small": this.size === "small",
675
+ "form-control--medium": this.size === "medium",
676
+ "form-control--large": this.size === "large",
677
+ "form-control--has-label": hasLabel,
678
+ "form-control--has-help-text": hasHelpText
679
+ })}
680
+ >
681
+ <label
682
+ id="label"
683
+ part="form-control-label"
684
+ class="form-control__label"
685
+ aria-hidden=${hasLabel ? "false" : "true"}
686
+ @click=${this.handleLabelClick}
687
+ >
688
+ <slot name="label">${this.label}</slot>
689
+ </label>
690
+
691
+ <div part="form-control-input" class="form-control-input">
692
+ <cw-popup
693
+ class=${e({
694
+ combobox: true,
695
+ "combobox--standard": true,
696
+ "combobox--filled": this.filled,
697
+ "combobox--pill": this.pill,
698
+ "combobox--open": this.open,
699
+ "combobox--disabled": this.disabled,
700
+ "combobox--multiple": this.multiple,
701
+ "combobox--focused": this.hasFocus,
702
+ "combobox--top": this.placement === "top",
703
+ "combobox--bottom": this.placement === "bottom",
704
+ "combobox--small": this.size === "small",
705
+ "combobox--medium": this.size === "medium",
706
+ "combobox--large": this.size === "large"
707
+ })}
708
+ placement=${this.placement}
709
+ strategy=${this.hoist ? "fixed" : "absolute"}
710
+ flip
711
+ shift
712
+ sync="width"
713
+ auto-size="vertical"
714
+ auto-size-padding="10"
715
+ >
716
+ <div
717
+ part="combobox"
718
+ class="combobox__control"
719
+ slot="anchor"
720
+ @keydown=${this.handleComboboxKeyDown}
721
+ @mousedown=${this.handleComboboxMouseDown}
722
+ >
723
+ <slot part="prefix" name="prefix" class="combobox__prefix"></slot>
724
+
725
+ ${this.multiple ? b`<div part="tags" class="combobox__tags">${this.tags}</div>` : ""}
726
+
727
+ <input
728
+ part="display-input"
729
+ class="combobox__display-input"
730
+ type="text"
731
+ placeholder=${this.placeholder}
732
+ .disabled=${this.disabled}
733
+ .value=${this.displayLabel}
734
+ autocomplete="off"
735
+ spellcheck="false"
736
+ autocapitalize="off"
737
+ aria-controls="listbox"
738
+ aria-expanded=${this.open ? "true" : "false"}
739
+ aria-haspopup="listbox"
740
+ aria-autocomplete="list"
741
+ aria-activedescendant=${this.activeOptionId}
742
+ aria-labelledby="label"
743
+ aria-disabled=${this.disabled ? "true" : "false"}
744
+ aria-describedby="help-text"
745
+ role="combobox"
746
+ @input=${this.handleInput}
747
+ @focus=${this.handleFocus}
748
+ @blur=${this.handleBlur}
749
+ />
750
+
751
+ <input
752
+ class="combobox__value-input"
753
+ type="text"
754
+ ?disabled=${this.disabled}
755
+ ?required=${this.required}
756
+ .value=${Array.isArray(this.value) ? this.value.join(", ") : this.value}
757
+ tabindex="-1"
758
+ aria-hidden="true"
759
+ @focus=${() => this.focus()}
760
+ @invalid=${this.handleInvalid}
761
+ />
762
+
763
+ ${hasClearIcon ? b`
764
+ <button
765
+ part="clear-button"
766
+ class="combobox__clear"
767
+ type="button"
768
+ aria-label=${this.localize.term("clearEntry")}
769
+ @mousedown=${this.handleClearMouseDown}
770
+ @click=${this.handleClearClick}
771
+ tabindex="-1"
772
+ >
773
+ <slot name="clear-icon">
774
+ <cw-icon name="x-circle-fill" library="system"></cw-icon>
775
+ </slot>
776
+ </button>
777
+ ` : ""}
778
+
779
+ <slot name="suffix" part="suffix" class="combobox__suffix"></slot>
780
+
781
+ <slot name="expand-icon" part="expand-icon" class="combobox__expand-icon">
782
+ <cw-icon library="system" name="chevron-down"></cw-icon>
783
+ </slot>
784
+ </div>
785
+
786
+ <div
787
+ id="listbox"
788
+ role="listbox"
789
+ aria-expanded=${this.open ? "true" : "false"}
790
+ aria-multiselectable=${this.multiple ? "true" : "false"}
791
+ aria-labelledby="label"
792
+ part="listbox"
793
+ class="combobox__listbox"
794
+ tabindex="-1"
795
+ @mousedown=${this.handleListboxMouseDown}
796
+ @mouseup=${this.handleOptionClick}
797
+ @slotchange=${this.handleDefaultSlotChange}
798
+ >
799
+ <slot></slot>
800
+
801
+ ${this.loading ? b`
802
+ <div part="loading" class="combobox__loading">
803
+ <cw-spinner></cw-spinner>
804
+ </div>
805
+ ` : ""}
806
+ ${showNoOptions ? b`
807
+ <div part="no-options" class="combobox__no-options">
808
+ <slot name="no-options">No matching options found.</slot>
809
+ </div>
810
+ ` : ""}
811
+ </div>
812
+ </cw-popup>
813
+ </div>
814
+
815
+ <div
816
+ part="form-control-help-text"
817
+ id="help-text"
818
+ class="form-control__help-text"
819
+ aria-hidden=${hasHelpText ? "false" : "true"}
820
+ >
821
+ <slot name="help-text">${this.helpText}</slot>
822
+ </div>
823
+
824
+ ${this.multiple ? b`
825
+ <cw-visually-hidden role="status" aria-live="polite">
826
+ ${this.localize.term("numOptionsSelected", this.selectedOptions.length)}
827
+ </cw-visually-hidden>
828
+ ` : ""}
829
+ </div>
830
+ `;
831
+ }
832
+ };
833
+ CwCombobox.styles = [component_styles_default, form_control_styles_default, combobox_styles_default];
834
+ CwCombobox.dependencies = {
835
+ "cw-icon": CwIcon,
836
+ "cw-popup": CwPopup,
837
+ "cw-spinner": CwSpinner,
838
+ "cw-tag": CwTag,
839
+ "cw-visually-hidden": CwVisuallyHidden
840
+ };
841
+ __decorateClass([
842
+ e2(".combobox")
843
+ ], CwCombobox.prototype, "popup", 2);
844
+ __decorateClass([
845
+ e2(".combobox__control")
846
+ ], CwCombobox.prototype, "combobox", 2);
847
+ __decorateClass([
848
+ e2(".combobox__display-input")
849
+ ], CwCombobox.prototype, "displayInput", 2);
850
+ __decorateClass([
851
+ e2(".combobox__value-input")
852
+ ], CwCombobox.prototype, "valueInput", 2);
853
+ __decorateClass([
854
+ e2(".combobox__listbox")
855
+ ], CwCombobox.prototype, "listbox", 2);
856
+ __decorateClass([
857
+ r()
858
+ ], CwCombobox.prototype, "hasFocus", 2);
859
+ __decorateClass([
860
+ r()
861
+ ], CwCombobox.prototype, "displayLabel", 2);
862
+ __decorateClass([
863
+ r()
864
+ ], CwCombobox.prototype, "currentOption", 2);
865
+ __decorateClass([
866
+ r()
867
+ ], CwCombobox.prototype, "selectedOptions", 2);
868
+ __decorateClass([
869
+ r()
870
+ ], CwCombobox.prototype, "activeOptionId", 2);
871
+ __decorateClass([
872
+ r()
873
+ ], CwCombobox.prototype, "hasVisibleOptions", 2);
874
+ __decorateClass([
875
+ r()
876
+ ], CwCombobox.prototype, "valueHasChanged", 2);
877
+ __decorateClass([
878
+ r()
879
+ ], CwCombobox.prototype, "isFiltering", 2);
880
+ __decorateClass([
881
+ n()
882
+ ], CwCombobox.prototype, "name", 2);
883
+ __decorateClass([
884
+ r()
885
+ ], CwCombobox.prototype, "value", 1);
886
+ __decorateClass([
887
+ n({ attribute: "value" })
888
+ ], CwCombobox.prototype, "defaultValue", 2);
889
+ __decorateClass([
890
+ n({ reflect: true })
891
+ ], CwCombobox.prototype, "size", 2);
892
+ __decorateClass([
893
+ n()
894
+ ], CwCombobox.prototype, "placeholder", 2);
895
+ __decorateClass([
896
+ n({ type: Boolean, reflect: true })
897
+ ], CwCombobox.prototype, "multiple", 2);
898
+ __decorateClass([
899
+ n({ attribute: "max-options-visible", type: Number })
900
+ ], CwCombobox.prototype, "maxOptionsVisible", 2);
901
+ __decorateClass([
902
+ n({ type: Boolean, reflect: true })
903
+ ], CwCombobox.prototype, "disabled", 2);
904
+ __decorateClass([
905
+ n({ type: Boolean })
906
+ ], CwCombobox.prototype, "clearable", 2);
907
+ __decorateClass([
908
+ n({ attribute: "allow-custom-value", type: Boolean })
909
+ ], CwCombobox.prototype, "allowCustomValue", 2);
910
+ __decorateClass([
911
+ n({ type: Boolean, reflect: true })
912
+ ], CwCombobox.prototype, "loading", 2);
913
+ __decorateClass([
914
+ n({ type: Boolean, reflect: true })
915
+ ], CwCombobox.prototype, "open", 2);
916
+ __decorateClass([
917
+ n({ type: Boolean })
918
+ ], CwCombobox.prototype, "hoist", 2);
919
+ __decorateClass([
920
+ n({ type: Boolean, reflect: true })
921
+ ], CwCombobox.prototype, "filled", 2);
922
+ __decorateClass([
923
+ n({ type: Boolean, reflect: true })
924
+ ], CwCombobox.prototype, "pill", 2);
925
+ __decorateClass([
926
+ n()
927
+ ], CwCombobox.prototype, "label", 2);
928
+ __decorateClass([
929
+ n({ reflect: true })
930
+ ], CwCombobox.prototype, "placement", 2);
931
+ __decorateClass([
932
+ n({ attribute: "help-text" })
933
+ ], CwCombobox.prototype, "helpText", 2);
934
+ __decorateClass([
935
+ n({ reflect: true })
936
+ ], CwCombobox.prototype, "form", 2);
937
+ __decorateClass([
938
+ n({ type: Boolean, reflect: true })
939
+ ], CwCombobox.prototype, "required", 2);
940
+ __decorateClass([
941
+ n()
942
+ ], CwCombobox.prototype, "getTag", 2);
943
+ __decorateClass([
944
+ watch("disabled", { waitUntilFirstUpdate: true })
945
+ ], CwCombobox.prototype, "handleDisabledChange", 1);
946
+ __decorateClass([
947
+ watch(["defaultValue", "value"], { waitUntilFirstUpdate: true })
948
+ ], CwCombobox.prototype, "handleValueChange", 1);
949
+ __decorateClass([
950
+ watch("open", { waitUntilFirstUpdate: true })
951
+ ], CwCombobox.prototype, "handleOpenChange", 1);
952
+ setDefaultAnimation("combobox.show", {
953
+ keyframes: [
954
+ { opacity: 0, scale: 0.9 },
955
+ { opacity: 1, scale: 1 }
956
+ ],
957
+ options: { duration: 100, easing: "ease" }
958
+ });
959
+ setDefaultAnimation("combobox.hide", {
960
+ keyframes: [
961
+ { opacity: 1, scale: 1 },
962
+ { opacity: 0, scale: 0.9 }
963
+ ],
964
+ options: { duration: 100, easing: "ease" }
965
+ });
966
+
967
+ export {
968
+ CwCombobox
969
+ };