@mui/lab 5.0.0-alpha.76 → 5.0.0-alpha.79
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/AdapterDateFns/index.d.ts +1 -1
- package/AdapterDayjs/index.d.ts +1 -1
- package/AdapterLuxon/index.d.ts +1 -1
- package/AdapterMoment/index.d.ts +1 -1
- package/CHANGELOG.md +195 -32
- package/CalendarPicker/index.d.ts +2 -2
- package/CalendarPickerSkeleton/index.d.ts +2 -2
- package/ClockPicker/index.d.ts +2 -2
- package/DatePicker/index.d.ts +2 -2
- package/DateRangePicker/DateRangePicker.d.ts +11 -11
- package/DateRangePicker/DateRangePicker.js +1 -1
- package/DateRangePicker/index.d.ts +2 -2
- package/DateRangePickerDay/DateRangePickerDay.d.ts +13 -13
- package/DateRangePickerDay/DateRangePickerDay.js +1 -1
- package/DateRangePickerDay/index.d.ts +2 -2
- package/DateTimePicker/index.d.ts +2 -2
- package/DesktopDatePicker/index.d.ts +2 -2
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +10 -10
- package/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
- package/DesktopDateRangePicker/index.d.ts +2 -2
- package/DesktopDateTimePicker/index.d.ts +2 -2
- package/DesktopTimePicker/index.d.ts +2 -2
- package/LoadingButton/LoadingButton.d.ts +3 -3
- package/LoadingButton/loadingButtonClasses.d.ts +22 -22
- package/LocalizationProvider/index.d.ts +2 -2
- package/Masonry/Masonry.d.ts +2 -2
- package/Masonry/masonryClasses.d.ts +8 -8
- package/MobileDatePicker/index.d.ts +2 -2
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +10 -10
- package/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
- package/MobileDateRangePicker/index.d.ts +2 -2
- package/MobileDateTimePicker/index.d.ts +2 -2
- package/MobileTimePicker/index.d.ts +2 -2
- package/MonthPicker/index.d.ts +2 -2
- package/PickersDay/index.d.ts +2 -2
- package/StaticDatePicker/index.d.ts +2 -2
- package/StaticDateRangePicker/StaticDateRangePicker.d.ts +10 -10
- package/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
- package/StaticDateRangePicker/index.d.ts +2 -2
- package/StaticDateTimePicker/index.d.ts +2 -2
- package/StaticTimePicker/index.d.ts +2 -2
- package/TabContext/TabContext.d.ts +2 -2
- package/TabList/TabList.d.ts +3 -3
- package/TabPanel/TabPanel.d.ts +2 -2
- package/TabPanel/tabPanelClasses.d.ts +8 -8
- package/TimePicker/index.d.ts +2 -2
- package/Timeline/Timeline.d.ts +59 -59
- package/Timeline/Timeline.js +2 -2
- package/Timeline/TimelineContext.d.ts +6 -6
- package/Timeline/index.d.ts +5 -5
- package/Timeline/timelineClasses.d.ts +3 -3
- package/TimelineConnector/TimelineConnector.d.ts +2 -2
- package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
- package/TimelineContent/TimelineContent.d.ts +3 -3
- package/TimelineContent/timelineContentClasses.d.ts +14 -14
- package/TimelineDot/TimelineDot.d.ts +2 -2
- package/TimelineDot/timelineDotClasses.d.ts +24 -24
- package/TimelineItem/TimelineItem.d.ts +2 -2
- package/TimelineItem/timelineItemClasses.d.ts +16 -16
- package/TimelineOppositeContent/TimelineOppositeContent.d.ts +3 -3
- package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
- package/TimelineSeparator/TimelineSeparator.d.ts +2 -2
- package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
- package/TreeItem/TreeItem.d.ts +3 -3
- package/TreeItem/TreeItem.js +1 -1
- package/TreeItem/treeItemClasses.d.ts +24 -24
- package/TreeView/TreeView.d.ts +2 -2
- package/TreeView/treeViewClasses.d.ts +8 -8
- package/YearPicker/index.d.ts +2 -2
- package/index.js +1 -1
- package/internal/svg-icons/ArrowDropDown.d.ts +7 -7
- package/internal/svg-icons/ArrowLeft.d.ts +7 -7
- package/internal/svg-icons/ArrowRight.d.ts +7 -7
- package/internal/svg-icons/Calendar.d.ts +7 -7
- package/internal/svg-icons/Clock.d.ts +7 -7
- package/internal/svg-icons/DateRange.d.ts +7 -7
- package/internal/svg-icons/Pen.d.ts +7 -7
- package/internal/svg-icons/Time.d.ts +7 -7
- package/legacy/DateRangePicker/DateRangePicker.js +1 -1
- package/legacy/DateRangePickerDay/DateRangePickerDay.js +1 -1
- package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
- package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
- package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
- package/legacy/Timeline/Timeline.js +2 -2
- package/legacy/TreeItem/TreeItem.js +1 -1
- package/legacy/index.js +1 -1
- package/modern/DateRangePicker/DateRangePicker.js +1 -1
- package/modern/DateRangePickerDay/DateRangePickerDay.js +1 -1
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
- package/modern/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
- package/modern/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
- package/modern/Timeline/Timeline.js +2 -2
- package/modern/TreeItem/TreeItem.js +1 -1
- package/modern/index.js +1 -1
- package/node/DateRangePicker/DateRangePicker.js +1 -1
- package/node/DateRangePickerDay/DateRangePickerDay.js +1 -1
- package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
- package/node/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
- package/node/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
- package/node/Timeline/Timeline.js +2 -2
- package/node/TreeItem/TreeItem.js +1 -1
- package/node/index.js +1 -1
- package/package.json +6 -6
|
@@ -20,7 +20,7 @@ let warnedOnce = false;
|
|
|
20
20
|
|
|
21
21
|
const warn = () => {
|
|
22
22
|
if (!warnedOnce) {
|
|
23
|
-
console.warn(['MUI: The DateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { DateRangePicker } from '@mui/x-date-pickers-pro/DateRangePicker'`", '', 'More information about this migration on our
|
|
23
|
+
console.warn(['MUI: The DateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { DateRangePicker } from '@mui/x-date-pickers-pro/DateRangePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
24
24
|
warnedOnce = true;
|
|
25
25
|
}
|
|
26
26
|
};
|
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
|
|
17
17
|
const warn = () => {
|
|
18
18
|
if (!warnedOnce) {
|
|
19
|
-
console.warn(['MUI: The DateRangePickerDay component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DateRangePickerDay } from '@mui/x-date-pickers-pro'`", "or `import { DateRangePickerDay } from '@mui/x-date-pickers-pro/DateRangePickerDay'`", '', 'More information about this migration on our
|
|
19
|
+
console.warn(['MUI: The DateRangePickerDay component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DateRangePickerDay } from '@mui/x-date-pickers-pro'`", "or `import { DateRangePickerDay } from '@mui/x-date-pickers-pro/DateRangePickerDay'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
20
20
|
warnedOnce = true;
|
|
21
21
|
}
|
|
22
22
|
};
|
|
@@ -20,7 +20,7 @@ let warnedOnce = false;
|
|
|
20
20
|
|
|
21
21
|
const warn = () => {
|
|
22
22
|
if (!warnedOnce) {
|
|
23
|
-
console.warn(['MUI: The DesktopDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DesktopDateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { DesktopDateRangePicker } from '@mui/x-date-pickers-pro/DesktopDateRangePicker'`", '', 'More information about this migration on our
|
|
23
|
+
console.warn(['MUI: The DesktopDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DesktopDateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { DesktopDateRangePicker } from '@mui/x-date-pickers-pro/DesktopDateRangePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
24
24
|
warnedOnce = true;
|
|
25
25
|
}
|
|
26
26
|
};
|
|
@@ -20,7 +20,7 @@ let warnedOnce = false;
|
|
|
20
20
|
|
|
21
21
|
const warn = () => {
|
|
22
22
|
if (!warnedOnce) {
|
|
23
|
-
console.warn(['MUI: The MobileDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { MobileDateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { MobileDateRangePicker } from '@mui/x-date-pickers-pro/MobileDateRangePicker'`", '', 'More information about this migration on our
|
|
23
|
+
console.warn(['MUI: The MobileDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { MobileDateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { MobileDateRangePicker } from '@mui/x-date-pickers-pro/MobileDateRangePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
24
24
|
warnedOnce = true;
|
|
25
25
|
}
|
|
26
26
|
};
|
|
@@ -20,7 +20,7 @@ let warnedOnce = false;
|
|
|
20
20
|
|
|
21
21
|
const warn = () => {
|
|
22
22
|
if (!warnedOnce) {
|
|
23
|
-
console.warn(['MUI: The StaticDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { StaticDateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { StaticDateRangePicker } from '@mui/x-date-pickers-pro/StaticDateRangePicker'`", '', 'More information about this migration on our
|
|
23
|
+
console.warn(['MUI: The StaticDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { StaticDateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { StaticDateRangePicker } from '@mui/x-date-pickers-pro/StaticDateRangePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
24
24
|
warnedOnce = true;
|
|
25
25
|
}
|
|
26
26
|
};
|
|
@@ -65,11 +65,11 @@ const TimelineRoot = (0, _styles.styled)('ul', {
|
|
|
65
65
|
*
|
|
66
66
|
* Demos:
|
|
67
67
|
*
|
|
68
|
-
* - [Timeline](https://mui.com/
|
|
68
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
69
69
|
*
|
|
70
70
|
* API:
|
|
71
71
|
*
|
|
72
|
-
* - [Timeline API](https://mui.com/api/timeline/)
|
|
72
|
+
* - [Timeline API](https://mui.com/material-ui/api/timeline/)
|
|
73
73
|
*/
|
|
74
74
|
|
|
75
75
|
const Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
|
|
@@ -432,7 +432,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes
|
|
|
432
432
|
|
|
433
433
|
/**
|
|
434
434
|
* The component used for the transition.
|
|
435
|
-
* [Follow this guide](/
|
|
435
|
+
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
436
436
|
* @default Collapse
|
|
437
437
|
*/
|
|
438
438
|
TransitionComponent: _propTypes.default.elementType,
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/lab",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.79",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Laboratory for new MUI modules.",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"bugs": {
|
|
23
23
|
"url": "https://github.com/mui/material-ui/issues"
|
|
24
24
|
},
|
|
25
|
-
"homepage": "https://mui.com/
|
|
25
|
+
"homepage": "https://mui.com/material-ui/about-the-lab/",
|
|
26
26
|
"funding": {
|
|
27
27
|
"type": "opencollective",
|
|
28
28
|
"url": "https://opencollective.com/mui"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"@mui/material": "^5.0.0",
|
|
32
|
-
"@types/react": "^
|
|
32
|
+
"@types/react": "^17.0.0 || ^18.0.0",
|
|
33
33
|
"date-fns": "^2.25.0",
|
|
34
34
|
"dayjs": "^1.10.7",
|
|
35
35
|
"luxon": "^1.28.0 || ^2.0.0",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@babel/runtime": "^7.17.2",
|
|
59
|
-
"@mui/base": "5.0.0-alpha.
|
|
60
|
-
"@mui/system": "^5.6.
|
|
61
|
-
"@mui/utils": "^5.6.
|
|
59
|
+
"@mui/base": "5.0.0-alpha.78",
|
|
60
|
+
"@mui/system": "^5.6.3",
|
|
61
|
+
"@mui/utils": "^5.6.1",
|
|
62
62
|
"@mui/x-date-pickers": "5.0.0-alpha.0",
|
|
63
63
|
"clsx": "^1.1.1",
|
|
64
64
|
"prop-types": "^15.7.2",
|