@devschile/chucao 2.4.0 → 2.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 (281) hide show
  1. package/README.md +17 -16
  2. package/dist/chucao/chucao.css +1 -1
  3. package/dist/chucao/chucao.esm.js +1 -1
  4. package/dist/chucao/index.esm.js +1 -1
  5. package/dist/chucao/index.esm.js.map +1 -1
  6. package/dist/chucao/p-0409c063.entry.js +2 -0
  7. package/dist/chucao/p-0409c063.entry.js.map +1 -0
  8. package/dist/chucao/{p-1ebd9dc4.entry.js → p-090d26f1.entry.js} +2 -2
  9. package/dist/chucao/{p-84d875e9.entry.js → p-207648f9.entry.js} +2 -2
  10. package/dist/chucao/{p-b5552b50.entry.js → p-20ea1b18.entry.js} +2 -2
  11. package/dist/chucao/p-21ca2235.entry.js +2 -0
  12. package/dist/chucao/p-21ca2235.entry.js.map +1 -0
  13. package/dist/chucao/{p-1778a313.entry.js → p-2c1bc8bd.entry.js} +2 -2
  14. package/dist/chucao/{p-6e95f31f.entry.js → p-337d7f68.entry.js} +2 -2
  15. package/dist/chucao/p-370d9629.entry.js +2 -0
  16. package/dist/chucao/p-370d9629.entry.js.map +1 -0
  17. package/dist/chucao/{p-d0533af6.entry.js → p-50cbea7f.entry.js} +2 -2
  18. package/dist/chucao/p-66ae9e2c.entry.js +2 -0
  19. package/dist/chucao/p-66ae9e2c.entry.js.map +1 -0
  20. package/dist/chucao/p-79f20bfd.entry.js +2 -0
  21. package/dist/chucao/p-79f20bfd.entry.js.map +1 -0
  22. package/dist/chucao/{p-56d64d84.entry.js → p-7d4336bd.entry.js} +2 -2
  23. package/dist/chucao/p-81b6622f.entry.js +2 -0
  24. package/dist/chucao/p-81b6622f.entry.js.map +1 -0
  25. package/dist/chucao/{p-17451d92.entry.js → p-925af6b8.entry.js} +2 -2
  26. package/dist/chucao/p-95061461.entry.js +2 -0
  27. package/dist/chucao/{p-34a9d1f4.entry.js → p-9794a3fa.entry.js} +2 -2
  28. package/dist/chucao/p-CIV5Gg1o.js +3 -0
  29. package/dist/chucao/p-CIV5Gg1o.js.map +1 -0
  30. package/dist/chucao/p-CnivhwvG.js +2 -0
  31. package/dist/chucao/p-CnivhwvG.js.map +1 -0
  32. package/dist/chucao/{p-85db779c.entry.js → p-b56f4a29.entry.js} +2 -2
  33. package/dist/chucao/p-b9b47942.entry.js +2 -0
  34. package/dist/chucao/p-b9b47942.entry.js.map +1 -0
  35. package/dist/chucao/{p-449e1ba0.entry.js → p-c1b35f1b.entry.js} +2 -2
  36. package/dist/chucao/{p-0e3c83a6.entry.js → p-e2f725bd.entry.js} +2 -2
  37. package/dist/chucao/{p-7c85f5fe.entry.js → p-e6f959f4.entry.js} +2 -2
  38. package/dist/chucao/{p-907195ff.entry.js → p-f0aea6ed.entry.js} +2 -2
  39. package/dist/chucao/{p-a07e0e97.entry.js → p-f7305552.entry.js} +2 -2
  40. package/dist/chucao/p-ffaf1a31.entry.js +2 -0
  41. package/dist/chucao/p-ffaf1a31.entry.js.map +1 -0
  42. package/dist/cjs/ch-accordion.cjs.entry.js +2 -2
  43. package/dist/cjs/ch-alert_8.cjs.entry.js +34 -10
  44. package/dist/cjs/ch-alert_8.cjs.entry.js.map +1 -1
  45. package/dist/cjs/ch-checkbox.cjs.entry.js +2 -2
  46. package/dist/cjs/ch-cluster.cjs.entry.js +3 -3
  47. package/dist/cjs/ch-description-list.cjs.entry.js +29 -0
  48. package/dist/cjs/ch-description-list.cjs.entry.js.map +1 -0
  49. package/dist/cjs/ch-divider.cjs.entry.js +2 -2
  50. package/dist/cjs/ch-drawer.cjs.entry.js +2 -2
  51. package/dist/cjs/ch-emoji.cjs.entry.js +2 -2
  52. package/dist/cjs/ch-empty-state.cjs.entry.js +2 -2
  53. package/dist/cjs/ch-grid.cjs.entry.js +2 -2
  54. package/dist/cjs/ch-icon-button.cjs.entry.js +51 -0
  55. package/dist/cjs/ch-icon-button.cjs.entry.js.map +1 -0
  56. package/dist/cjs/ch-icon.cjs.entry.js +38 -0
  57. package/dist/cjs/ch-icon.cjs.entry.js.map +1 -0
  58. package/dist/cjs/ch-link.cjs.entry.js +1 -1
  59. package/dist/cjs/ch-modal.cjs.entry.js +2 -2
  60. package/dist/cjs/ch-page-header.cjs.entry.js +45 -0
  61. package/dist/cjs/ch-page-header.cjs.entry.js.map +1 -0
  62. package/dist/cjs/ch-radio.cjs.entry.js +2 -2
  63. package/dist/cjs/ch-segmented-control.cjs.entry.js +2 -2
  64. package/dist/cjs/ch-skeleton.cjs.entry.js +2 -2
  65. package/dist/cjs/ch-stack.cjs.entry.js +2 -2
  66. package/dist/cjs/ch-stat.cjs.entry.js +46 -0
  67. package/dist/cjs/ch-stat.cjs.entry.js.map +1 -0
  68. package/dist/cjs/ch-tabs.cjs.entry.js +2 -2
  69. package/dist/cjs/ch-textarea.cjs.entry.js +2 -2
  70. package/dist/cjs/ch-timeline.cjs.entry.js +20 -0
  71. package/dist/cjs/ch-timeline.cjs.entry.js.map +1 -0
  72. package/dist/cjs/ch-tooltip.cjs.entry.js +206 -5
  73. package/dist/cjs/ch-tooltip.cjs.entry.js.map +1 -1
  74. package/dist/cjs/chucao.cjs.js +2 -2
  75. package/dist/cjs/icons-CNyDgV-q.js +88 -0
  76. package/dist/cjs/icons-CNyDgV-q.js.map +1 -0
  77. package/dist/cjs/{index-ysucLiAq.js → index-ByZY6aTj.js} +81 -5
  78. package/dist/cjs/index-ByZY6aTj.js.map +1 -0
  79. package/dist/cjs/index.cjs.js +16 -0
  80. package/dist/cjs/index.cjs.js.map +1 -1
  81. package/dist/cjs/loader.cjs.js +2 -2
  82. package/dist/collection/collection-manifest.json +12 -6
  83. package/dist/collection/components/ch-accordion/ch-accordion.js +1 -1
  84. package/dist/collection/components/ch-alert/ch-alert.css +13 -0
  85. package/dist/collection/components/ch-alert/ch-alert.js +44 -1
  86. package/dist/collection/components/ch-alert/ch-alert.js.map +1 -1
  87. package/dist/collection/components/ch-badge/ch-badge.css +30 -1
  88. package/dist/collection/components/ch-badge/ch-badge.js +35 -1
  89. package/dist/collection/components/ch-badge/ch-badge.js.map +1 -1
  90. package/dist/collection/components/ch-card/ch-card.js +1 -1
  91. package/dist/collection/components/ch-checkbox/ch-checkbox.js +1 -1
  92. package/dist/collection/components/ch-cluster/ch-cluster.js +2 -2
  93. package/dist/collection/components/ch-description-list/ch-description-list.css +60 -0
  94. package/dist/collection/components/ch-description-list/ch-description-list.js +78 -0
  95. package/dist/collection/components/ch-description-list/ch-description-list.js.map +1 -0
  96. package/dist/collection/components/ch-divider/ch-divider.js +1 -1
  97. package/dist/collection/components/ch-drawer/ch-drawer.js +1 -1
  98. package/dist/collection/components/ch-emoji/ch-emoji.js +1 -1
  99. package/dist/collection/components/ch-empty-state/ch-empty-state.js +1 -1
  100. package/dist/collection/components/ch-grid/ch-grid.js +1 -1
  101. package/dist/collection/components/ch-icon/ch-icon.css +25 -0
  102. package/dist/collection/components/ch-icon/ch-icon.js +121 -0
  103. package/dist/collection/components/ch-icon/ch-icon.js.map +1 -0
  104. package/dist/collection/components/ch-icon-button/ch-icon-button.css +99 -0
  105. package/dist/collection/components/ch-icon-button/ch-icon-button.js +216 -0
  106. package/dist/collection/components/ch-icon-button/ch-icon-button.js.map +1 -0
  107. package/dist/collection/components/ch-input/ch-input.js +1 -1
  108. package/dist/collection/components/ch-modal/ch-modal.js +1 -1
  109. package/dist/collection/components/ch-page-header/ch-page-header.css +84 -0
  110. package/dist/collection/components/ch-page-header/ch-page-header.js +162 -0
  111. package/dist/collection/components/ch-page-header/ch-page-header.js.map +1 -0
  112. package/dist/collection/components/ch-radio/ch-radio.js +1 -1
  113. package/dist/collection/components/ch-segmented-control/ch-segmented-control.js +1 -1
  114. package/dist/collection/components/ch-select/ch-select.js +1 -1
  115. package/dist/collection/components/ch-skeleton/ch-skeleton.js +1 -1
  116. package/dist/collection/components/ch-spinner/ch-spinner.js +1 -1
  117. package/dist/collection/components/ch-stack/ch-stack.js +1 -1
  118. package/dist/collection/components/ch-stat/ch-stat.css +68 -0
  119. package/dist/collection/components/ch-stat/ch-stat.js +151 -0
  120. package/dist/collection/components/ch-stat/ch-stat.js.map +1 -0
  121. package/dist/collection/components/ch-switch/ch-switch.js +1 -1
  122. package/dist/collection/components/ch-tabs/ch-tabs.js +1 -1
  123. package/dist/collection/components/ch-textarea/ch-textarea.js +1 -1
  124. package/dist/collection/components/ch-timeline/ch-timeline.css +54 -0
  125. package/dist/collection/components/ch-timeline/ch-timeline.js +43 -0
  126. package/dist/collection/components/ch-timeline/ch-timeline.js.map +1 -0
  127. package/dist/collection/components/ch-tooltip/ch-tooltip.css +29 -1
  128. package/dist/collection/components/ch-tooltip/ch-tooltip.js +127 -6
  129. package/dist/collection/components/ch-tooltip/ch-tooltip.js.map +1 -1
  130. package/dist/collection/tokens/tokens.js +12 -0
  131. package/dist/collection/tokens/tokens.js.map +1 -1
  132. package/dist/collection/tokens/types.js.map +1 -1
  133. package/dist/collection/utils/icons.js +82 -0
  134. package/dist/collection/utils/icons.js.map +1 -0
  135. package/dist/collection/utils/overlay.js +101 -0
  136. package/dist/collection/utils/overlay.js.map +1 -0
  137. package/dist/components/ch-accordion.js +1 -1
  138. package/dist/components/ch-alert.js +1 -1
  139. package/dist/components/ch-alert.js.map +1 -1
  140. package/dist/components/ch-badge.js +1 -1
  141. package/dist/components/ch-badge.js.map +1 -1
  142. package/dist/components/ch-button.js +1 -1
  143. package/dist/components/ch-card.js +1 -1
  144. package/dist/components/ch-card.js.map +1 -1
  145. package/dist/components/ch-checkbox.js +1 -1
  146. package/dist/components/ch-cluster.js +1 -1
  147. package/dist/components/ch-description-list.d.ts +11 -0
  148. package/dist/components/ch-description-list.js +2 -0
  149. package/dist/components/ch-description-list.js.map +1 -0
  150. package/dist/components/ch-divider.js +1 -1
  151. package/dist/components/ch-drawer.js +1 -1
  152. package/dist/components/ch-emoji.js +1 -1
  153. package/dist/components/ch-empty-state.js +1 -1
  154. package/dist/components/ch-grid.js +1 -1
  155. package/dist/components/ch-icon-button.d.ts +11 -0
  156. package/dist/components/ch-icon-button.js +2 -0
  157. package/dist/components/ch-icon-button.js.map +1 -0
  158. package/dist/components/ch-icon.d.ts +11 -0
  159. package/dist/components/ch-icon.js +2 -0
  160. package/dist/components/ch-icon.js.map +1 -0
  161. package/dist/components/ch-input.js +1 -1
  162. package/dist/components/ch-link.js +1 -1
  163. package/dist/components/ch-modal.js +1 -1
  164. package/dist/components/ch-page-header.d.ts +11 -0
  165. package/dist/components/ch-page-header.js +2 -0
  166. package/dist/components/ch-page-header.js.map +1 -0
  167. package/dist/components/ch-radio.js +1 -1
  168. package/dist/components/ch-segmented-control.js +1 -1
  169. package/dist/components/ch-select.js +1 -1
  170. package/dist/components/ch-skeleton.js +1 -1
  171. package/dist/components/ch-spinner.js +1 -1
  172. package/dist/components/ch-stack.js +1 -1
  173. package/dist/components/ch-stat.d.ts +11 -0
  174. package/dist/components/ch-stat.js +2 -0
  175. package/dist/components/ch-stat.js.map +1 -0
  176. package/dist/components/ch-switch.js +1 -1
  177. package/dist/components/ch-tabs.js +1 -1
  178. package/dist/components/ch-textarea.js +1 -1
  179. package/dist/components/ch-timeline.d.ts +11 -0
  180. package/dist/components/ch-timeline.js +2 -0
  181. package/dist/components/ch-timeline.js.map +1 -0
  182. package/dist/components/ch-tooltip.js +1 -1
  183. package/dist/components/ch-tooltip.js.map +1 -1
  184. package/dist/components/index.js +1 -1
  185. package/dist/components/index.js.map +1 -1
  186. package/dist/components/p-CnivhwvG.js +2 -0
  187. package/dist/components/p-CnivhwvG.js.map +1 -0
  188. package/dist/components/{p-no2_9Jk-.js → p-Cw0b4OGc.js} +2 -2
  189. package/dist/components/p-qP_9qshx.js +2 -0
  190. package/dist/components/p-qP_9qshx.js.map +1 -0
  191. package/dist/esm/ch-accordion.entry.js +2 -2
  192. package/dist/esm/ch-alert_8.entry.js +34 -10
  193. package/dist/esm/ch-alert_8.entry.js.map +1 -1
  194. package/dist/esm/ch-checkbox.entry.js +2 -2
  195. package/dist/esm/ch-cluster.entry.js +3 -3
  196. package/dist/esm/ch-description-list.entry.js +27 -0
  197. package/dist/esm/ch-description-list.entry.js.map +1 -0
  198. package/dist/esm/ch-divider.entry.js +2 -2
  199. package/dist/esm/ch-drawer.entry.js +2 -2
  200. package/dist/esm/ch-emoji.entry.js +2 -2
  201. package/dist/esm/ch-empty-state.entry.js +2 -2
  202. package/dist/esm/ch-grid.entry.js +2 -2
  203. package/dist/esm/ch-icon-button.entry.js +49 -0
  204. package/dist/esm/ch-icon-button.entry.js.map +1 -0
  205. package/dist/esm/ch-icon.entry.js +36 -0
  206. package/dist/esm/ch-icon.entry.js.map +1 -0
  207. package/dist/esm/ch-link.entry.js +1 -1
  208. package/dist/esm/ch-modal.entry.js +2 -2
  209. package/dist/esm/ch-page-header.entry.js +43 -0
  210. package/dist/esm/ch-page-header.entry.js.map +1 -0
  211. package/dist/esm/ch-radio.entry.js +2 -2
  212. package/dist/esm/ch-segmented-control.entry.js +2 -2
  213. package/dist/esm/ch-skeleton.entry.js +2 -2
  214. package/dist/esm/ch-stack.entry.js +2 -2
  215. package/dist/esm/ch-stat.entry.js +44 -0
  216. package/dist/esm/ch-stat.entry.js.map +1 -0
  217. package/dist/esm/ch-tabs.entry.js +2 -2
  218. package/dist/esm/ch-textarea.entry.js +2 -2
  219. package/dist/esm/ch-timeline.entry.js +18 -0
  220. package/dist/esm/ch-timeline.entry.js.map +1 -0
  221. package/dist/esm/ch-tooltip.entry.js +206 -5
  222. package/dist/esm/ch-tooltip.entry.js.map +1 -1
  223. package/dist/esm/chucao.js +3 -3
  224. package/dist/esm/icons-CnivhwvG.js +86 -0
  225. package/dist/esm/icons-CnivhwvG.js.map +1 -0
  226. package/dist/esm/{index-DVKZbUp9.js → index-CIV5Gg1o.js} +81 -6
  227. package/dist/esm/index-CIV5Gg1o.js.map +1 -0
  228. package/dist/esm/index.js +13 -1
  229. package/dist/esm/index.js.map +1 -1
  230. package/dist/esm/loader.js +3 -3
  231. package/dist/types/components/ch-alert/ch-alert.d.ts +11 -0
  232. package/dist/types/components/ch-badge/ch-badge.d.ts +14 -0
  233. package/dist/types/components/ch-description-list/ch-description-list.d.ts +30 -0
  234. package/dist/types/components/ch-icon/ch-icon.d.ts +29 -0
  235. package/dist/types/components/ch-icon-button/ch-icon-button.d.ts +36 -0
  236. package/dist/types/components/ch-page-header/ch-page-header.d.ts +39 -0
  237. package/dist/types/components/ch-stat/ch-stat.d.ts +42 -0
  238. package/dist/types/components/ch-timeline/ch-timeline.d.ts +27 -0
  239. package/dist/types/components/ch-tooltip/ch-tooltip.d.ts +34 -2
  240. package/dist/types/components.d.ts +718 -2
  241. package/dist/types/tokens/tokens.d.ts +12 -0
  242. package/dist/types/tokens/types.d.ts +2 -1
  243. package/dist/types/utils/icons.d.ts +15 -0
  244. package/dist/types/utils/overlay.d.ts +49 -0
  245. package/dist-react/components.d.ts +21 -1
  246. package/dist-react/components.js +54 -0
  247. package/dist-react/components.ts +73 -1
  248. package/dist-vue/index.d.ts +6 -0
  249. package/dist-vue/index.js +42 -1
  250. package/dist-vue/index.ts +54 -1
  251. package/hydrate/index.js +772 -35
  252. package/hydrate/index.mjs +772 -35
  253. package/package.json +104 -5
  254. package/dist/chucao/p-82216381.entry.js +0 -2
  255. package/dist/chucao/p-82216381.entry.js.map +0 -1
  256. package/dist/chucao/p-DVKZbUp9.js +0 -3
  257. package/dist/chucao/p-DVKZbUp9.js.map +0 -1
  258. package/dist/chucao/p-b392021c.entry.js +0 -2
  259. package/dist/chucao/p-b392021c.entry.js.map +0 -1
  260. package/dist/chucao/p-d776b092.entry.js +0 -2
  261. package/dist/cjs/index-ysucLiAq.js.map +0 -1
  262. package/dist/components/p-DQOKq7af.js +0 -2
  263. package/dist/components/p-DQOKq7af.js.map +0 -1
  264. package/dist/esm/index-DVKZbUp9.js.map +0 -1
  265. /package/dist/chucao/{p-1ebd9dc4.entry.js.map → p-090d26f1.entry.js.map} +0 -0
  266. /package/dist/chucao/{p-84d875e9.entry.js.map → p-207648f9.entry.js.map} +0 -0
  267. /package/dist/chucao/{p-b5552b50.entry.js.map → p-20ea1b18.entry.js.map} +0 -0
  268. /package/dist/chucao/{p-1778a313.entry.js.map → p-2c1bc8bd.entry.js.map} +0 -0
  269. /package/dist/chucao/{p-6e95f31f.entry.js.map → p-337d7f68.entry.js.map} +0 -0
  270. /package/dist/chucao/{p-d0533af6.entry.js.map → p-50cbea7f.entry.js.map} +0 -0
  271. /package/dist/chucao/{p-56d64d84.entry.js.map → p-7d4336bd.entry.js.map} +0 -0
  272. /package/dist/chucao/{p-17451d92.entry.js.map → p-925af6b8.entry.js.map} +0 -0
  273. /package/dist/chucao/{p-d776b092.entry.js.map → p-95061461.entry.js.map} +0 -0
  274. /package/dist/chucao/{p-34a9d1f4.entry.js.map → p-9794a3fa.entry.js.map} +0 -0
  275. /package/dist/chucao/{p-85db779c.entry.js.map → p-b56f4a29.entry.js.map} +0 -0
  276. /package/dist/chucao/{p-449e1ba0.entry.js.map → p-c1b35f1b.entry.js.map} +0 -0
  277. /package/dist/chucao/{p-0e3c83a6.entry.js.map → p-e2f725bd.entry.js.map} +0 -0
  278. /package/dist/chucao/{p-7c85f5fe.entry.js.map → p-e6f959f4.entry.js.map} +0 -0
  279. /package/dist/chucao/{p-907195ff.entry.js.map → p-f0aea6ed.entry.js.map} +0 -0
  280. /package/dist/chucao/{p-a07e0e97.entry.js.map → p-f7305552.entry.js.map} +0 -0
  281. /package/dist/components/{p-no2_9Jk-.js.map → p-Cw0b4OGc.js.map} +0 -0
