@leonardaustin/ui 0.23.0 → 0.25.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 (324) hide show
  1. package/README.md +172 -2
  2. package/dist/components/app-shell/AppShell.d.ts +0 -1
  3. package/dist/components/app-shell/AuthLayout.d.ts +0 -1
  4. package/dist/components/app-shell/BackLink.d.ts +0 -1
  5. package/dist/components/app-shell/BottomNav.d.ts +0 -1
  6. package/dist/components/app-shell/Breadcrumbs.d.ts +0 -1
  7. package/dist/components/app-shell/CommandPalette.d.ts +0 -1
  8. package/dist/components/app-shell/MobileDrawer.d.ts +0 -1
  9. package/dist/components/app-shell/Sidebar.d.ts +0 -1
  10. package/dist/components/app-shell/ThemeMenu.d.ts +0 -1
  11. package/dist/components/app-shell/TopBar.d.ts +0 -1
  12. package/dist/components/app-shell/commandPaletteEvents.d.ts +0 -1
  13. package/dist/components/app-shell/navigation.d.ts +0 -1
  14. package/dist/components/app-shell/themeMenuEvents.d.ts +0 -1
  15. package/dist/components/app-shell/types.d.ts +0 -1
  16. package/dist/components/charts/AreaChart.d.ts +0 -1
  17. package/dist/components/charts/BarChart.d.ts +0 -1
  18. package/dist/components/charts/DonutChart.d.ts +0 -1
  19. package/dist/components/charts/RadarChart.d.ts +0 -1
  20. package/dist/components/charts/RadialBarChart.d.ts +0 -1
  21. package/dist/components/charts/SparkLine.d.ts +0 -1
  22. package/dist/components/charts/StackedBarChart.d.ts +0 -1
  23. package/dist/components/charts/VerticalBarChart.d.ts +0 -1
  24. package/dist/components/charts/chartUtils.d.ts +0 -1
  25. package/dist/components/tables/ColumnPicker.d.ts +1 -2
  26. package/dist/components/tables/Pagination.d.ts +1 -3
  27. package/dist/components/tables/ResourceTable.d.ts +0 -1
  28. package/dist/components/tables/Table.d.ts +0 -1
  29. package/dist/components/tables/sortRows.d.ts +0 -1
  30. package/dist/components/ui/Accordion.d.ts +7 -1
  31. package/dist/components/ui/Alert.d.ts +6 -5
  32. package/dist/components/ui/AttachmentList.d.ts +0 -1
  33. package/dist/components/ui/AudioPlayer.d.ts +2 -2
  34. package/dist/components/ui/AuthCard.d.ts +0 -1
  35. package/dist/components/ui/AuthorByline.d.ts +3 -4
  36. package/dist/components/ui/Avatar.d.ts +2 -2
  37. package/dist/components/ui/Badge.d.ts +0 -1
  38. package/dist/components/ui/Button.d.ts +15 -12
  39. package/dist/components/ui/Calendar.d.ts +0 -1
  40. package/dist/components/ui/CalendarGrid.d.ts +1 -3
  41. package/dist/components/ui/Card.d.ts +37 -6
  42. package/dist/components/ui/CharacterCount.d.ts +0 -1
  43. package/dist/components/ui/Checkbox.d.ts +0 -1
  44. package/dist/components/ui/CodeInput.d.ts +0 -1
  45. package/dist/components/ui/Combobox.d.ts +0 -1
  46. package/dist/components/ui/CopyButton.d.ts +5 -1
  47. package/dist/components/ui/DangerZone.d.ts +1 -3
  48. package/dist/components/ui/DatePartsInput.d.ts +0 -1
  49. package/dist/components/ui/DatePicker.d.ts +0 -1
  50. package/dist/components/ui/DateRangePicker.d.ts +1 -3
  51. package/dist/components/ui/DateTimePicker.d.ts +0 -1
  52. package/dist/components/ui/DetailPanel.d.ts +0 -1
  53. package/dist/components/ui/Dialog.d.ts +0 -1
  54. package/dist/components/ui/DialogActions.d.ts +0 -1
  55. package/dist/components/ui/Disclosure.d.ts +4 -1
  56. package/dist/components/ui/DividerLabel.d.ts +0 -1
  57. package/dist/components/ui/DropdownMenu.d.ts +21 -11
  58. package/dist/components/ui/EmptyState.d.ts +1 -3
  59. package/dist/components/ui/ErrorBoundary.d.ts +3 -3
  60. package/dist/components/ui/FieldContext.d.ts +0 -1
  61. package/dist/components/ui/Fieldset.d.ts +0 -1
  62. package/dist/components/ui/FilterButton.d.ts +1 -3
  63. package/dist/components/ui/FilterDropdown.d.ts +1 -3
  64. package/dist/components/ui/FormField.d.ts +0 -1
  65. package/dist/components/ui/Grid.d.ts +0 -1
  66. package/dist/components/ui/GridItem.d.ts +0 -1
  67. package/dist/components/ui/Inline.d.ts +0 -1
  68. package/dist/components/ui/Kbd.d.ts +1 -3
  69. package/dist/components/ui/ListItemLink.d.ts +27 -0
  70. package/dist/components/ui/LoadingSpinner.d.ts +3 -4
  71. package/dist/components/ui/MessageBubble.d.ts +3 -1
  72. package/dist/components/ui/MetadataGrid.d.ts +1 -2
  73. package/dist/components/ui/MetricCard.d.ts +0 -1
  74. package/dist/components/ui/NavTabs.d.ts +0 -1
  75. package/dist/components/ui/OAuthButton.d.ts +0 -1
  76. package/dist/components/ui/OverlineLabel.d.ts +9 -0
  77. package/dist/components/ui/PageHeader.d.ts +0 -1
  78. package/dist/components/ui/PageSection.d.ts +0 -1
  79. package/dist/components/ui/PaginationBar.d.ts +0 -1
  80. package/dist/components/ui/PasswordInput.d.ts +1 -3
  81. package/dist/components/ui/PasswordRequirements.d.ts +0 -1
  82. package/dist/components/ui/Popover.d.ts +2 -1
  83. package/dist/components/ui/ProfileHeader.d.ts +1 -2
  84. package/dist/components/ui/ProgressBar.d.ts +0 -1
  85. package/dist/components/ui/ProseContent.d.ts +0 -1
  86. package/dist/components/ui/QrCode.d.ts +0 -1
  87. package/dist/components/ui/Radio.d.ts +0 -1
  88. package/dist/components/ui/RadioPill.d.ts +4 -5
  89. package/dist/components/ui/ReorderList.d.ts +0 -1
  90. package/dist/components/ui/SearchInput.d.ts +12 -3
  91. package/dist/components/ui/SectionHeader.d.ts +1 -3
  92. package/dist/components/ui/Select.d.ts +1 -3
  93. package/dist/components/ui/SelectDropdown.d.ts +3 -4
  94. package/dist/components/ui/SettingRow.d.ts +1 -3
  95. package/dist/components/ui/SideSheet.d.ts +0 -1
  96. package/dist/components/ui/Skeleton.d.ts +0 -1
  97. package/dist/components/ui/Slider.d.ts +0 -1
  98. package/dist/components/ui/SplitPaneLayout.d.ts +4 -4
  99. package/dist/components/ui/Stack.d.ts +0 -1
  100. package/dist/components/ui/StatusDot.d.ts +4 -3
  101. package/dist/components/ui/StepProgress.d.ts +0 -1
  102. package/dist/components/ui/Tabs.d.ts +10 -4
  103. package/dist/components/ui/TextInput.d.ts +1 -3
  104. package/dist/components/ui/Textarea.d.ts +1 -3
  105. package/dist/components/ui/ThemePreview.d.ts +0 -1
  106. package/dist/components/ui/TimeInput.d.ts +0 -1
  107. package/dist/components/ui/Timeline.d.ts +1 -2
  108. package/dist/components/ui/Toast.d.ts +0 -1
  109. package/dist/components/ui/Toggle.d.ts +6 -3
  110. package/dist/components/ui/Toolbar.d.ts +0 -1
  111. package/dist/components/ui/Tooltip.d.ts +0 -1
  112. package/dist/components/ui/TranscriptLine.d.ts +2 -1
  113. package/dist/components/ui/UploadDropzone.d.ts +0 -1
  114. package/dist/components/ui/badgeColors.d.ts +0 -1
  115. package/dist/components/ui/calendar/AgendaView.d.ts +0 -1
  116. package/dist/components/ui/calendar/MonthView.d.ts +0 -1
  117. package/dist/components/ui/calendar/TimeGrid.d.ts +0 -1
  118. package/dist/components/ui/calendar/TimelineView.d.ts +0 -1
  119. package/dist/components/ui/calendar/context.d.ts +0 -1
  120. package/dist/components/ui/calendar/items.d.ts +0 -1
  121. package/dist/components/ui/calendar/types.d.ts +0 -1
  122. package/dist/components/ui/calendar/useGridInteraction.d.ts +0 -1
  123. package/dist/components/ui/useFieldControl.d.ts +0 -1
  124. package/dist/config/theme.d.ts +0 -1
  125. package/dist/hooks/useAnchoredPopup.d.ts +0 -1
  126. package/dist/hooks/useApplyTheme.d.ts +0 -1
  127. package/dist/hooks/useDismiss.d.ts +0 -1
  128. package/dist/hooks/useFocusTrap.d.ts +0 -1
  129. package/dist/hooks/useOverlayStack.d.ts +0 -1
  130. package/dist/hooks/usePopover.d.ts +1 -2
  131. package/dist/hooks/usePortalContainer.d.ts +0 -1
  132. package/dist/hooks/useSettings.d.ts +0 -1
  133. package/dist/hooks/useTheme.d.ts +0 -1
  134. package/dist/hooks/useTypeahead.d.ts +0 -1
  135. package/dist/index.d.ts +2 -1
  136. package/dist/index.js +2020 -1831
  137. package/dist/lib/anchorPlacement.d.ts +0 -1
  138. package/dist/lib/calendar.d.ts +0 -1
  139. package/dist/lib/cn.d.ts +0 -1
  140. package/dist/lib/codeInput.d.ts +0 -1
  141. package/dist/lib/dateParts.d.ts +0 -1
  142. package/dist/lib/dialogDrag.d.ts +0 -1
  143. package/dist/lib/dialogResize.d.ts +0 -1
  144. package/dist/lib/formatDate.d.ts +0 -1
  145. package/dist/lib/formatMediaTime.d.ts +0 -1
  146. package/dist/lib/keyboardStep.d.ts +0 -1
  147. package/dist/lib/layout.d.ts +0 -1
  148. package/dist/lib/math.d.ts +0 -1
  149. package/dist/lib/months.d.ts +0 -1
  150. package/dist/lib/overlayStack.d.ts +0 -1
  151. package/dist/lib/panelResize.d.ts +0 -1
  152. package/dist/lib/passwordRequirements.d.ts +0 -1
  153. package/dist/lib/qrCode.d.ts +0 -1
  154. package/dist/lib/rect.d.ts +0 -1
  155. package/dist/lib/tones.d.ts +0 -1
  156. package/dist/lib/typeahead.d.ts +0 -1
  157. package/dist/providers/ControlSizeContext.d.ts +0 -1
  158. package/dist/providers/ControlSizeProvider.d.ts +0 -1
  159. package/dist/providers/SettingsContext.d.ts +0 -1
  160. package/dist/providers/SettingsProvider.d.ts +0 -1
  161. package/dist/providers/ThemeContext.d.ts +2 -3
  162. package/dist/providers/ThemeProvider.d.ts +0 -1
  163. package/dist/providers/accentColors.d.ts +3 -0
  164. package/dist/providers/themeClasses.d.ts +2 -0
  165. package/dist/styles.css +578 -11
  166. package/package.json +1 -1
  167. package/dist/components/app-shell/AppShell.d.ts.map +0 -1
  168. package/dist/components/app-shell/AuthLayout.d.ts.map +0 -1
  169. package/dist/components/app-shell/BackLink.d.ts.map +0 -1
  170. package/dist/components/app-shell/BottomNav.d.ts.map +0 -1
  171. package/dist/components/app-shell/Breadcrumbs.d.ts.map +0 -1
  172. package/dist/components/app-shell/CommandPalette.d.ts.map +0 -1
  173. package/dist/components/app-shell/MobileDrawer.d.ts.map +0 -1
  174. package/dist/components/app-shell/Sidebar.d.ts.map +0 -1
  175. package/dist/components/app-shell/ThemeMenu.d.ts.map +0 -1
  176. package/dist/components/app-shell/TopBar.d.ts.map +0 -1
  177. package/dist/components/app-shell/commandPaletteEvents.d.ts.map +0 -1
  178. package/dist/components/app-shell/navigation.d.ts.map +0 -1
  179. package/dist/components/app-shell/themeMenuEvents.d.ts.map +0 -1
  180. package/dist/components/app-shell/types.d.ts.map +0 -1
  181. package/dist/components/charts/AreaChart.d.ts.map +0 -1
  182. package/dist/components/charts/BarChart.d.ts.map +0 -1
  183. package/dist/components/charts/DonutChart.d.ts.map +0 -1
  184. package/dist/components/charts/RadarChart.d.ts.map +0 -1
  185. package/dist/components/charts/RadialBarChart.d.ts.map +0 -1
  186. package/dist/components/charts/SparkLine.d.ts.map +0 -1
  187. package/dist/components/charts/StackedBarChart.d.ts.map +0 -1
  188. package/dist/components/charts/VerticalBarChart.d.ts.map +0 -1
  189. package/dist/components/charts/chartUtils.d.ts.map +0 -1
  190. package/dist/components/tables/ColumnPicker.d.ts.map +0 -1
  191. package/dist/components/tables/Pagination.d.ts.map +0 -1
  192. package/dist/components/tables/ResourceTable.d.ts.map +0 -1
  193. package/dist/components/tables/Table.d.ts.map +0 -1
  194. package/dist/components/tables/sortRows.d.ts.map +0 -1
  195. package/dist/components/ui/Accordion.d.ts.map +0 -1
  196. package/dist/components/ui/Alert.d.ts.map +0 -1
  197. package/dist/components/ui/AttachmentList.d.ts.map +0 -1
  198. package/dist/components/ui/AudioPlayer.d.ts.map +0 -1
  199. package/dist/components/ui/AuthCard.d.ts.map +0 -1
  200. package/dist/components/ui/AuthorByline.d.ts.map +0 -1
  201. package/dist/components/ui/Avatar.d.ts.map +0 -1
  202. package/dist/components/ui/Badge.d.ts.map +0 -1
  203. package/dist/components/ui/Button.d.ts.map +0 -1
  204. package/dist/components/ui/Calendar.d.ts.map +0 -1
  205. package/dist/components/ui/CalendarGrid.d.ts.map +0 -1
  206. package/dist/components/ui/Card.d.ts.map +0 -1
  207. package/dist/components/ui/CharacterCount.d.ts.map +0 -1
  208. package/dist/components/ui/Checkbox.d.ts.map +0 -1
  209. package/dist/components/ui/CodeInput.d.ts.map +0 -1
  210. package/dist/components/ui/Combobox.d.ts.map +0 -1
  211. package/dist/components/ui/CopyButton.d.ts.map +0 -1
  212. package/dist/components/ui/DangerZone.d.ts.map +0 -1
  213. package/dist/components/ui/DatePartsInput.d.ts.map +0 -1
  214. package/dist/components/ui/DatePicker.d.ts.map +0 -1
  215. package/dist/components/ui/DateRangePicker.d.ts.map +0 -1
  216. package/dist/components/ui/DateTimePicker.d.ts.map +0 -1
  217. package/dist/components/ui/DetailPanel.d.ts.map +0 -1
  218. package/dist/components/ui/Dialog.d.ts.map +0 -1
  219. package/dist/components/ui/DialogActions.d.ts.map +0 -1
  220. package/dist/components/ui/Disclosure.d.ts.map +0 -1
  221. package/dist/components/ui/DividerLabel.d.ts.map +0 -1
  222. package/dist/components/ui/DropdownMenu.d.ts.map +0 -1
  223. package/dist/components/ui/EmptyState.d.ts.map +0 -1
  224. package/dist/components/ui/ErrorBoundary.d.ts.map +0 -1
  225. package/dist/components/ui/FieldContext.d.ts.map +0 -1
  226. package/dist/components/ui/Fieldset.d.ts.map +0 -1
  227. package/dist/components/ui/FilterButton.d.ts.map +0 -1
  228. package/dist/components/ui/FilterDropdown.d.ts.map +0 -1
  229. package/dist/components/ui/FormField.d.ts.map +0 -1
  230. package/dist/components/ui/Grid.d.ts.map +0 -1
  231. package/dist/components/ui/GridItem.d.ts.map +0 -1
  232. package/dist/components/ui/Inline.d.ts.map +0 -1
  233. package/dist/components/ui/Kbd.d.ts.map +0 -1
  234. package/dist/components/ui/LoadingSpinner.d.ts.map +0 -1
  235. package/dist/components/ui/MessageBubble.d.ts.map +0 -1
  236. package/dist/components/ui/MetadataGrid.d.ts.map +0 -1
  237. package/dist/components/ui/MetricCard.d.ts.map +0 -1
  238. package/dist/components/ui/NavTabs.d.ts.map +0 -1
  239. package/dist/components/ui/OAuthButton.d.ts.map +0 -1
  240. package/dist/components/ui/PageHeader.d.ts.map +0 -1
  241. package/dist/components/ui/PageSection.d.ts.map +0 -1
  242. package/dist/components/ui/PaginationBar.d.ts.map +0 -1
  243. package/dist/components/ui/PasswordInput.d.ts.map +0 -1
  244. package/dist/components/ui/PasswordRequirements.d.ts.map +0 -1
  245. package/dist/components/ui/Popover.d.ts.map +0 -1
  246. package/dist/components/ui/ProfileHeader.d.ts.map +0 -1
  247. package/dist/components/ui/ProgressBar.d.ts.map +0 -1
  248. package/dist/components/ui/ProseContent.d.ts.map +0 -1
  249. package/dist/components/ui/QrCode.d.ts.map +0 -1
  250. package/dist/components/ui/Radio.d.ts.map +0 -1
  251. package/dist/components/ui/RadioPill.d.ts.map +0 -1
  252. package/dist/components/ui/ReorderList.d.ts.map +0 -1
  253. package/dist/components/ui/SearchInput.d.ts.map +0 -1
  254. package/dist/components/ui/SectionHeader.d.ts.map +0 -1
  255. package/dist/components/ui/Select.d.ts.map +0 -1
  256. package/dist/components/ui/SelectDropdown.d.ts.map +0 -1
  257. package/dist/components/ui/SettingRow.d.ts.map +0 -1
  258. package/dist/components/ui/SideSheet.d.ts.map +0 -1
  259. package/dist/components/ui/Skeleton.d.ts.map +0 -1
  260. package/dist/components/ui/Slider.d.ts.map +0 -1
  261. package/dist/components/ui/SplitPaneLayout.d.ts.map +0 -1
  262. package/dist/components/ui/Stack.d.ts.map +0 -1
  263. package/dist/components/ui/StatusDot.d.ts.map +0 -1
  264. package/dist/components/ui/StepProgress.d.ts.map +0 -1
  265. package/dist/components/ui/Tabs.d.ts.map +0 -1
  266. package/dist/components/ui/TextInput.d.ts.map +0 -1
  267. package/dist/components/ui/Textarea.d.ts.map +0 -1
  268. package/dist/components/ui/ThemePreview.d.ts.map +0 -1
  269. package/dist/components/ui/TimeInput.d.ts.map +0 -1
  270. package/dist/components/ui/Timeline.d.ts.map +0 -1
  271. package/dist/components/ui/Toast.d.ts.map +0 -1
  272. package/dist/components/ui/Toggle.d.ts.map +0 -1
  273. package/dist/components/ui/Toolbar.d.ts.map +0 -1
  274. package/dist/components/ui/Tooltip.d.ts.map +0 -1
  275. package/dist/components/ui/TranscriptLine.d.ts.map +0 -1
  276. package/dist/components/ui/UploadDropzone.d.ts.map +0 -1
  277. package/dist/components/ui/badgeColors.d.ts.map +0 -1
  278. package/dist/components/ui/calendar/AgendaView.d.ts.map +0 -1
  279. package/dist/components/ui/calendar/MonthView.d.ts.map +0 -1
  280. package/dist/components/ui/calendar/TimeGrid.d.ts.map +0 -1
  281. package/dist/components/ui/calendar/TimelineView.d.ts.map +0 -1
  282. package/dist/components/ui/calendar/context.d.ts.map +0 -1
  283. package/dist/components/ui/calendar/items.d.ts.map +0 -1
  284. package/dist/components/ui/calendar/types.d.ts.map +0 -1
  285. package/dist/components/ui/calendar/useGridInteraction.d.ts.map +0 -1
  286. package/dist/components/ui/useFieldControl.d.ts.map +0 -1
  287. package/dist/config/theme.d.ts.map +0 -1
  288. package/dist/hooks/useAnchoredPopup.d.ts.map +0 -1
  289. package/dist/hooks/useApplyTheme.d.ts.map +0 -1
  290. package/dist/hooks/useDismiss.d.ts.map +0 -1
  291. package/dist/hooks/useFocusTrap.d.ts.map +0 -1
  292. package/dist/hooks/useOverlayStack.d.ts.map +0 -1
  293. package/dist/hooks/usePopover.d.ts.map +0 -1
  294. package/dist/hooks/usePortalContainer.d.ts.map +0 -1
  295. package/dist/hooks/useSettings.d.ts.map +0 -1
  296. package/dist/hooks/useTheme.d.ts.map +0 -1
  297. package/dist/hooks/useTypeahead.d.ts.map +0 -1
  298. package/dist/index.d.ts.map +0 -1
  299. package/dist/lib/anchorPlacement.d.ts.map +0 -1
  300. package/dist/lib/calendar.d.ts.map +0 -1
  301. package/dist/lib/cn.d.ts.map +0 -1
  302. package/dist/lib/codeInput.d.ts.map +0 -1
  303. package/dist/lib/dateParts.d.ts.map +0 -1
  304. package/dist/lib/dialogDrag.d.ts.map +0 -1
  305. package/dist/lib/dialogResize.d.ts.map +0 -1
  306. package/dist/lib/formatDate.d.ts.map +0 -1
  307. package/dist/lib/formatMediaTime.d.ts.map +0 -1
  308. package/dist/lib/keyboardStep.d.ts.map +0 -1
  309. package/dist/lib/layout.d.ts.map +0 -1
  310. package/dist/lib/math.d.ts.map +0 -1
  311. package/dist/lib/months.d.ts.map +0 -1
  312. package/dist/lib/overlayStack.d.ts.map +0 -1
  313. package/dist/lib/panelResize.d.ts.map +0 -1
  314. package/dist/lib/passwordRequirements.d.ts.map +0 -1
  315. package/dist/lib/qrCode.d.ts.map +0 -1
  316. package/dist/lib/rect.d.ts.map +0 -1
  317. package/dist/lib/tones.d.ts.map +0 -1
  318. package/dist/lib/typeahead.d.ts.map +0 -1
  319. package/dist/providers/ControlSizeContext.d.ts.map +0 -1
  320. package/dist/providers/ControlSizeProvider.d.ts.map +0 -1
  321. package/dist/providers/SettingsContext.d.ts.map +0 -1
  322. package/dist/providers/SettingsProvider.d.ts.map +0 -1
  323. package/dist/providers/ThemeContext.d.ts.map +0 -1
  324. package/dist/providers/ThemeProvider.d.ts.map +0 -1
