@prolibu-suite/cobalt-core 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (627) hide show
  1. package/README.md +12 -5
  2. package/custom-elements.json +2656 -799
  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 +5 -5
  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 +15 -5
  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 +8 -2
  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 +9 -9
  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 +1 -1
  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 +17 -3
  70. package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +1 -0
  71. package/dist/cjs/co-row.cjs.entry.js +2 -2
  72. package/dist/cjs/co-segmented-bar.cjs.entry.js +2 -2
  73. package/dist/cjs/co-select.cjs.entry.js +19 -6
  74. package/dist/cjs/co-separator.cjs.entry.js +1 -1
  75. package/dist/cjs/co-sidebar-nav.cjs.entry.js +2 -2
  76. package/dist/cjs/co-sidebar.cjs.entry.js +2 -2
  77. package/dist/cjs/co-slider.cjs.entry.js +8 -2
  78. package/dist/cjs/co-swatch-grid.cjs.entry.js +1 -1
  79. package/dist/cjs/co-switch.cjs.entry.js +3 -3
  80. package/dist/cjs/co-tab-group.cjs.entry.js +2 -2
  81. package/dist/cjs/co-tab.cjs.entry.js +5 -5
  82. package/dist/cjs/co-tags-field.cjs.entry.js +10 -5
  83. package/dist/cjs/co-tile.cjs.entry.js +1 -1
  84. package/dist/cjs/co-time-field.cjs.entry.js +4 -1
  85. package/dist/cjs/co-toast.cjs.entry.js +2 -2
  86. package/dist/cjs/co-toggle-button-group.cjs.entry.js +7 -4
  87. package/dist/cjs/co-toggle-button.cjs.entry.js +5 -2
  88. package/dist/cjs/co-transfer-list.cjs.entry.js +6 -2
  89. package/dist/cjs/co-tree-item.cjs.entry.js +2 -2
  90. package/dist/cjs/co-video.cjs.entry.js +10 -2
  91. package/dist/cobalt/cobalt.esm.js +1 -1
  92. package/dist/cobalt/{p-97a4fbba.entry.js → p-019eed8e.entry.js} +1 -1
  93. package/dist/cobalt/{p-1289131f.entry.js → p-04e3e1f6.entry.js} +1 -1
  94. package/dist/cobalt/p-0d046d98.entry.js +1 -0
  95. package/dist/cobalt/{p-d4979025.entry.js → p-0e4c2234.entry.js} +1 -1
  96. package/dist/cobalt/{p-f5934cd9.entry.js → p-1348d5ca.entry.js} +1 -1
  97. package/dist/cobalt/{p-ee88ec40.entry.js → p-13e5b724.entry.js} +1 -1
  98. package/dist/cobalt/{p-b2b13da8.entry.js → p-1a5bec8c.entry.js} +1 -1
  99. package/dist/cobalt/{p-9e406172.entry.js → p-21b4a830.entry.js} +1 -1
  100. package/dist/cobalt/{p-d1c378ff.entry.js → p-2231bacc.entry.js} +1 -1
  101. package/dist/cobalt/{p-1693b614.entry.js → p-26cbdc33.entry.js} +1 -1
  102. package/dist/cobalt/{p-7f3523ce.entry.js → p-28cf05f3.entry.js} +1 -1
  103. package/dist/cobalt/{p-8ab5b396.entry.js → p-358a6c2a.entry.js} +1 -1
  104. package/dist/cobalt/p-3b5024ce.entry.js +1 -0
  105. package/dist/cobalt/{p-8cd3acaa.entry.js → p-3b6efb79.entry.js} +1 -1
  106. package/dist/cobalt/{p-cc5989e9.entry.js → p-3d1a48e5.entry.js} +1 -1
  107. package/dist/cobalt/{p-90fad0f9.entry.js → p-47eca182.entry.js} +1 -1
  108. package/dist/cobalt/{p-b1994bb4.entry.js → p-4bcdd422.entry.js} +1 -1
  109. package/dist/cobalt/{p-2a2b0c7a.entry.js → p-4d743628.entry.js} +1 -1
  110. package/dist/cobalt/{p-66fc1528.entry.js → p-4e81e580.entry.js} +1 -1
  111. package/dist/cobalt/{p-c1caa112.entry.js → p-53a251ca.entry.js} +1 -1
  112. package/dist/cobalt/{p-67ad9544.entry.js → p-56176aa0.entry.js} +1 -1
  113. package/dist/cobalt/{p-44edde81.entry.js → p-58ebb303.entry.js} +1 -1
  114. package/dist/cobalt/{p-2e5702a0.entry.js → p-5e678e88.entry.js} +1 -1
  115. package/dist/cobalt/{p-889563d5.entry.js → p-60f948c4.entry.js} +1 -1
  116. package/dist/cobalt/{p-db42c4ab.entry.js → p-63908a8d.entry.js} +1 -1
  117. package/dist/cobalt/{p-5573985a.entry.js → p-65c191aa.entry.js} +1 -1
  118. package/dist/cobalt/{p-b5ec4286.entry.js → p-65d44da2.entry.js} +1 -1
  119. package/dist/cobalt/{p-5534a64f.entry.js → p-69ecc933.entry.js} +1 -1
  120. package/dist/cobalt/{p-c9990662.entry.js → p-6c1992c9.entry.js} +1 -1
  121. package/dist/cobalt/{p-22233b31.entry.js → p-6d4a660c.entry.js} +1 -1
  122. package/dist/cobalt/{p-7675cebe.entry.js → p-713637f2.entry.js} +1 -1
  123. package/dist/cobalt/{p-45007758.entry.js → p-71ae1551.entry.js} +1 -1
  124. package/dist/cobalt/{p-a930cdd7.entry.js → p-71ee36a8.entry.js} +1 -1
  125. package/dist/cobalt/{p-eeb114da.entry.js → p-71fe35c4.entry.js} +1 -1
  126. package/dist/cobalt/{p-a336178b.entry.js → p-73313cbe.entry.js} +1 -1
  127. package/dist/cobalt/{p-8b2e4579.entry.js → p-78412feb.entry.js} +1 -1
  128. package/dist/cobalt/{p-48c23310.entry.js → p-7beface1.entry.js} +1 -1
  129. package/dist/cobalt/p-7d1718ed.entry.js +1 -0
  130. package/dist/cobalt/{p-59d3e8fc.entry.js → p-7df18a52.entry.js} +1 -1
  131. package/dist/cobalt/{p-b9401dd7.entry.js → p-7e678cbd.entry.js} +1 -1
  132. package/dist/cobalt/{p-c109a1e1.entry.js → p-7fabd8ba.entry.js} +1 -1
  133. package/dist/cobalt/{p-8f701eac.entry.js → p-848f5ca4.entry.js} +1 -1
  134. package/dist/cobalt/{p-608d251d.entry.js → p-8680559b.entry.js} +1 -1
  135. package/dist/cobalt/{p-4b327483.entry.js → p-87de5469.entry.js} +1 -1
  136. package/dist/cobalt/{p-3011c84f.entry.js → p-87e62e2b.entry.js} +1 -1
  137. package/dist/cobalt/{p-a07dedd1.entry.js → p-8a2a2b6c.entry.js} +1 -1
  138. package/dist/cobalt/{p-f813569c.entry.js → p-903237f9.entry.js} +1 -1
  139. package/dist/cobalt/{p-1f3d5313.entry.js → p-95f2ebb1.entry.js} +1 -1
  140. package/dist/cobalt/{p-86b6fd81.entry.js → p-99df434b.entry.js} +1 -1
  141. package/dist/cobalt/{p-6c157ea2.entry.js → p-9adbab95.entry.js} +1 -1
  142. package/dist/cobalt/{p-4111fefa.entry.js → p-9ee5bef3.entry.js} +1 -1
  143. package/dist/cobalt/{p-9bee9dc8.entry.js → p-a27013e6.entry.js} +1 -1
  144. package/dist/cobalt/{p-9cf10331.entry.js → p-a4eb298c.entry.js} +1 -1
  145. package/dist/cobalt/{p-5b2aa70e.entry.js → p-a56bd4a8.entry.js} +1 -1
  146. package/dist/cobalt/{p-d1f47915.entry.js → p-a5eabecb.entry.js} +1 -1
  147. package/dist/cobalt/{p-f5e1873d.entry.js → p-a5ee1fc2.entry.js} +1 -1
  148. package/dist/cobalt/{p-ee42dca6.entry.js → p-a7cd61ce.entry.js} +1 -1
  149. package/dist/cobalt/{p-7569375a.entry.js → p-ad752791.entry.js} +1 -1
  150. package/dist/cobalt/{p-ea564148.entry.js → p-ae999b94.entry.js} +1 -1
  151. package/dist/cobalt/{p-30760f77.entry.js → p-aed832d5.entry.js} +1 -1
  152. package/dist/cobalt/{p-e6116149.entry.js → p-b2457431.entry.js} +1 -1
  153. package/dist/cobalt/{p-3b9a8e86.entry.js → p-b39a4999.entry.js} +1 -1
  154. package/dist/cobalt/{p-bc3ba0cd.entry.js → p-b5dabdc3.entry.js} +1 -1
  155. package/dist/cobalt/{p-ec7a6bf2.entry.js → p-b67fb616.entry.js} +1 -1
  156. package/dist/cobalt/{p-f8c7941f.entry.js → p-b9b73dcb.entry.js} +1 -1
  157. package/dist/cobalt/{p-a52ed6ff.entry.js → p-ba39a965.entry.js} +1 -1
  158. package/dist/cobalt/{p-7376f4ed.entry.js → p-be520bd5.entry.js} +1 -1
  159. package/dist/cobalt/{p-0a5cfed0.entry.js → p-bee30373.entry.js} +1 -1
  160. package/dist/cobalt/{p-e4ff2fcb.entry.js → p-c220362c.entry.js} +1 -1
  161. package/dist/cobalt/{p-f246946a.entry.js → p-c4c997f3.entry.js} +1 -1
  162. package/dist/cobalt/{p-6d541199.entry.js → p-c5464a98.entry.js} +1 -1
  163. package/dist/cobalt/{p-26fa36f8.entry.js → p-cf5b91be.entry.js} +1 -1
  164. package/dist/cobalt/{p-cc4b51fa.entry.js → p-cfaaa684.entry.js} +1 -1
  165. package/dist/cobalt/{p-57d250ad.entry.js → p-d00c3894.entry.js} +1 -1
  166. package/dist/cobalt/{p-f8d3c71e.entry.js → p-d5d8fa8b.entry.js} +1 -1
  167. package/dist/cobalt/p-d6215d80.entry.js +1 -0
  168. package/dist/cobalt/{p-78a20284.entry.js → p-dabcbba7.entry.js} +1 -1
  169. package/dist/cobalt/{p-9b46a8fe.entry.js → p-db623519.entry.js} +1 -1
  170. package/dist/cobalt/{p-136beb2c.entry.js → p-df529110.entry.js} +1 -1
  171. package/dist/cobalt/{p-5d6e02dd.entry.js → p-efb3cbb0.entry.js} +1 -1
  172. package/dist/cobalt/{p-e99ddf9c.entry.js → p-f2fa2ac0.entry.js} +1 -1
  173. package/dist/cobalt/p-f403eeec.entry.js +1 -0
  174. package/dist/cobalt/{p-ce2b2048.entry.js → p-f69804a6.entry.js} +1 -1
  175. package/dist/collection/components/co-accordion/co-accordion.js +12 -2
  176. package/dist/collection/components/co-action-bar/co-action-bar.css +6 -0
  177. package/dist/collection/components/co-action-bar/co-action-bar.js +3 -2
  178. package/dist/collection/components/co-app-shell/co-app-shell.css +6 -0
  179. package/dist/collection/components/co-app-shell/co-app-shell.js +13 -2
  180. package/dist/collection/components/co-audio-player/co-audio-player.js +19 -7
  181. package/dist/collection/components/co-autocomplete/co-autocomplete.js +30 -17
  182. package/dist/collection/components/co-avatar/co-avatar.css +7 -2
  183. package/dist/collection/components/co-avatar/co-avatar.js +9 -2
  184. package/dist/collection/components/co-avatar-group/co-avatar-group.css +4 -0
  185. package/dist/collection/components/co-avatar-group/co-avatar-group.js +8 -3
  186. package/dist/collection/components/co-badge/co-badge.js +8 -1
  187. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +13 -4
  188. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +5 -1
  189. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +8 -2
  190. package/dist/collection/components/co-button/co-button.css +10 -2
  191. package/dist/collection/components/co-button/co-button.js +14 -8
  192. package/dist/collection/components/co-button-group/co-button-group.js +10 -3
  193. package/dist/collection/components/co-calendar/co-calendar.css +8 -0
  194. package/dist/collection/components/co-calendar/co-calendar.js +3 -1
  195. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +36 -19
  196. package/dist/collection/components/co-card/co-card.js +11 -2
  197. package/dist/collection/components/co-carousel/co-carousel.css +10 -0
  198. package/dist/collection/components/co-carousel/co-carousel.js +17 -5
  199. package/dist/collection/components/co-checkbox/co-checkbox.js +11 -3
  200. package/dist/collection/components/co-checkbox-group/co-checkbox-group.js +9 -4
  201. package/dist/collection/components/co-chip/co-chip.css +9 -0
  202. package/dist/collection/components/co-chip/co-chip.js +15 -2
  203. package/dist/collection/components/co-color-area/co-color-area.css +4 -0
  204. package/dist/collection/components/co-color-area/co-color-area.js +6 -5
  205. package/dist/collection/components/co-color-picker/co-color-picker.js +4 -2
  206. package/dist/collection/components/co-color-slider/co-color-slider.js +6 -5
  207. package/dist/collection/components/co-column-picker/co-column-picker.js +51 -25
  208. package/dist/collection/components/co-combobox/co-combobox.js +18 -4
  209. package/dist/collection/components/co-command-search/co-command-search.js +19 -8
  210. package/dist/collection/components/co-data-table/co-data-table.js +8 -3
  211. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +16 -4
  212. package/dist/collection/components/co-date-field/co-date-field.js +19 -13
  213. package/dist/collection/components/co-date-picker/co-date-picker.js +38 -25
  214. package/dist/collection/components/co-date-range/co-date-range.js +19 -10
  215. package/dist/collection/components/co-date-range-picker/co-date-range-picker.js +44 -30
  216. package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +30 -21
  217. package/dist/collection/components/co-document-editor/co-document-editor.js +22 -15
  218. package/dist/collection/components/co-drawer/co-drawer.css +5 -0
  219. package/dist/collection/components/co-drawer/co-drawer.js +13 -0
  220. package/dist/collection/components/co-drive-card/co-drive-card.js +14 -1
  221. package/dist/collection/components/co-drop-zone/co-drop-zone.js +7 -2
  222. package/dist/collection/components/co-emoji-picker/co-emoji-picker.css +4 -0
  223. package/dist/collection/components/co-emoji-picker/co-emoji-picker.js +11 -2
  224. package/dist/collection/components/co-empty-state/co-empty-state.js +4 -2
  225. package/dist/collection/components/co-event-calendar/co-event-calendar.js +16 -4
  226. package/dist/collection/components/co-event-popover/co-event-popover.js +18 -6
  227. package/dist/collection/components/co-fab/co-fab.css +8 -0
  228. package/dist/collection/components/co-fab/co-fab.js +17 -8
  229. package/dist/collection/components/co-file-field/co-file-field.js +16 -11
  230. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +9 -2
  231. package/dist/collection/components/co-gradient-bar/co-gradient-bar.css +5 -0
  232. package/dist/collection/components/co-gradient-bar/co-gradient-bar.js +7 -2
  233. package/dist/collection/components/co-helper-text/co-helper-text.js +4 -2
  234. package/dist/collection/components/co-icon/co-icon.js +6 -2
  235. package/dist/collection/components/co-icon-button/co-icon-button.css +9 -0
  236. package/dist/collection/components/co-icon-button/co-icon-button.js +12 -7
  237. package/dist/collection/components/co-input/co-input.css +3 -0
  238. package/dist/collection/components/co-input/co-input.js +11 -0
  239. package/dist/collection/components/co-json-field/co-json-field.js +19 -12
  240. package/dist/collection/components/co-kbd/co-kbd.js +8 -1
  241. package/dist/collection/components/co-list-footer/co-list-footer.js +4 -1
  242. package/dist/collection/components/co-list-item/co-list-item.js +7 -4
  243. package/dist/collection/components/co-loader/co-loader.js +5 -0
  244. package/dist/collection/components/co-media-thumb/co-media-thumb.js +9 -2
  245. package/dist/collection/components/co-menu/co-menu.css +11 -1
  246. package/dist/collection/components/co-menu/co-menu.js +13 -13
  247. package/dist/collection/components/co-menu-divider/co-menu-divider.css +4 -0
  248. package/dist/collection/components/co-menu-divider/co-menu-divider.js +2 -1
  249. package/dist/collection/components/co-menu-item/co-menu-item.css +14 -0
  250. package/dist/collection/components/co-menu-item/co-menu-item.js +2 -0
  251. package/dist/collection/components/co-modal/co-modal.css +6 -0
  252. package/dist/collection/components/co-modal/co-modal.js +29 -17
  253. package/dist/collection/components/co-navbar/co-navbar.css +7 -0
  254. package/dist/collection/components/co-navbar/co-navbar.js +4 -2
  255. package/dist/collection/components/co-number-field/co-number-field.js +29 -15
  256. package/dist/collection/components/co-option-list/co-option-list.css +38 -0
  257. package/dist/collection/components/co-option-list/co-option-list.js +33 -16
  258. package/dist/collection/components/co-overlay/co-overlay.css +4 -0
  259. package/dist/collection/components/co-overlay/co-overlay.js +11 -1
  260. package/dist/collection/components/co-page-header/co-page-header.js +4 -1
  261. package/dist/collection/components/co-popover/co-popover.css +7 -2
  262. package/dist/collection/components/co-popover/co-popover.js +29 -16
  263. package/dist/collection/components/co-progress-bar/co-progress-bar.js +5 -2
  264. package/dist/collection/components/co-progress-circle/co-progress-circle.js +5 -2
  265. package/dist/collection/components/co-provider-logo/co-provider-logo.js +3 -0
  266. package/dist/collection/components/co-radio/co-radio.js +11 -3
  267. package/dist/collection/components/co-radio-group/co-radio-group.js +9 -4
  268. package/dist/collection/components/co-rating/co-rating.js +25 -13
  269. package/dist/collection/components/co-ref-field/co-ref-field.css +14 -0
  270. package/dist/collection/components/co-ref-field/co-ref-field.js +55 -27
  271. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +46 -24
  272. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.js +4 -1
  273. package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.js +8 -0
  274. package/dist/collection/components/co-row/co-row.js +5 -2
  275. package/dist/collection/components/co-segmented-bar/co-segmented-bar.js +9 -3
  276. package/dist/collection/components/co-select/co-select.css +13 -1
  277. package/dist/collection/components/co-select/co-select.js +42 -23
  278. package/dist/collection/components/co-separator/co-separator.js +8 -1
  279. package/dist/collection/components/co-sidebar/co-sidebar.js +10 -2
  280. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +5 -0
  281. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +4 -3
  282. package/dist/collection/components/co-skeleton/co-skeleton.js +4 -1
  283. package/dist/collection/components/co-slider/co-slider.css +7 -0
  284. package/dist/collection/components/co-slider/co-slider.js +25 -13
  285. package/dist/collection/components/co-swatch-grid/co-swatch-grid.js +2 -1
  286. package/dist/collection/components/co-switch/co-switch.css +4 -0
  287. package/dist/collection/components/co-switch/co-switch.js +12 -3
  288. package/dist/collection/components/co-tab/co-tab.js +14 -6
  289. package/dist/collection/components/co-tab-group/co-tab-group.js +11 -2
  290. package/dist/collection/components/co-tags-field/co-tags-field.js +21 -14
  291. package/dist/collection/components/co-tile/co-tile.js +6 -1
  292. package/dist/collection/components/co-time-field/co-time-field.js +9 -4
  293. package/dist/collection/components/co-toast/co-toast.css +11 -0
  294. package/dist/collection/components/co-toast/co-toast.js +13 -4
  295. package/dist/collection/components/co-toggle-button/co-toggle-button.css +5 -0
  296. package/dist/collection/components/co-toggle-button/co-toggle-button.js +13 -9
  297. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +18 -9
  298. package/dist/collection/components/co-tooltip/co-tooltip.js +12 -2
  299. package/dist/collection/components/co-transfer-list/co-transfer-list.js +19 -10
  300. package/dist/collection/components/co-tree-item/co-tree-item.css +11 -2
  301. package/dist/collection/components/co-tree-item/co-tree-item.js +6 -4
  302. package/dist/collection/components/co-video/co-video.css +11 -0
  303. package/dist/collection/components/co-video/co-video.js +41 -22
  304. package/dist/components/co-accordion.js +1 -1
  305. package/dist/components/co-action-bar.js +1 -1
  306. package/dist/components/co-app-shell.js +1 -1
  307. package/dist/components/co-audio-player.js +1 -1
  308. package/dist/components/co-autocomplete.js +1 -1
  309. package/dist/components/co-avatar-group.js +1 -1
  310. package/dist/components/co-avatar.js +1 -1
  311. package/dist/components/co-badge.js +1 -1
  312. package/dist/components/co-bottom-sheet.js +1 -1
  313. package/dist/components/co-breadcrumb-item.js +1 -1
  314. package/dist/components/co-breadcrumb.js +1 -1
  315. package/dist/components/co-button-group.js +1 -1
  316. package/dist/components/co-button.js +1 -1
  317. package/dist/components/co-calendar-month.js +1 -1
  318. package/dist/components/co-calendar-timegrid.js +1 -1
  319. package/dist/components/co-calendar.js +1 -1
  320. package/dist/components/co-card.js +1 -1
  321. package/dist/components/co-carousel.js +1 -1
  322. package/dist/components/co-checkbox-group.js +1 -1
  323. package/dist/components/co-checkbox.js +1 -1
  324. package/dist/components/co-chip.js +1 -1
  325. package/dist/components/co-color-area.js +1 -1
  326. package/dist/components/co-color-picker.js +1 -1
  327. package/dist/components/co-color-slider.js +1 -1
  328. package/dist/components/co-column-picker.js +1 -1
  329. package/dist/components/co-combobox.js +1 -1
  330. package/dist/components/co-command-search.js +1 -1
  331. package/dist/components/co-data-table-pagination.js +1 -1
  332. package/dist/components/co-data-table.js +1 -1
  333. package/dist/components/co-date-field.js +1 -1
  334. package/dist/components/co-date-picker.js +1 -1
  335. package/dist/components/co-date-range-picker.js +1 -1
  336. package/dist/components/co-date-range.js +1 -1
  337. package/dist/components/co-date-time-picker.js +1 -1
  338. package/dist/components/co-document-editor.js +1 -1
  339. package/dist/components/co-drawer.js +1 -1
  340. package/dist/components/co-drive-card.js +1 -1
  341. package/dist/components/co-drop-zone.js +1 -1
  342. package/dist/components/co-emoji-picker.js +1 -1
  343. package/dist/components/co-empty-state.js +1 -1
  344. package/dist/components/co-event-calendar.js +1 -1
  345. package/dist/components/co-event-popover.js +1 -1
  346. package/dist/components/co-fab.js +1 -1
  347. package/dist/components/co-file-field.js +1 -1
  348. package/dist/components/co-file-type-tile.js +1 -1
  349. package/dist/components/co-gradient-bar.js +1 -1
  350. package/dist/components/co-helper-text.js +1 -1
  351. package/dist/components/co-icon-button.js +1 -1
  352. package/dist/components/co-icon.js +1 -1
  353. package/dist/components/co-input.js +1 -1
  354. package/dist/components/co-json-field.js +1 -1
  355. package/dist/components/co-kbd.js +1 -1
  356. package/dist/components/co-lightbox.js +1 -1
  357. package/dist/components/co-list-footer.js +1 -1
  358. package/dist/components/co-list-item.js +1 -1
  359. package/dist/components/co-media-thumb.js +1 -1
  360. package/dist/components/co-menu-divider.js +1 -1
  361. package/dist/components/co-menu-item.js +1 -1
  362. package/dist/components/co-menu.js +1 -1
  363. package/dist/components/co-modal.js +1 -1
  364. package/dist/components/co-navbar.js +1 -1
  365. package/dist/components/co-number-field.js +1 -1
  366. package/dist/components/co-option-list.js +1 -1
  367. package/dist/components/co-overlay.js +1 -1
  368. package/dist/components/co-page-header.js +1 -1
  369. package/dist/components/co-phone-field.js +1 -1
  370. package/dist/components/co-popover.js +1 -1
  371. package/dist/components/co-progress-bar.js +1 -1
  372. package/dist/components/co-progress-circle.js +1 -1
  373. package/dist/components/co-radio-group.js +1 -1
  374. package/dist/components/co-radio.js +1 -1
  375. package/dist/components/co-rating.js +1 -1
  376. package/dist/components/co-ref-field.js +1 -1
  377. package/dist/components/co-rich-text-editor.js +1 -1
  378. package/dist/components/co-rich-text-toolbar.js +1 -1
  379. package/dist/components/co-row.js +1 -1
  380. package/dist/components/co-segmented-bar.js +1 -1
  381. package/dist/components/co-select.js +1 -1
  382. package/dist/components/co-separator.js +1 -1
  383. package/dist/components/co-sidebar-nav.js +1 -1
  384. package/dist/components/co-sidebar.js +1 -1
  385. package/dist/components/co-skeleton.js +1 -1
  386. package/dist/components/co-slider.js +1 -1
  387. package/dist/components/co-swatch-grid.js +1 -1
  388. package/dist/components/co-switch.js +1 -1
  389. package/dist/components/co-tab-group.js +1 -1
  390. package/dist/components/co-tab.js +1 -1
  391. package/dist/components/co-tags-field.js +1 -1
  392. package/dist/components/co-textarea.js +1 -1
  393. package/dist/components/co-tile.js +1 -1
  394. package/dist/components/co-time-field.js +1 -1
  395. package/dist/components/co-toast.js +1 -1
  396. package/dist/components/co-toggle-button-group.js +1 -1
  397. package/dist/components/co-toggle-button.js +1 -1
  398. package/dist/components/co-tooltip.js +1 -1
  399. package/dist/components/co-transfer-list.js +1 -1
  400. package/dist/components/co-tree-item.js +1 -1
  401. package/dist/components/co-video.js +1 -1
  402. package/dist/components/{p-BQltjDw5.js → p-8XzG8pzY.js} +1 -1
  403. package/dist/components/{p-FA1kBmZ-.js → p-9VoFSbIH.js} +1 -1
  404. package/dist/components/{p-CpGEV0iM.js → p-B3Egz082.js} +1 -1
  405. package/dist/components/{p-Bymi-A7C.js → p-B9wdMd_0.js} +1 -1
  406. package/dist/components/{p-Dp650Gpp.js → p-BRZci8B3.js} +1 -1
  407. package/dist/components/{p-CGH3E8uK.js → p-BVdCvEza.js} +1 -1
  408. package/dist/components/{p-Dh_eRYKu.js → p-BdmzslA5.js} +1 -1
  409. package/dist/components/{p-C3G8oPgU.js → p-Bw_b_czs.js} +1 -1
  410. package/dist/components/{p-BraiMwgs.js → p-C4sZjIDj.js} +1 -1
  411. package/dist/components/{p-B20o5exO.js → p-C6WHpL5X.js} +1 -1
  412. package/dist/components/p-COozgrEk.js +1 -0
  413. package/dist/components/{p-ChwSnCFf.js → p-CiYPJW0B.js} +1 -1
  414. package/dist/components/{p-f2xwcrXa.js → p-Cnfd6Zze.js} +1 -1
  415. package/dist/components/{p-C1jZYtUS.js → p-CxWo3qDo.js} +1 -1
  416. package/dist/components/p-D4XP17VP.js +1 -0
  417. package/dist/components/{p-D9or2g4j.js → p-Dn2wblrA.js} +1 -1
  418. package/dist/components/p-Dnz99Ox_.js +1 -0
  419. package/dist/components/{p-BcXdId8y.js → p-DsuFNmTI.js} +1 -1
  420. package/dist/components/{p-CfJgypOl.js → p-Du8EpQb-.js} +1 -1
  421. package/dist/components/{p-DKXCr-hE.js → p-DymSqdlK.js} +1 -1
  422. package/dist/components/{p-C-f8wTqe.js → p-Hi57w2_2.js} +1 -1
  423. package/dist/components/{p-B3kKOgsA.js → p-KK2vAKs-.js} +1 -1
  424. package/dist/components/{p-d4rf3H8p.js → p-TGRbLkLz.js} +1 -1
  425. package/dist/components/{p-BOqtnWTJ.js → p-VcrjNCew.js} +1 -1
  426. package/dist/components/{p-BR0LYW9v.js → p-nrwDl_gx.js} +1 -1
  427. package/dist/components/{p-BIDSDP05.js → p-zJ3pjFzW.js} +1 -1
  428. package/dist/esm/co-accordion.entry.js +2 -2
  429. package/dist/esm/co-action-bar.entry.js +2 -2
  430. package/dist/esm/co-app-shell.entry.js +2 -2
  431. package/dist/esm/co-audio-player.entry.js +3 -3
  432. package/dist/esm/co-autocomplete.entry.js +10 -3
  433. package/dist/esm/co-avatar-group.entry.js +2 -2
  434. package/dist/esm/co-avatar.entry.js +1 -1
  435. package/dist/esm/co-badge.entry.js +1 -1
  436. package/dist/esm/co-bottom-sheet.entry.js +4 -4
  437. package/dist/esm/co-breadcrumb-item.entry.js +2 -2
  438. package/dist/esm/co-breadcrumb.entry.js +1 -1
  439. package/dist/esm/co-button-group.entry.js +3 -2
  440. package/dist/esm/co-button.entry.js +5 -5
  441. package/dist/esm/co-calendar-month_2.entry.js +14 -2
  442. package/dist/esm/co-calendar_3.entry.js +9 -5
  443. package/dist/esm/co-card.entry.js +2 -2
  444. package/dist/esm/co-carousel.entry.js +5 -2
  445. package/dist/esm/co-checkbox-group.entry.js +3 -3
  446. package/dist/esm/co-checkbox.entry.js +3 -3
  447. package/dist/esm/co-chip_2.entry.js +15 -5
  448. package/dist/esm/co-color-area.entry.js +2 -2
  449. package/dist/esm/co-color-picker.entry.js +2 -2
  450. package/dist/esm/co-color-slider.entry.js +3 -3
  451. package/dist/esm/co-column-picker.entry.js +22 -2
  452. package/dist/esm/co-combobox.entry.js +3 -3
  453. package/dist/esm/co-command-search.entry.js +4 -4
  454. package/dist/esm/co-data-table-pagination.entry.js +4 -4
  455. package/dist/esm/co-data-table.entry.js +2 -2
  456. package/dist/esm/co-date-picker.entry.js +8 -0
  457. package/dist/esm/co-date-range-picker.entry.js +9 -0
  458. package/dist/esm/co-date-range.entry.js +7 -1
  459. package/dist/esm/co-date-time-picker.entry.js +9 -2
  460. package/dist/esm/co-document-editor.entry.js +8 -2
  461. package/dist/esm/co-drive-card.entry.js +1 -1
  462. package/dist/esm/co-drop-zone.entry.js +1 -1
  463. package/dist/esm/co-emoji-picker.entry.js +2 -2
  464. package/dist/esm/co-empty-state.entry.js +2 -2
  465. package/dist/esm/co-event-calendar.entry.js +4 -2
  466. package/dist/esm/co-event-popover.entry.js +5 -1
  467. package/dist/esm/co-fab.entry.js +6 -2
  468. package/dist/esm/co-file-field.entry.js +10 -6
  469. package/dist/esm/co-file-type-tile.entry.js +2 -2
  470. package/dist/esm/co-gradient-bar.entry.js +2 -2
  471. package/dist/esm/co-helper-text.entry.js +2 -2
  472. package/dist/esm/co-icon-button.entry.js +5 -6
  473. package/dist/esm/co-icon.entry.js +2 -2
  474. package/dist/esm/co-json-field.entry.js +8 -3
  475. package/dist/esm/co-kbd_2.entry.js +3 -3
  476. package/dist/esm/co-list-footer.entry.js +1 -1
  477. package/dist/esm/co-list-item.entry.js +4 -4
  478. package/dist/esm/co-media-thumb.entry.js +2 -2
  479. package/dist/esm/co-menu-divider.entry.js +1 -1
  480. package/dist/esm/co-menu.entry.js +8 -8
  481. package/dist/esm/co-modal.entry.js +9 -9
  482. package/dist/esm/co-navbar.entry.js +2 -2
  483. package/dist/esm/co-number-field.entry.js +9 -3
  484. package/dist/esm/co-overlay.entry.js +1 -1
  485. package/dist/esm/co-page-header.entry.js +1 -1
  486. package/dist/esm/co-popover.entry.js +9 -7
  487. package/dist/esm/co-progress-bar.entry.js +2 -2
  488. package/dist/esm/co-progress-circle.entry.js +2 -2
  489. package/dist/esm/co-provider-logo_2.entry.js +1 -1
  490. package/dist/esm/co-radio-group.entry.js +3 -3
  491. package/dist/esm/co-radio.entry.js +3 -3
  492. package/dist/esm/co-rating.entry.js +10 -3
  493. package/dist/esm/co-ref-field.entry.js +10 -1
  494. package/dist/esm/co-rich-text-editor.entry.js +17 -3
  495. package/dist/esm/co-rich-text-toolbar.entry.js +1 -0
  496. package/dist/esm/co-row.entry.js +2 -2
  497. package/dist/esm/co-segmented-bar.entry.js +2 -2
  498. package/dist/esm/co-select.entry.js +19 -6
  499. package/dist/esm/co-separator.entry.js +1 -1
  500. package/dist/esm/co-sidebar-nav.entry.js +2 -2
  501. package/dist/esm/co-sidebar.entry.js +2 -2
  502. package/dist/esm/co-slider.entry.js +8 -2
  503. package/dist/esm/co-swatch-grid.entry.js +1 -1
  504. package/dist/esm/co-switch.entry.js +3 -3
  505. package/dist/esm/co-tab-group.entry.js +2 -2
  506. package/dist/esm/co-tab.entry.js +5 -5
  507. package/dist/esm/co-tags-field.entry.js +10 -5
  508. package/dist/esm/co-tile.entry.js +1 -1
  509. package/dist/esm/co-time-field.entry.js +4 -1
  510. package/dist/esm/co-toast.entry.js +2 -2
  511. package/dist/esm/co-toggle-button-group.entry.js +7 -4
  512. package/dist/esm/co-toggle-button.entry.js +5 -2
  513. package/dist/esm/co-transfer-list.entry.js +6 -2
  514. package/dist/esm/co-tree-item.entry.js +2 -2
  515. package/dist/esm/co-video.entry.js +10 -2
  516. package/dist/types/components/co-accordion/co-accordion.d.ts +10 -0
  517. package/dist/types/components/co-action-bar/co-action-bar.d.ts +1 -0
  518. package/dist/types/components/co-app-shell/co-app-shell.d.ts +11 -0
  519. package/dist/types/components/co-audio-player/co-audio-player.d.ts +16 -0
  520. package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +21 -0
  521. package/dist/types/components/co-avatar/co-avatar.d.ts +8 -1
  522. package/dist/types/components/co-avatar-group/co-avatar-group.d.ts +5 -0
  523. package/dist/types/components/co-badge/co-badge.d.ts +7 -0
  524. package/dist/types/components/co-bottom-sheet/co-bottom-sheet.d.ts +9 -0
  525. package/dist/types/components/co-breadcrumb/co-breadcrumb.d.ts +4 -0
  526. package/dist/types/components/co-breadcrumb-item/co-breadcrumb-item.d.ts +6 -0
  527. package/dist/types/components/co-button/co-button.d.ts +9 -3
  528. package/dist/types/components/co-button-group/co-button-group.d.ts +7 -0
  529. package/dist/types/components/co-calendar/co-calendar.d.ts +2 -0
  530. package/dist/types/components/co-calendar-timegrid/co-calendar-timegrid.d.ts +23 -0
  531. package/dist/types/components/co-card/co-card.d.ts +9 -0
  532. package/dist/types/components/co-carousel/co-carousel.d.ts +12 -0
  533. package/dist/types/components/co-checkbox/co-checkbox.d.ts +8 -0
  534. package/dist/types/components/co-checkbox-group/co-checkbox-group.d.ts +5 -0
  535. package/dist/types/components/co-chip/co-chip.d.ts +13 -0
  536. package/dist/types/components/co-color-area/co-color-area.d.ts +2 -1
  537. package/dist/types/components/co-color-picker/co-color-picker.d.ts +2 -0
  538. package/dist/types/components/co-color-slider/co-color-slider.d.ts +2 -1
  539. package/dist/types/components/co-column-picker/co-column-picker.d.ts +32 -0
  540. package/dist/types/components/co-combobox/co-combobox.d.ts +14 -0
  541. package/dist/types/components/co-command-search/co-command-search.d.ts +15 -0
  542. package/dist/types/components/co-data-table/co-data-table.d.ts +5 -0
  543. package/dist/types/components/co-data-table-pagination/co-data-table-pagination.d.ts +12 -0
  544. package/dist/types/components/co-date-field/co-date-field.d.ts +11 -0
  545. package/dist/types/components/co-date-picker/co-date-picker.d.ts +30 -0
  546. package/dist/types/components/co-date-range/co-date-range.d.ts +12 -0
  547. package/dist/types/components/co-date-range-picker/co-date-range-picker.d.ts +33 -0
  548. package/dist/types/components/co-date-time-picker/co-date-time-picker.d.ts +21 -0
  549. package/dist/types/components/co-document-editor/co-document-editor.d.ts +9 -1
  550. package/dist/types/components/co-drawer/co-drawer.d.ts +13 -0
  551. package/dist/types/components/co-drive-card/co-drive-card.d.ts +13 -0
  552. package/dist/types/components/co-drop-zone/co-drop-zone.d.ts +6 -1
  553. package/dist/types/components/co-emoji-picker/co-emoji-picker.d.ts +9 -0
  554. package/dist/types/components/co-empty-state/co-empty-state.d.ts +2 -0
  555. package/dist/types/components/co-event-calendar/co-event-calendar.d.ts +12 -16
  556. package/dist/types/components/co-event-popover/co-event-popover.d.ts +13 -0
  557. package/dist/types/components/co-fab/co-fab.d.ts +11 -0
  558. package/dist/types/components/co-file-field/co-file-field.d.ts +6 -0
  559. package/dist/types/components/co-file-type-tile/co-file-type-tile.d.ts +7 -0
  560. package/dist/types/components/co-gradient-bar/co-gradient-bar.d.ts +5 -0
  561. package/dist/types/components/co-helper-text/co-helper-text.d.ts +2 -0
  562. package/dist/types/components/co-icon/co-icon.d.ts +4 -0
  563. package/dist/types/components/co-icon-button/co-icon-button.d.ts +9 -4
  564. package/dist/types/components/co-input/co-input.d.ts +11 -0
  565. package/dist/types/components/co-json-field/co-json-field.d.ts +11 -0
  566. package/dist/types/components/co-kbd/co-kbd.d.ts +7 -0
  567. package/dist/types/components/co-list-footer/co-list-footer.d.ts +3 -0
  568. package/dist/types/components/co-list-item/co-list-item.d.ts +3 -0
  569. package/dist/types/components/co-loader/co-loader.d.ts +5 -0
  570. package/dist/types/components/co-media-thumb/co-media-thumb.d.ts +7 -0
  571. package/dist/types/components/co-menu/co-menu.d.ts +6 -4
  572. package/dist/types/components/co-menu-divider/co-menu-divider.d.ts +1 -0
  573. package/dist/types/components/co-menu-item/co-menu-item.d.ts +2 -0
  574. package/dist/types/components/co-modal/co-modal.d.ts +24 -12
  575. package/dist/types/components/co-navbar/co-navbar.d.ts +2 -0
  576. package/dist/types/components/co-number-field/co-number-field.d.ts +20 -0
  577. package/dist/types/components/co-option-list/co-option-list.d.ts +28 -1
  578. package/dist/types/components/co-overlay/co-overlay.d.ts +10 -0
  579. package/dist/types/components/co-page-header/co-page-header.d.ts +3 -0
  580. package/dist/types/components/co-popover/co-popover.d.ts +20 -5
  581. package/dist/types/components/co-progress-bar/co-progress-bar.d.ts +3 -0
  582. package/dist/types/components/co-progress-circle/co-progress-circle.d.ts +3 -0
  583. package/dist/types/components/co-provider-logo/co-provider-logo.d.ts +3 -0
  584. package/dist/types/components/co-radio/co-radio.d.ts +8 -0
  585. package/dist/types/components/co-radio-group/co-radio-group.d.ts +5 -0
  586. package/dist/types/components/co-rating/co-rating.d.ts +15 -0
  587. package/dist/types/components/co-ref-field/co-ref-field.d.ts +42 -0
  588. package/dist/types/components/co-rich-text-editor/co-rich-text-editor.d.ts +29 -0
  589. package/dist/types/components/co-rich-text-toolbar/co-rich-text-toolbar.d.ts +3 -0
  590. package/dist/types/components/co-rich-text-viewer/co-rich-text-viewer.d.ts +8 -0
  591. package/dist/types/components/co-row/co-row.d.ts +3 -0
  592. package/dist/types/components/co-segmented-bar/co-segmented-bar.d.ts +6 -0
  593. package/dist/types/components/co-select/co-select.d.ts +26 -0
  594. package/dist/types/components/co-separator/co-separator.d.ts +7 -0
  595. package/dist/types/components/co-sidebar/co-sidebar.d.ts +8 -0
  596. package/dist/types/components/co-sidebar-nav/co-sidebar-nav.d.ts +1 -0
  597. package/dist/types/components/co-skeleton/co-skeleton.d.ts +3 -0
  598. package/dist/types/components/co-slider/co-slider.d.ts +17 -0
  599. package/dist/types/components/co-swatch-grid/co-swatch-grid.d.ts +1 -0
  600. package/dist/types/components/co-switch/co-switch.d.ts +9 -0
  601. package/dist/types/components/co-tab/co-tab.d.ts +11 -3
  602. package/dist/types/components/co-tab-group/co-tab-group.d.ts +9 -0
  603. package/dist/types/components/co-tags-field/co-tags-field.d.ts +11 -0
  604. package/dist/types/components/co-tile/co-tile.d.ts +5 -0
  605. package/dist/types/components/co-time-field/co-time-field.d.ts +5 -0
  606. package/dist/types/components/co-toast/co-toast.d.ts +9 -0
  607. package/dist/types/components/co-toggle-button/co-toggle-button.d.ts +8 -0
  608. package/dist/types/components/co-toggle-button-group/co-toggle-button-group.d.ts +12 -2
  609. package/dist/types/components/co-tooltip/co-tooltip.d.ts +10 -0
  610. package/dist/types/components/co-transfer-list/co-transfer-list.d.ts +12 -0
  611. package/dist/types/components/co-tree-item/co-tree-item.d.ts +2 -0
  612. package/dist/types/components/co-video/co-video.d.ts +31 -0
  613. package/dist/types/components.d.ts +2202 -38
  614. package/package.json +4 -4
  615. package/dist/cobalt/p-1bfb69ae.entry.js +0 -1
  616. package/dist/cobalt/p-b9dfb333.entry.js +0 -1
  617. package/dist/cobalt/p-bc4fbfa6.entry.js +0 -1
  618. package/dist/cobalt/p-d75d2f3d.entry.js +0 -1
  619. package/dist/cobalt/p-f60bd4d6.entry.js +0 -1
  620. package/dist/components/p-BZDl9aFl.js +0 -1
  621. package/dist/components/p-DfcPGitr.js +0 -1
  622. package/dist/components/p-Dg-Ti_Bf.js +0 -1
  623. /package/dist/cobalt/{p-2794c500.entry.js → p-67a024dd.entry.js} +0 -0
  624. /package/dist/cobalt/{p-05000ef3.entry.js → p-6974df59.entry.js} +0 -0
  625. /package/dist/cobalt/{p-ffbe955a.entry.js → p-71dc8e4a.entry.js} +0 -0
  626. /package/dist/cobalt/{p-297b55cd.entry.js → p-77e0d401.entry.js} +0 -0
  627. /package/dist/cobalt/{p-4c6caa41.entry.js → p-c567533e.entry.js} +0 -0
