@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
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Donald Lee
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: <As extends React.ElementType = "div">(props: Omit<import("../../utilities/polymorphic").PolymorphicProps<As, "div", {
|
|
3
|
+
value?: string[];
|
|
4
|
+
defaultValue?: string[];
|
|
5
|
+
multiple?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
headingLevel?: import("./Accordion.types").AccordionHeadingLevel;
|
|
8
|
+
className?: string;
|
|
9
|
+
}>, "onChange"> & {
|
|
10
|
+
onChange?: (value: string[]) => void;
|
|
11
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { PolymorphicProps } from "../../utilities/polymorphic";
|
|
3
|
+
export type AccordionHeadingLevel = "h2" | "h3" | "h4" | "h5" | "h6";
|
|
4
|
+
export type AccordionProps<As extends React.ElementType = "div"> = Omit<PolymorphicProps<As, "div", {
|
|
5
|
+
value?: string[];
|
|
6
|
+
defaultValue?: string[];
|
|
7
|
+
multiple?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
headingLevel?: AccordionHeadingLevel;
|
|
10
|
+
className?: string;
|
|
11
|
+
}>, "onChange"> & {
|
|
12
|
+
onChange?: (value: string[]) => void;
|
|
13
|
+
};
|
|
14
|
+
export type AccordionItemProps<As extends React.ElementType = "div"> = PolymorphicProps<As, "div", {
|
|
15
|
+
value?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
className?: string;
|
|
18
|
+
}>;
|
|
19
|
+
export type AccordionHeaderProps = React.ComponentPropsWithoutRef<"button"> & {
|
|
20
|
+
headingLevel?: AccordionHeadingLevel;
|
|
21
|
+
className?: string;
|
|
22
|
+
};
|
|
23
|
+
export type AccordionPanelProps<As extends React.ElementType = "div"> = PolymorphicProps<As, "div", {
|
|
24
|
+
className?: string;
|
|
25
|
+
}>;
|
|
26
|
+
export type AccordionContextValue = {
|
|
27
|
+
open?: string[];
|
|
28
|
+
toggle?: (value: string) => void;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
headingLevel?: AccordionHeadingLevel;
|
|
31
|
+
};
|
|
32
|
+
export type AccordionItemContextValue = {
|
|
33
|
+
headerId?: string;
|
|
34
|
+
panelId?: string;
|
|
35
|
+
isOpen?: boolean;
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
toggle?: () => void;
|
|
38
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: (props: Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
3
|
+
headingLevel?: import("./Accordion.types").AccordionHeadingLevel;
|
|
4
|
+
className?: string;
|
|
5
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
6
|
+
export default _default;
|
|
@@ -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
|
+
value?: string;
|
|
4
|
+
disabled?: boolean;
|
|
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 * 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
|
+
className?: string;
|
|
4
|
+
}, "as"> & {
|
|
5
|
+
as?: As | undefined;
|
|
6
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import AccordionHeader from "./AccordionHeader";
|
|
2
|
+
import AccordionItem from "./AccordionItem";
|
|
3
|
+
import AccordionPanel from "./AccordionPanel";
|
|
4
|
+
export declare const Accordion: (<As extends React.ElementType = "div">(props: Omit<import("../../utilities/polymorphic").PolymorphicProps<As, "div", {
|
|
5
|
+
value?: string[];
|
|
6
|
+
defaultValue?: string[];
|
|
7
|
+
multiple?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
headingLevel?: import("./Accordion.types").AccordionHeadingLevel;
|
|
10
|
+
className?: string;
|
|
11
|
+
}>, "onChange"> & {
|
|
12
|
+
onChange?: (value: string[]) => void;
|
|
13
|
+
} & import("react").RefAttributes<any>) => React.ReactNode) & {
|
|
14
|
+
Item: <As extends React.ElementType = "div">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "div" : As> & {
|
|
15
|
+
value?: string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
className?: string;
|
|
18
|
+
}, "as"> & {
|
|
19
|
+
as?: As | undefined;
|
|
20
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
21
|
+
Header: (props: Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
22
|
+
headingLevel?: import("./Accordion.types").AccordionHeadingLevel;
|
|
23
|
+
className?: string;
|
|
24
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
25
|
+
Panel: <As extends React.ElementType = "div">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "div" : As> & {
|
|
26
|
+
className?: string;
|
|
27
|
+
}, "as"> & {
|
|
28
|
+
as?: As | undefined;
|
|
29
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
30
|
+
};
|
|
31
|
+
export { AccordionItem, AccordionHeader, AccordionPanel };
|
|
32
|
+
export { AccordionContext } from "./AccordionContext";
|
|
33
|
+
export { AccordionItemContext } from "./AccordionItemContext";
|
|
34
|
+
export * from "./Accordion.types";
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { ActionListItemVariant, ActionListSelectEvent } from "../action-list";
|
|
3
|
+
import type { ButtonProps, ButtonVisual } from "../button";
|
|
4
|
+
import type { IconButtonProps } from "../icon-button";
|
|
5
|
+
export type ActionBarSize = "small" | "medium" | "large";
|
|
6
|
+
export type ActionBarGap = "none" | "condensed";
|
|
7
|
+
type ActionBarAccessibleName = {
|
|
8
|
+
"aria-label": string;
|
|
9
|
+
"aria-labelledby"?: undefined;
|
|
10
|
+
} | {
|
|
11
|
+
"aria-label"?: undefined;
|
|
12
|
+
"aria-labelledby": string;
|
|
13
|
+
};
|
|
14
|
+
export type ActionBarProps = {
|
|
15
|
+
size?: ActionBarSize;
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
flush?: boolean;
|
|
18
|
+
gap?: ActionBarGap;
|
|
19
|
+
className?: string;
|
|
20
|
+
} & ActionBarAccessibleName;
|
|
21
|
+
export type ActionBarButtonProps = ButtonProps;
|
|
22
|
+
export type ActionBarIconButtonProps = IconButtonProps;
|
|
23
|
+
export type ActionBarDividerProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
24
|
+
className?: string;
|
|
25
|
+
};
|
|
26
|
+
export type ActionBarGroupProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
27
|
+
className?: string;
|
|
28
|
+
};
|
|
29
|
+
export type ActionBarMenuItem = {
|
|
30
|
+
type?: "action";
|
|
31
|
+
label: string;
|
|
32
|
+
disabled?: boolean;
|
|
33
|
+
variant?: ActionListItemVariant;
|
|
34
|
+
leadingVisual?: ButtonVisual;
|
|
35
|
+
trailingVisual?: ButtonVisual | string;
|
|
36
|
+
onClick?: (event: ActionListSelectEvent) => void;
|
|
37
|
+
items?: ActionBarMenuItem[];
|
|
38
|
+
} | {
|
|
39
|
+
type: "divider";
|
|
40
|
+
};
|
|
41
|
+
export type ActionBarMenuProps = Omit<IconButtonProps, "icon" | "aria-label" | "aria-labelledby"> & {
|
|
42
|
+
"aria-label": string;
|
|
43
|
+
icon: NonNullable<ButtonVisual>;
|
|
44
|
+
items: ActionBarMenuItem[];
|
|
45
|
+
overflowIcon?: ButtonVisual;
|
|
46
|
+
returnFocusRef?: React.RefObject<HTMLElement | null>;
|
|
47
|
+
};
|
|
48
|
+
export type ActionBarContextValue = {
|
|
49
|
+
size: ActionBarSize;
|
|
50
|
+
rootRef?: React.RefObject<HTMLElement | null>;
|
|
51
|
+
setOverflowing?: (index: number, overflowing: boolean) => void;
|
|
52
|
+
};
|
|
53
|
+
export type ActionBarItemContextValue = {
|
|
54
|
+
index?: number;
|
|
55
|
+
inGroup?: boolean;
|
|
56
|
+
};
|
|
57
|
+
export {};
|
|
@@ -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,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ActionBarDividerProps } from "./ActionBar.types";
|
|
3
|
+
declare function ActionBarDivider(props: ActionBarDividerProps): React.JSX.Element;
|
|
4
|
+
declare namespace ActionBarDivider {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export default ActionBarDivider;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ActionBarGroupProps } from "./ActionBar.types";
|
|
3
|
+
declare function ActionBarGroup(props: React.PropsWithChildren<ActionBarGroupProps>): React.JSX.Element;
|
|
4
|
+
declare namespace ActionBarGroup {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export default ActionBarGroup;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: (props: Omit<import("..").IconButtonProps, "aria-label" | "aria-labelledby" | "icon"> & {
|
|
3
|
+
"aria-label": string;
|
|
4
|
+
icon: NonNullable<import("..").ButtonVisual>;
|
|
5
|
+
items: import("./ActionBar.types").ActionBarMenuItem[];
|
|
6
|
+
overflowIcon?: import("..").ButtonVisual;
|
|
7
|
+
returnFocusRef?: React.RefObject<HTMLElement | null>;
|
|
8
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import ActionBarBase from "./ActionBar";
|
|
2
|
+
import ActionBarButton from "./ActionBarButton";
|
|
3
|
+
import ActionBarDivider from "./ActionBarDivider";
|
|
4
|
+
import ActionBarGroup from "./ActionBarGroup";
|
|
5
|
+
import ActionBarIconButton from "./ActionBarIconButton";
|
|
6
|
+
import ActionBarMenu from "./ActionBarMenu";
|
|
7
|
+
export declare const ActionBar: typeof ActionBarBase & {
|
|
8
|
+
Button: (props: Omit<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("..").ButtonBaseProps & import("..").ButtonContentProps, "as"> & {
|
|
9
|
+
as?: "button" | undefined;
|
|
10
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
11
|
+
IconButton: (props: import("./ActionBar.types").ActionBarIconButtonProps & import("react").RefAttributes<any>) => React.ReactNode;
|
|
12
|
+
Divider: typeof ActionBarDivider;
|
|
13
|
+
Group: typeof ActionBarGroup;
|
|
14
|
+
Menu: (props: Omit<import("..").IconButtonProps, "aria-label" | "aria-labelledby" | "icon"> & {
|
|
15
|
+
"aria-label": string;
|
|
16
|
+
icon: NonNullable<import("..").ButtonVisual>;
|
|
17
|
+
items: import("./ActionBar.types").ActionBarMenuItem[];
|
|
18
|
+
overflowIcon?: import("..").ButtonVisual;
|
|
19
|
+
returnFocusRef?: React.RefObject<HTMLElement | null>;
|
|
20
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
21
|
+
};
|
|
22
|
+
export { ActionBarButton, ActionBarIconButton, ActionBarDivider, ActionBarGroup, ActionBarMenu };
|
|
23
|
+
export { ActionBarContext } from "./ActionBarContext";
|
|
24
|
+
export { ActionBarItemContext } from "./ActionBarItemContext";
|
|
25
|
+
export * from "./ActionBar.types";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ActionListVariant } from "./ActionList.types";
|
|
3
|
+
declare const _default: <As extends React.ElementType = "ul">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "ul" : As> & {
|
|
4
|
+
variant?: ActionListVariant;
|
|
5
|
+
selectionVariant?: import("./ActionList.types").ActionListSelectionVariant;
|
|
6
|
+
showDividers?: boolean;
|
|
7
|
+
disableFocusZone?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
}, "as"> & {
|
|
10
|
+
as?: As | undefined;
|
|
11
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { PolymorphicProps } from "../../utilities/polymorphic";
|
|
3
|
+
import type { ButtonVisual } from "../button";
|
|
4
|
+
export type ActionListVariant = "inset" | "full";
|
|
5
|
+
export type ActionListSelectionVariant = "single" | "multiple";
|
|
6
|
+
export type ActionListItemVariant = "default" | "danger";
|
|
7
|
+
export type ActionListItemSize = "medium" | "large";
|
|
8
|
+
export type ActionListDescriptionVariant = "inline" | "block";
|
|
9
|
+
export type ActionListGroupVariant = "subtle" | "filled";
|
|
10
|
+
export type ActionListSelectEvent = React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>;
|
|
11
|
+
export type ActionListProps<As extends React.ElementType = "ul"> = PolymorphicProps<As, "ul", {
|
|
12
|
+
variant?: ActionListVariant;
|
|
13
|
+
selectionVariant?: ActionListSelectionVariant;
|
|
14
|
+
showDividers?: boolean;
|
|
15
|
+
disableFocusZone?: boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
}>;
|
|
18
|
+
export type ActionListItemProps<As extends React.ElementType = never> = Omit<React.ComponentPropsWithoutRef<"li">, "onSelect"> & {
|
|
19
|
+
onSelect?: (event: ActionListSelectEvent) => void;
|
|
20
|
+
selected?: boolean;
|
|
21
|
+
active?: boolean;
|
|
22
|
+
variant?: ActionListItemVariant;
|
|
23
|
+
size?: ActionListItemSize;
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
loading?: boolean;
|
|
26
|
+
inactiveText?: string;
|
|
27
|
+
className?: string;
|
|
28
|
+
as?: As;
|
|
29
|
+
};
|
|
30
|
+
export type ActionListLinkItemProps<As extends React.ElementType = "a"> = Omit<ActionListItemProps<As>, "selected" | "loading" | "onSelect"> & Pick<React.ComponentPropsWithoutRef<"a">, "href" | "hrefLang" | "rel" | "target" | "download">;
|
|
31
|
+
export type ActionListGroupProps = React.ComponentPropsWithoutRef<"li"> & {
|
|
32
|
+
variant?: ActionListGroupVariant;
|
|
33
|
+
selectionVariant?: ActionListSelectionVariant | false;
|
|
34
|
+
className?: string;
|
|
35
|
+
};
|
|
36
|
+
export type ActionListGroupHeadingProps = Omit<React.ComponentPropsWithoutRef<"h3">, "children"> & {
|
|
37
|
+
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
38
|
+
variant?: ActionListGroupVariant;
|
|
39
|
+
auxiliaryText?: string;
|
|
40
|
+
children?: React.ReactNode;
|
|
41
|
+
className?: string;
|
|
42
|
+
};
|
|
43
|
+
export type ActionListHeadingProps<As extends React.ElementType = "h3"> = PolymorphicProps<As, "h3", {
|
|
44
|
+
as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
45
|
+
visuallyHidden?: boolean;
|
|
46
|
+
className?: string;
|
|
47
|
+
}>;
|
|
48
|
+
export type ActionListDescriptionProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
49
|
+
variant?: ActionListDescriptionVariant;
|
|
50
|
+
className?: string;
|
|
51
|
+
};
|
|
52
|
+
export type ActionListDividerProps = React.ComponentPropsWithoutRef<"li"> & {
|
|
53
|
+
className?: string;
|
|
54
|
+
};
|
|
55
|
+
export type ActionListSubItemProps = {
|
|
56
|
+
children?: React.ReactNode;
|
|
57
|
+
};
|
|
58
|
+
export type ActionListVisualProps = React.ComponentPropsWithoutRef<"span"> & {
|
|
59
|
+
className?: string;
|
|
60
|
+
};
|
|
61
|
+
export type ActionListTrailingActionProps = Omit<React.ComponentPropsWithoutRef<"button">, "children" | "aria-label" | "aria-labelledby"> & {
|
|
62
|
+
icon?: ButtonVisual;
|
|
63
|
+
label: string;
|
|
64
|
+
className?: string;
|
|
65
|
+
};
|
|
66
|
+
export type ActionListContextValue = {
|
|
67
|
+
variant?: ActionListVariant;
|
|
68
|
+
selectionVariant?: ActionListSelectionVariant;
|
|
69
|
+
showDividers?: boolean;
|
|
70
|
+
role?: React.AriaRole;
|
|
71
|
+
headingId?: string;
|
|
72
|
+
};
|
|
73
|
+
export type ActionListItemContextValue = {
|
|
74
|
+
variant?: ActionListItemVariant;
|
|
75
|
+
size?: ActionListItemSize;
|
|
76
|
+
disabled?: boolean;
|
|
77
|
+
inactive?: boolean;
|
|
78
|
+
inlineDescriptionId?: string;
|
|
79
|
+
blockDescriptionId?: string;
|
|
80
|
+
trailingVisualId?: string;
|
|
81
|
+
};
|
|
82
|
+
export type ActionListGroupContextValue = {
|
|
83
|
+
selectionVariant?: ActionListSelectionVariant | false;
|
|
84
|
+
groupHeadingId?: string;
|
|
85
|
+
};
|
|
86
|
+
export type ActionListContainerContextValue = {
|
|
87
|
+
container?: string;
|
|
88
|
+
listRole?: React.AriaRole;
|
|
89
|
+
listLabelledBy?: string;
|
|
90
|
+
selectionVariant?: ActionListSelectionVariant;
|
|
91
|
+
selectionAttribute?: "aria-selected" | "aria-checked";
|
|
92
|
+
afterSelect?: (event: ActionListSelectEvent) => void;
|
|
93
|
+
enableFocusZone?: boolean;
|
|
94
|
+
defaultTrailingVisual?: React.ReactNode;
|
|
95
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ActionListDescriptionProps } from "./ActionList.types";
|
|
3
|
+
declare function ActionListDescription(props: React.PropsWithChildren<ActionListDescriptionProps>): React.JSX.Element;
|
|
4
|
+
declare namespace ActionListDescription {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export default ActionListDescription;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ActionListDividerProps } from "./ActionList.types";
|
|
3
|
+
declare function ActionListDivider(props: ActionListDividerProps): React.JSX.Element;
|
|
4
|
+
declare namespace ActionListDivider {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export default ActionListDivider;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ActionListGroupProps } from "./ActionList.types";
|
|
3
|
+
declare function ActionListGroup(props: React.PropsWithChildren<ActionListGroupProps>): React.JSX.Element;
|
|
4
|
+
declare namespace ActionListGroup {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export default ActionListGroup;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ActionListGroupHeadingProps } from "./ActionList.types";
|
|
2
|
+
import type { FCWithSlotMarker, SlotMarker } from "../../utilities/types/slots";
|
|
3
|
+
export declare const groupHeadingSlot: SlotMarker;
|
|
4
|
+
declare const GroupHeading: FCWithSlotMarker<ActionListGroupHeadingProps>;
|
|
5
|
+
export default GroupHeading;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: <As extends React.ElementType = "h3">(props: import("../../utilities/polymorphic").DistributiveOmit<React.ComponentPropsWithRef<React.ElementType extends As ? "h3" : As> & {
|
|
3
|
+
as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
4
|
+
visuallyHidden?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
}, "as"> & {
|
|
7
|
+
as?: As | undefined;
|
|
8
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ActionListItemSize, ActionListSelectEvent } from "./ActionList.types";
|
|
3
|
+
declare const _default: <As extends React.ElementType = never>(props: Omit<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref">, "onSelect"> & {
|
|
4
|
+
onSelect?: (event: ActionListSelectEvent) => void;
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
active?: boolean;
|
|
7
|
+
variant?: import("./ActionList.types").ActionListItemVariant;
|
|
8
|
+
size?: ActionListItemSize;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
inactiveText?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
as?: As | undefined;
|
|
14
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ActionListVisualProps } from "./ActionList.types";
|
|
3
|
+
declare function ActionListLeadingVisual(props: React.PropsWithChildren<ActionListVisualProps>): React.JSX.Element;
|
|
4
|
+
declare namespace ActionListLeadingVisual {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export default ActionListLeadingVisual;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: <As extends React.ElementType = "a">(props: Omit<import("./ActionList.types").ActionListItemProps<As>, "onSelect" | "loading" | "selected"> & Pick<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref">, "rel" | "href" | "download" | "hrefLang" | "target"> & React.RefAttributes<any>) => React.ReactNode;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ActionListSubItemProps } from "./ActionList.types";
|
|
2
|
+
declare function ActionListSubItem({ children }: ActionListSubItemProps): import("react").JSX.Element;
|
|
3
|
+
declare namespace ActionListSubItem {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
6
|
+
export default ActionListSubItem;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
declare const _default: (props: Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "aria-label" | "aria-labelledby" | "children"> & {
|
|
3
|
+
icon?: import("..").ButtonVisual;
|
|
4
|
+
label: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
} & React.RefAttributes<any>) => React.ReactNode;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ActionListVisualProps } from "./ActionList.types";
|
|
3
|
+
declare function ActionListTrailingVisual(props: React.PropsWithChildren<ActionListVisualProps>): React.JSX.Element;
|
|
4
|
+
declare namespace ActionListTrailingVisual {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export default ActionListTrailingVisual;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import ActionListDescription from "./ActionListDescription";
|
|
2
|
+
import ActionListDivider from "./ActionListDivider";
|
|
3
|
+
import ActionListGroup from "./ActionListGroup";
|
|
4
|
+
import ActionListGroupHeading from "./ActionListGroupHeading";
|
|
5
|
+
import ActionListHeading from "./ActionListHeading";
|
|
6
|
+
import ActionListItem from "./ActionListItem";
|
|
7
|
+
import ActionListLeadingVisual from "./ActionListLeadingVisual";
|
|
8
|
+
import ActionListLinkItem from "./ActionListLinkItem";
|
|
9
|
+
import ActionListSubItem from "./ActionListSubItem";
|
|
10
|
+
import ActionListTrailingAction from "./ActionListTrailingAction";
|
|
11
|
+
import ActionListTrailingVisual from "./ActionListTrailingVisual";
|
|
12
|
+
export declare const ActionList: (<As extends React.ElementType = "ul">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "ul" : As> & {
|
|
13
|
+
variant?: import("./ActionList.types").ActionListVariant;
|
|
14
|
+
selectionVariant?: import("./ActionList.types").ActionListSelectionVariant;
|
|
15
|
+
showDividers?: boolean;
|
|
16
|
+
disableFocusZone?: boolean;
|
|
17
|
+
className?: string;
|
|
18
|
+
}, "as"> & {
|
|
19
|
+
as?: As | undefined;
|
|
20
|
+
} & import("react").RefAttributes<any>) => React.ReactNode) & {
|
|
21
|
+
Item: <As extends React.ElementType = never>(props: Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref">, "onSelect"> & {
|
|
22
|
+
onSelect?: (event: import("./ActionList.types").ActionListSelectEvent) => void;
|
|
23
|
+
selected?: boolean;
|
|
24
|
+
active?: boolean;
|
|
25
|
+
variant?: import("./ActionList.types").ActionListItemVariant;
|
|
26
|
+
size?: import("./ActionList.types").ActionListItemSize;
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
loading?: boolean;
|
|
29
|
+
inactiveText?: string;
|
|
30
|
+
className?: string;
|
|
31
|
+
as?: As | undefined;
|
|
32
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
33
|
+
LinkItem: <As extends React.ElementType = "a">(props: Omit<import("./ActionList.types").ActionListItemProps<As>, "onSelect" | "loading" | "selected"> & Pick<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref">, "rel" | "href" | "download" | "hrefLang" | "target"> & import("react").RefAttributes<any>) => React.ReactNode;
|
|
34
|
+
Group: typeof ActionListGroup;
|
|
35
|
+
GroupHeading: import("../../utilities/types/slots").FCWithSlotMarker<import("./ActionList.types").ActionListGroupHeadingProps>;
|
|
36
|
+
Heading: <As extends React.ElementType = "h3">(props: import("../../utilities/polymorphic").DistributiveOmit<import("react").ComponentPropsWithRef<import("react").ElementType extends As ? "h3" : As> & {
|
|
37
|
+
as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
38
|
+
visuallyHidden?: boolean;
|
|
39
|
+
className?: string;
|
|
40
|
+
}, "as"> & {
|
|
41
|
+
as?: As | undefined;
|
|
42
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
43
|
+
Description: typeof ActionListDescription;
|
|
44
|
+
Divider: typeof ActionListDivider;
|
|
45
|
+
LeadingVisual: typeof ActionListLeadingVisual;
|
|
46
|
+
TrailingVisual: typeof ActionListTrailingVisual;
|
|
47
|
+
TrailingAction: (props: Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "aria-label" | "aria-labelledby" | "children"> & {
|
|
48
|
+
icon?: import("..").ButtonVisual;
|
|
49
|
+
label: string;
|
|
50
|
+
className?: string;
|
|
51
|
+
} & import("react").RefAttributes<any>) => React.ReactNode;
|
|
52
|
+
SubItem: typeof ActionListSubItem;
|
|
53
|
+
};
|
|
54
|
+
export { ActionListItem, ActionListLinkItem, ActionListGroup, ActionListGroupHeading, ActionListHeading, ActionListDescription, ActionListDivider, ActionListLeadingVisual, ActionListTrailingVisual, ActionListTrailingAction, ActionListSubItem, };
|
|
55
|
+
export { ActionListContext } from "./ActionListContext";
|
|
56
|
+
export { ActionListItemContext } from "./ActionListItemContext";
|
|
57
|
+
export { ActionListGroupContext } from "./ActionListGroupContext";
|
|
58
|
+
export { ActionListContainerContext } from "./ActionListContainerContext";
|
|
59
|
+
export * from "./ActionList.types";
|