@prolibu-suite/cobalt-core 0.4.0 → 0.6.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 (523) hide show
  1. package/README.md +3 -3
  2. package/custom-elements.json +370 -154
  3. package/dist/cjs/co-accordion.cjs.entry.js +4 -4
  4. package/dist/cjs/co-app-shell.cjs.entry.js +3 -3
  5. package/dist/cjs/co-autocomplete.cjs.entry.js +38 -73
  6. package/dist/cjs/co-avatar-group.cjs.entry.js +3 -3
  7. package/dist/cjs/co-avatar.cjs.entry.js +2 -2
  8. package/dist/cjs/co-badge.cjs.entry.js +2 -2
  9. package/dist/cjs/co-bottom-sheet.cjs.entry.js +4 -4
  10. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +3 -3
  11. package/dist/cjs/co-breadcrumb.cjs.entry.js +2 -2
  12. package/dist/cjs/co-button-group.cjs.entry.js +3 -3
  13. package/dist/cjs/co-button.cjs.entry.js +4 -4
  14. package/dist/cjs/co-calendar-month.cjs.entry.js +2 -2
  15. package/dist/cjs/co-calendar_3.cjs.entry.js +19 -14
  16. package/dist/cjs/co-card.cjs.entry.js +3 -3
  17. package/dist/cjs/co-checkbox-group.cjs.entry.js +4 -4
  18. package/dist/cjs/co-checkbox.cjs.entry.js +4 -4
  19. package/dist/cjs/co-chip_2.cjs.entry.js +485 -0
  20. package/dist/cjs/co-color-picker.cjs.entry.js +4 -4
  21. package/dist/cjs/co-column-picker.cjs.entry.js +3 -3
  22. package/dist/cjs/co-combobox.cjs.entry.js +51 -82
  23. package/dist/cjs/co-command-search.cjs.entry.js +20 -59
  24. package/dist/cjs/co-data-table-pagination.cjs.entry.js +5 -5
  25. package/dist/cjs/co-data-table.cjs.entry.js +54 -5
  26. package/dist/cjs/co-date-picker.cjs.entry.js +2 -2
  27. package/dist/cjs/co-date-range-picker.cjs.entry.js +3 -3
  28. package/dist/cjs/co-date-range.cjs.entry.js +2 -2
  29. package/dist/cjs/co-drive-card.cjs.entry.js +2 -2
  30. package/dist/cjs/co-drop-zone.cjs.entry.js +2 -2
  31. package/dist/cjs/co-empty-state.cjs.entry.js +4 -4
  32. package/dist/cjs/co-event-calendar.cjs.entry.js +3 -3
  33. package/dist/cjs/co-fab.cjs.entry.js +5 -5
  34. package/dist/cjs/co-file-field.cjs.entry.js +7 -7
  35. package/dist/cjs/co-file-type-tile.cjs.entry.js +3 -3
  36. package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
  37. package/dist/cjs/co-icon-button.cjs.entry.js +2 -2
  38. package/dist/cjs/co-icon.cjs.entry.js +3 -3
  39. package/dist/cjs/co-input.cjs.entry.js +19 -3
  40. package/dist/cjs/co-json-field.cjs.entry.js +5 -5
  41. package/dist/cjs/co-lightbox.cjs.entry.js +6 -6
  42. package/dist/cjs/co-list-footer.cjs.entry.js +2 -2
  43. package/dist/cjs/co-list-item.cjs.entry.js +5 -5
  44. package/dist/cjs/co-loader.cjs.entry.js +1 -1
  45. package/dist/cjs/co-media-thumb.cjs.entry.js +3 -3
  46. package/dist/cjs/co-menu-divider.cjs.entry.js +2 -2
  47. package/dist/cjs/co-menu-item.cjs.entry.js +2 -2
  48. package/dist/cjs/co-menu.cjs.entry.js +2 -2
  49. package/dist/cjs/co-modal.cjs.entry.js +3 -3
  50. package/dist/cjs/co-navbar.cjs.entry.js +3 -3
  51. package/dist/cjs/co-number-field.cjs.entry.js +5 -5
  52. package/dist/cjs/co-overlay.cjs.entry.js +2 -2
  53. package/dist/cjs/co-page-header.cjs.entry.js +2 -2
  54. package/dist/cjs/co-phone-field.cjs.entry.js +4 -4
  55. package/dist/cjs/co-popover.cjs.entry.js +12 -3
  56. package/dist/cjs/co-progress-bar.cjs.entry.js +4 -4
  57. package/dist/cjs/co-progress-circle.cjs.entry.js +3 -3
  58. package/dist/cjs/co-radio-group.cjs.entry.js +4 -4
  59. package/dist/cjs/co-radio.cjs.entry.js +4 -4
  60. package/dist/cjs/co-rating.cjs.entry.js +4 -4
  61. package/dist/cjs/co-ref-field.cjs.entry.js +31 -135
  62. package/dist/cjs/co-rich-text-editor.cjs.entry.js +4 -4
  63. package/dist/cjs/co-rich-text-toolbar.cjs.entry.js +1 -1
  64. package/dist/cjs/co-rich-text-viewer.cjs.entry.js +1 -1
  65. package/dist/cjs/co-row.cjs.entry.js +3 -3
  66. package/dist/cjs/co-segmented-bar.cjs.entry.js +3 -3
  67. package/dist/cjs/co-select.cjs.entry.js +7 -7
  68. package/dist/cjs/co-separator.cjs.entry.js +2 -2
  69. package/dist/cjs/co-sidebar-nav.cjs.entry.js +10 -8
  70. package/dist/cjs/co-sidebar.cjs.entry.js +3 -3
  71. package/dist/cjs/co-skeleton.cjs.entry.js +2 -2
  72. package/dist/cjs/co-slider.cjs.entry.js +3 -3
  73. package/dist/cjs/co-switch.cjs.entry.js +6 -6
  74. package/dist/cjs/co-tab-group.cjs.entry.js +10 -4
  75. package/dist/cjs/co-tab.cjs.entry.js +5 -5
  76. package/dist/cjs/co-tags-field.cjs.entry.js +8 -8
  77. package/dist/cjs/co-textarea.cjs.entry.js +6 -6
  78. package/dist/cjs/co-toast.cjs.entry.js +3 -3
  79. package/dist/cjs/co-toggle-button-group.cjs.entry.js +3 -3
  80. package/dist/cjs/co-toggle-button.cjs.entry.js +3 -3
  81. package/dist/cjs/co-tooltip.cjs.entry.js +3 -3
  82. package/dist/cjs/co-transfer-list.cjs.entry.js +3 -3
  83. package/dist/cjs/co-video.cjs.entry.js +4 -4
  84. package/dist/cjs/cobalt.cjs.js +2 -2
  85. package/dist/cjs/{fieldChip-DtYUP0VZ.js → fieldChip-D8YJCyQF.js} +1 -1
  86. package/dist/cjs/{index-NNvye1ul.js → index-DxEFsH_t.js} +9 -13
  87. package/dist/cjs/loader.cjs.js +2 -2
  88. package/dist/cjs/{requiredMark-DyjZzUCd.js → requiredMark-B3pKyqYI.js} +1 -1
  89. package/dist/cobalt/cobalt.css +1 -1
  90. package/dist/cobalt/cobalt.esm.js +1 -1
  91. package/dist/cobalt/{p-69289e82.entry.js → p-002e5beb.entry.js} +1 -1
  92. package/dist/cobalt/{p-c23a2ff6.entry.js → p-02c5a9a9.entry.js} +1 -1
  93. package/dist/cobalt/{p-9310739f.entry.js → p-075eed3d.entry.js} +1 -1
  94. package/dist/cobalt/p-0c0621a7.entry.js +1 -0
  95. package/dist/cobalt/{p-20c68308.entry.js → p-0d6a562d.entry.js} +1 -1
  96. package/dist/cobalt/p-0d7536a8.entry.js +1 -0
  97. package/dist/cobalt/{p-f72f0e38.entry.js → p-13fc9c8a.entry.js} +1 -1
  98. package/dist/cobalt/{p-39a29bbb.entry.js → p-14d4c5c7.entry.js} +1 -1
  99. package/dist/cobalt/{p-96baec0e.entry.js → p-1681ce1d.entry.js} +1 -1
  100. package/dist/cobalt/{p-593fd213.entry.js → p-1726ce07.entry.js} +1 -1
  101. package/dist/cobalt/{p-7d9f2021.entry.js → p-20ba59a2.entry.js} +1 -1
  102. package/dist/cobalt/{p-35c63fdc.entry.js → p-2d1cbd7f.entry.js} +1 -1
  103. package/dist/cobalt/{p-7040e4c5.entry.js → p-373cd08e.entry.js} +1 -1
  104. package/dist/cobalt/{p-4aeefe3f.entry.js → p-3f06d373.entry.js} +1 -1
  105. package/dist/cobalt/{p-8fdf2163.entry.js → p-3f68fd2e.entry.js} +1 -1
  106. package/dist/cobalt/{p-ca108c6d.entry.js → p-47a2dd67.entry.js} +1 -1
  107. package/dist/cobalt/{p-328f0470.entry.js → p-495c9b99.entry.js} +1 -1
  108. package/dist/cobalt/p-4a075257.entry.js +1 -0
  109. package/dist/cobalt/{p-aa1ad9fa.entry.js → p-5647ca9d.entry.js} +1 -1
  110. package/dist/cobalt/{p-3d07e4a9.entry.js → p-5b31d45b.entry.js} +1 -1
  111. package/dist/cobalt/p-5c3101b5.entry.js +1 -0
  112. package/dist/cobalt/{p-0e1afdea.entry.js → p-5c43d30e.entry.js} +1 -1
  113. package/dist/cobalt/{p-c85a6a9e.entry.js → p-5e9a9caf.entry.js} +1 -1
  114. package/dist/cobalt/{p-b4dcc260.entry.js → p-5edd0d3f.entry.js} +1 -1
  115. package/dist/cobalt/{p-d7c9cf93.entry.js → p-627d2d1a.entry.js} +1 -1
  116. package/dist/cobalt/{p-e8e752f9.entry.js → p-6911a034.entry.js} +1 -1
  117. package/dist/cobalt/{p-1388eac6.entry.js → p-6ad1625a.entry.js} +1 -1
  118. package/dist/cobalt/{p-c682453a.entry.js → p-70f70e02.entry.js} +1 -1
  119. package/dist/cobalt/p-73b30ebb.entry.js +1 -0
  120. package/dist/cobalt/p-75dcaeb0.entry.js +1 -0
  121. package/dist/cobalt/p-771bc8fe.entry.js +1 -0
  122. package/dist/cobalt/p-7780ddb5.entry.js +1 -0
  123. package/dist/cobalt/{p-e55fb916.entry.js → p-77d01b39.entry.js} +1 -1
  124. package/dist/cobalt/p-7FZXeBK4.js +1 -0
  125. package/dist/cobalt/{p-860a685f.entry.js → p-809015dd.entry.js} +1 -1
  126. package/dist/cobalt/{p-d403d9c4.entry.js → p-8128e84a.entry.js} +1 -1
  127. package/dist/cobalt/p-81cfd951.entry.js +1 -0
  128. package/dist/cobalt/{p-dd03c00b.entry.js → p-85eed52c.entry.js} +1 -1
  129. package/dist/cobalt/p-86d4e016.entry.js +1 -0
  130. package/dist/cobalt/{p-3dd6b57b.entry.js → p-86e60cfa.entry.js} +1 -1
  131. package/dist/cobalt/p-8a9ed2da.entry.js +1 -0
  132. package/dist/cobalt/{p-fb86cdb9.entry.js → p-8dfb6886.entry.js} +1 -1
  133. package/dist/cobalt/{p-d4086c34.entry.js → p-8e823c15.entry.js} +1 -1
  134. package/dist/cobalt/p-8f194753.entry.js +1 -0
  135. package/dist/cobalt/{p-08519a7c.entry.js → p-9a587867.entry.js} +1 -1
  136. package/dist/cobalt/{p-376c43b8.entry.js → p-9c6ca902.entry.js} +1 -1
  137. package/dist/cobalt/{p-bae82095.entry.js → p-9c873a6a.entry.js} +1 -1
  138. package/dist/cobalt/{p-BxzuCRMr.js → p-BAA4ln31.js} +1 -1
  139. package/dist/cobalt/{p-b8200f7f.entry.js → p-a6900010.entry.js} +1 -1
  140. package/dist/cobalt/p-a9afbaa6.entry.js +1 -0
  141. package/dist/cobalt/{p-2d4e1ca8.entry.js → p-aa20ffca.entry.js} +1 -1
  142. package/dist/cobalt/{p-e93644cb.entry.js → p-ac5df270.entry.js} +1 -1
  143. package/dist/cobalt/{p-8ae5da0c.entry.js → p-af4cb263.entry.js} +1 -1
  144. package/dist/cobalt/p-b1197c08.entry.js +1 -0
  145. package/dist/cobalt/p-b4bed98b.entry.js +1 -0
  146. package/dist/cobalt/{p-1cecb9e1.entry.js → p-b8ec0cc1.entry.js} +1 -1
  147. package/dist/cobalt/p-ba66584f.entry.js +1 -0
  148. package/dist/cobalt/{p-ff6be242.entry.js → p-bb534985.entry.js} +1 -1
  149. package/dist/cobalt/{p-6f12e721.entry.js → p-c0f39ddd.entry.js} +1 -1
  150. package/dist/cobalt/{p-804d025f.entry.js → p-c1e53e4c.entry.js} +1 -1
  151. package/dist/cobalt/p-c2e2eee9.entry.js +1 -0
  152. package/dist/cobalt/{p-af0495d8.entry.js → p-c3462def.entry.js} +1 -1
  153. package/dist/cobalt/p-c6fedc59.entry.js +1 -0
  154. package/dist/cobalt/{p-f6b93f17.entry.js → p-c750b2d2.entry.js} +1 -1
  155. package/dist/cobalt/{p-363a5262.entry.js → p-cc0a4617.entry.js} +1 -1
  156. package/dist/cobalt/{p-1af6ef83.entry.js → p-cc8e2f16.entry.js} +1 -1
  157. package/dist/cobalt/{p-c857b9ff.entry.js → p-d9608046.entry.js} +1 -1
  158. package/dist/cobalt/{p-be3e61f4.entry.js → p-e1957078.entry.js} +1 -1
  159. package/dist/cobalt/{p-a0749d7b.entry.js → p-e2762263.entry.js} +1 -1
  160. package/dist/cobalt/{p-21916f82.entry.js → p-e33853fa.entry.js} +1 -1
  161. package/dist/cobalt/p-e420d5c9.entry.js +1 -0
  162. package/dist/cobalt/{p-304c3be1.entry.js → p-e4a539da.entry.js} +1 -1
  163. package/dist/cobalt/{p-0be124d5.entry.js → p-e7085f08.entry.js} +1 -1
  164. package/dist/cobalt/p-e710b9ea.entry.js +1 -0
  165. package/dist/cobalt/p-e9aaeaf7.entry.js +1 -0
  166. package/dist/cobalt/{p-79e49749.entry.js → p-f073b467.entry.js} +1 -1
  167. package/dist/cobalt/p-f0de4415.entry.js +1 -0
  168. package/dist/cobalt/p-f36e461f.entry.js +1 -0
  169. package/dist/cobalt/p-f6ac5301.entry.js +1 -0
  170. package/dist/cobalt/{p-58aed8d6.entry.js → p-f6b0c4a0.entry.js} +1 -1
  171. package/dist/cobalt/p-f86ccb38.entry.js +1 -0
  172. package/dist/cobalt/{p-d7cbb4c7.entry.js → p-fb251497.entry.js} +1 -1
  173. package/dist/cobalt/p-fd27c2bd.entry.js +1 -0
  174. package/dist/cobalt/p-tT-aZV0-.js +2 -0
  175. package/dist/collection/collection-manifest.json +1 -1
  176. package/dist/collection/components/co-accordion/co-accordion.css +20 -8
  177. package/dist/collection/components/co-accordion/co-accordion.js +5 -2
  178. package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
  179. package/dist/collection/components/co-autocomplete/co-autocomplete.css +4 -751
  180. package/dist/collection/components/co-autocomplete/co-autocomplete.js +41 -76
  181. package/dist/collection/components/co-avatar/co-avatar.js +1 -1
  182. package/dist/collection/components/co-avatar-group/co-avatar-group.js +2 -2
  183. package/dist/collection/components/co-badge/co-badge.js +1 -1
  184. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
  185. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +1 -1
  186. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +2 -2
  187. package/dist/collection/components/co-button/co-button.css +5 -1
  188. package/dist/collection/components/co-button/co-button.js +2 -2
  189. package/dist/collection/components/co-button-group/co-button-group.js +2 -2
  190. package/dist/collection/components/co-calendar/co-calendar.css +12 -12
  191. package/dist/collection/components/co-calendar/co-calendar.js +1 -1
  192. package/dist/collection/components/co-calendar-month/co-calendar-month.js +1 -1
  193. package/dist/collection/components/co-card/co-card.js +2 -2
  194. package/dist/collection/components/co-checkbox/co-checkbox.js +3 -3
  195. package/dist/collection/components/co-checkbox-group/co-checkbox-group.js +3 -3
  196. package/dist/collection/components/co-chip/co-chip.js +2 -2
  197. package/dist/collection/components/co-color-picker/co-color-picker.js +2 -2
  198. package/dist/collection/components/co-column-picker/co-column-picker.js +2 -2
  199. package/dist/collection/components/co-combobox/co-combobox.css +6 -830
  200. package/dist/collection/components/co-combobox/co-combobox.js +73 -84
  201. package/dist/collection/components/co-command-search/co-command-search.css +2 -60
  202. package/dist/collection/components/co-command-search/co-command-search.js +23 -48
  203. package/dist/collection/components/co-data-table/co-data-table.css +42 -7
  204. package/dist/collection/components/co-data-table/co-data-table.js +108 -3
  205. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  206. package/dist/collection/components/co-date-field/co-date-field.css +4 -7
  207. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  208. package/dist/collection/components/co-date-range/co-date-range.js +1 -1
  209. package/dist/collection/components/co-date-range-picker/co-date-range-picker.css +9 -9
  210. package/dist/collection/components/co-drawer/co-drawer.css +49 -13
  211. package/dist/collection/components/co-drawer/co-drawer.js +9 -4
  212. package/dist/collection/components/co-drive-card/co-drive-card.js +1 -1
  213. package/dist/collection/components/co-drop-zone/co-drop-zone.js +1 -1
  214. package/dist/collection/components/co-empty-state/co-empty-state.css +1 -1
  215. package/dist/collection/components/co-empty-state/co-empty-state.js +2 -2
  216. package/dist/collection/components/co-event-calendar/co-event-calendar.js +2 -2
  217. package/dist/collection/components/co-fab/co-fab.css +8 -1
  218. package/dist/collection/components/co-fab/co-fab.js +24 -5
  219. package/dist/collection/components/co-file-field/co-file-field.js +5 -5
  220. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +2 -2
  221. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  222. package/dist/collection/components/co-icon/co-icon.js +2 -2
  223. package/dist/collection/components/co-icon-button/co-icon-button.js +1 -1
  224. package/dist/collection/components/co-input/co-input.css +9 -6
  225. package/dist/collection/components/co-input/co-input.js +57 -0
  226. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  227. package/dist/collection/components/co-lightbox/co-lightbox.css +2 -2
  228. package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
  229. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  230. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  231. package/dist/collection/components/co-media-thumb/co-media-thumb.js +2 -2
  232. package/dist/collection/components/co-menu/co-menu.js +1 -1
  233. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  234. package/dist/collection/components/co-menu-item/co-menu-item.css +1 -1
  235. package/dist/collection/components/co-modal/co-modal.js +2 -2
  236. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  237. package/dist/collection/components/co-number-field/co-number-field.css +10 -11
  238. package/dist/collection/components/co-number-field/co-number-field.js +2 -2
  239. package/dist/collection/components/co-option-list/co-option-list.css +796 -58
  240. package/dist/collection/components/co-option-list/co-option-list.js +45 -6
  241. package/dist/collection/components/co-overlay/co-overlay.js +1 -1
  242. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  243. package/dist/collection/components/co-phone-field/co-phone-field.css +4 -7
  244. package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
  245. package/dist/collection/components/co-popover/co-popover.js +11 -2
  246. package/dist/collection/components/co-progress-bar/co-progress-bar.css +1 -1
  247. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  248. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  249. package/dist/collection/components/co-radio/co-radio.js +3 -3
  250. package/dist/collection/components/co-radio-group/co-radio-group.js +3 -3
  251. package/dist/collection/components/co-rating/co-rating.js +3 -3
  252. package/dist/collection/components/co-ref-field/co-ref-field.css +6 -897
  253. package/dist/collection/components/co-ref-field/co-ref-field.js +0 -0
  254. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.css +1 -1
  255. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +2 -2
  256. package/dist/collection/components/co-row/co-row.js +2 -2
  257. package/dist/collection/components/co-segmented-bar/co-segmented-bar.js +2 -2
  258. package/dist/collection/components/co-select/co-select.css +4 -7
  259. package/dist/collection/components/co-select/co-select.js +4 -4
  260. package/dist/collection/components/co-separator/co-separator.js +1 -1
  261. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  262. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.css +8 -6
  263. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +8 -6
  264. package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
  265. package/dist/collection/components/co-slider/co-slider.js +2 -2
  266. package/dist/collection/components/co-switch/co-switch.css +3 -1
  267. package/dist/collection/components/co-switch/co-switch.js +3 -3
  268. package/dist/collection/components/co-tab/co-tab.css +39 -4
  269. package/dist/collection/components/co-tab/co-tab.js +6 -6
  270. package/dist/collection/components/co-tab-group/co-tab-group.css +11 -0
  271. package/dist/collection/components/co-tab-group/co-tab-group.js +10 -4
  272. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  273. package/dist/collection/components/co-textarea/co-textarea.js +4 -4
  274. package/dist/collection/components/co-toast/co-toast.js +2 -2
  275. package/dist/collection/components/co-toggle-button/co-toggle-button.js +2 -2
  276. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +2 -2
  277. package/dist/collection/components/co-tooltip/co-tooltip.js +2 -2
  278. package/dist/collection/components/co-transfer-list/co-transfer-list.js +2 -2
  279. package/dist/collection/components/co-video/co-video.css +2 -2
  280. package/dist/collection/components/co-video/co-video.js +2 -2
  281. package/dist/components/co-accordion.js +1 -1
  282. package/dist/components/co-app-shell.js +1 -1
  283. package/dist/components/co-autocomplete.js +1 -1
  284. package/dist/components/co-avatar-group.js +1 -1
  285. package/dist/components/co-avatar.js +1 -1
  286. package/dist/components/co-badge.js +1 -1
  287. package/dist/components/co-bottom-sheet.js +1 -1
  288. package/dist/components/co-breadcrumb-item.js +1 -1
  289. package/dist/components/co-breadcrumb.js +1 -1
  290. package/dist/components/co-button-group.js +1 -1
  291. package/dist/components/co-button.js +1 -1
  292. package/dist/components/co-calendar-month.js +1 -1
  293. package/dist/components/co-calendar.js +1 -1
  294. package/dist/components/co-card.js +1 -1
  295. package/dist/components/co-checkbox-group.js +1 -1
  296. package/dist/components/co-checkbox.js +1 -1
  297. package/dist/components/co-chip.js +1 -1
  298. package/dist/components/co-color-picker.js +1 -1
  299. package/dist/components/co-column-picker.js +1 -1
  300. package/dist/components/co-combobox.js +1 -1
  301. package/dist/components/co-command-search.js +1 -1
  302. package/dist/components/co-data-table-pagination.js +1 -1
  303. package/dist/components/co-data-table.js +1 -1
  304. package/dist/components/co-date-field.js +1 -1
  305. package/dist/components/co-date-picker.js +1 -1
  306. package/dist/components/co-date-range-picker.js +1 -1
  307. package/dist/components/co-date-range.js +1 -1
  308. package/dist/components/co-drawer.js +1 -1
  309. package/dist/components/co-drive-card.js +1 -1
  310. package/dist/components/co-drop-zone.js +1 -1
  311. package/dist/components/co-empty-state.js +1 -1
  312. package/dist/components/co-event-calendar.js +1 -1
  313. package/dist/components/co-fab.js +1 -1
  314. package/dist/components/co-file-field.js +1 -1
  315. package/dist/components/co-file-type-tile.js +1 -1
  316. package/dist/components/co-helper-text.js +1 -1
  317. package/dist/components/co-icon-button.js +1 -1
  318. package/dist/components/co-icon.js +1 -1
  319. package/dist/components/co-input.js +1 -1
  320. package/dist/components/co-json-field.js +1 -1
  321. package/dist/components/co-lightbox.js +1 -1
  322. package/dist/components/co-list-footer.js +1 -1
  323. package/dist/components/co-list-item.js +1 -1
  324. package/dist/components/co-media-thumb.js +1 -1
  325. package/dist/components/co-menu-divider.js +1 -1
  326. package/dist/components/co-menu-item.js +1 -1
  327. package/dist/components/co-menu.js +1 -1
  328. package/dist/components/co-modal.js +1 -1
  329. package/dist/components/co-navbar.js +1 -1
  330. package/dist/components/co-number-field.js +1 -1
  331. package/dist/components/co-option-list.js +1 -1
  332. package/dist/components/co-overlay.js +1 -1
  333. package/dist/components/co-page-header.js +1 -1
  334. package/dist/components/co-phone-field.js +1 -1
  335. package/dist/components/co-popover.js +1 -1
  336. package/dist/components/co-progress-bar.js +1 -1
  337. package/dist/components/co-progress-circle.js +1 -1
  338. package/dist/components/co-radio-group.js +1 -1
  339. package/dist/components/co-radio.js +1 -1
  340. package/dist/components/co-rating.js +1 -1
  341. package/dist/components/co-ref-field.js +1 -1
  342. package/dist/components/co-rich-text-editor.js +1 -1
  343. package/dist/components/co-rich-text-toolbar.js +1 -1
  344. package/dist/components/co-row.js +1 -1
  345. package/dist/components/co-segmented-bar.js +1 -1
  346. package/dist/components/co-select.js +1 -1
  347. package/dist/components/co-separator.js +1 -1
  348. package/dist/components/co-sidebar-nav.js +1 -1
  349. package/dist/components/co-sidebar.js +1 -1
  350. package/dist/components/co-skeleton.js +1 -1
  351. package/dist/components/co-slider.js +1 -1
  352. package/dist/components/co-switch.js +1 -1
  353. package/dist/components/co-tab-group.js +1 -1
  354. package/dist/components/co-tab.js +1 -1
  355. package/dist/components/co-tags-field.js +1 -1
  356. package/dist/components/co-textarea.js +1 -1
  357. package/dist/components/co-toast.js +1 -1
  358. package/dist/components/co-toggle-button-group.js +1 -1
  359. package/dist/components/co-toggle-button.js +1 -1
  360. package/dist/components/co-tooltip.js +1 -1
  361. package/dist/components/co-transfer-list.js +1 -1
  362. package/dist/components/co-video.js +1 -1
  363. package/dist/components/index.js +1 -1
  364. package/dist/components/p-BHqdcGDh.js +1 -0
  365. package/dist/components/{p-B0buzt_E.js → p-BJTMFYax.js} +1 -1
  366. package/dist/components/{p-vLFwJ77w.js → p-Ba5lW0pA.js} +1 -1
  367. package/dist/components/p-Bsq90mo4.js +1 -0
  368. package/dist/components/{p-CybHxq25.js → p-CNIs9j-h.js} +1 -1
  369. package/dist/components/{p-Bx1OwdIV.js → p-COb8X_fE.js} +1 -1
  370. package/dist/components/{p-CzkeIavk.js → p-Cam92sWP.js} +1 -1
  371. package/dist/components/p-CmCsm4L-.js +1 -0
  372. package/dist/components/p-D3ts7oo9.js +1 -0
  373. package/dist/components/{p-CUvAZhuM.js → p-D4SOCy8I.js} +1 -1
  374. package/dist/components/{p-BnTTeIFH.js → p-Dh-h40mY.js} +1 -1
  375. package/dist/components/p-DrQh1Cb8.js +1 -0
  376. package/dist/components/{p-D7dk2gM7.js → p-DvL2TcDG.js} +1 -1
  377. package/dist/components/{p-BxiKVtk4.js → p-OKwHt2i9.js} +1 -1
  378. package/dist/components/{p-CBzpUqwG.js → p-QWi9AmnD.js} +1 -1
  379. package/dist/components/{p-B3igDRut.js → p-Xwo2HQmt.js} +1 -1
  380. package/dist/components/{p-DTS-dgEe.js → p-_k-j03K-.js} +1 -1
  381. package/dist/components/{p-HXlAaApx.js → p-eSq2ze8W.js} +1 -1
  382. package/dist/components/{p-C7tPadNy.js → p-lus32JrB.js} +1 -1
  383. package/dist/esm/co-accordion.entry.js +4 -4
  384. package/dist/esm/co-app-shell.entry.js +3 -3
  385. package/dist/esm/co-autocomplete.entry.js +38 -73
  386. package/dist/esm/co-avatar-group.entry.js +3 -3
  387. package/dist/esm/co-avatar.entry.js +2 -2
  388. package/dist/esm/co-badge.entry.js +2 -2
  389. package/dist/esm/co-bottom-sheet.entry.js +4 -4
  390. package/dist/esm/co-breadcrumb-item.entry.js +3 -3
  391. package/dist/esm/co-breadcrumb.entry.js +2 -2
  392. package/dist/esm/co-button-group.entry.js +3 -3
  393. package/dist/esm/co-button.entry.js +4 -4
  394. package/dist/esm/co-calendar-month.entry.js +2 -2
  395. package/dist/esm/co-calendar_3.entry.js +19 -14
  396. package/dist/esm/co-card.entry.js +3 -3
  397. package/dist/esm/co-checkbox-group.entry.js +4 -4
  398. package/dist/esm/co-checkbox.entry.js +4 -4
  399. package/dist/esm/co-chip_2.entry.js +482 -0
  400. package/dist/esm/co-color-picker.entry.js +4 -4
  401. package/dist/esm/co-column-picker.entry.js +3 -3
  402. package/dist/esm/co-combobox.entry.js +52 -83
  403. package/dist/esm/co-command-search.entry.js +21 -60
  404. package/dist/esm/co-data-table-pagination.entry.js +5 -5
  405. package/dist/esm/co-data-table.entry.js +54 -5
  406. package/dist/esm/co-date-picker.entry.js +2 -2
  407. package/dist/esm/co-date-range-picker.entry.js +3 -3
  408. package/dist/esm/co-date-range.entry.js +2 -2
  409. package/dist/esm/co-drive-card.entry.js +2 -2
  410. package/dist/esm/co-drop-zone.entry.js +2 -2
  411. package/dist/esm/co-empty-state.entry.js +4 -4
  412. package/dist/esm/co-event-calendar.entry.js +3 -3
  413. package/dist/esm/co-fab.entry.js +5 -5
  414. package/dist/esm/co-file-field.entry.js +7 -7
  415. package/dist/esm/co-file-type-tile.entry.js +3 -3
  416. package/dist/esm/co-helper-text.entry.js +3 -3
  417. package/dist/esm/co-icon-button.entry.js +2 -2
  418. package/dist/esm/co-icon.entry.js +3 -3
  419. package/dist/esm/co-input.entry.js +19 -3
  420. package/dist/esm/co-json-field.entry.js +5 -5
  421. package/dist/esm/co-lightbox.entry.js +6 -6
  422. package/dist/esm/co-list-footer.entry.js +2 -2
  423. package/dist/esm/co-list-item.entry.js +5 -5
  424. package/dist/esm/co-loader.entry.js +1 -1
  425. package/dist/esm/co-media-thumb.entry.js +3 -3
  426. package/dist/esm/co-menu-divider.entry.js +2 -2
  427. package/dist/esm/co-menu-item.entry.js +2 -2
  428. package/dist/esm/co-menu.entry.js +2 -2
  429. package/dist/esm/co-modal.entry.js +3 -3
  430. package/dist/esm/co-navbar.entry.js +3 -3
  431. package/dist/esm/co-number-field.entry.js +5 -5
  432. package/dist/esm/co-overlay.entry.js +2 -2
  433. package/dist/esm/co-page-header.entry.js +2 -2
  434. package/dist/esm/co-phone-field.entry.js +4 -4
  435. package/dist/esm/co-popover.entry.js +12 -3
  436. package/dist/esm/co-progress-bar.entry.js +4 -4
  437. package/dist/esm/co-progress-circle.entry.js +3 -3
  438. package/dist/esm/co-radio-group.entry.js +4 -4
  439. package/dist/esm/co-radio.entry.js +4 -4
  440. package/dist/esm/co-rating.entry.js +4 -4
  441. package/dist/esm/co-ref-field.entry.js +31 -135
  442. package/dist/esm/co-rich-text-editor.entry.js +4 -4
  443. package/dist/esm/co-rich-text-toolbar.entry.js +1 -1
  444. package/dist/esm/co-rich-text-viewer.entry.js +1 -1
  445. package/dist/esm/co-row.entry.js +3 -3
  446. package/dist/esm/co-segmented-bar.entry.js +3 -3
  447. package/dist/esm/co-select.entry.js +7 -7
  448. package/dist/esm/co-separator.entry.js +2 -2
  449. package/dist/esm/co-sidebar-nav.entry.js +10 -8
  450. package/dist/esm/co-sidebar.entry.js +3 -3
  451. package/dist/esm/co-skeleton.entry.js +2 -2
  452. package/dist/esm/co-slider.entry.js +3 -3
  453. package/dist/esm/co-switch.entry.js +6 -6
  454. package/dist/esm/co-tab-group.entry.js +10 -4
  455. package/dist/esm/co-tab.entry.js +5 -5
  456. package/dist/esm/co-tags-field.entry.js +8 -8
  457. package/dist/esm/co-textarea.entry.js +6 -6
  458. package/dist/esm/co-toast.entry.js +3 -3
  459. package/dist/esm/co-toggle-button-group.entry.js +3 -3
  460. package/dist/esm/co-toggle-button.entry.js +3 -3
  461. package/dist/esm/co-tooltip.entry.js +3 -3
  462. package/dist/esm/co-transfer-list.entry.js +3 -3
  463. package/dist/esm/co-video.entry.js +4 -4
  464. package/dist/esm/cobalt.js +3 -3
  465. package/dist/esm/{fieldChip-BBu4ukje.js → fieldChip-ChXW__C5.js} +1 -1
  466. package/dist/esm/{index-Es9IUmmt.js → index-tT-aZV0-.js} +9 -13
  467. package/dist/esm/loader.js +3 -3
  468. package/dist/esm/{requiredMark-Bg25QWFn.js → requiredMark-C7-_2UhB.js} +1 -1
  469. package/dist/types/components/co-accordion/co-accordion.d.ts +3 -0
  470. package/dist/types/components/co-autocomplete/co-autocomplete.d.ts +12 -14
  471. package/dist/types/components/co-combobox/co-combobox.d.ts +29 -15
  472. package/dist/types/components/co-command-search/co-command-search.d.ts +13 -5
  473. package/dist/types/components/co-command-search/commandSearchLogic.d.ts +1 -1
  474. package/dist/types/components/co-data-table/co-data-table.d.ts +22 -0
  475. package/dist/types/components/co-fab/co-fab.d.ts +3 -1
  476. package/dist/types/components/co-input/co-input.d.ts +9 -0
  477. package/dist/types/components/co-option-list/co-option-list.d.ts +4 -0
  478. package/dist/types/components/co-popover/co-popover.d.ts +1 -0
  479. package/dist/types/components/co-ref-field/co-ref-field.d.ts +8 -30
  480. package/dist/types/components/co-sidebar-nav/co-sidebar-nav.d.ts +2 -0
  481. package/dist/types/components/co-tab/co-tab.d.ts +2 -2
  482. package/dist/types/components/co-tab-group/co-tab-group.d.ts +5 -1
  483. package/dist/types/components.d.ts +123 -45
  484. package/package.json +4 -4
  485. package/dist/cjs/co-chip.cjs.entry.js +0 -91
  486. package/dist/cjs/co-option-list.cjs.entry.js +0 -379
  487. package/dist/cobalt/p-06c27cc5.entry.js +0 -1
  488. package/dist/cobalt/p-075f6ca4.entry.js +0 -1
  489. package/dist/cobalt/p-0810ee1e.entry.js +0 -1
  490. package/dist/cobalt/p-0b41e76e.entry.js +0 -1
  491. package/dist/cobalt/p-19f7ee64.entry.js +0 -1
  492. package/dist/cobalt/p-23c9208a.entry.js +0 -1
  493. package/dist/cobalt/p-311118cb.entry.js +0 -1
  494. package/dist/cobalt/p-48c5f311.entry.js +0 -1
  495. package/dist/cobalt/p-523cfd98.entry.js +0 -1
  496. package/dist/cobalt/p-5eecea26.entry.js +0 -1
  497. package/dist/cobalt/p-64a0b656.entry.js +0 -1
  498. package/dist/cobalt/p-6a3ed174.entry.js +0 -1
  499. package/dist/cobalt/p-755ecee1.entry.js +0 -1
  500. package/dist/cobalt/p-76b46336.entry.js +0 -1
  501. package/dist/cobalt/p-7b5dec05.entry.js +0 -1
  502. package/dist/cobalt/p-87289d32.entry.js +0 -1
  503. package/dist/cobalt/p-BUgUTjOB.js +0 -1
  504. package/dist/cobalt/p-Es9IUmmt.js +0 -2
  505. package/dist/cobalt/p-a71fd4f1.entry.js +0 -1
  506. package/dist/cobalt/p-b045d680.entry.js +0 -1
  507. package/dist/cobalt/p-b3c8fc9a.entry.js +0 -1
  508. package/dist/cobalt/p-b8f36f12.entry.js +0 -1
  509. package/dist/cobalt/p-ba6f0f90.entry.js +0 -1
  510. package/dist/cobalt/p-c1abc74b.entry.js +0 -1
  511. package/dist/cobalt/p-cf239452.entry.js +0 -1
  512. package/dist/cobalt/p-d2507f04.entry.js +0 -1
  513. package/dist/cobalt/p-d55652f2.entry.js +0 -1
  514. package/dist/cobalt/p-da211abf.entry.js +0 -1
  515. package/dist/cobalt/p-dcc7fc95.entry.js +0 -1
  516. package/dist/collection/components/co-command-search/commandSearchGroup.js +0 -17
  517. package/dist/components/p-BhSJcOUS.js +0 -1
  518. package/dist/components/p-CZKHHCdL.js +0 -1
  519. package/dist/components/p-K6LC1Hz4.js +0 -1
  520. package/dist/components/p-LAxCvyJl.js +0 -1
  521. package/dist/esm/co-chip.entry.js +0 -89
  522. package/dist/esm/co-option-list.entry.js +0 -377
  523. package/dist/types/components/co-command-search/commandSearchGroup.d.ts +0 -20
