@getufy/flint-ui-react 0.2.1 → 0.3.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 (331) hide show
  1. package/README.md +156 -12
  2. package/dist/accordion.d.ts +6 -0
  3. package/dist/accordion.js +63 -0
  4. package/dist/alert.d.ts +2 -0
  5. package/dist/alert.js +21 -0
  6. package/dist/app-bar.d.ts +1 -0
  7. package/dist/app-bar.js +12 -0
  8. package/dist/autocomplete.d.ts +2 -0
  9. package/dist/autocomplete.js +21 -0
  10. package/dist/avatar.d.ts +1 -0
  11. package/dist/avatar.js +12 -0
  12. package/dist/backdrop.d.ts +2 -0
  13. package/dist/backdrop.js +21 -0
  14. package/dist/badge.d.ts +1 -0
  15. package/dist/badge.js +12 -0
  16. package/dist/bottom-navigation.d.ts +3 -0
  17. package/dist/bottom-navigation.js +32 -0
  18. package/dist/box.d.ts +2 -0
  19. package/dist/box.js +21 -0
  20. package/dist/breadcrumbs.d.ts +1 -0
  21. package/dist/breadcrumbs.js +12 -0
  22. package/dist/button.d.ts +6 -0
  23. package/dist/button.js +63 -0
  24. package/dist/card.d.ts +6 -0
  25. package/dist/card.js +67 -0
  26. package/dist/carousel.d.ts +6 -0
  27. package/dist/carousel.js +65 -0
  28. package/dist/checkbox.d.ts +2 -0
  29. package/dist/checkbox.js +21 -0
  30. package/dist/chip.d.ts +2 -0
  31. package/dist/chip.js +23 -0
  32. package/dist/collapsible.d.ts +4 -0
  33. package/dist/collapsible.js +43 -0
  34. package/dist/command.d.ts +12 -0
  35. package/dist/command.js +127 -0
  36. package/dist/components/FlintAccordion.d.ts +19 -5
  37. package/dist/components/FlintAccordionActions.d.ts +6 -2
  38. package/dist/components/FlintAccordionDetails.d.ts +8 -2
  39. package/dist/components/FlintAccordionSummary.d.ts +11 -5
  40. package/dist/components/FlintAlert.d.ts +21 -5
  41. package/dist/components/FlintAppBar.d.ts +16 -2
  42. package/dist/components/FlintAutocomplete.d.ts +22 -5
  43. package/dist/components/FlintAvatar.d.ts +13 -2
  44. package/dist/components/FlintBackdrop.d.ts +19 -5
  45. package/dist/components/FlintBadge.d.ts +18 -2
  46. package/dist/components/FlintBottomNavigation.d.ts +16 -5
  47. package/dist/components/FlintBottomNavigationAction.d.ts +17 -2
  48. package/dist/components/FlintBox.d.ts +67 -5
  49. package/dist/components/FlintBreadcrumbs.d.ts +18 -2
  50. package/dist/components/FlintButton.d.ts +11 -2
  51. package/dist/components/FlintButtonGroup.d.ts +3 -2
  52. package/dist/components/FlintCard.d.ts +5 -2
  53. package/dist/components/FlintCardActionArea.d.ts +3 -2
  54. package/dist/components/FlintCardActions.d.ts +3 -2
  55. package/dist/components/FlintCardContent.d.ts +3 -2
  56. package/dist/components/FlintCardHeader.d.ts +12 -2
  57. package/dist/components/FlintCardMedia.d.ts +6 -2
  58. package/dist/components/FlintCarousel.d.ts +24 -5
  59. package/dist/components/FlintCarouselContent.d.ts +9 -2
  60. package/dist/components/FlintCarouselItem.d.ts +3 -2
  61. package/dist/components/FlintCarouselNext.d.ts +12 -2
  62. package/dist/components/FlintCarouselPrevious.d.ts +12 -2
  63. package/dist/components/FlintCheckbox.d.ts +33 -5
  64. package/dist/components/FlintChip.d.ts +29 -6
  65. package/dist/components/FlintCircularProgress.d.ts +18 -2
  66. package/dist/components/FlintCollapsible.d.ts +22 -5
  67. package/dist/components/FlintCollapsibleContent.d.ts +11 -2
  68. package/dist/components/FlintCollapsibleTrigger.d.ts +13 -2
  69. package/dist/components/FlintCommand.d.ts +11 -5
  70. package/dist/components/FlintCommandDialog.d.ts +17 -5
  71. package/dist/components/FlintCommandEmpty.d.ts +9 -2
  72. package/dist/components/FlintCommandGroup.d.ts +11 -2
  73. package/dist/components/FlintCommandInput.d.ts +11 -2
  74. package/dist/components/FlintCommandItem.d.ts +22 -5
  75. package/dist/components/FlintCommandList.d.ts +8 -2
  76. package/dist/components/FlintCommandSeparator.d.ts +6 -2
  77. package/dist/components/FlintCommandShortcut.d.ts +9 -2
  78. package/dist/components/FlintContainer.d.ts +9 -2
  79. package/dist/components/FlintCopyButton.d.ts +32 -6
  80. package/dist/components/FlintDateField.d.ts +34 -6
  81. package/dist/components/FlintDatePicker.d.ts +35 -5
  82. package/dist/components/FlintDatePickerCalendar.d.ts +20 -5
  83. package/dist/components/FlintDateRangeCalendar.d.ts +17 -5
  84. package/dist/components/FlintDateRangePicker.d.ts +36 -5
  85. package/dist/components/FlintDesktopTimePicker.d.ts +29 -5
  86. package/dist/components/FlintDialog.d.ts +23 -5
  87. package/dist/components/FlintDialogActions.d.ts +9 -2
  88. package/dist/components/FlintDialogContent.d.ts +6 -2
  89. package/dist/components/FlintDialogContentText.d.ts +6 -2
  90. package/dist/components/FlintDialogTitle.d.ts +7 -2
  91. package/dist/components/FlintDigitalClock.d.ts +17 -5
  92. package/dist/components/FlintDivider.d.ts +16 -2
  93. package/dist/components/FlintDrawer.d.ts +27 -5
  94. package/dist/components/FlintEmpty.d.ts +10 -2
  95. package/dist/components/FlintEmptyContent.d.ts +8 -2
  96. package/dist/components/FlintEmptyDescription.d.ts +8 -2
  97. package/dist/components/FlintEmptyHeader.d.ts +8 -2
  98. package/dist/components/FlintEmptyMedia.d.ts +10 -2
  99. package/dist/components/FlintEmptyTitle.d.ts +8 -2
  100. package/dist/components/FlintFab.d.ts +15 -2
  101. package/dist/components/FlintFormatDate.d.ts +39 -2
  102. package/dist/components/FlintFormatNumber.d.ts +39 -2
  103. package/dist/components/FlintGrid.d.ts +35 -2
  104. package/dist/components/FlintHoverCard.d.ts +13 -2
  105. package/dist/components/FlintHoverCardContent.d.ts +15 -2
  106. package/dist/components/FlintHoverCardTrigger.d.ts +9 -2
  107. package/dist/components/FlintImageComparer.d.ts +19 -5
  108. package/dist/components/FlintImageList.d.ts +19 -2
  109. package/dist/components/FlintImageListItem.d.ts +21 -2
  110. package/dist/components/FlintImageListItemBar.d.ts +12 -2
  111. package/dist/components/FlintInput.d.ts +44 -6
  112. package/dist/components/FlintInputOtp.d.ts +36 -6
  113. package/dist/components/FlintInputOtpGroup.d.ts +9 -2
  114. package/dist/components/FlintInputOtpSeparator.d.ts +7 -2
  115. package/dist/components/FlintInputOtpSlot.d.ts +15 -2
  116. package/dist/components/FlintItem.d.ts +15 -2
  117. package/dist/components/FlintItemActions.d.ts +9 -2
  118. package/dist/components/FlintItemContent.d.ts +8 -2
  119. package/dist/components/FlintItemDescription.d.ts +8 -2
  120. package/dist/components/FlintItemFooter.d.ts +10 -2
  121. package/dist/components/FlintItemGroup.d.ts +8 -2
  122. package/dist/components/FlintItemHeader.d.ts +10 -2
  123. package/dist/components/FlintItemMedia.d.ts +10 -2
  124. package/dist/components/FlintItemSeparator.d.ts +6 -2
  125. package/dist/components/FlintItemTitle.d.ts +8 -2
  126. package/dist/components/FlintKbd.d.ts +15 -2
  127. package/dist/components/FlintKbdGroup.d.ts +9 -2
  128. package/dist/components/FlintLinearProgress.d.ts +16 -2
  129. package/dist/components/FlintLink.d.ts +27 -2
  130. package/dist/components/FlintList.d.ts +10 -2
  131. package/dist/components/FlintListItem.d.ts +6 -2
  132. package/dist/components/FlintListItemAvatar.d.ts +6 -2
  133. package/dist/components/FlintListItemButton.d.ts +10 -2
  134. package/dist/components/FlintListItemIcon.d.ts +6 -2
  135. package/dist/components/FlintListItemText.d.ts +10 -2
  136. package/dist/components/FlintListSubheader.d.ts +6 -2
  137. package/dist/components/FlintMenu.d.ts +24 -5
  138. package/dist/components/FlintMenuDivider.d.ts +6 -2
  139. package/dist/components/FlintMenuGroup.d.ts +11 -2
  140. package/dist/components/FlintMenuItem.d.ts +23 -5
  141. package/dist/components/FlintMenubar.d.ts +11 -2
  142. package/dist/components/FlintMenubarCheckboxItem.d.ts +20 -5
  143. package/dist/components/FlintMenubarContent.d.ts +13 -5
  144. package/dist/components/FlintMenubarGroup.d.ts +8 -2
  145. package/dist/components/FlintMenubarItem.d.ts +21 -5
  146. package/dist/components/FlintMenubarMenu.d.ts +8 -2
  147. package/dist/components/FlintMenubarRadioGroup.d.ts +13 -5
  148. package/dist/components/FlintMenubarRadioItem.d.ts +18 -5
  149. package/dist/components/FlintMenubarSeparator.d.ts +6 -2
  150. package/dist/components/FlintMenubarShortcut.d.ts +8 -2
  151. package/dist/components/FlintMenubarSub.d.ts +7 -2
  152. package/dist/components/FlintMenubarSubContent.d.ts +9 -2
  153. package/dist/components/FlintMenubarSubTrigger.d.ts +14 -2
  154. package/dist/components/FlintMenubarTrigger.d.ts +12 -2
  155. package/dist/components/FlintMobileStepper.d.ts +21 -2
  156. package/dist/components/FlintMobileTimePicker.d.ts +24 -5
  157. package/dist/components/FlintMultiSectionDigitalClock.d.ts +17 -5
  158. package/dist/components/FlintNavigationMenu.d.ts +8 -2
  159. package/dist/components/FlintNavigationMenuContent.d.ts +20 -5
  160. package/dist/components/FlintNavigationMenuItem.d.ts +18 -6
  161. package/dist/components/FlintNavigationMenuLink.d.ts +16 -2
  162. package/dist/components/FlintNavigationMenuList.d.ts +12 -2
  163. package/dist/components/FlintNavigationMenuTrigger.d.ts +12 -5
  164. package/dist/components/FlintPagination.d.ts +48 -5
  165. package/dist/components/FlintPaper.d.ts +13 -2
  166. package/dist/components/FlintRadio.d.ts +25 -5
  167. package/dist/components/FlintRadioGroup.d.ts +27 -5
  168. package/dist/components/FlintRangeSlider.d.ts +23 -5
  169. package/dist/components/FlintRating.d.ts +31 -5
  170. package/dist/components/FlintRelativeTime.d.ts +17 -2
  171. package/dist/components/FlintResizableGroup.d.ts +16 -7
  172. package/dist/components/FlintResizableHandle.d.ts +8 -2
  173. package/dist/components/FlintResizablePanel.d.ts +15 -2
  174. package/dist/components/FlintRichTreeView.d.ts +50 -8
  175. package/dist/components/FlintScrollArea.d.ts +15 -2
  176. package/dist/components/FlintScrollBar.d.ts +11 -2
  177. package/dist/components/FlintSelect.d.ts +40 -5
  178. package/dist/components/FlintSimpleTreeView.d.ts +28 -6
  179. package/dist/components/FlintSingleInputDateRangeField.d.ts +31 -6
  180. package/dist/components/FlintSkeleton.d.ts +18 -2
  181. package/dist/components/FlintSlider.d.ts +35 -5
  182. package/dist/components/FlintSnackbar.d.ts +36 -6
  183. package/dist/components/FlintSpeedDial.d.ts +28 -2
  184. package/dist/components/FlintSpeedDialAction.d.ts +24 -5
  185. package/dist/components/FlintSplitPanel.d.ts +31 -5
  186. package/dist/components/FlintStack.d.ts +13 -2
  187. package/dist/components/FlintStaticTimePicker.d.ts +14 -5
  188. package/dist/components/FlintStep.d.ts +39 -5
  189. package/dist/components/FlintStepConnector.d.ts +7 -2
  190. package/dist/components/FlintStepContent.d.ts +10 -2
  191. package/dist/components/FlintStepLabel.d.ts +15 -2
  192. package/dist/components/FlintStepper.d.ts +20 -5
  193. package/dist/components/FlintSwitch.d.ts +33 -5
  194. package/dist/components/FlintTab.d.ts +23 -5
  195. package/dist/components/FlintTabList.d.ts +14 -5
  196. package/dist/components/FlintTabPanel.d.ts +5 -2
  197. package/dist/components/FlintTable.d.ts +8 -2
  198. package/dist/components/FlintTableBody.d.ts +8 -2
  199. package/dist/components/FlintTableCell.d.ts +12 -2
  200. package/dist/components/FlintTableContainer.d.ts +10 -2
  201. package/dist/components/FlintTableFooter.d.ts +6 -2
  202. package/dist/components/FlintTableHead.d.ts +6 -2
  203. package/dist/components/FlintTablePagination.d.ts +32 -6
  204. package/dist/components/FlintTableRow.d.ts +10 -2
  205. package/dist/components/FlintTableSortLabel.d.ts +7 -2
  206. package/dist/components/FlintTabs.d.ts +27 -5
  207. package/dist/components/FlintTextField.d.ts +36 -6
  208. package/dist/components/FlintTextarea.d.ts +52 -6
  209. package/dist/components/FlintTimeClock.d.ts +21 -6
  210. package/dist/components/FlintTimeField.d.ts +31 -6
  211. package/dist/components/FlintTimePicker.d.ts +26 -5
  212. package/dist/components/FlintToaster.d.ts +13 -2
  213. package/dist/components/FlintToggle.d.ts +27 -5
  214. package/dist/components/FlintToggleButton.d.ts +20 -5
  215. package/dist/components/FlintToggleButtonGroup.d.ts +17 -5
  216. package/dist/components/FlintTooltip.d.ts +19 -2
  217. package/dist/components/FlintTransferList.d.ts +25 -5
  218. package/dist/components/FlintTreeItem.d.ts +34 -6
  219. package/dist/components/FlintTypography.d.ts +22 -2
  220. package/dist/components/FlintVisuallyHidden.d.ts +11 -2
  221. package/dist/container.d.ts +1 -0
  222. package/dist/container.js +12 -0
  223. package/dist/copy-button.d.ts +2 -0
  224. package/dist/copy-button.js +23 -0
  225. package/dist/date-field.d.ts +2 -0
  226. package/dist/date-field.js +23 -0
  227. package/dist/date-picker.d.ts +4 -0
  228. package/dist/date-picker.js +41 -0
  229. package/dist/date-range-picker.d.ts +6 -0
  230. package/dist/date-range-picker.js +63 -0
  231. package/dist/dialog.d.ts +6 -0
  232. package/dist/dialog.js +65 -0
  233. package/dist/divider.d.ts +1 -0
  234. package/dist/divider.js +12 -0
  235. package/dist/drawer.d.ts +2 -0
  236. package/dist/drawer.js +21 -0
  237. package/dist/empty.d.ts +6 -0
  238. package/dist/empty.js +67 -0
  239. package/dist/fab.d.ts +1 -0
  240. package/dist/fab.js +12 -0
  241. package/dist/flint-range-slider.d.ts +2 -0
  242. package/dist/flint-range-slider.js +21 -0
  243. package/dist/format-date.d.ts +1 -0
  244. package/dist/format-date.js +12 -0
  245. package/dist/format-number.d.ts +1 -0
  246. package/dist/format-number.js +12 -0
  247. package/dist/grid.d.ts +1 -0
  248. package/dist/grid.js +12 -0
  249. package/dist/hover-card.d.ts +3 -0
  250. package/dist/hover-card.js +34 -0
  251. package/dist/image-comparer.d.ts +2 -0
  252. package/dist/image-comparer.js +21 -0
  253. package/dist/image-list.d.ts +3 -0
  254. package/dist/image-list.js +34 -0
  255. package/dist/input-otp.d.ts +5 -0
  256. package/dist/input-otp.js +56 -0
  257. package/dist/input.d.ts +2 -0
  258. package/dist/input.js +23 -0
  259. package/dist/item.d.ts +10 -0
  260. package/dist/item.js +111 -0
  261. package/dist/kbd.d.ts +2 -0
  262. package/dist/kbd.js +23 -0
  263. package/dist/link.d.ts +1 -0
  264. package/dist/link.js +12 -0
  265. package/dist/list.d.ts +7 -0
  266. package/dist/list.js +78 -0
  267. package/dist/menu.d.ts +6 -0
  268. package/dist/menu.js +63 -0
  269. package/dist/menubar.d.ts +19 -0
  270. package/dist/menubar.js +200 -0
  271. package/dist/navigation-menu.d.ts +9 -0
  272. package/dist/navigation-menu.js +96 -0
  273. package/dist/pagination.d.ts +2 -0
  274. package/dist/pagination.js +21 -0
  275. package/dist/paper.d.ts +1 -0
  276. package/dist/paper.js +12 -0
  277. package/dist/progress.d.ts +2 -0
  278. package/dist/progress.js +23 -0
  279. package/dist/radio.d.ts +4 -0
  280. package/dist/radio.js +41 -0
  281. package/dist/rating.d.ts +2 -0
  282. package/dist/rating.js +21 -0
  283. package/dist/relative-time.d.ts +1 -0
  284. package/dist/relative-time.js +12 -0
  285. package/dist/resizable.d.ts +4 -0
  286. package/dist/resizable.js +47 -0
  287. package/dist/scroll-area.d.ts +2 -0
  288. package/dist/scroll-area.js +23 -0
  289. package/dist/select.d.ts +2 -0
  290. package/dist/select.js +21 -0
  291. package/dist/skeleton.d.ts +1 -0
  292. package/dist/skeleton.js +12 -0
  293. package/dist/slider.d.ts +2 -0
  294. package/dist/slider.js +21 -0
  295. package/dist/snackbar.d.ts +2 -0
  296. package/dist/snackbar.js +23 -0
  297. package/dist/sonner.d.ts +1 -0
  298. package/dist/sonner.js +12 -0
  299. package/dist/speed-dial.d.ts +3 -0
  300. package/dist/speed-dial.js +32 -0
  301. package/dist/split-panel.d.ts +2 -0
  302. package/dist/split-panel.js +21 -0
  303. package/dist/stack.d.ts +1 -0
  304. package/dist/stack.js +12 -0
  305. package/dist/stepper.d.ts +8 -0
  306. package/dist/stepper.js +85 -0
  307. package/dist/switch.d.ts +2 -0
  308. package/dist/switch.js +21 -0
  309. package/dist/table.d.ts +10 -0
  310. package/dist/table.js +111 -0
  311. package/dist/tabs.d.ts +7 -0
  312. package/dist/tabs.js +72 -0
  313. package/dist/text-field.d.ts +2 -0
  314. package/dist/text-field.js +23 -0
  315. package/dist/textarea.d.ts +2 -0
  316. package/dist/textarea.js +23 -0
  317. package/dist/time-picker.d.ts +16 -0
  318. package/dist/time-picker.js +165 -0
  319. package/dist/toggle.d.ts +2 -0
  320. package/dist/toggle.js +21 -0
  321. package/dist/tooltip.d.ts +1 -0
  322. package/dist/tooltip.js +12 -0
  323. package/dist/transfer-list.d.ts +2 -0
  324. package/dist/transfer-list.js +21 -0
  325. package/dist/tree-view.d.ts +6 -0
  326. package/dist/tree-view.js +71 -0
  327. package/dist/typography.d.ts +1 -0
  328. package/dist/typography.js +12 -0
  329. package/dist/visually-hidden.d.ts +1 -0
  330. package/dist/visually-hidden.js +12 -0
  331. package/package.json +156 -148
