@prolibu-suite/cobalt-core 0.8.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (582) hide show
  1. package/custom-elements.json +188 -19
  2. package/dist/cjs/co-accordion.cjs.entry.js +2 -2
  3. package/dist/cjs/co-action-bar.cjs.entry.js +2 -2
  4. package/dist/cjs/co-app-shell.cjs.entry.js +2 -2
  5. package/dist/cjs/co-audio-player.cjs.entry.js +2 -2
  6. package/dist/cjs/co-autocomplete.cjs.entry.js +15 -6
  7. package/dist/cjs/co-avatar-group.cjs.entry.js +2 -2
  8. package/dist/cjs/co-avatar_2.cjs.entry.js +16 -5
  9. package/dist/cjs/co-badge.cjs.entry.js +1 -1
  10. package/dist/cjs/co-bottom-sheet.cjs.entry.js +2 -2
  11. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +1 -1
  12. package/dist/cjs/co-breadcrumb.cjs.entry.js +1 -1
  13. package/dist/cjs/co-button-group.cjs.entry.js +1 -1
  14. package/dist/cjs/co-button.cjs.entry.js +2 -2
  15. package/dist/cjs/co-calendar-month_2.cjs.entry.js +2 -2
  16. package/dist/cjs/co-calendar_3.cjs.entry.js +9 -9
  17. package/dist/cjs/co-card.cjs.entry.js +2 -2
  18. package/dist/cjs/co-carousel-item.cjs.entry.js +1 -1
  19. package/dist/cjs/co-carousel.cjs.entry.js +1 -1
  20. package/dist/cjs/co-checkbox-group.cjs.entry.js +2 -2
  21. package/dist/cjs/co-checkbox.cjs.entry.js +3 -3
  22. package/dist/cjs/co-chip_2.cjs.entry.js +26 -14
  23. package/dist/cjs/co-color-picker.cjs.entry.js +5 -5
  24. package/dist/cjs/co-column-picker.cjs.entry.js +4 -4
  25. package/dist/cjs/co-combobox.cjs.entry.js +14 -6
  26. package/dist/cjs/co-command-search.cjs.entry.js +20 -6
  27. package/dist/cjs/co-data-table-pagination.cjs.entry.js +6 -6
  28. package/dist/cjs/co-data-table.cjs.entry.js +128 -9
  29. package/dist/cjs/co-date-picker.cjs.entry.js +2 -2
  30. package/dist/cjs/co-date-range-picker.cjs.entry.js +3 -3
  31. package/dist/cjs/co-date-range.cjs.entry.js +2 -2
  32. package/dist/cjs/co-date-time-picker.cjs.entry.js +5 -5
  33. package/dist/cjs/co-drive-card.cjs.entry.js +3 -3
  34. package/dist/cjs/co-drop-zone.cjs.entry.js +2 -2
  35. package/dist/cjs/co-empty-state.cjs.entry.js +3 -3
  36. package/dist/cjs/co-event-calendar.cjs.entry.js +4 -4
  37. package/dist/cjs/co-event-popover.cjs.entry.js +3 -3
  38. package/dist/cjs/co-fab.cjs.entry.js +4 -4
  39. package/dist/cjs/co-file-field.cjs.entry.js +8 -8
  40. package/dist/cjs/co-file-type-tile.cjs.entry.js +3 -3
  41. package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
  42. package/dist/cjs/co-icon-button.cjs.entry.js +3 -3
  43. package/dist/cjs/co-icon.cjs.entry.js +3 -3
  44. package/dist/cjs/co-input.cjs.entry.js +3 -3
  45. package/dist/cjs/co-json-field.cjs.entry.js +6 -6
  46. package/dist/cjs/co-lightbox.cjs.entry.js +6 -6
  47. package/dist/cjs/co-list-footer.cjs.entry.js +3 -3
  48. package/dist/cjs/co-list-item.cjs.entry.js +6 -6
  49. package/dist/cjs/co-loader.cjs.entry.js +1 -1
  50. package/dist/cjs/co-media-thumb.cjs.entry.js +3 -3
  51. package/dist/cjs/co-menu-divider.cjs.entry.js +2 -2
  52. package/dist/cjs/co-menu-item.cjs.entry.js +2 -2
  53. package/dist/cjs/co-menu.cjs.entry.js +2 -2
  54. package/dist/cjs/co-modal.cjs.entry.js +4 -4
  55. package/dist/cjs/co-navbar.cjs.entry.js +3 -3
  56. package/dist/cjs/co-number-field.cjs.entry.js +5 -5
  57. package/dist/cjs/co-overlay.cjs.entry.js +3 -3
  58. package/dist/cjs/co-page-header.cjs.entry.js +2 -2
  59. package/dist/cjs/co-phone-field.cjs.entry.js +4 -4
  60. package/dist/cjs/co-popover.cjs.entry.js +79 -7
  61. package/dist/cjs/co-progress-bar.cjs.entry.js +3 -3
  62. package/dist/cjs/co-progress-circle.cjs.entry.js +4 -4
  63. package/dist/cjs/co-provider-logo_2.cjs.entry.js +2 -2
  64. package/dist/cjs/co-radio-group.cjs.entry.js +2 -2
  65. package/dist/cjs/co-radio.cjs.entry.js +5 -5
  66. package/dist/cjs/co-rating.cjs.entry.js +5 -5
  67. package/dist/cjs/co-ref-field.cjs.entry.js +28 -7
  68. package/dist/cjs/co-rich-text-editor.cjs.entry.js +5 -5
  69. package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +2 -2
  70. package/dist/cjs/co-rich-text-viewer.cjs.entry.js +1 -1
  71. package/dist/cjs/co-row.cjs.entry.js +3 -3
  72. package/dist/cjs/co-segmented-bar.cjs.entry.js +1 -1
  73. package/dist/cjs/co-select.cjs.entry.js +16 -7
  74. package/dist/cjs/co-separator.cjs.entry.js +2 -2
  75. package/dist/cjs/co-sidebar-nav.cjs.entry.js +4 -4
  76. package/dist/cjs/co-sidebar.cjs.entry.js +4 -4
  77. package/dist/cjs/co-slider.cjs.entry.js +4 -4
  78. package/dist/cjs/co-switch.cjs.entry.js +6 -6
  79. package/dist/cjs/co-tab-group.cjs.entry.js +3 -3
  80. package/dist/cjs/co-tab.cjs.entry.js +4 -4
  81. package/dist/cjs/co-tags-field.cjs.entry.js +9 -9
  82. package/dist/cjs/co-textarea.cjs.entry.js +7 -7
  83. package/dist/cjs/co-toast.cjs.entry.js +35 -5
  84. package/dist/cjs/co-toggle-button-group.cjs.entry.js +3 -3
  85. package/dist/cjs/co-toggle-button.cjs.entry.js +4 -4
  86. package/dist/cjs/co-transfer-list.cjs.entry.js +2 -2
  87. package/dist/cjs/co-video.cjs.entry.js +4 -4
  88. package/dist/cjs/cobalt.cjs.js +2 -2
  89. package/dist/cjs/{fieldChip-B_npd9rL.js → fieldChip-xNJPEFcS.js} +1 -1
  90. package/dist/cjs/{index-kBiXCEE7.js → index-DK-2Lzmf.js} +13 -13
  91. package/dist/cjs/loader.cjs.js +2 -2
  92. package/dist/cjs/{requiredMark-DuMIcKtt.js → requiredMark-C1xcrzSZ.js} +1 -1
  93. package/dist/cobalt/cobalt.css +1 -1
  94. package/dist/cobalt/cobalt.esm.js +1 -1
  95. package/dist/cobalt/{p-890296f9.entry.js → p-02ac492f.entry.js} +1 -1
  96. package/dist/cobalt/{p-f0c589ad.entry.js → p-02f4b71a.entry.js} +1 -1
  97. package/dist/cobalt/p-07d570a6.entry.js +1 -0
  98. package/dist/cobalt/p-136440fc.entry.js +1 -0
  99. package/dist/cobalt/{p-3ae69426.entry.js → p-138b8bc1.entry.js} +1 -1
  100. package/dist/cobalt/{p-df63f23c.entry.js → p-17ae943c.entry.js} +1 -1
  101. package/dist/cobalt/p-1ddbc48b.entry.js +1 -0
  102. package/dist/cobalt/{p-38ae8bff.entry.js → p-2637efc5.entry.js} +1 -1
  103. package/dist/cobalt/p-2c0099a4.entry.js +1 -0
  104. package/dist/cobalt/{p-202eadfc.entry.js → p-2d329ac8.entry.js} +1 -1
  105. package/dist/cobalt/p-2d81b292.entry.js +1 -0
  106. package/dist/cobalt/p-2f778a5a.entry.js +1 -0
  107. package/dist/cobalt/p-315586b0.entry.js +1 -0
  108. package/dist/cobalt/{p-0fc1edca.entry.js → p-316c62c0.entry.js} +1 -1
  109. package/dist/cobalt/p-342e1da4.entry.js +1 -0
  110. package/dist/cobalt/{p-acdb68a7.entry.js → p-37c17bd8.entry.js} +1 -1
  111. package/dist/cobalt/p-3a229bba.entry.js +1 -0
  112. package/dist/cobalt/{p-69723cc1.entry.js → p-3ced4269.entry.js} +1 -1
  113. package/dist/cobalt/{p-5c1328ff.entry.js → p-3d338881.entry.js} +1 -1
  114. package/dist/cobalt/{p-6985a964.entry.js → p-3ef0f849.entry.js} +1 -1
  115. package/dist/cobalt/p-40ce8a3d.entry.js +1 -0
  116. package/dist/cobalt/{p-8fe08257.entry.js → p-4299cfa5.entry.js} +1 -1
  117. package/dist/cobalt/{p-959556f4.entry.js → p-43bd298d.entry.js} +1 -1
  118. package/dist/cobalt/{p-dc8e88f4.entry.js → p-43d31055.entry.js} +1 -1
  119. package/dist/cobalt/{p-3a746267.entry.js → p-44fb4a3f.entry.js} +1 -1
  120. package/dist/cobalt/p-4a503187.entry.js +1 -0
  121. package/dist/cobalt/p-4fe9a3ae.entry.js +1 -0
  122. package/dist/cobalt/{p-f53b9536.entry.js → p-5c1767db.entry.js} +1 -1
  123. package/dist/cobalt/p-60cb66f5.entry.js +1 -0
  124. package/dist/cobalt/p-6556465f.entry.js +1 -0
  125. package/dist/cobalt/{p-48fbf051.entry.js → p-6795a258.entry.js} +1 -1
  126. package/dist/cobalt/p-682b3313.entry.js +1 -0
  127. package/dist/cobalt/p-6c35b5cc.entry.js +1 -0
  128. package/dist/cobalt/p-7457aa89.entry.js +1 -0
  129. package/dist/cobalt/{p-0769eee9.entry.js → p-75b7ed13.entry.js} +1 -1
  130. package/dist/cobalt/{p-afd957c0.entry.js → p-7c5e846a.entry.js} +1 -1
  131. package/dist/cobalt/{p-cd96aabf.entry.js → p-7cf4b4ae.entry.js} +1 -1
  132. package/dist/cobalt/p-7fbd3359.entry.js +1 -0
  133. package/dist/cobalt/p-8183f56f.entry.js +1 -0
  134. package/dist/cobalt/p-82c8f07b.entry.js +1 -0
  135. package/dist/cobalt/p-85a61e28.entry.js +1 -0
  136. package/dist/cobalt/p-88a0659f.entry.js +1 -0
  137. package/dist/cobalt/{p-dc269096.entry.js → p-8e667eb6.entry.js} +1 -1
  138. package/dist/cobalt/{p-1e9c9d46.entry.js → p-8eb485c8.entry.js} +1 -1
  139. package/dist/cobalt/p-8f600512.entry.js +1 -0
  140. package/dist/cobalt/{p-25f59046.entry.js → p-905ba0dd.entry.js} +1 -1
  141. package/dist/cobalt/p-909c0113.entry.js +1 -0
  142. package/dist/cobalt/p-90e292de.entry.js +1 -0
  143. package/dist/cobalt/p-929a4f19.entry.js +1 -0
  144. package/dist/cobalt/p-9c89cb01.entry.js +1 -0
  145. package/dist/cobalt/p-9c9f5b26.entry.js +1 -0
  146. package/dist/cobalt/p-CQAYgqA6.js +1 -0
  147. package/dist/cobalt/p-CrtiywTB.js +2 -0
  148. package/dist/cobalt/p-T4la7ly_.js +1 -0
  149. package/dist/cobalt/p-a0a6bfa3.entry.js +1 -0
  150. package/dist/cobalt/p-a3669301.entry.js +1 -0
  151. package/dist/cobalt/p-a3c6b974.entry.js +1 -0
  152. package/dist/cobalt/{p-20bd3702.entry.js → p-a6357340.entry.js} +1 -1
  153. package/dist/cobalt/p-a6b5cadd.entry.js +1 -0
  154. package/dist/cobalt/p-a811464d.entry.js +1 -0
  155. package/dist/cobalt/p-a8c64cc3.entry.js +1 -0
  156. package/dist/cobalt/p-a9b29cc2.entry.js +1 -0
  157. package/dist/cobalt/p-aafb9d11.entry.js +1 -0
  158. package/dist/cobalt/p-ab45d9bd.entry.js +1 -0
  159. package/dist/cobalt/p-b107063c.entry.js +1 -0
  160. package/dist/cobalt/{p-a04feb70.entry.js → p-b22981fd.entry.js} +1 -1
  161. package/dist/cobalt/p-b28dc0fe.entry.js +1 -0
  162. package/dist/cobalt/p-b5b97c9b.entry.js +1 -0
  163. package/dist/cobalt/{p-6b256d01.entry.js → p-b892b312.entry.js} +1 -1
  164. package/dist/cobalt/{p-39dea0c0.entry.js → p-bfc2a849.entry.js} +1 -1
  165. package/dist/cobalt/p-c1880595.entry.js +1 -0
  166. package/dist/cobalt/{p-7c6b3175.entry.js → p-c3bb7e1f.entry.js} +1 -1
  167. package/dist/cobalt/{p-ce961fba.entry.js → p-c3fd7b22.entry.js} +1 -1
  168. package/dist/cobalt/p-c6b9b9d6.entry.js +1 -0
  169. package/dist/cobalt/{p-195c67ee.entry.js → p-c8dba82f.entry.js} +1 -1
  170. package/dist/cobalt/{p-00830b8c.entry.js → p-ce35c898.entry.js} +1 -1
  171. package/dist/cobalt/p-d4debd6f.entry.js +1 -0
  172. package/dist/cobalt/p-da18b5f4.entry.js +1 -0
  173. package/dist/cobalt/{p-3af74ab8.entry.js → p-da546d08.entry.js} +1 -1
  174. package/dist/cobalt/{p-50bbfad8.entry.js → p-e085b4ff.entry.js} +1 -1
  175. package/dist/cobalt/{p-b45ea918.entry.js → p-e4ef25b0.entry.js} +1 -1
  176. package/dist/cobalt/{p-97875bde.entry.js → p-e6882ddd.entry.js} +1 -1
  177. package/dist/cobalt/{p-bebacee2.entry.js → p-e742e978.entry.js} +1 -1
  178. package/dist/cobalt/{p-52af222b.entry.js → p-e8878cf9.entry.js} +1 -1
  179. package/dist/cobalt/{p-a252f8c5.entry.js → p-f83b48fd.entry.js} +1 -1
  180. package/dist/cobalt/{p-3d4e697e.entry.js → p-f945a1bd.entry.js} +1 -1
  181. package/dist/cobalt/p-fabe5fb2.entry.js +1 -0
  182. package/dist/cobalt/{p-15852fec.entry.js → p-fd39f410.entry.js} +1 -1
  183. package/dist/cobalt/{p-51a1ad38.entry.js → p-fdc6ec11.entry.js} +1 -1
  184. package/dist/collection/components/co-accordion/co-accordion.css +12 -4
  185. package/dist/collection/components/co-action-bar/co-action-bar.css +4 -16
  186. package/dist/collection/components/co-app-shell/co-app-shell.css +1 -1
  187. package/dist/collection/components/co-audio-player/co-audio-player.css +1 -2
  188. package/dist/collection/components/co-autocomplete/co-autocomplete.css +3 -3
  189. package/dist/collection/components/co-autocomplete/co-autocomplete.js +14 -5
  190. package/dist/collection/components/co-avatar-group/co-avatar-group.css +1 -1
  191. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.css +4 -12
  192. package/dist/collection/components/co-button/co-button.css +17 -1
  193. package/dist/collection/components/co-calendar/co-calendar.css +2 -2
  194. package/dist/collection/components/co-calendar-month/co-calendar-month.css +1 -1
  195. package/dist/collection/components/co-card/co-card.css +1 -1
  196. package/dist/collection/components/co-checkbox/co-checkbox.css +84 -58
  197. package/dist/collection/components/co-checkbox/co-checkbox.js +1 -1
  198. package/dist/collection/components/co-checkbox-group/co-checkbox-group.css +1 -1
  199. package/dist/collection/components/co-chip/co-chip.css +2 -2
  200. package/dist/collection/components/co-chip/co-chip.js +2 -2
  201. package/dist/collection/components/co-color-picker/co-color-picker.css +3 -3
  202. package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
  203. package/dist/collection/components/co-column-picker/co-column-picker.css +8 -8
  204. package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
  205. package/dist/collection/components/co-combobox/co-combobox.css +5 -3
  206. package/dist/collection/components/co-combobox/co-combobox.js +13 -5
  207. package/dist/collection/components/co-command-search/co-command-search.css +13 -3
  208. package/dist/collection/components/co-command-search/co-command-search.js +18 -4
  209. package/dist/collection/components/co-data-table/co-data-table.css +38 -5
  210. package/dist/collection/components/co-data-table/co-data-table.js +89 -7
  211. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.css +5 -5
  212. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  213. package/dist/collection/components/co-date-field/co-date-field.css +2 -2
  214. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  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 +2 -2
  217. package/dist/collection/components/co-date-time-picker/co-date-time-picker.css +2 -2
  218. package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +2 -2
  219. package/dist/collection/components/co-drawer/co-drawer.css +2 -2
  220. package/dist/collection/components/co-drive-card/co-drive-card.css +5 -5
  221. package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
  222. package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
  223. package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
  224. package/dist/collection/components/co-event-calendar/co-event-calendar.css +2 -2
  225. package/dist/collection/components/co-event-calendar/co-event-calendar.js +2 -2
  226. package/dist/collection/components/co-event-popover/co-event-popover.css +1 -2
  227. package/dist/collection/components/co-event-popover/co-event-popover.js +1 -1
  228. package/dist/collection/components/co-fab/co-fab.css +26 -17
  229. package/dist/collection/components/co-fab/co-fab.js +2 -2
  230. package/dist/collection/components/co-file-field/co-file-field.css +5 -5
  231. package/dist/collection/components/co-file-field/co-file-field.js +5 -5
  232. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
  233. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  234. package/dist/collection/components/co-icon/co-icon.js +2 -2
  235. package/dist/collection/components/co-icon-button/co-icon-button.css +10 -1
  236. package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
  237. package/dist/collection/components/co-input/co-input.css +3 -3
  238. package/dist/collection/components/co-json-field/co-json-field.css +1 -1
  239. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  240. package/dist/collection/components/co-lightbox/co-lightbox.css +4 -4
  241. package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
  242. package/dist/collection/components/co-list-footer/co-list-footer.css +1 -1
  243. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  244. package/dist/collection/components/co-list-item/co-list-item.css +1 -1
  245. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  246. package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
  247. package/dist/collection/components/co-menu/co-menu.js +1 -1
  248. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  249. package/dist/collection/components/co-menu-item/co-menu-item.css +1 -1
  250. package/dist/collection/components/co-modal/co-modal.css +2 -2
  251. package/dist/collection/components/co-modal/co-modal.js +2 -2
  252. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  253. package/dist/collection/components/co-number-field/co-number-field.css +3 -3
  254. package/dist/collection/components/co-number-field/co-number-field.js +2 -2
  255. package/dist/collection/components/co-option-list/co-option-list.css +13 -11
  256. package/dist/collection/components/co-option-list/co-option-list.js +23 -11
  257. package/dist/collection/components/co-overlay/co-overlay.css +2 -2
  258. package/dist/collection/components/co-overlay/co-overlay.js +1 -1
  259. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  260. package/dist/collection/components/co-phone-field/co-phone-field.css +1 -1
  261. package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
  262. package/dist/collection/components/co-popover/co-popover.css +27 -0
  263. package/dist/collection/components/co-popover/co-popover.js +54 -6
  264. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  265. package/dist/collection/components/co-progress-circle/co-progress-circle.css +1 -1
  266. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  267. package/dist/collection/components/co-radio/co-radio.css +1 -1
  268. package/dist/collection/components/co-radio/co-radio.js +3 -3
  269. package/dist/collection/components/co-radio-group/co-radio-group.css +1 -1
  270. package/dist/collection/components/co-rating/co-rating.css +1 -1
  271. package/dist/collection/components/co-rating/co-rating.js +3 -3
  272. package/dist/collection/components/co-ref-field/co-ref-field.css +19 -4
  273. package/dist/collection/components/co-ref-field/co-ref-field.js +83 -3
  274. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +5 -5
  275. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +3 -3
  276. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.css +12 -12
  277. package/dist/collection/components/co-row/co-row.js +2 -2
  278. package/dist/collection/components/co-select/co-select.css +4 -4
  279. package/dist/collection/components/co-select/co-select.js +67 -4
  280. package/dist/collection/components/co-separator/co-separator.js +1 -1
  281. package/dist/collection/components/co-sidebar/co-sidebar.css +1 -1
  282. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  283. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +33 -7
  284. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +2 -2
  285. package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
  286. package/dist/collection/components/co-slider/co-slider.css +9 -2
  287. package/dist/collection/components/co-slider/co-slider.js +2 -2
  288. package/dist/collection/components/co-switch/co-switch.css +5 -4
  289. package/dist/collection/components/co-switch/co-switch.js +3 -3
  290. package/dist/collection/components/co-tab/co-tab.css +2 -2
  291. package/dist/collection/components/co-tab/co-tab.js +2 -2
  292. package/dist/collection/components/co-tab-group/co-tab-group.js +2 -2
  293. package/dist/collection/components/co-tags-field/co-tags-field.css +3 -3
  294. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  295. package/dist/collection/components/co-textarea/co-textarea.css +2 -2
  296. package/dist/collection/components/co-textarea/co-textarea.js +4 -4
  297. package/dist/collection/components/co-toast/co-toast.css +63 -1
  298. package/dist/collection/components/co-toast/co-toast.js +38 -3
  299. package/dist/collection/components/co-toggle-button/co-toggle-button.css +1 -1
  300. package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
  301. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
  302. package/dist/collection/components/co-tooltip/co-tooltip.css +1 -1
  303. package/dist/collection/components/co-tooltip/co-tooltip.js +14 -3
  304. package/dist/collection/components/co-transfer-list/co-transfer-list.css +3 -3
  305. package/dist/collection/components/co-video/co-video.css +9 -9
  306. package/dist/collection/components/co-video/co-video.js +2 -2
  307. package/dist/collection/utils/columnResize.js +37 -0
  308. package/dist/collection/utils/popover-stack.js +28 -0
  309. package/dist/components/co-accordion.js +1 -1
  310. package/dist/components/co-action-bar.js +1 -1
  311. package/dist/components/co-app-shell.js +1 -1
  312. package/dist/components/co-audio-player.js +1 -1
  313. package/dist/components/co-autocomplete.js +1 -1
  314. package/dist/components/co-avatar-group.js +1 -1
  315. package/dist/components/co-avatar.js +1 -1
  316. package/dist/components/co-bottom-sheet.js +1 -1
  317. package/dist/components/co-breadcrumb-item.js +1 -1
  318. package/dist/components/co-breadcrumb.js +1 -1
  319. package/dist/components/co-button.js +1 -1
  320. package/dist/components/co-calendar-month.js +1 -1
  321. package/dist/components/co-calendar-timegrid.js +1 -1
  322. package/dist/components/co-calendar.js +1 -1
  323. package/dist/components/co-card.js +1 -1
  324. package/dist/components/co-carousel.js +1 -1
  325. package/dist/components/co-checkbox-group.js +1 -1
  326. package/dist/components/co-checkbox.js +1 -1
  327. package/dist/components/co-chip.js +1 -1
  328. package/dist/components/co-color-picker.js +1 -1
  329. package/dist/components/co-column-picker.js +1 -1
  330. package/dist/components/co-combobox.js +1 -1
  331. package/dist/components/co-command-search.js +1 -1
  332. package/dist/components/co-data-table-pagination.js +1 -1
  333. package/dist/components/co-data-table.js +1 -1
  334. package/dist/components/co-date-field.js +1 -1
  335. package/dist/components/co-date-picker.js +1 -1
  336. package/dist/components/co-date-range-picker.js +1 -1
  337. package/dist/components/co-date-range.js +1 -1
  338. package/dist/components/co-date-time-picker.js +1 -1
  339. package/dist/components/co-drawer.js +1 -1
  340. package/dist/components/co-drive-card.js +1 -1
  341. package/dist/components/co-drop-zone.js +1 -1
  342. package/dist/components/co-empty-state.js +1 -1
  343. package/dist/components/co-event-calendar.js +1 -1
  344. package/dist/components/co-event-popover.js +1 -1
  345. package/dist/components/co-fab.js +1 -1
  346. package/dist/components/co-file-field.js +1 -1
  347. package/dist/components/co-file-type-tile.js +1 -1
  348. package/dist/components/co-helper-text.js +1 -1
  349. package/dist/components/co-icon-button.js +1 -1
  350. package/dist/components/co-icon.js +1 -1
  351. package/dist/components/co-input.js +1 -1
  352. package/dist/components/co-json-field.js +1 -1
  353. package/dist/components/co-lightbox.js +1 -1
  354. package/dist/components/co-list-footer.js +1 -1
  355. package/dist/components/co-list-item.js +1 -1
  356. package/dist/components/co-media-thumb.js +1 -1
  357. package/dist/components/co-menu-divider.js +1 -1
  358. package/dist/components/co-menu-item.js +1 -1
  359. package/dist/components/co-menu.js +1 -1
  360. package/dist/components/co-modal.js +1 -1
  361. package/dist/components/co-navbar.js +1 -1
  362. package/dist/components/co-number-field.js +1 -1
  363. package/dist/components/co-option-list.js +1 -1
  364. package/dist/components/co-overlay.js +1 -1
  365. package/dist/components/co-page-header.js +1 -1
  366. package/dist/components/co-phone-field.js +1 -1
  367. package/dist/components/co-popover.js +1 -1
  368. package/dist/components/co-progress-bar.js +1 -1
  369. package/dist/components/co-progress-circle.js +1 -1
  370. package/dist/components/co-radio-group.js +1 -1
  371. package/dist/components/co-radio.js +1 -1
  372. package/dist/components/co-rating.js +1 -1
  373. package/dist/components/co-ref-field.js +1 -1
  374. package/dist/components/co-rich-text-editor.js +1 -1
  375. package/dist/components/co-rich-text-toolbar.js +1 -1
  376. package/dist/components/co-row.js +1 -1
  377. package/dist/components/co-select.js +1 -1
  378. package/dist/components/co-separator.js +1 -1
  379. package/dist/components/co-sidebar-nav.js +1 -1
  380. package/dist/components/co-sidebar.js +1 -1
  381. package/dist/components/co-skeleton.js +1 -1
  382. package/dist/components/co-slider.js +1 -1
  383. package/dist/components/co-switch.js +1 -1
  384. package/dist/components/co-tab-group.js +1 -1
  385. package/dist/components/co-tab.js +1 -1
  386. package/dist/components/co-tags-field.js +1 -1
  387. package/dist/components/co-textarea.js +1 -1
  388. package/dist/components/co-toast.js +1 -1
  389. package/dist/components/co-toggle-button-group.js +1 -1
  390. package/dist/components/co-toggle-button.js +1 -1
  391. package/dist/components/co-tooltip.js +1 -1
  392. package/dist/components/co-transfer-list.js +1 -1
  393. package/dist/components/co-video.js +1 -1
  394. package/dist/components/index.js +1 -1
  395. package/dist/components/{p-BC6sxVVr.js → p-4t5Fputx.js} +1 -1
  396. package/dist/components/p-8wvfrEY4.js +1 -0
  397. package/dist/components/{p-DbISGXT_.js → p-BCZ-tPBT.js} +1 -1
  398. package/dist/components/p-BEiPCCVl.js +1 -0
  399. package/dist/components/{p-CDWXNRpo.js → p-BOmAHbix.js} +1 -1
  400. package/dist/components/p-BUYgHlPz.js +1 -0
  401. package/dist/components/p-BYnSPxpp.js +1 -0
  402. package/dist/components/{p-CVCEiwOS.js → p-Bhuk55S0.js} +1 -1
  403. package/dist/components/{p-CIWoKlGj.js → p-C4So28aS.js} +1 -1
  404. package/dist/components/p-CRABrJmD.js +1 -0
  405. package/dist/components/p-CXLX8DpD.js +1 -0
  406. package/dist/components/{p-ChPooamL.js → p-CXdIxtbK.js} +1 -1
  407. package/dist/components/p-ClAsHpYv.js +1 -0
  408. package/dist/components/p-CnBjUP_M.js +1 -0
  409. package/dist/components/p-DEYpoVxc.js +1 -0
  410. package/dist/components/p-DP0bbhfN.js +1 -0
  411. package/dist/components/{p-T0MdU7sb.js → p-DUYGgqjB.js} +1 -1
  412. package/dist/components/p-DWt_rL1l.js +1 -0
  413. package/dist/components/p-DmyELlI1.js +1 -0
  414. package/dist/components/{p-uZ2D6ESV.js → p-aiNhl9Xd.js} +1 -1
  415. package/dist/components/p-njonLO8t.js +1 -0
  416. package/dist/components/{p-BQFperIX.js → p-xjzIZcgZ.js} +1 -1
  417. package/dist/esm/co-accordion.entry.js +2 -2
  418. package/dist/esm/co-action-bar.entry.js +2 -2
  419. package/dist/esm/co-app-shell.entry.js +2 -2
  420. package/dist/esm/co-audio-player.entry.js +2 -2
  421. package/dist/esm/co-autocomplete.entry.js +15 -6
  422. package/dist/esm/co-avatar-group.entry.js +2 -2
  423. package/dist/esm/co-avatar_2.entry.js +16 -5
  424. package/dist/esm/co-badge.entry.js +1 -1
  425. package/dist/esm/co-bottom-sheet.entry.js +2 -2
  426. package/dist/esm/co-breadcrumb-item.entry.js +1 -1
  427. package/dist/esm/co-breadcrumb.entry.js +1 -1
  428. package/dist/esm/co-button-group.entry.js +1 -1
  429. package/dist/esm/co-button.entry.js +2 -2
  430. package/dist/esm/co-calendar-month_2.entry.js +2 -2
  431. package/dist/esm/co-calendar_3.entry.js +9 -9
  432. package/dist/esm/co-card.entry.js +2 -2
  433. package/dist/esm/co-carousel-item.entry.js +1 -1
  434. package/dist/esm/co-carousel.entry.js +1 -1
  435. package/dist/esm/co-checkbox-group.entry.js +2 -2
  436. package/dist/esm/co-checkbox.entry.js +3 -3
  437. package/dist/esm/co-chip_2.entry.js +26 -14
  438. package/dist/esm/co-color-picker.entry.js +5 -5
  439. package/dist/esm/co-column-picker.entry.js +4 -4
  440. package/dist/esm/co-combobox.entry.js +14 -6
  441. package/dist/esm/co-command-search.entry.js +20 -6
  442. package/dist/esm/co-data-table-pagination.entry.js +6 -6
  443. package/dist/esm/co-data-table.entry.js +128 -9
  444. package/dist/esm/co-date-picker.entry.js +2 -2
  445. package/dist/esm/co-date-range-picker.entry.js +3 -3
  446. package/dist/esm/co-date-range.entry.js +2 -2
  447. package/dist/esm/co-date-time-picker.entry.js +5 -5
  448. package/dist/esm/co-drive-card.entry.js +3 -3
  449. package/dist/esm/co-drop-zone.entry.js +2 -2
  450. package/dist/esm/co-empty-state.entry.js +3 -3
  451. package/dist/esm/co-event-calendar.entry.js +4 -4
  452. package/dist/esm/co-event-popover.entry.js +3 -3
  453. package/dist/esm/co-fab.entry.js +4 -4
  454. package/dist/esm/co-file-field.entry.js +8 -8
  455. package/dist/esm/co-file-type-tile.entry.js +3 -3
  456. package/dist/esm/co-helper-text.entry.js +3 -3
  457. package/dist/esm/co-icon-button.entry.js +3 -3
  458. package/dist/esm/co-icon.entry.js +3 -3
  459. package/dist/esm/co-input.entry.js +3 -3
  460. package/dist/esm/co-json-field.entry.js +6 -6
  461. package/dist/esm/co-lightbox.entry.js +6 -6
  462. package/dist/esm/co-list-footer.entry.js +3 -3
  463. package/dist/esm/co-list-item.entry.js +6 -6
  464. package/dist/esm/co-loader.entry.js +1 -1
  465. package/dist/esm/co-media-thumb.entry.js +3 -3
  466. package/dist/esm/co-menu-divider.entry.js +2 -2
  467. package/dist/esm/co-menu-item.entry.js +2 -2
  468. package/dist/esm/co-menu.entry.js +2 -2
  469. package/dist/esm/co-modal.entry.js +4 -4
  470. package/dist/esm/co-navbar.entry.js +3 -3
  471. package/dist/esm/co-number-field.entry.js +5 -5
  472. package/dist/esm/co-overlay.entry.js +3 -3
  473. package/dist/esm/co-page-header.entry.js +2 -2
  474. package/dist/esm/co-phone-field.entry.js +4 -4
  475. package/dist/esm/co-popover.entry.js +79 -7
  476. package/dist/esm/co-progress-bar.entry.js +3 -3
  477. package/dist/esm/co-progress-circle.entry.js +4 -4
  478. package/dist/esm/co-provider-logo_2.entry.js +2 -2
  479. package/dist/esm/co-radio-group.entry.js +2 -2
  480. package/dist/esm/co-radio.entry.js +5 -5
  481. package/dist/esm/co-rating.entry.js +5 -5
  482. package/dist/esm/co-ref-field.entry.js +28 -7
  483. package/dist/esm/co-rich-text-editor.entry.js +5 -5
  484. package/dist/esm/co-rich-text-toolbar.entry.js +2 -2
  485. package/dist/esm/co-rich-text-viewer.entry.js +1 -1
  486. package/dist/esm/co-row.entry.js +3 -3
  487. package/dist/esm/co-segmented-bar.entry.js +1 -1
  488. package/dist/esm/co-select.entry.js +16 -7
  489. package/dist/esm/co-separator.entry.js +2 -2
  490. package/dist/esm/co-sidebar-nav.entry.js +4 -4
  491. package/dist/esm/co-sidebar.entry.js +4 -4
  492. package/dist/esm/co-slider.entry.js +4 -4
  493. package/dist/esm/co-switch.entry.js +6 -6
  494. package/dist/esm/co-tab-group.entry.js +3 -3
  495. package/dist/esm/co-tab.entry.js +4 -4
  496. package/dist/esm/co-tags-field.entry.js +9 -9
  497. package/dist/esm/co-textarea.entry.js +7 -7
  498. package/dist/esm/co-toast.entry.js +35 -5
  499. package/dist/esm/co-toggle-button-group.entry.js +3 -3
  500. package/dist/esm/co-toggle-button.entry.js +4 -4
  501. package/dist/esm/co-transfer-list.entry.js +2 -2
  502. package/dist/esm/co-video.entry.js +4 -4
  503. package/dist/esm/cobalt.js +3 -3
  504. package/dist/esm/{fieldChip-Bb8YIN0J.js → fieldChip-BZDUy9Z-.js} +1 -1
  505. package/dist/esm/{index-BCEz3S-z.js → index-CrtiywTB.js} +13 -13
  506. package/dist/esm/loader.js +3 -3
  507. package/dist/esm/{requiredMark-D7kAMXHM.js → requiredMark-DCD-ZA51.js} +1 -1
  508. package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +1 -1
  509. package/dist/types/components/co-combobox/co-combobox.d.ts +1 -1
  510. package/dist/types/components/co-command-search/co-command-search.d.ts +7 -0
  511. package/dist/types/components/co-data-table/co-data-table.d.ts +5 -0
  512. package/dist/types/components/co-option-list/co-option-list.d.ts +5 -1
  513. package/dist/types/components/co-popover/co-popover.d.ts +8 -1
  514. package/dist/types/components/co-ref-field/co-ref-field.d.ts +21 -0
  515. package/dist/types/components/co-select/co-select.d.ts +7 -0
  516. package/dist/types/components/co-toast/co-toast.d.ts +19 -0
  517. package/dist/types/components/co-tooltip/co-tooltip.d.ts +6 -0
  518. package/dist/types/components.d.ts +66 -8
  519. package/dist/types/utils/columnResize.d.ts +42 -0
  520. package/dist/types/utils/popover-stack.d.ts +5 -0
  521. package/package.json +2 -2
  522. package/dist/cobalt/p-0f18c4d2.entry.js +0 -1
  523. package/dist/cobalt/p-260196cb.entry.js +0 -1
  524. package/dist/cobalt/p-27dce0ac.entry.js +0 -1
  525. package/dist/cobalt/p-2bf44b2b.entry.js +0 -1
  526. package/dist/cobalt/p-2c100914.entry.js +0 -1
  527. package/dist/cobalt/p-2e1d930f.entry.js +0 -1
  528. package/dist/cobalt/p-35518aee.entry.js +0 -1
  529. package/dist/cobalt/p-38cf47b6.entry.js +0 -1
  530. package/dist/cobalt/p-445acc4c.entry.js +0 -1
  531. package/dist/cobalt/p-4de9232a.entry.js +0 -1
  532. package/dist/cobalt/p-523aca9f.entry.js +0 -1
  533. package/dist/cobalt/p-5319ac3f.entry.js +0 -1
  534. package/dist/cobalt/p-53a276a8.entry.js +0 -1
  535. package/dist/cobalt/p-543cc00d.entry.js +0 -1
  536. package/dist/cobalt/p-59f7d44b.entry.js +0 -1
  537. package/dist/cobalt/p-5b984323.entry.js +0 -1
  538. package/dist/cobalt/p-5bfaca70.entry.js +0 -1
  539. package/dist/cobalt/p-5c250889.entry.js +0 -1
  540. package/dist/cobalt/p-5e21ca17.entry.js +0 -1
  541. package/dist/cobalt/p-61d5ca3c.entry.js +0 -1
  542. package/dist/cobalt/p-6357d9dd.entry.js +0 -1
  543. package/dist/cobalt/p-69b8d98e.entry.js +0 -1
  544. package/dist/cobalt/p-6b089060.entry.js +0 -1
  545. package/dist/cobalt/p-7d077a7c.entry.js +0 -1
  546. package/dist/cobalt/p-7f4bf341.entry.js +0 -1
  547. package/dist/cobalt/p-869c338a.entry.js +0 -1
  548. package/dist/cobalt/p-913b2a14.entry.js +0 -1
  549. package/dist/cobalt/p-9824c478.entry.js +0 -1
  550. package/dist/cobalt/p-99c1ff0f.entry.js +0 -1
  551. package/dist/cobalt/p-BCEz3S-z.js +0 -2
  552. package/dist/cobalt/p-C-d15gih.js +0 -1
  553. package/dist/cobalt/p-D5gr2ent.js +0 -1
  554. package/dist/cobalt/p-a4f39ba2.entry.js +0 -1
  555. package/dist/cobalt/p-a7c23027.entry.js +0 -1
  556. package/dist/cobalt/p-ab8e150e.entry.js +0 -1
  557. package/dist/cobalt/p-bad7ce84.entry.js +0 -1
  558. package/dist/cobalt/p-c237add6.entry.js +0 -1
  559. package/dist/cobalt/p-c32949a5.entry.js +0 -1
  560. package/dist/cobalt/p-cd5555d2.entry.js +0 -1
  561. package/dist/cobalt/p-d56b8a1f.entry.js +0 -1
  562. package/dist/cobalt/p-d6fff135.entry.js +0 -1
  563. package/dist/cobalt/p-d71b87d3.entry.js +0 -1
  564. package/dist/cobalt/p-d83e5189.entry.js +0 -1
  565. package/dist/cobalt/p-de5a05fc.entry.js +0 -1
  566. package/dist/cobalt/p-e2188319.entry.js +0 -1
  567. package/dist/cobalt/p-f4370423.entry.js +0 -1
  568. package/dist/cobalt/p-f4e4bebf.entry.js +0 -1
  569. package/dist/cobalt/p-f7ae0228.entry.js +0 -1
  570. package/dist/components/p-B21rOC2Y.js +0 -1
  571. package/dist/components/p-BXtiFFM2.js +0 -1
  572. package/dist/components/p-BdArvV6T.js +0 -1
  573. package/dist/components/p-BnkGlFYy.js +0 -1
  574. package/dist/components/p-CfeNhAHW.js +0 -1
  575. package/dist/components/p-ChLib-si.js +0 -1
  576. package/dist/components/p-D-3BTFRs.js +0 -1
  577. package/dist/components/p-D0wrmRH8.js +0 -1
  578. package/dist/components/p-DZX7cEqP.js +0 -1
  579. package/dist/components/p-W8Y8ZuPs.js +0 -1
  580. package/dist/components/p-cteJszd-.js +0 -1
  581. package/dist/components/p-mUoTCiYa.js +0 -1
  582. package/dist/components/p-ySi6UG0O.js +0 -1
