@prolibu-suite/cobalt-core 0.4.0 → 0.6.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 (523) hide show
  1. package/README.md +3 -3
  2. package/custom-elements.json +370 -154
  3. package/dist/cjs/co-accordion.cjs.entry.js +4 -4
  4. package/dist/cjs/co-app-shell.cjs.entry.js +3 -3
  5. package/dist/cjs/co-autocomplete.cjs.entry.js +38 -73
  6. package/dist/cjs/co-avatar-group.cjs.entry.js +3 -3
  7. package/dist/cjs/co-avatar.cjs.entry.js +2 -2
  8. package/dist/cjs/co-badge.cjs.entry.js +2 -2
  9. package/dist/cjs/co-bottom-sheet.cjs.entry.js +4 -4
  10. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +3 -3
  11. package/dist/cjs/co-breadcrumb.cjs.entry.js +2 -2
  12. package/dist/cjs/co-button-group.cjs.entry.js +3 -3
  13. package/dist/cjs/co-button.cjs.entry.js +4 -4
  14. package/dist/cjs/co-calendar-month.cjs.entry.js +2 -2
  15. package/dist/cjs/co-calendar_3.cjs.entry.js +19 -14
  16. package/dist/cjs/co-card.cjs.entry.js +3 -3
  17. package/dist/cjs/co-checkbox-group.cjs.entry.js +4 -4
  18. package/dist/cjs/co-checkbox.cjs.entry.js +4 -4
  19. package/dist/cjs/co-chip_2.cjs.entry.js +485 -0
  20. package/dist/cjs/co-color-picker.cjs.entry.js +4 -4
  21. package/dist/cjs/co-column-picker.cjs.entry.js +3 -3
  22. package/dist/cjs/co-combobox.cjs.entry.js +51 -82
  23. package/dist/cjs/co-command-search.cjs.entry.js +20 -59
  24. package/dist/cjs/co-data-table-pagination.cjs.entry.js +5 -5
  25. package/dist/cjs/co-data-table.cjs.entry.js +54 -5
  26. package/dist/cjs/co-date-picker.cjs.entry.js +2 -2
  27. package/dist/cjs/co-date-range-picker.cjs.entry.js +3 -3
  28. package/dist/cjs/co-date-range.cjs.entry.js +2 -2
  29. package/dist/cjs/co-drive-card.cjs.entry.js +2 -2
  30. package/dist/cjs/co-drop-zone.cjs.entry.js +2 -2
  31. package/dist/cjs/co-empty-state.cjs.entry.js +4 -4
  32. package/dist/cjs/co-event-calendar.cjs.entry.js +3 -3
  33. package/dist/cjs/co-fab.cjs.entry.js +5 -5
  34. package/dist/cjs/co-file-field.cjs.entry.js +7 -7
  35. package/dist/cjs/co-file-type-tile.cjs.entry.js +3 -3
  36. package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
  37. package/dist/cjs/co-icon-button.cjs.entry.js +2 -2
  38. package/dist/cjs/co-icon.cjs.entry.js +3 -3
  39. package/dist/cjs/co-input.cjs.entry.js +19 -3
  40. package/dist/cjs/co-json-field.cjs.entry.js +5 -5
  41. package/dist/cjs/co-lightbox.cjs.entry.js +6 -6
  42. package/dist/cjs/co-list-footer.cjs.entry.js +2 -2
  43. package/dist/cjs/co-list-item.cjs.entry.js +5 -5
  44. package/dist/cjs/co-loader.cjs.entry.js +1 -1
  45. package/dist/cjs/co-media-thumb.cjs.entry.js +3 -3
  46. package/dist/cjs/co-menu-divider.cjs.entry.js +2 -2
  47. package/dist/cjs/co-menu-item.cjs.entry.js +2 -2
  48. package/dist/cjs/co-menu.cjs.entry.js +2 -2
  49. package/dist/cjs/co-modal.cjs.entry.js +3 -3
  50. package/dist/cjs/co-navbar.cjs.entry.js +3 -3
  51. package/dist/cjs/co-number-field.cjs.entry.js +5 -5
  52. package/dist/cjs/co-overlay.cjs.entry.js +2 -2
  53. package/dist/cjs/co-page-header.cjs.entry.js +2 -2
  54. package/dist/cjs/co-phone-field.cjs.entry.js +4 -4
  55. package/dist/cjs/co-popover.cjs.entry.js +12 -3
  56. package/dist/cjs/co-progress-bar.cjs.entry.js +4 -4
  57. package/dist/cjs/co-progress-circle.cjs.entry.js +3 -3
  58. package/dist/cjs/co-radio-group.cjs.entry.js +4 -4
  59. package/dist/cjs/co-radio.cjs.entry.js +4 -4
  60. package/dist/cjs/co-rating.cjs.entry.js +4 -4
  61. package/dist/cjs/co-ref-field.cjs.entry.js +31 -135
  62. package/dist/cjs/co-rich-text-editor.cjs.entry.js +4 -4
  63. package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +1 -1
  64. package/dist/cjs/co-rich-text-viewer.cjs.entry.js +1 -1
  65. package/dist/cjs/co-row.cjs.entry.js +3 -3
  66. package/dist/cjs/co-segmented-bar.cjs.entry.js +3 -3
  67. package/dist/cjs/co-select.cjs.entry.js +7 -7
  68. package/dist/cjs/co-separator.cjs.entry.js +2 -2
  69. package/dist/cjs/co-sidebar-nav.cjs.entry.js +10 -8
  70. package/dist/cjs/co-sidebar.cjs.entry.js +3 -3
  71. package/dist/cjs/co-skeleton.cjs.entry.js +2 -2
  72. package/dist/cjs/co-slider.cjs.entry.js +3 -3
  73. package/dist/cjs/co-switch.cjs.entry.js +6 -6
  74. package/dist/cjs/co-tab-group.cjs.entry.js +10 -4
  75. package/dist/cjs/co-tab.cjs.entry.js +5 -5
  76. package/dist/cjs/co-tags-field.cjs.entry.js +8 -8
  77. package/dist/cjs/co-textarea.cjs.entry.js +6 -6
  78. package/dist/cjs/co-toast.cjs.entry.js +3 -3
  79. package/dist/cjs/co-toggle-button-group.cjs.entry.js +3 -3
  80. package/dist/cjs/co-toggle-button.cjs.entry.js +3 -3
  81. package/dist/cjs/co-tooltip.cjs.entry.js +3 -3
  82. package/dist/cjs/co-transfer-list.cjs.entry.js +3 -3
  83. package/dist/cjs/co-video.cjs.entry.js +4 -4
  84. package/dist/cjs/cobalt.cjs.js +2 -2
  85. package/dist/cjs/{fieldChip-DtYUP0VZ.js → fieldChip-D8YJCyQF.js} +1 -1
  86. package/dist/cjs/{index-NNvye1ul.js → index-DxEFsH_t.js} +9 -13
  87. package/dist/cjs/loader.cjs.js +2 -2
  88. package/dist/cjs/{requiredMark-DyjZzUCd.js → requiredMark-B3pKyqYI.js} +1 -1
  89. package/dist/cobalt/cobalt.css +1 -1
  90. package/dist/cobalt/cobalt.esm.js +1 -1
  91. package/dist/cobalt/{p-69289e82.entry.js → p-002e5beb.entry.js} +1 -1
  92. package/dist/cobalt/{p-c23a2ff6.entry.js → p-02c5a9a9.entry.js} +1 -1
  93. package/dist/cobalt/{p-9310739f.entry.js → p-075eed3d.entry.js} +1 -1
  94. package/dist/cobalt/p-0c0621a7.entry.js +1 -0
  95. package/dist/cobalt/{p-20c68308.entry.js → p-0d6a562d.entry.js} +1 -1
  96. package/dist/cobalt/p-0d7536a8.entry.js +1 -0
  97. package/dist/cobalt/{p-f72f0e38.entry.js → p-13fc9c8a.entry.js} +1 -1
  98. package/dist/cobalt/{p-39a29bbb.entry.js → p-14d4c5c7.entry.js} +1 -1
  99. package/dist/cobalt/{p-96baec0e.entry.js → p-1681ce1d.entry.js} +1 -1
  100. package/dist/cobalt/{p-593fd213.entry.js → p-1726ce07.entry.js} +1 -1
  101. package/dist/cobalt/{p-7d9f2021.entry.js → p-20ba59a2.entry.js} +1 -1
  102. package/dist/cobalt/{p-35c63fdc.entry.js → p-2d1cbd7f.entry.js} +1 -1
  103. package/dist/cobalt/{p-7040e4c5.entry.js → p-373cd08e.entry.js} +1 -1
  104. package/dist/cobalt/{p-4aeefe3f.entry.js → p-3f06d373.entry.js} +1 -1
  105. package/dist/cobalt/{p-8fdf2163.entry.js → p-3f68fd2e.entry.js} +1 -1
  106. package/dist/cobalt/{p-ca108c6d.entry.js → p-47a2dd67.entry.js} +1 -1
  107. package/dist/cobalt/{p-328f0470.entry.js → p-495c9b99.entry.js} +1 -1
  108. package/dist/cobalt/p-4a075257.entry.js +1 -0
  109. package/dist/cobalt/{p-aa1ad9fa.entry.js → p-5647ca9d.entry.js} +1 -1
  110. package/dist/cobalt/{p-3d07e4a9.entry.js → p-5b31d45b.entry.js} +1 -1
  111. package/dist/cobalt/p-5c3101b5.entry.js +1 -0
  112. package/dist/cobalt/{p-0e1afdea.entry.js → p-5c43d30e.entry.js} +1 -1
  113. package/dist/cobalt/{p-c85a6a9e.entry.js → p-5e9a9caf.entry.js} +1 -1
  114. package/dist/cobalt/{p-b4dcc260.entry.js → p-5edd0d3f.entry.js} +1 -1
  115. package/dist/cobalt/{p-d7c9cf93.entry.js → p-627d2d1a.entry.js} +1 -1
  116. package/dist/cobalt/{p-e8e752f9.entry.js → p-6911a034.entry.js} +1 -1
  117. package/dist/cobalt/{p-1388eac6.entry.js → p-6ad1625a.entry.js} +1 -1
  118. package/dist/cobalt/{p-c682453a.entry.js → p-70f70e02.entry.js} +1 -1
  119. package/dist/cobalt/p-73b30ebb.entry.js +1 -0
  120. package/dist/cobalt/p-75dcaeb0.entry.js +1 -0
  121. package/dist/cobalt/p-771bc8fe.entry.js +1 -0
  122. package/dist/cobalt/p-7780ddb5.entry.js +1 -0
  123. package/dist/cobalt/{p-e55fb916.entry.js → p-77d01b39.entry.js} +1 -1
  124. package/dist/cobalt/p-7FZXeBK4.js +1 -0
  125. package/dist/cobalt/{p-860a685f.entry.js → p-809015dd.entry.js} +1 -1
  126. package/dist/cobalt/{p-d403d9c4.entry.js → p-8128e84a.entry.js} +1 -1
  127. package/dist/cobalt/p-81cfd951.entry.js +1 -0
  128. package/dist/cobalt/{p-dd03c00b.entry.js → p-85eed52c.entry.js} +1 -1
  129. package/dist/cobalt/p-86d4e016.entry.js +1 -0
  130. package/dist/cobalt/{p-3dd6b57b.entry.js → p-86e60cfa.entry.js} +1 -1
  131. package/dist/cobalt/p-8a9ed2da.entry.js +1 -0
  132. package/dist/cobalt/{p-fb86cdb9.entry.js → p-8dfb6886.entry.js} +1 -1
  133. package/dist/cobalt/{p-d4086c34.entry.js → p-8e823c15.entry.js} +1 -1
  134. package/dist/cobalt/p-8f194753.entry.js +1 -0
  135. package/dist/cobalt/{p-08519a7c.entry.js → p-9a587867.entry.js} +1 -1
  136. package/dist/cobalt/{p-376c43b8.entry.js → p-9c6ca902.entry.js} +1 -1
  137. package/dist/cobalt/{p-bae82095.entry.js → p-9c873a6a.entry.js} +1 -1
  138. package/dist/cobalt/{p-BxzuCRMr.js → p-BAA4ln31.js} +1 -1
  139. package/dist/cobalt/{p-b8200f7f.entry.js → p-a6900010.entry.js} +1 -1
  140. package/dist/cobalt/p-a9afbaa6.entry.js +1 -0
  141. package/dist/cobalt/{p-2d4e1ca8.entry.js → p-aa20ffca.entry.js} +1 -1
  142. package/dist/cobalt/{p-e93644cb.entry.js → p-ac5df270.entry.js} +1 -1
  143. package/dist/cobalt/{p-8ae5da0c.entry.js → p-af4cb263.entry.js} +1 -1
  144. package/dist/cobalt/p-b1197c08.entry.js +1 -0
  145. package/dist/cobalt/p-b4bed98b.entry.js +1 -0
  146. package/dist/cobalt/{p-1cecb9e1.entry.js → p-b8ec0cc1.entry.js} +1 -1
  147. package/dist/cobalt/p-ba66584f.entry.js +1 -0
  148. package/dist/cobalt/{p-ff6be242.entry.js → p-bb534985.entry.js} +1 -1
  149. package/dist/cobalt/{p-6f12e721.entry.js → p-c0f39ddd.entry.js} +1 -1
  150. package/dist/cobalt/{p-804d025f.entry.js → p-c1e53e4c.entry.js} +1 -1
  151. package/dist/cobalt/p-c2e2eee9.entry.js +1 -0
  152. package/dist/cobalt/{p-af0495d8.entry.js → p-c3462def.entry.js} +1 -1
  153. package/dist/cobalt/p-c6fedc59.entry.js +1 -0
  154. package/dist/cobalt/{p-f6b93f17.entry.js → p-c750b2d2.entry.js} +1 -1
  155. package/dist/cobalt/{p-363a5262.entry.js → p-cc0a4617.entry.js} +1 -1
  156. package/dist/cobalt/{p-1af6ef83.entry.js → p-cc8e2f16.entry.js} +1 -1
  157. package/dist/cobalt/{p-c857b9ff.entry.js → p-d9608046.entry.js} +1 -1
  158. package/dist/cobalt/{p-be3e61f4.entry.js → p-e1957078.entry.js} +1 -1
  159. package/dist/cobalt/{p-a0749d7b.entry.js → p-e2762263.entry.js} +1 -1
  160. package/dist/cobalt/{p-21916f82.entry.js → p-e33853fa.entry.js} +1 -1
  161. package/dist/cobalt/p-e420d5c9.entry.js +1 -0
  162. package/dist/cobalt/{p-304c3be1.entry.js → p-e4a539da.entry.js} +1 -1
  163. package/dist/cobalt/{p-0be124d5.entry.js → p-e7085f08.entry.js} +1 -1
  164. package/dist/cobalt/p-e710b9ea.entry.js +1 -0
  165. package/dist/cobalt/p-e9aaeaf7.entry.js +1 -0
  166. package/dist/cobalt/{p-79e49749.entry.js → p-f073b467.entry.js} +1 -1
  167. package/dist/cobalt/p-f0de4415.entry.js +1 -0
  168. package/dist/cobalt/p-f36e461f.entry.js +1 -0
  169. package/dist/cobalt/p-f6ac5301.entry.js +1 -0
  170. package/dist/cobalt/{p-58aed8d6.entry.js → p-f6b0c4a0.entry.js} +1 -1
  171. package/dist/cobalt/p-f86ccb38.entry.js +1 -0
  172. package/dist/cobalt/{p-d7cbb4c7.entry.js → p-fb251497.entry.js} +1 -1
  173. package/dist/cobalt/p-fd27c2bd.entry.js +1 -0
  174. package/dist/cobalt/p-tT-aZV0-.js +2 -0
  175. package/dist/collection/collection-manifest.json +1 -1
  176. package/dist/collection/components/co-accordion/co-accordion.css +20 -8
  177. package/dist/collection/components/co-accordion/co-accordion.js +5 -2
  178. package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
  179. package/dist/collection/components/co-autocomplete/co-autocomplete.css +4 -751
  180. package/dist/collection/components/co-autocomplete/co-autocomplete.js +41 -76
  181. package/dist/collection/components/co-avatar/co-avatar.js +1 -1
  182. package/dist/collection/components/co-avatar-group/co-avatar-group.js +2 -2
  183. package/dist/collection/components/co-badge/co-badge.js +1 -1
  184. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
  185. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +1 -1
  186. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +2 -2
  187. package/dist/collection/components/co-button/co-button.css +5 -1
  188. package/dist/collection/components/co-button/co-button.js +2 -2
  189. package/dist/collection/components/co-button-group/co-button-group.js +2 -2
  190. package/dist/collection/components/co-calendar/co-calendar.css +12 -12
  191. package/dist/collection/components/co-calendar/co-calendar.js +1 -1
  192. package/dist/collection/components/co-calendar-month/co-calendar-month.js +1 -1
  193. package/dist/collection/components/co-card/co-card.js +2 -2
  194. package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
  195. package/dist/collection/components/co-checkbox-group/co-checkbox-group.js +3 -3
  196. package/dist/collection/components/co-chip/co-chip.js +2 -2
  197. package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
  198. package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
  199. package/dist/collection/components/co-combobox/co-combobox.css +6 -830
  200. package/dist/collection/components/co-combobox/co-combobox.js +73 -84
  201. package/dist/collection/components/co-command-search/co-command-search.css +2 -60
  202. package/dist/collection/components/co-command-search/co-command-search.js +23 -48
  203. package/dist/collection/components/co-data-table/co-data-table.css +42 -7
  204. package/dist/collection/components/co-data-table/co-data-table.js +108 -3
  205. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  206. package/dist/collection/components/co-date-field/co-date-field.css +4 -7
  207. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  208. package/dist/collection/components/co-date-range/co-date-range.js +1 -1
  209. package/dist/collection/components/co-date-range-picker/co-date-range-picker.css +9 -9
  210. package/dist/collection/components/co-drawer/co-drawer.css +49 -13
  211. package/dist/collection/components/co-drawer/co-drawer.js +9 -4
  212. package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
  213. package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
  214. package/dist/collection/components/co-empty-state/co-empty-state.css +1 -1
  215. package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
  216. package/dist/collection/components/co-event-calendar/co-event-calendar.js +2 -2
  217. package/dist/collection/components/co-fab/co-fab.css +8 -1
  218. package/dist/collection/components/co-fab/co-fab.js +24 -5
  219. package/dist/collection/components/co-file-field/co-file-field.js +5 -5
  220. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
  221. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  222. package/dist/collection/components/co-icon/co-icon.js +2 -2
  223. package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
  224. package/dist/collection/components/co-input/co-input.css +9 -6
  225. package/dist/collection/components/co-input/co-input.js +57 -0
  226. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  227. package/dist/collection/components/co-lightbox/co-lightbox.css +2 -2
  228. package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
  229. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  230. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  231. package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
  232. package/dist/collection/components/co-menu/co-menu.js +1 -1
  233. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  234. package/dist/collection/components/co-menu-item/co-menu-item.css +1 -1
  235. package/dist/collection/components/co-modal/co-modal.js +2 -2
  236. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  237. package/dist/collection/components/co-number-field/co-number-field.css +10 -11
  238. package/dist/collection/components/co-number-field/co-number-field.js +2 -2
  239. package/dist/collection/components/co-option-list/co-option-list.css +796 -58
  240. package/dist/collection/components/co-option-list/co-option-list.js +45 -6
  241. package/dist/collection/components/co-overlay/co-overlay.js +1 -1
  242. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  243. package/dist/collection/components/co-phone-field/co-phone-field.css +4 -7
  244. package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
  245. package/dist/collection/components/co-popover/co-popover.js +11 -2
  246. package/dist/collection/components/co-progress-bar/co-progress-bar.css +1 -1
  247. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  248. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  249. package/dist/collection/components/co-radio/co-radio.js +3 -3
  250. package/dist/collection/components/co-radio-group/co-radio-group.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 +6 -897
  253. package/dist/collection/components/co-ref-field/co-ref-field.js +0 -0
  254. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +1 -1
  255. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +2 -2
  256. package/dist/collection/components/co-row/co-row.js +2 -2
  257. package/dist/collection/components/co-segmented-bar/co-segmented-bar.js +2 -2
  258. package/dist/collection/components/co-select/co-select.css +4 -7
  259. package/dist/collection/components/co-select/co-select.js +4 -4
  260. package/dist/collection/components/co-separator/co-separator.js +1 -1
  261. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  262. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +8 -6
  263. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +8 -6
  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.css +3 -1
  267. package/dist/collection/components/co-switch/co-switch.js +3 -3
  268. package/dist/collection/components/co-tab/co-tab.css +39 -4
  269. package/dist/collection/components/co-tab/co-tab.js +6 -6
  270. package/dist/collection/components/co-tab-group/co-tab-group.css +11 -0
  271. package/dist/collection/components/co-tab-group/co-tab-group.js +10 -4
  272. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  273. package/dist/collection/components/co-textarea/co-textarea.js +4 -4
  274. package/dist/collection/components/co-toast/co-toast.js +2 -2
  275. package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
  276. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
  277. package/dist/collection/components/co-tooltip/co-tooltip.js +2 -2
  278. package/dist/collection/components/co-transfer-list/co-transfer-list.js +2 -2
  279. package/dist/collection/components/co-video/co-video.css +2 -2
  280. package/dist/collection/components/co-video/co-video.js +2 -2
  281. package/dist/components/co-accordion.js +1 -1
  282. package/dist/components/co-app-shell.js +1 -1
  283. package/dist/components/co-autocomplete.js +1 -1
  284. package/dist/components/co-avatar-group.js +1 -1
  285. package/dist/components/co-avatar.js +1 -1
  286. package/dist/components/co-badge.js +1 -1
  287. package/dist/components/co-bottom-sheet.js +1 -1
  288. package/dist/components/co-breadcrumb-item.js +1 -1
  289. package/dist/components/co-breadcrumb.js +1 -1
  290. package/dist/components/co-button-group.js +1 -1
  291. package/dist/components/co-button.js +1 -1
  292. package/dist/components/co-calendar-month.js +1 -1
  293. package/dist/components/co-calendar.js +1 -1
  294. package/dist/components/co-card.js +1 -1
  295. package/dist/components/co-checkbox-group.js +1 -1
  296. package/dist/components/co-checkbox.js +1 -1
  297. package/dist/components/co-chip.js +1 -1
  298. package/dist/components/co-color-picker.js +1 -1
  299. package/dist/components/co-column-picker.js +1 -1
  300. package/dist/components/co-combobox.js +1 -1
  301. package/dist/components/co-command-search.js +1 -1
  302. package/dist/components/co-data-table-pagination.js +1 -1
  303. package/dist/components/co-data-table.js +1 -1
  304. package/dist/components/co-date-field.js +1 -1
  305. package/dist/components/co-date-picker.js +1 -1
  306. package/dist/components/co-date-range-picker.js +1 -1
  307. package/dist/components/co-date-range.js +1 -1
  308. package/dist/components/co-drawer.js +1 -1
  309. package/dist/components/co-drive-card.js +1 -1
  310. package/dist/components/co-drop-zone.js +1 -1
  311. package/dist/components/co-empty-state.js +1 -1
  312. package/dist/components/co-event-calendar.js +1 -1
  313. package/dist/components/co-fab.js +1 -1
  314. package/dist/components/co-file-field.js +1 -1
  315. package/dist/components/co-file-type-tile.js +1 -1
  316. package/dist/components/co-helper-text.js +1 -1
  317. package/dist/components/co-icon-button.js +1 -1
  318. package/dist/components/co-icon.js +1 -1
  319. package/dist/components/co-input.js +1 -1
  320. package/dist/components/co-json-field.js +1 -1
  321. package/dist/components/co-lightbox.js +1 -1
  322. package/dist/components/co-list-footer.js +1 -1
  323. package/dist/components/co-list-item.js +1 -1
  324. package/dist/components/co-media-thumb.js +1 -1
  325. package/dist/components/co-menu-divider.js +1 -1
  326. package/dist/components/co-menu-item.js +1 -1
  327. package/dist/components/co-menu.js +1 -1
  328. package/dist/components/co-modal.js +1 -1
  329. package/dist/components/co-navbar.js +1 -1
  330. package/dist/components/co-number-field.js +1 -1
  331. package/dist/components/co-option-list.js +1 -1
  332. package/dist/components/co-overlay.js +1 -1
  333. package/dist/components/co-page-header.js +1 -1
  334. package/dist/components/co-phone-field.js +1 -1
  335. package/dist/components/co-popover.js +1 -1
  336. package/dist/components/co-progress-bar.js +1 -1
  337. package/dist/components/co-progress-circle.js +1 -1
  338. package/dist/components/co-radio-group.js +1 -1
  339. package/dist/components/co-radio.js +1 -1
  340. package/dist/components/co-rating.js +1 -1
  341. package/dist/components/co-ref-field.js +1 -1
  342. package/dist/components/co-rich-text-editor.js +1 -1
  343. package/dist/components/co-rich-text-toolbar.js +1 -1
  344. package/dist/components/co-row.js +1 -1
  345. package/dist/components/co-segmented-bar.js +1 -1
  346. package/dist/components/co-select.js +1 -1
  347. package/dist/components/co-separator.js +1 -1
  348. package/dist/components/co-sidebar-nav.js +1 -1
  349. package/dist/components/co-sidebar.js +1 -1
  350. package/dist/components/co-skeleton.js +1 -1
  351. package/dist/components/co-slider.js +1 -1
  352. package/dist/components/co-switch.js +1 -1
  353. package/dist/components/co-tab-group.js +1 -1
  354. package/dist/components/co-tab.js +1 -1
  355. package/dist/components/co-tags-field.js +1 -1
  356. package/dist/components/co-textarea.js +1 -1
  357. package/dist/components/co-toast.js +1 -1
  358. package/dist/components/co-toggle-button-group.js +1 -1
  359. package/dist/components/co-toggle-button.js +1 -1
  360. package/dist/components/co-tooltip.js +1 -1
  361. package/dist/components/co-transfer-list.js +1 -1
  362. package/dist/components/co-video.js +1 -1
  363. package/dist/components/index.js +1 -1
  364. package/dist/components/p-BHqdcGDh.js +1 -0
  365. package/dist/components/{p-B0buzt_E.js → p-BJTMFYax.js} +1 -1
  366. package/dist/components/{p-vLFwJ77w.js → p-Ba5lW0pA.js} +1 -1
  367. package/dist/components/p-Bsq90mo4.js +1 -0
  368. package/dist/components/{p-CybHxq25.js → p-CNIs9j-h.js} +1 -1
  369. package/dist/components/{p-Bx1OwdIV.js → p-COb8X_fE.js} +1 -1
  370. package/dist/components/{p-CzkeIavk.js → p-Cam92sWP.js} +1 -1
  371. package/dist/components/p-CmCsm4L-.js +1 -0
  372. package/dist/components/p-D3ts7oo9.js +1 -0
  373. package/dist/components/{p-CUvAZhuM.js → p-D4SOCy8I.js} +1 -1
  374. package/dist/components/{p-BnTTeIFH.js → p-Dh-h40mY.js} +1 -1
  375. package/dist/components/p-DrQh1Cb8.js +1 -0
  376. package/dist/components/{p-D7dk2gM7.js → p-DvL2TcDG.js} +1 -1
  377. package/dist/components/{p-BxiKVtk4.js → p-OKwHt2i9.js} +1 -1
  378. package/dist/components/{p-CBzpUqwG.js → p-QWi9AmnD.js} +1 -1
  379. package/dist/components/{p-B3igDRut.js → p-Xwo2HQmt.js} +1 -1
  380. package/dist/components/{p-DTS-dgEe.js → p-_k-j03K-.js} +1 -1
  381. package/dist/components/{p-HXlAaApx.js → p-eSq2ze8W.js} +1 -1
  382. package/dist/components/{p-C7tPadNy.js → p-lus32JrB.js} +1 -1
  383. package/dist/esm/co-accordion.entry.js +4 -4
  384. package/dist/esm/co-app-shell.entry.js +3 -3
  385. package/dist/esm/co-autocomplete.entry.js +38 -73
  386. package/dist/esm/co-avatar-group.entry.js +3 -3
  387. package/dist/esm/co-avatar.entry.js +2 -2
  388. package/dist/esm/co-badge.entry.js +2 -2
  389. package/dist/esm/co-bottom-sheet.entry.js +4 -4
  390. package/dist/esm/co-breadcrumb-item.entry.js +3 -3
  391. package/dist/esm/co-breadcrumb.entry.js +2 -2
  392. package/dist/esm/co-button-group.entry.js +3 -3
  393. package/dist/esm/co-button.entry.js +4 -4
  394. package/dist/esm/co-calendar-month.entry.js +2 -2
  395. package/dist/esm/co-calendar_3.entry.js +19 -14
  396. package/dist/esm/co-card.entry.js +3 -3
  397. package/dist/esm/co-checkbox-group.entry.js +4 -4
  398. package/dist/esm/co-checkbox.entry.js +4 -4
  399. package/dist/esm/co-chip_2.entry.js +482 -0
  400. package/dist/esm/co-color-picker.entry.js +4 -4
  401. package/dist/esm/co-column-picker.entry.js +3 -3
  402. package/dist/esm/co-combobox.entry.js +52 -83
  403. package/dist/esm/co-command-search.entry.js +21 -60
  404. package/dist/esm/co-data-table-pagination.entry.js +5 -5
  405. package/dist/esm/co-data-table.entry.js +54 -5
  406. package/dist/esm/co-date-picker.entry.js +2 -2
  407. package/dist/esm/co-date-range-picker.entry.js +3 -3
  408. package/dist/esm/co-date-range.entry.js +2 -2
  409. package/dist/esm/co-drive-card.entry.js +2 -2
  410. package/dist/esm/co-drop-zone.entry.js +2 -2
  411. package/dist/esm/co-empty-state.entry.js +4 -4
  412. package/dist/esm/co-event-calendar.entry.js +3 -3
  413. package/dist/esm/co-fab.entry.js +5 -5
  414. package/dist/esm/co-file-field.entry.js +7 -7
  415. package/dist/esm/co-file-type-tile.entry.js +3 -3
  416. package/dist/esm/co-helper-text.entry.js +3 -3
  417. package/dist/esm/co-icon-button.entry.js +2 -2
  418. package/dist/esm/co-icon.entry.js +3 -3
  419. package/dist/esm/co-input.entry.js +19 -3
  420. package/dist/esm/co-json-field.entry.js +5 -5
  421. package/dist/esm/co-lightbox.entry.js +6 -6
  422. package/dist/esm/co-list-footer.entry.js +2 -2
  423. package/dist/esm/co-list-item.entry.js +5 -5
  424. package/dist/esm/co-loader.entry.js +1 -1
  425. package/dist/esm/co-media-thumb.entry.js +3 -3
  426. package/dist/esm/co-menu-divider.entry.js +2 -2
  427. package/dist/esm/co-menu-item.entry.js +2 -2
  428. package/dist/esm/co-menu.entry.js +2 -2
  429. package/dist/esm/co-modal.entry.js +3 -3
  430. package/dist/esm/co-navbar.entry.js +3 -3
  431. package/dist/esm/co-number-field.entry.js +5 -5
  432. package/dist/esm/co-overlay.entry.js +2 -2
  433. package/dist/esm/co-page-header.entry.js +2 -2
  434. package/dist/esm/co-phone-field.entry.js +4 -4
  435. package/dist/esm/co-popover.entry.js +12 -3
  436. package/dist/esm/co-progress-bar.entry.js +4 -4
  437. package/dist/esm/co-progress-circle.entry.js +3 -3
  438. package/dist/esm/co-radio-group.entry.js +4 -4
  439. package/dist/esm/co-radio.entry.js +4 -4
  440. package/dist/esm/co-rating.entry.js +4 -4
  441. package/dist/esm/co-ref-field.entry.js +31 -135
  442. package/dist/esm/co-rich-text-editor.entry.js +4 -4
  443. package/dist/esm/co-rich-text-toolbar.entry.js +1 -1
  444. package/dist/esm/co-rich-text-viewer.entry.js +1 -1
  445. package/dist/esm/co-row.entry.js +3 -3
  446. package/dist/esm/co-segmented-bar.entry.js +3 -3
  447. package/dist/esm/co-select.entry.js +7 -7
  448. package/dist/esm/co-separator.entry.js +2 -2
  449. package/dist/esm/co-sidebar-nav.entry.js +10 -8
  450. package/dist/esm/co-sidebar.entry.js +3 -3
  451. package/dist/esm/co-skeleton.entry.js +2 -2
  452. package/dist/esm/co-slider.entry.js +3 -3
  453. package/dist/esm/co-switch.entry.js +6 -6
  454. package/dist/esm/co-tab-group.entry.js +10 -4
  455. package/dist/esm/co-tab.entry.js +5 -5
  456. package/dist/esm/co-tags-field.entry.js +8 -8
  457. package/dist/esm/co-textarea.entry.js +6 -6
  458. package/dist/esm/co-toast.entry.js +3 -3
  459. package/dist/esm/co-toggle-button-group.entry.js +3 -3
  460. package/dist/esm/co-toggle-button.entry.js +3 -3
  461. package/dist/esm/co-tooltip.entry.js +3 -3
  462. package/dist/esm/co-transfer-list.entry.js +3 -3
  463. package/dist/esm/co-video.entry.js +4 -4
  464. package/dist/esm/cobalt.js +3 -3
  465. package/dist/esm/{fieldChip-BBu4ukje.js → fieldChip-ChXW__C5.js} +1 -1
  466. package/dist/esm/{index-Es9IUmmt.js → index-tT-aZV0-.js} +9 -13
  467. package/dist/esm/loader.js +3 -3
  468. package/dist/esm/{requiredMark-Bg25QWFn.js → requiredMark-C7-_2UhB.js} +1 -1
  469. package/dist/types/components/co-accordion/co-accordion.d.ts +3 -0
  470. package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +12 -14
  471. package/dist/types/components/co-combobox/co-combobox.d.ts +29 -15
  472. package/dist/types/components/co-command-search/co-command-search.d.ts +13 -5
  473. package/dist/types/components/co-command-search/commandSearchLogic.d.ts +1 -1
  474. package/dist/types/components/co-data-table/co-data-table.d.ts +22 -0
  475. package/dist/types/components/co-fab/co-fab.d.ts +3 -1
  476. package/dist/types/components/co-input/co-input.d.ts +9 -0
  477. package/dist/types/components/co-option-list/co-option-list.d.ts +4 -0
  478. package/dist/types/components/co-popover/co-popover.d.ts +1 -0
  479. package/dist/types/components/co-ref-field/co-ref-field.d.ts +8 -30
  480. package/dist/types/components/co-sidebar-nav/co-sidebar-nav.d.ts +2 -0
  481. package/dist/types/components/co-tab/co-tab.d.ts +2 -2
  482. package/dist/types/components/co-tab-group/co-tab-group.d.ts +5 -1
  483. package/dist/types/components.d.ts +123 -45
  484. package/package.json +4 -4
  485. package/dist/cjs/co-chip.cjs.entry.js +0 -91
  486. package/dist/cjs/co-option-list.cjs.entry.js +0 -379
  487. package/dist/cobalt/p-06c27cc5.entry.js +0 -1
  488. package/dist/cobalt/p-075f6ca4.entry.js +0 -1
  489. package/dist/cobalt/p-0810ee1e.entry.js +0 -1
  490. package/dist/cobalt/p-0b41e76e.entry.js +0 -1
  491. package/dist/cobalt/p-19f7ee64.entry.js +0 -1
  492. package/dist/cobalt/p-23c9208a.entry.js +0 -1
  493. package/dist/cobalt/p-311118cb.entry.js +0 -1
  494. package/dist/cobalt/p-48c5f311.entry.js +0 -1
  495. package/dist/cobalt/p-523cfd98.entry.js +0 -1
  496. package/dist/cobalt/p-5eecea26.entry.js +0 -1
  497. package/dist/cobalt/p-64a0b656.entry.js +0 -1
  498. package/dist/cobalt/p-6a3ed174.entry.js +0 -1
  499. package/dist/cobalt/p-755ecee1.entry.js +0 -1
  500. package/dist/cobalt/p-76b46336.entry.js +0 -1
  501. package/dist/cobalt/p-7b5dec05.entry.js +0 -1
  502. package/dist/cobalt/p-87289d32.entry.js +0 -1
  503. package/dist/cobalt/p-BUgUTjOB.js +0 -1
  504. package/dist/cobalt/p-Es9IUmmt.js +0 -2
  505. package/dist/cobalt/p-a71fd4f1.entry.js +0 -1
  506. package/dist/cobalt/p-b045d680.entry.js +0 -1
  507. package/dist/cobalt/p-b3c8fc9a.entry.js +0 -1
  508. package/dist/cobalt/p-b8f36f12.entry.js +0 -1
  509. package/dist/cobalt/p-ba6f0f90.entry.js +0 -1
  510. package/dist/cobalt/p-c1abc74b.entry.js +0 -1
  511. package/dist/cobalt/p-cf239452.entry.js +0 -1
  512. package/dist/cobalt/p-d2507f04.entry.js +0 -1
  513. package/dist/cobalt/p-d55652f2.entry.js +0 -1
  514. package/dist/cobalt/p-da211abf.entry.js +0 -1
  515. package/dist/cobalt/p-dcc7fc95.entry.js +0 -1
  516. package/dist/collection/components/co-command-search/commandSearchGroup.js +0 -17
  517. package/dist/components/p-BhSJcOUS.js +0 -1
  518. package/dist/components/p-CZKHHCdL.js +0 -1
  519. package/dist/components/p-K6LC1Hz4.js +0 -1
  520. package/dist/components/p-LAxCvyJl.js +0 -1
  521. package/dist/esm/co-chip.entry.js +0 -89
  522. package/dist/esm/co-option-list.entry.js +0 -377
  523. package/dist/types/components/co-command-search/commandSearchGroup.d.ts +0 -20
