@prolibu-suite/cobalt-core 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (443) hide show
  1. package/custom-elements.json +179 -10
  2. package/dist/cjs/co-accordion.cjs.entry.js +2 -2
  3. package/dist/cjs/co-action-bar.cjs.entry.js +2 -2
  4. package/dist/cjs/co-app-shell.cjs.entry.js +2 -2
  5. package/dist/cjs/co-audio-player.cjs.entry.js +3 -3
  6. package/dist/cjs/co-autocomplete.cjs.entry.js +1 -1
  7. package/dist/cjs/co-avatar_2.cjs.entry.js +2 -2
  8. package/dist/cjs/co-badge.cjs.entry.js +1 -1
  9. package/dist/cjs/co-bottom-sheet.cjs.entry.js +3 -3
  10. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +2 -2
  11. package/dist/cjs/co-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/co-button-group.cjs.entry.js +2 -2
  13. package/dist/cjs/co-button.cjs.entry.js +2 -2
  14. package/dist/cjs/co-calendar-month_2.cjs.entry.js +3 -3
  15. package/dist/cjs/co-calendar_3.cjs.entry.js +5 -5
  16. package/dist/cjs/co-card.cjs.entry.js +2 -2
  17. package/dist/cjs/co-carousel-item.cjs.entry.js +1 -1
  18. package/dist/cjs/co-carousel.cjs.entry.js +2 -2
  19. package/dist/cjs/co-checkbox.cjs.entry.js +3 -3
  20. package/dist/cjs/co-chip_2.cjs.entry.js +11 -11
  21. package/dist/cjs/co-color-picker.cjs.entry.js +2 -2
  22. package/dist/cjs/co-column-picker.cjs.entry.js +2 -2
  23. package/dist/cjs/co-combobox.cjs.entry.js +1 -1
  24. package/dist/cjs/co-data-table-pagination.cjs.entry.js +4 -4
  25. package/dist/cjs/co-data-table.cjs.entry.js +127 -8
  26. package/dist/cjs/co-date-range.cjs.entry.js +1 -1
  27. package/dist/cjs/co-date-time-picker.cjs.entry.js +2 -2
  28. package/dist/cjs/co-drive-card.cjs.entry.js +1 -1
  29. package/dist/cjs/co-drop-zone.cjs.entry.js +1 -1
  30. package/dist/cjs/co-empty-state.cjs.entry.js +2 -2
  31. package/dist/cjs/co-event-calendar.cjs.entry.js +2 -2
  32. package/dist/cjs/co-event-popover.cjs.entry.js +1 -1
  33. package/dist/cjs/co-fab.cjs.entry.js +3 -3
  34. package/dist/cjs/co-file-field.cjs.entry.js +5 -5
  35. package/dist/cjs/co-file-type-tile.cjs.entry.js +2 -2
  36. package/dist/cjs/co-helper-text.cjs.entry.js +2 -2
  37. package/dist/cjs/co-icon-button.cjs.entry.js +1 -1
  38. package/dist/cjs/co-icon.cjs.entry.js +2 -2
  39. package/dist/cjs/co-json-field.cjs.entry.js +3 -3
  40. package/dist/cjs/co-lightbox.cjs.entry.js +4 -4
  41. package/dist/cjs/co-list-footer.cjs.entry.js +1 -1
  42. package/dist/cjs/co-list-item.cjs.entry.js +4 -4
  43. package/dist/cjs/co-media-thumb.cjs.entry.js +2 -2
  44. package/dist/cjs/co-menu-divider.cjs.entry.js +1 -1
  45. package/dist/cjs/co-menu.cjs.entry.js +1 -1
  46. package/dist/cjs/co-modal.cjs.entry.js +2 -2
  47. package/dist/cjs/co-navbar.cjs.entry.js +2 -2
  48. package/dist/cjs/co-number-field.cjs.entry.js +2 -2
  49. package/dist/cjs/co-overlay.cjs.entry.js +1 -1
  50. package/dist/cjs/co-page-header.cjs.entry.js +1 -1
  51. package/dist/cjs/co-phone-field.cjs.entry.js +1 -1
  52. package/dist/cjs/co-popover.cjs.entry.js +49 -3
  53. package/dist/cjs/co-progress-bar.cjs.entry.js +2 -2
  54. package/dist/cjs/co-progress-circle.cjs.entry.js +2 -2
  55. package/dist/cjs/co-provider-logo_2.cjs.entry.js +1 -1
  56. package/dist/cjs/co-radio.cjs.entry.js +3 -3
  57. package/dist/cjs/co-rating.cjs.entry.js +3 -3
  58. package/dist/cjs/co-ref-field.cjs.entry.js +13 -4
  59. package/dist/cjs/co-rich-text-editor.cjs.entry.js +3 -3
  60. package/dist/cjs/co-row.cjs.entry.js +2 -2
  61. package/dist/cjs/co-select.cjs.entry.js +13 -4
  62. package/dist/cjs/co-separator.cjs.entry.js +1 -1
  63. package/dist/cjs/co-sidebar-nav.cjs.entry.js +2 -2
  64. package/dist/cjs/co-sidebar.cjs.entry.js +2 -2
  65. package/dist/cjs/co-slider.cjs.entry.js +2 -2
  66. package/dist/cjs/co-switch.cjs.entry.js +3 -3
  67. package/dist/cjs/co-tab-group.cjs.entry.js +2 -2
  68. package/dist/cjs/co-tab.cjs.entry.js +2 -2
  69. package/dist/cjs/co-tags-field.cjs.entry.js +5 -5
  70. package/dist/cjs/co-textarea.cjs.entry.js +4 -4
  71. package/dist/cjs/co-toast.cjs.entry.js +2 -2
  72. package/dist/cjs/co-toggle-button-group.cjs.entry.js +2 -2
  73. package/dist/cjs/co-toggle-button.cjs.entry.js +2 -2
  74. package/dist/cjs/co-transfer-list.cjs.entry.js +2 -2
  75. package/dist/cjs/co-video.cjs.entry.js +2 -2
  76. package/dist/cjs/cobalt.cjs.js +1 -1
  77. package/dist/cjs/index-DK-2Lzmf.js +12 -12
  78. package/dist/cjs/loader.cjs.js +1 -1
  79. package/dist/cobalt/cobalt.esm.js +1 -1
  80. package/dist/cobalt/{p-142506d9.entry.js → p-02ac492f.entry.js} +1 -1
  81. package/dist/cobalt/p-02f4b71a.entry.js +1 -0
  82. package/dist/cobalt/{p-24e93fcb.entry.js → p-07d570a6.entry.js} +1 -1
  83. package/dist/cobalt/{p-b9ac1f25.entry.js → p-136440fc.entry.js} +1 -1
  84. package/dist/cobalt/{p-7ec85887.entry.js → p-138b8bc1.entry.js} +1 -1
  85. package/dist/cobalt/{p-724b9b54.entry.js → p-17ae943c.entry.js} +1 -1
  86. package/dist/cobalt/{p-43b1f8fb.entry.js → p-2637efc5.entry.js} +1 -1
  87. package/dist/cobalt/{p-9fe9e2fe.entry.js → p-2c0099a4.entry.js} +1 -1
  88. package/dist/cobalt/{p-baeb5d55.entry.js → p-2d329ac8.entry.js} +1 -1
  89. package/dist/cobalt/{p-417ce874.entry.js → p-2d81b292.entry.js} +1 -1
  90. package/dist/cobalt/{p-e7e34852.entry.js → p-2f778a5a.entry.js} +1 -1
  91. package/dist/cobalt/{p-7521ec0c.entry.js → p-315586b0.entry.js} +1 -1
  92. package/dist/cobalt/{p-b64b0a07.entry.js → p-316c62c0.entry.js} +1 -1
  93. package/dist/cobalt/{p-8a93beb0.entry.js → p-342e1da4.entry.js} +1 -1
  94. package/dist/cobalt/{p-76dff399.entry.js → p-37c17bd8.entry.js} +1 -1
  95. package/dist/cobalt/{p-d21da71a.entry.js → p-3a229bba.entry.js} +1 -1
  96. package/dist/cobalt/{p-a530bec2.entry.js → p-3d338881.entry.js} +1 -1
  97. package/dist/cobalt/{p-a45e2c00.entry.js → p-3ef0f849.entry.js} +1 -1
  98. package/dist/cobalt/{p-c7a809c7.entry.js → p-40ce8a3d.entry.js} +1 -1
  99. package/dist/cobalt/{p-c31f5c1b.entry.js → p-4299cfa5.entry.js} +1 -1
  100. package/dist/cobalt/{p-6d532475.entry.js → p-43bd298d.entry.js} +1 -1
  101. package/dist/cobalt/{p-19706923.entry.js → p-43d31055.entry.js} +1 -1
  102. package/dist/cobalt/{p-37541725.entry.js → p-44fb4a3f.entry.js} +1 -1
  103. package/dist/cobalt/{p-81866f71.entry.js → p-4a503187.entry.js} +1 -1
  104. package/dist/cobalt/{p-49bde154.entry.js → p-4fe9a3ae.entry.js} +1 -1
  105. package/dist/cobalt/{p-39007b6c.entry.js → p-5c1767db.entry.js} +1 -1
  106. package/dist/cobalt/p-6556465f.entry.js +1 -0
  107. package/dist/cobalt/p-682b3313.entry.js +1 -0
  108. package/dist/cobalt/p-6c35b5cc.entry.js +1 -0
  109. package/dist/cobalt/{p-a5d84c7a.entry.js → p-7457aa89.entry.js} +1 -1
  110. package/dist/cobalt/{p-3ecc29fa.entry.js → p-75b7ed13.entry.js} +1 -1
  111. package/dist/cobalt/{p-94a8a119.entry.js → p-7c5e846a.entry.js} +1 -1
  112. package/dist/cobalt/{p-12a0ae24.entry.js → p-7cf4b4ae.entry.js} +1 -1
  113. package/dist/cobalt/p-7fbd3359.entry.js +1 -0
  114. package/dist/cobalt/{p-e99832a9.entry.js → p-8183f56f.entry.js} +1 -1
  115. package/dist/cobalt/{p-5ddebd10.entry.js → p-82c8f07b.entry.js} +1 -1
  116. package/dist/cobalt/{p-b004c3bb.entry.js → p-88a0659f.entry.js} +1 -1
  117. package/dist/cobalt/{p-a074f2ba.entry.js → p-8eb485c8.entry.js} +1 -1
  118. package/dist/cobalt/{p-f52f61d4.entry.js → p-8f600512.entry.js} +1 -1
  119. package/dist/cobalt/{p-09fe6ece.entry.js → p-905ba0dd.entry.js} +1 -1
  120. package/dist/cobalt/{p-c42c505c.entry.js → p-909c0113.entry.js} +1 -1
  121. package/dist/cobalt/{p-fa5c25d6.entry.js → p-90e292de.entry.js} +1 -1
  122. package/dist/cobalt/{p-360714ae.entry.js → p-929a4f19.entry.js} +1 -1
  123. package/dist/cobalt/{p-9c2ce487.entry.js → p-9c89cb01.entry.js} +1 -1
  124. package/dist/cobalt/{p-87fc5aed.entry.js → p-9c9f5b26.entry.js} +1 -1
  125. package/dist/cobalt/{p-d7b00e5f.entry.js → p-a0a6bfa3.entry.js} +1 -1
  126. package/dist/cobalt/{p-19f5d480.entry.js → p-a3669301.entry.js} +1 -1
  127. package/dist/cobalt/{p-21832273.entry.js → p-a3c6b974.entry.js} +1 -1
  128. package/dist/cobalt/{p-d3c765e3.entry.js → p-a6357340.entry.js} +1 -1
  129. package/dist/cobalt/p-a6b5cadd.entry.js +1 -0
  130. package/dist/cobalt/{p-e5b5ae89.entry.js → p-a811464d.entry.js} +1 -1
  131. package/dist/cobalt/{p-5d7c26f2.entry.js → p-a8c64cc3.entry.js} +1 -1
  132. package/dist/cobalt/{p-b800e107.entry.js → p-a9b29cc2.entry.js} +1 -1
  133. package/dist/cobalt/p-aafb9d11.entry.js +1 -0
  134. package/dist/cobalt/{p-cc72557d.entry.js → p-ab45d9bd.entry.js} +1 -1
  135. package/dist/cobalt/{p-c3c2087e.entry.js → p-b107063c.entry.js} +1 -1
  136. package/dist/cobalt/{p-f4cebc1f.entry.js → p-b22981fd.entry.js} +1 -1
  137. package/dist/cobalt/{p-8b7a4f6c.entry.js → p-b5b97c9b.entry.js} +1 -1
  138. package/dist/cobalt/{p-7255ab63.entry.js → p-b892b312.entry.js} +1 -1
  139. package/dist/cobalt/{p-debe0d79.entry.js → p-bfc2a849.entry.js} +1 -1
  140. package/dist/cobalt/{p-e5296961.entry.js → p-c1880595.entry.js} +1 -1
  141. package/dist/cobalt/{p-7a2dab23.entry.js → p-c3bb7e1f.entry.js} +1 -1
  142. package/dist/cobalt/{p-5f1b273b.entry.js → p-c3fd7b22.entry.js} +1 -1
  143. package/dist/cobalt/p-c6b9b9d6.entry.js +1 -0
  144. package/dist/cobalt/{p-ed2ca588.entry.js → p-ce35c898.entry.js} +1 -1
  145. package/dist/cobalt/{p-d85a751d.entry.js → p-d4debd6f.entry.js} +1 -1
  146. package/dist/cobalt/p-da18b5f4.entry.js +1 -0
  147. package/dist/cobalt/{p-3ac316e0.entry.js → p-e085b4ff.entry.js} +1 -1
  148. package/dist/cobalt/{p-8206c7c0.entry.js → p-e4ef25b0.entry.js} +1 -1
  149. package/dist/cobalt/{p-5f0f5d4b.entry.js → p-e742e978.entry.js} +1 -1
  150. package/dist/cobalt/{p-39bce45f.entry.js → p-e8878cf9.entry.js} +1 -1
  151. package/dist/cobalt/{p-2a9ba4c8.entry.js → p-f945a1bd.entry.js} +1 -1
  152. package/dist/cobalt/{p-b1ef5107.entry.js → p-fabe5fb2.entry.js} +1 -1
  153. package/dist/cobalt/{p-4e2379e4.entry.js → p-fdc6ec11.entry.js} +1 -1
  154. package/dist/collection/components/co-accordion/co-accordion.js +2 -2
  155. package/dist/collection/components/co-action-bar/co-action-bar.js +2 -2
  156. package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
  157. package/dist/collection/components/co-audio-player/co-audio-player.js +3 -3
  158. package/dist/collection/components/co-autocomplete/co-autocomplete.css +1 -1
  159. package/dist/collection/components/co-badge/co-badge.js +1 -1
  160. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
  161. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +1 -1
  162. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +2 -2
  163. package/dist/collection/components/co-button/co-button.js +2 -2
  164. package/dist/collection/components/co-button-group/co-button-group.js +2 -2
  165. package/dist/collection/components/co-calendar/co-calendar.js +1 -1
  166. package/dist/collection/components/co-calendar-month/co-calendar-month.js +1 -1
  167. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +2 -2
  168. package/dist/collection/components/co-card/co-card.js +2 -2
  169. package/dist/collection/components/co-carousel/co-carousel.js +2 -2
  170. package/dist/collection/components/co-carousel-item/co-carousel-item.js +1 -1
  171. package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
  172. package/dist/collection/components/co-chip/co-chip.js +2 -2
  173. package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
  174. package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
  175. package/dist/collection/components/co-combobox/co-combobox.css +3 -1
  176. package/dist/collection/components/co-data-table/co-data-table.css +33 -0
  177. package/dist/collection/components/co-data-table/co-data-table.js +89 -7
  178. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  179. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  180. package/dist/collection/components/co-date-range/co-date-range.js +1 -1
  181. package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +2 -2
  182. package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
  183. package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
  184. package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
  185. package/dist/collection/components/co-event-calendar/co-event-calendar.js +2 -2
  186. package/dist/collection/components/co-event-popover/co-event-popover.js +1 -1
  187. package/dist/collection/components/co-fab/co-fab.css +8 -5
  188. package/dist/collection/components/co-fab/co-fab.js +2 -2
  189. package/dist/collection/components/co-file-field/co-file-field.js +5 -5
  190. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
  191. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  192. package/dist/collection/components/co-icon/co-icon.js +2 -2
  193. package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
  194. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  195. package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
  196. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  197. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  198. package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
  199. package/dist/collection/components/co-menu/co-menu.js +1 -1
  200. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  201. package/dist/collection/components/co-modal/co-modal.js +2 -2
  202. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  203. package/dist/collection/components/co-number-field/co-number-field.js +2 -2
  204. package/dist/collection/components/co-option-list/co-option-list.css +11 -9
  205. package/dist/collection/components/co-option-list/co-option-list.js +8 -8
  206. package/dist/collection/components/co-overlay/co-overlay.js +1 -1
  207. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  208. package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
  209. package/dist/collection/components/co-popover/co-popover.js +26 -4
  210. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  211. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  212. package/dist/collection/components/co-radio/co-radio.js +3 -3
  213. package/dist/collection/components/co-rating/co-rating.js +3 -3
  214. package/dist/collection/components/co-ref-field/co-ref-field.css +15 -0
  215. package/dist/collection/components/co-ref-field/co-ref-field.js +71 -3
  216. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +3 -3
  217. package/dist/collection/components/co-row/co-row.js +2 -2
  218. package/dist/collection/components/co-select/co-select.js +67 -4
  219. package/dist/collection/components/co-separator/co-separator.js +1 -1
  220. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  221. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +2 -2
  222. package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
  223. package/dist/collection/components/co-slider/co-slider.js +2 -2
  224. package/dist/collection/components/co-switch/co-switch.js +3 -3
  225. package/dist/collection/components/co-tab/co-tab.js +2 -2
  226. package/dist/collection/components/co-tab-group/co-tab-group.js +2 -2
  227. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  228. package/dist/collection/components/co-textarea/co-textarea.js +4 -4
  229. package/dist/collection/components/co-toast/co-toast.js +2 -2
  230. package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
  231. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
  232. package/dist/collection/components/co-tooltip/co-tooltip.js +2 -2
  233. package/dist/collection/components/co-transfer-list/co-transfer-list.js +2 -2
  234. package/dist/collection/components/co-video/co-video.js +2 -2
  235. package/dist/collection/utils/columnResize.js +37 -0
  236. package/dist/collection/utils/popover-stack.js +28 -0
  237. package/dist/components/co-accordion.js +1 -1
  238. package/dist/components/co-action-bar.js +1 -1
  239. package/dist/components/co-app-shell.js +1 -1
  240. package/dist/components/co-audio-player.js +1 -1
  241. package/dist/components/co-autocomplete.js +1 -1
  242. package/dist/components/co-avatar-group.js +1 -1
  243. package/dist/components/co-avatar.js +1 -1
  244. package/dist/components/co-badge.js +1 -1
  245. package/dist/components/co-bottom-sheet.js +1 -1
  246. package/dist/components/co-breadcrumb-item.js +1 -1
  247. package/dist/components/co-breadcrumb.js +1 -1
  248. package/dist/components/co-button-group.js +1 -1
  249. package/dist/components/co-button.js +1 -1
  250. package/dist/components/co-calendar-month.js +1 -1
  251. package/dist/components/co-calendar-timegrid.js +1 -1
  252. package/dist/components/co-calendar.js +1 -1
  253. package/dist/components/co-card.js +1 -1
  254. package/dist/components/co-carousel-item.js +1 -1
  255. package/dist/components/co-carousel.js +1 -1
  256. package/dist/components/co-checkbox-group.js +1 -1
  257. package/dist/components/co-checkbox.js +1 -1
  258. package/dist/components/co-chip.js +1 -1
  259. package/dist/components/co-color-picker.js +1 -1
  260. package/dist/components/co-column-picker.js +1 -1
  261. package/dist/components/co-combobox.js +1 -1
  262. package/dist/components/co-command-search.js +1 -1
  263. package/dist/components/co-data-table-pagination.js +1 -1
  264. package/dist/components/co-data-table.js +1 -1
  265. package/dist/components/co-date-field.js +1 -1
  266. package/dist/components/co-date-picker.js +1 -1
  267. package/dist/components/co-date-range-picker.js +1 -1
  268. package/dist/components/co-date-range.js +1 -1
  269. package/dist/components/co-date-time-picker.js +1 -1
  270. package/dist/components/co-drawer.js +1 -1
  271. package/dist/components/co-drive-card.js +1 -1
  272. package/dist/components/co-drop-zone.js +1 -1
  273. package/dist/components/co-empty-state.js +1 -1
  274. package/dist/components/co-event-calendar.js +1 -1
  275. package/dist/components/co-event-popover.js +1 -1
  276. package/dist/components/co-fab.js +1 -1
  277. package/dist/components/co-file-field.js +1 -1
  278. package/dist/components/co-file-type-tile.js +1 -1
  279. package/dist/components/co-helper-text.js +1 -1
  280. package/dist/components/co-icon-button.js +1 -1
  281. package/dist/components/co-icon.js +1 -1
  282. package/dist/components/co-input.js +1 -1
  283. package/dist/components/co-json-field.js +1 -1
  284. package/dist/components/co-lightbox.js +1 -1
  285. package/dist/components/co-list-footer.js +1 -1
  286. package/dist/components/co-list-item.js +1 -1
  287. package/dist/components/co-media-thumb.js +1 -1
  288. package/dist/components/co-menu-divider.js +1 -1
  289. package/dist/components/co-menu-item.js +1 -1
  290. package/dist/components/co-menu.js +1 -1
  291. package/dist/components/co-modal.js +1 -1
  292. package/dist/components/co-navbar.js +1 -1
  293. package/dist/components/co-number-field.js +1 -1
  294. package/dist/components/co-option-list.js +1 -1
  295. package/dist/components/co-overlay.js +1 -1
  296. package/dist/components/co-page-header.js +1 -1
  297. package/dist/components/co-phone-field.js +1 -1
  298. package/dist/components/co-popover.js +1 -1
  299. package/dist/components/co-progress-bar.js +1 -1
  300. package/dist/components/co-progress-circle.js +1 -1
  301. package/dist/components/co-radio-group.js +1 -1
  302. package/dist/components/co-radio.js +1 -1
  303. package/dist/components/co-rating.js +1 -1
  304. package/dist/components/co-ref-field.js +1 -1
  305. package/dist/components/co-rich-text-editor.js +1 -1
  306. package/dist/components/co-rich-text-toolbar.js +1 -1
  307. package/dist/components/co-row.js +1 -1
  308. package/dist/components/co-select.js +1 -1
  309. package/dist/components/co-separator.js +1 -1
  310. package/dist/components/co-sidebar-nav.js +1 -1
  311. package/dist/components/co-sidebar.js +1 -1
  312. package/dist/components/co-skeleton.js +1 -1
  313. package/dist/components/co-slider.js +1 -1
  314. package/dist/components/co-switch.js +1 -1
  315. package/dist/components/co-tab-group.js +1 -1
  316. package/dist/components/co-tab.js +1 -1
  317. package/dist/components/co-tags-field.js +1 -1
  318. package/dist/components/co-textarea.js +1 -1
  319. package/dist/components/co-toast.js +1 -1
  320. package/dist/components/co-toggle-button-group.js +1 -1
  321. package/dist/components/co-toggle-button.js +1 -1
  322. package/dist/components/co-tooltip.js +1 -1
  323. package/dist/components/co-transfer-list.js +1 -1
  324. package/dist/components/co-video.js +1 -1
  325. package/dist/components/{p-BiefJDu3.js → p-4t5Fputx.js} +1 -1
  326. package/dist/components/{p-_YYd42XM.js → p-8wvfrEY4.js} +1 -1
  327. package/dist/components/{p-BCnjq3jN.js → p-BCZ-tPBT.js} +1 -1
  328. package/dist/components/{p-CmxZEGYq.js → p-BEiPCCVl.js} +1 -1
  329. package/dist/components/p-BOmAHbix.js +1 -0
  330. package/dist/components/{p-2zy1K6zg.js → p-BUYgHlPz.js} +1 -1
  331. package/dist/components/{p-ushHimOL.js → p-BYnSPxpp.js} +1 -1
  332. package/dist/components/{p-BlvsTlsS.js → p-Bhuk55S0.js} +1 -1
  333. package/dist/components/{p-DAaKsGqj.js → p-C4So28aS.js} +1 -1
  334. package/dist/components/{p-CL4dicvk.js → p-CRABrJmD.js} +1 -1
  335. package/dist/components/{p-Cv5yuGLz.js → p-CXLX8DpD.js} +1 -1
  336. package/dist/components/{p-CYv2ig6I.js → p-CXdIxtbK.js} +1 -1
  337. package/dist/components/{p-DFT1qsVu.js → p-ClAsHpYv.js} +1 -1
  338. package/dist/components/{p-CkQqqKRp.js → p-CnBjUP_M.js} +1 -1
  339. package/dist/components/{p-xvWmYN3W.js → p-DEYpoVxc.js} +1 -1
  340. package/dist/components/p-DP0bbhfN.js +1 -0
  341. package/dist/components/{p-re2gJwnQ.js → p-DUYGgqjB.js} +1 -1
  342. package/dist/components/{p-CKKBJaNB.js → p-DWt_rL1l.js} +1 -1
  343. package/dist/components/{p-Bsll5Ofy.js → p-DmyELlI1.js} +1 -1
  344. package/dist/components/p-aiNhl9Xd.js +1 -0
  345. package/dist/components/{p-Ce0ZJcks.js → p-njonLO8t.js} +1 -1
  346. package/dist/components/{p-CJNo2JDc.js → p-xjzIZcgZ.js} +1 -1
  347. package/dist/esm/co-accordion.entry.js +2 -2
  348. package/dist/esm/co-action-bar.entry.js +2 -2
  349. package/dist/esm/co-app-shell.entry.js +2 -2
  350. package/dist/esm/co-audio-player.entry.js +3 -3
  351. package/dist/esm/co-autocomplete.entry.js +1 -1
  352. package/dist/esm/co-avatar_2.entry.js +2 -2
  353. package/dist/esm/co-badge.entry.js +1 -1
  354. package/dist/esm/co-bottom-sheet.entry.js +3 -3
  355. package/dist/esm/co-breadcrumb-item.entry.js +2 -2
  356. package/dist/esm/co-breadcrumb.entry.js +1 -1
  357. package/dist/esm/co-button-group.entry.js +2 -2
  358. package/dist/esm/co-button.entry.js +2 -2
  359. package/dist/esm/co-calendar-month_2.entry.js +3 -3
  360. package/dist/esm/co-calendar_3.entry.js +5 -5
  361. package/dist/esm/co-card.entry.js +2 -2
  362. package/dist/esm/co-carousel-item.entry.js +1 -1
  363. package/dist/esm/co-carousel.entry.js +2 -2
  364. package/dist/esm/co-checkbox.entry.js +3 -3
  365. package/dist/esm/co-chip_2.entry.js +11 -11
  366. package/dist/esm/co-color-picker.entry.js +2 -2
  367. package/dist/esm/co-column-picker.entry.js +2 -2
  368. package/dist/esm/co-combobox.entry.js +1 -1
  369. package/dist/esm/co-data-table-pagination.entry.js +4 -4
  370. package/dist/esm/co-data-table.entry.js +127 -8
  371. package/dist/esm/co-date-range.entry.js +1 -1
  372. package/dist/esm/co-date-time-picker.entry.js +2 -2
  373. package/dist/esm/co-drive-card.entry.js +1 -1
  374. package/dist/esm/co-drop-zone.entry.js +1 -1
  375. package/dist/esm/co-empty-state.entry.js +2 -2
  376. package/dist/esm/co-event-calendar.entry.js +2 -2
  377. package/dist/esm/co-event-popover.entry.js +1 -1
  378. package/dist/esm/co-fab.entry.js +3 -3
  379. package/dist/esm/co-file-field.entry.js +5 -5
  380. package/dist/esm/co-file-type-tile.entry.js +2 -2
  381. package/dist/esm/co-helper-text.entry.js +2 -2
  382. package/dist/esm/co-icon-button.entry.js +1 -1
  383. package/dist/esm/co-icon.entry.js +2 -2
  384. package/dist/esm/co-json-field.entry.js +3 -3
  385. package/dist/esm/co-lightbox.entry.js +4 -4
  386. package/dist/esm/co-list-footer.entry.js +1 -1
  387. package/dist/esm/co-list-item.entry.js +4 -4
  388. package/dist/esm/co-media-thumb.entry.js +2 -2
  389. package/dist/esm/co-menu-divider.entry.js +1 -1
  390. package/dist/esm/co-menu.entry.js +1 -1
  391. package/dist/esm/co-modal.entry.js +2 -2
  392. package/dist/esm/co-navbar.entry.js +2 -2
  393. package/dist/esm/co-number-field.entry.js +2 -2
  394. package/dist/esm/co-overlay.entry.js +1 -1
  395. package/dist/esm/co-page-header.entry.js +1 -1
  396. package/dist/esm/co-phone-field.entry.js +1 -1
  397. package/dist/esm/co-popover.entry.js +49 -3
  398. package/dist/esm/co-progress-bar.entry.js +2 -2
  399. package/dist/esm/co-progress-circle.entry.js +2 -2
  400. package/dist/esm/co-provider-logo_2.entry.js +1 -1
  401. package/dist/esm/co-radio.entry.js +3 -3
  402. package/dist/esm/co-rating.entry.js +3 -3
  403. package/dist/esm/co-ref-field.entry.js +13 -4
  404. package/dist/esm/co-rich-text-editor.entry.js +3 -3
  405. package/dist/esm/co-row.entry.js +2 -2
  406. package/dist/esm/co-select.entry.js +13 -4
  407. package/dist/esm/co-separator.entry.js +1 -1
  408. package/dist/esm/co-sidebar-nav.entry.js +2 -2
  409. package/dist/esm/co-sidebar.entry.js +2 -2
  410. package/dist/esm/co-slider.entry.js +2 -2
  411. package/dist/esm/co-switch.entry.js +3 -3
  412. package/dist/esm/co-tab-group.entry.js +2 -2
  413. package/dist/esm/co-tab.entry.js +2 -2
  414. package/dist/esm/co-tags-field.entry.js +5 -5
  415. package/dist/esm/co-textarea.entry.js +4 -4
  416. package/dist/esm/co-toast.entry.js +2 -2
  417. package/dist/esm/co-toggle-button-group.entry.js +2 -2
  418. package/dist/esm/co-toggle-button.entry.js +2 -2
  419. package/dist/esm/co-transfer-list.entry.js +2 -2
  420. package/dist/esm/co-video.entry.js +2 -2
  421. package/dist/esm/cobalt.js +1 -1
  422. package/dist/esm/index-CrtiywTB.js +12 -12
  423. package/dist/esm/loader.js +1 -1
  424. package/dist/types/components/co-data-table/co-data-table.d.ts +5 -0
  425. package/dist/types/components/co-popover/co-popover.d.ts +8 -1
  426. package/dist/types/components/co-ref-field/co-ref-field.d.ts +17 -0
  427. package/dist/types/components/co-select/co-select.d.ts +7 -0
  428. package/dist/types/components.d.ts +60 -2
  429. package/dist/types/utils/columnResize.d.ts +42 -0
  430. package/dist/types/utils/popover-stack.d.ts +5 -0
  431. package/package.json +3 -3
  432. package/dist/cobalt/p-212ed2ba.entry.js +0 -1
  433. package/dist/cobalt/p-2aeb1471.entry.js +0 -1
  434. package/dist/cobalt/p-2d0354cc.entry.js +0 -1
  435. package/dist/cobalt/p-30ec230e.entry.js +0 -1
  436. package/dist/cobalt/p-77593319.entry.js +0 -1
  437. package/dist/cobalt/p-e054cb52.entry.js +0 -1
  438. package/dist/cobalt/p-e612b43c.entry.js +0 -1
  439. package/dist/cobalt/p-f1284fcd.entry.js +0 -1
  440. package/dist/cobalt/p-f1731fe9.entry.js +0 -1
  441. package/dist/components/p-BUE9mBqk.js +0 -1
  442. package/dist/components/p-Bh2__nEw.js +0 -1
  443. package/dist/components/p-DTJsO_Eg.js +0 -1
