@prolibu-suite/cobalt-core 0.7.0 → 0.8.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 (515) hide show
  1. package/custom-elements.json +8266 -5138
  2. package/dist/cjs/co-action-bar.cjs.entry.js +89 -0
  3. package/dist/cjs/co-app-shell.cjs.entry.js +2 -2
  4. package/dist/cjs/co-audio-player.cjs.entry.js +279 -0
  5. package/dist/cjs/co-avatar_2.cjs.entry.js +3 -3
  6. package/dist/cjs/co-badge.cjs.entry.js +1 -1
  7. package/dist/cjs/co-bottom-sheet.cjs.entry.js +3 -3
  8. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +2 -2
  9. package/dist/cjs/co-breadcrumb.cjs.entry.js +1 -1
  10. package/dist/cjs/co-button-group.cjs.entry.js +2 -2
  11. package/dist/cjs/co-button.cjs.entry.js +12 -5
  12. package/dist/cjs/co-calendar-month_2.cjs.entry.js +1601 -0
  13. package/dist/cjs/co-calendar_3.cjs.entry.js +9 -9
  14. package/dist/cjs/co-card.cjs.entry.js +2 -2
  15. package/dist/cjs/co-carousel-item.cjs.entry.js +1 -1
  16. package/dist/cjs/co-carousel.cjs.entry.js +3 -3
  17. package/dist/cjs/co-checkbox.cjs.entry.js +4 -4
  18. package/dist/cjs/co-chip_2.cjs.entry.js +95 -6
  19. package/dist/cjs/co-color-picker.cjs.entry.js +2 -2
  20. package/dist/cjs/co-column-picker.cjs.entry.js +2 -2
  21. package/dist/cjs/co-data-table-pagination.cjs.entry.js +4 -4
  22. package/dist/cjs/co-data-table.cjs.entry.js +1 -1
  23. package/dist/cjs/co-date-picker.cjs.entry.js +1 -1
  24. package/dist/cjs/co-date-range-picker.cjs.entry.js +2 -2
  25. package/dist/cjs/co-date-range.cjs.entry.js +1 -1
  26. package/dist/cjs/co-date-time-picker.cjs.entry.js +409 -0
  27. package/dist/cjs/co-drive-card.cjs.entry.js +1 -1
  28. package/dist/cjs/co-drop-zone.cjs.entry.js +1 -1
  29. package/dist/cjs/co-empty-state.cjs.entry.js +2 -2
  30. package/dist/cjs/co-event-calendar.cjs.entry.js +118 -17
  31. package/dist/cjs/co-event-popover.cjs.entry.js +132 -0
  32. package/dist/cjs/co-fab.cjs.entry.js +2 -2
  33. package/dist/cjs/co-file-field.cjs.entry.js +5 -5
  34. package/dist/cjs/co-file-type-tile.cjs.entry.js +2 -2
  35. package/dist/cjs/co-helper-text.cjs.entry.js +2 -2
  36. package/dist/cjs/co-icon-button.cjs.entry.js +1 -1
  37. package/dist/cjs/co-icon.cjs.entry.js +2 -2
  38. package/dist/cjs/co-json-field.cjs.entry.js +3 -3
  39. package/dist/cjs/co-lightbox.cjs.entry.js +5 -5
  40. package/dist/cjs/co-list-footer.cjs.entry.js +1 -1
  41. package/dist/cjs/co-list-item.cjs.entry.js +4 -4
  42. package/dist/cjs/co-media-thumb.cjs.entry.js +2 -2
  43. package/dist/cjs/co-menu-divider.cjs.entry.js +1 -1
  44. package/dist/cjs/co-menu-item.cjs.entry.js +2 -2
  45. package/dist/cjs/co-menu.cjs.entry.js +1 -1
  46. package/dist/cjs/co-modal.cjs.entry.js +2 -2
  47. package/dist/cjs/co-navbar.cjs.entry.js +2 -2
  48. package/dist/cjs/co-number-field.cjs.entry.js +2 -2
  49. package/dist/cjs/co-overlay.cjs.entry.js +1 -1
  50. package/dist/cjs/co-page-header.cjs.entry.js +1 -1
  51. package/dist/cjs/co-phone-field.cjs.entry.js +1 -1
  52. package/dist/cjs/co-popover.cjs.entry.js +1 -1
  53. package/dist/cjs/co-progress-bar.cjs.entry.js +2 -2
  54. package/dist/cjs/co-progress-circle.cjs.entry.js +2 -2
  55. package/dist/cjs/co-provider-logo_2.cjs.entry.js +72 -0
  56. package/dist/cjs/co-radio.cjs.entry.js +3 -3
  57. package/dist/cjs/co-rating.cjs.entry.js +3 -3
  58. package/dist/cjs/co-ref-field.cjs.entry.js +6 -2
  59. package/dist/cjs/co-rich-text-editor.cjs.entry.js +4 -4
  60. package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +1 -1
  61. package/dist/cjs/co-row.cjs.entry.js +2 -2
  62. package/dist/cjs/co-select.cjs.entry.js +1 -1
  63. package/dist/cjs/co-separator.cjs.entry.js +1 -1
  64. package/dist/cjs/co-sidebar-nav.cjs.entry.js +12 -2
  65. package/dist/cjs/co-sidebar.cjs.entry.js +2 -2
  66. package/dist/cjs/co-slider.cjs.entry.js +2 -2
  67. package/dist/cjs/co-switch.cjs.entry.js +3 -3
  68. package/dist/cjs/co-tab-group.cjs.entry.js +19 -3
  69. package/dist/cjs/co-tab.cjs.entry.js +2 -2
  70. package/dist/cjs/co-tags-field.cjs.entry.js +5 -5
  71. package/dist/cjs/co-textarea.cjs.entry.js +4 -4
  72. package/dist/cjs/co-toggle-button-group.cjs.entry.js +2 -2
  73. package/dist/cjs/co-toggle-button.cjs.entry.js +2 -2
  74. package/dist/cjs/co-video.cjs.entry.js +2 -2
  75. package/dist/cjs/cobalt.cjs.js +1 -1
  76. package/dist/cjs/{dateI18n-BdiNAl0_.js → dateI18n-wblvKRq_.js} +21 -0
  77. package/dist/cjs/{dates-D8D-aS5d.js → dates-TQLHlFd2.js} +64 -13
  78. package/dist/cjs/index-kBiXCEE7.js +28 -12
  79. package/dist/cjs/loader.cjs.js +1 -1
  80. package/dist/cjs/{positioning-DwHW399W.js → positioning-DCj_AJ2T.js} +10 -0
  81. package/dist/cjs/time-LBHtzLHe.js +42 -0
  82. package/dist/cobalt/cobalt.esm.js +1 -1
  83. package/dist/cobalt/{p-616e4286.entry.js → p-00830b8c.entry.js} +1 -1
  84. package/dist/cobalt/{p-9994fcd8.entry.js → p-0769eee9.entry.js} +1 -1
  85. package/dist/cobalt/{p-9bf42bf4.entry.js → p-0f18c4d2.entry.js} +1 -1
  86. package/dist/cobalt/{p-cdedaa82.entry.js → p-0fc1edca.entry.js} +1 -1
  87. package/dist/cobalt/p-15852fec.entry.js +1 -0
  88. package/dist/cobalt/{p-eec1c44c.entry.js → p-195c67ee.entry.js} +1 -1
  89. package/dist/cobalt/{p-B6JZk8fL.js → p-1EK-COrb.js} +1 -1
  90. package/dist/cobalt/{p-2da09948.entry.js → p-1e9c9d46.entry.js} +1 -1
  91. package/dist/cobalt/{p-e1b468c1.entry.js → p-20bd3702.entry.js} +1 -1
  92. package/dist/cobalt/p-25f59046.entry.js +1 -0
  93. package/dist/cobalt/{p-b06af5c6.entry.js → p-260196cb.entry.js} +1 -1
  94. package/dist/cobalt/p-2bf44b2b.entry.js +1 -0
  95. package/dist/cobalt/{p-8155d781.entry.js → p-2c100914.entry.js} +1 -1
  96. package/dist/cobalt/p-2e1d930f.entry.js +1 -0
  97. package/dist/cobalt/{p-080f62e4.entry.js → p-35518aee.entry.js} +1 -1
  98. package/dist/cobalt/{p-28ab9cef.entry.js → p-38ae8bff.entry.js} +1 -1
  99. package/dist/cobalt/{p-f0a98453.entry.js → p-38cf47b6.entry.js} +1 -1
  100. package/dist/cobalt/p-39dea0c0.entry.js +1 -0
  101. package/dist/cobalt/{p-3c681e3a.entry.js → p-3a746267.entry.js} +1 -1
  102. package/dist/cobalt/p-3ae69426.entry.js +1 -0
  103. package/dist/cobalt/{p-9211e794.entry.js → p-3d4e697e.entry.js} +1 -1
  104. package/dist/cobalt/{p-264508ae.entry.js → p-445acc4c.entry.js} +1 -1
  105. package/dist/cobalt/p-4de9232a.entry.js +1 -0
  106. package/dist/cobalt/{p-7f78e45c.entry.js → p-50bbfad8.entry.js} +1 -1
  107. package/dist/cobalt/{p-54f8c68c.entry.js → p-51a1ad38.entry.js} +1 -1
  108. package/dist/cobalt/{p-75515a8e.entry.js → p-523aca9f.entry.js} +1 -1
  109. package/dist/cobalt/{p-2f6c7eb5.entry.js → p-52af222b.entry.js} +1 -1
  110. package/dist/cobalt/{p-0b7359bb.entry.js → p-59f7d44b.entry.js} +1 -1
  111. package/dist/cobalt/{p-4f615cbd.entry.js → p-5b984323.entry.js} +1 -1
  112. package/dist/cobalt/{p-8fe5b07e.entry.js → p-5bfaca70.entry.js} +1 -1
  113. package/dist/cobalt/p-5c1328ff.entry.js +1 -0
  114. package/dist/cobalt/p-5e21ca17.entry.js +1 -0
  115. package/dist/cobalt/p-61d5ca3c.entry.js +1 -0
  116. package/dist/cobalt/{p-64115d66.entry.js → p-6357d9dd.entry.js} +1 -1
  117. package/dist/cobalt/{p-0a294205.entry.js → p-6985a964.entry.js} +1 -1
  118. package/dist/cobalt/p-69b8d98e.entry.js +1 -0
  119. package/dist/cobalt/{p-532baca4.entry.js → p-6b089060.entry.js} +1 -1
  120. package/dist/cobalt/{p-ceb85838.entry.js → p-6b256d01.entry.js} +1 -1
  121. package/dist/cobalt/{p-c9528a5f.entry.js → p-7c6b3175.entry.js} +1 -1
  122. package/dist/cobalt/{p-431cec34.entry.js → p-7d077a7c.entry.js} +1 -1
  123. package/dist/cobalt/{p-cbac0a11.entry.js → p-7f4bf341.entry.js} +1 -1
  124. package/dist/cobalt/p-869c338a.entry.js +1 -0
  125. package/dist/cobalt/p-890296f9.entry.js +1 -0
  126. package/dist/cobalt/{p-7178113f.entry.js → p-8fe08257.entry.js} +1 -1
  127. package/dist/cobalt/p-913b2a14.entry.js +1 -0
  128. package/dist/cobalt/{p-5b84cf37.entry.js → p-959556f4.entry.js} +1 -1
  129. package/dist/cobalt/{p-331a0108.entry.js → p-99c1ff0f.entry.js} +1 -1
  130. package/dist/cobalt/p-BMdapAL8.js +1 -0
  131. package/dist/cobalt/p-BU7SQCje.js +1 -0
  132. package/dist/cobalt/p-CF8OB_TM.js +1 -0
  133. package/dist/cobalt/p-CnNpoKwg.js +1 -0
  134. package/dist/cobalt/{p-ba5c6aa7.entry.js → p-a04feb70.entry.js} +1 -1
  135. package/dist/cobalt/p-a4f39ba2.entry.js +1 -0
  136. package/dist/cobalt/{p-d3a1a604.entry.js → p-a7c23027.entry.js} +1 -1
  137. package/dist/cobalt/p-ab8e150e.entry.js +1 -0
  138. package/dist/cobalt/{p-69ce2269.entry.js → p-acdb68a7.entry.js} +1 -1
  139. package/dist/cobalt/{p-3b9be8a8.entry.js → p-afd957c0.entry.js} +1 -1
  140. package/dist/cobalt/{p-c3004e1c.entry.js → p-b45ea918.entry.js} +1 -1
  141. package/dist/cobalt/{p-eeed80ac.entry.js → p-bad7ce84.entry.js} +1 -1
  142. package/dist/cobalt/{p-bcd38114.entry.js → p-bebacee2.entry.js} +1 -1
  143. package/dist/cobalt/{p-ec9dd3a3.entry.js → p-c32949a5.entry.js} +1 -1
  144. package/dist/cobalt/p-cd5555d2.entry.js +1 -0
  145. package/dist/cobalt/p-cd96aabf.entry.js +1 -0
  146. package/dist/cobalt/{p-2661557c.entry.js → p-ce961fba.entry.js} +1 -1
  147. package/dist/cobalt/p-d56b8a1f.entry.js +1 -0
  148. package/dist/cobalt/{p-c7d9ff39.entry.js → p-d6fff135.entry.js} +1 -1
  149. package/dist/cobalt/{p-6b38e8fb.entry.js → p-d71b87d3.entry.js} +1 -1
  150. package/dist/cobalt/{p-ff581807.entry.js → p-d83e5189.entry.js} +1 -1
  151. package/dist/cobalt/{p-741cf623.entry.js → p-dc269096.entry.js} +1 -1
  152. package/dist/cobalt/{p-e4555fda.entry.js → p-dc8e88f4.entry.js} +1 -1
  153. package/dist/cobalt/p-de5a05fc.entry.js +1 -0
  154. package/dist/cobalt/{p-0110108f.entry.js → p-df63f23c.entry.js} +1 -1
  155. package/dist/cobalt/{p-9fab9c1f.entry.js → p-e2188319.entry.js} +1 -1
  156. package/dist/cobalt/p-f0c589ad.entry.js +1 -0
  157. package/dist/cobalt/p-f4370423.entry.js +1 -0
  158. package/dist/cobalt/{p-b87a2e7a.entry.js → p-f4e4bebf.entry.js} +1 -1
  159. package/dist/cobalt/p-f53b9536.entry.js +1 -0
  160. package/dist/cobalt/{p-bb00ae4a.entry.js → p-f7ae0228.entry.js} +1 -1
  161. package/dist/collection/collection-manifest.json +6 -0
  162. package/dist/collection/components/co-action-bar/co-action-bar.css +148 -0
  163. package/dist/collection/components/co-action-bar/co-action-bar.js +247 -0
  164. package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
  165. package/dist/collection/components/co-audio-player/co-audio-player.css +58 -0
  166. package/dist/collection/components/co-audio-player/co-audio-player.js +453 -0
  167. package/dist/collection/components/co-audio-player/co-audio-player.utils.js +44 -0
  168. package/dist/collection/components/co-badge/co-badge.js +1 -1
  169. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
  170. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +1 -1
  171. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +2 -2
  172. package/dist/collection/components/co-button/co-button.css +19 -0
  173. package/dist/collection/components/co-button/co-button.js +31 -5
  174. package/dist/collection/components/co-button-group/co-button-group.js +2 -2
  175. package/dist/collection/components/co-calendar/co-calendar.js +1 -1
  176. package/dist/collection/components/co-calendar-month/co-calendar-month.css +52 -3
  177. package/dist/collection/components/co-calendar-month/co-calendar-month.js +238 -55
  178. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.css +265 -0
  179. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +1305 -0
  180. package/dist/collection/components/co-card/co-card.js +2 -2
  181. package/dist/collection/components/co-carousel/co-carousel.js +2 -2
  182. package/dist/collection/components/co-carousel-item/co-carousel-item.js +1 -1
  183. package/dist/collection/components/co-checkbox/co-checkbox.css +1 -1
  184. package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
  185. package/dist/collection/components/co-chip/co-chip.js +2 -2
  186. package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
  187. package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
  188. package/dist/collection/components/co-data-table/co-data-table.css +4 -4
  189. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  190. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  191. package/dist/collection/components/co-date-range/co-date-range.js +1 -1
  192. package/dist/collection/components/co-date-time-picker/co-date-time-picker.css +325 -0
  193. package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +1079 -0
  194. package/dist/collection/components/co-drawer/co-drawer.css +46 -0
  195. package/dist/collection/components/co-drawer/co-drawer.js +1 -1
  196. package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
  197. package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
  198. package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
  199. package/dist/collection/components/co-event-calendar/co-event-calendar.css +19 -7
  200. package/dist/collection/components/co-event-calendar/co-event-calendar.js +342 -39
  201. package/dist/collection/components/co-event-popover/co-event-popover.css +26 -0
  202. package/dist/collection/components/co-event-popover/co-event-popover.js +326 -0
  203. package/dist/collection/components/co-fab/co-fab.js +2 -2
  204. package/dist/collection/components/co-file-field/co-file-field.js +5 -5
  205. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
  206. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  207. package/dist/collection/components/co-icon/co-icon.js +2 -2
  208. package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
  209. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  210. package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
  211. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  212. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  213. package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
  214. package/dist/collection/components/co-menu/co-menu.js +1 -1
  215. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  216. package/dist/collection/components/co-menu-item/co-menu-item.css +21 -0
  217. package/dist/collection/components/co-menu-item/co-menu-item.js +20 -1
  218. package/dist/collection/components/co-modal/co-modal.js +2 -2
  219. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  220. package/dist/collection/components/co-number-field/co-number-field.js +2 -2
  221. package/dist/collection/components/co-option-list/co-option-list.css +18 -0
  222. package/dist/collection/components/co-option-list/co-option-list.js +127 -5
  223. package/dist/collection/components/co-option-list/optionListLogic.js +13 -0
  224. package/dist/collection/components/co-overlay/co-overlay.js +1 -1
  225. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  226. package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
  227. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  228. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  229. package/dist/collection/components/co-provider-logo/co-provider-logo.css +23 -0
  230. package/dist/collection/components/co-provider-logo/co-provider-logo.js +124 -0
  231. package/dist/collection/components/co-radio/co-radio.js +3 -3
  232. package/dist/collection/components/co-rating/co-rating.js +3 -3
  233. package/dist/collection/components/co-ref-field/co-ref-field.js +6 -2
  234. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +11 -0
  235. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +3 -3
  236. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.css +8 -0
  237. package/dist/collection/components/co-row/co-row.js +2 -2
  238. package/dist/collection/components/co-select/co-select.js +1 -1
  239. package/dist/collection/components/co-separator/co-separator.js +1 -1
  240. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  241. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +12 -2
  242. package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
  243. package/dist/collection/components/co-slider/co-slider.js +2 -2
  244. package/dist/collection/components/co-switch/co-switch.js +3 -3
  245. package/dist/collection/components/co-tab/co-tab.js +2 -2
  246. package/dist/collection/components/co-tab-group/co-tab-group.css +25 -0
  247. package/dist/collection/components/co-tab-group/co-tab-group.js +18 -2
  248. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  249. package/dist/collection/components/co-textarea/co-textarea.js +4 -4
  250. package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
  251. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
  252. package/dist/collection/components/co-tooltip/co-tooltip.js +2 -2
  253. package/dist/collection/components/co-video/co-video.js +2 -2
  254. package/dist/collection/utils/dateI18n.js +21 -0
  255. package/dist/collection/utils/eventColor.js +52 -0
  256. package/dist/collection/utils/positioning.js +10 -0
  257. package/dist/components/co-accordion.js +1 -1
  258. package/dist/components/co-action-bar.d.ts +11 -0
  259. package/dist/components/co-action-bar.js +1 -0
  260. package/dist/components/co-app-shell.js +1 -1
  261. package/dist/components/co-audio-player.d.ts +11 -0
  262. package/dist/components/co-audio-player.js +1 -0
  263. package/dist/components/co-autocomplete.js +1 -1
  264. package/dist/components/co-avatar-group.js +1 -1
  265. package/dist/components/co-avatar.js +1 -1
  266. package/dist/components/co-badge.js +1 -1
  267. package/dist/components/co-bottom-sheet.js +1 -1
  268. package/dist/components/co-breadcrumb-item.js +1 -1
  269. package/dist/components/co-breadcrumb.js +1 -1
  270. package/dist/components/co-button-group.js +1 -1
  271. package/dist/components/co-button.js +1 -1
  272. package/dist/components/co-calendar-month.js +1 -1
  273. package/dist/components/co-calendar-timegrid.d.ts +11 -0
  274. package/dist/components/co-calendar-timegrid.js +1 -0
  275. package/dist/components/co-calendar.js +1 -1
  276. package/dist/components/co-card.js +1 -1
  277. package/dist/components/co-carousel-item.js +1 -1
  278. package/dist/components/co-carousel.js +1 -1
  279. package/dist/components/co-checkbox-group.js +1 -1
  280. package/dist/components/co-checkbox.js +1 -1
  281. package/dist/components/co-chip.js +1 -1
  282. package/dist/components/co-color-picker.js +1 -1
  283. package/dist/components/co-column-picker.js +1 -1
  284. package/dist/components/co-combobox.js +1 -1
  285. package/dist/components/co-command-search.js +1 -1
  286. package/dist/components/co-data-table-pagination.js +1 -1
  287. package/dist/components/co-data-table.js +1 -1
  288. package/dist/components/co-date-field.js +1 -1
  289. package/dist/components/co-date-picker.js +1 -1
  290. package/dist/components/co-date-range-picker.js +1 -1
  291. package/dist/components/co-date-range.js +1 -1
  292. package/dist/components/co-date-time-picker.d.ts +11 -0
  293. package/dist/components/co-date-time-picker.js +1 -0
  294. package/dist/components/co-drawer.js +1 -1
  295. package/dist/components/co-drive-card.js +1 -1
  296. package/dist/components/co-drop-zone.js +1 -1
  297. package/dist/components/co-empty-state.js +1 -1
  298. package/dist/components/co-event-calendar.js +1 -1
  299. package/dist/components/co-event-popover.d.ts +11 -0
  300. package/dist/components/co-event-popover.js +1 -0
  301. package/dist/components/co-fab.js +1 -1
  302. package/dist/components/co-file-field.js +1 -1
  303. package/dist/components/co-file-type-tile.js +1 -1
  304. package/dist/components/co-helper-text.js +1 -1
  305. package/dist/components/co-icon-button.js +1 -1
  306. package/dist/components/co-icon.js +1 -1
  307. package/dist/components/co-input.js +1 -1
  308. package/dist/components/co-json-field.js +1 -1
  309. package/dist/components/co-lightbox.js +1 -1
  310. package/dist/components/co-list-footer.js +1 -1
  311. package/dist/components/co-list-item.js +1 -1
  312. package/dist/components/co-media-thumb.js +1 -1
  313. package/dist/components/co-menu-divider.js +1 -1
  314. package/dist/components/co-menu-item.js +1 -1
  315. package/dist/components/co-menu.js +1 -1
  316. package/dist/components/co-modal.js +1 -1
  317. package/dist/components/co-navbar.js +1 -1
  318. package/dist/components/co-number-field.js +1 -1
  319. package/dist/components/co-option-list.js +1 -1
  320. package/dist/components/co-overlay.js +1 -1
  321. package/dist/components/co-page-header.js +1 -1
  322. package/dist/components/co-phone-field.js +1 -1
  323. package/dist/components/co-popover.js +1 -1
  324. package/dist/components/co-progress-bar.js +1 -1
  325. package/dist/components/co-progress-circle.js +1 -1
  326. package/dist/components/co-provider-logo.d.ts +11 -0
  327. package/dist/components/co-provider-logo.js +1 -0
  328. package/dist/components/co-radio-group.js +1 -1
  329. package/dist/components/co-radio.js +1 -1
  330. package/dist/components/co-rating.js +1 -1
  331. package/dist/components/co-ref-field.js +1 -1
  332. package/dist/components/co-rich-text-editor.js +1 -1
  333. package/dist/components/co-rich-text-toolbar.js +1 -1
  334. package/dist/components/co-row.js +1 -1
  335. package/dist/components/co-select.js +1 -1
  336. package/dist/components/co-separator.js +1 -1
  337. package/dist/components/co-sidebar-nav.js +1 -1
  338. package/dist/components/co-sidebar.js +1 -1
  339. package/dist/components/co-skeleton.js +1 -1
  340. package/dist/components/co-slider.js +1 -1
  341. package/dist/components/co-switch.js +1 -1
  342. package/dist/components/co-tab-group.js +1 -1
  343. package/dist/components/co-tab.js +1 -1
  344. package/dist/components/co-tags-field.js +1 -1
  345. package/dist/components/co-textarea.js +1 -1
  346. package/dist/components/co-toast.js +1 -1
  347. package/dist/components/co-toggle-button-group.js +1 -1
  348. package/dist/components/co-toggle-button.js +1 -1
  349. package/dist/components/co-tooltip.js +1 -1
  350. package/dist/components/co-transfer-list.js +1 -1
  351. package/dist/components/co-video.js +1 -1
  352. package/dist/components/p-B21rOC2Y.js +1 -0
  353. package/dist/components/{p-Cd3inFSL.js → p-BC6sxVVr.js} +1 -1
  354. package/dist/components/p-BMdapAL8.js +1 -0
  355. package/dist/components/p-BQFperIX.js +1 -0
  356. package/dist/components/{p-CQ-8domm.js → p-BXtiFFM2.js} +1 -1
  357. package/dist/components/{p-CmCsm4L-.js → p-BdArvV6T.js} +1 -1
  358. package/dist/components/p-BnkGlFYy.js +1 -0
  359. package/dist/components/p-C-5cLeKr.js +1 -0
  360. package/dist/components/p-CDWXNRpo.js +1 -0
  361. package/dist/components/p-CF8OB_TM.js +1 -0
  362. package/dist/components/{p-oV_1MoAN.js → p-CIWoKlGj.js} +1 -1
  363. package/dist/components/{p-Bul6EdDX.js → p-CVCEiwOS.js} +1 -1
  364. package/dist/components/{p-B0b9Etx4.js → p-CfeNhAHW.js} +1 -1
  365. package/dist/components/p-Ch837Ggl.js +1 -0
  366. package/dist/components/p-ChLib-si.js +1 -0
  367. package/dist/components/{p-DfpOEXHC.js → p-ChPooamL.js} +1 -1
  368. package/dist/components/p-CnNpoKwg.js +1 -0
  369. package/dist/components/{p-B7Yv00g9.js → p-D-3BTFRs.js} +1 -1
  370. package/dist/components/p-D0wrmRH8.js +1 -0
  371. package/dist/components/p-DZX7cEqP.js +1 -0
  372. package/dist/components/{p-B3U63yZw.js → p-DbISGXT_.js} +1 -1
  373. package/dist/components/p-Dxa7c4Ap.js +1 -0
  374. package/dist/components/p-T0MdU7sb.js +1 -0
  375. package/dist/components/{p-DwwxS5bY.js → p-W8Y8ZuPs.js} +1 -1
  376. package/dist/components/{p-9aNhJfTT.js → p-cteJszd-.js} +1 -1
  377. package/dist/components/p-e5KibEs8.js +1 -0
  378. package/dist/components/{p-Bzg5FPSA.js → p-mUoTCiYa.js} +1 -1
  379. package/dist/components/p-uZ2D6ESV.js +1 -0
  380. package/dist/components/{p-BtpRnpaF.js → p-ySi6UG0O.js} +1 -1
  381. package/dist/esm/co-action-bar.entry.js +87 -0
  382. package/dist/esm/co-app-shell.entry.js +2 -2
  383. package/dist/esm/co-audio-player.entry.js +277 -0
  384. package/dist/esm/co-avatar_2.entry.js +3 -3
  385. package/dist/esm/co-badge.entry.js +1 -1
  386. package/dist/esm/co-bottom-sheet.entry.js +3 -3
  387. package/dist/esm/co-breadcrumb-item.entry.js +2 -2
  388. package/dist/esm/co-breadcrumb.entry.js +1 -1
  389. package/dist/esm/co-button-group.entry.js +2 -2
  390. package/dist/esm/co-button.entry.js +12 -5
  391. package/dist/esm/co-calendar-month_2.entry.js +1598 -0
  392. package/dist/esm/co-calendar_3.entry.js +9 -9
  393. package/dist/esm/co-card.entry.js +2 -2
  394. package/dist/esm/co-carousel-item.entry.js +1 -1
  395. package/dist/esm/co-carousel.entry.js +3 -3
  396. package/dist/esm/co-checkbox.entry.js +4 -4
  397. package/dist/esm/co-chip_2.entry.js +95 -6
  398. package/dist/esm/co-color-picker.entry.js +2 -2
  399. package/dist/esm/co-column-picker.entry.js +2 -2
  400. package/dist/esm/co-data-table-pagination.entry.js +4 -4
  401. package/dist/esm/co-data-table.entry.js +1 -1
  402. package/dist/esm/co-date-picker.entry.js +1 -1
  403. package/dist/esm/co-date-range-picker.entry.js +2 -2
  404. package/dist/esm/co-date-range.entry.js +1 -1
  405. package/dist/esm/co-date-time-picker.entry.js +407 -0
  406. package/dist/esm/co-drive-card.entry.js +1 -1
  407. package/dist/esm/co-drop-zone.entry.js +1 -1
  408. package/dist/esm/co-empty-state.entry.js +2 -2
  409. package/dist/esm/co-event-calendar.entry.js +120 -19
  410. package/dist/esm/co-event-popover.entry.js +130 -0
  411. package/dist/esm/co-fab.entry.js +2 -2
  412. package/dist/esm/co-file-field.entry.js +5 -5
  413. package/dist/esm/co-file-type-tile.entry.js +2 -2
  414. package/dist/esm/co-helper-text.entry.js +2 -2
  415. package/dist/esm/co-icon-button.entry.js +1 -1
  416. package/dist/esm/co-icon.entry.js +2 -2
  417. package/dist/esm/co-json-field.entry.js +3 -3
  418. package/dist/esm/co-lightbox.entry.js +5 -5
  419. package/dist/esm/co-list-footer.entry.js +1 -1
  420. package/dist/esm/co-list-item.entry.js +4 -4
  421. package/dist/esm/co-media-thumb.entry.js +2 -2
  422. package/dist/esm/co-menu-divider.entry.js +1 -1
  423. package/dist/esm/co-menu-item.entry.js +2 -2
  424. package/dist/esm/co-menu.entry.js +1 -1
  425. package/dist/esm/co-modal.entry.js +2 -2
  426. package/dist/esm/co-navbar.entry.js +2 -2
  427. package/dist/esm/co-number-field.entry.js +2 -2
  428. package/dist/esm/co-overlay.entry.js +1 -1
  429. package/dist/esm/co-page-header.entry.js +1 -1
  430. package/dist/esm/co-phone-field.entry.js +1 -1
  431. package/dist/esm/co-popover.entry.js +1 -1
  432. package/dist/esm/co-progress-bar.entry.js +2 -2
  433. package/dist/esm/co-progress-circle.entry.js +2 -2
  434. package/dist/esm/co-provider-logo_2.entry.js +69 -0
  435. package/dist/esm/co-radio.entry.js +3 -3
  436. package/dist/esm/co-rating.entry.js +3 -3
  437. package/dist/esm/co-ref-field.entry.js +6 -2
  438. package/dist/esm/co-rich-text-editor.entry.js +4 -4
  439. package/dist/esm/co-rich-text-toolbar.entry.js +1 -1
  440. package/dist/esm/co-row.entry.js +2 -2
  441. package/dist/esm/co-select.entry.js +1 -1
  442. package/dist/esm/co-separator.entry.js +1 -1
  443. package/dist/esm/co-sidebar-nav.entry.js +12 -2
  444. package/dist/esm/co-sidebar.entry.js +2 -2
  445. package/dist/esm/co-slider.entry.js +2 -2
  446. package/dist/esm/co-switch.entry.js +3 -3
  447. package/dist/esm/co-tab-group.entry.js +19 -3
  448. package/dist/esm/co-tab.entry.js +2 -2
  449. package/dist/esm/co-tags-field.entry.js +5 -5
  450. package/dist/esm/co-textarea.entry.js +4 -4
  451. package/dist/esm/co-toggle-button-group.entry.js +2 -2
  452. package/dist/esm/co-toggle-button.entry.js +2 -2
  453. package/dist/esm/co-video.entry.js +2 -2
  454. package/dist/esm/cobalt.js +1 -1
  455. package/dist/esm/{dateI18n-C1DCLOEl.js → dateI18n-CnNpoKwg.js} +21 -0
  456. package/dist/esm/{dates-tPYikBRJ.js → dates-BU7SQCje.js} +64 -13
  457. package/dist/esm/index-BCEz3S-z.js +28 -12
  458. package/dist/esm/loader.js +1 -1
  459. package/dist/esm/{positioning-C2mZ7x_Y.js → positioning-BMdapAL8.js} +10 -0
  460. package/dist/esm/time-CF8OB_TM.js +37 -0
  461. package/dist/esm/{tz-B6JZk8fL.js → tz-1EK-COrb.js} +1 -1
  462. package/dist/types/components/co-action-bar/co-action-bar.d.ts +66 -0
  463. package/dist/types/components/co-audio-player/co-audio-player.d.ts +62 -0
  464. package/dist/types/components/co-audio-player/co-audio-player.utils.d.ts +11 -0
  465. package/dist/types/components/co-button/co-button.d.ts +18 -1
  466. package/dist/types/components/co-calendar-month/co-calendar-month.d.ts +33 -1
  467. package/dist/types/components/co-calendar-timegrid/co-calendar-timegrid.d.ts +178 -0
  468. package/dist/types/components/co-date-time-picker/co-date-time-picker.d.ts +131 -0
  469. package/dist/types/components/co-event-calendar/co-event-calendar.d.ts +61 -8
  470. package/dist/types/components/co-event-popover/co-event-popover.d.ts +45 -0
  471. package/dist/types/components/co-menu-item/co-menu-item.d.ts +3 -0
  472. package/dist/types/components/co-option-list/co-option-list.d.ts +23 -0
  473. package/dist/types/components/co-option-list/optionListLogic.d.ts +3 -0
  474. package/dist/types/components/co-provider-logo/co-provider-logo.d.ts +17 -0
  475. package/dist/types/components/co-ref-field/co-ref-field.d.ts +1 -0
  476. package/dist/types/components/co-tab-group/co-tab-group.d.ts +5 -0
  477. package/dist/types/components.d.ts +1245 -76
  478. package/dist/types/utils/dateI18n.d.ts +7 -0
  479. package/dist/types/utils/eventColor.d.ts +20 -0
  480. package/package.json +2 -2
  481. package/dist/cjs/co-calendar-month.cjs.entry.js +0 -381
  482. package/dist/cjs/co-skeleton.cjs.entry.js +0 -26
  483. package/dist/cobalt/p-037cc571.entry.js +0 -1
  484. package/dist/cobalt/p-0b92167a.entry.js +0 -1
  485. package/dist/cobalt/p-0bc5a962.entry.js +0 -1
  486. package/dist/cobalt/p-30c80e3a.entry.js +0 -1
  487. package/dist/cobalt/p-36ad3a96.entry.js +0 -1
  488. package/dist/cobalt/p-3ecbbe93.entry.js +0 -1
  489. package/dist/cobalt/p-3f1030fb.entry.js +0 -1
  490. package/dist/cobalt/p-3f7215e7.entry.js +0 -1
  491. package/dist/cobalt/p-54857f78.entry.js +0 -1
  492. package/dist/cobalt/p-585c132d.entry.js +0 -1
  493. package/dist/cobalt/p-59b114ab.entry.js +0 -1
  494. package/dist/cobalt/p-5d0510a5.entry.js +0 -1
  495. package/dist/cobalt/p-5e246304.entry.js +0 -1
  496. package/dist/cobalt/p-C1DCLOEl.js +0 -1
  497. package/dist/cobalt/p-C2mZ7x_Y.js +0 -1
  498. package/dist/cobalt/p-c589ae25.entry.js +0 -1
  499. package/dist/cobalt/p-c635417b.entry.js +0 -1
  500. package/dist/cobalt/p-cd28aa6d.entry.js +0 -1
  501. package/dist/cobalt/p-d71b800a.entry.js +0 -1
  502. package/dist/cobalt/p-df752f6e.entry.js +0 -1
  503. package/dist/cobalt/p-fffeb610.entry.js +0 -1
  504. package/dist/cobalt/p-tPYikBRJ.js +0 -1
  505. package/dist/components/p-BTa6ss5i.js +0 -1
  506. package/dist/components/p-C1DCLOEl.js +0 -1
  507. package/dist/components/p-C2mZ7x_Y.js +0 -1
  508. package/dist/components/p-CVeEoHr7.js +0 -1
  509. package/dist/components/p-CYi6V_Ss.js +0 -1
  510. package/dist/components/p-CuQjKAf5.js +0 -1
  511. package/dist/components/p-CyYF8IJE.js +0 -1
  512. package/dist/components/p-DKvTqEaf.js +0 -1
  513. package/dist/components/p-T0UfY6rA.js +0 -1
  514. package/dist/esm/co-calendar-month.entry.js +0 -379
  515. package/dist/esm/co-skeleton.entry.js +0 -24
