@mui/private-theming 5.1.1 → 5.2.3

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 CHANGED
@@ -1,5 +1,258 @@
1
1
  ### [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.2.3
4
+
5
+ <!-- generated comparing v5.2.2..master -->
6
+
7
+ _Dec 6, 2021_
8
+
9
+ A big thanks to the 25 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - ✨ We have introduced a new unstyled component in `@mui/base`: `TablePagination` (#29759) @mnajdova
12
+
13
+ <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>
14
+
15
+ You can follow our progress with unstyled components at https://github.com/mui-org/material-ui/issues/27170.
16
+
17
+ - 🎉 We have added an example of how to use MUI with [Remix](https://remix.run/) (#29952) @mnajdova
18
+
19
+ - And many more 🐛 bug fixes and 📚 improvements.
20
+
21
+ ### `@mui/material@5.2.3`
22
+
23
+ - &#8203;<!-- 33 -->[Accordion] Add a test for handling `square` prop (#29972) @daniel-sachs
24
+ - &#8203;<!-- 32 -->[Alert] Fix `square` Paper prop (#30027) @ZeeshanTamboli
25
+ - &#8203;<!-- 31 -->[AvatarGroup] Allow specifying total number of avatars (#29898) @eduardomcv
26
+ - &#8203;<!-- 29 -->[Button] Fix regression from context API (#29982) @siriwatknp
27
+ - &#8203;<!-- 13 -->[Grid] Fix generated classes for `spacing` prop when the value is object (#29880) @jayeclark
28
+ - &#8203;<!-- 10 -->[Select] Should not crash when an empty array is passed with `multiple` enabled (#29957) @Domino987
29
+
30
+ ### `@mui/system@5.2.3`
31
+
32
+ - &#8203;<!-- 06 -->[system] Fix return type of `createBox` (#29989) @mnajdova
33
+ - &#8203;<!-- 05 -->[system] Support boolean values in typescript for the `sx` prop when used as array (#29911) @tasugi
34
+
35
+ ### `@mui/utils@5.2.3`
36
+
37
+ - &#8203;<!-- 03 -->[utils] Add typings for `@mui-material/styles/cssUtils` (#29621) @Semigradsky
38
+
39
+ ### `@mui/icons-material@5.2.1`
40
+
41
+ - &#8203;<!-- 12 -->[icons] Consolidate ignored icons into one list (#29843) @chao813
42
+
43
+ ### `@mui/base@5.0.0-alpha.59`
44
+
45
+ - &#8203;<!-- 30 -->[base] Fix missing ClickAwayListener barrel index export (#30000) @oliviertassinari
46
+ - &#8203;<!-- 04 -->[TablePaginationUnstyled] Introduce new component (#29759) @mnajdova
47
+
48
+ ### `@mui/lab@5.0.0-alpha.59`
49
+
50
+ - &#8203;<!-- 27 -->[DateRangePicker] Fix `DateRangePickerDayProps` interface (#29067) @jonathanrtuck
51
+ - &#8203;<!-- 10 -->[Pickers] Remove propagation of custom props to the `MonthPicker` component's DOM element (#30021) @ZeeshanTamboli
52
+ - &#8203;<!-- 08 -->[StaticDatePicker] Add className and slot to PickerStaticWrapper (#29619) @kkorach
53
+
54
+ ### `@mui/joy@5.0.0-alpha.5`
55
+
56
+ - &#8203;<!-- 11 -->[Joy] Theme setup (#29846) @siriwatknp
57
+
58
+ ### Docs
59
+
60
+ - &#8203;<!-- 34 -->[docs] Fix link in TypeScript doc page (#30044) @genzyy
61
+ - &#8203;<!-- 26 -->[docs] Remove the 'WIP' icon from the 'Group & Pivot' page title (#30077) @flaviendelangle
62
+ - &#8203;<!-- 25 -->[docs] Add warning that `@mui/styled-engine-sc` does not work in SSR (#30026) @mnajdova
63
+ - &#8203;<!-- 24 -->[docs] Add section for CSS specificity in the migration guide (#30008) @hbjORbj
64
+ - &#8203;<!-- 28 -->[docs] Clarify comment in migration doc (#30076) @hbjORbj
65
+ - &#8203;<!-- 23 -->[docs] Sync translations with Crowdin (#30041) @l10nbot
66
+ - &#8203;<!-- 22 -->[docs] Explain how Paper changes shade in dark mode (#30003) @michaldudak
67
+ - &#8203;<!-- 21 -->[docs] Update nextjs-typescript-example (#29974) @huydhoang
68
+ - &#8203;<!-- 20 -->[docs] Add missing global state classes to API docs generator (#29945) @michaldudak
69
+ - &#8203;<!-- 19 -->[docs] Fix benchmarks folder link (#29981) @fourjr
70
+ - &#8203;<!-- 18 -->[docs] Improve wording in StackOverflow section of support page (#29956) @ronwarner
71
+ - &#8203;<!-- 17 -->[docs] Remove Black Friday sale notification (#29936) @mbrookes
72
+ - &#8203;<!-- 16 -->[examples] Fix typos in the Remix example (#30071) @MichaelDeBoey
73
+ - &#8203;<!-- 15 -->[examples] Add Remix example (#29952) @mnajdova
74
+ - &#8203;<!-- 14 -->[examples] Fix lint issue for displayName missing in the Next.js examples (#29985) @ZeeshanTamboli
75
+ - &#8203;<!-- 09 -->[Stack] Document system props in Stack API (#30069) @ThewBear
76
+ - &#8203;<!-- 07 -->[survey] Add a banner and card for promoting the 2021 survey (#29950) @danilo-leal
77
+ - &#8203;<!-- 02 -->[website] Correct the Careers page description (#30073) @michaldudak
78
+ - &#8203;<!-- 01 -->[website] Fix 301 links (#30040) @oliviertassinari
79
+
80
+ ### Core
81
+
82
+ - &#8203;<!-- 31 -->[core] Batch small changes (#30042) @oliviertassinari
83
+ - &#8203;<!-- 28 -->[core] Transition to a new StackOverflow tag (#29967) @oliviertassinari
84
+
85
+ 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
86
+
87
+ ## 5.2.2
88
+
89
+ <!-- generated comparing v5.2.1..master -->
90
+
91
+ _Nov 29, 2021_
92
+
93
+ A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
94
+
95
+ - ♿️ Improved accessibility of `Snackbar` and `TextField` in `@mui/material` (#29782) (#29850) (#29852) @eps1lon.
96
+ - 🎉 Added support for `sx` syntax inside `styled()` utility (#29833) @mnajdova.
97
+ - 🎉 Added support for more options for `createCssVarsProvider` in `@mui/system` (#29845) (#29857) @hbjORbj.
98
+ - And many more 🐛 bug fixes and 📚 improvements.
99
+
100
+ ### `@mui/material@5.2.2`
101
+
102
+ - &#8203;<!-- 14 -->[MenuList] Add component prop (#29882) @Harshikerfuffle
103
+ - &#8203;<!-- 13 -->[Snackbar] Interrupt auto-hide on keyboard interaction (#29852) @eps1lon
104
+ - &#8203;<!-- 12 -->[Snackbar] Dismiss on Escape press (#29850) @eps1lon
105
+ - &#8203;<!-- 06 -->[TextField] Associate accessible name and description by default (#29782) @eps1lon
106
+
107
+ ### `@mui/joy@5.0.0-alpha.4`
108
+
109
+ - &#8203;<!-- 15 -->[Joy] Add `Button` - 1st iteration (#29464) @siriwatknp
110
+
111
+ ### `@mui/codemod@5.2.1`
112
+
113
+ - &#8203;<!-- 28 -->[codemod] Fix alias import for box-sx-prop (#29902) @siriwatknp
114
+
115
+ ### `@mui/system@5.2.2`
116
+
117
+ - &#8203;<!-- 11 -->[system] CSSVarsProvider cleans up `html[style]` when unmounting (#29946) @eps1lon
118
+ - &#8203;<!-- 10 -->[system] Add support for `disableTransitionOnChange` in `createCssVarsProvider` (#29857) @hbjORbj
119
+ - &#8203;<!-- 09 -->[system] Add support for `enableColorScheme` in `createCssVarsProvider` (#29845) @hbjORbj
120
+
121
+ ### `@mui/utils@5.2.2`
122
+
123
+ - &#8203;<!-- 05 -->[useId] Trade random collisions for collisions on overflow (#29781) @eps1lon
124
+ - &#8203;<!-- 04 -->[useIsFocusVisible] Convert to TypeScript (#29779) @eps1lon
125
+
126
+ ### Docs
127
+
128
+ - &#8203;<!-- 24 -->[docs] Fix v5-beta confusing example description (#29932) @oliviertassinari
129
+ - &#8203;<!-- 23 -->[docs] Apply the z-index on the right DOM element (#29934) @oliviertassinari
130
+ - &#8203;<!-- 22 -->[docs] Improve git diff format (#29935) @oliviertassinari
131
+ - &#8203;<!-- 21 -->[docs] Fix typo (#29866) @sinclairity
132
+ - &#8203;<!-- 20 -->[docs] Fix key display (#29933) @oliviertassinari
133
+ - &#8203;<!-- 19 -->[docs] Fix outdated link to next/link docs (#29937) @radlinskii
134
+ - &#8203;<!-- 18 -->[docs] Add how to pass `sx` prop (#29905) @siriwatknp
135
+ - &#8203;<!-- 17 -->[docs] Fix typo in notifications @mbrookes
136
+ - &#8203;<!-- 16 -->[docs] Black Friday sale notification @mbrookes
137
+ - &#8203;<!-- 03 -->[website] Fix canonical links (#29938) @oliviertassinari
138
+ - &#8203;<!-- 02 -->[website] Fix SEO issues (#29939) @oliviertassinari
139
+ - &#8203;<!-- 01 -->[website] Improvements to the /x product page (#28964) @danilo-leal
140
+
141
+ ### Core
142
+
143
+ - &#8203;<!-- 27 -->[core] Remove dead code (#29940) @oliviertassinari
144
+ - &#8203;<!-- 26 -->[core] Move benchmark CI job from AZP to CircleCI (#29894) @eps1lon
145
+ - &#8203;<!-- 25 -->[core] Fix PR detection pattern in test_bundle_size_monitor (#29895) @eps1lon
146
+ - &#8203;<!-- 08 -->[test] Fix browser tests (#29929) @eps1lon
147
+ - &#8203;<!-- 07 -->[test] Reject shorthand properties in style matchers (#29893) @eps1lon
148
+
149
+ All contributors of this release in alphabetical order: @danilo-leal, @eps1lon, @Harshikerfuffle, @hbjORbj, @mbrookes, @oliviertassinari, @radlinskii, @sinclairity, @siriwatknp
150
+
151
+ ## 5.2.1
152
+
153
+ <!-- generated comparing v5.2.0..master -->
154
+
155
+ _Nov 25, 2021_
156
+
157
+ A big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
158
+
159
+ This is an early release to fix `export 'useId' (imported as 'React') was not found in 'react'` when bundling code depending on MUI Core.
160
+
161
+ - &#8203;<!-- 10 -->[AppBar][docs] Add a fully responsive demo to docs (#29829) @karakib2k18
162
+ - &#8203;<!-- 9 -->[core] Fix PR run detection in test_bundle_size_monitor (#29879) @eps1lon
163
+ - &#8203;<!-- 8 -->[core] Move bundle size monitoring to CircleCI (#29876) @eps1lon
164
+ - &#8203;<!-- 7 -->[docs] Add keys to Responsive AppBar demo (#29884) @mbrookes
165
+ - &#8203;<!-- 6 -->[docs] MUI's 2021 Developer survey (#29765) @newguy-123
166
+ - &#8203;<!-- 5 -->[docs] Smoother image loading UX (#29858) @oliviertassinari
167
+ - &#8203;<!-- 4 -->[Select] Fix select display value with React Nodes (#29836) @kegi
168
+ - &#8203;<!-- 3 -->[system] Add `experimental_sx` utility (#29833) @mnajdova
169
+ - &#8203;<!-- 2 -->[test] Ignore "detected multiple renderers" warning for now (#29854) @eps1lon
170
+ - &#8203;<!-- 1 -->[useMediaQuery][utils] Remove usage of React 18 APIs (#29870) @eps1lon
171
+
172
+ All contributors of this release in alphabetical order: @eps1lon, @karakib2k18, @kegi, @mbrookes, @mnajdova, @newguy-123, @oliviertassinari
173
+
174
+ ## 5.2.0
175
+
176
+ <!-- generated comparing v5.1.1..master -->
177
+
178
+ _Nov 23, 2021_
179
+
180
+ A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
181
+
182
+ - 🧪 Created another unstyled component: [TabsUnstyled](https://mui.com/components/tabs/#unstyled) (#29597) @mnajdova.
183
+ - 🎉 Updated the Material Icons set with the latest changes from Google (#29328) @michaldudak / (#29818) @chao813.
184
+ This update adds 200 new icons and tweaks the appearance of many more.
185
+ With it, we're getting close to having 2000 icons in our set.
186
+ - 🐛 Fixed bugs and improved the infrastructure and documentation 📚.
187
+
188
+ ### `@mui/material@5.2.0`
189
+
190
+ - [IconButton] Remove on hover effect when `disableRipple` is set (#29298) @adamfitzgibbon
191
+ - [i18n] Add the amharic language (#29153) @NatiG100
192
+ - [material] Fix types for `variants.style` to accept callbacks (#29610) @mnajdova
193
+ - [Popper] Simplify prop types (#29680) @michaldudak
194
+ - [Select] Include aria-selected=false when option not selected (#29695) @michaldudak
195
+ - [useMediaQuery] Fix crash in Safari < 14 and IE 11 (#29776) @eps1lon
196
+ - [useMediaQuery] Ensure no tearing in React 18 (#28491) @eps1lon
197
+
198
+ ### `@mui/codemod@5.2.0`
199
+
200
+ - [codemod] Fix `jss-to-styled` to support multiple withStyles (#29824) @siriwatknp
201
+
202
+ ### `@mui/icons-material@5.2.0`
203
+
204
+ - [icons] Sync new Google Material Icons (#29818) @chao813
205
+ - [icons] Sync recent Material Icons from Google (#29328) @michaldudak
206
+
207
+ ### `@mui/system@5.2.0`
208
+
209
+ - [Box] Fix `sx` prop runtime issue when used as function (#29830) @mnajdova
210
+ - [system] Fix `sx` throw error when value is `null` or `undefined` (#29756) @siriwatknp
211
+ - [system] Fix minor CssVars issues (#29747) @siriwatknp
212
+
213
+ ### `@mui/styled-engine@5.2.0`
214
+
215
+ - [styled-engine] Fix props inference in styled-engine (#29739) @Janpot
216
+
217
+ ### `@mui/base@5.0.0-alpha.56`
218
+
219
+ - [FormControlUnstyled] `focused` is always false unless explicitly set to `true` @mwilkins91
220
+ - [TabsUnstyled] Introduce new component (#29597) @mnajdova
221
+
222
+ ### `@mui/lab@5.0.0-alpha.56`
223
+
224
+ - [DatePicker][timepicker] Add missing component declarations (#29517) @longzheng
225
+ - [Masonry] exports from root package (#29754) @abhinav-22-tech
226
+ - [pickers] Widen accepted `luxon` version range (#29761) @eps1lon
227
+
228
+ ### Docs
229
+
230
+ - [blog] MUI X v5 blog post (#29590) @DanailH
231
+ - [blog] Polish the Benny Joo joins MUI post (#29697) @oliviertassinari
232
+ - [CHANGELOG] Explain why we do breaking changes @oliviertassinari
233
+ - [core] Update latest issue template for codesandbox CI (#29783) @eps1lon
234
+ - [core] Ensure `@mui/core` is an alias for `@mui/base` (#29762) @eps1lon
235
+ - [docs] Fix broken Next and Previous links (#29711) @scallaway
236
+ - [docs] Add a note that ToggleButton exclusive does not enforce selection (#29812) @mmacu
237
+ - [docs] Update the list of supported locales (#29831) @michaldudak
238
+ - [docs] Update tooltip doc to better define touch action (#29717) @gnowland
239
+ - [website] Standardize the background color from the MUI team photos (#29738) @danilo-leal
240
+ - [website] Add Bharat to the About Us Page (#29714) @bharatkashyap
241
+ - [website] Add about page entry for jan (#29701) @Janpot
242
+ - [website] Adding Prakhar to the about page (#29737) @danilo-leal
243
+
244
+ ### Core
245
+
246
+ - [test] Allow debugging with Chrome and VSCode inspector (#29777) @eps1lon
247
+ - [test] Use renderer clock instead of custom useFakeTimers call (#29778) @eps1lon
248
+ - [test] Only mock Date in regression tests (#29763) @eps1lon
249
+ - [test] Disable nightly integration tests on `next` branch (#29748) @eps1lon
250
+ - [test] Allow configuring clock directly from `createRenderer` (#29684) @eps1lon
251
+ - [test] Accept backslashes as path separators in test CLI (#29694) @michaldudak
252
+ - [utils] Use built-in hook when available for useId (#26489) @eps1lon
253
+
254
+ All contributors of this release in alphabetical order: @abhinav-22-tech, @adamfitzgibbon, @bharatkashyap, @chao813, @DanailH, @danilo-leal, @eps1lon, @gnowland, @Janpot, @longzheng, @michaldudak, @mmacu, @mnajdova, @mwilkins91, @NatiG100, @oliviertassinari, @scallaway, @siriwatknp
255
+
3
256
  ## 5.1.1
4
257
 
5
258
  <!-- generated comparing v5.1.0..master -->
@@ -8,7 +261,7 @@ _Nov 16, 2021_
8
261
 
9
262
  A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
10
263
 
11
- - 🛠 Rename `@mui/core` to `@mui/base`. (#29585) @michaldudak
264
+ - 🛠 Renamed `@mui/core` to `@mui/base` (#29585) @michaldudak.
12
265
  - And many more 🐛 bug fixes and 📚 improvements.
13
266
 
14
267
  ### `@mui/material@5.1.1`
@@ -22,10 +275,19 @@ A big thanks to the 15 contributors who made this release possible. Here are som
22
275
 
23
276
  ### `@mui/base@5.0.0-alpha.55`
24
277
 
25
- #### BREAKING CHANGE
278
+ #### Breaking changes
26
279
 
27
280
  - &#8203;<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
28
281
 
282
+ Based on the results of the [poll](https://twitter.com/michaldudak/status/1452630484706635779) and our internal discussions, we decided to rename the `@mui/core` package to `@mui/base`. The main rationale for this is the fact that we use the term "Core" to refer to the core components product family, the one that includes Material Design components, unstyled components, System utilities, etc. Therefore, @mui/core was effectively a subset of MUI Core. This was confusing.
283
+
284
+ The new name better reflects the purpose of the package: it contains unstyled components, hooks, and utilities that serve as a **base** to build on.
285
+
286
+ ```diff
287
+ -import { useSwitch } from '@mui/core/SwitchUnstyled';
288
+ +import { useSwitch } from '@mui/base/SwitchUnstyled';
289
+ ```
290
+
29
291
  ### `@mui/lab@5.0.0-alpha.55`
30
292
 
31
293
  - &#8203;<!-- 12 -->[LoadingButton] Text variant spacing fixed for both start and end (#29194) @joshua-lawrence
@@ -1890,7 +2152,7 @@ _May 31, 2021_
1890
2152
  A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
1891
2153
 
1892
2154
  - 👩‍🎤 We have completed the migration to emotion of all the components (`@material-ui/core` and `@material-ui/lab`) @siriwatknp, @mnajdova.
1893
- - 📦 Save [10 kB gzipped](https://bundlephobia.com/result?p=@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.
2155
+ - 📦 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.
1894
2156
  - ⚒️ 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.
1895
2157
  - And many more 🐛 bug fixes and 📚 improvements.
1896
2158
 
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.1.1
1
+ /** @license MUI v5.2.3
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.
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.1.1
1
+ /** @license MUI v5.2.3
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.
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.1.1
1
+ /** @license MUI v5.2.3
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.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.1.1
1
+ /** @license MUI v5.2.3
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/private-theming",
3
- "version": "5.1.1",
3
+ "version": "5.2.3",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "MUI Theming - The React theme context to be shared between `@mui/styles` and `@mui/material`.",
@@ -23,7 +23,7 @@
23
23
  "homepage": "https://mui.com/",
24
24
  "funding": {
25
25
  "type": "opencollective",
26
- "url": "https://opencollective.com/material-ui"
26
+ "url": "https://opencollective.com/mui"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@types/react": "^16.8.6 || ^17.0.0",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@babel/runtime": "^7.16.3",
39
- "@mui/utils": "^5.1.1",
39
+ "@mui/utils": "^5.2.3",
40
40
  "prop-types": "^15.7.2"
41
41
  },
42
42
  "sideEffects": false,