@prolibu-suite/cobalt-core 0.3.0 → 0.4.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 (536) hide show
  1. package/custom-elements.json +6407 -3168
  2. package/dist/cjs/co-accordion.cjs.entry.js +3 -3
  3. package/dist/cjs/co-app-shell.cjs.entry.js +3 -3
  4. package/dist/cjs/co-autocomplete.cjs.entry.js +2 -2
  5. package/dist/cjs/co-avatar-group.cjs.entry.js +1 -1
  6. package/dist/cjs/co-avatar.cjs.entry.js +9 -4
  7. package/dist/cjs/co-badge.cjs.entry.js +2 -2
  8. package/dist/cjs/co-bottom-sheet.cjs.entry.js +4 -4
  9. package/dist/cjs/co-breadcrumb-item.cjs.entry.js +37 -0
  10. package/dist/cjs/co-breadcrumb.cjs.entry.js +55 -0
  11. package/dist/cjs/co-button-group.cjs.entry.js +3 -3
  12. package/dist/cjs/co-button.cjs.entry.js +10 -4
  13. package/dist/cjs/co-calendar-month.cjs.entry.js +2 -2
  14. package/dist/cjs/co-calendar_3.cjs.entry.js +40 -10
  15. package/dist/cjs/co-card.cjs.entry.js +3 -3
  16. package/dist/cjs/co-checkbox-group.cjs.entry.js +1 -1
  17. package/dist/cjs/co-checkbox.cjs.entry.js +18 -6
  18. package/dist/cjs/co-chip.cjs.entry.js +12 -7
  19. package/dist/cjs/co-color-picker.cjs.entry.js +4 -4
  20. package/dist/cjs/co-column-picker.cjs.entry.js +3 -3
  21. package/dist/cjs/co-combobox.cjs.entry.js +2 -2
  22. package/dist/cjs/co-command-search.cjs.entry.js +5 -5
  23. package/dist/cjs/co-data-table-pagination.cjs.entry.js +5 -5
  24. package/dist/cjs/co-data-table.cjs.entry.js +23 -16
  25. package/dist/cjs/co-date-picker.cjs.entry.js +2 -2
  26. package/dist/cjs/co-date-range-picker.cjs.entry.js +2 -2
  27. package/dist/cjs/co-date-range.cjs.entry.js +2 -2
  28. package/dist/cjs/co-drive-card.cjs.entry.js +81 -0
  29. package/dist/cjs/co-drop-zone.cjs.entry.js +63 -0
  30. package/dist/cjs/co-empty-state.cjs.entry.js +13 -3
  31. package/dist/cjs/co-event-calendar.cjs.entry.js +3 -3
  32. package/dist/cjs/co-fab.cjs.entry.js +3 -3
  33. package/dist/cjs/co-file-field.cjs.entry.js +7 -7
  34. package/dist/cjs/co-file-type-tile.cjs.entry.js +78 -0
  35. package/dist/cjs/co-helper-text.cjs.entry.js +3 -3
  36. package/dist/cjs/co-icon-button.cjs.entry.js +23 -7
  37. package/dist/cjs/co-icon.cjs.entry.js +3 -3
  38. package/dist/cjs/co-input.cjs.entry.js +36 -7
  39. package/dist/cjs/co-json-field.cjs.entry.js +5 -5
  40. package/dist/cjs/co-lightbox.cjs.entry.js +5 -5
  41. package/dist/cjs/co-list-footer.cjs.entry.js +2 -2
  42. package/dist/cjs/co-list-item.cjs.entry.js +5 -5
  43. package/dist/cjs/co-loader.cjs.entry.js +34 -0
  44. package/dist/cjs/co-media-thumb.cjs.entry.js +36 -0
  45. package/dist/cjs/co-menu-divider.cjs.entry.js +2 -2
  46. package/dist/cjs/co-menu-item.cjs.entry.js +11 -3
  47. package/dist/cjs/co-menu.cjs.entry.js +3 -3
  48. package/dist/cjs/co-modal.cjs.entry.js +29 -5
  49. package/dist/cjs/co-navbar.cjs.entry.js +3 -3
  50. package/dist/cjs/co-number-field.cjs.entry.js +4 -4
  51. package/dist/cjs/co-option-list.cjs.entry.js +379 -0
  52. package/dist/cjs/{co-loader_2.cjs.entry.js → co-overlay.cjs.entry.js} +2 -32
  53. package/dist/cjs/co-page-header.cjs.entry.js +2 -2
  54. package/dist/cjs/co-phone-field.cjs.entry.js +3 -3
  55. package/dist/cjs/co-popover.cjs.entry.js +3 -3
  56. package/dist/cjs/co-progress-bar.cjs.entry.js +3 -3
  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 +4 -4
  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 +2 -2
  65. package/dist/cjs/co-row.cjs.entry.js +3 -3
  66. package/dist/cjs/co-segmented-bar.cjs.entry.js +58 -0
  67. package/dist/cjs/co-select.cjs.entry.js +6 -6
  68. package/dist/cjs/co-separator.cjs.entry.js +2 -2
  69. package/dist/cjs/co-sidebar-nav.cjs.entry.js +3 -3
  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 +5 -5
  74. package/dist/cjs/co-tab-group.cjs.entry.js +15 -3
  75. package/dist/cjs/co-tab.cjs.entry.js +8 -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 +10 -4
  79. package/dist/cjs/co-toggle-button-group.cjs.entry.js +16 -4
  80. package/dist/cjs/co-toggle-button.cjs.entry.js +9 -5
  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 +3 -3
  84. package/dist/cjs/cobalt.cjs.js +2 -2
  85. package/dist/cjs/{fieldChip-CDIMz_Y6.js → fieldChip-DtYUP0VZ.js} +1 -1
  86. package/dist/cjs/{index-5NdsiFjZ.js → index-4y1Dm145.js} +64 -11
  87. package/dist/cjs/{index-BumlM92r.js → index-NNvye1ul.js} +68 -8
  88. package/dist/cjs/loader.cjs.js +2 -2
  89. package/dist/cjs/{requiredMark-CqMGt1H1.js → requiredMark-DyjZzUCd.js} +1 -1
  90. package/dist/cobalt/cobalt.esm.js +1 -1
  91. package/dist/cobalt/{p-635b03d5.entry.js → p-06c27cc5.entry.js} +1 -1
  92. package/dist/cobalt/p-075f6ca4.entry.js +1 -0
  93. package/dist/cobalt/{p-0a506c9d.entry.js → p-0810ee1e.entry.js} +1 -1
  94. package/dist/cobalt/p-08519a7c.entry.js +1 -0
  95. package/dist/cobalt/p-0b41e76e.entry.js +1 -0
  96. package/dist/cobalt/{p-d809bd44.entry.js → p-0be124d5.entry.js} +1 -1
  97. package/dist/cobalt/{p-8d59f5ad.entry.js → p-0e1afdea.entry.js} +1 -1
  98. package/dist/cobalt/{p-e53861e4.entry.js → p-1388eac6.entry.js} +1 -1
  99. package/dist/cobalt/{p-8dc1dab8.entry.js → p-19f7ee64.entry.js} +1 -1
  100. package/dist/cobalt/{p-29be61a9.entry.js → p-1af6ef83.entry.js} +1 -1
  101. package/dist/cobalt/{p-58a53421.entry.js → p-1cecb9e1.entry.js} +1 -1
  102. package/dist/cobalt/{p-ef7d4ae3.entry.js → p-20c68308.entry.js} +1 -1
  103. package/dist/cobalt/p-21916f82.entry.js +1 -0
  104. package/dist/cobalt/{p-3e187456.entry.js → p-23c9208a.entry.js} +1 -1
  105. package/dist/cobalt/{p-c10697e1.entry.js → p-2d4e1ca8.entry.js} +1 -1
  106. package/dist/cobalt/{p-377c2ccc.entry.js → p-304c3be1.entry.js} +1 -1
  107. package/dist/cobalt/{p-9abbd436.entry.js → p-311118cb.entry.js} +1 -1
  108. package/dist/cobalt/p-328f0470.entry.js +1 -0
  109. package/dist/cobalt/p-35c63fdc.entry.js +1 -0
  110. package/dist/cobalt/{p-70b14b05.entry.js → p-363a5262.entry.js} +1 -1
  111. package/dist/cobalt/p-376c43b8.entry.js +1 -0
  112. package/dist/cobalt/{p-afb7e19e.entry.js → p-39a29bbb.entry.js} +1 -1
  113. package/dist/cobalt/{p-1a07c23c.entry.js → p-3d07e4a9.entry.js} +1 -1
  114. package/dist/cobalt/{p-cb235aa7.entry.js → p-3dd6b57b.entry.js} +1 -1
  115. package/dist/cobalt/{p-9a088515.entry.js → p-48c5f311.entry.js} +1 -1
  116. package/dist/cobalt/{p-37595103.entry.js → p-4aeefe3f.entry.js} +1 -1
  117. package/dist/cobalt/p-523cfd98.entry.js +1 -0
  118. package/dist/cobalt/{p-9a04ca90.entry.js → p-58aed8d6.entry.js} +1 -1
  119. package/dist/cobalt/{p-93046365.entry.js → p-593fd213.entry.js} +1 -1
  120. package/dist/cobalt/{p-64ddee92.entry.js → p-5eecea26.entry.js} +1 -1
  121. package/dist/cobalt/p-64a0b656.entry.js +1 -0
  122. package/dist/cobalt/p-69289e82.entry.js +1 -0
  123. package/dist/cobalt/p-6a3ed174.entry.js +1 -0
  124. package/dist/cobalt/{p-1531d3c9.entry.js → p-6f12e721.entry.js} +1 -1
  125. package/dist/cobalt/{p-4871690e.entry.js → p-7040e4c5.entry.js} +1 -1
  126. package/dist/cobalt/p-755ecee1.entry.js +1 -0
  127. package/dist/cobalt/p-76b46336.entry.js +1 -0
  128. package/dist/cobalt/{p-65af5017.entry.js → p-79e49749.entry.js} +1 -1
  129. package/dist/cobalt/p-7b5dec05.entry.js +1 -0
  130. package/dist/cobalt/p-7d9f2021.entry.js +1 -0
  131. package/dist/cobalt/{p-51a53177.entry.js → p-804d025f.entry.js} +1 -1
  132. package/dist/cobalt/{p-0bb55163.entry.js → p-860a685f.entry.js} +1 -1
  133. package/dist/cobalt/p-87289d32.entry.js +1 -0
  134. package/dist/cobalt/{p-b6f20268.entry.js → p-8ae5da0c.entry.js} +1 -1
  135. package/dist/cobalt/p-8fdf2163.entry.js +1 -0
  136. package/dist/cobalt/p-9310739f.entry.js +1 -0
  137. package/dist/cobalt/{p-31ab9a46.entry.js → p-96baec0e.entry.js} +1 -1
  138. package/dist/cobalt/p-BUgUTjOB.js +1 -0
  139. package/dist/cobalt/{p-CegCk7FL.js → p-Bgxofdfb.js} +1 -1
  140. package/dist/cobalt/{p-BZJ7NCm5.js → p-BxzuCRMr.js} +1 -1
  141. package/dist/cobalt/p-Es9IUmmt.js +2 -0
  142. package/dist/cobalt/{p-8d7fdb9d.entry.js → p-a0749d7b.entry.js} +1 -1
  143. package/dist/cobalt/{p-1dc9c49e.entry.js → p-a71fd4f1.entry.js} +1 -1
  144. package/dist/cobalt/{p-52de17da.entry.js → p-aa1ad9fa.entry.js} +1 -1
  145. package/dist/cobalt/p-af0495d8.entry.js +1 -0
  146. package/dist/cobalt/{p-260101ab.entry.js → p-b045d680.entry.js} +1 -1
  147. package/dist/cobalt/{p-5890e4d1.entry.js → p-b3c8fc9a.entry.js} +1 -1
  148. package/dist/cobalt/p-b4dcc260.entry.js +1 -0
  149. package/dist/cobalt/p-b8200f7f.entry.js +1 -0
  150. package/dist/cobalt/p-b8f36f12.entry.js +1 -0
  151. package/dist/cobalt/{p-62274eba.entry.js → p-ba6f0f90.entry.js} +1 -1
  152. package/dist/cobalt/{p-279bf91c.entry.js → p-bae82095.entry.js} +1 -1
  153. package/dist/cobalt/{p-cfb36943.entry.js → p-be3e61f4.entry.js} +1 -1
  154. package/dist/cobalt/p-c1abc74b.entry.js +1 -0
  155. package/dist/cobalt/{p-ba90e871.entry.js → p-c23a2ff6.entry.js} +1 -1
  156. package/dist/cobalt/{p-f4063c41.entry.js → p-c682453a.entry.js} +1 -1
  157. package/dist/cobalt/{p-790d384e.entry.js → p-c857b9ff.entry.js} +1 -1
  158. package/dist/cobalt/{p-4504f7b0.entry.js → p-c85a6a9e.entry.js} +1 -1
  159. package/dist/cobalt/p-ca108c6d.entry.js +1 -0
  160. package/dist/cobalt/p-cf239452.entry.js +1 -0
  161. package/dist/cobalt/p-d2507f04.entry.js +1 -0
  162. package/dist/cobalt/p-d403d9c4.entry.js +1 -0
  163. package/dist/cobalt/{p-2f86e1e0.entry.js → p-d4086c34.entry.js} +1 -1
  164. package/dist/cobalt/p-d55652f2.entry.js +1 -0
  165. package/dist/cobalt/{p-12e2c2c4.entry.js → p-d7c9cf93.entry.js} +1 -1
  166. package/dist/cobalt/{p-1f747e45.entry.js → p-d7cbb4c7.entry.js} +1 -1
  167. package/dist/cobalt/p-da211abf.entry.js +1 -0
  168. package/dist/cobalt/p-dcc7fc95.entry.js +1 -0
  169. package/dist/cobalt/p-dd03c00b.entry.js +1 -0
  170. package/dist/cobalt/p-e55fb916.entry.js +1 -0
  171. package/dist/cobalt/p-e8e752f9.entry.js +1 -0
  172. package/dist/cobalt/{p-3863ea91.entry.js → p-e93644cb.entry.js} +1 -1
  173. package/dist/cobalt/{p-6e808b3a.entry.js → p-f6b93f17.entry.js} +1 -1
  174. package/dist/cobalt/{p-6d1217c3.entry.js → p-f72f0e38.entry.js} +1 -1
  175. package/dist/cobalt/{p-8e1dc062.entry.js → p-fb86cdb9.entry.js} +1 -1
  176. package/dist/cobalt/p-ff6be242.entry.js +1 -0
  177. package/dist/collection/collection-manifest.json +8 -0
  178. package/dist/collection/components/co-accordion/co-accordion.js +2 -2
  179. package/dist/collection/components/co-app-shell/co-app-shell.js +2 -2
  180. package/dist/collection/components/co-avatar/co-avatar.js +27 -3
  181. package/dist/collection/components/co-badge/co-badge.js +1 -1
  182. package/dist/collection/components/co-bottom-sheet/co-bottom-sheet.js +3 -3
  183. package/dist/collection/components/co-breadcrumb/co-breadcrumb.css +6 -0
  184. package/dist/collection/components/co-breadcrumb/co-breadcrumb.js +111 -0
  185. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.css +66 -0
  186. package/dist/collection/components/co-breadcrumb-item/co-breadcrumb-item.js +169 -0
  187. package/dist/collection/components/co-button/co-button.css +23 -0
  188. package/dist/collection/components/co-button/co-button.js +48 -2
  189. package/dist/collection/components/co-button-group/co-button-group.js +2 -2
  190. package/dist/collection/components/co-calendar/co-calendar.js +1 -1
  191. package/dist/collection/components/co-calendar-month/co-calendar-month.js +1 -1
  192. package/dist/collection/components/co-card/co-card.js +2 -2
  193. package/dist/collection/components/co-checkbox/co-checkbox.css +63 -0
  194. package/dist/collection/components/co-checkbox/co-checkbox.js +58 -7
  195. package/dist/collection/components/co-chip/co-chip.css +56 -1
  196. package/dist/collection/components/co-chip/co-chip.js +52 -9
  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-command-search/co-command-search.js +4 -4
  200. package/dist/collection/components/co-data-table/co-data-table.css +5 -1
  201. package/dist/collection/components/co-data-table/co-data-table.js +93 -14
  202. package/dist/collection/components/co-data-table-pagination/co-data-table-pagination.js +4 -4
  203. package/dist/collection/components/co-date-field/co-date-field.js +4 -4
  204. package/dist/collection/components/co-date-range/co-date-range.js +1 -1
  205. package/dist/collection/components/co-drawer/co-drawer.css +20 -3
  206. package/dist/collection/components/co-drawer/co-drawer.js +52 -2
  207. package/dist/collection/components/co-drive-card/co-drive-card.css +285 -0
  208. package/dist/collection/components/co-drive-card/co-drive-card.js +329 -0
  209. package/dist/collection/components/co-drop-zone/co-drop-zone.css +49 -0
  210. package/dist/collection/components/co-drop-zone/co-drop-zone.js +197 -0
  211. package/dist/collection/components/co-empty-state/co-empty-state.css +38 -0
  212. package/dist/collection/components/co-empty-state/co-empty-state.js +72 -1
  213. package/dist/collection/components/co-event-calendar/co-event-calendar.js +2 -2
  214. package/dist/collection/components/co-fab/co-fab.js +2 -2
  215. package/dist/collection/components/co-file-field/co-file-field.js +5 -5
  216. package/dist/collection/components/co-file-type-tile/co-file-type-tile.css +14 -0
  217. package/dist/collection/components/co-file-type-tile/co-file-type-tile.js +164 -0
  218. package/dist/collection/components/co-helper-text/co-helper-text.js +2 -2
  219. package/dist/collection/components/co-icon/co-icon.js +2 -2
  220. package/dist/collection/components/co-icon-button/co-icon-button.css +11 -4
  221. package/dist/collection/components/co-icon-button/co-icon-button.js +80 -25
  222. package/dist/collection/components/co-input/co-input.css +58 -0
  223. package/dist/collection/components/co-input/co-input.js +54 -5
  224. package/dist/collection/components/co-json-field/co-json-field.js +3 -3
  225. package/dist/collection/components/co-lightbox/co-lightbox.js +4 -4
  226. package/dist/collection/components/co-list-footer/co-list-footer.js +1 -1
  227. package/dist/collection/components/co-list-item/co-list-item.js +4 -4
  228. package/dist/collection/components/co-media-thumb/co-media-thumb.css +43 -0
  229. package/dist/collection/components/co-media-thumb/co-media-thumb.js +148 -0
  230. package/dist/collection/components/co-menu/co-menu.css +6 -4
  231. package/dist/collection/components/co-menu/co-menu.js +20 -1
  232. package/dist/collection/components/co-menu-divider/co-menu-divider.js +1 -1
  233. package/dist/collection/components/co-menu-item/co-menu-item.css +26 -8
  234. package/dist/collection/components/co-menu-item/co-menu-item.js +69 -2
  235. package/dist/collection/components/co-modal/co-modal.css +17 -0
  236. package/dist/collection/components/co-modal/co-modal.js +59 -6
  237. package/dist/collection/components/co-navbar/co-navbar.js +2 -2
  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 +228 -0
  240. package/dist/collection/components/co-option-list/co-option-list.js +860 -0
  241. package/dist/collection/components/co-option-list/optionListLogic.js +100 -0
  242. package/dist/collection/components/co-overlay/co-overlay.js +1 -1
  243. package/dist/collection/components/co-page-header/co-page-header.js +1 -1
  244. package/dist/collection/components/co-phone-field/co-phone-field.js +1 -1
  245. package/dist/collection/components/co-popover/co-popover.js +2 -2
  246. package/dist/collection/components/co-progress-bar/co-progress-bar.js +2 -2
  247. package/dist/collection/components/co-progress-circle/co-progress-circle.js +2 -2
  248. package/dist/collection/components/co-radio/co-radio.js +3 -3
  249. package/dist/collection/components/co-radio-group/co-radio-group.js +3 -3
  250. package/dist/collection/components/co-rating/co-rating.js +3 -3
  251. package/dist/collection/components/co-ref-field/co-ref-field.js +0 -0
  252. package/dist/collection/components/co-rich-text-editor/co-rich-text-editor.js +2 -2
  253. package/dist/collection/components/co-row/co-row.js +2 -2
  254. package/dist/collection/components/co-segmented-bar/co-segmented-bar.css +36 -0
  255. package/dist/collection/components/co-segmented-bar/co-segmented-bar.js +176 -0
  256. package/dist/collection/components/co-select/co-select.js +4 -4
  257. package/dist/collection/components/co-separator/co-separator.js +1 -1
  258. package/dist/collection/components/co-sidebar/co-sidebar.js +2 -2
  259. package/dist/collection/components/co-sidebar-nav/co-sidebar-nav.js +2 -2
  260. package/dist/collection/components/co-skeleton/co-skeleton.js +1 -1
  261. package/dist/collection/components/co-slider/co-slider.js +2 -2
  262. package/dist/collection/components/co-switch/co-switch.js +3 -3
  263. package/dist/collection/components/co-tab/co-tab.css +54 -3
  264. package/dist/collection/components/co-tab/co-tab.js +45 -3
  265. package/dist/collection/components/co-tab-group/co-tab-group.css +8 -0
  266. package/dist/collection/components/co-tab-group/co-tab-group.js +35 -1
  267. package/dist/collection/components/co-tags-field/co-tags-field.js +5 -5
  268. package/dist/collection/components/co-textarea/co-textarea.js +4 -4
  269. package/dist/collection/components/co-toast/co-toast.css +56 -2
  270. package/dist/collection/components/co-toast/co-toast.js +27 -2
  271. package/dist/collection/components/co-toggle-button/co-toggle-button.css +38 -0
  272. package/dist/collection/components/co-toggle-button/co-toggle-button.js +46 -3
  273. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.css +16 -0
  274. package/dist/collection/components/co-toggle-button-group/co-toggle-button-group.js +34 -2
  275. package/dist/collection/components/co-tooltip/co-tooltip.js +2 -2
  276. package/dist/collection/components/co-transfer-list/co-transfer-list.js +2 -2
  277. package/dist/collection/components/co-video/co-video.js +2 -2
  278. package/dist/components/co-accordion.js +1 -1
  279. package/dist/components/co-app-shell.js +1 -1
  280. package/dist/components/co-autocomplete.js +1 -1
  281. package/dist/components/co-avatar-group.js +1 -1
  282. package/dist/components/co-avatar.js +1 -1
  283. package/dist/components/co-badge.js +1 -1
  284. package/dist/components/co-bottom-sheet.js +1 -1
  285. package/dist/components/co-breadcrumb-item.d.ts +11 -0
  286. package/dist/components/co-breadcrumb-item.js +1 -0
  287. package/dist/components/co-breadcrumb.d.ts +11 -0
  288. package/dist/components/co-breadcrumb.js +1 -0
  289. package/dist/components/co-button-group.js +1 -1
  290. package/dist/components/co-button.js +1 -1
  291. package/dist/components/co-calendar-month.js +1 -1
  292. package/dist/components/co-calendar.js +1 -1
  293. package/dist/components/co-card.js +1 -1
  294. package/dist/components/co-checkbox-group.js +1 -1
  295. package/dist/components/co-checkbox.js +1 -1
  296. package/dist/components/co-chip.js +1 -1
  297. package/dist/components/co-color-picker.js +1 -1
  298. package/dist/components/co-column-picker.js +1 -1
  299. package/dist/components/co-combobox.js +1 -1
  300. package/dist/components/co-command-search.js +1 -1
  301. package/dist/components/co-data-table-pagination.js +1 -1
  302. package/dist/components/co-data-table.js +1 -1
  303. package/dist/components/co-date-field.js +1 -1
  304. package/dist/components/co-date-picker.js +1 -1
  305. package/dist/components/co-date-range-picker.js +1 -1
  306. package/dist/components/co-date-range.js +1 -1
  307. package/dist/components/co-drawer.js +1 -1
  308. package/dist/components/co-drive-card.d.ts +11 -0
  309. package/dist/components/co-drive-card.js +1 -0
  310. package/dist/components/co-drop-zone.d.ts +11 -0
  311. package/dist/components/co-drop-zone.js +1 -0
  312. package/dist/components/co-empty-state.js +1 -1
  313. package/dist/components/co-event-calendar.js +1 -1
  314. package/dist/components/co-fab.js +1 -1
  315. package/dist/components/co-file-field.js +1 -1
  316. package/dist/components/co-file-type-tile.d.ts +11 -0
  317. package/dist/components/co-file-type-tile.js +1 -0
  318. package/dist/components/co-helper-text.js +1 -1
  319. package/dist/components/co-icon-button.js +1 -1
  320. package/dist/components/co-icon.js +1 -1
  321. package/dist/components/co-input.js +1 -1
  322. package/dist/components/co-json-field.js +1 -1
  323. package/dist/components/co-lightbox.js +1 -1
  324. package/dist/components/co-list-footer.js +1 -1
  325. package/dist/components/co-list-item.js +1 -1
  326. package/dist/components/co-media-thumb.d.ts +11 -0
  327. package/dist/components/co-media-thumb.js +1 -0
  328. package/dist/components/co-menu-divider.js +1 -1
  329. package/dist/components/co-menu-item.js +1 -1
  330. package/dist/components/co-menu.js +1 -1
  331. package/dist/components/co-modal.js +1 -1
  332. package/dist/components/co-navbar.js +1 -1
  333. package/dist/components/co-number-field.js +1 -1
  334. package/dist/components/co-option-list.d.ts +11 -0
  335. package/dist/components/co-option-list.js +1 -0
  336. package/dist/components/co-overlay.js +1 -1
  337. package/dist/components/co-page-header.js +1 -1
  338. package/dist/components/co-phone-field.js +1 -1
  339. package/dist/components/co-popover.js +1 -1
  340. package/dist/components/co-progress-bar.js +1 -1
  341. package/dist/components/co-progress-circle.js +1 -1
  342. package/dist/components/co-radio-group.js +1 -1
  343. package/dist/components/co-radio.js +1 -1
  344. package/dist/components/co-rating.js +1 -1
  345. package/dist/components/co-ref-field.js +1 -1
  346. package/dist/components/co-rich-text-editor.js +1 -1
  347. package/dist/components/co-rich-text-toolbar.js +1 -1
  348. package/dist/components/co-rich-text-viewer.js +1 -1
  349. package/dist/components/co-row.js +1 -1
  350. package/dist/components/co-segmented-bar.d.ts +11 -0
  351. package/dist/components/co-segmented-bar.js +1 -0
  352. package/dist/components/co-select.js +1 -1
  353. package/dist/components/co-separator.js +1 -1
  354. package/dist/components/co-sidebar-nav.js +1 -1
  355. package/dist/components/co-sidebar.js +1 -1
  356. package/dist/components/co-skeleton.js +1 -1
  357. package/dist/components/co-slider.js +1 -1
  358. package/dist/components/co-switch.js +1 -1
  359. package/dist/components/co-tab-group.js +1 -1
  360. package/dist/components/co-tab.js +1 -1
  361. package/dist/components/co-tags-field.js +1 -1
  362. package/dist/components/co-textarea.js +1 -1
  363. package/dist/components/co-toast.js +1 -1
  364. package/dist/components/co-toggle-button-group.js +1 -1
  365. package/dist/components/co-toggle-button.js +1 -1
  366. package/dist/components/co-tooltip.js +1 -1
  367. package/dist/components/co-transfer-list.js +1 -1
  368. package/dist/components/co-video.js +1 -1
  369. package/dist/components/index.js +1 -1
  370. package/dist/components/{p-D3Y_ti3Q.js → p-B0buzt_E.js} +1 -1
  371. package/dist/components/p-B3igDRut.js +1 -0
  372. package/dist/components/{p-CegCk7FL.js → p-Bgxofdfb.js} +1 -1
  373. package/dist/components/p-BhSJcOUS.js +1 -0
  374. package/dist/components/{p-DKh8ZK4U.js → p-BnTTeIFH.js} +1 -1
  375. package/dist/components/{p-DeZxp9vb.js → p-Bx1OwdIV.js} +1 -1
  376. package/dist/components/{p-C_ULDaks.js → p-BxiKVtk4.js} +1 -1
  377. package/dist/components/{p-DxCFMMfY.js → p-C7tPadNy.js} +1 -1
  378. package/dist/components/p-CBzpUqwG.js +1 -0
  379. package/dist/components/{p-BNKz39GA.js → p-CUvAZhuM.js} +1 -1
  380. package/dist/components/{p-tloAgDin.js → p-CZKHHCdL.js} +1 -1
  381. package/dist/components/{p-BB2OaYKF.js → p-CybHxq25.js} +1 -1
  382. package/dist/components/{p-BFeE_fiq.js → p-CzkeIavk.js} +1 -1
  383. package/dist/components/p-D7dk2gM7.js +1 -0
  384. package/dist/components/p-DTS-dgEe.js +1 -0
  385. package/dist/components/{p-B7vGYFbO.js → p-HXlAaApx.js} +1 -1
  386. package/dist/components/p-K6LC1Hz4.js +1 -0
  387. package/dist/components/p-LAxCvyJl.js +1 -0
  388. package/dist/components/p-vLFwJ77w.js +1 -0
  389. package/dist/esm/co-accordion.entry.js +3 -3
  390. package/dist/esm/co-app-shell.entry.js +3 -3
  391. package/dist/esm/co-autocomplete.entry.js +2 -2
  392. package/dist/esm/co-avatar-group.entry.js +1 -1
  393. package/dist/esm/co-avatar.entry.js +9 -4
  394. package/dist/esm/co-badge.entry.js +2 -2
  395. package/dist/esm/co-bottom-sheet.entry.js +4 -4
  396. package/dist/esm/co-breadcrumb-item.entry.js +35 -0
  397. package/dist/esm/co-breadcrumb.entry.js +53 -0
  398. package/dist/esm/co-button-group.entry.js +3 -3
  399. package/dist/esm/co-button.entry.js +10 -4
  400. package/dist/esm/co-calendar-month.entry.js +2 -2
  401. package/dist/esm/co-calendar_3.entry.js +40 -10
  402. package/dist/esm/co-card.entry.js +3 -3
  403. package/dist/esm/co-checkbox-group.entry.js +1 -1
  404. package/dist/esm/co-checkbox.entry.js +18 -6
  405. package/dist/esm/co-chip.entry.js +12 -7
  406. package/dist/esm/co-color-picker.entry.js +4 -4
  407. package/dist/esm/co-column-picker.entry.js +3 -3
  408. package/dist/esm/co-combobox.entry.js +2 -2
  409. package/dist/esm/co-command-search.entry.js +5 -5
  410. package/dist/esm/co-data-table-pagination.entry.js +5 -5
  411. package/dist/esm/co-data-table.entry.js +23 -16
  412. package/dist/esm/co-date-picker.entry.js +2 -2
  413. package/dist/esm/co-date-range-picker.entry.js +2 -2
  414. package/dist/esm/co-date-range.entry.js +2 -2
  415. package/dist/esm/co-drive-card.entry.js +79 -0
  416. package/dist/esm/co-drop-zone.entry.js +61 -0
  417. package/dist/esm/co-empty-state.entry.js +13 -3
  418. package/dist/esm/co-event-calendar.entry.js +3 -3
  419. package/dist/esm/co-fab.entry.js +3 -3
  420. package/dist/esm/co-file-field.entry.js +7 -7
  421. package/dist/esm/co-file-type-tile.entry.js +76 -0
  422. package/dist/esm/co-helper-text.entry.js +3 -3
  423. package/dist/esm/co-icon-button.entry.js +23 -7
  424. package/dist/esm/co-icon.entry.js +3 -3
  425. package/dist/esm/co-input.entry.js +36 -7
  426. package/dist/esm/co-json-field.entry.js +5 -5
  427. package/dist/esm/co-lightbox.entry.js +5 -5
  428. package/dist/esm/co-list-footer.entry.js +2 -2
  429. package/dist/esm/co-list-item.entry.js +5 -5
  430. package/dist/esm/co-loader.entry.js +32 -0
  431. package/dist/esm/co-media-thumb.entry.js +34 -0
  432. package/dist/esm/co-menu-divider.entry.js +2 -2
  433. package/dist/esm/co-menu-item.entry.js +11 -3
  434. package/dist/esm/co-menu.entry.js +3 -3
  435. package/dist/esm/co-modal.entry.js +29 -5
  436. package/dist/esm/co-navbar.entry.js +3 -3
  437. package/dist/esm/co-number-field.entry.js +4 -4
  438. package/dist/esm/co-option-list.entry.js +377 -0
  439. package/dist/esm/{co-loader_2.entry.js → co-overlay.entry.js} +3 -32
  440. package/dist/esm/co-page-header.entry.js +2 -2
  441. package/dist/esm/co-phone-field.entry.js +3 -3
  442. package/dist/esm/co-popover.entry.js +3 -3
  443. package/dist/esm/co-progress-bar.entry.js +3 -3
  444. package/dist/esm/co-progress-circle.entry.js +3 -3
  445. package/dist/esm/co-radio-group.entry.js +4 -4
  446. package/dist/esm/co-radio.entry.js +4 -4
  447. package/dist/esm/co-rating.entry.js +4 -4
  448. package/dist/esm/co-ref-field.entry.js +4 -4
  449. package/dist/esm/co-rich-text-editor.entry.js +4 -4
  450. package/dist/esm/co-rich-text-toolbar.entry.js +1 -1
  451. package/dist/esm/co-rich-text-viewer.entry.js +2 -2
  452. package/dist/esm/co-row.entry.js +3 -3
  453. package/dist/esm/co-segmented-bar.entry.js +56 -0
  454. package/dist/esm/co-select.entry.js +6 -6
  455. package/dist/esm/co-separator.entry.js +2 -2
  456. package/dist/esm/co-sidebar-nav.entry.js +3 -3
  457. package/dist/esm/co-sidebar.entry.js +3 -3
  458. package/dist/esm/co-skeleton.entry.js +2 -2
  459. package/dist/esm/co-slider.entry.js +3 -3
  460. package/dist/esm/co-switch.entry.js +5 -5
  461. package/dist/esm/co-tab-group.entry.js +15 -3
  462. package/dist/esm/co-tab.entry.js +8 -5
  463. package/dist/esm/co-tags-field.entry.js +8 -8
  464. package/dist/esm/co-textarea.entry.js +6 -6
  465. package/dist/esm/co-toast.entry.js +10 -4
  466. package/dist/esm/co-toggle-button-group.entry.js +16 -4
  467. package/dist/esm/co-toggle-button.entry.js +9 -5
  468. package/dist/esm/co-tooltip.entry.js +3 -3
  469. package/dist/esm/co-transfer-list.entry.js +3 -3
  470. package/dist/esm/co-video.entry.js +3 -3
  471. package/dist/esm/cobalt.js +3 -3
  472. package/dist/esm/{fieldChip-GPikjpYw.js → fieldChip-BBu4ukje.js} +1 -1
  473. package/dist/esm/{index-w_Wxgclf.js → index-Cyrxk8Qq.js} +64 -11
  474. package/dist/esm/{index-CYsftTKf.js → index-Es9IUmmt.js} +68 -8
  475. package/dist/esm/loader.js +3 -3
  476. package/dist/esm/{requiredMark-CEbXKHcU.js → requiredMark-Bg25QWFn.js} +1 -1
  477. package/dist/types/components/co-avatar/co-avatar.d.ts +2 -0
  478. package/dist/types/components/co-breadcrumb/co-breadcrumb.d.ts +27 -0
  479. package/dist/types/components/co-breadcrumb-item/co-breadcrumb-item.d.ts +33 -0
  480. package/dist/types/components/co-button/co-button.d.ts +4 -0
  481. package/dist/types/components/co-checkbox/co-checkbox.d.ts +10 -2
  482. package/dist/types/components/co-chip/co-chip.d.ts +15 -3
  483. package/dist/types/components/co-data-table/co-data-table.d.ts +13 -1
  484. package/dist/types/components/co-drawer/co-drawer.d.ts +12 -0
  485. package/dist/types/components/co-drive-card/co-drive-card.d.ts +52 -0
  486. package/dist/types/components/co-drop-zone/co-drop-zone.d.ts +38 -0
  487. package/dist/types/components/co-empty-state/co-empty-state.d.ts +6 -0
  488. package/dist/types/components/co-file-type-tile/co-file-type-tile.d.ts +11 -0
  489. package/dist/types/components/co-icon-button/co-icon-button.d.ts +18 -3
  490. package/dist/types/components/co-input/co-input.d.ts +13 -1
  491. package/dist/types/components/co-media-thumb/co-media-thumb.d.ts +21 -0
  492. package/dist/types/components/co-menu/co-menu.d.ts +4 -0
  493. package/dist/types/components/co-menu-item/co-menu-item.d.ts +10 -1
  494. package/dist/types/components/co-modal/co-modal.d.ts +20 -2
  495. package/dist/types/components/co-option-list/co-option-list.d.ts +101 -0
  496. package/dist/types/components/co-option-list/optionListLogic.d.ts +69 -0
  497. package/dist/types/components/co-segmented-bar/co-segmented-bar.d.ts +32 -0
  498. package/dist/types/components/co-tab/co-tab.d.ts +4 -0
  499. package/dist/types/components/co-tab-group/co-tab-group.d.ts +3 -0
  500. package/dist/types/components/co-toast/co-toast.d.ts +7 -0
  501. package/dist/types/components/co-toggle-button/co-toggle-button.d.ts +6 -0
  502. package/dist/types/components/co-toggle-button-group/co-toggle-button-group.d.ts +5 -0
  503. package/dist/types/components.d.ts +1361 -55
  504. package/package.json +4 -4
  505. package/dist/cobalt/p-0e8c0d87.entry.js +0 -1
  506. package/dist/cobalt/p-136ad468.entry.js +0 -1
  507. package/dist/cobalt/p-14b59277.entry.js +0 -1
  508. package/dist/cobalt/p-1774d211.entry.js +0 -1
  509. package/dist/cobalt/p-180e1106.entry.js +0 -1
  510. package/dist/cobalt/p-201eaf35.entry.js +0 -1
  511. package/dist/cobalt/p-2d2ce434.entry.js +0 -1
  512. package/dist/cobalt/p-3a257cb0.entry.js +0 -1
  513. package/dist/cobalt/p-4431faac.entry.js +0 -1
  514. package/dist/cobalt/p-456fa86f.entry.js +0 -1
  515. package/dist/cobalt/p-4c01d984.entry.js +0 -1
  516. package/dist/cobalt/p-69d4c0c8.entry.js +0 -1
  517. package/dist/cobalt/p-6c480916.entry.js +0 -1
  518. package/dist/cobalt/p-8012e152.entry.js +0 -1
  519. package/dist/cobalt/p-80b27203.entry.js +0 -1
  520. package/dist/cobalt/p-867c1465.entry.js +0 -1
  521. package/dist/cobalt/p-86a143d7.entry.js +0 -1
  522. package/dist/cobalt/p-929e647f.entry.js +0 -1
  523. package/dist/cobalt/p-92bd9b29.entry.js +0 -1
  524. package/dist/cobalt/p-98ab5f3f.entry.js +0 -1
  525. package/dist/cobalt/p-9d69c067.entry.js +0 -1
  526. package/dist/cobalt/p-CYsftTKf.js +0 -2
  527. package/dist/cobalt/p-c4f59532.entry.js +0 -1
  528. package/dist/cobalt/p-e54dd404.entry.js +0 -1
  529. package/dist/cobalt/p-eb18fdbf.entry.js +0 -1
  530. package/dist/cobalt/p-eb73052a.entry.js +0 -1
  531. package/dist/cobalt/p-oImf-7fN.js +0 -1
  532. package/dist/components/p-Ba4v1NXo.js +0 -1
  533. package/dist/components/p-EPZfLt5l.js +0 -1
  534. package/dist/components/p-FMnqPWcM.js +0 -1
  535. package/dist/components/p-Hzh9U2cM.js +0 -1
  536. package/dist/components/p-WZ06pT2Y.js +0 -1
