@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
@@ -770,7 +770,7 @@ co-rich-text-editor {
770
770
  }
771
771
 
772
772
  .co-rte-bubble__link-unlink {
773
- background: var(--co-semantic-surface-error, #ef4444);
773
+ background: var(--co-semantic-status-error, #aa2e1b);
774
774
  }
775
775
 
776
776
  /* ── Draggable panels (font size, weight, line height, letter spacing, bg color) ── */
@@ -2021,14 +2021,14 @@ export class CoRichTextEditor {
2021
2021
  render() {
2022
2022
  const showToolbar = this.resolvedToolbar !== 'none' && !this.readonly && !this.disabled;
2023
2023
  const showCount = this.showCharacterCount || this.maxLength != null;
2024
- return (h("div", { key: '1ba222ae8d8e46a45619685771253cdd3d1befd3', class: {
2024
+ return (h("div", { key: 'a863f70f90bd46ee2306d175d55a519e7e659693', class: {
2025
2025
  'co-rich-text-editor': true,
2026
2026
  'co-rich-text-editor--focused': this.hasFocus,
2027
2027
  'co-rich-text-editor--disabled': this.disabled,
2028
2028
  'co-rich-text-editor--readonly': this.readonly,
2029
2029
  'co-rich-text-editor--loading': !this.ready,
2030
2030
  [`co-rich-text-editor--${this.status}`]: this.status !== 'default',
2031
- }, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: '3bb65d173c680c2b8581aeeacdf9e94045378c43', class: "co-rich-text-editor__labels" }, this.label && h("label", { key: 'a8c743e49b37c486e80fe0227bf1d7954ade234f', class: "co-rich-text-editor__label", part: "label" }, this.label), this.secondaryLabel && (h("span", { key: 'a0d33d71573bd06d4c2b568973144ddd22424362', class: "co-rich-text-editor__secondary-label" }, this.secondaryLabel)))), h("div", { key: '39d4776d45ca2a616b64c9aab1eb15a99ae916ce', class: "co-rich-text-editor__frame" }, showToolbar && (h("co-rich-text-toolbar", { key: '80844f77a0a1aadd7a9b109110e99d218c98542c', class: "co-rich-text-editor__toolbar", part: "toolbar", variant: this.resolvedToolbar, disabled: this.disabled || this.readonly, locale: this.locale, ref: (el) => (this.toolbarEl = el) })), h("div", { key: 'f60519b8253b6070f6ac0f0a292e0402075f401a', class: "co-rich-text-editor__box" }, h("div", { key: '858aaa1ee60e6ed5142c72831d4b5f321b77132e', class: "co-rte-content", part: "content", role: "textbox", "aria-multiline": "true", "aria-label": this.label, "aria-required": this.required ? 'true' : undefined, "aria-invalid": this.status === 'error' ? 'true' : undefined, ref: (el) => (this.contentEl = el) }))), h("div", { key: '320d390eccc2fd2381c26568241e2ebb335a6aa2', class: "co-rich-text-editor__footer" }, this.helperText && (h("div", { key: 'de5d9e8605e3a8edd037e9e49884a55f641b4585', class: `co-rich-text-editor__helper co-rich-text-editor__helper--${this.status}`, part: "helper" }, h("co-icon", { key: 'ef7d3a8894a084e09e692839800bf8f1eb9c9b3f', name: this.helperIcon, size: 14 }), h("span", { key: 'a914b24fce4d891f7a7936051e04fa2f9dae6d62' }, this.helperText))), showCount && (h("span", { key: 'f9d197782e4e983b72f7432dd9b2fb8324f45a0b', class: "co-rich-text-editor__count", ref: (el) => (this.charCountEl = el) }, this.charCount, this.maxLength != null ? ` / ${this.maxLength}` : '')))));
2031
+ }, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: '7e17033f81cbb694f2010d709f82b5e9889a3c01', class: "co-rich-text-editor__labels" }, this.label && h("label", { key: '9e2950cee1b79964f8628a6731bf5b779aaab325', class: "co-rich-text-editor__label", part: "label" }, this.label), this.secondaryLabel && (h("span", { key: 'e9fbd5143e20e61509691f86c53aabff6c3bc7a4', class: "co-rich-text-editor__secondary-label" }, this.secondaryLabel)))), h("div", { key: 'd8909018c066c1572c2fd28a8c1d5a658f342c02', class: "co-rich-text-editor__frame" }, showToolbar && (h("co-rich-text-toolbar", { key: '06907acfc9c6187864f79bed5364aae5cb0fb5d8', class: "co-rich-text-editor__toolbar", part: "toolbar", variant: this.resolvedToolbar, disabled: this.disabled || this.readonly, locale: this.locale, ref: (el) => (this.toolbarEl = el) })), h("div", { key: 'c173744e164a4c2591baf2a13076c253aeadab64', class: "co-rich-text-editor__box" }, h("div", { key: '62d96e73d679a9dda50dfba670ae42bf4a2cde96', class: "co-rte-content", part: "content", role: "textbox", "aria-multiline": "true", "aria-label": this.label, "aria-required": this.required ? 'true' : undefined, "aria-invalid": this.status === 'error' ? 'true' : undefined, ref: (el) => (this.contentEl = el) }))), h("div", { key: 'c0175bc7b0259c5d583d64394bb217f7cdc9b412', class: "co-rich-text-editor__footer" }, this.helperText && (h("div", { key: '909b30e6b36cfda26573d5b3c653158904d3c0c2', class: `co-rich-text-editor__helper co-rich-text-editor__helper--${this.status}`, part: "helper" }, h("co-icon", { key: 'e6c5c07ca23c2aee967bad06ce91c442cdee4d9b', name: this.helperIcon, size: 14 }), h("span", { key: 'e4e74012dea722d0aa31d79e4a444d8c5b004c7c' }, this.helperText))), showCount && (h("span", { key: 'ce85002412ace110ea9cf0191d4e5e072a21af72', class: "co-rich-text-editor__count", ref: (el) => (this.charCountEl = el) }, this.charCount, this.maxLength != null ? ` / ${this.maxLength}` : '')))));
2032
2032
  }
2033
2033
  static get is() { return "co-rich-text-editor"; }