@@ -0,0 +1,124 @@
1
+ import { h } from "@stencil/core";
2
+ /** Marcas oficiales, con sus colores. NO se tokenizan: un logo recoloreado
3
+ * deja de ser el logo (misma excepción que aplica el host para brand icons). */
4
+ const BRANDS = {
5
+ google: {
6
+ viewBox: '0 0 48 48',
7
+ paths: [
8
+ { fill: '#EA4335', d: 'M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z' },
9
+ { fill: '#4285F4', d: 'M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z' },
10
+ { fill: '#FBBC05', d: 'M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z' },
11
+ { fill: '#34A853', d: 'M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z' },
12
+ ],
13
+ },
14
+ microsoft: {
15
+ viewBox: '0 0 23 23',
16
+ paths: [
17
+ { fill: '#F25022', d: 'M1 1h10v10H1z' },
18
+ { fill: '#7FBA00', d: 'M12 1h10v10H12z' },
19
+ { fill: '#00A4EF', d: 'M1 12h10v10H1z' },
20
+ { fill: '#FFB900', d: 'M12 12h10v10H12z' },
21
+ ],
22
+ },
23
+ };
24
+ /**
25
+ * Logo de marca de un proveedor externo (Google, Microsoft), a color y
26
+ * self-contained (SVG inline — nunca una URL remota).
27
+ *
28
+ * `plated` lo monta sobre un disco blanco: es lo que hace legible una marca a
29
+ * color cuando va encima de una superficie teñida (el badge de un evento de
30
+ * calendario externo, que hereda el color del calendario).
31
+ */
32
+ export class CoProviderLogo {
33
+ constructor() {
34
+ /** Lado del logo en px (los viewBox son cuadrados). */
35
+ this.size = 16;
36
+ /** Disco blanco de fondo para contraste sobre superficies de color. */
37
+ this.plated = false;
38
+ }
39
+ render() {
40
+ var _a;
41
+ const key = String((_a = this.provider) !== null && _a !== void 0 ? _a : '').toLowerCase();
42
+ const brand = BRANDS[key.includes('outlook') ? 'microsoft' : key];
43
+ if (!brand)
44
+ return null;
45
+ // El disco crece sobre el logo para que la marca respire dentro del plato.
46
+ const box = this.plated ? Math.round(this.size * 1.5) : this.size;
47
+ return (h("span", { class: { 'co-provider-logo': true, 'co-provider-logo--plated': this.plated }, style: { width: `${box}px`, height: `${box}px` }, part: "root" }, h("svg", { width: this.size, height: this.size, viewBox: brand.viewBox, "aria-hidden": "true", focusable: "false" }, brand.paths.map((p) => (h("path", { fill: p.fill, d: p.d }))))));
48
+ }
49
+ static get is() { return "co-provider-logo"; }
50
+ static get encapsulation() { return "shadow"; }
51
+ static get originalStyleUrls() {
52
+ return {
53
+ "$": ["co-provider-logo.css"]
54
+ };
55
+ }
56
+ static get styleUrls() {
57
+ return {
58
+ "$": ["co-provider-logo.css"]
59
+ };
60
+ }
61
+ static get properties() {
62
+ return {
63
+ "provider": {
64
+ "type": "string",
65
+ "mutable": false,
66
+ "complexType": {
67
+ "original": "string",
68
+ "resolved": "string",
69
+ "references": {}
70
+ },
71
+ "required": true,
72
+ "optional": false,
73
+ "docs": {
74
+ "tags": [],
75
+ "text": "Proveedor: `google` | `microsoft`. Uno desconocido no pinta nada."
76
+ },
77
+ "getter": false,
78
+ "setter": false,
79
+ "reflect": true,
80
+ "attribute": "provider"
81
+ },
82
+ "size": {
83
+ "type": "number",
84
+ "mutable": false,
85
+ "complexType": {
86
+ "original": "number",
87
+ "resolved": "number",
88
+ "references": {}
89
+ },
90
+ "required": false,
91
+ "optional": false,
92
+ "docs": {
93
+ "tags": [],
94
+ "text": "Lado del logo en px (los viewBox son cuadrados)."
95
+ },
96
+ "getter": false,
97
+ "setter": false,
98
+ "reflect": false,
99
+ "attribute": "size",
100
+ "defaultValue": "16"
101
+ },
102
+ "plated": {
103
+ "type": "boolean",
104
+ "mutable": false,
105
+ "complexType": {
106
+ "original": "boolean",
107
+ "resolved": "boolean",
108
+ "references": {}
109
+ },
110
+ "required": false,
111
+ "optional": false,
112
+ "docs": {
113
+ "tags": [],
114
+ "text": "Disco blanco de fondo para contraste sobre superficies de color."
115
+ },
116
+ "getter": false,
117
+ "setter": false,
118
+ "reflect": true,
119
+ "attribute": "plated",
120
+ "defaultValue": "false"
121
+ }
122
+ };
123
+ }
124
+ }
@@ -17,15 +17,15 @@ export class CoRadio {
17
17
  };
