@prolibu-suite/cobalt-core 0.6.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 (648) hide show
  1. package/custom-elements.json +7924 -3799
  2. package/dist/cjs/co-accordion.cjs.entry.js +1 -1
  3. package/dist/cjs/co-action-bar.cjs.entry.js +89 -0
  4. package/dist/cjs/co-app-shell.cjs.entry.js +3 -3
  5. package/dist/cjs/co-audio-player.cjs.entry.js +279 -0
  6. package/dist/cjs/co-autocomplete.cjs.entry.js +3 -3
  7. package/dist/cjs/co-avatar-group.cjs.entry.js +3 -3
  8. package/dist/cjs/{co-tooltip.cjs.entry.js → co-avatar_2.cjs.entry.js} +96 -4
  9. package/dist/cjs/co-badge.cjs.entry.js +2 -2
  10. package/dist/cjs/co-bottom-sheet.cjs.entry.js +4 -4
  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 +13 -6
  15. package/dist/cjs/co-calendar-month_2.cjs.entry.js +1601 -0
  16. package/dist/cjs/co-calendar_3.cjs.entry.js +12 -12
  17. package/dist/cjs/co-card.cjs.entry.js +3 -3
  18. package/dist/cjs/co-carousel-item.cjs.entry.js +17 -0
  19. package/dist/cjs/co-carousel.cjs.entry.js +368 -0
  20. package/dist/cjs/co-checkbox-group.cjs.entry.js +1 -1
  21. package/dist/cjs/co-checkbox.cjs.entry.js +5 -5
  22. package/dist/cjs/co-chip_2.cjs.entry.js +96 -7
  23. package/dist/cjs/co-color-picker.cjs.entry.js +5 -5
  24. package/dist/cjs/co-column-picker.cjs.entry.js +3 -3
  25. package/dist/cjs/co-combobox.cjs.entry.js +3 -3
  26. package/dist/cjs/co-command-search.cjs.entry.js +1 -1
  27. package/dist/cjs/co-data-table-pagination.cjs.entry.js +5 -5
  28. package/dist/cjs/co-data-table.cjs.entry.js +2 -2
  29. package/dist/cjs/co-date-picker.cjs.entry.js +12 -5
  30. package/dist/cjs/co-date-range-picker.cjs.entry.js +11 -5
  31. package/dist/cjs/co-date-range.cjs.entry.js +2 -2
  32. package/dist/cjs/co-date-time-picker.cjs.entry.js +409 -0
  33. package/dist/cjs/co-drive-card.cjs.entry.js +2 -2
  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 +119 -18
  37. package/dist/cjs/co-event-popover.cjs.entry.js +132 -0
  38. package/dist/cjs/co-fab.cjs.entry.js +21 -6
  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 +2 -2
  43. package/dist/cjs/co-icon.cjs.entry.js +3 -3
  44. package/dist/cjs/co-input.cjs.entry.js +9 -3
  45. package/dist/cjs/co-json-field.cjs.entry.js +6 -6
  46. package/dist/cjs/co-lightbox.cjs.entry.js +34 -7
  47. package/dist/cjs/co-list-footer.cjs.entry.js +2 -2
  48. package/dist/cjs/co-list-item.cjs.entry.js +5 -5
  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 +3 -3
  53. package/dist/cjs/co-menu.cjs.entry.js +2 -2
  54. package/dist/cjs/co-modal.cjs.entry.js +3 -3
  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 +2 -2
  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 +2 -2
  61. package/dist/cjs/co-progress-bar.cjs.entry.js +3 -3
  62. package/dist/cjs/co-progress-circle.cjs.entry.js +3 -3
  63. package/dist/cjs/co-provider-logo_2.cjs.entry.js +72 -0
  64. package/dist/cjs/co-radio-group.cjs.entry.js +1 -1
  65. package/dist/cjs/co-radio.cjs.entry.js +4 -4
  66. package/dist/cjs/co-rating.cjs.entry.js +4 -4
  67. package/dist/cjs/co-ref-field.cjs.entry.js +16 -6
  68. package/dist/cjs/co-rich-text-editor.cjs.entry.js +22 -7
  69. package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +37 -5
  70. package/dist/cjs/co-rich-text-viewer.cjs.entry.js +36 -6
  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 +13 -7
  74. package/dist/cjs/co-separator.cjs.entry.js +2 -2
  75. package/dist/cjs/co-sidebar-nav.cjs.entry.js +13 -3
  76. package/dist/cjs/co-sidebar.cjs.entry.js +3 -3
  77. package/dist/cjs/co-slider.cjs.entry.js +3 -3
  78. package/dist/cjs/co-switch.cjs.entry.js +5 -5
  79. package/dist/cjs/co-tab-group.cjs.entry.js +20 -4
  80. package/dist/cjs/co-tab.cjs.entry.js +3 -3
  81. package/dist/cjs/co-tags-field.cjs.entry.js +9 -9
  82. package/dist/cjs/co-textarea.cjs.entry.js +13 -7
  83. package/dist/cjs/co-toast.cjs.entry.js +1 -1
  84. package/dist/cjs/co-toggle-button-group.cjs.entry.js +3 -3
  85. package/dist/cjs/co-toggle-button.cjs.entry.js +3 -3
  86. package/dist/cjs/co-transfer-list.cjs.entry.js +1 -1
  87. package/dist/cjs/co-video.cjs.entry.js +3 -3
  88. package/dist/cjs/cobalt.cjs.js +2 -2
  89. package/dist/cjs/{dateI18n-BdiNAl0_.js → dateI18n-wblvKRq_.js} +21 -0
  90. package/dist/cjs/{dates-D8D-aS5d.js → dates-TQLHlFd2.js} +64 -13
  91. package/dist/cjs/{fieldChip-D8YJCyQF.js → fieldChip-B_npd9rL.js} +1 -1
  92. package/dist/cjs/{index-4y1Dm145.js → index-DFZ5YhIT.js} +171 -11
  93. package/dist/cjs/{index-DxEFsH_t.js → index-kBiXCEE7.js} +41 -21
  94. package/dist/cjs/loader.cjs.js +2 -2
  95. package/dist/cjs/{positioning-DwHW399W.js → positioning-DCj_AJ2T.js} +10 -0
  96. package/dist/cjs/{requiredMark-B3pKyqYI.js → requiredMark-DuMIcKtt.js} +1 -1
  97. package/dist/cjs/{richTextI18n-B7ktXg3M.js → richTextI18n-B28uAhh4.js} +3 -0
  98. package/dist/cjs/time-LBHtzLHe.js +42 -0
  99. package/dist/cjs/{toolbar-config-3PlT-3zm.js → toolbar-config-BQfWTW6P.js} +2 -0
  100. package/dist/cobalt/cobalt.css +1 -1
  101. package/dist/cobalt/cobalt.esm.js +1 -1
  102. package/dist/cobalt/{p-075eed3d.entry.js → p-00830b8c.entry.js} +1 -1
  103. package/dist/cobalt/{p-cc0a4617.entry.js → p-0769eee9.entry.js} +1 -1
  104. package/dist/cobalt/p-0f18c4d2.entry.js +1 -0
  105. package/dist/cobalt/{p-5c3101b5.entry.js → p-0fc1edca.entry.js} +1 -1
  106. package/dist/cobalt/p-15852fec.entry.js +1 -0
  107. package/dist/cobalt/p-195c67ee.entry.js +1 -0
  108. package/dist/cobalt/{p-B6JZk8fL.js → p-1EK-COrb.js} +1 -1
  109. package/dist/cobalt/{p-d9608046.entry.js → p-1e9c9d46.entry.js} +1 -1
  110. package/dist/cobalt/{p-02c5a9a9.entry.js → p-202eadfc.entry.js} +1 -1
  111. package/dist/cobalt/{p-b4bed98b.entry.js → p-20bd3702.entry.js} +1 -1
  112. package/dist/cobalt/p-25f59046.entry.js +1 -0
  113. package/dist/cobalt/{p-809015dd.entry.js → p-260196cb.entry.js} +1 -1
  114. package/dist/cobalt/{p-771bc8fe.entry.js → p-27dce0ac.entry.js} +1 -1
  115. package/dist/cobalt/p-2bf44b2b.entry.js +1 -0
  116. package/dist/cobalt/{p-3f06d373.entry.js → p-2c100914.entry.js} +1 -1
  117. package/dist/cobalt/p-2e1d930f.entry.js +1 -0
  118. package/dist/cobalt/{p-47a2dd67.entry.js → p-35518aee.entry.js} +1 -1
  119. package/dist/cobalt/{p-c3462def.entry.js → p-38ae8bff.entry.js} +1 -1
  120. package/dist/cobalt/p-38cf47b6.entry.js +1 -0
  121. package/dist/cobalt/p-39dea0c0.entry.js +1 -0
  122. package/dist/cobalt/p-3a746267.entry.js +1 -0
  123. package/dist/cobalt/{p-9c6ca902.entry.js → p-3ae69426.entry.js} +1 -1
  124. package/dist/cobalt/{p-8dfb6886.entry.js → p-3af74ab8.entry.js} +1 -1
  125. package/dist/cobalt/{p-9a587867.entry.js → p-3d4e697e.entry.js} +1 -1
  126. package/dist/cobalt/{p-1681ce1d.entry.js → p-445acc4c.entry.js} +1 -1
  127. package/dist/cobalt/p-48fbf051.entry.js +1 -0
  128. package/dist/cobalt/p-4de9232a.entry.js +1 -0
  129. package/dist/cobalt/{p-fd27c2bd.entry.js → p-50bbfad8.entry.js} +1 -1
  130. package/dist/cobalt/{p-85eed52c.entry.js → p-51a1ad38.entry.js} +1 -1
  131. package/dist/cobalt/{p-1726ce07.entry.js → p-523aca9f.entry.js} +1 -1
  132. package/dist/cobalt/p-52af222b.entry.js +1 -0
  133. package/dist/cobalt/{p-81cfd951.entry.js → p-5319ac3f.entry.js} +1 -1
  134. package/dist/cobalt/{p-ba66584f.entry.js → p-53a276a8.entry.js} +1 -1
  135. package/dist/cobalt/{p-f0de4415.entry.js → p-543cc00d.entry.js} +1 -1
  136. package/dist/cobalt/{p-a9afbaa6.entry.js → p-59f7d44b.entry.js} +1 -1
  137. package/dist/cobalt/{p-e420d5c9.entry.js → p-5b984323.entry.js} +1 -1
  138. package/dist/cobalt/{p-e710b9ea.entry.js → p-5bfaca70.entry.js} +1 -1
  139. package/dist/cobalt/p-5c1328ff.entry.js +1 -0
  140. package/dist/cobalt/{p-0d7536a8.entry.js → p-5c250889.entry.js} +1 -1
  141. package/dist/cobalt/p-5e21ca17.entry.js +1 -0
  142. package/dist/cobalt/p-61d5ca3c.entry.js +1 -0
  143. package/dist/cobalt/{p-8e823c15.entry.js → p-6357d9dd.entry.js} +1 -1
  144. package/dist/cobalt/{p-495c9b99.entry.js → p-69723cc1.entry.js} +1 -1
  145. package/dist/cobalt/{p-8128e84a.entry.js → p-6985a964.entry.js} +1 -1
  146. package/dist/cobalt/p-69b8d98e.entry.js +1 -0
  147. package/dist/cobalt/p-6b089060.entry.js +1 -0
  148. package/dist/cobalt/{p-627d2d1a.entry.js → p-6b256d01.entry.js} +1 -1
  149. package/dist/cobalt/{p-c1e53e4c.entry.js → p-7c6b3175.entry.js} +1 -1
  150. package/dist/cobalt/p-7d077a7c.entry.js +1 -0
  151. package/dist/cobalt/{p-20ba59a2.entry.js → p-7f4bf341.entry.js} +1 -1
  152. package/dist/cobalt/p-869c338a.entry.js +1 -0
  153. package/dist/cobalt/p-890296f9.entry.js +1 -0
  154. package/dist/cobalt/{p-5c43d30e.entry.js → p-8fe08257.entry.js} +1 -1
  155. package/dist/cobalt/p-913b2a14.entry.js +1 -0
  156. package/dist/cobalt/{p-2d1cbd7f.entry.js → p-959556f4.entry.js} +1 -1
  157. package/dist/cobalt/p-97875bde.entry.js +1 -0
  158. package/dist/cobalt/p-9824c478.entry.js +1 -0
  159. package/dist/cobalt/p-99c1ff0f.entry.js +1 -0
  160. package/dist/cobalt/p-BCEz3S-z.js +2 -0
  161. package/dist/cobalt/{p-Bgxofdfb.js → p-BL0sCfMH.js} +1 -1
  162. package/dist/cobalt/p-BMdapAL8.js +1 -0
  163. package/dist/cobalt/p-BU7SQCje.js +1 -0
  164. package/dist/cobalt/p-BYKAgwq3.js +1 -0
  165. package/dist/cobalt/p-C-d15gih.js +1 -0
  166. package/dist/cobalt/p-CF8OB_TM.js +1 -0
  167. package/dist/cobalt/p-CnNpoKwg.js +1 -0
  168. package/dist/cobalt/p-D5gr2ent.js +1 -0
  169. package/dist/cobalt/p-WeuPA9Rw.js +1 -0
  170. package/dist/cobalt/{p-fb251497.entry.js → p-a04feb70.entry.js} +1 -1
  171. package/dist/cobalt/{p-77d01b39.entry.js → p-a252f8c5.entry.js} +1 -1
  172. package/dist/cobalt/p-a4f39ba2.entry.js +1 -0
  173. package/dist/cobalt/{p-5e9a9caf.entry.js → p-a7c23027.entry.js} +1 -1
  174. package/dist/cobalt/p-ab8e150e.entry.js +1 -0
  175. package/dist/cobalt/{p-6ad1625a.entry.js → p-acdb68a7.entry.js} +1 -1
  176. package/dist/cobalt/{p-c6fedc59.entry.js → p-afd957c0.entry.js} +1 -1
  177. package/dist/cobalt/{p-c750b2d2.entry.js → p-b45ea918.entry.js} +1 -1
  178. package/dist/cobalt/p-bad7ce84.entry.js +1 -0
  179. package/dist/cobalt/{p-5edd0d3f.entry.js → p-bebacee2.entry.js} +1 -1
  180. package/dist/cobalt/{p-bb534985.entry.js → p-c237add6.entry.js} +1 -1
  181. package/dist/cobalt/p-c32949a5.entry.js +1 -0
  182. package/dist/cobalt/{p-3f68fd2e.entry.js → p-cd5555d2.entry.js} +1 -1
  183. package/dist/cobalt/p-cd96aabf.entry.js +1 -0
  184. package/dist/cobalt/{p-b8ec0cc1.entry.js → p-ce961fba.entry.js} +1 -1
  185. package/dist/cobalt/p-d56b8a1f.entry.js +1 -0
  186. package/dist/cobalt/p-d6fff135.entry.js +1 -0
  187. package/dist/cobalt/{p-b1197c08.entry.js → p-d71b87d3.entry.js} +1 -1
  188. package/dist/cobalt/{p-af4cb263.entry.js → p-d83e5189.entry.js} +1 -1
  189. package/dist/cobalt/p-dc269096.entry.js +1 -0
  190. package/dist/cobalt/{p-0d6a562d.entry.js → p-dc8e88f4.entry.js} +1 -1
  191. package/dist/cobalt/p-de5a05fc.entry.js +1 -0
  192. package/dist/cobalt/{p-86e60cfa.entry.js → p-df63f23c.entry.js} +1 -1
  193. package/dist/cobalt/p-e2188319.entry.js +1 -0
  194. package/dist/cobalt/p-f0c589ad.entry.js +1 -0
  195. package/dist/cobalt/{p-e9aaeaf7.entry.js → p-f4370423.entry.js} +1 -1
  196. package/dist/cobalt/p-f4e4bebf.entry.js +1 -0
  197. package/dist/cobalt/p-f53b9536.entry.js +1 -0
  198. package/dist/cobalt/{p-373cd08e.entry.js → p-f7ae0228.entry.js} +1 -1
  199. package/dist/collection/collection-manifest.json +8 -0
  200. package/dist/collection/components/co-action-bar/co-action-bar.css +148 -0
  201. package/dist/collection/components/co-action-bar/co-action-bar.js +247 -0
  202. package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
  203. package/dist/collection/components/co-audio-player/co-audio-player.css +58 -0
  204. package/dist/collection/components/co-audio-player/co-audio-player.js +453 -0
  205. package/dist/collection/components/co-audio-player/co-audio-player.utils.js +44 -0
  206. package/dist/collection/components/co-autocomplete/co-autocomplete.css +1 -1
  207. package/dist/collection/components/co-avatar/co-avatar.css +23 -0
  208. package/dist/collection/components/co-avatar/co-avatar.js +24 -1
  209. package/dist/collection/components/co-avatar-group/co-avatar-group.css +9 -5
  210. package/dist/collection/components/co-avatar-group/co-avatar-group.js +2 -2
  211. package/dist/collection/components/co-badge/co-badge.js +1 -1
  212. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
  213. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +1 -1
  214. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +2 -2
  215. package/dist/collection/components/co-button/co-button.css +19 -0
  216. package/dist/collection/components/co-button/co-button.js +31 -5
  217. package/dist/collection/components/co-button-group/co-button-group.js +2 -2
  218. package/dist/collection/components/co-calendar/co-calendar.js +1 -1
  219. package/dist/collection/components/co-calendar-month/co-calendar-month.css +52 -3
  220. package/dist/collection/components/co-calendar-month/co-calendar-month.js +238 -55
  221. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.css +265 -0
  222. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +1305 -0
  223. package/dist/collection/components/co-card/co-card.js +2 -2
  224. package/dist/collection/components/co-carousel/co-carousel.css +152 -0
  225. package/dist/collection/components/co-carousel/co-carousel.js +633 -0
  226. package/dist/collection/components/co-carousel-item/co-carousel-item.css +6 -0
  227. package/dist/collection/components/co-carousel-item/co-carousel-item.js +25 -0
  228. package/dist/collection/components/co-checkbox/co-checkbox.css +1 -1
  229. package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
  230. package/dist/collection/components/co-chip/co-chip.js +2 -2
  231. package/dist/collection/components/co-color-picker/co-color-picker.css +11 -10
  232. package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
  233. package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
  234. package/dist/collection/components/co-combobox/co-combobox.css +6 -8
  235. package/dist/collection/components/co-data-table/co-data-table.css +23 -8
  236. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  237. package/dist/collection/components/co-date-field/co-date-field.css +6 -7
  238. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  239. package/dist/collection/components/co-date-picker/co-date-picker.css +16 -0
  240. package/dist/collection/components/co-date-picker/co-date-picker.js +28 -1
  241. package/dist/collection/components/co-date-range/co-date-range.js +1 -1
  242. package/dist/collection/components/co-date-range-picker/co-date-range-picker.css +13 -1
  243. package/dist/collection/components/co-date-range-picker/co-date-range-picker.js +26 -0
  244. package/dist/collection/components/co-date-time-picker/co-date-time-picker.css +325 -0
  245. package/dist/collection/components/co-date-time-picker/co-date-time-picker.js +1079 -0
  246. package/dist/collection/components/co-drawer/co-drawer.css +46 -0
  247. package/dist/collection/components/co-drawer/co-drawer.js +1 -1
  248. package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
  249. package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
  250. package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
  251. package/dist/collection/components/co-event-calendar/co-event-calendar.css +19 -7
  252. package/dist/collection/components/co-event-calendar/co-event-calendar.js +342 -39
  253. package/dist/collection/components/co-event-popover/co-event-popover.css +26 -0
  254. package/dist/collection/components/co-event-popover/co-event-popover.js +326 -0
  255. package/dist/collection/components/co-fab/co-fab.css +70 -10
  256. package/dist/collection/components/co-fab/co-fab.js +39 -4
  257. package/dist/collection/components/co-file-field/co-file-field.css +2 -2
  258. package/dist/collection/components/co-file-field/co-file-field.js +5 -5
  259. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
  260. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  261. package/dist/collection/components/co-icon/co-icon.js +2 -2
  262. package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
  263. package/dist/collection/components/co-input/co-input.css +13 -1
  264. package/dist/collection/components/co-input/co-input.js +26 -0
  265. package/dist/collection/components/co-json-field/co-json-field.css +4 -8
  266. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  267. package/dist/collection/components/co-lightbox/co-lightbox.css +12 -1
  268. package/dist/collection/components/co-lightbox/co-lightbox.js +31 -4
  269. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  270. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  271. package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
  272. package/dist/collection/components/co-menu/co-menu.js +1 -1
  273. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  274. package/dist/collection/components/co-menu-item/co-menu-item.css +21 -0
  275. package/dist/collection/components/co-menu-item/co-menu-item.js +20 -1
  276. package/dist/collection/components/co-modal/co-modal.js +2 -2
  277. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  278. package/dist/collection/components/co-number-field/co-number-field.css +1 -1
  279. package/dist/collection/components/co-number-field/co-number-field.js +2 -2
  280. package/dist/collection/components/co-option-list/co-option-list.css +18 -0
  281. package/dist/collection/components/co-option-list/co-option-list.js +127 -5
  282. package/dist/collection/components/co-option-list/optionListLogic.js +13 -0
  283. package/dist/collection/components/co-overlay/co-overlay.js +1 -1
  284. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  285. package/dist/collection/components/co-phone-field/co-phone-field.css +2 -2
  286. package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
  287. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  288. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  289. package/dist/collection/components/co-provider-logo/co-provider-logo.css +23 -0
  290. package/dist/collection/components/co-provider-logo/co-provider-logo.js +124 -0
  291. package/dist/collection/components/co-radio/co-radio.js +3 -3
  292. package/dist/collection/components/co-rating/co-rating.js +3 -3
  293. package/dist/collection/components/co-ref-field/co-ref-field.css +17 -1
  294. package/dist/collection/components/co-ref-field/co-ref-field.js +32 -2
  295. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +32 -3
  296. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +97 -4
  297. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.css +8 -0
  298. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.js +93 -3
  299. package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.css +19 -0
  300. package/dist/collection/components/co-rich-text-viewer/co-rich-text-viewer.js +53 -4
  301. package/dist/collection/components/co-row/co-row.js +2 -2
  302. package/dist/collection/components/co-select/co-select.css +12 -1
  303. package/dist/collection/components/co-select/co-select.js +30 -4
  304. package/dist/collection/components/co-separator/co-separator.js +1 -1
  305. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  306. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +12 -2
  307. package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
  308. package/dist/collection/components/co-slider/co-slider.js +2 -2
  309. package/dist/collection/components/co-switch/co-switch.js +3 -3
  310. package/dist/collection/components/co-tab/co-tab.js +2 -2
  311. package/dist/collection/components/co-tab-group/co-tab-group.css +32 -4
  312. package/dist/collection/components/co-tab-group/co-tab-group.js +18 -2
  313. package/dist/collection/components/co-tags-field/co-tags-field.css +12 -21
  314. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  315. package/dist/collection/components/co-textarea/co-textarea.css +18 -8
  316. package/dist/collection/components/co-textarea/co-textarea.js +30 -4
  317. package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
  318. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
  319. package/dist/collection/components/co-tooltip/co-tooltip.js +2 -2
  320. package/dist/collection/components/co-video/co-video.js +2 -2
  321. package/dist/collection/utils/carouselI18n.js +36 -0
  322. package/dist/collection/utils/dateI18n.js +21 -0
  323. package/dist/collection/utils/eventColor.js +52 -0
  324. package/dist/collection/utils/positioning.js +10 -0
  325. package/dist/collection/utils/richTextI18n.js +3 -0
  326. package/dist/components/co-accordion.js +1 -1
  327. package/dist/components/co-action-bar.d.ts +11 -0
  328. package/dist/components/co-action-bar.js +1 -0
  329. package/dist/components/co-app-shell.js +1 -1
  330. package/dist/components/co-audio-player.d.ts +11 -0
  331. package/dist/components/co-audio-player.js +1 -0
  332. package/dist/components/co-autocomplete.js +1 -1
  333. package/dist/components/co-avatar-group.js +1 -1
  334. package/dist/components/co-avatar.js +1 -1
  335. package/dist/components/co-badge.js +1 -1
  336. package/dist/components/co-bottom-sheet.js +1 -1
  337. package/dist/components/co-breadcrumb-item.js +1 -1
  338. package/dist/components/co-breadcrumb.js +1 -1
  339. package/dist/components/co-button-group.js +1 -1
  340. package/dist/components/co-button.js +1 -1
  341. package/dist/components/co-calendar-month.js +1 -1
  342. package/dist/components/co-calendar-timegrid.d.ts +11 -0
  343. package/dist/components/co-calendar-timegrid.js +1 -0
  344. package/dist/components/co-calendar.js +1 -1
  345. package/dist/components/co-card.js +1 -1
  346. package/dist/components/co-carousel-item.d.ts +11 -0
  347. package/dist/components/co-carousel-item.js +1 -0
  348. package/dist/components/co-carousel.d.ts +11 -0
  349. package/dist/components/co-carousel.js +1 -0
  350. package/dist/components/co-checkbox-group.js +1 -1
  351. package/dist/components/co-checkbox.js +1 -1
  352. package/dist/components/co-chip.js +1 -1
  353. package/dist/components/co-color-picker.js +1 -1
  354. package/dist/components/co-column-picker.js +1 -1
  355. package/dist/components/co-combobox.js +1 -1
  356. package/dist/components/co-command-search.js +1 -1
  357. package/dist/components/co-data-table-pagination.js +1 -1
  358. package/dist/components/co-data-table.js +1 -1
  359. package/dist/components/co-date-field.js +1 -1
  360. package/dist/components/co-date-picker.js +1 -1
  361. package/dist/components/co-date-range-picker.js +1 -1
  362. package/dist/components/co-date-range.js +1 -1
  363. package/dist/components/co-date-time-picker.d.ts +11 -0
  364. package/dist/components/co-date-time-picker.js +1 -0
  365. package/dist/components/co-drawer.js +1 -1
  366. package/dist/components/co-drive-card.js +1 -1
  367. package/dist/components/co-drop-zone.js +1 -1
  368. package/dist/components/co-empty-state.js +1 -1
  369. package/dist/components/co-event-calendar.js +1 -1
  370. package/dist/components/co-event-popover.d.ts +11 -0
  371. package/dist/components/co-event-popover.js +1 -0
  372. package/dist/components/co-fab.js +1 -1
  373. package/dist/components/co-file-field.js +1 -1
  374. package/dist/components/co-file-type-tile.js +1 -1
  375. package/dist/components/co-helper-text.js +1 -1
  376. package/dist/components/co-icon-button.js +1 -1
  377. package/dist/components/co-icon.js +1 -1
  378. package/dist/components/co-input.js +1 -1
  379. package/dist/components/co-json-field.js +1 -1
  380. package/dist/components/co-lightbox.js +1 -1
  381. package/dist/components/co-list-footer.js +1 -1
  382. package/dist/components/co-list-item.js +1 -1
  383. package/dist/components/co-media-thumb.js +1 -1
  384. package/dist/components/co-menu-divider.js +1 -1
  385. package/dist/components/co-menu-item.js +1 -1
  386. package/dist/components/co-menu.js +1 -1
  387. package/dist/components/co-modal.js +1 -1
  388. package/dist/components/co-navbar.js +1 -1
  389. package/dist/components/co-number-field.js +1 -1
  390. package/dist/components/co-option-list.js +1 -1
  391. package/dist/components/co-overlay.js +1 -1
  392. package/dist/components/co-page-header.js +1 -1
  393. package/dist/components/co-phone-field.js +1 -1
  394. package/dist/components/co-popover.js +1 -1
  395. package/dist/components/co-progress-bar.js +1 -1
  396. package/dist/components/co-progress-circle.js +1 -1
  397. package/dist/components/co-provider-logo.d.ts +11 -0
  398. package/dist/components/co-provider-logo.js +1 -0
  399. package/dist/components/co-radio-group.js +1 -1
  400. package/dist/components/co-radio.js +1 -1
  401. package/dist/components/co-rating.js +1 -1
  402. package/dist/components/co-ref-field.js +1 -1
  403. package/dist/components/co-rich-text-editor.js +1 -1
  404. package/dist/components/co-rich-text-toolbar.js +1 -1
  405. package/dist/components/co-rich-text-viewer.js +1 -1
  406. package/dist/components/co-row.js +1 -1
  407. package/dist/components/co-select.js +1 -1
  408. package/dist/components/co-separator.js +1 -1
  409. package/dist/components/co-sidebar-nav.js +1 -1
  410. package/dist/components/co-sidebar.js +1 -1
  411. package/dist/components/co-skeleton.js +1 -1
  412. package/dist/components/co-slider.js +1 -1
  413. package/dist/components/co-switch.js +1 -1
  414. package/dist/components/co-tab-group.js +1 -1
  415. package/dist/components/co-tab.js +1 -1
  416. package/dist/components/co-tags-field.js +1 -1
  417. package/dist/components/co-textarea.js +1 -1
  418. package/dist/components/co-toast.js +1 -1
  419. package/dist/components/co-toggle-button-group.js +1 -1
  420. package/dist/components/co-toggle-button.js +1 -1
  421. package/dist/components/co-tooltip.js +1 -1
  422. package/dist/components/co-transfer-list.js +1 -1
  423. package/dist/components/co-video.js +1 -1
  424. package/dist/components/index.js +1 -1
  425. package/dist/components/p-B21rOC2Y.js +1 -0
  426. package/dist/components/{p-DvL2TcDG.js → p-BC6sxVVr.js} +1 -1
  427. package/dist/components/{p-Bgxofdfb.js → p-BL0sCfMH.js} +1 -1
  428. package/dist/components/p-BMdapAL8.js +1 -0
  429. package/dist/components/p-BQFperIX.js +1 -0
  430. package/dist/components/{p-Cam92sWP.js → p-BXtiFFM2.js} +1 -1
  431. package/dist/components/{p-CmCsm4L-.js → p-BdArvV6T.js} +1 -1
  432. package/dist/components/p-BnkGlFYy.js +1 -0
  433. package/dist/components/p-C-5cLeKr.js +1 -0
  434. package/dist/components/p-CDWXNRpo.js +1 -0
  435. package/dist/components/p-CF8OB_TM.js +1 -0
  436. package/dist/components/{p-_k-j03K-.js → p-CIWoKlGj.js} +1 -1
  437. package/dist/components/{p-lus32JrB.js → p-CVCEiwOS.js} +1 -1
  438. package/dist/components/{p-QWi9AmnD.js → p-CfeNhAHW.js} +1 -1
  439. package/dist/components/p-Ch837Ggl.js +1 -0
  440. package/dist/components/p-ChLib-si.js +1 -0
  441. package/dist/components/p-ChPooamL.js +1 -0
  442. package/dist/components/p-CnNpoKwg.js +1 -0
  443. package/dist/components/p-D-3BTFRs.js +1 -0
  444. package/dist/components/p-D0wrmRH8.js +1 -0
  445. package/dist/components/p-DZX7cEqP.js +1 -0
  446. package/dist/components/{p-D4SOCy8I.js → p-DbISGXT_.js} +1 -1
  447. package/dist/components/p-Dxa7c4Ap.js +1 -0
  448. package/dist/components/p-T0MdU7sb.js +1 -0
  449. package/dist/components/p-W8Y8ZuPs.js +1 -0
  450. package/dist/components/p-WeuPA9Rw.js +1 -0
  451. package/dist/components/{p-CNIs9j-h.js → p-cteJszd-.js} +1 -1
  452. package/dist/components/p-e5KibEs8.js +1 -0
  453. package/dist/components/{p-COb8X_fE.js → p-mUoTCiYa.js} +1 -1
  454. package/dist/components/p-uZ2D6ESV.js +1 -0
  455. package/dist/components/p-ySi6UG0O.js +1 -0
  456. package/dist/esm/co-accordion.entry.js +1 -1
  457. package/dist/esm/co-action-bar.entry.js +87 -0
  458. package/dist/esm/co-app-shell.entry.js +3 -3
  459. package/dist/esm/co-audio-player.entry.js +277 -0
  460. package/dist/esm/co-autocomplete.entry.js +3 -3
  461. package/dist/esm/co-avatar-group.entry.js +3 -3
  462. package/dist/esm/{co-tooltip.entry.js → co-avatar_2.entry.js} +96 -5
  463. package/dist/esm/co-badge.entry.js +2 -2
  464. package/dist/esm/co-bottom-sheet.entry.js +4 -4
  465. package/dist/esm/co-breadcrumb-item.entry.js +3 -3
  466. package/dist/esm/co-breadcrumb.entry.js +2 -2
  467. package/dist/esm/co-button-group.entry.js +3 -3
  468. package/dist/esm/co-button.entry.js +13 -6
  469. package/dist/esm/co-calendar-month_2.entry.js +1598 -0
  470. package/dist/esm/co-calendar_3.entry.js +12 -12
  471. package/dist/esm/co-card.entry.js +3 -3
  472. package/dist/esm/co-carousel-item.entry.js +15 -0
  473. package/dist/esm/co-carousel.entry.js +366 -0
  474. package/dist/esm/co-checkbox-group.entry.js +1 -1
  475. package/dist/esm/co-checkbox.entry.js +5 -5
  476. package/dist/esm/co-chip_2.entry.js +96 -7
  477. package/dist/esm/co-color-picker.entry.js +5 -5
  478. package/dist/esm/co-column-picker.entry.js +3 -3
  479. package/dist/esm/co-combobox.entry.js +3 -3
  480. package/dist/esm/co-command-search.entry.js +1 -1
  481. package/dist/esm/co-data-table-pagination.entry.js +5 -5
  482. package/dist/esm/co-data-table.entry.js +2 -2
  483. package/dist/esm/co-date-picker.entry.js +12 -5
  484. package/dist/esm/co-date-range-picker.entry.js +11 -5
  485. package/dist/esm/co-date-range.entry.js +2 -2
  486. package/dist/esm/co-date-time-picker.entry.js +407 -0
  487. package/dist/esm/co-drive-card.entry.js +2 -2
  488. package/dist/esm/co-drop-zone.entry.js +2 -2
  489. package/dist/esm/co-empty-state.entry.js +3 -3
  490. package/dist/esm/co-event-calendar.entry.js +120 -19
  491. package/dist/esm/co-event-popover.entry.js +130 -0
  492. package/dist/esm/co-fab.entry.js +21 -6
  493. package/dist/esm/co-file-field.entry.js +8 -8
  494. package/dist/esm/co-file-type-tile.entry.js +3 -3
  495. package/dist/esm/co-helper-text.entry.js +3 -3
  496. package/dist/esm/co-icon-button.entry.js +2 -2
  497. package/dist/esm/co-icon.entry.js +3 -3
  498. package/dist/esm/co-input.entry.js +9 -3
  499. package/dist/esm/co-json-field.entry.js +6 -6
  500. package/dist/esm/co-lightbox.entry.js +34 -7
  501. package/dist/esm/co-list-footer.entry.js +2 -2
  502. package/dist/esm/co-list-item.entry.js +5 -5
  503. package/dist/esm/co-loader.entry.js +1 -1
  504. package/dist/esm/co-media-thumb.entry.js +3 -3
  505. package/dist/esm/co-menu-divider.entry.js +2 -2
  506. package/dist/esm/co-menu-item.entry.js +3 -3
  507. package/dist/esm/co-menu.entry.js +2 -2
  508. package/dist/esm/co-modal.entry.js +3 -3
  509. package/dist/esm/co-navbar.entry.js +3 -3
  510. package/dist/esm/co-number-field.entry.js +5 -5
  511. package/dist/esm/co-overlay.entry.js +2 -2
  512. package/dist/esm/co-page-header.entry.js +2 -2
  513. package/dist/esm/co-phone-field.entry.js +4 -4
  514. package/dist/esm/co-popover.entry.js +2 -2
  515. package/dist/esm/co-progress-bar.entry.js +3 -3
  516. package/dist/esm/co-progress-circle.entry.js +3 -3
  517. package/dist/esm/co-provider-logo_2.entry.js +69 -0
  518. package/dist/esm/co-radio-group.entry.js +1 -1
  519. package/dist/esm/co-radio.entry.js +4 -4
  520. package/dist/esm/co-rating.entry.js +4 -4
  521. package/dist/esm/co-ref-field.entry.js +16 -6
  522. package/dist/esm/co-rich-text-editor.entry.js +22 -7
  523. package/dist/esm/co-rich-text-toolbar.entry.js +37 -5
  524. package/dist/esm/co-rich-text-viewer.entry.js +36 -6
  525. package/dist/esm/co-row.entry.js +3 -3
  526. package/dist/esm/co-segmented-bar.entry.js +1 -1
  527. package/dist/esm/co-select.entry.js +13 -7
  528. package/dist/esm/co-separator.entry.js +2 -2
  529. package/dist/esm/co-sidebar-nav.entry.js +13 -3
  530. package/dist/esm/co-sidebar.entry.js +3 -3
  531. package/dist/esm/co-slider.entry.js +3 -3
  532. package/dist/esm/co-switch.entry.js +5 -5
  533. package/dist/esm/co-tab-group.entry.js +20 -4
  534. package/dist/esm/co-tab.entry.js +3 -3
  535. package/dist/esm/co-tags-field.entry.js +9 -9
  536. package/dist/esm/co-textarea.entry.js +13 -7
  537. package/dist/esm/co-toast.entry.js +1 -1
  538. package/dist/esm/co-toggle-button-group.entry.js +3 -3
  539. package/dist/esm/co-toggle-button.entry.js +3 -3
  540. package/dist/esm/co-transfer-list.entry.js +1 -1
  541. package/dist/esm/co-video.entry.js +3 -3
  542. package/dist/esm/cobalt.js +3 -3
  543. package/dist/esm/{dateI18n-C1DCLOEl.js → dateI18n-CnNpoKwg.js} +21 -0
  544. package/dist/esm/{dates-tPYikBRJ.js → dates-BU7SQCje.js} +64 -13
  545. package/dist/esm/{fieldChip-ChXW__C5.js → fieldChip-Bb8YIN0J.js} +1 -1
  546. package/dist/esm/{index-tT-aZV0-.js → index-BCEz3S-z.js} +41 -21
  547. package/dist/esm/{index-Cyrxk8Qq.js → index-RuXxdKzC.js} +171 -11
  548. package/dist/esm/loader.js +3 -3
  549. package/dist/esm/{positioning-C2mZ7x_Y.js → positioning-BMdapAL8.js} +10 -0
  550. package/dist/esm/{requiredMark-C7-_2UhB.js → requiredMark-D7kAMXHM.js} +1 -1
  551. package/dist/esm/{richTextI18n-B-ckjCUA.js → richTextI18n-BYKAgwq3.js} +3 -0
  552. package/dist/esm/time-CF8OB_TM.js +37 -0
  553. package/dist/esm/{toolbar-config-ChibIpZv.js → toolbar-config-WeuPA9Rw.js} +2 -0
  554. package/dist/esm/{tz-B6JZk8fL.js → tz-1EK-COrb.js} +1 -1
  555. package/dist/types/components/co-action-bar/co-action-bar.d.ts +66 -0
  556. package/dist/types/components/co-audio-player/co-audio-player.d.ts +62 -0
  557. package/dist/types/components/co-audio-player/co-audio-player.utils.d.ts +11 -0
  558. package/dist/types/components/co-avatar/co-avatar.d.ts +5 -0
  559. package/dist/types/components/co-button/co-button.d.ts +18 -1
  560. package/dist/types/components/co-calendar-month/co-calendar-month.d.ts +33 -1
  561. package/dist/types/components/co-calendar-timegrid/co-calendar-timegrid.d.ts +178 -0
  562. package/dist/types/components/co-carousel/co-carousel.d.ts +85 -0
  563. package/dist/types/components/co-carousel-item/co-carousel-item.d.ts +10 -0
  564. package/dist/types/components/co-date-picker/co-date-picker.d.ts +7 -0
  565. package/dist/types/components/co-date-range-picker/co-date-range-picker.d.ts +5 -0
  566. package/dist/types/components/co-date-time-picker/co-date-time-picker.d.ts +131 -0
  567. package/dist/types/components/co-event-calendar/co-event-calendar.d.ts +61 -8
  568. package/dist/types/components/co-event-popover/co-event-popover.d.ts +45 -0
  569. package/dist/types/components/co-fab/co-fab.d.ts +6 -0
  570. package/dist/types/components/co-input/co-input.d.ts +5 -0
  571. package/dist/types/components/co-lightbox/co-lightbox.d.ts +7 -0
  572. package/dist/types/components/co-menu-item/co-menu-item.d.ts +3 -0
  573. package/dist/types/components/co-option-list/co-option-list.d.ts +23 -0
  574. package/dist/types/components/co-option-list/optionListLogic.d.ts +3 -0
  575. package/dist/types/components/co-provider-logo/co-provider-logo.d.ts +17 -0
  576. package/dist/types/components/co-ref-field/co-ref-field.d.ts +6 -0
  577. package/dist/types/components/co-rich-text-editor/co-rich-text-editor.d.ts +17 -0
  578. package/dist/types/components/co-rich-text-toolbar/co-rich-text-toolbar.d.ts +12 -1
  579. package/dist/types/components/co-rich-text-viewer/co-rich-text-viewer.d.ts +10 -0
  580. package/dist/types/components/co-select/co-select.d.ts +5 -0
  581. package/dist/types/components/co-tab-group/co-tab-group.d.ts +5 -0
  582. package/dist/types/components/co-textarea/co-textarea.d.ts +5 -0
  583. package/dist/types/components.d.ts +1632 -103
  584. package/dist/types/utils/carouselI18n.d.ts +10 -0
  585. package/dist/types/utils/dateI18n.d.ts +7 -0
  586. package/dist/types/utils/eventColor.d.ts +20 -0
  587. package/dist/types/utils/richTextI18n.d.ts +1 -0
  588. package/package.json +4 -4
  589. package/dist/cjs/co-avatar.cjs.entry.js +0 -92
  590. package/dist/cjs/co-calendar-month.cjs.entry.js +0 -381
  591. package/dist/cjs/co-skeleton.cjs.entry.js +0 -26
  592. package/dist/cobalt/p-002e5beb.entry.js +0 -1
  593. package/dist/cobalt/p-0c0621a7.entry.js +0 -1
  594. package/dist/cobalt/p-13fc9c8a.entry.js +0 -1
  595. package/dist/cobalt/p-14d4c5c7.entry.js +0 -1
  596. package/dist/cobalt/p-4a075257.entry.js +0 -1
  597. package/dist/cobalt/p-5647ca9d.entry.js +0 -1
  598. package/dist/cobalt/p-5b31d45b.entry.js +0 -1
  599. package/dist/cobalt/p-6911a034.entry.js +0 -1
  600. package/dist/cobalt/p-70f70e02.entry.js +0 -1
  601. package/dist/cobalt/p-73b30ebb.entry.js +0 -1
  602. package/dist/cobalt/p-75dcaeb0.entry.js +0 -1
  603. package/dist/cobalt/p-7780ddb5.entry.js +0 -1
  604. package/dist/cobalt/p-7FZXeBK4.js +0 -1
  605. package/dist/cobalt/p-86d4e016.entry.js +0 -1
  606. package/dist/cobalt/p-8a9ed2da.entry.js +0 -1
  607. package/dist/cobalt/p-8f194753.entry.js +0 -1
  608. package/dist/cobalt/p-9c873a6a.entry.js +0 -1
  609. package/dist/cobalt/p-B-ckjCUA.js +0 -1
  610. package/dist/cobalt/p-BAA4ln31.js +0 -1
  611. package/dist/cobalt/p-C1DCLOEl.js +0 -1
  612. package/dist/cobalt/p-C2mZ7x_Y.js +0 -1
  613. package/dist/cobalt/p-ChibIpZv.js +0 -1
  614. package/dist/cobalt/p-a6900010.entry.js +0 -1
  615. package/dist/cobalt/p-aa20ffca.entry.js +0 -1
  616. package/dist/cobalt/p-ac5df270.entry.js +0 -1
  617. package/dist/cobalt/p-c0f39ddd.entry.js +0 -1
  618. package/dist/cobalt/p-c2e2eee9.entry.js +0 -1
  619. package/dist/cobalt/p-cc8e2f16.entry.js +0 -1
  620. package/dist/cobalt/p-e1957078.entry.js +0 -1
  621. package/dist/cobalt/p-e2762263.entry.js +0 -1
  622. package/dist/cobalt/p-e33853fa.entry.js +0 -1
  623. package/dist/cobalt/p-e4a539da.entry.js +0 -1
  624. package/dist/cobalt/p-e7085f08.entry.js +0 -1
  625. package/dist/cobalt/p-f073b467.entry.js +0 -1
  626. package/dist/cobalt/p-f36e461f.entry.js +0 -1
  627. package/dist/cobalt/p-f6ac5301.entry.js +0 -1
  628. package/dist/cobalt/p-f6b0c4a0.entry.js +0 -1
  629. package/dist/cobalt/p-f86ccb38.entry.js +0 -1
  630. package/dist/cobalt/p-tPYikBRJ.js +0 -1
  631. package/dist/cobalt/p-tT-aZV0-.js +0 -2
  632. package/dist/components/p-BHqdcGDh.js +0 -1
  633. package/dist/components/p-BJTMFYax.js +0 -1
  634. package/dist/components/p-Ba5lW0pA.js +0 -1
  635. package/dist/components/p-Bsq90mo4.js +0 -1
  636. package/dist/components/p-C1DCLOEl.js +0 -1
  637. package/dist/components/p-C2mZ7x_Y.js +0 -1
  638. package/dist/components/p-ChibIpZv.js +0 -1
  639. package/dist/components/p-CyYF8IJE.js +0 -1
  640. package/dist/components/p-D3ts7oo9.js +0 -1
  641. package/dist/components/p-Dh-h40mY.js +0 -1
  642. package/dist/components/p-DrQh1Cb8.js +0 -1
  643. package/dist/components/p-OKwHt2i9.js +0 -1
  644. package/dist/components/p-Xwo2HQmt.js +0 -1
  645. package/dist/components/p-eSq2ze8W.js +0 -1
  646. package/dist/esm/co-avatar.entry.js +0 -90
  647. package/dist/esm/co-calendar-month.entry.js +0 -379
  648. package/dist/esm/co-skeleton.entry.js +0 -24
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DxEFsH_t.js');
3
+ var index = require('./index-kBiXCEE7.js');
4
4
 