@@ -30,8 +30,16 @@ export class CoInput {
30
30
  this.required = false;
31
31
  /** Validation status */
32
32
  this.status = 'default';
33
- /** Size variant: s (28px), sm (32px), md (40px, default), lg (48px) */
33
+ /** Size variant: s (28px), sm (32px), md (40px, default), lg (48px).
34
+ * In the filled search-pill variant (`fill`) this drives the pill height
35
+ * instead (s ≈ 38px). */
34
36
  this.size = 'md';
37
+ /** Filled search-pill variant. When true the field renders as a minimal gray
38
+ * pill (background gray-100, no border/box-shadow, 10px radius) with a search
39
+ * glyph on the left and a plain-`x` clear — the floating label, helper text and
40
+ * status chrome are suppressed. When false (default) the field renders
41
+ * IDENTICALLY to the standard text field. */
42
+ this.fill = false;
35
43
  this.hasFocus = false;
36
44
  this.handleInput = (e) => {
37
45
  const target = e.target;
@@ -91,9 +99,30 @@ export class CoInput {
91
99
  default: return null;
92
100
  }
93
101
  }
102
+ /** Filled search-pill variant (fill=true). Minimal chrome: icon-left + native
103
+ * input + plain-x clear. No labels, helper text, status icons, chips or action.
104
+ * The default field render path is left untouched. */
105
+ renderFill() {
106
+ const showClear = this.clearable && this.hasValue && !this.disabled && !this.readonly;
107
+ const leftIcon = this.iconLeft || 'magnifying-glass';
108
+ return (h("div", { class: {
109
+ 'co-input': true,
110
+ 'co-input--fill': true,
111
+ [`co-input--${this.size}`]: true,
112
+ 'co-input--disabled': this.disabled,
113
+ 'co-input--focused': this.hasFocus,
114
+ 'co-input--filled': this.hasValue,
115
+ }, part: "wrapper" }, h("div", { class: "co-input__field-row" }, h("div", { class: "co-input__field", part: "field" }, h("co-icon", { name: leftIcon, size: 17, class: "co-input__icon co-input__icon--left" }), h("div", { class: "co-input__input-wrapper" }, h("input", { ref: (el) => (this.inputEl = el), class: "co-input__native", type: this.type, name: this.name, value: this.value, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, autoComplete: this.autocomplete, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, part: "input" })), this.clearable && (h("button", { class: {
116
+ 'co-input__clear': true,
117
+ 'co-input__clear--hidden': !showClear,
118
+ }, type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear input", part: "clear" }, h("co-icon", { name: "x", size: 14 })))))));
119
+ }
94
120
  render() {
121
+ if (this.fill) {
122
+ return this.renderFill();
123
+ }
95
124
  const showClear = this.clearable && this.hasValue && !this.disabled && !this.readonly;
96
- return (h("div", { key: '3c628ddcc708f39637038f25118918fbe0f9cff2', class: {
125
+ return (h("div", { class: {
97
126
  'co-input': true,
98
127
  [`co-input--${this.layout}`]: true,
99
128
  [`co-input--${this.size}`]: true,
@@ -102,10 +131,10 @@ export class CoInput {
102
131
  'co-input--filled': this.hasValue,
103
132
  [`co-input--${this.status}`]: this.status !== 'default',
104
133
  'co-input--has-action': this.hasAction,
105
- }, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { key: '89513c64c7d590c77159f6a983ed4973289be0d2', class: "co-input__labels" }, this.label && h("label", { key: '4a0874ec1828c5a19ef87c23878d2317f3d441df', class: "co-input__label", part: "label" }, this.label, h(RequiredMark, { key: 'e7a72a5c861923f43968ad95a6c47b46ae13b9ed', required: this.required })), this.secondaryLabel && (h("span", { key: '87911501ccb15a2bd4ef4e58e3537bc968e0f0d2', class: "co-input__secondary-label", part: "secondary-label" }, this.secondaryLabel)))), h("div", { key: '0c1a530d1a687798f0803564be36409b23d5a1fd', class: "co-input__field-row" }, h("div", { key: 'bb731973f9406d649c3aff55071bd50fd7ebc991', class: "co-input__field", part: "field" }, this.iconLeft && (h("co-icon", { key: '4d244ba725651414653c531e3017f8d3a6ccbfd4', name: this.iconLeft, size: 16, class: "co-input__icon co-input__icon--left" })), h("slot", { key: '9c2c242a1887a05c4fcc88dbbb99c86ce0b5113f', name: "chips" }), h("div", { key: '8568e8abdc2c37b565b2446126638b43a649d721', class: "co-input__input-wrapper" }, h("input", { key: '6f311f448b23a936e1da7fe547e7510e236bcf99', ref: (el) => (this.inputEl = el), class: "co-input__native", type: this.type, name: this.name, value: this.value, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, autoComplete: this.autocomplete, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, part: "input" })), this.clearable && (h("button", { key: '5826d5d68a03b1cec942a004578f969920a13609', class: {
134
+ }, part: "wrapper" }, (this.label || this.secondaryLabel) && (h("div", { class: "co-input__labels" }, this.label && h("label", { class: "co-input__label", part: "label" }, this.label, h(RequiredMark, { required: this.required })), this.secondaryLabel && (h("span", { class: "co-input__secondary-label", part: "secondary-label" }, this.secondaryLabel)))), h("div", { class: "co-input__field-row" }, h("div", { class: "co-input__field", part: "field" }, this.iconLeft && (h("co-icon", { name: this.iconLeft, size: 16, class: "co-input__icon co-input__icon--left" })), h("slot", { name: "chips" }), h("div", { class: "co-input__input-wrapper" }, h("input", { ref: (el) => (this.inputEl = el), class: "co-input__native", type: this.type, name: this.name, value: this.value, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, autoComplete: this.autocomplete, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, part: "input" })), this.clearable && (h("button", { class: {
106
135
  'co-input__clear': true,
107
136
  'co-input__clear--hidden': !showClear,
108
- }, type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear input", part: "clear" }, h("co-icon", { key: 'b987c7ceeb51c7a2bde1a53b6e80484b1fe2ff90', name: "x-circle", size: 16, weight: "fill" }))), this.iconRight && (h("co-icon", { key: '07e2d8f0ffca417ed82d95b97cf42efaf24212e9', name: this.iconRight, size: 16, class: "co-input__icon co-input__icon--right" })), this.statusFieldIcon && (h("co-icon", { key: '7f1ce796c3d8fda6e3d5b5f63ffa819c6925daef', name: this.statusFieldIcon, size: 16, class: "co-input__status-icon" })), h("slot", { key: '7294036e68f6f2ff1efe57c957765415691b7d21', name: "suffix" }), h("slot", { key: 'ca865d10565b3b1f140b5d23c52781ea71f5f0ae' }), h("slot", { key: '2422fd84d5ce0f4d1c4eacedeaa72ea259cb1580', name: "action" })), this.hasAction && (h("button", { key: '5dd232fc1a449cf73ddda1e06d28c9d8a9dc4a0d', class: "co-input__action", type: "button", onClick: this.handleAction, disabled: this.disabled, part: "action" }, this.actionIcon && (h("co-icon", { key: '7cada4fa70ea0ec79754c5a46a59367ea8c66fad', name: this.actionIcon, size: 16, class: "co-input__action-icon" })), this.actionLabel && (h("span", { key: 'f27e5c1ea7ff1f83714ae5f542558518dc00a937', class: "co-input__action-label" }, this.actionLabel))))), this.helperText && (h("div", { key: 'd806c9e918ac1edac3eb703926c0c405019190e1', class: `co-input__helper co-input__helper--${this.status}`, part: "helper" }, this.helperIcon && (h("co-icon", { key: '80f6b84d4354ccf965596cb9546a531cbbc932e0', name: this.helperIcon, size: 14, class: "co-input__helper-icon" })), h("span", { key: '8f01456c3cfec988ffc6f7c6a03c1ecc43ee4c2c', class: "co-input__helper-text" }, this.helperText)))));
137
+ }, type: "button", tabIndex: -1, onClick: this.handleClear, "aria-label": "Clear input", part: "clear" }, h("co-icon", { name: "x-circle", size: 16, weight: "fill" }))), this.iconRight && (h("co-icon", { name: this.iconRight, size: 16, class: "co-input__icon co-input__icon--right" })), this.statusFieldIcon && (h("co-icon", { name: this.statusFieldIcon, size: 16, class: "co-input__status-icon" })), h("slot", { name: "suffix" }), h("slot", null), h("slot", { name: "action" })), this.hasAction && (h("button", { class: "co-input__action", type: "button", onClick: this.handleAction, disabled: this.disabled, part: "action" }, this.actionIcon && (h("co-icon", { name: this.actionIcon, size: 16, class: "co-input__action-icon" })), this.actionLabel && (h("span", { class: "co-input__action-label" }, this.actionLabel))))), this.helperText && (h("div", { class: `co-input__helper co-input__helper--${this.status}`, part: "helper" }, this.helperIcon && (h("co-icon", { name: this.helperIcon, size: 14, class: "co-input__helper-icon" })), h("span", { class: "co-input__helper-text" }, this.helperText)))));
109
138
  }
110
139
  static get is() { return "co-input"; }
111
140
  static get encapsulation() { return "shadow"; }
@@ -446,7 +475,7 @@ export class CoInput {
446
475
  "optional": false,
447
476
  "docs": {
448
477
  "tags": [],
449
- "text": "Size variant: s (28px), sm (32px), md (40px, default), lg (48px)"
478
+ "text": "Size variant: s (28px), sm (32px), md (40px, default), lg (48px).\nIn the filled search-pill variant (`fill`) this drives the pill height\ninstead (s \u2248 38px)."
450
479
  },
451
480
  "getter": false,
452
481
  "setter": false,
@@ -454,6 +483,26 @@ export class CoInput {
454
483
  "attribute": "size",
455
484
  "defaultValue": "'md'"
456
485
  },
486
+ "fill": {
487
+ "type": "boolean",
488
+ "mutable": false,
489
+ "complexType": {
490
+ "original": "boolean",
491
+ "resolved": "boolean",
492
+ "references": {}
493
+ },
494
+ "required": false,
495
+ "optional": false,
496
+ "docs": {
497
+ "tags": [],
498
+ "text": "Filled search-pill variant. When true the field renders as a minimal gray\npill (background gray-100, no border/box-shadow, 10px radius) with a search\nglyph on the left and a plain-`x` clear \u2014 the floating label, helper text and\nstatus chrome are suppressed. When false (default) the field renders\nIDENTICALLY to the standard text field."
499
+ },
500
+ "getter": false,
501
+ "setter": false,
502
+ "reflect": false,
503
+ "attribute": "fill",
504
+ "defaultValue": "false"
505
+ },
457
506
  "actionLabel": {
458
507
  "type": "string",
459
508
  "mutable": false,
@@ -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: '0f1319b6cd930e576dbba45dfb3bbb9050c8a4c0', class: {
100
+ return (h("div", { key: '3694e74443cabde9c86e37a38d2ab93f49e2a239', 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: '50cfffd0dedb3b091cebadf7b908594d855c1e92', class: "co-json-field__labels" }, h("label", { key: '77410a04bc4ca4f61dd8be107acb159a918f811c', class: "co-json-field__label", part: "label" }, this.label, h(RequiredMark, { key: '21f0c872f95b39e38e16388a0935aebe333640ad', required: this.required })))), h("div", { key: 'f7da7b3e56bc9bb1bfe1759f4e6ea260bd45b19e', class: "co-json-field__field", part: "field" }, h("textarea", { key: '8f5413bb82906a15d83130ca963b771e6539d7f6', 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: '5c844c980cafec58d64ff473022ace4b11f10b26', type: "hidden", name: this.name, value: this.draft }), helper && (h("div", { key: 'af8b770be33f336be652e0b6b567a602a59d8e63', class: {
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: {
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: '8ed6b6f2444fbf408818b1ac9911f4513c963dee', name: "warning-circle", size: 14, class: "co-json-field__helper-icon" })), h("span", { key: '9282196dfd8f2662c073d7589dd7fd93447101f8', class: "co-json-field__helper-text" }, helper)))));
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)))));
111
111
  }
112
112
  static get is() { return "co-json-field"; }
113
113
  static get encapsulation() { return "shadow"; }
@@ -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: 'bfffaae28680b214a562aa3c3ec52aaf16a61571', 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: 'e1bed6448e4878d0e459bdda89d1da98712d8207', class: "co-lightbox__toolbar", part: "toolbar", onClick: this.stop }, h("span", { key: '7ff4d35aaa6c4207c2b623951f14802278e1c631', class: "co-lightbox__caption", title: img.alt }, img.alt), h("div", { key: 'bf369f9204faf17c9047c339d893933159078714', class: "co-lightbox__zoom" }, h("button", { key: '94aa9ab08f21bf7d9e77e4ad31325cd13a80bb4d', 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: 'd04c038ec26081190c67eedcccf8e4c61c8cf6d7', name: "minus", size: 16 })), h("button", { key: 'd4333d0c970e71012786915be49be6c0efada12f', 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: 'b9efbf3e3912fb557eba59cce0300468a8e86861', 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: '1d56f6fca5858ba8413f378bc6ac63870663143a', name: "plus", size: 16 }))), h("button", { key: '0fc6adbb0b1c80cb2e8da9eb09dfe107349a59cf', class: "co-lightbox__btn", type: "button", "aria-label": s.openOriginal, title: s.openOriginal, onClick: this.openOriginal }, h("co-icon", { key: 'b1151b279b700caa0712ff74b09c0440d4b37dd4', name: "arrow-square-out", size: 16 })), h("button", { key: '984f9d2b9498d9715dabff254d2f3da9a42d9172', 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: '054e307f9116c8dca66412ae54dfee8e3a86da9b', name: "x", size: 16 })))), img && (h("div", { key: 'cd21ae63400375474fca02ebf77c35d4b4fd8b55', class: "co-lightbox__stage", ref: (el) => (this.stageEl = el), onWheel: this.handleWheel }, h("img", { key: 'b33b767ba92e4a1ed685409b1a96acc98767c4f7', class: {
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: {
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: '0b35f47557bf3e05db3c98e0df2c6e8d6f5cef94', 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: '8578fbfa008878324b15f2d7ade346f86f465bea', 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: 'f84159324fe97c957f0e8b2f0b92f865f180f7ed', name: "caret-left", size: 24 }))), img && multi && (h("button", { key: '7c1a9f250bb4b881112a57a2f3455b3c82fc77cc', 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: '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) => {
297
297
  e.stopPropagation();
298
298
  this.goTo(1);
299
- } }, h("co-icon", { key: '00efc2dd2e09c2dc1df35b6317e5bc42a63b2c20', name: "caret-right", size: 24 }))), img && multi && (h("div", { key: '7b148b3a2a1c3032c037439293b2b4c6e0100c52', class: "co-lightbox__counter", part: "counter", onClick: this.stop }, counter))));
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))));
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: '408e27a26e9d2d1802ba336690c84c745a79a22d', class: "co-list-footer", part: "footer" }, this.secondaryLabel && (h("button", { key: '9a597df6466ebf5c5720b50d0d4d2993ba3af9ab', class: "co-list-footer__btn co-list-footer__btn--secondary", type: "button", onClick: this.handleSecondary }, this.secondaryIcon && h("co-icon", { key: 'c743c1399b14d175c51ea553d508110e8bcaef05', name: this.secondaryIcon, size: 16 }), h("span", { key: '3c32ad1ea326da99debeb716980b38cf9777b168' }, this.secondaryLabel))), this.primaryLabel && (h("button", { key: 'ce57a3fe3456d4cd3959d556304de9de7558ec40', class: "co-list-footer__btn co-list-footer__btn--primary", type: "button", onClick: this.handlePrimary }, this.primaryIcon && h("co-icon", { key: '584416793ecbf91a960b2b55f54e703ba1d0ca5c', name: this.primaryIcon, size: 16 }), h("span", { key: 'f227d58236ab0f4d31b398cfc9bf7419efd57d02' }, this.primaryLabel))), h("slot", { key: '601ef71ed5374dab62a79ad875da9b6f7a0fcfed' })));
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' })));
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: '984e2c7fcb5f4124c871dda103e450b858143c0f', class: {
73
+ return (h("div", { key: '1c6124749c2bc07f1f5118adf3a906d0316db256', 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: 'd1a3466d6ecc565435d3918a596bc7620cce2197', class: "co-list-item__prefix" }, this.icon && h("co-icon", { key: '2374265eac83fb8d86ee26ab3317da2c2c9d2998', name: this.icon, size: 18 }), h("slot", { key: '6bb538d2212c2bd25d61c54a59120295ff55692b', name: "prefix" })), h("div", { key: '052ed53fb59580780a0d1c2b1dbdff7711fbb585', class: "co-list-item__content" }, this.label && (h("co-tooltip", { key: '027cb3026c0ac2efdfb76f7eeb9600d21899e865', block: true, class: "co-list-item__tip", content: this.label, placement: "top", disabled: !this.labelTruncated }, h("span", { key: '3b27db5590486bab2c4b8819548dbb13c332a13b', 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: '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) => {
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: '220243aafd77d681315f0847cb3db72110330b7e', block: true, class: "co-list-item__tip", content: this.description, placement: "top", disabled: !this.descTruncated }, h("span", { key: 'fb8543457be7e67c7eca8461f207dad833503462', class: "co-list-item__description", ref: (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) => {
84
84
  this.descEl = el;
85
85
  if (el && this.ro)
86
86
  this.ro.observe(el);
87
- } }, this.description))), h("slot", { key: 'ed7e997155bec808ef01c6300109f435a5e698b1' })), h("span", { key: '1601e81a0d25f685b69ebea30a13b1dac9337866', class: "co-list-item__suffix" }, h("slot", { key: 'f23ac07bc12c9a02810574bcb30b2a323b07b3ee', name: "suffix" }))));
87
+ } }, this.description))), h("slot", { key: '2e35ea5289301048d967b4b9bf11743101927118' })), h("span", { key: 'cd33f25a15fb3ad3a747fad14cccb3141967cc4b', class: "co-list-item__suffix" }, h("slot", { key: '25b6881aacf68e7b0e927d367ce9492a642d8224', name: "suffix" }))));
88
88
  }