2034
2034
  static get originalStyleUrls() {
@@ -13,11 +13,11 @@ export class CoRow {
13
13
  this.size = 'sm';
14
14
  }
15
15
  render() {
16
- return (h("div", { key: '47d99fa50bacbc5b2651f7a672e4ff7106959622', class: {
16
+ return (h("div", { key: '3b77dcfd8a0d6fccdb5932e2dd316ab1166e13e9', class: {
17
17
  'co-row': true,
18
18
  [`co-row--${this.position}`]: true,
19
19
  [`co-row--${this.size}`]: true,
20
- }, part: "row" }, h("div", { key: 'ccae8616bc848d06b30b784f273c68df7d307a5b', class: "co-row__prefix" }, h("slot", { key: '3aa5343c6343398b77d55dffe79e7c3d04d4dc53', name: "prefix" })), h("div", { key: '3497f2ad38a0b3c016a3f027dec7386ffc9f478e', class: "co-row__content" }, h("slot", { key: '46f6c4b01998a726ac92b23c6ff2eb9c1cd548b8' })), h("div", { key: '50dbfe45d87abb540ee94d49ec5e3ff600c68aba', class: "co-row__suffix" }, h("slot", { key: '207dbcf5ce290c8dbd73768f7dbceba897b16114', name: "suffix" }))));
20
+ }, part: "row" }, h("div", { key: '0f0112ad8cf977587af1cc756ec822ca5d8c81fc', class: "co-row__prefix" }, h("slot", { key: 'd6ac18b41dca0597dba80f5d49554471832b6c4f', name: "prefix" })), h("div", { key: '8c1de305f4268cc8d10f6ba1203750bd96061dc3', class: "co-row__content" }, h("slot", { key: 'fe882bbb96faae81377c4613024a74762f84c113' })), h("div", { key: '0bb2646c6f0d4f52573021b76e3a950ddca11056', class: "co-row__suffix" }, h("slot", { key: '3518a826a39d3491a24067a9be3a5284e6a184d4', name: "suffix" }))));
21
21
  }
22
22
  static get is() { return "co-row"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -43,13 +43,13 @@ export class CoSegmentedBar {
43
43
  render() {
44
44
  const segments = this.parsedSegments;
45
45
  const total = this.total > 0 ? this.total : 100;
46
- return (h("div", { key: 'a21a02b0177c838b376ffc116b7798463f51e247', class: "co-segmented-bar", part: "segmented-bar" }, h("div", { key: 'c85455d5178013b07aee2650d994e8a49fc1692d', class: {
46
+ return (h("div", { key: '3f4538a2c701799531b586e0b039fb952e5d11ba', class: "co-segmented-bar", part: "segmented-bar" }, h("div", { key: '45c3baf87d073835bc9954ba5ab9c847e5da7fa8', class: {
47
47
  'co-segmented-bar__track': true,
48
48
  [`co-segmented-bar__track--radius-${this.radius}`]: true,
49
49
  }, part: "track", style: { height: `${this.thickness}px`, background: this.trackColor } }, segments.map((seg, i) => (h("span", { key: i, class: "co-segmented-bar__segment", part: "segment", title: seg.label, style: {
50
50
  width: `${(seg.value / total) * 100}%`,
51
51
  background: seg.color,
52
- } })))), h("slot", { key: 'aaf981fc73735cb1a63ad9e169145d1cbd36113d', name: "legend" })));
52
+ } })))), h("slot", { key: 'a6e865f76ff83ff47eb459721c1958f0b431f02d', name: "legend" })));
53
53
  }
54
54
  static get is() { return "co-segmented-bar"; }
55
55
  static get encapsulation() { return "shadow"; }
@@ -727,10 +727,10 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
727
727
  align-items: center;
728
728
  gap: var(--co-spacing-sm2);
729
729
  padding: var(--co-spacing-sm2) var(--co-spacing-md);
730
- background: color-mix(in srgb, var(--co-semantic-surface-secondary) 55%, transparent);
731
- -webkit-backdrop-filter: blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));
732
- backdrop-filter: blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));
733
- border: 1px solid var(--co-semantic-border-subtle);
730
+ /* Figma Text Field parity (same box as co-input): solid page surface +
731
+ Negro 25% border — tinted glass didn't read as editable on white. */
732
+ background: var(--co-semantic-surface-page);
733
+ border: 1px solid var(--co-color-opacity-negro-25, rgba(31, 28, 27, 0.25));
734
734
  border-radius: var(--co-border-radius-xs);
735
735
  min-height: 40px;
736
736
  box-sizing: border-box;
@@ -1066,6 +1066,3 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
1066
1066
  content: var(--co-field-required-text, ' (required)');
1067
1067
  }
1068
1068
 
