@mui/material-nextjs 7.2.0 → 7.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,184 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 7.3.2
4
+
5
+ <!-- generated comparing v7.3.1..master -->
6
+
7
+ _Sep 1, 2025_
8
+
9
+ A big thanks to the 16 contributors who made this release possible.
10
+
11
+ ### `@mui/material@7.3.2`
12
+
13
+ - [Chip] Remove unnecessary optional chaining from key event handlers (#46752) @ZeeshanTamboli
14
+ - [Drawer] Add dialog role and aria-modal for `temporary` variant (#46690) @Yashkanekar
15
+ - [PaginationItem] Add slot descriptions and default components in API documentation (#46677) @sai6855
16
+ - [utils] Remove duplicate isHostComponent function (#46721) @frontman-git
17
+
18
+ ### `@mui/codemod@7.3.2`
19
+
20
+ - Add codemod to convert top-level to path imports (#46657) @neemski
21
+
22
+ ### Docs
23
+
24
+ - Remove outdated Next.js lint command (#46847) @oliviertassinari
25
+ - Add `View as Markdown` to component link header (#46835) @siriwatknp
26
+ - Add a link to open `llms.txt` (#46832) @siriwatknp
27
+ - Fix typos in Material UI API docs (#46787) @noritaka1166
28
+ - Fix typo extra "to" word (#46783) @danpeleg4
29
+ - Remove past employees from about page (#46780) @Janpot
30
+ - Fix typos in `docs/pages` folder (#46761) @noritaka1166
31
+ - Add clarification on `react-is` resolution with Material UI v6 and v7 for React 18 and below (#46633) @alisasanib
32
+ - Fix typos in `joy` and `utils` package (#46713) @noritaka1166
33
+ - [autocomplete] Fix console in unstyled demo (#46804) @oliviertassinari
34
+ - [autocomplete] Fix Google Maps brand attribution (#46803) @oliviertassinari
35
+ - [autocomplete] Fix header sentence case (#46805) @oliviertassinari
36
+ - [autocomplete] Fix Google Maps demo (#46793) @oliviertassinari
37
+ - [Select] Fix labeling issues in grouped select demo (#46722) @mj12albert
38
+ - [table] Remove outdated unstyled section (#46786) @mj12albert
39
+ - [TextField] Add note about removal of `sizeMedium` class from InputLabel in v7 upgrade guide (#46693) @checcoux
40
+
41
+ ### Core
42
+
43
+ - Update `cipher-base` transitive dependency (#46800) @Janpot
44
+ - [charts] Marked Treemap chart as Pro (#46691) @prakhargupta1
45
+ - [code-infra] Remove some csbci references (#46797) @Janpot
46
+ - [code-infra] update build tool (#46801) @Janpot
47
+ - [code-infra] Align pkg.pr.new with other projects (#46467) @Janpot
48
+ - [code-infra] Prepare for incoming `execa` update (#46781) @Janpot
49
+ - [code-infra] Remove `@mui/internal-babel-plugin-resolve-imports` override config (#46754) @ZeeshanTamboli
50
+ - [core] Fix typo in `docs/mui-vale` folder (#46760) @noritaka1166
51
+ - [core] Fix typos in `docs/data/material` folder (#46757) @noritaka1166
52
+ - [core] Fix typos in `netlify` folder (#46756) @noritaka1166
53
+ - [core] Upgrade brace-expansion (#46747) @oliviertassinari
54
+ - [core] Fix typos in Joy UI docs and `test` folder (#46738) @noritaka1166
55
+ - [core] Upgrade KaTeX (#46731) @oliviertassinari
56
+ - [core] Avoid Polynomial regex backtracking (#46732) @oliviertassinari
57
+ - [core] Remove dead @toolpad/core dependency (#46730) @oliviertassinari
58
+ - [core] Fix typos in `markdown` and `system` packages (#46720) @noritaka1166
59
+ - [core] Fix typos in `api-docs-builder` package (#46719) @noritaka1166
60
+ - [core] Fix typos in `codemod` package (#46715) @noritaka1166
61
+ - [core] pnpm prettier:all (#46685) @oliviertassinari
62
+ - [docs-infra] Set origin to generated `llms.txt` (#46833) @siriwatknp
63
+ - [docs-infra] Fix AbortController error (#46408) @oliviertassinari
64
+ - [docs-infra] Block than more feedback submissions (#46824) @oliviertassinari
65
+ - [docs-infra] Fix ESLint references (#46680) @oliviertassinari
66
+ - [infra] Migrate away from airbnb's eslint config (#46794) @brijeshb42
67
+ - [infra] Remove `fs-extra` from docs scripts (#46749) @bernardobelchior
68
+ - [infra] Remove dependency on `react-spring` (but keep `@react-spring/web`) (#46748) @bernardobelchior
69
+ - [infra] Remove `fs-extra` from `mui-icons-material` (#46745) @bernardobelchior
70
+ - [infra] Remove `api-docs-builder` dependency on `fs-extra` (#46742) @bernardobelchior
71
+ - [infra] Migrate build command to code-infra (#46614) @brijeshb42
72
+ - [infra] move testBuiltTypes step (#46735) @Janpot
73
+ - [infra] Remove `fs-extra` from `netlify-plugin-cache-docs` (#46740) @bernardobelchior
74
+ - [infra] Supply `document` to `userEvent.setup()` (#46714) @Janpot
75
+ - [infra] Remove useless test step (#46679) @Janpot
76
+ - [infra] Stagger daily cron jobs to avoid browserstack timeouts (#46676) @Janpot
77
+ - [internal] Improve useControlled() strict mode handling (#46807) @oliviertassinari
78
+ - [internal] Sentence case (55a9d8f) @oliviertassinari
79
+ - [internal] Fix typos in code comments (#46784) @noritaka1166
80
+ - [internal] Fix console regression in dev mode (925f02b) @oliviertassinari
81
+ - [internal] Prettier all if dependencies changes (1f63b03) @oliviertassinari
82
+ - [internal] Fix renovate.json (84be632) @oliviertassinari
83
+ - [internal] Polish renovate schedule (#46727) @oliviertassinari
84
+ - [internal] Update link to GitHub labels (8ab4813) @oliviertassinari
85
+ - [internal] Bump brace-expansion (06de338) @oliviertassinari
86
+ - [internal] Normalize Action description (4a2fbcb) @oliviertassinari
87
+ - [toolpad] Remove it from website and docs (#46595) @prakhargupta1
88
+
89
+ All contributors of this release in alphabetical order: @alisasanib, @bernardobelchior, @brijeshb42, @checcoux, @danpeleg4, @frontman-git, @Janpot, @mj12albert, @neemski, @noritaka1166, @oliviertassinari, @prakhargupta1, @sai6855, @siriwatknp, @Yashkanekar, @ZeeshanTamboli
90
+
91
+ ## 7.3.1
92
+
93
+ <!-- generated comparing v7.3.0..master -->
94
+
95
+ _Aug 6, 2025_
96
+
97
+ A big thanks to the 2 contributors who made this release possible.
98
+
99
+ ### `@mui/material@7.3.1`
100
+
101
+ - [PaginationItem] Fix inheritance of component (#46666) @sai6855
102
+ - [Select] Revert - Implement pointer cancellation PR 45789 (#46672) @ZeeshanTamboli
103
+
104
+ All contributors of this release in alphabetical order: @sai6855, @ZeeshanTamboli
105
+
106
+ ## 7.3.0
107
+
108
+ <!-- generated comparing v7.2.0..master -->
109
+
110
+ _Aug 5, 2025_
111
+
112
+ A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
113
+
114
+ - 🚀 Shipped `nativeColor` feature that eliminates JS color manipulation and unlocks support for all modern color spaces (#43942) @siriwatknp!
115
+
116
+ To learn more, check out the [Native Color](https://mui.com/material-ui/customization/css-theme-variables/native-color/) guide.
117
+
118
+ ### `@mui/material@7.3.0`
119
+
120
+ - Support native color without JS manipulation (#43942) @siriwatknp
121
+ - [Accordion] Add `region` slot (#46659) @sai6855
122
+ - [SpeedDial] Fix navigation with arrow keys when slotProps.fab is defined (#46508) @sai6855
123
+ - [Select] Improve `MenuProps.slotProps` implementation (#46612) @ZeeshanTamboli
124
+ - [Select] Implement pointer cancellation (#45789) @Kartik-Murthy
125
+ - [Switch] Add role="switch" (#46482) @ZeeshanTamboli
126
+ - [Autocomplete] Fix auto highlight when options change but not the length (#46489) @yafeng-c
127
+
128
+ ### `@mui/codemod@7.3.0`
129
+
130
+ - Fix `v5.0.0/top-level-imports` codemod changing color imports (#46405) @AidanLDev
131
+
132
+ ### Docs
133
+
134
+ - Add JetBrains IDEs MCP configuration (#46470) @bernardobelchior
135
+ - Add warning to array spacing section (#46542) @cherniavskii
136
+ - Add MCP server installation details for Claude Code (#46621) @saschabratton
137
+ - Fix incorrect command for MCP Inspector in mcp.md (#46630) @EndiM
138
+ - Fix incorrect Typography override example for responsive styles (#46558) @aditi291soni
139
+ - Improve MCP docs (#46557) @siriwatknp
140
+ - Fix displaying of components in dark mode (#46544) @sai6855
141
+ - Generate `template` entries about documented generics (#46540) @LukasTy
142
+ - Use fixed dates for stable CRUD dashboard screenshots (#46546) @apedroferreira
143
+ - Add "Edit in Mui Chat" button on demos (#46480) @siriwatknp
144
+ - Fix Menu customization demo (#46535) @siriwatknp
145
+ - Add dashboard with CRUD template based on Toolpad Core (#46376) @apedroferreira
146
+ - Clarify `createTheme` warning for future compatibility (#46476) @satendra03
147
+ - Remove typo in `_redirects` (#46463) @bharatkashyap
148
+ - Change API docs to stay inside Material UI (#46414) @bharatkashyap
149
+ - [Dialog] Fix Form dialog demo's actions button padding (#46506) @frontman-git
150
+ - [SpeedDial] Remove deprecated props from demos (#46485) @sai6855
151
+ - [Switch] Use `slotProps.input` instead of deprecated `inputProps` for accessible controlled switch (#46625) @adiitxa
152
+
153
+ ### Core
154
+
155
+ - Fix ESLint reference name (80d32a2) @oliviertassinari
156
+ - Fix ESLint reference name (5fc166e) @oliviertassinari
157
+ - Add `@base-ui-components/*` to env info (#46539) @Janpot
158
+ - Remove dead property from routes (#46534) @oliviertassinari
159
+ - Fix unpinned version regression (#46438) @oliviertassinari
160
+ - [code-infra] Accomodate build requirements from mui-x (#46551) @brijeshb42
161
+ - [code-infra] Extend renovate preset from infra repo (#46483) @brijeshb42
162
+ - [code-infra] Use flat ESLint config (#46258) @brijeshb42
163
+ - [docs-infra] Remove comment saving in G-sheet option (#46617) @alexfauquette
164
+ - [docs-infra] Move `Open in MUI Chat` to Demo toolbar and adjust styles (#46579) @siriwatknp
165
+ - [docs-infra] Fix codeblock issues (#46323) @atharva3333
166
+ - [docs-infra] Handle white spaces and generate either TS or JS demo for llms files (#46494) @siriwatknp
167
+ - [examples] Rename PopOverMenu.tsx file to match its usage (#46532) @rjray
168
+ - [infra] Fix `test_types_next`, `test_react_18`, `test_react_next` jobs (#46182) @Janpot
169
+ - [infra] Remove package.json `module` field (#46620) @Janpot
170
+ - [infra] Upgrade form-data to >4.0.4 (#46618) @Janpot
171
+ - [infra] Use cpu option only in CI (#46588) @Janpot
172
+ - [infra] Update scripts to delete publishConfig.directory (#46563) @brijeshb42
173
+ - [infra] Remove `transform-runtime` from `next/babel` (#46552) @Janpot
174
+ - [infra] Revert nx update (#46538) @Janpot
175
+ - [infra] Replace Argos script with code-infra CLI and update deps (#46475) @Janpot
176
+ - [infra] Update node group in renovate config (#46474) @Janpot
177
+ - [infra] Move @playwright/test to peer deps in @mui/internal-test-utils (#46459) @Janpot
178
+ - [infra] Add instructions for patch release (#46382) @mnajdova
179
+
180
+ All contributors of this release in alphabetical order: @adiitxa, @aditi291soni, @AidanLDev, @alexfauquette, @apedroferreira, @atharva3333, @bernardobelchior, @bharatkashyap, @brijeshb42, @cherniavskii, @EndiM, @frontman-git, @Janpot, @Kartik-Murthy, @LukasTy, @mnajdova, @oliviertassinari, @rjray, @sai6855, @saschabratton, @satendra03, @siriwatknp, @yafeng-c, @ZeeshanTamboli
181
+
3
182
  ## 7.2.0
4
183
 
5
184
  <!-- generated comparing v7.1.1..master -->
@@ -52,11 +231,11 @@ A big thanks to the 17 contributors who made this release possible. Here are the
52
231
  ### Core
53
232
 
54
233
  - pnpm docs:sync-team (3641a0b) @oliviertassinari
55
- - Add cross-env to eslint script (#46358) @ZeeshanTamboli
234
+ - Add cross-env to ESLint script (#46358) @ZeeshanTamboli
56
235
  - Support merging of className and style from theme (#45975) @sai6855
57
236
  - [code-infra] Create bundle size package (#45911) @Janpot
58
237
  - [docs-infra] Add a script to generate Material UI `llms.txt` and docs markdown. (#46308) @siriwatknp
59
- - [docs-infra] Fix stackblitz for js projects (#46220) @Janpot
238
+ - [docs-infra] Fix StackBlitz for js projects (#46220) @Janpot
60
239
  - [infra] Add emotion as external for bundle monitor (#46372) @Janpot
61
240
  - [infra] Create update PR on every canary publish for internal packages (#46367) @Janpot
62
241
  - [infra] Remove deprecated esmExternals (#46365) @Janpot
@@ -134,7 +313,7 @@ A big thanks to the 15 contributors who made this release possible.
134
313
  ### Core
135
314
 
136
315
  - [code-infra] Add plugin to check for index file access (#46178) @Janpot
137
- - [code-infra] Bump eslint to v9 (#46222) @brijeshb42
316
+ - [code-infra] Bump ESLint to v9 (#46222) @brijeshb42
138
317
  - [code-infra] Move packages to mui/mui-public (#46155) @Janpot
139
318
  - [code-infra] Move `chai` to peerDep (#46227) @JCQuintas
140
319
  - [code-infra] Avoid loading barrel file during type checking (#46177) @Janpot
@@ -22,8 +22,8 @@ export default function createEmotionCache(options) {
22
22
  if (enableCssLayer) {
23
23
  const prevInsert = emotionCache.insert;
24
24
  emotionCache.insert = (...args) => {
25
- // ignore styles that contain layer order (`@layer ...` without `{`)
26
- if (!args[1].styles.match(/^@layer\s+[^{]*$/)) {
25
+ // ignore styles that contain layer order (`@layer a, b, c;` without `{`)
26
+ if (!args[1].styles.match(/^@layer\s+(?:[^{]*?)$/)) {
27
27
  args[1].styles = `@layer mui {${args[1].styles}}`;
28
28
  }
29
29
  return prevInsert(...args);
@@ -0,0 +1,2 @@
1
+ declare const _exports: typeof import("next/compat/router");
2
+ export = _exports;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/material-nextjs",
3
- "version": "7.2.0",
3
+ "version": "7.3.2",
4
4
  "author": "MUI Team",
5
5
  "description": "Collection of utilities for integration between Material UI and Next.js.",
6
6
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  "url": "https://opencollective.com/mui-org"
24
24
  },
25
25
  "dependencies": {
26
- "@babel/runtime": "^7.27.6"
26
+ "@babel/runtime": "^7.28.3"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@emotion/cache": "^11.11.0",
@@ -46,35 +46,34 @@
46
46
  },
47
47
  "sideEffects": false,
48
48
  "publishConfig": {
49
- "access": "public",
50
- "directory": "build"
49
+ "access": "public"
51
50
  },
52
51
  "engines": {
53
52
  "node": ">=14.0.0"
54
53
  },
54
+ "type": "commonjs",
55
55
  "exports": {
56
56
  "./package.json": "./package.json",
57
- ".": null,
57
+ "./v13-pagesRouter": {
58
+ "require": {
59
+ "types": "./v13-pagesRouter/index.d.ts",
60
+ "default": "./v13-pagesRouter/index.js"
61
+ },
62
+ "default": {
63
+ "types": "./esm/v13-pagesRouter/index.d.ts",
64
+ "default": "./esm/v13-pagesRouter/index.js"
65
+ }
66
+ },
58
67
  "./*": {
59
68
  "require": {
60
69
  "types": "./*/index.d.ts",
61
70
  "default": "./*/index.js"
62
71
  },
63
- "import": {
72
+ "default": {
64
73
  "types": "./esm/*/index.d.ts",
65
74
  "default": "./esm/*/index.js"
66
75
  }
67
76
  },
68
- "./v13-pagesRouter": {
69
- "require": {
70
- "types": "./v13-pagesRouter/index.d.ts",
71
- "default": "./v13-pagesRouter/index.js"
72
- },
73
- "import": {
74
- "types": "./esm/v13-pagesRouter/index.d.ts",
75
- "default": "./esm/v13-pagesRouter/index.js"
76
- }
77
- }
78
- },
79
- "private": false
77
+ "./esm": null
78
+ }
80
79
  }
@@ -0,0 +1,2 @@
1
+ declare const _exports: typeof import("next/navigation");
2
+ export = _exports;
@@ -29,8 +29,8 @@ function createEmotionCache(options) {
29
29
  if (enableCssLayer) {
30
30
  const prevInsert = emotionCache.insert;
31
31
  emotionCache.insert = (...args) => {
32
- // ignore styles that contain layer order (`@layer ...` without `{`)
33
- if (!args[1].styles.match(/^@layer\s+[^{]*$/)) {
32
+ // ignore styles that contain layer order (`@layer a, b, c;` without `{`)
33
+ if (!args[1].styles.match(/^@layer\s+(?:[^{]*?)$/)) {
34
34
  args[1].styles = `@layer mui {${args[1].styles}}`;
35
35
  }
36
36
  return prevInsert(...args);
@@ -0,0 +1,2 @@
1
+ declare const _exports: typeof import("next/document");
2
+ export = _exports;