@@ -10,19 +10,25 @@ import { ChAlertVariant } from "./components/ch-alert/ch-alert";
10
10
  import { ChBadgeVariant } from "./components/ch-badge/ch-badge";
11
11
  import { ChButtonSize, ChButtonVariant } from "./components/ch-button/ch-button";
12
12
  import { ChClusterAlign, ChClusterGap, ChClusterJustify } from "./components/ch-cluster/ch-cluster";
13
+ import { ChDescriptionListColumns } from "./components/ch-description-list/ch-description-list";
13
14
  import { ChDividerOrientation } from "./components/ch-divider/ch-divider";
14
15
  import { ChDrawerSide } from "./components/ch-drawer/ch-drawer";
15
16
  import { ChEmojiSize } from "./components/ch-emoji/ch-emoji";
16
17
  import { ChEmptyStateSize } from "./components/ch-empty-state/ch-empty-state";
17
18
  import { ChGridGap } from "./components/ch-grid/ch-grid";
19
+ import { ChIconName } from "./utils/icons";
20
+ import { ChIconSize } from "./components/ch-icon/ch-icon";
21
+ import { ChIconButtonSize } from "./components/ch-icon-button/ch-icon-button";
18
22
  import { ChLinkVariant } from "./components/ch-link/ch-link";