@@ -240,7 +240,7 @@
240
240
  width: 100%;
241
241
  text-align: left;
242
242
  color: var(--co-semantic-text-default);
243
- transition: background 0.15s ease, color 0.15s ease;
243
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out);
244
244
  font-family: var(--co-font-family-primary);
245
245
  font-size: var(--co-font-size-14);
246
246
  font-weight: var(--co-font-weight-medium);
@@ -267,6 +267,16 @@
267
267
  backdrop-filter: blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));
268
268
  }
269
269
 
270
+ /* Hover on the ACTIVE item: keep the workspace pill, just MORE opaque (solid
271
+ --co-sidebar-nav-active-bg-min vs the resting 85% glass) + keep the adaptive
272
+ active fg. `.co-sidebar-nav__item:hover` (class + pseudo = 0,2,0) otherwise
273
+ outranks `--active` (single class = 0,1,0) and swaps the pill for the generic
274
+ gray hover; this rule (0,3,0) wins so the active state persists on hover. */
275
+ .co-sidebar-nav__item--active:hover {
276
+ background: var(--co-sidebar-nav-active-bg-min, var(--co-sidebar-nav-active-bg, var(--co-semantic-surface-hover)));
277
+ color: var(--co-sidebar-nav-active-color, var(--co-color-primary-azul));
278
+ }
279
+
270
280
  .co-sidebar-nav__item-icon {
271
281
  display: flex;
272
282
  align-items: center;
@@ -310,7 +320,8 @@
310
320
  .co-sidebar-nav__item--active treatment (frosted --co-sidebar-nav-active-bg +
311
321
  backdrop blur + adaptive --co-sidebar-nav-active-color) so the collapsed
312
322
  active chip matches the expanded one in color and treatment.
313
- (--co-sidebar-nav-active-bg-min is no longer consumed.) */
323
+ (--co-sidebar-nav-active-bg-min = the SOLID workspace color; consumed by the
324
+ active :hover state above and by the flyout active item as the opaque pill.) */
314
325
 
315
326
  /* — Flyout (mini mode hover popover) — */
316
327
  .co-sidebar-nav__flyout-anchor {
@@ -329,7 +340,12 @@
329
340
  display: flex;
330
341
  flex-direction: column;
331
342
  z-index: 9999;
332
- animation: co-flyout-in 0.15s ease;
343
+ /* Tokenizado para caer bajo el zeroing global de reduced-motion. 0.15s → fast
344
+ por consistencia con la tabla de mapping de la task 8 (0.15s -> duration-fast,
345
+ 96 ocurrencias hermanas migradas así); no "base" pese a ser la convención de
346
+ entrada de co-popover — un feel más lento para este panel es decisión de
347
+ polish (task 19), no de esta migración mecánica. */
348
+ animation: co-flyout-in var(--co-motion-duration-fast) var(--co-motion-ease-out);
333
349
  }
334
350
 
335
351
  .co-sidebar-nav__flyout-title {
@@ -361,8 +377,13 @@
361
377
  background: var(--co-color-gray-100);
362
378
  }
363
379
 
380
+ /* Active flyout item = solid workspace-color pill + adaptive text/icon, mirroring
381
+ the collapsed mini active chip. The background MUST pair with the app's adaptive
382
+ --co-sidebar-nav-active-color: on dark workspaces that color is #fff, so the old
383
+ flat gray-100 background rendered white-on-gray (invisible). Pairing a solid
384
+ workspace bg with the adaptive fg keeps it readable on BOTH light and dark themes. */
364
385
  .co-sidebar-nav__flyout .co-sidebar-nav__item--active {
365
- background: var(--co-color-gray-100);
386
+ background: var(--co-sidebar-nav-active-bg-min, var(--co-color-gray-100));
366
387
  color: var(--co-sidebar-nav-active-color, var(--co-color-primary-azul));
367
388
  font-weight: var(--co-font-weight-medium);
368
389
  }
@@ -377,6 +398,11 @@
377
398
  color: var(--co-color-base-negro);
378
399
  }