@@ -1,4 +1,11 @@
1
1
  import React from 'react';
2
2
  import { FlintCommandShortcut as FlintCommandShortcutElement } from '@getufy/flint-ui/command/flint-command';
3
- export declare const FlintCommandShortcut: import("@lit/react").ReactWebComponent<FlintCommandShortcutElement, {}>;
4
- export type FlintCommandShortcutProps = React.ComponentProps<typeof FlintCommandShortcut>;
3
+ /**
4
+ * Displays a keyboard shortcut hint inside a command item.
5
+ Slot the shortcut string (e.g. `⌘P`) as default slot content.
6
+ *
7
+ * @slot - Shortcut text, e.g. `⌘P` or `Ctrl+K`.
8
+ */
9
+ export interface FlintCommandShortcutProps extends React.HTMLAttributes<FlintCommandShortcutElement> {
10
+ }
11
+ export declare const FlintCommandShortcut: React.ForwardRefExoticComponent<FlintCommandShortcutProps & React.RefAttributes<FlintCommandShortcutElement>>;
@@ -1,4 +1,11 @@
1
1
  import React from 'react';
2
2
  import { FlintContainer as FlintContainerElement } from '@getufy/flint-ui/container/flint-container';
3
- export declare const FlintContainer: import("@lit/react").ReactWebComponent<FlintContainerElement, {}>;
4
- export type FlintContainerProps = React.ComponentProps<typeof FlintContainer>;
3
+ export interface FlintContainerProps extends React.HTMLAttributes<FlintContainerElement> {
4
+ /** Determine the max-width of the container. */
5
+ maxWidth?: FlintContainerElement['maxWidth'];
6
+ /** If `true`, the left and right padding is removed. */
7
+ disableGutters?: boolean;
8
+ /** Set the max-width to match the min-width of the current breakpoint. */
9
+ fixed?: boolean;
10
+ }
11
+ export declare const FlintContainer: React.ForwardRefExoticComponent<FlintContainerProps & React.RefAttributes<FlintContainerElement>>;
@@ -1,8 +1,34 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintCopyButton as FlintCopyButtonElement } from '@getufy/flint-ui/copy-button/flint-copy-button';
4
- export declare const FlintCopyButton: import("@lit/react").ReactWebComponent<FlintCopyButtonElement, {
5
- onFlintCopyError: EventName<CustomEvent>;
6
- onFlintCopy: EventName<CustomEvent>;
7
- }>;
8
- export type FlintCopyButtonProps = React.ComponentProps<typeof FlintCopyButton>;
3
+ export interface FlintCopyErrorDetail {
4
+ reason: string;
5
+ }
6
+ export interface FlintCopyDetail {
7
+ value: string;
8
+ }
9
+ /**
10
+ * Copy Button: copies text to the clipboard with visual feedback.
11
+ */
12
+ export interface FlintCopyButtonProps extends React.HTMLAttributes<FlintCopyButtonElement> {
13
+ /** The text value to copy. */
14
+ value?: string;
15
+ /** An id referencing another element to copy from. */
16
+ from?: string;
17
+ /** Disables the copy button. */
18
+ disabled?: boolean;
19
+ /** Label shown in the tooltip (idle state). */
20
+ copyLabel?: string;
21
+ /** Label shown in the tooltip after successful copy. */
22
+ successLabel?: string;
23
+ /** Label shown in the tooltip on copy error. */
24
+ errorLabel?: string;
25
+ /** Duration (ms) to show feedback before returning to idle. */
26
+ feedbackDuration?: number;
27
+ /** Tooltip placement. */
28
+ tooltipPlacement?: 'top' | 'right' | 'bottom' | 'left';
29
+ /** Fired when the copy operation fails. */
30
+ onFlintCopyError?: (event: CustomEvent<FlintCopyErrorDetail>) => void;
31
+ /** Fired after a successful copy operation. */
32
+ onFlintCopy?: (event: CustomEvent<FlintCopyDetail>) => void;
33
+ }
34
+ export declare const FlintCopyButton: React.ForwardRefExoticComponent<FlintCopyButtonProps & React.RefAttributes<FlintCopyButtonElement>>;
@@ -1,8 +1,36 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintDateField as FlintDateFieldElement } from '@getufy/flint-ui/date-field/flint-date-field';
4
- export declare const FlintDateField: import("@lit/react").ReactWebComponent<FlintDateFieldElement, {
5
- onFlintDateFieldClear: EventName<CustomEvent>;
6
- onFlintDateFieldChange: EventName<CustomEvent>;
7
- }>;
8
- export type FlintDateFieldProps = React.ComponentProps<typeof FlintDateField>;
3
+ export interface FlintDateFieldChangeDetail {
4
+ value: string;
5
+ }
6
+ /**
7
+ * A segmented keyboard-driven date input.
8
+ Each section (month, day, year) is independently editable via keyboard.
9
+ */
10
+ export interface FlintDateFieldProps extends React.HTMLAttributes<FlintDateFieldElement> {
11
+ /** Controlled date value (ISO YYYY-MM-DD). Set to '' for uncontrolled. */
12
+ value?: string;
13
+ /** Field label. */
14
+ label?: string;
15
+ /** Form field name. Reflected so the browser picks it up for form data collection. */
16
+ name?: string;
17
+ /** Minimum allowed date (ISO). */
18
+ min?: string;
19
+ /** Maximum allowed date (ISO). */
20
+ max?: string;
21
+ /** Disables the field and prevents interaction. */
22
+ disabled?: boolean;
23
+ /** Makes the field read-only (visible but not editable). */
24
+ readonly?: boolean;
25
+ /** Displays the field in an error state. */
26
+ error?: boolean;
27
+ /** Helper text shown below the field. */
28
+ helperText?: string;
29
+ /** Error message displayed below the field when in error state. */
30
+ errorMessage?: string;
31
+ /** Fired when all segments are cleared */
32
+ onFlintDateFieldClear?: (event: CustomEvent) => void;
33
+ /** { detail: { value: string } } ISO date when all three segments are filled */
34
+ onFlintDateFieldChange?: (event: CustomEvent<FlintDateFieldChangeDetail>) => void;
35
+ }
36
+ export declare const FlintDateField: React.ForwardRefExoticComponent<FlintDateFieldProps & React.RefAttributes<FlintDateFieldElement>>;
@@ -1,7 +1,37 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintDatePicker as FlintDatePickerElement } from '@getufy/flint-ui/date-picker/flint-date-picker';
4
- export declare const FlintDatePicker: import("@lit/react").ReactWebComponent<FlintDatePickerElement, {
5
- onChange: EventName<CustomEvent>;
6
- }>;
7
- export type FlintDatePickerProps = React.ComponentProps<typeof FlintDatePicker>;
3
+ export interface ChangeDetail {
4
+ value: string;
5
+ }
6
+ /**
7
+ * A date picker with a text field and a calendar popover/modal.
8
+ */
9
+ export interface FlintDatePickerProps extends Omit<React.HTMLAttributes<FlintDatePickerElement>, 'onChange'> {
10
+ /** Selected date as ISO string (YYYY-MM-DD). */
11
+ value?: string;
12
+ /** Label shown above the field. */
13
+ label?: string;
14
+ /** Placeholder shown in the empty field. */
15
+ placeholder?: string;
16
+ /** Form field name attribute. */
17
+ name?: string;
18
+ /** Variant: 'desktop' | 'mobile' | 'static' | 'auto'. */
19
+ variant?: 'desktop' | 'mobile' | 'static' | 'auto';
20
+ /** Minimum selectable date (ISO). */
21
+ min?: string;
22
+ /** Maximum selectable date (ISO). */
23
+ max?: string;
24
+ /** Disables the picker. */
25
+ disabled?: boolean;
26
+ /** Makes the field read-only (auto-opens a picker when clicked). */
27
+ readonly?: boolean;
28
+ /** Shows error styling. */
29
+ error?: boolean;
30
+ /** Helper/error text below the field. */
31
+ helperText?: string;
32
+ /** Error message displayed below the field when in error state. */
33
+ errorMessage?: string;
34
+ /** { detail: { value: string } } when the date changes */
35
+ onChange?: (event: CustomEvent<ChangeDetail>) => void;
36
+ }
37
+ export declare const FlintDatePicker: React.ForwardRefExoticComponent<FlintDatePickerProps & React.RefAttributes<FlintDatePickerElement>>;
@@ -1,7 +1,22 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintDatePickerCalendar as FlintDatePickerCalendarElement } from '@getufy/flint-ui/date-picker/flint-date-picker';
4
- export declare const FlintDatePickerCalendar: import("@lit/react").ReactWebComponent<FlintDatePickerCalendarElement, {
5
- onFlintDatePickerSelect: EventName<CustomEvent>;
6
- }>;
7
- export type FlintDatePickerCalendarProps = React.ComponentProps<typeof FlintDatePickerCalendar>;
3
+ export interface FlintDatePickerSelectDetail {
4
+ value: string;
5
+ }
6
+ /**
7
+ * A standalone calendar grid — the core date-selection view.
8
+ Used internally by flint-date-picker, but can also be used on its own.
9
+ */
10
+ export interface FlintDatePickerCalendarProps extends React.HTMLAttributes<FlintDatePickerCalendarElement> {
11
+ /** Currently selected value as ISO string (YYYY-MM-DD). */
12
+ value?: string;
13
+ /** Minimum selectable date (ISO). */
14
+ min?: string;
15
+ /** Maximum selectable date (ISO). */
16
+ max?: string;
17
+ /** Disable all interaction. */
18
+ disabled?: boolean;
19
+ /** { detail: { value: string } } ISO date YYYY-MM-DD */
20
+ onFlintDatePickerSelect?: (event: CustomEvent<FlintDatePickerSelectDetail>) => void;
21
+ }
22
+ export declare const FlintDatePickerCalendar: React.ForwardRefExoticComponent<FlintDatePickerCalendarProps & React.RefAttributes<FlintDatePickerCalendarElement>>;
@@ -1,7 +1,19 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintDateRangeCalendar as FlintDateRangeCalendarElement } from '@getufy/flint-ui/date-range-picker/flint-date-range-calendar';
4
- export declare const FlintDateRangeCalendar: import("@lit/react").ReactWebComponent<FlintDateRangeCalendarElement, {
5
- onFlintDateRangePickerSelect: EventName<CustomEvent>;
6
- }>;
7
- export type FlintDateRangeCalendarProps = React.ComponentProps<typeof FlintDateRangeCalendar>;
3
+ /**
4
+ * A dual-month calendar for range selection.
5
+ Shows two months side-by-side (or stacked on narrow screens).
6
+ */
7
+ export interface FlintDateRangeCalendarProps extends React.HTMLAttributes<FlintDateRangeCalendarElement> {
8
+ /** Current selected range [startISO, endISO]. */
9
+ value?: FlintDateRangeCalendarElement['value'];
10
+ /** Minimum selectable date (ISO YYYY-MM-DD). */
11
+ min?: string;
12
+ /** Maximum selectable date (ISO YYYY-MM-DD). */
13
+ max?: string;
14
+ /** Disables the calendar and prevents date selection. */
15
+ disabled?: boolean;
16
+ /** { detail: { value: DateRange } } on each click */
17
+ onFlintDateRangePickerSelect?: (event: CustomEvent) => void;
18
+ }
19
+ export declare const FlintDateRangeCalendar: React.ForwardRefExoticComponent<FlintDateRangeCalendarProps & React.RefAttributes<FlintDateRangeCalendarElement>>;
@@ -1,7 +1,38 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintDateRangePicker as FlintDateRangePickerElement } from '@getufy/flint-ui/date-range-picker/flint-date-range-picker';
4
- export declare const FlintDateRangePicker: import("@lit/react").ReactWebComponent<FlintDateRangePickerElement, {
5
- onFlintDateRangePickerChange: EventName<CustomEvent>;
6
- }>;
7
- export type FlintDateRangePickerProps = React.ComponentProps<typeof FlintDateRangePicker>;
3
+ /**
4
+ * A date range picker combining a segmented field and a dual-month calendar.
5
+ */
6
+ export interface FlintDateRangePickerProps extends React.HTMLAttributes<FlintDateRangePickerElement> {
7
+ /** Selected range [startISO, endISO]. Empty strings mean unset. */
8
+ value?: FlintDateRangePickerElement['value'];
9
+ /** Label shown above the field. */
10
+ label?: string;
11
+ /** Variant: 'desktop' | 'mobile' | 'static' | 'auto'. */
12
+ variant?: 'desktop' | 'mobile' | 'static' | 'auto';
13
+ /** Use a multi-input field (two separate fields) instead of single-input. Currently shows two simple text displays. */
14
+ multiInput?: boolean;
15
+ /** Show shortcuts panel. */
16
+ shortcuts?: boolean;
17
+ /** Custom shortcuts list. Defaults to built-in shortcuts when shortcuts=true. */
18
+ shortcutItems?: FlintDateRangePickerElement['shortcutItems'];
19
+ /** Minimum selectable date (ISO YYYY-MM-DD). */
20
+ min?: string;
21
+ /** Maximum selectable date (ISO YYYY-MM-DD). */
22
+ max?: string;
23
+ /** Form field name for hidden inputs. */
24
+ name?: string;
25
+ /** Disables the picker and prevents interaction. */
26
+ disabled?: boolean;
27
+ /** Makes the picker read-only (visible but not editable). */
28
+ readonly?: boolean;
29
+ /** Displays the picker in an error state. */
30
+ error?: boolean;
31
+ /** Helper text shown below the field. */
32
+ helperText?: string;
33
+ /** Error message displayed below the field when in error state. */
34
+ errorMessage?: string;
35
+ /** { detail: { value: DateRange } } when range is committed */
36
+ onFlintDateRangePickerChange?: (event: CustomEvent) => void;
37
+ }
38
+ export declare const FlintDateRangePicker: React.ForwardRefExoticComponent<FlintDateRangePickerProps & React.RefAttributes<FlintDateRangePickerElement>>;
@@ -1,7 +1,31 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintDesktopTimePicker as FlintDesktopTimePickerElement } from '@getufy/flint-ui/time-picker/flint-time-picker';
4
- export declare const FlintDesktopTimePicker: import("@lit/react").ReactWebComponent<FlintDesktopTimePickerElement, {
5
- onChange: EventName<CustomEvent>;
6
- }>;
7
- export type FlintDesktopTimePickerProps = React.ComponentProps<typeof FlintDesktopTimePicker>;
3
+ export interface ChangeDetail {
4
+ value: string;
5
+ }
6
+ /**
7
+ * Desktop Time Picker: a time field with a dropdown clock.
8
+ */
9
+ export interface FlintDesktopTimePickerProps extends Omit<React.HTMLAttributes<FlintDesktopTimePickerElement>, 'onChange'> {
10
+ /** Time value in HH:MM:SS format. */
11
+ value?: string;
12
+ /** Field label text. */
13
+ label?: string;
14
+ /** Whether to use 12-hour (AM/PM) format instead of 24-hour. */
15
+ ampm?: boolean;
16
+ /** Whether to show a seconds segment. */
17
+ seconds?: boolean;
18
+ /** Disables the picker and prevents interaction. */
19
+ disabled?: boolean;
20
+ /** Makes the field read-only (visible but not editable). */
21
+ readonly?: boolean;
22
+ /** Displays the field in an error state. */
23
+ error?: boolean;
24
+ /** Helper text shown below the field. */
25
+ helperText?: string;
26
+ /** Error message displayed below the field when in error state. */
27
+ errorMessage?: string;
28
+ /** Fired when the time value changes. */
29
+ onChange?: (event: CustomEvent<ChangeDetail>) => void;
30
+ }
31
+ export declare const FlintDesktopTimePicker: React.ForwardRefExoticComponent<FlintDesktopTimePickerProps & React.RefAttributes<FlintDesktopTimePickerElement>>;
@@ -1,7 +1,25 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintDialog as FlintDialogElement } from '@getufy/flint-ui/dialog/flint-dialog';
4
- export declare const FlintDialog: import("@lit/react").ReactWebComponent<FlintDialogElement, {
5
- onClose: EventName<CustomEvent>;
6
- }>;
7
- export type FlintDialogProps = React.ComponentProps<typeof FlintDialog>;
3
+ export interface CloseDetail {
4
+ open: boolean;
5
+ }
6
+ /**
7
+ * flint-dialog: a modal dialog component.
8
+ *
9
+ * @slot - Default slot for dialog content (title, content, actions sub-components).
10
+ */
11
+ export interface FlintDialogProps extends React.HTMLAttributes<FlintDialogElement> {
12
+ /** Controls the open / closed state of the dialog. */
13
+ open?: boolean;
14
+ /** Initial open state for uncontrolled usage. */
15
+ defaultOpen?: boolean;
16
+ /** Animation style: 'scale' (default), 'slide-up', or 'slide-down'. */
17
+ transition?: 'scale' | 'slide-up' | 'slide-down';
18
+ /** When true, clicking the backdrop will NOT close the dialog. */
19
+ disableBackdropClose?: boolean;
20
+ /** Dispatched when the dialog requests to be closed (backdrop click or
21
+ an explicit call to `requestClose()`). The host is responsible for
22
+ setting `open = false` in response. detail: `{ open: false }` */
23
+ onClose?: (event: CustomEvent<CloseDetail>) => void;
24
+ }
25
+ export declare const FlintDialog: React.ForwardRefExoticComponent<FlintDialogProps & React.RefAttributes<FlintDialogElement>>;
@@ -1,4 +1,11 @@
1
1
  import React from 'react';
