@mui/styled-engine 5.8.7 → 5.10.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 +333 -8
- package/index.d.ts +9 -0
- package/index.js +11 -2
- package/legacy/index.js +11 -2
- package/modern/index.js +11 -2
- package/node/index.js +15 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,330 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.10.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.9.3..master -->
|
|
6
|
+
|
|
7
|
+
_Aug 8, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- ✨ [Stack](https://mui.com/system/react-stack/) component is added to MUI System and Joy UI #33760 #33800 @mnajdova
|
|
12
|
+
- ✨ [Breadcrumbs](https://mui.com/joy-ui/react-breadcrumbs/) component is added to Joy UI (#32697) @hbjORbj
|
|
13
|
+
- Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure improvements
|
|
14
|
+
|
|
15
|
+
### `@mui/material@5.10.0`
|
|
16
|
+
|
|
17
|
+
- [Grid] Prevent crash if spacing is set to zero in theme (#33777) @PunitSoniME
|
|
18
|
+
- [Grid] Export interface `RegularBreakpoints` to fix type error (#33751) @ZeeshanTamboli
|
|
19
|
+
- [Skeleton] Add `rounded` variant (#33687) @siriwatknp
|
|
20
|
+
- [Stepper] Fix classes for icon container (#33734) @pratikkarad
|
|
21
|
+
- [TableCell] Enable size prop overrides via module augmentation (#33816) @brentertz
|
|
22
|
+
- [Tooltip] Fix tooltip arrow css var background (#33753) @TimoWilhelm
|
|
23
|
+
- [useScrollTrigger] Add passive flag to scroll trigger event listener #32437 (#33749) @Dsalazar1685
|
|
24
|
+
|
|
25
|
+
### `@mui/system@5.10.0`
|
|
26
|
+
|
|
27
|
+
- Fix unnecessary styles created from `sx` (#33752) @siriwatknp
|
|
28
|
+
- Fix duplicated styles in Box (#33774) @iamxukai
|
|
29
|
+
- Don't spread props to DOM for string tags (#33761) @siriwatknp
|
|
30
|
+
- Add `Stack` component (#33760) @mnajdova
|
|
31
|
+
|
|
32
|
+
### `@mui/joy@5.0.0-alpha.40`
|
|
33
|
+
|
|
34
|
+
- [Stack] Add new component (#33800) @mnajdova
|
|
35
|
+
- [Breadcrumbs] Add `Breadcrumbs` component (#32697) @hbjORbj
|
|
36
|
+
- [Card] Fix wrong api description for `size` prop (#33862) @hbjORbj
|
|
37
|
+
- Miscellaneous fixes (#33796, #33750) @siriwatknp
|
|
38
|
+
|
|
39
|
+
### Docs
|
|
40
|
+
|
|
41
|
+
- [docs] Create, revise, and expand System "Getting started" docs (#33503) @samuelsycamore
|
|
42
|
+
- [docs] Test new image best practice @oliviertassinari
|
|
43
|
+
- [docs] Fix typo in the ClickAwayListerner name (#33813) @pawelsmigielski
|
|
44
|
+
- [docs] Fix link to `Basics` section in `Trap Focus` docs (#33772) @ZeeshanTamboli
|
|
45
|
+
- [docs] z-index added in popper when used by split button (#33763) @PunitSoniME
|
|
46
|
+
- [docs] Improve the guide for using @mui/base with Tailwind CSS (#33670) @mnajdova
|
|
47
|
+
- [docs] Fix warnings related to Next.js' links (#33693) @mnajdova
|
|
48
|
+
- [docs] Add notification to aggregation blogpost (#33745) @joserodolfofreitas
|
|
49
|
+
- [docs] Add Grid version 2 docs (#33554) @siriwatknp
|
|
50
|
+
- [examples] Fix `NextLinkComposedProps` type error (#33842) @adham618
|
|
51
|
+
|
|
52
|
+
### Core
|
|
53
|
+
|
|
54
|
+
- [blog] Add social card to Tenerife retreat post (#33764)
|
|
55
|
+
- [blog] Fix blue outline bug (#33707) @oliviertassinari
|
|
56
|
+
- [blog] Improve the width of the layout (#33706) @oliviertassinari@samuelsycamore
|
|
57
|
+
- [core] Remove unnecessary packageName attribute from pages (#33488) @cherniavskii
|
|
58
|
+
- [core] Remove duplicated CODE_OF_CONDUCT (#33702) @oliviertassinari
|
|
59
|
+
- [core] Update Playwright packages together (#33737) @michaldudak
|
|
60
|
+
- [website] Fix notifications not being marked as read in production (#33756) @cherniavskii
|
|
61
|
+
|
|
62
|
+
All contributors of this release in alphabetical order: @adham618, @brentertz, @cherniavskii, @Dsalazar1685, @hbjORbj, @iamxukai, @joserodolfofreitas, @michaldudak, @mnajdova, @oliviertassinari, @pawelsmigielski, @pratikkarad, @PunitSoniME, @siriwatknp, @TimoWilhelm, @ZeeshanTamboli
|
|
63
|
+
|
|
64
|
+
## 5.9.3
|
|
65
|
+
|
|
66
|
+
<!-- generated comparing v5.9.2..master -->
|
|
67
|
+
|
|
68
|
+
_Aug 1, 2022_
|
|
69
|
+
|
|
70
|
+
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
71
|
+
|
|
72
|
+
- 🖼️ @garronej worked on improving the support of Emotion packages in the System (#33205)
|
|
73
|
+
- Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure improvements
|
|
74
|
+
|
|
75
|
+
### `@mui/material@5.9.3`
|
|
76
|
+
|
|
77
|
+
- [Chip] Assign classnames and associated styles for `filled` variant (#33587) @hbjORbj
|
|
78
|
+
- [Grid] Fix `columnSpacing` and `rowSpacing` props ignore higher breakpoints with 0 (#33480) @ZeeshanTamboli
|
|
79
|
+
- [Input] Add the readOnly state class (#33654) @michaldudak
|
|
80
|
+
- [Stack] Responsive styles based on breakpoints should be in the correct order (#33552) @hbjORbj
|
|
81
|
+
|
|
82
|
+
### `@mui/system@5.9.3`
|
|
83
|
+
|
|
84
|
+
- [system] Make @emotion/\* fully supported in the System (#33205) @garronej
|
|
85
|
+
|
|
86
|
+
### `@mui/codemod@5.9.3`
|
|
87
|
+
|
|
88
|
+
- [codemod] Fix theme-spacing performance (#33691) @siriwatknp
|
|
89
|
+
- [codemod] Support @mui import for variant-prop (#33692) @siriwatknp
|
|
90
|
+
|
|
91
|
+
### `@mui/styled-engine-sc@5.9.3`
|
|
92
|
+
|
|
93
|
+
- [styled-engine-sc] Add missing @babel/runtime dependency (#33741) @MonstraG
|
|
94
|
+
|
|
95
|
+
### `@mui/joy@5.0.0-alpha.38`
|
|
96
|
+
|
|
97
|
+
- [Joy] Add Tabs components (#33664) @siriwatknp
|
|
98
|
+
- [Joy] Miscellaneous fixes (#33685) @siriwatknp
|
|
99
|
+
- [Joy] Update read.me content (#33643) @danilo-leal
|
|
100
|
+
|
|
101
|
+
### Docs
|
|
102
|
+
|
|
103
|
+
- [blog] Add blog post about company retreat in Tenerife 🏝 (#33566) @samuelsycamore
|
|
104
|
+
- [blog] Add blog post to announce the aggregation feature (#33595) @joserodolfofreitas
|
|
105
|
+
- [blog] Fix horizontal scrollbar with code snippets (#33648) @joserodolfofreitas
|
|
106
|
+
- [docs] Fix a typo in the code in `Sorting & selecting` Table demo (#33674) @mracette
|
|
107
|
+
- [docs] Fix en-US format in the Skeleton demo (#33699) @husseinsaad98
|
|
108
|
+
- [docs] Update module reference for `usePagination` (#33675) @fullstackzach
|
|
109
|
+
- [docs] Fix code examples in `styled` API vs `sx` prop docs (#33665) @ZeeshanTamboli
|
|
110
|
+
- [docs][system] Throw an informative error when `theme.vars` is used in `createTheme` and mention this in the theming docs (#33619) @hbjORbj
|
|
111
|
+
- [website] Remove legacy redirect @oliviertassinari
|
|
112
|
+
- [website] Add new legal pages (#33650) @oliviertassinari
|
|
113
|
+
- [website] Clarify when a license in development is required (#33668) @oliviertassinari
|
|
114
|
+
- [website] Update links to rows pages (#33739) @cherniavskii
|
|
115
|
+
- [website] Update pricing table to add aggregation and row pinning (#33659) @joserodolfofreitas
|
|
116
|
+
|
|
117
|
+
### Core
|
|
118
|
+
|
|
119
|
+
- [core] Replace `getInitialProps` with `getStaticProps` (#33684) @mnajdova
|
|
120
|
+
- [core] Remove accidentally added files (#33636) @michaldudak
|
|
121
|
+
- [core] Update packages with security issues (#33679) @michaldudak
|
|
122
|
+
- [core] Add React 17 nightly build (#33594) @mnajdova
|
|
123
|
+
- [core] Update lerna to 5.2.0 (#33635) @michaldudak
|
|
124
|
+
- [core] Prepare isolation of Next.js X app (#33649) @oliviertassinari
|
|
125
|
+
- [core] Remove thenify version override from package.json resolutions (#33638) @michaldudak
|
|
126
|
+
- [core] Update Node.js to 14 on CircleCI, CodeSandbox, and Netlify (#33642) @michaldudak
|
|
127
|
+
- [test] Replace istanbul-instrumenter-loader with babel-plugin-istanbul (#33666) @michaldudak
|
|
128
|
+
- [test] Run TypeScript module augmentation tests for Joy UI in CI (#33667) @ZeeshanTamboli
|
|
129
|
+
|
|
130
|
+
All contributors of this release in alphabetical order: @cherniavskii, @danilo-leal, @fullstackzach, @garronej, @hbjORbj, @husseinsaad98, @joserodolfofreitas, @michaldudak, @mnajdova, @MonstraG, @mracette, @oliviertassinari, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
|
|
131
|
+
|
|
132
|
+
## 5.9.2
|
|
133
|
+
|
|
134
|
+
<!-- generated comparing v5.9.1..master -->
|
|
135
|
+
|
|
136
|
+
_Jul 25, 2022_
|
|
137
|
+
|
|
138
|
+
A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
|
|
139
|
+
|
|
140
|
+
- 🧪 Ensure all Base components are `OverridableComponent` (#33506) @michaldudak
|
|
141
|
+
- 🧪 Various improvements on the Material `Stack` component (#33548, #33588, #33549) @hbjORbj
|
|
142
|
+
- Many other 🐛 bug fixes and 📚 documentation improvements
|
|
143
|
+
|
|
144
|
+
### `@mui/material@5.9.2`
|
|
145
|
+
|
|
146
|
+
- ​<!-- 34 -->Revert "[Tooltip] Fix children mouse over detection (#32321)" @oliviertassinari
|
|
147
|
+
- ​<!-- 19 -->[FormHelperText] Fix unable to create new variants (#33589) @DinhBaoTran
|
|
148
|
+
- ​<!-- 18 -->[ImageList] Remove vertical spacing between items in masonry layout (#33593) @michaldudak
|
|
149
|
+
- ​<!-- 13 -->[LoadingButton] Refactor duplicate code (#33570) @ZeeshanTamboli
|
|
150
|
+
- ​<!-- 12 -->[Modal] Explain the meaning of deprecation of the BackdropComponent prop (#33591) @michaldudak
|
|
151
|
+
- ​<!-- 11 -->[Stack] Fix unit test failure (#33588) @hbjORbj
|
|
152
|
+
- ​<!-- 10 -->[Stack] Fix default `flexDirection` value with responsive prop (#33549) @hbjORbj
|
|
153
|
+
- ​<!-- 09 -->[Stack] Ensure that `marginundefined` doesn't occur in styling (#33548) @hbjORbj
|
|
154
|
+
- ​<!-- 08 -->[Tabs] Fix `indicatorColor` prop type (#33569) @ZeeshanTamboli
|
|
155
|
+
- ​<!-- 07 -->[Tabs] Add TypeScript interface to augment tab indicator color in theme (#33333) @AHeiming
|
|
156
|
+
|
|
157
|
+
### `@mui/base@5.0.0-alpha.91`
|
|
158
|
+
|
|
159
|
+
- ​<!-- 33 -->[Base] Make PopperUnstyled `component` overridable (#33573) @siriwatknp
|
|
160
|
+
- ​<!-- 32 -->[Base] Ensure all components are OverridableComponent (#33506) @michaldudak
|
|
161
|
+
|
|
162
|
+
### `@mui/joy@5.0.0-alpha.38`
|
|
163
|
+
|
|
164
|
+
- ​<!-- 17 -->[Select] Add new component in Joy (#33630) @siriwatknp
|
|
165
|
+
- ​<!-- 15 -->[Joy] Add Text field documentation (#33430, #33631) @danilo-leal
|
|
166
|
+
- ​<!-- 14 -->[Joy] Add menu components (#31789) @siriwatknp
|
|
167
|
+
|
|
168
|
+
### Docs
|
|
169
|
+
|
|
170
|
+
- ​<!-- 31 -->[blog] Fix 404 link to Algolia docs search (dd4308d) @oliviertassinari
|
|
171
|
+
- ​<!-- 28 -->[docs] Add accessibility tips (#33633) @siriwatknp
|
|
172
|
+
- ​<!-- 27 -->[docs] Fix production deploy of codesandboxes (#33608) @oliviertassinari
|
|
173
|
+
- ​<!-- 26 -->[docs] Show border on `palette.background.paper` in dark mode docs (#33611) @ZeeshanTamboli
|
|
174
|
+
- ​<!-- 25 -->[docs] Fix typo in Joy UI dark mode page (#33620) @bairamau
|
|
175
|
+
- ​<!-- 24 -->[docs] Final polish on Base docs - formatting and style consistency (#33156) @samuelsycamore
|
|
176
|
+
- ​<!-- 23 -->[docs] Fix `CssBaseline` import in example code (#33614) @dd-ssc
|
|
177
|
+
- ​<!-- 22 -->[docs] Fix Toolpad docs redirection (#33524) @bharatkashyap
|
|
178
|
+
- ​<!-- 21 -->[docs] Fix link to Snackbar customization section in Alert docs (#33586) @ZeeshanTamboli
|
|
179
|
+
- ​<!-- 20 -->[docs] Fix `placement choices` typo in Tooltip docs (#33571) @MonstraG
|
|
180
|
+
- ​<!-- 05 -->[website] Update home page's sponsor grid (#33528) @danilo-leal
|
|
181
|
+
- ​<!-- 04 -->[website] Add Vytautas to the about page (#33567) @bytasv
|
|
182
|
+
- ​<!-- 03 -->[website] Improve newsletter input design (#33585) @danilo-leal
|
|
183
|
+
- ​<!-- 02 -->[website] Add YouTube link to footer (#33580) @gerdadesign
|
|
184
|
+
- ​<!-- 01 -->[website] Clarify scope of technical support (#33435) @joserodolfofreitas
|
|
185
|
+
|
|
186
|
+
### Core
|
|
187
|
+
|
|
188
|
+
- ​<!-- 30 -->[core] Swallow ad blocker fetch fail (#33617) @oliviertassinari
|
|
189
|
+
- ​<!-- 29 -->[core] Fix dep security by resolving `thenify` to latest (#33612) @siriwatknp
|
|
190
|
+
- ​<!-- 06 -->[test] Remove `view` option from Event in Snackbar tests (#33555) @ZeeshanTamboli
|
|
191
|
+
|
|
192
|
+
All contributors of this release in alphabetical order: @AHeiming, @bairamau, @bharatkashyap, @bytasv, @danilo-leal, @dd-ssc, @DinhBaoTran, @gerdadesign, @hbjORbj, @joserodolfofreitas, @michaldudak, @MonstraG, @oliviertassinari, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
|
|
193
|
+
|
|
194
|
+
## 5.9.1
|
|
195
|
+
|
|
196
|
+
<!-- generated comparing v5.9.0..master -->
|
|
197
|
+
|
|
198
|
+
_Jul 18, 2022_
|
|
199
|
+
|
|
200
|
+
A big thanks to the 17 contributors who made this release possible. This release is mainly about 🐛 bug fixes and 📚 documentation improvements
|
|
201
|
+
|
|
202
|
+
### `@mui/material@5.9.1`
|
|
203
|
+
|
|
204
|
+
- ​<!-- 24 -->[Autocomplete] Fix disabling component crashing when focused (#31313) @mzedel
|
|
205
|
+
- ​<!-- 07 -->[Grid] Avoid scrollbar in demo (#33527) @oliviertassinari
|
|
206
|
+
- ​<!-- 05 -->[Slider] Fix transition of tooltips on vertical slider (#33009) @abhinav-22-tech
|
|
207
|
+
- ​<!-- 01 -->[TouchRipple] Fix crash on android where `event.touches` are an empty array (#32974) @lukeggchapman
|
|
208
|
+
|
|
209
|
+
### `@mui/system@5.9.1`
|
|
210
|
+
|
|
211
|
+
- ​<!-- 04 -->[system] Add flag to switch negative margin approach in Grid (#33484) @siriwatknp
|
|
212
|
+
- ​<!-- 03 -->[system] Remove needless optional chaining check in `createEmptyBreakpointObject` method (#33482) @ZeeshanTamboli
|
|
213
|
+
|
|
214
|
+
### `@mui/base@5.0.0-alpha.90`
|
|
215
|
+
|
|
216
|
+
- ​<!-- 23 -->[base] Export types used by components' props (#33522) @michaldudak
|
|
217
|
+
- ​<!-- 22 -->[base] Add missing type definitions in useControllableReducer (#33496) @michaldudak
|
|
218
|
+
- ​<!-- 06 -->[SelectUnstyled] Do not call onChange unnecessarily (#33408) @michaldudak
|
|
219
|
+
|
|
220
|
+
### `@mui/lab@5.0.0-alpha.91`
|
|
221
|
+
|
|
222
|
+
- ​<!-- 02 -->[TimelineDot] Add TimelineDotPropsColorOverrides interface to extend color options (#33466) @lolaignatova
|
|
223
|
+
|
|
224
|
+
### Docs
|
|
225
|
+
|
|
226
|
+
- ​<!-- 19 -->[docs] Add note about CssBaseline in the dark mode page (#33108) @GabrielaLokelani
|
|
227
|
+
- ​<!-- 18 -->[docs] Fix typos in the Interoperability page (#33273) @HexM7
|
|
228
|
+
- ​<!-- 17 -->[docs] Improve the `useTheme` documentation (#33508) @rickstaa
|
|
229
|
+
- ​<!-- 16 -->[docs] Fix 301 redirections (#33521) @oliviertassinari
|
|
230
|
+
- ​<!-- 15 -->[docs] Link the same codesandbox as in the docs (#33472) @oliviertassinari
|
|
231
|
+
- ​<!-- 14 -->[docs] Fix copy search false positives (#33438) @oliviertassinari
|
|
232
|
+
- ​<!-- 13 -->[docs] Fix typo (#33520) @aravindpanicker
|
|
233
|
+
- ​<!-- 12 -->[docs] Update Tailwind docs to include step about updating popover containers (#33315) @ajhenry
|
|
234
|
+
- ​<!-- 11 -->[docs] Add yarn command for Roboto font in Material UI's typography.md (#33485) @anthonypz
|
|
235
|
+
- ​<!-- 10 -->[docs] Add new community content to the Material UI Learn page (#32927) @Nikhilthadani
|
|
236
|
+
- ​<!-- 09 -->[examples] Change createEmotionCache to use `insertionPoint` (#32104) @ANTARES-KOR
|
|
237
|
+
- ​<!-- 08 -->[examples] Fix error in Next.js example with @mui/styles (#33456) @paustria
|
|
238
|
+
|
|
239
|
+
### Core
|
|
240
|
+
|
|
241
|
+
- ​<!-- 21 -->[core] Cleanup experiments (#33547) @siriwatknp
|
|
242
|
+
- ​<!-- 20 -->[core] Update CHANGELOG to include pickers breaking change (#33486) @siriwatknp
|
|
243
|
+
|
|
244
|
+
All contributors of this release in alphabetical order: @abhinav-22-tech, @ajhenry, @ANTARES-KOR, @anthonypz, @aravindpanicker, @GabrielaLokelani, @HexM7, @lolaignatova, @lukeggchapman, @michaldudak, @mzedel, @Nikhilthadani, @oliviertassinari, @paustria, @rickstaa, @siriwatknp, @ZeeshanTamboli
|
|
245
|
+
|
|
246
|
+
## 5.9.0
|
|
247
|
+
|
|
248
|
+
<!-- generated comparing v5.8.7..master -->
|
|
249
|
+
|
|
250
|
+
_Jul 12, 2022_
|
|
251
|
+
|
|
252
|
+
A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
|
|
253
|
+
|
|
254
|
+
- 🧪 Exported Grid v2 as `Unstable_Grid2` (#33479) @siriwatknp
|
|
255
|
+
- 📖 Added a guide for using Joy UI and Material UI together (#33396) @siriwatknp
|
|
256
|
+
- 🐛 Fixed a few bugs in Material UI components. Thanks to @ZeeshanTamboli, @ivan-ngchakming, and @joebingham-wk.
|
|
257
|
+
- ⚠️ **[BREAKING CHANGE]** Date pickers were removed from the lab. Learn how to migrate by visiting the [migration guide](https://mui.com/x/react-date-pickers/migration-lab/). (#33386) @flaviendelangle
|
|
258
|
+
- many other 🐛 bug fixes and 📚 documentation improvements
|
|
259
|
+
- our documentation site is now running with React 18! (#33196) @mnajdova
|
|
260
|
+
|
|
261
|
+
### `@mui/material@5.9.0`
|
|
262
|
+
|
|
263
|
+
- [CssBaseline] Fixes in overriding style (#33338) @ZeeshanTamboli
|
|
264
|
+
- [Autocomplete] Remove unnecessary `clsx` wrapper for single className (#33398) @ZeeshanTamboli
|
|
265
|
+
- [Grid] Export new grid as unstable (#33479) @siriwatknp
|
|
266
|
+
- [Tooltip] Fix children mouse over detection (#32321) @ivan-ngchakming
|
|
267
|
+
- [TypeScript] getCssVar autocomplete for Material UI (#33464) @siriwatknp
|
|
268
|
+
- [TypeScript] Fix theme options components types to use `Theme` (#33434) @siriwatknp
|
|
269
|
+
- [TypeScript] Reexports necessary types for module augmentation (#33397) @siriwatknp
|
|
270
|
+
- [ScopedCssBaseline] Add sx typings (#33474) @joebingham-wk
|
|
271
|
+
|
|
272
|
+
### `@mui/system@5.9.0`
|
|
273
|
+
|
|
274
|
+
- [System] Add offset feature to Grid (#33415) @siriwatknp
|
|
275
|
+
- [system] Add new `Grid` implementation (#32746) @siriwatknp
|
|
276
|
+
|
|
277
|
+
### `@mui/lab@5.0.0-alpha.90`
|
|
278
|
+
|
|
279
|
+
**⚠️ Breaking changes**
|
|
280
|
+
|
|
281
|
+
- [lab] Remove the pickers (#33386) @flaviendelangle
|
|
282
|
+
|
|
283
|
+
The pickers are moved to MUI X, check out the [migration guide](https://mui.com/x/react-date-pickers/migration-lab/).
|
|
284
|
+
|
|
285
|
+
**Changes**
|
|
286
|
+
|
|
287
|
+
- [Masonry] Support rem/em values for spacing prop (#33384) @hbjORbj
|
|
288
|
+
|
|
289
|
+
### `@mui/base@5.0.0-alpha.89`
|
|
290
|
+
|
|
291
|
+
- [Base] Change the order of class names merged in useSlotProps (#33383) @michaldudak
|
|
292
|
+
- [ModalUnstyled] Accept callbacks in componentsProps (#33181) @michaldudak
|
|
293
|
+
- [SelectUnstyled] Accept callbacks in componentsProps (#33197) @michaldudak
|
|
294
|
+
- [TabsUnstyled] Accept callbacks in componentsProps (#33284) @michaldudak
|
|
295
|
+
|
|
296
|
+
### `@mui/joy@5.0.0-alpha.36`
|
|
297
|
+
|
|
298
|
+
- [Joy] Add guide about using Joy and Material UI together (#33396) @siriwatknp
|
|
299
|
+
- [Joy] Fix variants color palette regressions (#33394) @danilo-leal
|
|
300
|
+
|
|
301
|
+
### Docs
|
|
302
|
+
|
|
303
|
+
- [docs] Correcting small grammatical error (#33393) @robyyo
|
|
304
|
+
- [docs] Link to the correct package on Joy component pages (#33439) @cherniavskii
|
|
305
|
+
- [docs] Fix e2e tests (#33477) @siriwatknp
|
|
306
|
+
- [docs] Fix dead links (#33462) @oliviertassinari
|
|
307
|
+
- [docs] Cleanup the migration (#33463) @siriwatknp
|
|
308
|
+
- [docs] Fix broken Sponsoring services links @samuelsycamore
|
|
309
|
+
- [docs] Improve repo README with light/dark logos, relative links and more (#33356) @samuelsycamore
|
|
310
|
+
- [docs] Update links to MUI X Overview and Introduction pages (#33201) @samuelsycamore
|
|
311
|
+
- [docs] Update to React 18 (#33196) @mnajdova
|
|
312
|
+
- [docs] Simplify "Upload button" demo (#33326) @baharalidurrani
|
|
313
|
+
- [docs] Add "refine" demo to showcase (#33240) @omeraplak
|
|
314
|
+
- [docs] Add webpack alias for legacy utils package (#33376) @jgbae
|
|
315
|
+
- [docs] Improve external link icons synonyms (#33257) @davidgarciab
|
|
316
|
+
- [examples] Update MUI Base with Tailwind CSS to use the latest versions of the dependencies (#33401) @mnajdova
|
|
317
|
+
- [examples] Add MUI base example (#33154) @siriwatknp
|
|
318
|
+
|
|
319
|
+
### Core
|
|
320
|
+
|
|
321
|
+
- [core] Fix @mui/monorepo regression for the import of the docs infra (#33390) @Janpot
|
|
322
|
+
- [core] Remove old babel resolve rule (#33432) @oliviertassinari
|
|
323
|
+
- [website] Shorten the plan descriptions on the pricing page (#32984) @joserodolfofreitas
|
|
324
|
+
- [website] Link EULA in the license quantity section (#33292) @oliviertassinari
|
|
325
|
+
|
|
326
|
+
All contributors of this release in alphabetical order: @baharalidurrani, @cherniavskii, @danilo-leal, @davidgarciab, @flaviendelangle, @hbjORbj, @ivan-ngchakming, @Janpot, @jgbae, @joebingham-wk, @joserodolfofreitas, @michaldudak, @mnajdova, @oliviertassinari, @omeraplak, @robyyo, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
|
|
327
|
+
|
|
3
328
|
## 5.8.7
|
|
4
329
|
|
|
5
330
|
<!-- generated comparing v5.8.6..master -->
|
|
@@ -1930,7 +2255,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
1930
2255
|
- ​<!-- 19 -->[docs] Sync translations with Crowdin (#30067) @l10nbot
|
|
1931
2256
|
- ​<!-- 18 -->[docs] Fix link on "Custom variables" section in the Theming page #30100 @danilo-leal
|
|
1932
2257
|
- ​<!-- 17 -->[docs] Fix justifyContent option in the Grid interactive demo (#30117) @danilo-leal
|
|
1933
|
-
- ​<!-- 16 -->[docs] Add tip to help access the docs of a previous version when finding answers in
|
|
2258
|
+
- ​<!-- 16 -->[docs] Add tip to help access the docs of a previous version when finding answers in Stack Overflow (#30101) @danilo-leal
|
|
1934
2259
|
- ​<!-- 15 -->[docs] Fix import example inside Unstyled Backdrop section (#30098) @TheodosiouTh
|
|
1935
2260
|
- ​<!-- 01 -->[website] Column pinning and Tree data are out (#30136) @oliviertassinari
|
|
1936
2261
|
- ​<!-- 07 -->[survey] Remove survey promotion items (#30122) @danilo-leal
|
|
@@ -2011,7 +2336,7 @@ A big thanks to the 25 contributors who made this release possible. Here are som
|
|
|
2011
2336
|
- ​<!-- 21 -->[docs] Update nextjs-typescript-example (#29974) @huydhoang
|
|
2012
2337
|
- ​<!-- 20 -->[docs] Add missing global state classes to API docs generator (#29945) @michaldudak
|
|
2013
2338
|
- ​<!-- 19 -->[docs] Fix benchmarks folder link (#29981) @fourjr
|
|
2014
|
-
- ​<!-- 18 -->[docs] Improve wording in
|
|
2339
|
+
- ​<!-- 18 -->[docs] Improve wording in Stack Overflow section of support page (#29956) @ronwarner
|
|
2015
2340
|
- ​<!-- 17 -->[docs] Remove Black Friday sale notification (#29936) @mbrookes
|
|
2016
2341
|
- ​<!-- 16 -->[examples] Fix typos in the Remix example (#30071) @MichaelDeBoey
|
|
2017
2342
|
- ​<!-- 15 -->[examples] Add Remix example (#29952) @mnajdova
|
|
@@ -2024,7 +2349,7 @@ A big thanks to the 25 contributors who made this release possible. Here are som
|
|
|
2024
2349
|
### Core
|
|
2025
2350
|
|
|
2026
2351
|
- ​<!-- 31 -->[core] Batch small changes (#30042) @oliviertassinari
|
|
2027
|
-
- ​<!-- 28 -->[core] Transition to a new
|
|
2352
|
+
- ​<!-- 28 -->[core] Transition to a new Stack Overflow tag (#29967) @oliviertassinari
|
|
2028
2353
|
|
|
2029
2354
|
All contributors of this release in alphabetical order: @chao813, @daniel-sachs, @danilo-leal, @Domino987, @eduardomcv, @flaviendelangle, @fourjr, @genzyy, @hbjORbj, @huydhoang, @jayeclark, @jonathanrtuck, @kkorach, @l10nbot, @mbrookes, @MichaelDeBoey, @michaldudak, @mnajdova, @oliviertassinari, @ronwarner, @Semigradsky, @siriwatknp, @tasugi, @ThewBear, @ZeeshanTamboli
|
|
2030
2355
|
|
|
@@ -5710,7 +6035,7 @@ A big thanks to the 30 contributors who made this release possible. Here are som
|
|
|
5710
6035
|
#### Breaking changes
|
|
5711
6036
|
|
|
5712
6037
|
- ​<!-- 91 -->[types] Rename the exported `Omit` type in `@material-ui/types`. (#24795) @petyosi
|
|
5713
|
-
The module is now called `DistributiveOmit`. The change removes the confusion with the built-in `Omit` helper introduced in TypeScript v3.5. The built-in `Omit`, while similar, is non-distributive. This leads to differences when applied to union types. [See this
|
|
6038
|
+
The module is now called `DistributiveOmit`. The change removes the confusion with the built-in `Omit` helper introduced in TypeScript v3.5. The built-in `Omit`, while similar, is non-distributive. This leads to differences when applied to union types. [See this Stack Overflow answer for further details](https://stackoverflow.com/a/57103940/1009797).
|
|
5714
6039
|
|
|
5715
6040
|
```diff
|
|
5716
6041
|
-import { Omit } from '@material-ui/types';
|
|
@@ -6616,7 +6941,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
|
|
|
6616
6941
|
|
|
6617
6942
|
While the source code is currently hosted in the [main repository](https://github.com/mui/material-ui), we might move it to the [x repository](https://github.com/mui/mui-x) in the future, depending on what is easier for the commercial date range picker. The date picker will stay open source no matter what.
|
|
6618
6943
|
|
|
6619
|
-
- 📚 Revamp the documentation for [the system](https://mui.com/system/
|
|
6944
|
+
- 📚 Revamp the documentation for [the system](https://mui.com/system/getting-started/overview/). The System contains CSS utilities. The documentation now promotes the use of the `sx` prop. It's ideal for adding one-off styles, e.g. padding, but when pushed to its limits, it can be used to implement quickly a complete page.
|
|
6620
6945
|
- 👩🎨 Upgrade emotion to v11 (#23007) @mnajdova.
|
|
6621
6946
|
- And many more 🐛 bug fixes and 📚 improvements.
|
|
6622
6947
|
|
|
@@ -7018,7 +7343,7 @@ Here are some highlights ✨:
|
|
|
7018
7343
|
If you target IE11, you need to use the new bundle (`legacy`). We are treating IE11 as a second class-citizen, which is a continuation of the direction taken in #22873.
|
|
7019
7344
|
|
|
7020
7345
|
- 🚀 Improve the internal benchmark suite (#22923, #23058) @mnajdova.
|
|
7021
|
-
This was a prerequisite step to improve the [system](https://mui.com/system/
|
|
7346
|
+
This was a prerequisite step to improve the [system](https://mui.com/system/getting-started/overview/). We needed to be able to measure performance. After #22945, we have measured that the `Box` component is x3 faster in v5-alpha compared to v4.
|
|
7022
7347
|
- ✏️ A new blog post: [Q3 2020 Update](https://mui.com/blog/2020-q3-update/) (#23055) @oliviertassinari.
|
|
7023
7348
|
- 🐙 Migrate more tests to react-testing-library @deiga, @Morteza-Jenabzadeh, @nicholas-l.
|
|
7024
7349
|
- And many more 🐛 bug fixes and 📚 improvements.
|
|
@@ -7359,7 +7684,7 @@ Here are some highlights ✨:
|
|
|
7359
7684
|
|
|
7360
7685
|
The new styling solution saves 2kB gzipped in the bundle compared to JSS, and about 14 kB gzipped if you were already using emotion or styled-components.
|
|
7361
7686
|
|
|
7362
|
-
Last but not least, the change allows us to take advantage dynamic style props. We will use them for dynamic color props, variant props, and new style props (an improved [system](https://mui.com/system/
|
|
7687
|
+
Last but not least, the change allows us to take advantage dynamic style props. We will use them for dynamic color props, variant props, and new style props (an improved [system](https://mui.com/system/getting-started/overview/)).
|
|
7363
7688
|
|
|
7364
7689
|
This change has been in our roadmap for more than a year.
|
|
7365
7690
|
We announced it in the [v4 release blog post](https://mui.com/blog/material-ui-v4-is-out/) as a direction v5 would take.
|
|
@@ -8612,7 +8937,7 @@ A big thanks to the 33 contributors who made this release possible. Here are som
|
|
|
8612
8937
|
/>
|
|
8613
8938
|
```
|
|
8614
8939
|
|
|
8615
|
-
- [Typography] Replace the `srOnly` prop so as to not duplicate the capabilities of [System](https://mui.com/system/
|
|
8940
|
+
- [Typography] Replace the `srOnly` prop so as to not duplicate the capabilities of [System](https://mui.com/system/getting-started/overview/) (#21413) @mnajdova.
|
|
8616
8941
|
|
|
8617
8942
|
```diff
|
|
8618
8943
|
-import Typography from '@material-ui/core/Typography';
|
package/index.d.ts
CHANGED
|
@@ -11,6 +11,15 @@ export { default as StyledEngineProvider } from './StyledEngineProvider';
|
|
|
11
11
|
export { default as GlobalStyles } from './GlobalStyles';
|
|
12
12
|
export * from './GlobalStyles';
|
|
13
13
|
|
|
14
|
+
/**
|
|
15
|
+
* For internal usage in `@mui/system` package
|
|
16
|
+
*/
|
|
17
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
18
|
+
export function internal_processStyles(
|
|
19
|
+
tag: React.ElementType,
|
|
20
|
+
processor: (styles: any) => any,
|
|
21
|
+
): void;
|
|
22
|
+
|
|
14
23
|
export interface SerializedStyles {
|
|
15
24
|
name: string;
|
|
16
25
|
styles: string;
|
package/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
/** @license MUI v5.
|
|
1
|
+
/** @license MUI v5.10.0
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
5
5
|
*/
|
|
6
|
+
/* eslint-disable no-underscore-dangle */
|
|
6
7
|
import emStyled from '@emotion/styled';
|
|
7
8
|
export default function styled(tag, options) {
|
|
8
9
|
const stylesFactory = emStyled(tag, options);
|
|
@@ -22,7 +23,15 @@ export default function styled(tag, options) {
|
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
return stylesFactory;
|
|
25
|
-
}
|
|
26
|
+
} // eslint-disable-next-line @typescript-eslint/naming-convention
|
|
27
|
+
|
|
28
|
+
export const internal_processStyles = (tag, processor) => {
|
|
29
|
+
// Emotion attaches all the styles as `__emotion_styles`.
|
|
30
|
+
// Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186
|
|
31
|
+
if (Array.isArray(tag.__emotion_styles)) {
|
|
32
|
+
tag.__emotion_styles = processor(tag.__emotion_styles);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
26
35
|
export { ThemeContext, keyframes, css } from '@emotion/react';
|
|
27
36
|
export { default as StyledEngineProvider } from './StyledEngineProvider';
|
|
28
37
|
export { default as GlobalStyles } from './GlobalStyles';
|
package/legacy/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
/** @license MUI v5.
|
|
1
|
+
/** @license MUI v5.10.0
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
5
5
|
*/
|
|
6
|
+
/* eslint-disable no-underscore-dangle */
|
|
6
7
|
import emStyled from '@emotion/styled';
|
|
7
8
|
export default function styled(tag, options) {
|
|
8
9
|
var stylesFactory = emStyled(tag, options);
|
|
@@ -28,7 +29,15 @@ export default function styled(tag, options) {
|
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
return stylesFactory;
|
|
31
|
-
}
|
|
32
|
+
} // eslint-disable-next-line @typescript-eslint/naming-convention
|
|
33
|
+
|
|
34
|
+
export var internal_processStyles = function internal_processStyles(tag, processor) {
|
|
35
|
+
// Emotion attaches all the styles as `__emotion_styles`.
|
|
36
|
+
// Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186
|
|
37
|
+
if (Array.isArray(tag.__emotion_styles)) {
|
|
38
|
+
tag.__emotion_styles = processor(tag.__emotion_styles);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
32
41
|
export { ThemeContext, keyframes, css } from '@emotion/react';
|
|
33
42
|
export { default as StyledEngineProvider } from './StyledEngineProvider';
|
|
34
43
|
export { default as GlobalStyles } from './GlobalStyles';
|
package/modern/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
/** @license MUI v5.
|
|
1
|
+
/** @license MUI v5.10.0
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
5
5
|
*/
|
|
6
|
+
/* eslint-disable no-underscore-dangle */
|
|
6
7
|
import emStyled from '@emotion/styled';
|
|
7
8
|
export default function styled(tag, options) {
|
|
8
9
|
const stylesFactory = emStyled(tag, options);
|
|
@@ -22,7 +23,15 @@ export default function styled(tag, options) {
|
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
return stylesFactory;
|
|
25
|
-
}
|
|
26
|
+
} // eslint-disable-next-line @typescript-eslint/naming-convention
|
|
27
|
+
|
|
28
|
+
export const internal_processStyles = (tag, processor) => {
|
|
29
|
+
// Emotion attaches all the styles as `__emotion_styles`.
|
|
30
|
+
// Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186
|
|
31
|
+
if (Array.isArray(tag.__emotion_styles)) {
|
|
32
|
+
tag.__emotion_styles = processor(tag.__emotion_styles);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
26
35
|
export { ThemeContext, keyframes, css } from '@emotion/react';
|
|
27
36
|
export { default as StyledEngineProvider } from './StyledEngineProvider';
|
|
28
37
|
export { default as GlobalStyles } from './GlobalStyles';
|
package/node/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.
|
|
1
|
+
/** @license MUI v5.10.0
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -35,6 +35,7 @@ Object.defineProperty(exports, "css", {
|
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
exports.default = styled;
|
|
38
|
+
exports.internal_processStyles = void 0;
|
|
38
39
|
Object.defineProperty(exports, "keyframes", {
|
|
39
40
|
enumerable: true,
|
|
40
41
|
get: function () {
|
|
@@ -50,6 +51,7 @@ var _StyledEngineProvider = _interopRequireDefault(require("./StyledEngineProvid
|
|
|
50
51
|
|
|
51
52
|
var _GlobalStyles = _interopRequireDefault(require("./GlobalStyles"));
|
|
52
53
|
|
|
54
|
+
/* eslint-disable no-underscore-dangle */
|
|
53
55
|
function styled(tag, options) {
|
|
54
56
|
const stylesFactory = (0, _styled.default)(tag, options);
|
|
55
57
|
|
|
@@ -68,4 +70,15 @@ function styled(tag, options) {
|
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
return stylesFactory;
|
|
71
|
-
}
|
|
73
|
+
} // eslint-disable-next-line @typescript-eslint/naming-convention
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
const internal_processStyles = (tag, processor) => {
|
|
77
|
+
// Emotion attaches all the styles as `__emotion_styles`.
|
|
78
|
+
// Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186
|
|
79
|
+
if (Array.isArray(tag.__emotion_styles)) {
|
|
80
|
+
tag.__emotion_styles = processor(tag.__emotion_styles);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
exports.internal_processStyles = internal_processStyles;
|