5
5
  const coAccordionCss = () => `: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}`;
6
6
 
@@ -0,0 +1,89 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-kBiXCEE7.js');
4
+
5
+ const coActionBarCss = () => `:host{display:inline-flex;font-family:var(--co-font-family-primary);pointer-events:none}:host([position='bottom-center']){position:fixed;left:50%;transform:translateX(-50%);bottom:var(--co-action-bar-offset, 24px);z-index:var(--co-action-bar-z, 1000);max-width:calc(100vw - 2 * var(--co-action-bar-inline-margin, 24px))}.co-action-bar{position:relative;display:flex;align-items:center;box-sizing:border-box;max-width:100%;gap:var(--co-spacing-sm2);padding:var(--co-spacing-sm2) var(--co-spacing-md) var(--co-spacing-sm2) var(--co-spacing-lg);border-radius:var(--co-border-radius-lg);background:var(--co-semantic-surface-primary);color:var(--co-semantic-text-inverse);box-shadow:var(--co-shadow-lg);opacity:0;transform:translateY(8px);pointer-events:none;visibility:hidden}.co-action-bar--open{opacity:1;transform:translateY(0);pointer-events:auto;visibility:visible}.co-action-bar--animated{transition:opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms}.co-action-bar--animated.co-action-bar--open{transition:opacity 180ms ease, transform 180ms ease, visibility 0s}@media (prefers-reduced-motion: reduce){.co-action-bar{transform:none}.co-action-bar--animated{transition:opacity 180ms ease, visibility 0s linear 180ms}.co-action-bar--animated.co-action-bar--open{transition:opacity 180ms ease, visibility 0s}}.co-action-bar__label{font-size:var(--co-font-size-14);font-weight:500;letter-spacing:var(--co-font-letter-spacing-body);line-height:1;white-space:nowrap;flex-shrink:0;padding-right:var(--co-spacing-xs)}.co-action-bar__actions{display:flex;align-items:center;gap:var(--co-spacing-xs);min-width:0}::slotted(hr){width:1px;height:24px;flex-shrink:0;align-self:center;margin:0 var(--co-spacing-xs);border:none;padding:0;background:color-mix(in srgb, var(--co-color-base-blanco, #fff) 28%, transparent)}.co-action-bar__dismiss{flex-shrink:0}.co-action-bar__live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap}`;
6
+
7
+ const CoActionBar = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ this.coDismiss = index.createEvent(this, "coDismiss", 7);
11
+ /** Visibilidad. El DOM persiste; open solo togglea la clase --open. */
12
+ this.open = false;
13
+ /** Muestra la X de descarte (emite coDismiss). */
14
+ this.dismissible = true;
15
+ /**
16
+ * Anclaje opt-in: 'bottom-center' aplica fixed+centrado en el HOST vía
17
+ * :host([position='bottom-center']) — por eso la prop se REFLEJA a
18
+ * atributo. 'none' deja el flujo normal (consumidores draggable/absolute
19
+ * posicionan ellos, como co-fab).
20
+ */
21
+ this.position = 'none';
22
+ /**
23
+ * Texto del nodo aria-live sr-only. Se muta DIFERIDO (coalescing ~600ms):
24
+ * seleccionar filas rápido produce una ráfaga de labels, y un live region
25
+ * que muta por cada una spamea al lector de pantalla. El timer difiere la
26
+ * mutación del nodo de texto y solo el último valor de la ráfaga se anuncia.
27
+ */
28
+ this.liveText = '';
29
+ /** Transiciones apagadas hasta después del primer paint (ver componentDidLoad). */
30
+ this.animated = false;
31
+ this.handleDismiss = () => {
32
+ this.coDismiss.emit();
33
+ };
34
+ }
35
+ onLabelChange(newLabel) {
36
+ if (this.liveTimer !== undefined)
37
+ clearTimeout(this.liveTimer);
38
+ this.liveTimer = setTimeout(() => {
39
+ this.liveTimer = undefined;
40
+ this.liveText = newLabel !== null && newLabel !== void 0 ? newLabel : '';
41
+ }, 600);
42
+ }
43
+ componentWillLoad() {
44
+ var _a;
45
+ // Valor inicial SIN timer: montar no es un cambio que anunciar (los live
46
+ // regions solo anuncian mutaciones posteriores) y Stencil NO dispara
47
+ // @Watch para el valor inicial (gotcha, ver co-popover.tsx:67-74).
48
+ this.liveText = (_a = this.label) !== null && _a !== void 0 ? _a : '';
49
+ }
50
+ componentDidLoad() {
51
+ // Estado inicial SIN transición: la clase --open ya salió del primer
52
+ // render derivada de la prop (@Watch no corre para el valor inicial —
53
+ // mismo gotcha) y las transiciones se habilitan recién DESPUÉS del primer
54
+ // paint. Así un mount con open=true aparece en su lugar sin animar desde
55
+ // translateY(8px)+opacity:0.
56
+ const enable = () => (this.animated = true);
57
+ if (typeof requestAnimationFrame === 'function') {
58
+ this.rafId = requestAnimationFrame(enable);
59
+ }
60
+ else {
61
+ enable();
62
+ }
63
+ }
64
+ disconnectedCallback() {
65
+ if (this.liveTimer !== undefined) {
66
+ clearTimeout(this.liveTimer);
67
+ this.liveTimer = undefined;
68
+ }
69
+ if (this.rafId !== undefined && typeof cancelAnimationFrame === 'function') {
70
+ cancelAnimationFrame(this.rafId);
71
+ this.rafId = undefined;
72
+ }
73
+ }
74
+ render() {
75
+ return (index.h("div", { key: 'c350ea38a12157a5cefe26f303ef7100938d55c9', class: {
76
+ 'co-action-bar': true,
77
+ 'co-action-bar--open': this.open,
78
+ 'co-action-bar--animated': this.animated,
79
+ }, part: "bar", role: "group", "aria-label": this.ariaLabelText || this.label, "aria-hidden": this.open ? null : 'true' }, index.h("span", { key: '9f2d3d5729fd150e5aa0c487067c7c8ad6cd8b59', class: "co-action-bar__live", "aria-live": "polite" }, this.liveText), index.h("span", { key: 'd2617507df8f2b48a743c1bb20482d9cc2e227df', class: "co-action-bar__label", part: "label" }, index.h("slot", { key: 'aad415247f017bd8ea38e38f84a0cd768a2f6f38', name: "label" }, this.label)), index.h("div", { key: '8999cd574e430246824effda0bfa531d62a3530a', class: "co-action-bar__actions", part: "actions" }, index.h("slot", { key: 'f06636fd076da38bc07982637f7def5d75df733e' })), this.dismissible !== false && (index.h("co-icon-button", { key: '4227fa464073430c67190ac4afc6c6534b627934', class: "co-action-bar__dismiss", part: "dismiss", icon: "x", variant: "ghost", surface: "dark", size: "xs", label: "Dismiss", onClick: this.handleDismiss }))));
80
+ }
81
+ static get watchers() { return {
82
+ "label": [{
83
+ "onLabelChange": 0
84
+ }]
85
+ }; }
86
+ };
87
+ CoActionBar.style = coActionBarCss();
88
+
89
+ exports.co_action_bar = CoActionBar;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DxEFsH_t.js');
3
+ var index = require('./index-kBiXCEE7.js');
4
4
 