@@ -1,16 +1,47 @@
1
- import type { HTMLAttributes, ReactNode } from "react";
2
- export interface CardProps extends HTMLAttributes<HTMLElement> {
1
+ import type { AnchorHTMLAttributes, ButtonHTMLAttributes, HTMLAttributes, ReactNode } from "react";
2
+ interface CardBaseProps {
3
3
  children: ReactNode;
4
4
  /** Content for the top bar, separated from the body by a border. */
5
5
  header?: ReactNode;
6
6
  /** Content for the bottom bar, separated from the body by a border. */
7
7
  footer?: ReactNode;
8
- /** Semantic container; use aria-labelledby to associate a header heading. */
9
- as?: "div" | "section" | "article" | "aside";
8
+ /** Full-width content above the header and body, without their padding. */
9
+ cover?: ReactNode;
10
+ /** Adds an accent border. Buttons expose aria-pressed and selected links expose aria-current="page". */
11
+ selected?: boolean;
10
12
  /** Remove the body padding, e.g. for tables or full-bleed content. */
11
13
  flush?: boolean;
12
14
  /** Additional utility classes for the body wrapper. */
13
15
  bodyClassName?: string;
14
16
  }
15
- export declare function Card({ children, className, header, footer, as: Root, flush, bodyClassName, ...props }: CardProps): import("react/jsx-runtime").JSX.Element;
16
- //# sourceMappingURL=Card.d.ts.map
17
+ type LinkAttributes = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "type"> & {
18
+ href: string;
19
+ };
20
+ export interface CardProps extends CardBaseProps, Omit<HTMLAttributes<HTMLElement>, "children" | "type" | "disabled"> {
21
+ /** Semantic container; use aria-labelledby to associate a header heading. */
22
+ as?: "div" | "section" | "article" | "aside";
23
+ type?: never;
24
+ disabled?: never;
25
+ }
26
+ export interface CardButtonProps extends CardBaseProps, Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
27
+ as: "button";
28
+ /** Native button type when as="button"; defaults to button. */
29
+ type?: ButtonHTMLAttributes<HTMLButtonElement>["type"];
30
+ /** Native disabled state when as="button". */
31
+ disabled?: boolean;
32
+ }
33
+ export interface CardLinkProps extends CardBaseProps, Omit<LinkAttributes, "children"> {
34
+ as: "a";
35
+ type?: never;
36
+ disabled?: never;
37
+ /** Router adapters must render an anchor and forward the supplied props. */
38
+ renderLink?: (props: LinkAttributes) => ReactNode;
39
+ }
40
+ export declare function Card({ children, className, header, footer, cover, selected, flush, bodyClassName, ...root }: (CardProps & {
41
+ href?: never;
42
+ renderLink?: never;
43
+ }) | (CardButtonProps & {
44
+ href?: never;
45
+ renderLink?: never;
46
+ }) | CardLinkProps): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
47
+ export {};
@@ -9,4 +9,3 @@ export interface CharacterCountProps extends HTMLAttributes<HTMLParagraphElement
9
9
  }
