@prolibu-suite/cobalt-core 0.11.6 → 0.11.8

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 (642) hide show
  1. package/custom-elements.json +160 -46
  2. package/dist/cjs/co-action-bar.cjs.entry.js +1 -1
  3. package/dist/cjs/co-app-shell.cjs.entry.js +1 -1
  4. package/dist/cjs/co-autocomplete.cjs.entry.js +1 -1
  5. package/dist/cjs/co-avatar.cjs.entry.js +6 -3
  6. package/dist/cjs/co-button.cjs.entry.js +14 -6
  7. package/dist/cjs/co-calendar-month_2.cjs.entry.js +9 -5
  8. package/dist/cjs/co-calendar_3.cjs.entry.js +25 -8
  9. package/dist/cjs/co-checkbox-group.cjs.entry.js +1 -1
  10. package/dist/cjs/co-checkbox.cjs.entry.js +1 -1
  11. package/dist/cjs/co-chip_2.cjs.entry.js +4 -4
  12. package/dist/cjs/co-color-picker.cjs.entry.js +24 -5
  13. package/dist/cjs/co-column-picker.cjs.entry.js +3 -3
  14. package/dist/cjs/co-combobox.cjs.entry.js +7 -5
  15. package/dist/cjs/co-command-search.cjs.entry.js +1 -1
  16. package/dist/cjs/co-data-table-pagination.cjs.entry.js +5 -5
  17. package/dist/cjs/co-data-table.cjs.entry.js +1 -1
  18. package/dist/cjs/co-date-picker.cjs.entry.js +1 -1
  19. package/dist/cjs/co-date-range-picker.cjs.entry.js +1 -1
  20. package/dist/cjs/co-date-range.cjs.entry.js +1 -1
  21. package/dist/cjs/co-date-time-picker.cjs.entry.js +3 -3
  22. package/dist/cjs/co-document-editor.cjs.entry.js +108 -7
  23. package/dist/cjs/co-drive-card.cjs.entry.js +2 -2
  24. package/dist/cjs/co-drop-zone.cjs.entry.js +1 -1
  25. package/dist/cjs/co-emoji-picker.cjs.entry.js +2 -2
  26. package/dist/cjs/co-empty-state.cjs.entry.js +3 -3
  27. package/dist/cjs/co-event-calendar.cjs.entry.js +2 -2
  28. package/dist/cjs/co-event-popover.cjs.entry.js +1 -1
  29. package/dist/cjs/co-fab.cjs.entry.js +3 -3
  30. package/dist/cjs/co-file-field.cjs.entry.js +87 -16
  31. package/dist/cjs/co-file-type-tile.cjs.entry.js +2 -2
  32. package/dist/cjs/co-gradient-bar.cjs.entry.js +4 -4
  33. package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
  34. package/dist/cjs/co-icon-button.cjs.entry.js +3 -3
  35. package/dist/cjs/co-icon.cjs.entry.js +2 -2
  36. package/dist/cjs/co-input.cjs.entry.js +1 -1
  37. package/dist/cjs/co-json-field.cjs.entry.js +4 -4
  38. package/dist/cjs/co-kbd_2.cjs.entry.js +6 -5
  39. package/dist/cjs/co-lightbox.cjs.entry.js +74 -9
  40. package/dist/cjs/co-list-footer.cjs.entry.js +1 -1
  41. package/dist/cjs/co-list-item.cjs.entry.js +4 -4
  42. package/dist/cjs/co-media-thumb.cjs.entry.js +2 -2
  43. package/dist/cjs/co-menu-divider.cjs.entry.js +1 -1
  44. package/dist/cjs/co-menu-item.cjs.entry.js +1 -1
  45. package/dist/cjs/co-menu.cjs.entry.js +3 -3
  46. package/dist/cjs/co-modal.cjs.entry.js +23 -3
  47. package/dist/cjs/co-navbar.cjs.entry.js +2 -2
  48. package/dist/cjs/co-number-field.cjs.entry.js +9 -5
  49. package/dist/cjs/co-overlay.cjs.entry.js +5 -4
  50. package/dist/cjs/co-page-header.cjs.entry.js +1 -1
  51. package/dist/cjs/co-phone-field.cjs.entry.js +52 -2
  52. package/dist/cjs/co-popover.cjs.entry.js +36 -6
  53. package/dist/cjs/co-progress-bar.cjs.entry.js +3 -3
  54. package/dist/cjs/co-progress-circle.cjs.entry.js +2 -2
  55. package/dist/cjs/co-provider-logo_2.cjs.entry.js +1 -1
  56. package/dist/cjs/co-radio-group.cjs.entry.js +1 -1
  57. package/dist/cjs/co-radio.cjs.entry.js +3 -3
  58. package/dist/cjs/co-rating.cjs.entry.js +4 -4
  59. package/dist/cjs/co-ref-field.cjs.entry.js +15 -8
  60. package/dist/cjs/co-rich-text-editor.cjs.entry.js +80 -23
  61. package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +105 -2
  62. package/dist/cjs/co-rich-text-viewer.cjs.entry.js +2 -2
  63. package/dist/cjs/co-row.cjs.entry.js +2 -2
  64. package/dist/cjs/co-select.cjs.entry.js +10 -8
  65. package/dist/cjs/co-separator.cjs.entry.js +1 -1
  66. package/dist/cjs/co-sidebar-nav.cjs.entry.js +11 -9
  67. package/dist/cjs/co-sidebar.cjs.entry.js +2 -2
  68. package/dist/cjs/co-slider.cjs.entry.js +3 -3
  69. package/dist/cjs/co-swatch-grid.cjs.entry.js +3 -3
  70. package/dist/cjs/co-switch.cjs.entry.js +4 -4
  71. package/dist/cjs/co-tab-group.cjs.entry.js +110 -12
  72. package/dist/cjs/co-tab.cjs.entry.js +3 -3
  73. package/dist/cjs/co-tags-field.cjs.entry.js +7 -7
  74. package/dist/cjs/co-textarea.cjs.entry.js +5 -5
  75. package/dist/cjs/co-tile.cjs.entry.js +1 -1
  76. package/dist/cjs/co-time-field.cjs.entry.js +1 -1
  77. package/dist/cjs/co-toast.cjs.entry.js +1 -1
  78. package/dist/cjs/co-toggle-button-group.cjs.entry.js +6 -4
  79. package/dist/cjs/co-toggle-button.cjs.entry.js +5 -3
  80. package/dist/cjs/co-transfer-list.cjs.entry.js +1 -1
  81. package/dist/cjs/co-video.cjs.entry.js +2 -2
  82. package/dist/cjs/cobalt.cjs.js +1 -1
  83. package/dist/cjs/{color-DQVrQGi0.js → color-DlKNWtdc.js} +38 -2
  84. package/dist/cjs/escapeLayers-DlCir9Sr.js +22 -0
  85. package/dist/cjs/fieldChip-DbYMfylq.js +7 -0
  86. package/dist/cjs/{gradientStops-CMpH4fB_.js → gradientStops-xZbv7bi6.js} +1 -1
  87. package/dist/cjs/{index-BbSD1Eyw.js → index-CJhgaDE1.js} +1 -1
  88. package/dist/cjs/index-bHoidDwv.js +14 -14
  89. package/dist/cjs/loader.cjs.js +1 -1
  90. package/dist/cjs/{pagination-S2sSAgdl.js → pagination-BPA1UGs-.js} +30 -0
  91. package/dist/cjs/popoverApi-D1ChCCdO.js +27 -0
  92. package/dist/cjs/{richTextI18n-DXGIv5w1.js → richTextI18n-B8qb5JKb.js} +12 -0
  93. package/dist/cobalt/cobalt.esm.js +1 -1
  94. package/dist/cobalt/p-01b54d81.entry.js +1 -0
  95. package/dist/cobalt/{p-02ff847e.entry.js → p-02133c95.entry.js} +1 -1
  96. package/dist/cobalt/{p-73313cbe.entry.js → p-0bbaaf4f.entry.js} +1 -1
  97. package/dist/cobalt/p-0f3a3232.entry.js +1 -0
  98. package/dist/cobalt/p-12fc5119.entry.js +1 -0
  99. package/dist/cobalt/p-19f0f534.entry.js +1 -0
  100. package/dist/cobalt/p-1c9253a2.entry.js +1 -0
  101. package/dist/cobalt/{p-63908a8d.entry.js → p-256ca457.entry.js} +1 -1
  102. package/dist/cobalt/p-2832ab99.entry.js +1 -0
  103. package/dist/cobalt/p-299c2425.entry.js +1 -0
  104. package/dist/cobalt/{p-71fe35c4.entry.js → p-2ff8f591.entry.js} +1 -1
  105. package/dist/cobalt/p-33840969.entry.js +1 -0
  106. package/dist/cobalt/p-353ff9ed.entry.js +1 -0
  107. package/dist/cobalt/p-37f9ec35.entry.js +1 -0
  108. package/dist/cobalt/p-3878f174.entry.js +1 -0
  109. package/dist/cobalt/{p-a4eb298c.entry.js → p-3890d22f.entry.js} +1 -1
  110. package/dist/cobalt/{p-7fabd8ba.entry.js → p-3b7e90c8.entry.js} +1 -1
  111. package/dist/cobalt/p-3bff827a.entry.js +1 -0
  112. package/dist/cobalt/{p-65c191aa.entry.js → p-3e532a11.entry.js} +1 -1
  113. package/dist/cobalt/{p-4d743628.entry.js → p-3e864e7d.entry.js} +1 -1
  114. package/dist/cobalt/p-454dd8ab.entry.js +1 -0
  115. package/dist/cobalt/{p-cfaaa684.entry.js → p-4ae6fe0e.entry.js} +1 -1
  116. package/dist/cobalt/p-4cdfcd9c.entry.js +1 -0
  117. package/dist/cobalt/p-50ab6b9b.entry.js +1 -0
  118. package/dist/cobalt/{p-713637f2.entry.js → p-59a71695.entry.js} +1 -1
  119. package/dist/cobalt/{p-06689166.entry.js → p-5d41b58b.entry.js} +1 -1
  120. package/dist/cobalt/{p-95f2ebb1.entry.js → p-5e14f676.entry.js} +1 -1
  121. package/dist/cobalt/p-5e39cf70.entry.js +1 -0
  122. package/dist/cobalt/{p-df529110.entry.js → p-600d0cab.entry.js} +1 -1
  123. package/dist/cobalt/{p-d5d8fa8b.entry.js → p-63f888a1.entry.js} +1 -1
  124. package/dist/cobalt/{p-d00c3894.entry.js → p-6eca1c7c.entry.js} +1 -1
  125. package/dist/cobalt/p-74804c79.entry.js +1 -0
  126. package/dist/cobalt/{p-f2fa2ac0.entry.js → p-76ea3f34.entry.js} +1 -1
  127. package/dist/cobalt/p-7737354e.entry.js +1 -0
  128. package/dist/cobalt/p-7e444408.entry.js +1 -0
  129. package/dist/cobalt/p-7e72720a.entry.js +1 -0
  130. package/dist/cobalt/p-82bcd062.entry.js +1 -0
  131. package/dist/cobalt/{p-56176aa0.entry.js → p-83691cfb.entry.js} +1 -1
  132. package/dist/cobalt/p-84ad0227.entry.js +1 -0
  133. package/dist/cobalt/{p-b2457431.entry.js → p-89328cd8.entry.js} +1 -1
  134. package/dist/cobalt/p-8a26f3cc.entry.js +1 -0
  135. package/dist/cobalt/p-8e7ad2fe.entry.js +1 -0
  136. package/dist/cobalt/p-947b8e35.entry.js +1 -0
  137. package/dist/cobalt/p-94b871fb.entry.js +1 -0
  138. package/dist/cobalt/p-99781b0b.entry.js +1 -0
  139. package/dist/cobalt/{p-71dc8e4a.entry.js → p-9af26af0.entry.js} +1 -1
  140. package/dist/cobalt/p-9ce57385.entry.js +1 -0
  141. package/dist/cobalt/p-BzxEh7sq.js +1 -0
  142. package/dist/cobalt/{p-DXLeDZvr.js → p-CP7MznKV.js} +1 -1
  143. package/dist/cobalt/p-CSLjZ3WO.js +1 -0
  144. package/dist/cobalt/{p-Ch-Tygdb.js → p-CqQobidl.js} +1 -1
  145. package/dist/cobalt/p-Dp1JT0dm.js +1 -0
  146. package/dist/cobalt/p-EtYK1iGx.js +1 -0
  147. package/dist/cobalt/p-LnW75kr5.js +1 -0
  148. package/dist/cobalt/{p-cf5b91be.entry.js → p-a18c01eb.entry.js} +1 -1
  149. package/dist/cobalt/{p-65d44da2.entry.js → p-a33a277a.entry.js} +1 -1
  150. package/dist/cobalt/p-a4154bcf.entry.js +1 -0
  151. package/dist/cobalt/{p-aed832d5.entry.js → p-a4264bde.entry.js} +1 -1
  152. package/dist/cobalt/p-a6c9a0c5.entry.js +1 -0
  153. package/dist/cobalt/{p-f69804a6.entry.js → p-b402665a.entry.js} +1 -1
  154. package/dist/cobalt/p-b723aa47.entry.js +1 -0
  155. package/dist/cobalt/{p-903237f9.entry.js → p-bbf3d859.entry.js} +1 -1
  156. package/dist/cobalt/p-bee52042.entry.js +1 -0
  157. package/dist/cobalt/{p-a7cd61ce.entry.js → p-c004fde5.entry.js} +1 -1
  158. package/dist/cobalt/p-c026968c.entry.js +1 -0
  159. package/dist/cobalt/{p-8a2a2b6c.entry.js → p-c23630ab.entry.js} +1 -1
  160. package/dist/cobalt/p-c31b9b51.entry.js +1 -0
  161. package/dist/cobalt/{p-0e4c2234.entry.js → p-c93be2d5.entry.js} +1 -1
  162. package/dist/cobalt/p-cb1013e6.entry.js +1 -0
  163. package/dist/cobalt/p-cd43d372.entry.js +1 -0
  164. package/dist/cobalt/{p-26cbdc33.entry.js → p-cea21e08.entry.js} +1 -1
  165. package/dist/cobalt/{p-ba39a965.entry.js → p-d1595580.entry.js} +1 -1
  166. package/dist/cobalt/{p-99df434b.entry.js → p-d26dc681.entry.js} +1 -1
  167. package/dist/cobalt/{p-8680559b.entry.js → p-d375c84e.entry.js} +1 -1
  168. package/dist/cobalt/{p-bee30373.entry.js → p-d7775109.entry.js} +1 -1
  169. package/dist/cobalt/p-d9b4594b.entry.js +1 -0
  170. package/dist/cobalt/{p-b67fb616.entry.js → p-e4646a0e.entry.js} +1 -1
  171. package/dist/cobalt/{p-7beface1.entry.js → p-e5350eeb.entry.js} +1 -1
  172. package/dist/cobalt/p-eab59be5.entry.js +1 -0
  173. package/dist/cobalt/{p-e5f0d560.entry.js → p-f1da1df1.entry.js} +1 -1
  174. package/dist/cobalt/p-f23f52ed.entry.js +1 -0
  175. package/dist/cobalt/p-f562bd96.entry.js +1 -0
  176. package/dist/cobalt/{p-13e5b724.entry.js → p-f6f273f7.entry.js} +1 -1
  177. package/dist/cobalt/{p-71ae1551.entry.js → p-fb6671e0.entry.js} +1 -1
  178. package/dist/cobalt/p-fb731600.entry.js +1 -0
  179. package/dist/cobalt/{p-7d1718ed.entry.js → p-feec49a4.entry.js} +1 -1
  180. package/dist/cobalt/p-ff218d09.entry.js +1 -0
  181. package/dist/cobalt/p-hXbDUT3I.js +1 -0
  182. package/dist/collection/components/co-action-bar/co-action-bar.css +6 -2
  183. package/dist/collection/components/co-app-shell/co-app-shell.css +6 -5
  184. package/dist/collection/components/co-autocomplete/co-autocomplete.css +12 -6
  185. package/dist/collection/components/co-autocomplete/co-autocomplete.js +1 -1
  186. package/dist/collection/components/co-avatar/co-avatar.css +11 -1
  187. package/dist/collection/components/co-avatar/co-avatar.js +5 -2
  188. package/dist/collection/components/co-avatar-group/co-avatar-group.js +1 -1
  189. package/dist/collection/components/co-button/co-button.css +38 -7
  190. package/dist/collection/components/co-button/co-button.js +34 -6
  191. package/dist/collection/components/co-calendar/co-calendar.css +4 -1
  192. package/dist/collection/components/co-calendar-month/co-calendar-month.css +3 -1
  193. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.css +3 -1
  194. package/dist/collection/components/co-checkbox/co-checkbox.css +5 -1
  195. package/dist/collection/components/co-checkbox-group/co-checkbox-group.css +10 -5
  196. package/dist/collection/components/co-checkbox-group/co-checkbox-group.js +1 -1
  197. package/dist/collection/components/co-chip/co-chip.css +17 -12
  198. package/dist/collection/components/co-color-area/co-color-area.js +2 -2
  199. package/dist/collection/components/co-color-picker/co-color-picker.css +19 -7
  200. package/dist/collection/components/co-color-picker/co-color-picker.js +42 -3
  201. package/dist/collection/components/co-color-slider/co-color-slider.js +1 -1
  202. package/dist/collection/components/co-column-picker/co-column-picker.css +10 -5
  203. package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
  204. package/dist/collection/components/co-combobox/co-combobox.css +8 -5
  205. package/dist/collection/components/co-combobox/co-combobox.js +7 -5
  206. package/dist/collection/components/co-command-search/co-command-search.css +5 -2
  207. package/dist/collection/components/co-command-search/co-command-search.js +1 -1
  208. package/dist/collection/components/co-data-table/co-data-table.css +13 -10
  209. package/dist/collection/components/co-data-table/co-data-table.js +1 -1
  210. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.css +15 -13
  211. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  212. package/dist/collection/components/co-date-field/co-date-field.css +11 -5
  213. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  214. package/dist/collection/components/co-date-picker/co-date-picker.css +5 -2
  215. package/dist/collection/components/co-date-range/co-date-range.js +1 -1
  216. package/dist/collection/components/co-date-range-picker/co-date-range-picker.css +9 -3
  217. package/dist/collection/components/co-date-range-picker/co-date-range-picker.js +2 -2
  218. package/dist/collection/components/co-date-time-picker/co-date-time-picker.css +11 -5
  219. package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +2 -2
  220. package/dist/collection/components/co-document-editor/co-document-editor.css +112 -1
  221. package/dist/collection/components/co-document-editor/co-document-editor.js +91 -10
  222. package/dist/collection/components/co-document-editor/signature-bar.js +26 -0
  223. package/dist/collection/components/co-drawer/co-drawer.css +12 -4
  224. package/dist/collection/components/co-drawer/co-drawer.js +18 -1
  225. package/dist/collection/components/co-drive-card/co-drive-card.css +18 -12
  226. package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
  227. package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
  228. package/dist/collection/components/co-emoji-picker/co-emoji-picker.js +2 -2
  229. package/dist/collection/components/co-empty-state/co-empty-state.css +10 -6
  230. package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
  231. package/dist/collection/components/co-event-calendar/co-event-calendar.js +2 -2
  232. package/dist/collection/components/co-event-popover/co-event-popover.js +1 -1
  233. package/dist/collection/components/co-fab/co-fab.css +5 -3
  234. package/dist/collection/components/co-fab/co-fab.js +2 -2
  235. package/dist/collection/components/co-file-field/co-file-field.css +11 -6
  236. package/dist/collection/components/co-file-field/co-file-field.js +30 -16
  237. package/dist/collection/components/co-file-field/co-file-field.utils.js +57 -0
  238. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
  239. package/dist/collection/components/co-gradient-bar/co-gradient-bar.js +2 -2
  240. package/dist/collection/components/co-helper-text/co-helper-text.css +6 -4
  241. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  242. package/dist/collection/components/co-icon/co-icon.js +2 -2
  243. package/dist/collection/components/co-icon-button/co-icon-button.css +5 -3
  244. package/dist/collection/components/co-icon-button/co-icon-button.js +2 -2
  245. package/dist/collection/components/co-input/co-input.css +49 -22
  246. package/dist/collection/components/co-json-field/co-json-field.css +10 -5
  247. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  248. package/dist/collection/components/co-kbd/co-kbd.js +1 -1
  249. package/dist/collection/components/co-lightbox/co-lightbox.js +11 -9
  250. package/dist/collection/components/co-lightbox/openInTab.js +63 -0
  251. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  252. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  253. package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
  254. package/dist/collection/components/co-menu/co-menu.css +7 -0
  255. package/dist/collection/components/co-menu/co-menu.js +2 -2
  256. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  257. package/dist/collection/components/co-menu-item/co-menu-item.css +19 -7
  258. package/dist/collection/components/co-modal/co-modal.css +3 -0
  259. package/dist/collection/components/co-modal/co-modal.js +23 -2
  260. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  261. package/dist/collection/components/co-number-field/co-number-field.css +12 -6
  262. package/dist/collection/components/co-number-field/co-number-field.js +3 -3
  263. package/dist/collection/components/co-option-list/co-option-list.css +7 -4
  264. package/dist/collection/components/co-option-list/co-option-list.js +2 -2
  265. package/dist/collection/components/co-overlay/co-overlay.css +3 -0
  266. package/dist/collection/components/co-overlay/co-overlay.js +4 -3
  267. package/dist/collection/components/co-overlay/escapeLayers.js +20 -0
  268. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  269. package/dist/collection/components/co-phone-field/co-phone-field.css +8 -3
  270. package/dist/collection/components/co-phone-field/co-phone-field.js +36 -1
  271. package/dist/collection/components/co-popover/co-popover.css +4 -0
  272. package/dist/collection/components/co-popover/co-popover.js +36 -6
  273. package/dist/collection/components/co-progress-bar/co-progress-bar.css +6 -2
  274. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  275. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  276. package/dist/collection/components/co-radio/co-radio.js +3 -3
  277. package/dist/collection/components/co-radio-group/co-radio-group.css +10 -5
  278. package/dist/collection/components/co-radio-group/co-radio-group.js +1 -1
  279. package/dist/collection/components/co-rating/co-rating.css +6 -4
  280. package/dist/collection/components/co-rating/co-rating.js +3 -3
  281. package/dist/collection/components/co-ref-field/co-ref-field.css +43 -8
  282. package/dist/collection/components/co-ref-field/co-ref-field.js +17 -10
  283. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +26 -4
  284. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +77 -20
  285. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.css +3 -1
  286. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.js +40 -0
  287. package/dist/collection/components/co-rich-text-toolbar/panelFit.js +63 -0
  288. package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.css +2 -1
  289. package/dist/collection/components/co-row/co-row.js +2 -2
  290. package/dist/collection/components/co-segmented-bar/co-segmented-bar.js +1 -1
  291. package/dist/collection/components/co-select/co-select.css +22 -12
  292. package/dist/collection/components/co-select/co-select.js +10 -8
  293. package/dist/collection/components/co-separator/co-separator.js +1 -1
  294. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  295. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +56 -19
  296. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +11 -9
  297. package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
  298. package/dist/collection/components/co-slider/co-slider.css +6 -4
  299. package/dist/collection/components/co-slider/co-slider.js +2 -2
  300. package/dist/collection/components/co-swatch-grid/co-swatch-grid.js +1 -1
  301. package/dist/collection/components/co-switch/co-switch.css +16 -7
  302. package/dist/collection/components/co-switch/co-switch.js +3 -3
  303. package/dist/collection/components/co-tab/co-tab.css +33 -29
  304. package/dist/collection/components/co-tab/co-tab.js +2 -2
  305. package/dist/collection/components/co-tab-group/co-tab-group.css +26 -6
  306. package/dist/collection/components/co-tab-group/co-tab-group.js +78 -11
  307. package/dist/collection/components/co-tab-group/trackScroll.js +31 -0
  308. package/dist/collection/components/co-tags-field/co-tags-field.css +10 -5
  309. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  310. package/dist/collection/components/co-textarea/co-textarea.css +12 -7
  311. package/dist/collection/components/co-textarea/co-textarea.js +4 -4
  312. package/dist/collection/components/co-tile/co-tile.js +1 -1
  313. package/dist/collection/components/co-time-field/co-time-field.js +1 -1
  314. package/dist/collection/components/co-toast/co-toast.css +36 -25
  315. package/dist/collection/components/co-toast/co-toast.js +2 -2
  316. package/dist/collection/components/co-toggle-button/co-toggle-button.css +47 -0
  317. package/dist/collection/components/co-toggle-button/co-toggle-button.js +7 -5
  318. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.css +12 -0
  319. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +10 -8
  320. package/dist/collection/components/co-tooltip/co-tooltip.js +5 -4
  321. package/dist/collection/components/co-transfer-list/co-transfer-list.css +15 -8
  322. package/dist/collection/components/co-transfer-list/co-transfer-list.js +1 -1
  323. package/dist/collection/components/co-tree-item/co-tree-item.js +2 -2
  324. package/dist/collection/components/co-video/co-video.js +2 -2
  325. package/dist/collection/utils/amountText.js +5 -1
  326. package/dist/collection/utils/color.js +36 -2
  327. package/dist/collection/utils/eventColor.js +7 -3
  328. package/dist/collection/utils/fieldChip.js +1 -1
  329. package/dist/collection/utils/phoneI18n.js +34 -0
  330. package/dist/collection/utils/popoverApi.js +23 -0
  331. package/dist/collection/utils/richTextI18n.js +12 -0
  332. package/dist/components/co-accordion.js +1 -1
  333. package/dist/components/co-action-bar.js +1 -1
  334. package/dist/components/co-app-shell.js +1 -1
  335. package/dist/components/co-audio-player.js +1 -1
  336. package/dist/components/co-autocomplete.js +1 -1
  337. package/dist/components/co-avatar-group.js +1 -1
  338. package/dist/components/co-avatar.js +1 -1
  339. package/dist/components/co-breadcrumb-item.js +1 -1
  340. package/dist/components/co-breadcrumb.js +1 -1
  341. package/dist/components/co-button.js +1 -1
  342. package/dist/components/co-calendar-month.js +1 -1
  343. package/dist/components/co-calendar-timegrid.js +1 -1
  344. package/dist/components/co-calendar.js +1 -1
  345. package/dist/components/co-carousel.js +1 -1
  346. package/dist/components/co-checkbox-group.js +1 -1
  347. package/dist/components/co-checkbox.js +1 -1
  348. package/dist/components/co-chip.js +1 -1
  349. package/dist/components/co-color-picker.js +1 -1
  350. package/dist/components/co-column-picker.js +1 -1
  351. package/dist/components/co-combobox.js +1 -1
  352. package/dist/components/co-command-search.js +1 -1
  353. package/dist/components/co-data-table-pagination.js +1 -1
  354. package/dist/components/co-data-table.js +1 -1
  355. package/dist/components/co-date-field.js +1 -1
  356. package/dist/components/co-date-picker.js +1 -1
  357. package/dist/components/co-date-range-picker.js +1 -1
  358. package/dist/components/co-date-range.js +1 -1
  359. package/dist/components/co-date-time-picker.js +1 -1
  360. package/dist/components/co-document-editor.js +1 -1
  361. package/dist/components/co-drawer.js +1 -1
  362. package/dist/components/co-drive-card.js +1 -1
  363. package/dist/components/co-drop-zone.js +1 -1
  364. package/dist/components/co-emoji-picker.js +1 -1
  365. package/dist/components/co-empty-state.js +1 -1
  366. package/dist/components/co-event-calendar.js +1 -1
  367. package/dist/components/co-event-popover.js +1 -1
  368. package/dist/components/co-fab.js +1 -1
  369. package/dist/components/co-file-field.js +1 -1
  370. package/dist/components/co-file-type-tile.js +1 -1
  371. package/dist/components/co-gradient-bar.js +1 -1
  372. package/dist/components/co-helper-text.js +1 -1
  373. package/dist/components/co-icon-button.js +1 -1
  374. package/dist/components/co-icon.js +1 -1
  375. package/dist/components/co-input.js +1 -1
  376. package/dist/components/co-json-field.js +1 -1
  377. package/dist/components/co-kbd.js +1 -1
  378. package/dist/components/co-lightbox.js +1 -1
  379. package/dist/components/co-list-footer.js +1 -1
  380. package/dist/components/co-list-item.js +1 -1
  381. package/dist/components/co-media-thumb.js +1 -1
  382. package/dist/components/co-menu-divider.js +1 -1
  383. package/dist/components/co-menu-item.js +1 -1
  384. package/dist/components/co-menu.js +1 -1
  385. package/dist/components/co-modal.js +1 -1
  386. package/dist/components/co-navbar.js +1 -1
  387. package/dist/components/co-number-field.js +1 -1
  388. package/dist/components/co-option-list.js +1 -1
  389. package/dist/components/co-overlay.js +1 -1
  390. package/dist/components/co-page-header.js +1 -1
  391. package/dist/components/co-phone-field.js +1 -1
  392. package/dist/components/co-popover.js +1 -1
  393. package/dist/components/co-progress-bar.js +1 -1
  394. package/dist/components/co-progress-circle.js +1 -1
  395. package/dist/components/co-radio-group.js +1 -1
  396. package/dist/components/co-radio.js +1 -1
  397. package/dist/components/co-rating.js +1 -1
  398. package/dist/components/co-ref-field.js +1 -1
  399. package/dist/components/co-rich-text-editor.js +1 -1
  400. package/dist/components/co-rich-text-toolbar.js +1 -1
  401. package/dist/components/co-rich-text-viewer.js +1 -1
  402. package/dist/components/co-row.js +1 -1
  403. package/dist/components/co-select.js +1 -1
  404. package/dist/components/co-separator.js +1 -1
  405. package/dist/components/co-sidebar-nav.js +1 -1
  406. package/dist/components/co-sidebar.js +1 -1
  407. package/dist/components/co-skeleton.js +1 -1
  408. package/dist/components/co-slider.js +1 -1
  409. package/dist/components/co-swatch-grid.js +1 -1
  410. package/dist/components/co-switch.js +1 -1
  411. package/dist/components/co-tab-group.js +1 -1
  412. package/dist/components/co-tab.js +1 -1
  413. package/dist/components/co-tags-field.js +1 -1
  414. package/dist/components/co-textarea.js +1 -1
  415. package/dist/components/co-tile.js +1 -1
  416. package/dist/components/co-time-field.js +1 -1
  417. package/dist/components/co-toast.js +1 -1
  418. package/dist/components/co-toggle-button-group.js +1 -1
  419. package/dist/components/co-toggle-button.js +1 -1
  420. package/dist/components/co-tooltip.js +1 -1
  421. package/dist/components/co-transfer-list.js +1 -1
  422. package/dist/components/co-tree-item.js +1 -1
  423. package/dist/components/co-video.js +1 -1
  424. package/dist/components/{p-CxWo3qDo.js → p-4Y3YkFf1.js} +1 -1
  425. package/dist/components/p-B70R6xWE.js +1 -0
  426. package/dist/components/{p-BW10Sgiy.js → p-BGNXvnDr.js} +1 -1
  427. package/dist/components/p-BMyWdiVO.js +1 -0
  428. package/dist/components/p-BRIf9NGv.js +1 -0
  429. package/dist/components/p-BSt2t5Fy.js +1 -0
  430. package/dist/components/p-Bd6H9_5D.js +1 -0
  431. package/dist/components/p-BfDYq7JS.js +1 -0
  432. package/dist/components/{p-C4sZjIDj.js → p-BhmVj5-9.js} +1 -1
  433. package/dist/components/{p-BI_VaFsx.js → p-BkyYV32T.js} +1 -1
  434. package/dist/components/p-BzxEh7sq.js +1 -0
  435. package/dist/components/p-CDiRdG6I.js +1 -0
  436. package/dist/components/{p-Dn2wblrA.js → p-CO12CK0t.js} +1 -1
  437. package/dist/components/{p-DymSqdlK.js → p-COCcx0DN.js} +1 -1
  438. package/dist/components/{p-DXLeDZvr.js → p-CP7MznKV.js} +1 -1
  439. package/dist/components/{p-Bw_b_czs.js → p-CXi0fhTi.js} +1 -1
  440. package/dist/components/p-CaAdnjC6.js +1 -0
  441. package/dist/components/p-CjB5Vqpy.js +1 -0
  442. package/dist/components/{p-Ch-Tygdb.js → p-CqQobidl.js} +1 -1
  443. package/dist/components/{p-BRZci8B3.js → p-CwRoHnzq.js} +1 -1
  444. package/dist/components/p-DHIa14ep.js +1 -0
  445. package/dist/components/{p-Dnz99Ox_.js → p-DMW9TJ7Z.js} +1 -1
  446. package/dist/components/p-DRL-a5hO.js +1 -0
  447. package/dist/components/p-DTWqwwXO.js +1 -0
  448. package/dist/components/{p-8XzG8pzY.js → p-DldA2IL3.js} +1 -1
  449. package/dist/components/p-Dp1JT0dm.js +1 -0
  450. package/dist/components/p-LnW75kr5.js +1 -0
  451. package/dist/components/p-R1W48hzW.js +1 -0
  452. package/dist/components/p-hXbDUT3I.js +1 -0
  453. package/dist/components/p-o5wUtH9g.js +1 -0
  454. package/dist/components/{p-KK2vAKs-.js → p-qMNHMnvI.js} +1 -1
  455. package/dist/components/{p-C6WHpL5X.js → p-rfvTj6cP.js} +1 -1
  456. package/dist/components/{p-COozgrEk.js → p-w3AQrtBx.js} +1 -1
  457. package/dist/components/p-xA7AfoIW.js +1 -0
  458. package/dist/esm/co-action-bar.entry.js +1 -1
  459. package/dist/esm/co-app-shell.entry.js +1 -1
  460. package/dist/esm/co-autocomplete.entry.js +1 -1
  461. package/dist/esm/co-avatar.entry.js +6 -3
  462. package/dist/esm/co-button.entry.js +14 -6
  463. package/dist/esm/co-calendar-month_2.entry.js +9 -5
  464. package/dist/esm/co-calendar_3.entry.js +25 -8
  465. package/dist/esm/co-checkbox-group.entry.js +1 -1
  466. package/dist/esm/co-checkbox.entry.js +1 -1
  467. package/dist/esm/co-chip_2.entry.js +4 -4
  468. package/dist/esm/co-color-picker.entry.js +24 -5
  469. package/dist/esm/co-column-picker.entry.js +3 -3
  470. package/dist/esm/co-combobox.entry.js +7 -5
  471. package/dist/esm/co-command-search.entry.js +1 -1
  472. package/dist/esm/co-data-table-pagination.entry.js +5 -5
  473. package/dist/esm/co-data-table.entry.js +1 -1
  474. package/dist/esm/co-date-picker.entry.js +1 -1
  475. package/dist/esm/co-date-range-picker.entry.js +1 -1
  476. package/dist/esm/co-date-range.entry.js +1 -1
  477. package/dist/esm/co-date-time-picker.entry.js +3 -3
  478. package/dist/esm/co-document-editor.entry.js +108 -7
  479. package/dist/esm/co-drive-card.entry.js +2 -2
  480. package/dist/esm/co-drop-zone.entry.js +1 -1
  481. package/dist/esm/co-emoji-picker.entry.js +2 -2
  482. package/dist/esm/co-empty-state.entry.js +3 -3
  483. package/dist/esm/co-event-calendar.entry.js +2 -2
  484. package/dist/esm/co-event-popover.entry.js +1 -1
  485. package/dist/esm/co-fab.entry.js +3 -3
  486. package/dist/esm/co-file-field.entry.js +87 -16
  487. package/dist/esm/co-file-type-tile.entry.js +2 -2
  488. package/dist/esm/co-gradient-bar.entry.js +4 -4
  489. package/dist/esm/co-helper-text.entry.js +3 -3
  490. package/dist/esm/co-icon-button.entry.js +3 -3
  491. package/dist/esm/co-icon.entry.js +2 -2
  492. package/dist/esm/co-input.entry.js +1 -1
  493. package/dist/esm/co-json-field.entry.js +4 -4
  494. package/dist/esm/co-kbd_2.entry.js +6 -5
  495. package/dist/esm/co-lightbox.entry.js +74 -9
  496. package/dist/esm/co-list-footer.entry.js +1 -1
  497. package/dist/esm/co-list-item.entry.js +4 -4
  498. package/dist/esm/co-media-thumb.entry.js +2 -2
  499. package/dist/esm/co-menu-divider.entry.js +1 -1
  500. package/dist/esm/co-menu-item.entry.js +1 -1
  501. package/dist/esm/co-menu.entry.js +3 -3
  502. package/dist/esm/co-modal.entry.js +23 -3
  503. package/dist/esm/co-navbar.entry.js +2 -2
  504. package/dist/esm/co-number-field.entry.js +9 -5
  505. package/dist/esm/co-overlay.entry.js +5 -4
  506. package/dist/esm/co-page-header.entry.js +1 -1
  507. package/dist/esm/co-phone-field.entry.js +52 -2
  508. package/dist/esm/co-popover.entry.js +36 -6
  509. package/dist/esm/co-progress-bar.entry.js +3 -3
  510. package/dist/esm/co-progress-circle.entry.js +2 -2
  511. package/dist/esm/co-provider-logo_2.entry.js +1 -1
  512. package/dist/esm/co-radio-group.entry.js +1 -1
  513. package/dist/esm/co-radio.entry.js +3 -3
  514. package/dist/esm/co-rating.entry.js +4 -4
  515. package/dist/esm/co-ref-field.entry.js +15 -8
  516. package/dist/esm/co-rich-text-editor.entry.js +80 -23
  517. package/dist/esm/co-rich-text-toolbar.entry.js +105 -2
  518. package/dist/esm/co-rich-text-viewer.entry.js +2 -2
  519. package/dist/esm/co-row.entry.js +2 -2
  520. package/dist/esm/co-select.entry.js +10 -8
  521. package/dist/esm/co-separator.entry.js +1 -1
  522. package/dist/esm/co-sidebar-nav.entry.js +11 -9
  523. package/dist/esm/co-sidebar.entry.js +2 -2
  524. package/dist/esm/co-slider.entry.js +3 -3
  525. package/dist/esm/co-swatch-grid.entry.js +3 -3
  526. package/dist/esm/co-switch.entry.js +4 -4
  527. package/dist/esm/co-tab-group.entry.js +110 -12
  528. package/dist/esm/co-tab.entry.js +3 -3
  529. package/dist/esm/co-tags-field.entry.js +7 -7
  530. package/dist/esm/co-textarea.entry.js +5 -5
  531. package/dist/esm/co-tile.entry.js +1 -1
  532. package/dist/esm/co-time-field.entry.js +1 -1
  533. package/dist/esm/co-toast.entry.js +1 -1
  534. package/dist/esm/co-toggle-button-group.entry.js +6 -4
  535. package/dist/esm/co-toggle-button.entry.js +5 -3
  536. package/dist/esm/co-transfer-list.entry.js +1 -1
  537. package/dist/esm/co-video.entry.js +2 -2
  538. package/dist/esm/cobalt.js +1 -1
  539. package/dist/esm/{color-BVGGRfNG.js → color-BzxEh7sq.js} +37 -3
  540. package/dist/esm/escapeLayers-hXbDUT3I.js +18 -0
  541. package/dist/esm/fieldChip-B0N8z5W-.js +5 -0
  542. package/dist/esm/{gradientStops-DDK0y8ra.js → gradientStops-W-_rTTl_.js} +1 -1
  543. package/dist/esm/{index-CgyOJePd.js → index-BNt7Zg14.js} +1 -1
  544. package/dist/esm/index-DJkaRtbb.js +14 -14
  545. package/dist/esm/loader.js +1 -1
  546. package/dist/esm/{pagination-BzrIQtrk.js → pagination-BXztNUE3.js} +30 -0
  547. package/dist/esm/popoverApi-Dp1JT0dm.js +25 -0
  548. package/dist/esm/{richTextI18n-xnrKkNWQ.js → richTextI18n-EtYK1iGx.js} +12 -0
  549. package/dist/types/components/co-button/co-button.d.ts +4 -0
  550. package/dist/types/components/co-color-picker/co-color-picker.d.ts +7 -0
  551. package/dist/types/components/co-document-editor/co-document-editor.d.ts +24 -1
  552. package/dist/types/components/co-document-editor/signature-bar.d.ts +26 -0
  553. package/dist/types/components/co-drawer/co-drawer.d.ts +2 -0
  554. package/dist/types/components/co-file-field/co-file-field.d.ts +6 -0
  555. package/dist/types/components/co-file-field/co-file-field.utils.d.ts +26 -0
  556. package/dist/types/components/co-lightbox/co-lightbox.d.ts +5 -0
  557. package/dist/types/components/co-lightbox/openInTab.d.ts +46 -0
  558. package/dist/types/components/co-modal/co-modal.d.ts +2 -0
  559. package/dist/types/components/co-overlay/escapeLayers.d.ts +18 -0
  560. package/dist/types/components/co-phone-field/co-phone-field.d.ts +11 -0
  561. package/dist/types/components/co-popover/co-popover.d.ts +7 -0
  562. package/dist/types/components/co-ref-field/co-ref-field.d.ts +3 -2
  563. package/dist/types/components/co-rich-text-editor/co-rich-text-editor.d.ts +14 -1
  564. package/dist/types/components/co-rich-text-toolbar/co-rich-text-toolbar.d.ts +10 -0
  565. package/dist/types/components/co-rich-text-toolbar/panelFit.d.ts +38 -0
  566. package/dist/types/components/co-tab-group/co-tab-group.d.ts +21 -3
  567. package/dist/types/components/co-tab-group/trackScroll.d.ts +19 -0
  568. package/dist/types/components/co-toggle-button/co-toggle-button.d.ts +3 -1
  569. package/dist/types/components/co-toggle-button-group/co-toggle-button-group.d.ts +6 -4
  570. package/dist/types/components.d.ts +50 -25
  571. package/dist/types/utils/color.d.ts +28 -1
  572. package/dist/types/utils/eventColor.d.ts +3 -1
  573. package/dist/types/utils/fieldChip.d.ts +6 -0
  574. package/dist/types/utils/phoneI18n.d.ts +18 -0
  575. package/dist/types/utils/popoverApi.d.ts +12 -0
  576. package/dist/types/utils/richTextI18n.d.ts +4 -0
  577. package/package.json +5 -5
  578. package/dist/cjs/fieldChip-C7MxxBVO.js +0 -7
  579. package/dist/cobalt/p-0d046d98.entry.js +0 -1
  580. package/dist/cobalt/p-12914c0a.entry.js +0 -1
  581. package/dist/cobalt/p-1348d5ca.entry.js +0 -1
  582. package/dist/cobalt/p-2231bacc.entry.js +0 -1
  583. package/dist/cobalt/p-28cf05f3.entry.js +0 -1
  584. package/dist/cobalt/p-38eb2615.entry.js +0 -1
  585. package/dist/cobalt/p-3d1a48e5.entry.js +0 -1
  586. package/dist/cobalt/p-4bcdd422.entry.js +0 -1
  587. package/dist/cobalt/p-58ebb303.entry.js +0 -1
  588. package/dist/cobalt/p-5e678e88.entry.js +0 -1
  589. package/dist/cobalt/p-60f948c4.entry.js +0 -1
  590. package/dist/cobalt/p-6974df59.entry.js +0 -1
  591. package/dist/cobalt/p-69ecc933.entry.js +0 -1
  592. package/dist/cobalt/p-6c1992c9.entry.js +0 -1
  593. package/dist/cobalt/p-6c7e423c.entry.js +0 -1
  594. package/dist/cobalt/p-6d4a660c.entry.js +0 -1
  595. package/dist/cobalt/p-763698b3.entry.js +0 -1
  596. package/dist/cobalt/p-77e0d401.entry.js +0 -1
  597. package/dist/cobalt/p-78412feb.entry.js +0 -1
  598. package/dist/cobalt/p-7c20207b.entry.js +0 -1
  599. package/dist/cobalt/p-7df18a52.entry.js +0 -1
  600. package/dist/cobalt/p-848f5ca4.entry.js +0 -1
  601. package/dist/cobalt/p-868d1a18.entry.js +0 -1
  602. package/dist/cobalt/p-87de5469.entry.js +0 -1
  603. package/dist/cobalt/p-93063876.entry.js +0 -1
  604. package/dist/cobalt/p-9adbab95.entry.js +0 -1
  605. package/dist/cobalt/p-9b114836.entry.js +0 -1
  606. package/dist/cobalt/p-9dc01092.entry.js +0 -1
  607. package/dist/cobalt/p-BVGGRfNG.js +0 -1
  608. package/dist/cobalt/p-DGLDAl09.js +0 -1
  609. package/dist/cobalt/p-DgJovDdy.js +0 -1
  610. package/dist/cobalt/p-a56bd4a8.entry.js +0 -1
  611. package/dist/cobalt/p-a5eabecb.entry.js +0 -1
  612. package/dist/cobalt/p-a5ee1fc2.entry.js +0 -1
  613. package/dist/cobalt/p-ad752791.entry.js +0 -1
  614. package/dist/cobalt/p-b39a4999.entry.js +0 -1
  615. package/dist/cobalt/p-b5dabdc3.entry.js +0 -1
  616. package/dist/cobalt/p-b9b73dcb.entry.js +0 -1
  617. package/dist/cobalt/p-bb7bbe70.entry.js +0 -1
  618. package/dist/cobalt/p-c5464a98.entry.js +0 -1
  619. package/dist/cobalt/p-c567533e.entry.js +0 -1
  620. package/dist/cobalt/p-d6215d80.entry.js +0 -1
  621. package/dist/cobalt/p-ea24eea8.entry.js +0 -1
  622. package/dist/cobalt/p-f0898e21.entry.js +0 -1
  623. package/dist/cobalt/p-f403eeec.entry.js +0 -1
  624. package/dist/cobalt/p-xnrKkNWQ.js +0 -1
  625. package/dist/components/p-B3Egz082.js +0 -1
  626. package/dist/components/p-B9wdMd_0.js +0 -1
  627. package/dist/components/p-BVGGRfNG.js +0 -1
  628. package/dist/components/p-BdmzslA5.js +0 -1
  629. package/dist/components/p-BzNBPHen.js +0 -1
  630. package/dist/components/p-C4U2tbRp.js +0 -1
  631. package/dist/components/p-C_6szR7t.js +0 -1
  632. package/dist/components/p-CiYPJW0B.js +0 -1
  633. package/dist/components/p-D4XP17VP.js +0 -1
  634. package/dist/components/p-DB8DGMc-.js +0 -1
  635. package/dist/components/p-DGLDAl09.js +0 -1
  636. package/dist/components/p-DhPxNA2f.js +0 -1
  637. package/dist/components/p-DsuFNmTI.js +0 -1
  638. package/dist/components/p-TGRbLkLz.js +0 -1
  639. package/dist/components/p-V7HYy0VO.js +0 -1
  640. package/dist/components/p-dnaee7fS.js +0 -1
  641. package/dist/components/p-wUXcJGdy.js +0 -1
  642. package/dist/esm/fieldChip-B2ctp2m6.js +0 -5