2
2
  import { FlintDialogActions as FlintDialogActionsElement } from '@getufy/flint-ui/dialog/flint-dialog';
3
- export declare const FlintDialogActions: import("@lit/react").ReactWebComponent<FlintDialogActionsElement, {}>;
4
- export type FlintDialogActionsProps = React.ComponentProps<typeof FlintDialogActions>;
3
+ /**
4
+ * flint-dialog-actions: footer button row for a dialog.
5
+ Use the `align` prop to control button alignment.
6
+ */
7
+ export interface FlintDialogActionsProps extends React.HTMLAttributes<FlintDialogActionsElement> {
8
+ /** Alignment of action buttons: 'end' (default), 'start', 'center', 'space-between'. */
9
+ align?: 'start' | 'center' | 'end' | 'space-between';
10
+ }
11
+ export declare const FlintDialogActions: React.ForwardRefExoticComponent<FlintDialogActionsProps & React.RefAttributes<FlintDialogActionsElement>>;
@@ -1,4 +1,8 @@
1
1
  import React from 'react';
2
2
  import { FlintDialogContent as FlintDialogContentElement } from '@getufy/flint-ui/dialog/flint-dialog';
3
- export declare const FlintDialogContent: import("@lit/react").ReactWebComponent<FlintDialogContentElement, {}>;
4
- export type FlintDialogContentProps = React.ComponentProps<typeof FlintDialogContent>;
3
+ /**
4
+ * flint-dialog-content: scrollable content area of a dialog.
5
+ */
6
+ export interface FlintDialogContentProps extends React.HTMLAttributes<FlintDialogContentElement> {
7
+ }
8
+ export declare const FlintDialogContent: React.ForwardRefExoticComponent<FlintDialogContentProps & React.RefAttributes<FlintDialogContentElement>>;
@@ -1,4 +1,8 @@
1
1
  import React from 'react';
