142 lines
3.8 KiB
TypeScript
142 lines
3.8 KiB
TypeScript
export { default as THEME_ID } from './identifier';
|
|
export {
|
|
default as createTheme,
|
|
default as unstable_createMuiStrictModeTheme,
|
|
createMuiTheme,
|
|
ThemeOptions,
|
|
Theme,
|
|
} from './createTheme';
|
|
export { default as adaptV4Theme, DeprecatedThemeOptions } from './adaptV4Theme';
|
|
export { Shadows } from './shadows';
|
|
export { ZIndex } from './zIndex';
|
|
export {
|
|
CommonColors,
|
|
Palette,
|
|
PaletteColor,
|
|
PaletteColorOptions,
|
|
PaletteOptions,
|
|
SimplePaletteColorOptions,
|
|
TypeText,
|
|
TypeAction,
|
|
TypeBackground,
|
|
} from './createPalette';
|
|
export { default as createStyles } from './createStyles';
|
|
export {
|
|
Typography as TypographyVariants,
|
|
TypographyOptions as TypographyVariantsOptions,
|
|
TypographyStyle,
|
|
Variant as TypographyVariant,
|
|
} from './createTypography';
|
|
export { default as responsiveFontSizes } from './responsiveFontSizes';
|
|
export {
|
|
Duration,
|
|
Easing,
|
|
Transitions,
|
|
TransitionsOptions,
|
|
duration,
|
|
easing,
|
|
} from './createTransitions';
|
|
export { Mixins } from './createMixins';
|
|
export {
|
|
Direction,
|
|
Breakpoint,
|
|
BreakpointOverrides,
|
|
Breakpoints,
|
|
BreakpointsOptions,
|
|
CreateMUIStyled,
|
|
Interpolation,
|
|
CSSInterpolation,
|
|
CSSObject,
|
|
css,
|
|
keyframes,
|
|
// color manipulators
|
|
hexToRgb,
|
|
rgbToHex,
|
|
hslToRgb,
|
|
decomposeColor,
|
|
recomposeColor,
|
|
getContrastRatio,
|
|
getLuminance,
|
|
emphasize,
|
|
alpha,
|
|
darken,
|
|
lighten,
|
|
ColorFormat,
|
|
ColorObject,
|
|
StyledEngineProvider,
|
|
SxProps,
|
|
} from '@mui/system';
|
|
// TODO: Remove this function in v6.
|
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
export function experimental_sx(): any;
|
|
export { default as useTheme } from './useTheme';
|
|
export { default as useThemeProps } from './useThemeProps';
|
|
export * from './useThemeProps';
|
|
export { default as styled } from './styled';
|
|
/**
|
|
* @deprecated will be removed in v5.beta, please use styled from @mui/material/styles instead
|
|
*/
|
|
export { default as experimentalStyled } from './styled';
|
|
export { default as ThemeProvider } from './ThemeProvider';
|
|
export { ComponentsProps, ComponentsPropsList } from './props';
|
|
export { ComponentsVariants } from './variants';
|
|
export { ComponentsOverrides, ComponentNameToClassKey } from './overrides';
|
|
export { Components } from './components';
|
|
export { getUnit as unstable_getUnit, toUnitless as unstable_toUnitless } from './cssUtils';
|
|
|
|
export type ClassNameMap<ClassKey extends string = string> = Record<ClassKey, string>;
|
|
|
|
export interface StyledComponentProps<ClassKey extends string = string> {
|
|
/**
|
|
* Override or extend the styles applied to the component.
|
|
*/
|
|
classes?: Partial<ClassNameMap<ClassKey>>;
|
|
}
|
|
|
|
export { default as makeStyles } from './makeStyles';
|
|
export { default as withStyles } from './withStyles';
|
|
export { default as withTheme } from './withTheme';
|
|
|
|
export * from './CssVarsProvider';
|
|
|
|
export { default as experimental_extendTheme } from './experimental_extendTheme';
|
|
export type {
|
|
ColorSchemeOverrides,
|
|
SupportedColorScheme,
|
|
ColorSystem,
|
|
CssVarsPalette,
|
|
Opacity,
|
|
Overlays,
|
|
PaletteAlert,
|
|
PaletteActionChannel,
|
|
PaletteAppBar,
|
|
PaletteAvatar,
|
|
PaletteChip,
|
|
PaletteColorChannel,
|
|
PaletteCommonChannel,
|
|
PaletteFilledInput,
|
|
PaletteLinearProgress,
|
|
PaletteSkeleton,
|
|
PaletteSlider,
|
|
PaletteSnackbarContent,
|
|
PaletteSpeedDialAction,
|
|
PaletteStepConnector,
|
|
PaletteStepContent,
|
|
PaletteSwitch,
|
|
PaletteTableCell,
|
|
PaletteTextChannel,
|
|
PaletteTooltip,
|
|
CssVarsThemeOptions,
|
|
CssVarsTheme,
|
|
ThemeVars,
|
|
ThemeCssVar,
|
|
ThemeCssVarOverrides,
|
|
ColorSystemOptions,
|
|
} from './experimental_extendTheme';
|
|
export { default as getOverlayAlpha } from './getOverlayAlpha';
|
|
export { default as shouldSkipGeneratingVar } from './shouldSkipGeneratingVar';
|
|
|
|
// Private methods for creating parts of the theme
|
|
export { default as private_createTypography } from './createTypography';
|
|
export { default as private_excludeVariablesFromRoot } from './excludeVariablesFromRoot';
|