@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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintCommandDialog.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCommandDialog as FlintCommandDialogElement } from "@getufy/flint-ui/command/flint-command";
|
|
5
|
+
var FlintCommandDialog = createComponent({
|
|
6
|
+
tagName: "flint-command-dialog",
|
|
7
|
+
elementClass: FlintCommandDialogElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintCommandDialogClose: "flint-command-dialog-close"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintCommandDialog
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCommandEmpty.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCommandEmpty as FlintCommandEmptyElement } from "@getufy/flint-ui/command/flint-command";
|
|
5
|
+
var FlintCommandEmpty = createComponent({
|
|
6
|
+
tagName: "flint-command-empty",
|
|
7
|
+
elementClass: FlintCommandEmptyElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCommandEmpty
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCommandGroup.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCommandGroup as FlintCommandGroupElement } from "@getufy/flint-ui/command/flint-command";
|
|
5
|
+
var FlintCommandGroup = createComponent({
|
|
6
|
+
tagName: "flint-command-group",
|
|
7
|
+
elementClass: FlintCommandGroupElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCommandGroup
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCommandInput.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCommandInput as FlintCommandInputElement } from "@getufy/flint-ui/command/flint-command";
|
|
5
|
+
var FlintCommandInput = createComponent({
|
|
6
|
+
tagName: "flint-command-input",
|
|
7
|
+
elementClass: FlintCommandInputElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCommandInput
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintCommandItem.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCommandItem as FlintCommandItemElement } from "@getufy/flint-ui/command/flint-command";
|
|
5
|
+
var FlintCommandItem = createComponent({
|
|
6
|
+
tagName: "flint-command-item",
|
|
7
|
+
elementClass: FlintCommandItemElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintCommandItemSelect: "flint-command-item-select"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintCommandItem
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCommandList.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCommandList as FlintCommandListElement } from "@getufy/flint-ui/command/flint-command";
|
|
5
|
+
var FlintCommandList = createComponent({
|
|
6
|
+
tagName: "flint-command-list",
|
|
7
|
+
elementClass: FlintCommandListElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCommandList
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCommandSeparator.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCommandSeparator as FlintCommandSeparatorElement } from "@getufy/flint-ui/command/flint-command";
|
|
5
|
+
var FlintCommandSeparator = createComponent({
|
|
6
|
+
tagName: "flint-command-separator",
|
|
7
|
+
elementClass: FlintCommandSeparatorElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCommandSeparator
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCommandShortcut.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCommandShortcut as FlintCommandShortcutElement } from "@getufy/flint-ui/command/flint-command";
|
|
5
|
+
var FlintCommandShortcut = createComponent({
|
|
6
|
+
tagName: "flint-command-shortcut",
|
|
7
|
+
elementClass: FlintCommandShortcutElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCommandShortcut
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintContainer.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintContainer as FlintContainerElement } from "@getufy/flint-ui/container/flint-container";
|
|
5
|
+
var FlintContainer = createComponent({
|
|
6
|
+
tagName: "flint-container",
|
|
7
|
+
elementClass: FlintContainerElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintContainer
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/FlintCopyButton.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCopyButton as FlintCopyButtonElement } from "@getufy/flint-ui/copy-button/flint-copy-button";
|
|
5
|
+
var FlintCopyButton = createComponent({
|
|
6
|
+
tagName: "flint-copy-button",
|
|
7
|
+
elementClass: FlintCopyButtonElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintCopyError: "flint-copy-error",
|
|
11
|
+
onFlintCopy: "flint-copy"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
FlintCopyButton
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/FlintDateField.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDateField as FlintDateFieldElement } from "@getufy/flint-ui/date-field/flint-date-field";
|
|
5
|
+
var FlintDateField = createComponent({
|
|
6
|
+
tagName: "flint-date-field",
|
|
7
|
+
elementClass: FlintDateFieldElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintDateFieldClear: "flint-date-field-clear",
|
|
11
|
+
onFlintDateFieldChange: "flint-date-field-change"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
FlintDateField
|
|
16
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintDatePicker as FlintDatePickerElement } from '@getufy/flint-ui/date-picker/flint-date-picker';
|
|
3
|
-
export interface
|
|
3
|
+
export interface FlintDatePickerChangeDetail {
|
|
4
4
|
value: string;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* A date picker with a text field and a calendar popover/modal.
|
|
8
8
|
*/
|
|
9
|
-
export interface FlintDatePickerProps extends
|
|
9
|
+
export interface FlintDatePickerProps extends React.HTMLAttributes<FlintDatePickerElement> {
|
|
10
10
|
/** Selected date as ISO string (YYYY-MM-DD). */
|
|
11
11
|
value?: string;
|
|
12
12
|
/** Label shown above the field. */
|
|
@@ -31,7 +31,7 @@ export interface FlintDatePickerProps extends Omit<React.HTMLAttributes<FlintDat
|
|
|
31
31
|
helperText?: string;
|
|
32
32
|
/** Error message displayed below the field when in error state. */
|
|
33
33
|
errorMessage?: string;
|
|
34
|
-
/**
|
|
35
|
-
|
|
34
|
+
/** Fired when the date changes. detail: `{ value: string }` */
|
|
35
|
+
onFlintDatePickerChange?: (event: CustomEvent<FlintDatePickerChangeDetail>) => void;
|
|
36
36
|
}
|
|
37
37
|
export declare const FlintDatePicker: React.ForwardRefExoticComponent<FlintDatePickerProps & React.RefAttributes<FlintDatePickerElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintDatePicker.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDatePicker as FlintDatePickerElement } from "@getufy/flint-ui/date-picker/flint-date-picker";
|
|
5
|
+
var FlintDatePicker = createComponent({
|
|
6
|
+
tagName: "flint-date-picker",
|
|
7
|
+
elementClass: FlintDatePickerElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintDatePickerChange: "flint-date-picker-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintDatePicker
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintDatePickerCalendar.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDatePickerCalendar as FlintDatePickerCalendarElement } from "@getufy/flint-ui/date-picker/flint-date-picker";
|
|
5
|
+
var FlintDatePickerCalendar = createComponent({
|
|
6
|
+
tagName: "flint-date-picker-calendar",
|
|
7
|
+
elementClass: FlintDatePickerCalendarElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintDatePickerSelect: "flint-date-picker-select"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintDatePickerCalendar
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintDateRangeCalendar.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDateRangeCalendar as FlintDateRangeCalendarElement } from "@getufy/flint-ui/date-range-picker/flint-date-range-calendar";
|
|
5
|
+
var FlintDateRangeCalendar = createComponent({
|
|
6
|
+
tagName: "flint-date-range-calendar",
|
|
7
|
+
elementClass: FlintDateRangeCalendarElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintDateRangePickerSelect: "flint-date-range-picker-select"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintDateRangeCalendar
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintDateRangePicker.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDateRangePicker as FlintDateRangePickerElement } from "@getufy/flint-ui/date-range-picker/flint-date-range-picker";
|
|
5
|
+
var FlintDateRangePicker = createComponent({
|
|
6
|
+
tagName: "flint-date-range-picker",
|
|
7
|
+
elementClass: FlintDateRangePickerElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintDateRangePickerChange: "flint-date-range-picker-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintDateRangePicker
|
|
15
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintDesktopTimePicker as FlintDesktopTimePickerElement } from '@getufy/flint-ui/time-picker/flint-time-picker';
|
|
3
|
-
export interface
|
|
3
|
+
export interface FlintDesktopTimePickerChangeDetail {
|
|
4
4
|
value: string;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* Desktop Time Picker: a time field with a dropdown clock.
|
|
8
8
|
*/
|
|
9
|
-
export interface FlintDesktopTimePickerProps extends
|
|
9
|
+
export interface FlintDesktopTimePickerProps extends React.HTMLAttributes<FlintDesktopTimePickerElement> {
|
|
10
10
|
/** Time value in HH:MM:SS format. */
|
|
11
11
|
value?: string;
|
|
12
12
|
/** Field label text. */
|
|
@@ -25,7 +25,7 @@ export interface FlintDesktopTimePickerProps extends Omit<React.HTMLAttributes<F
|
|
|
25
25
|
helperText?: string;
|
|
26
26
|
/** Error message displayed below the field when in error state. */
|
|
27
27
|
errorMessage?: string;
|
|
28
|
-
/** Fired when the time value changes. */
|
|
29
|
-
|
|
28
|
+
/** Fired when the time value changes. detail: `{ value: string }` */
|
|
29
|
+
onFlintDesktopTimePickerChange?: (event: CustomEvent<FlintDesktopTimePickerChangeDetail>) => void;
|
|
30
30
|
}
|
|
31
31
|
export declare const FlintDesktopTimePicker: React.ForwardRefExoticComponent<FlintDesktopTimePickerProps & React.RefAttributes<FlintDesktopTimePickerElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintDesktopTimePicker.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDesktopTimePicker as FlintDesktopTimePickerElement } from "@getufy/flint-ui/time-picker/flint-time-picker";
|
|
5
|
+
var FlintDesktopTimePicker = createComponent({
|
|
6
|
+
tagName: "flint-desktop-time-picker",
|
|
7
|
+
elementClass: FlintDesktopTimePickerElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintDesktopTimePickerChange: "flint-desktop-time-picker-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintDesktopTimePicker
|
|
15
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintDialog as FlintDialogElement } from '@getufy/flint-ui/dialog/flint-dialog';
|
|
3
|
-
export interface
|
|
3
|
+
export interface FlintDialogCloseDetail {
|
|
4
4
|
open: boolean;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
@@ -20,6 +20,6 @@ export interface FlintDialogProps extends React.HTMLAttributes<FlintDialogElemen
|
|
|
20
20
|
/** Dispatched when the dialog requests to be closed (backdrop click or
|
|
21
21
|
an explicit call to `requestClose()`). The host is responsible for
|
|
22
22
|
setting `open = false` in response. detail: `{ open: false }` */
|
|
23
|
-
|
|
23
|
+
onFlintDialogClose?: (event: CustomEvent<FlintDialogCloseDetail>) => void;
|
|
24
24
|
}
|
|
25
25
|
export declare const FlintDialog: React.ForwardRefExoticComponent<FlintDialogProps & React.RefAttributes<FlintDialogElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintDialog.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDialog as FlintDialogElement } from "@getufy/flint-ui/dialog/flint-dialog";
|
|
5
|
+
var FlintDialog = createComponent({
|
|
6
|
+
tagName: "flint-dialog",
|
|
7
|
+
elementClass: FlintDialogElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintDialogClose: "flint-dialog-close"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintDialog
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintDialogActions.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDialogActions as FlintDialogActionsElement } from "@getufy/flint-ui/dialog/flint-dialog";
|
|
5
|
+
var FlintDialogActions = createComponent({
|
|
6
|
+
tagName: "flint-dialog-actions",
|
|
7
|
+
elementClass: FlintDialogActionsElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintDialogActions
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintDialogContent.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDialogContent as FlintDialogContentElement } from "@getufy/flint-ui/dialog/flint-dialog";
|
|
5
|
+
var FlintDialogContent = createComponent({
|
|
6
|
+
tagName: "flint-dialog-content",
|
|
7
|
+
elementClass: FlintDialogContentElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintDialogContent
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintDialogContentText.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDialogContentText as FlintDialogContentTextElement } from "@getufy/flint-ui/dialog/flint-dialog";
|
|
5
|
+
var FlintDialogContentText = createComponent({
|
|
6
|
+
tagName: "flint-dialog-content-text",
|
|
7
|
+
elementClass: FlintDialogContentTextElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintDialogContentText
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintDialogTitle.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDialogTitle as FlintDialogTitleElement } from "@getufy/flint-ui/dialog/flint-dialog";
|
|
5
|
+
var FlintDialogTitle = createComponent({
|
|
6
|
+
tagName: "flint-dialog-title",
|
|
7
|
+
elementClass: FlintDialogTitleElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintDialogTitle
|
|
12
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintDigitalClock as FlintDigitalClockElement } from '@getufy/flint-ui/time-picker/flint-time-picker';
|
|
3
|
-
export interface
|
|
3
|
+
export interface FlintDigitalClockChangeDetail {
|
|
4
4
|
value: string;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
7
|
* Digital Clock: a scrollable time-slot picker.
|
|
8
8
|
*/
|
|
9
|
-
export interface FlintDigitalClockProps extends
|
|
9
|
+
export interface FlintDigitalClockProps extends React.HTMLAttributes<FlintDigitalClockElement> {
|
|
10
10
|
/** Time value in HH:MM:SS format. */
|
|
11
11
|
value?: string;
|
|
12
12
|
/** Step interval in minutes between selectable times. */
|
|
13
13
|
step?: number;
|
|
14
14
|
/** Whether to use 12-hour (AM/PM) format instead of 24-hour. */
|
|
15
15
|
ampm?: boolean;
|
|
16
|
-
/** Fired when a time slot is selected. */
|
|
17
|
-
|
|
16
|
+
/** Fired when a time slot is selected. detail: `{ value: string }` */
|
|
17
|
+
onFlintDigitalClockChange?: (event: CustomEvent<FlintDigitalClockChangeDetail>) => void;
|
|
18
18
|
}
|
|
19
19
|
export declare const FlintDigitalClock: React.ForwardRefExoticComponent<FlintDigitalClockProps & React.RefAttributes<FlintDigitalClockElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintDigitalClock.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDigitalClock as FlintDigitalClockElement } from "@getufy/flint-ui/time-picker/flint-time-picker";
|
|
5
|
+
var FlintDigitalClock = createComponent({
|
|
6
|
+
tagName: "flint-digital-clock",
|
|
7
|
+
elementClass: FlintDigitalClockElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintDigitalClockChange: "flint-digital-clock-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintDigitalClock
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintDivider.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDivider as FlintDividerElement } from "@getufy/flint-ui/divider/flint-divider";
|
|
5
|
+
var FlintDivider = createComponent({
|
|
6
|
+
tagName: "flint-divider",
|
|
7
|
+
elementClass: FlintDividerElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintDivider
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintDrawer.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintDrawer as FlintDrawerElement } from "@getufy/flint-ui/drawer/flint-drawer";
|
|
5
|
+
var FlintDrawer = createComponent({
|
|
6
|
+
tagName: "flint-drawer",
|
|
7
|
+
elementClass: FlintDrawerElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintDrawerClose: "flint-drawer-close"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintDrawer
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintEmpty.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintEmpty as FlintEmptyElement } from "@getufy/flint-ui/empty/flint-empty";
|
|
5
|
+
var FlintEmpty = createComponent({
|
|
6
|
+
tagName: "flint-empty",
|
|
7
|
+
elementClass: FlintEmptyElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintEmpty
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintEmptyContent.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintEmptyContent as FlintEmptyContentElement } from "@getufy/flint-ui/empty/flint-empty";
|
|
5
|
+
var FlintEmptyContent = createComponent({
|
|
6
|
+
tagName: "flint-empty-content",
|
|
7
|
+
elementClass: FlintEmptyContentElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintEmptyContent
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintEmptyDescription.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintEmptyDescription as FlintEmptyDescriptionElement } from "@getufy/flint-ui/empty/flint-empty";
|
|
5
|
+
var FlintEmptyDescription = createComponent({
|
|
6
|
+
tagName: "flint-empty-description",
|
|
7
|
+
elementClass: FlintEmptyDescriptionElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintEmptyDescription
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintEmptyHeader.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintEmptyHeader as FlintEmptyHeaderElement } from "@getufy/flint-ui/empty/flint-empty";
|
|
5
|
+
var FlintEmptyHeader = createComponent({
|
|
6
|
+
tagName: "flint-empty-header",
|
|
7
|
+
elementClass: FlintEmptyHeaderElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintEmptyHeader
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintEmptyMedia.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintEmptyMedia as FlintEmptyMediaElement } from "@getufy/flint-ui/empty/flint-empty";
|
|
5
|
+
var FlintEmptyMedia = createComponent({
|
|
6
|
+
tagName: "flint-empty-media",
|
|
7
|
+
elementClass: FlintEmptyMediaElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintEmptyMedia
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintEmptyTitle.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintEmptyTitle as FlintEmptyTitleElement } from "@getufy/flint-ui/empty/flint-empty";
|
|
5
|
+
var FlintEmptyTitle = createComponent({
|
|
6
|
+
tagName: "flint-empty-title",
|
|
7
|
+
elementClass: FlintEmptyTitleElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintEmptyTitle
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintFab.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintFab as FlintFabElement } from "@getufy/flint-ui/fab/flint-fab";
|
|
5
|
+
var FlintFab = createComponent({
|
|
6
|
+
tagName: "flint-fab",
|
|
7
|
+
elementClass: FlintFabElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintFab
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintFormatDate.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintFormatDate as FlintFormatDateElement } from "@getufy/flint-ui/format-date/flint-format-date";
|
|
5
|
+
var FlintFormatDate = createComponent({
|
|
6
|
+
tagName: "flint-format-date",
|
|
7
|
+
elementClass: FlintFormatDateElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintFormatDate
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintFormatNumber.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintFormatNumber as FlintFormatNumberElement } from "@getufy/flint-ui/format-number/flint-format-number";
|
|
5
|
+
var FlintFormatNumber = createComponent({
|
|
6
|
+
tagName: "flint-format-number",
|
|
7
|
+
elementClass: FlintFormatNumberElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintFormatNumber
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintGrid.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintGrid as FlintGridElement } from "@getufy/flint-ui/grid/flint-grid";
|
|
5
|
+
var FlintGrid = createComponent({
|
|
6
|
+
tagName: "flint-grid",
|
|
7
|
+
elementClass: FlintGridElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintGrid
|
|
12
|
+
};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintHoverCard as FlintHoverCardElement } from '@getufy/flint-ui/hover-card/flint-hover-card';
|
|
3
|
+
export interface FlintHoverCardOpenDetail {
|
|
4
|
+
open: true;
|
|
5
|
+
}
|
|
6
|
+
export interface FlintHoverCardCloseDetail {
|
|
7
|
+
open: false;
|
|
8
|
+
}
|
|
3
9
|
/**
|
|
4
10
|
* Root container for a hover card.
|
|
5
11
|
Manages open/closed state with configurable open and close delays.
|
|
@@ -11,5 +17,9 @@ export interface FlintHoverCardProps extends React.HTMLAttributes<FlintHoverCard
|
|
|
11
17
|
openDelay?: number;
|
|
12
18
|
/** Delay in milliseconds before the hover card closes. */
|
|
13
19
|
closeDelay?: number;
|
|
20
|
+
/** Fired when the card becomes visible. detail: `{ open: true }` */
|
|
21
|
+
onFlintHoverCardOpen?: (event: CustomEvent<FlintHoverCardOpenDetail>) => void;
|
|
22
|
+
/** Fired when the card is dismissed. detail: `{ open: false }` */
|
|
23
|
+
onFlintHoverCardClose?: (event: CustomEvent<FlintHoverCardCloseDetail>) => void;
|
|
14
24
|
}
|
|
15
25
|
export declare const FlintHoverCard: React.ForwardRefExoticComponent<FlintHoverCardProps & React.RefAttributes<FlintHoverCardElement>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/FlintHoverCard.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintHoverCard as FlintHoverCardElement } from "@getufy/flint-ui/hover-card/flint-hover-card";
|
|
5
|
+
var FlintHoverCard = createComponent({
|
|
6
|
+
tagName: "flint-hover-card",
|
|
7
|
+
elementClass: FlintHoverCardElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintHoverCardOpen: "flint-hover-card-open",
|
|
11
|
+
onFlintHoverCardClose: "flint-hover-card-close"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
FlintHoverCard
|
|
16
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintHoverCardContent.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintHoverCardContent as FlintHoverCardContentElement } from "@getufy/flint-ui/hover-card/flint-hover-card";
|
|
5
|
+
var FlintHoverCardContent = createComponent({
|
|
6
|
+
tagName: "flint-hover-card-content",
|
|
7
|
+
elementClass: FlintHoverCardContentElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintHoverCardContent
|
|
12
|
+
};
|