@prolibu-suite/cobalt-core 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (593) hide show
  1. package/custom-elements.json +10 -10
  2. package/dist/cjs/co-accordion.cjs.entry.js +4 -4
  3. package/dist/cjs/co-action-bar.cjs.entry.js +4 -4
  4. package/dist/cjs/co-app-shell.cjs.entry.js +4 -4
  5. package/dist/cjs/co-audio-player.cjs.entry.js +5 -5
  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 +2 -2
  10. package/dist/cjs/co-bottom-sheet.cjs.entry.js +5 -5
  11. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +3 -3
  12. package/dist/cjs/co-breadcrumb.cjs.entry.js +2 -2
  13. package/dist/cjs/co-button-group.cjs.entry.js +3 -3
  14. package/dist/cjs/co-button.cjs.entry.js +4 -4
  15. package/dist/cjs/co-calendar-month_2.cjs.entry.js +5 -5
  16. package/dist/cjs/co-calendar_3.cjs.entry.js +10 -10
  17. package/dist/cjs/co-card.cjs.entry.js +4 -4
  18. package/dist/cjs/co-carousel-item.cjs.entry.js +2 -2
  19. package/dist/cjs/co-carousel.cjs.entry.js +3 -3
  20. package/dist/cjs/co-checkbox-group.cjs.entry.js +2 -2
  21. package/dist/cjs/co-checkbox.cjs.entry.js +5 -5
  22. package/dist/cjs/co-chip_2.cjs.entry.js +20 -8
  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 +2 -2
  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 +32 -6
  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 +18 -6
  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 +3 -3
  74. package/dist/cjs/co-separator.cjs.entry.js +2 -2
  75. package/dist/cjs/co-sidebar-nav.cjs.entry.js +2 -2
  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 +4 -4
  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} +1 -1
  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-25f59046.entry.js → p-09fe6ece.entry.js} +1 -1
  96. package/dist/cobalt/{p-cd96aabf.entry.js → p-12a0ae24.entry.js} +1 -1
  97. package/dist/cobalt/{p-890296f9.entry.js → p-142506d9.entry.js} +1 -1
  98. package/dist/cobalt/{p-dc8e88f4.entry.js → p-19706923.entry.js} +1 -1
  99. package/dist/cobalt/p-19f5d480.entry.js +1 -0
  100. package/dist/cobalt/p-1ddbc48b.entry.js +1 -0
  101. package/dist/cobalt/p-212ed2ba.entry.js +1 -0
  102. package/dist/cobalt/p-21832273.entry.js +1 -0
  103. package/dist/cobalt/p-24e93fcb.entry.js +1 -0
  104. package/dist/cobalt/{p-3d4e697e.entry.js → p-2a9ba4c8.entry.js} +1 -1
  105. package/dist/cobalt/p-2aeb1471.entry.js +1 -0
  106. package/dist/cobalt/{p-f4370423.entry.js → p-2d0354cc.entry.js} +1 -1
  107. package/dist/cobalt/p-30ec230e.entry.js +1 -0
  108. package/dist/cobalt/p-360714ae.entry.js +1 -0
  109. package/dist/cobalt/{p-3a746267.entry.js → p-37541725.entry.js} +1 -1
  110. package/dist/cobalt/{p-f53b9536.entry.js → p-39007b6c.entry.js} +1 -1
  111. package/dist/cobalt/{p-52af222b.entry.js → p-39bce45f.entry.js} +1 -1
  112. package/dist/cobalt/{p-50bbfad8.entry.js → p-3ac316e0.entry.js} +1 -1
  113. package/dist/cobalt/{p-69723cc1.entry.js → p-3ced4269.entry.js} +1 -1
  114. package/dist/cobalt/{p-0769eee9.entry.js → p-3ecc29fa.entry.js} +1 -1
  115. package/dist/cobalt/p-417ce874.entry.js +1 -0
  116. package/dist/cobalt/{p-38ae8bff.entry.js → p-43b1f8fb.entry.js} +1 -1
  117. package/dist/cobalt/p-49bde154.entry.js +1 -0
  118. package/dist/cobalt/{p-51a1ad38.entry.js → p-4e2379e4.entry.js} +1 -1
  119. package/dist/cobalt/p-5d7c26f2.entry.js +1 -0
  120. package/dist/cobalt/p-5ddebd10.entry.js +1 -0
  121. package/dist/cobalt/{p-bebacee2.entry.js → p-5f0f5d4b.entry.js} +1 -1
  122. package/dist/cobalt/{p-ce961fba.entry.js → p-5f1b273b.entry.js} +1 -1
  123. package/dist/cobalt/p-60cb66f5.entry.js +1 -0
  124. package/dist/cobalt/{p-48fbf051.entry.js → p-6795a258.entry.js} +1 -1
  125. package/dist/cobalt/{p-959556f4.entry.js → p-6d532475.entry.js} +1 -1
  126. package/dist/cobalt/{p-df63f23c.entry.js → p-724b9b54.entry.js} +1 -1
  127. package/dist/cobalt/{p-6b256d01.entry.js → p-7255ab63.entry.js} +1 -1
  128. package/dist/cobalt/p-7521ec0c.entry.js +1 -0
  129. package/dist/cobalt/{p-acdb68a7.entry.js → p-76dff399.entry.js} +1 -1
  130. package/dist/cobalt/p-77593319.entry.js +1 -0
  131. package/dist/cobalt/p-7a2dab23.entry.js +1 -0
  132. package/dist/cobalt/{p-3ae69426.entry.js → p-7ec85887.entry.js} +1 -1
  133. package/dist/cobalt/p-81866f71.entry.js +1 -0
  134. package/dist/cobalt/{p-b45ea918.entry.js → p-8206c7c0.entry.js} +1 -1
  135. package/dist/cobalt/p-85a61e28.entry.js +1 -0
  136. package/dist/cobalt/p-87fc5aed.entry.js +1 -0
  137. package/dist/cobalt/p-8a93beb0.entry.js +1 -0
  138. package/dist/cobalt/p-8b7a4f6c.entry.js +1 -0
  139. package/dist/cobalt/{p-dc269096.entry.js → p-8e667eb6.entry.js} +1 -1
  140. package/dist/cobalt/{p-afd957c0.entry.js → p-94a8a119.entry.js} +1 -1
  141. package/dist/cobalt/p-9c2ce487.entry.js +1 -0
  142. package/dist/cobalt/p-9fe9e2fe.entry.js +1 -0
  143. package/dist/cobalt/p-CQAYgqA6.js +1 -0
  144. package/dist/cobalt/p-CrtiywTB.js +2 -0
  145. package/dist/cobalt/p-T4la7ly_.js +1 -0
  146. package/dist/cobalt/{p-1e9c9d46.entry.js → p-a074f2ba.entry.js} +1 -1
  147. package/dist/cobalt/{p-6985a964.entry.js → p-a45e2c00.entry.js} +1 -1
  148. package/dist/cobalt/{p-5c1328ff.entry.js → p-a530bec2.entry.js} +1 -1
  149. package/dist/cobalt/p-a5d84c7a.entry.js +1 -0
  150. package/dist/cobalt/{p-69b8d98e.entry.js → p-b004c3bb.entry.js} +1 -1
  151. package/dist/cobalt/p-b1ef5107.entry.js +1 -0
  152. package/dist/cobalt/p-b28dc0fe.entry.js +1 -0
  153. package/dist/cobalt/{p-0fc1edca.entry.js → p-b64b0a07.entry.js} +1 -1
  154. package/dist/cobalt/p-b800e107.entry.js +1 -0
  155. package/dist/cobalt/p-b9ac1f25.entry.js +1 -0
  156. package/dist/cobalt/{p-202eadfc.entry.js → p-baeb5d55.entry.js} +1 -1
  157. package/dist/cobalt/{p-8fe08257.entry.js → p-c31f5c1b.entry.js} +1 -1
  158. package/dist/cobalt/p-c3c2087e.entry.js +1 -0
  159. package/dist/cobalt/p-c42c505c.entry.js +1 -0
  160. package/dist/cobalt/p-c7a809c7.entry.js +1 -0
  161. package/dist/cobalt/{p-195c67ee.entry.js → p-c8dba82f.entry.js} +1 -1
  162. package/dist/cobalt/p-cc72557d.entry.js +1 -0
  163. package/dist/cobalt/p-d21da71a.entry.js +1 -0
  164. package/dist/cobalt/{p-20bd3702.entry.js → p-d3c765e3.entry.js} +1 -1
  165. package/dist/cobalt/p-d7b00e5f.entry.js +1 -0
  166. package/dist/cobalt/p-d85a751d.entry.js +1 -0
  167. package/dist/cobalt/{p-3af74ab8.entry.js → p-da546d08.entry.js} +1 -1
  168. package/dist/cobalt/p-debe0d79.entry.js +1 -0
  169. package/dist/cobalt/p-e054cb52.entry.js +1 -0
  170. package/dist/cobalt/p-e5296961.entry.js +1 -0
  171. package/dist/cobalt/p-e5b5ae89.entry.js +1 -0
  172. package/dist/cobalt/{p-a4f39ba2.entry.js → p-e612b43c.entry.js} +1 -1
  173. package/dist/cobalt/{p-97875bde.entry.js → p-e6882ddd.entry.js} +1 -1
  174. package/dist/cobalt/p-e7e34852.entry.js +1 -0
  175. package/dist/cobalt/p-e99832a9.entry.js +1 -0
  176. package/dist/cobalt/{p-00830b8c.entry.js → p-ed2ca588.entry.js} +1 -1
  177. package/dist/cobalt/p-f1284fcd.entry.js +1 -0
  178. package/dist/cobalt/{p-d71b87d3.entry.js → p-f1731fe9.entry.js} +1 -1
  179. package/dist/cobalt/{p-a04feb70.entry.js → p-f4cebc1f.entry.js} +1 -1
  180. package/dist/cobalt/p-f52f61d4.entry.js +1 -0
  181. package/dist/cobalt/{p-a252f8c5.entry.js → p-f83b48fd.entry.js} +1 -1
  182. package/dist/cobalt/p-fa5c25d6.entry.js +1 -0
  183. package/dist/cobalt/{p-15852fec.entry.js → p-fd39f410.entry.js} +1 -1
  184. package/dist/collection/components/co-accordion/co-accordion.css +12 -4
  185. package/dist/collection/components/co-accordion/co-accordion.js +2 -2
  186. package/dist/collection/components/co-action-bar/co-action-bar.css +4 -16
  187. package/dist/collection/components/co-action-bar/co-action-bar.js +2 -2
  188. package/dist/collection/components/co-app-shell/co-app-shell.css +1 -1
  189. package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
  190. package/dist/collection/components/co-audio-player/co-audio-player.css +1 -2
  191. package/dist/collection/components/co-audio-player/co-audio-player.js +3 -3
  192. package/dist/collection/components/co-autocomplete/co-autocomplete.css +2 -2
  193. package/dist/collection/components/co-autocomplete/co-autocomplete.js +14 -5
  194. package/dist/collection/components/co-avatar-group/co-avatar-group.css +1 -1
  195. package/dist/collection/components/co-badge/co-badge.js +1 -1
  196. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.css +4 -12
  197. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
  198. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +1 -1
  199. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +2 -2
  200. package/dist/collection/components/co-button/co-button.css +17 -1
  201. package/dist/collection/components/co-button/co-button.js +2 -2
  202. package/dist/collection/components/co-button-group/co-button-group.js +2 -2
  203. package/dist/collection/components/co-calendar/co-calendar.css +2 -2
  204. package/dist/collection/components/co-calendar/co-calendar.js +1 -1
  205. package/dist/collection/components/co-calendar-month/co-calendar-month.css +1 -1
  206. package/dist/collection/components/co-calendar-month/co-calendar-month.js +1 -1
  207. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +2 -2
  208. package/dist/collection/components/co-card/co-card.css +1 -1
  209. package/dist/collection/components/co-card/co-card.js +2 -2
  210. package/dist/collection/components/co-carousel/co-carousel.js +2 -2
  211. package/dist/collection/components/co-carousel-item/co-carousel-item.js +1 -1
  212. package/dist/collection/components/co-checkbox/co-checkbox.css +84 -58
  213. package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
  214. package/dist/collection/components/co-checkbox-group/co-checkbox-group.css +1 -1
  215. package/dist/collection/components/co-chip/co-chip.css +2 -2
  216. package/dist/collection/components/co-chip/co-chip.js +2 -2
  217. package/dist/collection/components/co-color-picker/co-color-picker.css +3 -3
  218. package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
  219. package/dist/collection/components/co-column-picker/co-column-picker.css +8 -8
  220. package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
  221. package/dist/collection/components/co-combobox/co-combobox.css +2 -2
  222. package/dist/collection/components/co-combobox/co-combobox.js +13 -5
  223. package/dist/collection/components/co-command-search/co-command-search.css +13 -3
  224. package/dist/collection/components/co-command-search/co-command-search.js +18 -4
  225. package/dist/collection/components/co-data-table/co-data-table.css +5 -5
  226. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.css +5 -5
  227. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  228. package/dist/collection/components/co-date-field/co-date-field.css +2 -2
  229. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  230. package/dist/collection/components/co-date-range/co-date-range.js +1 -1
  231. package/dist/collection/components/co-date-range-picker/co-date-range-picker.css +2 -2
  232. package/dist/collection/components/co-date-time-picker/co-date-time-picker.css +2 -2
  233. package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +2 -2
  234. package/dist/collection/components/co-drawer/co-drawer.css +2 -2
  235. package/dist/collection/components/co-drive-card/co-drive-card.css +5 -5
  236. package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
  237. package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
  238. package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
  239. package/dist/collection/components/co-event-calendar/co-event-calendar.css +2 -2
  240. package/dist/collection/components/co-event-calendar/co-event-calendar.js +2 -2
  241. package/dist/collection/components/co-event-popover/co-event-popover.css +1 -2
  242. package/dist/collection/components/co-event-popover/co-event-popover.js +1 -1
  243. package/dist/collection/components/co-fab/co-fab.css +18 -12
  244. package/dist/collection/components/co-fab/co-fab.js +2 -2
  245. package/dist/collection/components/co-file-field/co-file-field.css +5 -5
  246. package/dist/collection/components/co-file-field/co-file-field.js +5 -5
  247. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
  248. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  249. package/dist/collection/components/co-icon/co-icon.js +2 -2
  250. package/dist/collection/components/co-icon-button/co-icon-button.css +10 -1
  251. package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
  252. package/dist/collection/components/co-input/co-input.css +3 -3
  253. package/dist/collection/components/co-json-field/co-json-field.css +1 -1
  254. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  255. package/dist/collection/components/co-lightbox/co-lightbox.css +4 -4
  256. package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
  257. package/dist/collection/components/co-list-footer/co-list-footer.css +1 -1
  258. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  259. package/dist/collection/components/co-list-item/co-list-item.css +1 -1
  260. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  261. package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
  262. package/dist/collection/components/co-menu/co-menu.js +1 -1
  263. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  264. package/dist/collection/components/co-menu-item/co-menu-item.css +1 -1
  265. package/dist/collection/components/co-modal/co-modal.css +2 -2
  266. package/dist/collection/components/co-modal/co-modal.js +2 -2
  267. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  268. package/dist/collection/components/co-number-field/co-number-field.css +3 -3
  269. package/dist/collection/components/co-number-field/co-number-field.js +2 -2
  270. package/dist/collection/components/co-option-list/co-option-list.css +2 -2
  271. package/dist/collection/components/co-option-list/co-option-list.js +17 -5
  272. package/dist/collection/components/co-overlay/co-overlay.css +2 -2
  273. package/dist/collection/components/co-overlay/co-overlay.js +1 -1
  274. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  275. package/dist/collection/components/co-phone-field/co-phone-field.css +1 -1
  276. package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
  277. package/dist/collection/components/co-popover/co-popover.css +27 -0
  278. package/dist/collection/components/co-popover/co-popover.js +30 -4
  279. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  280. package/dist/collection/components/co-progress-circle/co-progress-circle.css +1 -1
  281. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  282. package/dist/collection/components/co-radio/co-radio.css +1 -1
  283. package/dist/collection/components/co-radio/co-radio.js +3 -3
  284. package/dist/collection/components/co-radio-group/co-radio-group.css +1 -1
  285. package/dist/collection/components/co-rating/co-rating.css +1 -1
  286. package/dist/collection/components/co-rating/co-rating.js +3 -3
  287. package/dist/collection/components/co-ref-field/co-ref-field.css +4 -4
  288. package/dist/collection/components/co-ref-field/co-ref-field.js +14 -2
  289. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +5 -5
  290. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +3 -3
  291. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.css +12 -12
  292. package/dist/collection/components/co-row/co-row.js +2 -2
  293. package/dist/collection/components/co-select/co-select.css +4 -4
  294. package/dist/collection/components/co-separator/co-separator.js +1 -1
  295. package/dist/collection/components/co-sidebar/co-sidebar.css +1 -1
  296. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  297. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +33 -7
  298. package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
  299. package/dist/collection/components/co-slider/co-slider.css +9 -2
  300. package/dist/collection/components/co-slider/co-slider.js +2 -2
  301. package/dist/collection/components/co-switch/co-switch.css +5 -4
  302. package/dist/collection/components/co-switch/co-switch.js +3 -3
  303. package/dist/collection/components/co-tab/co-tab.css +2 -2
  304. package/dist/collection/components/co-tab/co-tab.js +2 -2
  305. package/dist/collection/components/co-tab-group/co-tab-group.js +2 -2
  306. package/dist/collection/components/co-tags-field/co-tags-field.css +3 -3
  307. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  308. package/dist/collection/components/co-textarea/co-textarea.css +2 -2
  309. package/dist/collection/components/co-textarea/co-textarea.js +4 -4
  310. package/dist/collection/components/co-toast/co-toast.css +63 -1
  311. package/dist/collection/components/co-toast/co-toast.js +38 -3
  312. package/dist/collection/components/co-toggle-button/co-toggle-button.css +1 -1
  313. package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
  314. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
  315. package/dist/collection/components/co-tooltip/co-tooltip.css +1 -1
  316. package/dist/collection/components/co-tooltip/co-tooltip.js +14 -3
  317. package/dist/collection/components/co-transfer-list/co-transfer-list.css +3 -3
  318. package/dist/collection/components/co-transfer-list/co-transfer-list.js +2 -2
  319. package/dist/collection/components/co-video/co-video.css +9 -9
  320. package/dist/collection/components/co-video/co-video.js +2 -2
  321. package/dist/components/co-accordion.js +1 -1
  322. package/dist/components/co-action-bar.js +1 -1
  323. package/dist/components/co-app-shell.js +1 -1
  324. package/dist/components/co-audio-player.js +1 -1
  325. package/dist/components/co-autocomplete.js +1 -1
  326. package/dist/components/co-avatar-group.js +1 -1
  327. package/dist/components/co-avatar.js +1 -1
  328. package/dist/components/co-badge.js +1 -1
  329. package/dist/components/co-bottom-sheet.js +1 -1
  330. package/dist/components/co-breadcrumb-item.js +1 -1
  331. package/dist/components/co-breadcrumb.js +1 -1
  332. package/dist/components/co-button-group.js +1 -1
  333. package/dist/components/co-button.js +1 -1
  334. package/dist/components/co-calendar-month.js +1 -1
  335. package/dist/components/co-calendar-timegrid.js +1 -1
  336. package/dist/components/co-calendar.js +1 -1
  337. package/dist/components/co-card.js +1 -1
  338. package/dist/components/co-carousel-item.js +1 -1
  339. package/dist/components/co-carousel.js +1 -1
  340. package/dist/components/co-checkbox-group.js +1 -1
  341. package/dist/components/co-checkbox.js +1 -1
  342. package/dist/components/co-chip.js +1 -1
  343. package/dist/components/co-color-picker.js +1 -1
  344. package/dist/components/co-column-picker.js +1 -1
  345. package/dist/components/co-combobox.js +1 -1
  346. package/dist/components/co-command-search.js +1 -1
  347. package/dist/components/co-data-table-pagination.js +1 -1
  348. package/dist/components/co-data-table.js +1 -1
  349. package/dist/components/co-date-field.js +1 -1
  350. package/dist/components/co-date-picker.js +1 -1
  351. package/dist/components/co-date-range-picker.js +1 -1
  352. package/dist/components/co-date-range.js +1 -1
  353. package/dist/components/co-date-time-picker.js +1 -1
  354. package/dist/components/co-drawer.js +1 -1
  355. package/dist/components/co-drive-card.js +1 -1
  356. package/dist/components/co-drop-zone.js +1 -1
  357. package/dist/components/co-empty-state.js +1 -1
  358. package/dist/components/co-event-calendar.js +1 -1
  359. package/dist/components/co-event-popover.js +1 -1
  360. package/dist/components/co-fab.js +1 -1
  361. package/dist/components/co-file-field.js +1 -1
  362. package/dist/components/co-file-type-tile.js +1 -1
  363. package/dist/components/co-helper-text.js +1 -1
  364. package/dist/components/co-icon-button.js +1 -1
  365. package/dist/components/co-icon.js +1 -1
  366. package/dist/components/co-input.js +1 -1
  367. package/dist/components/co-json-field.js +1 -1
  368. package/dist/components/co-lightbox.js +1 -1
  369. package/dist/components/co-list-footer.js +1 -1
  370. package/dist/components/co-list-item.js +1 -1
  371. package/dist/components/co-media-thumb.js +1 -1
  372. package/dist/components/co-menu-divider.js +1 -1
  373. package/dist/components/co-menu-item.js +1 -1
  374. package/dist/components/co-menu.js +1 -1
  375. package/dist/components/co-modal.js +1 -1
  376. package/dist/components/co-navbar.js +1 -1
  377. package/dist/components/co-number-field.js +1 -1
  378. package/dist/components/co-option-list.js +1 -1
  379. package/dist/components/co-overlay.js +1 -1
  380. package/dist/components/co-page-header.js +1 -1
  381. package/dist/components/co-phone-field.js +1 -1
  382. package/dist/components/co-popover.js +1 -1
  383. package/dist/components/co-progress-bar.js +1 -1
  384. package/dist/components/co-progress-circle.js +1 -1
  385. package/dist/components/co-radio-group.js +1 -1
  386. package/dist/components/co-radio.js +1 -1
  387. package/dist/components/co-rating.js +1 -1
  388. package/dist/components/co-ref-field.js +1 -1
  389. package/dist/components/co-rich-text-editor.js +1 -1
  390. package/dist/components/co-rich-text-toolbar.js +1 -1
  391. package/dist/components/co-row.js +1 -1
  392. package/dist/components/co-select.js +1 -1
  393. package/dist/components/co-separator.js +1 -1
  394. package/dist/components/co-sidebar-nav.js +1 -1
  395. package/dist/components/co-sidebar.js +1 -1
  396. package/dist/components/co-skeleton.js +1 -1
  397. package/dist/components/co-slider.js +1 -1
  398. package/dist/components/co-switch.js +1 -1
  399. package/dist/components/co-tab-group.js +1 -1
  400. package/dist/components/co-tab.js +1 -1
  401. package/dist/components/co-tags-field.js +1 -1
  402. package/dist/components/co-textarea.js +1 -1
  403. package/dist/components/co-toast.js +1 -1
  404. package/dist/components/co-toggle-button-group.js +1 -1
  405. package/dist/components/co-toggle-button.js +1 -1
  406. package/dist/components/co-tooltip.js +1 -1
  407. package/dist/components/co-transfer-list.js +1 -1
  408. package/dist/components/co-video.js +1 -1
  409. package/dist/components/index.js +1 -1
  410. package/dist/components/p-2zy1K6zg.js +1 -0
  411. package/dist/components/{p-DbISGXT_.js → p-BCnjq3jN.js} +1 -1
  412. package/dist/components/p-BUE9mBqk.js +1 -0
  413. package/dist/components/p-Bh2__nEw.js +1 -0
  414. package/dist/components/{p-BC6sxVVr.js → p-BiefJDu3.js} +1 -1
  415. package/dist/components/{p-CVCEiwOS.js → p-BlvsTlsS.js} +1 -1
  416. package/dist/components/p-Bsll5Ofy.js +1 -0
  417. package/dist/components/{p-BQFperIX.js → p-CJNo2JDc.js} +1 -1
  418. package/dist/components/p-CKKBJaNB.js +1 -0
  419. package/dist/components/p-CL4dicvk.js +1 -0
  420. package/dist/components/{p-ChPooamL.js → p-CYv2ig6I.js} +1 -1
  421. package/dist/components/p-Ce0ZJcks.js +1 -0
  422. package/dist/components/p-CkQqqKRp.js +1 -0
  423. package/dist/components/p-CmxZEGYq.js +1 -0
  424. package/dist/components/p-Cv5yuGLz.js +1 -0
  425. package/dist/components/{p-CIWoKlGj.js → p-DAaKsGqj.js} +1 -1
  426. package/dist/components/p-DFT1qsVu.js +1 -0
  427. package/dist/components/p-DTJsO_Eg.js +1 -0
  428. package/dist/components/p-_YYd42XM.js +1 -0
  429. package/dist/components/{p-T0MdU7sb.js → p-re2gJwnQ.js} +1 -1
  430. package/dist/components/p-ushHimOL.js +1 -0
  431. package/dist/components/p-xvWmYN3W.js +1 -0
  432. package/dist/esm/co-accordion.entry.js +4 -4
  433. package/dist/esm/co-action-bar.entry.js +4 -4
  434. package/dist/esm/co-app-shell.entry.js +4 -4
  435. package/dist/esm/co-audio-player.entry.js +5 -5
  436. package/dist/esm/co-autocomplete.entry.js +15 -6
  437. package/dist/esm/co-avatar-group.entry.js +2 -2
  438. package/dist/esm/co-avatar_2.entry.js +16 -5
  439. package/dist/esm/co-badge.entry.js +2 -2
  440. package/dist/esm/co-bottom-sheet.entry.js +5 -5
  441. package/dist/esm/co-breadcrumb-item.entry.js +3 -3
  442. package/dist/esm/co-breadcrumb.entry.js +2 -2
  443. package/dist/esm/co-button-group.entry.js +3 -3
  444. package/dist/esm/co-button.entry.js +4 -4
  445. package/dist/esm/co-calendar-month_2.entry.js +5 -5
  446. package/dist/esm/co-calendar_3.entry.js +10 -10
  447. package/dist/esm/co-card.entry.js +4 -4
  448. package/dist/esm/co-carousel-item.entry.js +2 -2
  449. package/dist/esm/co-carousel.entry.js +3 -3
  450. package/dist/esm/co-checkbox-group.entry.js +2 -2
  451. package/dist/esm/co-checkbox.entry.js +5 -5
  452. package/dist/esm/co-chip_2.entry.js +20 -8
  453. package/dist/esm/co-color-picker.entry.js +5 -5
  454. package/dist/esm/co-column-picker.entry.js +4 -4
  455. package/dist/esm/co-combobox.entry.js +14 -6
  456. package/dist/esm/co-command-search.entry.js +20 -6
  457. package/dist/esm/co-data-table-pagination.entry.js +6 -6
  458. package/dist/esm/co-data-table.entry.js +2 -2
  459. package/dist/esm/co-date-picker.entry.js +2 -2
  460. package/dist/esm/co-date-range-picker.entry.js +3 -3
  461. package/dist/esm/co-date-range.entry.js +2 -2
  462. package/dist/esm/co-date-time-picker.entry.js +5 -5
  463. package/dist/esm/co-drive-card.entry.js +3 -3
  464. package/dist/esm/co-drop-zone.entry.js +2 -2
  465. package/dist/esm/co-empty-state.entry.js +3 -3
  466. package/dist/esm/co-event-calendar.entry.js +4 -4
  467. package/dist/esm/co-event-popover.entry.js +3 -3
  468. package/dist/esm/co-fab.entry.js +4 -4
  469. package/dist/esm/co-file-field.entry.js +8 -8
  470. package/dist/esm/co-file-type-tile.entry.js +3 -3
  471. package/dist/esm/co-helper-text.entry.js +3 -3
  472. package/dist/esm/co-icon-button.entry.js +3 -3
  473. package/dist/esm/co-icon.entry.js +3 -3
  474. package/dist/esm/co-input.entry.js +3 -3
  475. package/dist/esm/co-json-field.entry.js +6 -6
  476. package/dist/esm/co-lightbox.entry.js +6 -6
  477. package/dist/esm/co-list-footer.entry.js +3 -3
  478. package/dist/esm/co-list-item.entry.js +6 -6
  479. package/dist/esm/co-loader.entry.js +1 -1
  480. package/dist/esm/co-media-thumb.entry.js +3 -3
  481. package/dist/esm/co-menu-divider.entry.js +2 -2
  482. package/dist/esm/co-menu-item.entry.js +2 -2
  483. package/dist/esm/co-menu.entry.js +2 -2
  484. package/dist/esm/co-modal.entry.js +4 -4
  485. package/dist/esm/co-navbar.entry.js +3 -3
  486. package/dist/esm/co-number-field.entry.js +5 -5
  487. package/dist/esm/co-overlay.entry.js +3 -3
  488. package/dist/esm/co-page-header.entry.js +2 -2
  489. package/dist/esm/co-phone-field.entry.js +4 -4
  490. package/dist/esm/co-popover.entry.js +32 -6
  491. package/dist/esm/co-progress-bar.entry.js +3 -3
  492. package/dist/esm/co-progress-circle.entry.js +4 -4
  493. package/dist/esm/co-provider-logo_2.entry.js +2 -2
  494. package/dist/esm/co-radio-group.entry.js +2 -2
  495. package/dist/esm/co-radio.entry.js +5 -5
  496. package/dist/esm/co-rating.entry.js +5 -5
  497. package/dist/esm/co-ref-field.entry.js +18 -6
  498. package/dist/esm/co-rich-text-editor.entry.js +5 -5
  499. package/dist/esm/co-rich-text-toolbar.entry.js +2 -2
  500. package/dist/esm/co-rich-text-viewer.entry.js +1 -1
  501. package/dist/esm/co-row.entry.js +3 -3
  502. package/dist/esm/co-segmented-bar.entry.js +1 -1
  503. package/dist/esm/co-select.entry.js +3 -3
  504. package/dist/esm/co-separator.entry.js +2 -2
  505. package/dist/esm/co-sidebar-nav.entry.js +2 -2
  506. package/dist/esm/co-sidebar.entry.js +4 -4
  507. package/dist/esm/co-slider.entry.js +4 -4
  508. package/dist/esm/co-switch.entry.js +6 -6
  509. package/dist/esm/co-tab-group.entry.js +3 -3
  510. package/dist/esm/co-tab.entry.js +4 -4
  511. package/dist/esm/co-tags-field.entry.js +9 -9
  512. package/dist/esm/co-textarea.entry.js +7 -7
  513. package/dist/esm/co-toast.entry.js +35 -5
  514. package/dist/esm/co-toggle-button-group.entry.js +3 -3
  515. package/dist/esm/co-toggle-button.entry.js +4 -4
  516. package/dist/esm/co-transfer-list.entry.js +4 -4
  517. package/dist/esm/co-video.entry.js +4 -4
  518. package/dist/esm/cobalt.js +3 -3
  519. package/dist/esm/{fieldChip-Bb8YIN0J.js → fieldChip-BZDUy9Z-.js} +1 -1
  520. package/dist/esm/{index-BCEz3S-z.js → index-CrtiywTB.js} +1 -1
  521. package/dist/esm/loader.js +3 -3
  522. package/dist/esm/{requiredMark-D7kAMXHM.js → requiredMark-DCD-ZA51.js} +1 -1
  523. package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +1 -1
  524. package/dist/types/components/co-combobox/co-combobox.d.ts +1 -1
  525. package/dist/types/components/co-command-search/co-command-search.d.ts +7 -0
  526. package/dist/types/components/co-option-list/co-option-list.d.ts +5 -1
  527. package/dist/types/components/co-ref-field/co-ref-field.d.ts +4 -0
  528. package/dist/types/components/co-toast/co-toast.d.ts +19 -0
  529. package/dist/types/components/co-tooltip/co-tooltip.d.ts +6 -0
  530. package/dist/types/components.d.ts +6 -6
  531. package/package.json +3 -3
  532. package/dist/cobalt/p-0f18c4d2.entry.js +0 -1
  533. package/dist/cobalt/p-260196cb.entry.js +0 -1
  534. package/dist/cobalt/p-27dce0ac.entry.js +0 -1
  535. package/dist/cobalt/p-2bf44b2b.entry.js +0 -1
  536. package/dist/cobalt/p-2c100914.entry.js +0 -1
  537. package/dist/cobalt/p-2e1d930f.entry.js +0 -1
  538. package/dist/cobalt/p-35518aee.entry.js +0 -1
  539. package/dist/cobalt/p-38cf47b6.entry.js +0 -1
  540. package/dist/cobalt/p-39dea0c0.entry.js +0 -1
  541. package/dist/cobalt/p-445acc4c.entry.js +0 -1
  542. package/dist/cobalt/p-4de9232a.entry.js +0 -1
  543. package/dist/cobalt/p-523aca9f.entry.js +0 -1
  544. package/dist/cobalt/p-5319ac3f.entry.js +0 -1
  545. package/dist/cobalt/p-53a276a8.entry.js +0 -1
  546. package/dist/cobalt/p-543cc00d.entry.js +0 -1
  547. package/dist/cobalt/p-59f7d44b.entry.js +0 -1
  548. package/dist/cobalt/p-5b984323.entry.js +0 -1
  549. package/dist/cobalt/p-5bfaca70.entry.js +0 -1
  550. package/dist/cobalt/p-5c250889.entry.js +0 -1
  551. package/dist/cobalt/p-5e21ca17.entry.js +0 -1
  552. package/dist/cobalt/p-61d5ca3c.entry.js +0 -1
  553. package/dist/cobalt/p-6357d9dd.entry.js +0 -1
  554. package/dist/cobalt/p-6b089060.entry.js +0 -1
  555. package/dist/cobalt/p-7c6b3175.entry.js +0 -1
  556. package/dist/cobalt/p-7d077a7c.entry.js +0 -1
  557. package/dist/cobalt/p-7f4bf341.entry.js +0 -1
  558. package/dist/cobalt/p-869c338a.entry.js +0 -1
  559. package/dist/cobalt/p-913b2a14.entry.js +0 -1
  560. package/dist/cobalt/p-9824c478.entry.js +0 -1
  561. package/dist/cobalt/p-99c1ff0f.entry.js +0 -1
  562. package/dist/cobalt/p-BCEz3S-z.js +0 -2
  563. package/dist/cobalt/p-C-d15gih.js +0 -1
  564. package/dist/cobalt/p-D5gr2ent.js +0 -1
  565. package/dist/cobalt/p-a7c23027.entry.js +0 -1
  566. package/dist/cobalt/p-ab8e150e.entry.js +0 -1
  567. package/dist/cobalt/p-bad7ce84.entry.js +0 -1
  568. package/dist/cobalt/p-c237add6.entry.js +0 -1
  569. package/dist/cobalt/p-c32949a5.entry.js +0 -1
  570. package/dist/cobalt/p-cd5555d2.entry.js +0 -1
  571. package/dist/cobalt/p-d56b8a1f.entry.js +0 -1
  572. package/dist/cobalt/p-d6fff135.entry.js +0 -1
  573. package/dist/cobalt/p-d83e5189.entry.js +0 -1
  574. package/dist/cobalt/p-de5a05fc.entry.js +0 -1
  575. package/dist/cobalt/p-e2188319.entry.js +0 -1
  576. package/dist/cobalt/p-f0c589ad.entry.js +0 -1
  577. package/dist/cobalt/p-f4e4bebf.entry.js +0 -1
  578. package/dist/cobalt/p-f7ae0228.entry.js +0 -1
  579. package/dist/components/p-B21rOC2Y.js +0 -1
  580. package/dist/components/p-BXtiFFM2.js +0 -1
  581. package/dist/components/p-BdArvV6T.js +0 -1
  582. package/dist/components/p-BnkGlFYy.js +0 -1
  583. package/dist/components/p-CDWXNRpo.js +0 -1
  584. package/dist/components/p-CfeNhAHW.js +0 -1
  585. package/dist/components/p-ChLib-si.js +0 -1
  586. package/dist/components/p-D-3BTFRs.js +0 -1
  587. package/dist/components/p-D0wrmRH8.js +0 -1
  588. package/dist/components/p-DZX7cEqP.js +0 -1
  589. package/dist/components/p-W8Y8ZuPs.js +0 -1
  590. package/dist/components/p-cteJszd-.js +0 -1
  591. package/dist/components/p-mUoTCiYa.js +0 -1
  592. package/dist/components/p-uZ2D6ESV.js +0 -1
  593. package/dist/components/p-ySi6UG0O.js +0 -1