89
89
  static get is() { return "co-list-item"; }
90
90
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,43 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ .co-media-thumb {
6
+ position: relative;
7
+ overflow: hidden;
8
+ width: 100%;
9
+ background: var(--co-color-gray-100, #f6f6f6);
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ .co-media-thumb__img {
14
+ width: 100%;
15
+ height: 100%;
16
+ object-fit: cover;
17
+ display: block;
18
+ }
19
+
20
+ /* ─── VIDEO OVERLAY ─────────────────────────────────────────── */
21
+ .co-media-thumb__scrim {
22
+ position: absolute;
23
+ inset: 0;
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+ background: rgba(31, 28, 27, 0.28);
28
+ }
29
+
30
+ .co-media-thumb__play {
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ width: 44px;
35
+ height: 44px;
36
+ border-radius: 50%;
37
+ background: rgba(255, 255, 255, 0.92);
38
+ }
39
+
40
+ .co-media-thumb__play-icon {
41
+ display: block;
42
+ margin-left: 2px; /* optical centering of the triangle */
43
+ }
@@ -0,0 +1,148 @@
1
+ import { h } from "@stencil/core";
2
+ /**
3
+ * An image / video preview region. Renders a cover image when `src` is set,
4
+ * an optional dark scrim + play button when `video` is true, and a default
5
+ * slot fallback (for a type-icon box) when there is no `src`.
6
+ *
7
+ * @slot - Fallback content shown when `src` is not set (e.g. a type-icon box).
8
+ */
9
+ export class CoMediaThumb {
10
+ constructor() {
11
+ /** Show the video overlay (dark scrim + centered play button). */
12
+ this.video = false;
13
+ /** Height of the region. Accepts a CSS length or a bare number (→ px). */
14
+ this.height = '132px';
15
+ /** Corner radius in px. */
16
+ this.radius = 10;
17
+ }
18
+ toCss(value) {
19
+ if (typeof value === 'number')
20
+ return `${value}px`;
21
+ const v = String(value).trim();
22
+ return /^-?\d*\.?\d+$/.test(v) ? `${v}px` : v;
23
+ }
24
+ render() {
25
+ var _a;
26
+ return (h("div", { key: '003a31fad075f90eb6097f3a9c4844d7bb15285f', class: {
27
+ 'co-media-thumb': true,
28
+ 'co-media-thumb--video': this.video,
29
+ }, part: "thumb", style: {
30
+ height: this.toCss(this.height),
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)" })))))));
33
+ }
34
+ static get is() { return "co-media-thumb"; }
35
+ static get encapsulation() { return "shadow"; }
36
+ static get originalStyleUrls() {
37
+ return {
38
+ "$": ["co-media-thumb.css"]
39
+ };
40
+ }
41
+ static get styleUrls() {
42
+ return {
43
+ "$": ["co-media-thumb.css"]
44
+ };
45
+ }
46
+ static get properties() {
47
+ return {
48
+ "src": {
49
+ "type": "string",
50
+ "mutable": false,
51
+ "complexType": {
52
+ "original": "string",
53
+ "resolved": "string | undefined",
54
+ "references": {}
55
+ },
56
+ "required": false,
57
+ "optional": true,
58
+ "docs": {
59
+ "tags": [],
60
+ "text": "Image source URL. When set, a cover image is rendered."
61
+ },
62
+ "getter": false,
63
+ "setter": false,
64
+ "reflect": false,
65
+ "attribute": "src"
66
+ },
67
+ "video": {
68
+ "type": "boolean",
69
+ "mutable": false,
70
+ "complexType": {
71
+ "original": "boolean",
72
+ "resolved": "boolean",
73
+ "references": {}
74
+ },
75
+ "required": false,
76
+ "optional": false,
77
+ "docs": {
78
+ "tags": [],
79
+ "text": "Show the video overlay (dark scrim + centered play button)."
80
+ },
81
+ "getter": false,
82
+ "setter": false,
83
+ "reflect": false,
84
+ "attribute": "video",
85
+ "defaultValue": "false"
86
+ },
87
+ "height": {
88
+ "type": "any",
89
+ "mutable": false,
90
+ "complexType": {
91
+ "original": "string | number",
92
+ "resolved": "number | string",
93
+ "references": {}
94
+ },
95
+ "required": false,
96
+ "optional": false,
97
+ "docs": {
98
+ "tags": [],
99
+ "text": "Height of the region. Accepts a CSS length or a bare number (\u2192 px)."
100
+ },
101
+ "getter": false,
102
+ "setter": false,
103
+ "reflect": false,
104
+ "attribute": "height",
105
+ "defaultValue": "'132px'"
106
+ },
107
+ "radius": {
108
+ "type": "number",
109
+ "mutable": false,
110
+ "complexType": {
111
+ "original": "number",
112
+ "resolved": "number",
113
+ "references": {}
114
+ },
115
+ "required": false,
116
+ "optional": false,
117
+ "docs": {
118
+ "tags": [],
119
+ "text": "Corner radius in px."
120
+ },
121
+ "getter": false,
122
+ "setter": false,
123
+ "reflect": false,
124
+ "attribute": "radius",
125
+ "defaultValue": "10"
126
+ },
127
+ "alt": {
128
+ "type": "string",
129
+ "mutable": false,
130
+ "complexType": {
131
+ "original": "string",
132
+ "resolved": "string | undefined",
133
+ "references": {}
134
+ },
135
+ "required": false,
136
+ "optional": true,
137
+ "docs": {
138
+ "tags": [],
139
+ "text": "Alternative text for the image."
140
+ },
141
+ "getter": false,
142
+ "setter": false,
143
+ "reflect": false,
144
+ "attribute": "alt"
145
+ }
146
+ };
147
+ }
148
+ }
@@ -5,12 +5,14 @@
5
5
  .co-menu {
6
6
  /* surface-secondary = base-blanco. NOT surface-primary (that's base-negro). */
7
7
  background: var(--co-semantic-surface-secondary, #fff);
8
- border: 1px solid var(--co-semantic-border-subtle, rgba(31, 28, 27, 0.08));
9
8
  border-radius: var(--co-border-radius-sm, 12px);
9
+ /* shadow-lg drop shadow + a 1px inset hairline ring (replaces the old 1px
10
+ border so it never adds to the panel box). */
10
11
  box-shadow:
11
- 0 4px 12px rgba(0, 0, 0, 0.08),
12
- 0 1px 3px rgba(0, 0, 0, 0.04);
13
- padding: var(--co-spacing-xs, 4px);
12
+ var(--co-shadow-lg, 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04)),
13
+ inset 0 0 0 1px var(--co-color-opacity-negro-8, rgba(31, 28, 27, 0.08));
14
+ /* Tunable panel padding — default 4px; design (Header "Nuevo" menu) uses 6px. */
15
+ padding: var(--co-menu-padding, var(--co-spacing-xs, 4px));
14
16
  min-width: 200px;
15
17
  display: flex;
16
18
  flex-direction: column;
@@ -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: 'b6d6cd9511cc0ce9d2025ca162aaeb7d962b96a2', placement: this.placement, offset: this.offset, open: this.open, onCoOpen: this.handlePopoverOpen, onCoClose: this.handlePopoverClose }, h("slot", { key: '91085adedc753afe8f6f9ba2b137ecde1af0155d', name: "trigger", slot: "trigger" }), h("div", { key: 'f7bf1839cc05d7d5ba5c8ea7f5fcb10d50f37ede', class: "co-menu", role: "menu" }, h("slot", { key: 'c11fa45f19630d6568fb66e4df38301b40f83031' }))));
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' }))));
115
115
  }
116
116
  static get is() { return "co-menu"; }
117
117
  static get encapsulation() { return "shadow"; }
@@ -213,6 +213,25 @@ export class CoMenu {
213
213
  "reflect": true,
214
214
  "attribute": "open",
215
215
  "defaultValue": "false"
216
+ },
217
+ "width": {
218
+ "type": "string",
219
+ "mutable": false,
220
+ "complexType": {
221
+ "original": "string",
222
+ "resolved": "string | undefined",
223
+ "references": {}
224
+ },
225
+ "required": false,
226
+ "optional": true,
227
+ "docs": {
228
+ "tags": [],
229
+ "text": "Fixes the panel to an exact width (e.g. `'210px'`). When unset, the panel\nkeeps its intrinsic auto width (min-width 200px). Also tune padding with the\n`--co-menu-padding` CSS var (default 4px; design uses 6px)."
230
+ },
231
+ "getter": false,
232
+ "setter": false,
233
+ "reflect": false,
234
+ "attribute": "width"
216
235
  }
217
236
  };
218
237
  }