5
5
  const coAppShellCss = () => `:host{display:flex;height:100vh;overflow:hidden;background:var(--co-app-shell-bg, linear-gradient( 180deg, var(--co-color-base-off-white) 0%, var(--co-color-neutral-100) 50%, var(--co-color-neutral-100) 100% ));font-family:var(--co-font-family-primary)}.sidebar{display:flex;flex-direction:column;width:256px;height:100%;flex-shrink:0;overflow:hidden;transition:width 0.2s ease;padding:var(--co-spacing-sm);padding-right:0;box-sizing:border-box}:host([sidebar-mode="min"]) .sidebar{--co-sidebar-min-width:64px;width:var(--co-sidebar-min-width);align-items:flex-start;padding:var(--co-spacing-sm) 0}.sidebar__header{flex-shrink:0}.sidebar__body{flex:1;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.sidebar__body:hover{scrollbar-color:var(--co-color-opacity-blanco-16) transparent}.sidebar__body::-webkit-scrollbar{width:6px}.sidebar__body::-webkit-scrollbar-track{background:transparent}.sidebar__body::-webkit-scrollbar-thumb{background:transparent;border-radius:9999px}.sidebar__body:hover::-webkit-scrollbar-thumb{background:var(--co-color-opacity-blanco-16)}.sidebar__body:hover::-webkit-scrollbar-thumb:hover{background:var(--co-color-opacity-blanco-25)}.sidebar__body:hover::-webkit-scrollbar-thumb:active{background:var(--co-color-opacity-blanco-50)}.sidebar__footer{flex-shrink:0}:host([sidebar-mode="min"]) .sidebar__header,:host([sidebar-mode="min"]) .sidebar__body,:host([sidebar-mode="min"]) .sidebar__footer{display:flex;flex-direction:column;align-items:center;width:var(--co-sidebar-min-width, 64px)}:host([sidebar-mode="min"]) .sidebar__header{gap:var(--co-spacing-sm);padding-bottom:var(--co-spacing-md)}:host([sidebar-mode="min"]) .sidebar__body{scrollbar-width:none}:host([sidebar-mode="min"]) .sidebar__body::-webkit-scrollbar{width:0}.main{display:flex;flex-direction:column;flex:1;min-width:0;padding:0;margin:var(--co-spacing-sm);margin-left:0;min-height:0;filter:drop-shadow(0 1px 2px rgba(31, 28, 27, 0.06)) drop-shadow(0 10px 28px rgba(31, 28, 27, 0.12));--co-shell-r:var(--co-border-radius-md);--co-sq-tl:url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27 preserveAspectRatio=%27none%27><path d=%27M100 0L97.5 0L95 0L92.5 0L90 0L87.5 0.01L85 0.01L82.5 0.02L80 0.04L77.5 0.06L75 0.1L72.5 0.14L70 0.2L67.5 0.28L65 0.38L62.5 0.5L60 0.65L57.5 0.83L55 1.04L52.5 1.3L50 1.6L47.5 1.96L45 2.37L42.5 2.85L40 3.41L37.5 4.05L35 4.8L32.5 5.65L30 6.63L27.5 7.77L25 9.07L22.5 10.58L20 12.34L17.5 14.41L15 16.85L12.5 19.79L10 23.42L7.5 28.06L5 34.37L2.5 44.29L0 100L100 100Z%27 fill=%27%23fff%27/></svg>");--co-sq-tr:url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27 preserveAspectRatio=%27none%27><path d=%27M0 0L2.5 0L5 0L7.5 0L10 0L12.5 0.01L15 0.01L17.5 0.02L20 0.04L22.5 0.06L25 0.1L27.5 0.14L30 0.2L32.5 0.28L35 0.38L37.5 0.5L40 0.65L42.5 0.83L45 1.04L47.5 1.3L50 1.6L52.5 1.96L55 2.37L57.5 2.85L60 3.41L62.5 4.05L65 4.8L67.5 5.65L70 6.63L72.5 7.77L75 9.07L77.5 10.58L80 12.34L82.5 14.41L85 16.85L87.5 19.79L90 23.42L92.5 28.06L95 34.37L97.5 44.29L100 100L0 100Z%27 fill=%27%23fff%27/></svg>");--co-sq-bl:url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27 preserveAspectRatio=%27none%27><path d=%27M0 0L2.5 55.71L5 65.63L7.5 71.94L10 76.58L12.5 80.21L15 83.15L17.5 85.59L20 87.66L22.5 89.42L25 90.93L27.5 92.23L30 93.37L32.5 94.35L35 95.2L37.5 95.95L40 96.59L42.5 97.15L45 97.63L47.5 98.04L50 98.4L52.5 98.7L55 98.96L57.5 99.17L60 99.35L62.5 99.5L65 99.62L67.5 99.72L70 99.8L72.5 99.86L75 99.9L77.5 99.94L80 99.96L82.5 99.98L85 99.99L87.5 99.99L90 100L92.5 100L95 100L97.5 100L100 100L100 0Z%27 fill=%27%23fff%27/></svg>");--co-sq-br:url("data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 100 100%27 preserveAspectRatio=%27none%27><path d=%27M100 0L97.5 55.71L95 65.63L92.5 71.94L90 76.58L87.5 80.21L85 83.15L82.5 85.59L80 87.66L77.5 89.42L75 90.93L72.5 92.23L70 93.37L67.5 94.35L65 95.2L62.5 95.95L60 96.59L57.5 97.15L55 97.63L52.5 98.04L50 98.4L47.5 98.7L45 98.96L42.5 99.17L40 99.35L37.5 99.5L35 99.62L32.5 99.72L30 99.8L27.5 99.86L25 99.9L22.5 99.94L20 99.96L17.5 99.98L15 99.99L12.5 99.99L10 100L7.5 100L5 100L2.5 100L0 100L0 0Z%27 fill=%27%23fff%27/></svg>")}.main__card{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;border-radius:0;-webkit-mask:var(--co-sq-tl) top left / var(--co-shell-r) var(--co-shell-r) no-repeat, var(--co-sq-tr) top right / var(--co-shell-r) var(--co-shell-r) no-repeat, var(--co-sq-bl) bottom left / var(--co-shell-r) var(--co-shell-r) no-repeat, var(--co-sq-br) bottom right / var(--co-shell-r) var(--co-shell-r) no-repeat, linear-gradient(#fff 0 0) center / 100% calc(100% - 2 * var(--co-shell-r) + 2px) no-repeat, linear-gradient(#fff 0 0) center / calc(100% - 2 * var(--co-shell-r) + 2px) 100% no-repeat;mask:var(--co-sq-tl) top left / var(--co-shell-r) var(--co-shell-r) no-repeat, var(--co-sq-tr) top right / var(--co-shell-r) var(--co-shell-r) no-repeat, var(--co-sq-bl) bottom left / var(--co-shell-r) var(--co-shell-r) no-repeat, var(--co-sq-br) bottom right / var(--co-shell-r) var(--co-shell-r) no-repeat, linear-gradient(#fff 0 0) center / 100% calc(100% - 2 * var(--co-shell-r) + 2px) no-repeat, linear-gradient(#fff 0 0) center / calc(100% - 2 * var(--co-shell-r) + 2px) 100% no-repeat}.main__header{flex-shrink:0}.main__content{flex:1;min-height:0;overflow:hidden;scrollbar-width:thin;scrollbar-color:transparent transparent}.main__content:hover{scrollbar-color:var(--co-color-opacity-negro-16) transparent}.main__content::-webkit-scrollbar{width:6px;height:6px}.main__content::-webkit-scrollbar-track{background:transparent}.main__content::-webkit-scrollbar-thumb{background:transparent;border-radius:9999px}.main__content:hover::-webkit-scrollbar-thumb{background:var(--co-color-opacity-negro-16)}.main__content:hover::-webkit-scrollbar-thumb:hover{background:var(--co-color-opacity-negro-25)}.main__content:hover::-webkit-scrollbar-thumb:active{background:var(--co-color-opacity-negro-50)}.main__content--card{background:var(--co-semantic-surface-secondary)}`;