18
18
  }
19
19
  render() {
20
- return (h("div", { key: '65bc1f5e350693d2ccbe1fb7e83af03bee729904', class: {
20
+ return (h("div", { key: '336f85ea727de12ef444126ba6f428957463663c', class: {
21
21
  'co-radio-row': true,
22
22
  'co-radio-row--disabled': this.disabled,
23
- }, onClick: this.handleClick }, h("button", { key: '16dfd7001260a09ef6c77b85b8d3b9b465a3fa98', role: "radio", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
23
+ }, onClick: this.handleClick }, h("button", { key: '9f703411fc244639599918c9673e166ca6b820a6', role: "radio", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
24
24
  'co-radio': true,
25
25
  [`co-radio--${this.size}`]: true,
26
26
  'co-radio--checked': this.checked,
27
27
  'co-radio--disabled': this.disabled,
28
- }, disabled: this.disabled, part: "circle" }), this.label && (h("span", { key: '87ae90a0b64ca95b0806599f16f7770e06329dfc', class: "co-radio__label", part: "label" }, this.label))));
28
+ }, disabled: this.disabled, part: "circle" }), this.label && (h("span", { key: 'f7f027f702b41e9b52f281cb80ef05d57f0fae1b', class: "co-radio__label", part: "label" }, this.label))));
29
29
  }