@@ -5,7 +5,7 @@ import { h } from "@stencil/core";
5
5
  */
6
6
  export class CoMenuDivider {
7
7
  render() {
8
- return h("hr", { key: '08549f09b4a76d1bc2cd572a8f09ed9289551175', class: "co-menu-divider", role: "separator" });
8
+ return h("hr", { key: 'dd21fada7235dda4e64c2a3a003b26c4dd65501e', class: "co-menu-divider", role: "separator" });
9
9
  }
10
10
  static get is() { return "co-menu-divider"; }
11
11
  static get encapsulation() { return "shadow"; }
@@ -10,8 +10,11 @@
10
10
  width: 100%;
11
11
  display: flex;
12
12
  align-items: center;
13
- gap: var(--co-spacing-sm, 8px);
14
- padding: var(--co-spacing-sm, 8px) var(--co-spacing-md, 12px);
13
+ /* Tunable metrics — defaults reproduce the original 8px gap / 8px 12px pad /
14
+ 36px row. Header rows use gap 10 + pad "0 10" + height 38; sort/type rows
15
+ use pad "0 10" + height 36. */
16
+ gap: var(--co-menu-item-gap, var(--co-spacing-sm, 8px));
17
+ padding: var(--co-menu-item-padding, var(--co-spacing-sm, 8px) var(--co-spacing-md, 12px));
15
18
  background: transparent;
16
19
  border: 0;
17
20
  border-radius: var(--co-border-radius-xs, 8px);
@@ -21,7 +24,7 @@
21
24
  text-align: left;
22
25
  cursor: pointer;
23
26
  transition: background 0.1s ease, color 0.1s ease;
24
- min-height: 36px;
27
+ min-height: var(--co-menu-item-height, 36px);
25
28
  box-sizing: border-box;
26
29
  }
