@getufy/flint-ui-react 0.2.2 → 1.0.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 (187) hide show
  1. package/README.md +134 -39
  2. package/dist/components/FlintAccordion.d.ts +19 -5
  3. package/dist/components/FlintAccordionActions.d.ts +6 -2
  4. package/dist/components/FlintAccordionDetails.d.ts +8 -2
  5. package/dist/components/FlintAccordionSummary.d.ts +11 -5
  6. package/dist/components/FlintAlert.d.ts +21 -5
  7. package/dist/components/FlintAppBar.d.ts +16 -2
  8. package/dist/components/FlintAutocomplete.d.ts +22 -5
  9. package/dist/components/FlintAvatar.d.ts +13 -2
  10. package/dist/components/FlintBackdrop.d.ts +19 -5
  11. package/dist/components/FlintBadge.d.ts +18 -2
  12. package/dist/components/FlintBottomNavigation.d.ts +16 -5
  13. package/dist/components/FlintBottomNavigationAction.d.ts +17 -2
  14. package/dist/components/FlintBox.d.ts +67 -5
  15. package/dist/components/FlintBreadcrumbs.d.ts +18 -2
  16. package/dist/components/FlintButton.d.ts +11 -2
  17. package/dist/components/FlintButtonGroup.d.ts +3 -2
  18. package/dist/components/FlintCard.d.ts +5 -2
  19. package/dist/components/FlintCardActionArea.d.ts +3 -2
  20. package/dist/components/FlintCardActions.d.ts +3 -2
  21. package/dist/components/FlintCardContent.d.ts +3 -2
  22. package/dist/components/FlintCardHeader.d.ts +12 -2
  23. package/dist/components/FlintCardMedia.d.ts +6 -2
  24. package/dist/components/FlintCarousel.d.ts +24 -5
  25. package/dist/components/FlintCarouselContent.d.ts +9 -2
  26. package/dist/components/FlintCarouselItem.d.ts +3 -2
  27. package/dist/components/FlintCarouselNext.d.ts +12 -2
  28. package/dist/components/FlintCarouselPrevious.d.ts +12 -2
  29. package/dist/components/FlintCheckbox.d.ts +33 -5
  30. package/dist/components/FlintChip.d.ts +29 -6
  31. package/dist/components/FlintCircularProgress.d.ts +18 -2
  32. package/dist/components/FlintCollapsible.d.ts +22 -5
  33. package/dist/components/FlintCollapsibleContent.d.ts +11 -2
  34. package/dist/components/FlintCollapsibleTrigger.d.ts +13 -2
  35. package/dist/components/FlintCommand.d.ts +11 -5
  36. package/dist/components/FlintCommandDialog.d.ts +17 -5
  37. package/dist/components/FlintCommandEmpty.d.ts +9 -2
  38. package/dist/components/FlintCommandGroup.d.ts +11 -2
  39. package/dist/components/FlintCommandInput.d.ts +11 -2
  40. package/dist/components/FlintCommandItem.d.ts +22 -5
  41. package/dist/components/FlintCommandList.d.ts +8 -2
  42. package/dist/components/FlintCommandSeparator.d.ts +6 -2
  43. package/dist/components/FlintCommandShortcut.d.ts +9 -2
  44. package/dist/components/FlintContainer.d.ts +9 -2
  45. package/dist/components/FlintCopyButton.d.ts +32 -6
  46. package/dist/components/FlintDateField.d.ts +34 -6
  47. package/dist/components/FlintDatePicker.d.ts +35 -5
  48. package/dist/components/FlintDatePickerCalendar.d.ts +20 -5
  49. package/dist/components/FlintDateRangeCalendar.d.ts +17 -5
  50. package/dist/components/FlintDateRangePicker.d.ts +36 -5
  51. package/dist/components/FlintDesktopTimePicker.d.ts +29 -5
  52. package/dist/components/FlintDialog.d.ts +23 -5
  53. package/dist/components/FlintDialogActions.d.ts +9 -2
  54. package/dist/components/FlintDialogContent.d.ts +6 -2
  55. package/dist/components/FlintDialogContentText.d.ts +6 -2
  56. package/dist/components/FlintDialogTitle.d.ts +7 -2
  57. package/dist/components/FlintDigitalClock.d.ts +17 -5
  58. package/dist/components/FlintDivider.d.ts +16 -2
  59. package/dist/components/FlintDrawer.d.ts +27 -5
  60. package/dist/components/FlintEmpty.d.ts +10 -2
  61. package/dist/components/FlintEmptyContent.d.ts +8 -2
  62. package/dist/components/FlintEmptyDescription.d.ts +8 -2
  63. package/dist/components/FlintEmptyHeader.d.ts +8 -2
  64. package/dist/components/FlintEmptyMedia.d.ts +10 -2
  65. package/dist/components/FlintEmptyTitle.d.ts +8 -2
  66. package/dist/components/FlintFab.d.ts +15 -2
  67. package/dist/components/FlintFormatDate.d.ts +39 -2
  68. package/dist/components/FlintFormatNumber.d.ts +39 -2
  69. package/dist/components/FlintGrid.d.ts +35 -2
  70. package/dist/components/FlintHoverCard.d.ts +13 -2
  71. package/dist/components/FlintHoverCardContent.d.ts +15 -2
  72. package/dist/components/FlintHoverCardTrigger.d.ts +9 -2
  73. package/dist/components/FlintImageComparer.d.ts +19 -5
  74. package/dist/components/FlintImageList.d.ts +19 -2
  75. package/dist/components/FlintImageListItem.d.ts +21 -2
  76. package/dist/components/FlintImageListItemBar.d.ts +12 -2
  77. package/dist/components/FlintInput.d.ts +44 -6
  78. package/dist/components/FlintInputOtp.d.ts +36 -6
  79. package/dist/components/FlintInputOtpGroup.d.ts +9 -2
  80. package/dist/components/FlintInputOtpSeparator.d.ts +7 -2
  81. package/dist/components/FlintInputOtpSlot.d.ts +15 -2
  82. package/dist/components/FlintItem.d.ts +15 -2
  83. package/dist/components/FlintItemActions.d.ts +9 -2
  84. package/dist/components/FlintItemContent.d.ts +8 -2
  85. package/dist/components/FlintItemDescription.d.ts +8 -2
  86. package/dist/components/FlintItemFooter.d.ts +10 -2
  87. package/dist/components/FlintItemGroup.d.ts +8 -2
  88. package/dist/components/FlintItemHeader.d.ts +10 -2
  89. package/dist/components/FlintItemMedia.d.ts +10 -2
  90. package/dist/components/FlintItemSeparator.d.ts +6 -2
  91. package/dist/components/FlintItemTitle.d.ts +8 -2
  92. package/dist/components/FlintKbd.d.ts +15 -2
  93. package/dist/components/FlintKbdGroup.d.ts +9 -2
  94. package/dist/components/FlintLinearProgress.d.ts +16 -2
  95. package/dist/components/FlintLink.d.ts +27 -2
  96. package/dist/components/FlintList.d.ts +10 -2
  97. package/dist/components/FlintListItem.d.ts +6 -2
  98. package/dist/components/FlintListItemAvatar.d.ts +6 -2
  99. package/dist/components/FlintListItemButton.d.ts +10 -2
  100. package/dist/components/FlintListItemIcon.d.ts +6 -2
  101. package/dist/components/FlintListItemText.d.ts +10 -2
  102. package/dist/components/FlintListSubheader.d.ts +6 -2
  103. package/dist/components/FlintMenu.d.ts +24 -5
  104. package/dist/components/FlintMenuDivider.d.ts +6 -2
  105. package/dist/components/FlintMenuGroup.d.ts +11 -2
  106. package/dist/components/FlintMenuItem.d.ts +23 -5
  107. package/dist/components/FlintMenubar.d.ts +11 -2
  108. package/dist/components/FlintMenubarCheckboxItem.d.ts +20 -5
  109. package/dist/components/FlintMenubarContent.d.ts +13 -5
  110. package/dist/components/FlintMenubarGroup.d.ts +8 -2
  111. package/dist/components/FlintMenubarItem.d.ts +21 -5
  112. package/dist/components/FlintMenubarMenu.d.ts +8 -2
  113. package/dist/components/FlintMenubarRadioGroup.d.ts +13 -5
  114. package/dist/components/FlintMenubarRadioItem.d.ts +18 -5
  115. package/dist/components/FlintMenubarSeparator.d.ts +6 -2
  116. package/dist/components/FlintMenubarShortcut.d.ts +8 -2
  117. package/dist/components/FlintMenubarSub.d.ts +7 -2
  118. package/dist/components/FlintMenubarSubContent.d.ts +9 -2
  119. package/dist/components/FlintMenubarSubTrigger.d.ts +14 -2
  120. package/dist/components/FlintMenubarTrigger.d.ts +12 -2
  121. package/dist/components/FlintMobileStepper.d.ts +21 -2
  122. package/dist/components/FlintMobileTimePicker.d.ts +24 -5
  123. package/dist/components/FlintMultiSectionDigitalClock.d.ts +17 -5
  124. package/dist/components/FlintNavigationMenu.d.ts +8 -2
  125. package/dist/components/FlintNavigationMenuContent.d.ts +20 -5
  126. package/dist/components/FlintNavigationMenuItem.d.ts +18 -6
  127. package/dist/components/FlintNavigationMenuLink.d.ts +16 -2
  128. package/dist/components/FlintNavigationMenuList.d.ts +12 -2
  129. package/dist/components/FlintNavigationMenuTrigger.d.ts +12 -5
  130. package/dist/components/FlintPagination.d.ts +48 -5
  131. package/dist/components/FlintPaper.d.ts +13 -2
  132. package/dist/components/FlintRadio.d.ts +25 -5
  133. package/dist/components/FlintRadioGroup.d.ts +27 -5
  134. package/dist/components/FlintRangeSlider.d.ts +23 -5
  135. package/dist/components/FlintRating.d.ts +31 -5
  136. package/dist/components/FlintRelativeTime.d.ts +17 -2
  137. package/dist/components/FlintResizableGroup.d.ts +16 -7
  138. package/dist/components/FlintResizableHandle.d.ts +8 -2
  139. package/dist/components/FlintResizablePanel.d.ts +15 -2
  140. package/dist/components/FlintRichTreeView.d.ts +50 -8
  141. package/dist/components/FlintScrollArea.d.ts +15 -2
  142. package/dist/components/FlintScrollBar.d.ts +11 -2
  143. package/dist/components/FlintSelect.d.ts +40 -5
  144. package/dist/components/FlintSimpleTreeView.d.ts +28 -6
  145. package/dist/components/FlintSingleInputDateRangeField.d.ts +31 -6
  146. package/dist/components/FlintSkeleton.d.ts +18 -2
  147. package/dist/components/FlintSlider.d.ts +35 -5
  148. package/dist/components/FlintSnackbar.d.ts +36 -6
  149. package/dist/components/FlintSpeedDial.d.ts +28 -2
  150. package/dist/components/FlintSpeedDialAction.d.ts +24 -5
  151. package/dist/components/FlintSplitPanel.d.ts +31 -5
  152. package/dist/components/FlintStack.d.ts +13 -2
  153. package/dist/components/FlintStaticTimePicker.d.ts +14 -5
  154. package/dist/components/FlintStep.d.ts +39 -5
  155. package/dist/components/FlintStepConnector.d.ts +7 -2
  156. package/dist/components/FlintStepContent.d.ts +10 -2
  157. package/dist/components/FlintStepLabel.d.ts +15 -2
  158. package/dist/components/FlintStepper.d.ts +20 -5
  159. package/dist/components/FlintSwitch.d.ts +33 -5
  160. package/dist/components/FlintTab.d.ts +23 -5
  161. package/dist/components/FlintTabList.d.ts +14 -5
  162. package/dist/components/FlintTabPanel.d.ts +5 -2
  163. package/dist/components/FlintTable.d.ts +8 -2
  164. package/dist/components/FlintTableBody.d.ts +8 -2
  165. package/dist/components/FlintTableCell.d.ts +12 -2
  166. package/dist/components/FlintTableContainer.d.ts +10 -2
  167. package/dist/components/FlintTableFooter.d.ts +6 -2
  168. package/dist/components/FlintTableHead.d.ts +6 -2
  169. package/dist/components/FlintTablePagination.d.ts +32 -6
  170. package/dist/components/FlintTableRow.d.ts +10 -2
  171. package/dist/components/FlintTableSortLabel.d.ts +7 -2
  172. package/dist/components/FlintTabs.d.ts +27 -5
  173. package/dist/components/FlintTextField.d.ts +36 -6
  174. package/dist/components/FlintTextarea.d.ts +52 -6
  175. package/dist/components/FlintTimeClock.d.ts +21 -6
  176. package/dist/components/FlintTimeField.d.ts +31 -6
  177. package/dist/components/FlintTimePicker.d.ts +26 -5
  178. package/dist/components/FlintToaster.d.ts +13 -2
  179. package/dist/components/FlintToggle.d.ts +27 -5
  180. package/dist/components/FlintToggleButton.d.ts +20 -5
  181. package/dist/components/FlintToggleButtonGroup.d.ts +17 -5
  182. package/dist/components/FlintTooltip.d.ts +19 -2
  183. package/dist/components/FlintTransferList.d.ts +25 -5
  184. package/dist/components/FlintTreeItem.d.ts +34 -6
  185. package/dist/components/FlintTypography.d.ts +22 -2
  186. package/dist/components/FlintVisuallyHidden.d.ts +11 -2
  187. package/package.json +2 -2
