@prolibu-suite/cobalt-core 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (530) hide show
  1. package/custom-elements.json +1049 -52
  2. package/dist/cjs/co-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/co-app-shell.cjs.entry.js +1 -1
  4. package/dist/cjs/co-autocomplete.cjs.entry.js +3 -3
  5. package/dist/cjs/co-avatar-group.cjs.entry.js +3 -3
  6. package/dist/cjs/{co-tooltip.cjs.entry.js → co-avatar_2.cjs.entry.js} +95 -3
  7. package/dist/cjs/co-badge.cjs.entry.js +2 -2
  8. package/dist/cjs/co-bottom-sheet.cjs.entry.js +4 -4
  9. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +3 -3
  10. package/dist/cjs/co-breadcrumb.cjs.entry.js +2 -2
  11. package/dist/cjs/co-button-group.cjs.entry.js +3 -3
  12. package/dist/cjs/co-button.cjs.entry.js +3 -3
  13. package/dist/cjs/co-calendar-month.cjs.entry.js +2 -2
  14. package/dist/cjs/co-calendar_3.cjs.entry.js +8 -8
  15. package/dist/cjs/co-card.cjs.entry.js +3 -3
  16. package/dist/cjs/co-carousel-item.cjs.entry.js +17 -0
  17. package/dist/cjs/co-carousel.cjs.entry.js +368 -0
  18. package/dist/cjs/co-checkbox-group.cjs.entry.js +1 -1
  19. package/dist/cjs/co-checkbox.cjs.entry.js +4 -4
  20. package/dist/cjs/co-chip_2.cjs.entry.js +5 -5
  21. package/dist/cjs/co-color-picker.cjs.entry.js +5 -5
  22. package/dist/cjs/co-column-picker.cjs.entry.js +3 -3
  23. package/dist/cjs/co-combobox.cjs.entry.js +3 -3
  24. package/dist/cjs/co-command-search.cjs.entry.js +1 -1
  25. package/dist/cjs/co-data-table-pagination.cjs.entry.js +5 -5
  26. package/dist/cjs/co-data-table.cjs.entry.js +2 -2
  27. package/dist/cjs/co-date-picker.cjs.entry.js +11 -4
  28. package/dist/cjs/co-date-range-picker.cjs.entry.js +9 -3
  29. package/dist/cjs/co-date-range.cjs.entry.js +2 -2
  30. package/dist/cjs/co-drive-card.cjs.entry.js +2 -2
  31. package/dist/cjs/co-drop-zone.cjs.entry.js +2 -2
  32. package/dist/cjs/co-empty-state.cjs.entry.js +3 -3
  33. package/dist/cjs/co-event-calendar.cjs.entry.js +3 -3
  34. package/dist/cjs/co-fab.cjs.entry.js +21 -6
  35. package/dist/cjs/co-file-field.cjs.entry.js +8 -8
  36. package/dist/cjs/co-file-type-tile.cjs.entry.js +3 -3
  37. package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
  38. package/dist/cjs/co-icon-button.cjs.entry.js +2 -2
  39. package/dist/cjs/co-icon.cjs.entry.js +3 -3
  40. package/dist/cjs/co-input.cjs.entry.js +9 -3
  41. package/dist/cjs/co-json-field.cjs.entry.js +6 -6
  42. package/dist/cjs/co-lightbox.cjs.entry.js +33 -6
  43. package/dist/cjs/co-list-footer.cjs.entry.js +2 -2
  44. package/dist/cjs/co-list-item.cjs.entry.js +5 -5
  45. package/dist/cjs/co-loader.cjs.entry.js +1 -1
  46. package/dist/cjs/co-media-thumb.cjs.entry.js +3 -3
  47. package/dist/cjs/co-menu-divider.cjs.entry.js +2 -2
  48. package/dist/cjs/co-menu-item.cjs.entry.js +1 -1
  49. package/dist/cjs/co-menu.cjs.entry.js +2 -2
  50. package/dist/cjs/co-modal.cjs.entry.js +3 -3
  51. package/dist/cjs/co-navbar.cjs.entry.js +3 -3
  52. package/dist/cjs/co-number-field.cjs.entry.js +5 -5
  53. package/dist/cjs/co-overlay.cjs.entry.js +2 -2
  54. package/dist/cjs/co-page-header.cjs.entry.js +2 -2
  55. package/dist/cjs/co-phone-field.cjs.entry.js +4 -4
  56. package/dist/cjs/co-popover.cjs.entry.js +1 -1
  57. package/dist/cjs/co-progress-bar.cjs.entry.js +3 -3
  58. package/dist/cjs/co-progress-circle.cjs.entry.js +3 -3
  59. package/dist/cjs/co-radio-group.cjs.entry.js +1 -1
  60. package/dist/cjs/co-radio.cjs.entry.js +4 -4
  61. package/dist/cjs/co-rating.cjs.entry.js +4 -4
  62. package/dist/cjs/co-ref-field.cjs.entry.js +11 -5
  63. package/dist/cjs/co-rich-text-editor.cjs.entry.js +22 -7
  64. package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +36 -4
  65. package/dist/cjs/co-rich-text-viewer.cjs.entry.js +36 -6
  66. package/dist/cjs/co-row.cjs.entry.js +3 -3
  67. package/dist/cjs/co-segmented-bar.cjs.entry.js +1 -1
  68. package/dist/cjs/co-select.cjs.entry.js +13 -7
  69. package/dist/cjs/co-separator.cjs.entry.js +2 -2
  70. package/dist/cjs/co-sidebar-nav.cjs.entry.js +1 -1
  71. package/dist/cjs/co-sidebar.cjs.entry.js +3 -3
  72. package/dist/cjs/co-skeleton.cjs.entry.js +2 -2
  73. package/dist/cjs/co-slider.cjs.entry.js +3 -3
  74. package/dist/cjs/co-switch.cjs.entry.js +5 -5
  75. package/dist/cjs/co-tab-group.cjs.entry.js +4 -4
  76. package/dist/cjs/co-tab.cjs.entry.js +3 -3
  77. package/dist/cjs/co-tags-field.cjs.entry.js +9 -9
  78. package/dist/cjs/co-textarea.cjs.entry.js +13 -7
  79. package/dist/cjs/co-toast.cjs.entry.js +1 -1
  80. package/dist/cjs/co-toggle-button-group.cjs.entry.js +3 -3
  81. package/dist/cjs/co-toggle-button.cjs.entry.js +3 -3
  82. package/dist/cjs/co-transfer-list.cjs.entry.js +1 -1
  83. package/dist/cjs/co-video.cjs.entry.js +3 -3
  84. package/dist/cjs/cobalt.cjs.js +2 -2
  85. package/dist/cjs/{fieldChip-D8YJCyQF.js → fieldChip-B_npd9rL.js} +1 -1
  86. package/dist/cjs/{index-4y1Dm145.js → index-DFZ5YhIT.js} +171 -11
  87. package/dist/cjs/{index-DxEFsH_t.js → index-kBiXCEE7.js} +13 -9
  88. package/dist/cjs/loader.cjs.js +2 -2
  89. package/dist/cjs/{requiredMark-B3pKyqYI.js → requiredMark-DuMIcKtt.js} +1 -1
  90. package/dist/cjs/{richTextI18n-B7ktXg3M.js → richTextI18n-B28uAhh4.js} +3 -0
  91. package/dist/cjs/{toolbar-config-3PlT-3zm.js → toolbar-config-BQfWTW6P.js} +2 -0
  92. package/dist/cobalt/cobalt.css +1 -1
  93. package/dist/cobalt/cobalt.esm.js +1 -1
  94. package/dist/cobalt/{p-86e60cfa.entry.js → p-0110108f.entry.js} +1 -1
  95. package/dist/cobalt/p-037cc571.entry.js +1 -0
  96. package/dist/cobalt/{p-47a2dd67.entry.js → p-080f62e4.entry.js} +1 -1
  97. package/dist/cobalt/{p-8128e84a.entry.js → p-0a294205.entry.js} +1 -1
  98. package/dist/cobalt/{p-a9afbaa6.entry.js → p-0b7359bb.entry.js} +1 -1
  99. package/dist/cobalt/p-0b92167a.entry.js +1 -0
  100. package/dist/cobalt/p-0bc5a962.entry.js +1 -0
  101. package/dist/cobalt/{p-02c5a9a9.entry.js → p-202eadfc.entry.js} +1 -1
  102. package/dist/cobalt/{p-1681ce1d.entry.js → p-264508ae.entry.js} +1 -1
  103. package/dist/cobalt/{p-b8ec0cc1.entry.js → p-2661557c.entry.js} +1 -1
  104. package/dist/cobalt/{p-771bc8fe.entry.js → p-27dce0ac.entry.js} +1 -1
  105. package/dist/cobalt/{p-c3462def.entry.js → p-28ab9cef.entry.js} +1 -1
  106. package/dist/cobalt/{p-d9608046.entry.js → p-2da09948.entry.js} +1 -1
  107. package/dist/cobalt/p-2f6c7eb5.entry.js +1 -0
  108. package/dist/cobalt/{p-002e5beb.entry.js → p-30c80e3a.entry.js} +1 -1
  109. package/dist/cobalt/p-331a0108.entry.js +1 -0
  110. package/dist/cobalt/{p-c0f39ddd.entry.js → p-36ad3a96.entry.js} +1 -1
  111. package/dist/cobalt/{p-8dfb6886.entry.js → p-3af74ab8.entry.js} +1 -1
  112. package/dist/cobalt/{p-c6fedc59.entry.js → p-3b9be8a8.entry.js} +1 -1
  113. package/dist/cobalt/p-3c681e3a.entry.js +1 -0
  114. package/dist/cobalt/{p-14d4c5c7.entry.js → p-3ecbbe93.entry.js} +1 -1
  115. package/dist/cobalt/{p-9c873a6a.entry.js → p-3f1030fb.entry.js} +1 -1
  116. package/dist/cobalt/p-3f7215e7.entry.js +1 -0
  117. package/dist/cobalt/p-431cec34.entry.js +1 -0
  118. package/dist/cobalt/p-48fbf051.entry.js +1 -0
  119. package/dist/cobalt/{p-e420d5c9.entry.js → p-4f615cbd.entry.js} +1 -1
  120. package/dist/cobalt/{p-81cfd951.entry.js → p-5319ac3f.entry.js} +1 -1
  121. package/dist/cobalt/p-532baca4.entry.js +1 -0
  122. package/dist/cobalt/{p-ba66584f.entry.js → p-53a276a8.entry.js} +1 -1
  123. package/dist/cobalt/{p-f0de4415.entry.js → p-543cc00d.entry.js} +1 -1
  124. package/dist/cobalt/{p-f073b467.entry.js → p-54857f78.entry.js} +1 -1
  125. package/dist/cobalt/{p-85eed52c.entry.js → p-54f8c68c.entry.js} +1 -1
  126. package/dist/cobalt/{p-9c6ca902.entry.js → p-585c132d.entry.js} +1 -1
  127. package/dist/cobalt/{p-8f194753.entry.js → p-59b114ab.entry.js} +1 -1
  128. package/dist/cobalt/{p-2d1cbd7f.entry.js → p-5b84cf37.entry.js} +1 -1
  129. package/dist/cobalt/{p-0d7536a8.entry.js → p-5c250889.entry.js} +1 -1
  130. package/dist/cobalt/{p-e33853fa.entry.js → p-5d0510a5.entry.js} +1 -1
  131. package/dist/cobalt/{p-f86ccb38.entry.js → p-5e246304.entry.js} +1 -1
  132. package/dist/cobalt/{p-075eed3d.entry.js → p-616e4286.entry.js} +1 -1
  133. package/dist/cobalt/{p-8e823c15.entry.js → p-64115d66.entry.js} +1 -1
  134. package/dist/cobalt/{p-495c9b99.entry.js → p-69723cc1.entry.js} +1 -1
  135. package/dist/cobalt/{p-6ad1625a.entry.js → p-69ce2269.entry.js} +1 -1
  136. package/dist/cobalt/{p-b1197c08.entry.js → p-6b38e8fb.entry.js} +1 -1
  137. package/dist/cobalt/{p-5c43d30e.entry.js → p-7178113f.entry.js} +1 -1
  138. package/dist/cobalt/p-741cf623.entry.js +1 -0
  139. package/dist/cobalt/{p-1726ce07.entry.js → p-75515a8e.entry.js} +1 -1
  140. package/dist/cobalt/{p-fd27c2bd.entry.js → p-7f78e45c.entry.js} +1 -1
  141. package/dist/cobalt/{p-3f06d373.entry.js → p-8155d781.entry.js} +1 -1
  142. package/dist/cobalt/{p-e710b9ea.entry.js → p-8fe5b07e.entry.js} +1 -1
  143. package/dist/cobalt/{p-9a587867.entry.js → p-9211e794.entry.js} +1 -1
  144. package/dist/cobalt/p-97875bde.entry.js +1 -0
  145. package/dist/cobalt/p-9824c478.entry.js +1 -0
  146. package/dist/cobalt/{p-cc0a4617.entry.js → p-9994fcd8.entry.js} +1 -1
  147. package/dist/cobalt/p-9bf42bf4.entry.js +1 -0
  148. package/dist/cobalt/{p-f6ac5301.entry.js → p-9fab9c1f.entry.js} +1 -1
  149. package/dist/cobalt/p-BCEz3S-z.js +2 -0
  150. package/dist/cobalt/{p-Bgxofdfb.js → p-BL0sCfMH.js} +1 -1
  151. package/dist/cobalt/p-BYKAgwq3.js +1 -0
  152. package/dist/cobalt/p-C-d15gih.js +1 -0
  153. package/dist/cobalt/p-D5gr2ent.js +1 -0
  154. package/dist/cobalt/p-WeuPA9Rw.js +1 -0
  155. package/dist/cobalt/{p-77d01b39.entry.js → p-a252f8c5.entry.js} +1 -1
  156. package/dist/cobalt/{p-809015dd.entry.js → p-b06af5c6.entry.js} +1 -1
  157. package/dist/cobalt/p-b87a2e7a.entry.js +1 -0
  158. package/dist/cobalt/{p-fb251497.entry.js → p-ba5c6aa7.entry.js} +1 -1
  159. package/dist/cobalt/{p-373cd08e.entry.js → p-bb00ae4a.entry.js} +1 -1
  160. package/dist/cobalt/{p-5edd0d3f.entry.js → p-bcd38114.entry.js} +1 -1
  161. package/dist/cobalt/{p-bb534985.entry.js → p-c237add6.entry.js} +1 -1
  162. package/dist/cobalt/{p-c750b2d2.entry.js → p-c3004e1c.entry.js} +1 -1
  163. package/dist/cobalt/p-c589ae25.entry.js +1 -0
  164. package/dist/cobalt/p-c635417b.entry.js +1 -0
  165. package/dist/cobalt/p-c7d9ff39.entry.js +1 -0
  166. package/dist/cobalt/{p-c1e53e4c.entry.js → p-c9528a5f.entry.js} +1 -1
  167. package/dist/cobalt/{p-20ba59a2.entry.js → p-cbac0a11.entry.js} +1 -1
  168. package/dist/cobalt/p-cd28aa6d.entry.js +1 -0
  169. package/dist/cobalt/{p-5c3101b5.entry.js → p-cdedaa82.entry.js} +1 -1
  170. package/dist/cobalt/{p-627d2d1a.entry.js → p-ceb85838.entry.js} +1 -1
  171. package/dist/cobalt/{p-5e9a9caf.entry.js → p-d3a1a604.entry.js} +1 -1
  172. package/dist/cobalt/{p-a6900010.entry.js → p-d71b800a.entry.js} +1 -1
  173. package/dist/cobalt/p-df752f6e.entry.js +1 -0
  174. package/dist/cobalt/{p-b4bed98b.entry.js → p-e1b468c1.entry.js} +1 -1
  175. package/dist/cobalt/{p-0d6a562d.entry.js → p-e4555fda.entry.js} +1 -1
  176. package/dist/cobalt/p-ec9dd3a3.entry.js +1 -0
  177. package/dist/cobalt/p-eec1c44c.entry.js +1 -0
  178. package/dist/cobalt/p-eeed80ac.entry.js +1 -0
  179. package/dist/cobalt/p-f0a98453.entry.js +1 -0
  180. package/dist/cobalt/{p-af4cb263.entry.js → p-ff581807.entry.js} +1 -1
  181. package/dist/cobalt/p-fffeb610.entry.js +1 -0
  182. package/dist/collection/collection-manifest.json +2 -0
  183. package/dist/collection/components/co-autocomplete/co-autocomplete.css +1 -1
  184. package/dist/collection/components/co-avatar/co-avatar.css +23 -0
  185. package/dist/collection/components/co-avatar/co-avatar.js +24 -1
  186. package/dist/collection/components/co-avatar-group/co-avatar-group.css +9 -5
  187. package/dist/collection/components/co-avatar-group/co-avatar-group.js +2 -2
  188. package/dist/collection/components/co-badge/co-badge.js +1 -1
  189. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
  190. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +1 -1
  191. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +2 -2
  192. package/dist/collection/components/co-button/co-button.js +2 -2
  193. package/dist/collection/components/co-button-group/co-button-group.js +2 -2
  194. package/dist/collection/components/co-calendar/co-calendar.js +1 -1
  195. package/dist/collection/components/co-calendar-month/co-calendar-month.js +1 -1
  196. package/dist/collection/components/co-card/co-card.js +2 -2
  197. package/dist/collection/components/co-carousel/co-carousel.css +152 -0
  198. package/dist/collection/components/co-carousel/co-carousel.js +633 -0
  199. package/dist/collection/components/co-carousel-item/co-carousel-item.css +6 -0
  200. package/dist/collection/components/co-carousel-item/co-carousel-item.js +25 -0
  201. package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
  202. package/dist/collection/components/co-chip/co-chip.js +2 -2
  203. package/dist/collection/components/co-color-picker/co-color-picker.css +11 -10
  204. package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
  205. package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
  206. package/dist/collection/components/co-combobox/co-combobox.css +6 -8
  207. package/dist/collection/components/co-data-table/co-data-table.css +19 -4
  208. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  209. package/dist/collection/components/co-date-field/co-date-field.css +6 -7
  210. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  211. package/dist/collection/components/co-date-picker/co-date-picker.css +16 -0
  212. package/dist/collection/components/co-date-picker/co-date-picker.js +28 -1
  213. package/dist/collection/components/co-date-range/co-date-range.js +1 -1
  214. package/dist/collection/components/co-date-range-picker/co-date-range-picker.css +13 -1
  215. package/dist/collection/components/co-date-range-picker/co-date-range-picker.js +26 -0
  216. package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
  217. package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
  218. package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
  219. package/dist/collection/components/co-event-calendar/co-event-calendar.js +2 -2
  220. package/dist/collection/components/co-fab/co-fab.css +70 -10
  221. package/dist/collection/components/co-fab/co-fab.js +39 -4
  222. package/dist/collection/components/co-file-field/co-file-field.css +2 -2
  223. package/dist/collection/components/co-file-field/co-file-field.js +5 -5
  224. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
  225. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  226. package/dist/collection/components/co-icon/co-icon.js +2 -2
  227. package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
  228. package/dist/collection/components/co-input/co-input.css +13 -1
  229. package/dist/collection/components/co-input/co-input.js +26 -0
  230. package/dist/collection/components/co-json-field/co-json-field.css +4 -8
  231. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  232. package/dist/collection/components/co-lightbox/co-lightbox.css +12 -1
  233. package/dist/collection/components/co-lightbox/co-lightbox.js +31 -4
  234. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  235. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  236. package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
  237. package/dist/collection/components/co-menu/co-menu.js +1 -1
  238. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  239. package/dist/collection/components/co-modal/co-modal.js +2 -2
  240. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  241. package/dist/collection/components/co-number-field/co-number-field.css +1 -1
  242. package/dist/collection/components/co-number-field/co-number-field.js +2 -2
  243. package/dist/collection/components/co-option-list/co-option-list.js +2 -2
  244. package/dist/collection/components/co-overlay/co-overlay.js +1 -1
  245. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  246. package/dist/collection/components/co-phone-field/co-phone-field.css +2 -2
  247. package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
  248. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  249. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  250. package/dist/collection/components/co-radio/co-radio.js +3 -3
  251. package/dist/collection/components/co-rating/co-rating.js +3 -3
  252. package/dist/collection/components/co-ref-field/co-ref-field.css +17 -1
  253. package/dist/collection/components/co-ref-field/co-ref-field.js +27 -1
  254. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +21 -3
  255. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +97 -4
  256. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.js +93 -3
  257. package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.css +19 -0
  258. package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.js +53 -4
  259. package/dist/collection/components/co-row/co-row.js +2 -2
  260. package/dist/collection/components/co-select/co-select.css +12 -1
  261. package/dist/collection/components/co-select/co-select.js +30 -4
  262. package/dist/collection/components/co-separator/co-separator.js +1 -1
  263. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  264. package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
  265. package/dist/collection/components/co-slider/co-slider.js +2 -2
  266. package/dist/collection/components/co-switch/co-switch.js +3 -3
  267. package/dist/collection/components/co-tab/co-tab.js +2 -2
  268. package/dist/collection/components/co-tab-group/co-tab-group.css +7 -4
  269. package/dist/collection/components/co-tab-group/co-tab-group.js +2 -2
  270. package/dist/collection/components/co-tags-field/co-tags-field.css +12 -21
  271. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  272. package/dist/collection/components/co-textarea/co-textarea.css +18 -8
  273. package/dist/collection/components/co-textarea/co-textarea.js +30 -4
  274. package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
  275. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
  276. package/dist/collection/components/co-tooltip/co-tooltip.js +2 -2
  277. package/dist/collection/components/co-video/co-video.js +2 -2
  278. package/dist/collection/utils/carouselI18n.js +36 -0
  279. package/dist/collection/utils/richTextI18n.js +3 -0
  280. package/dist/components/co-accordion.js +1 -1
  281. package/dist/components/co-autocomplete.js +1 -1
  282. package/dist/components/co-avatar-group.js +1 -1
  283. package/dist/components/co-avatar.js +1 -1
  284. package/dist/components/co-badge.js +1 -1
  285. package/dist/components/co-bottom-sheet.js +1 -1
  286. package/dist/components/co-breadcrumb-item.js +1 -1
  287. package/dist/components/co-breadcrumb.js +1 -1
  288. package/dist/components/co-button-group.js +1 -1
  289. package/dist/components/co-button.js +1 -1
  290. package/dist/components/co-calendar-month.js +1 -1
  291. package/dist/components/co-calendar.js +1 -1
  292. package/dist/components/co-card.js +1 -1
  293. package/dist/components/co-carousel-item.d.ts +11 -0
  294. package/dist/components/co-carousel-item.js +1 -0
  295. package/dist/components/co-carousel.d.ts +11 -0
  296. package/dist/components/co-carousel.js +1 -0
  297. package/dist/components/co-checkbox-group.js +1 -1
  298. package/dist/components/co-checkbox.js +1 -1
  299. package/dist/components/co-chip.js +1 -1
  300. package/dist/components/co-color-picker.js +1 -1
  301. package/dist/components/co-column-picker.js +1 -1
  302. package/dist/components/co-combobox.js +1 -1
  303. package/dist/components/co-command-search.js +1 -1
  304. package/dist/components/co-data-table-pagination.js +1 -1
  305. package/dist/components/co-data-table.js +1 -1
  306. package/dist/components/co-date-field.js +1 -1
  307. package/dist/components/co-date-picker.js +1 -1
  308. package/dist/components/co-date-range-picker.js +1 -1
  309. package/dist/components/co-date-range.js +1 -1
  310. package/dist/components/co-drawer.js +1 -1
  311. package/dist/components/co-drive-card.js +1 -1
  312. package/dist/components/co-drop-zone.js +1 -1
  313. package/dist/components/co-empty-state.js +1 -1
  314. package/dist/components/co-event-calendar.js +1 -1
  315. package/dist/components/co-fab.js +1 -1
  316. package/dist/components/co-file-field.js +1 -1
  317. package/dist/components/co-file-type-tile.js +1 -1
  318. package/dist/components/co-helper-text.js +1 -1
  319. package/dist/components/co-icon-button.js +1 -1
  320. package/dist/components/co-icon.js +1 -1
  321. package/dist/components/co-input.js +1 -1
  322. package/dist/components/co-json-field.js +1 -1
  323. package/dist/components/co-lightbox.js +1 -1
  324. package/dist/components/co-list-footer.js +1 -1
  325. package/dist/components/co-list-item.js +1 -1
  326. package/dist/components/co-media-thumb.js +1 -1
  327. package/dist/components/co-menu-divider.js +1 -1
  328. package/dist/components/co-menu-item.js +1 -1
  329. package/dist/components/co-menu.js +1 -1
  330. package/dist/components/co-modal.js +1 -1
  331. package/dist/components/co-navbar.js +1 -1
  332. package/dist/components/co-number-field.js +1 -1
  333. package/dist/components/co-option-list.js +1 -1
  334. package/dist/components/co-overlay.js +1 -1
  335. package/dist/components/co-page-header.js +1 -1
  336. package/dist/components/co-phone-field.js +1 -1
  337. package/dist/components/co-progress-bar.js +1 -1
  338. package/dist/components/co-progress-circle.js +1 -1
  339. package/dist/components/co-radio-group.js +1 -1
  340. package/dist/components/co-radio.js +1 -1
  341. package/dist/components/co-rating.js +1 -1
  342. package/dist/components/co-ref-field.js +1 -1
  343. package/dist/components/co-rich-text-editor.js +1 -1
  344. package/dist/components/co-rich-text-toolbar.js +1 -1
  345. package/dist/components/co-rich-text-viewer.js +1 -1
  346. package/dist/components/co-row.js +1 -1
  347. package/dist/components/co-select.js +1 -1
  348. package/dist/components/co-separator.js +1 -1
  349. package/dist/components/co-sidebar-nav.js +1 -1
  350. package/dist/components/co-sidebar.js +1 -1
  351. package/dist/components/co-skeleton.js +1 -1
  352. package/dist/components/co-slider.js +1 -1
  353. package/dist/components/co-switch.js +1 -1
  354. package/dist/components/co-tab-group.js +1 -1
  355. package/dist/components/co-tab.js +1 -1
  356. package/dist/components/co-tags-field.js +1 -1
  357. package/dist/components/co-textarea.js +1 -1
  358. package/dist/components/co-toast.js +1 -1
  359. package/dist/components/co-toggle-button-group.js +1 -1
  360. package/dist/components/co-toggle-button.js +1 -1
  361. package/dist/components/co-tooltip.js +1 -1
  362. package/dist/components/co-transfer-list.js +1 -1
  363. package/dist/components/co-video.js +1 -1
  364. package/dist/components/index.js +1 -1
  365. package/dist/components/{p-CNIs9j-h.js → p-9aNhJfTT.js} +1 -1
  366. package/dist/components/{p-QWi9AmnD.js → p-B0b9Etx4.js} +1 -1
  367. package/dist/components/{p-D4SOCy8I.js → p-B3U63yZw.js} +1 -1
  368. package/dist/components/p-B7Yv00g9.js +1 -0
  369. package/dist/components/{p-Bgxofdfb.js → p-BL0sCfMH.js} +1 -1
  370. package/dist/components/{p-DrQh1Cb8.js → p-BTa6ss5i.js} +1 -1
  371. package/dist/components/p-BtpRnpaF.js +1 -0
  372. package/dist/components/{p-lus32JrB.js → p-Bul6EdDX.js} +1 -1
  373. package/dist/components/{p-COb8X_fE.js → p-Bzg5FPSA.js} +1 -1
  374. package/dist/components/{p-Cam92sWP.js → p-CQ-8domm.js} +1 -1
  375. package/dist/components/{p-Bsq90mo4.js → p-CVeEoHr7.js} +1 -1
  376. package/dist/components/p-CYi6V_Ss.js +1 -0
  377. package/dist/components/{p-DvL2TcDG.js → p-Cd3inFSL.js} +1 -1
  378. package/dist/components/{p-OKwHt2i9.js → p-CuQjKAf5.js} +1 -1
  379. package/dist/components/{p-Ba5lW0pA.js → p-DKvTqEaf.js} +1 -1
  380. package/dist/components/p-DfpOEXHC.js +1 -0
  381. package/dist/components/p-DwwxS5bY.js +1 -0
  382. package/dist/components/p-T0UfY6rA.js +1 -0
  383. package/dist/components/p-WeuPA9Rw.js +1 -0
  384. package/dist/components/{p-_k-j03K-.js → p-oV_1MoAN.js} +1 -1
  385. package/dist/esm/co-accordion.entry.js +1 -1
  386. package/dist/esm/co-app-shell.entry.js +1 -1
  387. package/dist/esm/co-autocomplete.entry.js +3 -3
  388. package/dist/esm/co-avatar-group.entry.js +3 -3
  389. package/dist/esm/{co-tooltip.entry.js → co-avatar_2.entry.js} +95 -4
  390. package/dist/esm/co-badge.entry.js +2 -2
  391. package/dist/esm/co-bottom-sheet.entry.js +4 -4
  392. package/dist/esm/co-breadcrumb-item.entry.js +3 -3
  393. package/dist/esm/co-breadcrumb.entry.js +2 -2
  394. package/dist/esm/co-button-group.entry.js +3 -3
  395. package/dist/esm/co-button.entry.js +3 -3
  396. package/dist/esm/co-calendar-month.entry.js +2 -2
  397. package/dist/esm/co-calendar_3.entry.js +8 -8
  398. package/dist/esm/co-card.entry.js +3 -3
  399. package/dist/esm/co-carousel-item.entry.js +15 -0
  400. package/dist/esm/co-carousel.entry.js +366 -0
  401. package/dist/esm/co-checkbox-group.entry.js +1 -1
  402. package/dist/esm/co-checkbox.entry.js +4 -4
  403. package/dist/esm/co-chip_2.entry.js +5 -5
  404. package/dist/esm/co-color-picker.entry.js +5 -5
  405. package/dist/esm/co-column-picker.entry.js +3 -3
  406. package/dist/esm/co-combobox.entry.js +3 -3
  407. package/dist/esm/co-command-search.entry.js +1 -1
  408. package/dist/esm/co-data-table-pagination.entry.js +5 -5
  409. package/dist/esm/co-data-table.entry.js +2 -2
  410. package/dist/esm/co-date-picker.entry.js +11 -4
  411. package/dist/esm/co-date-range-picker.entry.js +9 -3
  412. package/dist/esm/co-date-range.entry.js +2 -2
  413. package/dist/esm/co-drive-card.entry.js +2 -2
  414. package/dist/esm/co-drop-zone.entry.js +2 -2
  415. package/dist/esm/co-empty-state.entry.js +3 -3
  416. package/dist/esm/co-event-calendar.entry.js +3 -3
  417. package/dist/esm/co-fab.entry.js +21 -6
  418. package/dist/esm/co-file-field.entry.js +8 -8
  419. package/dist/esm/co-file-type-tile.entry.js +3 -3
  420. package/dist/esm/co-helper-text.entry.js +3 -3
  421. package/dist/esm/co-icon-button.entry.js +2 -2
  422. package/dist/esm/co-icon.entry.js +3 -3
  423. package/dist/esm/co-input.entry.js +9 -3
  424. package/dist/esm/co-json-field.entry.js +6 -6
  425. package/dist/esm/co-lightbox.entry.js +33 -6
  426. package/dist/esm/co-list-footer.entry.js +2 -2
  427. package/dist/esm/co-list-item.entry.js +5 -5
  428. package/dist/esm/co-loader.entry.js +1 -1
  429. package/dist/esm/co-media-thumb.entry.js +3 -3
  430. package/dist/esm/co-menu-divider.entry.js +2 -2
  431. package/dist/esm/co-menu-item.entry.js +1 -1
  432. package/dist/esm/co-menu.entry.js +2 -2
  433. package/dist/esm/co-modal.entry.js +3 -3
  434. package/dist/esm/co-navbar.entry.js +3 -3
  435. package/dist/esm/co-number-field.entry.js +5 -5
  436. package/dist/esm/co-overlay.entry.js +2 -2
  437. package/dist/esm/co-page-header.entry.js +2 -2
  438. package/dist/esm/co-phone-field.entry.js +4 -4
  439. package/dist/esm/co-popover.entry.js +1 -1
  440. package/dist/esm/co-progress-bar.entry.js +3 -3
  441. package/dist/esm/co-progress-circle.entry.js +3 -3
  442. package/dist/esm/co-radio-group.entry.js +1 -1
  443. package/dist/esm/co-radio.entry.js +4 -4
  444. package/dist/esm/co-rating.entry.js +4 -4
  445. package/dist/esm/co-ref-field.entry.js +11 -5
  446. package/dist/esm/co-rich-text-editor.entry.js +22 -7
  447. package/dist/esm/co-rich-text-toolbar.entry.js +36 -4
  448. package/dist/esm/co-rich-text-viewer.entry.js +36 -6
  449. package/dist/esm/co-row.entry.js +3 -3
  450. package/dist/esm/co-segmented-bar.entry.js +1 -1
  451. package/dist/esm/co-select.entry.js +13 -7
  452. package/dist/esm/co-separator.entry.js +2 -2
  453. package/dist/esm/co-sidebar-nav.entry.js +1 -1
  454. package/dist/esm/co-sidebar.entry.js +3 -3
  455. package/dist/esm/co-skeleton.entry.js +2 -2
  456. package/dist/esm/co-slider.entry.js +3 -3
  457. package/dist/esm/co-switch.entry.js +5 -5
  458. package/dist/esm/co-tab-group.entry.js +4 -4
  459. package/dist/esm/co-tab.entry.js +3 -3
  460. package/dist/esm/co-tags-field.entry.js +9 -9
  461. package/dist/esm/co-textarea.entry.js +13 -7
  462. package/dist/esm/co-toast.entry.js +1 -1
  463. package/dist/esm/co-toggle-button-group.entry.js +3 -3
  464. package/dist/esm/co-toggle-button.entry.js +3 -3
  465. package/dist/esm/co-transfer-list.entry.js +1 -1
  466. package/dist/esm/co-video.entry.js +3 -3
  467. package/dist/esm/cobalt.js +3 -3
  468. package/dist/esm/{fieldChip-ChXW__C5.js → fieldChip-Bb8YIN0J.js} +1 -1
  469. package/dist/esm/{index-tT-aZV0-.js → index-BCEz3S-z.js} +13 -9
  470. package/dist/esm/{index-Cyrxk8Qq.js → index-RuXxdKzC.js} +171 -11
  471. package/dist/esm/loader.js +3 -3
  472. package/dist/esm/{requiredMark-C7-_2UhB.js → requiredMark-D7kAMXHM.js} +1 -1
  473. package/dist/esm/{richTextI18n-B-ckjCUA.js → richTextI18n-BYKAgwq3.js} +3 -0
  474. package/dist/esm/{toolbar-config-ChibIpZv.js → toolbar-config-WeuPA9Rw.js} +2 -0
  475. package/dist/types/components/co-avatar/co-avatar.d.ts +5 -0
  476. package/dist/types/components/co-carousel/co-carousel.d.ts +85 -0
  477. package/dist/types/components/co-carousel-item/co-carousel-item.d.ts +10 -0
  478. package/dist/types/components/co-date-picker/co-date-picker.d.ts +7 -0
  479. package/dist/types/components/co-date-range-picker/co-date-range-picker.d.ts +5 -0
  480. package/dist/types/components/co-fab/co-fab.d.ts +6 -0
  481. package/dist/types/components/co-input/co-input.d.ts +5 -0
  482. package/dist/types/components/co-lightbox/co-lightbox.d.ts +7 -0
  483. package/dist/types/components/co-ref-field/co-ref-field.d.ts +5 -0
  484. package/dist/types/components/co-rich-text-editor/co-rich-text-editor.d.ts +17 -0
  485. package/dist/types/components/co-rich-text-toolbar/co-rich-text-toolbar.d.ts +12 -1
  486. package/dist/types/components/co-rich-text-viewer/co-rich-text-viewer.d.ts +10 -0
  487. package/dist/types/components/co-select/co-select.d.ts +5 -0
  488. package/dist/types/components/co-textarea/co-textarea.d.ts +5 -0
  489. package/dist/types/components.d.ts +363 -3
  490. package/dist/types/utils/carouselI18n.d.ts +10 -0
  491. package/dist/types/utils/richTextI18n.d.ts +1 -0
  492. package/package.json +4 -4
  493. package/dist/cjs/co-avatar.cjs.entry.js +0 -92
  494. package/dist/cobalt/p-0c0621a7.entry.js +0 -1
  495. package/dist/cobalt/p-13fc9c8a.entry.js +0 -1
  496. package/dist/cobalt/p-3f68fd2e.entry.js +0 -1
  497. package/dist/cobalt/p-4a075257.entry.js +0 -1
  498. package/dist/cobalt/p-5647ca9d.entry.js +0 -1
  499. package/dist/cobalt/p-5b31d45b.entry.js +0 -1
  500. package/dist/cobalt/p-6911a034.entry.js +0 -1
  501. package/dist/cobalt/p-70f70e02.entry.js +0 -1
  502. package/dist/cobalt/p-73b30ebb.entry.js +0 -1
  503. package/dist/cobalt/p-75dcaeb0.entry.js +0 -1
  504. package/dist/cobalt/p-7780ddb5.entry.js +0 -1
  505. package/dist/cobalt/p-7FZXeBK4.js +0 -1
  506. package/dist/cobalt/p-86d4e016.entry.js +0 -1
  507. package/dist/cobalt/p-8a9ed2da.entry.js +0 -1
  508. package/dist/cobalt/p-B-ckjCUA.js +0 -1
  509. package/dist/cobalt/p-BAA4ln31.js +0 -1
  510. package/dist/cobalt/p-ChibIpZv.js +0 -1
  511. package/dist/cobalt/p-aa20ffca.entry.js +0 -1
  512. package/dist/cobalt/p-ac5df270.entry.js +0 -1
  513. package/dist/cobalt/p-c2e2eee9.entry.js +0 -1
  514. package/dist/cobalt/p-cc8e2f16.entry.js +0 -1
  515. package/dist/cobalt/p-e1957078.entry.js +0 -1
  516. package/dist/cobalt/p-e2762263.entry.js +0 -1
  517. package/dist/cobalt/p-e4a539da.entry.js +0 -1
  518. package/dist/cobalt/p-e7085f08.entry.js +0 -1
  519. package/dist/cobalt/p-e9aaeaf7.entry.js +0 -1
  520. package/dist/cobalt/p-f36e461f.entry.js +0 -1
  521. package/dist/cobalt/p-f6b0c4a0.entry.js +0 -1
  522. package/dist/cobalt/p-tT-aZV0-.js +0 -2
  523. package/dist/components/p-BHqdcGDh.js +0 -1
  524. package/dist/components/p-BJTMFYax.js +0 -1
  525. package/dist/components/p-ChibIpZv.js +0 -1
  526. package/dist/components/p-D3ts7oo9.js +0 -1
  527. package/dist/components/p-Dh-h40mY.js +0 -1
  528. package/dist/components/p-Xwo2HQmt.js +0 -1
  529. package/dist/components/p-eSq2ze8W.js +0 -1
  530. package/dist/esm/co-avatar.entry.js +0 -90
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, a as getElement } from './index-tT-aZV0-.js';
1
+ import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BCEz3S-z.js';
2
2
  import { g as getDateStrings } from './dateI18n-C1DCLOEl.js';
