@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.
- package/README.md +134 -39
- package/dist/components/FlintAccordion.d.ts +19 -5
- package/dist/components/FlintAccordionActions.d.ts +6 -2
- package/dist/components/FlintAccordionDetails.d.ts +8 -2
- package/dist/components/FlintAccordionSummary.d.ts +11 -5
- package/dist/components/FlintAlert.d.ts +21 -5
- package/dist/components/FlintAppBar.d.ts +16 -2
- package/dist/components/FlintAutocomplete.d.ts +22 -5
- package/dist/components/FlintAvatar.d.ts +13 -2
- package/dist/components/FlintBackdrop.d.ts +19 -5
- package/dist/components/FlintBadge.d.ts +18 -2
- package/dist/components/FlintBottomNavigation.d.ts +16 -5
- package/dist/components/FlintBottomNavigationAction.d.ts +17 -2
- package/dist/components/FlintBox.d.ts +67 -5
- package/dist/components/FlintBreadcrumbs.d.ts +18 -2
- package/dist/components/FlintButton.d.ts +11 -2
- package/dist/components/FlintButtonGroup.d.ts +3 -2
- package/dist/components/FlintCard.d.ts +5 -2
- package/dist/components/FlintCardActionArea.d.ts +3 -2
- package/dist/components/FlintCardActions.d.ts +3 -2
- package/dist/components/FlintCardContent.d.ts +3 -2
- package/dist/components/FlintCardHeader.d.ts +12 -2
- package/dist/components/FlintCardMedia.d.ts +6 -2
- package/dist/components/FlintCarousel.d.ts +24 -5
- package/dist/components/FlintCarouselContent.d.ts +9 -2
- package/dist/components/FlintCarouselItem.d.ts +3 -2
- package/dist/components/FlintCarouselNext.d.ts +12 -2
- package/dist/components/FlintCarouselPrevious.d.ts +12 -2
- package/dist/components/FlintCheckbox.d.ts +33 -5
- package/dist/components/FlintChip.d.ts +29 -6
- package/dist/components/FlintCircularProgress.d.ts +18 -2
- package/dist/components/FlintCollapsible.d.ts +22 -5
- package/dist/components/FlintCollapsibleContent.d.ts +11 -2
- package/dist/components/FlintCollapsibleTrigger.d.ts +13 -2
- package/dist/components/FlintCommand.d.ts +11 -5
- package/dist/components/FlintCommandDialog.d.ts +17 -5
- package/dist/components/FlintCommandEmpty.d.ts +9 -2
- package/dist/components/FlintCommandGroup.d.ts +11 -2
- package/dist/components/FlintCommandInput.d.ts +11 -2
- package/dist/components/FlintCommandItem.d.ts +22 -5
- package/dist/components/FlintCommandList.d.ts +8 -2
- package/dist/components/FlintCommandSeparator.d.ts +6 -2
- package/dist/components/FlintCommandShortcut.d.ts +9 -2
- package/dist/components/FlintContainer.d.ts +9 -2
- package/dist/components/FlintCopyButton.d.ts +32 -6
- package/dist/components/FlintDateField.d.ts +34 -6
- package/dist/components/FlintDatePicker.d.ts +35 -5
- package/dist/components/FlintDatePickerCalendar.d.ts +20 -5
- package/dist/components/FlintDateRangeCalendar.d.ts +17 -5
- package/dist/components/FlintDateRangePicker.d.ts +36 -5
- package/dist/components/FlintDesktopTimePicker.d.ts +29 -5
- package/dist/components/FlintDialog.d.ts +23 -5
- package/dist/components/FlintDialogActions.d.ts +9 -2
- package/dist/components/FlintDialogContent.d.ts +6 -2
- package/dist/components/FlintDialogContentText.d.ts +6 -2
- package/dist/components/FlintDialogTitle.d.ts +7 -2
- package/dist/components/FlintDigitalClock.d.ts +17 -5
- package/dist/components/FlintDivider.d.ts +16 -2
- package/dist/components/FlintDrawer.d.ts +27 -5
- package/dist/components/FlintEmpty.d.ts +10 -2
- package/dist/components/FlintEmptyContent.d.ts +8 -2
- package/dist/components/FlintEmptyDescription.d.ts +8 -2
- package/dist/components/FlintEmptyHeader.d.ts +8 -2
- package/dist/components/FlintEmptyMedia.d.ts +10 -2
- package/dist/components/FlintEmptyTitle.d.ts +8 -2
- package/dist/components/FlintFab.d.ts +15 -2
- package/dist/components/FlintFormatDate.d.ts +39 -2
- package/dist/components/FlintFormatNumber.d.ts +39 -2
- package/dist/components/FlintGrid.d.ts +35 -2
- package/dist/components/FlintHoverCard.d.ts +13 -2
- package/dist/components/FlintHoverCardContent.d.ts +15 -2
- package/dist/components/FlintHoverCardTrigger.d.ts +9 -2
- package/dist/components/FlintImageComparer.d.ts +19 -5
- package/dist/components/FlintImageList.d.ts +19 -2
- package/dist/components/FlintImageListItem.d.ts +21 -2
- package/dist/components/FlintImageListItemBar.d.ts +12 -2
- package/dist/components/FlintInput.d.ts +44 -6
- package/dist/components/FlintInputOtp.d.ts +36 -6
- package/dist/components/FlintInputOtpGroup.d.ts +9 -2
- package/dist/components/FlintInputOtpSeparator.d.ts +7 -2
- package/dist/components/FlintInputOtpSlot.d.ts +15 -2
- package/dist/components/FlintItem.d.ts +15 -2
- package/dist/components/FlintItemActions.d.ts +9 -2
- package/dist/components/FlintItemContent.d.ts +8 -2
- package/dist/components/FlintItemDescription.d.ts +8 -2
- package/dist/components/FlintItemFooter.d.ts +10 -2
- package/dist/components/FlintItemGroup.d.ts +8 -2
- package/dist/components/FlintItemHeader.d.ts +10 -2
- package/dist/components/FlintItemMedia.d.ts +10 -2
- package/dist/components/FlintItemSeparator.d.ts +6 -2
- package/dist/components/FlintItemTitle.d.ts +8 -2
- package/dist/components/FlintKbd.d.ts +15 -2
- package/dist/components/FlintKbdGroup.d.ts +9 -2
- package/dist/components/FlintLinearProgress.d.ts +16 -2
- package/dist/components/FlintLink.d.ts +27 -2
- package/dist/components/FlintList.d.ts +10 -2
- package/dist/components/FlintListItem.d.ts +6 -2
- package/dist/components/FlintListItemAvatar.d.ts +6 -2
- package/dist/components/FlintListItemButton.d.ts +10 -2
- package/dist/components/FlintListItemIcon.d.ts +6 -2
- package/dist/components/FlintListItemText.d.ts +10 -2
- package/dist/components/FlintListSubheader.d.ts +6 -2
- package/dist/components/FlintMenu.d.ts +24 -5
- package/dist/components/FlintMenuDivider.d.ts +6 -2
- package/dist/components/FlintMenuGroup.d.ts +11 -2
- package/dist/components/FlintMenuItem.d.ts +23 -5
- package/dist/components/FlintMenubar.d.ts +11 -2
- package/dist/components/FlintMenubarCheckboxItem.d.ts +20 -5
- package/dist/components/FlintMenubarContent.d.ts +13 -5
- package/dist/components/FlintMenubarGroup.d.ts +8 -2
- package/dist/components/FlintMenubarItem.d.ts +21 -5
- package/dist/components/FlintMenubarMenu.d.ts +8 -2
- package/dist/components/FlintMenubarRadioGroup.d.ts +13 -5
- package/dist/components/FlintMenubarRadioItem.d.ts +18 -5
- package/dist/components/FlintMenubarSeparator.d.ts +6 -2
- package/dist/components/FlintMenubarShortcut.d.ts +8 -2
- package/dist/components/FlintMenubarSub.d.ts +7 -2
- package/dist/components/FlintMenubarSubContent.d.ts +9 -2
- package/dist/components/FlintMenubarSubTrigger.d.ts +14 -2
- package/dist/components/FlintMenubarTrigger.d.ts +12 -2
- package/dist/components/FlintMobileStepper.d.ts +21 -2
- package/dist/components/FlintMobileTimePicker.d.ts +24 -5
- package/dist/components/FlintMultiSectionDigitalClock.d.ts +17 -5
- package/dist/components/FlintNavigationMenu.d.ts +8 -2
- package/dist/components/FlintNavigationMenuContent.d.ts +20 -5
- package/dist/components/FlintNavigationMenuItem.d.ts +18 -6
- package/dist/components/FlintNavigationMenuLink.d.ts +16 -2
- package/dist/components/FlintNavigationMenuList.d.ts +12 -2
- package/dist/components/FlintNavigationMenuTrigger.d.ts +12 -5
- package/dist/components/FlintPagination.d.ts +48 -5
- package/dist/components/FlintPaper.d.ts +13 -2
- package/dist/components/FlintRadio.d.ts +25 -5
- package/dist/components/FlintRadioGroup.d.ts +27 -5
- package/dist/components/FlintRangeSlider.d.ts +23 -5
- package/dist/components/FlintRating.d.ts +31 -5
- package/dist/components/FlintRelativeTime.d.ts +17 -2
- package/dist/components/FlintResizableGroup.d.ts +16 -7
- package/dist/components/FlintResizableHandle.d.ts +8 -2
- package/dist/components/FlintResizablePanel.d.ts +15 -2
- package/dist/components/FlintRichTreeView.d.ts +50 -8
- package/dist/components/FlintScrollArea.d.ts +15 -2
- package/dist/components/FlintScrollBar.d.ts +11 -2
- package/dist/components/FlintSelect.d.ts +40 -5
- package/dist/components/FlintSimpleTreeView.d.ts +28 -6
- package/dist/components/FlintSingleInputDateRangeField.d.ts +31 -6
- package/dist/components/FlintSkeleton.d.ts +18 -2
- package/dist/components/FlintSlider.d.ts +35 -5
- package/dist/components/FlintSnackbar.d.ts +36 -6
- package/dist/components/FlintSpeedDial.d.ts +28 -2
- package/dist/components/FlintSpeedDialAction.d.ts +24 -5
- package/dist/components/FlintSplitPanel.d.ts +31 -5
- package/dist/components/FlintStack.d.ts +13 -2
- package/dist/components/FlintStaticTimePicker.d.ts +14 -5
- package/dist/components/FlintStep.d.ts +39 -5
- package/dist/components/FlintStepConnector.d.ts +7 -2
- package/dist/components/FlintStepContent.d.ts +10 -2
- package/dist/components/FlintStepLabel.d.ts +15 -2
- package/dist/components/FlintStepper.d.ts +20 -5
- package/dist/components/FlintSwitch.d.ts +33 -5
- package/dist/components/FlintTab.d.ts +23 -5
- package/dist/components/FlintTabList.d.ts +14 -5
- package/dist/components/FlintTabPanel.d.ts +5 -2
- package/dist/components/FlintTable.d.ts +8 -2
- package/dist/components/FlintTableBody.d.ts +8 -2
- package/dist/components/FlintTableCell.d.ts +12 -2
- package/dist/components/FlintTableContainer.d.ts +10 -2
- package/dist/components/FlintTableFooter.d.ts +6 -2
- package/dist/components/FlintTableHead.d.ts +6 -2
- package/dist/components/FlintTablePagination.d.ts +32 -6
- package/dist/components/FlintTableRow.d.ts +10 -2
- package/dist/components/FlintTableSortLabel.d.ts +7 -2
- package/dist/components/FlintTabs.d.ts +27 -5
- package/dist/components/FlintTextField.d.ts +36 -6
- package/dist/components/FlintTextarea.d.ts +52 -6
- package/dist/components/FlintTimeClock.d.ts +21 -6
- package/dist/components/FlintTimeField.d.ts +31 -6
- package/dist/components/FlintTimePicker.d.ts +26 -5
- package/dist/components/FlintToaster.d.ts +13 -2
- package/dist/components/FlintToggle.d.ts +27 -5
- package/dist/components/FlintToggleButton.d.ts +20 -5
- package/dist/components/FlintToggleButtonGroup.d.ts +17 -5
- package/dist/components/FlintTooltip.d.ts +19 -2
- package/dist/components/FlintTransferList.d.ts +25 -5
- package/dist/components/FlintTreeItem.d.ts +34 -6
- package/dist/components/FlintTypography.d.ts +22 -2
- package/dist/components/FlintVisuallyHidden.d.ts +11 -2
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCardContent as FlintCardContentElement } from '@getufy/flint-ui/card/flint-card-content';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface FlintCardContentProps extends React.HTMLAttributes<FlintCardContentElement> {
|
|
4
|
+
}
|
|
5
|
+
export declare const FlintCardContent: React.ForwardRefExoticComponent<FlintCardContentProps & React.RefAttributes<FlintCardContentElement>>;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCardHeader as FlintCardHeaderElement } from '@getufy/flint-ui/card/flint-card-header';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Card Header: the header section of a card.
|
|
5
|
+
*
|
|
6
|
+
* @slot avatar - Avatar or icon element.
|
|
7
|
+
* @slot action - Action element like an icon button.
|
|
8
|
+
* @slot - Header text content.
|
|
9
|
+
*/
|
|
10
|
+
export interface FlintCardHeaderProps extends Omit<React.HTMLAttributes<FlintCardHeaderElement>, 'title'> {
|
|
11
|
+
title?: string;
|
|
12
|
+
subtitle?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const FlintCardHeader: React.ForwardRefExoticComponent<FlintCardHeaderProps & React.RefAttributes<FlintCardHeaderElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCardMedia as FlintCardMediaElement } from '@getufy/flint-ui/card/flint-card-media';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface FlintCardMediaProps extends React.HTMLAttributes<FlintCardMediaElement> {
|
|
4
|
+
image?: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
height?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const FlintCardMedia: React.ForwardRefExoticComponent<FlintCardMediaProps & React.RefAttributes<FlintCardMediaElement>>;
|
|
@@ -1,7 +1,26 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintCarousel as FlintCarouselElement } from '@getufy/flint-ui/carousel/flint-carousel';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
export interface FlintCarouselChangeDetail {
|
|
4
|
+
index: number;
|
|
5
|
+
total: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Carousel: a slideshow component for cycling through content.
|
|
9
|
+
*
|
|
10
|
+
* @slot - Carousel content: flint-carousel-content, flint-carousel-previous, flint-carousel-next.
|
|
11
|
+
*/
|
|
12
|
+
export interface FlintCarouselProps extends React.HTMLAttributes<FlintCarouselElement> {
|
|
13
|
+
/** When true, navigation wraps from last slide back to first and vice versa. */
|
|
14
|
+
loop?: boolean;
|
|
15
|
+
/** Slide direction axis. */
|
|
16
|
+
orientation?: 'horizontal' | 'vertical';
|
|
17
|
+
/** Auto-advance interval in milliseconds. Set to 0 to disable. */
|
|
18
|
+
autoplay?: number;
|
|
19
|
+
/** Number of slides visible simultaneously. */
|
|
20
|
+
itemsPerView?: number;
|
|
21
|
+
/** Accessible label for the carousel region. */
|
|
22
|
+
label?: string;
|
|
23
|
+
/** Fired when the active slide changes. */
|
|
24
|
+
onFlintCarouselChange?: (event: CustomEvent<FlintCarouselChangeDetail>) => void;
|
|
25
|
+
}
|
|
26
|
+
export declare const FlintCarousel: React.ForwardRefExoticComponent<FlintCarouselProps & React.RefAttributes<FlintCarouselElement>>;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCarouselContent as FlintCarouselContentElement } from '@getufy/flint-ui/carousel/flint-carousel';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface FlintCarouselContentProps extends React.HTMLAttributes<FlintCarouselContentElement> {
|
|
4
|
+
/** Zero-based index of the first visible slide. */
|
|
5
|
+
index?: number;
|
|
6
|
+
/** Number of slides visible at once. */
|
|
7
|
+
itemsPerView?: number;
|
|
8
|
+
/** Slide direction axis. */
|
|
9
|
+
orientation?: 'horizontal' | 'vertical';
|
|
10
|
+
}
|
|
11
|
+
export declare const FlintCarouselContent: React.ForwardRefExoticComponent<FlintCarouselContentProps & React.RefAttributes<FlintCarouselContentElement>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCarouselItem as FlintCarouselItemElement } from '@getufy/flint-ui/carousel/flint-carousel';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface FlintCarouselItemProps extends React.HTMLAttributes<FlintCarouselItemElement> {
|
|
4
|
+
}
|
|
5
|
+
export declare const FlintCarouselItem: React.ForwardRefExoticComponent<FlintCarouselItemProps & React.RefAttributes<FlintCarouselItemElement>>;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCarouselNext as FlintCarouselNextElement } from '@getufy/flint-ui/carousel/flint-carousel';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Carousel Next: navigation button to go to the next slide.
|
|
5
|
+
*
|
|
6
|
+
* @slot - Custom icon content, replaces default chevron.
|
|
7
|
+
*/
|
|
8
|
+
export interface FlintCarouselNextProps extends React.HTMLAttributes<FlintCarouselNextElement> {
|
|
9
|
+
/** Whether the next button is disabled. */
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
/** Slide direction axis, inherited from the parent carousel. */
|
|
12
|
+
orientation?: 'horizontal' | 'vertical';
|
|
13
|
+
}
|
|
14
|
+
export declare const FlintCarouselNext: React.ForwardRefExoticComponent<FlintCarouselNextProps & React.RefAttributes<FlintCarouselNextElement>>;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCarouselPrevious as FlintCarouselPreviousElement } from '@getufy/flint-ui/carousel/flint-carousel';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Carousel Previous: navigation button to go to the previous slide.
|
|
5
|
+
*
|
|
6
|
+
* @slot - Custom icon content, replaces default chevron.
|
|
7
|
+
*/
|
|
8
|
+
export interface FlintCarouselPreviousProps extends React.HTMLAttributes<FlintCarouselPreviousElement> {
|
|
9
|
+
/** Whether the previous button is disabled. */
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
/** Slide direction axis, inherited from the parent carousel. */
|
|
12
|
+
orientation?: 'horizontal' | 'vertical';
|
|
13
|
+
}
|
|
14
|
+
export declare const FlintCarouselPrevious: React.ForwardRefExoticComponent<FlintCarouselPreviousProps & React.RefAttributes<FlintCarouselPreviousElement>>;
|
|
@@ -1,7 +1,35 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintCheckbox as FlintCheckboxElement } from '@getufy/flint-ui/checkbox/flint-checkbox';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
export interface FlintCheckboxChangeDetail {
|
|
4
|
+
checked: boolean;
|
|
5
|
+
value: string;
|
|
6
|
+
indeterminate: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Checkbox: a form control for boolean selection.
|
|
10
|
+
*/
|
|
11
|
+
export interface FlintCheckboxProps extends Omit<React.HTMLAttributes<FlintCheckboxElement>, 'defaultChecked'> {
|
|
12
|
+
/** Whether the checkbox is checked. */
|
|
13
|
+
checked?: boolean;
|
|
14
|
+
/** Displays the checkbox in an indeterminate state. */
|
|
15
|
+
indeterminate?: boolean;
|
|
16
|
+
/** Disables the checkbox and prevents interaction. */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/** Marks the checkbox as required for form validation. */
|
|
19
|
+
required?: boolean;
|
|
20
|
+
/** Size of the checkbox control. */
|
|
21
|
+
size?: 'sm' | 'md' | 'lg';
|
|
22
|
+
/** Visible label text displayed next to the checkbox. */
|
|
23
|
+
label?: string;
|
|
24
|
+
/** Form field name used when submitting form data. */
|
|
25
|
+
name?: string;
|
|
26
|
+
/** Value submitted with form data when checked. */
|
|
27
|
+
value?: string;
|
|
28
|
+
/** Initial checked state for uncontrolled usage. */
|
|
29
|
+
defaultChecked?: boolean;
|
|
30
|
+
/** Accessible label for screen readers when no visible label is provided. */
|
|
31
|
+
ariaLabel?: string | null;
|
|
32
|
+
/** Fired when the checked state changes. */
|
|
33
|
+
onFlintCheckboxChange?: (event: CustomEvent<FlintCheckboxChangeDetail>) => void;
|
|
34
|
+
}
|
|
35
|
+
export declare const FlintCheckbox: React.ForwardRefExoticComponent<FlintCheckboxProps & React.RefAttributes<FlintCheckboxElement>>;
|
|
@@ -1,8 +1,31 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintChip as FlintChipElement } from '@getufy/flint-ui/chip/flint-chip';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
export interface FlintChipDeleteDetail {
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Chip: a compact element representing an input, attribute, or action.
|
|
8
|
+
*
|
|
9
|
+
* @slot avatar - Avatar element shown at start.
|
|
10
|
+
* @slot icon - Icon shown at start when no avatar.
|
|
11
|
+
*/
|
|
12
|
+
export interface FlintChipProps extends Omit<React.HTMLAttributes<FlintChipElement>, 'onClick' | 'color'> {
|
|
13
|
+
/** Text content displayed inside the chip. */
|
|
14
|
+
label?: string;
|
|
15
|
+
/** Visual style variant of the chip. */
|
|
16
|
+
variant?: 'filled' | 'outlined';
|
|
17
|
+
/** Color theme applied to the chip. */
|
|
18
|
+
color?: 'default' | 'primary' | 'secondary';
|
|
19
|
+
/** Size of the chip. */
|
|
20
|
+
size?: 'sm' | 'md' | 'lg';
|
|
21
|
+
/** Whether the chip responds to click interactions. */
|
|
22
|
+
clickable?: boolean;
|
|
23
|
+
/** Whether the chip shows a delete icon. */
|
|
24
|
+
deletable?: boolean;
|
|
25
|
+
/** Disables the chip and prevents interaction. */
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
onClick?: (event: CustomEvent) => void;
|
|
28
|
+
/** Fired when the chip's delete icon is clicked. detail: `{ value: string }` */
|
|
29
|
+
onFlintChipDelete?: (event: CustomEvent<FlintChipDeleteDetail>) => void;
|
|
30
|
+
}
|
|
31
|
+
export declare const FlintChip: React.ForwardRefExoticComponent<FlintChipProps & React.RefAttributes<FlintChipElement>>;
|
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCircularProgress as FlintCircularProgressElement } from '@getufy/flint-ui/progress/flint-circular-progress';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* flint-circular-progress: a circular progress indicator (spinner).
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintCircularProgressProps extends Omit<React.HTMLAttributes<FlintCircularProgressElement>, 'color'> {
|
|
7
|
+
/** Progress variant: determinate shows a specific value, indeterminate shows an animation. */
|
|
8
|
+
variant?: 'determinate' | 'indeterminate';
|
|
9
|
+
/** Current progress percentage (0-100) for determinate mode. */
|
|
10
|
+
value?: number;
|
|
11
|
+
/** Diameter of the circular indicator in pixels. */
|
|
12
|
+
size?: number;
|
|
13
|
+
/** Stroke width of the circle in pixels. */
|
|
14
|
+
thickness?: number;
|
|
15
|
+
/** Color theme of the progress indicator. */
|
|
16
|
+
color?: 'primary' | 'success' | 'error' | 'warning';
|
|
17
|
+
/** Accessible label for the progress indicator. */
|
|
18
|
+
label?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const FlintCircularProgress: React.ForwardRefExoticComponent<FlintCircularProgressProps & React.RefAttributes<FlintCircularProgressElement>>;
|
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintCollapsible as FlintCollapsibleElement } from '@getufy/flint-ui/collapsible/flint-collapsible';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
3
|
+
export interface FlintCollapsibleChangeDetail {
|
|
4
|
+
open: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Root container for a collapsible panel.
|
|
8
|
+
Manages open/closed state and coordinates child trigger and content.
|
|
9
|
+
*
|
|
10
|
+
* @slot - Accepts `flint-collapsible-trigger`, `flint-collapsible-content`, and any
|
|
11
|
+
other elements that should always be visible.
|
|
12
|
+
*/
|
|
13
|
+
export interface FlintCollapsibleProps extends React.HTMLAttributes<FlintCollapsibleElement> {
|
|
14
|
+
/** Whether the panel is open. Reflects to attribute for CSS targeting. */
|
|
15
|
+
open?: boolean;
|
|
16
|
+
/** Initial open state for uncontrolled usage. */
|
|
17
|
+
defaultOpen?: boolean;
|
|
18
|
+
/** Disables the trigger, preventing user interaction. */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/** Fired when the open state changes.
|
|
21
|
+
`detail: { open: boolean }` */
|
|
22
|
+
onFlintCollapsibleChange?: (event: CustomEvent<FlintCollapsibleChangeDetail>) => void;
|
|
23
|
+
}
|
|
24
|
+
export declare const FlintCollapsible: React.ForwardRefExoticComponent<FlintCollapsibleProps & React.RefAttributes<FlintCollapsibleElement>>;
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCollapsibleContent as FlintCollapsibleContentElement } from '@getufy/flint-ui/collapsible/flint-collapsible';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* The collapsible panel. Animates open/closed with a CSS grid transition.
|
|
5
|
+
Place inside `flint-collapsible`; its `open` state is managed automatically.
|
|
6
|
+
*
|
|
7
|
+
* @slot - Content to reveal when expanded.
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintCollapsibleContentProps extends React.HTMLAttributes<FlintCollapsibleContentElement> {
|
|
10
|
+
/** Whether the panel is visible. Managed by the parent `flint-collapsible`. */
|
|
11
|
+
open?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const FlintCollapsibleContent: React.ForwardRefExoticComponent<FlintCollapsibleContentProps & React.RefAttributes<FlintCollapsibleContentElement>>;
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCollapsibleTrigger as FlintCollapsibleTriggerElement } from '@getufy/flint-ui/collapsible/flint-collapsible';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Toggle button for a collapsible. Place inside `flint-collapsible`.
|
|
5
|
+
Automatically wires up to the nearest `flint-collapsible` ancestor.
|
|
6
|
+
*
|
|
7
|
+
* @slot - Trigger label or any content (icon, text, avatar…).
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintCollapsibleTriggerProps extends React.HTMLAttributes<FlintCollapsibleTriggerElement> {
|
|
10
|
+
/** Reflects the parent collapsible's open state. Set by `flint-collapsible`. */
|
|
11
|
+
expanded?: boolean;
|
|
12
|
+
/** Disables the trigger. Set by `flint-collapsible` or directly. */
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const FlintCollapsibleTrigger: React.ForwardRefExoticComponent<FlintCollapsibleTriggerProps & React.RefAttributes<FlintCollapsibleTriggerElement>>;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintCommand as FlintCommandElement } from '@getufy/flint-ui/command/flint-command';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Root command menu component. Manages search filtering and keyboard navigation.
|
|
5
|
+
*
|
|
6
|
+
* @slot - Command menu content.
|
|
7
|
+
*/
|
|
8
|
+
export interface FlintCommandProps extends React.HTMLAttributes<FlintCommandElement> {
|
|
9
|
+
/** Bubbles up from activated items.
|
|
10
|
+
detail: `{ value: string }` */
|
|
11
|
+
onFlintCommandItemSelect?: (event: CustomEvent) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const FlintCommand: React.ForwardRefExoticComponent<FlintCommandProps & React.RefAttributes<FlintCommandElement>>;
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintCommandDialog as FlintCommandDialogElement } from '@getufy/flint-ui/command/flint-command';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
3
|
+
export interface FlintCommandDialogCloseDetail {
|
|
4
|
+
open: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Modal dialog wrapper for a command menu. Opens with a smooth backdrop + scale
|
|
8
|
+
animation. Pressing `Escape` or clicking the backdrop fires `flint-command-dialog-close`.
|
|
9
|
+
*
|
|
10
|
+
* @slot - Place a `flint-command` element here.
|
|
11
|
+
*/
|
|
12
|
+
export interface FlintCommandDialogProps extends React.HTMLAttributes<FlintCommandDialogElement> {
|
|
13
|
+
/** Controls the open/closed state of the dialog. */
|
|
14
|
+
open?: boolean;
|
|
15
|
+
/** Fired when the dialog should close. detail: `{ open: false }`
|
|
16
|
+
The host is responsible for setting `open = false` in response. */
|
|
17
|
+
onFlintCommandDialogClose?: (event: CustomEvent<FlintCommandDialogCloseDetail>) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const FlintCommandDialog: React.ForwardRefExoticComponent<FlintCommandDialogProps & React.RefAttributes<FlintCommandDialogElement>>;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCommandEmpty as FlintCommandEmptyElement } from '@getufy/flint-ui/command/flint-command';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Empty state message shown when no command items match the current query.
|
|
5
|
+
Managed automatically by the parent `flint-command` element.
|
|
6
|
+
*
|
|
7
|
+
* @slot - Message text, e.g. "No results found."
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintCommandEmptyProps extends React.HTMLAttributes<FlintCommandEmptyElement> {
|
|
10
|
+
}
|
|
11
|
+
export declare const FlintCommandEmpty: React.ForwardRefExoticComponent<FlintCommandEmptyProps & React.RefAttributes<FlintCommandEmptyElement>>;
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCommandGroup as FlintCommandGroupElement } from '@getufy/flint-ui/command/flint-command';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* A labeled group of command items. The parent `flint-command` automatically
|
|
5
|
+
hides the whole group when all its items are filtered out.
|
|
6
|
+
*
|
|
7
|
+
* @slot - `flint-command-item` elements.
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintCommandGroupProps extends React.HTMLAttributes<FlintCommandGroupElement> {
|
|
10
|
+
/** Label rendered above the group items. */
|
|
11
|
+
heading?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const FlintCommandGroup: React.ForwardRefExoticComponent<FlintCommandGroupProps & React.RefAttributes<FlintCommandGroupElement>>;
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCommandInput as FlintCommandInputElement } from '@getufy/flint-ui/command/flint-command';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Search input for the command menu. Dispatches `_cmd-filter` events that
|
|
5
|
+
the parent `flint-command` intercepts to apply filtering.
|
|
6
|
+
*/
|
|
7
|
+
export interface FlintCommandInputProps extends React.HTMLAttributes<FlintCommandInputElement> {
|
|
8
|
+
/** Placeholder text shown when input is empty. */
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
/** Current input value. */
|
|
11
|
+
value?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const FlintCommandInput: React.ForwardRefExoticComponent<FlintCommandInputProps & React.RefAttributes<FlintCommandInputElement>>;
|
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintCommandItem as FlintCommandItemElement } from '@getufy/flint-ui/command/flint-command';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
3
|
+
export interface FlintCommandItemSelectDetail {
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* A single interactive option inside a command menu.
|
|
8
|
+
*
|
|
9
|
+
* @slot - Item label text.
|
|
10
|
+
* @slot icon - Leading icon (16×16).
|
|
11
|
+
* @slot shortcut - Trailing shortcut hint; prefer `<flint-command-shortcut>`.
|
|
12
|
+
*/
|
|
13
|
+
export interface FlintCommandItemProps extends React.HTMLAttributes<FlintCommandItemElement> {
|
|
14
|
+
/** Machine-readable value used for filter matching. Falls back to textContent. */
|
|
15
|
+
value?: string;
|
|
16
|
+
/** Disables the item — non-interactive and skipped in keyboard nav. */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/** Set by parent `flint-command` to indicate keyboard focus. */
|
|
19
|
+
highlighted?: boolean;
|
|
20
|
+
/** Fired when the item is activated.
|
|
21
|
+
detail: `{ value: string }` */
|
|
22
|
+
onFlintCommandItemSelect?: (event: CustomEvent<FlintCommandItemSelectDetail>) => void;
|
|
23
|
+
}
|
|
24
|
+
export declare const FlintCommandItem: React.ForwardRefExoticComponent<FlintCommandItemProps & React.RefAttributes<FlintCommandItemElement>>;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCommandList as FlintCommandListElement } from '@getufy/flint-ui/command/flint-command';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Scrollable list container for command items and groups.
|
|
5
|
+
*
|
|
6
|
+
* @slot - `flint-command-group`, `flint-command-item`, `flint-command-empty`, `flint-command-separator`.
|
|
7
|
+
*/
|
|
8
|
+
export interface FlintCommandListProps extends React.HTMLAttributes<FlintCommandListElement> {
|
|
9
|
+
}
|
|
10
|
+
export declare const FlintCommandList: React.ForwardRefExoticComponent<FlintCommandListProps & React.RefAttributes<FlintCommandListElement>>;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCommandSeparator as FlintCommandSeparatorElement } from '@getufy/flint-ui/command/flint-command';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* A hairline separator between command groups.
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintCommandSeparatorProps extends React.HTMLAttributes<FlintCommandSeparatorElement> {
|
|
7
|
+
}
|
|
8
|
+
export declare const FlintCommandSeparator: React.ForwardRefExoticComponent<FlintCommandSeparatorProps & React.RefAttributes<FlintCommandSeparatorElement>>;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCommandShortcut as FlintCommandShortcutElement } from '@getufy/flint-ui/command/flint-command';
|
|
3
|
-
|
|
4
|
-
|
|
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
|
|
4
|
-
|
|
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
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
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>>;
|