@mui/material 6.1.8 → 6.1.9
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 +48 -2
- package/Grid2/Grid2.d.ts +0 -1
- package/Grid2/grid2Classes.d.ts +8 -3
- package/Select/Select.d.ts +10 -4
- package/index.js +1 -1
- package/modern/index.js +1 -1
- package/modern/version/index.js +2 -2
- package/node/index.js +1 -1
- package/node/version/index.js +2 -2
- package/package.json +5 -5
- package/styles/ThemeProvider.d.ts +1 -0
- package/styles/overrides.d.ts +2 -2
- package/version/index.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 6.1.9
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v6.1.8..master -->
|
|
6
|
+
|
|
7
|
+
_Nov 27, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 8 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@6.1.9`
|
|
12
|
+
|
|
13
|
+
- [Select] Omit `placeholder` from props (#44502) @Juneezee
|
|
14
|
+
- [Grid2] Add container class to `Grid2Classes` (#44562) @sai6855
|
|
15
|
+
|
|
16
|
+
### `@mui/system@6.1.9`
|
|
17
|
+
|
|
18
|
+
- Add ThemeProvider `noSsr` to prevent double rendering (#44451) @siriwatknp
|
|
19
|
+
|
|
20
|
+
### `@mui/codemod@6.1.9`
|
|
21
|
+
|
|
22
|
+
- [codemod] Fix handling of computed `paragraph` props (#44195) @joshkel
|
|
23
|
+
|
|
24
|
+
### `@mui/material-pigment-css@6.1.9`
|
|
25
|
+
|
|
26
|
+
- Make @pigment-css/react as peer dependency (#44498) @brijeshb42
|
|
27
|
+
|
|
28
|
+
### Docs
|
|
29
|
+
|
|
30
|
+
- [material-ui] Add missing required dependencies in dashboard template README (#44476) @mesqueeb
|
|
31
|
+
- [material-ui] Add missing Roboto import to Next.js integration docs (#44462) @StaceyD22
|
|
32
|
+
- [material-ui][Dialog] Fix padding in SimpleDialog demo (#44467) @oliviertassinari
|
|
33
|
+
- Fix template page issues (#44466) @oliviertassinari
|
|
34
|
+
- [examples] Add dark mode example for Material UI + Pigment CSS (#44480) @mnajdova
|
|
35
|
+
|
|
36
|
+
### Core
|
|
37
|
+
|
|
38
|
+
- Remove TODO line in the changelog (#44484) @mnajdova
|
|
39
|
+
- Polish image display (418e888) @oliviertassinari
|
|
40
|
+
- [core-infra] Add no-relative-packages (#44489) @oliviertassinari
|
|
41
|
+
- [docs-infra] Support CSS variables API info (#44559) @mnajdova
|
|
42
|
+
- [docs-infra] Fix display when ad-block triggers (#44567) @oliviertassinari
|
|
43
|
+
- [docs-infra] Improve locator finding using visible option (#44541) @siriwatknp
|
|
44
|
+
- [docs-infra] Correctly flatten the pages tree (#44514) @oliviertassinari
|
|
45
|
+
- [docs-infra] Fix Sponsor design regression (#44515) @oliviertassinari
|
|
46
|
+
- [test] Remove React.ReactElement<any> from describeConformance.tsx (#44318) @sai6855
|
|
47
|
+
- [test] Do not enforce the presence of `ownerState.className` in `describeConformance` (#44479) @flaviendelangle
|
|
48
|
+
|
|
49
|
+
All contributors of this release in alphabetical order: @brijeshb42, @flaviendelangle, @joshkel, @Juneezee, @mesqueeb, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp, @StaceyD22
|
|
50
|
+
|
|
3
51
|
## v6.1.8
|
|
4
52
|
|
|
5
53
|
<!-- generated comparing v6.1.7..master -->
|
|
@@ -8,8 +56,6 @@ _Nov 20, 2024_
|
|
|
8
56
|
|
|
9
57
|
A big thanks to the 10 contributors who made this release possible.
|
|
10
58
|
|
|
11
|
-
TODO INSERT HIGHLIGHTS
|
|
12
|
-
|
|
13
59
|
### `@mui/material@6.1.8`
|
|
14
60
|
|
|
15
61
|
- [Autocomplete] Use `ul` element for the listbox (#44422) @DiegoAndai
|
package/Grid2/Grid2.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SxProps, SystemProps } from '@mui/system';
|
|
2
2
|
import { OverridableComponent, OverrideProps } from '@mui/types';
|
|
3
3
|
import { Theme, Breakpoint } from '../styles';
|
|
4
|
-
export type Grid2Slot = 'root';
|
|
5
4
|
type ResponsiveStyleValue<T> = T | Array<T | null> | {
|
|
6
5
|
[key in Breakpoint]?: T | null;
|
|
7
6
|
};
|
package/Grid2/grid2Classes.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export interface Grid2Classes {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `container={true}`. */
|
|
5
|
+
container: string;
|
|
6
|
+
}
|
|
7
|
+
export type Grid2ClassKey = keyof Grid2Classes;
|
|
3
8
|
export declare function getGrid2UtilityClass(slot: string): string;
|
|
4
|
-
declare const grid2Classes:
|
|
9
|
+
declare const grid2Classes: Grid2Classes;
|
|
5
10
|
export default grid2Classes;
|
package/Select/Select.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { FilledInputProps } from '../FilledInput';
|
|
|
11
11
|
export { SelectChangeEvent };
|
|
12
12
|
|
|
13
13
|
export interface BaseSelectProps<Value = unknown>
|
|
14
|
-
extends StandardProps<InputProps, 'value' | 'onChange'> {
|
|
14
|
+
extends StandardProps<InputProps, 'value' | 'onChange' | 'placeholder'> {
|
|
15
15
|
/**
|
|
16
16
|
* If `true`, the width of the popover will automatically be set according to the items inside the
|
|
17
17
|
* menu, otherwise it will be at least the width of the select input.
|
|
@@ -152,7 +152,10 @@ export interface BaseSelectProps<Value = unknown>
|
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
export interface FilledSelectProps
|
|
155
|
-
extends Omit<
|
|
155
|
+
extends Omit<
|
|
156
|
+
FilledInputProps,
|
|
157
|
+
'value' | 'onChange' | 'id' | 'classes' | 'inputProps' | 'placeholder'
|
|
158
|
+
> {
|
|
156
159
|
/**
|
|
157
160
|
* The variant to use.
|
|
158
161
|
* @default 'outlined'
|
|
@@ -161,7 +164,7 @@ export interface FilledSelectProps
|
|
|
161
164
|
}
|
|
162
165
|
|
|
163
166
|
export interface StandardSelectProps
|
|
164
|
-
extends Omit<InputProps, 'value' | 'onChange' | 'id' | 'classes' | 'inputProps'> {
|
|
167
|
+
extends Omit<InputProps, 'value' | 'onChange' | 'id' | 'classes' | 'inputProps' | 'placeholder'> {
|
|
165
168
|
/**
|
|
166
169
|
* The variant to use.
|
|
167
170
|
* @default 'outlined'
|
|
@@ -170,7 +173,10 @@ export interface StandardSelectProps
|
|
|
170
173
|
}
|
|
171
174
|
|
|
172
175
|
export interface OutlinedSelectProps
|
|
173
|
-
extends Omit<
|
|
176
|
+
extends Omit<
|
|
177
|
+
OutlinedInputProps,
|
|
178
|
+
'value' | 'onChange' | 'id' | 'classes' | 'inputProps' | 'placeholder'
|
|
179
|
+
> {
|
|
174
180
|
/**
|
|
175
181
|
* The variant to use.
|
|
176
182
|
* @default 'outlined'
|
package/index.js
CHANGED
package/modern/index.js
CHANGED
package/modern/version/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export const version = "6.1.
|
|
1
|
+
export const version = "6.1.9";
|
|
2
2
|
export const major = Number("6");
|
|
3
3
|
export const minor = Number("1");
|
|
4
|
-
export const patch = Number("
|
|
4
|
+
export const patch = Number("9");
|
|
5
5
|
export const prerelease = undefined;
|
|
6
6
|
export default version;
|
package/node/index.js
CHANGED
package/node/version/index.js
CHANGED
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.version = exports.prerelease = exports.patch = exports.minor = exports.major = exports.default = void 0;
|
|
7
|
-
const version = exports.version = "6.1.
|
|
7
|
+
const version = exports.version = "6.1.9";
|
|
8
8
|
const major = exports.major = Number("6");
|
|
9
9
|
const minor = exports.minor = Number("1");
|
|
10
|
-
const patch = exports.patch = Number("
|
|
10
|
+
const patch = exports.patch = Number("9");
|
|
11
11
|
const prerelease = exports.prerelease = undefined;
|
|
12
12
|
var _default = exports.default = version;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/material",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"prop-types": "^15.8.1",
|
|
36
36
|
"react-is": "^18.3.1",
|
|
37
37
|
"react-transition-group": "^4.4.5",
|
|
38
|
-
"@mui/system": "^6.1.8",
|
|
39
38
|
"@mui/types": "^7.2.19",
|
|
40
|
-
"@mui/
|
|
41
|
-
"@mui/utils": "^6.1.
|
|
39
|
+
"@mui/system": "^6.1.9",
|
|
40
|
+
"@mui/utils": "^6.1.9",
|
|
41
|
+
"@mui/core-downloads-tracker": "^6.1.9"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@emotion/react": "^11.5.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
47
47
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
48
48
|
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
49
|
-
"@mui/material-pigment-css": "^6.1.
|
|
49
|
+
"@mui/material-pigment-css": "^6.1.9"
|
|
50
50
|
},
|
|
51
51
|
"peerDependenciesMeta": {
|
|
52
52
|
"@types/react": {
|
|
@@ -50,6 +50,7 @@ export interface ThemeProviderProps<Theme = DefaultTheme> extends ThemeProviderC
|
|
|
50
50
|
* @default 'mui-color-scheme'
|
|
51
51
|
*/
|
|
52
52
|
colorSchemeStorageKey?: string;
|
|
53
|
+
noSsr?: boolean;
|
|
53
54
|
/**
|
|
54
55
|
* Disable CSS transitions when switching between modes or color schemes
|
|
55
56
|
* @default false
|
package/styles/overrides.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ import { FormGroupClassKey } from '../FormGroup';
|
|
|
45
45
|
import { FormHelperTextClassKey } from '../FormHelperText';
|
|
46
46
|
import { FormLabelClassKey } from '../FormLabel';
|
|
47
47
|
import { GridClassKey } from '../Grid';
|
|
48
|
-
import {
|
|
48
|
+
import { Grid2ClassKey } from '../Grid2';
|
|
49
49
|
import { IconButtonClassKey } from '../IconButton';
|
|
50
50
|
import { IconClassKey } from '../Icon';
|
|
51
51
|
import { ImageListClassKey } from '../ImageList';
|
|
@@ -190,7 +190,7 @@ export interface ComponentNameToClassKey {
|
|
|
190
190
|
MuiFormHelperText: FormHelperTextClassKey;
|
|
191
191
|
MuiFormLabel: FormLabelClassKey;
|
|
192
192
|
MuiGrid: GridClassKey;
|
|
193
|
-
MuiGrid2:
|
|
193
|
+
MuiGrid2: Grid2ClassKey;
|
|
194
194
|
MuiIcon: IconClassKey;
|
|
195
195
|
MuiIconButton: IconButtonClassKey;
|
|
196
196
|
MuiImageList: ImageListClassKey;
|
package/version/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export const version = "6.1.
|
|
1
|
+
export const version = "6.1.9";
|
|
2
2
|
export const major = Number("6");
|
|
3
3
|
export const minor = Number("1");
|
|
4
|
-
export const patch = Number("
|
|
4
|
+
export const patch = Number("9");
|
|
5
5
|
export const prerelease = undefined;
|
|
6
6
|
export default version;
|