379
400
 
401
+ /* Icon follows the active text color so it stays visible on the solid pill. */
402
+ .co-sidebar-nav__flyout .co-sidebar-nav__item--active .co-sidebar-nav__item-icon co-icon {
403
+ color: var(--co-sidebar-nav-active-color, var(--co-color-primary-azul));
404
+ }
405
+
380
406
  @keyframes co-flyout-in {
381
407
  from {
382
408
  opacity: 0;
@@ -406,7 +432,7 @@
406
432
  width: 100%;
407
433
  text-align: left;
408
434
  color: var(--co-semantic-text-secondary);
409
- transition: background 0.15s ease, color 0.15s ease;
435
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out);
410
436
  font-family: var(--co-font-family-primary);
411
437
  font-size: var(--co-font-size-14);
412
438
  font-weight: var(--co-font-weight-medium);
@@ -426,7 +452,7 @@
426
452
  .co-sidebar-nav__expansion-caret {
427
453
  margin-left: auto;
428
454
  flex-shrink: 0;
429
- transition: transform 0.2s ease;
455
+ transition: transform var(--co-motion-duration-base) var(--co-motion-ease-out);
430
456
  color: var(--co-semantic-text-muted);
431
457
  }
432
458
 
@@ -442,7 +468,7 @@
442
468
  overflow: hidden;
443
469
  max-height: 0;
444
470
  opacity: 0;
445
- transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.2s ease;
471
+ transition: max-height var(--co-motion-duration-slow) var(--co-motion-ease-out), opacity var(--co-motion-duration-base) var(--co-motion-ease-out), padding var(--co-motion-duration-base) var(--co-motion-ease-out);
446
472
  padding-left: var(--co-spacing-xl);
447
473
  }
