UNPKG

raft-ui

Version:

React UI components for Raft.

164 lines 19.3 kB
import { Ct as Button, D as PanelHeaderRoot, c as PanelHeaderIcon, et as SidebarItemRoot, x as Panel, xt as SidebarRoot } from "./panel-header-Bk1kF2oU.mjs"; import { ComponentPropsWithRef, ReactNode } from "react"; import { useRender } from "@base-ui/react/use-render"; //#region src/components/activity-inbox/activity-inbox.d.ts type ActivityInboxListProps = useRender.ComponentProps<"div">; declare function ActivityInboxList({ className, render, ...props }: ActivityInboxListProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemProps = useRender.ComponentProps<"div"> & { active?: boolean; disabled?: boolean; }; declare function ActivityInboxItem({ active, className, disabled, render, ...props }: ActivityInboxItemProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemOpenProps = useRender.ComponentProps<"button">; declare function ActivityInboxItemOpen({ className, render, ...props }: ActivityInboxItemOpenProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemSelectionProps = useRender.ComponentProps<"div">; declare function ActivityInboxItemSelection({ className, render, ...props }: ActivityInboxItemSelectionProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemContentProps = useRender.ComponentProps<"div">; declare function ActivityInboxItemContent({ className, render, ...props }: ActivityInboxItemContentProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemSubtitleProps = useRender.ComponentProps<"div">; declare function ActivityInboxItemSubtitle({ className, render, ...props }: ActivityInboxItemSubtitleProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemHeadingProps = useRender.ComponentProps<"div">; declare function ActivityInboxItemHeading({ className, render, ...props }: ActivityInboxItemHeadingProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemTitleProps = useRender.ComponentProps<"div">; declare function ActivityInboxItemTitle({ className, render, ...props }: ActivityInboxItemTitleProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemTrailingProps = useRender.ComponentProps<"div">; declare function ActivityInboxItemTrailing({ className, render, ...props }: ActivityInboxItemTrailingProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemTimestampProps = useRender.ComponentProps<"span">; declare function ActivityInboxItemTimestamp({ className, render, ...props }: ActivityInboxItemTimestampProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemBodyProps = useRender.ComponentProps<"p">; declare function ActivityInboxItemBody({ className, render, ...props }: ActivityInboxItemBodyProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemSenderProps = useRender.ComponentProps<"span">; declare function ActivityInboxItemSender({ className, render, ...props }: ActivityInboxItemSenderProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemMetadataProps = useRender.ComponentProps<"div">; declare function ActivityInboxItemMetadata({ className, render, ...props }: ActivityInboxItemMetadataProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type ActivityInboxItemActionsProps = useRender.ComponentProps<"div">; declare function ActivityInboxItemActions({ className, render, ...props }: ActivityInboxItemActionsProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; //#endregion //#region src/components/activity-inbox/activity-inbox-shell.d.ts type ActivityInboxPanelProps = ComponentPropsWithRef<typeof Panel>; declare function ActivityInboxPanel({ className, ...props }: ActivityInboxPanelProps): import("react").JSX.Element; type ActivityInboxHeaderIconProps = ComponentPropsWithRef<typeof PanelHeaderIcon>; declare function ActivityInboxHeaderIcon({ className, ...props }: ActivityInboxHeaderIconProps): import("react").JSX.Element; type ActivityInboxViewportProps = ComponentPropsWithRef<"div">; declare function ActivityInboxViewport({ className, ...props }: ActivityInboxViewportProps): import("react").JSX.Element; type ActivityInboxLoadingMoreProps = ComponentPropsWithRef<"div">; declare function ActivityInboxLoadingMore({ className, ...props }: ActivityInboxLoadingMoreProps): import("react").JSX.Element; //#endregion //#region src/components/activity-inbox/activity-inbox-sidebar.d.ts type ActivityInboxSidebarProps = ComponentPropsWithRef<typeof SidebarRoot> & { children?: ReactNode; }; declare function ActivityInboxSidebar({ className, children, ...props }: ActivityInboxSidebarProps): import("react").JSX.Element; type ActivityInboxSidebarHeadingProps = ComponentPropsWithRef<"div">; declare function ActivityInboxSidebarHeading({ className, ...props }: ActivityInboxSidebarHeadingProps): import("react").JSX.Element; type ActivityInboxSidebarHeadingLabelProps = ComponentPropsWithRef<"span">; declare function ActivityInboxSidebarHeadingLabel({ className, ...props }: ActivityInboxSidebarHeadingLabelProps): import("react").JSX.Element; type ActivityInboxNavigationItemProps = ComponentPropsWithRef<typeof SidebarItemRoot>; declare function ActivityInboxNavigationItem({ active, className, ...props }: ActivityInboxNavigationItemProps): import("react").JSX.Element; type ActivityInboxNavigationLabelProps = ComponentPropsWithRef<"span">; declare function ActivityInboxNavigationLabel({ className, ...props }: ActivityInboxNavigationLabelProps): import("react").JSX.Element; type ActivityInboxNavigationCountProps = ComponentPropsWithRef<"span">; declare function ActivityInboxNavigationCount({ className, ...props }: ActivityInboxNavigationCountProps): import("react").JSX.Element; //#endregion //#region src/components/activity-inbox/activity-inbox-toolbar.d.ts type ActivityInboxControlsProps = ComponentPropsWithRef<"div">; declare function ActivityInboxControls({ className, ...props }: ActivityInboxControlsProps): import("react").JSX.Element; type ActivityInboxSelectionToolbarProps = ComponentPropsWithRef<"div">; declare function ActivityInboxSelectionToolbar({ className, ...props }: ActivityInboxSelectionToolbarProps): import("react").JSX.Element; type ActivityInboxSelectionCountProps = ComponentPropsWithRef<"span">; declare function ActivityInboxSelectionCount({ className, ...props }: ActivityInboxSelectionCountProps): import("react").JSX.Element; type ActivityInboxToolbarActionVariant = "secondary" | "primary" | "link" | "ghost"; type ActivityInboxToolbarActionProps = Omit<ComponentPropsWithRef<typeof Button>, "size" | "variant"> & { variant?: ActivityInboxToolbarActionVariant; }; /** * Bulk-selection toolbar action built on the shared Button. `secondary` maps to * Button's outline treatment, `primary` to the high-emphasis fill, `link` to a * text action, and `ghost` to the sort-style text trigger. */ declare function ActivityInboxToolbarAction({ className, variant, ...props }: ActivityInboxToolbarActionProps): import("react").JSX.Element; //#endregion //#region src/components/search/search.d.ts type SearchShellRootProps = useRender.ComponentProps<"div"> & { edge?: ComponentPropsWithRef<typeof Panel>["edge"]; }; declare function SearchShellRoot({ className, edge, render, ...props }: SearchShellRootProps): import("react").JSX.Element; type SearchShellHeaderProps = ComponentPropsWithRef<typeof PanelHeaderRoot>; declare function SearchShellHeader({ className, ...props }: SearchShellHeaderProps): import("react").JSX.Element; type SearchShellContentProps = useRender.ComponentProps<"section">; declare function SearchShellContent({ className, render, ...props }: SearchShellContentProps): import("react").JSX.Element; type SearchShellFiltersProps = ComponentPropsWithRef<"div">; declare function SearchShellFilters({ className, ...props }: SearchShellFiltersProps): import("react").JSX.Element; type SearchShellViewportProps = ComponentPropsWithRef<"div">; declare function SearchShellViewport({ className, ...props }: SearchShellViewportProps): import("react").JSX.Element; type SearchShellHeaderIconProps = ComponentPropsWithRef<"div">; declare function SearchShellHeaderIcon({ className, ...props }: SearchShellHeaderIconProps): import("react").JSX.Element; type SearchResultsSummaryProps = useRender.ComponentProps<"span">; declare function SearchResultsSummary({ className, render, ...props }: SearchResultsSummaryProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchResultsSectionProps = useRender.ComponentProps<"div">; declare function SearchResultsSection({ className, render, ...props }: SearchResultsSectionProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchResultsSectionHeadingProps = useRender.ComponentProps<"div">; declare function SearchResultsSectionHeading({ className, render, ...props }: SearchResultsSectionHeadingProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchResultsListProps = useRender.ComponentProps<"div">; declare function SearchResultsList({ className, render, ...props }: SearchResultsListProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; //#endregion //#region src/components/search/search-entity.d.ts type SearchEntityResultProps = useRender.ComponentProps<"button"> & { selected?: boolean; }; declare function SearchEntityResult({ selected, className, render, ...props }: SearchEntityResultProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchEntityResultLeadingProps = useRender.ComponentProps<"div">; declare function SearchEntityResultLeading({ className, render, ...props }: SearchEntityResultLeadingProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchEntityResultIconProps = useRender.ComponentProps<"div">; declare function SearchEntityResultIcon({ className, render, ...props }: SearchEntityResultIconProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchEntityResultActivityProps = useRender.ComponentProps<"span">; declare function SearchEntityResultActivity({ className, render, ...props }: SearchEntityResultActivityProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchEntityResultTextProps = useRender.ComponentProps<"span"> & { muted?: boolean; }; type SearchEntityResultTitleProps = SearchEntityResultTextProps; declare function SearchEntityResultTitle({ muted, className, render, ...props }: SearchEntityResultTitleProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchEntityResultDescriptionProps = SearchEntityResultTextProps; declare function SearchEntityResultDescription({ muted, className, render, ...props }: SearchEntityResultDescriptionProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; //#endregion //#region src/components/search/search-message.d.ts type SearchMessageResultBaseProps = useRender.ComponentProps<"button"> & { selected?: boolean; nested?: boolean; }; type SearchMessageResultProps = Omit<SearchMessageResultBaseProps, "nested">; declare function SearchMessageResult(props: SearchMessageResultProps): import("react").JSX.Element; type SearchThreadMessageResultProps = Omit<SearchMessageResultBaseProps, "nested">; declare function SearchThreadMessageResult(props: SearchThreadMessageResultProps): import("react").JSX.Element; type SearchMessageResultHeaderProps = useRender.ComponentProps<"div">; declare function SearchMessageResultHeader({ className, render, ...props }: SearchMessageResultHeaderProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchMessageResultBodyProps = useRender.ComponentProps<"div">; declare function SearchMessageResultBody({ className, render, ...props }: SearchMessageResultBodyProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchMessageResultMetaProps = useRender.ComponentProps<"span">; declare function SearchMessageResultMeta({ className, render, ...props }: SearchMessageResultMetaProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchMessageResultThreadMetaProps = useRender.ComponentProps<"span">; declare function SearchMessageResultThreadMeta({ className, render, ...props }: SearchMessageResultThreadMetaProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchMessageResultSenderProps = useRender.ComponentProps<"span">; declare function SearchMessageResultSender({ className, render, ...props }: SearchMessageResultSenderProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchMessageResultTimestampProps = useRender.ComponentProps<"span">; declare function SearchMessageResultTimestamp({ className, render, ...props }: SearchMessageResultTimestampProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchMessageResultMatchProps = useRender.ComponentProps<"mark">; declare function SearchMessageResultMatch({ className, render, ...props }: SearchMessageResultMatchProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; //#endregion //#region src/components/search/search-thread.d.ts type SearchThreadResultProps = useRender.ComponentProps<"div"> & { selected?: boolean; }; declare function SearchThreadResult({ selected, className, render, ...props }: SearchThreadResultProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchThreadResultHeaderProps = useRender.ComponentProps<"div">; declare function SearchThreadResultHeader({ className, render, ...props }: SearchThreadResultHeaderProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchThreadResultMetaProps = useRender.ComponentProps<"div">; declare function SearchThreadResultMeta({ className, render, ...props }: SearchThreadResultMetaProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchThreadResultTimestampProps = useRender.ComponentProps<"span">; declare function SearchThreadResultTimestamp({ className, render, ...props }: SearchThreadResultTimestampProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchThreadResultTitleProps = useRender.ComponentProps<"div">; declare function SearchThreadResultTitle({ className, render, ...props }: SearchThreadResultTitleProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; type SearchThreadResultMessagesProps = useRender.ComponentProps<"div">; declare function SearchThreadResultMessages({ className, render, ...props }: SearchThreadResultMessagesProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>; //#endregion export { ActivityInboxControls, ActivityInboxControlsProps, ActivityInboxHeaderIcon, ActivityInboxHeaderIconProps, ActivityInboxItem, ActivityInboxItemActions, type ActivityInboxItemActionsProps, ActivityInboxItemBody, type ActivityInboxItemBodyProps, ActivityInboxItemContent, type ActivityInboxItemContentProps, ActivityInboxItemHeading, type ActivityInboxItemHeadingProps, ActivityInboxItemMetadata, type ActivityInboxItemMetadataProps, ActivityInboxItemOpen, type ActivityInboxItemOpenProps, type ActivityInboxItemProps, ActivityInboxItemSelection, type ActivityInboxItemSelectionProps, ActivityInboxItemSender, type ActivityInboxItemSenderProps, ActivityInboxItemSubtitle, type ActivityInboxItemSubtitleProps, ActivityInboxItemTimestamp, type ActivityInboxItemTimestampProps, ActivityInboxItemTitle, type ActivityInboxItemTitleProps, ActivityInboxItemTrailing, type ActivityInboxItemTrailingProps, ActivityInboxList, type ActivityInboxListProps, ActivityInboxLoadingMore, ActivityInboxLoadingMoreProps, ActivityInboxNavigationCount, ActivityInboxNavigationCountProps, ActivityInboxNavigationItem, ActivityInboxNavigationItemProps, ActivityInboxNavigationLabel, ActivityInboxNavigationLabelProps, ActivityInboxPanel, ActivityInboxPanelProps, ActivityInboxSelectionCount, ActivityInboxSelectionCountProps, ActivityInboxSelectionToolbar, ActivityInboxSelectionToolbarProps, ActivityInboxSidebar, ActivityInboxSidebarHeading, ActivityInboxSidebarHeadingLabel, ActivityInboxSidebarHeadingLabelProps, ActivityInboxSidebarHeadingProps, ActivityInboxSidebarProps, ActivityInboxToolbarAction, ActivityInboxToolbarActionProps, ActivityInboxToolbarActionVariant, ActivityInboxViewport, ActivityInboxViewportProps, SearchEntityResult, SearchEntityResultActivity, SearchEntityResultActivityProps, SearchEntityResultDescription, SearchEntityResultDescriptionProps, SearchEntityResultIcon, SearchEntityResultIconProps, SearchEntityResultLeading, SearchEntityResultLeadingProps, SearchEntityResultProps, SearchEntityResultTitle, SearchEntityResultTitleProps, SearchMessageResult, SearchMessageResultBody, SearchMessageResultBodyProps, SearchMessageResultHeader, SearchMessageResultHeaderProps, SearchMessageResultMatch, SearchMessageResultMatchProps, SearchMessageResultMeta, SearchMessageResultMetaProps, SearchMessageResultProps, SearchMessageResultSender, SearchMessageResultSenderProps, SearchMessageResultThreadMeta, SearchMessageResultThreadMetaProps, SearchMessageResultTimestamp, SearchMessageResultTimestampProps, SearchResultsList, SearchResultsListProps, SearchResultsSection, SearchResultsSectionHeading, SearchResultsSectionHeadingProps, SearchResultsSectionProps, SearchResultsSummary, SearchResultsSummaryProps, SearchShellContent, SearchShellContentProps, SearchShellFilters, SearchShellFiltersProps, SearchShellHeader, SearchShellHeaderIcon, SearchShellHeaderIconProps, SearchShellHeaderProps, SearchShellRoot, SearchShellRootProps, SearchShellViewport, SearchShellViewportProps, SearchThreadMessageResult, SearchThreadMessageResultProps, SearchThreadResult, SearchThreadResultHeader, SearchThreadResultHeaderProps, SearchThreadResultMessages, SearchThreadResultMessagesProps, SearchThreadResultMeta, SearchThreadResultMetaProps, SearchThreadResultProps, SearchThreadResultTimestamp, SearchThreadResultTimestampProps, SearchThreadResultTitle, SearchThreadResultTitleProps };