2
2
  import { FlintDialogContentText as FlintDialogContentTextElement } from '@getufy/flint-ui/dialog/flint-dialog';
3
- export declare const FlintDialogContentText: import("@lit/react").ReactWebComponent<FlintDialogContentTextElement, {}>;
4
- export type FlintDialogContentTextProps = React.ComponentProps<typeof FlintDialogContentText>;
3
+ /**
4
+ * flint-dialog-content-text: body text inside a dialog content area.
5
+ */
6
+ export interface FlintDialogContentTextProps extends React.HTMLAttributes<FlintDialogContentTextElement> {
7
+ }
8
+ export declare const FlintDialogContentText: React.ForwardRefExoticComponent<FlintDialogContentTextProps & React.RefAttributes<FlintDialogContentTextElement>>;
@@ -1,4 +1,9 @@
1
1
  import React from 'react';
2
2
  import { FlintDialogTitle as FlintDialogTitleElement } from '@getufy/flint-ui/dialog/flint-dialog';
3
- export declare const FlintDialogTitle: import("@lit/react").ReactWebComponent<FlintDialogTitleElement, {}>;
4
- export type FlintDialogTitleProps = React.ComponentProps<typeof FlintDialogTitle>;
3
+ /**
4
+ * flint-dialog-title: heading area of a dialog.
5
+ Automatically assigned id="dialog-title" for aria-labelledby.
6
+ */
7
+ export interface FlintDialogTitleProps extends React.HTMLAttributes<FlintDialogTitleElement> {
8
+ }
9
+ export declare const FlintDialogTitle: React.ForwardRefExoticComponent<FlintDialogTitleProps & React.RefAttributes<FlintDialogTitleElement>>;
@@ -1,7 +1,19 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintDigitalClock as FlintDigitalClockElement } from '@getufy/flint-ui/time-picker/flint-time-picker';
4
- export declare const FlintDigitalClock: import("@lit/react").ReactWebComponent<FlintDigitalClockElement, {
5
- onChange: EventName<CustomEvent>;
6
- }>;
7
- export type FlintDigitalClockProps = React.ComponentProps<typeof FlintDigitalClock>;
3
+ export interface ChangeDetail {
4
+ value: string;
5
+ }
6
+ /**
7
+ * Digital Clock: a scrollable time-slot picker.
8
+ */
9
+ export interface FlintDigitalClockProps extends Omit<React.HTMLAttributes<FlintDigitalClockElement>, 'onChange'> {
10
+ /** Time value in HH:MM:SS format. */
11
+ value?: string;
12
+ /** Step interval in minutes between selectable times. */
13
+ step?: number;
14
+ /** Whether to use 12-hour (AM/PM) format instead of 24-hour. */
15
+ ampm?: boolean;
16
+ /** Fired when a time slot is selected. */
17
+ onChange?: (event: CustomEvent<ChangeDetail>) => void;
18
+ }
19
+ export declare const FlintDigitalClock: React.ForwardRefExoticComponent<FlintDigitalClockProps & React.RefAttributes<FlintDigitalClockElement>>;
@@ -1,4 +1,18 @@
1
1
  import React from 'react';
