@mui/styled-engine-sc 5.10.3 โ 5.10.14
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 +939 -212
- package/GlobalStyles/GlobalStyles.js +0 -4
- package/StyledEngineProvider/StyledEngineProvider.js +0 -4
- package/index.js +3 -8
- package/legacy/GlobalStyles/GlobalStyles.js +2 -6
- package/legacy/StyledEngineProvider/StyledEngineProvider.js +1 -5
- package/legacy/index.js +3 -9
- package/modern/GlobalStyles/GlobalStyles.js +0 -4
- package/modern/StyledEngineProvider/StyledEngineProvider.js +0 -4
- package/modern/index.js +3 -8
- package/node/GlobalStyles/GlobalStyles.js +0 -7
- package/node/GlobalStyles/index.js +0 -2
- package/node/StyledEngineProvider/StyledEngineProvider.js +0 -8
- package/node/StyledEngineProvider/index.js +0 -2
- package/node/index.js +3 -17
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,726 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## v5.10.14
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.10.13..master -->
|
|
6
|
+
|
|
7
|
+
_Nov 14, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 17 contributors who made this release possible. Here are some highlights โจ:
|
|
10
|
+
|
|
11
|
+
- ๐ @siriwatknp added the Autocomplete component to the Joy UI (#34315)
|
|
12
|
+
- โฟ @sfavello improved the accessibility of the Material UI's Autocomplete by adding support for the Delete key (#33822)
|
|
13
|
+
- Many other ๐ bug fixes, ๐ documentation, and โ๏ธ infrastructure improvements.
|
|
14
|
+
|
|
15
|
+
### `@mui/material@5.10.14`
|
|
16
|
+
|
|
17
|
+
- [Material UI] Add `palette.background.defaultChannel` token (#35061) @siriwatknp
|
|
18
|
+
- [Autocomplete] Remove tags with the Delete key (#33822) @sfavello
|
|
19
|
+
- [IconButton] custom color causes type error (#34521) @kushagra010
|
|
20
|
+
|
|
21
|
+
### `@mui/system@5.10.14`
|
|
22
|
+
|
|
23
|
+
- [Unstable_Gridv2] sorted responsize keys based on breakpoint value (#34987) @sai6855
|
|
24
|
+
|
|
25
|
+
### `@mui/joy@5.0.0-alpha.54`
|
|
26
|
+
|
|
27
|
+
- [Joy] Export `FormControl`, `LinearProgress` and `ListSubheader` components from `@mui/joy` (#35003) @Studio384
|
|
28
|
+
- [Joy] Miscellaneous fixes (#35044) @siriwatknp
|
|
29
|
+
- [Joy] Add `Autocomplete` component (#34315) @siriwatknp
|
|
30
|
+
- [Joy] Saturate a bit the gray palette (#35148) @danilo-leal
|
|
31
|
+
- [Autocomplete][joy] Fix types (#35153) @siriwatknp
|
|
32
|
+
|
|
33
|
+
### Docs
|
|
34
|
+
|
|
35
|
+
- [blog] Fix font size of code blocks on iOS @oliviertassinari
|
|
36
|
+
- [docs] Accessibility - increase default contrastThreshold for WCAG AA compliance (#34901) @kennethbigler
|
|
37
|
+
- [docs] Correct the keepMounted section on the Drawer page (#35076) @michaldudak
|
|
38
|
+
- [docs] Fix code editor styles mismatches (#35108) @oliviertassinari
|
|
39
|
+
- [docs] Allows to access the next MUI-X (#34798) @alexfauquette
|
|
40
|
+
- [docs] Fix bugs with live edit demos (#35106) @oliviertassinari
|
|
41
|
+
- [docs] Fix `MarkdownElement` regression from adding CSS variables (#35096) @siriwatknp
|
|
42
|
+
- [docs] Add a new gold sponsor (#35089) @hbjORbj
|
|
43
|
+
- [docs] Fix scroll issue on expanded live demos (#35064) @bharatkashyap
|
|
44
|
+
- [docs] Improve alignment of the sponsors @oliviertassinari
|
|
45
|
+
- [docs] Improve code font family v2 (#35053) @oliviertassinari
|
|
46
|
+
- [docs] Upgrade to Next.js 13 (#35001) @mnajdova
|
|
47
|
+
- [docs] Fix typo in changelog @oliviertassinari
|
|
48
|
+
- [docs] Update Joy UI templates to use latest components (#35058) @siriwatknp
|
|
49
|
+
- [website] Fix design kits showcase throwing an error (#35093) @cherniavskii
|
|
50
|
+
- [website] Fix margin bug on CTA @oliviertassinari
|
|
51
|
+
- [website] Link respective repositories in product pages (#35046) @sidtohan
|
|
52
|
+
- [website] Migrate blog pages to use CSS theme variables (#34976) @siriwatknp
|
|
53
|
+
- [website] Update DoiT International logo and links with new brand (#35030) @ofir5300
|
|
54
|
+
- [website] Improve visual design app bar (#35111) @oliviertassinari
|
|
55
|
+
|
|
56
|
+
### Core
|
|
57
|
+
|
|
58
|
+
- [core] Convert scripts to ES modules (#35036) @michaldudak
|
|
59
|
+
- [core] Show the whole version to make blame easier @oliviertassinari
|
|
60
|
+
- [core] Polish GitHub Action version @oliviertassinari
|
|
61
|
+
- [core] Ignore icons to speed up CodeQL @oliviertassinari
|
|
62
|
+
- [core] Feedback on branch protection @oliviertassinari
|
|
63
|
+
- [core] Revert CI (#35098) @siriwatknp
|
|
64
|
+
- [core] Fix job name to match the CI (#35097) @siriwatknp
|
|
65
|
+
- [core] ESLint fixes for tests (#34924) @Janpot
|
|
66
|
+
- [core] Ignore unrelated folders from github actions (#35028) @siriwatknp
|
|
67
|
+
- [core] Use pretty-quick instead of custom script (#34062) @Janpot
|
|
68
|
+
|
|
69
|
+
All contributors of this release in alphabetical order: @alexfauquette, @bharatkashyap, @cherniavskii, @danilo-leal, @hbjORbj, @Janpot, @kennethbigler, @kushagra010, @michaldudak, @mnajdova, @ofir5300, @oliviertassinari, @sai6855, @sfavello, @sidtohan, @siriwatknp, @Studio384
|
|
70
|
+
|
|
71
|
+
## v5.10.13
|
|
72
|
+
|
|
73
|
+
<!-- generated comparing v5.10.12..master -->
|
|
74
|
+
|
|
75
|
+
_Nov 7, 2022_
|
|
76
|
+
|
|
77
|
+
A big thanks to the 12 contributors who made this release possible. Here are some highlights โจ:
|
|
78
|
+
|
|
79
|
+
- ๐ The slots API has been introduced to the Material UI package by @michaldudak (#34873).
|
|
80
|
+
- ๐ฅ Live editing of demos is stabilized by @oliviertassinari (#34870).
|
|
81
|
+
- Many other ๐ bug fixes, ๐ documentation, and โ๏ธ infrastructure improvements.
|
|
82
|
+
|
|
83
|
+
### `@mui/material@5.10.13`
|
|
84
|
+
|
|
85
|
+
- ​<!-- 08 -->[material-ui] Introduce the slots API (#34873) @michaldudak
|
|
86
|
+
- ​<!-- 07 -->[NativeSelectInput] Support CSS theme variables (#34975) @siriwatknp
|
|
87
|
+
|
|
88
|
+
### `@mui/system@5.10.13`
|
|
89
|
+
|
|
90
|
+
- ​<!-- 05 -->[system] Add a missing key attribute in getInitColorScheme to fix key issue (#34992) @akshaya-venkatesh8
|
|
91
|
+
|
|
92
|
+
### `@mui/base@5.0.0-alpha.105`
|
|
93
|
+
|
|
94
|
+
- ​<!-- 26 -->[base] Avoid calling setState during renders (#34916) @Janpot
|
|
95
|
+
|
|
96
|
+
### `@mui/joy@5.0.0-alpha.53`
|
|
97
|
+
|
|
98
|
+
- ​<!-- 06 -->[Select] Fix custom options menu not opening on Avatar click (#34648) @shivam1646
|
|
99
|
+
|
|
100
|
+
### Docs
|
|
101
|
+
|
|
102
|
+
- ​<!-- 20 -->[docs] Add a guide for setting dark mode by default (#34839) @siriwatknp
|
|
103
|
+
- ​<!-- 19 -->[docs] Improve code font family (#35027) @oliviertassinari
|
|
104
|
+
- ​<!-- 18 -->[docs] Revise and expand Joy UI "Alert" page (#34838) @samuelsycamore
|
|
105
|
+
- ​<!-- 17 -->[docs] Live demos v2 (#34870) @oliviertassinari
|
|
106
|
+
- ​<!-- 16 -->[docs] Fix 301 links in the docs @oliviertassinari
|
|
107
|
+
- ​<!-- 15 -->[docs] Fix code display in RTL (#34951) @oliviertassinari
|
|
108
|
+
- ​<!-- 14 -->[docs] New API design rule disabled > disable (#34972) @oliviertassinari
|
|
109
|
+
- ​<!-- 13 -->[docs] Explain the usage of Select's onOpen/onClose in the uncontrolled mode (#34755) @michaldudak
|
|
110
|
+
- ​<!-- 12 -->[docs] Add a new gold sponsor (#34984) @hbjORbj
|
|
111
|
+
- ​<!-- 11 -->[docs] Add author and published_time meta tags (#34382) @alexfauquette
|
|
112
|
+
- ​<!-- 10 -->[examples] Next.js examples v13 - fonts (#34971) @PetroSilenius
|
|
113
|
+
- ​<!-- 09 -->[examples] Next.js examples v13 - links (#34970) @PetroSilenius
|
|
114
|
+
- ​<!-- 04 -->[website] Update IPinfo.AI name @oliviertassinari
|
|
115
|
+
- ​<!-- 03 -->[website] Remove date-io from the docs dependencies (#34748) @michaldudak
|
|
116
|
+
- ​<!-- 02 -->[website] Migrate Design-kits page to use CSS theme variables (#34920) @jesrodri
|
|
117
|
+
- ​<!-- 01 -->[website] Migrate Pricing page to use CSS theme variables (#34917) @trizotti
|
|
118
|
+
|
|
119
|
+
### Core
|
|
120
|
+
|
|
121
|
+
- ​<!-- 25 -->[core] Remove default access to GitHub action scopes @oliviertassinari
|
|
122
|
+
- ​<!-- 24 -->[core] Fix Pinned-Dependencies @oliviertassinari
|
|
123
|
+
- ​<!-- 23 -->[core] Fix typos in the component name @oliviertassinari
|
|
124
|
+
- ​<!-- 22 -->[core] Fix scorecard regression @oliviertassinari
|
|
125
|
+
- ​<!-- 21 -->[core] Create the docs theme once (#34954) @oliviertassinari
|
|
126
|
+
|
|
127
|
+
All contributors of this release in alphabetical order: @akshaya-venkatesh8, @alexfauquette, @hbjORbj, @Janpot, @jesrodri, @michaldudak, @oliviertassinari, @PetroSilenius, @samuelsycamore, @shivam1646, @siriwatknp, @trizotti
|
|
128
|
+
|
|
129
|
+
## v5.10.12
|
|
130
|
+
|
|
131
|
+
<!-- generated comparing v5.10.11..master -->
|
|
132
|
+
|
|
133
|
+
_Oct 31, 2022_
|
|
134
|
+
|
|
135
|
+
A big thanks to the 16 contributors who made this release possible. Here are some highlights โจ:
|
|
136
|
+
|
|
137
|
+
- ๐ The LinearProgress component has been added to Joy UI by @hbjORbj (#34514).
|
|
138
|
+
- Many other ๐ bug fixes, ๐ documentation, and โ๏ธ infrastructure improvements.
|
|
139
|
+
|
|
140
|
+
### `@mui/material@5.10.12`
|
|
141
|
+
|
|
142
|
+
- ​<!-- 37 -->[Chip] Don't override icon color (#34247) @emlai
|
|
143
|
+
- ​<!-- 09 -->[Radio] Skip default hover style when disableRipple is set (#34902) @VinceCYLiao
|
|
144
|
+
- ​<!-- 08 -->[SwipeableDrawer] Fix React 18 issues (#34505) @mnajdova
|
|
145
|
+
- ​<!-- 05 -->[Tooltip] Save a few bytes (#34853) @oliviertassinari
|
|
146
|
+
|
|
147
|
+
### `@mui/base@5.0.0-alpha.104`
|
|
148
|
+
|
|
149
|
+
- ​<!-- 38 -->[ButtonUnstyled] Update to render as link when href or to is provided (#34337) @EduardoSCosta
|
|
150
|
+
|
|
151
|
+
### `@mui/joy@5.0.0-alpha.52`
|
|
152
|
+
|
|
153
|
+
- ​<!-- 36 -->[Joy][circularprogress] Prevent new styles from being generated when `value` changes (#34897) @hbjORbj
|
|
154
|
+
- ​<!-- 11 -->[Joy] Add color inversion feature (#32511) @siriwatknp
|
|
155
|
+
- ​<!-- 10 -->[Joy] Add `LinearProgress` component (#34514) @hbjORbj
|
|
156
|
+
|
|
157
|
+
### Docs
|
|
158
|
+
|
|
159
|
+
- ​<!-- 40 -->[blog] Add blog post for high-level overview of all MUI products (#34325) @samuelsycamore
|
|
160
|
+
- ​<!-- 39 -->[blog] Fix hydration mistmatch (#34857) @oliviertassinari
|
|
161
|
+
- ​<!-- 21 -->[docs] Revise the Joy UI "Aspect Ratio" page (#34858) @samuelsycamore
|
|
162
|
+
- ​<!-- 20 -->[docs] Fix Safari code font size (#34859) @oliviertassinari
|
|
163
|
+
- ​<!-- 19 -->[docs] Fix spelling mistake (#34955) @punithnayak
|
|
164
|
+
- ​<!-- 18 -->[docs] Fix 404 link of supported Material UI components @oliviertassinari
|
|
165
|
+
- ​<!-- 17 -->[docs] Fix Safari button misalignment (#34861) @oliviertassinari
|
|
166
|
+
- ​<!-- 16 -->[docs] Fix typo in docs title (#34926) @PunitSoniME
|
|
167
|
+
- ​<!-- 25 -->[docs] Fix missing emotion prefixes (#34958) @oliviertassinari
|
|
168
|
+
- ​<!-- 26 -->[docs] Improve UI display for copy code (#34950) @oliviertassinari
|
|
169
|
+
- ​<!-- 15 -->[docs] Standardize all MUI Core "Usage" pages (#34183) @samuelsycamore
|
|
170
|
+
- ​<!-- 14 -->[docs] Update templates' readme files to include required dependencies (#34757) @michaldudak
|
|
171
|
+
- ​<!-- 13 -->[docs] Fix inconsistent theme colors when applying custom colors in playground (#34866) @cherniavskii
|
|
172
|
+
- ​<!-- 12 -->[docs] Fix typo in bottom-navigation.md (#34884) @RoodyCode
|
|
173
|
+
- ​<!-- 07 -->[website] Migrate about-us page to use CSS theme variables (#34919) @brianlu2610
|
|
174
|
+
- ​<!-- 06 -->[website] Migrate Product-Templates page to use CSS theme variables (#34913) @EduardoSCosta
|
|
175
|
+
- ​<!-- 05 -->[website] Migrate career page to use CSS theme variables (#34908) @the-mgi
|
|
176
|
+
- ​<!-- 04 -->[website] Update MUI X open and future roles + about page (#34894) @DanailH
|
|
177
|
+
- ​<!-- 03 -->[website] Remove one DOM node (#34960) @oliviertassinari
|
|
178
|
+
- ​<!-- 02 -->[website] Use `span` for icon image (#34914) @siriwatknp
|
|
179
|
+
- ​<!-- 01 -->[website] Fix subscribe input with Safari (#34869) @oliviertassinari
|
|
180
|
+
|
|
181
|
+
### Core
|
|
182
|
+
|
|
183
|
+
- ​<!-- 35 -->[core] Ignore compiled icons in CodeQL @oliviertassinari
|
|
184
|
+
- ​<!-- 34 -->[core] Add OSSF Scorecard action (#34854) @oliviertassinari
|
|
185
|
+
- ​<!-- 40 -->[core] Fix extra GitHub Action permission (#34496) @sashashura
|
|
186
|
+
- ​<!-- 33 -->[core] Fix duplicate id @oliviertassinari
|
|
187
|
+
- ​<!-- 41 -->[core] Enforce import \* as React (#34878) @da0x
|
|
188
|
+
- ​<!-- 32 -->[core] A couple of simply fixes from #34870 (#34953) @oliviertassinari
|
|
189
|
+
- ​<!-- 31 -->[core] Migrate outdated pattern to convention @oliviertassinari
|
|
190
|
+
- ​<!-- 30 -->[core] Pin GitHub Actions dependencies (#34929) @renovate[bot]
|
|
191
|
+
- ​<!-- 29 -->[core] Make the reproduction more important in the bug template (#34875) @oliviertassinari
|
|
192
|
+
- ​<!-- 28 -->[core] Fix docs GitHub API rate limit (#34856) @oliviertassinari
|
|
193
|
+
- ​<!-- 42 -->[core] Fix eslint issues (#34964) @mnajdova
|
|
194
|
+
- ​<!-- 27 -->[core] Pin GitHub Action to digests (#34855) @oliviertassinari
|
|
195
|
+
- ​<!-- 26 -->[core] Fix permissions in workflow @oliviertassinari
|
|
196
|
+
- ​<!-- 25 -->[core] memoize context values for react/jsx-no-constructed-context-values (#34849) @Janpot
|
|
197
|
+
- ​<!-- 24 -->[core] Fix @typescript-eslint/default-param-last issues (#34846) @Janpot
|
|
198
|
+
- ​<!-- 23 -->[core] Fix HTML validation error (#34860) @oliviertassinari
|
|
199
|
+
- ​<!-- 22 -->[core] Fix duplicate CodeQL build @oliviertassinari
|
|
200
|
+
- ​<!-- 07 -->[test] Move Firefox tests to CircleCI (#34764) @oliviertassinari
|
|
201
|
+
- ​<!-- 06 -->[test] Use screen when possible for simplicity (#34890) @oliviertassinari
|
|
202
|
+
|
|
203
|
+
All contributors of this release in alphabetical order: @cherniavskii, @DanailH, @EduardoSCosta, @emlai, @hbjORbj, @Janpot, @michaldudak, @mnajdova, @oliviertassinari, @punithnayak, @PunitSoniME, @renovate[bot], @RoodyCode, @samuelsycamore, @siriwatknp, @VinceCYLiao
|
|
204
|
+
|
|
205
|
+
## v5.10.11
|
|
206
|
+
|
|
207
|
+
<!-- generated comparing v5.10.10..master -->
|
|
208
|
+
|
|
209
|
+
_Oct 25, 2022_
|
|
210
|
+
|
|
211
|
+
A big thanks to the 10 contributors who made this release possible. Here are some highlights โจ:
|
|
212
|
+
|
|
213
|
+
- ๐ง Moved `components` to `slots` prop starting at MUI Base to create consistency across products
|
|
214
|
+
- Many other ๐ bug fixes, ๐ documentation, and โ๏ธ infrastructure improvements
|
|
215
|
+
|
|
216
|
+
### `@mui/material@5.10.11`
|
|
217
|
+
|
|
218
|
+
- [InputBase] Fix `onInvalid` to use HTMLInputElement | HTMLTextAreaElement Element type (#33162) @KuSh
|
|
219
|
+
- [Alert] Add `components` and `componentsProps` props to allow close action overrides (#33582) @jake-collibra
|
|
220
|
+
|
|
221
|
+
### `@mui/base@5.0.0-alpha.103`
|
|
222
|
+
|
|
223
|
+
#### BREAKING CHANGE
|
|
224
|
+
|
|
225
|
+
- [base] `components` -> `slots` API rename (#34693) @michaldudak
|
|
226
|
+
|
|
227
|
+
- Change all occurrences ofย componentsย andย componentsPropsย props in Base components toย slotsย andย slotProps, respectively.
|
|
228
|
+
- Change casing ofย slots' fields to camelCase
|
|
229
|
+
|
|
230
|
+
```diff
|
|
231
|
+
-<SwitchUnstyled components={{Root: CustomRoot}} componentsProps={{rail: { className: 'custom-rail' }}} />
|
|
232
|
+
+<SwitchUnstyled slots={{root: CustomRoot}} slotProps={{rail: { className: 'custom-rail' }}} />
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
- [base] Make CSS class prefixes consistent (#33411) @michaldudak
|
|
236
|
+
|
|
237
|
+
**This is a breaking change for anyone who depends on the class names applied to Base components.**
|
|
238
|
+
If you use the `<component>UnstyledClasses` objects, you won't notice a difference. Only if you depend on the resulting class names (e.g. in CSS stylesheets), you'll have to adjust your code.
|
|
239
|
+
|
|
240
|
+
```diff
|
|
241
|
+
-.ButtonUnstyled-root { ... };
|
|
242
|
+
+.MuiButton-root { ... };
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
#### Changes
|
|
246
|
+
|
|
247
|
+
- [test] Test all Base components with describeConformanceUnstyled (#34825) @michaldudak
|
|
248
|
+
|
|
249
|
+
### `@mui/joy@5.0.0-alpha.51`
|
|
250
|
+
|
|
251
|
+
- [CircularProgress][joy] Fix classnames and add test (#34806) @hbjORbj
|
|
252
|
+
- [Joy] Allow string type for `size` prop in components (#34805) @hbjORbj
|
|
253
|
+
|
|
254
|
+
### Docs
|
|
255
|
+
|
|
256
|
+
- Revert "[docs] Fix search icons in other languages (#34823)" @oliviertassinari
|
|
257
|
+
- Revert "[core] Move SearchIcons to docs src folder (#34802)" @oliviertassinari
|
|
258
|
+
- Revert "[docs] Live demos (#34454)" @oliviertassinari
|
|
259
|
+
- Update the order of operations for pagination example so that slicing takes place after sorting. (#34189) @marceliwac
|
|
260
|
+
- [docs] Gatsby Description in Joy dark-mode (#34702) @pixelass
|
|
261
|
+
- [docs] Add notification for blogpost MUI X v6 alpha (#34809) @joserodolfofreitas
|
|
262
|
+
- [docs] Polish Crowdin config (#34852) @oliviertassinari
|
|
263
|
+
- [docs] Fix a few style standard deviations @oliviertassinari
|
|
264
|
+
- [docs] Enforce no trailing spaces (#34762) @oliviertassinari
|
|
265
|
+
- [docs] Enforce correct git diff format (#34765) @oliviertassinari
|
|
266
|
+
- [docs] Fix Toolpad docs 301 route (#34843) @bharatkashyap
|
|
267
|
+
- [docs] Replace initial value with theme white (#34822) @siriwatknp
|
|
268
|
+
- [docs] Remove localization redirects (#34844) @mnajdova
|
|
269
|
+
- [docs] Fix search icons in other languages (#34823) @siriwatknp
|
|
270
|
+
- [docs] Fix JavaScript capitalization @oliviertassinari
|
|
271
|
+
- [docs] Update new links to MD2 (#34848) @oliviertassinari
|
|
272
|
+
- [website] Update future work items on X landing page (#34810) @joserodolfofreitas
|
|
273
|
+
- [website] Add Toolpad docs to navigation (#34749) @bharatkashyap
|
|
274
|
+
|
|
275
|
+
### Core
|
|
276
|
+
|
|
277
|
+
- [core] Remove dead files (#34850) @oliviertassinari
|
|
278
|
+
- [core] Fix revert conflict @oliviertassinari
|
|
279
|
+
- [core] Fix a few CodeQL errors (#34766) @oliviertassinari
|
|
280
|
+
- [core] Harden GitHub Actions permissions (#34769) @oliviertassinari
|
|
281
|
+
- [core] Remove the codeowners file (#34876) @michaldudak
|
|
282
|
+
|
|
283
|
+
All contributors of this release in alphabetical order: @bharatkashyap, @hbjORbj, @jake-collibra, @joserodolfofreitas, @KuSh, @marceliwac, @michaldudak, @oliviertassinari, @pixelass, @siriwatknp
|
|
284
|
+
|
|
285
|
+
## 5.10.10
|
|
286
|
+
|
|
287
|
+
<!-- generated comparing v5.10.9..master -->
|
|
288
|
+
|
|
289
|
+
_Oct 18, 2022_
|
|
290
|
+
|
|
291
|
+
A big thanks to the 21 contributors who made this release possible. Here are some highlights โจ:
|
|
292
|
+
|
|
293
|
+
- ๐ Thanks to the efforts of @bharatkashyap and @nihgwu, we now have editable demos across our docs (#34454)!
|
|
294
|
+
- ๐ The Tooltip component has been added to Joy UI by @hbjORbj (#34509).
|
|
295
|
+
- โ๏ธ We started converting the remaining JS components in MUI Base to TypeScript.
|
|
296
|
+
@mbayucot finished the first PR with the conversion of the NoSsr code (#34735).
|
|
297
|
+
- And more ๐ bug fixes and ๐ documentation improvements.
|
|
298
|
+
|
|
299
|
+
### `@mui/material@5.10.10`
|
|
300
|
+
|
|
301
|
+
- [Popover] Fix paper position flash on open (#34546) @TheUnlocked
|
|
302
|
+
- [SwipeableDrawer] Make component `defaultProps` overridable (#34643) @hbjORbj
|
|
303
|
+
|
|
304
|
+
### `@mui/system@5.10.10`
|
|
305
|
+
|
|
306
|
+
- [system] Support CSS `grey` color in `sx` (#34548) @TheUnlocked
|
|
307
|
+
|
|
308
|
+
### `@mui/styles@5.10.10`
|
|
309
|
+
|
|
310
|
+
- [styles] Use memoized context in StylesProvider (#34637) @mohd-akram
|
|
311
|
+
|
|
312
|
+
### `@mui/joy@5.0.0-alpha.50`
|
|
313
|
+
|
|
314
|
+
- [Select][joy] Added hidden input element (#34657) @zee-bit
|
|
315
|
+
- [Slider][joy] Add global variant to slider (#34733) @siriwatknp
|
|
316
|
+
- [Tooltip][joy] Add component (#34509) @hbjORbj
|
|
317
|
+
|
|
318
|
+
### `@mui/base@5.0.0-alpha.102`
|
|
319
|
+
|
|
320
|
+
- [MultiSelect][base] Prevent the renderValue prop from being propagated to the DOM (#34698) @michaldudak
|
|
321
|
+
- [NoSsr] Convert code to TypeScript (#34735) @mbayucot
|
|
322
|
+
|
|
323
|
+
### Docs
|
|
324
|
+
|
|
325
|
+
- [docs] Fix the Autocomplete Highlighting example (#34184) @hayawata3626
|
|
326
|
+
- [docs] Fix typos in Base (Menu, Tabs) and Joy UI (Chip) (#34803) @rvrvrv
|
|
327
|
+
- [docs] Use new editing API in homepage demos (#34220) @m4theushw
|
|
328
|
+
- [docs] Live demos (#34454) @bharatkashyap
|
|
329
|
+
- [docs] Fix typos in Joy UI Switch (#34728) @ndresx
|
|
330
|
+
- [docs] Avoid scrollbar in the code demos (#34741) @oliviertassinari
|
|
331
|
+
- [docs] Revise the Joy UI "Automatic adjustment" page (#34614) @samuelsycamore
|
|
332
|
+
- [docs] Revise and rename the Joy UI "Perfect dark mode" page (#34613) @samuelsycamore
|
|
333
|
+
- [docs] Revise the Joy UI "Global variants" page (#34595) @samuelsycamore
|
|
334
|
+
- [docs] Basic link verification at PR level (#34588) @alexfauquette
|
|
335
|
+
- [docs] Add a missing comma in the customization example (#34617) @AbayKinayat
|
|
336
|
+
- [website] Clarify Pro/Premium support (#34607) @oliviertassinari
|
|
337
|
+
- [website] Fix home page dark mode flicker (#33545)
|
|
338
|
+
- [website] Update the state of the date pickers on the landing page (#34750) @joserodolfofreitas
|
|
339
|
+
|
|
340
|
+
### Core
|
|
341
|
+
|
|
342
|
+
- [core] Clean conditionals (#34772) @pedroprado010
|
|
343
|
+
- [core] Temporary remove the authorization (#34796) @siriwatknp
|
|
344
|
+
- [core] Avoid slower CI run statues @oliviertassinari
|
|
345
|
+
- [core] Improve the playground DX (#34739) @oliviertassinari
|
|
346
|
+
- [core] Link Netlify in the danger comment (#34688) @oliviertassinari
|
|
347
|
+
- [core] Fix CI after out of sync merge @oliviertassinari
|
|
348
|
+
- [core] Enforce straight quote (#34686) @oliviertassinari
|
|
349
|
+
- [core] Add code scanning via CodeQL (#34707) @DanailH
|
|
350
|
+
- [core] Fix some upcoming eslint issues (#34727) @oliviertassinari
|
|
351
|
+
- [core] Auto-fix upcoming eslint issues (#34644) @Janpot
|
|
352
|
+
- [core] Move SearchIcons to docs src folder (#34802)
|
|
353
|
+
- [test] Enable `react/no-unstable-nested-components` (#34518) @eps1lon
|
|
354
|
+
|
|
355
|
+
All contributors of this release in alphabetical order: @AbayKinayat, @alexfauquette, @bharatkashyap, @DanailH, @eps1lon, @hayawata3626, @hbjORbj, @Janpot, @joserodolfofreitas, @m4theushw, @mbayucot, @michaldudak, @mohd-akram, @ndresx, @oliviertassinari, @pedroprado010, @rvrvrv, @samuelsycamore, @siriwatknp, @TheUnlocked, @zee-bit
|
|
356
|
+
|
|
357
|
+
## 5.10.9
|
|
358
|
+
|
|
359
|
+
<!-- generated comparing v5.10.8..master -->
|
|
360
|
+
|
|
361
|
+
_Oct 10, 2022_
|
|
362
|
+
|
|
363
|
+
A big thanks to the 7 contributors who made this release possible. Here are some highlights โจ:
|
|
364
|
+
|
|
365
|
+
- ๐ [Joy] Button loading functionality has been added by @kushagra010 (#34658)
|
|
366
|
+
- And more ๐ bug fixes and ๐ documentation improvements.
|
|
367
|
+
|
|
368
|
+
### `@mui/material@5.10.9`
|
|
369
|
+
|
|
370
|
+
- ​<!-- 16 -->[Grid v2][system] Handle direction object prop for responsive design (#34574) @vanyaxk
|
|
371
|
+
- ​<!-- 03 -->[Slider] Fix unnecessary accessibility attribute in root element (#34610) @vanyaxk
|
|
372
|
+
|
|
373
|
+
### `@mui/system@5.10.9`
|
|
374
|
+
|
|
375
|
+
#### BREAKING CHANGE
|
|
376
|
+
|
|
377
|
+
- ​<!-- 17 -->[system] Fix color-scheme implementation (#34639) @siriwatknp
|
|
378
|
+
|
|
379
|
+
The `enableColorScheme` prop has been removed from `CssVarsProvider` and `getInitColorScheme` (both Material UI and Joy UI).
|
|
380
|
+
|
|
381
|
+
Migration:
|
|
382
|
+
|
|
383
|
+
- **Material UI**: you can enable the CSS color scheme via `<CssBaseline enableColorScheme />`.
|
|
384
|
+
- **Joy UI**: it is enabled automatically if you use `<CssBaseline />`, [see the docs](https://mui.com/joy-ui/react-css-baseline/).
|
|
385
|
+
|
|
386
|
+
#### Changes
|
|
387
|
+
|
|
388
|
+
- ​<!-- 02 -->[system] Fix typo in createCssVarsProvider (#34661) @HexM7
|
|
389
|
+
|
|
390
|
+
### `@mui/base@5.0.0-alpha.101`
|
|
391
|
+
|
|
392
|
+
- ​<!-- 01 -->[TrapFocus] Restore the previously exported type from @mui/material (#34601) @michaldudak
|
|
393
|
+
|
|
394
|
+
### `@mui/joy@5.0.0-alpha.49`
|
|
395
|
+
|
|
396
|
+
- ​<!-- 04 -->[Joy] Add button loading functionality (#34658) @kushagra010
|
|
397
|
+
|
|
398
|
+
### Docs
|
|
399
|
+
|
|
400
|
+
- ​<!-- 18 -->[docs] Revert #34541 (#34700) @michaldudak
|
|
401
|
+
- ​<!-- 15 -->[blog] Blog post for MUI X v6 alpha zero (#34424) @joserodolfofreitas
|
|
402
|
+
- ​<!-- 09 -->[docs] Improve Joy UI tutorial demo (#34653) @oliviertassinari
|
|
403
|
+
- ​<!-- 08 -->[docs] Explain how SelectUnstyled renders a hidden input (#34638) @michaldudak
|
|
404
|
+
- ​<!-- 07 -->[docs] Fix Taiwan description (#34611) @oliviertassinari
|
|
405
|
+
- ​<!-- 06 -->[docs] Fix codesandbox export with dayjs (#34619) @oliviertassinari
|
|
406
|
+
- ​<!-- 05 -->[docs] Explain the purpose of renderGroup prop (#34066) @michaldudak
|
|
407
|
+
|
|
408
|
+
### Core
|
|
409
|
+
|
|
410
|
+
- ​<!-- 14 -->[core] Make useForkRef variadic (#27939) @michaldudak
|
|
411
|
+
- ​<!-- 13 -->[core] Speedup of yarn install in the CI (#34632) @oliviertassinari
|
|
412
|
+
- ​<!-- 12 -->[core] Fix markdown loader on Windows (#34623) @michaldudak
|
|
413
|
+
- ​<!-- 11 -->[core] Update changelog for version v5.10.8 (#34593) @mnajdova
|
|
414
|
+
- ​<!-- 10 -->[core] Update root package.json version (#34592) @mnajdova
|
|
415
|
+
|
|
416
|
+
All contributors of this release in alphabetical order: @HexM7, @joserodolfofreitas, @kushagra010, @michaldudak, @mnajdova, @oliviertassinari, @vanyaxk
|
|
417
|
+
|
|
418
|
+
## 5.10.8
|
|
419
|
+
|
|
420
|
+
<!-- generated comparing v5.10.7..master -->
|
|
421
|
+
|
|
422
|
+
_Oct 3, 2022_
|
|
423
|
+
|
|
424
|
+
A big thanks to the 18 contributors who made this release possible. Here are some highlights โจ:
|
|
425
|
+
|
|
426
|
+
- ๐ [SnackbarUnstyled](https://mui.com/base/react-snackbar/) component & headless hook are added to MUI Base (#33227) @ZeeshanTamboli
|
|
427
|
+
- ๐ [CSS variables documentation](https://mui.com/material-ui/experimental-api/css-theme-variables/overview/) for Material UI has been added by @siriwatknp (#33958)
|
|
428
|
+
- And more ๐ bug fixes and ๐ documentation improvements.
|
|
429
|
+
|
|
430
|
+
### `@mui/material@5.10.8`
|
|
431
|
+
|
|
432
|
+
- ​<!-- 28 -->[Autocomplete] Skip filtering when list of options is loading (#33278) @ndebeiss
|
|
433
|
+
- ​<!-- 13 -->[Fab] Add `disabled` class to FAB button (#34245) @meenarama
|
|
434
|
+
- ​<!-- 09 -->[l10n] Add Arabic Saudi Arabia (ar-SA) locale (#33340) @rolule
|
|
435
|
+
- ​<!-- 08 -->[l10n] zhTW refinement (#33391) @Aporim2051
|
|
436
|
+
- ​<!-- 07 -->[Popover] Add `ownerState` on the paper slot (#34445) @kabernardes
|
|
437
|
+
- ​<!-- 05 -->[Slider] Fixed incorrect marks displayed due to duplicate keys in range (#33526) @kskd1804
|
|
438
|
+
- ​<!-- 03 -->[TextField] Fix typo in FormControlLabel declaration file (#34535) @hghmn
|
|
439
|
+
|
|
440
|
+
### `@mui/base@5.0.0-alpha.100`
|
|
441
|
+
|
|
442
|
+
- ​<!-- 04 -->[SnackbarUnstyled] Create component and `useSnackbar` hook (#33227) @ZeeshanTamboli
|
|
443
|
+
|
|
444
|
+
### `@mui/joy@5.0.0-alpha.48`
|
|
445
|
+
|
|
446
|
+
- ​<!-- 12 -->[Joy] Fix `variantPlain` classname missing in few components (#34534) @hbjORbj
|
|
447
|
+
- ​<!-- 11 -->[Joy] Fix input decorator color and list padding (#34586) @siriwatknp
|
|
448
|
+
- ​<!-- 10 -->[Joy] Miscellaneous fixes (#34492) @siriwatknp
|
|
449
|
+
|
|
450
|
+
### Docs
|
|
451
|
+
|
|
452
|
+
- ​<!-- 27 -->[blog] Fix 404 link in base introduction @oliviertassinari
|
|
453
|
+
- ​<!-- 21 -->[docs] Fix CI build (#34589) @mnajdova
|
|
454
|
+
- ​<!-- 20 -->[docs] Temporary remove date picker from home page (#34541) @siriwatknp
|
|
455
|
+
- ​<!-- 19 -->[docs] Revise and expand Joy UI "Tutorial" doc (#34569) @samuelsycamore
|
|
456
|
+
- ​<!-- 18 -->[docs] Fix SEO issues (#34537) @oliviertassinari
|
|
457
|
+
- ​<!-- 17 -->[docs] Add CSS variables documentation for Material UI (#33958) @siriwatknp
|
|
458
|
+
- ​<!-- 16 -->[docs] Capitalize Material Design on the Breakpoints page (#34481) @Dustin-Digitar
|
|
459
|
+
- ​<!-- 15 -->[docs] Able to load doc components inside markdown files (#34243) @flaviendelangle
|
|
460
|
+
- ​<!-- 14 -->[docs] Use mouse pointer on esc button in the search modal (#34485) @minkyngkm
|
|
461
|
+
- ​<!-- 02 -->[website] Fix typo in pricing FAQ @oliviertassinari
|
|
462
|
+
- ​<!-- 01 -->[website] Move the React Engineer role from open to next (#34494) @mnajdova
|
|
463
|
+
|
|
464
|
+
### Core
|
|
465
|
+
|
|
466
|
+
- ​<!-- 26 -->[core] Update root package.json version (#34592) @mnajdova
|
|
467
|
+
- ​<!-- 25 -->[core] Remove useless comment in fixtures (#34581) @Garz4
|
|
468
|
+
- ​<!-- 24 -->[core] Fix link to CODE_OF_CONDUCT.md (#34543) @peippo
|
|
469
|
+
- ​<!-- 23 -->[core] Remove outdated docsearch.js dependency (#34421) @oliviertassinari
|
|
470
|
+
- ​<!-- 22 -->[core] Add `newFeature` to the typing of MuiPage (#34511) @flaviendelangle
|
|
471
|
+
|
|
472
|
+
All contributors of this release in alphabetical order: @Aporim2051, @Dustin-Digitar, @flaviendelangle, @Garz4, @hbjORbj, @hghmn, @kabernardes, @kskd1804, @meenarama, @minkyngkm, @mnajdova, @ndebeiss, @oliviertassinari, @peippo, @rolule, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
|
|
473
|
+
|
|
474
|
+
## 5.10.7
|
|
475
|
+
|
|
476
|
+
<!-- generated comparing v5.10.6..master -->
|
|
477
|
+
|
|
478
|
+
_Sep 26, 2022_
|
|
479
|
+
|
|
480
|
+
A big thanks to the 21 contributors who made this release possible. Here are some highlights โจ:
|
|
481
|
+
|
|
482
|
+
- ๐ [Divider](https://mui.com/joy-ui/react-divider/) component is added to Joy UI (#34403) @siriwatknp
|
|
483
|
+
|
|
484
|
+
### `@mui/material@5.10.7`
|
|
485
|
+
|
|
486
|
+
- [CssVarsProvider] Exclude dark mode variables from `:root` stylesheet (#34131) @siriwatknp
|
|
487
|
+
- [Chip] Add chip classes (#33801) @pratikkarad
|
|
488
|
+
- [Slider] Fix typo in the comments in the source (#34452) @HexM7
|
|
489
|
+
- [SvgIcon] Fix passing an ownerState to SvgIcon changes the font size (#34429) @ZeeshanTamboli
|
|
490
|
+
- [Stepper] Fix optional label is not centered when `alternativeLabel` is used (#34335) @ZeeshanTamboli
|
|
491
|
+
- [Tooltip] Add undefined, null or false in `title` (#34289) @abhinav-22-tech
|
|
492
|
+
- Make @emotion/\* fully supported in all Material UI components (#34451) @garronej
|
|
493
|
+
|
|
494
|
+
### `@mui/system@5.10.7`
|
|
495
|
+
|
|
496
|
+
- [system] Fix parsing of hsla colors in getLuminance (#34437) @ptrfrncsmrph
|
|
497
|
+
- [system] Fix incorrect type of `shape.borderRadius` in theme (#34076) @ZeeshanTamboli
|
|
498
|
+
- [system] Replace `enableSystem` with `defaultMode` (#33960) @siriwatknp
|
|
499
|
+
|
|
500
|
+
### `@mui/material@5.0.0-alpha.101`
|
|
501
|
+
|
|
502
|
+
- [deps] Move @mui/types to dependencies (#34384) @Methuselah96
|
|
503
|
+
|
|
504
|
+
### `@mui/base@5.0.0-alpha.99`
|
|
505
|
+
|
|
506
|
+
#### Breaking changes
|
|
507
|
+
|
|
508
|
+
- [TrapFocus] Rename TrapFocus to FocusTrap (#34216) @kabernardes
|
|
509
|
+
|
|
510
|
+
```diff
|
|
511
|
+
-import TrapFocus from '@mui/base/TrapFocus';
|
|
512
|
+
+import FocusTrap from '@mui/base/FocusTrap';
|
|
513
|
+
```
|
|
514
|
+
|
|
515
|
+
#### Changes
|
|
516
|
+
|
|
517
|
+
- [MultiSelect] Require a single tap to select an item on mobile Chrome (#33932) @michaldudak
|
|
518
|
+
|
|
519
|
+
### `@mui/joy@5.0.0-alpha.47`
|
|
520
|
+
|
|
521
|
+
- [Checkbox] spread `value`, `required`, and `readOnly` to input (#34477) @siriwatknp
|
|
522
|
+
- [Chip] Fix unbinded `onClick` prop (#34455) @HexM7
|
|
523
|
+
- [Divider] Add `Divider` component (#34403) @siriwatknp
|
|
524
|
+
- [Radio] spread `readOnly` and `required` to input (#34478) @siriwatknp
|
|
525
|
+
|
|
526
|
+
### Docs
|
|
527
|
+
|
|
528
|
+
- [blog] MUI Base announcement typo fixed (#34409) @prakhargupta1
|
|
529
|
+
- [blog] Fix typo in date-pickers v5 stable (#34386) @alexfauquette
|
|
530
|
+
- [blog] Update date on date pickers v5 release blog post (#34406) @joserodolfofreitas
|
|
531
|
+
- [docs] Update `useMenu` and `useMenuItem` hooks demo (#34166) @ZeeshanTamboli
|
|
532
|
+
- [docs] Update the guide for migrating to TSS (#34417) @garronej
|
|
533
|
+
- [docs] Fix typo in `Grid` docs (#34475) @Dustin-Digitar
|
|
534
|
+
- [docs] Fix typo in `Back to top` section in AppBar docs (#34479) @Dustin-Digitar
|
|
535
|
+
- [docs] Standardize all MUI Core "Installation" pages (#34168) @samuelsycamore
|
|
536
|
+
- [docs] Fix webpack file name to the standard: `webpack.config.js` (#34446) @CodingItWrong
|
|
537
|
+
- [docs] Fix Select `onChange` call (#34408) @siriwatknp
|
|
538
|
+
- [docs] Notification for pickers blog - v5 stable (#34400) @joserodolfofreitas
|
|
539
|
+
- [docs] Improve social sharing of docs pages (#34346) @oliviertassinari
|
|
540
|
+
- [docs] Refine the use of MUI vs. Material UI (#34345) @oliviertassinari
|
|
541
|
+
- [docs] Send feedback directly to a dedicated slack channel (#34196) @alexfauquette
|
|
542
|
+
- [website] Adds Bilal to about page (#34412) @MBilalShafi
|
|
543
|
+
- [website] Add date range picker to pricing table (#34399) @joserodolfofreitas
|
|
544
|
+
|
|
545
|
+
### Core
|
|
546
|
+
|
|
547
|
+
- [core] Document some types in @mui/styled-engine-sc (#34413) @mnajdova
|
|
548
|
+
- [core] Add yml support to prettier (#33980) @Janpot
|
|
549
|
+
|
|
550
|
+
All contributors of this release in alphabetical order: @abhinav-22-tech, @alexfauquette, @CodingItWrong, @Dustin-Digitar, @garronej, @HexM7, @howlettt, @Janpot, @joserodolfofreitas, @kabernardes, @MBilalShafi, @Methuselah96, @michaldudak, @mnajdova, @oliviertassinari, @prakhargupta1, @pratikkarad, @ptrfrncsmrph, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
|
|
551
|
+
|
|
552
|
+
## 5.10.6
|
|
553
|
+
|
|
554
|
+
<!-- generated comparing v5.10.5..master -->
|
|
555
|
+
|
|
556
|
+
_Sep 19, 2022_
|
|
557
|
+
|
|
558
|
+
A big thanks to the 11 contributors who made this release possible.
|
|
559
|
+
This release was mostly about ๐ bug fixes and ๐ documentation improvements.
|
|
560
|
+
|
|
561
|
+
### `@mui/material@5.10.6`
|
|
562
|
+
|
|
563
|
+
- [TextField] Fix conflict with `Bootstrap` even when label is not defined (#34343) @ZeeshanTamboli
|
|
564
|
+
|
|
565
|
+
### `@mui/joy@5.0.0-alpha.46`
|
|
566
|
+
|
|
567
|
+
#### Breaking changes
|
|
568
|
+
|
|
569
|
+
- [button][joy] Replace `start/endIcon` prop with `start/endDecorator` (#34288) @hbjORbj
|
|
570
|
+
|
|
571
|
+
**BREAKING CHANGE**: replace `start/endIcon` with `start/endDecorator`.
|
|
572
|
+
|
|
573
|
+
```jsx
|
|
574
|
+
// before
|
|
575
|
+
<Button startIcon={...} endIcon={...} />
|
|
576
|
+
|
|
577
|
+
// after
|
|
578
|
+
<Button startDecorator={...} endDecorator={...} />
|
|
579
|
+
```
|
|
580
|
+
|
|
581
|
+
#### Changes
|
|
582
|
+
|
|
583
|
+
- [Joy] Adjust the `Input` and `Textarea` styles (#34281) @siriwatknp
|
|
584
|
+
- [menu][joy] Set disablePortal default to false (#34283) @tomasz-sodzawiczny
|
|
585
|
+
|
|
586
|
+
### `@mui/base@5.0.0-alpha.98`
|
|
587
|
+
|
|
588
|
+
#### Breaking changes
|
|
589
|
+
|
|
590
|
+
- [Select][base] Add event parameter to the onChange callback (#34158) @michaldudak
|
|
591
|
+
|
|
592
|
+
The SelectUnstyled and MultiSelectUnstyled `onChange` callbacks did not have event as the first parameter, leading to inconsistency with other components and native HTML elements.
|
|
593
|
+
This PR adds the event parameter as the first one and moves the newly selected value to the second position. Because of this, it's a breaking change.
|
|
594
|
+
This also affects Select from Joy UI.
|
|
595
|
+
|
|
596
|
+
```jsx
|
|
597
|
+
// before
|
|
598
|
+
<SelectUnstyled onChange={(newValue) => { /* ... */ }} />
|
|
599
|
+
|
|
600
|
+
// after
|
|
601
|
+
<SelectUnstyled onChange={(event, newValue) => { /* ... */ }} />
|
|
602
|
+
```
|
|
603
|
+
|
|
604
|
+
### Docs
|
|
605
|
+
|
|
606
|
+
- [blog] The Date Pickers gets a stable v5 release (#34152) @alexfauquette
|
|
607
|
+
- [blog] Improve image handling (#34222) @oliviertassinari
|
|
608
|
+
- [blog] Correct 2021 survey data interpretation (#34291) @samuelsycamore
|
|
609
|
+
- [docs] Remove expired AospExtended showcase @oliviertassinari
|
|
610
|
+
- [docs] Link the OpenSSF Best Practices card (#34331) @oliviertassinari
|
|
611
|
+
- [docs] Fix 301 link to external projects @oliviertassinari
|
|
612
|
+
- [docs] Move 12 component names to Title Case (#34188) @oliviertassinari
|
|
613
|
+
- [docs] Fix broken links (#34320) @alexfauquette
|
|
614
|
+
- [docs] Add notification for MUI Base announcement post (#34295) @samuelsycamore
|
|
615
|
+
- [website] Fix MUI X subscribe email border style (#34330) @oliviertassinari
|
|
616
|
+
- [website] Improve security header @oliviertassinari
|
|
617
|
+
|
|
618
|
+
### Core
|
|
619
|
+
|
|
620
|
+
- [core] Lock file maintenance (#34161) @renovate[bot]
|
|
621
|
+
- [core] Issue template: move reproduction steps to the top (#34279) @Janpot
|
|
622
|
+
- [core] Create shared Next.js baseline config (#34259) @oliviertassinari
|
|
623
|
+
- [core] In `typescript-to-proptypes`, respect the value pass to the generic (#34311) @flaviendelangle
|
|
624
|
+
|
|
625
|
+
All contributors of this release in alphabetical order: @alexfauquette, @flaviendelangle, @hbjORbj, @Janpot, @michaldudak, @oliviertassinari, @renovate[bot], @samuelsycamore, @siriwatknp, @tomasz-sodzawiczny, @ZeeshanTamboli
|
|
626
|
+
|
|
627
|
+
## 5.10.5
|
|
628
|
+
|
|
629
|
+
<!-- generated comparing v5.10.4..master -->
|
|
630
|
+
|
|
631
|
+
_Sep 12, 2022_
|
|
632
|
+
|
|
633
|
+
A big thanks to the 12 contributors who made this release possible. Here are some highlights โจ:
|
|
634
|
+
|
|
635
|
+
- ๐ [Blog post](https://mui.com/blog/introducing-mui-base/) for announcing the release of the MUI Base package is out thanks to @michaldudak.
|
|
636
|
+
- ๐ Added [`Alert`](https://mui.com/joy-ui/react-alert/), [`Modal`](https://mui.com/joy-ui/react-modal/), [`ListSubheader`](https://mui.com/joy-ui/react-list-subheader/), [`FormControl`](https://mui.com/joy-ui/react-form-control/), [`CircularProgress`](https://mui.com/joy-ui/react-circular-progress/) components to Joy UI (#33859) @hbjORbj @siriwatknp
|
|
637
|
+
- And more ๐ bug fixes and ๐ documentation improvements.
|
|
638
|
+
|
|
639
|
+
### `@mui/material@5.10.5`
|
|
640
|
+
|
|
641
|
+
- ​<!-- 05 -->[ListItemText] Fix variant mapping in `primaryTypography` (#33880) @iamxukai
|
|
642
|
+
- ​<!-- 03 -->[Timeline] Add left and right aligned timeline demos in docs (#34156) @ZeeshanTamboli
|
|
643
|
+
|
|
644
|
+
### `@mui/joy@5.0.0-alpha.45`
|
|
645
|
+
|
|
646
|
+
- ​<!-- 20 -->[Joy UI] Add `CircularProgress` component (#33869) @hbjORbj
|
|
647
|
+
- ​<!-- 19 -->[Joy UI] Add `FormControl` component (#34187) @siriwatknp
|
|
648
|
+
- ​<!-- 18 -->[Joy UI] Add `ListSubheader` component (#34191) @siriwatknp
|
|
649
|
+
- ​<!-- 17 -->[Joy UI] Add `Modal` component (#34043) @siriwatknp
|
|
650
|
+
- ​<!-- 10 -->[Joy] Fix list value of false or 0 (zero) text is incorrectly grey (#34255) @kushagra010
|
|
651
|
+
- ​<!-- 09 -->[Joy] Adjust typography decorator margin (#34257) @siriwatknp
|
|
652
|
+
- ​<!-- 08 -->[Joy] Miscellaneous fixes (#34193) @siriwatknp
|
|
653
|
+
- ​<!-- 07 -->[Radio][joy] Integrate with form control (#34277) @siriwatknp
|
|
654
|
+
- ​<!-- 06 -->[Joy][textarea] Pass `textarea` props from `componentsProps` (#34223) @HexM7
|
|
655
|
+
|
|
656
|
+
### Docs
|
|
657
|
+
|
|
658
|
+
- ​<!-- 16 -->[blog] Introducing MUI Base (#33778) @michaldudak
|
|
659
|
+
- ​<!-- 13 -->[docs] Fix spelling error (#34209) @ChrystianDeMatos
|
|
660
|
+
- ​<!-- 12 -->[docs] Improve link to the security policy (#34219) @oliviertassinari
|
|
661
|
+
- ​<!-- 11 -->[docs] Fix typo in Joy UI's `Usage` docs (#34200) @zillion504
|
|
662
|
+
- ​<!-- 02 -->[website] Add Lukas to the about page (#34284) @LukasTy
|
|
663
|
+
- ​<!-- 01 -->[website] Update diamond sponsor URL (#34256) @oliviertassinari
|
|
664
|
+
|
|
665
|
+
### Core
|
|
666
|
+
|
|
667
|
+
- ​<!-- 04 -->[test] Replace argos-cli with @argos-ci/core (#34178) @michaldudak
|
|
668
|
+
- ​<!-- 15 -->[core] Create a script to generate codeowners (#34175) @michaldudak
|
|
669
|
+
- ​<!-- 14 -->[core] Add RFC GH issue template (#33871) @bytasv
|
|
670
|
+
|
|
671
|
+
All contributors of this release in alphabetical order: @bytasv, @ChrystianDeMatos, @hbjORbj, @HexM7, @iamxukai, @kushagra010, @LukasTy, @michaldudak, @oliviertassinari, @siriwatknp, @ZeeshanTamboli, @zillion504
|
|
672
|
+
|
|
673
|
+
## 5.10.4
|
|
674
|
+
|
|
675
|
+
<!-- generated comparing v5.10.3..master -->
|
|
676
|
+
|
|
677
|
+
_Sep 5, 2022_
|
|
678
|
+
|
|
679
|
+
A big thanks to the 11 contributors who made this release possible. Here are some highlights โจ:
|
|
680
|
+
|
|
681
|
+
- ๐ Added [`Alert`](https://mui.com/joy-ui/react-alert/) component to Joy UI (#33859) @hbjORbj
|
|
682
|
+
- Many other ๐ bug fixes, ๐ documentation, and โ๏ธ infrastructure improvements
|
|
683
|
+
|
|
684
|
+
### `@mui/material@5.10.4`
|
|
685
|
+
|
|
686
|
+
- ​<!-- 22 -->[Avatar] Use structured / semantic markup for avatars and avatar groups (#33994) @paulschreiber
|
|
687
|
+
- ​<!-- 05 -->[Steps] Use structured / semantic markup for steps and steppers (#34138) @paulschreiber
|
|
688
|
+
|
|
689
|
+
### `@mui/joy@5.0.0-alpha.44`
|
|
690
|
+
|
|
691
|
+
- ​<!-- 23 -->[Alert][joy] Add `Alert` component (#33859) @hbjORbj
|
|
692
|
+
- ​<!-- 08 -->[Joy] Make the description of `componentsProps` generic (#34140) @hbjORbj
|
|
693
|
+
- ​<!-- 07 -->[Joy] Add tests / classes for `Breadcrumbs` component (#33860) @hbjORbj
|
|
694
|
+
- ​<!-- 06 -->[Select][joy] Fix forwarding listbox `component` prop (#34172) @siriwatknp
|
|
695
|
+
|
|
696
|
+
### `@mui/base@5.0.0-alpha.96`
|
|
697
|
+
|
|
698
|
+
- ​<!-- 21 -->[Select][base] Fix type issues that appeared with TS 4.8 (#34132) @michaldudak
|
|
699
|
+
|
|
700
|
+
### Docs
|
|
701
|
+
|
|
702
|
+
- ​<!-- 15 -->[docs] Add `mui-color-input`, `mui-chips-input` and `mui-tel-input` into the related projects page (#34123) @viclafouch
|
|
703
|
+
- ​<!-- 14 -->[docs] Update sponsors (#34157) @hbjORbj
|
|
704
|
+
- ​<!-- 13 -->[docs] Move 5 component names to Title Case (#34118) @oliviertassinari
|
|
705
|
+
- ​<!-- 12 -->[docs] Fix the color contrast on optional API methods (#34127) @oliviertassinari
|
|
706
|
+
- ​<!-- 11 -->[docs] Fix crash due to using wrong variable (#34171) @siriwatknp
|
|
707
|
+
- ​<!-- 10 -->[docs] Fix a few Base typos (#33986) @ropereraLK
|
|
708
|
+
- ​<!-- 09 -->[docs] Revise Joy UI "Overview" page copy (#34087) @samuelsycamore
|
|
709
|
+
- ​<!-- 20 -->[blog] Fix social cards (#34160) @oliviertassinari
|
|
710
|
+
- ​<!-- 03 -->[website] Allow deep linking to sponsors @oliviertassinari
|
|
711
|
+
- ​<!-- 02 -->[website] Update job descriptions (#34134) @DanailH
|
|
712
|
+
- ​<!-- 01 -->[website] Link Toolpad landing page @oliviertassinari
|
|
713
|
+
|
|
714
|
+
### Core
|
|
715
|
+
|
|
716
|
+
- ​<!-- 19 -->[core] Move renovate config to the repository root (#34180) @oliviertassinari
|
|
717
|
+
- ​<!-- 18 -->[core] Reinstate react/no-unused-prop-types eslint rule (#34125) @Janpot
|
|
718
|
+
- ​<!-- 17 -->[core] Do not append `types` field to packages without index.d.ts (#33952) @michaldudak
|
|
719
|
+
- ​<!-- 16 -->[core] Sanitize input in icon synonyms update script (#33989) @michaldudak
|
|
720
|
+
- ​<!-- 04 -->[test] Allow to pass options to `mousePress` function (#34124) @cherniavskii
|
|
721
|
+
|
|
722
|
+
All contributors of this release in alphabetical order: @cherniavskii, @DanailH, @hbjORbj, @Janpot, @michaldudak, @oliviertassinari, @paulschreiber, @ropereraLK, @samuelsycamore, @siriwatknp, @viclafouch
|
|
723
|
+
|
|
3
724
|
## 5.10.3
|
|
4
725
|
|
|
5
726
|
<!-- generated comparing v5.10.2..master -->
|
|
@@ -70,7 +791,7 @@ _Aug 22, 2022_
|
|
|
70
791
|
|
|
71
792
|
A big thanks to the 11 contributors who made this release possible. Here are some highlights โจ:
|
|
72
793
|
|
|
73
|
-
- โจ @michaldudak synced the Material Icons set with the latest from Google (#33988)
|
|
794
|
+
- โจ @michaldudak synced the Material Icons set with the latest from Google (#33988).\
|
|
74
795
|
A couple of icons changed their appearance. See the difference [on this Argos build](https://app.argos-ci.com/mui/material-ui/builds/4428]).
|
|
75
796
|
|
|
76
797
|
### `@mui/material@5.10.2`
|
|
@@ -1262,7 +1983,8 @@ All contributors of this release in alphabetical order: @abhinav-22-tech, @ainat
|
|
|
1262
1983
|
|
|
1263
1984
|
_Apr 18, 2022_
|
|
1264
1985
|
|
|
1265
|
-
A big thanks to the 11 contributors who made this release possible.
|
|
1986
|
+
A big thanks to the 11 contributors who made this release possible.
|
|
1987
|
+
This release is mostly about ๐ bug fixes and ๐ documentation improvements.
|
|
1266
1988
|
|
|
1267
1989
|
### `@mui/material@5.6.2`
|
|
1268
1990
|
|
|
@@ -1321,7 +2043,7 @@ All contributors of this release in alphabetical order: @abaker93, @cherniavskii
|
|
|
1321
2043
|
|
|
1322
2044
|
_Apr 11, 2022_
|
|
1323
2045
|
|
|
1324
|
-
A big thanks to the 8 contributors who made this release possible.
|
|
2046
|
+
A big thanks to the 8 contributors who made this release possible.
|
|
1325
2047
|
This release is mostly about ๐ bug fixes and ๐ documentation improvements.
|
|
1326
2048
|
|
|
1327
2049
|
### `@mui/material@5.6.1`
|
|
@@ -1484,7 +2206,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
1484
2206
|
-import { Unstyled_TrapFocus } from '@mui/base';
|
|
1485
2207
|
+import { TrapFocus } from '@mui/base';
|
|
1486
2208
|
|
|
1487
|
-
|
|
2209
|
+
// or
|
|
1488
2210
|
|
|
1489
2211
|
-import TrapFocus from '@mui/base/Unstyled_TrapFocus';
|
|
1490
2212
|
+import TrapFocus from '@mui/base/TrapFocus';
|
|
@@ -1660,8 +2382,8 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
1660
2382
|
`unstable_ClassNameGenerator` has been moved from `utils` to `className` folder to prevent all MUI Base module imports. If you use the module, please update the import as suggested in the diff below:
|
|
1661
2383
|
|
|
1662
2384
|
```diff
|
|
1663
|
-
-
|
|
1664
|
-
+
|
|
2385
|
+
-import { unstable_ClassNameGenerator } from '@mui/material/utils';
|
|
2386
|
+
+import { unstable_ClassNameGenerator } from '@mui/material/className';
|
|
1665
2387
|
```
|
|
1666
2388
|
|
|
1667
2389
|
#### Changes
|
|
@@ -2003,8 +2725,8 @@ A big thanks to the 22 contributors who made this release possible. Here are som
|
|
|
2003
2725
|
3. Change the import paths of unstyled components from @mui/material to @mui/base, e.g.:
|
|
2004
2726
|
|
|
2005
2727
|
```diff
|
|
2006
|
-
-
|
|
2007
|
-
+
|
|
2728
|
+
-import ButtonUnstyled from '@mui/material/ButtonUnstyled';
|
|
2729
|
+
+import ButtonUnstyled from '@mui/base/ButtonUnstyled';
|
|
2008
2730
|
```
|
|
2009
2731
|
|
|
2010
2732
|
#### Changes
|
|
@@ -4047,12 +4769,12 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
4047
4769
|
`span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui/material-ui/pull/26666).
|
|
4048
4770
|
|
|
4049
4771
|
```diff
|
|
4050
|
-
|
|
4051
|
-
-
|
|
4772
|
+
<button class="MuiTab-root">
|
|
4773
|
+
- <span class="MuiTab-wrapper">
|
|
4052
4774
|
{icon}
|
|
4053
4775
|
{label}
|
|
4054
|
-
-
|
|
4055
|
-
|
|
4776
|
+
- </span>
|
|
4777
|
+
</button>
|
|
4056
4778
|
```
|
|
4057
4779
|
|
|
4058
4780
|
- [BottomNavigation] Remove wrapper from BottomNavigationAction (#26923) @siriwatknp
|
|
@@ -4060,14 +4782,14 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
4060
4782
|
`span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui/material-ui/pull/26666).
|
|
4061
4783
|
|
|
4062
4784
|
```diff
|
|
4063
|
-
|
|
4064
|
-
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
-
|
|
4070
|
-
|
|
4785
|
+
<button class="MuiBottomNavigationAction-root">
|
|
4786
|
+
- <span class="MuiBottomNavigationAction-wrapper">
|
|
4787
|
+
{icon}
|
|
4788
|
+
<span class="MuiBottomNavigationAction-label">
|
|
4789
|
+
{label}
|
|
4790
|
+
</span>
|
|
4791
|
+
- </span>
|
|
4792
|
+
</button>
|
|
4071
4793
|
```
|
|
4072
4794
|
|
|
4073
4795
|
#### Changes
|
|
@@ -4100,15 +4822,15 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
4100
4822
|
Make the default rendered text field closer to the most common use cases (denser).
|
|
4101
4823
|
|
|
4102
4824
|
```diff
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4825
|
+
<DatePicker
|
|
4826
|
+
label="Helper text example"
|
|
4827
|
+
value={value}
|
|
4828
|
+
onChange={onChange}
|
|
4829
|
+
renderInput={(params) => (
|
|
4108
4830
|
- <TextField {...params} />
|
|
4109
4831
|
+ <TextField {...params} helperText={params?.inputProps?.placeholder} />
|
|
4110
|
-
|
|
4111
|
-
|
|
4832
|
+
)}
|
|
4833
|
+
>
|
|
4112
4834
|
```
|
|
4113
4835
|
|
|
4114
4836
|
#### Changes
|
|
@@ -4170,7 +4892,7 @@ _Jun 23, 2021_
|
|
|
4170
4892
|
A big thanks to the 18 contributors who made this release possible. Here are some highlights โจ:
|
|
4171
4893
|
|
|
4172
4894
|
- ๐ We have only 2 left in the [breaking changes](https://github.com/mui/material-ui/issues/20012). The plan to release 5.0.0-beta.0 is on July 1st and will start to promote its usage over v4.
|
|
4173
|
-
- ๐จ We have updated `Slider` to match current [Material Design guidelines](https://material.io/components/sliders).
|
|
4895
|
+
- ๐จ We have updated `Slider` to match current [Material Design guidelines](https://m2.material.io/components/sliders).
|
|
4174
4896
|
|
|
4175
4897
|
<a href="https://mui.com/components/slider/#continuous-sliders"><img width="247" alt="" src="https://user-images.githubusercontent.com/3165635/121884800-a8808600-cd13-11eb-8cdf-e25de8f1ba73.png" style="margin: auto"></a>
|
|
4176
4898
|
|
|
@@ -4214,16 +4936,16 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
4214
4936
|
The default breakpoints were changed to better match the common use cases. They also better match the Material Design guidelines. [Read more about the change](https://github.com/mui/material-ui/issues/21902).
|
|
4215
4937
|
|
|
4216
4938
|
```diff
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
-
|
|
4221
|
-
+
|
|
4222
|
-
-
|
|
4223
|
-
+
|
|
4224
|
-
-
|
|
4225
|
-
+
|
|
4226
|
-
|
|
4939
|
+
{
|
|
4940
|
+
xs: 0,
|
|
4941
|
+
sm: 600,
|
|
4942
|
+
- md: 960,
|
|
4943
|
+
+ md: 900,
|
|
4944
|
+
- lg: 1280,
|
|
4945
|
+
+ lg: 1200,
|
|
4946
|
+
- xl: 1920,
|
|
4947
|
+
+ xl: 1536,
|
|
4948
|
+
}
|
|
4227
4949
|
```
|
|
4228
4950
|
|
|
4229
4951
|
If you prefer the old breakpoint values, use the snippet below.
|
|
@@ -4255,7 +4977,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
4255
4977
|
|
|
4256
4978
|
- ​<!-- 08 -->[Slider] Adjust css to match the specification (#26632) @siriwatknp
|
|
4257
4979
|
|
|
4258
|
-
Rework the CSS to match the latest [Material Design guidelines](https://material.io/components/sliders) and make custom styles more intuitive. [See documentation](https://mui.com/components/slider/).
|
|
4980
|
+
Rework the CSS to match the latest [Material Design guidelines](https://m2.material.io/components/sliders) and make custom styles more intuitive. [See documentation](https://mui.com/components/slider/).
|
|
4259
4981
|
|
|
4260
4982
|
<a href="https://mui.com/components/slider/#continuous-sliders"><img width="247" alt="" src="https://user-images.githubusercontent.com/3165635/121884800-a8808600-cd13-11eb-8cdf-e25de8f1ba73.png" style="margin: auto"></a>
|
|
4261
4983
|
|
|
@@ -4268,11 +4990,11 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
4268
4990
|
`span` element that wraps children has been removed. `label` classKey is also removed. More details about [this change](https://github.com/mui/material-ui/pull/26666).
|
|
4269
4991
|
|
|
4270
4992
|
```diff
|
|
4271
|
-
|
|
4272
|
-
-
|
|
4273
|
-
|
|
4274
|
-
-
|
|
4275
|
-
|
|
4993
|
+
<button class="MuiIconButton-root">
|
|
4994
|
+
- <span class="MuiIconButton-label">
|
|
4995
|
+
<svg />
|
|
4996
|
+
- </span>
|
|
4997
|
+
</button>
|
|
4276
4998
|
```
|
|
4277
4999
|
|
|
4278
5000
|
- ​<!-- 19 -->[core] Remove `unstable_` prefix on the `useThemeProps` hook (#26777) @mnajdova
|
|
@@ -4398,11 +5120,11 @@ A big thanks to the 11 contributors who made this release possible. Here are som
|
|
|
4398
5120
|
The `span` element that wraps children has been removed. `label` classKey is also removed. The nested span was required for fixing a flexbox issue with iOS < 11.0.
|
|
4399
5121
|
|
|
4400
5122
|
```diff
|
|
4401
|
-
|
|
4402
|
-
-
|
|
4403
|
-
|
|
4404
|
-
-
|
|
4405
|
-
|
|
5123
|
+
<button class="MuiButton-root">
|
|
5124
|
+
- <span class="MuiButton-label">
|
|
5125
|
+
children
|
|
5126
|
+
- </span>
|
|
5127
|
+
</button>
|
|
4406
5128
|
```
|
|
4407
5129
|
|
|
4408
5130
|
#### Changes
|
|
@@ -4431,7 +5153,7 @@ A big thanks to the 11 contributors who made this release possible. Here are som
|
|
|
4431
5153
|
+ const theme = useTheme();
|
|
4432
5154
|
+ const isRtl = theme.direction === 'rtl';
|
|
4433
5155
|
//.. rest of the code
|
|
4434
|
-
|
|
5156
|
+
}
|
|
4435
5157
|
```
|
|
4436
5158
|
|
|
4437
5159
|
#### Changes
|
|
@@ -4503,7 +5225,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
4503
5225
|
|
|
4504
5226
|
- ​<!-- 10 -->[AppBar] Fix background color on dark mode (#26545) @siriwatknp
|
|
4505
5227
|
|
|
4506
|
-
The `color` prop has no longer any effect in dark mode. The app bar uses the background color required by the elevation to follow the [Material Design guidelines](https://material.io/design/color/dark-theme.html). Use `enableColorOnDark` to restore the behavior of v4.
|
|
5228
|
+
The `color` prop has no longer any effect in dark mode. The app bar uses the background color required by the elevation to follow the [Material Design guidelines](https://m2.material.io/design/color/dark-theme.html). Use `enableColorOnDark` to restore the behavior of v4.
|
|
4507
5229
|
|
|
4508
5230
|
```jsx
|
|
4509
5231
|
<AppBar enableColorOnDark />
|
|
@@ -4554,13 +5276,14 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
4554
5276
|
- ​<!-- 29 -->[pickers] Remove `openPickerIcon` prop in favor of `components.OpenPickerIcon` (#26223) @vedadeepta
|
|
4555
5277
|
|
|
4556
5278
|
```diff
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
+
|
|
4562
|
-
|
|
4563
|
-
-
|
|
5279
|
+
<DateTimePicker
|
|
5280
|
+
components={{
|
|
5281
|
+
LeftArrowIcon: AlarmIcon,
|
|
5282
|
+
RightArrowIcon: SnoozeIcon,
|
|
5283
|
+
+ OpenPickerIcon: ClockIcon,
|
|
5284
|
+
}}
|
|
5285
|
+
- openPickerIcon={<ClockIcon />}
|
|
5286
|
+
>
|
|
4564
5287
|
```
|
|
4565
5288
|
|
|
4566
5289
|
### `@material-ui/system@5.0.0-alpha.36`
|
|
@@ -4664,8 +5387,8 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
4664
5387
|
|
|
4665
5388
|
Update the implementation to better match Material Design:
|
|
4666
5389
|
|
|
4667
|
-
- Tab `minWidth` changed from `72px` => `90px` (without media-query) according to [material-design spec](https://material.io/components/tabs#specs)
|
|
4668
|
-
- Tab `maxWidth` changed from `264px` => `360px` according to [material-design spec](https://material.io/components/tabs#specs)
|
|
5390
|
+
- Tab `minWidth` changed from `72px` => `90px` (without media-query) according to [material-design spec](https://m2.material.io/components/tabs#specs)
|
|
5391
|
+
- Tab `maxWidth` changed from `264px` => `360px` according to [material-design spec](https://m2.material.io/components/tabs#specs)
|
|
4669
5392
|
|
|
4670
5393
|
#### Changes
|
|
4671
5394
|
|
|
@@ -4783,10 +5506,10 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
4783
5506
|
Move the custom class on `input` to `select`. The `input` key is being applied on another element.
|
|
4784
5507
|
|
|
4785
5508
|
```diff
|
|
4786
|
-
|
|
4787
|
-
-
|
|
4788
|
-
+
|
|
4789
|
-
|
|
5509
|
+
<TablePagination
|
|
5510
|
+
- classes={{ input: 'foo' }}
|
|
5511
|
+
+ classes={{ select: 'foo' }}
|
|
5512
|
+
/>
|
|
4790
5513
|
```
|
|
4791
5514
|
|
|
4792
5515
|
- ​<!-- 45 -->[core] Move `StyledEngineProvider` to `@material-ui/core/styles` (#26265) @mnajdova
|
|
@@ -4831,10 +5554,10 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
4831
5554
|
- ​<!-- 63 -->[Autocomplete] Rename getOptionSelected to isOptionEqualToValue (#26173) @m4theushw
|
|
4832
5555
|
|
|
4833
5556
|
```diff
|
|
4834
|
-
|
|
5557
|
+
<Autocomplete
|
|
4835
5558
|
- getOptionSelected={(option, value) => option.title === value.title}
|
|
4836
5559
|
+ isOptionEqualToValue={(option, value) => option.title === value.title}
|
|
4837
|
-
|
|
5560
|
+
/>
|
|
4838
5561
|
```
|
|
4839
5562
|
|
|
4840
5563
|
> Follow [this link](https://mui.com/material-ui/migration/migration-v4/) for full migration from v4 => v5
|
|
@@ -4937,18 +5660,20 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
4937
5660
|
Replace the `innerRef` prop with the `ref` prop. Refs are now automatically forwarded to the inner component.
|
|
4938
5661
|
|
|
4939
5662
|
```diff
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
}
|
|
5663
|
+
import * as React from 'react';
|
|
5664
|
+
import { withStyles } from '@material-ui/core/styles';
|
|
5665
|
+
|
|
5666
|
+
const MyComponent = withStyles({
|
|
5667
|
+
root: {
|
|
5668
|
+
backgroundColor: 'red',
|
|
5669
|
+
},
|
|
5670
|
+
})(({ classes }) => <div className={classes.root} />);
|
|
5671
|
+
|
|
5672
|
+
function MyOtherComponent(props) {
|
|
5673
|
+
const ref = React.useRef();
|
|
5674
|
+
- return <MyComponent innerRef={ref} />;
|
|
5675
|
+
+ return <MyComponent ref={ref} />;
|
|
5676
|
+
}
|
|
4952
5677
|
```
|
|
4953
5678
|
|
|
4954
5679
|
**withTheme**
|
|
@@ -4956,14 +5681,16 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
4956
5681
|
Replace the `innerRef` prop with the `ref` prop. Refs are now automatically forwarded to the inner component.
|
|
4957
5682
|
|
|
4958
5683
|
```diff
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
}
|
|
5684
|
+
import * as React from 'react';
|
|
5685
|
+
import { withTheme } from '@material-ui/core/styles';
|
|
5686
|
+
|
|
5687
|
+
const MyComponent = withTheme(({ theme }) => <div>{props.theme.direction}</div>);
|
|
5688
|
+
|
|
5689
|
+
function MyOtherComponent(props) {
|
|
5690
|
+
const ref = React.useRef();
|
|
5691
|
+
- return <MyComponent innerRef={ref} />;
|
|
5692
|
+
+ return <MyComponent ref={ref} />;
|
|
5693
|
+
}
|
|
4967
5694
|
```
|
|
4968
5695
|
|
|
4969
5696
|
- ​<!-- 10 -->[theme] Rename `createMuiTheme` to `createTheme` (#25992) @m4theushw
|
|
@@ -5305,23 +6032,23 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
5305
6032
|
- ​<!-- 41 -->[Checkbox][switch] Remove checked argument from onChange (#25871) @m4theushw
|
|
5306
6033
|
|
|
5307
6034
|
```diff
|
|
5308
|
-
|
|
5309
|
-
-
|
|
5310
|
-
+
|
|
5311
|
-
+
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
6035
|
+
function MyCheckbox() {
|
|
6036
|
+
- const handleChange = (event: React.ChangeEvent<HTMLInputElement>, checked: boolean) => {
|
|
6037
|
+
+ const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {
|
|
6038
|
+
+ const checked = event.target.checked;
|
|
6039
|
+
};
|
|
6040
|
+
return <Checkbox onChange={handleChange} />;
|
|
6041
|
+
}
|
|
5315
6042
|
```
|
|
5316
6043
|
|
|
5317
6044
|
```diff
|
|
5318
|
-
|
|
5319
|
-
-
|
|
5320
|
-
+
|
|
5321
|
-
+
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
6045
|
+
function MySwitch() {
|
|
6046
|
+
- const handleChange = (event: React.ChangeEvent<HTMLInputElement>, checked: boolean) => {
|
|
6047
|
+
+ const handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {
|
|
6048
|
+
+ const checked = event.target.checked;
|
|
6049
|
+
};
|
|
6050
|
+
return <Switch onChange={handleChange} />;
|
|
6051
|
+
}
|
|
5325
6052
|
```
|
|
5326
6053
|
|
|
5327
6054
|
- ​<!-- 42 -->[theme] Remove theme.breakpoints.width helper (#25918) @m4theushw
|
|
@@ -5476,12 +6203,12 @@ A big thanks to the 19 contributors who made this release possible. Here are som
|
|
|
5476
6203
|
-import DayPicker from '@material-ui/lab/DayPicker';
|
|
5477
6204
|
+import CalendarPicker from '@material-ui/lab/CalendarPicker';
|
|
5478
6205
|
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
-
|
|
5482
|
-
+
|
|
5483
|
-
|
|
5484
|
-
|
|
6206
|
+
createMuiTheme({
|
|
6207
|
+
components: {
|
|
6208
|
+
- MuiDayPicker: {},
|
|
6209
|
+
+ MuiCalendarPicker: {},
|
|
6210
|
+
}
|
|
6211
|
+
})
|
|
5485
6212
|
```
|
|
5486
6213
|
|
|
5487
6214
|
- ​<!-- 04 -->[Pickers] Rename PickersCalendarSkeleton to CalendarPickerSkeleton (#25679) @eps1lon
|
|
@@ -6005,10 +6732,10 @@ A big thanks to the 26 contributors who made this release possible. Here are som
|
|
|
6005
6732
|
|
|
6006
6733
|
- ​<!-- 087 -->[icons] Synchronize icons (#25055) @eps1lon
|
|
6007
6734
|
|
|
6008
|
-
The icons were synchronized with https://material.io/resources/icons/. This change increases the number of supported icons from 1,349 to 1,781 per theme (we support 5 themes). The breaking changes:
|
|
6735
|
+
The icons were synchronized with https://m2.material.io/resources/icons/. This change increases the number of supported icons from 1,349 to 1,781 per theme (we support 5 themes). The breaking changes:
|
|
6009
6736
|
|
|
6010
6737
|
```diff
|
|
6011
|
-
|
|
6738
|
+
// AmpStories -> Download
|
|
6012
6739
|
-AmpStories
|
|
6013
6740
|
+Download
|
|
6014
6741
|
-AmpStoriesOutlined
|
|
@@ -6019,7 +6746,7 @@ A big thanks to the 26 contributors who made this release possible. Here are som
|
|
|
6019
6746
|
+DownloadSharp
|
|
6020
6747
|
-AmpStoriesTwoTone
|
|
6021
6748
|
+DownloadTwoTone
|
|
6022
|
-
|
|
6749
|
+
// Outbond -> Outbound
|
|
6023
6750
|
-Outbond
|
|
6024
6751
|
+Outbound
|
|
6025
6752
|
-OutbondOutlined
|
|
@@ -6196,10 +6923,10 @@ A big thanks to the 30 contributors who made this release possible. Here are som
|
|
|
6196
6923
|
If you were using a number previously, you need to provide the value in `px` to bypass the new transformation with `theme.spacing`. The change was done for consistency with the Grid spacing prop and the other system spacing properties, e.g. `<Box padding={2}>`.
|
|
6197
6924
|
|
|
6198
6925
|
```diff
|
|
6199
|
-
|
|
6200
|
-
-
|
|
6201
|
-
+
|
|
6202
|
-
|
|
6926
|
+
<Box
|
|
6927
|
+
- gap={2}
|
|
6928
|
+
+ gap="2px"
|
|
6929
|
+
>
|
|
6203
6930
|
```
|
|
6204
6931
|
|
|
6205
6932
|
### `@material-ui/styled-engine@5.0.0-alpha.25`
|
|
@@ -6440,14 +7167,14 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
6440
7167
|
--- a/docs/src/pages/components/date-range-picker/BasicDateRangePicker.tsx
|
|
6441
7168
|
+++ b/docs/src/pages/components/date-range-picker/BasicDateRangePicker.tsx
|
|
6442
7169
|
@@ -3,7 +3,7 @@ import TextField from '@material-ui/core/TextField';
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
7170
|
+
import DateRangePicker, { DateRange } from '@material-ui/lab/DateRangePicker';
|
|
7171
|
+
import AdapterDateFns from '@material-ui/lab/AdapterDateFns';
|
|
7172
|
+
import LocalizationProvider from '@material-ui/lab/LocalizationProvider';
|
|
6446
7173
|
-import DateRangeDelimiter from '@material-ui/lab/DateRangeDelimiter';
|
|
6447
7174
|
+import Box from '@material-ui/core/Box';
|
|
6448
7175
|
|
|
6449
|
-
|
|
6450
|
-
|
|
7176
|
+
export default function BasicDateRangePicker() {
|
|
7177
|
+
const [value, setValue] = React.useState<DateRange<Date>>([null, null]);
|
|
6451
7178
|
@@ -20,7 +20,7 @@ export default function BasicDateRangePicker() {
|
|
6452
7179
|
renderInput={(startProps, endProps) => (
|
|
6453
7180
|
<React.Fragment>
|
|
@@ -6989,42 +7716,42 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
6989
7716
|
- [Dialog] Remove the `disableBackdropClick` prop. It's redundant with the `reason` argument (#23607) @eps1lon.
|
|
6990
7717
|
|
|
6991
7718
|
```diff
|
|
6992
|
-
|
|
6993
|
-
-
|
|
6994
|
-
-
|
|
6995
|
-
+
|
|
6996
|
-
+
|
|
6997
|
-
+
|
|
6998
|
-
+
|
|
6999
|
-
+
|
|
7000
|
-
|
|
7719
|
+
<Dialog
|
|
7720
|
+
- disableBackdropClick
|
|
7721
|
+
- onClose={handleClose}
|
|
7722
|
+
+ onClose={(event, reason) => {
|
|
7723
|
+
+ if (reason !== 'backdropClick') {
|
|
7724
|
+
+ onClose(event, reason);
|
|
7725
|
+
+ }
|
|
7726
|
+
+ }}
|
|
7727
|
+
/>
|
|
7001
7728
|
```
|
|
7002
7729
|
|
|
7003
7730
|
- [Modal] Remove the `disableBackdropClick` prop. It's redundant with the `reason` argument (#23607) @eps1lon.
|
|
7004
7731
|
|
|
7005
7732
|
```diff
|
|
7006
|
-
|
|
7007
|
-
-
|
|
7008
|
-
-
|
|
7009
|
-
+
|
|
7010
|
-
+
|
|
7011
|
-
+
|
|
7012
|
-
+
|
|
7013
|
-
+
|
|
7014
|
-
|
|
7733
|
+
<Modal
|
|
7734
|
+
- disableBackdropClick
|
|
7735
|
+
- onClose={handleClose}
|
|
7736
|
+
+ onClose={(event, reason) => {
|
|
7737
|
+
+ if (reason !== 'backdropClick') {
|
|
7738
|
+
+ onClose(event, reason);
|
|
7739
|
+
+ }
|
|
7740
|
+
+ }}
|
|
7741
|
+
/>
|
|
7015
7742
|
```
|
|
7016
7743
|
|
|
7017
7744
|
- [Modal] Remove the `onEscapeKeyDown` prop. It's redundant with the `reason` argument. (#23571) @eps1lon
|
|
7018
7745
|
|
|
7019
7746
|
```diff
|
|
7020
|
-
|
|
7747
|
+
<Modal
|
|
7021
7748
|
- onEscapeKeyDown={handleEscapeKeyDown}
|
|
7022
7749
|
+ onClose={(event, reason) => {
|
|
7023
7750
|
+ if (reason === "escapeKeyDown") {
|
|
7024
7751
|
+ handleEscapeKeyDown(event);
|
|
7025
7752
|
+ }
|
|
7026
7753
|
+ }}
|
|
7027
|
-
|
|
7754
|
+
/>;
|
|
7028
7755
|
```
|
|
7029
7756
|
|
|
7030
7757
|
#### Changes
|
|
@@ -7377,10 +8104,10 @@ Here are some highlights โจ:
|
|
|
7377
8104
|
- The CSS prefixes have changed:
|
|
7378
8105
|
|
|
7379
8106
|
```diff
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
-
|
|
7383
|
-
+
|
|
8107
|
+
popper: {
|
|
8108
|
+
zIndex: 1,
|
|
8109
|
+
- '&[x-placement*="bottom"] $arrow': {
|
|
8110
|
+
+ '&[data-popper-placement*="bottom"] $arrow': {
|
|
7384
8111
|
```
|
|
7385
8112
|
|
|
7386
8113
|
- Method names have changed.
|
|
@@ -7404,13 +8131,13 @@ Here are some highlights โจ:
|
|
|
7404
8131
|
-import withMobileDialog from '@material-ui/core/withMobileDialog';
|
|
7405
8132
|
+import {ย useTheme, useMediaQuery } from '@material-ui/core';
|
|
7406
8133
|
|
|
7407
|
-
|
|
7408
|
-
-
|
|
7409
|
-
+
|
|
7410
|
-
+
|
|
7411
|
-
|
|
8134
|
+
function ResponsiveDialog(props) {
|
|
8135
|
+
- const { fullScreen } = props;
|
|
8136
|
+
+ const theme = useTheme();
|
|
8137
|
+
+ const fullScreen = useMediaQuery(theme.breakpoints.down('sm'));
|
|
8138
|
+
const [open, setOpen] = React.useState(false);
|
|
7412
8139
|
|
|
7413
|
-
|
|
8140
|
+
// ...
|
|
7414
8141
|
|
|
7415
8142
|
-export default withMobileDialog()(ResponsiveDialog);
|
|
7416
8143
|
+export default ResponsiveDialog;
|
|
@@ -7656,24 +8383,24 @@ Here are some highlights โจ:
|
|
|
7656
8383
|
The change was done to match the API convention.
|
|
7657
8384
|
|
|
7658
8385
|
```diff
|
|
7659
|
-
|
|
7660
|
-
-
|
|
7661
|
-
-
|
|
7662
|
-
+
|
|
7663
|
-
+
|
|
8386
|
+
<TablePagination
|
|
8387
|
+
- onChangeRowsPerPage={()=>{}}
|
|
8388
|
+
- onChangePage={()=>{}}
|
|
8389
|
+
+ onRowsPerPageChange={()=>{}}
|
|
8390
|
+
+ onPageChange={()=>{}}
|
|
7664
8391
|
```
|
|
7665
8392
|
|
|
7666
8393
|
- [theme] Rename fade to alpha (#22834) @mnajdova
|
|
7667
8394
|
Better describe its functionality. The previous name was leading to confusion when the input color already had an alpha value. The helper **overrides** the alpha value of the color.
|
|
7668
8395
|
|
|
7669
8396
|
```diff
|
|
7670
|
-
-
|
|
7671
|
-
+
|
|
8397
|
+
-import { fade } from '@material-ui/core/styles';
|
|
8398
|
+
+import { alpha } from '@material-ui/core/styles';
|
|
7672
8399
|
|
|
7673
|
-
|
|
8400
|
+
const classes = makeStyles(theme => ({
|
|
7674
8401
|
- backgroundColor: fade(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
7675
8402
|
+ backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
7676
|
-
|
|
8403
|
+
}));
|
|
7677
8404
|
```
|
|
7678
8405
|
|
|
7679
8406
|
- [Tooltip] Make `interactive` default (#22382) @eps1lon
|
|
@@ -7684,7 +8411,7 @@ Here are some highlights โจ:
|
|
|
7684
8411
|
```diff
|
|
7685
8412
|
-<Tooltip>
|
|
7686
8413
|
+<Tooltip disableInteractive>
|
|
7687
|
-
|
|
8414
|
+
# Interactive tooltips no longer need the `interactive` prop.
|
|
7688
8415
|
-<Tooltip interactive>
|
|
7689
8416
|
+<Tooltip>
|
|
7690
8417
|
```
|
|
@@ -7932,7 +8659,7 @@ Here are some highlights โจ:
|
|
|
7932
8659
|
Renames `theme.palette.type` to `theme.palette.mode`, to better follow the "dark mode" term that is usually used for describing this feature.
|
|
7933
8660
|
|
|
7934
8661
|
```diff
|
|
7935
|
-
|
|
8662
|
+
import { createMuiTheme } from '@material-ui/core/styles';
|
|
7936
8663
|
|
|
7937
8664
|
-const theme = createMuiTheme({palette: { type: 'dark' }}),
|
|
7938
8665
|
+const theme = createMuiTheme({palette: { mode: 'dark' }}),
|
|
@@ -7997,22 +8724,22 @@ Here are some highlights โจ:
|
|
|
7997
8724
|
You can recover from the change with:
|
|
7998
8725
|
|
|
7999
8726
|
```diff
|
|
8000
|
-
|
|
8001
|
-
-
|
|
8002
|
-
-
|
|
8003
|
-
+
|
|
8004
|
-
+
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
-
|
|
8013
|
-
+
|
|
8014
|
-
|
|
8015
|
-
|
|
8727
|
+
<Autocomplete
|
|
8728
|
+
- renderOption={(option, { selected }) => (
|
|
8729
|
+
- <React.Fragment>
|
|
8730
|
+
+ renderOption={(props, option, { selected }) => (
|
|
8731
|
+
+ <li {...props}>
|
|
8732
|
+
<Checkbox
|
|
8733
|
+
icon={icon}
|
|
8734
|
+
checkedIcon={checkedIcon}
|
|
8735
|
+
style={{ marginRight: 8 }}
|
|
8736
|
+
checked={selected}
|
|
8737
|
+
/>
|
|
8738
|
+
{option.title}
|
|
8739
|
+
- </React.Fragment>
|
|
8740
|
+
+ </li>
|
|
8741
|
+
)}
|
|
8742
|
+
/>
|
|
8016
8743
|
```
|
|
8017
8744
|
|
|
8018
8745
|
#### Changes
|
|
@@ -8098,12 +8825,12 @@ Here are some highlights โจ:
|
|
|
8098
8825
|
Rename `focused` to `focusVisible` for consistency with the other components:
|
|
8099
8826
|
|
|
8100
8827
|
```diff
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
-
|
|
8104
|
-
+
|
|
8105
|
-
|
|
8106
|
-
|
|
8828
|
+
<Accordion
|
|
8829
|
+
classes={{
|
|
8830
|
+
- focused: 'custom-focus-visible-classname',
|
|
8831
|
+
+ focusVisible: 'custom-focus-visible-classname',
|
|
8832
|
+
}}
|
|
8833
|
+
/>
|
|
8107
8834
|
```
|
|
8108
8835
|
|
|
8109
8836
|
- [Stepper] Remove Paper and built-in padding (#22564) @mbrookes
|
|
@@ -8183,10 +8910,10 @@ Here are some highlights โจ:
|
|
|
8183
8910
|
If you have a custom `icon` prop but no `emptyIcon` prop, you can restore the previous behavior with:
|
|
8184
8911
|
|
|
8185
8912
|
```diff
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
+
|
|
8189
|
-
|
|
8913
|
+
<Rating
|
|
8914
|
+
icon={customIcon}
|
|
8915
|
+
+ emptyIcon={null}
|
|
8916
|
+
/>
|
|
8190
8917
|
```
|
|
8191
8918
|
|
|
8192
8919
|
#### Changes
|
|
@@ -8216,7 +8943,7 @@ _Sep 6, 2020_
|
|
|
8216
8943
|
A big thanks to the 14 contributors who made this release possible.
|
|
8217
8944
|
Here are some highlights โจ:
|
|
8218
8945
|
|
|
8219
|
-
- ๐ A new diamond sponsor: [DoiT](https://www.doit
|
|
8946
|
+
- ๐ A new diamond sponsor: [DoiT](https://www.doit.com/), thank you!
|
|
8220
8947
|
- ๐ Include the default value of the props in IntelliSense (#22447) @eps1lon
|
|
8221
8948
|
- โ๏ธ More source migrated to TypeScript and testing-library (#22441) @baterson
|
|
8222
8949
|
- And many more ๐ bug fixes and ๐ improvements.
|
|
@@ -8312,9 +9039,9 @@ const theme = createMuiTheme({
|
|
|
8312
9039
|
1. `props`
|
|
8313
9040
|
|
|
8314
9041
|
```diff
|
|
8315
|
-
|
|
9042
|
+
import { createMuiTheme } from '@material-ui/core/styles';
|
|
8316
9043
|
|
|
8317
|
-
|
|
9044
|
+
const theme = createMuiTheme({
|
|
8318
9045
|
- props: {
|
|
8319
9046
|
- MuiButton: {
|
|
8320
9047
|
- disableRipple: true,
|
|
@@ -8327,15 +9054,15 @@ const theme = createMuiTheme({
|
|
|
8327
9054
|
+ },
|
|
8328
9055
|
+ },
|
|
8329
9056
|
+ },
|
|
8330
|
-
|
|
9057
|
+
});
|
|
8331
9058
|
```
|
|
8332
9059
|
|
|
8333
9060
|
2. `overrides`
|
|
8334
9061
|
|
|
8335
9062
|
```diff
|
|
8336
|
-
|
|
9063
|
+
import { createMuiTheme } from '@material-ui/core/styles';
|
|
8337
9064
|
|
|
8338
|
-
|
|
9065
|
+
const theme = createMuiTheme({
|
|
8339
9066
|
- overrides: {
|
|
8340
9067
|
- MuiButton: {
|
|
8341
9068
|
- root: { padding: 0 },
|
|
@@ -8348,7 +9075,7 @@ const theme = createMuiTheme({
|
|
|
8348
9075
|
+ },
|
|
8349
9076
|
+ },
|
|
8350
9077
|
+ },
|
|
8351
|
-
|
|
9078
|
+
});
|
|
8352
9079
|
```
|
|
8353
9080
|
|
|
8354
9081
|
Note that if you don't have the time to upgrade the structure of the theme, you
|
|
@@ -8459,7 +9186,7 @@ Here are some highlights โจ:
|
|
|
8459
9186
|
The onE\* transition props were removed. Use TransitionProps instead.
|
|
8460
9187
|
|
|
8461
9188
|
```diff
|
|
8462
|
-
|
|
9189
|
+
<Menu
|
|
8463
9190
|
- onEnter={onEnter}
|
|
8464
9191
|
- onEntered={onEntered},
|
|
8465
9192
|
- onEntering={onEntered},
|
|
@@ -8474,14 +9201,14 @@ Here are some highlights โจ:
|
|
|
8474
9201
|
+ onExited,
|
|
8475
9202
|
+ onExiting,
|
|
8476
9203
|
+ }}
|
|
8477
|
-
|
|
9204
|
+
>
|
|
8478
9205
|
```
|
|
8479
9206
|
|
|
8480
9207
|
- [Popover] Remove transition onX props (#22184) @mbrookes
|
|
8481
9208
|
The onE\* transition props were removed. Use TransitionProps instead.
|
|
8482
9209
|
|
|
8483
9210
|
```diff
|
|
8484
|
-
|
|
9211
|
+
<Popover
|
|
8485
9212
|
- onEnter={onEnter}
|
|
8486
9213
|
- onEntered={onEntered},
|
|
8487
9214
|
- onEntering={onEntered},
|
|
@@ -8496,7 +9223,7 @@ Here are some highlights โจ:
|
|
|
8496
9223
|
+ onExited,
|
|
8497
9224
|
+ onExiting,
|
|
8498
9225
|
+ }}
|
|
8499
|
-
|
|
9226
|
+
/>
|
|
8500
9227
|
```
|
|
8501
9228
|
|
|
8502
9229
|
- [TextField] Improve line-height reset (#22149) @imnasnainaec
|
|
@@ -8650,7 +9377,7 @@ Here are some highlights โจ:
|
|
|
8650
9377
|
The onE\* transition props were removed. Use TransitionProps instead.
|
|
8651
9378
|
|
|
8652
9379
|
```diff
|
|
8653
|
-
|
|
9380
|
+
<Dialog
|
|
8654
9381
|
- onEnter={onEnter}
|
|
8655
9382
|
- onEntered={onEntered},
|
|
8656
9383
|
- onEntering={onEntered},
|
|
@@ -8665,7 +9392,7 @@ Here are some highlights โจ:
|
|
|
8665
9392
|
+ onExited,
|
|
8666
9393
|
+ onExiting,
|
|
8667
9394
|
+ }}
|
|
8668
|
-
|
|
9395
|
+
/>
|
|
8669
9396
|
```
|
|
8670
9397
|
|
|
8671
9398
|
- [Fab] Rename round -> circular for consistency (#21903) @kodai3
|
|
@@ -8712,7 +9439,7 @@ Here are some highlights โจ:
|
|
|
8712
9439
|
The onE\* transition props were removed. Use TransitionProps instead.
|
|
8713
9440
|
|
|
8714
9441
|
```diff
|
|
8715
|
-
|
|
9442
|
+
<Snackbar
|
|
8716
9443
|
- onEnter={onEnter}
|
|
8717
9444
|
- onEntered={onEntered},
|
|
8718
9445
|
- onEntering={onEntered},
|
|
@@ -8727,7 +9454,7 @@ Here are some highlights โจ:
|
|
|
8727
9454
|
+ onExited,
|
|
8728
9455
|
+ onExiting,
|
|
8729
9456
|
+ }}
|
|
8730
|
-
|
|
9457
|
+
/>
|
|
8731
9458
|
```
|
|
8732
9459
|
|
|
8733
9460
|
- [TextareaAutosize] Rename rowsMax->maxRows & rowsMin->minRows (#21873) @mhayk
|
|
@@ -9096,21 +9823,21 @@ A big thanks to the 33 contributors who made this release possible. Here are som
|
|
|
9096
9823
|
It prevents inconsistent height on scaled screens. For people customizing the color of the border, the change requires changing the override CSS property:
|
|
9097
9824
|
|
|
9098
9825
|
```diff
|
|
9099
|
-
|
|
9100
|
-
-
|
|
9101
|
-
+
|
|
9102
|
-
|
|
9826
|
+
.MuiDivider-root {
|
|
9827
|
+
- background-color: #f00;
|
|
9828
|
+
+ border-color: #f00;
|
|
9829
|
+
}
|
|
9103
9830
|
```
|
|
9104
9831
|
|
|
9105
9832
|
- [Rating] Rename `visuallyhidden` to `visuallyHidden` for consistency (#21413) @mnajdova.
|
|
9106
9833
|
|
|
9107
9834
|
```diff
|
|
9108
|
-
|
|
9109
|
-
|
|
9835
|
+
<Rating
|
|
9836
|
+
classes={{
|
|
9110
9837
|
- visuallyhidden: 'custom-visually-hidden-classname',
|
|
9111
9838
|
+ visuallyHidden: 'custom-visually-hidden-classname',
|
|
9112
|
-
|
|
9113
|
-
|
|
9839
|
+
}}
|
|
9840
|
+
/>
|
|
9114
9841
|
```
|
|
9115
9842
|
|
|
9116
9843
|
- [Typography] Replace the `srOnly` prop so as to not duplicate the capabilities of [System](https://mui.com/system/getting-started/overview/) (#21413) @mnajdova.
|
|
@@ -9130,10 +9857,10 @@ A big thanks to the 33 contributors who made this release possible. Here are som
|
|
|
9130
9857
|
The customization of the table pagination's actions labels must be done with the `getItemAriaLabel` prop. This increases consistency with the `Pagination` component.
|
|
9131
9858
|
|
|
9132
9859
|
```diff
|
|
9133
|
-
|
|
9134
|
-
-
|
|
9135
|
-
-
|
|
9136
|
-
+
|
|
9860
|
+
<TablePagination
|
|
9861
|
+
- backIconButtonText="Avant"
|
|
9862
|
+
- nextIconButtonText="Aprรจs
|
|
9863
|
+
+ getItemAriaLabel={โฆ}
|
|
9137
9864
|
```
|
|
9138
9865
|
|
|
9139
9866
|
- [ExpansionPanel] Rename to Accordion (#21494) @mnajdova.
|