diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index 56e443414a77d7..b5739bdfeab878 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -28,7 +28,6 @@ "@mui/styled-engine-sc": "packages/mui-styled-engine-sc/build", "@mui/system": "packages/mui-system/build", "@mui/private-theming": "packages/mui-private-theming/build", - "@mui/private-classnames": "packages/mui-private-classnames/build", "@mui/types": "packages/mui-types/build", "@mui/utils": "packages/mui-utils/build", "@mui/base": "packages/mui-base/build", diff --git a/babel.config.js b/babel.config.js index eb4564898f6525..6a0a54d455f095 100644 --- a/babel.config.js +++ b/babel.config.js @@ -18,7 +18,6 @@ const defaultAlias = { '@mui/styles': resolveAliasPath('./packages/mui-styles/src'), '@mui/system': resolveAliasPath('./packages/mui-system/src'), '@mui/private-theming': resolveAliasPath('./packages/mui-private-theming/src'), - '@mui/private-classnames': resolveAliasPath('./packages/mui-private-classnames/src'), '@mui/base': resolveAliasPath('./packages/mui-base/src'), '@mui/utils': resolveAliasPath('./packages/mui-utils/src'), '@mui/material-next': resolveAliasPath('./packages/mui-material-next/src'), diff --git a/docs/babel.config.js b/docs/babel.config.js index 653356009027eb..10e5cba9e03e5c 100644 --- a/docs/babel.config.js +++ b/docs/babel.config.js @@ -25,7 +25,6 @@ const alias = { // '@mui/styled-engine': '../packages/mui-styled-engine-sc/src', '@mui/system': '../packages/mui-system/src', '@mui/private-theming': '../packages/mui-private-theming/src', - '@mui/private-classnames': '../packages/mui-private-classnames/src', '@mui/utils': '../packages/mui-utils/src', '@mui/base': '../packages/mui-base/src', '@mui/material-next': '../packages/mui-material-next/src', diff --git a/docs/next.config.js b/docs/next.config.js index 94f2c8bf8626fa..957610f1227de8 100644 --- a/docs/next.config.js +++ b/docs/next.config.js @@ -137,7 +137,6 @@ module.exports = { '@mui/styles': '../packages/mui-styles/src', '@mui/system': '../packages/mui-system/src', '@mui/private-theming': '../packages/mui-private-theming/src', - '@mui/private-classnames': '../packages/mui-private-classnames/src', '@mui/utils': '../packages/mui-utils/src', '@mui/base': '../packages/mui-base/src', '@mui/material-next': '../packages/mui-material-next/src', diff --git a/docs/src/modules/utils/helpers.ts b/docs/src/modules/utils/helpers.ts index 7c271fe80f6d4d..29f08319059b2a 100644 --- a/docs/src/modules/utils/helpers.ts +++ b/docs/src/modules/utils/helpers.ts @@ -169,7 +169,6 @@ export function getDependencies( '@mui/styles': getMuiPackageVersion('styles', muiCommitRef), '@mui/system': getMuiPackageVersion('system', muiCommitRef), '@mui/private-theming': getMuiPackageVersion('theming', muiCommitRef), - '@mui/private-classnames': getMuiPackageVersion('classnames', muiCommitRef), '@mui/base': getMuiPackageVersion('base', muiCommitRef), '@mui/utils': getMuiPackageVersion('utils', muiCommitRef), '@mui/material-next': getMuiPackageVersion('material-next', muiCommitRef), diff --git a/packages/mui-base/package.json b/packages/mui-base/package.json index 42ac9fd4cfae40..8a96b557405a3b 100644 --- a/packages/mui-base/package.json +++ b/packages/mui-base/package.json @@ -53,7 +53,6 @@ "dependencies": { "@babel/runtime": "^7.17.2", "@emotion/is-prop-valid": "^1.1.2", - "@mui/private-classnames": "^5.7.0", "@mui/types": "^7.1.3", "@mui/utils": "^5.7.0", "@popperjs/core": "^2.11.5", diff --git a/packages/mui-base/src/className/index.ts b/packages/mui-base/src/className/index.ts index c4c756777ff267..30ab5fea27cdef 100644 --- a/packages/mui-base/src/className/index.ts +++ b/packages/mui-base/src/className/index.ts @@ -1,2 +1,2 @@ // eslint-disable-next-line import/prefer-default-export -export { unstable_ClassNameGenerator } from '@mui/private-classnames'; +export { unstable_ClassNameGenerator } from '@mui/utils'; diff --git a/packages/mui-base/src/composeClasses/index.ts b/packages/mui-base/src/composeClasses/index.ts index 6f85c85eaaaf21..f42d6324769fb9 100644 --- a/packages/mui-base/src/composeClasses/index.ts +++ b/packages/mui-base/src/composeClasses/index.ts @@ -1 +1 @@ -export { unstable_composeClasses as default } from '@mui/private-classnames'; +export { unstable_composeClasses as default } from '@mui/utils'; diff --git a/packages/mui-base/src/generateUtilityClass/index.ts b/packages/mui-base/src/generateUtilityClass/index.ts index a3f20ff03a1bf3..19bb1127412e87 100644 --- a/packages/mui-base/src/generateUtilityClass/index.ts +++ b/packages/mui-base/src/generateUtilityClass/index.ts @@ -1,2 +1,2 @@ -export { generateUtilityClass as default } from '@mui/private-classnames'; -export type { GlobalStateSlot } from '@mui/private-classnames'; +export { unstable_generateUtilityClass as default } from '@mui/utils'; +export type { GlobalStateSlot } from '@mui/utils'; diff --git a/packages/mui-base/src/generateUtilityClasses/index.ts b/packages/mui-base/src/generateUtilityClasses/index.ts index d76af6edb5ebeb..cc94914f4095da 100644 --- a/packages/mui-base/src/generateUtilityClasses/index.ts +++ b/packages/mui-base/src/generateUtilityClasses/index.ts @@ -1 +1 @@ -export { generateUtilityClasses as default } from '@mui/private-classnames'; +export { unstable_generateUtilityClasses as default } from '@mui/utils'; diff --git a/packages/mui-base/tsconfig.build.json b/packages/mui-base/tsconfig.build.json index 3b375ebf5e89fb..a45de38c5d2fd4 100644 --- a/packages/mui-base/tsconfig.build.json +++ b/packages/mui-base/tsconfig.build.json @@ -11,6 +11,5 @@ "rootDir": "./src" }, "include": ["src/**/*.ts*"], - "exclude": ["src/**/*.spec.ts*", "src/**/*.test.ts*"], - "references": [{ "path": "../mui-private-classnames/tsconfig.build.json" }] + "exclude": ["src/**/*.spec.ts*", "src/**/*.test.ts*"] } diff --git a/packages/mui-material/package.json b/packages/mui-material/package.json index 5c18871658b2ee..72c91be770be01 100644 --- a/packages/mui-material/package.json +++ b/packages/mui-material/package.json @@ -62,7 +62,6 @@ "dependencies": { "@babel/runtime": "^7.17.2", "@mui/base": "5.0.0-alpha.80", - "@mui/private-classnames": "^5.7.0", "@mui/system": "^5.7.0", "@mui/types": "^7.1.3", "@mui/utils": "^5.7.0", diff --git a/packages/mui-material/scripts/rollup.config.js b/packages/mui-material/scripts/rollup.config.js index f99d87da5749b6..baf67d692ca589 100644 --- a/packages/mui-material/scripts/rollup.config.js +++ b/packages/mui-material/scripts/rollup.config.js @@ -102,10 +102,6 @@ const nestedFolder = { return resolveNestedImport('mui-private-theming', importee); } - if (importee.indexOf('@mui/private-classnames/') === 0) { - return resolveNestedImport('mui-private-classnames', importee); - } - if (importee.indexOf('@mui/styled-engine/') === 0) { return resolveNestedImport('mui-styled-engine', importee); } diff --git a/packages/mui-material/src/className/index.ts b/packages/mui-material/src/className/index.ts index c4c756777ff267..30ab5fea27cdef 100644 --- a/packages/mui-material/src/className/index.ts +++ b/packages/mui-material/src/className/index.ts @@ -1,2 +1,2 @@ // eslint-disable-next-line import/prefer-default-export -export { unstable_ClassNameGenerator } from '@mui/private-classnames'; +export { unstable_ClassNameGenerator } from '@mui/utils'; diff --git a/packages/mui-private-classnames/README.md b/packages/mui-private-classnames/README.md deleted file mode 100644 index c8cbb9ef392196..00000000000000 --- a/packages/mui-private-classnames/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# @mui/private-classnames - -React classnames utils used internally in the other MUI component libraries packages. diff --git a/packages/mui-private-classnames/package.json b/packages/mui-private-classnames/package.json deleted file mode 100644 index 01e4bedcb74d1a..00000000000000 --- a/packages/mui-private-classnames/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "@mui/private-classnames", - "version": "5.7.0", - "private": false, - "author": "MUI Team", - "description": "Private - React classnames utils used internally in the other MUI component libraries packages.", - "main": "./src/index.js", - "keywords": [ - "classnames", - "mui" - ], - "repository": { - "type": "git", - "url": "https://github.com/mui/material-ui.git", - "directory": "packages/mui-private-classnames" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/mui/material-ui/issues" - }, - "homepage": "https://mui.com/", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mui" - }, - "scripts": { - "build": "yarn build:legacy && yarn build:modern && yarn build:node && yarn build:stable && yarn build:types && yarn build:copy-files", - "build:legacy": "node ../../scripts/build legacy", - "build:modern": "node ../../scripts/build modern", - "build:node": "node ../../scripts/build node", - "build:stable": "node ../../scripts/build stable", - "build:copy-files": "node ../../scripts/copy-files.js", - "build:types": "node ../../scripts/buildTypes", - "prebuild": "rimraf build tsconfig.build.tsbuildinfo", - "release": "yarn build && npm publish build", - "test": "cd ../../ && cross-env NODE_ENV=test mocha 'packages/mui-private-classnames/**/*.test.{js,ts,tsx}'", - "typescript": "tslint -p tsconfig.json \"{src,test}/**/*.{spec,d}.{ts,tsx}\" && tsc -p tsconfig.json" - }, - "sideEffects": false, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=12.0.0" - } -} diff --git a/packages/mui-private-classnames/src/index.d.ts b/packages/mui-private-classnames/src/index.d.ts deleted file mode 100644 index 090856a548a230..00000000000000 --- a/packages/mui-private-classnames/src/index.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -export { default as unstable_composeClasses } from './composeClasses'; -export * from './composeClasses'; - -export { default as generateUtilityClass } from './generateUtilityClass'; -export * from './generateUtilityClass'; - -export { default as generateUtilityClasses } from './generateUtilityClasses'; -export * from './generateUtilityClasses'; - -export { default as unstable_ClassNameGenerator } from './ClassNameGenerator'; -export * from './ClassNameGenerator'; diff --git a/packages/mui-private-classnames/src/index.js b/packages/mui-private-classnames/src/index.js deleted file mode 100644 index 325aec03d241be..00000000000000 --- a/packages/mui-private-classnames/src/index.js +++ /dev/null @@ -1,4 +0,0 @@ -export { default as unstable_composeClasses } from './composeClasses'; -export { default as generateUtilityClass } from './generateUtilityClass'; -export { default as generateUtilityClasses } from './generateUtilityClasses'; -export { default as unstable_ClassNameGenerator } from './ClassNameGenerator'; diff --git a/packages/mui-private-classnames/tsconfig.build.json b/packages/mui-private-classnames/tsconfig.build.json deleted file mode 100644 index a45de38c5d2fd4..00000000000000 --- a/packages/mui-private-classnames/tsconfig.build.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - // This config is for emitting declarations (.d.ts) only - // Actual .ts source files are transpiled via babel - "extends": "./tsconfig", - "compilerOptions": { - "composite": true, - "declaration": true, - "noEmit": false, - "emitDeclarationOnly": true, - "outDir": "build", - "rootDir": "./src" - }, - "include": ["src/**/*.ts*"], - "exclude": ["src/**/*.spec.ts*", "src/**/*.test.ts*"] -} diff --git a/packages/mui-private-classnames/tsconfig.json b/packages/mui-private-classnames/tsconfig.json deleted file mode 100644 index 57220954971e1e..00000000000000 --- a/packages/mui-private-classnames/tsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../tsconfig", - "include": ["src/**/*", "test/**/*"] -} diff --git a/packages/mui-system/src/Container/containerClasses.ts b/packages/mui-system/src/Container/containerClasses.ts index 6b10ea28770c22..fc68f10115c6ad 100644 --- a/packages/mui-system/src/Container/containerClasses.ts +++ b/packages/mui-system/src/Container/containerClasses.ts @@ -1,4 +1,7 @@ -import { generateUtilityClass, generateUtilityClasses } from '@mui/private-classnames'; +import { + unstable_generateUtilityClass as generateUtilityClass, + unstable_generateUtilityClasses as generateUtilityClasses, +} from '@mui/utils'; export interface ContainerClasses { /** Styles applied to the root element. */ diff --git a/packages/mui-system/src/Container/createContainer.tsx b/packages/mui-system/src/Container/createContainer.tsx index b7af2a095bc5dd..05a9d6b5b9f5b9 100644 --- a/packages/mui-system/src/Container/createContainer.tsx +++ b/packages/mui-system/src/Container/createContainer.tsx @@ -2,12 +2,12 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { Interpolation, StyledComponent } from '@mui/styled-engine'; -import { unstable_capitalize as capitalize } from '@mui/utils'; import { OverridableComponent } from '@mui/types'; import { + unstable_capitalize as capitalize, unstable_composeClasses as composeClasses, - generateUtilityClass, -} from '@mui/private-classnames'; + unstable_generateUtilityClass as generateUtilityClass, +} from '@mui/utils'; import { ContainerProps, ContainerTypeMap } from './ContainerProps'; import useThemePropsSystem from '../useThemeProps'; import systemStyled from '../styled'; diff --git a/packages/mui-system/tsconfig.build.json b/packages/mui-system/tsconfig.build.json index 5412a24dd5d6a0..d591edd03a441a 100644 --- a/packages/mui-system/tsconfig.build.json +++ b/packages/mui-system/tsconfig.build.json @@ -11,6 +11,5 @@ "rootDir": "./src" }, "include": ["src/**/*.ts*"], - "exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"], - "references": [{ "path": "../mui-private-classnames/tsconfig.build.json" }] + "exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"] } diff --git a/packages/mui-utils/package.json b/packages/mui-utils/package.json index 7c0e21758f75e2..070071c5d91ce0 100644 --- a/packages/mui-utils/package.json +++ b/packages/mui-utils/package.json @@ -26,14 +26,14 @@ "url": "https://opencollective.com/mui" }, "scripts": { - "build": "yarn build:legacy && yarn build:modern && yarn build:node && yarn build:stable && yarn build:copy-files && yarn build:types", + "build": "yarn build:legacy && yarn build:modern && yarn build:node && yarn build:stable && yarn build:types && yarn build:copy-files", "build:legacy": "node ../../scripts/build legacy", "build:modern": "node ../../scripts/build modern", "build:node": "node ../../scripts/build node", "build:stable": "node ../../scripts/build stable", "build:copy-files": "node ../../scripts/copy-files.js", "build:types": "node ../../scripts/buildTypes", - "prebuild": "rimraf build", + "prebuild": "rimraf build tsconfig.build.tsbuildinfo", "release": "yarn build && npm publish build", "test": "cd ../../ && cross-env NODE_ENV=test mocha 'packages/mui-utils/**/*.test.{js,ts,tsx}'", "typescript": "tslint -p tsconfig.json \"{src,test}/**/*.{spec,d}.{ts,tsx}\" && tsc -p tsconfig.json" diff --git a/packages/mui-private-classnames/src/ClassNameGenerator/ClassNameGenerator.ts b/packages/mui-utils/src/ClassNameGenerator/ClassNameGenerator.ts similarity index 100% rename from packages/mui-private-classnames/src/ClassNameGenerator/ClassNameGenerator.ts rename to packages/mui-utils/src/ClassNameGenerator/ClassNameGenerator.ts diff --git a/packages/mui-private-classnames/src/ClassNameGenerator/index.ts b/packages/mui-utils/src/ClassNameGenerator/index.ts similarity index 100% rename from packages/mui-private-classnames/src/ClassNameGenerator/index.ts rename to packages/mui-utils/src/ClassNameGenerator/index.ts diff --git a/packages/mui-private-classnames/src/composeClasses/composeClasses.test.js b/packages/mui-utils/src/composeClasses/composeClasses.test.ts similarity index 98% rename from packages/mui-private-classnames/src/composeClasses/composeClasses.test.js rename to packages/mui-utils/src/composeClasses/composeClasses.test.ts index 9c7133623fdc70..61af819b25efc8 100644 --- a/packages/mui-private-classnames/src/composeClasses/composeClasses.test.js +++ b/packages/mui-utils/src/composeClasses/composeClasses.test.ts @@ -1,5 +1,5 @@ import { expect } from 'chai'; -import { unstable_composeClasses as composeClasses } from '@mui/private-classnames'; +import { unstable_composeClasses as composeClasses } from '@mui/utils'; describe('composeClasses', () => { it('should generate the classes based on the slots', () => { diff --git a/packages/mui-private-classnames/src/composeClasses/composeClasses.ts b/packages/mui-utils/src/composeClasses/composeClasses.ts similarity index 100% rename from packages/mui-private-classnames/src/composeClasses/composeClasses.ts rename to packages/mui-utils/src/composeClasses/composeClasses.ts diff --git a/packages/mui-private-classnames/src/composeClasses/index.ts b/packages/mui-utils/src/composeClasses/index.ts similarity index 100% rename from packages/mui-private-classnames/src/composeClasses/index.ts rename to packages/mui-utils/src/composeClasses/index.ts diff --git a/packages/mui-private-classnames/src/generateUtilityClass/generateUtilityClass.test.js b/packages/mui-utils/src/generateUtilityClass/generateUtilityClass.test.ts similarity index 91% rename from packages/mui-private-classnames/src/generateUtilityClass/generateUtilityClass.test.js rename to packages/mui-utils/src/generateUtilityClass/generateUtilityClass.test.ts index 5c65409670940e..ec4a28cb0b510b 100644 --- a/packages/mui-private-classnames/src/generateUtilityClass/generateUtilityClass.test.js +++ b/packages/mui-utils/src/generateUtilityClass/generateUtilityClass.test.ts @@ -1,8 +1,8 @@ import { expect } from 'chai'; import { - generateUtilityClass, + unstable_generateUtilityClass as generateUtilityClass, unstable_ClassNameGenerator as ClassNameGenerator, -} from '@mui/private-classnames'; +} from '@mui/utils'; describe('generateUtilityClass', () => { it('should generate the class correctly', () => { @@ -27,14 +27,14 @@ describe('generateUtilityClass', () => { }); it('able to set custom generator', () => { - const generator = (name) => `foo-bar-${name}`; + const generator = (name: string) => `foo-bar-${name}`; ClassNameGenerator.configure(generator); expect(generateUtilityClass('MuiTest', 'slot')).to.equal('foo-bar-MuiTest-slot'); }); it('does not affect state class', () => { - const generator = (name) => `foo-bar-${name}`; + const generator = (name: string) => `foo-bar-${name}`; ClassNameGenerator.configure(generator); expect(generateUtilityClass('MuiTest', 'active')).to.equal('Mui-active'); diff --git a/packages/mui-private-classnames/src/generateUtilityClass/generateUtilityClass.ts b/packages/mui-utils/src/generateUtilityClass/generateUtilityClass.ts similarity index 100% rename from packages/mui-private-classnames/src/generateUtilityClass/generateUtilityClass.ts rename to packages/mui-utils/src/generateUtilityClass/generateUtilityClass.ts diff --git a/packages/mui-private-classnames/src/generateUtilityClass/index.ts b/packages/mui-utils/src/generateUtilityClass/index.ts similarity index 100% rename from packages/mui-private-classnames/src/generateUtilityClass/index.ts rename to packages/mui-utils/src/generateUtilityClass/index.ts diff --git a/packages/mui-private-classnames/src/generateUtilityClasses/generateUtilityClasses.test.js b/packages/mui-utils/src/generateUtilityClasses/generateUtilityClasses.test.ts similarity index 91% rename from packages/mui-private-classnames/src/generateUtilityClasses/generateUtilityClasses.test.js rename to packages/mui-utils/src/generateUtilityClasses/generateUtilityClasses.test.ts index b6a0e9a596ee58..4dd812baaf3571 100644 --- a/packages/mui-private-classnames/src/generateUtilityClasses/generateUtilityClasses.test.js +++ b/packages/mui-utils/src/generateUtilityClasses/generateUtilityClasses.test.ts @@ -1,5 +1,5 @@ import { expect } from 'chai'; -import { generateUtilityClasses } from '@mui/private-classnames'; +import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils'; describe('generateUtilityClasses', () => { it('should generate the classes correctly', () => { diff --git a/packages/mui-private-classnames/src/generateUtilityClasses/generateUtilityClasses.ts b/packages/mui-utils/src/generateUtilityClasses/generateUtilityClasses.ts similarity index 100% rename from packages/mui-private-classnames/src/generateUtilityClasses/generateUtilityClasses.ts rename to packages/mui-utils/src/generateUtilityClasses/generateUtilityClasses.ts diff --git a/packages/mui-private-classnames/src/generateUtilityClasses/index.ts b/packages/mui-utils/src/generateUtilityClasses/index.ts similarity index 100% rename from packages/mui-private-classnames/src/generateUtilityClasses/index.ts rename to packages/mui-utils/src/generateUtilityClasses/index.ts diff --git a/packages/mui-utils/src/index.ts b/packages/mui-utils/src/index.ts index 30ac8b832caf1d..8def5d5daa2f00 100644 --- a/packages/mui-utils/src/index.ts +++ b/packages/mui-utils/src/index.ts @@ -34,3 +34,8 @@ export { default as usePreviousProps } from './usePreviousProps'; export { default as visuallyHidden } from './visuallyHidden'; export { default as integerPropType } from './integerPropType'; export { default as internal_resolveProps } from './resolveProps'; +export { default as unstable_composeClasses } from './composeClasses'; +export { default as unstable_generateUtilityClass } from './generateUtilityClass'; +export * from './generateUtilityClass'; +export { default as unstable_generateUtilityClasses } from './generateUtilityClasses'; +export { default as unstable_ClassNameGenerator } from './ClassNameGenerator'; diff --git a/scripts/sizeSnapshot/webpack.config.js b/scripts/sizeSnapshot/webpack.config.js index 19a1299f9504f4..fe935fd850052a 100644 --- a/scripts/sizeSnapshot/webpack.config.js +++ b/scripts/sizeSnapshot/webpack.config.js @@ -216,10 +216,6 @@ function createWebpackConfig(entry, environment) { '@mui/styles': path.join(workspaceRoot, 'packages/mui-styles/build'), '@mui/system': path.join(workspaceRoot, 'packages/mui-system/build'), '@mui/private-theming': path.join(workspaceRoot, 'packages/mui-private-theming/build'), - '@mui/private-classnames': path.join( - workspaceRoot, - 'packages/mui-private-classnames/build', - ), '@mui/utils': path.join(workspaceRoot, 'packages/mui-utils/build'), '@mui/base': path.join(workspaceRoot, 'packages/mui-base/build'), '@mui/material-next': path.join(workspaceRoot, 'packages/mui-material-next/build'), diff --git a/test/karma.conf.js b/test/karma.conf.js index 6fb8c01f2a8c23..10a1c1b6b10f3f 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -156,7 +156,6 @@ module.exports = function setKarmaConfig(config) { '@mui/styles': './packages/mui-styles/src', '@mui/system': './packages/mui-system/src', '@mui/private-theming': './packages/mui-private-theming/src', - '@mui/private-classnames': './packages/mui-private-classnames/src', '@mui/utils': './packages/mui-utils/src', '@mui/base': './packages/mui-base/src', '@mui/material-next': './packages/mui-material-next/src', diff --git a/tsconfig.json b/tsconfig.json index a61b20607acd9d..d37353239f3796 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -28,8 +28,6 @@ "@mui/system": ["./packages/mui-system/src"], "@mui/private-theming": ["./packages/mui-private-theming/src"], "@mui/private-theming/*": ["./packages/mui-private-theming/src/*"], - "@mui/private-classnames": ["./packages/mui-private-classnames/src"], - "@mui/private-classnames/*": ["./packages/mui-private-classnames/src/*"], "@mui/types": ["./packages/mui-types"], "@mui/base": ["./packages/mui-base/src"], "@mui/base/*": ["./packages/mui-base/src/*"], diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js index 57aff1f9e24d34..a12b5c108f60e0 100644 --- a/webpackBaseConfig.js +++ b/webpackBaseConfig.js @@ -18,7 +18,6 @@ module.exports = { '@mui/styles': path.resolve(__dirname, './packages/mui-styles/src'), '@mui/system': path.resolve(__dirname, './packages/mui-system/src'), '@mui/private-theming': path.resolve(__dirname, './packages/mui-private-theming/src'), - '@mui/private-classnames': path.resolve(__dirname, './packages/mui-private-classnames/src'), '@mui/base': path.resolve(__dirname, './packages/mui-base/src'), '@mui/utils': path.resolve(__dirname, './packages/mui-utils/src'), '@mui/material-next': path.resolve(__dirname, './packages/mui-material-next/src'),