@prolibu-suite/cobalt-core 0.11.0 → 0.11.2

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 (651) hide show
  1. package/README.md +12 -5
  2. package/custom-elements.json +2738 -802
  3. package/dist/cjs/co-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/co-action-bar.cjs.entry.js +2 -2
  5. package/dist/cjs/co-app-shell.cjs.entry.js +2 -2
  6. package/dist/cjs/co-audio-player.cjs.entry.js +3 -3
  7. package/dist/cjs/co-autocomplete.cjs.entry.js +10 -3
  8. package/dist/cjs/co-avatar-group.cjs.entry.js +2 -2
  9. package/dist/cjs/co-avatar.cjs.entry.js +1 -1
  10. package/dist/cjs/co-badge.cjs.entry.js +1 -1
  11. package/dist/cjs/co-bottom-sheet.cjs.entry.js +4 -4
  12. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +2 -2
  13. package/dist/cjs/co-breadcrumb.cjs.entry.js +1 -1
  14. package/dist/cjs/co-button-group.cjs.entry.js +3 -2
  15. package/dist/cjs/co-button.cjs.entry.js +6 -6
  16. package/dist/cjs/co-calendar-month_2.cjs.entry.js +14 -2
  17. package/dist/cjs/co-calendar_3.cjs.entry.js +9 -5
  18. package/dist/cjs/co-card.cjs.entry.js +2 -2
  19. package/dist/cjs/co-carousel.cjs.entry.js +5 -2
  20. package/dist/cjs/co-checkbox-group.cjs.entry.js +3 -3
  21. package/dist/cjs/co-checkbox.cjs.entry.js +3 -3
  22. package/dist/cjs/co-chip_2.cjs.entry.js +16 -6
  23. package/dist/cjs/co-color-area.cjs.entry.js +2 -2
  24. package/dist/cjs/co-color-picker.cjs.entry.js +2 -2
  25. package/dist/cjs/co-color-slider.cjs.entry.js +3 -3
  26. package/dist/cjs/co-column-picker.cjs.entry.js +22 -2
  27. package/dist/cjs/co-combobox.cjs.entry.js +3 -3
  28. package/dist/cjs/co-command-search.cjs.entry.js +4 -4
  29. package/dist/cjs/co-data-table-pagination.cjs.entry.js +4 -4
  30. package/dist/cjs/co-data-table.cjs.entry.js +2 -2
  31. package/dist/cjs/co-date-picker.cjs.entry.js +8 -0
  32. package/dist/cjs/co-date-range-picker.cjs.entry.js +9 -0
  33. package/dist/cjs/co-date-range.cjs.entry.js +7 -1
  34. package/dist/cjs/co-date-time-picker.cjs.entry.js +9 -2
  35. package/dist/cjs/co-document-editor.cjs.entry.js +9 -3
  36. package/dist/cjs/co-drive-card.cjs.entry.js +1 -1
  37. package/dist/cjs/co-drop-zone.cjs.entry.js +1 -1
  38. package/dist/cjs/co-emoji-picker.cjs.entry.js +2 -2
  39. package/dist/cjs/co-empty-state.cjs.entry.js +2 -2
  40. package/dist/cjs/co-event-calendar.cjs.entry.js +4 -2
  41. package/dist/cjs/co-event-popover.cjs.entry.js +5 -1
  42. package/dist/cjs/co-fab.cjs.entry.js +6 -2
  43. package/dist/cjs/co-file-field.cjs.entry.js +10 -6
  44. package/dist/cjs/co-file-type-tile.cjs.entry.js +2 -2
  45. package/dist/cjs/co-gradient-bar.cjs.entry.js +2 -2
  46. package/dist/cjs/co-helper-text.cjs.entry.js +2 -2
  47. package/dist/cjs/co-icon-button.cjs.entry.js +5 -6
  48. package/dist/cjs/co-icon.cjs.entry.js +2 -2
  49. package/dist/cjs/co-json-field.cjs.entry.js +8 -3
  50. package/dist/cjs/co-kbd_2.cjs.entry.js +3 -3
  51. package/dist/cjs/co-list-footer.cjs.entry.js +1 -1
  52. package/dist/cjs/co-list-item.cjs.entry.js +4 -4
  53. package/dist/cjs/co-media-thumb.cjs.entry.js +2 -2
  54. package/dist/cjs/co-menu-divider.cjs.entry.js +1 -1
  55. package/dist/cjs/co-menu.cjs.entry.js +8 -8
  56. package/dist/cjs/co-modal.cjs.entry.js +36 -10
  57. package/dist/cjs/co-navbar.cjs.entry.js +2 -2
  58. package/dist/cjs/co-number-field.cjs.entry.js +9 -3
  59. package/dist/cjs/co-overlay.cjs.entry.js +205 -34
  60. package/dist/cjs/co-page-header.cjs.entry.js +1 -1
  61. package/dist/cjs/co-popover.cjs.entry.js +9 -7
  62. package/dist/cjs/co-progress-bar.cjs.entry.js +2 -2
  63. package/dist/cjs/co-progress-circle.cjs.entry.js +2 -2
  64. package/dist/cjs/co-provider-logo_2.cjs.entry.js +1 -1
  65. package/dist/cjs/co-radio-group.cjs.entry.js +3 -3
  66. package/dist/cjs/co-radio.cjs.entry.js +3 -3
  67. package/dist/cjs/co-rating.cjs.entry.js +10 -3
  68. package/dist/cjs/co-ref-field.cjs.entry.js +10 -1
  69. package/dist/cjs/co-rich-text-editor.cjs.entry.js +19 -5
  70. package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +1 -0
  71. package/dist/cjs/co-rich-text-viewer.cjs.entry.js +1 -1
  72. package/dist/cjs/co-row.cjs.entry.js +2 -2
  73. package/dist/cjs/co-segmented-bar.cjs.entry.js +2 -2
  74. package/dist/cjs/co-select.cjs.entry.js +19 -6
  75. package/dist/cjs/co-separator.cjs.entry.js +1 -1
  76. package/dist/cjs/co-sidebar-nav.cjs.entry.js +2 -2
  77. package/dist/cjs/co-sidebar.cjs.entry.js +2 -2
  78. package/dist/cjs/co-slider.cjs.entry.js +8 -2
  79. package/dist/cjs/co-swatch-grid.cjs.entry.js +1 -1
  80. package/dist/cjs/co-switch.cjs.entry.js +3 -3
  81. package/dist/cjs/co-tab-group.cjs.entry.js +2 -2
  82. package/dist/cjs/co-tab.cjs.entry.js +5 -5
  83. package/dist/cjs/co-tags-field.cjs.entry.js +10 -5
  84. package/dist/cjs/co-tile.cjs.entry.js +1 -1
  85. package/dist/cjs/co-time-field.cjs.entry.js +4 -1
  86. package/dist/cjs/co-toast.cjs.entry.js +2 -2
  87. package/dist/cjs/co-toggle-button-group.cjs.entry.js +7 -4
  88. package/dist/cjs/co-toggle-button.cjs.entry.js +5 -2
  89. package/dist/cjs/co-transfer-list.cjs.entry.js +6 -2
  90. package/dist/cjs/co-tree-item.cjs.entry.js +2 -2
  91. package/dist/cjs/co-video.cjs.entry.js +10 -2
  92. package/dist/cjs/cobalt.cjs.js +1 -1
  93. package/dist/cjs/{index-oMHzCXm6.js → index-BbSD1Eyw.js} +1 -1
  94. package/dist/cjs/loader.cjs.js +1 -1
  95. package/dist/cjs/{pagination-DV43TRj9.js → pagination-S2sSAgdl.js} +26 -2
  96. package/dist/cobalt/cobalt.esm.js +1 -1
  97. package/dist/cobalt/{p-97a4fbba.entry.js → p-019eed8e.entry.js} +1 -1
  98. package/dist/cobalt/{p-d6e7c258.entry.js → p-02ff847e.entry.js} +1 -1
  99. package/dist/cobalt/{p-1289131f.entry.js → p-04e3e1f6.entry.js} +1 -1
  100. package/dist/cobalt/p-0d046d98.entry.js +1 -0
  101. package/dist/cobalt/{p-d4979025.entry.js → p-0e4c2234.entry.js} +1 -1
  102. package/dist/cobalt/{p-3011c84f.entry.js → p-12914c0a.entry.js} +1 -1
  103. package/dist/cobalt/{p-f5934cd9.entry.js → p-1348d5ca.entry.js} +1 -1
  104. package/dist/cobalt/{p-ee88ec40.entry.js → p-13e5b724.entry.js} +1 -1
  105. package/dist/cobalt/{p-9e406172.entry.js → p-21b4a830.entry.js} +1 -1
  106. package/dist/cobalt/{p-d1c378ff.entry.js → p-2231bacc.entry.js} +1 -1
  107. package/dist/cobalt/{p-1693b614.entry.js → p-26cbdc33.entry.js} +1 -1
  108. package/dist/cobalt/{p-7f3523ce.entry.js → p-28cf05f3.entry.js} +1 -1
  109. package/dist/cobalt/{p-8ab5b396.entry.js → p-358a6c2a.entry.js} +1 -1
  110. package/dist/cobalt/p-38eb2615.entry.js +1 -0
  111. package/dist/cobalt/p-3b5024ce.entry.js +1 -0
  112. package/dist/cobalt/{p-cc5989e9.entry.js → p-3d1a48e5.entry.js} +1 -1
  113. package/dist/cobalt/{p-b1994bb4.entry.js → p-4bcdd422.entry.js} +1 -1
  114. package/dist/cobalt/{p-2a2b0c7a.entry.js → p-4d743628.entry.js} +1 -1
  115. package/dist/cobalt/{p-66fc1528.entry.js → p-4e81e580.entry.js} +1 -1
  116. package/dist/cobalt/{p-c1caa112.entry.js → p-53a251ca.entry.js} +1 -1
  117. package/dist/cobalt/{p-67ad9544.entry.js → p-56176aa0.entry.js} +1 -1
  118. package/dist/cobalt/{p-44edde81.entry.js → p-58ebb303.entry.js} +1 -1
  119. package/dist/cobalt/{p-2e5702a0.entry.js → p-5e678e88.entry.js} +1 -1
  120. package/dist/cobalt/{p-889563d5.entry.js → p-60f948c4.entry.js} +1 -1
  121. package/dist/cobalt/{p-db42c4ab.entry.js → p-63908a8d.entry.js} +1 -1
  122. package/dist/cobalt/{p-5573985a.entry.js → p-65c191aa.entry.js} +1 -1
  123. package/dist/cobalt/{p-b5ec4286.entry.js → p-65d44da2.entry.js} +1 -1
  124. package/dist/cobalt/{p-5534a64f.entry.js → p-69ecc933.entry.js} +1 -1
  125. package/dist/cobalt/{p-c9990662.entry.js → p-6c1992c9.entry.js} +1 -1
  126. package/dist/cobalt/{p-90fad0f9.entry.js → p-6c7e423c.entry.js} +1 -1
  127. package/dist/cobalt/{p-22233b31.entry.js → p-6d4a660c.entry.js} +1 -1
  128. package/dist/cobalt/{p-7675cebe.entry.js → p-713637f2.entry.js} +1 -1
  129. package/dist/cobalt/{p-45007758.entry.js → p-71ae1551.entry.js} +1 -1
  130. package/dist/cobalt/{p-a930cdd7.entry.js → p-71ee36a8.entry.js} +1 -1
  131. package/dist/cobalt/{p-eeb114da.entry.js → p-71fe35c4.entry.js} +1 -1
  132. package/dist/cobalt/{p-a336178b.entry.js → p-73313cbe.entry.js} +1 -1
  133. package/dist/cobalt/{p-8b2e4579.entry.js → p-78412feb.entry.js} +1 -1
  134. package/dist/cobalt/{p-48c23310.entry.js → p-7beface1.entry.js} +1 -1
  135. package/dist/cobalt/p-7d1718ed.entry.js +1 -0
  136. package/dist/cobalt/{p-59d3e8fc.entry.js → p-7df18a52.entry.js} +1 -1
  137. package/dist/cobalt/{p-b9401dd7.entry.js → p-7e678cbd.entry.js} +1 -1
  138. package/dist/cobalt/{p-c109a1e1.entry.js → p-7fabd8ba.entry.js} +1 -1
  139. package/dist/cobalt/{p-8f701eac.entry.js → p-848f5ca4.entry.js} +1 -1
  140. package/dist/cobalt/{p-608d251d.entry.js → p-8680559b.entry.js} +1 -1
  141. package/dist/cobalt/{p-4b327483.entry.js → p-87de5469.entry.js} +1 -1
  142. package/dist/cobalt/{p-a07dedd1.entry.js → p-8a2a2b6c.entry.js} +1 -1
  143. package/dist/cobalt/{p-f813569c.entry.js → p-903237f9.entry.js} +1 -1
  144. package/dist/cobalt/p-93063876.entry.js +1 -0
  145. package/dist/cobalt/{p-1f3d5313.entry.js → p-95f2ebb1.entry.js} +1 -1
  146. package/dist/cobalt/{p-86b6fd81.entry.js → p-99df434b.entry.js} +1 -1
  147. package/dist/cobalt/{p-6c157ea2.entry.js → p-9adbab95.entry.js} +1 -1
  148. package/dist/cobalt/{p-4111fefa.entry.js → p-9ee5bef3.entry.js} +1 -1
  149. package/dist/cobalt/{p-RVQJEYxa.js → p-Ch-Tygdb.js} +1 -1
  150. package/dist/cobalt/p-DGLDAl09.js +1 -0
  151. package/dist/cobalt/{p-9bee9dc8.entry.js → p-a27013e6.entry.js} +1 -1
  152. package/dist/cobalt/{p-9cf10331.entry.js → p-a4eb298c.entry.js} +1 -1
  153. package/dist/cobalt/{p-5b2aa70e.entry.js → p-a56bd4a8.entry.js} +1 -1
  154. package/dist/cobalt/{p-d1f47915.entry.js → p-a5eabecb.entry.js} +1 -1
  155. package/dist/cobalt/{p-f5e1873d.entry.js → p-a5ee1fc2.entry.js} +1 -1
  156. package/dist/cobalt/{p-ee42dca6.entry.js → p-a7cd61ce.entry.js} +1 -1
  157. package/dist/cobalt/{p-7569375a.entry.js → p-ad752791.entry.js} +1 -1
  158. package/dist/cobalt/{p-ea564148.entry.js → p-ae999b94.entry.js} +1 -1
  159. package/dist/cobalt/{p-30760f77.entry.js → p-aed832d5.entry.js} +1 -1
  160. package/dist/cobalt/{p-e6116149.entry.js → p-b2457431.entry.js} +1 -1
  161. package/dist/cobalt/{p-3b9a8e86.entry.js → p-b39a4999.entry.js} +1 -1
  162. package/dist/cobalt/{p-bc3ba0cd.entry.js → p-b5dabdc3.entry.js} +1 -1
  163. package/dist/cobalt/{p-ec7a6bf2.entry.js → p-b67fb616.entry.js} +1 -1
  164. package/dist/cobalt/{p-f8c7941f.entry.js → p-b9b73dcb.entry.js} +1 -1
  165. package/dist/cobalt/{p-a52ed6ff.entry.js → p-ba39a965.entry.js} +1 -1
  166. package/dist/cobalt/{p-8cd3acaa.entry.js → p-bb7bbe70.entry.js} +1 -1
  167. package/dist/cobalt/{p-7376f4ed.entry.js → p-be520bd5.entry.js} +1 -1
  168. package/dist/cobalt/{p-0a5cfed0.entry.js → p-bee30373.entry.js} +1 -1
  169. package/dist/cobalt/{p-e4ff2fcb.entry.js → p-c220362c.entry.js} +1 -1
  170. package/dist/cobalt/{p-6d541199.entry.js → p-c5464a98.entry.js} +1 -1
  171. package/dist/cobalt/{p-26fa36f8.entry.js → p-cf5b91be.entry.js} +1 -1
  172. package/dist/cobalt/{p-cc4b51fa.entry.js → p-cfaaa684.entry.js} +1 -1
  173. package/dist/cobalt/{p-57d250ad.entry.js → p-d00c3894.entry.js} +1 -1
  174. package/dist/cobalt/{p-f8d3c71e.entry.js → p-d5d8fa8b.entry.js} +1 -1
  175. package/dist/cobalt/p-d6215d80.entry.js +1 -0
  176. package/dist/cobalt/{p-78a20284.entry.js → p-dabcbba7.entry.js} +1 -1
  177. package/dist/cobalt/{p-9b46a8fe.entry.js → p-db623519.entry.js} +1 -1
  178. package/dist/cobalt/{p-136beb2c.entry.js → p-df529110.entry.js} +1 -1
  179. package/dist/cobalt/{p-5d6e02dd.entry.js → p-efb3cbb0.entry.js} +1 -1
  180. package/dist/cobalt/p-efd3e0de.entry.js +1 -0
  181. package/dist/cobalt/{p-e99ddf9c.entry.js → p-f2fa2ac0.entry.js} +1 -1
  182. package/dist/cobalt/p-f403eeec.entry.js +1 -0
  183. package/dist/cobalt/{p-ce2b2048.entry.js → p-f69804a6.entry.js} +1 -1
  184. package/dist/collection/components/co-accordion/co-accordion.js +12 -2
  185. package/dist/collection/components/co-action-bar/co-action-bar.css +6 -0
  186. package/dist/collection/components/co-action-bar/co-action-bar.js +3 -2
  187. package/dist/collection/components/co-app-shell/co-app-shell.css +6 -0
  188. package/dist/collection/components/co-app-shell/co-app-shell.js +13 -2
  189. package/dist/collection/components/co-audio-player/co-audio-player.js +19 -7
  190. package/dist/collection/components/co-autocomplete/co-autocomplete.js +30 -17
  191. package/dist/collection/components/co-avatar/co-avatar.css +7 -2
  192. package/dist/collection/components/co-avatar/co-avatar.js +9 -2
  193. package/dist/collection/components/co-avatar-group/co-avatar-group.css +4 -0
  194. package/dist/collection/components/co-avatar-group/co-avatar-group.js +8 -3
  195. package/dist/collection/components/co-badge/co-badge.js +8 -1
  196. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +13 -4
  197. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +5 -1
  198. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +8 -2
  199. package/dist/collection/components/co-button/co-button.css +25 -2
  200. package/dist/collection/components/co-button/co-button.js +14 -8
  201. package/dist/collection/components/co-button-group/co-button-group.js +10 -3
  202. package/dist/collection/components/co-calendar/co-calendar.css +8 -0
  203. package/dist/collection/components/co-calendar/co-calendar.js +3 -1
  204. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +36 -19
  205. package/dist/collection/components/co-card/co-card.js +11 -2
  206. package/dist/collection/components/co-carousel/co-carousel.css +10 -0
  207. package/dist/collection/components/co-carousel/co-carousel.js +17 -5
  208. package/dist/collection/components/co-checkbox/co-checkbox.js +11 -3
  209. package/dist/collection/components/co-checkbox-group/co-checkbox-group.js +9 -4
  210. package/dist/collection/components/co-chip/co-chip.css +25 -11
  211. package/dist/collection/components/co-chip/co-chip.js +15 -2
  212. package/dist/collection/components/co-color-area/co-color-area.css +4 -0
  213. package/dist/collection/components/co-color-area/co-color-area.js +6 -5
  214. package/dist/collection/components/co-color-picker/co-color-picker.js +4 -2
  215. package/dist/collection/components/co-color-slider/co-color-slider.js +6 -5
  216. package/dist/collection/components/co-column-picker/co-column-picker.js +51 -25
  217. package/dist/collection/components/co-combobox/co-combobox.js +18 -4
  218. package/dist/collection/components/co-command-search/co-command-search.js +19 -8
  219. package/dist/collection/components/co-data-table/co-data-table.js +8 -3
  220. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +16 -4
  221. package/dist/collection/components/co-date-field/co-date-field.js +19 -13
  222. package/dist/collection/components/co-date-picker/co-date-picker.js +38 -25
  223. package/dist/collection/components/co-date-range/co-date-range.js +19 -10
  224. package/dist/collection/components/co-date-range-picker/co-date-range-picker.js +44 -30
  225. package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +30 -21
  226. package/dist/collection/components/co-document-editor/co-document-editor.js +22 -15
  227. package/dist/collection/components/co-drawer/co-drawer.css +5 -0
  228. package/dist/collection/components/co-drawer/co-drawer.js +13 -0
  229. package/dist/collection/components/co-drive-card/co-drive-card.js +14 -1
  230. package/dist/collection/components/co-drop-zone/co-drop-zone.js +7 -2
  231. package/dist/collection/components/co-emoji-picker/co-emoji-picker.css +4 -0
  232. package/dist/collection/components/co-emoji-picker/co-emoji-picker.js +11 -2
  233. package/dist/collection/components/co-empty-state/co-empty-state.js +4 -2
  234. package/dist/collection/components/co-event-calendar/co-event-calendar.js +16 -4
  235. package/dist/collection/components/co-event-popover/co-event-popover.js +18 -6
  236. package/dist/collection/components/co-fab/co-fab.css +8 -0
  237. package/dist/collection/components/co-fab/co-fab.js +17 -8
  238. package/dist/collection/components/co-file-field/co-file-field.js +16 -11
  239. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +9 -2
  240. package/dist/collection/components/co-gradient-bar/co-gradient-bar.css +5 -0
  241. package/dist/collection/components/co-gradient-bar/co-gradient-bar.js +7 -2
  242. package/dist/collection/components/co-helper-text/co-helper-text.js +4 -2
  243. package/dist/collection/components/co-icon/co-icon.js +6 -2
  244. package/dist/collection/components/co-icon-button/co-icon-button.css +9 -0
  245. package/dist/collection/components/co-icon-button/co-icon-button.js +12 -7
  246. package/dist/collection/components/co-input/co-input.css +3 -0
  247. package/dist/collection/components/co-input/co-input.js +11 -0
  248. package/dist/collection/components/co-json-field/co-json-field.js +19 -12
  249. package/dist/collection/components/co-kbd/co-kbd.js +8 -1
  250. package/dist/collection/components/co-list-footer/co-list-footer.js +4 -1
  251. package/dist/collection/components/co-list-item/co-list-item.js +7 -4
  252. package/dist/collection/components/co-loader/co-loader.js +5 -0
  253. package/dist/collection/components/co-media-thumb/co-media-thumb.js +9 -2
  254. package/dist/collection/components/co-menu/co-menu.css +11 -1
  255. package/dist/collection/components/co-menu/co-menu.js +13 -13
  256. package/dist/collection/components/co-menu-divider/co-menu-divider.css +4 -0
  257. package/dist/collection/components/co-menu-divider/co-menu-divider.js +2 -1
  258. package/dist/collection/components/co-menu-item/co-menu-item.css +14 -0
  259. package/dist/collection/components/co-menu-item/co-menu-item.js +2 -0
  260. package/dist/collection/components/co-modal/co-modal.css +6 -0
  261. package/dist/collection/components/co-modal/co-modal.js +97 -18
  262. package/dist/collection/components/co-navbar/co-navbar.css +7 -0
  263. package/dist/collection/components/co-navbar/co-navbar.js +4 -2
  264. package/dist/collection/components/co-number-field/co-number-field.js +29 -15
  265. package/dist/collection/components/co-option-list/co-option-list.css +38 -0
  266. package/dist/collection/components/co-option-list/co-option-list.js +33 -16
  267. package/dist/collection/components/co-overlay/co-overlay.css +11 -0
  268. package/dist/collection/components/co-overlay/co-overlay.js +140 -26
  269. package/dist/collection/components/co-overlay/focusTrap.js +111 -3
  270. package/dist/collection/components/co-page-header/co-page-header.js +4 -1
  271. package/dist/collection/components/co-popover/co-popover.css +7 -2
  272. package/dist/collection/components/co-popover/co-popover.js +29 -16
  273. package/dist/collection/components/co-progress-bar/co-progress-bar.js +5 -2
  274. package/dist/collection/components/co-progress-circle/co-progress-circle.js +5 -2
  275. package/dist/collection/components/co-provider-logo/co-provider-logo.js +3 -0
  276. package/dist/collection/components/co-radio/co-radio.js +11 -3
  277. package/dist/collection/components/co-radio-group/co-radio-group.js +9 -4
  278. package/dist/collection/components/co-rating/co-rating.js +25 -13
  279. package/dist/collection/components/co-ref-field/co-ref-field.css +14 -0
  280. package/dist/collection/components/co-ref-field/co-ref-field.js +55 -27
  281. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +46 -24
  282. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.js +4 -1
  283. package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.js +8 -0
  284. package/dist/collection/components/co-row/co-row.js +5 -2
  285. package/dist/collection/components/co-segmented-bar/co-segmented-bar.js +9 -3
  286. package/dist/collection/components/co-select/co-select.css +13 -1
  287. package/dist/collection/components/co-select/co-select.js +42 -23
  288. package/dist/collection/components/co-separator/co-separator.js +8 -1
  289. package/dist/collection/components/co-sidebar/co-sidebar.js +10 -2
  290. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +5 -0
  291. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +4 -3
  292. package/dist/collection/components/co-skeleton/co-skeleton.js +4 -1
  293. package/dist/collection/components/co-slider/co-slider.css +7 -0
  294. package/dist/collection/components/co-slider/co-slider.js +25 -13
  295. package/dist/collection/components/co-swatch-grid/co-swatch-grid.js +2 -1
  296. package/dist/collection/components/co-switch/co-switch.css +4 -0
  297. package/dist/collection/components/co-switch/co-switch.js +12 -3
  298. package/dist/collection/components/co-tab/co-tab.js +14 -6
  299. package/dist/collection/components/co-tab-group/co-tab-group.js +11 -2
  300. package/dist/collection/components/co-tags-field/co-tags-field.js +21 -14
  301. package/dist/collection/components/co-tile/co-tile.js +6 -1
  302. package/dist/collection/components/co-time-field/co-time-field.js +9 -4
  303. package/dist/collection/components/co-toast/co-toast.css +11 -0
  304. package/dist/collection/components/co-toast/co-toast.js +13 -4
  305. package/dist/collection/components/co-toggle-button/co-toggle-button.css +5 -0
  306. package/dist/collection/components/co-toggle-button/co-toggle-button.js +13 -9
  307. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +18 -9
  308. package/dist/collection/components/co-tooltip/co-tooltip.js +12 -2
  309. package/dist/collection/components/co-transfer-list/co-transfer-list.js +19 -10
  310. package/dist/collection/components/co-tree-item/co-tree-item.css +11 -2
  311. package/dist/collection/components/co-tree-item/co-tree-item.js +6 -4
  312. package/dist/collection/components/co-video/co-video.css +11 -0
  313. package/dist/collection/components/co-video/co-video.js +41 -22
  314. package/dist/components/co-accordion.js +1 -1
  315. package/dist/components/co-action-bar.js +1 -1
  316. package/dist/components/co-app-shell.js +1 -1
  317. package/dist/components/co-audio-player.js +1 -1
  318. package/dist/components/co-autocomplete.js +1 -1
  319. package/dist/components/co-avatar-group.js +1 -1
  320. package/dist/components/co-avatar.js +1 -1
  321. package/dist/components/co-badge.js +1 -1
  322. package/dist/components/co-bottom-sheet.js +1 -1
  323. package/dist/components/co-breadcrumb-item.js +1 -1
  324. package/dist/components/co-breadcrumb.js +1 -1
  325. package/dist/components/co-button-group.js +1 -1
  326. package/dist/components/co-button.js +1 -1
  327. package/dist/components/co-calendar-month.js +1 -1
  328. package/dist/components/co-calendar-timegrid.js +1 -1
  329. package/dist/components/co-calendar.js +1 -1
  330. package/dist/components/co-card.js +1 -1
  331. package/dist/components/co-carousel.js +1 -1
  332. package/dist/components/co-checkbox-group.js +1 -1
  333. package/dist/components/co-checkbox.js +1 -1
  334. package/dist/components/co-chip.js +1 -1
  335. package/dist/components/co-color-area.js +1 -1
  336. package/dist/components/co-color-picker.js +1 -1
  337. package/dist/components/co-color-slider.js +1 -1
  338. package/dist/components/co-column-picker.js +1 -1
  339. package/dist/components/co-combobox.js +1 -1
  340. package/dist/components/co-command-search.js +1 -1
  341. package/dist/components/co-data-table-pagination.js +1 -1
  342. package/dist/components/co-data-table.js +1 -1
  343. package/dist/components/co-date-field.js +1 -1
  344. package/dist/components/co-date-picker.js +1 -1
  345. package/dist/components/co-date-range-picker.js +1 -1
  346. package/dist/components/co-date-range.js +1 -1
  347. package/dist/components/co-date-time-picker.js +1 -1
  348. package/dist/components/co-document-editor.js +1 -1
  349. package/dist/components/co-drawer.js +1 -1
  350. package/dist/components/co-drive-card.js +1 -1
  351. package/dist/components/co-drop-zone.js +1 -1
  352. package/dist/components/co-emoji-picker.js +1 -1
  353. package/dist/components/co-empty-state.js +1 -1
  354. package/dist/components/co-event-calendar.js +1 -1
  355. package/dist/components/co-event-popover.js +1 -1
  356. package/dist/components/co-fab.js +1 -1
  357. package/dist/components/co-file-field.js +1 -1
  358. package/dist/components/co-file-type-tile.js +1 -1
  359. package/dist/components/co-gradient-bar.js +1 -1
  360. package/dist/components/co-helper-text.js +1 -1
  361. package/dist/components/co-icon-button.js +1 -1
  362. package/dist/components/co-icon.js +1 -1
  363. package/dist/components/co-input.js +1 -1
  364. package/dist/components/co-json-field.js +1 -1
  365. package/dist/components/co-kbd.js +1 -1
  366. package/dist/components/co-lightbox.js +1 -1
  367. package/dist/components/co-list-footer.js +1 -1
  368. package/dist/components/co-list-item.js +1 -1
  369. package/dist/components/co-media-thumb.js +1 -1
  370. package/dist/components/co-menu-divider.js +1 -1
  371. package/dist/components/co-menu-item.js +1 -1
  372. package/dist/components/co-menu.js +1 -1
  373. package/dist/components/co-modal.js +1 -1
  374. package/dist/components/co-navbar.js +1 -1
  375. package/dist/components/co-number-field.js +1 -1
  376. package/dist/components/co-option-list.js +1 -1
  377. package/dist/components/co-overlay.js +1 -1
  378. package/dist/components/co-page-header.js +1 -1
  379. package/dist/components/co-phone-field.js +1 -1
  380. package/dist/components/co-popover.js +1 -1
  381. package/dist/components/co-progress-bar.js +1 -1
  382. package/dist/components/co-progress-circle.js +1 -1
  383. package/dist/components/co-radio-group.js +1 -1
  384. package/dist/components/co-radio.js +1 -1
  385. package/dist/components/co-rating.js +1 -1
  386. package/dist/components/co-ref-field.js +1 -1
  387. package/dist/components/co-rich-text-editor.js +1 -1
  388. package/dist/components/co-rich-text-toolbar.js +1 -1
  389. package/dist/components/co-rich-text-viewer.js +1 -1
  390. package/dist/components/co-row.js +1 -1
  391. package/dist/components/co-segmented-bar.js +1 -1
  392. package/dist/components/co-select.js +1 -1
  393. package/dist/components/co-separator.js +1 -1
  394. package/dist/components/co-sidebar-nav.js +1 -1
  395. package/dist/components/co-sidebar.js +1 -1
  396. package/dist/components/co-skeleton.js +1 -1
  397. package/dist/components/co-slider.js +1 -1
  398. package/dist/components/co-swatch-grid.js +1 -1
  399. package/dist/components/co-switch.js +1 -1
  400. package/dist/components/co-tab-group.js +1 -1
  401. package/dist/components/co-tab.js +1 -1
  402. package/dist/components/co-tags-field.js +1 -1
  403. package/dist/components/co-textarea.js +1 -1
  404. package/dist/components/co-tile.js +1 -1
  405. package/dist/components/co-time-field.js +1 -1
  406. package/dist/components/co-toast.js +1 -1
  407. package/dist/components/co-toggle-button-group.js +1 -1
  408. package/dist/components/co-toggle-button.js +1 -1
  409. package/dist/components/co-tooltip.js +1 -1
  410. package/dist/components/co-transfer-list.js +1 -1
  411. package/dist/components/co-tree-item.js +1 -1
  412. package/dist/components/co-video.js +1 -1
  413. package/dist/components/{p-BQltjDw5.js → p-8XzG8pzY.js} +1 -1
  414. package/dist/components/{p-FA1kBmZ-.js → p-9VoFSbIH.js} +1 -1
  415. package/dist/components/{p-CpGEV0iM.js → p-B3Egz082.js} +1 -1
  416. package/dist/components/{p-Bymi-A7C.js → p-B9wdMd_0.js} +1 -1
  417. package/dist/components/{p-CGH3E8uK.js → p-BI_VaFsx.js} +1 -1
  418. package/dist/components/{p-Dp650Gpp.js → p-BRZci8B3.js} +1 -1
  419. package/dist/components/{p-Dh_eRYKu.js → p-BdmzslA5.js} +1 -1
  420. package/dist/components/{p-C3G8oPgU.js → p-Bw_b_czs.js} +1 -1
  421. package/dist/components/{p-BraiMwgs.js → p-C4sZjIDj.js} +1 -1
  422. package/dist/components/{p-B20o5exO.js → p-C6WHpL5X.js} +1 -1
  423. package/dist/components/p-COozgrEk.js +1 -0
  424. package/dist/components/{p-CfJgypOl.js → p-C_6szR7t.js} +1 -1
  425. package/dist/components/{p-RVQJEYxa.js → p-Ch-Tygdb.js} +1 -1
  426. package/dist/components/{p-ChwSnCFf.js → p-CiYPJW0B.js} +1 -1
  427. package/dist/components/{p-f2xwcrXa.js → p-Cnfd6Zze.js} +1 -1
  428. package/dist/components/{p-C1jZYtUS.js → p-CxWo3qDo.js} +1 -1
  429. package/dist/components/p-D4XP17VP.js +1 -0
  430. package/dist/components/{p-BIDSDP05.js → p-DB8DGMc-.js} +1 -1
  431. package/dist/components/p-DGLDAl09.js +1 -0
  432. package/dist/components/{p-C-f8wTqe.js → p-DhPxNA2f.js} +1 -1
  433. package/dist/components/{p-D9or2g4j.js → p-Dn2wblrA.js} +1 -1
  434. package/dist/components/p-Dnz99Ox_.js +1 -0
  435. package/dist/components/{p-BcXdId8y.js → p-DsuFNmTI.js} +1 -1
  436. package/dist/components/{p-DKXCr-hE.js → p-DymSqdlK.js} +1 -1
  437. package/dist/components/{p-B3kKOgsA.js → p-KK2vAKs-.js} +1 -1
  438. package/dist/components/{p-d4rf3H8p.js → p-TGRbLkLz.js} +1 -1
  439. package/dist/components/{p-BOqtnWTJ.js → p-VcrjNCew.js} +1 -1
  440. package/dist/components/p-wUXcJGdy.js +1 -0
  441. package/dist/esm/co-accordion.entry.js +2 -2
  442. package/dist/esm/co-action-bar.entry.js +2 -2
  443. package/dist/esm/co-app-shell.entry.js +2 -2
  444. package/dist/esm/co-audio-player.entry.js +3 -3
  445. package/dist/esm/co-autocomplete.entry.js +10 -3
  446. package/dist/esm/co-avatar-group.entry.js +2 -2
  447. package/dist/esm/co-avatar.entry.js +1 -1
  448. package/dist/esm/co-badge.entry.js +1 -1
  449. package/dist/esm/co-bottom-sheet.entry.js +4 -4
  450. package/dist/esm/co-breadcrumb-item.entry.js +2 -2
  451. package/dist/esm/co-breadcrumb.entry.js +1 -1
  452. package/dist/esm/co-button-group.entry.js +3 -2
  453. package/dist/esm/co-button.entry.js +6 -6
  454. package/dist/esm/co-calendar-month_2.entry.js +14 -2
  455. package/dist/esm/co-calendar_3.entry.js +9 -5
  456. package/dist/esm/co-card.entry.js +2 -2
  457. package/dist/esm/co-carousel.entry.js +5 -2
  458. package/dist/esm/co-checkbox-group.entry.js +3 -3
  459. package/dist/esm/co-checkbox.entry.js +3 -3
  460. package/dist/esm/co-chip_2.entry.js +16 -6
  461. package/dist/esm/co-color-area.entry.js +2 -2
  462. package/dist/esm/co-color-picker.entry.js +2 -2
  463. package/dist/esm/co-color-slider.entry.js +3 -3
  464. package/dist/esm/co-column-picker.entry.js +22 -2
  465. package/dist/esm/co-combobox.entry.js +3 -3
  466. package/dist/esm/co-command-search.entry.js +4 -4
  467. package/dist/esm/co-data-table-pagination.entry.js +4 -4
  468. package/dist/esm/co-data-table.entry.js +2 -2
  469. package/dist/esm/co-date-picker.entry.js +8 -0
  470. package/dist/esm/co-date-range-picker.entry.js +9 -0
  471. package/dist/esm/co-date-range.entry.js +7 -1
  472. package/dist/esm/co-date-time-picker.entry.js +9 -2
  473. package/dist/esm/co-document-editor.entry.js +9 -3
  474. package/dist/esm/co-drive-card.entry.js +1 -1
  475. package/dist/esm/co-drop-zone.entry.js +1 -1
  476. package/dist/esm/co-emoji-picker.entry.js +2 -2
  477. package/dist/esm/co-empty-state.entry.js +2 -2
  478. package/dist/esm/co-event-calendar.entry.js +4 -2
  479. package/dist/esm/co-event-popover.entry.js +5 -1
  480. package/dist/esm/co-fab.entry.js +6 -2
  481. package/dist/esm/co-file-field.entry.js +10 -6
  482. package/dist/esm/co-file-type-tile.entry.js +2 -2
  483. package/dist/esm/co-gradient-bar.entry.js +2 -2
  484. package/dist/esm/co-helper-text.entry.js +2 -2
  485. package/dist/esm/co-icon-button.entry.js +5 -6
  486. package/dist/esm/co-icon.entry.js +2 -2
  487. package/dist/esm/co-json-field.entry.js +8 -3
  488. package/dist/esm/co-kbd_2.entry.js +3 -3
  489. package/dist/esm/co-list-footer.entry.js +1 -1
  490. package/dist/esm/co-list-item.entry.js +4 -4
  491. package/dist/esm/co-media-thumb.entry.js +2 -2
  492. package/dist/esm/co-menu-divider.entry.js +1 -1
  493. package/dist/esm/co-menu.entry.js +8 -8
  494. package/dist/esm/co-modal.entry.js +37 -11
  495. package/dist/esm/co-navbar.entry.js +2 -2
  496. package/dist/esm/co-number-field.entry.js +9 -3
  497. package/dist/esm/co-overlay.entry.js +205 -34
  498. package/dist/esm/co-page-header.entry.js +1 -1
  499. package/dist/esm/co-popover.entry.js +9 -7
  500. package/dist/esm/co-progress-bar.entry.js +2 -2
  501. package/dist/esm/co-progress-circle.entry.js +2 -2
  502. package/dist/esm/co-provider-logo_2.entry.js +1 -1
  503. package/dist/esm/co-radio-group.entry.js +3 -3
  504. package/dist/esm/co-radio.entry.js +3 -3
  505. package/dist/esm/co-rating.entry.js +10 -3
  506. package/dist/esm/co-ref-field.entry.js +10 -1
  507. package/dist/esm/co-rich-text-editor.entry.js +19 -5
  508. package/dist/esm/co-rich-text-toolbar.entry.js +1 -0
  509. package/dist/esm/co-rich-text-viewer.entry.js +1 -1
  510. package/dist/esm/co-row.entry.js +2 -2
  511. package/dist/esm/co-segmented-bar.entry.js +2 -2
  512. package/dist/esm/co-select.entry.js +19 -6
  513. package/dist/esm/co-separator.entry.js +1 -1
  514. package/dist/esm/co-sidebar-nav.entry.js +2 -2
  515. package/dist/esm/co-sidebar.entry.js +2 -2
  516. package/dist/esm/co-slider.entry.js +8 -2
  517. package/dist/esm/co-swatch-grid.entry.js +1 -1
  518. package/dist/esm/co-switch.entry.js +3 -3
  519. package/dist/esm/co-tab-group.entry.js +2 -2
  520. package/dist/esm/co-tab.entry.js +5 -5
  521. package/dist/esm/co-tags-field.entry.js +10 -5
  522. package/dist/esm/co-tile.entry.js +1 -1
  523. package/dist/esm/co-time-field.entry.js +4 -1
  524. package/dist/esm/co-toast.entry.js +2 -2
  525. package/dist/esm/co-toggle-button-group.entry.js +7 -4
  526. package/dist/esm/co-toggle-button.entry.js +5 -2
  527. package/dist/esm/co-transfer-list.entry.js +6 -2
  528. package/dist/esm/co-tree-item.entry.js +2 -2
  529. package/dist/esm/co-video.entry.js +10 -2
  530. package/dist/esm/cobalt.js +1 -1
  531. package/dist/esm/{index-Cpo8HTwr.js → index-CgyOJePd.js} +1 -1
  532. package/dist/esm/loader.js +1 -1
  533. package/dist/esm/{pagination-D9OfZUnY.js → pagination-BzrIQtrk.js} +26 -2
  534. package/dist/types/components/co-accordion/co-accordion.d.ts +10 -0
  535. package/dist/types/components/co-action-bar/co-action-bar.d.ts +1 -0
  536. package/dist/types/components/co-app-shell/co-app-shell.d.ts +11 -0
  537. package/dist/types/components/co-audio-player/co-audio-player.d.ts +16 -0
  538. package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +21 -0
  539. package/dist/types/components/co-avatar/co-avatar.d.ts +8 -1
  540. package/dist/types/components/co-avatar-group/co-avatar-group.d.ts +5 -0
  541. package/dist/types/components/co-badge/co-badge.d.ts +7 -0
  542. package/dist/types/components/co-bottom-sheet/co-bottom-sheet.d.ts +9 -0
  543. package/dist/types/components/co-breadcrumb/co-breadcrumb.d.ts +4 -0
  544. package/dist/types/components/co-breadcrumb-item/co-breadcrumb-item.d.ts +6 -0
  545. package/dist/types/components/co-button/co-button.d.ts +9 -3
  546. package/dist/types/components/co-button-group/co-button-group.d.ts +7 -0
  547. package/dist/types/components/co-calendar/co-calendar.d.ts +2 -0
  548. package/dist/types/components/co-calendar-timegrid/co-calendar-timegrid.d.ts +23 -0
  549. package/dist/types/components/co-card/co-card.d.ts +9 -0
  550. package/dist/types/components/co-carousel/co-carousel.d.ts +12 -0
  551. package/dist/types/components/co-checkbox/co-checkbox.d.ts +8 -0
  552. package/dist/types/components/co-checkbox-group/co-checkbox-group.d.ts +5 -0
  553. package/dist/types/components/co-chip/co-chip.d.ts +13 -0
  554. package/dist/types/components/co-color-area/co-color-area.d.ts +2 -1
  555. package/dist/types/components/co-color-picker/co-color-picker.d.ts +2 -0
  556. package/dist/types/components/co-color-slider/co-color-slider.d.ts +2 -1
  557. package/dist/types/components/co-column-picker/co-column-picker.d.ts +32 -0
  558. package/dist/types/components/co-combobox/co-combobox.d.ts +14 -0
  559. package/dist/types/components/co-command-search/co-command-search.d.ts +15 -0
  560. package/dist/types/components/co-data-table/co-data-table.d.ts +5 -0
  561. package/dist/types/components/co-data-table-pagination/co-data-table-pagination.d.ts +12 -0
  562. package/dist/types/components/co-date-field/co-date-field.d.ts +11 -0
  563. package/dist/types/components/co-date-picker/co-date-picker.d.ts +30 -0
  564. package/dist/types/components/co-date-range/co-date-range.d.ts +12 -0
  565. package/dist/types/components/co-date-range-picker/co-date-range-picker.d.ts +33 -0
  566. package/dist/types/components/co-date-time-picker/co-date-time-picker.d.ts +21 -0
  567. package/dist/types/components/co-document-editor/co-document-editor.d.ts +9 -1
  568. package/dist/types/components/co-drawer/co-drawer.d.ts +13 -0
  569. package/dist/types/components/co-drive-card/co-drive-card.d.ts +13 -0
  570. package/dist/types/components/co-drop-zone/co-drop-zone.d.ts +6 -1
  571. package/dist/types/components/co-emoji-picker/co-emoji-picker.d.ts +9 -0
  572. package/dist/types/components/co-empty-state/co-empty-state.d.ts +2 -0
  573. package/dist/types/components/co-event-calendar/co-event-calendar.d.ts +12 -16
  574. package/dist/types/components/co-event-popover/co-event-popover.d.ts +13 -0
  575. package/dist/types/components/co-fab/co-fab.d.ts +11 -0
  576. package/dist/types/components/co-file-field/co-file-field.d.ts +6 -0
  577. package/dist/types/components/co-file-type-tile/co-file-type-tile.d.ts +7 -0
  578. package/dist/types/components/co-gradient-bar/co-gradient-bar.d.ts +5 -0
  579. package/dist/types/components/co-helper-text/co-helper-text.d.ts +2 -0
  580. package/dist/types/components/co-icon/co-icon.d.ts +4 -0
  581. package/dist/types/components/co-icon-button/co-icon-button.d.ts +9 -4
  582. package/dist/types/components/co-input/co-input.d.ts +11 -0
  583. package/dist/types/components/co-json-field/co-json-field.d.ts +11 -0
  584. package/dist/types/components/co-kbd/co-kbd.d.ts +7 -0
  585. package/dist/types/components/co-list-footer/co-list-footer.d.ts +3 -0
  586. package/dist/types/components/co-list-item/co-list-item.d.ts +3 -0
  587. package/dist/types/components/co-loader/co-loader.d.ts +5 -0
  588. package/dist/types/components/co-media-thumb/co-media-thumb.d.ts +7 -0
  589. package/dist/types/components/co-menu/co-menu.d.ts +6 -4
  590. package/dist/types/components/co-menu-divider/co-menu-divider.d.ts +1 -0
  591. package/dist/types/components/co-menu-item/co-menu-item.d.ts +2 -0
  592. package/dist/types/components/co-modal/co-modal.d.ts +47 -12
  593. package/dist/types/components/co-navbar/co-navbar.d.ts +2 -0
  594. package/dist/types/components/co-number-field/co-number-field.d.ts +20 -0
  595. package/dist/types/components/co-option-list/co-option-list.d.ts +28 -1
  596. package/dist/types/components/co-overlay/co-overlay.d.ts +39 -1
  597. package/dist/types/components/co-overlay/focusTrap.d.ts +24 -3
  598. package/dist/types/components/co-page-header/co-page-header.d.ts +3 -0
  599. package/dist/types/components/co-popover/co-popover.d.ts +20 -5
  600. package/dist/types/components/co-progress-bar/co-progress-bar.d.ts +3 -0
  601. package/dist/types/components/co-progress-circle/co-progress-circle.d.ts +3 -0
  602. package/dist/types/components/co-provider-logo/co-provider-logo.d.ts +3 -0
  603. package/dist/types/components/co-radio/co-radio.d.ts +8 -0
  604. package/dist/types/components/co-radio-group/co-radio-group.d.ts +5 -0
  605. package/dist/types/components/co-rating/co-rating.d.ts +15 -0
  606. package/dist/types/components/co-ref-field/co-ref-field.d.ts +42 -0
  607. package/dist/types/components/co-rich-text-editor/co-rich-text-editor.d.ts +29 -0
  608. package/dist/types/components/co-rich-text-toolbar/co-rich-text-toolbar.d.ts +3 -0
  609. package/dist/types/components/co-rich-text-viewer/co-rich-text-viewer.d.ts +8 -0
  610. package/dist/types/components/co-row/co-row.d.ts +3 -0
  611. package/dist/types/components/co-segmented-bar/co-segmented-bar.d.ts +6 -0
  612. package/dist/types/components/co-select/co-select.d.ts +26 -0
  613. package/dist/types/components/co-separator/co-separator.d.ts +7 -0
  614. package/dist/types/components/co-sidebar/co-sidebar.d.ts +8 -0
  615. package/dist/types/components/co-sidebar-nav/co-sidebar-nav.d.ts +1 -0
  616. package/dist/types/components/co-skeleton/co-skeleton.d.ts +3 -0
  617. package/dist/types/components/co-slider/co-slider.d.ts +17 -0
  618. package/dist/types/components/co-swatch-grid/co-swatch-grid.d.ts +1 -0
  619. package/dist/types/components/co-switch/co-switch.d.ts +9 -0
  620. package/dist/types/components/co-tab/co-tab.d.ts +11 -3
  621. package/dist/types/components/co-tab-group/co-tab-group.d.ts +9 -0
  622. package/dist/types/components/co-tags-field/co-tags-field.d.ts +11 -0
  623. package/dist/types/components/co-tile/co-tile.d.ts +5 -0
  624. package/dist/types/components/co-time-field/co-time-field.d.ts +5 -0
  625. package/dist/types/components/co-toast/co-toast.d.ts +9 -0
  626. package/dist/types/components/co-toggle-button/co-toggle-button.d.ts +8 -0
  627. package/dist/types/components/co-toggle-button-group/co-toggle-button-group.d.ts +12 -2
  628. package/dist/types/components/co-tooltip/co-tooltip.d.ts +10 -0
  629. package/dist/types/components/co-transfer-list/co-transfer-list.d.ts +12 -0
  630. package/dist/types/components/co-tree-item/co-tree-item.d.ts +2 -0
  631. package/dist/types/components/co-video/co-video.d.ts +31 -0
  632. package/dist/types/components.d.ts +2223 -40
  633. package/package.json +2 -2
  634. package/dist/cobalt/p-1bfb69ae.entry.js +0 -1
  635. package/dist/cobalt/p-2794c500.entry.js +0 -1
  636. package/dist/cobalt/p-B1JT7us1.js +0 -1
  637. package/dist/cobalt/p-b2b13da8.entry.js +0 -1
  638. package/dist/cobalt/p-b9dfb333.entry.js +0 -1
  639. package/dist/cobalt/p-bc4fbfa6.entry.js +0 -1
  640. package/dist/cobalt/p-d75d2f3d.entry.js +0 -1
  641. package/dist/cobalt/p-f246946a.entry.js +0 -1
  642. package/dist/cobalt/p-f60bd4d6.entry.js +0 -1
  643. package/dist/components/p-B1JT7us1.js +0 -1
  644. package/dist/components/p-BR0LYW9v.js +0 -1
  645. package/dist/components/p-BZDl9aFl.js +0 -1
  646. package/dist/components/p-DfcPGitr.js +0 -1
  647. package/dist/components/p-Dg-Ti_Bf.js +0 -1
  648. /package/dist/cobalt/{p-05000ef3.entry.js → p-6974df59.entry.js} +0 -0
  649. /package/dist/cobalt/{p-ffbe955a.entry.js → p-71dc8e4a.entry.js} +0 -0
  650. /package/dist/cobalt/{p-297b55cd.entry.js → p-77e0d401.entry.js} +0 -0
  651. /package/dist/cobalt/{p-4c6caa41.entry.js → p-c567533e.entry.js} +0 -0