@@ -13,16 +13,16 @@ export class CoFab {
13
13
  };
14
14
  }
15
15
  render() {
16
- const iconSize = this.size === 'l' ? 24 : this.size === 's' ? 18 : 20;
16
+ const iconSize = this.size === 'xl' ? 24 : this.size === 'l' ? 24 : this.size === 's' ? 18 : 20;
17
17
  const isExtended = !!this.label;
18
- return (h("button", { key: 'a3dd864b2e80488b07b9fc4214281a34045c3968', class: {
18
+ return (h("button", { key: '508484d86d0d65218b8e5039ce81b6a1860347db', class: {
19
19
  'co-fab': true,
20
20
  [`co-fab--${this.variant}`]: true,
21
21
  [`co-fab--${this.size}`]: true,
22
22
  'co-fab--extended': isExtended,
23
23
  'co-fab--disabled': this.disabled,
24
24
  [`co-fab--${this.position}`]: this.position !== 'none',
25
- }, type: "button", disabled: this.disabled, onClick: this.handleClick, "aria-label": this.label || this.icon }, h("co-icon", { key: '3d2e12a325d1ca7b006579f34e9c0c2d6f792a40', name: this.icon, size: iconSize }), this.label && h("span", { key: 'f209c549b6960bc4737763f8a47efb2771bb8aff', class: "co-fab__label" }, this.label)));
25
+ }, type: "button", disabled: this.disabled, onClick: this.handleClick, "aria-label": this.ariaLabelText || this.label || this.icon }, h("co-icon", { key: '47e47f74b93a1cdbe706d6e0a577f4396a68507c', name: this.icon, size: iconSize }), this.label && h("span", { key: 'a4fd981b11c467261eba9de0731b37e01aae0ed2', class: "co-fab__label" }, this.label)));
26
26
  }
