@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
@@ -7,11 +7,15 @@ const CoEventPopover = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
9
  this.coClose = createEvent(this, "coClose", 3);
10
+ /** Visible (reflejado); el componente lo pone en `false` al cerrarse por Escape o click afuera. */
10
11
  this.open = false;
12
+ /** Lado y alineación respecto de `anchorRect` (default `right-start`); voltea si no cabe. */
11
13
  this.placement = 'right-start';
12
14
  /** Render the leading color dot. Set false for dot-less content (quick-create). */
13
15
  this.dot = true;
16
+ /** Cierra con Escape (default `true`). */
14
17
  this.closeOnEscape = true;
18
+ /** Cierra con un click fuera del panel (default `true`). */
15
19
  this.closeOnClickOutside = true;
16
20
  this.position = () => {
17
21
  if (!this.open || !this.panelEl || !this.anchorRect)
@@ -116,7 +120,7 @@ const CoEventPopover = class {
116
120
  this.coClose.emit();
117
121
  }
118
122
  render() {
119
- return (h(Host, { key: 'a646f722530e2198c0a0b082de540021be9cc9c0' }, h("div", { key: 'b9937d848335d6d5e21ac34d392a842815c51ffe', class: "pop", popover: "manual", role: "dialog", "aria-modal": "false", "aria-label": this.popoverLabel, tabIndex: -1, ref: (el) => (this.panelEl = el) }, h("div", { key: '81b409086819ab1623fc2759742795bd9b3fca28', class: "pop__actions", part: "actions" }, h("slot", { key: '21080d17fc497bcc7d0f537397686ddb03e0cd60', name: "actions" })), h("div", { key: '1a6e0ab2801ae963579e4f50b8132fe3f26d84f9', class: "pop__head" }, this.dot && h("span", { key: '04abf696922f1a93b15ab3b9066782bc9b08a89d', class: "pop__dot", style: this.color ? { background: this.color } : {} }), h("div", { key: '659f842611275562d4617d2f1f6ecbc73920d914', class: "pop__body", part: "body" }, h("slot", { key: 'b5606cdff567ae0f16bb2dcf228987de3b376d34' }))))));
123
+ return (h(Host, { key: '9796ba38e83610ddb390dcab0818baf6bededc72' }, h("div", { key: 'e08bba8ebefb5206cbdd7a554e25ff9f4fcf9541', class: "pop", popover: "manual", role: "dialog", "aria-modal": "false", "aria-label": this.popoverLabel, tabIndex: -1, ref: (el) => (this.panelEl = el) }, h("div", { key: '185e30ed1640cbfb04e056d7a3433df2f5b94e06', class: "pop__actions", part: "actions" }, h("slot", { key: 'db04986cc1b63d52c5f1cc6579b5d00dbd46e476', name: "actions" })), h("div", { key: '89bbdc2a255e18d180183dbb127ce05a72ff262d', class: "pop__head" }, this.dot && h("span", { key: '6819901baff501958c8214dd7546a90a108c45f5', class: "pop__dot", style: this.color ? { background: this.color } : {} }), h("div", { key: '1111598f3ee886a0f2d9360c57278f1d71b76ddc', class: "pop__body", part: "body" }, h("slot", { key: '82c5eb8ff0e7752993d8b25b6d33a4d15d7edd25' }))))));
120
124
  }
121
125
  get el() { return getElement(this); }
122
126
  static get watchers() { return {
@@ -6,9 +6,13 @@ const CoFab = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
8
  this.coClick = createEvent(this, "coClick", 7);
9
+ /** Ícono Phosphor (default `plus`). */
9
10
  this.icon = 'plus';
11
+ /** Estilo: `primary` (negro sólido), `secondary` o `stroke`. */
10
12
  this.variant = 'primary';
13
+ /** Diámetro: `xl` 64 · `l` 56 · `m` 48 (default) · `s` 40 px. */
11
14
  this.size = 'm';
15
+ /** Deshabilita el botón: no emite `coClick`. */
12
16
  this.disabled = false;
13
17
  /** Fixed position on screen */
14
18
  this.position = 'none';
@@ -33,7 +37,7 @@ const CoFab = class {
33
37
  const iconSize = this.size === 'xl' ? 24 : this.size === 'l' ? 24 : this.size === 's' ? 18 : 20;
34
38
  const hasLabel = !!this.label;
35
39
  const hoverExpand = hasLabel && this.expandOnHover;
36
- return (h("button", { key: '5ac75328c6505b000c84e5f5365abfabad1dc831', class: {
40
+ return (h("button", { key: 'cae304a87d9ad88c7ea2f1d2f926d018250e6128', class: {
37
41
  'co-fab': true,
38
42
  [`co-fab--${this.variant}`]: true,
39
43
  [`co-fab--${this.size}`]: true,
@@ -41,7 +45,7 @@ const CoFab = class {
41
45
  'co-fab--hover-expand': hoverExpand,
42
46
  'co-fab--disabled': this.disabled,
43
47
  [`co-fab--${this.position}`]: this.position !== 'none',
44
- }, type: "button", disabled: this.disabled, onClick: this.handleClick, onPointerEnter: this.handleExpandMeasure, onFocusin: this.handleExpandMeasure, "aria-label": this.ariaLabelText || this.label || this.icon }, h("co-icon", { key: '9bde6e77c635eb64bca7cc7e129eb2ebe4f8a004', name: this.icon, size: iconSize }), this.label && (h("span", { key: '412f43091a9ba740b1ceddbe1539f60e3d1c27d1', class: "co-fab__label", ref: (el) => (this.labelEl = el) }, this.label))));
48
+ }, type: "button", disabled: this.disabled, onClick: this.handleClick, onPointerEnter: this.handleExpandMeasure, onFocusin: this.handleExpandMeasure, "aria-label": this.ariaLabelText || this.label || this.icon }, h("co-icon", { key: 'a1384ce9899fb2cbf5f4917cca49fb41480d82f6', name: this.icon, size: iconSize }), this.label && (h("span", { key: 'c5d7370d87478218dcce73c3c1d3edbf1c5c4a01', class: "co-fab__label", ref: (el) => (this.labelEl = el) }, this.label))));
45
49
  }
46
50
  get el() { return getElement(this); }
47
51
  };
@@ -108,9 +108,13 @@ const CoFileField = class {
108
108
  this.coReorder = createEvent(this, "coReorder", 3);
109
109
  this.coCopy = createEvent(this, "coCopy", 3);
110
110
  this.coPreviewOpen = createEvent(this, "coPreviewOpen", 3);
111
+ /** Deshabilita el campo: no acepta archivos ni acciones. */
111
112
  this.disabled = false;
113
+ /** Solo lectura: muestra los archivos sin permitir subir, quitar ni reordenar. */
112
114
  this.readonly = false;
115
+ /** Campo obligatorio: marca la etiqueta con el indicador de requerido. */
113
116
  this.required = false;
117
+ /** Varios archivos: lista de subidos (con `max` y reordenamiento opcional); sin él, un solo archivo. */
114
118
  this.multiple = false;
115
119
  /** Max number of files (multiple mode). */
116
120
  this.maxFiles = 100;
@@ -438,12 +442,12 @@ const CoFileField = class {
438
442
  const previews = this.previewItems();
439
443
  const canReorder = this.reorderable && this.multiple && !this.disabled && !this.readonly && items.length > 1;
440
444
  const capacity = this.capacityHint(s);
441
- return (h("div", { key: 'af16871d531125d82a3fc5ba0ab5a08ca6e67756', class: {
445
+ return (h("div", { key: 'ee6fa70ea7fd466ec315eff1b6f3d044b1c6c6d9', class: {
442
446
  'co-file-field': true,
443
447
  'co-file-field--disabled': this.disabled,
444
448
  'co-file-field--invalid': this.isInvalid,
445
449
  [statusClass]: !!statusClass,
446
- }, part: "wrapper" }, this.label && (h("div", { key: '9eb9c80a6c23b24be12b2410fd5713c4ab62965d', class: "co-file-field__labels" }, h("label", { key: '3b577dd00ea6cfa4635bd016dcde4604f6b01dd3', class: "co-file-field__label", part: "label" }, this.label, h(RequiredMark, { key: '2d41558573a614e7f7fa654dad622d36e6e35ffa', required: this.required })))), showDropzone && (h("div", { key: 'ad4215799a768078703d78b4b38689d987e8a13b', class: {
450
+ }, part: "wrapper" }, this.label && (h("div", { key: '48a181a0cb1e0c53da9d61a856f3d2cc5e97d079', class: "co-file-field__labels" }, h("label", { key: '47f162d9fdad44d4c8c8f7756c901eea216b7627', class: "co-file-field__label", part: "label" }, this.label, h(RequiredMark, { key: '4549d57f016e2874ea7b141d9dc83e09c38bdbf3', required: this.required })))), showDropzone && (h("div", { key: '3d16ff2e38de335e5fba78931cd6b1b009603a70', class: {
447
451
  'co-file-field__dropzone': true,
448
452
  'co-file-field__dropzone--drag': this.dragOver,
449
453
  }, part: "dropzone", role: "button", tabIndex: this.disabled ? -1 : 0, onClick: this.handleBrowse, onKeyDown: (e) => {
@@ -451,7 +455,7 @@ const CoFileField = class {
451
455
  e.preventDefault();
452
456
  this.handleBrowse();
453
457
  }
454
- }, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, h("button", { key: 'e32603408a107ad2fbd5ab158b1ca52c7c858833', class: "co-file-field__upload-btn", part: "upload-button", type: "button", tabIndex: -1 }, h("co-icon", { key: 'dd5e41181e235722531cca15f289c54754a301ee', name: "file-arrow-up", size: 18 }), h("span", { key: '842ac546197c761eb9732504ae0dbae7967ceb49' }, this.uploadButtonText || s.uploadButton)), h("span", { key: '1f53b0376ff5ff0b6b0adecf808a846af7628d9a', class: "co-file-field__dropzone-text" }, this.dropText || s.dropHint), capacity && h("span", { key: '2df578f0c6717255ba18cc5da64f5fda34f3714f', class: "co-file-field__dropzone-hint" }, capacity), h("div", { key: '0f0cd178f617119623edb6bc042d8f0647e48527', class: "co-file-field__actions", part: "actions" }, h("slot", { key: 'a2238c3ae9732e96574447aeab9948959e27445a', name: "actions" })), h("input", { key: '2ad962b5becf263b05ebb72492afa89db9e81e47', ref: (el) => (this.inputEl = el), class: "co-file-field__input", type: "file", multiple: this.multiple, accept: this.inputAccept, disabled: this.disabled, onChange: this.handleInputChange, "aria-hidden": "true", tabIndex: -1 }))), items.length > 0 && (h("div", { key: 'd49f51126e68860782ca184eef99b6f74a0fd94b', class: "co-file-field__uploaded" }, this.multiple && (h("div", { key: 'bbc88a36167076a64d244886b3d8c6f388e065d5', class: "co-file-field__uploaded-title", part: "uploaded-title" }, `${this.uploadedTitle || s.uploadedTitle} (${items.length})`)), previews.length > 0 && (h("div", { key: '108e8dbcb0fb47d397c765400ea2333d83fb0d57', class: "co-file-field__previews", part: "previews" }, previews.map((item) => {
458
+ }, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, h("button", { key: 'e9a2c51a238455e7887e8310c02ac739ebf89e4e', class: "co-file-field__upload-btn", part: "upload-button", type: "button", tabIndex: -1 }, h("co-icon", { key: '5a6fe016b2e26896a8b788bb1473c5434d71e85f', name: "file-arrow-up", size: 18 }), h("span", { key: 'e69793c228fef62c5c0aec07f5f038aa3e931b3b' }, this.uploadButtonText || s.uploadButton)), h("span", { key: '7343bd26d1132ac6b0b0ded57f1a2a32f228d0e8', class: "co-file-field__dropzone-text" }, this.dropText || s.dropHint), capacity && h("span", { key: 'd7b68c8723c91b80b124298e29c9165c2489f59f', class: "co-file-field__dropzone-hint" }, capacity), h("div", { key: '38318d6e86a90cc8faf6955ea480b39d242d8122', class: "co-file-field__actions", part: "actions" }, h("slot", { key: 'ad9f134cd0f01b1ed61d8d8966d5a7d40bda0812', name: "actions" })), h("input", { key: '8a3b769794a89213a1f02f0b82899e624a5578d6', ref: (el) => (this.inputEl = el), class: "co-file-field__input", type: "file", multiple: this.multiple, accept: this.inputAccept, disabled: this.disabled, onChange: this.handleInputChange, "aria-hidden": "true", tabIndex: -1 }))), items.length > 0 && (h("div", { key: '8040d77615d29a691bc2087eddd7298b3922066c', class: "co-file-field__uploaded" }, this.multiple && (h("div", { key: 'e4660cdfe20c1b4669b57a4474234161bac4c812', class: "co-file-field__uploaded-title", part: "uploaded-title" }, `${this.uploadedTitle || s.uploadedTitle} (${items.length})`)), previews.length > 0 && (h("div", { key: '636e3e35dcb8ad263361e1b652dca23b499e5354', class: "co-file-field__previews", part: "previews" }, previews.map((item) => {
455
459
  const key = this.keyFor(item);
456
460
  const video = isVideo(item);
457
461
  // A video without a usable poster still gets a card — the
@@ -462,7 +466,7 @@ const CoFileField = class {
462
466
  'co-file-field__preview': true,
463
467
  'co-file-field__preview--video': video,
464
468
  }, part: "preview", type: "button", key: `prev-${key}`, title: item.name, "aria-label": `${video ? s.playVideo : s.openPreview}: ${item.name}`, onClick: () => this.handlePreviewOpen(item) }, showImg && (h("img", { src: video ? poster : item.thumbnail || item.url, alt: item.name, loading: "lazy", onError: () => this.handlePreviewError(item) })), video && (h("span", { class: "co-file-field__preview-play", "aria-hidden": "true" }, h("span", { class: "co-file-field__preview-play-badge" }, h("co-icon", { name: "play", size: 20, weight: "fill" })), !poster && (h("span", { class: "co-file-field__preview-ext" }, fileExtension(item).toUpperCase()))))));
465
- }))), h("ul", { key: '876616fa30a35a3f3597d2043fb1ce09cf6d12b5', class: "co-file-field__list", part: "list" }, items.map((item) => {
469
+ }))), h("ul", { key: 'b67b8c43f8c02c65e780b3fa644123bf0f29d69b', class: "co-file-field__list", part: "list" }, items.map((item) => {
466
470
  const key = this.keyFor(item);
467
471
  const draggable = canReorder && item.status === 'done';
468
472
  return (h("li", { class: {
@@ -486,10 +490,10 @@ const CoFileField = class {
486
490
  'co-file-field__action': true,
487
491
  'co-file-field__action--copied': this.copiedKey === key,
488
492
  }, type: "button", tabIndex: -1, "aria-label": s.copyUrl, onClick: () => this.handleCopy(item) }, h("co-icon", { name: this.copiedKey === key ? 'check' : 'copy', size: 18 })))), !this.disabled && !this.readonly && (h("co-tooltip", { content: s.removeFile }, h("button", { class: "co-file-field__action", type: "button", tabIndex: -1, "aria-label": s.removeFile, onClick: () => this.coRemove.emit(key) }, h("co-icon", { name: "trash", size: 18 }))))));
489
- })))), helper && (h("div", { key: 'b6600a528ff6e9e3302bf889e58fac59edfeab2d', class: {
493
+ })))), helper && (h("div", { key: 'ff75602503a198d8598d2b35fd881c848a7b76d6', class: {
490
494
  'co-file-field__helper': true,
491
495
  'co-file-field__helper--error': this.isInvalid,
492
- }, part: "helper" }, this.isInvalid && (h("co-icon", { key: '22d4218f3df57544633322761c905af8c4398f26', name: "warning-circle", size: 14, class: "co-file-field__helper-icon" })), h("span", { key: 'c7e02e0931ba3ea0bb6e3a6f5381e86ddbf982f1', class: "co-file-field__helper-text" }, helper)))));
496
+ }, part: "helper" }, this.isInvalid && (h("co-icon", { key: 'af79e0b999c781560c316023897aaa850b1d6ae0', name: "warning-circle", size: 14, class: "co-file-field__helper-icon" })), h("span", { key: 'b5af4dab0d3c7dc317265604159a95f3bf8d200d', class: "co-file-field__helper-text" }, helper)))));
493
497
  }
494
498
  get el() { return getElement(this); }
495
499
  };