30
30
  static get is() { return "co-radio"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -36,16 +36,16 @@ export class CoRating {
36
36
  const iconSize = this.size === 'large' ? 28 : 20;
37
37
  const active = this.hoverValue || this.value;
38
38
  const stars = Array.from({ length: this.max }, (_, i) => i + 1);
39
- return (h("div", { key: '0c7b3f29a8dd3604712402d76d97e7bd89d5009f', class: {
39
+ return (h("div", { key: '1f30917baf6de9922ebf76214c324b2669046f98', class: {
40
40
  'co-rating': true,
41
41
  'co-rating--disabled': this.disabled,
42
42
  'co-rating--readonly': this.readOnly,
43
43
  [`co-rating--${this.size}`]: true,
44
- } }, this.label && h("label", { key: 'a371c03388a9854bbaaf7a9388159a7684a90c2f', class: "co-rating__label" }, this.label), h("div", { key: '0479a6b098fe059d800bc1c33b833a3c67f0f2c7', class: "co-rating__stars", onMouseLeave: this.handleMouseLeave }, stars.map(star => (h("button", { class: {
44
+ } }, this.label && h("label", { key: 'f03d4bd39a49f4e16d5724478f4c0f15ac3a8c92', class: "co-rating__label" }, this.label), h("div", { key: '96301d47ba510e923f0abd3f5fff63b5f8437099', class: "co-rating__stars", onMouseLeave: this.handleMouseLeave }, stars.map(star => (h("button", { class: {
45
45
  'co-rating__star': true,
46
46
  'co-rating__star--active': star <= active,
47
47
  'co-rating__star--hover': this.hoverValue > 0 && star <= this.hoverValue,
48
- }, type: "button", tabIndex: this.disabled || this.readOnly ? -1 : 0, disabled: this.disabled, onClick: () => this.handleClick(star), onMouseEnter: () => this.handleMouseEnter(star), "aria-label": `${star} of ${this.max}` }, h("co-icon", { name: this.icon, size: iconSize, weight: star <= active ? 'fill' : 'regular' }))))), this.helperText && (h("div", { key: '18267dee4784ba5c2a49acb12374f7d1ae696cdd', class: `co-rating__helper co-rating__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: 'be16cbf699c2e9360d90106546b8150b3329885b', name: this.statusIcon, size: 14, weight: "fill", class: "co-rating__helper-icon" }), h("span", { key: 'c7f3f02d072ded7d59bd0a23ff4a6de9cb73cf72', class: "co-rating__helper-text" }, this.helperText)))));
48
+ }, type: "button", tabIndex: this.disabled || this.readOnly ? -1 : 0, disabled: this.disabled, onClick: () => this.handleClick(star), onMouseEnter: () => this.handleMouseEnter(star), "aria-label": `${star} of ${this.max}` }, h("co-icon", { name: this.icon, size: iconSize, weight: star <= active ? 'fill' : 'regular' }))))), this.helperText && (h("div", { key: '4e84ece3536c2e028057be76910eae6fa3ac6228', class: `co-rating__helper co-rating__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: 'a24e3451108027dc941c96dbf03988e1cab92424', name: this.statusIcon, size: 14, weight: "fill", class: "co-rating__helper-icon" }), h("span", { key: '734bc0b5515d95ac1d5545b20842d949e35a0d87', class: "co-rating__helper-text" }, this.helperText)))));
49
49
  }
50
50
  static get is() { return "co-rating"; }
51
51
  static get encapsulation() { return "shadow"; }
@@ -99,6 +99,10 @@ export class CoRefField {
99
99
  this.isOpen = false;
100
100
  }
101
101
  };
102
+ this.handleReorder = (detail) => {
103
+ this.value = JSON.stringify(detail.value);
104
+ this.coChange.emit({ value: detail.value, item: detail.item });
105
+ };
102
106
  this.handleClear = (e) => {
103
107
  e.stopPropagation();
104
108
  this.value = this.multiple ? '[]' : '';
@@ -316,11 +320,11 @@ export class CoRefField {
316
320
  'co-ref-field__panel': true,
317
321
  'co-ref-field__panel--dark': this.panelTheme === 'dark',
318
322
  'co-ref-field__panel--light': this.panelTheme === 'light',
319
- } }, h("co-option-list", { ref: (el) => (this.optionListEl = el), items: typeof this.options === 'string' ? this.options : JSON.stringify(this.options), value: this.value, selectedItems: typeof this.selectedDisplay === 'string' ? this.selectedDisplay : JSON.stringify(this.selectedDisplay), multiple: this.multiple, selectedFirst: this.multiple, selectedAffordance: "deselect", searchable: this.searchable, searchPlaceholder: this.searchPlaceholder, searchDebounce: this.searchDebounce, loading: this.loading, total: this.total, emptyMessage: this.emptyMessage, avatarShape: this.avatarShape, onCoSearch: (e) => this.coSearch.emit(e.detail), onCoChange: (e) => this.handleOptionClick(e.detail.item), onCoLoadMore: () => this.coLoadMore.emit() }, this.showFooter && (h("div", { class: "co-ref-field__footer", slot: "footer" }, h("button", { class: "co-ref-field__footer-btn co-ref-field__footer-btn--secondary", type: "button", onClick: this.handleFooterSecondary }, h("co-icon", { name: "plus", size: 16 }), h("span", null, this.footerSecondaryLabel)), h("button", { class: "co-ref-field__footer-btn co-ref-field__footer-btn--primary", type: "button", onClick: this.handleFooterPrimary }, h("co-icon", { name: "check", size: 16 }), h("span", null, this.footerPrimaryLabel)))))));
323
+ } }, h("co-option-list", { ref: (el) => (this.optionListEl = el), items: typeof this.options === 'string' ? this.options : JSON.stringify(this.options), value: this.value, selectedItems: typeof this.selectedDisplay === 'string' ? this.selectedDisplay : JSON.stringify(this.selectedDisplay), multiple: this.multiple, selectedFirst: this.multiple, reorderable: this.multiple, selectedAffordance: "deselect", searchable: this.searchable, searchPlaceholder: this.searchPlaceholder, searchDebounce: this.searchDebounce, loading: this.loading, total: this.total, emptyMessage: this.emptyMessage, avatarShape: this.avatarShape, onCoSearch: (e) => this.coSearch.emit(e.detail), onCoChange: (e) => this.handleOptionClick(e.detail.item), onCoReorder: (e) => this.handleReorder(e.detail), onCoLoadMore: () => this.coLoadMore.emit() }, this.showFooter && (h("div", { class: "co-ref-field__footer", slot: "footer" }, h("button", { class: "co-ref-field__footer-btn co-ref-field__footer-btn--secondary", type: "button", onClick: this.handleFooterSecondary }, h("co-icon", { name: "plus", size: 16 }), h("span", null, this.footerSecondaryLabel)), h("button", { class: "co-ref-field__footer-btn co-ref-field__footer-btn--primary", type: "button", onClick: this.handleFooterPrimary }, h("co-icon", { name: "check", size: 16 }), h("span", null, this.footerPrimaryLabel)))))));
320
324
  }