@@ -1,7 +1,27 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintRadio as FlintRadioElement } from '@getufy/flint-ui/radio/flint-radio';
4
- export declare const FlintRadio: import("@lit/react").ReactWebComponent<FlintRadioElement, {
5
- onFlintRadioSelect: EventName<CustomEvent>;
6
- }>;
7
- export type FlintRadioProps = React.ComponentProps<typeof FlintRadio>;
3
+ export interface FlintRadioSelectDetail {
4
+ value: string;
5
+ }
6
+ /**
7
+ * Radio: a single radio button within a radio group.
8
+ */
9
+ export interface FlintRadioProps extends React.HTMLAttributes<FlintRadioElement> {
10
+ /** Whether this radio is selected. */
11
+ checked?: boolean;
12
+ /** Disables this radio and prevents interaction. */
13
+ disabled?: boolean;
14
+ /** Whether this radio is required. */
15
+ required?: boolean;
16
+ /** Form field name (usually set by the parent group). */
17
+ name?: string;
18
+ /** Value associated with this radio option. */
19
+ value?: string;
20
+ /** Visible label text for this radio option. */
21
+ label?: string;
22
+ /** Size of the radio button. */
23
+ size?: FlintRadioElement['size'];
24
+ /** Fired when this radio is selected. */
25
+ onFlintRadioSelect?: (event: CustomEvent<FlintRadioSelectDetail>) => void;
26
+ }
27
+ export declare const FlintRadio: React.ForwardRefExoticComponent<FlintRadioProps & React.RefAttributes<FlintRadioElement>>;
@@ -1,7 +1,29 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintRadioGroup as FlintRadioGroupElement } from '@getufy/flint-ui/radio/flint-radio';
4
- export declare const FlintRadioGroup: import("@lit/react").ReactWebComponent<FlintRadioGroupElement, {
5
- onFlintRadioGroupChange: EventName<CustomEvent>;
6
- }>;
7
- export type FlintRadioGroupProps = React.ComponentProps<typeof FlintRadioGroup>;
3
+ export interface FlintRadioGroupChangeDetail {
4
+ value: string;
5
+ }
6
+ /**
7
+ * Radio Group: manages a set of radio buttons with single selection.
8
+ */
9
+ export interface FlintRadioGroupProps extends Omit<React.HTMLAttributes<FlintRadioGroupElement>, 'defaultValue'> {
10
+ /** Accessible label for the radio group. */
11
+ label?: string;
12
+ /** Form field name for all radios in the group. */
13
+ name?: string;
14
+ /** Currently selected radio value. */
15
+ value?: string;
16
+ /** Initial value for uncontrolled usage. */
17
+ defaultValue?: string;
18
+ /** Disables all radios in the group. */
19
+ disabled?: boolean;
20
+ /** Marks the group as required for form validation. */
21
+ required?: boolean;
22
+ /** Layout direction of the radio buttons. */
23
+ orientation?: FlintRadioGroupElement['orientation'];
24
+ /** Size of the radio buttons. */
25
+ size?: FlintRadioGroupElement['size'];
26
+ /** Fired when the selected radio value changes. */
27
+ onFlintRadioGroupChange?: (event: CustomEvent<FlintRadioGroupChangeDetail>) => void;
28
+ }
29
+ export declare const FlintRadioGroup: React.ForwardRefExoticComponent<FlintRadioGroupProps & React.RefAttributes<FlintRadioGroupElement>>;
@@ -1,7 +1,25 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintRangeSlider as FlintRangeSliderElement } from '@getufy/flint-ui/flint-range-slider/flint-range-slider';
4
- export declare const FlintRangeSlider: import("@lit/react").ReactWebComponent<FlintRangeSliderElement, {
5
- onFlintRangeSliderChange: EventName<CustomEvent>;
6
- }>;
7
- export type FlintRangeSliderProps = React.ComponentProps<typeof FlintRangeSlider>;
3
+ /**
4
+ * A range slider that lets users select a start and end value within a range.
5
+ */
6
+ export interface FlintRangeSliderProps extends React.HTMLAttributes<FlintRangeSliderElement> {
7
+ value?: FlintRangeSliderElement['value'];
8
+ /** Minimum allowed value. */
9
+ min?: number;
10
+ /** Maximum allowed value. */
11
+ max?: number;
12
+ /** Step increment between values. */
13
+ step?: number;
14
+ /** Visual size of the track and thumbs. */
15
+ size?: 'sm' | 'md' | 'lg';
16
+ /** Whether the slider is disabled. */
17
+ disabled?: boolean;
18
+ /** Label text displayed above the slider. */
19
+ label?: string;
20
+ /** Whether to display the current start and end values. */
21
+ showValue?: boolean;
22
+ /** When either thumb moves. detail: { value: [number, number] } */
23
+ onFlintRangeSliderChange?: (event: CustomEvent) => void;
24
+ }
25
+ export declare const FlintRangeSlider: React.ForwardRefExoticComponent<FlintRangeSliderProps & React.RefAttributes<FlintRangeSliderElement>>;
@@ -1,7 +1,33 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintRating as FlintRatingElement } from '@getufy/flint-ui/rating/flint-rating';
4
- export declare const FlintRating: import("@lit/react").ReactWebComponent<FlintRatingElement, {
5
- onFlintRatingChange: EventName<CustomEvent>;
6
- }>;
7
- export type FlintRatingProps = React.ComponentProps<typeof FlintRating>;
3
+ export interface FlintRatingChangeDetail {
4
+ value: number;
5
+ }
6
+ /**
7
+ * Rating: a star-based rating input.
8
+ */
9
+ export interface FlintRatingProps extends Omit<React.HTMLAttributes<FlintRatingElement>, 'defaultValue'> {
10
+ /** Current rating value. */
11
+ value?: number;
12
+ /** Maximum number of stars. */
13
+ max?: number;
14
+ /** Whether the rating is read-only. */
15
+ readonly?: boolean;
16
+ /** Whether the rating is disabled. */
17
+ disabled?: boolean;
18
+ /** Whether clicking the current value clears the rating. */
19
+ clearable?: boolean;
20
+ /** Initial rating value for uncontrolled mode. */
21
+ defaultValue?: number;
22
+ /** Size of the rating stars. */
23
+ size?: 'sm' | 'md' | 'lg';
24
+ /** Form field name for the hidden input. */
25
+ name?: string;
26
+ /** Accessible label for the rating group. */
27
+ label?: string;
28
+ /** Rating step precision (1 for full stars, 0.5 for half stars). */
29
+ precision?: FlintRatingElement['precision'];
30
+ /** Fired when the rating value changes. */
31
+ onFlintRatingChange?: (event: CustomEvent<FlintRatingChangeDetail>) => void;
32
+ }
33
+ export declare const FlintRating: React.ForwardRefExoticComponent<FlintRatingProps & React.RefAttributes<FlintRatingElement>>;
@@ -1,4 +1,19 @@
1
1
  import React from 'react';