@@ -12,6 +12,7 @@ const CoSelect = class {
12
12
  index.registerInstance(this, hostRef);
13
13
  this.coChange = index.createEvent(this, "coChange", 7);
14
14
  this.coClear = index.createEvent(this, "coClear", 7);
15
+ this.coFooterPrimary = index.createEvent(this, "coFooterPrimary", 7);
15
16
  /** Whether the field is required (renders a required marker on the label). */
16
17
  this.required = false;
17
18
  this.placeholder = 'Select…';
@@ -33,6 +34,10 @@ const CoSelect = class {
33
34
  this.searchable = false;
34
35
  this.searchPlaceholder = 'Search…';
35
36
  this.emptyText = 'No results';
37
+ /** Footer de confirmación al pie del panel (paridad co-combobox/co-ref-field). */
38
+ this.showFooter = false;
39
+ /** Label del botón primario del footer. */
40
+ this.footerPrimaryLabel = 'Ok';
36
41
  this.isOpen = false;
37
42
  this.scrollTop = 0;
38
43
  this.searchText = '';
@@ -64,6 +69,10 @@ const CoSelect = class {
64
69
  this.coClear.emit();
65
70
  this.coChange.emit(this.multiple ? [] : '');
66
71
  };
72
+ this.handleFooterPrimary = () => {
73
+ this.coFooterPrimary.emit();
74
+ this.isOpen = false;
75
+ };
67
76
  this.handleOptionClick = (optionValue) => {
68
77
  if (this.multiple) {
69
78
  const sel = [...this.selectedValues];
@@ -221,20 +230,20 @@ const CoSelect = class {
221
230
  var _a;
222
231
  const selected = this.selectedValues;
223
232
  const options = this.filteredOptions;
224
- return (index.h("div", { key: 'dda1b5f2f72939374a748224137586c8cc67cfcb', class: {
233
+ return (index.h("div", { key: 'bad4f3499f16c7bbe02c6ca688350224dafc5d6b', class: {
225
234
  'co-select': true,
226
235
  'co-select--open': this.isOpen,
227
236
  'co-select--disabled': this.disabled,
228
237
  [`co-select--${this.size}`]: true,
229
238
  [`co-select--${this.status}`]: this.status !== 'default',
230
239
  'co-select--flat': this.variant === 'flat',
231
- } }, (this.label || this.secondaryLabel) && (index.h("div", { key: '5947cfc99c31904238dd3c86c4da4e42e7d94ba3', class: "co-select__labels" }, this.label && index.h("label", { key: 'fac1de54916c5b0701c10b3b618c41f8319c3a50', class: "co-select__label" }, this.label, index.h(requiredMark.RequiredMark, { key: '12f175c2dc67ef19c949fd517e38cd2c32b55084', required: this.required })), this.secondaryLabel && index.h("span", { key: 'a1a0fa82fc220952e4c8225e13fa8bbb2cbbe310', class: "co-select__secondary-label" }, this.secondaryLabel))), index.h("co-popover", { key: '126cb2923ea3a5e3646697fd514050258c82bcaa', open: this.isOpen, placement: "bottom-start", matchWidth: true, offset: 4, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, index.h("div", { key: '0b3dd75a9d0bb427bc8e5c8f17fe5c297855a899', slot: "trigger", class: "co-select__trigger", onClick: this.handleTriggerClick }, this.iconLeft && index.h("co-icon", { key: 'ad2fa6c5a6798314097d8e0715cddff8ce349586', name: this.iconLeft, size: 16, class: "co-select__icon" }), ((_a = this.selectedOption) === null || _a === void 0 ? void 0 : _a.image) && (index.h("img", { key: '36e7407bf782a1adb15cd41432bc4f36d5605094', class: "co-select__flag", src: this.selectedOption.image, alt: "" })), this.multiple && this.hasValue ? (index.h("div", { class: "co-select__chips" }, this.selectedValues.map((v) => {
240
+ } }, (this.label || this.secondaryLabel) && (index.h("div", { key: '16f9d5d6b49559400c9bec5e14e1c4df027ce1ea', class: "co-select__labels" }, this.label && index.h("label", { key: '83943deadacbad791de84a140721c9ec4f33f614', class: "co-select__label" }, this.label, index.h(requiredMark.RequiredMark, { key: 'f8d016bdce053c0f9ff11a197a9786eadb80b2c8', required: this.required })), this.secondaryLabel && index.h("span", { key: '33a470cf9faa4dbd57a935efa076f6cfcacbf56e', class: "co-select__secondary-label" }, this.secondaryLabel))), index.h("co-popover", { key: '363d1cbfab691acc7b63fb0c42864a9753e66b72', open: this.isOpen, placement: "bottom-start", matchWidth: true, offset: 4, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, index.h("div", { key: '9f5c31a29ea2027dc4721e6bf3eedeeb3bab1627', slot: "trigger", class: "co-select__trigger", onClick: this.handleTriggerClick }, this.iconLeft && index.h("co-icon", { key: 'a1a0379af6cbcf5ff9d03dd21b8a6eed67681aa3', name: this.iconLeft, size: 16, class: "co-select__icon" }), ((_a = this.selectedOption) === null || _a === void 0 ? void 0 : _a.image) && (index.h("img", { key: 'a6f2c211809d1db409f76d549ae8283d503e34e9', class: "co-select__flag", src: this.selectedOption.image, alt: "" })), this.multiple && this.hasValue ? (index.h("div", { class: "co-select__chips" }, this.selectedValues.map((v) => {
232
241
  const opt = this.parsedOptions.find((o) => o.value === v);
233
242
  return (index.h("span", { class: "co-select__chip", key: v }, index.h("span", { class: "co-select__chip-label" }, opt ? opt.label : v), index.h("button", { class: "co-select__chip-remove", type: "button", tabIndex: -1, "aria-label": "Remove", onClick: (e) => {
234
243
  e.stopPropagation();
235
244
  this.handleOptionClick(v);
236
245
  } }, index.h("co-icon", { name: "x", size: 12 }))));
237
- }))) : (index.h("span", { class: { 'co-select__text': true, 'co-select__text--placeholder': !this.hasValue } }, this.hasValue ? this.displayText : this.placeholder)), this.clearable && this.hasValue && !this.disabled && (index.h("button", { key: '3e97e8239b922280a21cd0fa53d37cbb15f313ba', class: "co-select__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, index.h("co-icon", { key: 'da2171535417fed8e6a3422120c13f4f860354e3', name: "x-circle", size: 16, weight: "fill" }))), index.h("co-icon", { key: 'e262edfb38a2bcd9771082c78af22ae3816a4472', name: this.isOpen ? 'caret-up' : 'caret-down', size: 16, class: "co-select__caret" })), index.h("div", { key: 'd557662d3722a7a60e7b499fea0c47a11bb86737', class: "co-select__dropdown" }, this.isOpen && this.searchable && (index.h("div", { key: '7248c5417c929016e43eba3754ef74cb68e21d76', class: "co-select__search" }, index.h("co-icon", { key: 'a88c9f7da98cb112d33a7bc6f970f503d7fbfcdc', name: "magnifying-glass", size: 16, class: "co-select__search-icon" }), index.h("input", { key: 'ed90bd495b6d92941af5f585d24ad9a4986757d9', class: "co-select__search-input", type: "text", placeholder: this.searchPlaceholder, value: this.searchText, onInput: this.handleSearchInput, ref: (el) => (this.searchInputEl = el) }))), this.isOpen && this.searchable && options.length === 0 && (index.h("div", { key: '0b9a0a98cb298dd25f2f869f7c6d01ced4c030a8', class: "co-select__empty" }, this.emptyText)), index.h("div", { key: '4c0aa1f9e0f0f3fcede94decb037217466c80ca5', class: "co-select__options", ref: (el) => (this.optionsContainerEl = el) }, this.isOpen && (() => {
246
+ }))) : (index.h("span", { class: { 'co-select__text': true, 'co-select__text--placeholder': !this.hasValue } }, this.hasValue ? this.displayText : this.placeholder)), this.clearable && this.hasValue && !this.disabled && (index.h("button", { key: '3d166cacb8bffe7a9d1afb3024393ecab45983db', class: "co-select__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, index.h("co-icon", { key: '9c294164bffc014958d650f0f73abe89590bf0d4', name: "x-circle", size: 16, weight: "fill" }))), index.h("co-icon", { key: '5fa3c25ee20c61b2a108051bfcae41e1a806230b', name: this.isOpen ? 'caret-up' : 'caret-down', size: 16, class: "co-select__caret" })), index.h("div", { key: 'b332004740d6b9b28009521b7462eabd5c9e34e5', class: "co-select__dropdown" }, this.isOpen && this.searchable && (index.h("div", { key: '5e74135218cae4f3ac081e484e0f8fd6ff243349', class: "co-select__search" }, index.h("co-icon", { key: '3c696854ee11e8e5dc5f2ebc30bb64b07ad251a4', name: "magnifying-glass", size: 16, class: "co-select__search-icon" }), index.h("input", { key: '7c3982eb4a72a89a41e6495faf9fb67ff59e39dc', class: "co-select__search-input", type: "text", placeholder: this.searchPlaceholder, value: this.searchText, onInput: this.handleSearchInput, ref: (el) => (this.searchInputEl = el) }))), this.isOpen && this.searchable && options.length === 0 && (index.h("div", { key: '076020e18baab05215d3203d8b75feede2e00f40', class: "co-select__empty" }, this.emptyText)), index.h("div", { key: '3d1ea578714f6ed2cf078365869cd15424b5e120', class: "co-select__options", ref: (el) => (this.optionsContainerEl = el) }, this.isOpen && (() => {
238
247
  const { totalHeight, startIdx, endIdx, offsetY } = this.getVirtualSlice(options);
239
248
  return (index.h("div", { class: "co-select__virtual-spacer", style: { height: `${totalHeight}px`, position: 'relative' } }, index.h("div", { style: { position: 'absolute', top: `${offsetY}px`, left: '0', right: '0' } }, options.slice(startIdx, endIdx).map(opt => {
240
249
  const isSelected = selected.includes(opt.value);
@@ -245,7 +254,7 @@ const CoSelect = class {
245
254
  'co-select__option--disabled': isDisabled,
246
255
  }, onClick: () => !isDisabled && this.handleOptionClick(opt.value) }, opt.image ? (index.h("img", { class: "co-select__option-flag", src: opt.image, alt: "", loading: "lazy" })) : opt.icon ? (index.h("co-icon", { name: opt.icon, size: 20, class: "co-select__option-icon" })) : null, index.h("span", { class: "co-select__option-label" }, this.renderLabel(opt.label)), isSelected && index.h("co-icon", { name: "check", size: 16, class: "co-select__option-check" })));
247
256
  }))));
248
- })()))), this.helperText && (index.h("div", { key: 'b7f14d7e02dd3fe15be6c0f82b13df14edc0db60', class: `co-select__helper co-select__helper--${this.status}` }, this.statusIcon && index.h("co-icon", { key: '80dbcc3fe68bbe9e89256fa7a3dae7d846280d33', name: this.statusIcon, size: 14, class: "co-select__helper-icon" }), index.h("span", { key: 'd2162ba7ac4c287720185295643ef1c3e2187c84', class: "co-select__helper-text" }, this.helperText)))));
257
+ })()), this.isOpen && this.showFooter && (index.h("co-list-footer", { key: '2111c0b465b9bb197c1dcd4adfb9a779f8683872', class: "co-select__footer", primaryLabel: this.footerPrimaryLabel, primaryIcon: "check", onCoPrimary: this.handleFooterPrimary })))), this.helperText && (index.h("div", { key: '4b1b97363bda399af6e8d60dbd5a4ffc2c844c87', class: `co-select__helper co-select__helper--${this.status}` }, this.statusIcon && index.h("co-icon", { key: '466b666be057e2a6090c3b695c12215b1f1fa629', name: this.statusIcon, size: 14, class: "co-select__helper-icon" }), index.h("span", { key: '3da8e3ecaa7380a17c9cc61d98025737659c066a', class: "co-select__helper-text" }, this.helperText)))));
249
258
  }
250
259
  get el() { return index.getElement(this); }
251
260
  static get watchers() { return {
@@ -63,7 +63,7 @@ const CoSeparator = class {
63
63
  style['--co-separator-inset-end'] = '0px';
64
64
  }
65
65
  }
66
- return (index.h("hr", { key: 'e3dae08fe134e1d4e1769aa9e66c59b8b0eb62ae', class: {
66
+ return (index.h("hr", { key: 'e3424f147cc4168638d2ac823046351fb880ac57', class: {
67
67
  'co-separator': true,
68
68
  'co-separator--vertical': this.vertical,
69
69
  'co-separator--dark': this.dark,
@@ -490,10 +490,10 @@ const CoSidebarNav = class {
490
490
  // `flyout-open` (min mode only) lets the CSS drop the host edge-fade mask
491
491
  // while a flyout is shown — a host mask would otherwise clip AND
492
492
  // mis-position the fixed flyout (mask makes the host a containing block).
493
- index.h(index.Host, { key: '637707894cb777ff149c0516aff13786054e5393', class: { 'flyout-open': !!this.flyoutKey } }, index.h("nav", { key: '3d98909c4d5d0f17eb478fbd01603884d040f45f', class: {
493
+ index.h(index.Host, { key: 'fa9a50c4a517fa550406669bb3d40abbf12db32a', class: { 'flyout-open': !!this.flyoutKey } }, index.h("nav", { key: '5df964b67ed0e376a268dd28e1095b985c0b328b', class: {
494
494
  'co-sidebar-nav': true,
495
495
  'co-sidebar-nav--min': this.mode === 'min',
496
- } }, this.renderSearch(), index.h("div", { key: 'd46c1e3b5e60ded1d232e7ccf8beb768d34ffe88', class: "co-sidebar-nav__items" }, items.map(item => this.renderItem(item))))));
496
+ } }, this.renderSearch(), index.h("div", { key: 'c276aacf1b0b9eb66e35977d124465c400c96cd1', class: "co-sidebar-nav__items" }, items.map(item => this.renderItem(item))))));
497
497
  }
498
498
  get el() { return index.getElement(this); }
499
499
  static get watchers() { return {
@@ -12,10 +12,10 @@ const CoSidebar = class {
12
12
  this.mode = 'full';
13
13
  }
14
14
  render() {
15
- return (index.h("nav", { key: 'a854ad248b6f55fdcb1b08ed15272154a5044e55', class: {
15
+ return (index.h("nav", { key: 'ad5f66c721365f3a9ca2192765df243e8dea492e', class: {
16
16
  'co-sidebar': true,
17
17
  [`co-sidebar--${this.mode}`]: true,
18
- }, part: "sidebar" }, index.h("div", { key: '17a14f8625168e7f163c984d782df2b387c3684e', class: "co-sidebar__header", part: "header" }, index.h("slot", { key: 'e9152aa47751f8ced84384a4a5ced1d05f410cf3', name: "header" })), index.h("div", { key: 'df4ad1cd15d33678c60c47ee231ac765993a3d28', class: "co-sidebar__body", part: "body" }, index.h("slot", { key: 'be0e6031883c828b50bcf65f2052c4055370efba' })), index.h("div", { key: '6ab4f6793e2ce3c81f50e143cf0764b25a2b0048', class: "co-sidebar__footer", part: "footer" }, index.h("slot", { key: '930905e30ea4ddf297bb313294d5d2eb4dafa721', name: "footer" }))));
18
+ }, part: "sidebar" }, index.h("div", { key: '45a2250516e1080f79b4a4554a0db7715c30066d', class: "co-sidebar__header", part: "header" }, index.h("slot", { key: '04a468d4eb6cf9bbd2acc482ba50defc4271166e', name: "header" })), index.h("div", { key: '730e37997945ce8bc7bc2d177beb25bbd0a1813f', class: "co-sidebar__body", part: "body" }, index.h("slot", { key: '22c20554c8f2d85952d43484cda5903dbf33588d' })), index.h("div", { key: '6bb53d0394b9107ea1553e21047d51ea5fe0f292', class: "co-sidebar__footer", part: "footer" }, index.h("slot", { key: '2b326d1beed32288d50ba17abad459929ed1e940', name: "footer" }))));
19
19
  }
20
20
  };
21
21
  CoSidebar.style = coSidebarCss();
@@ -80,12 +80,12 @@ const CoSlider = class {
80
80
  }
81
81
  render() {
82
82
  const pct = this.percentage;
83
- return (index.h("div", { key: '4027635cf79ecb8673a36a63bda49528b3affe3d', class: {
83
+ return (index.h("div", { key: '9b0393d126f0951918b8579542019448949f8537', class: {
84
84
  'co-slider': true,
85
85
  'co-slider--disabled': this.disabled,
86
86
  'co-slider--dragging': this.dragging,
87
87
  [`co-slider--${this.status}`]: this.status !== 'default',
88
- } }, (this.label || this.secondaryLabel || this.showValue) && (index.h("div", { key: '63340e4f0e30dc8d764ec1e53d1382ed7439f2ff', class: "co-slider__labels" }, index.h("div", { key: '3d7eb11db7b0b3a02dca5ab7dfdad3d46eca0f99', class: "co-slider__labels-left" }, this.label && index.h("label", { key: 'ca00277f2008cb58bc28cf4783f445d2f56e8427', class: "co-slider__label" }, this.label), this.secondaryLabel && index.h("span", { key: '90b3d3afc80a0ecfafbd3e379c181a1679192aab', class: "co-slider__secondary-label" }, this.secondaryLabel)), this.showValue && index.h("span", { key: 'ac9f0a0b1dc054838c6d2635db0f036bcf8949ad', class: "co-slider__value" }, this.value))), index.h("div", { key: 'e16828daeb3549bb2b892cbb237313a90551c731', class: "co-slider__track-wrapper", ref: el => (this.trackEl = el), onPointerDown: this.handlePointerDown }, index.h("div", { key: '094704838f8898680e950ecb31d71a396fbd46ee', class: "co-slider__track" }, index.h("div", { key: '0c47a259e49d126aaf7471ef56e887b99c2636de', class: "co-slider__fill", style: { width: `${pct}%` } })), index.h("div", { key: '61cb3dd1621bdcb6b103f073eefceb5a11f08806', class: "co-slider__thumb", style: { left: `${pct}%` } })), this.showMarks && (index.h("div", { key: '60ea2eb0db6393ca95d712e1441b316f34b2e39d', class: "co-slider__marks" }, index.h("span", { key: '3ef4f78b7ee3b920dc1be7be1cad43c2cd268ce6', class: "co-slider__mark" }, this.min), index.h("span", { key: 'c1b0bb6ada1ec898c7ae8ff9160f53c58454a5c9', class: "co-slider__mark" }, this.max))), index.h("input", { key: 'c38e3b83d4e546a3349fa504022592face8f7ef5', class: "co-slider__native", type: "range", min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled, onInput: this.handleInputChange, "aria-label": this.label || 'Slider' }), this.helperText && (index.h("div", { key: 'f3a87f53d9411991b55656e964c826ed0f6a4583', class: `co-slider__helper co-slider__helper--${this.status}` }, this.statusIcon && index.h("co-icon", { key: '5532c726e5aa75d9c24b850daf27162502fa898a', name: this.statusIcon, size: 14, weight: "fill", class: "co-slider__helper-icon" }), index.h("span", { key: 'c992c8393ed716d12bbe70dccc62c998c16da751', class: "co-slider__helper-text" }, this.helperText)))));
88
+ } }, (this.label || this.secondaryLabel || this.showValue) && (index.h("div", { key: 'e5a6e71de571099179da3fff7fad8a49f4007b58', class: "co-slider__labels" }, index.h("div", { key: 'e2e7b16b04ab4405efefe3c706f0b17e554e3403', class: "co-slider__labels-left" }, this.label && index.h("label", { key: '5bfdab322661e6a4ff23c3f51b98f92beb7f71d2', class: "co-slider__label" }, this.label), this.secondaryLabel && index.h("span", { key: 'badb1274cb50e9fd5aa4ffe0ecd2fcdf7e356ac5', class: "co-slider__secondary-label" }, this.secondaryLabel)), this.showValue && index.h("span", { key: '100c039646a494ab2311fe665dcca69ac373412c', class: "co-slider__value" }, this.value))), index.h("div", { key: 'cccc6eec3cb96c59fde0dd61f243b99d4dd906a5', class: "co-slider__track-wrapper", ref: el => (this.trackEl = el), onPointerDown: this.handlePointerDown }, index.h("div", { key: 'f2e4c77eaad6f282a8516cbecf658309d288e960', class: "co-slider__track" }, index.h("div", { key: 'a4b4e062c0f4fc63fe06c0f82635b7938d362872', class: "co-slider__fill", style: { width: `${pct}%` } })), index.h("div", { key: '82aaafcee3e10dabda359e1633d3d43cb907efef', class: "co-slider__thumb", style: { left: `${pct}%` } })), this.showMarks && (index.h("div", { key: 'df196b5f77697d80ba347049252f06bd941210af', class: "co-slider__marks" }, index.h("span", { key: '842cf8078d2ce44015bfff1ef5c6af9e81226c65', class: "co-slider__mark" }, this.min), index.h("span", { key: 'e9016d28e3cccb5422ee69fc420ffe8573261bb5', class: "co-slider__mark" }, this.max))), index.h("input", { key: 'e39cf4e0e392b19bbc69a8824b5304923690a111', class: "co-slider__native", type: "range", min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled, onInput: this.handleInputChange, "aria-label": this.label || 'Slider' }), this.helperText && (index.h("div", { key: '8f63357fba596c559f7a8844588c7c95f85c7216', class: `co-slider__helper co-slider__helper--${this.status}` }, this.statusIcon && index.h("co-icon", { key: 'bd3cb81a4b8e934f97db8520566f41094b4054be', name: this.statusIcon, size: 14, weight: "fill", class: "co-slider__helper-icon" }), index.h("span", { key: '2840f87c55a9404b682b00be36f90807ba2e5cab', class: "co-slider__helper-text" }, this.helperText)))));
89
89
  }
90
90
  get el() { return index.getElement(this); }
91
91
  };
@@ -36,16 +36,16 @@ const CoSwitch = class {
36
36
  render() {
37
37
  const hasLabels = this.label || this.secondaryLabel;
38
38
  const hasHelper = !!this.helperText;
39
- return (index.h("div", { key: '9c2ab9ebe8300b1a0430ee3abd450844801dce02', class: {
39
+ return (index.h("div", { key: 'cf5f5cf9c86e531772cab2fc89ce7f671fac6b88', class: {
40
40
  'co-switch-wrapper': true,
41
41
  'co-switch-wrapper--disabled': this.disabled,
42
42
  [`co-switch-wrapper--${this.status}`]: this.status !== 'default',
43
- } }, index.h("div", { key: 'becf03e42f9d2df55852aeabcbeb5c0ee8526584', class: "co-switch-wrapper__row", onClick: this.handleClick }, index.h("button", { key: 'd7930e7325b081f72696d7c9714e87cfc8fdc4d3', role: "switch", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
43
+ } }, index.h("div", { key: '1b4a84420f7cbf55b797c900633278226e6bb876', class: "co-switch-wrapper__row", onClick: this.handleClick }, index.h("button", { key: '84935bfd4332c5f75d9a55c302a215704255687e', role: "switch", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
44
44
  'co-switch': true,
45
45
  'co-switch--on': this.checked,
46
46
  'co-switch--off': !this.checked,
47
47
  'co-switch--disabled': this.disabled,
48
- }, disabled: this.disabled, part: "track" }, index.h("span", { key: '916a6994673e9d91f9acd1a983f7a071f6e13de6', class: "co-switch__thumb", part: "thumb" })), hasLabels && (index.h("div", { key: '41ab06a752560079d9cde87bd761320aa44722eb', class: "co-switch-wrapper__labels" }, this.label && index.h("span", { key: 'cd56a3a783507bb0aae71032ef71d8d1375fb96d', class: "co-switch-wrapper__label", part: "label" }, this.label, index.h(requiredMark.RequiredMark, { key: 'a6da50ef41d10d45d7d0b8a4fbdb8d1e445cc8be', required: this.required })), this.secondaryLabel && (index.h("span", { key: '294791b598a8ef01ce63d3324bad895e8751ec7c', class: "co-switch-wrapper__secondary-label", part: "secondary-label" }, this.secondaryLabel))))), hasHelper && (index.h("div", { key: '2a387c0a099a6d0774d9228c70a00a550f0515ab', class: `co-switch-wrapper__helper co-switch-wrapper__helper--${this.status}` }, this.statusIcon && (index.h("co-icon", { key: '1184f6971047834c8527234c3b97bc4332425644', name: this.statusIcon, size: 14, weight: "fill", class: "co-switch-wrapper__helper-icon" })), index.h("span", { key: 'cbb3ea33790321d59111c74dc4282b9393be5c54', class: "co-switch-wrapper__helper-text" }, this.helperText)))));
48
+ }, disabled: this.disabled, part: "track" }, index.h("span", { key: '5fd9ccdee226488b7bf40135310dfa8edc6f21ca', class: "co-switch__thumb", part: "thumb" })), hasLabels && (index.h("div", { key: '8c218d1e80fde949aaaeddb5beb82f0db903c5fd', class: "co-switch-wrapper__labels" }, this.label && index.h("span", { key: '8ac9fd5b3c508f1aa8d5dc68958b3503088c6573', class: "co-switch-wrapper__label", part: "label" }, this.label, index.h(requiredMark.RequiredMark, { key: '6484f45dcf71fde79d7e9b2dcb1e05736222eb43', required: this.required })), this.secondaryLabel && (index.h("span", { key: 'cafa4abbf0b8bab98992a1fc8450828eddf5a84e', class: "co-switch-wrapper__secondary-label", part: "secondary-label" }, this.secondaryLabel))))), hasHelper && (index.h("div", { key: '50b2fa3efe5f9231b334785a5fcc12976e100529', class: `co-switch-wrapper__helper co-switch-wrapper__helper--${this.status}` }, this.statusIcon && (index.h("co-icon", { key: 'd43268eb4c94458681cd0d29c25e63c6f228e744', name: this.statusIcon, size: 14, weight: "fill", class: "co-switch-wrapper__helper-icon" })), index.h("span", { key: 'dca85627fe32f4991716e5bd0d74f52ee7825159', class: "co-switch-wrapper__helper-text" }, this.helperText)))));
49
49
  }
50
50
  };
51
51
  CoSwitch.style = coSwitchCss();
@@ -56,10 +56,10 @@ const CoTabGroup = class {
56
56
  });
57
57
  }
58
58
  render() {
59
- return (index.h("div", { key: '8987563ec721e13e7cbc186b11ab4c6b28f82068', class: {
59
+ return (index.h("div", { key: 'b4a12a70b2ea662d7560b44dee50ecdbbb9314bb', class: {
60
60
  'co-tab-group': true,
61
61
  [`co-tab-group--${this.variant}`]: true,
62
- }, role: "tablist", part: "tab-group", onWheel: this.onWheel }, index.h("slot", { key: '9adad54c12867486cdf0677e92f5c5007f2b55e1', onSlotchange: this.onSlotChange })));
62
+ }, role: "tablist", part: "tab-group", onWheel: this.onWheel }, index.h("slot", { key: '4427ca133a60ae07f53f1c50ef6dd9ee39784aa6', onSlotchange: this.onSlotChange })));
63
63
  }
64
64
  get el() { return index.getElement(this); }
65
65
  static get watchers() { return {
@@ -28,13 +28,13 @@ const CoTab = class {
28
28
  }
29
29
  render() {
30
30
  const iconSize = this.variant === 'underline' ? 16 : this.size === 'large' ? 18 : 14;
31
- return (index.h("button", { key: '85ffca32d8f2fb7c2be25e9b2cf8c0570a438f54', class: {
31
+ return (index.h("button", { key: 'f569dd0913e8a6640fbbaecbf2b083e480f6f137', class: {
32
32
  'co-tab': true,
33
33
  [`co-tab--${this.size}`]: true,
34
34
  [`co-tab--${this.variant}`]: true,
35
35
  'co-tab--selected': this.selected,
36
36
  'co-tab--disabled': this.disabled,
37
- }, type: "button", role: "tab", "aria-selected": this.selected ? 'true' : 'false', disabled: this.disabled, part: "tab", onClick: this.handleClick }, this.iconLeft && (index.h("co-icon", { key: 'a5084c288fbbf42f418450343b0cbcd1c36f3553', name: this.iconLeft, size: iconSize })), index.h("span", { key: '9dda4ae43156ee5e7274de262fb0df601b9a2221' }, this.label), this.badge && (index.h("span", { key: '84205996d20e27a69ac6dc49f88bf690ef9bb33d', class: "co-tab__badge", part: "badge" }, this.badge)), this.iconRight && (index.h("co-icon", { key: '7281ba1b981fca02a57b28f461877d2aa831e360', name: this.iconRight, size: iconSize }))));
37
+ }, type: "button", role: "tab", "aria-selected": this.selected ? 'true' : 'false', disabled: this.disabled, part: "tab", onClick: this.handleClick }, this.iconLeft && (index.h("co-icon", { key: '8bd16fd9d62bcf85872743b4508b1d7e774564a7', name: this.iconLeft, size: iconSize })), index.h("span", { key: 'e2477eb4d568a14cbc2751478b193f72fe485827' }, this.label), this.badge && (index.h("span", { key: '8d66cc9036bb4a70ffc51b29edbd1a766e650c41', class: "co-tab__badge", part: "badge" }, this.badge)), this.iconRight && (index.h("co-icon", { key: 'f7e31ab5fed7cc1c1df82655f16e52efd6459c04', name: this.iconRight, size: iconSize }))));
38
38
  }
39
39
  };
40
40
  CoTab.style = coTabCss();
@@ -176,14 +176,14 @@ const CoTagsField = class {
176
176
  const showClear = this.clearable && this.hasValue && !this.disabled && !this.readonly;
177
177
  const helper = this.isInvalid ? this.errorMessage : this.helperText;
178
178
  const showInput = !this.readonly && !this.atCapacity;
179
- return (index.h("div", { key: '1cddcc09b84bd9986332518809b22727e0ea6be8', class: {
179
+ return (index.h("div", { key: 'e7035dd352d920f06cf7ae067f4d5016fceff48b', class: {
180
180
  'co-tags-field': true,
181
181
  'co-tags-field--disabled': this.disabled,
182
182
  'co-tags-field--focused': this.hasFocus,
183
183
  'co-tags-field--filled': this.hasValue,
184
184
  'co-tags-field--invalid': this.isInvalid,
185
185
  [`co-tags-field--${this.size}`]: true,
186
- }, part: "wrapper" }, this.label && (index.h("div", { key: '2a17c1550fb77d74795e29019865decf25b62637', class: "co-tags-field__labels" }, index.h("label", { key: 'b4fa98a4375ebf9cb09854528bae440310dd6e7a', class: "co-tags-field__label", part: "label" }, this.label, index.h(requiredMark.RequiredMark, { key: '491ec28ffeade76cc659e5920654d4b25474348b', required: this.required })))), index.h("div", { key: '5959a21a0586e453bdd260a32aa4e9e6f9ee5b97', class: "co-tags-field__field-row" }, index.h("div", { key: 'babe8f7f15287758aaa6e644edbdd20bea271085', class: "co-tags-field__field", part: "field", onClick: this.handleFieldClick }, index.h("div", { key: '6f2a17374c0fd13463cd62f9596f7ff896b0b4b4', class: "co-tags-field__input-wrapper" }, tags.map((tag, index$1) => this.editingIndex === index$1 ? (index.h("input", { key: `edit-${index$1}`, ref: (el) => (this.editEl = el), class: "co-tags-field__edit", type: "text", value: this.editingDraft, onInput: (e) => (this.editingDraft = e.target.value), onKeyDown: this.handleEditKeyDown, onBlur: () => this.saveEdit() })) : (
186
+ }, part: "wrapper" }, this.label && (index.h("div", { key: '4ff2eb4ab1fb00a193679063a30069847d85c6be', class: "co-tags-field__labels" }, index.h("label", { key: '238e18f48cb6c482de2957cd0f466c9875c71c20', class: "co-tags-field__label", part: "label" }, this.label, index.h(requiredMark.RequiredMark, { key: '4a86dbeb54674e7b0f38052bb7f9c9a6b96e2380', required: this.required })))), index.h("div", { key: '2ce5b7b6c520aac7d10e0ae2aad06ca27d12b705', class: "co-tags-field__field-row" }, index.h("div", { key: 'aa2e01fbbeeaddc8a53ffcb62c4c871ba2fe57d6', class: "co-tags-field__field", part: "field", onClick: this.handleFieldClick }, index.h("div", { key: 'bb6b037edb3036b029a664f7ef6d72b110e7b6a8', class: "co-tags-field__input-wrapper" }, tags.map((tag, index$1) => this.editingIndex === index$1 ? (index.h("input", { key: `edit-${index$1}`, ref: (el) => (this.editEl = el), class: "co-tags-field__edit", type: "text", value: this.editingDraft, onInput: (e) => (this.editingDraft = e.target.value), onKeyDown: this.handleEditKeyDown, onBlur: () => this.saveEdit() })) : (
187
187
  // Shared field-chip (utils/fieldChip.tsx) per the Figma
188
188
  // "Tipo=Chips" spec — same look as co-ref-field's chips.
189
189
  index.h(fieldChip.FieldChip, { key: `chip-${index$1}-${tag}`, baseClass: "co-tags-field__chip", label: tag, title: tag, onChipDblClick: () => this.startEdit(index$1), onRemove: !this.disabled && !this.readonly
@@ -191,13 +191,13 @@ const CoTagsField = class {
191
191
  e.stopPropagation();
192
192
  this.removeTag(index$1);
193
193
  }
194
- : undefined }))), showInput && (index.h("input", { key: '13fb645e7da2b931d565591cdca76010cc585d3d', ref: (el) => (this.inputEl = el), class: "co-tags-field__native", type: "text", autocomplete: "off", value: this.draft, placeholder: tags.length === 0 ? this.placeholder : '', disabled: this.disabled, required: this.required && tags.length === 0, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? 'Tags' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, part: "input" }))), this.clearable && (index.h("button", { key: 'c7285e54cc7fbad03c5f0b107d01c31e63204f4b', class: {
194
+ : undefined }))), showInput && (index.h("input", { key: '419fa34260f36353b30c58b0883b8ebbaaca0176', ref: (el) => (this.inputEl = el), class: "co-tags-field__native", type: "text", autocomplete: "off", value: this.draft, placeholder: tags.length === 0 ? this.placeholder : '', disabled: this.disabled, required: this.required && tags.length === 0, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? 'Tags' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, part: "input" }))), this.clearable && (index.h("button", { key: '06372259382dfc3a6edeba8f7e6dd5b9617ae306', class: {
195
195
  'co-tags-field__clear': true,
196
196
  'co-tags-field__clear--hidden': !showClear,
197
- }, type: "button", tabIndex: -1, onMouseDown: (e) => e.preventDefault() /* keep input focus */, onClick: this.handleClearAll, "aria-label": "Clear all", part: "clear" }, index.h("co-icon", { key: '9361a6e3f0d35bb2e976106a77dd6ee3c0053490', name: "x-circle", size: 16, weight: "fill" }))))), this.name && index.h("input", { key: 'b0d3ea0609153c6237337bdf7463d3eaac0977d5', type: "hidden", name: this.name, value: JSON.stringify(tags) }), helper && (index.h("div", { key: 'be4a5527ef638303d3c4583063a364f03a26fbf6', class: {
197
+ }, type: "button", tabIndex: -1, onMouseDown: (e) => e.preventDefault() /* keep input focus */, onClick: this.handleClearAll, "aria-label": "Clear all", part: "clear" }, index.h("co-icon", { key: '1a2985e18467e778c56ae21c4de64ca7444cebcb', name: "x-circle", size: 16, weight: "fill" }))))), this.name && index.h("input", { key: '0a97d32c8efa0b29e0f050eceb4015cec8d55512', type: "hidden", name: this.name, value: JSON.stringify(tags) }), helper && (index.h("div", { key: '7225ade1dad3a5a63ad3214ae80890c082e89e19', class: {
198
198
  'co-tags-field__helper': true,
199
199
  'co-tags-field__helper--error': this.isInvalid,
200
- }, part: "helper" }, this.isInvalid && (index.h("co-icon", { key: 'b945852d4bc7cebf2440afb5507be3151009a789', name: "warning-circle", size: 14, class: "co-tags-field__helper-icon" })), index.h("span", { key: '92a7ac0cc4d84f63a4c9ca4b17c922bae485ffd6', class: "co-tags-field__helper-text" }, helper)))));
200
+ }, part: "helper" }, this.isInvalid && (index.h("co-icon", { key: '42225192d8d73f9e091ee069f7f5307ea42f5516', name: "warning-circle", size: 14, class: "co-tags-field__helper-icon" })), index.h("span", { key: '75eefd041a4d17ef9514ed24d7a3a417e89dc19c', class: "co-tags-field__helper-text" }, helper)))));
201
201
  }
202
202
  get el() { return index.getElement(this); }
203
203
  static get watchers() { return {
@@ -75,7 +75,7 @@ const CoTextarea = class {
75
75
  const showClear = this.clearable && this.hasValue && !this.disabled && !this.readonly;
76
76
  const isOverLimit = this.maxLength != null && this.charCount > this.maxLength;
77
77
  const statusClass = this.status !== 'default' ? `co-textarea--${this.status}` : '';
78
- return (index.h("div", { key: '9d323b813a3c11f045f48556233675ce07ceb79d', class: {
78
+ return (index.h("div", { key: '26a30e39d13d782711adb94e4c12c6c0db282095', class: {
79
79
  'co-textarea': true,
80
80
  'co-textarea--disabled': this.disabled,
81
81
  'co-textarea--focused': this.hasFocus,
@@ -84,13 +84,13 @@ const CoTextarea = class {
84
84
  [`co-textarea--${this.size}`]: true,
85
85
  [statusClass]: !!statusClass,
86
86
  'co-textarea--flat': this.variant === 'flat',
87
- }, part: "wrapper" }, (this.label || this.secondaryLabel) && (index.h("div", { key: 'efd2f5901bbb5e9ecd6ef6cecf9c58917dc310bc', class: "co-textarea__labels" }, this.label && (index.h("label", { key: '006c3e9b5b219164e1794617e0fee742a195f18e', class: "co-textarea__label", part: "label" }, this.label, index.h(requiredMark.RequiredMark, { key: '7a2842c50c8151104fb529bba60ea02045384744', required: this.required }))), this.secondaryLabel && (index.h("span", { key: '76798fcfeae6ed5f7fa7dcd5be4c5c32fc345198', class: "co-textarea__secondary-label" }, this.secondaryLabel)))), index.h("div", { key: '8ea7e80d1d39807d4b5097a7c010e79726caf6cf', class: "co-textarea__field", part: "field" }, index.h("textarea", { key: 'aeed03e98299c0bbdc11dc35c7ffb8964b5f5785', ref: (el) => (this.textareaEl = el), class: {
87
+ }, part: "wrapper" }, (this.label || this.secondaryLabel) && (index.h("div", { key: 'b4f8df968cff2b5b175cfcbf1e68b31ca29d9afe', class: "co-textarea__labels" }, this.label && (index.h("label", { key: 'af366be59684f535c8fb87e9b974ce759cc18076', class: "co-textarea__label", part: "label" }, this.label, index.h(requiredMark.RequiredMark, { key: 'e8a27b76c9fde30eef0aef8fbbbc46e296edf537', required: this.required }))), this.secondaryLabel && (index.h("span", { key: '945182ab7091298aab4631167615df0b742250d2', class: "co-textarea__secondary-label" }, this.secondaryLabel)))), index.h("div", { key: '23d1c1c7af5a03b0cd9196bfc18f24746f5e523d', class: "co-textarea__field", part: "field" }, index.h("textarea", { key: 'def518b0c40dad1749d9c4271f6b0b4bb08abb64', ref: (el) => (this.textareaEl = el), class: {
88
88
  'co-textarea__native': true,
89
89
  [`co-textarea__native--resize-${this.resize}`]: true,
90
- }, rows: this.rows, value: this.value, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, "aria-invalid": this.status === 'error' || isOverLimit ? 'true' : 'false', onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, part: "input" }), showClear && (index.h("button", { key: '886cea9e161fff68046654f854a110f8fbefa320', class: "co-textarea__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, index.h("co-icon", { key: '8f1055f7e0ea57b0811c0bed69e41fb7e70aaf34', name: "x-circle", size: 16, weight: "fill" })))), (this.helperText || this.maxLength != null) && (index.h("div", { key: '998fe8b200baac9f1f8198747b05f6836fedeb3d', class: "co-textarea__footer" }, this.helperText && (index.h("div", { key: 'deef703967cf1e57dab1a6df16b2e04139e41ed5', class: {
90
+ }, rows: this.rows, value: this.value, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, "aria-invalid": this.status === 'error' || isOverLimit ? 'true' : 'false', onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, part: "input" }), showClear && (index.h("button", { key: '207bde67b9f3adcca674b93dbb135bb10d448f5e', class: "co-textarea__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, index.h("co-icon", { key: '927918569b359aebd7c1f2e0ae8c7be607453531', name: "x-circle", size: 16, weight: "fill" })))), (this.helperText || this.maxLength != null) && (index.h("div", { key: '4374030bb6cbf6fa45c40f464481c2bf40cba6fc', class: "co-textarea__footer" }, this.helperText && (index.h("div", { key: 'b92692e4149b404999221cb6ef3de0d2adb73291', class: {
91
91
  'co-textarea__helper': true,
92
92
  'co-textarea__helper--error': this.status === 'error',
93
- }, part: "helper" }, this.status === 'error' && (index.h("co-icon", { key: '6f42cf1cb23657ca1db2cb2b5db5a4bbad94c05b', name: "warning-circle", size: 14, class: "co-textarea__helper-icon" })), index.h("span", { key: '85ab87ee37978ee22fffbca0cfc75d9609b97212', class: "co-textarea__helper-text" }, this.helperText))), this.maxLength != null && (index.h("span", { key: '97a0c33e19dc4f39da62daadb3122a1373884622', class: {
93
+ }, part: "helper" }, this.status === 'error' && (index.h("co-icon", { key: '544c72f9baa84f61b76104e62373dc8ba4d445e0', name: "warning-circle", size: 14, class: "co-textarea__helper-icon" })), index.h("span", { key: '531d0c60b322ce09760889cc1b979e3c48046847', class: "co-textarea__helper-text" }, this.helperText))), this.maxLength != null && (index.h("span", { key: '72eadc738677c3bbf50c9d0bdeb1cee713528507', class: {
94
94
  'co-textarea__counter': true,
95
95
  'co-textarea__counter--over': isOverLimit,
96
96
  }, part: "counter" }, this.charCount, "/", this.maxLength))))));
@@ -72,8 +72,8 @@ const CoToast = class {
72
72
  'co-toast--progress': hasProgress,
73
73
  'co-toast--in': this.entered,
74
74
  };
75
- const content = (index.h("div", { key: '5782bc9fab6ba26b7a73628f3d4155d8c8b948b5', class: "co-toast__content" }, index.h("span", { key: 'e10a34acb31b7486fe3d26b8dce48e80d643181e', class: "co-toast__message" }, this.message), hasDescription && (index.h("span", { key: '8b6d2c9db99fe292b5a7d183c4a7a43d8b551f7d', class: "co-toast__description" }, this.description))));
76
- return (index.h("div", { key: '30b8670f843101c9c3c409fa89f06d4e86167bc2', class: rootClass, part: "toast", role: role }, (drawsCheck || resolvedIcon) && (index.h("span", { key: 'e1420c1642606f7687fd7f093881e077b627cdc0', class: "co-toast__icon" }, resolvedIcon ? (index.h("co-icon", { name: resolvedIcon, size: 20 })) : (index.h("svg", { class: "co-toast__check", viewBox: "0 0 16 16", width: "20", height: "20", "aria-hidden": "true" }, index.h("path", { d: "M3.5 8.5l3 3 6-6.5", pathLength: "1", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), index.h("div", { key: '400ec792a47ad70c8c43dbf4ee2893e0424423bb', class: "co-toast__body" }, hasProgress ? (index.h("div", { class: "co-toast__progress" }, index.h("div", { class: "co-toast__progress-header" }, content, index.h("span", { class: "co-toast__percent" }, clampedProgress, "%")), index.h("div", { class: "co-toast__track", part: "track", role: "progressbar", "aria-valuenow": clampedProgress, "aria-valuemin": 0, "aria-valuemax": 100 }, index.h("span", { class: "co-toast__fill", part: "fill", style: { width: `${clampedProgress}%` } })))) : (content), isStacked && (index.h("div", { key: 'f23e18bdd93f6edc8b1a5af7bf78bcc73e0b7659', class: "co-toast__actions" }, index.h("slot", { key: '690f4816bd3cdbfbefd1c3942aea88c4be1bdd9b', name: "action" })))), !isStacked && (index.h("div", { key: '9c26cb590848ff43481fa1073b97b5199dde01ca', class: "co-toast__actions" }, index.h("slot", { key: 'ee2e7247f74064bfbd88fae99b3c6924db37e4be', name: "action" }))), this.dismissible && (index.h("button", { key: 'd061e369a02d7ebb5fd851bd20554dfbf149e536', class: "co-toast__dismiss", type: "button", "aria-label": "Dismiss", onClick: () => this.coDismiss.emit() }, index.h("co-icon", { key: '8d8ce58403181a0710bf16cc21b1f4f3a10be8f3', name: "x", size: 16 })))));
75
+ const content = (index.h("div", { key: '5479799fdc6e1290192530a8cbda7308a610821e', class: "co-toast__content" }, index.h("span", { key: '7d3b310377e78b8e5551cc80f2941aa621ea9bcb', class: "co-toast__message" }, this.message), hasDescription && (index.h("span", { key: 'f3d0a88cc99ba0884875217454192bf285480b65', class: "co-toast__description" }, this.description))));
76
+ return (index.h("div", { key: '1194ce0b8e6b279dcf747467df23903c9f79770d', class: rootClass, part: "toast", role: role }, (drawsCheck || resolvedIcon) && (index.h("span", { key: '46c9ed361690be9f2ad60235efbefbd9ab30bb0d', class: "co-toast__icon" }, resolvedIcon ? (index.h("co-icon", { name: resolvedIcon, size: 20 })) : (index.h("svg", { class: "co-toast__check", viewBox: "0 0 16 16", width: "20", height: "20", "aria-hidden": "true" }, index.h("path", { d: "M3.5 8.5l3 3 6-6.5", pathLength: "1", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), index.h("div", { key: 'e277b37fccc9c3770e3c102cb0039cd97f83223a', class: "co-toast__body" }, hasProgress ? (index.h("div", { class: "co-toast__progress" }, index.h("div", { class: "co-toast__progress-header" }, content, index.h("span", { class: "co-toast__percent" }, clampedProgress, "%")), index.h("div", { class: "co-toast__track", part: "track", role: "progressbar", "aria-valuenow": clampedProgress, "aria-valuemin": 0, "aria-valuemax": 100 }, index.h("span", { class: "co-toast__fill", part: "fill", style: { width: `${clampedProgress}%` } })))) : (content), isStacked && (index.h("div", { key: '029587321c2cd209fa838c24a435027b7a029a90', class: "co-toast__actions" }, index.h("slot", { key: 'c937442479f63185efc37428b9c25680ed72248d', name: "action" })))), !isStacked && (index.h("div", { key: 'b4f2be5646b30478315256d04cf86e4eb939fcb9', class: "co-toast__actions" }, index.h("slot", { key: '689ef19ee688a4f4abc38b4c8ec7918aed4338bf', name: "action" }))), this.dismissible && (index.h("button", { key: '7424c7bacc165e5e6828fa28233c3e8151c769f3', class: "co-toast__dismiss", type: "button", "aria-label": "Dismiss", onClick: () => this.coDismiss.emit() }, index.h("co-icon", { key: '64149b651baa0cdd39a4ed17a865d5624872d4a9', name: "x", size: 16 })))));
77
77
  }
78
78
  };
79
79
  CoToast.style = coToastCss();
@@ -72,13 +72,13 @@ const CoToggleButtonGroup = class {
72
72
  });
73
73
  }
74
74
  render() {
75
- return (index.h("div", { key: 'b8ab02efbc0d6d8490f5ab75af56290f05f45e6e', class: {
75
+ return (index.h("div", { key: '01f91b5b2749347beebc42452a260093ce47e117', class: {
76
76
  'co-toggle-button-group': true,
77
77
  [`co-toggle-button-group--${this.direction}`]: true,
78
78
  [`co-toggle-button-group--${this.variant}`]: true,
79
79
  'co-toggle-button-group--disabled': this.disabled,
80
80
  'co-toggle-button-group--full': this.fullWidth,
81
- }, role: "group" }, index.h("slot", { key: 'a43e7b7faf9051abac32eda76634ada88f0e3d5f' })));
81
+ }, role: "group" }, index.h("slot", { key: '1f5b0b91d4ec0a2b6cf120ba3e62d8c9ca60f41b' })));
82
82
  }
83
83
  get el() { return index.getElement(this); }
84
84
  static get watchers() { return {
@@ -25,13 +25,13 @@ const CoToggleButton = class {
25
25
  render() {
26
26
  const iconSize = this.variant === 'track' ? 18 : this.size === 'l' ? 20 : this.size === 'xs' ? 14 : 16;
27
27
  const iconWeight = this.selected && this.selectedIconWeight ? this.selectedIconWeight : undefined;
28
- return (index.h("button", { key: '8e7cae7ef747e0f9c1dae261c4a405ab067f3682', class: {
28
+ return (index.h("button", { key: 'c12171239c10c23954b6e2bc33f26583e3bfdde9', class: {
29
29
  'co-toggle-button': true,
30
30
  'co-toggle-button--selected': this.selected,
31
31
  [`co-toggle-button--${this.size}`]: true,
32
32
  'co-toggle-button--disabled': this.disabled,
33
33
  'co-toggle-button--icon-only': !this.label && (!!this.iconLeft || !!this.iconRight),
34
- }, type: "button", disabled: this.disabled, "aria-pressed": String(this.selected), onClick: this.handleClick }, index.h("slot", { key: 'e1d87665d05262e7b254d1a794837a9ae498abed', name: "leading" }), this.iconLeft && index.h("co-icon", { key: '0ecf3a91f22ac583166ebc823eedd1b889b708cb', name: this.iconLeft, size: iconSize, weight: iconWeight }), this.label && index.h("span", { key: '25cc1de5e1d12cd7d3cc575ce82b9e4f87f91afd', class: "co-toggle-button__label" }, this.label), this.iconRight && index.h("co-icon", { key: '15b8d7d2c140185ebfd2f53e8afcd52590a42243', name: this.iconRight, size: iconSize, weight: iconWeight })));
34
+ }, type: "button", disabled: this.disabled, "aria-pressed": String(this.selected), onClick: this.handleClick }, index.h("slot", { key: '99f4fd25830d9a39473496cb92b9b5e038bb45bc', name: "leading" }), this.iconLeft && index.h("co-icon", { key: '6a4fc7af28557a64a01cf62a0b53e95173fe0669', name: this.iconLeft, size: iconSize, weight: iconWeight }), this.label && index.h("span", { key: '6483a804b6d43d7ffe6e004c40bacec5c6e00980', class: "co-toggle-button__label" }, this.label), this.iconRight && index.h("co-icon", { key: 'bd6d165f96b8ae2fd036380f840fa308ac236200', name: this.iconRight, size: iconSize, weight: iconWeight })));
35
35
  }
36
36
  };
37
37
  CoToggleButton.style = coToggleButtonCss();
@@ -125,11 +125,11 @@ const CoTransferList = class {
125
125
  this.osInstances = [];
126
126
  }
127
127
  render() {
128
- return (index.h("div", { key: '9a616d53e0fe957aec9e59ea5d199c09d4083297', class: {
128
+ return (index.h("div", { key: 'a66d26c3f7d91cc1ad33a1c347637d6c03e13a2e', class: {
129
129
  'co-transfer-list': true,
130
130
  'co-transfer-list--disabled': this.disabled,
131
131
  [`co-transfer-list--${this.status}`]: this.status !== 'default',
132
- } }, this.label && index.h("label", { key: '24302a86a4f08e1ddcbbe9535b5b12b6ee94c25d', class: "co-transfer-list__label" }, this.label), index.h("div", { key: 'bd7ad2f3b43d126bc230be464f2e25cd4a3949d3', class: "co-transfer-list__body" }, this.renderList(this.leftItems, this.leftChecked, this.toggleLeftCheck, this.leftTitle), index.h("div", { key: 'e647f1e14d17e47cd82fa12ee1b28af48ba0aad7', class: "co-transfer-list__actions" }, index.h("button", { key: 'd4be83c7e045c082ad9e740893fa3df1201a7c4d', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllRight, "aria-label": "Move all right" }, index.h("co-icon", { key: 'ae0b82548e8ba9f7adf3fc21c82b99fad0b9e2a3', name: "caret-double-right", size: 16 })), index.h("button", { key: '31bcece1626c32ab14c942169ea292456af32f5f', class: "co-transfer-list__btn", disabled: this.disabled || this.leftChecked.size === 0, onClick: this.moveRight, "aria-label": "Move selected right" }, index.h("co-icon", { key: '014f67a3bb60923eceb398f1daa2a828520edbc3', name: "caret-right", size: 16 })), index.h("button", { key: '667465966f2951dbd1a67379fcb9a5267171bb07', class: "co-transfer-list__btn", disabled: this.disabled || this.rightChecked.size === 0, onClick: this.moveLeft, "aria-label": "Move selected left" }, index.h("co-icon", { key: '1ca76a18e2b600c59d582f772d11734759a01f91', name: "caret-left", size: 16 })), index.h("button", { key: 'f6dd471e953cd8e1015dd692028a6142ad23c48b', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllLeft, "aria-label": "Move all left" }, index.h("co-icon", { key: '1c153936bda438f919da2637b7b865d40bd80c4c', name: "caret-double-left", size: 16 }))), this.renderList(this.rightItems, this.rightChecked, this.toggleRightCheck, this.rightTitle)), this.helperText && (index.h("div", { key: '319b978ec04dce9abb1f8d48cb43cbc3939428db', class: `co-transfer-list__helper co-transfer-list__helper--${this.status}` }, this.statusIcon && index.h("co-icon", { key: 'cae67b4fbf235a07f23e8e368cd345333f239f5d', name: this.statusIcon, size: 14, weight: "fill", class: "co-transfer-list__helper-icon" }), index.h("span", { key: 'c0812b03a33d8543ffd19b3c34f071ae59a31876', class: "co-transfer-list__helper-text" }, this.helperText)))));
132
+ } }, this.label && index.h("label", { key: '08cf6b7951890739f73e79edf2dd76a4de5131c3', class: "co-transfer-list__label" }, this.label), index.h("div", { key: 'e83826673d6ba30e6700bd4401c122820a5db9be', class: "co-transfer-list__body" }, this.renderList(this.leftItems, this.leftChecked, this.toggleLeftCheck, this.leftTitle), index.h("div", { key: '7e65ed93739f9eed3160d4ff26ff3c3bf8f7f48e', class: "co-transfer-list__actions" }, index.h("button", { key: 'cc4a2b991dc65f2660e589e7f11122359a465aec', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllRight, "aria-label": "Move all right" }, index.h("co-icon", { key: 'def57d75c3ed67224f023e6de630de2fa0cb3043', name: "caret-double-right", size: 16 })), index.h("button", { key: 'd072365087785e09a0a34a3e3f9f2b9f5e56e1df', class: "co-transfer-list__btn", disabled: this.disabled || this.leftChecked.size === 0, onClick: this.moveRight, "aria-label": "Move selected right" }, index.h("co-icon", { key: 'd298964acff41d2dc6c4d6eb39ae9bcc916973dc', name: "caret-right", size: 16 })), index.h("button", { key: '5c3cc98de6ee806d35f6369623cbbc7ffdf906b7', class: "co-transfer-list__btn", disabled: this.disabled || this.rightChecked.size === 0, onClick: this.moveLeft, "aria-label": "Move selected left" }, index.h("co-icon", { key: '04084366aa7437612e8dee522f94266db6bea4cd', name: "caret-left", size: 16 })), index.h("button", { key: '3fa6e88f7ec9ea49b34d5f18cbccf21124509bff', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllLeft, "aria-label": "Move all left" }, index.h("co-icon", { key: 'fd0a35d20f5d7a8c1b4fb2010bb82e19cbc07225', name: "caret-double-left", size: 16 }))), this.renderList(this.rightItems, this.rightChecked, this.toggleRightCheck, this.rightTitle)), this.helperText && (index.h("div", { key: 'd4cca5feb1972a4a43039bf68780e1ef43bba802', class: `co-transfer-list__helper co-transfer-list__helper--${this.status}` }, this.statusIcon && index.h("co-icon", { key: '065ecb392fb716cc2df70eb01993e89f3fa14ad6', name: this.statusIcon, size: 14, weight: "fill", class: "co-transfer-list__helper-icon" }), index.h("span", { key: '293fd383071786d53318b2f2c2713fed39400a21', class: "co-transfer-list__helper-text" }, this.helperText)))));
133
133
  }
134
134
  get el() { return index.getElement(this); }
135
135
  };
@@ -803,14 +803,14 @@ const CoVideo = class {
803
803
  // ═══════════════════════════════════════════════════
804
804
  render() {
805
805
  const aspectClass = `co-video--${this.aspectRatio.replace(':', '-')}`;
806
- return (index.h(index.Host, { key: '4ce2bbc8f36581a0683493f8690a788b7aa79873' }, index.h("div", { key: '15aca30a1ab1397d4135e350ba027b1b050e908b', class: {
806
+ return (index.h(index.Host, { key: 'afcd3252e4796089e104c7dff1252aee299739de' }, index.h("div", { key: '4cc677bbd6ce519e262b2cc67a574c85f5ea9066', class: {
807
807
  'co-video': true,
808
808
  [aspectClass]: true,
809
809
  [`co-video--rounded-${this.rounded}`]: true,
810
810
  'co-video--disabled': this.disabled,
811
811
  'co-video--fullscreen': this.isFullscreen,
812
812
  'co-video--playing': this.isPlaying,
813
- }, part: "container", ref: el => (this.containerEl = el), role: "region", "aria-label": this.t.player, tabindex: 0, onKeyDown: this.handleKeyDown, onMouseMove: this.handleContainerMouseMove, onMouseLeave: this.handleContainerMouseLeave, onTouchStart: this.handleContainerTouchStart }, index.h("video", { key: '314574fe3e636ac479ee73fb429d14aeaba3371c', ref: el => (this.videoEl = el), class: "co-video__native", part: "video", src: this.src || undefined, poster: undefined, preload: this.preload, loop: this.loop, playsinline: true, tabindex: -1, controlsList: this.allowDownload ? undefined : 'nodownload' }), this.renderPoster(), this.renderLoader(), this.renderBigPlayButton(), this.renderError(), index.h("div", { key: '6883591629786aea9faed0d2c239942ba1900fad', class: "co-video__click-area", onClick: this.handleVideoAreaClick }), this.renderControls())));
813
+ }, part: "container", ref: el => (this.containerEl = el), role: "region", "aria-label": this.t.player, tabindex: 0, onKeyDown: this.handleKeyDown, onMouseMove: this.handleContainerMouseMove, onMouseLeave: this.handleContainerMouseLeave, onTouchStart: this.handleContainerTouchStart }, index.h("video", { key: 'f5313eb0f49b5185c62252fb68364526195ffd1c', ref: el => (this.videoEl = el), class: "co-video__native", part: "video", src: this.src || undefined, poster: undefined, preload: this.preload, loop: this.loop, playsinline: true, tabindex: -1, controlsList: this.allowDownload ? undefined : 'nodownload' }), this.renderPoster(), this.renderLoader(), this.renderBigPlayButton(), this.renderError(), index.h("div", { key: 'c6c54c6b9d329f7933b1b6fce15661c23f3f6c04', class: "co-video__click-area", onClick: this.handleVideoAreaClick }), this.renderControls())));
814
814
  }
815
815
  get el() { return index.getElement(this); }
816
816
  static get watchers() { return {