@mui/lab 6.0.0-alpha.8 → 6.0.0-beta.0
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/Alert/Alert.js +7 -4
- package/AlertTitle/AlertTitle.js +7 -4
- package/Autocomplete/Autocomplete.js +7 -4
- package/AvatarGroup/AvatarGroup.js +7 -4
- package/CHANGELOG.md +407 -3
- package/CalendarPicker/CalendarPicker.d.ts +1 -1
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +1 -1
- package/ClockPicker/ClockPicker.d.ts +1 -1
- package/DatePicker/DatePicker.d.ts +1 -1
- package/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/DateRangePickerDay/DateRangePickerDay.d.ts +1 -1
- package/DateTimePicker/DateTimePicker.d.ts +1 -1
- package/DesktopDatePicker/DesktopDatePicker.d.ts +1 -1
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +1 -1
- package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +1 -1
- package/DesktopTimePicker/DesktopTimePicker.d.ts +1 -1
- package/LoadingButton/LoadingButton.d.ts +4 -4
- package/LoadingButton/LoadingButton.js +8 -4
- package/LocalizationProvider/LocalizationProvider.d.ts +1 -1
- package/Masonry/Masonry.d.ts +2 -2
- package/MobileDatePicker/MobileDatePicker.d.ts +1 -1
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +1 -1
- package/MobileDateTimePicker/MobileDateTimePicker.d.ts +1 -1
- package/MobileTimePicker/MobileTimePicker.d.ts +1 -1
- package/MonthPicker/MonthPicker.d.ts +1 -1
- package/Pagination/Pagination.js +7 -4
- package/PaginationItem/PaginationItem.js +7 -4
- package/PickersDay/PickersDay.d.ts +1 -1
- package/Rating/Rating.js +7 -4
- package/Skeleton/Skeleton.js +7 -4
- package/SpeedDial/SpeedDial.js +7 -4
- package/SpeedDialAction/SpeedDialAction.js +7 -4
- package/SpeedDialIcon/SpeedDialIcon.js +7 -4
- package/StaticDatePicker/StaticDatePicker.d.ts +1 -1
- package/StaticDateRangePicker/StaticDateRangePicker.d.ts +1 -1
- package/StaticDateTimePicker/StaticDateTimePicker.d.ts +1 -1
- package/StaticTimePicker/StaticTimePicker.d.ts +1 -1
- package/TabContext/TabContext.d.ts +3 -3
- package/TabList/TabList.d.ts +3 -3
- package/TabPanel/TabPanel.d.ts +3 -3
- package/TimePicker/TimePicker.d.ts +1 -1
- package/Timeline/Timeline.d.ts +2 -2
- package/Timeline/Timeline.js +2 -2
- package/TimelineConnector/TimelineConnector.d.ts +3 -3
- package/TimelineContent/TimelineContent.d.ts +4 -4
- package/TimelineDot/TimelineDot.d.ts +3 -3
- package/TimelineItem/TimelineItem.d.ts +3 -3
- package/TimelineOppositeContent/TimelineOppositeContent.d.ts +6 -4
- package/TimelineSeparator/TimelineSeparator.d.ts +3 -3
- package/ToggleButton/ToggleButton.js +7 -4
- package/ToggleButtonGroup/ToggleButtonGroup.js +7 -4
- package/TreeItem/TreeItem.d.ts +1 -1
- package/TreeView/TreeView.d.ts +1 -1
- package/YearPicker/YearPicker.d.ts +1 -1
- package/index.js +1 -1
- package/modern/Alert/Alert.js +7 -4
- package/modern/AlertTitle/AlertTitle.js +7 -4
- package/modern/Autocomplete/Autocomplete.js +7 -4
- package/modern/AvatarGroup/AvatarGroup.js +7 -4
- package/modern/LoadingButton/LoadingButton.js +8 -4
- package/modern/Pagination/Pagination.js +7 -4
- package/modern/PaginationItem/PaginationItem.js +7 -4
- package/modern/Rating/Rating.js +7 -4
- package/modern/Skeleton/Skeleton.js +7 -4
- package/modern/SpeedDial/SpeedDial.js +7 -4
- package/modern/SpeedDialAction/SpeedDialAction.js +7 -4
- package/modern/SpeedDialIcon/SpeedDialIcon.js +7 -4
- package/modern/Timeline/Timeline.js +2 -2
- package/modern/ToggleButton/ToggleButton.js +7 -4
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +7 -4
- package/modern/index.js +1 -1
- package/modern/zero-styled/index.js +2 -7
- package/node/Alert/Alert.js +7 -4
- package/node/AlertTitle/AlertTitle.js +7 -4
- package/node/Autocomplete/Autocomplete.js +7 -4
- package/node/AvatarGroup/AvatarGroup.js +7 -4
- package/node/LoadingButton/LoadingButton.js +7 -3
- package/node/Pagination/Pagination.js +7 -4
- package/node/PaginationItem/PaginationItem.js +7 -4
- package/node/Rating/Rating.js +7 -4
- package/node/Skeleton/Skeleton.js +7 -4
- package/node/SpeedDial/SpeedDial.js +7 -4
- package/node/SpeedDialAction/SpeedDialAction.js +7 -4
- package/node/SpeedDialIcon/SpeedDialIcon.js +7 -4
- package/node/Timeline/Timeline.js +2 -2
- package/node/ToggleButton/ToggleButton.js +7 -4
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +7 -4
- package/node/index.js +1 -1
- package/node/zero-styled/index.js +1 -6
- package/package.json +10 -6
- package/zero-styled/index.d.ts +0 -2
- package/zero-styled/index.js +2 -7
|
@@ -12,15 +12,18 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
12
12
|
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); }
|
|
13
13
|
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 && {}.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; }
|
|
14
14
|
let warnedOnce = false;
|
|
15
|
+
const warn = () => {
|
|
16
|
+
if (!warnedOnce) {
|
|
17
|
+
console.warn(['MUI: The SpeedDialIcon component was moved from the lab to the core.', '', "You should use `import { SpeedDialIcon } from '@mui/material'`", "or `import SpeedDialIcon from '@mui/material/SpeedDialIcon'`"].join('\n'));
|
|
18
|
+
warnedOnce = true;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
15
21
|
|
|
16
22
|
/**
|
|
17
23
|
* @ignore - do not document.
|
|
18
24
|
*/
|
|
19
25
|
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDialIcon(props, ref) {
|
|
20
|
-
|
|
21
|
-
console.warn(['MUI: The SpeedDialIcon component was moved from the lab to the core.', '', "You should use `import { SpeedDialIcon } from '@mui/material'`", "or `import SpeedDialIcon from '@mui/material/SpeedDialIcon'`"].join('\n'));
|
|
22
|
-
warnedOnce = true;
|
|
23
|
-
}
|
|
26
|
+
warn();
|
|
24
27
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SpeedDialIcon.default, {
|
|
25
28
|
ref: ref,
|
|
26
29
|
...props
|
|
@@ -47,11 +47,11 @@ const TimelineRoot = (0, _styles.styled)('ul', {
|
|
|
47
47
|
*
|
|
48
48
|
* Demos:
|
|
49
49
|
*
|
|
50
|
-
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
50
|
+
* - [Timeline](https://next.mui.com/material-ui/react-timeline/)
|
|
51
51
|
*
|
|
52
52
|
* API:
|
|
53
53
|
*
|
|
54
|
-
* - [Timeline API](https://mui.com/material-ui/api/timeline/)
|
|
54
|
+
* - [Timeline API](https://next.mui.com/material-ui/api/timeline/)
|
|
55
55
|
*/
|
|
56
56
|
const Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
|
|
57
57
|
const props = (0, _styles.useThemeProps)({
|
|
@@ -12,15 +12,18 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
12
12
|
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); }
|
|
13
13
|
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 && {}.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; }
|
|
14
14
|
let warnedOnce = false;
|
|
15
|
+
const warn = () => {
|
|
16
|
+
if (!warnedOnce) {
|
|
17
|
+
console.warn(['MUI: The ToggleButton component was moved from the lab to the core.', '', "You should use `import { ToggleButton } from '@mui/material'`", "or `import ToggleButton from '@mui/material/ToggleButton'`"].join('\n'));
|
|
18
|
+
warnedOnce = true;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
15
21
|
|
|
16
22
|
/**
|
|
17
23
|
* @ignore - do not document.
|
|
18
24
|
*/
|
|
19
25
|
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedToggleButton(props, ref) {
|
|
20
|
-
|
|
21
|
-
console.warn(['MUI: The ToggleButton component was moved from the lab to the core.', '', "You should use `import { ToggleButton } from '@mui/material'`", "or `import ToggleButton from '@mui/material/ToggleButton'`"].join('\n'));
|
|
22
|
-
warnedOnce = true;
|
|
23
|
-
}
|
|
26
|
+
warn();
|
|
24
27
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ToggleButton.default, {
|
|
25
28
|
ref: ref,
|
|
26
29
|
...props
|
|
@@ -12,15 +12,18 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
12
12
|
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); }
|
|
13
13
|
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 && {}.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; }
|
|
14
14
|
let warnedOnce = false;
|
|
15
|
+
const warn = () => {
|
|
16
|
+
if (!warnedOnce) {
|
|
17
|
+
console.warn(['MUI: The ToggleButtonGroup component was moved from the lab to the core.', '', "You should use `import { ToggleButtonGroup } from '@mui/material'`", "or `import ToggleButtonGroup from '@mui/material/ToggleButtonGroup'`"].join('\n'));
|
|
18
|
+
warnedOnce = true;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
15
21
|
|
|
16
22
|
/**
|
|
17
23
|
* @ignore - do not document.
|
|
18
24
|
*/
|
|
19
25
|
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedToggleButtonGroup(props, ref) {
|
|
20
|
-
|
|
21
|
-
console.warn(['MUI: The ToggleButtonGroup component was moved from the lab to the core.', '', "You should use `import { ToggleButtonGroup } from '@mui/material'`", "or `import ToggleButtonGroup from '@mui/material/ToggleButtonGroup'`"].join('\n'));
|
|
22
|
-
warnedOnce = true;
|
|
23
|
-
}
|
|
26
|
+
warn();
|
|
24
27
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ToggleButtonGroup.default, {
|
|
25
28
|
ref: ref,
|
|
26
29
|
...props
|
package/node/index.js
CHANGED
|
@@ -3,15 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.createUseThemeProps = createUseThemeProps;
|
|
7
6
|
Object.defineProperty(exports, "styled", {
|
|
8
7
|
enumerable: true,
|
|
9
8
|
get: function () {
|
|
10
9
|
return _styles.styled;
|
|
11
10
|
}
|
|
12
11
|
});
|
|
13
|
-
var _styles = require("@mui/material/styles");
|
|
14
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
15
|
-
function createUseThemeProps(name) {
|
|
16
|
-
return _styles.useThemeProps;
|
|
17
|
-
}
|
|
12
|
+
var _styles = require("@mui/material/styles");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/lab",
|
|
3
|
-
"version": "6.0.0-
|
|
3
|
+
"version": "6.0.0-beta.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Laboratory for new MUI modules.",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"url": "https://opencollective.com/mui-org"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@babel/runtime": "^7.24.
|
|
31
|
+
"@babel/runtime": "^7.24.7",
|
|
32
32
|
"clsx": "^2.1.1",
|
|
33
33
|
"prop-types": "^15.8.1",
|
|
34
|
-
"@mui/base": "5.0.0-beta.
|
|
35
|
-
"@mui/system": "
|
|
36
|
-
"@mui/utils": "
|
|
34
|
+
"@mui/base": "5.0.0-beta.53",
|
|
35
|
+
"@mui/system": "6.0.0-beta.0",
|
|
36
|
+
"@mui/utils": "6.0.0-beta.0",
|
|
37
37
|
"@mui/types": "^7.2.14"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
@@ -42,7 +42,8 @@
|
|
|
42
42
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
43
43
|
"react": "^17.0.0 || ^18.0.0",
|
|
44
44
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
45
|
-
"@mui/material": "^6.0.0-
|
|
45
|
+
"@mui/material": "^6.0.0-beta.0",
|
|
46
|
+
"@mui/material-pigment-css": "^6.0.0-alpha.13"
|
|
46
47
|
},
|
|
47
48
|
"peerDependenciesMeta": {
|
|
48
49
|
"@types/react": {
|
|
@@ -53,6 +54,9 @@
|
|
|
53
54
|
},
|
|
54
55
|
"@emotion/styled": {
|
|
55
56
|
"optional": true
|
|
57
|
+
},
|
|
58
|
+
"@mui/material-pigment-css": {
|
|
59
|
+
"optional": true
|
|
56
60
|
}
|
|
57
61
|
},
|
|
58
62
|
"sideEffects": false,
|
package/zero-styled/index.d.ts
CHANGED
package/zero-styled/index.js
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export { styled } from '@mui/material/styles';
|
|
3
|
-
|
|
4
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
5
|
-
export function createUseThemeProps(name) {
|
|
6
|
-
return useThemeProps;
|
|
7
|
-
}
|
|
1
|
+
/* eslint-disable import/prefer-default-export */
|
|
2
|
+
export { styled } from '@mui/material/styles';
|