2
2
  import { FlintRelativeTime as FlintRelativeTimeElement } from '@getufy/flint-ui/relative-time/flint-relative-time';
3
- export declare const FlintRelativeTime: import("@lit/react").ReactWebComponent<FlintRelativeTimeElement, {}>;
4
- export type FlintRelativeTimeProps = React.ComponentProps<typeof FlintRelativeTime>;
3
+ /**
4
+ * Displays a localized time phrase relative to the current date and time.
5
+ Uses the browser's `Intl.RelativeTimeFormat` API — no language packs needed.
6
+ */
7
+ export interface FlintRelativeTimeProps extends Omit<React.HTMLAttributes<FlintRelativeTimeElement>, 'lang'> {
8
+ /** The date to calculate time from. Accepts a Date, ISO string, or Unix ms timestamp. Defaults to the current date/time. */
9
+ date?: FlintRelativeTimeElement['date'];
10
+ /** The formatting style to use. */
11
+ format?: 'long' | 'short' | 'narrow';
12
+ /** When `auto`, values such as "yesterday" and "tomorrow" will be shown when */
13
+ numeric?: 'always' | 'auto';
14
+ /** Keep the displayed value up to date as time passes. */
15
+ sync?: boolean;
16
+ /** BCP 47 language tag for formatting (e.g. "en", "de", "ja"). Inherits from the document when unset. */
17
+ lang?: string;
18
+ }
19
+ export declare const FlintRelativeTime: React.ForwardRefExoticComponent<FlintRelativeTimeProps & React.RefAttributes<FlintRelativeTimeElement>>;
@@ -1,9 +1,18 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintResizableGroup as FlintResizableGroupElement } from '@getufy/flint-ui/resizable/flint-resizable';
4
- export declare const FlintResizableGroup: import("@lit/react").ReactWebComponent<FlintResizableGroupElement, {
5
- onFlintResizableCollapse: EventName<CustomEvent>;
6
- onFlintResizableExpand: EventName<CustomEvent>;
7
- onFlintResizableChange: EventName<CustomEvent>;
8
- }>;
9
- export type FlintResizableGroupProps = React.ComponentProps<typeof FlintResizableGroup>;
3
+ /**
4
+ * Resizable Group: a container that enables resizable panels with draggable handles.
5
+ */
6
+ export interface FlintResizableGroupProps extends Omit<React.HTMLAttributes<FlintResizableGroupElement>, 'dir'> {
7
+ /** Layout direction — 'horizontal' (row) or 'vertical' (column). */
8
+ orientation?: 'horizontal' | 'vertical';
9
+ /** Text direction for RTL support. */
10
+ dir?: 'ltr' | 'rtl';
11
+ /** Fired when a panel is collapsed. */
12
+ onFlintResizableCollapse?: (event: CustomEvent) => void;
13
+ /** Fired when a collapsed panel is expanded. */
14
+ onFlintResizableExpand?: (event: CustomEvent) => void;
15
+ /** Fired when panel sizes change via drag or keyboard. */
16
+ onFlintResizableChange?: (event: CustomEvent) => void;
17
+ }
18
+ export declare const FlintResizableGroup: React.ForwardRefExoticComponent<FlintResizableGroupProps & React.RefAttributes<FlintResizableGroupElement>>;
@@ -1,4 +1,10 @@
1
1
  import React from 'react';
