@mui/styled-engine-sc 6.0.0-alpha.1 → 6.0.0-alpha.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 +699 -13
- package/index.d.ts +108 -23
- package/index.js +1 -1
- package/legacy/index.js +1 -1
- package/modern/index.js +1 -1
- package/node/index.js +3 -3
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,691 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.15.3
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.15.2..master -->
|
|
6
|
+
|
|
7
|
+
_Jan 3, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 11 contributors who made this release possible.
|
|
10
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
11
|
+
|
|
12
|
+
### `@mui/material-nextjs@5.15.3`
|
|
13
|
+
|
|
14
|
+
- ​<!-- 06 -->[material-nextjs] Fix order of emotion server (#40409) @siriwatknp
|
|
15
|
+
|
|
16
|
+
### `@mui/base@5.0.0-beta.30`
|
|
17
|
+
|
|
18
|
+
- ​<!-- 40 -->[useSlider] Rearrange passive option in eventlisteners (#40235) @Kamino0
|
|
19
|
+
|
|
20
|
+
### `@mui/lab@5.0.0-alpha.159`
|
|
21
|
+
|
|
22
|
+
- ​<!-- 14 -->Add use client directive (#40358) @DiegoAndai
|
|
23
|
+
|
|
24
|
+
### `@mui/material-next@6.0.0-alpha.116`
|
|
25
|
+
|
|
26
|
+
- ​<!-- 13 -->[List] Copy all List\* components to material-next package (#40367) @sai6855
|
|
27
|
+
- ​<!-- 12 -->Update CONTRIBUTING guide given v6/v7 rescheduling (#40363) @DiegoAndai
|
|
28
|
+
- ​<!-- 11 -->[MenuItem] Fix spec import (#40271) @DiegoAndai
|
|
29
|
+
- ​<!-- 10 -->[Option] Add Option component (#40270) @DiegoAndai
|
|
30
|
+
- ​<!-- 09 -->[Slider] Replace lodash with internal utils (#40261) @DiegoAndai
|
|
31
|
+
- ​<!-- 08 -->[Switch] Change files to TypeScript (#39894) @lhilgert9
|
|
32
|
+
- ​<!-- 07 -->[theme] Move ref palette out of color schemes (#40341) @DiegoAndai
|
|
33
|
+
|
|
34
|
+
### Docs
|
|
35
|
+
|
|
36
|
+
- ​<!-- 41 -->[base-ui] Polish the Table Pagination demos (#40281) @danilo-leal
|
|
37
|
+
- ​<!-- 22 -->[joy-ui] Fix dashboard template console errors (#40316) @oliviertassinari
|
|
38
|
+
- ​<!-- 21 -->[joy-ui] Fix image size on the Files template (#40315) @oliviertassinari
|
|
39
|
+
- ​<!-- 20 -->[material-ui] Revise the Divider page (#40356) @danilo-leal
|
|
40
|
+
- ​<!-- 19 -->[material-ui] Polish the Next.js integration page (#40317) @oliviertassinari
|
|
41
|
+
- ​<!-- 18 -->[material-ui] Adding autoFocus on Virtual Popover (#40239) @aacevski
|
|
42
|
+
- ​<!-- 17 -->[material-ui] Revise the Roadmap page (#40054) @danilo-leal
|
|
43
|
+
- ​<!-- 16 -->[material-ui] Update the "showing and hiding" section on the Tooltip page (#40283) @anle9650
|
|
44
|
+
- ​<!-- 05 -->[material-ui] Fix Slider's customized iOS demo to use updated official colors (#39813) @Super-Kenil
|
|
45
|
+
- ​<!-- 15 -->[examples] Simplify Next.js example (#40318) @oliviertassinari
|
|
46
|
+
|
|
47
|
+
### Core
|
|
48
|
+
|
|
49
|
+
- ​<!-- 39 -->[blog] Update open-graph cards for all posts (#40328) @danilo-leal
|
|
50
|
+
- ​<!-- 38 -->[blog] Correct git diff @oliviertassinari
|
|
51
|
+
- ​<!-- 37 -->[code-infra] Update lerna and unpin its version (#40399) @michaldudak
|
|
52
|
+
- ​<!-- 36 -->[code-infra] Break package dependency cycle between @mui/material and @mui/icons-material (#40400) @michaldudak
|
|
53
|
+
- ​<!-- 35 -->[code-infra] Break package dependency cycles (#40398) @michaldudak
|
|
54
|
+
- ​<!-- 34 -->[code-infra] Sync bug issue template (#40305) @oliviertassinari
|
|
55
|
+
- ​<!-- 33 -->[docs] Fix 301 link to Base UI (#40396) @oliviertassinari
|
|
56
|
+
- ​<!-- 32 -->[docs] Link new MUI X components in sidnav (#40345) @oliviertassinari
|
|
57
|
+
- ​<!-- 31 -->[docs] Fix 301 links to Toolpad @oliviertassinari
|
|
58
|
+
- ​<!-- 30 -->[docs] Remove old notifications @oliviertassinari
|
|
59
|
+
- ​<!-- 29 -->[docs] Always mention the npm tag with npx (#40335) @oliviertassinari
|
|
60
|
+
- ​<!-- 28 -->[docs] Reduce network use on the All Components pages (#40313) @oliviertassinari
|
|
61
|
+
- ​<!-- 27 -->[docs-infra] Fix missing button aria-label (#40394) @oliviertassinari
|
|
62
|
+
- ​<!-- 26 -->[docs-infra] Fix a11y violation rule (#40393) @oliviertassinari
|
|
63
|
+
- ​<!-- 25 -->[docs-infra] Prefetch pages on hover (#40314) @oliviertassinari
|
|
64
|
+
- ​<!-- 24 -->[docs-infra] Fix footer links to link to the main domain (#40373) @oliviertassinari
|
|
65
|
+
- ​<!-- 23 -->[docs-infra] Add stray design adjustments (#40347) @danilo-leal
|
|
66
|
+
- ​<!-- 04 -->[website] Fix Base UI page's component section imports & styles (#40231) @danilo-leal
|
|
67
|
+
- ​<!-- 03 -->[website] Fix outdated Nhost image link @oliviertassinari
|
|
68
|
+
- ​<!-- 02 -->[website] Shorten Joy UI description, 7 chars too long @oliviertassinari
|
|
69
|
+
- ​<!-- 01 -->[website] Update some social preview images (#40282) @danilo-leal
|
|
70
|
+
|
|
71
|
+
All contributors of this release in alphabetical order: @aacevski, @anle9650, @danilo-leal, @DiegoAndai, @Kamino0, @lhilgert9, @michaldudak, @oliviertassinari, @sai6855, @siriwatknp, @Super-Kenil
|
|
72
|
+
|
|
73
|
+
## 5.15.2
|
|
74
|
+
|
|
75
|
+
<!-- generated comparing v5.15.1..master -->
|
|
76
|
+
|
|
77
|
+
_Dec 25, 2023_
|
|
78
|
+
|
|
79
|
+
A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
80
|
+
|
|
81
|
+
- 🚀 Added support for callbacks in the [variant's props definition](https://mui.com/material-ui/customization/theme-components/#creating-new-component-variants) (#40094) @mnajdova
|
|
82
|
+
- 💫 Published a [blogpost](https://mui.com/blog/2023-material-ui-v6-and-beyond/) for the 2024's plan about Material UI
|
|
83
|
+
|
|
84
|
+
### `@mui/material@5.15.2`
|
|
85
|
+
|
|
86
|
+
- ​<!-- 31 -->[Badge] Use the variants API in the styled call (#40213) @mnajdova
|
|
87
|
+
- ​<!-- 04 -->[Paper] Add missing Paper classes descriptions (#40300) @sai6855
|
|
88
|
+
|
|
89
|
+
### `@mui/system@5.15.2`
|
|
90
|
+
|
|
91
|
+
- ​<!-- 03 -->Support props callback in the variant's definition (#40094) @mnajdova
|
|
92
|
+
|
|
93
|
+
### `@mui/base@5.0.0-beta.29`
|
|
94
|
+
|
|
95
|
+
- ​<!-- 29 -->[Popup] Use context-based transition API (#39326) @michaldudak
|
|
96
|
+
- ​<!-- 28 -->[Popup] Popup no longer opens outside viewport (#39827) @adamhylander
|
|
97
|
+
- ​<!-- 27 -->[useSelect] Refactor to use DOM focus management instead of active descendant (#39675) @DiegoAndai
|
|
98
|
+
|
|
99
|
+
### `@mui/material-next@6.0.0-alpha.115`
|
|
100
|
+
|
|
101
|
+
- ​<!-- 15 -->[material-next][Divider]Divider ts support (#40307) @sai6855
|
|
102
|
+
|
|
103
|
+
### Docs
|
|
104
|
+
|
|
105
|
+
- ​<!-- 30 -->[base-ui] Fix form submission Select demo (#40014) @ZeeshanTamboli
|
|
106
|
+
- ​<!-- 24 -->[blog] Add Material UI v6 and beyond blog post (#40242) @mnajdova
|
|
107
|
+
- ​<!-- 10 -->[material-ui] Fix broken links in the All components page (#40303) @muazaqdas
|
|
108
|
+
- ​<!-- 09 -->[material-ui] Fix broken links on the All components page (#40279) @danilo-leal
|
|
109
|
+
- ​<!-- 08 -->[material-ui] Add aria-current for nav tabs demo (#39594) @Kimzify
|
|
110
|
+
- ​<!-- 07 -->[material-ui] Add an "All components" page (#40256) @danilo-leal
|
|
111
|
+
- ​<!-- 06 -->[material-ui][Tooltip] Add demo to show how to change distance between tooltip and its anchor (#40087) @anle9650
|
|
112
|
+
|
|
113
|
+
### Core
|
|
114
|
+
|
|
115
|
+
- ​<!-- 26 -->[blog] Fix 301 redirection @oliviertassinari
|
|
116
|
+
- ​<!-- 25 -->[blog] Reduce max image size @oliviertassinari
|
|
117
|
+
- ​<!-- 23 -->[code-infra] Extract Babel macro from mui-utils (#40262) @michaldudak
|
|
118
|
+
- ​<!-- 22 -->[core] Simplify a bit the release instructions @oliviertassinari
|
|
119
|
+
- ​<!-- 21 -->[core] Push force to deploy is not unexpected @oliviertassinari
|
|
120
|
+
- ​<!-- 20 -->[core] Fix CSS2 vs. CSS3 ::after syntax @oliviertassinari
|
|
121
|
+
- ​<!-- 19 -->[core] Fix CSS2 vs. CSS3 ::before syntax @oliviertassinari
|
|
122
|
+
- ​<!-- 05 -->[core] Use direct import from utils package (#40254) @siriwatknp
|
|
123
|
+
- ​<!-- 18 -->[core] Yaml format match most common convention @oliviertassinari
|
|
124
|
+
- ​<!-- 17 -->[core] Polish docs-feedback issue template @oliviertassinari
|
|
125
|
+
- ​<!-- 16 -->[core] Pin Node version on GitHub Actions to 18.18 (#40187) @michaldudak
|
|
126
|
+
- ​<!-- 14 -->[docs] Fix SEO regression (#40306) @oliviertassinari
|
|
127
|
+
- ​<!-- 13 -->[docs] Fix docs redirections @oliviertassinari
|
|
128
|
+
- ​<!-- 12 -->[docs] Update the Contributing guide to give more guidance on documentation (#40274) @samuelsycamore
|
|
129
|
+
- ​<!-- 11 -->[docs-infra] Add polish to the inline code block (#40260) @danilo-leal
|
|
130
|
+
- ​<!-- 02 -->[website] Update Gold sponsors: add RxDB, standardize formatting (#40273) @samuelsycamore
|
|
131
|
+
- ​<!-- 01 -->[website] Revert change to homepage SEO attributes @oliviertassinari
|
|
132
|
+
|
|
133
|
+
All contributors of this release in alphabetical order: @adamhylander, @anle9650, @danilo-leal, @DiegoAndai, @Kimzify, @michaldudak, @mnajdova, @muazaqdas, @oliviertassinari, @sai6855, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
|
|
134
|
+
|
|
135
|
+
## 5.15.1
|
|
136
|
+
|
|
137
|
+
<!-- generated comparing v5.15.0..master -->
|
|
138
|
+
|
|
139
|
+
_Dec 19, 2023_
|
|
140
|
+
|
|
141
|
+
A big thanks to the 15 contributors who made this release possible.
|
|
142
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
143
|
+
|
|
144
|
+
### `@mui/material@5.15.1`
|
|
145
|
+
|
|
146
|
+
- ​<!-- 13 -->[CardActions][DialogActions] Apply margin for all children except for 1st child (#40168) @sai6855
|
|
147
|
+
- ​<!-- 03 -->[TablePagination] Add ability to change icons in TablePaginationActions using `slots` and `slotProps` (#33797) @pratikkarad
|
|
148
|
+
- ​<!-- 13 -->[CssVarsProvider] Fix HSL breaking button styles (#39869) @gitstart
|
|
149
|
+
|
|
150
|
+
### `@mui/joy@5.0.0-beta.19`
|
|
151
|
+
|
|
152
|
+
- ​<!-- 05 -->[FormControl] Fix issue with the conditional setting of `htmlFor` and `id` attributes not functioning properly for form labels (#40180) @ReaZzy
|
|
153
|
+
- ​<!-- 04 -->[typescript] Address TypeScript issue with custom zIndex not functioning (#40133) @qiweiii
|
|
154
|
+
|
|
155
|
+
### `@mui/styled-engine-sc@6.0.0-alpha.9`
|
|
156
|
+
|
|
157
|
+
- ​<!-- 02 -->[typescript] Fix `theme` being of type any (#40200) @mnajdova
|
|
158
|
+
|
|
159
|
+
### Docs
|
|
160
|
+
|
|
161
|
+
- ​<!-- 09 -->[joy-ui] Fix typo in the CSS baseline page (#40222) @possibilities
|
|
162
|
+
- ​<!-- 08 -->[joy-ui] Document missing Autocomplete props (#39979) @ZeeshanTamboli
|
|
163
|
+
- ​<!-- 10 -->[joy-ui] Fix typo about Typography levels (#40230) @zanivan
|
|
164
|
+
- ​<!-- 07 -->[material-ui] Update the related projects page to list `mui-tiptap` for rich text (#40216) @sjdemartini
|
|
165
|
+
- ​<!-- 06 -->[material-ui] Fix typo in the Next.js integration page (#40209) @s8990
|
|
166
|
+
|
|
167
|
+
### Core
|
|
168
|
+
|
|
169
|
+
- ​<!-- 14 -->[blog] Fix access to Notion without an account @oliviertassinari
|
|
170
|
+
- ​<!-- 12 -->[core] Update workflows and issue templates to reflect the updated label (#40197) @MBilalShafi
|
|
171
|
+
- ​<!-- 11 -->[docs] Replace Twitter with X (#40193) @mbrookes
|
|
172
|
+
- ​<!-- 10 -->[docs-infra] Uplift the Algolia search modal design (#40186) @danilo-leal
|
|
173
|
+
- ​<!-- 01 -->[website] Update product descriptions and social preview images (#32181) @danilo-leal
|
|
174
|
+
|
|
175
|
+
All contributors of this release in alphabetical order: @danilo-leal, @gitstart, @MBilalShafi, @mbrookes, @mnajdova, @oliviertassinari, @possibilities, @pratikkarad, @qiweiii, @ReaZzy, @s8990, @sai6855, @sjdemartini, @zanivan, @ZeeshanTamboli
|
|
176
|
+
|
|
177
|
+
## 5.15.0
|
|
178
|
+
|
|
179
|
+
<!-- generated comparing v5.14.20..master -->
|
|
180
|
+
|
|
181
|
+
_Dec 11, 2023_
|
|
182
|
+
|
|
183
|
+
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
184
|
+
|
|
185
|
+
- 🚀 Added [a new package for a better Material UI integration with Next.js](https://mui.com/material-ui/guides/nextjs) (#39947) @siriwatknp
|
|
186
|
+
|
|
187
|
+
### `@mui/material@5.15.0`
|
|
188
|
+
|
|
189
|
+
- ​<!-- 12 -->Revert "[Select][material-ui] Add name to hidden input element" (#40174) @mj12albert
|
|
190
|
+
- ​<!-- 02 -->[material-ui] Refactor ComponentsVariants type into a generic (#39623) @blakenetz
|
|
191
|
+
|
|
192
|
+
### `@mui/material-nextjs@5.15.0`
|
|
193
|
+
|
|
194
|
+
- ​<!-- 01 -->[material-ui] Add new Next.js integration package (#39947) @siriwatknp
|
|
195
|
+
|
|
196
|
+
### `@mui/material-next@6.0.0-alpha.113`
|
|
197
|
+
|
|
198
|
+
- ​<!-- 11 -->[Badge][material-next] Apply new OwnerState type to Badge (#40119) @lhilgert9
|
|
199
|
+
- ​<!-- 06 -->[material-next][ButtonGroup] Change `ButtonGroup` files to ts (#39794) @lhilgert9
|
|
200
|
+
|
|
201
|
+
### `@mui/icons-material@5.15.0`
|
|
202
|
+
|
|
203
|
+
- ​<!-- 05 -->[icons] Add X logo (#38811) @abreel
|
|
204
|
+
|
|
205
|
+
### `@mui/base@5.0.0-beta.27`
|
|
206
|
+
|
|
207
|
+
- ​<!-- 10 -->[base-ui] useControllableReducer warns when controlled props become uncontrolled (and vice versa) (#39096) @mj12albert
|
|
208
|
+
|
|
209
|
+
### `@mui/joy@5.0.0-beta.18`
|
|
210
|
+
|
|
211
|
+
- ​<!-- 04 -->[joy-ui][Radio][Input] Fix inheritance of disabled prop (#39934) @sai6855
|
|
212
|
+
|
|
213
|
+
### `@mui/lab@5.0.0-alpha.156`
|
|
214
|
+
|
|
215
|
+
- ​<!-- 03 -->[lab][LoadingButton] LoadingButton now inherits props from ButtonGroup (#39679) @lhilgert9
|
|
216
|
+
|
|
217
|
+
### Docs
|
|
218
|
+
|
|
219
|
+
- ​<!-- 09 -->[docs] Fix reference to non-existent checkmark in supported-components.md (#40056) @mbrookes
|
|
220
|
+
- ​<!-- 09 -->[docs][base-ui] Add copy button & primary color picker to the component gallery page (#39884) @mnajdova
|
|
221
|
+
- ​<!-- 08 -->[docs-infra] Update CodeSandbox links (#39992) @anle9650
|
|
222
|
+
- ​<!-- 04 -->[material-ui][docs] Fix wrong root element for emotion styles in shadow DOM (#35326) @EloB
|
|
223
|
+
- ​<!-- 03 -->[material-ui][docs] Move the responsive font charts from recharts to MUI X (#40097) @alexfauquette
|
|
224
|
+
- ​<!-- 02 -->[joy-ui][templates] Remove outdated code (#40095) @zanivan
|
|
225
|
+
- ​<!-- 05 -->[material-ui][docs][Popper] Update Positioned Popper demo styles (#40170) @sai6855
|
|
226
|
+
|
|
227
|
+
### Core
|
|
228
|
+
|
|
229
|
+
- ​<!-- 08 -->[blog] Add a Phuket retreat blog post (#40055) @mikailaread
|
|
230
|
+
- ​<!-- 07 -->[blog] Adjust the latest MUI X blog post (#40046) @danilo-leal
|
|
231
|
+
- ​<!-- 05 -->[core] Migrate from tslint to eslint (#40020) @ZeeshanTamboli
|
|
232
|
+
|
|
233
|
+
All contributors of this release in alphabetical order: @abreel, @alexfauquette, @anle9650, @blakenetz, @danilo-leal, @EloB, @lhilgert9, @mbrookes, @mikailaread, @mj12albert, @mnajdova, @sai6855, @siriwatknp, @zanivan, @ZeeshanTamboli
|
|
234
|
+
|
|
235
|
+
## 5.14.20
|
|
236
|
+
|
|
237
|
+
<!-- generated comparing v5.14.19..master -->
|
|
238
|
+
|
|
239
|
+
_Dec 5, 2023_
|
|
240
|
+
|
|
241
|
+
A big thanks to the 14 contributors who made this release possible.
|
|
242
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
243
|
+
|
|
244
|
+
### `@mui/material-next@6.0.0-alpha.112`
|
|
245
|
+
|
|
246
|
+
- ​<!-- 07 -->[Menu] Enable again the usage of the autoFocus prop (#39960) @mnajdova
|
|
247
|
+
- ​<!-- 06 -->[ProgressIndicator] Apply MD3 style to `CircularProgress` (#39825) @lhilgert9
|
|
248
|
+
|
|
249
|
+
### Docs
|
|
250
|
+
|
|
251
|
+
- ​<!-- 15 -->Remove outdated showcase (#40063) @oliviertassinari
|
|
252
|
+
- ​<!-- 14 -->Support yaml as prism language (#40044) @Janpot
|
|
253
|
+
- ​<!-- 12 -->[material-ui] Fix SearchAppBar width on `sm` screens (#40049) @DiegoAndai
|
|
254
|
+
- ​<!-- 11 -->[material-ui] Update the basic Grid section copy (#40035) @REX500
|
|
255
|
+
- ​<!-- 10 -->[material-ui] Add a react-admin example project (#39972) @fzaninotto
|
|
256
|
+
- ​<!-- 09 -->[material-ui][TextField] Add a performance section (#39692) @anle9650
|
|
257
|
+
- ​<!-- 05 -->[material-ui][tabs] Refine scrollable tabs description (#40037) @zanivan
|
|
258
|
+
- ​<!-- 08 -->[system] Fix typo on the CSS theme variables page (#40040) @caweidmann
|
|
259
|
+
|
|
260
|
+
### Core
|
|
261
|
+
|
|
262
|
+
- ​<!-- 17 -->[blog] Fix scrollbar on mobile (#40057) @oliviertassinari
|
|
263
|
+
- ​<!-- 16 -->[blog] Fix link to charts getting started page (#40043) @alexfauquette
|
|
264
|
+
- ​<!-- 13 -->[docs-infra] Simplify CSS classes extraction in API docs generator (#39808) @michaldudak
|
|
265
|
+
- ​<!-- 04 -->[website] Polish dark mode colors (#40052) @danilo-leal
|
|
266
|
+
- ​<!-- 03 -->[website] Add why Design Engineer for data grid (#40016) @oliviertassinari
|
|
267
|
+
- ​<!-- 02 -->[website] Add stray fixes to the Base UI page (#40051) @danilo-leal
|
|
268
|
+
- ​<!-- 01 -->[website] Revise the Developer Advocate job posting (#39210) @samuelsycamore
|
|
269
|
+
|
|
270
|
+
All contributors of this release in alphabetical order: @alexfauquette, @anle9650, @caweidmann, @danilo-leal, @DiegoAndai, @fzaninotto, @Janpot, @lhilgert9, @michaldudak, @mnajdova, @oliviertassinari, @REX500, @samuelsycamore, @zanivan
|
|
271
|
+
|
|
272
|
+
## 5.14.19
|
|
273
|
+
|
|
274
|
+
<!-- generated comparing v5.14.18..master -->
|
|
275
|
+
|
|
276
|
+
_Nov 29, 2023_
|
|
277
|
+
|
|
278
|
+
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
279
|
+
|
|
280
|
+
- 🐛 Fix Material UI Autocomplete behavior when there are duplicate labels (#36426) @islandryu
|
|
281
|
+
- 🚀 Added Material You Linear Progress to `material-next` package (#39807) @lhilgert9
|
|
282
|
+
|
|
283
|
+
### `@mui/material@5.14.19`
|
|
284
|
+
|
|
285
|
+
- ​<!-- 44 -->[Autocomplete] Fix behavior when there are duplicate labels (#36426) @islandryu
|
|
286
|
+
- ​<!-- 37 -->[Box] Added boxClasses (#39889) @sadik-malik
|
|
287
|
+
- ​<!-- 18 -->[FilledInput] Fix slot props deepmerge order (#38922) @dhaub-exelixis
|
|
288
|
+
- ​<!-- 12 -->[Select] Add id to hidden input element (#39414) @DarhkVoyd
|
|
289
|
+
- ​<!-- 11 -->[Select] Remove unnecessary picking of `onChange` type from SelectInputProps (#39891) @ZeeshanTamboli
|
|
290
|
+
|
|
291
|
+
### `@mui/base@5.0.0-beta.25`
|
|
292
|
+
|
|
293
|
+
- ​<!-- 46 -->[Menu] Fix navigation of items when 1st item is disabled (#39828) @sai6855
|
|
294
|
+
- ​<!-- 42 -->[Modal] Refine demos (#39824) @zanivan
|
|
295
|
+
- ​<!-- 41 -->[NumberInput] Implement `numberInputReducer` (#38723) @mj12albert
|
|
296
|
+
- ​<!-- 40 -->[useNumberInput] Fix change handlers passed through slotProps (#39407) @mj12albert
|
|
297
|
+
|
|
298
|
+
### `@mui/joy@5.0.0-beta.16`
|
|
299
|
+
|
|
300
|
+
- ​<!-- 38 -->[Box] Added boxClasses (#39895) @sadik-malik
|
|
301
|
+
|
|
302
|
+
### `@mui/system@5.14.19`
|
|
303
|
+
|
|
304
|
+
- ​<!-- 36 -->[Box] Added boxClasses (#39896) @sadik-malik
|
|
305
|
+
- ​<!-- 09 -->Add outlineColor to defaultSxConfig (#39962) @brijeshb42
|
|
306
|
+
|
|
307
|
+
### `@mui/types@7.2.10`
|
|
308
|
+
|
|
309
|
+
- ​<!-- 08 -->Add `PartiallyRequired` type (#39939) @lhilgert9
|
|
310
|
+
|
|
311
|
+
### `@mui/material-next@6.0.0-alpha.111`
|
|
312
|
+
|
|
313
|
+
- ​<!-- 47 -->[ProgressIndicator] Apply MD3 style to `LinearProgress` (#39807) @lhilgert9
|
|
314
|
+
- ​<!-- 17 -->[FormHelperText] Add FormHelperText component (#39503) @mj12albert
|
|
315
|
+
- ​<!-- 16 -->[IconButton] Copy IconButton to material-next (#39945) @mj12albert
|
|
316
|
+
- ​<!-- 13 -->[Switch] Copy `Switch` to material next (#39887) @lhilgert9
|
|
317
|
+
|
|
318
|
+
### Docs
|
|
319
|
+
|
|
320
|
+
- ​<!-- 19 -->[material-ui] Fix theme prop in v5 migration guide (#39976) @sai6855
|
|
321
|
+
- ​<!-- 43 -->[base-ui] Improve Next.js Link docs (#39838) @oliviertassinari
|
|
322
|
+
- ​<!-- 39 -->[base-ui] Export Base UI theme in stylesheet (#39694) @mnajdova
|
|
323
|
+
- ​<!-- 52 -->[joy-ui] Fix the date min & max slot props values on the Input demo (#40018) @avikalpg
|
|
324
|
+
- ​<!-- 35 -->[joy-ui][ButtonGroup] Fix orientation prop description (#39876) @sai6855
|
|
325
|
+
- ​<!-- 25 -->[joy-ui] Update gif from the Dark Mode Optimization page (#39726) @danilo-leal
|
|
326
|
+
- ​<!-- 24 -->[joy-ui] Fix h1 template (#40017) @oliviertassinari
|
|
327
|
+
- ​<!-- 23 -->[joy-ui] Fix wrong product id @oliviertassinari
|
|
328
|
+
- ​<!-- 22 -->[joy-ui] Fixes in theme scoping documentation (#39899) @ZeeshanTamboli
|
|
329
|
+
- ​<!-- 21 -->[joy-ui] Refine the Email, Teams and Files templates (#39579) @zanivan
|
|
330
|
+
- ​<!-- 15 -->[joy-ui][templates] Fix layout shift on Profile template (#40022) @zanivan
|
|
331
|
+
- ​<!-- 14 -->[joy-ui][Templates] Update thumbnails (#39938) @zanivan
|
|
332
|
+
- ​<!-- 20 -->[material-next] Add contributing guide (#39944) @mj12albert
|
|
333
|
+
- ​<!-- 51 -->End v6 blogpost notification (#39879) @joserodolfofreitas
|
|
334
|
+
- ​<!-- 31 -->Fix nested CSS warning (#39932) @mnajdova
|
|
335
|
+
- ​<!-- 30 -->Make integration searchable (#39967) @oliviertassinari
|
|
336
|
+
- ​<!-- 29 -->Fix use of quote in markdown (#39953) @oliviertassinari
|
|
337
|
+
- ​<!-- 28 -->Show design links on Joy UI (#39955) @oliviertassinari
|
|
338
|
+
- ​<!-- 27 -->Restore Algolia results when searching for "Figma" (#39956) @oliviertassinari
|
|
339
|
+
- ​<!-- 26 -->Fix two tone icon dark mode color (#39868) @mnajdova
|
|
340
|
+
|
|
341
|
+
### Core
|
|
342
|
+
|
|
343
|
+
- ​<!-- 45 -->Improve lerna's renovate package rules (#40029) @DiegoAndai
|
|
344
|
+
- ​<!-- 34 -->Downgrade lerna to 7.2.0 (#40026) @DiegoAndai
|
|
345
|
+
- ​<!-- 32 -->Rename OpenCollective @oliviertassinari
|
|
346
|
+
- ​<!-- 48 -->[docs-infra] Env variables should be string (#39991) @oliviertassinari
|
|
347
|
+
- ​<!-- 10 -->[Portal] Improve docs for container prop (#39180) @oliviertassinari
|
|
348
|
+
- ​<!-- 50 -->[website] Update pricing table (#40023) @cherniavskii
|
|
349
|
+
- ​<!-- 49 -->[website][docs] Update the product identifier menu and X page (#39832) @danilo-leal
|
|
350
|
+
- ​<!-- 07 -->[website] Mark TreeView and Charts as stable (#39975) @flaviendelangle
|
|
351
|
+
- ​<!-- 06 -->[website] Update career page (#40015) @oliviertassinari
|
|
352
|
+
- ​<!-- 05 -->[website] Sync about dataset @oliviertassinari
|
|
353
|
+
- ​<!-- 04 -->[website] Fix 301 redirection to X tree-view @oliviertassinari
|
|
354
|
+
- ​<!-- 03 -->[website] Change redirection prefixes @oliviertassinari
|
|
355
|
+
- ​<!-- 02 -->[website] Fix 301 link @oliviertassinari
|
|
356
|
+
- ​<!-- 01 -->[website] Fix modal not being closed with the escape key on the Base UI page (#39880) @ZeeshanTamboli
|
|
357
|
+
|
|
358
|
+
All contributors of this release in alphabetical order: @avikalpg, @brijeshb42, @cherniavskii, @danilo-leal, @DarhkVoyd, @dhaub-exelixis, @DiegoAndai, @flaviendelangle, @islandryu, @joserodolfofreitas, @lhilgert9, @mj12albert, @mnajdova, @oliviertassinari, @sadik-malik, @sai6855, @zanivan, @ZeeshanTamboli
|
|
359
|
+
|
|
360
|
+
## 5.14.18
|
|
361
|
+
|
|
362
|
+
<!-- generated comparing v5.14.17..master -->
|
|
363
|
+
|
|
364
|
+
_Nov 14, 2023_
|
|
365
|
+
|
|
366
|
+
A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
367
|
+
|
|
368
|
+
- 💫 Introduced new [Stepper](https://mui.com/joy-ui/react-stepper/) component in Joy UI (#39688) @siriwatknp
|
|
369
|
+
- other 🐛 bug fixes and 📚 documentation improvements
|
|
370
|
+
|
|
371
|
+
### `@mui/material@5.14.18`
|
|
372
|
+
|
|
373
|
+
- ​<!-- 32 -->[Autocomplete] Add `defaultMuiPrevented` to onKeyDown type (#39820) @sai6855
|
|
374
|
+
- ​<!-- 31 -->[Autocomplete] Fix React key warning in Next.js (#39795) @mj12albert
|
|
375
|
+
- ​<!-- 24 -->[Checkbox] Asterisk placement aligned correctly (#39721) @axelbostrom
|
|
376
|
+
- ​<!-- 04 -->[Rating] Fix the hover highlighting for spaced icons (#39775) @ZeeshanTamboli
|
|
377
|
+
- ​<!-- 03 -->[TablePagination] Implement `slotProps` pattern for the actions and the select slots (#39353) @anle9650
|
|
378
|
+
- ​<!-- 02 -->[TextField] Fix padding on small filled multiline TextField (#39769) @mj12albert
|
|
379
|
+
|
|
380
|
+
### `@mui/joy@5.0.0-beta.15`
|
|
381
|
+
|
|
382
|
+
- ​<!-- 11 -->[Stepper] Add new `Stepper` component (#39688) @siriwatknp
|
|
383
|
+
- ​<!-- 12 -->[Select] Fix displaying placeholder when multiple is true (#39806) @sai6855
|
|
384
|
+
|
|
385
|
+
### `@mui/material-next@6.0.0-alpha.110`
|
|
386
|
+
|
|
387
|
+
- ​<!-- 26 -->[ButtonGroup] Copy `ButtonGroup` to material next (#39739) @lhilgert9
|
|
388
|
+
- ​<!-- 09 -->[ProgressIndicator] Change `CircularProgress` files to ts (#39791) @lhilgert9
|
|
389
|
+
- ​<!-- 08 -->[ProgressIndicator] Change `LinearProgress` files to ts (#39793) @lhilgert9
|
|
390
|
+
- ​<!-- 07 -->[ProgressIndicator] Copy `LinearProgress` to material next (#39779) @lhilgert9
|
|
391
|
+
- ​<!-- 06 -->[ProgressIndicator] Copy `CircularProgress` to material next (#39780) @lhilgert9
|
|
392
|
+
- ​<!-- 05 -->[TextField] Add FormLabel and InputLabel components (#39483) @mj12albert
|
|
393
|
+
|
|
394
|
+
## Docs
|
|
395
|
+
|
|
396
|
+
- ​<!-- 30 -->[base-ui][NumberInput] Fix inconsistent demo component names (#39786) @mnajdova
|
|
397
|
+
- ​<!-- 29 -->[base-ui][Menu] Refine demos (#39823) @zanivan
|
|
398
|
+
- ​<!-- 28 -->[base-ui][Switch] Refine demos (#39822) @zanivan
|
|
399
|
+
- ​<!-- 16 -->[joy-ui] Fix API generation for Grid (#39861) @oliviertassinari
|
|
400
|
+
- ​<!-- 15 -->[joy-ui] Fix menu in color inversion header demo (#39785) @sai6855
|
|
401
|
+
- ​<!-- 14 -->[joy-ui] Change the design kit link on the Overview page (#39725) @danilo-leal
|
|
402
|
+
- ​<!-- 13 -->[joy-ui] Add `CssBaseline` to integration with Material UI page (#39790) @swillianc
|
|
403
|
+
- ​<!-- 10 -->[joy-ui][Tabs] Add wordBreak style to demo (#39821) @sai6855
|
|
404
|
+
|
|
405
|
+
## Core
|
|
406
|
+
|
|
407
|
+
- ​<!-- 27 -->[blog] MUI X late v6 blog post (#39700) @joserodolfofreitas
|
|
408
|
+
- ​<!-- 25 -->[CHANGELOG] Correct the Joy UI version in the changelog (#39788) @michaldudak
|
|
409
|
+
- ​<!-- 23 -->[core] Remove legacy docs files (#39860) @oliviertassinari
|
|
410
|
+
- ​<!-- 22 -->[core] Fix GitHub title tag consistency @oliviertassinari
|
|
411
|
+
- ​<!-- 21 -->[core] Make the API docs builder configurable per project (#39772) @michaldudak
|
|
412
|
+
- ​<!-- 20 -->[docs] Fix the default theme viewer font family (#39782) @danilo-leal
|
|
413
|
+
- ​<!-- 19 -->[docs-infra] Fix hydration api (#39706) @oliviertassinari
|
|
414
|
+
- ​<!-- 18 -->[docs-infra] Adjust the website & docs footer (#39810) @danilo-leal
|
|
415
|
+
- ​<!-- 17 -->[docs-infra] Fix bug on API prop copy experience (#39707) @oliviertassinari
|
|
416
|
+
- ​<!-- 01 -->[website] Change roadmap link destination (#39639) @danilo-leal
|
|
417
|
+
|
|
418
|
+
All contributors of this release in alphabetical order: @anle9650, @axelbostrom, @danilo-leal, @joserodolfofreitas, @lhilgert9, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp, @swillianc, @zanivan, @ZeeshanTamboli
|
|
419
|
+
|
|
420
|
+
## 5.14.17
|
|
421
|
+
|
|
422
|
+
<!-- generated comparing v5.14.16..master -->
|
|
423
|
+
|
|
424
|
+
_Nov 6, 2023_
|
|
425
|
+
|
|
426
|
+
A big thanks to the 12 contributors who made this release possible.
|
|
427
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
428
|
+
|
|
429
|
+
### `@mui/material@5.14.17`
|
|
430
|
+
|
|
431
|
+
- [Dialog] Should not close until the IME is cancelled (#39713) @megos
|
|
432
|
+
- [InputBase] Add `sx` type to `input` and `root` slot (#39569) @sai6855
|
|
433
|
+
|
|
434
|
+
### `@mui/joy@5.0.0-beta.14`
|
|
435
|
+
|
|
436
|
+
- [ModalDialog] Remove redundant code (#39719) @sai6855
|
|
437
|
+
- [ToggleButtonGroup] Fix toggling button state when `Button` is not immediate children (#39571) @sai6855
|
|
438
|
+
|
|
439
|
+
### `@mui/base@5.0.0-beta.23`
|
|
440
|
+
|
|
441
|
+
- Make list components more reliable (#39380) @michaldudak
|
|
442
|
+
|
|
443
|
+
### `@mui/material-next@6.0.0-alpha.109`
|
|
444
|
+
|
|
445
|
+
- [InputBase] InputBase slotProps accepts sx type (#39714) @mj12albert
|
|
446
|
+
- [OutlinedInput] Copy v5 OutlinedInput (#39698) @mj12albert
|
|
447
|
+
|
|
448
|
+
### `@mui/lab@5.0.0-alpha.152`
|
|
449
|
+
|
|
450
|
+
- [TreeView] Remove tree view import from @mui/lab (#39685) @alexfauquette
|
|
451
|
+
|
|
452
|
+
### Docs
|
|
453
|
+
|
|
454
|
+
- Update Taiwan country name in demos (#39729) @chiahao
|
|
455
|
+
- Update release doc for unchanged packages (#39487) @brijeshb42
|
|
456
|
+
- [joy-ui] Make code readable to set next color in color inversion demos (#39669) @ZeeshanTamboli
|
|
457
|
+
- [material-ui] Remove numeric input workaround from TextField docs (#39629) @mj12albert
|
|
458
|
+
- [material-ui] Add comment about code to be removed from Drawer demo (#39678) @samuelsycamore
|
|
459
|
+
|
|
460
|
+
### Core
|
|
461
|
+
|
|
462
|
+
- [docs-infra] Fix path bloat client-side (#39708) @oliviertassinari
|
|
463
|
+
- [docs-infra] Render footer in SSR (#39710) @oliviertassinari
|
|
464
|
+
- [docs-infra] Simplify footer (#39709) @oliviertassinari
|
|
465
|
+
- [docs-infra] Fix dark theme color (#39720) @alexfauquette
|
|
466
|
+
- [docs-infra] Remove the design feedback alert (#39691) @danilo-leal
|
|
467
|
+
- [docs-infra] Bring back scroll gradient in API page with table (#39689) @alexfauquette
|
|
468
|
+
- [docs-infra] Clarify the content of the ads @oliviertassinari
|
|
469
|
+
- [docs-infra] Link to ScaffoldHub v2 @oliviertassinari
|
|
470
|
+
- [docs-infra] Improve access to the component demos via the API page (#39690) @danilo-leal
|
|
471
|
+
- [docs-infra] Add appropriate aria-label to docs buttons (#39638) @danilo-leal
|
|
472
|
+
- [docs-infra] Fix crawler on API pages (#39490) @alexfauquette
|
|
473
|
+
- [docs–infra] Small polish on API toggle (#39704) @oliviertassinari
|
|
474
|
+
- [core] Speed up the CI by removing the second build (#39684) @michaldudak
|
|
475
|
+
- [core][docs] Fix broken MUI System link in README.md (#39734) @samuelsycamore
|
|
476
|
+
- [website] List benefits for sponsors (#39640) @oliviertassinari
|
|
477
|
+
- [website] Add Vadym teamMember card to 'About' (#39701) @hasdfa
|
|
478
|
+
- [test] Fix flaky screenshot (#39711) @oliviertassinari
|
|
479
|
+
|
|
480
|
+
All contributors of this release in alphabetical order: @alexfauquette, @brijeshb42, @chiahao, @danilo-leal, @hasdfa, @megos, @michaldudak, @mj12albert, @oliviertassinari, @sai6855, @samuelsycamore, @ZeeshanTamboli
|
|
481
|
+
|
|
482
|
+
## 5.14.16
|
|
483
|
+
|
|
484
|
+
<!-- generated comparing v5.14.15..master -->
|
|
485
|
+
|
|
486
|
+
_Oct 31, 2023_
|
|
487
|
+
|
|
488
|
+
A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
|
|
489
|
+
|
|
490
|
+
- ✨ New highly requested Joy UI component: [Snackbar](https://mui.com/joy-ui/react-snackbar) (#38801) @ZeeshanTamboli
|
|
491
|
+
|
|
492
|
+
### `@mui/material@5.14.16`
|
|
493
|
+
|
|
494
|
+
- ​<!-- 03 -->Fix ownerstate being propagated to DOM node when using styled-components v6 (#39586) @mnajdova
|
|
495
|
+
|
|
496
|
+
### `@mui/base@5.0.0-beta.22`
|
|
497
|
+
|
|
498
|
+
- ​<!-- 28 -->[Autocomplete] Standardize box shadow on demos (#39519) @zanivan
|
|
499
|
+
- ​<!-- 27 -->[useSelect] Support browser autofill (#39595) @DiegoAndai
|
|
500
|
+
- ​<!-- 30 -->[base-ui] Fix mergeSlotProps className join order (#39616) @mj12albert
|
|
501
|
+
|
|
502
|
+
### `@mui/joy@5.0.0-beta.13`
|
|
503
|
+
|
|
504
|
+
- ​<!-- 29 -->[Accordion] Add type button to accordion
|
|
505
|
+
- ​<!-- 28 -->[Card] Fix CardOverflow in nested cards (#39668) @siriwatknp summary (#39532) @Popppins
|
|
506
|
+
- ​<!-- 08 -->[Menu] Fix closing of listbox in `MenuList` demo (#39459) @sai6855
|
|
507
|
+
- ​<!-- 07 -->[Progress] Revamp Linear and Circular progress variants (#39492) @zanivan
|
|
508
|
+
- ​<!-- 06 -->[Select] Support selection of `multiple` options (#39454) @sai6855
|
|
509
|
+
- ​<!-- 05 -->[Textarea] Add ref usage instructions (#39615) @danilo-leal
|
|
510
|
+
- ​<!-- 10 --> Fix sticky hover media query issue on mobile (#37467) @gitstart
|
|
511
|
+
- ​<!-- 09 --> Add Snackbar component (#38801) @ZeeshanTamboli
|
|
512
|
+
|
|
513
|
+
### `@mui/material-next@6.0.0-alpha.108`
|
|
514
|
+
|
|
515
|
+
- ​<!-- 04 -->[theme] Update Material You typescale tokens (#39514) @mj12albert
|
|
516
|
+
|
|
517
|
+
### Docs
|
|
518
|
+
|
|
519
|
+
- ​<!-- 22 -->Fix 301 link to Primer design system @oliviertassinari
|
|
520
|
+
- ​<!-- 19 -->[joy-ui] Revise the CSS vars page (#39335) @danilo-leal
|
|
521
|
+
- ​<!-- 18 -->[joy-ui] Add docs for changing styles based on states (#39597) @siriwatknp
|
|
522
|
+
- ​<!-- 17 -->[joy-ui] Fix wrong messages (#39602) @siriwatknp
|
|
523
|
+
- ​<!-- 16 -->[material-ui] Include link to bundler how-to for Styled Components users (#39620) @jcoyle37
|
|
524
|
+
- ​<!-- 15 -->[material-ui] Improve Dialog demos (#39642) @ZeeshanTamboli
|
|
525
|
+
- ​<!-- 14 -->[material-ui] Add stray design fine-tuning to the example collection (#39581) @danilo-leal
|
|
526
|
+
- ​<!-- 13 -->[system] Clean up `@mui/styles` docs and discourage users from installing it (#39644) @samuelsycamore
|
|
527
|
+
- ​<!-- 12 -->[examples] Upgrade Remix to v2 (#39229) @Nkzn
|
|
528
|
+
- ​<!-- 11 -->[examples][material-ui] Remove hardcoded `color="black"` from Next.js App Router layout (#39577) @samuelsycamore
|
|
529
|
+
|
|
530
|
+
### Core
|
|
531
|
+
|
|
532
|
+
- ​<!-- 26 -->[core] Setup vale for enforcing style guides (#39633) @alexfauquette
|
|
533
|
+
- ​<!-- 25 -->[core] Remove unused use client (#38967) @oliviertassinari
|
|
534
|
+
- ​<!-- 24 -->[core] Remove duplicate export (#39346) @oliviertassinari
|
|
535
|
+
- ​<!-- 23 -->[core] Remove not used `@types/loader-utils` package from `zero-next-plugin` (#39609) @ZeeshanTamboli
|
|
536
|
+
- ​<!-- 21 -->[docs-infra] Add meta charset in codesandbox examples (#39424) @Janpot
|
|
537
|
+
- ​<!-- 20 -->[docs-infra] Fix settings drawer accessibility issues (#39589) @emamoah
|
|
538
|
+
- ​<!-- 02 -->[website] Add stray adjustments and clean-ups (#39673) @danilo-leal
|
|
539
|
+
- ​<!-- 01 -->[website] Open the `Design Engineer - xGrid` role (#39375) @DanailH
|
|
540
|
+
|
|
541
|
+
All contributors of this release in alphabetical order: @alexfauquette, @Best-Sardar, @DanailH, @danilo-leal, @DiegoAndai, @emamoah, @gitstart, @Janpot, @jcoyle37, @mj12albert, @mnajdova, @Nkzn, @oliviertassinari, @Popppins, @sai6855, @samuelsycamore, @siriwatknp, @zanivan, @ZeeshanTamboli
|
|
542
|
+
|
|
543
|
+
## 5.14.15
|
|
544
|
+
|
|
545
|
+
<!-- generated comparing v5.14.14..master -->
|
|
546
|
+
|
|
547
|
+
_Oct 24, 2023_
|
|
548
|
+
|
|
549
|
+
A big thanks to the 17 contributors who made this release possible.
|
|
550
|
+
|
|
551
|
+
### `@mui/material@5.14.15`
|
|
552
|
+
|
|
553
|
+
- ​<!-- 24 -->[Checkbox][Radio] Fix theme style overrides not working for different sizes (#39377) @gitstart
|
|
554
|
+
- ​<!-- 12 -->[InputLabel] InputLabel supports ownerState.focused for styleOverrides (#39470) @mj12albert
|
|
555
|
+
- ​<!-- 07 -->[ToggleButton] Add `fullWidth` to `toggleButtonClasses` and `toggleButtonGroupClasses` (#39536) @Semigradsky
|
|
556
|
+
|
|
557
|
+
### `@mui/base@5.0.0-beta.21`
|
|
558
|
+
|
|
559
|
+
- ​<!-- 29 -->[useAutocomplete] Correct keyboard navigation with multiple disabled options (#38788) @VadimZvf
|
|
560
|
+
- ​<!-- 28 -->[Select] Standardize box shadow on demos (#39509) @zanivan
|
|
561
|
+
- ​<!-- 27 -->[Slider] Refine demos (#39526) @zanivan
|
|
562
|
+
- ​<!-- 34 -->[Input] Update and port additional tests from material-ui (#39584) @mj12albert
|
|
563
|
+
|
|
564
|
+
### `@mui/material-next@6.0.0-alpha.107`
|
|
565
|
+
|
|
566
|
+
- ​<!-- 16 -->[FilledInput] Add FilledInput component (#39307) @mj12albert
|
|
567
|
+
- ​<!-- 13 -->[InputAdornment] Fix unstable_capitalize import (#39510) @DiegoAndai
|
|
568
|
+
- ​<!-- 08 -->[Snackbar] copy files to mui-material-next (#39232) @Best-Sardar
|
|
569
|
+
- ​<!-- 33 -->[Menu] Use useMenu hook (#38934) @mnajdova
|
|
570
|
+
|
|
571
|
+
### `@mui/joy@5.0.0-beta.12`
|
|
572
|
+
|
|
573
|
+
- ​<!-- 26 -->[Button] Fix button size being a decorator (#39529) @siriwatknp
|
|
574
|
+
- ​<!-- 25 -->[CardOverflow] Remove conditional CSS to support Next.js App dir (#39101) @siriwatknp
|
|
575
|
+
- ​<!-- 11 -->[Link] Apply `userSelect: none` only when it's a button (#39486) @mwskwong
|
|
576
|
+
|
|
577
|
+
### `@mui/lab@5.0.0-alpha.150`
|
|
578
|
+
|
|
579
|
+
- ​<!-- 09 -->Update peer dep of @mui/material (#39398) @brijeshb42
|
|
580
|
+
|
|
581
|
+
### `@mui/zero-runtime@0.0.1-alpha.0`
|
|
582
|
+
|
|
583
|
+
- ​<!-- 06 -->Implement typings for public runtime API (#39215) @brijeshb42
|
|
584
|
+
|
|
585
|
+
### `@mui/zero-vite-plugin@0.0.1-alpha.0`
|
|
586
|
+
|
|
587
|
+
- ​<!-- 05 -->Modify plugin to transform node_modules (#39517) @brijeshb42
|
|
588
|
+
|
|
589
|
+
### Docs
|
|
590
|
+
|
|
591
|
+
- ​<!-- 31 -->[base-ui] Standardize grey palette across demos (#39504) @zanivan
|
|
592
|
+
- ​<!-- 30 -->[base-ui] Overall demos design review (#38820) @zanivan
|
|
593
|
+
- ​<!-- 19 -->[joy-ui] Adjust the responsiveness of the template card (#39534) @danilo-leal
|
|
594
|
+
- ​<!-- 18 -->[material-ui] Typo fixes in overview page (#39540) @Evan151
|
|
595
|
+
- ​<!-- 35 -->[material-ui] Add stray design tweaks to the templates collection (#39583) @danilo-leal
|
|
596
|
+
- ​<!-- 17 -->[system] Revise the Box page (#39159) @danilo-leal
|
|
597
|
+
- ​<!-- 22 -->Fix git diff format @oliviertassinari
|
|
598
|
+
- ​<!-- 15 -->[I10n] Add Norwegian (nynorsk) (nn-NO) locale (#39481) @hjalti-lifekeys
|
|
599
|
+
- ​<!-- 10 -->[l10n] Fix double space typo in ar-EG @oliviertassinari
|
|
600
|
+
- ​<!-- 14 -->[I10n] Additions to Icelandic (is-IS) locale (#39480) @hjalti-lifekeys
|
|
601
|
+
|
|
602
|
+
### Core
|
|
603
|
+
|
|
604
|
+
- ​<!-- 23 -->[core] Replace a `useCallback` by `useRef` in useEventCallback (#39078) @romgrk
|
|
605
|
+
- ​<!-- 21 -->[docs-infra] Prevent docs crash (#39214) @alexfauquette
|
|
606
|
+
- ​<!-- 20 -->[docs-infra] Fix no-op autoprefixer warning (#39385) @oliviertassinari
|
|
607
|
+
- ​<!-- 32 -->[docs-infra] Refine the API page design (#39520) @alexfauquette
|
|
608
|
+
- ​<!-- 25 -->[docs-infra] Fix cut-off sponsors (#39572) @oliviertassinari
|
|
609
|
+
- ​<!-- 04 -->[website] Add missing h1 on page @oliviertassinari
|
|
610
|
+
- ​<!-- 03 -->[website] Fix unrecognized prop warning @oliviertassinari
|
|
611
|
+
- ​<!-- 02 -->[website] Store Engineer role filled @oliviertassinari
|
|
612
|
+
- ​<!-- 01 -->[website] Add stray design adjustments (#39496) @danilo-leal
|
|
613
|
+
|
|
614
|
+
All contributors of this release in alphabetical order: @alexfauquette, @Best-Sardar, @brijeshb42, @danilo-leal, @DiegoAndai, @Evan151, @gitstart, @hjalti-lifekeys, @mj12albert, @mnajdova, @mwskwong, @oliviertassinari, @romgrk, @Semigradsky, @siriwatknp, @VadimZvf, @zanivan
|
|
615
|
+
|
|
616
|
+
## 5.14.14
|
|
617
|
+
|
|
618
|
+
<!-- generated comparing v5.14.13..master -->
|
|
619
|
+
|
|
620
|
+
_Oct 17, 2023_
|
|
621
|
+
|
|
622
|
+
A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
|
|
623
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
624
|
+
|
|
625
|
+
### `@mui/material@5.14.14`
|
|
626
|
+
|
|
627
|
+
- ​<!-- 29 -->[material-ui][AppBar] Support all default palette colors in TypeScript (#39389) @BreakBB
|
|
628
|
+
- ​<!-- 28 -->[material-ui][AvatarGroup] Add `renderSurplus` prop (#39283) @uuxxx
|
|
629
|
+
- ​<!-- 25 -->[material-ui][Box] Fix system properties has incorrect `Theme` interface when applied directly (#39404) @Semigradsky
|
|
630
|
+
- ​<!-- 04 -->[material-ui][Pagination] Update `type` parameter of `getItemAriaLabel` prop (#39390) @Simer13
|
|
631
|
+
- ​<!-- 06 -->[material][tab] Show/hide scroll buttons for dynamically added children (#39415) @brijeshb42
|
|
632
|
+
|
|
633
|
+
### `@mui/base@5.0.0-beta.20`
|
|
634
|
+
|
|
635
|
+
- ​<!-- 26 -->[base-ui][Menu] Do not reopen the menu after clicking on a trigger in Safari (#39393) @michaldudak
|
|
636
|
+
|
|
637
|
+
### `@mui/material-next@6.0.0-alpha.106`
|
|
638
|
+
|
|
639
|
+
- ​<!-- 23 -->[Divider][material-next] Add Divider component (#39179) @Best-Sardar
|
|
640
|
+
|
|
641
|
+
### `@mui/joy@5.0.0-beta.11`
|
|
642
|
+
|
|
643
|
+
- ​<!-- 08 -->[joy-ui][List] Add the `marker` prop (#39313) @siriwatknp
|
|
644
|
+
- ​<!-- 07 -->[joy-ui][Skeleton] Fix semi-transparent scenario when with surface components and color inversion (#39400) @TheNatkat
|
|
645
|
+
- ​<!-- 06 -->[joy-ui][Textarea] Fix focus ring for error state (#39391) @vineetjk
|
|
646
|
+
|
|
647
|
+
### `@mui/icons-material@5.14.14`
|
|
648
|
+
|
|
649
|
+
- ​<!-- 09 -->[icons] Fix VoiceChatOutlined showing the wrong icon (#39418) @devuser200
|
|
650
|
+
|
|
651
|
+
### `@mui/system@5.14.14`
|
|
652
|
+
|
|
653
|
+
- ​<!-- 03 -->[mui-system][style] bug fix for style value check color in nullable object (#39457) @DarhkVoyd
|
|
654
|
+
|
|
655
|
+
### `@mui/styled-engine-sc@6.0.0-alpha.2`
|
|
656
|
+
|
|
657
|
+
- ​<!-- 05 -->[styled-engine-sc] Fix TS issues because of missing types (#39395) @mnajdova
|
|
658
|
+
|
|
659
|
+
### Docs
|
|
660
|
+
|
|
661
|
+
- ​<!-- 27 -->[docs][base-ui] Renaming demos to BaseXxx (#39104) @christophermorin
|
|
662
|
+
- ​<!-- 26 -->[docs] Accessibility in Base UI (#39264) @michaldudak
|
|
663
|
+
- ​<!-- 22 -->[docs] Fix 301 redirection @oliviertassinari
|
|
664
|
+
- ​<!-- 21 -->[docs] Improve Base UI table of contents for APIs (#39412) @ZeeshanTamboli
|
|
665
|
+
- ​<!-- 20 -->[docs] Adjust design kits-related content (#39367) @danilo-leal
|
|
666
|
+
- ​<!-- 19 -->[docs] Revise the Contributing Guide (#39190) @samuelsycamore
|
|
667
|
+
- ​<!-- 12 -->[docs][joy-ui] Fix row hover prop name in the Table page (#39431) @adrienbrault
|
|
668
|
+
- ​<!-- 11 -->[docs][joy-ui] Fix color inversion demos (#39403) @danilo-leal
|
|
669
|
+
- ​<!-- 10 -->[docs][material-ui] Remove irrelevant TODO from Snackbar demo (#39396) @ZeeshanTamboli
|
|
670
|
+
- ​<!-- 06 -->[docs][material-ui][Table] Bug in "Sorting & Selecting" demo (#39426) @codewithrabeeh
|
|
671
|
+
- ​<!-- 05 -->[docs][joy-ui][typography] Update docs after lineHeight changes (#39366) @zanivan
|
|
672
|
+
|
|
673
|
+
### Core
|
|
674
|
+
|
|
675
|
+
- ​<!-- 24 -->[core] Fix multiple typos across the repo (#39422) @parikshitadhikari
|
|
676
|
+
- ​<!-- 18 -->[docs-infra] Add refinements to the API content design (#39425) @danilo-leal
|
|
677
|
+
- ​<!-- 17 -->[docs-infra] Add a min height to the layout component (#39416) @danilo-leal
|
|
678
|
+
- ​<!-- 16 -->[docs-infra] Prevent horizontal scroll in the TOC (#39417) @danilo-leal
|
|
679
|
+
- ​<!-- 15 -->[docs-infra] Add a collapsible list & table views to the API content display (#38265) @alexfauquette
|
|
680
|
+
- ​<!-- 14 -->[docs-infra] Adjust the `kbd` tag styles (#39397) @danilo-leal
|
|
681
|
+
- ​<!-- 13 -->[docs-infra] Fix strong style regression (#39384) @oliviertassinari
|
|
682
|
+
- ​<!-- 04 -->[website] Add the LinkedIn profile to the contributors section on the About page (#39455) @chhawinder
|
|
683
|
+
- ​<!-- 03 -->[website] Update new role template (#39386) @oliviertassinari
|
|
684
|
+
- ​<!-- 02 -->[website] Add stray design fine-tunning to the Pricing page (#39472) @danilo-leal
|
|
685
|
+
- ​<!-- 01 -->[website] Fix career anchor link to perks & benefits @oliviertassinari
|
|
686
|
+
|
|
687
|
+
All contributors of this release in alphabetical order: @adrienbrault, @alexfauquette, @Best-Sardar, @BreakBB, @brijeshb42, @chhawinder, @christophermorin, @codewithrabeeh, @danilo-leal, @DarhkVoyd, @devuser200, @michaldudak, @mnajdova, @oliviertassinari, @parikshitadhikari, @samuelsycamore, @Semigradsky, @Simer13, @siriwatknp, @TheNatkat, @uuxxx, @vineetjk, @zanivan, @ZeeshanTamboli
|
|
688
|
+
|
|
3
689
|
## 5.14.13
|
|
4
690
|
|
|
5
691
|
<!-- generated comparing v5.14.12..master -->
|
|
@@ -607,7 +1293,7 @@ A big thanks to the 21 contributors who made this release possible. Here are som
|
|
|
607
1293
|
|
|
608
1294
|
### Core
|
|
609
1295
|
|
|
610
|
-
- [
|
|
1296
|
+
- [changelog] Fix issues in highlight @oliviertassinari
|
|
611
1297
|
- [core] Remove redundant `@material-ui/` aliases from regression test webpack config (#38574) @ZeeshanTamboli
|
|
612
1298
|
- [core] Fix CI error @oliviertassinari
|
|
613
1299
|
- [core] Remove unnecessary Box (#38461) @oliviertassinari
|
|
@@ -753,7 +1439,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
753
1439
|
A codemod is provided to help with the migration:
|
|
754
1440
|
|
|
755
1441
|
```bash
|
|
756
|
-
npx @mui/codemod v5.0.0/base-use-named-exports <path>
|
|
1442
|
+
npx @mui/codemod@latest v5.0.0/base-use-named-exports <path>
|
|
757
1443
|
```
|
|
758
1444
|
|
|
759
1445
|
#### Changes
|
|
@@ -1266,7 +1952,7 @@ A big thanks to the 25 contributors who made this release possible. Here are som
|
|
|
1266
1952
|
- ​<!-- 20 -->[docs-infra] Fix demos border radius (#37658) @oliviertassinari
|
|
1267
1953
|
- ​<!-- 19 -->[docs-infra] Add analyticsTags to Algolia (#37600) @Janpot
|
|
1268
1954
|
- ​<!-- 18 -->[docs-infra] Simplify product id handling (#37593) @oliviertassinari
|
|
1269
|
-
- ​<!-- 35 -->[
|
|
1955
|
+
- ​<!-- 35 -->[changelog] Add missing release date for v5.13.5 @oliviertassinari
|
|
1270
1956
|
- ​<!-- 16 -->[examples] Shell command fix in the readme file of material-next-ts example (#37675) @bablukpik
|
|
1271
1957
|
- ​<!-- 15 -->[examples] Next.js v13 app router with Material UI (#37315) @smo043
|
|
1272
1958
|
|
|
@@ -1635,7 +2321,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
1635
2321
|
There is codemod that you can run in your project to do the transformation:
|
|
1636
2322
|
|
|
1637
2323
|
```bash
|
|
1638
|
-
npx @mui/codemod v5.0.0/base-remove-component-prop <path>
|
|
2324
|
+
npx @mui/codemod@latest v5.0.0/base-remove-component-prop <path>
|
|
1639
2325
|
```
|
|
1640
2326
|
|
|
1641
2327
|
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).
|
|
@@ -1734,7 +2420,7 @@ A big thanks to the 12 contributors who made this release possible. Here are som
|
|
|
1734
2420
|
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:
|
|
1735
2421
|
|
|
1736
2422
|
```bash
|
|
1737
|
-
npx @mui/codemod v5.0.0/base-remove-unstyled-suffix <path>
|
|
2423
|
+
npx @mui/codemod@latest v5.0.0/base-remove-unstyled-suffix <path>
|
|
1738
2424
|
```
|
|
1739
2425
|
|
|
1740
2426
|
#### Changes
|
|
@@ -3013,7 +3699,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
|
|
|
3013
3699
|
- [docs] Improve line-height readability (#35387) @oliviertassinari
|
|
3014
3700
|
- [docs] Improve a bit the Composition docs (#35329) @oliviertassinari
|
|
3015
3701
|
- [docs] Refactor `ToggleButtonSizes` demo (#35375) @Armanio
|
|
3016
|
-
- [docs] Standardize the usage of callouts in the
|
|
3702
|
+
- [docs] Standardize the usage of callouts in the docs (#35361) @samuelsycamore
|
|
3017
3703
|
- [docs] Format feedback to add a link to the commented section (#35381) @alexfauquette
|
|
3018
3704
|
- [docs] Direct users from Material UI to Base UI for duplicated components (#35293) @samuelsycamore
|
|
3019
3705
|
- [docs] Fix typo in FormControl API docs (#35449) @Spanishiwa
|
|
@@ -3379,7 +4065,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
3379
4065
|
- ​<!-- 16 -->[docs] Fix typo in docs title (#34926) @PunitSoniME
|
|
3380
4066
|
- ​<!-- 25 -->[docs] Fix missing emotion prefixes (#34958) @oliviertassinari
|
|
3381
4067
|
- ​<!-- 26 -->[docs] Improve UI display for copy code (#34950) @oliviertassinari
|
|
3382
|
-
- ​<!-- 15 -->[docs] Standardize all
|
|
4068
|
+
- ​<!-- 15 -->[docs] Standardize all "Usage" pages (#34183) @samuelsycamore
|
|
3383
4069
|
- ​<!-- 14 -->[docs] Update templates' readme files to include required dependencies (#34757) @michaldudak
|
|
3384
4070
|
- ​<!-- 13 -->[docs] Fix inconsistent theme colors when applying custom colors in playground (#34866) @cherniavskii
|
|
3385
4071
|
- ​<!-- 12 -->[docs] Fix typo in bottom-navigation.md (#34884) @RoodyCode
|
|
@@ -3745,7 +4431,7 @@ A big thanks to the 21 contributors who made this release possible. Here are som
|
|
|
3745
4431
|
- [docs] Update the guide for migrating to TSS (#34417) @garronej
|
|
3746
4432
|
- [docs] Fix typo in `Grid` docs (#34475) @Dustin-Digitar
|
|
3747
4433
|
- [docs] Fix typo in `Back to top` section in AppBar docs (#34479) @Dustin-Digitar
|
|
3748
|
-
- [docs] Standardize all
|
|
4434
|
+
- [docs] Standardize all "Installation" pages (#34168) @samuelsycamore
|
|
3749
4435
|
- [docs] Fix webpack file name to the standard: `webpack.config.js` (#34446) @CodingItWrong
|
|
3750
4436
|
- [docs] Fix Select `onChange` call (#34408) @siriwatknp
|
|
3751
4437
|
- [docs] Notification for pickers blog - v5 stable (#34400) @joserodolfofreitas
|
|
@@ -6609,7 +7295,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
6609
7295
|
|
|
6610
7296
|
- [blog] MUI X v5 blog post (#29590) @DanailH
|
|
6611
7297
|
- [blog] Polish the Benny Joo joins MUI post (#29697) @oliviertassinari
|
|
6612
|
-
- [
|
|
7298
|
+
- [changelog] Explain why we do breaking changes @oliviertassinari
|
|
6613
7299
|
- [core] Update latest issue template for codesandbox CI (#29783) @eps1lon
|
|
6614
7300
|
- [core] Ensure `@mui/core` is an alias for `@mui/base` (#29762) @eps1lon
|
|
6615
7301
|
- [docs] Fix broken Next and Previous links (#29711) @scallaway
|
|
@@ -9852,7 +10538,7 @@ The prop didn't solve any important problem better than any of its alternatives
|
|
|
9852
10538
|
|
|
9853
10539
|
### Core
|
|
9854
10540
|
|
|
9855
|
-
- ​<!-- 01 -->[
|
|
10541
|
+
- ​<!-- 01 -->[changelog] Better document breaking changes @oliviertassinari
|
|
9856
10542
|
- ​<!-- 05 -->[core] Modernize icons `builder:src` (#25137) @eps1lon
|
|
9857
10543
|
- ​<!-- 04 -->[core] Properly use BABEL_ENV test and development (#25139) @eps1lon
|
|
9858
10544
|
- ​<!-- 15 -->[test] Add (manual) visual regression test for icons (#25160) @eps1lon
|
|
@@ -9875,7 +10561,7 @@ A big thanks to the 26 contributors who made this release possible. Here are som
|
|
|
9875
10561
|
This is a follow-up effort after we have merged `material-ui-pickers`. The components are written in TypeScript which required us to upgrade our infra.
|
|
9876
10562
|
- 👌 Improve the Slider thumb and track animation (#24968) @remyoudemans.
|
|
9877
10563
|
The thumb is now moving with a light transition between different values unless it's dragged.
|
|
9878
|
-
<img src="https://user-images.githubusercontent.com/3165635/109394906-b7405a00-7929-11eb-829a-3b5246c30c08.gif" width="412" height="110" />
|
|
10564
|
+
<img src="https://user-images.githubusercontent.com/3165635/109394906-b7405a00-7929-11eb-829a-3b5246c30c08.gif" width="412" height="110" alt="thumb-animation" />
|
|
9879
10565
|
- 💅 Convert 5 components with custom colors support (#25099, #25088) @mngu.
|
|
9880
10566
|
This change makes it easier to leverage custom palettes
|
|
9881
10567
|
- And many more 🐛 bug fixes and 📚 improvements.
|
|
@@ -10602,7 +11288,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
10602
11288
|
<Typography variant="poster">poster</Typography>;
|
|
10603
11289
|
```
|
|
10604
11290
|
|
|
10605
|
-
[A full demo](https://codesandbox.io/
|
|
11291
|
+
[A full demo](https://codesandbox.io/p/sandbox/fontsizetheme-material-demo-forked-l9u05?file=/demo.tsx:725-773)
|
|
10606
11292
|
|
|
10607
11293
|
- 📚 Add a shortcut to open the Algolia search (#23959) @hmaddisb.
|
|
10608
11294
|
- And many more 🐛 bug fixes and 📚 improvements.
|
|
@@ -11796,7 +12482,7 @@ Here are some highlights ✨:
|
|
|
11796
12482
|
|
|
11797
12483
|
You can find a [new version](https://mui.com/components/slider-styled/) of the slider in the lab powered by [emotion](https://emotion.sh/).
|
|
11798
12484
|
|
|
11799
|
-
In the event that you are already using styled-components in your application, you can swap emotion for styled-components 💅. Check [this CodeSandbox](https://codesandbox.io/
|
|
12485
|
+
In the event that you are already using styled-components in your application, you can swap emotion for styled-components 💅. Check [this CodeSandbox](https://codesandbox.io/p/sandbox/sliderstyled-with-styled-components-forked-olc27?file=/package.json) for a demo. It relies on aliases to prevent any bundle size overhead.
|
|
11800
12486
|
|
|
11801
12487
|
The new styling solution saves 2kB gzipped in the bundle compared to JSS, and about 14 kB gzipped if you were already using emotion or styled-components.
|
|
11802
12488
|
|
package/index.d.ts
CHANGED
|
@@ -108,7 +108,7 @@ export interface CSSObject
|
|
|
108
108
|
Omit<CSSOthersObject, 'variants'> {}
|
|
109
109
|
|
|
110
110
|
interface CSSObjectWithVariants<Props> extends Omit<CSSObject, 'variants'> {
|
|
111
|
-
variants: Array<{ props: Props;
|
|
111
|
+
variants: Array<{ props: Props; style: CSSObject }>;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
export type FalseyValue = undefined | null | false;
|
|
@@ -154,7 +154,7 @@ type StyledComponentPropsWithAs<
|
|
|
154
154
|
|
|
155
155
|
export type StyledComponent<
|
|
156
156
|
C extends keyof JSX.IntrinsicElements | React.ComponentType<any>,
|
|
157
|
-
T extends object,
|
|
157
|
+
T extends object = {},
|
|
158
158
|
O extends object = {},
|
|
159
159
|
A extends keyof any = never,
|
|
160
160
|
> = // the "string" allows this to be used as an object key
|
|
@@ -166,14 +166,20 @@ export type StyledComponent<
|
|
|
166
166
|
// any doesn't count as assignable to never in the extends clause, and we default A to never
|
|
167
167
|
export type AnyStyledComponent =
|
|
168
168
|
| StyledComponent<any, any, any, any>
|
|
169
|
-
| StyledComponent<any, any, any
|
|
169
|
+
| StyledComponent<any, any, any>
|
|
170
|
+
| React.FunctionComponent<any>
|
|
171
|
+
| React.ComponentType<any>;
|
|
170
172
|
|
|
171
|
-
export type StyledComponentInnerComponent<C extends
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
173
|
+
export type StyledComponentInnerComponent<C extends AnyStyledComponent> = C extends StyledComponent<
|
|
174
|
+
infer I,
|
|
175
|
+
any,
|
|
176
|
+
any,
|
|
177
|
+
any
|
|
178
|
+
>
|
|
179
|
+
? I
|
|
180
|
+
: C extends StyledComponent<infer I, any, any>
|
|
181
|
+
? I
|
|
182
|
+
: C;
|
|
177
183
|
|
|
178
184
|
export type StyledComponentInnerOtherProps<C extends AnyStyledComponent> =
|
|
179
185
|
C extends StyledComponent<any, any, infer O, any>
|
|
@@ -274,37 +280,97 @@ export interface ThemedStyledFunction<
|
|
|
274
280
|
A extends keyof any = never,
|
|
275
281
|
> extends ThemedStyledFunctionBase<C, T, O, A> {}
|
|
276
282
|
|
|
283
|
+
export type CreateStyledComponent<
|
|
284
|
+
ComponentProps extends {},
|
|
285
|
+
SpecificComponentProps extends {} = {},
|
|
286
|
+
JSXProps extends {} = {},
|
|
287
|
+
T extends object = {},
|
|
288
|
+
> = ThemedStyledFunction<React.ComponentType<ComponentProps>, T, SpecificComponentProps & JSXProps>;
|
|
289
|
+
|
|
277
290
|
// Config to be used with withConfig
|
|
278
291
|
export interface StyledConfig<O extends object = {}> {
|
|
279
292
|
// TODO: Add all types from the original StyledComponentWrapperProperties
|
|
280
293
|
componentId?: string;
|
|
281
294
|
displayName?: string;
|
|
295
|
+
label?: string;
|
|
296
|
+
target?: string;
|
|
282
297
|
shouldForwardProp?:
|
|
283
298
|
| ((prop: keyof O, defaultValidatorFn: (prop: keyof O) => boolean) => boolean)
|
|
284
299
|
| undefined;
|
|
285
300
|
}
|
|
286
301
|
|
|
302
|
+
/** Same as StyledConfig but shouldForwardProp must be a type guard */
|
|
303
|
+
export interface FilteringStyledOptions<Props, ForwardedProps extends keyof Props = keyof Props> {
|
|
304
|
+
componentId?: string;
|
|
305
|
+
displayName?: string;
|
|
306
|
+
label?: string;
|
|
307
|
+
shouldForwardProp?(propName: PropertyKey): propName is ForwardedProps;
|
|
308
|
+
target?: string;
|
|
309
|
+
}
|
|
310
|
+
|
|
287
311
|
// same as ThemedBaseStyledInterface in styled-components, but with added options & common props for MUI components
|
|
288
312
|
export interface ThemedBaseStyledInterface<
|
|
289
313
|
MUIStyledCommonProps extends object,
|
|
290
314
|
MuiStyledOptions extends object,
|
|
291
|
-
|
|
292
|
-
> extends ThemedStyledComponentFactories<
|
|
293
|
-
<
|
|
315
|
+
Theme extends object,
|
|
316
|
+
> extends ThemedStyledComponentFactories<Theme> {
|
|
317
|
+
<
|
|
318
|
+
C extends React.ComponentClass<React.ComponentProps<C>>,
|
|
319
|
+
ForwardedProps extends keyof React.ComponentProps<C> = keyof React.ComponentProps<C>,
|
|
320
|
+
>(
|
|
294
321
|
component: C,
|
|
295
|
-
options
|
|
296
|
-
):
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
322
|
+
options: FilteringStyledOptions<React.ComponentProps<C>, ForwardedProps> & MuiStyledOptions,
|
|
323
|
+
): CreateStyledComponent<
|
|
324
|
+
Pick<PropsOf<C>, ForwardedProps> & MUIStyledCommonProps,
|
|
325
|
+
{},
|
|
326
|
+
{
|
|
327
|
+
ref?: React.Ref<InstanceType<C>>;
|
|
328
|
+
},
|
|
329
|
+
Theme
|
|
301
330
|
>;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
// causes tests to fail in TS 3.1
|
|
331
|
+
|
|
332
|
+
<C extends React.ComponentClass<React.ComponentProps<C>>>(
|
|
305
333
|
component: C,
|
|
306
|
-
options?: StyledConfig<
|
|
307
|
-
):
|
|
334
|
+
options?: StyledConfig<PropsOf<C> & MUIStyledCommonProps> & MuiStyledOptions,
|
|
335
|
+
): CreateStyledComponent<
|
|
336
|
+
PropsOf<C> & MUIStyledCommonProps,
|
|
337
|
+
{},
|
|
338
|
+
{
|
|
339
|
+
ref?: React.Ref<InstanceType<C>>;
|
|
340
|
+
},
|
|
341
|
+
Theme
|
|
342
|
+
>;
|
|
343
|
+
|
|
344
|
+
<
|
|
345
|
+
C extends React.JSXElementConstructor<React.ComponentProps<C>>,
|
|
346
|
+
ForwardedProps extends keyof React.ComponentProps<C> = keyof React.ComponentProps<C>,
|
|
347
|
+
>(
|
|
348
|
+
component: C,
|
|
349
|
+
options: FilteringStyledOptions<React.ComponentProps<C>, ForwardedProps> & MuiStyledOptions,
|
|
350
|
+
): CreateStyledComponent<Pick<PropsOf<C>, ForwardedProps> & MUIStyledCommonProps, {}, {}, Theme>;
|
|
351
|
+
|
|
352
|
+
<C extends React.JSXElementConstructor<React.ComponentProps<C>>>(
|
|
353
|
+
component: C,
|
|
354
|
+
options?: StyledConfig<PropsOf<C> & MUIStyledCommonProps> & MuiStyledOptions,
|
|
355
|
+
): CreateStyledComponent<PropsOf<C> & MUIStyledCommonProps, {}, {}, Theme>;
|
|
356
|
+
|
|
357
|
+
<
|
|
358
|
+
Tag extends keyof JSX.IntrinsicElements,
|
|
359
|
+
ForwardedProps extends keyof JSX.IntrinsicElements[Tag] = keyof JSX.IntrinsicElements[Tag],
|
|
360
|
+
>(
|
|
361
|
+
tag: Tag,
|
|
362
|
+
options: FilteringStyledOptions<JSX.IntrinsicElements[Tag], ForwardedProps> & MuiStyledOptions,
|
|
363
|
+
): CreateStyledComponent<
|
|
364
|
+
MUIStyledCommonProps,
|
|
365
|
+
Pick<JSX.IntrinsicElements[Tag], ForwardedProps>,
|
|
366
|
+
{},
|
|
367
|
+
Theme
|
|
368
|
+
>;
|
|
369
|
+
|
|
370
|
+
<Tag extends keyof JSX.IntrinsicElements>(
|
|
371
|
+
tag: Tag,
|
|
372
|
+
options?: StyledConfig<MUIStyledCommonProps> & MuiStyledOptions,
|
|
373
|
+
): CreateStyledComponent<MUIStyledCommonProps, JSX.IntrinsicElements[Tag], {}, Theme>;
|
|
308
374
|
}
|
|
309
375
|
|
|
310
376
|
export type CreateMUIStyled<
|
|
@@ -312,3 +378,22 @@ export type CreateMUIStyled<
|
|
|
312
378
|
MuiStyledOptions extends object = {},
|
|
313
379
|
T extends object = {},
|
|
314
380
|
> = ThemedBaseStyledInterface<MUIStyledCommonProps, MuiStyledOptions, AnyIfEmpty<T>>;
|
|
381
|
+
|
|
382
|
+
export type PropsOf<C extends keyof JSX.IntrinsicElements | React.JSXElementConstructor<any>> =
|
|
383
|
+
JSX.LibraryManagedAttributes<C, React.ComponentProps<C>>;
|
|
384
|
+
|
|
385
|
+
export interface MUIStyledComponent<
|
|
386
|
+
ComponentProps extends {},
|
|
387
|
+
SpecificComponentProps extends {} = {},
|
|
388
|
+
JSXProps extends {} = {},
|
|
389
|
+
> extends React.FC<ComponentProps & SpecificComponentProps & JSXProps> {
|
|
390
|
+
withComponent<C extends React.ComponentClass<React.ComponentProps<C>>>(
|
|
391
|
+
component: C,
|
|
392
|
+
): MUIStyledComponent<ComponentProps & PropsOf<C>, {}, { ref?: React.Ref<InstanceType<C>> }>;
|
|
393
|
+
withComponent<C extends React.ComponentType<React.ComponentProps<C>>>(
|
|
394
|
+
component: C,
|
|
395
|
+
): MUIStyledComponent<ComponentProps & PropsOf<C>>;
|
|
396
|
+
withComponent<Tag extends keyof JSX.IntrinsicElements>(
|
|
397
|
+
tag: Tag,
|
|
398
|
+
): MUIStyledComponent<ComponentProps, JSX.IntrinsicElements[Tag]>;
|
|
399
|
+
}
|
package/index.js
CHANGED
package/legacy/index.js
CHANGED
package/modern/index.js
CHANGED
package/node/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/styled-engine-sc v6.0.0-alpha.
|
|
2
|
+
* @mui/styled-engine-sc v6.0.0-alpha.11
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -46,8 +46,8 @@ Object.defineProperty(exports, "keyframes", {
|
|
|
46
46
|
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
47
47
|
var _StyledEngineProvider = _interopRequireDefault(require("./StyledEngineProvider"));
|
|
48
48
|
var _GlobalStyles = _interopRequireDefault(require("./GlobalStyles"));
|
|
49
|
-
function _getRequireWildcardCache(
|
|
50
|
-
function _interopRequireWildcard(
|
|
49
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
50
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
51
51
|
function styled(tag, options) {
|
|
52
52
|
let stylesFactory;
|
|
53
53
|
if (options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/styled-engine-sc",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "styled() API wrapper package for styled-components.",
|
|
@@ -23,11 +23,12 @@
|
|
|
23
23
|
"homepage": "https://mui.com/material-ui/guides/styled-components/",
|
|
24
24
|
"funding": {
|
|
25
25
|
"type": "opencollective",
|
|
26
|
-
"url": "https://opencollective.com/mui"
|
|
26
|
+
"url": "https://opencollective.com/mui-org"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@babel/runtime": "^7.23.
|
|
29
|
+
"@babel/runtime": "^7.23.6",
|
|
30
30
|
"csstype": "^3.1.2",
|
|
31
|
+
"hoist-non-react-statics": "^3.3.2",
|
|
31
32
|
"prop-types": "^15.8.1"
|
|
32
33
|
},
|
|
33
34
|
"peerDependencies": {
|