@@ -51,6 +51,11 @@ export class CoOptionList {
51
51
  /** Término externo para highlight (input en el host, p.ej. ⌘K). */
52
52
  this.highlightTerm = '';
53
53
  this.avatarShape = 'circle';
54
+ // ── Navegación ─────────────────────────────────────────────
55
+ /** Auto-resalta la primera fila navegable al montar y en cada cambio de
56
+ * items (paridad command-palette: tipear + Enter = primer resultado).
57
+ * Salta filas disabled vía nextActiveIndex. */
58
+ this.autoHighlight = false;
54
59
  this.term = '';
55
60
  this.activeIndex = -1;
56
61
  this.scrollTop = 0;
@@ -107,6 +112,8 @@ export class CoOptionList {
107
112
  componentWillLoad() {
108
113
  this.term = this.initialTerm || '';
109
114
  this.takeSnapshot();
115
+ if (this.autoHighlight)
116
+ this.activeIndex = nextActiveIndex(-1, 1, this.orderedItems);
110
117
  }
111
118
  componentDidRender() {
112
119
  // OverlayScrollbars sobre el contenedor; wrapper interno estable para que
@@ -127,9 +134,15 @@ export class CoOptionList {
127
134
  this.osInstance = undefined;
128
135
  }
129
136
  onItemsChange() {
130
- // Nueva página / nuevos resultados: si el highlight quedó fuera de rango, resetea.
131
- if (this.activeIndex >= this.orderedItems.length)
137
+ // Nueva página / nuevos resultados: si autoHighlight, re-resalta la primera fila
138
+ // navegable (paridad command-palette); si no, solo resetea cuando el highlight
139
+ // quedó fuera de rango.
140
+ if (this.autoHighlight) {
141
+ this.activeIndex = nextActiveIndex(-1, 1, this.orderedItems);
142
+ }
143
+ else if (this.activeIndex >= this.orderedItems.length) {
132
144
  this.activeIndex = -1;
145
+ }
133
146
  // Clamp defensivo del scroll virtual: si la nueva lista es más corta que el
134
147
  // scrollTop actual (p.ej. búsqueda que redujo drásticamente el resultset),
135
148
  // reencuadra dentro de rango. NO resetear a 0 incondicionalmente — eso
@@ -188,6 +201,12 @@ export class CoOptionList {
188
201
  this.scrollActiveIntoView();
189
202
  return true;
190
203
  case 'Enter': {
204
+ // Enter con un fetch in-flight pickearía de la lista STALE (race
205
+ // detectada en smoke: el usuario teclea y confirma antes de que
206
+ // lleguen los resultados). Se consume sin actuar; el siguiente
207
+ // Enter opera sobre la lista fresca.
208
+ if (this.loading)
209
+ return true;
191
210
  const item = items[this.activeIndex];
192
211
  if (item && !item.disabled) {
193
212
  this.pick(item);
@@ -226,7 +245,7 @@ export class CoOptionList {
226
245
  // ── Render helpers ─────────────────────────────────────────
227
246
  renderLeading(item) {
228
247
  if (item.image || item.avatar) {
229
- return (h("co-avatar", { class: "co-option-list__avatar", type: item.image ? 'image' : 'text', src: item.image, text: item.avatar, color: item.color, size: "xs", shape: this.avatarShape }));
248
+ return (h("co-avatar", { class: "co-option-list__avatar", type: item.image ? 'image' : 'text', src: item.image, text: item.avatar, color: item.color, size: "xxs", shape: this.avatarShape }));
230
249
  }
231
250
  if (item.color)
232
251
  return h("span", { class: "co-option-list__dot", style: { backgroundColor: item.color } });
@@ -248,7 +267,7 @@ export class CoOptionList {
248
267
  'co-option-list__option--selected': isSelected,
249
268
  'co-option-list__option--active': index === this.activeIndex,
250
269
  'co-option-list__option--disabled': !!item.disabled,
251
- }, key: item._id, id: `co-optlist-${index}`, role: "option", "aria-selected": isSelected ? 'true' : 'false', "aria-disabled": item.disabled ? 'true' : 'false', onClick: () => !item.disabled && this.pick(item), onMouseEnter: () => { this.activeIndex = index; } }, this.renderLeading(item), h("div", { class: "co-option-list__text" }, h("span", { class: "co-option-list__title" }, h("span", { class: "co-option-list__label", style: item.labelColor ? { color: item.labelColor, fontWeight: '600' } : undefined }, this.renderLabelText(item.label)), item.suffix && h("span", { class: "co-option-list__suffix" }, "- ", item.suffix), item.badge && (h("span", { class: "co-option-list__badge", style: item.badge.color ? { backgroundColor: item.badge.color } : undefined }, item.badge.label))), item.description && h("span", { class: "co-option-list__desc" }, item.description)), isSelected && this.removableItems && this.multiple && (h("button", { class: "co-option-list__row-action", type: "button", tabIndex: -1, "aria-label": `Remove ${item.label}`, onClick: (e) => { e.stopPropagation(); this.coRemoveItem.emit(item._id); } }, h("co-icon", { name: "x-circle", size: 16, weight: "fill" }))), isSelected && !this.removableItems && this.selectedAffordance === 'deselect' && (h("button", { class: "co-option-list__row-action", type: "button", tabIndex: -1, "aria-label": `Deselect ${item.label}`, onClick: (e) => { e.stopPropagation(); this.pick(item); } }, h("co-icon", { name: "x-circle", size: 18, weight: "fill" }))), isSelected && !this.removableItems && this.selectedAffordance === 'check' && (h("co-icon", { name: "check", size: 16, class: "co-option-list__check" }))));
270
+ }, key: item._id, id: `co-optlist-${index}`, role: "option", "aria-selected": isSelected ? 'true' : 'false', "aria-disabled": item.disabled ? 'true' : 'false', onClick: () => !item.disabled && this.pick(item), onMouseEnter: () => { this.activeIndex = index; } }, this.renderLeading(item), h("div", { class: "co-option-list__text" }, h("span", { class: "co-option-list__title" }, h("span", { class: "co-option-list__label", style: item.labelColor ? { color: item.labelColor, fontWeight: '600' } : undefined }, this.renderLabelText(item.label)), item.suffix && h("span", { class: "co-option-list__suffix" }, "- ", item.suffix), item.badge && (h("span", { class: "co-option-list__badge", style: item.badge.color ? { backgroundColor: item.badge.color, color: 'var(--co-color-base-blanco, #fff)' } : undefined }, item.badge.label))), item.description && h("span", { class: "co-option-list__desc" }, item.description)), isSelected && this.removableItems && this.multiple && (h("button", { class: "co-option-list__row-action", type: "button", tabIndex: -1, "aria-label": `Remove ${item.label}`, onClick: (e) => { e.stopPropagation(); this.coRemoveItem.emit(item._id); } }, h("co-icon", { name: "x-circle", size: 16, weight: "fill" }))), isSelected && !this.removableItems && this.selectedAffordance === 'deselect' && (h("button", { class: "co-option-list__row-action", type: "button", tabIndex: -1, "aria-label": `Deselect ${item.label}`, onClick: (e) => { e.stopPropagation(); this.pick(item); } }, h("co-icon", { name: "x-circle", size: 16, weight: "fill" }))), isSelected && !this.removableItems && this.selectedAffordance === 'check' && (h("co-icon", { name: "check", size: 16, class: "co-option-list__check" }))));
252
271
  }
253
272
  renderVirtual(items, selectedIds) {
254
273
  const { totalHeight, startIdx, endIdx, offsetY } = virtualSlice(this.scrollTop, items.length);
@@ -259,11 +278,11 @@ export class CoOptionList {
259
278
  const selectedIds = this.selectedIds;
260
279
  const { hasMore, remaining } = deriveMore(this.parsedItems.length, this.total, this.hasMore);
261
280
  const showClear = !!this.clearOptionLabel && selectedIds.length > 0;
262
- return (h("div", { key: '2354775b63fe7419f03500639a66010c79e261d2', class: "co-option-list", onKeyDown: this.onRootKeyDown }, this.searchable && (h("div", { key: '9621030007e83e7906dcd07f59deb7623a06ef66', class: "co-option-list__search", part: "search" }, h("co-icon", { key: '9a28e5fa86aa8e0196a8efa47bb03ff361441d97', name: "magnifying-glass", size: 16 }), h("input", { key: 'd78d1a37d904811841e0077c07b74f8d6939848d', 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: '99335055c0ce9cef160ef84eaf0d85d79fc9ce17', 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: '716d4bd2d8fa07f6054c2b96eace6be78b2b07eb', class: "co-option-list__inner" }, showClear && (h("button", { key: '03eca612c006784e6d46ed0f4924b20c52582c75', class: "co-option-list__clear-row", type: "button", onClick: () => this.coClearSelection.emit() }, h("co-icon", { key: '2ea79932eb4d1e4aaec62cacbcb42aa008cbb5cf', name: "x-circle", size: 14 }), h("span", { key: '04348a03193f518a94aab87f95a885ff6ff10af6' }, this.clearOptionLabel))), this.loading && items.length === 0 && (h("div", { key: '5433843784a569c17ef7c2b51e82a4244f36d969', class: "co-option-list__loading" }, h("co-loader", { key: '52df16368ce659d2599b620affba0ca7715b7f3c', size: "sm" }))), !this.loading && items.length === 0 && (h("div", { key: 'f998f6dc92acf6e96c236e83e00d27cf837f5306', class: "co-option-list__empty" }, h("co-icon", { key: 'ebdaafcefda9a4502ecdb448d7b1a6bb89165484', name: "magnifying-glass", size: 20 }), h("span", { key: '6532f13666769f9496baa21348d709d08083f395' }, this.emptyMessage))), items.length > 0 && this.virtual
281
+ 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
263
282
  ? this.renderVirtual(items, selectedIds)
264
283
  : buildRows(items).map((row) => row.kind === 'header'
265
284
  ? h("div", { class: "co-option-list__group", role: "presentation" }, row.label)
266
- : this.renderRow(row.item, row.index, selectedIds)), this.loading && items.length > 0 && (h("div", { key: 'b2e4c16e8f39a96f1154101a755f9edf43ecb354', class: "co-option-list__loading-more" }, h("co-loader", { key: 'c4a5161d81ddf6d5a106d8fe484f60d3c83e37db', size: "sm" }))), !this.loading && hasMore && remaining > 0 && (h("div", { key: '7adc44652a3c740e21e364d51fa69a96a654818c', class: "co-option-list__more" }, remaining, " more results")))), h("slot", { key: 'bf2d4d336ef235d9213bf176403d30a7a899437b', name: "footer" })));
285
+ : 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" })));
267
286
  }
268
287
  static get is() { return "co-option-list"; }
269
288
  static get encapsulation() { return "shadow"; }
@@ -692,6 +711,26 @@ export class CoOptionList {
692
711
  "reflect": false,
693
712
  "attribute": "avatar-shape",
694
713
  "defaultValue": "'circle'"
714
+ },
715
+ "autoHighlight": {
716
+ "type": "boolean",
717
+ "mutable": false,
718
+ "complexType": {
719
+ "original": "boolean",
720
+ "resolved": "boolean",
721
+ "references": {}
722
+ },
723
+ "required": false,
724
+ "optional": false,
725
+ "docs": {
726
+ "tags": [],
727
+ "text": "Auto-resalta la primera fila navegable al montar y en cada cambio de\nitems (paridad command-palette: tipear + Enter = primer resultado).\nSalta filas disabled v\u00EDa nextActiveIndex."
728
+ },
729
+ "getter": false,
730
+ "setter": false,
731
+ "reflect": false,
732
+ "attribute": "auto-highlight",
733
+ "defaultValue": "false"
695
734
  }
696
735
  };
697
736
  }
@@ -187,7 +187,7 @@ export class CoOverlay {
187
187
  focusables[nextIndex].focus();
188
188
  }
189
189
  render() {
190
- return (h("div", { key: 'da8d1cc91e1e1a6ae1b9c1bc9fea2aefb0e8170a', class: { 'co-overlay': true, 'co-overlay--open': this.open }, part: "overlay", popover: "manual", tabindex: this.trapFocus ? -1 : undefined, ref: (el) => (this.overlayEl = el), onClick: this.handleClick, onTransitionEnd: this.handleTransitionEnd }, h("slot", { key: '884c740ff55fc6c9d34ddbb996fad1f7ea058344' })));
190
+ return (h("div", { key: 'e70f495933546eca563a6d07ad1cea1fa9679945', class: { 'co-overlay': true, 'co-overlay--open': this.open }, part: "overlay", popover: "manual", tabindex: this.trapFocus ? -1 : undefined, ref: (el) => (this.overlayEl = el), onClick: this.handleClick, onTransitionEnd: this.handleTransitionEnd }, h("slot", { key: 'f7bdd4bf7c20374c45beab4cebe4b98211ccd095' })));
191
191
  }
192
192
  static get is() { return "co-overlay"; }
193
193
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@ import { h } from "@stencil/core";
6
6
  */
7
7
  export class CoPageHeader {
8
8
  render() {
9
- return (h("div", { key: '79bbf7064e2f72b992bc9c24bd3666071ef1cc7b', class: "co-page-header", part: "page-header" }, h("div", { key: '35aed98b3aaca45ffb20c9338e901f9d65f71fe0', class: "co-page-header__left" }, this.icon && (h("span", { key: '58c1c53d14b98c1731cd544c82a0e874a3da4e42', class: "co-page-header__icon" }, h("co-icon", { key: '882f34bd6a6cb1812f9e4f62cb35aed21a017212', name: this.icon, size: 24 }))), h("span", { key: '3bea48bca6b9d8ba5a539ed74bf505ae9c6cdd22', class: "co-page-header__title" }, h("slot", { key: 'ba1007a022068edbe53fa3903162564b23784f6e' }, this.heading))), h("div", { key: 'eb8127421713990cc25714a63ca0c450b22b3171', class: "co-page-header__actions" }, h("slot", { key: '631718ea4e974d946a185772c50abcf1b6128199', name: "actions" }))));
9
+ return (h("div", { key: '8cc8c7c22074b9d26f1188862281cfe529176caa', class: "co-page-header", part: "page-header" }, h("div", { key: '3b500f4d87dca9e030b73072aa91cffac152a77a', class: "co-page-header__left" }, this.icon && (h("span", { key: 'ae3a8660321c7e35df329e1cd81bf8ade4b7d423', class: "co-page-header__icon" }, h("co-icon", { key: '7571121b507d205beb602164db650858ef1ec7c6', name: this.icon, size: 24 }))), h("span", { key: '2b75edfe92074136c414fe4245500296f937aa84', class: "co-page-header__title" }, h("slot", { key: '7c90582ce3205119e2cfe2b30b3407ddfd88a8fb' }, this.heading))), h("div", { key: '22fd3ea46014f8a717379d5a779c51631722f136', class: "co-page-header__actions" }, h("slot", { key: '06ab6736b021352f673197234426122c0677aa8c', name: "actions" }))));
10
10
  }
11
11
  static get is() { return "co-page-header"; }
12
12
  static get encapsulation() { return "shadow"; }
@@ -48,10 +48,10 @@
48
48
  align-items: center;
49
49
  gap: var(--co-spacing-sm2);
50
50
  padding: var(--co-spacing-sm2) var(--co-spacing-md);
51
- background: color-mix(in srgb, var(--co-semantic-surface-secondary) 55%, transparent);
52
- -webkit-backdrop-filter: blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));
53
- backdrop-filter: blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));
54
- border: 1px solid var(--co-semantic-border-subtle);
51
+ /* Figma Text Field parity (same box as co-input): solid page surface +
52
+ Negro 25% border — tinted glass didn't read as editable on white. */
53
+ background: var(--co-semantic-surface-page);
54
+ border: 1px solid var(--co-color-opacity-negro-25, rgba(31, 28, 27, 0.25));
55
55
  border-radius: var(--co-border-radius-xs);
