From ac45497e1eba614e337e8be47970e06f6ceb27bb Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Sat, 31 Dec 2022 16:47:46 +0100 Subject: [PATCH] theme: rename compat -> unified Signed-off-by: Patrik Oldsberg --- packages/theme/src/index.ts | 2 +- packages/theme/src/{compat => unified}/UnifiedTheme.tsx | 0 packages/theme/src/{compat => unified}/UnifiedThemeProvider.tsx | 0 packages/theme/src/{compat => unified}/index.ts | 0 packages/theme/src/{compat => unified}/overrides.test.ts | 0 packages/theme/src/{compat => unified}/overrides.ts | 0 packages/theme/src/{compat => unified}/themes.ts | 0 packages/theme/src/{compat => unified}/types.ts | 0 packages/theme/src/v4/baseTheme.ts | 2 +- 9 files changed, 2 insertions(+), 2 deletions(-) rename packages/theme/src/{compat => unified}/UnifiedTheme.tsx (100%) rename packages/theme/src/{compat => unified}/UnifiedThemeProvider.tsx (100%) rename packages/theme/src/{compat => unified}/index.ts (100%) rename packages/theme/src/{compat => unified}/overrides.test.ts (100%) rename packages/theme/src/{compat => unified}/overrides.ts (100%) rename packages/theme/src/{compat => unified}/themes.ts (100%) rename packages/theme/src/{compat => unified}/types.ts (100%) diff --git a/packages/theme/src/index.ts b/packages/theme/src/index.ts index 55bcf3beaa..b0e3590273 100644 --- a/packages/theme/src/index.ts +++ b/packages/theme/src/index.ts @@ -20,7 +20,7 @@ * @packageDocumentation */ -export * from './compat'; +export * from './unified'; export * from './base'; export * from './v4'; export * from './v5'; diff --git a/packages/theme/src/compat/UnifiedTheme.tsx b/packages/theme/src/unified/UnifiedTheme.tsx similarity index 100% rename from packages/theme/src/compat/UnifiedTheme.tsx rename to packages/theme/src/unified/UnifiedTheme.tsx diff --git a/packages/theme/src/compat/UnifiedThemeProvider.tsx b/packages/theme/src/unified/UnifiedThemeProvider.tsx similarity index 100% rename from packages/theme/src/compat/UnifiedThemeProvider.tsx rename to packages/theme/src/unified/UnifiedThemeProvider.tsx diff --git a/packages/theme/src/compat/index.ts b/packages/theme/src/unified/index.ts similarity index 100% rename from packages/theme/src/compat/index.ts rename to packages/theme/src/unified/index.ts diff --git a/packages/theme/src/compat/overrides.test.ts b/packages/theme/src/unified/overrides.test.ts similarity index 100% rename from packages/theme/src/compat/overrides.test.ts rename to packages/theme/src/unified/overrides.test.ts diff --git a/packages/theme/src/compat/overrides.ts b/packages/theme/src/unified/overrides.ts similarity index 100% rename from packages/theme/src/compat/overrides.ts rename to packages/theme/src/unified/overrides.ts diff --git a/packages/theme/src/compat/themes.ts b/packages/theme/src/unified/themes.ts similarity index 100% rename from packages/theme/src/compat/themes.ts rename to packages/theme/src/unified/themes.ts diff --git a/packages/theme/src/compat/types.ts b/packages/theme/src/unified/types.ts similarity index 100% rename from packages/theme/src/compat/types.ts rename to packages/theme/src/unified/types.ts diff --git a/packages/theme/src/v4/baseTheme.ts b/packages/theme/src/v4/baseTheme.ts index 2349cfb13b..411bcdf9a8 100644 --- a/packages/theme/src/v4/baseTheme.ts +++ b/packages/theme/src/v4/baseTheme.ts @@ -21,7 +21,7 @@ import { Overrides } from '@material-ui/core/styles/overrides'; import { SimpleThemeOptions } from './types'; import { createBaseThemeOptions } from '../base'; import { defaultComponentThemes } from '../v5'; -import { transformV5ComponentThemesToV4 } from '../compat/overrides'; +import { transformV5ComponentThemesToV4 } from '../unified/overrides'; /** * An old helper for creating MUI v4 theme options.