321
325
  // ── Main render ────────────────────────────────────────────
322
326
  render() {
323
- return (h("div", { key: '19b3543f876fa1396cb08ac5d24f0cdfdfff06ad', class: "co-ref-field" }, (this.label || this.secondaryLabel) && (h("div", { key: '2ae2a6946b2fecc67551acd7b1e966bb8b4fc392', class: "co-ref-field__labels" }, this.label && (h("label", { key: '0552bc35602d1f03ff68bb8cee9ab79a43b39a14', class: "co-ref-field__label" }, this.labelIcon && (h("co-icon", { key: 'b9731bccb2dcf66749e6240d83c25385c4bc312c', class: "co-ref-field__label-icon", name: this.labelIcon, size: 16 })), this.label, h(RequiredMark, { key: 'c49c5dd8d0bf8824363a1eba27386a6c87b64688', required: this.required }))), this.secondaryLabel && (h("span", { key: '2c23a1ab30fe332e7d80d02f162876f1d56d5817', class: "co-ref-field__secondary-label" }, this.secondaryLabel)))), h("co-popover", { key: '91ac16f115e0d631a27bf6fae212dffba274cbcb', open: this.isOpen, placement: "bottom-start", matchWidth: true, offset: 4, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("div", { key: '410a56a47f7092904d09d41cb2e269b8627b8151', slot: "trigger" }, this.renderTrigger()), this.isOpen && this.renderPanel()), this.helperText && (h("div", { key: '044055f24a9cf11eacd22383d793c2133b555419', class: `co-ref-field__helper co-ref-field__helper--${this.status}` }, this.status !== 'default' && (h("co-icon", { key: '96dd504f4900f394370ad938b458f044abd2aa9a', name: this.status === 'error' ? 'warning-circle' : this.status === 'success' ? 'check-circle' : 'info', size: 14 })), h("span", { key: 'ac4bc95df2bb54dc7b60fc5fa098f8cf40c81153' }, this.helperText)))));
327
+ return (h("div", { key: '0ce5a3a17573be110e31d9b9a852c9d38920ebe7', class: "co-ref-field" }, (this.label || this.secondaryLabel) && (h("div", { key: 'd8e57aa53a86c4a7eea93f5eb5bf599172028c8b', class: "co-ref-field__labels" }, this.label && (h("label", { key: '85047359916520cb24dd41806bc55105d58546c0', class: "co-ref-field__label" }, this.labelIcon && (h("co-icon", { key: '1a915ad0d00edde85e5a42c6aca46dd51d6934cd', class: "co-ref-field__label-icon", name: this.labelIcon, size: 16 })), this.label, h(RequiredMark, { key: '117e40254873f5736cf0adf41f8e075975e46c28', required: this.required }))), this.secondaryLabel && (h("span", { key: '054f1fe59359d4dafda008396867f1c9b70607cb', class: "co-ref-field__secondary-label" }, this.secondaryLabel)))), h("co-popover", { key: '56dbfeb3560e771908e9e0c4d41c34b0a69c8db4', open: this.isOpen, placement: "bottom-start", matchWidth: true, offset: 4, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("div", { key: '4fe5a05e993c561d5e721c778ed55e71a3e26260', slot: "trigger" }, this.renderTrigger()), this.isOpen && this.renderPanel()), this.helperText && (h("div", { key: '9a49dcd557477db1c8460ee974682a13730b360e', class: `co-ref-field__helper co-ref-field__helper--${this.status}` }, this.status !== 'default' && (h("co-icon", { key: 'a8868a9cf707dd1b202a86c03ccab43778857fe8', name: this.status === 'error' ? 'warning-circle' : this.status === 'success' ? 'check-circle' : 'info', size: 14 })), h("span", { key: 'a11dbf26c8c975089d5e384316a154a2f03eab7b' }, this.helperText)))));
324
328
  }
325
329
  static get is() { return "co-ref-field"; }
326
330
  static get encapsulation() { return "shadow"; }
@@ -113,6 +113,17 @@ co-rich-text-editor {
113
113
  /* Must sit above the selection bubble (z-index 50) so toolbar dropdowns,
114
114
  color pickers and panels render on top of it instead of being crossed. */
115
115
  z-index: 60;
116
+ /* The frame rounds its corners but keeps `overflow: visible` (toolbar
117
+ dropdowns/bubbles must escape the box). Without matching top radii, the
118
+ toolbar's OPAQUE `surface-secondary` background — square-cornered and
119
+ flush at the top — paints over the frame's rounded top-border corners,
120
+ making the top border look "missing". Round the toolbar host to the
121
+ frame's INNER radius (frame radius − 1px border) so its background nests
122
+ just inside the border and the rounded corners stay visible. The inner
123
+ shadow-DOM `.co-rich-text-toolbar` picks this up via `border-radius:
124
+ inherit`. */
125
+ border-top-left-radius: calc(var(--co-border-radius-xs) - 1px);
126
+ border-top-right-radius: calc(var(--co-border-radius-xs) - 1px);
116
127
  }
117
128
 
118
129
  .co-rte-content {
@@ -2031,7 +2031,7 @@ export class CoRichTextEditor {
2031
2031
  render() {
2032
2032
  const showToolbar = this.resolvedToolbar !== 'none' && !this.readonly && !this.disabled;
2033
2033
  const showCount = this.showCharacterCount || this.maxLength != null;
2034
- return (h("div", { key: '68960896d888331319dc82779e73988d66dc57de', class: {
2034
+ return (h("div", { key: 'd600084f58be73fcade0b1a18111ccd1ab2a32ea', class: {
2035
2035
  'co-rich-text-editor': true,
2036
2036
  'co-rich-text-editor--focused': this.hasFocus,
2037
2037
  'co-rich-text-editor--disabled': this.disabled,
@@ -2039,10 +2039,10 @@ export class CoRichTextEditor {
2039
2039
  'co-rich-text-editor--loading': !this.ready,
2040
2040
  [`co-rich-text-editor--${this.status}`]: this.status !== 'default',
2041
2041
  'co-rich-text-editor--flat': this.variant === 'flat',
2042
- }, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: 'b62f26479fb2483bdbbe91102890b34d17a2a0e2', class: "co-rich-text-editor__labels" }, this.label && h("label", { key: '8f9938f7db575672bc7828a9631fbfd414e9f56b', class: "co-rich-text-editor__label", part: "label" }, this.label), this.secondaryLabel && (h("span", { key: '1011143f44b19a00c7eb5b4da92f876355fa512c', class: "co-rich-text-editor__secondary-label" }, this.secondaryLabel)))), h("div", { key: '4e9f178ac73859fc451d744af890611344f1356b', class: "co-rich-text-editor__frame" }, showToolbar && (h("co-rich-text-toolbar", { key: 'b26c97a093c7ec8f32a2103af0d932ee7a67c4c4', class: "co-rich-text-editor__toolbar", part: "toolbar", variant: this.resolvedToolbar, disabled: this.disabled || this.readonly, locale: this.locale, attachmentsEnabled: this.attachmentsEnabled, attachmentAccept: this.attachmentAccept, onCoAttachmentsSelected: (e) => {
2042
+ }, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: 'f692d9fdadcf547da8fd0ba485d69fe882b14580', class: "co-rich-text-editor__labels" }, this.label && h("label", { key: '77ef28fee83ee26782deca75f0310abea3cbf64d', class: "co-rich-text-editor__label", part: "label" }, this.label), this.secondaryLabel && (h("span", { key: 'f26ce7f7457414e3c1353e33aff2ae9e40522643', class: "co-rich-text-editor__secondary-label" }, this.secondaryLabel)))), h("div", { key: '20a121b30f139ec62b37a6248aa4309e71888771', class: "co-rich-text-editor__frame" }, showToolbar && (h("co-rich-text-toolbar", { key: '7391cf2bc71e6c9636222b055d614845201b4d05', class: "co-rich-text-editor__toolbar", part: "toolbar", variant: this.resolvedToolbar, disabled: this.disabled || this.readonly, locale: this.locale, attachmentsEnabled: this.attachmentsEnabled, attachmentAccept: this.attachmentAccept, onCoAttachmentsSelected: (e) => {
2043
2043
  e.stopPropagation();
2044
2044
  this.coAttachmentsSelected.emit(e.detail);
2045
- }, ref: (el) => (this.toolbarEl = el) })), h("div", { key: 'afcea2bd72ff458960dc8392042a5b40be198c60', class: "co-rich-text-editor__box" }, h("div", { key: '63909643a4f31c88bf4a1f8dbf912f802c9b4445', class: "co-rte-content", part: "content", role: "textbox", "aria-multiline": "true", "aria-label": this.label, "aria-required": this.required ? 'true' : undefined, "aria-invalid": this.status === 'error' ? 'true' : undefined, ref: (el) => (this.contentEl = el) }))), h("div", { key: '1ae75fba2960ca8b51b1b07fe1c7547d8519be06', class: "co-rich-text-editor__footer" }, this.helperText && (h("div", { key: '4785f2a71c576901c0fb8fba7be0a7caaf744338', class: `co-rich-text-editor__helper co-rich-text-editor__helper--${this.status}`, part: "helper" }, h("co-icon", { key: '8a8f5299c523630c7f83499f9e5a3322a5f977dd', name: this.helperIcon, size: 14 }), h("span", { key: '0d19604ce80786b32ab83b48ddf12948012b8e16' }, this.helperText))), showCount && (h("span", { key: 'a668807c60d0e00452dd88582c8bd1cb8f4fed20', class: "co-rich-text-editor__count", ref: (el) => (this.charCountEl = el) }, this.charCount, this.maxLength != null ? ` / ${this.maxLength}` : '')))));
2045
+ }, ref: (el) => (this.toolbarEl = el) })), h("div", { key: '22847c8d57d9e9a903a2e2c6ffb658ea61f9d0a7', class: "co-rich-text-editor__box" }, h("div", { key: '70bb598dd6435c913044c6e9ae8e743f63a7efc5', class: "co-rte-content", part: "content", role: "textbox", "aria-multiline": "true", "aria-label": this.label, "aria-required": this.required ? 'true' : undefined, "aria-invalid": this.status === 'error' ? 'true' : undefined, ref: (el) => (this.contentEl = el) }))), h("div", { key: 'c3875f25af1683b61eae18c3b0ddd7c07fe05970', class: "co-rich-text-editor__footer" }, this.helperText && (h("div", { key: 'd61a15129d7f5870126fb16ebd1bb9f069753000', class: `co-rich-text-editor__helper co-rich-text-editor__helper--${this.status}`, part: "helper" }, h("co-icon", { key: '4e75dfa744e3ba2240a0461f60bc407a85aa974e', name: this.helperIcon, size: 14 }), h("span", { key: '9a081b10f32da576769c6d7b11775a5d51c92951' }, this.helperText))), showCount && (h("span", { key: '82673395155bf73ff766d71c352d895d49f35539', class: "co-rich-text-editor__count", ref: (el) => (this.charCountEl = el) }, this.charCount, this.maxLength != null ? ` / ${this.maxLength}` : '')))));
2046
2046
  }
2047
2047
  static get is() { return "co-rich-text-editor"; }
2048
2048
  static get originalStyleUrls() {
@@ -19,6 +19,14 @@
19
19
  padding: var(--co-spacing-xs) var(--co-spacing-sm);
20
20
  border-bottom: 1px solid var(--co-semantic-border-subtle);
21
21
  background: var(--co-semantic-surface-secondary);
22
+ /* Follow whatever top radius the host is given (e.g. the editor rounds the
23
+ toolbar's top corners to nest inside the frame's rounded border). This
24
+ opaque background is what would otherwise square off / cover those
25
+ corners. Standalone toolbars leave the host radius at 0, so `inherit`
26
+ is a no-op there. Only the TOP corners round — the bottom edge is the
27
+ separator between toolbar and content and must stay flush. */
28
+ border-top-left-radius: inherit;
29
+ border-top-right-radius: inherit;
22
30
  }
23
31
 
24
32
  /* ── Fast CSS tooltips (replaces slow native title) ── */
@@ -13,11 +13,11 @@ export class CoRow {
13
13
  this.size = 'sm';
14
14
  }
15
15
  render() {
16
- return (h("div", { key: 'acd6c8b2a2c0331dcad0b0308f407a999e52f049', class: {
16
+ return (h("div", { key: '0a4400aebb95a4c221a9a084a7b4fdf6e2a22558', class: {
17
17
  'co-row': true,
18
18
  [`co-row--${this.position}`]: true,
19
19
  [`co-row--${this.size}`]: true,
20
- }, part: "row" }, h("div", { key: '3680dafc73ecf8c394a7dcbbd77fb89d73862c76', class: "co-row__prefix" }, h("slot", { key: '9b6629d967b4a88264481a25cd042c3ab01fa173', name: "prefix" })), h("div", { key: '7796ddafded2b51672f9ff4bcea3432faa855427', class: "co-row__content" }, h("slot", { key: 'fa09c61de348af277be8c5538bc95eb4b30faf07' })), h("div", { key: '1881efe091915d3f45a5ef8035970cebeb27def0', class: "co-row__suffix" }, h("slot", { key: '580c7f8d19a886f5d0efed9c8fdfcbb60daa0630', name: "suffix" }))));
20
+ }, part: "row" }, h("div", { key: 'a87e3439e72b8e620b23270c6748f02329980fa5', class: "co-row__prefix" }, h("slot", { key: '1ef9640ca87642e61c6f8d76a1ffc725b65ed8d4', name: "prefix" })), h("div", { key: '56236a111369b8b70b68b9b36211555f7161b7bc', class: "co-row__content" }, h("slot", { key: 'c8faefc9609037a804d3e6045732af338a6df276' })), h("div", { key: '11632f0b2c99357e03fb044f3f402ac240a5a543', class: "co-row__suffix" }, h("slot", { key: '9b0d002049447a1e49a8bbfd4da889ef3368def7', name: "suffix" }))));
21
21
  }
22
22
  static get is() { return "co-row"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -237,7 +237,7 @@ export class CoSelect {
237
237
  'co-select__option--disabled': isDisabled,
238
238
  }, onClick: () => !isDisabled && this.handleOptionClick(opt.value) }, opt.image ? (h("img", { class: "co-select__option-flag", src: opt.image, alt: "", loading: "lazy" })) : opt.icon ? (h("co-icon", { name: opt.icon, size: 20, class: "co-select__option-icon" })) : null, h("span", { class: "co-select__option-label" }, this.renderLabel(opt.label)), isSelected && h("co-icon", { name: "check", size: 16, class: "co-select__option-check" })));
