@mui/lab 5.0.0-alpha.126 → 5.0.0-alpha.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,147 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.12.2
4
+
5
+ <!-- generated comparing v5.12.1..master -->
6
+
7
+ _Apr 25, 2023_
8
+
9
+ A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - ⚠️ **[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.
12
+ - 🐛 bug fixes and 📚 documentation improvements.
13
+
14
+ ### `@mui/material@5.12.2`
15
+
16
+ - &#8203;<!-- 10 -->[FormControl] Fix `filled` when value is set through `inputProps` (#36741) @sai6855
17
+ - &#8203;<!-- 07 -->[Slider] `onChange` handler should be called only when value has changed (#36706) @gitstart
18
+ - &#8203;<!-- 06 -->[Table] Fix `Sorting & Selecting` tables (#36898) @oliviertassinari
19
+
20
+ ### `@mui/base@5.0.0-alpha.127`
21
+
22
+ #### Breaking changes
23
+
24
+ - &#8203;<!-- 27 -->[base] Remove unstyled suffix from Base components + Codemod script (#36873) @hbjORbj
25
+
26
+ The `Unstyled` suffix has been removed from all Base UI component names, including names of types and other related identifiers.
27
+
28
+ 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:
29
+
30
+ ```sh
31
+ npx @mui/codemod v5.0.0/base-remove-unstyled-suffix <path>
32
+ ```
33
+
34
+ #### Changes
35
+
36
+ - &#8203;<!-- 26 -->[codemod][base] Improve the removal of `component` prop codemod script (#36952) @hbjORbj
37
+ - &#8203;<!-- 25 -->[codemod][base] Write a migration script for removal of `component` prop from components (#36831) @hbjORbj
38
+ - &#8203;<!-- 24 -->[Base][useButton] Allow useButton params to be completely optional (#36922) @mj12albert
39
+
40
+ ### `@mui/joy@5.0.0-alpha.77`
41
+
42
+ - &#8203;<!-- 23 -->[Joy][Chip] Chip button not showing up in Firefox browser (#36930) @TakhyunKim
43
+ - &#8203;<!-- 09 -->[Joy] Add `invertedColors` to Menu and Alert (#36975) @siriwatknp
44
+ - &#8203;<!-- 08 -->[joy][Select] Set focus visible on select options when navigating with arrow keys (#36689) @gitstart
45
+
46
+ ### Docs
47
+
48
+ - &#8203;<!-- 21 -->[docs] Fix console error introduced by #36408 (#36980) @alexfauquette
49
+ - &#8203;<!-- 20 -->[docs] Add stray Joy UI documentation improvements (#36921) @danilo-leal
50
+ - &#8203;<!-- 19 -->[docs] Add Joy profile dashboard template (#36931) @siriwatknp
51
+ - &#8203;<!-- 18 -->[docs] Fix 404 links (#36969) @oliviertassinari
52
+ - &#8203;<!-- 17 -->[docs] Clarify when bundle size optimization is needed (#36823) @oliviertassinari
53
+ - &#8203;<!-- 16 -->[docs] Fix Chakra UI theme scoping typo (#36950) @mj12albert
54
+ - &#8203;<!-- 15 -->[docs] Add snackbar example using sonner (#36926) @PupoSDC
55
+ - &#8203;<!-- 14 -->[docs] Adjust the Material Icons page design and formatting (#36937) @danilo-leal
56
+ - &#8203;<!-- 13 -->[docs] Allows to customize menu with any icon (#36408) @alexfauquette
57
+ - &#8203;<!-- 12 -->[docs] Add info about passing ref to input element (#36913) @tomaskebrle
58
+ - &#8203;<!-- 11 -->[docs][material] Tabs API section cleanup (#36942) @mnajdova
59
+
60
+ ### Core
61
+
62
+ - &#8203;<!-- 22 -->[core] Fix CI failure on `master` (#37016) @hbjORbj
63
+ - &#8203;<!-- 05 -->[typescript] Add the missing explicit component return types (#36924) @michaldudak
64
+ - &#8203;<!-- 04 -->[website] Update main data grid demo on X landing page (#37001) @cherniavskii
65
+ - &#8203;<!-- 03 -->[website] Design role updates (#36997) @danilo-leal
66
+ - &#8203;<!-- 02 -->[website] X component section improvements (#36598) @danilo-leal
67
+ - &#8203;<!-- 01 -->[website] Developer Advocate role filled @oliviertassinari
68
+
69
+ All contributors of this release in alphabetical order: @alexfauquette, @cherniavskii, @danilo-leal, @gitstart, @hbjORbj, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @PupoSDC, @sai6855, @siriwatknp, @TakhyunKim, @tomaskebrle
70
+
71
+ ## 5.12.1
72
+
73
+ <!-- generated comparing v5.12.0..master -->
74
+
75
+ _Apr 17, 2023_
76
+
77
+ A big thanks to the 16 contributors who made this release possible. This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
78
+
79
+ ### `@mui/material@5.12.1`
80
+
81
+ - &#8203;<!-- 24 -->[Autocomplete] Fix autocomplete left padding (#36649) @mj12albert
82
+ - &#8203;<!-- 17 -->[Button] Fix contained with inherit prop not adapting on dark mode (#34508) @jesrodri
83
+ - &#8203;<!-- 07 -->[FormControlLabel] Add `required` prop (#34207) @emlai
84
+ - &#8203;<!-- 04 -->[Tabs] Fix null reference in ScrollbarSize after unmounting (#36485) @rkdrnf
85
+ - &#8203;<!-- 03 -->[TextField] Fix type error when using `inputTypeSearch` class for `outlined` and `filled` inputs (#36740) @sai6855
86
+ - &#8203;<!-- 02 -->[ThemeProvider] Fix theme proptypes (#36852) @siriwatknp
87
+
88
+ ### `@mui/system@5.12.1`
89
+
90
+ #### Breaking changes
91
+
92
+ - &#8203;<!-- 06 -->[Grid2] Replace context with `cloneElement` (#36399) @siriwatknp
93
+
94
+ `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.
95
+
96
+ #### Changes
97
+
98
+ - &#8203;<!-- 14 -->[CssVarsProvider] Always generate new `css` object (#36853) @siriwatknp
99
+
100
+ ### `@mui/base@5.0.0-alpha.126`
101
+
102
+ #### Breaking changes
103
+
104
+ - &#8203;<!-- 23 -->[base] Refactor the compound components building blocks (#36400) @michaldudak
105
+ Components affected by the changes are:
106
+ - Menu
107
+ - `MenuUnstyledContext` is replaced by `MenuProvider`. The value to pass to the provider is returned by the `useMenu` hook.
108
+ - MenuUnstyled's `onClose` prop is replaced by `onOpenChange`. It has the `open` parameter and is called when a menu is opened or closed
109
+ - Select
110
+ - `SelectUnstyledContext` is replaced by `SelectProvider`. The value to pass to the provider is returned by the `useSelect` hook.
111
+ - `SelectUnstyled`'s popup is permanently mounted.
112
+ - The `defaultOpen` prop was added to the SelectUnstyled. The open/close state can now be controlled or uncontrolled, as a `value`.
113
+ - Tabs
114
+ - `TabsContext` is replaced by `TabsProvider`. The value to pass to the provider is returned by the `useTabs` hook.
115
+ - To deselect all tabs, pass in `null` to Tabs' `value` prop, instead of `false`. This is consistent with how Select works.
116
+ - 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.
117
+
118
+ ### `@mui/joy@5.0.0-alpha.76`
119
+
120
+ - &#8203;<!-- 05 -->[Table][Joy] Replace uses of css selector `*-child` to `*-of-type` (#36839) @keyvanm
121
+
122
+ ### Docs
123
+
124
+ - &#8203;<!-- 25 --> [docs][base] Move styles to the bottom of demos code for `BadgeUnstyled` (#36723) @varunmulay22
125
+ - &#8203;<!-- 22 -->[docs][base] Mention that the hook does not accept any parameters in the `Parameters` section of the API docs (#36773) @ZeeshanTamboli
126
+ - &#8203;<!-- 21 -->[docs][base] Move styles to the bottom of demos code for `ModalUnstyled` (#36580) @gitstart
127
+ - &#8203;<!-- 20 -->[docs][base] Move styles to the bottom of demos code for `Tabs` (#36577) @gitstart
128
+ - &#8203;<!-- 19 -->[docs][base] Move styles to the bottom of demos code for `Popper` (#36578) @gitstart
129
+ - &#8203;<!-- 18 -->[docs][base] Move styles to the bottom of demos code for `TablePagination` (#36593) @gitstart
130
+ - &#8203;<!-- 13 -->[docs] Remove the incorrect info about useButton's ref parameter (#36883) @michaldudak
131
+ - &#8203;<!-- 12 -->[docs] Sync <Stack> between projects (#36785) @oliviertassinari
132
+ - &#8203;<!-- 11 -->[docs] Add guides to overriding component structure in Base UI and Joy UI docs (#34990) @samuelsycamore
133
+ - &#8203;<!-- 10 -->[docs] Content changed from 'row' to 'orientation=horizontal' (#36858) @navedqb
134
+ - &#8203;<!-- 09 -->[docs][Joy] `component`, `slots`, `slotProps` must be visible in Prop table in API docs (#36666) @hbjORbj
135
+ - &#8203;<!-- 08 -->[docs][Select] Fix duplicate ID in small size Select demo (#36792) @sai6855
136
+
137
+ ### Core
138
+
139
+ - &#8203;<!-- 16 -->[core] Use glob to find the test files in parseTest (#36305) @flaviendelangle
140
+ - &#8203;<!-- 15 -->[core] Fix minor SEO issues @oliviertassinari
141
+ - &#8203;<!-- 01 -->[website] Fix visual bug appbar (#36875) @oliviertassinari
142
+
143
+ All contributors of this release in alphabetical order: @emlai, @flaviendelangle, @gitstart, @hbjORbj, @jesrodri, @keyvanm, @michaldudak, @mj12albert, @navedqb, @oliviertassinari, @rkdrnf, @sai6855, @samuelsycamore, @siriwatknp, @varunmulay22, @ZeeshanTamboli
144
+
3
145
  ## 5.12.0
4
146
 
5
147
  <!-- generated comparing v5.11.16..master -->
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.126
2
+ * @mui/lab v5.0.0-alpha.128
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.126
2
+ * @mui/lab v5.0.0-alpha.128
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.126
2
+ * @mui/lab v5.0.0-alpha.128
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.126
2
+ * @mui/lab v5.0.0-alpha.128
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/lab",
3
- "version": "5.0.0-alpha.126",
3
+ "version": "5.0.0-alpha.128",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Laboratory for new MUI modules.",
@@ -48,8 +48,8 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@babel/runtime": "^7.21.0",
51
- "@mui/base": "5.0.0-alpha.125",
52
- "@mui/system": "^5.12.0",
51
+ "@mui/base": "5.0.0-alpha.127",
52
+ "@mui/system": "^5.12.1",
53
53
  "@mui/types": "^7.2.4",
54
54
  "@mui/utils": "^5.12.0",
55
55
  "clsx": "^1.2.1",