diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index 4b729cfbbfff81..6cf4af05110b09 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -3,6 +3,8 @@ "installCommand": "install:codesandbox", "node": "18", "packages": [ + "packages/docs-utils", + "packages/mui-babel-macros", "packages/mui-base", "packages/mui-codemod", "packages/mui-core-downloads-tracker", @@ -19,7 +21,6 @@ "packages/mui-system", "packages/mui-types", "packages/mui-utils", - "packages/docs-utils", "packages-internal/scripts" ], "publishDirectory": { @@ -27,20 +28,21 @@ "@mui/codemod": "packages/mui-codemod/build", "@mui/core-downloads-tracker": "packages/mui-core-downloads-tracker/build", "@mui/icons-material": "packages/mui-icons-material/build", + "@mui/internal-babel-macros": "packages/mui-babel-macros", + "@mui/internal-scripts": "packages-internal/scripts", "@mui/joy": "packages/mui-joy/build", "@mui/lab": "packages/mui-lab/build", "@mui/material-next": "packages/mui-material-next/build", "@mui/material-nextjs": "packages/mui-material-nextjs/build", "@mui/material": "packages/mui-material/build", "@mui/private-theming": "packages/mui-private-theming/build", - "@mui/styled-engine-sc": "packages/mui-styled-engine-sc/build", "@mui/styled-engine": "packages/mui-styled-engine/build", + "@mui/styled-engine-sc": "packages/mui-styled-engine-sc/build", "@mui/styles": "packages/mui-styles/build", "@mui/system": "packages/mui-system/build", "@mui/types": "packages/mui-types/build", "@mui/utils": "packages/mui-utils/build", - "@mui-internal/docs-utils": "packages/docs-utils", - "@mui/internal-scripts": "packages-internal/scripts" + "@mui-internal/docs-utils": "packages/docs-utils" }, "sandboxes": [ "/examples/material-ui-cra-ts", diff --git a/packages/mui-babel-macros/CHANGELOG.md b/packages/mui-babel-macros/CHANGELOG.md new file mode 100644 index 00000000000000..a6c93f9bf457a6 --- /dev/null +++ b/packages/mui-babel-macros/CHANGELOG.md @@ -0,0 +1,5 @@ +# Changelog + +## 1.0.0 + +Initial release as an npm package. diff --git a/packages/mui-babel-macros/MuiError.macro.js b/packages/mui-babel-macros/MuiError.macro.js index d10b169d9183e6..0b2e2a0a963d59 100644 --- a/packages/mui-babel-macros/MuiError.macro.js +++ b/packages/mui-babel-macros/MuiError.macro.js @@ -12,7 +12,7 @@ function invertObject(object) { /** * Supported imports: - * 1. bare specifier e.g. `'@mui-internal/babel-macros/MuiError.macro'` + * 1. bare specifier e.g. `'@mui/internal-babel-macros/MuiError.macro'` * 2. relative import from `packages/mui-utils/src` e.g. `'../macros/MuiError.macro'` * @param {import('babel-plugin-macros').MacroParams} param0 */ @@ -128,9 +128,9 @@ function muiError({ references, babel, config, source }) { errorCode = parseInt(errorCode, 10); if (formatMuiErrorMessageIdentifier === null) { - const isBareImportSourceIdentifier = source.startsWith('@mui-internal/babel-macros'); + const isBareImportSourceIdentifier = source.startsWith('@mui/internal-babel-macros'); if (isBareImportSourceIdentifier) { - // Input: import MuiError from '@mui-internal/babel-macros/MuiError.macro' + // Input: import MuiError from '@mui/internal-babel-macros/MuiError.macro' // Outputs: // import { formatMuiErrorMessage } from '@mui/utils'; formatMuiErrorMessageIdentifier = helperModuleImports.addDefault( @@ -139,7 +139,7 @@ function muiError({ references, babel, config, source }) { { nameHint: '_formatMuiErrorMessage' }, ); } else { - throw new Error('Only package imports from @mui-internal/babel-macros are supported'); + throw new Error('Only package imports from @mui/internal-babel-macros are supported'); } } diff --git a/packages/mui-babel-macros/README.md b/packages/mui-babel-macros/README.md new file mode 100644 index 00000000000000..4fcfb319018975 --- /dev/null +++ b/packages/mui-babel-macros/README.md @@ -0,0 +1,9 @@ +# @mui/internal-babel-macros + +This package contains the error macro used in MUI projects. +This is an internal package not meant for general use. + +## Release + +There is no build step. +To publish the package to npm, run: `pnpm release:publish` diff --git a/packages/mui-babel-macros/__fixtures__/error-code-extraction/input.js b/packages/mui-babel-macros/__fixtures__/error-code-extraction/input.js index 0e9bea7f05e01a..69a30d073b7136 100644 --- a/packages/mui-babel-macros/__fixtures__/error-code-extraction/input.js +++ b/packages/mui-babel-macros/__fixtures__/error-code-extraction/input.js @@ -1,4 +1,4 @@ -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; throw new MuiError('exists'); throw new MuiError('will be created'); diff --git a/packages/mui-babel-macros/__fixtures__/factory-call/input.js b/packages/mui-babel-macros/__fixtures__/factory-call/input.js index 30a058dbfe37b5..c4957eb663baad 100644 --- a/packages/mui-babel-macros/__fixtures__/factory-call/input.js +++ b/packages/mui-babel-macros/__fixtures__/factory-call/input.js @@ -1,4 +1,4 @@ -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; // `throw Error(message)` is valid JS but we limit error construction to a single syntax. throw MuiError('my message'); diff --git a/packages/mui-babel-macros/__fixtures__/literal/input.js b/packages/mui-babel-macros/__fixtures__/literal/input.js index ef1f0337c1b16e..2ed3398ceb8021 100644 --- a/packages/mui-babel-macros/__fixtures__/literal/input.js +++ b/packages/mui-babel-macros/__fixtures__/literal/input.js @@ -1,3 +1,3 @@ -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; throw new MuiError('MUI: Expected valid input target.\n' + 'Did you use `inputComponent`'); diff --git a/packages/mui-babel-macros/__fixtures__/no-error-code-annotation/input.js b/packages/mui-babel-macros/__fixtures__/no-error-code-annotation/input.js index 9931ed0b0a1963..922dbfba609578 100644 --- a/packages/mui-babel-macros/__fixtures__/no-error-code-annotation/input.js +++ b/packages/mui-babel-macros/__fixtures__/no-error-code-annotation/input.js @@ -1,3 +1,3 @@ -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; throw new MuiError('MUI: Expected valid input target.\n' + 'Did you use inputComponent'); diff --git a/packages/mui-babel-macros/__fixtures__/no-error-code-throw/input.js b/packages/mui-babel-macros/__fixtures__/no-error-code-throw/input.js index 834e86b59175c1..d804f33d59c04d 100644 --- a/packages/mui-babel-macros/__fixtures__/no-error-code-throw/input.js +++ b/packages/mui-babel-macros/__fixtures__/no-error-code-throw/input.js @@ -1,3 +1,3 @@ -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; throw new MuiError('missing'); diff --git a/packages/mui-babel-macros/package.json b/packages/mui-babel-macros/package.json index 13eb125da748a9..825d35f8b080b3 100644 --- a/packages/mui-babel-macros/package.json +++ b/packages/mui-babel-macros/package.json @@ -1,8 +1,9 @@ { - "name": "@mui-internal/babel-macros", + "name": "@mui/internal-babel-macros", "version": "1.0.0", - "private": true, "author": "MUI Team", + "description": "MUI Babel macros. This is an internal package not meant for general use.", + "main": "./MuiError.macro.js", "repository": { "type": "git", "url": "https://github.com/mui/material-ui.git", @@ -12,12 +13,13 @@ "bugs": { "url": "https://github.com/mui/material-ui/issues" }, - "homepage": "private package", "funding": { "type": "opencollective", "url": "https://opencollective.com/mui-org" }, "scripts": { + "release:publish": "pnpm publish --tag latest", + "release:publish:dry-run": "pnpm publish --tag latest --registry=\"http://localhost:4873/\"", "test": "cd ../../ && cross-env NODE_ENV=test mocha 'packages/mui-babel-macros/**/*.test.{js,ts,tsx}'" }, "dependencies": { @@ -26,7 +28,7 @@ "babel-plugin-macros": "^3.1.0" }, "devDependencies": { - "@mui-internal/babel-macros": "workspace:*", + "@mui/internal-babel-macros": "workspace:*", "@types/babel-plugin-macros": "^3.1.3", "@types/chai": "^4.3.11", "@types/mocha": "^10.0.6", @@ -35,10 +37,13 @@ "chai": "^4.4.1" }, "peerDependencies": { - "@mui/utils": "workspace:^" + "@mui/utils": "^5.0.0" }, "sideEffects": false, "engines": { "node": ">=12.0.0" + }, + "publishConfig": { + "access": "public" } } diff --git a/packages/mui-base/package.json b/packages/mui-base/package.json index ad1056ac3742f3..c56ad9f413f35b 100644 --- a/packages/mui-base/package.json +++ b/packages/mui-base/package.json @@ -50,7 +50,7 @@ "prop-types": "^15.8.1" }, "devDependencies": { - "@mui-internal/babel-macros": "workspace:^", + "@mui/internal-babel-macros": "workspace:^", "@mui-internal/test-utils": "workspace:^", "@mui/types": "workspace:^", "@testing-library/react": "^14.2.1", diff --git a/packages/mui-base/src/unstable_useNumberInput/useNumberInput.ts b/packages/mui-base/src/unstable_useNumberInput/useNumberInput.ts index 2b74b67fdf7a7d..1129b7013fd1e7 100644 --- a/packages/mui-base/src/unstable_useNumberInput/useNumberInput.ts +++ b/packages/mui-base/src/unstable_useNumberInput/useNumberInput.ts @@ -1,6 +1,6 @@ 'use client'; import * as React from 'react'; -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; import { unstable_useForkRef as useForkRef, unstable_useId as useId } from '@mui/utils'; import { extractEventHandlers } from '../utils/extractEventHandlers'; import { MuiCancellableEvent } from '../utils/MuiCancellableEvent'; diff --git a/packages/mui-base/src/useInput/useInput.ts b/packages/mui-base/src/useInput/useInput.ts index f380b57fdcb2bd..146d7f0882232d 100644 --- a/packages/mui-base/src/useInput/useInput.ts +++ b/packages/mui-base/src/useInput/useInput.ts @@ -1,6 +1,6 @@ 'use client'; import * as React from 'react'; -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; import { unstable_useForkRef as useForkRef } from '@mui/utils'; import { FormControlState, useFormControlContext } from '../FormControl'; import { extractEventHandlers } from '../utils/extractEventHandlers'; diff --git a/packages/mui-material-next/package.json b/packages/mui-material-next/package.json index e5260817da6f50..ea30d806f1507e 100644 --- a/packages/mui-material-next/package.json +++ b/packages/mui-material-next/package.json @@ -54,7 +54,7 @@ }, "devDependencies": { "@emotion/react": "^11.11.3", - "@mui-internal/babel-macros": "workspace:^", + "@mui/internal-babel-macros": "workspace:^", "@mui-internal/test-utils": "workspace:^", "@testing-library/user-event": "^14.5.2", "@types/chai": "^4.3.11", diff --git a/packages/mui-material-next/src/Select/SelectInput.js b/packages/mui-material-next/src/Select/SelectInput.js index 7c7bbfd9d5c3a6..a90bd619bbe932 100644 --- a/packages/mui-material-next/src/Select/SelectInput.js +++ b/packages/mui-material-next/src/Select/SelectInput.js @@ -3,7 +3,7 @@ import * as React from 'react'; import { isFragment } from 'react-is'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses'; import { refType, diff --git a/packages/mui-material/package.json b/packages/mui-material/package.json index 49aa2273adbb84..adae11dccb71a8 100644 --- a/packages/mui-material/package.json +++ b/packages/mui-material/package.json @@ -56,7 +56,7 @@ "react-transition-group": "^4.4.5" }, "devDependencies": { - "@mui-internal/babel-macros": "workspace:^", + "@mui/internal-babel-macros": "workspace:^", "@mui-internal/test-utils": "workspace:^", "@mui/lab": "workspace:*", "@popperjs/core": "^2.11.8", diff --git a/packages/mui-material/src/InputBase/InputBase.js b/packages/mui-material/src/InputBase/InputBase.js index cbb51b1ed0f844..970dd62ab36b2c 100644 --- a/packages/mui-material/src/InputBase/InputBase.js +++ b/packages/mui-material/src/InputBase/InputBase.js @@ -4,7 +4,7 @@ import PropTypes from 'prop-types'; import clsx from 'clsx'; import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef'; import refType from '@mui/utils/refType'; -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; import { TextareaAutosize } from '@mui/base'; import { isHostComponent } from '@mui/base/utils'; import composeClasses from '@mui/utils/composeClasses'; diff --git a/packages/mui-material/src/Select/SelectInput.js b/packages/mui-material/src/Select/SelectInput.js index cc8646d07b9012..54741070da1a85 100644 --- a/packages/mui-material/src/Select/SelectInput.js +++ b/packages/mui-material/src/Select/SelectInput.js @@ -3,7 +3,7 @@ import * as React from 'react'; import { isFragment } from 'react-is'; import PropTypes from 'prop-types'; import clsx from 'clsx'; -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; import composeClasses from '@mui/utils/composeClasses'; import useId from '@mui/utils/useId'; import refType from '@mui/utils/refType'; diff --git a/packages/mui-material/src/styles/createPalette.js b/packages/mui-material/src/styles/createPalette.js index 4d6bf554415986..949c41e7a8d6e2 100644 --- a/packages/mui-material/src/styles/createPalette.js +++ b/packages/mui-material/src/styles/createPalette.js @@ -1,5 +1,5 @@ import deepmerge from '@mui/utils/deepmerge'; -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; import { darken, getContrastRatio, lighten } from '@mui/system/colorManipulator'; import common from '../colors/common'; import grey from '../colors/grey'; diff --git a/packages/mui-material/src/styles/createTheme.js b/packages/mui-material/src/styles/createTheme.js index da3850cf994703..b078c0bc355762 100644 --- a/packages/mui-material/src/styles/createTheme.js +++ b/packages/mui-material/src/styles/createTheme.js @@ -3,7 +3,7 @@ import styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig, } from '@mui/system/styleFunctionSx'; import systemCreateTheme from '@mui/system/createTheme'; -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; import generateUtilityClass from '@mui/utils/generateUtilityClass'; import createMixins from './createMixins'; import createPalette from './createPalette'; diff --git a/packages/mui-material/src/styles/index.js b/packages/mui-material/src/styles/index.js index 34ea0230b89a82..42e3a789b6c13c 100644 --- a/packages/mui-material/src/styles/index.js +++ b/packages/mui-material/src/styles/index.js @@ -1,5 +1,5 @@ 'use client'; -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; export { default as THEME_ID } from './identifier'; export { default as adaptV4Theme } from './adaptV4Theme'; diff --git a/packages/mui-material/src/styles/makeStyles.js b/packages/mui-material/src/styles/makeStyles.js index a678001a3309e2..380bbc39f5a8c8 100644 --- a/packages/mui-material/src/styles/makeStyles.js +++ b/packages/mui-material/src/styles/makeStyles.js @@ -1,4 +1,4 @@ -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; export default function makeStyles() { throw new MuiError( diff --git a/packages/mui-material/src/styles/responsiveFontSizes.js b/packages/mui-material/src/styles/responsiveFontSizes.js index acdb59992c69a4..fe0a5a6eda7d4f 100644 --- a/packages/mui-material/src/styles/responsiveFontSizes.js +++ b/packages/mui-material/src/styles/responsiveFontSizes.js @@ -1,4 +1,4 @@ -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; import { isUnitless, convertLength, responsiveProperty, alignProperty, fontGrid } from './cssUtils'; export default function responsiveFontSizes(themeInput, options = {}) { diff --git a/packages/mui-material/src/styles/withStyles.js b/packages/mui-material/src/styles/withStyles.js index e4170cd1ae94c5..b5064fae0a4d51 100644 --- a/packages/mui-material/src/styles/withStyles.js +++ b/packages/mui-material/src/styles/withStyles.js @@ -1,4 +1,4 @@ -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; export default function withStyles() { throw new MuiError( diff --git a/packages/mui-material/src/styles/withTheme.js b/packages/mui-material/src/styles/withTheme.js index 83ee107b6adf55..1b24aa0c8feeb8 100644 --- a/packages/mui-material/src/styles/withTheme.js +++ b/packages/mui-material/src/styles/withTheme.js @@ -1,4 +1,4 @@ -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; export default function withTheme() { throw new MuiError( diff --git a/packages/mui-system/package.json b/packages/mui-system/package.json index 55cc38c33ec675..082d3dd2bf5fc0 100644 --- a/packages/mui-system/package.json +++ b/packages/mui-system/package.json @@ -52,7 +52,7 @@ "devDependencies": { "@emotion/react": "^11.11.3", "@emotion/styled": "^11.11.0", - "@mui-internal/babel-macros": "workspace:^", + "@mui/internal-babel-macros": "workspace:^", "@mui-internal/test-utils": "workspace:^", "@mui/system": "workspace:*", "@types/chai": "^4.3.11", diff --git a/packages/mui-system/src/colorManipulator.js b/packages/mui-system/src/colorManipulator.js index cec3860d6bd6c3..e5a5a87b1b6a4a 100644 --- a/packages/mui-system/src/colorManipulator.js +++ b/packages/mui-system/src/colorManipulator.js @@ -1,6 +1,6 @@ /* eslint-disable @typescript-eslint/naming-convention */ import clamp from '@mui/utils/clamp'; -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; /** * Returns a number whose value is limited to the given range. diff --git a/packages/mui-system/src/cssVars/createCssVarsProvider.js b/packages/mui-system/src/cssVars/createCssVarsProvider.js index a342d95946c975..dc6882ab204cb3 100644 --- a/packages/mui-system/src/cssVars/createCssVarsProvider.js +++ b/packages/mui-system/src/cssVars/createCssVarsProvider.js @@ -1,6 +1,6 @@ import * as React from 'react'; import PropTypes from 'prop-types'; -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; import deepmerge from '@mui/utils/deepmerge'; import { GlobalStyles } from '@mui/styled-engine'; import { useTheme as muiUseTheme } from '@mui/private-theming'; diff --git a/packages/mui-system/src/index.js b/packages/mui-system/src/index.js index 23689fa469aff9..d44e83fc65a04d 100644 --- a/packages/mui-system/src/index.js +++ b/packages/mui-system/src/index.js @@ -1,4 +1,4 @@ -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; export { css, keyframes, StyledEngineProvider } from '@mui/styled-engine'; export { default as GlobalStyles } from './GlobalStyles'; diff --git a/packages/mui-utils/package.json b/packages/mui-utils/package.json index 240bf8744b167f..4df8f3cb17fcd2 100644 --- a/packages/mui-utils/package.json +++ b/packages/mui-utils/package.json @@ -45,7 +45,7 @@ "react-is": "^18.2.0" }, "devDependencies": { - "@mui-internal/babel-macros": "workspace:^", + "@mui/internal-babel-macros": "workspace:^", "@mui-internal/test-utils": "workspace:^", "@mui/types": "workspace:^", "@types/chai": "^4.3.11", diff --git a/packages/mui-utils/src/capitalize/capitalize.ts b/packages/mui-utils/src/capitalize/capitalize.ts index b7a3bb304875a0..6b3407ffb374ec 100644 --- a/packages/mui-utils/src/capitalize/capitalize.ts +++ b/packages/mui-utils/src/capitalize/capitalize.ts @@ -1,4 +1,4 @@ -import MuiError from '@mui-internal/babel-macros/MuiError.macro'; +import MuiError from '@mui/internal-babel-macros/MuiError.macro'; // It should to be noted that this function isn't equivalent to `text-transform: capitalize`. // diff --git a/packages/mui-utils/src/formatMuiErrorMessage/formatMuiErrorMessage.ts b/packages/mui-utils/src/formatMuiErrorMessage/formatMuiErrorMessage.ts index f0a6751bfda08d..3118870f40e511 100644 --- a/packages/mui-utils/src/formatMuiErrorMessage/formatMuiErrorMessage.ts +++ b/packages/mui-utils/src/formatMuiErrorMessage/formatMuiErrorMessage.ts @@ -1,6 +1,6 @@ /** * WARNING: Don't import this directly. - * Use `MuiError` from `@mui-internal/babel-macros/MuiError.macro` instead. + * Use `MuiError` from `@mui/internal-babel-macros/MuiError.macro` instead. * @param {number} code */ export default function formatMuiErrorMessage(code: number): string { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b76603a4cc65e6..14b60bdbe3eab9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1174,13 +1174,13 @@ importers: specifier: ^7.23.9 version: 7.23.9 '@mui/utils': - specifier: workspace:^ + specifier: ^5.0.0 version: link:../mui-utils/build babel-plugin-macros: specifier: ^3.1.0 version: 3.1.0 devDependencies: - '@mui-internal/babel-macros': + '@mui/internal-babel-macros': specifier: workspace:* version: 'link:' '@types/babel-plugin-macros': @@ -1226,12 +1226,12 @@ importers: specifier: ^15.8.1 version: 15.8.1 devDependencies: - '@mui-internal/babel-macros': - specifier: workspace:^ - version: link:../mui-babel-macros '@mui-internal/test-utils': specifier: workspace:^ version: link:../test-utils + '@mui/internal-babel-macros': + specifier: workspace:^ + version: link:../mui-babel-macros '@testing-library/react': specifier: ^14.2.1 version: 14.2.1(react-dom@18.2.0)(react@18.2.0) @@ -1645,12 +1645,12 @@ importers: specifier: ^4.4.5 version: 4.4.5(react-dom@18.2.0)(react@18.2.0) devDependencies: - '@mui-internal/babel-macros': - specifier: workspace:^ - version: link:../mui-babel-macros '@mui-internal/test-utils': specifier: workspace:^ version: link:../test-utils + '@mui/internal-babel-macros': + specifier: workspace:^ + version: link:../mui-babel-macros '@mui/lab': specifier: workspace:* version: link:../mui-lab/build @@ -1776,12 +1776,12 @@ importers: '@emotion/react': specifier: ^11.11.3 version: 11.11.3(@types/react@18.2.55)(react@18.2.0) - '@mui-internal/babel-macros': - specifier: workspace:^ - version: link:../mui-babel-macros '@mui-internal/test-utils': specifier: workspace:^ version: link:../test-utils + '@mui/internal-babel-macros': + specifier: workspace:^ + version: link:../mui-babel-macros '@testing-library/user-event': specifier: ^14.5.2 version: 14.5.2(@testing-library/dom@9.3.4) @@ -2085,12 +2085,12 @@ importers: '@emotion/styled': specifier: ^11.11.0 version: 11.11.0(@emotion/react@11.11.3)(@types/react@18.2.55)(react@18.2.0) - '@mui-internal/babel-macros': - specifier: workspace:^ - version: link:../mui-babel-macros '@mui-internal/test-utils': specifier: workspace:^ version: link:../test-utils + '@mui/internal-babel-macros': + specifier: workspace:^ + version: link:../mui-babel-macros '@mui/system': specifier: workspace:* version: link:build @@ -2151,12 +2151,12 @@ importers: specifier: ^18.2.0 version: 18.2.0 devDependencies: - '@mui-internal/babel-macros': - specifier: workspace:^ - version: link:../mui-babel-macros '@mui-internal/test-utils': specifier: workspace:^ version: link:../test-utils + '@mui/internal-babel-macros': + specifier: workspace:^ + version: link:../mui-babel-macros '@mui/types': specifier: workspace:^ version: link:../mui-types/build