@mui/private-theming 5.11.7 → 5.11.11

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,266 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.11.11
4
+
5
+ <!-- generated comparing v5.11.10..master -->
6
+
7
+ _Feb 27, 2023_
8
+
9
+ A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 📚 added API documentation for the slots in MUI Base and Joy UI by @hbjORbj, for e.g. [SliderUnstyled API](https://mui.com/base/api/slider-unstyled/#slots)
12
+ - other 🐛 bug fixes and 📚 documentation improvements.
13
+
14
+ ### `@mui/material@5.11.11`
15
+
16
+ - &#8203;<!-- 30 -->[Autocomplete] Adds `sx` prop to `ListboxProps` type (#36243) @sai6855
17
+ - &#8203;<!-- 11 -->[material] Add global CSS class for `readOnly` prop (#32822) @jrparish
18
+ - &#8203;<!-- 10 -->[Stack][material] Use createStack from the system (#33795) @mnajdova
19
+ - &#8203;<!-- 07 -->[Select] Fix incorrect selecting of first element (#36024) @michaldudak
20
+ - &#8203;<!-- 06 -->[Slider] Miscellaneous improvements (#35941) @ZeeshanTamboli
21
+ - &#8203;<!-- 05 -->[Slider] Remove unnecessary `data-focusvisible` attribute (#36091) @ZeeshanTamboli
22
+ - &#8203;<!-- 04 -->[Snackbar] Replace component logic with `useSnackbar` hook (#36272) @ZeeshanTamboli
23
+ - &#8203;<!-- 03 -->[TextField] Fix floating label position (#36246) @oliviertassinari
24
+ - &#8203;<!-- 13 -->[TextField] Fix floating label position (#36288) @oliviertassinari
25
+
26
+ ### `@mui/base@5.0.0-alpha.119`
27
+
28
+ #### Breaking changes
29
+
30
+ - &#8203;<!-- 29 -->[base] Remove `classes` prop from the Base components that have it (#36157) @hbjORbj
31
+ These are the components affected by this change: ModalUnstyled, SliderUnstyled, TablePaginationUnstyled and TablePaginationActionsUnstyled.
32
+ You can replace the `classes` prop by providing the class name prop directly to the prop via `slotProps`. Below is an example of how the migration should look like:
33
+
34
+ ```diff
35
+ <TablePaginationUnstyled
36
+ - classes={{ toolbar: 'toolbar-classname', menuItem: 'menuItem-classname' }}
37
+ + slotProps={{ toolbar: { className: 'toolbar-classname' }, menuItem: { className: 'menuItem-classname'}}}
38
+ />
39
+ ```
40
+
41
+ - &#8203;<!-- 28 -->[base] Move hooks to their own directories (#36235) @hbjORbj
42
+ Base hooks (e.g., `useSelect`) are no longer exported from `{Component}Unstyled` directories and instead they have their own directories.
43
+ Below is an example of how the migration should look like:
44
+
45
+ ```diff
46
+ -import { useBadge } from '@mui/base/BadgeUnstyled';
47
+ +import useBadge from '@mui/base/useBadge';
48
+ ```
49
+
50
+ You can use this [codemod](https://github.com/mui/material-ui/blob/master/packages/mui-codemod/README.md#base-hook-imports) to help with the migration.
51
+
52
+ #### Changes
53
+
54
+ - &#8203;<!-- 31 -->[Autocomplete] Add docs interface for the hook (#36242) @HeVictor
55
+ - &#8203;<!-- 09 -->[MenuUnstyled] Remove extra useMemo (#36265) @ivp-dev
56
+ - &#8203;<!-- 31 -->[base] Export all slot prop overrides interfaces (#36323) @michaldudak
57
+
58
+ ### `@mui/codemod@5.11.11`
59
+
60
+ - &#8203;<!-- 35 -->[base] Codemod for hook directory migration (#36295) @hbjORbj
61
+
62
+ ### `@mui/joy@5.0.0-alpha.69`
63
+
64
+ - &#8203;<!-- 15 -->[Joy] Able to remove default tokens from theme types (#36006) @siriwatknp
65
+ - &#8203;<!-- 14 -->[Joy] Fix modal dialog overflow viewport (#36103) @siriwatknp
66
+ - &#8203;<!-- 13 -->[Joy] Select popup should have max-height (#36156) @Vivek-Prajapatii
67
+ - &#8203;<!-- 12 -->[Joy] Fix `ListDivider` to change semantic based on `List` (#36266) @siriwatknp
68
+
69
+ ### Docs
70
+
71
+ - &#8203;<!-- 27 -->[docs][base] List slots in API documentation (#36104) @hbjORbj
72
+ - &#8203;<!-- 26 -->[docs] Add missing sandbox adapter deps resolving (#36291) @LukasTy
73
+ - &#8203;<!-- 25 -->[docs] Allow to pass navigation bar banner from outside (#36299) @MBilalShafi
74
+ - &#8203;<!-- 24 -->[docs] Fix code on the Working with Tailwind CSS guide (#36090) @mnajdova
75
+ - &#8203;<!-- 23 -->[docs] Remove See Slots Section text from Material UI slots description (#36284) @hbjORbj
76
+ - &#8203;<!-- 22 -->[docs] Fix emotion warning `:first-child` (#36263) @siriwatknp
77
+ - &#8203;<!-- 21 -->[docs][joy] Improve the descriptions of props in API docs (#36307) @hbjORbj
78
+ - &#8203;<!-- 20 -->[docs][joy] List slots in API documentation (#36271) @hbjORbj
79
+ - &#8203;<!-- 19 -->[docs][joy] Build API documentations (#36008) @hbjORbj
80
+ - &#8203;<!-- 18 -->[examples] Update Next.js examples to use built-in font (#36315) @Juneezee
81
+ - &#8203;<!-- 17 -->[examples] Update curl link in `material-next-ts-v4-v5-migration` example README (#36321) @ZeeshanTamboli
82
+ - &#8203;<!-- 16 -->[examples] Convert Next.js \_document class components to function components (#36109) @ossan-engineer
83
+
84
+ ### Core
85
+
86
+ - &#8203;<!-- 08 -->[Rating] Add a comment in Rating component to use `readOnly` state class (#36357) @ZeeshanTamboli
87
+ - &#8203;<!-- 02 -->[website] Fix broken links to role levels (#36333) @oliviertassinari
88
+ - &#8203;<!-- 01 -->[website] Sync gold sponsors (#36312) @oliviertassinari
89
+
90
+ All contributors of this release in alphabetical order: @hbjORbj, @HeVictor, @ivp-dev, @jrparish, @Juneezee, @LukasTy, @MBilalShafi, @michaldudak, @mnajdova, @oliviertassinari, @ossan-engineer, @sai6855, @siriwatknp, @Vivek-Prajapatii, @ZeeshanTamboli
91
+
92
+ ## 5.11.10
93
+
94
+ <!-- generated comparing v5.11.9..master -->
95
+
96
+ _Feb 20, 2023_
97
+
98
+ A big thanks to the 11 contributors who made this release possible.
99
+ This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
100
+
101
+ ### `@mui/material@5.11.10`
102
+
103
+ - &#8203;<!-- 22 -->[Avatar] Fix ownerState usage with styleOverrides when fallback is used (#36228) @sai6855
104
+ - &#8203;<!-- 21 -->[Badge][material] Replace `BadgeUnstyled` with `useBadge` hook (#36158) @hbjORbj
105
+ - &#8203;<!-- 03 -->[Switch] Fix DOM warning when `type` isn't `checkbox` or `radio` (#36170) @dani-mp
106
+ - &#8203;<!-- 02 -->[TextareaAutosize] Convert code to TypeScript (#35862) @sai6855
107
+ - &#8203;<!-- 01 -->[useMediaQuery] Fix behavior of noSsr with React 18 (#36056) @oliviertassinari
108
+
109
+ ### `@mui/joy@5.0.0-alpha.68`
110
+
111
+ - &#8203;<!-- 05 -->[Joy] Add `zIndex` to theme (#36236) @siriwatknp
112
+ - &#8203;<!-- 04 -->[Joy] Remove transition from all components (#35952) @hbjORbj
113
+
114
+ ### Docs
115
+
116
+ - &#8203;<!-- 20 -->[docs][base] Fix base Input demos for Safari (#36213) @mj12albert
117
+ - &#8203;<!-- 16 -->[docs] Fix 301 links @oliviertassinari
118
+ - &#8203;<!-- 15 -->[docs] Fix modal transition demos (#36137) @oliviertassinari
119
+ - &#8203;<!-- 14 -->[docs] Update links to pt examples (#36237) @Aleff13
120
+ - &#8203;<!-- 13 -->[docs] Update custom Typography variants example (#36185) @mj12albert
121
+ - &#8203;<!-- 12 -->[docs] Change markdown numbering syntax (#36187) @mj12albert
122
+ - &#8203;<!-- 11 -->[docs] Fix switch alignment in `Disabled tree items` section in Tree View docs (#36217) @PunitSoniME
123
+ - &#8203;<!-- 10 -->[docs] Standardize example names (#36112) @samuelsycamore
124
+ - &#8203;<!-- 09 -->[docs] Fix typo @oliviertassinari
125
+ - &#8203;<!-- 08 -->[docs] Fix markdown table alignments (#36136) @oliviertassinari
126
+ - &#8203;<!-- 07 -->[docs] Small color tweaks to the docs search bar (#36160) @danilo-leal
127
+ - &#8203;<!-- 06 -->[docs][joy] Update class name prefixes in the `Anatomy` section (#36210) @ZeeshanTamboli
128
+
129
+ ### Core
130
+
131
+ - &#8203;<!-- 19 -->[core] Migrate nprogress to emotion (#36181) @siriwatknp
132
+ - &#8203;<!-- 18 -->[core] Enforce namespace import for ReactDOM (#36208) @mj12albert
133
+ - &#8203;<!-- 17 -->[core] Fix deploy preview links (#36203) @siriwatknp
134
+
135
+ All contributors of this release in alphabetical order: @Aleff13, @dani-mp, @danilo-leal, @hbjORbj, @mj12albert, @oliviertassinari, @PunitSoniME, @sai6855, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
136
+
137
+ ## 5.11.9
138
+
139
+ <!-- generated comparing v5.11.8..master -->
140
+
141
+ _Feb 14, 2023_
142
+
143
+ A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
144
+
145
+ - 🐛 @rangoo94, @sai6855, and @michaldudak fixed a couple of bugs in the Autocomplete component (#36116, #35640, #36076, #36088)
146
+ - many other 🐛 bug fixes and 📚 documentation improvements
147
+
148
+ ### `@mui/material@5.11.9`
149
+
150
+ - [AppBar] Fix joinVars() not handling undefined (#36128) @donaldnevermore
151
+ - [Autocomplete] Fix tag removal regression (#36116) @michaldudak
152
+ - [Autocomplete] Correct padding of filled Autocomplete (#35640) @michaldudak
153
+ - [Grid][Stack] classNames prefixed with Mui (#36167) @sai6855
154
+
155
+ ### `@mui/styled-engine@5.11.9`
156
+
157
+ - [StyledEngineProvider] Fix issue with cache not being defined (#36162) @mnajdova
158
+
159
+ ### `@mui/joy@5.0.0-alpha.67`
160
+
161
+ - [Joy] Add order dashboard template (#36081) @siriwatknp
162
+ - [Joy] Remove classes prop from the components that have it (#36159) @hbjORbj
163
+ - [Joy] Miscellaneous fixes (#36163) @siriwatknp
164
+
165
+ ### `@mui/base@5.0.0-alpha.118`
166
+
167
+ - [base] Override the types of `slotProps` per slot (#35964) @hbjORbj
168
+ - [Select][base] Prevent unnecessary rerendering of Select options (#35946) @michaldudak
169
+ - [Select][base] Update the generated docs (#36183) @michaldudak
170
+ - [useAutocomplete] Pass only valid values for the getOptionLabel prop (#36088) @rangoo94
171
+ - [useAutocomplete] Fix `useAutocomplete` disabled prop not disabling the input (#36076) @sai6855
172
+ - [useInput] Add return value interface (#36036) @Shorifpatwary
173
+ - [UseTabPanel] Add explicit return type (#36053) @Shorifpatwary
174
+ - [useTabsList] Add explicit return type (#36048) @sai6855
175
+ - [Tab] Add explicit return type to useTab (#36046) @sai6855
176
+
177
+ ### `@mui/material-next@6.0.0-alpha.75`
178
+
179
+ - [Material You] Use `md` as a CSS var prefix (#36177) @siriwatknp
180
+
181
+ ### Docs
182
+
183
+ - [docs] Fix the prop type regression on the API pages (#36168) @mnajdova
184
+ - [docs] Fix virtualized table column resizing (#36066) @petyosi
185
+ - [docs] Fix react-spring demos (#36023) @oliviertassinari
186
+ - [docs] Fix classname mismatch on Joy docs (#36127) @siriwatknp
187
+ - [docs] Fix typo in the released version of @mui/styled-engine (#36121) @m4theushw
188
+ - [docs] Fix demos showing TypeScript instead of JavaScript (#35850) @mj12albert
189
+ - [docs] Update release instructions (#36113) @mj12albert
190
+ - [docs] Rename `v6-alpha` to `v6-next` in navigation (#36102) @LukasTy
191
+ - [docs] Revise Joy UI "Input" page (#35970) @LadyBluenotes
192
+ - [docs] Revise Joy UI "Typography" page (#35868) @LadyBluenotes
193
+
194
+ ### Examples
195
+
196
+ - [examples][vitejs] Load Roboto font (#35678) @oliv37
197
+
198
+ ### Core
199
+
200
+ - [blog] Fix the look and feel of the media description (#36069) @oliviertassinari
201
+ - [core] Add default preview url (#36118) @siriwatknp
202
+ - [core] Migrate all the internals exported by `tests/utils/index.js` to TypeScript (#35382) @flaviendelangle
203
+ - [core] Convert the waterfall module to an internal package (#35323) @michaldudak
204
+ - [website] Fix homepage MD theme demo (#36027) @oliviertassinari
205
+ - [website] Revise the Lead Designer role job ad (#35912) @danilo-leal
206
+ - [POC] Add deploy preview to PR body (#35995) @siriwatknp
207
+
208
+ All contributors of this release in alphabetical order: @danilo-leal, @donaldnevermore, @flaviendelangle, @hbjORbj, @LadyBluenotes, @LukasTy, @m4theushw, @michaldudak, @mj12albert, @mnajdova, @oliv37, @oliviertassinari, @petyosi, @rangoo94, @sai6855, @Shorifpatwary, @siriwatknp
209
+
210
+ ## 5.11.8
211
+
212
+ <!-- generated comparing v5.11.7..master -->
213
+
214
+ _Feb 7, 2023_
215
+
216
+ A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
217
+
218
+ - @siriwatknp added a new [`Sign In` template](https://mui.com/joy-ui/getting-started/templates/sign-in-side/) to Joy UI (#36019)
219
+ - 📚 Documentation improvements and 🐛 bug fixes as usual
220
+
221
+ ### `@mui/material@5.11.8`
222
+
223
+ - &#8203;<!-- 10 -->[FormLabel] Export `FormLabelOwnProps` from `FormLabel` to fix type error (#36057) @yoskeoka
224
+
225
+ ### `@mui/joy@5.0.0-alpha.66`
226
+
227
+ - &#8203;<!-- 09 -->[Joy] Miscellaneous fixes (#36073) @siriwatknp
228
+ - &#8203;<!-- 08 -->[Joy] Add sign-in side template (#36019) @siriwatknp
229
+ - &#8203;<!-- 07 -->[Joy] Add missing `Table` export from root (#36010) @sai6855
230
+
231
+ ### `@mui/system@5.11.8`
232
+
233
+ - &#8203;<!-- 05 -->[System] Fix nested grid v2 (#35994) @siriwatknp
234
+
235
+ ### `@mui/styled-engine@5.11.8`
236
+
237
+ - &#8203;<!-- 06 -->[styled-engine] Create cache only if `document` is available (#36001) @m4theushw
238
+
239
+ ### Docs
240
+
241
+ - &#8203;<!-- 23 -->[blog] Fix dark mode support (#35969) @oliviertassinari
242
+ - &#8203;<!-- 19 -->[docs] Add banner pointing to "Whats new" in MUI X page (#36074) @joserodolfofreitas
243
+ - &#8203;<!-- 18 -->[docs] Revert unintended change @oliviertassinari
244
+ - &#8203;<!-- 17 -->[docs] [Joy] Fixed a typo in `customizing theme tokens` (#36067) @badalsaibo
245
+ - &#8203;<!-- 16 -->[docs] Improve inline preview's information (#35974) @oliviertassinari
246
+ - &#8203;<!-- 15 -->[docs] Fix wrong v5 migration instructions (#36022) @oliviertassinari
247
+ - &#8203;<!-- 14 -->[docs] Fix autocomplete render group key warning in the demo (#36025) @chuanyu0201
248
+ - &#8203;<!-- 13 -->[docs] Add hooks API pages for MUI Base (#35828) @mnajdova
249
+ - &#8203;<!-- 12 -->[docs] Fix grammar typo (#36016) @alexownejazayeri
250
+ - &#8203;<!-- 11 -->[docs][joy] Add JSDoc for the `AutocompleteProps` type (#36039) @ArthurPedroti
251
+
252
+ ### Core
253
+
254
+ - &#8203;<!-- 22 -->[core] Make it easier to find who is importing specific files (#35896) @oliviertassinari
255
+ - &#8203;<!-- 21 -->[core] Fix SEO redirections issues (#36041) @oliviertassinari
256
+ - &#8203;<!-- 20 -->[core] Fix a typo in the comment in setup test files (#36014) @ZeeshanTamboli
257
+ - &#8203;<!-- 04 -->[typescript] Explicitly define the component return types (#36013) @michaldudak
258
+ - &#8203;<!-- 03 -->[website] Fix layout shift (#36070) @oliviertassinari
259
+ - &#8203;<!-- 02 -->[website] Revise the Lead Designer role job ad (v1) (#36068) @oliviertassinari
260
+ - &#8203;<!-- 01 -->[website] Add Albert to the about page (#35954) @mj12albert
261
+
262
+ All contributors of this release in alphabetical order: @alexownejazayeri, @ArthurPedroti, @badalsaibo, @chuanyu0201, @joserodolfofreitas, @m4theushw, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp, @yoskeoka, @ZeeshanTamboli
263
+
3
264
  ## 5.11.7
4
265
 
5
266
  <!-- generated comparing v5.11.6..master -->
@@ -3387,7 +3648,7 @@ _Feb 1, 2022_
3387
3648
 
3388
3649
  A big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
3389
3650
 
3390
- - 🛠 @goncalovf added an example project using [MUI with Vite.js](https://github.com/mui/material-ui/tree/master/examples/vitejs) (#28241)
3651
+ - 🛠 @goncalovf added an example project using [Material UI with Vite.js](https://github.com/mui/material-ui/tree/master/examples/material-vite) (#28241)
3391
3652
  - Number of 🐛 bug fixes and 📚 documentation improvements.
3392
3653
 
3393
3654
  ### `@mui/material@5.4.0`
@@ -7363,7 +7624,7 @@ A big thanks to the 26 contributors who made this release possible. Here are som
7363
7624
 
7364
7625
  ```diff
7365
7626
  -<Tabs />
7366
- +<Tabs indicatorColor="primary" textColor="inherit" />
7627
+ +<Tabs indicatorColor="secondary" textColor="inherit" />
7367
7628
  ```
7368
7629
 
7369
7630
  #### Changes
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/private-theming v5.11.7
2
+ * @mui/private-theming v5.11.11
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/private-theming v5.11.7
2
+ * @mui/private-theming v5.11.11
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/private-theming v5.11.7
2
+ * @mui/private-theming v5.11.11
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/private-theming v5.11.7
2
+ * @mui/private-theming v5.11.11
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/private-theming",
3
- "version": "5.11.7",
3
+ "version": "5.11.11",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Private - The React theme context to be shared between `@mui/styles` and `@mui/material`.",
@@ -35,8 +35,8 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@babel/runtime": "^7.20.7",
39
- "@mui/utils": "^5.11.7",
38
+ "@babel/runtime": "^7.21.0",
39
+ "@mui/utils": "^5.11.11",
40
40
  "prop-types": "^15.8.1"
41
41
  },
42
42
  "sideEffects": false,