@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
@@ -18,7 +18,7 @@
18
18
  font-weight: 500;
19
19
  white-space: nowrap;
20
20
  box-sizing: border-box;
21
- transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
21
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out);
22
22
  box-shadow: 0 4px 12px rgba(31, 28, 27, 0.15);
23
23
  }
24
24
 
@@ -49,8 +49,8 @@
49
49
  justify-content: flex-start;
50
50
  overflow: hidden;
51
51
  /* Colapso rápido y SIN rebote — el spring vive solo en el estado expandido. */
52
- transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.15s ease,
53
- box-shadow 0.15s ease, transform 0.1s ease;
52
+ transition: width var(--co-motion-duration-slow) var(--co-motion-ease-in-out), background var(--co-motion-duration-fast) var(--co-motion-ease-out),
53
+ box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out);
54
54
  }
55
55
 
56
56
  .co-fab--hover-expand.co-fab--xl { padding: 0 20px; }
@@ -61,13 +61,13 @@
61
61
  .co-fab--hover-expand:hover:not(:disabled),
62
62
  .co-fab--hover-expand:focus-visible {
63
63
  width: calc(var(--co-fab-size) + var(--co-spacing-sm2) + var(--co-fab-label-w, 0px));
64
- transition: width 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease,
65
- box-shadow 0.15s ease, transform 0.1s ease;
64
+ transition: width var(--co-motion-duration-slower) var(--co-motion-ease-spring), background var(--co-motion-duration-fast) var(--co-motion-ease-out),
65
+ box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out);
66
66
  }
67
67
 
68
68
  .co-fab--hover-expand co-icon {
69
69
  flex-shrink: 0;
70
- transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
70
+ transition: transform var(--co-motion-duration-slower) var(--co-motion-ease-spring);
71
71
  }
72
72
 
73
73
  .co-fab--hover-expand:hover:not(:disabled) co-icon,
@@ -83,21 +83,27 @@
83
83
  flex-shrink: 0;
84
84
  opacity: 0;
85
85
  transform: translateX(-6px);
86
- transition: opacity 0.12s ease, transform 0.12s ease;
86
+ transition: opacity var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out);
87
87
  }
88
88
 
89
89
  .co-fab--hover-expand:hover:not(:disabled) .co-fab__label,
90
90
  .co-fab--hover-expand:focus-visible .co-fab__label {
91
91
  opacity: 1;
92
92
  transform: translateX(0);
93
- transition: opacity 0.2s ease 0.1s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
93
+ transition: opacity var(--co-motion-duration-base) var(--co-motion-ease-out) 0.1s, transform var(--co-motion-duration-slow) var(--co-motion-ease-spring) 0.1s;
94
94
  }
95
95
 
96
+ /* El resto de las transitions de hover-expand ya cuelgan de
97
+ var(--co-motion-duration-*) — el zeroing global (cobalt.css) las deja en
98
+ 0.01ms bajo reduced-motion, así que no hace falta un guard propio para
99
+ ellas. La ÚNICA sobreviviente es el delay 0.1s del label expandido (arriba):
100
+ es literal (no existe --co-motion-delay-*) y el zeroing de duración no lo
101
+ toca, así que sin este guard un usuario reduced-motion sufre una espera
102
+ muerta de 100ms antes del cambio (ya casi instantáneo). */
96
103
  @media (prefers-reduced-motion: reduce) {
97
- .co-fab--hover-expand,
98
- .co-fab--hover-expand co-icon,
99
- .co-fab--hover-expand .co-fab__label {
100
- transition: none;
104
+ .co-fab--hover-expand:hover:not(:disabled) .co-fab__label,
105
+ .co-fab--hover-expand:focus-visible .co-fab__label {
106
+ transition-delay: 0s;
101
107
  }
102
108
  }
103
109
 
@@ -146,11 +152,14 @@
146
152
  box-shadow: none;
147
153
  }
148
154
 
149
- /* ── Fixed positions ────────────────────────────────────────── */
150
- .co-fab--bottom-right { position: fixed; bottom: 24px; right: 24px; z-index: 1000; }
151
- .co-fab--bottom-left { position: fixed; bottom: 24px; left: 24px; z-index: 1000; }
152
- .co-fab--top-right { position: fixed; top: 24px; right: 24px; z-index: 1000; }
153
- .co-fab--top-left { position: fixed; top: 24px; left: 24px; z-index: 1000; }
155
+ /* ── Fixed positions ──────────────────────────────────────────
156
+ Los offsets son overridables por CSS var (default 24px) para que el
157
+ consumidor pueda separar el FAB de barras inferiores (ej. la paginación del
158
+ datatable): setear --co-fab-offset-bottom en el host levanta el FAB. */
159
+ .co-fab--bottom-right { position: fixed; bottom: var(--co-fab-offset-bottom, 24px); right: var(--co-fab-offset-right, 24px); z-index: 1000; }
160
+ .co-fab--bottom-left { position: fixed; bottom: var(--co-fab-offset-bottom, 24px); left: var(--co-fab-offset-left, 24px); z-index: 1000; }
161
+ .co-fab--top-right { position: fixed; top: var(--co-fab-offset-top, 24px); right: var(--co-fab-offset-right, 24px); z-index: 1000; }
162
+ .co-fab--top-left { position: fixed; top: var(--co-fab-offset-top, 24px); left: var(--co-fab-offset-left, 24px); z-index: 1000; }
154
163
 
155
164
  /* ── Label ──────────────────────────────────────────────────── */