2
2
  import { FlintResizableHandle as FlintResizableHandleElement } from '@getufy/flint-ui/resizable/flint-resizable';
3
- export declare const FlintResizableHandle: import("@lit/react").ReactWebComponent<FlintResizableHandleElement, {}>;
4
- export type FlintResizableHandleProps = React.ComponentProps<typeof FlintResizableHandle>;
3
+ export interface FlintResizableHandleProps extends React.HTMLAttributes<FlintResizableHandleElement> {
4
+ /** Show a visible drag grip. */
5
+ withHandle?: boolean;
6
+ /** Disable interaction. */
7
+ disabled?: boolean;
8
+ orientation?: 'horizontal' | 'vertical';
9
+ }
10
+ export declare const FlintResizableHandle: React.ForwardRefExoticComponent<FlintResizableHandleProps & React.RefAttributes<FlintResizableHandleElement>>;
@@ -1,4 +1,17 @@
1
1
  import React from 'react';
2
2
  import { FlintResizablePanel as FlintResizablePanelElement } from '@getufy/flint-ui/resizable/flint-resizable';
3
- export declare const FlintResizablePanel: import("@lit/react").ReactWebComponent<FlintResizablePanelElement, {}>;
4
- export type FlintResizablePanelProps = React.ComponentProps<typeof FlintResizablePanel>;
3
+ export interface FlintResizablePanelProps extends React.HTMLAttributes<FlintResizablePanelElement> {
4
+ /** Current size as percentage (0–100). */
5
+ size?: number;
6
+ /** Default size — applied once on first update. */
7
+ defaultSize?: number;
8
+ /** Minimum size percentage (0–100). */
9
+ minSize?: number;
10
+ /** Maximum size percentage (0–100). */
11
+ maxSize?: number;
12
+ /** Whether the panel can collapse to zero size via drag. */
13
+ collapsible?: boolean;
14
+ /** Whether the panel is currently collapsed via the programmatic API. */
15
+ collapsed?: boolean;
16
+ }
17
+ export declare const FlintResizablePanel: React.ForwardRefExoticComponent<FlintResizablePanelProps & React.RefAttributes<FlintResizablePanelElement>>;
@@ -1,10 +1,52 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintRichTreeView as FlintRichTreeViewElement } from '@getufy/flint-ui/tree-view/flint-rich-tree-view';
4
- export declare const FlintRichTreeView: import("@lit/react").ReactWebComponent<FlintRichTreeViewElement, {
5
- onFlintTreeViewError: EventName<CustomEvent>;
6
- onFlintTreeViewExpandedItemsChange: EventName<CustomEvent>;
7
- onFlintTreeViewItemClick: EventName<CustomEvent>;
8
- onFlintTreeViewItemPositionChange: EventName<CustomEvent>;
9
- }>;
10
- export type FlintRichTreeViewProps = React.ComponentProps<typeof FlintRichTreeView>;
3
+ export interface FlintTreeViewExpandedItemsChangeDetail {
4
+ expandedItems: string[];
5
+ }
6
+ /**
7
+ * A data-driven tree view that renders its structure from an `items` array.
8
+ */
9
+ export interface FlintRichTreeViewProps extends React.HTMLAttributes<FlintRichTreeViewElement> {
10
+ /** Array of item data objects to render in the tree. */
11
+ items?: FlintRichTreeViewElement['items'];
12
+ /** Optional lazy-load data source. When provided, children are fetched */
13
+ dataSource?: FlintRichTreeViewElement['dataSource'];
14
+ /** Returns the unique string ID for an item. Defaults to `item.id`. */
15
+ getItemId?: FlintRichTreeViewElement['getItemId'];
16
+ /** Returns the display label for an item. Defaults to `item.label`. */
17
+ getItemLabel?: FlintRichTreeViewElement['getItemLabel'];
18
+ /** Returns the children array for an item. Defaults to `item.children`. */
19
+ getItemChildren?: FlintRichTreeViewElement['getItemChildren'];
20
+ /** Returns `true` if the given item should be disabled. */
21
+ isItemDisabled?: FlintRichTreeViewElement['isItemDisabled'];
22
+ /** When `true`, disabled items can receive keyboard focus. */
23
+ disabledItemsFocusable?: boolean;
24
+ /** Callback invoked when a tree item is clicked or activated via keyboard. */
25
+ onItemClick?: FlintRichTreeViewElement['onItemClick'];
26
+ /** What interaction triggers expand/collapse. */
27
+ expansionTrigger?: 'content' | 'iconContainer';
28
+ /** **Controlled mode.** The set of item IDs that should be expanded. */
29
+ expandedItems?: string[];
30
+ /** **Uncontrolled mode.** Item IDs to expand on initial mount. */
31
+ defaultExpandedItems?: string[];
32
+ /** Callback fired when the user toggles an item's expansion. */
33
+ onExpandedItemsChange?: FlintRichTreeViewElement['onExpandedItemsChange'];
34
+ /** When `true`, enables drag-and-drop reordering of items. */
35
+ itemsReordering?: boolean;
36
+ /** Function that determines if a specific item can be reordered. */
37
+ isItemReorderable?: FlintRichTreeViewElement['isItemReorderable'];
38
+ /** Function that determines if an item can be moved to a specific target position. */
39
+ canMoveItemToNewPosition?: FlintRichTreeViewElement['canMoveItemToNewPosition'];
40
+ /** Whether to use a drag handle icon for reordering. */
41
+ itemsReorderingHandle?: boolean;
42
+ /** Fired when an item's position changes via reordering. */
43
+ onItemPositionChange?: FlintRichTreeViewElement['onItemPositionChange'];
44
+ /** When a lazy-loading dataSource call fails (detail: { message, id, error }) */
45
+ onFlintTreeViewError?: (event: CustomEvent) => void;
46
+ /** When the expanded set changes (detail: { expandedItems }) */
47
+ onFlintTreeViewExpandedItemsChange?: (event: CustomEvent<FlintTreeViewExpandedItemsChangeDetail>) => void;
48
+ /** When a tree item is activated (detail: { itemId }) */
49
+ onFlintTreeViewItemClick?: (event: CustomEvent) => void;
50
+ onFlintTreeViewItemPositionChange?: (event: CustomEvent) => void;
51
+ }
52
+ export declare const FlintRichTreeView: React.ForwardRefExoticComponent<FlintRichTreeViewProps & React.RefAttributes<FlintRichTreeViewElement>>;
@@ -1,4 +1,17 @@
1
1
  import React from 'react';