1069
- @supports not (background: color-mix(in srgb, red, transparent)) {
1070
- .co-select__trigger { background: var(--co-semantic-surface-secondary); }
1071
- }
@@ -208,19 +208,19 @@ export class CoSelect {
208
208
  var _a;
209
209
  const selected = this.selectedValues;
210
210
  const options = this.filteredOptions;
211
- return (h("div", { key: 'f7280ac6fc30ec168e882f1332a3ec780b3d2965', class: {
211
+ return (h("div", { key: 'e52ada6dab00c28435576237271547db70c66b7a', class: {
212
212
  'co-select': true,
213
213
  'co-select--open': this.isOpen,
214
214
  'co-select--disabled': this.disabled,
215
215
  [`co-select--${this.size}`]: true,
216
216
  [`co-select--${this.status}`]: this.status !== 'default',
217
- } }, (this.label || this.secondaryLabel) && (h("div", { key: 'e2b2cc9276643e836764f7424e3982d5e3780b7f', class: "co-select__labels" }, this.label && h("label", { key: 'd303928cd5954ea352492ab63bc376d8ea4df907', class: "co-select__label" }, this.label, h(RequiredMark, { key: 'ccdd02cd727fa9142b67c3d8f190ae19d1325e8e', required: this.required })), this.secondaryLabel && h("span", { key: '8ff1d4d2b12f4542c8ec6e91648d1f8a06b3b57e', class: "co-select__secondary-label" }, this.secondaryLabel))), h("co-popover", { key: '483b22c6efc32bc1411ff96a0a7a41a27452142b', open: this.isOpen, placement: "bottom-start", matchWidth: true, offset: 4, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("div", { key: 'bff3edc587f705e984dcb5d79c9a70d889ff427b', slot: "trigger", class: "co-select__trigger", onClick: this.handleTriggerClick }, this.iconLeft && h("co-icon", { key: 'ea34b3d34e7bd4d9c6e52971c1dd684383250694', name: this.iconLeft, size: 16, class: "co-select__icon" }), ((_a = this.selectedOption) === null || _a === void 0 ? void 0 : _a.image) && (h("img", { key: '42e3afef657778c834040fb951038e47e7748a4b', class: "co-select__flag", src: this.selectedOption.image, alt: "" })), this.multiple && this.hasValue ? (h("div", { class: "co-select__chips" }, this.selectedValues.map((v) => {
217
+ } }, (this.label || this.secondaryLabel) && (h("div", { key: '45c9c037da6523f7ffaea58f22363f239e1537d3', class: "co-select__labels" }, this.label && h("label", { key: '611dec09fd4637c09ca45e8fbb9a930bafaf8e15', class: "co-select__label" }, this.label, h(RequiredMark, { key: '75f302013790f9cf73da4db38a1c8635d8132a2e', required: this.required })), this.secondaryLabel && h("span", { key: '49404c2801028303e2bb825f1eb5e0d1854cf72a', class: "co-select__secondary-label" }, this.secondaryLabel))), h("co-popover", { key: '2169518b1ed1944b4b483e19a72507865762764a', open: this.isOpen, placement: "bottom-start", matchWidth: true, offset: 4, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("div", { key: '6d4984781b7b59ba09c77b24677e4911a3f0827b', slot: "trigger", class: "co-select__trigger", onClick: this.handleTriggerClick }, this.iconLeft && h("co-icon", { key: '8aa3d88126db4f7840b8080c46fe00a1e498dc7f', name: this.iconLeft, size: 16, class: "co-select__icon" }), ((_a = this.selectedOption) === null || _a === void 0 ? void 0 : _a.image) && (h("img", { key: '6cf713b9dbbd2923d6543a9903e998ee83185010', class: "co-select__flag", src: this.selectedOption.image, alt: "" })), this.multiple && this.hasValue ? (h("div", { class: "co-select__chips" }, this.selectedValues.map((v) => {
218
218
  const opt = this.parsedOptions.find((o) => o.value === v);
219
219
  return (h("span", { class: "co-select__chip", key: v }, h("span", { class: "co-select__chip-label" }, opt ? opt.label : v), h("button", { class: "co-select__chip-remove", type: "button", tabIndex: -1, "aria-label": "Remove", onClick: (e) => {
220
220
  e.stopPropagation();
221
221
  this.handleOptionClick(v);
222
222
  } }, h("co-icon", { name: "x", size: 12 }))));
223
- }))) : (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 && (h("button", { key: '583671b8023e996e4a3bf28b7db4743069580aba', class: "co-select__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: 'a4b6cb55572b49f6e7d381dfb5d38fb992d25b20', name: "x-circle", size: 16, weight: "fill" }))), h("co-icon", { key: 'bee58119202ae396f40c9a5633e33c5a3e8f85e6', name: this.isOpen ? 'caret-up' : 'caret-down', size: 16, class: "co-select__caret" })), h("div", { key: 'afb9a8e4042df0b8a42fbf341309eb60726214b1', class: "co-select__dropdown" }, this.isOpen && this.searchable && (h("div", { key: '6dee2f6f654ea468ac5ef54d22f08a32adeced33', class: "co-select__search" }, h("co-icon", { key: 'a4c2bf7a4575952a7d7df091de68e4d0d0871ae3', name: "magnifying-glass", size: 16, class: "co-select__search-icon" }), h("input", { key: '5b023ec13d6445bcec51d6ee0a252c5c8e80e3fd', 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 && (h("div", { key: '07a4cb2040c463cb214e851fac20855d702a1968', class: "co-select__empty" }, this.emptyText)), h("div", { key: '882abaca5fbfcd8cfe007f374204b18f8e983758', class: "co-select__options", ref: (el) => (this.optionsContainerEl = el) }, this.isOpen && (() => {
223
+ }))) : (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 && (h("button", { key: 'b2e65bbec3c9f4eade2f250b8f446fc7719ac87f', class: "co-select__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: 'ec6bef7248b519d032c831208a89d8fdabdd5e85', name: "x-circle", size: 16, weight: "fill" }))), h("co-icon", { key: '9e43c223117d1a30b3b24f1e64a4bf1ca2e003db', name: this.isOpen ? 'caret-up' : 'caret-down', size: 16, class: "co-select__caret" })), h("div", { key: 'c622ad50ad8667ffa1094d9f53a467588963a720', class: "co-select__dropdown" }, this.isOpen && this.searchable && (h("div", { key: 'a20bb6f186b6c740da4f7f22392dd5369dd1cd15', class: "co-select__search" }, h("co-icon", { key: '02a8fbbcdc31b6924bc69255c692cb9c89210321', name: "magnifying-glass", size: 16, class: "co-select__search-icon" }), h("input", { key: '5323a3037c9deb9855d65ec1d3246ba80b0811e2', 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 && (h("div", { key: 'b9d8a5f12e278bf5b8ff813b22e43f7e8ffee0fb', class: "co-select__empty" }, this.emptyText)), h("div", { key: '7f84a589795e9333e18926854ead79dc0fa3c6e1', class: "co-select__options", ref: (el) => (this.optionsContainerEl = el) }, this.isOpen && (() => {
224
224
  const { totalHeight, startIdx, endIdx, offsetY } = this.getVirtualSlice(options);
225
225
  return (h("div", { class: "co-select__virtual-spacer", style: { height: `${totalHeight}px`, position: 'relative' } }, h("div", { style: { position: 'absolute', top: `${offsetY}px`, left: '0', right: '0' } }, options.slice(startIdx, endIdx).map(opt => {
226
226
  const isSelected = selected.includes(opt.value);
@@ -231,7 +231,7 @@ export class CoSelect {
231
231
  'co-select__option--disabled': isDisabled,
232
232
  }, onClick: () => !isDisabled && this.handleOptionClick(opt.value) }, opt.image ? (h("img", { class: "co-select__option-flag", src: opt.image, alt: "", loading: "lazy" })) : opt.icon ? (h("co-icon", { name: opt.icon, size: 20, class: "co-select__option-icon" })) : null, h("span", { class: "co-select__option-label" }, this.renderLabel(opt.label)), isSelected && h("co-icon", { name: "check", size: 16, class: "co-select__option-check" })));
233
233
  }))));
234
- })()))), this.helperText && (h("div", { key: '894ca1909e71e80000ebe0e13b4c824833b32ba5', class: `co-select__helper co-select__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '3c19578de5317a13962afa3ca3962373c4659c3d', name: this.statusIcon, size: 14, weight: "fill", class: "co-select__helper-icon" }), h("span", { key: '7040317015e837c1fac4112c0887cb3a1269f818', class: "co-select__helper-text" }, this.helperText)))));
234
+ })()))), this.helperText && (h("div", { key: '2d65962fc0025c8bf2b3950328e0187a15c92cf8', class: `co-select__helper co-select__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: 'c64d2b35fb10dbe5e25a9db78c7155f9cfdde33c', name: this.statusIcon, size: 14, weight: "fill", class: "co-select__helper-icon" }), h("span", { key: 'e49697063342fd79a85e101a821f944e781c9ef5', class: "co-select__helper-text" }, this.helperText)))));
235
235
  }
236
236
  static get is() { return "co-select"; }
237
237
  static get encapsulation() { return "shadow"; }
@@ -57,7 +57,7 @@ export class CoSeparator {
57
57
  style['--co-separator-inset-end'] = '0px';
58
58
  }
59
59
  }
60
- return (h("hr", { key: 'fe5e2c132e6736fdf21c0d47096eb26c4a799672', class: {
60
+ return (h("hr", { key: '79a2dd5c7bc7d37d1b9d77b03e72b6014228532b', class: {
61
61
  'co-separator': true,
62
62
  'co-separator--vertical': this.vertical,
63
63
  'co-separator--dark': this.dark,
@@ -10,10 +10,10 @@ export class CoSidebar {
10
10
  this.mode = 'full';
11
11
  }
12
12
  render() {
13
- return (h("nav", { key: '4c51173d0b39d5fbe481d585a6385738d4b8ec4c', class: {
13
+ return (h("nav", { key: 'ea33fc3e60a0b3e7f5d5ad37569524aa46b1cb76', class: {
14
14
  'co-sidebar': true,
15
15
  [`co-sidebar--${this.mode}`]: true,
16
- }, part: "sidebar" }, h("div", { key: '7e6b56eff9514d2b49339c3972c03ba22ab53fc6', class: "co-sidebar__header", part: "header" }, h("slot", { key: 'ece98d54b3bd16c08bcd14203179a4c7244afa25', name: "header" })), h("div", { key: 'a3c9f64cffbb172ecb802ace41c5ebbcd731972b', class: "co-sidebar__body", part: "body" }, h("slot", { key: 'd0e85bb0e5095c14fa26dddb5ce92db1cf1f1d1f' })), h("div", { key: '006a4af475b87cbfb4d822c3f52fa0b4fe38faa8', class: "co-sidebar__footer", part: "footer" }, h("slot", { key: '5bfcbe7de63ba3f11a9c289a30fd9e416e65927a', name: "footer" }))));
16
+ }, part: "sidebar" }, h("div", { key: '7feaf48ba91059cf5b046579b68adfbfb896850d', class: "co-sidebar__header", part: "header" }, h("slot", { key: '869fd6af70b09829ef05f15b2fdab554a978f1f8', name: "header" })), h("div", { key: '1bc044d4c70854b748e473041fea378ca1e3bd4f', class: "co-sidebar__body", part: "body" }, h("slot", { key: '0c0033d1af7a9dd902a61da6e97811e75214e9c5' })), h("div", { key: 'ef37cc7709b4d6afc420f1e3aaba13b6db2997e6', class: "co-sidebar__footer", part: "footer" }, h("slot", { key: 'df1b6a08c313ed1818fcfd93a89f9c1cd709bccd', name: "footer" }))));
17
17
  }
18
18
  static get is() { return "co-sidebar"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -229,7 +229,9 @@
229
229
  .co-sidebar-nav__item {
230
230
  display: flex;
231
231
  align-items: center;
232
- gap: var(--co-spacing-sm);
232
+ /* Figma Home Link: gap 8 (space-sm de Figma = spacing-sm2), Geist Medium 14,
233
+ line-height 1, Gris-700 — paridad exacta con el spec del sidebar. */
234
+ gap: var(--co-spacing-sm2);
233
235
  padding: var(--co-spacing-xs) var(--co-spacing-sm);
234
236
  border-radius: var(--co-border-radius-xs);
235
237
  border: none;
@@ -240,10 +242,10 @@
240
242
  color: var(--co-semantic-text-default);
241
243
  transition: background 0.15s ease, color 0.15s ease;
242
244
  font-family: var(--co-font-family-primary);
243
- font-size: var(--co-font-size-12);
245
+ font-size: var(--co-font-size-14);
244
246
  font-weight: var(--co-font-weight-medium);
245
247
  letter-spacing: var(--co-font-letter-spacing-body);
246
- line-height: var(--co-font-line-height-normal);
248
+ line-height: 1;
247
249
  }
248
250
 
249
251
  .co-sidebar-nav__item:hover {
@@ -395,7 +397,7 @@
395
397
  .co-sidebar-nav__expansion-header {
396
398
  display: flex;
397
399
  align-items: center;
398
- gap: var(--co-spacing-sm);
400
+ gap: var(--co-spacing-sm2);
399
401
  padding: var(--co-spacing-xs) var(--co-spacing-sm);
400
402
  border-radius: var(--co-border-radius-xs);
401
403
  border: none;
@@ -406,10 +408,10 @@
406
408
  color: var(--co-semantic-text-secondary);
407
409
  transition: background 0.15s ease, color 0.15s ease;
408
410
  font-family: var(--co-font-family-primary);
409
- font-size: var(--co-font-size-12);
411
+ font-size: var(--co-font-size-14);
410
412
  font-weight: var(--co-font-weight-medium);
411
413
  letter-spacing: var(--co-font-letter-spacing-body);
412
- line-height: var(--co-font-line-height-normal);
414
+ line-height: 1;
413
415
  }
414
416
 
415
417
  .co-sidebar-nav__expansion-header:hover {
@@ -365,12 +365,14 @@ export class CoSidebarNav {
365
365
  return null;
366
366
  return (h("div", { class: "co-sidebar-nav__search" }, h("co-icon", { name: "magnifying-glass", size: 16 }), h("input", { type: "text", class: "co-sidebar-nav__search-input", placeholder: this.searchPlaceholder, value: this.searchText, onInput: this.handleSearchInput }), this.searchText && (h("button", { class: "co-sidebar-nav__search-clear", onClick: () => { this.searchText = ''; this.coSearch.emit(''); } }, h("co-icon", { name: "x", size: 14 })))));
367
367
  }
368
- renderIcon(item) {
368
+ /** Icon size follows the surface: 16 next to a label (Figma Home Link spec),
369
+ 18 for the icon-only rail chips (min mode) where the glyph stands alone. */
370
+ renderIcon(item, size = 16) {
369
371
  if (item.customIcon) {
370
372
  return h("img", { class: "co-sidebar-nav__custom-icon", src: item.customIcon, alt: "" });
371
373
  }
372
374
  const iconName = item.icon || this.getIcon(item.key);
373
- return h("co-icon", { name: iconName, size: 18 });
375
+ return h("co-icon", { name: iconName, size: size });
374
376
  }
375
377
  /**
376
378
  * Renders a label with the search-matching substring highlighted.
@@ -400,7 +402,7 @@ export class CoSidebarNav {
400
402
  const button = (h("button", { class: {
401
403
  'co-sidebar-nav__item': true,
402
404
  'co-sidebar-nav__item--active': isActive,
403
- }, onClick: () => this.handleLeafClick(item), "aria-label": showLabel ? undefined : label }, h("span", { class: "co-sidebar-nav__item-icon" }, this.renderIcon(item)), showLabel && (h("span", { class: "co-sidebar-nav__item-label" }, this.renderHighlightedLabel(item.key)))));
405
+ }, onClick: () => this.handleLeafClick(item), "aria-label": showLabel ? undefined : label }, h("span", { class: "co-sidebar-nav__item-icon" }, this.renderIcon(item, showLabel ? 16 : 18)), showLabel && (h("span", { class: "co-sidebar-nav__item-label" }, this.renderHighlightedLabel(item.key)))));
404
406
  // Collapsed (icon-only) items get a Cobalt tooltip with the label instead of
405
407
  // the native `title`. Flyout items (forceLabel) already show their label.
406
408
  if (this.mode === 'min' && !forceLabel) {
@@ -450,7 +452,7 @@ export class CoSidebarNav {
450
452
  else {
451
453
  this.openFlyout(item.key, anchor || undefined, ((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) || 0);
452
454
  }
453
- } }, h("span", { class: "co-sidebar-nav__item-icon" }, this.renderIcon(item))), isFlyoutOpen && (h("div", { class: "co-sidebar-nav__flyout", style: Object.assign(Object.assign(Object.assign({}, (this.flyoutPosition.top !== null ? { top: `${this.flyoutPosition.top}px` } : {})), (this.flyoutPosition.bottom !== null ? { bottom: `${this.flyoutPosition.bottom}px` } : {})), { left: `${this.flyoutPosition.left}px` }), onMouseEnter: () => clearTimeout(this.flyoutTimeout), onMouseLeave: () => this.closeFlyout() }, h("span", { class: "co-sidebar-nav__flyout-title" }, this.renderHighlightedLabel(item.key)), item.children.map(child => this.renderLeafItem(child, true))))));
455
+ } }, h("span", { class: "co-sidebar-nav__item-icon" }, this.renderIcon(item, 18))), isFlyoutOpen && (h("div", { class: "co-sidebar-nav__flyout", style: Object.assign(Object.assign(Object.assign({}, (this.flyoutPosition.top !== null ? { top: `${this.flyoutPosition.top}px` } : {})), (this.flyoutPosition.bottom !== null ? { bottom: `${this.flyoutPosition.bottom}px` } : {})), { left: `${this.flyoutPosition.left}px` }), onMouseEnter: () => clearTimeout(this.flyoutTimeout), onMouseLeave: () => this.closeFlyout() }, h("span", { class: "co-sidebar-nav__flyout-title" }, this.renderHighlightedLabel(item.key)), item.children.map(child => this.renderLeafItem(child, true))))));
454
456
  }
455
457
  return (h("div", { class: {
456
458
  'co-sidebar-nav__expansion': true,
@@ -484,10 +486,10 @@ export class CoSidebarNav {
484
486
  // `flyout-open` (min mode only) lets the CSS drop the host edge-fade mask
485
487
  // while a flyout is shown — a host mask would otherwise clip AND
486
488
  // mis-position the fixed flyout (mask makes the host a containing block).
487
- h(Host, { key: '4cbc7c52e223889678c0b65bc2ccb1f27c1e6b1e', class: { 'flyout-open': !!this.flyoutKey } }, h("nav", { key: '4ff3825c2ac7f47bf87b81bc09ac76d0317ea300', class: {
489
+ h(Host, { key: '6bf3b6d16c6baef9af2b41ee38c0823961595132', class: { 'flyout-open': !!this.flyoutKey } }, h("nav", { key: '0264a43d3b83859b114001917c45e312fb702afe', class: {
488
490
  'co-sidebar-nav': true,
489
491
  'co-sidebar-nav--min': this.mode === 'min',
490
- } }, this.renderSearch(), h("div", { key: '69552a770759709fd7e36a3af383987391dd338b', class: "co-sidebar-nav__items" }, items.map(item => this.renderItem(item))))));
492
+ } }, this.renderSearch(), h("div", { key: '92437d9f022ec1a25adc04ea52b512dbb046bfc0', class: "co-sidebar-nav__items" }, items.map(item => this.renderItem(item))))));
491
493
  }
492
494
  static get is() { return "co-sidebar-nav"; }
493
495
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class CoSkeleton {
16
16
  const style = { width: this.width };
17
17
  if (this.height)
18
18
  style.height = this.height;
19
- return (h("div", { key: 'eddef7fdf65325e1110ec444a129e6015db28df3', class: { 'co-skeleton': true, [`co-skeleton--${this.variant}`]: true }, part: "skeleton", style: style, "aria-hidden": "true" }));
19
+ return (h("div", { key: 'e62aec4781b1ef8b7b4fa2ba423cf9e94184646a', class: { 'co-skeleton': true, [`co-skeleton--${this.variant}`]: true }, part: "skeleton", style: style, "aria-hidden": "true" }));
20
20
  }
21
21
  static get is() { return "co-skeleton"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -72,12 +72,12 @@ export class CoSlider {
72
72
  }
73
73
  render() {
74
74
  const pct = this.percentage;
75
- return (h("div", { key: 'a9f92ca57336e9bae289723f39592a47671a4b15', class: {
75
+ return (h("div", { key: 'a445c6c490d0a86aabdd1863ffca7fb5b6a83dcb', class: {
76
76
  'co-slider': true,
77
77
  'co-slider--disabled': this.disabled,
78
78
  'co-slider--dragging': this.dragging,
79
79
  [`co-slider--${this.status}`]: this.status !== 'default',
80
- } }, (this.label || this.secondaryLabel || this.showValue) && (h("div", { key: '8eb64363bba56ffa4562338ba0d6d7136da14376', class: "co-slider__labels" }, h("div", { key: '4c3801ed323503bf8ade392fc36bff86d8b7110d', class: "co-slider__labels-left" }, this.label && h("label", { key: '597875203892c6a8a05a0320a68265fc5d1e3391', class: "co-slider__label" }, this.label), this.secondaryLabel && h("span", { key: 'b625942a84e80fcdf41963496aa7638424c56d25', class: "co-slider__secondary-label" }, this.secondaryLabel)), this.showValue && h("span", { key: 'bda003630b130c2c06a1b69e4bbd152c247e9b13', class: "co-slider__value" }, this.value))), h("div", { key: '645b6872bdce75d9aba4dc3839a8dc69bd948397', class: "co-slider__track-wrapper", ref: el => (this.trackEl = el), onPointerDown: this.handlePointerDown }, h("div", { key: '2ef7e7c4c323818611edf0adc84e785c0c588892', class: "co-slider__track" }, h("div", { key: '26abb3e3362f005068ecd55613641dadf4b9b634', class: "co-slider__fill", style: { width: `${pct}%` } })), h("div", { key: '94275bcd27dee2b86fef7587f05651f5c32a43e0', class: "co-slider__thumb", style: { left: `${pct}%` } })), this.showMarks && (h("div", { key: '7972dbf5887472c03ca7c585d393bad59e78479d', class: "co-slider__marks" }, h("span", { key: '3594c16276b5a41905f52132a3a4f93894cd71ea', class: "co-slider__mark" }, this.min), h("span", { key: 'ef4c8c98850d33cf00b0eeb05a913c203d740f3f', class: "co-slider__mark" }, this.max))), h("input", { key: 'd0a72d43d4a0c420038287a4e3fd357781a4ad25', 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 && (h("div", { key: 'd9006a19d95d4bb99b336d755c5ed6e20c842bbf', class: `co-slider__helper co-slider__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '2a646e6a2d7baf2230fb7e0472b8bc2a2d1b01cb', name: this.statusIcon, size: 14, weight: "fill", class: "co-slider__helper-icon" }), h("span", { key: '76fd161a9ee5415c7d36bcd91b2651970c123624', class: "co-slider__helper-text" }, this.helperText)))));
80
+ } }, (this.label || this.secondaryLabel || this.showValue) && (h("div", { key: '604b51df33236b1401660a8b914035adbd339665', class: "co-slider__labels" }, h("div", { key: '3000bbc413d021ecdfbbb7efef5d8ec6d5924e6e', class: "co-slider__labels-left" }, this.label && h("label", { key: 'b9b02590dc634466834ac6229934cf3b78281fb6', class: "co-slider__label" }, this.label), this.secondaryLabel && h("span", { key: 'c6acee956d73ae313b26196b87ee7ea1b8a2b134', class: "co-slider__secondary-label" }, this.secondaryLabel)), this.showValue && h("span", { key: 'aba76d883e5cf2631104cbaebb302002e1fe496a', class: "co-slider__value" }, this.value))), h("div", { key: '6535ee992fccc80988c77a33032846e8b5fe605f', class: "co-slider__track-wrapper", ref: el => (this.trackEl = el), onPointerDown: this.handlePointerDown }, h("div", { key: 'c017699fc2fea78cb55cac01b4dce6c8c660d27a', class: "co-slider__track" }, h("div", { key: '7831a55b6e34544915e27fb2ed5dd84f92acb60e', class: "co-slider__fill", style: { width: `${pct}%` } })), h("div", { key: 'e03368137b3e548e9a082f1f7f57b6e7a9b0df37', class: "co-slider__thumb", style: { left: `${pct}%` } })), this.showMarks && (h("div", { key: '8f8be1af979de772be4f7ebc69e9d3b6a7c2f58d', class: "co-slider__marks" }, h("span", { key: '2037b37b88f6a5734bf8845e5a562ca17d823ef0', class: "co-slider__mark" }, this.min), h("span", { key: 'db35ba88af0d4b13b4f47370360d0f041fbeb4b7', class: "co-slider__mark" }, this.max))), h("input", { key: '6a98de808328d9a72f4b95f9a64ad01e4003082e', 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 && (h("div", { key: '2d5f0d9ccf9d4e052ddbedb5080718f9e71f0605', class: `co-slider__helper co-slider__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: 'afa9618ff8a3dfab3a55163e1fe500c58f0a4406', name: this.statusIcon, size: 14, weight: "fill", class: "co-slider__helper-icon" }), h("span", { key: '6e0c46b8561beca6a3dadf03d117a8526d31a860', class: "co-slider__helper-text" }, this.helperText)))));
81
81
  }
82
82
  static get is() { return "co-slider"; }
83
83
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,9 @@
18
18
  .co-switch-wrapper__row {
19
19
  display: flex;
20
20
  align-items: center;
21
- gap: var(--co-spacing-sm2);
21
+ /* Overridable per surface (crosses the shadow boundary): e.g. toolbar quick
22
+ toggles use spacing-md per the Figma navbar spec. */
23
+ gap: var(--co-switch-label-gap, var(--co-spacing-sm2));
22
24
  cursor: pointer;
23
25
  }
24
26
 
@@ -29,16 +29,16 @@ export class CoSwitch {
29
29
  render() {
30
30
  const hasLabels = this.label || this.secondaryLabel;
31
31
  const hasHelper = !!this.helperText;
32
- return (h("div", { key: '38cc6534a6d29b3453180409c4140b41e41c5970', class: {
32
+ return (h("div", { key: 'aa2690f72e8a64fcf835a58ed7b5a578e93dd6fa', class: {
33
33
  'co-switch-wrapper': true,
34
34
  'co-switch-wrapper--disabled': this.disabled,
35
35
  [`co-switch-wrapper--${this.status}`]: this.status !== 'default',
36
- } }, h("div", { key: '5bec2bdbf3de9f5470840fac1c4abfad098e289a', class: "co-switch-wrapper__row", onClick: this.handleClick }, h("button", { key: 'd0039ee4818969f46c7014dbc1b29cb6fa3a021c', role: "switch", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
36
+ } }, h("div", { key: 'fda38eadee3187b559ab343acd80de17d6f88da1', class: "co-switch-wrapper__row", onClick: this.handleClick }, h("button", { key: '11c63216f459295d2858530f9d879913d205417d', role: "switch", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
37
37
  'co-switch': true,
38
38
  'co-switch--on': this.checked,
39
39
  'co-switch--off': !this.checked,
40
40
  'co-switch--disabled': this.disabled,
41
- }, disabled: this.disabled, part: "track" }, h("span", { key: 'b7bfcd10fb3e0eaa4083f1f08ba01ed4e7d05b48', class: "co-switch__thumb", part: "thumb" })), hasLabels && (h("div", { key: '46497aa93ae79b1d8beb0dcdbacf9ebd07a93fa9', class: "co-switch-wrapper__labels" }, this.label && h("span", { key: '0f0364713a3d6f29f1f496d91ad0d89b957e92fe', class: "co-switch-wrapper__label", part: "label" }, this.label, h(RequiredMark, { key: 'de427dfa828e8bb55d6b05ac6fa854fd6ce9d128', required: this.required })), this.secondaryLabel && (h("span", { key: 'b00e86fd005b72fcea23db91dbe4f3d39cf8026c', class: "co-switch-wrapper__secondary-label", part: "secondary-label" }, this.secondaryLabel))))), hasHelper && (h("div", { key: '6ab547b5c56216132685647f026eae7a879b6338', class: `co-switch-wrapper__helper co-switch-wrapper__helper--${this.status}` }, this.statusIcon && (h("co-icon", { key: 'e5eedf552bff62777946b448da584512a0a8c9b5', name: this.statusIcon, size: 14, weight: "fill", class: "co-switch-wrapper__helper-icon" })), h("span", { key: 'c2d3242dbb21c85cdba0d7eb48b263fa6b555b73', class: "co-switch-wrapper__helper-text" }, this.helperText)))));
41
+ }, disabled: this.disabled, part: "track" }, h("span", { key: '6e6060ee3128697653bb11335e7ebd82a37d2960', class: "co-switch__thumb", part: "thumb" })), hasLabels && (h("div", { key: '10084cce0ded48f6188fe5bbba1e2058f2d6962c', class: "co-switch-wrapper__labels" }, this.label && h("span", { key: '87665730e8cf05f481f4835594fd912f4499b9c7', class: "co-switch-wrapper__label", part: "label" }, this.label, h(RequiredMark, { key: '0d121097ee0c5ca14f150a93a9f021ddf883667c', required: this.required })), this.secondaryLabel && (h("span", { key: '0bc01f629b4b62ba7c86e2ff229b127a3ac45537', class: "co-switch-wrapper__secondary-label", part: "secondary-label" }, this.secondaryLabel))))), hasHelper && (h("div", { key: '7447890f8f651445917e1b59166e827e1a0a52ca', class: `co-switch-wrapper__helper co-switch-wrapper__helper--${this.status}` }, this.statusIcon && (h("co-icon", { key: '5759ca2e6b013743ce263a4b002214c03d8a202c', name: this.statusIcon, size: 14, weight: "fill", class: "co-switch-wrapper__helper-icon" })), h("span", { key: '359a87a5865fde6d9db953e6e4554a7b5ae5cb5e', class: "co-switch-wrapper__helper-text" }, this.helperText)))));
42
42
  }
43
43
  static get is() { return "co-switch"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@
15
15
  white-space: nowrap;
16
16
  border-radius: var(--co-border-radius-full);
17
17
  background: transparent;
18
- color: var(--co-color-gris-500, #888);
18
+ color: var(--co-color-gray-500, #888);
19
19
  transition: background 0.15s ease, color 0.15s ease, font-weight 0.15s ease;
20
20
  box-sizing: border-box;
21
21
  }
@@ -38,18 +38,18 @@
38
38
  has no hover rule. Every pill tab carries `.co-tab--pill`, so this
39
39
  reproduces the previous `.co-tab:hover` behavior exactly. */
40
40
  .co-tab--pill:hover:not(:disabled) {
41
- background: var(--co-color-gris-100, #f6f6f6);
41
+ background: var(--co-color-gray-100, #f6f6f6);
42
42
  color: var(--co-color-base-negro, #1f1c1b);
43
43
  }
44
44
 
45
45
  .co-tab--selected {
46
- background: var(--co-color-gris-100, #f6f6f6);
46
+ background: var(--co-color-gray-100, #f6f6f6);
47
47
  color: var(--co-color-base-negro, #1f1c1b);
48
48
  font-weight: 500;
49
49
  }
50
50
 
51
51
  .co-tab--pill.co-tab--selected:hover:not(:disabled) {
52
- background: var(--co-color-gris-100, #f6f6f6);
52
+ background: var(--co-color-gray-100, #f6f6f6);
53
53
  color: var(--co-color-base-negro, #1f1c1b);
54
54
  }
55
55
 
@@ -110,3 +110,38 @@
110
110
  background: var(--co-color-base-negro, #1f1c1b);
111
111
  color: var(--co-color-base-blanco, #fff);
112
112
  }
113
+
114
+ /* ─── Segmented variant ─────────────────────────────────────── */
115
+ /* Lives inside a .co-tab-group--segmented track. Transparent chip by
116
+ default; the selected tab becomes a white bordered pill with the lg
117
+ shadow. The transparent border on the base state reserves the 1px so
118
+ selecting a tab never shifts layout. */
119
+ .co-tab--segmented {
120
+ height: auto;
121
+ padding: var(--co-spacing-sm2, 8px) var(--co-spacing-md, 12px);
122
+ border: 1px solid transparent;
123
+ border-radius: var(--co-border-radius-xs, 8px);
124
+ font-size: var(--co-font-size-14);
125
+ font-weight: 400;
126
+ letter-spacing: -0.03em;
127
+ color: var(--co-color-gray-600, #585858);
128
+ background: transparent;
129
+ }
130
+
131
+ .co-tab--segmented:hover:not(:disabled) {
132
+ background: transparent;
133
+ color: var(--co-color-base-negro, #1f1c1b);
134
+ }
135
+
136
+ .co-tab--segmented.co-tab--selected {
137
+ background: var(--co-color-base-blanco, #fff);
138
+ border-color: var(--co-semantic-border-subtle, rgba(31, 28, 27, 0.08));
139
+ box-shadow: var(--co-shadow-lg);
140
+ font-weight: 500;
141
+ color: var(--co-color-base-negro, #1f1c1b);
142
+ }
143
+
144
+ .co-tab--segmented.co-tab--selected:hover:not(:disabled) {
145
+ background: var(--co-color-base-blanco, #fff);
146
+ color: var(--co-color-base-negro, #1f1c1b);
147
+ }
@@ -9,7 +9,7 @@ export class CoTab {
9
9
  this.selected = false;
10
10
  /** Size */
11
11
  this.size = 'small';
12
- /** Visual variant: filled pill (default) or underline tab */
12
+ /** Visual variant: filled pill (default), underline tab, or segmented-control pill */
13
13
  this.variant = 'pill';
14
14
  /** Disabled state */
15
15
  this.disabled = false;
@@ -21,13 +21,13 @@ export class CoTab {
21
21
  }
22
22
  render() {
23
23
  const iconSize = this.variant === 'underline' ? 16 : this.size === 'large' ? 18 : 14;
24
- return (h("button", { key: '6f181c1c0f6de62256ba768f656d0671b3e1968f', class: {
24
+ return (h("button", { key: '77fc8443dbdc5fe327ea28de6e926c4438e96cca', class: {
25
25
  'co-tab': true,
26
26
  [`co-tab--${this.size}`]: true,
27
27
  [`co-tab--${this.variant}`]: true,
28
28
  'co-tab--selected': this.selected,
29
29
  'co-tab--disabled': this.disabled,
30
- }, type: "button", role: "tab", "aria-selected": this.selected ? 'true' : 'false', disabled: this.disabled, part: "tab", onClick: this.handleClick }, this.iconLeft && (h("co-icon", { key: '0fd0c49bf5e1836ed1250f98efcd68a7752a0c34', name: this.iconLeft, size: iconSize })), h("span", { key: '2b71c8f428d2c775675c6f96d7e2e2f9733081b5', class: "co-tab__label" }, this.label), this.badge && (h("span", { key: '168c7695c9694026442662632e57f41f907ca727', class: "co-tab__badge", part: "badge" }, this.badge)), this.iconRight && (h("co-icon", { key: '1d290f34920e4d5d451f5f0d145796244fb94884', name: this.iconRight, size: iconSize }))));
30
+ }, type: "button", role: "tab", "aria-selected": this.selected ? 'true' : 'false', disabled: this.disabled, part: "tab", onClick: this.handleClick }, this.iconLeft && (h("co-icon", { key: '6d209028484dc6726f48cf1c5919cdeb59dac33a', name: this.iconLeft, size: iconSize })), h("span", { key: 'ee7cbdaaa22dde0b6ed599a1c9d20909f639d3db' }, this.label), this.badge && (h("span", { key: 'a1099b9d141f70d70e736853da2261fe3a125964', class: "co-tab__badge", part: "badge" }, this.badge)), this.iconRight && (h("co-icon", { key: '56a8917e4bbb27411f1bed6ef7b0a11e8c8b75b7', name: this.iconRight, size: iconSize }))));
31
31
  }
32
32
  static get is() { return "co-tab"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -127,15 +127,15 @@ export class CoTab {
127
127
  "type": "string",
128
128
  "mutable": false,
129
129
  "complexType": {
130
- "original": "'pill' | 'underline'",
131
- "resolved": "\"pill\" | \"underline\"",
130
+ "original": "'pill' | 'underline' | 'segmented'",
131
+ "resolved": "\"pill\" | \"segmented\" | \"underline\"",
132
132
  "references": {}
133
133
  },
134
134
  "required": false,
135
135
  "optional": false,
136
136
  "docs": {
137
137
  "tags": [],
138
- "text": "Visual variant: filled pill (default) or underline tab"
138
+ "text": "Visual variant: filled pill (default), underline tab, or segmented-control pill"
139
139
  },
140
140
  "getter": false,
141
141
  "setter": false,
@@ -15,3 +15,14 @@
15
15
  gap: var(--co-spacing-xs, 4px);
16
16
  border-bottom: 1px solid var(--co-color-opacity-negro-8, rgba(31, 28, 27, 0.08));
17
17
  }
18
+
19
+ /* ─── Segmented variant ─────────────────────────────────────── */
20
+ /* Gray track + white active pill (Figma segmented control). The
21
+ track hugs its content; each co-tab styles its own pill. */
22
+ .co-tab-group--segmented {
23
+ display: inline-flex;
24
+ gap: 2px;
25
+ padding: 3px;
26
+ background: var(--co-color-gray-100, #f6f6f6);
27
+ border-radius: var(--co-border-radius-sm, 12px);
28
+ }
@@ -3,6 +3,12 @@ export class CoTabGroup {
3
3
  constructor() {
4
4
  /** Visual variant, propagated to slotted co-tab children */
5
5
  this.variant = 'pill';
6
+ /** Slotted tabs can mount AFTER the group (async v-for data): re-propagate
7
+ variant/selection whenever the slot content changes, or late tabs render
8
+ with the default pill variant. */
9
+ this.onSlotChange = () => {
10
+ this.syncTabs();
11
+ };
6
12
  }
7
13
  onTabSelect(e) {
8
14
  e.stopPropagation();
@@ -27,10 +33,10 @@ export class CoTabGroup {
27
33
  });
28
34
  }
29
35
  render() {
30
- return (h("div", { key: '3ff595c9a6437d18ea990ca2b798f2ad182f5974', class: {
36
+ return (h("div", { key: 'b0e4e872934528c7dbce3bf1c0329b1efb0db887', class: {
31
37
  'co-tab-group': true,
32
38
  [`co-tab-group--${this.variant}`]: true,
33
- }, role: "tablist", part: "tab-group" }, h("slot", { key: 'b968cc4febb7156bf7e00bed02a6ec50fda354b0' })));
39
+ }, role: "tablist", part: "tab-group" }, h("slot", { key: '407d99ce75badc9bfeecaf8506155ef346681489', onSlotchange: this.onSlotChange })));
34
40
  }
35
41
  static get is() { return "co-tab-group"; }
36
42
  static get encapsulation() { return "shadow"; }
@@ -69,8 +75,8 @@ export class CoTabGroup {
69
75
  "type": "string",
70
76
  "mutable": false,
71
77
  "complexType": {
72
- "original": "'pill' | 'underline'",
73
- "resolved": "\"pill\" | \"underline\"",
78
+ "original": "'pill' | 'underline' | 'segmented'",
79
+ "resolved": "\"pill\" | \"segmented\" | \"underline\"",
74
80
  "references": {}
75
81
  },
76
82
  "required": false,
@@ -186,14 +186,14 @@ export class CoTagsField {
186
186
  const showClear = this.clearable && this.hasValue && !this.disabled && !this.readonly;
187
187
  const helper = this.isInvalid ? this.errorMessage : this.helperText;
188
188
  const showInput = !this.readonly && !this.atCapacity;
189
- return (h("div", { key: 'b06b0400bebca239be4b3510c790e649a0b09e55', class: {
189
+ return (h("div", { key: '45bafe056e1e22295fca85e4117688b3689f6531', class: {
190
190
  'co-tags-field': true,
191
191
  'co-tags-field--disabled': this.disabled,
192
192
  'co-tags-field--focused': this.hasFocus,
193
193
  'co-tags-field--filled': this.hasValue,
194
194
  'co-tags-field--invalid': this.isInvalid,
195
195
  [`co-tags-field--${this.size}`]: true,
196
- }, part: "wrapper" }, this.label && (h("div", { key: '0476d5d5e3522e3de8703ffe48aaab76e892e7bd', class: "co-tags-field__labels" }, h("label", { key: '23c99c158c88d6fc508218b40d037176728700d0', class: "co-tags-field__label", part: "label" }, this.label, h(RequiredMark, { key: '0c88d8476cc6c316132a2888f51d3eb49736d205', required: this.required })))), h("div", { key: 'f261306b322b86b0ce6319b74c1dd5a604e354d1', class: "co-tags-field__field-row" }, h("div", { key: 'ee3d816cf0c5197676629840eef464f85fcf9559', class: "co-tags-field__field", part: "field", onClick: this.handleFieldClick }, h("div", { key: 'a9c34371df22b4741d4c6ad1a3842df6f9a2f67d', class: "co-tags-field__input-wrapper" }, tags.map((tag, index) => this.editingIndex === index ? (h("input", { key: `edit-${index}`, 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() })) : (
196
+ }, part: "wrapper" }, this.label && (h("div", { key: '74f22995661cc3617ec781c002e9dd0d14be1d08', class: "co-tags-field__labels" }, h("label", { key: '90d1e9356d0e2e308b74be32fc508dcfd0d1049c', class: "co-tags-field__label", part: "label" }, this.label, h(RequiredMark, { key: '0cdef38368b8770ccf6f202f947a9b8797a0de2d', required: this.required })))), h("div", { key: '9be586d54135a42590ccd1114aa0024fb0a4cb89', class: "co-tags-field__field-row" }, h("div", { key: '61024e618e9140aa6e8ca14dc9b0d26dcf0192ed', class: "co-tags-field__field", part: "field", onClick: this.handleFieldClick }, h("div", { key: 'bcac0080c15699779e844632f52969ed3b97e669', class: "co-tags-field__input-wrapper" }, tags.map((tag, index) => this.editingIndex === index ? (h("input", { key: `edit-${index}`, 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() })) : (
197
197
  // Shared field-chip (utils/fieldChip.tsx) per the Figma
198
198
  // "Tipo=Chips" spec — same look as co-ref-field's chips.
199
199
  h(FieldChip, { key: `chip-${index}-${tag}`, baseClass: "co-tags-field__chip", label: tag, title: tag, onChipDblClick: () => this.startEdit(index), onRemove: !this.disabled && !this.readonly
@@ -201,13 +201,13 @@ export class CoTagsField {
201
201
  e.stopPropagation();
202
202
  this.removeTag(index);
203
203
  }
204
- : undefined }))), showInput && (h("input", { key: 'e3619e500dce2c86bbc964e80ce1b47bac97b488', 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 && (h("button", { key: 'd55a9de7143a4ec296b519d27d08528446c3eb7f', class: {
204
+ : undefined }))), showInput && (h("input", { key: 'a72e551df5531ccbc08db60c9f2c87dfd4d4b554', 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 && (h("button", { key: 'c18186dba9f0f07db60885885734fb924c8deeb5', class: {
205
205
  'co-tags-field__clear': true,
206
206
  'co-tags-field__clear--hidden': !showClear,
207
- }, type: "button", tabIndex: -1, onMouseDown: (e) => e.preventDefault() /* keep input focus */, onClick: this.handleClearAll, "aria-label": "Clear all", part: "clear" }, h("co-icon", { key: 'dfb1fb1b0e91013eaa6ce324089e04d9db16d5a5', name: "x-circle", size: 16, weight: "fill" }))))), this.name && h("input", { key: '1981743bf4ecdcca8ff44b92c234cd51cdeef536', type: "hidden", name: this.name, value: JSON.stringify(tags) }), helper && (h("div", { key: 'de671e568b85b27e03636530a544adaf46334e77', class: {
207
+ }, type: "button", tabIndex: -1, onMouseDown: (e) => e.preventDefault() /* keep input focus */, onClick: this.handleClearAll, "aria-label": "Clear all", part: "clear" }, h("co-icon", { key: '6831ec45b34a29da992291838bcd21bec82f9bc3', name: "x-circle", size: 16, weight: "fill" }))))), this.name && h("input", { key: 'ec43dc82ad02fe07a7dde183355c824275d64c7e', type: "hidden", name: this.name, value: JSON.stringify(tags) }), helper && (h("div", { key: '8d1a219b0536746e0d57a31b9124f203872e9360', class: {
208
208
  'co-tags-field__helper': true,
209
209
  'co-tags-field__helper--error': this.isInvalid,
210
- }, part: "helper" }, this.isInvalid && (h("co-icon", { key: '057154aa6ccbe1598b6d3fa9c82febb929454288', name: "warning-circle", size: 14, class: "co-tags-field__helper-icon" })), h("span", { key: '2d79353740ced07fa8d8e9fa2541ddf9d6261522', class: "co-tags-field__helper-text" }, helper)))));
210
+ }, part: "helper" }, this.isInvalid && (h("co-icon", { key: 'ceb06b309d8614eefaa81fd92a028e6fb69c8302', name: "warning-circle", size: 14, class: "co-tags-field__helper-icon" })), h("span", { key: '96134b037eb376bc20aab31b627b8cf579f76f8f', class: "co-tags-field__helper-text" }, helper)))));
211
211
  }
212
212
  static get is() { return "co-tags-field"; }
213
213
  static get encapsulation() { return "shadow"; }
@@ -71,7 +71,7 @@ export class CoTextarea {
71
71
  const showClear = this.clearable && this.hasValue && !this.disabled && !this.readonly;
72
72
  const isOverLimit = this.maxLength != null && this.charCount > this.maxLength;
73
73
  const statusClass = this.status !== 'default' ? `co-textarea--${this.status}` : '';
74
- return (h("div", { key: '3988a4a4fd675326284655953e77cace71ba661d', class: {
74
+ return (h("div", { key: 'cb418f5b90a1a22cdd5661d923fec6b5111d4f2f', class: {
75
75
  'co-textarea': true,
76
76
  'co-textarea--disabled': this.disabled,
77
77
  'co-textarea--focused': this.hasFocus,
@@ -79,13 +79,13 @@ export class CoTextarea {
79
79
  'co-textarea--over-limit': isOverLimit,
80
80
  [`co-textarea--${this.size}`]: true,
81
81
  [statusClass]: !!statusClass,
82
- }, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: 'c2ba685f08ada1353acb384316980dcddd4b9874', class: "co-textarea__labels" }, this.label && (h("label", { key: '91de715c89f556954471a00a00874e80f20ad186', class: "co-textarea__label", part: "label" }, this.label, h(RequiredMark, { key: 'c1409b803c1a0c9b9581a56b9790d9a2b7b63967', required: this.required }))), this.secondaryLabel && (h("span", { key: '51010b5855f06a455456153d8cac39142473951d', class: "co-textarea__secondary-label" }, this.secondaryLabel)))), h("div", { key: 'e4e20df0ae7995636a328af6f65408b2388ea94e', class: "co-textarea__field", part: "field" }, h("textarea", { key: 'd4e01012fcacf351d90047dc4f6c6e495025fb2a', ref: (el) => (this.textareaEl = el), class: {
82
+ }, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: '400c4187c7c6614e4e843216b466a45fdbb49d2b', class: "co-textarea__labels" }, this.label && (h("label", { key: 'a1e0e0fac2cd0c8645a89aba1367881e6f907005', class: "co-textarea__label", part: "label" }, this.label, h(RequiredMark, { key: '07870f276a4d35f35072dab6c8ee726079c34be5', required: this.required }))), this.secondaryLabel && (h("span", { key: 'ddcfffd9e502787acc434e4dd78abac7193b19cd', class: "co-textarea__secondary-label" }, this.secondaryLabel)))), h("div", { key: '4a315f9667d81b1aed6be91ed08095666bc69c37', class: "co-textarea__field", part: "field" }, h("textarea", { key: 'b0c69a6c064a04c7f487b8d48897f0882d15a8ad', ref: (el) => (this.textareaEl = el), class: {
83
83
  'co-textarea__native': true,
84
84
  [`co-textarea__native--resize-${this.resize}`]: true,
85
- }, 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 && (h("button", { key: '6e83fc70c4f4ca97b08dcce9c11ab8d07f3fb0ce', class: "co-textarea__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: 'c7a5be4eb9c1b225ed390af6c90eeb8cbc530996', name: "x-circle", size: 16, weight: "fill" })))), (this.helperText || this.maxLength != null) && (h("div", { key: '3211a12b4ef280e2aced5d55cff670a096b99b4e', class: "co-textarea__footer" }, this.helperText && (h("div", { key: 'f98be39968e67ab8dc2b3962977def3997964e00', class: {
85
+ }, 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 && (h("button", { key: 'b832c62e32fe0bf0e2343c71cec9755ecb68537c', class: "co-textarea__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: 'e0d6673bb0d29ddabb83ebff4bce9dcb1dce5408', name: "x-circle", size: 16, weight: "fill" })))), (this.helperText || this.maxLength != null) && (h("div", { key: '2f30b4a7923e78ee4c60fd40bbf891607978e961', class: "co-textarea__footer" }, this.helperText && (h("div", { key: '7de370940c99f30fad34e6b40911f190b38eb9b5', class: {
86
86
  'co-textarea__helper': true,
87
87
  'co-textarea__helper--error': this.status === 'error',
88
- }, part: "helper" }, this.status === 'error' && (h("co-icon", { key: '117908cada80bf151660808799a13ca04458611a', name: "warning-circle", size: 14, class: "co-textarea__helper-icon" })), h("span", { key: '4e1410e04d7989554495b0727a750887208649e3', class: "co-textarea__helper-text" }, this.helperText))), this.maxLength != null && (h("span", { key: 'd5bcfc362cc82d2dcaa2fe2d4c72b08e368a3196', class: {
88
+ }, part: "helper" }, this.status === 'error' && (h("co-icon", { key: '57e658fc2c65c787f11eaf10a56ac25358467710', name: "warning-circle", size: 14, class: "co-textarea__helper-icon" })), h("span", { key: '53f33d1e87ac75b87019843b8ffbd56e15fd998a', class: "co-textarea__helper-text" }, this.helperText))), this.maxLength != null && (h("span", { key: '80f731565f9fb3d99539ee06bc6bd6285736dbde', class: {
89
89
  'co-textarea__counter': true,
90
90
  'co-textarea__counter--over': isOverLimit,
91
91
  }, part: "counter" }, this.charCount, "/", this.maxLength))))));