@@ -16,12 +16,12 @@ export class CoNavbar {
16
16
  this.rounded = false;
17
17
  }
18
18
  render() {
19
- return (h("div", { key: '68c78b33434a32372eef9763b0c11c9a185f6ef8', class: {
19
+ return (h("div", { key: '3573a493f29f3a1b4b4d95b23f221e842b41cea6', class: {
20
20
  'co-navbar': true,
21
21
  [`co-navbar--${this.variant}`]: true,
22
22
  [`co-navbar--${this.size}`]: true,
23
23
  'co-navbar--rounded': this.rounded,
24
- }, part: "navbar", role: "toolbar" }, h("slot", { key: 'a9d05ff60065f85dc24e941478a18fa40466143f' })));
24
+ }, part: "navbar", role: "toolbar" }, h("slot", { key: 'e4f46072826161cf3e8525e0dced7f0050b42d1b' })));
25
25
  }
26
26
  static get is() { return "co-navbar"; }
27
27
  static get encapsulation() { return "shadow"; }
@@ -80,7 +80,10 @@
80
80
  border-color: transparent;
81
81
  }
82
82
 
83
- .co-number-field--error .co-number-field__row { border-color: var(--co-semantic-status-error); }
83
+ /* Borde de error de CAMPO por --co-semantic-border-error: gira con el tema (status-error es
84
+ relleno fijo y como trazo en oscuro daba 2,94:1). En claro vale status-error (idéntico).
85
+ Fallback: la primitiva de hoy, hasta publicar tokens. */
86
+ .co-number-field--error .co-number-field__row { border-color: var(--co-semantic-border-error, var(--co-semantic-status-error)); }
84
87
  .co-number-field--success .co-number-field__row { border-color: var(--co-semantic-status-success); }