@@ -140,11 +140,17 @@ const CoNumberField = class {
140
140
  this.required = false;
141
141
  /** Label layout: vertical (label above) or horizontal (label beside) */
142
142
  this.layout = 'vertical';
143
+ /** Estado de validación: pinta el borde y el `helperText` con el color del estado. */
143
144
  this.status = 'default';
145
+ /** Valor numérico (reflejado); `null` = vacío (solo alcanzable con `clearable`). El componente lo actualiza. */
144
146
  this.value = 0;
147
+ /** Paso de los botones −/+ y de las flechas (default 1). */
145
148
  this.step = 1;
149
+ /** Deshabilita el campo y los botones. */
146
150
  this.disabled = false;
151
+ /** Placeholder del campo vacío (default `'0'`). */
147
152
  this.placeholder = '0';
153
+ /** Alto del campo: `s` 28 · `sm` 32 · `md` 40 (default) · `lg` 48. */
148
154
  this.size = 'md';
149
155
  /** Show clear button when the field has a value */
150
156
  this.clearable = false;
@@ -424,18 +430,18 @@ const CoNumberField = class {
424
430
  return this.scaled && !this.isEmpty ? '%' : null;
425
431
  }
426
432
  render() {
427
- return (h("div", { key: 'cfe8c799eba592d7eab1bf8fc7dfc3a143123206', class: {
433
+ return (h("div", { key: 'cf4d63ce0278fd8f429aa4bf541497b7cf178ffe', class: {
428
434
  'co-number-field': true,
429
435
  'co-number-field--disabled': this.disabled,
430
436
  'co-number-field--focused': this.focused,
431
437
  [`co-number-field--${this.size}`]: true,
432
438
  [`co-number-field--${this.status}`]: this.status !== 'default',
433
- } }, (this.label || this.secondaryLabel) && (h("div", { key: 'b15f9ddc1de6c026d92ee4776dc9209359d9a33b', class: "co-number-field__labels" }, this.label && h("label", { key: '449cb18609fa0aafe53cfd8eea7f2ea30e1b822c', class: "co-number-field__label" }, this.label, h(RequiredMark, { key: '87e3da885243de08bce2e63c6d94eaf0b5ec374c', required: this.required })), this.secondaryLabel && h("span", { key: 'eccc1dba84e28783d2c15f442ec7713e24b0a4e2', class: "co-number-field__secondary-label" }, this.secondaryLabel))), h("div", { key: '6afdf37dd4e52fe7ec168bea6cb84a15f7f67414', class: "co-number-field__row", part: "row" }, !this.hideControls && (h("button", { key: 'b858fc8ae0c6cfcf4e4ee7c30e11d967a0aa2e0e', class: "co-number-field__btn co-number-field__btn--minus", type: "button", tabIndex: -1, disabled: !this.canDecrement, onClick: this.handleDecrement, "aria-label": "Decrease" }, h("co-icon", { key: '37e7b6b9ddeb72ed33f9131ee010149e64cdf509', name: "minus", size: 16 }))), h("input", { key: 'a9656744984f93fe8955fb46afd28735a31b439a', ref: el => (this.inputEl = el), class: "co-number-field__input", type: "text", inputMode: "decimal",
439
+ } }, (this.label || this.secondaryLabel) && (h("div", { key: 'ecf9fd16f18a3ebbaef5b81b0c8ae41b80f04abf', class: "co-number-field__labels" }, this.label && h("label", { key: '7602d901e085e3380dff2a355d61ac1dc515428b', class: "co-number-field__label" }, this.label, h(RequiredMark, { key: '361743bf41c66ff28ceec00aba583328f2404713', required: this.required })), this.secondaryLabel && h("span", { key: 'ec9af4b27f3915704ef89ed6f51e7184eb5e1dd4', class: "co-number-field__secondary-label" }, this.secondaryLabel))), h("div", { key: '30f1716aed06da03f924fa1da2b2ab29dbede0bb', class: "co-number-field__row", part: "row" }, !this.hideControls && (h("button", { key: '1dbee1178df2a86e54ae42572a20ecf30484b8bc', class: "co-number-field__btn co-number-field__btn--minus", type: "button", tabIndex: -1, disabled: !this.canDecrement, onClick: this.handleDecrement, "aria-label": "Decrease" }, h("co-icon", { key: '40f61bd3774fb03b6aaceaef006dd45f2df260d3', name: "minus", size: 16 }))), h("input", { key: '254a74cd61a2776a69953965f8b289267b25fbb2', ref: el => (this.inputEl = el), class: "co-number-field__input", type: "text", inputMode: "decimal",
434
440
  // Mismo guard `focused` que el @Watch: mientras el usuario edita, su
435
441
  // texto manda. Sin esto, el re-render que dispara emitValue repinta
436
442
  // el input desde el NÚMERO y se come el texto en construcción
437
443
  // ("34,640.00" pegado quedaba "34,640"; un "12." perdería el punto).
438
- value: this.focused && this.inputEl ? this.inputEl.value : this.displayValue, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleInput, onPaste: this.handlePaste, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, part: "input" }), this.affixText && (h("span", { key: 'a2a7a46bc8e2ad04a4577d0ab32444deab4f4948', class: "co-number-field__affix", "aria-hidden": "true" }, this.affixText)), this.clearable && !this.isEmpty && !this.disabled && (h("button", { key: '4123b22bb2412768a68daaedf02585209f605998', class: "co-number-field__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: '103adae6937baaa8b9ce6abb8c5b4a262b18a237', name: "x-circle", size: 16, weight: "fill" }))), h("slot", { key: 'e55d3dc0bbe1fc1cb4a46356c6851f508d04e73b', name: "suffix" }), !this.hideControls && (h("button", { key: '37c01ae815d19c01dfb977175cea070486964670', class: "co-number-field__btn co-number-field__btn--plus", type: "button", tabIndex: -1, disabled: !this.canIncrement, onClick: this.handleIncrement, "aria-label": "Increase" }, h("co-icon", { key: '02d8b9b44d3a3193d8036e7ce46be922bc1304e3', name: "plus", size: 16 })))), this.helperText && (h("div", { key: '2f72a4dcdfb96e186534c7ada315dad9dbd8b874', class: `co-number-field__helper co-number-field__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: 'a7ad565fedf3799847b884f187ec8c9992ce4c0a', name: this.statusIcon, size: 14, weight: "fill", class: "co-number-field__helper-icon" }), h("span", { key: '122017cba05350b34dfbf2f9f6f7d14c41550904', class: "co-number-field__helper-text" }, this.helperText)))));
444
+ value: this.focused && this.inputEl ? this.inputEl.value : this.displayValue, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleInput, onPaste: this.handlePaste, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, part: "input" }), this.affixText && (h("span", { key: '836ea4e4cba0b21a36b1017d6fc0c4d621d69e56', class: "co-number-field__affix", "aria-hidden": "true" }, this.affixText)), this.clearable && !this.isEmpty && !this.disabled && (h("button", { key: '5eefa937a055dea1855d1bc3bae675003d8382c8', class: "co-number-field__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: '096dec8d88b7b241cd83a04788bc4db05feec585', name: "x-circle", size: 16, weight: "fill" }))), h("slot", { key: '1ea7d1ff2c61d74b0884e7b8f1b7b54de4978876', name: "suffix" }), !this.hideControls && (h("button", { key: '9ae95697534b85dcd928c0d0e7f72a3b8c5402c7', class: "co-number-field__btn co-number-field__btn--plus", type: "button", tabIndex: -1, disabled: !this.canIncrement, onClick: this.handleIncrement, "aria-label": "Increase" }, h("co-icon", { key: 'af526ac4278865052f32ae7359a571aa485492af', name: "plus", size: 16 })))), this.helperText && (h("div", { key: '9bad3ffd8c70ce49205132f9f73294a83b6ebbc3', class: `co-number-field__helper co-number-field__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '4987bc82011c4bb93e1bd00ef1ffd45d2e8681f4', name: this.statusIcon, size: 14, weight: "fill", class: "co-number-field__helper-icon" }), h("span", { key: '8eac5821653dc0110113f94833e13f27411188a7', class: "co-number-field__helper-text" }, this.helperText)))));
439
445
  }
440
446
  get el() { return getElement(this); }
441
447
  static get watchers() { return {
@@ -55,20 +55,112 @@ function resolveTabIndex(count, activeIndex, shiftKey) {
55
55
  // Forward: from the last element (or from outside) wrap to the first.
56
56
  return activeIndex === -1 || activeIndex >= count - 1 ? 0 : activeIndex + 1;
57
57
  }
58
+ // ── Recorrido compuesto (QA 2026-09-24, «Generar contrato» de contratos V2) ──
59
+ // El foco nunca entraba ni quedaba atrapado en un co-modal: `getFocusableElements`
60
+ // solo mira el light DOM de co-overlay (el frame del modal: el ✕). El contenido
61
+ // del consumidor llega por DOS <slot> (el de co-overlay y el del frame) y los
62
+ // controles reales viven en el shadow de cada co-* (el <button> de co-button, el
63
+ // <input> de co-input). El recorrido sigue el árbol PLANO: baja por shadowRoots
64
+ // y, en cada <slot>, por sus asignados — o por su contenido por defecto si no
65
+ // tiene. Todo esto corre solo en el navegador (abrir la trampa / cada Tab).
66
+ /** Hijos en el árbol plano: el shadow del host, los asignados de un slot o los hijos. */
67
+ function composedChildren(el) {
68
+ if (el.shadowRoot)
69
+ return Array.from(el.shadowRoot.children);
70
+ if (el.tagName === 'SLOT') {
71
+ const assigned = el.assignedElements({ flatten: true });
72
+ return assigned.length ? assigned : Array.from(el.children);
73
+ }
74
+ return Array.from(el.children);
75
+ }
76
+ /** Subárbol fuera de la trampa entero: oculto a AT o inerte. */
77
+ function isExcludedSubtree(el) {
78
+ return el.getAttribute('aria-hidden') === 'true' || el.hasAttribute('inert');
79
+ }
80
+ /**
81
+ * Parada de Tab: matchea el selector, no está deshabilitado, no se sacó del
82
+ * orden con tabindex negativo (los botones internos de un trigger co-* —clear,
83
+ * chips— van con `tabIndex={-1}`, y `button:not([disabled])` los matchearía
84
+ * igual), tiene caja (offsetParent null = display:none; getClientRects cubre
85
+ * position:fixed) y no es `visibility:hidden`: un acordeón o fieldset colapsado
86
+ * conserva la caja pero el navegador no le da el foco, y la trampa lo elegiría
87
+ * igual → Tab clavado (WCAG 2.1.2). Sin la API (navegador viejo, jsdom) no filtra.
88
+ */
89
+ function isTabStop(el) {
90
+ var _a, _b;
91
+ if (!((_a = el.matches) === null || _a === void 0 ? void 0 : _a.call(el, FOCUSABLE_SELECTOR)) || el.hasAttribute('disabled'))
92
+ return false;
93
+ const tabindex = el.getAttribute('tabindex');
94
+ if (tabindex !== null && Number(tabindex) < 0)
95
+ return false;
96
+ if (el.offsetParent === null && el.getClientRects().length === 0)
97
+ return false;
98
+ return ((_b = el.checkVisibility) === null || _b === void 0 ? void 0 : _b.call(el, { visibilityProperty: true })) !== false;
99
+ }
58
100
  /**
59
- * Collect the tabbable elements slotted into the overlay's light DOM, skipping
60
- * hidden / aria-hidden ones. (Focusables nested inside further shadow roots are
61
- * out of scope — the common dialog/modal content lives in the slotted subtree.)
101
+ * Recorre en orden del árbol plano los descendientes compuestos de `root` (sin
102
+ * incluirlo) hasta que `visit` devuelve true. Poda aria-hidden / inert.
62
103
  */
63
- function getFocusableElements(root) {
64
- const nodes = Array.from(root.querySelectorAll(FOCUSABLE_SELECTOR));
65
- return nodes.filter((el) => !el.hasAttribute('disabled') &&
66
- el.getAttribute('aria-hidden') !== 'true' &&
67
- // offsetParent is null for display:none; getClientRects covers position:fixed.
68
- (el.offsetParent !== null || el.getClientRects().length > 0));
104
+ function walkComposed(root, visit) {
105
+ const step = (node) => {
106
+ if (isExcludedSubtree(node))
107
+ return false;
108
+ if (visit(node))
109
+ return true;
110
+ return composedChildren(node).some(step);
111
+ };
112
+ composedChildren(root).some(step);
113
+ }
114
+ /** Primer descendiente compuesto que cumple `match`, en orden del árbol plano. */
115
+ function findComposed(root, match) {
116
+ let found = null;
117
+ walkComposed(root, (el) => {
118
+ if (!match(el))
119
+ return false;
120
+ found = el;
121
+ return true;
122
+ });
123
+ return found;
124
+ }
125
+ /**
126
+ * Paradas de Tab dentro de `root` en el árbol COMPUESTO (shadowRoots + slots
127
+ * asignados), con las mismas exclusiones que `getFocusableElements`.
128
+ */
129
+ function getComposedFocusables(root) {
130
+ const out = [];
131
+ walkComposed(root, (el) => {
132
+ if (isTabStop(el))
133
+ out.push(el);
134
+ return false;
135
+ });
136
+ return out;
137
+ }
138
+ /**
139
+ * Dónde cae el foco al abrir la trampa: el primer `[autofocus]` del recorrido
140
+ * compuesto —si es un host con shadow (`<co-input autofocus>`), su primer
141
+ * enfocable compuesto—; si no hay, la primera parada de Tab. `null` = nada
142
+ * enfocable (el llamador cae al contenedor).
143
+ */
144
+ function resolveInitialFocus(root) {
145
+ const autofocus = findComposed(root, (el) => el.hasAttribute('autofocus'));
146
+ if (autofocus) {
147
+ if (isTabStop(autofocus))
148
+ return autofocus;
149
+ const inner = autofocus.shadowRoot ? getComposedFocusables(autofocus)[0] : undefined;
150
+ if (inner)
151
+ return inner;
152
+ }
153
+ return findComposed(root, isTabStop);
154
+ }
155
+ /**
156
+ * Con dos trampas abiertas (un confirm sobre un modal, un modal anidado) las dos
157
+ * escuchan el keydown de document: solo la capa MÁS RECIENTE maneja Tab.
158
+ */
159
+ function isTopTrap(stack, id) {
160
+ return stack.length > 0 && stack[stack.length - 1] === id;
69
161
  }
70
162
 
71
- const coOverlayCss = () => `:host{display:contents}.co-overlay{position:fixed;inset:0;z-index:1000;margin:0;border:0;padding:0;width:auto;height:auto;max-width:none;max-height:none;overflow:visible;display:flex;align-items:center;justify-content:center;background:var(--co-overlay-bg, rgba(0, 0, 0, 0.4));-webkit-backdrop-filter:blur(var(--co-overlay-blur, 2px));backdrop-filter:blur(var(--co-overlay-blur, 2px));opacity:0;pointer-events:none;transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-in)}.co-overlay--open{opacity:1;pointer-events:auto;transition:opacity var(--co-motion-duration-base) var(--co-motion-ease-out)}`;
163
+ const coOverlayCss = () => `:host{display:contents}.co-overlay{position:fixed;inset:0;z-index:1000;margin:0;border:0;padding:0;width:auto;height:auto;max-width:none;max-height:none;overflow:visible;display:flex;align-items:center;justify-content:center;background:var(--co-overlay-bg, rgba(0, 0, 0, 0.4));-webkit-backdrop-filter:blur(var(--co-overlay-blur, 2px));backdrop-filter:blur(var(--co-overlay-blur, 2px));opacity:0;pointer-events:none;transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-in)}.co-overlay--open{opacity:1;pointer-events:auto;transition:opacity var(--co-motion-duration-base) var(--co-motion-ease-out)}.co-overlay--refront{transition:none !important}`;
72
164
 
73
165
  /**
74
166
  * Module-level body-scroll lock shared by every overlay instance.
@@ -96,6 +188,16 @@ function unlockBodyScroll() {
96
188
  document.body.style.overflow = savedOverflow;
97
189
  }
98
190
  }
191
+ /**
192
+ * Pila de trampas de foco ABIERTAS, compartida por todas las instancias (como el
193
+ * scroll lock). Todas escuchan el keydown de document: con un confirm encima de
194
+ * un modal, las dos movían el foco en el mismo Tab. Solo la capa más reciente
195
+ * (`isTopTrap`) maneja Tab y el foco inicial.
196
+ */
197
+ const trapStack = [];
198
+ let trapSeq = 0;
199
+ /** Clase del div mientras dura el re-apilado de `bringToFront()` (ver co-overlay.css). */
200
+ const REFRONT_CLASS = 'co-overlay--refront';
99
201
  function nextFrame(cb) {
100
202
  if (typeof requestAnimationFrame === 'function')
101
203
  requestAnimationFrame(cb);
@@ -115,6 +217,11 @@ const CoOverlay = class {
115
217
  * previously-focused element, moves focus into the overlay, cycles Tab /
116
218
  * Shift+Tab within the slotted content, and restores focus on close.
117
219
  * Default false → existing consumers are unchanged.
220
+ *
221
+ * The walk is COMPOSED (shadow roots + assigned slots): it reaches the
222
+ * consumer's content projected through a host's slots and the inner control
223
+ * of every co-* (a co-button's `<button>`). With several traps open, only the
224
+ * most recent one handles Tab.
118
225
  */
119
226
  this.trapFocus = false;
120
227
  /**
@@ -124,6 +231,10 @@ const CoOverlay = class {
124
231
  this.closeOnEscape = false;
125
232
  /** Whether THIS instance currently holds a scroll lock (prevents double-count). */
126
233
  this.hasLock = false;
234
+ /** Identidad de esta instancia en `trapStack`. */
235
+ this.trapId = `co-overlay-trap-${++trapSeq}`;
236
+ /** Whether THIS instance is currently in `trapStack` (prevents double push). */
237
+ this.trapping = false;
127
238
  // Origen de la pulsación en curso (ver isBackdropDismiss): un drag que
128
239
  // empieza dentro del contenido y suelta en el fondo NO es un cierre —el
129
240
  // navegador despacha ese `click` al ancestro común, el propio scrim—, ni
@@ -165,27 +276,55 @@ const CoOverlay = class {
165
276
  else
166
277
  this.releaseLock();
167
278
  this.syncPopover();
168
- if (this.trapFocus) {
169
- if (isOpen)
170
- this.captureAndFocus();
171
- else
172
- this.restoreFocus();
173
- }
279
+ this.syncTrap();
280
+ }
281
+ onTrapFocusChange() {
282
+ this.syncTrap();
174
283
  }
175
284
  componentDidLoad() {
176
285
  // Handle the case where the overlay mounts already open.
177
286
  if (this.open)
178
287
  this.acquireLock();
179
288
  this.syncPopover();
180
- if (this.open && this.trapFocus)
181
- this.captureAndFocus();
289
+ this.syncTrap();
182
290
  }
183
291
  disconnectedCallback() {
184
292
  // Safety: never leave the body locked if removed while open.
185
293
  this.releaseLock();
186
- // Safety: return focus if we were removed while trapping.
187
- if (this.trapFocus)
188
- this.restoreFocus();
294
+ // Safety: leave the trap stack and return focus if removed while trapping.
295
+ this.releaseTrap();
296
+ }
297
+ /**
298
+ * Re-promueve el scrim al TOPE del top layer (QA 2026-09-24, «Generar
299
+ * contrato»): un drawer abierto DESPUÉS de un modal pintaba encima, porque en
300
+ * el top layer gana el último promovido y no hay z-index que lo corrija.
301
+ * `hidePopover()` + `showPopover()` lo vuelven a meter último.
302
+ *
303
+ * No es un cierre: no emite `coClose` / `coAfterClose` / `coAfterOpen`, no
304
+ * toca `open` ni el scroll lock, y no re-anima la entrada (la clase
305
+ * `co-overlay--refront` anula la transición durante el re-show y se retira en
306
+ * el frame siguiente). Tampoco mueve el foco: si el re-show dispara los
307
+ * «popover focusing steps» (un `[autofocus]` adentro), se devuelve a donde
308
+ * estaba. No-op cerrado, sin Popover API o fuera del top layer.
309
+ */
310
+ async bringToFront() {
311
+ const el = this.overlayEl;
312
+ if (!this.open || !el || typeof el.showPopover !== 'function')
313
+ return;
314
+ if (!el.matches(':popover-open'))
315
+ return;
316
+ const active = this.deepActiveElement();
317
+ el.classList.add(REFRONT_CLASS);
318
+ try {
319
+ el.hidePopover();
320
+ el.showPopover();
321
+ }
322
+ catch (_a) {
323
+ /* desconectado entre medio: no hay nada que re-apilar */
324
+ }
325
+ if (active && active.isConnected && this.deepActiveElement() !== active)
326
+ active.focus({ preventScroll: true });
327
+ nextFrame(() => el.classList.remove(REFRONT_CLASS));
189
328
  }
190
329
  acquireLock() {
191
330
  if (this.hasLock)
@@ -223,19 +362,43 @@ const CoOverlay = class {
223
362
  /* not connected yet, or already in the desired state */
224
363
  }
225
364
  }
226
- /** Record the current focus and move it into the overlay (guarded by trapFocus). */
365
+ /** La trampa está activa exactamente mientras el overlay está abierto con `trapFocus`. */
366
+ syncTrap() {
367
+ if (this.open && this.trapFocus)
368
+ this.engageTrap();
369
+ else
370
+ this.releaseTrap();
371
+ }
372
+ engageTrap() {
373
+ if (this.trapping)
374
+ return;
375
+ this.trapping = true;
376
+ trapStack.push(this.trapId);
377
+ this.captureAndFocus();
378
+ }
379
+ releaseTrap() {
380
+ if (!this.trapping)
381
+ return;
382
+ this.trapping = false;
383
+ const i = trapStack.indexOf(this.trapId);
384
+ if (i >= 0)
385
+ trapStack.splice(i, 1);
386
+ this.restoreFocus();
387
+ }
388
+ /** Record the current focus and move it into the overlay (only while trapping). */
227
389
  captureAndFocus() {
228
- if (typeof document !== 'undefined') {
229
- this.returnFocusEl = document.activeElement;
230
- }
390
+ // El activo PROFUNDO: `document.activeElement` se queda en el host de un
391
+ // co-* (co-button), cuyo focus() no llega al <button> interno.
392
+ this.returnFocusEl = this.deepActiveElement();
231
393
  // Defer so slotted content / the open transition is ready to take focus.
232
394
  nextFrame(() => {
233
395
  var _a;
234
- if (!this.open)
396
+ // Una trampa abierta en el mismo frame por ENCIMA (confirm) se queda el foco.
397
+ if (!this.open || !this.trapping || !isTopTrap(trapStack, this.trapId))
235
398
  return;
236
- const focusables = getFocusableElements(this.el);
237
- if (focusables.length > 0)
238
- focusables[0].focus();
399
+ const target = resolveInitialFocus(this.el);
400
+ if (target)
401
+ target.focus();
239
402
  else
240
403
  (_a = this.overlayEl) === null || _a === void 0 ? void 0 : _a.focus();
241
404
  });
@@ -244,8 +407,9 @@ const CoOverlay = class {
244
407
  restoreFocus() {
245
408
  const target = this.returnFocusEl;
246
409
  this.returnFocusEl = null;
247
- if (target && typeof target.focus === 'function')
248
- target.focus();
410
+ // Desmontado mientras el overlay estaba abierto (el paso de un wizard): no hay adónde volver.
411
+ if (target && target.isConnected && typeof target.focus === 'function')
412
+ target.focus({ preventScroll: true });
249
413
  }
250
414
  /** Deepest active element, descending through nested shadow roots. */
251
415
  deepActiveElement() {
@@ -264,12 +428,16 @@ const CoOverlay = class {
264
428
  this.coClose.emit();
265
429
  return;
266
430
  }
267
- if (this.trapFocus && e.key === 'Tab')
431
+ if (this.trapping && e.key === 'Tab' && isTopTrap(trapStack, this.trapId))
268
432
  this.trapTab(e);
269
433
  }
270
434
  trapTab(e) {
271
435
  var _a;
272
- const focusables = getFocusableElements(this.el);
436
+ // Tab ya manejado por un control de adentro (co-tags-field agrega el tag, las listas de co-rich-text y
437
+ // CodeMirror indentan): el listener de document corre DESPUÉS y no le roba el foco.
438
+ if (e.defaultPrevented)
439
+ return;
440
+ const focusables = getComposedFocusables(this.el);
273
441
  if (focusables.length === 0) {
274
442
  // Nothing to move to — keep focus pinned to the overlay container.
275
443
  e.preventDefault();
@@ -284,12 +452,15 @@ const CoOverlay = class {
284
452
  focusables[nextIndex].focus();
285
453
  }
286
454
  render() {
287
- return (h("div", { key: '842f23e0829dcb9138f3fd35c86471035949517c', class: { 'co-overlay': true, 'co-overlay--open': this.open }, part: "overlay", popover: "manual", tabindex: this.trapFocus ? -1 : undefined, ref: (el) => (this.overlayEl = el), onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onClick: this.handleClick, onTransitionEnd: this.handleTransitionEnd }, h("slot", { key: '645b336ce50938672fc09a27a15ef314250beaf2' })));
455
+ return (h("div", { key: 'e18d7b0e3ebd4933a78a9f2d39af6058ce429105', class: { 'co-overlay': true, 'co-overlay--open': this.open }, part: "overlay", popover: "manual", tabindex: this.trapFocus ? -1 : undefined, ref: (el) => (this.overlayEl = el), onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onClick: this.handleClick, onTransitionEnd: this.handleTransitionEnd }, h("slot", { key: '2f29233d44de8a0cc3100cfa08233cdc10ebf352' })));
288
456
  }
289
457
  get el() { return getElement(this); }
290
458
  static get watchers() { return {
291
459
  "open": [{
292
460
  "onOpenChange": 0
461
+ }],
462
+ "trapFocus": [{
463
+ "onTrapFocusChange": 0
293
464
  }]
294
465
  }; }
295
466
  };
@@ -7,7 +7,7 @@ const CoPageHeader = class {
7
7
  registerInstance(this, hostRef);
8
8
  }
9
9
  render() {
10
- return (h("div", { key: 'e3a67a921d1a5c5ac8a91d1bbf76efc5d1dc6e54', class: "co-page-header", part: "page-header" }, h("div", { key: 'c1487cedf194477595bb176c381d5e839a70571e', class: "co-page-header__left" }, this.icon && (h("span", { key: 'd07f12f586c1e42fb85a06c8a7cc634778a939e5', class: "co-page-header__icon" }, h("co-icon", { key: '0224fac27acc073beccd0d59b39e3714732b3fcc', name: this.icon, size: 24 }))), h("span", { key: 'c19700b850224b46a175c4a5fb082a7898842c7e', class: "co-page-header__title" }, h("slot", { key: '3e7426edb3999085f9791ed7fb9fb74b82e4227e' }, this.heading))), h("div", { key: 'ca4dd0bd5c5d553eb6adb80cc3d2093ea9dd4d2b', class: "co-page-header__actions" }, h("slot", { key: '3f108386752ebd1a740ab97c5f7fc8535a55f853', name: "actions" }))));
10
+ return (h("div", { key: '18d15d7b241f92bbd121fd6547832a30f4404928', class: "co-page-header", part: "page-header" }, h("div", { key: 'cbf4427991e3b43775a1d47c95f953ef79d71c77', class: "co-page-header__left" }, this.icon && (h("span", { key: '647701102f261fc214a0a4347894ba275da1ed7d', class: "co-page-header__icon" }, h("co-icon", { key: 'd377f2f5cbfa190cb483fe4a6ff2a483f9053f7b', name: this.icon, size: 24 }))), h("span", { key: 'ccf59184d2154c89fc90ccddfffc8dfc8c07b72b', class: "co-page-header__title" }, h("slot", { key: '34dd64e79e72cb154c63b16f72c2ec58193d9988' }, this.heading))), h("div", { key: 'e2f1d119629a3b9479896cf2338625ad775b8556', class: "co-page-header__actions" }, h("slot", { key: '62ee162b3388968ee1930a2c3ab20e45b34a2d65', name: "actions" }))));
11
11
  }
12
12
  };
13
13
  CoPageHeader.style = coPageHeaderCss();
@@ -59,7 +59,7 @@ const CoPopover = class {
59
59
  /** Flip placement when the panel would overflow the viewport. */
60
60
  this.flip = true;
61
61
  /**
62
- * El panel no pinta fondo/borde/sombra propios (Task C10, Fase 2 Cobalt):
62
+ * El panel no pinta fondo/borde/sombra propios:
63
63
  * para alojar un `co-menu` (u otro contenido con su propio chrome) sin
64
64
  * "doble chrome". Reflejado como atributo `bare`. Default `false` = panel
65
65
  * con el fondo/borde/sombra de siempre (`--co-popover-border-color` /
@@ -67,8 +67,7 @@ const CoPopover = class {
67
67
  */
68
68
  this.bare = false;
69
69
  /**
70
- * Desplazamiento en px sobre el eje CRUZADO del `placement` (Task C10, Fase
71
- * 2 Cobalt): con un placement vertical (`top*`/`bottom*`) mueve `left`; con
70
+ * Desplazamiento en px sobre el eje CRUZADO del `placement`: con un placement vertical (`top*`/`bottom*`) mueve `left`; con
72
71
  * uno horizontal (`left*`/`right*`) mueve `top`. Default 0 = sin cambio.
73
72
  *
74
73
  * ⚠️ Se aplica ANTES del clamp de 4px a los bordes del viewport (ver
@@ -185,7 +184,7 @@ const CoPopover = class {
185
184
  width: this.panelEl.offsetWidth,
186
185
  height: this.panelEl.offsetHeight,
187
186
  });
188
- // Task C10 (Fase 2 Cobalt): `anchor` sin resolver (prop ausente, o
187
+ // `anchor` sin resolver (prop ausente, o
189
188
  // selector sin match en `document`) → `anchorRect` queda undefined y
190
189
  // computePosition cae a `triggerRect` — mismo resultado que hoy.
191
190
  const anchorEl = this.resolveAnchor();
@@ -333,17 +332,20 @@ const CoPopover = class {
333
332
  this.pressStartedInside = false;
334
333
  }
335
334
  // ── Public methods ─────────────────────────────────────────
335
+ /** Abre o cierra el panel. */
336
336
  async toggle() {
337
337
  this.open = !this.open;
338
338
  }
339
+ /** Abre el panel. */
339
340
  async show() {
340
341
  this.open = true;
341
342
  }
343
+ /** Cierra el panel. */
342
344
  async hide() {
343
345
  this.open = false;
344
346
  }
345
347
  /**
346
- * Resuelve la prop `anchor` a un elemento (Task C10, Fase 2 Cobalt):
348
+ * Resuelve la prop `anchor` a un elemento:
347
349
  * - `HTMLElement` → se usa tal cual.
348
350
  * - `string` → selector resuelto contra `document`; sin match, `null`
349
351
  * (el llamador cae a `triggerRect`, el comportamiento de siempre).
@@ -413,13 +415,13 @@ const CoPopover = class {
413
415
  }
414
416
  // ── Render ─────────────────────────────────────────────────
415
417
  render() {
416
- return (h("div", { key: '662c5cf02c52e80ab1367b7bf5418a5314449b93', class: "co-popover" }, h("div", { key: '067b11518b303acbfdb695d339d5fc3a1c709413', class: "co-popover__trigger", ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick }, h("slot", { key: 'b186427b3c97ff65beda554f0c54e0e4bd91b44b', name: "trigger" })), (this.open || this.closing) && (h("div", { key: '2e905ee909de4e8c89baefd0ad5218f5a5446ec9', class: { 'co-popover__panel': true, 'co-popover__panel--closing': this.closing }, part: "panel", popover: "manual", onTransitionEnd: this.handlePanelTransitionEnd, ref: (el) => {
418
+ return (h("div", { key: 'f9c23cf5b7beb42230fbc37e6aacb9d8423a2c34', class: "co-popover" }, h("div", { key: '255b7a3b713719283e3b4a6d65ed520661b4e40b', class: "co-popover__trigger", ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick }, h("slot", { key: '82c7133648e7c55db263f1abae8902c3ab579d27', name: "trigger" })), (this.open || this.closing) && (h("div", { key: '990ca1400e5e19d6614dbc7b43e78b116626e1b0', class: { 'co-popover__panel': true, 'co-popover__panel--closing': this.closing }, part: "panel", popover: "manual", onTransitionEnd: this.handlePanelTransitionEnd, ref: (el) => {
417
419
  if (el && el !== this.panelEl) {
418
420
  this.panelEl = el;
419
421
  this.promotePanel();
420
422
  this.scheduleUpdate();
421
423
  }
422
- } }, h("slot", { key: '2220a6e8efdee1ec51c4c3d33eb1b016f0619f48' })))));
424
+ } }, h("slot", { key: 'fb635cf42e7866b055a59aaf471bab5bca995afb' })))));
423
425
  }
424
426
  get el() { return getElement(this); }
425
427
  static get watchers() { return {
@@ -19,12 +19,12 @@ const CoProgressBar = class {
19
19
  render() {
20
20
  const clamped = Math.max(0, Math.min(100, this.value));
21
21
  const indeterminate = this.indeterminate;
22
- return (h("div", { key: 'c2286f839f8f8f472e76bcad9d3f77962112bf8f', class: {
22
+ return (h("div", { key: '73ffc3d2dedc7a87e2552a75b61a56199f60edb6', class: {
23
23
  'co-progress-bar': true,
24
24
  [`co-progress-bar--${this.status}`]: true,
25
25
  [`co-progress-bar--${this.variant}`]: true,
26
26
  'co-progress-bar--indeterminate': indeterminate,
27
- }, role: "progressbar", "aria-valuenow": indeterminate ? undefined : clamped, "aria-valuemin": 0, "aria-valuemax": 100, part: "bar", style: { height: `${this.thickness}px` } }, h("div", { key: '2fe1138f2caac250117c14cc51aec68be76f48d8', class: "co-progress-bar__fill", style: indeterminate ? undefined : { width: `${clamped}%` } })));
27
+ }, role: "progressbar", "aria-valuenow": indeterminate ? undefined : clamped, "aria-valuemin": 0, "aria-valuemax": 100, part: "bar", style: { height: `${this.thickness}px` } }, h("div", { key: 'da42344ce3d88c2a1eec058b4bb57a7b8380a2aa', class: "co-progress-bar__fill", style: indeterminate ? undefined : { width: `${clamped}%` } })));
28
28
  }
29
29
  };
30
30
  CoProgressBar.style = coProgressBarCss();
@@ -20,7 +20,7 @@ const CoProgressCircle = class {
20
20
  const clamped = Math.max(0, Math.min(100, this.value));
21
21
  const angle = (clamped / 100) * 360;
22
22
  const safeStroke = Math.min(this.strokeWidth, this.size / 2);
23
- return (h("div", { key: '93f0e78b8f51342146367c35fb4a1238e6381fa4', class: {
23
+ return (h("div", { key: 'a3d5bc7d287ef18ad5d1d2f23373d25ea2509476', class: {
24
24
  'co-progress-circle': true,
25
25
  [`co-progress-circle--${this.status}`]: true,
26
26
  }, role: "progressbar", "aria-valuenow": clamped, "aria-valuemin": 0, "aria-valuemax": 100, part: "circle", style: {
@@ -28,7 +28,7 @@ const CoProgressCircle = class {
28
28
  height: `${this.size}px`,
29
29
  '--co-pc-angle': `${angle}deg`,
30
30
  '--co-pc-stroke': `${safeStroke}px`,
31
- } }, h("div", { key: '433ddb015c524bc9fead3540a71a3c514d66a64c', class: "co-progress-circle__track" }), this.showLabel && (h("span", { key: '6951e520d786e0d22af5163d116464faa7be171a', class: "co-progress-circle__label" }, clamped, "%"))));
31
+ } }, h("div", { key: '3b922058d72dcb0d1a7a9f59b122b8a2d54c4d4a', class: "co-progress-circle__track" }), this.showLabel && (h("span", { key: '083498504b05357660f593c128258a2be8ca359e', class: "co-progress-circle__label" }, clamped, "%"))));
32
32
  }
33
33
  };
34
34
  CoProgressCircle.style = coProgressCircleCss();
@@ -96,7 +96,7 @@ const CoSkeleton = class {
96
96
  const style = { width: this.width };
97
97
  if (this.height)
98
98
  style.height = this.height;
99
- return (h("div", { key: '737eaa6e7ec7581151eda26ba506193d6c0ed6e5', class: {
99
+ return (h("div", { key: '26e69f4c94f59664827c617fa3d54983ac56cd1d', class: {
100
100
  'co-skeleton': true,
101
101
  [`co-skeleton--${this.variant}`]: true,
102
102
  'co-skeleton--revealed': this.revealed,
@@ -64,11 +64,11 @@ const CoRadioGroup = class {
64
64
  const hasLabels = this.label || this.secondaryLabel;
65
65
  const hasHelper = this.helperText;
66
66
  const opts = this.parsedOptions;
67
- return (h("div", { key: 'aed7b7da65c9115ab36df5e8ac883de54c95c9e6', class: {
67
+ return (h("div", { key: 'b1c5880c1f9faca27b89189de5d64e36569d5b4f', class: {
68
68
  'co-radio-group': true,
69
69
  'co-radio-group--disabled': this.disabled,
70
70
  [`co-radio-group--${this.status}`]: this.status !== 'default',
71
- }, role: "radiogroup", "aria-label": this.label || '' }, hasLabels && (h("div", { key: 'a9bebb49089cd496da9766edc80170d285f3e0f4', class: "co-radio-group__labels" }, this.label && h("span", { key: '07b2fa433d6414e69862ba88bb95485fa59e3cb0', class: "co-radio-group__label" }, this.label), this.secondaryLabel && (h("span", { key: '2fce367eb0415d3d030d0c5385d15a304a4ac2dd', class: "co-radio-group__secondary-label" }, this.secondaryLabel)))), h("div", { key: '22bed181fb344e6954afa82bd2e7d67814c87175', class: {
71
+ }, role: "radiogroup", "aria-label": this.label || '' }, hasLabels && (h("div", { key: '0e6088377e3cd361749b9aa98f2e6485a76fb577', class: "co-radio-group__labels" }, this.label && h("span", { key: '411bf1ec096311df2b25fac0b39c402d01365e5c', class: "co-radio-group__label" }, this.label), this.secondaryLabel && (h("span", { key: '917cc0dd87362d7add21d407869872a14378a0b9', class: "co-radio-group__secondary-label" }, this.secondaryLabel)))), h("div", { key: '6459fee05efb04d402c0c98dfcbad83fc7da7f06', class: {
72
72
  'co-radio-group__options': true,
73
73
  [`co-radio-group__options--${this.direction}`]: true,
74
74
  } }, opts.map(opt => {
@@ -83,7 +83,7 @@ const CoRadioGroup = class {
83
83
  'co-radio-group__circle--checked': isChecked,
84
84
  'co-radio-group__circle--disabled': isDisabled,
85
85
  }, role: "radio", "aria-checked": String(isChecked), "aria-label": opt.label }), h("span", { class: "co-radio-group__option-label" }, opt.label)));
86
- })), hasHelper && (h("div", { key: '8377e98a33fc79ae642110aded1e8061b7f5a47e', class: `co-radio-group__helper co-radio-group__helper--${this.status}` }, this.statusIcon && (h("co-icon", { key: '3699789297cd963755d3855fda23e3884d85e6e0', name: this.statusIcon, size: 14, weight: "fill", class: "co-radio-group__helper-icon" })), h("span", { key: 'bcec0afba4852a80296ec04ece33708e17309f8b', class: "co-radio-group__helper-text" }, this.helperText)))));
86
+ })), hasHelper && (h("div", { key: '9cec80138190321eafb700039b2d33d24e420e30', class: `co-radio-group__helper co-radio-group__helper--${this.status}` }, this.statusIcon && (h("co-icon", { key: '8be3d15ffa7d528927f907b4c9523b7f2a6cdb94', name: this.statusIcon, size: 14, weight: "fill", class: "co-radio-group__helper-icon" })), h("span", { key: '6ccf0cfeea7f6e00047b2849edff9fd988eb36a6', class: "co-radio-group__helper-text" }, this.helperText)))));
87
87
  }
88
88
  static get watchers() { return {
89
89
  "value": [{
@@ -22,15 +22,15 @@ const CoRadio = class {
22
22
  };
23
23
  }
24
24
  render() {
25
- return (h("div", { key: 'e919e4c950b39acb06eab78a8a22d5d5d3acb211', class: {
25
+ return (h("div", { key: '637efb5c90e6f1f2c205a9c97c020c609f72a093', class: {
26
26
  'co-radio-row': true,
27
27
  'co-radio-row--disabled': this.disabled,
28
- }, onClick: this.handleClick }, h("button", { key: '9f52728498ff3092f994410a948e9e52cc83b0cb', role: "radio", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
28
+ }, onClick: this.handleClick }, h("button", { key: '7311c200f5b2e2029acfe2642aa59c850087a7b3', role: "radio", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
29
29
  'co-radio': true,
30
30
  [`co-radio--${this.size}`]: true,
31
31
  'co-radio--checked': this.checked,
32
32
  'co-radio--disabled': this.disabled,
33
- }, disabled: this.disabled, part: "circle" }), this.label && (h("span", { key: '989a97802b68aabe45b5b5e983f10bb2bbf9b01e', class: "co-radio__label", part: "label" }, this.label))));
33
+ }, disabled: this.disabled, part: "circle" }), this.label && (h("span", { key: '067c567f9d70642c11ccb1a8d0b30c17323fb476', class: "co-radio__label", part: "label" }, this.label))));
34
34
  }
35
35
  };
36
36
  CoRadio.style = coRadioCss();
@@ -6,12 +6,19 @@ const CoRating = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  this.coChange = createEvent(this, "coChange", 7);
9
+ /** Calificación actual, 0 a `max` (reflejado; el componente lo actualiza al elegir). */
9
10
  this.value = 0;
11
+ /** Cantidad de íconos (default 5). */
10
12
  this.max = 5;
13
+ /** Tamaño de los íconos: `small` (default) o `large`. */
11
14
  this.size = 'small';
15
+ /** Deshabilita la interacción y atenúa el control. */
12
16
  this.disabled = false;
17
+ /** Solo muestra el valor, sin interacción ni hover (atributo `read-only`). */
13
18
  this.readOnly = false;
19
+ /** Ícono Phosphor de cada paso (default `star`). */
14
20
  this.icon = 'star';
21
+ /** Estado de validación: colorea el `helperText`. */
15
22
  this.status = 'default';
16
23
  this.hoverValue = 0;
17
24
  this.handleClick = (star) => {
@@ -41,16 +48,16 @@ const CoRating = class {
41
48
  const iconSize = this.size === 'large' ? 28 : 20;
42
49
  const active = this.hoverValue || this.value;
43
50
  const stars = Array.from({ length: this.max }, (_, i) => i + 1);
44
- return (h("div", { key: 'f5945130cb06fff4082067667d4cf4a5af7c4382', class: {
51
+ return (h("div", { key: '007e7bf1aef33b6890f98e1fdac362aa3f578802', class: {
45
52
  'co-rating': true,
46
53
  'co-rating--disabled': this.disabled,
47
54
  'co-rating--readonly': this.readOnly,
48
55
  [`co-rating--${this.size}`]: true,
49
- } }, this.label && h("label", { key: '5af2e8529dbcbbc467a76f9a45ad724cc352c24a', class: "co-rating__label" }, this.label), h("div", { key: 'bd4f80f83ad087593d5f892d6eb81d80071b0898', class: "co-rating__stars", onMouseLeave: this.handleMouseLeave }, stars.map(star => (h("button", { class: {
56
+ } }, this.label && h("label", { key: 'ebc8a44655b6f975d792546762d3fe1e4ccf2958', class: "co-rating__label" }, this.label), h("div", { key: 'eba75b8e98a075531afff4fe5781a63119206d7b', class: "co-rating__stars", onMouseLeave: this.handleMouseLeave }, stars.map(star => (h("button", { class: {
50
57
  'co-rating__star': true,
51
58
  'co-rating__star--active': star <= active,
52
59
  'co-rating__star--hover': this.hoverValue > 0 && star <= this.hoverValue,
53
- }, type: "button", tabIndex: this.disabled || this.readOnly ? -1 : 0, disabled: this.disabled, onClick: () => this.handleClick(star), onMouseEnter: () => this.handleMouseEnter(star), "aria-label": `${star} of ${this.max}` }, h("co-icon", { name: this.icon, size: iconSize, weight: star <= active ? 'fill' : 'regular' }))))), this.helperText && (h("div", { key: 'e9a4cbfda339926e1c31150129cf7ec6bacc53c2', class: `co-rating__helper co-rating__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '5b581b2d06bce928c7299d197747f1adb6b4a380', name: this.statusIcon, size: 14, weight: "fill", class: "co-rating__helper-icon" }), h("span", { key: '84dd514c19fe8f76916681da7682377abf3b37ea', class: "co-rating__helper-text" }, this.helperText)))));
60
+ }, type: "button", tabIndex: this.disabled || this.readOnly ? -1 : 0, disabled: this.disabled, onClick: () => this.handleClick(star), onMouseEnter: () => this.handleMouseEnter(star), "aria-label": `${star} of ${this.max}` }, h("co-icon", { name: this.icon, size: iconSize, weight: star <= active ? 'fill' : 'regular' }))))), this.helperText && (h("div", { key: '571bff4884aa6695e2edcb1ae42baae1d57eb3a0', class: `co-rating__helper co-rating__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '73cfba25f9b28ea6a6dc7b48c6f2009ac4024779', name: this.statusIcon, size: 14, weight: "fill", class: "co-rating__helper-icon" }), h("span", { key: '4029c8c33d6a967c063a886eca3043b22ecc9a2d', class: "co-rating__helper-text" }, this.helperText)))));
54
61
  }
55
62
  };
56
63
  CoRating.style = coRatingCss();