@getufy/flint-ui-react 0.3.0 → 0.4.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 +1 -1
- package/dist/accordion.d.ts +1 -1
- package/dist/alert.d.ts +1 -1
- package/dist/autocomplete.d.ts +1 -1
- package/dist/backdrop.d.ts +1 -1
- package/dist/button.d.ts +2 -2
- package/dist/carousel.d.ts +1 -1
- package/dist/checkbox.d.ts +1 -1
- package/dist/chip.d.ts +1 -1
- package/dist/chip.js +2 -2
- package/dist/collapsible.d.ts +1 -1
- package/dist/command.d.ts +2 -2
- package/dist/components/FlintAccordion.js +15 -0
- package/dist/components/FlintAccordionActions.js +12 -0
- package/dist/components/FlintAccordionDetails.js +12 -0
- package/dist/components/FlintAccordionSummary.js +15 -0
- package/dist/components/FlintAlert.js +15 -0
- package/dist/components/FlintAppBar.js +12 -0
- package/dist/components/FlintAutocomplete.js +15 -0
- package/dist/components/FlintAvatar.js +12 -0
- package/dist/components/FlintBackdrop.js +15 -0
- package/dist/components/FlintBadge.js +12 -0
- package/dist/components/FlintBottomNavigation.d.ts +1 -1
- package/dist/components/FlintBottomNavigation.js +15 -0
- package/dist/components/FlintBottomNavigationAction.js +12 -0
- package/dist/components/FlintBox.js +15 -0
- package/dist/components/FlintBreadcrumbs.js +12 -0
- package/dist/components/FlintButton.js +12 -0
- package/dist/components/FlintButtonGroup.js +12 -0
- package/dist/components/FlintCard.js +12 -0
- package/dist/components/FlintCardActionArea.js +12 -0
- package/dist/components/FlintCardActions.js +12 -0
- package/dist/components/FlintCardContent.js +12 -0
- package/dist/components/FlintCardHeader.js +12 -0
- package/dist/components/FlintCardMedia.js +12 -0
- package/dist/components/FlintCarousel.js +15 -0
- package/dist/components/FlintCarouselContent.js +12 -0
- package/dist/components/FlintCarouselItem.js +12 -0
- package/dist/components/FlintCarouselNext.js +12 -0
- package/dist/components/FlintCarouselPrevious.js +12 -0
- package/dist/components/FlintCheckbox.js +15 -0
- package/dist/components/FlintChip.d.ts +3 -2
- package/dist/components/FlintChip.js +16 -0
- package/dist/components/FlintCircularProgress.js +12 -0
- package/dist/components/FlintCollapsible.js +15 -0
- package/dist/components/FlintCollapsibleContent.js +12 -0
- package/dist/components/FlintCollapsibleTrigger.js +12 -0
- package/dist/components/FlintCommand.js +15 -0
- package/dist/components/FlintCommandDialog.js +15 -0
- package/dist/components/FlintCommandEmpty.js +12 -0
- package/dist/components/FlintCommandGroup.js +12 -0
- package/dist/components/FlintCommandInput.js +12 -0
- package/dist/components/FlintCommandItem.js +15 -0
- package/dist/components/FlintCommandList.js +12 -0
- package/dist/components/FlintCommandSeparator.js +12 -0
- package/dist/components/FlintCommandShortcut.js +12 -0
- package/dist/components/FlintContainer.js +12 -0
- package/dist/components/FlintCopyButton.js +16 -0
- package/dist/components/FlintDateField.js +16 -0
- package/dist/components/FlintDatePicker.d.ts +4 -4
- package/dist/components/FlintDatePicker.js +15 -0
- package/dist/components/FlintDatePickerCalendar.js +15 -0
- package/dist/components/FlintDateRangeCalendar.js +15 -0
- package/dist/components/FlintDateRangePicker.js +15 -0
- package/dist/components/FlintDesktopTimePicker.d.ts +4 -4
- package/dist/components/FlintDesktopTimePicker.js +15 -0
- package/dist/components/FlintDialog.d.ts +2 -2
- package/dist/components/FlintDialog.js +15 -0
- package/dist/components/FlintDialogActions.js +12 -0
- package/dist/components/FlintDialogContent.js +12 -0
- package/dist/components/FlintDialogContentText.js +12 -0
- package/dist/components/FlintDialogTitle.js +12 -0
- package/dist/components/FlintDigitalClock.d.ts +4 -4
- package/dist/components/FlintDigitalClock.js +15 -0
- package/dist/components/FlintDivider.js +12 -0
- package/dist/components/FlintDrawer.js +15 -0
- package/dist/components/FlintEmpty.js +12 -0
- package/dist/components/FlintEmptyContent.js +12 -0
- package/dist/components/FlintEmptyDescription.js +12 -0
- package/dist/components/FlintEmptyHeader.js +12 -0
- package/dist/components/FlintEmptyMedia.js +12 -0
- package/dist/components/FlintEmptyTitle.js +12 -0
- package/dist/components/FlintFab.js +12 -0
- package/dist/components/FlintFormatDate.js +12 -0
- package/dist/components/FlintFormatNumber.js +12 -0
- package/dist/components/FlintGrid.js +12 -0
- package/dist/components/FlintHoverCard.d.ts +10 -0
- package/dist/components/FlintHoverCard.js +16 -0
- package/dist/components/FlintHoverCardContent.js +12 -0
- package/dist/components/FlintHoverCardTrigger.js +12 -0
- package/dist/components/FlintImageComparer.js +15 -0
- package/dist/components/FlintImageList.js +12 -0
- package/dist/components/FlintImageListItem.js +12 -0
- package/dist/components/FlintImageListItemBar.js +12 -0
- package/dist/components/FlintInput.js +16 -0
- package/dist/components/FlintInputOtp.js +16 -0
- package/dist/components/FlintInputOtpGroup.js +12 -0
- package/dist/components/FlintInputOtpSeparator.js +12 -0
- package/dist/components/FlintInputOtpSlot.js +12 -0
- package/dist/components/FlintItem.js +12 -0
- package/dist/components/FlintItemActions.js +12 -0
- package/dist/components/FlintItemContent.js +12 -0
- package/dist/components/FlintItemDescription.js +12 -0
- package/dist/components/FlintItemFooter.js +12 -0
- package/dist/components/FlintItemGroup.js +12 -0
- package/dist/components/FlintItemHeader.js +12 -0
- package/dist/components/FlintItemMedia.js +12 -0
- package/dist/components/FlintItemSeparator.js +12 -0
- package/dist/components/FlintItemTitle.js +12 -0
- package/dist/components/FlintKbd.js +12 -0
- package/dist/components/FlintKbdGroup.js +12 -0
- package/dist/components/FlintLinearProgress.js +12 -0
- package/dist/components/FlintLink.d.ts +1 -0
- package/dist/components/FlintLink.js +12 -0
- package/dist/components/FlintList.js +12 -0
- package/dist/components/FlintListItem.js +12 -0
- package/dist/components/FlintListItemAvatar.js +12 -0
- package/dist/components/FlintListItemButton.js +12 -0
- package/dist/components/FlintListItemIcon.js +12 -0
- package/dist/components/FlintListItemText.js +12 -0
- package/dist/components/FlintListSubheader.js +12 -0
- package/dist/components/FlintMenu.d.ts +1 -1
- package/dist/components/FlintMenu.js +15 -0
- package/dist/components/FlintMenuDivider.js +12 -0
- package/dist/components/FlintMenuGroup.js +12 -0
- package/dist/components/FlintMenuItem.js +15 -0
- package/dist/components/FlintMenubar.d.ts +6 -0
- package/dist/components/FlintMenubar.js +17 -0
- package/dist/components/FlintMenubarCheckboxItem.js +15 -0
- package/dist/components/FlintMenubarContent.js +15 -0
- package/dist/components/FlintMenubarGroup.js +12 -0
- package/dist/components/FlintMenubarItem.js +15 -0
- package/dist/components/FlintMenubarMenu.js +12 -0
- package/dist/components/FlintMenubarRadioGroup.js +15 -0
- package/dist/components/FlintMenubarRadioItem.js +15 -0
- package/dist/components/FlintMenubarSeparator.js +12 -0
- package/dist/components/FlintMenubarShortcut.js +12 -0
- package/dist/components/FlintMenubarSub.js +12 -0
- package/dist/components/FlintMenubarSubContent.js +12 -0
- package/dist/components/FlintMenubarSubTrigger.js +12 -0
- package/dist/components/FlintMenubarTrigger.js +12 -0
- package/dist/components/FlintMobileStepper.d.ts +4 -0
- package/dist/components/FlintMobileStepper.js +16 -0
- package/dist/components/FlintMobileTimePicker.d.ts +3 -3
- package/dist/components/FlintMobileTimePicker.js +15 -0
- package/dist/components/FlintMultiSectionDigitalClock.d.ts +4 -4
- package/dist/components/FlintMultiSectionDigitalClock.js +15 -0
- package/dist/components/FlintNavigationMenu.js +12 -0
- package/dist/components/FlintNavigationMenuContent.js +15 -0
- package/dist/components/FlintNavigationMenuItem.js +16 -0
- package/dist/components/FlintNavigationMenuLink.js +12 -0
- package/dist/components/FlintNavigationMenuList.js +12 -0
- package/dist/components/FlintNavigationMenuTrigger.js +15 -0
- package/dist/components/FlintPagination.js +15 -0
- package/dist/components/FlintPaper.js +12 -0
- package/dist/components/FlintRadio.js +15 -0
- package/dist/components/FlintRadioGroup.js +15 -0
- package/dist/components/FlintRangeSlider.d.ts +5 -2
- package/dist/components/FlintRangeSlider.js +15 -0
- package/dist/components/FlintRating.js +15 -0
- package/dist/components/FlintRelativeTime.js +12 -0
- package/dist/components/FlintResizableGroup.js +17 -0
- package/dist/components/FlintResizableHandle.js +12 -0
- package/dist/components/FlintResizablePanel.js +12 -0
- package/dist/components/FlintRichTreeView.js +18 -0
- package/dist/components/FlintScrollArea.js +12 -0
- package/dist/components/FlintScrollBar.js +12 -0
- package/dist/components/FlintSelect.d.ts +1 -1
- package/dist/components/FlintSelect.js +15 -0
- package/dist/components/FlintSimpleTreeView.js +16 -0
- package/dist/components/FlintSingleInputDateRangeField.js +16 -0
- package/dist/components/FlintSkeleton.js +12 -0
- package/dist/components/FlintSlider.js +15 -0
- package/dist/components/FlintSnackbar.js +16 -0
- package/dist/components/FlintSpeedDial.d.ts +10 -0
- package/dist/components/FlintSpeedDial.js +16 -0
- package/dist/components/FlintSpeedDialAction.js +15 -0
- package/dist/components/FlintSplitPanel.js +15 -0
- package/dist/components/FlintStack.js +12 -0
- package/dist/components/FlintStaticTimePicker.d.ts +3 -3
- package/dist/components/FlintStaticTimePicker.js +15 -0
- package/dist/components/FlintStep.js +15 -0
- package/dist/components/FlintStepConnector.js +12 -0
- package/dist/components/FlintStepContent.js +12 -0
- package/dist/components/FlintStepLabel.js +12 -0
- package/dist/components/FlintStepper.d.ts +4 -1
- package/dist/components/FlintStepper.js +15 -0
- package/dist/components/FlintSwitch.js +15 -0
- package/dist/components/FlintTab.js +15 -0
- package/dist/components/FlintTabList.js +15 -0
- package/dist/components/FlintTabPanel.js +12 -0
- package/dist/components/FlintTable.js +12 -0
- package/dist/components/FlintTableBody.js +12 -0
- package/dist/components/FlintTableCell.js +12 -0
- package/dist/components/FlintTableContainer.js +12 -0
- package/dist/components/FlintTableFooter.js +12 -0
- package/dist/components/FlintTableHead.js +12 -0
- package/dist/components/FlintTablePagination.js +16 -0
- package/dist/components/FlintTableRow.js +12 -0
- package/dist/components/FlintTableSortLabel.js +12 -0
- package/dist/components/FlintTabs.js +15 -0
- package/dist/components/FlintTextField.d.ts +7 -7
- package/dist/components/FlintTextField.js +16 -0
- package/dist/components/FlintTextarea.js +16 -0
- package/dist/components/FlintTimeClock.d.ts +4 -4
- package/dist/components/FlintTimeClock.js +16 -0
- package/dist/components/FlintTimeField.d.ts +4 -4
- package/dist/components/FlintTimeField.js +16 -0
- package/dist/components/FlintTimePicker.d.ts +3 -3
- package/dist/components/FlintTimePicker.js +15 -0
- package/dist/components/FlintToaster.js +12 -0
- package/dist/components/FlintToggle.js +15 -0
- package/dist/components/FlintToggleButton.js +15 -0
- package/dist/components/FlintToggleButtonGroup.js +15 -0
- package/dist/components/FlintTooltip.js +12 -0
- package/dist/components/FlintTransferList.d.ts +4 -4
- package/dist/components/FlintTransferList.js +15 -0
- package/dist/components/FlintTreeItem.js +16 -0
- package/dist/components/FlintTypography.js +12 -0
- package/dist/components/FlintVisuallyHidden.js +12 -0
- package/dist/copy-button.d.ts +1 -1
- package/dist/date-field.d.ts +1 -1
- package/dist/date-picker.d.ts +2 -2
- package/dist/date-picker.js +2 -2
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.js +2 -2
- package/dist/drawer.d.ts +1 -1
- package/dist/events/flint-accordion-summary.js +7 -0
- package/dist/events/flint-accordion.js +7 -0
- package/dist/events/flint-alert.js +7 -0
- package/dist/events/flint-autocomplete.js +7 -0
- package/dist/events/flint-backdrop.js +7 -0
- package/dist/events/flint-bottom-navigation.js +7 -0
- package/dist/events/flint-box.js +7 -0
- package/dist/events/flint-carousel.js +7 -0
- package/dist/events/flint-checkbox.js +7 -0
- package/dist/events/flint-chip.d.ts +1 -1
- package/dist/events/flint-chip.js +8 -0
- package/dist/events/flint-collapsible.js +7 -0
- package/dist/events/flint-command-dialog.js +7 -0
- package/dist/events/flint-command-item.js +7 -0
- package/dist/events/flint-command.js +7 -0
- package/dist/events/flint-copy-button.js +8 -0
- package/dist/events/flint-date-field.js +8 -0
- package/dist/events/flint-date-picker-calendar.js +7 -0
- package/dist/events/flint-date-picker.d.ts +1 -1
- package/dist/events/flint-date-picker.js +7 -0
- package/dist/events/flint-date-range-calendar.js +7 -0
- package/dist/events/flint-date-range-picker.js +7 -0
- package/dist/events/flint-desktop-time-picker.d.ts +1 -1
- package/dist/events/flint-desktop-time-picker.js +7 -0
- package/dist/events/flint-dialog.d.ts +1 -1
- package/dist/events/flint-dialog.js +7 -0
- package/dist/events/flint-digital-clock.d.ts +1 -1
- package/dist/events/flint-digital-clock.js +7 -0
- package/dist/events/flint-drawer.js +7 -0
- package/dist/events/flint-hover-card.d.ts +4 -0
- package/dist/events/flint-hover-card.js +8 -0
- package/dist/events/flint-image-comparer.js +7 -0
- package/dist/events/flint-input-otp.js +8 -0
- package/dist/events/flint-input.js +8 -0
- package/dist/events/flint-menu-item.js +7 -0
- package/dist/events/flint-menu.js +7 -0
- package/dist/events/flint-menubar-checkbox-item.js +7 -0
- package/dist/events/flint-menubar-content.js +7 -0
- package/dist/events/flint-menubar-item.js +7 -0
- package/dist/events/flint-menubar-radio-group.js +7 -0
- package/dist/events/flint-menubar-radio-item.js +7 -0
- package/dist/events/flint-menubar.d.ts +5 -0
- package/dist/events/flint-menubar.js +9 -0
- package/dist/events/flint-mobile-stepper.d.ts +4 -0
- package/dist/events/flint-mobile-stepper.js +8 -0
- package/dist/events/flint-mobile-time-picker.d.ts +1 -1
- package/dist/events/flint-mobile-time-picker.js +7 -0
- package/dist/events/flint-multi-section-digital-clock.d.ts +1 -1
- package/dist/events/flint-multi-section-digital-clock.js +7 -0
- package/dist/events/flint-navigation-menu-content.js +7 -0
- package/dist/events/flint-navigation-menu-item.js +8 -0
- package/dist/events/flint-navigation-menu-trigger.js +7 -0
- package/dist/events/flint-pagination.js +7 -0
- package/dist/events/flint-radio-group.js +7 -0
- package/dist/events/flint-radio.js +7 -0
- package/dist/events/flint-range-slider.js +7 -0
- package/dist/events/flint-rating.js +7 -0
- package/dist/events/flint-resizable-group.js +9 -0
- package/dist/events/flint-rich-tree-view.js +10 -0
- package/dist/events/flint-select.js +7 -0
- package/dist/events/flint-simple-tree-view.js +8 -0
- package/dist/events/flint-single-input-date-range-field.js +8 -0
- package/dist/events/flint-slider.js +7 -0
- package/dist/events/flint-snackbar.js +8 -0
- package/dist/events/flint-speed-dial-action.js +7 -0
- package/dist/events/flint-speed-dial.d.ts +4 -0
- package/dist/events/flint-speed-dial.js +8 -0
- package/dist/events/flint-split-panel.js +7 -0
- package/dist/events/flint-static-time-picker.d.ts +1 -1
- package/dist/events/flint-static-time-picker.js +7 -0
- package/dist/events/flint-step.js +7 -0
- package/dist/events/flint-stepper.js +7 -0
- package/dist/events/flint-switch.js +7 -0
- package/dist/events/flint-tab-list.js +7 -0
- package/dist/events/flint-tab.js +7 -0
- package/dist/events/flint-table-pagination.js +8 -0
- package/dist/events/flint-tabs.js +7 -0
- package/dist/events/flint-text-field.d.ts +2 -2
- package/dist/events/flint-text-field.js +8 -0
- package/dist/events/flint-textarea.js +8 -0
- package/dist/events/flint-time-clock.d.ts +1 -1
- package/dist/events/flint-time-clock.js +8 -0
- package/dist/events/flint-time-field.d.ts +1 -1
- package/dist/events/flint-time-field.js +8 -0
- package/dist/events/flint-time-picker.d.ts +1 -1
- package/dist/events/flint-time-picker.js +7 -0
- package/dist/events/flint-toggle-button-group.js +7 -0
- package/dist/events/flint-toggle-button.js +7 -0
- package/dist/events/flint-toggle.js +7 -0
- package/dist/events/flint-transfer-list.d.ts +1 -1
- package/dist/events/flint-transfer-list.js +7 -0
- package/dist/events/flint-tree-item.js +8 -0
- package/dist/events/index.d.ts +4 -0
- package/dist/events/index.js +476 -0
- package/dist/flint-range-slider.d.ts +1 -1
- package/dist/hover-card.d.ts +2 -1
- package/dist/hover-card.js +12 -1
- package/dist/image-comparer.d.ts +1 -1
- package/dist/index.d.ts +57 -57
- package/dist/index.js +78 -32
- package/dist/input-otp.d.ts +1 -1
- package/dist/input.d.ts +1 -1
- package/dist/menu.d.ts +1 -1
- package/dist/menubar.d.ts +6 -5
- package/dist/menubar.js +14 -1
- package/dist/navigation-menu.d.ts +1 -1
- package/dist/pagination.d.ts +1 -1
- package/dist/radio.d.ts +2 -2
- package/dist/rating.d.ts +1 -1
- package/dist/select.d.ts +1 -1
- package/dist/slider.d.ts +1 -1
- package/dist/snackbar.d.ts +1 -1
- package/dist/speed-dial.d.ts +3 -2
- package/dist/speed-dial.js +13 -2
- package/dist/split-panel.d.ts +1 -1
- package/dist/stepper.d.ts +3 -2
- package/dist/stepper.js +12 -1
- package/dist/switch.d.ts +1 -1
- package/dist/table.d.ts +1 -1
- package/dist/tabs.d.ts +2 -2
- package/dist/text-field.d.ts +1 -1
- package/dist/text-field.js +4 -4
- package/dist/textarea.d.ts +1 -1
- package/dist/time-picker.d.ts +5 -5
- package/dist/time-picker.js +16 -16
- package/dist/toggle.d.ts +1 -1
- package/dist/transfer-list.d.ts +1 -1
- package/dist/transfer-list.js +2 -2
- package/dist/tree-view.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintSpeedDial as FlintSpeedDialElement } from '@getufy/flint-ui/speed-dial/flint-speed-dial';
|
|
3
|
+
export interface FlintSpeedDialOpenDetail {
|
|
4
|
+
open: true;
|
|
5
|
+
}
|
|
6
|
+
export interface FlintSpeedDialCloseDetail {
|
|
7
|
+
open: false;
|
|
8
|
+
}
|
|
3
9
|
/**
|
|
4
10
|
* Speed Dial — a FAB that reveals 3-6 related actions when pressed.
|
|
5
11
|
*
|
|
@@ -26,5 +32,9 @@ export interface FlintSpeedDialProps extends Omit<React.HTMLAttributes<FlintSpee
|
|
|
26
32
|
ariaLabel?: string;
|
|
27
33
|
/** True on touch-only devices (auto-detected unless explicitly set). */
|
|
28
34
|
isTouch?: boolean;
|
|
35
|
+
/** Fired when the dial opens. detail: `{ open: true }` */
|
|
36
|
+
onFlintSpeedDialOpen?: (event: CustomEvent<FlintSpeedDialOpenDetail>) => void;
|
|
37
|
+
/** Fired when the dial closes. detail: `{ open: false }` */
|
|
38
|
+
onFlintSpeedDialClose?: (event: CustomEvent<FlintSpeedDialCloseDetail>) => void;
|
|
29
39
|
}
|
|
30
40
|
export declare const FlintSpeedDial: React.ForwardRefExoticComponent<FlintSpeedDialProps & React.RefAttributes<FlintSpeedDialElement>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/FlintSpeedDial.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintSpeedDial as FlintSpeedDialElement } from "@getufy/flint-ui/speed-dial/flint-speed-dial";
|
|
5
|
+
var FlintSpeedDial = createComponent({
|
|
6
|
+
tagName: "flint-speed-dial",
|
|
7
|
+
elementClass: FlintSpeedDialElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintSpeedDialOpen: "flint-speed-dial-open",
|
|
11
|
+
onFlintSpeedDialClose: "flint-speed-dial-close"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
FlintSpeedDial
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintSpeedDialAction.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintSpeedDialAction as FlintSpeedDialActionElement } from "@getufy/flint-ui/speed-dial/flint-speed-dial";
|
|
5
|
+
var FlintSpeedDialAction = createComponent({
|
|
6
|
+
tagName: "flint-speed-dial-action",
|
|
7
|
+
elementClass: FlintSpeedDialActionElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintSpeedDialActionClick: "flint-speed-dial-action-click"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintSpeedDialAction
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintSplitPanel.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintSplitPanel as FlintSplitPanelElement } from "@getufy/flint-ui/split-panel/flint-split-panel";
|
|
5
|
+
var FlintSplitPanel = createComponent({
|
|
6
|
+
tagName: "flint-split-panel",
|
|
7
|
+
elementClass: FlintSplitPanelElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintSplitPanelReposition: "flint-split-panel-reposition"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintSplitPanel
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintStack.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintStack as FlintStackElement } from "@getufy/flint-ui/stack/flint-stack";
|
|
5
|
+
var FlintStack = createComponent({
|
|
6
|
+
tagName: "flint-stack",
|
|
7
|
+
elementClass: FlintStackElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintStack
|
|
12
|
+
};
|
|
@@ -3,14 +3,14 @@ import { FlintStaticTimePicker as FlintStaticTimePickerElement } from '@getufy/f
|
|
|
3
3
|
/**
|
|
4
4
|
* Static Time Picker: an always-visible inline clock.
|
|
5
5
|
*/
|
|
6
|
-
export interface FlintStaticTimePickerProps extends
|
|
6
|
+
export interface FlintStaticTimePickerProps extends React.HTMLAttributes<FlintStaticTimePickerElement> {
|
|
7
7
|
/** Time value in HH:MM:SS format. */
|
|
8
8
|
value?: string;
|
|
9
9
|
/** Whether to use 12-hour (AM/PM) format instead of 24-hour. */
|
|
10
10
|
ampm?: boolean;
|
|
11
11
|
/** Whether to show a seconds section. */
|
|
12
12
|
seconds?: boolean;
|
|
13
|
-
/** Fired when the time value changes. */
|
|
14
|
-
|
|
13
|
+
/** Fired when the time value changes. detail: `{ value: string }` */
|
|
14
|
+
onFlintStaticTimePickerChange?: (event: CustomEvent) => void;
|
|
15
15
|
}
|
|
16
16
|
export declare const FlintStaticTimePicker: React.ForwardRefExoticComponent<FlintStaticTimePickerProps & React.RefAttributes<FlintStaticTimePickerElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintStaticTimePicker.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintStaticTimePicker as FlintStaticTimePickerElement } from "@getufy/flint-ui/time-picker/flint-time-picker";
|
|
5
|
+
var FlintStaticTimePicker = createComponent({
|
|
6
|
+
tagName: "flint-static-time-picker",
|
|
7
|
+
elementClass: FlintStaticTimePickerElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintStaticTimePickerChange: "flint-static-time-picker-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintStaticTimePicker
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintStep.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintStep as FlintStepElement } from "@getufy/flint-ui/stepper/flint-stepper";
|
|
5
|
+
var FlintStep = createComponent({
|
|
6
|
+
tagName: "flint-step",
|
|
7
|
+
elementClass: FlintStepElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintStepClick: "flint-step-click"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintStep
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintStepConnector.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintStepConnector as FlintStepConnectorElement } from "@getufy/flint-ui/stepper/flint-stepper";
|
|
5
|
+
var FlintStepConnector = createComponent({
|
|
6
|
+
tagName: "flint-step-connector",
|
|
7
|
+
elementClass: FlintStepConnectorElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintStepConnector
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintStepContent.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintStepContent as FlintStepContentElement } from "@getufy/flint-ui/stepper/flint-stepper";
|
|
5
|
+
var FlintStepContent = createComponent({
|
|
6
|
+
tagName: "flint-step-content",
|
|
7
|
+
elementClass: FlintStepContentElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintStepContent
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintStepLabel.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintStepLabel as FlintStepLabelElement } from "@getufy/flint-ui/stepper/flint-stepper";
|
|
5
|
+
var FlintStepLabel = createComponent({
|
|
6
|
+
tagName: "flint-step-label",
|
|
7
|
+
elementClass: FlintStepLabelElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintStepLabel
|
|
12
|
+
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintStepper as FlintStepperElement } from '@getufy/flint-ui/stepper/flint-stepper';
|
|
3
|
+
export interface FlintStepChangeDetail {
|
|
4
|
+
step: number;
|
|
5
|
+
}
|
|
3
6
|
/**
|
|
4
7
|
* Stepper: a multi-step progress indicator.
|
|
5
8
|
*/
|
|
@@ -17,6 +20,6 @@ export interface FlintStepperProps extends React.HTMLAttributes<FlintStepperElem
|
|
|
17
20
|
/** Accessible label for the stepper landmark (maps to aria-label on the list element). */
|
|
18
21
|
label?: string;
|
|
19
22
|
/** Fired when the active step changes via step click. */
|
|
20
|
-
onFlintStepChange?: (event: CustomEvent) => void;
|
|
23
|
+
onFlintStepChange?: (event: CustomEvent<FlintStepChangeDetail>) => void;
|
|
21
24
|
}
|
|
22
25
|
export declare const FlintStepper: React.ForwardRefExoticComponent<FlintStepperProps & React.RefAttributes<FlintStepperElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintStepper.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintStepper as FlintStepperElement } from "@getufy/flint-ui/stepper/flint-stepper";
|
|
5
|
+
var FlintStepper = createComponent({
|
|
6
|
+
tagName: "flint-stepper",
|
|
7
|
+
elementClass: FlintStepperElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintStepChange: "flint-step-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintStepper
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintSwitch.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintSwitch as FlintSwitchElement } from "@getufy/flint-ui/switch/flint-switch";
|
|
5
|
+
var FlintSwitch = createComponent({
|
|
6
|
+
tagName: "flint-switch",
|
|
7
|
+
elementClass: FlintSwitchElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintSwitchChange: "flint-switch-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintSwitch
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintTab.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTab as FlintTabElement } from "@getufy/flint-ui/tabs/flint-tabs";
|
|
5
|
+
var FlintTab = createComponent({
|
|
6
|
+
tagName: "flint-tab",
|
|
7
|
+
elementClass: FlintTabElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintTabClick: "flint-tab-click"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintTab
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintTabList.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTabList as FlintTabListElement } from "@getufy/flint-ui/tabs/flint-tabs";
|
|
5
|
+
var FlintTabList = createComponent({
|
|
6
|
+
tagName: "flint-tab-list",
|
|
7
|
+
elementClass: FlintTabListElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintTabClick: "flint-tab-click"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintTabList
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTabPanel.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTabPanel as FlintTabPanelElement } from "@getufy/flint-ui/tabs/flint-tabs";
|
|
5
|
+
var FlintTabPanel = createComponent({
|
|
6
|
+
tagName: "flint-tab-panel",
|
|
7
|
+
elementClass: FlintTabPanelElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTabPanel
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTable.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTable as FlintTableElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTable = createComponent({
|
|
6
|
+
tagName: "flint-table",
|
|
7
|
+
elementClass: FlintTableElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTable
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableBody.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableBody as FlintTableBodyElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTableBody = createComponent({
|
|
6
|
+
tagName: "flint-table-body",
|
|
7
|
+
elementClass: FlintTableBodyElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableBody
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableCell.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableCell as FlintTableCellElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTableCell = createComponent({
|
|
6
|
+
tagName: "flint-table-cell",
|
|
7
|
+
elementClass: FlintTableCellElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableCell
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableContainer.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableContainer as FlintTableContainerElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTableContainer = createComponent({
|
|
6
|
+
tagName: "flint-table-container",
|
|
7
|
+
elementClass: FlintTableContainerElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableContainer
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableFooter.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableFooter as FlintTableFooterElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTableFooter = createComponent({
|
|
6
|
+
tagName: "flint-table-footer",
|
|
7
|
+
elementClass: FlintTableFooterElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableFooter
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableHead.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableHead as FlintTableHeadElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTableHead = createComponent({
|
|
6
|
+
tagName: "flint-table-head",
|
|
7
|
+
elementClass: FlintTableHeadElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableHead
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/FlintTablePagination.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTablePagination as FlintTablePaginationElement } from "@getufy/flint-ui/table/flint-table-pagination";
|
|
5
|
+
var FlintTablePagination = createComponent({
|
|
6
|
+
tagName: "flint-table-pagination",
|
|
7
|
+
elementClass: FlintTablePaginationElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintPaginationPageChange: "flint-pagination-page-change",
|
|
11
|
+
onFlintPaginationRowsPerPageChange: "flint-pagination-rows-per-page-change"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
FlintTablePagination
|
|
16
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableRow.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableRow as FlintTableRowElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTableRow = createComponent({
|
|
6
|
+
tagName: "flint-table-row",
|
|
7
|
+
elementClass: FlintTableRowElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableRow
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableSortLabel.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableSortLabel as FlintTableSortLabelElement } from "@getufy/flint-ui/table/flint-table-sort-label";
|
|
5
|
+
var FlintTableSortLabel = createComponent({
|
|
6
|
+
tagName: "flint-table-sort-label",
|
|
7
|
+
elementClass: FlintTableSortLabelElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableSortLabel
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintTabs.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTabs as FlintTabsElement } from "@getufy/flint-ui/tabs/flint-tabs";
|
|
5
|
+
var FlintTabs = createComponent({
|
|
6
|
+
tagName: "flint-tabs",
|
|
7
|
+
elementClass: FlintTabsElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintTabChange: "flint-tab-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintTabs
|
|
15
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintTextField as FlintTextFieldElement } from '@getufy/flint-ui/text-field/flint-text-field';
|
|
3
|
-
export interface
|
|
3
|
+
export interface FlintTextFieldInputDetail {
|
|
4
4
|
value: string;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface FlintTextFieldChangeDetail {
|
|
7
7
|
value: string;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Text Field: a styled text input with outlined/filled variants.
|
|
11
11
|
*/
|
|
12
|
-
export interface FlintTextFieldProps extends Omit<React.HTMLAttributes<FlintTextFieldElement>, '
|
|
12
|
+
export interface FlintTextFieldProps extends Omit<React.HTMLAttributes<FlintTextFieldElement>, 'defaultValue'> {
|
|
13
13
|
/** Label text displayed above the input. */
|
|
14
14
|
label?: string;
|
|
15
15
|
/** Current value of the text field. */
|
|
@@ -30,9 +30,9 @@ export interface FlintTextFieldProps extends Omit<React.HTMLAttributes<FlintText
|
|
|
30
30
|
errorMessage?: string;
|
|
31
31
|
/** Initial value for uncontrolled usage. */
|
|
32
32
|
defaultValue?: string;
|
|
33
|
-
/** Fired on each keystroke as the value changes. */
|
|
34
|
-
|
|
35
|
-
/** Fired when the input loses focus after the value has changed. */
|
|
36
|
-
|
|
33
|
+
/** Fired on each keystroke as the value changes. detail: `{ value: string }` */
|
|
34
|
+
onFlintTextFieldInput?: (event: CustomEvent<FlintTextFieldInputDetail>) => void;
|
|
35
|
+
/** Fired when the input loses focus after the value has changed. detail: `{ value: string }` */
|
|
36
|
+
onFlintTextFieldChange?: (event: CustomEvent<FlintTextFieldChangeDetail>) => void;
|
|
37
37
|
}
|
|
38
38
|
export declare const FlintTextField: React.ForwardRefExoticComponent<FlintTextFieldProps & React.RefAttributes<FlintTextFieldElement>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/FlintTextField.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTextField as FlintTextFieldElement } from "@getufy/flint-ui/text-field/flint-text-field";
|
|
5
|
+
var FlintTextField = createComponent({
|
|
6
|
+
tagName: "flint-text-field",
|
|
7
|
+
elementClass: FlintTextFieldElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintTextFieldInput: "flint-text-field-input",
|
|
11
|
+
onFlintTextFieldChange: "flint-text-field-change"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
FlintTextField
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/FlintTextarea.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTextarea as FlintTextareaElement } from "@getufy/flint-ui/textarea/flint-textarea";
|
|
5
|
+
var FlintTextarea = createComponent({
|
|
6
|
+
tagName: "flint-textarea",
|
|
7
|
+
elementClass: FlintTextareaElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintTextareaInput: "flint-textarea-input",
|
|
11
|
+
onFlintTextareaChange: "flint-textarea-change"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
FlintTextarea
|
|
16
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintTimeClock as FlintTimeClockElement } from '@getufy/flint-ui/time-picker/flint-time-picker';
|
|
3
|
-
export interface
|
|
3
|
+
export interface FlintTimeClockChangeDetail {
|
|
4
4
|
value: string;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* Time Clock: an analog clock face for selecting hours, minutes, and seconds.
|
|
8
8
|
*/
|
|
9
|
-
export interface FlintTimeClockProps extends
|
|
9
|
+
export interface FlintTimeClockProps extends React.HTMLAttributes<FlintTimeClockElement> {
|
|
10
10
|
/** Time value in HH:MM:SS format. */
|
|
11
11
|
value?: string;
|
|
12
12
|
/** Whether to use 12-hour (AM/PM) format instead of 24-hour. */
|
|
@@ -15,8 +15,8 @@ export interface FlintTimeClockProps extends Omit<React.HTMLAttributes<FlintTime
|
|
|
15
15
|
seconds?: boolean;
|
|
16
16
|
/** Currently active clock face view. */
|
|
17
17
|
view?: FlintTimeClockElement['view'];
|
|
18
|
-
/** Fired when the time value changes. */
|
|
19
|
-
|
|
18
|
+
/** Fired when the time value changes. detail: `{ value: string }` */
|
|
19
|
+
onFlintTimeClockChange?: (event: CustomEvent<FlintTimeClockChangeDetail>) => void;
|
|
20
20
|
/** Fired when the clock face view switches. */
|
|
21
21
|
onFlintTimeClockViewChange?: (event: CustomEvent) => void;
|
|
22
22
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/FlintTimeClock.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTimeClock as FlintTimeClockElement } from "@getufy/flint-ui/time-picker/flint-time-picker";
|
|
5
|
+
var FlintTimeClock = createComponent({
|
|
6
|
+
tagName: "flint-time-clock",
|
|
7
|
+
elementClass: FlintTimeClockElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintTimeClockChange: "flint-time-clock-change",
|
|
11
|
+
onFlintTimeClockViewChange: "flint-time-clock-view-change"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
FlintTimeClock
|
|
16
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintTimeField as FlintTimeFieldElement } from '@getufy/flint-ui/time-picker/flint-time-picker';
|
|
3
|
-
export interface
|
|
3
|
+
export interface FlintTimeFieldChangeDetail {
|
|
4
4
|
value: string;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* Time Field: a segmented time input with keyboard navigation.
|
|
8
8
|
*/
|
|
9
|
-
export interface FlintTimeFieldProps extends
|
|
9
|
+
export interface FlintTimeFieldProps extends React.HTMLAttributes<FlintTimeFieldElement> {
|
|
10
10
|
/** Time value in HH:MM:SS format. */
|
|
11
11
|
value?: string;
|
|
12
12
|
/** Field label text. */
|
|
@@ -27,7 +27,7 @@ export interface FlintTimeFieldProps extends Omit<React.HTMLAttributes<FlintTime
|
|
|
27
27
|
errorMessage?: string;
|
|
28
28
|
/** Fired when the clear button is clicked. */
|
|
29
29
|
onFlintTimePickerClear?: (event: CustomEvent) => void;
|
|
30
|
-
/** Fired when the time value changes. */
|
|
31
|
-
|
|
30
|
+
/** Fired when the time value changes. detail: `{ value: string }` */
|
|
31
|
+
onFlintTimeFieldChange?: (event: CustomEvent<FlintTimeFieldChangeDetail>) => void;
|
|
32
32
|
}
|
|
33
33
|
export declare const FlintTimeField: React.ForwardRefExoticComponent<FlintTimeFieldProps & React.RefAttributes<FlintTimeFieldElement>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/FlintTimeField.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTimeField as FlintTimeFieldElement } from "@getufy/flint-ui/time-picker/flint-time-picker";
|
|
5
|
+
var FlintTimeField = createComponent({
|
|
6
|
+
tagName: "flint-time-field",
|
|
7
|
+
elementClass: FlintTimeFieldElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintTimePickerClear: "flint-time-picker-clear",
|
|
11
|
+
onFlintTimeFieldChange: "flint-time-field-change"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
FlintTimeField
|
|
16
|
+
};
|
|
@@ -3,7 +3,7 @@ import { FlintTimePicker as FlintTimePickerElement } from '@getufy/flint-ui/time
|
|
|
3
3
|
/**
|
|
4
4
|
* Time Picker: a configurable time input supporting desktop, mobile, and static variants.
|
|
5
5
|
*/
|
|
6
|
-
export interface FlintTimePickerProps extends
|
|
6
|
+
export interface FlintTimePickerProps extends React.HTMLAttributes<FlintTimePickerElement> {
|
|
7
7
|
/** Time value in HH:MM:SS format. */
|
|
8
8
|
value?: string;
|
|
9
9
|
/** Field label text. */
|
|
@@ -22,7 +22,7 @@ export interface FlintTimePickerProps extends Omit<React.HTMLAttributes<FlintTim
|
|
|
22
22
|
helperText?: string;
|
|
23
23
|
/** Error message displayed below the field when in error state. */
|
|
24
24
|
errorMessage?: string;
|
|
25
|
-
/** Fired when the time value changes. */
|
|
26
|
-
|
|
25
|
+
/** Fired when the time value changes. detail: `{ value: string }` */
|
|
26
|
+
onFlintTimePickerChange?: (event: CustomEvent) => void;
|
|
27
27
|
}
|
|
28
28
|
export declare const FlintTimePicker: React.ForwardRefExoticComponent<FlintTimePickerProps & React.RefAttributes<FlintTimePickerElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintTimePicker.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTimePicker as FlintTimePickerElement } from "@getufy/flint-ui/time-picker/flint-time-picker";
|
|
5
|
+
var FlintTimePicker = createComponent({
|
|
6
|
+
tagName: "flint-time-picker",
|
|
7
|
+
elementClass: FlintTimePickerElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintTimePickerChange: "flint-time-picker-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintTimePicker
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintToaster.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintToaster as FlintToasterElement } from "@getufy/flint-ui/sonner/flint-sonner";
|
|
5
|
+
var FlintToaster = createComponent({
|
|
6
|
+
tagName: "flint-toaster",
|
|
7
|
+
elementClass: FlintToasterElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintToaster
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintToggle.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintToggle as FlintToggleElement } from "@getufy/flint-ui/toggle/flint-toggle";
|
|
5
|
+
var FlintToggle = createComponent({
|
|
6
|
+
tagName: "flint-toggle",
|
|
7
|
+
elementClass: FlintToggleElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintToggleChange: "flint-toggle-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintToggle
|
|
15
|
+
};
|