@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
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintStepConnector as FlintStepConnectorElement } from '@getufy/flint-ui/stepper/flint-stepper';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface FlintStepConnectorProps extends React.HTMLAttributes<FlintStepConnectorElement> {
|
|
4
|
+
/** Layout direction of the connector line. */
|
|
5
|
+
orientation?: 'horizontal' | 'vertical';
|
|
6
|
+
/** Whether the connector represents a completed step transition. */
|
|
7
|
+
completed?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const FlintStepConnector: React.ForwardRefExoticComponent<FlintStepConnectorProps & React.RefAttributes<FlintStepConnectorElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintStepConnector.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintStepConnector as FlintStepConnectorElement } from "@getufy/flint-ui/stepper/flint-stepper";
|
|
5
|
+
var FlintStepConnector = createComponent({
|
|
6
|
+
tagName: "flint-step-connector",
|
|
7
|
+
elementClass: FlintStepConnectorElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintStepConnector
|
|
12
|
+
};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintStepContent as FlintStepContentElement } from '@getufy/flint-ui/stepper/flint-stepper';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Step Content: the collapsible content area for a step.
|
|
5
|
+
*
|
|
6
|
+
* @slot - Step content.
|
|
7
|
+
*/
|
|
8
|
+
export interface FlintStepContentProps extends React.HTMLAttributes<FlintStepContentElement> {
|
|
9
|
+
/** Whether the content is visible. Defaults true so standalone usage always shows. */
|
|
10
|
+
open?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const FlintStepContent: React.ForwardRefExoticComponent<FlintStepContentProps & React.RefAttributes<FlintStepContentElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintStepContent.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintStepContent as FlintStepContentElement } from "@getufy/flint-ui/stepper/flint-stepper";
|
|
5
|
+
var FlintStepContent = createComponent({
|
|
6
|
+
tagName: "flint-step-content",
|
|
7
|
+
elementClass: FlintStepContentElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintStepContent
|
|
12
|
+
};
|
|
@@ -1,4 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintStepLabel as FlintStepLabelElement } from '@getufy/flint-ui/stepper/flint-stepper';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Step Label: the label for a step.
|
|
5
|
+
*
|
|
6
|
+
* @slot - Label text.
|
|
7
|
+
* @slot optional - Optional step text.
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintStepLabelProps extends React.HTMLAttributes<FlintStepLabelElement> {
|
|
10
|
+
/** Whether the label's step is currently active. */
|
|
11
|
+
active?: boolean;
|
|
12
|
+
/** Whether the label's step is disabled. */
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/** Whether the label's step is in an error state. */
|
|
15
|
+
error?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare const FlintStepLabel: React.ForwardRefExoticComponent<FlintStepLabelProps & React.RefAttributes<FlintStepLabelElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintStepLabel.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintStepLabel as FlintStepLabelElement } from "@getufy/flint-ui/stepper/flint-stepper";
|
|
5
|
+
var FlintStepLabel = createComponent({
|
|
6
|
+
tagName: "flint-step-label",
|
|
7
|
+
elementClass: FlintStepLabelElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintStepLabel
|
|
12
|
+
};
|
|
@@ -1,7 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintStepper as FlintStepperElement } from '@getufy/flint-ui/stepper/flint-stepper';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
3
|
+
export interface FlintStepChangeDetail {
|
|
4
|
+
step: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Stepper: a multi-step progress indicator.
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintStepperProps extends React.HTMLAttributes<FlintStepperElement> {
|
|
10
|
+
/** Zero-based index of the currently active step. */
|
|
11
|
+
activeStep?: number;
|
|
12
|
+
/** Initial active step for uncontrolled usage. */
|
|
13
|
+
defaultActiveStep?: number;
|
|
14
|
+
/** Layout direction of the stepper. */
|
|
15
|
+
orientation?: 'horizontal' | 'vertical';
|
|
16
|
+
/** Whether to display step labels below the icons instead of beside them. */
|
|
17
|
+
alternativeLabel?: boolean;
|
|
18
|
+
/** Whether steps can be navigated in any order (enables clickable steps). */
|
|
19
|
+
nonLinear?: boolean;
|
|
20
|
+
/** Accessible label for the stepper landmark (maps to aria-label on the list element). */
|
|
21
|
+
label?: string;
|
|
22
|
+
/** Fired when the active step changes via step click. */
|
|
23
|
+
onFlintStepChange?: (event: CustomEvent<FlintStepChangeDetail>) => void;
|
|
24
|
+
}
|
|
25
|
+
export declare const FlintStepper: React.ForwardRefExoticComponent<FlintStepperProps & React.RefAttributes<FlintStepperElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintStepper.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintStepper as FlintStepperElement } from "@getufy/flint-ui/stepper/flint-stepper";
|
|
5
|
+
var FlintStepper = createComponent({
|
|
6
|
+
tagName: "flint-stepper",
|
|
7
|
+
elementClass: FlintStepperElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintStepChange: "flint-step-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintStepper
|
|
15
|
+
};
|
|
@@ -1,7 +1,35 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintSwitch as FlintSwitchElement } from '@getufy/flint-ui/switch/flint-switch';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
3
|
+
export interface FlintSwitchChangeDetail {
|
|
4
|
+
checked: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* A Switch component for toggling settings.
|
|
8
|
+
*
|
|
9
|
+
* @slot icon-on - Optional icon to show when the switch is ON.
|
|
10
|
+
* @slot icon-off - Optional icon to show when the switch is OFF.
|
|
11
|
+
* @slot - Optional label content (used when the `label` prop is not set).
|
|
12
|
+
*/
|
|
13
|
+
export interface FlintSwitchProps extends Omit<React.HTMLAttributes<FlintSwitchElement>, 'defaultChecked'> {
|
|
14
|
+
/** Whether the switch is toggled on. */
|
|
15
|
+
checked?: boolean;
|
|
16
|
+
/** Disables the switch and prevents interaction. */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/** Marks the switch as required for form validation. */
|
|
19
|
+
required?: boolean;
|
|
20
|
+
/** Size of the switch control. */
|
|
21
|
+
size?: 'sm' | 'md' | 'lg';
|
|
22
|
+
/** Visible label text displayed next to the switch. */
|
|
23
|
+
label?: string;
|
|
24
|
+
/** Form field name used when submitting form data. */
|
|
25
|
+
name?: string;
|
|
26
|
+
/** Value submitted with form data when checked. */
|
|
27
|
+
value?: string;
|
|
28
|
+
/** Initial checked state for uncontrolled usage. */
|
|
29
|
+
defaultChecked?: boolean;
|
|
30
|
+
/** Accessible label for screen readers when no visible label is provided. */
|
|
31
|
+
ariaLabel?: string | null;
|
|
32
|
+
/** Dispatched when the switch state changes. Detail: `{ checked: boolean }` */
|
|
33
|
+
onFlintSwitchChange?: (event: CustomEvent<FlintSwitchChangeDetail>) => void;
|
|
34
|
+
}
|
|
35
|
+
export declare const FlintSwitch: React.ForwardRefExoticComponent<FlintSwitchProps & React.RefAttributes<FlintSwitchElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintSwitch.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintSwitch as FlintSwitchElement } from "@getufy/flint-ui/switch/flint-switch";
|
|
5
|
+
var FlintSwitch = createComponent({
|
|
6
|
+
tagName: "flint-switch",
|
|
7
|
+
elementClass: FlintSwitchElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintSwitchChange: "flint-switch-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintSwitch
|
|
15
|
+
};
|
|
@@ -1,7 +1,25 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintTab as FlintTabElement } from '@getufy/flint-ui/tabs/flint-tabs';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
3
|
+
export interface FlintTabClickDetail {
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Tab: an individual tab button within a tab list.
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintTabProps extends React.HTMLAttributes<FlintTabElement> {
|
|
10
|
+
/** Unique identifier for this tab. */
|
|
11
|
+
value?: string;
|
|
12
|
+
/** Whether the tab is disabled. */
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/** Whether the tab is currently selected. */
|
|
15
|
+
selected?: boolean;
|
|
16
|
+
/** Position of the icon slot relative to the label. */
|
|
17
|
+
iconPosition?: 'top' | 'bottom' | 'start' | 'end';
|
|
18
|
+
/** URL to navigate to, renders the tab as a link. */
|
|
19
|
+
href?: string;
|
|
20
|
+
/** Whether the tab stretches to fill available width. */
|
|
21
|
+
fullWidth?: boolean;
|
|
22
|
+
/** Fired when the tab is clicked or activated via keyboard. */
|
|
23
|
+
onFlintTabClick?: (event: CustomEvent<FlintTabClickDetail>) => void;
|
|
24
|
+
}
|
|
25
|
+
export declare const FlintTab: React.ForwardRefExoticComponent<FlintTabProps & React.RefAttributes<FlintTabElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintTab.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTab as FlintTabElement } from "@getufy/flint-ui/tabs/flint-tabs";
|
|
5
|
+
var FlintTab = createComponent({
|
|
6
|
+
tagName: "flint-tab",
|
|
7
|
+
elementClass: FlintTabElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintTabClick: "flint-tab-click"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintTab
|
|
15
|
+
};
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintTabList as FlintTabListElement } from '@getufy/flint-ui/tabs/flint-tabs';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
export interface FlintTabListProps extends React.HTMLAttributes<FlintTabListElement> {
|
|
4
|
+
/** Layout direction of the tab list. */
|
|
5
|
+
orientation?: 'horizontal' | 'vertical';
|
|
6
|
+
/** Display variant controlling tab sizing and scrollability. */
|
|
7
|
+
variant?: 'standard' | 'fullWidth' | 'scrollable';
|
|
8
|
+
/** Whether to center the tabs within the tab list. */
|
|
9
|
+
centered?: boolean;
|
|
10
|
+
/** Whether to show scroll buttons in scrollable mode. */
|
|
11
|
+
scrollButtons?: 'auto' | 'false';
|
|
12
|
+
/** Accessible label for the tab list. */
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
onFlintTabClick?: (event: CustomEvent) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const FlintTabList: React.ForwardRefExoticComponent<FlintTabListProps & React.RefAttributes<FlintTabListElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintTabList.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTabList as FlintTabListElement } from "@getufy/flint-ui/tabs/flint-tabs";
|
|
5
|
+
var FlintTabList = createComponent({
|
|
6
|
+
tagName: "flint-tab-list",
|
|
7
|
+
elementClass: FlintTabListElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintTabClick: "flint-tab-click"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintTabList
|
|
15
|
+
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintTabPanel as FlintTabPanelElement } from '@getufy/flint-ui/tabs/flint-tabs';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface FlintTabPanelProps extends React.HTMLAttributes<FlintTabPanelElement> {
|
|
4
|
+
/** Identifier linking this panel to its corresponding tab. */
|
|
5
|
+
value?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const FlintTabPanel: React.ForwardRefExoticComponent<FlintTabPanelProps & React.RefAttributes<FlintTabPanelElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTabPanel.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTabPanel as FlintTabPanelElement } from "@getufy/flint-ui/tabs/flint-tabs";
|
|
5
|
+
var FlintTabPanel = createComponent({
|
|
6
|
+
tagName: "flint-tab-panel",
|
|
7
|
+
elementClass: FlintTabPanelElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTabPanel
|
|
12
|
+
};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintTable as FlintTableElement } from '@getufy/flint-ui/table/flint-table';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* flint-table
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintTableProps extends React.HTMLAttributes<FlintTableElement> {
|
|
7
|
+
/** Cell padding density. */
|
|
8
|
+
size?: 'medium' | 'small';
|
|
9
|
+
}
|
|
10
|
+
export declare const FlintTable: React.ForwardRefExoticComponent<FlintTableProps & React.RefAttributes<FlintTableElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTable.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTable as FlintTableElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTable = createComponent({
|
|
6
|
+
tagName: "flint-table",
|
|
7
|
+
elementClass: FlintTableElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTable
|
|
12
|
+
};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintTableBody as FlintTableBodyElement } from '@getufy/flint-ui/table/flint-table';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* flint-table-body
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintTableBodyProps extends React.HTMLAttributes<FlintTableBodyElement> {
|
|
7
|
+
/** Enables alternating row shading. */
|
|
8
|
+
striped?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const FlintTableBody: React.ForwardRefExoticComponent<FlintTableBodyProps & React.RefAttributes<FlintTableBodyElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableBody.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableBody as FlintTableBodyElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTableBody = createComponent({
|
|
6
|
+
tagName: "flint-table-body",
|
|
7
|
+
elementClass: FlintTableBodyElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableBody
|
|
12
|
+
};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintTableCell as FlintTableCellElement } from '@getufy/flint-ui/table/flint-table';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* flint-table-cell
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintTableCellProps extends React.HTMLAttributes<FlintTableCellElement> {
|
|
7
|
+
/** Renders the cell with header styling. */
|
|
8
|
+
header?: boolean;
|
|
9
|
+
/** Text alignment within the cell. */
|
|
10
|
+
align?: 'left' | 'right' | 'center';
|
|
11
|
+
/** Padding preset for the cell. */
|
|
12
|
+
padding?: 'normal' | 'checkbox' | 'none';
|
|
13
|
+
}
|
|
14
|
+
export declare const FlintTableCell: React.ForwardRefExoticComponent<FlintTableCellProps & React.RefAttributes<FlintTableCellElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableCell.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableCell as FlintTableCellElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTableCell = createComponent({
|
|
6
|
+
tagName: "flint-table-cell",
|
|
7
|
+
elementClass: FlintTableCellElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableCell
|
|
12
|
+
};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintTableContainer as FlintTableContainerElement } from '@getufy/flint-ui/table/flint-table';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* flint-table-container
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintTableContainerProps extends React.HTMLAttributes<FlintTableContainerElement> {
|
|
7
|
+
/** Applies a stronger box-shadow elevation. */
|
|
8
|
+
shadow?: boolean;
|
|
9
|
+
/** Sticks the table header to the top on scroll. */
|
|
10
|
+
stickyHeader?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const FlintTableContainer: React.ForwardRefExoticComponent<FlintTableContainerProps & React.RefAttributes<FlintTableContainerElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableContainer.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableContainer as FlintTableContainerElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTableContainer = createComponent({
|
|
6
|
+
tagName: "flint-table-container",
|
|
7
|
+
elementClass: FlintTableContainerElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableContainer
|
|
12
|
+
};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintTableFooter as FlintTableFooterElement } from '@getufy/flint-ui/table/flint-table';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* flint-table-footer
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintTableFooterProps extends React.HTMLAttributes<FlintTableFooterElement> {
|
|
7
|
+
}
|
|
8
|
+
export declare const FlintTableFooter: React.ForwardRefExoticComponent<FlintTableFooterProps & React.RefAttributes<FlintTableFooterElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableFooter.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableFooter as FlintTableFooterElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTableFooter = createComponent({
|
|
6
|
+
tagName: "flint-table-footer",
|
|
7
|
+
elementClass: FlintTableFooterElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableFooter
|
|
12
|
+
};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintTableHead as FlintTableHeadElement } from '@getufy/flint-ui/table/flint-table';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* flint-table-head
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintTableHeadProps extends React.HTMLAttributes<FlintTableHeadElement> {
|
|
7
|
+
}
|
|
8
|
+
export declare const FlintTableHead: React.ForwardRefExoticComponent<FlintTableHeadProps & React.RefAttributes<FlintTableHeadElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableHead.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableHead as FlintTableHeadElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTableHead = createComponent({
|
|
6
|
+
tagName: "flint-table-head",
|
|
7
|
+
elementClass: FlintTableHeadElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableHead
|
|
12
|
+
};
|
|
@@ -1,8 +1,34 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintTablePagination as FlintTablePaginationElement } from '@getufy/flint-ui/table/flint-table-pagination';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
export interface FlintPaginationPageChangeDetail {
|
|
4
|
+
page: number;
|
|
5
|
+
}
|
|
6
|
+
export interface FlintPaginationRowsPerPageChangeDetail {
|
|
7
|
+
rowsPerPage: number;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Table Pagination: pagination controls for tabular data.
|
|
11
|
+
*/
|
|
12
|
+
export interface FlintTablePaginationProps extends React.HTMLAttributes<FlintTablePaginationElement> {
|
|
13
|
+
/** Total number of rows. */
|
|
14
|
+
count?: number;
|
|
15
|
+
/** Controlled current page (0-indexed). */
|
|
16
|
+
page?: number;
|
|
17
|
+
/** Controlled rows per page. */
|
|
18
|
+
rowsPerPage?: number;
|
|
19
|
+
/** Available rows-per-page options. */
|
|
20
|
+
rowsPerPageOptions?: number[];
|
|
21
|
+
/** Uncontrolled default page (applied on first render). */
|
|
22
|
+
defaultPage?: number;
|
|
23
|
+
/** Uncontrolled default rows per page. */
|
|
24
|
+
defaultRowsPerPage?: number;
|
|
25
|
+
/** Show First/Last page buttons. */
|
|
26
|
+
showFirstLast?: boolean;
|
|
27
|
+
/** Label for the rows-per-page selector. */
|
|
28
|
+
labelRowsPerPage?: string;
|
|
29
|
+
/** Fired when the current page changes. */
|
|
30
|
+
onFlintPaginationPageChange?: (event: CustomEvent<FlintPaginationPageChangeDetail>) => void;
|
|
31
|
+
/** Fired when rows per page changes. */
|
|
32
|
+
onFlintPaginationRowsPerPageChange?: (event: CustomEvent<FlintPaginationRowsPerPageChangeDetail>) => void;
|
|
33
|
+
}
|
|
34
|
+
export declare const FlintTablePagination: React.ForwardRefExoticComponent<FlintTablePaginationProps & React.RefAttributes<FlintTablePaginationElement>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/FlintTablePagination.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTablePagination as FlintTablePaginationElement } from "@getufy/flint-ui/table/flint-table-pagination";
|
|
5
|
+
var FlintTablePagination = createComponent({
|
|
6
|
+
tagName: "flint-table-pagination",
|
|
7
|
+
elementClass: FlintTablePaginationElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintPaginationPageChange: "flint-pagination-page-change",
|
|
11
|
+
onFlintPaginationRowsPerPageChange: "flint-pagination-rows-per-page-change"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
FlintTablePagination
|
|
16
|
+
};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintTableRow as FlintTableRowElement } from '@getufy/flint-ui/table/flint-table';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* flint-table-row
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintTableRowProps extends React.HTMLAttributes<FlintTableRowElement> {
|
|
7
|
+
/** Highlights the row as selected. */
|
|
8
|
+
selected?: boolean;
|
|
9
|
+
/** Forces hover highlight on the row. */
|
|
10
|
+
hover?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const FlintTableRow: React.ForwardRefExoticComponent<FlintTableRowProps & React.RefAttributes<FlintTableRowElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableRow.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableRow as FlintTableRowElement } from "@getufy/flint-ui/table/flint-table";
|
|
5
|
+
var FlintTableRow = createComponent({
|
|
6
|
+
tagName: "flint-table-row",
|
|
7
|
+
elementClass: FlintTableRowElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableRow
|
|
12
|
+
};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintTableSortLabel as FlintTableSortLabelElement } from '@getufy/flint-ui/table/flint-table-sort-label';
|
|
3
|
-
export
|
|
4
|
-
|
|
3
|
+
export interface FlintTableSortLabelProps extends React.HTMLAttributes<FlintTableSortLabelElement> {
|
|
4
|
+
/** Whether this column is currently sorted. */
|
|
5
|
+
active?: boolean;
|
|
6
|
+
/** Sort direction when active. */
|
|
7
|
+
direction?: 'asc' | 'desc';
|
|
8
|
+
}
|
|
9
|
+
export declare const FlintTableSortLabel: React.ForwardRefExoticComponent<FlintTableSortLabelProps & React.RefAttributes<FlintTableSortLabelElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintTableSortLabel.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintTableSortLabel as FlintTableSortLabelElement } from "@getufy/flint-ui/table/flint-table-sort-label";
|
|
5
|
+
var FlintTableSortLabel = createComponent({
|
|
6
|
+
tagName: "flint-table-sort-label",
|
|
7
|
+
elementClass: FlintTableSortLabelElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintTableSortLabel
|
|
12
|
+
};
|
|
@@ -1,7 +1,29 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintTabs as FlintTabsElement } from '@getufy/flint-ui/tabs/flint-tabs';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
3
|
+
export interface FlintTabChangeDetail {
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Tabs: container that coordinates tab selection and panel visibility.
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintTabsProps extends Omit<React.HTMLAttributes<FlintTabsElement>, 'defaultValue'> {
|
|
10
|
+
/** The currently active tab value. */
|
|
11
|
+
value?: string;
|
|
12
|
+
/** Layout direction of the tabs. */
|
|
13
|
+
orientation?: 'horizontal' | 'vertical';
|
|
14
|
+
/** Display variant controlling tab sizing and scrollability. */
|
|
15
|
+
variant?: 'standard' | 'fullWidth' | 'scrollable';
|
|
16
|
+
/** Whether to center the tabs. */
|
|
17
|
+
centered?: boolean;
|
|
18
|
+
/** Whether to show scroll buttons in scrollable mode. */
|
|
19
|
+
scrollButtons?: 'auto' | 'false';
|
|
20
|
+
/** 'primary' | 'secondary' | 'inherit' | any CSS color */
|
|
21
|
+
textColor?: string;
|
|
22
|
+
/** 'primary' | 'secondary' | any CSS color */
|
|
23
|
+
indicatorColor?: string;
|
|
24
|
+
/** Uncontrolled mode: initial value if `value` not set */
|
|
25
|
+
defaultValue?: string;
|
|
26
|
+
/** Fired when the active tab changes. */
|
|
27
|
+
onFlintTabChange?: (event: CustomEvent<FlintTabChangeDetail>) => void;
|
|
28
|
+
}
|
|
29
|
+
export declare const FlintTabs: React.ForwardRefExoticComponent<FlintTabsProps & React.RefAttributes<FlintTabsElement>>;
|