2
2
  import { FlintDivider as FlintDividerElement } from '@getufy/flint-ui/divider/flint-divider';
3
- export declare const FlintDivider: import("@lit/react").ReactWebComponent<FlintDividerElement, {}>;
4
- export type FlintDividerProps = React.ComponentProps<typeof FlintDivider>;
3
+ /**
4
+ * A divider component that provides a thin line for grouping elements.
5
+ *
6
+ * @slot - Optional text or content to display within the divider.
7
+ */
8
+ export interface FlintDividerProps extends React.HTMLAttributes<FlintDividerElement> {
9
+ /** Orientation of the divider line. */
10
+ orientation?: 'horizontal' | 'vertical';
11
+ /** Inset variant controlling how far the divider extends. */
12
+ variant?: 'full' | 'middle' | 'inset';
13
+ /** Thickness of the divider line. */
14
+ weight?: 'light' | 'medium' | 'heavy';
15
+ /** Alignment of text content within the divider. */
16
+ textAlign?: 'left' | 'center' | 'right';
17
+ }
18
+ export declare const FlintDivider: React.ForwardRefExoticComponent<FlintDividerProps & React.RefAttributes<FlintDividerElement>>;
@@ -1,7 +1,29 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintDrawer as FlintDrawerElement } from '@getufy/flint-ui/drawer/flint-drawer';
4
- export declare const FlintDrawer: import("@lit/react").ReactWebComponent<FlintDrawerElement, {
5
- onFlintDrawerClose: EventName<CustomEvent>;
6
- }>;
7
- export type FlintDrawerProps = React.ComponentProps<typeof FlintDrawer>;
3
+ export interface FlintDrawerCloseDetail {
4
+ open: boolean;
5
+ }
6
+ /**
7
+ * Navigation drawers provide ergonomic access to destinations in a site or app.
8
+ *
9
+ * @slot - Drawer content.
10
+ */
11
+ export interface FlintDrawerProps extends React.HTMLAttributes<FlintDrawerElement> {
12
+ /** Whether the drawer is open. */
13
+ open?: boolean;
14
+ /** Initial open state for uncontrolled usage. */
15
+ defaultOpen?: boolean;
16
+ /** Side from which the drawer slides in. */
17
+ anchor?: 'left' | 'right' | 'top' | 'bottom';
18
+ /** Drawer behavior mode. */
19
+ variant?: 'temporary' | 'persistent' | 'mini';
20
+ /** Whether the drawer uses edge spacing. */
21
+ edge?: boolean;
22
+ /** Whether the drawer is contained within its parent. */
23
+ container?: boolean;
24
+ /** Accessible label for the drawer panel (used as aria-label on the panel). */
25
+ label?: string;
26
+ /** Dispatched when the drawer requests to be closed (backdrop click or Escape). detail: `{ open: false }` */
27
+ onFlintDrawerClose?: (event: CustomEvent<FlintDrawerCloseDetail>) => void;
28
+ }
29
+ export declare const FlintDrawer: React.ForwardRefExoticComponent<FlintDrawerProps & React.RefAttributes<FlintDrawerElement>>;
@@ -1,4 +1,12 @@
1
1
  import React from 'react';
