@mui/system 5.2.8 → 5.4.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.
Files changed (65) hide show
  1. package/Box/Box.d.ts +2 -1
  2. package/Box/Box.spec.d.ts +1 -1
  3. package/CHANGELOG.md +373 -28
  4. package/ThemeProvider/ThemeProvider.d.ts +1 -1
  5. package/createBox.d.ts +2 -0
  6. package/createBox.js +3 -2
  7. package/createBox.spec.d.ts +1 -1
  8. package/createStyled.d.ts +2 -1
  9. package/createStyled.js +16 -6
  10. package/createTheme/createBreakpoints.js +21 -6
  11. package/createTheme/createSpacing.d.ts +10 -10
  12. package/cssVars/createCssVarsProvider.d.ts +7 -0
  13. package/cssVars/createCssVarsProvider.js +4 -2
  14. package/cssVars/createCssVarsProvider.spec.d.ts +1 -1
  15. package/cssVars/createGetCssVar.d.ts +5 -5
  16. package/cssVars/createGetCssVar.js +7 -1
  17. package/cssVars/cssVarsParser.d.ts +68 -68
  18. package/cssVars/cssVarsParser.js +4 -3
  19. package/cssVars/getInitColorSchemeScript.d.ts +12 -12
  20. package/cssVars/index.d.ts +2 -2
  21. package/cssVars/useCurrentColorScheme.d.ts +50 -50
  22. package/esm/createBox.js +3 -2
  23. package/esm/createStyled.js +14 -4
  24. package/esm/createTheme/createBreakpoints.js +20 -4
  25. package/esm/cssVars/createCssVarsProvider.js +4 -2
  26. package/esm/cssVars/createGetCssVar.js +7 -1
  27. package/esm/cssVars/cssVarsParser.js +4 -3
  28. package/esm/getThemeValue.js +1 -1
  29. package/esm/index.js +1 -1
  30. package/esm/styleFunctionSx/index.js +1 -0
  31. package/esm/styleFunctionSx/styleFunctionSx.js +78 -51
  32. package/esm/typography.js +4 -1
  33. package/getThemeValue.js +2 -1
  34. package/index.d.ts +2 -0
  35. package/index.js +8 -1
  36. package/index.spec.d.ts +1 -1
  37. package/legacy/createBox.js +4 -2
  38. package/legacy/createStyled.js +23 -7
  39. package/legacy/createTheme/createBreakpoints.js +23 -4
  40. package/legacy/cssVars/createCssVarsProvider.js +4 -2
  41. package/legacy/cssVars/createGetCssVar.js +7 -1
  42. package/legacy/cssVars/cssVarsParser.js +4 -3
  43. package/legacy/getThemeValue.js +1 -1
  44. package/legacy/index.js +2 -2
  45. package/legacy/styleFunctionSx/index.js +1 -0
  46. package/legacy/styleFunctionSx/styleFunctionSx.js +76 -51
  47. package/legacy/typography.js +4 -1
  48. package/modern/createBox.js +3 -2
  49. package/modern/createStyled.js +14 -4
  50. package/modern/createTheme/createBreakpoints.js +20 -4
  51. package/modern/cssVars/createCssVarsProvider.js +4 -2
  52. package/modern/cssVars/createGetCssVar.js +7 -1
  53. package/modern/cssVars/cssVarsParser.js +4 -3
  54. package/modern/getThemeValue.js +1 -1
  55. package/modern/index.js +2 -2
  56. package/modern/styleFunctionSx/index.js +1 -0
  57. package/modern/styleFunctionSx/styleFunctionSx.js +78 -51
  58. package/modern/typography.js +4 -1
  59. package/package.json +9 -9
  60. package/style.d.ts +1 -1
  61. package/styleFunctionSx/index.js +12 -2
  62. package/styleFunctionSx/styleFunctionSx.d.ts +12 -1
  63. package/styleFunctionSx/styleFunctionSx.js +79 -54
  64. package/styleFunctionSx/styleFunctionSx.spec.d.ts +1 -1
  65. package/typography.js +6 -2
package/Box/Box.d.ts CHANGED
@@ -15,7 +15,7 @@ export type PropsFor<SomeStyleFunction> = SomeStyleFunction extends StyleFunctio
15
15
  export type StyleFunction<Props> = (props: Props) => any;
16
16
  export type SimpleStyleFunction<PropKey extends keyof any> = StyleFunction<
17
17
  Partial<Record<PropKey, any>>
18
- >;
18
+ > & { filterProps: string[] };
19
19
 
20
20
  // borders.js
21
21
  export const borders: SimpleStyleFunction<
@@ -123,6 +123,7 @@ export const typography: SimpleStyleFunction<
123
123
  | 'letterSpacing'
124
124
  | 'lineHeight'
125
125
  | 'textAlign'
126
+ | 'textTransform'
126
127
  >;
127
128
 
128
129
  // compose.js