56
56
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
57
57
  min-height: 40px;
@@ -288,6 +288,3 @@
288
288
  min-width: 0;
289
289
  }
290
290
 
291
- @supports not (background: color-mix(in srgb, red, transparent)) {
292
- .co-phone-field__container { background: var(--co-semantic-surface-secondary); }
293
- }
@@ -159,7 +159,7 @@ export class CoPhoneField {
159
159
  render() {
160
160
  const entry = this.selectedEntry;
161
161
  const statusClass = this.status !== 'default' ? `co-phone-field--${this.status}` : '';
162
- return (h("div", { key: 'a716785bef2a754a09c502f13fcae90f7a8cb00e', class: `co-phone-field co-phone-field--${this.size} ${statusClass} ${this.disabled ? 'co-phone-field--disabled' : ''}` }, this.label && (h("label", { key: 'ec550e1d699292885133c96effcb791541f649aa', class: "co-phone-field__label" }, this.label, h(RequiredMark, { key: '61c864be67e0283a00db014b1cd2bb734c249a2d', required: this.required }))), h("div", { key: 'e019c16551cc205bf27e03cc7a4f91fb95ec07e7', class: "co-phone-field__container" }, h("button", { key: '58a0958e3e3240bcd68edcde4d2dc1de72ecaf33', type: "button", class: "co-phone-field__selector", disabled: this.disabled, onClick: () => this.handleToggleDropdown(), "aria-expanded": String(this.isOpen), "aria-haspopup": "listbox" }, entry ? (h("img", { class: "co-phone-field__flag", src: `https://flagcdn.com/w40/${entry.iso2.toLowerCase()}.png`, alt: entry.iso2 })) : (h("co-icon", { name: "phone", size: 16 })), h("span", { key: 'ee75fbf56e703a88b6026244588d2da0f4ed1478', class: "co-phone-field__dial-code" }, entry ? entry.dialCode : ''), h("span", { key: '05b173aded9b5fd4cf2173c453c70d94ddb8dd00', class: "co-phone-field__chevron" }, h("co-icon", { key: 'd7a543b4bedd61d7e6fdf88ae56cbf350fea31be', name: "caret-down", size: 14 }))), h("input", { key: '31e21dbce76c374dc8dd0c80919b7af0d8641375', class: "co-phone-field__input", type: "tel", placeholder: this.placeholder, value: this.numberPart, disabled: this.disabled, onInput: (e) => this.handleNumberInput(e) })), this.isOpen && (h("div", { key: '8b5689485bba266776b988564a2b14602a80d9d4', class: "co-phone-field__dropdown", role: "listbox" }, h("div", { key: 'f4453a595520c177e5f1ef184737c3b25bf84939', class: "co-phone-field__search" }, h("input", { key: '5f85ac03bbd7dff3f8d9130ab1f0a4c23b5d327d', class: "co-phone-field__search-input", type: "text", placeholder: "Search country...", value: this.searchQuery, onInput: (e) => this.handleSearchInput(e), autoFocus: true })), h("div", { key: '97051407520f0ba0514c746064e813b033ae1594', class: "co-phone-field__options" }, this.filteredCountries.map((d) => (h("button", { type: "button", key: d.iso2, class: `co-phone-field__option ${d.iso2 === this.selectedIso2 ? 'co-phone-field__option--selected' : ''}`, role: "option", "aria-selected": d.iso2 === this.selectedIso2 ? 'true' : 'false', onClick: () => this.handleCountrySelect(d) }, h("img", { class: "co-phone-field__option-flag", src: `https://flagcdn.com/w40/${d.iso2.toLowerCase()}.png`, alt: d.iso2 }), h("span", { class: "co-phone-field__option-name" }, this.renderName(d.name)), h("span", { class: "co-phone-field__option-code" }, d.dialCode))))))), this.helperText && (h("div", { key: '6d19085b7a08978c42f05713de48c1bdf0b19dba', class: "co-phone-field__helper" }, this.statusIcon && (h("co-icon", { key: '612cf27d01f0afda0fa75d58206114160dd61bcb', name: this.statusIcon, size: 14, weight: "fill", class: "co-phone-field__helper-icon" })), h("span", { key: '910b4584c3a2df48e30d11894bba7fd8fbb7e03c', class: "co-phone-field__helper-text" }, this.helperText)))));
162
+ return (h("div", { key: '0c1c765453fd4ec3c25ea586c24df13d563d0183', class: `co-phone-field co-phone-field--${this.size} ${statusClass} ${this.disabled ? 'co-phone-field--disabled' : ''}` }, this.label && (h("label", { key: '7241ea86c1aa5ecdfaca9f916da0b8857c546f7f', class: "co-phone-field__label" }, this.label, h(RequiredMark, { key: 'a9b6361645cfbaf46a51eae6251a1e4896661b45', required: this.required }))), h("div", { key: '88f91585a55d38b3a9e1d0141a804633e8cda902', class: "co-phone-field__container" }, h("button", { key: '86b736933e4116fe035bf744b974f39d8f9282ad', type: "button", class: "co-phone-field__selector", disabled: this.disabled, onClick: () => this.handleToggleDropdown(), "aria-expanded": String(this.isOpen), "aria-haspopup": "listbox" }, entry ? (h("img", { class: "co-phone-field__flag", src: `https://flagcdn.com/w40/${entry.iso2.toLowerCase()}.png`, alt: entry.iso2 })) : (h("co-icon", { name: "phone", size: 16 })), h("span", { key: '8417712d8a5da930057989996f830874a38e5320', class: "co-phone-field__dial-code" }, entry ? entry.dialCode : ''), h("span", { key: '8bf326a6846b9a3ed83a6cf2191e5df2d8cc859a', class: "co-phone-field__chevron" }, h("co-icon", { key: 'fb5d2975572898de1f82e295180f55306b326bbf', name: "caret-down", size: 14 }))), h("input", { key: '797a9cbea54cb59c40da94365eb8a1350e750cea', class: "co-phone-field__input", type: "tel", placeholder: this.placeholder, value: this.numberPart, disabled: this.disabled, onInput: (e) => this.handleNumberInput(e) })), this.isOpen && (h("div", { key: '48cb464f8abb745ae4a15428b1fa339d0f51264d', class: "co-phone-field__dropdown", role: "listbox" }, h("div", { key: 'a0deba5bd857051ff6917be7f87829291379c9ac', class: "co-phone-field__search" }, h("input", { key: '621d9b646763d44535e158f618113dfe5bfe807e', class: "co-phone-field__search-input", type: "text", placeholder: "Search country...", value: this.searchQuery, onInput: (e) => this.handleSearchInput(e), autoFocus: true })), h("div", { key: 'f704fb94729f3001faa17e0fdb631bda0cc03b02', class: "co-phone-field__options" }, this.filteredCountries.map((d) => (h("button", { type: "button", key: d.iso2, class: `co-phone-field__option ${d.iso2 === this.selectedIso2 ? 'co-phone-field__option--selected' : ''}`, role: "option", "aria-selected": d.iso2 === this.selectedIso2 ? 'true' : 'false', onClick: () => this.handleCountrySelect(d) }, h("img", { class: "co-phone-field__option-flag", src: `https://flagcdn.com/w40/${d.iso2.toLowerCase()}.png`, alt: d.iso2 }), h("span", { class: "co-phone-field__option-name" }, this.renderName(d.name)), h("span", { class: "co-phone-field__option-code" }, d.dialCode))))))), this.helperText && (h("div", { key: 'acdb17617c05389dc188b5c02e301841302ddfc5', class: "co-phone-field__helper" }, this.statusIcon && (h("co-icon", { key: '966719a393cf04403fab56f839b383c2df02597e', name: this.statusIcon, size: 14, weight: "fill", class: "co-phone-field__helper-icon" })), h("span", { key: '3e91617e7159c113219acb3617c1a0db1fc736f3', class: "co-phone-field__helper-text" }, this.helperText)))));
163
163
  }
164
164
  static get is() { return "co-phone-field"; }
165
165
  static get encapsulation() { return "shadow"; }
@@ -108,6 +108,15 @@ export class CoPopover {
108
108
  // per-mounted-popover overhead — pages with dozens of inline filters used to
109
109
  // pay for capture-phase listeners on every click for popovers that may never
110
110
  // open.
111
+ componentDidLoad() {
112
+ // Stencil NO dispara @Watch para el valor inicial: un popover CONTROLADO que
113
+ // monta ya con open=true (fresh-mount, p.ej. HeaderFilterPanel de suite-v2)
114
+ // quedaba promovido al top-layer pero SIN posicionar (centrado por el UA
115
+ // stylesheet de [popover]) y sin listeners de ESC/click-fuera/scroll.
116
+ // Ejecutar el show-path explícitamente cubre ese caso.
117
+ if (this.open)
118
+ this.onOpenChange(true);
119
+ }
111
120
  disconnectedCallback() {
112
121
  this.unbindDocListeners();
113
122
  this.cleanupListeners();
@@ -214,13 +223,13 @@ export class CoPopover {
214
223
  }
215
224
  // ── Render ─────────────────────────────────────────────────
216
225
  render() {
217
- return (h("div", { key: '1d797487362744cb7d90dd47f428ee1dd859abfa', class: "co-popover" }, h("div", { key: 'ab088b70a9f179a3ea98378fe6004f7e7ba7634a', class: "co-popover__trigger", ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick }, h("slot", { key: 'a087953350db65b6671466b136f8fad5dee9dba0', name: "trigger" })), this.open && (h("div", { key: 'a951cb121f3b258b51a90ee75450d555e87f3eb0', class: "co-popover__panel", popover: "manual", ref: (el) => {
226
+ return (h("div", { key: 'b39b9ec82457b91b62a5a82e400d598a45c99f95', class: "co-popover" }, h("div", { key: '925ffcd374f6f92ddc6991ed658eb7053f7fad44', class: "co-popover__trigger", ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick }, h("slot", { key: '15cc3984fe8792738912406fb5479984f6de814e', name: "trigger" })), this.open && (h("div", { key: '61beaefd72b8b86e2deb8d8a4ba4e85a57cb4757', class: "co-popover__panel", popover: "manual", ref: (el) => {
218
227
  if (el && el !== this.panelEl) {
219
228
  this.panelEl = el;
220
229
  this.promotePanel();
221
230
  this.scheduleUpdate();
222
231
  }
223
- } }, h("slot", { key: 'dc00cee702a8162705b7891684b0765400289bb4' })))));
232
+ } }, h("slot", { key: '3ceb088ee3bbb1cc0e721502e81a72aee13de267' })))));
224
233
  }
225
234
  static get is() { return "co-popover"; }
226
235
  static get encapsulation() { return "shadow"; }
@@ -60,7 +60,7 @@
60
60
 
61
61
  /* ─── Empty (0) — show only track ───────────────────────── */
62
62
  .co-progress-bar--dashed.co-progress-bar--default {
63
- border-color: var(--co-semantic-border-muted);
63
+ border-color: var(--co-semantic-border-subtle, rgba(31, 28, 27, 0.08));
64
64
  }
65
65
 
66
66
  /* ─── Indeterminate ──────────────────────────────────────── */
@@ -18,12 +18,12 @@ export class CoProgressBar {
18
18
  render() {
19
19
  const clamped = Math.max(0, Math.min(100, this.value));
20
20
  const indeterminate = this.indeterminate;
21
- return (h("div", { key: 'b86a49eb2bc74a2af69f887296cde9e303d1a39b', class: {
21
+ return (h("div", { key: '89d8f4d14642d426bdd7cefd047aa27eb301c217', class: {
22
22
  'co-progress-bar': true,
23
23
  [`co-progress-bar--${this.status}`]: true,
24
24
  [`co-progress-bar--${this.variant}`]: true,
25
25
  'co-progress-bar--indeterminate': indeterminate,
26
- }, role: "progressbar", "aria-valuenow": indeterminate ? undefined : clamped, "aria-valuemin": 0, "aria-valuemax": 100, part: "bar", style: { height: `${this.thickness}px` } }, h("div", { key: 'b18869a713977e9a3b6c08e439fb83438cfd6bb8', class: "co-progress-bar__fill", style: indeterminate ? undefined : { width: `${clamped}%` } })));
26
+ }, role: "progressbar", "aria-valuenow": indeterminate ? undefined : clamped, "aria-valuemin": 0, "aria-valuemax": 100, part: "bar", style: { height: `${this.thickness}px` } }, h("div", { key: '1aa79096ed24c2f4cddeefe704ffbd312d5e95ce', class: "co-progress-bar__fill", style: indeterminate ? undefined : { width: `${clamped}%` } })));
27
27
  }
28
28
  static get is() { return "co-progress-bar"; }
29
29
  static get encapsulation() { return "shadow"; }
@@ -19,7 +19,7 @@ export class CoProgressCircle {
19
19
  const clamped = Math.max(0, Math.min(100, this.value));
20
20
  const angle = (clamped / 100) * 360;
21
21
  const safeStroke = Math.min(this.strokeWidth, this.size / 2);
22
- return (h("div", { key: '68787ff3019b10ef8fbdadedf955421b775e8f99', class: {
22
+ return (h("div", { key: 'c97a2f586f1e4518d2a35be1d43f13ede60a25bc', class: {
23
23
  'co-progress-circle': true,
24
24
  [`co-progress-circle--${this.status}`]: true,
25
25
  }, role: "progressbar", "aria-valuenow": clamped, "aria-valuemin": 0, "aria-valuemax": 100, part: "circle", style: {
@@ -27,7 +27,7 @@ export class CoProgressCircle {
27
27
  height: `${this.size}px`,
28
28
  '--co-pc-angle': `${angle}deg`,
29
29
  '--co-pc-stroke': `${safeStroke}px`,
30
- } }, h("div", { key: '3d3af85f0b7ae4b4e59952989310269bd0b3fb36', class: "co-progress-circle__track" }), this.showLabel && (h("span", { key: '00d943f501f90a4d03d0346f324e5c8f458fd22c', class: "co-progress-circle__label" }, clamped, "%"))));
30
+ } }, h("div", { key: '7418e16887ea4705d8e7d7228bc8c172058d5f5f', class: "co-progress-circle__track" }), this.showLabel && (h("span", { key: '0af289d28bbf4f7e6c9be76c3c7e686960cd1ff0', class: "co-progress-circle__label" }, clamped, "%"))));
31
31
  }
32
32
  static get is() { return "co-progress-circle"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -17,15 +17,15 @@ export class CoRadio {
17
17
  };
18
18
  }
19
19
  render() {
20
- return (h("div", { key: 'bc7cde81e68321604f58bb3ff2aa66707897c132', class: {
20
+ return (h("div", { key: '81fa047c34b13cdd776886449a3f5c26cdcc4797', class: {
21
21
  'co-radio-row': true,
22
22
  'co-radio-row--disabled': this.disabled,
23
- }, onClick: this.handleClick }, h("button", { key: '628cd1366ffaf1d3a53c571bd1678994ac82f188', role: "radio", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
23
+ }, onClick: this.handleClick }, h("button", { key: '1a666d5890bef0df1257780b70890fb161758ae9', role: "radio", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
24
24
  'co-radio': true,
25
25
  [`co-radio--${this.size}`]: true,
26
26
  'co-radio--checked': this.checked,
27
27
  'co-radio--disabled': this.disabled,
28
- }, disabled: this.disabled, part: "circle" }), this.label && (h("span", { key: 'a9615f8b274081add31e83d8fc46cef5bfc2d803', class: "co-radio__label", part: "label" }, this.label))));
28
+ }, disabled: this.disabled, part: "circle" }), this.label && (h("span", { key: '29a4f347d9af77512725da44b8fb3f884fd72910', class: "co-radio__label", part: "label" }, this.label))));
29
29
  }
30
30
  static get is() { return "co-radio"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -59,11 +59,11 @@ export class CoRadioGroup {
59
59
  const hasLabels = this.label || this.secondaryLabel;
60
60
  const hasHelper = this.helperText;
61
61
  const opts = this.parsedOptions;
62
- return (h("div", { key: '94c29c15e32e8ad2e1640641102d141882fed7e2', class: {
62
+ return (h("div", { key: '9e3a5c50cf5b0797146b7d6649cd1e1f6176e7a8', class: {
63
63
  'co-radio-group': true,
64
64
  'co-radio-group--disabled': this.disabled,
65
65
  [`co-radio-group--${this.status}`]: this.status !== 'default',
66
- }, role: "radiogroup", "aria-label": this.label || '' }, hasLabels && (h("div", { key: '219064f62b47c4f6945c694215ed239543ae7a20', class: "co-radio-group__labels" }, this.label && h("span", { key: '73ad6a795fb79c6a61adbd7caf99d66a2097f2a4', class: "co-radio-group__label" }, this.label), this.secondaryLabel && (h("span", { key: '0a7300369de028245ef04ef7f758ee6b98605b60', class: "co-radio-group__secondary-label" }, this.secondaryLabel)))), h("div", { key: '89eea55b445a648926923b019abd793f7c622f94', class: {
66
+ }, role: "radiogroup", "aria-label": this.label || '' }, hasLabels && (h("div", { key: 'a6670dd8052801c17380161a875e5504c773f7cf', class: "co-radio-group__labels" }, this.label && h("span", { key: '2e11c6a1dc36e880975315147fd731a7811fd42f', class: "co-radio-group__label" }, this.label), this.secondaryLabel && (h("span", { key: 'cf844f3dfd22693afefb47bad0f467edd7e33329', class: "co-radio-group__secondary-label" }, this.secondaryLabel)))), h("div", { key: 'e2650512d0b9c217f4d6f0c041157e546f582fa2', class: {
67
67
  'co-radio-group__options': true,
68
68
  [`co-radio-group__options--${this.direction}`]: true,
69
69
  } }, opts.map(opt => {
@@ -78,7 +78,7 @@ export class CoRadioGroup {
78
78
  'co-radio-group__circle--checked': isChecked,
79
79
  'co-radio-group__circle--disabled': isDisabled,
80
80
  }, role: "radio", "aria-checked": String(isChecked), "aria-label": opt.label }), h("span", { class: "co-radio-group__option-label" }, opt.label)));
81
- })), hasHelper && (h("div", { key: 'f30ed296f217352dbb4402b5679d791d0adf0b07', class: `co-radio-group__helper co-radio-group__helper--${this.status}` }, this.statusIcon && (h("co-icon", { key: '831a33a28dbfff0306c3da3b7d89fb688522f2af', name: this.statusIcon, size: 14, weight: "fill", class: "co-radio-group__helper-icon" })), h("span", { key: '96412549d5a05ab07c40e5a24bfd954403856c6d', class: "co-radio-group__helper-text" }, this.helperText)))));
81
+ })), hasHelper && (h("div", { key: '8684377f807fe91a0d88337e61cb7c7de0226832', class: `co-radio-group__helper co-radio-group__helper--${this.status}` }, this.statusIcon && (h("co-icon", { key: '2e12226109aec413ac76f71d0c32ac98f41b12f4', name: this.statusIcon, size: 14, weight: "fill", class: "co-radio-group__helper-icon" })), h("span", { key: 'e4d32771b3fe3a49ee1f907c0545fff31441e887', class: "co-radio-group__helper-text" }, this.helperText)))));
82
82
  }