2
2
  import { FlintEmpty as FlintEmptyElement } from '@getufy/flint-ui/empty/flint-empty';
3
- export declare const FlintEmpty: import("@lit/react").ReactWebComponent<FlintEmptyElement, {}>;
4
- export type FlintEmptyProps = React.ComponentProps<typeof FlintEmpty>;
3
+ /**
4
+ * Root container for an empty state. Wraps `flint-empty-header` and
5
+ `flint-empty-content` in a vertically centred flex column.
6
+ *
7
+ * @slot - Accepts `flint-empty-header`, `flint-empty-content`, and any extra
8
+ elements (e.g. a "Learn More" link).
9
+ */
10
+ export interface FlintEmptyProps extends React.HTMLAttributes<FlintEmptyElement> {
11
+ }
12
+ export declare const FlintEmpty: React.ForwardRefExoticComponent<FlintEmptyProps & React.RefAttributes<FlintEmptyElement>>;
@@ -1,4 +1,10 @@
1
1
  import React from 'react';
2
2
  import { FlintEmptyContent as FlintEmptyContentElement } from '@getufy/flint-ui/empty/flint-empty';
3
- export declare const FlintEmptyContent: import("@lit/react").ReactWebComponent<FlintEmptyContentElement, {}>;
4
- export type FlintEmptyContentProps = React.ComponentProps<typeof FlintEmptyContent>;
3
+ /**
4
+ * Displays action content for an empty state (buttons, inputs, links).
5
+ *
6
+ * @slot - Action elements such as buttons or inputs.
7
+ */
8
+ export interface FlintEmptyContentProps extends React.HTMLAttributes<FlintEmptyContentElement> {
9
+ }
10
+ export declare const FlintEmptyContent: React.ForwardRefExoticComponent<FlintEmptyContentProps & React.RefAttributes<FlintEmptyContentElement>>;
@@ -1,4 +1,10 @@
1
1
  import React from 'react';
