@mui/styled-engine-sc 5.11.11 โ 5.12.0
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 +446 -28
- package/GlobalStyles/GlobalStyles.js +1 -1
- package/index.js +1 -1
- package/legacy/GlobalStyles/GlobalStyles.js +1 -1
- package/legacy/index.js +1 -1
- package/modern/GlobalStyles/GlobalStyles.js +1 -1
- package/modern/index.js +1 -1
- package/node/GlobalStyles/GlobalStyles.js +1 -1
- package/node/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,423 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.12.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.11.16..master -->
|
|
6
|
+
|
|
7
|
+
_Apr 11, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 9 contributors who made this release possible. Here are some highlights โจ:
|
|
10
|
+
|
|
11
|
+
- ๐ซ Added [theme scope](https://mui.com/material-ui/guides/styled-engine/#theme-scoping) for using multiple design systems (#36664) @siriwatknp
|
|
12
|
+
- ๐ bug fixes and ๐ documentation improvements.
|
|
13
|
+
|
|
14
|
+
### `@mui/system@5.12.0`
|
|
15
|
+
|
|
16
|
+
- ​<!-- 05 -->[system] Introduce theme scope for using multiple design systems (#36664) @siriwatknp
|
|
17
|
+
|
|
18
|
+
### `@mui/base@5.0.0-alpha.125`
|
|
19
|
+
|
|
20
|
+
- ​<!-- 06 -->[PopperUnstyled] Do not merge internal `ownerState` with `ownerState` from props (#36599) @hbjORbj
|
|
21
|
+
|
|
22
|
+
### `@mui/joy@5.0.0-alpha.75`
|
|
23
|
+
|
|
24
|
+
- ​<!-- 08 -->[Joy] Add tests for slots/slotProps for all components (#36828) @hbjORbj
|
|
25
|
+
- ​<!-- 07 -->[Joy] Support `slots`/`slotsProps` for every component (components with only root slot too) (#36540) @hbjORbj
|
|
26
|
+
|
|
27
|
+
### Docs
|
|
28
|
+
|
|
29
|
+
- ​<!-- 23 -->[docs][Backdrop] Improvements to the docs (#34244) @alirezahekmati
|
|
30
|
+
- ​<!-- 20 -->[docs] Fix base API redirects (#36833) @mnajdova
|
|
31
|
+
- ​<!-- 19 -->[docs] Improve perf on tab APIs (#36832) @mnajdova
|
|
32
|
+
- ​<!-- 18 -->[docs] Revert CircularProgress component text to be proper noun instead (#36837) @ZeeshanTamboli
|
|
33
|
+
- ​<!-- 17 -->[docs] Simplify language redirection @oliviertassinari
|
|
34
|
+
- ​<!-- 16 -->[docs] Add missing `readOnly` state class in the list (#36788) @ZeeshanTamboli
|
|
35
|
+
- ​<!-- 15 -->[docs] Improve side nav scroll into view (#36732) @oliviertassinari
|
|
36
|
+
- ​<!-- 14 -->[docs][base & joy] Display "Classes" Section in API docs (#36589) @hbjORbj
|
|
37
|
+
- ​<!-- 13 -->[docs] Fix 100+ typos throughout the Material UI docs (#36194) @Lioness100
|
|
38
|
+
- ​<!-- 12 -->[docs] Change "coming soon" chip color (#36786) @danilo-leal
|
|
39
|
+
- ​<!-- 11 -->[docs][Joy] Fix wrong prop descriptions (#36826) @hbjORbj
|
|
40
|
+
- ​<!-- 10 -->[docs][material] Highlight global state classes in CSS table in API docs (#36633) @hbjORbj
|
|
41
|
+
- ​<!-- 09 -->[examples] Fix `SliderUnstyled` slots `key` name (#36830) @sai6855
|
|
42
|
+
- ​<!-- 04 -->[Tabs] Improve useTab() API page (#36725) @oliviertassinari
|
|
43
|
+
|
|
44
|
+
### Core
|
|
45
|
+
|
|
46
|
+
- ​<!-- 22 -->[core] Increase margin to scroll @oliviertassinari
|
|
47
|
+
- ​<!-- 21 -->[core] Replace MUI Base with Base UI (#36716) @mnajdova
|
|
48
|
+
- ​<!-- 03 -->[website] Fix broken career website links @oliviertassinari
|
|
49
|
+
- ​<!-- 02 -->[website] Fix backlinks to homepage (#36801) @oliviertassinari
|
|
50
|
+
- ​<!-- 01 -->[website] Tweaks to the Designer position ad (#36771) @danilo-leal
|
|
51
|
+
|
|
52
|
+
All contributors of this release in alphabetical order: @alirezahekmati, @danilo-leal, @hbjORbj, @Lioness100, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp, @ZeeshanTamboli
|
|
53
|
+
|
|
54
|
+
## 5.11.16
|
|
55
|
+
|
|
56
|
+
<!-- generated comparing v5.11.15..master -->
|
|
57
|
+
|
|
58
|
+
_Apr 4, 2023_
|
|
59
|
+
|
|
60
|
+
A big thanks to the 17 contributors who made this release possible. Here are some highlights โจ:
|
|
61
|
+
|
|
62
|
+
- ๐
Added tabs on API pages of Base UI to switch between component and hook references (#35938) @mnajdova
|
|
63
|
+
- ๐ bug fixes and ๐ documentation improvements.
|
|
64
|
+
|
|
65
|
+
### `@mui/material@5.11.16`
|
|
66
|
+
|
|
67
|
+
- [Autocomplete] Listen for click on the root element (#36369) @sai6855
|
|
68
|
+
- [Autocomplete] Fix navigation issue on mouse hover (#35196) @sai6855
|
|
69
|
+
- [Card] Fix Card focus effect overflowing parent card (#36329) @mj12albert
|
|
70
|
+
- [Grid] Missing slot (#36765) @siriwatknp
|
|
71
|
+
- [Select] Make error part of the `ownerState` to enable overriding styles with it in theme (#36422) @gitstart
|
|
72
|
+
- [Slider] Fix ValueLabel UI issues comes when size="small" and orientation="vertical (#36738) @yushanwebdev
|
|
73
|
+
|
|
74
|
+
### `@mui/icons-material@5.11.16`
|
|
75
|
+
|
|
76
|
+
- [icons] Do not ignore popular icons (#36608) @michaldudak
|
|
77
|
+
|
|
78
|
+
### `@mui/joy@5.0.0-alpha.74`
|
|
79
|
+
|
|
80
|
+
- [Joy] Add `ModalOverflow` component (#36262) @siriwatknp
|
|
81
|
+
- [Joy] Fix `Checkbox` custom color prop type warning (#36691) @amal-qb
|
|
82
|
+
|
|
83
|
+
### Docs
|
|
84
|
+
|
|
85
|
+
- [docs][base] Add return type for `useFormControlUnstyledContext` hook (#36302) @HeVictor
|
|
86
|
+
- [docs][base] Move styles to the bottom of demos code for `FormControl` (#36579) @gitstart
|
|
87
|
+
- [docs][base] Move styles to the bottom of demos code for `Menu` (#36582) @gitstart
|
|
88
|
+
- [docs][base] Move styles code to bottom in the `Button` demos (#36590) @sai6855
|
|
89
|
+
- [docs][base] Show components & hooks API on the components page (#35938) @mnajdova
|
|
90
|
+
- [docs] Describe slotProps in MUI Base customization doc (#36206) @michaldudak
|
|
91
|
+
- [docs] Fix double API page redirection (#36743) @oliviertassinari
|
|
92
|
+
- [docs] Remove hash property and leverage pathname (#36764) @siriwatknp
|
|
93
|
+
- [docs] Introduce markdown permalink to source (#36729) @oliviertassinari
|
|
94
|
+
- [docs] Tabs API add slots section (#36769) @mnajdova
|
|
95
|
+
- [docs] Update feedbacks management on slack (#36705) @alexfauquette
|
|
96
|
+
- [docs] Fix Joy UI URL to tokens (#36742) @oliviertassinari
|
|
97
|
+
- [docs] Add toggle-button coming soon page (#36618) @siriwatknp
|
|
98
|
+
- [docs] Fix typo on the Joy UI theme builder (#36734) @danilo-leal
|
|
99
|
+
- [docs] Fix small typo (#36727) @RBerthier
|
|
100
|
+
- [docs] Fix Joy UI template broken image loading @oliviertassinari
|
|
101
|
+
- [docs] Hide the default API column if it's empty (#36715) @mnajdova
|
|
102
|
+
- [docs] Update Material UI Related Projects page (#34203) @viclafouch
|
|
103
|
+
- [docs] Revise Joy UI "Circular Progress" page (#36126) @LadyBluenotes
|
|
104
|
+
- [docs] Revise Joy UI "Radio" page (#35893) @DevinCLane
|
|
105
|
+
- [docs] Support Google Analytics 4 (#36123) @alexfauquette
|
|
106
|
+
- [docs][material] Keep consistency in description of classes (#36631) @hbjORbj
|
|
107
|
+
- [docs] Remove redundant files and fix regression (#36775) @ZeeshanTamboli
|
|
108
|
+
|
|
109
|
+
### Core
|
|
110
|
+
|
|
111
|
+
- [blog] Compress images @oliviertassinari
|
|
112
|
+
- [core] Remove unused token (#36722) @oliviertassinari
|
|
113
|
+
|
|
114
|
+
All contributors of this release in alphabetical order: @alexfauquette, @amal-qb, @danilo-leal, @DevinCLane, @gitstart, @hbjORbj, @HeVictor, @LadyBluenotes, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @RBerthier, @sai6855, @siriwatknp, @viclafouch, @yushanwebdev
|
|
115
|
+
|
|
116
|
+
## 5.11.15
|
|
117
|
+
|
|
118
|
+
<!-- generated comparing v5.11.14..master -->
|
|
119
|
+
|
|
120
|
+
_Mar 28, 2023_
|
|
121
|
+
|
|
122
|
+
A big thanks to the 10 contributors who made this release possible. We have one big highlight this week โจ:
|
|
123
|
+
|
|
124
|
+
- @siriwatknp made a [Theme Builder](https://mui.com/joy-ui/customization/theme-builder) for Joy UI ๐จ (#35741)
|
|
125
|
+
|
|
126
|
+
### `@mui/material@5.11.15`
|
|
127
|
+
|
|
128
|
+
- [Chip] Fix error when theme value is a CSS variable (#36654) @siriwatknp
|
|
129
|
+
- [Grid2] Support dynamic nested columns (#36401) @siriwatknp
|
|
130
|
+
|
|
131
|
+
### `@mui/system@5.11.15`
|
|
132
|
+
|
|
133
|
+
- [system] Enable regressions tests & fix regressions (#36611) @mnajdova
|
|
134
|
+
- [Stack] Add `useFlexGap` prop (#36404) @siriwatknp
|
|
135
|
+
|
|
136
|
+
### `@mui/base@5.0.0-alpha.122`
|
|
137
|
+
|
|
138
|
+
- [Autocomplete] Update `autoSelect` prop description (#36280) @sai6855
|
|
139
|
+
- [TablePagination][base] Improve `actions` type in `slotProps` (#36458) @sai6855
|
|
140
|
+
- [Base] Add JSDoc comments for classes of Base components (#36586) @hbjORbj
|
|
141
|
+
- [useSlider][base] Add API docs for the hook parameters and return type (#36576) @varunmulay22
|
|
142
|
+
|
|
143
|
+
### `@mui/joy@5.0.0-alpha.73`
|
|
144
|
+
|
|
145
|
+
- [Joy] Miscellaneous fixes (#36628) @siriwatknp
|
|
146
|
+
- [Joy] Add palette customizer (#35741) @siriwatknp
|
|
147
|
+
|
|
148
|
+
### Docs
|
|
149
|
+
|
|
150
|
+
- Revert "[docs] Use `theme.applyDarkStyles` for the rest of the docs" (#36602) @mnajdova
|
|
151
|
+
- [blog] Improvements on v6 announcement blog (#36505) @joserodolfofreitas
|
|
152
|
+
- [docs] Add `Snackbar` coming soon page (#36604) @danilo-leal
|
|
153
|
+
- [docs] Add accordion coming soon page (#36279) @siriwatknp
|
|
154
|
+
- [docs] Fix palette customizer theme augmentation (#36629) @siriwatknp
|
|
155
|
+
- [docs] Finish migration away from https://reactjs.org/ @oliviertassinari
|
|
156
|
+
- [docs] Remove duplicated slot descriptions (#36621) @hbjORbj
|
|
157
|
+
- [docs] Fix broken example link (#36607) @mnajdova
|
|
158
|
+
- [docs] Use `theme.applyDarkStyles` (#36606) @siriwatknp
|
|
159
|
+
- [docs] Improve API for theme default prop (#36490) @oliviertassinari
|
|
160
|
+
- [docs][Table] Refactor `Sorting & Selecting` table demo (#33236) @IFaniry
|
|
161
|
+
|
|
162
|
+
### Core
|
|
163
|
+
|
|
164
|
+
- [core] Use Netlify function for feedback management (#36472) @alexfauquette
|
|
165
|
+
|
|
166
|
+
All contributors of this release in alphabetical order: @alexfauquette, @danilo-leal, @hbjORbj, @IFaniry, @joserodolfofreitas, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp, @varunmulay22
|
|
167
|
+
|
|
168
|
+
## 5.11.14
|
|
169
|
+
|
|
170
|
+
<!-- generated comparing v5.11.13..master -->
|
|
171
|
+
|
|
172
|
+
_Mar 21, 2023_
|
|
173
|
+
|
|
174
|
+
A big thanks to the 15 contributors who made this release possible.
|
|
175
|
+
This release was mostly about ๐ bug fixes and ๐ documentation improvements.
|
|
176
|
+
|
|
177
|
+
### `@mui/material@5.11.14`
|
|
178
|
+
|
|
179
|
+
- [Breadcrumbs] Add ability to change icon used in `BreadcrumbCollapsed` through slots (#33812) @pratikkarad
|
|
180
|
+
- [Stepper] Add aria-current to active StepButton (#36526) @michalak111
|
|
181
|
+
- [TabScrollButton] Add ability to change left and right icons (#33863) @pratikkarad
|
|
182
|
+
- [ListItemButton] Respect LinkComponent (#34159) @zaverden
|
|
183
|
+
- [l10n] Add Central Kurdish (ku-CKB) locale (#36592) @HediMuhamad
|
|
184
|
+
|
|
185
|
+
### `@mui/system@5.11.14`
|
|
186
|
+
|
|
187
|
+
- [system] Fix sx prop regression for fontWeight values (#36543) @mnajdova
|
|
188
|
+
|
|
189
|
+
### `@mui/base@5.0.0-alpha.121`
|
|
190
|
+
|
|
191
|
+
- [docs][base] Improve the Slots Table in API docs (#36330) @hbjORbj
|
|
192
|
+
|
|
193
|
+
### `@mui/joy@5.0.0-alpha.72`
|
|
194
|
+
|
|
195
|
+
- [Joy] Ensure new CSS variable naming is everywhere (#36460) @hbjORbj
|
|
196
|
+
- [Menu][joy] Classname listbox is missing (#36520) @hbjORbj
|
|
197
|
+
- [Joy] Fix `--List-decorator*` vars (#36595) @siriwatknp
|
|
198
|
+
|
|
199
|
+
### `@mui/lab@5.0.0-alpha.124`
|
|
200
|
+
|
|
201
|
+
- [Masonry] Include Masonry in theme augmentation interface (#36533) @hbjORbj
|
|
202
|
+
|
|
203
|
+
### Docs
|
|
204
|
+
|
|
205
|
+
- [blog] Post blog about Chamonix retreat to the website (#36517) @mikailaread
|
|
206
|
+
- [blog] Fix image layout shift (#36522) @oliviertassinari
|
|
207
|
+
- [docs] Use `theme.applyDarkStyles` for the rest of the docs (#36161) @siriwatknp
|
|
208
|
+
- [docs] Fix 301 and 404 links (#36555) @oliviertassinari
|
|
209
|
+
- [docs] Keep slot code order in API docs (#36499) @oliviertassinari
|
|
210
|
+
- [docs] Missing className on Migrating from JSS example (#36536) @gabrielnafuzi
|
|
211
|
+
- [docs] Fix function name for Joy templates (#36512) @hbjORbj
|
|
212
|
+
- [docs] Add multiline Chip example (#36437) @dav1app
|
|
213
|
+
- [docs] Add a new gold sponsor (#36518) @hbjORbj
|
|
214
|
+
- [docs][joy] Improve the Slots Table in API docs (#36328) @hbjORbj
|
|
215
|
+
- [docs] Fix virtualElement demo for Popper (#36320) @sai6855
|
|
216
|
+
- [docs] Fix typo in API docs (#36388) @RomanHotsiy
|
|
217
|
+
- [docs] Ensure classname displayed under Slots section in API docs exists (#36539) @hbjORbj
|
|
218
|
+
- [docs][joy] Build TS versions for Modal component demos (#36385) @varunmulay22
|
|
219
|
+
- [docs][joy] Build TS versions for Menu component demos (#36383) @varunmulay22
|
|
220
|
+
- [docs][joy] Build TS versions for Switch component demos (#36379) @varunmulay22
|
|
221
|
+
- [docs] Remove `shouldSkipGeneratingVar` usage (#36581) @siriwatknp
|
|
222
|
+
- [docs][material] Update Table's demo to show pointer cursor on clickable rows (#36546) @varunmulay22
|
|
223
|
+
- [website] Designer role changes (#36528) @danilo-leal
|
|
224
|
+
- [website] No association between showcase and MUI @oliviertassinari
|
|
225
|
+
- [website] Open Head of Operations role (#36501) @oliviertassinari
|
|
226
|
+
- [website] Limit sponsors description to two rows @oliviertassinari
|
|
227
|
+
|
|
228
|
+
### Core
|
|
229
|
+
|
|
230
|
+
- [core] Fix CI @oliviertassinari
|
|
231
|
+
- [core] Fix blank line @oliviertassinari
|
|
232
|
+
- [website] Simplify internal ops @oliviertassinari
|
|
233
|
+
|
|
234
|
+
All contributors of this release in alphabetical order: @danilo-leal, @dav1app, @gabrielnafuzi, @hbjORbj, @HediMuhamad, @michalak111, @mikailaread, @mnajdova, @oliviertassinari, @pratikkarad, @RomanHotsiy, @sai6855, @siriwatknp, @varunmulay22, @zaverden
|
|
235
|
+
|
|
236
|
+
## 5.11.13
|
|
237
|
+
|
|
238
|
+
<!-- generated comparing v5.11.12..master -->
|
|
239
|
+
|
|
240
|
+
_Mar 14, 2023_
|
|
241
|
+
|
|
242
|
+
A big thanks to the 13 contributors who made this release possible. Here are some highlights โจ:
|
|
243
|
+
|
|
244
|
+
- @michaldudak added an option for [disabling the generation](https://mui.com/base/getting-started/customization/#disabling-default-css-classes) of the default classes in Base UI (#35963)
|
|
245
|
+
- other ๐ bug fixes and ๐ documentation improvements.
|
|
246
|
+
|
|
247
|
+
### `@mui/material@5.11.13`
|
|
248
|
+
|
|
249
|
+
- ​<!-- 13 -->[core] Bump Base UI's version in Material UI (#36492) @hbjORbj
|
|
250
|
+
- ​<!-- 17 -->[material] Export `shouldSkipGeneratingVar` from Material UI (#36489) @siriwatknp
|
|
251
|
+
- ​<!-- 06 -->[Typography] Apply font properties to typography inherit variant (#33621) @oyar99
|
|
252
|
+
|
|
253
|
+
### `@mui/base@5.0.0-alpha.121`
|
|
254
|
+
|
|
255
|
+
- ​<!-- 16 -->[base] Disable classes generation via a context (#35963) @michaldudak
|
|
256
|
+
- ​<!-- 15 -->[useMenu][base] Add return interface for useMenu hook (#36376) @HeVictor
|
|
257
|
+
- ​<!-- 05 -->[useBadge] Add interface for the return value (#36042) @skevprog
|
|
258
|
+
- ​<!-- 04 -->[useMenuItem] Add explicit return type (#36359) @rayrw
|
|
259
|
+
- ​<!-- 03 -->[useTabs] Add explicit return type (#36047) @sai6855
|
|
260
|
+
|
|
261
|
+
### Docs
|
|
262
|
+
|
|
263
|
+
- ​<!-- 14 -->[blog] Update fields behavior on date pickers blog post (#36480) @joserodolfofreitas
|
|
264
|
+
- ​<!-- 12 -->[docs] Info markdown not rendering in Contributing Guide README (#36487) @hbjORbj
|
|
265
|
+
- ​<!-- 11 -->[docs] Remove 301 redirection to MUI X lab migration @oliviertassinari
|
|
266
|
+
- ​<!-- 10 -->[docs] Fix a grammar error (#36486) @hbjORbj
|
|
267
|
+
- ​<!-- 09 -->[docs] Add blog post notification for v6 release (#36446) @joserodolfofreitas
|
|
268
|
+
- ​<!-- 08 -->[docs] Update link to v5 docs (#36421) @m4theushw
|
|
269
|
+
- ​<!-- 07 -->[docs] Fix 404 in the API page links (#36419) @oliviertassinari
|
|
270
|
+
- ​<!-- 08 -->[docs][joy] Error in the exemplary Codesandbox of using Material UI and Joy UI together (#36462) @hbjORbj
|
|
271
|
+
- ​<!-- 06 -->[examples] Refactor to have better types in the Next.js + TypeScript examples (#36355) @erikian
|
|
272
|
+
- ​<!-- 02 -->[website] Fix layout shift when loading /blog/mui-x-v6/ @oliviertassinari
|
|
273
|
+
- ​<!-- 01 -->[website] Update stats (#36477) @hrutik7
|
|
274
|
+
|
|
275
|
+
All contributors of this release in alphabetical order: @erikian, @hbjORbj, @HeVictor, @hrutik7, @joserodolfofreitas, @m4theushw, @michaldudak, @oliviertassinari, @oyar99, @rayrw, @sai6855, @siriwatknp, @skevprog
|
|
276
|
+
|
|
277
|
+
## 5.11.12
|
|
278
|
+
|
|
279
|
+
<!-- generated comparing v5.11.11..master -->
|
|
280
|
+
|
|
281
|
+
_Mar 6, 2023_
|
|
282
|
+
|
|
283
|
+
A big thanks to the 17 contributors who made this release possible. Here are some highlights โจ:
|
|
284
|
+
|
|
285
|
+
- @michaldudak added the multiselect functionality to SelectUnstyled (#36274)
|
|
286
|
+
- @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)
|
|
287
|
+
- other ๐ bug fixes and ๐ documentation improvements.
|
|
288
|
+
|
|
289
|
+
### `@mui/material@5.11.12`
|
|
290
|
+
|
|
291
|
+
- ​<!-- 30 -->[Autocomplete] Fix list scrolls to the top when new data is added on touch devices (#36231) @SaidMarar
|
|
292
|
+
- ​<!-- 29 -->[Autocomplete] Add `Mui-expanded` class (#33312) @Osman-Sodefa
|
|
293
|
+
- ​<!-- 24 -->[Dialog] Use the `id` prop provided to the `DialogTitle` component (#36353) @Kundan28
|
|
294
|
+
- ​<!-- 07 -->[Menu] Fix Menu Paper styles overriding in the theme (#36316) @Paatus
|
|
295
|
+
|
|
296
|
+
### `@mui/lab@5.0.0-alpha.122`
|
|
297
|
+
|
|
298
|
+
- ​<!-- 05 -->[TreeView] Fix Tree View inside shadow root crashes (#36225) @NoFr1ends
|
|
299
|
+
|
|
300
|
+
### `@mui/system@5.11.12`
|
|
301
|
+
|
|
302
|
+
#### Breaking changes
|
|
303
|
+
|
|
304
|
+
- ​<!-- 26 -->[core] Generate vars in `extendTheme` (#35739) @mnajdova
|
|
305
|
+
|
|
306
|
+
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:
|
|
307
|
+
|
|
308
|
+
```diff
|
|
309
|
+
import {
|
|
310
|
+
unstable_createCssVarsProvider as createCssVarsProvider,
|
|
311
|
+
+ unstable_createCssVarsTheme as createCssVarsTheme,
|
|
312
|
+
} from '@mui/system';
|
|
313
|
+
|
|
314
|
+
const { CssVarsProvider } = createCssVarsProvider({
|
|
315
|
+
- theme: {
|
|
316
|
+
+ theme: createCssVarsTheme({
|
|
317
|
+
colorSchemes: {
|
|
318
|
+
light: {
|
|
319
|
+
typography: {
|
|
320
|
+
htmlFontSize: '16px',
|
|
321
|
+
h1: {
|
|
322
|
+
fontSize: '1rem',
|
|
323
|
+
fontWeight: 500,
|
|
324
|
+
},
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
+ shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1',
|
|
329
|
+
- },
|
|
330
|
+
+ }),
|
|
331
|
+
defaultColorScheme: 'light',
|
|
332
|
+
- shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1',
|
|
333
|
+
});
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
Or you can define it directly in the theme prop:
|
|
337
|
+
|
|
338
|
+
```diff
|
|
339
|
+
<CssVarsProvider
|
|
340
|
+
+ theme={createCssVarsProvider({
|
|
341
|
+
+ // other theme keys
|
|
342
|
+
+ shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1'
|
|
343
|
+
+ })} />
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
This breaking change **only** affects experimental APIs
|
|
347
|
+
|
|
348
|
+
### `@mui/base@5.0.0-alpha.120`
|
|
349
|
+
|
|
350
|
+
#### Breaking changes
|
|
351
|
+
|
|
352
|
+
- ​<!-- 27 -->[Select][base] Add the multiselect functionality to SelectUnstyled (#36274) @michaldudak
|
|
353
|
+
|
|
354
|
+
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:
|
|
355
|
+
|
|
356
|
+
```diff
|
|
357
|
+
-import MultiSelectUnstyled from '@mui/base/MultiSelectUnstyled';
|
|
358
|
+
+import SelectUnstyled from '@mui/base/SelectUnstyled';
|
|
359
|
+
|
|
360
|
+
export default App() {
|
|
361
|
+
-return <MultiSelectUnstyled />
|
|
362
|
+
+return <SelectUnstyled multiple />
|
|
363
|
+
}
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
#### Changes
|
|
367
|
+
|
|
368
|
+
- ​<!-- 34 -->[useSnackBar] Add explicit return type (#36052) @sai6855
|
|
369
|
+
- ​<!-- 04 -->[useMenu] Fix `import type` syntax (#36411) @ZeeshanTamboli
|
|
370
|
+
- ​<!-- 03 -->[useSwitch] Add explicit return type (#36050) @sai6855
|
|
371
|
+
|
|
372
|
+
### `@mui/joy@5.0.0-alpha.70`
|
|
373
|
+
|
|
374
|
+
#### Breaking changes
|
|
375
|
+
|
|
376
|
+
- ​<!-- 09 -->[Joy] Change CSS variables naming for components (#36282) @hbjORbj
|
|
377
|
+
|
|
378
|
+
Joy UI has new naming standards of the CSS variables for its components. Below is an example of how the migration should look like:
|
|
379
|
+
|
|
380
|
+
```diff
|
|
381
|
+
-<List sx={{ py: 'var(--List-divider-gap)' }}>
|
|
382
|
+
+<List sx={{ py: 'var(--ListDivider-gap)' }}>
|
|
383
|
+
-<Switch sx={{ '--Switch-track-width': '40px' }}>
|
|
384
|
+
+<Switch sx={{ '--Switch-trackWidth': '40px' }}>
|
|
385
|
+
```
|
|
386
|
+
|
|
387
|
+
#### Changes
|
|
388
|
+
|
|
389
|
+
- ​<!-- 28 -->[Autocomplete][joy] Add disabled class to the popup indicator (#36397) @hbjORbj
|
|
390
|
+
- ​<!-- 08 -->[Joy] Fix broken loading button in Safari (#36298) @Kuba429
|
|
391
|
+
|
|
392
|
+
### Docs
|
|
393
|
+
|
|
394
|
+
- ​<!-- 33 -->[docs][joy] Clarify when `CssVarsProvider` is required (#36410) @mnajdova
|
|
395
|
+
- ​<!-- 32 -->MUI X v6 release announcement (#36398) @joserodolfofreitas
|
|
396
|
+
- ​<!-- 23 -->[docs] Add instructions for deploying docs without a release (#36301) @cherniavskii
|
|
397
|
+
- ​<!-- 22 -->[docs] Fix 301 redirections on the docs @oliviertassinari
|
|
398
|
+
- ​<!-- 21 -->[docs] Update MUI X banner to reflect stable release (#36354) @MBilalShafi
|
|
399
|
+
- ​<!-- 20 -->[docs] Clarify the future plan for integrating Base UI in Material UI (#36365) @mnajdova
|
|
400
|
+
- ​<!-- 19 -->[docs] Improve visual look of loose lists (#36190) @oliviertassinari
|
|
401
|
+
- ​<!-- 18 -->[docs] Fix @mui/styles example links (#36331) @oliviertassinari
|
|
402
|
+
- ​<!-- 17 -->[docs][joy] Build TS versions for List component demos (#36382) @sai6855
|
|
403
|
+
- ​<!-- 16 -->[docs][joy] Build TS versions for Radio component demos (#36406) @sai6855
|
|
404
|
+
- ​<!-- 15 -->[docs][joy] Build TS versions for Checkbox component demos (#36381) @sai6855
|
|
405
|
+
- ​<!-- 14 -->[docs][joy] Build TS versions for Select component demos (#36380) @sai6855
|
|
406
|
+
- ​<!-- 13 -->[docs][joy] Build TS versions for Typography component demos (#36378) @varunmulay22
|
|
407
|
+
- ​<!-- 12 -->[docs][joy] Add typescript demos for `Divider` (#36374) @sai6855
|
|
408
|
+
- ​<!-- 11 -->[docs][joy] Build TS versions for Textarea component demos (#36371) @varunmulay22
|
|
409
|
+
- ​<!-- 10 -->[docs][joy] Build TS versions for Link component demos (#36366) @hbjORbj
|
|
410
|
+
|
|
411
|
+
### Core
|
|
412
|
+
|
|
413
|
+
- ​<!-- 31 -->Revert "Bump rimraf to ^4.1.3" (#36420) @mnajdova
|
|
414
|
+
- ​<!-- 25 -->[core] Fix test utils types and external `buildApiUtils` usage issues (#36310) @LukasTy
|
|
415
|
+
- ​<!-- 06 -->[test] Remove duplicate `combobox` role queries in Autocomplete tests (#36394) @ZeeshanTamboli
|
|
416
|
+
- ​<!-- 02 -->[website] Clarify redistribution @oliviertassinari
|
|
417
|
+
- ​<!-- 01 -->[website] Sync /about page (#36334) @oliviertassinari
|
|
418
|
+
|
|
419
|
+
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
|
|
420
|
+
|
|
3
421
|
## 5.11.11
|
|
4
422
|
|
|
5
423
|
<!-- generated comparing v5.11.10..master -->
|
|
@@ -8,7 +426,7 @@ _Feb 27, 2023_
|
|
|
8
426
|
|
|
9
427
|
A big thanks to the 15 contributors who made this release possible. Here are some highlights โจ:
|
|
10
428
|
|
|
11
|
-
- ๐ added API documentation for the slots in
|
|
429
|
+
- ๐ added API documentation for the slots in Base UI and Joy UI by @hbjORbj, for e.g. [SliderUnstyled API](https://mui.com/base/api/slider-unstyled/#slots)
|
|
12
430
|
- other ๐ bug fixes and ๐ documentation improvements.
|
|
13
431
|
|
|
14
432
|
### `@mui/material@5.11.11`
|
|
@@ -245,7 +663,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
245
663
|
- ​<!-- 16 -->[docs] Improve inline preview's information (#35974) @oliviertassinari
|
|
246
664
|
- ​<!-- 15 -->[docs] Fix wrong v5 migration instructions (#36022) @oliviertassinari
|
|
247
665
|
- ​<!-- 14 -->[docs] Fix autocomplete render group key warning in the demo (#36025) @chuanyu0201
|
|
248
|
-
- ​<!-- 13 -->[docs] Add hooks API pages for
|
|
666
|
+
- ​<!-- 13 -->[docs] Add hooks API pages for Base UI (#35828) @mnajdova
|
|
249
667
|
- ​<!-- 12 -->[docs] Fix grammar typo (#36016) @alexownejazayeri
|
|
250
668
|
- ​<!-- 11 -->[docs][joy] Add JSDoc for the `AutocompleteProps` type (#36039) @ArthurPedroti
|
|
251
669
|
|
|
@@ -461,7 +879,7 @@ This release was mostly about ๐ bug fixes and ๐ documentation improvements
|
|
|
461
879
|
|
|
462
880
|
- [docs] Improve pickers lab migration stressing `mui-x` usage (#35740) @LukasTy
|
|
463
881
|
- [docs] Fix incorrectly named AccessibleTable demo component (#35832) @HeVictor
|
|
464
|
-
- [docs] Clarify where to find docs for
|
|
882
|
+
- [docs] Clarify where to find docs for Base UI components in Material UI (#35799) @samuelsycamore
|
|
465
883
|
- [docs] Fix typos (#35814) @alexfauquette
|
|
466
884
|
- [docs] Revise and expand the Joy UI Card page (#35745) @samuelsycamore
|
|
467
885
|
- [docs] Fix navigation layout shift (#35679) @oliviertassinari
|
|
@@ -572,7 +990,7 @@ _Dec 26, 2022_
|
|
|
572
990
|
|
|
573
991
|
A big thanks to the 20 contributors who made this release possible. Here are some highlights โจ:
|
|
574
992
|
|
|
575
|
-
- โ๏ธ Several
|
|
993
|
+
- โ๏ธ Several Base UI components were converted to TypeScript by @trizotti, @leventdeniz and @danhuynhdev (#35005, #34793, #34771)
|
|
576
994
|
- Many other ๐ bug fixes abd ๐ documentation improvements.
|
|
577
995
|
|
|
578
996
|
### `@mui/material@5.11.2`
|
|
@@ -749,7 +1167,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
|
|
|
749
1167
|
- [docs] Refactor `ToggleButtonSizes` demo (#35375) @Armanio
|
|
750
1168
|
- [docs] Standardize the usage of callouts in the MUI Core docs (#35361) @samuelsycamore
|
|
751
1169
|
- [docs] Format feedback to add a link to the commented section (#35381) @alexfauquette
|
|
752
|
-
- [docs] Direct users from Material UI to
|
|
1170
|
+
- [docs] Direct users from Material UI to Base UI for duplicated components (#35293) @samuelsycamore
|
|
753
1171
|
- [docs] Fix typo in FormControl API docs (#35449) @Spanishiwa
|
|
754
1172
|
- [docs] Update callouts design (#35390) @danilo-leal
|
|
755
1173
|
- [website] New wave of open roles (#35240) @mnajdova
|
|
@@ -824,7 +1242,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
824
1242
|
- ​<!-- 14 -->[docs] Improve the autogenerated "Unstyled" and "API" text (#35185) @samuelsycamore
|
|
825
1243
|
- ​<!-- 13 -->[docs] Fix ad margin on API pages (#35201) @oliviertassinari
|
|
826
1244
|
- ​<!-- 12 -->[docs] Revise and expand the Joy UI "Badge" page (#35199) @samuelsycamore
|
|
827
|
-
- ​<!-- 11 -->[docs] Update
|
|
1245
|
+
- ​<!-- 11 -->[docs] Update Base UI docs with latest style conventions (#35034) @samuelsycamore
|
|
828
1246
|
- ​<!-- 09 -->[l10n] Improve Chinese (Taiwan) zh-TW locale (#35328) @happyincent
|
|
829
1247
|
- ​<!-- 02 -->[website] Update MUI stats: GitHub stars, Twitter followers, etc. (#35318) @nomandhoni-cs
|
|
830
1248
|
|
|
@@ -1157,7 +1575,7 @@ _Oct 25, 2022_
|
|
|
1157
1575
|
|
|
1158
1576
|
A big thanks to the 10 contributors who made this release possible. Here are some highlights โจ:
|
|
1159
1577
|
|
|
1160
|
-
- ๐ง Moved `components` to `slots` prop starting at
|
|
1578
|
+
- ๐ง Moved `components` to `slots` prop starting at Base UI to create consistency across products
|
|
1161
1579
|
- Many other ๐ bug fixes, ๐ documentation, and โ๏ธ infrastructure improvements
|
|
1162
1580
|
|
|
1163
1581
|
### `@mui/material@5.10.11`
|
|
@@ -1239,7 +1657,7 @@ A big thanks to the 21 contributors who made this release possible. Here are som
|
|
|
1239
1657
|
|
|
1240
1658
|
- ๐ Thanks to the efforts of @bharatkashyap and @nihgwu, we now have editable demos across our docs (#34454)!
|
|
1241
1659
|
- ๐ The Tooltip component has been added to Joy UI by @hbjORbj (#34509).
|
|
1242
|
-
- โ๏ธ We started converting the remaining JS components in
|
|
1660
|
+
- โ๏ธ We started converting the remaining JS components in Base UI to TypeScript.
|
|
1243
1661
|
@mbayucot finished the first PR with the conversion of the NoSsr code (#34735).
|
|
1244
1662
|
- And more ๐ bug fixes and ๐ documentation improvements.
|
|
1245
1663
|
|
|
@@ -1370,7 +1788,7 @@ _Oct 3, 2022_
|
|
|
1370
1788
|
|
|
1371
1789
|
A big thanks to the 18 contributors who made this release possible. Here are some highlights โจ:
|
|
1372
1790
|
|
|
1373
|
-
- ๐ [SnackbarUnstyled](https://mui.com/base/react-snackbar/) component & headless hook are added to
|
|
1791
|
+
- ๐ [SnackbarUnstyled](https://mui.com/base/react-snackbar/) component & headless hook are added to Base UI (#33227) @ZeeshanTamboli
|
|
1374
1792
|
- ๐ [CSS variables documentation](https://mui.com/material-ui/experimental-api/css-theme-variables/overview/) for Material UI has been added by @siriwatknp (#33958)
|
|
1375
1793
|
- And more ๐ bug fixes and ๐ documentation improvements.
|
|
1376
1794
|
|
|
@@ -1472,7 +1890,7 @@ A big thanks to the 21 contributors who made this release possible. Here are som
|
|
|
1472
1890
|
|
|
1473
1891
|
### Docs
|
|
1474
1892
|
|
|
1475
|
-
- [blog]
|
|
1893
|
+
- [blog] Base UI announcement typo fixed (#34409) @prakhargupta1
|
|
1476
1894
|
- [blog] Fix typo in date-pickers v5 stable (#34386) @alexfauquette
|
|
1477
1895
|
- [blog] Update date on date pickers v5 release blog post (#34406) @joserodolfofreitas
|
|
1478
1896
|
- [docs] Update `useMenu` and `useMenuItem` hooks demo (#34166) @ZeeshanTamboli
|
|
@@ -1558,7 +1976,7 @@ This release was mostly about ๐ bug fixes and ๐ documentation improvements
|
|
|
1558
1976
|
- [docs] Fix 301 link to external projects @oliviertassinari
|
|
1559
1977
|
- [docs] Move 12 component names to Title Case (#34188) @oliviertassinari
|
|
1560
1978
|
- [docs] Fix broken links (#34320) @alexfauquette
|
|
1561
|
-
- [docs] Add notification for
|
|
1979
|
+
- [docs] Add notification for Base UI announcement post (#34295) @samuelsycamore
|
|
1562
1980
|
- [website] Fix MUI X subscribe email border style (#34330) @oliviertassinari
|
|
1563
1981
|
- [website] Improve security header @oliviertassinari
|
|
1564
1982
|
|
|
@@ -1579,7 +1997,7 @@ _Sep 12, 2022_
|
|
|
1579
1997
|
|
|
1580
1998
|
A big thanks to the 12 contributors who made this release possible. Here are some highlights โจ:
|
|
1581
1999
|
|
|
1582
|
-
- ๐ [Blog post](https://mui.com/blog/introducing-mui-base/) for announcing the release of the
|
|
2000
|
+
- ๐ [Blog post](https://mui.com/blog/introducing-mui-base/) for announcing the release of the Base UI package is out thanks to @michaldudak.
|
|
1583
2001
|
- ๐ 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
|
|
1584
2002
|
- And more ๐ bug fixes and ๐ documentation improvements.
|
|
1585
2003
|
|
|
@@ -1602,7 +2020,7 @@ A big thanks to the 12 contributors who made this release possible. Here are som
|
|
|
1602
2020
|
|
|
1603
2021
|
### Docs
|
|
1604
2022
|
|
|
1605
|
-
- ​<!-- 16 -->[blog] Introducing
|
|
2023
|
+
- ​<!-- 16 -->[blog] Introducing Base UI (#33778) @michaldudak
|
|
1606
2024
|
- ​<!-- 13 -->[docs] Fix spelling error (#34209) @ChrystianDeMatos
|
|
1607
2025
|
- ​<!-- 12 -->[docs] Improve link to the security policy (#34219) @oliviertassinari
|
|
1608
2026
|
- ​<!-- 11 -->[docs] Fix typo in Joy UI's `Usage` docs (#34200) @zillion504
|
|
@@ -2098,7 +2516,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
|
|
|
2098
2516
|
- ๐งช Exported Grid v2 as `Unstable_Grid2` (#33479) @siriwatknp
|
|
2099
2517
|
- ๐ Added a guide for using Joy UI and Material UI together (#33396) @siriwatknp
|
|
2100
2518
|
- ๐ 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/
|
|
2519
|
+
- โ ๏ธ **[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
2520
|
- many other ๐ bug fixes and ๐ documentation improvements
|
|
2103
2521
|
- our documentation site is now running with React 18! (#33196) @mnajdova
|
|
2104
2522
|
|
|
@@ -2124,7 +2542,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
|
|
|
2124
2542
|
|
|
2125
2543
|
- [lab] Remove the pickers (#33386) @flaviendelangle
|
|
2126
2544
|
|
|
2127
|
-
The pickers are moved to MUI X, check out the [migration guide](https://mui.com/x/
|
|
2545
|
+
The pickers are moved to MUI X, check out the [migration guide](https://mui.com/x/migration/migration-pickers-lab/).
|
|
2128
2546
|
|
|
2129
2547
|
**Changes**
|
|
2130
2548
|
|
|
@@ -2157,7 +2575,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
|
|
|
2157
2575
|
- [docs] Add "refine" demo to showcase (#33240) @omeraplak
|
|
2158
2576
|
- [docs] Add webpack alias for legacy utils package (#33376) @jgbae
|
|
2159
2577
|
- [docs] Improve external link icons synonyms (#33257) @davidgarciab
|
|
2160
|
-
- [examples] Update
|
|
2578
|
+
- [examples] Update Base UI with Tailwind CSS to use the latest versions of the dependencies (#33401) @mnajdova
|
|
2161
2579
|
- [examples] Add MUI base example (#33154) @siriwatknp
|
|
2162
2580
|
|
|
2163
2581
|
### Core
|
|
@@ -2331,7 +2749,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
2331
2749
|
- ​<!-- 28 -->[blog] Update Blogpost to clear confusion on "no impact" disclaimer. (#33131) @joserodolfofreitas
|
|
2332
2750
|
- ​<!-- 27 -->[blog] Add post about v5 Migration guide update (#33063) @samuelsycamore
|
|
2333
2751
|
- ​<!-- 26 -->[blog] Fix display on Safari (#33102) @oliviertassinari
|
|
2334
|
-
- ​<!-- 18 -->[docs] Add guide on how to use
|
|
2752
|
+
- ​<!-- 18 -->[docs] Add guide on how to use Base UI with Tailwind CSS (#33100) @mnajdova
|
|
2335
2753
|
- ​<!-- 17 -->[docs] Improve Joy template UX (#33159) @siriwatknp
|
|
2336
2754
|
- ​<!-- 16 -->[docs] Update Shadow DOM guide (#33160) @cherniavskii
|
|
2337
2755
|
- ​<!-- 15 -->[docs] Fix SEO regressions (#33106) @oliviertassinari
|
|
@@ -2409,7 +2827,7 @@ A big thanks to the 24 contributors who made this release possible. Here are som
|
|
|
2409
2827
|
- ​<!-- 31 -->[docs] Move codesandbox to MUI org (#33122) @oliviertassinari
|
|
2410
2828
|
- ​<!-- 30 -->[docs] Add Shadow DOM guide (#33007) @cherniavskii
|
|
2411
2829
|
- ​<!-- 29 -->[docs] Fix typo in Material UI overview page (#33087) @oliviertassinari
|
|
2412
|
-
- ​<!-- 28 -->[docs] Miscellaneous fixes in `
|
|
2830
|
+
- ​<!-- 28 -->[docs] Miscellaneous fixes in `Base UI` docs (#33091) @ZeeshanTamboli
|
|
2413
2831
|
- ​<!-- 27 -->[docs] Fix GitHub capitalization (#33071) @oliviertassinari
|
|
2414
2832
|
- ​<!-- 26 -->[docs] Fix a typo in `InputUnstyled` docs (#33077) @ZeeshanTamboli
|
|
2415
2833
|
- ​<!-- 25 -->[docs] Add notification for Joy blog post (#33059) @siriwatknp
|
|
@@ -2845,7 +3263,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
2845
3263
|
- ​<!-- 24 -->[docs] Base Button style revisions and final review (#32380) @samuelsycamore
|
|
2846
3264
|
- ​<!-- 23 -->[docs] Base NoSsr style revisions and final review (#32254) @samuelsycamore
|
|
2847
3265
|
- ​<!-- 22 -->[docs] Correctly capitalize Ctrl @oliviertassinari
|
|
2848
|
-
- ​<!-- 21 -->[docs] Fix styling in `Basic Popper` demo on the
|
|
3266
|
+
- ​<!-- 21 -->[docs] Fix styling in `Basic Popper` demo on the Base UI docs (#32488) @ZeeshanTamboli
|
|
2849
3267
|
- ​<!-- 20 -->[docs] Add "Overview" page to Base docs (#32310) @samuelsycamore
|
|
2850
3268
|
- ​<!-- 19 -->[docs] Add copy button to code block (#32390) @siriwatknp
|
|
2851
3269
|
- ​<!-- 18 -->[docs] Base Tabs style revisions and final review (#32423) @samuelsycamore
|
|
@@ -3099,7 +3517,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
3099
3517
|
|
|
3100
3518
|
- ​<!-- 28 -->[core] Update peer deps to support React 18 (#32063) @eps1lon
|
|
3101
3519
|
- ​<!-- 27 -->[core] Fix running docs:api on Windows (#32091) @michaldudak
|
|
3102
|
-
- ​<!-- 26 -->[core] Fix api build script for
|
|
3520
|
+
- ​<!-- 26 -->[core] Fix api build script for Base UI (#32081) @siriwatknp
|
|
3103
3521
|
|
|
3104
3522
|
All contributors of this release in alphabetical order: @apeltop, @eps1lon, @flaviendelangle, @garronej, @ivan-ngchakming, @m4theushw, @MatthijsMud, @michaldudak, @mnajdova, @oliviertassinari, @psjishnu, @raigoinabox, @samuelsycamore, @siriwatknp, @TkaczykAdam
|
|
3105
3523
|
|
|
@@ -3326,7 +3744,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
3326
3744
|
|
|
3327
3745
|
- ​<!-- 24 -->[ClassNameGenerator] Prevent all `base` imports (#31297) @siriwatknp
|
|
3328
3746
|
|
|
3329
|
-
`unstable_ClassNameGenerator` has been moved from `utils` to `className` folder to prevent all
|
|
3747
|
+
`unstable_ClassNameGenerator` has been moved from `utils` to `className` folder to prevent all Base UI module imports. If you use the module, please update the import as suggested in the diff below:
|
|
3330
3748
|
|
|
3331
3749
|
```diff
|
|
3332
3750
|
-import { unstable_ClassNameGenerator } from '@mui/material/utils';
|
|
@@ -5101,7 +5519,7 @@ _Sep 1, 2021_
|
|
|
5101
5519
|
A big thanks to the 18 contributors who made this release possible. Here are some highlights โจ:
|
|
5102
5520
|
|
|
5103
5521
|
- ๐ Renamed packages to `@mui/*` as part of rebranding the company, following the strategy of expanding the library scope beyond Material Design. For more details about it, check the [GitHub discussion](https://github.com/mui/material-ui/discussions/27803).
|
|
5104
|
-
- ๐ Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/
|
|
5522
|
+
- ๐ Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/v5.0.0/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/material-ui/migration/migration-v4/#preset-safe)
|
|
5105
5523
|
- ๐งช Added new `<Mansory>` component to the lab, [check it out](https://mui.com/components/masonry/). It has been crafted by our first intern, @hbjORbj ๐!
|
|
5106
5524
|
|
|
5107
5525
|
### `@mui/material@5.0.0-rc.0`
|
|
@@ -5133,7 +5551,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
5133
5551
|
|
|
5134
5552
|
> **Note**: `@mui/base` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`.
|
|
5135
5553
|
|
|
5136
|
-
We encourage you to use the [codemod](https://github.com/mui/material-ui/blob/
|
|
5554
|
+
We encourage you to use the [codemod](https://github.com/mui/material-ui/blob/v5.0.0/packages/mui-codemod/README.md#mui-replace) for smooth migration.
|
|
5137
5555
|
|
|
5138
5556
|
#### Changes
|
|
5139
5557
|
|
|
@@ -6268,7 +6686,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
6268
6686
|
|
|
6269
6687
|
- ๐ฉโ๐ค We have completed the migration to emotion of all the components (`@material-ui/core` and `@material-ui/lab`) @siriwatknp, @mnajdova.
|
|
6270
6688
|
- ๐ฆ Save [10 kB gzipped](https://bundlephobia.com/package/@material-ui/core@5.0.0-alpha.34) by removing the dependency on `@material-ui/styles` (JSS) from the core and the lab (#26377, #26382, #26376) @mnajdova.
|
|
6271
|
-
- โ๏ธ Add many new [codemods](https://github.com/mui/material-ui/blob/
|
|
6689
|
+
- โ๏ธ Add many new [codemods](https://github.com/mui/material-ui/blob/v5.0.0/packages/mui-codemod/README.md) to automate the migration from v4 to v5 (#24867) @mbrookes.
|
|
6272
6690
|
- And many more ๐ bug fixes and ๐ improvements.
|
|
6273
6691
|
|
|
6274
6692
|
### `@material-ui/core@5.0.0-alpha.35`
|
|
@@ -8536,7 +8954,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
8536
8954
|
|
|
8537
8955
|
- [Box] Remove deprecated props (#23716) @mnajdova
|
|
8538
8956
|
All props are now available under the `sx` prop. A deprecation will be landing in v4.
|
|
8539
|
-
Thanks to @mbrookes developers can automate the migration with a [codemod](https://github.com/mui/material-ui/blob/
|
|
8957
|
+
Thanks to @mbrookes developers can automate the migration with a [codemod](https://github.com/mui/material-ui/blob/v5.0.0/packages/mui-codemod/README.md#box-sx-prop).
|
|
8540
8958
|
|
|
8541
8959
|
```diff
|
|
8542
8960
|
-<Box p={2} bgcolor="primary.main">
|
|
@@ -8891,7 +9309,7 @@ _Nov 4, 2020_
|
|
|
8891
9309
|
A big thanks to the 20 contributors who made this release possible. Here are some highlights โจ:
|
|
8892
9310
|
|
|
8893
9311
|
- โ๏ธ Add support for React 17 (#23311) @eps1lon.
|
|
8894
|
-
React 17 release is unusual because it doesn't add any new developer-facing features. It was released a couple of days ago. You can learn more about it in the [introduction post](https://reactjs.org/blog/2020/10/20/react-v17.html). Material UI now supports `^16.8.0 || ^17.0.0`.
|
|
9312
|
+
React 17 release is unusual because it doesn't add any new developer-facing features. It was released a couple of days ago. You can learn more about it in the [introduction post](https://legacy.reactjs.org/blog/2020/10/20/react-v17.html). Material UI now supports `^16.8.0 || ^17.0.0`.
|
|
8895
9313
|
- ๐ Introduce a new `@material-ui/unstyled` package (#23270) @mnajdova.
|
|
8896
9314
|
This package will host the unstyled version of the components. In this first iteration, only the Slider is available. You can find it documented under the [same page](https://mui.com/components/slider-styled/#unstyled-slider) as the styled version.
|
|
8897
9315
|
|
|
@@ -9900,7 +10318,7 @@ Here are some highlights โจ:
|
|
|
9900
10318
|
#### Breaking changes
|
|
9901
10319
|
|
|
9902
10320
|
- [Modal] Remove `onRendered` prop from Modal and Portal (#22464) @eps1lon
|
|
9903
|
-
Depending on your use case either use a [callback ref](https://reactjs.org/docs/refs-and-the-dom.html#callback-refs) on the child element or an effect hook in the child component.
|
|
10321
|
+
Depending on your use case either use a [callback ref](https://legacy.reactjs.org/docs/refs-and-the-dom.html#callback-refs) on the child element or an effect hook in the child component.
|
|
9904
10322
|
|
|
9905
10323
|
#### Changes
|
|
9906
10324
|
|
|
@@ -10363,7 +10781,7 @@ Here are some highlights โจ:
|
|
|
10363
10781
|
|
|
10364
10782
|
- [RootRef] Remove component (#21974) @eps1lon
|
|
10365
10783
|
This component was removed. You can get a reference to the underlying DOM node of our components via `ref` prop.
|
|
10366
|
-
The component relied on [`ReactDOM.findDOMNode`](https://reactjs.org/docs/react-dom.html#finddomnode) which is [deprecated in `React.StrictMode`](https://reactjs.org/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage).
|
|
10784
|
+
The component relied on [`ReactDOM.findDOMNode`](https://legacy.reactjs.org/docs/react-dom.html#finddomnode) which is [deprecated in `React.StrictMode`](https://legacy.reactjs.org/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage).
|
|
10367
10785
|
|
|
10368
10786
|
```diff
|
|
10369
10787
|
-<RootRef rootRef={ref}>
|
|
@@ -16,5 +16,5 @@ const GlobalStyles = createGlobalStyle(props => {
|
|
|
16
16
|
export default GlobalStyles;
|
|
17
17
|
GlobalStyles.propTypes = {
|
|
18
18
|
defaultTheme: PropTypes.object,
|
|
19
|
-
styles: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.func])
|
|
19
|
+
styles: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object, PropTypes.func])
|
|
20
20
|
};
|
package/index.js
CHANGED
|
@@ -15,5 +15,5 @@ var GlobalStyles = createGlobalStyle(function (props) {
|
|
|
15
15
|
export default GlobalStyles;
|
|
16
16
|
GlobalStyles.propTypes = {
|
|
17
17
|
defaultTheme: PropTypes.object,
|
|
18
|
-
styles: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.func])
|
|
18
|
+
styles: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object, PropTypes.func])
|
|
19
19
|
};
|
package/legacy/index.js
CHANGED
|
@@ -16,5 +16,5 @@ const GlobalStyles = createGlobalStyle(props => {
|
|
|
16
16
|
export default GlobalStyles;
|
|
17
17
|
GlobalStyles.propTypes = {
|
|
18
18
|
defaultTheme: PropTypes.object,
|
|
19
|
-
styles: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.func])
|
|
19
|
+
styles: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object, PropTypes.func])
|
|
20
20
|
};
|
package/modern/index.js
CHANGED
|
@@ -24,5 +24,5 @@ var _default = GlobalStyles;
|
|
|
24
24
|
exports.default = _default;
|
|
25
25
|
GlobalStyles.propTypes = {
|
|
26
26
|
defaultTheme: _propTypes.default.object,
|
|
27
|
-
styles: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object, _propTypes.default.func])
|
|
27
|
+
styles: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.string, _propTypes.default.object, _propTypes.default.func])
|
|
28
28
|
};
|
package/node/index.js
CHANGED