@prolibu-suite/cobalt-core 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (664) hide show
  1. package/custom-elements.json +8275 -5147
  2. package/dist/cjs/co-accordion.cjs.entry.js +4 -4
  3. package/dist/cjs/co-action-bar.cjs.entry.js +89 -0
  4. package/dist/cjs/co-app-shell.cjs.entry.js +4 -4
  5. package/dist/cjs/co-audio-player.cjs.entry.js +279 -0
  6. package/dist/cjs/co-autocomplete.cjs.entry.js +15 -6
  7. package/dist/cjs/co-avatar-group.cjs.entry.js +2 -2
  8. package/dist/cjs/co-avatar_2.cjs.entry.js +17 -6
  9. package/dist/cjs/co-badge.cjs.entry.js +2 -2
  10. package/dist/cjs/co-bottom-sheet.cjs.entry.js +5 -5
  11. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +3 -3
  12. package/dist/cjs/co-breadcrumb.cjs.entry.js +2 -2
  13. package/dist/cjs/co-button-group.cjs.entry.js +3 -3
  14. package/dist/cjs/co-button.cjs.entry.js +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 +13 -13
  17. package/dist/cjs/co-card.cjs.entry.js +4 -4
  18. package/dist/cjs/co-carousel-item.cjs.entry.js +2 -2
  19. package/dist/cjs/co-carousel.cjs.entry.js +4 -4
  20. package/dist/cjs/co-checkbox-group.cjs.entry.js +2 -2
  21. package/dist/cjs/co-checkbox.cjs.entry.js +5 -5
  22. package/dist/cjs/co-chip_2.cjs.entry.js +109 -8
  23. package/dist/cjs/co-color-picker.cjs.entry.js +5 -5
  24. package/dist/cjs/co-column-picker.cjs.entry.js +4 -4
  25. package/dist/cjs/co-combobox.cjs.entry.js +14 -6
  26. package/dist/cjs/co-command-search.cjs.entry.js +20 -6
  27. package/dist/cjs/co-data-table-pagination.cjs.entry.js +6 -6
  28. package/dist/cjs/co-data-table.cjs.entry.js +2 -2
  29. package/dist/cjs/co-date-picker.cjs.entry.js +3 -3
  30. package/dist/cjs/co-date-range-picker.cjs.entry.js +5 -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 +3 -3
  34. package/dist/cjs/co-drop-zone.cjs.entry.js +2 -2
  35. package/dist/cjs/co-empty-state.cjs.entry.js +3 -3
  36. package/dist/cjs/co-event-calendar.cjs.entry.js +119 -18
  37. package/dist/cjs/co-event-popover.cjs.entry.js +132 -0
  38. package/dist/cjs/co-fab.cjs.entry.js +4 -4
  39. package/dist/cjs/co-file-field.cjs.entry.js +8 -8
  40. package/dist/cjs/co-file-type-tile.cjs.entry.js +3 -3
  41. package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
  42. package/dist/cjs/co-icon-button.cjs.entry.js +3 -3
  43. package/dist/cjs/co-icon.cjs.entry.js +3 -3
  44. package/dist/cjs/co-input.cjs.entry.js +3 -3
  45. package/dist/cjs/co-json-field.cjs.entry.js +6 -6
  46. package/dist/cjs/co-lightbox.cjs.entry.js +7 -7
  47. package/dist/cjs/co-list-footer.cjs.entry.js +3 -3
  48. package/dist/cjs/co-list-item.cjs.entry.js +6 -6
  49. package/dist/cjs/co-loader.cjs.entry.js +1 -1
  50. package/dist/cjs/co-media-thumb.cjs.entry.js +3 -3
  51. package/dist/cjs/co-menu-divider.cjs.entry.js +2 -2
  52. package/dist/cjs/co-menu-item.cjs.entry.js +3 -3
  53. package/dist/cjs/co-menu.cjs.entry.js +2 -2
  54. package/dist/cjs/co-modal.cjs.entry.js +4 -4
  55. package/dist/cjs/co-navbar.cjs.entry.js +3 -3
  56. package/dist/cjs/co-number-field.cjs.entry.js +5 -5
  57. package/dist/cjs/co-overlay.cjs.entry.js +3 -3
  58. package/dist/cjs/co-page-header.cjs.entry.js +2 -2
  59. package/dist/cjs/co-phone-field.cjs.entry.js +4 -4
  60. package/dist/cjs/co-popover.cjs.entry.js +33 -7
  61. package/dist/cjs/co-progress-bar.cjs.entry.js +3 -3
  62. package/dist/cjs/co-progress-circle.cjs.entry.js +4 -4
  63. package/dist/cjs/co-provider-logo_2.cjs.entry.js +72 -0
  64. package/dist/cjs/co-radio-group.cjs.entry.js +2 -2
  65. package/dist/cjs/co-radio.cjs.entry.js +5 -5
  66. package/dist/cjs/co-rating.cjs.entry.js +5 -5
  67. package/dist/cjs/co-ref-field.cjs.entry.js +22 -6
  68. package/dist/cjs/co-rich-text-editor.cjs.entry.js +5 -5
  69. package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +2 -2
  70. package/dist/cjs/co-rich-text-viewer.cjs.entry.js +1 -1
  71. package/dist/cjs/co-row.cjs.entry.js +3 -3
  72. package/dist/cjs/co-segmented-bar.cjs.entry.js +1 -1
  73. package/dist/cjs/co-select.cjs.entry.js +4 -4
  74. package/dist/cjs/co-separator.cjs.entry.js +2 -2
  75. package/dist/cjs/co-sidebar-nav.cjs.entry.js +14 -4
  76. package/dist/cjs/co-sidebar.cjs.entry.js +4 -4
  77. package/dist/cjs/co-slider.cjs.entry.js +4 -4
  78. package/dist/cjs/co-switch.cjs.entry.js +6 -6
  79. package/dist/cjs/co-tab-group.cjs.entry.js +20 -4
  80. package/dist/cjs/co-tab.cjs.entry.js +4 -4
  81. package/dist/cjs/co-tags-field.cjs.entry.js +9 -9
  82. package/dist/cjs/co-textarea.cjs.entry.js +7 -7
  83. package/dist/cjs/co-toast.cjs.entry.js +35 -5
  84. package/dist/cjs/co-toggle-button-group.cjs.entry.js +3 -3
  85. package/dist/cjs/co-toggle-button.cjs.entry.js +4 -4
  86. package/dist/cjs/co-transfer-list.cjs.entry.js +4 -4
  87. package/dist/cjs/co-video.cjs.entry.js +4 -4
  88. package/dist/cjs/cobalt.cjs.js +2 -2
  89. package/dist/cjs/{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-B_npd9rL.js → fieldChip-xNJPEFcS.js} +1 -1
  92. package/dist/cjs/{index-kBiXCEE7.js → index-DK-2Lzmf.js} +29 -13
  93. package/dist/cjs/loader.cjs.js +2 -2
  94. package/dist/cjs/{positioning-DwHW399W.js → positioning-DCj_AJ2T.js} +10 -0
  95. package/dist/cjs/{requiredMark-DuMIcKtt.js → requiredMark-C1xcrzSZ.js} +1 -1
  96. package/dist/cjs/time-LBHtzLHe.js +42 -0
  97. package/dist/cobalt/cobalt.css +1 -1
  98. package/dist/cobalt/cobalt.esm.js +1 -1
  99. package/dist/cobalt/p-09fe6ece.entry.js +1 -0
  100. package/dist/cobalt/p-12a0ae24.entry.js +1 -0
  101. package/dist/cobalt/p-142506d9.entry.js +1 -0
  102. package/dist/cobalt/{p-e4555fda.entry.js → p-19706923.entry.js} +1 -1
  103. package/dist/cobalt/p-19f5d480.entry.js +1 -0
  104. package/dist/cobalt/{p-B6JZk8fL.js → p-1EK-COrb.js} +1 -1
  105. package/dist/cobalt/p-1ddbc48b.entry.js +1 -0
  106. package/dist/cobalt/p-212ed2ba.entry.js +1 -0
  107. package/dist/cobalt/p-21832273.entry.js +1 -0
  108. package/dist/cobalt/p-24e93fcb.entry.js +1 -0
  109. package/dist/cobalt/{p-9211e794.entry.js → p-2a9ba4c8.entry.js} +1 -1
  110. package/dist/cobalt/p-2aeb1471.entry.js +1 -0
  111. package/dist/cobalt/p-2d0354cc.entry.js +1 -0
  112. package/dist/cobalt/p-30ec230e.entry.js +1 -0
  113. package/dist/cobalt/p-360714ae.entry.js +1 -0
  114. package/dist/cobalt/{p-3c681e3a.entry.js → p-37541725.entry.js} +1 -1
  115. package/dist/cobalt/p-39007b6c.entry.js +1 -0
  116. package/dist/cobalt/{p-2f6c7eb5.entry.js → p-39bce45f.entry.js} +1 -1
  117. package/dist/cobalt/{p-7f78e45c.entry.js → p-3ac316e0.entry.js} +1 -1
  118. package/dist/cobalt/{p-69723cc1.entry.js → p-3ced4269.entry.js} +1 -1
  119. package/dist/cobalt/{p-9994fcd8.entry.js → p-3ecc29fa.entry.js} +1 -1
  120. package/dist/cobalt/p-417ce874.entry.js +1 -0
  121. package/dist/cobalt/{p-28ab9cef.entry.js → p-43b1f8fb.entry.js} +1 -1
  122. package/dist/cobalt/p-49bde154.entry.js +1 -0
  123. package/dist/cobalt/{p-54f8c68c.entry.js → p-4e2379e4.entry.js} +1 -1
  124. package/dist/cobalt/p-5d7c26f2.entry.js +1 -0
  125. package/dist/cobalt/p-5ddebd10.entry.js +1 -0
  126. package/dist/cobalt/{p-bcd38114.entry.js → p-5f0f5d4b.entry.js} +1 -1
  127. package/dist/cobalt/{p-2661557c.entry.js → p-5f1b273b.entry.js} +1 -1
  128. package/dist/cobalt/p-60cb66f5.entry.js +1 -0
  129. package/dist/cobalt/{p-48fbf051.entry.js → p-6795a258.entry.js} +1 -1
  130. package/dist/cobalt/{p-5b84cf37.entry.js → p-6d532475.entry.js} +1 -1
  131. package/dist/cobalt/{p-0110108f.entry.js → p-724b9b54.entry.js} +1 -1
  132. package/dist/cobalt/{p-ceb85838.entry.js → p-7255ab63.entry.js} +1 -1
  133. package/dist/cobalt/p-7521ec0c.entry.js +1 -0
  134. package/dist/cobalt/{p-69ce2269.entry.js → p-76dff399.entry.js} +1 -1
  135. package/dist/cobalt/p-77593319.entry.js +1 -0
  136. package/dist/cobalt/p-7a2dab23.entry.js +1 -0
  137. package/dist/cobalt/p-7ec85887.entry.js +1 -0
  138. package/dist/cobalt/p-81866f71.entry.js +1 -0
  139. package/dist/cobalt/{p-c3004e1c.entry.js → p-8206c7c0.entry.js} +1 -1
  140. package/dist/cobalt/p-85a61e28.entry.js +1 -0
  141. package/dist/cobalt/p-87fc5aed.entry.js +1 -0
  142. package/dist/cobalt/p-8a93beb0.entry.js +1 -0
  143. package/dist/cobalt/p-8b7a4f6c.entry.js +1 -0
  144. package/dist/cobalt/{p-741cf623.entry.js → p-8e667eb6.entry.js} +1 -1
  145. package/dist/cobalt/{p-3b9be8a8.entry.js → p-94a8a119.entry.js} +1 -1
  146. package/dist/cobalt/p-9c2ce487.entry.js +1 -0
  147. package/dist/cobalt/p-9fe9e2fe.entry.js +1 -0
  148. package/dist/cobalt/p-BMdapAL8.js +1 -0
  149. package/dist/cobalt/p-BU7SQCje.js +1 -0
  150. package/dist/cobalt/p-CF8OB_TM.js +1 -0
  151. package/dist/cobalt/p-CQAYgqA6.js +1 -0
  152. package/dist/cobalt/p-CnNpoKwg.js +1 -0
  153. package/dist/cobalt/p-CrtiywTB.js +2 -0
  154. package/dist/cobalt/p-T4la7ly_.js +1 -0
  155. package/dist/cobalt/{p-2da09948.entry.js → p-a074f2ba.entry.js} +1 -1
  156. package/dist/cobalt/{p-0a294205.entry.js → p-a45e2c00.entry.js} +1 -1
  157. package/dist/cobalt/p-a530bec2.entry.js +1 -0
  158. package/dist/cobalt/p-a5d84c7a.entry.js +1 -0
  159. package/dist/cobalt/p-b004c3bb.entry.js +1 -0
  160. package/dist/cobalt/p-b1ef5107.entry.js +1 -0
  161. package/dist/cobalt/p-b28dc0fe.entry.js +1 -0
  162. package/dist/cobalt/{p-cdedaa82.entry.js → p-b64b0a07.entry.js} +1 -1
  163. package/dist/cobalt/p-b800e107.entry.js +1 -0
  164. package/dist/cobalt/p-b9ac1f25.entry.js +1 -0
  165. package/dist/cobalt/{p-202eadfc.entry.js → p-baeb5d55.entry.js} +1 -1
  166. package/dist/cobalt/{p-7178113f.entry.js → p-c31f5c1b.entry.js} +1 -1
  167. package/dist/cobalt/p-c3c2087e.entry.js +1 -0
  168. package/dist/cobalt/p-c42c505c.entry.js +1 -0
  169. package/dist/cobalt/p-c7a809c7.entry.js +1 -0
  170. package/dist/cobalt/{p-eec1c44c.entry.js → p-c8dba82f.entry.js} +1 -1
  171. package/dist/cobalt/p-cc72557d.entry.js +1 -0
  172. package/dist/cobalt/p-d21da71a.entry.js +1 -0
  173. package/dist/cobalt/{p-e1b468c1.entry.js → p-d3c765e3.entry.js} +1 -1
  174. package/dist/cobalt/p-d7b00e5f.entry.js +1 -0
  175. package/dist/cobalt/p-d85a751d.entry.js +1 -0
  176. package/dist/cobalt/{p-3af74ab8.entry.js → p-da546d08.entry.js} +1 -1
  177. package/dist/cobalt/p-debe0d79.entry.js +1 -0
  178. package/dist/cobalt/p-e054cb52.entry.js +1 -0
  179. package/dist/cobalt/p-e5296961.entry.js +1 -0
  180. package/dist/cobalt/p-e5b5ae89.entry.js +1 -0
  181. package/dist/cobalt/p-e612b43c.entry.js +1 -0
  182. package/dist/cobalt/{p-97875bde.entry.js → p-e6882ddd.entry.js} +1 -1
  183. package/dist/cobalt/p-e7e34852.entry.js +1 -0
  184. package/dist/cobalt/p-e99832a9.entry.js +1 -0
  185. package/dist/cobalt/{p-616e4286.entry.js → p-ed2ca588.entry.js} +1 -1
  186. package/dist/cobalt/p-f1284fcd.entry.js +1 -0
  187. package/dist/cobalt/{p-6b38e8fb.entry.js → p-f1731fe9.entry.js} +1 -1
  188. package/dist/cobalt/{p-ba5c6aa7.entry.js → p-f4cebc1f.entry.js} +1 -1
  189. package/dist/cobalt/p-f52f61d4.entry.js +1 -0
  190. package/dist/cobalt/{p-a252f8c5.entry.js → p-f83b48fd.entry.js} +1 -1
  191. package/dist/cobalt/p-fa5c25d6.entry.js +1 -0
  192. package/dist/cobalt/p-fd39f410.entry.js +1 -0
  193. package/dist/collection/collection-manifest.json +6 -0
  194. package/dist/collection/components/co-accordion/co-accordion.css +12 -4
  195. package/dist/collection/components/co-accordion/co-accordion.js +2 -2
  196. package/dist/collection/components/co-action-bar/co-action-bar.css +136 -0
  197. package/dist/collection/components/co-action-bar/co-action-bar.js +247 -0
  198. package/dist/collection/components/co-app-shell/co-app-shell.css +1 -1
  199. package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
  200. package/dist/collection/components/co-audio-player/co-audio-player.css +57 -0
  201. package/dist/collection/components/co-audio-player/co-audio-player.js +453 -0
  202. package/dist/collection/components/co-audio-player/co-audio-player.utils.js +44 -0
  203. package/dist/collection/components/co-autocomplete/co-autocomplete.css +2 -2
  204. package/dist/collection/components/co-autocomplete/co-autocomplete.js +14 -5
  205. package/dist/collection/components/co-avatar-group/co-avatar-group.css +1 -1
  206. package/dist/collection/components/co-badge/co-badge.js +1 -1
  207. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.css +4 -12
  208. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
  209. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +1 -1
  210. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +2 -2
  211. package/dist/collection/components/co-button/co-button.css +36 -1
  212. package/dist/collection/components/co-button/co-button.js +31 -5
  213. package/dist/collection/components/co-button-group/co-button-group.js +2 -2
  214. package/dist/collection/components/co-calendar/co-calendar.css +2 -2
  215. package/dist/collection/components/co-calendar/co-calendar.js +1 -1
  216. package/dist/collection/components/co-calendar-month/co-calendar-month.css +53 -4
  217. package/dist/collection/components/co-calendar-month/co-calendar-month.js +238 -55
  218. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.css +265 -0
  219. package/dist/collection/components/co-calendar-timegrid/co-calendar-timegrid.js +1305 -0
  220. package/dist/collection/components/co-card/co-card.css +1 -1
  221. package/dist/collection/components/co-card/co-card.js +2 -2
  222. package/dist/collection/components/co-carousel/co-carousel.js +2 -2
  223. package/dist/collection/components/co-carousel-item/co-carousel-item.js +1 -1
  224. package/dist/collection/components/co-checkbox/co-checkbox.css +85 -59
  225. package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
  226. package/dist/collection/components/co-checkbox-group/co-checkbox-group.css +1 -1
  227. package/dist/collection/components/co-chip/co-chip.css +2 -2
  228. package/dist/collection/components/co-chip/co-chip.js +2 -2
  229. package/dist/collection/components/co-color-picker/co-color-picker.css +3 -3
  230. package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
  231. package/dist/collection/components/co-column-picker/co-column-picker.css +8 -8
  232. package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
  233. package/dist/collection/components/co-combobox/co-combobox.css +2 -2
  234. package/dist/collection/components/co-combobox/co-combobox.js +13 -5
  235. package/dist/collection/components/co-command-search/co-command-search.css +13 -3
  236. package/dist/collection/components/co-command-search/co-command-search.js +18 -4
  237. package/dist/collection/components/co-data-table/co-data-table.css +9 -9
  238. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.css +5 -5
  239. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  240. package/dist/collection/components/co-date-field/co-date-field.css +2 -2
  241. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  242. package/dist/collection/components/co-date-range/co-date-range.js +1 -1
  243. package/dist/collection/components/co-date-range-picker/co-date-range-picker.css +2 -2
  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 +48 -2
  247. package/dist/collection/components/co-drawer/co-drawer.js +1 -1
  248. package/dist/collection/components/co-drive-card/co-drive-card.css +5 -5
  249. package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
  250. package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
  251. package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
  252. package/dist/collection/components/co-event-calendar/co-event-calendar.css +21 -9
  253. package/dist/collection/components/co-event-calendar/co-event-calendar.js +342 -39
  254. package/dist/collection/components/co-event-popover/co-event-popover.css +25 -0
  255. package/dist/collection/components/co-event-popover/co-event-popover.js +326 -0
  256. package/dist/collection/components/co-fab/co-fab.css +18 -12
  257. package/dist/collection/components/co-fab/co-fab.js +2 -2
  258. package/dist/collection/components/co-file-field/co-file-field.css +5 -5
  259. package/dist/collection/components/co-file-field/co-file-field.js +5 -5
  260. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
  261. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  262. package/dist/collection/components/co-icon/co-icon.js +2 -2
  263. package/dist/collection/components/co-icon-button/co-icon-button.css +10 -1
  264. package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
  265. package/dist/collection/components/co-input/co-input.css +3 -3
  266. package/dist/collection/components/co-json-field/co-json-field.css +1 -1
  267. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  268. package/dist/collection/components/co-lightbox/co-lightbox.css +4 -4
  269. package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
  270. package/dist/collection/components/co-list-footer/co-list-footer.css +1 -1
  271. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  272. package/dist/collection/components/co-list-item/co-list-item.css +1 -1
  273. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  274. package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
  275. package/dist/collection/components/co-menu/co-menu.js +1 -1
  276. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  277. package/dist/collection/components/co-menu-item/co-menu-item.css +22 -1
  278. package/dist/collection/components/co-menu-item/co-menu-item.js +20 -1
  279. package/dist/collection/components/co-modal/co-modal.css +2 -2
  280. package/dist/collection/components/co-modal/co-modal.js +2 -2
  281. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  282. package/dist/collection/components/co-number-field/co-number-field.css +3 -3
  283. package/dist/collection/components/co-number-field/co-number-field.js +2 -2
  284. package/dist/collection/components/co-option-list/co-option-list.css +20 -2
  285. package/dist/collection/components/co-option-list/co-option-list.js +141 -7
  286. package/dist/collection/components/co-option-list/optionListLogic.js +13 -0
  287. package/dist/collection/components/co-overlay/co-overlay.css +2 -2
  288. package/dist/collection/components/co-overlay/co-overlay.js +1 -1
  289. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  290. package/dist/collection/components/co-phone-field/co-phone-field.css +1 -1
  291. package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
  292. package/dist/collection/components/co-popover/co-popover.css +27 -0
  293. package/dist/collection/components/co-popover/co-popover.js +30 -4
  294. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  295. package/dist/collection/components/co-progress-circle/co-progress-circle.css +1 -1
  296. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  297. package/dist/collection/components/co-provider-logo/co-provider-logo.css +23 -0
  298. package/dist/collection/components/co-provider-logo/co-provider-logo.js +124 -0
  299. package/dist/collection/components/co-radio/co-radio.css +1 -1
  300. package/dist/collection/components/co-radio/co-radio.js +3 -3
  301. package/dist/collection/components/co-radio-group/co-radio-group.css +1 -1
  302. package/dist/collection/components/co-rating/co-rating.css +1 -1
  303. package/dist/collection/components/co-rating/co-rating.js +3 -3
  304. package/dist/collection/components/co-ref-field/co-ref-field.css +4 -4
  305. package/dist/collection/components/co-ref-field/co-ref-field.js +18 -2
  306. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +16 -5
  307. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +3 -3
  308. package/dist/collection/components/co-rich-text-toolbar/co-rich-text-toolbar.css +20 -12
  309. package/dist/collection/components/co-row/co-row.js +2 -2
  310. package/dist/collection/components/co-select/co-select.css +4 -4
  311. package/dist/collection/components/co-select/co-select.js +1 -1
  312. package/dist/collection/components/co-separator/co-separator.js +1 -1
  313. package/dist/collection/components/co-sidebar/co-sidebar.css +1 -1
  314. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  315. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +33 -7
  316. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +12 -2
  317. package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
  318. package/dist/collection/components/co-slider/co-slider.css +9 -2
  319. package/dist/collection/components/co-slider/co-slider.js +2 -2
  320. package/dist/collection/components/co-switch/co-switch.css +5 -4
  321. package/dist/collection/components/co-switch/co-switch.js +3 -3
  322. package/dist/collection/components/co-tab/co-tab.css +2 -2
  323. package/dist/collection/components/co-tab/co-tab.js +2 -2
  324. package/dist/collection/components/co-tab-group/co-tab-group.css +25 -0
  325. package/dist/collection/components/co-tab-group/co-tab-group.js +18 -2
  326. package/dist/collection/components/co-tags-field/co-tags-field.css +3 -3
  327. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  328. package/dist/collection/components/co-textarea/co-textarea.css +2 -2
  329. package/dist/collection/components/co-textarea/co-textarea.js +4 -4
  330. package/dist/collection/components/co-toast/co-toast.css +63 -1
  331. package/dist/collection/components/co-toast/co-toast.js +38 -3
  332. package/dist/collection/components/co-toggle-button/co-toggle-button.css +1 -1
  333. package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
  334. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
  335. package/dist/collection/components/co-tooltip/co-tooltip.css +1 -1
  336. package/dist/collection/components/co-tooltip/co-tooltip.js +14 -3
  337. package/dist/collection/components/co-transfer-list/co-transfer-list.css +3 -3
  338. package/dist/collection/components/co-transfer-list/co-transfer-list.js +2 -2
  339. package/dist/collection/components/co-video/co-video.css +9 -9
  340. package/dist/collection/components/co-video/co-video.js +2 -2
  341. package/dist/collection/utils/dateI18n.js +21 -0
  342. package/dist/collection/utils/eventColor.js +52 -0
  343. package/dist/collection/utils/positioning.js +10 -0
  344. package/dist/components/co-accordion.js +1 -1
  345. package/dist/components/co-action-bar.d.ts +11 -0
  346. package/dist/components/co-action-bar.js +1 -0
  347. package/dist/components/co-app-shell.js +1 -1
  348. package/dist/components/co-audio-player.d.ts +11 -0
  349. package/dist/components/co-audio-player.js +1 -0
  350. package/dist/components/co-autocomplete.js +1 -1
  351. package/dist/components/co-avatar-group.js +1 -1
  352. package/dist/components/co-avatar.js +1 -1
  353. package/dist/components/co-badge.js +1 -1
  354. package/dist/components/co-bottom-sheet.js +1 -1
  355. package/dist/components/co-breadcrumb-item.js +1 -1
  356. package/dist/components/co-breadcrumb.js +1 -1
  357. package/dist/components/co-button-group.js +1 -1
  358. package/dist/components/co-button.js +1 -1
  359. package/dist/components/co-calendar-month.js +1 -1
  360. package/dist/components/co-calendar-timegrid.d.ts +11 -0
  361. package/dist/components/co-calendar-timegrid.js +1 -0
  362. package/dist/components/co-calendar.js +1 -1
  363. package/dist/components/co-card.js +1 -1
  364. package/dist/components/co-carousel-item.js +1 -1
  365. package/dist/components/co-carousel.js +1 -1
  366. package/dist/components/co-checkbox-group.js +1 -1
  367. package/dist/components/co-checkbox.js +1 -1
  368. package/dist/components/co-chip.js +1 -1
  369. package/dist/components/co-color-picker.js +1 -1
  370. package/dist/components/co-column-picker.js +1 -1
  371. package/dist/components/co-combobox.js +1 -1
  372. package/dist/components/co-command-search.js +1 -1
  373. package/dist/components/co-data-table-pagination.js +1 -1
  374. package/dist/components/co-data-table.js +1 -1
  375. package/dist/components/co-date-field.js +1 -1
  376. package/dist/components/co-date-picker.js +1 -1
  377. package/dist/components/co-date-range-picker.js +1 -1
  378. package/dist/components/co-date-range.js +1 -1
  379. package/dist/components/co-date-time-picker.d.ts +11 -0
  380. package/dist/components/co-date-time-picker.js +1 -0
  381. package/dist/components/co-drawer.js +1 -1
  382. package/dist/components/co-drive-card.js +1 -1
  383. package/dist/components/co-drop-zone.js +1 -1
  384. package/dist/components/co-empty-state.js +1 -1
  385. package/dist/components/co-event-calendar.js +1 -1
  386. package/dist/components/co-event-popover.d.ts +11 -0
  387. package/dist/components/co-event-popover.js +1 -0
  388. package/dist/components/co-fab.js +1 -1
  389. package/dist/components/co-file-field.js +1 -1
  390. package/dist/components/co-file-type-tile.js +1 -1
  391. package/dist/components/co-helper-text.js +1 -1
  392. package/dist/components/co-icon-button.js +1 -1
  393. package/dist/components/co-icon.js +1 -1
  394. package/dist/components/co-input.js +1 -1
  395. package/dist/components/co-json-field.js +1 -1
  396. package/dist/components/co-lightbox.js +1 -1
  397. package/dist/components/co-list-footer.js +1 -1
  398. package/dist/components/co-list-item.js +1 -1
  399. package/dist/components/co-media-thumb.js +1 -1
  400. package/dist/components/co-menu-divider.js +1 -1
  401. package/dist/components/co-menu-item.js +1 -1
  402. package/dist/components/co-menu.js +1 -1
  403. package/dist/components/co-modal.js +1 -1
  404. package/dist/components/co-navbar.js +1 -1
  405. package/dist/components/co-number-field.js +1 -1
  406. package/dist/components/co-option-list.js +1 -1
  407. package/dist/components/co-overlay.js +1 -1
  408. package/dist/components/co-page-header.js +1 -1
  409. package/dist/components/co-phone-field.js +1 -1
  410. package/dist/components/co-popover.js +1 -1
  411. package/dist/components/co-progress-bar.js +1 -1
  412. package/dist/components/co-progress-circle.js +1 -1
  413. package/dist/components/co-provider-logo.d.ts +11 -0
  414. package/dist/components/co-provider-logo.js +1 -0
  415. package/dist/components/co-radio-group.js +1 -1
  416. package/dist/components/co-radio.js +1 -1
  417. package/dist/components/co-rating.js +1 -1
  418. package/dist/components/co-ref-field.js +1 -1
  419. package/dist/components/co-rich-text-editor.js +1 -1
  420. package/dist/components/co-rich-text-toolbar.js +1 -1
  421. package/dist/components/co-row.js +1 -1
  422. package/dist/components/co-select.js +1 -1
  423. package/dist/components/co-separator.js +1 -1
  424. package/dist/components/co-sidebar-nav.js +1 -1
  425. package/dist/components/co-sidebar.js +1 -1
  426. package/dist/components/co-skeleton.js +1 -1
  427. package/dist/components/co-slider.js +1 -1
  428. package/dist/components/co-switch.js +1 -1
  429. package/dist/components/co-tab-group.js +1 -1
  430. package/dist/components/co-tab.js +1 -1
  431. package/dist/components/co-tags-field.js +1 -1
  432. package/dist/components/co-textarea.js +1 -1
  433. package/dist/components/co-toast.js +1 -1
  434. package/dist/components/co-toggle-button-group.js +1 -1
  435. package/dist/components/co-toggle-button.js +1 -1
  436. package/dist/components/co-tooltip.js +1 -1
  437. package/dist/components/co-transfer-list.js +1 -1
  438. package/dist/components/co-video.js +1 -1
  439. package/dist/components/index.js +1 -1
  440. package/dist/components/p-2zy1K6zg.js +1 -0
  441. package/dist/components/{p-B3U63yZw.js → p-BCnjq3jN.js} +1 -1
  442. package/dist/components/p-BMdapAL8.js +1 -0
  443. package/dist/components/{p-T0UfY6rA.js → p-BUE9mBqk.js} +1 -1
  444. package/dist/components/p-Bh2__nEw.js +1 -0
  445. package/dist/components/{p-Cd3inFSL.js → p-BiefJDu3.js} +1 -1
  446. package/dist/components/{p-Bul6EdDX.js → p-BlvsTlsS.js} +1 -1
  447. package/dist/components/p-Bsll5Ofy.js +1 -0
  448. package/dist/components/p-C-5cLeKr.js +1 -0
  449. package/dist/components/p-CF8OB_TM.js +1 -0
  450. package/dist/components/p-CJNo2JDc.js +1 -0
  451. package/dist/components/p-CKKBJaNB.js +1 -0
  452. package/dist/components/p-CL4dicvk.js +1 -0
  453. package/dist/components/{p-DfpOEXHC.js → p-CYv2ig6I.js} +1 -1
  454. package/dist/components/p-Ce0ZJcks.js +1 -0
  455. package/dist/components/p-Ch837Ggl.js +1 -0
  456. package/dist/components/p-CkQqqKRp.js +1 -0
  457. package/dist/components/p-CmxZEGYq.js +1 -0
  458. package/dist/components/p-CnNpoKwg.js +1 -0
  459. package/dist/components/p-Cv5yuGLz.js +1 -0
  460. package/dist/components/{p-oV_1MoAN.js → p-DAaKsGqj.js} +1 -1
  461. package/dist/components/p-DFT1qsVu.js +1 -0
  462. package/dist/components/p-DTJsO_Eg.js +1 -0
  463. package/dist/components/p-Dxa7c4Ap.js +1 -0
  464. package/dist/components/p-_YYd42XM.js +1 -0
  465. package/dist/components/p-e5KibEs8.js +1 -0
  466. package/dist/components/p-re2gJwnQ.js +1 -0
  467. package/dist/components/p-ushHimOL.js +1 -0
  468. package/dist/components/p-xvWmYN3W.js +1 -0
  469. package/dist/esm/co-accordion.entry.js +4 -4
  470. package/dist/esm/co-action-bar.entry.js +87 -0
  471. package/dist/esm/co-app-shell.entry.js +4 -4
  472. package/dist/esm/co-audio-player.entry.js +277 -0
  473. package/dist/esm/co-autocomplete.entry.js +15 -6
  474. package/dist/esm/co-avatar-group.entry.js +2 -2
  475. package/dist/esm/co-avatar_2.entry.js +17 -6
  476. package/dist/esm/co-badge.entry.js +2 -2
  477. package/dist/esm/co-bottom-sheet.entry.js +5 -5
  478. package/dist/esm/co-breadcrumb-item.entry.js +3 -3
  479. package/dist/esm/co-breadcrumb.entry.js +2 -2
  480. package/dist/esm/co-button-group.entry.js +3 -3
  481. package/dist/esm/co-button.entry.js +13 -6
  482. package/dist/esm/co-calendar-month_2.entry.js +1598 -0
  483. package/dist/esm/co-calendar_3.entry.js +13 -13
  484. package/dist/esm/co-card.entry.js +4 -4
  485. package/dist/esm/co-carousel-item.entry.js +2 -2
  486. package/dist/esm/co-carousel.entry.js +4 -4
  487. package/dist/esm/co-checkbox-group.entry.js +2 -2
  488. package/dist/esm/co-checkbox.entry.js +5 -5
  489. package/dist/esm/co-chip_2.entry.js +109 -8
  490. package/dist/esm/co-color-picker.entry.js +5 -5
  491. package/dist/esm/co-column-picker.entry.js +4 -4
  492. package/dist/esm/co-combobox.entry.js +14 -6
  493. package/dist/esm/co-command-search.entry.js +20 -6
  494. package/dist/esm/co-data-table-pagination.entry.js +6 -6
  495. package/dist/esm/co-data-table.entry.js +2 -2
  496. package/dist/esm/co-date-picker.entry.js +3 -3
  497. package/dist/esm/co-date-range-picker.entry.js +5 -5
  498. package/dist/esm/co-date-range.entry.js +2 -2
  499. package/dist/esm/co-date-time-picker.entry.js +407 -0
  500. package/dist/esm/co-drive-card.entry.js +3 -3
  501. package/dist/esm/co-drop-zone.entry.js +2 -2
  502. package/dist/esm/co-empty-state.entry.js +3 -3
  503. package/dist/esm/co-event-calendar.entry.js +120 -19
  504. package/dist/esm/co-event-popover.entry.js +130 -0
  505. package/dist/esm/co-fab.entry.js +4 -4
  506. package/dist/esm/co-file-field.entry.js +8 -8
  507. package/dist/esm/co-file-type-tile.entry.js +3 -3
  508. package/dist/esm/co-helper-text.entry.js +3 -3
  509. package/dist/esm/co-icon-button.entry.js +3 -3
  510. package/dist/esm/co-icon.entry.js +3 -3
  511. package/dist/esm/co-input.entry.js +3 -3
  512. package/dist/esm/co-json-field.entry.js +6 -6
  513. package/dist/esm/co-lightbox.entry.js +7 -7
  514. package/dist/esm/co-list-footer.entry.js +3 -3
  515. package/dist/esm/co-list-item.entry.js +6 -6
  516. package/dist/esm/co-loader.entry.js +1 -1
  517. package/dist/esm/co-media-thumb.entry.js +3 -3
  518. package/dist/esm/co-menu-divider.entry.js +2 -2
  519. package/dist/esm/co-menu-item.entry.js +3 -3
  520. package/dist/esm/co-menu.entry.js +2 -2
  521. package/dist/esm/co-modal.entry.js +4 -4
  522. package/dist/esm/co-navbar.entry.js +3 -3
  523. package/dist/esm/co-number-field.entry.js +5 -5
  524. package/dist/esm/co-overlay.entry.js +3 -3
  525. package/dist/esm/co-page-header.entry.js +2 -2
  526. package/dist/esm/co-phone-field.entry.js +4 -4
  527. package/dist/esm/co-popover.entry.js +33 -7
  528. package/dist/esm/co-progress-bar.entry.js +3 -3
  529. package/dist/esm/co-progress-circle.entry.js +4 -4
  530. package/dist/esm/co-provider-logo_2.entry.js +69 -0
  531. package/dist/esm/co-radio-group.entry.js +2 -2
  532. package/dist/esm/co-radio.entry.js +5 -5
  533. package/dist/esm/co-rating.entry.js +5 -5
  534. package/dist/esm/co-ref-field.entry.js +22 -6
  535. package/dist/esm/co-rich-text-editor.entry.js +5 -5
  536. package/dist/esm/co-rich-text-toolbar.entry.js +2 -2
  537. package/dist/esm/co-rich-text-viewer.entry.js +1 -1
  538. package/dist/esm/co-row.entry.js +3 -3
  539. package/dist/esm/co-segmented-bar.entry.js +1 -1
  540. package/dist/esm/co-select.entry.js +4 -4
  541. package/dist/esm/co-separator.entry.js +2 -2
  542. package/dist/esm/co-sidebar-nav.entry.js +14 -4
  543. package/dist/esm/co-sidebar.entry.js +4 -4
  544. package/dist/esm/co-slider.entry.js +4 -4
  545. package/dist/esm/co-switch.entry.js +6 -6
  546. package/dist/esm/co-tab-group.entry.js +20 -4
  547. package/dist/esm/co-tab.entry.js +4 -4
  548. package/dist/esm/co-tags-field.entry.js +9 -9
  549. package/dist/esm/co-textarea.entry.js +7 -7
  550. package/dist/esm/co-toast.entry.js +35 -5
  551. package/dist/esm/co-toggle-button-group.entry.js +3 -3
  552. package/dist/esm/co-toggle-button.entry.js +4 -4
  553. package/dist/esm/co-transfer-list.entry.js +4 -4
  554. package/dist/esm/co-video.entry.js +4 -4
  555. package/dist/esm/cobalt.js +3 -3
  556. package/dist/esm/{dateI18n-C1DCLOEl.js → dateI18n-CnNpoKwg.js} +21 -0
  557. package/dist/esm/{dates-tPYikBRJ.js → dates-BU7SQCje.js} +64 -13
  558. package/dist/esm/{fieldChip-Bb8YIN0J.js → fieldChip-BZDUy9Z-.js} +1 -1
  559. package/dist/esm/{index-BCEz3S-z.js → index-CrtiywTB.js} +29 -13
  560. package/dist/esm/loader.js +3 -3
  561. package/dist/esm/{positioning-C2mZ7x_Y.js → positioning-BMdapAL8.js} +10 -0
  562. package/dist/esm/{requiredMark-D7kAMXHM.js → requiredMark-DCD-ZA51.js} +1 -1
  563. package/dist/esm/time-CF8OB_TM.js +37 -0
  564. package/dist/esm/{tz-B6JZk8fL.js → tz-1EK-COrb.js} +1 -1
  565. package/dist/types/components/co-action-bar/co-action-bar.d.ts +66 -0
  566. package/dist/types/components/co-audio-player/co-audio-player.d.ts +62 -0
  567. package/dist/types/components/co-audio-player/co-audio-player.utils.d.ts +11 -0
  568. package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +1 -1
  569. package/dist/types/components/co-button/co-button.d.ts +18 -1
  570. package/dist/types/components/co-calendar-month/co-calendar-month.d.ts +33 -1
  571. package/dist/types/components/co-calendar-timegrid/co-calendar-timegrid.d.ts +178 -0
  572. package/dist/types/components/co-combobox/co-combobox.d.ts +1 -1
  573. package/dist/types/components/co-command-search/co-command-search.d.ts +7 -0
  574. package/dist/types/components/co-date-time-picker/co-date-time-picker.d.ts +131 -0
  575. package/dist/types/components/co-event-calendar/co-event-calendar.d.ts +61 -8
  576. package/dist/types/components/co-event-popover/co-event-popover.d.ts +45 -0
  577. package/dist/types/components/co-menu-item/co-menu-item.d.ts +3 -0
  578. package/dist/types/components/co-option-list/co-option-list.d.ts +28 -1
  579. package/dist/types/components/co-option-list/optionListLogic.d.ts +3 -0
  580. package/dist/types/components/co-provider-logo/co-provider-logo.d.ts +17 -0
  581. package/dist/types/components/co-ref-field/co-ref-field.d.ts +5 -0
  582. package/dist/types/components/co-tab-group/co-tab-group.d.ts +5 -0
  583. package/dist/types/components/co-toast/co-toast.d.ts +19 -0
  584. package/dist/types/components/co-tooltip/co-tooltip.d.ts +6 -0
  585. package/dist/types/components.d.ts +1251 -82
  586. package/dist/types/utils/dateI18n.d.ts +7 -0
  587. package/dist/types/utils/eventColor.d.ts +20 -0
  588. package/package.json +3 -3
  589. package/dist/cjs/co-calendar-month.cjs.entry.js +0 -381
  590. package/dist/cjs/co-skeleton.cjs.entry.js +0 -26
  591. package/dist/cobalt/p-037cc571.entry.js +0 -1
  592. package/dist/cobalt/p-080f62e4.entry.js +0 -1
  593. package/dist/cobalt/p-0b7359bb.entry.js +0 -1
  594. package/dist/cobalt/p-0b92167a.entry.js +0 -1
  595. package/dist/cobalt/p-0bc5a962.entry.js +0 -1
  596. package/dist/cobalt/p-264508ae.entry.js +0 -1
  597. package/dist/cobalt/p-27dce0ac.entry.js +0 -1
  598. package/dist/cobalt/p-30c80e3a.entry.js +0 -1
  599. package/dist/cobalt/p-331a0108.entry.js +0 -1
  600. package/dist/cobalt/p-36ad3a96.entry.js +0 -1
  601. package/dist/cobalt/p-3ecbbe93.entry.js +0 -1
  602. package/dist/cobalt/p-3f1030fb.entry.js +0 -1
  603. package/dist/cobalt/p-3f7215e7.entry.js +0 -1
  604. package/dist/cobalt/p-431cec34.entry.js +0 -1
  605. package/dist/cobalt/p-4f615cbd.entry.js +0 -1
  606. package/dist/cobalt/p-5319ac3f.entry.js +0 -1
  607. package/dist/cobalt/p-532baca4.entry.js +0 -1
  608. package/dist/cobalt/p-53a276a8.entry.js +0 -1
  609. package/dist/cobalt/p-543cc00d.entry.js +0 -1
  610. package/dist/cobalt/p-54857f78.entry.js +0 -1
  611. package/dist/cobalt/p-585c132d.entry.js +0 -1
  612. package/dist/cobalt/p-59b114ab.entry.js +0 -1
  613. package/dist/cobalt/p-5c250889.entry.js +0 -1
  614. package/dist/cobalt/p-5d0510a5.entry.js +0 -1
  615. package/dist/cobalt/p-5e246304.entry.js +0 -1
  616. package/dist/cobalt/p-64115d66.entry.js +0 -1
  617. package/dist/cobalt/p-75515a8e.entry.js +0 -1
  618. package/dist/cobalt/p-8155d781.entry.js +0 -1
  619. package/dist/cobalt/p-8fe5b07e.entry.js +0 -1
  620. package/dist/cobalt/p-9824c478.entry.js +0 -1
  621. package/dist/cobalt/p-9bf42bf4.entry.js +0 -1
  622. package/dist/cobalt/p-9fab9c1f.entry.js +0 -1
  623. package/dist/cobalt/p-BCEz3S-z.js +0 -2
  624. package/dist/cobalt/p-C-d15gih.js +0 -1
  625. package/dist/cobalt/p-C1DCLOEl.js +0 -1
  626. package/dist/cobalt/p-C2mZ7x_Y.js +0 -1
  627. package/dist/cobalt/p-D5gr2ent.js +0 -1
  628. package/dist/cobalt/p-b06af5c6.entry.js +0 -1
  629. package/dist/cobalt/p-b87a2e7a.entry.js +0 -1
  630. package/dist/cobalt/p-bb00ae4a.entry.js +0 -1
  631. package/dist/cobalt/p-c237add6.entry.js +0 -1
  632. package/dist/cobalt/p-c589ae25.entry.js +0 -1
  633. package/dist/cobalt/p-c635417b.entry.js +0 -1
  634. package/dist/cobalt/p-c7d9ff39.entry.js +0 -1
  635. package/dist/cobalt/p-c9528a5f.entry.js +0 -1
  636. package/dist/cobalt/p-cbac0a11.entry.js +0 -1
  637. package/dist/cobalt/p-cd28aa6d.entry.js +0 -1
  638. package/dist/cobalt/p-d3a1a604.entry.js +0 -1
  639. package/dist/cobalt/p-d71b800a.entry.js +0 -1
  640. package/dist/cobalt/p-df752f6e.entry.js +0 -1
  641. package/dist/cobalt/p-ec9dd3a3.entry.js +0 -1
  642. package/dist/cobalt/p-eeed80ac.entry.js +0 -1
  643. package/dist/cobalt/p-f0a98453.entry.js +0 -1
  644. package/dist/cobalt/p-ff581807.entry.js +0 -1
  645. package/dist/cobalt/p-fffeb610.entry.js +0 -1
  646. package/dist/cobalt/p-tPYikBRJ.js +0 -1
  647. package/dist/components/p-9aNhJfTT.js +0 -1
  648. package/dist/components/p-B0b9Etx4.js +0 -1
  649. package/dist/components/p-B7Yv00g9.js +0 -1
  650. package/dist/components/p-BTa6ss5i.js +0 -1
  651. package/dist/components/p-BtpRnpaF.js +0 -1
  652. package/dist/components/p-Bzg5FPSA.js +0 -1
  653. package/dist/components/p-C1DCLOEl.js +0 -1
  654. package/dist/components/p-C2mZ7x_Y.js +0 -1
  655. package/dist/components/p-CQ-8domm.js +0 -1
  656. package/dist/components/p-CVeEoHr7.js +0 -1
  657. package/dist/components/p-CYi6V_Ss.js +0 -1
  658. package/dist/components/p-CmCsm4L-.js +0 -1
  659. package/dist/components/p-CuQjKAf5.js +0 -1
  660. package/dist/components/p-CyYF8IJE.js +0 -1
  661. package/dist/components/p-DKvTqEaf.js +0 -1
  662. package/dist/components/p-DwwxS5bY.js +0 -1
  663. package/dist/esm/co-calendar-month.entry.js +0 -379
  664. package/dist/esm/co-skeleton.entry.js +0 -24
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-BCEz3S-z.js';
2
- import { g as getDateStrings } from './dateI18n-C1DCLOEl.js';
3
- import { a as todayYMD, d as addDays, p as parseISO, g as getMonthMatrix, b as addMonths, e as getMonthLabel } from './dates-tPYikBRJ.js';
4
- import { t as toEpoch, a as toUtcISO, g as getLocalTimeZone } from './tz-B6JZk8fL.js';
1
+ import { r as registerInstance, c as createEvent, h, a as getElement } from './index-CrtiywTB.js';
2
+ import { g as getDateStrings } from './dateI18n-CnNpoKwg.js';
3
+ import { a as todayYMD, d as addDays, p as parseISO, g as getMonthMatrix, b as addMonths, e as getMonthLabel } from './dates-BU7SQCje.js';
4
+ import { b as toEpoch, t as toUtcISO, g as getLocalTimeZone } from './tz-1EK-COrb.js';
5
5
 
