@mui/private-theming 5.12.0 โ 5.13.1
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 +386 -0
- package/ThemeProvider/ThemeProvider.js +4 -2
- package/index.js +1 -1
- package/legacy/ThemeProvider/ThemeProvider.js +4 -2
- package/legacy/index.js +1 -1
- package/modern/ThemeProvider/ThemeProvider.js +4 -2
- package/modern/index.js +1 -1
- package/node/ThemeProvider/ThemeProvider.js +4 -2
- package/node/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,391 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.13.1
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.13.0..master -->
|
|
6
|
+
|
|
7
|
+
_May 16, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 25 contributors who made this release possible. Here are some highlights โจ:
|
|
10
|
+
|
|
11
|
+
- ๐ Added Central Myanmar (my-MY), Malay (ms-MS), Nepali (ne-NP), Tagalog (tl-TL) locales (#37017) @cccEric
|
|
12
|
+
- ๐ bug fixes and ๐ documentation improvements.
|
|
13
|
+
|
|
14
|
+
### `@mui/material@5.13.1`
|
|
15
|
+
|
|
16
|
+
- [Autocomplete] Allow tooltip text selection (#36503) @safeamiiir
|
|
17
|
+
- [Dialog] Fixed broken dialog when using maxWidth="xs" and custom breakpoint unit (#37237) @jguddas
|
|
18
|
+
- [l10n] Add Central Myanmar (my-MY), Malay (ms-MS), Nepali (ne-NP), Tagalog (tl-TL) locales (#37017) @cccEric
|
|
19
|
+
|
|
20
|
+
### `@mui/utils@5.13.1`
|
|
21
|
+
|
|
22
|
+
- [utils] Fix downstream bundlers remove React 17 useId compatibility (#37183) @nickiaconis
|
|
23
|
+
|
|
24
|
+
### `@mui/base@5.0.0-beta.1`
|
|
25
|
+
|
|
26
|
+
- [Select][base] Keep focus on the trigger element when listbox is open (#37244) @michaldudak
|
|
27
|
+
|
|
28
|
+
### `@mui/joy@5.0.0-alpha.80`
|
|
29
|
+
|
|
30
|
+
- [Autocomplete] Fixed scroll into view (#37217) @sai6855
|
|
31
|
+
- [AutocompleteOption][Avatar] js test replaced with ts test (#37088) @PunitSoniME
|
|
32
|
+
- [Breadcrumbs] Replace js-tests with ts-tests (#37107) @mauwaz
|
|
33
|
+
- [RadioGroup] Turn JS test to TS test (#37138) @uuxxx
|
|
34
|
+
- [SvgIcon] Turn JS test to TS test (#37151) @nicolas-ot
|
|
35
|
+
- [Tooltip] Turn JS test to TS test (#37149) @nicolas-ot
|
|
36
|
+
- [Typography] Convert Typography test to TypeScript (#37165) @DerTimonius
|
|
37
|
+
- [Sheet][Slider][Stack][Switch] Replace js-tests with ts-tests (#37139) @mauwaz
|
|
38
|
+
- Miscellaneous fixes (#37274) @siriwatknp
|
|
39
|
+
|
|
40
|
+
### Docs
|
|
41
|
+
|
|
42
|
+
- [docs] Remove upload button (#36844) @Bastian
|
|
43
|
+
- [docs] Update link to overriding component structure guide (#36870) @hbjORbj
|
|
44
|
+
- [docs] Fix Material Design templates (#37187) @oliviertassinari
|
|
45
|
+
- [docs] Fix link to Joy UI GitHub issues @oliviertassinari
|
|
46
|
+
- [docs] Show default value for `filterOptions` prop in Autocomplete's API docs (#37230) @ZeeshanTamboli
|
|
47
|
+
- [docs] Add summary and improve `test_static` CI doc in CONTRIBUTING readme file (#36711) @kriskw1999
|
|
48
|
+
- [docs] Update theme customization typescript (#35551) @siriwatknp
|
|
49
|
+
- [docs] Add Joy Frames X web blocks template (#37203) @siriwatknp
|
|
50
|
+
- [docs] Change Base UI `alpha` to `beta` in README (#37228) @ZeeshanTamboli
|
|
51
|
+
- [docs] Improve Base UI overview page (#37227) @mnajdova
|
|
52
|
+
- [docs] Update Joy + Material guide (#36911) @cherniavskii
|
|
53
|
+
|
|
54
|
+
### Core
|
|
55
|
+
|
|
56
|
+
- [core] Remove `toEqualDateTime` chai matcher (#37073) @flaviendelangle
|
|
57
|
+
- [core] Check dependency cycles inside packages directory only (#37223) @michaldudak
|
|
58
|
+
- [core] Remove outdated babel proposal plugins (#36795) @kkocdko
|
|
59
|
+
- [website] Add Diego to About Us page (#37284) @DiegoAndai
|
|
60
|
+
- [website] Add Victor teamMember card to 'About' (#37283) @zanivan
|
|
61
|
+
- [website] Add Rich to the 'About' page (#37221) @richbustos
|
|
62
|
+
|
|
63
|
+
All contributors of this release in alphabetical order: @Bastian, @binh1298, @cccEric, @cherniavskii, @DerTimonius, @DiegoAndai, @flaviendelangle, @hbjORbj, @jguddas, @kkocdko, @kriskw1999, @mauwaz, @michaldudak, @mnajdova, @nickiaconis, @nicolas-ot, @oliviertassinari, @PunitSoniME, @richbustos, @safeamiiir, @sai6855, @siriwatknp, @uuxxx, @zanivan, @ZeeshanTamboli
|
|
64
|
+
|
|
65
|
+
## 5.13.0
|
|
66
|
+
|
|
67
|
+
<!-- generated comparing v5.12.3..master -->
|
|
68
|
+
|
|
69
|
+
_May 10, 2023_
|
|
70
|
+
|
|
71
|
+
A big thanks to the 18 contributors who made this release possible. Here are some highlights โจ:
|
|
72
|
+
|
|
73
|
+
- ๐ Base UI is now in beta - all planned breaking changes are now complete!
|
|
74
|
+
- ๐บ We have a new [project roadmap](https://github.com/orgs/mui/projects/18/views/1) on GitHub where you can learn about what's coming next.
|
|
75
|
+
- ๐ Various bug fixes, ๐ documentation and ๐งช testing improvements
|
|
76
|
+
|
|
77
|
+
### `@mui/material@5.13.0`
|
|
78
|
+
|
|
79
|
+
- [Autocomplete] Support `ChipComponent` type (#37112) @sai6855
|
|
80
|
+
- [AppBar] Fix component type (#37172) @sai6855
|
|
81
|
+
- [Select] Simplify handleChange in SelectInput (#37040) @ulrichstark
|
|
82
|
+
|
|
83
|
+
### `@mui/joy@5.0.0-alpha.79`
|
|
84
|
+
|
|
85
|
+
- [Input][joy] Improve alignment on date fields (#37146) @wewakekumar
|
|
86
|
+
- [Alery][joy] Turn JS test to TS test (#37077) @hbjORbj
|
|
87
|
+
- [AspectRatio][joy] js test replaced with ts test (#37087) @PunitSoniME
|
|
88
|
+
- [Badge][AvatarGroup][joy] js test replaced with ts test (#37089) @PunitSoniME
|
|
89
|
+
- [Box][Card][MenuList][joy] Turn JS test to TS test (#37126) @uuxxx
|
|
90
|
+
- [List][Menu][joy] Turn JS test to TS test (#37123) @uuxxx
|
|
91
|
+
- [test][Joy] Remove duplicate Avatar test (#37201) @zignis
|
|
92
|
+
- [test][joy] js test cases converted to ts (#37117) @PunitSoniME
|
|
93
|
+
- [Button][joy] Convert Button test to typescript (#37181) @akash191095
|
|
94
|
+
- [CardContent][CardCover][CardOverflow][Chip][ChipDelete][joy] js text case converted to ts (#37116) @PunitSoniME
|
|
95
|
+
- [Radio][IconButton][Checkbox][Option][joy] Switch to TypeScript unit test (#37137) @DerTimonius
|
|
96
|
+
|
|
97
|
+
### `@mui/base@5.0.0-beta.0`
|
|
98
|
+
|
|
99
|
+
- [Select][base] Do not call onChange after initial render (#37141) @michaldudak
|
|
100
|
+
- [Select][base] Rename the `optionStringifier` prop (#37118) @michaldudak
|
|
101
|
+
- [typescript][base] Fix types of components callbacks parameters (#37169) @michaldudak
|
|
102
|
+
- [Select], [TablePagination] Use more descriptive parameter names (#37064) @michaldudak
|
|
103
|
+
|
|
104
|
+
### Docs
|
|
105
|
+
|
|
106
|
+
- [docs] Stray design tweaks to Base UI demos (#37003) @danilo-leal
|
|
107
|
+
- [docs] Move outdated CSS prefixing docs (#36710) @kriskw1999
|
|
108
|
+
- [docs] Improve "Example projects" page design (#37007) @danilo-leal
|
|
109
|
+
- [docs] Redirect NoSsr, Portal and TextareaAutosize to Base UI API page (#37175) @ZeeshanTamboli
|
|
110
|
+
- [docs] Demonstrate `TextField` customization using theme style overrides (#36805) @ZeeshanTamboli
|
|
111
|
+
- [docs] Tweak the "Edit this page" button icon (#37142) @danilo-leal
|
|
112
|
+
- [docs] Update links to the public roadmap (#36995) @mnajdova
|
|
113
|
+
- [docs] Improve Multiselect demo styling (#37120) @michaldudak
|
|
114
|
+
- [Stack] Fix import description @oliviertassinari
|
|
115
|
+
|
|
116
|
+
### Core
|
|
117
|
+
|
|
118
|
+
- [blog] Fix images using "MUI Base" instead of "Base UI" (#37044) @danilo-leal
|
|
119
|
+
- [core] Add VSCode extensions recommendations (#37166) @michaldudak
|
|
120
|
+
- [test] `e2e-website` related minor fixes (#37204) @ZeeshanTamboli
|
|
121
|
+
- [website] Update the active positions (#37075) @DanailH
|
|
122
|
+
- [website] Add Romain to the About page (#37124) @romgrk
|
|
123
|
+
- [website] Make Toolpad alpha labels consistent (#37125) @gerdadesign
|
|
124
|
+
|
|
125
|
+
All contributors of this release in alphabetical order: @akash191095, @DanailH, @danilo-leal, @DerTimonius, @gerdadesign, @hbjORbj, @kriskw1999, @michaldudak, @mnajdova, @oliviertassinari, @PunitSoniME, @romgrk, @sai6855, @ulrichstark, @uuxxx, @wewakekumar, @ZeeshanTamboli, @zignis
|
|
126
|
+
|
|
127
|
+
## 5.12.3
|
|
128
|
+
|
|
129
|
+
<!-- generated comparing v5.12.2..master -->
|
|
130
|
+
|
|
131
|
+
_May 2, 2023_
|
|
132
|
+
|
|
133
|
+
A big thanks to the 18 contributors who made this release possible. Here are some highlights โจ:
|
|
134
|
+
|
|
135
|
+
- all planned breaking changes for Base UI are done. The first beta release should come next week ๐
|
|
136
|
+
- ๐ bug fixes and ๐ documentation improvements.
|
|
137
|
+
|
|
138
|
+
### `@mui/material@5.12.3`
|
|
139
|
+
|
|
140
|
+
- ​<!-- 43 -->[Accordion] Add missing `component` type (#37111) @sai6855
|
|
141
|
+
- ​<!-- 23 -->[ButtonGroup] Should not retain divider color when it is disabled and variant is `text` (#36967) @DavidBoyer11
|
|
142
|
+
- ​<!-- 21 -->[Divider] Fix styles on dividers with text (#35072) @maxdestors
|
|
143
|
+
- ​<!-- 04 -->[TextField] Improve IntelliSense support for props (#36737) @sai6855
|
|
144
|
+
- ​<!-- 03 -->[TextField] Fix running click event on disabled (#36892) @sai6855
|
|
145
|
+
|
|
146
|
+
### `@mui/joy@5.0.0-alpha.78`
|
|
147
|
+
|
|
148
|
+
- ​<!-- 09 -->[Joy] Miscellaneous fixes and docs improvement (#37026) @siriwatknp
|
|
149
|
+
|
|
150
|
+
### `@mui/base@5.0.0-alpha.128`
|
|
151
|
+
|
|
152
|
+
#### Breaking changes
|
|
153
|
+
|
|
154
|
+
- The `component` prop is no longer supported because it can be replaced with the slots API. This is how the transformation will look like:
|
|
155
|
+
|
|
156
|
+
```diff
|
|
157
|
+
<Button
|
|
158
|
+
- component="span"
|
|
159
|
+
+ slots={{ root: "span" }}
|
|
160
|
+
/>
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
If using TypeScript, the custom component type should be added as a generic on the `Button` component.
|
|
164
|
+
|
|
165
|
+
```diff
|
|
166
|
+
-<Button
|
|
167
|
+
+<Button<typeof CustomComponent>
|
|
168
|
+
slots={{ root: CustomComponent }}
|
|
169
|
+
customProp="foo"
|
|
170
|
+
/>
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
There is codemod that you can run in your project to do the transformation:
|
|
174
|
+
|
|
175
|
+
```sh
|
|
176
|
+
npx @mui/codemod v5.0.0/base-remove-component-prop <path>
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
The full documentation about the codemod can be found [here](https://github.com/mui/material-ui/blob/master/packages/mui-codemod/README.md#base-remove-component-prop).
|
|
180
|
+
|
|
181
|
+
This is the list of PR related to this change:
|
|
182
|
+
|
|
183
|
+
- ​<!-- 40 -->[Button][base] Drop `component` prop (#36677) @mnajdova
|
|
184
|
+
- ​<!-- 42 -->[Badge][base] Drop `component` prop (#37028) @hbjORbj
|
|
185
|
+
- ​<!-- 37 -->[FormControl][base] Drop component prop (#37031) @hbjORbj
|
|
186
|
+
- ​<!-- 35 -->[Input][base] Drop component prop (#37057) @hbjORbj
|
|
187
|
+
- ​<!-- 34 -->[Menu][base] Drop component prop (#37033) @hbjORbj
|
|
188
|
+
- ​<!-- 33 -->[MenuItem][base] Drop component prop (#37032) @hbjORbj
|
|
189
|
+
- ​<!-- 32 -->[Modal][base] Drop component prop (#37058) @hbjORbj
|
|
190
|
+
- ​<!-- 31 -->[Option][base] Drop component prop (#37052) @hbjORbj
|
|
191
|
+
- ​<!-- 30 -->[OptionGroup][base] Drop component prop (#37055) @hbjORbj
|
|
192
|
+
- ​<!-- 31 -->[Popper][base] Drop component prop (#37084) @hbjORbj
|
|
193
|
+
- ​<!-- 29 -->[Select][base] Drop component prop (#37035) @hbjORbj
|
|
194
|
+
- ​<!-- 28 -->[Slider][base] Drop component prop (#37056) @hbjORbj
|
|
195
|
+
- ​<!-- 27 -->[Snackbar][base] Drop component prop (#37041) @nicolas-ot
|
|
196
|
+
- ​<!-- 26 -->[Switch][base] Drop component prop (#37053) @hbjORbj
|
|
197
|
+
- ​<!-- 25 -->[Tab][base] Drop component prop (#36768) @sai6855
|
|
198
|
+
- ​<!-- 24 -->[Tabs][base] Drop component prop (#36770) @sai6855
|
|
199
|
+
- ​<!-- 08 -->[TablePagination][base] Drop component prop (#37059) @sai6855
|
|
200
|
+
- ​<!-- 07 -->[TabPanel][base] Drop component prop (#37054) @sai6855
|
|
201
|
+
- ​<!-- 06 -->[TabsList][base] Drop component prop (#37042) @sai6855
|
|
202
|
+
|
|
203
|
+
- ​<!-- 41 -->[base] Improve API consistency (#36970) @michaldudak
|
|
204
|
+
|
|
205
|
+
Brought consistency to Base UI components and hooks' parameters and return values:
|
|
206
|
+
|
|
207
|
+
1. Whenever a hook needs a ref, it's now called `<slot_name>Ref`, which matches the `get<slot_name>Props` in the return value.
|
|
208
|
+
2. All hooks that accept external refs now return merged refs, making combining multiple hooks on one element easier. This was proven necessary in several compound components (like menuItem being both a button and a list item). The type of this value is `React.RefCallback` as using the more general `React.Ref` caused variance issues.
|
|
209
|
+
3. Type of accepted refs is standardized to `React.Ref<Element>`
|
|
210
|
+
4. Naming and typing of the forwarded ref in unstyled components were standardized - it's forwardedRef: React.ForwardedRef<Element> (unless a more specific type is needed).
|
|
211
|
+
5. The shape of the definition of unstyled components was standardized - it's React.forwardRef(function Component(props: Props, forwardedRef: React.Ref<Element>) { ... });. Specifically, the generic parameters of forwardRef were removed as they are specified in function arguments.
|
|
212
|
+
|
|
213
|
+
#### Changes
|
|
214
|
+
|
|
215
|
+
- ​<!-- 36 -->[FormControl][base] Do not use optional fields in useFormControlContext's return value (#37037) @michaldudak
|
|
216
|
+
|
|
217
|
+
### Docs
|
|
218
|
+
|
|
219
|
+
- ​<!-- 39 -->[base][docs] Add Base UI Quickstart Guide (#36717) @mj12albert
|
|
220
|
+
- ​<!-- 20 -->[docs] Fix Material UI's API linking to Base UI (#37121) @mnajdova
|
|
221
|
+
- ​<!-- 19 -->[docs] Fix pagination in the DataGrid demo (#37114) @cherniavskii
|
|
222
|
+
- ​<!-- 18 -->[docs] Add notification to the release of the new Time Picker UI (#37065) @joserodolfofreitas
|
|
223
|
+
- ​<!-- 17 -->[docs] Specify "Material UI" (not "MUI") where appropriate throughout the docs (#37066) @samuelsycamore
|
|
224
|
+
- ​<!-- 16 -->[docs] Use focus-visible instead of focus for Menu demos (#36847) @michaldudak
|
|
225
|
+
- ​<!-- 15 -->[docs] Fix small regressions API pages (#36972) @oliviertassinari
|
|
226
|
+
- ​<!-- 14 -->[docs] Handle a few docs-feedback (#36977) @oliviertassinari
|
|
227
|
+
- ​<!-- 13 -->[docs] Fix anchor link in customization (#37004) @oliviertassinari
|
|
228
|
+
- ​<!-- 12 -->[docs] Add a note about minimal required version for theme merging to the guides (#36973) @jakub-stastny
|
|
229
|
+
- ​<!-- 11 -->[docs] smooth scrolling added for `back to top` (#37011) @PunitSoniME
|
|
230
|
+
- ​<!-- 10 -->[docs] Remove `useFormControl` return values from demos page (#37036) @ZeeshanTamboli
|
|
231
|
+
- ​<!-- 47 --> [docs][base] Move styles to the bottom of demos code for `SwitchUnstyled` (#36720) @varunmulay22
|
|
232
|
+
- ​<!-- 46 --> [docs][base] Move styles to the bottom of demos code for `InputUnstyled` (#36724) @varunmulay22
|
|
233
|
+
- ​<!-- 45 --> [docs][base] Move styles to the bottom of demos code for `SliderUnstyled` (#36721) @varunmulay22
|
|
234
|
+
- ​<!-- 44 --> [docs][base] Move styles to the bottom of demos code for `Snackbar` (#36719) @varunmulay22
|
|
235
|
+
- ​<!-- 38 -->[docs][base] Move styles to the bottom of demos code for `SelectUnstyled` (#36718) @varunmulay22
|
|
236
|
+
- ​<!-- 05 -->[templates] Image not displayed in blog layout of React template. (#36991) @navedqb
|
|
237
|
+
- ​<!-- 02 -->[website] Take the design role offline @oliviertassinari
|
|
238
|
+
- ​<!-- 01 -->[website] Fix URL convention @oliviertassinari
|
|
239
|
+
- ​<!-- 21 -->[docs] Turn off job banner on docs (#36080) @joserodolfofreitas
|
|
240
|
+
|
|
241
|
+
### Core
|
|
242
|
+
|
|
243
|
+
- ​<!-- 22 -->[core] Allow type alias as well in hooks API docs generation (#37034) @ZeeshanTamboli
|
|
244
|
+
|
|
245
|
+
All contributors of this release in alphabetical order: @cherniavskii, @DavidBoyer11, @hbjORbj, @jakub-stastny, @joserodolfofreitas, @maxdestors, @michaldudak, @mj12albert, @mnajdova, @navedqb, @nicolas-ot, @oliviertassinari, @PunitSoniME, @sai6855, @samuelsycamore, @siriwatknp, @varunmulay22, @ZeeshanTamboli
|
|
246
|
+
|
|
247
|
+
## 5.12.2
|
|
248
|
+
|
|
249
|
+
<!-- generated comparing v5.12.1..master -->
|
|
250
|
+
|
|
251
|
+
_Apr 25, 2023_
|
|
252
|
+
|
|
253
|
+
A big thanks to the 12 contributors who made this release possible. Here are some highlights โจ:
|
|
254
|
+
|
|
255
|
+
- โ ๏ธ **[BREAKING CHANGE]** The `Unstyled` suffix has been removed from Base UI component names, including names of types and other related identifiers โ a codemod script is provided to assist with the change.
|
|
256
|
+
- ๐ bug fixes and ๐ documentation improvements.
|
|
257
|
+
|
|
258
|
+
### `@mui/material@5.12.2`
|
|
259
|
+
|
|
260
|
+
- ​<!-- 10 -->[FormControl] Fix `filled` when value is set through `inputProps` (#36741) @sai6855
|
|
261
|
+
- ​<!-- 07 -->[Slider] `onChange` handler should be called only when value has changed (#36706) @gitstart
|
|
262
|
+
- ​<!-- 06 -->[Table] Fix `Sorting & Selecting` tables (#36898) @oliviertassinari
|
|
263
|
+
|
|
264
|
+
### `@mui/base@5.0.0-alpha.127`
|
|
265
|
+
|
|
266
|
+
#### Breaking changes
|
|
267
|
+
|
|
268
|
+
- ​<!-- 27 -->[base] Remove unstyled suffix from Base components + Codemod script (#36873) @hbjORbj
|
|
269
|
+
|
|
270
|
+
The `Unstyled` suffix has been removed from all Base UI component names, including names of types and other related identifiers.
|
|
271
|
+
|
|
272
|
+
You can use this [codemod](https://github.com/mui/material-ui/blob/master/packages/mui-codemod/src/v5.0.0/base-remove-unstyled-suffix.js) to help with the migration:
|
|
273
|
+
|
|
274
|
+
```sh
|
|
275
|
+
npx @mui/codemod v5.0.0/base-remove-unstyled-suffix <path>
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
#### Changes
|
|
279
|
+
|
|
280
|
+
- ​<!-- 26 -->[codemod][base] Improve the removal of `component` prop codemod script (#36952) @hbjORbj
|
|
281
|
+
- ​<!-- 25 -->[codemod][base] Write a migration script for removal of `component` prop from components (#36831) @hbjORbj
|
|
282
|
+
- ​<!-- 24 -->[Base][useButton] Allow useButton params to be completely optional (#36922) @mj12albert
|
|
283
|
+
|
|
284
|
+
### `@mui/joy@5.0.0-alpha.77`
|
|
285
|
+
|
|
286
|
+
- ​<!-- 23 -->[Joy][Chip] Chip button not showing up in Firefox browser (#36930) @TakhyunKim
|
|
287
|
+
- ​<!-- 09 -->[Joy] Add `invertedColors` to Menu and Alert (#36975) @siriwatknp
|
|
288
|
+
- ​<!-- 08 -->[joy][Select] Set focus visible on select options when navigating with arrow keys (#36689) @gitstart
|
|
289
|
+
|
|
290
|
+
### Docs
|
|
291
|
+
|
|
292
|
+
- ​<!-- 21 -->[docs] Fix console error introduced by #36408 (#36980) @alexfauquette
|
|
293
|
+
- ​<!-- 20 -->[docs] Add stray Joy UI documentation improvements (#36921) @danilo-leal
|
|
294
|
+
- ​<!-- 19 -->[docs] Add Joy profile dashboard template (#36931) @siriwatknp
|
|
295
|
+
- ​<!-- 18 -->[docs] Fix 404 links (#36969) @oliviertassinari
|
|
296
|
+
- ​<!-- 17 -->[docs] Clarify when bundle size optimization is needed (#36823) @oliviertassinari
|
|
297
|
+
- ​<!-- 16 -->[docs] Fix Chakra UI theme scoping typo (#36950) @mj12albert
|
|
298
|
+
- ​<!-- 15 -->[docs] Add snackbar example using sonner (#36926) @PupoSDC
|
|
299
|
+
- ​<!-- 14 -->[docs] Adjust the Material Icons page design and formatting (#36937) @danilo-leal
|
|
300
|
+
- ​<!-- 13 -->[docs] Allows to customize menu with any icon (#36408) @alexfauquette
|
|
301
|
+
- ​<!-- 12 -->[docs] Add info about passing ref to input element (#36913) @tomaskebrle
|
|
302
|
+
- ​<!-- 11 -->[docs][material] Tabs API section cleanup (#36942) @mnajdova
|
|
303
|
+
|
|
304
|
+
### Core
|
|
305
|
+
|
|
306
|
+
- ​<!-- 22 -->[core] Fix CI failure on `master` (#37016) @hbjORbj
|
|
307
|
+
- ​<!-- 05 -->[typescript] Add the missing explicit component return types (#36924) @michaldudak
|
|
308
|
+
- ​<!-- 04 -->[website] Update main data grid demo on X landing page (#37001) @cherniavskii
|
|
309
|
+
- ​<!-- 03 -->[website] Design role updates (#36997) @danilo-leal
|
|
310
|
+
- ​<!-- 02 -->[website] X component section improvements (#36598) @danilo-leal
|
|
311
|
+
- ​<!-- 01 -->[website] Developer Advocate role filled @oliviertassinari
|
|
312
|
+
|
|
313
|
+
All contributors of this release in alphabetical order: @alexfauquette, @cherniavskii, @danilo-leal, @gitstart, @hbjORbj, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @PupoSDC, @sai6855, @siriwatknp, @TakhyunKim, @tomaskebrle
|
|
314
|
+
|
|
315
|
+
## 5.12.1
|
|
316
|
+
|
|
317
|
+
<!-- generated comparing v5.12.0..master -->
|
|
318
|
+
|
|
319
|
+
_Apr 17, 2023_
|
|
320
|
+
|
|
321
|
+
A big thanks to the 16 contributors who made this release possible. This release was mostly about ๐ bug fixes and ๐ documentation improvements.
|
|
322
|
+
|
|
323
|
+
### `@mui/material@5.12.1`
|
|
324
|
+
|
|
325
|
+
- ​<!-- 24 -->[Autocomplete] Fix autocomplete left padding (#36649) @mj12albert
|
|
326
|
+
- ​<!-- 17 -->[Button] Fix contained with inherit prop not adapting on dark mode (#34508) @jesrodri
|
|
327
|
+
- ​<!-- 07 -->[FormControlLabel] Add `required` prop (#34207) @emlai
|
|
328
|
+
- ​<!-- 04 -->[Tabs] Fix null reference in ScrollbarSize after unmounting (#36485) @rkdrnf
|
|
329
|
+
- ​<!-- 03 -->[TextField] Fix type error when using `inputTypeSearch` class for `outlined` and `filled` inputs (#36740) @sai6855
|
|
330
|
+
- ​<!-- 02 -->[ThemeProvider] Fix theme proptypes (#36852) @siriwatknp
|
|
331
|
+
|
|
332
|
+
### `@mui/system@5.12.1`
|
|
333
|
+
|
|
334
|
+
#### Breaking changes
|
|
335
|
+
|
|
336
|
+
- ​<!-- 06 -->[Grid2] Replace context with `cloneElement` (#36399) @siriwatknp
|
|
337
|
+
|
|
338
|
+
`Grid2` now uses `React.cloneElement` instead of React context for passing the spacing and columns to the next container. The change is close to how CSS flexbox behaves.
|
|
339
|
+
|
|
340
|
+
#### Changes
|
|
341
|
+
|
|
342
|
+
- ​<!-- 14 -->[CssVarsProvider] Always generate new `css` object (#36853) @siriwatknp
|
|
343
|
+
|
|
344
|
+
### `@mui/base@5.0.0-alpha.126`
|
|
345
|
+
|
|
346
|
+
#### Breaking changes
|
|
347
|
+
|
|
348
|
+
- ​<!-- 23 -->[base] Refactor the compound components building blocks (#36400) @michaldudak
|
|
349
|
+
Components affected by the changes are:
|
|
350
|
+
- Menu
|
|
351
|
+
- `MenuUnstyledContext` is replaced by `MenuProvider`. The value to pass to the provider is returned by the `useMenu` hook.
|
|
352
|
+
- MenuUnstyled's `onClose` prop is replaced by `onOpenChange`. It has the `open` parameter and is called when a menu is opened or closed
|
|
353
|
+
- Select
|
|
354
|
+
- `SelectUnstyledContext` is replaced by `SelectProvider`. The value to pass to the provider is returned by the `useSelect` hook.
|
|
355
|
+
- `SelectUnstyled`'s popup is permanently mounted.
|
|
356
|
+
- The `defaultOpen` prop was added to the SelectUnstyled. The open/close state can now be controlled or uncontrolled, as a `value`.
|
|
357
|
+
- Tabs
|
|
358
|
+
- `TabsContext` is replaced by `TabsProvider`. The value to pass to the provider is returned by the `useTabs` hook.
|
|
359
|
+
- To deselect all tabs, pass in `null` to Tabs' `value` prop, instead of `false`. This is consistent with how Select works.
|
|
360
|
+
- The `value` prop is still technically not mandatory on TabUnstyled and TabPanel, but when omitted, the contents of the selected tab panel will not be rendered during SSR.
|
|
361
|
+
|
|
362
|
+
### `@mui/joy@5.0.0-alpha.76`
|
|
363
|
+
|
|
364
|
+
- ​<!-- 05 -->[Table][Joy] Replace uses of css selector `*-child` to `*-of-type` (#36839) @keyvanm
|
|
365
|
+
|
|
366
|
+
### Docs
|
|
367
|
+
|
|
368
|
+
- ​<!-- 25 --> [docs][base] Move styles to the bottom of demos code for `BadgeUnstyled` (#36723) @varunmulay22
|
|
369
|
+
- ​<!-- 22 -->[docs][base] Mention that the hook does not accept any parameters in the `Parameters` section of the API docs (#36773) @ZeeshanTamboli
|
|
370
|
+
- ​<!-- 21 -->[docs][base] Move styles to the bottom of demos code for `ModalUnstyled` (#36580) @gitstart
|
|
371
|
+
- ​<!-- 20 -->[docs][base] Move styles to the bottom of demos code for `Tabs` (#36577) @gitstart
|
|
372
|
+
- ​<!-- 19 -->[docs][base] Move styles to the bottom of demos code for `Popper` (#36578) @gitstart
|
|
373
|
+
- ​<!-- 18 -->[docs][base] Move styles to the bottom of demos code for `TablePagination` (#36593) @gitstart
|
|
374
|
+
- ​<!-- 13 -->[docs] Remove the incorrect info about useButton's ref parameter (#36883) @michaldudak
|
|
375
|
+
- ​<!-- 12 -->[docs] Sync <Stack> between projects (#36785) @oliviertassinari
|
|
376
|
+
- ​<!-- 11 -->[docs] Add guides to overriding component structure in Base UI and Joy UI docs (#34990) @samuelsycamore
|
|
377
|
+
- ​<!-- 10 -->[docs] Content changed from 'row' to 'orientation=horizontal' (#36858) @navedqb
|
|
378
|
+
- ​<!-- 09 -->[docs][Joy] `component`, `slots`, `slotProps` must be visible in Prop table in API docs (#36666) @hbjORbj
|
|
379
|
+
- ​<!-- 08 -->[docs][Select] Fix duplicate ID in small size Select demo (#36792) @sai6855
|
|
380
|
+
|
|
381
|
+
### Core
|
|
382
|
+
|
|
383
|
+
- ​<!-- 16 -->[core] Use glob to find the test files in parseTest (#36305) @flaviendelangle
|
|
384
|
+
- ​<!-- 15 -->[core] Fix minor SEO issues @oliviertassinari
|
|
385
|
+
- ​<!-- 01 -->[website] Fix visual bug appbar (#36875) @oliviertassinari
|
|
386
|
+
|
|
387
|
+
All contributors of this release in alphabetical order: @emlai, @flaviendelangle, @gitstart, @hbjORbj, @jesrodri, @keyvanm, @michaldudak, @mj12albert, @navedqb, @oliviertassinari, @rkdrnf, @sai6855, @samuelsycamore, @siriwatknp, @varunmulay22, @ZeeshanTamboli
|
|
388
|
+
|
|
3
389
|
## 5.12.0
|
|
4
390
|
|
|
5
391
|
<!-- generated comparing v5.11.16..master -->
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import PropTypes from 'prop-types';
|
|
4
3
|
import { exactProp } from '@mui/utils';
|
|
@@ -18,7 +17,10 @@ function mergeOuterLocalTheme(outerTheme, localTheme) {
|
|
|
18
17
|
}
|
|
19
18
|
return mergedTheme;
|
|
20
19
|
}
|
|
21
|
-
return
|
|
20
|
+
return {
|
|
21
|
+
...outerTheme,
|
|
22
|
+
...localTheme
|
|
23
|
+
};
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
/**
|
package/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
2
4
|
import * as React from 'react';
|
|
3
5
|
import PropTypes from 'prop-types';
|
|
4
6
|
import { exactProp } from '@mui/utils';
|
|
@@ -18,7 +20,7 @@ function mergeOuterLocalTheme(outerTheme, localTheme) {
|
|
|
18
20
|
}
|
|
19
21
|
return mergedTheme;
|
|
20
22
|
}
|
|
21
|
-
return
|
|
23
|
+
return _objectSpread(_objectSpread({}, outerTheme), localTheme);
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
/**
|
package/legacy/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import PropTypes from 'prop-types';
|
|
4
3
|
import { exactProp } from '@mui/utils';
|
|
@@ -18,7 +17,10 @@ function mergeOuterLocalTheme(outerTheme, localTheme) {
|
|
|
18
17
|
}
|
|
19
18
|
return mergedTheme;
|
|
20
19
|
}
|
|
21
|
-
return
|
|
20
|
+
return {
|
|
21
|
+
...outerTheme,
|
|
22
|
+
...localTheme
|
|
23
|
+
};
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
/**
|
package/modern/index.js
CHANGED
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var React = _interopRequireWildcard(require("react"));
|
|
10
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
10
|
var _utils = require("@mui/utils");
|
|
@@ -26,7 +25,10 @@ function mergeOuterLocalTheme(outerTheme, localTheme) {
|
|
|
26
25
|
}
|
|
27
26
|
return mergedTheme;
|
|
28
27
|
}
|
|
29
|
-
return
|
|
28
|
+
return {
|
|
29
|
+
...outerTheme,
|
|
30
|
+
...localTheme
|
|
31
|
+
};
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
/**
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/private-theming",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.13.1",
|
|
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`.",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.21.0",
|
|
39
|
-
"@mui/utils": "^5.
|
|
39
|
+
"@mui/utils": "^5.13.1",
|
|
40
40
|
"prop-types": "^15.8.1"
|
|
41
41
|
},
|
|
42
42
|
"sideEffects": false,
|