2
2
  import { FlintScrollArea as FlintScrollAreaElement } from '@getufy/flint-ui/scroll-area/flint-scroll-area';
3
- export declare const FlintScrollArea: import("@lit/react").ReactWebComponent<FlintScrollAreaElement, {}>;
4
- export type FlintScrollAreaProps = React.ComponentProps<typeof FlintScrollArea>;
3
+ /**
4
+ * Augments native scroll with custom, cross-browser overlay scrollbars.
5
+ Native scrollbars are hidden; lightweight custom thumbs are rendered in
6
+ shadow DOM and synced to the viewport via scroll + ResizeObserver events.
7
+ *
8
+ * @slot - Scrollable content.
9
+ * @slot scrollbar - Optional explicit `flint-scroll-bar` elements (e.g. horizontal).
10
+ */
11
+ export interface FlintScrollAreaProps extends Omit<React.HTMLAttributes<FlintScrollAreaElement>, 'dir'> {
12
+ /** Controls when the scrollbars appear. */
13
+ type?: 'auto' | 'always' | 'scroll' | 'hover';
14
+ /** Text direction. `'rtl'` flips the vertical bar to the left side. */
15
+ dir?: 'ltr' | 'rtl';
16
+ }
17
+ export declare const FlintScrollArea: React.ForwardRefExoticComponent<FlintScrollAreaProps & React.RefAttributes<FlintScrollAreaElement>>;
@@ -1,4 +1,13 @@
1
1
  import React from 'react';