85
88
  .co-number-field--warning .co-number-field__row { border-color: var(--co-color-status-review); }
86
89
  .co-number-field--info .co-number-field__row { border-color: var(--co-semantic-status-info); }
@@ -231,17 +234,19 @@
231
234
  line-height: 1;
232
235
  }
233
236
 
237
+ /* Tinta de estado por --co-semantic-text-*: gira con el tema (status-* es relleno, no se
238
+ aclara, y como texto en oscuro daba <4,5). Fallback a la primitiva hasta publicar tokens. */
234
239
  .co-number-field__helper--error .co-number-field__helper-icon,
235
- .co-number-field__helper--error .co-number-field__helper-text { color: var(--co-semantic-status-error); }
240
+ .co-number-field__helper--error .co-number-field__helper-text { color: var(--co-semantic-text-error, var(--co-semantic-status-error)); }
236
241
 
237
242
  .co-number-field__helper--success .co-number-field__helper-icon,
238
- .co-number-field__helper--success .co-number-field__helper-text { color: var(--co-semantic-status-success); }
243
+ .co-number-field__helper--success .co-number-field__helper-text { color: var(--co-semantic-text-success, var(--co-semantic-status-success)); }
239
244
 
240
245
  .co-number-field__helper--warning .co-number-field__helper-icon,
