@@ -7,21 +7,23 @@ import { DistributiveOmit } from '@mui/types';
77
88export { default as THEME_ID } from '../styles/identifier' ;
99export {
10+ default as createTheme ,
11+ } from './createTheme' ;
12+ export type {
1013 // New types for augmenting the Theme Components
1114 CreateThemeComponent ,
1215 ThemeComponents ,
1316 // =============================================
14- default as createTheme ,
1517 ThemeOptions ,
1618 Theme ,
1719 CssThemeVariables ,
1820 CssVarsThemeOptions ,
1921 BaseTheme ,
2022} from './createTheme' ;
2123export { default as unstable_createMuiStrictModeTheme } from './createMuiStrictModeTheme' ;
22- export { Shadows } from '../styles/shadows' ;
23- export { ZIndex } from '../styles/zIndex' ;
24- export {
24+ export type { Shadows } from '../styles/shadows' ;
25+ export type { ZIndex } from '../styles/zIndex' ;
26+ export type {
2527 CommonColors ,
2628 Palette ,
2729 PaletteColor ,
@@ -36,23 +38,25 @@ export {
3638} from '../styles/createPalette' ;
3739export { default as createColorScheme } from './createColorScheme' ;
3840export { default as createStyles } from '../styles/createStyles' ;
39- export {
41+ export type {
4042 TypographyVariants ,
4143 TypographyVariantsOptions ,
4244 TypographyStyle ,
4345 TypographyVariant ,
4446} from '../styles/createTypography' ;
4547export { default as responsiveFontSizes } from '../styles/responsiveFontSizes' ;
46- export {
48+ export type {
4749 Duration ,
4850 Easing ,
4951 Transitions ,
5052 TransitionsOptions ,
53+ } from '../styles/createTransitions' ;
54+ export {
5155 duration ,
5256 easing ,
5357} from '../styles/createTransitions' ;
54- export { Mixins , CSSProperties , MixinsOptions } from '../styles/createMixins' ;
55- export {
58+ export type { Mixins , CSSProperties , MixinsOptions } from '../styles/createMixins' ;
59+ export type {
5660 Direction ,
5761 Breakpoint ,
5862 BreakpointOverrides ,
@@ -62,6 +66,11 @@ export {
6266 Interpolation ,
6367 CSSInterpolation ,
6468 CSSObject ,
69+ ColorFormat ,
70+ ColorObject ,
71+ SxProps ,
72+ } from '@mui/system' ;
73+ export {
6574 css ,
6675 keyframes ,
6776 // color manipulators
@@ -76,17 +85,15 @@ export {
7685 alpha ,
7786 darken ,
7887 lighten ,
79- ColorFormat ,
80- ColorObject ,
8188 StyledEngineProvider ,
82- SxProps ,
8389} from '@mui/system' ;
8490export { unstable_createBreakpoints } from '@mui/system/createBreakpoints' ;
8591export { default as useTheme } from './useTheme' ;
8692export { default as useThemeProps } from './useThemeProps' ;
8793export * from './useThemeProps' ;
8894export { default as styled } from './styled' ;
89- export { default as ThemeProvider , ThemeProviderProps } from './ThemeProvider' ;
95+ export { default as ThemeProvider } from './ThemeProvider' ;
96+ export type { ThemeProviderProps } from './ThemeProvider' ;
9097export { getUnit as unstable_getUnit , toUnitless as unstable_toUnitless } from '../styles/cssUtils' ;
9198
9299export type ClassNameMap < ClassKey extends string = string > = Record < ClassKey , string > ;
0 commit comments