@@ -74,7 +74,7 @@ const CoFileTypeTile = class {
74
74
  const iconSize = Math.round(this.size * 0.5);
75
75
  const background = this.colorTags ? meta.tint : 'var(--co-color-gray-100)';
76
76
  const color = this.colorTags ? meta.accent : 'var(--co-color-gray-600)';
77
- return (h("span", { key: 'bf16f0141f09189575a7333030affb4e365f7de5', class: {
77
+ return (h("span", { key: 'da0b0b3e48e1847bd7c74e32bec23abc074f53a7', class: {
78
78
  'co-file-type-tile': true,
79
79
  [`co-file-type-tile--${type}`]: true,
80
80
  'co-file-type-tile--mono': !this.colorTags,
@@ -84,7 +84,7 @@ const CoFileTypeTile = class {
84
84
  borderRadius: `${this.radius}px`,
85
85
  background,
86
86
  color,
87
- } }, h("co-icon", { key: 'e194cb5de679470c57774c83d852522b9ce77b31', name: meta.icon, size: iconSize, weight: "fill" })));
87
+ } }, h("co-icon", { key: '70034ff2279181498ba2481fb3709cae3016901d', name: meta.icon, size: iconSize, weight: "fill" })));
88
88
  }
89
89
  };
90
90
  CoFileTypeTile.style = coFileTypeTileCss();
