@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,7 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintMenubarRadioGroup as FlintMenubarRadioGroupElement } from '@getufy/flint-ui/menubar/flint-menubar';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
3
|
+
export interface FlintMenubarRadioChangeDetail {
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Manages single-select radio items.
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintMenubarRadioGroupProps extends React.HTMLAttributes<FlintMenubarRadioGroupElement> {
|
|
10
|
+
/** The value of the currently selected radio item. */
|
|
11
|
+
value?: string;
|
|
12
|
+
/** detail: `{ value: string }` */
|
|
13
|
+
onFlintMenubarRadioChange?: (event: CustomEvent<FlintMenubarRadioChangeDetail>) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const FlintMenubarRadioGroup: React.ForwardRefExoticComponent<FlintMenubarRadioGroupProps & React.RefAttributes<FlintMenubarRadioGroupElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintMenubarRadioGroup.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintMenubarRadioGroup as FlintMenubarRadioGroupElement } from "@getufy/flint-ui/menubar/flint-menubar";
|
|
5
|
+
var FlintMenubarRadioGroup = createComponent({
|
|
6
|
+
tagName: "flint-menubar-radio-group",
|
|
7
|
+
elementClass: FlintMenubarRadioGroupElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintMenubarRadioChange: "flint-menubar-radio-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintMenubarRadioGroup
|
|
15
|
+
};
|
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintMenubarRadioItem as FlintMenubarRadioItemElement } from '@getufy/flint-ui/menubar/flint-menubar';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
3
|
+
export interface FlintMenubarRadioSelectDetail {
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* A radio option inside a `<flint-menubar-radio-group>`.
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintMenubarRadioItemProps extends React.HTMLAttributes<FlintMenubarRadioItemElement> {
|
|
10
|
+
/** Value identifying this radio option within its group. */
|
|
11
|
+
value?: string;
|
|
12
|
+
/** Whether this radio item is currently selected. */
|
|
13
|
+
checked?: boolean;
|
|
14
|
+
/** Whether the item is non-interactive. */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** Whether the item is visually highlighted (e.g. via keyboard or hover). */
|
|
17
|
+
highlighted?: boolean;
|
|
18
|
+
onFlintMenubarRadioSelect?: (event: CustomEvent<FlintMenubarRadioSelectDetail>) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const FlintMenubarRadioItem: React.ForwardRefExoticComponent<FlintMenubarRadioItemProps & React.RefAttributes<FlintMenubarRadioItemElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintMenubarRadioItem.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintMenubarRadioItem as FlintMenubarRadioItemElement } from "@getufy/flint-ui/menubar/flint-menubar";
|
|
5
|
+
var FlintMenubarRadioItem = createComponent({
|
|
6
|
+
tagName: "flint-menubar-radio-item",
|
|
7
|
+
elementClass: FlintMenubarRadioItemElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintMenubarRadioSelect: "flint-menubar-radio-select"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintMenubarRadioItem
|
|
15
|
+
};
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintMenubarSeparator as FlintMenubarSeparatorElement } from '@getufy/flint-ui/menubar/flint-menubar';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* A hairline separator between menu groups.
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintMenubarSeparatorProps extends React.HTMLAttributes<FlintMenubarSeparatorElement> {
|
|
7
|
+
}
|
|
8
|
+
export declare const FlintMenubarSeparator: React.ForwardRefExoticComponent<FlintMenubarSeparatorProps & React.RefAttributes<FlintMenubarSeparatorElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintMenubarSeparator.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintMenubarSeparator as FlintMenubarSeparatorElement } from "@getufy/flint-ui/menubar/flint-menubar";
|
|
5
|
+
var FlintMenubarSeparator = createComponent({
|
|
6
|
+
tagName: "flint-menubar-separator",
|
|
7
|
+
elementClass: FlintMenubarSeparatorElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintMenubarSeparator
|
|
12
|
+
};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintMenubarShortcut as FlintMenubarShortcutElement } from '@getufy/flint-ui/menubar/flint-menubar';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Displays a keyboard shortcut hint inside a menu item.
|
|
5
|
+
*
|
|
6
|
+
* @slot - Shortcut text, e.g. `⌘T` or `Ctrl+N`.
|
|
7
|
+
*/
|
|
8
|
+
export interface FlintMenubarShortcutProps extends React.HTMLAttributes<FlintMenubarShortcutElement> {
|
|
9
|
+
}
|
|
10
|
+
export declare const FlintMenubarShortcut: React.ForwardRefExoticComponent<FlintMenubarShortcutProps & React.RefAttributes<FlintMenubarShortcutElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintMenubarShortcut.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintMenubarShortcut as FlintMenubarShortcutElement } from "@getufy/flint-ui/menubar/flint-menubar";
|
|
5
|
+
var FlintMenubarShortcut = createComponent({
|
|
6
|
+
tagName: "flint-menubar-shortcut",
|
|
7
|
+
elementClass: FlintMenubarShortcutElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintMenubarShortcut
|
|
12
|
+
};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintMenubarSub as FlintMenubarSubElement } from '@getufy/flint-ui/menubar/flint-menubar';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Wraps a sub-trigger and sub-content pair.
|
|
5
|
+
Opens on hover/focus and ArrowRight; closes on ArrowLeft or blur.
|
|
6
|
+
*/
|
|
7
|
+
export interface FlintMenubarSubProps extends React.HTMLAttributes<FlintMenubarSubElement> {
|
|
8
|
+
}
|
|
9
|
+
export declare const FlintMenubarSub: React.ForwardRefExoticComponent<FlintMenubarSubProps & React.RefAttributes<FlintMenubarSubElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintMenubarSub.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintMenubarSub as FlintMenubarSubElement } from "@getufy/flint-ui/menubar/flint-menubar";
|
|
5
|
+
var FlintMenubarSub = createComponent({
|
|
6
|
+
tagName: "flint-menubar-sub",
|
|
7
|
+
elementClass: FlintMenubarSubElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintMenubarSub
|
|
12
|
+
};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintMenubarSubContent as FlintMenubarSubContentElement } from '@getufy/flint-ui/menubar/flint-menubar';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* The dropdown panel of a sub-menu. Positioned to the right of the trigger.
|
|
5
|
+
Auto-flips left when the panel would overflow the viewport edge.
|
|
6
|
+
*/
|
|
7
|
+
export interface FlintMenubarSubContentProps extends React.HTMLAttributes<FlintMenubarSubContentElement> {
|
|
8
|
+
/** Whether the sub-menu dropdown panel is visible. */
|
|
9
|
+
open?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const FlintMenubarSubContent: React.ForwardRefExoticComponent<FlintMenubarSubContentProps & React.RefAttributes<FlintMenubarSubContentElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintMenubarSubContent.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintMenubarSubContent as FlintMenubarSubContentElement } from "@getufy/flint-ui/menubar/flint-menubar";
|
|
5
|
+
var FlintMenubarSubContent = createComponent({
|
|
6
|
+
tagName: "flint-menubar-sub-content",
|
|
7
|
+
elementClass: FlintMenubarSubContentElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintMenubarSubContent
|
|
12
|
+
};
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintMenubarSubTrigger as FlintMenubarSubTriggerElement } from '@getufy/flint-ui/menubar/flint-menubar';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Trigger for a sub-menu. Shows an arrow indicator.
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintMenubarSubTriggerProps extends React.HTMLAttributes<FlintMenubarSubTriggerElement> {
|
|
7
|
+
/** Whether the trigger is visually highlighted (e.g. via keyboard or hover). */
|
|
8
|
+
highlighted?: boolean;
|
|
9
|
+
/** Whether the trigger is non-interactive. */
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
/** Whether the trigger label is inset to align with checkbox/radio items. */
|
|
12
|
+
inset?: boolean;
|
|
13
|
+
/** Set by the parent `flint-menubar-sub` to reflect open state for aria-expanded. */
|
|
14
|
+
expanded?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const FlintMenubarSubTrigger: React.ForwardRefExoticComponent<FlintMenubarSubTriggerProps & React.RefAttributes<FlintMenubarSubTriggerElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintMenubarSubTrigger.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintMenubarSubTrigger as FlintMenubarSubTriggerElement } from "@getufy/flint-ui/menubar/flint-menubar";
|
|
5
|
+
var FlintMenubarSubTrigger = createComponent({
|
|
6
|
+
tagName: "flint-menubar-sub-trigger",
|
|
7
|
+
elementClass: FlintMenubarSubTriggerElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintMenubarSubTrigger
|
|
12
|
+
};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintMenubarTrigger as FlintMenubarTriggerElement } from '@getufy/flint-ui/menubar/flint-menubar';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* The trigger button for a menubar menu.
|
|
5
|
+
*
|
|
6
|
+
* @slot - Trigger label text.
|
|
7
|
+
*/
|
|
8
|
+
export interface FlintMenubarTriggerProps extends React.HTMLAttributes<FlintMenubarTriggerElement> {
|
|
9
|
+
/** Whether the trigger's associated menu is currently open. */
|
|
10
|
+
active?: boolean;
|
|
11
|
+
/** Whether the trigger is non-interactive. */
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare const FlintMenubarTrigger: React.ForwardRefExoticComponent<FlintMenubarTriggerProps & React.RefAttributes<FlintMenubarTriggerElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintMenubarTrigger.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintMenubarTrigger as FlintMenubarTriggerElement } from "@getufy/flint-ui/menubar/flint-menubar";
|
|
5
|
+
var FlintMenubarTrigger = createComponent({
|
|
6
|
+
tagName: "flint-menubar-trigger",
|
|
7
|
+
elementClass: FlintMenubarTriggerElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintMenubarTrigger
|
|
12
|
+
};
|
|
@@ -1,4 +1,27 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintMobileStepper as FlintMobileStepperElement } from '@getufy/flint-ui/stepper/flint-stepper';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Mobile Stepper: a compact stepper for mobile layouts.
|
|
5
|
+
*
|
|
6
|
+
* @slot back-button - Back navigation button.
|
|
7
|
+
* @slot next-button - Next navigation button.
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintMobileStepperProps extends React.HTMLAttributes<FlintMobileStepperElement> {
|
|
10
|
+
/** Total number of steps. */
|
|
11
|
+
steps?: number;
|
|
12
|
+
/** Zero-based index of the currently active step. */
|
|
13
|
+
activeStep?: number;
|
|
14
|
+
/** Progress indicator style: text counter, dot indicators, or a progress bar. */
|
|
15
|
+
variant?: 'text' | 'dots' | 'progress';
|
|
16
|
+
/** Positioning of the mobile stepper within its container. */
|
|
17
|
+
position?: 'top' | 'bottom' | 'static';
|
|
18
|
+
/** Label text for the Back navigation button (supports i18n). */
|
|
19
|
+
backLabel?: string;
|
|
20
|
+
/** Label text for the Next navigation button (supports i18n). */
|
|
21
|
+
nextLabel?: string;
|
|
22
|
+
/** Fired when the back button is clicked. */
|
|
23
|
+
onFlintMobileStepBack?: (event: CustomEvent) => void;
|
|
24
|
+
/** Fired when the next button is clicked. */
|
|
25
|
+
onFlintMobileStepNext?: (event: CustomEvent) => void;
|
|
26
|
+
}
|
|
27
|
+
export declare const FlintMobileStepper: React.ForwardRefExoticComponent<FlintMobileStepperProps & React.RefAttributes<FlintMobileStepperElement>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/FlintMobileStepper.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintMobileStepper as FlintMobileStepperElement } from "@getufy/flint-ui/stepper/flint-stepper";
|
|
5
|
+
var FlintMobileStepper = createComponent({
|
|
6
|
+
tagName: "flint-mobile-stepper",
|
|
7
|
+
elementClass: FlintMobileStepperElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintMobileStepBack: "flint-mobile-step-back",
|
|
11
|
+
onFlintMobileStepNext: "flint-mobile-step-next"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
FlintMobileStepper
|
|
16
|
+
};
|
|
@@ -1,7 +1,26 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintMobileTimePicker as FlintMobileTimePickerElement } from '@getufy/flint-ui/time-picker/flint-time-picker';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
3
|
+
/**
|
|
4
|
+
* Mobile Time Picker: a time field with a modal clock dialog.
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintMobileTimePickerProps extends React.HTMLAttributes<FlintMobileTimePickerElement> {
|
|
7
|
+
/** Time value in HH:MM:SS format. */
|
|
8
|
+
value?: string;
|
|
9
|
+
/** Field label text. */
|
|
10
|
+
label?: string;
|
|
11
|
+
/** Whether to use 12-hour (AM/PM) format instead of 24-hour. */
|
|
12
|
+
ampm?: boolean;
|
|
13
|
+
/** Whether to show a seconds segment. */
|
|
14
|
+
seconds?: boolean;
|
|
15
|
+
/** Disables the picker and prevents interaction. */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/** Displays the picker in an error state. */
|
|
18
|
+
error?: boolean;
|
|
19
|
+
/** Helper text shown below the field. */
|
|
20
|
+
helperText?: string;
|
|
21
|
+
/** Error message displayed below the field when in error state. */
|
|
22
|
+
errorMessage?: string;
|
|
23
|
+
/** Fired when the time value changes. detail: `{ value: string }` */
|
|
24
|
+
onFlintMobileTimePickerChange?: (event: CustomEvent) => void;
|
|
25
|
+
}
|
|
26
|
+
export declare const FlintMobileTimePicker: React.ForwardRefExoticComponent<FlintMobileTimePickerProps & React.RefAttributes<FlintMobileTimePickerElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintMobileTimePicker.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintMobileTimePicker as FlintMobileTimePickerElement } from "@getufy/flint-ui/time-picker/flint-time-picker";
|
|
5
|
+
var FlintMobileTimePicker = createComponent({
|
|
6
|
+
tagName: "flint-mobile-time-picker",
|
|
7
|
+
elementClass: FlintMobileTimePickerElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintMobileTimePickerChange: "flint-mobile-time-picker-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintMobileTimePicker
|
|
15
|
+
};
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintMultiSectionDigitalClock as FlintMultiSectionDigitalClockElement } from '@getufy/flint-ui/time-picker/flint-time-picker';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
3
|
+
export interface FlintMultiSectionDigitalClockChangeDetail {
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Multi Section Digital Clock: hours, minutes, and optional seconds columns.
|
|
8
|
+
*/
|
|
9
|
+
export interface FlintMultiSectionDigitalClockProps extends React.HTMLAttributes<FlintMultiSectionDigitalClockElement> {
|
|
10
|
+
/** Time value in HH:MM:SS format. */
|
|
11
|
+
value?: string;
|
|
12
|
+
/** Whether to use 12-hour (AM/PM) format instead of 24-hour. */
|
|
13
|
+
ampm?: boolean;
|
|
14
|
+
/** Whether to show a seconds column. */
|
|
15
|
+
seconds?: boolean;
|
|
16
|
+
/** Fired when the time value changes. detail: `{ value: string }` */
|
|
17
|
+
onFlintMultiSectionDigitalClockChange?: (event: CustomEvent<FlintMultiSectionDigitalClockChangeDetail>) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare const FlintMultiSectionDigitalClock: React.ForwardRefExoticComponent<FlintMultiSectionDigitalClockProps & React.RefAttributes<FlintMultiSectionDigitalClockElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintMultiSectionDigitalClock.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintMultiSectionDigitalClock as FlintMultiSectionDigitalClockElement } from "@getufy/flint-ui/time-picker/flint-time-picker";
|
|
5
|
+
var FlintMultiSectionDigitalClock = createComponent({
|
|
6
|
+
tagName: "flint-multi-section-digital-clock",
|
|
7
|
+
elementClass: FlintMultiSectionDigitalClockElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintMultiSectionDigitalClockChange: "flint-multi-section-digital-clock-change"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintMultiSectionDigitalClock
|
|
15
|
+
};
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintNavigationMenu as FlintNavigationMenuElement } from '@getufy/flint-ui/navigation-menu/flint-navigation-menu';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @slot default - The menu content (NavigationMenuList)
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintNavigationMenuProps extends Omit<React.HTMLAttributes<FlintNavigationMenuElement>, 'dir'> {
|
|
7
|
+
/** The direction of the menu (ltr or rtl) */
|
|
8
|
+
dir?: 'ltr' | 'rtl';
|
|
9
|
+
}
|
|
10
|
+
export declare const FlintNavigationMenu: React.ForwardRefExoticComponent<FlintNavigationMenuProps & React.RefAttributes<FlintNavigationMenuElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintNavigationMenu.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintNavigationMenu as FlintNavigationMenuElement } from "@getufy/flint-ui/navigation-menu/flint-navigation-menu";
|
|
5
|
+
var FlintNavigationMenu = createComponent({
|
|
6
|
+
tagName: "flint-navigation-menu",
|
|
7
|
+
elementClass: FlintNavigationMenuElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintNavigationMenu
|
|
12
|
+
};
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintNavigationMenuContent as FlintNavigationMenuContentElement } from '@getufy/flint-ui/navigation-menu/flint-navigation-menu-content';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
export interface FlintNavigationMenuContentToggleDetail {
|
|
4
|
+
contentId: string;
|
|
5
|
+
open: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @slot default - Menu content items
|
|
9
|
+
*/
|
|
10
|
+
export interface FlintNavigationMenuContentProps extends Omit<React.HTMLAttributes<FlintNavigationMenuContentElement>, 'id' | 'dir'> {
|
|
11
|
+
/** Unique identifier for this content panel */
|
|
12
|
+
id?: string;
|
|
13
|
+
/** Whether the content is open/visible */
|
|
14
|
+
open?: boolean;
|
|
15
|
+
/** The direction (ltr or rtl) */
|
|
16
|
+
dir?: 'ltr' | 'rtl';
|
|
17
|
+
/** Gap between items in the content */
|
|
18
|
+
gap?: number;
|
|
19
|
+
/** Fired when the content panel opens or closes. */
|
|
20
|
+
onFlintNavigationMenuContentToggle?: (event: CustomEvent<FlintNavigationMenuContentToggleDetail>) => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const FlintNavigationMenuContent: React.ForwardRefExoticComponent<FlintNavigationMenuContentProps & React.RefAttributes<FlintNavigationMenuContentElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintNavigationMenuContent.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintNavigationMenuContent as FlintNavigationMenuContentElement } from "@getufy/flint-ui/navigation-menu/flint-navigation-menu-content";
|
|
5
|
+
var FlintNavigationMenuContent = createComponent({
|
|
6
|
+
tagName: "flint-navigation-menu-content",
|
|
7
|
+
elementClass: FlintNavigationMenuContentElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintNavigationMenuContentToggle: "flint-navigation-menu-content-toggle"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintNavigationMenuContent
|
|
15
|
+
};
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintNavigationMenuItem as FlintNavigationMenuItemElement } from '@getufy/flint-ui/navigation-menu/flint-navigation-menu-item';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @slot default - Item content (NavigationMenuTrigger and NavigationMenuContent)
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintNavigationMenuItemProps extends React.HTMLAttributes<FlintNavigationMenuItemElement> {
|
|
7
|
+
/** Unique identifier for this menu item */
|
|
8
|
+
itemId?: string;
|
|
9
|
+
/** Whether this item is disabled */
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
/** Delay in ms before opening on hover */
|
|
12
|
+
openDelay?: number;
|
|
13
|
+
/** Delay in ms before closing after mouse leaves */
|
|
14
|
+
closeDelay?: number;
|
|
15
|
+
/** Fired when the item's trigger is clicked. */
|
|
16
|
+
onFlintNavigationMenuTriggerClick?: (event: CustomEvent) => void;
|
|
17
|
+
/** Fired when content visibility changes. */
|
|
18
|
+
onFlintNavigationMenuContentToggle?: (event: CustomEvent) => void;
|
|
19
|
+
}
|
|
20
|
+
export declare const FlintNavigationMenuItem: React.ForwardRefExoticComponent<FlintNavigationMenuItemProps & React.RefAttributes<FlintNavigationMenuItemElement>>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// src/components/FlintNavigationMenuItem.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintNavigationMenuItem as FlintNavigationMenuItemElement } from "@getufy/flint-ui/navigation-menu/flint-navigation-menu-item";
|
|
5
|
+
var FlintNavigationMenuItem = createComponent({
|
|
6
|
+
tagName: "flint-navigation-menu-item",
|
|
7
|
+
elementClass: FlintNavigationMenuItemElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintNavigationMenuTriggerClick: "flint-navigation-menu-trigger-click",
|
|
11
|
+
onFlintNavigationMenuContentToggle: "flint-navigation-menu-content-toggle"
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
FlintNavigationMenuItem
|
|
16
|
+
};
|
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintNavigationMenuLink as FlintNavigationMenuLinkElement } from '@getufy/flint-ui/navigation-menu/flint-navigation-menu-link';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @slot default - Link text/content
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintNavigationMenuLinkProps extends Omit<React.HTMLAttributes<FlintNavigationMenuLinkElement>, 'title'> {
|
|
7
|
+
/** The link URL */
|
|
8
|
+
href?: string;
|
|
9
|
+
/** The link target (e.g., '_blank') */
|
|
10
|
+
target?: string;
|
|
11
|
+
/** Link title/tooltip */
|
|
12
|
+
title?: string;
|
|
13
|
+
/** Whether the link is disabled */
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/** Whether this link represents the current page. */
|
|
16
|
+
active?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const FlintNavigationMenuLink: React.ForwardRefExoticComponent<FlintNavigationMenuLinkProps & React.RefAttributes<FlintNavigationMenuLinkElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintNavigationMenuLink.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintNavigationMenuLink as FlintNavigationMenuLinkElement } from "@getufy/flint-ui/navigation-menu/flint-navigation-menu-link";
|
|
5
|
+
var FlintNavigationMenuLink = createComponent({
|
|
6
|
+
tagName: "flint-navigation-menu-link",
|
|
7
|
+
elementClass: FlintNavigationMenuLinkElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintNavigationMenuLink
|
|
12
|
+
};
|
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FlintNavigationMenuList as FlintNavigationMenuListElement } from '@getufy/flint-ui/navigation-menu/flint-navigation-menu-list';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @slot default - Menu items (NavigationMenuItem elements)
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintNavigationMenuListProps extends React.HTMLAttributes<FlintNavigationMenuListElement> {
|
|
7
|
+
/** Gap between menu items */
|
|
8
|
+
gap?: number;
|
|
9
|
+
/** Flex direction for the list */
|
|
10
|
+
direction?: 'row' | 'column';
|
|
11
|
+
/** Accessible label for the navigation landmark. */
|
|
12
|
+
ariaLabel?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const FlintNavigationMenuList: React.ForwardRefExoticComponent<FlintNavigationMenuListProps & React.RefAttributes<FlintNavigationMenuListElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// src/components/FlintNavigationMenuList.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintNavigationMenuList as FlintNavigationMenuListElement } from "@getufy/flint-ui/navigation-menu/flint-navigation-menu-list";
|
|
5
|
+
var FlintNavigationMenuList = createComponent({
|
|
6
|
+
tagName: "flint-navigation-menu-list",
|
|
7
|
+
elementClass: FlintNavigationMenuListElement,
|
|
8
|
+
react: React
|
|
9
|
+
});
|
|
10
|
+
export {
|
|
11
|
+
FlintNavigationMenuList
|
|
12
|
+
};
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { type EventName } from '@lit/react';
|
|
3
2
|
import { FlintNavigationMenuTrigger as FlintNavigationMenuTriggerElement } from '@getufy/flint-ui/navigation-menu/flint-navigation-menu-trigger';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
3
|
+
/**
|
|
4
|
+
* @slot default - Trigger label/content
|
|
5
|
+
*/
|
|
6
|
+
export interface FlintNavigationMenuTriggerProps extends React.HTMLAttributes<FlintNavigationMenuTriggerElement> {
|
|
7
|
+
/** The ID of the associated content element */
|
|
8
|
+
contentId?: string;
|
|
9
|
+
/** Whether the trigger is disabled */
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
/** Fired when trigger is clicked */
|
|
12
|
+
onFlintNavigationMenuTriggerClick?: (event: CustomEvent) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const FlintNavigationMenuTrigger: React.ForwardRefExoticComponent<FlintNavigationMenuTriggerProps & React.RefAttributes<FlintNavigationMenuTriggerElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// src/components/FlintNavigationMenuTrigger.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import { FlintNavigationMenuTrigger as FlintNavigationMenuTriggerElement } from "@getufy/flint-ui/navigation-menu/flint-navigation-menu-trigger";
|
|
5
|
+
var FlintNavigationMenuTrigger = createComponent({
|
|
6
|
+
tagName: "flint-navigation-menu-trigger",
|
|
7
|
+
elementClass: FlintNavigationMenuTriggerElement,
|
|
8
|
+
react: React,
|
|
9
|
+
events: {
|
|
10
|
+
onFlintNavigationMenuTriggerClick: "flint-navigation-menu-trigger-click"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
FlintNavigationMenuTrigger
|
|
15
|
+
};
|