448
474
 
@@ -496,10 +496,10 @@ export class CoSidebarNav {
496
496
  // `flyout-open` (min mode only) lets the CSS drop the host edge-fade mask
497
497
  // while a flyout is shown — a host mask would otherwise clip AND
498
498
  // mis-position the fixed flyout (mask makes the host a containing block).
499
- h(Host, { key: '637707894cb777ff149c0516aff13786054e5393', class: { 'flyout-open': !!this.flyoutKey } }, h("nav", { key: '3d98909c4d5d0f17eb478fbd01603884d040f45f', class: {
499
+ h(Host, { key: 'fa9a50c4a517fa550406669bb3d40abbf12db32a', class: { 'flyout-open': !!this.flyoutKey } }, h("nav", { key: '5df964b67ed0e376a268dd28e1095b985c0b328b', class: {
500
500
  'co-sidebar-nav': true,
501
501
  'co-sidebar-nav--min': this.mode === 'min',
502
- } }, this.renderSearch(), h("div", { key: 'd46c1e3b5e60ded1d232e7ccf8beb768d34ffe88', class: "co-sidebar-nav__items" }, items.map(item => this.renderItem(item))))));
502
+ } }, this.renderSearch(), h("div", { key: 'c276aacf1b0b9eb66e35977d124465c400c96cd1', class: "co-sidebar-nav__items" }, items.map(item => this.renderItem(item))))));
503
503
  }