239
239
  }))));
240
- })()))), this.helperText && (h("div", { key: 'b7f14d7e02dd3fe15be6c0f82b13df14edc0db60', class: `co-select__helper co-select__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '384f8ecbf6b20da23a7ff6e0b8e1745058e624ef', name: this.statusIcon, size: 14, weight: "fill", class: "co-select__helper-icon" }), h("span", { key: '26d47cad143f8d66819d497d4618893599665aff', class: "co-select__helper-text" }, this.helperText)))));
240
+ })()))), this.helperText && (h("div", { key: 'b7f14d7e02dd3fe15be6c0f82b13df14edc0db60', class: `co-select__helper co-select__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '80dbcc3fe68bbe9e89256fa7a3dae7d846280d33', name: this.statusIcon, size: 14, class: "co-select__helper-icon" }), h("span", { key: 'd2162ba7ac4c287720185295643ef1c3e2187c84', class: "co-select__helper-text" }, this.helperText)))));
241
241
  }
242
242
  static get is() { return "co-select"; }
243
243
  static get encapsulation() { return "shadow"; }
@@ -57,7 +57,7 @@ export class CoSeparator {
57
57
  style['--co-separator-inset-end'] = '0px';
58
58
  }
59
59
  }
60
- return (h("hr", { key: 'ef9b9d7c11ca50e1042ddb613ee3bbaaf7802972', class: {
60
+ return (h("hr", { key: 'fa1b1c05d8d5dfb77619036555d1d8a13590f33a', class: {
61
61
  'co-separator': true,
62
62
  'co-separator--vertical': this.vertical,
63
63
  'co-separator--dark': this.dark,
@@ -10,10 +10,10 @@ export class CoSidebar {
10
10
  this.mode = 'full';
11
11
  }
12
12
  render() {
13
- return (h("nav", { key: '1bc3acd9fa28f05c9665d9fe0ab78b9bf701b56e', class: {
13
+ return (h("nav", { key: '3c0842a02ed5a1bf40b1c69263efceff221aa193', class: {
14
14
  'co-sidebar': true,
15
15
  [`co-sidebar--${this.mode}`]: true,
16
- }, part: "sidebar" }, h("div", { key: 'a69b8746d524053a6caac9d8c5c8764f414cb599', class: "co-sidebar__header", part: "header" }, h("slot", { key: '6f4fe0997327537261663c3177c29bd59aba2f3f', name: "header" })), h("div", { key: 'f1c5d4fd6d11c5c872591706ab0c84d238bdf09b', class: "co-sidebar__body", part: "body" }, h("slot", { key: '06b3192da38333283cf1a2c7e2c4922bce2d4b56' })), h("div", { key: 'fb16f4a10d90cbbb82afbad3c531f5e807039cb8', class: "co-sidebar__footer", part: "footer" }, h("slot", { key: '916b98484c92cb8c9e24f7b0e2facbd926bc8f68', name: "footer" }))));
16
+ }, part: "sidebar" }, h("div", { key: '392937b5a15fe0c7f6abb78a717b34601c616bf4', class: "co-sidebar__header", part: "header" }, h("slot", { key: '28f3b073070f7dfa9e8b0a2260c911ef264e9c66', name: "header" })), h("div", { key: '622f3dd5167875811492a820e7fa9a12734a8247', class: "co-sidebar__body", part: "body" }, h("slot", { key: '10cec6e86c11203e167eed243aeb718ddeca4a98' })), h("div", { key: '55dc3013edc9c4e0c7531a52d15ddc7070722847', class: "co-sidebar__footer", part: "footer" }, h("slot", { key: 'ec0bff733e378e23b6788b39b7cf18457b30c8a6', name: "footer" }))));
17
17
  }
18
18
  static get is() { return "co-sidebar"; }
19
19
  static get encapsulation() { return "shadow"; }
@@ -144,6 +144,16 @@ const DEFAULT_ICON_MAP = {
144
144
  // Sales / Billing extras
145
145
  PaymentReceipts: 'hand-coins',
146
146
  Coupons: 'seal-percent',
147
+ // Events
148
+ EventManager: 'calendar-star',
149
+ EventProspects: 'users-four',
150
+ BusinessEvents: 'briefcase',
151
+ EventExpense: 'coins',
152
+ // Content
153
+ Content: 'folder-open',
154
+ Portals: 'app-window',
155
+ // Communication Center
156
+ CommunicationCenter: 'headset',
147
157
  // Integrations
148
158
  Integrations: 'plugs-connected',
149
159
  Mcp: 'plug',
@@ -486,10 +496,10 @@ export class CoSidebarNav {
486
496
  // `flyout-open` (min mode only) lets the CSS drop the host edge-fade mask
487
497
  // while a flyout is shown — a host mask would otherwise clip AND
488
498
  // mis-position the fixed flyout (mask makes the host a containing block).
489
- h(Host, { key: '6bf3b6d16c6baef9af2b41ee38c0823961595132', class: { 'flyout-open': !!this.flyoutKey } }, h("nav", { key: '0264a43d3b83859b114001917c45e312fb702afe', class: {
499
+ h(Host, { key: '637707894cb777ff149c0516aff13786054e5393', class: { 'flyout-open': !!this.flyoutKey } }, h("nav", { key: '3d98909c4d5d0f17eb478fbd01603884d040f45f', class: {
490
500
  'co-sidebar-nav': true,
491
501
  'co-sidebar-nav--min': this.mode === 'min',
492
- } }, this.renderSearch(), h("div", { key: '92437d9f022ec1a25adc04ea52b512dbb046bfc0', class: "co-sidebar-nav__items" }, items.map(item => this.renderItem(item))))));
502
+ } }, this.renderSearch(), h("div", { key: 'd46c1e3b5e60ded1d232e7ccf8beb768d34ffe88', class: "co-sidebar-nav__items" }, items.map(item => this.renderItem(item))))));
493
503
  }
494
504
  static get is() { return "co-sidebar-nav"; }
495
505
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class CoSkeleton {
16
16
  const style = { width: this.width };
17
17
  if (this.height)
18
18
  style.height = this.height;
19
- return (h("div", { key: '62e14646999122acf4190e503bc89ba1a75a16a0', class: { 'co-skeleton': true, [`co-skeleton--${this.variant}`]: true }, part: "skeleton", style: style, "aria-hidden": "true" }));
19
+ return (h("div", { key: '233bdc2410690a010be28e57f71880f885edd711', class: { 'co-skeleton': true, [`co-skeleton--${this.variant}`]: true }, part: "skeleton", style: style, "aria-hidden": "true" }));
20
20
  }
21
21
  static get is() { return "co-skeleton"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -72,12 +72,12 @@ export class CoSlider {
72
72
  }
73
73
  render() {
74
74
  const pct = this.percentage;
75
- return (h("div", { key: '1f94a2bea59726bfe63dd0226e6c76aba6e5eed6', class: {
75
+ return (h("div", { key: '5b112a7975ab5dee865814fae75fe1d4ca8099ed', class: {
76
76
  'co-slider': true,
77
77
  'co-slider--disabled': this.disabled,
78
78
  'co-slider--dragging': this.dragging,
79
79
  [`co-slider--${this.status}`]: this.status !== 'default',
80
- } }, (this.label || this.secondaryLabel || this.showValue) && (h("div", { key: '53731220f37468ad024ead0b930b7fa542ce3254', class: "co-slider__labels" }, h("div", { key: '39eccf3964f1463a7a84a8420f2963f0b79935ec', class: "co-slider__labels-left" }, this.label && h("label", { key: 'ab63ada93da100e8d613fcd392dad3b9c6fde6d4', class: "co-slider__label" }, this.label), this.secondaryLabel && h("span", { key: 'a821f151830ef03296724a21241342348848006c', class: "co-slider__secondary-label" }, this.secondaryLabel)), this.showValue && h("span", { key: '1c0888c1ccb60544a5d1fb20c3d44a04d73fa3a0', class: "co-slider__value" }, this.value))), h("div", { key: 'a766dc086713341329a560bc332130245160eb02', class: "co-slider__track-wrapper", ref: el => (this.trackEl = el), onPointerDown: this.handlePointerDown }, h("div", { key: 'a6aa57cafbf17efc2079627e822f4a909324fa35', class: "co-slider__track" }, h("div", { key: '07183ce09d776aea1249276d44383162f5634633', class: "co-slider__fill", style: { width: `${pct}%` } })), h("div", { key: 'e139f1cec3ec5060667602ac04bdf7e0e6d9ef6d', class: "co-slider__thumb", style: { left: `${pct}%` } })), this.showMarks && (h("div", { key: '5df827960aa6d8cb48305efd3a090ed8fe981c88', class: "co-slider__marks" }, h("span", { key: '8f3f20a7e2f5d15f1b8a10f548093b374b41eac0', class: "co-slider__mark" }, this.min), h("span", { key: '11196868d93fd21c9ab3e8f672aad51fcd1e2907', class: "co-slider__mark" }, this.max))), h("input", { key: '97bb0aa1e2ec72c5052c2c0018c5ba3d488aa704', class: "co-slider__native", type: "range", min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled, onInput: this.handleInputChange, "aria-label": this.label || 'Slider' }), this.helperText && (h("div", { key: 'c5e41ad16c3548703c544dd412f121c1933976db', class: `co-slider__helper co-slider__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: 'f6d17f21068433ba9fea7fec7f7015fe7a03576d', name: this.statusIcon, size: 14, weight: "fill", class: "co-slider__helper-icon" }), h("span", { key: '8f85afae6cf7b6a1cbec2096a39312b9c691ac55', class: "co-slider__helper-text" }, this.helperText)))));
80
+ } }, (this.label || this.secondaryLabel || this.showValue) && (h("div", { key: '215199cccc16293c239ad543e19965de8016bc49', class: "co-slider__labels" }, h("div", { key: '0c72aed8099eb04a7be3fd978643ff1807b450b7', class: "co-slider__labels-left" }, this.label && h("label", { key: '19addd8933e918b73bb12e8c5e600d95f082f755', class: "co-slider__label" }, this.label), this.secondaryLabel && h("span", { key: 'e7128961c9aea173ff13d81b03062ad2cfc38084', class: "co-slider__secondary-label" }, this.secondaryLabel)), this.showValue && h("span", { key: 'f82b30d226e562521a5564d4348a03ccc978715b', class: "co-slider__value" }, this.value))), h("div", { key: '0a42dc4519dd991b332bc62eb8ff59c44acbdd79', class: "co-slider__track-wrapper", ref: el => (this.trackEl = el), onPointerDown: this.handlePointerDown }, h("div", { key: 'b85ba951d913ef68ee454c2f70a8e5517c4262bf', class: "co-slider__track" }, h("div", { key: 'f06c1d1d9b602c078fcd6cfb3ab1f486b9ae0c63', class: "co-slider__fill", style: { width: `${pct}%` } })), h("div", { key: 'be52d64df84ef2620ebdc11b75793a804b3c7a4e', class: "co-slider__thumb", style: { left: `${pct}%` } })), this.showMarks && (h("div", { key: 'd0bf46d74c1d9cffc35db3af25bd39de8c041899', class: "co-slider__marks" }, h("span", { key: '779c25fb6669e0e3ce8c73d2a59686204a19b6fb', class: "co-slider__mark" }, this.min), h("span", { key: 'd61b61a373332bf22fc524d879c595047782c585', class: "co-slider__mark" }, this.max))), h("input", { key: '426f58b9210369dbd0c976555965ac62d20ce198', class: "co-slider__native", type: "range", min: this.min, max: this.max, step: this.step, value: this.value, disabled: this.disabled, onInput: this.handleInputChange, "aria-label": this.label || 'Slider' }), this.helperText && (h("div", { key: '72de59ff964142aa3e63f1c1da203d6ae5a015b4', class: `co-slider__helper co-slider__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '07c8dacb49fcb50b57014ae16a4f0220757064c8', name: this.statusIcon, size: 14, weight: "fill", class: "co-slider__helper-icon" }), h("span", { key: '64464d85a972b1bc523d5f28f2f8ac82f194fb8a', class: "co-slider__helper-text" }, this.helperText)))));
81
81
  }
82
82
  static get is() { return "co-slider"; }
83
83
  static get encapsulation() { return "shadow"; }
@@ -29,16 +29,16 @@ export class CoSwitch {
29
29
  render() {
30
30
  const hasLabels = this.label || this.secondaryLabel;
31
31
  const hasHelper = !!this.helperText;
32
- return (h("div", { key: '526145ecd1b1592cc650db93f0628ef07e5e1786', class: {
32
+ return (h("div", { key: '2d54e4a245ff8e7bac33f720c0bf22b16e2f2863', class: {
33
33
  'co-switch-wrapper': true,
34
34
  'co-switch-wrapper--disabled': this.disabled,
35
35
  [`co-switch-wrapper--${this.status}`]: this.status !== 'default',
36
- } }, h("div", { key: '4e72f02ad08d6f15f0bbc6a202db9965666dbd45', class: "co-switch-wrapper__row", onClick: this.handleClick }, h("button", { key: '3ce3f2a7f89c4c5017127df470166267f619a739', role: "switch", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
36
+ } }, h("div", { key: 'a8c0d9067596dc7ba2cde7db13936ac98f4a308f', class: "co-switch-wrapper__row", onClick: this.handleClick }, h("button", { key: '920210333625a69b9aa505a50cfd147ad7f71357', role: "switch", "aria-checked": String(this.checked), "aria-label": this.label || '', class: {
37
37
  'co-switch': true,
38
38
  'co-switch--on': this.checked,
39
39
  'co-switch--off': !this.checked,
40
40
  'co-switch--disabled': this.disabled,
41
- }, disabled: this.disabled, part: "track" }, h("span", { key: 'c8189b585b70b08c269e04505a5edbbb3b3a064c', class: "co-switch__thumb", part: "thumb" })), hasLabels && (h("div", { key: '912328e5167f0db2704267713e988807cda0c318', class: "co-switch-wrapper__labels" }, this.label && h("span", { key: 'd86b976d95ec01fb16529034f75fa0b874e1c4f0', class: "co-switch-wrapper__label", part: "label" }, this.label, h(RequiredMark, { key: '89623a1a38326a443598a7e0598035e6067ef977', required: this.required })), this.secondaryLabel && (h("span", { key: 'df602d9aa8eba9805674cc921447e7621338d551', class: "co-switch-wrapper__secondary-label", part: "secondary-label" }, this.secondaryLabel))))), hasHelper && (h("div", { key: '63198303a7ba9fd9a3b6c306018867802491b535', class: `co-switch-wrapper__helper co-switch-wrapper__helper--${this.status}` }, this.statusIcon && (h("co-icon", { key: '1f2790d86165562add0967856e1812ccce90d703', name: this.statusIcon, size: 14, weight: "fill", class: "co-switch-wrapper__helper-icon" })), h("span", { key: '77ab535dc73ef130d360e4d31c0cc9b510a4b94c', class: "co-switch-wrapper__helper-text" }, this.helperText)))));
41
+ }, disabled: this.disabled, part: "track" }, h("span", { key: 'b9bafc85e62aa24ed0243359d53210f31d984e13', class: "co-switch__thumb", part: "thumb" })), hasLabels && (h("div", { key: '38ca77e6f9bf4c2b9e911fd1f98588df0b273320', class: "co-switch-wrapper__labels" }, this.label && h("span", { key: 'd25c10a12a6e3bd7dd49ee6e25d7a4e710622604', class: "co-switch-wrapper__label", part: "label" }, this.label, h(RequiredMark, { key: 'b6e434fe0dcae3ed7a23aa2a3c4686783debc736', required: this.required })), this.secondaryLabel && (h("span", { key: 'da01d07fc4a7519fad7e5c6d8d283e4dfd72763a', class: "co-switch-wrapper__secondary-label", part: "secondary-label" }, this.secondaryLabel))))), hasHelper && (h("div", { key: '6d518eb23a4459ad5853159d4e33632d758f419e', class: `co-switch-wrapper__helper co-switch-wrapper__helper--${this.status}` }, this.statusIcon && (h("co-icon", { key: '96772daea7dc0b3c3304f4394f55856bd74b2fc6', name: this.statusIcon, size: 14, weight: "fill", class: "co-switch-wrapper__helper-icon" })), h("span", { key: 'de1d5474326eb79396cad519faf48a3595adf755', class: "co-switch-wrapper__helper-text" }, this.helperText)))));
42
42
  }
43
43
  static get is() { return "co-switch"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -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: '7899f20cb7d2692331364a61cd2b9ef744f422ba', class: {
24
+ return (h("button", { key: 'b8673b45961dbde0d1227cc11c5901c3ac835a5f', 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: '535a9993eda5ee22c01bbbbed0bb3b357eac088b', name: this.iconLeft, size: iconSize })), h("span", { key: '46786bee82d9f0935fe23e09bea59aa50791e38c' }, this.label), this.badge && (h("span", { key: 'a9eaa06f970a70b6e55e9cb295709d340db3bdf4', class: "co-tab__badge", part: "badge" }, this.badge)), this.iconRight && (h("co-icon", { key: 'bcf9ba9c5846592d47d81640e0e609cfa8dde5af', 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: '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 }))));
31
31
  }
32
32
  static get is() { return "co-tab"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -1,11 +1,36 @@
1
1
  :host {
2
2
  display: flex;
3
+ /* El strip nunca fuerza el ancho del layout: clipea y scrollea adentro. */
4
+ max-width: 100%;
5
+ min-width: 0;
3
6
  }
4
7
 
5
8
  .co-tab-group {
6
9
  display: flex;
7
10
  align-items: center;
8
11
  gap: var(--co-spacing-sm2);
12
+ /* Overflow: el track clipea y el scroll vive DENTRO (trackpad nativo; la
13
+ rueda del mouse se traduce en el onWheel del componente). Scrollbar
14
+ oculta a propósito — acá `scrollbar-width: none` es correcto (queremos
15
+ CERO scrollbar, no estilarla). */
16
+ max-width: 100%;
17
+ overflow-x: auto;
18
+ scrollbar-width: none;
19
+ /* Al clickear un tab parcialmente fuera de vista, el navegador lo mete en
20
+ vista (focus scroll). Con smooth ese reajuste es un deslizamiento suave en
21
+ vez de un salto brusco. NO afecta la rueda: el onWheel asigna scrollLeft
22
+ directo, que es instantáneo por spec (scroll-behavior solo aplica a las
23
+ scrolling APIs y al focus/navegación del user-agent). */
24
+ scroll-behavior: smooth;
25
+ }
26
+
27
+ .co-tab-group::-webkit-scrollbar {
28
+ display: none;
29
+ }
30
+
31
+ /* Los tabs no se comprimen: el desborde se resuelve scrolleando, no encogiendo. */
32
+ ::slotted(co-tab) {
33
+ flex-shrink: 0;
9
34
  }
10
35
 
11
36
  /* ─── Underline variant ─────────────────────────────────────── */
@@ -9,6 +9,22 @@ export class CoTabGroup {
9
9
  this.onSlotChange = () => {
10
10
  this.syncTabs();
11
11
  };
12
+ /** Wheel → horizontal scroll cuando el track desborda (los tabs clipean con
13
+ `overflow-x`, ver CSS): la rueda vertical del mouse scrollea el strip.
14
+ Solo consume el evento si realmente puede desplazarse en esa dirección —
15
+ en los extremos deja pasar el scroll a la página. */
16
+ this.onWheel = (e) => {
17
+ const track = e.currentTarget;
18
+ const max = track.scrollWidth - track.clientWidth;
19
+ if (max <= 0)
20
+ return;
21
+ const delta = Math.abs(e.deltaY) > Math.abs(e.deltaX) ? e.deltaY : e.deltaX;
22
+ const next = Math.max(0, Math.min(max, track.scrollLeft + delta));
23
+ if (next === track.scrollLeft)
24
+ return;
25
+ track.scrollLeft = next;
26
+ e.preventDefault();
27
+ };
12
28
  }
13
29
  onTabSelect(e) {
14
30
  e.stopPropagation();
@@ -33,10 +49,10 @@ export class CoTabGroup {
33
49
  });
34
50
  }
35
51
  render() {
36
- return (h("div", { key: 'fa78f36e2c58a2dfa33280ecc58a8e22b55a0238', class: {
52
+ return (h("div", { key: 'cdc42835ffb5727ceb6de152ccf91064ebfc9cf9', class: {
37
53
  'co-tab-group': true,
38
54
  [`co-tab-group--${this.variant}`]: true,
39
- }, role: "tablist", part: "tab-group" }, h("slot", { key: '0c27dbc561fa7aac4cb7697abb3b71187c9c53ff', onSlotchange: this.onSlotChange })));
55
+ }, role: "tablist", part: "tab-group", onWheel: this.onWheel }, h("slot", { key: '2815afe02e2e34378cd33f0d6a21e2fe658eac53', onSlotchange: this.onSlotChange })));
40
56
  }
41
57
  static get is() { return "co-tab-group"; }
42
58
  static get encapsulation() { return "shadow"; }
@@ -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: '3b98e21db568fa88fc353e855330cf40fcec03f8', class: {
189
+ return (h("div", { key: '47f84ca4f1ca42b71bb652f557e5a8718ab5a463', 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: '5a2e5da6096a2c5b660c3e884d2d4b0dbe9128bb', class: "co-tags-field__labels" }, h("label", { key: '51403414e956b9205bf88d6cf8a6c43ad4806de9', class: "co-tags-field__label", part: "label" }, this.label, h(RequiredMark, { key: '19ab6f22b8615a52b5487c8661f112a1861e6c09', required: this.required })))), h("div", { key: '67052a465dc337616565f0309d3de6f9dce5e82f', class: "co-tags-field__field-row" }, h("div", { key: 'cb350c84d48e7eeb2cc5620291466bab58e9cabe', class: "co-tags-field__field", part: "field", onClick: this.handleFieldClick }, h("div", { key: '6cd869c8b7da5280475016b3e89a0bcf42da3cc7', 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: '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() })) : (
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: '616f9c3e45ee685e4f05241a9d718c02b585f87f', 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: '1846e3cb5e3f8d4bd532e598e69dbb5508589bc7', class: {
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: {
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: '2c31acff9b897ef7394e087e24cb6ad1954a5b6a', name: "x-circle", size: 16, weight: "fill" }))))), this.name && h("input", { key: '5fb8c29516afc9e92bd29a9702a67028434d4e07', type: "hidden", name: this.name, value: JSON.stringify(tags) }), helper && (h("div", { key: '8e71625ae0d1d1ac3de1b92c1520229669ba8fb6', 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: '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: {
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: '865454377e41eca5fa36b8a7cb1bfe39b4e6afaa', name: "warning-circle", size: 14, class: "co-tags-field__helper-icon" })), h("span", { key: 'd4d7f2f106bcccd3e11cdf1eb759a4b1d9de22f3', class: "co-tags-field__helper-text" }, helper)))));
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)))));
211
211
  }
212
212
  static get is() { return "co-tags-field"; }
213
213
  static get encapsulation() { return "shadow"; }
@@ -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: 'fb292b8285b753e8164150fada241d766c065ea5', class: {
79
+ return (h("div", { key: '83cddaf39334bbd1ee8c3c2804bf879a1678be31', 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: '52ec29df68b495a8a290a449324bf0108eb0fc4e', class: "co-textarea__labels" }, this.label && (h("label", { key: '7573a521ef57b8128153e331a504b6b1e0162184', class: "co-textarea__label", part: "label" }, this.label, h(RequiredMark, { key: 'f7d1ad43c16b98f604f8c0d7620e59c3533347be', required: this.required }))), this.secondaryLabel && (h("span", { key: '1223a9000424080857b100585b5af3924a74fae1', class: "co-textarea__secondary-label" }, this.secondaryLabel)))), h("div", { key: '297970dd56b64ec6bed080841fff838053fd120f', class: "co-textarea__field", part: "field" }, h("textarea", { key: 'fcd8ec4a9db5e7c576c72029c1bc71a529bcf0af', ref: (el) => (this.textareaEl = el), class: {
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: {
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: 'ec698cec38f105ed0deb2ebf1ebb443bb3601924', class: "co-textarea__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: '44e5994116fd9c430181b84f4cee7a18fd63872c', name: "x-circle", size: 16, weight: "fill" })))), (this.helperText || this.maxLength != null) && (h("div", { key: 'd088f3c27f70a155a32078d7b63945491ca81664', class: "co-textarea__footer" }, this.helperText && (h("div", { key: '1baf81a8fd8a568e0508175b03e81e59588f254e', 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: '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: {
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: '3d807c485144679809cc3fa994692b4f21ece752', name: "warning-circle", size: 14, class: "co-textarea__helper-icon" })), h("span", { key: '15b6c9458c38cb562276aae042cfd7bbb35ee9cc', class: "co-textarea__helper-text" }, this.helperText))), this.maxLength != null && (h("span", { key: '4e3e9750db0ede3b2381f3504e7a8975ebd5c272', class: {
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: {
95
95
  'co-textarea__counter': true,
96
96
  'co-textarea__counter--over': isOverLimit,
97
97
  }, part: "counter" }, this.charCount, "/", this.maxLength))))));