-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
/
Copy pathindex.d.ts
85 lines (82 loc) · 2.28 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
export {
default as createTheme,
default as unstable_createMuiStrictModeTheme,
createMuiTheme,
ThemeOptions,
Theme,
} from './createTheme';
export { default as adaptV4Theme, DeprecatedThemeOptions } from './adaptV4Theme';
export {
Palette,
PaletteColor,
PaletteColorOptions,
PaletteOptions,
SimplePaletteColorOptions,
} 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 {
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,
} from '@mui/system';
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 { StyledEngineProvider } from '@mui/system';
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';