504
504
  static get is() { return "co-sidebar-nav"; }
505
505
  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: '233bdc2410690a010be28e57f71880f885edd711', class: { 'co-skeleton': true, [`co-skeleton--${this.variant}`]: true }, part: "skeleton", style: style, "aria-hidden": "true" }));
19
+ return (h("div", { key: 'c7eca2183d2d738c8eb59980c05c8a83a8344d68', 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"; }
@@ -79,7 +79,7 @@
79
79
  height: 100%;
80
80
  background: var(--co-semantic-surface-primary);
81
81
  border-radius: var(--co-border-radius-full);
82
- transition: width 0.05s ease;
82
+ transition: width var(--co-motion-duration-instant) var(--co-motion-ease-out);
83
83
  }
84
84
 
85
85
  .co-slider--disabled .co-slider__fill {
@@ -101,7 +101,7 @@
101
101
  border: 2px solid var(--co-semantic-surface-secondary);
102
102
  box-shadow: var(--co-semantic-control-shadow, 0 1px 4px rgba(0,0,0,0.12));
103
103
  transform: translate(-50%, -50%);
104
- transition: box-shadow 0.15s ease, transform 0.1s ease;
104
+ transition: box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out);
105
105
  pointer-events: none;
106
106
  }
107
107
 
@@ -110,6 +110,13 @@
110
110
  box-shadow: 0 0 0 4px var(--co-semantic-border-focus-ring);
111
111
  }
112
112
 
113
+ /* Manipulación directa = sin transición del fill (evita el desfase fill/thumb
114
+ al arrastrar); el token --co-motion-duration-instant queda para saltos
115
+ discretos (teclado/click). */
116
+ .co-slider--dragging .co-slider__fill {
117
+ transition: none;
118
+ }
119
+
113
120
  .co-slider--disabled .co-slider__thumb {
114
121
  background: var(--co-semantic-text-disabled);
115
122
  }
@@ -72,12 +72,12 @@ export class CoSlider {
72
72
  }
73
73
  render() {
74
74
  const pct = this.percentage;
75
- return (h("div", { key: '5b112a7975ab5dee865814fae75fe1d4ca8099ed', class: {
75
+ return (h("div", { key: '9b0393d126f0951918b8579542019448949f8537', 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: '215199cccc16293c239ad543e19965de8016bc49', class: "co-slider__labels" }, h("div", { key: '0c72aed8099eb04a7be3fd978643ff1807b450b7', class: "co-slider__labels-left" }, this.label && h("label", { key: '19addd8933e918b73bb12e8c5e600d95f082f755', class: "co-slider__label" }, this.label), this.secondaryLabel && h("span", { key: 'e7128961c9aea173ff13d81b03062ad2cfc38084', class: "co-slider__secondary-label" }, this.secondaryLabel)), this.showValue && h("span", { key: 'f82b30d226e562521a5564d4348a03ccc978715b', class: "co-slider__value" }, this.value))), h("div", { key: '0a42dc4519dd991b332bc62eb8ff59c44acbdd79', class: "co-slider__track-wrapper", ref: el => (this.trackEl = el), onPointerDown: this.handlePointerDown }, h("div", { key: 'b85ba951d913ef68ee454c2f70a8e5517c4262bf', class: "co-slider__track" }, h("div", { key: 'f06c1d1d9b602c078fcd6cfb3ab1f486b9ae0c63', class: "co-slider__fill", style: { width: `${pct}%` } })), h("div", { key: 'be52d64df84ef2620ebdc11b75793a804b3c7a4e', class: "co-slider__thumb", style: { left: `${pct}%` } })), this.showMarks && (h("div", { key: 'd0bf46d74c1d9cffc35db3af25bd39de8c041899', class: "co-slider__marks" }, h("span", { key: '779c25fb6669e0e3ce8c73d2a59686204a19b6fb', class: "co-slider__mark" }, this.min), h("span", { key: 'd61b61a373332bf22fc524d879c595047782c585', class: "co-slider__mark" }, this.max))), h("input", { key: '426f58b9210369dbd0c976555965ac62d20ce198', 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: '72de59ff964142aa3e63f1c1da203d6ae5a015b4', class: `co-slider__helper co-slider__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '07c8dacb49fcb50b57014ae16a4f0220757064c8', name: this.statusIcon, size: 14, weight: "fill", class: "co-slider__helper-icon" }), h("span", { key: '64464d85a972b1bc523d5f28f2f8ac82f194fb8a', class: "co-slider__helper-text" }, this.helperText)))));
80
+ } }, (this.label || this.secondaryLabel || this.showValue) && (h("div", { key: 'e5a6e71de571099179da3fff7fad8a49f4007b58', class: "co-slider__labels" }, h("div", { key: 'e2e7b16b04ab4405efefe3c706f0b17e554e3403', class: "co-slider__labels-left" }, this.label && h("label", { key: '5bfdab322661e6a4ff23c3f51b98f92beb7f71d2', class: "co-slider__label" }, this.label), this.secondaryLabel && h("span", { key: 'badb1274cb50e9fd5aa4ffe0ecd2fcdf7e356ac5', class: "co-slider__secondary-label" }, this.secondaryLabel)), this.showValue && h("span", { key: '100c039646a494ab2311fe665dcca69ac373412c', class: "co-slider__value" }, this.value))), h("div", { key: 'cccc6eec3cb96c59fde0dd61f243b99d4dd906a5', class: "co-slider__track-wrapper", ref: el => (this.trackEl = el), onPointerDown: this.handlePointerDown }, h("div", { key: 'f2e4c77eaad6f282a8516cbecf658309d288e960', class: "co-slider__track" }, h("div", { key: 'a4b4e062c0f4fc63fe06c0f82635b7938d362872', class: "co-slider__fill", style: { width: `${pct}%` } })), h("div", { key: '82aaafcee3e10dabda359e1633d3d43cb907efef', class: "co-slider__thumb", style: { left: `${pct}%` } })), this.showMarks && (h("div", { key: 'df196b5f77697d80ba347049252f06bd941210af', class: "co-slider__marks" }, h("span", { key: '842cf8078d2ce44015bfff1ef5c6af9e81226c65', class: "co-slider__mark" }, this.min), h("span", { key: 'e9016d28e3cccb5422ee69fc420ffe8573261bb5', class: "co-slider__mark" }, this.max))), h("input", { key: 'e39cf4e0e392b19bbc69a8824b5304923690a111', class: "co-slider__native", type: "range", min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled, onInput: this.handleInputChange, "aria-label": this.label || 'Slider' }), this.helperText && (h("div", { key: '8f63357fba596c559f7a8844588c7c95f85c7216', class: `co-slider__helper co-slider__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: 'bd3cb81a4b8e934f97db8520566f41094b4054be', name: this.statusIcon, size: 14, weight: "fill", class: "co-slider__helper-icon" }), h("span", { key: '2840f87c55a9404b682b00be36f90807ba2e5cab', class: "co-slider__helper-text" }, this.helperText)))));
81
81
  }
82
82
  static get is() { return "co-slider"; }
83
83
  static get encapsulation() { return "shadow"; }
@@ -113,7 +113,7 @@
113
113
  cursor: pointer;
114
114
  padding: 0;
115
115
  overflow: hidden;
