@mui/private-theming 5.11.11 โ 5.11.13
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 +187 -2
- package/index.js +1 -1
- package/legacy/index.js +1 -1
- package/modern/index.js +1 -1
- package/node/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,190 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.11.13
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.11.12..master -->
|
|
6
|
+
|
|
7
|
+
_Mar 14, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 13 contributors who made this release possible. Here are some highlights โจ:
|
|
10
|
+
|
|
11
|
+
- @michaldudak added an option for [disabling the generation](https://mui.com/base/getting-started/customization/#disabling-default-css-classes) of the default classes in MUI Base (#35963)
|
|
12
|
+
- other ๐ bug fixes and ๐ documentation improvements.
|
|
13
|
+
|
|
14
|
+
### `@mui/material@5.11.13`
|
|
15
|
+
|
|
16
|
+
- ​<!-- 13 -->[core] Bump MUI Base's version in Material UI (#36492) @hbjORbj
|
|
17
|
+
- ​<!-- 17 -->[material] Export `shouldSkipGeneratingVar` from Material UI (#36489) @siriwatknp
|
|
18
|
+
- ​<!-- 06 -->[Typography] Apply font properties to typography inherit variant (#33621) @oyar99
|
|
19
|
+
|
|
20
|
+
### `@mui/base@5.0.0-alpha.121`
|
|
21
|
+
|
|
22
|
+
- ​<!-- 16 -->[base] Disable classes generation via a context (#35963) @michaldudak
|
|
23
|
+
- ​<!-- 15 -->[useMenu][base] Add return interface for useMenu hook (#36376) @HeVictor
|
|
24
|
+
- ​<!-- 05 -->[useBadge] Add interface for the return value (#36042) @skevprog
|
|
25
|
+
- ​<!-- 04 -->[useMenuItem] Add explicit return type (#36359) @rayrw
|
|
26
|
+
- ​<!-- 03 -->[useTabs] Add explicit return type (#36047) @sai6855
|
|
27
|
+
|
|
28
|
+
### Docs
|
|
29
|
+
|
|
30
|
+
- ​<!-- 14 -->[blog] Update fields behavior on date pickers blog post (#36480) @joserodolfofreitas
|
|
31
|
+
- ​<!-- 12 -->[docs] Info markdown not rendering in Contributing Guide README (#36487) @hbjORbj
|
|
32
|
+
- ​<!-- 11 -->[docs] Remove 301 redirection to MUI X lab migration @oliviertassinari
|
|
33
|
+
- ​<!-- 10 -->[docs] Fix a grammar error (#36486) @hbjORbj
|
|
34
|
+
- ​<!-- 09 -->[docs] Add blog post notification for v6 release (#36446) @joserodolfofreitas
|
|
35
|
+
- ​<!-- 08 -->[docs] Update link to v5 docs (#36421) @m4theushw
|
|
36
|
+
- ​<!-- 07 -->[docs] Fix 404 in the API page links (#36419) @oliviertassinari
|
|
37
|
+
- ​<!-- 08 -->[docs][joy] Error in the exemplary Codesandbox of using Material UI and Joy UI together (#36462) @hbjORbj
|
|
38
|
+
- ​<!-- 06 -->[examples] Refactor to have better types in the Next.js + TypeScript examples (#36355) @erikian
|
|
39
|
+
- ​<!-- 02 -->[website] Fix layout shift when loading /blog/mui-x-v6/ @oliviertassinari
|
|
40
|
+
- ​<!-- 01 -->[website] Update stats (#36477) @hrutik7
|
|
41
|
+
|
|
42
|
+
All contributors of this release in alphabetical order: @erikian, @hbjORbj, @HeVictor, @hrutik7, @joserodolfofreitas, @m4theushw, @michaldudak, @oliviertassinari, @oyar99, @rayrw, @sai6855, @siriwatknp, @skevprog
|
|
43
|
+
|
|
44
|
+
## 5.11.12
|
|
45
|
+
|
|
46
|
+
<!-- generated comparing v5.11.11..master -->
|
|
47
|
+
|
|
48
|
+
_Mar 6, 2023_
|
|
49
|
+
|
|
50
|
+
A big thanks to the 17 contributors who made this release possible. Here are some highlights โจ:
|
|
51
|
+
|
|
52
|
+
- @michaldudak added the multiselect functionality to SelectUnstyled (#36274)
|
|
53
|
+
- @mnajdova updated `extendTheme` so that it can generate CSS variables with default values. This means that the `CssVarsProvider` is no longer required for Joy UI when using the default theme (#35739)
|
|
54
|
+
- other ๐ bug fixes and ๐ documentation improvements.
|
|
55
|
+
|
|
56
|
+
### `@mui/material@5.11.12`
|
|
57
|
+
|
|
58
|
+
- ​<!-- 30 -->[Autocomplete] Fix list scrolls to the top when new data is added on touch devices (#36231) @SaidMarar
|
|
59
|
+
- ​<!-- 29 -->[Autocomplete] Add `Mui-expanded` class (#33312) @Osman-Sodefa
|
|
60
|
+
- ​<!-- 24 -->[Dialog] Use the `id` prop provided to the `DialogTitle` component (#36353) @Kundan28
|
|
61
|
+
- ​<!-- 07 -->[Menu] Fix Menu Paper styles overriding in the theme (#36316) @Paatus
|
|
62
|
+
|
|
63
|
+
### `@mui/lab@5.0.0-alpha.122`
|
|
64
|
+
|
|
65
|
+
- ​<!-- 05 -->[TreeView] Fix Tree View inside shadow root crashes (#36225) @NoFr1ends
|
|
66
|
+
|
|
67
|
+
### `@mui/system@5.11.12`
|
|
68
|
+
|
|
69
|
+
#### Breaking changes
|
|
70
|
+
|
|
71
|
+
- ​<!-- 26 -->[core] Generate vars in `extendTheme` (#35739) @mnajdova
|
|
72
|
+
|
|
73
|
+
The `shouldSkipGeneratingVar` prop was moved from the `createCssVarsProvider`'s option to the `theme`. If the default theme does not use `extendTheme` from Material UI or Joy UI, it needs to be wrapped inside `unstable_createCssVarsTheme` - a util exported from the MUI System. Below is an example of how the migration should look like:
|
|
74
|
+
|
|
75
|
+
```diff
|
|
76
|
+
import {
|
|
77
|
+
unstable_createCssVarsProvider as createCssVarsProvider,
|
|
78
|
+
+ unstable_createCssVarsTheme as createCssVarsTheme,
|
|
79
|
+
} from '@mui/system';
|
|
80
|
+
|
|
81
|
+
const { CssVarsProvider } = createCssVarsProvider({
|
|
82
|
+
- theme: {
|
|
83
|
+
+ theme: createCssVarsTheme({
|
|
84
|
+
colorSchemes: {
|
|
85
|
+
light: {
|
|
86
|
+
typography: {
|
|
87
|
+
htmlFontSize: '16px',
|
|
88
|
+
h1: {
|
|
89
|
+
fontSize: '1rem',
|
|
90
|
+
fontWeight: 500,
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
+ shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1',
|
|
96
|
+
- },
|
|
97
|
+
+ }),
|
|
98
|
+
defaultColorScheme: 'light',
|
|
99
|
+
- shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1',
|
|
100
|
+
});
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Or you can define it directly in the theme prop:
|
|
104
|
+
|
|
105
|
+
```diff
|
|
106
|
+
<CssVarsProvider
|
|
107
|
+
+ theme={createCssVarsProvider({
|
|
108
|
+
+ // other theme keys
|
|
109
|
+
+ shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1'
|
|
110
|
+
+ })} />
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
This breaking change **only** affects experimental APIs
|
|
114
|
+
|
|
115
|
+
### `@mui/base@5.0.0-alpha.120`
|
|
116
|
+
|
|
117
|
+
#### Breaking changes
|
|
118
|
+
|
|
119
|
+
- ​<!-- 27 -->[Select][base] Add the multiselect functionality to SelectUnstyled (#36274) @michaldudak
|
|
120
|
+
|
|
121
|
+
The MultiSelectUnstyled was removed. The `SelectUnstyled` component with the `multiple` prop should be used instead. Additionally, the SelectUnstyledProps received a second generic parameter: `Multiple extends boolean`. If you deal with strictly single- or multi-select components, you can hard-code this parameter to `false` or `true`, respectively. Below is an example of how the migration should look like:
|
|
122
|
+
|
|
123
|
+
```diff
|
|
124
|
+
-import MultiSelectUnstyled from '@mui/base/MultiSelectUnstyled';
|
|
125
|
+
+import SelectUnstyled from '@mui/base/SelectUnstyled';
|
|
126
|
+
|
|
127
|
+
export default App() {
|
|
128
|
+
-return <MultiSelectUnstyled />
|
|
129
|
+
+return <SelectUnstyled multiple />
|
|
130
|
+
}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
#### Changes
|
|
134
|
+
|
|
135
|
+
- ​<!-- 34 -->[useSnackBar] Add explicit return type (#36052) @sai6855
|
|
136
|
+
- ​<!-- 04 -->[useMenu] Fix `import type` syntax (#36411) @ZeeshanTamboli
|
|
137
|
+
- ​<!-- 03 -->[useSwitch] Add explicit return type (#36050) @sai6855
|
|
138
|
+
|
|
139
|
+
### `@mui/joy@5.0.0-alpha.70`
|
|
140
|
+
|
|
141
|
+
#### Breaking changes
|
|
142
|
+
|
|
143
|
+
- ​<!-- 09 -->[Joy] Change CSS variables naming for components (#36282) @hbjORbj
|
|
144
|
+
|
|
145
|
+
Joy UI has new naming standards of the CSS variables for its components. Below is an example of how the migration should look like:
|
|
146
|
+
|
|
147
|
+
```diff
|
|
148
|
+
-<List sx={{ py: 'var(--List-divider-gap)' }}>
|
|
149
|
+
+<List sx={{ py: 'var(--ListDivider-gap)' }}>
|
|
150
|
+
-<Switch sx={{ '--Switch-track-width': '40px' }}>
|
|
151
|
+
+<Switch sx={{ '--Switch-trackWidth': '40px' }}>
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
#### Changes
|
|
155
|
+
|
|
156
|
+
- ​<!-- 28 -->[Autocomplete][joy] Add disabled class to the popup indicator (#36397) @hbjORbj
|
|
157
|
+
- ​<!-- 08 -->[Joy] Fix broken loading button in Safari (#36298) @Kuba429
|
|
158
|
+
|
|
159
|
+
### Docs
|
|
160
|
+
|
|
161
|
+
- ​<!-- 33 -->[docs][joy] Clarify when `CssVarsProvider` is required (#36410) @mnajdova
|
|
162
|
+
- ​<!-- 32 -->MUI X v6 release announcement (#36398) @joserodolfofreitas
|
|
163
|
+
- ​<!-- 23 -->[docs] Add instructions for deploying docs without a release (#36301) @cherniavskii
|
|
164
|
+
- ​<!-- 22 -->[docs] Fix 301 redirections on the docs @oliviertassinari
|
|
165
|
+
- ​<!-- 21 -->[docs] Update MUI X banner to reflect stable release (#36354) @MBilalShafi
|
|
166
|
+
- ​<!-- 20 -->[docs] Clarify the future plan for integrating MUI Base in Material UI (#36365) @mnajdova
|
|
167
|
+
- ​<!-- 19 -->[docs] Improve visual look of loose lists (#36190) @oliviertassinari
|
|
168
|
+
- ​<!-- 18 -->[docs] Fix @mui/styles example links (#36331) @oliviertassinari
|
|
169
|
+
- ​<!-- 17 -->[docs][joy] Build TS versions for List component demos (#36382) @sai6855
|
|
170
|
+
- ​<!-- 16 -->[docs][joy] Build TS versions for Radio component demos (#36406) @sai6855
|
|
171
|
+
- ​<!-- 15 -->[docs][joy] Build TS versions for Checkbox component demos (#36381) @sai6855
|
|
172
|
+
- ​<!-- 14 -->[docs][joy] Build TS versions for Select component demos (#36380) @sai6855
|
|
173
|
+
- ​<!-- 13 -->[docs][joy] Build TS versions for Typography component demos (#36378) @varunmulay22
|
|
174
|
+
- ​<!-- 12 -->[docs][joy] Add typescript demos for `Divider` (#36374) @sai6855
|
|
175
|
+
- ​<!-- 11 -->[docs][joy] Build TS versions for Textarea component demos (#36371) @varunmulay22
|
|
176
|
+
- ​<!-- 10 -->[docs][joy] Build TS versions for Link component demos (#36366) @hbjORbj
|
|
177
|
+
|
|
178
|
+
### Core
|
|
179
|
+
|
|
180
|
+
- ​<!-- 31 -->Revert "Bump rimraf to ^4.1.3" (#36420) @mnajdova
|
|
181
|
+
- ​<!-- 25 -->[core] Fix test utils types and external `buildApiUtils` usage issues (#36310) @LukasTy
|
|
182
|
+
- ​<!-- 06 -->[test] Remove duplicate `combobox` role queries in Autocomplete tests (#36394) @ZeeshanTamboli
|
|
183
|
+
- ​<!-- 02 -->[website] Clarify redistribution @oliviertassinari
|
|
184
|
+
- ​<!-- 01 -->[website] Sync /about page (#36334) @oliviertassinari
|
|
185
|
+
|
|
186
|
+
All contributors of this release in alphabetical order: @cherniavskii, @hbjORbj, @joserodolfofreitas, @Kuba429, @Kundan28, @LukasTy, @MBilalShafi, @michaldudak, @mnajdova, @NoFr1ends, @oliviertassinari, @Osman-Sodefa, @Paatus, @sai6855, @SaidMarar, @varunmulay22, @ZeeshanTamboli
|
|
187
|
+
|
|
3
188
|
## 5.11.11
|
|
4
189
|
|
|
5
190
|
<!-- generated comparing v5.11.10..master -->
|
|
@@ -2098,7 +2283,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
|
|
|
2098
2283
|
- ๐งช Exported Grid v2 as `Unstable_Grid2` (#33479) @siriwatknp
|
|
2099
2284
|
- ๐ Added a guide for using Joy UI and Material UI together (#33396) @siriwatknp
|
|
2100
2285
|
- ๐ Fixed a few bugs in Material UI components. Thanks to @ZeeshanTamboli, @ivan-ngchakming, and @joebingham-wk.
|
|
2101
|
-
- โ ๏ธ **[BREAKING CHANGE]** Date pickers were removed from the lab. Learn how to migrate by visiting the [migration guide](https://mui.com/x/
|
|
2286
|
+
- โ ๏ธ **[BREAKING CHANGE]** Date pickers were removed from the lab. Learn how to migrate by visiting the [migration guide](https://mui.com/x/migration/migration-pickers-lab/). (#33386) @flaviendelangle
|
|
2102
2287
|
- many other ๐ bug fixes and ๐ documentation improvements
|
|
2103
2288
|
- our documentation site is now running with React 18! (#33196) @mnajdova
|
|
2104
2289
|
|
|
@@ -2124,7 +2309,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
|
|
|
2124
2309
|
|
|
2125
2310
|
- [lab] Remove the pickers (#33386) @flaviendelangle
|
|
2126
2311
|
|
|
2127
|
-
The pickers are moved to MUI X, check out the [migration guide](https://mui.com/x/
|
|
2312
|
+
The pickers are moved to MUI X, check out the [migration guide](https://mui.com/x/migration/migration-pickers-lab/).
|
|
2128
2313
|
|
|
2129
2314
|
**Changes**
|
|
2130
2315
|
|
package/index.js
CHANGED
package/legacy/index.js
CHANGED
package/modern/index.js
CHANGED
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/private-theming",
|
|
3
|
-
"version": "5.11.
|
|
3
|
+
"version": "5.11.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Private - The React theme context to be shared between `@mui/styles` and `@mui/material`.",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.21.0",
|
|
39
|
-
"@mui/utils": "^5.11.
|
|
39
|
+
"@mui/utils": "^5.11.13",
|
|
40
40
|
"prop-types": "^15.8.1"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|