3
3
  import { b as addMonths, d as addDays, a as todayYMD, p as parseISO, i as isValidYMD, h as isDisabled, s as startOfMonth, c as compareYMD, e as getMonthLabel, j as getWeekdayLabels, g as getMonthMatrix, k as getFullDateLabel, f as formatDisplay, l as parseFlexible } from './dates-tPYikBRJ.js';
4
- import { R as RequiredMark } from './requiredMark-C7-_2UhB.js';
4
+ import { R as RequiredMark } from './requiredMark-D7kAMXHM.js';
5
5
 
6
6
  const coCalendarCss = () => `:host{display:inline-block;font-family:var(--co-font-family-primary);--co-calendar-day-size:36px}:host([data-touch]){--co-calendar-day-size:44px}.co-calendar{display:flex;flex-direction:column;gap:var(--co-spacing-sm);width:max-content}.co-calendar__header{display:flex;align-items:center;justify-content:space-between;padding:0 var(--co-spacing-xs)}.co-calendar__month{font-size:var(--co-font-size-14);font-weight:600;color:var(--co-semantic-text-default);text-transform:capitalize}.co-calendar__title{display:inline-flex;align-items:center;gap:var(--co-spacing-xxs);background:none;border:0;cursor:pointer;font-family:inherit;font-size:var(--co-font-size-14);font-weight:600;color:var(--co-semantic-text-default);text-transform:capitalize;padding:var(--co-spacing-xxs) var(--co-spacing-sm);border-radius:var(--co-border-radius-xs)}.co-calendar__title:hover{background:var(--co-semantic-surface-hover)}.co-calendar__title:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:1px}.co-calendar__title-caret{color:var(--co-semantic-text-muted)}.co-calendar__panel{display:grid;grid-template-columns:repeat(3, 1fr);gap:var(--co-spacing-xs);width:calc(var(--co-calendar-day-size) * 7 + 12px);padding-top:var(--co-spacing-xs)}.co-calendar__cell{height:calc(var(--co-calendar-day-size) + 8px);display:inline-flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;border-radius:var(--co-border-radius-xs);font-family:inherit;font-size:var(--co-font-size-14);color:var(--co-semantic-text-default);cursor:pointer;text-transform:capitalize;transition:background 0.1s ease, color 0.1s ease, border-color 0.1s ease}.co-calendar__cell:hover:not(.co-calendar__cell--disabled):not(.co-calendar__cell--selected){background:var(--co-semantic-surface-hover)}.co-calendar__cell:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:1px}.co-calendar__cell--muted{color:var(--co-semantic-text-muted)}.co-calendar__cell--today{border-color:var(--co-semantic-surface-primary);font-weight:600}.co-calendar__cell--selected{background:var(--co-semantic-surface-primary);border-color:var(--co-semantic-surface-primary);color:var(--co-semantic-on-primary);font-weight:600}.co-calendar__cell--disabled{color:var(--co-semantic-text-disabled);cursor:not-allowed}.co-calendar__nav{background:none;border:0;cursor:pointer;padding:var(--co-spacing-xs);border-radius:var(--co-border-radius-xxs);display:inline-flex;align-items:center;color:var(--co-semantic-text-default)}.co-calendar__nav:hover{background:var(--co-semantic-surface-hover)}.co-calendar__nav:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:1px}.co-calendar__grid{display:flex;flex-direction:column;gap:2px}.co-calendar__row{display:grid;grid-template-columns:repeat(7, var(--co-calendar-day-size));gap:2px}.co-calendar__row--dow{margin-bottom:2px}.co-calendar__dow{height:24px;display:inline-flex;align-items:center;justify-content:center;font-size:var(--co-font-size-10, 10px);font-weight:600;color:var(--co-semantic-text-muted);text-transform:uppercase;letter-spacing:0.04em}.co-calendar__day{width:var(--co-calendar-day-size);height:var(--co-calendar-day-size);display:inline-flex;align-items:center;justify-content:center;background:none;border:1px solid transparent;border-radius:var(--co-border-radius-xs);font-size:var(--co-font-size-14);font-family:inherit;color:var(--co-semantic-text-default);cursor:pointer;transition:background 0.1s ease, color 0.1s ease, border-color 0.1s ease}.co-calendar__day:hover:not(.co-calendar__day--disabled):not(.co-calendar__day--selected){background:var(--co-semantic-surface-hover)}.co-calendar__day:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:1px}.co-calendar__day--outside{color:var(--co-semantic-text-muted)}.co-calendar__day--today{border-color:var(--co-semantic-surface-primary);font-weight:600}.co-calendar__day--selected{background:var(--co-semantic-surface-primary);border-color:var(--co-semantic-surface-primary);color:var(--co-semantic-on-primary);font-weight:600}.co-calendar__day--disabled{color:var(--co-semantic-text-disabled);cursor:not-allowed;pointer-events:none}.co-calendar__day--in-range{background:color-mix(in srgb, var(--co-semantic-surface-primary) 8%, transparent);border-radius:0;color:var(--co-semantic-text-default)}.co-calendar__day--range-start,.co-calendar__day--range-end{background:var(--co-semantic-surface-primary);border-color:var(--co-semantic-surface-primary);color:var(--co-semantic-on-primary);font-weight:600}.co-calendar__day--range-start:not(.co-calendar__day--range-end){border-top-right-radius:0;border-bottom-right-radius:0}.co-calendar__day--range-end:not(.co-calendar__day--range-start){border-top-left-radius:0;border-bottom-left-radius:0}`;