19
23
  import { ChModalSize } from "./components/ch-modal/ch-modal";
24
+ import { ChPageHeaderHeadingLevel } from "./components/ch-page-header/ch-page-header";
20
25
  import { ChRadioOption } from "./components/ch-radio/ch-radio";
21
26
  import { ChSegmentedControlOption, ChSegmentedControlSize } from "./components/ch-segmented-control/ch-segmented-control";
22
27
  import { ChSelectOption } from "./components/ch-select/ch-select";
23
28
  import { ChSkeletonShape } from "./components/ch-skeleton/ch-skeleton";
24
29
  import { ChSpinnerSize } from "./components/ch-spinner/ch-spinner";
25
30
  import { ChStackAlign, ChStackGap, ChStackJustify } from "./components/ch-stack/ch-stack";
31
+ import { ChStatTone } from "./components/ch-stat/ch-stat";
26
32
  import { ChTab } from "./components/ch-tabs/ch-tabs";
27
33
  import { ChTooltipPlacement } from "./components/ch-tooltip/ch-tooltip";
28
34
  export { ChAccordionItem } from "./components/ch-accordion/ch-accordion";
@@ -30,19 +36,25 @@ export { ChAlertVariant } from "./components/ch-alert/ch-alert";
30
36
  export { ChBadgeVariant } from "./components/ch-badge/ch-badge";
31
37
  export { ChButtonSize, ChButtonVariant } from "./components/ch-button/ch-button";
32
38
  export { ChClusterAlign, ChClusterGap, ChClusterJustify } from "./components/ch-cluster/ch-cluster";
39
+ export { ChDescriptionListColumns } from "./components/ch-description-list/ch-description-list";
33
40
  export { ChDividerOrientation } from "./components/ch-divider/ch-divider";
34
41
  export { ChDrawerSide } from "./components/ch-drawer/ch-drawer";
35
42
  export { ChEmojiSize } from "./components/ch-emoji/ch-emoji";
36
43
  export { ChEmptyStateSize } from "./components/ch-empty-state/ch-empty-state";
37
44
  export { ChGridGap } from "./components/ch-grid/ch-grid";
45
+ export { ChIconName } from "./utils/icons";
46
+ export { ChIconSize } from "./components/ch-icon/ch-icon";
47
+ export { ChIconButtonSize } from "./components/ch-icon-button/ch-icon-button";
38
48
  export { ChLinkVariant } from "./components/ch-link/ch-link";
39
49
  export { ChModalSize } from "./components/ch-modal/ch-modal";
50
+ export { ChPageHeaderHeadingLevel } from "./components/ch-page-header/ch-page-header";
40
51
  export { ChRadioOption } from "./components/ch-radio/ch-radio";
41
52
  export { ChSegmentedControlOption, ChSegmentedControlSize } from "./components/ch-segmented-control/ch-segmented-control";
42
53
  export { ChSelectOption } from "./components/ch-select/ch-select";
43
54
  export { ChSkeletonShape } from "./components/ch-skeleton/ch-skeleton";
44
55
  export { ChSpinnerSize } from "./components/ch-spinner/ch-spinner";
45
56
  export { ChStackAlign, ChStackGap, ChStackJustify } from "./components/ch-stack/ch-stack";
57
+ export { ChStatTone } from "./components/ch-stat/ch-stat";
46
58
  export { ChTab } from "./components/ch-tabs/ch-tabs";
47
59
  export { ChTooltipPlacement } from "./components/ch-tooltip/ch-tooltip";