@@ -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: '85ffca32d8f2fb7c2be25e9b2cf8c0570a438f54', 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: 'a5084c288fbbf42f418450343b0cbcd1c36f3553', name: this.iconLeft, size: iconSize })), h("span", { key: '9dda4ae43156ee5e7274de262fb0df601b9a2221' }, this.label), this.badge && (h("span", { key: '84205996d20e27a69ac6dc49f88bf690ef9bb33d', class: "co-tab__badge", part: "badge" }, this.badge)), this.iconRight && (h("co-icon", { key: '7281ba1b981fca02a57b28f461877d2aa831e360', 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: '8987563ec721e13e7cbc186b11ab4c6b28f82068', 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: '9adad54c12867486cdf0677e92f5c5007f2b55e1', 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: '1cddcc09b84bd9986332518809b22727e0ea6be8', 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: '2a17c1550fb77d74795e29019865decf25b62637', class: "co-tags-field__labels" }, h("label", { key: 'b4fa98a4375ebf9cb09854528bae440310dd6e7a', class: "co-tags-field__label", part: "label" }, this.label, h(RequiredMark, { key: '491ec28ffeade76cc659e5920654d4b25474348b', required: this.required })))), h("div", { key: '5959a21a0586e453bdd260a32aa4e9e6f9ee5b97', class: "co-tags-field__field-row" }, h("div", { key: 'babe8f7f15287758aaa6e644edbdd20bea271085', class: "co-tags-field__field", part: "field", onClick: this.handleFieldClick }, h("div", { key: '6f2a17374c0fd13463cd62f9596f7ff896b0b4b4', 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: '13fb645e7da2b931d565591cdca76010cc585d3d', 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: 'c7285e54cc7fbad03c5f0b107d01c31e63204f4b', 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: '9361a6e3f0d35bb2e976106a77dd6ee3c0053490', name: "x-circle", size: 16, weight: "fill" }))))), this.name && h("input", { key: 'b0d3ea0609153c6237337bdf7463d3eaac0977d5', type: "hidden", name: this.name, value: JSON.stringify(tags) }), helper && (h("div", { key: 'be4a5527ef638303d3c4583063a364f03a26fbf6', 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: 'b945852d4bc7cebf2440afb5507be3151009a789', name: "warning-circle", size: 14, class: "co-tags-field__helper-icon" })), h("span", { key: '92a7ac0cc4d84f63a4c9ca4b17c922bae485ffd6', 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: '9d323b813a3c11f045f48556233675ce07ceb79d', 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: 'efd2f5901bbb5e9ecd6ef6cecf9c58917dc310bc', class: "co-textarea__labels" }, this.label && (h("label", { key: '006c3e9b5b219164e1794617e0fee742a195f18e', class: "co-textarea__label", part: "label" }, this.label, h(RequiredMark, { key: '7a2842c50c8151104fb529bba60ea02045384744', required: this.required }))), this.secondaryLabel && (h("span", { key: '76798fcfeae6ed5f7fa7dcd5be4c5c32fc345198', class: "co-textarea__secondary-label" }, this.secondaryLabel)))), h("div", { key: '8ea7e80d1d39807d4b5097a7c010e79726caf6cf', class: "co-textarea__field", part: "field" }, h("textarea", { key: 'aeed03e98299c0bbdc11dc35c7ffb8964b5f5785', 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: '886cea9e161fff68046654f854a110f8fbefa320', class: "co-textarea__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: '8f1055f7e0ea57b0811c0bed69e41fb7e70aaf34', name: "x-circle", size: 16, weight: "fill" })))), (this.helperText || this.maxLength != null) && (h("div", { key: '998fe8b200baac9f1f8198747b05f6836fedeb3d', class: "co-textarea__footer" }, this.helperText && (h("div", { key: 'deef703967cf1e57dab1a6df16b2e04139e41ed5', 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: '6f42cf1cb23657ca1db2cb2b5db5a4bbad94c05b', name: "warning-circle", size: 14, class: "co-textarea__helper-icon" })), h("span", { key: '85ab87ee37978ee22fffbca0cfc75d9609b97212', class: "co-textarea__helper-text" }, this.helperText))), this.maxLength != null && (h("span", { key: '97a0c33e19dc4f39da62daadb3122a1373884622', 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: '5782bc9fab6ba26b7a73628f3d4155d8c8b948b5', class: "co-toast__content" }, h("span", { key: 'e10a34acb31b7486fe3d26b8dce48e80d643181e', class: "co-toast__message" }, this.message), hasDescription && (h("span", { key: '8b6d2c9db99fe292b5a7d183c4a7a43d8b551f7d', class: "co-toast__description" }, this.description))));
80
+ return (h("div", { key: '30b8670f843101c9c3c409fa89f06d4e86167bc2', class: rootClass, part: "toast", role: role }, (drawsCheck || resolvedIcon) && (h("span", { key: 'e1420c1642606f7687fd7f093881e077b627cdc0', 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: '400ec792a47ad70c8c43dbf4ee2893e0424423bb', 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: 'f23e18bdd93f6edc8b1a5af7bf78bcc73e0b7659', class: "co-toast__actions" }, h("slot", { key: '690f4816bd3cdbfbefd1c3942aea88c4be1bdd9b', name: "action" })))), !isStacked && (h("div", { key: '9c26cb590848ff43481fa1073b97b5199dde01ca', class: "co-toast__actions" }, h("slot", { key: 'ee2e7247f74064bfbd88fae99b3c6924db37e4be', name: "action" }))), this.dismissible && (h("button", { key: 'd061e369a02d7ebb5fd851bd20554dfbf149e536', class: "co-toast__dismiss", type: "button", "aria-label": "Dismiss", onClick: () => this.coDismiss.emit() }, h("co-icon", { key: '8d8ce58403181a0710bf16cc21b1f4f3a10be8f3', 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: '8e7cae7ef747e0f9c1dae261c4a405ab067f3682', 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: 'e1d87665d05262e7b254d1a794837a9ae498abed', name: "leading" }), this.iconLeft && h("co-icon", { key: '0ecf3a91f22ac583166ebc823eedd1b889b708cb', name: this.iconLeft, size: iconSize, weight: iconWeight }), this.label && h("span", { key: '25cc1de5e1d12cd7d3cc575ce82b9e4f87f91afd', class: "co-toggle-button__label" }, this.label), this.iconRight && h("co-icon", { key: '15b8d7d2c140185ebfd2f53e8afcd52590a42243', 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"; }
@@ -65,13 +65,13 @@ export class CoToggleButtonGroup {
65
65
  });
66
66
  }
67
67
  render() {
68
- return (h("div", { key: 'd0fbc22ed60159af08811ea30833ca32c5c6ec0e', class: {
68
+ return (h("div", { key: 'b8ab02efbc0d6d8490f5ab75af56290f05f45e6e', class: {
69
69
  'co-toggle-button-group': true,
70
70
  [`co-toggle-button-group--${this.direction}`]: true,
71
71
  [`co-toggle-button-group--${this.variant}`]: true,
72
72
  'co-toggle-button-group--disabled': this.disabled,
73
73
  'co-toggle-button-group--full': this.fullWidth,
74
- }, role: "group" }, h("slot", { key: '382d16e587f014f0fde656c1b82e095eda0e06ee' })));
74
+ }, role: "group" }, h("slot", { key: 'a43e7b7faf9051abac32eda76634ada88f0e3d5f' })));
75
75
  }
76
76
  static get is() { return "co-toggle-button-group"; }
77
77
  static get encapsulation() { return "shadow"; }
@@ -63,7 +63,7 @@
63
63
  word-wrap: break-word;
64
64
 
65
65
  /* Entry animation */
66
- transition: opacity 0.15s ease, transform 0.15s ease;
66
+ transition: opacity var(--co-motion-duration-base) var(--co-motion-ease-out), transform var(--co-motion-duration-base) var(--co-motion-ease-out);
67
67
  }
68
68
 
69
69
  .co-tooltip__panel--positioned {
@@ -28,12 +28,17 @@ export class CoTooltip {
28
28
  // ── State ──────────────────────────────────────────────────
29
29
  this.visible = false;
30
30
  this.actualPlacement = 'top';
31
+ /** Activación del trigger (click/tap): el tooltip se oculta y queda
32
+ * SUPRIMIDO hasta que el puntero salga y vuelva a entrar (o el foco salga).
33
+ * Sin esto, el tooltip re-aparece SOBRE el menú/popover que el click abrió
34
+ * (el botón conserva hover+focus). El foco por teclado no suprime. */
35
+ this.suppressed = false;
31
36
  this.scrollParents = [];
32
37
  this.cachedOffsetAncestor = null;
33
38
  this.offsetAncestorComputed = false;
34
39
  // ── Show / Hide ────────────────────────────────────────────
35
40
  this.scheduleShow = () => {
36
- if (this.disabled || !this.content)
41
+ if (this.disabled || !this.content || this.suppressed)
37
42
  return;
38
43
  this.clearHideTimeout();
39
44
  if (this.visible)
@@ -59,12 +64,18 @@ export class CoTooltip {
59
64
  this.scheduleShow();
60
65
  };
61
66
  this.handleMouseLeave = () => {
67
+ this.suppressed = false;
62
68
  this.scheduleHide();
63
69
  };
70
+ this.handlePointerDown = () => {
71
+ this.suppressed = true;
72
+ this.hideImmediate();
73
+ };
64
74
  this.handleFocusIn = () => {
65
75
  this.scheduleShow();
66
76
  };
67
77
  this.handleFocusOut = () => {
78
+ this.suppressed = false;
68
79
  this.scheduleHide();
69
80
  };
70
81
  this.handleKeyDown = (e) => {
@@ -214,7 +225,7 @@ export class CoTooltip {
214
225
  // ── Render ─────────────────────────────────────────────────
215
226
  render() {
216
227
  const side = this.actualPlacement.split('-')[0];
217
- return (h("div", { key: '8ab4d7116108f417bbab303c915ddb3c043f6a17', class: "co-tooltip" }, h("div", { key: '8706169462a807aacfb9c3ec102e51d35749ac4a', class: "co-tooltip__trigger", ref: (el) => (this.triggerEl = el), onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onFocusin: this.handleFocusIn, onFocusout: this.handleFocusOut, onKeyDown: this.handleKeyDown, "aria-describedby": this.visible ? 'tooltip-panel' : undefined }, h("slot", { key: 'd24dca7da5d8d25e6bb153fd224f3a2dbe15c2bd' })), this.visible && this.content && (h("div", { key: '7b1b9e5629d57f54345889f6b79f0cd40957d916', id: "tooltip-panel", class: {
228
+ return (h("div", { key: '5a96ea6ece5fc1b0f0479013317ce436a6d1c7a1', class: "co-tooltip" }, h("div", { key: 'fec326dce031c56e8f03963dd681bf63f80e3438', class: "co-tooltip__trigger", ref: (el) => (this.triggerEl = el), onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onPointerDown: this.handlePointerDown, onFocusin: this.handleFocusIn, onFocusout: this.handleFocusOut, onKeyDown: this.handleKeyDown, "aria-describedby": this.visible ? 'tooltip-panel' : undefined }, h("slot", { key: 'a480bf1d93a8a234c7d903fc5e4008b40b75c6ed' })), this.visible && this.content && (h("div", { key: '8ed6640fd0e44f115efeaf41994804030749bc0c', id: "tooltip-panel", class: {
218
229
  'co-tooltip__panel': true,
219
230
  [`co-tooltip__panel--${side}`]: true,
220
231
  }, role: "tooltip", popover: "manual", ref: (el) => {
@@ -223,7 +234,7 @@ export class CoTooltip {
223
234
  this.promotePanel();
224
235
  this.scheduleUpdate();
225
236
  }
226
- }, style: { maxWidth: this.maxWidth } }, this.arrow && h("div", { key: 'a2bb874fff12aba894ae13fb3cfddb6e5c2558c5', class: `co-tooltip__arrow co-tooltip__arrow--${side}` }), h("span", { key: '429590eda59470e35fc9dd005a97fb53af39c9e2', class: "co-tooltip__content" }, this.content)))));
237
+ }, style: { maxWidth: this.maxWidth } }, this.arrow && h("div", { key: 'ed6b26c594bddbb9d5d044a279f481c37194dd4c', class: `co-tooltip__arrow co-tooltip__arrow--${side}` }), h("span", { key: 'd776ef95bc1ff38c6128ce1557ac6d0929ca063a', class: "co-tooltip__content" }, this.content)))));
227
238
  }
228
239
  static get is() { return "co-tooltip"; }
229
240
  static get encapsulation() { return "shadow"; }
@@ -764,7 +764,7 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
764
764
  padding: var(--co-spacing-sm2) var(--co-spacing-sm2);
765
765
  border-radius: var(--co-border-radius-xxs, 4px);
766
766
  cursor: pointer;
767
- transition: background 0.1s ease;
767
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out);
768
768
  }
769
769
 
770
770
  .co-transfer-list__item:hover {
@@ -791,7 +791,7 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
791
791
  border: 1px solid var(--co-semantic-border-default);
792
792
  background: transparent;
793
793
  flex-shrink: 0;
794
- transition: background 0.15s ease, border-color 0.15s ease;
794
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), border-color var(--co-motion-duration-fast) var(--co-motion-ease-out);
795
795
  color: var(--co-semantic-on-primary);
796
796
  }
797
797
 
@@ -836,7 +836,7 @@ html[data-overlayscrollbars-viewport~=scrollbarHidden] > body::-webkit-scrollbar
836
836
  color: var(--co-semantic-text-default);
837
837
  cursor: pointer;
838
838
  padding: 0;
839
- transition: background 0.15s ease;
839
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out);
840
840
  }
841
841
 
842
842
  .co-transfer-list__btn:hover:not(:disabled) {
@@ -117,11 +117,11 @@ export class CoTransferList {
117
117
  this.osInstances = [];
118
118
  }
119
119
  render() {
120
- return (h("div", { key: 'a66d26c3f7d91cc1ad33a1c347637d6c03e13a2e', class: {
120
+ return (h("div", { key: '9a616d53e0fe957aec9e59ea5d199c09d4083297', class: {
121
121
  'co-transfer-list': true,
122
122
  'co-transfer-list--disabled': this.disabled,
123
123
  [`co-transfer-list--${this.status}`]: this.status !== 'default',
124
- } }, this.label && h("label", { key: '08cf6b7951890739f73e79edf2dd76a4de5131c3', class: "co-transfer-list__label" }, this.label), h("div", { key: 'e83826673d6ba30e6700bd4401c122820a5db9be', class: "co-transfer-list__body" }, this.renderList(this.leftItems, this.leftChecked, this.toggleLeftCheck, this.leftTitle), h("div", { key: '7e65ed93739f9eed3160d4ff26ff3c3bf8f7f48e', class: "co-transfer-list__actions" }, h("button", { key: 'cc4a2b991dc65f2660e589e7f11122359a465aec', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllRight, "aria-label": "Move all right" }, h("co-icon", { key: 'def57d75c3ed67224f023e6de630de2fa0cb3043', name: "caret-double-right", size: 16 })), h("button", { key: 'd072365087785e09a0a34a3e3f9f2b9f5e56e1df', class: "co-transfer-list__btn", disabled: this.disabled || this.leftChecked.size === 0, onClick: this.moveRight, "aria-label": "Move selected right" }, h("co-icon", { key: 'd298964acff41d2dc6c4d6eb39ae9bcc916973dc', name: "caret-right", size: 16 })), h("button", { key: '5c3cc98de6ee806d35f6369623cbbc7ffdf906b7', class: "co-transfer-list__btn", disabled: this.disabled || this.rightChecked.size === 0, onClick: this.moveLeft, "aria-label": "Move selected left" }, h("co-icon", { key: '04084366aa7437612e8dee522f94266db6bea4cd', name: "caret-left", size: 16 })), h("button", { key: '3fa6e88f7ec9ea49b34d5f18cbccf21124509bff', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllLeft, "aria-label": "Move all left" }, h("co-icon", { key: 'fd0a35d20f5d7a8c1b4fb2010bb82e19cbc07225', name: "caret-double-left", size: 16 }))), this.renderList(this.rightItems, this.rightChecked, this.toggleRightCheck, this.rightTitle)), this.helperText && (h("div", { key: 'd4cca5feb1972a4a43039bf68780e1ef43bba802', class: `co-transfer-list__helper co-transfer-list__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '065ecb392fb716cc2df70eb01993e89f3fa14ad6', name: this.statusIcon, size: 14, weight: "fill", class: "co-transfer-list__helper-icon" }), h("span", { key: '293fd383071786d53318b2f2c2713fed39400a21', class: "co-transfer-list__helper-text" }, this.helperText)))));
124
+ } }, this.label && h("label", { key: '24302a86a4f08e1ddcbbe9535b5b12b6ee94c25d', class: "co-transfer-list__label" }, this.label), h("div", { key: 'bd7ad2f3b43d126bc230be464f2e25cd4a3949d3', class: "co-transfer-list__body" }, this.renderList(this.leftItems, this.leftChecked, this.toggleLeftCheck, this.leftTitle), h("div", { key: 'e647f1e14d17e47cd82fa12ee1b28af48ba0aad7', class: "co-transfer-list__actions" }, h("button", { key: 'd4be83c7e045c082ad9e740893fa3df1201a7c4d', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllRight, "aria-label": "Move all right" }, h("co-icon", { key: 'ae0b82548e8ba9f7adf3fc21c82b99fad0b9e2a3', name: "caret-double-right", size: 16 })), h("button", { key: '31bcece1626c32ab14c942169ea292456af32f5f', class: "co-transfer-list__btn", disabled: this.disabled || this.leftChecked.size === 0, onClick: this.moveRight, "aria-label": "Move selected right" }, h("co-icon", { key: '014f67a3bb60923eceb398f1daa2a828520edbc3', name: "caret-right", size: 16 })), h("button", { key: '667465966f2951dbd1a67379fcb9a5267171bb07', class: "co-transfer-list__btn", disabled: this.disabled || this.rightChecked.size === 0, onClick: this.moveLeft, "aria-label": "Move selected left" }, h("co-icon", { key: '1ca76a18e2b600c59d582f772d11734759a01f91', name: "caret-left", size: 16 })), h("button", { key: 'f6dd471e953cd8e1015dd692028a6142ad23c48b', class: "co-transfer-list__btn", disabled: this.disabled, onClick: this.moveAllLeft, "aria-label": "Move all left" }, h("co-icon", { key: '1c153936bda438f919da2637b7b865d40bd80c4c', name: "caret-double-left", size: 16 }))), this.renderList(this.rightItems, this.rightChecked, this.toggleRightCheck, this.rightTitle)), this.helperText && (h("div", { key: '319b978ec04dce9abb1f8d48cb43cbc3939428db', class: `co-transfer-list__helper co-transfer-list__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: 'cae67b4fbf235a07f23e8e368cd345333f239f5d', name: this.statusIcon, size: 14, weight: "fill", class: "co-transfer-list__helper-icon" }), h("span", { key: 'c0812b03a33d8543ffd19b3c34f071ae59a31876', class: "co-transfer-list__helper-text" }, this.helperText)))));
125
125
  }
126
126
  static get is() { return "co-transfer-list"; }
127
127
  static get encapsulation() { return "shadow"; }
@@ -150,7 +150,7 @@
150
150
  display: flex;
151
151
  align-items: center;
152
152
  justify-content: center;
153
- transition: transform 0.2s ease, background 0.2s ease;
153
+ transition: transform var(--co-motion-duration-base) var(--co-motion-ease-out), background var(--co-motion-duration-base) var(--co-motion-ease-out);
154
154
  }
155
155
 
156
156
  .co-video__big-play:hover .co-video__big-play-circle {
@@ -193,7 +193,7 @@
193
193
  font-family: var(--co-font-family-primary);
194
194
  font-size: var(--co-font-size-14);
195
195
  cursor: pointer;
196
- transition: background 0.15s ease, border-color 0.15s ease;
196
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out), border-color var(--co-motion-duration-fast) var(--co-motion-ease-out);
197
197
  }
198
198
 
199
199
  .co-video__error-retry:hover {
@@ -214,7 +214,7 @@
214
214
  padding: var(--co-spacing-3xl) var(--co-spacing-lg) var(--co-spacing-md);
215
215
  z-index: 5;
216
216
  opacity: 1;
217
- transition: opacity 0.3s ease;
217
+ transition: opacity var(--co-motion-duration-slow) var(--co-motion-ease-out);
218
218
  }
219
219
 
220
220
  .co-video__controls--hidden {
@@ -229,7 +229,7 @@
229
229
  width: 100%;
230
230
  height: var(--co-video-progress-height);
231
231
  cursor: pointer;
232
- transition: height 0.15s ease;
232
+ transition: height var(--co-motion-duration-fast) var(--co-motion-ease-out);
233
233
  margin-bottom: var(--co-spacing-sm);
234
234
  outline: none;
235
235
  touch-action: none;
@@ -261,7 +261,7 @@
261
261
  height: 100%;
262
262
  background: var(--co-video-buffered);
263
263
  border-radius: var(--co-border-radius-full);
264
- transition: width 0.3s ease;
264
+ transition: width var(--co-motion-duration-slow) var(--co-motion-ease-out);
265
265
  }
266
266
 
267
267
  .co-video__progress-played {
@@ -281,7 +281,7 @@
281
281
  border-radius: var(--co-border-radius-full);
282
282
  background: var(--co-video-accent);
283
283
  transform: translate(-50%, -50%) scale(0);
284
- transition: transform 0.15s ease;
284
+ transition: transform var(--co-motion-duration-fast) var(--co-motion-ease-out);
285
285
  pointer-events: none;
286
286
  }
287
287
 
@@ -319,7 +319,7 @@
319
319
  cursor: pointer;
320
320
  border-radius: var(--co-border-radius-xs);
321
321
  padding: 0;
322
- transition: background 0.15s ease;
322
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out);
323
323
  flex-shrink: 0;
324
324
  }
325
325
 
@@ -359,7 +359,7 @@
359
359
  .co-video__volume-slider-wrap {
360
360
  width: 0;
361
361
  overflow: hidden;
362
- transition: width 0.2s ease, opacity 0.2s ease;
362
+ transition: width var(--co-motion-duration-base) var(--co-motion-ease-out), opacity var(--co-motion-duration-base) var(--co-motion-ease-out);
363
363
  opacity: 0;
364
364
  }
365
365
 
@@ -452,7 +452,7 @@
452
452
  cursor: pointer;
453
453
  background: transparent;
454
454
  border: none;
455
- transition: background 0.1s ease;
455
+ transition: background var(--co-motion-duration-fast) var(--co-motion-ease-out);
456
456
  text-align: left;
457
457
  }
458
458
 
@@ -789,14 +789,14 @@ export class CoVideo {
789
789
  // ═══════════════════════════════════════════════════
790
790
  render() {
791
791
  const aspectClass = `co-video--${this.aspectRatio.replace(':', '-')}`;
792
- return (h(Host, { key: '84f6b42de6891f2f2edfe03c99a2155192aad672' }, h("div", { key: 'eaf5c690f824b60e450231b3997f344fcd83c5ce', class: {
792
+ return (h(Host, { key: '4ce2bbc8f36581a0683493f8690a788b7aa79873' }, h("div", { key: '15aca30a1ab1397d4135e350ba027b1b050e908b', class: {
793
793
  'co-video': true,
794
794
  [aspectClass]: true,
795
795
  [`co-video--rounded-${this.rounded}`]: true,
796
796
  'co-video--disabled': this.disabled,
797
797
  'co-video--fullscreen': this.isFullscreen,
798
798
  'co-video--playing': this.isPlaying,
799
- }, part: "container", ref: el => (this.containerEl = el), role: "region", "aria-label": this.t.player, tabindex: 0, onKeyDown: this.handleKeyDown, onMouseMove: this.handleContainerMouseMove, onMouseLeave: this.handleContainerMouseLeave, onTouchStart: this.handleContainerTouchStart }, h("video", { key: '8a527d30327bc057b6a939a359d20e7c929e79ec', ref: el => (this.videoEl = el), class: "co-video__native", part: "video", src: this.src || undefined, poster: undefined, preload: this.preload, loop: this.loop, playsinline: true, tabindex: -1, controlsList: this.allowDownload ? undefined : 'nodownload' }), this.renderPoster(), this.renderLoader(), this.renderBigPlayButton(), this.renderError(), h("div", { key: 'f97ddd2e572343b6131f96a35c5a5f7bb2b0b8ef', class: "co-video__click-area", onClick: this.handleVideoAreaClick }), this.renderControls())));
799
+ }, part: "container", ref: el => (this.containerEl = el), role: "region", "aria-label": this.t.player, tabindex: 0, onKeyDown: this.handleKeyDown, onMouseMove: this.handleContainerMouseMove, onMouseLeave: this.handleContainerMouseLeave, onTouchStart: this.handleContainerTouchStart }, h("video", { key: '314574fe3e636ac479ee73fb429d14aeaba3371c', ref: el => (this.videoEl = el), class: "co-video__native", part: "video", src: this.src || undefined, poster: undefined, preload: this.preload, loop: this.loop, playsinline: true, tabindex: -1, controlsList: this.allowDownload ? undefined : 'nodownload' }), this.renderPoster(), this.renderLoader(), this.renderBigPlayButton(), this.renderError(), h("div", { key: '6883591629786aea9faed0d2c239942ba1900fad', class: "co-video__click-area", onClick: this.handleVideoAreaClick }), this.renderControls())));
800
800
  }
801
801
  static get is() { return "co-video"; }
802
802
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- import{t as o,p as e,H as c,c as i,h as a}from"./index.js";import{d as t}from"./p-DbISGXT_.js";const n=e(class extends c{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.coToggle=i(this,"coToggle",7),this.open=!0,this.heading="",this.subheading="",this.disabled=!1,this.hasSubheadingSlot=!1,this.handleToggle=()=>{this.disabled||(this.open=!this.open,this.coToggle.emit(this.open))}}componentWillLoad(){this.hasSubheadingSlot=!!this.el.querySelector('[slot="subheading"]')}componentWillRender(){this.hasSubheadingSlot=!!this.el.querySelector('[slot="subheading"]')}get showSubheading(){return!(!this.subheading||!this.subheading.trim())||this.hasSubheadingSlot}render(){return a("div",{key:"4e2089349432ce39bb797397aacaebd022fcbcee",class:{"co-accordion":!0,"co-accordion--open":this.open,"co-accordion--disabled":this.disabled},part:"accordion"},a("div",{key:"4337878858bd31822201a925010f3150568fa056",class:"co-accordion__header",part:"header"},a("span",{key:"cf69c69cc786981ca6bd54bd0f6a6c38a3baa0b6",class:"co-accordion__heading-group"},a("span",{key:"0e7efd52e6d48c35ce0270485e8ce6099c6a3302",class:"co-accordion__heading",part:"heading"},a("slot",{key:"b575ce7ae5611007490724f430819f083781f84d",name:"header"},this.heading)),this.showSubheading&&a("span",{key:"996a58f3f3b5cd656849b413b0f998675452cc2f",class:"co-accordion__subheading",part:"subheading"},a("slot",{key:"a9029aa67f51162ad54c010d23bf20545883ef45",name:"subheading"},this.subheading))),a("button",{key:"757286aaf2914fe7d32fc14ab0f5de57ffeab48c",class:"co-accordion__caret",type:"button","aria-expanded":this.open?"true":"false","aria-label":this.heading||"Toggle section",disabled:this.disabled,onClick:this.handleToggle,part:"caret"},a("co-icon",{key:"b4c3c96489a30607727a44955dbff2d504ef2b6e",name:"caret-up",size:20}))),a("div",{key:"bd56b12cbd7484f61fec140740312800536d7b18",class:"co-accordion__body",part:"body"},a("div",{key:"1f2ff56e7bd7a49f8484c988ecdf434d108ef4ed",class:"co-accordion__body-inner",part:"body-inner"},a("slot",{key:"25ef25609ccece786a05709d90a32e7e135fec72"}))))}get el(){return this}static get style(){return":host{display:block}.co-accordion{display:flex;flex-direction:column;width:100%}.co-accordion__header{display:flex;align-items:center;justify-content:space-between;gap:var(--co-spacing-sm, 6px);width:100%;font-family:var(--co-font-family-primary);color:var(--co-semantic-text-default);text-align:left}.co-accordion__heading-group{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--co-spacing-xxs, 2px)}.co-accordion__heading{font-size:var(--co-font-size-24);font-weight:500;line-height:1.25;letter-spacing:-0.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-accordion__subheading{font-size:var(--co-font-size-14);font-weight:400;line-height:1.3;letter-spacing:normal;color:var(--co-semantic-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-accordion__caret{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:transparent;border-radius:var(--co-border-radius-full, 9999px);color:var(--co-semantic-text-default);cursor:pointer;transition:transform 0.2s ease, background-color 0.15s ease;transform:rotate(180deg);}.co-accordion__caret:hover:not(:disabled){background:var(--co-color-opacity-negro-8, rgba(31, 28, 27, 0.08))}.co-accordion--open .co-accordion__caret{transform:rotate(0deg);}.co-accordion__body{display:grid;grid-template-rows:0fr;transition:grid-template-rows 0.25s ease}.co-accordion__body-inner{min-height:0;overflow:hidden;padding-top:var(--co-spacing-2xl);}.co-accordion--open .co-accordion__body{grid-template-rows:1fr}.co-accordion:not(.co-accordion--open) .co-accordion__body-inner{visibility:hidden;transition:visibility 0s linear 0.25s}.co-accordion--open .co-accordion__body-inner{visibility:visible;transition:visibility 0s linear 0s}.co-accordion__caret:focus-visible{outline:2px solid var(--co-color-primary-azul, #2563eb);outline-offset:2px}.co-accordion--disabled .co-accordion__header{opacity:0.5}.co-accordion--disabled .co-accordion__caret{cursor:not-allowed}"}},[257,"co-accordion",{open:[1540],heading:[1],subheading:[1],disabled:[4],hasSubheadingSlot:[32]}]);function r(){"undefined"!=typeof customElements&&["co-accordion","co-icon"].forEach((e=>{switch(e){case"co-accordion":customElements.get(o(e))||customElements.define(o(e),n);break;case"co-icon":customElements.get(o(e))||t()}}))}r();const s=n,d=r;export{s as CoAccordion,d as defineCustomElement}
1
+ import{t as o,p as a,H as c,c as e,h as i}from"./index.js";import{d as t}from"./p-BCnjq3jN.js";const n=a(class extends c{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.coToggle=e(this,"coToggle",7),this.open=!0,this.heading="",this.subheading="",this.disabled=!1,this.hasSubheadingSlot=!1,this.handleToggle=()=>{this.disabled||(this.open=!this.open,this.coToggle.emit(this.open))}}componentWillLoad(){this.hasSubheadingSlot=!!this.el.querySelector('[slot="subheading"]')}componentWillRender(){this.hasSubheadingSlot=!!this.el.querySelector('[slot="subheading"]')}get showSubheading(){return!(!this.subheading||!this.subheading.trim())||this.hasSubheadingSlot}render(){return i("div",{key:"0f3dbc80f6d32d3fb9c662430880c64e46208d68",class:{"co-accordion":!0,"co-accordion--open":this.open,"co-accordion--disabled":this.disabled},part:"accordion"},i("div",{key:"bf832d3fdcce29d2e784a628c1a135a6a374ecf1",class:"co-accordion__header",part:"header"},i("span",{key:"f967f96bc1203dc14e1319fb3b62ec24e917abfd",class:"co-accordion__heading-group"},i("span",{key:"fadae27bbce21aa4550412a7d1ee50ee56b68261",class:"co-accordion__heading",part:"heading"},i("slot",{key:"a6d0989a503301fd690256eca6a8349ee2f2f536",name:"header"},this.heading)),this.showSubheading&&i("span",{key:"d12ab60f67edcd4c9a03489c3ddeb2229ec2e749",class:"co-accordion__subheading",part:"subheading"},i("slot",{key:"cc0e6c422cdffe2a8b7fd2b542d3158fb35fe25a",name:"subheading"},this.subheading))),i("button",{key:"b37af2d153398cd344dfab1adbbcf9b0ac147dad",class:"co-accordion__caret",type:"button","aria-expanded":this.open?"true":"false","aria-label":this.heading||"Toggle section",disabled:this.disabled,onClick:this.handleToggle,part:"caret"},i("co-icon",{key:"d0ed683ed331e1d8ac5ae46e9893a287fc18fb07",name:"caret-up",size:20}))),i("div",{key:"2b4af900a1c3364cc6e45bd099315ada9f4927d9",class:"co-accordion__body",part:"body"},i("div",{key:"041a960bac7760658f6ad5da17658766fbc73129",class:"co-accordion__body-inner",part:"body-inner"},i("slot",{key:"05405a5354af0e7d38128ba39e33ab902c86a1e2"}))))}get el(){return this}static get style(){return":host{display:block}.co-accordion{display:flex;flex-direction:column;width:100%}.co-accordion__header{display:flex;align-items:center;justify-content:space-between;gap:var(--co-spacing-sm, 6px);width:100%;font-family:var(--co-font-family-primary);color:var(--co-semantic-text-default);text-align:left}.co-accordion__heading-group{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--co-spacing-xxs, 2px)}.co-accordion__heading{font-size:var(--co-font-size-24);font-weight:500;line-height:1.25;letter-spacing:-0.03em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-accordion__subheading{font-size:var(--co-font-size-14);font-weight:400;line-height:1.3;letter-spacing:normal;color:var(--co-semantic-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.co-accordion__caret{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background:transparent;border-radius:var(--co-border-radius-full, 9999px);color:var(--co-semantic-text-default);cursor:pointer;transition:transform var(--co-motion-duration-base) var(--co-motion-ease-out), background-color var(--co-motion-duration-fast) var(--co-motion-ease-out);transform:rotate(180deg);}.co-accordion__caret:hover:not(:disabled){background:var(--co-color-opacity-negro-8, rgba(31, 28, 27, 0.08))}.co-accordion--open .co-accordion__caret{transform:rotate(0deg);}.co-accordion__body{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--co-motion-duration-slow) var(--co-motion-ease-out)}.co-accordion__body-inner{min-height:0;overflow:hidden;padding-top:var(--co-spacing-2xl);transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out)}.co-accordion:not(.co-accordion--open) .co-accordion__body-inner{padding-top:0}.co-accordion--open .co-accordion__body{grid-template-rows:1fr}.co-accordion:not(.co-accordion--open) .co-accordion__body-inner{visibility:hidden;transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out), visibility 0s linear var(--co-motion-duration-slow)}.co-accordion--open .co-accordion__body-inner{visibility:visible;transition:padding-top var(--co-motion-duration-slow) var(--co-motion-ease-out), visibility 0s linear 0s}.co-accordion__caret:focus-visible{outline:2px solid var(--co-color-primary-azul, #2563eb);outline-offset:2px}.co-accordion--disabled .co-accordion__header{opacity:0.5}.co-accordion--disabled .co-accordion__caret{cursor:not-allowed}"}},[257,"co-accordion",{open:[1540],heading:[1],subheading:[1],disabled:[4],hasSubheadingSlot:[32]}]);function r(){"undefined"!=typeof customElements&&["co-accordion","co-icon"].forEach((a=>{switch(a){case"co-accordion":customElements.get(o(a))||customElements.define(o(a),n);break;case"co-icon":customElements.get(o(a))||t()}}))}r();const d=n,s=r;export{d as CoAccordion,s as defineCustomElement}