diff --git a/docs/mui-vale/styles/MUI/MuiBrandName.yml b/docs/mui-vale/styles/MUI/MuiBrandName.yml index 3a5251f2ccf622..b5274f773657c7 100644 --- a/docs/mui-vale/styles/MUI/MuiBrandName.yml +++ b/docs/mui-vale/styles/MUI/MuiBrandName.yml @@ -3,7 +3,7 @@ # For example, Apple does this meticulously with their brand name: https://www.apple.com/macbook-air/. # Also read https://www.chrisdpeters.com/blog/using-non-breaking-spaces-to-help-with-branding/ for why. extends: substitution -message: Use a non-breaking space for brand name ('%s' instead of '%s') +message: Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('%s' instead of '%s') level: error ignorecase: true # swap maps tokens in form of bad: good diff --git a/packages/mui-codemod/src/deprecations/all/deprecations-all.js b/packages/mui-codemod/src/deprecations/all/deprecations-all.js index c11ad4e965c2c2..cfb4dee847f12c 100644 --- a/packages/mui-codemod/src/deprecations/all/deprecations-all.js +++ b/packages/mui-codemod/src/deprecations/all/deprecations-all.js @@ -27,6 +27,5 @@ export default function deprecationsAll(file, api, options) { file.source = transformStepLabelProps(file, api, options); file.source = transformBackdropProps(file, api, options); - return file.source; } diff --git a/packages/mui-system/src/borders/index.ts b/packages/mui-system/src/borders/index.ts index 604a432da6c7bf..b80d6280b55565 100644 --- a/packages/mui-system/src/borders/index.ts +++ b/packages/mui-system/src/borders/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './borders' -export * from './borders' +'use client'; +export { default } from './borders'; +export * from './borders'; diff --git a/packages/mui-system/src/breakpoints/index.ts b/packages/mui-system/src/breakpoints/index.ts index 7bef55fd727810..d4131e5d7098e1 100644 --- a/packages/mui-system/src/breakpoints/index.ts +++ b/packages/mui-system/src/breakpoints/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './breakpoints' -export * from './breakpoints' +'use client'; +export { default } from './breakpoints'; +export * from './breakpoints'; diff --git a/packages/mui-system/src/colorManipulator/index.ts b/packages/mui-system/src/colorManipulator/index.ts index d67673736320d5..5149f8e5219a36 100644 --- a/packages/mui-system/src/colorManipulator/index.ts +++ b/packages/mui-system/src/colorManipulator/index.ts @@ -1,2 +1,2 @@ -'use client' -export * from './colorManipulator' +'use client'; +export * from './colorManipulator'; diff --git a/packages/mui-system/src/compose/index.ts b/packages/mui-system/src/compose/index.ts index b91e4c81a5cf1c..5903eeea33a13e 100644 --- a/packages/mui-system/src/compose/index.ts +++ b/packages/mui-system/src/compose/index.ts @@ -1,2 +1,2 @@ -'use client' -export { default } from './compose' +'use client'; +export { default } from './compose'; diff --git a/packages/mui-system/src/createBox/index.ts b/packages/mui-system/src/createBox/index.ts index c76655d465a8db..93262690e07c97 100644 --- a/packages/mui-system/src/createBox/index.ts +++ b/packages/mui-system/src/createBox/index.ts @@ -1,2 +1,2 @@ -'use client' -export { default } from './createBox' +'use client'; +export { default } from './createBox'; diff --git a/packages/mui-system/src/createStyled/index.ts b/packages/mui-system/src/createStyled/index.ts index 0fc12b0f165ea5..d827d43448643e 100644 --- a/packages/mui-system/src/createStyled/index.ts +++ b/packages/mui-system/src/createStyled/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './createStyled' -export * from './createStyled' +'use client'; +export { default } from './createStyled'; +export * from './createStyled'; diff --git a/packages/mui-system/src/cssGrid/index.ts b/packages/mui-system/src/cssGrid/index.ts index f10e5620699dc7..606a39450c07a6 100644 --- a/packages/mui-system/src/cssGrid/index.ts +++ b/packages/mui-system/src/cssGrid/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './cssGrid' -export * from './cssGrid' +'use client'; +export { default } from './cssGrid'; +export * from './cssGrid'; diff --git a/packages/mui-system/src/display/index.ts b/packages/mui-system/src/display/index.ts index 1a19cb9d0b66f7..c0dcbfdc15af6c 100644 --- a/packages/mui-system/src/display/index.ts +++ b/packages/mui-system/src/display/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './display' -export * from './display' +'use client'; +export { default } from './display'; +export * from './display'; diff --git a/packages/mui-system/src/flexbox/index.ts b/packages/mui-system/src/flexbox/index.ts index 02ed11edf90789..5c1c749951e820 100644 --- a/packages/mui-system/src/flexbox/index.ts +++ b/packages/mui-system/src/flexbox/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './flexbox' -export * from './flexbox' +'use client'; +export { default } from './flexbox'; +export * from './flexbox'; diff --git a/packages/mui-system/src/getThemeValue/index.ts b/packages/mui-system/src/getThemeValue/index.ts index ade9611ef11760..058c6ae97c7537 100644 --- a/packages/mui-system/src/getThemeValue/index.ts +++ b/packages/mui-system/src/getThemeValue/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './getThemeValue' -export * from './getThemeValue' +'use client'; +export { default } from './getThemeValue'; +export * from './getThemeValue'; diff --git a/packages/mui-system/src/memoize/index.ts b/packages/mui-system/src/memoize/index.ts index 5eca31b87ad6f8..66774a993cd6b0 100644 --- a/packages/mui-system/src/memoize/index.ts +++ b/packages/mui-system/src/memoize/index.ts @@ -1,2 +1,2 @@ -'use client' -export { default } from './memoize' +'use client'; +export { default } from './memoize'; diff --git a/packages/mui-system/src/merge/index.ts b/packages/mui-system/src/merge/index.ts index 33897a82b6c484..cb9274486a9fa1 100644 --- a/packages/mui-system/src/merge/index.ts +++ b/packages/mui-system/src/merge/index.ts @@ -1,2 +1,2 @@ -'use client' -export { default } from './merge' +'use client'; +export { default } from './merge'; diff --git a/packages/mui-system/src/palette/index.ts b/packages/mui-system/src/palette/index.ts index 514a1ecde0bb03..28fa2b57c680c3 100644 --- a/packages/mui-system/src/palette/index.ts +++ b/packages/mui-system/src/palette/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './palette' -export * from './palette' +'use client'; +export { default } from './palette'; +export * from './palette'; diff --git a/packages/mui-system/src/positions/index.ts b/packages/mui-system/src/positions/index.ts index 1071dd7adb1b53..31aa77fbee438b 100644 --- a/packages/mui-system/src/positions/index.ts +++ b/packages/mui-system/src/positions/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './positions' -export * from './positions' +'use client'; +export { default } from './positions'; +export * from './positions'; diff --git a/packages/mui-system/src/propsToClassKey/index.ts b/packages/mui-system/src/propsToClassKey/index.ts index 72620ffdd0609b..95022b3d29683b 100644 --- a/packages/mui-system/src/propsToClassKey/index.ts +++ b/packages/mui-system/src/propsToClassKey/index.ts @@ -1,2 +1,2 @@ -'use client' -export { default } from './propsToClassKey' +'use client'; +export { default } from './propsToClassKey'; diff --git a/packages/mui-system/src/responsivePropType/index.ts b/packages/mui-system/src/responsivePropType/index.ts index e6a95048fb4b29..ad75ae545bcf45 100644 --- a/packages/mui-system/src/responsivePropType/index.ts +++ b/packages/mui-system/src/responsivePropType/index.ts @@ -1,2 +1,2 @@ -'use client' -export { default } from './responsivePropType' +'use client'; +export { default } from './responsivePropType'; diff --git a/packages/mui-system/src/shadows/index.ts b/packages/mui-system/src/shadows/index.ts index 91cf73d4083074..6dd3312387e486 100644 --- a/packages/mui-system/src/shadows/index.ts +++ b/packages/mui-system/src/shadows/index.ts @@ -1,2 +1,2 @@ -'use client' -export { default } from './shadows' +'use client'; +export { default } from './shadows'; diff --git a/packages/mui-system/src/sizing/index.ts b/packages/mui-system/src/sizing/index.ts index a4bfb71276aa9e..5c30a7222568da 100644 --- a/packages/mui-system/src/sizing/index.ts +++ b/packages/mui-system/src/sizing/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './sizing' -export * from './sizing' +'use client'; +export { default } from './sizing'; +export * from './sizing'; diff --git a/packages/mui-system/src/spacing/index.ts b/packages/mui-system/src/spacing/index.ts index f9dd79e8463689..6bad9ad89d4dd5 100644 --- a/packages/mui-system/src/spacing/index.ts +++ b/packages/mui-system/src/spacing/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './spacing' -export * from './spacing' +'use client'; +export { default } from './spacing'; +export * from './spacing'; diff --git a/packages/mui-system/src/style/index.ts b/packages/mui-system/src/style/index.ts index 08acd4c087fa45..2e4fa57df00254 100644 --- a/packages/mui-system/src/style/index.ts +++ b/packages/mui-system/src/style/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './style' -export * from './style' +'use client'; +export { default } from './style'; +export * from './style'; diff --git a/packages/mui-system/src/styled/index.ts b/packages/mui-system/src/styled/index.ts index 84b07201910ff1..fe2f75a1ca7742 100644 --- a/packages/mui-system/src/styled/index.ts +++ b/packages/mui-system/src/styled/index.ts @@ -1,2 +1,2 @@ -'use client' -export { default } from './styled' +'use client'; +export { default } from './styled'; diff --git a/packages/mui-system/src/typography/index.ts b/packages/mui-system/src/typography/index.ts index 47a686e39e497b..2f6cf00668c7c7 100644 --- a/packages/mui-system/src/typography/index.ts +++ b/packages/mui-system/src/typography/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './typography' -export * from './typography' +'use client'; +export { default } from './typography'; +export * from './typography'; diff --git a/packages/mui-system/src/useTheme/index.ts b/packages/mui-system/src/useTheme/index.ts index 0d37959742e007..fc788b2994365a 100644 --- a/packages/mui-system/src/useTheme/index.ts +++ b/packages/mui-system/src/useTheme/index.ts @@ -1,3 +1,3 @@ -'use client' -export { default } from './useTheme' -export * from './useTheme' +'use client'; +export { default } from './useTheme'; +export * from './useTheme'; diff --git a/packages/mui-system/src/useThemeWithoutDefault/index.ts b/packages/mui-system/src/useThemeWithoutDefault/index.ts index 361b57e51d9a63..7018fca5e9639a 100644 --- a/packages/mui-system/src/useThemeWithoutDefault/index.ts +++ b/packages/mui-system/src/useThemeWithoutDefault/index.ts @@ -1,2 +1,2 @@ -'use client' -export { default } from './useThemeWithoutDefault' +'use client'; +export { default } from './useThemeWithoutDefault'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2af9bc86313f0c..b6b6842bf4a493 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3419,7 +3419,7 @@ packages: dependencies: '@babel/core': 7.24.3 '@babel/helper-create-class-features-plugin': 7.23.6(@babel/core@7.24.3) - '@babel/helper-plugin-utils': 7.24.0 + '@babel/helper-plugin-utils': 7.22.5 dev: false /@babel/plugin-proposal-export-default-from@7.24.1(@babel/core@7.23.9): @@ -7325,7 +7325,7 @@ packages: '@babel/core': ^7.23.9 dependencies: '@babel/core': 7.23.9 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-plugin-utils': 7.24.0 /@minh.nguyen/plugin-transform-destructuring@7.5.2(@babel/core@7.24.3): resolution: {integrity: sha512-DIzWFKl5nzSk9Hj9ZsEXAvvgHiyuAsw52queJMuKqfZOk1BOr9u1i2h0tc6tPF3rQieubP+eX4DPLTKSMpbyMg==} @@ -7333,7 +7333,7 @@ packages: '@babel/core': ^7.23.9 dependencies: '@babel/core': 7.24.3 - '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-plugin-utils': 7.24.0 dev: true /@mnajdova/enzyme-adapter-react-18@0.2.0(enzyme@3.11.0)(react-dom@18.2.0)(react@18.2.0): @@ -7462,42 +7462,6 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: false - /@mui/material@5.15.14(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-kEbRw6fASdQ1SQ7LVdWR5OlWV3y7Y54ZxkLzd6LV5tmz+NpO3MJKZXSfgR0LHMP7meKsPiMm4AuzV0pXDpk/BQ==} - engines: {node: '>=12.0.0'} - peerDependencies: - '@emotion/react': ^11.5.0 - '@emotion/styled': ^11.3.0 - '@types/react': ^18.2.55 - react: ^17.0.0 || ^18.0.0 - react-dom: ^17.0.0 || ^18.0.0 - peerDependenciesMeta: - '@emotion/react': - optional: true - '@emotion/styled': - optional: true - '@types/react': - optional: true - dependencies: - '@babel/runtime': 7.23.9 - '@emotion/react': 11.11.4(@types/react@18.2.55)(react@18.2.0) - '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.55)(react@18.2.0) - '@mui/base': 5.0.0-beta.40(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0) - '@mui/core-downloads-tracker': 5.15.14 - '@mui/system': 5.15.14(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.55)(react@18.2.0) - '@mui/types': 7.2.14(@types/react@18.2.55) - '@mui/utils': 5.15.14(@types/react@18.2.55)(react@18.2.0) - '@types/react': 18.2.55 - '@types/react-transition-group': 4.4.10 - clsx: 2.1.0 - csstype: 3.1.3 - prop-types: 15.8.1 - react: 18.2.0 - react-dom: 18.2.0(react@18.2.0) - react-is: 18.2.0 - react-transition-group: 4.4.5(react-dom@18.2.0)(react@18.2.0) - dev: false - /@mui/material@5.15.4(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-T/LGRAC+M0c+D3+y67eHwIN5bSje0TxbcJCWR0esNvU11T0QwrX3jedXItPNBwMupF2F5VWCDHBVLlFnN3+ABA==} engines: {node: '>=12.0.0'} @@ -7544,7 +7508,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.23.9 + '@babel/runtime': 7.24.1 '@mui/utils': 5.15.14(@types/react@18.2.55)(react@18.2.0) '@types/react': 18.2.55 prop-types: 15.8.1 @@ -7564,7 +7528,7 @@ packages: '@emotion/styled': optional: true dependencies: - '@babel/runtime': 7.23.9 + '@babel/runtime': 7.24.1 '@emotion/cache': 11.11.0 '@emotion/react': 11.11.4(@types/react@18.2.55)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.55)(react@18.2.0) @@ -7651,7 +7615,7 @@ packages: '@babel/runtime': 7.23.9 '@emotion/react': 11.11.4(@types/react@18.2.55)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.55)(react@18.2.0) - '@mui/base': 5.0.0-beta.40(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0) + '@mui/base': 5.0.0-beta.30(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0) '@mui/material': link:packages/mui-material/build '@mui/system': link:packages/mui-system/build '@react-spring/rafz': 9.7.3 @@ -7808,7 +7772,7 @@ packages: '@babel/runtime': 7.23.9 '@emotion/react': 11.11.4(@types/react@18.2.55)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.55)(react@18.2.0) - '@mui/base': 5.0.0-beta.40(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0) + '@mui/base': 5.0.0-beta.30(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0) '@mui/material': link:packages/mui-material/build '@mui/system': link:packages/mui-system/build '@mui/utils': 5.15.14(@types/react@18.2.55)(react@18.2.0) @@ -7865,7 +7829,7 @@ packages: '@babel/runtime': 7.23.9 '@emotion/react': 11.11.4(@types/react@18.2.55)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.55)(react@18.2.0) - '@mui/base': 5.0.0-beta.40(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0) + '@mui/base': 5.0.0-beta.30(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0) '@mui/material': link:packages/mui-material/build '@mui/system': link:packages/mui-system/build '@mui/utils': 5.15.14(@types/react@18.2.55)(react@18.2.0) @@ -7921,7 +7885,7 @@ packages: '@babel/runtime': 7.23.9 '@emotion/react': 11.11.4(@types/react@18.2.55)(react@18.2.0) '@emotion/styled': 11.11.0(@emotion/react@11.11.4)(@types/react@18.2.55)(react@18.2.0) - '@mui/base': 5.0.0-beta.40(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0) + '@mui/base': 5.0.0-beta.30(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0) '@mui/material': link:packages/mui-material/build '@mui/system': link:packages/mui-system/build '@mui/utils': 5.15.14(@types/react@18.2.55)(react@18.2.0) @@ -18068,7 +18032,7 @@ packages: react: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: '@babel/runtime': 7.23.9 - '@mui/material': 5.15.14(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0) + '@mui/material': 5.15.4(@emotion/react@11.11.4)(@emotion/styled@11.11.0)(@types/react@18.2.55)(react-dom@18.2.0)(react@18.2.0) classnames: 2.3.2 prop-types: 15.8.1 react: 18.2.0