2
2
  import { FlintScrollBar as FlintScrollBarElement } from '@getufy/flint-ui/scroll-area/flint-scroll-area';
3
- export declare const FlintScrollBar: import("@lit/react").ReactWebComponent<FlintScrollBarElement, {}>;
4
- export type FlintScrollBarProps = React.ComponentProps<typeof FlintScrollBar>;
3
+ /**
4
+ * Custom overlay scrollbar. Place inside `flint-scroll-area` with
5
+ `slot="scrollbar"` for an explicit horizontal or second-axis bar.
6
+ *
7
+ * @slot — none (fully shadow DOM)
8
+ */
9
+ export interface FlintScrollBarProps extends React.HTMLAttributes<FlintScrollBarElement> {
10
+ /** Which axis this scrollbar controls. Reflects to attribute. */
11
+ orientation?: 'vertical' | 'horizontal';
12
+ }
13
+ export declare const FlintScrollBar: React.ForwardRefExoticComponent<FlintScrollBarProps & React.RefAttributes<FlintScrollBarElement>>;
@@ -1,7 +1,42 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintSelect as FlintSelectElement } from '@getufy/flint-ui/select/flint-select';
4
- export declare const FlintSelect: import("@lit/react").ReactWebComponent<FlintSelectElement, {
5
- onFlintSelectChange: EventName<CustomEvent>;
6
- }>;
7
- export type FlintSelectProps = React.ComponentProps<typeof FlintSelect>;
3
+ export interface FlintSelectChangeDetail {
4
+ value: string[];
5
+ }
6
+ /**
7
+ * A select component for choosing one or multiple options from a list.
8
+ *
9
+ * @slot icon - Optional icon shown at the start of the trigger.
10
+ * @slot error-message - Optional slot for error message content (use error-message prop for simple text).
11
+ */
12
+ export interface FlintSelectProps extends Omit<React.HTMLAttributes<FlintSelectElement>, 'defaultValue'> {
13
+ /** Label text displayed above the select. */
14
+ label?: string;
15
+ /** Array of selectable options. */
16
+ options?: FlintSelectElement['options'];
17
+ /** Currently selected value(s). */
18
+ value?: string[];
19
+ /** Allow multiple selections. */
20
+ multiple?: boolean;
21
+ /** Placeholder text when no value is selected. */
22
+ placeholder?: string;
23
+ /** Disables the select and prevents interaction. */
24
+ disabled?: boolean;
25
+ /** Makes the select read-only. */
26
+ readonly?: boolean;
27
+ /** Marks the select as required for form validation. */
28
+ required?: boolean;
29
+ /** Whether the select is in an error state. */
30
+ error?: boolean;
31
+ /** Error message displayed below the select. */
32
+ errorMessage?: string;
33
+ /** Form field name used when submitting form data. */
34
+ name?: string;
35
+ /** Size variant of the select. */
36
+ size?: FlintSelectElement['size'];
37
+ /** Sets the initial value in uncontrolled mode (single-select only). */
38
+ defaultValue?: string;
39
+ /** Dispatched when the selection changes. detail: { value: string | null } (single) or { value: string[] } (multiple) */
40
+ onFlintSelectChange?: (event: CustomEvent<FlintSelectChangeDetail>) => void;
41
+ }
42
+ export declare const FlintSelect: React.ForwardRefExoticComponent<FlintSelectProps & React.RefAttributes<FlintSelectElement>>;
@@ -1,8 +1,30 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintSimpleTreeView as FlintSimpleTreeViewElement } from '@getufy/flint-ui/tree-view/flint-simple-tree-view';
4
- export declare const FlintSimpleTreeView: import("@lit/react").ReactWebComponent<FlintSimpleTreeViewElement, {
5
- onFlintTreeViewExpandedItemsChange: EventName<CustomEvent>;
6
- onFlintTreeViewItemClick: EventName<CustomEvent>;
7
- }>;
8
- export type FlintSimpleTreeViewProps = React.ComponentProps<typeof FlintSimpleTreeView>;
3
+ export interface FlintTreeViewExpandedItemsChangeDetail {
4
+ expandedItems: string[];
5
+ }
6
+ /**
7
+ * A simple tree-view container that manages keyboard navigation, focus,
8
+ and item selection/expansion for nested `flint-tree-item` elements.
9
+ *
10
+ * @slot - Place `flint-tree-item` elements here.
11
+ */
12
+ export interface FlintSimpleTreeViewProps extends React.HTMLAttributes<FlintSimpleTreeViewElement> {
13
+ /** When `true`, disabled items can receive keyboard focus. */
14
+ disabledItemsFocusable?: boolean;
15
+ /** Callback invoked when a tree item is clicked or activated via keyboard. */
16
+ onItemClick?: FlintSimpleTreeViewElement['onItemClick'];
17
+ /** **Controlled mode.** The set of item IDs that should be expanded. */
18
+ expandedItems?: string[];
19
+ /** **Uncontrolled mode.** Item IDs to expand on initial mount. */
20
+ defaultExpandedItems?: string[];
21
+ /** Callback fired when the user toggles an item's expansion. */
22
+ onExpandedItemsChange?: FlintSimpleTreeViewElement['onExpandedItemsChange'];
23
+ /** What interaction triggers expand/collapse. */
24
+ expansionTrigger?: 'content' | 'iconContainer';
25
+ /** When the expanded set changes (detail: { expandedItems }) */
26
+ onFlintTreeViewExpandedItemsChange?: (event: CustomEvent<FlintTreeViewExpandedItemsChangeDetail>) => void;
27
+ /** When a tree item is activated (detail: { itemId }) */
28
+ onFlintTreeViewItemClick?: (event: CustomEvent) => void;
29
+ }
30
+ export declare const FlintSimpleTreeView: React.ForwardRefExoticComponent<FlintSimpleTreeViewProps & React.RefAttributes<FlintSimpleTreeViewElement>>;
@@ -1,8 +1,33 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintSingleInputDateRangeField as FlintSingleInputDateRangeFieldElement } from '@getufy/flint-ui/date-range-picker/flint-single-input-date-range-field';
4
- export declare const FlintSingleInputDateRangeField: import("@lit/react").ReactWebComponent<FlintSingleInputDateRangeFieldElement, {
5
- onFlintDateRangePickerClear: EventName<CustomEvent>;
6
- onFlintDateRangePickerChange: EventName<CustomEvent>;
7
- }>;
8
- export type FlintSingleInputDateRangeFieldProps = React.ComponentProps<typeof FlintSingleInputDateRangeField>;
3
+ /**
4
+ * A single-input field for entering a date range (start → end).
5
+ Renders as "MM/DD/YYYY – MM/DD/YYYY" with six independently editable segments.
6
+ */
7
+ export interface FlintSingleInputDateRangeFieldProps extends React.HTMLAttributes<FlintSingleInputDateRangeFieldElement> {
8
+ /** Controlled range value [startISO, endISO]. */
9
+ value?: FlintSingleInputDateRangeFieldElement['value'];
10
+ /** Field label text. */
11
+ label?: string;
12
+ /** Form field name used for hidden inputs. */
13
+ name?: string;
14
+ /** Minimum allowed date (ISO YYYY-MM-DD). */
15
+ min?: string;
16
+ /** Maximum allowed date (ISO YYYY-MM-DD). */
17
+ max?: string;
18
+ /** Disables the field 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 all segments are cleared */
29
+ onFlintDateRangePickerClear?: (event: CustomEvent) => void;
30
+ /** { detail: { value: DateRange } } when both dates are complete */
31
+ onFlintDateRangePickerChange?: (event: CustomEvent) => void;
32
+ }
33
+ export declare const FlintSingleInputDateRangeField: React.ForwardRefExoticComponent<FlintSingleInputDateRangeFieldProps & React.RefAttributes<FlintSingleInputDateRangeFieldElement>>;
@@ -1,4 +1,20 @@
1
1
  import React from 'react';