6
6
  /**
7
7
  * model.ts — the calendar event model and its normalization.
@@ -102,6 +102,7 @@ function normalizeEvent(raw, options = {}) {
102
102
  startMs,
103
103
  endMs,
104
104
  status: raw.status,
105
+ responseState: raw.responseState,
105
106
  backgroundColor,
106
107
  borderColor,
107
108
  className: raw.className,
@@ -125,7 +126,7 @@ function normalizeEvents(raw, options = {}) {
125
126
  return out;
126
127
  }
127
128
 
128
- const coEventCalendarCss = () => `:host{display:flex;flex-direction:column;gap:var(--co-spacing-md);font-family:var(--co-font-family-primary);color:var(--co-semantic-text-default);block-size:100%;min-block-size:0}.cal{display:flex;flex-direction:column;gap:var(--co-spacing-md);block-size:100%;min-block-size:0}.cal__toolbar{display:flex;align-items:center;gap:var(--co-spacing-md)}.cal__nav-group{display:inline-flex;align-items:center;gap:var(--co-spacing-xs)}.cal__title{flex:1 1 auto;margin:0;text-align:center;font-size:var(--co-font-size-16, 16px);font-weight:600;text-transform:capitalize;color:var(--co-semantic-text-default)}.cal__views-spacer{flex:0 0 auto;inline-size:1px}.cal__btn{height:32px;padding:0 var(--co-spacing-md);background:none;border:1px solid var(--co-semantic-border-default);border-radius:var(--co-border-radius-xs);font-family:inherit;font-size:var(--co-font-size-14, 14px);color:var(--co-semantic-text-default);cursor:pointer;transition:background 0.1s ease}.cal__btn:hover{background:var(--co-semantic-surface-hover)}.cal__btn:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:1px}.cal__icon-btn{height:32px;width:32px;display:inline-flex;align-items:center;justify-content:center;background:none;border:0;border-radius:var(--co-border-radius-xs);color:var(--co-semantic-text-default);cursor:pointer;transition:background 0.1s ease}.cal__icon-btn:hover{background:var(--co-semantic-surface-hover)}.cal__icon-btn:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:1px}.cal__views{display:inline-flex;gap:2px;padding:2px;background:var(--co-semantic-surface-hover);border-radius:var(--co-border-radius-xs)}.cal__view-btn{height:28px;padding:0 var(--co-spacing-md);background:none;border:0;border-radius:var(--co-border-radius-xxs);font-family:inherit;font-size:var(--co-font-size-14, 14px);color:var(--co-semantic-text-secondary);cursor:pointer;text-transform:capitalize}.cal__view-btn--active{background:var(--co-semantic-surface-page);color:var(--co-semantic-text-default);font-weight:600;box-shadow:0 1px 2px rgba(0, 0, 0, 0.08)}.cal__view-btn:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:1px}.cal__body{flex:1 1 auto;min-block-size:0;display:flex;flex-direction:column}.cal__body co-calendar-month{flex:1 1 auto;min-block-size:0}.cal__placeholder{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--co-spacing-sm);color:var(--co-semantic-text-muted);text-transform:capitalize}`;
129
+ const coEventCalendarCss = () => `:host{display:flex;flex-direction:column;gap:var(--co-spacing-md);font-family:var(--co-font-family-primary);color:var(--co-semantic-text-default);block-size:100%;min-block-size:0}.cal{display:flex;flex-direction:column;gap:var(--co-spacing-md);block-size:100%;min-block-size:0}.cal__toolbar{display:flex;align-items:center;gap:var(--co-spacing-md)}.cal__title-group{flex:1 1 auto;min-width:0;display:flex;align-items:center;justify-content:center;gap:var(--co-spacing-xs)}.cal__title{margin:0;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:var(--co-font-size-20, 20px);font-weight:400;letter-spacing:-0.01em;text-transform:capitalize;color:var(--co-semantic-text-default)}.cal__views-spacer{flex:0 0 auto;inline-size:1px}.cal__btn{height:32px;padding:0 var(--co-spacing-md);background:none;border:1px solid var(--co-semantic-border-default);border-radius:var(--co-border-radius-full);font-family:inherit;font-size:var(--co-font-size-14, 14px);color:var(--co-semantic-text-default);cursor:pointer;transition:background var(--co-motion-duration-fast) var(--co-motion-ease-out)}.cal__btn:hover{background:var(--co-semantic-surface-hover)}.cal__btn:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:1px}.cal__icon-btn{height:32px;width:32px;display:inline-flex;align-items:center;justify-content:center;background:none;border:0;border-radius:var(--co-border-radius-xs);color:var(--co-semantic-text-default);cursor:pointer;transition:background var(--co-motion-duration-fast) var(--co-motion-ease-out)}.cal__icon-btn:hover{background:var(--co-semantic-surface-hover)}.cal__icon-btn:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:1px}.cal__views{display:inline-flex;gap:2px;padding:2px;background:var(--co-semantic-surface-hover);border-radius:var(--co-border-radius-xs)}.cal__view-btn{height:28px;padding:0 var(--co-spacing-md);background:none;border:0;border-radius:var(--co-border-radius-xxs);font-family:inherit;font-size:var(--co-font-size-14, 14px);color:var(--co-semantic-text-secondary);cursor:pointer;text-transform:capitalize}.cal__view-btn--active{background:var(--co-semantic-surface-page);color:var(--co-semantic-text-default);font-weight:600;box-shadow:0 1px 2px rgba(0, 0, 0, 0.08)}.cal__view-btn:focus-visible{outline:2px solid var(--co-semantic-border-focus);outline-offset:1px}.cal__body{flex:1 1 auto;min-block-size:0;display:flex;flex-direction:column}.cal__body co-calendar-month{flex:1 1 auto;min-block-size:0}.cal__body co-calendar-timegrid{flex:1 1 auto;min-block-size:0}.cal__placeholder{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--co-spacing-sm);color:var(--co-semantic-text-muted);text-transform:capitalize}`;
129
130
 
130
131
  const CoEventCalendar = class {
131
132
  constructor(hostRef) {
@@ -133,10 +134,11 @@ const CoEventCalendar = class {
133
134
  this.coEventClick = createEvent(this, "coEventClick", 3);
134
135
  this.coDateSelect = createEvent(this, "coDateSelect", 3);
135
136
  this.coEventDrop = createEvent(this, "coEventDrop", 3);
137
+ this.coEventDblClick = createEvent(this, "coEventDblClick", 3);
136
138
  this.coDatesSet = createEvent(this, "coDatesSet", 3);
137
139
  this.coViewChange = createEvent(this, "coViewChange", 3);
138
140
  this.coMoreClick = createEvent(this, "coMoreClick", 3);
139
- /** Active view. Phase 1 ships `month`; week/day/agenda land in later phases. */
141
+ /** Active view. `month`/`week`/`day` are implemented; `agenda` is pending. */
140
142
  this.view = 'month';