@@ -1,5 +1,15 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { computePosition, findScrollParents, getOffsetAncestor } from "../../utils/positioning";
3
+ /**
4
+ * Globo de ayuda que aparece al pasar el mouse o enfocar el control envuelto.
5
+ * Es la forma de rotular un control de solo ícono (en lugar del `title`
6
+ * nativo), pero no le da nombre accesible: el control lleva el suyo.
7
+ * `variant="label"` + `shortcut` muestran el atajo con un `co-kbd`. Wrapper Vue:
8
+ * `CoTooltip` de `@prolibu-suite/cobalt-vue`.
9
+ *
10
+ * @slot - El control que dispara el tooltip.
11
+ * @part panel - El globo.
12
+ */
3
13
  export class CoTooltip {
4
14
  constructor() {
5
15
  // ── Props ──────────────────────────────────────────────────
@@ -263,7 +273,7 @@ export class CoTooltip {
263
273
  // ── Render ─────────────────────────────────────────────────
264
274
  render() {
265
275
  const side = this.actualPlacement.split('-')[0];
266
- 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: {
276
+ 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: {
267
277
  'co-tooltip__panel': true,
268
278
  [`co-tooltip__panel--${side}`]: true,
269
279
  'co-tooltip__panel--closing': this.closing,
@@ -275,7 +285,7 @@ export class CoTooltip {
275
285
  this.promotePanel();
276
286
  this.scheduleUpdate();
277
287
  }
278
- }, 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" })))));
288
+ }, 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" })))));
279
289
  }
280
290
  static get is() { return "co-tooltip"; }
281
291
  static get encapsulation() { return "shadow"; }
@@ -1,14 +1,23 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { initOverlayScroll } from "../../utils/overlayScroll";
3
+ /**
4
+ * Selector de dos listas: se marcan opciones en la lista de disponibles y se
5
+ * pasan a la de seleccionadas (y de vuelta) con botones de mover, uno o todos.
6
+ * Wrapper Vue: `CoTransferList` de `@prolibu-suite/cobalt-vue`.
7
+ */
3
8
  export class CoTransferList {
4
9
  constructor() {
10
+ /** Título de la lista de disponibles. */
5
11
  this.leftTitle = 'Available';
12
+ /** Título de la lista de seleccionadas. */
6
13
  this.rightTitle = 'Selected';
7
14
  /** All available options */
8
15
  this.options = '[]';
9
16
  /** Values in the right (selected) list */
10
17
  this.value = '[]';
18
+ /** Deshabilita las listas y los botones. */
11
19
  this.disabled = false;
20
+ /** Estado de validación: colorea el `helperText`. */
12
21
  this.status = 'default';
13
22
  this.leftChecked = new Set();
14
23
  this.rightChecked = new Set();
@@ -117,11 +126,11 @@ export class CoTransferList {
117
126
  this.osInstances = [];
118
127
  }
119
128
  render() {
120
- return (h("div", { key: '10f7ff92e36b92f0a92fa2a286242f651d7da22c', class: {
129
+ return (h("div", { key: '31890d6f8b8201b20c286448098ba96b84313192', class: {
121
130
  'co-transfer-list': true,
122
131
  'co-transfer-list--disabled': this.disabled,
123
132
  [`co-transfer-list--${this.status}`]: this.status !== 'default',
124
- } }, this.label && h("label", { key: 'da07e59288cfb85b4d95e62aa7f61d65a0ac5931', class: "co-transfer-list__label" }, this.label), h("div", { key: '8d4a921850b838f9096402ba947af8b164eb541e', class: "co-transfer-list__body" }, this.renderList(this.leftItems, this.leftChecked, this.toggleLeftCheck, this.leftTitle), h("div", { key: 'a258db503eb7477c16186ba58755b8696610ffdb', class: "co-transfer-list__actions" }, h("button", { key: '11d8275f690eb58f07b69044fcadb501d520a34b', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllRight, "aria-label": "Move all right" }, h("co-icon", { key: '3a637822c740096295bb4129e9f8366b61fc906c', name: "caret-double-right", size: 16 })), h("button", { key: '2fea7b08d006352a5c5b0e2f46e558bea4448019', class: "co-transfer-list__btn", disabled: this.disabled || this.leftChecked.size === 0, onClick: this.moveRight, "aria-label": "Move selected right" }, h("co-icon", { key: '4f016d94cf4fe7a621decdd630c16d63cd82944d', name: "caret-right", size: 16 })), h("button", { key: 'acf8b07e343c527d231c65dd31ff27b765da2e89', class: "co-transfer-list__btn", disabled: this.disabled || this.rightChecked.size === 0, onClick: this.moveLeft, "aria-label": "Move selected left" }, h("co-icon", { key: '4e2cd858347069f84e2adef89ed8519f70f42b62', name: "caret-left", size: 16 })), h("button", { key: '59c8b06cfcfe5804f73d2c402052e86baae5e2c9', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllLeft, "aria-label": "Move all left" }, h("co-icon", { key: '7d00c3cd0866d92ef0d456b419f9b3fe0c25c71e', name: "caret-double-left", size: 16 }))), this.renderList(this.rightItems, this.rightChecked, this.toggleRightCheck, this.rightTitle)), this.helperText && (h("div", { key: '4d54c76de7e18a5a5b5ea40f9b5dea4a5551440e', class: `co-transfer-list__helper co-transfer-list__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '2e1017e680c759d1b67d8b1b03ffbebbfa6d1068', name: this.statusIcon, size: 14, weight: "fill", class: "co-transfer-list__helper-icon" }), h("span", { key: '9533af921d596314d489656706aeecfe004182b1', class: "co-transfer-list__helper-text" }, this.helperText)))));
133
+ } }, this.label && h("label", { key: '03682912da82bb6590d6c3cd4a070dc8d4214744', class: "co-transfer-list__label" }, this.label), h("div", { key: '33562c5fc6372f8cbee86751f593959f0b851466', class: "co-transfer-list__body" }, this.renderList(this.leftItems, this.leftChecked, this.toggleLeftCheck, this.leftTitle), h("div", { key: '1f4125394ac963351e08f7722dc7f73fa86ccfc9', class: "co-transfer-list__actions" }, h("button", { key: 'b070ea660c6997f2281a3a3dcdf15764665408ee', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllRight, "aria-label": "Move all right" }, h("co-icon", { key: 'a46764f1308c49ff1cfcaeeab8b60434c4347b72', name: "caret-double-right", size: 16 })), h("button", { key: 'f57ef7e0a56e1f257277407d7eb47d28830d60fb', class: "co-transfer-list__btn", disabled: this.disabled || this.leftChecked.size === 0, onClick: this.moveRight, "aria-label": "Move selected right" }, h("co-icon", { key: '3dc5c8df4936dd79c9c7947f1f669cf12c2d785e', name: "caret-right", size: 16 })), h("button", { key: '76ffe11208d14d89683a558d2004fb831fdc3ebf', class: "co-transfer-list__btn", disabled: this.disabled || this.rightChecked.size === 0, onClick: this.moveLeft, "aria-label": "Move selected left" }, h("co-icon", { key: '31565d71c489ccbe4b58edd89c867210a7077870', name: "caret-left", size: 16 })), h("button", { key: 'af464a61aa1a553b5e8218d14fdd62b5618e4d0e', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllLeft, "aria-label": "Move all left" }, h("co-icon", { key: '86ebbd7639f1d56c4073e55792a397213ed7b426', name: "caret-double-left", size: 16 }))), this.renderList(this.rightItems, this.rightChecked, this.toggleRightCheck, this.rightTitle)), this.helperText && (h("div", { key: '769fc2d953ad3c24a1fbaaafd2054376e8c452b3', class: `co-transfer-list__helper co-transfer-list__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '62d8663352ece7628a569a9b6808d4e9f921649d', name: this.statusIcon, size: 14, weight: "fill", class: "co-transfer-list__helper-icon" }), h("span", { key: '9480ee4c4fdc4c9ee62836ad33e555fe550650b6', class: "co-transfer-list__helper-text" }, this.helperText)))));
125
134
  }
126
135
  static get is() { return "co-transfer-list"; }
127
136
  static get encapsulation() { return "shadow"; }
@@ -149,7 +158,7 @@ export class CoTransferList {
149
158
  "optional": true,
150
159
  "docs": {
151
160
  "tags": [],
152
- "text": ""
161
+ "text": "Etiqueta del campo."
153
162
  },
154
163
  "getter": false,
155
164
  "setter": false,
@@ -168,7 +177,7 @@ export class CoTransferList {
168
177
  "optional": false,
169
178
  "docs": {
170
179
  "tags": [],
171
- "text": ""
180
+ "text": "T\u00EDtulo de la lista de disponibles."
172
181
  },
173
182
  "getter": false,
174
183
  "setter": false,
@@ -188,7 +197,7 @@ export class CoTransferList {
188
197
  "optional": false,
189
198
  "docs": {
190
199
  "tags": [],
191
- "text": ""
200
+ "text": "T\u00EDtulo de la lista de seleccionadas."
192
201
  },
193
202
  "getter": false,
194
203
  "setter": false,
@@ -205,7 +214,7 @@ export class CoTransferList {
205
214
  "references": {
206
215
  "TransferOption": {
207
216
  "location": "local",
208
- "path": "/Users/agox/worktrees/cobalt-release-2026-09-24/packages/core/src/components/co-transfer-list/co-transfer-list.tsx",
217
+ "path": "/Users/agox/worktrees/cobalt-docs-2026-09-24/packages/core/src/components/co-transfer-list/co-transfer-list.tsx",
209
218
  "id": "src/components/co-transfer-list/co-transfer-list.tsx::TransferOption"
210
219
  }
211
220
  }
@@ -254,7 +263,7 @@ export class CoTransferList {
254
263
  "optional": false,
255
264
  "docs": {
256
265
  "tags": [],
257
- "text": ""
266
+ "text": "Deshabilita las listas y los botones."
258
267
  },
259
268
  "getter": false,
260
269
  "setter": false,
@@ -274,7 +283,7 @@ export class CoTransferList {
274
283
  "optional": true,
275
284
  "docs": {
276
285
  "tags": [],
277
- "text": ""
286
+ "text": "Texto de ayuda o de error bajo el campo."
278
287
  },
279
288
  "getter": false,
280
289
  "setter": false,
@@ -293,7 +302,7 @@ export class CoTransferList {
293
302
  "optional": false,
294
303
  "docs": {
295
304
  "tags": [],
296
- "text": ""
305
+ "text": "Estado de validaci\u00F3n: colorea el `helperText`."
297
306
  },
298
307
  "getter": false,
299
308
  "setter": false,
@@ -318,7 +327,7 @@ export class CoTransferList {
318
327
  "composed": true,
319
328
  "docs": {
320
329
  "tags": [],
321
- "text": ""
330
+ "text": "Cambi\u00F3 la lista de seleccionadas (`value` ya est\u00E1 actualizado); `detail` = array de valores."
322
331
  },
323
332
  "complexType": {
324
333
  "original": "string[]",
@@ -1,8 +1,17 @@
1
+ /**
2
+ * @prop --co-tree-item-selected-bg: Fondo de la fila con `selection="solid"` (default el acento).
3
+ * @prop --co-tree-item-selected-color: Texto e íconos con `selection="solid"` (default on-accent).
4
+ * @prop --co-tree-item-selected-soft-bg: Fondo con `selection="soft"` (default celeste-100).
5
+ * @prop --co-tree-item-group-bg: Fondo del bloque de hijos de una fila expandida (default celeste-100 al 50%).
6
+ * @prop --co-tree-item-hover-bg: Fondo de la fila en hover.
7
+ * @prop --co-tree-item-indent: Sangría por nivel de `depth` (default 24px).
8
+ * @prop --co-tree-item-caret-space: Hueco que reservan las filas SIN chevron (default 0; 12px alinea un árbol mixto). Se pone en el contenedor.
9
+ */
1
10
  /* co-tree-item — fila de árbol (Páginas / Capas del editor).
2
11
  *
3
- * Variables públicas (todas con fallback; los tokens nuevos de la Task C1
12
+ * Variables públicas (todas con fallback; los tokens
4
13
  * `--co-semantic-accent`, `--co-semantic-on-accent` y `--co-color-celeste-100`
5
- * llevan el literal mientras C1 no esté integrada):
14
+ * llevan el literal para hosts con un build de tokens anterior):
6
15
  * --co-tree-item-selected-bg fondo `selection="solid"` (accent)
7
16
  * --co-tree-item-selected-color texto `selection="solid"` (on-accent)
8
17
  * --co-tree-item-selected-soft-bg fondo `selection="soft"` (celeste-100)
@@ -38,6 +38,8 @@ import { getTreeItemStrings } from "./treeItemI18n";
38
38
  * @part label - Texto del label.
39
39
  * @part suffix - Contenedor de las acciones.
40
40
  * @part children - Bloque de filas hijas (`role="group"`).
41
+ *
42
+ * Wrapper Vue: `CoTreeItem` de `@prolibu-suite/cobalt-vue`.
41
43
  */
42
44
  export class CoTreeItem {
43
45
  constructor() {
@@ -109,7 +111,7 @@ export class CoTreeItem {
109
111
  const expanded = expandable && !!this.expanded;
110
112
  const isGroup = expanded && this.hasChildren;
111
113
  const strings = getTreeItemStrings((_d = this.locale) !== null && _d !== void 0 ? _d : 'es');
112
- return (h(Host, { key: '873d12e73414860f322eb2032f424c474216e7d4', role: "treeitem", "aria-level": String(depth + 1), "aria-expanded": expandable ? (expanded ? 'true' : 'false') : undefined, "aria-selected": selection !== 'none' ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : undefined }, h("div", { key: 'a0629e12d90421a6f8bc3899acee21297e5a2f50', class: {
114
+ return (h(Host, { key: '09547858bbf035d5b70b95bdf480a58378532ae3', role: "treeitem", "aria-level": String(depth + 1), "aria-expanded": expandable ? (expanded ? 'true' : 'false') : undefined, "aria-selected": selection !== 'none' ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : undefined }, h("div", { key: '1c720c317936faa2b01c6cdab61d339d4a3d40f0', class: {
113
115
  'co-tree-item': true,
114
116
  'co-tree-item--xs': size === 'xs',
115
117
  'co-tree-item--soft': selection === 'soft',
@@ -117,7 +119,7 @@ export class CoTreeItem {
117
119
  'co-tree-item--expanded': expanded,
118
120
  'co-tree-item--group': isGroup,
119
121
  'co-tree-item--disabled': !!this.disabled,
120
- } }, h("div", { key: 'd8f1c942b7ee3ef6e1f85a78088544b4b06ea9ee', class: "co-tree-item__row", part: "row", style: { paddingLeft: `calc(8px + ${depth} * var(--co-tree-item-indent, 24px))` } }, expandable ? (h("button", { type: "button", class: "co-tree-item__caret", part: "caret", tabindex: "-1", "aria-label": expanded ? strings.collapse : strings.expand, "aria-disabled": this.disabled ? 'true' : undefined, onMouseDown: this.handleCaretMouseDown, onClick: this.handleCaretClick }, h("co-icon", { name: expanded ? 'caret-down' : 'caret-right', size: 8, weight: "fill" }))) : (h("span", { class: "co-tree-item__caret-space", "aria-hidden": "true" })), h("slot", { key: 'a21dc1c08d4c9b8a5077ebbac32a29475be573d8', name: "prefix" }), this.icon && (h("span", { key: '9bddf0697b6307069a3e7e744808c792196023d6', class: "co-tree-item__icon", part: "icon" }, h("co-icon", { key: 'fa4add61204749dd8ca1cbcc81e50ade12968e0c', name: this.icon, size: 12 }))), h("span", { key: '9f94f8a34705f48d4fe0d33aa277ff0d8eed04e2', class: "co-tree-item__label", part: "label" }, h("slot", { key: 'a94003f5dd1ceb7102002749686afd8872ce4d23', name: "label" }, this.label)), h("span", { key: '218b9fcd7dc0ce283a073b788ddb02254d587559', class: "co-tree-item__suffix", part: "suffix" }, h("slot", { key: '9c93a49a55d467aaa993f572dd8187ff9f8605f4', name: "suffix" }))), h("div", { key: 'afe218a752c68be204a04255bc00a54f5036e5c3', class: "co-tree-item__children", part: "children", role: "group" }, h("slot", { key: '3afaeaa63c458c01b43e5d4b33cd637c06c8cd31', onSlotchange: this.syncHasChildren })))));
122
+ } }, h("div", { key: 'e20c131f702d8de43901f12963da75949e3a9e6e', class: "co-tree-item__row", part: "row", style: { paddingLeft: `calc(8px + ${depth} * var(--co-tree-item-indent, 24px))` } }, expandable ? (h("button", { type: "button", class: "co-tree-item__caret", part: "caret", tabindex: "-1", "aria-label": expanded ? strings.collapse : strings.expand, "aria-disabled": this.disabled ? 'true' : undefined, onMouseDown: this.handleCaretMouseDown, onClick: this.handleCaretClick }, h("co-icon", { name: expanded ? 'caret-down' : 'caret-right', size: 8, weight: "fill" }))) : (h("span", { class: "co-tree-item__caret-space", "aria-hidden": "true" })), h("slot", { key: '313110e0f4b6b3d81faf1ecd63a56d40ebadc40f', name: "prefix" }), this.icon && (h("span", { key: 'e099db0908ccce9bea71fff6c58081126308277a', class: "co-tree-item__icon", part: "icon" }, h("co-icon", { key: '0ca917bbfcb13285d364b5b6c07ba52165df7c0b', name: this.icon, size: 12 }))), h("span", { key: '48d8b98d0af58627c6510a57b8d3a05c1c58452f', class: "co-tree-item__label", part: "label" }, h("slot", { key: 'a8c7dcfae8c5e4d7f2782b81d96a2f2924dc889c', name: "label" }, this.label)), h("span", { key: '8221cd9578dc226545e86e588d5e60fa75cd06f5', class: "co-tree-item__suffix", part: "suffix" }, h("slot", { key: '256ca2c9cc0b7f6249be0dd23b4dc14def735db9', name: "suffix" }))), h("div", { key: '246a9968d7443f2e9ab4cc37669861a6a89de546', class: "co-tree-item__children", part: "children", role: "group" }, h("slot", { key: '4726dadaf4b78766eea244866c97a2664e35c93c', onSlotchange: this.syncHasChildren })))));
121
123
  }
122
124
  static get is() { return "co-tree-item"; }
123
125
  static get encapsulation() { return "shadow"; }
@@ -241,7 +243,7 @@ export class CoTreeItem {
241
243
  "references": {
242
244
  "TreeItemSelection": {
243
245
  "location": "local",
244
- "path": "/Users/agox/worktrees/cobalt-release-2026-09-24/packages/core/src/components/co-tree-item/co-tree-item.tsx",
246
+ "path": "/Users/agox/worktrees/cobalt-docs-2026-09-24/packages/core/src/components/co-tree-item/co-tree-item.tsx",
245
247
  "id": "src/components/co-tree-item/co-tree-item.tsx::TreeItemSelection"
246
248
  }
247
249
  }
@@ -267,7 +269,7 @@ export class CoTreeItem {
267
269
  "references": {
268
270
  "TreeItemSize": {
269
271
  "location": "local",
270
- "path": "/Users/agox/worktrees/cobalt-release-2026-09-24/packages/core/src/components/co-tree-item/co-tree-item.tsx",
272
+ "path": "/Users/agox/worktrees/cobalt-docs-2026-09-24/packages/core/src/components/co-tree-item/co-tree-item.tsx",
271
273
  "id": "src/components/co-tree-item/co-tree-item.tsx::TreeItemSize"
272
274
  }
273
275
  }
@@ -2,6 +2,17 @@
2
2
  co-video
3
3
  ═══════════════════════════════════════════════════ */
4
4
 
5
+ /**
6
+ * Tienen su default en `:host`; se sobrescriben desde afuera sobre el elemento
7
+ * (`co-video { --co-video-accent: … }`), que le gana a la regla `:host`.
8
+ * @prop --co-video-accent: Color del progreso reproducido, del thumb y de los controles activos (default blanco).
9
+ * @prop --co-video-buffered: Color de la porción cargada de la barra de progreso.
10
+ * @prop --co-video-controls-bg: Fondo de la barra de controles (default degradado a negro).
11
+ * @prop --co-video-controls-color: Color de íconos y textos de los controles (default blanco).
12
+ * @prop --co-video-btn-hover: Fondo de un botón de control en hover.
13
+ * @prop --co-video-progress-height: Alto de la barra de progreso en reposo (default 4px).
14
+ * @prop --co-video-progress-height-hover: Alto de la barra de progreso en hover (default 8px).
15
+ */
5
16
  :host {
6
17
  display: block;
7
18
  font-family: var(--co-font-family-primary);
@@ -79,8 +79,19 @@ const ERROR_MESSAGES = {
79
79
  };
80
80
  /**
81
81
  * A fully configurable video player component with custom controls.
82
+ * Reproductor de video con controles propios (play, volumen, progreso, tiempo,
83
+ * velocidad, pantalla completa, PiP, descarga), eventos de progreso y umbral de
84
+ * visualización. Wrapper Vue: `CoVideo` de `@prolibu-suite/cobalt-vue`.
82
85
  *
83
86
  * @slot - Default slot (unused, reserved for future captions/overlays)
87
+ *
88
+ * @part container - Caja del reproductor (relación de aspecto y radio).
89
+ * @part video - El elemento `<video>` nativo.
90
+ * @part poster - Imagen de portada antes de reproducir.
91
+ * @part big-play - Botón grande de play centrado.
92
+ * @part controls - Barra de controles inferior.
93
+ * @part progress - Barra de progreso/búsqueda.
94
+ * @part toolbar - Fila de botones de la barra de controles.
84
95
  */
85
96
  export class CoVideo {
86
97
  constructor() {
@@ -635,14 +646,17 @@ export class CoVideo {
635
646
  // ═══════════════════════════════════════════════════
636
647
  // PUBLIC METHODS
637
648
  // ═══════════════════════════════════════════════════
649
+ /** Inicia la reproducción (puede rechazarse si el navegador bloquea el autoplay con sonido). */
638
650
  async play() {
639
651
  var _a;
640
652
  await ((_a = this.videoEl) === null || _a === void 0 ? void 0 : _a.play());
641
653
  }
654
+ /** Pausa la reproducción. */
642
655
  async pause() {
643
656
  var _a;
644
657
  (_a = this.videoEl) === null || _a === void 0 ? void 0 : _a.pause();
645
658
  }
659
+ /** Alterna entre reproducir y pausar. */
646
660
  async togglePlay() {
647
661
  var _a, _b;
648
662
  if (this.isPlaying) {
@@ -652,11 +666,13 @@ export class CoVideo {
652
666
  await ((_b = this.videoEl) === null || _b === void 0 ? void 0 : _b.play());
653
667
  }
654
668
  }
669
+ /** Salta a `time` (segundos). */
655
670
  async seek(time) {
656
671
  if (this.videoEl) {
657
672
  this.videoEl.currentTime = time;
658
673
  }
659
674
  }
675
+ /** Fija el volumen (0–1; se recorta a ese rango). */
660
676
  async setVolume(level) {
661
677
  const clamped = Math.max(0, Math.min(1, level));
662
678
  this.volume = clamped;
@@ -664,12 +680,15 @@ export class CoVideo {
664
680
  this.videoEl.volume = clamped;
665
681
  this.volumeLevel = clamped;
666
682
  }
683
+ /** Alterna el silencio (igual que el botón de volumen). */
667
684
  async toggleMute() {
668
685
  this.handleMuteClick();
669
686
  }
687
+ /** Entra o sale de pantalla completa. */
670
688
  async toggleFullscreen() {
671
689
  this.handleFullscreenClick();
672
690
  }
691
+ /** Entra o sale de Picture-in-Picture (si el navegador lo soporta). */
673
692
  async togglePip() {
674
693
  this.handlePipClick();
675
694
  }
@@ -814,14 +833,14 @@ export class CoVideo {
814
833
  // ═══════════════════════════════════════════════════
815
834
  render() {
816
835
  const aspectClass = `co-video--${this.aspectRatio.replace(':', '-')}`;
817
- return (h(Host, { key: '6cf0c87865e83b6022604a5bf2cfbe57832d283e' }, h("div", { key: 'ae2c18c38e9ffb9df78db8a562222effd5a07109', class: {
836
+ return (h(Host, { key: 'd2f25697003337a41f2c6ac1f8b52b82c8341731' }, h("div", { key: 'b656b85d82072035f31358820db8c61a2db4cbbc', class: {
818
837
  'co-video': true,
819
838
  [aspectClass]: true,
820
839
  [`co-video--rounded-${this.rounded}`]: true,
821
840
  'co-video--disabled': this.disabled,
822
841
  'co-video--fullscreen': this.isFullscreen,
823
842
  'co-video--playing': this.isPlaying,
824
- }, part: "container", ref: el => (this.containerEl = el), role: "region", "aria-label": this.t.player, tabindex: 0, onKeyDown: this.handleKeyDown, onMouseMove: this.handleContainerMouseMove, onMouseLeave: this.handleContainerMouseLeave, onTouchStart: this.handleContainerTouchStart }, h("video", { key: '8b0b5dfb94c4e0c62b782aa6011d056111eea5fb', ref: el => (this.videoEl = el), class: "co-video__native", part: "video", src: this.src || undefined, poster: undefined, preload: this.preload, loop: this.loop, playsinline: true, tabindex: -1, controlsList: this.allowDownload ? undefined : 'nodownload' }), this.renderPoster(), this.renderLoader(), this.renderBigPlayButton(), this.renderError(), h("div", { key: '4e010f52473dddffd6bc188a5389de17c27966b1', class: "co-video__click-area", onClick: this.handleVideoAreaClick }), this.renderControls())));
843
+ }, part: "container", ref: el => (this.containerEl = el), role: "region", "aria-label": this.t.player, tabindex: 0, onKeyDown: this.handleKeyDown, onMouseMove: this.handleContainerMouseMove, onMouseLeave: this.handleContainerMouseLeave, onTouchStart: this.handleContainerTouchStart }, h("video", { key: '960e58a18058da5840fdbbdaf32a01afd1db06f9', ref: el => (this.videoEl = el), class: "co-video__native", part: "video", src: this.src || undefined, poster: undefined, preload: this.preload, loop: this.loop, playsinline: true, tabindex: -1, controlsList: this.allowDownload ? undefined : 'nodownload' }), this.renderPoster(), this.renderLoader(), this.renderBigPlayButton(), this.renderError(), h("div", { key: '4a772011fe579f90d3befe3ad925026835cece73', class: "co-video__click-area", onClick: this.handleVideoAreaClick }), this.renderControls())));
825
844
  }
826
845
  static get is() { return "co-video"; }
827
846
  static get encapsulation() { return "shadow"; }
@@ -1435,7 +1454,7 @@ export class CoVideo {
1435
1454
  "composed": true,
1436
1455
  "docs": {
1437
1456
  "tags": [],
1438
- "text": ""
1457
+ "text": "Empez\u00F3 o se reanud\u00F3 la reproducci\u00F3n."
1439
1458
  },
1440
1459
  "complexType": {
1441
1460
  "original": "void",
@@ -1450,7 +1469,7 @@ export class CoVideo {
1450
1469
  "composed": true,
1451
1470
  "docs": {
1452
1471
  "tags": [],
1453
- "text": ""
1472
+ "text": "Se paus\u00F3 la reproducci\u00F3n."
1454
1473
  },
1455
1474
  "complexType": {
1456
1475
  "original": "void",
@@ -1465,7 +1484,7 @@ export class CoVideo {
1465
1484
  "composed": true,
1466
1485
  "docs": {
1467
1486
  "tags": [],
1468
- "text": ""
1487
+ "text": "Termin\u00F3 el video (sin `loop`)."
1469
1488
  },
1470
1489
  "complexType": {
1471
1490
  "original": "void",
@@ -1495,7 +1514,7 @@ export class CoVideo {
1495
1514
  "composed": true,
1496
1515
  "docs": {
1497
1516
  "tags": [],
1498
- "text": ""
1517
+ "text": "Error del medio: `detail` = `{ code, message }` (c\u00F3digo de `MediaError` y mensaje traducido seg\u00FAn `locale`)."
1499
1518
  },
1500
1519
  "complexType": {
1501
1520
  "original": "{ code: number; message: string }",
@@ -1510,7 +1529,7 @@ export class CoVideo {
1510
1529
  "composed": true,
1511
1530
  "docs": {
1512
1531
  "tags": [],
1513
- "text": ""
1532
+ "text": "Avance de la reproducci\u00F3n, como mucho cada 250 ms: `{ currentTime, duration, progressPercent }` (segundos y 0\u2013100). No burbujea."
1514
1533
  },
1515
1534
  "complexType": {
1516
1535
  "original": "{ currentTime: number; duration: number; progressPercent: number }",
@@ -1525,7 +1544,7 @@ export class CoVideo {
1525
1544
  "composed": true,
1526
1545
  "docs": {
1527
1546
  "tags": [],
1528
- "text": ""
1547
+ "text": "Termin\u00F3 un salto en la barra de progreso: `{ from, to }` en segundos."
1529
1548
  },
1530
1549
  "complexType": {
1531
1550
  "original": "{ from: number; to: number }",
@@ -1540,7 +1559,7 @@ export class CoVideo {
1540
1559
  "composed": true,
1541
1560
  "docs": {
1542
1561
  "tags": [],
1543
- "text": ""
1562
+ "text": "Cambi\u00F3 el volumen o el silencio: `{ volume, muted }` (volumen 0\u20131)."
1544
1563
  },
1545
1564
  "complexType": {
1546
1565
  "original": "{ volume: number; muted: boolean }",
@@ -1555,7 +1574,7 @@ export class CoVideo {
1555
1574
  "composed": true,
1556
1575
  "docs": {
1557
1576
  "tags": [],
1558
- "text": ""
1577
+ "text": "Entr\u00F3 o sali\u00F3 de pantalla completa: `{ fullscreen }`."
1559
1578
  },
1560
1579
  "complexType": {
1561
1580
  "original": "{ fullscreen: boolean }",
@@ -1570,7 +1589,7 @@ export class CoVideo {
1570
1589
  "composed": true,
1571
1590
  "docs": {
1572
1591
  "tags": [],
1573
- "text": ""
1592
+ "text": "Cambi\u00F3 la velocidad desde el selector: `{ rate }`."
1574
1593
  },
1575
1594
  "complexType": {
1576
1595
  "original": "{ rate: number }",
@@ -1585,7 +1604,7 @@ export class CoVideo {
1585
1604
  "composed": true,
1586
1605
  "docs": {
1587
1606
  "tags": [],
1588
- "text": ""
1607
+ "text": "Entr\u00F3 o sali\u00F3 de Picture-in-Picture: `{ pip }`."
1589
1608
  },
1590
1609
  "complexType": {
1591
1610
  "original": "{ pip: boolean }",
@@ -1600,7 +1619,7 @@ export class CoVideo {
1600
1619
  "composed": true,
1601
1620
  "docs": {
1602
1621
  "tags": [],
1603
- "text": ""
1622
+ "text": "Click en descargar (con `allowDownload`), justo antes de iniciar la descarga: `{ src }`."
1604
1623
  },
1605
1624
  "complexType": {
1606
1625
  "original": "{ src: string }",
@@ -1615,7 +1634,7 @@ export class CoVideo {
1615
1634
  "composed": true,
1616
1635
  "docs": {
1617
1636
  "tags": [],
1618
- "text": ""
1637
+ "text": "Se alcanz\u00F3 el `watchThreshold` (una sola vez por video): `{ threshold, currentTime, duration }`. \u00DAtil para marcar un video como visto."
1619
1638
  },
1620
1639
  "complexType": {
1621
1640
  "original": "{ threshold: number; currentTime: number; duration: number }",
@@ -1639,7 +1658,7 @@ export class CoVideo {
1639
1658
  "return": "Promise<void>"
1640
1659
  },
1641
1660
  "docs": {
1642
- "text": "",
1661
+ "text": "Inicia la reproducci\u00F3n (puede rechazarse si el navegador bloquea el autoplay con sonido).",
1643
1662
  "tags": []
1644
1663
  }
1645
1664
  },
@@ -1656,7 +1675,7 @@ export class CoVideo {
1656
1675
  "return": "Promise<void>"
1657
1676
  },
1658
1677
  "docs": {
1659
- "text": "",
1678
+ "text": "Pausa la reproducci\u00F3n.",
1660
1679
  "tags": []
1661
1680
  }
1662
1681
  },
@@ -1673,7 +1692,7 @@ export class CoVideo {
1673
1692
  "return": "Promise<void>"
1674
1693
  },
1675
1694
  "docs": {
1676
- "text": "",
1695
+ "text": "Alterna entre reproducir y pausar.",
1677
1696
  "tags": []
1678
1697
  }
1679
1698
  },
@@ -1694,7 +1713,7 @@ export class CoVideo {
1694
1713
  "return": "Promise<void>"
1695
1714
  },
1696
1715
  "docs": {
1697
- "text": "",
1716
+ "text": "Salta a `time` (segundos).",
1698
1717
  "tags": []
1699
1718
  }
1700
1719
  },
@@ -1715,7 +1734,7 @@ export class CoVideo {
1715
1734
  "return": "Promise<void>"
1716
1735
  },
1717
1736
  "docs": {
1718
- "text": "",
1737
+ "text": "Fija el volumen (0\u20131; se recorta a ese rango).",
1719
1738
  "tags": []
1720
1739
  }
1721
1740
  },
@@ -1732,7 +1751,7 @@ export class CoVideo {
1732
1751
  "return": "Promise<void>"
1733
1752
  },
1734
1753
  "docs": {
1735
- "text": "",
1754
+ "text": "Alterna el silencio (igual que el bot\u00F3n de volumen).",
1736
1755
  "tags": []
1737
1756
  }
1738
1757
  },
@@ -1749,7 +1768,7 @@ export class CoVideo {
1749
1768
  "return": "Promise<void>"
1750
1769
  },
1751
1770
  "docs": {
1752
- "text": "",
1771
+ "text": "Entra o sale de pantalla completa.",
1753
1772
  "tags": []
1754
1773
  }
1755
1774
  },
@@ -1766,7 +1785,7 @@ export class CoVideo {
1766
1785
  "return": "Promise<void>"
1767
1786
  },
1768
1787
  "docs": {
1769
- "text": "",
1788
+ "text": "Entra o sale de Picture-in-Picture (si el navegador lo soporta).",
1770
1789
  "tags": []
1771
1790
  }
1772
1791
  }
@@ -1 +1 @@
1
- import{t as o,p as c,H as e,c as i,h as a}from"./index.js";import{d as t}from"./p-B3kKOgsA.js";function n(o){return"function"==typeof o.matches&&o.matches('a[href],button,input,select,textarea,label,summary,[contenteditable="true"],[role="button"],[role="link"],[role="checkbox"],[role="switch"],[role="menuitem"],[role="tab"],co-button,co-icon-button,co-switch,co-checkbox,co-radio,co-chip,co-input,co-select,co-combobox,co-autocomplete,co-ref-field,co-number-field,co-toggle-button,co-menu')}const r=c(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.coToggle=i(this,"coToggle",3),this.open=!0,this.heading="",this.subheading="",this.disabled=!1,this.hasSubheadingSlot=!1,this.handleToggle=()=>{this.disabled||(this.open=!this.open,this.coToggle.emit(this.open))},this.handleHeadingClick=o=>{if(this.disabled)return;const c=o.currentTarget;for(const e of o.composedPath()){if(e===c)break;if(n(e))return}this.handleToggle()}}componentWillLoad(){this.hasSubheadingSlot=!!this.el.querySelector('[slot="subheading"]')}componentWillRender(){this.hasSubheadingSlot=!!this.el.querySelector('[slot="subheading"]')}get showSubheading(){return!(!this.subheading||!this.subheading.trim())||this.hasSubheadingSlot}render(){return a("div",{key:"48a22b997b1611f285c747c2ce30b4db2ac87fdc",class:{"co-accordion":!0,"co-accordion--open":this.open,"co-accordion--disabled":this.disabled},part:"accordion"},a("div",{key:"fde9b00c928e7aab65650975ece4539c6a8d54e7",class:"co-accordion__header",part:"header"},a("span",{key:"884cf74c6207037ca4ee8ee4686af08677f15450",class:"co-accordion__heading-group",onClick:this.handleHeadingClick},a("span",{key:"9019e1b204f06c5f5bb184b948a322a81110c79d",class:"co-accordion__heading",part:"heading"},a("slot",{key:"9feb0b98d902bbfdf93c45340aa6854e4c473b31",name:"header"},this.heading)),this.showSubheading&&a("span",{key:"eaffac4798f56c63feb7796f43c58c06ef6e0fcb",class:"co-accordion__subheading",part:"subheading"},a("slot",{key:"659cdde265f6325d3320f355ea9875fc0d50a480",name:"subheading"},this.subheading))),a("button",{key:"a97f62583665f162085dcae31f08297a89bff184",class:"co-accordion__caret",type:"button","aria-expanded":this.open?"true":"false","aria-label":this.heading||"Toggle section",disabled:this.disabled,onClick:this.handleToggle,part:"caret"},a("co-icon",{key:"2d34e356aa0a7817d59c838b4cad3addc0698386",name:"caret-up",size:20}))),a("div",{key:"6514d5a1ef7a7e3eeb33514705a83ad17e30826b",class:"co-accordion__body",part:"body"},a("div",{key:"8dfcd782cda8973943a2619ce24d11a8655fad98",class:"co-accordion__body-inner",part:"body-inner"},a("slot",{key:"7f9a2c929b8bb82ab2267ae590cf3916b8c55824"}))))}get el(){return this}static get style(){return":host{display:block}.co-accordion{display:flex;flex-direction:column;width:100%}.co-accordion__header{display:flex;align-items:center;justify-content:space-between;gap:var(--co-spacing-sm, 6px);width:100%;font-family:var(--co-font-family-primary);color:var(--co-semantic-text-default);text-align:left}.co-accordion__heading-group{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--co-spacing-xxs, 2px);cursor:pointer}.co-accordion__heading{font-size:var(--co-font-size-24);font-weight:500;line-height:1.25;letter-spacing:-0.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-accordion__subheading{font-size:var(--co-font-size-14);font-weight:400;line-height:1.3;letter-spacing:normal;color:var(--co-semantic-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-accordion__caret{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:transparent;border-radius:var(--co-border-radius-full, 9999px);color:var(--co-semantic-text-default);cursor:pointer;transition:transform var(--co-motion-duration-base) var(--co-motion-ease-out), background-color var(--co-motion-duration-fast) var(--co-motion-ease-out);transform:rotate(180deg);}.co-accordion__caret:hover:not(:disabled){background:var(--co-color-opacity-negro-8, rgba(31, 28, 27, 0.08))}.co-accordion--open .co-accordion__caret{transform:rotate(0deg);}.co-accordion__body{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--co-motion-duration-slow) var(--co-motion-ease-out)}.co-accordion__body-inner{min-height:0;overflow:hidden;padding-top:var(--co-spacing-md);transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out)}.co-accordion:not(.co-accordion--open) .co-accordion__body-inner{padding-top:0}.co-accordion--open .co-accordion__body{grid-template-rows:1fr}.co-accordion:not(.co-accordion--open) .co-accordion__body-inner{visibility:hidden;transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out), visibility 0s linear var(--co-motion-duration-slow)}.co-accordion--open .co-accordion__body-inner{visibility:visible;transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out), visibility 0s linear 0s}.co-accordion__caret:focus-visible{outline:2px solid var(--co-color-primary-azul, #2563eb);outline-offset:2px}.co-accordion--disabled .co-accordion__header{opacity:0.5}.co-accordion--disabled .co-accordion__caret{cursor:not-allowed}.co-accordion--disabled .co-accordion__heading-group{cursor:default}"}},[257,"co-accordion",{open:[1540],heading:[1],subheading:[1],disabled:[4],hasSubheadingSlot:[32]}]);function s(){"undefined"!=typeof customElements&&["co-accordion","co-icon"].forEach((c=>{switch(c){case"co-accordion":customElements.get(o(c))||customElements.define(o(c),r);break;case"co-icon":customElements.get(o(c))||t()}}))}s();const d=r,l=s;export{d as CoAccordion,l as defineCustomElement}
1
+ import{t as o,p as e,H as c,c as i,h as a}from"./index.js";import{d as t}from"./p-KK2vAKs-.js";function n(o){return"function"==typeof o.matches&&o.matches('a[href],button,input,select,textarea,label,summary,[contenteditable="true"],[role="button"],[role="link"],[role="checkbox"],[role="switch"],[role="menuitem"],[role="tab"],co-button,co-icon-button,co-switch,co-checkbox,co-radio,co-chip,co-input,co-select,co-combobox,co-autocomplete,co-ref-field,co-number-field,co-toggle-button,co-menu')}const r=e(class extends c{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.coToggle=i(this,"coToggle",3),this.open=!0,this.heading="",this.subheading="",this.disabled=!1,this.hasSubheadingSlot=!1,this.handleToggle=()=>{this.disabled||(this.open=!this.open,this.coToggle.emit(this.open))},this.handleHeadingClick=o=>{if(this.disabled)return;const e=o.currentTarget;for(const c of o.composedPath()){if(c===e)break;if(n(c))return}this.handleToggle()}}componentWillLoad(){this.hasSubheadingSlot=!!this.el.querySelector('[slot="subheading"]')}componentWillRender(){this.hasSubheadingSlot=!!this.el.querySelector('[slot="subheading"]')}get showSubheading(){return!(!this.subheading||!this.subheading.trim())||this.hasSubheadingSlot}render(){return a("div",{key:"0d1c2cca135ac9d62cb7d4b5c620843c5788101d",class:{"co-accordion":!0,"co-accordion--open":this.open,"co-accordion--disabled":this.disabled},part:"accordion"},a("div",{key:"aa80683852ba2b131c7ab29eed528ec87d92a565",class:"co-accordion__header",part:"header"},a("span",{key:"71c84f588f351279bb999a2ec84dd37b202203d0",class:"co-accordion__heading-group",onClick:this.handleHeadingClick},a("span",{key:"42201833527fd73790ab6391668ba8eb7986ed90",class:"co-accordion__heading",part:"heading"},a("slot",{key:"11528c94fa817e55ffb015975e29947111e98c08",name:"header"},this.heading)),this.showSubheading&&a("span",{key:"73bd7f8b5d7b967f0a5c84f207ab4452e96f6805",class:"co-accordion__subheading",part:"subheading"},a("slot",{key:"1cefb67a4b6809357ee9a5a9330ec3bcd3be42ab",name:"subheading"},this.subheading))),a("button",{key:"fef96df91611513ab6f6074578a31c3e7b23b4c2",class:"co-accordion__caret",type:"button","aria-expanded":this.open?"true":"false","aria-label":this.heading||"Toggle section",disabled:this.disabled,onClick:this.handleToggle,part:"caret"},a("co-icon",{key:"f32612853d42ea6f2c34b2554951b22d155d1afc",name:"caret-up",size:20}))),a("div",{key:"c3c90907e7114f20a917bae025012464182b8ea4",class:"co-accordion__body",part:"body"},a("div",{key:"44877e54213ae200cde25d5a2fb5ae4ed95b7df9",class:"co-accordion__body-inner",part:"body-inner"},a("slot",{key:"4ad41bab50239bb4ddca8ee8751afeb6dfb19227"}))))}get el(){return this}static get style(){return":host{display:block}.co-accordion{display:flex;flex-direction:column;width:100%}.co-accordion__header{display:flex;align-items:center;justify-content:space-between;gap:var(--co-spacing-sm, 6px);width:100%;font-family:var(--co-font-family-primary);color:var(--co-semantic-text-default);text-align:left}.co-accordion__heading-group{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--co-spacing-xxs, 2px);cursor:pointer}.co-accordion__heading{font-size:var(--co-font-size-24);font-weight:500;line-height:1.25;letter-spacing:-0.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-accordion__subheading{font-size:var(--co-font-size-14);font-weight:400;line-height:1.3;letter-spacing:normal;color:var(--co-semantic-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-accordion__caret{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:transparent;border-radius:var(--co-border-radius-full, 9999px);color:var(--co-semantic-text-default);cursor:pointer;transition:transform var(--co-motion-duration-base) var(--co-motion-ease-out), background-color var(--co-motion-duration-fast) var(--co-motion-ease-out);transform:rotate(180deg);}.co-accordion__caret:hover:not(:disabled){background:var(--co-color-opacity-negro-8, rgba(31, 28, 27, 0.08))}.co-accordion--open .co-accordion__caret{transform:rotate(0deg);}.co-accordion__body{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--co-motion-duration-slow) var(--co-motion-ease-out)}.co-accordion__body-inner{min-height:0;overflow:hidden;padding-top:var(--co-spacing-md);transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out)}.co-accordion:not(.co-accordion--open) .co-accordion__body-inner{padding-top:0}.co-accordion--open .co-accordion__body{grid-template-rows:1fr}.co-accordion:not(.co-accordion--open) .co-accordion__body-inner{visibility:hidden;transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out), visibility 0s linear var(--co-motion-duration-slow)}.co-accordion--open .co-accordion__body-inner{visibility:visible;transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out), visibility 0s linear 0s}.co-accordion__caret:focus-visible{outline:2px solid var(--co-color-primary-azul, #2563eb);outline-offset:2px}.co-accordion--disabled .co-accordion__header{opacity:0.5}.co-accordion--disabled .co-accordion__caret{cursor:not-allowed}.co-accordion--disabled .co-accordion__heading-group{cursor:default}"}},[257,"co-accordion",{open:[1540],heading:[1],subheading:[1],disabled:[4],hasSubheadingSlot:[32]}]);function d(){"undefined"!=typeof customElements&&["co-accordion","co-icon"].forEach((e=>{switch(e){case"co-accordion":customElements.get(o(e))||customElements.define(o(e),r);break;case"co-icon":customElements.get(o(e))||t()}}))}d();const s=r,l=d;export{s as CoAccordion,l as defineCustomElement}
@@ -1 +1 @@
1
- import{t as a,p as i,H as o,c as t,h as e}from"./index.js";import{d as n}from"./p-B3kKOgsA.js";import{d as s}from"./p-BcXdId8y.js";const c=i(class extends o{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.coDismiss=t(this,"coDismiss",7),this.open=!1,this.dismissible=!0,this.position="none",this.liveText="",this.animated=!1,this.handleDismiss=()=>{this.coDismiss.emit()}}onLabelChange(a){void 0!==this.liveTimer&&clearTimeout(this.liveTimer),this.liveTimer=setTimeout((()=>{this.liveTimer=void 0,this.liveText=null!=a?a:""}),600)}componentWillLoad(){var a;this.liveText=null!==(a=this.label)&&void 0!==a?a:""}componentDidLoad(){const a=()=>this.animated=!0;"function"==typeof requestAnimationFrame?this.rafId=requestAnimationFrame(a):a()}disconnectedCallback(){void 0!==this.liveTimer&&(clearTimeout(this.liveTimer),this.liveTimer=void 0),void 0!==this.rafId&&"function"==typeof cancelAnimationFrame&&(cancelAnimationFrame(this.rafId),this.rafId=void 0)}render(){return e("div",{key:"44994727b254742807ea5f9aa8eab97e621b623c",class:{"co-action-bar":!0,"co-action-bar--open":this.open,"co-action-bar--animated":this.animated},part:"bar",role:"group","aria-label":this.ariaLabelText||this.label,"aria-hidden":this.open?null:"true"},e("span",{key:"0a2c1c9a2d78c91616c7453cf464e6d0b35604e3",class:"co-action-bar__live","aria-live":"polite"},this.liveText),e("span",{key:"dc0f171a5daf70f1bc9d17cd9208449d778686b6",class:"co-action-bar__label",part:"label"},e("slot",{key:"68255bae861d9f3c5bdf1ebf49983487dfcc0086",name:"label"},this.label)),e("div",{key:"38b1b684b3c5b9aeddaf146219d977d9438804fa",class:"co-action-bar__actions",part:"actions"},e("slot",{key:"6856aa1045f7a716fe33fc7b99f125175053325d"})),!1!==this.dismissible&&e("co-icon-button",{key:"558f6857a0e8128fdd7ead83947b27069d473539",class:"co-action-bar__dismiss",part:"dismiss",icon:"x",variant:"ghost",surface:"dark",size:"xs",label:"Dismiss",onClick:this.handleDismiss}))}static get watchers(){return{label:[{onLabelChange:0}]}}static get style(){return":host{display:inline-flex;font-family:var(--co-font-family-primary);pointer-events:none}:host([position='bottom-center']){position:fixed;left:50%;transform:translateX(-50%);bottom:var(--co-action-bar-offset, 24px);z-index:var(--co-action-bar-z, 1000);max-width:calc(100% - 2 * var(--co-action-bar-inline-margin, 24px))}.co-action-bar{position:relative;display:flex;align-items:center;box-sizing:border-box;max-width:100%;gap:var(--co-spacing-sm2);padding:var(--co-spacing-sm2) var(--co-spacing-md) var(--co-spacing-sm2) var(--co-spacing-lg);border-radius:var(--co-border-radius-lg);background:var(--co-semantic-surface-primary);color:var(--co-semantic-text-inverse);box-shadow:var(--co-shadow-lg);opacity:0;transform:translateY(8px);pointer-events:none;visibility:hidden}.co-action-bar--open{opacity:1;transform:translateY(0);pointer-events:auto;visibility:visible}.co-action-bar--animated{transition:opacity var(--co-motion-duration-base) var(--co-motion-ease-out), transform var(--co-motion-duration-base) var(--co-motion-ease-out), visibility 0s linear var(--co-motion-duration-base)}.co-action-bar--animated.co-action-bar--open{transition:opacity var(--co-motion-duration-base) var(--co-motion-ease-out), transform var(--co-motion-duration-base) var(--co-motion-ease-out), visibility 0s}.co-action-bar__label{font-size:var(--co-font-size-14);font-weight:500;letter-spacing:var(--co-font-letter-spacing-body);line-height:1;white-space:nowrap;flex-shrink:0;padding-right:var(--co-spacing-xs)}.co-action-bar__actions{display:flex;align-items:center;gap:var(--co-spacing-xs);min-width:0}::slotted(hr){width:1px;height:24px;flex-shrink:0;align-self:center;margin:0 var(--co-spacing-xs);border:none;padding:0;background:color-mix(in srgb, var(--co-color-base-blanco, #fff) 28%, transparent)}.co-action-bar__dismiss{flex-shrink:0}.co-action-bar__live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap}"}},[257,"co-action-bar",{open:[516],label:[1],dismissible:[4],position:[513],ariaLabelText:[1,"aria-label-text"],liveText:[32],animated:[32]},void 0,{label:[{onLabelChange:0}]}]);function r(){"undefined"!=typeof customElements&&["co-action-bar","co-icon","co-icon-button"].forEach((i=>{switch(i){case"co-action-bar":customElements.get(a(i))||customElements.define(a(i),c);break;case"co-icon":customElements.get(a(i))||n();break;case"co-icon-button":customElements.get(a(i))||s()}}))}r();const l=c,d=r;export{l as CoActionBar,d as defineCustomElement}
1
+ import{t as a,p as i,H as o,c as t,h as e}from"./index.js";import{d as n}from"./p-KK2vAKs-.js";import{d as s}from"./p-DsuFNmTI.js";const c=i(class extends o{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.coDismiss=t(this,"coDismiss",7),this.open=!1,this.dismissible=!0,this.position="none",this.liveText="",this.animated=!1,this.handleDismiss=()=>{this.coDismiss.emit()}}onLabelChange(a){void 0!==this.liveTimer&&clearTimeout(this.liveTimer),this.liveTimer=setTimeout((()=>{this.liveTimer=void 0,this.liveText=null!=a?a:""}),600)}componentWillLoad(){var a;this.liveText=null!==(a=this.label)&&void 0!==a?a:""}componentDidLoad(){const a=()=>this.animated=!0;"function"==typeof requestAnimationFrame?this.rafId=requestAnimationFrame(a):a()}disconnectedCallback(){void 0!==this.liveTimer&&(clearTimeout(this.liveTimer),this.liveTimer=void 0),void 0!==this.rafId&&"function"==typeof cancelAnimationFrame&&(cancelAnimationFrame(this.rafId),this.rafId=void 0)}render(){return e("div",{key:"142b59b00b772502ea25dfb13537b9b3dd546080",class:{"co-action-bar":!0,"co-action-bar--open":this.open,"co-action-bar--animated":this.animated},part:"bar",role:"group","aria-label":this.ariaLabelText||this.label,"aria-hidden":this.open?null:"true"},e("span",{key:"8d250df3de2ac4a0c656f90e43f113d0cf2725e2",class:"co-action-bar__live","aria-live":"polite"},this.liveText),e("span",{key:"0787a2c1d6a145dd95c6cca688b8a410c50dd8db",class:"co-action-bar__label",part:"label"},e("slot",{key:"ece9079fc9e5a06a75b4f9ff4da8d5b9c0362bbf",name:"label"},this.label)),e("div",{key:"29a587420ce044ee0fa1502bef229c15ab287a79",class:"co-action-bar__actions",part:"actions"},e("slot",{key:"359ce62b1f45b4c3292ee575b5a4bcf9c684fc07"})),!1!==this.dismissible&&e("co-icon-button",{key:"66439f013f0e3de6f184f6e600cd1eb5bca3b004",class:"co-action-bar__dismiss",part:"dismiss",icon:"x",variant:"ghost",surface:"dark",size:"xs",label:"Dismiss",onClick:this.handleDismiss}))}static get watchers(){return{label:[{onLabelChange:0}]}}static get style(){return":host{display:inline-flex;font-family:var(--co-font-family-primary);pointer-events:none}:host([position='bottom-center']){position:fixed;left:50%;transform:translateX(-50%);bottom:var(--co-action-bar-offset, 24px);z-index:var(--co-action-bar-z, 1000);max-width:calc(100% - 2 * var(--co-action-bar-inline-margin, 24px))}.co-action-bar{position:relative;display:flex;align-items:center;box-sizing:border-box;max-width:100%;gap:var(--co-spacing-sm2);padding:var(--co-spacing-sm2) var(--co-spacing-md) var(--co-spacing-sm2) var(--co-spacing-lg);border-radius:var(--co-border-radius-lg);background:var(--co-semantic-surface-primary);color:var(--co-semantic-text-inverse);box-shadow:var(--co-shadow-lg);opacity:0;transform:translateY(8px);pointer-events:none;visibility:hidden}.co-action-bar--open{opacity:1;transform:translateY(0);pointer-events:auto;visibility:visible}.co-action-bar--animated{transition:opacity var(--co-motion-duration-base) var(--co-motion-ease-out), transform var(--co-motion-duration-base) var(--co-motion-ease-out), visibility 0s linear var(--co-motion-duration-base)}.co-action-bar--animated.co-action-bar--open{transition:opacity var(--co-motion-duration-base) var(--co-motion-ease-out), transform var(--co-motion-duration-base) var(--co-motion-ease-out), visibility 0s}.co-action-bar__label{font-size:var(--co-font-size-14);font-weight:500;letter-spacing:var(--co-font-letter-spacing-body);line-height:1;white-space:nowrap;flex-shrink:0;padding-right:var(--co-spacing-xs)}.co-action-bar__actions{display:flex;align-items:center;gap:var(--co-spacing-xs);min-width:0}::slotted(hr){width:1px;height:24px;flex-shrink:0;align-self:center;margin:0 var(--co-spacing-xs);border:none;padding:0;background:color-mix(in srgb, var(--co-color-base-blanco, #fff) 28%, transparent)}.co-action-bar__dismiss{flex-shrink:0}.co-action-bar__live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap}"}},[257,"co-action-bar",{open:[516],label:[1],dismissible:[4],position:[513],ariaLabelText:[1,"aria-label-text"],liveText:[32],animated:[32]},void 0,{label:[{onLabelChange:0}]}]);function r(){"undefined"!=typeof customElements&&["co-action-bar","co-icon","co-icon-button"].forEach((i=>{switch(i){case"co-action-bar":customElements.get(a(i))||customElements.define(a(i),c);break;case"co-icon":customElements.get(a(i))||n();break;case"co-icon-button":customElements.get(a(i))||s()}}))}r();const l=c,b=r;export{l as CoActionBar,b as defineCustomElement}
@@ -1 +1 @@
1
- import{t as r,p as a,H as e,c as o,h as s,a as t}from"./index.js";const c=a(class extends e{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow(),this.coSidebarModeChange=o(this,"coSidebarModeChange",7),this.sidebarMode="min",this.contentCard=!0}render(){return s(t,{key:"6c6062fe507ad4000b316f249063d4adeb781bc2"},s("aside",{key:"627e78f81460aecf933757d743a1517545055b90",class:"sidebar",part:"sidebar"},s("div",{key:"f76c26b2b7a702b1652cde3ec891f232b5974ffb",class:"sidebar__header",part:"sidebar-header"},s("slot",{key:"72f4e04eea092d465742874633eab234b7eb8dd5",name:"sidebar-header"})),s("div",{key:"9a1490ddb0cd566d8711b6b611d685500c2f2d3e",class:"sidebar__body",part:"sidebar-body"},s("slot",{key:"35c209d25f06da6627c4b09fe3e60fbf45f5f766",name:"sidebar"})),s("div",{key:"6b976c9326cd0fcb267910c3016d8c73a08ce793",class:"sidebar__footer",part:"sidebar-footer"},s("slot",{key:"66274387d3b63e0dd04369c29f4efa60de7c915e",name:"sidebar-footer"}))),s("div",{key:"6bb53ff220634d5363447c11a485c5c316a0a926",class:"main co-sq-elevation co-sq-elevation-fallback",part:"main"},s("div",{key:"a394d95b686319a3b6d24af6ea85b12c677c50d3",class:"main__card co-sq-clip",part:"card"},s("header",{key:"a71028e8efd157c9e38691a94e61c0e20d60c06d",class:"main__header",part:"header"},s("slot",{key:"a8e9e4efc55445d49f117f35740cf43241d867af",name:"navbar"})),s("main",{key:"b0dcd0b69e185076bbf0c3f7e102712a87bca4a0",class:{main__content:!0,"main__content--card":this.contentCard},part:"content"},s("slot",{key:"e0709811ba6219c5a71253440df09b4872264968"})))))}static get style(){return'.co-sq-elevation{border-radius:var(--co-sq-r);corner-shape:squircle;box-shadow:var(--co-sq-shadow)}.co-sq-clip{overflow:hidden;border-radius:var(--co-sq-r);corner-shape:squircle}@supports not (corner-shape: squircle){.co-sq-elevation{box-shadow:none}.co-sq-elevation-fallback{filter:var(--co-sq-drop-shadow)}.co-sq-clip{border-radius:0;--co-sq-tl:url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27 preserveAspectRatio=%27none%27><path d=%27M100 0L97.5 0L95 0L92.5 0L90 0L87.5 0.01L85 0.01L82.5 0.02L80 0.04L77.5 0.06L75 0.1L72.5 0.14L70 0.2L67.5 0.28L65 0.38L62.5 0.5L60 0.65L57.5 0.83L55 1.04L52.5 1.3L50 1.6L47.5 1.96L45 2.37L42.5 2.85L40 3.41L37.5 4.05L35 4.8L32.5 5.65L30 6.63L27.5 7.77L25 9.07L22.5 10.58L20 12.34L17.5 14.41L15 16.85L12.5 19.79L10 23.42L7.5 28.06L5 34.37L2.5 44.29L0 100L100 100Z%27 fill=%27%23fff%27/></svg>");--co-sq-tr:url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27 preserveAspectRatio=%27none%27><path d=%27M0 0L2.5 0L5 0L7.5 0L10 0L12.5 0.01L15 0.01L17.5 0.02L20 0.04L22.5 0.06L25 0.1L27.5 0.14L30 0.2L32.5 0.28L35 0.38L37.5 0.5L40 0.65L42.5 0.83L45 1.04L47.5 1.3L50 1.6L52.5 1.96L55 2.37L57.5 2.85L60 3.41L62.5 4.05L65 4.8L67.5 5.65L70 6.63L72.5 7.77L75 9.07L77.5 10.58L80 12.34L82.5 14.41L85 16.85L87.5 19.79L90 23.42L92.5 28.06L95 34.37L97.5 44.29L100 100L0 100Z%27 fill=%27%23fff%27/></svg>");--co-sq-bl:url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27 preserveAspectRatio=%27none%27><path d=%27M0 0L2.5 55.71L5 65.63L7.5 71.94L10 76.58L12.5 80.21L15 83.15L17.5 85.59L20 87.66L22.5 89.42L25 90.93L27.5 92.23L30 93.37L32.5 94.35L35 95.2L37.5 95.95L40 96.59L42.5 97.15L45 97.63L47.5 98.04L50 98.4L52.5 98.7L55 98.96L57.5 99.17L60 99.35L62.5 99.5L65 99.62L67.5 99.72L70 99.8L72.5 99.86L75 99.9L77.5 99.94L80 99.96L82.5 99.98L85 99.99L87.5 99.99L90 100L92.5 100L95 100L97.5 100L100 100L100 0Z%27 fill=%27%23fff%27/></svg>");--co-sq-br:url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27 preserveAspectRatio=%27none%27><path d=%27M100 0L97.5 55.71L95 65.63L92.5 71.94L90 76.58L87.5 80.21L85 83.15L82.5 85.59L80 87.66L77.5 89.42L75 90.93L72.5 92.23L70 93.37L67.5 94.35L65 95.2L62.5 95.95L60 96.59L57.5 97.15L55 97.63L52.5 98.04L50 98.4L47.5 98.7L45 98.96L42.5 99.17L40 99.35L37.5 99.5L35 99.62L32.5 99.72L30 99.8L27.5 99.86L25 99.9L22.5 99.94L20 99.96L17.5 99.98L15 99.99L12.5 99.99L10 100L7.5 100L5 100L2.5 100L0 100L0 0Z%27 fill=%27%23fff%27/></svg>");-webkit-mask:var(--co-sq-tl) top left / var(--co-sq-r) var(--co-sq-r) no-repeat, var(--co-sq-tr) top right / var(--co-sq-r) var(--co-sq-r) no-repeat, var(--co-sq-bl) bottom left / var(--co-sq-r) var(--co-sq-r) no-repeat, var(--co-sq-br) bottom right / var(--co-sq-r) var(--co-sq-r) no-repeat, linear-gradient(#fff 0 0) center / 100% calc(100% - 2 * var(--co-sq-r) + 2px) no-repeat, linear-gradient(#fff 0 0) center / calc(100% - 2 * var(--co-sq-r) + 2px) 100% no-repeat;mask:var(--co-sq-tl) top left / var(--co-sq-r) var(--co-sq-r) no-repeat, var(--co-sq-tr) top right / var(--co-sq-r) var(--co-sq-r) no-repeat, var(--co-sq-bl) bottom left / var(--co-sq-r) var(--co-sq-r) no-repeat, var(--co-sq-br) bottom right / var(--co-sq-r) var(--co-sq-r) no-repeat, linear-gradient(#fff 0 0) center / 100% calc(100% - 2 * var(--co-sq-r) + 2px) no-repeat, linear-gradient(#fff 0 0) center / calc(100% - 2 * var(--co-sq-r) + 2px) 100% no-repeat}}:host{display:flex;height:100vh;overflow:hidden;background:var(--co-app-shell-bg, linear-gradient( 180deg, var(--co-color-base-off-white) 0%, var(--co-color-neutral-100) 50%, var(--co-color-neutral-100) 100% ));font-family:var(--co-font-family-primary)}.sidebar{display:flex;flex-direction:column;width:256px;height:100%;flex-shrink:0;overflow:hidden;transition:width var(--co-motion-duration-base) var(--co-motion-ease-out);padding:var(--co-spacing-sm);padding-right:0;box-sizing:border-box}:host([sidebar-mode="min"]) .sidebar{--co-sidebar-min-width:64px;width:var(--co-sidebar-min-width);align-items:flex-start;padding:var(--co-spacing-sm) 0}.sidebar__header{flex-shrink:0}.sidebar__body{flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.sidebar__body:hover{scrollbar-color:var(--co-color-opacity-blanco-16) transparent}.sidebar__body::-webkit-scrollbar{width:6px}.sidebar__body::-webkit-scrollbar-track{background:transparent}.sidebar__body::-webkit-scrollbar-thumb{background:transparent;border-radius:9999px}.sidebar__body:hover::-webkit-scrollbar-thumb{background:var(--co-color-opacity-blanco-16)}.sidebar__body:hover::-webkit-scrollbar-thumb:hover{background:var(--co-color-opacity-blanco-25)}.sidebar__body:hover::-webkit-scrollbar-thumb:active{background:var(--co-color-opacity-blanco-50)}.sidebar__footer{flex-shrink:0}:host([sidebar-mode="min"]) .sidebar__header,:host([sidebar-mode="min"]) .sidebar__body,:host([sidebar-mode="min"]) .sidebar__footer{display:flex;flex-direction:column;align-items:center;width:var(--co-sidebar-min-width, 64px)}:host([sidebar-mode="min"]) .sidebar__header{gap:var(--co-spacing-sm);padding-bottom:var(--co-spacing-md)}:host([sidebar-mode="min"]) .sidebar__body{scrollbar-width:none}:host([sidebar-mode="min"]) .sidebar__body::-webkit-scrollbar{width:0}.main{display:flex;flex-direction:column;flex:1;min-width:0;padding:0;margin:var(--co-spacing-sm);margin-left:0;min-height:0;contain:layout;--co-shell-r:var(--co-border-radius-md);--co-sq-r:var(--co-shell-r);--co-sq-shadow:var(--co-app-shell-shadow, 0 1px 4px rgba(31, 28, 27, 0.06), 0 10px 56px rgba(31, 28, 27, 0.12));--co-sq-drop-shadow:var(--co-app-shell-drop-shadow, drop-shadow(0 1px 2px rgba(31, 28, 27, 0.06)) drop-shadow(0 10px 28px rgba(31, 28, 27, 0.12)))}.main__card{flex:1;min-height:0;display:flex;flex-direction:column}.main__header{flex-shrink:0}.main__content{flex:1;min-height:0;overflow:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.main__content:hover{scrollbar-color:var(--co-color-opacity-negro-16) transparent}.main__content::-webkit-scrollbar{width:6px;height:6px}.main__content::-webkit-scrollbar-track{background:transparent}.main__content::-webkit-scrollbar-thumb{background:transparent;border-radius:9999px}.main__content:hover::-webkit-scrollbar-thumb{background:var(--co-color-opacity-negro-16)}.main__content:hover::-webkit-scrollbar-thumb:hover{background:var(--co-color-opacity-negro-25)}.main__content:hover::-webkit-scrollbar-thumb:active{background:var(--co-color-opacity-negro-50)}.main__content--card{background:var(--co-semantic-surface-secondary)}'}},[257,"co-app-shell",{sidebarMode:[1537,"sidebar-mode"],contentCard:[4,"content-card"]}]);function i(){"undefined"!=typeof customElements&&["co-app-shell"].forEach((a=>{"co-app-shell"===a&&(customElements.get(r(a))||customElements.define(r(a),c))}))}i();const d=c,n=i;export{d as CoAppShell,n as defineCustomElement}
1
+ import{t as a,p as r,H as e,c as o,h as c,a as s}from"./index.js";const t=r(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.coSidebarModeChange=o(this,"coSidebarModeChange",7),this.sidebarMode="min",this.contentCard=!0}render(){return c(s,{key:"94ecab3775bfc41a8579c1d1c76c9312160aebad"},c("aside",{key:"3ddf6675b4d7ce1697c48e3e5885c1e303cdbc5f",class:"sidebar",part:"sidebar"},c("div",{key:"b64ecb693c193e4c8b4ac1e2facce961487e56cf",class:"sidebar__header",part:"sidebar-header"},c("slot",{key:"83d961e15824aea7b5fa7cc9da616d2e05da0cce",name:"sidebar-header"})),c("div",{key:"971f6ae8a723d811f2062963ab370a803284d5f8",class:"sidebar__body",part:"sidebar-body"},c("slot",{key:"be55e67e6344346e92eaf086fa139bc3e763949d",name:"sidebar"})),c("div",{key:"5b6680a3368ce37e0e34f99e8544e0007d1131c2",class:"sidebar__footer",part:"sidebar-footer"},c("slot",{key:"b0f72b695b2d5fd89e30d64982f9f43370c81341",name:"sidebar-footer"}))),c("div",{key:"fa85fc8ea88350e90df48e3853429641d6527014",class:"main co-sq-elevation co-sq-elevation-fallback",part:"main"},c("div",{key:"7a258e3649bb03756d8e56c69e1777bb9006cd53",class:"main__card co-sq-clip",part:"card"},c("header",{key:"bdfc99ad70e4c9772da3e8c99d631d2f7cbd7436",class:"main__header",part:"header"},c("slot",{key:"f697503aac1963ba4c86e57d45e5e5a3fe4781ee",name:"navbar"})),c("main",{key:"ca66e612ed04f5f829a0b75ac509c01012a6b4a5",class:{main__content:!0,"main__content--card":this.contentCard},part:"content"},c("slot",{key:"b99b1ea67e4ae8c059a3dcb03c0a04bbc2af569b"})))))}static get style(){return'.co-sq-elevation{border-radius:var(--co-sq-r);corner-shape:squircle;box-shadow:var(--co-sq-shadow)}.co-sq-clip{overflow:hidden;border-radius:var(--co-sq-r);corner-shape:squircle}@supports not (corner-shape: squircle){.co-sq-elevation{box-shadow:none}.co-sq-elevation-fallback{filter:var(--co-sq-drop-shadow)}.co-sq-clip{border-radius:0;--co-sq-tl:url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27 preserveAspectRatio=%27none%27><path d=%27M100 0L97.5 0L95 0L92.5 0L90 0L87.5 0.01L85 0.01L82.5 0.02L80 0.04L77.5 0.06L75 0.1L72.5 0.14L70 0.2L67.5 0.28L65 0.38L62.5 0.5L60 0.65L57.5 0.83L55 1.04L52.5 1.3L50 1.6L47.5 1.96L45 2.37L42.5 2.85L40 3.41L37.5 4.05L35 4.8L32.5 5.65L30 6.63L27.5 7.77L25 9.07L22.5 10.58L20 12.34L17.5 14.41L15 16.85L12.5 19.79L10 23.42L7.5 28.06L5 34.37L2.5 44.29L0 100L100 100Z%27 fill=%27%23fff%27/></svg>");--co-sq-tr:url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27 preserveAspectRatio=%27none%27><path d=%27M0 0L2.5 0L5 0L7.5 0L10 0L12.5 0.01L15 0.01L17.5 0.02L20 0.04L22.5 0.06L25 0.1L27.5 0.14L30 0.2L32.5 0.28L35 0.38L37.5 0.5L40 0.65L42.5 0.83L45 1.04L47.5 1.3L50 1.6L52.5 1.96L55 2.37L57.5 2.85L60 3.41L62.5 4.05L65 4.8L67.5 5.65L70 6.63L72.5 7.77L75 9.07L77.5 10.58L80 12.34L82.5 14.41L85 16.85L87.5 19.79L90 23.42L92.5 28.06L95 34.37L97.5 44.29L100 100L0 100Z%27 fill=%27%23fff%27/></svg>");--co-sq-bl:url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27 preserveAspectRatio=%27none%27><path d=%27M0 0L2.5 55.71L5 65.63L7.5 71.94L10 76.58L12.5 80.21L15 83.15L17.5 85.59L20 87.66L22.5 89.42L25 90.93L27.5 92.23L30 93.37L32.5 94.35L35 95.2L37.5 95.95L40 96.59L42.5 97.15L45 97.63L47.5 98.04L50 98.4L52.5 98.7L55 98.96L57.5 99.17L60 99.35L62.5 99.5L65 99.62L67.5 99.72L70 99.8L72.5 99.86L75 99.9L77.5 99.94L80 99.96L82.5 99.98L85 99.99L87.5 99.99L90 100L92.5 100L95 100L97.5 100L100 100L100 0Z%27 fill=%27%23fff%27/></svg>");--co-sq-br:url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27 preserveAspectRatio=%27none%27><path d=%27M100 0L97.5 55.71L95 65.63L92.5 71.94L90 76.58L87.5 80.21L85 83.15L82.5 85.59L80 87.66L77.5 89.42L75 90.93L72.5 92.23L70 93.37L67.5 94.35L65 95.2L62.5 95.95L60 96.59L57.5 97.15L55 97.63L52.5 98.04L50 98.4L47.5 98.7L45 98.96L42.5 99.17L40 99.35L37.5 99.5L35 99.62L32.5 99.72L30 99.8L27.5 99.86L25 99.9L22.5 99.94L20 99.96L17.5 99.98L15 99.99L12.5 99.99L10 100L7.5 100L5 100L2.5 100L0 100L0 0Z%27 fill=%27%23fff%27/></svg>");-webkit-mask:var(--co-sq-tl) top left / var(--co-sq-r) var(--co-sq-r) no-repeat, var(--co-sq-tr) top right / var(--co-sq-r) var(--co-sq-r) no-repeat, var(--co-sq-bl) bottom left / var(--co-sq-r) var(--co-sq-r) no-repeat, var(--co-sq-br) bottom right / var(--co-sq-r) var(--co-sq-r) no-repeat, linear-gradient(#fff 0 0) center / 100% calc(100% - 2 * var(--co-sq-r) + 2px) no-repeat, linear-gradient(#fff 0 0) center / calc(100% - 2 * var(--co-sq-r) + 2px) 100% no-repeat;mask:var(--co-sq-tl) top left / var(--co-sq-r) var(--co-sq-r) no-repeat, var(--co-sq-tr) top right / var(--co-sq-r) var(--co-sq-r) no-repeat, var(--co-sq-bl) bottom left / var(--co-sq-r) var(--co-sq-r) no-repeat, var(--co-sq-br) bottom right / var(--co-sq-r) var(--co-sq-r) no-repeat, linear-gradient(#fff 0 0) center / 100% calc(100% - 2 * var(--co-sq-r) + 2px) no-repeat, linear-gradient(#fff 0 0) center / calc(100% - 2 * var(--co-sq-r) + 2px) 100% no-repeat}}:host{display:flex;height:100vh;overflow:hidden;background:var(--co-app-shell-bg, linear-gradient( 180deg, var(--co-color-base-off-white) 0%, var(--co-color-neutral-100) 50%, var(--co-color-neutral-100) 100% ));font-family:var(--co-font-family-primary)}.sidebar{display:flex;flex-direction:column;width:256px;height:100%;flex-shrink:0;overflow:hidden;transition:width var(--co-motion-duration-base) var(--co-motion-ease-out);padding:var(--co-spacing-sm);padding-right:0;box-sizing:border-box}:host([sidebar-mode="min"]) .sidebar{--co-sidebar-min-width:64px;width:var(--co-sidebar-min-width);align-items:flex-start;padding:var(--co-spacing-sm) 0}.sidebar__header{flex-shrink:0}.sidebar__body{flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.sidebar__body:hover{scrollbar-color:var(--co-color-opacity-blanco-16) transparent}.sidebar__body::-webkit-scrollbar{width:6px}.sidebar__body::-webkit-scrollbar-track{background:transparent}.sidebar__body::-webkit-scrollbar-thumb{background:transparent;border-radius:9999px}.sidebar__body:hover::-webkit-scrollbar-thumb{background:var(--co-color-opacity-blanco-16)}.sidebar__body:hover::-webkit-scrollbar-thumb:hover{background:var(--co-color-opacity-blanco-25)}.sidebar__body:hover::-webkit-scrollbar-thumb:active{background:var(--co-color-opacity-blanco-50)}.sidebar__footer{flex-shrink:0}:host([sidebar-mode="min"]) .sidebar__header,:host([sidebar-mode="min"]) .sidebar__body,:host([sidebar-mode="min"]) .sidebar__footer{display:flex;flex-direction:column;align-items:center;width:var(--co-sidebar-min-width, 64px)}:host([sidebar-mode="min"]) .sidebar__header{gap:var(--co-spacing-sm);padding-bottom:var(--co-spacing-md)}:host([sidebar-mode="min"]) .sidebar__body{scrollbar-width:none}:host([sidebar-mode="min"]) .sidebar__body::-webkit-scrollbar{width:0}.main{display:flex;flex-direction:column;flex:1;min-width:0;padding:0;margin:var(--co-spacing-sm);margin-left:0;min-height:0;contain:layout;--co-shell-r:var(--co-border-radius-md);--co-sq-r:var(--co-shell-r);--co-sq-shadow:var(--co-app-shell-shadow, 0 1px 4px rgba(31, 28, 27, 0.06), 0 10px 56px rgba(31, 28, 27, 0.12));--co-sq-drop-shadow:var(--co-app-shell-drop-shadow, drop-shadow(0 1px 2px rgba(31, 28, 27, 0.06)) drop-shadow(0 10px 28px rgba(31, 28, 27, 0.12)))}.main__card{flex:1;min-height:0;display:flex;flex-direction:column}.main__header{flex-shrink:0}.main__content{flex:1;min-height:0;overflow:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.main__content:hover{scrollbar-color:var(--co-color-opacity-negro-16) transparent}.main__content::-webkit-scrollbar{width:6px;height:6px}.main__content::-webkit-scrollbar-track{background:transparent}.main__content::-webkit-scrollbar-thumb{background:transparent;border-radius:9999px}.main__content:hover::-webkit-scrollbar-thumb{background:var(--co-color-opacity-negro-16)}.main__content:hover::-webkit-scrollbar-thumb:hover{background:var(--co-color-opacity-negro-25)}.main__content:hover::-webkit-scrollbar-thumb:active{background:var(--co-color-opacity-negro-50)}.main__content--card{background:var(--co-semantic-surface-secondary)}'}},[257,"co-app-shell",{sidebarMode:[1537,"sidebar-mode"],contentCard:[4,"content-card"]}]);function i(){"undefined"!=typeof customElements&&["co-app-shell"].forEach((r=>{"co-app-shell"===r&&(customElements.get(a(r))||customElements.define(a(r),t))}))}i();const d=t,n=i;export{d as CoAppShell,n as defineCustomElement}