@@ -191,12 +191,12 @@ const CoGradientBar = class {
191
191
  const live = this.liveStops();
192
192
  const n = live.length;
193
193
  const hasSelection = this.selected != null && this.selected >= 0 && this.selected < n;
194
- return (h("div", { key: '9e11e4891bbe0fc312d9122e215c5516630b6901', class: {
194
+ return (h("div", { key: '10e1f78165d061dd08141de0a0ca885f15b7ff83', class: {
195
195
  'co-gradient-bar': true,
196
196
  'co-gradient-bar--disabled': this.disabled,
197
197
  'co-gradient-bar--dragging': this.dragIndex >= 0,
198
198
  'co-gradient-bar--transparent': hasTransparentStop(live),
199
- }, role: "group", "aria-label": this.label || s.barLabel, "aria-disabled": this.disabled ? 'true' : undefined }, h("div", { key: '51bee4cadd25fab6502bb14f7f88f2c6e0fd8d7c', class: "co-gradient-bar__track", part: "track", ref: (el) => (this.trackEl = el), onClick: this.handleTrackClick }, h("div", { key: 'c1332cbca2d2208970f8c259400d0470ffb56eac', class: "co-gradient-bar__fill", style: { background: gradientCss(live) } }), live.map((stop, i) => {
199
+ }, role: "group", "aria-label": this.label || s.barLabel, "aria-disabled": this.disabled ? 'true' : undefined }, h("div", { key: 'e591b6e6d74ee9c9f3b9992f6d12cfd360f9fa49', class: "co-gradient-bar__track", part: "track", ref: (el) => (this.trackEl = el), onClick: this.handleTrackClick }, h("div", { key: 'fd5b93939df8988a08b8ab9f1fab36cc3eb24096', class: "co-gradient-bar__fill", style: { background: gradientCss(live) } }), live.map((stop, i) => {
200
200
  const selected = i === this.selected;
201
201
  // Roving tabindex: una sola parada de tab (la seleccionada, o la primera).
202
202
  const tabbable = hasSelection ? selected : i === 0;
@@ -16,10 +16,10 @@ const CoHelperText = class {
16
16
  };
17
17
  }
18
18
  render() {
19
- return (h("div", { key: '67e1311461c3d867a06acbf89a91b98c5995c60d', class: {
19
+ return (h("div", { key: '12a67e485fed5d931c4325a0139d3ae7669b8de4', class: {
20
20
  'co-helper-text': true,
21
21
  [`co-helper-text--${this.status}`]: true,
22
- }, part: "helper-text" }, h("co-icon", { key: '73c07b3907cc637c73c83bc7fc795c433bc79b6d', name: this.STATUS_ICON[this.status], size: 14, weight: "fill", class: "co-helper-text__icon" }), h("span", { key: '5450e82fc0b8e5ce35fbb224aa43b274120e1b77', class: "co-helper-text__message" }, h("slot", { key: '4b33fc9c386bcd88c47eed25b9b7b597e3c3bd31' }, this.message))));
22
+ }, part: "helper-text" }, h("co-icon", { key: '5bdb8635fa1654a9e10176c9818ba4197fc252e8', name: this.STATUS_ICON[this.status], size: 14, weight: "fill", class: "co-helper-text__icon" }), h("span", { key: 'c2f165cc0226ea1d799c62d0929d6acbf5cc1b98', class: "co-helper-text__message" }, h("slot", { key: 'd8315ea3ea6c002f83f1d936f9a3521831593b3d' }, this.message))));
23
23
  }
24
24
  };
25
25
  CoHelperText.style = coHelperTextCss();
@@ -50,10 +50,9 @@ const CoIconButton = class {
50
50
  /**
51
51
  * Agrega un `caret-down` de 8px a la derecha del icono principal (botones-disclosure).
52
52
  * Ensancha la caja +8px (el alto no cambia) para que el caret no le robe espacio
53
- * al icono — fix round 1: la primera versión usaba `padding-right`, que con
54
- * `box-sizing: border-box` y ancho fijo por talla ENCOGE el área de contenido en
55
- * vez de agrandar la caja (overflow real en xs/xxs). Sin `caret`, el DOM/CSS
56
- * quedan idénticos al comportamiento anterior.
53
+ * al icono (un `padding-right` con `box-sizing: border-box` y ancho fijo por talla
54
+ * encogería el área de contenido en vez de agrandar la caja). Sin `caret`, el
55
+ * DOM/CSS quedan idénticos al comportamiento anterior.
57
56
  */
58
57
  this.caret = false;
59
58
  }
@@ -86,7 +85,7 @@ const CoIconButton = class {
86
85
  const usesSlot = !this.icon;
87
86
  const style = usesSlot
88
87
  ? Object.assign(Object.assign({}, (boxStyle !== null && boxStyle !== void 0 ? boxStyle : {})), { '--co-icon-button-glyph-size': `${resolvedIconSize}px` }) : boxStyle;
89
- return (h("button", { key: '4ae94400d9f54425b1aa844a651fbe441f545645', class: {
88
+ return (h("button", { key: 'd04a7878b984d9613603801b0b18285d02e71f7e', class: {
90
89
  'co-icon-button': true,
91
90
  [`co-icon-button--${this.variant}`]: true,
92
91
  [`co-icon-button--${this.shape}`]: true,
@@ -97,7 +96,7 @@ const CoIconButton = class {
97
96
  'co-icon-button--disabled': this.disabled,
98
97
  }, style: style, disabled: this.disabled, "aria-label": this.label || (this.toggled && this.toggleIcon ? this.toggleIcon : this.icon), "aria-pressed": this.selected ? 'true' : undefined, part: "button" }, this.icon && this.toggleIcon ? (h("span", { class: { 'co-icon-button__swap': true, 'co-icon-button__swap--toggled': this.toggled }, "aria-hidden": "true" }, h("co-icon", { name: this.icon, weight: this.iconWeight, size: resolvedIconSize }), h("co-icon", { name: this.toggleIcon, weight: this.iconWeight, size: resolvedIconSize }))) : this.icon ? (h("co-icon", { name: this.icon, weight: this.iconWeight, size: resolvedIconSize })) : (
99
98
  // Sin `icon`: el consumidor proyecta su propio glifo (ver @slot).
100
- h("slot", null)), this.caret && h("co-icon", { key: 'f8a026ec97d9d37f9f62c81a3ae484d2a8b09665', class: "co-icon-button__caret", name: "caret-down", size: 8 })));
99
+ h("slot", null)), this.caret && h("co-icon", { key: 'db59eb79e6609b237ed3a642f5c44f2a046a4efe', class: "co-icon-button__caret", name: "caret-down", size: 8 })));
101
100
  }
102
101
  };
103
102
  CoIconButton.style = coIconButtonCss();
@@ -83,12 +83,12 @@ const CoIcon = class {
83
83
  this.svgContent = await loadSvg(this.name, this.weight);
84
84
  }
85
85
  render() {
86
- return (h(Host, { key: '66a4583c6d57b57eaee720026f40453653048d8d', "aria-hidden": "true", style: {
86
+ return (h(Host, { key: 'e6f8302d22e1fbeac4e82d199b9214063c7b2313', "aria-hidden": "true", style: {
87
87
  display: 'inline-flex',
88
88
  width: `${this.size}px`,
89
89
  height: `${this.size}px`,
90
90
  flexShrink: '0',
91
- } }, h("span", { key: '423686acaa97e3c78163f79f98a38234b319c050', part: "svg", innerHTML: this.svgContent })));
91
+ } }, h("span", { key: '7967a0787112955036f6f88231a2a635e647e218', part: "svg", innerHTML: this.svgContent })));
92
92
  }
93
93
  static get watchers() { return {
94
94
  "name": [{
@@ -13,10 +13,15 @@ const CoJsonField = class {
13
13
  this.coBlur = createEvent(this, "coBlur", 7);
14
14
  /** Committed JSON text. */
15
15
  this.value = '';
16
+ /** Placeholder del editor vacío (default `'{ }'`). */
16
17
  this.placeholder = '{ }';
18
+ /** Campo obligatorio: marca la etiqueta con el indicador de requerido. */
17
19
  this.required = false;
20
+ /** Deshabilita el campo. */
18
21
  this.disabled = false;
22
+ /** Solo lectura: muestra el JSON sin permitir editarlo. */
19
23
  this.readonly = false;
24
+ /** Alto del editor en líneas (default 8). */
20
25
  this.rows = 8;
21
26
  /** External validation status (e.g. from a form controller). */
22
27
  this.status = 'default';
@@ -87,17 +92,17 @@ const CoJsonField = class {
87
92
  render() {
88
93
  const helper = this.internalInvalid ? this.invalidMessage : this.helperText;
89
94
  const statusClass = this.status !== 'default' ? `co-json-field--${this.status}` : '';
90
- return (h("div", { key: 'b7cc05a2cf7bcac484ef35923b873d487f9cf818', class: {
95
+ return (h("div", { key: '116c07e036c670e20dd461a907a3bc46e0120b74', class: {
91
96
  'co-json-field': true,
92
97
  'co-json-field--disabled': this.disabled,
93
98
  'co-json-field--focused': this.hasFocus,
94
99
  'co-json-field--invalid': this.isInvalid,
95
100
  [`co-json-field--${this.size}`]: true,
96
101
  [statusClass]: !!statusClass,
97
- }, part: "wrapper" }, this.label && (h("div", { key: '5e6829693907789665f54851df8ac012bbe9d9c9', class: "co-json-field__labels" }, h("label", { key: 'e19ba3d715acd5b505147ef6e0c173dbaf1dbae8', class: "co-json-field__label", part: "label" }, this.label, h(RequiredMark, { key: 'e45feaa1a58875adc64ab58e77d1cef498042574', required: this.required })))), h("div", { key: '7b5ed251a4c7f3456f1a5c36c7800aae60b8e602', class: "co-json-field__field", part: "field" }, h("textarea", { key: '03b4e34fabc26829c823f5dea01c987e5fc1a1f8', class: "co-json-field__native", rows: this.rows, spellcheck: false, autocomplete: "off", value: this.draft, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? 'JSON' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, part: "input" })), this.name && h("input", { key: 'e7659c214e65fb97de486f442a170e11fb917587', type: "hidden", name: this.name, value: this.draft }), helper && (h("div", { key: '744697ecde8364833b3dfb4656602a5c8bb6192a', class: {
102
+ }, part: "wrapper" }, this.label && (h("div", { key: 'aecaf5025db4a5fe4030e513b57df1b98121b62e', class: "co-json-field__labels" }, h("label", { key: '2f23f19d1fa5cd9f324c67a6fe93ac3d5df98c66', class: "co-json-field__label", part: "label" }, this.label, h(RequiredMark, { key: 'cf1dad000ccfd9de7598c2891413f2564d5e3f6e', required: this.required })))), h("div", { key: '0c43c4df775b1a854f10db5a0531d5e0817a916c', class: "co-json-field__field", part: "field" }, h("textarea", { key: 'f9472a1dbc02388214d0c51277dcc838289e2b79', class: "co-json-field__native", rows: this.rows, spellcheck: false, autocomplete: "off", value: this.draft, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? 'JSON' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, part: "input" })), this.name && h("input", { key: '6c365c240716d857fc026e4c58c08c59722b95f9', type: "hidden", name: this.name, value: this.draft }), helper && (h("div", { key: 'e97c531fbd3a1c3dbec67d0de3f90ba632fe64cb', class: {
98
103
  'co-json-field__helper': true,
99
104
  'co-json-field__helper--error': this.isInvalid,
100
- }, part: "helper" }, this.isInvalid && (h("co-icon", { key: '8b80af75ce8f27fb68fa5760e584ce7aeedd67a7', name: "warning-circle", size: 14, class: "co-json-field__helper-icon" })), h("span", { key: 'f79da7c507e282694367d602dac6e99e534579f0', class: "co-json-field__helper-text" }, helper)))));
105
+ }, part: "helper" }, this.isInvalid && (h("co-icon", { key: 'ae9751723abb04b19127d93a4fd798f5e03e8b90', name: "warning-circle", size: 14, class: "co-json-field__helper-icon" })), h("span", { key: '8d44b589ba7d923476e7fd94f572d04452585977', class: "co-json-field__helper-text" }, helper)))));
101
106
  }
102
107
  get el() { return getElement(this); }
103
108
  static get watchers() { return {
@@ -169,7 +169,7 @@ const CoKbd = class {
169
169
  keyNodes.push(h("kbd", { class: "co-kbd__key", part: "key", key: `key-${index}` }, renderToken(token, iconSize)));
170
170
  });
171
171
  }
172
- return (h("span", { key: '7a99812a76e02cf357694da3bbea990118c8fff5', class: {
172
+ return (h("span", { key: 'd2b28cba40938051dd4488ceb0e06391e9e4b31d', class: {
173
173
  'co-kbd': true,
174
174
  [`co-kbd--${this.size}`]: true,
175
175
  [`co-kbd--${this.surface}`]: true,
@@ -445,7 +445,7 @@ const CoTooltip = class {
445
445
  // ── Render ─────────────────────────────────────────────────
446
446
  render() {
447
447
  const side = this.actualPlacement.split('-')[0];
448
- return (h("div", { key: '42e40af183afae3fe39ea52e7ab834d2e2ef2a1f', class: "co-tooltip" }, h("div", { key: '021c63ead4abcfc8bd938657af0f4486a710e1d0', class: "co-tooltip__trigger", ref: (el) => (this.triggerEl = el), onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onPointerDown: this.handlePointerDown, onFocusin: this.handleFocusIn, onFocusout: this.handleFocusOut, onKeyDown: this.handleKeyDown, "aria-describedby": this.visible ? 'tooltip-panel' : undefined }, h("slot", { key: '93bfbae6583c49cd0e38accce52b2ee7029a3bc0' })), (this.visible || this.closing) && this.content && (h("div", { key: 'd5bf6003b83490d21869f41ae49c24dd347b7d82', id: "tooltip-panel", class: {
448
+ return (h("div", { key: '816e80ee775d782c3827fb3ba43187992e348429', class: "co-tooltip" }, h("div", { key: 'd4d3b56ae5502ccc4fc5c30c5191860ebef51140', class: "co-tooltip__trigger", ref: (el) => (this.triggerEl = el), onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onPointerDown: this.handlePointerDown, onFocusin: this.handleFocusIn, onFocusout: this.handleFocusOut, onKeyDown: this.handleKeyDown, "aria-describedby": this.visible ? 'tooltip-panel' : undefined }, h("slot", { key: '357ff69bca524ce8c5f3ec21936fef944733cd22' })), (this.visible || this.closing) && this.content && (h("div", { key: '7d379c2ddafa6e84fbe5d5a4d3e9192a3ddfac87', id: "tooltip-panel", class: {
449
449
  'co-tooltip__panel': true,
450
450
  [`co-tooltip__panel--${side}`]: true,
451
451
  'co-tooltip__panel--closing': this.closing,
@@ -457,7 +457,7 @@ const CoTooltip = class {
457
457
  this.promotePanel();
458
458
  this.scheduleUpdate();
459
459
  }
460
- }, style: { maxWidth: this.maxWidth } }, this.arrow && h("div", { key: '1f3ef81dd7d655e68958321a33a5d405ba671f83', class: `co-tooltip__arrow co-tooltip__arrow--${side}` }), h("span", { key: 'a33a95e77ee0bc6922a0c81a63f9862b2ccf9bf5', class: "co-tooltip__content" }, this.content), this.shortcut && h("co-kbd", { key: '608bba77bfc7d43a3ca4d4a2f0c87290b1a9de57', keys: this.shortcut, surface: "dark", size: "xs" })))));
460
+ }, style: { maxWidth: this.maxWidth } }, this.arrow && h("div", { key: '0898aa009807ee6d48cdb01a5db9f4ef773804b9', class: `co-tooltip__arrow co-tooltip__arrow--${side}` }), h("span", { key: '07678a78b9fdf0955c54d4dc2c491e5205e7937d', class: "co-tooltip__content" }, this.content), this.shortcut && h("co-kbd", { key: '24aa138140da114eed006f3488dc6cbc105ccee3', keys: this.shortcut, surface: "dark", size: "xs" })))));
461
461
  }
462
462
  get el() { return getElement(this); }
463
463
  static get watchers() { return {
@@ -15,7 +15,7 @@ const CoListFooter = class {
15
15
  this.handleSecondary = () => this.coSecondary.emit();
16
16
  }
17
17
  render() {
18
- return (h("div", { key: 'f0c91f1eb20fbbd57da3a9de3ee9596b1c726ccf', class: "co-list-footer", part: "footer" }, this.secondaryLabel && (h("button", { key: 'c43b6137c82ab5ecb8493dcabb93a0b6e1fb8527', class: "co-list-footer__btn co-list-footer__btn--secondary", type: "button", onClick: this.handleSecondary }, this.secondaryIcon && h("co-icon", { key: '4723de7f0236643d8ecee7041144c058478237b6', name: this.secondaryIcon, size: 16 }), h("span", { key: '798e8a622a2b0784849e8040501ae92f87a9fab9' }, this.secondaryLabel))), this.primaryLabel && (h("button", { key: '0ce5cdab965ede9ad2489354f31d0f0d55e3fba5', class: "co-list-footer__btn co-list-footer__btn--primary", type: "button", onClick: this.handlePrimary }, this.primaryIcon && h("co-icon", { key: '50e5fb43c0966cb939ba3daced28916e1fe766dd', name: this.primaryIcon, size: 16 }), h("span", { key: 'd2bf250cb31ae5e7ff3595ecbb4234a493744e67' }, this.primaryLabel))), h("slot", { key: 'dd002081999ed611aef5a411e7011b804e7036ff' })));
18
+ return (h("div", { key: '61546eeb0e5103393b4cd92f5621dc7be8850dc8', class: "co-list-footer", part: "footer" }, this.secondaryLabel && (h("button", { key: '1cd3d7d6fd76363ce833ad67d89763e208d24c17', class: "co-list-footer__btn co-list-footer__btn--secondary", type: "button", onClick: this.handleSecondary }, this.secondaryIcon && h("co-icon", { key: '4a7d628520bfb739de5b007fef48e64fe248ad2f', name: this.secondaryIcon, size: 16 }), h("span", { key: '7e8e2f8397c0b265e66a429da7218bdc2644c3bc' }, this.secondaryLabel))), this.primaryLabel && (h("button", { key: 'ed329dc5b328487ad4da2d737fcb82860c5e21a0', class: "co-list-footer__btn co-list-footer__btn--primary", type: "button", onClick: this.handlePrimary }, this.primaryIcon && h("co-icon", { key: '8eb46e472523447eda9e6034aae5ea7ddd747946', name: this.primaryIcon, size: 16 }), h("span", { key: '102b70dbf80bd01085b77324e9504d582c48d5a1' }, this.primaryLabel))), h("slot", { key: '676f9c2b6d3f26ebdface52181dcaf9717c69240' })));
19
19
  }
20
20
  };
21
21
  CoListFooter.style = coListFooterCss();
@@ -69,21 +69,21 @@ const CoListItem = class {
69
69
  requestAnimationFrame(this.measureTruncation);
70
70
  }
71
71
  render() {
72
- return (h("div", { key: '1b41a6b63153b67dc59394f292bf100ff3e32a89', class: {
72
+ return (h("div", { key: 'b00bba3c362b7fded6dbb54a3a77204fd6f12f06', class: {
73
73
  'co-list-item': true,
74
74
  'co-list-item--selected': this.selected,
75
75
  'co-list-item--disabled': this.disabled,
76
76
  'co-list-item--dense': this.dense,
77
77
  'co-list-item--has-description': !!this.description,
78
- }, part: "item", role: "option", tabindex: this.disabled ? -1 : 0, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("span", { key: '7cad6103ab3087a0c9b6156bfeb2049f796acca4', class: "co-list-item__prefix" }, this.icon && h("co-icon", { key: '7b9934bad5ec591f82b733451317a6d7e1622ff1', name: this.icon, size: 18 }), h("slot", { key: '5e5e97b0392f181f442bf6bd3915f001bd95e54c', name: "prefix" })), h("div", { key: '5a64e8895ef52a3aed341307ce36b6a83edfc602', class: "co-list-item__content" }, this.label && (h("co-tooltip", { key: 'dde0ef8d6141a123200e92f431a8478d2abaec0d', block: true, class: "co-list-item__tip", content: this.label, placement: "top", disabled: !this.labelTruncated }, h("span", { key: '566e69fd926005ec57b3b2314ccc2323c77de916', class: "co-list-item__label", ref: (el) => {
78
+ }, part: "item", role: "option", tabindex: this.disabled ? -1 : 0, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("span", { key: '12df4e650ce79eb1a1081cbaa8d8a0df472bd60f', class: "co-list-item__prefix" }, this.icon && h("co-icon", { key: '6d0b024a833e411784c6c1aec18d2e170657bff5', name: this.icon, size: 18 }), h("slot", { key: '6d920565296d083b5ebd1683452b54cb18d7cc02', name: "prefix" })), h("div", { key: '9f1ee9f1a8d09ede38cdf56fe6f34bb389d3a008', class: "co-list-item__content" }, this.label && (h("co-tooltip", { key: '320ce0919f79ed00a189c19c890cdd31ec8f4fad', block: true, class: "co-list-item__tip", content: this.label, placement: "top", disabled: !this.labelTruncated }, h("span", { key: 'c735e984ef6b50d4b075829e496282123463b20a', class: "co-list-item__label", ref: (el) => {
79
79
  this.labelEl = el;
80
80
  if (el && this.ro)
81
81
  this.ro.observe(el);
82
- } }, this.label))), this.description && (h("co-tooltip", { key: '435997357a7370731d90a3e6c636aab5463cd364', block: true, class: "co-list-item__tip", content: this.description, placement: "top", disabled: !this.descTruncated }, h("span", { key: '58ca1721f60f68c3725759f2f14f15c2c4639991', class: "co-list-item__description", ref: (el) => {
82
+ } }, this.label))), this.description && (h("co-tooltip", { key: '729e862dc61a4c342e850b4453916bc3c477bdd2', block: true, class: "co-list-item__tip", content: this.description, placement: "top", disabled: !this.descTruncated }, h("span", { key: 'b593f33d3b0122ab535a94c7ce259add9069323c', class: "co-list-item__description", ref: (el) => {
83
83
  this.descEl = el;
84
84
  if (el && this.ro)
85
85
  this.ro.observe(el);
86
- } }, this.description))), h("slot", { key: '38cff2270b737756895da1b692f42557e9396b54' })), h("span", { key: 'df206f44faabbc30306509ad7651558c976ecb10', class: "co-list-item__suffix" }, h("slot", { key: '48bfb58fc0e74ae5647425472279b92e6b1ce30d', name: "suffix" }))));
86
+ } }, this.description))), h("slot", { key: '55c7bc86e9aea170a37862642531d01203071e0a' })), h("span", { key: 'bef781667653254040abbfbdc518ce6086c17248', class: "co-list-item__suffix" }, h("slot", { key: '349cde2b81c10eb9e9c425b96808ad6bcb86d527', name: "suffix" }))));
87
87
  }
88
88
  get el() { return getElement(this); }
89
89
  static get watchers() { return {
@@ -20,13 +20,13 @@ const CoMediaThumb = class {
20
20
  }
21
21
  render() {
22
22
  var _a;
23
- return (h("div", { key: 'ce38519a6f2e10a54e70cec300f7229c28d12207', class: {
23
+ return (h("div", { key: '715a75c2d9bf586503838952ce1db8ba0a3b74ea', class: {
24
24
  'co-media-thumb': true,
25
25
  'co-media-thumb--video': this.video,
26
26
  }, part: "thumb", style: {
27
27
  height: this.toCss(this.height),
28
28
  borderRadius: `${this.radius}px`,
29
- } }, this.src ? (h("img", { class: "co-media-thumb__img", src: this.src, alt: (_a = this.alt) !== null && _a !== void 0 ? _a : '', part: "img" })) : (h("slot", null)), this.video && (h("div", { key: '6fd5a47d1f3443cf2c7f47e24a2e70a4a6930f62', class: "co-media-thumb__scrim", part: "scrim" }, h("div", { key: 'fde9e8f4d4bf3bfa11221887a3b0edc458684b64', class: "co-media-thumb__play", part: "play" }, h("svg", { key: '99f2e4947a475348c2302a6949e8607b0c50177e', class: "co-media-thumb__play-icon", width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", "aria-hidden": "true" }, h("path", { key: '8bb6cd16e6a91aab6cf331fda06fc8cc1a8e8ca9', d: "M2 2l12 7-12 7z", fill: "var(--co-color-base-negro, #1f1c1b)" })))))));
29
+ } }, this.src ? (h("img", { class: "co-media-thumb__img", src: this.src, alt: (_a = this.alt) !== null && _a !== void 0 ? _a : '', part: "img" })) : (h("slot", null)), this.video && (h("div", { key: '8a6e21bb26be30746d05a00b5fffca7c6992abd1', class: "co-media-thumb__scrim", part: "scrim" }, h("div", { key: '67bf73c8a6a14581b47809efac7e1d4b2628324d', class: "co-media-thumb__play", part: "play" }, h("svg", { key: 'a0f530d26561a4e7256d5f5ee20e6a7d91d8f6e0', class: "co-media-thumb__play-icon", width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", "aria-hidden": "true" }, h("path", { key: '86ef92454cdcca6096cd3dc435833138c46e2e39', d: "M2 2l12 7-12 7z", fill: "var(--co-color-base-negro, #1f1c1b)" })))))));
30
30
  }
31
31
  };
32
32
  CoMediaThumb.style = coMediaThumbCss();
@@ -7,7 +7,7 @@ const CoMenuDivider = class {
7
7
  registerInstance(this, hostRef);
8
8
  }
9
9
  render() {
10
- return h("hr", { key: '7ec669cd5b23822d5ac9e94bf6f9d729222bc107', class: "co-menu-divider", role: "separator" });
10
+ return h("hr", { key: '08a30fe0fba8fbbab4a6fce1bc92c700aa767b2d', class: "co-menu-divider", role: "separator" });
11
11
  }
12
12
  };
13
13
  CoMenuDivider.style = coMenuDividerCss();
@@ -30,9 +30,8 @@ const CoMenu = class {
30
30
  * `co-menu-item`/`co-menu-divider` las consumen con fallback al valor claro
31
31
  * de siempre, así que sin `surface="dark"` no cambia nada. */
32
32
  this.surface = 'light';
33
- /** Desplazamiento en px sobre el eje CRUZADO del `placement` (Task C10,
34
- * Fase 2 Cobalt — fix round 1). Reenviada tal cual al `co-popover`
35
- * interno. Default `0` = sin cambio. */
33
+ /** Desplazamiento en px sobre el eje CRUZADO del `placement`. Reenviada tal
34
+ * cual al `co-popover` interno. Default `0` = sin cambio. */
36
35
  this.shift = 0;
37
36
  this.handleKeydown = (e) => {
38
37
  if (!this.open)
@@ -99,6 +98,7 @@ const CoMenu = class {
99
98
  disconnectedCallback() {
100
99
  document.removeEventListener('keydown', this.handleKeydown, true);
101
100
  }
101
+ /** Enfoca la primera fila del panel raíz (lo hace solo al abrir). */
102
102
  async focusFirstItem() {
103
103
  var _a, _b;
104
104
  const items = this.getMenuItems();
@@ -142,14 +142,14 @@ const CoMenu = class {
142
142
  (_b = (_a = items[next]) === null || _a === void 0 ? void 0 : _a.focusItem) === null || _b === void 0 ? void 0 : _b.call(_a);
143
143
  }
144
144
  render() {
145
- return (h("co-popover", { key: '9ad32ee1adf1436a4ff266db44a34c0b4e9b5293', placement: this.placement, offset: this.offset, open: this.open, anchor: this.anchor, shift: this.shift,
145
+ return (h("co-popover", { key: '66b0e90463829343152d2a9bdb821e19e70fa4d4', placement: this.placement, offset: this.offset, open: this.open, anchor: this.anchor, shift: this.shift,
146
146
  // `co-menu` SIEMPRE pinta su propio chrome (`.co-menu`: fondo +
147
147
  // shadow-lg + anillo, o el panel sólido de `surface="dark"`) — el
148
148
  // `co-popover` interno tiene que ir SIEMPRE bare, sin condición, para
149
- // no sumarle un fondo/borde/sombra propios detrás (Task C10, Fase 2
150
- // Cobalt — fix round 1; antes de esto el panel del menú tenía doble
149
+ // no sumarle un fondo/borde/sombra propios detrás (antes de esto el
150
+ // panel del menú tenía doble
151
151
  // chrome SIEMPRE, no solo en un caso opcional).
152
- bare: true, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose, onCoPlacement: this.handlePlacement }, h("slot", { key: 'b093c29c2e8a6773843a030282cc9e06af54f8c7', name: "trigger", slot: "trigger" }), h("div", { key: '00baf22b70a5f0544a134c170549b31fb46baf38', class: "co-menu", role: "menu", style: this.width ? { width: this.width, minWidth: this.width } : undefined }, h("slot", { key: '2307edc81be264fe4e8a76fb2e1bc14b59538cc2' }))));
152
+ bare: true, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose, onCoPlacement: this.handlePlacement }, h("slot", { key: 'b78bcba7bc9542a82c78c1b8026bd4aa56629667', name: "trigger", slot: "trigger" }), h("div", { key: '0515763cb0b89320d4831befe1b6d984029ce309', class: "co-menu", role: "menu", style: this.width ? { width: this.width, minWidth: this.width } : undefined }, h("slot", { key: 'baf72944333c4e912fe0a0aa58d8affb8e923a3e' }))));
153
153
  }
154
154
  get el() { return getElement(this); }
155
155
  static get watchers() { return {
@@ -162,7 +162,7 @@ const CoMenu = class {
162
162
  * ancestro más cercano sea ESTE panel — los del menú raíz no tienen ninguno y
163
163
  * los de un submenú cuelgan del ítem que lo abre.
164
164
  *
165
- * Se mira el ancestro y no los hijos directos a propósito (fix round 1): con
165
+ * Se mira el ancestro y no los hijos directos a propósito: con
166
166
  * hijos directos, un consumidor que envuelva sus filas en un `<div>` (un
167
167
  * grupo, un `v-for` con wrapper, un fragmento con contenedor) se quedaba sin
168
168
  * navegación por flechas **en silencio**. Así el envoltorio da igual y los
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-DJkaRtbb.js';
1
+ import { r as registerInstance, c as createEvent, h, a as getElement } from './index-DJkaRtbb.js';
2
2
  import { a as afterEventFor } from './overlayAfterClose-Ch1jfwZ2.js';
3
3
  import { s as slotHasContent } from './slotContent-CBX_oabB.js';
4
4
 
@@ -125,8 +125,8 @@ const CoModal = class {
125
125
  */
126
126
  this.closeOnEscape = false;
127
127
  /**
128
- * Modal width: xs (369px, vía `--co-modal-width` — Task C12, paneles
129
- * anclados como "Tipografía y color"), sm (400px), md (540px), lg (680px),
128
+ * Modal width: xs (369px, vía `--co-modal-width` — paneles anclados como
129
+ * "Tipografía y color"), sm (400px), md (540px), lg (680px),
130
130
  * full (min(1400px, 95vw) × 92vh — media/document viewers).
131
131
  *
132
132
  * `full` also drops the body padding and lets the body grow, so a slotted
@@ -140,12 +140,12 @@ const CoModal = class {
140
140
  * under the heading (Figma modals whose first row is a segmented control). */
141
141
  this.headerDivider = true;
142
142
  /**
143
- * Visual treatment (Task C12). `default` = superficie squircle actual
143
+ * Visual treatment. `default` = superficie squircle actual
144
144
  * (radio `--co-modal-r`, sombra que sigue la silueta). `panel` = superficie
145
145
  * plana (radio 12, borde `--co-semantic-border-subtle`, `--co-shadow-lg`),
146
146
  * SIN máscara squircle — look de panel anclado, no de diálogo centrado.
147
147
  *
148
- * `dialog` (Task M1) = la anatomía del componente "Modal" del design system
148
+ * `dialog` = la anatomía del componente "Modal" del design system
149
149
  * (Figma Prolibu UI Suite, nodo `1179:37247`): superficie plana radio 16
150
150
  * (`--co-border-radius-lg`) sin borde ni sombra propios, título 22/500 y
151
151
  * cuerpo 16/1.5 `text-secondary` sin divisor entre ambos, padding 32
@@ -155,7 +155,7 @@ const CoModal = class {
155
155
  */
156
156
  this.appearance = 'default';
157
157
  /**
158
- * Control del scrim (Task C12). `none` = sin fondo oscuro y sin cierre por
158
+ * Control del scrim. `none` = sin fondo oscuro y sin cierre por
159
159
  * clic afuera — independiente de `closeOnOverlay` (que solo aplica cuando
160
160
  * SÍ hay scrim). `co-overlay` es quien posee el único `<div>` de scrim del
161
161
  * árbol, así que `none` implica no montar `<co-overlay>` (ver `inline`).
@@ -163,21 +163,21 @@ const CoModal = class {
163
163
  this.backdrop = 'default';
164
164
  /**
165
165
  * Renderiza en `position: fixed` con su propio `--co-modal-z-index` en vez
166
- * de promoverse al TOP LAYER del browser (Task C12). `co-overlay` promueve
166
+ * de promoverse al TOP LAYER del browser. `co-overlay` promueve
167
167
  * su scrim al top layer vía Popover API (`showPopover()`); el top layer
168
168
  * SIEMPRE pinta por encima de cualquier `z-index` normal, así que un
169
169
  * portal propio del consumidor (selector de fuente/color del editor) con
170
170
  * z-index alto quedaría igual TAPADO detrás del modal. `inline` evita eso.
171
171
  *
172
172
  * `co-overlay` es también quien posee la promoción a top layer — no hay
173
- * forma de pedirle "no te promuevas" sin tocar ese componente (fuera de
174
- * alcance de esta task), así que, igual que `backdrop="none"`, `inline`
173
+ * forma de pedirle "no te promuevas" sin tocar ese componente, así que,
174
+ * igual que `backdrop="none"`, `inline`
175
175
  * implica no montar `<co-overlay>`: el panel pasa a posicionarse y apilarse
176
176
  * solo (`.co-modal__frame--standalone`, ver co-modal.css).
177
177
  */
178
178
  this.inline = false;
179
179
  /**
180
- * Opt-in: el modal se MUEVE arrastrando su header (Task D1). Default false →
180
+ * Opt-in: el modal se MUEVE arrastrando su header. Default false →
181
181
  * los consumidores actuales quedan byte-idénticos (ni DOM ni CSS cambian).
182
182
  *
183
183
  * Con `movable`, el `part="header"` entero es la zona de agarre (`cursor:
@@ -192,6 +192,19 @@ const CoModal = class {
192
192
  * mismo nombre taparía `HTMLElement.draggable` con dos semánticas encimadas.
193
193
  */
194
194
  this.movable = false;
195
+ /**
196
+ * Opt-in: trampa de foco accesible (QA 2026-09-24, «Generar contrato»). Con
197
+ * `true`, al abrir el foco ENTRA al modal (el primer `[autofocus]`; si no
198
+ * hay, el primer control), Tab / Shift+Tab ciclan adentro y al cerrar vuelve
199
+ * a donde estaba. El recorrido es compuesto: ve el contenido proyectado por
200
+ * los slots y el `<button>` interno de cada co-button. Default false → los
201
+ * consumidores actuales no cambian.
202
+ *
203
+ * La trampa es de `<co-overlay>`, así que sin overlay (`inline` o
204
+ * `backdrop="none"`) NO aplica: esos modos son paneles no bloqueantes y la
205
+ * página de atrás sigue operable.
206
+ */
207
+ this.trapFocus = false;
195
208
  /* `:empty` can't see across a <slot>, so slotted presence is tracked in JS */
196
209
  this.hasFooter = false;
197
210
  this.handleFooterSlotChange = (e) => {
@@ -307,6 +320,18 @@ const CoModal = class {
307
320
  if (e.key === 'Escape')
308
321
  this.coClose.emit();
309
322
  }
323
+ /**
324
+ * Re-promueve el modal al TOPE del top layer (QA 2026-09-24, «Generar
325
+ * contrato»): un drawer que se abre DESPUÉS del modal (cambio de URL,
326
+ * historial) pinta encima, porque en el top layer gana el último promovido.
327
+ * Delega en su `<co-overlay>`: sin cerrar el modal, sin eventos (`coClose` /
328
+ * `coAfterClose` / `coAfterOpen`), sin soltar el scroll lock y sin re-animar
329
+ * la entrada. No-op sin overlay (`inline`, `backdrop="none"`) o cerrado.
330
+ */
331
+ async bringToFront() {
332
+ var _a, _b, _c;
333
+ await ((_c = (_b = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('co-overlay')) === null || _b === void 0 ? void 0 : _b.bringToFront) === null || _c === void 0 ? void 0 : _c.call(_b));
334
+ }
310
335
  /**
311
336
  * La posición no se persiste: cada APERTURA arranca desde la posición por
312
337
  * defecto. El reset va al abrir y no al cerrar a propósito — reseteando al
@@ -422,8 +447,9 @@ const CoModal = class {
422
447
  }, part: "header", ref: (el) => (this.headerEl = el), onPointerDown: this.movable ? this.handleDragDown : undefined, onPointerMove: this.movable ? this.handleDragMove : undefined, onPointerUp: this.movable ? this.handleDragUp : undefined, onPointerCancel: this.movable ? this.handleDragCancel : undefined }, h("slot", { name: "header-leading" }), h("div", { class: "co-modal__header-text", part: "header-text" }, h("h2", { class: "co-modal__heading", part: "heading", id: "modal-heading" }, this.heading), this.description && (h("p", { class: "co-modal__description", part: "description" }, this.description))), h("slot", { name: "header-actions" }), this.closable && (h("button", { class: "co-modal__close", type: "button", "aria-label": "Close", onClick: this.handleCloseClick }, h("co-icon", { name: "x", size: closeIconSize })))), !this.noDividers && (h("div", { class: "co-modal__body", part: "body" }, h("slot", null))), h("div", { class: { 'co-modal__footer': true, 'co-modal__footer--empty': !this.hasFooter }, part: "footer" }, h("slot", { name: "footer", onSlotchange: this.handleFooterSlotChange })))));
423
448
  if (!this.usesOverlay)
424
449
  return frame;
425
- return (h("co-overlay", { open: this.open, onCoClose: this.handleOverlayClick }, frame));
450
+ return (h("co-overlay", { open: this.open, trapFocus: this.trapFocus, onCoClose: this.handleOverlayClick }, frame));
426
451
  }
452
+ get el() { return getElement(this); }
427
453
  static get watchers() { return {
428
454
  "open": [{
429
455
  "resetPositionOnOpen": 0
@@ -13,12 +13,12 @@ const CoNavbar = class {
13
13
  this.rounded = false;
14
14
  }
15
15
  render() {
16
- return (h("div", { key: 'd313d8d23b4b4f2d0250fedf8762bdda47464fe2', class: {
16
+ return (h("div", { key: '68c78b33434a32372eef9763b0c11c9a185f6ef8', class: {
17
17
  'co-navbar': true,
18
18
  [`co-navbar--${this.variant}`]: true,
19
19
  [`co-navbar--${this.size}`]: true,
20
20
  'co-navbar--rounded': this.rounded,
21
- }, part: "navbar", role: "toolbar" }, h("slot", { key: '737e1bfc2c3254fed53e590cba18932dc1d04f5d' })));
21
+ }, part: "navbar", role: "toolbar" }, h("slot", { key: 'a9d05ff60065f85dc24e941478a18fa40466143f' })));
22
22
  }
23
23
  };
24
24
  CoNavbar.style = coNavbarCss();