83
83
  static get is() { return "co-radio-group"; }
84
84
  static get encapsulation() { return "shadow"; }
@@ -36,16 +36,16 @@ export class CoRating {
36
36
  const iconSize = this.size === 'large' ? 28 : 20;
37
37
  const active = this.hoverValue || this.value;
38
38
  const stars = Array.from({ length: this.max }, (_, i) => i + 1);
39
- return (h("div", { key: 'c065e6d1dfc6a9e1919e13692ef04ed1e6a547e9', class: {
39
+ return (h("div", { key: '79a5d0a2893814ec7bd1a43178d6ae68e51921ef', class: {
40
40
  'co-rating': true,
41
41
  'co-rating--disabled': this.disabled,
42
42
  'co-rating--readonly': this.readOnly,
43
43
  [`co-rating--${this.size}`]: true,
44
- } }, this.label && h("label", { key: 'a18472ea4337aca205a5f558c2fe2de71502205b', class: "co-rating__label" }, this.label), h("div", { key: '0a30106a0e8e7001d24793c22e1c93e82d572325', class: "co-rating__stars", onMouseLeave: this.handleMouseLeave }, stars.map(star => (h("button", { class: {
44
+ } }, this.label && h("label", { key: '50606dcbbf3783df6d55e78ad03c7d7b85cd9611', class: "co-rating__label" }, this.label), h("div", { key: '489d544d4857ba770719086d341b41162af557de', class: "co-rating__stars", onMouseLeave: this.handleMouseLeave }, stars.map(star => (h("button", { class: {
45
45
  'co-rating__star': true,
46
46
  'co-rating__star--active': star <= active,
47
47
  'co-rating__star--hover': this.hoverValue > 0 && star <= this.hoverValue,
48
- }, type: "button", tabIndex: this.disabled || this.readOnly ? -1 : 0, disabled: this.disabled, onClick: () => this.handleClick(star), onMouseEnter: () => this.handleMouseEnter(star), "aria-label": `${star} of ${this.max}` }, h("co-icon", { name: this.icon, size: iconSize, weight: star <= active ? 'fill' : 'regular' }))))), this.helperText && (h("div", { key: '6c204320177cbc147263668e0ae2f1ed607b2b58', class: `co-rating__helper co-rating__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: 'f7dfea814dbe33f4e976807bc7f2be630b60b57d', name: this.statusIcon, size: 14, weight: "fill", class: "co-rating__helper-icon" }), h("span", { key: 'd282f7826e0ff68099995cbbbd835c18cc89e9d7', class: "co-rating__helper-text" }, this.helperText)))));
48
+ }, type: "button", tabIndex: this.disabled || this.readOnly ? -1 : 0, disabled: this.disabled, onClick: () => this.handleClick(star), onMouseEnter: () => this.handleMouseEnter(star), "aria-label": `${star} of ${this.max}` }, h("co-icon", { name: this.icon, size: iconSize, weight: star <= active ? 'fill' : 'regular' }))))), this.helperText && (h("div", { key: 'af6db3a4a405300904ef3bac7634145614813bd4', class: `co-rating__helper co-rating__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: 'af9a32a796abceb861bd0e838c058b8414fc1e9b', name: this.statusIcon, size: 14, weight: "fill", class: "co-rating__helper-icon" }), h("span", { key: '77d7357560bd293f4adb5e9d85a82d6e9e8da056', class: "co-rating__helper-text" }, this.helperText)))));
49
49
  }
50
50
  static get is() { return "co-rating"; }
51
51
  static get encapsulation() { return "shadow"; }