116
- transition: background 0.2s ease;
116
+ transition: background var(--co-motion-duration-base) var(--co-motion-ease-out);
117
117
  box-sizing: border-box;
118
118
  flex-shrink: 0;
119
119
  }
@@ -130,17 +130,18 @@
130
130
  .co-switch__thumb {
131
131
  position: absolute;
132
132
  top: 50%;
133
+ left: 2px; /* estático: el desplazamiento va por transform (compositor-only) */
133
134
  transform: translateY(-50%);
134
135
  width: 20px;
135
136
  height: 20px;
136
137
  border-radius: var(--co-border-radius-full);
137
138
  background: var(--co-semantic-control-thumb);
138
- transition: left 0.2s ease;
139
+ transition: transform var(--co-motion-duration-base) var(--co-motion-ease-out);
139
140
  box-shadow: 0 1px 3px var(--co-semantic-control-shadow);
140
141
  }
141
142
 
142
- .co-switch--off .co-switch__thumb { left: 2px; }
143
- .co-switch--on .co-switch__thumb { left: 22px; }
143
+ .co-switch--off .co-switch__thumb { transform: translateY(-50%) translateX(0); }
144
+ .co-switch--on .co-switch__thumb { transform: translateY(-50%) translateX(20px); }
144
145
 
145
146
  /* ─── DISABLED ──────────────────────────────────────────────── */
146
147
  .co-switch--disabled {
@@ -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: '2d54e4a245ff8e7bac33f720c0bf22b16e2f2863', class: {
32
+ return (h("div", { key: 'cf5f5cf9c86e531772cab2fc89ce7f671fac6b88', 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: 'a8c0d9067596dc7ba2cde7db13936ac98f4a308f', class: "co-switch-wrapper__row", onClick: this.handleClick }, h("button", { key: '920210333625a69b9aa505a50cfd147ad7f71357', role: "switch", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
36
+ } }, h("div", { key: '1b4a84420f7cbf55b797c900633278226e6bb876', class: "co-switch-wrapper__row", onClick: this.handleClick }, h("button", { key: '84935bfd4332c5f75d9a55c302a215704255687e', 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: 'b9bafc85e62aa24ed0243359d53210f31d984e13', class: "co-switch__thumb", part: "thumb" })), hasLabels && (h("div", { key: '38ca77e6f9bf4c2b9e911fd1f98588df0b273320', class: "co-switch-wrapper__labels" }, this.label && h("span", { key: 'd25c10a12a6e3bd7dd49ee6e25d7a4e710622604', class: "co-switch-wrapper__label", part: "label" }, this.label, h(RequiredMark, { key: 'b6e434fe0dcae3ed7a23aa2a3c4686783debc736', required: this.required })), this.secondaryLabel && (h("span", { key: 'da01d07fc4a7519fad7e5c6d8d283e4dfd72763a', class: "co-switch-wrapper__secondary-label", part: "secondary-label" }, this.secondaryLabel))))), hasHelper && (h("div", { key: '6d518eb23a4459ad5853159d4e33632d758f419e', class: `co-switch-wrapper__helper co-switch-wrapper__helper--${this.status}` }, this.statusIcon && (h("co-icon", { key: '96772daea7dc0b3c3304f4394f55856bd74b2fc6', name: this.statusIcon, size: 14, weight: "fill", class: "co-switch-wrapper__helper-icon" })), h("span", { key: 'de1d5474326eb79396cad519faf48a3595adf755', class: "co-switch-wrapper__helper-text" }, this.helperText)))));
41
+ }, disabled: this.disabled, part: "track" }, h("span", { key: '5fd9ccdee226488b7bf40135310dfa8edc6f21ca', class: "co-switch__thumb", part: "thumb" })), hasLabels && (h("div", { key: '8c218d1e80fde949aaaeddb5beb82f0db903c5fd', class: "co-switch-wrapper__labels" }, this.label && h("span", { key: '8ac9fd5b3c508f1aa8d5dc68958b3503088c6573', class: "co-switch-wrapper__label", part: "label" }, this.label, h(RequiredMark, { key: '6484f45dcf71fde79d7e9b2dcb1e05736222eb43', required: this.required })), this.secondaryLabel && (h("span", { key: 'cafa4abbf0b8bab98992a1fc8450828eddf5a84e', class: "co-switch-wrapper__secondary-label", part: "secondary-label" }, this.secondaryLabel))))), hasHelper && (h("div", { key: '50b2fa3efe5f9231b334785a5fcc12976e100529', class: `co-switch-wrapper__helper co-switch-wrapper__helper--${this.status}` }, this.statusIcon && (h("co-icon", { key: 'd43268eb4c94458681cd0d29c25e63c6f228e744', name: this.statusIcon, size: 14, weight: "fill", class: "co-switch-wrapper__helper-icon" })), h("span", { key: 'dca85627fe32f4991716e5bd0d74f52ee7825159', 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"; }
@@ -16,7 +16,7 @@
16
16
  border-radius: var(--co-border-radius-full);
17
17
  background: transparent;
18
18
  color: var(--co-color-gray-500, #888);
19
- transition: background 0.15s ease, color 0.15s ease, font-weight 0.15s ease;
19
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out);
20
20
  box-sizing: border-box;
21
21
  }
22
22
 
@@ -79,7 +79,7 @@
79
79
  font-size: var(--co-font-size-14, 14px);
80
80
  font-weight: 400;
81
81
  letter-spacing: var(--co-font-letter-spacing-body, -0.03em);
82
- transition: color 0.12s ease;
82
+ transition: color var(--co-motion-duration-fast) var(--co-motion-ease-out);
83
83
  }
84
84
 
85
85
  .co-tab--underline.co-tab--selected {
@@ -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: 'b8673b45961dbde0d1227cc11c5901c3ac835a5f', class: {
24
+ return (h("button", { key: 'f569dd0913e8a6640fbbaecbf2b083e480f6f137', 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: '56c288e6ef62ddbae146e433e7cbd5c26ac59671', name: this.iconLeft, size: iconSize })), h("span", { key: '0960be9c2f886e6997d34e430c80a5c7ffad15d5' }, this.label), this.badge && (h("span", { key: '38c8c970f55ce333b950746d65e166bddc6877e4', class: "co-tab__badge", part: "badge" }, this.badge)), this.iconRight && (h("co-icon", { key: '70b527b463734e8181287cf1c6f0b499e9b3825c', 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: '8bd16fd9d62bcf85872743b4508b1d7e774564a7', name: this.iconLeft, size: iconSize })), h("span", { key: 'e2477eb4d568a14cbc2751478b193f72fe485827' }, this.label), this.badge && (h("span", { key: '8d66cc9036bb4a70ffc51b29edbd1a766e650c41', class: "co-tab__badge", part: "badge" }, this.badge)), this.iconRight && (h("co-icon", { key: 'f7e31ab5fed7cc1c1df82655f16e52efd6459c04', name: this.iconRight, size: iconSize }))));
31
31
  }
32
32
  static get is() { return "co-tab"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -49,10 +49,10 @@ export class CoTabGroup {
49
49
  });
50
50
  }
51
51
  render() {
52
- return (h("div", { key: 'cdc42835ffb5727ceb6de152ccf91064ebfc9cf9', class: {
52
+ return (h("div", { key: 'b4a12a70b2ea662d7560b44dee50ecdbbb9314bb', class: {
53
53
  'co-tab-group': true,
54
54
  [`co-tab-group--${this.variant}`]: true,
55
- }, role: "tablist", part: "tab-group", onWheel: this.onWheel }, h("slot", { key: '2815afe02e2e34378cd33f0d6a21e2fe658eac53', onSlotchange: this.onSlotChange })));
55
+ }, role: "tablist", part: "tab-group", onWheel: this.onWheel }, h("slot", { key: '4427ca133a60ae07f53f1c50ef6dd9ee39784aa6', onSlotchange: this.onSlotChange })));
56
56
  }
57
57
  static get is() { return "co-tab-group"; }
58
58
  static get encapsulation() { return "shadow"; }
@@ -68,7 +68,7 @@
68
68
  background: var(--co-semantic-surface-page);
69
69
  border: 1px solid var(--co-semantic-border-field);
70
70
  border-radius: var(--co-border-radius-xs);
71
- transition: border-color 0.15s ease, box-shadow 0.15s ease;
71
+ transition: border-color var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out);
72
72
  min-height: 40px;
73
73
  box-sizing: border-box;
74
74
  flex: 1;
@@ -145,7 +145,7 @@
145
145
  background: transparent;
146
146
  cursor: pointer;
147
147
  color: var(--co-semantic-text-muted);
148
- transition: color 0.1s ease;
148
+ transition: color var(--co-motion-duration-fast) var(--co-motion-ease-out);
149
149
  flex-shrink: 0;
150
150
  }
151
151
 
@@ -201,7 +201,7 @@
201
201
  background: transparent;
202
202
  cursor: pointer;
203
203
  color: var(--co-semantic-text-muted);
204
- transition: color 0.15s ease;
204
+ transition: color var(--co-motion-duration-fast) var(--co-motion-ease-out);
205
205
  }
206
206
 
207
207
  .co-tags-field__clear--hidden {
@@ -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: '47f84ca4f1ca42b71bb652f557e5a8718ab5a463', class: {
189
+ return (h("div", { key: 'e7035dd352d920f06cf7ae067f4d5016fceff48b', 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: '718b221eab4b3e7ed2397bde6e13a3f5f8c5f703', class: "co-tags-field__labels" }, h("label", { key: 'e3479f790451e5d2e7d89977f88af29db2bd3269', class: "co-tags-field__label", part: "label" }, this.label, h(RequiredMark, { key: '5a544537e8a663a53bc44d3333788e1fa1270112', required: this.required })))), h("div", { key: '0174ad7bb299efa97d98450de80c4c8dd9378f35', class: "co-tags-field__field-row" }, h("div", { key: '25b80d7f435195f9c789f4eb8553d3c326984b31', class: "co-tags-field__field", part: "field", onClick: this.handleFieldClick }, h("div", { key: 'b4eb779b42ffc118e584d36ff6896de6e39148bc', 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: '4ff2eb4ab1fb00a193679063a30069847d85c6be', class: "co-tags-field__labels" }, h("label", { key: '238e18f48cb6c482de2957cd0f466c9875c71c20', class: "co-tags-field__label", part: "label" }, this.label, h(RequiredMark, { key: '4a86dbeb54674e7b0f38052bb7f9c9a6b96e2380', required: this.required })))), h("div", { key: '2ce5b7b6c520aac7d10e0ae2aad06ca27d12b705', class: "co-tags-field__field-row" }, h("div", { key: 'aa2e01fbbeeaddc8a53ffcb62c4c871ba2fe57d6', class: "co-tags-field__field", part: "field", onClick: this.handleFieldClick }, h("div", { key: 'bb6b037edb3036b029a664f7ef6d72b110e7b6a8', 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: '35e2946e38d6b3e69e1a1cdad49ade9999ad1c48', 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: '1be954210a0d61e36cf987d12127594119b40095', class: {
204
+ : undefined }))), showInput && (h("input", { key: '419fa34260f36353b30c58b0883b8ebbaaca0176', ref: (el) => (this.inputEl = el), class: "co-tags-field__native", type: "text", autocomplete: "off", value: this.draft, placeholder: tags.length === 0 ? this.placeholder : '', disabled: this.disabled, required: this.required && tags.length === 0, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? 'Tags' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, part: "input" }))), this.clearable && (h("button", { key: '06372259382dfc3a6edeba8f7e6dd5b9617ae306', 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: 'c1a4975e339115a6a2fc933a2d73a3d5ff0b4653', name: "x-circle", size: 16, weight: "fill" }))))), this.name && h("input", { key: 'bd3e4bf286efe97939e9933d3b4c3bda0909f54f', type: "hidden", name: this.name, value: JSON.stringify(tags) }), helper && (h("div", { key: 'e32c923da1928cfa6bc1bf041e257e41809df047', 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: '1a2985e18467e778c56ae21c4de64ca7444cebcb', name: "x-circle", size: 16, weight: "fill" }))))), this.name && h("input", { key: '0a97d32c8efa0b29e0f050eceb4015cec8d55512', type: "hidden", name: this.name, value: JSON.stringify(tags) }), helper && (h("div", { key: '7225ade1dad3a5a63ad3214ae80890c082e89e19', 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: '8ab523ee51f9f3525985d6f7ec5b0cede3dd1d61', name: "warning-circle", size: 14, class: "co-tags-field__helper-icon" })), h("span", { key: '24641df824075583a1ece04e202b6f419a99c54d', class: "co-tags-field__helper-text" }, helper)))));
210
+ }, part: "helper" }, this.isInvalid && (h("co-icon", { key: '42225192d8d73f9e091ee069f7f5307ea42f5516', name: "warning-circle", size: 14, class: "co-tags-field__helper-icon" })), h("span", { key: '75eefd041a4d17ef9514ed24d7a3a417e89dc19c', 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 @@
71
71
  background: var(--co-semantic-surface-page);
72
72
  border: 1px solid var(--co-semantic-border-field);
73
73
  border-radius: var(--co-border-radius-xs);
74
- transition: border-color 0.15s ease, box-shadow 0.15s ease;
74
+ transition: border-color var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out);
75
75
  box-sizing: border-box;
76
76
  overflow: hidden;
77
77
  }