2
2
  import { FlintSkeleton as FlintSkeletonElement } from '@getufy/flint-ui/skeleton/flint-skeleton';
3
- export declare const FlintSkeleton: import("@lit/react").ReactWebComponent<FlintSkeletonElement, {}>;
4
- export type FlintSkeletonProps = React.ComponentProps<typeof FlintSkeleton>;
3
+ /**
4
+ * Skeletons display a placeholder preview of content before data gets loaded.
5
+ */
6
+ export interface FlintSkeletonProps extends React.HTMLAttributes<FlintSkeletonElement> {
7
+ /** If true, applies dark-theme styles regardless of OS preference. */
8
+ dark?: boolean;
9
+ /** The animation type. */
10
+ animation?: 'pulse' | 'wave' | 'none';
11
+ /** The shape of the skeleton. */
12
+ variant?: 'text' | 'circular' | 'rectangular' | 'rounded';
13
+ /** The width of the skeleton. Accepts any CSS length value (e.g. '200px', '50%'). */
14
+ width?: string;
15
+ /** The height of the skeleton. Accepts any CSS length value. */
16
+ height?: string;
17
+ /** Accessible label announced by screen readers. Set to '' to silence. */
18
+ label?: string;
19
+ }
20
+ export declare const FlintSkeleton: React.ForwardRefExoticComponent<FlintSkeletonProps & React.RefAttributes<FlintSkeletonElement>>;
@@ -1,7 +1,37 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintSlider as FlintSliderElement } from '@getufy/flint-ui/slider/flint-slider';
4
- export declare const FlintSlider: import("@lit/react").ReactWebComponent<FlintSliderElement, {
5
- onFlintSliderChange: EventName<CustomEvent>;
6
- }>;
7
- export type FlintSliderProps = React.ComponentProps<typeof FlintSlider>;
3
+ export interface FlintSliderChangeDetail {
4
+ value: number;
5
+ }
6
+ /**
7
+ * Slider: a range input for selecting a numeric value.
8
+ */
9
+ export interface FlintSliderProps extends Omit<React.HTMLAttributes<FlintSliderElement>, 'defaultValue'> {
10
+ /** Current slider value. */
11
+ value?: number;
12
+ /** Initial value for uncontrolled usage. */
13
+ defaultValue?: number | undefined;
14
+ /** Minimum allowed value. */
15
+ min?: number;
16
+ /** Maximum allowed value. */
17
+ max?: number;
18
+ /** Step increment between values. */
19
+ step?: number;
20
+ /** Disables the slider and prevents interaction. */
21
+ disabled?: boolean;
22
+ /** Label text displayed above the slider. */
23
+ label?: string;
24
+ /** Whether to display the current value. */
25
+ showValue?: boolean;
26
+ /** Renders the slider vertically. */
27
+ vertical?: boolean;
28
+ /** Size variant of the slider. */
29
+ size?: FlintSliderElement['size'];
30
+ /** Form field name used when submitting form data. */
31
+ name?: string;
32
+ /** Optional formatter: `(value: number) => string`. JS-only prop (not an attribute). */
33
+ formatValue?: FlintSliderElement['formatValue'];
34
+ /** Fired when the slider value changes. */
35
+ onFlintSliderChange?: (event: CustomEvent<FlintSliderChangeDetail>) => void;
36
+ }
37
+ export declare const FlintSlider: React.ForwardRefExoticComponent<FlintSliderProps & React.RefAttributes<FlintSliderElement>>;
@@ -1,8 +1,38 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintSnackbar as FlintSnackbarElement } from '@getufy/flint-ui/snackbar/flint-snackbar';
4
- export declare const FlintSnackbar: import("@lit/react").ReactWebComponent<FlintSnackbarElement, {
5
- onFlintSnackbarOpen: EventName<CustomEvent>;
6
- onFlintSnackbarClose: EventName<CustomEvent>;
7
- }>;
8
- export type FlintSnackbarProps = React.ComponentProps<typeof FlintSnackbar>;
3
+ export interface FlintSnackbarOpenDetail {
4
+ open: boolean;
5
+ }
6
+ export interface FlintSnackbarCloseDetail {
7
+ open: boolean;
8
+ }
9
+ /**
10
+ * Snackbars (also known as toasts) are used for brief notifications.
11
+ They appear temporarily and float above the UI.
12
+ *
13
+ * @slot action - The action to display inside the snackbar.
14
+ * @slot - Optional content to display inside the snackbar, such as a message or a flint-alert.
15
+ */
16
+ export interface FlintSnackbarProps extends React.HTMLAttributes<FlintSnackbarElement> {
17
+ /** Whether the snackbar is open. */
18
+ open?: boolean;
19
+ /** Initial open state for uncontrolled usage. */
20
+ defaultOpen?: boolean;
21
+ /** The message to display (slot fallback). */
22
+ message?: string;
23
+ /** Duration in milliseconds before the snackbar auto-closes. */
24
+ autoHideDuration?: number;
25
+ /** Position of the snackbar. */
26
+ anchorOrigin?: 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
27
+ /** Pause the auto-hide timer while the user hovers over the snackbar. */
28
+ pauseOnHover?: boolean;
29
+ /** Show a dismiss (✕) button. */
30
+ closable?: boolean;
31
+ /** Visual style variant. */
32
+ variant?: 'default' | 'info' | 'success' | 'warning' | 'error';
33
+ /** Fired when the snackbar opens (bubbles, composed). detail: `{ open: true }` */
34
+ onFlintSnackbarOpen?: (event: CustomEvent<FlintSnackbarOpenDetail>) => void;
35
+ /** Fired when the snackbar closes (bubbles, composed). detail: `{ open: false }` */
36
+ onFlintSnackbarClose?: (event: CustomEvent<FlintSnackbarCloseDetail>) => void;
37
+ }
38
+ export declare const FlintSnackbar: React.ForwardRefExoticComponent<FlintSnackbarProps & React.RefAttributes<FlintSnackbarElement>>;
@@ -1,4 +1,30 @@
1
1
  import React from 'react';