156
165
  .co-fab__label {
@@ -28,7 +28,7 @@ export class CoFab {
28
28
  const iconSize = this.size === 'xl' ? 24 : this.size === 'l' ? 24 : this.size === 's' ? 18 : 20;
29
29
  const hasLabel = !!this.label;
30
30
  const hoverExpand = hasLabel && this.expandOnHover;
31
- return (h("button", { key: 'ffedc2aea8b7b813b8e646872f4a0814589f80ab', class: {
31
+ return (h("button", { key: 'f0d1612601922430df403628c5349b322ee8e88d', class: {
32
32
  'co-fab': true,
33
33
  [`co-fab--${this.variant}`]: true,
34
34
  [`co-fab--${this.size}`]: true,
@@ -36,7 +36,7 @@ export class CoFab {
36
36
  'co-fab--hover-expand': hoverExpand,
37
37
  'co-fab--disabled': this.disabled,
38
38
  [`co-fab--${this.position}`]: this.position !== 'none',
39
- }, type: "button", disabled: this.disabled, onClick: this.handleClick, onPointerEnter: this.handleExpandMeasure, onFocusin: this.handleExpandMeasure, "aria-label": this.ariaLabelText || this.label || this.icon }, h("co-icon", { key: '34242af8b8de622400507b106e566b8214f53534', name: this.icon, size: iconSize }), this.label && (h("span", { key: '56cd6e22505608ebf909a1c0356ecba5c0bae418', class: "co-fab__label", ref: (el) => (this.labelEl = el) }, this.label))));
39
+ }, type: "button", disabled: this.disabled, onClick: this.handleClick, onPointerEnter: this.handleExpandMeasure, onFocusin: this.handleExpandMeasure, "aria-label": this.ariaLabelText || this.label || this.icon }, h("co-icon", { key: 'fc53d94af9263b20cfce36656608962158d480ab', name: this.icon, size: iconSize }), this.label && (h("span", { key: '5a16cdace79b8fb7b6ead260d14ee4ae018ed02b', class: "co-fab__label", ref: (el) => (this.labelEl = el) }, this.label))));
40
40
  }
41
41
  static get is() { return "co-fab"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -65,7 +65,7 @@
65
65
  border-radius: var(--co-border-radius-sm);
66
66
  cursor: pointer;
67
67
  text-align: center;
68
- transition: border-color 0.15s ease, background 0.15s ease;
68
+ transition: border-color var(--co-motion-duration-fast) var(--co-motion-ease-out), background var(--co-motion-duration-fast) var(--co-motion-ease-out);
69
69
  }
70
70
 
71
71
  .co-file-field__dropzone:hover {
@@ -94,7 +94,7 @@
94
94
  letter-spacing: var(--co-font-letter-spacing-body);
95
95
  line-height: 1;
96
96
  cursor: pointer;
97
- transition: box-shadow 0.15s ease, transform 0.15s ease;
97
+ transition: box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out);
98
98
  }
99
99
 
100
100
  .co-file-field__upload-btn:hover {
@@ -169,7 +169,7 @@
169
169
  width: 100%;
170
170
  height: 100%;
171
171
  object-fit: cover;
172
- transition: transform 0.2s ease;
172
+ transition: transform var(--co-motion-duration-base) var(--co-motion-ease-out);
173
173
  }
174
174
 
175
175
  .co-file-field__preview:hover img {
@@ -287,7 +287,7 @@
287
287
  width: 40%;
288
288
  border-radius: var(--co-border-radius-full);
289
289
  background: var(--co-semantic-status-info);
290
- transition: width 0.2s ease;
290
+ transition: width var(--co-motion-duration-base) var(--co-motion-ease-out);
291
291
  }
292
292
 
293
293
  /* When the host doesn't report progress, animate an indeterminate sweep. */
@@ -315,7 +315,7 @@
315
315
  background: transparent;
316
316
  cursor: pointer;
317
317
  color: var(--co-semantic-text-secondary);
318
- transition: color 0.15s ease;
318
+ transition: color var(--co-motion-duration-fast) var(--co-motion-ease-out);
319
319
  }
320
320
 