@@ -157,7 +157,7 @@
157
157
  color: var(--co-semantic-text-muted);
158
158
  cursor: pointer;
159
159
  padding: 0;
160
- transition: color 0.15s ease, background 0.15s ease;
160
+ transition: color var(--co-motion-duration-fast) var(--co-motion-ease-out), background var(--co-motion-duration-fast) var(--co-motion-ease-out);
161
161
  }
162
162
 
163
163
  .co-textarea__clear:hover {
@@ -76,7 +76,7 @@ export class CoTextarea {
76
76
  const showClear = this.clearable && this.hasValue && !this.disabled && !this.readonly;
77
77
  const isOverLimit = this.maxLength != null && this.charCount > this.maxLength;
78
78
  const statusClass = this.status !== 'default' ? `co-textarea--${this.status}` : '';
79
- return (h("div", { key: '83cddaf39334bbd1ee8c3c2804bf879a1678be31', class: {
79
+ return (h("div", { key: '26a30e39d13d782711adb94e4c12c6c0db282095', class: {
80
80
  'co-textarea': true,
81
81
  'co-textarea--disabled': this.disabled,
82
82
  'co-textarea--focused': this.hasFocus,
@@ -85,13 +85,13 @@ export class CoTextarea {
85
85
  [`co-textarea--${this.size}`]: true,
86
86
  [statusClass]: !!statusClass,
87
87
  'co-textarea--flat': this.variant === 'flat',
88
- }, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: '78e5e03b10e3d19e565fc5a617efa42f4a0102c3', class: "co-textarea__labels" }, this.label && (h("label", { key: '65bde2a35c48be79ae04aa0d2b040970cdad7b8c', class: "co-textarea__label", part: "label" }, this.label, h(RequiredMark, { key: 'd46b4a35d8daeff39cdaaed33c9d4b38071d0663', required: this.required }))), this.secondaryLabel && (h("span", { key: '526f358820bedf0184f9353d0cad8fe54afb1557', class: "co-textarea__secondary-label" }, this.secondaryLabel)))), h("div", { key: 'f9133145a9a50f963bafb10546e6f46fa3dbfedf', class: "co-textarea__field", part: "field" }, h("textarea", { key: '83e91e506c84939b4c4ff06da316c81e38540ea1', ref: (el) => (this.textareaEl = el), class: {
88
+ }, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: 'b4f8df968cff2b5b175cfcbf1e68b31ca29d9afe', class: "co-textarea__labels" }, this.label && (h("label", { key: 'af366be59684f535c8fb87e9b974ce759cc18076', class: "co-textarea__label", part: "label" }, this.label, h(RequiredMark, { key: 'e8a27b76c9fde30eef0aef8fbbbc46e296edf537', required: this.required }))), this.secondaryLabel && (h("span", { key: '945182ab7091298aab4631167615df0b742250d2', class: "co-textarea__secondary-label" }, this.secondaryLabel)))), h("div", { key: '23d1c1c7af5a03b0cd9196bfc18f24746f5e523d', class: "co-textarea__field", part: "field" }, h("textarea", { key: 'def518b0c40dad1749d9c4271f6b0b4bb08abb64', ref: (el) => (this.textareaEl = el), class: {
89
89
  'co-textarea__native': true,
90
90
  [`co-textarea__native--resize-${this.resize}`]: true,
91
- }, 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: '5fd7d570f0fa628fd69739b1245892791073a04a', class: "co-textarea__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: 'aa8d7ec05dae2ffc62caa62261d7a26fb0c74f72', name: "x-circle", size: 16, weight: "fill" })))), (this.helperText || this.maxLength != null) && (h("div", { key: 'bf78c1beb45928d0494699bd4fa108c9941d4011', class: "co-textarea__footer" }, this.helperText && (h("div", { key: '6a607e88c55a7c370e319a6972be00ca92beab53', class: {
91
+ }, 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: '207bde67b9f3adcca674b93dbb135bb10d448f5e', class: "co-textarea__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: '927918569b359aebd7c1f2e0ae8c7be607453531', name: "x-circle", size: 16, weight: "fill" })))), (this.helperText || this.maxLength != null) && (h("div", { key: '4374030bb6cbf6fa45c40f464481c2bf40cba6fc', class: "co-textarea__footer" }, this.helperText && (h("div", { key: 'b92692e4149b404999221cb6ef3de0d2adb73291', class: {
92
92
  'co-textarea__helper': true,
93
93
  'co-textarea__helper--error': this.status === 'error',
94
- }, part: "helper" }, this.status === 'error' && (h("co-icon", { key: 'd5b027fb53b600f7a527ffddb3a819463b360255', name: "warning-circle", size: 14, class: "co-textarea__helper-icon" })), h("span", { key: '9e180c6e956efa75558dc1d3027f28760d3d39d4', class: "co-textarea__helper-text" }, this.helperText))), this.maxLength != null && (h("span", { key: 'cc32a43d1e804910dbb948e9dd004fe36d428a1e', class: {
94
+ }, part: "helper" }, this.status === 'error' && (h("co-icon", { key: '544c72f9baa84f61b76104e62373dc8ba4d445e0', name: "warning-circle", size: 14, class: "co-textarea__helper-icon" })), h("span", { key: '531d0c60b322ce09760889cc1b979e3c48046847', class: "co-textarea__helper-text" }, this.helperText))), this.maxLength != null && (h("span", { key: '72eadc738677c3bbf50c9d0bdeb1cee713528507', class: {
95
95
  'co-textarea__counter': true,
96
96
  'co-textarea__counter--over': isOverLimit,
97
97
  }, part: "counter" }, this.charCount, "/", this.maxLength))))));
@@ -110,7 +110,7 @@
110
110
  color: var(--co-toast-dismiss-color);
111
111
  cursor: pointer;
112
112
  flex-shrink: 0;
113
- transition: opacity 0.15s ease;
113
+ transition: opacity var(--co-motion-duration-fast) var(--co-motion-ease-out);
114
114
  -webkit-font-smoothing: antialiased;
115
115
  }
116
116
 
@@ -214,3 +214,65 @@
214
214
  background: var(--co-color-primary-azul, #2563eb);
215
215
  transition: width 0.3s ease;
216
216
  }
217
+
218
+ /* ─── Entrada (on-mount) ─────────────────────────────────────────────
219
+ * co-toast se monta/desmonta desde afuera y no tiene estado `open`: nace
220
+ * oculto y un frame después del mount el propio componente se marca
221
+ * `.co-toast--in` (@State `entered` en co-toast.tsx). La SALIDA sigue
222
+ * siendo del host.
223
+ *
224
+ * Todo esto ocurre en el nodo INTERNO `.co-toast`, nunca en `:host`, por dos
225
+ * motivos independientes:
226
+ * 1. El transform: el contenedor que apila los toasts ya usa el transform
227
+ * del host para su enter/leave/move (p. ej. el TransitionGroup de
228
+ * suite-v2), y dos transforms sobre el mismo nodo se pisan. Un único
229
+ * nodo lleva el transform de entrada.
230
+ * 2. La bandera: el host es del consumidor. Vue (y cualquiera que use
231
+ * `setAttribute('class', …)`) reescribe `className` ENTERO al patchear
232
+ * un `:class` dinámico, borrando la clase — y con `opacity: 0` de base
233
+ * el toast quedaría invisible para siempre. Dentro del shadow es
234
+ * inmune. */
235
+
236
+ .co-toast {
237
+ opacity: 0;
238
+ transform: translateY(8px) scale(0.98);
239
+ }
240
+
241
+ .co-toast--in {
242
+ opacity: 1;
243
+ transform: none;
244
+ transition:
245
+ opacity var(--co-motion-duration-base) var(--co-motion-ease-out),
246
+ transform var(--co-motion-duration-base) var(--co-motion-ease-out);
247
+ }
248
+
249
+ /* Success entra con pop: el transform rebota (spring) y dura un poco más.
250
+ * La opacidad se queda en base/ease-out — un spring sobre opacity
251
+ * sobrepasaría de 1 y el rebote no se vería, solo se recortaría.
252
+ * Ambas clases caen en el MISMO nodo, así que el selector compuesto tiene
253
+ * más especificidad (0,2,0) que `.co-toast--in` (0,1,0) y gana sin depender
254
+ * del orden. */
255
+ .co-toast--in.co-toast--success {
256
+ transition:
257
+ opacity var(--co-motion-duration-base) var(--co-motion-ease-out),
258
+ transform var(--co-motion-duration-slow) var(--co-motion-ease-spring);
259
+ }
260
+
261
+ /* ─── Check dibujado (success sin icono propio) ──────────────────────
262
+ * Mismo patrón que el glyph de co-checkbox: pathLength="1" normaliza el
263
+ * trazo a 1 unidad, así dasharray/dashoffset 1 = "sin dibujar" y 0 =
264
+ * "dibujado". El path se monta ya con su estado inicial, y la transición
265
+ * se declara SOLO en el estado final para que no haya dibujo inverso. */
266
+
267
+ .co-toast__check path {
268
+ stroke-dasharray: 1;
269
+ stroke-dashoffset: 1;
270
+ }
271
+
272
+ /* Se dibuja con la misma clase que la entrada, pero con un delay `fast`:
273
+ * el toast aterriza primero y el check se traza encima. */
274
+ .co-toast--in .co-toast__check path {
275
+ stroke-dashoffset: 0;
276
+ transition: stroke-dashoffset var(--co-motion-duration-slow)
277
+ var(--co-motion-ease-out) var(--co-motion-duration-fast);
278
+ }
@@ -20,6 +20,15 @@ const ALERT_VARIANTS = ['error', 'warning'];
20
20
  */