2
2
  import { FlintSpeedDial as FlintSpeedDialElement } from '@getufy/flint-ui/speed-dial/flint-speed-dial';
3
- export declare const FlintSpeedDial: import("@lit/react").ReactWebComponent<FlintSpeedDialElement, {}>;
4
- export type FlintSpeedDialProps = React.ComponentProps<typeof FlintSpeedDial>;
3
+ /**
4
+ * Speed Dial — a FAB that reveals 3-6 related actions when pressed.
5
+ *
6
+ * @slot - `flint-speed-dial-action` elements.
7
+ * @slot icon - Icon shown on the FAB when closed (default: + SVG).
8
+ * @slot open-icon - Icon shown on the FAB when open (default: ✕ SVG).
9
+ */
10
+ export interface FlintSpeedDialProps extends Omit<React.HTMLAttributes<FlintSpeedDialElement>, 'hidden'> {
11
+ /** Whether the speed dial is open (controlled). */
12
+ open?: boolean;
13
+ /** Initial open state for uncontrolled usage. Sets `open` once on first render. */
14
+ defaultOpen?: boolean;
15
+ /** Direction in which actions expand from the FAB (default 'up'). */
16
+ direction?: 'up' | 'down' | 'left' | 'right';
17
+ /** Hides the entire speed dial component. */
18
+ hidden?: boolean;
19
+ /** Disables the FAB and prevents opening. */
20
+ disabled?: boolean;
21
+ /** When true, tooltips on all actions are always visible (good for touch/a11y). */
22
+ persistentTooltips?: boolean;
23
+ /** Custom char/text rendered as the ✕ close icon on the FAB. Falls back to built-in SVG. */
24
+ closeIcon?: string;
25
+ /** ARIA label for the main FAB button. */
26
+ ariaLabel?: string;
27
+ /** True on touch-only devices (auto-detected unless explicitly set). */
28
+ isTouch?: boolean;
29
+ }
30
+ export declare const FlintSpeedDial: React.ForwardRefExoticComponent<FlintSpeedDialProps & React.RefAttributes<FlintSpeedDialElement>>;
@@ -1,7 +1,26 @@
1
1
  import React from 'react';
2
- import { type EventName } from '@lit/react';
3
2
  import { FlintSpeedDialAction as FlintSpeedDialActionElement } from '@getufy/flint-ui/speed-dial/flint-speed-dial';
4
- export declare const FlintSpeedDialAction: import("@lit/react").ReactWebComponent<FlintSpeedDialActionElement, {
5
- onFlintSpeedDialActionClick: EventName<CustomEvent>;
6
- }>;
7
- export type FlintSpeedDialActionProps = React.ComponentProps<typeof FlintSpeedDialAction>;
3
+ export interface FlintSpeedDialActionClickDetail {
4
+ name: string;
5
+ tooltipTitle: string;
6
+ }
7
+ /**
8
+ * A single action item inside a `flint-speed-dial`.
9
+ *
10
+ * @slot - Icon content for the action button.
11
+ */
12
+ export interface FlintSpeedDialActionProps extends React.HTMLAttributes<FlintSpeedDialActionElement> {
13
+ /** Programmatic identifier for this action, included in the click event detail. */
14
+ name?: string;
15
+ /** Tooltip text shown alongside the action and used as aria-label. */
16
+ tooltipTitle?: string;
17
+ /** Forces the tooltip to be visible regardless of hover state. */
18
+ tooltipOpen?: boolean;
19
+ /** Tooltip placement relative to the action button. */
20
+ tooltipPlacement?: 'left' | 'right' | 'top' | 'bottom';
21
+ /** If true, the action button is disabled. */
22
+ disabled?: boolean;
23
+ /** Fired when the action button is clicked. */
24
+ onFlintSpeedDialActionClick?: (event: CustomEvent<FlintSpeedDialActionClickDetail>) => void;
25
+ }
26
+ export declare const FlintSpeedDialAction: React.ForwardRefExoticComponent<FlintSpeedDialActionProps & React.RefAttributes<FlintSpeedDialActionElement>>;