10
10
  /** Counts UTF-16 code units, matching native input/textarea maxLength. */
11
11
  export declare function CharacterCount({ value, maxLength, announcementDelay, className, ...props }: CharacterCountProps): import("react/jsx-runtime").JSX.Element;
12
- //# sourceMappingURL=CharacterCount.d.ts.map
@@ -14,4 +14,3 @@ export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement
14
14
  controlSize?: "compact" | "comfortable";
15
15
  }
16
16
  export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
17
- //# sourceMappingURL=Checkbox.d.ts.map
@@ -34,4 +34,3 @@ export interface CodeInputProps {
34
34
  * box keeps its position, so clearing one never shifts the others.
35
35
  */
36
36
  export declare function CodeInput({ value, onChange, onComplete, length, error, invalid, disabled, autoFocus, name, "aria-label": ariaLabel, className, }: CodeInputProps): import("react/jsx-runtime").JSX.Element;
37
- //# sourceMappingURL=CodeInput.d.ts.map
@@ -84,4 +84,3 @@ export interface ComboboxProps<T extends ComboboxOption = ComboboxOption> {
84
84
  flip?: boolean;
85
85
  }
86
86
  export declare function Combobox<T extends ComboboxOption = ComboboxOption>({ options, value, onChange, onOptionChange, placeholder, label, className, controlSize, id, name, disabled, "aria-label": ariaLabel, "aria-describedby": describedBy, "aria-invalid": invalid, query, onQueryChange, filterOptions, selectedOption, renderOption, loading, loadingMessage, error, onRetry, emptyMessage, footer, onOpenChange, flip, }: ComboboxProps<T>): import("react/jsx-runtime").JSX.Element;
87
- //# sourceMappingURL=Combobox.d.ts.map
@@ -1,10 +1,14 @@
1
1
  import { type ButtonProps } from "./Button";
2
2
  export interface CopyButtonProps extends Omit<ButtonProps, "children" | "icon" | "hideLabel" | "onClick" | "onCopy" | "value"> {
3
+ /** Text to copy or a function evaluated when the button is pressed. */
3
4
  value: string | (() => string);
5
+ /** Visible label, or accessible name and tooltip in icon-only mode. */
4
6
  label?: string;
7
+ /** Temporary success label. */
5
8
  copiedLabel?: string;
9
+ /** Show the icon without visible text. */
6
10
  iconOnly?: boolean;
11
+ /** Called with true on success or false on failure. */
7
12
  onCopy?: (ok: boolean) => void;
8
13
  }
9
14
  export declare function CopyButton({ value, label, copiedLabel, iconOnly, onCopy, variant, ...props }: CopyButtonProps): import("react/jsx-runtime").JSX.Element;
10
- //# sourceMappingURL=CopyButton.d.ts.map
@@ -18,7 +18,7 @@
18
18
  * ```
19
19
  */
20
20
  import type { ReactNode } from "react";
21
- interface DangerZoneProps {
21
+ export interface DangerZoneProps {
22
22
  /**
23
23
  * Section heading.
24
24
  * Defaults to "Danger Zone" — the universal convention for destructive
@@ -36,5 +36,3 @@ interface DangerZoneProps {
36
36
  className?: string;
37
37
  }
38
38
  export declare function DangerZone({ title, description, children, className, }: DangerZoneProps): import("react/jsx-runtime").JSX.Element;
39
- export {};
40
- //# sourceMappingURL=DangerZone.d.ts.map
@@ -34,4 +34,3 @@ export interface DatePartsInputProps {
34
34
  }
35
35
  /** Retains raw strings, including partial/invalid dates. Validates the combined civil date and offers native selectors for each field. */
36
36
  export declare function DatePartsInput({ value, onChange, label, hint, error, id, name, disabled, required, className, inputProps, minYear, maxYear, }: DatePartsInputProps): import("react/jsx-runtime").JSX.Element;
37
- //# sourceMappingURL=DatePartsInput.d.ts.map
@@ -12,4 +12,3 @@ export interface DatePickerProps {
12
12
  format?: (date: Date) => string;
13
13
  }
14
14
  export declare function DatePicker({ controlSize, label, timeZone, value, onChange, placeholder, format, }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
15
- //# sourceMappingURL=DatePicker.d.ts.map
@@ -3,7 +3,7 @@ export interface DateRange {
3
3
  start: Date | null;
4
4
  end: Date | null;
5
5
  }
6
- interface DateRangePickerProps {
6
+ export interface DateRangePickerProps {
7
7
  /** Inherit ControlSizeProvider or override this trigger’s sizing. */
8
8
  controlSize?: ControlSize;
9
9
  /** Visible label above the trigger. */
@@ -16,5 +16,3 @@ interface DateRangePickerProps {
16
16
  placeholder?: string;
17
17
  }
18
18
  export declare function DateRangePicker({ controlSize, label, value, onChange, placeholder, }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
19
- export {};
20
- //# sourceMappingURL=DateRangePicker.d.ts.map
@@ -14,4 +14,3 @@ export interface DateTimePickerProps {
14
14
  placeholder?: string;
15
15
  }
16
16
  export declare function DateTimePicker(props: DateTimePickerProps): import("react/jsx-runtime").JSX.Element;
17
- //# sourceMappingURL=DateTimePicker.d.ts.map
@@ -41,4 +41,3 @@ export interface DetailPanelProps {
41
41
  autoFocus?: boolean;
42
42
  }
43
43
  export declare function DetailPanel({ open, onClose, title, children, className, headerActions, sticky, resizable, defaultWidth, minWidth, maxWidth, fraction, defaultFraction, minFraction, maxFraction, onFractionChange, collapsed, onCollapsedChange, railIndicator, overlay, autoFocus, }: DetailPanelProps): import("react/jsx-runtime").JSX.Element;
44
- //# sourceMappingURL=DetailPanel.d.ts.map
@@ -143,4 +143,3 @@ export interface DialogProps {
143
143
  hideCloseButton?: boolean;
144
144
  }
145
145
  export declare function Dialog({ open, onClose, title, children, footer, className, size, draggable, resizable, rememberPosition, placement, anchorRef, role, description, "aria-label": ariaLabel, "aria-describedby": describedBy, initialFocusRef, returnFocusRef, busy, closeOnEscape, closeOnOverlayClick, hideCloseButton, }: DialogProps): import("react").ReactPortal | null;
146
- //# sourceMappingURL=Dialog.d.ts.map
@@ -65,4 +65,3 @@ export interface DialogActionsProps {
65
65
  confirmDisabled?: boolean;
66
66
  }
67
67
  export declare function DialogActions({ onCancel, onConfirm, cancelLabel, confirmLabel, confirmVariant, className, busy, busyLabel, cancelRef, confirmRef, confirmDisabled, }: DialogActionsProps): import("react/jsx-runtime").JSX.Element;
68
- //# sourceMappingURL=DialogActions.d.ts.map
@@ -2,15 +2,18 @@ import { type ReactNode } from "react";
2
2
  export interface DisclosureProps {
3
3
  /** Summary content; use non-interactive content inside the trigger. */
4
4
  title: ReactNode;
5
+ /** Current expanded state when controlled. */
5
6
  open?: boolean;
7
+ /** Initial expanded state when uncontrolled. */
6
8
  defaultOpen?: boolean;
9
+ /** Called with the next expanded state when the trigger is pressed. */
7
10
  onOpenChange?: (open: boolean) => void;
8
11
  /** Right-aligned summary metadata, such as a count. */
9
12
  meta?: ReactNode;
10
13
  children: ReactNode;
14
+ /** Additional classes on the disclosure container. */
11
15
  className?: string;
12
16
  /** Preserve child state while closed. Defaults to true. */
13
17
  keepMounted?: boolean;
14
18
  }
15
19
  export declare function Disclosure({ title, open, defaultOpen, onOpenChange, meta, children, className, keepMounted, }: DisclosureProps): import("react/jsx-runtime").JSX.Element;
16
- //# sourceMappingURL=Disclosure.d.ts.map
@@ -6,4 +6,3 @@ export interface DividerLabelProps {
6
6
  className?: string;
7
7
  }
8
8
  export declare function DividerLabel({ children, className }: DividerLabelProps): import("react/jsx-runtime").JSX.Element;
9
- //# sourceMappingURL=DividerLabel.d.ts.map
@@ -1,4 +1,5 @@
1
- import { type AnchorHTMLAttributes, type ReactNode, type RefAttributes } from "react";
1
+ import { type AnchorHTMLAttributes, type ElementType, type ReactNode, type RefAttributes } from "react";
2
+ import { type ButtonProps } from "./Button";
2
3
  interface DropdownItemContent {
3
4
  label: string;
4
5
  icon?: ReactNode;
@@ -41,14 +42,7 @@ interface DropdownDivider {
41
42
  divider: true;
42
43
  }
43
44
  export type DropdownItem = DropdownContentItem | DropdownDivider;
44
- interface DropdownMenuProps {
45
- /**
46
- * The element that toggles the menu, usually a `Button`. It receives
47
- * `aria-haspopup`, `aria-expanded`, `aria-controls` and (unless it has one)
48
- * an `id` that labels the menu. Plain text is wrapped in a focusable
49
- * `role="button"`.
50
- */
51
- trigger: ReactNode;
45
+ interface DropdownMenuBaseProps {
52
46
  /** Menu entries: actions, links (`label` + `href`), and dividers. */
53
47
  items: DropdownItem[];
54
48
  /** Informational content above, and outside, the menu items. */
@@ -63,6 +57,23 @@ interface DropdownMenuProps {
63
57
  */
64
58
  align?: "left" | "right";
65
59
  }
60
+ export type DropdownMenuProps = DropdownMenuBaseProps & ({
61
+ /**
62
+ * Element toggling the menu. It receives menu ARIA attributes and
63
+ * an id for the menu label. Plain text gets a focusable wrapper.
64
+ */
65
+ trigger: ReactNode;
66
+ triggerIcon?: never;
67
+ triggerLabel?: never;
68
+ triggerSize?: never;
69
+ } | {
70
+ trigger?: never;
71
+ /** Lucide icon rendered in an accessible icon Button. */
72
+ triggerIcon: ElementType;
73
+ /** Accessible name for the icon trigger and menu. */
74
+ triggerLabel: string;
75
+ triggerSize?: ButtonProps["size"];
76
+ });
66
77
  /**
67
78
  * A menu button: the trigger opens a menu of actions portalled to
68
79
  * document.body (or, inside a Dialog, SideSheet or MobileDrawer, into that
@@ -76,6 +87,5 @@ interface DropdownMenuProps {
76
87
  * Space activates. Escape closes and returns focus to the trigger, as does
77
88
  * choosing an item; Tab closes and moves on. Disabled items are skipped.
78
89
  */
79
- export declare function DropdownMenu({ trigger, items, header, renderLink, align, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
90
+ export declare function DropdownMenu({ trigger, triggerIcon, triggerLabel, triggerSize, items, header, renderLink, align, }: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
80
91
  export {};
81
- //# sourceMappingURL=DropdownMenu.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from "react";
2
- interface EmptyStateProps {
2
+ export interface EmptyStateProps {
3
3
  /** Icon shown in the tile above the title. Defaults to an inbox icon. */
4
4
  icon?: ReactNode;
5
5
  /** Heading text. */
@@ -12,5 +12,3 @@ interface EmptyStateProps {
12
12
  className?: string;
13
13
  }
14
14
  export declare function EmptyState({ icon, title, description, action, className, }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
15
- export {};
16
- //# sourceMappingURL=EmptyState.d.ts.map
@@ -1,16 +1,16 @@
1
1
  import { Component, type ErrorInfo, type ReactNode } from "react";
2
- interface Props {
2
+ /** Props for ErrorBoundary. */
3
+ export interface ErrorBoundaryProps {
3
4
  children: ReactNode;
4
5
  }
5
6
  interface State {
6
7
  hasError: boolean;
7
8
  error: Error | null;
8
9
  }
9
- export declare class ErrorBoundary extends Component<Props, State> {
10
+ export declare class ErrorBoundary extends Component<ErrorBoundaryProps, State> {
10
11
  state: State;
11
12
  static getDerivedStateFromError(error: Error): State;
12
13
  componentDidCatch(error: Error, info: ErrorInfo): void;
13
14
  render(): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
14
15
  }
15
16
  export {};
16
- //# sourceMappingURL=ErrorBoundary.d.ts.map
@@ -16,4 +16,3 @@ export interface FieldContextValue {
16
16
  }
17
17
  export declare const FieldContext: import("react").Context<FieldContextValue | null>;
18
18
  export declare function describeField(...ids: (string | undefined)[]): string | undefined;
19
- //# sourceMappingURL=FieldContext.d.ts.map
@@ -9,4 +9,3 @@ export interface FieldsetProps extends FieldsetHTMLAttributes<HTMLFieldSetElemen
9
9
  }
10
10
  /** Group choices without forcing a shared input ID or required state. */
11
11
  export declare function Fieldset({ id, legend, hint, error, children, className, "aria-describedby": describedBy, ...props }: FieldsetProps): import("react/jsx-runtime").JSX.Element;
12
- //# sourceMappingURL=Fieldset.d.ts.map
@@ -26,7 +26,7 @@
26
26
  * ```
27
27
  */
28
28
  import { type ElementType, type ReactNode } from "react";
29
- interface FilterButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
29
+ export interface FilterButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
30
30
  /**
31
31
  * A Lucide icon component rendered at 14px (h-3.5 w-3.5).
32
32
  * Pass the component itself, not a JSX element.
@@ -43,5 +43,3 @@ interface FilterButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement
43
43
  * trigger, which may need to attach a ref for positioning.
44
44
  */
45
45
  export declare const FilterButton: import("react").ForwardRefExoticComponent<FilterButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
46
- export {};
47
- //# sourceMappingURL=FilterButton.d.ts.map
@@ -27,7 +27,7 @@
27
27
  */
28
28
  import type { ComponentProps, ElementType, ReactNode } from "react";
29
29
  import { DropdownMenu } from "./DropdownMenu";
30
- interface FilterDropdownProps {
30
+ export interface FilterDropdownProps {
31
31
  /**
32
32
  * A Lucide icon component for the trigger button.
33
33
  * Passed through to FilterButton.
@@ -46,5 +46,3 @@ interface FilterDropdownProps {
46
46
  className?: string;
47
47
  }
48
48
  export declare function FilterDropdown({ icon, children, items, align, className, }: FilterDropdownProps): import("react/jsx-runtime").JSX.Element;
49
- export {};
50
- //# sourceMappingURL=FilterDropdown.d.ts.map
@@ -34,4 +34,3 @@ export declare function FormField({ id, label, hint, error, required, optionalLa
34
34
  export declare function FieldHint({ className, ...props }: HTMLAttributes<HTMLParagraphElement>): import("react/jsx-runtime").JSX.Element;
35
35
  /** Standalone field error associated with its control. */
36
36
  export declare function FieldError({ className, ...props }: HTMLAttributes<HTMLParagraphElement>): import("react/jsx-runtime").JSX.Element;
37
- //# sourceMappingURL=FormField.d.ts.map
@@ -18,4 +18,3 @@ export declare function Grid<E extends LayoutElement = "div">({ as, columns, gap
18
18
  className: string;
19
19
  style: LayoutStyle;
20
20
  }, HTMLElement>;
21
- //# sourceMappingURL=Grid.d.ts.map
@@ -8,4 +8,3 @@ export declare function GridItem<E extends LayoutElement = "div">({ as, span, cl
8
8
  className: string;
9
9
  style: LayoutStyle;
10
10
  }, HTMLElement>;
11
- //# sourceMappingURL=GridItem.d.ts.map
@@ -22,4 +22,3 @@ export declare function Inline<E extends LayoutElement = "div">({ as, gap, gapX,
22
22
  className: string;
23
23
  style: LayoutStyle;
24
24
  }, HTMLElement>;
25
- //# sourceMappingURL=Inline.d.ts.map
@@ -1,9 +1,7 @@
1
- interface KbdProps {
1
+ export interface KbdProps {
2
2
  /** The key or key combination to display. */
3
3
  children: React.ReactNode;
4
4
  /** Additional utility classes appended to the root element. */
5
5
  className?: string;
6
6
  }
7
7
  export declare function Kbd({ children, className }: KbdProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=Kbd.d.ts.map
@@ -0,0 +1,27 @@
1
+ import type { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactNode } from "react";
2
+ interface ListItemLinkBase {
3
+ /** Primary content of the row. */
4
+ title: ReactNode;
5
+ /** Leading icon or symbol. */
6
+ icon?: ReactNode;
7
+ /** Secondary information following the title. */
8
+ meta?: ReactNode;
9
+ /** Content aligned to the end of the row. */
10
+ trailing?: ReactNode;
11
+ /** Current destination for links, or pressed state for button rows. */
12
+ active?: boolean;
13
+ className?: string;
14
+ }
15
+ type LinkAttributes = AnchorHTMLAttributes<HTMLAnchorElement> & {
16
+ href: string;
17
+ };
18
+ export type ListItemLinkProps = ListItemLinkBase & ((Omit<LinkAttributes, "children" | "title"> & {
19
+ as?: "a";
20
+ /** Router adapters must render an anchor and forward the supplied props. */
21
+ renderLink?: (props: LinkAttributes) => ReactNode;
22
+ }) | (Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "title"> & {
23
+ as: "button";
24
+ renderLink?: never;
25
+ }));
26
+ export declare function ListItemLink({ title, icon, meta, trailing, active, className, ...root }: ListItemLinkProps): string | number | bigint | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
27
+ export {};
@@ -1,9 +1,8 @@
1
- interface LoadingSpinnerProps {
1
+ export type LoadingSpinnerSize = "sm" | "md" | "lg";
2
+ export interface LoadingSpinnerProps {
2
3
  /** Additional utility classes appended to the centering wrapper. */
3
4
  className?: string;
4
5
  /** Size of the spinner icon. Defaults to `md`. */
5
- size?: "sm" | "md" | "lg";
6
+ size?: LoadingSpinnerSize;
6
7
  }
7
8
  export declare function LoadingSpinner({ className, size, }: LoadingSpinnerProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=LoadingSpinner.d.ts.map
@@ -2,12 +2,14 @@ import type { HTMLAttributes, ReactNode } from "react";
2
2
  export interface MessageBubbleProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /** Which side of the conversation sent the message. */
4
4
  direction: "inbound" | "outbound";
5
+ /** Sender name displayed above the message. */
5
6
  author?: ReactNode;
7
+ /** Time displayed below the message. */
6
8
  timestamp?: ReactNode;
9
+ /** Delivery state or other status displayed below the message. */
7
10
  status?: ReactNode;
8
11
  /** Optional controls, such as reply or copy buttons. */
9
12
  actions?: ReactNode;
10
13
  children: ReactNode;
11
14
  }
12
15
  export declare function MessageBubble({ direction, author, timestamp, status, actions, children, className, ...props }: MessageBubbleProps): import("react/jsx-runtime").JSX.Element;
13
- //# sourceMappingURL=MessageBubble.d.ts.map
@@ -34,7 +34,7 @@ interface MetadataItem {
34
34
  /** The value displayed in the right column — can be a string or JSX. */
35
35
  value: ReactNode;
36
36
  }
37
- interface MetadataGridProps {
37
+ export interface MetadataGridProps {
38
38
  /** Inline preserves the original two-column markup (unless `striped`); stacked places labels above values. */
39
39
  layout?: "inline" | "stacked";
40
40
  /** Stacked layout columns at mobile-first breakpoints. */
@@ -65,4 +65,3 @@ interface MetadataGridProps {
65
65
  }
66
66
  export declare function MetadataGrid({ items, labelWidth, layout, columns, gap, striped, className, }: MetadataGridProps): import("react/jsx-runtime").JSX.Element;
67
67
  export {};
68
- //# sourceMappingURL=MetadataGrid.d.ts.map
@@ -27,4 +27,3 @@ export interface MetricCardProps {
27
27
  className?: string;
28
28
  }
29
29
  export declare function MetricCard({ label, value, sub, trend, bar, icon: Icon, iconColor, className, }: MetricCardProps): import("react/jsx-runtime").JSX.Element;
30
- //# sourceMappingURL=MetricCard.d.ts.map
@@ -19,4 +19,3 @@ export interface NavTabsProps extends HTMLAttributes<HTMLElement> {
19
19
  }
20
20
  /** Link navigation: route matching and permissions remain application-owned. */
21
21
  export declare function NavTabs({ items, activeKey, renderLink, className, "aria-label": label, ...props }: NavTabsProps): import("react/jsx-runtime").JSX.Element;
22
- //# sourceMappingURL=NavTabs.d.ts.map
@@ -6,4 +6,3 @@ export interface OAuthButtonProps extends ButtonHTMLAttributes<HTMLButtonElement
6
6
  }
7
7
  export declare function OAuthButton({ provider, children, ...props }: OAuthButtonProps): import("react/jsx-runtime").JSX.Element;
8
8
  export {};
9
- //# sourceMappingURL=OAuthButton.d.ts.map
@@ -0,0 +1,9 @@
1
+ import type { ElementType, ReactNode } from "react";
2
+ export interface OverlineLabelProps {
3
+ /** Short label above a group of related content. */
4
+ children: ReactNode;
5
+ /** Semantic element; defaults to span. */
6
+ as?: ElementType;
7
+ className?: string;
8
+ }
9
+ export declare function OverlineLabel({ children, as: Tag, className, }: OverlineLabelProps): import("react/jsx-runtime").JSX.Element;
@@ -46,4 +46,3 @@ export interface PageHeaderProps {
46
46
  className?: string;
47
47
  }
48
48
  export declare function PageHeader({ title, subtitle, actions, className, eyebrow, headingLevel, wrap, }: PageHeaderProps): import("react/jsx-runtime").JSX.Element;
49
- //# sourceMappingURL=PageHeader.d.ts.map
@@ -18,4 +18,3 @@ export interface PageSectionProps {
18
18
  contentClassName?: string;
19
19
  }
20
20
  export declare function PageSection({ title, description, actions, children, as: Tag, className, headerClassName, contentClassName, }: PageSectionProps): import("react/jsx-runtime").JSX.Element;
21
- //# sourceMappingURL=PageSection.d.ts.map
@@ -62,4 +62,3 @@ export interface PaginationBarProps {
62
62
  className?: string;
63
63
  }
64
64
  export declare function PaginationBar({ page, pageSize, total, summary, showTotal, loading, pageSizeOptions, onPageChange, onPageSizeChange, className, }: PaginationBarProps): import("react/jsx-runtime").JSX.Element;
65
- //# sourceMappingURL=PaginationBar.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import { type InputHTMLAttributes } from "react";
2
2
  import { type ControlSize } from "../../providers/ControlSizeContext";
3
- interface PasswordInputProps extends InputHTMLAttributes<HTMLInputElement> {
3
+ export interface PasswordInputProps extends InputHTMLAttributes<HTMLInputElement> {
4
4
  /** Label shown above the input. */
5
5
  label?: string;
6
6
  /** Error message shown above the input; also marks the field invalid and turns the border red. */
@@ -11,5 +11,3 @@ interface PasswordInputProps extends InputHTMLAttributes<HTMLInputElement> {
11
11
  controlSize?: ControlSize;
12
12
  }
13
13
  export declare const PasswordInput: import("react").ForwardRefExoticComponent<PasswordInputProps & import("react").RefAttributes<HTMLInputElement>>;
14
- export {};
15
- //# sourceMappingURL=PasswordInput.d.ts.map
@@ -11,4 +11,3 @@ export interface PasswordRequirementsProps {
11
11
  }
12
12
  /** A live checklist of password rules, ticked off as the user types. */
13
13
  export declare function PasswordRequirements({ password, requirements, showWhenEmpty, className, }: PasswordRequirementsProps): import("react/jsx-runtime").JSX.Element | null;
14
- //# sourceMappingURL=PasswordRequirements.d.ts.map
@@ -4,7 +4,9 @@ export type PopoverTriggerProps = Pick<ComponentPropsWithRef<"button">, "ref" |
4
4
  export interface PopoverProps {
5
5
  /** Spread these props onto a focusable button, including its ref. */
6
6
  trigger: (props: PopoverTriggerProps) => ReactNode;
7
+ /** Current visibility, controlled by the caller. */
7
8
  open: boolean;
9
+ /** Requests that the caller open or close the panel. */
8
10
  onOpenChange: (open: boolean) => void;
9
11
  /** Preferred side, flipping when there is insufficient room. */
10
12
  placement?: PopoverPlacement;
@@ -16,4 +18,3 @@ export interface PopoverProps {
16
18
  }
17
19
  /** An anchored non-modal dialog. Tab remains free to leave the popup. */
18
20
  export declare function Popover({ trigger, open, onOpenChange, placement, ariaLabel, children, className, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
19
- //# sourceMappingURL=Popover.d.ts.map
@@ -32,7 +32,7 @@ interface MetaItem {
32
32
  /** Optional href — renders the item as a link instead of a span. */
33
33
  href?: string;
34
34
  }
35
- interface ProfileHeaderProps {
35
+ export interface ProfileHeaderProps {
36
36
  /** User display name — rendered as an h1. */
37
37
  name: string;
38
38
  /** Secondary text below the name (e.g. job title). */
@@ -51,4 +51,3 @@ interface ProfileHeaderProps {
51
51
  }
52
52
  export declare function ProfileHeader({ name, subtitle, badge, meta, action, className, }: ProfileHeaderProps): import("react/jsx-runtime").JSX.Element;
53
53
  export {};
54
- //# sourceMappingURL=ProfileHeader.d.ts.map
@@ -18,4 +18,3 @@ export interface ProgressBarProps extends Omit<ProgressHTMLAttributes<HTMLProgre
18
18
  }
19
19
  /** Native progress semantics. Announce workflow milestones separately rather than every percentage change. */
20
20
  export declare const ProgressBar: import("react").ForwardRefExoticComponent<ProgressBarProps & import("react").RefAttributes<HTMLProgressElement>>;
21
- //# sourceMappingURL=ProgressBar.d.ts.map
@@ -6,4 +6,3 @@ export interface ProseContentProps {
6
6
  className?: string;
7
7
  }
8
8
  export declare function ProseContent({ children, className }: ProseContentProps): import("react/jsx-runtime").JSX.Element;
9
- //# sourceMappingURL=ProseContent.d.ts.map
@@ -31,4 +31,3 @@ export interface QrCodeProps {
31
31
  * dark-on-light in every theme.
32
32
  */
33
33
  export declare function QrCode({ value, errorCorrection, size, margin, "aria-label": ariaLabel, fallback, className, }: QrCodeProps): import("react/jsx-runtime").JSX.Element | null;
34
- //# sourceMappingURL=QrCode.d.ts.map
@@ -37,4 +37,3 @@ export declare const Radio: import("react").ForwardRefExoticComponent<RadioProps
37
37
  Group: typeof RadioGroup;
38
38
  };
39
39
  export {};
40
- //# sourceMappingURL=Radio.d.ts.map
@@ -1,12 +1,13 @@
1
- interface RadioPillProps<T extends string> {
2
- /** The segments to render, in order. */
1
+ export interface RadioPillProps<T extends string> {
2
+ /** The segments to render, in order. Disabled segments are skipped by keyboard navigation. */
3
3
  options: {
4
4
  value: T;
5
5
  label: string;
6
+ disabled?: boolean;
6
7
  }[];
7
8
  /** Value of the currently selected option. */
8
9
  value: T;
9
- /** Called with the option's value when a segment is clicked. */
10
+ /** Called with the option's value when a segment is selected. */
10
11
  onChange: (value: T) => void;
11
12
  /** Disables all segments and dims the control. */
12
13
  disabled?: boolean;
@@ -16,5 +17,3 @@ interface RadioPillProps<T extends string> {
16
17
  "aria-label"?: string;
17
18
  }
18
19
  export declare function RadioPill<T extends string>({ options, value, onChange, disabled, className, "aria-label": ariaLabel, }: RadioPillProps<T>): import("react/jsx-runtime").JSX.Element;
19
- export {};
20
- //# sourceMappingURL=RadioPill.d.ts.map
@@ -18,4 +18,3 @@ export interface ReorderListProps<T> {
18
18
  disabled?: boolean;
19
19
  }
20
20
  export declare function ReorderList<T>({ items, getKey, renderItem, onReorder, onRemove, canRemove, getItemLabel, addButton, disabled, }: ReorderListProps<T>): import("react/jsx-runtime").JSX.Element;
21
- //# sourceMappingURL=ReorderList.d.ts.map
@@ -1,4 +1,6 @@
1
- export interface SearchInputProps {
1
+ import { type InputHTMLAttributes, type ReactNode } from "react";
2
+ import { type LucideIcon } from "lucide-react";
3
+ export interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "type" | "children" | "dangerouslySetInnerHTML" | "defaultValue"> {
2
4
  /** Current search text (controlled). */
3
5
  value: string;
4
6
  /** Called with the new text on every change. */
@@ -7,6 +9,13 @@ export interface SearchInputProps {
7
9
  placeholder?: string;
8
10
  /** Additional utility classes appended to the wrapper. */
9
11
  className?: string;
12
+ /** Additional utility classes appended to the input. */
13
+ inputClassName?: string;
14
+ /** Leading icon. Defaults to Search. */
15
+ icon?: LucideIcon;
16
+ /** Shows the invalid border and warning icon. */
17
+ invalid?: boolean;
18
+ /** Message shown below the input while invalid. */
19
+ errorMessage?: ReactNode;
10
20
  }
11
- export declare function SearchInput({ value, onChange, placeholder, className, }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
12
- //# sourceMappingURL=SearchInput.d.ts.map
21
+ export declare function SearchInput({ value, onChange, placeholder, className, inputClassName, icon: Icon, invalid, errorMessage, "aria-invalid": ariaInvalid, "aria-describedby": ariaDescribedBy, ...inputProps }: SearchInputProps): import("react/jsx-runtime").JSX.Element;