27
30
 
@@ -30,6 +33,11 @@
30
33
  min-height: 32px;
31
34
  }
32
35
 
36
+ /* At-rest selected highlight. Declared before :hover so hover still wins. */
37
+ .co-menu-item--selected {
38
+ background: var(--co-color-gray-100, #f6f6f6);
39
+ }
40
+
33
41
  .co-menu-item:hover,
34
42
  .co-menu-item--submenu-open {
35
43
  background: var(--co-semantic-surface-hover, rgba(31, 28, 27, 0.04));
@@ -57,7 +65,17 @@
57
65
  display: inline-flex;
58
66
  align-items: center;
59
67
  flex-shrink: 0;
60
- color: currentColor;
68
+ /* Default follows text color; Header rows override to gray-600. */
69
+ color: var(--co-menu-item-icon-color, currentColor);
70
+ }
71
+
72
+ /* Trailing check (single-select menus). After the flex:1 label, so it sits at
73
+ the row's trailing edge. */
74
+ .co-menu-item__check {
75
+ display: inline-flex;
76
+ align-items: center;
77
+ flex-shrink: 0;
78
+ color: var(--co-semantic-text-default);
61
79
  }
62
80
 
63
81
  .co-menu-item__label {
@@ -86,12 +104,12 @@
86
104
  .co-menu-item__submenu {
87
105
  /* surface-secondary = base-blanco. NOT surface-primary (that's base-negro). */
88
106
  background: var(--co-semantic-surface-secondary, #fff);
89
- border: 1px solid var(--co-semantic-border-subtle, rgba(31, 28, 27, 0.08));
90
107
  border-radius: var(--co-border-radius-sm, 12px);
108
+ /* Match the co-menu panel: shadow-lg + 1px inset hairline ring. */
91
109
  box-shadow:
92
- 0 4px 12px rgba(0, 0, 0, 0.08),
93
- 0 1px 3px rgba(0, 0, 0, 0.04);
94
- padding: var(--co-spacing-xs, 4px);
110
+ var(--co-shadow-lg, 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04)),
111
+ inset 0 0 0 1px var(--co-color-opacity-negro-8, rgba(31, 28, 27, 0.08));
112
+ padding: var(--co-menu-padding, var(--co-spacing-xs, 4px));
95
113
  min-width: 180px;
96
114
  display: flex;
97
115
  flex-direction: column;