241
- .co-number-field__helper--warning .co-number-field__helper-text { color: var(--co-color-status-review); }
246
+ .co-number-field__helper--warning .co-number-field__helper-text { color: var(--co-semantic-text-warning, var(--co-color-status-review)); }
242
247
 
243
248
  .co-number-field__helper--info .co-number-field__helper-icon,
244
- .co-number-field__helper--info .co-number-field__helper-text { color: var(--co-semantic-status-info); }
249
+ .co-number-field__helper--info .co-number-field__helper-text { color: var(--co-semantic-text-info, var(--co-semantic-status-info)); }
245
250
 
246
251
  /* ── Horizontal layout: label left; control + helper stacked right ──
247
252
  Set --co-field-label-width on a container to align labels across fields. */
@@ -269,9 +274,10 @@
269
274
  min-width: 0;
270
275
  }
271
276
 
277
+ /* Asterisco de requerido: tinta --co-semantic-text-error (gira con el tema). */
272
278
  .co-field-required {
273
279
  margin-left: 2px;
274
- color: var(--co-color-status-error);
280
+ color: var(--co-semantic-text-error, var(--co-color-status-error));
275
281
  }
276
282
 
277
283
  .co-field-required__caption {
@@ -345,18 +345,18 @@ export class CoNumberField {
345
345
  return this.scaled && !this.isEmpty ? '%' : null;
346
346
  }
347
347
  render() {
348
- return (h("div", { key: '87d77047c35e2f0b3b9a978839e5b3c99541dc2e', class: {
348
+ return (h("div", { key: 'c06b2895c508e45d8e936ddce619f517985637bb', class: {
349
349
  'co-number-field': true,
350
350
  'co-number-field--disabled': this.disabled,
351
351
  'co-number-field--focused': this.focused,
352
352
  [`co-number-field--${this.size}`]: true,
353
353
  [`co-number-field--${this.status}`]: this.status !== 'default',
354
- } }, (this.label || this.secondaryLabel) && (h("div", { key: '22f0674035a68861fae6ce37aba4e51b10c03226', class: "co-number-field__labels" }, this.label && h("label", { key: '442ee74bed62bf7c800f231ad4992b791b85a30c', class: "co-number-field__label" }, this.label, h(RequiredMark, { key: 'ff7517b83b8e942512dcb8c1f504eafab55cea90', required: this.required })), this.secondaryLabel && h("span", { key: '736889aae85065fb28a56131e2f7a3da9fc86a48', class: "co-number-field__secondary-label" }, this.secondaryLabel))), h("div", { key: 'fd6163c7cb83073db2c19c3477447076372abb44', class: "co-number-field__row", part: "row" }, !this.hideControls && (h("button", { key: 'e1a52831b83c3255ce63c4ed48a228fe4fdb1629', class: "co-number-field__btn co-number-field__btn--minus", type: "button", tabIndex: -1, disabled: !this.canDecrement, onClick: this.handleDecrement, "aria-label": "Decrease" }, h("co-icon", { key: '86e0ce9b9801e50d9bda6b18a8e1f6f96581b178', name: "minus", size: 16 }))), h("input", { key: '4bdf89e9a4958841a948b3bd6e9886898917f464', ref: el => (this.inputEl = el), class: "co-number-field__input", type: "text", inputMode: "decimal",
354
+ } }, (this.label || this.secondaryLabel) && (h("div", { key: '2ade558c7d748eefb332f4c58f8618199bd5b7cb', class: "co-number-field__labels" }, this.label && h("label", { key: '94576cf7ef1ce2bb8a0f9606613b2e12c3e4d3d1', class: "co-number-field__label" }, this.label, h(RequiredMark, { key: '884cb5ad7003543f1cf371fa08b592ec30f62975', required: this.required })), this.secondaryLabel && h("span", { key: 'd8e98e616c43a27e8b50341a81a6c5d4c45f83a1', class: "co-number-field__secondary-label" }, this.secondaryLabel))), h("div", { key: 'aa7bddd49fc689ff512c25fa9bf375c2e65a7a69', class: "co-number-field__row", part: "row" }, !this.hideControls && (h("button", { key: '037c88c0092989da13bb7174e1609150172f95fb', class: "co-number-field__btn co-number-field__btn--minus", type: "button", tabIndex: -1, disabled: !this.canDecrement, onClick: this.handleDecrement, "aria-label": "Decrease" }, h("co-icon", { key: 'bb7a68226f0cfaaaca8c62ccfafdcdca2b529469', name: "minus", size: 16 }))), h("input", { key: '9bb9e56f0f8fbc0f0c64f8b07f4fc97f0cc73198', ref: el => (this.inputEl = el), class: "co-number-field__input", type: "text", inputMode: "decimal",
355
355
  // Mismo guard `focused` que el @Watch: mientras el usuario edita, su
356
356
  // texto manda. Sin esto, el re-render que dispara emitValue repinta
357
357
  // el input desde el NÚMERO y se come el texto en construcción
358
358
  // ("34,640.00" pegado quedaba "34,640"; un "12." perdería el punto).
359
- value: this.focused && this.inputEl ? this.inputEl.value : this.displayValue, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleInput, onPaste: this.handlePaste, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, part: "input" }), this.affixText && (h("span", { key: '7bc7c12c6fe2708691d9a2972f9ed3037e82a1a8', class: "co-number-field__affix", "aria-hidden": "true" }, this.affixText)), this.clearable && !this.isEmpty && !this.disabled && (h("button", { key: '2ef7c424a34a8a6cbfe8ac4cd0a5d8f0ed74e6d4', class: "co-number-field__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: 'c428ca841c0de013cd151bd356686be43992de04', name: "x-circle", size: 16, weight: "fill" }))), h("slot", { key: 'fb127a663d3839bbb10b8232b250eaf67faab898', name: "suffix" }), !this.hideControls && (h("button", { key: '684329d2f32a58f6be2a124f0cd20986a7fc49af', class: "co-number-field__btn co-number-field__btn--plus", type: "button", tabIndex: -1, disabled: !this.canIncrement, onClick: this.handleIncrement, "aria-label": "Increase" }, h("co-icon", { key: '7ef48466e060efb314466d62216a8e00168ddbcd', name: "plus", size: 16 })))), this.helperText && (h("div", { key: '2cf6df2556160fef3c1dfd1b525991eb822cb285', class: `co-number-field__helper co-number-field__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '905ad795d9714fa9ae8fc2b9d4b9f6a7bba2d2ce', name: this.statusIcon, size: 14, weight: "fill", class: "co-number-field__helper-icon" }), h("span", { key: '0c4825c4145298700de006eb3170e9ec3b52d3b7', class: "co-number-field__helper-text" }, this.helperText)))));
359
+ value: this.focused && this.inputEl ? this.inputEl.value : this.displayValue, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleInput, onPaste: this.handlePaste, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, part: "input" }), this.affixText && (h("span", { key: 'b3b43651edb493510327c18d27945679e1b4f391', class: "co-number-field__affix", "aria-hidden": "true" }, this.affixText)), this.clearable && !this.isEmpty && !this.disabled && (h("button", { key: '7055c55c7a035621f0fdcae168324a515dc419d5', class: "co-number-field__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: '162303056606a465ad5fc43496260cadf8b5c5b2', name: "x-circle", size: 16, weight: "fill" }))), h("slot", { key: '1fba80dd46e27d7ee89c0a7dcd32f34ac9a9a5f7', name: "suffix" }), !this.hideControls && (h("button", { key: 'c9575f0459a3c9d18239fbd636b60b9ea51b4551', class: "co-number-field__btn co-number-field__btn--plus", type: "button", tabIndex: -1, disabled: !this.canIncrement, onClick: this.handleIncrement, "aria-label": "Increase" }, h("co-icon", { key: 'b310d8a2316cb841b7c87157b9ac40d7faba1bbf', name: "plus", size: 16 })))), this.helperText && (h("div", { key: 'b933f8cdf51e44d26d58c215afe2c393a068ac1c', class: `co-number-field__helper co-number-field__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '99d3fd7dbef2173da5384ad12a40f6d669bb9c49', name: this.statusIcon, size: 14, weight: "fill", class: "co-number-field__helper-icon" }), h("span", { key: 'f93dac49f3b1f6ca2ae08190f51e35f600e675e4', class: "co-number-field__helper-text" }, this.helperText)))));
360
360
  }
361
361
  static get is() { return "co-number-field"; }
362
362
  static get encapsulation() { return "shadow"; }
@@ -828,9 +828,11 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
828
828
  --os-padding-axis: 2px;
829
829
  --os-track-bg: transparent;
830
830
  --os-handle-border-radius: var(--co-border-radius-full, 9999px);
831
- --os-handle-bg: var(--co-color-opacity-negro-16, rgba(31, 28, 27, 0.16));
832
- --os-handle-bg-hover: var(--co-color-opacity-negro-25, rgba(31, 28, 27, 0.25));
833
- --os-handle-bg-active: var(--co-color-opacity-negro-50, rgba(31, 28, 27, 0.5));
831
+ /* Handle por border-* (mismo valor en claro que negro-16/25/50): la tinta negra fija era
832
+ invisible sobre la superficie oscura del panel. */
833
+ --os-handle-bg: var(--co-semantic-border-default, rgba(31, 28, 27, 0.16));
834
+ --os-handle-bg-hover: var(--co-semantic-border-field, rgba(31, 28, 27, 0.25));
835
+ --os-handle-bg-active: var(--co-semantic-border-strong, rgba(31, 28, 27, 0.5));
834
836
  --os-handle-min-size: 24px;
835
837
  }
836
838
 
@@ -1005,7 +1007,8 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
1005
1007
  }
1006
1008
 
1007
1009
  .co-option-list__match {
1008
- color: var(--co-color-primary-azul, #2563eb);
1010
+ /* Resaltado de coincidencia: tinta text-link, gira con el tema (azul primitivo = 3,8:1 en oscuro). */
1011
+ color: var(--co-semantic-text-link, var(--co-color-primary-azul, #2563eb));
1009
1012
  font-weight: 700;
1010
1013
  }
1011
1014
 
@@ -781,11 +781,11 @@ export class CoOptionList {
781
781
  const selectedIds = this.selectedIds;
782
782
  const { hasMore, remaining } = deriveMore(this.parsedItems.length, this.total, this.hasMore);
783
783
  const showClear = !!this.clearOptionLabel && selectedIds.length > 0;
784
- return (h("div", { key: 'ca480a23b7127ff745ee57002a71dea707e32e95', class: "co-option-list", onKeyDown: this.onRootKeyDown }, this.searchable && (h("div", { key: 'de6a96f09450c05c9194933f3e5f732e158437c7', class: "co-option-list__search", part: "search" }, h("co-icon", { key: 'f99a19e0a194d6a0bcce6d40a736197593af8fdf', name: "magnifying-glass", size: 16 }), h("input", { key: '26fabd78b4660523e25b40bc8e92740df2677244', 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("slot", { key: '05dc7fb2d632ba58b3b960e9355b1e48a71df32c', name: "header" }), h("div", { key: 'b3edc8acf06c7f433da9584249be73d25c5f1fee', 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: '8abe9a20998f35332ee320512a433d8fb8196875', class: "co-option-list__inner" }, showClear && (h("button", { key: '9b420f4a08d94c7588657ec73102253dc3aace29', class: "co-option-list__clear-row", type: "button", onClick: () => this.coClearSelection.emit() }, h("co-icon", { key: '5e0d86b76f5b85ee41a4534284c4e05fec4f2df1', name: "x-circle", size: 14 }), h("span", { key: 'ff554cd331978bbe2e6aaef44b590a9de66c67d5' }, this.clearOptionLabel))), this.loading && items.length === 0 && (h("div", { key: '1db10de6bf8b6cda7b7ca13f5969400ab420a3e7', class: "co-option-list__loading" }, h("co-loader", { key: 'd724879c38f755067e544503c233c740f932f46e', size: "sm" }))), !this.loading && items.length === 0 && (h("div", { key: '95f42f0028e6f7a1641bc45f6a294fe2ded5a29f', class: "co-option-list__empty" }, h("co-icon", { key: '1bed6dbd8c0c4e0722f6c28c2867331bba4e3879', name: "magnifying-glass", size: 20 }), h("span", { key: '7f2d01d6eed6e91ab14ace418f52167713963976' }, this.emptyMessage))), items.length > 0 && this.virtual
784
+ return (h("div", { key: 'c73f8d143c1f655f4d9145ef0a2a4d3219a43e49', class: "co-option-list", onKeyDown: this.onRootKeyDown }, this.searchable && (h("div", { key: 'bd5dfa8848da20fd66293acdd87568ca0e2fbebc', class: "co-option-list__search", part: "search" }, h("co-icon", { key: '0c5aeacb9fbde646862a6359f2c58a75f31a6100', name: "magnifying-glass", size: 16 }), h("input", { key: '0a573789feff4b3cd31610ee720ddfaa2b859ea4', 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("slot", { key: '650e79a9b2ba218f7fcd324335505fda29a87b71', name: "header" }), h("div", { key: '1f2baa6b0b6b728cd0eeab5ae555847d397351ac', 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: '33f7230c30c06ef31ac83fb5febba040f0d88d6e', class: "co-option-list__inner" }, showClear && (h("button", { key: '9934486c64862d94ee8ed6e3af603710edd2a5c6', class: "co-option-list__clear-row", type: "button", onClick: () => this.coClearSelection.emit() }, h("co-icon", { key: 'f0abd016e20d238345c0c2d40436220631a1403a', name: "x-circle", size: 14 }), h("span", { key: '9090f327d77767db03792e13bd4bfcdd4abcffcd' }, this.clearOptionLabel))), this.loading && items.length === 0 && (h("div", { key: '25b13f063b888d6d95b24a2741e1ae3e070d60ab', class: "co-option-list__loading" }, h("co-loader", { key: 'dc56d924da21b4029fc81b454672a2ded44f14ef', size: "sm" }))), !this.loading && items.length === 0 && (h("div", { key: '492e6902e2849a83ac0529fe922aa43814db2c40', class: "co-option-list__empty" }, h("co-icon", { key: '2c9d91ddaad0b52e0dbff654871ce147e0617f59', name: "magnifying-glass", size: 20 }), h("span", { key: '76eacb323225035d650f1ebb6e17507035d02ac4' }, this.emptyMessage))), items.length > 0 && this.virtual
785
785
  ? this.renderVirtual(items, selectedIds)
786
786
  : buildRows(items).map((row) => row.kind === 'header'
787
787
  ? h("div", { class: "co-option-list__group", role: "presentation" }, row.label)
788
- : this.renderRow(row.item, row.index, selectedIds)), this.loading && items.length > 0 && (h("div", { key: '9fb95c0193357bf50eabc21dae3f8ca0bb2b3a9f', class: "co-option-list__loading-more" }, h("co-loader", { key: 'dddf472d61b1c14f281212b02538bd576dce09d1', size: "sm" }))), !this.loading && hasMore && remaining > 0 && (h("div", { key: '6d4f16d14d67b137fe37b67fe1590d209b51b800', class: "co-option-list__more" }, remaining, " more results")))), h("slot", { key: '9091482eaf2228e93b3eeb893e804d5fcd8c3d44', name: "footer" })));
788
+ : this.renderRow(row.item, row.index, selectedIds)), this.loading && items.length > 0 && (h("div", { key: 'e86f2a2157e84d9e9a414f6bbf3d20235bc75829', class: "co-option-list__loading-more" }, h("co-loader", { key: 'de4c472413852c7fc3e4c6fb088632c79ce518d6', size: "sm" }))), !this.loading && hasMore && remaining > 0 && (h("div", { key: '12616fbfb51d2c656937e22907d5152f3f7ea210', class: "co-option-list__more" }, remaining, " more results")))), h("slot", { key: 'd73683805a28e15b2a126867fd7947869ee649f6', name: "footer" })));
789
789
  }
790
790
  static get is() { return "co-option-list"; }
791
791
  static get encapsulation() { return "shadow"; }
@@ -21,6 +21,9 @@
21
21
  max-width: none;
22
22
  max-height: none;
23
23
  overflow: visible;
24
+ /* La UA de [popover] pone `color: CanvasText` (#000 también en oscuro, sin
25
+ color-scheme): el scrim es un contenedor de paso, la tinta viene del host. */
26
+ color: inherit;
24
27
  display: flex;
25
28
  align-items: center;
26
29
  justify-content: center;
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { afterEventFor } from "./overlayAfterClose";
3
3
  import { isBackdropDismiss } from "./backdropDismiss";
4
4
  import { getComposedFocusables, isTopTrap, resolveInitialFocus, resolveTabIndex } from "./focusTrap";
5
+ import { isPopoverOpen } from "../../utils/popoverApi";
5
6
  /**
6
7
  * Module-level body-scroll lock shared by every overlay instance.
7
8
  * Ref-counted so stacked/nested overlays (e.g. a modal opened from a drawer)
@@ -157,7 +158,7 @@ export class CoOverlay {
157
158
  const el = this.overlayEl;
158
159
  if (!this.open || !el || typeof el.showPopover !== 'function')
159
160
  return;
160
- if (!el.matches(':popover-open'))
161
+ if (!isPopoverOpen(el))
161
162
  return;
162
163
  const active = this.deepActiveElement();
163
164
  el.classList.add(REFRONT_CLASS);
@@ -198,7 +199,7 @@ export class CoOverlay {
198
199
  if (!el || typeof el.showPopover !== 'function')
199
200
  return;
200
201
  try {
201
- const isShown = el.matches(':popover-open');
202
+ const isShown = isPopoverOpen(el);
202
203
  if (this.open && !isShown)
203
204
  el.showPopover();
204
205
  else if (!this.open && isShown)
@@ -298,7 +299,7 @@ export class CoOverlay {
298
299
  focusables[nextIndex].focus();
299
300
  }
300
301
  render() {
301
- return (h("div", { key: 'e18d7b0e3ebd4933a78a9f2d39af6058ce429105', class: { 'co-overlay': true, 'co-overlay--open': this.open }, part: "overlay", popover: "manual", tabindex: this.trapFocus ? -1 : undefined, ref: (el) => (this.overlayEl = el), onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onClick: this.handleClick, onTransitionEnd: this.handleTransitionEnd }, h("slot", { key: '2f29233d44de8a0cc3100cfa08233cdc10ebf352' })));
302
+ return (h("div", { key: '419d44027ef0e270aa9bddccc83bf3e93e1e78db', class: { 'co-overlay': true, 'co-overlay--open': this.open }, part: "overlay", popover: "manual", tabindex: this.trapFocus ? -1 : undefined, ref: (el) => (this.overlayEl = el), onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, onClick: this.handleClick, onTransitionEnd: this.handleTransitionEnd }, h("slot", { key: '34ffc7586b41bced7d7f56b6189f654c1c5e1a7f' })));
302
303
  }
303
304
  static get is() { return "co-overlay"; }
304
305
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,20 @@
1
+ const layers = [];
2
+ const isModeless = (layer) => layer.modeless === true;
3
+ export function pushEscapeLayer(layer) {
4
+ removeEscapeLayer(layer);
5
+ layers.push(layer);
6
+ }
7
+ export function removeEscapeLayer(layer) {
8
+ const i = layers.indexOf(layer);
9
+ if (i >= 0)
10
+ layers.splice(i, 1);
11
+ }
12
+ export function isTopEscapeLayer(layer) {
13
+ const blocking = layers.filter((l) => !isModeless(l));
14
+ const pool = blocking.length ? blocking : layers;
15
+ return pool.length > 0 && pool[pool.length - 1] === layer;
16
+ }
17
+ /** Solo para tests. */
18
+ export function resetEscapeLayers() {
19
+ layers.length = 0;
20
+ }
@@ -9,7 +9,7 @@ import { h } from "@stencil/core";
9
9
  */
10
10
  export class CoPageHeader {
11
11
  render() {
12
- return (h("div", { key: '18d15d7b241f92bbd121fd6547832a30f4404928', class: "co-page-header", part: "page-header" }, h("div", { key: 'cbf4427991e3b43775a1d47c95f953ef79d71c77', class: "co-page-header__left" }, this.icon && (h("span", { key: '647701102f261fc214a0a4347894ba275da1ed7d', class: "co-page-header__icon" }, h("co-icon", { key: 'd377f2f5cbfa190cb483fe4a6ff2a483f9053f7b', name: this.icon, size: 24 }))), h("span", { key: 'ccf59184d2154c89fc90ccddfffc8dfc8c07b72b', class: "co-page-header__title" }, h("slot", { key: '34dd64e79e72cb154c63b16f72c2ec58193d9988' }, this.heading))), h("div", { key: 'e2f1d119629a3b9479896cf2338625ad775b8556', class: "co-page-header__actions" }, h("slot", { key: '62ee162b3388968ee1930a2c3ab20e45b34a2d65', name: "actions" }))));
12
+ return (h("div", { key: '877c32ab794ec6e86ed26e7e99d7c45463a1922f', class: "co-page-header", part: "page-header" }, h("div", { key: '4e771155a4d3ae9914619ab34fbc31e5ce9246a8', class: "co-page-header__left" }, this.icon && (h("span", { key: '458833e13b51f2e076af6780f75a06c8de6e2514', class: "co-page-header__icon" }, h("co-icon", { key: 'a68d9d9ce0181f8d58e33de465d844506ea45af9', name: this.icon, size: 24 }))), h("span", { key: '9c1294e395a20433e260224ab7a33931b9d85319', class: "co-page-header__title" }, h("slot", { key: '4b7af2160fd067a7ca4ce973004a4c89249552dd' }, this.heading))), h("div", { key: '715cc529b7b80d702c2470571f9feb56ea01fa35', class: "co-page-header__actions" }, h("slot", { key: '6803b878b2e2bc939840847a394300c80be661c7', name: "actions" }))));
13
13
  }
14
14
  static get is() { return "co-page-header"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -27,9 +27,11 @@
27
27
  padding: 0 var(--co-spacing-xs);
28
28
  }
29
29
 
30
+ /* Tinta de estado por --co-semantic-text-*: gira con el tema (status-* es relleno, no se
31
+ aclara, y como texto en oscuro daba <4,5). Fallback a la primitiva hasta publicar tokens. */
30
32
  .co-field-required {
31
33
  margin-left: 2px;
32
- color: var(--co-color-status-error);
34
+ color: var(--co-semantic-text-error, var(--co-color-status-error));
33
35
  }
34
36
 
35
37
  .co-field-required__caption {
@@ -79,8 +81,11 @@
79
81
  font-size: var(--co-font-size-16);
80
82
  }
81
83
 
84
+ /* Borde de error de CAMPO por --co-semantic-border-error: gira con el tema (status-error es
85
+ relleno fijo y como trazo en oscuro daba 2,94:1). En claro vale status-error (idéntico).
86
+ Fallback: la primitiva de hoy, hasta publicar tokens. */
82
87
  .co-phone-field--error .co-phone-field__container {
83
- border-color: var(--co-color-status-error);
88
+ border-color: var(--co-semantic-border-error, var(--co-color-status-error));
84
89
  }
85
90
 
86
91
  .co-phone-field__container:focus-within {
@@ -259,7 +264,7 @@
259
264
  }
260
265
 
261
266
  .co-phone-field--error .co-phone-field__helper {
262
- color: var(--co-semantic-status-error);
267
+ color: var(--co-semantic-text-error, var(--co-semantic-status-error));
263
268
  }
264
269
 
265
270
  /* ── Horizontal layout: label left; control + helper stacked right ──
@@ -2,6 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { RequiredMark } from "../../utils/requiredMark";
3
3
  import { DIAL_CODES, DIAL_CODE_MAP } from "./dial-codes";
4
4
  import { highlightSegments, rankByMatch } from "../../utils/normalizeText";
5
+ import { getPhoneStrings } from "../../utils/phoneI18n";
5
6
  /**
6
7
  * Phone input with country code indicator. Composes a country selector
7
8
  * (flag + dial code) alongside a free-form phone number input.
@@ -33,6 +34,18 @@ export class CoPhoneField {
33
34
  this.numberPart = '';
34
35
  this.isOpen = false;
35
36
  this.searchQuery = '';
37
+ /**
38
+ * A flag that 404s (or that flagcdn throttles) used to render Chrome's torn-image
39
+ * icon in every row. The box is kept — hiding it instead of removing it stops the
40
+ * list from reflowing — and the country name and dial code carry the meaning, so
41
+ * nothing is lost. Mutating the node directly is deliberate: a `@State` set would
42
+ * re-render the whole 198-row list once per failed image.
43
+ */
44
+ this.hideBrokenFlag = (ev) => {
45
+ const img = ev.target;
46
+ if (img)
47
+ img.style.visibility = 'hidden';
48
+ };
36
49
  this.handleOutsideClick = (e) => {
37
50
  if (!this.isOpen)
38
51
  return;
@@ -99,6 +112,9 @@ export class CoPhoneField {
99
112
  get hasCountry() {
100
113
  return !!this.selectedIso2 && !!this.selectedEntry;
101
114
  }
115
+ get strings() {
116
+ return getPhoneStrings(this.locale);
117
+ }
102
118
  get statusIcon() {
103
119
  const map = {
104
120
  error: 'warning-circle',
@@ -159,7 +175,7 @@ export class CoPhoneField {
159
175
  render() {
160
176
  const entry = this.selectedEntry;
161
177
  const statusClass = this.status !== 'default' ? `co-phone-field--${this.status}` : '';
162
- return (h("div", { key: '46c764eaa95e5948b860341cd1a1a1468bc26920', class: `co-phone-field co-phone-field--${this.size} ${statusClass} ${this.disabled ? 'co-phone-field--disabled' : ''}` }, this.label && (h("label", { key: '25b5a320625765b5ce9ebca165c165b6b7423a0a', class: "co-phone-field__label" }, this.label, h(RequiredMark, { key: 'b04b160b13504030159a51cb6bc8e2c258dab0a8', required: this.required }))), h("div", { key: '3bbe98a398007123d7ad405f16e0c5093829999e', class: "co-phone-field__container" }, h("button", { key: '58b43e162f7966cd11ac5c3b4ece75612769863b', 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: '78b26caa474d9f3df6f0f39bcb3c731761354786', class: "co-phone-field__dial-code" }, entry ? entry.dialCode : ''), h("span", { key: 'd2753d9b70c19ce15b525e2bb6ed02d61aa15045', class: "co-phone-field__chevron" }, h("co-icon", { key: 'd94cffbcf3d0348c11a69cc3c7554dbe11d001b2', name: "caret-down", size: 14 }))), h("input", { key: 'ee111f5cb76785ebcbae917f9cd00d08e00d62c1', 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: '9d86bccfa1643b1e6703b300a74587bed334cbc2', class: "co-phone-field__dropdown", role: "listbox" }, h("div", { key: '8dfeb48d11dc7d70e3acc499ad1390805aa7889d', class: "co-phone-field__search" }, h("input", { key: '1e673f71acfea7a50915dfa7a0e9e5d67a6e76cf', class: "co-phone-field__search-input", type: "text", placeholder: "Search country...", value: this.searchQuery, onInput: (e) => this.handleSearchInput(e), autoFocus: true })), h("div", { key: 'e28014f19f7002049657884b4d5ff0caf81eb3d8', 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: '2033c1184dbb72d5705d9e0ba392d77bc9629f4c', class: "co-phone-field__helper" }, this.statusIcon && (h("co-icon", { key: 'b3204decf888ec35cc0bf3f044ea5a8037fa8a53', name: this.statusIcon, size: 14, weight: "fill", class: "co-phone-field__helper-icon" })), h("span", { key: '697323bd25dbd70a4dc9872d1678d80e6c7bdeff', class: "co-phone-field__helper-text" }, this.helperText)))));
178
+ return (h("div", { key: '8c960a1db186c84921d1062f3a81dac55d36be90', class: `co-phone-field co-phone-field--${this.size} ${statusClass} ${this.disabled ? 'co-phone-field--disabled' : ''}` }, this.label && (h("label", { key: 'c19628c6057b6314a7dca1aeac5c8e201d2c20c0', class: "co-phone-field__label" }, this.label, h(RequiredMark, { key: 'e070c5a69e9064d61ca6fb6fd1d5fca6944f8a36', required: this.required }))), h("div", { key: '69e52a3489ddc693271a2eff7b63e7a3f6ffee9b', class: "co-phone-field__container" }, h("button", { key: '1b0998e28fb0f0aa0ab64443adceea96355483e5', type: "button", class: "co-phone-field__selector", disabled: this.disabled, onClick: () => this.handleToggleDropdown(), "aria-expanded": String(this.isOpen), "aria-haspopup": "listbox", "aria-label": entry ? `${this.strings.selectCountry}: ${entry.name} ${entry.dialCode}` : this.strings.selectCountry }, entry ? (h("img", { class: "co-phone-field__flag", src: `https://flagcdn.com/w40/${entry.iso2.toLowerCase()}.png`, alt: "", decoding: "async", onError: this.hideBrokenFlag })) : (h("co-icon", { name: "phone", size: 16 })), h("span", { key: '5f2f173697b6e659b729547eb44372efbdebf0de', class: "co-phone-field__dial-code" }, entry ? entry.dialCode : ''), h("span", { key: 'd0ad9d09fd06c9ab4385b6b10fd335429d2b2782', class: "co-phone-field__chevron" }, h("co-icon", { key: '6ef136322e4fcada10e924d25beff2ff3699a0d9', name: "caret-down", size: 14 }))), h("input", { key: 'b5d77691bbd9638a3868e82a243c1106e3167384', 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: 'c9310ebc76fb76f4ad7b3f460199131e89238129', class: "co-phone-field__dropdown", role: "listbox" }, h("div", { key: '2b103381c88331f86dd0cd941b5d7dc102d60cfa', class: "co-phone-field__search" }, h("input", { key: '3152d3842b4db1f2f75b36c8c16933a115af75b5', class: "co-phone-field__search-input", type: "text", placeholder: this.strings.searchPlaceholder, value: this.searchQuery, onInput: (e) => this.handleSearchInput(e), autoFocus: true })), h("div", { key: '0b5fdd035243c03563e956b7c6e8b189e3fac976', 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: "", loading: "lazy", decoding: "async", onError: this.hideBrokenFlag }), 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: '49841fcec083d7d619c699cdc5a236dcdf5cb214', class: "co-phone-field__helper" }, this.statusIcon && (h("co-icon", { key: 'c0e2d6641adcd3bea675e1b78a6d982f75ef56df', name: this.statusIcon, size: 14, weight: "fill", class: "co-phone-field__helper-icon" })), h("span", { key: '305562aeba6e0169b0f1b23f504c5f686413cb79', class: "co-phone-field__helper-text" }, this.helperText)))));
163
179
  }
164
180
  static get is() { return "co-phone-field"; }
165
181
  static get encapsulation() { return "shadow"; }
@@ -372,6 +388,25 @@ export class CoPhoneField {
372
388
  "reflect": false,
373
389
  "attribute": "default-country",
374
390
  "defaultValue": "''"
391
+ },
392
+ "locale": {
393
+ "type": "string",
394
+ "mutable": false,
395
+ "complexType": {
396
+ "original": "string",
397
+ "resolved": "string | undefined",
398
+ "references": {}
399
+ },
400
+ "required": false,
401
+ "optional": true,
402
+ "docs": {
403
+ "tags": [],
404
+ "text": "BCP-47 locale for the built-in UI strings (es/en/pt)."
405
+ },
406
+ "getter": false,
407
+ "setter": false,
408
+ "reflect": false,
409
+ "attribute": "locale"
375
410
  }
376
411
  };
377
412
  }
@@ -50,6 +50,10 @@
50
50
  opacity: 0;
51
51
  transform: scale(0.97);
52
52
  background: var(--co-semantic-surface-page, #fff);
53
+ /* Tinta pareja con SU fondo: la UA de [popover] pone `color: CanvasText`
54
+ (#000 también en oscuro), y heredar del disparador fallaría dentro de un
55
+ contexto inverso (navbar oscuro: blanco sobre el panel blanco). */
56
+ color: var(--co-semantic-text-default);
53
57
  /* Variables con el default de siempre como
54
58
  fallback — sin --co-popover-border-color/--co-popover-shadow, cero
55
59
  cambio visual. */
@@ -1,6 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { computePosition, findScrollParents, getOffsetAncestor, isAnchorVisible } from "../../utils/positioning";
3
3
  import { pushLayer, removeLayer, isTopLayer } from "../../utils/popover-stack";
4
+ import { isPopoverOpen } from "../../utils/popoverApi";
4
5
  /** Side classes driving the entrance `transform-origin` (see co-popover.css). */
5
6
  const SIDE_CLASSES = ['top', 'bottom', 'left', 'right'].map((s) => `co-popover__panel--${s}`);
6
7
  /**
@@ -60,6 +61,7 @@ export class CoPopover {
60
61
  this.closing = false;
61
62
  /** El trigger se vio al menos una vez desde que abrió (ver `updatePosition`). */
62
63
  this.anchorSeenVisible = false;
64
+ this.keepSide = false;
63
65
  this.scrollParents = [];
64
66
  // Cached offset ancestor + a flag to distinguish "not computed yet" from
65
67
  // "computed and there is none". Avoids re-walking the DOM + calling
@@ -169,20 +171,27 @@ export class CoPopover {
169
171
  // computePosition cae a `triggerRect` — mismo resultado que hoy.
170
172
  const anchorEl = this.resolveAnchor();
171
173
  const anchorRect = anchorEl === null || anchorEl === void 0 ? void 0 : anchorEl.getBoundingClientRect();
174
+ // Re-cálculo por tamaño: parte del lado donde YA está. Si cabe se queda (filtrar la
175
+ // búsqueda no hace saltar el panel de arriba a abajo); si no, computePosition voltea o
176
+ // lo sube hasta que entre, igual que al abrir.
177
+ const placement = this.keepSide && this.lastPlacement ? this.lastPlacement : this.placement;
178
+ this.keepSide = false;
179
+ this.observePanel();
172
180
  const { top, left, actualPlacement } = computePosition(triggerRect, panelRect, {
173
- placement: this.placement,
181
+ placement,
174
182
  offset: this.offset,
175
183
  flip: this.flip,
176
184
  anchorRect,
177
185
  shift: this.shift,
178
186
  });
187
+ this.lastPlacement = actualPlacement;
179
188
  let finalTop = top;
180
189
  let finalLeft = left;
181
190
  // When the panel is promoted to the top layer (Popover API), `position:fixed`
182
191
  // resolves against the viewport regardless of any transformed/filtered
183
192
  // ancestor — so skip the offset-ancestor compensation. It only applies in
184
193
  // the no-Popover-API fallback where the panel still renders in place.
185
- const promoted = this.panelEl.matches(':popover-open');
194
+ const promoted = isPopoverOpen(this.panelEl);
186
195
  if (!promoted) {
187
196
  if (!this.offsetAncestorComputed) {
188
197
  this.cachedOffsetAncestor = getOffsetAncestor(this.panelEl);
@@ -220,6 +229,12 @@ export class CoPopover {
220
229
  this.panelEl.classList.add('co-popover__panel--positioned');
221
230
  }
222
231
  };
232
+ this.handlePanelResize = () => {
233
+ if (!this.open)
234
+ return;
235
+ this.keepSide = true;
236
+ this.scheduleUpdate();
237
+ };
223
238
  this.scheduleUpdate = () => {
224
239
  if (this.rafId)
225
240
  cancelAnimationFrame(this.rafId);
@@ -352,7 +367,7 @@ export class CoPopover {
352
367
  if (!el || typeof el.showPopover !== 'function')
353
368
  return;
354
369
  try {
355
- if (!el.matches(':popover-open'))
370
+ if (!isPopoverOpen(el))
356
371
  el.showPopover();
357
372
  }
358
373
  catch (_a) {
@@ -360,6 +375,16 @@ export class CoPopover {
360
375
  the same frame) — safe to ignore; falls back to in-place positioning */
361
376
  }
362
377
  }
378
+ observePanel() {
379
+ var _a;
380
+ if (typeof ResizeObserver === 'undefined' || !this.panelEl || this.observedPanel === this.panelEl)
381
+ return;
382
+ (_a = this.resizeObserver) !== null && _a !== void 0 ? _a : (this.resizeObserver = new ResizeObserver(this.handlePanelResize));
383
+ if (this.observedPanel)
384
+ this.resizeObserver.unobserve(this.observedPanel);
385
+ this.observedPanel = this.panelEl;
386
+ this.resizeObserver.observe(this.panelEl);
387
+ }
363
388
  // ── Scroll/resize listeners ────────────────────────────────
364
389
  // Listen to window resize/scroll and to every ancestor that ACTUALLY scrolls
365
390
  // (co-drawer/co-modal body, datatable body…).
@@ -382,6 +407,11 @@ export class CoPopover {
382
407
  }
383
408
  }
384
409
  cleanupListeners() {
410
+ var _a;
411
+ (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
412
+ this.observedPanel = undefined;
413
+ this.lastPlacement = undefined;
414
+ this.keepSide = false;
385
415
  if (this.rafId) {
386
416
  cancelAnimationFrame(this.rafId);
387
417
  this.rafId = undefined;
@@ -395,13 +425,13 @@ export class CoPopover {
395
425
  }
396
426
  // ── Render ─────────────────────────────────────────────────
397
427
  render() {
398
- return (h("div", { key: 'f9c23cf5b7beb42230fbc37e6aacb9d8423a2c34', class: "co-popover" }, h("div", { key: '255b7a3b713719283e3b4a6d65ed520661b4e40b', class: "co-popover__trigger", ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick }, h("slot", { key: '82c7133648e7c55db263f1abae8902c3ab579d27', name: "trigger" })), (this.open || this.closing) && (h("div", { key: '990ca1400e5e19d6614dbc7b43e78b116626e1b0', class: { 'co-popover__panel': true, 'co-popover__panel--closing': this.closing }, part: "panel", popover: "manual", onTransitionEnd: this.handlePanelTransitionEnd, ref: (el) => {
428
+ return (h("div", { key: '36563fc43d535139e1dcacf5c10f7d94ac7c3c56', class: "co-popover" }, h("div", { key: 'b89ff545f53702c42e95058449644af4336c7b8e', class: "co-popover__trigger", ref: (el) => (this.triggerEl = el), onClick: this.handleTriggerClick }, h("slot", { key: 'aacbf2fbf099af3402d2a09d2f003893ed01b6da', name: "trigger" })), (this.open || this.closing) && (h("div", { key: '571d316922717803b4645e66302068f8081e8d36', class: { 'co-popover__panel': true, 'co-popover__panel--closing': this.closing }, part: "panel", popover: "manual", onTransitionEnd: this.handlePanelTransitionEnd, ref: (el) => {
399
429
  if (el && el !== this.panelEl) {
400
430
  this.panelEl = el;
401
431
  this.promotePanel();
402
432
  this.scheduleUpdate();
403
433
  }
404
- } }, h("slot", { key: 'fb635cf42e7866b055a59aaf471bab5bca995afb' })))));
434
+ } }, h("slot", { key: 'cd42d52c6bbdf2522ce692b75ba556da35c8a5b9' })))));
405
435
  }
406
436
  static get is() { return "co-popover"; }
407
437
  static get encapsulation() { return "shadow"; }
@@ -446,7 +476,7 @@ export class CoPopover {
446
476
  "references": {
447
477
  "PopoverPlacement": {
448
478
  "location": "local",
449
- "path": "/Users/agox/worktrees/cobalt-tooltip-tone/packages/core/src/components/co-popover/co-popover.tsx",
479
+ "path": "/Users/agox/Documents/Prolibu/prolibu-cobalt/packages/core/src/components/co-popover/co-popover.tsx",
450
480
  "id": "src/components/co-popover/co-popover.tsx::PopoverPlacement"
451
481
  }
452
482
  }
@@ -3,11 +3,15 @@
3
3
  width: 100%;
4
4
  }
5
5
 
6
+ /**
7
+ * @prop --co-progress-bar-track: Color de la pista (default: --co-semantic-border-subtle).
8
+ * @prop --co-progress-bar-fill: Relleno de la variante solid con status default (default: --co-semantic-status-info).
9
+ */
6
10
  .co-progress-bar {
7
11
  width: 100%;
8
12
  border-radius: 9999px;
9
13
  overflow: hidden;
10
- background: var(--co-semantic-border-subtle);
14
+ background: var(--co-progress-bar-track, var(--co-semantic-border-subtle));
11
15
  position: relative;
12
16
  }
13
17
 
@@ -19,7 +23,7 @@
19
23
 
20
24
  /* ─── Solid variant ──────────────────────────────────────── */
21
25
  .co-progress-bar--solid .co-progress-bar__fill {
22
- background: var(--co-semantic-status-info);
26
+ background: var(--co-progress-bar-fill, var(--co-semantic-status-info));
23
27
  }
24
28
 
25
29
  .co-progress-bar--solid.co-progress-bar--success .co-progress-bar__fill {
@@ -21,12 +21,12 @@ export class CoProgressBar {
21
21
  render() {
22
22
  const clamped = Math.max(0, Math.min(100, this.value));
23
23
  const indeterminate = this.indeterminate;
24
- return (h("div", { key: '73ffc3d2dedc7a87e2552a75b61a56199f60edb6', class: {
24
+ return (h("div", { key: '11e44e13ee324094bd7992d79cc6dc835c9de2f3', class: {
25
25
  'co-progress-bar': true,
26
26
  [`co-progress-bar--${this.status}`]: true,
27
27
  [`co-progress-bar--${this.variant}`]: true,
28
28
  'co-progress-bar--indeterminate': indeterminate,
29
- }, role: "progressbar", "aria-valuenow": indeterminate ? undefined : clamped, "aria-valuemin": 0, "aria-valuemax": 100, part: "bar", style: { height: `${this.thickness}px` } }, h("div", { key: 'da42344ce3d88c2a1eec058b4bb57a7b8380a2aa', class: "co-progress-bar__fill", style: indeterminate ? undefined : { width: `${clamped}%` } })));
29
+ }, role: "progressbar", "aria-valuenow": indeterminate ? undefined : clamped, "aria-valuemin": 0, "aria-valuemax": 100, part: "bar", style: { height: `${this.thickness}px` } }, h("div", { key: 'e0448637058e041aa2ff6a49f1be5464114c0d15', class: "co-progress-bar__fill", style: indeterminate ? undefined : { width: `${clamped}%` } })));
30
30
  }
31
31
  static get is() { return "co-progress-bar"; }
32
32
  static get encapsulation() { return "shadow"; }
@@ -22,7 +22,7 @@ export class CoProgressCircle {
22
22
  const clamped = Math.max(0, Math.min(100, this.value));
23
23
  const angle = (clamped / 100) * 360;
24
24
  const safeStroke = Math.min(this.strokeWidth, this.size / 2);
25
- return (h("div", { key: 'a3d5bc7d287ef18ad5d1d2f23373d25ea2509476', class: {
25
+ return (h("div", { key: '7659875cfd5d239ce132e216ebb013d867ef2d22', class: {
26
26
  'co-progress-circle': true,
27
27
  [`co-progress-circle--${this.status}`]: true,
28
28
  }, role: "progressbar", "aria-valuenow": clamped, "aria-valuemin": 0, "aria-valuemax": 100, part: "circle", style: {
@@ -30,7 +30,7 @@ export class CoProgressCircle {
30
30
  height: `${this.size}px`,
31
31
  '--co-pc-angle': `${angle}deg`,
32
32
  '--co-pc-stroke': `${safeStroke}px`,
33
- } }, h("div", { key: '3b922058d72dcb0d1a7a9f59b122b8a2d54c4d4a', class: "co-progress-circle__track" }), this.showLabel && (h("span", { key: '083498504b05357660f593c128258a2be8ca359e', class: "co-progress-circle__label" }, clamped, "%"))));
33
+ } }, h("div", { key: '832ee366fc48659f1e7731f57d0d9624348b15c0', class: "co-progress-circle__track" }), this.showLabel && (h("span", { key: '02d74ff3dcad11b608bab449db396073fcdf0b64', class: "co-progress-circle__label" }, clamped, "%"))));
34
34
  }
35
35
  static get is() { return "co-progress-circle"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -25,15 +25,15 @@ export class CoRadio {
25
25
  };
26
26
  }
27
27
  render() {
28
- return (h("div", { key: '637efb5c90e6f1f2c205a9c97c020c609f72a093', class: {
28
+ return (h("div", { key: 'daeb8835509b680044c4bb85e3b290d8315c509d', class: {
29
29
  'co-radio-row': true,
30
30
  'co-radio-row--disabled': this.disabled,
31
- }, onClick: this.handleClick }, h("button", { key: '7311c200f5b2e2029acfe2642aa59c850087a7b3', role: "radio", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
31
+ }, onClick: this.handleClick }, h("button", { key: 'e1f8d09f867cb18404315048951e4bf05a68307c', role: "radio", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
32
32
  'co-radio': true,
33
33
  [`co-radio--${this.size}`]: true,
34
34
  'co-radio--checked': this.checked,
35
35
  'co-radio--disabled': this.disabled,
36
- }, disabled: this.disabled, part: "circle" }), this.label && (h("span", { key: '067c567f9d70642c11ccb1a8d0b30c17323fb476', class: "co-radio__label", part: "label" }, this.label))));
36
+ }, disabled: this.disabled, part: "circle" }), this.label && (h("span", { key: '59360a6bd719d62872fb33de176eb43a0507d756', class: "co-radio__label", part: "label" }, this.label))));
37
37
  }
38
38
  static get is() { return "co-radio"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -149,8 +149,11 @@
149
149
  }
150
150
 
151
151
  /* ── Error state — circle border ────────────────────────────── */
152
+ /* Borde de error de CAMPO por --co-semantic-border-error: gira con el tema (status-error es
153
+ relleno fijo y como trazo en oscuro daba 2,94:1). En claro vale status-error (idéntico).
154
+ Fallback: la primitiva de hoy, hasta publicar tokens. */
152
155
  .co-radio-group--error .co-radio-group__circle {
153
- border-color: var(--co-semantic-status-error);
156
+ border-color: var(--co-semantic-border-error, var(--co-semantic-status-error));
154
157
  }
155
158
 
156
159
  /* ── Helper text ────────────────────────────────────────────── */
@@ -175,24 +178,26 @@
175
178
  }
176
179
 
177
180
  /* status colors */
181
+ /* Tinta de estado por --co-semantic-text-*: gira con el tema (status-* es relleno, no se
182
+ aclara, y como texto en oscuro daba <4,5). Fallback a la primitiva hasta publicar tokens. */
178
183
  .co-radio-group__helper--error .co-radio-group__helper-icon,
179
184
  .co-radio-group__helper--error .co-radio-group__helper-text {
180
- color: var(--co-semantic-status-error);
185
+ color: var(--co-semantic-text-error, var(--co-semantic-status-error));
181
186
  }
182
187
 
183
188
  .co-radio-group__helper--success .co-radio-group__helper-icon,
184
189
  .co-radio-group__helper--success .co-radio-group__helper-text {
185
- color: var(--co-semantic-status-success);
190
+ color: var(--co-semantic-text-success, var(--co-semantic-status-success));
186
191
  }
187
192
 
188
193
  .co-radio-group__helper--warning .co-radio-group__helper-icon,
189
194
  .co-radio-group__helper--warning .co-radio-group__helper-text {
190
- color: var(--co-color-status-review);
195
+ color: var(--co-semantic-text-warning, var(--co-color-status-review));
191
196
  }
192
197
 
193
198
  .co-radio-group__helper--info .co-radio-group__helper-icon,
194
199
  .co-radio-group__helper--info .co-radio-group__helper-text {
195
- color: var(--co-semantic-status-info);
200
+ color: var(--co-semantic-text-info, var(--co-semantic-status-info));
196
201
  }
197
202
 
198
203
  /* ── Horizontal layout: label left; control + helper stacked right ──