2
2
  import { FlintEmptyDescription as FlintEmptyDescriptionElement } from '@getufy/flint-ui/empty/flint-empty';
3
- export declare const FlintEmptyDescription: import("@lit/react").ReactWebComponent<FlintEmptyDescriptionElement, {}>;
4
- export type FlintEmptyDescriptionProps = React.ComponentProps<typeof FlintEmptyDescription>;
3
+ /**
4
+ * Displays the descriptive text of an empty state.
5
+ *
6
+ * @slot - Description text.
7
+ */
8
+ export interface FlintEmptyDescriptionProps extends React.HTMLAttributes<FlintEmptyDescriptionElement> {
9
+ }
10
+ export declare const FlintEmptyDescription: React.ForwardRefExoticComponent<FlintEmptyDescriptionProps & React.RefAttributes<FlintEmptyDescriptionElement>>;
@@ -1,4 +1,10 @@
1
1
  import React from 'react';
2
2
  import { FlintEmptyHeader as FlintEmptyHeaderElement } from '@getufy/flint-ui/empty/flint-empty';
3
- export declare const FlintEmptyHeader: import("@lit/react").ReactWebComponent<FlintEmptyHeaderElement, {}>;
4
- export type FlintEmptyHeaderProps = React.ComponentProps<typeof FlintEmptyHeader>;
3
+ /**
4
+ * Groups the media, title, and description of an empty state.
5
+ *
6
+ * @slot - Accepts `flint-empty-media`, `flint-empty-title`, `flint-empty-description`.
7
+ */
8
+ export interface FlintEmptyHeaderProps extends React.HTMLAttributes<FlintEmptyHeaderElement> {
9
+ }
10
+ export declare const FlintEmptyHeader: React.ForwardRefExoticComponent<FlintEmptyHeaderProps & React.RefAttributes<FlintEmptyHeaderElement>>;
@@ -1,4 +1,12 @@
1
1
  import React from 'react';