6
6
 
@@ -14,10 +14,10 @@ const CoAppShell = class {
14
14
  this.contentCard = true;
15
15
  }
16
16
  render() {
17
- return (index.h(index.Host, { key: 'eba2c0de5107ee99f46dd0f58e93c7957b635fc6' }, index.h("aside", { key: 'd70fd877fb8b0341f1a93d0c96f7e94ccc67a5bc', class: "sidebar", part: "sidebar" }, index.h("div", { key: '712d562d0137d49073264464a4656efa13505080', class: "sidebar__header", part: "sidebar-header" }, index.h("slot", { key: '3414826e8939d2cd01f1fcdca7dadf1ec6c6921e', name: "sidebar-header" })), index.h("div", { key: '2f9ec77ce51b77048130c042a7c275b8f1169b68', class: "sidebar__body", part: "sidebar-body" }, index.h("slot", { key: '6291e33cce9afcfb59fac200629f899206d667eb', name: "sidebar" })), index.h("div", { key: 'e3314bda8652362d2570960a0ee65fb843d6e07f', class: "sidebar__footer", part: "sidebar-footer" }, index.h("slot", { key: 'e2b09d7a7435e0c29f3ac43b9a4200763964d52e', name: "sidebar-footer" }))), index.h("div", { key: '73081c14cf2f04ad4b0062007287edea09bb3a88', class: "main", part: "main" }, index.h("div", { key: '5e3dbe0b27716f815972ea39dda4479b2072872c', class: "main__card", part: "card" }, index.h("header", { key: '3df713d4c3a015ba14366433770cfba66e9b8bbc', class: "main__header", part: "header" }, index.h("slot", { key: '8e36000c6195f22fb7abe54d1adfb026374d9248', name: "navbar" })), index.h("main", { key: '63cda7e07239d551fb950e12cce998e2fe9271c7', class: {
17
+ return (index.h(index.Host, { key: '7a45ab21e3ad256e25f05df33ad827931532c34a' }, index.h("aside", { key: '5ca5469a35e630b4ab01be23cae46efc43cb1519', class: "sidebar", part: "sidebar" }, index.h("div", { key: 'f4243197b46e67b4d632aa8abad803b07f471bb2', class: "sidebar__header", part: "sidebar-header" }, index.h("slot", { key: 'b609c8272c05f7e4cbb2c8ae1ab0c24430541f84', name: "sidebar-header" })), index.h("div", { key: '72ca1118e1eeb6b5f3467c16c82dac60c4dc4042', class: "sidebar__body", part: "sidebar-body" }, index.h("slot", { key: '48c65d150a4836996cf7406f32142bcb86e545df', name: "sidebar" })), index.h("div", { key: 'be09567b81d7abae1738decfd30b9b7b6edb47f2', class: "sidebar__footer", part: "sidebar-footer" }, index.h("slot", { key: 'd202466aa14916d7fd3be163a615ce1156151150', name: "sidebar-footer" }))), index.h("div", { key: 'd8b6f0cfdf0c4123b413d5d8bad78813fb7ba1a9', class: "main", part: "main" }, index.h("div", { key: '0efa85801eaa0cd339875ff4a1fd9cedcd715751', class: "main__card", part: "card" }, index.h("header", { key: 'befa647b3822ed055166c3e2da9aca9fb54c1204', class: "main__header", part: "header" }, index.h("slot", { key: 'b08034b07963d178f3b8e9cee16d3975f97a7b90', name: "navbar" })), index.h("main", { key: '3b0adfc33dd08b08fb2edf84a5f098c0ff7d1003', class: {
18
18
  'main__content': true,
19
19
  'main__content--card': this.contentCard,
20
- }, part: "content" }, index.h("slot", { key: '7ccab85592e8e9efdc2802f0147ad8b5ad749899' }))))));
20
+ }, part: "content" }, index.h("slot", { key: '4c38a0a04548bc6cd2cc04d9b3fb095f5548fdde' }))))));
21
21
  }
