@gamecrafters/base-ui 0.0.1
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/LICENSE +21 -0
- package/build/components/accordion/Accordion.d.ts +12 -0
- package/build/components/accordion/Accordion.types.d.ts +38 -0
- package/build/components/accordion/AccordionContext.d.ts +2 -0
- package/build/components/accordion/AccordionHeader.d.ts +6 -0
- package/build/components/accordion/AccordionItem.d.ts +9 -0
- package/build/components/accordion/AccordionItemContext.d.ts +2 -0
- package/build/components/accordion/AccordionPanel.d.ts +7 -0
- package/build/components/accordion/index.d.ts +34 -0
- package/build/components/action-bar/ActionBar.d.ts +7 -0
- package/build/components/action-bar/ActionBar.types.d.ts +57 -0
- package/build/components/action-bar/ActionBarButton.d.ts +5 -0
- package/build/components/action-bar/ActionBarContext.d.ts +2 -0
- package/build/components/action-bar/ActionBarDivider.d.ts +7 -0
- package/build/components/action-bar/ActionBarGroup.d.ts +7 -0
- package/build/components/action-bar/ActionBarIconButton.d.ts +4 -0
- package/build/components/action-bar/ActionBarItemContext.d.ts +2 -0
- package/build/components/action-bar/ActionBarMenu.d.ts +9 -0
- package/build/components/action-bar/ActionBarMenuItems.d.ts +5 -0
- package/build/components/action-bar/index.d.ts +25 -0
- package/build/components/action-bar/useActionBarItem.d.ts +5 -0
- package/build/components/action-list/ActionList.d.ts +12 -0
- package/build/components/action-list/ActionList.types.d.ts +95 -0
- package/build/components/action-list/ActionListContainerContext.d.ts +2 -0
- package/build/components/action-list/ActionListContext.d.ts +2 -0
- package/build/components/action-list/ActionListDescription.d.ts +7 -0
- package/build/components/action-list/ActionListDivider.d.ts +7 -0
- package/build/components/action-list/ActionListGroup.d.ts +7 -0
- package/build/components/action-list/ActionListGroupContext.d.ts +2 -0
- package/build/components/action-list/ActionListGroupHeading.d.ts +5 -0
- package/build/components/action-list/ActionListHeading.d.ts +9 -0
- package/build/components/action-list/ActionListItem.d.ts +15 -0
- package/build/components/action-list/ActionListItemContext.d.ts +2 -0
- package/build/components/action-list/ActionListLeadingVisual.d.ts +7 -0
- package/build/components/action-list/ActionListLinkItem.d.ts +3 -0
- package/build/components/action-list/ActionListSelection.d.ts +7 -0
- package/build/components/action-list/ActionListSubItem.d.ts +6 -0
- package/build/components/action-list/ActionListTrailingAction.d.ts +7 -0
- package/build/components/action-list/ActionListTrailingVisual.d.ts +7 -0
- package/build/components/action-list/ActionListVisual.d.ts +3 -0
- package/build/components/action-list/index.d.ts +59 -0
- package/build/components/action-menu/ActionMenu.d.ts +7 -0
- package/build/components/action-menu/ActionMenu.types.d.ts +29 -0
- package/build/components/action-menu/ActionMenuAnchor.d.ts +7 -0
- package/build/components/action-menu/ActionMenuButton.d.ts +7 -0
- package/build/components/action-menu/ActionMenuContext.d.ts +2 -0
- package/build/components/action-menu/ActionMenuOverlay.d.ts +7 -0
- package/build/components/action-menu/index.d.ts +14 -0
- package/build/components/alert/Alert.d.ts +9 -0
- package/build/components/alert/Alert.types.d.ts +7 -0
- package/build/components/alert/index.d.ts +2 -0
- package/build/components/anchored-overlay/AnchoredOverlay.d.ts +7 -0
- package/build/components/anchored-overlay/AnchoredOverlay.types.d.ts +58 -0
- package/build/components/anchored-overlay/index.d.ts +2 -0
- package/build/components/autocomplete/Autocomplete.d.ts +7 -0
- package/build/components/autocomplete/Autocomplete.types.d.ts +77 -0
- package/build/components/autocomplete/AutocompleteContext.d.ts +4 -0
- package/build/components/autocomplete/AutocompleteInput.d.ts +6 -0
- package/build/components/autocomplete/AutocompleteMenu.d.ts +7 -0
- package/build/components/autocomplete/AutocompleteOverlay.d.ts +7 -0
- package/build/components/autocomplete/index.d.ts +15 -0
- package/build/components/avatar/Avatar.d.ts +11 -0
- package/build/components/avatar/Avatar.types.d.ts +10 -0
- package/build/components/avatar/index.d.ts +2 -0
- package/build/components/avatar-stack/AvatarStack.d.ts +14 -0
- package/build/components/avatar-stack/AvatarStack.types.d.ts +12 -0
- package/build/components/avatar-stack/index.d.ts +2 -0
- package/build/components/banner/Banner.d.ts +17 -0
- package/build/components/banner/Banner.types.d.ts +33 -0
- package/build/components/banner/BannerContext.d.ts +2 -0
- package/build/components/banner/BannerDescription.d.ts +5 -0
- package/build/components/banner/BannerPrimaryAction.d.ts +3 -0
- package/build/components/banner/BannerSecondaryAction.d.ts +3 -0
- package/build/components/banner/BannerTitle.d.ts +6 -0
- package/build/components/banner/index.d.ts +31 -0
- package/build/components/blankslate/Blankslate.d.ts +12 -0
- package/build/components/blankslate/Blankslate.types.d.ts +28 -0
- package/build/components/blankslate/BlankslateAction.d.ts +5 -0
- package/build/components/blankslate/BlankslateDescription.d.ts +5 -0
- package/build/components/blankslate/BlankslateHeading.d.ts +6 -0
- package/build/components/blankslate/BlankslatePrimaryAction.d.ts +5 -0
- package/build/components/blankslate/BlankslateSecondaryAction.d.ts +7 -0
- package/build/components/blankslate/BlankslateVisual.d.ts +5 -0
- package/build/components/blankslate/index.d.ts +35 -0
- package/build/components/breadcrumbs/Breadcrumbs.d.ts +7 -0
- package/build/components/breadcrumbs/Breadcrumbs.types.d.ts +17 -0
- package/build/components/breadcrumbs/BreadcrumbsContext.d.ts +5 -0
- package/build/components/breadcrumbs/BreadcrumbsItem.d.ts +8 -0
- package/build/components/breadcrumbs/BreadcrumbsOverflowMenu.d.ts +7 -0
- package/build/components/breadcrumbs/index.d.ts +13 -0
- package/build/components/button/Button.d.ts +5 -0
- package/build/components/button/Button.types.d.ts +24 -0
- package/build/components/button/ButtonBase.d.ts +25 -0
- package/build/components/button/index.d.ts +2 -0
- package/build/components/button-group/ButtonGroup.d.ts +7 -0
- package/build/components/button-group/ButtonGroup.types.d.ts +5 -0
- package/build/components/button-group/index.d.ts +2 -0
- package/build/components/calendar/Calendar.d.ts +4 -0
- package/build/components/calendar/Calendar.types.d.ts +75 -0
- package/build/components/calendar/CalendarDay.d.ts +14 -0
- package/build/components/calendar/calendarDates.d.ts +21 -0
- package/build/components/calendar/index.d.ts +18 -0
- package/build/components/card/Card.d.ts +11 -0
- package/build/components/card/Card.types.d.ts +37 -0
- package/build/components/card/CardAction.d.ts +5 -0
- package/build/components/card/CardContext.d.ts +2 -0
- package/build/components/card/CardDescription.d.ts +5 -0
- package/build/components/card/CardHeading.d.ts +6 -0
- package/build/components/card/CardIcon.d.ts +6 -0
- package/build/components/card/CardImage.d.ts +5 -0
- package/build/components/card/CardMetadata.d.ts +5 -0
- package/build/components/card/index.d.ts +37 -0
- package/build/components/carousel/Carousel.d.ts +4 -0
- package/build/components/carousel/Carousel.types.d.ts +47 -0
- package/build/components/carousel/CarouselContext.d.ts +3 -0
- package/build/components/carousel/CarouselControls.d.ts +5 -0
- package/build/components/carousel/CarouselIndicators.d.ts +5 -0
- package/build/components/carousel/CarouselNextButton.d.ts +5 -0
- package/build/components/carousel/CarouselPlayButton.d.ts +5 -0
- package/build/components/carousel/CarouselPreviousButton.d.ts +5 -0
- package/build/components/carousel/CarouselSlide.d.ts +5 -0
- package/build/components/carousel/index.d.ts +29 -0
- package/build/components/chart/Chart.d.ts +21 -0
- package/build/components/chart/Chart.types.d.ts +59 -0
- package/build/components/chart/ChartLegend.d.ts +6 -0
- package/build/components/chart/ChartTooltip.d.ts +8 -0
- package/build/components/chart/chartPalette.d.ts +3 -0
- package/build/components/chart/chartScales.d.ts +36 -0
- package/build/components/chart/index.d.ts +36 -0
- package/build/components/chart/useChartWidth.d.ts +2 -0
- package/build/components/checkbox/Checkbox.d.ts +8 -0
- package/build/components/checkbox/Checkbox.types.d.ts +8 -0
- package/build/components/checkbox/index.d.ts +2 -0
- package/build/components/checkbox-group/CheckboxGroup.d.ts +9 -0
- package/build/components/checkbox-group/CheckboxGroup.types.d.ts +28 -0
- package/build/components/checkbox-group/CheckboxGroupCaption.d.ts +5 -0
- package/build/components/checkbox-group/CheckboxGroupContext.d.ts +2 -0
- package/build/components/checkbox-group/CheckboxGroupLabel.d.ts +6 -0
- package/build/components/checkbox-group/CheckboxGroupValidation.d.ts +7 -0
- package/build/components/checkbox-group/index.d.ts +25 -0
- package/build/components/collapsible/Collapsible.d.ts +10 -0
- package/build/components/collapsible/Collapsible.types.d.ts +25 -0
- package/build/components/collapsible/CollapsibleContent.d.ts +7 -0
- package/build/components/collapsible/CollapsibleContext.d.ts +2 -0
- package/build/components/collapsible/CollapsibleTrigger.d.ts +6 -0
- package/build/components/collapsible/index.d.ts +23 -0
- package/build/components/command-palette/CommandPalette.d.ts +16 -0
- package/build/components/command-palette/CommandPalette.types.d.ts +81 -0
- package/build/components/command-palette/CommandPaletteContext.d.ts +3 -0
- package/build/components/command-palette/CommandPaletteDialog.d.ts +21 -0
- package/build/components/command-palette/CommandPaletteEmpty.d.ts +5 -0
- package/build/components/command-palette/CommandPaletteGroup.d.ts +7 -0
- package/build/components/command-palette/CommandPaletteInput.d.ts +5 -0
- package/build/components/command-palette/CommandPaletteItem.d.ts +10 -0
- package/build/components/command-palette/CommandPaletteList.d.ts +6 -0
- package/build/components/command-palette/CommandPaletteLoading.d.ts +6 -0
- package/build/components/command-palette/CommandPaletteSeparator.d.ts +6 -0
- package/build/components/command-palette/commandScore.d.ts +1 -0
- package/build/components/command-palette/index.d.ts +77 -0
- package/build/components/confirmation-dialog/ConfirmationDialog.d.ts +17 -0
- package/build/components/confirmation-dialog/ConfirmationDialog.types.d.ts +21 -0
- package/build/components/confirmation-dialog/index.d.ts +3 -0
- package/build/components/confirmation-dialog/useConfirm.d.ts +2 -0
- package/build/components/counter-label/CounterLabel.d.ts +9 -0
- package/build/components/counter-label/CounterLabel.types.d.ts +7 -0
- package/build/components/counter-label/index.d.ts +2 -0
- package/build/components/data-table/DataTable.d.ts +4 -0
- package/build/components/data-table/DataTable.types.d.ts +118 -0
- package/build/components/data-table/Table.d.ts +10 -0
- package/build/components/data-table/TableActions.d.ts +5 -0
- package/build/components/data-table/TableBody.d.ts +5 -0
- package/build/components/data-table/TableCell.d.ts +7 -0
- package/build/components/data-table/TableCellPlaceholder.d.ts +5 -0
- package/build/components/data-table/TableContainer.d.ts +7 -0
- package/build/components/data-table/TableDivider.d.ts +5 -0
- package/build/components/data-table/TableErrorDialog.d.ts +9 -0
- package/build/components/data-table/TableHead.d.ts +5 -0
- package/build/components/data-table/TableHeader.d.ts +6 -0
- package/build/components/data-table/TablePagination.d.ts +16 -0
- package/build/components/data-table/TableRow.d.ts +5 -0
- package/build/components/data-table/TableSkeleton.d.ts +10 -0
- package/build/components/data-table/TableSortHeader.d.ts +9 -0
- package/build/components/data-table/TableSubtitle.d.ts +8 -0
- package/build/components/data-table/TableTitle.d.ts +8 -0
- package/build/components/data-table/column.d.ts +4 -0
- package/build/components/data-table/index.d.ts +103 -0
- package/build/components/data-table/sorting.d.ts +8 -0
- package/build/components/data-table/tableLayout.d.ts +4 -0
- package/build/components/data-table/useTable.d.ts +35 -0
- package/build/components/date-picker/DatePicker.d.ts +4 -0
- package/build/components/date-picker/DatePicker.types.d.ts +41 -0
- package/build/components/date-picker/index.d.ts +2 -0
- package/build/components/details/Details.d.ts +9 -0
- package/build/components/details/Details.types.d.ts +12 -0
- package/build/components/details/DetailsSummary.d.ts +7 -0
- package/build/components/details/index.d.ts +16 -0
- package/build/components/dialog/Dialog.d.ts +20 -0
- package/build/components/dialog/Dialog.types.d.ts +69 -0
- package/build/components/dialog/DialogBody.d.ts +7 -0
- package/build/components/dialog/DialogButtons.d.ts +7 -0
- package/build/components/dialog/DialogCloseButton.d.ts +6 -0
- package/build/components/dialog/DialogContext.d.ts +2 -0
- package/build/components/dialog/DialogFooter.d.ts +7 -0
- package/build/components/dialog/DialogHeader.d.ts +7 -0
- package/build/components/dialog/DialogSubtitle.d.ts +7 -0
- package/build/components/dialog/DialogTitle.d.ts +7 -0
- package/build/components/dialog/index.d.ts +58 -0
- package/build/components/divider/Divider.d.ts +10 -0
- package/build/components/divider/Divider.types.d.ts +9 -0
- package/build/components/divider/index.d.ts +2 -0
- package/build/components/drawer/Drawer.d.ts +14 -0
- package/build/components/drawer/Drawer.types.d.ts +41 -0
- package/build/components/drawer/DrawerBody.d.ts +7 -0
- package/build/components/drawer/DrawerCloseButton.d.ts +6 -0
- package/build/components/drawer/DrawerContext.d.ts +2 -0
- package/build/components/drawer/DrawerFooter.d.ts +7 -0
- package/build/components/drawer/DrawerHeader.d.ts +7 -0
- package/build/components/drawer/DrawerSubtitle.d.ts +7 -0
- package/build/components/drawer/DrawerTitle.d.ts +7 -0
- package/build/components/drawer/index.d.ts +50 -0
- package/build/components/empty-state/EmptyState.d.ts +11 -0
- package/build/components/empty-state/EmptyState.types.d.ts +12 -0
- package/build/components/empty-state/index.d.ts +2 -0
- package/build/components/filtered-action-list/FilteredActionList.d.ts +7 -0
- package/build/components/filtered-action-list/FilteredActionList.types.d.ts +75 -0
- package/build/components/filtered-action-list/FilteredActionListInput.d.ts +6 -0
- package/build/components/filtered-action-list/FilteredActionListItem.d.ts +6 -0
- package/build/components/filtered-action-list/FilteredActionListLoaders.d.ts +5 -0
- package/build/components/filtered-action-list/index.d.ts +15 -0
- package/build/components/filtered-action-list/useAnnouncements.d.ts +8 -0
- package/build/components/form-control/FormControl.d.ts +9 -0
- package/build/components/form-control/FormControl.types.d.ts +45 -0
- package/build/components/form-control/FormControlCaption.d.ts +5 -0
- package/build/components/form-control/FormControlContext.d.ts +2 -0
- package/build/components/form-control/FormControlLabel.d.ts +11 -0
- package/build/components/form-control/FormControlLeadingVisual.d.ts +5 -0
- package/build/components/form-control/FormControlValidation.d.ts +7 -0
- package/build/components/form-control/index.d.ts +34 -0
- package/build/components/form-control/useFormControlForwardedProps.d.ts +2 -0
- package/build/components/heading/Heading.d.ts +9 -0
- package/build/components/heading/Heading.types.d.ts +7 -0
- package/build/components/heading/index.d.ts +2 -0
- package/build/components/hidden/Hidden.d.ts +9 -0
- package/build/components/hidden/Hidden.types.d.ts +7 -0
- package/build/components/hidden/index.d.ts +2 -0
- package/build/components/icon-button/IconButton.d.ts +4 -0
- package/build/components/icon-button/IconButton.types.d.ts +16 -0
- package/build/components/icon-button/index.d.ts +2 -0
- package/build/components/index.d.ts +78 -0
- package/build/components/inline-message/InlineMessage.d.ts +9 -0
- package/build/components/inline-message/InlineMessage.types.d.ts +10 -0
- package/build/components/inline-message/index.d.ts +2 -0
- package/build/components/keybinding-hint/KeybindingHint.d.ts +9 -0
- package/build/components/keybinding-hint/KeybindingHint.types.d.ts +22 -0
- package/build/components/keybinding-hint/KeybindingHintChord.d.ts +7 -0
- package/build/components/keybinding-hint/KeybindingHintKey.d.ts +6 -0
- package/build/components/keybinding-hint/PlatformContext.d.ts +2 -0
- package/build/components/keybinding-hint/chords.d.ts +6 -0
- package/build/components/keybinding-hint/index.d.ts +5 -0
- package/build/components/keybinding-hint/keyNames.d.ts +4 -0
- package/build/components/keybinding-hint/platform.d.ts +3 -0
- package/build/components/label/Label.d.ts +10 -0
- package/build/components/label/Label.types.d.ts +9 -0
- package/build/components/label/index.d.ts +2 -0
- package/build/components/link/Link.d.ts +9 -0
- package/build/components/link/Link.types.d.ts +7 -0
- package/build/components/link/index.d.ts +2 -0
- package/build/components/link-button/LinkButton.d.ts +5 -0
- package/build/components/link-button/LinkButton.types.d.ts +4 -0
- package/build/components/link-button/index.d.ts +2 -0
- package/build/components/nav-list/NavList.d.ts +6 -0
- package/build/components/nav-list/NavList.types.d.ts +53 -0
- package/build/components/nav-list/NavListContext.d.ts +11 -0
- package/build/components/nav-list/NavListGroup.d.ts +7 -0
- package/build/components/nav-list/NavListGroupExpand.d.ts +10 -0
- package/build/components/nav-list/NavListGroupHeading.d.ts +4 -0
- package/build/components/nav-list/NavListHeading.d.ts +6 -0
- package/build/components/nav-list/NavListItem.d.ts +10 -0
- package/build/components/nav-list/NavListItemWithSubNav.d.ts +15 -0
- package/build/components/nav-list/NavListSubNav.d.ts +6 -0
- package/build/components/nav-list/headingLevel.d.ts +3 -0
- package/build/components/nav-list/index.d.ts +45 -0
- package/build/components/page-content/PageContent.d.ts +11 -0
- package/build/components/page-content/PageContent.types.d.ts +17 -0
- package/build/components/page-content/PageContentSection.d.ts +6 -0
- package/build/components/page-content/index.d.ts +16 -0
- package/build/components/page-content/visibility.d.ts +6 -0
- package/build/components/page-footer/PageFooter.d.ts +10 -0
- package/build/components/page-footer/PageFooter.types.d.ts +20 -0
- package/build/components/page-footer/PageFooterActions.d.ts +6 -0
- package/build/components/page-footer/PageFooterCopyright.d.ts +6 -0
- package/build/components/page-footer/PageFooterDescription.d.ts +6 -0
- package/build/components/page-footer/PageFooterLeadingVisual.d.ts +6 -0
- package/build/components/page-footer/PageFooterNavigation.d.ts +7 -0
- package/build/components/page-footer/PageFooterRegion.d.ts +6 -0
- package/build/components/page-footer/index.d.ts +36 -0
- package/build/components/page-footer/visibility.d.ts +6 -0
- package/build/components/page-header/PageHeader.d.ts +8 -0
- package/build/components/page-header/PageHeader.types.d.ts +32 -0
- package/build/components/page-header/PageHeaderActions.d.ts +6 -0
- package/build/components/page-header/PageHeaderBreadcrumbs.d.ts +6 -0
- package/build/components/page-header/PageHeaderContextArea.d.ts +6 -0
- package/build/components/page-header/PageHeaderContextAreaActions.d.ts +6 -0
- package/build/components/page-header/PageHeaderContextBar.d.ts +6 -0
- package/build/components/page-header/PageHeaderDescription.d.ts +6 -0
- package/build/components/page-header/PageHeaderLeadingAction.d.ts +6 -0
- package/build/components/page-header/PageHeaderLeadingVisual.d.ts +6 -0
- package/build/components/page-header/PageHeaderNavigation.d.ts +7 -0
- package/build/components/page-header/PageHeaderParentLink.d.ts +6 -0
- package/build/components/page-header/PageHeaderRegion.d.ts +6 -0
- package/build/components/page-header/PageHeaderTitle.d.ts +7 -0
- package/build/components/page-header/PageHeaderTitleArea.d.ts +8 -0
- package/build/components/page-header/PageHeaderTrailingAction.d.ts +6 -0
- package/build/components/page-header/PageHeaderTrailingVisual.d.ts +6 -0
- package/build/components/page-header/index.d.ts +83 -0
- package/build/components/page-header/visibility.d.ts +6 -0
- package/build/components/page-layout/DragHandle.d.ts +7 -0
- package/build/components/page-layout/PageLayout.d.ts +10 -0
- package/build/components/page-layout/PageLayout.types.d.ts +127 -0
- package/build/components/page-layout/PageLayoutContent.d.ts +10 -0
- package/build/components/page-layout/PageLayoutContext.d.ts +2 -0
- package/build/components/page-layout/PageLayoutFooter.d.ts +8 -0
- package/build/components/page-layout/PageLayoutHeader.d.ts +8 -0
- package/build/components/page-layout/PageLayoutHorizontalDivider.d.ts +7 -0
- package/build/components/page-layout/PageLayoutPane.d.ts +4 -0
- package/build/components/page-layout/PageLayoutSidebar.d.ts +4 -0
- package/build/components/page-layout/PageLayoutVerticalDivider.d.ts +7 -0
- package/build/components/page-layout/index.d.ts +40 -0
- package/build/components/page-layout/paneUtils.d.ts +30 -0
- package/build/components/page-layout/usePaneWidth.d.ts +2 -0
- package/build/components/page-sidebar/PageSidebar.d.ts +14 -0
- package/build/components/page-sidebar/PageSidebar.types.d.ts +32 -0
- package/build/components/page-sidebar/PageSidebarActions.d.ts +6 -0
- package/build/components/page-sidebar/PageSidebarContent.d.ts +6 -0
- package/build/components/page-sidebar/PageSidebarFooter.d.ts +6 -0
- package/build/components/page-sidebar/PageSidebarHeader.d.ts +6 -0
- package/build/components/page-sidebar/PageSidebarNavigation.d.ts +7 -0
- package/build/components/page-sidebar/PageSidebarRegion.d.ts +6 -0
- package/build/components/page-sidebar/PageSidebarSection.d.ts +6 -0
- package/build/components/page-sidebar/PageSidebarTitle.d.ts +7 -0
- package/build/components/page-sidebar/index.d.ts +51 -0
- package/build/components/page-sidebar/visibility.d.ts +6 -0
- package/build/components/pagination/Pagination.d.ts +16 -0
- package/build/components/pagination/Pagination.types.d.ts +43 -0
- package/build/components/pagination/index.d.ts +3 -0
- package/build/components/pagination/paginationModel.d.ts +3 -0
- package/build/components/placeholder/Placeholder.d.ts +10 -0
- package/build/components/placeholder/Placeholder.types.d.ts +8 -0
- package/build/components/placeholder/index.d.ts +2 -0
- package/build/components/portal/Portal.d.ts +7 -0
- package/build/components/portal/Portal.types.d.ts +9 -0
- package/build/components/portal/PortalContext.d.ts +2 -0
- package/build/components/portal/index.d.ts +4 -0
- package/build/components/portal/portalRoot.d.ts +4 -0
- package/build/components/progress-bar/ProgressBar.d.ts +13 -0
- package/build/components/progress-bar/ProgressBar.types.d.ts +18 -0
- package/build/components/progress-bar/ProgressBarItem.d.ts +11 -0
- package/build/components/progress-bar/index.d.ts +22 -0
- package/build/components/radio/Radio.d.ts +8 -0
- package/build/components/radio/Radio.types.d.ts +8 -0
- package/build/components/radio/index.d.ts +2 -0
- package/build/components/radio-group/RadioGroup.d.ts +10 -0
- package/build/components/radio-group/RadioGroup.types.d.ts +30 -0
- package/build/components/radio-group/RadioGroupCaption.d.ts +5 -0
- package/build/components/radio-group/RadioGroupContext.d.ts +2 -0
- package/build/components/radio-group/RadioGroupLabel.d.ts +6 -0
- package/build/components/radio-group/RadioGroupValidation.d.ts +7 -0
- package/build/components/radio-group/index.d.ts +26 -0
- package/build/components/relative-time/RelativeTime.d.ts +15 -0
- package/build/components/relative-time/RelativeTime.types.d.ts +40 -0
- package/build/components/relative-time/index.d.ts +3 -0
- package/build/components/relative-time/relativeTimeFormat.d.ts +19 -0
- package/build/components/scrollable-region/ScrollableRegion.d.ts +4 -0
- package/build/components/scrollable-region/ScrollableRegion.types.d.ts +13 -0
- package/build/components/scrollable-region/index.d.ts +2 -0
- package/build/components/segmented-control/SegmentedControl.d.ts +7 -0
- package/build/components/segmented-control/SegmentedControl.types.d.ts +46 -0
- package/build/components/segmented-control/SegmentedControlButton.d.ts +6 -0
- package/build/components/segmented-control/SegmentedControlIconButton.d.ts +6 -0
- package/build/components/segmented-control/SegmentedControlSegment.d.ts +9 -0
- package/build/components/segmented-control/index.d.ts +9 -0
- package/build/components/select/Select.d.ts +10 -0
- package/build/components/select/Select.types.d.ts +17 -0
- package/build/components/select/SelectOptGroup.d.ts +5 -0
- package/build/components/select/SelectOption.d.ts +6 -0
- package/build/components/select/index.d.ts +19 -0
- package/build/components/select-panel/SelectPanel.d.ts +21 -0
- package/build/components/select-panel/SelectPanel.types.d.ts +82 -0
- package/build/components/select-panel/SelectPanelButton.d.ts +5 -0
- package/build/components/select-panel/SelectPanelContext.d.ts +2 -0
- package/build/components/select-panel/SelectPanelFooter.d.ts +5 -0
- package/build/components/select-panel/SelectPanelHeader.d.ts +6 -0
- package/build/components/select-panel/SelectPanelLoading.d.ts +5 -0
- package/build/components/select-panel/SelectPanelMessage.d.ts +4 -0
- package/build/components/select-panel/SelectPanelSearchInput.d.ts +6 -0
- package/build/components/select-panel/SelectPanelSecondaryAction.d.ts +7 -0
- package/build/components/select-panel/index.d.ts +48 -0
- package/build/components/skeleton-avatar/SkeletonAvatar.d.ts +7 -0
- package/build/components/skeleton-avatar/SkeletonAvatar.types.d.ts +7 -0
- package/build/components/skeleton-avatar/index.d.ts +2 -0
- package/build/components/skeleton-box/SkeletonBox.d.ts +9 -0
- package/build/components/skeleton-box/SkeletonBox.types.d.ts +7 -0
- package/build/components/skeleton-box/index.d.ts +2 -0
- package/build/components/skeleton-text/SkeletonText.d.ts +6 -0
- package/build/components/skeleton-text/SkeletonText.types.d.ts +8 -0
- package/build/components/skeleton-text/index.d.ts +2 -0
- package/build/components/slider/Slider.d.ts +15 -0
- package/build/components/slider/Slider.types.d.ts +15 -0
- package/build/components/slider/index.d.ts +2 -0
- package/build/components/spinner/Spinner.d.ts +10 -0
- package/build/components/spinner/Spinner.types.d.ts +8 -0
- package/build/components/spinner/index.d.ts +2 -0
- package/build/components/stack/Stack.d.ts +16 -0
- package/build/components/stack/Stack.types.d.ts +24 -0
- package/build/components/stack/StackItem.d.ts +9 -0
- package/build/components/stack/index.d.ts +24 -0
- package/build/components/state-label/StateLabel.d.ts +10 -0
- package/build/components/state-label/StateLabel.types.d.ts +9 -0
- package/build/components/state-label/index.d.ts +2 -0
- package/build/components/tabs/Tab.d.ts +7 -0
- package/build/components/tabs/TabList.d.ts +4 -0
- package/build/components/tabs/TabPanel.d.ts +6 -0
- package/build/components/tabs/Tabs.d.ts +7 -0
- package/build/components/tabs/Tabs.types.d.ts +72 -0
- package/build/components/tabs/TabsContext.d.ts +2 -0
- package/build/components/tabs/composeEventHandlers.d.ts +4 -0
- package/build/components/tabs/index.d.ts +23 -0
- package/build/components/tabs/useTab.d.ts +2 -0
- package/build/components/tabs/useTabList.d.ts +2 -0
- package/build/components/tabs/useTabPanel.d.ts +2 -0
- package/build/components/tabs/useTabs.d.ts +2 -0
- package/build/components/text/Text.d.ts +11 -0
- package/build/components/text/Text.types.d.ts +11 -0
- package/build/components/text/index.d.ts +2 -0
- package/build/components/text-input/TextInput.d.ts +18 -0
- package/build/components/text-input/TextInput.types.d.ts +33 -0
- package/build/components/text-input/TextInputAction.d.ts +4 -0
- package/build/components/text-input/index.d.ts +20 -0
- package/build/components/textarea/Textarea.d.ts +16 -0
- package/build/components/textarea/Textarea.types.d.ts +13 -0
- package/build/components/textarea/characterCount.d.ts +7 -0
- package/build/components/textarea/index.d.ts +3 -0
- package/build/components/timeline/Timeline.d.ts +7 -0
- package/build/components/timeline/Timeline.types.d.ts +27 -0
- package/build/components/timeline/TimelineActions.d.ts +5 -0
- package/build/components/timeline/TimelineAvatar.d.ts +5 -0
- package/build/components/timeline/TimelineBadge.d.ts +7 -0
- package/build/components/timeline/TimelineBody.d.ts +5 -0
- package/build/components/timeline/TimelineBreak.d.ts +5 -0
- package/build/components/timeline/TimelineItem.d.ts +6 -0
- package/build/components/timeline/index.d.ts +33 -0
- package/build/components/toast/Toast.d.ts +7 -0
- package/build/components/toast/Toast.types.d.ts +78 -0
- package/build/components/toast/Toaster.d.ts +21 -0
- package/build/components/toast/index.d.ts +3 -0
- package/build/components/toast/toastStore.d.ts +20 -0
- package/build/components/toggle-switch/ToggleSwitch.d.ts +21 -0
- package/build/components/toggle-switch/ToggleSwitch.types.d.ts +21 -0
- package/build/components/toggle-switch/index.d.ts +2 -0
- package/build/components/token/IssueLabelToken.d.ts +15 -0
- package/build/components/token/Token.d.ts +17 -0
- package/build/components/token/Token.types.d.ts +37 -0
- package/build/components/token/TokenBase.d.ts +16 -0
- package/build/components/token/TokenRemoveButton.d.ts +7 -0
- package/build/components/token/TokenText.d.ts +10 -0
- package/build/components/token/index.d.ts +7 -0
- package/build/components/token/issueLabelColor.d.ts +13 -0
- package/build/components/tooltip/Tooltip.d.ts +12 -0
- package/build/components/tooltip/Tooltip.types.d.ts +14 -0
- package/build/components/tooltip/TooltipContext.d.ts +2 -0
- package/build/components/tooltip/anchoredPosition.d.ts +15 -0
- package/build/components/tooltip/index.d.ts +5 -0
- package/build/components/topic-tag/TopicTag.d.ts +7 -0
- package/build/components/topic-tag/TopicTag.types.d.ts +8 -0
- package/build/components/topic-tag/TopicTagGroup.d.ts +7 -0
- package/build/components/topic-tag/index.d.ts +14 -0
- package/build/components/tree-view/TreeView.d.ts +8 -0
- package/build/components/tree-view/TreeView.types.d.ts +60 -0
- package/build/components/tree-view/TreeViewActionDialog.d.ts +7 -0
- package/build/components/tree-view/TreeViewContext.d.ts +20 -0
- package/build/components/tree-view/TreeViewDirectoryIcon.d.ts +6 -0
- package/build/components/tree-view/TreeViewErrorDialog.d.ts +7 -0
- package/build/components/tree-view/TreeViewItem.d.ts +16 -0
- package/build/components/tree-view/TreeViewLeadingAction.d.ts +6 -0
- package/build/components/tree-view/TreeViewLeadingVisual.d.ts +7 -0
- package/build/components/tree-view/TreeViewSubTree.d.ts +7 -0
- package/build/components/tree-view/TreeViewTrailingAction.d.ts +7 -0
- package/build/components/tree-view/TreeViewTrailingVisual.d.ts +7 -0
- package/build/components/tree-view/TreeViewVisual.d.ts +15 -0
- package/build/components/tree-view/index.d.ts +37 -0
- package/build/components/tree-view/treeNavigation.d.ts +8 -0
- package/build/components/tree-view/useRovingTabIndex.d.ts +5 -0
- package/build/components/tree-view/useTypeahead.d.ts +6 -0
- package/build/components/truncate/Truncate.d.ts +12 -0
- package/build/components/truncate/Truncate.types.d.ts +9 -0
- package/build/components/truncate/index.d.ts +2 -0
- package/build/components/upload/Upload.d.ts +16 -0
- package/build/components/upload/Upload.types.d.ts +51 -0
- package/build/components/upload/UploadContext.d.ts +2 -0
- package/build/components/upload/UploadDescription.d.ts +5 -0
- package/build/components/upload/UploadIcon.d.ts +6 -0
- package/build/components/upload/UploadItem.d.ts +13 -0
- package/build/components/upload/UploadLabel.d.ts +5 -0
- package/build/components/upload/UploadList.d.ts +5 -0
- package/build/components/upload/files.d.ts +13 -0
- package/build/components/upload/index.d.ts +48 -0
- package/build/hooks/useFocusTrap.d.ts +8 -0
- package/build/hooks/useFocusZone.d.ts +10 -0
- package/build/hooks/useId.d.ts +1 -0
- package/build/hooks/useIsClipped.d.ts +7 -0
- package/build/hooks/useIsomorphicLayoutEffect.d.ts +2 -0
- package/build/hooks/useMergedRefs.d.ts +8 -0
- package/build/hooks/useOnEscapePress.d.ts +2 -0
- package/build/hooks/useOverflow.d.ts +2 -0
- package/build/hooks/useResponsive.d.ts +18 -0
- package/build/hooks/useScrollLock.d.ts +1 -0
- package/build/hooks/useSlots.d.ts +14 -0
- package/build/hooks/useSyncedState.d.ts +4 -0
- package/build/main.cjs.js +10 -0
- package/build/main.d.ts +2 -0
- package/build/main.esm.js +10 -0
- package/build/theme/Theme.types.d.ts +22 -0
- package/build/theme/ThemeContext.d.ts +2 -0
- package/build/theme/ThemeProvider.d.ts +8 -0
- package/build/theme/index.d.ts +4 -0
- package/build/theme/useTheme.d.ts +3 -0
- package/build/types/assets.types.d.ts +48 -0
- package/build/utilities/classnames.d.ts +2 -0
- package/build/utilities/environment.d.ts +4 -0
- package/build/utilities/interactive.d.ts +2 -0
- package/build/utilities/polymorphic.d.ts +25 -0
- package/build/utilities/responsive.d.ts +3 -0
- package/build/utilities/slot.d.ts +3 -0
- package/build/utilities/types/slots.d.ts +5 -0
- package/package.json +105 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import RadioGroupCaption from "./RadioGroupCaption";
|
|
2
|
+
import RadioGroupLabel from "./RadioGroupLabel";
|
|
3
|
+
import RadioGroupValidation from "./RadioGroupValidation";
|
|
4
|
+
export declare const RadioGroup: (<As extends React.ElementType = "fieldset">(props: Omit<import("../../utilities/polymorphic").PolymorphicProps<As, "fieldset", {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
}>, "onChange"> & {
|
|
9
|
+
name: string;
|
|
10
|
+
onChange?: (selected: string, event?: React.ChangeEvent<HTMLInputElement>) => void;
|
|
11
|
+
} & import("react").RefAttributes<any>) => React.ReactNode) & {
|
|
12
|
+
Label: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
13
|
+
visuallyHidden?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
16
|
+
Caption: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
17
|
+
className?: string;
|
|
18
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
19
|
+
Validation: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
20
|
+
variant: import("./RadioGroup.types").RadioGroupValidationStatus;
|
|
21
|
+
className?: string;
|
|
22
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
23
|
+
};
|
|
24
|
+
export { RadioGroupLabel, RadioGroupCaption, RadioGroupValidation };
|
|
25
|
+
export { RadioGroupContext } from "./RadioGroupContext";
|
|
26
|
+
export * from "./RadioGroup.types";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: <As extends React.ElementType = "time">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "time" : As> & import("./RelativeTime.types").RelativeTimeDateOptions & {
|
|
3
|
+
date?: Date;
|
|
4
|
+
datetime?: string;
|
|
5
|
+
format?: import("./RelativeTime.types").RelativeTimeFormat;
|
|
6
|
+
tense?: import("./RelativeTime.types").RelativeTimeTense;
|
|
7
|
+
precision?: import("./RelativeTime.types").RelativeTimePrecision;
|
|
8
|
+
threshold?: string;
|
|
9
|
+
prefix?: string;
|
|
10
|
+
noTitle?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
}, "as"> & {
|
|
13
|
+
as?: As | undefined;
|
|
14
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { PolymorphicProps } from "../../utilities/polymorphic";
|
|
3
|
+
export type RelativeTimeFormat = "auto" | "micro" | "elapsed";
|
|
4
|
+
export type RelativeTimeTense = "auto" | "past" | "future";
|
|
5
|
+
export type RelativeTimePrecision = "year" | "month" | "day" | "hour" | "minute" | "second";
|
|
6
|
+
export type RelativeTimeUnit = "year" | "month" | "week" | "day" | "hour" | "minute" | "second";
|
|
7
|
+
export type RelativeTimeDateOptions = {
|
|
8
|
+
weekday?: "short" | "long" | "narrow";
|
|
9
|
+
year?: "numeric" | "2-digit";
|
|
10
|
+
month?: "numeric" | "2-digit" | "short" | "long" | "narrow";
|
|
11
|
+
day?: "numeric" | "2-digit";
|
|
12
|
+
hour?: "numeric" | "2-digit";
|
|
13
|
+
minute?: "numeric" | "2-digit";
|
|
14
|
+
second?: "numeric" | "2-digit";
|
|
15
|
+
timeZoneName?: "short" | "long" | "shortOffset" | "longOffset" | "shortGeneric" | "longGeneric";
|
|
16
|
+
};
|
|
17
|
+
export type RelativeTimeSettings = {
|
|
18
|
+
format: RelativeTimeFormat;
|
|
19
|
+
tense: RelativeTimeTense;
|
|
20
|
+
precision: RelativeTimePrecision;
|
|
21
|
+
threshold: string;
|
|
22
|
+
prefix: string;
|
|
23
|
+
dateOptions: RelativeTimeDateOptions;
|
|
24
|
+
locale?: string;
|
|
25
|
+
};
|
|
26
|
+
export type FormattedRelativeTime = {
|
|
27
|
+
text: string;
|
|
28
|
+
updateDelay: number | null;
|
|
29
|
+
};
|
|
30
|
+
export type RelativeTimeProps<As extends React.ElementType = "time"> = PolymorphicProps<As, "time", RelativeTimeDateOptions & {
|
|
31
|
+
date?: Date;
|
|
32
|
+
datetime?: string;
|
|
33
|
+
format?: RelativeTimeFormat;
|
|
34
|
+
tense?: RelativeTimeTense;
|
|
35
|
+
precision?: RelativeTimePrecision;
|
|
36
|
+
threshold?: string;
|
|
37
|
+
prefix?: string;
|
|
38
|
+
noTitle?: boolean;
|
|
39
|
+
className?: string;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FormattedRelativeTime, RelativeTimeDateOptions, RelativeTimePrecision, RelativeTimeSettings, RelativeTimeUnit } from "./RelativeTime.types";
|
|
2
|
+
export declare const DEFAULT_RELATIVE_TIME_THRESHOLD = "P30D";
|
|
3
|
+
export declare const DEFAULT_RELATIVE_TIME_PREFIX = "on";
|
|
4
|
+
export declare const parseDuration: (duration: string) => number | null;
|
|
5
|
+
export declare const roundToSingleUnit: (elapsed: number) => {
|
|
6
|
+
value: number;
|
|
7
|
+
unit: RelativeTimeUnit;
|
|
8
|
+
length: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const getElapsedUnits: (elapsed: number, precision: RelativeTimePrecision) => {
|
|
11
|
+
unit: RelativeTimePrecision;
|
|
12
|
+
count: number;
|
|
13
|
+
}[];
|
|
14
|
+
export declare const formatMicro: (elapsed: number) => string;
|
|
15
|
+
export declare const formatElapsed: (elapsed: number, precision: RelativeTimePrecision) => string;
|
|
16
|
+
export declare const formatRelative: (elapsed: number, locale?: string) => string;
|
|
17
|
+
export declare const formatDate: (date: Date, now: number, options: RelativeTimeDateOptions, locale?: string) => string;
|
|
18
|
+
export declare const formatTitle: (date: Date, locale?: string) => string;
|
|
19
|
+
export declare const formatRelativeTime: (date: Date, now: number, settings: RelativeTimeSettings) => FormattedRelativeTime;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ScrollableRegionProps } from "./ScrollableRegion.types";
|
|
3
|
+
declare const _default: <As extends React.ElementType = "div">(props: ScrollableRegionProps<As> & React.RefAttributes<any>) => React.ReactNode;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { PolymorphicProps } from "../../utilities/polymorphic";
|
|
3
|
+
type Labelled = {
|
|
4
|
+
"aria-label": string;
|
|
5
|
+
"aria-labelledby"?: never;
|
|
6
|
+
} | {
|
|
7
|
+
"aria-label"?: never;
|
|
8
|
+
"aria-labelledby": string;
|
|
9
|
+
};
|
|
10
|
+
export type ScrollableRegionProps<As extends React.ElementType = "div"> = PolymorphicProps<As, "div", Labelled & {
|
|
11
|
+
className?: string;
|
|
12
|
+
}>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SegmentedControlProps } from "./SegmentedControl.types";
|
|
3
|
+
declare function SegmentedControl(props: SegmentedControlProps): React.JSX.Element;
|
|
4
|
+
declare namespace SegmentedControl {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export default SegmentedControl;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { ResponsiveValue } from "../../hooks/useResponsive";
|
|
3
|
+
import type { ButtonVisual } from "../button";
|
|
4
|
+
import type { TooltipDirection, TooltipType } from "../tooltip";
|
|
5
|
+
export type SegmentedControlSize = "small" | "medium";
|
|
6
|
+
export type SegmentedControlVariant = "default" | "hideLabels" | "dropdown";
|
|
7
|
+
type SegmentedControlAccessibleName = {
|
|
8
|
+
"aria-label": string;
|
|
9
|
+
"aria-labelledby"?: undefined;
|
|
10
|
+
} | {
|
|
11
|
+
"aria-label"?: undefined;
|
|
12
|
+
"aria-labelledby": string;
|
|
13
|
+
};
|
|
14
|
+
type SegmentedControlOwnProps = {
|
|
15
|
+
fullWidth?: boolean | ResponsiveValue<boolean>;
|
|
16
|
+
onChange?: (selectedIndex: number) => void;
|
|
17
|
+
size?: SegmentedControlSize;
|
|
18
|
+
variant?: "default" | ResponsiveValue<SegmentedControlVariant>;
|
|
19
|
+
className?: string;
|
|
20
|
+
};
|
|
21
|
+
export type SegmentedControlProps = Omit<React.ComponentPropsWithoutRef<"ul">, "onChange" | "aria-label" | "aria-labelledby"> & SegmentedControlOwnProps & SegmentedControlAccessibleName;
|
|
22
|
+
export type SegmentedControlElementProps = Omit<React.ComponentPropsWithoutRef<"ul">, "onChange"> & SegmentedControlOwnProps;
|
|
23
|
+
type SegmentedControlSegmentOwnProps = {
|
|
24
|
+
selected?: boolean;
|
|
25
|
+
defaultSelected?: boolean;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
className?: string;
|
|
28
|
+
};
|
|
29
|
+
export type SegmentedControlButtonProps = Omit<React.ComponentPropsWithoutRef<"button">, "children"> & SegmentedControlSegmentOwnProps & {
|
|
30
|
+
children: string;
|
|
31
|
+
leadingVisual?: ButtonVisual;
|
|
32
|
+
count?: number | string;
|
|
33
|
+
};
|
|
34
|
+
export type SegmentedControlIconButtonProps = Omit<React.ComponentPropsWithoutRef<"button">, "children" | "aria-label"> & SegmentedControlSegmentOwnProps & {
|
|
35
|
+
"aria-label": string;
|
|
36
|
+
icon: NonNullable<ButtonVisual>;
|
|
37
|
+
description?: string;
|
|
38
|
+
tooltipDirection?: TooltipDirection;
|
|
39
|
+
};
|
|
40
|
+
export type SegmentedControlSegmentProps = React.ComponentPropsWithoutRef<"button"> & Omit<SegmentedControlSegmentOwnProps, "defaultSelected"> & {
|
|
41
|
+
component: string;
|
|
42
|
+
tooltip?: string;
|
|
43
|
+
tooltipType?: TooltipType;
|
|
44
|
+
tooltipDirection?: TooltipDirection;
|
|
45
|
+
};
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SegmentedControlButtonProps } from "./SegmentedControl.types";
|
|
2
|
+
declare function SegmentedControlButton(props: SegmentedControlButtonProps): import("react").JSX.Element;
|
|
3
|
+
declare namespace SegmentedControlButton {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
6
|
+
export default SegmentedControlButton;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SegmentedControlIconButtonProps } from "./SegmentedControl.types";
|
|
2
|
+
declare function SegmentedControlIconButton(props: SegmentedControlIconButtonProps): import("react").JSX.Element;
|
|
3
|
+
declare namespace SegmentedControlIconButton {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
6
|
+
export default SegmentedControlIconButton;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ButtonVisual } from "../button";
|
|
3
|
+
import type { SegmentedControlSegmentProps } from "./SegmentedControl.types";
|
|
4
|
+
export declare const renderSegmentVisual: (visual: NonNullable<ButtonVisual>) => React.JSX.Element;
|
|
5
|
+
declare function SegmentedControlSegment(props: SegmentedControlSegmentProps): React.JSX.Element;
|
|
6
|
+
declare namespace SegmentedControlSegment {
|
|
7
|
+
var displayName: string;
|
|
8
|
+
}
|
|
9
|
+
export default SegmentedControlSegment;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import SegmentedControlBase from "./SegmentedControl";
|
|
2
|
+
import SegmentedControlButton from "./SegmentedControlButton";
|
|
3
|
+
import SegmentedControlIconButton from "./SegmentedControlIconButton";
|
|
4
|
+
export declare const SegmentedControl: typeof SegmentedControlBase & {
|
|
5
|
+
Button: typeof SegmentedControlButton;
|
|
6
|
+
IconButton: typeof SegmentedControlIconButton;
|
|
7
|
+
};
|
|
8
|
+
export { SegmentedControlButton, SegmentedControlIconButton };
|
|
9
|
+
export * from "./SegmentedControl.types";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SelectSize, SelectValidationStatus } from "./Select.types";
|
|
3
|
+
declare const _default: (props: Omit<Omit<React.DetailedHTMLProps<React.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref">, "multiple" | "size"> & {
|
|
4
|
+
size?: SelectSize;
|
|
5
|
+
block?: boolean;
|
|
6
|
+
validationStatus?: SelectValidationStatus;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
export type SelectSize = "small" | "medium" | "large";
|
|
3
|
+
export type SelectValidationStatus = "error" | "success";
|
|
4
|
+
export type SelectProps = Omit<React.ComponentPropsWithoutRef<"select">, "size" | "multiple"> & {
|
|
5
|
+
size?: SelectSize;
|
|
6
|
+
block?: boolean;
|
|
7
|
+
validationStatus?: SelectValidationStatus;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
};
|
|
11
|
+
export type SelectOptionProps = React.ComponentPropsWithoutRef<"option"> & {
|
|
12
|
+
value: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
};
|
|
15
|
+
export type SelectOptGroupProps = React.ComponentPropsWithoutRef<"optgroup"> & {
|
|
16
|
+
className?: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: (props: Omit<React.DetailedHTMLProps<React.OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>, "ref"> & {
|
|
3
|
+
className?: string;
|
|
4
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: (props: Omit<React.DetailedHTMLProps<React.OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>, "ref"> & {
|
|
3
|
+
value: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import SelectOptGroup from "./SelectOptGroup";
|
|
2
|
+
import SelectOption from "./SelectOption";
|
|
3
|
+
export declare const Select: ((props: Omit<Omit<import("react").DetailedHTMLProps<import("react").SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref">, "multiple" | "size"> & {
|
|
4
|
+
size?: import("./Select.types").SelectSize;
|
|
5
|
+
block?: boolean;
|
|
6
|
+
validationStatus?: import("./Select.types").SelectValidationStatus;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
} & import("react").RefAttributes<any>) => React.ReactNode) & {
|
|
10
|
+
Option: (props: Omit<import("react").DetailedHTMLProps<import("react").OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>, "ref"> & {
|
|
11
|
+
value: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
14
|
+
OptGroup: (props: Omit<import("react").DetailedHTMLProps<import("react").OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>, "ref"> & {
|
|
15
|
+
className?: string;
|
|
16
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
17
|
+
};
|
|
18
|
+
export { SelectOption, SelectOptGroup };
|
|
19
|
+
export * from "./Select.types";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SelectPanelMaxHeight, SelectPanelResponsiveVariant, SelectPanelVariant, SelectPanelWidth } from "./SelectPanel.types";
|
|
3
|
+
declare const _default: (props: Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title" | "onSubmit"> & {
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
variant?: SelectPanelVariant | SelectPanelResponsiveVariant;
|
|
7
|
+
selectionVariant?: import("./SelectPanel.types").SelectPanelSelectionVariant;
|
|
8
|
+
id?: string;
|
|
9
|
+
defaultOpen?: boolean;
|
|
10
|
+
open?: boolean;
|
|
11
|
+
anchorRef?: React.RefObject<HTMLButtonElement | null>;
|
|
12
|
+
side?: import("..").AnchorSide;
|
|
13
|
+
align?: import("..").AnchorAlignment;
|
|
14
|
+
onCancel?: () => void;
|
|
15
|
+
onClearSelection?: () => void;
|
|
16
|
+
onSubmit?: (event?: React.FormEvent<HTMLFormElement>) => void;
|
|
17
|
+
width?: SelectPanelWidth;
|
|
18
|
+
maxHeight?: SelectPanelMaxHeight;
|
|
19
|
+
className?: string;
|
|
20
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { ResponsiveValue } from "../../hooks/useResponsive";
|
|
3
|
+
import type { ButtonProps } from "../button";
|
|
4
|
+
import type { CheckboxProps } from "../checkbox";
|
|
5
|
+
import type { LinkProps } from "../link";
|
|
6
|
+
import type { TextInputProps } from "../text-input";
|
|
7
|
+
import type { AnchorAlignment, AnchorSide } from "../tooltip/anchoredPosition";
|
|
8
|
+
export type SelectPanelVariant = "anchored" | "modal";
|
|
9
|
+
export type SelectPanelNarrowVariant = SelectPanelVariant | "full-screen" | "bottom-sheet";
|
|
10
|
+
export type SelectPanelResponsiveVariant = ResponsiveValue<SelectPanelVariant, SelectPanelNarrowVariant>;
|
|
11
|
+
export type SelectPanelSelectionVariant = "single" | "multiple" | "instant";
|
|
12
|
+
export type SelectPanelWidth = "small" | "medium" | "large" | "xlarge" | "auto";
|
|
13
|
+
export type SelectPanelMaxHeight = "small" | "medium" | "large" | "xlarge" | "fit-content";
|
|
14
|
+
export type SelectPanelMessageVariant = "warning" | "error" | "empty";
|
|
15
|
+
export type SelectPanelMessageSize = "inline" | "full";
|
|
16
|
+
export type SelectPanelProps = Omit<React.ComponentPropsWithoutRef<"div">, "title" | "onSubmit"> & {
|
|
17
|
+
title: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
variant?: SelectPanelVariant | SelectPanelResponsiveVariant;
|
|
20
|
+
selectionVariant?: SelectPanelSelectionVariant;
|
|
21
|
+
id?: string;
|
|
22
|
+
defaultOpen?: boolean;
|
|
23
|
+
open?: boolean;
|
|
24
|
+
anchorRef?: React.RefObject<HTMLButtonElement | null>;
|
|
25
|
+
side?: AnchorSide;
|
|
26
|
+
align?: AnchorAlignment;
|
|
27
|
+
onCancel?: () => void;
|
|
28
|
+
onClearSelection?: () => void;
|
|
29
|
+
onSubmit?: (event?: React.FormEvent<HTMLFormElement>) => void;
|
|
30
|
+
width?: SelectPanelWidth;
|
|
31
|
+
maxHeight?: SelectPanelMaxHeight;
|
|
32
|
+
className?: string;
|
|
33
|
+
};
|
|
34
|
+
export type SelectPanelButtonProps = ButtonProps;
|
|
35
|
+
export type SelectPanelHeaderProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
36
|
+
onBack?: () => void;
|
|
37
|
+
className?: string;
|
|
38
|
+
};
|
|
39
|
+
export type SelectPanelSearchInputProps = Omit<TextInputProps, "onChange"> & {
|
|
40
|
+
onChange?: (value: string, event: React.ChangeEvent<HTMLInputElement> | null) => void;
|
|
41
|
+
className?: string;
|
|
42
|
+
};
|
|
43
|
+
export type SelectPanelFooterProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
44
|
+
className?: string;
|
|
45
|
+
};
|
|
46
|
+
export type SelectPanelSecondaryActionProps = ({
|
|
47
|
+
variant: "button";
|
|
48
|
+
} & Omit<ButtonProps, "variant">) | ({
|
|
49
|
+
variant: "link";
|
|
50
|
+
} & LinkProps) | ({
|
|
51
|
+
variant: "checkbox";
|
|
52
|
+
} & CheckboxProps);
|
|
53
|
+
export type SelectPanelLoadingProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
54
|
+
className?: string;
|
|
55
|
+
};
|
|
56
|
+
export type SelectPanelMessageProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
57
|
+
className?: string;
|
|
58
|
+
} & ({
|
|
59
|
+
variant: "empty";
|
|
60
|
+
size?: "full";
|
|
61
|
+
title: string;
|
|
62
|
+
} | {
|
|
63
|
+
variant: "warning" | "error";
|
|
64
|
+
size: "full";
|
|
65
|
+
title: string;
|
|
66
|
+
} | {
|
|
67
|
+
variant: "warning" | "error";
|
|
68
|
+
size?: "inline";
|
|
69
|
+
title?: never;
|
|
70
|
+
});
|
|
71
|
+
export type SelectPanelContextValue = {
|
|
72
|
+
panelId?: string;
|
|
73
|
+
title?: string;
|
|
74
|
+
description?: string;
|
|
75
|
+
selectionVariant?: SelectPanelSelectionVariant;
|
|
76
|
+
searchQuery?: string;
|
|
77
|
+
setSearchQuery?: (value: string) => void;
|
|
78
|
+
searchInputRef?: React.RefObject<HTMLInputElement | null>;
|
|
79
|
+
onCancel?: () => void;
|
|
80
|
+
onClearSelection?: () => void;
|
|
81
|
+
moveFocusToList?: () => void;
|
|
82
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: (props: Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & import("..").ButtonBaseProps & import("..").ButtonContentProps, "as"> & {
|
|
3
|
+
as?: "button" | undefined;
|
|
4
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: (props: Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
onBack?: () => void;
|
|
4
|
+
className?: string;
|
|
5
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: (props: Omit<import("..").TextInputProps, "onChange"> & {
|
|
3
|
+
onChange?: (value: string, event: React.ChangeEvent<HTMLInputElement> | null) => void;
|
|
4
|
+
className?: string;
|
|
5
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SelectPanelSecondaryActionProps } from "./SelectPanel.types";
|
|
3
|
+
declare function SelectPanelSecondaryAction(props: SelectPanelSecondaryActionProps): React.JSX.Element;
|
|
4
|
+
declare namespace SelectPanelSecondaryAction {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export default SelectPanelSecondaryAction;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import SelectPanelButton from "./SelectPanelButton";
|
|
2
|
+
import SelectPanelFooter from "./SelectPanelFooter";
|
|
3
|
+
import SelectPanelHeader from "./SelectPanelHeader";
|
|
4
|
+
import SelectPanelLoading from "./SelectPanelLoading";
|
|
5
|
+
import SelectPanelMessage from "./SelectPanelMessage";
|
|
6
|
+
import SelectPanelSearchInput from "./SelectPanelSearchInput";
|
|
7
|
+
import SelectPanelSecondaryAction from "./SelectPanelSecondaryAction";
|
|
8
|
+
export declare const SelectPanel: ((props: Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">, "title" | "onSubmit"> & {
|
|
9
|
+
title: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
variant?: import("./SelectPanel.types").SelectPanelVariant | import("./SelectPanel.types").SelectPanelResponsiveVariant;
|
|
12
|
+
selectionVariant?: import("./SelectPanel.types").SelectPanelSelectionVariant;
|
|
13
|
+
id?: string;
|
|
14
|
+
defaultOpen?: boolean;
|
|
15
|
+
open?: boolean;
|
|
16
|
+
anchorRef?: React.RefObject<HTMLButtonElement | null>;
|
|
17
|
+
side?: import("..").AnchorSide;
|
|
18
|
+
align?: import("..").AnchorAlignment;
|
|
19
|
+
onCancel?: () => void;
|
|
20
|
+
onClearSelection?: () => void;
|
|
21
|
+
onSubmit?: (event?: React.FormEvent<HTMLFormElement>) => void;
|
|
22
|
+
width?: import("./SelectPanel.types").SelectPanelWidth;
|
|
23
|
+
maxHeight?: import("./SelectPanel.types").SelectPanelMaxHeight;
|
|
24
|
+
className?: string;
|
|
25
|
+
} & import("react").RefAttributes<any>) => React.ReactNode) & {
|
|
26
|
+
Button: (props: Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("..").ButtonBaseProps & import("..").ButtonContentProps, "as"> & {
|
|
27
|
+
as?: "button" | undefined;
|
|
28
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
29
|
+
Header: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
30
|
+
onBack?: () => void;
|
|
31
|
+
className?: string;
|
|
32
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
33
|
+
SearchInput: (props: Omit<import("..").TextInputProps, "onChange"> & {
|
|
34
|
+
onChange?: (value: string, event: React.ChangeEvent<HTMLInputElement> | null) => void;
|
|
35
|
+
className?: string;
|
|
36
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
37
|
+
Footer: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
38
|
+
className?: string;
|
|
39
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
40
|
+
SecondaryAction: typeof SelectPanelSecondaryAction;
|
|
41
|
+
Loading: (props: Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
42
|
+
className?: string;
|
|
43
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
44
|
+
Message: (props: import("./SelectPanel.types").SelectPanelMessageProps & import("react").RefAttributes<any>) => React.ReactNode;
|
|
45
|
+
};
|
|
46
|
+
export { SelectPanelButton, SelectPanelHeader, SelectPanelSearchInput, SelectPanelFooter, SelectPanelSecondaryAction, SelectPanelLoading, SelectPanelMessage, };
|
|
47
|
+
export { SelectPanelContext } from "./SelectPanelContext";
|
|
48
|
+
export * from "./SelectPanel.types";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SkeletonAvatarProps } from "./SkeletonAvatar.types";
|
|
3
|
+
declare function SkeletonAvatar({ size, shape, className, style, ...rest }: SkeletonAvatarProps): React.JSX.Element;
|
|
4
|
+
declare namespace SkeletonAvatar {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export default SkeletonAvatar;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: <As extends React.ElementType = "div">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "div" : As> & {
|
|
3
|
+
width?: string;
|
|
4
|
+
height?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
}, "as"> & {
|
|
7
|
+
as?: As | undefined;
|
|
8
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { PolymorphicProps } from "../../utilities/polymorphic";
|
|
3
|
+
export type SkeletonBoxProps<As extends React.ElementType = "div"> = PolymorphicProps<As, "div", {
|
|
4
|
+
width?: string;
|
|
5
|
+
height?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
}>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SkeletonTextProps } from "./SkeletonText.types";
|
|
2
|
+
declare function SkeletonText({ lines, maxWidth, size, className, style, ...rest }: SkeletonTextProps): import("react").JSX.Element;
|
|
3
|
+
declare namespace SkeletonText {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
6
|
+
export default SkeletonText;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
export type SkeletonTextSize = "display" | "titleLarge" | "titleMedium" | "titleSmall" | "bodyLarge" | "bodyMedium" | "bodySmall" | "subtitle";
|
|
3
|
+
export type SkeletonTextProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
4
|
+
size?: SkeletonTextSize;
|
|
5
|
+
lines?: number;
|
|
6
|
+
maxWidth?: React.CSSProperties["maxWidth"];
|
|
7
|
+
className?: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SliderOrientation, SliderSize } from "./Slider.types";
|
|
3
|
+
declare const _default: (props: Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "onChange" | "value" | "defaultValue" | "type" | "step" | "size" | "max" | "min"> & {
|
|
4
|
+
min?: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
step?: number;
|
|
7
|
+
value?: number;
|
|
8
|
+
defaultValue?: number;
|
|
9
|
+
size?: SliderSize;
|
|
10
|
+
orientation?: SliderOrientation;
|
|
11
|
+
block?: boolean;
|
|
12
|
+
onChange?: (value: number, event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
13
|
+
className?: string;
|
|
14
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
export type SliderSize = "small" | "medium" | "large";
|
|
3
|
+
export type SliderOrientation = "horizontal" | "vertical";
|
|
4
|
+
export type SliderProps = Omit<React.ComponentPropsWithoutRef<"input">, "type" | "size" | "value" | "defaultValue" | "onChange" | "min" | "max" | "step"> & {
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
step?: number;
|
|
8
|
+
value?: number;
|
|
9
|
+
defaultValue?: number;
|
|
10
|
+
size?: SliderSize;
|
|
11
|
+
orientation?: SliderOrientation;
|
|
12
|
+
block?: boolean;
|
|
13
|
+
onChange?: (value: number, event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
14
|
+
className?: string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { SpinnerSize } from "./Spinner.types";
|
|
3
|
+
declare const _default: <As extends React.ElementType = "span">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "span" : As> & {
|
|
4
|
+
size?: SpinnerSize;
|
|
5
|
+
srText?: string | null;
|
|
6
|
+
className?: string;
|
|
7
|
+
}, "as"> & {
|
|
8
|
+
as?: As | undefined;
|
|
9
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
10
|
+
export default _default;
|