@medway-ui/core 1.30.0 → 1.31.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 (336) hide show
  1. package/COMPONENTS.md +2058 -0
  2. package/COMPONENTS_SUMMARY.md +66 -0
  3. package/README.md +1 -1
  4. package/dist/COMPONENTS.md +2058 -0
  5. package/dist/COMPONENTS_SUMMARY.md +66 -0
  6. package/dist/assets/js/tokens.d.mts +0 -1
  7. package/dist/assets/js/tokens.d.mts.map +1 -1
  8. package/dist/assets/js/tokens.d.ts +0 -1
  9. package/dist/assets/js/tokens.d.ts.map +1 -1
  10. package/dist/assets/js/tokens.js +1 -1
  11. package/dist/assets/js/tokens.mjs +1 -1
  12. package/dist/assets/js/tokens.mjs.map +1 -1
  13. package/dist/assets/js/tokens.ts +0 -1
  14. package/dist/components/Alert.d.mts +7 -6
  15. package/dist/components/Alert.d.mts.map +1 -1
  16. package/dist/components/Alert.d.ts +7 -6
  17. package/dist/components/Alert.d.ts.map +1 -1
  18. package/dist/components/Alert.js +1 -1
  19. package/dist/components/Alert.mjs +1 -1
  20. package/dist/components/AlertDialog.d.mts +5 -4
  21. package/dist/components/AlertDialog.d.mts.map +1 -1
  22. package/dist/components/AlertDialog.d.ts +5 -4
  23. package/dist/components/AlertDialog.d.ts.map +1 -1
  24. package/dist/components/AlertDialog.js +1 -1
  25. package/dist/components/AlertDialog.mjs +1 -1
  26. package/dist/components/Autocomplete.d.mts.map +1 -1
  27. package/dist/components/Autocomplete.d.ts.map +1 -1
  28. package/dist/components/Autocomplete.js +1 -1
  29. package/dist/components/Autocomplete.mjs +1 -1
  30. package/dist/components/Avatar.d.mts +2 -2
  31. package/dist/components/Avatar.d.mts.map +1 -1
  32. package/dist/components/Avatar.d.ts +2 -2
  33. package/dist/components/Avatar.d.ts.map +1 -1
  34. package/dist/components/Avatar.js +1 -1
  35. package/dist/components/Avatar.mjs +1 -1
  36. package/dist/components/Badge.d.mts +3 -3
  37. package/dist/components/Badge.d.mts.map +1 -1
  38. package/dist/components/Badge.d.ts +3 -3
  39. package/dist/components/Badge.d.ts.map +1 -1
  40. package/dist/components/Badge.js +1 -1
  41. package/dist/components/Badge.mjs +1 -1
  42. package/dist/components/Breadcrumb.d.mts +1 -1
  43. package/dist/components/Breadcrumb.d.mts.map +1 -1
  44. package/dist/components/Breadcrumb.d.ts +1 -1
  45. package/dist/components/Breadcrumb.d.ts.map +1 -1
  46. package/dist/components/Breadcrumb.js +1 -1
  47. package/dist/components/Breadcrumb.mjs +1 -1
  48. package/dist/components/Button.d.mts +3 -3
  49. package/dist/components/Button.d.mts.map +1 -1
  50. package/dist/components/Button.d.ts +3 -3
  51. package/dist/components/Button.d.ts.map +1 -1
  52. package/dist/components/Button.js +1 -1
  53. package/dist/components/Button.mjs +1 -1
  54. package/dist/components/CardContinue.d.mts.map +1 -1
  55. package/dist/components/CardContinue.d.ts.map +1 -1
  56. package/dist/components/CardContinue.js +1 -1
  57. package/dist/components/CardContinue.mjs +1 -1
  58. package/dist/components/CardLesson.d.mts +1 -1
  59. package/dist/components/CardLesson.d.mts.map +1 -1
  60. package/dist/components/CardLesson.d.ts +1 -1
  61. package/dist/components/CardLesson.d.ts.map +1 -1
  62. package/dist/components/CardLesson.js +1 -1
  63. package/dist/components/CardLesson.mjs +1 -1
  64. package/dist/components/CardModule.d.mts +2 -2
  65. package/dist/components/CardModule.d.ts +2 -2
  66. package/dist/components/CardModule.js +1 -1
  67. package/dist/components/CardModule.mjs +1 -1
  68. package/dist/components/CardNews.d.mts +1 -1
  69. package/dist/components/CardNews.d.mts.map +1 -1
  70. package/dist/components/CardNews.d.ts +1 -1
  71. package/dist/components/CardNews.d.ts.map +1 -1
  72. package/dist/components/CardNews.js +1 -1
  73. package/dist/components/CardNews.mjs +1 -1
  74. package/dist/components/CardTopic.d.mts +2 -2
  75. package/dist/components/CardTopic.d.mts.map +1 -1
  76. package/dist/components/CardTopic.d.ts +2 -2
  77. package/dist/components/CardTopic.d.ts.map +1 -1
  78. package/dist/components/CardTopic.js +1 -1
  79. package/dist/components/CardTopic.mjs +1 -1
  80. package/dist/components/CardWeek.d.mts.map +1 -1
  81. package/dist/components/CardWeek.d.ts.map +1 -1
  82. package/dist/components/CardWeek.js +1 -1
  83. package/dist/components/CardWeek.mjs +1 -1
  84. package/dist/components/Checkbox.d.mts +2 -2
  85. package/dist/components/Checkbox.d.mts.map +1 -1
  86. package/dist/components/Checkbox.d.ts +2 -2
  87. package/dist/components/Checkbox.d.ts.map +1 -1
  88. package/dist/components/Checkbox.js +1 -1
  89. package/dist/components/Checkbox.mjs +1 -1
  90. package/dist/components/Chip.d.mts +3 -3
  91. package/dist/components/Chip.d.mts.map +1 -1
  92. package/dist/components/Chip.d.ts +3 -3
  93. package/dist/components/Chip.d.ts.map +1 -1
  94. package/dist/components/Chip.js +1 -1
  95. package/dist/components/Chip.mjs +1 -1
  96. package/dist/components/Collapsible.d.mts +1 -1
  97. package/dist/components/Collapsible.d.mts.map +1 -1
  98. package/dist/components/Collapsible.d.ts +1 -1
  99. package/dist/components/Collapsible.d.ts.map +1 -1
  100. package/dist/components/Collapsible.js +1 -1
  101. package/dist/components/Collapsible.mjs +1 -1
  102. package/dist/components/Command.d.mts +4 -1
  103. package/dist/components/Command.d.mts.map +1 -1
  104. package/dist/components/Command.d.ts +4 -1
  105. package/dist/components/Command.d.ts.map +1 -1
  106. package/dist/components/Command.js +1 -1
  107. package/dist/components/Command.mjs +1 -1
  108. package/dist/components/DatePicker.d.mts +3 -3
  109. package/dist/components/DatePicker.d.mts.map +1 -1
  110. package/dist/components/DatePicker.d.ts +3 -3
  111. package/dist/components/DatePicker.d.ts.map +1 -1
  112. package/dist/components/DatePicker.js +1 -1
  113. package/dist/components/DatePicker.mjs +1 -1
  114. package/dist/components/Dialog.d.mts +4 -3
  115. package/dist/components/Dialog.d.mts.map +1 -1
  116. package/dist/components/Dialog.d.ts +4 -3
  117. package/dist/components/Dialog.d.ts.map +1 -1
  118. package/dist/components/Dialog.js +1 -1
  119. package/dist/components/Dialog.mjs +1 -1
  120. package/dist/components/DropdownMenu.d.mts +9 -9
  121. package/dist/components/DropdownMenu.d.mts.map +1 -1
  122. package/dist/components/DropdownMenu.d.ts +9 -9
  123. package/dist/components/DropdownMenu.d.ts.map +1 -1
  124. package/dist/components/DropdownMenu.js +1 -1
  125. package/dist/components/DropdownMenu.mjs +1 -1
  126. package/dist/components/FallbackImage.d.mts.map +1 -1
  127. package/dist/components/FallbackImage.d.ts.map +1 -1
  128. package/dist/components/FallbackImage.js +1 -1
  129. package/dist/components/FallbackImage.mjs +1 -1
  130. package/dist/components/IndexLevel.d.mts +3 -3
  131. package/dist/components/IndexLevel.d.mts.map +1 -1
  132. package/dist/components/IndexLevel.d.ts +3 -3
  133. package/dist/components/IndexLevel.d.ts.map +1 -1
  134. package/dist/components/IndexLevel.js +1 -1
  135. package/dist/components/IndexLevel.mjs +1 -1
  136. package/dist/components/IndexLevelAnimated.d.mts +2 -2
  137. package/dist/components/IndexLevelAnimated.d.mts.map +1 -1
  138. package/dist/components/IndexLevelAnimated.d.ts +2 -2
  139. package/dist/components/IndexLevelAnimated.d.ts.map +1 -1
  140. package/dist/components/IndexLevelAnimated.js +1 -1
  141. package/dist/components/IndexLevelAnimated.mjs +1 -1
  142. package/dist/components/Input.d.mts +8 -4
  143. package/dist/components/Input.d.mts.map +1 -1
  144. package/dist/components/Input.d.ts +8 -4
  145. package/dist/components/Input.d.ts.map +1 -1
  146. package/dist/components/Input.js +1 -1
  147. package/dist/components/Input.mjs +1 -1
  148. package/dist/components/Label.d.mts +2 -2
  149. package/dist/components/Label.d.mts.map +1 -1
  150. package/dist/components/Label.d.ts +2 -2
  151. package/dist/components/Label.d.ts.map +1 -1
  152. package/dist/components/Label.js +1 -1
  153. package/dist/components/Label.mjs +1 -1
  154. package/dist/components/Logo.d.mts +5 -7
  155. package/dist/components/Logo.d.mts.map +1 -1
  156. package/dist/components/Logo.d.ts +5 -7
  157. package/dist/components/Logo.d.ts.map +1 -1
  158. package/dist/components/Logo.js +1 -2
  159. package/dist/components/Logo.js.map +1 -1
  160. package/dist/components/Logo.mjs +1 -2
  161. package/dist/components/Logo.mjs.map +1 -1
  162. package/dist/components/NoteEditor.d.mts +8 -3
  163. package/dist/components/NoteEditor.d.mts.map +1 -1
  164. package/dist/components/NoteEditor.d.ts +8 -3
  165. package/dist/components/NoteEditor.d.ts.map +1 -1
  166. package/dist/components/NoteEditor.js +1 -1
  167. package/dist/components/NoteEditor.mjs +1 -1
  168. package/dist/components/Offcanvas.d.mts +7 -7
  169. package/dist/components/Offcanvas.d.mts.map +1 -1
  170. package/dist/components/Offcanvas.d.ts +7 -7
  171. package/dist/components/Offcanvas.d.ts.map +1 -1
  172. package/dist/components/Offcanvas.js +1 -1
  173. package/dist/components/Offcanvas.mjs +1 -1
  174. package/dist/components/Pagination.d.mts +4 -4
  175. package/dist/components/Pagination.d.mts.map +1 -1
  176. package/dist/components/Pagination.d.ts +4 -4
  177. package/dist/components/Pagination.d.ts.map +1 -1
  178. package/dist/components/Pagination.js +1 -1
  179. package/dist/components/Pagination.mjs +1 -1
  180. package/dist/components/Popover.d.mts +2 -2
  181. package/dist/components/Popover.d.mts.map +1 -1
  182. package/dist/components/Popover.d.ts +2 -2
  183. package/dist/components/Popover.d.ts.map +1 -1
  184. package/dist/components/Popover.js +1 -1
  185. package/dist/components/Popover.mjs +1 -1
  186. package/dist/components/Progress.d.mts.map +1 -1
  187. package/dist/components/Progress.d.ts.map +1 -1
  188. package/dist/components/Progress.js +1 -1
  189. package/dist/components/Progress.mjs +1 -1
  190. package/dist/components/ProgressCircle.d.mts +1 -1
  191. package/dist/components/ProgressCircle.d.mts.map +1 -1
  192. package/dist/components/ProgressCircle.d.ts +1 -1
  193. package/dist/components/ProgressCircle.d.ts.map +1 -1
  194. package/dist/components/ProgressCircle.js +1 -1
  195. package/dist/components/ProgressCircle.mjs +1 -1
  196. package/dist/components/RadioGroup.d.mts +2 -2
  197. package/dist/components/RadioGroup.d.mts.map +1 -1
  198. package/dist/components/RadioGroup.d.ts +2 -2
  199. package/dist/components/RadioGroup.d.ts.map +1 -1
  200. package/dist/components/RadioGroup.js +1 -1
  201. package/dist/components/RadioGroup.mjs +1 -1
  202. package/dist/components/Ranking.d.mts.map +1 -1
  203. package/dist/components/Ranking.d.ts.map +1 -1
  204. package/dist/components/Ranking.js +1 -1
  205. package/dist/components/Ranking.mjs +1 -1
  206. package/dist/components/Rating.d.mts +6 -4
  207. package/dist/components/Rating.d.mts.map +1 -1
  208. package/dist/components/Rating.d.ts +6 -4
  209. package/dist/components/Rating.d.ts.map +1 -1
  210. package/dist/components/Rating.js +1 -1
  211. package/dist/components/Rating.mjs +1 -1
  212. package/dist/components/SegmentControl.d.mts +2 -2
  213. package/dist/components/SegmentControl.d.mts.map +1 -1
  214. package/dist/components/SegmentControl.d.ts +2 -2
  215. package/dist/components/SegmentControl.d.ts.map +1 -1
  216. package/dist/components/SegmentControl.js +1 -1
  217. package/dist/components/SegmentControl.mjs +1 -1
  218. package/dist/components/Select.d.mts +2 -2
  219. package/dist/components/Select.d.mts.map +1 -1
  220. package/dist/components/Select.d.ts +2 -2
  221. package/dist/components/Select.d.ts.map +1 -1
  222. package/dist/components/Select.js +1 -1
  223. package/dist/components/Select.mjs +1 -1
  224. package/dist/components/Sheet.d.mts +4 -3
  225. package/dist/components/Sheet.d.mts.map +1 -1
  226. package/dist/components/Sheet.d.ts +4 -3
  227. package/dist/components/Sheet.d.ts.map +1 -1
  228. package/dist/components/Sheet.js +1 -1
  229. package/dist/components/Sheet.mjs +1 -1
  230. package/dist/components/Sidebar.d.mts +21 -18
  231. package/dist/components/Sidebar.d.mts.map +1 -1
  232. package/dist/components/Sidebar.d.ts +21 -18
  233. package/dist/components/Sidebar.d.ts.map +1 -1
  234. package/dist/components/Sidebar.js +1 -1
  235. package/dist/components/Sidebar.mjs +1 -1
  236. package/dist/components/Skeleton.d.mts.map +1 -1
  237. package/dist/components/Skeleton.d.ts.map +1 -1
  238. package/dist/components/Skeleton.js +1 -1
  239. package/dist/components/Skeleton.mjs +1 -1
  240. package/dist/components/Switch.d.mts +2 -2
  241. package/dist/components/Switch.d.mts.map +1 -1
  242. package/dist/components/Switch.d.ts +2 -2
  243. package/dist/components/Switch.d.ts.map +1 -1
  244. package/dist/components/Switch.js +1 -1
  245. package/dist/components/Switch.mjs +1 -1
  246. package/dist/components/Switcher.d.mts +2 -1
  247. package/dist/components/Switcher.d.mts.map +1 -1
  248. package/dist/components/Switcher.d.ts +2 -1
  249. package/dist/components/Switcher.d.ts.map +1 -1
  250. package/dist/components/Switcher.js +1 -1
  251. package/dist/components/Switcher.mjs +1 -1
  252. package/dist/components/Tabs.d.mts +4 -4
  253. package/dist/components/Tabs.d.mts.map +1 -1
  254. package/dist/components/Tabs.d.ts +4 -4
  255. package/dist/components/Tabs.d.ts.map +1 -1
  256. package/dist/components/Tabs.js +1 -1
  257. package/dist/components/Tabs.mjs +1 -1
  258. package/dist/components/Tag.d.mts +3 -3
  259. package/dist/components/Tag.d.mts.map +1 -1
  260. package/dist/components/Tag.d.ts +3 -3
  261. package/dist/components/Tag.d.ts.map +1 -1
  262. package/dist/components/Tag.js +1 -1
  263. package/dist/components/Tag.mjs +1 -1
  264. package/dist/components/Tile.d.mts +3 -3
  265. package/dist/components/Tile.d.mts.map +1 -1
  266. package/dist/components/Tile.d.ts +3 -3
  267. package/dist/components/Tile.d.ts.map +1 -1
  268. package/dist/components/Tile.js +1 -1
  269. package/dist/components/Tile.mjs +1 -1
  270. package/dist/components/Toast.d.mts +2 -2
  271. package/dist/components/Toast.d.mts.map +1 -1
  272. package/dist/components/Toast.d.ts +2 -2
  273. package/dist/components/Toast.d.ts.map +1 -1
  274. package/dist/components/Toast.js +1 -1
  275. package/dist/components/Toast.mjs +1 -1
  276. package/dist/components/Tooltip.d.mts +1 -1
  277. package/dist/components/Tooltip.d.mts.map +1 -1
  278. package/dist/components/Tooltip.d.ts +1 -1
  279. package/dist/components/Tooltip.d.ts.map +1 -1
  280. package/dist/components/Tooltip.js +1 -1
  281. package/dist/components/Tooltip.mjs +1 -1
  282. package/dist/hooks/use-composed-refs.d.mts +3 -0
  283. package/dist/hooks/use-composed-refs.d.mts.map +1 -0
  284. package/dist/hooks/use-composed-refs.d.ts +3 -0
  285. package/dist/hooks/use-composed-refs.d.ts.map +1 -0
  286. package/dist/hooks/use-composed-refs.js +3 -0
  287. package/dist/hooks/use-composed-refs.js.map +1 -0
  288. package/dist/hooks/use-composed-refs.mjs +3 -0
  289. package/dist/hooks/use-composed-refs.mjs.map +1 -0
  290. package/dist/hooks/use-mobile.d.mts.map +1 -1
  291. package/dist/hooks/use-mobile.d.ts.map +1 -1
  292. package/dist/hooks/use-mobile.js +1 -1
  293. package/dist/hooks/use-mobile.mjs +1 -1
  294. package/dist/index.d.mts +5 -7
  295. package/dist/index.d.mts.map +1 -1
  296. package/dist/index.d.ts +5 -7
  297. package/dist/index.d.ts.map +1 -1
  298. package/dist/index.js +1 -1
  299. package/dist/index.mjs +1 -1
  300. package/dist/lib/cmdk.d.mts +4 -4
  301. package/dist/lib/cmdk.d.mts.map +1 -1
  302. package/dist/lib/cmdk.d.ts +4 -4
  303. package/dist/lib/cmdk.d.ts.map +1 -1
  304. package/dist/lib/cmdk.js +1 -1
  305. package/dist/lib/cmdk.mjs +1 -1
  306. package/dist/lib/utils.d.mts +1 -0
  307. package/dist/lib/utils.d.mts.map +1 -1
  308. package/dist/lib/utils.d.ts +1 -0
  309. package/dist/lib/utils.d.ts.map +1 -1
  310. package/dist/lib/utils.js +1 -1
  311. package/dist/lib/utils.mjs +1 -1
  312. package/dist/note-editor.d.mts +1 -1
  313. package/dist/note-editor.d.mts.map +1 -1
  314. package/dist/note-editor.d.ts +1 -1
  315. package/dist/note-editor.d.ts.map +1 -1
  316. package/package.json +17 -7
  317. package/dist/node_modules/lucide-react/dist/esm/Icon.js +0 -7
  318. package/dist/node_modules/lucide-react/dist/esm/Icon.js.map +0 -1
  319. package/dist/node_modules/lucide-react/dist/esm/Icon.mjs +0 -7
  320. package/dist/node_modules/lucide-react/dist/esm/Icon.mjs.map +0 -1
  321. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js +0 -7
  322. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.js.map +0 -1
  323. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.mjs +0 -7
  324. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.mjs.map +0 -1
  325. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js +0 -7
  326. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.js.map +0 -1
  327. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.mjs +0 -7
  328. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.mjs.map +0 -1
  329. package/dist/node_modules/lucide-react/dist/esm/icons/x.js +0 -7
  330. package/dist/node_modules/lucide-react/dist/esm/icons/x.js.map +0 -1
  331. package/dist/node_modules/lucide-react/dist/esm/icons/x.mjs +0 -7
  332. package/dist/node_modules/lucide-react/dist/esm/icons/x.mjs.map +0 -1
  333. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js +0 -7
  334. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.js.map +0 -1
  335. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.mjs +0 -7
  336. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.mjs.map +0 -1