321
321
  .co-file-field__action:hover {
@@ -341,12 +341,12 @@ export class CoFileField {
341
341
  const previews = items.filter((it) => isImage(it) && !this.failedPreviews.has(this.keyFor(it)));
342
342
  const canReorder = this.reorderable && this.multiple && !this.disabled && !this.readonly && items.length > 1;
343
343
  const capacity = this.capacityHint(s);
344
- return (h("div", { key: 'd69adf5472c920d9fda750d390c8d66495c7d912', class: {
344
+ return (h("div", { key: 'f0f1cf1e1f8e7b3551a7f2cf9cda0c780e89a5cd', class: {
345
345
  'co-file-field': true,
346
346
  'co-file-field--disabled': this.disabled,
347
347
  'co-file-field--invalid': this.isInvalid,
348
348
  [statusClass]: !!statusClass,
349
- }, part: "wrapper" }, this.label && (h("div", { key: '3e084a96b7fbd714fa07aeeea09146c3782af2b0', class: "co-file-field__labels" }, h("label", { key: '6618041eec9358983794238014f49ae8ad724d79', class: "co-file-field__label", part: "label" }, this.label, h(RequiredMark, { key: '16aa21951eedafb190180ee40c1cba13230ef128', required: this.required })))), showDropzone && (h("div", { key: '33bfe60be00c270fe9861f0250ffe6e4ddcf820b', class: {
349
+ }, part: "wrapper" }, this.label && (h("div", { key: '1f2f390d2d83efa97c1aaa8721caed6a6c14347b', class: "co-file-field__labels" }, h("label", { key: 'd60c45bc97aed3e3a5a01078e9f0985378fc6d55', class: "co-file-field__label", part: "label" }, this.label, h(RequiredMark, { key: '99a129fd1477928257771d97dd3800a0ed0bc7b3', required: this.required })))), showDropzone && (h("div", { key: '404e7314e1fc2cb92751fae3e01685517649e2a5', class: {
350
350
  'co-file-field__dropzone': true,
351
351
  'co-file-field__dropzone--drag': this.dragOver,
352
352
  }, part: "dropzone", role: "button", tabIndex: this.disabled ? -1 : 0, onClick: this.handleBrowse, onKeyDown: (e) => {
@@ -354,7 +354,7 @@ export class CoFileField {
354
354
  e.preventDefault();
355
355
  this.handleBrowse();
356
356
  }
357
- }, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, h("button", { key: '219538469e33b0e5e2a1e26e1591d2b578b548ef', class: "co-file-field__upload-btn", part: "upload-button", type: "button", tabIndex: -1 }, h("co-icon", { key: '5021d06fe31100f7b4c6028a868b707aeb3df0c8', name: "file-arrow-up", size: 18 }), h("span", { key: 'ba785ab9e8cd6173f367ebf0a4320a37fa4b0832' }, this.uploadButtonText || s.uploadButton)), h("span", { key: '1fae290aace7b669b27cd53529ea30c36e009805', class: "co-file-field__dropzone-text" }, this.dropText || s.dropHint), capacity && h("span", { key: '999ac1eda129973f4b8710bd252337786e4eb99c', class: "co-file-field__dropzone-hint" }, capacity), h("div", { key: 'd2ce4783e5eba96fdf59e998f37411ef0f418458', class: "co-file-field__actions", part: "actions" }, h("slot", { key: '55e22bcaff045708471a2837d1c0345d53a0a748', name: "actions" })), h("input", { key: '773880ce9b881512d03eac3be0465942c6376843', ref: (el) => (this.inputEl = el), class: "co-file-field__input", type: "file", multiple: this.multiple, accept: this.inputAccept, disabled: this.disabled, onChange: this.handleInputChange, "aria-hidden": "true", tabIndex: -1 }))), items.length > 0 && (h("div", { key: '57164ac1e53062957a99ef182394ae9da7636c3e', class: "co-file-field__uploaded" }, this.multiple && (h("div", { key: '91894d7e208c62e0aa9407812bbaf7ad491ca275', class: "co-file-field__uploaded-title", part: "uploaded-title" }, `${this.uploadedTitle || s.uploadedTitle} (${items.length})`)), previews.length > 0 && (h("div", { key: 'c7f74b97051085770677b6433adb7b54fcf4405d', class: "co-file-field__previews", part: "previews" }, previews.map((item) => (h("button", { class: "co-file-field__preview", part: "preview", type: "button", key: `prev-${this.keyFor(item)}`, title: item.name, "aria-label": s.openPreview, onClick: () => this.handlePreviewOpen(item) }, h("img", { src: item.thumbnail || item.url, alt: item.name, loading: "lazy", onError: () => this.handlePreviewError(item) })))))), h("ul", { key: '4c55ead3dcdff97d502c2f41af86d372712ba478', class: "co-file-field__list", part: "list" }, items.map((item) => {
357
+ }, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, h("button", { key: '323e98d5e7e25fcfc7c6b616f375f10bfc072c1f', class: "co-file-field__upload-btn", part: "upload-button", type: "button", tabIndex: -1 }, h("co-icon", { key: 'b9862962a720cfd1f2c9774499be80f25070ce58', name: "file-arrow-up", size: 18 }), h("span", { key: '9e2aead4e161f89a85480200f77b58f3893ce9d9' }, this.uploadButtonText || s.uploadButton)), h("span", { key: '85eb14b7a6e7e7bfdca34b65a9e2bc76a98d8a85', class: "co-file-field__dropzone-text" }, this.dropText || s.dropHint), capacity && h("span", { key: '2c18fd7507c4cf1ff9a62290378ff17a695123a2', class: "co-file-field__dropzone-hint" }, capacity), h("div", { key: '6d2fe109efb9d611ae0e9d0750264c07082d2293', class: "co-file-field__actions", part: "actions" }, h("slot", { key: 'c4004efe0aaee962fcb21ec9de3672ec747d9c5a', name: "actions" })), h("input", { key: 'd2e7504aec97b8cd210b938ed546662b321a0c67', ref: (el) => (this.inputEl = el), class: "co-file-field__input", type: "file", multiple: this.multiple, accept: this.inputAccept, disabled: this.disabled, onChange: this.handleInputChange, "aria-hidden": "true", tabIndex: -1 }))), items.length > 0 && (h("div", { key: 'be86d4a85621ebb3ac99a54381ea31f147f7d91e', class: "co-file-field__uploaded" }, this.multiple && (h("div", { key: '09a9769ee8a72011600b2516fbea7e2fdb6a8e78', class: "co-file-field__uploaded-title", part: "uploaded-title" }, `${this.uploadedTitle || s.uploadedTitle} (${items.length})`)), previews.length > 0 && (h("div", { key: 'f1e9d57bfaf98939d1371262cc469c770dda1cbb', class: "co-file-field__previews", part: "previews" }, previews.map((item) => (h("button", { class: "co-file-field__preview", part: "preview", type: "button", key: `prev-${this.keyFor(item)}`, title: item.name, "aria-label": s.openPreview, onClick: () => this.handlePreviewOpen(item) }, h("img", { src: item.thumbnail || item.url, alt: item.name, loading: "lazy", onError: () => this.handlePreviewError(item) })))))), h("ul", { key: '05308858680195f999764585cb6de75629a88db7', class: "co-file-field__list", part: "list" }, items.map((item) => {
358
358
  const key = this.keyFor(item);
359
359
  const draggable = canReorder && item.status === 'done';
360
360
  return (h("li", { class: {
@@ -375,10 +375,10 @@ export class CoFileField {
375
375
  'co-file-field__action': true,
376
376
  'co-file-field__action--copied': this.copiedKey === key,
377
377
  }, type: "button", tabIndex: -1, title: this.copiedKey === key ? s.copied : s.copyUrl, "aria-label": s.copyUrl, onClick: () => this.handleCopy(item) }, h("co-icon", { name: this.copiedKey === key ? 'check' : 'copy', size: 18 }))), !this.disabled && !this.readonly && (h("button", { class: "co-file-field__action", type: "button", tabIndex: -1, title: s.removeFile, "aria-label": s.removeFile, onClick: () => this.coRemove.emit(key) }, h("co-icon", { name: "trash", size: 18 })))));
378
- })))), helper && (h("div", { key: 'ba03c24a5c7e6e0c774b68af85f60ec2fc4a2f0e', class: {
378
+ })))), helper && (h("div", { key: 'ebbbb0cffa70dbf5125ffafd5ebdafd6cc03c1d9', class: {
379
379
  'co-file-field__helper': true,
380
380
  'co-file-field__helper--error': this.isInvalid,
381
- }, part: "helper" }, this.isInvalid && (h("co-icon", { key: 'ed936a52670f30b4626a1339ce7e6a246bdb65dd', name: "warning-circle", size: 14, class: "co-file-field__helper-icon" })), h("span", { key: '295f5de6a6dda88246441816f636cce156aefbe8', class: "co-file-field__helper-text" }, helper)))));
381
+ }, part: "helper" }, this.isInvalid && (h("co-icon", { key: 'bb81007afb2e2cb36d63045d09b784c6ce0aa7f1', name: "warning-circle", size: 14, class: "co-file-field__helper-icon" })), h("span", { key: '28618bdc3f08a5e226751e8ac5388e7aea02567f', class: "co-file-field__helper-text" }, helper)))));
382
382
  }
383
383
  static get is() { return "co-file-field"; }
384
384
  static get encapsulation() { return "shadow"; }
@@ -54,7 +54,7 @@ export class CoFileTypeTile {
54
54
  const iconSize = Math.round(this.size * 0.5);
55
55
  const background = this.colorTags ? meta.tint : 'var(--co-color-gray-100)';
56
56
  const color = this.colorTags ? meta.accent : 'var(--co-color-gray-600)';
57
- return (h("span", { key: '5eb049a7b3503d2bc82245403da53bdd7fab0ee5', class: {
57
+ return (h("span", { key: '1df6dee1c0f729279f36463be6df9137bcbf4af0', class: {
58
58
  'co-file-type-tile': true,
59
59
  [`co-file-type-tile--${type}`]: true,
60
60
  'co-file-type-tile--mono': !this.colorTags,
@@ -64,7 +64,7 @@ export class CoFileTypeTile {
64
64
  borderRadius: `${this.radius}px`,
65
65
  background,
66
66
  color,
67
- } }, h("co-icon", { key: 'ebb6d9ea5ffc35daefab825ad26519cb42ce2293', name: meta.icon, size: iconSize, weight: "fill" })));
67
+ } }, h("co-icon", { key: '566163b957b853911e3eef15cd38c7573cf749b4', name: meta.icon, size: iconSize, weight: "fill" })));
68
68
  }
69
69
  static get is() { return "co-file-type-tile"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -15,10 +15,10 @@ export class CoHelperText {
15
15
  };
16
16
  }
17
17
  render() {
18
- return (h("div", { key: 'e0e318d1f4c3a9f524d11d3a9ad648960d26bb7f', class: {
18
+ return (h("div", { key: '2c4ae2b671b16dfda50eea3dd33b92c5661812fb', class: {
19
19
  'co-helper-text': true,
20
20
  [`co-helper-text--${this.status}`]: true,
21
- }, part: "helper-text" }, h("co-icon", { key: 'a65678c3cf9a832ffde08f4f47e09974338745ff', name: this.STATUS_ICON[this.status], size: 14, weight: "fill", class: "co-helper-text__icon" }), h("span", { key: 'c3667f4f4b6e53748d5a90ab2fe12e3fcb9cdb2a', class: "co-helper-text__message" }, h("slot", { key: 'f854e37b266feee82a4b6281070d3ed84555f13c' }, this.message))));
21
+ }, part: "helper-text" }, h("co-icon", { key: '18a15852e651204d06279be5a685c79ed927c6d0', name: this.STATUS_ICON[this.status], size: 14, weight: "fill", class: "co-helper-text__icon" }), h("span", { key: '62c3d084abd1b62f90b2631953f51306293b23b7', class: "co-helper-text__message" }, h("slot", { key: '06604123763ac0f84fe1bc2ec1dd840d6ee2756d' }, this.message))));
22
22
  }
23
23
  static get is() { return "co-helper-text"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -31,12 +31,12 @@ export class CoIcon {
31
31
  this.svgContent = await loadSvg(this.name, this.weight);
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: '3d1fa57953812f68ff8a972f85aaf0d3f7b3ea9e', "aria-hidden": "true", style: {
34
+ return (h(Host, { key: 'a1f3cfef2067bd672a17c19666821b6fac0b3027', "aria-hidden": "true", style: {
35
35
  display: 'inline-flex',
36
36
  width: `${this.size}px`,
37
37
  height: `${this.size}px`,
38
38
  flexShrink: '0',
39
- } }, h("span", { key: '07413295bbb15dcbacfaaca47e7a25d28744c71e', part: "svg", innerHTML: this.svgContent })));
39
+ } }, h("span", { key: 'cc92c6ea6d2ab5f59a7e793f166f2ae685f7928c', part: "svg", innerHTML: this.svgContent })));
40
40
  }
41
41
  static get is() { return "co-icon"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -11,7 +11,10 @@
11
11
  outline: none;
12
12
  padding: 0;
13
13
  flex-shrink: 0;
14
- transition: opacity 0.15s ease, background 0.15s ease;
14
+ transition:
15
+ opacity var(--co-motion-duration-fast) var(--co-motion-ease-out),
16
+ background var(--co-motion-duration-fast) var(--co-motion-ease-out),
17
+ transform var(--co-motion-duration-fast) var(--co-motion-ease-out);
15
18
  box-sizing: border-box;
16
19
  -webkit-font-smoothing: antialiased;
17
20
  -webkit-backdrop-filter: var(--co-icon-button-backdrop-filter, blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate)));
