@getufy/flint-ui-react 0.2.2 → 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 +135 -40
- 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.d.ts +19 -5
- package/dist/components/FlintAccordion.js +15 -0
- package/dist/components/FlintAccordionActions.d.ts +6 -2
- package/dist/components/FlintAccordionActions.js +12 -0
- package/dist/components/FlintAccordionDetails.d.ts +8 -2
- package/dist/components/FlintAccordionDetails.js +12 -0
- package/dist/components/FlintAccordionSummary.d.ts +11 -5
- package/dist/components/FlintAccordionSummary.js +15 -0
- package/dist/components/FlintAlert.d.ts +21 -5
- package/dist/components/FlintAlert.js +15 -0
- package/dist/components/FlintAppBar.d.ts +16 -2
- package/dist/components/FlintAppBar.js +12 -0
- package/dist/components/FlintAutocomplete.d.ts +22 -5
- package/dist/components/FlintAutocomplete.js +15 -0
- package/dist/components/FlintAvatar.d.ts +13 -2
- package/dist/components/FlintAvatar.js +12 -0
- package/dist/components/FlintBackdrop.d.ts +19 -5
- package/dist/components/FlintBackdrop.js +15 -0
- package/dist/components/FlintBadge.d.ts +18 -2
- package/dist/components/FlintBadge.js +12 -0
- package/dist/components/FlintBottomNavigation.d.ts +16 -5
- package/dist/components/FlintBottomNavigation.js +15 -0
- package/dist/components/FlintBottomNavigationAction.d.ts +17 -2
- package/dist/components/FlintBottomNavigationAction.js +12 -0
- package/dist/components/FlintBox.d.ts +67 -5
- package/dist/components/FlintBox.js +15 -0
- package/dist/components/FlintBreadcrumbs.d.ts +18 -2
- package/dist/components/FlintBreadcrumbs.js +12 -0
- package/dist/components/FlintButton.d.ts +11 -2
- package/dist/components/FlintButton.js +12 -0
- package/dist/components/FlintButtonGroup.d.ts +3 -2
- package/dist/components/FlintButtonGroup.js +12 -0
- package/dist/components/FlintCard.d.ts +5 -2
- package/dist/components/FlintCard.js +12 -0
- package/dist/components/FlintCardActionArea.d.ts +3 -2
- package/dist/components/FlintCardActionArea.js +12 -0
- package/dist/components/FlintCardActions.d.ts +3 -2
- package/dist/components/FlintCardActions.js +12 -0
- package/dist/components/FlintCardContent.d.ts +3 -2
- package/dist/components/FlintCardContent.js +12 -0
- package/dist/components/FlintCardHeader.d.ts +12 -2
- package/dist/components/FlintCardHeader.js +12 -0
- package/dist/components/FlintCardMedia.d.ts +6 -2
- package/dist/components/FlintCardMedia.js +12 -0
- package/dist/components/FlintCarousel.d.ts +24 -5
- package/dist/components/FlintCarousel.js +15 -0
- package/dist/components/FlintCarouselContent.d.ts +9 -2
- package/dist/components/FlintCarouselContent.js +12 -0
- package/dist/components/FlintCarouselItem.d.ts +3 -2
- package/dist/components/FlintCarouselItem.js +12 -0
- package/dist/components/FlintCarouselNext.d.ts +12 -2
- package/dist/components/FlintCarouselNext.js +12 -0
- package/dist/components/FlintCarouselPrevious.d.ts +12 -2
- package/dist/components/FlintCarouselPrevious.js +12 -0
- package/dist/components/FlintCheckbox.d.ts +33 -5
- package/dist/components/FlintCheckbox.js +15 -0
- package/dist/components/FlintChip.d.ts +30 -6
- package/dist/components/FlintChip.js +16 -0
- package/dist/components/FlintCircularProgress.d.ts +18 -2
- package/dist/components/FlintCircularProgress.js +12 -0
- package/dist/components/FlintCollapsible.d.ts +22 -5
- package/dist/components/FlintCollapsible.js +15 -0
- package/dist/components/FlintCollapsibleContent.d.ts +11 -2
- package/dist/components/FlintCollapsibleContent.js +12 -0
- package/dist/components/FlintCollapsibleTrigger.d.ts +13 -2
- package/dist/components/FlintCollapsibleTrigger.js +12 -0
- package/dist/components/FlintCommand.d.ts +11 -5
- package/dist/components/FlintCommand.js +15 -0
- package/dist/components/FlintCommandDialog.d.ts +17 -5
- package/dist/components/FlintCommandDialog.js +15 -0
- package/dist/components/FlintCommandEmpty.d.ts +9 -2
- package/dist/components/FlintCommandEmpty.js +12 -0
- package/dist/components/FlintCommandGroup.d.ts +11 -2
- package/dist/components/FlintCommandGroup.js +12 -0
- package/dist/components/FlintCommandInput.d.ts +11 -2
- package/dist/components/FlintCommandInput.js +12 -0
- package/dist/components/FlintCommandItem.d.ts +22 -5
- package/dist/components/FlintCommandItem.js +15 -0
- package/dist/components/FlintCommandList.d.ts +8 -2
- package/dist/components/FlintCommandList.js +12 -0
- package/dist/components/FlintCommandSeparator.d.ts +6 -2
- package/dist/components/FlintCommandSeparator.js +12 -0
- package/dist/components/FlintCommandShortcut.d.ts +9 -2
- package/dist/components/FlintCommandShortcut.js +12 -0
- package/dist/components/FlintContainer.d.ts +9 -2
- package/dist/components/FlintContainer.js +12 -0
- package/dist/components/FlintCopyButton.d.ts +32 -6
- package/dist/components/FlintCopyButton.js +16 -0
- package/dist/components/FlintDateField.d.ts +34 -6
- package/dist/components/FlintDateField.js +16 -0
- package/dist/components/FlintDatePicker.d.ts +35 -5
- package/dist/components/FlintDatePicker.js +15 -0
- package/dist/components/FlintDatePickerCalendar.d.ts +20 -5
- package/dist/components/FlintDatePickerCalendar.js +15 -0
- package/dist/components/FlintDateRangeCalendar.d.ts +17 -5
- package/dist/components/FlintDateRangeCalendar.js +15 -0
- package/dist/components/FlintDateRangePicker.d.ts +36 -5
- package/dist/components/FlintDateRangePicker.js +15 -0
- package/dist/components/FlintDesktopTimePicker.d.ts +29 -5
- package/dist/components/FlintDesktopTimePicker.js +15 -0
- package/dist/components/FlintDialog.d.ts +23 -5
- package/dist/components/FlintDialog.js +15 -0
- package/dist/components/FlintDialogActions.d.ts +9 -2
- package/dist/components/FlintDialogActions.js +12 -0
- package/dist/components/FlintDialogContent.d.ts +6 -2
- package/dist/components/FlintDialogContent.js +12 -0
- package/dist/components/FlintDialogContentText.d.ts +6 -2
- package/dist/components/FlintDialogContentText.js +12 -0
- package/dist/components/FlintDialogTitle.d.ts +7 -2
- package/dist/components/FlintDialogTitle.js +12 -0
- package/dist/components/FlintDigitalClock.d.ts +17 -5
- package/dist/components/FlintDigitalClock.js +15 -0
- package/dist/components/FlintDivider.d.ts +16 -2
- package/dist/components/FlintDivider.js +12 -0
- package/dist/components/FlintDrawer.d.ts +27 -5
- package/dist/components/FlintDrawer.js +15 -0
- package/dist/components/FlintEmpty.d.ts +10 -2
- package/dist/components/FlintEmpty.js +12 -0
- package/dist/components/FlintEmptyContent.d.ts +8 -2
- package/dist/components/FlintEmptyContent.js +12 -0
- package/dist/components/FlintEmptyDescription.d.ts +8 -2
- package/dist/components/FlintEmptyDescription.js +12 -0
- package/dist/components/FlintEmptyHeader.d.ts +8 -2
- package/dist/components/FlintEmptyHeader.js +12 -0
- package/dist/components/FlintEmptyMedia.d.ts +10 -2
- package/dist/components/FlintEmptyMedia.js +12 -0
- package/dist/components/FlintEmptyTitle.d.ts +8 -2
- package/dist/components/FlintEmptyTitle.js +12 -0
- package/dist/components/FlintFab.d.ts +15 -2
- package/dist/components/FlintFab.js +12 -0
- package/dist/components/FlintFormatDate.d.ts +39 -2
- package/dist/components/FlintFormatDate.js +12 -0
- package/dist/components/FlintFormatNumber.d.ts +39 -2
- package/dist/components/FlintFormatNumber.js +12 -0
- package/dist/components/FlintGrid.d.ts +35 -2
- package/dist/components/FlintGrid.js +12 -0
- package/dist/components/FlintHoverCard.d.ts +23 -2
- package/dist/components/FlintHoverCard.js +16 -0
- package/dist/components/FlintHoverCardContent.d.ts +15 -2
- package/dist/components/FlintHoverCardContent.js +12 -0
- package/dist/components/FlintHoverCardTrigger.d.ts +9 -2
- package/dist/components/FlintHoverCardTrigger.js +12 -0
- package/dist/components/FlintImageComparer.d.ts +19 -5
- package/dist/components/FlintImageComparer.js +15 -0
- package/dist/components/FlintImageList.d.ts +19 -2
- package/dist/components/FlintImageList.js +12 -0
- package/dist/components/FlintImageListItem.d.ts +21 -2
- package/dist/components/FlintImageListItem.js +12 -0
- package/dist/components/FlintImageListItemBar.d.ts +12 -2
- package/dist/components/FlintImageListItemBar.js +12 -0
- package/dist/components/FlintInput.d.ts +44 -6
- package/dist/components/FlintInput.js +16 -0
- package/dist/components/FlintInputOtp.d.ts +36 -6
- package/dist/components/FlintInputOtp.js +16 -0
- package/dist/components/FlintInputOtpGroup.d.ts +9 -2
- package/dist/components/FlintInputOtpGroup.js +12 -0
- package/dist/components/FlintInputOtpSeparator.d.ts +7 -2
- package/dist/components/FlintInputOtpSeparator.js +12 -0
- package/dist/components/FlintInputOtpSlot.d.ts +15 -2
- package/dist/components/FlintInputOtpSlot.js +12 -0
- package/dist/components/FlintItem.d.ts +15 -2
- package/dist/components/FlintItem.js +12 -0
- package/dist/components/FlintItemActions.d.ts +9 -2
- package/dist/components/FlintItemActions.js +12 -0
- package/dist/components/FlintItemContent.d.ts +8 -2
- package/dist/components/FlintItemContent.js +12 -0
- package/dist/components/FlintItemDescription.d.ts +8 -2
- package/dist/components/FlintItemDescription.js +12 -0
- package/dist/components/FlintItemFooter.d.ts +10 -2
- package/dist/components/FlintItemFooter.js +12 -0
- package/dist/components/FlintItemGroup.d.ts +8 -2
- package/dist/components/FlintItemGroup.js +12 -0
- package/dist/components/FlintItemHeader.d.ts +10 -2
- package/dist/components/FlintItemHeader.js +12 -0
- package/dist/components/FlintItemMedia.d.ts +10 -2
- package/dist/components/FlintItemMedia.js +12 -0
- package/dist/components/FlintItemSeparator.d.ts +6 -2
- package/dist/components/FlintItemSeparator.js +12 -0
- package/dist/components/FlintItemTitle.d.ts +8 -2
- package/dist/components/FlintItemTitle.js +12 -0
- package/dist/components/FlintKbd.d.ts +15 -2
- package/dist/components/FlintKbd.js +12 -0
- package/dist/components/FlintKbdGroup.d.ts +9 -2
- package/dist/components/FlintKbdGroup.js +12 -0
- package/dist/components/FlintLinearProgress.d.ts +16 -2
- package/dist/components/FlintLinearProgress.js +12 -0
- package/dist/components/FlintLink.d.ts +28 -2
- package/dist/components/FlintLink.js +12 -0
- package/dist/components/FlintList.d.ts +10 -2
- package/dist/components/FlintList.js +12 -0
- package/dist/components/FlintListItem.d.ts +6 -2
- package/dist/components/FlintListItem.js +12 -0
- package/dist/components/FlintListItemAvatar.d.ts +6 -2
- package/dist/components/FlintListItemAvatar.js +12 -0
- package/dist/components/FlintListItemButton.d.ts +10 -2
- package/dist/components/FlintListItemButton.js +12 -0
- package/dist/components/FlintListItemIcon.d.ts +6 -2
- package/dist/components/FlintListItemIcon.js +12 -0
- package/dist/components/FlintListItemText.d.ts +10 -2
- package/dist/components/FlintListItemText.js +12 -0
- package/dist/components/FlintListSubheader.d.ts +6 -2
- package/dist/components/FlintListSubheader.js +12 -0
- package/dist/components/FlintMenu.d.ts +24 -5
- package/dist/components/FlintMenu.js +15 -0
- package/dist/components/FlintMenuDivider.d.ts +6 -2
- package/dist/components/FlintMenuDivider.js +12 -0
- package/dist/components/FlintMenuGroup.d.ts +11 -2
- package/dist/components/FlintMenuGroup.js +12 -0
- package/dist/components/FlintMenuItem.d.ts +23 -5
- package/dist/components/FlintMenuItem.js +15 -0
- package/dist/components/FlintMenubar.d.ts +17 -2
- package/dist/components/FlintMenubar.js +17 -0
- package/dist/components/FlintMenubarCheckboxItem.d.ts +20 -5
- package/dist/components/FlintMenubarCheckboxItem.js +15 -0
- package/dist/components/FlintMenubarContent.d.ts +13 -5
- package/dist/components/FlintMenubarContent.js +15 -0
- package/dist/components/FlintMenubarGroup.d.ts +8 -2
- package/dist/components/FlintMenubarGroup.js +12 -0
- package/dist/components/FlintMenubarItem.d.ts +21 -5
- package/dist/components/FlintMenubarItem.js +15 -0
- package/dist/components/FlintMenubarMenu.d.ts +8 -2
- package/dist/components/FlintMenubarMenu.js +12 -0
- package/dist/components/FlintMenubarRadioGroup.d.ts +13 -5
- package/dist/components/FlintMenubarRadioGroup.js +15 -0
- package/dist/components/FlintMenubarRadioItem.d.ts +18 -5
- package/dist/components/FlintMenubarRadioItem.js +15 -0
- package/dist/components/FlintMenubarSeparator.d.ts +6 -2
- package/dist/components/FlintMenubarSeparator.js +12 -0
- package/dist/components/FlintMenubarShortcut.d.ts +8 -2
- package/dist/components/FlintMenubarShortcut.js +12 -0
- package/dist/components/FlintMenubarSub.d.ts +7 -2
- package/dist/components/FlintMenubarSub.js +12 -0
- package/dist/components/FlintMenubarSubContent.d.ts +9 -2
- package/dist/components/FlintMenubarSubContent.js +12 -0
- package/dist/components/FlintMenubarSubTrigger.d.ts +14 -2
- package/dist/components/FlintMenubarSubTrigger.js +12 -0
- package/dist/components/FlintMenubarTrigger.d.ts +12 -2
- package/dist/components/FlintMenubarTrigger.js +12 -0
- package/dist/components/FlintMobileStepper.d.ts +25 -2
- package/dist/components/FlintMobileStepper.js +16 -0
- package/dist/components/FlintMobileTimePicker.d.ts +24 -5
- package/dist/components/FlintMobileTimePicker.js +15 -0
- package/dist/components/FlintMultiSectionDigitalClock.d.ts +17 -5
- package/dist/components/FlintMultiSectionDigitalClock.js +15 -0
- package/dist/components/FlintNavigationMenu.d.ts +8 -2
- package/dist/components/FlintNavigationMenu.js +12 -0
- package/dist/components/FlintNavigationMenuContent.d.ts +20 -5
- package/dist/components/FlintNavigationMenuContent.js +15 -0
- package/dist/components/FlintNavigationMenuItem.d.ts +18 -6
- package/dist/components/FlintNavigationMenuItem.js +16 -0
- package/dist/components/FlintNavigationMenuLink.d.ts +16 -2
- package/dist/components/FlintNavigationMenuLink.js +12 -0
- package/dist/components/FlintNavigationMenuList.d.ts +12 -2
- package/dist/components/FlintNavigationMenuList.js +12 -0
- package/dist/components/FlintNavigationMenuTrigger.d.ts +12 -5
- package/dist/components/FlintNavigationMenuTrigger.js +15 -0
- package/dist/components/FlintPagination.d.ts +48 -5
- package/dist/components/FlintPagination.js +15 -0
- package/dist/components/FlintPaper.d.ts +13 -2
- package/dist/components/FlintPaper.js +12 -0
- package/dist/components/FlintRadio.d.ts +25 -5
- package/dist/components/FlintRadio.js +15 -0
- package/dist/components/FlintRadioGroup.d.ts +27 -5
- package/dist/components/FlintRadioGroup.js +15 -0
- package/dist/components/FlintRangeSlider.d.ts +26 -5
- package/dist/components/FlintRangeSlider.js +15 -0
- package/dist/components/FlintRating.d.ts +31 -5
- package/dist/components/FlintRating.js +15 -0
- package/dist/components/FlintRelativeTime.d.ts +17 -2
- package/dist/components/FlintRelativeTime.js +12 -0
- package/dist/components/FlintResizableGroup.d.ts +16 -7
- package/dist/components/FlintResizableGroup.js +17 -0
- package/dist/components/FlintResizableHandle.d.ts +8 -2
- package/dist/components/FlintResizableHandle.js +12 -0
- package/dist/components/FlintResizablePanel.d.ts +15 -2
- package/dist/components/FlintResizablePanel.js +12 -0
- package/dist/components/FlintRichTreeView.d.ts +50 -8
- package/dist/components/FlintRichTreeView.js +18 -0
- package/dist/components/FlintScrollArea.d.ts +15 -2
- package/dist/components/FlintScrollArea.js +12 -0
- package/dist/components/FlintScrollBar.d.ts +11 -2
- package/dist/components/FlintScrollBar.js +12 -0
- package/dist/components/FlintSelect.d.ts +40 -5
- package/dist/components/FlintSelect.js +15 -0
- package/dist/components/FlintSimpleTreeView.d.ts +28 -6
- package/dist/components/FlintSimpleTreeView.js +16 -0
- package/dist/components/FlintSingleInputDateRangeField.d.ts +31 -6
- package/dist/components/FlintSingleInputDateRangeField.js +16 -0
- package/dist/components/FlintSkeleton.d.ts +18 -2
- package/dist/components/FlintSkeleton.js +12 -0
- package/dist/components/FlintSlider.d.ts +35 -5
- package/dist/components/FlintSlider.js +15 -0
- package/dist/components/FlintSnackbar.d.ts +36 -6
- package/dist/components/FlintSnackbar.js +16 -0
- package/dist/components/FlintSpeedDial.d.ts +38 -2
- package/dist/components/FlintSpeedDial.js +16 -0
- package/dist/components/FlintSpeedDialAction.d.ts +24 -5
- package/dist/components/FlintSpeedDialAction.js +15 -0
- package/dist/components/FlintSplitPanel.d.ts +31 -5
- package/dist/components/FlintSplitPanel.js +15 -0
- package/dist/components/FlintStack.d.ts +13 -2
- package/dist/components/FlintStack.js +12 -0
- package/dist/components/FlintStaticTimePicker.d.ts +14 -5
- package/dist/components/FlintStaticTimePicker.js +15 -0
- package/dist/components/FlintStep.d.ts +39 -5
- package/dist/components/FlintStep.js +15 -0
- package/dist/components/FlintStepConnector.d.ts +7 -2
- package/dist/components/FlintStepConnector.js +12 -0
- package/dist/components/FlintStepContent.d.ts +10 -2
- package/dist/components/FlintStepContent.js +12 -0
- package/dist/components/FlintStepLabel.d.ts +15 -2
- package/dist/components/FlintStepLabel.js +12 -0
- package/dist/components/FlintStepper.d.ts +23 -5
- package/dist/components/FlintStepper.js +15 -0
- package/dist/components/FlintSwitch.d.ts +33 -5
- package/dist/components/FlintSwitch.js +15 -0
- package/dist/components/FlintTab.d.ts +23 -5
- package/dist/components/FlintTab.js +15 -0
- package/dist/components/FlintTabList.d.ts +14 -5
- package/dist/components/FlintTabList.js +15 -0
- package/dist/components/FlintTabPanel.d.ts +5 -2
- package/dist/components/FlintTabPanel.js +12 -0
- package/dist/components/FlintTable.d.ts +8 -2
- package/dist/components/FlintTable.js +12 -0
- package/dist/components/FlintTableBody.d.ts +8 -2
- package/dist/components/FlintTableBody.js +12 -0
- package/dist/components/FlintTableCell.d.ts +12 -2
- package/dist/components/FlintTableCell.js +12 -0
- package/dist/components/FlintTableContainer.d.ts +10 -2
- package/dist/components/FlintTableContainer.js +12 -0
- package/dist/components/FlintTableFooter.d.ts +6 -2
- package/dist/components/FlintTableFooter.js +12 -0
- package/dist/components/FlintTableHead.d.ts +6 -2
- package/dist/components/FlintTableHead.js +12 -0
- package/dist/components/FlintTablePagination.d.ts +32 -6
- package/dist/components/FlintTablePagination.js +16 -0
- package/dist/components/FlintTableRow.d.ts +10 -2
- package/dist/components/FlintTableRow.js +12 -0
- package/dist/components/FlintTableSortLabel.d.ts +7 -2
- package/dist/components/FlintTableSortLabel.js +12 -0
- package/dist/components/FlintTabs.d.ts +27 -5
- package/dist/components/FlintTabs.js +15 -0
- package/dist/components/FlintTextField.d.ts +36 -6
- package/dist/components/FlintTextField.js +16 -0
- package/dist/components/FlintTextarea.d.ts +52 -6
- package/dist/components/FlintTextarea.js +16 -0
- package/dist/components/FlintTimeClock.d.ts +21 -6
- package/dist/components/FlintTimeClock.js +16 -0
- package/dist/components/FlintTimeField.d.ts +31 -6
- package/dist/components/FlintTimeField.js +16 -0
- package/dist/components/FlintTimePicker.d.ts +26 -5
- package/dist/components/FlintTimePicker.js +15 -0
- package/dist/components/FlintToaster.d.ts +13 -2
- package/dist/components/FlintToaster.js +12 -0
- package/dist/components/FlintToggle.d.ts +27 -5
- package/dist/components/FlintToggle.js +15 -0
- package/dist/components/FlintToggleButton.d.ts +20 -5
- package/dist/components/FlintToggleButton.js +15 -0
- package/dist/components/FlintToggleButtonGroup.d.ts +17 -5
- package/dist/components/FlintToggleButtonGroup.js +15 -0
- package/dist/components/FlintTooltip.d.ts +19 -2
- package/dist/components/FlintTooltip.js +12 -0
- package/dist/components/FlintTransferList.d.ts +25 -5
- package/dist/components/FlintTransferList.js +15 -0
- package/dist/components/FlintTreeItem.d.ts +34 -6
- package/dist/components/FlintTreeItem.js +16 -0
- package/dist/components/FlintTypography.d.ts +22 -2
- package/dist/components/FlintTypography.js +12 -0
- package/dist/components/FlintVisuallyHidden.d.ts +11 -2
- 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/FlintBackdrop.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintBackdrop as FlintBackdropElement } from "@getufy/flint-ui/backdrop/flint-backdrop";
|
|
5
|
+
var FlintBackdrop = createComponent({
|
|
6
|
+
tagName: "flint-backdrop",
|
|
7
|
+
elementClass: FlintBackdropElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintBackdropClose: "flint-backdrop-close"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintBackdrop
|
|
15
|
+
};
|
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintBadge as FlintBadgeElement } from '@getufy/flint-ui/badge/flint-badge';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* A badge component that generates a small badge at the top-right of its children.
|
|
5
|
+
*
|
|
6
|
+
* @slot - The content to which the badge is attached.
|
|
7
|
+
*/
|
|
8
|
+
export interface FlintBadgeProps extends React.HTMLAttributes<FlintBadgeElement> {
|
|
9
|
+
/** Text content displayed inside the badge. */
|
|
10
|
+
content?: string;
|
|
11
|
+
/** Whether to display a small dot instead of content. */
|
|
12
|
+
dot?: boolean;
|
|
13
|
+
/** Whether the badge is hidden. */
|
|
14
|
+
invisible?: boolean;
|
|
15
|
+
/** Color variant of the badge. */
|
|
16
|
+
variant?: 'primary' | 'secondary' | 'error' | 'success' | 'warning';
|
|
17
|
+
/** Maximum numeric value before displaying "max+". */
|
|
18
|
+
max?: number;
|
|
19
|
+
}
|
|
20
|
+
export declare const FlintBadge: React.ForwardRefExoticComponent<FlintBadgeProps & React.RefAttributes<FlintBadgeElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintBadge.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintBadge as FlintBadgeElement } from "@getufy/flint-ui/badge/flint-badge";
|
|
5
|
+
var FlintBadge = createComponent({
|
|
6
|
+
tagName: "flint-badge",
|
|
7
|
+
elementClass: FlintBadgeElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintBadge
|
|
12
|
+
};
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintBottomNavigation as FlintBottomNavigationElement } from '@getufy/flint-ui/bottom-navigation/flint-bottom-navigation';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Bottom Navigation bars allow movement between primary destinations in an app.
|
|
5
|
+
*
|
|
6
|
+
* @slot - destinations (flint-bottom-navigation-action).
|
|
7
|
+
*/
|
|
8
|
+
export interface FlintBottomNavigationProps extends Omit<React.HTMLAttributes<FlintBottomNavigationElement>, 'defaultValue'> {
|
|
9
|
+
/** The value of the currently selected action. */
|
|
10
|
+
value?: unknown;
|
|
11
|
+
/** Initial selected value for uncontrolled usage. */
|
|
12
|
+
defaultValue?: unknown;
|
|
13
|
+
/** If true, all labels are shown at all times. */
|
|
14
|
+
showLabels?: boolean;
|
|
15
|
+
/** Dispatched when the selected value changes. detail: `{ value: number | string }` */
|
|
16
|
+
onFlintBottomNavigationChange?: (event: CustomEvent) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const FlintBottomNavigation: React.ForwardRefExoticComponent<FlintBottomNavigationProps & React.RefAttributes<FlintBottomNavigationElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintBottomNavigation.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintBottomNavigation as FlintBottomNavigationElement } from "@getufy/flint-ui/bottom-navigation/flint-bottom-navigation";
|
|
5
|
+
var FlintBottomNavigation = createComponent({
|
|
6
|
+
tagName: "flint-bottom-navigation",
|
|
7
|
+
elementClass: FlintBottomNavigationElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintBottomNavigationChange: "flint-bottom-navigation-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintBottomNavigation
|
|
15
|
+
};
|
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintBottomNavigationAction as FlintBottomNavigationActionElement } from '@getufy/flint-ui/bottom-navigation/flint-bottom-navigation-action';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Bottom Navigation Action: Individual navigation item.
|
|
5
|
+
*
|
|
6
|
+
* @slot icon - Icon element.
|
|
7
|
+
* @slot - Label text.
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintBottomNavigationActionProps extends React.HTMLAttributes<FlintBottomNavigationActionElement> {
|
|
10
|
+
/** Label text for the action. */
|
|
11
|
+
label?: string;
|
|
12
|
+
/** Unique value for this action. */
|
|
13
|
+
value?: unknown;
|
|
14
|
+
/** If true, this action is currently selected. (Internal property managed by parent) */
|
|
15
|
+
active?: boolean;
|
|
16
|
+
/** Controls label visibility. (Internal property managed by parent) */
|
|
17
|
+
showLabel?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const FlintBottomNavigationAction: React.ForwardRefExoticComponent<FlintBottomNavigationActionProps & React.RefAttributes<FlintBottomNavigationActionElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintBottomNavigationAction.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintBottomNavigationAction as FlintBottomNavigationActionElement } from "@getufy/flint-ui/bottom-navigation/flint-bottom-navigation-action";
|
|
5
|
+
var FlintBottomNavigationAction = createComponent({
|
|
6
|
+
tagName: "flint-bottom-navigation-action",
|
|
7
|
+
elementClass: FlintBottomNavigationActionElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintBottomNavigationAction
|
|
12
|
+
};
|
|
@@ -1,7 +1,69 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintBox as FlintBoxElement } from '@getufy/flint-ui/box/flint-box';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
export interface FlintBoxProps extends Omit<React.HTMLAttributes<FlintBoxElement>, 'color'> {
|
|
4
|
+
/** The component tag to render */
|
|
5
|
+
component?: string;
|
|
6
|
+
/** Margin on all sides. */
|
|
7
|
+
m?: string;
|
|
8
|
+
/** Margin top. */
|
|
9
|
+
mt?: string;
|
|
10
|
+
/** Margin right. */
|
|
11
|
+
mr?: string;
|
|
12
|
+
/** Margin bottom. */
|
|
13
|
+
mb?: string;
|
|
14
|
+
/** Margin left. */
|
|
15
|
+
ml?: string;
|
|
16
|
+
/** Margin on the horizontal (left and right) axis. */
|
|
17
|
+
mx?: string;
|
|
18
|
+
/** Margin on the vertical (top and bottom) axis. */
|
|
19
|
+
my?: string;
|
|
20
|
+
/** Padding on all sides. */
|
|
21
|
+
p?: string;
|
|
22
|
+
/** Padding top. */
|
|
23
|
+
pt?: string;
|
|
24
|
+
/** Padding right. */
|
|
25
|
+
pr?: string;
|
|
26
|
+
/** Padding bottom. */
|
|
27
|
+
pb?: string;
|
|
28
|
+
/** Padding left. */
|
|
29
|
+
pl?: string;
|
|
30
|
+
/** Padding on the horizontal (left and right) axis. */
|
|
31
|
+
px?: string;
|
|
32
|
+
/** Padding on the vertical (top and bottom) axis. */
|
|
33
|
+
py?: string;
|
|
34
|
+
/** CSS display value. */
|
|
35
|
+
display?: string;
|
|
36
|
+
/** CSS flex-direction value. */
|
|
37
|
+
flexDirection?: string;
|
|
38
|
+
/** CSS align-items value. */
|
|
39
|
+
alignItems?: string;
|
|
40
|
+
/** CSS justify-content value. */
|
|
41
|
+
justifyContent?: string;
|
|
42
|
+
/** CSS flex-wrap value. */
|
|
43
|
+
flexWrap?: string;
|
|
44
|
+
/** CSS flex-basis value. */
|
|
45
|
+
flexBasis?: string;
|
|
46
|
+
/** CSS flex-grow value. */
|
|
47
|
+
flexGrow?: string;
|
|
48
|
+
/** CSS flex-shrink value. */
|
|
49
|
+
flexShrink?: string;
|
|
50
|
+
/** CSS gap between flex or grid items. */
|
|
51
|
+
gap?: string;
|
|
52
|
+
/** Background color. Supports theme tokens 'primary' and 'secondary'. */
|
|
53
|
+
bgcolor?: string;
|
|
54
|
+
/** Text color. Supports theme tokens 'primary' and 'secondary'. */
|
|
55
|
+
color?: string;
|
|
56
|
+
/** CSS border shorthand value. */
|
|
57
|
+
border?: string;
|
|
58
|
+
/** CSS border-radius value. */
|
|
59
|
+
borderRadius?: string;
|
|
60
|
+
/** CSS box-shadow value. */
|
|
61
|
+
boxShadow?: string;
|
|
62
|
+
/** CSS width value. */
|
|
63
|
+
width?: string;
|
|
64
|
+
/** CSS height value. */
|
|
65
|
+
height?: string;
|
|
66
|
+
/** Dispatched when an unknown component tag is used and falls back to div. */
|
|
67
|
+
onFlintBoxWarning?: (event: CustomEvent) => void;
|
|
68
|
+
}
|
|
69
|
+
export declare const FlintBox: React.ForwardRefExoticComponent<FlintBoxProps & React.RefAttributes<FlintBoxElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintBox.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintBox as FlintBoxElement } from "@getufy/flint-ui/box/flint-box";
|
|
5
|
+
var FlintBox = createComponent({
|
|
6
|
+
tagName: "flint-box",
|
|
7
|
+
elementClass: FlintBoxElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintBoxWarning: "flint-box-warning"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintBox
|
|
15
|
+
};
|
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintBreadcrumbs as FlintBreadcrumbsElement } from '@getufy/flint-ui/breadcrumbs/flint-breadcrumbs';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Breadcrumbs provide a navigational aid showing the current page's location
|
|
5
|
+
within a site hierarchy, allowing users to navigate back up the trail.
|
|
6
|
+
*
|
|
7
|
+
* @slot - Breadcrumb items (links or text), distributed in order.
|
|
8
|
+
* @slot separator - Custom separator element rendered between each item.
|
|
9
|
+
*/
|
|
10
|
+
export interface FlintBreadcrumbsProps extends React.HTMLAttributes<FlintBreadcrumbsElement> {
|
|
11
|
+
/** Max number of items to display before collapsing. */
|
|
12
|
+
maxItems?: number;
|
|
13
|
+
/** Number of items to show before the ellipsis. */
|
|
14
|
+
itemsBefore?: number;
|
|
15
|
+
/** Number of items to show after the ellipsis. */
|
|
16
|
+
itemsAfter?: number;
|
|
17
|
+
/** The character or string used as a separator (fallback when no separator slot is provided). */
|
|
18
|
+
separator?: string;
|
|
19
|
+
}
|
|
20
|
+
export declare const FlintBreadcrumbs: React.ForwardRefExoticComponent<FlintBreadcrumbsProps & React.RefAttributes<FlintBreadcrumbsElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintBreadcrumbs.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintBreadcrumbs as FlintBreadcrumbsElement } from "@getufy/flint-ui/breadcrumbs/flint-breadcrumbs";
|
|
5
|
+
var FlintBreadcrumbs = createComponent({
|
|
6
|
+
tagName: "flint-breadcrumbs",
|
|
7
|
+
elementClass: FlintBreadcrumbsElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintBreadcrumbs
|
|
12
|
+
};
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintButton as FlintButtonElement } from '@getufy/flint-ui/button/flint-button';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface FlintButtonProps extends React.HTMLAttributes<FlintButtonElement> {
|
|
4
|
+
/** Visual style variant of the button. */
|
|
5
|
+
variant?: 'primary' | 'secondary' | 'destructive';
|
|
6
|
+
/** Size of the button. */
|
|
7
|
+
size?: 'small' | 'medium' | 'large';
|
|
8
|
+
/** Disables the button and prevents interaction. */
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** Whether the button stretches to fill its container width. */
|
|
11
|
+
fullWidth?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const FlintButton: React.ForwardRefExoticComponent<FlintButtonProps & React.RefAttributes<FlintButtonElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintButton.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintButton as FlintButtonElement } from "@getufy/flint-ui/button/flint-button";
|
|
5
|
+
var FlintButton = createComponent({
|
|
6
|
+
tagName: "flint-button",
|
|
7
|
+
elementClass: FlintButtonElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintButton
|
|
12
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintButtonGroup as FlintButtonGroupElement } from '@getufy/flint-ui/button/flint-button-group';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface FlintButtonGroupProps extends React.HTMLAttributes<FlintButtonGroupElement> {
|
|
4
|
+
}
|
|
5
|
+
export declare const FlintButtonGroup: React.ForwardRefExoticComponent<FlintButtonGroupProps & React.RefAttributes<FlintButtonGroupElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintButtonGroup.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintButtonGroup as FlintButtonGroupElement } from "@getufy/flint-ui/button/flint-button-group";
|
|
5
|
+
var FlintButtonGroup = createComponent({
|
|
6
|
+
tagName: "flint-button-group",
|
|
7
|
+
elementClass: FlintButtonGroupElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintButtonGroup
|
|
12
|
+
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCard as FlintCardElement } from '@getufy/flint-ui/card/flint-card';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface FlintCardProps extends React.HTMLAttributes<FlintCardElement> {
|
|
4
|
+
variant?: 'elevated' | 'outlined' | 'flat';
|
|
5
|
+
interactive?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const FlintCard: React.ForwardRefExoticComponent<FlintCardProps & React.RefAttributes<FlintCardElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCard.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCard as FlintCardElement } from "@getufy/flint-ui/card/flint-card";
|
|
5
|
+
var FlintCard = createComponent({
|
|
6
|
+
tagName: "flint-card",
|
|
7
|
+
elementClass: FlintCardElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCard
|
|
12
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCardActionArea as FlintCardActionAreaElement } from '@getufy/flint-ui/card/flint-card-action-area';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface FlintCardActionAreaProps extends React.HTMLAttributes<FlintCardActionAreaElement> {
|
|
4
|
+
}
|
|
5
|
+
export declare const FlintCardActionArea: React.ForwardRefExoticComponent<FlintCardActionAreaProps & React.RefAttributes<FlintCardActionAreaElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCardActionArea.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCardActionArea as FlintCardActionAreaElement } from "@getufy/flint-ui/card/flint-card-action-area";
|
|
5
|
+
var FlintCardActionArea = createComponent({
|
|
6
|
+
tagName: "flint-card-action-area",
|
|
7
|
+
elementClass: FlintCardActionAreaElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCardActionArea
|
|
12
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintCardActions as FlintCardActionsElement } from '@getufy/flint-ui/card/flint-card-actions';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface FlintCardActionsProps extends React.HTMLAttributes<FlintCardActionsElement> {
|
|
4
|
+
}
|
|
5
|
+
export declare const FlintCardActions: React.ForwardRefExoticComponent<FlintCardActionsProps & React.RefAttributes<FlintCardActionsElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCardActions.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCardActions as FlintCardActionsElement } from "@getufy/flint-ui/card/flint-card-actions";
|
|
5
|
+
var FlintCardActions = createComponent({
|
|
6
|
+
tagName: "flint-card-actions",
|
|
7
|
+
elementClass: FlintCardActionsElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCardActions
|
|
12
|
+
};
|
|
@@ -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>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCardContent.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCardContent as FlintCardContentElement } from "@getufy/flint-ui/card/flint-card-content";
|
|
5
|
+
var FlintCardContent = createComponent({
|
|
6
|
+
tagName: "flint-card-content",
|
|
7
|
+
elementClass: FlintCardContentElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCardContent
|
|
12
|
+
};
|
|
@@ -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>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCardHeader.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCardHeader as FlintCardHeaderElement } from "@getufy/flint-ui/card/flint-card-header";
|
|
5
|
+
var FlintCardHeader = createComponent({
|
|
6
|
+
tagName: "flint-card-header",
|
|
7
|
+
elementClass: FlintCardHeaderElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCardHeader
|
|
12
|
+
};
|
|
@@ -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>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCardMedia.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCardMedia as FlintCardMediaElement } from "@getufy/flint-ui/card/flint-card-media";
|
|
5
|
+
var FlintCardMedia = createComponent({
|
|
6
|
+
tagName: "flint-card-media",
|
|
7
|
+
elementClass: FlintCardMediaElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCardMedia
|
|
12
|
+
};
|
|
@@ -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>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintCarousel.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCarousel as FlintCarouselElement } from "@getufy/flint-ui/carousel/flint-carousel";
|
|
5
|
+
var FlintCarousel = createComponent({
|
|
6
|
+
tagName: "flint-carousel",
|
|
7
|
+
elementClass: FlintCarouselElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintCarouselChange: "flint-carousel-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintCarousel
|
|
15
|
+
};
|
|
@@ -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>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCarouselContent.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCarouselContent as FlintCarouselContentElement } from "@getufy/flint-ui/carousel/flint-carousel";
|
|
5
|
+
var FlintCarouselContent = createComponent({
|
|
6
|
+
tagName: "flint-carousel-content",
|
|
7
|
+
elementClass: FlintCarouselContentElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCarouselContent
|
|
12
|
+
};
|
|
@@ -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>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCarouselItem.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCarouselItem as FlintCarouselItemElement } from "@getufy/flint-ui/carousel/flint-carousel";
|
|
5
|
+
var FlintCarouselItem = createComponent({
|
|
6
|
+
tagName: "flint-carousel-item",
|
|
7
|
+
elementClass: FlintCarouselItemElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCarouselItem
|
|
12
|
+
};
|
|
@@ -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>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCarouselNext.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCarouselNext as FlintCarouselNextElement } from "@getufy/flint-ui/carousel/flint-carousel";
|
|
5
|
+
var FlintCarouselNext = createComponent({
|
|
6
|
+
tagName: "flint-carousel-next",
|
|
7
|
+
elementClass: FlintCarouselNextElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCarouselNext
|
|
12
|
+
};
|
|
@@ -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>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintCarouselPrevious.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintCarouselPrevious as FlintCarouselPreviousElement } from "@getufy/flint-ui/carousel/flint-carousel";
|
|
5
|
+
var FlintCarouselPrevious = createComponent({
|
|
6
|
+
tagName: "flint-carousel-previous",
|
|
7
|
+
elementClass: FlintCarouselPreviousElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintCarouselPrevious
|
|
12
|
+
};
|