21
21
  export class CoToast {
22
22
  constructor() {
23
+ /**
24
+ * Bandera de entrada. Vive en el SHADOW (clase del root interno), no en el
25
+ * host: el host es de quien monta el toast, y frameworks como Vue asignan
26
+ * `el.className` ENTERO al patchear un `:class` dinámico — una bandera puesta
27
+ * ahí con `classList.add` se borraría y, como el estado base es `opacity: 0`
28
+ * y `componentDidLoad` ya corrió, el toast quedaría invisible para siempre
29
+ * sin forma de recuperarse. Adentro del shadow nadie puede pisarla.
30
+ */
31
+ this.entered = false;
23
32
  /** Toast message (title row) */
24
33
  this.message = '';
25
34
  /** Show dismiss (X) button */
@@ -29,6 +38,20 @@ export class CoToast {
29
38
  /** Semantic variant — drives left accent color, icon tint, default icon, and announced ARIA role. */
30
39
  this.variant = 'neutral';
31
40
  }
41
+ /**
42
+ * El toast se monta/desmonta desde afuera y no tiene estado `open`, así que
43
+ * la entrada la dispara él mismo: nace oculto (CSS) y un frame después del
44
+ * mount se marca `.co-toast--in` en el root interno, que es lo que la
45
+ * transición interpola. El rAF es obligatorio — cambiar el estado en el
46
+ * mismo frame que el markup dejaría un solo recálculo de estilo y la
47
+ * transición no arrancaría.
48
+ * La SALIDA sigue siendo del host (ver comentario "Entrada" en el CSS).
49
+ */
50
+ componentDidLoad() {
51
+ requestAnimationFrame(() => {
52
+ this.entered = true;
53
+ });
54
+ }
32
55
  render() {
33
56
  var _a;
34
57
  const hasDescription = !!this.description;
@@ -37,7 +60,13 @@ export class CoToast {
37
60
  const clampedProgress = hasProgress
38
61
  ? Math.max(0, Math.min(100, this.progress))
39
62
  : 0;
40
- const resolvedIcon = (_a = this.icon) !== null && _a !== void 0 ? _a : (hasProgress ? 'upload-simple' : DEFAULT_ICON[this.variant]);
63
+ // Success sin icono propio dibuja su check en vez del co-icon por defecto.
64
+ // Con `icon` custom manda el consumidor; con `progress` manda el icono de
65
+ // subida (azul), que es la señal de la barra — ninguno de los dos se pisa.
66
+ const drawsCheck = this.variant === 'success' && !this.icon && !hasProgress;
67
+ const resolvedIcon = drawsCheck
68
+ ? null
69
+ : (_a = this.icon) !== null && _a !== void 0 ? _a : (hasProgress ? 'upload-simple' : DEFAULT_ICON[this.variant]);
41
70
  const role = ALERT_VARIANTS.includes(this.variant) ? 'alert' : 'status';
42
71
  const rootClass = {
43
72
  'co-toast': true,
@@ -45,9 +74,10 @@ export class CoToast {
45
74
  'co-toast--multiline': hasDescription,
46
75
  'co-toast--stacked': isStacked,
47
76
  'co-toast--progress': hasProgress,
77
+ 'co-toast--in': this.entered,
48
78
  };
49
- const content = (h("div", { key: '4727f0b593050826892f25a3da53fd42edfad744', class: "co-toast__content" }, h("span", { key: '8c1a29b562d9a8b6aed4a60bef8be39647fc8b7a', class: "co-toast__message" }, this.message), hasDescription && (h("span", { key: 'ccb7b545065311525ba40d7e066dd1dc12be995f', class: "co-toast__description" }, this.description))));
50
- return (h("div", { key: '49d0d786f54a7d9e9fb648dd4aa0dd0e1122ecdc', class: rootClass, part: "toast", role: role }, resolvedIcon && (h("span", { key: 'f67cff3e6b14cbe9be11090c17cb33fb7dd944e9', class: "co-toast__icon" }, h("co-icon", { key: '6c45e2ad5d844228f4352f0593bb111b23b715b9', name: resolvedIcon, size: 20 }))), h("div", { key: '61942396846ec88cc1fb8ee04b4da6b5e9541b11', class: "co-toast__body" }, hasProgress ? (h("div", { class: "co-toast__progress" }, h("div", { class: "co-toast__progress-header" }, content, h("span", { class: "co-toast__percent" }, clampedProgress, "%")), h("div", { class: "co-toast__track", part: "track", role: "progressbar", "aria-valuenow": clampedProgress, "aria-valuemin": 0, "aria-valuemax": 100 }, h("span", { class: "co-toast__fill", part: "fill", style: { width: `${clampedProgress}%` } })))) : (content), isStacked && (h("div", { key: '48cbdafb944ddac91c62154f59b08c7401e7ca9f', class: "co-toast__actions" }, h("slot", { key: '15d119f0724e3bf791ed65bba140bff394395396', name: "action" })))), !isStacked && (h("div", { key: '87cc2aa477b3ede5ec648047b920d6747360a712', class: "co-toast__actions" }, h("slot", { key: 'bdecde963be2ce12ef437b3524bab17ffd51a200', name: "action" }))), this.dismissible && (h("button", { key: '1da56cebd4714f72b3396ff7c00405341654c421', class: "co-toast__dismiss", type: "button", "aria-label": "Dismiss", onClick: () => this.coDismiss.emit() }, h("co-icon", { key: 'a0061ab640565171efc109a790a599adf4f90b86', name: "x", size: 16 })))));
79
+ const content = (h("div", { key: '5479799fdc6e1290192530a8cbda7308a610821e', class: "co-toast__content" }, h("span", { key: '7d3b310377e78b8e5551cc80f2941aa621ea9bcb', class: "co-toast__message" }, this.message), hasDescription && (h("span", { key: 'f3d0a88cc99ba0884875217454192bf285480b65', class: "co-toast__description" }, this.description))));
80
+ return (h("div", { key: '1194ce0b8e6b279dcf747467df23903c9f79770d', class: rootClass, part: "toast", role: role }, (drawsCheck || resolvedIcon) && (h("span", { key: '46c9ed361690be9f2ad60235efbefbd9ab30bb0d', class: "co-toast__icon" }, resolvedIcon ? (h("co-icon", { name: resolvedIcon, size: 20 })) : (h("svg", { class: "co-toast__check", viewBox: "0 0 16 16", width: "20", height: "20", "aria-hidden": "true" }, h("path", { d: "M3.5 8.5l3 3 6-6.5", pathLength: "1", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("div", { key: 'e277b37fccc9c3770e3c102cb0039cd97f83223a', class: "co-toast__body" }, hasProgress ? (h("div", { class: "co-toast__progress" }, h("div", { class: "co-toast__progress-header" }, content, h("span", { class: "co-toast__percent" }, clampedProgress, "%")), h("div", { class: "co-toast__track", part: "track", role: "progressbar", "aria-valuenow": clampedProgress, "aria-valuemin": 0, "aria-valuemax": 100 }, h("span", { class: "co-toast__fill", part: "fill", style: { width: `${clampedProgress}%` } })))) : (content), isStacked && (h("div", { key: '029587321c2cd209fa838c24a435027b7a029a90', class: "co-toast__actions" }, h("slot", { key: 'c937442479f63185efc37428b9c25680ed72248d', name: "action" })))), !isStacked && (h("div", { key: 'b4f2be5646b30478315256d04cf86e4eb939fcb9', class: "co-toast__actions" }, h("slot", { key: '689ef19ee688a4f4abc38b4c8ec7918aed4338bf', name: "action" }))), this.dismissible && (h("button", { key: '7424c7bacc165e5e6828fa28233c3e8151c769f3', class: "co-toast__dismiss", type: "button", "aria-label": "Dismiss", onClick: () => this.coDismiss.emit() }, h("co-icon", { key: '64149b651baa0cdd39a4ed17a865d5624872d4a9', name: "x", size: 16 })))));
51
81
  }
52
82
  static get is() { return "co-toast"; }
53
83
  static get encapsulation() { return "shadow"; }
@@ -214,6 +244,11 @@ export class CoToast {
214
244
  }
215
245
  };
216
246
  }
247
+ static get states() {
248
+ return {
249
+ "entered": {}
250
+ };
251
+ }
217
252
  static get events() {
218
253
  return [{
219
254
  "method": "coDismiss",
@@ -32,7 +32,7 @@
32
32
  font-family: var(--co-font-family-primary);
33
33
  font-weight: 500;
34
34
  cursor: pointer;
35
- transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
35
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), border-color var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out);
36
36
  white-space: nowrap;
37
37
  box-sizing: border-box;
38
38
  line-height: 1;
@@ -18,13 +18,13 @@ export class CoToggleButton {
18
18
  render() {
19
19
  const iconSize = this.variant === 'track' ? 18 : this.size === 'l' ? 20 : this.size === 'xs' ? 14 : 16;
20
20
  const iconWeight = this.selected && this.selectedIconWeight ? this.selectedIconWeight : undefined;
21
- return (h("button", { key: '6beac8a34985f6a26940ec47f311d39f4d9c9638', class: {
21
+ return (h("button", { key: 'c12171239c10c23954b6e2bc33f26583e3bfdde9', class: {
22
22
  'co-toggle-button': true,
23
23
  'co-toggle-button--selected': this.selected,
24
24
  [`co-toggle-button--${this.size}`]: true,
25
25
  'co-toggle-button--disabled': this.disabled,
26
26
  'co-toggle-button--icon-only': !this.label && (!!this.iconLeft || !!this.iconRight),
27
- }, type: "button", disabled: this.disabled, "aria-pressed": String(this.selected), onClick: this.handleClick }, h("slot", { key: 'fdf638c8ef852a470dd3a0adeae95ed4c2edb859', name: "leading" }), this.iconLeft && h("co-icon", { key: '1d3e827014602f30963ecd6d052483d94fa7ee21', name: this.iconLeft, size: iconSize, weight: iconWeight }), this.label && h("span", { key: 'dddc3ca99579d68c8db7239e161f556e92ab2061', class: "co-toggle-button__label" }, this.label), this.iconRight && h("co-icon", { key: 'bc6f81715ab9396e9d47e22ccb32f84d3f0203c8', name: this.iconRight, size: iconSize, weight: iconWeight })));
27
+ }, type: "button", disabled: this.disabled, "aria-pressed": String(this.selected), onClick: this.handleClick }, h("slot", { key: '99f4fd25830d9a39473496cb92b9b5e038bb45bc', name: "leading" }), this.iconLeft && h("co-icon", { key: '6a4fc7af28557a64a01cf62a0b53e95173fe0669', name: this.iconLeft, size: iconSize, weight: iconWeight }), this.label && h("span", { key: '6483a804b6d43d7ffe6e004c40bacec5c6e00980', class: "co-toggle-button__label" }, this.label), this.iconRight && h("co-icon", { key: 'bd6d165f96b8ae2fd036380f840fa308ac236200', name: this.iconRight, size: iconSize, weight: iconWeight })));
28
28
  }
29
29
  static get is() { return "co-toggle-button"; }
30
30
  static get encapsulation() { return "shadow"; }