@@ -123,6 +126,12 @@
123
126
  }
124
127
  .co-icon-button:hover:not(:disabled) { opacity: 0.88; }
125
128
 
129
+ /* Feedback de presión: squish instantáneo; el release usa la transición base. */
130
+ .co-icon-button:active:not(:disabled) {
131
+ transform: scale(0.97);
132
+ transition-duration: var(--co-motion-duration-instant);
133
+ }
134
+
126
135
  /* ─── FALLBACK: no backdrop-filter → solid surfaces ──────────── */
127
136
  @supports not (background: color-mix(in srgb, red, transparent)) {
128
137
  .co-icon-button--filled { background: var(--co-semantic-surface-primary); }
@@ -41,7 +41,7 @@ export class CoIconButton {
41
41
  : 'var(--co-border-radius-full)',
42
42
  }
43
43
  : undefined;
44
- return (h("button", { key: '380bc110b581dba4f897ba8c8b733598c9e4f9ca', class: {
44
+ return (h("button", { key: 'a49770e4411aed2b27e25e42903ccc9b29de5603', class: {
45
45
  'co-icon-button': true,
46
46
  [`co-icon-button--${this.variant}`]: true,
47
47
  [`co-icon-button--${this.shape}`]: true,
@@ -90,7 +90,7 @@
90
90
  background: var(--co-semantic-surface-page);
91
91
  border: 1px solid var(--co-semantic-border-field);
92
92
  border-radius: var(--co-border-radius-xs);
93
- transition: border-color 0.15s ease, box-shadow 0.15s ease;
93
+ 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);
94
94
  min-height: 40px;
95
95
  box-sizing: border-box;
96
96
  overflow: hidden;
@@ -209,7 +209,7 @@
209
209
  background: transparent;
210
210
  cursor: pointer;
211
211
  color: var(--co-semantic-text-muted);
212
- transition: color 0.15s ease;
212
+ transition: color var(--co-motion-duration-fast) var(--co-motion-ease-out);
213
213
  }
214
214
 
215
215
  .co-input__clear--hidden {
@@ -239,7 +239,7 @@
239
239
  line-height: 1;
240
240
  white-space: nowrap;
241
241
  flex-shrink: 0;
242
- transition: opacity 0.15s ease;
242
+ transition: opacity var(--co-motion-duration-fast) var(--co-motion-ease-out);
243
243
  box-sizing: border-box;
244
244
  }
245
245
 
@@ -60,7 +60,7 @@
60
60
  background: var(--co-semantic-surface-page);
61
61
  border: 1px solid var(--co-semantic-border-field);
62
62
  border-radius: var(--co-border-radius-xs);
63
- transition: border-color 0.15s ease, box-shadow 0.15s ease;
63
+ 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);
64
64
  box-sizing: border-box;
65
65
  overflow: hidden;
66
66
  }
@@ -97,17 +97,17 @@ export class CoJsonField {
97
97
  render() {
98
98
  const helper = this.internalInvalid ? this.invalidMessage : this.helperText;
99
99
  const statusClass = this.status !== 'default' ? `co-json-field--${this.status}` : '';
100
- return (h("div", { key: 'd8b9c23bee6f09946081ce7cb91c1697941087e0', class: {
100
+ return (h("div", { key: '6e303939542b1c400432876149a7f7cf94dbfad4', class: {
101
101
  'co-json-field': true,
102
102
  'co-json-field--disabled': this.disabled,
103
103
  'co-json-field--focused': this.hasFocus,
104
104
  'co-json-field--invalid': this.isInvalid,
105
105
  [`co-json-field--${this.size}`]: true,
106
106
  [statusClass]: !!statusClass,
107
- }, part: "wrapper" }, this.label && (h("div", { key: 'f2ed5ce77d91b1387241a1094d56a75cb23ffe56', class: "co-json-field__labels" }, h("label", { key: 'bb29ba11182753c531d9c32a54312a85c82d79be', class: "co-json-field__label", part: "label" }, this.label, h(RequiredMark, { key: 'f43ada2a1eedea7338022114dcd1a9f3678a2eac', required: this.required })))), h("div", { key: 'c49bbb7fbebfb654bad666d651229fefc4fa1527', class: "co-json-field__field", part: "field" }, h("textarea", { key: 'e79137036d429efa440931e7b46f1d7e72cf8194', class: "co-json-field__native", rows: this.rows, spellcheck: false, autocomplete: "off", value: this.draft, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? 'JSON' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, part: "input" })), this.name && h("input", { key: 'f84bb6f034b7fe724af92d42b8d19fe6b9e183b1', type: "hidden", name: this.name, value: this.draft }), helper && (h("div", { key: '077147072123742355123df6e56fbbff44b12037', class: {
107
+ }, part: "wrapper" }, this.label && (h("div", { key: '77c4793e6755c159d70943be68d94dc9a8f6f82c', class: "co-json-field__labels" }, h("label", { key: 'fa060ddb64fea5a78f339cf10ff46b8bbc3f6c9c', class: "co-json-field__label", part: "label" }, this.label, h(RequiredMark, { key: 'fd130517bb57f0b5c012f39e61cd4ef905c34b42', required: this.required })))), h("div", { key: '752bccc5c2193a81ef174415b0e22936d1729914', class: "co-json-field__field", part: "field" }, h("textarea", { key: '397b3e80d4d252c55f55d9e6c444083f8ee2a28a', class: "co-json-field__native", rows: this.rows, spellcheck: false, autocomplete: "off", value: this.draft, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? 'JSON' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, part: "input" })), this.name && h("input", { key: '8d658f97252824dce51a262c19e251b664de9c4e', type: "hidden", name: this.name, value: this.draft }), helper && (h("div", { key: '857a97a47b5a88b0a778680329670b474ff1eac1', class: {
108
108
  'co-json-field__helper': true,
109
109
  'co-json-field__helper--error': this.isInvalid,
110
- }, part: "helper" }, this.isInvalid && (h("co-icon", { key: '8ba83b63c2283eb2ce26e43ceed41a7806f7a7b6', name: "warning-circle", size: 14, class: "co-json-field__helper-icon" })), h("span", { key: '7da6904539ed1ae85b2ceac2432824d0b9a7fbe2', class: "co-json-field__helper-text" }, helper)))));
110
+ }, part: "helper" }, this.isInvalid && (h("co-icon", { key: 'df90fefaedba9e8340b1fbfd19dd8350ab8e26af', name: "warning-circle", size: 14, class: "co-json-field__helper-icon" })), h("span", { key: '3ba614c007e38009f7cda47be0d705d63397359f', class: "co-json-field__helper-text" }, helper)))));
111
111
  }
112
112
  static get is() { return "co-json-field"; }
113
113
  static get encapsulation() { return "shadow"; }
@@ -31,7 +31,7 @@
31
31
  background: var(--co-color-opacity-negro-80);
32
32
  opacity: 0;
33
33
  pointer-events: none;
34
- transition: opacity 0.2s ease;
34
+ transition: opacity var(--co-motion-duration-base) var(--co-motion-ease-out);
35
35
  }
36
36
 
37
37
  .co-lightbox--open {
@@ -87,7 +87,7 @@
87
87
  font-family: inherit;
88
88
  font-size: var(--co-font-size-13, 13px);
89
89
  cursor: pointer;
90
- transition: background 0.15s ease;
90
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out);
91
91
  }
92
92
 
93
93
  .co-lightbox__btn:hover {
@@ -116,7 +116,7 @@
116
116
  max-height: calc(100vh - var(--co-spacing-5xl) * 2);
117
117
  border-radius: var(--co-border-radius-xs);
118
118
  user-select: none;
119
- transition: transform 0.18s ease;
119
+ transition: transform var(--co-motion-duration-base) var(--co-motion-ease-out);
120
120
  }
121
121
 
122
122
  .co-lightbox__img--zoomed {
@@ -144,7 +144,7 @@
144
144
  background: var(--co-color-opacity-blanco-8);
145
145
  color: var(--co-color-base-blanco);
146
146
  cursor: pointer;
147
- transition: background 0.15s ease;
147
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out);
148
148
  }
149
149
 
150
150
  .co-lightbox__nav:hover {
@@ -313,17 +313,17 @@ export class CoLightbox {
313
313
  const counter = s.counter
314
314
  .replace('{i}', String(this.index + 1))
315
315
  .replace('{n}', String(imgs.length));
316
- return (h("div", { key: '409eeaf562838f77035c1ec68db8de59aa862f5e', class: { 'co-lightbox': true, 'co-lightbox--open': this.open }, part: "overlay", role: "dialog", "aria-modal": "true", "aria-label": img === null || img === void 0 ? void 0 : img.alt, popover: "manual", ref: this.syncTopLayer, onClick: this.requestClose }, img && (h("div", { key: '1e92d6f50ab44b6a70407a2c55acba360c0c66c0', class: "co-lightbox__toolbar", part: "toolbar", onClick: this.stop }, h("span", { key: '0181054cd227183e0b942e1262d42a29125852b5', class: "co-lightbox__caption", title: img.alt }, img.alt), h("div", { key: '97cb4d596a790dc1fe41cda38bdd4b0b4a7d873f', class: "co-lightbox__zoom" }, h("button", { key: '8c37c4b6978b8bfb1ce7a33a52fce30e2d740d4b', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomOut, title: s.zoomOut, onClick: () => this.zoomAt(this.scale / WHEEL_FACTOR, 0, 0) }, h("co-icon", { key: '294ee562bfe7be7bb2a181a8411045a4d0c1b684', name: "minus", size: 16 })), h("button", { key: 'f32438655d3a7e81a08196720471212443594d7d', class: "co-lightbox__btn co-lightbox__zoom-value", type: "button", "aria-label": s.zoomReset, title: s.zoomReset, onClick: () => this.resetView() }, Math.round(this.scale * 100), "%"), h("button", { key: 'c82db20eda5ef0bd671f551f24ff96771f30a579', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomIn, title: s.zoomIn, onClick: () => this.zoomAt(this.scale * WHEEL_FACTOR, 0, 0) }, h("co-icon", { key: '855559de89e53c3aa8ae34802fbc04da8a04e28d', name: "plus", size: 16 }))), h("button", { key: '00cbfeec37137ba3a5c86801caf5e41e17a25c57', class: "co-lightbox__btn", type: "button", "aria-label": s.openOriginal, title: s.openOriginal, onClick: this.openOriginal }, h("co-icon", { key: '62f5c52bd92b3470b3940f59e61c4f89fad7e86b', name: "arrow-square-out", size: 16 })), h("button", { key: '800b50c607772142b2229b4a19fe970998a8e886', class: "co-lightbox__btn", part: "close", type: "button", "aria-label": s.close, title: s.close, ref: (el) => (this.closeBtnEl = el), onClick: this.requestClose }, h("co-icon", { key: '9850ddfb8c2aa409fa35ea9f357bbea2ace3aa41', name: "x", size: 16 })))), img && (h("div", { key: '4b669e9c6599a25743ba6d194c80faf1cdbfceec', class: "co-lightbox__stage", ref: (el) => (this.stageEl = el), onWheel: this.handleWheel }, h("img", { key: '34218bfdd2691dc399ed03ca25d64ee81106114c', class: {
316
+ return (h("div", { key: 'ee47c98cd468a05ffc7536756b72818bfa9391da', class: { 'co-lightbox': true, 'co-lightbox--open': this.open }, part: "overlay", role: "dialog", "aria-modal": "true", "aria-label": img === null || img === void 0 ? void 0 : img.alt, popover: "manual", ref: this.syncTopLayer, onClick: this.requestClose }, img && (h("div", { key: '80859431215ee33bc0480f8788a32886486d4e7c', class: "co-lightbox__toolbar", part: "toolbar", onClick: this.stop }, h("span", { key: '09ee3dc94fdb88f66516a1d5e5f44f1f2a90d850', class: "co-lightbox__caption", title: img.alt }, img.alt), h("div", { key: '86a02fb7b0c0e92eb633d5d61464c1a8e044564c', class: "co-lightbox__zoom" }, h("button", { key: '3e83390c0b22ef8986c39dc399f04e2cad48556e', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomOut, title: s.zoomOut, onClick: () => this.zoomAt(this.scale / WHEEL_FACTOR, 0, 0) }, h("co-icon", { key: 'e4241a61696d191b262270370924ee4700949e98', name: "minus", size: 16 })), h("button", { key: '92b11da3129dfdd181b9114c613fc3624c9df41a', class: "co-lightbox__btn co-lightbox__zoom-value", type: "button", "aria-label": s.zoomReset, title: s.zoomReset, onClick: () => this.resetView() }, Math.round(this.scale * 100), "%"), h("button", { key: 'e224e703bf5902f7b72acb6428ed5ec46ace49a1', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomIn, title: s.zoomIn, onClick: () => this.zoomAt(this.scale * WHEEL_FACTOR, 0, 0) }, h("co-icon", { key: '4216032ce75fee7e05bdbc50095ddc7037910876', name: "plus", size: 16 }))), h("button", { key: '8ec864104b0127f0d6150d91179a46b35270fb4c', class: "co-lightbox__btn", type: "button", "aria-label": s.openOriginal, title: s.openOriginal, onClick: this.openOriginal }, h("co-icon", { key: '836480f7857396b613e99abf85fedabbf73fa43a', name: "arrow-square-out", size: 16 })), h("button", { key: '736dbb247d0af9e261fa5bf21ec6113f8d40f612', class: "co-lightbox__btn", part: "close", type: "button", "aria-label": s.close, title: s.close, ref: (el) => (this.closeBtnEl = el), onClick: this.requestClose }, h("co-icon", { key: '0c45bcfb64245b5388452216204effd74482a862', name: "x", size: 16 })))), img && (h("div", { key: 'af2d7a221312f18a62895579a067e740e878caf3', class: "co-lightbox__stage", ref: (el) => (this.stageEl = el), onWheel: this.handleWheel }, h("img", { key: 'fac630a31bf240d6ef5ffe3c85136e5534722b26', class: {
317
317
  'co-lightbox__img': true,
318
318
  'co-lightbox__img--zoomed': this.scale > MIN_SCALE,
319
319
  'co-lightbox__img--dragging': this.dragging,
320
- }, part: "image", ref: (el) => (this.imgEl = el), src: img.src, alt: img.alt || '', draggable: false, style: { transform: `translate(${this.tx}px, ${this.ty}px) scale(${this.scale})` }, onClick: this.stop, onDblClick: this.handleDblClick, onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerUp }))), img && multi && (h("button", { key: 'dc9a8e78cfdf8e220e2173a8960f06a8bdeaea59', class: "co-lightbox__nav co-lightbox__nav--prev", part: "prev", type: "button", "aria-label": s.prevImage, title: s.prevImage, onClick: (e) => {
320
+ }, part: "image", ref: (el) => (this.imgEl = el), src: img.src, alt: img.alt || '', draggable: false, style: { transform: `translate(${this.tx}px, ${this.ty}px) scale(${this.scale})` }, onClick: this.stop, onDblClick: this.handleDblClick, onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerUp }))), img && multi && (h("button", { key: '3cca38f856ec367dc40596acc988875d6b334f60', class: "co-lightbox__nav co-lightbox__nav--prev", part: "prev", type: "button", "aria-label": s.prevImage, title: s.prevImage, onClick: (e) => {
321
321
  e.stopPropagation();
322
322
  this.goTo(-1);
323
- } }, h("co-icon", { key: '020e87affb9ad79b48ec9d77a7796923127b45b4', name: "caret-left", size: 24 }))), img && multi && (h("button", { key: '5dd82a8b66cc3b2abc4c04483141032a7a07bf2d', class: "co-lightbox__nav co-lightbox__nav--next", part: "next", type: "button", "aria-label": s.nextImage, title: s.nextImage, onClick: (e) => {
323
+ } }, h("co-icon", { key: 'f5c296f6802355140cb64b690401f12faac29faa', name: "caret-left", size: 24 }))), img && multi && (h("button", { key: 'a0104539bcc4a9ebc4090d28636c7fae7cfcf1ae', class: "co-lightbox__nav co-lightbox__nav--next", part: "next", type: "button", "aria-label": s.nextImage, title: s.nextImage, onClick: (e) => {
324
324
  e.stopPropagation();
325
325
  this.goTo(1);
326
- } }, h("co-icon", { key: '85e8aaebc526455e22eb635b2e64f5105730b56e', name: "caret-right", size: 24 }))), img && multi && (h("div", { key: '6976d3bb7f5594e8d40cf01b05cc7611cb6066cb', class: "co-lightbox__counter", part: "counter", onClick: this.stop }, counter))));
326
+ } }, h("co-icon", { key: '6adef24091aeaa4df0bf92cbade32bdf9273c015', name: "caret-right", size: 24 }))), img && multi && (h("div", { key: '6a31e663231a66339621c26aba74c28e3c9b152e', class: "co-lightbox__counter", part: "counter", onClick: this.stop }, counter))));
327
327
  }
328
328
  static get is() { return "co-lightbox"; }
329
329
  static get encapsulation() { return "shadow"; }
@@ -23,7 +23,7 @@
23
23
  letter-spacing: var(--co-font-letter-spacing-body);
24
24
  white-space: nowrap;
25
25
  cursor: pointer;
26
- transition: opacity 0.15s ease;
26
+ transition: opacity var(--co-motion-duration-fast) var(--co-motion-ease-out);
27
27
  box-sizing: border-box;
28
28
  min-height: 32px;
29
29
  }
@@ -17,7 +17,7 @@ export class CoListFooter {
17
17
  this.handleSecondary = () => this.coSecondary.emit();
18
18
  }
19
19
  render() {
20
- return (h("div", { key: '54b813b714dbcdfb535349f6f49c715e53bdadd7', class: "co-list-footer", part: "footer" }, this.secondaryLabel && (h("button", { key: '6fdf4c75f1803532e43b0609fd765aeb79ae3d89', class: "co-list-footer__btn co-list-footer__btn--secondary", type: "button", onClick: this.handleSecondary }, this.secondaryIcon && h("co-icon", { key: 'e4199ccd7f50044b12aa7bc16b3233fbc4ffd9bf', name: this.secondaryIcon, size: 16 }), h("span", { key: 'f6f81eaf8ae03526fd3cf5e31946d1470523adb3' }, this.secondaryLabel))), this.primaryLabel && (h("button", { key: '5ab90aceea926978ef73f6be77b7c9aa8fd45156', class: "co-list-footer__btn co-list-footer__btn--primary", type: "button", onClick: this.handlePrimary }, this.primaryIcon && h("co-icon", { key: '2693de047b35e795ee24932612b4b01c8050ef1f', name: this.primaryIcon, size: 16 }), h("span", { key: 'e29b11a48ee4bf3acda5a7a4f493cafdd6fc691d' }, this.primaryLabel))), h("slot", { key: '7f9ed9622ff7ed6486b5c253f9c3bd4e5c2ce1e3' })));
20
+ return (h("div", { key: '8dacde70abe5f58b86003a6bb82dad4bbc4b0394', class: "co-list-footer", part: "footer" }, this.secondaryLabel && (h("button", { key: 'd6049cfd2e018323dc9426da5cc267b8ddbd3479', class: "co-list-footer__btn co-list-footer__btn--secondary", type: "button", onClick: this.handleSecondary }, this.secondaryIcon && h("co-icon", { key: '04c33cf918267dc57d6955f53be90c1aa61065a1', name: this.secondaryIcon, size: 16 }), h("span", { key: '8062a62489076b81f6dd16dc95245bee1e57826e' }, this.secondaryLabel))), this.primaryLabel && (h("button", { key: '26c8305842045d4ebd1c37d6fc304efa67c8329b', class: "co-list-footer__btn co-list-footer__btn--primary", type: "button", onClick: this.handlePrimary }, this.primaryIcon && h("co-icon", { key: '62a0cab190325e97536f72393d4a5b8accb5e9c7', name: this.primaryIcon, size: 16 }), h("span", { key: '2a7eb0c0bda8112823090f5dfdb6aa8aa6329a09' }, this.primaryLabel))), h("slot", { key: '385b7fddd09c86e8d3e0c793cf205ba9358718ec' })));
21
21
  }
22
22
  static get is() { return "co-list-footer"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@
10
10
  font-family: var(--co-font-family-primary);
11
11
  cursor: pointer;
12
12
  border-radius: var(--co-border-radius-sm);
13
- transition: background 0.1s ease;
13
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out);
14
14
  box-sizing: border-box;
15
15
  min-height: 40px;
16
16
  }
@@ -70,21 +70,21 @@ export class CoListItem {
70
70
  requestAnimationFrame(this.measureTruncation);
71
71
  }
72
72
  render() {
73
- return (h("div", { key: '2833a06b0f1ced02b1c1d7b4002757985e5f6184', class: {
73
+ return (h("div", { key: '5b4255d0896c4b411e4b558623d23404f9a0a099', class: {
74
74
  'co-list-item': true,
75
75
  'co-list-item--selected': this.selected,
76
76
  'co-list-item--disabled': this.disabled,
77
77
  'co-list-item--dense': this.dense,
78
78
  'co-list-item--has-description': !!this.description,
79
- }, part: "item", role: "option", tabindex: this.disabled ? -1 : 0, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("span", { key: '74bdab766a1820cb43b88b9a994ea158e1a8f0ae', class: "co-list-item__prefix" }, this.icon && h("co-icon", { key: 'f8b117b8b9e1d6db47785783acab5e60e4bb9e7a', name: this.icon, size: 18 }), h("slot", { key: '4c96820ce0925af1a2fec623c4038cc117d2f5c6', name: "prefix" })), h("div", { key: '3c988300fe272d3da9b2ae6a463a4fdc6b683224', class: "co-list-item__content" }, this.label && (h("co-tooltip", { key: '6f3d61fb883dc3d6fe4751044569ef791a87db03', block: true, class: "co-list-item__tip", content: this.label, placement: "top", disabled: !this.labelTruncated }, h("span", { key: '37edcae63b25f9c54e27349cfcc121804255c83e', class: "co-list-item__label", ref: (el) => {
79
+ }, part: "item", role: "option", tabindex: this.disabled ? -1 : 0, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("span", { key: '8f2d21c6e38644a825dc7d90d03c8bb1ecdb9dbc', class: "co-list-item__prefix" }, this.icon && h("co-icon", { key: '42f7f82814dea4979aa42dfc199137cadca84d50', name: this.icon, size: 18 }), h("slot", { key: '2e8b8279c24afd6d6a3377a3e6407de3a946ce2d', name: "prefix" })), h("div", { key: '441c477e26e4188bf5fc57296e64ec7394244946', class: "co-list-item__content" }, this.label && (h("co-tooltip", { key: '77c6f39d6f9758dd06f8d6b3684dea9d670dc591', block: true, class: "co-list-item__tip", content: this.label, placement: "top", disabled: !this.labelTruncated }, h("span", { key: '6cb1798690cd602b5d3a41259420422ec5d9f147', class: "co-list-item__label", ref: (el) => {
80
80
  this.labelEl = el;
81
81
  if (el && this.ro)
82
82
  this.ro.observe(el);
83
- } }, this.label))), this.description && (h("co-tooltip", { key: '609ad1694738508bed362594fc34609565eb5559', block: true, class: "co-list-item__tip", content: this.description, placement: "top", disabled: !this.descTruncated }, h("span", { key: '4c2231492bab190bda98189ae5d770aaf3aec3e0', class: "co-list-item__description", ref: (el) => {
83
+ } }, this.label))), this.description && (h("co-tooltip", { key: 'd514a4554ec7160e192575c019c2036bafacad93', block: true, class: "co-list-item__tip", content: this.description, placement: "top", disabled: !this.descTruncated }, h("span", { key: 'ff1a1fcf77f4fcb1c8da4aa686e325609652cbb0', class: "co-list-item__description", ref: (el) => {
84
84
  this.descEl = el;
85
85
  if (el && this.ro)
86
86
  this.ro.observe(el);
87
- } }, this.description))), h("slot", { key: 'edc4e2d138c4a888fa78981568a57beb9a5ef7e1' })), h("span", { key: 'ed100617bd1d7f54df33b05696948a187f5df07a', class: "co-list-item__suffix" }, h("slot", { key: '7f76f1a12a0b6c8f2e71e3140125797b62626e90', name: "suffix" }))));
87
+ } }, this.description))), h("slot", { key: 'd449919d91bab89c6152bb506e79a89670182951' })), h("span", { key: '88003131b37470c9b922c9511c38f6e95af8c55a', class: "co-list-item__suffix" }, h("slot", { key: '2e55673f5a17d14b5194490e87a332cbce70daf6', name: "suffix" }))));
88
88
  }
89
89
  static get is() { return "co-list-item"; }
90
90
  static get encapsulation() { return "shadow"; }
@@ -23,13 +23,13 @@ export class CoMediaThumb {
23
23
  }
24
24
  render() {
25
25
  var _a;
26
- return (h("div", { key: '787947d309049a7ca5fa739a7748993833dfb80c', class: {
26
+ return (h("div", { key: '42fce6b31a7fe5a35b41b28d96a67c800151bcec', class: {
27
27
  'co-media-thumb': true,
28
28
  'co-media-thumb--video': this.video,
29
29
  }, part: "thumb", style: {
30
30
  height: this.toCss(this.height),
31
31
  borderRadius: `${this.radius}px`,
32
- } }, this.src ? (h("img", { class: "co-media-thumb__img", src: this.src, alt: (_a = this.alt) !== null && _a !== void 0 ? _a : '', part: "img" })) : (h("slot", null)), this.video && (h("div", { key: '74c58b90643aa7cc33be7b42081a48e9f89127ed', class: "co-media-thumb__scrim", part: "scrim" }, h("div", { key: '752f888648a9c7dcbedadf880566646ff8280331', class: "co-media-thumb__play", part: "play" }, h("svg", { key: 'ee76649c415fbe00737d00584099bf359c1abcca', class: "co-media-thumb__play-icon", width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", "aria-hidden": "true" }, h("path", { key: 'dd160a9aec688bc4d97fb3a9245bcd613ff85cb4', d: "M2 2l12 7-12 7z", fill: "var(--co-color-base-negro, #1f1c1b)" })))))));
32
+ } }, this.src ? (h("img", { class: "co-media-thumb__img", src: this.src, alt: (_a = this.alt) !== null && _a !== void 0 ? _a : '', part: "img" })) : (h("slot", null)), this.video && (h("div", { key: '4430246548961644d9f42f92553500940f4df104', class: "co-media-thumb__scrim", part: "scrim" }, h("div", { key: '77caecbab8334f1cfdc962ad0324a3955b96efa4', class: "co-media-thumb__play", part: "play" }, h("svg", { key: 'ebec80f90e363b1702bbb4c7dbc769d2e864a9a5', class: "co-media-thumb__play-icon", width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", "aria-hidden": "true" }, h("path", { key: '8e8d03f91df6cf4fb9cf18f03805739689563eb0', d: "M2 2l12 7-12 7z", fill: "var(--co-color-base-negro, #1f1c1b)" })))))));
33
33
  }
34
34
  static get is() { return "co-media-thumb"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -111,7 +111,7 @@ export class CoMenu {
111
111
  (_b = (_a = items[next]) === null || _a === void 0 ? void 0 : _a.focusItem) === null || _b === void 0 ? void 0 : _b.call(_a);
112
112
  }
113
113
  render() {
114
- return (h("co-popover", { key: '92d59b733eb81e53e003ebcbe4324480fbcb4475', placement: this.placement, offset: this.offset, open: this.open, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("slot", { key: 'd8e70f68b13dd8f96a75d2f5c96b87651e1afc18', name: "trigger", slot: "trigger" }), h("div", { key: '2787503b2711a88baafcacad615814c0abbeceb0', class: "co-menu", role: "menu", style: this.width ? { width: this.width, minWidth: this.width } : undefined }, h("slot", { key: 'f3e4139845c8f77970b735631e26f5cfc6710405' }))));
114
+ return (h("co-popover", { key: 'afc38289103988c2e71fd219e397f475924ebddc', placement: this.placement, offset: this.offset, open: this.open, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("slot", { key: '35c3defb8ea82fc1a077cd77f75168d1455d8a5c', name: "trigger", slot: "trigger" }), h("div", { key: '4a741c330a25f412396a4331dd63e839334acba4', class: "co-menu", role: "menu", style: this.width ? { width: this.width, minWidth: this.width } : undefined }, h("slot", { key: '3448b69c6c6be4aa2fcf8dcbe1cef4298b266699' }))));
115
115
  }
116
116
  static get is() { return "co-menu"; }
117
117
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ import { h } from "@stencil/core";
5
5
  */
6
6
  export class CoMenuDivider {
7
7
  render() {
8
- return h("hr", { key: 'a305638c4f791be63278b343966cb22d92448ad9', class: "co-menu-divider", role: "separator" });
8
+ return h("hr", { key: 'c20412fd7e29eb932a241e743250e8009f2a9f1e', class: "co-menu-divider", role: "separator" });
9
9
  }
10
10
  static get is() { return "co-menu-divider"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -23,7 +23,7 @@
23
23
  color: var(--co-semantic-text-default);
24
24
  text-align: left;
25
25
  cursor: pointer;
26
- transition: background 0.1s ease, color 0.1s ease;
26
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), color var(--co-motion-duration-fast) var(--co-motion-ease-out);
27
27
  min-height: var(--co-menu-item-height, 36px);
28
28
  box-sizing: border-box;
29
29
  }
@@ -54,7 +54,7 @@
54
54
  font-family: var(--co-font-family-primary);
55
55
  transform: translateY(8px);
56
56
  opacity: 0;
57
- transition: transform 0.2s ease, opacity 0.2s ease;
57
+ transition: transform var(--co-motion-duration-slow) var(--co-motion-ease-out), opacity var(--co-motion-duration-slow) var(--co-motion-ease-out);
58
58
  }
59
59
 
60
60
  .co-modal--sm { max-width: 400px; }
@@ -124,7 +124,7 @@
124
124
  color: var(--co-semantic-text-muted);
125
125
  border-radius: var(--co-border-radius-sm);
126
126
  flex-shrink: 0;
127
- transition: background 0.1s ease;
127
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out);
128
128
  }
129
129
 
130
130
  .co-modal__close:hover {
@@ -62,14 +62,14 @@ export class CoModal {
62
62
  this.coClose.emit();
63
63
  }
64
64
  render() {
65
- return (h("co-overlay", { key: 'aef8eefd5790e210ada8e53f1d904dd7652b75dd', open: this.open, onCoClose: this.handleOverlayClick }, h("div", { key: 'dcf89aa4a6e783e16e99b3c350b917e073c26b76', class: "co-modal__frame" }, h("div", { key: 'c579fe7b0ac3b92c4a413eac9cc4a9da3ec06f69', class: {
65
+ return (h("co-overlay", { key: '1e7dd281f39fb58a7f5a098ee82021025a65ec90', open: this.open, onCoClose: this.handleOverlayClick }, h("div", { key: '5e59d91ea3ff39bc12e6138466d656613ff3e31d', class: "co-modal__frame" }, h("div", { key: 'bff3571a675e6440825d84f68aa841916679b522', class: {
66
66
  'co-modal': true,
67
67
  'co-modal--open': this.open,
68
68
  'co-modal--sm': this.size === 'sm',
69
69
  'co-modal--lg': this.size === 'lg',
70
70
  'co-modal--full': this.size === 'full',
71
71
  'co-modal--no-dividers': this.noDividers,
72
- }, part: "modal", ref: (el) => (this.modalEl = el), role: "dialog", "aria-modal": "true", "aria-labelledby": "modal-heading", onClick: this.stopPropagation, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '37bcab4a7d73d99ed199a4dc3ddbcb5d452f7f67', class: "co-modal__header", part: "header" }, h("div", { key: '1761b1fa2761ec89b74da943652533873ffb041d', class: "co-modal__header-text" }, h("h2", { key: 'f8ee41c7c122956431c388222cdde6263089118f', class: "co-modal__heading", id: "modal-heading" }, this.heading), this.description && (h("p", { key: 'f719d9f6b3f974f0f677ac9daba1611e8e90d162', class: "co-modal__description" }, this.description))), this.closable && (h("button", { key: 'c893a1c5f36631743061ad71f5c120ba6d695081', class: "co-modal__close", type: "button", "aria-label": "Close", onClick: this.handleCloseClick }, h("co-icon", { key: 'afcce2e70b4045188ee37897798d8f54add996c2', name: "x", size: 20 })))), !this.noDividers && (h("div", { key: 'ab2890e8f0e3308d9fe989107eebb6ca24161f6d', class: "co-modal__body", part: "body" }, h("slot", { key: '2991f8166a1fc52dbb58350ab5573d67a35ed2ad' }))), h("div", { key: '3d2a5f9aa2ba1eac6d11828e0653be775d9f9152', class: "co-modal__footer", part: "footer" }, h("slot", { key: '62ff2668995d3d9d33719b29a85a8afd31013042', name: "footer" }))))));
72
+ }, part: "modal", ref: (el) => (this.modalEl = el), role: "dialog", "aria-modal": "true", "aria-labelledby": "modal-heading", onClick: this.stopPropagation, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: 'a39e9156bbc67391944c2c7440ebdee5c9b1d049', class: "co-modal__header", part: "header" }, h("div", { key: '76f92b37830dbd3567ee2868b6fc487fb7dcf522', class: "co-modal__header-text" }, h("h2", { key: '78240a5ecb721be55a5904740fba50fe517a3450', class: "co-modal__heading", id: "modal-heading" }, this.heading), this.description && (h("p", { key: '99de158b468cfb91cd6cef9c5506993e646f2b8a', class: "co-modal__description" }, this.description))), this.closable && (h("button", { key: '442ce1a4c773e53bb6f28475fc6e609ff4606cbf', class: "co-modal__close", type: "button", "aria-label": "Close", onClick: this.handleCloseClick }, h("co-icon", { key: '8ce906f10902504246c7f981d9978dc1312c2612', name: "x", size: 20 })))), !this.noDividers && (h("div", { key: 'f5220757d63d74977ba8c7e8dbab1395310020ed', class: "co-modal__body", part: "body" }, h("slot", { key: 'f110c632c9f69a871e38805b32073c821cb3731f' }))), h("div", { key: 'bb4b829a0731a4dedfbeed8d13c051b23da81b38', class: "co-modal__footer", part: "footer" }, h("slot", { key: '7d489353555a36144fa0bc0acdbb960124036e50', name: "footer" }))))));
73
73
  }
74
74
  static get is() { return "co-modal"; }
75
75
  static get encapsulation() { return "shadow"; }