@@ -0,0 +1,2058 @@
1
+ # @medway-ui/core — Component Reference
2
+
3
+ > **Auto-generated — do not edit manually.**
4
+ > Package `@medway-ui/core` · v1.31.0 · Generated 2026-10-07
5
+
6
+ All components require React 18+ and are client components (`"use client"`).
7
+
8
+ ```tsx
9
+ import { Button } from "@medway-ui/core";
10
+ import type { ButtonProps } from "@medway-ui/core";
11
+ ```
12
+
13
+ > **Radix UI primitives:** Many components are thin, styled wrappers around
14
+ > [Radix UI](https://www.radix-ui.com) primitives (imported from `radix-ui`).
15
+ > Where a component lists a Radix UI base, every prop exposed by that Radix
16
+ > primitive is also accepted — even if not listed in the prop table below.
17
+ > Refer to the Radix UI docs for the full primitive API.
18
+
19
+ ---
20
+
21
+ ## Table of Contents
22
+
23
+ - [Alert](#alert)
24
+ - [AlertDialog](#alertdialog)
25
+ - [Autocomplete](#autocomplete)
26
+ - [Avatar](#avatar)
27
+ - [Badge](#badge)
28
+ - [Breadcrumb](#breadcrumb)
29
+ - [Button](#button)
30
+ - [CardWeek](#cardweek)
31
+ - [CardModule](#cardmodule)
32
+ - [CardTopic](#cardtopic)
33
+ - [CardContinue](#cardcontinue)
34
+ - [CardLesson](#cardlesson)
35
+ - [CardNews](#cardnews)
36
+ - [Checkbox](#checkbox)
37
+ - [Chip](#chip)
38
+ - [Collapsible](#collapsible)
39
+ - [Dialog](#dialog)
40
+ - [DropdownMenu](#dropdownmenu)
41
+ - [DatePicker](#datepicker)
42
+ - [IndexLevel](#indexlevel)
43
+ - [IndexLevelAnimated](#indexlevelanimated)
44
+ - [Input](#input)
45
+ - [Label](#label)
46
+ - [FallbackImage](#fallbackimage)
47
+ - [Loading](#loading)
48
+ - [Logo](#logo)
49
+ - [Offcanvas](#offcanvas)
50
+ - [Pagination](#pagination)
51
+ - [Progress](#progress)
52
+ - [ProgressCircle](#progresscircle)
53
+ - [RadioGroup](#radiogroup)
54
+ - [Ranking](#ranking)
55
+ - [Rating](#rating)
56
+ - [Scroll Area](#scroll-area)
57
+ - [Select](#select)
58
+ - [SegmentControl](#segmentcontrol)
59
+ - [Separator](#separator)
60
+ - [Sidebar](#sidebar)
61
+ - [Skeleton](#skeleton)
62
+ - [Switch](#switch)
63
+ - [Switcher](#switcher)
64
+ - [Tabs](#tabs)
65
+ - [Tag](#tag)
66
+ - [Tile](#tile)
67
+ - [Toast](#toast)
68
+ - [Tooltip](#tooltip)
69
+ - [NoteEditor](#noteeditor)
70
+ - [Hooks](#hooks)
71
+ - [Design Tokens](#design-tokens)
72
+
73
+ ---
74
+
75
+ ## Alert
76
+
77
+ **Sub-components:** `Alert`, `AlertActions`, `AlertButton`, `AlertContainer`, `AlertContent`, `AlertDescription`, `AlertIcon`, `AlertTitle`
78
+
79
+ **Functions / variant helpers:** `alertButtonVariants`, `alertVariants`
80
+
81
+ **Exported types:** `AlertButtonProps`, `AlertProps`
82
+
83
+ ### `alertVariants` — CVA Variants
84
+
85
+ **`variant`** *(default: `"regular"`)*:
86
+
87
+ `"regular"` \| `"emphasis"` \| `"success"` \| `"warning"` \| `"error"`
88
+
89
+ ### `alertButtonVariants` — CVA Variants
90
+
91
+ **`variant`** *(default: `"regular"`)*:
92
+
93
+ `"regular"` \| `"basic"`
94
+
95
+ **`alertVariant`** *(default: `"regular"`)*:
96
+
97
+ `"regular"` \| `"emphasis"` \| `"success"` \| `"warning"` \| `"error"`
98
+
99
+ ### `AlertProps`
100
+
101
+ | Prop | Type | Required |
102
+ |------|------|:--------:|
103
+ | `variant` | `"regular" \| "emphasis" \| "success" \| "warning" \| "error"` | |
104
+ | `onClose` | `() => void` | |
105
+ | `closeLabel` | `string` | |
106
+
107
+ ### `AlertButtonProps`
108
+
109
+ *Extends: VariantProps<typeof alertButtonVariants>*
110
+
111
+ *No additional props — inherits all from extended types.*
112
+
113
+ ---
114
+
115
+ ## AlertDialog
116
+
117
+ **Sub-components:** `AlertDialog`, `AlertDialogAction`, `AlertDialogCancel`, `AlertDialogContent`, `AlertDialogDescription`, `AlertDialogFooter`, `AlertDialogHeader`, `AlertDialogIcon`, `AlertDialogOverlay`, `AlertDialogPortal`, `AlertDialogTag`, `AlertDialogTitle`, `AlertDialogTrigger`
118
+
119
+ **Exported types:** `AlertDialogVariant`, `AlertDialogProps`, `AlertDialogContentProps`, `AlertDialogActionProps`, `AlertDialogCancelProps`, `AlertDialogTagProps`, `AlertDialogIconProps`
120
+
121
+ > **Radix UI base:** `AlertDialog` — sub-components forward all Radix UI props.
122
+
123
+ ### `alertDialogIconSectionVariants` — CVA Variants
124
+
125
+ **`variant`** *(default: `"DEFAULT_VARIANT"`)*:
126
+
127
+ `"regular"` \| `"emphasis"` \| `"warning"` \| `"error"` \| `"success"`
128
+
129
+ ### `alertDialogIconContainerVariants` — CVA Variants
130
+
131
+ **`variant`** *(default: `"DEFAULT_VARIANT"`)*:
132
+
133
+ `"regular"` \| `"emphasis"` \| `"warning"` \| `"error"` \| `"success"`
134
+
135
+ ### `AlertDialogProps`
136
+
137
+ | Prop | Type | Required |
138
+ |------|------|:--------:|
139
+ | `variant` | `AlertDialogVariant` | |
140
+
141
+ ### `AlertDialogContentProps`
142
+
143
+ | Prop | Type | Required |
144
+ |------|------|:--------:|
145
+ | `overlayClassName` | `string` | |
146
+ | `showCloseButton` | `boolean` | |
147
+ | `closeLabel` | `string` | |
148
+
149
+ ### `AlertDialogIconProps`
150
+
151
+ *Extends: Omit<ComponentProps<"div">, "children">*
152
+
153
+ | Prop | Type | Required |
154
+ |------|------|:--------:|
155
+ | `icon` | `ReactNode` | ✓ |
156
+
157
+ ### `AlertDialogTagProps`
158
+
159
+ | Prop | Type | Required |
160
+ |------|------|:--------:|
161
+ | `variant` | `AlertDialogVariant` | |
162
+ | `className` | `string` | |
163
+ | `children` | `ReactNode` | |
164
+
165
+ ### `AlertDialogVariant` *(type)*
166
+
167
+ ```typescript
168
+ type AlertDialogVariant = | "regular"
169
+ | "emphasis"
170
+ | "warning"
171
+ | "error"
172
+ | "success"
173
+ ```
174
+
175
+ ### `AlertDialogActionProps` *(type)*
176
+
177
+ ```typescript
178
+ type AlertDialogActionProps = ComponentProps<
179
+ typeof AlertDialogPrimitive.Action
180
+ > &
181
+ VariantProps<typeof buttonVariants>
182
+ ```
183
+
184
+ ### `AlertDialogCancelProps` *(type)*
185
+
186
+ ```typescript
187
+ type AlertDialogCancelProps = ComponentProps<
188
+ typeof AlertDialogPrimitive.Cancel
189
+ > &
190
+ VariantProps<typeof buttonVariants>
191
+ ```
192
+
193
+ ---
194
+
195
+ ## Autocomplete
196
+
197
+ **Sub-components:** `Autocomplete`, `AutocompleteContent`, `AutocompleteContentFooter`, `AutocompleteGroup`, `AutocompleteItem`, `AutocompleteText`, `AutocompleteTrigger`, `AutocompleteWrapper`
198
+
199
+ **Exported types:** `AutocompleteContextValue`, `AutocompleteContentFooterProps`, `AutocompleteItemProps`, `AutocompleteContentProps`, `AutocompleteTriggerProps`, `AutocompleteProps`
200
+
201
+ ### `AutocompleteContextValue`
202
+
203
+ | Prop | Type | Required |
204
+ |------|------|:--------:|
205
+ | `invalid` | `boolean` | ✓ |
206
+ | `disabled` | `boolean` | ✓ |
207
+ | `open` | `boolean` | ✓ |
208
+ | `setOpen` | `(open: boolean) => void` | ✓ |
209
+ | `values` | `string[]` | ✓ |
210
+ | `toggleValue` | `(value: string) => void` | ✓ |
211
+ | `onCancelSelection` | `() => void` | ✓ |
212
+ | `listId` | `string` | ✓ |
213
+
214
+ ### `AutocompleteProps`
215
+
216
+ | Prop | Type | Required |
217
+ |------|------|:--------:|
218
+ | `children` | `ReactNode` | ✓ |
219
+ | `invalid` | `boolean` | |
220
+ | `disabled` | `boolean` | |
221
+ | `values` | `string[]` | |
222
+ | `onValuesChange` | `(values: string[]) => void` | |
223
+ | `open` | `boolean` | |
224
+ | `onOpenChange` | `(open: boolean) => void` | |
225
+ | `defaultValues` | `string[]` | |
226
+
227
+ ### `AutocompleteTriggerProps`
228
+
229
+ | Prop | Type | Required |
230
+ |------|------|:--------:|
231
+ | `placeholder` | `string` | |
232
+
233
+ ### `AutocompleteContentProps`
234
+
235
+ | Prop | Type | Required |
236
+ |------|------|:--------:|
237
+ | `children` | `ReactNode` | ✓ |
238
+ | `className` | `string` | |
239
+ | `searchPlaceholder` | `string` | |
240
+ | `emptyMessage` | `string` | |
241
+
242
+ ### `AutocompleteItemProps`
243
+
244
+ | Prop | Type | Required |
245
+ |------|------|:--------:|
246
+ | `children` | `ReactNode` | ✓ |
247
+ | `value` | `string` | ✓ |
248
+ | `name` | `string` | |
249
+ | `className` | `string` | |
250
+ | `disabled` | `boolean` | |
251
+
252
+ ### `AutocompleteContentFooterProps`
253
+
254
+ | Prop | Type | Required |
255
+ |------|------|:--------:|
256
+ | `className` | `string` | |
257
+ | `cancelLabel` | `string` | |
258
+ | `confirmLabel` | `string` | |
259
+ | `onCancel` | `() => void` | |
260
+ | `onConfirm` | `(values: string[]) => void` | |
261
+
262
+ ---
263
+
264
+ ## Avatar
265
+
266
+ **Sub-components:** `Avatar`, `AvatarFallback`, `AvatarImage`
267
+
268
+ **Functions / variant helpers:** `avatarVariants`
269
+
270
+ **Exported types:** `AvatarProps`
271
+
272
+ > **Radix UI base:** `Avatar` — sub-components forward all Radix UI props.
273
+
274
+ ### `avatarVariants` — CVA Variants
275
+
276
+ **`size`** *(default: `"md"`)*:
277
+
278
+ `"sm"` \| `"md"` \| `"lg"` \| `"xl"`
279
+
280
+ ### `AvatarProps`
281
+
282
+ *Extends: VariantProps<typeof avatarVariants>*
283
+
284
+ | Prop | Type | Required |
285
+ |------|------|:--------:|
286
+ | `src` | `string` | |
287
+ | `alt` | `string` | |
288
+ | `fallback` | `ReactNode` | |
289
+ | `badge` | `number \| string` | |
290
+
291
+ ---
292
+
293
+ ## Badge
294
+
295
+ **Sub-components:** `Badge`
296
+
297
+ **Functions / variant helpers:** `badgeVariants`
298
+
299
+ **Exported types:** `BadgeAnimation`, `BadgeProps`
300
+
301
+ ### `badgeVariants` — CVA Variants
302
+
303
+ **`variant`** *(default: `"regular"`)*:
304
+
305
+ `"regular"` \| `"error"` \| `"warning"` \| `"freemium"` \| `"neutral"`
306
+
307
+ **`size`** *(default: `"md"`)*:
308
+
309
+ `"sm"` \| `"md"` \| `"lg"` \| `"xl"`
310
+
311
+ ### `BadgeProps`
312
+
313
+ *Extends: VariantProps<typeof badgeVariants>*
314
+
315
+ | Prop | Type | Required |
316
+ |------|------|:--------:|
317
+ | `asChild` | `boolean` | |
318
+ | `icon` | `ReactNode` | |
319
+ | `animation` | `BadgeAnimation` | |
320
+
321
+ ### `BadgeAnimation` *(type)*
322
+
323
+ ```typescript
324
+ type BadgeAnimation = "shine"
325
+ ```
326
+
327
+ ---
328
+
329
+ ## Breadcrumb
330
+
331
+ **Sub-components:** `Breadcrumb`, `BreadcrumbEllipsis`, `BreadcrumbItem`, `BreadcrumbLink`, `BreadcrumbList`, `BreadcrumbPage`, `BreadcrumbSeparator`
332
+
333
+ **Exported types:** `BreadcrumbItemProps`, `BreadcrumbLinkProps`
334
+
335
+ ### `BreadcrumbItemProps`
336
+
337
+ | Prop | Type | Required |
338
+ |------|------|:--------:|
339
+ | `icon` | `ReactNode` | |
340
+
341
+ ### `BreadcrumbLinkProps`
342
+
343
+ | Prop | Type | Required |
344
+ |------|------|:--------:|
345
+ | `asChild` | `boolean` | |
346
+
347
+ ---
348
+
349
+ ## Button
350
+
351
+ **Sub-components:** `Button`
352
+
353
+ **Functions / variant helpers:** `buttonVariants`
354
+
355
+ **Exported types:** `ButtonProps`
356
+
357
+ ### `buttonVariants` — CVA Variants
358
+
359
+ **`variant`** *(default: `"regular"`)*:
360
+
361
+ `"regular"` \| `"regular-soft"` \| `"regular-basic"` \| `"emphasis"` \| `"emphasis-soft"` \| `"emphasis-basic"` \| `"error"` \| `"error-soft"` \| `"error-basic"` \| `"warning"` \| `"warning-soft"` \| `"warning-basic"` \| `"success"` \| `"success-soft"` \| `"success-basic"` \| `"outlined"` \| `"gradient"` \| `"medbrain"`
362
+
363
+ **`size`** *(default: `"md"`)*:
364
+
365
+ `"sm"` \| `"md"` \| `"lg"` \| `"xl"`
366
+
367
+ ### `ButtonProps`
368
+
369
+ *Extends: VariantProps<typeof buttonVariants>*
370
+
371
+ | Prop | Type | Required |
372
+ |------|------|:--------:|
373
+ | `asChild` | `boolean` | |
374
+ | `containerClassName` | `string` | |
375
+ | `iconRight` | `ReactNode` | |
376
+ | `iconLeft` | `ReactNode` | |
377
+ | `badge` | `number \| string` | |
378
+ | `loading` | `boolean` | |
379
+ | `alert` | `string` | |
380
+
381
+ ---
382
+
383
+ ## CardWeek
384
+
385
+ **Sub-components:** `CardWeek`, `CardWeekActions`, `CardWeekBreadcrumb`, `CardWeekContainer`, `CardWeekContent`, `CardWeekDescription`, `CardWeekFooter`, `CardWeekHeader`, `CardWeekProgress`, `CardWeekProgressCircle`, `CardWeekStatus`, `CardWeekTags`, `CardWeekText`, `CardWeekTitle`
386
+
387
+ **Exported types:** `CardWeekBreadcrumbProps`, `CardWeekProps`, `CardWeekTextProps`
388
+
389
+ ### `CardWeekProps`
390
+
391
+ | Prop | Type | Required |
392
+ |------|------|:--------:|
393
+ | `done` | `boolean` | |
394
+ | `postponed` | `boolean` | |
395
+ | `skipped` | `boolean` | |
396
+
397
+ ### `CardWeekBreadcrumbProps`
398
+
399
+ | Prop | Type | Required |
400
+ |------|------|:--------:|
401
+ | `tag` | `string` | |
402
+ | `tagIcon` | `ReactElement` | |
403
+
404
+ ### `CardWeekTextProps`
405
+
406
+ | Prop | Type | Required |
407
+ |------|------|:--------:|
408
+ | `isTime` | `boolean` | |
409
+
410
+ ---
411
+
412
+ ## CardModule
413
+
414
+ **Sub-components:** `CardModule`, `CardModuleAction`, `CardModuleButton`, `CardModuleFooter`, `CardModuleHeader`, `CardModuleLabel`, `CardModuleProgress`, `CardModuleTitle`
415
+
416
+ **Functions / variant helpers:** `cardModuleStatusVariants`, `cardModuleVariants`
417
+
418
+ **Exported types:** `CardModuleLabelProps`, `CardModuleProgressProps`, `CardModuleProps`, `CardModuleVariant`
419
+
420
+ ### `cardModuleVariants` — CVA Variants
421
+
422
+ **`variant`** *(default: `"default"`)*:
423
+
424
+ `"default"` \| `"blocked"`
425
+
426
+ ### `CardModuleLabelProps`
427
+
428
+ | Prop | Type | Required |
429
+ |------|------|:--------:|
430
+ | `count` | `number \| string` | |
431
+
432
+ ### `CardModuleProgressProps`
433
+
434
+ | Prop | Type | Required |
435
+ |------|------|:--------:|
436
+ | `progress` | `number` | |
437
+
438
+ ### `CardModuleVariant` *(type)*
439
+
440
+ ```typescript
441
+ type CardModuleVariant = "default" | "blocked"
442
+ ```
443
+
444
+ ### `CardModuleProps` *(type)*
445
+
446
+ ```typescript
447
+ type CardModuleProps = | (ComponentProps<"div"> & {
448
+ variant?: "default";
449
+ availableDate?: never;
450
+ showStack?: boolean;
451
+ })
452
+ | (ComponentProps<"div"> & {
453
+ variant: "blocked";
454
+ availableDate: string;
455
+ showStack?: boolean;
456
+ })
457
+ ```
458
+
459
+ ---
460
+
461
+ ## CardTopic
462
+
463
+ **Sub-components:** `CardTopic`, `CardTopicColumn`, `CardTopicContent`, `CardTopicCount`, `CardTopicNumber`, `CardTopicProgress`, `CardTopicTitle`, `CardTopicTrigger`
464
+
465
+ **Functions / variant helpers:** `cardTopicVariants`
466
+
467
+ **Exported types:** `CardTopicProgressProps`, `CardTopicProps`, `CardTopicVariant`
468
+
469
+ ### `cardTopicVariants` — CVA Variants
470
+
471
+ **`variant`** *(default: `"default"`)*:
472
+
473
+ `"default"` \| `"blocked"`
474
+
475
+ ### `CardTopicProgressProps`
476
+
477
+ | Prop | Type | Required |
478
+ |------|------|:--------:|
479
+ | `progress` | `number` | |
480
+
481
+ ### `CardTopicVariant` *(type)*
482
+
483
+ ```typescript
484
+ type CardTopicVariant = "default" | "blocked"
485
+ ```
486
+
487
+ ### `CardTopicProps` *(type)*
488
+
489
+ ```typescript
490
+ type CardTopicProps = | (CollapsibleProps & {
491
+ variant?: "default";
492
+ availableDate?: never;
493
+ })
494
+ | (CollapsibleProps & {
495
+ variant: "blocked";
496
+ availableDate: string;
497
+ })
498
+ ```
499
+
500
+ ---
501
+
502
+ ## CardContinue
503
+
504
+ **Sub-components:** `CardContinue`, `CardContinueButton`, `CardContinueBreadcrumb`, `CardContinueContent`, `CardContinueHeader`, `CardContinueImage`, `CardContinueTitle`
505
+
506
+ **Exported types:** `CardContinueBreadcrumbProps`, `CardContinueImageProps`
507
+
508
+ ### `CardContinueImageProps`
509
+
510
+ | Prop | Type | Required |
511
+ |------|------|:--------:|
512
+ | `src` | `string` | |
513
+ | `alt` | `string` | |
514
+
515
+ ### `CardContinueBreadcrumbProps`
516
+
517
+ | Prop | Type | Required |
518
+ |------|------|:--------:|
519
+ | `items` | `string[]` | ✓ |
520
+ | `className` | `string` | |
521
+
522
+ ---
523
+
524
+ ## CardLesson
525
+
526
+ **Sub-components:** `CardLesson`, `CardLessonButton`, `CardLessonContent`, `CardLessonDuration`, `CardLessonFooter`, `CardLessonHeader`, `CardLessonIcon`, `CardLessonIcons`, `CardLessonImage`, `CardLessonLabel`, `CardLessonStatus`, `CardLessonTitle`
527
+
528
+ **Functions / variant helpers:** `cardLessonVariants`
529
+
530
+ **Exported types:** `CardLessonIconProps`, `CardLessonImageProps`, `CardLessonOrientation`, `CardLessonProps`, `CardLessonStatusProps`, `CardLessonStatusType`, `CardLessonVariant`
531
+
532
+ ### `cardLessonVariants` — CVA Variants
533
+
534
+ **`variant`** *(default: `"default"`)*:
535
+
536
+ `"default"` \| `"blocked"`
537
+
538
+ **`orientation`** *(default: `"vertical"`)*:
539
+
540
+ `"vertical"` \| `"horizontal"`
541
+
542
+ ### `CardLessonImageProps`
543
+
544
+ | Prop | Type | Required |
545
+ |------|------|:--------:|
546
+ | `src` | `string` | |
547
+ | `alt` | `string` | |
548
+
549
+ ### `CardLessonIconProps`
550
+
551
+ | Prop | Type | Required |
552
+ |------|------|:--------:|
553
+ | `icon` | `ReactNode` | ✓ |
554
+ | `badge` | `number \| string` | |
555
+
556
+ ### `CardLessonStatusProps`
557
+
558
+ *Extends: Omit<ComponentProps<typeof Tag>, "variant" | "icon">*
559
+
560
+ | Prop | Type | Required |
561
+ |------|------|:--------:|
562
+ | `status` | `CardLessonStatusType` | ✓ |
563
+
564
+ ### `CardLessonVariant` *(type)*
565
+
566
+ ```typescript
567
+ type CardLessonVariant = "default" | "blocked"
568
+ ```
569
+
570
+ ### `CardLessonOrientation` *(type)*
571
+
572
+ ```typescript
573
+ type CardLessonOrientation = "vertical" | "horizontal"
574
+ ```
575
+
576
+ ### `CardLessonStatusType` *(type)*
577
+
578
+ ```typescript
579
+ type CardLessonStatusType = "completed" | "started"
580
+ ```
581
+
582
+ ### `CardLessonProps` *(type)*
583
+
584
+ ```typescript
585
+ type CardLessonProps = | (ComponentProps<"div"> & {
586
+ variant?: "default";
587
+ orientation?: CardLessonOrientation;
588
+ availableDate?: never;
589
+ })
590
+ | (ComponentProps<"div"> & {
591
+ variant: "blocked";
592
+ orientation?: CardLessonOrientation;
593
+ availableDate: string;
594
+ })
595
+ ```
596
+
597
+ ---
598
+
599
+ ## CardNews
600
+
601
+ **Sub-components:** `CardNews`, `CardNewsAuthor`, `CardNewsBody`, `CardNewsContent`, `CardNewsDate`, `CardNewsDescription`, `CardNewsFooter`, `CardNewsHeader`, `CardNewsImage`, `CardNewsResourceItem`, `CardNewsResources`, `CardNewsTags`, `CardNewsTitle`
602
+
603
+ **Exported types:** `CardNewsAuthorProps`, `CardNewsDateProps`, `CardNewsImageProps`, `CardNewsProps`, `CardNewsResourcesProps`
604
+
605
+ ### `cardNewsVariants` — CVA Variants
606
+
607
+ **`variant`** *(default: `"default"`)*:
608
+
609
+ `"default"` \| `"read"` \| `"compact"`
610
+
611
+ **`orientation`** *(default: `"vertical"`)*:
612
+
613
+ `"vertical"` \| `"horizontal"`
614
+
615
+ ### `CardNewsResourcesProps`
616
+
617
+ | Prop | Type | Required |
618
+ |------|------|:--------:|
619
+ | `label` | `string` | ✓ |
620
+
621
+ ### `CardNewsDateProps`
622
+
623
+ | Prop | Type | Required |
624
+ |------|------|:--------:|
625
+ | `icon` | `ReactNode` | |
626
+
627
+ ### `CardNewsImageProps`
628
+
629
+ | Prop | Type | Required |
630
+ |------|------|:--------:|
631
+ | `src` | `string` | |
632
+ | `alt` | `string` | |
633
+
634
+ ### `CardNewsAuthorProps`
635
+
636
+ | Prop | Type | Required |
637
+ |------|------|:--------:|
638
+ | `src` | `string` | |
639
+ | `alt` | `string` | |
640
+ | `name` | `string` | |
641
+ | `role` | `string` | |
642
+
643
+ ### `CardNewsProps`
644
+
645
+ *Extends: VariantProps<typeof cardNewsVariants>*
646
+
647
+ | Prop | Type | Required |
648
+ |------|------|:--------:|
649
+ | `isRead` | `boolean` | |
650
+
651
+ ---
652
+
653
+ ## Checkbox
654
+
655
+ **Sub-components:** `Checkbox`
656
+
657
+ **Functions / variant helpers:** `checkboxVariants`
658
+
659
+ **Exported types:** `CheckboxProps`
660
+
661
+ > **Radix UI base:** `Checkbox` — sub-components forward all Radix UI props.
662
+
663
+ ### `checkboxVariants` — CVA Variants
664
+
665
+ **`variant`** *(default: `"regular"`)*:
666
+
667
+ `"regular"`
668
+
669
+ **`size`** *(default: `"md"`)*:
670
+
671
+ `"sm"` \| `"md"` \| `"lg"`
672
+
673
+ ### `CheckboxProps`
674
+
675
+ *Extends: VariantProps<typeof checkboxVariants>*
676
+
677
+ | Prop | Type | Required |
678
+ |------|------|:--------:|
679
+ | `uncheckIcon` | `boolean` | |
680
+
681
+ ---
682
+
683
+ ## Chip
684
+
685
+ **Sub-components:** `Chip`, `ChipChoice`, `ChipClear`, `ChipFilter`
686
+
687
+ **Functions / variant helpers:** `chipClearVariants`, `chipSelectableVariants`, `chipVariants`
688
+
689
+ **Exported types:** `ChipChoiceProps`, `ChipClearProps`, `ChipFilterProps`, `ChipProps`, `ChipSize`
690
+
691
+ ### `ChipProps`
692
+
693
+ *Extends: Omit<ComponentProps<"button">, "type">, VariantProps<typeof chipVariants>*
694
+
695
+ | Prop | Type | Required |
696
+ |------|------|:--------:|
697
+ | `dismissLabel` | `string` | |
698
+
699
+ ### `ChipFilterProps`
700
+
701
+ *Extends: ChipSelectableProps*
702
+
703
+ | Prop | Type | Required |
704
+ |------|------|:--------:|
705
+ | `criteria` | `ReactNode` | |
706
+
707
+ ### `ChipSize` *(type)*
708
+
709
+ ```typescript
710
+ type ChipSize = keyof typeof chipSizes
711
+ ```
712
+
713
+ ### `ChipChoiceProps` *(type)*
714
+
715
+ ```typescript
716
+ type ChipChoiceProps = ChipSelectableProps
717
+ ```
718
+
719
+ ### `ChipClearProps` *(type)*
720
+
721
+ ```typescript
722
+ type ChipClearProps = Omit<ComponentProps<"button">, "type"> &
723
+ VariantProps<typeof chipClearVariants>
724
+ ```
725
+
726
+ ---
727
+
728
+ ## Collapsible
729
+
730
+ **Sub-components:** `Collapsible`, `CollapsibleContent`, `CollapsibleTrigger`
731
+
732
+ **Exported types:** `AnimationType`, `CollapsibleContentProps`, `CollapsibleProps`
733
+
734
+ > **Radix UI base:** `Collapsible` — sub-components forward all Radix UI props.
735
+
736
+ ### `CollapsibleContentProps`
737
+
738
+ | Prop | Type | Required |
739
+ |------|------|:--------:|
740
+ | `className` | `string` | |
741
+
742
+ ### `CollapsibleProps`
743
+
744
+ | Prop | Type | Required |
745
+ |------|------|:--------:|
746
+ | `animation` | `AnimationType` | |
747
+
748
+ ### `AnimationType` *(type)*
749
+
750
+ ```typescript
751
+ type AnimationType = "accordion" | "fade"
752
+ ```
753
+
754
+ ---
755
+
756
+ ## Dialog
757
+
758
+ **Sub-components:** `Dialog`, `DialogClose`, `DialogContainer`, `DialogContent`, `DialogDescription`, `DialogFooter`, `DialogHeader`, `DialogOverlay`, `DialogPortal`, `DialogTitle`, `DialogTrigger`
759
+
760
+ **Exported types:** `DialogContainerProps`, `DialogFooterProps`, `DialogHeaderProps`, `DialogTitleProps`
761
+
762
+ > **Radix UI base:** `Dialog` — sub-components forward all Radix UI props.
763
+
764
+ ### `DialogContainerProps`
765
+
766
+ | Prop | Type | Required |
767
+ |------|------|:--------:|
768
+ | `showCloseButton` | `boolean` | |
769
+ | `overlayClassName` | `string` | |
770
+ | `closeLabel` | `string` | |
771
+
772
+ ### `DialogHeaderProps`
773
+
774
+ | Prop | Type | Required |
775
+ |------|------|:--------:|
776
+ | `separator` | `boolean` | |
777
+
778
+ ### `DialogFooterProps`
779
+
780
+ | Prop | Type | Required |
781
+ |------|------|:--------:|
782
+ | `separator` | `boolean` | |
783
+
784
+ ### `DialogTitleProps`
785
+
786
+ | Prop | Type | Required |
787
+ |------|------|:--------:|
788
+ | `iconLeft` | `ReactNode` | |
789
+ | `iconRight` | `ReactNode` | |
790
+
791
+ ---
792
+
793
+ ## DropdownMenu
794
+
795
+ **Sub-components:** `DropdownMenu`, `DropdownMenuCheckboxItem`, `DropdownMenuContent`, `DropdownMenuGroup`, `DropdownMenuItem`, `DropdownMenuLabel`, `DropdownMenuPortal`, `DropdownMenuRadioGroup`, `DropdownMenuRadioItem`, `DropdownMenuSeparator`, `DropdownMenuShortcut`, `DropdownMenuSub`, `DropdownMenuSubContent`, `DropdownMenuSubTrigger`, `DropdownMenuTrigger`
796
+
797
+ **Exported types:** `DropdownMenuLabelProps`
798
+
799
+ > **Radix UI base:** `DropdownMenu` — sub-components forward all Radix UI props.
800
+
801
+ ### `DropdownMenuLabelProps`
802
+
803
+ | Prop | Type | Required |
804
+ |------|------|:--------:|
805
+ | `inset` | `boolean` | |
806
+
807
+ ---
808
+
809
+ ## DatePicker
810
+
811
+ **Sub-components:** `DatePicker`, `DateRangePicker`, `DatePickerWrapper`, `DatePickerLabel`, `DatePickerText`
812
+
813
+ **Functions / variant helpers:** `datePickerTriggerVariants`
814
+
815
+ **Exported types:** `DatePickerProps`, `DatePickerValue`, `DateRangePickerProps`, `DateRangeValue`, `DatePickerLabelProps`
816
+
817
+ ### `datePickerTriggerVariants` — CVA Variants
818
+
819
+ **`size`** *(default: `"lg"`)*:
820
+
821
+ `"lg"` \| `"md"`
822
+
823
+ ### `DatePickerLabelProps`
824
+
825
+ | Prop | Type | Required |
826
+ |------|------|:--------:|
827
+ | `htmlFor` | `string` | |
828
+
829
+ ### `DatePickerProps`
830
+
831
+ *Extends: Omit<
832
+ ComponentPropsWithoutRef<"button">,
833
+ "value" | "defaultValue" | "onChange"
834
+ >, VariantProps<typeof datePickerTriggerVariants>*
835
+
836
+ | Prop | Type | Required |
837
+ |------|------|:--------:|
838
+ | `value` | `DatePickerValue` | |
839
+ | `defaultValue` | `DatePickerValue` | |
840
+ | `onValueChange` | `(value: DatePickerValue) => void` | |
841
+ | `placeholder` | `string` | |
842
+ | `disabled` | `boolean` | |
843
+ | `min` | `Date` | |
844
+ | `max` | `Date` | |
845
+ | `format` | `(date: Date) => string` | |
846
+ | `inputClassName` | `string` | |
847
+ | `contentClassName` | `string` | |
848
+ | `yearRange` | `{ start: number; end: number }` | |
849
+ | `showYearSelector` | `boolean` | |
850
+ | `invalid` | `boolean` | |
851
+
852
+ ### `DateRangePickerProps`
853
+
854
+ *Extends: Omit<
855
+ ComponentPropsWithoutRef<"button">,
856
+ "value" | "defaultValue" | "onChange"
857
+ >, VariantProps<typeof datePickerTriggerVariants>*
858
+
859
+ | Prop | Type | Required |
860
+ |------|------|:--------:|
861
+ | `value` | `DateRangeValue` | |
862
+ | `defaultValue` | `DateRangeValue` | |
863
+ | `onValueChange` | `(value: DateRangeValue) => void` | |
864
+ | `placeholder` | `string` | |
865
+ | `disabled` | `boolean` | |
866
+ | `min` | `Date` | |
867
+ | `max` | `Date` | |
868
+ | `format` | `(date: Date) => string` | |
869
+ | `inputClassName` | `string` | |
870
+ | `contentClassName` | `string` | |
871
+ | `yearRange` | `{ start: number; end: number }` | |
872
+ | `showYearSelector` | `boolean` | |
873
+ | `invalid` | `boolean` | |
874
+
875
+ ### `DatePickerValue` *(type)*
876
+
877
+ ```typescript
878
+ type DatePickerValue = Date | null
879
+ ```
880
+
881
+ ### `DateRangeValue` *(type)*
882
+
883
+ ```typescript
884
+ type DateRangeValue = { start: Date | null; end: Date | null } | null
885
+ ```
886
+
887
+ ---
888
+
889
+ ## IndexLevel
890
+
891
+ **Sub-components:** `INDEX_LEVEL_LABELS`, `IndexLevel`, `IndexLevelIcon`
892
+
893
+ **Functions / variant helpers:** `indexLevelIconVariants`, `indexLevelVariants`
894
+
895
+ **Exported types:** `IndexLevelIconProps`, `IndexLevelProps`, `IndexLevelValue`
896
+
897
+ ### `indexLevelVariants` — CVA Variants
898
+
899
+ **`variant`** *(default: `"regular"`)*:
900
+
901
+ `"regular"` \| `"soft"` \| `"basic"`
902
+
903
+ **`size`** *(default: `"md"`)*:
904
+
905
+ `"sm"` \| `"md"`
906
+
907
+ ### `indexLevelIconVariants` — CVA Variants
908
+
909
+ **`size`** *(default: `"md"`)*:
910
+
911
+ `"sm"` \| `"md"`
912
+
913
+ ### `IndexLevelIconProps`
914
+
915
+ *Extends: Omit<ComponentProps<"span">, "children">, VariantProps<typeof indexLevelIconVariants>*
916
+
917
+ | Prop | Type | Required |
918
+ |------|------|:--------:|
919
+ | `level` | `IndexLevelValue` | ✓ |
920
+ | `baseOpacity` | `"40" \| "20"` | |
921
+
922
+ ### `IndexLevelProps`
923
+
924
+ *Extends: VariantProps<typeof indexLevelVariants>*
925
+
926
+ | Prop | Type | Required |
927
+ |------|------|:--------:|
928
+ | `level` | `IndexLevelValue` | ✓ |
929
+ | `shortName` | `boolean` | |
930
+ | `label` | `ReactNode` | |
931
+ | `hideLabel` | `boolean` | |
932
+ | `iconClassName` | `string` | |
933
+ | `labelClassName` | `string` | |
934
+ | `asChild` | `boolean` | |
935
+
936
+ ### `IndexLevelValue` *(type)*
937
+
938
+ ```typescript
939
+ type IndexLevelValue = "p" | "h" | "m" | "l"
940
+ ```
941
+
942
+ ---
943
+
944
+ ## IndexLevelAnimated
945
+
946
+ **Sub-components:** `IndexLevelAnimated`
947
+
948
+ **Functions / variant helpers:** `indexLevelAnimatedVariants`
949
+
950
+ **Exported types:** `IndexLevelAnimatedProps`, `IndexLevelSpecialty`, `IndexLevelSpecialtyProp`
951
+
952
+ ### `indexLevelAnimatedVariants` — CVA Variants
953
+
954
+ **`size`** *(default: `"md"`)*:
955
+
956
+ `"sm"` \| `"md"`
957
+
958
+ ### `IndexLevelAnimatedProps`
959
+
960
+ *Extends: VariantProps<typeof indexLevelAnimatedVariants>*
961
+
962
+ | Prop | Type | Required |
963
+ |------|------|:--------:|
964
+ | `level` | `IndexLevelValue` | ✓ |
965
+ | `specialty` | `IndexLevelSpecialtyProp` | |
966
+ | `shortName` | `boolean` | |
967
+ | `label` | `ReactNode` | |
968
+ | `hideLabel` | `boolean` | |
969
+ | `animated` | `boolean` | |
970
+ | `iconClassName` | `string` | |
971
+ | `labelClassName` | `string` | |
972
+ | `ringClassName` | `string` | |
973
+ | `asChild` | `boolean` | |
974
+
975
+ ### `IndexLevelSpecialty` *(type)*
976
+
977
+ ```typescript
978
+ type IndexLevelSpecialty = "default" | "cm" | "go" | "cir" | "ped" | "prev"
979
+ ```
980
+
981
+ ### `IndexLevelSpecialtyProp` *(type)*
982
+
983
+ ```typescript
984
+ type IndexLevelSpecialtyProp = | IndexLevelSpecialty
985
+ | Uppercase<IndexLevelSpecialty>
986
+ ```
987
+
988
+ ---
989
+
990
+ ## Input
991
+
992
+ **Sub-components:** `Input`, `InputAdornment`, `InputEndIcon`, `InputField`, `InputLabel`, `InputNumeric`, `InputPassword`, `InputStartIcon`, `InputText`, `InputWrapper`
993
+
994
+ **Functions / variant helpers:** `applyInputIconSize`, `inputVariants`
995
+
996
+ **Exported types:** `InputLabelProps`, `InputNumericProps`, `InputPasswordProps`, `InputProps`, `InputTextProps`, `InputType`
997
+
998
+ ### `inputVariants` — CVA Variants
999
+
1000
+ **`size`** *(default: `"lg"`)*:
1001
+
1002
+ `"lg"` \| `"md"`
1003
+
1004
+ ### `InputProps`
1005
+
1006
+ *Extends: Omit<ComponentProps<"input">, "type" | "size">, VariantProps<typeof inputVariants>*
1007
+
1008
+ | Prop | Type | Required |
1009
+ |------|------|:--------:|
1010
+ | `type` | `InputType` | |
1011
+ | `invalid` | `boolean` | |
1012
+ | `iconLeft` | `ReactElement` | |
1013
+ | `iconRight` | `ReactElement` | |
1014
+ | `showPasswordLabel` | `string` | |
1015
+ | `hidePasswordLabel` | `string` | |
1016
+
1017
+ ### `InputPasswordProps`
1018
+
1019
+ *Extends: Omit<ComponentProps<"input">, "type" | "size">, VariantProps<typeof inputVariants>*
1020
+
1021
+ | Prop | Type | Required |
1022
+ |------|------|:--------:|
1023
+ | `invalid` | `boolean` | |
1024
+ | `showPasswordLabel` | `string` | |
1025
+ | `hidePasswordLabel` | `string` | |
1026
+
1027
+ ### `InputNumericProps`
1028
+
1029
+ *Extends: Omit<ComponentProps<"input">, "type" | "onChange" | "size">, VariantProps<typeof inputVariants>*
1030
+
1031
+ | Prop | Type | Required |
1032
+ |------|------|:--------:|
1033
+ | `invalid` | `boolean` | |
1034
+ | `onChange` | `(e: ChangeEvent<HTMLInputElement>) => void` | |
1035
+ | `iconLeft` | `ReactElement` | |
1036
+
1037
+ ### `InputLabelProps`
1038
+
1039
+ | Prop | Type | Required |
1040
+ |------|------|:--------:|
1041
+ | `htmlFor` | `string` | |
1042
+
1043
+ ### `InputTextProps`
1044
+
1045
+ | Prop | Type | Required |
1046
+ |------|------|:--------:|
1047
+ | `invalid` | `boolean` | |
1048
+
1049
+ ### `InputType` *(type)*
1050
+
1051
+ ```typescript
1052
+ type InputType = "text" | "email" | "numeric" | "password"
1053
+ ```
1054
+
1055
+ ---
1056
+
1057
+ ## Label
1058
+
1059
+ **Sub-components:** `Label`
1060
+
1061
+ **Functions / variant helpers:** `labelVariants`
1062
+
1063
+ **Exported types:** `LabelProps`
1064
+
1065
+ > **Radix UI base:** `Label` — sub-components forward all Radix UI props.
1066
+
1067
+ ### `labelVariants` — CVA Variants
1068
+
1069
+ **`variant`** *(default: `"regular"`)*:
1070
+
1071
+ `"regular"`
1072
+
1073
+ **`size`** *(default: `"md"`)*:
1074
+
1075
+ `"sm"` \| `"md"` \| `"lg"`
1076
+
1077
+ ### `LabelProps`
1078
+
1079
+ *Extends: VariantProps<typeof labelVariants>*
1080
+
1081
+ | Prop | Type | Required |
1082
+ |------|------|:--------:|
1083
+ | `block` | `boolean` | |
1084
+
1085
+ ---
1086
+
1087
+ ## FallbackImage
1088
+
1089
+ **Sub-components:** `FallbackImage`
1090
+
1091
+ **Exported types:** `FallbackImageProps`
1092
+
1093
+ ### `FallbackImageProps`
1094
+
1095
+ | Prop | Type | Required |
1096
+ |------|------|:--------:|
1097
+ | `label` | `string` | |
1098
+
1099
+ ---
1100
+
1101
+ ## Loading
1102
+
1103
+ **Sub-components:** `Loading`
1104
+
1105
+ **Exported types:** `LoadingProps`
1106
+
1107
+ ### `LoadingProps`
1108
+
1109
+ | Prop | Type | Required |
1110
+ |------|------|:--------:|
1111
+ | `size` | `number` | |
1112
+ | `className` | `string` | |
1113
+
1114
+ ---
1115
+
1116
+ ## Logo
1117
+
1118
+ **Sub-components:** `Logo`, `LogoShort`, `LogoCircular`
1119
+
1120
+ **Exported types:** `LogoProps`
1121
+
1122
+ ### `LogoProps`
1123
+
1124
+ | Prop | Type | Required |
1125
+ |------|------|:--------:|
1126
+ | `svgClassName` | `string` | |
1127
+
1128
+ ---
1129
+
1130
+ ## Offcanvas
1131
+
1132
+ **Sub-components:** `Offcanvas`, `OffcanvasBody`, `OffcanvasClose`, `OffcanvasContent`, `OffcanvasDescription`, `OffcanvasFooter`, `OffcanvasHeader`, `OffcanvasOverlay`, `OffcanvasPortal`, `OffcanvasTitle`, `OffcanvasTrigger`
1133
+
1134
+ **Exported types:** `OffcanvasContentProps`, `OffcanvasOverlayProps`, `OffcanvasSize`
1135
+
1136
+ > **Radix UI base:** `Dialog` — sub-components forward all Radix UI props.
1137
+
1138
+ ### `OffcanvasOverlayProps`
1139
+
1140
+ | Prop | Type | Required |
1141
+ |------|------|:--------:|
1142
+ | `animated` | `boolean` | |
1143
+ | `contained` | `boolean` | |
1144
+
1145
+ ### `OffcanvasContentProps`
1146
+
1147
+ | Prop | Type | Required |
1148
+ |------|------|:--------:|
1149
+ | `animated` | `boolean` | |
1150
+ | `showCloseButton` | `boolean` | |
1151
+ | `width` | `OffcanvasSize` | |
1152
+ | `minWidth` | `OffcanvasSize` | |
1153
+ | `maxWidth` | `OffcanvasSize` | |
1154
+ | `resizable` | `boolean` | |
1155
+ | `onWidthChange` | `(width: number) => void` | |
1156
+ | `container` | `HTMLElement \| null` | |
1157
+ | `closeLabel` | `string` | |
1158
+ | `resizeHandleLabel` | `string` | |
1159
+ | `overlayClassName` | `string` | |
1160
+ | `closeButtonClassName` | `string` | |
1161
+ | `resizeHandleClassName` | `string` | |
1162
+
1163
+ ### `OffcanvasSize` *(type)*
1164
+
1165
+ ```typescript
1166
+ type OffcanvasSize = number | string
1167
+ ```
1168
+
1169
+ ---
1170
+
1171
+ ## Pagination
1172
+
1173
+ **Sub-components:** `Pagination`, `PaginationContent`, `PaginationEllipsis`, `PaginationInfo`, `PaginationItem`, `PaginationLink`, `PaginationNext`, `PaginationPrevious`, `PaginationRoot`
1174
+
1175
+ **Functions / variant helpers:** `calculatePageNumbers`
1176
+
1177
+ **Exported types:** `PaginationProps`
1178
+
1179
+ ### `PaginationProps`
1180
+
1181
+ | Prop | Type | Required |
1182
+ |------|------|:--------:|
1183
+ | `currentPage` | `number` | ✓ |
1184
+ | `totalPages` | `number` | ✓ |
1185
+ | `maxVisibleItems` | `number` | |
1186
+ | `onPageChange` | `(page: number) => void` | ✓ |
1187
+ | `className` | `string` | |
1188
+ | `itemsPerPage` | `number` | |
1189
+ | `totalItems` | `number` | |
1190
+ | `responsive` | `boolean` | |
1191
+ | `size` | `"sm" \| "md" \| "lg"` | |
1192
+ | `variant` | `\| "regular" \| "emphasis" \| "error" \| "warning" \| "outlined" \| "success"` | |
1193
+
1194
+ ---
1195
+
1196
+ ## Progress
1197
+
1198
+ **Sub-components:** `Progress`
1199
+
1200
+ **Exported types:** `ProgressProps`
1201
+
1202
+ > **Radix UI base:** `Progress` — sub-components forward all Radix UI props.
1203
+
1204
+ ### `ProgressProps`
1205
+
1206
+ | Prop | Type | Required |
1207
+ |------|------|:--------:|
1208
+ | `indicatorClassName` | `string` | |
1209
+ | `label` | `string` | |
1210
+
1211
+ ---
1212
+
1213
+ ## ProgressCircle
1214
+
1215
+ **Sub-components:** `ProgressCircle`
1216
+
1217
+ **Exported types:** `ProgressCircleProps`
1218
+
1219
+ ### `ProgressCircleProps`
1220
+
1221
+ | Prop | Type | Required |
1222
+ |------|------|:--------:|
1223
+ | `value` | `number \| string` | ✓ |
1224
+ | `size` | `number` | |
1225
+ | `strokeWidth` | `number` | |
1226
+ | `indicatorClassName` | `string` | |
1227
+ | `trackClassName` | `string` | |
1228
+ | `valueClassName` | `string` | |
1229
+ | `label` | `string` | |
1230
+ | `labelClassName` | `string` | |
1231
+
1232
+ ---
1233
+
1234
+ ## RadioGroup
1235
+
1236
+ **Sub-components:** `RadioGroup`, `RadioGroupItem`
1237
+
1238
+ **Functions / variant helpers:** `radioGroupVariants`
1239
+
1240
+ **Exported types:** `RadioGroupItemProps`
1241
+
1242
+ > **Radix UI base:** `RadioGroup` — sub-components forward all Radix UI props.
1243
+
1244
+ ### `radioGroupVariants` — CVA Variants
1245
+
1246
+ **`variant`** *(default: `"regular"`)*:
1247
+
1248
+ `"regular"`
1249
+
1250
+ **`size`** *(default: `"md"`)*:
1251
+
1252
+ `"sm"` \| `"md"` \| `"lg"`
1253
+
1254
+ ### `RadioGroupItemProps`
1255
+
1256
+ *Extends: VariantProps<typeof radioGroupVariants>*
1257
+
1258
+ *No additional props — inherits all from extended types.*
1259
+
1260
+ ---
1261
+
1262
+ ## Ranking
1263
+
1264
+ **Sub-components:** `Ranking`, `RankingHeader`, `RankingHeaderCell`, `RankingBody`, `RankingItem`, `RankingNumber`, `RankingTopicColumn`, `RankingTopicContent`, `RankingSpecialty`, `RankingTopic`, `RankingSuperFocus`, `RankingAssigneesColumn`, `RankingAssigneeLabel`, `RankingAssigneeGroup`, `RankingAssigneeItem`, `RankingPriority`, `RankingQuestions`, `RankingPerformance`, `RankingButton`
1265
+
1266
+ **Exported types:** `RankingProps`, `RankingHeaderProps`, `RankingHeaderCellProps`, `RankingItemProps`, `RankingNumberProps`, `RankingTopicColumnProps`, `RankingTopicContentProps`, `RankingSpecialtyProps`, `RankingTopicProps`, `RankingSuperFocusProps`, `RankingAssigneesColumnProps`, `RankingAssigneeLabelProps`, `RankingAssigneeGroupProps`, `RankingAssigneeItemProps`, `RankingPriorityProps`, `RankingQuestionsProps`, `RankingPerformanceProps`, `RankingButtonProps`, `PerformanceData`, `ProgressStatusKey`
1267
+
1268
+ ### `RankingProps`
1269
+
1270
+ *Extends: TableHTMLAttributes<HTMLTableElement>*
1271
+
1272
+ | Prop | Type | Required |
1273
+ |------|------|:--------:|
1274
+ | `children` | `ReactNode` | |
1275
+
1276
+ ### `RankingHeaderProps`
1277
+
1278
+ | Prop | Type | Required |
1279
+ |------|------|:--------:|
1280
+ | `children` | `ReactNode` | |
1281
+
1282
+ ### `RankingHeaderCellProps`
1283
+
1284
+ *Extends: ThHTMLAttributes<HTMLTableCellElement>*
1285
+
1286
+ | Prop | Type | Required |
1287
+ |------|------|:--------:|
1288
+ | `children` | `ReactNode` | |
1289
+ | `tooltip` | `string` | |
1290
+ | `highlight` | `boolean` | |
1291
+
1292
+ ### `RankingItemProps`
1293
+
1294
+ | Prop | Type | Required |
1295
+ |------|------|:--------:|
1296
+ | `children` | `ReactNode` | |
1297
+
1298
+ ### `RankingNumberProps`
1299
+
1300
+ | Prop | Type | Required |
1301
+ |------|------|:--------:|
1302
+ | `children` | `ReactNode` | ✓ |
1303
+
1304
+ ### `RankingTopicColumnProps`
1305
+
1306
+ | Prop | Type | Required |
1307
+ |------|------|:--------:|
1308
+ | `children` | `ReactNode` | ✓ |
1309
+
1310
+ ### `RankingTopicContentProps`
1311
+
1312
+ | Prop | Type | Required |
1313
+ |------|------|:--------:|
1314
+ | `children` | `ReactNode` | ✓ |
1315
+
1316
+ ### `RankingSpecialtyProps`
1317
+
1318
+ | Prop | Type | Required |
1319
+ |------|------|:--------:|
1320
+ | `children` | `ReactNode` | ✓ |
1321
+
1322
+ ### `RankingTopicProps`
1323
+
1324
+ | Prop | Type | Required |
1325
+ |------|------|:--------:|
1326
+ | `children` | `ReactNode` | ✓ |
1327
+
1328
+ ### `RankingSuperFocusProps`
1329
+
1330
+ | Prop | Type | Required |
1331
+ |------|------|:--------:|
1332
+ | `children` | `ReactNode` | |
1333
+
1334
+ ### `RankingAssigneesColumnProps`
1335
+
1336
+ | Prop | Type | Required |
1337
+ |------|------|:--------:|
1338
+ | `children` | `ReactNode` | ✓ |
1339
+
1340
+ ### `RankingAssigneeLabelProps`
1341
+
1342
+ | Prop | Type | Required |
1343
+ |------|------|:--------:|
1344
+ | `children` | `ReactNode` | ✓ |
1345
+
1346
+ ### `RankingAssigneeGroupProps`
1347
+
1348
+ | Prop | Type | Required |
1349
+ |------|------|:--------:|
1350
+ | `children` | `ReactNode` | ✓ |
1351
+
1352
+ ### `RankingAssigneeItemProps`
1353
+
1354
+ | Prop | Type | Required |
1355
+ |------|------|:--------:|
1356
+ | `src` | `string` | |
1357
+ | `alt` | `string` | |
1358
+ | `fallback` | `string` | |
1359
+ | `tooltip` | `ReactNode` | |
1360
+
1361
+ ### `RankingPriorityProps`
1362
+
1363
+ | Prop | Type | Required |
1364
+ |------|------|:--------:|
1365
+ | `children` | `ReactNode` | ✓ |
1366
+ | `icon` | `ReactElement` | |
1367
+
1368
+ ### `RankingQuestionsProps`
1369
+
1370
+ | Prop | Type | Required |
1371
+ |------|------|:--------:|
1372
+ | `questions` | `number` | ✓ |
1373
+ | `answered` | `number` | ✓ |
1374
+
1375
+ ### `RankingPerformanceProps`
1376
+
1377
+ | Prop | Type | Required |
1378
+ |------|------|:--------:|
1379
+ | `answered` | `number` | ✓ |
1380
+ | `correct` | `number` | ✓ |
1381
+ | `minQuestions` | `number` | ✓ |
1382
+
1383
+ ### `RankingButtonProps`
1384
+
1385
+ *Extends: Omit<ComponentProps<typeof Button>, "iconRight" | "onClick">*
1386
+
1387
+ | Prop | Type | Required |
1388
+ |------|------|:--------:|
1389
+ | `onClick` | `() => void` | |
1390
+
1391
+ ### `PerformanceData`
1392
+
1393
+ | Prop | Type | Required |
1394
+ |------|------|:--------:|
1395
+ | `progress` | `number` | ✓ |
1396
+ | `correct` | `number` | ✓ |
1397
+ | `answered` | `number` | ✓ |
1398
+ | `remainingQuestions` | `number` | ✓ |
1399
+
1400
+ ### `ProgressStatusKey` *(type)*
1401
+
1402
+ ```typescript
1403
+ type ProgressStatusKey = | "notStarted"
1404
+ | "minNotReached"
1405
+ | "dominated"
1406
+ | "notDominated"
1407
+ ```
1408
+
1409
+ ---
1410
+
1411
+ ## Rating
1412
+
1413
+ **Sub-components:** `Rating`, `RatingButtonVariants`, `RatingLabelVariants`, `RatingStarVariants`
1414
+
1415
+ **Exported types:** `RatingProps`, `RatingSize`, `RatingStarState`
1416
+
1417
+ ### `RatingStarVariants` — CVA Variants
1418
+
1419
+ **`size`** *(default: `"md"`)*:
1420
+
1421
+ `"sm"` \| `"md"` \| `"lg"`
1422
+
1423
+ ### `RatingStarHoveredVariants` — CVA Variants
1424
+
1425
+ **`size`** *(default: `"md"`)*:
1426
+
1427
+ `"sm"` \| `"md"` \| `"lg"`
1428
+
1429
+ ### `RatingButtonVariants` — CVA Variants
1430
+
1431
+ **`size`** *(default: `"md"`)*:
1432
+
1433
+ `"sm"` \| `"md"` \| `"lg"`
1434
+
1435
+ **`readOnly`** *(default: `"false"`)*:
1436
+
1437
+ `"true"` \| `"false"`
1438
+
1439
+ ### `RatingLabelVariants` — CVA Variants
1440
+
1441
+ **`size`** *(default: `"md"`)*:
1442
+
1443
+ `"sm"` \| `"md"` \| `"lg"`
1444
+
1445
+ ### `RatingProps`
1446
+
1447
+ | Prop | Type | Required |
1448
+ |------|------|:--------:|
1449
+ | `value` | `number` | |
1450
+ | `onChange` | `(value: number) => void` | |
1451
+ | `maxStars` | `number` | |
1452
+ | `readOnly` | `boolean` | |
1453
+ | `labels` | `[string, string]` | |
1454
+ | `size` | `RatingSize` | |
1455
+ | `className` | `string` | |
1456
+ | `classNameContainer` | `string` | |
1457
+ | `classNameLabels` | `string` | |
1458
+ | `label` | `string` | |
1459
+ | `getValueLabel` | `(value: number, maxStars: number) => string` | |
1460
+
1461
+ ### `RatingSize` *(type)*
1462
+
1463
+ ```typescript
1464
+ type RatingSize = "sm" | "md" | "lg"
1465
+ ```
1466
+
1467
+ ### `RatingStarState` *(type)*
1468
+
1469
+ ```typescript
1470
+ type RatingStarState = "empty" | "half" | "full"
1471
+ ```
1472
+
1473
+ ---
1474
+
1475
+ ## Scroll Area
1476
+
1477
+ **Sub-components:** `ScrollArea`, `ScrollBar`
1478
+
1479
+ > **Radix UI base:** `ScrollArea` — sub-components forward all Radix UI props.
1480
+
1481
+ ---
1482
+
1483
+ ## Select
1484
+
1485
+ **Sub-components:** `Select`, `SelectContent`, `SelectGroup`, `SelectHeader`, `SelectItem`, `SelectLabel`, `SelectScrollDownButton`, `SelectScrollUpButton`, `SelectSeparator`, `SelectText`, `SelectTrigger`, `SelectValue`, `SelectWrapper`
1486
+
1487
+ **Functions / variant helpers:** `selectVariants`
1488
+
1489
+ **Exported types:** `SelectItemProps`, `SelectProps`, `SelectSize`
1490
+
1491
+ > **Radix UI base:** `Select` — sub-components forward all Radix UI props.
1492
+
1493
+ ### `selectVariants` — CVA Variants
1494
+
1495
+ **`size`** *(default: `"lg"`)*:
1496
+
1497
+ `"lg"` \| `"md"`
1498
+
1499
+ ### `selectItemVariants` — CVA Variants
1500
+
1501
+ **`size`** *(default: `"lg"`)*:
1502
+
1503
+ `"lg"` \| `"md"`
1504
+
1505
+ ### `SelectProps`
1506
+
1507
+ | Prop | Type | Required |
1508
+ |------|------|:--------:|
1509
+ | `invalid` | `boolean` | |
1510
+ | `size` | `SelectSize` | |
1511
+
1512
+ ### `SelectItemProps`
1513
+
1514
+ | Prop | Type | Required |
1515
+ |------|------|:--------:|
1516
+ | `icon` | `ReactNode` | |
1517
+
1518
+ ### `SelectSize` *(type)*
1519
+
1520
+ ```typescript
1521
+ type SelectSize = "md" | "lg"
1522
+ ```
1523
+
1524
+ ---
1525
+
1526
+ ## SegmentControl
1527
+
1528
+ **Sub-components:** `SegmentControl`, `SegmentControlContent`, `SegmentControlList`, `SegmentControlTrigger`
1529
+
1530
+ **Functions / variant helpers:** `segmentControlTriggerVariants`
1531
+
1532
+ **Exported types:** `SegmentControlListProps`, `SegmentControlTriggerProps`
1533
+
1534
+ > **Radix UI base:** `Tabs` — sub-components forward all Radix UI props.
1535
+
1536
+ ### `segmentControlTriggerVariants` — CVA Variants
1537
+
1538
+ **`size`** *(default: `"md"`)*:
1539
+
1540
+ `"sm"` \| `"md"` \| `"lg"`
1541
+
1542
+ ### `SegmentControlListProps`
1543
+
1544
+ | Prop | Type | Required |
1545
+ |------|------|:--------:|
1546
+ | `containerClassName` | `string` | |
1547
+
1548
+ ### `SegmentControlTriggerProps`
1549
+
1550
+ | Prop | Type | Required |
1551
+ |------|------|:--------:|
1552
+ | `icon` | `ReactNode` | |
1553
+ | `tooltip` | `ReactNode` | |
1554
+ | `tooltipSide` | `ComponentProps<typeof TooltipContent>["side"]` | |
1555
+ | `badge` | `number \| string` | |
1556
+ | `badgeVariant` | `BadgeProps["variant"]` | |
1557
+
1558
+ ---
1559
+
1560
+ ## Separator
1561
+
1562
+ **Sub-components:** `Separator`
1563
+
1564
+ > **Radix UI base:** `Separator` — sub-components forward all Radix UI props.
1565
+
1566
+ ---
1567
+
1568
+ ## Sidebar
1569
+
1570
+ **Sub-components:** `Sidebar`, `SidebarContent`, `SidebarFooter`, `SidebarGroup`, `SidebarGroupAction`, `SidebarGroupContent`, `SidebarGroupLabel`, `SidebarHeader`, `SidebarInput`, `SidebarInset`, `SidebarMenu`, `SidebarMenuAction`, `SidebarMenuBadge`, `SidebarMenuButton`, `SidebarMenuItem`, `SidebarMenuItemCollapse`, `SidebarMenuItemTitle`, `SidebarMenuSkeleton`, `SidebarMenuSub`, `SidebarMenuSubButton`, `SidebarMenuSubItem`, `SidebarProvider`, `SidebarRail`, `SidebarSeparator`, `SidebarTrigger`
1571
+
1572
+ **Functions / variant helpers:** `useSidebar`
1573
+
1574
+ ### `sidebarMenuButtonVariants` — CVA Variants
1575
+
1576
+ **`variant`** *(default: `"default"`)*:
1577
+
1578
+ `"default"` \| `"section"` \| `"outline"`
1579
+
1580
+ **`size`** *(default: `"md"`)*:
1581
+
1582
+ `"sm"` \| `"md"` \| `"lg"`
1583
+
1584
+ ---
1585
+
1586
+ ## Skeleton
1587
+
1588
+ **Sub-components:** `Skeleton`
1589
+
1590
+ ---
1591
+
1592
+ ## Switch
1593
+
1594
+ **Sub-components:** `Switch`
1595
+
1596
+ **Functions / variant helpers:** `switchVariants`
1597
+
1598
+ **Exported types:** `SwitchProps`
1599
+
1600
+ > **Radix UI base:** `Switch` — sub-components forward all Radix UI props.
1601
+
1602
+ ### `switchVariants` — CVA Variants
1603
+
1604
+ **`variant`** *(default: `"regular"`)*:
1605
+
1606
+ `"regular"`
1607
+
1608
+ **`size`** *(default: `"md"`)*:
1609
+
1610
+ `"sm"` \| `"md"` \| `"lg"`
1611
+
1612
+ ### `SwitchProps`
1613
+
1614
+ *Extends: VariantProps<typeof switchVariants>*
1615
+
1616
+ | Prop | Type | Required |
1617
+ |------|------|:--------:|
1618
+ | `checkedIcon` | `ReactNode` | |
1619
+ | `uncheckedIcon` | `ReactNode` | |
1620
+
1621
+ ---
1622
+
1623
+ ## Switcher
1624
+
1625
+ **Sub-components:** `Switcher`, `SwitcherContent`, `SwitcherFooter`, `SwitcherGroup`, `SwitcherItem`, `SwitcherSeparator`, `SwitcherTrigger`
1626
+
1627
+ **Exported types:** `SwitcherContentProps`, `SwitcherFooterProps`, `SwitcherGroupProps`, `SwitcherGroupType`, `SwitcherItemProps`, `SwitcherItemType`, `SwitcherProps`, `SwitcherTriggerProps`
1628
+
1629
+ ### `SwitcherProps`
1630
+
1631
+ | Prop | Type | Required |
1632
+ |------|------|:--------:|
1633
+ | `children` | `ReactNode` | ✓ |
1634
+ | `value` | `string` | |
1635
+ | `defaultValue` | `string` | |
1636
+ | `onValueChange` | `(value: string) => void` | |
1637
+ | `open` | `boolean` | |
1638
+ | `defaultOpen` | `boolean` | |
1639
+ | `onOpenChange` | `(open: boolean) => void` | |
1640
+
1641
+ ### `SwitcherTriggerProps`
1642
+
1643
+ | Prop | Type | Required |
1644
+ |------|------|:--------:|
1645
+ | `children` | `ReactNode` | ✓ |
1646
+ | `asChild` | `boolean` | |
1647
+ | `className` | `string` | |
1648
+
1649
+ ### `SwitcherContentProps`
1650
+
1651
+ | Prop | Type | Required |
1652
+ |------|------|:--------:|
1653
+ | `children` | `ReactNode` | ✓ |
1654
+ | `className` | `string` | |
1655
+ | `align` | `"start" \| "center" \| "end"` | |
1656
+ | `side` | `"top" \| "right" \| "bottom" \| "left"` | |
1657
+
1658
+ ### `SwitcherGroupProps`
1659
+
1660
+ | Prop | Type | Required |
1661
+ |------|------|:--------:|
1662
+ | `children` | `ReactNode` | ✓ |
1663
+ | `label` | `string` | |
1664
+
1665
+ ### `SwitcherItemProps`
1666
+
1667
+ | Prop | Type | Required |
1668
+ |------|------|:--------:|
1669
+ | `children` | `ReactNode` | ✓ |
1670
+ | `value` | `string` | |
1671
+ | `onClick` | `() => void` | |
1672
+ | `icon` | `string \| ReactNode` | |
1673
+
1674
+ ### `SwitcherFooterProps`
1675
+
1676
+ | Prop | Type | Required |
1677
+ |------|------|:--------:|
1678
+ | `children` | `ReactNode` | ✓ |
1679
+ | `onClick` | `() => void` | |
1680
+ | `icon` | `ReactNode` | |
1681
+
1682
+ ---
1683
+
1684
+ ## Tabs
1685
+
1686
+ **Sub-components:** `Tabs`, `TabsContent`, `TabsList`, `TabsTrigger`
1687
+
1688
+ **Functions / variant helpers:** `tabsContentVariants`, `tabsListVariants`, `tabsTriggerVariants`
1689
+
1690
+ **Exported types:** `TabsProps`, `TabsSize`, `TabsTriggerProps`, `TabsVariant`
1691
+
1692
+ > **Radix UI base:** `Tabs` — sub-components forward all Radix UI props.
1693
+
1694
+ ### `tabsListVariants` — CVA Variants
1695
+
1696
+ **`variant`** *(default: `"standalone"`)*:
1697
+
1698
+ `"standalone"` \| `"header"`
1699
+
1700
+ ### `tabsTriggerVariants` — CVA Variants
1701
+
1702
+ **`variant`** *(default: `"standalone"`)*:
1703
+
1704
+ `"standalone"` \| `"header"`
1705
+
1706
+ **`size`** *(default: `"md"`)*:
1707
+
1708
+ `"md"` \| `"lg"`
1709
+
1710
+ ### `tabsWrapperVariants` — CVA Variants
1711
+
1712
+ **`variant`** *(default: `"standalone"`)*:
1713
+
1714
+ `"standalone"` \| `"header"`
1715
+
1716
+ ### `fadeGradientVariants` — CVA Variants
1717
+
1718
+ **`side`** *(default: `"left"`)*:
1719
+
1720
+ `"left"` \| `"right"`
1721
+
1722
+ **`variant`** *(default: `"standalone"`)*:
1723
+
1724
+ `"standalone"` \| `"header"`
1725
+
1726
+ ### `tabsContentVariants` — CVA Variants
1727
+
1728
+ **`variant`** *(default: `"standalone"`)*:
1729
+
1730
+ `"standalone"` \| `"header"`
1731
+
1732
+ **`size`** *(default: `"md"`)*:
1733
+
1734
+ `"md"` \| `"lg"`
1735
+
1736
+ ### `TabsProps`
1737
+
1738
+ *Extends: VariantProps<typeof tabsListVariants>*
1739
+
1740
+ | Prop | Type | Required |
1741
+ |------|------|:--------:|
1742
+ | `size` | `TabsSize` | |
1743
+ | `responsive` | `boolean` | |
1744
+
1745
+ ### `TabsTriggerProps`
1746
+
1747
+ | Prop | Type | Required |
1748
+ |------|------|:--------:|
1749
+ | `icon` | `ReactNode` | |
1750
+ | `badge` | `ReactNode` | |
1751
+
1752
+ ### `TabsVariant` *(type)*
1753
+
1754
+ ```typescript
1755
+ type TabsVariant = "header" | "standalone"
1756
+ ```
1757
+
1758
+ ### `TabsSize` *(type)*
1759
+
1760
+ ```typescript
1761
+ type TabsSize = "md" | "lg"
1762
+ ```
1763
+
1764
+ ---
1765
+
1766
+ ## Tag
1767
+
1768
+ **Sub-components:** `Tag`
1769
+
1770
+ **Functions / variant helpers:** `tagVariants`
1771
+
1772
+ **Exported types:** `TagProps`
1773
+
1774
+ ### `tagVariants` — CVA Variants
1775
+
1776
+ **`variant`** *(default: `"regular"`)*:
1777
+
1778
+ `"regular"` \| `"regular-soft"` \| `"regular-basic"` \| `"emphasis"` \| `"emphasis-soft"` \| `"emphasis-basic"` \| `"gray"` \| `"gray-soft"` \| `"gray-basic"` \| `"success"` \| `"success-soft"` \| `"success-basic"` \| `"error"` \| `"error-soft"` \| `"error-basic"` \| `"warning"` \| `"warning-soft"` \| `"warning-basic"` \| `"cm"` \| `"cm-soft"` \| `"cm-basic"` \| `"go"` \| `"go-soft"` \| `"go-basic"` \| `"cir"` \| `"cir-soft"` \| `"cir-basic"` \| `"ped"` \| `"ped-soft"` \| `"ped-basic"` \| `"prev"` \| `"prev-soft"` \| `"prev-basic"` \| `"ia"` \| `"ia-soft"` \| `"ia-basic"`
1779
+
1780
+ ### `TagProps`
1781
+
1782
+ *Extends: VariantProps<typeof tagVariants>*
1783
+
1784
+ | Prop | Type | Required |
1785
+ |------|------|:--------:|
1786
+ | `asChild` | `boolean` | |
1787
+ | `icon` | `ReactElement` | |
1788
+
1789
+ ---
1790
+
1791
+ ## Tile
1792
+
1793
+ **Sub-components:** `Tile`, `TileDescription`, `TileIcon`, `TileTitle`
1794
+
1795
+ **Functions / variant helpers:** `tileVariants`
1796
+
1797
+ **Exported types:** `TileProps`
1798
+
1799
+ ### `tileVariants` — CVA Variants
1800
+
1801
+ **`variant`** *(default: `"regular"`)*:
1802
+
1803
+ `"regular"` \| `"cm"` \| `"go"` \| `"cir"` \| `"ped"` \| `"prev"`
1804
+
1805
+ **`size`** *(default: `"default"`)*:
1806
+
1807
+ `"default"` \| `"compact"`
1808
+
1809
+ ### `TileProps`
1810
+
1811
+ *Extends: VariantProps<typeof tileVariants>*
1812
+
1813
+ | Prop | Type | Required |
1814
+ |------|------|:--------:|
1815
+ | `asChild` | `boolean` | |
1816
+ | `disabled` | `boolean` | |
1817
+ | `inactive` | `boolean` | |
1818
+
1819
+ ---
1820
+
1821
+ ## Toast
1822
+
1823
+ **Sub-components:** `Toast`, `ToastAction`, `ToastClose`, `ToastDescription`, `ToastProvider`, `ToastTitle`, `ToastViewport`
1824
+
1825
+ **Functions / variant helpers:** `toastVariants`
1826
+
1827
+ **Exported types:** `ToastActionElement`, `ToastActionProps`, `ToastActionVariant`, `ToastCloseProps`, `ToastProps`
1828
+
1829
+ > **Radix UI base:** `Toast` — sub-components forward all Radix UI props.
1830
+
1831
+ ### `toastVariants` — CVA Variants
1832
+
1833
+ **`variant`** *(default: `"primary"`)*:
1834
+
1835
+ `"primary"` \| `"secondary"` \| `"success"` \| `"warning"` \| `"error"` \| `"green-gradient"` \| `"gold-gradient"` \| `"silver-gradient"` \| `"bronze-gradient"`
1836
+
1837
+ ### `toastIconVariants` — CVA Variants
1838
+
1839
+ **`variant`** *(default: `"primary"`)*:
1840
+
1841
+ `"primary"` \| `"secondary"` \| `"success"` \| `"warning"` \| `"error"` \| `"green-gradient"` \| `"gold-gradient"` \| `"silver-gradient"` \| `"bronze-gradient"`
1842
+
1843
+ ### `ToastProps`
1844
+
1845
+ *Extends: VariantProps<typeof toastVariants>*
1846
+
1847
+ | Prop | Type | Required |
1848
+ |------|------|:--------:|
1849
+ | `showIcon` | `boolean` | |
1850
+ | `duration` | `number` | |
1851
+ | `icon` | `ReactNode` | |
1852
+
1853
+ ### `ToastActionProps`
1854
+
1855
+ *Extends: Omit<ButtonProps, "variant">*
1856
+
1857
+ | Prop | Type | Required |
1858
+ |------|------|:--------:|
1859
+ | `variant` | `ToastActionVariant` | |
1860
+
1861
+ ### `ToastCloseProps`
1862
+
1863
+ | Prop | Type | Required |
1864
+ |------|------|:--------:|
1865
+ | `label` | `string` | |
1866
+ | `variant` | `ToastProps["variant"]` | |
1867
+
1868
+ ### `ToastActionVariant` *(type)*
1869
+
1870
+ ```typescript
1871
+ type ToastActionVariant = | "primary"
1872
+ | "secondary"
1873
+ | "success"
1874
+ | "warning"
1875
+ | "error"
1876
+ | "green-gradient"
1877
+ | "gold-gradient"
1878
+ | "silver-gradient"
1879
+ | "bronze-gradient"
1880
+ ```
1881
+
1882
+ ### `ToastActionElement` *(type)*
1883
+
1884
+ ```typescript
1885
+ type ToastActionElement = ReactElement<typeof ToastAction>
1886
+ ```
1887
+
1888
+ ---
1889
+
1890
+ ## Tooltip
1891
+
1892
+ **Sub-components:** `Tooltip`, `TooltipContent`, `TooltipProvider`, `TooltipTrigger`
1893
+
1894
+ > **Radix UI base:** `Tooltip` — sub-components forward all Radix UI props.
1895
+
1896
+ ---
1897
+
1898
+ ## NoteEditor
1899
+
1900
+ **Import from:** `@medway-ui/core/note-editor`
1901
+
1902
+ **Sub-components:** `NoteEditor`
1903
+
1904
+ **Exported types:** `NoteEditorProps`, `NoteEditorHandle`, `NoteEditorValue`, `NoteEditorSaveData`
1905
+
1906
+ ### `NoteEditorValue` *(type)*
1907
+
1908
+ ```typescript
1909
+ type NoteEditorValue = {
1910
+ title: string;
1911
+ json: EditorDocument;
1912
+ html: string;
1913
+ }
1914
+ ```
1915
+
1916
+ ### `NoteEditorSaveData` *(type)*
1917
+
1918
+ ```typescript
1919
+ type NoteEditorSaveData = NoteEditorValue
1920
+ ```
1921
+
1922
+ ### `NoteEditorHandle` *(type)*
1923
+
1924
+ ```typescript
1925
+ type NoteEditorHandle = {
1926
+ editor: Editor | null;
1927
+ focus: (position?: "start" | "end") => void;
1928
+ blur: () => void;
1929
+ getDocument: () => EditorDocument;
1930
+ /**
1931
+ * Everything needed to persist the note: title, the JSON (source of truth)
1932
+ * and its HTML rendering, for backends with an HTML-shaped field.
1933
+ *
1934
+ * Call only from the host's save action, never per keystroke: `generateHTML`
1935
+ * walks the whole document t…
1936
+ ```
1937
+
1938
+ ### `NoteEditorProps` *(type)*
1939
+
1940
+ ```typescript
1941
+ type NoteEditorProps = Omit<ComponentProps<"div">, "onChange"> & {
1942
+ /**
1943
+ * Initial document: the note's JSON, or an HTML string (parsed through the
1944
+ * editor's own schema via `generateJSON` + `normalizeDocument`, so a host
1945
+ * reading an HTML-backed field need not convert it).
1946
+ *
1947
+ * Read once, on mount: later changes to this prop are ignored. To replace the
1948
+ * content, call `setDocument` on the ref, or pass …
1949
+ ```
1950
+
1951
+ ---
1952
+
1953
+ ## Hooks
1954
+
1955
+ ### `useToast()`
1956
+
1957
+ Exported directly from `@medway-ui/core`. Use inside client components.
1958
+
1959
+ ```tsx
1960
+ const { toast, dismiss, toasts } = useToast();
1961
+
1962
+ // Show a toast
1963
+ toast({ title: "Saved!", description: "Your changes were saved." });
1964
+
1965
+ // Dismiss all toasts
1966
+ dismiss();
1967
+
1968
+ // Dismiss specific toast
1969
+ dismiss(toastId);
1970
+ ```
1971
+
1972
+ ### `useIsMobile()`
1973
+
1974
+ Returns `boolean`. `true` when `window.innerWidth < 768px`.
1975
+
1976
+ ### `useSidebar()`
1977
+
1978
+ Sidebar context hook — must be inside `<SidebarProvider>`.
1979
+ Returns `{ open, setOpen, openMobile, setOpenMobile, isMobile, toggleSidebar }`.
1980
+
1981
+ ---
1982
+
1983
+ ## Design Tokens
1984
+
1985
+ ```tsx
1986
+ // 1. Import CSS custom properties into your app root
1987
+ import "@medway-ui/core/tokens.css";
1988
+
1989
+ // 2. Import JS token map for tailwind.config.ts
1990
+ import { colors, content } from "@medway-ui/core/tokens";
1991
+ ```
1992
+
1993
+ ### CSS Custom Properties
1994
+
1995
+ <details>
1996
+ <summary>All 606 token definitions</summary>
1997
+
1998
+ **`breakpoint-desktop`**: `--breakpoint-desktop`
1999
+ **`breakpoint-mobile`**: `--breakpoint-mobile`
2000
+ **`breakpoint-tablet`**: `--breakpoint-tablet`
2001
+ **`breakpoint-tv`**: `--breakpoint-tv`
2002
+ **`color-backdrop`**: `--color-backdrop`
2003
+ **`color-background`**: `--color-background`
2004
+ **`color-black`**: `--color-black`, `--color-black-0`, `--color-black-12`, `--color-black-16`, `--color-black-24`, `--color-black-4`, `--color-black-48`, `--color-black-6`, `--color-black-8`, `--color-black-80`
2005
+ **`color-bronze`**: `--color-bronze`, `--color-bronze-0`, `--color-bronze-12`, `--color-bronze-16`, `--color-bronze-24`, `--color-bronze-4`, `--color-bronze-48`, `--color-bronze-6`, `--color-bronze-64`, `--color-bronze-8`, `--color-bronze-80`, `--color-bronze-background-fill`, `--color-bronze-background-fill-emphasis`, `--color-bronze-background-soft`, `--color-bronze-background-soft-emphasis`, `--color-bronze-darken-1`, `--color-bronze-darken-2`, `--color-bronze-darken-3`, `--color-bronze-darken-4`, `--color-bronze-darken-5`, `--color-bronze-darken-6`, `--color-bronze-foreground`, `--color-bronze-foreground-emphasis`, `--color-bronze-foreground-onfill`, `--color-bronze-lighten-1`, `--color-bronze-lighten-2`, `--color-bronze-lighten-3`, `--color-bronze-lighten-4`, `--color-bronze-lighten-5`
2006
+ **`color-cir`**: `--color-cir`, `--color-cir-0`, `--color-cir-12`, `--color-cir-16`, `--color-cir-24`, `--color-cir-4`, `--color-cir-48`, `--color-cir-6`, `--color-cir-64`, `--color-cir-8`, `--color-cir-80`, `--color-cir-background-fill`, `--color-cir-background-fill-emphasis`, `--color-cir-background-soft`, `--color-cir-background-soft-emphasis`, `--color-cir-darken-1`, `--color-cir-darken-2`, `--color-cir-darken-3`, `--color-cir-darken-4`, `--color-cir-darken-5`, `--color-cir-darken-6`, `--color-cir-foreground`, `--color-cir-foreground-emphasis`, `--color-cir-foreground-onfill`, `--color-cir-lighten-1`, `--color-cir-lighten-2`, `--color-cir-lighten-3`, `--color-cir-lighten-4`, `--color-cir-lighten-5`, `--color-cir-lighten-6`
2007
+ **`color-cm`**: `--color-cm`, `--color-cm-0`, `--color-cm-12`, `--color-cm-16`, `--color-cm-24`, `--color-cm-4`, `--color-cm-48`, `--color-cm-6`, `--color-cm-64`, `--color-cm-8`, `--color-cm-80`, `--color-cm-background-fill`, `--color-cm-background-fill-emphasis`, `--color-cm-background-soft`, `--color-cm-background-soft-emphasis`, `--color-cm-darken-1`, `--color-cm-darken-2`, `--color-cm-darken-3`, `--color-cm-darken-4`, `--color-cm-darken-5`, `--color-cm-darken-6`, `--color-cm-foreground`, `--color-cm-foreground-emphasis`, `--color-cm-foreground-onfill`, `--color-cm-lighten-1`, `--color-cm-lighten-2`, `--color-cm-lighten-3`, `--color-cm-lighten-4`, `--color-cm-lighten-5`, `--color-cm-lighten-6`
2008
+ **`color-content`**: `--color-content-link`, `--color-content-paragraph`, `--color-content-title`
2009
+ **`color-drop`**: `--color-drop-shadow-layer-a`, `--color-drop-shadow-layer-b`, `--color-drop-shadow-subtle-layer-a`, `--color-drop-shadow-subtle-layer-b`
2010
+ **`color-feedback`**: `--color-feedback-error-background-fill`, `--color-feedback-error-background-fill-emphasis`, `--color-feedback-error-background-soft`, `--color-feedback-error-background-soft-emphasis`, `--color-feedback-error-background-soft-muted`, `--color-feedback-error-foreground`, `--color-feedback-error-foreground-emphasis`, `--color-feedback-error-foreground-onfill`, `--color-feedback-error-stroke`, `--color-feedback-error-stroke-emphasis`, `--color-feedback-success-background-fill`, `--color-feedback-success-background-fill-emphasis`, `--color-feedback-success-background-soft`, `--color-feedback-success-background-soft-emphasis`, `--color-feedback-success-background-soft-muted`, `--color-feedback-success-foreground`, `--color-feedback-success-foreground-emphasis`, `--color-feedback-success-foreground-onfill`, `--color-feedback-success-stroke`, `--color-feedback-success-stroke-emphasis`, `--color-feedback-warning-background-fill`, `--color-feedback-warning-background-fill-emphasis`, `--color-feedback-warning-background-soft`, `--color-feedback-warning-background-soft-emphasis`, `--color-feedback-warning-background-soft-muted`, `--color-feedback-warning-foreground`, `--color-feedback-warning-foreground-emphasis`, `--color-feedback-warning-foreground-onfill`, `--color-feedback-warning-stroke`, `--color-feedback-warning-stroke-emphasis`
2011
+ **`color-foreground`**: `--color-foreground`
2012
+ **`color-go`**: `--color-go`, `--color-go-0`, `--color-go-12`, `--color-go-16`, `--color-go-24`, `--color-go-4`, `--color-go-48`, `--color-go-6`, `--color-go-64`, `--color-go-8`, `--color-go-80`, `--color-go-background-fill`, `--color-go-background-fill-emphasis`, `--color-go-background-soft`, `--color-go-background-soft-emphasis`, `--color-go-darken-1`, `--color-go-darken-2`, `--color-go-darken-3`, `--color-go-darken-4`, `--color-go-darken-5`, `--color-go-darken-6`, `--color-go-foreground`, `--color-go-foreground-emphasis`, `--color-go-foreground-onfill`, `--color-go-lighten-1`, `--color-go-lighten-2`, `--color-go-lighten-3`, `--color-go-lighten-4`, `--color-go-lighten-5`, `--color-go-lighten-6`
2013
+ **`color-gold`**: `--color-gold`, `--color-gold-0`, `--color-gold-12`, `--color-gold-16`, `--color-gold-24`, `--color-gold-4`, `--color-gold-48`, `--color-gold-6`, `--color-gold-64`, `--color-gold-8`, `--color-gold-80`, `--color-gold-background-fill`, `--color-gold-background-fill-emphasis`, `--color-gold-background-soft`, `--color-gold-background-soft-emphasis`, `--color-gold-darken-1`, `--color-gold-darken-2`, `--color-gold-darken-3`, `--color-gold-darken-4`, `--color-gold-darken-5`, `--color-gold-darken-6`, `--color-gold-foreground`, `--color-gold-foreground-emphasis`, `--color-gold-foreground-onfill`, `--color-gold-lighten-1`, `--color-gold-lighten-2`, `--color-gold-lighten-3`, `--color-gold-lighten-4`, `--color-gold-lighten-5`, `--color-gold-lighten-6`
2014
+ **`color-gradient`**: `--color-gradient-base-bg-1`, `--color-gradient-base-bg-2`, `--color-gradient-base-blur-1`, `--color-gradient-base-blur-2`, `--color-gradient-base-blur-3`, `--color-gradient-cir-bg-1`, `--color-gradient-cir-bg-2`, `--color-gradient-cir-blur-1`, `--color-gradient-cir-blur-2`, `--color-gradient-cir-blur-3`, `--color-gradient-cm-bg-1`, `--color-gradient-cm-bg-2`, `--color-gradient-cm-blur-1`, `--color-gradient-cm-blur-2`, `--color-gradient-cm-blur-3`, `--color-gradient-go-bg-1`, `--color-gradient-go-bg-2`, `--color-gradient-go-blur-1`, `--color-gradient-go-blur-2`, `--color-gradient-go-blur-3`, `--color-gradient-ped-bg-1`, `--color-gradient-ped-bg-2`, `--color-gradient-ped-blur-1`, `--color-gradient-ped-blur-2`, `--color-gradient-ped-blur-3`, `--color-gradient-prev-bg-1`, `--color-gradient-prev-bg-2`, `--color-gradient-prev-blur-1`, `--color-gradient-prev-blur-2`, `--color-gradient-prev-blur-3`, `--color-gradient-pt-bg-1`, `--color-gradient-pt-bg-2`, `--color-gradient-pt-blur-1`, `--color-gradient-pt-blur-2`, `--color-gradient-pt-blur-3`, `--color-gradient-r1-bg-1`, `--color-gradient-r1-bg-2`, `--color-gradient-r1-blur-1`, `--color-gradient-r1-blur-2`, `--color-gradient-r1-blur-3`, `--color-gradient-rplus-bg-1`, `--color-gradient-rplus-bg-2`, `--color-gradient-rplus-blur-1`, `--color-gradient-rplus-blur-2`, `--color-gradient-rplus-blur-3`
2015
+ **`color-gray`**: `--color-gray-0`, `--color-gray-10`, `--color-gray-100`, `--color-gray-150`, `--color-gray-200`, `--color-gray-30`, `--color-gray-300`, `--color-gray-400`, `--color-gray-450`, `--color-gray-50`, `--color-gray-500`, `--color-gray-600`, `--color-gray-70`, `--color-gray-700`, `--color-gray-800`, `--color-gray-850`, `--color-gray-900`, `--color-gray-950`, `--color-gray-background-fill`, `--color-gray-background-fill-emphasis`, `--color-gray-background-fill-muted`, `--color-gray-background-soft`, `--color-gray-background-soft-emphasis`, `--color-gray-background-soft-muted`, `--color-gray-foreground`, `--color-gray-foreground-emphasis`, `--color-gray-foreground-muted`, `--color-gray-foreground-onfill`, `--color-gray-stroke`, `--color-gray-stroke-emphasis`, `--color-gray-stroke-muted`
2016
+ **`color-green`**: `--color-green`, `--color-green-0`, `--color-green-12`, `--color-green-16`, `--color-green-24`, `--color-green-4`, `--color-green-48`, `--color-green-6`, `--color-green-64`, `--color-green-8`, `--color-green-80`, `--color-green-background-fill`, `--color-green-background-fill-emphasis`, `--color-green-background-soft`, `--color-green-background-soft-emphasis`, `--color-green-background-soft-muted`, `--color-green-darken-1`, `--color-green-darken-2`, `--color-green-darken-3`, `--color-green-darken-4`, `--color-green-darken-5`, `--color-green-darken-6`, `--color-green-foreground`, `--color-green-foreground-emphasis`, `--color-green-foreground-onfill`, `--color-green-lighten-1`, `--color-green-lighten-2`, `--color-green-lighten-3`, `--color-green-lighten-4`, `--color-green-lighten-5`, `--color-green-lighten-6`, `--color-green-stroke`, `--color-green-stroke-emphasis`
2017
+ **`color-ped`**: `--color-ped`, `--color-ped-0`, `--color-ped-12`, `--color-ped-16`, `--color-ped-24`, `--color-ped-4`, `--color-ped-48`, `--color-ped-6`, `--color-ped-64`, `--color-ped-8`, `--color-ped-80`, `--color-ped-background-fill`, `--color-ped-background-fill-emphasis`, `--color-ped-background-soft`, `--color-ped-background-soft-emphasis`, `--color-ped-darken-1`, `--color-ped-darken-2`, `--color-ped-darken-3`, `--color-ped-darken-4`, `--color-ped-darken-5`, `--color-ped-darken-6`, `--color-ped-darken-7`, `--color-ped-foreground`, `--color-ped-foreground-emphasis`, `--color-ped-foreground-onfill`, `--color-ped-lighten-1`, `--color-ped-lighten-2`, `--color-ped-lighten-3`, `--color-ped-lighten-4`, `--color-ped-lighten-5`, `--color-ped-lighten-6`
2018
+ **`color-prev`**: `--color-prev`, `--color-prev-0`, `--color-prev-12`, `--color-prev-16`, `--color-prev-24`, `--color-prev-4`, `--color-prev-48`, `--color-prev-6`, `--color-prev-64`, `--color-prev-8`, `--color-prev-80`, `--color-prev-background-fill`, `--color-prev-background-fill-emphasis`, `--color-prev-background-soft`, `--color-prev-background-soft-emphasis`, `--color-prev-darken-1`, `--color-prev-darken-2`, `--color-prev-darken-3`, `--color-prev-darken-4`, `--color-prev-darken-5`, `--color-prev-darken-6`, `--color-prev-foreground`, `--color-prev-foreground-emphasis`, `--color-prev-foreground-onfill`, `--color-prev-lighten-1`, `--color-prev-lighten-2`, `--color-prev-lighten-3`, `--color-prev-lighten-4`, `--color-prev-lighten-5`, `--color-prev-lighten-6`
2019
+ **`color-primary`**: `--color-primary`, `--color-primary-0`, `--color-primary-12`, `--color-primary-16`, `--color-primary-24`, `--color-primary-4`, `--color-primary-48`, `--color-primary-6`, `--color-primary-64`, `--color-primary-8`, `--color-primary-80`, `--color-primary-background-fill`, `--color-primary-background-fill-emphasis`, `--color-primary-background-soft`, `--color-primary-background-soft-emphasis`, `--color-primary-background-soft-muted`, `--color-primary-darken-1`, `--color-primary-darken-2`, `--color-primary-foreground`, `--color-primary-foreground-emphasis`, `--color-primary-foreground-muted`, `--color-primary-foreground-onfill`, `--color-primary-lighten-1`, `--color-primary-lighten-2`, `--color-primary-lighten-3`, `--color-primary-lighten-4`, `--color-primary-lighten-5`, `--color-primary-lighten-6`, `--color-primary-stroke`, `--color-primary-stroke-emphasis`
2020
+ **`color-red`**: `--color-red`, `--color-red-0`, `--color-red-12`, `--color-red-16`, `--color-red-24`, `--color-red-4`, `--color-red-48`, `--color-red-6`, `--color-red-64`, `--color-red-8`, `--color-red-80`, `--color-red-background-fill`, `--color-red-background-fill-emphasis`, `--color-red-background-soft`, `--color-red-background-soft-emphasis`, `--color-red-background-soft-muted`, `--color-red-darken-1`, `--color-red-darken-2`, `--color-red-darken-3`, `--color-red-darken-4`, `--color-red-darken-5`, `--color-red-darken-6`, `--color-red-darken-7`, `--color-red-foreground`, `--color-red-foreground-emphasis`, `--color-red-foreground-onfill`, `--color-red-lighten-1`, `--color-red-lighten-2`, `--color-red-lighten-3`, `--color-red-lighten-4`, `--color-red-lighten-5`, `--color-red-lighten-6`, `--color-red-stroke`, `--color-red-stroke-emphasis`
2021
+ **`color-ring`**: `--color-ring`
2022
+ **`color-secondary`**: `--color-secondary`, `--color-secondary-0`, `--color-secondary-12`, `--color-secondary-16`, `--color-secondary-24`, `--color-secondary-4`, `--color-secondary-48`, `--color-secondary-6`, `--color-secondary-64`, `--color-secondary-8`, `--color-secondary-80`, `--color-secondary-background-fill`, `--color-secondary-background-fill-emphasis`, `--color-secondary-background-soft`, `--color-secondary-background-soft-emphasis`, `--color-secondary-background-soft-muted`, `--color-secondary-darken-1`, `--color-secondary-darken-2`, `--color-secondary-darken-3`, `--color-secondary-darken-4`, `--color-secondary-darken-5`, `--color-secondary-darken-6`, `--color-secondary-foreground`, `--color-secondary-foreground-emphasis`, `--color-secondary-foreground-muted`, `--color-secondary-foreground-onfill`, `--color-secondary-lighten-1`, `--color-secondary-lighten-2`, `--color-secondary-lighten-3`, `--color-secondary-lighten-4`, `--color-secondary-lighten-5`, `--color-secondary-lighten-6`, `--color-secondary-stroke`, `--color-secondary-stroke-emphasis`
2023
+ **`color-silver`**: `--color-silver`, `--color-silver-0`, `--color-silver-12`, `--color-silver-16`, `--color-silver-24`, `--color-silver-4`, `--color-silver-48`, `--color-silver-6`, `--color-silver-64`, `--color-silver-8`, `--color-silver-80`, `--color-silver-background-fill`, `--color-silver-background-fill-emphasis`, `--color-silver-background-soft`, `--color-silver-background-soft-emphasis`, `--color-silver-darken-1`, `--color-silver-darken-2`, `--color-silver-darken-3`, `--color-silver-darken-4`, `--color-silver-darken-5`, `--color-silver-darken-6`, `--color-silver-foreground`, `--color-silver-foreground-emphasis`, `--color-silver-foreground-onfill`, `--color-silver-lighten-1`, `--color-silver-lighten-2`, `--color-silver-lighten-3`, `--color-silver-lighten-4`, `--color-silver-lighten-5`, `--color-silver-lighten-6`
2024
+ **`color-state`**: `--color-state-active`, `--color-state-error`, `--color-state-focus`, `--color-state-hover`
2025
+ **`color-surface`**: `--color-surface-card`, `--color-surface-disable`, `--color-surface-elevated`, `--color-surface-navigation`, `--color-surface-page`, `--color-surface-section`, `--color-surface-settings-off`, `--color-surface-settings-on`
2026
+ **`color-white`**: `--color-white`, `--color-white-0`, `--color-white-12`, `--color-white-16`, `--color-white-24`, `--color-white-4`, `--color-white-48`, `--color-white-6`, `--color-white-8`, `--color-white-80`
2027
+ **`color-yellow`**: `--color-yellow`, `--color-yellow-0`, `--color-yellow-12`, `--color-yellow-16`, `--color-yellow-24`, `--color-yellow-4`, `--color-yellow-48`, `--color-yellow-6`, `--color-yellow-64`, `--color-yellow-8`, `--color-yellow-80`, `--color-yellow-background-fill`, `--color-yellow-background-fill-emphasis`, `--color-yellow-background-soft`, `--color-yellow-background-soft-emphasis`, `--color-yellow-background-soft-muted`, `--color-yellow-darken-1`, `--color-yellow-darken-2`, `--color-yellow-darken-3`, `--color-yellow-darken-4`, `--color-yellow-darken-5`, `--color-yellow-darken-6`, `--color-yellow-foreground`, `--color-yellow-foreground-emphasis`, `--color-yellow-foreground-onfill`, `--color-yellow-lighten-1`, `--color-yellow-lighten-2`, `--color-yellow-lighten-3`, `--color-yellow-lighten-4`, `--color-yellow-lighten-5`, `--color-yellow-lighten-6`, `--color-yellow-stroke`, `--color-yellow-stroke-emphasis`
2028
+ **`container-desktop`**: `--container-desktop`
2029
+ **`container-mobile`**: `--container-mobile`
2030
+ **`container-tablet`**: `--container-tablet`
2031
+ **`container-tv`**: `--container-tv`
2032
+ **`font-sans`**: `--font-sans`
2033
+ **`font-weight`**: `--font-weight-bold`, `--font-weight-extrabold`, `--font-weight-medium`, `--font-weight-regular`, `--font-weight-semibold`
2034
+ **`leading-display`**: `--leading-display-lg`, `--leading-display-md`, `--leading-display-sm`
2035
+ **`leading-lg`**: `--leading-lg`
2036
+ **`leading-md`**: `--leading-md`
2037
+ **`leading-sm`**: `--leading-sm`
2038
+ **`leading-title`**: `--leading-title-lg`, `--leading-title-md`, `--leading-title-sm`, `--leading-title-xl`, `--leading-title-xs`, `--leading-title-xxl`
2039
+ **`leading-xs`**: `--leading-xs`
2040
+ **`leading-xxs`**: `--leading-xxs`
2041
+ **`radius-circular`**: `--radius-circular`
2042
+ **`radius-full`**: `--radius-full`
2043
+ **`radius-lg`**: `--radius-lg`
2044
+ **`radius-md`**: `--radius-md`
2045
+ **`radius-none`**: `--radius-none`
2046
+ **`radius-pill`**: `--radius-pill`
2047
+ **`radius-sm`**: `--radius-sm`
2048
+ **`sidebar-width`**: `--sidebar-width`, `--sidebar-width-icon`, `--sidebar-width-mobile`
2049
+ **`text-base`**: `--text-base`
2050
+ **`text-display`**: `--text-display-lg`, `--text-display-md`, `--text-display-sm`
2051
+ **`text-lg`**: `--text-lg`
2052
+ **`text-md`**: `--text-md`
2053
+ **`text-sm`**: `--text-sm`
2054
+ **`text-title`**: `--text-title-lg`, `--text-title-md`, `--text-title-sm`, `--text-title-xl`, `--text-title-xs`, `--text-title-xxl`
2055
+ **`text-xs`**: `--text-xs`
2056
+ **`text-xxs`**: `--text-xxs`
2057
+
2058
+ </details>