2
2
  import { FlintEmptyMedia as FlintEmptyMediaElement } from '@getufy/flint-ui/empty/flint-empty';
3
- export declare const FlintEmptyMedia: import("@lit/react").ReactWebComponent<FlintEmptyMediaElement, {}>;
4
- export type FlintEmptyMediaProps = React.ComponentProps<typeof FlintEmptyMedia>;
3
+ /**
4
+ * Displays the media area of an empty state (icon, image, or avatar).
5
+ *
6
+ * @slot - Media content: icon, image, or avatar elements.
7
+ */
8
+ export interface FlintEmptyMediaProps extends React.HTMLAttributes<FlintEmptyMediaElement> {
9
+ /** Visual treatment for the media container. */
10
+ variant?: 'default' | 'icon';
11
+ }
12
+ export declare const FlintEmptyMedia: React.ForwardRefExoticComponent<FlintEmptyMediaProps & React.RefAttributes<FlintEmptyMediaElement>>;
@@ -1,4 +1,10 @@
1
1
  import React from 'react';
2
2
  import { FlintEmptyTitle as FlintEmptyTitleElement } from '@getufy/flint-ui/empty/flint-empty';
3
- export declare const FlintEmptyTitle: import("@lit/react").ReactWebComponent<FlintEmptyTitleElement, {}>;
4
- export type FlintEmptyTitleProps = React.ComponentProps<typeof FlintEmptyTitle>;
3
+ /**
4
+ * Displays the heading of an empty state.
5
+ *
6
+ * @slot - Title text.
7
+ */
8
+ export interface FlintEmptyTitleProps extends React.HTMLAttributes<FlintEmptyTitleElement> {
9
+ }
10
+ export declare const FlintEmptyTitle: React.ForwardRefExoticComponent<FlintEmptyTitleProps & React.RefAttributes<FlintEmptyTitleElement>>;
@@ -1,4 +1,17 @@
1
1
  import React from 'react';
2
2
  import { FlintFab as FlintFabElement } from '@getufy/flint-ui/fab/flint-fab';
3
- export declare const FlintFab: import("@lit/react").ReactWebComponent<FlintFabElement, {}>;
4
- export type FlintFabProps = React.ComponentProps<typeof FlintFab>;
3
+ /**
4
+ * A floating action button (FAB) represents the primary action of a screen.
5
+ *
6
+ * @slot icon - The icon to display inside the FAB.
7
+ * @slot - Default slot for icon content (icon-only FAB).
8
+ * @slot label - The label to display in the extended FAB.
9
+ */
10
+ export interface FlintFabProps extends React.HTMLAttributes<FlintFabElement> {
11
+ extended?: boolean;
12
+ disabled?: boolean;
13
+ /** Accessible label for icon-only (non-extended) FABs. */
14
+ label?: string;
15
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | 'static';
16
+ }
17
+ export declare const FlintFab: React.ForwardRefExoticComponent<FlintFabProps & React.RefAttributes<FlintFabElement>>;
@@ -1,4 +1,41 @@
1
1
  import React from 'react';
2
2
  import { FlintFormatDate as FlintFormatDateElement } from '@getufy/flint-ui/format-date/flint-format-date';
3
- export declare const FlintFormatDate: import("@lit/react").ReactWebComponent<FlintFormatDateElement, {}>;
4
- export type FlintFormatDateProps = React.ComponentProps<typeof FlintFormatDate>;
3
+ /**
4
+ * Formats a date/time using the specified locale and options.
5
+ Localization is handled by the browser's `Intl.DateTimeFormat` API — no language packs required.
6
+ */
7
+ export interface FlintFormatDateProps extends Omit<React.HTMLAttributes<FlintFormatDateElement>, 'lang'> {
8
+ /** The date/time to format. Accepts a `Date` object or any string accepted by `new Date()`. */
9
+ date?: FlintFormatDateElement['date'];
10
+ /** The format for displaying the weekday. */
11
+ weekday?: 'narrow' | 'short' | 'long' | undefined;
12
+ /** The format for displaying the era. */
13
+ era?: 'narrow' | 'short' | 'long' | undefined;
14
+ /** The format for displaying the year. */
15
+ year?: 'numeric' | '2-digit' | undefined;
16
+ /** The format for displaying the month. */
17
+ month?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long' | undefined;
18
+ /** The format for displaying the day. */
19
+ day?: 'numeric' | '2-digit' | undefined;
20
+ /** The format for displaying the hour. */
21
+ hour?: 'numeric' | '2-digit' | undefined;
22
+ /** The format for displaying the minute. */
23
+ minute?: 'numeric' | '2-digit' | undefined;
24
+ /** The format for displaying the second. */
25
+ second?: 'numeric' | '2-digit' | undefined;
26
+ /** The format for displaying the time zone name. */
27
+ timeZoneName?: 'short' | 'long' | 'shortOffset' | 'longOffset' | 'shortGeneric' | 'longGeneric' | undefined;
28
+ /** The time zone to express the time in (e.g. "UTC", "America/New_York"). */
29
+ timeZone?: string | undefined;
30
+ /** Number of fractional second digits to display (1–3). */
31
+ fractionalSecondDigits?: 1 | 2 | 3 | undefined;
32
+ /** Shorthand date format style. Cannot be combined with individual date field props */
33
+ dateStyle?: 'full' | 'long' | 'medium' | 'short' | undefined;
34
+ /** Shorthand time format style. Cannot be combined with individual time field props */
35
+ timeStyle?: 'full' | 'long' | 'medium' | 'short' | undefined;
36
+ /** The hour format to use. `'auto'` uses the browser/locale default. */
37
+ hourFormat?: 'auto' | '12' | '24';
38
+ /** BCP 47 language tag for formatting locale (e.g. "en", "fr", "ru"). Inherits from the document when unset. */
39
+ lang?: string;
40
+ }
41
+ export declare const FlintFormatDate: React.ForwardRefExoticComponent<FlintFormatDateProps & React.RefAttributes<FlintFormatDateElement>>;