7
7
 
@@ -355,7 +355,7 @@ const CoCalendar = class {
355
355
  render() {
356
356
  var _a, _b;
357
357
  const t = getDateStrings(this.locale);
358
- return (h("div", { key: '0ac8e641a51319d8c46c2c22dfa5d059d208060f', class: "co-calendar", part: "root" }, h("div", { key: 'b97ce34ea675a7936d80b47daafa1c2ee3db4325', class: "co-calendar__header", part: "header" }, h("button", { key: 'c02f19300f44dcc31fa233290449af38146fdc05', type: "button", class: "co-calendar__nav", onClick: this.handlePrev, "aria-label": (_a = this.prevMonthLabel) !== null && _a !== void 0 ? _a : t.prevMonth }, h("co-icon", { key: '73bbc58da5b724b48aba584233e591eb196b1cba', name: "caret-left", size: 16 })), h("button", { key: '19f1a44b9f74c529c81c76f677c9ec08143c1b2a', type: "button", class: "co-calendar__title", "aria-live": "polite", onClick: this.toggleView }, this.headerTitle(), h("co-icon", { key: 'f78863f1ac71fb17b49c3a8bd19d709c4f9326e4', name: "caret-down", size: 12, class: "co-calendar__title-caret" })), h("button", { key: '13ab9824881a7346422fe178ccdb02ea279e6070', type: "button", class: "co-calendar__nav", onClick: this.handleNext, "aria-label": (_b = this.nextMonthLabel) !== null && _b !== void 0 ? _b : t.nextMonth }, h("co-icon", { key: '66611f127b366f9f8132bfb3354badfd9e562b99', name: "caret-right", size: 16 }))), this.view === 'days' && this.renderDays(t), this.view === 'months' && this.renderMonths(), this.view === 'years' && this.renderYears()));
358
+ return (h("div", { key: 'fa986ed0bf6bfa7627832868ed26a2f614d7105c', class: "co-calendar", part: "root" }, h("div", { key: '0c86b865fee2c71fb42bacf7a87ab28f2c1a06d1', class: "co-calendar__header", part: "header" }, h("button", { key: 'de9c951364750e616f03cf83ce06a74ee7b4ba36', type: "button", class: "co-calendar__nav", onClick: this.handlePrev, "aria-label": (_a = this.prevMonthLabel) !== null && _a !== void 0 ? _a : t.prevMonth }, h("co-icon", { key: '44f0feeecf0ad89e39afb1c353bc40a8c1dabc96', name: "caret-left", size: 16 })), h("button", { key: '14350a7ca5aedf29d49ddfcecd6f0c098a3fbf5e', type: "button", class: "co-calendar__title", "aria-live": "polite", onClick: this.toggleView }, this.headerTitle(), h("co-icon", { key: 'af1f42e2efac0338e4d1af9c29c2b233fd0a4fbf', name: "caret-down", size: 12, class: "co-calendar__title-caret" })), h("button", { key: '0d34428c859f99d0689cf405a54effee4d9e91e7', type: "button", class: "co-calendar__nav", onClick: this.handleNext, "aria-label": (_b = this.nextMonthLabel) !== null && _b !== void 0 ? _b : t.nextMonth }, h("co-icon", { key: '52a7ccc6e7081221a9f81b25e8352e7e50ba864b', name: "caret-right", size: 16 }))), this.view === 'days' && this.renderDays(t), this.view === 'months' && this.renderMonths(), this.view === 'years' && this.renderYears()));
359
359
  }
360
360
  get el() { return getElement(this); }
361
361
  static get watchers() { return {
@@ -409,7 +409,7 @@ function normalizeNumberArray(v) {
409
409
  }
410
410
  CoCalendar.style = coCalendarCss();
411
411
 
412
- const coDateFieldCss = () => `:host{display:block;font-family:var(--co-font-family-primary);font-size:var(--co-font-size-14);letter-spacing:var(--co-font-letter-spacing-body);line-height:1}.co-date-field{display:flex;flex-direction:column;gap:var(--co-spacing-sm2)}.co-date-field__labels{display:flex;align-items:center;justify-content:space-between;padding:0 var(--co-spacing-xs);gap:var(--co-spacing-sm2)}.co-date-field__label{color:var(--co-semantic-text-secondary);font-size:var(--co-font-size-14);font-weight:400;letter-spacing:var(--co-font-letter-spacing-body);line-height:1;white-space:nowrap;cursor:default}.co-date-field__field-row{display:flex;align-items:stretch}.co-date-field--s .co-date-field__field{min-height:28px;padding:var(--co-spacing-xxs) var(--co-spacing-sm)}.co-date-field--sm .co-date-field__field{min-height:32px;padding:var(--co-spacing-xs) var(--co-spacing-sm)}.co-date-field--lg .co-date-field__field{min-height:48px;padding:var(--co-spacing-sm) var(--co-spacing-lg)}.co-date-field--s .co-date-field__input-wrapper,.co-date-field--sm .co-date-field__input-wrapper{min-height:0;padding:0}.co-date-field__field{display:flex;align-items:center;gap:var(--co-spacing-sm2);padding:var(--co-spacing-sm2) var(--co-spacing-md);background:var(--co-semantic-surface-page);border:1px solid var(--co-color-opacity-negro-25, rgba(31, 28, 27, 0.25));border-radius:var(--co-border-radius-xs);transition:border-color 0.15s ease, box-shadow 0.15s ease;min-height:40px;box-sizing:border-box;overflow:hidden;flex:1;min-width:0}.co-date-field__icon{flex-shrink:0;color:var(--co-semantic-text-muted);display:flex;align-items:center}.co-date-field__input-wrapper{flex:1;display:flex;align-items:center;min-width:0;min-height:24px;padding:var(--co-spacing-xxs) 0}.co-date-field__native{width:100%;border:none;outline:none;background:transparent;font-family:inherit;font-size:inherit;font-weight:400;letter-spacing:inherit;line-height:1;color:var(--co-semantic-text-default);padding:0;margin:0}.co-date-field__native::placeholder{color:var(--co-semantic-text-muted)}.co-date-field__clear{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:16px;padding:0;margin:0;border:none;background:transparent;cursor:pointer;color:var(--co-semantic-text-muted);transition:color 0.15s ease}.co-date-field__clear--hidden{visibility:hidden;pointer-events:none}.co-date-field__clear:hover{color:var(--co-semantic-text-default)}.co-date-field__helper{display:flex;align-items:center;gap:var(--co-spacing-xs);padding:0 var(--co-spacing-xs)}.co-date-field__helper-icon{flex-shrink:0;color:var(--co-semantic-text-muted);display:flex;align-items:center}.co-date-field__helper-text{color:var(--co-semantic-text-muted);font-size:var(--co-font-size-14);font-weight:400;line-height:1;letter-spacing:var(--co-font-letter-spacing-body)}.co-date-field--focused .co-date-field__field{border-color:var(--co-semantic-border-focus);box-shadow:0 0 0 2px var(--co-semantic-border-focus-ring)}.co-date-field--disabled .co-date-field__labels .co-date-field__label{color:var(--co-semantic-text-disabled)}.co-date-field--disabled .co-date-field__field{background:var(--co-semantic-surface-disabled);border-color:transparent;cursor:not-allowed}.co-date-field--disabled .co-date-field__native{color:var(--co-semantic-text-disabled);cursor:not-allowed}.co-date-field--disabled .co-date-field__native::placeholder{color:var(--co-semantic-text-disabled)}.co-date-field--disabled .co-date-field__icon{color:var(--co-semantic-text-disabled)}.co-date-field--invalid .co-date-field__field{border-color:var(--co-semantic-status-error)}.co-date-field--invalid.co-date-field--focused .co-date-field__field{border-color:var(--co-semantic-status-error);box-shadow:0 0 0 2px rgba(170, 46, 27, 0.12)}.co-date-field__helper--error .co-date-field__helper-icon,.co-date-field__helper--error .co-date-field__helper-text{color:var(--co-semantic-status-error)}:host([layout='horizontal']) .co-date-field{display:grid;grid-template-columns:var(--co-field-label-width, max-content) 1fr;align-items:start;column-gap:var(--co-spacing-md);row-gap:var(--co-spacing-sm2)}:host([layout='horizontal']) .co-date-field__labels{grid-column:1;grid-row:1;padding-top:var(--co-spacing-sm2);min-width:0}:host([layout='horizontal']) .co-date-field__label{white-space:normal}:host([layout='horizontal']) .co-date-field>:not(.co-date-field__labels){grid-column:2;min-width:0}.co-field-required{margin-left:2px;color:var(--co-color-status-error)}.co-field-required__caption{margin-left:4px;color:var(--co-semantic-text-muted);font-size:var(--co-font-size-12);font-weight:400}.co-field-required__caption::before{content:var(--co-field-required-text, ' (required)')}`;
412
+ const coDateFieldCss = () => `:host{display:block;font-family:var(--co-font-family-primary);font-size:var(--co-font-size-14);letter-spacing:var(--co-font-letter-spacing-body);line-height:1}.co-date-field{display:flex;flex-direction:column;gap:var(--co-spacing-sm2)}.co-date-field__labels{display:flex;align-items:center;justify-content:space-between;padding:0 var(--co-spacing-xs);gap:var(--co-spacing-sm2)}.co-date-field__label{color:var(--co-semantic-text-secondary);font-size:var(--co-font-size-14);font-weight:400;letter-spacing:var(--co-font-letter-spacing-body);line-height:1;white-space:nowrap;cursor:default}.co-date-field__field-row{display:flex;align-items:stretch}.co-date-field--s .co-date-field__field{min-height:28px;padding:var(--co-spacing-xxs) var(--co-spacing-sm)}.co-date-field--sm .co-date-field__field{min-height:32px;padding:var(--co-spacing-xs) var(--co-spacing-sm)}.co-date-field--lg .co-date-field__field{min-height:48px;padding:var(--co-spacing-sm) var(--co-spacing-lg)}.co-date-field__field{display:flex;align-items:center;gap:var(--co-spacing-sm2);padding:var(--co-spacing-sm2) var(--co-spacing-md);background:var(--co-semantic-surface-page);border:1px solid var(--co-semantic-border-field);border-radius:var(--co-border-radius-xs);transition:border-color 0.15s ease, box-shadow 0.15s ease;min-height:40px;box-sizing:border-box;overflow:hidden;flex:1;min-width:0}.co-date-field__icon{flex-shrink:0;color:var(--co-semantic-text-muted);display:flex;align-items:center}.co-date-field__input-wrapper{flex:1;display:flex;align-items:center;min-width:0;min-height:22px;padding:0}.co-date-field__native{width:100%;border:none;outline:none;background:transparent;font-family:inherit;font-size:inherit;font-weight:400;letter-spacing:inherit;line-height:1;color:var(--co-semantic-text-default);padding:0;margin:0}.co-date-field__native::placeholder{color:var(--co-semantic-text-muted)}.co-date-field__clear{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:16px;padding:0;margin:0;border:none;background:transparent;cursor:pointer;color:var(--co-semantic-text-muted);transition:color 0.15s ease}.co-date-field__clear--hidden{visibility:hidden;pointer-events:none}.co-date-field__clear:hover{color:var(--co-semantic-text-default)}.co-date-field__helper{display:flex;align-items:center;gap:var(--co-spacing-xs);padding:0 var(--co-spacing-xs)}.co-date-field__helper-icon{flex-shrink:0;color:var(--co-semantic-text-muted);display:flex;align-items:center}.co-date-field__helper-text{color:var(--co-semantic-text-muted);font-size:var(--co-font-size-14);font-weight:400;line-height:1;letter-spacing:var(--co-font-letter-spacing-body)}.co-date-field--focused .co-date-field__field{border-color:var(--co-semantic-border-focus);box-shadow:0 0 0 2px var(--co-semantic-border-focus-ring)}.co-date-field--disabled .co-date-field__labels .co-date-field__label{color:var(--co-semantic-text-disabled)}.co-date-field--disabled .co-date-field__field{background:var(--co-semantic-surface-disabled);border-color:transparent;cursor:not-allowed}.co-date-field--disabled .co-date-field__native{color:var(--co-semantic-text-disabled);cursor:not-allowed}.co-date-field--disabled .co-date-field__native::placeholder{color:var(--co-semantic-text-disabled)}.co-date-field--disabled .co-date-field__icon{color:var(--co-semantic-text-disabled)}.co-date-field--invalid .co-date-field__field{border-color:var(--co-semantic-status-error)}.co-date-field--invalid.co-date-field--focused .co-date-field__field{border-color:var(--co-semantic-status-error);box-shadow:0 0 0 2px rgba(170, 46, 27, 0.12)}.co-date-field__helper--error .co-date-field__helper-icon,.co-date-field__helper--error .co-date-field__helper-text{color:var(--co-semantic-status-error)}:host([layout='horizontal']) .co-date-field{display:grid;grid-template-columns:var(--co-field-label-width, max-content) 1fr;align-items:start;column-gap:var(--co-spacing-md);row-gap:var(--co-spacing-sm2)}:host([layout='horizontal']) .co-date-field__labels{grid-column:1;grid-row:1;padding-top:var(--co-spacing-sm2);min-width:0}:host([layout='horizontal']) .co-date-field__label{white-space:normal}:host([layout='horizontal']) .co-date-field>:not(.co-date-field__labels){grid-column:2;min-width:0}.co-field-required{margin-left:2px;color:var(--co-color-status-error)}.co-field-required__caption{margin-left:4px;color:var(--co-semantic-text-muted);font-size:var(--co-font-size-12);font-weight:400}.co-field-required__caption::before{content:var(--co-field-required-text, ' (required)')}`;
413
413
 
414
414
  const CoDateField = class {
415
415
  constructor(hostRef) {
@@ -555,20 +555,20 @@ const CoDateField = class {
555
555
  // should still fall back to the localized default placeholder.
556
556
  const placeholder = this.placeholder || t.setDate;
557
557
  const helper = this.isInvalid ? this.errorMessage : this.helperText;
558
- return (h("div", { key: '7c7de06d53bf9ab7dab40906d533bfaf1874e41e', class: {
558
+ return (h("div", { key: '3536bc260fea07e059915baf8b094426b5304b7f', class: {
559
559
  'co-date-field': true,
560
560
  'co-date-field--disabled': this.disabled,
561
561
  'co-date-field--focused': this.hasFocus,
562
562
  'co-date-field--filled': this.hasValue,
563
563
  'co-date-field--invalid': this.isInvalid,
564
564
  [`co-date-field--${this.size}`]: true,
565
- }, part: "wrapper" }, this.label && (h("div", { key: '30828a7b19aae5f304a26ec5025dba14039060d2', class: "co-date-field__labels" }, h("label", { key: '0b004de41209191ee0a03cf8436eb4dba96bb99c', class: "co-date-field__label", part: "label" }, this.label, h(RequiredMark, { key: '810008c09dbc2fd5e889adc71230a546ab4e78df', required: this.required })))), h("div", { key: '8e488bd0ceb0b011fc4a903d66f3dd17a668cea3', class: "co-date-field__field-row" }, h("div", { key: '9a7fb685c5fc65ee9f731dba6c34a527044a1388', class: "co-date-field__field", part: "field" }, h("co-icon", { key: '81aa74d44ff1b524c253e278345c8add4fb3fe9f', name: "calendar", size: 16, class: "co-date-field__icon" }), h("div", { key: '4dc0d25d37fb8d099860566af1c2ac59d5111e4a', class: "co-date-field__input-wrapper" }, h("input", { key: '1aedac94aff9df44316509d9062e41f86a405a33', ref: (el) => (this.inputEl = el), class: "co-date-field__native", type: "text", inputMode: "numeric", autocomplete: "off", value: this.draft, placeholder: placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? t.dateLabel : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, part: "input" })), this.clearable && (h("button", { key: '0e91b71755c341971064186ee1371d59353cdd1c', class: {
565
+ }, part: "wrapper" }, this.label && (h("div", { key: '5e241dc942081c61b96b8c58a69e03bba89ccdce', class: "co-date-field__labels" }, h("label", { key: '0b5c7b758d48d322dcb4587a662ebb4ca2f5843b', class: "co-date-field__label", part: "label" }, this.label, h(RequiredMark, { key: '3b134781a1b1199bf96140a74e37e5269ec58f86', required: this.required })))), h("div", { key: '3985035d2fb8b52c91dd3e5ad12989e0e94d59a6', class: "co-date-field__field-row" }, h("div", { key: '075d979038a918cb9936153031e8a4753d6fed19', class: "co-date-field__field", part: "field" }, h("co-icon", { key: 'c95e2441e0301031e54a57dfac9f58b071f50e9c', name: "calendar", size: 16, class: "co-date-field__icon" }), h("div", { key: 'bc0c45cf1bcc0f26cdb3e0e5d757fe1db60b2b5e', class: "co-date-field__input-wrapper" }, h("input", { key: '804eedd12a02fc505e2b6743b17d189c4f3cf7cb', ref: (el) => (this.inputEl = el), class: "co-date-field__native", type: "text", inputMode: "numeric", autocomplete: "off", value: this.draft, placeholder: placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? t.dateLabel : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, part: "input" })), this.clearable && (h("button", { key: 'f39034c484ebb4d07e173feea4bcc7fe16d53b5a', class: {
566
566
  'co-date-field__clear': true,
567
567
  'co-date-field__clear--hidden': !showClear,
568
- }, type: "button", tabIndex: -1, onMouseDown: (e) => e.preventDefault() /* keep input focus */, onClick: this.handleClear, "aria-label": (_a = this.clearLabel) !== null && _a !== void 0 ? _a : t.clearDate, part: "clear" }, h("co-icon", { key: 'c4714d0444f27adf4c85f9303d0a510cb63af406', name: "x-circle", size: 16, weight: "fill" }))))), this.name && h("input", { key: '257a873a76fdf65494778b1d514717ae2627f4ef', type: "hidden", name: this.name, value: (_b = this.value) !== null && _b !== void 0 ? _b : '' }), helper && (h("div", { key: '345fe8ad6fd0c5c512c038249f7d8f95ff286838', class: {
568
+ }, type: "button", tabIndex: -1, onMouseDown: (e) => e.preventDefault() /* keep input focus */, onClick: this.handleClear, "aria-label": (_a = this.clearLabel) !== null && _a !== void 0 ? _a : t.clearDate, part: "clear" }, h("co-icon", { key: 'ca94d8bca29632e70e08f99ef5605f24df458d25', name: "x-circle", size: 16, weight: "fill" }))))), this.name && h("input", { key: '3dd400a30b59443f232d8001852811aeaa4945f5', type: "hidden", name: this.name, value: (_b = this.value) !== null && _b !== void 0 ? _b : '' }), helper && (h("div", { key: 'd5981fda3e0ab19fea518acddc4cf1c2641bbdd1', class: {
569
569
  'co-date-field__helper': true,
570
570
  'co-date-field__helper--error': this.isInvalid,
571
- }, part: "helper" }, this.isInvalid && (h("co-icon", { key: '32b6d53b1f8d78fdff90c960c039ac109c80c137', name: "warning-circle", size: 14, class: "co-date-field__helper-icon" })), h("span", { key: '6f9ad478ddb4401d314ad7ef4fb98b21230b5ef1', class: "co-date-field__helper-text" }, helper)))));
571
+ }, part: "helper" }, this.isInvalid && (h("co-icon", { key: 'e111d135454ac081770edddb290929903c376fea', name: "warning-circle", size: 14, class: "co-date-field__helper-icon" })), h("span", { key: 'da47256ba021dce0590ce3adfcd602b8715d7184', class: "co-date-field__helper-text" }, helper)))));
572
572
  }
573
573
  get el() { return getElement(this); }
574
574
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as getElement } from './index-tT-aZV0-.js';
1
+ import { r as registerInstance, h, a as getElement } from './index-BCEz3S-z.js';
2
2
 
3
3
  const coCardCss = () => `:host{display:block}:host([stretch]){height:100%}.co-card{display:flex;flex-direction:column;font-family:var(--co-font-family-primary);background:var(--co-semantic-surface-page);border-radius:var(--co-border-radius-lg);overflow:hidden;box-sizing:border-box}.co-card--stretch{height:100%}.co-card--elevated{box-shadow:0 1px 3px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06)}.co-card--outlined{border:1px solid var(--co-semantic-border-subtle)}.co-card--flat{background:var(--co-semantic-surface-muted)}.co-card--pad-none .co-card__header,.co-card--pad-none .co-card__body,.co-card--pad-none .co-card__footer{padding:0}.co-card--pad-none .co-card__header{border-bottom:none}.co-card--pad-none .co-card__footer{border-top:none}.co-card--pad-sm .co-card__header,.co-card--pad-sm .co-card__body,.co-card--pad-sm .co-card__footer{padding:var(--co-spacing-sm) var(--co-spacing-md)}.co-card--pad-md .co-card__header,.co-card--pad-md .co-card__body,.co-card--pad-md .co-card__footer{padding:var(--co-spacing-md) var(--co-spacing-lg)}.co-card--pad-lg .co-card__header,.co-card--pad-lg .co-card__body,.co-card--pad-lg .co-card__footer{padding:var(--co-spacing-lg) var(--co-spacing-xl)}.co-card__body{flex:1;display:flex;flex-direction:column}.co-card__header{border-bottom:1px solid var(--co-semantic-border-subtle)}.co-card__header--empty{display:none}.co-card__footer{border-top:1px solid var(--co-semantic-border-subtle)}.co-card__footer--empty{display:none}.co-card--clickable{cursor:pointer;transition:box-shadow 0.2s ease, transform 0.2s ease}.co-card--clickable:hover{box-shadow:0 4px 16px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.06);transform:translateY(-2px)}.co-card--clickable:active{transform:translateY(0)}.co-card--clickable:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:2px}`;
4
4
 
@@ -28,13 +28,13 @@ const CoCard = class {
28
28
  return nodes.length > 0;
29
29
  }
30
30
  render() {
31
- return (h("div", { key: 'accbb972f6881a7e13b37a5523d10a3614730603', class: {
31
+ return (h("div", { key: 'e1ea28f75af30a37b0a0792b9302c982c2b45094', class: {
32
32
  'co-card': true,
33
33
  [`co-card--${this.variant}`]: true,
34
34
  [`co-card--pad-${this.padding}`]: true,
35
35
  'co-card--clickable': this.clickable,
36
36
  'co-card--stretch': this.stretch,
37
- }, part: "card", role: this.clickable ? 'button' : undefined, tabIndex: this.clickable ? 0 : undefined }, h("div", { key: '282946088ac5d725587fbc21678e09b430ac2492', class: { 'co-card__header': true, 'co-card__header--empty': !this.hasHeader }, part: "header" }, h("slot", { key: '7a23d56c1c2024fe163f6d4dc8d484cf8b718901', name: "header", onSlotchange: this.handleHeaderSlotChange })), h("div", { key: 'dcec3cc0ab89d8e9b5abbc4bded028a18f5108a9', class: "co-card__body", part: "body" }, h("slot", { key: '94b9b7db62590372a19b87372c2c288658848896' })), h("div", { key: '8aa4852f91fdaa4ad785b7d6f90f6c9d1dffef99', class: { 'co-card__footer': true, 'co-card__footer--empty': !this.hasFooter }, part: "footer" }, h("slot", { key: '3417ff7a18b113f42b172593e86fafc8268c613a', name: "footer", onSlotchange: this.handleFooterSlotChange }))));
37
+ }, part: "card", role: this.clickable ? 'button' : undefined, tabIndex: this.clickable ? 0 : undefined }, h("div", { key: 'e0019a733fcff7c2dfd83e828e7dd5e65febf833', class: { 'co-card__header': true, 'co-card__header--empty': !this.hasHeader }, part: "header" }, h("slot", { key: 'aff49ea9c68e0d7a9f01660204e7dee4adfce624', name: "header", onSlotchange: this.handleHeaderSlotChange })), h("div", { key: '4a72f6d3549a1495e39a18ce3ee940c49e336a84', class: "co-card__body", part: "body" }, h("slot", { key: '48b574aac71e28f58938c8a7586f00f120a372f5' })), h("div", { key: 'cc6bd0344905c13602383e0a6c89b725cbffe2fb', class: { 'co-card__footer': true, 'co-card__footer--empty': !this.hasFooter }, part: "footer" }, h("slot", { key: 'fb5bfec7c5b62715002cc002807889e81a2f5df4', name: "footer", onSlotchange: this.handleFooterSlotChange }))));
38
38
  }
39
39
  get el() { return getElement(this); }
40
40
  };
@@ -0,0 +1,15 @@
1
+ import { r as registerInstance, h, H as Host } from './index-BCEz3S-z.js';
2
+
3
+ const coCarouselItemCss = () => `:host{display:block;flex:0 0 100%;min-width:100%;box-sizing:border-box}`;
4
+
5
+ const CoCarouselItem = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ }
9
+ render() {
10
+ return (h(Host, { key: '70a79bb97b8a0dd47b48c1df02e58a63d9a0f712', role: "group", "aria-roledescription": "slide" }, h("slot", { key: '9b639772cf96b15aa38ff4b2821ef9ca2a7faa53' })));
11
+ }
12
+ };
13
+ CoCarouselItem.style = coCarouselItemCss();
14
+
15
+ export { CoCarouselItem as co_carousel_item };
@@ -0,0 +1,366 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BCEz3S-z.js';
2
+ import { l as langFromLocale } from './dateI18n-C1DCLOEl.js';
3
+
4
+ /**
5
+ * Built-in UI string dictionary for co-carousel (aria labels).
6
+ * Same strategy as lightboxI18n/dateI18n: ships es/en/pt keyed by the
7
+ * `locale` prop. Templates use `{i}` / `{n}` placeholders.
8
+ */
9
+ const DICT = {
10
+ es: {
11
+ prevSlide: 'Diapositiva anterior',
12
+ nextSlide: 'Diapositiva siguiente',
13
+ goToSlide: 'Ir a la diapositiva {i}',
14
+ pickSlide: 'Elegir diapositiva',
15
+ carouselLabel: 'Carrusel',
16
+ slideLabel: '{i} de {n}',
17
+ },
18
+ en: {
19
+ prevSlide: 'Previous slide',
20
+ nextSlide: 'Next slide',
21
+ goToSlide: 'Go to slide {i}',
22
+ pickSlide: 'Choose slide',
23
+ carouselLabel: 'Carousel',
24
+ slideLabel: '{i} of {n}',
25
+ },
26
+ pt: {
27
+ prevSlide: 'Slide anterior',
28
+ nextSlide: 'Próximo slide',
29
+ goToSlide: 'Ir para o slide {i}',
30
+ pickSlide: 'Escolher slide',
31
+ carouselLabel: 'Carrossel',
32
+ slideLabel: '{i} de {n}',
33
+ },
34
+ };
35
+ /** Resolve the built-in UI strings for a locale. */
36
+ function getCarouselStrings(locale) {
37
+ return DICT[langFromLocale(locale)];
38
+ }
39
+
40
+ const coCarouselCss = () => `:host{display:block;font-family:var(--co-font-family-primary);--co-carousel-arrow-size:36px;--co-carousel-arrow-bg:var(--co-semantic-surface-page);--co-carousel-arrow-color:var(--co-semantic-text-default);--co-carousel-dot-size:6px;--co-carousel-dot-color:var(--co-semantic-border-default);--co-carousel-dot-active-color:var(--co-semantic-text-default);--co-carousel-transition:320ms cubic-bezier(0.25, 0.8, 0.4, 1)}.co-carousel{position:relative;width:100%;outline:none}.co-carousel:focus-visible{outline:2px solid var(--co-semantic-border-focus-ring);outline-offset:2px;border-radius:var(--co-border-radius-sm)}.co-carousel--16-9{aspect-ratio:16 / 9}.co-carousel--4-3{aspect-ratio:4 / 3}.co-carousel--1-1{aspect-ratio:1 / 1}.co-carousel--21-9{aspect-ratio:21 / 9}.co-carousel--auto{aspect-ratio:unset}.co-carousel--16-9 .co-carousel__viewport,.co-carousel--4-3 .co-carousel__viewport,.co-carousel--1-1 .co-carousel__viewport,.co-carousel--21-9 .co-carousel__viewport{position:absolute;inset:0}.co-carousel__viewport{overflow:hidden;width:100%;height:100%;touch-action:pan-y}.co-carousel__track{display:flex;width:100%;height:100%;transition:transform var(--co-carousel-transition);will-change:transform}@media (prefers-reduced-motion: reduce){.co-carousel__track{transition:none}}.co-carousel__arrow{position:absolute;top:50%;transform:translateY(-50%);width:var(--co-carousel-arrow-size);height:var(--co-carousel-arrow-size);display:flex;align-items:center;justify-content:center;border:1px solid var(--co-semantic-border-subtle);border-radius:50%;background:var(--co-carousel-arrow-bg);color:var(--co-carousel-arrow-color);cursor:pointer;padding:0;opacity:0.9;transition:opacity 120ms ease, background 120ms ease;z-index:1}.co-carousel__arrow:hover{opacity:1;background:var(--co-semantic-surface-hover)}.co-carousel__arrow:focus-visible{outline:2px solid var(--co-semantic-border-focus-ring);outline-offset:1px}.co-carousel__arrow--prev{left:var(--co-spacing-sm, 8px)}.co-carousel__arrow--next{right:var(--co-spacing-sm, 8px)}.co-carousel__arrow--disabled{opacity:0.35;cursor:default;pointer-events:none}.co-carousel__dots{position:absolute;left:50%;bottom:var(--co-spacing-sm, 8px);transform:translateX(-50%);display:flex;gap:6px;padding:6px 10px;border-radius:var(--co-border-radius-xl);background:color-mix(in srgb, var(--co-semantic-surface-page) 65%, transparent);backdrop-filter:blur(4px);z-index:1}.co-carousel__dot{width:var(--co-carousel-dot-size);height:var(--co-carousel-dot-size);border-radius:50%;border:none;padding:0;background:var(--co-carousel-dot-color);cursor:pointer;transition:background 120ms ease, width 200ms ease}.co-carousel__dot--active{background:var(--co-carousel-dot-active-color);width:calc(var(--co-carousel-dot-size) * 2.6);border-radius:var(--co-border-radius-xl)}.co-carousel__dot:focus-visible{outline:2px solid var(--co-semantic-border-focus-ring);outline-offset:1px}`;
41
+
42
+ const CoCarousel = class {
43
+ constructor(hostRef) {
44
+ registerInstance(this, hostRef);
45
+ this.coSlideChange = createEvent(this, "coSlideChange", 7);
46
+ /** Active slide index */
47
+ this.value = 0;
48
+ /** Auto-advance slides */
49
+ this.autoplay = false;
50
+ /** Autoplay interval in milliseconds (floored at 1000) */
51
+ this.interval = 6000;
52
+ /** Wrap around at the ends */
53
+ this.loop = true;
54
+ /** Show prev/next arrows */
55
+ this.arrows = true;
56
+ /** Show dot indicators */
57
+ this.dots = true;
58
+ /** Pause autoplay while hovered */
59
+ this.pauseOnHover = true;
60
+ /** Enable pointer swipe navigation */
61
+ this.swipe = true;
62
+ /** Container aspect ratio */
63
+ this.aspectRatio = 'auto';
64
+ /** Language for aria labels (es/en/pt, accepts full locales) */
65
+ this.locale = 'es';
66
+ this.itemCount = 0;
67
+ this.dragDx = 0;
68
+ this.dragging = false;
69
+ /** True while the autoplay interval is actually running (drives aria-live). */
70
+ this.rotating = false;
71
+ this.hovering = false;
72
+ this.focusWithin = false;
73
+ this.reducedMotion = false;
74
+ this.pointerStartX = 0;
75
+ this.pointerStartY = 0;
76
+ this.pointerId = -1;
77
+ this.suppressClick = false;
78
+ this.handleSlotChange = () => {
79
+ // Vue renders slides async: re-count on every slot mutation.
80
+ this.refreshItems();
81
+ };
82
+ this.handleVisibilityChange = () => {
83
+ if (document.hidden) {
84
+ this.stopAutoplay();
85
+ }
86
+ else {
87
+ this.restartAutoplay();
88
+ }
89
+ };
90
+ this.handleMotionChange = (e) => {
91
+ this.reducedMotion = e.matches;
92
+ this.restartAutoplay();
93
+ };
94
+ this.handleMouseEnter = () => {
95
+ this.hovering = true;
96
+ if (this.pauseOnHover)
97
+ this.stopAutoplay();
98
+ };
99
+ this.handleMouseLeave = () => {
100
+ this.hovering = false;
101
+ this.restartAutoplay();
102
+ };
103
+ // Keyboard users get the same pause treatment as hover: rotation stops
104
+ // while focus is anywhere inside the carousel (focusin/focusout bubble,
105
+ // including from slotted light-DOM content).
106
+ this.handleFocusIn = () => {
107
+ this.focusWithin = true;
108
+ this.stopAutoplay();
109
+ };
110
+ this.handleFocusOut = (e) => {
111
+ if (e.relatedTarget && this.el.contains(e.relatedTarget))
112
+ return;
113
+ this.focusWithin = false;
114
+ this.restartAutoplay();
115
+ };
116
+ // ── Swipe (umbral de drag para no romper clicks de CTA) ──
117
+ this.handlePointerDown = (e) => {
118
+ // While a captured drag is in flight, a second touch must not hijack the
119
+ // gesture tracking (it would jump the track and swallow the active drag).
120
+ if (this.dragging)
121
+ return;
122
+ if (!this.swipe || this.itemCount <= 1 || (e.pointerType === 'mouse' && e.button !== 0))
123
+ return;
124
+ // New gesture starts clean: a stale flag from a swipe whose trailing click
125
+ // never fired must not poison this gesture's tap.
126
+ this.suppressClick = false;
127
+ this.pointerId = e.pointerId;
128
+ this.pointerStartX = e.clientX;
129
+ this.pointerStartY = e.clientY;
130
+ this.dragDx = 0;
131
+ };
132
+ this.handlePointerMove = (e) => {
133
+ var _a;
134
+ if (e.pointerId !== this.pointerId)
135
+ return;
136
+ const dx = e.clientX - this.pointerStartX;
137
+ const dy = e.clientY - this.pointerStartY;
138
+ if (!this.dragging) {
139
+ // Slop: ignore until clearly horizontal, so taps and vertical scroll win.
140
+ if (Math.abs(dx) < CoCarousel.DRAG_SLOP || Math.abs(dx) < Math.abs(dy))
141
+ return;
142
+ this.dragging = true;
143
+ (_a = this.viewportEl) === null || _a === void 0 ? void 0 : _a.setPointerCapture(e.pointerId);
144
+ }
145
+ this.dragDx = dx;
146
+ };
147
+ this.handlePointerUp = (e) => {
148
+ var _a;
149
+ if (e.pointerId !== this.pointerId)
150
+ return;
151
+ this.pointerId = -1;
152
+ if (!this.dragging)
153
+ return;
154
+ const dx = this.dragDx;
155
+ this.dragging = false;
156
+ this.dragDx = 0;
157
+ this.suppressClick = true;
158
+ (_a = this.viewportEl) === null || _a === void 0 ? void 0 : _a.releasePointerCapture(e.pointerId);
159
+ if (dx <= -CoCarousel.SWIPE_THRESHOLD) {
160
+ this.advance(1);
161
+ }
162
+ else if (dx >= CoCarousel.SWIPE_THRESHOLD) {
163
+ this.advance(-1);
164
+ }
165
+ this.restartAutoplay();
166
+ };
167
+ this.handlePointerCancel = (e) => {
168
+ if (e.pointerId !== this.pointerId)
169
+ return;
170
+ this.pointerId = -1;
171
+ this.dragging = false;
172
+ this.dragDx = 0;
173
+ this.suppressClick = false;
174
+ };
175
+ this.handleClickCapture = (e) => {
176
+ // Swallow the click that follows a drag so CTAs inside slides
177
+ // don't fire after a swipe.
178
+ if (this.suppressClick) {
179
+ this.suppressClick = false;
180
+ e.preventDefault();
181
+ e.stopPropagation();
182
+ }
183
+ };
184
+ // ── Keyboard ────────────────────────────────────
185
+ this.handleKeyDown = (e) => {
186
+ if (e.key === 'ArrowRight') {
187
+ e.preventDefault();
188
+ this.advance(1);
189
+ }
190
+ else if (e.key === 'ArrowLeft') {
191
+ e.preventDefault();
192
+ this.advance(-1);
193
+ }
194
+ };
195
+ }
196
+ // ── Lifecycle ───────────────────────────────────
197
+ componentWillLoad() {
198
+ var _a, _b;
199
+ if (typeof window !== 'undefined' && window.matchMedia) {
200
+ this.motionQuery = window.matchMedia('(prefers-reduced-motion: reduce)');
201
+ this.reducedMotion = this.motionQuery.matches;
202
+ (_b = (_a = this.motionQuery).addEventListener) === null || _b === void 0 ? void 0 : _b.call(_a, 'change', this.handleMotionChange);
203
+ }
204
+ }
205
+ componentDidLoad() {
206
+ this.refreshItems();
207
+ document.addEventListener('visibilitychange', this.handleVisibilityChange);
208
+ this.restartAutoplay();
209
+ }
210
+ disconnectedCallback() {
211
+ var _a, _b;
212
+ this.stopAutoplay();
213
+ document.removeEventListener('visibilitychange', this.handleVisibilityChange);
214
+ (_b = (_a = this.motionQuery) === null || _a === void 0 ? void 0 : _a.removeEventListener) === null || _b === void 0 ? void 0 : _b.call(_a, 'change', this.handleMotionChange);
215
+ }
216
+ // ── Watchers ────────────────────────────────────
217
+ watchValue() {
218
+ const clamped = this.clampIndex(this.value);
219
+ if (clamped !== this.value) {
220
+ this.value = clamped;
221
+ return;
222
+ }
223
+ this.syncItems();
224
+ }
225
+ watchLocale() {
226
+ this.syncItems();
227
+ }
228
+ watchAutoplay() {
229
+ this.restartAutoplay();
230
+ }
231
+ // ── Public methods ──────────────────────────────
232
+ async next() {
233
+ this.advance(1);
234
+ }
235
+ async prev() {
236
+ this.advance(-1);
237
+ }
238
+ async goTo(index) {
239
+ this.setActive(this.clampIndex(index));
240
+ }
241
+ // ── Items (light DOM, patrón co-tab-group) ─────
242
+ getItems() {
243
+ // :scope > : solo hijos directos — un carrusel anidado dentro de un slide
244
+ // no debe aportar sus items al conteo/aria del padre.
245
+ return Array.from(this.el.querySelectorAll(':scope > co-carousel-item'));
246
+ }
247
+ refreshItems() {
248
+ const items = this.getItems();
249
+ this.itemCount = items.length;
250
+ if (this.value > 0 && this.value >= this.itemCount) {
251
+ this.value = Math.max(0, this.itemCount - 1);
252
+ }
253
+ this.syncItems();
254
+ this.restartAutoplay();
255
+ }
256
+ syncItems() {
257
+ const items = this.getItems();
258
+ const n = items.length;
259
+ const s = getCarouselStrings(this.locale);
260
+ items.forEach((item, i) => {
261
+ const active = i === this.value;
262
+ item.setAttribute('aria-label', s.slideLabel.replace('{i}', String(i + 1)).replace('{n}', String(n)));
263
+ item.setAttribute('aria-hidden', active ? 'false' : 'true');
264
+ item.toggleAttribute('inert', !active);
265
+ });
266
+ }
267
+ // ── Navigation ──────────────────────────────────
268
+ clampIndex(i) {
269
+ if (this.itemCount === 0)
270
+ return 0;
271
+ return Math.max(0, Math.min(this.itemCount - 1, i));
272
+ }
273
+ setActive(index) {
274
+ if (index === this.value || index < 0 || index >= this.itemCount)
275
+ return;
276
+ this.value = index;
277
+ this.coSlideChange.emit(index);
278
+ }
279
+ advance(dir) {
280
+ if (this.itemCount <= 1)
281
+ return;
282
+ let next = this.value + dir;
283
+ if (next >= this.itemCount) {
284
+ if (!this.loop)
285
+ return;
286
+ next = 0;
287
+ }
288
+ else if (next < 0) {
289
+ if (!this.loop)
290
+ return;
291
+ next = this.itemCount - 1;
292
+ }
293
+ this.setActive(next);
294
+ }
295
+ // ── Autoplay ────────────────────────────────────
296
+ restartAutoplay() {
297
+ this.stopAutoplay();
298
+ if (!this.autoplay || this.itemCount <= 1 || this.reducedMotion)
299
+ return;
300
+ if (this.pauseOnHover && this.hovering)
301
+ return;
302
+ if (this.focusWithin)
303
+ return;
304
+ if (typeof document !== 'undefined' && document.hidden)
305
+ return;
306
+ this.timer = setInterval(() => {
307
+ if (this.dragging)
308
+ return;
309
+ if (!this.loop && this.value >= this.itemCount - 1) {
310
+ this.stopAutoplay();
311
+ return;
312
+ }
313
+ this.advance(1);
314
+ }, Math.max(1000, this.interval));
315
+ this.rotating = true;
316
+ }
317
+ stopAutoplay() {
318
+ if (this.timer) {
319
+ clearInterval(this.timer);
320
+ this.timer = undefined;
321
+ }
322
+ this.rotating = false;
323
+ }
324
+ // ── Render ──────────────────────────────────────
325
+ render() {
326
+ const s = getCarouselStrings(this.locale);
327
+ const multi = this.itemCount > 1;
328
+ const canPrev = this.loop || this.value > 0;
329
+ const canNext = this.loop || this.value < this.itemCount - 1;
330
+ const aspectClass = `co-carousel--${this.aspectRatio.replace(':', '-')}`;
331
+ const trackStyle = {
332
+ transform: this.dragging
333
+ ? `translateX(calc(${-this.value * 100}% + ${this.dragDx}px))`
334
+ : `translateX(${-this.value * 100}%)`,
335
+ };
336
+ if (this.dragging)
337
+ trackStyle.transition = 'none';
338
+ return (h(Host, { key: '29c8bdeb6a2c402aa46e6a1b3a442abbb8f9967c' }, h("div", { key: '5a57b4b999cdac0def308039ba0a4edcfba9adf5', class: { 'co-carousel': true, [aspectClass]: true }, part: "container", role: "region", "aria-roledescription": "carousel", "aria-label": s.carouselLabel, tabindex: 0, onKeyDown: this.handleKeyDown, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onFocusin: this.handleFocusIn, onFocusout: this.handleFocusOut }, h("div", { key: 'a20cec4e9d8144868ac4f53f72d536272def9119', class: "co-carousel__viewport", part: "viewport", ref: el => (this.viewportEl = el), onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerCancel, onClickCapture: this.handleClickCapture }, h("div", { key: '98755bee7cd2d8da45a8ffb2abcd048f0de440ad', class: "co-carousel__track", part: "track", style: trackStyle, "aria-live": this.rotating ? 'off' : 'polite' }, h("slot", { key: 'a3e9a2bffb93be5ebb60ba61130ab362f3793ccb', onSlotchange: this.handleSlotChange }))), this.arrows && multi && (h("button", { key: '516649b789c44ba235991f6fe3c6aab2a6a2fcf7', class: { 'co-carousel__arrow': true, 'co-carousel__arrow--prev': true, 'co-carousel__arrow--disabled': !canPrev }, part: "arrow-prev", type: "button", "aria-label": s.prevSlide, disabled: !canPrev, onClick: () => this.advance(-1) }, h("co-icon", { key: 'ffcddd1e02ce1d699052290e8df6ab2463b27a20', name: "caret-left", size: 18, weight: "bold" }))), this.arrows && multi && (h("button", { key: 'a7d6989b1c18d3598dc6c7c9e6606b2cf31fc026', class: { 'co-carousel__arrow': true, 'co-carousel__arrow--next': true, 'co-carousel__arrow--disabled': !canNext }, part: "arrow-next", type: "button", "aria-label": s.nextSlide, disabled: !canNext, onClick: () => this.advance(1) }, h("co-icon", { key: '9e26adf68047395cd0cb265cfeaba3b4af6b950e', name: "caret-right", size: 18, weight: "bold" }))), this.dots && multi && (
339
+ // APG grouped-carousel picker pattern: plain always-tabbable
340
+ // buttons in a labelled group (tablist/tab would demand
341
+ // aria-controls + roving tabindex we don't implement).
342
+ h("div", { key: 'd64ee6b57da49e5025c6f5a6faa3f58ba6855f49', class: "co-carousel__dots", part: "dots", role: "group", "aria-label": s.pickSlide }, Array.from({ length: this.itemCount }, (_, i) => (h("button", { class: { 'co-carousel__dot': true, 'co-carousel__dot--active': i === this.value }, part: "dot", type: "button", "aria-current": i === this.value ? 'true' : undefined, "aria-label": s.goToSlide.replace('{i}', String(i + 1)), onClick: () => this.setActive(i) }))))))));
343
+ }
344
+ get el() { return getElement(this); }
345
+ static get watchers() { return {
346
+ "value": [{
347
+ "watchValue": 0
348
+ }],
349
+ "locale": [{
350
+ "watchLocale": 0
351
+ }],
352
+ "autoplay": [{
353
+ "watchAutoplay": 0
354
+ }],
355
+ "interval": [{
356
+ "watchAutoplay": 0
357
+ }]
358
+ }; }
359
+ };
360
+ /** Minimum horizontal travel (px) before a pointer gesture counts as a drag. */
361
+ CoCarousel.DRAG_SLOP = 8;
362
+ /** Horizontal travel (px) needed to change slide on release. */
363
+ CoCarousel.SWIPE_THRESHOLD = 40;
364
+ CoCarousel.style = coCarouselCss();
365
+
366
+ export { CoCarousel as co_carousel };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-tT-aZV0-.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-BCEz3S-z.js';
2
2
 
3
3
  const coCheckboxGroupCss = () => `:host{display:block;font-family:var(--co-font-family-primary);font-size:var(--co-font-size-14);letter-spacing:var(--co-font-letter-spacing-body);line-height:1}.co-checkbox-group{display:flex;flex-direction:column;gap:var(--co-spacing-sm2)}.co-checkbox-group__labels{display:flex;align-items:center;justify-content:space-between;padding:0 var(--co-spacing-xs);gap:var(--co-spacing-sm2)}.co-checkbox-group__label{color:var(--co-semantic-text-secondary);font-size:var(--co-font-size-14);font-weight:400;line-height:1;white-space:nowrap;cursor:default}.co-checkbox-group__secondary-label{color:var(--co-semantic-text-muted);font-size:var(--co-font-size-14);font-weight:400;line-height:1;white-space:nowrap;text-align:right}.co-checkbox-group--disabled .co-checkbox-group__label,.co-checkbox-group--disabled .co-checkbox-group__secondary-label{color:var(--co-semantic-text-disabled)}.co-checkbox-group__options{display:flex;gap:var(--co-spacing-md)}.co-checkbox-group__options--column{flex-direction:column;gap:var(--co-spacing-sm2)}.co-checkbox-group__options--row{flex-direction:row;flex-wrap:wrap;gap:var(--co-spacing-md)}.co-checkbox-group__item{display:flex;align-items:center;gap:var(--co-spacing-sm2);cursor:pointer;user-select:none}.co-checkbox-group__item--disabled{cursor:not-allowed}.co-checkbox-group__option-label{color:var(--co-semantic-text-secondary);font-size:var(--co-font-size-14);font-weight:400;line-height:1;white-space:nowrap}.co-checkbox-group__item--disabled .co-checkbox-group__option-label{color:var(--co-semantic-text-disabled)}.co-checkbox-group__box{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;box-sizing:border-box;transition:background 0.15s ease, border-color 0.15s ease;overflow:hidden}.co-checkbox-group__box--small{width:16px;height:16px;border-radius:var(--co-border-radius-xxs)}.co-checkbox-group__box--large{width:24px;height:24px;border-radius:var(--co-spacing-sm)}.co-checkbox-group__box:not(.co-checkbox-group__box--checked){background:color-mix(in srgb, var(--co-semantic-surface-secondary) 35%, transparent);-webkit-backdrop-filter:blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));backdrop-filter:blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));border:1px solid var(--co-semantic-border-subtle)}.co-checkbox-group__box--checked{background:var(--co-semantic-surface-primary);border:none}.co-checkbox-group__box--checked::after{content:'';display:block;box-sizing:border-box;border-style:solid;border-color:var(--co-semantic-on-primary);border-width:0 0 1.5px 1.5px;transform:rotate(-45deg) translateY(-15%)}.co-checkbox-group__box--small.co-checkbox-group__box--checked::after{width:7px;height:4px}.co-checkbox-group__box--large.co-checkbox-group__box--checked::after{width:10px;height:6px}.co-checkbox-group__box--disabled{opacity:0.4;cursor:not-allowed;pointer-events:none}.co-checkbox-group--error .co-checkbox-group__box:not(.co-checkbox-group__box--checked){border-color:var(--co-semantic-status-error)}.co-checkbox-group__helper{display:flex;align-items:center;gap:var(--co-spacing-xs);padding:0 var(--co-spacing-xs)}.co-checkbox-group__helper-icon{flex-shrink:0;display:flex;align-items:center}.co-checkbox-group__helper-text{color:var(--co-semantic-text-muted);font-size:var(--co-font-size-14);font-weight:400;line-height:1}.co-checkbox-group__helper--error .co-checkbox-group__helper-icon,.co-checkbox-group__helper--error .co-checkbox-group__helper-text{color:var(--co-semantic-status-error)}.co-checkbox-group__helper--success .co-checkbox-group__helper-icon,.co-checkbox-group__helper--success .co-checkbox-group__helper-text{color:var(--co-semantic-status-success)}.co-checkbox-group__helper--warning .co-checkbox-group__helper-icon,.co-checkbox-group__helper--warning .co-checkbox-group__helper-text{color:var(--co-color-status-review)}.co-checkbox-group__helper--info .co-checkbox-group__helper-icon,.co-checkbox-group__helper--info .co-checkbox-group__helper-text{color:var(--co-semantic-status-info)}:host([layout='horizontal']) .co-checkbox-group{display:grid;grid-template-columns:var(--co-field-label-width, max-content) 1fr;align-items:start;column-gap:var(--co-spacing-md);row-gap:var(--co-spacing-sm2)}:host([layout='horizontal']) .co-checkbox-group__labels{grid-column:1;grid-row:1;padding-top:0;min-width:0}:host([layout='horizontal']) .co-checkbox-group__label{white-space:normal}:host([layout='horizontal']) .co-checkbox-group>:not(.co-checkbox-group__labels){grid-column:2;min-width:0}@supports not (background: color-mix(in srgb, red, transparent)){.co-checkbox-group__box:not(.co-checkbox-group__box--checked){background:transparent}}`;
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-tT-aZV0-.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-BCEz3S-z.js';
2
2
 
3
3
  const coCheckboxCss = () => `:host{display:inline-flex;font-family:var(--co-font-family-primary);font-size:var(--co-font-size-14);letter-spacing:var(--co-font-letter-spacing-body);line-height:1}.co-checkbox-row{display:flex;align-items:center;gap:var(--co-spacing-sm2);cursor:pointer}.co-checkbox-row--disabled{cursor:not-allowed}.co-checkbox__label{color:var(--co-semantic-text-secondary);font-size:var(--co-font-size-14);font-weight:400;line-height:1;white-space:nowrap;user-select:none}.co-checkbox-row--disabled .co-checkbox__label{color:var(--co-semantic-text-disabled)}.co-checkbox{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:none;outline:none;padding:0;overflow:hidden;flex-shrink:0;box-sizing:border-box;transition:background 0.15s ease, border-color 0.15s ease}.co-checkbox--small{width:16px;height:16px;border-radius:var(--co-border-radius-xxs);}.co-checkbox--medium{width:20px;height:20px;border-radius:var(--co-spacing-sm);}.co-checkbox--large{width:24px;height:24px;border-radius:var(--co-spacing-sm);}.co-checkbox:not(.co-checkbox--checked){background:color-mix(in srgb, var(--co-semantic-surface-secondary) 35%, transparent);-webkit-backdrop-filter:blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));backdrop-filter:blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));border:1px solid var(--co-semantic-border-subtle)}.co-checkbox--checked{background:var(--co-semantic-surface-primary);border:none}.co-checkbox--checked::after{content:'';display:block;box-sizing:border-box;border-style:solid;border-color:var(--co-semantic-on-primary);border-width:0 0 1.5px 1.5px;transform:rotate(-45deg) translateY(-15%)}.co-checkbox--small.co-checkbox--checked::after{width:7px;height:4px}.co-checkbox--medium.co-checkbox--checked::after{width:8px;height:5px}.co-checkbox--large.co-checkbox--checked::after{width:10px;height:6px}.co-checkbox--indeterminate{background:var(--co-semantic-surface-primary);border:none}.co-checkbox--indeterminate::after{content:'';display:block;background:var(--co-semantic-on-primary);border-radius:1px}.co-checkbox--small.co-checkbox--indeterminate::after{width:8px;height:1.5px}.co-checkbox--medium.co-checkbox--indeterminate::after{width:10px;height:1.75px}.co-checkbox--large.co-checkbox--indeterminate::after{width:12px;height:2px}.co-checkbox--disabled{opacity:0.4;cursor:not-allowed;pointer-events:none}.co-checkbox--overlay{border-radius:6px}.co-checkbox--overlay.co-checkbox--small{width:20px;height:20px;border-radius:6px}.co-checkbox--overlay.co-checkbox--medium,.co-checkbox--overlay.co-checkbox--large{width:22px;height:22px;border-radius:6px}.co-checkbox--overlay:not(.co-checkbox--checked):not(.co-checkbox--indeterminate){background:rgba(255, 255, 255, 0.9);box-shadow:inset 0 0 0 1px var(--co-color-opacity-negro-16, rgba(31, 28, 27, 0.16));border:none}.co-checkbox--overlay.co-checkbox--checked,.co-checkbox--overlay.co-checkbox--indeterminate{background:var(--co-color-primary-azul, #2563eb);border:none;box-shadow:none}.co-checkbox--overlay.co-checkbox--checked::after,.co-checkbox--overlay.co-checkbox--indeterminate::after{content:none}.co-checkbox__glyph{display:block;width:100%;height:100%;pointer-events:none}@supports not (background: color-mix(in srgb, red, transparent)){.co-checkbox:not(.co-checkbox--checked){background:transparent}}`;
4
4
 
@@ -42,17 +42,17 @@ const CoCheckbox = class {
42
42
  // Only override the fill when a custom color is provided AND the box is "on".
43
43
  // Leaving this undefined keeps the default appearance byte-identical to before.
44
44
  const boxStyle = this.onColor && isOn ? { background: this.onColor } : undefined;
45
- return (h("div", { key: 'b52aa4d0412e9ab8b170f11d7a323bbbc80057e5', class: {
45
+ return (h("div", { key: '7d7318c97238d5784bc5e97b4d062324567f4298', class: {
46
46
  'co-checkbox-row': true,
47
47
  'co-checkbox-row--disabled': this.disabled,
48
- }, onClick: this.handleClick }, h("span", { key: 'd3a1caff03ad0358ea005bcb88a8ad607e9d3d24', role: "checkbox", "aria-checked": this.indeterminate ? 'mixed' : String(this.checked), "aria-label": this.label || '', class: {
48
+ }, onClick: this.handleClick }, h("span", { key: '6a9eb80dd31b3fdcbad3fd5375c24a7039d7ed91', role: "checkbox", "aria-checked": this.indeterminate ? 'mixed' : String(this.checked), "aria-label": this.label || '', class: {
49
49
  'co-checkbox': true,
50
50
  [`co-checkbox--${this.size}`]: true,
51
51
  'co-checkbox--overlay': isOverlay,
52
52
  'co-checkbox--checked': this.checked && !this.indeterminate,
53
53
  'co-checkbox--indeterminate': this.indeterminate,
54
54
  'co-checkbox--disabled': this.disabled,
55
- }, style: boxStyle, part: "box" }, isOverlay && this.indeterminate && (h("svg", { key: 'e6783c1035b4c9f8bb529b4a8f7efc75d9bb093a', class: "co-checkbox__glyph", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: '19c92d5cd4cbda22338c1a675cabf444e5f58bfc', d: "M3 8h10", stroke: "#fff", "stroke-width": "2.2", "stroke-linecap": "round" }))), isOverlay && this.checked && !this.indeterminate && (h("svg", { key: 'b84d28ddb24652658b0afc88bafce1a3ae7a83c6', class: "co-checkbox__glyph", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: 'b5e21ca2634667abca82f16d30a6952ab8ccbc88', d: "M3.5 8.5l3 3 6-6.5", stroke: "#fff", "stroke-width": "2.2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.label && (h("span", { key: 'f311bec251f6fd375d81dcd06cafdb380d6206f0', class: "co-checkbox__label", part: "label" }, this.label))));
55
+ }, style: boxStyle, part: "box" }, isOverlay && this.indeterminate && (h("svg", { key: 'ea2fc2c66f3fdf9a385d30fe1c15a50196d61502', class: "co-checkbox__glyph", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: '9a0c46128e14f5e62e956f51d292f8d59aa23bee', d: "M3 8h10", stroke: "#fff", "stroke-width": "2.2", "stroke-linecap": "round" }))), isOverlay && this.checked && !this.indeterminate && (h("svg", { key: '5898d1b96e97a2ba71bd80ef4ee9446a1250e88e', class: "co-checkbox__glyph", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: '9dcac76996e654417555489e7d2c1467848ca242', d: "M3.5 8.5l3 3 6-6.5", stroke: "#fff", "stroke-width": "2.2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), this.label && (h("span", { key: '3833a6596021f89ac26cd5201911d8fa4ca2f19a', class: "co-checkbox__label", part: "label" }, this.label))));
56
56
  }
57
57
  };
58
58
  CoCheckbox.style = coCheckboxCss();
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as getElement } from './index-tT-aZV0-.js';
1
+ import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BCEz3S-z.js';
2
2
  import { h as highlightMatch } from './normalizeText-CQY6Ul7q.js';
3
3
  import { i as initOverlayScroll } from './overlayScroll-Bpv882_z.js';
4
4
  import './overlayscrollbars-ox7HzCZn.js';
@@ -74,7 +74,7 @@ const CoChip = class {
74
74
  else
75
75
  effectiveIconMode = 'none';
76
76
  const Tag = this.clickable ? 'button' : 'div';
77
- return (h(Tag, { key: '3210b69426aa37cc7e1f9cc7d7a9add9fd0dd93b', class: {
77
+ return (h(Tag, { key: '05440263b3d6ba10c01b5c85e345dcaa121e3237', class: {
78
78
  'co-chip': true,
79
79
  [`co-chip--${this.shape}`]: true,
80
80
  [`co-chip--${this.size}`]: true,
@@ -84,7 +84,7 @@ const CoChip = class {
84
84
  'co-chip--clickable': this.clickable,
85
85
  'co-chip--disabled': this.disabled,
86
86
  'co-chip--selected': this.selected,
87
- }, part: "chip", type: this.clickable ? 'button' : undefined, disabled: this.clickable ? this.disabled : undefined, onClick: this.handleClick }, this.dot && (h("span", { key: '105306abb8267ebec6a4241b85be844ce9e0fe9e', class: "co-chip__dot", part: "dot", style: this.dotColor ? { color: this.dotColor } : undefined }, h("co-icon", { key: 'a6e6bbf79ec321916bae16fea448b63f22109bd0', name: "circle", size: iconSize, weight: "fill" }))), this.iconLeft && !hasLeftSlot && (h("span", { key: '6ddd3f25eca0380831c10fce157aa042d5195da5', class: "co-chip__icon-left", part: "icon-left" }, h("co-icon", { key: 'd331947abb472bede535a794dfae052a021d06b1', name: this.iconLeft, size: iconSize, weight: this.iconWeight }))), hasLeftSlot && (h("span", { key: 'ddf803655d633a17901ecab726739ad69ae03d5c', class: "co-chip__icon-left", part: "icon-left" }, h("slot", { key: '4602a3f28aa74f31bd7a5124b9ef1a1337f4d960', name: "icon-left" }))), h("span", { key: 'aebc08bb058e32d13ef3c962e1cf23cfdbc3baf5', class: "co-chip__label" }, h("slot", { key: 'be0e8625634f0b4a9da70944e32bb7d2c80c3a00' }, this.label), this.valueLabel != null && this.valueLabel !== '' && (h("span", { key: '11634b783e3a482fe161781658fd22d0ec015265', class: "co-chip__value", part: "value" }, `: ${this.valueLabel}`))), this.iconRight && !hasRightSlot && !this.removable && (h("span", { key: '49837e189f540874558c337bce19a983a5bd77f2', class: "co-chip__icon-right", part: "icon-right" }, h("co-icon", { key: '6510c33b909da03ef0e6ee59fb52b5c12a5faa86', name: this.iconRight, size: iconSize, weight: this.iconWeight }))), hasRightSlot && (h("span", { key: '9c6e6ccea304803daaecf447a5651d5e8a67cc07', class: "co-chip__icon-right", part: "icon-right" }, h("slot", { key: '3bdd7c888bba838894b88a41039df45af8f7547c', name: "icon-right" }))), this.removable && (h("span", { key: 'a4d45167d0c3fc237692371a131af5a76840a89a', class: "co-chip__remove", part: "remove", role: "button", tabIndex: this.disabled ? -1 : 0, onClick: this.handleRemove, "aria-label": "Remove" }, h("co-icon", { key: 'ce146e623ce90a936c54a8bfad349b7ea04691fa', name: "x-circle", size: removeIconSize, weight: "fill" }))), this.trailingIcon && (h("span", { key: 'fe01795e08be25909f530d6da4f57cb38b6f8a8e', class: "co-chip__trailing", part: "trailing" }, h("co-icon", { key: '2d8c0bba14a8fa9128c9f9673d9d295f191f1e5c', name: this.trailingIcon, size: trailingIconSize, weight: this.iconWeight })))));
87
+ }, part: "chip", type: this.clickable ? 'button' : undefined, disabled: this.clickable ? this.disabled : undefined, onClick: this.handleClick }, this.dot && (h("span", { key: 'd71d63015f9a594587f146cc041032381b22d369', class: "co-chip__dot", part: "dot", style: this.dotColor ? { color: this.dotColor } : undefined }, h("co-icon", { key: 'fbf6114ccdbac2b6f7cce84d98b5d695a141bcd1', name: "circle", size: iconSize, weight: "fill" }))), this.iconLeft && !hasLeftSlot && (h("span", { key: 'db9984dcec5a53b9ddbd3d535031b46e25477b83', class: "co-chip__icon-left", part: "icon-left" }, h("co-icon", { key: 'cd745b03f23e86da95bc0eba975ebc3764b9661c', name: this.iconLeft, size: iconSize, weight: this.iconWeight }))), hasLeftSlot && (h("span", { key: '696a9b35c06a12b107cff95192e01584e167f147', class: "co-chip__icon-left", part: "icon-left" }, h("slot", { key: 'c485bf176b6f45ad04de0ce40e76c3fee9810a44', name: "icon-left" }))), h("span", { key: '30f93d2f29ced9dc817619f9b83c7e12e69c6664', class: "co-chip__label" }, h("slot", { key: '3e103e98d2557ac3fa9eb130a1ddac431c2005d3' }, this.label), this.valueLabel != null && this.valueLabel !== '' && (h("span", { key: '65bd6af3007737372daef2afe379820ccc8addef', class: "co-chip__value", part: "value" }, `: ${this.valueLabel}`))), this.iconRight && !hasRightSlot && !this.removable && (h("span", { key: 'acac0c84b83a53ad1fb9b22143ae2f31701ac226', class: "co-chip__icon-right", part: "icon-right" }, h("co-icon", { key: '60ad2e85d2c5658b3c4be23709c9aca6578fc4ac', name: this.iconRight, size: iconSize, weight: this.iconWeight }))), hasRightSlot && (h("span", { key: '020918e258d6d24b1a7d9f40dc8b90f31ce85690', class: "co-chip__icon-right", part: "icon-right" }, h("slot", { key: '1fdd279b5f3c8b24c8a6668441e09b6c3e90f900', name: "icon-right" }))), this.removable && (h("span", { key: '46bc990ba24fcf03ae0eb8f32797908c728ccddd', class: "co-chip__remove", part: "remove", role: "button", tabIndex: this.disabled ? -1 : 0, onClick: this.handleRemove, "aria-label": "Remove" }, h("co-icon", { key: 'f18f1110893d39b013bb4d8f4bea117f107a8509', name: "x-circle", size: removeIconSize, weight: "fill" }))), this.trailingIcon && (h("span", { key: '08ec959ca465adf3ac138336c7511293874bf540', class: "co-chip__trailing", part: "trailing" }, h("co-icon", { key: 'cd706e153280db4f0a4aa039e569d4cc123b8348', name: this.trailingIcon, size: trailingIconSize, weight: this.iconWeight })))));
88
88
  }
89
89
  };
90
90
  CoChip.style = coChipCss();
@@ -464,11 +464,11 @@ const CoOptionList = class {
464
464
  const selectedIds = this.selectedIds;
465
465
  const { hasMore, remaining } = deriveMore(this.parsedItems.length, this.total, this.hasMore);
466
466
  const showClear = !!this.clearOptionLabel && selectedIds.length > 0;
467
- return (h("div", { key: 'f6262519bd90bb9a419daeb9a1386147396a79ff', class: "co-option-list", onKeyDown: this.onRootKeyDown }, this.searchable && (h("div", { key: '081a2cfee9a8a903c6bd2a2f0bd06cbac635c021', class: "co-option-list__search", part: "search" }, h("co-icon", { key: 'a001c71f5de00288907cde1e123f8d393e052a9e', name: "magnifying-glass", size: 16 }), h("input", { key: '355520b7d77077e02666fcd5012f36c648eaeacf', class: "co-option-list__search-input", type: "text", placeholder: this.searchPlaceholder, value: this.term, onInput: this.onSearchInput, ref: (el) => (this.searchInputEl = el), role: "combobox", "aria-expanded": "true", "aria-autocomplete": "list" }))), h("div", { key: '833708f614d3f561ba45bf1656f4bcfa6701b8ce', class: "co-option-list__options", part: "options", role: "listbox", "aria-multiselectable": this.multiple ? 'true' : 'false', ref: (el) => (this.optionsEl = el), onScroll: this.onNativeScroll }, h("div", { key: '10da99a56133af0748f43c20af62e03e975aebcd', class: "co-option-list__inner" }, showClear && (h("button", { key: '208bc13eb8e89c88657022fbc174bb22ffe9e1c4', class: "co-option-list__clear-row", type: "button", onClick: () => this.coClearSelection.emit() }, h("co-icon", { key: '8c6d29e405a12e53bd3ab9f1662c7237bcae0617', name: "x-circle", size: 14 }), h("span", { key: 'd7e11cc7753c8dd63ae6a556bf5368c01ea1fc2a' }, this.clearOptionLabel))), this.loading && items.length === 0 && (h("div", { key: 'dec374969fe6b401a95d60d101cc625c181f3e72', class: "co-option-list__loading" }, h("co-loader", { key: 'c1547fc0f49911f2f8ab8b85063bf15af6500314', size: "sm" }))), !this.loading && items.length === 0 && (h("div", { key: '1e0692572f89d4f9507f1e4b8c4ef90f9f8d307c', class: "co-option-list__empty" }, h("co-icon", { key: 'ff979119305afdd7b2180336c203ff33adc3c463', name: "magnifying-glass", size: 20 }), h("span", { key: '9d460743d6edf7734012d75cabb0f488b67d20cf' }, this.emptyMessage))), items.length > 0 && this.virtual
467
+ return (h("div", { key: '8e4a0e5e6b0831d1413fccc5d58f5548e756ca90', class: "co-option-list", onKeyDown: this.onRootKeyDown }, this.searchable && (h("div", { key: '91658cdefff07570ae339a7e4c785493c200b690', class: "co-option-list__search", part: "search" }, h("co-icon", { key: '28900e1543e8cd50d7e789de2f6d8815eafd1fb7', name: "magnifying-glass", size: 16 }), h("input", { key: '3455b4f3d4e54b81291b997bceb64d95ef1be105', class: "co-option-list__search-input", type: "text", placeholder: this.searchPlaceholder, value: this.term, onInput: this.onSearchInput, ref: (el) => (this.searchInputEl = el), role: "combobox", "aria-expanded": "true", "aria-autocomplete": "list" }))), h("div", { key: '32f315ed929802532c1a050d6e42aaa4150a2d11', class: "co-option-list__options", part: "options", role: "listbox", "aria-multiselectable": this.multiple ? 'true' : 'false', ref: (el) => (this.optionsEl = el), onScroll: this.onNativeScroll }, h("div", { key: '374a2383399a56d90afcb048f5e6343d4f9275d7', class: "co-option-list__inner" }, showClear && (h("button", { key: 'be34ee751a34147660e8bc7846b12d8ab1f937d4', class: "co-option-list__clear-row", type: "button", onClick: () => this.coClearSelection.emit() }, h("co-icon", { key: 'c3c70f93b6d4ce7c0774b4c5ff1ebd7f2549dd93', name: "x-circle", size: 14 }), h("span", { key: 'a9970acd4f67dc84afd4d7f10317d4e35f0feebf' }, this.clearOptionLabel))), this.loading && items.length === 0 && (h("div", { key: '6b1bb04068d2832bd71f0d9b9b9205662a3184f2', class: "co-option-list__loading" }, h("co-loader", { key: '1de716e5fac313dbc10a9aeed2dd8f61e491f020', size: "sm" }))), !this.loading && items.length === 0 && (h("div", { key: '29f51655d034fcd1b5aac08df9537fb176090ce7', class: "co-option-list__empty" }, h("co-icon", { key: 'c7c51260cfe80d82ae75ae0a3510560f5258a3ad', name: "magnifying-glass", size: 20 }), h("span", { key: 'af1c571186f203f2a128b4a7f2d26e5171bf7951' }, this.emptyMessage))), items.length > 0 && this.virtual
468
468
  ? this.renderVirtual(items, selectedIds)
469
469
  : buildRows(items).map((row) => row.kind === 'header'
470
470
  ? h("div", { class: "co-option-list__group", role: "presentation" }, row.label)
471
- : this.renderRow(row.item, row.index, selectedIds)), this.loading && items.length > 0 && (h("div", { key: 'f9c506fddfba9d360a7dd4b2d4ed4142aaa179c5', class: "co-option-list__loading-more" }, h("co-loader", { key: '587d93ebd03eb3764e5637c748975c925d1bd59f', size: "sm" }))), !this.loading && hasMore && remaining > 0 && (h("div", { key: 'cef0c72b2aa1f246404001bae6c8ee4ea560ee07', class: "co-option-list__more" }, remaining, " more results")))), h("slot", { key: '646b6421fb03008d55e5361e14f12d05db08e299', name: "footer" })));
471
+ : this.renderRow(row.item, row.index, selectedIds)), this.loading && items.length > 0 && (h("div", { key: '0322e0c734d57f0fdc80ace2753276b2bc2a33ad', class: "co-option-list__loading-more" }, h("co-loader", { key: 'e305edb2317d433b27e581a97f35e99083306bff', size: "sm" }))), !this.loading && hasMore && remaining > 0 && (h("div", { key: '31d25badb8cbefa515eaedd1a849b943274a2f9d', class: "co-option-list__more" }, remaining, " more results")))), h("slot", { key: '2df4d5c4c55db9647b378eb9d09c828a76e563f1', name: "footer" })));
472
472
  }
473
473
  get el() { return getElement(this); }
474
474
  static get watchers() { return {