@mui/lab 5.0.0-alpha.161 → 5.0.0-alpha.163

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.
@@ -13,7 +13,7 @@ export interface TabContextProps {
13
13
  /**
14
14
  * The value of the currently selected `Tab`.
15
15
  */
16
- value: string;
16
+ value: string | number;
17
17
  }
18
18
  /**
19
19
  *
@@ -47,7 +47,7 @@ process.env.NODE_ENV !== "production" ? TabContext.propTypes /* remove-proptypes
47
47
  /**
48
48
  * The value of the currently selected `Tab`.
49
49
  */
50
- value: PropTypes.string.isRequired
50
+ value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired
51
51
  } : void 0;
52
52
 
53
53
  /**
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.161
2
+ * @mui/lab v5.0.0-alpha.163
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -47,7 +47,7 @@ process.env.NODE_ENV !== "production" ? TabContext.propTypes /* remove-proptypes
47
47
  /**
48
48
  * The value of the currently selected `Tab`.
49
49
  */
50
- value: PropTypes.string.isRequired
50
+ value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired
51
51
  } : void 0;
52
52
 
53
53
  /**
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.161
2
+ * @mui/lab v5.0.0-alpha.163
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -47,7 +47,7 @@ process.env.NODE_ENV !== "production" ? TabContext.propTypes /* remove-proptypes
47
47
  /**
48
48
  * The value of the currently selected `Tab`.
49
49
  */
50
- value: PropTypes.string.isRequired
50
+ value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired
51
51
  } : void 0;
52
52
 
53
53
  /**
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.161
2
+ * @mui/lab v5.0.0-alpha.163
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -56,7 +56,7 @@ process.env.NODE_ENV !== "production" ? TabContext.propTypes /* remove-proptypes
56
56
  /**
57
57
  * The value of the currently selected `Tab`.
58
58
  */
59
- value: _propTypes.default.string.isRequired
59
+ value: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]).isRequired
60
60
  } : void 0;
61
61
 
62
62
  /**
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.161
2
+ * @mui/lab v5.0.0-alpha.163
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.161",
3
+ "version": "5.0.0-alpha.163",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Laboratory for new MUI modules.",
@@ -28,13 +28,13 @@
28
28
  "url": "https://opencollective.com/mui-org"
29
29
  },
30
30
  "dependencies": {
31
- "@babel/runtime": "^7.23.8",
31
+ "@babel/runtime": "^7.23.9",
32
32
  "clsx": "^2.1.0",
33
33
  "prop-types": "^15.8.1",
34
- "@mui/base": "5.0.0-beta.32",
35
- "@mui/system": "^5.15.5",
34
+ "@mui/base": "5.0.0-beta.34",
35
+ "@mui/system": "^5.15.7",
36
36
  "@mui/types": "^7.2.13",
37
- "@mui/utils": "^5.15.5"
37
+ "@mui/utils": "^5.15.7"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@emotion/react": "^11.5.0",