package/Box/Box.spec.d.ts CHANGED
@@ -1 +1 @@
1
- export {};
1
+ export {};
package/CHANGELOG.md CHANGED
@@ -1,5 +1,350 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.4.2
4
+
5
+ _Feb 15, 2022_
6
+
7
+ A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
8
+
9
+ - 🛠 @sydneyjodon-wk improved propTypes of the ToggleButton components (#30883)
10
+ - Several 🐛 bug fixes and 📚 documentation improvements
11
+
12
+ ### `@mui/material@5.4.2`
13
+
14
+ - [Select] Allow customizing Select based on its variant (#30788) @michaldudak
15
+ - [Portal] Re-export 'Portal' in material (#31003) @liradb2000
16
+ - [ToggleButton] Add prop types for `onClick` and `onChange` (#30883) @sydneyjodon-wk
17
+ - [Typescript] Added TypeText declaration to the exports file (#30890) @agauravdev
18
+
19
+ ### `@mui/system@5.4.2`
20
+
21
+ - [system] Fix broken behavior when breakpoints input are not ordered (#30996) @mnajdova
22
+
23
+ ### `@mui/lab@5.0.0-alpha.69`
24
+
25
+ - [DatePicker] Fix passing clearable prop (#30786) @alisasanib
26
+
27
+ ### `@mui/joy@5.0.0-alpha.15`
28
+
29
+ - [Joy] Improve variant customization experience (#30878) @siriwatknp
30
+ - [Joy] Make `sx` prop work in Joy (#30955) @siriwatknp
31
+
32
+ ### Framer
33
+
34
+ - [design] Remove framer components (#30983) @mbrookes
35
+ - [design] Remove framer leftovers (#31070) @michaldudak
36
+
37
+ ### Docs
38
+
39
+ - [docs] Update installation guide of the icons package (#31026) @huyenltnguyen
40
+ - [docs] Improve the indication for the legacy APIs (#30995) @mnajdova
41
+ - [docs] Specify which props are added in the default `shouldForwardProp` option (#30978) @mnajdova
42
+ - [docs] Fix layout shift on loading (#31017) @oliviertassinari
43
+ - [docs] Increase scroll affordance in wide tables (#30713) @danilo-leal
44
+ - [docs] Fix look & feel of the Masonry demos (#30971) @oliviertassinari
45
+ - [docs] Improve Base component demos (#30884) @danilo-leal
46
+ - [docs] Use full product names (Material UI, MUI System) (#30960) @oliviertassinari
47
+ - [docs] Prefer useEnhancedEffect to avoid server side warnings (#30977) @mnajdova
48
+ - [docs] Fix force redirection to a different locale (#30967) @oliviertassinari
49
+ - [docs] Add live Tailwind CSS demo (#30966) @oliviertassinari
50
+ - [website] Add banner for promoting priority open roles (#31076) @danilo-leal
51
+ - [website] Open Full-stack Engineer role for studio (#31038) @newguy-123
52
+ - [website] Minor security improvements (#31062) @oliviertassinari
53
+ - [website] Improve title of open roles (#30963) @DanailH
54
+ - [website] Add BIMI avatar (#30444) @oliviertassinari
55
+ - [website] Add Sycamore to About page (#31000) @samuelsycamore
56
+
57
+ ### Core
58
+
59
+ - [benchmark] Add missing dependency (#30994) @michaldudak
60
+ - [core] Bump date-io version (#31016) @michaldudak
61
+ - [core] Fix typo in useSlider (#31061) @ryohey
62
+ - [core] Remove unused draft-js types package (#30993) @michaldudak
63
+ - [test] Test if certain Base members are exported from Material UI (#31067) @michaldudak
64
+ - [core] Remove dead code (#31064) @oliviertassinari
65
+
66
+ All contributors of this release in alphabetical order: @agauravdev, @alisasanib, @DanailH, @danilo-leal, @huyenltnguyen, @l10nbot, @liradb2000, @mbrookes, @michaldudak, @mnajdova, @newguy-123, @oliviertassinari, @ryohey, @samuelsycamore, @siriwatknp, @sydneyjodon-wk
67
+
68
+ ## 5.4.1
69
+
70
+ <!-- generated comparing v5.4.0..master -->
71
+
72
+ _Feb 8, 2022_
73
+
74
+ A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
75
+
76
+ - ♿️ Snackbar messages are now announced by NVDA when using Firefox (#30774) @eps1lon
77
+ - Several 🐛 bug fixes and 📚 documentation improvements.
78
+
79
+ ### `@mui/material@5.4.1`
80
+
81
+ - &#8203;<!-- 37 -->[AvatarGroup] Enable targeting of additional Avatar when max props is passed (#30794) @mogrady88
82
+ - &#8203;<!-- 36 -->[Badge] Fix showzero and invisible condition (#30899) @alisasanib
83
+ - &#8203;<!-- 35 -->[ButtonBase] Expose ref to TouchRipple (#30901) @m4theushw
84
+ - &#8203;<!-- 15 -->[Fab] Add support for the default theme colors (#30846) @alisasanib
85
+ - &#8203;<!-- 11 -->[SelectInput] Only attach click handler to label if a labelId is passed (#30239) @johsunds
86
+ - &#8203;<!-- 09 -->[Snackbar] Ensure messages are announced in NVDA+FF (#30774) @eps1lon
87
+
88
+ ### `@mui/base@5.0.0-alpha.68`
89
+
90
+ - &#8203;<!-- 10 -->[SelectUnstyled] Improve exported types (#30895) @michaldudak
91
+
92
+ ### `@mui/lab@5.0.0-alpha.68`
93
+
94
+ - &#8203;<!-- 12 -->[Pickers] Fix `onDismiss` handler in `MobileDatePicker` (#30768) @Ashish2097
95
+ - &#8203;<!-- 06 -->[TimePicker] Add font family for clock numbers (#30738) @alisasanib
96
+
97
+ ### `@mui/joy@5.0.0-alpha.14`
98
+
99
+ - &#8203;<!-- 14 -->[Joy] Add `IconButton` component (#30864) @siriwatknp
100
+ - &#8203;<!-- 13 -->[Joy] Use icon inside a Button (#30803) @siriwatknp
101
+
102
+ ### Docs
103
+
104
+ - &#8203;<!-- 16 -->[examples] Fix vitejs example and improve HMR (#30897) @mihailgaberov
105
+ - &#8203;<!-- 33 -->[docs] Improve autocomplete "limit tags" demo (#30910) @danilo-leal
106
+ - &#8203;<!-- 34 -->[docs] Sync translations with Crowdin (#30950) @l10nbot
107
+ - &#8203;<!-- 38 -->[docs] Improve description of the disableRestoreFocus prop of the `TrapFocus` (#30912) @flaviendelangle
108
+ - &#8203;<!-- 32 -->[docs] Remove ul with div children and replace with nav element (#30534) @joeframbach
109
+ - &#8203;<!-- 31 -->[docs] Add Saleor to showcase (#30924) @cherniavskii
110
+ - &#8203;<!-- 30 -->[docs] Include JSS in styling solution interoperability guide (#30736) @garronej
111
+ - &#8203;<!-- 29 -->[docs] Fix contents of link-underline-hover (#30904) @pppp606
112
+ - &#8203;<!-- 28 -->[docs] Fix markdown table format (#30947) @oliviertassinari
113
+ - &#8203;<!-- 27 -->[docs] Add missing import to RTL guide (#30891) @CFarhad
114
+ - &#8203;<!-- 26 -->[docs] Fix WithStyles import statement for @mui/styles (#30942) @altruity
115
+ - &#8203;<!-- 25 -->[docs] Fix broken roadmap table (#30943) @cherniavskii
116
+ - &#8203;<!-- 24 -->[docs] Fix broken URL in "Edit this page" button (#30923) @cherniavskii
117
+ - &#8203;<!-- 23 -->[docs] Migrate content to the new location (#30757) @siriwatknp
118
+ - &#8203;<!-- 22 -->[docs] Fix the link to the Vite.js example project (#30872) @GneyHabub
119
+ - &#8203;<!-- 21 -->[docs] Clarify the minimum configuration for TypeScript (#30790) @mnajdova
120
+ - &#8203;<!-- 20 -->[docs] Clarify what the name of @mui/material is (#30866) @oliviertassinari
121
+ - &#8203;<!-- 19 -->[docs] Remove migration from the releases page (#30863) @mnajdova
122
+ - &#8203;<!-- 18 -->[docs] Update Instructions for Google Maps Autocomplete (#30849) @kjschabra
123
+ - &#8203;<!-- 17 -->[docs] Hotfix notification <b> (#30862) @siriwatknp
124
+ - &#8203;<!-- 04 -->[website] Sample GA to avoid hit limit (#30919) @oliviertassinari
125
+ - &#8203;<!-- 03 -->[website] Hide scrollbars of hero containers (#29474) @theiliad
126
+ - &#8203;<!-- 02 -->[website] Polishing spacing and other small things (#30828) @danilo-leal
127
+ - &#8203;<!-- 01 -->[website] Close the Developer Advocate role (#30867) @oliviertassinari
128
+
129
+ ### Core
130
+
131
+ - &#8203;<!-- 37 -->[core] Batch small fixes (#30952) @oliviertassinari
132
+ - &#8203;<!-- 34 -->[core] Rename the GitHub org (#30944) @oliviertassinari
133
+ - &#8203;<!-- 33 -->[core] Fix propTypes in components where OverridableStringUnion is used (#30682) @paales
134
+ - &#8203;<!-- 08 -->[test] Codify the difference between keyup and keydown in SelectUnstyled (#30857) @eps1lon
135
+ - &#8203;<!-- 07 -->[test] Fix typo (#30841) @caioagiani
136
+ - &#8203;<!-- 05 -->[utils] Use built-in hook when available for useId (#30654) @eps1lon
137
+
138
+ All contributors of this release in alphabetical order: @alisasanib, @altruity, @Ashish2097, @caioagiani, @CFarhad, @cherniavskii, @danilo-leal, @eps1lon, @flaviendelangle, @garronej, @GneyHabub, @joeframbach, @johsunds, @kjschabra, @m4theushw, @michaldudak, @mihailgaberov, @mnajdova, @mogrady88, @oliviertassinari, @paales, @pppp606, @siriwatknp, @theiliad
139
+
140
+ ## 5.4.0
141
+
142
+ <!-- generated comparing v5.3.1..master -->
143
+
144
+ _Feb 1, 2022_
145
+
146
+ A big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
147
+
148
+ - 🛠 @goncalovf added an example project using [MUI with Vite.js](https://github.com/mui/material-ui/tree/master/examples/vitejs) (#28241)
149
+ - Number of 🐛 bug fixes and 📚 documentation improvements.
150
+
151
+ ### `@mui/material@5.4.0`
152
+
153
+ #### Breaking changes
154
+
155
+ - &#8203;<!-- 27 -->[core] Do not reexport Base from Material (#30853) @michaldudak
156
+
157
+ All Base components were exported from the `@mui/material` package and treated as stable even though the `@mui/base` package is in development. It could create a lot of confusion if developers start using Base components, depend on them, and demand quality found in "proper" Material components. We admit it was a mistake to reexport these components without marking them as unstable.
158
+
159
+ Developers are still encouraged to evaluate the Base components, but they should do so by explicitly installing the `@mui/base` package.
160
+
161
+ This is technically a breaking change as it removes a number of components from the `@mui/material` package. However, we believe that removing the components now and potentially breaking the codebases will do less harm than introducing "silent" breaking changes to Base components while continuing reexporting them from `@mui/material`.
162
+
163
+ Note: the utility components, such as ClickAwayListener, NoSsr, Portal, and TextareaAutosize continue to be exported from both `@mui/material` and `@mui/base`.
164
+
165
+ If you're encountering build errors after upgrading @mui/material, do the following:
166
+
167
+ 1. Install @mui/base: npm install @mui/base or yarn add @mui/base
168
+ 2. Make sure the version of @mui/base match the version of @mui/material
169
+ 3. Change the import paths of unstyled components from @mui/material to @mui/base, e.g.:
170
+
171
+ ```diff
172
+ - @import ButtonUnstyled from '@mui/material/ButtonUnstyled';
173
+ + @import ButtonUnstyled from '@mui/base/ButtonUnstyled';
174
+ ```
175
+
176
+ #### Changes
177
+
178
+ - &#8203;<!-- 30 -->[Autocomplete] Add `readOnly` prop (#30706) @ZeeshanTamboli
179
+ - &#8203;<!-- 29 -->[Autocomplete] Fix typos in the page (#30737) @austinewuncler
180
+ - &#8203;<!-- 14 -->[FormControlLabel][formgroup] add Mui-error class (#30656) @alisasanib
181
+ - &#8203;<!-- 13 -->[Grid] Fix prop check for applying wrap-reverse (#30813) @Hubbz
182
+ - &#8203;<!-- 07 -->[TextField] Remove notch when no label is added (#30560) @alisasanib
183
+ - &#8203;<!-- 06 -->[TextField] Remove usage of dangerouslySetInnerHTML (#30776) @Jack-Works
184
+ - &#8203;<!-- 05 -->[TreeView] Select node when key `Enter` is pressed (#30795) @dryrainbow
185
+ - &#8203;<!-- 04 -->[useMediaQuery] Ensure no tearing in React 18 (#30655) @eps1lon
186
+
187
+ ### `@mui/base@5.0.0-alpha.67`
188
+
189
+ - &#8203;<!-- 11 -->[SelectUnstyled] Create unstyled select (+ hook) (#30113) @michaldudak
190
+
191
+ ### `@mui/lab@5.0.0-alpha.67`
192
+
193
+ - &#8203;<!-- 23 -->[DateTimePicker] Fix month view highlight wrong tab (#30773) @DiegoYungh
194
+ - &#8203;<!-- 12 -->[pickers] Enable the sx props on all components (#30749) @boutahlilsoufiane
195
+
196
+ ### Docs
197
+
198
+ - &#8203;<!-- 28 -->[blog] Introducing callback support in style overrides (#30668) @siriwatknp
199
+ - &#8203;<!-- 23 -->[docs] Add notifications for the blog posts (#30852) @siriwatknp
200
+ - &#8203;<!-- 22 -->[docs] Improve the interoperability guide (#30785) @mnajdova
201
+ - &#8203;<!-- 21 -->[docs] Improve the Getting Started documentation content (#30808) @mnajdova
202
+ - &#8203;<!-- 20 -->[docs] Fix typo in ad fallback (#30823) @cherniavskii
203
+ - &#8203;<!-- 19 -->[docs] Change ThemeProvider API links (#30705) @atakanzen
204
+ - &#8203;<!-- 18 -->[docs] Retain vendor prefixing in rtl example (#30710) @ryancogswell
205
+ - &#8203;<!-- 17 -->[docs] Fix typo in the Popper ScrollPlayground demo (#30780) @tanyabouman
206
+ - &#8203;<!-- 16 -->[docs] Small fixes on the jss-to-tss migration guide (#30734) @garronej
207
+ - &#8203;<!-- 15 -->[examples] Add Vite.js example (#28241) @goncalovf
208
+
209
+ ### Core
210
+
211
+ - &#8203;<!-- 29 -->[core] Clarify the label, to match with MUI X (#30831) @oliviertassinari
212
+ - &#8203;<!-- 26 -->[core] Remove none code related instructions from git (#30843) @oliviertassinari
213
+ - &#8203;<!-- 25 -->[core] Fix typos in comments for scripts (#30809) @aefox
214
+ - &#8203;<!-- 24 -->[core] Fix 301 link in the blog @oliviertassinari
215
+ - &#8203;<!-- 10 -->[test] Fix tests on Node 16 (#30819) @michaldudak
216
+ - &#8203;<!-- 09 -->[test] Add explicit types to support noImplicityAny=false (#30798) @m4theushw
217
+ - &#8203;<!-- 08 -->[test] Support React.useId format in \*DescriptionOf (#30657) @eps1lon
218
+ - &#8203;<!-- 03 -->[website] Fix SEO issues (#30829) @oliviertassinari
219
+ - &#8203;<!-- 02 -->[website] Add designer position page (#30708) @danilo-leal
220
+ - &#8203;<!-- 01 -->[website] Polish /about page (#30747) @oliviertassinari
221
+
222
+ All contributors of this release in alphabetical order: @aefox, @alisasanib, @atakanzen, @austinewuncler, @boutahlilsoufiane, @cherniavskii, @danilo-leal, @DiegoYungh, @dryrainbow, @eps1lon, @garronej, @goncalovf, @Hubbz, @Jack-Works, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @ryancogswell, @siriwatknp, @tanyabouman, @ZeeshanTamboli
223
+
224
+ ## 5.3.1
225
+
226
+ <!-- generated comparing v5.3.0..master -->
227
+
228
+ _Jan 24, 2022_
229
+
230
+ A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
231
+
232
+ - 🛠 @mnajdova added interoperability guide for using Tailwind CSS (#30700)
233
+ - A meaningful number of 🐛 bug fixes and 📚 documentation improvements.
234
+
235
+ ### `@mui/icons-material@5.3.1`
236
+
237
+ - &#8203;<!-- 04 -->[icons] Fix naming typos (#30512) @MrHBS
238
+ - &#8203;<!-- 03 -->[icons] Makes material-icons work with Joy (#30681) @siriwatknp
239
+
240
+ ### `@mui/base@5.0.0-alpha.66`
241
+
242
+ - &#8203;<!-- 02 -->[SliderUnstyled] Improve typings on some internal utils (#30614) @mnajdova
243
+
244
+ ### Core
245
+
246
+ - &#8203;<!-- 24 -->[core] Batch small changes (#30690) @oliviertassinari
247
+ - &#8203;<!-- 23 -->[core] Add new structure to ignore list crowdin (#30608) @siriwatknp
248
+ - &#8203;<!-- 22 -->[core] Correct version in package.json (#30677) @michaldudak
249
+ - &#8203;<!-- 01 -->[test] Fix buildApiUtils tests on Windows (#30698) @michaldudak
250
+
251
+ ### Docs
252
+
253
+ - &#8203;<!-- 26 -->[blog] Enable blog index (#30724) @siriwatknp
254
+ - &#8203;<!-- 25 -->[blog] Introducing the Row Grouping feature (#30598) @alexfauquette
255
+ - &#8203;<!-- 21 -->[docs] Fix SEO crawl errors (#30733) @oliviertassinari
256
+ - &#8203;<!-- 20 -->[docs] Update migration-v4.md (#30721) @ddecrulle
257
+ - &#8203;<!-- 19 -->[docs] Fix migration issues detected by `ahrefs` (#30751) @siriwatknp
258
+ - &#8203;<!-- 18 -->[docs] Add interoprability guide for using Tailwind CSS (#30700) @mnajdova
259
+ - &#8203;<!-- 17 -->[docs] Fix typo in containedSizeMedium class (#30723) @aaneitchik
260
+ - &#8203;<!-- 16 -->[docs] Hotfix the wrong URL in X marketing page (#30729) @siriwatknp
261
+ - &#8203;<!-- 15 -->[docs] Post migration preparation fix (#30716) @siriwatknp
262
+ - &#8203;<!-- 14 -->[docs] Update remix example to restore from error pages (#30592) @mnajdova
263
+ - &#8203;<!-- 13 -->[docs] Use new URLs when enable_redirects is true (#30704) @siriwatknp
264
+ - &#8203;<!-- 12 -->[docs] Add a missing bracket in the migration-v4 guide (#30616) @chaosmirage
265
+ - &#8203;<!-- 11 -->[docs] Add Checkbox color prop change (#30697) @aaneitchik
266
+ - &#8203;<!-- 10 -->[docs] Fix migration to have singular urls (#30695) @siriwatknp
267
+ - &#8203;<!-- 09 -->[docs] Update UXPin link to new landing page (#30691) @Evomatic
268
+ - &#8203;<!-- 08 -->[docs] Close user menu on click in the responsive app bar demo (#30664) @NoahYarian
269
+ - &#8203;<!-- 07 -->[docs] Clear the difference between UI and React components (#29930) @oliviertassinari
270
+ - &#8203;<!-- 06 -->[docs] Make Autocomplete docs gender neutral (#30679) @exequielbc
271
+ - &#8203;<!-- 05 -->[docs] Update doc structure for X components (#30684) @siriwatknp
272
+
273
+ All contributors of this release in alphabetical order: @aaneitchik, @alexfauquette, @chaosmirage, @ddecrulle, @Evomatic, @exequielbc, @michaldudak, @mnajdova, @MrHBS, @NoahYarian, @oliviertassinari, @siriwatknp
274
+
275
+ ## 5.3.0
276
+
277
+ <!-- generated comparing v5.2.8..master -->
278
+
279
+ _Jan 17, 2022_
280
+
281
+ A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
282
+
283
+ - 🛠 @siriwatknp added support for callbacks in styleOverrides (#30524)
284
+ - 🧩 @ZeeshanTamboli and @VicHofs improved customization of components (#30515, #30212)
285
+ - 🛠 @hbjORbj fixed the use of ResizeObserver in Masonry component (#29896)
286
+ - 📄 @danilo-leal and @siriwatknp created our own blog home page (#30121)
287
+
288
+ ### `@mui/material@5.3.0`
289
+
290
+ - [Autocomplete] Add ability to pass props to `Paper` component (#30515) @ZeeshanTamboli
291
+ - [Select] Add defaultOpen prop (#30212) @VicHofs
292
+
293
+ ### `@mui/system@5.3.0`
294
+
295
+ - [system][box, grid, typography] `textTransform` prop should work directly on component (#30437) @hbjORbj
296
+ - [system] Support callback value in `styleOverrides` slot (#30524) @siriwatknp
297
+
298
+ ### `@mui/lab@5.0.0-alpha.65`
299
+
300
+ - [Masonry] Observe every masonry child to trigger computation when needed (#29896) @hbjORbj
301
+ - [MobileDatePicker] Fix calling onOpen when readOnly is true (#30561) @alisasanib
302
+
303
+ ### `@mui/codemod@5.3.0`
304
+
305
+ - [codemod] Bump `jscodeshift` to remove `colors` dependency (#30578) @siriwatknp
306
+
307
+ ### `@mui/styled-engine-sc@5.3.0`
308
+
309
+ - [styled-engine-sc] Add the withConfig API to enable using the babel plugin for styled-comonents (#30589) @mnajdova
310
+
311
+ ### `@mui/joy@5.0.0-alpha.11`
312
+
313
+ - [Joy] Add `SvgIcon` component (#30570) @hbjORbj
314
+
315
+ ### `@mui/base@5.0.0-alpha.65`
316
+
317
+ - [SliderUnstyled] Add useSlider hook and polish (#30094) @mnajdova
318
+
319
+ ### Docs
320
+
321
+ - [docs] End code block in test/README.md (#30531) @yaboi
322
+ - [docs] Remove redundant grouping in /components/radio-buttons/ (#30065) @eps1lon
323
+ - [docs] Update migration scripts and e2e tests (#30583) @siriwatknp
324
+ - [docs] Fix migration guides for versions older than v4 (#30595) @kkirsche
325
+ - [docs] Inform about specific files for DataGrid locales (#30411) @alexfauquette
326
+ - [docs] jss-to-tss migration advise to drop clsx in favor of cx (#30527) @garronej
327
+ - [docs] Fix integration with MUI X (#30593) @oliviertassinari
328
+ - [docs] Adding peer dependencies explanation on @mui/lab README.md (#30532) @glaucoheitor
329
+ - [docs] Add missing quote in migration docs (#30587) @Atralbus
330
+ - [docs] Update link to Doit sponsor (#30586) @oliviertassinari
331
+ - [docs] Add products identifier and drawer (#30283) @siriwatknp
332
+ - [website] Fix code button with installation command (#30622) @danilo-leal
333
+ - [website] Add a Blog index page (#30121) @danilo-leal
334
+ - [website] Migrate Twitter from @MaterialUI to @MUI_hq @oliviertassinari
335
+ - [website] Add Andrii to the About Us page (#30581) @cherniavskii
336
+
337
+ ### Core
338
+
339
+ - [core] Revert changes to peer dependencies (#30662) @oliviertassinari
340
+ - [core] Renovate should not try to update node (#30659) @oliviertassinari
341
+ - [core] Remove dead files (#30663) @oliviertassinari
342
+ - [core] Fix outdated TypeScript template (#30596) @oliviertassinari
343
+ - [core] Remove extra `</p>` from header of README.md (#30530) @yaboi
344
+ - [core] Fix `docs:api` script for Windows OS (#30533) @ZeeshanTamboli
345
+
346
+ All contributors of this release in alphabetical order: @alexfauquette, @alisasanib, @Atralbus, @cherniavskii, @danilo-leal, @eps1lon, @garronej, @glaucoheitor, @hbjORbj, @kkirsche, @mnajdova, @oliviertassinari, @siriwatknp, @VicHofs, @yaboi, @ZeeshanTamboli
347
+
3
348
  ## 5.2.8
4
349
 
5
350
  <!-- generated comparing v5.2.7..master -->
@@ -278,7 +623,7 @@ A big thanks to the 25 contributors who made this release possible. Here are som
278
623
 
279
624
  <a href="https://mui.com/components/tables/#unstyled-table"><img width="800" alt="unstyled table" src="https://user-images.githubusercontent.com/4512430/144862194-584356ef-7d9d-462c-a631-186a7e716193.png"></a>
280
625
 
281
- You can follow our progress with unstyled components at https://github.com/mui-org/material-ui/issues/27170.
626
+ You can follow our progress with unstyled components at https://github.com/mui/material-ui/issues/27170.
282
627
 
283
628
  - 🎉 We have added an example of how to use MUI with [Remix](https://remix.run/) (#29952) @mnajdova
284
629
 
@@ -1252,8 +1597,8 @@ _Sep 1, 2021_
1252
1597
 
1253
1598
  A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
1254
1599
 
1255
- - 🎉 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-org/material-ui/discussions/27803).
1256
- - 🛠 Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/guides/migration-v4/#preset-safe)
1600
+ - 🎉 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).
1601
+ - 🛠 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)
1257
1602
  - 🧪 Added new `<Mansory>` component to the lab, [check it out](https://mui.com/components/masonry/). It has been crafted by our first intern, @hbjORbj 👏!
1258
1603
 
1259
1604
  ### `@mui/material@5.0.0-rc.0`
@@ -1285,7 +1630,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
1285
1630
 
1286
1631
  > **Note**: `@mui/base` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`.
1287
1632
 
1288
- We encourage you to use the [codemod](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) for smooth migration.
1633
+ We encourage you to use the [codemod](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) for smooth migration.
1289
1634
 
1290
1635
  #### Changes
1291
1636
 
@@ -1353,7 +1698,7 @@ _Aug 24, 2021_
1353
1698
 
1354
1699
  A big thanks to the 26 contributors who made this release possible. Here are some highlights ✨:
1355
1700
 
1356
- - 🐛 Fixed a lot of bugs and regressions to get us closer to the [v5 stable release milestone](https://github.com/mui-org/material-ui/milestone/44)
1701
+ - 🐛 Fixed a lot of bugs and regressions to get us closer to the [v5 stable release milestone](https://github.com/mui/material-ui/milestone/44)
1357
1702
  - 📚 Improved the docs and the migration guide for upgrading to v5
1358
1703
 
1359
1704
  ### `@material-ui/core@5.0.0-beta.5`
@@ -1748,7 +2093,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
1748
2093
 
1749
2094
  <a href="https://mui.com/components/switches/#unstyled"><img width="832" alt="switch" src="https://user-images.githubusercontent.com/3165635/125192249-236f8a80-e247-11eb-9df9-17d476379a32.png"></a>
1750
2095
 
1751
- You can follow our progress at https://github.com/mui-org/material-ui/issues/27170.
2096
+ You can follow our progress at https://github.com/mui/material-ui/issues/27170.
1752
2097
 
1753
2098
  - 💄 We have updated the default `info` `success` `warning` color to be more accessible (#26817) @siriwatknp.
1754
2099
  You can find the new [default values](https://mui.com/customization/palette/#default-values) in the documentation.
@@ -1854,9 +2199,9 @@ _Jul 01, 2021_
1854
2199
 
1855
2200
  A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
1856
2201
 
1857
- - 🎉 This is the first beta release of v5! A huge thanks to everyone who helped to make this happen! We're targeting the 1st of September for a stable release, and will use the next two months to polish v5, and ease the migration from v4. You can follow [the v5 stable milestone](https://github.com/mui-org/material-ui/milestone/44) for more details. We now encourage any new projects to start on v5.
2202
+ - 🎉 This is the first beta release of v5! A huge thanks to everyone who helped to make this happen! We're targeting the 1st of September for a stable release, and will use the next two months to polish v5, and ease the migration from v4. You can follow [the v5 stable milestone](https://github.com/mui/material-ui/milestone/44) for more details. We now encourage any new projects to start on v5.
1858
2203
  - 🚀 We have completed all the planned breaking changes.
1859
- - ⚒️ We added the codemod CLI to simplify migration to v5 (#26941) @eps1lon. You can find it at [`@material-ui/codemod`](https://github.com/mui-org/material-ui/tree/HEAD/packages/mui-codemod).
2204
+ - ⚒️ We added the codemod CLI to simplify migration to v5 (#26941) @eps1lon. You can find it at [`@material-ui/codemod`](https://github.com/mui/material-ui/tree/HEAD/packages/mui-codemod).
1860
2205
  - 🐛 The majority of other changes in this release were bug fixes, test utilities and docs.
1861
2206
 
1862
2207
  ### `@material-ui/core@5.0.0-beta.0`
@@ -1865,7 +2210,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
1865
2210
 
1866
2211
  - [Tabs] Remove unnecessary wrapper from Tab (#26926) @siriwatknp
1867
2212
 
1868
- `span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui-org/material-ui/pull/26666).
2213
+ `span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui/material-ui/pull/26666).
1869
2214
 
1870
2215
  ```diff
1871
2216
  <button class="MuiTab-root">
@@ -1878,7 +2223,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
1878
2223
 
1879
2224
  - [BottomNavigation] Remove wrapper from BottomNavigationAction (#26923) @siriwatknp
1880
2225
 
1881
- `span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui-org/material-ui/pull/26666).
2226
+ `span` element that wraps children has been removed. `wrapper` classKey is also removed. More details about [this change](https://github.com/mui/material-ui/pull/26666).
1882
2227
 
1883
2228
  ```diff
1884
2229
  <button class="MuiBottomNavigationAction-root">
@@ -1990,7 +2335,7 @@ _Jun 23, 2021_
1990
2335
 
1991
2336
  A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
1992
2337
 
1993
- - 🚀 We have only 2 left in the [breaking changes](https://github.com/mui-org/material-ui/issues/20012). The plan to release 5.0.0-beta.0 is on July 1st and will start to promote its usage over v4.
2338
+ - 🚀 We have only 2 left in the [breaking changes](https://github.com/mui/material-ui/issues/20012). The plan to release 5.0.0-beta.0 is on July 1st and will start to promote its usage over v4.
1994
2339
  - 🎨 We have updated `Slider` to match current [Material Design guidelines](https://material.io/components/sliders).
1995
2340
 
1996
2341
  <a href="https://mui.com/components/slider/#continuous-sliders"><img width="247" alt="" src="https://user-images.githubusercontent.com/3165635/121884800-a8808600-cd13-11eb-8cdf-e25de8f1ba73.png" style="margin: auto"></a>
@@ -2032,7 +2377,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
2032
2377
 
2033
2378
  - &#8203;<!-- 09 -->[theme] Improve default breakpoints (#26746) @siriwatknp
2034
2379
 
2035
- The default breakpoints were changed to better match the common use cases. They also better match the Material Design guidelines. [Read more about the change](https://github.com/mui-org/material-ui/issues/21902).
2380
+ The default breakpoints were changed to better match the common use cases. They also better match the Material Design guidelines. [Read more about the change](https://github.com/mui/material-ui/issues/21902).
2036
2381
 
2037
2382
  ```diff
2038
2383
  {
@@ -2086,7 +2431,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
2086
2431
 
2087
2432
  - &#8203;<!-- 14 -->[IconButton] Remove label span (#26801) @siriwatknp
2088
2433
 
2089
- `span` element that wraps children has been removed. `label` classKey is also removed. More details about [this change](https://github.com/mui-org/material-ui/pull/26666).
2434
+ `span` element that wraps children has been removed. `label` classKey is also removed. More details about [this change](https://github.com/mui/material-ui/pull/26666).
2090
2435
 
2091
2436
  ```diff
2092
2437
  <button class="MuiIconButton-root">
@@ -2207,7 +2552,7 @@ A big thanks to the 11 contributors who made this release possible. Here are som
2207
2552
 
2208
2553
  - ⚒️ We've introduced a new `useTheme` and `useThemeProps` hooks in the `@material-ui/system` package.
2209
2554
  We believe that this package can be used as a standalone styling solution for building custom design systems (#26649) @mnajdova.
2210
- - 💥 Made progress with the breaking changes. We have done 105 of the 109 changes [planned](https://github.com/mui-org/material-ui/issues/20012). We are getting closer to our goal of releasing 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow [our milestone](https://github.com/mui-org/material-ui/milestone/35) for more details.
2555
+ - 💥 Made progress with the breaking changes. We have done 105 of the 109 changes [planned](https://github.com/mui/material-ui/issues/20012). We are getting closer to our goal of releasing 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow [our milestone](https://github.com/mui/material-ui/milestone/35) for more details.
2211
2556
  - And many more 🐛 bug fixes and 📚 improvements.
2212
2557
 
2213
2558
  ### `@material-ui/core@5.0.0-alpha.37`
@@ -2419,7 +2764,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
2419
2764
 
2420
2765
  - 👩‍🎤 We have completed the migration to emotion of all the components (`@material-ui/core` and `@material-ui/lab`) @siriwatknp, @mnajdova.
2421
2766
  - 📦 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.
2422
- - ⚒️ Add many new [codemods](https://github.com/mui-org/material-ui/blob/HEAD/packages/mui-codemod/README.md) to automate the migration from v4 to v5 (#24867) @mbrookes.
2767
+ - ⚒️ Add many new [codemods](https://github.com/mui/material-ui/blob/HEAD/packages/mui-codemod/README.md) to automate the migration from v4 to v5 (#24867) @mbrookes.
2423
2768
  - And many more 🐛 bug fixes and 📚 improvements.
2424
2769
 
2425
2770
  ### `@material-ui/core@5.0.0-alpha.35`
@@ -2580,7 +2925,7 @@ _May 18, 2021_
2580
2925
 
2581
2926
  A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
2582
2927
 
2583
- - 💥 Make progress with the breaking changes. We have done 89 of the 109 changes [planned](https://github.com/mui-org/material-ui/issues/20012). We will release 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow [our milestone](https://github.com/mui-org/material-ui/milestone/35) for more details.
2928
+ - 💥 Make progress with the breaking changes. We have done 89 of the 109 changes [planned](https://github.com/mui/material-ui/issues/20012). We will release 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow [our milestone](https://github.com/mui/material-ui/milestone/35) for more details.
2584
2929
  - 🚀 Make progress with components migration to emotion. We have done 153 of the 168 components (almost there!)
2585
2930
  - And many more 🐛 bug fixes and 📚 improvements.
2586
2931
 
@@ -2744,7 +3089,7 @@ _May 9, 2021_
2744
3089
 
2745
3090
  A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
2746
3091
 
2747
- - 💥 Make progress with the breaking changes. We have done 81 of the 109 changes [planned](https://github.com/mui-org/material-ui/issues/20012). We will release 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow [our milestone](https://github.com/mui-org/material-ui/milestone/35) for more details.
3092
+ - 💥 Make progress with the breaking changes. We have done 81 of the 109 changes [planned](https://github.com/mui/material-ui/issues/20012). We will release 5.0.0-beta.0 on July 1st and start to promote its usage over v4. You can also follow [our milestone](https://github.com/mui/material-ui/milestone/35) for more details.
2748
3093
  - And many more 🐛 bug fixes and 📚 improvements.
2749
3094
 
2750
3095
  ### `@material-ui/core@5.0.0-alpha.33`
@@ -3249,7 +3594,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
3249
3594
  #### Breaking changes
3250
3595
 
3251
3596
  - [FormControl] Change default variant from standard to outlined (#24895) @petyosi
3252
- Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui-org/material-ui/tree/next/packages/mui-codemod#variant-prop) will automatically update your code.
3597
+ Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui/material-ui/tree/next/packages/mui-codemod#variant-prop) will automatically update your code.
3253
3598
 
3254
3599
  ```diff
3255
3600
  -<FormControl value="Standard" />
@@ -3261,7 +3606,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
3261
3606
  - [Menu] The `selectedMenu` variant will not vertically align the selected item with the anchor anymore. (#25691) @m4theushw
3262
3607
  - [Popover] Remove the `getContentAnchorEl` prop to simplify the positioning logic. (#25691) @m4theushw
3263
3608
  - [Select] Change default variant from standard to outlined (#24895) @petyosi
3264
- Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui-org/material-ui/tree/next/packages/mui-codemod#variant-prop) will automatically update your code.
3609
+ Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui/material-ui/tree/next/packages/mui-codemod#variant-prop) will automatically update your code.
3265
3610
 
3266
3611
  ```diff
3267
3612
  -<Select value="Standard" />
@@ -3465,7 +3810,7 @@ A big thanks to the 26 contributors who made this release possible. Here are som
3465
3810
  ```
3466
3811
 
3467
3812
  This feature was made possible by the recent migration to emotion.
3468
- You can [find the other issues](https://github.com/mui-org/material-ui/issues?q=is%3Aopen+is%3Aissue+label%3A%22component%3A+Grid%22) unlocked by the migration to emotion on the Grid component that are left to be solved.
3813
+ You can [find the other issues](https://github.com/mui/material-ui/issues?q=is%3Aopen+is%3Aissue+label%3A%22component%3A+Grid%22) unlocked by the migration to emotion on the Grid component that are left to be solved.
3469
3814
 
3470
3815
  - 👩‍🎤 Convert 3 components to emotion (#25541, #25516, #25521) @rajzik, @praveenkumar-kalidass, @siriwatknp.
3471
3816
  - 📚 Migrate 8 component demo pages to the `sx`, `Stack`, and `styled` API @vicasas.
@@ -4683,7 +5028,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
4683
5028
 
4684
5029
  - [Box] Remove deprecated props (#23716) @mnajdova
4685
5030
  All props are now available under the `sx` prop. A deprecation will be landing in v4.
4686
- Thanks to @mbrookes developers can automate the migration with a [codemod](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#box-sx-prop).
5031
+ 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).
4687
5032
 
4688
5033
  ```diff
4689
5034
  -<Box p={2} bgColor="primary.main">
@@ -4934,9 +5279,9 @@ _Nov 14, 2020_
4934
5279
  A big thanks to the 34 contributors who made this release possible. Here are some highlights ✨:
4935
5280
 
4936
5281
  - 📅 Migrate the date picker to the lab (#22692) @dmtrKovalenko.
4937
- We have integrated the components with the code infrastructure. Next we will migrate all the GitHub issues from [material-ui-pickers](https://github.com/mui-org/material-ui-pickers) and archive the repository. This migration will help provide first-class support for the date picker components. The component will stay in the lab as long as necessary to reach the high quality bar we have for core components. You can find the [new documentation here](https://mui.com/components/pickers/).
5282
+ We have integrated the components with the code infrastructure. Next we will migrate all the GitHub issues from [material-ui-pickers](https://github.com/mui/material-ui-pickers) and archive the repository. This migration will help provide first-class support for the date picker components. The component will stay in the lab as long as necessary to reach the high quality bar we have for core components. You can find the [new documentation here](https://mui.com/components/pickers/).
4938
5283
 
4939
- While the source code is currently hosted in the [main repository](https://github.com/mui-org/material-ui), we might move it to the [x repository](https://github.com/mui-org/material-ui-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.
5284
+ 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.
4940
5285
 
4941
5286
  - 📚 Revamp the documentation for [the system](https://mui.com/system/basics/). 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.
4942
5287
  - 👩‍🎨 Upgrade emotion to v11 (#23007) @mnajdova.
@@ -4947,7 +5292,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
4947
5292
  #### Breaking changes
4948
5293
 
4949
5294
  - [TextField] Change default variant from standard to outlined (#23503) @mbrookes
4950
- Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui-org/material-ui/tree/next/packages/mui-codemod#variant-prop) will automatically update your code.
5295
+ Standard has been removed from the Material Design guidelines. [This codemod](https://github.com/mui/material-ui/tree/next/packages/mui-codemod#variant-prop) will automatically update your code.
4951
5296
 
4952
5297
  ```diff
4953
5298
  -<TextField value="Standard" />
@@ -5044,11 +5389,11 @@ A big thanks to the 20 contributors who made this release possible. Here are som
5044
5389
 
5045
5390
  **Why an unstyled package?**
5046
5391
 
5047
- While engineering teams are successfully building custom design systems by wrapping Material-UI, we [occasionally hear](https://github.com/mui-org/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.
5392
+ 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.
5048
5393
 
5049
5394
  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).
5050
5395
 
5051
- Another reason for introducing this package is to prepare the groundwork for a [second theme](https://github.com/mui-org/material-ui/issues/22485) (not Material Design based).
5396
+ 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).
5052
5397
 
5053
5398
  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).
5054
5399
 
@@ -5684,7 +6029,7 @@ Here are some highlights ✨:
5684
6029
  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/basics/)).
5685
6030
 
5686
6031
  This change has been in our roadmap for more than a year.
5687
- We announced it in the [v4 release blog post](https://medium.com/material-ui/material-ui-v4-is-out-4b7587d1e701) as a direction v5 would take.
6032
+ We announced it in the [v4 release blog post](https://mui.com/blog/material-ui-v4-is-out/) as a direction v5 would take.
5688
6033
 
5689
6034
  - 🛠 A first iteration on the unstyled components.
5690
6035
 
@@ -7104,4 +7449,4 @@ A big thanks to the 33 contributors who made this release possible. Here are som
7104
7449
 
7105
7450
  ## Older versions
7106
7451
 
7107
- Changes before 5.x are listed in our [changelog for older versions](https://github.com/mui-org/material-ui/blob/HEAD/CHANGELOG.old.md).
7452
+ Changes before 5.x are listed in our [changelog for older versions](https://github.com/mui/material-ui/blob/HEAD/CHANGELOG.old.md).
@@ -10,7 +10,7 @@ export interface ThemeProviderProps<Theme = DefaultTheme> {
10
10
  * It should preferably be used at **the root of your component tree**.
11
11
  * API:
12
12
  *
13
- * - [ThemeProvider API](https://mui.com/api/theme-provider/)
13
+ * - [ThemeProvider API](/customization/theming/#themeprovider)
14
14
  */
15
15
  export default function ThemeProvider<T = DefaultTheme>(
16
16
  props: ThemeProviderProps<T>,
package/createBox.d.ts CHANGED
@@ -1,7 +1,9 @@
1
1
  import Box from './Box';
2
+ import styleFunctionSx from './styleFunctionSx';
2
3
 
3
4
  export default function createBox(options?: {
4
5
  defaultTheme: object;
5
6
  defaultClassName?: string;
6
7
  generateClassName?: (componentName: string) => string;
8
+ styleFunctionSx?: typeof styleFunctionSx;
7
9
  }): typeof Box;
package/createBox.js CHANGED
@@ -35,9 +35,10 @@ function createBox(options = {}) {
35
35
  const {
36
36
  defaultTheme,
37
37
  defaultClassName = 'MuiBox-root',
38
- generateClassName
38
+ generateClassName,
39
+ styleFunctionSx = _styleFunctionSx.default
39
40
  } = options;
40
- const BoxRoot = (0, _styledEngine.default)('div')(_styleFunctionSx.default);
41
+ const BoxRoot = (0, _styledEngine.default)('div')(styleFunctionSx);
41
42
  const Box = /*#__PURE__*/React.forwardRef(function Box(inProps, ref) {
42
43
  const theme = (0, _useTheme.default)(defaultTheme);
43
44
 
@@ -1 +1 @@
1
- export {};
1
+ export {};