141
143
  /** Events: an array or a JSON string (raw-HTML use). */
142
144
  this.events = [];
@@ -154,18 +156,52 @@ const CoEventCalendar = class {
154
156
  this.availableViews = ['month'];
155
157
  /** Default minutes for a timed event missing an end. */
156
158
  this.defaultDurationMinutes = 60;
159
+ /** Show the all-day lane in week/day views. */
160
+ this.allDaySlot = true;
161
+ /** Visible-hours window for week/day (minutes-of-day bounds as "HH:mm"). */
162
+ this.minTime = '00:00';
163
+ this.maxTime = '24:00';
164
+ /** Slot/snap granularity (minutes) for week/day. */
165
+ this.slotMinutes = 15;
166
+ this.snapMinutes = 15;
167
+ /** Initial scroll position for week/day ("HH:mm"). */
168
+ this.scrollTime = '07:00';
169
+ /** Show the current-time indicator in week/day. */
170
+ this.nowIndicator = true;
171
+ /** Cargando eventos: se propaga a la grilla (mes/timegrid), que reemplaza
172
+ * SUS chips por bloques skeleton y conserva toda su estructura — bordes,
173
+ * cabecera de días, eje de horas. El toolbar sigue operable y nada se
174
+ * desmonta, así no se pierde el scroll de semana/día. */
175
+ this.loading = false;
157
176
  this.goToday = () => this.setAnchor(todayYMD());
158
177
  this.goPrev = () => this.step(-1);
159
178
  this.goNext = () => this.step(1);
160
- // ── Month delegation handlers ───────────────────────────────────────────
179
+ // ── View delegation handlers ─────────────────────────────────────────────
161
180
  this.handleDaySelect = (e) => {
181
+ var _a;
162
182
  const date = e.detail.date;
163
- this.coDateSelect.emit({ start: date, end: addDays(date, 1), allDay: true });
183
+ this.coDateSelect.emit({ start: date, end: addDays(date, 1), allDay: true, rect: (_a = e.detail.rect) !== null && _a !== void 0 ? _a : null });
184
+ };
185
+ this.handleRangeSelect = (e) => {
186
+ var _a;
187
+ this.coDateSelect.emit({
188
+ start: e.detail.start,
189
+ end: e.detail.end,
190
+ allDay: false,
191
+ rect: (_a = e.detail.rect) !== null && _a !== void 0 ? _a : null,
192
+ });
164
193
  };
165
194
  this.handleEventClick = (e) => {
195
+ var _a;
166
196
  const ev = this.normalized.find((x) => x.id === e.detail.id);
167
197
  if (ev)
168
- this.coEventClick.emit({ event: ev });
198
+ this.coEventClick.emit({ event: ev, rect: (_a = e.detail.rect) !== null && _a !== void 0 ? _a : null });
199
+ };
200
+ this.handleEventDblClick = (e) => {
201
+ var _a;
202
+ const ev = this.normalized.find((x) => x.id === e.detail.id);
203
+ if (ev)
204
+ this.coEventDblClick.emit({ event: ev, rect: (_a = e.detail.rect) !== null && _a !== void 0 ? _a : null });
169
205
  };
170
206
  this.handleEventDrop = (e) => {
171
207
  const ev = this.normalized.find((x) => x.id === e.detail.id);
@@ -193,6 +229,13 @@ const CoEventCalendar = class {
193
229
  this.coMoreClick.emit({ date, events });
194
230
  };
195
231
  }
232
+ /** Limpia el resaltado persistente de selección de la vista activa (timegrid
233
+ * o month) — lo llama el host al cerrar su bubble/form de creación. */
234
+ async clearRangeSelection() {
235
+ var _a, _b;
236
+ const view = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('co-calendar-timegrid, co-calendar-month');
237
+ await ((_b = view === null || view === void 0 ? void 0 : view.clearSelection) === null || _b === void 0 ? void 0 : _b.call(view));
238
+ }
196
239
  componentWillLoad() {
197
240
  this.anchor = this.date && parseISO(this.date) ? this.date : todayYMD();
198
241
  }
@@ -209,20 +252,60 @@ const CoEventCalendar = class {
209
252
  return this.timeZone || getLocalTimeZone();
210
253
  }
211
254
  get normalized() {
255
+ const c = this._normCache;
256
+ if (c &&
257
+ c.events === this.events &&
258
+ c.dd === this.defaultDurationMinutes &&
259
+ c.sc === this.statusColors) {
260
+ return c.result;
261
+ }
212
262
  const raw = parseEventsProp(this.events);
213
263
  const opts = {
214
264
  defaultDurationMinutes: this.defaultDurationMinutes,
215
265
  statusColors: parseStatusColors(this.statusColors),
216
266
  };
217
- return normalizeEvents(raw, opts);
267
+ const result = normalizeEvents(raw, opts);
268
+ this._normCache = {
269
+ events: this.events,
270
+ dd: this.defaultDurationMinutes,
271
+ sc: this.statusColors,
272
+ result,
273
+ };
274
+ return result;
218
275
  }
219
276
  get viewsList() {
220
277
  return Array.isArray(this.availableViews)
221
278
  ? this.availableViews
222
279
  : String(this.availableViews).split(',').map((s) => s.trim()).filter(Boolean);
223
280
  }
224
- /** Visible [start, end) of the current month view, as date strings. */
281
+ /** Sunday=0 UTC day-of-week of a date-only key (tz-independent). */
282
+ dowOf(dateKey) {
283
+ const [y, mo, d] = dateKey.split('-').map(Number);
284
+ return new Date(Date.UTC(y, mo - 1, d)).getUTCDay();
285
+ }
286
+ weekStart(dateKey) {
287
+ const diff = (this.dowOf(dateKey) - this.firstDayOfWeek + 7) % 7;
288
+ return addDays(dateKey, -diff);
289
+ }
290
+ /** Day keys the active view renders: 7 for week, 1 for day, [] for month. */
291
+ get visibleDates() {
292
+ if (this.view === 'week') {
293
+ const start = this.weekStart(this.anchor);
294
+ return Array.from({ length: 7 }, (_, i) => addDays(start, i));
295
+ }
296
+ if (this.view === 'day')
297
+ return [this.anchor];
298
+ return [];
299
+ }
300
+ /** Visible [start, end) of the active view, as date strings. */
225
301
  visibleRange() {
302
+ if (this.view === 'week') {
303
+ const start = this.weekStart(this.anchor);
304
+ return { start, end: addDays(start, 7) };
305
+ }
306
+ if (this.view === 'day') {
307
+ return { start: this.anchor, end: addDays(this.anchor, 1) };
308
+ }
226
309
  const a = parseISO(this.anchor);
227
310
  const matrix = getMonthMatrix(a.year, a.month, this.firstDayOfWeek);
228
311
  const start = matrix[0][0].value;
@@ -239,12 +322,12 @@ const CoEventCalendar = class {
239
322
  this.emitDatesSet();
240
323
  }
241
324
  step(dir) {
242
- if (this.view === 'month') {
325
+ if (this.view === 'month')
243
326
  this.setAnchor(addMonths(this.anchor, dir));
244
- }
245
- else {
246
- this.setAnchor(addDays(this.anchor, dir * 7));
247
- }
327
+ else if (this.view === 'day')
328
+ this.setAnchor(addDays(this.anchor, dir));
329
+ else
330
+ this.setAnchor(addDays(this.anchor, dir * 7)); // week (and agenda fallback)
248
331
  }
249
332
  switchView(next) {
250
333
  if (next === this.view)
@@ -255,18 +338,31 @@ const CoEventCalendar = class {
255
338
  }
256
339
  title() {
257
340
  const a = parseISO(this.anchor);
258
- return getMonthLabel(a.year, a.month, this.locale, 'long');
341
+ if (this.view === 'month')
342
+ return getMonthLabel(a.year, a.month, this.locale, 'long');
343
+ if (this.view === 'day') {
344
+ return new Intl.DateTimeFormat(this.locale, {
345
+ weekday: 'short', day: 'numeric', month: 'short', year: 'numeric',
346
+ }).format(utcDate(this.anchor));
347
+ }
348
+ // week: "13 – 19 jul 2026"
349
+ const start = this.weekStart(this.anchor);
350
+ const end = addDays(start, 6);
351
+ const fmt = new Intl.DateTimeFormat(this.locale, { day: 'numeric', month: 'short' });
352
+ const yr = new Intl.DateTimeFormat(this.locale, { year: 'numeric' }).format(utcDate(end));
353
+ return `${fmt.format(utcDate(start))} – ${fmt.format(utcDate(end))} ${yr}`;
259
354
  }
260
355
  render() {
261
356
  var _a;
262
357
  const t = getDateStrings(this.locale);
263
358
  const views = this.viewsList;
264
359
  const a = parseISO(this.anchor);
265
- return (h("div", { key: '4820180047be56115d2b350343c50cd73e3c275c', class: "cal" }, h("div", { key: 'd623a44932b94bef980f35459247b743ee63b656', class: "cal__toolbar", part: "toolbar" }, h("div", { key: 'bd3019ee327752aeef1f8f5c8bcd738adf966861', class: "cal__nav-group" }, h("button", { key: '7e57307890143d11c1d18599025c9204c88c75fa', type: "button", class: "cal__btn", onClick: this.goToday }, (_a = t.today) !== null && _a !== void 0 ? _a : 'Today'), h("button", { key: '97270e2db26f1d014b4c92f01f68a38881cf9dc5', type: "button", class: "cal__icon-btn", "aria-label": t.prevMonth, onClick: this.goPrev }, h("co-icon", { key: '64ef0715a090303ca38c039b456ead6e30ec79c9', name: "caret-left", size: 16 })), h("button", { key: '4c0e5eb70d51c8c7d74c4f49662395cc63d14c8a', type: "button", class: "cal__icon-btn", "aria-label": t.nextMonth, onClick: this.goNext }, h("co-icon", { key: 'e83a4ea954f6be95369b7af5c07fb8b3541761ea', name: "caret-right", size: 16 }))), h("h2", { key: '465e8b8aa199bb897d81226da06ad899d3c3467e', class: "cal__title", "aria-live": "polite" }, this.title()), views.length > 1 ? (h("div", { class: "cal__views", role: "tablist" }, views.map((v) => {
360
+ return (h("div", { key: '5fc690577299cbb5d2e4e75d41279ee6f49b9e80', class: "cal" }, h("div", { key: '55b342eacfa324b5eb3e1c819948aba5783e028e', class: "cal__toolbar", part: "toolbar" }, h("button", { key: '7e190cb82abe886d5740b314aeacc136732e0538', type: "button", class: "cal__btn", onClick: this.goToday }, (_a = t.today) !== null && _a !== void 0 ? _a : 'Today'), h("div", { key: '0d12537595e3fb72a7214e968cd952ce68f09b90', class: "cal__title-group" }, h("button", { key: '7d658998a4df6144b9b7752103cae448eb9bea6e', type: "button", class: "cal__icon-btn", "aria-label": t.prevMonth, onClick: this.goPrev }, h("co-icon", { key: '4b793fef900dfd76f1356b1e78c7f5ed10b3da4f', name: "caret-left", size: 16 })), h("h2", { key: '0461afb4b372f7c95b528f5746b2ba6008181dcc', class: "cal__title", "aria-live": "polite" }, this.title()), h("button", { key: '7b169bb04482f6049f4af0c19cf8bf86a962dabf', type: "button", class: "cal__icon-btn", "aria-label": t.nextMonth, onClick: this.goNext }, h("co-icon", { key: 'b426d015251b5a476e2cd34b01d1c7d5d92be71d', name: "caret-right", size: 16 }))), views.length > 1 ? (h("div", { class: "cal__views", role: "tablist" }, views.map((v) => {
266
361
  var _a;
267
362
  return (h("button", { type: "button", role: "tab", "aria-selected": this.view === v ? 'true' : 'false', class: { 'cal__view-btn': true, 'cal__view-btn--active': this.view === v }, onClick: () => this.switchView(v) }, (_a = t[v]) !== null && _a !== void 0 ? _a : v));
268
- }))) : (h("span", { class: "cal__views-spacer" }))), h("div", { key: '4997eb7d83efa22dab101463c3550e0cee373b89', class: "cal__body", part: "body" }, this.view === 'month' ? (h("co-calendar-month", { events: this.normalized, year: a.year, month: a.month, locale: this.locale, firstDayOfWeek: this.firstDayOfWeek, timeZone: this.tz, minDate: this.minDate, maxDate: this.maxDate, editable: this.editable, selectable: this.selectable, maxLanes: this.dayMaxEvents, onCoDaySelect: this.handleDaySelect, onCoEventClick: this.handleEventClick, onCoEventDrop: this.handleEventDrop, onCoMoreClick: this.handleMoreClick })) : (h("div", { class: "cal__placeholder" }, h("co-icon", { name: "calendar-dots", size: 32 }), h("p", null, `${this.view} view — coming soon`))))));
363
+ }))) : (h("span", { class: "cal__views-spacer" }))), h("div", { key: '417cc54fe753d802f30d13992fef86d055c823a3', class: "cal__body", part: "body" }, this.view === 'month' ? (h("co-calendar-month", { loading: this.loading, events: this.normalized, year: a.year, month: a.month, locale: this.locale, firstDayOfWeek: this.firstDayOfWeek, timeZone: this.tz, minDate: this.minDate, maxDate: this.maxDate, editable: this.editable, selectable: this.selectable, maxLanes: this.dayMaxEvents, onCoDaySelect: this.handleDaySelect, onCoEventClick: this.handleEventClick, onCoEventDblClick: this.handleEventDblClick, onCoEventDrop: this.handleEventDrop, onCoMoreClick: this.handleMoreClick })) : this.view === 'week' || this.view === 'day' ? (h("co-calendar-timegrid", { loading: this.loading, events: this.normalized, dates: this.visibleDates, locale: this.locale, timeZone: this.tz, editable: this.editable, selectable: this.selectable, minDate: this.minDate, maxDate: this.maxDate, onCoRangeSelect: this.handleRangeSelect, onCoEventClick: this.handleEventClick, onCoEventDblClick: this.handleEventDblClick, onCoEventDrop: this.handleEventDrop, defaultDurationMinutes: this.defaultDurationMinutes, allDaySlot: this.allDaySlot, minTime: this.minTime, maxTime: this.maxTime, slotMinutes: this.slotMinutes, snapMinutes: this.snapMinutes, scrollTime: this.scrollTime, nowIndicator: this.nowIndicator })) : (h("div", { class: "cal__placeholder" }, h("co-icon", { name: "calendar-dots", size: 32 }), h("p", null, `${this.view} view — coming soon`))))));
269
364
  }
365
+ get el() { return getElement(this); }
270
366
  static get watchers() { return {
271
367
  "date": [{
272
368
  "onDateChange": 0
@@ -311,6 +407,11 @@ function zonedDay(ms, timeZone) {
311
407
  }).format(new Date(ms));
312
408
  return parts; // en-CA → "YYYY-MM-DD"
313
409
  }
410
+ /** UTC Date for a date-only key — safe for Intl formatting (no tz drift). */
411
+ function utcDate(dateKey) {
412
+ const [y, mo, d] = dateKey.split('-').map(Number);
413
+ return new Date(Date.UTC(y, mo - 1, d, 12)); // noon UTC avoids any date rollover
414
+ }
314
415
  CoEventCalendar.style = coEventCalendarCss();
315
416
 
316
417
  export { CoEventCalendar as co_event_calendar };
@@ -0,0 +1,130 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CrtiywTB.js';
2
+ import { c as computePosition } from './positioning-BMdapAL8.js';
3
+
4
+ const coEventPopoverCss = () => `:host{display:contents}.pop{position:fixed;margin:0;inset:auto;width:400px;max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);overflow:auto;background:var(--co-semantic-surface-page);border:1px solid var(--co-semantic-border-default);border-radius:var(--co-border-radius-md, 14px);box-shadow:var(--co-shadow-xl, var(--co-shadow-lg));padding:0;z-index:1000;font-family:var(--co-font-family-primary);color:var(--co-semantic-text-default);animation:co-pop-in var(--co-motion-duration-fast) var(--co-motion-ease-out);outline:none}@keyframes co-pop-in{from{opacity:0;transform:scale(0.96)}to{opacity:1;transform:scale(1)}}.pop__actions{display:flex;justify-content:flex-end;gap:var(--co-spacing-xxs);padding:var(--co-spacing-sm2) var(--co-spacing-sm2) 0}.pop__head{display:flex;gap:var(--co-spacing-md);padding:var(--co-spacing-xs) var(--co-spacing-xl) var(--co-spacing-xl)}.pop__dot{flex:0 0 auto;width:14px;height:14px;border-radius:var(--co-border-radius-xxs);margin-top:5px;background:var(--co-color-primary-azul)}.pop__body{min-width:0;flex:1 1 auto}`;
5
+
6
+ const CoEventPopover = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.coClose = createEvent(this, "coClose", 3);
10
+ this.open = false;
11
+ this.placement = 'right-start';
12
+ /** Render the leading color dot. Set false for dot-less content (quick-create). */
13
+ this.dot = true;
14
+ this.closeOnEscape = true;
15
+ this.closeOnClickOutside = true;
16
+ this.position = () => {
17
+ if (!this.open || !this.panelEl || !this.anchorRect)
18
+ return;
19
+ const a = this.anchorRect;
20
+ const triggerRect = {
21
+ top: a.top, left: a.left, right: a.left + a.width, bottom: a.top + a.height,
22
+ width: a.width, height: a.height,
23
+ };
24
+ const panelRect = this.panelEl.getBoundingClientRect();
25
+ const { top, left } = computePosition(triggerRect, panelRect, {
26
+ placement: this.placement, offset: 8, flip: true,
27
+ });
28
+ this.panelEl.style.top = `${top}px`;
29
+ this.panelEl.style.left = `${left}px`;
30
+ };
31
+ // The anchor rect is a point-in-time snapshot: once the page scrolls or resizes
32
+ // it's stale, and a top-layer panel would stay pinned to a chip that has moved
33
+ // (or disappeared). Google Calendar closes the popover in that case — match it.
34
+ this.onScroll = () => {
35
+ if (this.open)
36
+ this.requestClose();
37
+ };
38
+ this.onKeydown = (e) => {
39
+ if (!this.open)
40
+ return;
41
+ if (this.closeOnEscape && e.key === 'Escape') {
42
+ e.stopPropagation();
43
+ this.requestClose();
44
+ }
45
+ };
46
+ this.onPointerDown = (e) => {
47
+ if (!this.open || !this.closeOnClickOutside || !this.panelEl)
48
+ return;
49
+ const path = e.composedPath();
50
+ if (path.includes(this.panelEl) || path.includes(this.el))
51
+ return;
52
+ this.requestClose();
53
+ };
54
+ }
55
+ componentDidLoad() {
56
+ // Stencil no dispara @Watch para el valor inicial (gotcha conocido del DS).
57
+ if (this.open)
58
+ this.onOpenChange(true);
59
+ }
60
+ onOpenChange(v) {
61
+ var _a;
62
+ if (v) {
63
+ this.prevFocus = (_a = document.activeElement) !== null && _a !== void 0 ? _a : undefined;
64
+ requestAnimationFrame(() => this.promoteAndPosition());
65
+ }
66
+ else {
67
+ this.dismissPanel();
68
+ if (this.prevFocus)
69
+ this.prevFocus.focus();
70
+ }
71
+ }
72
+ onAnchorChange() {
73
+ if (this.open)
74
+ this.position();
75
+ }
76
+ disconnectedCallback() {
77
+ this.teardownListeners();
78
+ }
79
+ promoteAndPosition() {
80
+ var _a, _b;
81
+ if (!this.open || !this.panelEl)
82
+ return;
83
+ // Promote to the top-layer so contain:layout ancestors don't re-anchor us.
84
+ try {
85
+ (_b = (_a = this.panelEl).showPopover) === null || _b === void 0 ? void 0 : _b.call(_a);
86
+ }
87
+ catch ( /* already shown */_c) { /* already shown */ }
88
+ this.position();
89
+ // Dialog-pattern focus: focus the panel itself (tabIndex=-1). Slotted actions
90
+ // live in light DOM and co-icon-button is shadow — querySelector here can't
91
+ // reach them; Tab from the panel lands on the first slotted action naturally.
92
+ this.panelEl.focus();
93
+ window.addEventListener('resize', this.onScroll);
94
+ window.addEventListener('scroll', this.onScroll, true);
95
+ window.addEventListener('keydown', this.onKeydown, true);
96
+ window.addEventListener('pointerdown', this.onPointerDown, true);
97
+ }
98
+ dismissPanel() {
99
+ var _a, _b;
100
+ try {
101
+ (_b = (_a = this.panelEl) === null || _a === void 0 ? void 0 : _a.hidePopover) === null || _b === void 0 ? void 0 : _b.call(_a);
102
+ }
103
+ catch ( /* noop */_c) { /* noop */ }
104
+ this.teardownListeners();
105
+ }
106
+ teardownListeners() {
107
+ window.removeEventListener('resize', this.onScroll);
108
+ window.removeEventListener('scroll', this.onScroll, true);
109
+ window.removeEventListener('keydown', this.onKeydown, true);
110
+ window.removeEventListener('pointerdown', this.onPointerDown, true);
111
+ }
112
+ requestClose() {
113
+ this.coClose.emit();
114
+ }
115
+ render() {
116
+ return (h(Host, { key: '0d80c0a501c72d7428c85ba44075a4c9cab05f6f' }, h("div", { key: 'a772efeb2c49d71f42b53f63ba56858019fcfdcd', class: "pop", popover: "manual", role: "dialog", "aria-modal": "false", "aria-label": this.popoverLabel, tabIndex: -1, ref: (el) => (this.panelEl = el) }, h("div", { key: '8eff11fdc9ae6ebd0de3967dc3a6522cd159bfa0', class: "pop__actions", part: "actions" }, h("slot", { key: 'b9c5c598356d8acc6b0cf135e3c5347de937a33b', name: "actions" })), h("div", { key: '0e1f10c5727d66170d9c1a5b8137ba48c61a867b', class: "pop__head" }, this.dot && h("span", { key: '78ab616e697fb9e4cdc354e791a4e2184ea20123', class: "pop__dot", style: this.color ? { background: this.color } : {} }), h("div", { key: '1abdeb6c16aa3daf5adfb652f4f2ede5e0abb891', class: "pop__body", part: "body" }, h("slot", { key: 'f28a87f62acaa8c617cf24f264462b525065ecbc' }))))));
117
+ }
118
+ get el() { return getElement(this); }
119
+ static get watchers() { return {
120
+ "open": [{
121
+ "onOpenChange": 0
122
+ }],
123
+ "anchorRect": [{
124
+ "onAnchorChange": 0
125
+ }]
126
+ }; }
127
+ };
128
+ CoEventPopover.style = coEventPopoverCss();
129
+
130
+ export { CoEventPopover as co_event_popover };
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BCEz3S-z.js';
1
+ import { r as registerInstance, c as createEvent, h, a as getElement } from './index-CrtiywTB.js';
2
2
 
3
- const coFabCss = () => `:host{display:inline-flex;font-family:var(--co-font-family-primary);line-height:1}.co-fab{display:inline-flex;align-items:center;justify-content:center;gap:var(--co-spacing-sm2);border:none;border-radius:var(--co-border-radius-full);cursor:pointer;font-family:inherit;font-weight:500;white-space:nowrap;box-sizing:border-box;transition:background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;box-shadow:0 4px 12px rgba(31, 28, 27, 0.15)}.co-fab--xl{--co-fab-size:64px;width:64px;height:64px;font-size:var(--co-font-size-16)}.co-fab--l{--co-fab-size:56px;width:56px;height:56px;font-size:var(--co-font-size-16)}.co-fab--m{--co-fab-size:48px;width:48px;height:48px;font-size:var(--co-font-size-14)}.co-fab--s{--co-fab-size:40px;width:40px;height:40px;font-size:var(--co-font-size-14)}.co-fab--extended{width:auto;border-radius:var(--co-border-radius-lg)}.co-fab--extended.co-fab--xl{padding:0 var(--co-spacing-xl)}.co-fab--extended.co-fab--l{padding:0 var(--co-spacing-xl)}.co-fab--extended.co-fab--m{padding:0 var(--co-spacing-lg)}.co-fab--extended.co-fab--s{padding:0 var(--co-spacing-md)}.co-fab--hover-expand{justify-content:flex-start;overflow:hidden;transition:width 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease}.co-fab--hover-expand.co-fab--xl{padding:0 20px}.co-fab--hover-expand.co-fab--l{padding:0 16px}.co-fab--hover-expand.co-fab--m{padding:0 14px}.co-fab--hover-expand.co-fab--s{padding:0 11px}.co-fab--hover-expand:hover:not(:disabled),.co-fab--hover-expand:focus-visible{width:calc(var(--co-fab-size) + var(--co-spacing-sm2) + var(--co-fab-label-w, 0px));transition:width 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease}.co-fab--hover-expand co-icon{flex-shrink:0;transition:transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1)}.co-fab--hover-expand:hover:not(:disabled) co-icon,.co-fab--hover-expand:focus-visible co-icon{transform:rotate(90deg)}.co-fab--hover-expand .co-fab__label{flex-shrink:0;opacity:0;transform:translateX(-6px);transition:opacity 0.12s ease, transform 0.12s ease}.co-fab--hover-expand:hover:not(:disabled) .co-fab__label,.co-fab--hover-expand:focus-visible .co-fab__label{opacity:1;transform:translateX(0);transition:opacity 0.2s ease 0.1s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s}@media (prefers-reduced-motion: reduce){.co-fab--hover-expand,.co-fab--hover-expand co-icon,.co-fab--hover-expand .co-fab__label{transition:none}}.co-fab--primary{background:var(--co-fab-bg, var(--co-color-base-negro, #1f1c1b));color:var(--co-semantic-on-primary)}.co-fab--primary:hover:not(:disabled){box-shadow:0 6px 20px rgba(31, 28, 27, 0.2);transform:translateY(-1px)}.co-fab--secondary{background:var(--co-semantic-surface-secondary);color:var(--co-semantic-text-default);border:1px solid var(--co-semantic-border-subtle)}.co-fab--secondary:hover:not(:disabled){background:var(--co-semantic-surface-hover)}.co-fab--stroke{background:transparent;color:var(--co-semantic-text-default);border:1px solid var(--co-semantic-border-default)}.co-fab--stroke:hover:not(:disabled){background:var(--co-semantic-surface-hover)}.co-fab:active:not(:disabled){transform:translateY(0) scale(0.96)}.co-fab--disabled{opacity:0.4;cursor:not-allowed;box-shadow:none}.co-fab--bottom-right{position:fixed;bottom:24px;right:24px;z-index:1000}.co-fab--bottom-left{position:fixed;bottom:24px;left:24px;z-index:1000}.co-fab--top-right{position:fixed;top:24px;right:24px;z-index:1000}.co-fab--top-left{position:fixed;top:24px;left:24px;z-index:1000}.co-fab__label{line-height:1}`;
3
+ const coFabCss = () => `:host{display:inline-flex;font-family:var(--co-font-family-primary);line-height:1}.co-fab{display:inline-flex;align-items:center;justify-content:center;gap:var(--co-spacing-sm2);border:none;border-radius:var(--co-border-radius-full);cursor:pointer;font-family:inherit;font-weight:500;white-space:nowrap;box-sizing:border-box;transition:background var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out);box-shadow:0 4px 12px rgba(31, 28, 27, 0.15)}.co-fab--xl{--co-fab-size:64px;width:64px;height:64px;font-size:var(--co-font-size-16)}.co-fab--l{--co-fab-size:56px;width:56px;height:56px;font-size:var(--co-font-size-16)}.co-fab--m{--co-fab-size:48px;width:48px;height:48px;font-size:var(--co-font-size-14)}.co-fab--s{--co-fab-size:40px;width:40px;height:40px;font-size:var(--co-font-size-14)}.co-fab--extended{width:auto;border-radius:var(--co-border-radius-lg)}.co-fab--extended.co-fab--xl{padding:0 var(--co-spacing-xl)}.co-fab--extended.co-fab--l{padding:0 var(--co-spacing-xl)}.co-fab--extended.co-fab--m{padding:0 var(--co-spacing-lg)}.co-fab--extended.co-fab--s{padding:0 var(--co-spacing-md)}.co-fab--hover-expand{justify-content:flex-start;overflow:hidden;transition:width var(--co-motion-duration-slow) var(--co-motion-ease-in-out), background var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-fab--hover-expand.co-fab--xl{padding:0 20px}.co-fab--hover-expand.co-fab--l{padding:0 16px}.co-fab--hover-expand.co-fab--m{padding:0 14px}.co-fab--hover-expand.co-fab--s{padding:0 11px}.co-fab--hover-expand:hover:not(:disabled),.co-fab--hover-expand:focus-visible{width:calc(var(--co-fab-size) + var(--co-spacing-sm2) + var(--co-fab-label-w, 0px));transition:width var(--co-motion-duration-slower) var(--co-motion-ease-spring), background var(--co-motion-duration-fast) var(--co-motion-ease-out), box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-fab--hover-expand co-icon{flex-shrink:0;transition:transform var(--co-motion-duration-slower) var(--co-motion-ease-spring)}.co-fab--hover-expand:hover:not(:disabled) co-icon,.co-fab--hover-expand:focus-visible co-icon{transform:rotate(90deg)}.co-fab--hover-expand .co-fab__label{flex-shrink:0;opacity:0;transform:translateX(-6px);transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-fab--hover-expand:hover:not(:disabled) .co-fab__label,.co-fab--hover-expand:focus-visible .co-fab__label{opacity:1;transform:translateX(0);transition:opacity var(--co-motion-duration-base) var(--co-motion-ease-out) 0.1s, transform var(--co-motion-duration-slow) var(--co-motion-ease-spring) 0.1s}@media (prefers-reduced-motion: reduce){.co-fab--hover-expand:hover:not(:disabled) .co-fab__label,.co-fab--hover-expand:focus-visible .co-fab__label{transition-delay:0s}}.co-fab--primary{background:var(--co-fab-bg, var(--co-color-base-negro, #1f1c1b));color:var(--co-semantic-on-primary)}.co-fab--primary:hover:not(:disabled){box-shadow:0 6px 20px rgba(31, 28, 27, 0.2);transform:translateY(-1px)}.co-fab--secondary{background:var(--co-semantic-surface-secondary);color:var(--co-semantic-text-default);border:1px solid var(--co-semantic-border-subtle)}.co-fab--secondary:hover:not(:disabled){background:var(--co-semantic-surface-hover)}.co-fab--stroke{background:transparent;color:var(--co-semantic-text-default);border:1px solid var(--co-semantic-border-default)}.co-fab--stroke:hover:not(:disabled){background:var(--co-semantic-surface-hover)}.co-fab:active:not(:disabled){transform:translateY(0) scale(0.96)}.co-fab--disabled{opacity:0.4;cursor:not-allowed;box-shadow:none}.co-fab--bottom-right{position:fixed;bottom:24px;right:24px;z-index:1000}.co-fab--bottom-left{position:fixed;bottom:24px;left:24px;z-index:1000}.co-fab--top-right{position:fixed;top:24px;right:24px;z-index:1000}.co-fab--top-left{position:fixed;top:24px;left:24px;z-index:1000}.co-fab__label{line-height:1}`;
4
4
 
5
5
  const CoFab = class {
6
6
  constructor(hostRef) {
@@ -33,7 +33,7 @@ const CoFab = class {
33
33
  const iconSize = this.size === 'xl' ? 24 : this.size === 'l' ? 24 : this.size === 's' ? 18 : 20;
34
34
  const hasLabel = !!this.label;
35
35
  const hoverExpand = hasLabel && this.expandOnHover;
36
- return (h("button", { key: 'e321a7455329a1401504cf93f1761a37d7d45eff', class: {
36
+ return (h("button", { key: '67d54b40024fa3851d0ea79960949861ecaeaf4c', class: {
37
37
  'co-fab': true,
38
38
  [`co-fab--${this.variant}`]: true,
39
39
  [`co-fab--${this.size}`]: true,
@@ -41,7 +41,7 @@ const CoFab = class {
41
41
  'co-fab--hover-expand': hoverExpand,
42
42
  'co-fab--disabled': this.disabled,
43
43
  [`co-fab--${this.position}`]: this.position !== 'none',
44
- }, type: "button", disabled: this.disabled, onClick: this.handleClick, onPointerEnter: this.handleExpandMeasure, onFocusin: this.handleExpandMeasure, "aria-label": this.ariaLabelText || this.label || this.icon }, h("co-icon", { key: '66a36ba9144cf10b7ad8b4bef6a821ef92257892', name: this.icon, size: iconSize }), this.label && (h("span", { key: 'c01018d61ca455a0d1952082b94ec0e5efd807b8', class: "co-fab__label", ref: (el) => (this.labelEl = el) }, this.label))));
44
+ }, type: "button", disabled: this.disabled, onClick: this.handleClick, onPointerEnter: this.handleExpandMeasure, onFocusin: this.handleExpandMeasure, "aria-label": this.ariaLabelText || this.label || this.icon }, h("co-icon", { key: 'e5e75805115a8b31530a56d8210dcdae66e28ab5', name: this.icon, size: iconSize }), this.label && (h("span", { key: '2e659c02f0056f848f5c0566069dd39f4cd48d2c', class: "co-fab__label", ref: (el) => (this.labelEl = el) }, this.label))));
45
45
  }
46
46
  get el() { return getElement(this); }
47
47
  };
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, a as getElement } from './index-BCEz3S-z.js';
2
- import { R as RequiredMark } from './requiredMark-D7kAMXHM.js';
1
+ import { r as registerInstance, c as createEvent, h, a as getElement } from './index-CrtiywTB.js';
2
+ import { R as RequiredMark } from './requiredMark-DCD-ZA51.js';
3
3
 
4
4
  /**
5
5
  * Built-in UI string dictionary for co-file-field.
@@ -126,7 +126,7 @@ function previewSrc(item) {
126
126
  return hasImageExtension(item) ? item.url || item.thumbnail : item.thumbnail || item.url;
127
127
  }
128
128
 
129
- const coFileFieldCss = () => `: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}.co-file-field{display:flex;flex-direction:column;gap:var(--co-spacing-sm2)}.co-file-field__labels{display:flex;align-items:center;justify-content:space-between;padding:0 var(--co-spacing-xs)}.co-file-field__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-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)')}.co-file-field__dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--co-spacing-md);padding:var(--co-spacing-4xl) var(--co-spacing-2xl);background:color-mix(in srgb, var(--co-semantic-surface-hover) 55%, transparent);-webkit-backdrop-filter:blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));backdrop-filter:blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));border:1px dashed var(--co-semantic-border-field);border-radius:var(--co-border-radius-sm);cursor:pointer;text-align:center;transition:border-color 0.15s ease, background 0.15s ease}.co-file-field__dropzone:hover{border-color:var(--co-semantic-border-focus)}.co-file-field__dropzone--drag{border-color:var(--co-semantic-border-focus);background:var(--co-semantic-surface-hover)}.co-file-field__upload-btn{display:inline-flex;align-items:center;gap:var(--co-spacing-sm2);padding:var(--co-spacing-md) var(--co-spacing-xl);margin-bottom:var(--co-spacing-xs);background:var(--co-semantic-surface-secondary);color:var(--co-semantic-text-default);border:none;border-radius:var(--co-border-radius-full);box-shadow:var(--co-shadow-lg);font-family:inherit;font-size:var(--co-font-size-16);font-weight:400;letter-spacing:var(--co-font-letter-spacing-body);line-height:1;cursor:pointer;transition:box-shadow 0.15s ease, transform 0.15s ease}.co-file-field__upload-btn:hover{box-shadow:var(--co-shadow-xl, var(--co-shadow-lg));transform:translateY(-1px)}.co-file-field__upload-btn co-icon{display:inline-flex;flex-shrink:0}.co-file-field__dropzone-text{color:var(--co-semantic-text-default);font-size:var(--co-font-size-18);line-height:1.25}.co-file-field__dropzone-hint{color:var(--co-semantic-text-secondary);font-size:var(--co-font-size-14);line-height:1.25}.co-file-field__actions{display:contents}.co-file-field__input{display:none}.co-file-field__uploaded{display:flex;flex-direction:column;gap:var(--co-spacing-lg);margin-top:var(--co-spacing-sm2)}.co-file-field__uploaded-title{color:var(--co-semantic-text-default);font-size:var(--co-font-size-22);font-weight:500;letter-spacing:-0.03em;line-height:1.25}.co-file-field__previews{display:grid;grid-template-columns:repeat(auto-fill, minmax(240px, 282px));gap:var(--co-spacing-md)}.co-file-field__preview{padding:0;border:none;border-radius:var(--co-border-radius-sm);overflow:hidden;aspect-ratio:3 / 2;background:var(--co-semantic-surface-hover);cursor:pointer}.co-file-field__preview img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 0.2s ease}.co-file-field__preview:hover img{transform:scale(1.02)}.co-file-field__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--co-spacing-sm2)}.co-file-field__row{display:flex;align-items:center;gap:var(--co-spacing-lg);padding:var(--co-spacing-xl);background:var(--co-semantic-surface-hover);border:1px solid transparent;border-radius:var(--co-border-radius-sm)}.co-file-field__row--error{border-color:var(--co-semantic-status-error)}.co-file-field__row--dragging{opacity:0.5}.co-file-field__row--drop-target{border-color:var(--co-semantic-border-focus);background:var(--co-semantic-surface-hover)}.co-file-field__drag-handle{flex-shrink:0;display:flex;align-items:center;color:var(--co-semantic-text-secondary);cursor:grab}.co-file-field__drag-handle:active{cursor:grabbing}.co-file-field__row-icon{flex-shrink:0;color:var(--co-semantic-text-secondary);display:flex;align-items:center}.co-file-field__row--error .co-file-field__row-icon{color:var(--co-semantic-status-error)}.co-file-field__row-icon--spin{animation:co-file-spin 0.8s linear infinite}@keyframes co-file-spin{to{transform:rotate(360deg)}}.co-file-field__row-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--co-spacing-xs)}.co-file-field__row-name{color:var(--co-semantic-text-default);font-size:var(--co-font-size-14);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.co-file-field__row-error{color:var(--co-semantic-status-error);font-size:var(--co-font-size-12)}.co-file-field__row-size{flex-shrink:0;color:var(--co-semantic-text-default);font-size:var(--co-font-size-14);line-height:1;white-space:nowrap}.co-file-field__progress{position:relative;height:4px;border-radius:var(--co-border-radius-full);background:var(--co-semantic-surface-hover);overflow:hidden}.co-file-field__progress-bar{position:absolute;inset:0;width:40%;border-radius:var(--co-border-radius-full);background:var(--co-semantic-status-info);transition:width 0.2s ease}.co-file-field__progress-bar:not([style]){animation:co-file-indeterminate 1.2s ease-in-out infinite}@keyframes co-file-indeterminate{0%{left:-40%}100%{left:100%}}.co-file-field__action{flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0;border:none;background:transparent;cursor:pointer;color:var(--co-semantic-text-secondary);transition:color 0.15s ease}.co-file-field__action:hover{color:var(--co-semantic-text-default)}.co-file-field__action--copied,.co-file-field__action--copied:hover{color:var(--co-color-primary-verde)}.co-file-field__helper{display:flex;align-items:center;gap:var(--co-spacing-xs);padding:0 var(--co-spacing-xs)}.co-file-field__helper-icon{flex-shrink:0;color:var(--co-semantic-text-muted);display:flex;align-items:center}.co-file-field__helper-text{color:var(--co-semantic-text-muted);font-size:var(--co-font-size-14);line-height:1}.co-file-field--disabled{opacity:0.6;pointer-events:none}.co-file-field--invalid .co-file-field__dropzone,.co-file-field--error .co-file-field__dropzone{border-color:var(--co-semantic-status-error)}.co-file-field__helper--error .co-file-field__helper-icon,.co-file-field__helper--error .co-file-field__helper-text{color:var(--co-semantic-status-error)}:host([layout='horizontal']) .co-file-field{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-file-field__labels{grid-column:1;grid-row:1;padding-top:var(--co-spacing-sm2);min-width:0}:host([layout='horizontal']) .co-file-field__label{white-space:normal}:host([layout='horizontal']) .co-file-field>:not(.co-file-field__labels){grid-column:2;min-width:0}@supports not (background: color-mix(in srgb, red, transparent)){.co-file-field__dropzone{background:var(--co-semantic-surface-hover)}}`;
129
+ const coFileFieldCss = () => `: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}.co-file-field{display:flex;flex-direction:column;gap:var(--co-spacing-sm2)}.co-file-field__labels{display:flex;align-items:center;justify-content:space-between;padding:0 var(--co-spacing-xs)}.co-file-field__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-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)')}.co-file-field__dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--co-spacing-md);padding:var(--co-spacing-4xl) var(--co-spacing-2xl);background:color-mix(in srgb, var(--co-semantic-surface-hover) 55%, transparent);-webkit-backdrop-filter:blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));backdrop-filter:blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));border:1px dashed var(--co-semantic-border-field);border-radius:var(--co-border-radius-sm);cursor:pointer;text-align:center;transition:border-color var(--co-motion-duration-fast) var(--co-motion-ease-out), background var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-file-field__dropzone:hover{border-color:var(--co-semantic-border-focus)}.co-file-field__dropzone--drag{border-color:var(--co-semantic-border-focus);background:var(--co-semantic-surface-hover)}.co-file-field__upload-btn{display:inline-flex;align-items:center;gap:var(--co-spacing-sm2);padding:var(--co-spacing-md) var(--co-spacing-xl);margin-bottom:var(--co-spacing-xs);background:var(--co-semantic-surface-secondary);color:var(--co-semantic-text-default);border:none;border-radius:var(--co-border-radius-full);box-shadow:var(--co-shadow-lg);font-family:inherit;font-size:var(--co-font-size-16);font-weight:400;letter-spacing:var(--co-font-letter-spacing-body);line-height:1;cursor:pointer;transition:box-shadow var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-file-field__upload-btn:hover{box-shadow:var(--co-shadow-xl, var(--co-shadow-lg));transform:translateY(-1px)}.co-file-field__upload-btn co-icon{display:inline-flex;flex-shrink:0}.co-file-field__dropzone-text{color:var(--co-semantic-text-default);font-size:var(--co-font-size-18);line-height:1.25}.co-file-field__dropzone-hint{color:var(--co-semantic-text-secondary);font-size:var(--co-font-size-14);line-height:1.25}.co-file-field__actions{display:contents}.co-file-field__input{display:none}.co-file-field__uploaded{display:flex;flex-direction:column;gap:var(--co-spacing-lg);margin-top:var(--co-spacing-sm2)}.co-file-field__uploaded-title{color:var(--co-semantic-text-default);font-size:var(--co-font-size-22);font-weight:500;letter-spacing:-0.03em;line-height:1.25}.co-file-field__previews{display:grid;grid-template-columns:repeat(auto-fill, minmax(240px, 282px));gap:var(--co-spacing-md)}.co-file-field__preview{padding:0;border:none;border-radius:var(--co-border-radius-sm);overflow:hidden;aspect-ratio:3 / 2;background:var(--co-semantic-surface-hover);cursor:pointer}.co-file-field__preview img{display:block;width:100%;height:100%;object-fit:cover;transition:transform var(--co-motion-duration-base) var(--co-motion-ease-out)}.co-file-field__preview:hover img{transform:scale(1.02)}.co-file-field__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--co-spacing-sm2)}.co-file-field__row{display:flex;align-items:center;gap:var(--co-spacing-lg);padding:var(--co-spacing-xl);background:var(--co-semantic-surface-hover);border:1px solid transparent;border-radius:var(--co-border-radius-sm)}.co-file-field__row--error{border-color:var(--co-semantic-status-error)}.co-file-field__row--dragging{opacity:0.5}.co-file-field__row--drop-target{border-color:var(--co-semantic-border-focus);background:var(--co-semantic-surface-hover)}.co-file-field__drag-handle{flex-shrink:0;display:flex;align-items:center;color:var(--co-semantic-text-secondary);cursor:grab}.co-file-field__drag-handle:active{cursor:grabbing}.co-file-field__row-icon{flex-shrink:0;color:var(--co-semantic-text-secondary);display:flex;align-items:center}.co-file-field__row--error .co-file-field__row-icon{color:var(--co-semantic-status-error)}.co-file-field__row-icon--spin{animation:co-file-spin 0.8s linear infinite}@keyframes co-file-spin{to{transform:rotate(360deg)}}.co-file-field__row-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--co-spacing-xs)}.co-file-field__row-name{color:var(--co-semantic-text-default);font-size:var(--co-font-size-14);line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.co-file-field__row-error{color:var(--co-semantic-status-error);font-size:var(--co-font-size-12)}.co-file-field__row-size{flex-shrink:0;color:var(--co-semantic-text-default);font-size:var(--co-font-size-14);line-height:1;white-space:nowrap}.co-file-field__progress{position:relative;height:4px;border-radius:var(--co-border-radius-full);background:var(--co-semantic-surface-hover);overflow:hidden}.co-file-field__progress-bar{position:absolute;inset:0;width:40%;border-radius:var(--co-border-radius-full);background:var(--co-semantic-status-info);transition:width var(--co-motion-duration-base) var(--co-motion-ease-out)}.co-file-field__progress-bar:not([style]){animation:co-file-indeterminate 1.2s ease-in-out infinite}@keyframes co-file-indeterminate{0%{left:-40%}100%{left:100%}}.co-file-field__action{flex-shrink:0;display:flex;align-items:center;justify-content:center;padding:0;border:none;background:transparent;cursor:pointer;color:var(--co-semantic-text-secondary);transition:color var(--co-motion-duration-fast) var(--co-motion-ease-out)}.co-file-field__action:hover{color:var(--co-semantic-text-default)}.co-file-field__action--copied,.co-file-field__action--copied:hover{color:var(--co-color-primary-verde)}.co-file-field__helper{display:flex;align-items:center;gap:var(--co-spacing-xs);padding:0 var(--co-spacing-xs)}.co-file-field__helper-icon{flex-shrink:0;color:var(--co-semantic-text-muted);display:flex;align-items:center}.co-file-field__helper-text{color:var(--co-semantic-text-muted);font-size:var(--co-font-size-14);line-height:1}.co-file-field--disabled{opacity:0.6;pointer-events:none}.co-file-field--invalid .co-file-field__dropzone,.co-file-field--error .co-file-field__dropzone{border-color:var(--co-semantic-status-error)}.co-file-field__helper--error .co-file-field__helper-icon,.co-file-field__helper--error .co-file-field__helper-text{color:var(--co-semantic-status-error)}:host([layout='horizontal']) .co-file-field{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-file-field__labels{grid-column:1;grid-row:1;padding-top:var(--co-spacing-sm2);min-width:0}:host([layout='horizontal']) .co-file-field__label{white-space:normal}:host([layout='horizontal']) .co-file-field>:not(.co-file-field__labels){grid-column:2;min-width:0}@supports not (background: color-mix(in srgb, red, transparent)){.co-file-field__dropzone{background:var(--co-semantic-surface-hover)}}`;
130
130
 
131
131
  const CoFileField = class {
132
132
  constructor(hostRef) {
@@ -450,12 +450,12 @@ const CoFileField = class {
450
450
  const previews = items.filter((it) => isImage(it) && !this.failedPreviews.has(this.keyFor(it)));
451
451
  const canReorder = this.reorderable && this.multiple && !this.disabled && !this.readonly && items.length > 1;
452
452
  const capacity = this.capacityHint(s);
453
- return (h("div", { key: '6f0c0d55291904a925ddf87b444279443b123414', class: {
453
+ return (h("div", { key: '11e79bc9c1b3b56c10c0558b0d504821db7e8cd6', class: {
454
454
  'co-file-field': true,
455
455
  'co-file-field--disabled': this.disabled,
456
456
  'co-file-field--invalid': this.isInvalid,
457
457
  [statusClass]: !!statusClass,
458
- }, part: "wrapper" }, this.label && (h("div", { key: 'e3d624d4b904358132fcbdcf68c283a6fb1bcabb', class: "co-file-field__labels" }, h("label", { key: 'd96a9d10db3c9eaae4bf5e4d1bc3986f3f111c3c', class: "co-file-field__label", part: "label" }, this.label, h(RequiredMark, { key: '6810c17061391ead3343daf9cd06d71d3b03706c', required: this.required })))), showDropzone && (h("div", { key: 'b910dfaa918f1c6d04d4d817a67100b74b6f156f', class: {
458
+ }, part: "wrapper" }, this.label && (h("div", { key: '9e3f1d834e5a1b70411747568d7a1055b3e0d8f1', class: "co-file-field__labels" }, h("label", { key: '1c138fbe71432df15c970b00f910e0ddcc69a333', class: "co-file-field__label", part: "label" }, this.label, h(RequiredMark, { key: '34b7d0fe683a911fc10352f0d7c79cb01c559999', required: this.required })))), showDropzone && (h("div", { key: '9d046b734982edfd7d9743e9dab5b95593e15383', class: {
459
459
  'co-file-field__dropzone': true,
460
460
  'co-file-field__dropzone--drag': this.dragOver,
461
461
  }, part: "dropzone", role: "button", tabIndex: this.disabled ? -1 : 0, onClick: this.handleBrowse, onKeyDown: (e) => {
@@ -463,7 +463,7 @@ const CoFileField = class {
463
463
  e.preventDefault();
464
464
  this.handleBrowse();
465
465
  }
466
- }, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, h("button", { key: 'a2a02be018cc925718943411aa28da509a2a2a96', class: "co-file-field__upload-btn", part: "upload-button", type: "button", tabIndex: -1 }, h("co-icon", { key: 'bb1879d1397ae93c5da975cbdbe6b7c1c907c490', name: "file-arrow-up", size: 18 }), h("span", { key: 'e4ad56d293a8bfcc082b7b6579dfefd9a02846bc' }, this.uploadButtonText || s.uploadButton)), h("span", { key: 'e9c32bdcd65a3138b08b38e52aa909c82b8d2047', class: "co-file-field__dropzone-text" }, this.dropText || s.dropHint), capacity && h("span", { key: '417fa71efaf202fc7a1483e02bca170d35d4bf9f', class: "co-file-field__dropzone-hint" }, capacity), h("div", { key: '3697aa6c3ccc065ea9bf999f931bd8efb46ea26f', class: "co-file-field__actions", part: "actions" }, h("slot", { key: 'b6cfb211a32883ca0a37a775a8442f1d7a60b1d2', name: "actions" })), h("input", { key: '2c8a8a4c7a5ec3b633d78f3d2194d5457a3c1be3', ref: (el) => (this.inputEl = el), class: "co-file-field__input", type: "file", multiple: this.multiple, accept: this.inputAccept, disabled: this.disabled, onChange: this.handleInputChange, "aria-hidden": "true", tabIndex: -1 }))), items.length > 0 && (h("div", { key: '793833955268b59bb86366b578558b0a25af3faf', class: "co-file-field__uploaded" }, this.multiple && (h("div", { key: 'd4141eed0257861c6640d0c91e4599278591619b', class: "co-file-field__uploaded-title", part: "uploaded-title" }, `${this.uploadedTitle || s.uploadedTitle} (${items.length})`)), previews.length > 0 && (h("div", { key: '22e632b0c0050bab853d481366ae970db13935cf', class: "co-file-field__previews", part: "previews" }, previews.map((item) => (h("button", { class: "co-file-field__preview", part: "preview", type: "button", key: `prev-${this.keyFor(item)}`, title: item.name, "aria-label": s.openPreview, onClick: () => this.handlePreviewOpen(item) }, h("img", { src: item.thumbnail || item.url, alt: item.name, loading: "lazy", onError: () => this.handlePreviewError(item) })))))), h("ul", { key: 'f4ae0f81158f1d69ca0dbde29a2358c13f7dce20', class: "co-file-field__list", part: "list" }, items.map((item) => {
466
+ }, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, h("button", { key: '9af47292af70f8da16062a0bbac21ea520a52a39', class: "co-file-field__upload-btn", part: "upload-button", type: "button", tabIndex: -1 }, h("co-icon", { key: '68f3467892671d62648ccf2d1302cd579cd6601c', name: "file-arrow-up", size: 18 }), h("span", { key: 'a167aa0aef4f1e209660f251dd945ac41576b39f' }, this.uploadButtonText || s.uploadButton)), h("span", { key: 'b1bcfb1eabab417cd46920ccc43f624e52d1470c', class: "co-file-field__dropzone-text" }, this.dropText || s.dropHint), capacity && h("span", { key: '44a29cb6fcd9ea9a65de12794d1313c0ef9da7b9', class: "co-file-field__dropzone-hint" }, capacity), h("div", { key: '4d4f68f6684b976ec1610ebd45bc59ece67a13a9', class: "co-file-field__actions", part: "actions" }, h("slot", { key: '000fe510d61916cb016a9a2d9968426c0edabe62', name: "actions" })), h("input", { key: '16169cf42cc8072d63c36bb3a25f9c5d540e48c3', ref: (el) => (this.inputEl = el), class: "co-file-field__input", type: "file", multiple: this.multiple, accept: this.inputAccept, disabled: this.disabled, onChange: this.handleInputChange, "aria-hidden": "true", tabIndex: -1 }))), items.length > 0 && (h("div", { key: '23dae3bd944ad6cbd7e0d10898832aa1367956a5', class: "co-file-field__uploaded" }, this.multiple && (h("div", { key: 'ca0c17ecc64a68594758c626d41bd14ad6a19633', class: "co-file-field__uploaded-title", part: "uploaded-title" }, `${this.uploadedTitle || s.uploadedTitle} (${items.length})`)), previews.length > 0 && (h("div", { key: '343ca190a8ebb4a2589b90d6b9718e91f7d23bf1', class: "co-file-field__previews", part: "previews" }, previews.map((item) => (h("button", { class: "co-file-field__preview", part: "preview", type: "button", key: `prev-${this.keyFor(item)}`, title: item.name, "aria-label": s.openPreview, onClick: () => this.handlePreviewOpen(item) }, h("img", { src: item.thumbnail || item.url, alt: item.name, loading: "lazy", onError: () => this.handlePreviewError(item) })))))), h("ul", { key: '9b911d176a0ac02b6f76c084c8b7f33c2c8637aa', class: "co-file-field__list", part: "list" }, items.map((item) => {
467
467
  const key = this.keyFor(item);
468
468
  const draggable = canReorder && item.status === 'done';
469
469
  return (h("li", { class: {
@@ -484,10 +484,10 @@ const CoFileField = class {
484
484
  'co-file-field__action': true,
485
485
  'co-file-field__action--copied': this.copiedKey === key,
486
486
  }, type: "button", tabIndex: -1, title: this.copiedKey === key ? s.copied : s.copyUrl, "aria-label": s.copyUrl, onClick: () => this.handleCopy(item) }, h("co-icon", { name: this.copiedKey === key ? 'check' : 'copy', size: 18 }))), !this.disabled && !this.readonly && (h("button", { class: "co-file-field__action", type: "button", tabIndex: -1, title: s.removeFile, "aria-label": s.removeFile, onClick: () => this.coRemove.emit(key) }, h("co-icon", { name: "trash", size: 18 })))));
487
- })))), helper && (h("div", { key: '3c08efc8106a55cb9b52cca4b85a460b03284fbb', class: {
487
+ })))), helper && (h("div", { key: 'c2edda6419a9f6e75f7c16fac61ce3271159d816', class: {
488
488
  'co-file-field__helper': true,
489
489
  'co-file-field__helper--error': this.isInvalid,
490
- }, part: "helper" }, this.isInvalid && (h("co-icon", { key: '3e011f947147f1af67cd21222e26cd2ac3860c4a', name: "warning-circle", size: 14, class: "co-file-field__helper-icon" })), h("span", { key: '788a4a68794a0474289798cb5c48f75403d06bac', class: "co-file-field__helper-text" }, helper)))));
490
+ }, part: "helper" }, this.isInvalid && (h("co-icon", { key: '0772a3d9fdf8fc818b0738ce4c7f0297c6eb4984', name: "warning-circle", size: 14, class: "co-file-field__helper-icon" })), h("span", { key: '6153f585fdd804fb49b09e1d106c6625e473b917', class: "co-file-field__helper-text" }, helper)))));
491
491
  }
492
492
  get el() { return getElement(this); }
493
493
  };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-BCEz3S-z.js';
1
+ import { r as registerInstance, h } from './index-CrtiywTB.js';
2
2
 
3
3
  const coFileTypeTileCss = () => `:host{display:inline-flex}.co-file-type-tile{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;box-sizing:border-box}`;
4
4
 
@@ -58,7 +58,7 @@ const CoFileTypeTile = class {
58
58
  const iconSize = Math.round(this.size * 0.5);
59
59
  const background = this.colorTags ? meta.tint : 'var(--co-color-gray-100)';
60
60
  const color = this.colorTags ? meta.accent : 'var(--co-color-gray-600)';
61
- return (h("span", { key: 'dbb3fd6c1a09210ee166cbe08e10f0d96cbdfedf', class: {
61
+ return (h("span", { key: '174e628c4a7fdd118cd5573c0054677c7c006989', class: {
62
62
  'co-file-type-tile': true,
63
63
  [`co-file-type-tile--${type}`]: true,
64
64
  'co-file-type-tile--mono': !this.colorTags,
@@ -68,7 +68,7 @@ const CoFileTypeTile = class {
68
68
  borderRadius: `${this.radius}px`,
69
69
  background,
70
70
  color,
71
- } }, h("co-icon", { key: '787435edb87ccc8cd435e187613566779a90722a', name: meta.icon, size: iconSize, weight: "fill" })));
71
+ } }, h("co-icon", { key: '815957f4dd756fec566b4bbc996083e80aed0ab5', name: meta.icon, size: iconSize, weight: "fill" })));
72
72
  }
73
73
  };
74
74
  CoFileTypeTile.style = coFileTypeTileCss();
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-BCEz3S-z.js';
1
+ import { r as registerInstance, h } from './index-CrtiywTB.js';
2
2
 
3
3
  const coHelperTextCss = () => `:host{display:block}.co-helper-text{display:flex;align-items:center;gap:var(--co-spacing-xs);font-family:var(--co-font-family-primary);font-size:var(--co-font-size-12);line-height:1.4}.co-helper-text__icon{flex-shrink:0}.co-helper-text--default{color:var(--co-semantic-text-muted)}.co-helper-text--error{color:var(--co-semantic-status-error)}.co-helper-text--success{color:var(--co-semantic-status-success)}.co-helper-text--warning{color:var(--co-semantic-status-warning)}.co-helper-text--info{color:var(--co-semantic-status-info)}`;
4
4
 
@@ -16,10 +16,10 @@ const CoHelperText = class {
16
16
  };
17
17
  }
18
18
  render() {
19
- return (h("div", { key: 'eebe2fd2d26c909c1523e10d2fa7dfb115cc8bd6', class: {
19
+ return (h("div", { key: 'c09b28c4e20a80ce87275beb8c8f38c4ec9a6ac3', class: {
20
20
  'co-helper-text': true,
21
21
  [`co-helper-text--${this.status}`]: true,
22
- }, part: "helper-text" }, h("co-icon", { key: 'b70b0c859fb54e8ca45e5f236620930e1120bb2b', name: this.STATUS_ICON[this.status], size: 14, weight: "fill", class: "co-helper-text__icon" }), h("span", { key: 'fa646c0828b21706fabe21b3d20b3c38536308d5', class: "co-helper-text__message" }, h("slot", { key: '9527e9abb17fff628bdc2d5ca729d201ac7915ef' }, this.message))));
22
+ }, part: "helper-text" }, h("co-icon", { key: '48bee19674872e9ed7b06a9f0706063111abc3ae', name: this.STATUS_ICON[this.status], size: 14, weight: "fill", class: "co-helper-text__icon" }), h("span", { key: '9b1e0cd4c00ad73c915f826df299cbb05156ca02', class: "co-helper-text__message" }, h("slot", { key: '41c95d86b31bb19be88b619057aba484748f1dfc' }, this.message))));
23
23
  }
24
24
  };
25
25
  CoHelperText.style = coHelperTextCss();
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h } from './index-BCEz3S-z.js';
1
+ import { r as registerInstance, h } from './index-CrtiywTB.js';
2
2
 
3
- const coIconButtonCss = () => `:host{display:inline-flex}.co-icon-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid transparent;outline:none;padding:0;flex-shrink:0;transition:opacity 0.15s ease, background 0.15s ease;box-sizing:border-box;-webkit-font-smoothing:antialiased;-webkit-backdrop-filter:var(--co-icon-button-backdrop-filter, blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate)));backdrop-filter:var(--co-icon-button-backdrop-filter, blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate)))}.co-icon-button--filled{background:color-mix(in srgb, var(--co-semantic-surface-primary) 78%, transparent);color:var(--co-semantic-on-primary);border-color:color-mix(in srgb, var(--co-semantic-on-primary) 28%, transparent)}.co-icon-button--outlined{background:color-mix(in srgb, var(--co-icon-button-bg, var(--co-semantic-surface-secondary)) 55%, transparent);color:var(--co-icon-button-color, var(--co-semantic-on-secondary));border:1px solid var(--co-icon-button-border, var(--co-semantic-border-subtle))}.co-icon-button--ghost{background:transparent;color:var(--co-icon-button-color, var(--co-semantic-text-default));border:none;-webkit-backdrop-filter:none;backdrop-filter:none}.co-icon-button--ghost:hover:not(:disabled){background:var(--co-color-opacity-negro-8, rgba(31, 28, 27, 0.08))}.co-icon-button--dark{color:var(--co-icon-button-color, var(--co-color-base-blanco, #fff))}.co-icon-button--dark.co-icon-button--ghost:hover:not(:disabled){background:var(--co-color-opacity-blanco-16, rgba(255, 255, 255, 0.16))}.co-icon-button--rounded.co-icon-button--xl{width:80px;height:80px;border-radius:var(--co-border-radius-full)}.co-icon-button--rounded.co-icon-button--lg{width:64px;height:64px;border-radius:var(--co-border-radius-full)}.co-icon-button--rounded.co-icon-button--md{width:56px;height:56px;border-radius:var(--co-border-radius-full)}.co-icon-button--rounded.co-icon-button--sm{width:48px;height:48px;border-radius:var(--co-border-radius-full)}.co-icon-button--rounded.co-icon-button--xs{width:32px;height:32px;border-radius:var(--co-border-radius-full)}.co-icon-button--rounded.co-icon-button--xxs{width:24px;height:24px;border-radius:var(--co-border-radius-full)}.co-icon-button--square.co-icon-button--xl{width:80px;height:80px;border-radius:var(--co-border-radius-xl);}.co-icon-button--square.co-icon-button--lg{width:64px;height:64px;border-radius:var(--co-border-radius-lg);}.co-icon-button--square.co-icon-button--md{width:56px;height:56px;border-radius:var(--co-border-radius-lg);}.co-icon-button--square.co-icon-button--sm{width:48px;height:48px;border-radius:var(--co-border-radius-sm);}.co-icon-button--square.co-icon-button--xs{width:32px;height:32px;border-radius:var(--co-border-radius-xs);}.co-icon-button--square.co-icon-button--xxs{width:24px;height:24px;border-radius:var(--co-spacing-sm);}.co-icon-button--xl ::slotted(*){width:32px;height:32px}.co-icon-button--lg ::slotted(*){width:24px;height:24px}.co-icon-button--md ::slotted(*){width:20px;height:20px}.co-icon-button--sm ::slotted(*){width:18px;height:18px}.co-icon-button--xs ::slotted(*){width:16px;height:16px}.co-icon-button--xxs ::slotted(*){width:12px;height:12px}.co-icon-button--disabled,.co-icon-button:disabled{opacity:0.4;cursor:not-allowed;pointer-events:none}.co-icon-button:hover:not(:disabled){opacity:0.88}@supports not (background: color-mix(in srgb, red, transparent)){.co-icon-button--filled{background:var(--co-semantic-surface-primary)}.co-icon-button--outlined{background:var(--co-icon-button-bg, var(--co-semantic-surface-secondary))}}`;
3
+ const coIconButtonCss = () => `:host{display:inline-flex}.co-icon-button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid transparent;outline:none;padding:0;flex-shrink:0;transition:opacity var(--co-motion-duration-fast) var(--co-motion-ease-out), background var(--co-motion-duration-fast) var(--co-motion-ease-out), transform var(--co-motion-duration-fast) var(--co-motion-ease-out);box-sizing:border-box;-webkit-font-smoothing:antialiased;-webkit-backdrop-filter:var(--co-icon-button-backdrop-filter, blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate)));backdrop-filter:var(--co-icon-button-backdrop-filter, blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate)))}.co-icon-button--filled{background:color-mix(in srgb, var(--co-semantic-surface-primary) 78%, transparent);color:var(--co-semantic-on-primary);border-color:color-mix(in srgb, var(--co-semantic-on-primary) 28%, transparent)}.co-icon-button--outlined{background:color-mix(in srgb, var(--co-icon-button-bg, var(--co-semantic-surface-secondary)) 55%, transparent);color:var(--co-icon-button-color, var(--co-semantic-on-secondary));border:1px solid var(--co-icon-button-border, var(--co-semantic-border-subtle))}.co-icon-button--ghost{background:transparent;color:var(--co-icon-button-color, var(--co-semantic-text-default));border:none;-webkit-backdrop-filter:none;backdrop-filter:none}.co-icon-button--ghost:hover:not(:disabled){background:var(--co-color-opacity-negro-8, rgba(31, 28, 27, 0.08))}.co-icon-button--dark{color:var(--co-icon-button-color, var(--co-color-base-blanco, #fff))}.co-icon-button--dark.co-icon-button--ghost:hover:not(:disabled){background:var(--co-color-opacity-blanco-16, rgba(255, 255, 255, 0.16))}.co-icon-button--rounded.co-icon-button--xl{width:80px;height:80px;border-radius:var(--co-border-radius-full)}.co-icon-button--rounded.co-icon-button--lg{width:64px;height:64px;border-radius:var(--co-border-radius-full)}.co-icon-button--rounded.co-icon-button--md{width:56px;height:56px;border-radius:var(--co-border-radius-full)}.co-icon-button--rounded.co-icon-button--sm{width:48px;height:48px;border-radius:var(--co-border-radius-full)}.co-icon-button--rounded.co-icon-button--xs{width:32px;height:32px;border-radius:var(--co-border-radius-full)}.co-icon-button--rounded.co-icon-button--xxs{width:24px;height:24px;border-radius:var(--co-border-radius-full)}.co-icon-button--square.co-icon-button--xl{width:80px;height:80px;border-radius:var(--co-border-radius-xl);}.co-icon-button--square.co-icon-button--lg{width:64px;height:64px;border-radius:var(--co-border-radius-lg);}.co-icon-button--square.co-icon-button--md{width:56px;height:56px;border-radius:var(--co-border-radius-lg);}.co-icon-button--square.co-icon-button--sm{width:48px;height:48px;border-radius:var(--co-border-radius-sm);}.co-icon-button--square.co-icon-button--xs{width:32px;height:32px;border-radius:var(--co-border-radius-xs);}.co-icon-button--square.co-icon-button--xxs{width:24px;height:24px;border-radius:var(--co-spacing-sm);}.co-icon-button--xl ::slotted(*){width:32px;height:32px}.co-icon-button--lg ::slotted(*){width:24px;height:24px}.co-icon-button--md ::slotted(*){width:20px;height:20px}.co-icon-button--sm ::slotted(*){width:18px;height:18px}.co-icon-button--xs ::slotted(*){width:16px;height:16px}.co-icon-button--xxs ::slotted(*){width:12px;height:12px}.co-icon-button--disabled,.co-icon-button:disabled{opacity:0.4;cursor:not-allowed;pointer-events:none}.co-icon-button:hover:not(:disabled){opacity:0.88}.co-icon-button:active:not(:disabled){transform:scale(0.97);transition-duration:var(--co-motion-duration-instant)}@supports not (background: color-mix(in srgb, red, transparent)){.co-icon-button--filled{background:var(--co-semantic-surface-primary)}.co-icon-button--outlined{background:var(--co-icon-button-bg, var(--co-semantic-surface-secondary))}}`;
4
4
 
5
5
  const CoIconButton = class {
6
6
  constructor(hostRef) {
@@ -45,7 +45,7 @@ const CoIconButton = class {
45
45
  : 'var(--co-border-radius-full)',
46
46
  }
47
47
  : undefined;
48
- return (h("button", { key: '5349ec99f898a9cc19df7a53fc01b3acb37f31f6', class: {
48
+ return (h("button", { key: '430b2aa64f664a6bd7cb40da53f592606c4b5308', class: {
49
49
  'co-icon-button': true,
50
50
  [`co-icon-button--${this.variant}`]: true,
51
51
  [`co-icon-button--${this.shape}`]: true,