@mui/private-theming 5.5.3 โ 5.6.2
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 +210 -32
- package/defaultTheme/index.d.ts +1 -1
- package/index.js +1 -1
- package/legacy/index.js +1 -1
- package/modern/index.js +1 -1
- package/node/index.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,183 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.6.2
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.6.1..master -->
|
|
6
|
+
|
|
7
|
+
_Apr 18, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 11 contributors who made this release possible. This release is mostly about ๐ bug fixes and ๐ documentation improvements.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@5.6.2`
|
|
12
|
+
|
|
13
|
+
- ​<!-- 29 -->[Autocomplete] Explain how to use getOptionLabel in free solo mode and update getOptionLabel type (#32165) @michaldudak
|
|
14
|
+
- ​<!-- 28 -->[Badge] Fix customization of classes (#32185) @michaldudak
|
|
15
|
+
- ​<!-- 03 -->[TextField] Add a workaround for Safari CSS transition scale bug (#32188) @igordanchenko
|
|
16
|
+
|
|
17
|
+
### `@mui/system@5.6.2`
|
|
18
|
+
|
|
19
|
+
- ​<!-- 05 -->[system] Update style function to use vars automatically if available (#32244) @mnajdova
|
|
20
|
+
|
|
21
|
+
### `@mui/base@5.0.0-alpha.77`
|
|
22
|
+
|
|
23
|
+
- ​<!-- 08 -->[FormControlUnstyled] Revise API (#32134) @michaldudak
|
|
24
|
+
|
|
25
|
+
### `@mui/joy@5.0.0-alpha.24`
|
|
26
|
+
|
|
27
|
+
- ​<!-- 07 -->[Joy] Add `Badge` component (#31401) @hbjORbj
|
|
28
|
+
- ​<!-- 06 -->[Joy] Fix misuse variable in `Input` (#32268) @siriwatknp
|
|
29
|
+
|
|
30
|
+
### Docs
|
|
31
|
+
|
|
32
|
+
- ​<!-- 27 -->[blog] Fix images for the docs separation post (#32257) @danilo-leal
|
|
33
|
+
- ​<!-- 25 -->[docs] Base Form Control style revisions and final review (#32309) @samuelsycamore
|
|
34
|
+
- ​<!-- 24 -->[docs] Base TablePagination style revisions and final review (#32178) @samuelsycamore
|
|
35
|
+
- ​<!-- 23 -->[docs] Revise the dark mode article (#32179) @danilo-leal
|
|
36
|
+
- ​<!-- 22 -->[docs] Add `aria-label` for `IconButton` (#32276) @SiarheiBobryk
|
|
37
|
+
- ​<!-- 21 -->[docs] Fix `borderRadius` in the docs example (#32347) @ZeeshanTamboli
|
|
38
|
+
- ​<!-- 20 -->[docs] Fix 404 link in the code (#32323) @oliviertassinari
|
|
39
|
+
- ​<!-- 19 -->[docs] Sync h1 with side nav label (#32235) @oliviertassinari
|
|
40
|
+
- ​<!-- 18 -->[docs] Fix SEO issues (#32282) @oliviertassinari
|
|
41
|
+
- ​<!-- 17 -->[docs] Fix broken link in the test contributing guide (#32283) @sirartemis
|
|
42
|
+
- ​<!-- 16 -->[docs] Update "How to customize" page anchor links #32315 @abaker93
|
|
43
|
+
- ​<!-- 15 -->[docs] Mark `onBackdropClick` prop as deprecated in `Dialog`, `Modal` and `ModalUnstyled` components (#32297) @ZeeshanTamboli
|
|
44
|
+
- ​<!-- 14 -->[docs] Link to advanced components page (#32290) @siriwatknp
|
|
45
|
+
- ​<!-- 13 -->[docs] Sync package description with the docs (#32211) @oliviertassinari
|
|
46
|
+
- ​<!-- 12 -->[docs] Revise "Component theming" and "How to customize" guides (#31997) @danilo-leal
|
|
47
|
+
- ​<!-- 11 -->[docs] Add note in the Contributing guide about linking issues to a PR (#32174) @danilo-leal
|
|
48
|
+
- ​<!-- 10 -->[docs] Update RTL guide (#32242) @michaldudak
|
|
49
|
+
- ​<!-- 09 -->[docs] Uniformize capitalization (#32238) @oliviertassinari
|
|
50
|
+
- ​<!-- 02 -->[website] Improve new role template @oliviertassinari
|
|
51
|
+
- ​<!-- 01 -->[website] Remove a gold sponsor (#32261) @hbjORbj
|
|
52
|
+
- ​<!-- 24 -->[website] Mark DataGrid Column spanning done on Pricing page (#32305) @cherniavskii
|
|
53
|
+
|
|
54
|
+
### Core
|
|
55
|
+
|
|
56
|
+
- ​<!-- 31 -->[core] Remove unecessary div (#32237) @oliviertassinari
|
|
57
|
+
- ​<!-- 30 -->[core] Revert #32229 (#32262) @michaldudak
|
|
58
|
+
- ​<!-- 04 -->[test] Fix running unit tests on Windows (#32260) @michaldudak
|
|
59
|
+
|
|
60
|
+
All contributors of this release in alphabetical order: @abaker93, @cherniavskii, @danilo-leal, @hbjORbj, @igordanchenko, @michaldudak, @mnajdova, @oliviertassinari, @samuelsycamore, @SiarheiBobryk, @sirartemis, @siriwatknp, @ZeeshanTamboli
|
|
61
|
+
|
|
62
|
+
## 5.6.1
|
|
63
|
+
|
|
64
|
+
<!-- generated comparing v5.6.0..master -->
|
|
65
|
+
|
|
66
|
+
_Apr 11, 2022_
|
|
67
|
+
|
|
68
|
+
A big thanks to the 8 contributors who made this release possible.
|
|
69
|
+
This release is mostly about ๐ bug fixes and ๐ documentation improvements.
|
|
70
|
+
|
|
71
|
+
### `@mui/material@5.6.1`
|
|
72
|
+
|
|
73
|
+
- [Grow] Extend Safari CSS transition bug workaround on WebKit browsers (#32202) @igordanchenko
|
|
74
|
+
- [Link] Fix style overrides 5.6.0 regression (#32182) @siriwatknp
|
|
75
|
+
- [Select] Bug when the first child is a ListSubheader (#27299) @DouglasPds
|
|
76
|
+
|
|
77
|
+
### `@mui/base@5.0.0-alpha.76`
|
|
78
|
+
|
|
79
|
+
- [ButtonUnstyled] Allow receiving focus when disabled (#32090) @michaldudak
|
|
80
|
+
|
|
81
|
+
### Docs
|
|
82
|
+
|
|
83
|
+
- [blog] Share what's changed about the new docs structure (#32044) @danilo-leal
|
|
84
|
+
- [docs] Format number icons search (#32239) @oliviertassinari
|
|
85
|
+
- [docs] Fix small external links issue (#32212) @oliviertassinari
|
|
86
|
+
- [docs] Make sidenav crawlable (#32241) @oliviertassinari
|
|
87
|
+
- [docs] Base Badge style revisions and final review (#32098) @samuelsycamore
|
|
88
|
+
- [docs] Fix wrong url (#32208) @siriwatknp
|
|
89
|
+
- [docs] Fix date-pickers redirects (#32207) @siriwatknp
|
|
90
|
+
- [docs] Add notification for the doc restructure and date pickers update (#32195) @siriwatknp
|
|
91
|
+
- [docs] Fix 404 from `ahrefs` report (#32206) @siriwatknp
|
|
92
|
+
- [docs] Remove notifications temporary (#32192) @siriwatknp
|
|
93
|
+
- [docs] Redirect to new urls (#32048) @siriwatknp
|
|
94
|
+
- [docs] Update Learn page copy and resource list (#31989) @samuelsycamore
|
|
95
|
+
- [website] Fix wrong MUI X installation instruction link @oliviertassinari
|
|
96
|
+
- [website] Revise homepage copy below the hero section (#31283) @samuelsycamore
|
|
97
|
+
- [website] Revise homepage Hero copy for more clarity (#31212) @samuelsycamore
|
|
98
|
+
- [website] Give up on promoting roles in our docs @oliviertassinari
|
|
99
|
+
|
|
100
|
+
### Core
|
|
101
|
+
|
|
102
|
+
- [core] Fix misleading types range (#32236) @oliviertassinari
|
|
103
|
+
- [core] Small polish on the product name (#32199) @oliviertassinari
|
|
104
|
+
|
|
105
|
+
All contributors of this release in alphabetical order: @danilo-leal, @DouglasPds, @igordanchenko, @l10nbot, @michaldudak, @oliviertassinari, @samuelsycamore, @siriwatknp
|
|
106
|
+
|
|
107
|
+
## 5.6.0
|
|
108
|
+
|
|
109
|
+
<!-- generated comparing v5.5.3..master -->
|
|
110
|
+
|
|
111
|
+
_Apr 5, 2022_
|
|
112
|
+
|
|
113
|
+
A big thanks to the 15 contributors who made this release possible. Here are some highlights โจ:
|
|
114
|
+
|
|
115
|
+
- ๐งฐ Update peer dependencies to support React 18 (#32063) @eps1lon
|
|
116
|
+
- ๐ Added the experimental `CssVarsProvider` in `@mui/material` for generating theme CSS variables (#31138) @mnajdova
|
|
117
|
+
- ๐ฃ Moved date and time pickers from the lab to MUI X (#31984) @flaviendelangle
|
|
118
|
+
- Several ๐ bug fixes and ๐ documentation improvements
|
|
119
|
+
|
|
120
|
+
### `@mui/material@5.6.0`
|
|
121
|
+
|
|
122
|
+
- ​<!-- 25 -->[CssVarsProvider] Add experimental CssVarsProvider in @mui/material (#31138) @mnajdova
|
|
123
|
+
- ​<!-- 06 -->[Link] Fix `sx` color to support callback (#32123) @siriwatknp
|
|
124
|
+
- ​<!-- 05 -->[Link] Fix color transformation (#32045) @siriwatknp
|
|
125
|
+
- ​<!-- 04 -->[ListItemButton] Specified width so that text would ellide (#32083) @MatthijsMud
|
|
126
|
+
- ​<!-- 03 -->[TablePagination] Fixed the etEE locale (#32052) @raigoinabox
|
|
127
|
+
|
|
128
|
+
### `@mui/base@5.0.0-alpha.75`
|
|
129
|
+
|
|
130
|
+
- ​<!-- 31 -->[Badge] Simplify unstyled API (#31974) @michaldudak
|
|
131
|
+
|
|
132
|
+
### `@mui/codemod@5.6.0`
|
|
133
|
+
|
|
134
|
+
- ​<!-- 29 -->[codemod] Add v5.0.0/date-pickers-moved-to-x codemod (#31373) @flaviendelangle
|
|
135
|
+
|
|
136
|
+
### `@mui/lab@5.0.0-alpha.76`
|
|
137
|
+
|
|
138
|
+
- ​<!-- 24 -->[DatePicker] Remove date and time pickers from the lab (#31984) @flaviendelangle
|
|
139
|
+
|
|
140
|
+
### `@mui/joy@5.0.0-alpha.22`
|
|
141
|
+
|
|
142
|
+
- ​<!-- 07 -->[Joy] Add `Card` components (#32027) @siriwatknp
|
|
143
|
+
|
|
144
|
+
### Docs
|
|
145
|
+
|
|
146
|
+
- ​<!-- 30 -->[blog] New article for the date pickers migration to X (#31831) @flaviendelangle
|
|
147
|
+
- ​<!-- 33 -->[docs] Base Menu style revisions and final review (#32097) @samuelsycamore
|
|
148
|
+
- ​<!-- 32 -->[docs] Base Select style revisions and final review (#32095) @samuelsycamore
|
|
149
|
+
- ​<!-- 31 -->[docs] Base Input style revisions and final review (#32096) @samuelsycamore
|
|
150
|
+
- ​<!-- 30 -->[docs] Base Slider style revisions and final review (#32140) @samuelsycamore
|
|
151
|
+
- ​<!-- 29 -->[docs] Base Modal style revisions and final review (#32093) @samuelsycamore
|
|
152
|
+
- ​<!-- 28 -->[docs] Add page for CSS variables support in @mui/material (#32050) @mnajdova
|
|
153
|
+
- ​<!-- 27 -->[docs] Add TSS support for theme style overrides (#31918) @garronej
|
|
154
|
+
- ​<!-- 23 -->[docs] Simplify customization examples in ButtonUnstyled demos (#32092) @michaldudak
|
|
155
|
+
- ​<!-- 22 -->[docs] Fix linking issues for the redirects (#32101) @siriwatknp
|
|
156
|
+
- ​<!-- 21 -->[docs] Create the FormControl page (#32073) @michaldudak
|
|
157
|
+
- ​<!-- 20 -->[docs] Remove trap-focus from the navigation (#32079) @psjishnu
|
|
158
|
+
- ​<!-- 19 -->[docs] Add date-pickers product identifier (#32076) @siriwatknp
|
|
159
|
+
- ​<!-- 18 -->[docs] Move SwitchUnstyled docs to the Base space (#31964) @michaldudak
|
|
160
|
+
- ​<!-- 17 -->[docs] Add docs page for unstyled popper (#31813) @siriwatknp
|
|
161
|
+
- ​<!-- 16 -->[docs] Copy TextareaAutosize docs to Base (#32034) @michaldudak
|
|
162
|
+
- ​<!-- 15 -->[docs] Add react-hook-form-mui to Complementary projects #32015 @TkaczykAdam
|
|
163
|
+
- ​<!-- 14 -->[docs] Improve the translation experience (#32021) @oliviertassinari
|
|
164
|
+
- ​<!-- 13 -->[docs] Add small size Select demo (#32060) @ivan-ngchakming
|
|
165
|
+
- ​<!-- 12 -->[docs] Correct typos (#32029) @apeltop
|
|
166
|
+
- ​<!-- 11 -->[docs] Create SliderUnstyled docs (#31850) @michaldudak
|
|
167
|
+
- ​<!-- 10 -->[docs] Create TablePaginationUnstyled docs (#32018) @michaldudak
|
|
168
|
+
- ​<!-- 09 -->[docs] Move SelectUnstyled docs to the Base space (#31816) @michaldudak
|
|
169
|
+
- ​<!-- 08 -->[docs] Create the TabsUnstyled docs (#32023) @michaldudak
|
|
170
|
+
- ​<!-- 02 -->[website] The studio finally has a name, use it (#32105) @oliviertassinari
|
|
171
|
+
- ​<!-- 01 -->[website] Disable job ad @oliviertassinari
|
|
172
|
+
|
|
173
|
+
### Core
|
|
174
|
+
|
|
175
|
+
- ​<!-- 28 -->[core] Update peer deps to support React 18 (#32063) @eps1lon
|
|
176
|
+
- ​<!-- 27 -->[core] Fix running docs:api on Windows (#32091) @michaldudak
|
|
177
|
+
- ​<!-- 26 -->[core] Fix api build script for MUI Base (#32081) @siriwatknp
|
|
178
|
+
|
|
179
|
+
All contributors of this release in alphabetical order: @apeltop, @eps1lon, @flaviendelangle, @garronej, @ivan-ngchakming, @m4theushw, @MatthijsMud, @michaldudak, @mnajdova, @oliviertassinari, @psjishnu, @raigoinabox, @samuelsycamore, @siriwatknp, @TkaczykAdam
|
|
180
|
+
|
|
3
181
|
## 5.5.3
|
|
4
182
|
|
|
5
183
|
<!-- generated comparing v5.5.2..master -->
|
|
@@ -875,7 +1053,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
875
1053
|
|
|
876
1054
|
### Core
|
|
877
1055
|
|
|
878
|
-
- ​<!-- 28 -->[core] Rename Material
|
|
1056
|
+
- ​<!-- 28 -->[core] Rename Material UI to MUI (#30338) @ZeeshanTamboli
|
|
879
1057
|
- ​<!-- 23 -->[core] Fix warning in dev mode (#30368) @oliviertassinari
|
|
880
1058
|
- ​<!-- 22 -->[core] Update `buildApi` script to support new structure (#30245) @siriwatknp
|
|
881
1059
|
|
|
@@ -1874,7 +2052,7 @@ These are the changes done from the last release candidate version (5.0.0-rc.1):
|
|
|
1874
2052
|
- ​<!-- 38 -->[blog] Introducing MUI Core v5.0 (#27912) @oliviertassinari
|
|
1875
2053
|
- ​<!-- 08 -->[docs] Fix quotes in font-face literal (#28260) @Aurelain
|
|
1876
2054
|
- ​<!-- 07 -->[docs] Update redirects to X's docs (#28263) @m4theushw
|
|
1877
|
-
- ​<!-- 06 -->[docs] Change Material
|
|
2055
|
+
- ​<!-- 06 -->[docs] Change Material UI to MUI in the console (#28270) @mbrookes
|
|
1878
2056
|
- ​<!-- 05 -->[docs] Docs redesign adjustments (#28203) @mnajdova
|
|
1879
2057
|
- ​<!-- 04 -->[docs] How to compose theme in steps (#28246) @goncalovf
|
|
1880
2058
|
- ​<!-- 03 -->[docs] Fix DataGrid demo console warning in Table docs (#28235) @ZeeshanTamboli
|
|
@@ -1895,7 +2073,7 @@ These are the changes done from the last release candidate version (5.0.0-rc.1):
|
|
|
1895
2073
|
|
|
1896
2074
|
### Core
|
|
1897
2075
|
|
|
1898
|
-
- ​<!-- 12 -->[core] Replace Material
|
|
2076
|
+
- ​<!-- 12 -->[core] Replace Material UI with MUI (#28243) @mnajdova
|
|
1899
2077
|
- ​<!-- 11 -->[core] Prepare for v5 stable release (#28240) @mnajdova
|
|
1900
2078
|
- ​<!-- 10 -->[core] Mark lines that needs to be changed with a major release (#28238) @mnajdova
|
|
1901
2079
|
- ​<!-- 18 -->[core] Various updates to what we consider the default branch (#28328) @eps1lon
|
|
@@ -1956,7 +2134,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
1956
2134
|
- ​<!-- 29 -->[docs] Improve docs for creating dark theme (#28104) @mnajdova
|
|
1957
2135
|
- ​<!-- 28 -->[docs] Don't use Material theme in unstyled demos (#28073) @michaldudak
|
|
1958
2136
|
- ​<!-- 27 -->[docs] Fix api doc import example (#28199) @siriwatknp
|
|
1959
|
-
- ​<!-- 26 -->[docs] Remove demo for re-creating Material
|
|
2137
|
+
- ​<!-- 26 -->[docs] Remove demo for re-creating Material UI switches (#28042) @eps1lon
|
|
1960
2138
|
- ​<!-- 25 -->[docs] Improve legibility of CTA on landing page (#28124) @akashshyamdev
|
|
1961
2139
|
- ​<!-- 24 -->[docs] Fix Link outdated default underline prop (#28134) @outofgamut
|
|
1962
2140
|
- ​<!-- 23 -->[docs] Fix branding theme leaking on the templates (#28120) @mnajdova
|
|
@@ -1998,7 +2176,7 @@ _Sep 1, 2021_
|
|
|
1998
2176
|
A big thanks to the 18 contributors who made this release possible. Here are some highlights โจ:
|
|
1999
2177
|
|
|
2000
2178
|
- ๐ 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).
|
|
2001
|
-
- ๐ Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/guides/migration-v4/#preset-safe)
|
|
2179
|
+
- ๐ Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/material-ui/guides/migration-v4/#preset-safe)
|
|
2002
2180
|
- ๐งช Added new `<Mansory>` component to the lab, [check it out](https://mui.com/components/masonry/). It has been crafted by our first intern, @hbjORbj ๐!
|
|
2003
2181
|
|
|
2004
2182
|
### `@mui/material@5.0.0-rc.0`
|
|
@@ -2444,7 +2622,7 @@ A big thanks to the 20 contributors who made this release possible. Here are som
|
|
|
2444
2622
|
### Docs
|
|
2445
2623
|
|
|
2446
2624
|
- ​<!-- 56 -->[docs] Display Popper arrow correctly (#27339) @Patil2099
|
|
2447
|
-
- ​<!-- 53 -->[docs] Focus pickers introduction on Material
|
|
2625
|
+
- ​<!-- 53 -->[docs] Focus pickers introduction on Material UI (#27394) @eps1lon
|
|
2448
2626
|
- ​<!-- 51 -->[docs] Fix wrong import path in @material-ui/styles section (#27427) @WeldonTan
|
|
2449
2627
|
- ​<!-- 47 -->[docs] Update color imports (#27321) @siriwatknp
|
|
2450
2628
|
- ​<!-- 38 -->[docs] Sync params of callbacks between types and JSDoc description (#27366) @eps1lon
|
|
@@ -2496,7 +2674,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
2496
2674
|
You can follow our progress at https://github.com/mui/material-ui/issues/27170.
|
|
2497
2675
|
|
|
2498
2676
|
- ๐ We have updated the default `info` `success` `warning` color to be more accessible (#26817) @siriwatknp.
|
|
2499
|
-
You can find the new [default values](https://mui.com/customization/palette/#default-values) in the documentation.
|
|
2677
|
+
You can find the new [default values](https://mui.com/material-ui/customization/palette/#default-values) in the documentation.
|
|
2500
2678
|
|
|
2501
2679
|
<a href="https://mui.com/customization/palette/#default-values"><img width="780" alt="colors" src="https://user-images.githubusercontent.com/3165635/125192657-4864fd00-e249-11eb-9dc1-44857b25b3b8.png"></a>
|
|
2502
2680
|
|
|
@@ -2587,7 +2765,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
2587
2765
|
- [test] Update tests with latest state of StrictMode compatibility (#27042) @eps1lon
|
|
2588
2766
|
- [test] Use DOM events instead of mocked, partial events (#27198) @eps1lon
|
|
2589
2767
|
- [website] Open 4 new roles (#27123) @oliviertassinari
|
|
2590
|
-
- [blog] Danilo Leal joins Material
|
|
2768
|
+
- [blog] Danilo Leal joins Material UI (#27231) @oliviertassinari
|
|
2591
2769
|
|
|
2592
2770
|
All contributors of this release in alphabetical order: @eps1lon, @mbrookes, @michal-perlakowski, @michaldudak, @mnajdova, @moshfeu, @oliviertassinari, @rajzik, @renovate[bot], @sahil-blulabs, @ShirasawaSama, @siriwatknp, @vimutti77
|
|
2593
2771
|
|
|
@@ -3024,7 +3202,7 @@ A big thanks to the 11 contributors who made this release possible. Here are som
|
|
|
3024
3202
|
|
|
3025
3203
|
### Docs
|
|
3026
3204
|
|
|
3027
|
-
- ​<!-- 20 -->[blog] Michaล Dudak joins Material
|
|
3205
|
+
- ​<!-- 20 -->[blog] Michaล Dudak joins Material UI (#26700) @oliviertassinari
|
|
3028
3206
|
- ​<!-- 27 -->[docs] Migrate onepirate premium template to emotion part2 (#26707) @vicasas
|
|
3029
3207
|
- ​<!-- 24 -->[docs] Fix TextField demo layout (#26710) @vicasas
|
|
3030
3208
|
- ​<!-- 19 -->[docs] Improve Paperbase demo (#26711) @oliviertassinari
|
|
@@ -3311,7 +3489,7 @@ We are progressively moving all modules that are relevant to styling custom desi
|
|
|
3311
3489
|
- [test] Move ClockPicker tests to ClockPicker.test (#26407) @eps1lon
|
|
3312
3490
|
- [test] setProps from createPickerRender should set props on the rendered element (#26405) @eps1lon
|
|
3313
3491
|
- [utils] Convert useId to TypeScript (#26491) @eps1lon
|
|
3314
|
-
- [website] Add Material
|
|
3492
|
+
- [website] Add Material UI X page (#25794) @DanailH
|
|
3315
3493
|
- [website] Add open application section (#26501) @oliviertassinari
|
|
3316
3494
|
- [website] Add Siriwat to team page (#26406) @siriwatknp
|
|
3317
3495
|
|
|
@@ -3403,7 +3581,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
3403
3581
|
/>
|
|
3404
3582
|
```
|
|
3405
3583
|
|
|
3406
|
-
> Follow [this link](https://mui.com/guides/migration-v4/#main-content) for full migration from v4 => v5
|
|
3584
|
+
> Follow [this link](https://mui.com/material-ui/guides/migration-v4/#main-content) for full migration from v4 => v5
|
|
3407
3585
|
|
|
3408
3586
|
#### Changes
|
|
3409
3587
|
|
|
@@ -3456,7 +3634,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
3456
3634
|
- ​<!-- 28 -->[docs] Fix broken overrides link on API pages (#26244) @mnajdova
|
|
3457
3635
|
- ​<!-- 27 -->[docs] Improve documentation for Buttons (#26184) @arpitBhalla
|
|
3458
3636
|
- ​<!-- 24 -->[docs] Emphasize on props for screen readers (#26222) @atisheyJain03
|
|
3459
|
-
- ​<!-- 23 -->[docs] Link third-party routing in Bottom
|
|
3637
|
+
- ​<!-- 23 -->[docs] Link third-party routing in Bottom navigation (#26190) @arpitBhalla
|
|
3460
3638
|
- ​<!-- 22 -->[docs] Migrate Select, Progress demos to emotion (#26178) @mnajdova
|
|
3461
3639
|
- ​<!-- 20 -->[docs] Add accessibility section to Badges (#26009) @likitarai1
|
|
3462
3640
|
- ​<!-- 15 -->[docs] Migrate Popper, Drawer demos to emotion (#26183) @mnajdova
|
|
@@ -3566,7 +3744,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
3566
3744
|
|
|
3567
3745
|
- ​<!-- 51 -->[Box] Remove render prop (#26113) @m4theushw
|
|
3568
3746
|
|
|
3569
|
-
Its behavior can be obtained using the `sx` prop directly on the child if it's a Material
|
|
3747
|
+
Its behavior can be obtained using the `sx` prop directly on the child if it's a Material UI component. For non-Material UI components use the `sx` prop in conjunction with the `component` prop:
|
|
3570
3748
|
|
|
3571
3749
|
```diff
|
|
3572
3750
|
-<Box sx={{ border: '1px dashed grey' }}>
|
|
@@ -4182,7 +4360,7 @@ A big thanks to the 21 contributors who made this release possible. Here are som
|
|
|
4182
4360
|
- ​<!-- 03 -->[docs] Add interoperability section for Portal (#25575) @mnajdova
|
|
4183
4361
|
- ​<!-- 01 -->[docs] Fix side nav scroll position (#25619) @misaka3
|
|
4184
4362
|
- ​<!-- 30 -->[website] Q1 2021 Update (#25591) @oliviertassinari
|
|
4185
|
-
- ​<!-- 04 -->[website] Matheus Wichman joins Material
|
|
4363
|
+
- ​<!-- 04 -->[website] Matheus Wichman joins Material UI (#25590) @oliviertassinari
|
|
4186
4364
|
|
|
4187
4365
|
### Core
|
|
4188
4366
|
|
|
@@ -4468,7 +4646,7 @@ The prop didn't solve any important problem better than any of its alternatives
|
|
|
4468
4646
|
|
|
4469
4647
|
### Docs
|
|
4470
4648
|
|
|
4471
|
-
- ​<!-- 22 -->[docs] Migrate Bottom
|
|
4649
|
+
- ​<!-- 22 -->[docs] Migrate Bottom navigation demos to emotion (#25180) @vicasas
|
|
4472
4650
|
- ​<!-- 09 -->[docs] Migrate Button demos to emotion (#25138) @vicasas
|
|
4473
4651
|
- ​<!-- 17 -->[docs] Migrate Divider demos to emotion (#25145) @vicasas
|
|
4474
4652
|
- ​<!-- 24 -->[docs] Migrate Pagination demos to emotion (#25183) @vicasas
|
|
@@ -4703,7 +4881,7 @@ A big thanks to the 30 contributors who made this release possible. Here are som
|
|
|
4703
4881
|
- Increase the minimum version of TypeScript supported from v3.2 to v3.5. (#24795) @petyosi
|
|
4704
4882
|
|
|
4705
4883
|
We try to align with types released from [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) (i.e. packages published on npm under the `@types` namespace).
|
|
4706
|
-
We will not change the minimum supported version in a major version of Material
|
|
4884
|
+
We will not change the minimum supported version in a major version of Material UI.
|
|
4707
4885
|
However, we generally recommend to not use a TypeScript version older than the [lowest supported version of DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped#older-versions-of-typescript-33-and-earlier).
|
|
4708
4886
|
|
|
4709
4887
|
#### Changes
|
|
@@ -5431,8 +5609,8 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
5431
5609
|
Thanks to @mbrookes developers can automate the migration with a [codemod](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#box-sx-prop).
|
|
5432
5610
|
|
|
5433
5611
|
```diff
|
|
5434
|
-
-<Box p={2}
|
|
5435
|
-
+<Box sx={{ p: 2,
|
|
5612
|
+
-<Box p={2} bgcolor="primary.main">
|
|
5613
|
+
+<Box sx={{ p: 2, bgcolor: 'primary.main' }}>
|
|
5436
5614
|
```
|
|
5437
5615
|
|
|
5438
5616
|
#### Changes
|
|
@@ -5543,7 +5721,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
5543
5721
|
);
|
|
5544
5722
|
```
|
|
5545
5723
|
|
|
5546
|
-
This enforces emotion being injected first. [More details](https://mui.com/guides/interoperability/#css-injection-order) in the documentation.
|
|
5724
|
+
This enforces emotion being injected first. [More details](https://mui.com/material-ui/guides/interoperability/#css-injection-order) in the documentation.
|
|
5547
5725
|
|
|
5548
5726
|
- [Autocomplete] Rename `closeIcon` prop with `clearIcon` to avoid confusion (#23617) @akhilmhdh.
|
|
5549
5727
|
|
|
@@ -5755,7 +5933,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
|
|
|
5755
5933
|
- [docs] Improve formatting of the system (#23509) @oliviertassinari
|
|
5756
5934
|
- [docs] Improve migration guide for theme.palette (#23416) @hubgit
|
|
5757
5935
|
- [docs] Mention delay instead of transition twice (#23393) @benmneb
|
|
5758
|
-
- [docs] Prepare Material
|
|
5936
|
+
- [docs] Prepare Material UI X (#1893) @oliviertassinari
|
|
5759
5937
|
- [docs] Redirect legacy GridList pages to ImageList (#23456) @eps1lon
|
|
5760
5938
|
- [docs] Remove redundant aria-label when wrapped in Tooltip (#23455) @eps1lon
|
|
5761
5939
|
- [docs] Sync translations (#23316) @l10nbot
|
|
@@ -5783,19 +5961,19 @@ _Nov 4, 2020_
|
|
|
5783
5961
|
A big thanks to the 20 contributors who made this release possible. Here are some highlights โจ:
|
|
5784
5962
|
|
|
5785
5963
|
- โ๏ธ Add support for React 17 (#23311) @eps1lon.
|
|
5786
|
-
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
|
|
5964
|
+
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`.
|
|
5787
5965
|
- ๐ Introduce a new `@material-ui/unstyled` package (#23270) @mnajdova.
|
|
5788
5966
|
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.
|
|
5789
5967
|
|
|
5790
5968
|
**Why an unstyled package?**
|
|
5791
5969
|
|
|
5792
|
-
While engineering teams are successfully building custom design systems by wrapping Material
|
|
5970
|
+
While engineering teams are successfully building custom design systems by wrapping Material UI, we [occasionally hear](https://github.com/mui/material-ui/issues/6218) that Material Design or our styling solution are something they don't need. Some teams prefer SASS, others prefer to customize the components starting from a pristine state. What all these teams have in common is that they value the features coming from the components, such as accessibility.
|
|
5793
5971
|
|
|
5794
5972
|
The unstyled package goes one step down in the abstraction layer, providing more flexibility. Angular Material introduced this approach two years ago. Today their unstyled components account for [25% of the usage](https://npm-stat.com/charts.html?package=%40angular%2Fmaterial&package=%40angular%2Fcdk&from=2017-11-03&to=2020-11-03).
|
|
5795
5973
|
|
|
5796
5974
|
Another reason for introducing this package is to prepare the groundwork for a [second theme](https://github.com/mui/material-ui/issues/22485) (not Material Design based).
|
|
5797
5975
|
|
|
5798
|
-
A note on the terminology: "unstyled" means that the components have the same API as the "styled" components but come without CSS. Material
|
|
5976
|
+
A note on the terminology: "unstyled" means that the components have the same API as the "styled" components but come without CSS. Material UI also contains "headless" components that exposes a hook API, e.g. [useAutocomplete](https://mui.com/components/autocomplete/#useautocomplete) or [usePagination](https://mui.com/components/pagination/#usepagination).
|
|
5799
5977
|
|
|
5800
5978
|
This change is part of our strategy to iterate on the v5 architecture with the `Slider` first. In the next alpha release, we plan to replace the v4 slider with the v5 slider. Once the new approach is stress-tested and validated, we will roll it out to all the components.
|
|
5801
5979
|
|
|
@@ -5859,8 +6037,8 @@ A big thanks to the 20 contributors who made this release possible. Here are som
|
|
|
5859
6037
|
### Docs
|
|
5860
6038
|
|
|
5861
6039
|
- [Transition]ย Document default appear value (#23221) @GuilleDF
|
|
5862
|
-
- [blog] Danail Hadjiatanasov joins Material
|
|
5863
|
-
- [docs] Add Material
|
|
6040
|
+
- [blog] Danail Hadjiatanasov joins Material UI (#23223) @oliviertassinari
|
|
6041
|
+
- [docs] Add Material UI Builder to in-house ads (#23342) @mbrookes
|
|
5864
6042
|
- [docs] Fix a few typos and add comma (#23284) @reedanders
|
|
5865
6043
|
- [docs] Fix few propTypes in Inputs (#23331) @youknowhat
|
|
5866
6044
|
- [docs] Fix language cookie (#23324) @mbrookes
|
|
@@ -5896,7 +6074,7 @@ A big thanks to the 23 contributors who made this release possible.
|
|
|
5896
6074
|
Here are some highlights โจ:
|
|
5897
6075
|
|
|
5898
6076
|
- ๐ Introduce a new `sx` prop (#23053, #23205) @mnajdova
|
|
5899
|
-
We have resumed the work on Material
|
|
6077
|
+
We have resumed the work on Material UI System. This is made possible by the latest progress on the new styling solution of v5.
|
|
5900
6078
|
You can read the [introduction blog post](https://medium.com/material-ui/introducing-material-ui-design-system-93e921beb8df) that we did for the system two years ago.
|
|
5901
6079
|
|
|
5902
6080
|
The system is meant to solve the following problems:
|
|
@@ -6069,7 +6247,7 @@ A big thanks to the 25 contributors who made this release possible.
|
|
|
6069
6247
|
Here are some highlights โจ:
|
|
6070
6248
|
|
|
6071
6249
|
- ๐ฆ Ship modern bundle (#22814) @eps1lon.
|
|
6072
|
-
This is a significant update to the [browsers supported](https://mui.com/getting-started/supported-platforms/) by Material
|
|
6250
|
+
This is a significant update to the [browsers supported](https://mui.com/material-ui/getting-started/supported-platforms/) by Material UI.
|
|
6073
6251
|
The previous policy was defined 2 years ago, and the landscape has evolved since then. The package now includes 4 bundles:
|
|
6074
6252
|
|
|
6075
6253
|
1. `stable` (default, formerly `esm`) which targets a snapshot (on release) of `> 0.5%, last 2 versions, Firefox ESR, not dead, not IE 11"`
|
|
@@ -6080,7 +6258,7 @@ Here are some highlights โจ:
|
|
|
6080
6258
|
The change yields a 6% reduction in bundle size ๐ฆ (Babel only).
|
|
6081
6259
|
In the coming weeks, we will refactor the internals to take advantage of the new browser capabilities that dropping these older platforms allows. For instance, we might be able to remove the span we render inside the `<Button>` to work around [Flexbug #9](https://github.com/philipwalton/flexbugs/blob/master/README.md#flexbug-9).
|
|
6082
6260
|
|
|
6083
|
-
Check the updated [Supported platforms documentation](https://mui.com/getting-started/supported-platforms/) and [new "minimizing bundle size" guide](https://mui.com/guides/minimizing-bundle-size/).
|
|
6261
|
+
Check the updated [Supported platforms documentation](https://mui.com/material-ui/getting-started/supported-platforms/) and [new "minimizing bundle size" guide](https://mui.com/material-ui/guides/minimizing-bundle-size/).
|
|
6084
6262
|
|
|
6085
6263
|
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.
|
|
6086
6264
|
|
|
@@ -6436,7 +6614,7 @@ Here are some highlights โจ:
|
|
|
6436
6614
|
You can find a [new version](https://mui.com/components/slider-styled/#UnstyledSlider.tsx) of the slider in the lab without any styles.
|
|
6437
6615
|
The unstyled component weighs 6.5 kB gzipped, compared with 26 kB for the styled version when used standalone. The component is best suited for use when you want to fully customize the look of the component without reimplementing the JavaScript and accessibility logic.
|
|
6438
6616
|
|
|
6439
|
-
- โก๏ธ A first alpha of the [DataGrid](https://mui.com/
|
|
6617
|
+
- โก๏ธ A first alpha of the [DataGrid](https://mui.com/x/react-data-grid/) component.
|
|
6440
6618
|
|
|
6441
6619
|
It has taken 6 months of development since the initial commit (March 15th, 2020) to make the first alpha release of the grid. The component comes in two versions:
|
|
6442
6620
|
@material-ui/data-grid is licensed under MIT, while @material-ui/x-grid is licensed under a commercial license.
|
|
@@ -6724,7 +6902,7 @@ Here are some highlights โจ:
|
|
|
6724
6902
|
|
|
6725
6903
|
- [theme] Remove palette.text.hint key (#22537) @mbrookes
|
|
6726
6904
|
|
|
6727
|
-
The `theme.palette.text.hint` key was available but unused in Material
|
|
6905
|
+
The `theme.palette.text.hint` key was available but unused in Material UI v4 components.
|
|
6728
6906
|
You can use `adaptV4Theme()` to restore the previous behavior.
|
|
6729
6907
|
|
|
6730
6908
|
#### Changes
|
|
@@ -7142,7 +7320,7 @@ A big thanks to the 26 contributors who made this release possible.
|
|
|
7142
7320
|
Here are some highlights โจ:
|
|
7143
7321
|
|
|
7144
7322
|
- ๐
Introduce a new dynamic variant API (#21648) @mnajdova.
|
|
7145
|
-
This API allows developers to add new variants on the Material
|
|
7323
|
+
This API allows developers to add new variants on the Material UI's components right from the theme, without having to wrap the components.
|
|
7146
7324
|
For instance with the Button:
|
|
7147
7325
|
|
|
7148
7326
|
```tsx
|
|
@@ -7171,7 +7349,7 @@ Here are some highlights โจ:
|
|
|
7171
7349
|
<Button variant="dashed" />;
|
|
7172
7350
|
```
|
|
7173
7351
|
|
|
7174
|
-
More details in [the documentation](https://mui.com/customization/components/#adding-new-component-variants) and [RFC](#21749).
|
|
7352
|
+
More details in [the documentation](https://mui.com/material-ui/customization/components/#adding-new-component-variants) and [RFC](#21749).
|
|
7175
7353
|
|
|
7176
7354
|
- ๐ฎ Add documentation for the [TrapFocus](https://mui.com/components/trap-focus/) component (#22062) @oliviertassinari.
|
|
7177
7355
|
- โ๏ธ Prepare support for React v17 (#22093, #22105, #22143, #22111) @eps1lon.
|
package/defaultTheme/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The default theme interface, augment this to avoid having to set the theme type everywhere.
|
|
3
|
-
* Our [TypeScript guide on theme customization](https://mui.com/customization/theming/#custom-variables) explains in detail how you would add custom properties.
|
|
3
|
+
* Our [TypeScript guide on theme customization](https://mui.com/material-ui/customization/theming/#custom-variables) explains in detail how you would add custom properties.
|
|
4
4
|
*/
|
|
5
5
|
export interface DefaultTheme {}
|
package/index.js
CHANGED
package/legacy/index.js
CHANGED
package/modern/index.js
CHANGED
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/private-theming",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.6.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "Private - The React theme context to be shared between `@mui/styles` and `@mui/material`.",
|
|
7
7
|
"main": "./node/index.js",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"react",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"url": "https://opencollective.com/mui"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@types/react": "^
|
|
30
|
-
"react": "^17.0.0"
|
|
29
|
+
"@types/react": "^17.0.0 || ^18.0.0",
|
|
30
|
+
"react": "^17.0.0 || ^18.0.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependenciesMeta": {
|
|
33
33
|
"@types/react": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.17.2",
|
|
39
|
-
"@mui/utils": "^5.
|
|
39
|
+
"@mui/utils": "^5.6.1",
|
|
40
40
|
"prop-types": "^15.7.2"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|