@mui/lab 5.0.0-alpha.116 β†’ 5.0.0-alpha.118

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,165 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.11.7
4
+
5
+ <!-- generated comparing v5.11.6..master -->
6
+
7
+ _Jan 31, 2023_
8
+
9
+ A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - @siriwatknp added `Table` component to Joy UI (#35872)
12
+ - many other πŸ› bug fixes and πŸ“š documentation improvements
13
+
14
+ ### `@mui/material@5.11.7`
15
+
16
+ - &#8203;<!-- 30 -->[Autocomplete] Prevent reset scroll position when new options are added (#35735) @sai6855
17
+ - &#8203;<!-- 24 -->[CssVarsProvider] Skip `unstable_sxConfig` variables (#35932) @siriwatknp
18
+ - &#8203;<!-- 10 -->[InputLabel] Add missing `component` type (#35852) @sai6855
19
+ - &#8203;<!-- 05 -->[Tooltip] Fix tooltip position (#35909) @marktoman
20
+
21
+ ### `@mui/base@5.0.0-alpha.116`
22
+
23
+ - &#8203;<!-- 29 -->[ListboxUnstyled] Fix option state highlighted to prevent unnecessary focus (#35838) @SaidMarar
24
+
25
+ ### `@mui/joy@5.0.0-alpha.65`
26
+
27
+ #### Breaking changes
28
+
29
+ - &#8203;<!-- 05 -->[Joy] Replace `Joy[Component]` classname with `Mui[Component]` classname for all slots of components (#35718) @hbjORbj
30
+
31
+ - Renames the classname prefix of all Joy UI components from `'Joy'` to `'Mui'`.
32
+
33
+ ```diff
34
+ <Button
35
+ -sx={{ '& .JoyButton-root': { '& .JoyButton-button': {} } }}
36
+ +sx={{ '& .MuiButton-root': { '& .MuiButton-button': {} } }}
37
+ />
38
+ ```
39
+
40
+ You can use this [codemod](https://github.com/mui/material-ui/blob/master/packages/mui-codemod/README.md#joy-rename-classname-prefix) to help with the migration.
41
+
42
+ - &#8203;<!-- 04 -->[Joy] Replace `row` prop with `orientation` prop in all Joy UI components (#35721) @hbjORbj
43
+
44
+ - Transforms `row` prop to `orientation` prop across `Card`, `List` and `RadioGroup` components in Joy UI.
45
+
46
+ ```diff
47
+ <Card
48
+ -row
49
+ +orientation={"horizontal"}
50
+ />
51
+ ```
52
+
53
+ You can use this [codemod](https://github.com/mui/material-ui/blob/master/packages/mui-codemod/README.md#joy-rename-row-prop) to help with the migration.
54
+
55
+ #### Changes
56
+
57
+ - &#8203;<!-- 26 -->[Joy][Checkbox] Display correct icon in checkbox (#35943) @sai6855
58
+ - &#8203;<!-- 09 -->[Joy] Add `Table` component (#35872) @siriwatknp
59
+ - &#8203;<!-- 08 -->[Joy] Miscellaneous fixes (#35953) @siriwatknp
60
+
61
+ ### Docs
62
+
63
+ - &#8203;<!-- 28 -->[blog] Add RSS feed (#35777) @gorjiali
64
+ - &#8203;<!-- 27 -->[blog] Prevent horizontal scroll on blog posts (#35948) @oliviertassinari
65
+ - &#8203;<!-- 23 -->[docs] Add to codemod README about an added script (#35999) @hbjORbj
66
+ - &#8203;<!-- 22 -->[docs] Add a warning about to clear the local storage when `defaultMode` changes (#35937) @ArthurPedroti
67
+ - &#8203;<!-- 21 -->[docs] Fix Joy UI variables playground (#35950) @siriwatknp
68
+ - &#8203;<!-- 20 -->[docs] Fix typos in base components docs (#35985) @HeVictor
69
+ - &#8203;<!-- 19 -->[docs] Fix event's label reported to GA (#35930) @oliviertassinari
70
+ - &#8203;<!-- 18 -->[docs] Standardize "no longer" / "not documented" callouts in Material UI docs (#35957) @samuelsycamore
71
+ - &#8203;<!-- 17 -->[docs] Revise and expand Joy UI Checkbox doc (#35817) @samuelsycamore
72
+ - &#8203;<!-- 16 -->[docs] Add docs notification to Date and Time Pickers revamped (#35935) @joserodolfofreitas
73
+ - &#8203;<!-- 15 -->[docs] Update community theme builder to forked updated one (#35928) @idebeijer
74
+ - &#8203;<!-- 14 -->[docs] Add Joy default theme viewer (#35554) @siriwatknp
75
+ - &#8203;<!-- 13 -->[docs][joy] Fixed a typo in `Using icon libraries` page (#35989) @badalsaibo
76
+ - &#8203;<!-- 12 -->[docs][joy] Removed Badge info from Chip docs (#35955) @Vivek-Prajapatii
77
+ - &#8203;<!-- 11 -->[docs][system] Fix border color of Boxes in demos of `Configure the sx prop` page in dark mode (#35961) @ZeeshanTamboli
78
+
79
+ ### Core
80
+
81
+ - &#8203;<!-- 25 -->[core] Boolean props always have a default value of `false` in API docs (#35913) @hbjORbj
82
+ - &#8203;<!-- 04 -->[core] Improve types for usePreviousProps (#35833) @sai6855
83
+ - &#8203;<!-- 03 -->[website] Fix 404 link to store (#35973) @oliviertassinari
84
+ - &#8203;<!-- 02 -->[website] Fix 302 of diamond sponsor link @oliviertassinari
85
+ - &#8203;<!-- 01 -->[website] Fix outdated YouTube link @oliviertassinari
86
+
87
+ All contributors of this release in alphabetical order: @ArthurPedroti, @badalsaibo, @gorjiali, @hbjORbj, @HeVictor, @idebeijer, @joserodolfofreitas, @marktoman, @oliviertassinari, @sai6855, @SaidMarar, @samuelsycamore, @siriwatknp, @Vivek-Prajapatii, @ZeeshanTamboli
88
+
89
+ ## 5.11.6
90
+
91
+ <!-- generated comparing v5.11.5..master -->
92
+
93
+ _Jan 23, 2023_
94
+
95
+ A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
96
+
97
+ - @ZeeshanTamboli improved the logic for handling the value label in the `SliderUnstyled` (#35805)
98
+ - many other πŸ› bug fixes and πŸ“š documentation improvements
99
+
100
+ ### `@mui/material@5.11.6`
101
+
102
+ - &#8203;<!-- 15 -->[Box] Fix usage of not supported features in TypeScript 3.5 (#35877) @mnajdova
103
+ - &#8203;<!-- 14 -->[Button] Fix border color for secondary disabled button (#35866) @SaidMarar
104
+ - &#8203;<!-- 03 -->[SwipeableDrawer] Add callback to customise touchstart ignore for swipeable drawer (#30759) @tech-meppem
105
+
106
+ ### `@mui/base@5.0.0-alpha.115`
107
+
108
+ #### Breaking changes
109
+
110
+ - &#8203;<!-- 04 -->[SliderUnstyled] Improved logic for displaying the value label (#35805) @ZeeshanTamboli
111
+
112
+ - The `valueLabelDisplay` prop is removed from `SliderUnstyled`. The prop was not working as intended in `SliderUnstyled` (See #35398). You can instead provide a `valueLabel` slot with the `slots` prop API to show the value label:
113
+
114
+ ```diff
115
+ - <SliderUnstyled valueLabelDisplay="on" />
116
+ + <SliderUnstyled slots={{ valueLabel: SliderValueLabel }} />
117
+ ```
118
+
119
+ The following demo shows how to show a value label when it is hovered over with the thumb: https://mui.com/base/react-slider/#value-label
120
+
121
+ - The following classes are removed from `sliderUnstyledClasses` since they are not needed for the value label:
122
+
123
+ ```diff
124
+ - valueLabel
125
+ - valueLabelOpen
126
+ - valueLabelCircle
127
+ - valueLabelLabel
128
+ ```
129
+
130
+ In the custom value label component, you can define your own classNames and target them with CSS.
131
+
132
+ - The `SliderValueLabelUnstyled` component is removed from SliderUnstyled. You should provide your own custom component for the value label.
133
+
134
+ - To avoid using `React.cloneElement` API in value label, the component hierarchy structure of the value label is changed.Β The value label is now inside the Thumb slot - `Thumb` -> `Input`, `ValueLabel`.
135
+
136
+ #### Changes
137
+
138
+ - &#8203;<!-- 05 -->[InputUnstyled] Fix externally provided `inputRef` is ignored (#35807) @sai6855
139
+
140
+ ### `@mui/joy@5.0.0-alpha.64`
141
+
142
+ - &#8203;<!-- 17 -->[Avatar][joy] Remove `imgProps` prop and add Codemod script for migration (#35859) @hbjORbj
143
+
144
+ ### Docs
145
+
146
+ - &#8203;<!-- 16 -->[blog] Date and time pickers revamped (#35486) @joserodolfofreitas
147
+ - &#8203;<!-- 10 -->[docs] Fix incorrect breakpoint use (#34948) @rosita-dmello
148
+ - &#8203;<!-- 09 -->[docs] Replace react-virtualized with react-virtuoso in Table (#35700) @petyosi
149
+ - &#8203;<!-- 08 -->[docs] Fix account menu demo not closing with keyboard. (#35870) @mj12albert
150
+ - &#8203;<!-- 07 -->[docs] Fix typos in the docs of Joy UI (#35876) @HeVictor
151
+ - &#8203;<!-- 06 -->[docs] Fix wording in `Color` page (#35873) @oliv37
152
+
153
+ ### Core
154
+
155
+ - &#8203;<!-- 13 -->[core] Fix release changelog to handle commits with empty author field (#35921) @mnajdova
156
+ - &#8203;<!-- 12 -->[core] Revert `docs-utilities` migration to TypeScript and fix type (#35881) @ZeeshanTamboli
157
+ - &#8203;<!-- 11 -->[core] Migrate internal `docs-utilities` package to TypeScript (#35846) @ZeeshanTamboli
158
+ - &#8203;<!-- 02 -->[website] Designer don't spend their time writing code @oliviertassinari
159
+ - &#8203;<!-- 01 -->[website] Emphasis the technical background need for this role @oliviertassinari
160
+
161
+ All contributors of this release in alphabetical order: @HeVictor, @hbjORbj, @joserodolfofreitas, @mj12albert, @mnajdova, @oliv37, @oliviertassinari, @petyosi, @rosita-dmello, @sai6855, @SaidMarar, @tech-meppem, @ZeeshanTamboli
162
+
3
163
  ## 5.11.5
4
164
 
5
165
  <!-- generated comparing v5.11.4..master -->
@@ -30,6 +30,7 @@ export interface TreeItemProps
30
30
  ContentProps?: React.HTMLAttributes<HTMLElement>;
31
31
  /**
32
32
  * If `true`, the node is disabled.
33
+ * @default false
33
34
  */
34
35
  disabled?: boolean;
35
36
  /**
@@ -326,6 +326,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes /* remove-proptypes *
326
326
  ContentProps: PropTypes.object,
327
327
  /**
328
328
  * If `true`, the node is disabled.
329
+ * @default false
329
330
  */
330
331
  disabled: PropTypes.bool,
331
332
  /**
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.116
2
+ * @mui/lab v5.0.0-alpha.118
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -323,6 +323,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes /* remove-proptypes *
323
323
  ContentProps: PropTypes.object,
324
324
  /**
325
325
  * If `true`, the node is disabled.
326
+ * @default false
326
327
  */
327
328
  disabled: PropTypes.bool,
328
329
  /**
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.116
2
+ * @mui/lab v5.0.0-alpha.118
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -326,6 +326,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes /* remove-proptypes *
326
326
  ContentProps: PropTypes.object,
327
327
  /**
328
328
  * If `true`, the node is disabled.
329
+ * @default false
329
330
  */
330
331
  disabled: PropTypes.bool,
331
332
  /**
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.116
2
+ * @mui/lab v5.0.0-alpha.118
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -334,6 +334,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes /* remove-proptypes *
334
334
  ContentProps: _propTypes.default.object,
335
335
  /**
336
336
  * If `true`, the node is disabled.
337
+ * @default false
337
338
  */
338
339
  disabled: _propTypes.default.bool,
339
340
  /**
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.116
2
+ * @mui/lab v5.0.0-alpha.118
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.116",
3
+ "version": "5.0.0-alpha.118",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Laboratory for new MUI modules.",
@@ -48,10 +48,10 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@babel/runtime": "^7.20.7",
51
- "@mui/base": "5.0.0-alpha.114",
52
- "@mui/system": "^5.11.5",
51
+ "@mui/base": "5.0.0-alpha.116",
52
+ "@mui/system": "^5.11.7",
53
53
  "@mui/types": "^7.2.3",
54
- "@mui/utils": "^5.11.2",
54
+ "@mui/utils": "^5.11.7",
55
55
  "clsx": "^1.2.1",
56
56
  "prop-types": "^15.8.1",
57
57
  "react-is": "^18.2.0"