48
60
  export namespace Components {
@@ -64,19 +76,40 @@ export namespace Components {
64
76
  * interrupt. Both announce reliably when the alert is added to the page in
65
77
  * response to something — an alert already present at load may not be read out,
66
78
  * which is how live regions work rather than something this component controls.
79
+ * Every variant also carries an icon and a thicker leading edge, so the three
80
+ * states stay distinguishable without colour vision. The icon is decorative:
81
+ * the text next to it already says what happened, and announcing "check
82
+ * circle" before it would only add noise.
67
83
  */
68
84
  interface ChAlert {
69
85
  /**
70
86
  * Accessible label for the dismiss button, set as `aria-label`. Setting it is what adds the button: the button's only content is a decorative glyph, so without a label it would have no accessible name at all.
71
87
  */
72
88
  "dismissLabel"?: string;
89
+ /**
90
+ * Whether to show the variant's icon. On by default so the status is not colour-only; turn it off when the surrounding copy already carries the cue and a second marker would be redundant.
91
+ * @default true
92
+ */
93
+ "statusCue": boolean;
73
94
  /**
74
95
  * The kind of message. `default` is neutral, `positive` confirms, and `warning` covers both warnings and errors — the token scale has a single status colour for the two of them.
75
96
  * @default 'default'
76
97
  */
77
98
  "variant": ChAlertVariant;
78
99
  }
100
+ /**
101
+ * Small status label.
102
+ * Variants are not colour-only: each one also changes the leading dot's shape
103
+ * and adds a matching border, so a badge still says which state it is in when
104
+ * printed in grayscale or seen with colour-vision deficiency. `default` uses a
105
+ * filled dot, `positive` a ring, and `warning` a filled square.
106
+ */
79
107
  interface ChBadge {
108
+ /**
109
+ * Whether to show the variant marker. On by default so the state does not depend on colour; turn it off for a badge that only repeats text already carrying the meaning.
110
+ * @default true
111
+ */
112
+ "statusCue": boolean;
80
113
  /**
81
114
  * The visual style of the badge. Either `default`, `positive`, or `warning`.
82
115
  * @default 'default'
@@ -188,6 +221,30 @@ export namespace Components {
188
221
  */
189
222
  "wrap": boolean;
190
223
  }
224
+ /**
225
+ * Label/value pairs for detail views, on a native `<dl>`.
226
+ * The component renders the `<dl>` and the layout; the consumer writes the
227
+ * terms and descriptions. Group each pair in a `<div>` (valid HTML 5.2
228
+ * grouping) — the group is the grid item, which is what keeps a pair from
229
+ * splitting across columns:
230
+ * ```html
231
+ * <ch-description-list columns="2">
232
+ * <div><dt>Cliente</dt><dd>Aurora SpA</dd></div>
233
+ * <div><dt>Pedido</dt><dd>#1523</dd></div>
234
+ * </ch-description-list>
235
+ * ```
236
+ * The markup stays native in the light DOM, so the `term` role reaches the
237
+ * accessibility tree untouched — the shape decision on #81 measured that a
238
+ * custom wrapper adds nothing in Chromium while risking other browsers. No
239
+ * `ch-description-item` element exists for the same reason.
240
+ */
241
+ interface ChDescriptionList {
242
+ /**
243
+ * How many pairs share a row on a wide viewport. One column is the stacked layout. An unknown value falls back to one column.
244
+ * @default '1'
245
+ */
246
+ "columns": ChDescriptionListColumns;
247
+ }
191
248
  interface ChDivider {
192
249
  /**
193
250
  * The orientation of the divider. Either `horizontal` (default) or `vertical`.
@@ -292,6 +349,66 @@ export namespace Components {
292
349
  */
293
350
  "minItemWidth": string;
294
351
  }
352
+ /**
353
+ * A single Lucide glyph.
354
+ * Decorative by default: the icon is hidden from assistive technology unless
355
+ * you give it a `label`, because most icons sit next to text that already says
356
+ * what they mean and a second announcement is noise. Set `label` only when the
357
+ * icon carries meaning on its own; a control whose only content is an icon
358
+ * should use `ch-icon-button`, which requires the name.
359
+ */
360
+ interface ChIcon {
361
+ /**
362
+ * Accessible name. When set, the icon becomes `role="img"` and is announced; when omitted it is `aria-hidden`.
363
+ */
364
+ "label"?: string;
365
+ /**
366
+ * Which glyph to draw. Unknown values render nothing rather than throwing, so a stale name in a data payload cannot break the page.
367
+ */
368
+ "name": ChIconName;
369
+ /**
370
+ * `sm` is 16px, `md` is 20px and `lg` is 24px — the sizes the scale's line heights were built around.
371
+ * @default 'md'
372
+ */
373
+ "size": ChIconSize;
374
+ }
375
+ /**
376
+ * A button whose only content is an icon.
377
+ * The label is required rather than optional. An icon-only button without an
378
+ * accessible name is unusable by voice, screen reader or automation, and there
379
+ * is no adjacent text to fall back on — the same reasoning as `ch-modal`, and
380
+ * the reason this component exists instead of letting consumers bolt an icon
381
+ * slot onto `ch-button` and forget the name.
382
+ */
383
+ interface ChIconButton {
384
+ /**
385
+ * @default false
386
+ */
387
+ "disabled": boolean;
388
+ /**
389
+ * Accessible name, set as `aria-label`. Required: say what the button does ("Eliminar producto"), not what the glyph is ("papelera").
390
+ */
391
+ "label": string;
392
+ /**
393
+ * Blocks pointer and keyboard activation and marks the button `aria-busy` while keeping it focusable, so focus does not fall to `<body>` when an action completes.
394
+ * @default false
395
+ */
396
+ "loading": boolean;
397
+ /**
398
+ * The glyph to draw.
399
+ */
400
+ "name": ChIconName;
401
+ /**
402
+ * Visual size. `md` matches the height of a default `ch-button`.
403
+ * @default 'md'
404
+ */
405
+ "size": ChIconButtonSize;
406
+ /**
407
+ * Native button type, defaulting to `button` so it never submits a form by accident.
408
+ * @default 'button'
409
+ */
410
+ "type": 'button' | 'submit' | 'reset';
411
+ }
295
412
  interface ChInput {
296
413
  /**
297
414
  * Whether the input is disabled.
@@ -395,6 +512,40 @@ export namespace Components {
395
512
  */
396
513
  "size": ChModalSize;
397
514
  }
515
+ /**
516
+ * The heading block at the top of a page: title, optional eyebrow and
517
+ * description, and a trailing actions area.
518
+ * The title is a `title` prop rather than a slot so the heading level always
519
+ * matches the page. A slotted heading lets a consumer nest a second `h1`, and
520
+ * "one top-level heading per page" then depends on every caller remembering it;
521
+ * here the level is explicit and defaults to `h1`. The actions wrap rather than
522
+ * push the page sideways at 390px, and the DOM order keeps the heading before
523
+ * the actions so reading and focus order still start with the title.
524
+ */
525
+ interface ChPageHeader {
526
+ /**
527
+ * Puts the actions below the title instead of beside it. Use it when the actions are too wide to sit on the same row even after wrapping.
528
+ * @default false
529
+ */
530
+ "actionsStacked": boolean;
531
+ /**
532
+ * Optional supporting line under the title.
533
+ */
534
+ "description"?: string;
535
+ /**
536
+ * Optional small label above the title, as slotted content. Use it for a section or entity kind ("Proyecto", "Factura #1042"), not for the title.
537
+ */
538
+ "eyebrow"?: string;
539
+ /**
540
+ * Heading element to render. Use `h2` (or `h3`) when the page already has a higher-level heading above this block, so the document outline stays valid.
541
+ * @default 'h1'
542
+ */
543
+ "headingLevel": ChPageHeaderHeadingLevel;
544
+ /**
545
+ * The page title. Rendered as a real heading, so it also works as the accessible name of the page region.
546
+ */
547
+ "title": string;
548
+ }
398
549
  interface ChRadio {
399
550
  /**
400
551
  * Whether all radios in the group are disabled.
@@ -604,6 +755,41 @@ export namespace Components {
604
755
  */
605
756
  "justify": ChStackJustify;
606
757
  }
758
+ /**
759
+ * One dashboard metric: a label, a value and an optional hint.
760
+ * The value is a string the consumer has already formatted — the component
761
+ * never parses numbers, so locale, currency and precision stay where the
762
+ * data comes from. On a fetch error, pass the em dash and the unavailable
763
+ * tone rather than a zero that would read as a real measurement:
764
+ * ```html
765
+ * <ch-stat label="Ventas del mes" value="$1.250.000" tone="positive"></ch-stat>
766
+ * <ch-stat label="Ticket promedio" value="—" tone="unavailable"></ch-stat>
767
+ * ```
768
+ * A tone is never carried by colour alone: positive and negative values get
769
+ * a visible sign cue, so the three states stay distinguishable in greyscale
770
+ * and for colour-blind users. The `value` slot replaces the rendered value
771
+ * for composed content (a link, a spinner), and the `footer` slot sits under
772
+ * the hint for a comparison line or a sparkline.
773
+ */
774
+ interface ChStat {
775
+ /**
776
+ * Secondary line under the value — a comparison or a unit note.
777
+ */
778
+ "hint"?: string;
779
+ /**
780
+ * Short label naming the metric, rendered in small caps above the value.
781
+ */
782
+ "label": string;
783
+ /**
784
+ * Visual tone of the value. `positive` and `negative` add a sign cue so the tone survives greyscale; `unavailable` dims the value for the "could not be measured" case. An unknown value falls back to `default`.
785
+ * @default 'default'
786
+ */
787
+ "tone": ChStatTone;
788
+ /**
789
+ * The metric value, already formatted by the consumer. Shown verbatim.
790
+ */
791
+ "value": string;
792
+ }
607
793
  interface ChSwitch {
608
794
  /**
609
795
  * Whether the switch is on.
@@ -709,6 +895,29 @@ export namespace Components {
709
895
  */
710
896
  "value": string;
711
897
  }
898
+ /**
899
+ * Chronological history: a native ordered list with a marker dot per item
900
+ * and a connector line between items — the last item never gets a trailing
901
+ * connector.
902
+ * The component renders the `<ol>` and owns the rail; the consumer writes
903
+ * plain `<li>` items with whatever content each entry needs — a preformatted
904
+ * date, a title, a description, and a non-colour state cue from `ch-icon`:
905
+ * ```html
906
+ * <ch-timeline>
907
+ * <li>
908
+ * <ch-icon name="check"></ch-icon>
909
+ * <time datetime="2026-11-02">2 nov 2026</time> — Creado el pedido
910
+ * </li>
911
+ * <li><ch-icon name="spinner"></ch-icon> Esperando despacho</li>
912
+ * </ch-timeline>
913
+ * ```
914
+ * The list semantics survive untouched because the `li` elements stay native
915
+ * in the light DOM — measured on #83: a wrapped item still counts as a
916
+ * `listitem`, so nothing is gained by a `ch-timeline-item` element, and
917
+ * native markup is the safe bet across browsers.
918
+ */
919
+ interface ChTimeline {
920
+ }
712
921
  /**
713
922
  * Short help text shown on hover and on focus.
714
923
  * Both the trigger and the text come from the consumer's light DOM through
@@ -722,10 +931,16 @@ export namespace Components {
722
931
  * `<input>`). A chucao component such as `ch-button` will not be described,
723
932
  * because `aria-*` set on a custom element host does not reach the native
724
933
  * element inside it — see the discussion in issue #47.
934
+ * Positioning is measured, not purely CSS: `placement` is the preferred side,
935
+ * and the bubble flips to the opposite side when the preferred one does not
936
+ * fit, then shifts along the other axis to stay inside the viewport. It
937
+ * re-measures on scroll, resize and visual-viewport changes, which is what
938
+ * keeps it correct inside a scrolling modal or drawer and when a mobile
939
+ * keyboard shrinks the visible area.
725
940
  */
726
941
  interface ChTooltip {
727
942
  /**
728
- * Which side of the trigger the bubble is placed on.
943
+ * The side the bubble is placed on. It is a preference: when that side has no room the bubble flips to the opposite one.
729
944
  * @default 'top'
730
945
  */
731
946
  "placement": ChTooltipPlacement;
@@ -751,6 +966,10 @@ export interface ChDrawerCustomEvent<T> extends CustomEvent<T> {
751
966
  detail: T;
752
967
  target: HTMLChDrawerElement;
753
968
  }
969
+ export interface ChIconButtonCustomEvent<T> extends CustomEvent<T> {
970
+ detail: T;
971
+ target: HTMLChIconButtonElement;
972
+ }
754
973
  export interface ChInputCustomEvent<T> extends CustomEvent<T> {
755
974
  detail: T;
756
975
  target: HTMLChInputElement;
@@ -815,6 +1034,10 @@ declare global {
815
1034
  * interrupt. Both announce reliably when the alert is added to the page in
816
1035
  * response to something — an alert already present at load may not be read out,
817
1036
  * which is how live regions work rather than something this component controls.
1037
+ * Every variant also carries an icon and a thicker leading edge, so the three
1038
+ * states stay distinguishable without colour vision. The icon is decorative:
1039
+ * the text next to it already says what happened, and announcing "check
1040
+ * circle" before it would only add noise.
818
1041
  */
819
1042
  interface HTMLChAlertElement extends Components.ChAlert, HTMLStencilElement {
820
1043
  addEventListener<K extends keyof HTMLChAlertElementEventMap>(type: K, listener: (this: HTMLChAlertElement, ev: ChAlertCustomEvent<HTMLChAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -830,6 +1053,13 @@ declare global {
830
1053
  prototype: HTMLChAlertElement;
831
1054
  new (): HTMLChAlertElement;
832
1055
  };
1056
+ /**
1057
+ * Small status label.
1058
+ * Variants are not colour-only: each one also changes the leading dot's shape
1059
+ * and adds a matching border, so a badge still says which state it is in when
1060
+ * printed in grayscale or seen with colour-vision deficiency. `default` uses a
1061
+ * filled dot, `positive` a ring, and `warning` a filled square.
1062
+ */
833
1063
  interface HTMLChBadgeElement extends Components.ChBadge, HTMLStencilElement {
834
1064
  }
835
1065
  var HTMLChBadgeElement: {
@@ -886,6 +1116,29 @@ declare global {
886
1116
  prototype: HTMLChClusterElement;
887
1117
  new (): HTMLChClusterElement;
888
1118
  };
1119
+ /**
1120
+ * Label/value pairs for detail views, on a native `<dl>`.
1121
+ * The component renders the `<dl>` and the layout; the consumer writes the
1122
+ * terms and descriptions. Group each pair in a `<div>` (valid HTML 5.2
1123
+ * grouping) — the group is the grid item, which is what keeps a pair from
1124
+ * splitting across columns:
1125
+ * ```html
1126
+ * <ch-description-list columns="2">
1127
+ * <div><dt>Cliente</dt><dd>Aurora SpA</dd></div>
1128
+ * <div><dt>Pedido</dt><dd>#1523</dd></div>
1129
+ * </ch-description-list>
1130
+ * ```
1131
+ * The markup stays native in the light DOM, so the `term` role reaches the
1132
+ * accessibility tree untouched — the shape decision on #81 measured that a
1133
+ * custom wrapper adds nothing in Chromium while risking other browsers. No
1134
+ * `ch-description-item` element exists for the same reason.
1135
+ */
1136
+ interface HTMLChDescriptionListElement extends Components.ChDescriptionList, HTMLStencilElement {
1137
+ }
1138
+ var HTMLChDescriptionListElement: {
1139
+ prototype: HTMLChDescriptionListElement;
1140
+ new (): HTMLChDescriptionListElement;
1141
+ };
889
1142
  interface HTMLChDividerElement extends Components.ChDivider, HTMLStencilElement {
890
1143
  }
891
1144
  var HTMLChDividerElement: {
@@ -958,6 +1211,45 @@ declare global {
958
1211
  prototype: HTMLChGridElement;
959
1212
  new (): HTMLChGridElement;
960
1213
  };
1214
+ /**
1215
+ * A single Lucide glyph.
1216
+ * Decorative by default: the icon is hidden from assistive technology unless
1217
+ * you give it a `label`, because most icons sit next to text that already says
1218
+ * what they mean and a second announcement is noise. Set `label` only when the
1219
+ * icon carries meaning on its own; a control whose only content is an icon
1220
+ * should use `ch-icon-button`, which requires the name.
1221
+ */
1222
+ interface HTMLChIconElement extends Components.ChIcon, HTMLStencilElement {
1223
+ }
1224
+ var HTMLChIconElement: {
1225
+ prototype: HTMLChIconElement;
1226
+ new (): HTMLChIconElement;
1227
+ };
1228
+ interface HTMLChIconButtonElementEventMap {
1229
+ "chClick": MouseEvent;
1230
+ }
1231
+ /**
1232
+ * A button whose only content is an icon.
1233
+ * The label is required rather than optional. An icon-only button without an
1234
+ * accessible name is unusable by voice, screen reader or automation, and there
1235
+ * is no adjacent text to fall back on — the same reasoning as `ch-modal`, and
1236
+ * the reason this component exists instead of letting consumers bolt an icon
1237
+ * slot onto `ch-button` and forget the name.
1238
+ */
1239
+ interface HTMLChIconButtonElement extends Components.ChIconButton, HTMLStencilElement {
1240
+ addEventListener<K extends keyof HTMLChIconButtonElementEventMap>(type: K, listener: (this: HTMLChIconButtonElement, ev: ChIconButtonCustomEvent<HTMLChIconButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1241
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1242
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1243
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1244
+ removeEventListener<K extends keyof HTMLChIconButtonElementEventMap>(type: K, listener: (this: HTMLChIconButtonElement, ev: ChIconButtonCustomEvent<HTMLChIconButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1245
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1246
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1247
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1248
+ }
1249
+ var HTMLChIconButtonElement: {
1250
+ prototype: HTMLChIconButtonElement;
1251
+ new (): HTMLChIconButtonElement;
1252
+ };
961
1253
  interface HTMLChInputElementEventMap {
962
1254
  "chInput": string;
963
1255
  "chChange": string;
@@ -1027,6 +1319,22 @@ declare global {
1027
1319
  prototype: HTMLChModalElement;
1028
1320
  new (): HTMLChModalElement;
1029
1321
  };
1322
+ /**
1323
+ * The heading block at the top of a page: title, optional eyebrow and
1324
+ * description, and a trailing actions area.
1325
+ * The title is a `title` prop rather than a slot so the heading level always
1326
+ * matches the page. A slotted heading lets a consumer nest a second `h1`, and
1327
+ * "one top-level heading per page" then depends on every caller remembering it;
1328
+ * here the level is explicit and defaults to `h1`. The actions wrap rather than
1329
+ * push the page sideways at 390px, and the DOM order keeps the heading before
1330
+ * the actions so reading and focus order still start with the title.
1331
+ */
1332
+ interface HTMLChPageHeaderElement extends Components.ChPageHeader, HTMLStencilElement {
1333
+ }
1334
+ var HTMLChPageHeaderElement: {
1335
+ prototype: HTMLChPageHeaderElement;
1336
+ new (): HTMLChPageHeaderElement;
1337
+ };
1030
1338
  interface HTMLChRadioElementEventMap {
1031
1339
  "chChange": string;
1032
1340
  }
@@ -1128,6 +1436,28 @@ declare global {
1128
1436
  prototype: HTMLChStackElement;
1129
1437
  new (): HTMLChStackElement;
1130
1438
  };
1439
+ /**
1440
+ * One dashboard metric: a label, a value and an optional hint.
1441
+ * The value is a string the consumer has already formatted — the component
1442
+ * never parses numbers, so locale, currency and precision stay where the
1443
+ * data comes from. On a fetch error, pass the em dash and the unavailable
1444
+ * tone rather than a zero that would read as a real measurement:
1445
+ * ```html
1446
+ * <ch-stat label="Ventas del mes" value="$1.250.000" tone="positive"></ch-stat>
1447
+ * <ch-stat label="Ticket promedio" value="—" tone="unavailable"></ch-stat>
1448
+ * ```
1449
+ * A tone is never carried by colour alone: positive and negative values get
1450
+ * a visible sign cue, so the three states stay distinguishable in greyscale
1451
+ * and for colour-blind users. The `value` slot replaces the rendered value
1452
+ * for composed content (a link, a spinner), and the `footer` slot sits under
1453
+ * the hint for a comparison line or a sparkline.
1454
+ */
1455
+ interface HTMLChStatElement extends Components.ChStat, HTMLStencilElement {
1456
+ }
1457
+ var HTMLChStatElement: {
1458
+ prototype: HTMLChStatElement;
1459
+ new (): HTMLChStatElement;
1460
+ };
1131
1461
  interface HTMLChSwitchElementEventMap {
1132
1462
  "chChange": boolean;
1133
1463
  }
@@ -1180,6 +1510,33 @@ declare global {
1180
1510
  prototype: HTMLChTextareaElement;
1181
1511
  new (): HTMLChTextareaElement;
1182
1512
  };
1513
+ /**
1514
+ * Chronological history: a native ordered list with a marker dot per item
1515
+ * and a connector line between items — the last item never gets a trailing
1516
+ * connector.
1517
+ * The component renders the `<ol>` and owns the rail; the consumer writes
1518
+ * plain `<li>` items with whatever content each entry needs — a preformatted
1519
+ * date, a title, a description, and a non-colour state cue from `ch-icon`:
1520
+ * ```html
1521
+ * <ch-timeline>
1522
+ * <li>
1523
+ * <ch-icon name="check"></ch-icon>
1524
+ * <time datetime="2026-11-02">2 nov 2026</time> — Creado el pedido
1525
+ * </li>
1526
+ * <li><ch-icon name="spinner"></ch-icon> Esperando despacho</li>
1527
+ * </ch-timeline>
1528
+ * ```
1529
+ * The list semantics survive untouched because the `li` elements stay native
1530
+ * in the light DOM — measured on #83: a wrapped item still counts as a
1531
+ * `listitem`, so nothing is gained by a `ch-timeline-item` element, and
1532
+ * native markup is the safe bet across browsers.
1533
+ */
1534
+ interface HTMLChTimelineElement extends Components.ChTimeline, HTMLStencilElement {
1535
+ }
1536
+ var HTMLChTimelineElement: {
1537
+ prototype: HTMLChTimelineElement;
1538
+ new (): HTMLChTimelineElement;
1539
+ };
1183
1540
  /**
1184
1541
  * Short help text shown on hover and on focus.
1185
1542
  * Both the trigger and the text come from the consumer's light DOM through
@@ -1193,6 +1550,12 @@ declare global {
1193
1550
  * `<input>`). A chucao component such as `ch-button` will not be described,
1194
1551
  * because `aria-*` set on a custom element host does not reach the native
1195
1552
  * element inside it — see the discussion in issue #47.
1553
+ * Positioning is measured, not purely CSS: `placement` is the preferred side,
1554
+ * and the bubble flips to the opposite side when the preferred one does not
1555
+ * fit, then shifts along the other axis to stay inside the viewport. It
1556
+ * re-measures on scroll, resize and visual-viewport changes, which is what
1557
+ * keeps it correct inside a scrolling modal or drawer and when a mobile
1558
+ * keyboard shrinks the visible area.
1196
1559
  */
1197
1560
  interface HTMLChTooltipElement extends Components.ChTooltip, HTMLStencilElement {
1198
1561
  }
@@ -1208,23 +1571,29 @@ declare global {
1208
1571
  "ch-card": HTMLChCardElement;
1209
1572
  "ch-checkbox": HTMLChCheckboxElement;
1210
1573
  "ch-cluster": HTMLChClusterElement;
1574
+ "ch-description-list": HTMLChDescriptionListElement;
1211
1575
  "ch-divider": HTMLChDividerElement;
1212
1576
  "ch-drawer": HTMLChDrawerElement;
1213
1577
  "ch-emoji": HTMLChEmojiElement;
1214
1578
  "ch-empty-state": HTMLChEmptyStateElement;
1215
1579
  "ch-grid": HTMLChGridElement;
1580
+ "ch-icon": HTMLChIconElement;
1581
+ "ch-icon-button": HTMLChIconButtonElement;
1216
1582
  "ch-input": HTMLChInputElement;
1217
1583
  "ch-link": HTMLChLinkElement;
1218
1584
  "ch-modal": HTMLChModalElement;
1585
+ "ch-page-header": HTMLChPageHeaderElement;
1219
1586
  "ch-radio": HTMLChRadioElement;
1220
1587
  "ch-segmented-control": HTMLChSegmentedControlElement;
1221
1588
  "ch-select": HTMLChSelectElement;
1222
1589
  "ch-skeleton": HTMLChSkeletonElement;
1223
1590
  "ch-spinner": HTMLChSpinnerElement;
1224
1591
  "ch-stack": HTMLChStackElement;
1592
+ "ch-stat": HTMLChStatElement;
1225
1593
  "ch-switch": HTMLChSwitchElement;
1226
1594
  "ch-tabs": HTMLChTabsElement;
1227
1595
  "ch-textarea": HTMLChTextareaElement;
1596
+ "ch-timeline": HTMLChTimelineElement;
1228
1597
  "ch-tooltip": HTMLChTooltipElement;
1229
1598
  }
1230
1599
  }
@@ -1253,6 +1622,10 @@ declare namespace LocalJSX {
1253
1622
  * interrupt. Both announce reliably when the alert is added to the page in
1254
1623
  * response to something — an alert already present at load may not be read out,
1255
1624
  * which is how live regions work rather than something this component controls.
1625
+ * Every variant also carries an icon and a thicker leading edge, so the three
1626
+ * states stay distinguishable without colour vision. The icon is decorative:
1627
+ * the text next to it already says what happened, and announcing "check
1628
+ * circle" before it would only add noise.
1256
1629
  */
1257
1630
  interface ChAlert {
1258
1631
  /**
@@ -1263,13 +1636,30 @@ declare namespace LocalJSX {
1263
1636
  * Emitted when the dismiss button is clicked. The alert stays in the DOM — whether to remove it is the consumer's decision. If you do remove it, move focus somewhere sensible first: removing the focused button drops focus to `<body>`.
1264
1637
  */
1265
1638
  "onChDismiss"?: (event: ChAlertCustomEvent<void>) => void;
1639
+ /**
1640
+ * Whether to show the variant's icon. On by default so the status is not colour-only; turn it off when the surrounding copy already carries the cue and a second marker would be redundant.
1641
+ * @default true
1642
+ */
1643
+ "statusCue"?: boolean;
1266
1644
  /**
1267
1645
  * The kind of message. `default` is neutral, `positive` confirms, and `warning` covers both warnings and errors — the token scale has a single status colour for the two of them.
1268
1646
  * @default 'default'
1269
1647
  */
1270
1648
  "variant"?: ChAlertVariant;
1271
1649
  }
1650
+ /**
1651
+ * Small status label.
1652
+ * Variants are not colour-only: each one also changes the leading dot's shape
1653
+ * and adds a matching border, so a badge still says which state it is in when
1654
+ * printed in grayscale or seen with colour-vision deficiency. `default` uses a
1655
+ * filled dot, `positive` a ring, and `warning` a filled square.
1656
+ */
1272
1657
  interface ChBadge {
1658
+ /**
1659
+ * Whether to show the variant marker. On by default so the state does not depend on colour; turn it off for a badge that only repeats text already carrying the meaning.
1660
+ * @default true
1661
+ */
1662
+ "statusCue"?: boolean;
1273
1663
  /**
1274
1664
  * The visual style of the badge. Either `default`, `positive`, or `warning`.
1275
1665
  * @default 'default'
@@ -1393,6 +1783,30 @@ declare namespace LocalJSX {
1393
1783
  */
1394
1784
  "wrap"?: boolean;
1395
1785
  }
1786
+ /**
1787
+ * Label/value pairs for detail views, on a native `<dl>`.
1788
+ * The component renders the `<dl>` and the layout; the consumer writes the
1789
+ * terms and descriptions. Group each pair in a `<div>` (valid HTML 5.2
1790
+ * grouping) — the group is the grid item, which is what keeps a pair from
1791
+ * splitting across columns:
1792
+ * ```html
1793
+ * <ch-description-list columns="2">
1794
+ * <div><dt>Cliente</dt><dd>Aurora SpA</dd></div>
1795
+ * <div><dt>Pedido</dt><dd>#1523</dd></div>
1796
+ * </ch-description-list>
1797
+ * ```
1798
+ * The markup stays native in the light DOM, so the `term` role reaches the
1799
+ * accessibility tree untouched — the shape decision on #81 measured that a
1800
+ * custom wrapper adds nothing in Chromium while risking other browsers. No
1801
+ * `ch-description-item` element exists for the same reason.
1802
+ */
1803
+ interface ChDescriptionList {
1804
+ /**
1805
+ * How many pairs share a row on a wide viewport. One column is the stacked layout. An unknown value falls back to one column.
1806
+ * @default '1'
1807
+ */
1808
+ "columns"?: ChDescriptionListColumns;
1809
+ }
1396
1810
  interface ChDivider {
1397
1811
  /**
1398
1812
  * The orientation of the divider. Either `horizontal` (default) or `vertical`.
@@ -1505,6 +1919,70 @@ declare namespace LocalJSX {
1505
1919
  */
1506
1920
  "minItemWidth"?: string;
1507
1921
  }
1922
+ /**
1923
+ * A single Lucide glyph.
1924
+ * Decorative by default: the icon is hidden from assistive technology unless
1925
+ * you give it a `label`, because most icons sit next to text that already says
1926
+ * what they mean and a second announcement is noise. Set `label` only when the
1927
+ * icon carries meaning on its own; a control whose only content is an icon
1928
+ * should use `ch-icon-button`, which requires the name.
1929
+ */
1930
+ interface ChIcon {
1931
+ /**
1932
+ * Accessible name. When set, the icon becomes `role="img"` and is announced; when omitted it is `aria-hidden`.
1933
+ */
1934
+ "label"?: string;
1935
+ /**
1936
+ * Which glyph to draw. Unknown values render nothing rather than throwing, so a stale name in a data payload cannot break the page.
1937
+ */
1938
+ "name": ChIconName;
1939
+ /**
1940
+ * `sm` is 16px, `md` is 20px and `lg` is 24px — the sizes the scale's line heights were built around.
1941
+ * @default 'md'
1942
+ */
1943
+ "size"?: ChIconSize;
1944
+ }
1945
+ /**
1946
+ * A button whose only content is an icon.
1947
+ * The label is required rather than optional. An icon-only button without an
1948
+ * accessible name is unusable by voice, screen reader or automation, and there
1949
+ * is no adjacent text to fall back on — the same reasoning as `ch-modal`, and
1950
+ * the reason this component exists instead of letting consumers bolt an icon
1951
+ * slot onto `ch-button` and forget the name.
1952
+ */
1953
+ interface ChIconButton {
1954
+ /**
1955
+ * @default false
1956
+ */
1957
+ "disabled"?: boolean;
1958
+ /**
1959
+ * Accessible name, set as `aria-label`. Required: say what the button does ("Eliminar producto"), not what the glyph is ("papelera").
1960
+ */
1961
+ "label": string;
1962
+ /**
1963
+ * Blocks pointer and keyboard activation and marks the button `aria-busy` while keeping it focusable, so focus does not fall to `<body>` when an action completes.
1964
+ * @default false
1965
+ */
1966
+ "loading"?: boolean;
1967
+ /**
1968
+ * The glyph to draw.
1969
+ */
1970
+ "name": ChIconName;
1971
+ /**
1972
+ * Emitted on click. A click while disabled or loading emits nothing.
1973
+ */
1974
+ "onChClick"?: (event: ChIconButtonCustomEvent<MouseEvent>) => void;
1975
+ /**
1976
+ * Visual size. `md` matches the height of a default `ch-button`.
1977
+ * @default 'md'
1978
+ */
1979
+ "size"?: ChIconButtonSize;
1980
+ /**
1981
+ * Native button type, defaulting to `button` so it never submits a form by accident.
1982
+ * @default 'button'
1983
+ */
1984
+ "type"?: 'button' | 'submit' | 'reset';
1985
+ }
1508
1986
  interface ChInput {
1509
1987
  /**
1510
1988
  * Whether the input is disabled.
@@ -1632,6 +2110,40 @@ declare namespace LocalJSX {
1632
2110
  */
1633
2111
  "size"?: ChModalSize;
1634
2112
  }
2113
+ /**
2114
+ * The heading block at the top of a page: title, optional eyebrow and
2115
+ * description, and a trailing actions area.
2116
+ * The title is a `title` prop rather than a slot so the heading level always
2117
+ * matches the page. A slotted heading lets a consumer nest a second `h1`, and
2118
+ * "one top-level heading per page" then depends on every caller remembering it;
2119
+ * here the level is explicit and defaults to `h1`. The actions wrap rather than
2120
+ * push the page sideways at 390px, and the DOM order keeps the heading before
2121
+ * the actions so reading and focus order still start with the title.
2122
+ */
2123
+ interface ChPageHeader {
2124
+ /**
2125
+ * Puts the actions below the title instead of beside it. Use it when the actions are too wide to sit on the same row even after wrapping.
2126
+ * @default false
2127
+ */
2128
+ "actionsStacked"?: boolean;
2129
+ /**
2130
+ * Optional supporting line under the title.
2131
+ */
2132
+ "description"?: string;
2133
+ /**
2134
+ * Optional small label above the title, as slotted content. Use it for a section or entity kind ("Proyecto", "Factura #1042"), not for the title.
2135
+ */
2136
+ "eyebrow"?: string;
2137
+ /**
2138
+ * Heading element to render. Use `h2` (or `h3`) when the page already has a higher-level heading above this block, so the document outline stays valid.
2139
+ * @default 'h1'
2140
+ */
2141
+ "headingLevel"?: ChPageHeaderHeadingLevel;
2142
+ /**
2143
+ * The page title. Rendered as a real heading, so it also works as the accessible name of the page region.
2144
+ */
2145
+ "title": string;
2146
+ }
1635
2147
  interface ChRadio {
1636
2148
  /**
1637
2149
  * Whether all radios in the group are disabled.
@@ -1865,6 +2377,41 @@ declare namespace LocalJSX {
1865
2377
  */
1866
2378
  "justify"?: ChStackJustify;
1867
2379
  }
2380
+ /**
2381
+ * One dashboard metric: a label, a value and an optional hint.
2382
+ * The value is a string the consumer has already formatted — the component
2383
+ * never parses numbers, so locale, currency and precision stay where the
2384
+ * data comes from. On a fetch error, pass the em dash and the unavailable
2385
+ * tone rather than a zero that would read as a real measurement:
2386
+ * ```html
2387
+ * <ch-stat label="Ventas del mes" value="$1.250.000" tone="positive"></ch-stat>
2388
+ * <ch-stat label="Ticket promedio" value="—" tone="unavailable"></ch-stat>
2389
+ * ```
2390
+ * A tone is never carried by colour alone: positive and negative values get
2391
+ * a visible sign cue, so the three states stay distinguishable in greyscale
2392
+ * and for colour-blind users. The `value` slot replaces the rendered value
2393
+ * for composed content (a link, a spinner), and the `footer` slot sits under
2394
+ * the hint for a comparison line or a sparkline.
2395
+ */
2396
+ interface ChStat {
2397
+ /**
2398
+ * Secondary line under the value — a comparison or a unit note.
2399
+ */
2400
+ "hint"?: string;
2401
+ /**
2402
+ * Short label naming the metric, rendered in small caps above the value.
2403
+ */
2404
+ "label": string;
2405
+ /**
2406
+ * Visual tone of the value. `positive` and `negative` add a sign cue so the tone survives greyscale; `unavailable` dims the value for the "could not be measured" case. An unknown value falls back to `default`.
2407
+ * @default 'default'
2408
+ */
2409
+ "tone"?: ChStatTone;
2410
+ /**
2411
+ * The metric value, already formatted by the consumer. Shown verbatim.
2412
+ */
2413
+ "value": string;
2414
+ }
1868
2415
  interface ChSwitch {
1869
2416
  /**
1870
2417
  * Whether the switch is on.
@@ -1994,6 +2541,29 @@ declare namespace LocalJSX {
1994
2541
  */
1995
2542
  "value"?: string;
1996
2543
  }
2544
+ /**
2545
+ * Chronological history: a native ordered list with a marker dot per item
2546
+ * and a connector line between items — the last item never gets a trailing
2547
+ * connector.
2548
+ * The component renders the `<ol>` and owns the rail; the consumer writes
2549
+ * plain `<li>` items with whatever content each entry needs — a preformatted
2550
+ * date, a title, a description, and a non-colour state cue from `ch-icon`:
2551
+ * ```html
2552
+ * <ch-timeline>
2553
+ * <li>
2554
+ * <ch-icon name="check"></ch-icon>
2555
+ * <time datetime="2026-11-02">2 nov 2026</time> — Creado el pedido
2556
+ * </li>
2557
+ * <li><ch-icon name="spinner"></ch-icon> Esperando despacho</li>
2558
+ * </ch-timeline>
2559
+ * ```
2560
+ * The list semantics survive untouched because the `li` elements stay native
2561
+ * in the light DOM — measured on #83: a wrapped item still counts as a
2562
+ * `listitem`, so nothing is gained by a `ch-timeline-item` element, and
2563
+ * native markup is the safe bet across browsers.
2564
+ */
2565
+ interface ChTimeline {
2566
+ }
1997
2567
  /**
1998
2568
  * Short help text shown on hover and on focus.
1999
2569
  * Both the trigger and the text come from the consumer's light DOM through
@@ -2007,10 +2577,16 @@ declare namespace LocalJSX {
2007
2577
  * `<input>`). A chucao component such as `ch-button` will not be described,
2008
2578
  * because `aria-*` set on a custom element host does not reach the native
2009
2579
  * element inside it — see the discussion in issue #47.
2580
+ * Positioning is measured, not purely CSS: `placement` is the preferred side,
2581
+ * and the bubble flips to the opposite side when the preferred one does not
2582
+ * fit, then shifts along the other axis to stay inside the viewport. It
2583
+ * re-measures on scroll, resize and visual-viewport changes, which is what
2584
+ * keeps it correct inside a scrolling modal or drawer and when a mobile
2585
+ * keyboard shrinks the visible area.
2010
2586
  */
2011
2587
  interface ChTooltip {
2012
2588
  /**
2013
- * Which side of the trigger the bubble is placed on.
2589
+ * The side the bubble is placed on. It is a preference: when that side has no room the bubble flips to the opposite one.
2014
2590
  * @default 'top'
2015
2591
  */
2016
2592
  "placement"?: ChTooltipPlacement;
@@ -2022,9 +2598,11 @@ declare namespace LocalJSX {
2022
2598
  interface ChAlertAttributes {
2023
2599
  "variant": ChAlertVariant;
2024
2600
  "dismissLabel": string;
2601
+ "statusCue": boolean;
2025
2602
  }
2026
2603
  interface ChBadgeAttributes {
2027
2604
  "variant": ChBadgeVariant;
2605
+ "statusCue": boolean;
2028
2606
  }
2029
2607
  interface ChButtonAttributes {
2030
2608
  "variant": ChButtonVariant;
@@ -2052,6 +2630,9 @@ declare namespace LocalJSX {
2052
2630
  "justify": ChClusterJustify;
2053
2631
  "wrap": boolean;
2054
2632
  }
2633
+ interface ChDescriptionListAttributes {
2634
+ "columns": ChDescriptionListColumns;
2635
+ }
2055
2636
  interface ChDividerAttributes {
2056
2637
  "orientation": ChDividerOrientation;
2057
2638
  }
@@ -2076,6 +2657,19 @@ declare namespace LocalJSX {
2076
2657
  "gap": ChGridGap;
2077
2658
  "minItemWidth": string;
2078
2659
  }
2660
+ interface ChIconAttributes {
2661
+ "name": ChIconName;
2662
+ "size": ChIconSize;
2663
+ "label": string;
2664
+ }
2665
+ interface ChIconButtonAttributes {
2666
+ "name": ChIconName;
2667
+ "label": string;
2668
+ "size": ChIconButtonSize;
2669
+ "type": 'button' | 'submit' | 'reset';
2670
+ "disabled": boolean;
2671
+ "loading": boolean;
2672
+ }
2079
2673
  interface ChInputAttributes {
2080
2674
  "label": string;
2081
2675
  "type": string;
@@ -2100,6 +2694,13 @@ declare namespace LocalJSX {
2100
2694
  "closeLabel": string;
2101
2695
  "size": ChModalSize;
2102
2696
  }
2697
+ interface ChPageHeaderAttributes {
2698
+ "title": string;
2699
+ "headingLevel": ChPageHeaderHeadingLevel;
2700
+ "eyebrow": string;
2701
+ "description": string;
2702
+ "actionsStacked": boolean;
2703
+ }
2103
2704
  interface ChRadioAttributes {
2104
2705
  "label": string;
2105
2706
  "value": string;
@@ -2145,6 +2746,12 @@ declare namespace LocalJSX {
2145
2746
  "align": ChStackAlign;
2146
2747
  "justify": ChStackJustify;
2147
2748
  }
2749
+ interface ChStatAttributes {
2750
+ "label": string;
2751
+ "value": string;
2752
+ "hint": string;
2753
+ "tone": ChStatTone;
2754
+ }
2148
2755
  interface ChSwitchAttributes {
2149
2756
  "label": string;
2150
2757
  "name": string;
@@ -2184,23 +2791,29 @@ declare namespace LocalJSX {
2184
2791
  "ch-card": ChCard;
2185
2792
  "ch-checkbox": Omit<ChCheckbox, keyof ChCheckboxAttributes> & { [K in keyof ChCheckbox & keyof ChCheckboxAttributes]?: ChCheckbox[K] } & { [K in keyof ChCheckbox & keyof ChCheckboxAttributes as `attr:${K}`]?: ChCheckboxAttributes[K] } & { [K in keyof ChCheckbox & keyof ChCheckboxAttributes as `prop:${K}`]?: ChCheckbox[K] };
2186
2793
  "ch-cluster": Omit<ChCluster, keyof ChClusterAttributes> & { [K in keyof ChCluster & keyof ChClusterAttributes]?: ChCluster[K] } & { [K in keyof ChCluster & keyof ChClusterAttributes as `attr:${K}`]?: ChClusterAttributes[K] } & { [K in keyof ChCluster & keyof ChClusterAttributes as `prop:${K}`]?: ChCluster[K] };
2794
+ "ch-description-list": Omit<ChDescriptionList, keyof ChDescriptionListAttributes> & { [K in keyof ChDescriptionList & keyof ChDescriptionListAttributes]?: ChDescriptionList[K] } & { [K in keyof ChDescriptionList & keyof ChDescriptionListAttributes as `attr:${K}`]?: ChDescriptionListAttributes[K] } & { [K in keyof ChDescriptionList & keyof ChDescriptionListAttributes as `prop:${K}`]?: ChDescriptionList[K] };
2187
2795
  "ch-divider": Omit<ChDivider, keyof ChDividerAttributes> & { [K in keyof ChDivider & keyof ChDividerAttributes]?: ChDivider[K] } & { [K in keyof ChDivider & keyof ChDividerAttributes as `attr:${K}`]?: ChDividerAttributes[K] } & { [K in keyof ChDivider & keyof ChDividerAttributes as `prop:${K}`]?: ChDivider[K] };
2188
2796
  "ch-drawer": Omit<ChDrawer, keyof ChDrawerAttributes> & { [K in keyof ChDrawer & keyof ChDrawerAttributes]?: ChDrawer[K] } & { [K in keyof ChDrawer & keyof ChDrawerAttributes as `attr:${K}`]?: ChDrawerAttributes[K] } & { [K in keyof ChDrawer & keyof ChDrawerAttributes as `prop:${K}`]?: ChDrawer[K] };
2189
2797
  "ch-emoji": Omit<ChEmoji, keyof ChEmojiAttributes> & { [K in keyof ChEmoji & keyof ChEmojiAttributes]?: ChEmoji[K] } & { [K in keyof ChEmoji & keyof ChEmojiAttributes as `attr:${K}`]?: ChEmojiAttributes[K] } & { [K in keyof ChEmoji & keyof ChEmojiAttributes as `prop:${K}`]?: ChEmoji[K] } & OneOf<"name", ChEmoji["name"], ChEmojiAttributes["name"]>;
2190
2798
  "ch-empty-state": Omit<ChEmptyState, keyof ChEmptyStateAttributes> & { [K in keyof ChEmptyState & keyof ChEmptyStateAttributes]?: ChEmptyState[K] } & { [K in keyof ChEmptyState & keyof ChEmptyStateAttributes as `attr:${K}`]?: ChEmptyStateAttributes[K] } & { [K in keyof ChEmptyState & keyof ChEmptyStateAttributes as `prop:${K}`]?: ChEmptyState[K] } & OneOf<"title", ChEmptyState["title"], ChEmptyStateAttributes["title"]>;
2191
2799
  "ch-grid": Omit<ChGrid, keyof ChGridAttributes> & { [K in keyof ChGrid & keyof ChGridAttributes]?: ChGrid[K] } & { [K in keyof ChGrid & keyof ChGridAttributes as `attr:${K}`]?: ChGridAttributes[K] } & { [K in keyof ChGrid & keyof ChGridAttributes as `prop:${K}`]?: ChGrid[K] };
2800
+ "ch-icon": Omit<ChIcon, keyof ChIconAttributes> & { [K in keyof ChIcon & keyof ChIconAttributes]?: ChIcon[K] } & { [K in keyof ChIcon & keyof ChIconAttributes as `attr:${K}`]?: ChIconAttributes[K] } & { [K in keyof ChIcon & keyof ChIconAttributes as `prop:${K}`]?: ChIcon[K] } & OneOf<"name", ChIcon["name"], ChIconAttributes["name"]>;
2801
+ "ch-icon-button": Omit<ChIconButton, keyof ChIconButtonAttributes> & { [K in keyof ChIconButton & keyof ChIconButtonAttributes]?: ChIconButton[K] } & { [K in keyof ChIconButton & keyof ChIconButtonAttributes as `attr:${K}`]?: ChIconButtonAttributes[K] } & { [K in keyof ChIconButton & keyof ChIconButtonAttributes as `prop:${K}`]?: ChIconButton[K] } & OneOf<"name", ChIconButton["name"], ChIconButtonAttributes["name"]> & OneOf<"label", ChIconButton["label"], ChIconButtonAttributes["label"]>;
2192
2802
  "ch-input": Omit<ChInput, keyof ChInputAttributes> & { [K in keyof ChInput & keyof ChInputAttributes]?: ChInput[K] } & { [K in keyof ChInput & keyof ChInputAttributes as `attr:${K}`]?: ChInputAttributes[K] } & { [K in keyof ChInput & keyof ChInputAttributes as `prop:${K}`]?: ChInput[K] };
2193
2803
  "ch-link": Omit<ChLink, keyof ChLinkAttributes> & { [K in keyof ChLink & keyof ChLinkAttributes]?: ChLink[K] } & { [K in keyof ChLink & keyof ChLinkAttributes as `attr:${K}`]?: ChLinkAttributes[K] } & { [K in keyof ChLink & keyof ChLinkAttributes as `prop:${K}`]?: ChLink[K] };
2194
2804
  "ch-modal": Omit<ChModal, keyof ChModalAttributes> & { [K in keyof ChModal & keyof ChModalAttributes]?: ChModal[K] } & { [K in keyof ChModal & keyof ChModalAttributes as `attr:${K}`]?: ChModalAttributes[K] } & { [K in keyof ChModal & keyof ChModalAttributes as `prop:${K}`]?: ChModal[K] };
2805
+ "ch-page-header": Omit<ChPageHeader, keyof ChPageHeaderAttributes> & { [K in keyof ChPageHeader & keyof ChPageHeaderAttributes]?: ChPageHeader[K] } & { [K in keyof ChPageHeader & keyof ChPageHeaderAttributes as `attr:${K}`]?: ChPageHeaderAttributes[K] } & { [K in keyof ChPageHeader & keyof ChPageHeaderAttributes as `prop:${K}`]?: ChPageHeader[K] } & OneOf<"title", ChPageHeader["title"], ChPageHeaderAttributes["title"]>;
2195
2806
  "ch-radio": Omit<ChRadio, keyof ChRadioAttributes> & { [K in keyof ChRadio & keyof ChRadioAttributes]?: ChRadio[K] } & { [K in keyof ChRadio & keyof ChRadioAttributes as `attr:${K}`]?: ChRadioAttributes[K] } & { [K in keyof ChRadio & keyof ChRadioAttributes as `prop:${K}`]?: ChRadio[K] };
2196
2807
  "ch-segmented-control": Omit<ChSegmentedControl, keyof ChSegmentedControlAttributes> & { [K in keyof ChSegmentedControl & keyof ChSegmentedControlAttributes]?: ChSegmentedControl[K] } & { [K in keyof ChSegmentedControl & keyof ChSegmentedControlAttributes as `attr:${K}`]?: ChSegmentedControlAttributes[K] } & { [K in keyof ChSegmentedControl & keyof ChSegmentedControlAttributes as `prop:${K}`]?: ChSegmentedControl[K] };
2197
2808
  "ch-select": Omit<ChSelect, keyof ChSelectAttributes> & { [K in keyof ChSelect & keyof ChSelectAttributes]?: ChSelect[K] } & { [K in keyof ChSelect & keyof ChSelectAttributes as `attr:${K}`]?: ChSelectAttributes[K] } & { [K in keyof ChSelect & keyof ChSelectAttributes as `prop:${K}`]?: ChSelect[K] };
2198
2809
  "ch-skeleton": Omit<ChSkeleton, keyof ChSkeletonAttributes> & { [K in keyof ChSkeleton & keyof ChSkeletonAttributes]?: ChSkeleton[K] } & { [K in keyof ChSkeleton & keyof ChSkeletonAttributes as `attr:${K}`]?: ChSkeletonAttributes[K] } & { [K in keyof ChSkeleton & keyof ChSkeletonAttributes as `prop:${K}`]?: ChSkeleton[K] };
2199
2810
  "ch-spinner": Omit<ChSpinner, keyof ChSpinnerAttributes> & { [K in keyof ChSpinner & keyof ChSpinnerAttributes]?: ChSpinner[K] } & { [K in keyof ChSpinner & keyof ChSpinnerAttributes as `attr:${K}`]?: ChSpinnerAttributes[K] } & { [K in keyof ChSpinner & keyof ChSpinnerAttributes as `prop:${K}`]?: ChSpinner[K] };
2200
2811
  "ch-stack": Omit<ChStack, keyof ChStackAttributes> & { [K in keyof ChStack & keyof ChStackAttributes]?: ChStack[K] } & { [K in keyof ChStack & keyof ChStackAttributes as `attr:${K}`]?: ChStackAttributes[K] } & { [K in keyof ChStack & keyof ChStackAttributes as `prop:${K}`]?: ChStack[K] };
2812
+ "ch-stat": Omit<ChStat, keyof ChStatAttributes> & { [K in keyof ChStat & keyof ChStatAttributes]?: ChStat[K] } & { [K in keyof ChStat & keyof ChStatAttributes as `attr:${K}`]?: ChStatAttributes[K] } & { [K in keyof ChStat & keyof ChStatAttributes as `prop:${K}`]?: ChStat[K] } & OneOf<"label", ChStat["label"], ChStatAttributes["label"]> & OneOf<"value", ChStat["value"], ChStatAttributes["value"]>;
2201
2813
  "ch-switch": Omit<ChSwitch, keyof ChSwitchAttributes> & { [K in keyof ChSwitch & keyof ChSwitchAttributes]?: ChSwitch[K] } & { [K in keyof ChSwitch & keyof ChSwitchAttributes as `attr:${K}`]?: ChSwitchAttributes[K] } & { [K in keyof ChSwitch & keyof ChSwitchAttributes as `prop:${K}`]?: ChSwitch[K] };
2202
2814
  "ch-tabs": Omit<ChTabs, keyof ChTabsAttributes> & { [K in keyof ChTabs & keyof ChTabsAttributes]?: ChTabs[K] } & { [K in keyof ChTabs & keyof ChTabsAttributes as `attr:${K}`]?: ChTabsAttributes[K] } & { [K in keyof ChTabs & keyof ChTabsAttributes as `prop:${K}`]?: ChTabs[K] };
2203
2815
  "ch-textarea": Omit<ChTextarea, keyof ChTextareaAttributes> & { [K in keyof ChTextarea & keyof ChTextareaAttributes]?: ChTextarea[K] } & { [K in keyof ChTextarea & keyof ChTextareaAttributes as `attr:${K}`]?: ChTextareaAttributes[K] } & { [K in keyof ChTextarea & keyof ChTextareaAttributes as `prop:${K}`]?: ChTextarea[K] };
2816
+ "ch-timeline": ChTimeline;
2204
2817
  "ch-tooltip": Omit<ChTooltip, keyof ChTooltipAttributes> & { [K in keyof ChTooltip & keyof ChTooltipAttributes]?: ChTooltip[K] } & { [K in keyof ChTooltip & keyof ChTooltipAttributes as `attr:${K}`]?: ChTooltipAttributes[K] } & { [K in keyof ChTooltip & keyof ChTooltipAttributes as `prop:${K}`]?: ChTooltip[K] };
2205
2818
  }
2206
2819
  }
@@ -2216,8 +2829,19 @@ declare module "@stencil/core" {
2216
2829
  * interrupt. Both announce reliably when the alert is added to the page in
2217
2830
  * response to something — an alert already present at load may not be read out,
2218
2831
  * which is how live regions work rather than something this component controls.
2832
+ * Every variant also carries an icon and a thicker leading edge, so the three
2833
+ * states stay distinguishable without colour vision. The icon is decorative:
2834
+ * the text next to it already says what happened, and announcing "check
2835
+ * circle" before it would only add noise.
2219
2836
  */
2220
2837
  "ch-alert": LocalJSX.IntrinsicElements["ch-alert"] & JSXBase.HTMLAttributes<HTMLChAlertElement>;
2838
+ /**
2839
+ * Small status label.
2840
+ * Variants are not colour-only: each one also changes the leading dot's shape
2841
+ * and adds a matching border, so a badge still says which state it is in when
2842
+ * printed in grayscale or seen with colour-vision deficiency. `default` uses a
2843
+ * filled dot, `positive` a ring, and `warning` a filled square.
2844
+ */
2221
2845
  "ch-badge": LocalJSX.IntrinsicElements["ch-badge"] & JSXBase.HTMLAttributes<HTMLChBadgeElement>;
2222
2846
  "ch-button": LocalJSX.IntrinsicElements["ch-button"] & JSXBase.HTMLAttributes<HTMLChButtonElement>;
2223
2847
  "ch-card": LocalJSX.IntrinsicElements["ch-card"] & JSXBase.HTMLAttributes<HTMLChCardElement>;
@@ -2227,6 +2851,24 @@ declare module "@stencil/core" {
2227
2851
  * gap in both axes — the layout a toolbar, a tag list or a button row needs.
2228
2852
  */
2229
2853
  "ch-cluster": LocalJSX.IntrinsicElements["ch-cluster"] & JSXBase.HTMLAttributes<HTMLChClusterElement>;
2854
+ /**
2855
+ * Label/value pairs for detail views, on a native `<dl>`.
2856
+ * The component renders the `<dl>` and the layout; the consumer writes the
2857
+ * terms and descriptions. Group each pair in a `<div>` (valid HTML 5.2
2858
+ * grouping) — the group is the grid item, which is what keeps a pair from
2859
+ * splitting across columns:
2860
+ * ```html
2861
+ * <ch-description-list columns="2">
2862
+ * <div><dt>Cliente</dt><dd>Aurora SpA</dd></div>
2863
+ * <div><dt>Pedido</dt><dd>#1523</dd></div>
2864
+ * </ch-description-list>
2865
+ * ```
2866
+ * The markup stays native in the light DOM, so the `term` role reaches the
2867
+ * accessibility tree untouched — the shape decision on #81 measured that a
2868
+ * custom wrapper adds nothing in Chromium while risking other browsers. No
2869
+ * `ch-description-item` element exists for the same reason.
2870
+ */
2871
+ "ch-description-list": LocalJSX.IntrinsicElements["ch-description-list"] & JSXBase.HTMLAttributes<HTMLChDescriptionListElement>;
2230
2872
  "ch-divider": LocalJSX.IntrinsicElements["ch-divider"] & JSXBase.HTMLAttributes<HTMLChDividerElement>;
2231
2873
  /**
2232
2874
  * Sliding side panel for navigation, editing forms and quick detail views.
@@ -2262,6 +2904,24 @@ declare module "@stencil/core" {
2262
2904
  * media queries of its own.
2263
2905
  */
2264
2906
  "ch-grid": LocalJSX.IntrinsicElements["ch-grid"] & JSXBase.HTMLAttributes<HTMLChGridElement>;
2907
+ /**
2908
+ * A single Lucide glyph.
2909
+ * Decorative by default: the icon is hidden from assistive technology unless
2910
+ * you give it a `label`, because most icons sit next to text that already says
2911
+ * what they mean and a second announcement is noise. Set `label` only when the
2912
+ * icon carries meaning on its own; a control whose only content is an icon
2913
+ * should use `ch-icon-button`, which requires the name.
2914
+ */
2915
+ "ch-icon": LocalJSX.IntrinsicElements["ch-icon"] & JSXBase.HTMLAttributes<HTMLChIconElement>;
2916
+ /**
2917
+ * A button whose only content is an icon.
2918
+ * The label is required rather than optional. An icon-only button without an
2919
+ * accessible name is unusable by voice, screen reader or automation, and there
2920
+ * is no adjacent text to fall back on — the same reasoning as `ch-modal`, and
2921
+ * the reason this component exists instead of letting consumers bolt an icon
2922
+ * slot onto `ch-button` and forget the name.
2923
+ */
2924
+ "ch-icon-button": LocalJSX.IntrinsicElements["ch-icon-button"] & JSXBase.HTMLAttributes<HTMLChIconButtonElement>;
2265
2925
  "ch-input": LocalJSX.IntrinsicElements["ch-input"] & JSXBase.HTMLAttributes<HTMLChInputElement>;
2266
2926
  "ch-link": LocalJSX.IntrinsicElements["ch-link"] & JSXBase.HTMLAttributes<HTMLChLinkElement>;
2267
2927
  /**
@@ -2281,6 +2941,17 @@ declare module "@stencil/core" {
2281
2941
  * than only for some.
2282
2942
  */
2283
2943
  "ch-modal": LocalJSX.IntrinsicElements["ch-modal"] & JSXBase.HTMLAttributes<HTMLChModalElement>;
2944
+ /**
2945
+ * The heading block at the top of a page: title, optional eyebrow and
2946
+ * description, and a trailing actions area.
2947
+ * The title is a `title` prop rather than a slot so the heading level always
2948
+ * matches the page. A slotted heading lets a consumer nest a second `h1`, and
2949
+ * "one top-level heading per page" then depends on every caller remembering it;
2950
+ * here the level is explicit and defaults to `h1`. The actions wrap rather than
2951
+ * push the page sideways at 390px, and the DOM order keeps the heading before
2952
+ * the actions so reading and focus order still start with the title.
2953
+ */
2954
+ "ch-page-header": LocalJSX.IntrinsicElements["ch-page-header"] & JSXBase.HTMLAttributes<HTMLChPageHeaderElement>;
2284
2955
  "ch-radio": LocalJSX.IntrinsicElements["ch-radio"] & JSXBase.HTMLAttributes<HTMLChRadioElement>;
2285
2956
  /**
2286
2957
  * Compact control for switching between a few mutually exclusive options
@@ -2319,9 +2990,48 @@ declare module "@stencil/core" {
2319
2990
  * consumer's own classes and attributes on `<ch-stack>` keep working.
2320
2991
  */
2321
2992
  "ch-stack": LocalJSX.IntrinsicElements["ch-stack"] & JSXBase.HTMLAttributes<HTMLChStackElement>;
2993
+ /**
2994
+ * One dashboard metric: a label, a value and an optional hint.
2995
+ * The value is a string the consumer has already formatted — the component
2996
+ * never parses numbers, so locale, currency and precision stay where the
2997
+ * data comes from. On a fetch error, pass the em dash and the unavailable
2998
+ * tone rather than a zero that would read as a real measurement:
2999
+ * ```html
3000
+ * <ch-stat label="Ventas del mes" value="$1.250.000" tone="positive"></ch-stat>
3001
+ * <ch-stat label="Ticket promedio" value="—" tone="unavailable"></ch-stat>
3002
+ * ```
3003
+ * A tone is never carried by colour alone: positive and negative values get
3004
+ * a visible sign cue, so the three states stay distinguishable in greyscale
3005
+ * and for colour-blind users. The `value` slot replaces the rendered value
3006
+ * for composed content (a link, a spinner), and the `footer` slot sits under
3007
+ * the hint for a comparison line or a sparkline.
3008
+ */
3009
+ "ch-stat": LocalJSX.IntrinsicElements["ch-stat"] & JSXBase.HTMLAttributes<HTMLChStatElement>;
2322
3010
  "ch-switch": LocalJSX.IntrinsicElements["ch-switch"] & JSXBase.HTMLAttributes<HTMLChSwitchElement>;
2323
3011
  "ch-tabs": LocalJSX.IntrinsicElements["ch-tabs"] & JSXBase.HTMLAttributes<HTMLChTabsElement>;
2324
3012
  "ch-textarea": LocalJSX.IntrinsicElements["ch-textarea"] & JSXBase.HTMLAttributes<HTMLChTextareaElement>;
3013
+ /**
3014
+ * Chronological history: a native ordered list with a marker dot per item
3015
+ * and a connector line between items — the last item never gets a trailing
3016
+ * connector.
3017
+ * The component renders the `<ol>` and owns the rail; the consumer writes
3018
+ * plain `<li>` items with whatever content each entry needs — a preformatted
3019
+ * date, a title, a description, and a non-colour state cue from `ch-icon`:
3020
+ * ```html
3021
+ * <ch-timeline>
3022
+ * <li>
3023
+ * <ch-icon name="check"></ch-icon>
3024
+ * <time datetime="2026-11-02">2 nov 2026</time> — Creado el pedido
3025
+ * </li>
3026
+ * <li><ch-icon name="spinner"></ch-icon> Esperando despacho</li>
3027
+ * </ch-timeline>
3028
+ * ```
3029
+ * The list semantics survive untouched because the `li` elements stay native
3030
+ * in the light DOM — measured on #83: a wrapped item still counts as a
3031
+ * `listitem`, so nothing is gained by a `ch-timeline-item` element, and
3032
+ * native markup is the safe bet across browsers.
3033
+ */
3034
+ "ch-timeline": LocalJSX.IntrinsicElements["ch-timeline"] & JSXBase.HTMLAttributes<HTMLChTimelineElement>;
2325
3035
  /**
2326
3036
  * Short help text shown on hover and on focus.
2327
3037
  * Both the trigger and the text come from the consumer's light DOM through
@@ -2335,6 +3045,12 @@ declare module "@stencil/core" {
2335
3045
  * `<input>`). A chucao component such as `ch-button` will not be described,
2336
3046
  * because `aria-*` set on a custom element host does not reach the native
2337
3047
  * element inside it — see the discussion in issue #47.
3048
+ * Positioning is measured, not purely CSS: `placement` is the preferred side,
3049
+ * and the bubble flips to the opposite side when the preferred one does not
3050
+ * fit, then shifts along the other axis to stay inside the viewport. It
3051
+ * re-measures on scroll, resize and visual-viewport changes, which is what
3052
+ * keeps it correct inside a scrolling modal or drawer and when a mobile
3053
+ * keyboard shrinks the visible area.
2338
3054
  */
2339
3055
  "ch-tooltip": LocalJSX.IntrinsicElements["ch-tooltip"] & JSXBase.HTMLAttributes<HTMLChTooltipElement>;
2340
3056
  }