22
22
  };
23
23
  CoAppShell.style = coAppShellCss();
@@ -0,0 +1,279 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-kBiXCEE7.js');
4
+
5
+ /** Seconds → "m:ss" (floors; 0 for NaN/negative). */
6
+ function formatTime(seconds) {
7
+ const s = Math.max(0, Math.floor(seconds || 0));
8
+ const m = Math.floor(s / 60);
9
+ const sec = s % 60;
10
+ return `${m}:${sec.toString().padStart(2, '0')}`;
11
+ }
12
+ /** Downsample raw PCM to `bars` peak heights, each normalized to a 0..1 fraction. */
13
+ function resamplePeaks(channelData, bars) {
14
+ const len = channelData.length;
15
+ if (!len || bars <= 0)
16
+ return [];
17
+ const step = Math.max(1, Math.floor(len / bars));
18
+ const peaks = [];
19
+ for (let i = 0; i < bars; i++) {
20
+ let max = 0;
21
+ const start = i * step;
22
+ for (let j = start; j < start + step && j < len; j++) {
23
+ const abs = Math.abs(channelData[j]);
24
+ if (abs > max)
25
+ max = abs;
26
+ }
27
+ peaks.push(0.12 + max * 0.88); // floor of 0.12 so silent buckets still show a sliver
28
+ }
29
+ return peaks;
30
+ }
31
+ /** Deterministic pseudo-waveform (stable render + testable — no Math.random). */
32
+ function fallbackPeaks(bars) {
33
+ if (bars <= 0)
34
+ return [];
35
+ const peaks = [];
36
+ for (let i = 0; i < bars; i++) {
37
+ const envelope = Math.sin((i / Math.max(1, bars)) * Math.PI) * 0.6 + 0.3;
38
+ const wobble = 0.75 + 0.25 * Math.abs(Math.sin(i * 1.7));
39
+ peaks.push(0.12 + envelope * wobble * 0.88);
40
+ }
41
+ return peaks;
42
+ }
43
+ /** Clamped 0..1 position of a click within a track rect. */
44
+ function scrubFraction(clientX, rect) {
45
+ if (!rect.width)
46
+ return 0;
47
+ return Math.max(0, Math.min(1, (clientX - rect.left) / rect.width));
48
+ }
49
+
50
+ const coAudioPlayerCss = () => `:host{display:block;font-family:var(--co-font-family-primary)}.co-audio-player{display:flex;align-items:center;gap:var(--co-spacing-md);padding:var(--co-spacing-sm) var(--co-spacing-md);border:1px solid var(--co-semantic-border-default);border-radius:var(--co-border-radius-xs);background:var(--co-semantic-surface-secondary);min-width:180px}.co-audio-player--compact{gap:var(--co-spacing-sm2);padding:var(--co-spacing-sm2) var(--co-spacing-sm);min-width:140px}.co-audio-player__play{flex:0 0 auto;width:28px;height:28px;border:none;border-radius:50%;cursor:pointer;background:var(--co-semantic-surface-primary);color:var(--co-semantic-text-inverse);display:inline-flex;align-items:center;justify-content:center}.co-audio-player--compact .co-audio-player__play{width:24px;height:24px}.co-audio-player__play:disabled{opacity:.5;cursor:not-allowed}.co-audio-player__play:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:2px}.co-audio-player__wave{flex:1;height:40px;min-width:0;cursor:pointer;display:flex;align-items:center}.co-audio-player__wave:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:2px;border-radius:var(--co-border-radius-xxs)}.co-audio-player__svg{width:100%;height:100%;display:block}.co-audio-player__bar{fill:var(--co-semantic-border-field);transition:fill .15s}.co-audio-player__wave:hover .co-audio-player__bar{fill:var(--co-semantic-text-muted)}.co-audio-player__bar--played{fill:var(--co-semantic-surface-primary)}.co-audio-player__time{flex:0 0 auto;font-size:var(--co-font-size-12);color:var(--co-semantic-text-muted);font-variant-numeric:tabular-nums;min-width:62px;text-align:right}.co-audio-player__speed{flex:0 0 auto;border:none;background:transparent;cursor:pointer;padding:2px 4px;color:var(--co-semantic-text-muted);font-family:var(--co-font-family-primary);font-size:var(--co-font-size-12);font-variant-numeric:tabular-nums;min-width:34px;text-align:center}.co-audio-player__speed:hover{color:var(--co-semantic-text-default)}.co-audio-player__speed:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:2px;border-radius:var(--co-border-radius-xxs)}.co-audio-player__dl{flex:0 0 auto;border:none;background:transparent;cursor:pointer;padding:2px;color:var(--co-semantic-text-muted);display:inline-flex}.co-audio-player__dl:hover{color:var(--co-semantic-text-default)}.co-audio-player__dl:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:2px}.co-audio-player--error .co-audio-player__wave{opacity:.5}.co-audio-player--error .co-audio-player__play{background:var(--co-color-status-error);color:var(--co-semantic-text-inverse);opacity:1}@media (prefers-reduced-motion: reduce){.co-audio-player__bar{transition:none}}`;
51
+
52
+ const CoAudioPlayer = class {
53
+ constructor(hostRef) {
54
+ index.registerInstance(this, hostRef);
55
+ this.coPlay = index.createEvent(this, "coPlay", 7);
56
+ this.coPause = index.createEvent(this, "coPause", 7);
57
+ this.coEnded = index.createEvent(this, "coEnded", 7);
58
+ this.coError = index.createEvent(this, "coError", 7);
59
+ /** Compact variant: narrower, hides the download button. */
60
+ this.compact = false;
61
+ /** Fallback bar count used before the container width is measured. Once
62
+ * measured, the real bar count is derived from the width via `barDensity`
63
+ * (V1 parity: a dense, detail-rich waveform rather than a fixed count). */
64
+ this.bars = 64;
65
+ /** Pixels per waveform bar (bar + gap). Lower = denser/more detailed, like V1
66
+ * (`SkAudioPlayer` used 3). The measured bar count = floor(width / barDensity). */
67
+ this.barDensity = 3;
68
+ /** Passthrough to the underlying <audio> preload. */
69
+ this.preload = 'metadata';
70
+ /** Filename for the download button. */
71
+ this.downloadFilename = 'audio';
72
+ /** Hide the download button even in full mode. */
73
+ this.noDownload = false;
74
+ this.isPlaying = false;
75
+ this.isLoading = false;
76
+ this.hasError = false;
77
+ this.currentTime = 0;
78
+ this.duration = 0;
79
+ this.peaks = [];
80
+ /** Measured wave width (px); 0 until the ResizeObserver reports it. */
81
+ this.containerWidth = 0;
82
+ /** Current playback rate; the speed control cycles through `SPEEDS`. */
83
+ this.playbackRate = 1;
84
+ // Decoded mono PCM, kept so bars can be re-resampled on resize without re-fetching.
85
+ this.rawChannelData = null;
86
+ this.onMeta = () => { var _a; this.duration = ((_a = this.audio) === null || _a === void 0 ? void 0 : _a.duration) || 0; };
87
+ this.onCanPlay = () => { this.isLoading = false; };
88
+ this.onWaiting = () => { this.isLoading = true; };
89
+ this.onTime = () => { var _a; this.currentTime = ((_a = this.audio) === null || _a === void 0 ? void 0 : _a.currentTime) || 0; };
90
+ this.onEnded = () => { this.isPlaying = false; this.currentTime = 0; this.coEnded.emit(); };
91
+ this.onErr = (e) => { this.isLoading = false; this.hasError = true; this.coError.emit(e); };
92
+ this.toggle = () => {
93
+ if (!this.audio || this.hasError)
94
+ return;
95
+ if (this.isPlaying) {
96
+ this.audio.pause();
97
+ this.isPlaying = false;
98
+ this.coPause.emit();
99
+ }
100
+ else {
101
+ this.audio.play().then(() => { this.isPlaying = true; this.coPlay.emit(); }).catch(() => { });
102
+ }
103
+ };
104
+ // Playback-speed cycle (V1 SkAudioPlayer parity): the label shows the current
105
+ // rate and clicking it advances to the next.
106
+ this.SPEEDS = [1, 1.5, 2, 0.5];
107
+ this.cycleSpeed = () => {
108
+ const i = this.SPEEDS.indexOf(this.playbackRate);
109
+ this.playbackRate = this.SPEEDS[(i + 1) % this.SPEEDS.length];
110
+ if (this.audio)
111
+ this.audio.playbackRate = this.playbackRate;
112
+ };
113
+ this.seekAt = (clientX) => {
114
+ if (!this.audio || !this.waveEl || !this.duration)
115
+ return;
116
+ const frac = scrubFraction(clientX, this.waveEl.getBoundingClientRect());
117
+ this.audio.currentTime = frac * this.duration;
118
+ this.currentTime = this.audio.currentTime;
119
+ };
120
+ this.onWaveKey = (e) => {
121
+ if (e.key === ' ' || e.key === 'Enter') {
122
+ e.preventDefault();
123
+ this.toggle();
124
+ return;
125
+ }
126
+ if (!this.audio || !this.duration)
127
+ return;
128
+ if (e.key === 'ArrowRight')
129
+ this.audio.currentTime = Math.min(this.duration, this.audio.currentTime + 5);
130
+ else if (e.key === 'ArrowLeft')
131
+ this.audio.currentTime = Math.max(0, this.audio.currentTime - 5);
132
+ else
133
+ return;
134
+ this.currentTime = this.audio.currentTime;
135
+ };
136
+ }
137
+ /** Bar count: derived from the measured width (V1-style density) once known,
138
+ * else the `bars` fallback. Floored at 24 so a narrow player still reads as a wave. */
139
+ get effectiveBars() {
140
+ return this.containerWidth > 0
141
+ ? Math.max(24, Math.floor(this.containerWidth / this.barDensity))
142
+ : this.bars;
143
+ }
144
+ // componentWillLoad (not componentDidLoad) so `init()` seeds @State before the
145
+ // FIRST render pass. Under @stencil/vitest's test-bundle transform, class-field
146
+ // defaults for @Prop/@State are not seeded on the element ahead of render (see
147
+ // the co-tab-group.spec.tsx comment on this repo's harness gap) — running before
148
+ // the first render, not after, is what keeps this.peaks/duration/etc. defined.
149
+ componentWillLoad() { this.init(); }
150
+ // Measure the wave width so the bar count tracks it (V1 density). The wave
151
+ // element exists only after the first render, hence componentDidLoad.
152
+ componentDidLoad() {
153
+ if (typeof ResizeObserver === 'undefined' || !this.waveEl)
154
+ return;
155
+ this.resizeObserver = new ResizeObserver((entries) => {
156
+ var _a;
157
+ for (const entry of entries) {
158
+ const w = ((_a = entry.contentRect) === null || _a === void 0 ? void 0 : _a.width) || entry.target.clientWidth || 0;
159
+ if (w > 2 && Math.abs(w - this.containerWidth) > 2) {
160
+ this.containerWidth = w;
161
+ this.rebuildBars();
162
+ }
163
+ }
164
+ });
165
+ this.resizeObserver.observe(this.waveEl);
166
+ const w0 = this.waveEl.clientWidth || 0;
167
+ if (w0 > 2) {
168
+ this.containerWidth = w0;
169
+ this.rebuildBars();
170
+ }
171
+ }
172
+ disconnectedCallback() {
173
+ var _a;
174
+ this.teardown();
175
+ (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
176
+ this.resizeObserver = undefined;
177
+ }
178
+ onSrcChange() { this.init(); }
179
+ // Re-derive bars for the current width: from cached PCM if decoded, else the
180
+ // deterministic fallback shape. Reassign the array so Stencil re-renders.
181
+ rebuildBars() {
182
+ this.peaks = this.rawChannelData
183
+ ? resamplePeaks(this.rawChannelData, this.effectiveBars)
184
+ : fallbackPeaks(this.effectiveBars);
185
+ }
186
+ init() {
187
+ this.teardown();
188
+ this.rawChannelData = null;
189
+ this.peaks = fallbackPeaks(this.effectiveBars); // draw immediately; refine with real peaks
190
+ this.currentTime = 0;
191
+ this.duration = 0;
192
+ this.playbackRate = 1; // a fresh source starts at 1x (new <audio> defaults to 1)
193
+ this.hasError = false;
194
+ if (!this.src)
195
+ return;
196
+ this.isLoading = true;
197
+ this.extractPeaks(this.src);
198
+ if (typeof Audio === 'undefined')
199
+ return; // test/SSR guard
200
+ const el = new Audio();
201
+ el.preload = this.preload;
202
+ el.crossOrigin = 'anonymous';
203
+ el.src = this.src;
204
+ el.addEventListener('loadedmetadata', this.onMeta);
205
+ el.addEventListener('timeupdate', this.onTime);
206
+ el.addEventListener('ended', this.onEnded);
207
+ el.addEventListener('error', this.onErr);
208
+ el.addEventListener('canplay', this.onCanPlay);
209
+ el.addEventListener('waiting', this.onWaiting);
210
+ this.audio = el;
211
+ }
212
+ teardown() {
213
+ if (this.audio) {
214
+ this.audio.pause();
215
+ this.audio.removeEventListener('loadedmetadata', this.onMeta);
216
+ this.audio.removeEventListener('timeupdate', this.onTime);
217
+ this.audio.removeEventListener('ended', this.onEnded);
218
+ this.audio.removeEventListener('error', this.onErr);
219
+ this.audio.removeEventListener('canplay', this.onCanPlay);
220
+ this.audio.removeEventListener('waiting', this.onWaiting);
221
+ this.audio.src = '';
222
+ this.audio = undefined;
223
+ }
224
+ this.isPlaying = false;
225
+ }
226
+ async extractPeaks(url) {
227
+ try {
228
+ const Ctx = window.AudioContext || window.webkitAudioContext;
229
+ if (!Ctx || typeof fetch === 'undefined')
230
+ return; // keep fallback
231
+ const ctx = new Ctx();
232
+ const buf = await (await fetch(url)).arrayBuffer();
233
+ const audioBuf = await ctx.decodeAudioData(buf);
234
+ this.rawChannelData = audioBuf.getChannelData(0);
235
+ this.peaks = resamplePeaks(this.rawChannelData, this.effectiveBars);
236
+ ctx.close();
237
+ }
238
+ catch (_a) {
239
+ this.rawChannelData = null;
240
+ this.peaks = fallbackPeaks(this.effectiveBars); // stays functional
241
+ }
242
+ }
243
+ async download() {
244
+ if (!this.src || typeof fetch === 'undefined')
245
+ return;
246
+ try {
247
+ const blob = await (await fetch(this.src)).blob();
248
+ const url = URL.createObjectURL(blob);
249
+ const a = document.createElement('a');
250
+ a.href = url;
251
+ a.download = this.downloadFilename;
252
+ document.body.appendChild(a);
253
+ a.click();
254
+ a.remove();
255
+ URL.revokeObjectURL(url);
256
+ }
257
+ catch ( /* ignore */_a) { /* ignore */ }
258
+ }
259
+ render() {
260
+ const H = 40, UNIT = 3, W = 1.8, R = 0.6;
261
+ const vbW = Math.max(1, this.peaks.length * UNIT);
262
+ const pct = this.duration ? (this.currentTime / this.duration) * 100 : 0;
263
+ const bar = (hFrac, i, played = false) => (index.h("rect", { key: 'ffe5ce97626e52c12e60b953b62d237f14acb582', x: i * UNIT, y: H / 2 - (hFrac * H) / 2, width: W, height: Math.max(hFrac * H, 2), rx: R, class: { 'co-audio-player__bar': true, 'co-audio-player__bar--played': played } }));
264
+ return (index.h("div", { key: '012710aded6ca183e80d7fde087cb0fdf413249b', class: {
265
+ 'co-audio-player': true,
266
+ 'co-audio-player--compact': this.compact,
267
+ 'co-audio-player--error': this.hasError,
268
+ 'co-audio-player--playing': this.isPlaying,
269
+ }, part: "player" }, index.h("button", { key: '2505b88e97e73fd39aa31e3dad5e7fe0c1b94c80', type: "button", class: "co-audio-player__play", part: "play", "aria-label": this.hasError ? 'Audio no disponible' : this.isPlaying ? 'Pausar' : 'Reproducir', "aria-busy": this.isLoading ? 'true' : 'false', disabled: this.hasError || !this.src, onClick: this.toggle }, index.h("co-icon", { key: 'e0e0d2dd5f6e0578ba80a3c235e5c221a6e8fe21', name: this.hasError ? 'warning-circle' : this.isPlaying ? 'pause' : 'play', weight: "fill", size: this.compact ? 12 : 14 })), index.h("div", { key: 'd2b32119c69c64d2f68d469fe4ae056780446322', class: "co-audio-player__wave", part: "wave", role: "slider", tabindex: "0", "aria-label": "Progreso de reproducci\u00F3n", "aria-valuemin": 0, "aria-valuemax": Math.floor(this.duration), "aria-valuenow": Math.floor(this.currentTime), ref: (el) => (this.waveEl = el), onClick: (e) => this.seekAt(e.clientX), onKeyDown: this.onWaveKey }, index.h("svg", { key: 'fb9643df152d2d0b119580954f639cb3a9c2cd66', class: "co-audio-player__svg", viewBox: `0 0 ${vbW} ${H}`, preserveAspectRatio: "none", "aria-hidden": "true" }, this.peaks.map((hFrac, i) => bar(hFrac, i)), index.h("clipPath", { key: 'c2901cfe7c7e910bd53c8c92894b2d2395cde270', id: "co-ap-clip" }, index.h("rect", { key: '8129a85201e09ba6646b08ed0075798b0a0b0dfc', x: "0", y: "0", width: (pct / 100) * vbW, height: H })), index.h("g", { key: '69bc1780122d48f1a545d1c59bf7ed6536285ed2', "clip-path": "url(#co-ap-clip)" }, this.peaks.map((hFrac, i) => bar(hFrac, i, true))))), index.h("span", { key: '3747622619bd81545f85e7eb2f9c19b1aca6e7c2', class: "co-audio-player__time", part: "time" }, formatTime(this.currentTime), " / ", formatTime(this.duration)), !this.compact && (index.h("button", { key: '84341856fb2e0b6a094c673a727370b148190e30', type: "button", class: "co-audio-player__speed", part: "speed", "aria-label": `Velocidad de reproducción ${this.playbackRate}x`, onClick: this.cycleSpeed }, this.playbackRate, "x")), !this.compact && !this.noDownload && (index.h("button", { key: 'd6767d185317f20299b40c4050a806d88165682f', type: "button", class: "co-audio-player__dl", part: "download", "aria-label": "Descargar", onClick: () => this.download() }, index.h("co-icon", { key: 'a0f0a09cdf705ecf15e0156cf93011f89f41ffa5', name: "download-simple", size: 14 })))));
270
+ }
271
+ static get watchers() { return {
272
+ "src": [{
273
+ "onSrcChange": 0
274
+ }]
275
+ }; }
276
+ };
277
+ CoAudioPlayer.style = coAudioPlayerCss();
278
+
279
+ exports.co_audio_player = CoAudioPlayer;
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DxEFsH_t.js');
4
- var requiredMark = require('./requiredMark-B3pKyqYI.js');
3
+ var index = require('./index-kBiXCEE7.js');
4
+ var requiredMark = require('./requiredMark-DuMIcKtt.js');
5
5
 
6
- const coAutocompleteCss = () => `:host{display:block;font-family:var(--co-font-family-primary);font-size:var(--co-font-size-14);letter-spacing:var(--co-font-letter-spacing-body);line-height:1;position:relative}.co-autocomplete{display:flex;flex-direction:column;gap:var(--co-spacing-sm2);position:relative}.co-autocomplete__labels{display:flex;align-items:center;justify-content:space-between;padding:0 var(--co-spacing-xs);gap:var(--co-spacing-sm2)}.co-autocomplete__label{color:var(--co-semantic-text-secondary);font-size:var(--co-font-size-14);font-weight:400;line-height:1;white-space:nowrap;cursor:default}.co-autocomplete__secondary-label{color:var(--co-semantic-text-muted);font-size:var(--co-font-size-14);font-weight:400;line-height:1;white-space:nowrap;text-align:right}.co-autocomplete--disabled .co-autocomplete__label,.co-autocomplete--disabled .co-autocomplete__secondary-label{color:var(--co-semantic-text-disabled)}.co-autocomplete__field{display:flex;align-items:center;flex-wrap:wrap;gap:var(--co-spacing-xs);padding:var(--co-spacing-sm2) var(--co-spacing-md);background:var(--co-semantic-surface-page);border:1px solid var(--co-color-opacity-negro-25, rgba(31, 28, 27, 0.25));border-radius:var(--co-border-radius-xs);min-height:40px;box-sizing:border-box;transition:border-color 0.15s ease, box-shadow 0.15s ease}.co-autocomplete--s .co-autocomplete__field{min-height:28px;padding:var(--co-spacing-xxs) var(--co-spacing-sm);font-size:var(--co-font-size-12)}.co-autocomplete--sm .co-autocomplete__field{min-height:32px;padding:var(--co-spacing-xs) var(--co-spacing-sm);font-size:var(--co-font-size-14)}.co-autocomplete--lg .co-autocomplete__field{min-height:48px;padding:var(--co-spacing-sm) var(--co-spacing-lg);font-size:var(--co-font-size-16)}.co-autocomplete--focused .co-autocomplete__field{border-color:var(--co-semantic-border-focus);box-shadow:0 0 0 2px var(--co-semantic-border-focus-ring)}.co-autocomplete--disabled .co-autocomplete__field{background:var(--co-semantic-surface-disabled);border-color:transparent;cursor:not-allowed}.co-autocomplete--error .co-autocomplete__field{border-color:var(--co-semantic-status-error)}.co-autocomplete--success .co-autocomplete__field{border-color:var(--co-semantic-status-success)}.co-autocomplete--warning .co-autocomplete__field{border-color:var(--co-color-status-review)}.co-autocomplete--info .co-autocomplete__field{border-color:var(--co-semantic-status-info)}.co-autocomplete__icon{flex-shrink:0;color:var(--co-semantic-text-muted);display:flex;align-items:center}.co-autocomplete__chips{display:flex;flex-wrap:wrap;gap:var(--co-spacing-xs)}.co-autocomplete__input{flex:1;min-width:80px;border:none;background:transparent;color:var(--co-semantic-text-default);font-family:inherit;font-size:inherit;font-weight:400;line-height:1;padding:0;outline:none}.co-autocomplete__input::placeholder{color:var(--co-semantic-text-muted)}.co-autocomplete--disabled .co-autocomplete__input{color:var(--co-semantic-text-disabled);cursor:not-allowed}.co-autocomplete__clear{flex-shrink:0;display:flex;align-items:center;padding:0;margin:0;border:none;background:transparent;cursor:pointer;color:var(--co-semantic-text-muted);transition:color 0.15s ease}.co-autocomplete__clear:hover{color:var(--co-semantic-text-default)}.co-autocomplete__spinner{width:16px;height:16px;border:2px solid var(--co-semantic-border-subtle);border-top-color:var(--co-semantic-text-default);border-radius:var(--co-border-radius-full);animation:co-spin 0.6s linear infinite;flex-shrink:0}@keyframes co-spin{to{transform:rotate(360deg)}}.co-autocomplete__dropdown{position:absolute;top:100%;left:0;right:0;z-index:100;margin-top:var(--co-spacing-xs);background:var(--co-semantic-surface-secondary);border:1px solid var(--co-semantic-border-subtle);border-radius:var(--co-border-radius-sm, 12px);box-shadow:0 4px 16px rgba(31, 28, 27, 0.08);overflow:hidden;padding:var(--co-spacing-sm2)}.co-autocomplete__helper{display:flex;align-items:center;gap:var(--co-spacing-xs);padding:0 var(--co-spacing-xs)}.co-autocomplete__helper-icon{flex-shrink:0;display:flex;align-items:center}.co-autocomplete__helper-text{color:var(--co-semantic-text-muted);font-size:var(--co-font-size-14);font-weight:400;line-height:1}.co-autocomplete__helper--error .co-autocomplete__helper-icon,.co-autocomplete__helper--error .co-autocomplete__helper-text{color:var(--co-semantic-status-error)}.co-autocomplete__helper--success .co-autocomplete__helper-icon,.co-autocomplete__helper--success .co-autocomplete__helper-text{color:var(--co-semantic-status-success)}.co-autocomplete__helper--warning .co-autocomplete__helper-icon,.co-autocomplete__helper--warning .co-autocomplete__helper-text{color:var(--co-color-status-review)}.co-autocomplete__helper--info .co-autocomplete__helper-icon,.co-autocomplete__helper--info .co-autocomplete__helper-text{color:var(--co-semantic-status-info)}:host([layout='horizontal']) .co-autocomplete{display:grid;grid-template-columns:var(--co-field-label-width, max-content) 1fr;align-items:start;column-gap:var(--co-spacing-md);row-gap:var(--co-spacing-sm2)}:host([layout='horizontal']) .co-autocomplete__labels{grid-column:1;grid-row:1;padding-top:var(--co-spacing-sm2);min-width:0}:host([layout='horizontal']) .co-autocomplete__label{white-space:normal}:host([layout='horizontal']) .co-autocomplete>:not(.co-autocomplete__labels){grid-column:2;min-width:0}.co-field-required{margin-left:2px;color:var(--co-color-status-error)}.co-field-required__caption{margin-left:4px;color:var(--co-semantic-text-muted);font-size:var(--co-font-size-12);font-weight:400}.co-field-required__caption::before{content:var(--co-field-required-text, ' (required)')}`;
6
+ const coAutocompleteCss = () => `:host{display:block;font-family:var(--co-font-family-primary);font-size:var(--co-font-size-14);letter-spacing:var(--co-font-letter-spacing-body);line-height:1;position:relative}.co-autocomplete{display:flex;flex-direction:column;gap:var(--co-spacing-sm2);position:relative}.co-autocomplete__labels{display:flex;align-items:center;justify-content:space-between;padding:0 var(--co-spacing-xs);gap:var(--co-spacing-sm2)}.co-autocomplete__label{color:var(--co-semantic-text-secondary);font-size:var(--co-font-size-14);font-weight:400;line-height:1;white-space:nowrap;cursor:default}.co-autocomplete__secondary-label{color:var(--co-semantic-text-muted);font-size:var(--co-font-size-14);font-weight:400;line-height:1;white-space:nowrap;text-align:right}.co-autocomplete--disabled .co-autocomplete__label,.co-autocomplete--disabled .co-autocomplete__secondary-label{color:var(--co-semantic-text-disabled)}.co-autocomplete__field{display:flex;align-items:center;flex-wrap:wrap;gap:var(--co-spacing-xs);padding:var(--co-spacing-sm2) var(--co-spacing-md);background:var(--co-semantic-surface-page);border:1px solid var(--co-semantic-border-field);border-radius:var(--co-border-radius-xs);min-height:40px;box-sizing:border-box;transition:border-color 0.15s ease, box-shadow 0.15s ease}.co-autocomplete--s .co-autocomplete__field{min-height:28px;padding:var(--co-spacing-xxs) var(--co-spacing-sm);font-size:var(--co-font-size-12)}.co-autocomplete--sm .co-autocomplete__field{min-height:32px;padding:var(--co-spacing-xs) var(--co-spacing-sm);font-size:var(--co-font-size-14)}.co-autocomplete--lg .co-autocomplete__field{min-height:48px;padding:var(--co-spacing-sm) var(--co-spacing-lg);font-size:var(--co-font-size-16)}.co-autocomplete--focused .co-autocomplete__field{border-color:var(--co-semantic-border-focus);box-shadow:0 0 0 2px var(--co-semantic-border-focus-ring)}.co-autocomplete--disabled .co-autocomplete__field{background:var(--co-semantic-surface-disabled);border-color:transparent;cursor:not-allowed}.co-autocomplete--error .co-autocomplete__field{border-color:var(--co-semantic-status-error)}.co-autocomplete--success .co-autocomplete__field{border-color:var(--co-semantic-status-success)}.co-autocomplete--warning .co-autocomplete__field{border-color:var(--co-color-status-review)}.co-autocomplete--info .co-autocomplete__field{border-color:var(--co-semantic-status-info)}.co-autocomplete__icon{flex-shrink:0;color:var(--co-semantic-text-muted);display:flex;align-items:center}.co-autocomplete__chips{display:flex;flex-wrap:wrap;gap:var(--co-spacing-xs)}.co-autocomplete__input{flex:1;min-width:80px;border:none;background:transparent;color:var(--co-semantic-text-default);font-family:inherit;font-size:inherit;font-weight:400;line-height:1;padding:0;outline:none}.co-autocomplete__input::placeholder{color:var(--co-semantic-text-muted)}.co-autocomplete--disabled .co-autocomplete__input{color:var(--co-semantic-text-disabled);cursor:not-allowed}.co-autocomplete__clear{flex-shrink:0;display:flex;align-items:center;padding:0;margin:0;border:none;background:transparent;cursor:pointer;color:var(--co-semantic-text-muted);transition:color 0.15s ease}.co-autocomplete__clear:hover{color:var(--co-semantic-text-default)}.co-autocomplete__spinner{width:16px;height:16px;border:2px solid var(--co-semantic-border-subtle);border-top-color:var(--co-semantic-text-default);border-radius:var(--co-border-radius-full);animation:co-spin 0.6s linear infinite;flex-shrink:0}@keyframes co-spin{to{transform:rotate(360deg)}}.co-autocomplete__dropdown{position:absolute;top:100%;left:0;right:0;z-index:100;margin-top:var(--co-spacing-xs);background:var(--co-semantic-surface-secondary);border:1px solid var(--co-semantic-border-subtle);border-radius:var(--co-border-radius-sm, 12px);box-shadow:0 4px 16px rgba(31, 28, 27, 0.08);overflow:hidden;padding:var(--co-spacing-sm2)}.co-autocomplete__helper{display:flex;align-items:center;gap:var(--co-spacing-xs);padding:0 var(--co-spacing-xs)}.co-autocomplete__helper-icon{flex-shrink:0;display:flex;align-items:center}.co-autocomplete__helper-text{color:var(--co-semantic-text-muted);font-size:var(--co-font-size-14);font-weight:400;line-height:1}.co-autocomplete__helper--error .co-autocomplete__helper-icon,.co-autocomplete__helper--error .co-autocomplete__helper-text{color:var(--co-semantic-status-error)}.co-autocomplete__helper--success .co-autocomplete__helper-icon,.co-autocomplete__helper--success .co-autocomplete__helper-text{color:var(--co-semantic-status-success)}.co-autocomplete__helper--warning .co-autocomplete__helper-icon,.co-autocomplete__helper--warning .co-autocomplete__helper-text{color:var(--co-color-status-review)}.co-autocomplete__helper--info .co-autocomplete__helper-icon,.co-autocomplete__helper--info .co-autocomplete__helper-text{color:var(--co-semantic-status-info)}:host([layout='horizontal']) .co-autocomplete{display:grid;grid-template-columns:var(--co-field-label-width, max-content) 1fr;align-items:start;column-gap:var(--co-spacing-md);row-gap:var(--co-spacing-sm2)}:host([layout='horizontal']) .co-autocomplete__labels{grid-column:1;grid-row:1;padding-top:var(--co-spacing-sm2);min-width:0}:host([layout='horizontal']) .co-autocomplete__label{white-space:normal}:host([layout='horizontal']) .co-autocomplete>:not(.co-autocomplete__labels){grid-column:2;min-width:0}.co-field-required{margin-left:2px;color:var(--co-color-status-error)}.co-field-required__caption{margin-left:4px;color:var(--co-semantic-text-muted);font-size:var(--co-font-size-12);font-weight:400}.co-field-required__caption::before{content:var(--co-field-required-text, ' (required)')}`;
7
7
 
8
8
  const CoAutocomplete = class {
9
9
  constructor(hostRef) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DxEFsH_t.js');
3
+ var index = require('./index-kBiXCEE7.js');
4
4
 
5
5
  const coAvatarGroupCss = () => `:host{display:inline-flex}.co-avatar-group{display:inline-flex;align-items:center}.co-avatar-group--interactive{appearance:none;-webkit-appearance:none;background:none;border:0;margin:0;padding:0;font:inherit;color:inherit;cursor:pointer;border-radius:var(--co-border-radius-full);outline:none;transition:opacity 0.12s ease}.co-avatar-group--interactive:hover{opacity:0.88}.co-avatar-group--interactive:focus-visible{box-shadow:0 0 0 2px var(--co-semantic-surface-page), 0 0 0 4px var(--co-semantic-border-focus)}.co-avatar-group__slot{display:inline-flex;align-items:center;line-height:0}.co-avatar-group>*:not(:first-child){margin-left:calc(-1 * var(--co-avatar-group-overlap, var(--co-spacing-sm)))}.co-avatar-group__avatar::part(avatar),.co-avatar-group__overflow{box-shadow:0 0 0 var(--co-avatar-group-ring-width, 2px) var(--co-semantic-surface-page)}.co-avatar-group__avatar,.co-avatar-group__overflow{vertical-align:middle}.co-avatar-group__overflow{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:var(--co-border-radius-full);background:var(--co-semantic-surface-muted);color:var(--co-semantic-text-secondary);font-family:var(--co-font-family-primary);font-weight:600;line-height:1;letter-spacing:var(--co-font-letter-spacing-body);flex-shrink:0;user-select:none;-webkit-font-smoothing:antialiased}`;
6
6
 
@@ -68,8 +68,8 @@ const CoAvatarGroup = class {
68
68
  'co-avatar-group--interactive': this.interactive,
69
69
  } }, interactiveAttrs), visible.map((it, i) => {
70
70
  var _a, _b, _c;
71
- return (index.h("co-tooltip", { key: i, class: "co-avatar-group__slot", content: it.name || it.text || '', placement: "bottom" }, index.h("co-avatar", { class: "co-avatar-group__avatar", type: (_a = it.type) !== null && _a !== void 0 ? _a : (it.src ? 'image' : it.icon ? 'icon' : 'text'), size: this.size, shape: (_b = it.shape) !== null && _b !== void 0 ? _b : this.shape, text: it.text, src: it.src, icon: (_c = it.icon) !== null && _c !== void 0 ? _c : 'user', color: it.color, "ring-color": it.ringColor })));
72
- }), extra > 0 && (index.h("co-tooltip", { key: 'c2888162dd23d0b1a2c853e6adbe7a8f5f61efe5', class: "co-avatar-group__slot", content: overflowLabel, placement: "bottom" }, index.h("div", { key: '5f0d9a321b52db23356b107564605b18b8c75692', class: "co-avatar-group__overflow", style: { width: `${dim}px`, height: `${dim}px`, fontSize }, role: "img", "aria-label": `+${extra}` }, "+", extra)))));
71
+ return (index.h("co-avatar", { key: i, class: "co-avatar-group__avatar", type: (_a = it.type) !== null && _a !== void 0 ? _a : (it.src ? 'image' : it.icon ? 'icon' : 'text'), size: this.size, shape: (_b = it.shape) !== null && _b !== void 0 ? _b : this.shape, text: it.text, src: it.src, icon: (_c = it.icon) !== null && _c !== void 0 ? _c : 'user', color: it.color, "ring-color": it.ringColor, name: it.name || it.text || '' }));
72
+ }), extra > 0 && (index.h("co-tooltip", { key: 'b6dffe856f5984d2e2731e84d9d4a46cfcfa0c7b', class: "co-avatar-group__slot", content: overflowLabel, placement: "bottom" }, index.h("div", { key: 'b7fe90ee1800ede2bdc3b8674d6ab0dcdfa4ac48', class: "co-avatar-group__overflow", style: { width: `${dim}px`, height: `${dim}px`, fontSize }, role: "img", "aria-label": `+${extra}` }, "+", extra)))));
73
73
  }
