@mui/private-theming 5.4.4 → 5.5.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,293 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.5.3
4
+
5
+ <!-- generated comparing v5.5.2..master -->
6
+
7
+ _Mar 28, 2022_
8
+
9
+ A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - ♿️ improved the a11y on some docs demos
12
+ - Several 🐛 bug fixes and 📚 documentation improvements
13
+
14
+ ### `@mui/material@5.5.3`
15
+
16
+ - &#8203;<!-- 32 -->[ButtonBase] Start ripple only after mount (#31950) @m4theushw
17
+ - &#8203;<!-- 11 -->[FormControlLabel] Fix label prop type to be in-line with other label prop types (#31139) @jannes-io
18
+ - &#8203;<!-- 10 -->[Grow] Add a workaround for Safari 15.4 CSS transition bug (#31975) @igordanchenko
19
+
20
+ ### `@mui/codemod@5.5.3`
21
+
22
+ - &#8203;<!-- 31 -->[codemod] Fix variant prop placement (#31990) @ryancogswell
23
+
24
+ ### `@mui/utils@5.5.3`
25
+
26
+ - &#8203;<!-- 02 -->[utils] Improve type inference of useForkRef (#31845) @eps1lon
27
+
28
+ ### `@mui/base@5.0.0-alpha.74`
29
+
30
+ #### Breaking changes
31
+
32
+ - &#8203;<!-- 34 -->[base] Remove `BackdropUnstyled` component (#31923) @mnajdova
33
+
34
+ The `BackdropUnstyled` component was removed from the `@mui/base` package, as it did not have any specific logic, except adding an `aria-hidden` attribute on the div it rendered. This is not enough to justify it's existence in the base package. Here is an example alternative component you can use:
35
+
36
+ ```tsx
37
+ const BackdropUnstyled = React.forwardRef<HTMLDivElement, { open?: boolean; className: string }>(
38
+ (props, ref) => {
39
+ const { open, className, ...other } = props;
40
+ return <div className={clsx({ 'MuiBackdrop-open': open }, className)} ref={ref} {...other} />;
41
+ },
42
+ );
43
+ ```
44
+
45
+ - &#8203;<!-- 03 -->[TrapFocus] Move docs to Base and drop the Unstyled prefix (#31954) @michaldudak
46
+
47
+ Removed the `Unstyled_` prefix from the Base export (it remains in the Material UI export, though).
48
+
49
+ ```diff
50
+ -import { Unstyled_TrapFocus } from '@mui/base';
51
+ +import { TrapFocus } from '@mui/base';
52
+
53
+ // or
54
+
55
+ -import TrapFocus from '@mui/base/Unstyled_TrapFocus';
56
+ +import TrapFocus from '@mui/base/TrapFocus';
57
+ ```
58
+
59
+ #### Changes
60
+
61
+ - &#8203;<!-- 33 -->[base] Add @mui/types to dependencies (#31951) @bicstone
62
+
63
+ ### `@mui/joy@5.0.0-alpha.21`
64
+
65
+ - &#8203;<!-- 09 -->[Joy] Add `AvatarGroup` component (#31980) @siriwatknp
66
+ - &#8203;<!-- 07 -->[Joy] Miscellaneous fixes (#31873) @siriwatknp
67
+ - &#8203;<!-- 08 -->[Joy] Miscellaneous fixes 2 (#31971) @siriwatknp
68
+
69
+ ### Docs
70
+
71
+ - &#8203;<!-- 27 -->[docs] Improve the a11y on the hover rating demo (#31970) @mnajdova
72
+ - &#8203;<!-- 26 -->[docs] Improve a11y on the `SplitButton` demo (#31969) @mnajdova
73
+ - &#8203;<!-- 25 -->[docs] Improve the color description in the API pages (#30976) @mnajdova
74
+ - &#8203;<!-- 24 -->[docs] Add docs page for unstyled Modal (#31417) @mnajdova
75
+ - &#8203;<!-- 23 -->[docs] Add InputUnstyled docs (#31881) @mnajdova
76
+ - &#8203;<!-- 22 -->[docs] Remove "Work in biotech" from the showcase (#31942) @oliviertassinari
77
+ - &#8203;<!-- 21 -->[docs] Fix in-house ad for the design kits (#31965) @oliviertassinari
78
+ - &#8203;<!-- 20 -->[docs] Fix the documentation for filterOptions in Autocomplete API page (#31416) @santhoshbala0178
79
+ - &#8203;<!-- 19 -->[docs] Update href for 'TypeScript guide on theme customization' (#31880) @NickFoden
80
+ - &#8203;<!-- 18 -->[docs] Fix the CSS modules example in the Interoperability page (#31935) @WilsonNet
81
+ - &#8203;<!-- 17 -->[docs] Fix small typo in the `styled()` utility page (#31967) @jason1985
82
+ - &#8203;<!-- 16 -->[docs] Update mui-x on material-ui navigation (#31810) @siriwatknp
83
+ - &#8203;<!-- 15 -->[docs] Copy ClickAwayListener docs to Base (#31878) @michaldudak
84
+ - &#8203;<!-- 14 -->[docs] Refine the redirects (#31939) @siriwatknp
85
+ - &#8203;<!-- 13 -->[docs] Fix TOC layout for large screen (#31953) @siriwatknp
86
+ - &#8203;<!-- 12 -->[examples] Update remix example to not use NODE_ENV guard for `LiveReload` (#31269) @eswarclynn
87
+ - &#8203;<!-- 06 -->[NoSsr] Copy docs to the Base space (#31956) @michaldudak
88
+ - &#8203;<!-- 05 -->[Portal] Copy Portal docs to the Base space (#31959) @michaldudak
89
+ - &#8203;<!-- 01 -->[website] Remove X-Frame-Options @oliviertassinari
90
+ - &#8203;<!-- 35 -->Revert "[website] Remove X-Frame-Options" @oliviertassinari
91
+
92
+ ### Core
93
+
94
+ - &#8203;<!-- 30 -->[core] Fixes error in changelog generator for item sorting/padding (#30088) @dimitropoulos
95
+ - &#8203;<!-- 29 -->[core] Fix typo in issue template @oliviertassinari
96
+ - &#8203;<!-- 28 -->[core] Replace deprecated String.prototype.substr() (#31806) @CommanderRoot
97
+ - &#8203;<!-- 04 -->[test] Add tests for component using `StandardProps` and polymorphic components (#31945) @mnajdova
98
+
99
+ All contributors of this release in alphabetical order: @bicstone, @CommanderRoot, @dimitropoulos, @eps1lon, @eswarclynn, @igordanchenko, @jannes-io, @jason1985, @m4theushw, @michaldudak, @mnajdova, @NickFoden, @oliviertassinari, @ryancogswell, @santhoshbala0178, @siriwatknp, @WilsonNet
100
+
101
+ ## 5.5.2
102
+
103
+ <!-- generated comparing v5.5.1..master -->
104
+
105
+ _Mar 21, 2022_
106
+
107
+ A big thanks to the 7 contributors who made this release possible. This is a small release focused on some 🐛 bug fixes and 📚 documentation improvements.
108
+
109
+ ### `@mui/material@5.5.2`
110
+
111
+ - &#8203;<!-- 04 -->[Popper] Expose the `sx` prop (#31833) @ivan-ngchakming
112
+
113
+ ### `@mui/joy@5.0.0-alpha.20`
114
+
115
+ - &#8203;<!-- 06 -->[Joy] Add default color to `Input` and `ListItemButton` (#31826) @siriwatknp
116
+ - &#8203;<!-- 05 -->[Joy] Add Avatar component (#31303) @hbjORbj
117
+
118
+ ### `@mui/base@5.0.0-alpha.73`
119
+
120
+ - &#8203;<!-- 03 -->[SliderUnstyled] Fix dragging on disabled sliders (#31882) @mnajdova
121
+
122
+ ### `@mui/styled-engine-sc@5.5.2`
123
+
124
+ - &#8203;<!-- 02 -->[styled-engine-sc] GlobalStylesProps inconsistent between the different packages (#31814) @mnajdova
125
+
126
+ ### Docs
127
+
128
+ - &#8203;<!-- 15 -->[data-grid] Fix print export feature (#31807) @oliviertassinari
129
+ - &#8203;<!-- 14 -->[docs] Move BadgeUnstyled docs to Base space (#31872) @michaldudak
130
+ - &#8203;<!-- 13 -->[docs] Solve duplication of content (#31917) @oliviertassinari
131
+ - &#8203;<!-- 12 -->[docs] Fix side nav capitalization of API (#31916) @oliviertassinari
132
+ - &#8203;<!-- 11 -->[docs] Use TypeScript demos by default (#31808) @oliviertassinari
133
+ - &#8203;<!-- 10 -->[docs] New search experience for multiple products (#31811) @siriwatknp
134
+ - &#8203;<!-- 09 -->[docs] Make LTS searchable (#31804) @oliviertassinari
135
+ - &#8203;<!-- 08 -->[docs] Fix demo filename on zh markdown (#31790) @nnmax
136
+ - &#8203;<!-- 01 -->[website] Highlight the date picker (#31889) @oliviertassinari
137
+
138
+ ### Core
139
+
140
+ - &#8203;<!-- 07 -->[core] Add tests for Avatar component (#31829) @hbjORbj
141
+
142
+ All contributors of this release in alphabetical order: @hbjORbj, @ivan-ngchakming, @michaldudak, @mnajdova, @nnmax, @oliviertassinari, @siriwatknp
143
+
144
+ ## 5.5.1
145
+
146
+ <!-- generated comparing v5.5.0..master -->
147
+
148
+ _Mar 14, 2022_
149
+
150
+ A big thanks to the 23 contributors who made this release possible. Here are some highlights ✨:
151
+
152
+ - 📊 2021 survey results post by @danilo-leal (#30999)
153
+ - Several 🐛 bug fixes and 📚 documentation improvements
154
+
155
+ ### @mui/material@5.5.1
156
+
157
+ - [Fab] Add z-index (#30842) @issamElmohadeb098
158
+ - [Grid] Fix columns of nested container (#31340) @boutahlilsoufiane
159
+ - [i10n] Update italian locale (#30974) @SalvatoreMazzullo
160
+ - [Pagination] Fix type of UsePaginationItem["page"] (#31295) @aaronadamsCA
161
+ - [Popper] Allow setting default props in a theme (#30118) @hafley66
162
+ - [TextField] fix disappearing border in Safari (#31406) @krysia1
163
+
164
+ ### @mui/joy@5.0.0-alpha.19
165
+
166
+ - [Joy] Support horizontal List (#31620) @siriwatknp
167
+ - [Joy] Add icon & label `Switch` examples (#31359) @siriwatknp
168
+ - [Joy] Add `TextField` component (#31299) @siriwatknp
169
+ - [Joy] Add `--Icon-fontSize` to components (#31360) @siriwatknp
170
+ - [Joy] Add `Checkbox` component (#31273) @siriwatknp
171
+
172
+ ### Docs
173
+
174
+ - [blog] 2021 survey results post (#30999) @danilo-leal
175
+ - [docs] Add Macedonian translation (#31402) @theCuriousOne
176
+ - [docs] Fix API page table styles in Safari (#31696) @aaarichter
177
+ - [docs] Fix SEO issues (#31505) @oliviertassinari
178
+ - [docs] Fix Link leak of Next.js props (#31418) @oliviertassinari
179
+ - [docs] Add "Work in biotech" to showcase (#31711) @klyburke
180
+ - [docs] Fix docs site crash on iOS Safari 12 (#31458) @badalsaibo
181
+ - [docs] Fix search icons crash (#31651) @juanpc10
182
+ - [docs] Remove unnecessary await in e2e-tests (#31767) @siriwatknp
183
+ - [docs] Fix source code links on the Templates page (#31425) @danilo-leal
184
+ - [docs] Adjust Stack's basic usage demo (#31423) @danilo-leal
185
+ - [docs] Migrate button demos to base (#31395) @siriwatknp
186
+ - [docs] Fix y-axis unit used in the responsive font sizes chart (#31424) @aaarichter
187
+ - [docs] Remove joy mockup pages (#31412) @siriwatknp
188
+ - [docs] Fix the statement that styleOverrides are added by default (#31257) @mnajdova
189
+ - [docs] Refine the product identifier menu (#31262) @danilo-leal
190
+ - [docs] Fix Search crash (#31386) @reckter
191
+ - [docs] Update TextField multiline description (#31291) @jontewks
192
+ - [docs] Add gap theme mapping in the System properties table (#31382) @danilo-leal
193
+ - [docs] Test products search (#31351) @siriwatknp
194
+ - [docs] Fix GitHub source links in the demo toolbar (#31339) @PunitSoniME
195
+ - [docs] Add Algolia verification code to robot.txt (#31356) @siriwatknp
196
+ - [examples] Ignore tsbuildinfo with Next.js (#31460) @B0und
197
+ - [website] Add new gold sponsor (#31354) @hbjORbj
198
+ - [website] Update Ukraine support link (#31378) @samuelsycamore
199
+
200
+ ### Core
201
+
202
+ - [core] Simplify anchor link (#31419) @oliviertassinari
203
+ - [core] Revert unrelated changes in #31354 @oliviertassinari
204
+ - [test] Upgrade CircleCI convenience image (#31394) @m4theushw
205
+ - [typescript] Simplify display of slot props types (#31240) @michaldudak
206
+
207
+ All contributors of this release in alphabetical order: @aaarichter, @aaronadamsCA, @B0und, @badalsaibo, @boutahlilsoufiane, @danilo-leal, @hafley66, @hbjORbj, @issamElmohadeb098, @jontewks, @juanpc10, @klyburke, @krysia1, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @PunitSoniME, @reckter, @SalvatoreMazzullo, @samuelsycamore, @siriwatknp, @theCuriousOne
208
+
209
+ ## 5.5.0
210
+
211
+ <!-- generated comparing v5.4.4..master -->
212
+
213
+ _Mar 7, 2022_
214
+
215
+ A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
216
+
217
+ - ♿️ made the `Autocomplete` conform to [ARIA 1.2 combobox](https://www.w3.org/TR/wai-aria-1.2/#combobox) (#30601) @EdmundMai
218
+ - Several 🐛 bug fixes and 📚 documentation improvements
219
+
220
+ ### `@mui/material@5.5.0`
221
+
222
+ #### Breaking change
223
+
224
+ - &#8203;<!-- 24 -->[ClassNameGenerator] Prevent all `base` imports (#31297) @siriwatknp
225
+
226
+ `unstable_ClassNameGenerator` has been moved from `utils` to `className` folder to prevent all MUI Base module imports. If you use the module, please update the import as suggested in the diff below:
227
+
228
+ ```diff
229
+ - import { unstable_ClassNameGenerator } from '@mui/material/utils';
230
+ + import { unstable_ClassNameGenerator } from '@mui/material/className';
231
+ ```
232
+
233
+ #### Changes
234
+
235
+ - &#8203;<!-- 28 -->[Autocomplete] Fix failing unit tests (#31302) @michaldudak
236
+ - &#8203;<!-- 27 -->[Autocomplete] Have the screen reader announce when autocomplete is open and closed (#30601) @EdmundMai
237
+ - &#8203;<!-- 26 -->[AvatarGroup] Fix misalignment with non-default spacing (#31165) @sjdemartini
238
+ - &#8203;<!-- 15 -->[Drawer] Adjustments to the mini variant to improve UI/UX (#31267) @siriwatknp
239
+ - &#8203;<!-- 04 -->[Select] Add extending `OutlinedInputProps` by SelectProps (#31209) @jrozbicki
240
+
241
+ ### `@mui/icons-material@5.5.0`
242
+
243
+ - &#8203;<!-- 13 -->[icons] Sync new Google Material Icons (#30766) @simonecervini
244
+
245
+ ### `@mui/codemod@5.5.0`
246
+
247
+ - &#8203;<!-- 23 -->[codemod] Fix top level imports codemod (#31308) @mnajdova
248
+
249
+ ### `@mui/lab@5.0.0-alpha.72`
250
+
251
+ - &#8203;<!-- 07 -->[LoadingButton] Fix padding of loading icon in small button (#31113) @PunitSoniME
252
+
253
+ ### `@mui/base@5.0.0-alpha.71`
254
+
255
+ - &#8203;<!-- 05 -->[MenuUnstyled] Create MenuUnstyled and useMenu (#30961) @michaldudak
256
+ - &#8203;<!-- 03 -->[SelectUnstyled] Prevent window scrolling after opening (#31237) @michaldudak
257
+
258
+ ### `@mui/joy@5.0.0-alpha.18`
259
+
260
+ - &#8203;<!-- 12 -->[Joy] Make Icon `fontSize` adaptable to its parent (#31268) @siriwatknp
261
+ - &#8203;<!-- 11 -->[Joy] Add `Link` component (#31175) @hbjORbj
262
+ - &#8203;<!-- 10 -->[Joy] Improve `Sheet` tests (#31241) @hbjORbj
263
+ - &#8203;<!-- 09 -->[Joy] Improve SvgIcon tests (#31242) @hbjORbj
264
+
265
+ ### `@mui/material-next@6.0.0-alpha.26`
266
+
267
+ - &#8203;<!-- 06 -->[material-next] Mark @mui/material as a dependency (#31270) @siriwatknp
268
+
269
+ ### Docs
270
+
271
+ - &#8203;<!-- 21 -->[docs] Remove career pages from translation (#31346) @oliviertassinari
272
+ - &#8203;<!-- 20 -->[docs] Fix JS files overloading (#31341) @oliviertassinari
273
+ - &#8203;<!-- 19 -->[docs] Add banner in solidarity of Ukraine (#31275) @danilo-leal
274
+ - &#8203;<!-- 18 -->[docs] Fix maxWidth of scrollable Tabs demos (#31285) @danilo-leal
275
+ - &#8203;<!-- 17 -->[docs] Fix icon linking implementation concurrent safe (#30428) @Janpot
276
+ - &#8203;<!-- 16 -->[docs] Follow up new doc space issues (#31251) @siriwatknp
277
+ - &#8203;<!-- 29 -->[examples] Add `@types/node` to nextjs typescript starter (#30918) @Daggy1234
278
+ - &#8203;<!-- 14 -->[examples] Fix import ThemeProvider from correct package in remix-wit… (#30981) @nnecec
279
+ - &#8203;<!-- 25 -->[blog] Simplify the labels (#30921) @oliviertassinari
280
+ - &#8203;<!-- 08 -->[l10n] Add Croatian (hr-HR) and Serbian (sr-RS) translation (#30906) @m14d3n
281
+
282
+ ### Core
283
+
284
+ - &#8203;<!-- 23 -->[core] Fix running markdownlint on Windows (#31352) @michaldudak
285
+ - &#8203;<!-- 22 -->[core] Fix the stylelint script on Windows (#31281) @mnajdova
286
+ - &#8203;<!-- 02 -->[test] Fix buildApiUtils tests on Windows (#31304) @michaldudak
287
+ - &#8203;<!-- 01 -->[test] Remove legacyRoot option from test renderer (#31284) @eps1lon
288
+
289
+ All contributors of this release in alphabetical order: @Daggy1234, @danilo-leal, @EdmundMai, @eps1lon, @hbjORbj, @Janpot, @jrozbicki, @m14d3n, @michaldudak, @mnajdova, @nnecec, @oliviertassinari, @PunitSoniME, @simonecervini, @siriwatknp, @sjdemartini
290
+
3
291
  ## 5.4.4
4
292
 
5
293
  <!-- generated comparing v5.4.3..master -->
@@ -232,7 +520,7 @@ A big thanks to the 24 contributors who made this release possible. Here are som
232
520
  - &#8203;<!-- 20 -->[docs] Clarify what the name of @mui/material is (#30866) @oliviertassinari
233
521
  - &#8203;<!-- 19 -->[docs] Remove migration from the releases page (#30863) @mnajdova
234
522
  - &#8203;<!-- 18 -->[docs] Update Instructions for Google Maps Autocomplete (#30849) @kjschabra
235
- - &#8203;<!-- 17 -->[docs] Hotfix notification <b> (#30862) @siriwatknp
523
+ - &#8203;<!-- 17 -->[docs] Hotfix notification (#30862) @siriwatknp
236
524
  - &#8203;<!-- 04 -->[website] Sample GA to avoid hit limit (#30919) @oliviertassinari
237
525
  - &#8203;<!-- 03 -->[website] Hide scrollbars of hero containers (#29474) @theiliad
238
526
  - &#8203;<!-- 02 -->[website] Polishing spacing and other small things (#30828) @danilo-leal
@@ -3641,7 +3929,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
3641
3929
  - &#8203;<!-- 53 -->[DateTimePicker] `date` is nullable in `onChange` (#25981) @eps1lon
3642
3930
  - &#8203;<!-- 39 -->[internal][pickers] Remove unused TView type argument (#25936) @eps1lon
3643
3931
  - &#8203;<!-- 48 -->[internal][pickers] Inline some BasePickerProps usages (#25971) @eps1lon
3644
- - &#8203;<!-- 44 -->[internal][pickers] Entangle what *Props vs All*Props means (#25938) @eps1lon
3932
+ - &#8203;<!-- 44 -->[internal][pickers] Entangle what Props vs AllProps means (#25938) @eps1lon
3645
3933
  - &#8203;<!-- 19 -->[lab] Update slot components to use overridesResolver (#25906) @mnajdova
3646
3934
  - &#8203;<!-- 40 -->[Timeline] Remove use of nth-child in favor of nth-of-type (#25915) @wellwellmissesanderson
3647
3935
  - &#8203;<!-- 06 -->[Timeline] Migrate Timeline to emotion (#25838) @siriwatknp
@@ -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/guides/typescript/#customization-of-theme) explains in detail how you would add custom properties.
3
+ * Our [TypeScript guide on theme customization](https://mui.com/customization/theming/#custom-variables) explains in detail how you would add custom properties.
4
4
  */
5
5
  export interface DefaultTheme {}
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.4.4
1
+ /** @license MUI v5.5.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.4.4
1
+ /** @license MUI v5.5.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.4.4
1
+ /** @license MUI v5.5.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.4.4
1
+ /** @license MUI v5.5.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.4.4",
3
+ "version": "5.5.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`.",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@babel/runtime": "^7.17.2",
39
- "@mui/utils": "^5.4.4",
39
+ "@mui/utils": "^5.5.3",
40
40
  "prop-types": "^15.7.2"
41
41
  },
42
42
  "sideEffects": false,