@mui/lab 5.0.0-alpha.145 → 5.0.0-alpha.146

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,83 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.14.11
4
+
5
+ <!-- generated comparing v5.14.10..master -->
6
+
7
+ _Sep 26, 2023_
8
+
9
+ A big thanks to the 23 contributors who made this release possible.
10
+ This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
11
+
12
+ ### `@mui/material@5.14.11`
13
+
14
+ - [Autocomplete] Re-export `AutocompleteValue` to make it available from path import (#38638) @vadimka123
15
+ - [Select][material-ui] Missing aria-multiselectable attribute on multiple Select component (#38855) @gitstart
16
+ - [l10n] labelDisplayedRows is added for trTR localization (#39056) @tebersefa
17
+
18
+ ### `@mui/utils@5.14.11`
19
+
20
+ - Support RSC in `isMuiElement` util (#38129) @sai6855
21
+
22
+ ### `@mui/base@5.0.0-beta.17`
23
+
24
+ - [NumberInput] Support adornments (#38900) @anle9650
25
+ - [Menu] Align external props handling for useMenu/MenuButton/MenuItem (#38946) @mj12albert
26
+ - [Select] Align external props handling (#39038) @mj12albert
27
+ - [TextareaAutosize] Simplify logic and add test (#38728) @oliviertassinari
28
+
29
+ ### `@mui/joy@5.0.0-beta.8`
30
+
31
+ - [Button] Fix disabled button styling when component prop is provided (#38996) @sai6855
32
+ - [Drawer] Add missing `JoyDrawer` in theme components (#39074) @Studio384
33
+
34
+ ### `@mui/material-next@6.0.0-alpha.103`
35
+
36
+ - [FormControl] Copy v5 FormControl (#39039) @mj12albert
37
+
38
+ ### `@mui/lab@5.0.0-alpha.146`
39
+
40
+ - [TreeView] Fix JSDoc comments in TreeView and TreeItem (#38874) @jergason
41
+
42
+ ### Docs
43
+
44
+ - Improve focus trap demo (#38985) @oliviertassinari
45
+ - Add Tailwind CSS + plain CSS demo on the Tabs page (#39000) @alisasanib
46
+ - Improve the default theme viewer design (#39049) @danilo-leal
47
+ - Add live demo with CssVarsProvider (#38792) @oliviertassinari
48
+ - Fix wrong hash on Card's page (#39151) @mnajdova
49
+ - Revise the Drawer page (#38988) @danilo-leal
50
+ - Simplify the button's loading indicator demo (#39082) @danilo-leal
51
+ - Fix the Templates link on the Overview page (#39086) @danilo-leal
52
+ - Refine the Sign in template (#38942) @zanivan
53
+ - Add `use-count-up` integration with the Circular Progress (#38952) @anon-phantom
54
+
55
+ ### Core
56
+
57
+ - [blog] Add a company values blog post (#38802) @mikailaread
58
+ - [core] Downgrade lerna to 7.2.0 (#39149) @michaldudak
59
+ - [core] Simplify docs feedback interaction (#39075) @alexfauquette
60
+ - [core] Improve ref type definition (#38903) @oliviertassinari
61
+ - [core] Simplify career (#39112) @oliviertassinari
62
+ - [core] Update Babel types along with source packages (#39070) @michaldudak
63
+ - [core] Add a comment to explain `useEnhancedEffect` (#39035) @Janpot
64
+ - [docs-infra] Fix code removal in table of content (#39165) @alexfauquette
65
+ - [docs-infra] Improve callouts design (#39084) @danilo-leal
66
+ - [docs-infra] Fix key warning in Base UI Slider slots section (#38954) @ZeeshanTamboli
67
+ - [docs-infra] Fix error when redirecting to the root page (#38451) @maheshguntur
68
+ - [docs-infra] Open demo crash in the right repository (#39006) @oliviertassinari
69
+ - [test] Split the test package (#39061) @michaldudak
70
+ - [website] React Engineer - xCharts role (#38976) @DanailH
71
+ - [website] Improve the highlighter component colors (#39087) @danilo-leal
72
+ - [website] Fix Pricing page row hover (#39097) @danilo-leal
73
+ - [website] Fix typo with straight quote @oliviertassinari
74
+ - [website] Sync about page @oliviertassinari
75
+ - [website] Update the about page (#38733) @danilo-leal
76
+ - [website] Small fixes on the X marketing page (#38975) @flaviendelangle
77
+ - [website] Add stray design tweaks to the X page (#38589) @danilo-leal
78
+
79
+ All contributors of this release in alphabetical order: @alexfauquette, @alisasanib, @anle9650, @anon-phantom, @DanailH, @danilo-leal, @DiegoAndai, @flaviendelangle, @gitstart, @Janpot, @jergason, @maheshguntur, @michaldudak, @mikailaread, @mj12albert, @mnajdova, @oliviertassinari, @sai6855, @Studio384, @tebersefa, @vadimka123, @zanivan, @ZeeshanTamboli
80
+
3
81
  ## 5.14.10
4
82
 
5
83
  <!-- generated comparing v5.14.9..master -->
@@ -229,7 +229,7 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
229
229
  let animationFrame;
230
230
  const resizeObserver = new ResizeObserver(() => {
231
231
  // see https://github.com/mui/material-ui/issues/36909
232
- animationFrame = window.requestAnimationFrame(handleResize);
232
+ animationFrame = requestAnimationFrame(handleResize);
233
233
  });
234
234
  if (masonryRef.current) {
235
235
  masonryRef.current.childNodes.forEach(childNode => {
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { TreeItemProps } from '@mui/x-tree-view/TreeItem';
3
3
  /**
4
- * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
4
+ * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
5
5
  * @ignore - do not document.
6
6
  */
7
7
  declare const TreeItem: React.ForwardRefExoticComponent<TreeItemProps & React.RefAttributes<HTMLLIElement>>;
@@ -12,7 +12,7 @@ const warn = () => {
12
12
  };
13
13
 
14
14
  /**
15
- * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
15
+ * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
16
16
  * @ignore - do not document.
17
17
  */
18
18
  const TreeItem = /*#__PURE__*/React.forwardRef(function DeprecatedTreeItem(props, ref) {
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { TreeViewProps } from '@mui/x-tree-view/TreeView';
3
3
  /**
4
- * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
4
+ * @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
5
5
  * @ignore - do not document.
6
6
  */
7
7
  declare const TreeView: React.ForwardRefExoticComponent<TreeViewProps & React.RefAttributes<HTMLUListElement>>;
@@ -12,7 +12,7 @@ const warn = () => {
12
12
  };
13
13
 
14
14
  /**
15
- * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
15
+ * @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
16
16
  * @ignore - do not document.
17
17
  */
18
18
  const TreeView = /*#__PURE__*/React.forwardRef(function DeprecatedTreeView(props, ref) {
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.145
2
+ * @mui/lab v5.0.0-alpha.146
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -232,7 +232,7 @@ var Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
232
232
  var animationFrame;
233
233
  var resizeObserver = new ResizeObserver(function () {
234
234
  // see https://github.com/mui/material-ui/issues/36909
235
- animationFrame = window.requestAnimationFrame(handleResize);
235
+ animationFrame = requestAnimationFrame(handleResize);
236
236
  });
237
237
  if (masonryRef.current) {
238
238
  masonryRef.current.childNodes.forEach(function (childNode) {
@@ -12,7 +12,7 @@ var warn = function warn() {
12
12
  };
13
13
 
14
14
  /**
15
- * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
15
+ * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
16
16
  * @ignore - do not document.
17
17
  */
18
18
  var TreeItem = /*#__PURE__*/React.forwardRef(function DeprecatedTreeItem(props, ref) {
@@ -12,7 +12,7 @@ var warn = function warn() {
12
12
  };
13
13
 
14
14
  /**
15
- * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
15
+ * @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
16
16
  * @ignore - do not document.
17
17
  */
18
18
  var TreeView = /*#__PURE__*/React.forwardRef(function DeprecatedTreeView(props, ref) {
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.145
2
+ * @mui/lab v5.0.0-alpha.146
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -229,7 +229,7 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
229
229
  let animationFrame;
230
230
  const resizeObserver = new ResizeObserver(() => {
231
231
  // see https://github.com/mui/material-ui/issues/36909
232
- animationFrame = window.requestAnimationFrame(handleResize);
232
+ animationFrame = requestAnimationFrame(handleResize);
233
233
  });
234
234
  if (masonryRef.current) {
235
235
  masonryRef.current.childNodes.forEach(childNode => {
@@ -12,7 +12,7 @@ const warn = () => {
12
12
  };
13
13
 
14
14
  /**
15
- * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
15
+ * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
16
16
  * @ignore - do not document.
17
17
  */
18
18
  const TreeItem = /*#__PURE__*/React.forwardRef(function DeprecatedTreeItem(props, ref) {
@@ -12,7 +12,7 @@ const warn = () => {
12
12
  };
13
13
 
14
14
  /**
15
- * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
15
+ * @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
16
16
  * @ignore - do not document.
17
17
  */
18
18
  const TreeView = /*#__PURE__*/React.forwardRef(function DeprecatedTreeView(props, ref) {
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.145
2
+ * @mui/lab v5.0.0-alpha.146
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -239,7 +239,7 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
239
239
  let animationFrame;
240
240
  const resizeObserver = new ResizeObserver(() => {
241
241
  // see https://github.com/mui/material-ui/issues/36909
242
- animationFrame = window.requestAnimationFrame(handleResize);
242
+ animationFrame = requestAnimationFrame(handleResize);
243
243
  });
244
244
  if (masonryRef.current) {
245
245
  masonryRef.current.childNodes.forEach(childNode => {
@@ -21,7 +21,7 @@ const warn = () => {
21
21
  };
22
22
 
23
23
  /**
24
- * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
24
+ * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
25
25
  * @ignore - do not document.
26
26
  */
27
27
  const TreeItem = /*#__PURE__*/React.forwardRef(function DeprecatedTreeItem(props, ref) {
@@ -21,7 +21,7 @@ const warn = () => {
21
21
  };
22
22
 
23
23
  /**
24
- * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
24
+ * @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
25
25
  * @ignore - do not document.
26
26
  */
27
27
  const TreeView = /*#__PURE__*/React.forwardRef(function DeprecatedTreeView(props, ref) {
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.145
2
+ * @mui/lab v5.0.0-alpha.146
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.145",
3
+ "version": "5.0.0-alpha.146",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Laboratory for new MUI modules.",
@@ -29,10 +29,10 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@babel/runtime": "^7.22.15",
32
- "@mui/base": "5.0.0-beta.16",
33
- "@mui/system": "^5.14.10",
32
+ "@mui/base": "5.0.0-beta.17",
33
+ "@mui/system": "^5.14.11",
34
34
  "@mui/types": "^7.2.4",
35
- "@mui/utils": "^5.14.10",
35
+ "@mui/utils": "^5.14.11",
36
36
  "@mui/x-tree-view": "6.0.0-alpha.1",
37
37
  "clsx": "^2.0.0",
38
38
  "prop-types": "^15.8.1"