74
74
  };
75
75
  CoAvatarGroup.style = coAvatarGroupCss();
@@ -1,7 +1,98 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DxEFsH_t.js');
4
- var positioning = require('./positioning-DwHW399W.js');
3
+ var index = require('./index-kBiXCEE7.js');
4
+ var positioning = require('./positioning-DCj_AJ2T.js');
5
+
6
+ /**
7
+ * Shared color utilities for Cobalt components.
8
+ * WCAG sRGB relative luminance for contrast detection.
9
+ */
10
+ function parseHex(hex) {
11
+ if (!hex || typeof hex !== 'string')
12
+ return null;
13
+ const h = hex.replace('#', '');
14
+ if (h.length === 3) {
15
+ return { r: parseInt(h[0] + h[0], 16), g: parseInt(h[1] + h[1], 16), b: parseInt(h[2] + h[2], 16) };
16
+ }
17
+ if (h.length === 6) {
18
+ return { r: parseInt(h.slice(0, 2), 16), g: parseInt(h.slice(2, 4), 16), b: parseInt(h.slice(4, 6), 16) };
19
+ }
20
+ return null;
21
+ }
22
+ /** WCAG sRGB relative luminance (0–1). */
23
+ function luminance(hex) {
24
+ const c = parseHex(hex);
25
+ if (!c)
26
+ return 0;
27
+ const [rs, gs, bs] = [c.r / 255, c.g / 255, c.b / 255].map((v) => v <= 0.03928 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4));
28
+ return 0.2126 * rs + 0.7152 * gs + 0.0722 * bs;
29
+ }
30
+ /** Returns true when the color is perceptually light (needs dark foreground). */
31
+ function isLightColor(hex) {
32
+ return luminance(hex) > 0.4;
33
+ }
34
+
35
+ const coAvatarCss = () => `:host{display:inline-flex;--co-avatar-squircle:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><path d='M100 50L99.94 68.06L99.75 73.81L99.44 77.94L99.01 81.26L98.44 84.05L97.74 86.46L96.91 88.57L95.94 90.43L94.81 92.07L93.53 93.53L92.07 94.81L90.43 95.94L88.57 96.91L86.46 97.74L84.05 98.44L81.26 99.01L77.94 99.44L73.81 99.75L68.06 99.94L50 100L31.94 99.94L26.19 99.75L22.06 99.44L18.74 99.01L15.95 98.44L13.54 97.74L11.43 96.91L9.57 95.94L7.93 94.81L6.47 93.53L5.19 92.07L4.06 90.43L3.09 88.57L2.26 86.46L1.56 84.05L0.99 81.26L0.56 77.94L0.25 73.81L0.06 68.06L0 50L0.06 31.94L0.25 26.19L0.56 22.06L0.99 18.74L1.56 15.95L2.26 13.54L3.09 11.43L4.06 9.57L5.19 7.93L6.47 6.47L7.93 5.19L9.57 4.06L11.43 3.09L13.54 2.26L15.95 1.56L18.74 0.99L22.06 0.56L26.19 0.25L31.94 0.06L50 0L68.06 0.06L73.81 0.25L77.94 0.56L81.26 0.99L84.05 1.56L86.46 2.26L88.57 3.09L90.43 4.06L92.07 5.19L93.53 6.47L94.81 7.93L95.94 9.57L96.91 11.43L97.74 13.54L98.44 15.95L99.01 18.74L99.44 22.06L99.75 26.19L99.94 31.94Z' fill='%23fff'/></svg>")}.co-avatar{position:relative;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--co-border-radius-full);background:var(--co-semantic-surface-primary);color:var(--co-semantic-on-primary);font-family:var(--co-font-family-primary);font-weight:600;line-height:1;letter-spacing:var(--co-font-letter-spacing-body);overflow:hidden;flex-shrink:0;user-select:none;-webkit-font-smoothing:antialiased}.co-avatar::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 0 var(--co-avatar-border-width, 1px) var(--co-avatar-border-color, transparent)}.co-avatar__text{text-transform:uppercase}.co-avatar__img{width:100%;height:100%;object-fit:cover;display:block}.co-avatar--square{border-radius:0;-webkit-mask:var(--co-avatar-squircle) center / 100% 100% no-repeat;mask:var(--co-avatar-squircle) center / 100% 100% no-repeat}.co-avatar--square::after{--co-avatar-bw:var(--co-avatar-border-width, 1px);box-shadow:none;background:var(--co-avatar-border-color, transparent);-webkit-mask:var(--co-avatar-squircle) center / 100% 100% no-repeat, var(--co-avatar-squircle) center / calc(100% - 2 * var(--co-avatar-bw)) calc(100% - 2 * var(--co-avatar-bw)) no-repeat;-webkit-mask-composite:xor;mask:var(--co-avatar-squircle) center / 100% 100% no-repeat, var(--co-avatar-squircle) center / calc(100% - 2 * var(--co-avatar-bw)) calc(100% - 2 * var(--co-avatar-bw)) no-repeat;mask-composite:exclude}.co-avatar--light{color:rgba(0, 0, 0, 0.87)}co-tooltip{display:inline-flex;align-items:center;line-height:0}`;
36
+
37
+ const SIZE_MAP = {
38
+ xl: 80, lg: 64, md: 56, sm: 48, xs: 32, xxs: 24,
39
+ };
40
+ const ICON_SIZE_MAP = {
41
+ xl: 32, lg: 28, md: 24, sm: 20, xs: 16, xxs: 12,
42
+ };
43
+ const FONT_SIZE_MAP = {
44
+ xl: 'var(--co-font-size-26)',
45
+ lg: 'var(--co-font-size-22)',
46
+ md: 'var(--co-font-size-18)',
47
+ sm: 'var(--co-font-size-16)',
48
+ xs: 'var(--co-font-size-12)',
49
+ xxs: 'var(--co-font-size-10)',
50
+ };
51
+ const CoAvatar = class {
52
+ constructor(hostRef) {
53
+ index.registerInstance(this, hostRef);
54
+ /** Display type: text shows initials, icon shows a Phosphor icon, image shows a picture */
55
+ this.type = 'text';
56
+ /** Size of the avatar */
57
+ this.size = 'md';
58
+ /** Phosphor icon name (type="icon"), defaults to "user" */
59
+ this.icon = 'user';
60
+ /** Icon weight */
61
+ this.iconWeight = 'regular';
62
+ /** Shape of the avatar */
63
+ this.shape = 'circle';
64
+ this.imgFailed = false;
65
+ this.handleImgError = () => {
66
+ this.imgFailed = true;
67
+ };
68
+ }
69
+ render() {
70
+ var _a, _b, _c, _d, _e, _f, _g;
71
+ const dim = (_a = SIZE_MAP[this.size]) !== null && _a !== void 0 ? _a : 56;
72
+ const iconSize = (_b = ICON_SIZE_MAP[this.size]) !== null && _b !== void 0 ? _b : 24;
73
+ const fontSize = (_c = FONT_SIZE_MAP[this.size]) !== null && _c !== void 0 ? _c : 'var(--co-font-size-18)';
74
+ const showImage = this.type === 'image' && this.src && !this.imgFailed;
75
+ const ariaLabel = this.type === 'text'
76
+ ? this.text
77
+ : this.type === 'image'
78
+ ? (_e = (_d = this.alt) !== null && _d !== void 0 ? _d : this.text) !== null && _e !== void 0 ? _e : this.icon
79
+ : this.icon;
80
+ const disc = (index.h("div", { class: {
81
+ 'co-avatar': true,
82
+ [`co-avatar--${this.size}`]: true,
83
+ [`co-avatar--${this.type}`]: true,
84
+ 'co-avatar--square': this.shape === 'square',
85
+ 'co-avatar--light': !!this.color && isLightColor(this.color),
86
+ }, style: Object.assign(Object.assign({ width: `var(--co-avatar-size, ${dim}px)`, height: `var(--co-avatar-size, ${dim}px)`, fontSize }, (this.color ? { background: this.color } : {})), (this.ringColor
87
+ ? { '--co-avatar-border-color': this.ringColor, '--co-avatar-border-width': '2px' }
88
+ : {})), part: "avatar", role: "img", "aria-label": ariaLabel }, showImage ? (index.h("img", { class: "co-avatar__img", src: this.src, alt: (_g = (_f = this.alt) !== null && _f !== void 0 ? _f : this.text) !== null && _g !== void 0 ? _g : '', onError: this.handleImgError })) : this.type === 'icon' ? (index.h("co-icon", { name: this.icon, weight: this.iconWeight, size: iconSize })) : (index.h("span", { class: "co-avatar__text" }, this.text))));
89
+ // No tooltip when `name` is unset/empty — renders exactly as before, no wrapper.
90
+ if (!this.name)
91
+ return disc;
92
+ return index.h("co-tooltip", { content: this.name }, disc);
93
+ }
94
+ };
95
+ CoAvatar.style = coAvatarCss();
5
96
 
