import { Theme as MuiTheme } from '@material-ui/core/styles'; import { RcAccordionDetailsProps, RcAccordionProps, RcAccordionSummaryProps } from '../../components/Accordion'; import { RcAlertProps } from '../../components/Alert'; import { RcHighlightProps } from '../../components/Animations/Highlight'; import { RcAppBarProps } from '../../components/AppBar'; import { RcAvatarProps } from '../../components/Avatar'; import { RcBackdropProps } from '../../components/Backdrop'; import { RcBadgeProps } from '../../components/Badge'; import { RcBoxProps } from '../../components/Box'; import { RcButtonGroupProps, RcButtonProps, RcIconButtonGroupProps, RcIconButtonProps, RcSplitButtonProps, RcToggleButtonGroupProps, RcToggleButtonProps } from '../../components/Buttons'; import { RcCardActionAreaProps, RcCardActionsProps, RcCardContentProps, RcCardHeaderProps, RcCardHoverActionsProps, RcCardMediaProps, RcCardProps, RcCardSelectionAreaProps } from '../../components/Card'; import { RcChipProps } from '../../components/Chip'; import { RcDetachedWindowProps } from '../../components/DetachedWindow'; import { RcDialDeleteProps, RcDialerProps, RcDialPadProps, RcDialTextFieldProps } from '../../components/Dialer'; import { RcDialogActionsProps, RcDialogContentProps, RcDialogContentTextProps, RcDialogProps, RcDialogTitleProps } from '../../components/Dialog'; import { RcDividerProps } from '../../components/Divider'; import { RcDragDropContextProps, RcDraggableProps, RcDragHandleProps, RcDroppableProps } from '../../components/DnD'; import { RcDownshiftProps, RcSuggestionListProps } from '../../components/Downshift'; import { RcDrawerProps } from '../../components/Drawer'; import { RcCheckboxProps, RcDatePickerProps, RcFormControlLabelProps, RcFormControlProps, RcFormGroupProps, RcFormHelperTextProps, RcFormLabelProps, RcFormProps, RcInputLabelProps, RcRadioGroupProps, RcRadioProps, RcSelectProps, RcSliderProps, RcSwitchProps, RcTextareaProps, RcTextFieldProps, RcTimePickerProps } from '../../components/Forms'; import { RcGridProps } from '../../components/Grid'; import { RcIconProps } from '../../components/Icon'; import { RcInlineEditableProps } from '../../components/InlineEditable'; import { RcLinkProps } from '../../components/Link'; import { RcListItemAvatarProps, RcListItemIconProps, RcListItemProps, RcListItemSecondaryActionProps, RcListItemTextProps, RcListProps, RcListSubheaderProps } from '../../components/List'; import { RcLoadingProps } from '../../components/Loading'; import { RcMenuItemProps, RcMenuListProps, RcMenuProps, RcSubMenuProps } from '../../components/Menu'; import { RcPaginationItemProps, RcPaginationProps } from '../../components/Pagination'; import { RcPaperProps } from '../../components/Paper'; import { RcPopoverProps } from '../../components/Popover'; import { RcPopperProps } from '../../components/Popper'; import { RcPopupBoxProps } from '../../components/PopupBox'; import { RcPortalProps } from '../../components/Portal'; import { RcPresenceProps } from '../../components/Presence'; import { RcCircularProgressProps, RcLinearProgressProps } from '../../components/Progress'; import { RcRatingProps } from '../../components/Rating'; import { RcResponsiveProps } from '../../components/Responsive'; import { RcSnackbarActionProps, RcSnackbarContentProps, RcSnackbarProps } from '../../components/Snackbar'; import { RcStepButtonProps, RcStepConnectorProps, RcStepIconProps, RcStepLabelProps, RcStepperProps, RcStepProps } from '../../components/Stepper'; import { RcTablePaginationProps } from '../../components/TablePagination'; import { RcTableBodyProps, RcTableCellProps, RcTableContainerProps, RcTableHeadProps, RcTableProps, RcTableRowProps } from '../../components/Table'; import { RcTabListProps, RcTabPanelProps, RcTabProps, RcTabsProps } from '../../components/Tabs'; import { RcTagProps } from '../../components/Tag'; import { RcTextProps } from '../../components/Text'; import { RcThumbnailProps } from '../../components/Thumbnail'; import { RcToolbarProps } from '../../components/Toolbar'; import { RcTooltipProps } from '../../components/Tooltip'; import { RcCollapseProps, RcFadeProps, RcGrowProps, RcSlideProps, RcZoomFromProps, RcZoomInFadeOutProps, RcZoomProps } from '../../components/Transitions'; import { RcTypographyProps } from '../../components/Typography'; import { RcVirtualizedDividerProps, RcVirtualizedMenuListProps, RcVirtualizedMenuProps } from '../../components/VirtualizedMenu'; import { ThemedStyledProps } from '../styled-components'; import { DeepPartial } from '../typings'; import breakpoints from './assets/breakpoints.json'; import opacity from './assets/opacity.json'; import palette from './assets/palette.light.json'; import radius from './assets/radius.json'; import shape from './assets/shape.json'; import zIndex from './assets/zIndex.json'; import { RcTypographyType } from './typography.type'; import { DefaultTheme } from './DefaultTheme'; /** inner for make `(DefaultTheme & ForExtendTheme)['palette']` work with ts */ declare type ForExtendTheme = { palette: {}; }; export declare type RcPalette = typeof palette & (DefaultTheme & ForExtendTheme)['palette'] & MuiTheme['palette']; export declare type RcPaletteColor = Omit; declare type Opacity = typeof opacity; declare type Radius = typeof radius; declare type ZIndex = typeof zIndex & MuiTheme['zIndex']; declare type Shape = typeof shape; declare type Breakpoints = typeof breakpoints; export declare type RcTheme = { palette: RcPalette; typography: RcTypographyType; opacity: Opacity; radius: Radius; zIndex: ZIndex; shape: Shape; breakpoints: Breakpoints; } & Omit & DefaultTheme & { props?: { RcAccordion?: RcAccordionProps; RcAccordionDetails?: RcAccordionDetailsProps; RcAccordionSummary?: RcAccordionSummaryProps; RcAlert?: RcAlertProps; RcAppBar?: RcAppBarProps; RcAvatar?: RcAvatarProps; RcBackdrop?: RcBackdropProps; RcBadge?: RcBadgeProps; RcBox?: RcBoxProps; RcButton?: RcButtonProps; RcButtonGroup?: RcButtonGroupProps; RcIconButton?: RcIconButtonProps; RcIconButtonGroup?: RcIconButtonGroupProps; RcSplitButton?: RcSplitButtonProps; RcToggleButton?: RcToggleButtonProps; RcToggleButtonGroup?: RcToggleButtonGroupProps; RcCard?: RcCardProps; RcCardActionArea?: RcCardActionAreaProps; RcCardActions?: RcCardActionsProps; RcCardContent?: RcCardContentProps; RcCardHeader?: RcCardHeaderProps; RcCardHoverActions?: RcCardHoverActionsProps; RcCardMedia?: RcCardMediaProps; RcCardSelectionArea?: RcCardSelectionAreaProps; RcChip?: RcChipProps; RcDetachedWindow?: RcDetachedWindowProps; RcDialer?: RcDialerProps; RcDialDelete?: RcDialDeleteProps; RcDialPad?: RcDialPadProps; RcDialTextField?: RcDialTextFieldProps; RcDialog?: RcDialogProps; RcDialogActions?: RcDialogActionsProps; RcDialogContent?: RcDialogContentProps; RcDialogContentText?: RcDialogContentTextProps; RcDialogTitle?: RcDialogTitleProps; RcDivider?: RcDividerProps; RcDragDropContext?: RcDragDropContextProps; RcDraggable?: RcDraggableProps; RcDragHandle?: RcDragHandleProps; RcDroppable?: RcDroppableProps; RcDownshift?: RcDownshiftProps; RcSuggestionList?: RcSuggestionListProps; RcDrawer?: RcDrawerProps; RcHighlight?: RcHighlightProps; RcCheckbox?: RcCheckboxProps; RcForm?: RcFormProps; RcFormControlLabel?: RcFormControlLabelProps; RcFormControl?: RcFormControlProps; RcFormGroup?: RcFormGroupProps; RcFormHelperText?: RcFormHelperTextProps; RcFormLabel?: RcFormLabelProps; RcInputLabel?: RcInputLabelProps; RcDatePicker?: RcDatePickerProps; RcTimePicker?: RcTimePickerProps; RcRadio?: RcRadioProps; RcRadioGroup?: RcRadioGroupProps; RcSelect?: RcSelectProps; RcSlider?: RcSliderProps; RcSwitch?: RcSwitchProps; RcTextarea?: RcTextareaProps; RcTextField?: RcTextFieldProps; RcGrid?: RcGridProps; RcIcon?: RcIconProps; RcInlineEditable?: RcInlineEditableProps; RcLink?: RcLinkProps; RcList?: RcListProps; RcListItem?: RcListItemProps; RcListItemAvatar?: RcListItemAvatarProps; RcListItemIcon?: RcListItemIconProps; RcListItemSecondaryAction?: RcListItemSecondaryActionProps; RcListItemText?: RcListItemTextProps; RcListSubheader?: RcListSubheaderProps; RcLoading?: RcLoadingProps; RcMenu?: RcMenuProps; RcMenuItem?: RcMenuItemProps; RcMenuList?: RcMenuListProps; RcSubMenu?: RcSubMenuProps; RcPagination?: RcPaginationProps; RcPaginationItem?: RcPaginationItemProps; RcPaper?: RcPaperProps; RcPopover?: RcPopoverProps; RcPopper?: RcPopperProps; RcPopupBox?: RcPopupBoxProps; RcPortal?: RcPortalProps; RcPresence?: RcPresenceProps; RcCircularProgress?: RcCircularProgressProps; RcLinearProgress?: RcLinearProgressProps; RcRating?: RcRatingProps; RcResponsive?: RcResponsiveProps; RcSnackbar?: RcSnackbarProps; RcSnackbarAction?: RcSnackbarActionProps; RcSnackbarContent?: RcSnackbarContentProps; RcStep?: RcStepProps; RcStepButton?: RcStepButtonProps; RcStepConnector?: RcStepConnectorProps; RcStepIcon?: RcStepIconProps; RcStepLabel?: RcStepLabelProps; RcStepper?: RcStepperProps; RcTablePagination?: RcTablePaginationProps; RcTableBody?: RcTableBodyProps; RcTableCell?: RcTableCellProps; RcTableContainer?: RcTableContainerProps; RcTableHead?: RcTableHeadProps; RcTable?: RcTableProps; RcTableRow?: RcTableRowProps; RcTab?: RcTabProps; RcTabList?: RcTabListProps; RcTabPanel?: RcTabPanelProps; RcTabs?: RcTabsProps; RcTag?: RcTagProps; RcText?: RcTextProps; RcThumbnail?: RcThumbnailProps; RcToolbar?: RcToolbarProps; RcTooltip?: RcTooltipProps; RcCollapse?: RcCollapseProps; RcFade?: RcFadeProps; RcGrow?: RcGrowProps; RcSlide?: RcSlideProps; RcZoom?: RcZoomProps; RcZoomFrom?: RcZoomFromProps; RcZoomInFadeOut?: RcZoomInFadeOutProps; RcTypography?: RcTypographyProps; RcVirtualizedDivider?: RcVirtualizedDividerProps; RcVirtualizedMenu?: RcVirtualizedMenuProps; RcVirtualizedMenuList?: RcVirtualizedMenuListProps; }; }; export declare type RcComponentsProps = NonNullable; export declare type RcThemeProps = { theme: RcTheme; }; export declare type RcThemedStyled any> = (props: ThemedStyledProps) => K; export declare type RcThemeInput = DeepPartial>; export {};