27
27
  static get is() { return "co-fab"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -101,8 +101,8 @@ export class CoFab {
101
101
  "type": "string",
102
102
  "mutable": false,
103
103
  "complexType": {
104
- "original": "'l' | 'm' | 's'",
105
- "resolved": "\"l\" | \"m\" | \"s\"",
104
+ "original": "'xl' | 'l' | 'm' | 's'",
105
+ "resolved": "\"l\" | \"m\" | \"s\" | \"xl\"",
106
106
  "references": {}
107
107
  },
108
108
  "required": false,
@@ -117,6 +117,25 @@ export class CoFab {
117
117
  "attribute": "size",
118
118
  "defaultValue": "'m'"
119
119
  },
120
+ "ariaLabelText": {
121
+ "type": "string",
122
+ "mutable": false,
123
+ "complexType": {
124
+ "original": "string",
125
+ "resolved": "string | undefined",
126
+ "references": {}
127
+ },
128
+ "required": false,
129
+ "optional": true,
130
+ "docs": {
131
+ "tags": [],
132
+ "text": "Accessible label for icon-only FABs (falls back to `label`/`icon`)."
133
+ },
134
+ "getter": false,
135
+ "setter": false,
136
+ "reflect": false,
137
+ "attribute": "aria-label-text"
138
+ },
120
139
  "disabled": {
121
140
  "type": "boolean",
122
141
  "mutable": false,
@@ -341,12 +341,12 @@ export class CoFileField {
341
341
  const previews = items.filter((it) => isImage(it) && !this.failedPreviews.has(this.keyFor(it)));
342
342
  const canReorder = this.reorderable && this.multiple && !this.disabled && !this.readonly && items.length > 1;
343
343
  const capacity = this.capacityHint(s);
344
- return (h("div", { key: '5f851ab10c6bae9b2f06ef5f1a7acd130eebf40b', class: {
344
+ return (h("div", { key: '31d820478276fee18bf2df79dd277ef1cbcf2ac2', class: {
345
345
  'co-file-field': true,
346
346
  'co-file-field--disabled': this.disabled,
347
347
  'co-file-field--invalid': this.isInvalid,
348
348
  [statusClass]: !!statusClass,
349
- }, part: "wrapper" }, this.label && (h("div", { key: 'c97389b2d98e3c97e367425a354b7184c0915c0b', class: "co-file-field__labels" }, h("label", { key: '5ee9359c1d07c30179330fe8921aab9b4633d165', class: "co-file-field__label", part: "label" }, this.label, h(RequiredMark, { key: '0cc79f6ae165e74600152c1e1adaa2bd9a8133ee', required: this.required })))), showDropzone && (h("div", { key: '80be725bcd67b24d0fa086dabb82d033b6e68f9f', class: {
349
+ }, part: "wrapper" }, this.label && (h("div", { key: 'b7df2e7f427fb6306191c07aebd41b2a2c7303c6', class: "co-file-field__labels" }, h("label", { key: 'd3dcd5886777a09fea5d4082f4a941a24056184e', class: "co-file-field__label", part: "label" }, this.label, h(RequiredMark, { key: '6cf4505b762c9335798de30362e1eac8bc6e123c', required: this.required })))), showDropzone && (h("div", { key: 'af761f6f87b10397bc3e5ebf3ee4c43c0c815449', class: {
350
350
  'co-file-field__dropzone': true,
351
351
  'co-file-field__dropzone--drag': this.dragOver,
352
352
  }, part: "dropzone", role: "button", tabIndex: this.disabled ? -1 : 0, onClick: this.handleBrowse, onKeyDown: (e) => {
@@ -354,7 +354,7 @@ export class CoFileField {
354
354
  e.preventDefault();
355
355
  this.handleBrowse();
356
356
  }
357
- }, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, h("button", { key: '6378b733d6de2dfbefacfae2a33ebabe3557b013', class: "co-file-field__upload-btn", part: "upload-button", type: "button", tabIndex: -1 }, h("co-icon", { key: '6b6fd92b0ca0230375020952e05aee09c0d5d3f6', name: "file-arrow-up", size: 18 }), h("span", { key: 'de33f04a2715781a3a5853d051856b17625eac31' }, this.uploadButtonText || s.uploadButton)), h("span", { key: '881304671a167b3052b37749457aa6d77773b3a9', class: "co-file-field__dropzone-text" }, this.dropText || s.dropHint), capacity && h("span", { key: '331c798170b47a0fbe48fd6bb9c742c1927222e5', class: "co-file-field__dropzone-hint" }, capacity), h("div", { key: '821977df4fd123864ebe2bef8576711addd89578', class: "co-file-field__actions", part: "actions" }, h("slot", { key: 'cab4df18f87f2b4f70790451ad7bcf4d83d66142', name: "actions" })), h("input", { key: 'fe9afd3562558f9a03d3f7fc1cfe8fbde84d290a', 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: '635ec6cd392c6e28e01ce90c1386db5c233de07f', class: "co-file-field__uploaded" }, this.multiple && (h("div", { key: '433ef13bc077e247bd72601ce1e6b5f76ac3dba3', class: "co-file-field__uploaded-title", part: "uploaded-title" }, `${this.uploadedTitle || s.uploadedTitle} (${items.length})`)), previews.length > 0 && (h("div", { key: '92f9a138e2317751554cd5c4a5a6c33c730ac909', 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: 'fc600da498880f6d07402204c5edadb87aa94d0c', class: "co-file-field__list", part: "list" }, items.map((item) => {
357
+ }, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave, onDrop: this.handleDrop }, h("button", { key: '72ab595ccd9a7f275cd214fcb17c15972057557a', class: "co-file-field__upload-btn", part: "upload-button", type: "button", tabIndex: -1 }, h("co-icon", { key: '686287ddfba61763e98e8753f078f8bc1ac98460', name: "file-arrow-up", size: 18 }), h("span", { key: '8faab79ab89c6a2fc83069ae7bcafb4b21feb416' }, this.uploadButtonText || s.uploadButton)), h("span", { key: '761ab4b4e58490fe8e0024e6881a8d73fef5e7fd', class: "co-file-field__dropzone-text" }, this.dropText || s.dropHint), capacity && h("span", { key: 'c6a88193c0aacefa6bd1534600ad56d3577b2228', class: "co-file-field__dropzone-hint" }, capacity), h("div", { key: 'ecd504e94b4ab9a1784868a357399e766b2dd68c', class: "co-file-field__actions", part: "actions" }, h("slot", { key: '4e6572288387694e7e43cfa7fd58b4fb1952be2c', name: "actions" })), h("input", { key: '708ef841bab08935f125e6aa4338f67502b8689f', 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: 'f7423a91e47af3fbc4eb8257569df98da889bebf', class: "co-file-field__uploaded" }, this.multiple && (h("div", { key: 'da179d8d456ac934ee0d88679cb9866f3d9af3a9', class: "co-file-field__uploaded-title", part: "uploaded-title" }, `${this.uploadedTitle || s.uploadedTitle} (${items.length})`)), previews.length > 0 && (h("div", { key: '73ffb49c6090eb21c471f9cfe145df23b8fb8592', 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: 'ecbc35245db8e66eca656423657a0223e33a156e', class: "co-file-field__list", part: "list" }, items.map((item) => {
358
358
  const key = this.keyFor(item);
359
359
  const draggable = canReorder && item.status === 'done';
360
360
  return (h("li", { class: {
@@ -375,10 +375,10 @@ export class CoFileField {
375
375
  'co-file-field__action': true,
376
376
  'co-file-field__action--copied': this.copiedKey === key,
377
377
  }, type: "button", tabIndex: -1, title: this.copiedKey === key ? s.copied : s.copyUrl, "aria-label": s.copyUrl, onClick: () => this.handleCopy(item) }, h("co-icon", { name: this.copiedKey === key ? 'check' : 'copy', size: 18 }))), !this.disabled && !this.readonly && (h("button", { class: "co-file-field__action", type: "button", tabIndex: -1, title: s.removeFile, "aria-label": s.removeFile, onClick: () => this.coRemove.emit(key) }, h("co-icon", { name: "trash", size: 18 })))));
378
- })))), helper && (h("div", { key: '6393f353fff2597d24e91850525068646d4563cc', class: {
378
+ })))), helper && (h("div", { key: 'e171dcd572d9b82734433eaa20f44c85c2c24735', class: {
379
379
  'co-file-field__helper': true,
380
380
  'co-file-field__helper--error': this.isInvalid,
381
- }, part: "helper" }, this.isInvalid && (h("co-icon", { key: '7bd66efa2c2d2f35b3c11283fc28cd672a77e4e5', name: "warning-circle", size: 14, class: "co-file-field__helper-icon" })), h("span", { key: '7744d3bd75b84354db79bb0796f4e3d2bc293d2e', class: "co-file-field__helper-text" }, helper)))));
381
+ }, part: "helper" }, this.isInvalid && (h("co-icon", { key: '3ba44c6324cd56a470dc4668a15b31c61b58b990', name: "warning-circle", size: 14, class: "co-file-field__helper-icon" })), h("span", { key: '24c06c19e336ddb0f6a5266d9a9b84f7fbf3b80e', class: "co-file-field__helper-text" }, helper)))));
382
382
  }
383
383
  static get is() { return "co-file-field"; }
384
384
  static get encapsulation() { return "shadow"; }
@@ -54,7 +54,7 @@ export class CoFileTypeTile {
54
54
  const iconSize = Math.round(this.size * 0.5);
55
55
  const background = this.colorTags ? meta.tint : 'var(--co-color-gray-100)';
56
56
  const color = this.colorTags ? meta.accent : 'var(--co-color-gray-600)';
57
- return (h("span", { key: 'dd64643dbab1f850840ba3c6045284e42af0655f', class: {
57
+ return (h("span", { key: 'e894b848be911777d8a91388050c10a678bdaa1c', class: {
58
58
  'co-file-type-tile': true,
59
59
  [`co-file-type-tile--${type}`]: true,
60
60
  'co-file-type-tile--mono': !this.colorTags,
@@ -64,7 +64,7 @@ export class CoFileTypeTile {
64
64
  borderRadius: `${this.radius}px`,
65
65
  background,
66
66
  color,
67
- } }, h("co-icon", { key: '816be0fe4d7934b7a45014c2ffb77850ba2ad4a5', name: meta.icon, size: iconSize, weight: "fill" })));
67
+ } }, h("co-icon", { key: 'd7dd6f61ba7155b4e2c0f38cc59a93ea647217b1', name: meta.icon, size: iconSize, weight: "fill" })));
68
68
  }
69
69
  static get is() { return "co-file-type-tile"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -15,10 +15,10 @@ export class CoHelperText {
15
15
  };
16
16
  }
17
17
  render() {
18
- return (h("div", { key: '732ca77f8a91d2f2f44f297034c08d3145ef1915', class: {
18
+ return (h("div", { key: 'edb5f0cdd150dcaa06230b90d3385d18684e2261', class: {
19
19
  'co-helper-text': true,
20
20
  [`co-helper-text--${this.status}`]: true,
21
- }, part: "helper-text" }, h("co-icon", { key: '75913515f01d48a7075b2f222333dfc00db4a3aa', name: this.STATUS_ICON[this.status], size: 14, weight: "fill", class: "co-helper-text__icon" }), h("span", { key: '1598b419be64573b6e6c48f0f84be7ffebd7da48', class: "co-helper-text__message" }, h("slot", { key: '03c83e97d4690edb32ae1f88738a6baa7438d656' }, this.message))));
21
+ }, part: "helper-text" }, h("co-icon", { key: '7f9cce7182cd39893e0f6abfab2d1a27c266ea17', name: this.STATUS_ICON[this.status], size: 14, weight: "fill", class: "co-helper-text__icon" }), h("span", { key: '38757c70aca1891bfd43b505d57d7455b22512b3', class: "co-helper-text__message" }, h("slot", { key: '9382e95880c71e3da4eed22ed6c14589c4890252' }, this.message))));
22
22
  }
23
23
  static get is() { return "co-helper-text"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -31,12 +31,12 @@ export class CoIcon {
31
31
  this.svgContent = await loadSvg(this.name, this.weight);
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: '246bcceba97f0ebf49e12085dd57ea7cfff8824e', "aria-hidden": "true", style: {
34
+ return (h(Host, { key: 'abc90edf4c13e2de7d28f88f99b694dd8aecbdc9', "aria-hidden": "true", style: {
35
35
  display: 'inline-flex',
36
36
  width: `${this.size}px`,
37
37
  height: `${this.size}px`,
38
38
  flexShrink: '0',
39
- } }, h("span", { key: 'fe485e37bf4942653906a587799c3e7ab9638783', part: "svg", innerHTML: this.svgContent })));
39
+ } }, h("span", { key: 'c0248eb38058439bbd5213df838ced7d7cc62bc0', part: "svg", innerHTML: this.svgContent })));
40
40
  }
41
41
  static get is() { return "co-icon"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -41,7 +41,7 @@ export class CoIconButton {
41
41
  : 'var(--co-border-radius-full)',
42
42
  }
43
43
  : undefined;
44
- return (h("button", { key: '7990e81b633e1a4c69527ffd393f33301903611f', class: {
44
+ return (h("button", { key: 'bf9aad13fe7360a7135da123ba555b64ee90cadc', class: {
45
45
  'co-icon-button': true,
46
46
  [`co-icon-button--${this.variant}`]: true,
47
47
  [`co-icon-button--${this.shape}`]: true,
@@ -85,10 +85,10 @@
85
85
  align-items: center;
86
86
  gap: var(--co-spacing-sm2);
87
87
  padding: var(--co-spacing-sm2) var(--co-spacing-md);
88
- background: color-mix(in srgb, var(--co-semantic-surface-secondary) 55%, transparent);
89
- -webkit-backdrop-filter: blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));
90
- backdrop-filter: blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));
91
- border: 1px solid var(--co-semantic-border-subtle);
88
+ /* Figma Text Field: fondo sólido de página + borde Negro 25% (los campos
89
+ tenues negro-8 + glass no leen como editables sobre el drawer blanco). */
90
+ background: var(--co-semantic-surface-page);
91
+ border: 1px solid var(--co-color-opacity-negro-25, rgba(31, 28, 27, 0.25));
92
92
  border-radius: var(--co-border-radius-xs);
93
93
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
94
94
  min-height: 40px;
@@ -150,8 +150,11 @@
150
150
  display: flex;
151
151
  align-items: center;
152
152
  min-width: 0;
153
- min-height: 24px;
154
- padding: var(--co-spacing-xxs) 0;
153
+ /* 22px content + sm2 field padding (8×2) + 1px borders = the 40px md box —
154
+ the old 24px + xxs padding pushed the default field to 46px, out of step
155
+ with every other 40px field (co-select/co-ref-field/co-date-*). */
156
+ min-height: 22px;
157
+ padding: 0;
155
158
  }
156
159
 
157
160
  .co-input__native {
@@ -28,6 +28,12 @@ export class CoInput {
28
28
  this.type = 'text';
29
29
  /** Whether the field is required */
30
30
  this.required = false;
31
+ /** Focus the inner input as soon as the component finishes hydrating.
32
+ * Consumers can't reliably focus the shadow input themselves — Stencil's
33
+ * lazy hydration replaces the shadow content AFTER mount, so an early
34
+ * focus() lands on a node that gets thrown away. `componentDidLoad` runs
35
+ * after hydration, which is exactly the right moment. */
36
+ this.autoFocus = false;
31
37
  /** Validation status */
32
38
  this.status = 'default';
33
39
  /** Size variant: s (28px), sm (32px), md (40px, default), lg (48px).
@@ -75,6 +81,16 @@ export class CoInput {
75
81
  this.coAction.emit();
76
82
  };
77
83
  }
84
+ /** Programmatically focus the inner input (post-hydration safe). */
85
+ async setFocus() {
86
+ var _a;
87
+ (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
88
+ }
89
+ componentDidLoad() {
90
+ var _a;
91
+ if (this.autoFocus)
92
+ (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
93
+ }
78
94
  get hasAction() {
79
95
  return !!(this.actionLabel || this.actionIcon);
80
96
  }
@@ -424,6 +440,26 @@ export class CoInput {
424
440
  "attribute": "required",
425
441
  "defaultValue": "false"
426
442
  },
443
+ "autoFocus": {
444
+ "type": "boolean",
445
+ "mutable": false,
446
+ "complexType": {
447
+ "original": "boolean",
448
+ "resolved": "boolean",
449
+ "references": {}
450
+ },
451
+ "required": false,
452
+ "optional": false,
453
+ "docs": {
454
+ "tags": [],
455
+ "text": "Focus the inner input as soon as the component finishes hydrating.\nConsumers can't reliably focus the shadow input themselves \u2014 Stencil's\nlazy hydration replaces the shadow content AFTER mount, so an early\nfocus() lands on a node that gets thrown away. `componentDidLoad` runs\nafter hydration, which is exactly the right moment."
456
+ },
457
+ "getter": false,
458
+ "setter": false,
459
+ "reflect": false,
460
+ "attribute": "auto-focus",
461
+ "defaultValue": "false"
462
+ },
427
463
  "autocomplete": {
428
464
  "type": "string",
429
465
  "mutable": false,
@@ -641,5 +677,26 @@ export class CoInput {
641
677
  }
642
678
  }];
643
679
  }
680
+ static get methods() {
681
+ return {
682
+ "setFocus": {
683
+ "complexType": {
684
+ "signature": "() => Promise<void>",
685
+ "parameters": [],
686
+ "references": {
687
+ "Promise": {
688
+ "location": "global",
689
+ "id": "global::Promise"
690
+ }
691
+ },
692
+ "return": "Promise<void>"
693
+ },
694
+ "docs": {
695
+ "text": "Programmatically focus the inner input (post-hydration safe).",
696
+ "tags": []
697
+ }
698
+ }
699
+ };
700
+ }
644
701
  static get elementRef() { return "el"; }
645
702
  }
@@ -97,17 +97,17 @@ export class CoJsonField {
97
97
  render() {
98
98
  const helper = this.internalInvalid ? this.invalidMessage : this.helperText;
99
99
  const statusClass = this.status !== 'default' ? `co-json-field--${this.status}` : '';
100
- return (h("div", { key: '3694e74443cabde9c86e37a38d2ab93f49e2a239', class: {
100
+ return (h("div", { key: '6b5f24ad2f616fa1b4e9d2fcf8c6e9dddc85b5e7', class: {
101
101
  'co-json-field': true,
102
102
  'co-json-field--disabled': this.disabled,
103
103
  'co-json-field--focused': this.hasFocus,
104
104
  'co-json-field--invalid': this.isInvalid,
105
105
  [`co-json-field--${this.size}`]: true,
106
106
  [statusClass]: !!statusClass,
107
- }, part: "wrapper" }, this.label && (h("div", { key: '806b6b2e0aa1fc4cade79fec7111e7afa4f23faf', class: "co-json-field__labels" }, h("label", { key: 'c01947ab92bb4849469e70b3077fa0af5fa953bd', class: "co-json-field__label", part: "label" }, this.label, h(RequiredMark, { key: 'f91fd778dba0cdb233872dcace643112e0d3c4de', required: this.required })))), h("div", { key: '4070579d2d8fe149c19163133d7ea549f965725e', class: "co-json-field__field", part: "field" }, h("textarea", { key: '91e21766aae9f39e76c003720207bebfb087af4f', class: "co-json-field__native", rows: this.rows, spellcheck: false, autocomplete: "off", value: this.draft, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? 'JSON' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, part: "input" })), this.name && h("input", { key: '87736d190c59a59a46ae0a341f28135892f109d0', type: "hidden", name: this.name, value: this.draft }), helper && (h("div", { key: '304a65252877ae80e52278bea82128a8f7df3c90', class: {
107
+ }, part: "wrapper" }, this.label && (h("div", { key: 'df075fb85235c8c607580a2f2825047252998ec3', class: "co-json-field__labels" }, h("label", { key: '77f9b5da9f1667331242b601ba5941818408e866', class: "co-json-field__label", part: "label" }, this.label, h(RequiredMark, { key: '25bfbe4ecd2c97938cc8b36f915f8219396935f6', required: this.required })))), h("div", { key: 'bf06e69915f1705a310cb0c115d0ee3c8e5ee3f8', class: "co-json-field__field", part: "field" }, h("textarea", { key: 'c317495385581e32f779e4a243794a5493ebc28a', class: "co-json-field__native", rows: this.rows, spellcheck: false, autocomplete: "off", value: this.draft, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, "aria-invalid": this.isInvalid ? 'true' : 'false', "aria-label": !this.label ? 'JSON' : undefined, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, part: "input" })), this.name && h("input", { key: 'd68efdf098beb43710572d10517159597181b2f5', type: "hidden", name: this.name, value: this.draft }), helper && (h("div", { key: 'd5aa71be869d4731e5807f43abb47ae84c3eb0cb', class: {
108
108
  'co-json-field__helper': true,
109
109
  'co-json-field__helper--error': this.isInvalid,
110
- }, part: "helper" }, this.isInvalid && (h("co-icon", { key: '1771161363b23da8aac7f1c70ab56b32f208f5cd', name: "warning-circle", size: 14, class: "co-json-field__helper-icon" })), h("span", { key: 'ce965e666a8107027249647a256c4e46d72d2db4', class: "co-json-field__helper-text" }, helper)))));
110
+ }, part: "helper" }, this.isInvalid && (h("co-icon", { key: '2612ac57f2f0593a2f7438f26a99e78cd841ed35', name: "warning-circle", size: 14, class: "co-json-field__helper-icon" })), h("span", { key: 'bdee3108962929c93b67551636f0d8514cbc2979', class: "co-json-field__helper-text" }, helper)))));
111
111
  }
112
112
  static get is() { return "co-json-field"; }
113
113
  static get encapsulation() { return "shadow"; }
@@ -74,7 +74,7 @@
74
74
  background: transparent;
75
75
  color: var(--co-color-base-blanco);
76
76
  font-family: inherit;
77
- font-size: var(--co-font-size-13);
77
+ font-size: var(--co-font-size-13, 13px);
78
78
  cursor: pointer;
79
79
  transition: background 0.15s ease;
80
80
  }
@@ -159,6 +159,6 @@
159
159
  border-radius: var(--co-border-radius-full);
160
160
  background: var(--co-color-opacity-blanco-8);
161
161
  color: var(--co-color-base-blanco);
162
- font-size: var(--co-font-size-13);
162
+ font-size: var(--co-font-size-13, 13px);
163
163
  font-variant-numeric: tabular-nums;
164
164
  }
@@ -286,17 +286,17 @@ export class CoLightbox {
286
286
  const counter = s.counter
287
287
  .replace('{i}', String(this.index + 1))
288
288
  .replace('{n}', String(imgs.length));
289
- return (h("div", { key: '52c5a63a5b289a012b4abe1c36836443e411e6f7', class: { 'co-lightbox': true, 'co-lightbox--open': this.open }, part: "overlay", role: "dialog", "aria-modal": "true", "aria-label": img === null || img === void 0 ? void 0 : img.alt, onClick: this.requestClose }, img && (h("div", { key: 'aaa047087d36959105b86c7dde558155f3c68a69', class: "co-lightbox__toolbar", part: "toolbar", onClick: this.stop }, h("span", { key: '32fb4ca4e93b26f24817db3c0aa2751be1de60d6', class: "co-lightbox__caption", title: img.alt }, img.alt), h("div", { key: '33c8ab802bd2d23e43adb02bb0428d302a07db74', class: "co-lightbox__zoom" }, h("button", { key: '9dc29e565c5dda21e746b6811a45ce6d4d4452d7', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomOut, title: s.zoomOut, onClick: () => this.zoomAt(this.scale / WHEEL_FACTOR, 0, 0) }, h("co-icon", { key: 'fccd37212da128bcb4d1dae7278d305e376fbdbb', name: "minus", size: 16 })), h("button", { key: 'c3119bb1829926d9426d5420504f9b48b600160c', class: "co-lightbox__btn co-lightbox__zoom-value", type: "button", "aria-label": s.zoomReset, title: s.zoomReset, onClick: () => this.resetView() }, Math.round(this.scale * 100), "%"), h("button", { key: 'cf38c2ad754af4d4faa9fb7ba824344578939c82', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomIn, title: s.zoomIn, onClick: () => this.zoomAt(this.scale * WHEEL_FACTOR, 0, 0) }, h("co-icon", { key: '017e7627ed2563c76e6b5dcf8dddee16ee37b9ec', name: "plus", size: 16 }))), h("button", { key: '2f57b78ea0d5ad1cde4d10e874681dfc1279c333', class: "co-lightbox__btn", type: "button", "aria-label": s.openOriginal, title: s.openOriginal, onClick: this.openOriginal }, h("co-icon", { key: 'f3de0f4b04e07966784efd3e87775f1add854578', name: "arrow-square-out", size: 16 })), h("button", { key: '459a464214f1b75ee1e7f9ec810f35e0d0ba426b', class: "co-lightbox__btn", part: "close", type: "button", "aria-label": s.close, title: s.close, ref: (el) => (this.closeBtnEl = el), onClick: this.requestClose }, h("co-icon", { key: '6208dfb164d75cbecb490b3237bc2350c224d7c3', name: "x", size: 16 })))), img && (h("div", { key: '1ba614d572e39b9e6f08a5810d129bca7b7b4f9b', class: "co-lightbox__stage", ref: (el) => (this.stageEl = el), onWheel: this.handleWheel }, h("img", { key: 'a61b425df6441845abbfaa3ae308bb16b7ac8813', class: {
289
+ return (h("div", { key: 'd48b05f652170cd961637700458eea0d56ded15a', class: { 'co-lightbox': true, 'co-lightbox--open': this.open }, part: "overlay", role: "dialog", "aria-modal": "true", "aria-label": img === null || img === void 0 ? void 0 : img.alt, onClick: this.requestClose }, img && (h("div", { key: '0c158b9cca8743480d189ee6abb1445d6892ebc1', class: "co-lightbox__toolbar", part: "toolbar", onClick: this.stop }, h("span", { key: 'c26684772cfd9ae9dd5c2393e54bc8366d3cc470', class: "co-lightbox__caption", title: img.alt }, img.alt), h("div", { key: '393614be92d88b31cab04cd8a5f21cb021fe6cda', class: "co-lightbox__zoom" }, h("button", { key: '5e4d5a1fc24a7aaeee4d11927c0ddb208b08fe71', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomOut, title: s.zoomOut, onClick: () => this.zoomAt(this.scale / WHEEL_FACTOR, 0, 0) }, h("co-icon", { key: '3caea68581b64d395d31d0ed2cd27d255ed9d402', name: "minus", size: 16 })), h("button", { key: '28df86fa8703245818fb60c4ee9e2d05dc19b1dd', class: "co-lightbox__btn co-lightbox__zoom-value", type: "button", "aria-label": s.zoomReset, title: s.zoomReset, onClick: () => this.resetView() }, Math.round(this.scale * 100), "%"), h("button", { key: '3e6307614505a720cba72214cc8e2f8c89d7be68', class: "co-lightbox__btn", type: "button", "aria-label": s.zoomIn, title: s.zoomIn, onClick: () => this.zoomAt(this.scale * WHEEL_FACTOR, 0, 0) }, h("co-icon", { key: '80f4f47e8768815d158d30e8ce29ad074d56bec6', name: "plus", size: 16 }))), h("button", { key: '97acb23668d83caae3923fde3dfaa6b2232ced0a', class: "co-lightbox__btn", type: "button", "aria-label": s.openOriginal, title: s.openOriginal, onClick: this.openOriginal }, h("co-icon", { key: 'b69d3de0a9912c71e2803272575d03d76d4d1d77', name: "arrow-square-out", size: 16 })), h("button", { key: '6a1cd64d3b5852d2707c0f01a8f16306b6cfd150', class: "co-lightbox__btn", part: "close", type: "button", "aria-label": s.close, title: s.close, ref: (el) => (this.closeBtnEl = el), onClick: this.requestClose }, h("co-icon", { key: '22b97a92c4d3651d0fadcbdbbdbda9581eee721b', name: "x", size: 16 })))), img && (h("div", { key: '41fce41bf57c1c4a0a765134f7cf4a1d57677e67', class: "co-lightbox__stage", ref: (el) => (this.stageEl = el), onWheel: this.handleWheel }, h("img", { key: '9b96e949be261813af8c44802e7a85c9892696c7', class: {
290
290
  'co-lightbox__img': true,
291
291
  'co-lightbox__img--zoomed': this.scale > MIN_SCALE,
292
292
  'co-lightbox__img--dragging': this.dragging,
293
- }, part: "image", ref: (el) => (this.imgEl = el), src: img.src, alt: img.alt || '', draggable: false, style: { transform: `translate(${this.tx}px, ${this.ty}px) scale(${this.scale})` }, onClick: this.stop, onDblClick: this.handleDblClick, onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerUp }))), img && multi && (h("button", { key: '8578fbfa008878324b15f2d7ade346f86f465bea', class: "co-lightbox__nav co-lightbox__nav--prev", part: "prev", type: "button", "aria-label": s.prevImage, title: s.prevImage, onClick: (e) => {
293
+ }, part: "image", ref: (el) => (this.imgEl = el), src: img.src, alt: img.alt || '', draggable: false, style: { transform: `translate(${this.tx}px, ${this.ty}px) scale(${this.scale})` }, onClick: this.stop, onDblClick: this.handleDblClick, onPointerDown: this.handlePointerDown, onPointerMove: this.handlePointerMove, onPointerUp: this.handlePointerUp, onPointerCancel: this.handlePointerUp }))), img && multi && (h("button", { key: '605186deca28fb6455e5f72ae0d0fd1380482947', class: "co-lightbox__nav co-lightbox__nav--prev", part: "prev", type: "button", "aria-label": s.prevImage, title: s.prevImage, onClick: (e) => {
294
294
  e.stopPropagation();
295
295
  this.goTo(-1);
296
- } }, h("co-icon", { key: 'e2ea791a38889d458c30155c3c6f65ea734ff1c8', name: "caret-left", size: 24 }))), img && multi && (h("button", { key: '1e3232f6fc181eb9444ee5ea7bdfe688ede28b55', class: "co-lightbox__nav co-lightbox__nav--next", part: "next", type: "button", "aria-label": s.nextImage, title: s.nextImage, onClick: (e) => {
296
+ } }, h("co-icon", { key: '5a782d3e4ae8578b2e3579db2a9b710f0219ce51', name: "caret-left", size: 24 }))), img && multi && (h("button", { key: '3695eb0397a9a13a48c66c3f502746ae86b1ffbe', class: "co-lightbox__nav co-lightbox__nav--next", part: "next", type: "button", "aria-label": s.nextImage, title: s.nextImage, onClick: (e) => {
297
297
  e.stopPropagation();
298
298
  this.goTo(1);
299
- } }, h("co-icon", { key: 'e591fcabe8c3f3c81c276c95d40e5dc6189bd4e0', name: "caret-right", size: 24 }))), img && multi && (h("div", { key: 'fd55eb538aa57b89ddf17598a1c58cfc8bbcc04b', class: "co-lightbox__counter", part: "counter", onClick: this.stop }, counter))));
299
+ } }, h("co-icon", { key: 'd39568adf357c46fd7445c070b9fcdcd6bbab845', name: "caret-right", size: 24 }))), img && multi && (h("div", { key: '8b1acaa692c196615f6f00641ba86c14687f6a2b', class: "co-lightbox__counter", part: "counter", onClick: this.stop }, counter))));
300
300
  }
301
301
  static get is() { return "co-lightbox"; }
302
302
  static get encapsulation() { return "shadow"; }
@@ -17,7 +17,7 @@ export class CoListFooter {
17
17
  this.handleSecondary = () => this.coSecondary.emit();
18
18
  }
19
19
  render() {
20
- return (h("div", { key: '89ebd30358e2c8b1e1461adb9a294862719dac2f', class: "co-list-footer", part: "footer" }, this.secondaryLabel && (h("button", { key: '877ee7f795c35c5b2845b606c40518a98f691d00', class: "co-list-footer__btn co-list-footer__btn--secondary", type: "button", onClick: this.handleSecondary }, this.secondaryIcon && h("co-icon", { key: '2ecba284a7ac5b1789900a6ab6f66d3e1692d894', name: this.secondaryIcon, size: 16 }), h("span", { key: '5a864d3d85e7a10fb66afd67805527d04cf496ae' }, this.secondaryLabel))), this.primaryLabel && (h("button", { key: '65281886aee6037f7386e6c92a0e9e158945b496', class: "co-list-footer__btn co-list-footer__btn--primary", type: "button", onClick: this.handlePrimary }, this.primaryIcon && h("co-icon", { key: 'cafc1fbda58a3b3d0dbbe9202e872bd1a96cfbf6', name: this.primaryIcon, size: 16 }), h("span", { key: 'd230a2a1edfe02c75c555f635be0dae8015cdfb9' }, this.primaryLabel))), h("slot", { key: '5f1bec4894b87226198d6154dd9c5f5e86272d4b' })));
20
+ return (h("div", { key: 'f2b6a2b71a038b5a2077d5bb4cb8f4b57aa85ebb', class: "co-list-footer", part: "footer" }, this.secondaryLabel && (h("button", { key: 'cfb849d4e483b104dd0d20c7241126bf2151c1cb', class: "co-list-footer__btn co-list-footer__btn--secondary", type: "button", onClick: this.handleSecondary }, this.secondaryIcon && h("co-icon", { key: '6edb490a4a7864056b07bb18b156e3674d785dfc', name: this.secondaryIcon, size: 16 }), h("span", { key: 'ac7501438e06aa52e215e6b8aea549aaf098d0b6' }, this.secondaryLabel))), this.primaryLabel && (h("button", { key: '6589a1a226b25f8393578ae11209c3388ea637b8', class: "co-list-footer__btn co-list-footer__btn--primary", type: "button", onClick: this.handlePrimary }, this.primaryIcon && h("co-icon", { key: '6665e17ca3bb9d439ef89f05973086d0a7bd7a8d', name: this.primaryIcon, size: 16 }), h("span", { key: '205c5f6653c264881a010a3def5ae65239b5333c' }, this.primaryLabel))), h("slot", { key: '48a894d428459f179161a1eb3fcbd5463ca760a6' })));
21
21
  }
22
22
  static get is() { return "co-list-footer"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -70,21 +70,21 @@ export class CoListItem {
70
70
  requestAnimationFrame(this.measureTruncation);
71
71
  }
72
72
  render() {
73
- return (h("div", { key: '1c6124749c2bc07f1f5118adf3a906d0316db256', class: {
73
+ return (h("div", { key: '9e287e86942493229ae39c750c8d53056795d844', class: {
74
74
  'co-list-item': true,
75
75
  'co-list-item--selected': this.selected,
76
76
  'co-list-item--disabled': this.disabled,
77
77
  'co-list-item--dense': this.dense,
78
78
  'co-list-item--has-description': !!this.description,
79
- }, part: "item", role: "option", tabindex: this.disabled ? -1 : 0, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("span", { key: 'd452e5ce3b962eebd63fb99d858192e56390e4fe', class: "co-list-item__prefix" }, this.icon && h("co-icon", { key: '1f2451697758c49bcce76c417ecdd1069a3b923c', name: this.icon, size: 18 }), h("slot", { key: '0366ddc338f487ebfda19c8455009ec7d547a768', name: "prefix" })), h("div", { key: '38e01734e0b6a16f7020eae8d6cf1731c59b3c64', class: "co-list-item__content" }, this.label && (h("co-tooltip", { key: '353d8e6ca59dbd957473cd8b60d51d9652c79780', block: true, class: "co-list-item__tip", content: this.label, placement: "top", disabled: !this.labelTruncated }, h("span", { key: '6d12b514cec487ec071a968787f1a0d94847be13', class: "co-list-item__label", ref: (el) => {
79
+ }, part: "item", role: "option", tabindex: this.disabled ? -1 : 0, "aria-selected": this.selected ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', onClick: this.handleClick, onKeyDown: this.handleKeyDown }, h("span", { key: 'da8fd1370809682631096a21da839a4092314a1b', class: "co-list-item__prefix" }, this.icon && h("co-icon", { key: '74c1a4cd94f272ff08f2236b130e60420e39aaf5', name: this.icon, size: 18 }), h("slot", { key: 'e70c4aa6c6498b410e2a4e88e5ab31b833d1ed81', name: "prefix" })), h("div", { key: 'b3e358b51214013373dc0b357ca9456ce96e23d3', class: "co-list-item__content" }, this.label && (h("co-tooltip", { key: '4fe172f4d48b26883edc4455f06a7b6f2127314d', block: true, class: "co-list-item__tip", content: this.label, placement: "top", disabled: !this.labelTruncated }, h("span", { key: '3885043ecaa5b3a302b2c1d34bce6c50546deaf0', class: "co-list-item__label", ref: (el) => {
80
80
  this.labelEl = el;
81
81
  if (el && this.ro)
82
82
  this.ro.observe(el);
83
- } }, this.label))), this.description && (h("co-tooltip", { key: 'c08d96031518a7c96ab0d6bb71b147f3aa769d50', block: true, class: "co-list-item__tip", content: this.description, placement: "top", disabled: !this.descTruncated }, h("span", { key: '33e4c5c76a1d066d408b07ff5dbe13e0dbea691a', class: "co-list-item__description", ref: (el) => {
83
+ } }, this.label))), this.description && (h("co-tooltip", { key: 'b57c867bd1e925fb1778caf8d7bd27ad31ede8f4', block: true, class: "co-list-item__tip", content: this.description, placement: "top", disabled: !this.descTruncated }, h("span", { key: '40b8331ec57e572bad8e774b51e251a2671fc3b1', class: "co-list-item__description", ref: (el) => {
84
84
  this.descEl = el;
85
85
  if (el && this.ro)
86
86
  this.ro.observe(el);
87
- } }, this.description))), h("slot", { key: '2e35ea5289301048d967b4b9bf11743101927118' })), h("span", { key: 'cd33f25a15fb3ad3a747fad14cccb3141967cc4b', class: "co-list-item__suffix" }, h("slot", { key: '25b6881aacf68e7b0e927d367ce9492a642d8224', name: "suffix" }))));
87
+ } }, this.description))), h("slot", { key: '61914fe8d8701e99d6a6f8b5e596c410d90544c7' })), h("span", { key: 'dbf531af497bf9f191351288894c4284582cc384', class: "co-list-item__suffix" }, h("slot", { key: '1a3c7df388d987a3b9835220bb847f3952c838d7', name: "suffix" }))));
88
88
  }
89
89
  static get is() { return "co-list-item"; }
90
90
  static get encapsulation() { return "shadow"; }
@@ -23,13 +23,13 @@ export class CoMediaThumb {
23
23
  }
24
24
  render() {
25
25
  var _a;
26
- return (h("div", { key: '003a31fad075f90eb6097f3a9c4844d7bb15285f', class: {
26
+ return (h("div", { key: 'daac4e719cbee00b1561e1c177e1c10c41c9b176', class: {
27
27
  'co-media-thumb': true,
28
28
  'co-media-thumb--video': this.video,
29
29
  }, part: "thumb", style: {
30
30
  height: this.toCss(this.height),
31
31
  borderRadius: `${this.radius}px`,
32
- } }, this.src ? (h("img", { class: "co-media-thumb__img", src: this.src, alt: (_a = this.alt) !== null && _a !== void 0 ? _a : '', part: "img" })) : (h("slot", null)), this.video && (h("div", { key: '11419e55099d3098081d33de77b372f545be8be2', class: "co-media-thumb__scrim", part: "scrim" }, h("div", { key: 'bd9249783989b073dfb21ac973bedbfc43ea655c', class: "co-media-thumb__play", part: "play" }, h("svg", { key: '6610a414fd2ad05f11aa810dd0703e7fab30ec8d', class: "co-media-thumb__play-icon", width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", "aria-hidden": "true" }, h("path", { key: 'b005c7540600ad137f159392f94c437eaf91c0d8', d: "M2 2l12 7-12 7z", fill: "var(--co-color-base-negro, #1f1c1b)" })))))));
32
+ } }, this.src ? (h("img", { class: "co-media-thumb__img", src: this.src, alt: (_a = this.alt) !== null && _a !== void 0 ? _a : '', part: "img" })) : (h("slot", null)), this.video && (h("div", { key: 'eb18d3023fe5d0ed32157f29b9237ad817ddb9ba', class: "co-media-thumb__scrim", part: "scrim" }, h("div", { key: '17746010acbdae2dfb6e6493ea283a8213bbfc66', class: "co-media-thumb__play", part: "play" }, h("svg", { key: 'ba88d6ce47d207c74982da22130f7d3df5f2b989', class: "co-media-thumb__play-icon", width: "16", height: "18", viewBox: "0 0 16 18", fill: "none", "aria-hidden": "true" }, h("path", { key: '6b92c3bfa258ec5937d1c649d379a0f79a4fd8d6', d: "M2 2l12 7-12 7z", fill: "var(--co-color-base-negro, #1f1c1b)" })))))));
33
33
  }
34
34
  static get is() { return "co-media-thumb"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -111,7 +111,7 @@ export class CoMenu {
111
111
  (_b = (_a = items[next]) === null || _a === void 0 ? void 0 : _a.focusItem) === null || _b === void 0 ? void 0 : _b.call(_a);
112
112
  }
113
113
  render() {
114
- return (h("co-popover", { key: '69e82f6a6eec310ca8ab45d1716eee124f4127f9', placement: this.placement, offset: this.offset, open: this.open, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("slot", { key: 'f03a749106eb2c3b566c5179fb7b43c88c6887ed', name: "trigger", slot: "trigger" }), h("div", { key: 'a133998147e906f1b96c79baccb345e6cc3aad57', class: "co-menu", role: "menu", style: this.width ? { width: this.width, minWidth: this.width } : undefined }, h("slot", { key: 'bdc28c804d63632df5849b82904741074fc161ef' }))));
114
+ return (h("co-popover", { key: 'fed7e38cf377fd31af692cd62bbfe98c47cf3afd', placement: this.placement, offset: this.offset, open: this.open, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("slot", { key: 'e45e443625aaa9923fbd833e14894d3f4beae7ba', name: "trigger", slot: "trigger" }), h("div", { key: 'c36809a4dba4a4bd7e2fde1e1a2d835f163431f0', class: "co-menu", role: "menu", style: this.width ? { width: this.width, minWidth: this.width } : undefined }, h("slot", { key: '0e59202b728f97083e8c0b2d127a29bf8c90861b' }))));
115
115
  }
116
116
  static get is() { return "co-menu"; }
117
117
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@ import { h } from "@stencil/core";
5
5
  */
6
6
  export class CoMenuDivider {
7
7
  render() {
8
- return h("hr", { key: 'dd21fada7235dda4e64c2a3a003b26c4dd65501e', class: "co-menu-divider", role: "separator" });
8
+ return h("hr", { key: '9e29bc7905c4b9d83846ea9e85021ae0f1e34fc3', class: "co-menu-divider", role: "separator" });
9
9
  }
10
10
  static get is() { return "co-menu-divider"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -58,7 +58,7 @@
58
58
  color: var(--co-color-status-error, #aa2e1b);
59
59
  }
60
60
  .co-menu-item--danger:hover {
61
- background: var(--co-color-status-error-bg, rgba(170, 46, 27, 0.08));
61
+ background: var(--co-color-status-bg-error, #ffefef);
62
62
  }
63
63
 
64
64
  .co-menu-item__icon {
@@ -62,14 +62,14 @@ export class CoModal {
62
62
  this.coClose.emit();
63
63
  }
64
64
  render() {
65
- return (h("co-overlay", { key: 'db9ac94c8fd2fe2e348fdee437aee9ddccdf85cb', open: this.open, onCoClose: this.handleOverlayClick }, h("div", { key: 'b2f0c174b09e2582c9e17ef18133b3e9057ace74', class: "co-modal__frame" }, h("div", { key: 'a3ae4c2a30d52b3c651ca80387f49f9344d9e89c', class: {
65
+ return (h("co-overlay", { key: '3560ee34e7edb62cd0ae34572bac0afbb5b02a74', open: this.open, onCoClose: this.handleOverlayClick }, h("div", { key: 'ba68e320e4e0a0881193f1d85f2d5a2ef287e324', class: "co-modal__frame" }, h("div", { key: '7d3748b4b0f8fc5a4715bd075d2d9f74e2ada0ed', class: {
66
66
  'co-modal': true,
67
67
  'co-modal--open': this.open,
68
68
  'co-modal--sm': this.size === 'sm',
69
69
  'co-modal--lg': this.size === 'lg',
70
70
  'co-modal--full': this.size === 'full',
71
71
  'co-modal--no-dividers': this.noDividers,
72
- }, part: "modal", ref: (el) => (this.modalEl = el), role: "dialog", "aria-modal": "true", "aria-labelledby": "modal-heading", onClick: this.stopPropagation, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: 'e90b7e7aa085ff53675586e66ee0ac5473a69cbc', class: "co-modal__header", part: "header" }, h("div", { key: 'e7ffccb3b8658e213d92f1a7873eebf6de42ef7d', class: "co-modal__header-text" }, h("h2", { key: '431e22f5bd933ee3052750e7e9abb7911fe24d9a', class: "co-modal__heading", id: "modal-heading" }, this.heading), this.description && (h("p", { key: 'f8e83dafce7ef899e5931902b568807063ea9ae3', class: "co-modal__description" }, this.description))), this.closable && (h("button", { key: '938dbc0df49067f359aa431ba0d16b89ad41a751', class: "co-modal__close", type: "button", "aria-label": "Close", onClick: this.handleCloseClick }, h("co-icon", { key: 'f1421d7d4441fff67259e21cf2a0107b6a57f746', name: "x", size: 20 })))), !this.noDividers && (h("div", { key: 'faf612d93e95232b46ebfb45089768bf09366a80', class: "co-modal__body", part: "body" }, h("slot", { key: '3c4dd9d1f3613a2f308cbc714426739a3aa6523d' }))), h("div", { key: '35546891b1847627de68a8f012e23fbfbdc1760b', class: "co-modal__footer", part: "footer" }, h("slot", { key: '263bd761b09998b9cc1f5f53d7dee87ccb5f4367', name: "footer" }))))));
72
+ }, part: "modal", ref: (el) => (this.modalEl = el), role: "dialog", "aria-modal": "true", "aria-labelledby": "modal-heading", onClick: this.stopPropagation, onTransitionEnd: this.handleTransitionEnd }, h("div", { key: '48239c6af5968213349a4f3516a96ab66d7aa744', class: "co-modal__header", part: "header" }, h("div", { key: 'c807b66cb3d2a1a5b84ee70677f5d33ceaa83a7c', class: "co-modal__header-text" }, h("h2", { key: '7fa46d607d26d0904014ad20209838bd237492f2', class: "co-modal__heading", id: "modal-heading" }, this.heading), this.description && (h("p", { key: '7e53e9b13ea2cc8eca07dc17cb240f19ce6eb1a1', class: "co-modal__description" }, this.description))), this.closable && (h("button", { key: '3af5d2c54faa331a6017cd19b96aea1f97baef03', class: "co-modal__close", type: "button", "aria-label": "Close", onClick: this.handleCloseClick }, h("co-icon", { key: 'd8f58ed52f686df6663515d38fa98d30a45392ee', name: "x", size: 20 })))), !this.noDividers && (h("div", { key: 'd69ffa8c7726633b744b014b3f7744822ffa6448', class: "co-modal__body", part: "body" }, h("slot", { key: '5d3faeee4f96f314a8045c0482f88da2f7f328c3' }))), h("div", { key: '5ff15a6387c186e2425ca08dc4b9085588f83f61', class: "co-modal__footer", part: "footer" }, h("slot", { key: '5742d36c7a46f3b4b535d9224f747bbca0d82305', name: "footer" }))))));
73
73
  }
74
74
  static get is() { return "co-modal"; }
75
75
  static get encapsulation() { return "shadow"; }
@@ -14,12 +14,12 @@ export class CoNavbar {
14
14
  this.rounded = false;
15
15
  }
16
16
  render() {
17
- return (h("div", { key: 'ed73dbf77742c009fbd37602925a43f217044027', class: {
17
+ return (h("div", { key: '0215148d2cd901a2b60f5ab14704891e97ff98dd', class: {
18
18
  'co-navbar': true,
19
19
  [`co-navbar--${this.variant}`]: true,
20
20
  [`co-navbar--${this.size}`]: true,
21
21
  'co-navbar--rounded': this.rounded,
22
- }, part: "navbar", role: "toolbar" }, h("slot", { key: '60235bb4ac473f67371094a735701fe40362db66' })));
22
+ }, part: "navbar", role: "toolbar" }, h("slot", { key: '6985aaea372d26291422e5533313c6d6dad85b08' })));
23
23
  }
24
24
  static get is() { return "co-navbar"; }
25
25
  static get encapsulation() { return "shadow"; }
@@ -51,10 +51,10 @@
51
51
  display: flex;
52
52
  align-items: center;
53
53
  gap: 0;
54
- background: color-mix(in srgb, var(--co-semantic-surface-secondary) 55%, transparent);
55
- -webkit-backdrop-filter: blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));
56
- backdrop-filter: blur(var(--co-glass-blur)) saturate(var(--co-glass-saturate));
57
- border: 1px solid var(--co-semantic-border-subtle);
54
+ /* Figma Text Field parity (same box as co-input): solid page surface +
55
+ Negro 25% border — tinted glass didn't read as editable on white. */
56
+ background: var(--co-semantic-surface-page);
57
+ border: 1px solid var(--co-color-opacity-negro-25, rgba(31, 28, 27, 0.25));
58
58
  border-radius: var(--co-border-radius-xs);
59
59
  min-height: 40px;
60
60
  overflow: hidden;
@@ -64,11 +64,11 @@
64
64
 
65
65
  /* ── Size variants (mirror co-input: s 28 / sm 32 / md 40 / lg 48) ── */
66
66
  .co-number-field--s .co-number-field__row { min-height: 28px; }
67
- .co-number-field--s .co-number-field__btn { width: 28px; height: 28px; }
67
+ .co-number-field--s .co-number-field__btn { width: 28px; }
68
68
  .co-number-field--sm .co-number-field__row { min-height: 32px; }
69
- .co-number-field--sm .co-number-field__btn { width: 32px; height: 32px; }
69
+ .co-number-field--sm .co-number-field__btn { width: 32px; }
70
70
  .co-number-field--lg .co-number-field__row { min-height: 48px; }
71
- .co-number-field--lg .co-number-field__btn { width: 48px; height: 48px; }
71
+ .co-number-field--lg .co-number-field__btn { width: 48px; }
72
72
 
73
73
  .co-number-field--focused .co-number-field__row {
74
74
  border-color: var(--co-semantic-border-focus);
@@ -91,7 +91,9 @@
91
91
  align-items: center;
92
92
  justify-content: center;
93
93
  width: 40px;
94
- height: 40px;
94
+ /* Fill the row's CONTENT height (row is border-box: 40px minus 1px borders
95
+ = 38px). A fixed 40px here inflated the whole field to 42px. */
96
+ align-self: stretch;
95
97
  flex-shrink: 0;
96
98
  border: none;
97
99
  background: transparent;
@@ -261,6 +263,3 @@
261
263
  content: var(--co-field-required-text, ' (required)');
262
264
  }
263
265
 
264
- @supports not (background: color-mix(in srgb, red, transparent)) {
265
- .co-number-field__row { background: var(--co-semantic-surface-secondary); }
266
- }
@@ -124,13 +124,13 @@ export class CoNumberField {
124
124
  this.coChange.emit(clamped);
125
125
  }
126
126
  render() {
127
- return (h("div", { key: 'b9d2918682c1943728aa412b5abb4e17c842d9bd', class: {
127
+ return (h("div", { key: '3c875500165c314b0080a19a7d33f8b1fc5f9724', class: {
128
128
  'co-number-field': true,
129
129
  'co-number-field--disabled': this.disabled,
130
130
  'co-number-field--focused': this.focused,
131
131
  [`co-number-field--${this.size}`]: true,
132
132
  [`co-number-field--${this.status}`]: this.status !== 'default',
133
- } }, (this.label || this.secondaryLabel) && (h("div", { key: 'baa117f0cfeba73015fe6a396b7001c83db76079', class: "co-number-field__labels" }, this.label && h("label", { key: '2593906b02ca0935ab1b3e8bcf51d8867a2b416a', class: "co-number-field__label" }, this.label, h(RequiredMark, { key: '40cc658fedb70c38e92e07cf1cd0b8a628fd6ca6', required: this.required })), this.secondaryLabel && h("span", { key: 'b495275c3f9108442d6a4cc1d36b23b510e9f151', class: "co-number-field__secondary-label" }, this.secondaryLabel))), h("div", { key: 'ac482c099f7952d26142b4e8aacac74fad2cd469', class: "co-number-field__row" }, h("button", { key: '617f9d33a8371bce87c9d8e56df88aef77dcc724', class: "co-number-field__btn co-number-field__btn--minus", type: "button", tabIndex: -1, disabled: !this.canDecrement, onClick: this.handleDecrement, "aria-label": "Decrease" }, h("co-icon", { key: '3242ac9dbbbcfeca024812b69d5f17a00fe4928a', name: "minus", size: 16 })), h("input", { key: 'beaab19de433dcc7b6ffd13678b68f2b229d8311', ref: el => (this.inputEl = el), class: "co-number-field__input", type: "text", inputMode: "decimal", value: this.isEmpty ? '' : String(this.toDisplay(this.value)), placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown }), this.scaled && !this.isEmpty && (h("span", { key: '5426965b700dccf1387071138d8dae113cf4fdf4', class: "co-number-field__affix", "aria-hidden": "true" }, "%")), this.clearable && !this.isEmpty && !this.disabled && (h("button", { key: 'f6f2e6a7f9a5a77fc96a8223a0eaad7880599e55', class: "co-number-field__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: '1c29c52af8720ffd2dbd5c5aa960107ad16c7613', name: "x-circle", size: 16, weight: "fill" }))), h("button", { key: '3a1265f41fcf4ca88b25e88f3921d0087aeede99', class: "co-number-field__btn co-number-field__btn--plus", type: "button", tabIndex: -1, disabled: !this.canIncrement, onClick: this.handleIncrement, "aria-label": "Increase" }, h("co-icon", { key: 'ac97bb8ee26e535b2c278e647b2edb1d3dbaac1b', name: "plus", size: 16 }))), this.helperText && (h("div", { key: '714e6fcd1f7ac625ec6702d97f72487b0448e8ed', class: `co-number-field__helper co-number-field__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '69cf83620410820ca2eaf3e473a0f815c812c69e', name: this.statusIcon, size: 14, weight: "fill", class: "co-number-field__helper-icon" }), h("span", { key: 'e185964aaa4a7410e5f5e78da88bd6b78de072b4', class: "co-number-field__helper-text" }, this.helperText)))));
133
+ } }, (this.label || this.secondaryLabel) && (h("div", { key: 'fe4c1d6e76adcda77f4a78697a7ce04c4f7e6b5d', class: "co-number-field__labels" }, this.label && h("label", { key: '69b9c4dde23541cbb2b8afdff97b6154bba8ab3c', class: "co-number-field__label" }, this.label, h(RequiredMark, { key: '8238966acaffee1c909ad0adee140e75aa458a72', required: this.required })), this.secondaryLabel && h("span", { key: '1f5ed492a1028f79eddf207ba29f40211f3934e2', class: "co-number-field__secondary-label" }, this.secondaryLabel))), h("div", { key: '95e65fe2e0634b4009cac07770b20b96431bceae', class: "co-number-field__row" }, h("button", { key: '45d3317ff00d91e1b259a69cd5a81d26ae4bb36e', class: "co-number-field__btn co-number-field__btn--minus", type: "button", tabIndex: -1, disabled: !this.canDecrement, onClick: this.handleDecrement, "aria-label": "Decrease" }, h("co-icon", { key: '457e2c19673b7a3ce73cf5f9c23bd69466065943', name: "minus", size: 16 })), h("input", { key: '03e01bd9bb518003d6895e6749ad80a5be3e7a86', ref: el => (this.inputEl = el), class: "co-number-field__input", type: "text", inputMode: "decimal", value: this.isEmpty ? '' : String(this.toDisplay(this.value)), placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown }), this.scaled && !this.isEmpty && (h("span", { key: 'd67834e59678f73ce4a9afb7074cfc248d34adb3', class: "co-number-field__affix", "aria-hidden": "true" }, "%")), this.clearable && !this.isEmpty && !this.disabled && (h("button", { key: 'e26cb4d5f271c480380f8e912e8c760bafd02d27', class: "co-number-field__clear", type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear" }, h("co-icon", { key: '908c2c60b3044d9032c4bdd5d41bcd25f406aa20', name: "x-circle", size: 16, weight: "fill" }))), h("button", { key: 'fe62938d48bc8df10bb364d5295f9ee192265f97', class: "co-number-field__btn co-number-field__btn--plus", type: "button", tabIndex: -1, disabled: !this.canIncrement, onClick: this.handleIncrement, "aria-label": "Increase" }, h("co-icon", { key: '227ec402b4280f1062ea13a8772ec8cf36dd4508', name: "plus", size: 16 }))), this.helperText && (h("div", { key: '87fd291f5db445c0ef2877cda10ed38d4af7a5d7', class: `co-number-field__helper co-number-field__helper--${this.status}` }, this.statusIcon && h("co-icon", { key: '344cfac2028d8e1ea402a68df83ade83c52b1bab', name: this.statusIcon, size: 14, weight: "fill", class: "co-number-field__helper-icon" }), h("span", { key: 'b12282d57952bae2f528505c92c4a216723d26fd', class: "co-number-field__helper-text" }, this.helperText)))));
134
134
  }
135
135
  static get is() { return "co-number-field"; }
136
136
  static get encapsulation() { return "shadow"; }