6
97
  const coTooltipCss = () => `:host{display:inline-block;position:relative}.co-tooltip{display:inline-block}.co-tooltip__trigger{display:inline-block}:host([block]){display:block;width:100%;min-width:0}:host([block]) .co-tooltip,:host([block]) .co-tooltip__trigger{display:block;width:100%;min-width:0}.co-tooltip__panel{position:fixed;inset:auto;top:0;left:0;margin:0;border:0;max-height:none;overflow:visible;z-index:10000;visibility:hidden;opacity:0;pointer-events:none;background:var(--co-color-base-negro, #1f1c1b);color:var(--co-color-base-blanco, #fff);font-family:var(--co-font-family-primary, 'Geist', sans-serif);font-size:var(--co-font-size-12, 12px);line-height:1.4;font-weight:400;padding:var(--co-spacing-xs, 4px) var(--co-spacing-sm, 8px);border-radius:var(--co-border-radius-xxs, 4px);box-shadow:0 4px 12px rgba(31, 28, 27, 0.12);white-space:normal;word-wrap:break-word;transition:opacity 0.15s ease, transform 0.15s ease}.co-tooltip__panel--positioned{visibility:visible;opacity:1}.co-tooltip__panel--top{transform:translateY(4px)}.co-tooltip__panel--top.co-tooltip__panel--positioned{transform:translateY(0)}.co-tooltip__panel--bottom{transform:translateY(-4px)}.co-tooltip__panel--bottom.co-tooltip__panel--positioned{transform:translateY(0)}.co-tooltip__panel--left{transform:translateX(4px)}.co-tooltip__panel--left.co-tooltip__panel--positioned{transform:translateX(0)}.co-tooltip__panel--right{transform:translateX(-4px)}.co-tooltip__panel--right.co-tooltip__panel--positioned{transform:translateX(0)}.co-tooltip__arrow{position:absolute;width:0;height:0;border:5px solid transparent}.co-tooltip__arrow--top{bottom:-10px;left:50%;transform:translateX(-50%);border-top-color:var(--co-color-base-negro, #1f1c1b);border-bottom:none}.co-tooltip__arrow--bottom{top:-5px;left:50%;transform:translateX(-50%);border-bottom-color:var(--co-color-base-negro, #1f1c1b);border-top:none}.co-tooltip__arrow--left{right:-10px;top:50%;transform:translateY(-50%);border-left-color:var(--co-color-base-negro, #1f1c1b);border-right:none}.co-tooltip__arrow--right{left:-5px;top:50%;transform:translateY(-50%);border-right-color:var(--co-color-base-negro, #1f1c1b);border-left:none}.co-tooltip__content{display:block}`;
