UNPKG

@gravity-ui/uikit

Version:

Gravity UI base styling and components

128 lines (127 loc) 6.32 kB
import * as React from 'react'; import type { AccordionProps } from "../Accordion/index.js"; import type { ActionTooltipProps } from "../ActionTooltip/index.js"; import type { ActionsPanelProps } from "../ActionsPanel/index.js"; import type { AlertProps } from "../Alert/index.js"; import type { ArrowToggleProps } from "../ArrowToggle/index.js"; import type { AvatarProps } from "../Avatar/index.js"; import type { AvatarStackProps } from "../AvatarStack/index.js"; import type { BreadcrumbsProps } from "../Breadcrumbs/index.js"; import type { ButtonCommonProps } from "../Button/Button.js"; import type { CardProps } from "../Card/index.js"; import type { CheckboxProps } from "../Checkbox/index.js"; import type { ClipboardButtonProps } from "../ClipboardButton/index.js"; import type { ClipboardIconProps } from "../ClipboardIcon/index.js"; import type { CopyToClipboardProps } from "../CopyToClipboard/index.js"; import type { DefinitionListProps } from "../DefinitionList/index.js"; import type { DialogProps } from "../Dialog/index.js"; import type { DisclosureProps } from "../Disclosure/index.js"; import type { DividerProps } from "../Divider/index.js"; import type { DrawerProps } from "../Drawer/index.js"; import type { DropdownMenuProps } from "../DropdownMenu/index.js"; import type { FilePreviewProps } from "../FilePreview/index.js"; import type { HelpMarkProps } from "../HelpMark/index.js"; import type { HotkeyProps } from "../Hotkey/index.js"; import type { IconProps } from "../Icon/index.js"; import type { LabelProps } from "../Label/index.js"; import type { LinkProps } from "../Link/index.js"; import type { LoaderProps } from "../Loader/index.js"; import type { MenuProps } from "../Menu/index.js"; import type { ModalProps } from "../Modal/index.js"; import type { NumberInputProps } from "../NumberInput/index.js"; import type { OverlayProps } from "../Overlay/index.js"; import type { PaginationProps } from "../Pagination/index.js"; import type { PaletteProps } from "../Palette/index.js"; import type { PinInputProps } from "../PinInput/index.js"; import type { PlaceholderContainerProps } from "../PlaceholderContainer/index.js"; import type { PopoverProps } from "../Popover/index.js"; import type { PopupProps } from "../Popup/index.js"; import type { PortalProps } from "../Portal/index.js"; import type { ProgressProps } from "../Progress/index.js"; import type { RadioProps } from "../Radio/index.js"; import type { RadioGroupProps } from "../RadioGroup/index.js"; import type { SegmentedRadioGroupProps } from "../SegmentedRadioGroup/index.js"; import type { SelectProps } from "../Select/index.js"; import type { SheetProps } from "../Sheet/index.js"; import type { SkeletonProps } from "../Skeleton/index.js"; import type { SliderProps } from "../Slider/index.js"; import type { SpinProps } from "../Spin/index.js"; import type { StepperProps } from "../Stepper/index.js"; import type { SwitchProps } from "../Switch/index.js"; import type { TableColumnSetupProps } from "../TableColumnSetup/index.js"; import type { TextProps } from "../Text/index.js"; import type { TocProps } from "../Toc/index.js"; import type { TooltipProps } from "../Tooltip/index.js"; import type { UserProps } from "../User/index.js"; import type { UserLabelProps } from "../UserLabel/index.js"; import type { TextAreaProps } from "../controls/TextArea/index.js"; import type { TextInputProps } from "../controls/TextInput/index.js"; import type { TabListProps, TabPanelProps, TabProps, TabProviderProps } from "../tabs/index.js"; export interface ComponentDefaultPropsMap { Accordion?: Partial<AccordionProps<any>>; ActionsPanel?: Partial<ActionsPanelProps>; ActionTooltip?: Partial<ActionTooltipProps>; Alert?: Partial<AlertProps>; ArrowToggle?: Partial<ArrowToggleProps>; Avatar?: Partial<AvatarProps>; AvatarStack?: Partial<AvatarStackProps>; Breadcrumbs?: Partial<BreadcrumbsProps>; Button?: Partial<ButtonCommonProps>; Card?: Partial<CardProps>; Checkbox?: Partial<CheckboxProps>; ClipboardButton?: Partial<ClipboardButtonProps>; ClipboardIcon?: Partial<ClipboardIconProps>; CopyToClipboard?: Partial<CopyToClipboardProps>; DefinitionList?: Partial<DefinitionListProps>; Dialog?: Partial<DialogProps>; Disclosure?: Partial<DisclosureProps>; Divider?: Partial<DividerProps>; Drawer?: Partial<DrawerProps>; DropdownMenu?: Partial<DropdownMenuProps<any>>; FilePreview?: Partial<FilePreviewProps>; HelpMark?: Partial<HelpMarkProps>; Hotkey?: Partial<HotkeyProps>; Icon?: Partial<IconProps>; Label?: Partial<LabelProps>; Link?: Partial<LinkProps>; Loader?: Partial<LoaderProps>; Menu?: Partial<MenuProps>; Modal?: Partial<ModalProps>; NumberInput?: Partial<NumberInputProps>; Overlay?: Partial<OverlayProps>; Pagination?: Partial<PaginationProps>; Palette?: Partial<PaletteProps>; PinInput?: Partial<PinInputProps>; PlaceholderContainer?: Partial<PlaceholderContainerProps>; Popover?: Partial<PopoverProps>; Popup?: Partial<PopupProps>; Portal?: Partial<PortalProps>; Progress?: Partial<ProgressProps>; Radio?: Partial<RadioProps>; RadioGroup?: Partial<RadioGroupProps>; SegmentedRadioGroup?: Partial<SegmentedRadioGroupProps<any>>; Select?: Partial<SelectProps<any>>; Sheet?: Partial<SheetProps>; Skeleton?: Partial<SkeletonProps>; Slider?: Partial<SliderProps<any>>; Spin?: Partial<SpinProps>; Stepper?: Partial<StepperProps>; Switch?: Partial<SwitchProps>; TableColumnSetup?: Partial<TableColumnSetupProps>; Tab?: Partial<TabProps>; TabList?: Partial<TabListProps>; TabPanel?: Partial<TabPanelProps>; TabProvider?: Partial<TabProviderProps>; Text?: Partial<TextProps<any>>; TextArea?: Partial<TextAreaProps>; TextInput?: Partial<TextInputProps>; Toc?: Partial<TocProps>; Tooltip?: Partial<TooltipProps>; User?: Partial<UserProps>; UserLabel?: Partial<UserLabelProps>; } export declare const PrivateDefaultPropsContext: React.Context<ComponentDefaultPropsMap>; export declare function PrivateDefaultPropsProvider({ value, children, }: { value?: ComponentDefaultPropsMap; children: React.ReactNode; }): import("react/jsx-runtime").JSX.Element;