7
98
 
@@ -220,7 +311,7 @@ const CoTooltip = class {
220
311
  // ── Render ─────────────────────────────────────────────────
221
312
  render() {
222
313
  const side = this.actualPlacement.split('-')[0];
223
- return (index.h("div", { key: '6edc432c3bbc66db6044b28d38305242eaa939fb', class: "co-tooltip" }, index.h("div", { key: '58dcaedfd4f0f6584c6b634cf525d139ffbe3013', 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 }, index.h("slot", { key: 'de10b7bfdbdabfe2b79e2e7735e3dc372273cd5d' })), this.visible && this.content && (index.h("div", { key: '52f65ebaf96fd74adc37374302b0412999db6c39', id: "tooltip-panel", class: {
314
+ return (index.h("div", { key: '8ab4d7116108f417bbab303c915ddb3c043f6a17', class: "co-tooltip" }, index.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 }, index.h("slot", { key: 'd24dca7da5d8d25e6bb153fd224f3a2dbe15c2bd' })), this.visible && this.content && (index.h("div", { key: '7b1b9e5629d57f54345889f6b79f0cd40957d916', id: "tooltip-panel", class: {
224
315
  'co-tooltip__panel': true,
225
316
  [`co-tooltip__panel--${side}`]: true,
226
317
  }, role: "tooltip", popover: "manual", ref: (el) => {
@@ -229,7 +320,7 @@ const CoTooltip = class {
229
320
  this.promotePanel();
230
321
  this.scheduleUpdate();
231
322
  }
232
- }, style: { maxWidth: this.maxWidth } }, this.arrow && index.h("div", { key: '987c9d5483b847dfc44a6aee787e7586ead0a53e', class: `co-tooltip__arrow co-tooltip__arrow--${side}` }), index.h("span", { key: '48ff0c4dca75f96bfd3d03e31207ebb16a5c7773', class: "co-tooltip__content" }, this.content)))));
323
+ }, style: { maxWidth: this.maxWidth } }, this.arrow && index.h("div", { key: 'a2bb874fff12aba894ae13fb3cfddb6e5c2558c5', class: `co-tooltip__arrow co-tooltip__arrow--${side}` }), index.h("span", { key: '429590eda59470e35fc9dd005a97fb53af39c9e2', class: "co-tooltip__content" }, this.content)))));
233
324
  }
234
325
  get el() { return index.getElement(this); }
235
326
  static get watchers() { return {
@@ -243,4 +334,5 @@ const CoTooltip = class {
243
334
  };
244
335
  CoTooltip.style = coTooltipCss();
245
336
 
337
+ exports.co_avatar = CoAvatar;
246
338
  exports.co_tooltip = CoTooltip;