@mui/lab 5.0.0-alpha.45 → 5.0.0-alpha.49
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 +1 -1
- package/AlertTitle/AlertTitle.js +1 -1
- package/Autocomplete/Autocomplete.js +1 -1
- package/AvatarGroup/AvatarGroup.js +1 -1
- package/CHANGELOG.md +337 -48
- package/CalendarPicker/CalendarPicker.d.ts +2 -2
- package/CalendarPicker/CalendarPicker.js +2 -2
- package/CalendarPicker/PickersCalendar.d.ts +1 -1
- package/CalendarPicker/PickersCalendarHeader.d.ts +4 -1
- package/CalendarPicker/PickersCalendarHeader.js +0 -1
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +2 -2
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -4
- package/ClockPicker/Clock.js +3 -3
- package/ClockPicker/ClockPicker.d.ts +6 -4
- package/ClockPicker/ClockPicker.js +3 -3
- package/ClockPicker/shared.js +1 -1
- package/DatePicker/DatePicker.d.ts +3 -3
- package/DatePicker/DatePicker.js +7 -7
- package/DateRangePicker/DateRangePicker.d.ts +2 -2
- package/DateRangePicker/DateRangePicker.js +5 -5
- package/DateRangePicker/DateRangePickerInput.d.ts +1 -1
- package/DateRangePickerDay/DateRangePickerDay.d.ts +2 -2
- package/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/DateTimePicker/DateTimePicker.d.ts +3 -3
- package/DateTimePicker/DateTimePicker.js +9 -9
- package/DateTimePicker/DateTimePickerToolbar.js +27 -14
- package/DateTimePicker/shared.d.ts +1 -1
- package/DesktopDatePicker/DesktopDatePicker.d.ts +2 -2
- package/DesktopDatePicker/DesktopDatePicker.js +6 -6
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +2 -2
- package/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -5
- package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +2 -2
- package/DesktopDateTimePicker/DesktopDateTimePicker.js +8 -8
- package/DesktopTimePicker/DesktopTimePicker.d.ts +2 -2
- package/DesktopTimePicker/DesktopTimePicker.js +5 -5
- package/LoadingButton/LoadingButton.d.ts +3 -3
- package/LoadingButton/LoadingButton.js +2 -2
- package/Masonry/Masonry.d.ts +2 -2
- package/Masonry/Masonry.js +1 -1
- package/MasonryItem/MasonryItem.d.ts +2 -2
- package/MasonryItem/MasonryItem.js +15 -27
- package/MobileDatePicker/MobileDatePicker.d.ts +2 -2
- package/MobileDatePicker/MobileDatePicker.js +4 -4
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +2 -2
- package/MobileDateRangePicker/MobileDateRangePicker.js +3 -3
- package/MobileDateTimePicker/MobileDateTimePicker.d.ts +2 -2
- package/MobileDateTimePicker/MobileDateTimePicker.js +6 -6
- package/MobileTimePicker/MobileTimePicker.d.ts +2 -2
- package/MobileTimePicker/MobileTimePicker.js +3 -3
- package/MonthPicker/MonthPicker.d.ts +2 -2
- package/MonthPicker/MonthPicker.js +2 -2
- package/Pagination/Pagination.js +1 -1
- package/PaginationItem/PaginationItem.js +1 -1
- package/PickersDay/PickersDay.d.ts +2 -2
- package/PickersDay/PickersDay.js +3 -3
- package/README.md +11 -7
- package/Rating/Rating.js +1 -1
- package/Skeleton/Skeleton.js +1 -1
- package/SpeedDial/SpeedDial.js +1 -1
- package/SpeedDialAction/SpeedDialAction.js +1 -1
- package/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/StaticDatePicker/StaticDatePicker.d.ts +2 -2
- package/StaticDatePicker/StaticDatePicker.js +4 -4
- package/StaticDateRangePicker/StaticDateRangePicker.d.ts +2 -2
- package/StaticDateRangePicker/StaticDateRangePicker.js +3 -3
- package/StaticDateTimePicker/StaticDateTimePicker.d.ts +2 -2
- package/StaticDateTimePicker/StaticDateTimePicker.js +6 -6
- package/StaticTimePicker/StaticTimePicker.d.ts +2 -2
- package/StaticTimePicker/StaticTimePicker.js +3 -3
- package/TabContext/TabContext.d.ts +2 -2
- package/TabList/TabList.d.ts +3 -3
- package/TabPanel/TabPanel.d.ts +2 -2
- package/TimePicker/TimePicker.d.ts +3 -3
- package/TimePicker/TimePicker.js +6 -6
- package/Timeline/Timeline.d.ts +4 -4
- package/Timeline/Timeline.js +4 -4
- package/TimelineConnector/TimelineConnector.d.ts +2 -2
- package/TimelineContent/TimelineContent.d.ts +3 -3
- package/TimelineDot/TimelineDot.d.ts +2 -2
- package/TimelineItem/TimelineItem.d.ts +2 -2
- package/TimelineOppositeContent/TimelineOppositeContent.d.ts +3 -3
- package/TimelineSeparator/TimelineSeparator.d.ts +2 -2
- package/ToggleButton/ToggleButton.js +1 -1
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/TreeItem/TreeItem.d.ts +3 -3
- package/TreeItem/TreeItem.js +1 -1
- package/TreeView/TreeView.d.ts +2 -2
- package/YearPicker/PickersYear.js +1 -1
- package/YearPicker/YearPicker.d.ts +2 -2
- package/YearPicker/YearPicker.js +2 -2
- package/index.js +1 -1
- package/internal/pickers/PickersArrowSwitcher.d.ts +3 -3
- package/internal/pickers/PickersPopper.d.ts +2 -2
- package/internal/pickers/PureDateInput.d.ts +1 -1
- package/internal/pickers/hooks/date-helpers-hooks.js +1 -1
- package/legacy/Alert/Alert.js +1 -1
- package/legacy/AlertTitle/AlertTitle.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +1 -1
- package/legacy/AvatarGroup/AvatarGroup.js +1 -1
- package/legacy/CalendarPicker/CalendarPicker.js +2 -2
- package/legacy/CalendarPicker/PickersCalendarHeader.js +0 -1
- package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -4
- package/legacy/ClockPicker/Clock.js +3 -3
- package/legacy/ClockPicker/ClockPicker.js +3 -3
- package/legacy/ClockPicker/shared.js +1 -1
- package/legacy/DatePicker/DatePicker.js +7 -7
- package/legacy/DateRangePicker/DateRangePicker.js +5 -5
- package/legacy/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/legacy/DateTimePicker/DateTimePicker.js +9 -9
- package/legacy/DateTimePicker/DateTimePickerToolbar.js +30 -15
- package/legacy/DesktopDatePicker/DesktopDatePicker.js +6 -6
- package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -5
- package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +8 -8
- package/legacy/DesktopTimePicker/DesktopTimePicker.js +5 -5
- package/legacy/LoadingButton/LoadingButton.js +2 -2
- package/legacy/Masonry/Masonry.js +1 -1
- package/legacy/MasonryItem/MasonryItem.js +18 -30
- package/legacy/MobileDatePicker/MobileDatePicker.js +4 -4
- package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +3 -3
- package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +6 -6
- package/legacy/MobileTimePicker/MobileTimePicker.js +3 -3
- package/legacy/MonthPicker/MonthPicker.js +2 -2
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +1 -1
- package/legacy/PickersDay/PickersDay.js +3 -3
- package/legacy/Rating/Rating.js +1 -1
- package/legacy/Skeleton/Skeleton.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +1 -1
- package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/legacy/StaticDatePicker/StaticDatePicker.js +4 -4
- package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +3 -3
- package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +6 -6
- package/legacy/StaticTimePicker/StaticTimePicker.js +3 -3
- package/legacy/TimePicker/TimePicker.js +6 -6
- package/legacy/Timeline/Timeline.js +4 -4
- package/legacy/ToggleButton/ToggleButton.js +1 -1
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/legacy/TreeItem/TreeItem.js +1 -1
- package/legacy/YearPicker/PickersYear.js +1 -1
- package/legacy/YearPicker/YearPicker.js +2 -2
- package/legacy/index.js +1 -1
- package/legacy/internal/pickers/hooks/date-helpers-hooks.js +1 -1
- package/modern/Alert/Alert.js +1 -1
- package/modern/AlertTitle/AlertTitle.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.js +1 -1
- package/modern/CalendarPicker/CalendarPicker.js +2 -2
- package/modern/CalendarPicker/PickersCalendarHeader.js +0 -1
- package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -4
- package/modern/ClockPicker/Clock.js +3 -3
- package/modern/ClockPicker/ClockPicker.js +3 -3
- package/modern/ClockPicker/shared.js +1 -1
- package/modern/DatePicker/DatePicker.js +7 -7
- package/modern/DateRangePicker/DateRangePicker.js +5 -5
- package/modern/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/modern/DateTimePicker/DateTimePicker.js +9 -9
- package/modern/DateTimePicker/DateTimePickerToolbar.js +27 -14
- package/modern/DesktopDatePicker/DesktopDatePicker.js +6 -6
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -5
- package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +8 -8
- package/modern/DesktopTimePicker/DesktopTimePicker.js +5 -5
- package/modern/LoadingButton/LoadingButton.js +2 -2
- package/modern/Masonry/Masonry.js +1 -1
- package/modern/MasonryItem/MasonryItem.js +15 -27
- package/modern/MobileDatePicker/MobileDatePicker.js +4 -4
- package/modern/MobileDateRangePicker/MobileDateRangePicker.js +3 -3
- package/modern/MobileDateTimePicker/MobileDateTimePicker.js +6 -6
- package/modern/MobileTimePicker/MobileTimePicker.js +3 -3
- package/modern/MonthPicker/MonthPicker.js +2 -2
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +1 -1
- package/modern/PickersDay/PickersDay.js +3 -3
- package/modern/Rating/Rating.js +1 -1
- package/modern/Skeleton/Skeleton.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +1 -1
- package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
- package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/modern/StaticDatePicker/StaticDatePicker.js +4 -4
- package/modern/StaticDateRangePicker/StaticDateRangePicker.js +3 -3
- package/modern/StaticDateTimePicker/StaticDateTimePicker.js +6 -6
- package/modern/StaticTimePicker/StaticTimePicker.js +3 -3
- package/modern/TimePicker/TimePicker.js +6 -6
- package/modern/Timeline/Timeline.js +4 -4
- package/modern/ToggleButton/ToggleButton.js +1 -1
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/modern/TreeItem/TreeItem.js +1 -1
- package/modern/YearPicker/PickersYear.js +1 -1
- package/modern/YearPicker/YearPicker.js +2 -2
- package/modern/index.js +1 -1
- package/modern/internal/pickers/hooks/date-helpers-hooks.js +1 -1
- package/node/Alert/Alert.js +1 -1
- package/node/AlertTitle/AlertTitle.js +1 -1
- package/node/Autocomplete/Autocomplete.js +1 -1
- package/node/AvatarGroup/AvatarGroup.js +1 -1
- package/node/CalendarPicker/CalendarPicker.js +2 -2
- package/node/CalendarPicker/PickersCalendarHeader.js +0 -1
- package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -4
- package/node/ClockPicker/Clock.js +3 -3
- package/node/ClockPicker/ClockPicker.js +3 -3
- package/node/ClockPicker/shared.js +1 -1
- package/node/DatePicker/DatePicker.js +7 -7
- package/node/DateRangePicker/DateRangePicker.js +5 -5
- package/node/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/node/DateTimePicker/DateTimePicker.js +9 -9
- package/node/DateTimePicker/DateTimePickerToolbar.js +27 -14
- package/node/DesktopDatePicker/DesktopDatePicker.js +6 -6
- package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -5
- package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +8 -8
- package/node/DesktopTimePicker/DesktopTimePicker.js +5 -5
- package/node/LoadingButton/LoadingButton.js +2 -2
- package/node/Masonry/Masonry.js +1 -1
- package/node/MasonryItem/MasonryItem.js +14 -26
- package/node/MobileDatePicker/MobileDatePicker.js +4 -4
- package/node/MobileDateRangePicker/MobileDateRangePicker.js +3 -3
- package/node/MobileDateTimePicker/MobileDateTimePicker.js +6 -6
- package/node/MobileTimePicker/MobileTimePicker.js +3 -3
- package/node/MonthPicker/MonthPicker.js +2 -2
- package/node/Pagination/Pagination.js +1 -1
- package/node/PaginationItem/PaginationItem.js +1 -1
- package/node/PickersDay/PickersDay.js +3 -3
- package/node/Rating/Rating.js +1 -1
- package/node/Skeleton/Skeleton.js +1 -1
- package/node/SpeedDial/SpeedDial.js +1 -1
- package/node/SpeedDialAction/SpeedDialAction.js +1 -1
- package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/node/StaticDatePicker/StaticDatePicker.js +4 -4
- package/node/StaticDateRangePicker/StaticDateRangePicker.js +3 -3
- package/node/StaticDateTimePicker/StaticDateTimePicker.js +6 -6
- package/node/StaticTimePicker/StaticTimePicker.js +3 -3
- package/node/TimePicker/TimePicker.js +6 -6
- package/node/Timeline/Timeline.js +4 -4
- package/node/ToggleButton/ToggleButton.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/node/TreeItem/TreeItem.js +1 -1
- package/node/YearPicker/PickersYear.js +1 -1
- package/node/YearPicker/YearPicker.js +2 -2
- package/node/index.js +1 -1
- package/node/internal/pickers/hooks/date-helpers-hooks.js +1 -1
- package/package.json +13 -13
package/Rating/Rating.js
CHANGED
|
@@ -9,7 +9,7 @@ let warnedOnce = false;
|
|
|
9
9
|
|
|
10
10
|
export default /*#__PURE__*/React.forwardRef(function DeprecatedRating(props, ref) {
|
|
11
11
|
if (!warnedOnce) {
|
|
12
|
-
console.warn(['
|
|
12
|
+
console.warn(['MUI: The Rating component was moved from the lab to the core.', '', "You should use `import { Rating } from '@mui/material'`", "or `import Rating from '@mui/material/Rating'`"].join('\n'));
|
|
13
13
|
warnedOnce = true;
|
|
14
14
|
}
|
|
15
15
|
|
package/Skeleton/Skeleton.js
CHANGED
|
@@ -9,7 +9,7 @@ let warnedOnce = false;
|
|
|
9
9
|
|
|
10
10
|
export default /*#__PURE__*/React.forwardRef(function DeprecatedSkeleton(props, ref) {
|
|
11
11
|
if (!warnedOnce) {
|
|
12
|
-
console.warn(['
|
|
12
|
+
console.warn(['MUI: The Skeleton component was moved from the lab to the core.', '', "You should use `import { Skeleton } from '@mui/material'`", "or `import Skeleton from '@mui/material/Skeleton'`"].join('\n'));
|
|
13
13
|
warnedOnce = true;
|
|
14
14
|
}
|
|
15
15
|
|
package/SpeedDial/SpeedDial.js
CHANGED
|
@@ -9,7 +9,7 @@ let warnedOnce = false;
|
|
|
9
9
|
|
|
10
10
|
export default /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDial(props, ref) {
|
|
11
11
|
if (!warnedOnce) {
|
|
12
|
-
console.warn(['
|
|
12
|
+
console.warn(['MUI: The SpeedDial component was moved from the lab to the core.', '', "You should use `import { SpeedDial } from '@mui/material'`", "or `import SpeedDial from '@mui/material/SpeedDial'`"].join('\n'));
|
|
13
13
|
warnedOnce = true;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ let warnedOnce = false;
|
|
|
9
9
|
|
|
10
10
|
export default /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDialAction(props, ref) {
|
|
11
11
|
if (!warnedOnce) {
|
|
12
|
-
console.warn(['
|
|
12
|
+
console.warn(['MUI: The SpeedDialAction component was moved from the lab to the core.', '', "You should use `import { SpeedDialAction } from '@mui/material'`", "or `import SpeedDialAction from '@mui/material/SpeedDialAction'`"].join('\n'));
|
|
13
13
|
warnedOnce = true;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ let warnedOnce = false;
|
|
|
9
9
|
|
|
10
10
|
export default /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDialIcon(props, ref) {
|
|
11
11
|
if (!warnedOnce) {
|
|
12
|
-
console.warn(['
|
|
12
|
+
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'));
|
|
13
13
|
warnedOnce = true;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -15,11 +15,11 @@ declare type StaticDatePickerComponent = (<TDate>(props: StaticDatePickerProps<T
|
|
|
15
15
|
*
|
|
16
16
|
* Demos:
|
|
17
17
|
*
|
|
18
|
-
* - [Date Picker](https://
|
|
18
|
+
* - [Date Picker](https://mui.com/components/date-picker/)
|
|
19
19
|
*
|
|
20
20
|
* API:
|
|
21
21
|
*
|
|
22
|
-
* - [StaticDatePicker API](https://
|
|
22
|
+
* - [StaticDatePicker API](https://mui.com/api/static-date-picker/)
|
|
23
23
|
*/
|
|
24
24
|
declare const StaticDatePicker: StaticDatePickerComponent;
|
|
25
25
|
export default StaticDatePicker;
|
|
@@ -21,11 +21,11 @@ const valueManager = {
|
|
|
21
21
|
*
|
|
22
22
|
* Demos:
|
|
23
23
|
*
|
|
24
|
-
* - [Date Picker](https://
|
|
24
|
+
* - [Date Picker](https://mui.com/components/date-picker/)
|
|
25
25
|
*
|
|
26
26
|
* API:
|
|
27
27
|
*
|
|
28
|
-
* - [StaticDatePicker API](https://
|
|
28
|
+
* - [StaticDatePicker API](https://mui.com/api/static-date-picker/)
|
|
29
29
|
*/
|
|
30
30
|
const StaticDatePicker = /*#__PURE__*/React.forwardRef(function StaticDatePicker(inProps, ref) {
|
|
31
31
|
// TODO: TDate needs to be instantiated at every usage.
|
|
@@ -312,13 +312,13 @@ process.env.NODE_ENV !== "production" ? StaticDatePicker.propTypes
|
|
|
312
312
|
reduceAnimations: PropTypes.bool,
|
|
313
313
|
|
|
314
314
|
/**
|
|
315
|
-
* Custom renderer for day. Check the [PickersDay](https://
|
|
315
|
+
* Custom renderer for day. Check the [PickersDay](https://mui.com/api/pickers-day/) component.
|
|
316
316
|
*/
|
|
317
317
|
renderDay: PropTypes.func,
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* The `renderInput` prop allows you to customize the rendered input.
|
|
321
|
-
* The `props` argument of this render prop contains props of [TextField](https://
|
|
321
|
+
* The `props` argument of this render prop contains props of [TextField](https://mui.com/api/text-field/#textfield-api) that you need to forward.
|
|
322
322
|
* Pay specific attention to the `ref` and `inputProps` keys.
|
|
323
323
|
* @example ```jsx
|
|
324
324
|
* renderInput={props => <TextField {...props} />}
|
|
@@ -57,11 +57,11 @@ declare type StaticDateRangePickerComponent = (<TDate>(props: StaticDateRangePic
|
|
|
57
57
|
*
|
|
58
58
|
* Demos:
|
|
59
59
|
*
|
|
60
|
-
* - [Date Range Picker](https://
|
|
60
|
+
* - [Date Range Picker](https://mui.com/components/date-range-picker/)
|
|
61
61
|
*
|
|
62
62
|
* API:
|
|
63
63
|
*
|
|
64
|
-
* - [StaticDateRangePicker API](https://
|
|
64
|
+
* - [StaticDateRangePicker API](https://mui.com/api/static-date-range-picker/)
|
|
65
65
|
*/
|
|
66
66
|
declare const StaticDateRangePicker: StaticDateRangePickerComponent;
|
|
67
67
|
export default StaticDateRangePicker;
|
|
@@ -21,11 +21,11 @@ const rangePickerValueManager = {
|
|
|
21
21
|
*
|
|
22
22
|
* Demos:
|
|
23
23
|
*
|
|
24
|
-
* - [Date Range Picker](https://
|
|
24
|
+
* - [Date Range Picker](https://mui.com/components/date-range-picker/)
|
|
25
25
|
*
|
|
26
26
|
* API:
|
|
27
27
|
*
|
|
28
|
-
* - [StaticDateRangePicker API](https://
|
|
28
|
+
* - [StaticDateRangePicker API](https://mui.com/api/static-date-range-picker/)
|
|
29
29
|
*/
|
|
30
30
|
const StaticDateRangePicker = /*#__PURE__*/React.forwardRef(function StaticDateRangePicker(inProps, ref) {
|
|
31
31
|
const props = useThemeProps({
|
|
@@ -365,7 +365,7 @@ process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes
|
|
|
365
365
|
|
|
366
366
|
/**
|
|
367
367
|
* The `renderInput` prop allows you to customize the rendered input.
|
|
368
|
-
* The `startProps` and `endProps` arguments of this render prop contains props of [TextField](https://
|
|
368
|
+
* The `startProps` and `endProps` arguments of this render prop contains props of [TextField](https://mui.com/api/text-field/#textfield-api),
|
|
369
369
|
* that you need to forward to the range start/end inputs respectively.
|
|
370
370
|
* Pay specific attention to the `ref` and `inputProps` keys.
|
|
371
371
|
* @example
|
|
@@ -15,11 +15,11 @@ declare type StaticDateTimePickerComponent = (<TDate>(props: StaticDateTimePicke
|
|
|
15
15
|
*
|
|
16
16
|
* Demos:
|
|
17
17
|
*
|
|
18
|
-
* - [Date Time Picker](https://
|
|
18
|
+
* - [Date Time Picker](https://mui.com/components/date-time-picker/)
|
|
19
19
|
*
|
|
20
20
|
* API:
|
|
21
21
|
*
|
|
22
|
-
* - [StaticDateTimePicker API](https://
|
|
22
|
+
* - [StaticDateTimePicker API](https://mui.com/api/static-date-time-picker/)
|
|
23
23
|
*/
|
|
24
24
|
declare const StaticDateTimePicker: StaticDateTimePickerComponent;
|
|
25
25
|
export default StaticDateTimePicker;
|
|
@@ -21,11 +21,11 @@ const valueManager = {
|
|
|
21
21
|
*
|
|
22
22
|
* Demos:
|
|
23
23
|
*
|
|
24
|
-
* - [Date Time Picker](https://
|
|
24
|
+
* - [Date Time Picker](https://mui.com/components/date-time-picker/)
|
|
25
25
|
*
|
|
26
26
|
* API:
|
|
27
27
|
*
|
|
28
|
-
* - [StaticDateTimePicker API](https://
|
|
28
|
+
* - [StaticDateTimePicker API](https://mui.com/api/static-date-time-picker/)
|
|
29
29
|
*/
|
|
30
30
|
const StaticDateTimePicker = /*#__PURE__*/React.forwardRef(function StaticDateTimePicker(inProps, ref) {
|
|
31
31
|
// TODO: TDate needs to be instantiated at every usage.
|
|
@@ -362,7 +362,7 @@ process.env.NODE_ENV !== "production" ? StaticDateTimePicker.propTypes
|
|
|
362
362
|
/**
|
|
363
363
|
* First view to show.
|
|
364
364
|
*/
|
|
365
|
-
openTo: PropTypes.oneOf(['day', 'hours', 'minutes', 'month', 'year']),
|
|
365
|
+
openTo: PropTypes.oneOf(['day', 'hours', 'minutes', 'month', 'seconds', 'year']),
|
|
366
366
|
|
|
367
367
|
/**
|
|
368
368
|
* Force rendering in particular orientation.
|
|
@@ -381,13 +381,13 @@ process.env.NODE_ENV !== "production" ? StaticDateTimePicker.propTypes
|
|
|
381
381
|
reduceAnimations: PropTypes.bool,
|
|
382
382
|
|
|
383
383
|
/**
|
|
384
|
-
* Custom renderer for day. Check the [PickersDay](https://
|
|
384
|
+
* Custom renderer for day. Check the [PickersDay](https://mui.com/api/pickers-day/) component.
|
|
385
385
|
*/
|
|
386
386
|
renderDay: PropTypes.func,
|
|
387
387
|
|
|
388
388
|
/**
|
|
389
389
|
* The `renderInput` prop allows you to customize the rendered input.
|
|
390
|
-
* The `props` argument of this render prop contains props of [TextField](https://
|
|
390
|
+
* The `props` argument of this render prop contains props of [TextField](https://mui.com/api/text-field/#textfield-api) that you need to forward.
|
|
391
391
|
* Pay specific attention to the `ref` and `inputProps` keys.
|
|
392
392
|
* @example ```jsx
|
|
393
393
|
* renderInput={props => <TextField {...props} />}
|
|
@@ -475,6 +475,6 @@ process.env.NODE_ENV !== "production" ? StaticDateTimePicker.propTypes
|
|
|
475
475
|
/**
|
|
476
476
|
* Array of views to show.
|
|
477
477
|
*/
|
|
478
|
-
views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'hours', 'minutes', 'month', 'year']).isRequired)
|
|
478
|
+
views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'hours', 'minutes', 'month', 'seconds', 'year']).isRequired)
|
|
479
479
|
} : void 0;
|
|
480
480
|
export default StaticDateTimePicker;
|
|
@@ -15,11 +15,11 @@ declare type StaticTimePickerComponent = (<TDate>(props: StaticTimePickerProps<T
|
|
|
15
15
|
*
|
|
16
16
|
* Demos:
|
|
17
17
|
*
|
|
18
|
-
* - [Time Picker](https://
|
|
18
|
+
* - [Time Picker](https://mui.com/components/time-picker/)
|
|
19
19
|
*
|
|
20
20
|
* API:
|
|
21
21
|
*
|
|
22
|
-
* - [StaticTimePicker API](https://
|
|
22
|
+
* - [StaticTimePicker API](https://mui.com/api/static-time-picker/)
|
|
23
23
|
*/
|
|
24
24
|
declare const StaticTimePicker: StaticTimePickerComponent;
|
|
25
25
|
export default StaticTimePicker;
|
|
@@ -21,11 +21,11 @@ const valueManager = {
|
|
|
21
21
|
*
|
|
22
22
|
* Demos:
|
|
23
23
|
*
|
|
24
|
-
* - [Time Picker](https://
|
|
24
|
+
* - [Time Picker](https://mui.com/components/time-picker/)
|
|
25
25
|
*
|
|
26
26
|
* API:
|
|
27
27
|
*
|
|
28
|
-
* - [StaticTimePicker API](https://
|
|
28
|
+
* - [StaticTimePicker API](https://mui.com/api/static-time-picker/)
|
|
29
29
|
*/
|
|
30
30
|
const StaticTimePicker = /*#__PURE__*/React.forwardRef(function StaticTimePicker(inProps, ref) {
|
|
31
31
|
// TODO: TDate needs to be instantiated at every usage.
|
|
@@ -268,7 +268,7 @@ process.env.NODE_ENV !== "production" ? StaticTimePicker.propTypes
|
|
|
268
268
|
|
|
269
269
|
/**
|
|
270
270
|
* The `renderInput` prop allows you to customize the rendered input.
|
|
271
|
-
* The `props` argument of this render prop contains props of [TextField](https://
|
|
271
|
+
* The `props` argument of this render prop contains props of [TextField](https://mui.com/api/text-field/#textfield-api) that you need to forward.
|
|
272
272
|
* Pay specific attention to the `ref` and `inputProps` keys.
|
|
273
273
|
* @example ```jsx
|
|
274
274
|
* renderInput={props => <TextField {...props} />}
|
|
@@ -19,11 +19,11 @@ export interface TabContextProps {
|
|
|
19
19
|
*
|
|
20
20
|
* Demos:
|
|
21
21
|
*
|
|
22
|
-
* - [Tabs](https://
|
|
22
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
23
23
|
*
|
|
24
24
|
* API:
|
|
25
25
|
*
|
|
26
|
-
* - [TabContext API](https://
|
|
26
|
+
* - [TabContext API](https://mui.com/api/tab-context/)
|
|
27
27
|
*/
|
|
28
28
|
export default function TabContext(props: TabContextProps): JSX.Element;
|
|
29
29
|
export function useTabContext(): TabContextValue | null;
|
package/TabList/TabList.d.ts
CHANGED
|
@@ -20,12 +20,12 @@ export interface TabListTypeMap<
|
|
|
20
20
|
*
|
|
21
21
|
* Demos:
|
|
22
22
|
*
|
|
23
|
-
* - [Tabs](https://
|
|
23
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
24
24
|
*
|
|
25
25
|
* API:
|
|
26
26
|
*
|
|
27
|
-
* - [TabList API](https://
|
|
28
|
-
* - inherits [Tabs API](https://
|
|
27
|
+
* - [TabList API](https://mui.com/api/tab-list/)
|
|
28
|
+
* - inherits [Tabs API](https://mui.com/api/tabs/)
|
|
29
29
|
*/
|
|
30
30
|
declare const TabList: OverridableComponent<TabListTypeMap>;
|
|
31
31
|
|
package/TabPanel/TabPanel.d.ts
CHANGED
|
@@ -28,10 +28,10 @@ export interface TabPanelProps extends StandardProps<React.HTMLAttributes<HTMLDi
|
|
|
28
28
|
*
|
|
29
29
|
* Demos:
|
|
30
30
|
*
|
|
31
|
-
* - [Tabs](https://
|
|
31
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
32
32
|
*
|
|
33
33
|
* API:
|
|
34
34
|
*
|
|
35
|
-
* - [TabPanel API](https://
|
|
35
|
+
* - [TabPanel API](https://mui.com/api/tab-panel/)
|
|
36
36
|
*/
|
|
37
37
|
export default function TabPanel(props: TabPanelProps): JSX.Element;
|
|
@@ -16,12 +16,12 @@ declare type TimePickerComponent = (<TDate>(props: TimePickerProps<TDate> & Reac
|
|
|
16
16
|
*
|
|
17
17
|
* Demos:
|
|
18
18
|
*
|
|
19
|
-
* - [Pickers](https://
|
|
20
|
-
* - [Time Picker](https://
|
|
19
|
+
* - [Pickers](https://mui.com/components/pickers/)
|
|
20
|
+
* - [Time Picker](https://mui.com/components/time-picker/)
|
|
21
21
|
*
|
|
22
22
|
* API:
|
|
23
23
|
*
|
|
24
|
-
* - [TimePicker API](https://
|
|
24
|
+
* - [TimePicker API](https://mui.com/api/time-picker/)
|
|
25
25
|
*/
|
|
26
26
|
declare const TimePicker: TimePickerComponent;
|
|
27
27
|
export default TimePicker;
|
package/TimePicker/TimePicker.js
CHANGED
|
@@ -13,12 +13,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
*
|
|
14
14
|
* Demos:
|
|
15
15
|
*
|
|
16
|
-
* - [Pickers](https://
|
|
17
|
-
* - [Time Picker](https://
|
|
16
|
+
* - [Pickers](https://mui.com/components/pickers/)
|
|
17
|
+
* - [Time Picker](https://mui.com/components/time-picker/)
|
|
18
18
|
*
|
|
19
19
|
* API:
|
|
20
20
|
*
|
|
21
|
-
* - [TimePicker API](https://
|
|
21
|
+
* - [TimePicker API](https://mui.com/api/time-picker/)
|
|
22
22
|
*/
|
|
23
23
|
const TimePicker = /*#__PURE__*/React.forwardRef(function TimePicker(inProps, ref) {
|
|
24
24
|
const props = useThemeProps({
|
|
@@ -297,7 +297,7 @@ process.env.NODE_ENV !== "production" ? TimePicker.propTypes
|
|
|
297
297
|
orientation: PropTypes.oneOf(['landscape', 'portrait']),
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
|
-
* Popper props passed down to [Popper](https://
|
|
300
|
+
* Popper props passed down to [Popper](https://mui.com/api/popper/) component.
|
|
301
301
|
*/
|
|
302
302
|
PopperProps: PropTypes.object,
|
|
303
303
|
|
|
@@ -308,7 +308,7 @@ process.env.NODE_ENV !== "production" ? TimePicker.propTypes
|
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
310
|
* The `renderInput` prop allows you to customize the rendered input.
|
|
311
|
-
* The `props` argument of this render prop contains props of [TextField](https://
|
|
311
|
+
* The `props` argument of this render prop contains props of [TextField](https://mui.com/api/text-field/#textfield-api) that you need to forward.
|
|
312
312
|
* Pay specific attention to the `ref` and `inputProps` keys.
|
|
313
313
|
* @example ```jsx
|
|
314
314
|
* renderInput={props => <TextField {...props} />}
|
|
@@ -368,7 +368,7 @@ process.env.NODE_ENV !== "production" ? TimePicker.propTypes
|
|
|
368
368
|
toolbarTitle: PropTypes.node,
|
|
369
369
|
|
|
370
370
|
/**
|
|
371
|
-
* Custom component for popper [Transition](https://
|
|
371
|
+
* Custom component for popper [Transition](https://mui.com/components/transitions/#transitioncomponent-prop).
|
|
372
372
|
*/
|
|
373
373
|
TransitionComponent: PropTypes.elementType,
|
|
374
374
|
|
package/Timeline/Timeline.d.ts
CHANGED
|
@@ -39,21 +39,21 @@ export interface TimelineProps extends StandardProps<React.HTMLAttributes<HTMLUL
|
|
|
39
39
|
*
|
|
40
40
|
* Demos:
|
|
41
41
|
*
|
|
42
|
-
* - [Timeline](https://
|
|
42
|
+
* - [Timeline](https://mui.com/components/timeline/)
|
|
43
43
|
*
|
|
44
44
|
* API:
|
|
45
45
|
*
|
|
46
|
-
* - [Timeline API](https://
|
|
46
|
+
* - [Timeline API](https://mui.com/api/timeline/)
|
|
47
47
|
*/
|
|
48
48
|
declare const Timeline: React.ForwardRefExoticComponent<Pick<TimelineProps, "slot" | "style" | "title" | "hidden" | "color" | "position" | "translate" | "className" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx"> & React.RefAttributes<HTMLUListElement>>;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* Demos:
|
|
52
52
|
*
|
|
53
|
-
* - [Timeline](https://
|
|
53
|
+
* - [Timeline](https://mui.com/components/timeline/)
|
|
54
54
|
*
|
|
55
55
|
* API:
|
|
56
56
|
*
|
|
57
|
-
* - [Timeline API](https://
|
|
57
|
+
* - [Timeline API](https://mui.com/api/timeline/)
|
|
58
58
|
*/
|
|
59
59
|
export default Timeline;
|
package/Timeline/Timeline.js
CHANGED
|
@@ -41,11 +41,11 @@ const TimelineRoot = styled('ul', {
|
|
|
41
41
|
*
|
|
42
42
|
* Demos:
|
|
43
43
|
*
|
|
44
|
-
* - [Timeline](https://
|
|
44
|
+
* - [Timeline](https://mui.com/components/timeline/)
|
|
45
45
|
*
|
|
46
46
|
* API:
|
|
47
47
|
*
|
|
48
|
-
* - [Timeline API](https://
|
|
48
|
+
* - [Timeline API](https://mui.com/api/timeline/)
|
|
49
49
|
*/
|
|
50
50
|
|
|
51
51
|
const Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
|
|
@@ -115,11 +115,11 @@ process.env.NODE_ENV !== "production" ? Timeline.propTypes
|
|
|
115
115
|
*
|
|
116
116
|
* Demos:
|
|
117
117
|
*
|
|
118
|
-
* - [Timeline](https://
|
|
118
|
+
* - [Timeline](https://mui.com/components/timeline/)
|
|
119
119
|
*
|
|
120
120
|
* API:
|
|
121
121
|
*
|
|
122
|
-
* - [Timeline API](https://
|
|
122
|
+
* - [Timeline API](https://mui.com/api/timeline/)
|
|
123
123
|
*/
|
|
124
124
|
|
|
125
125
|
export default Timeline;
|
|
@@ -24,10 +24,10 @@ export interface TimelineConnectorProps
|
|
|
24
24
|
*
|
|
25
25
|
* Demos:
|
|
26
26
|
*
|
|
27
|
-
* - [Timeline](https://
|
|
27
|
+
* - [Timeline](https://mui.com/components/timeline/)
|
|
28
28
|
*
|
|
29
29
|
* API:
|
|
30
30
|
*
|
|
31
|
-
* - [TimelineConnector API](https://
|
|
31
|
+
* - [TimelineConnector API](https://mui.com/api/timeline-connector/)
|
|
32
32
|
*/
|
|
33
33
|
export default function TimelineConnector(props: TimelineConnectorProps): JSX.Element;
|
|
@@ -23,11 +23,11 @@ export interface TimelineContentProps extends StandardProps<TypographyProps> {
|
|
|
23
23
|
*
|
|
24
24
|
* Demos:
|
|
25
25
|
*
|
|
26
|
-
* - [Timeline](https://
|
|
26
|
+
* - [Timeline](https://mui.com/components/timeline/)
|
|
27
27
|
*
|
|
28
28
|
* API:
|
|
29
29
|
*
|
|
30
|
-
* - [TimelineContent API](https://
|
|
31
|
-
* - inherits [Typography API](https://
|
|
30
|
+
* - [TimelineContent API](https://mui.com/api/timeline-content/)
|
|
31
|
+
* - inherits [Typography API](https://mui.com/api/typography/)
|
|
32
32
|
*/
|
|
33
33
|
export default function TimelineContent(props: TimelineContentProps): JSX.Element;
|
|
@@ -36,10 +36,10 @@ export interface TimelineDotProps extends StandardProps<React.HTMLAttributes<HTM
|
|
|
36
36
|
*
|
|
37
37
|
* Demos:
|
|
38
38
|
*
|
|
39
|
-
* - [Timeline](https://
|
|
39
|
+
* - [Timeline](https://mui.com/components/timeline/)
|
|
40
40
|
*
|
|
41
41
|
* API:
|
|
42
42
|
*
|
|
43
|
-
* - [TimelineDot API](https://
|
|
43
|
+
* - [TimelineDot API](https://mui.com/api/timeline-dot/)
|
|
44
44
|
*/
|
|
45
45
|
export default function TimelineDot(props: TimelineDotProps): JSX.Element;
|
|
@@ -27,10 +27,10 @@ export interface TimelineItemProps extends StandardProps<React.HTMLAttributes<HT
|
|
|
27
27
|
*
|
|
28
28
|
* Demos:
|
|
29
29
|
*
|
|
30
|
-
* - [Timeline](https://
|
|
30
|
+
* - [Timeline](https://mui.com/components/timeline/)
|
|
31
31
|
*
|
|
32
32
|
* API:
|
|
33
33
|
*
|
|
34
|
-
* - [TimelineItem API](https://
|
|
34
|
+
* - [TimelineItem API](https://mui.com/api/timeline-item/)
|
|
35
35
|
*/
|
|
36
36
|
export default function TimelineItem(props: TimelineItemProps): JSX.Element;
|
|
@@ -23,12 +23,12 @@ export interface TimelineOppositeContentProps extends StandardProps<TypographyPr
|
|
|
23
23
|
*
|
|
24
24
|
* Demos:
|
|
25
25
|
*
|
|
26
|
-
* - [Timeline](https://
|
|
26
|
+
* - [Timeline](https://mui.com/components/timeline/)
|
|
27
27
|
*
|
|
28
28
|
* API:
|
|
29
29
|
*
|
|
30
|
-
* - [TimelineOppositeContent API](https://
|
|
31
|
-
* - inherits [Typography API](https://
|
|
30
|
+
* - [TimelineOppositeContent API](https://mui.com/api/timeline-opposite-content/)
|
|
31
|
+
* - inherits [Typography API](https://mui.com/api/typography/)
|
|
32
32
|
*/
|
|
33
33
|
declare const TimelineOppositeContent: ((props: TimelineOppositeContentProps) => JSX.Element) & {
|
|
34
34
|
muiName: string;
|
|
@@ -24,10 +24,10 @@ export interface TimelineSeparatorProps
|
|
|
24
24
|
*
|
|
25
25
|
* Demos:
|
|
26
26
|
*
|
|
27
|
-
* - [Timeline](https://
|
|
27
|
+
* - [Timeline](https://mui.com/components/timeline/)
|
|
28
28
|
*
|
|
29
29
|
* API:
|
|
30
30
|
*
|
|
31
|
-
* - [TimelineSeparator API](https://
|
|
31
|
+
* - [TimelineSeparator API](https://mui.com/api/timeline-separator/)
|
|
32
32
|
*/
|
|
33
33
|
export default function TimelineSeparator(props: TimelineSeparatorProps): JSX.Element;
|
|
@@ -9,7 +9,7 @@ let warnedOnce = false;
|
|
|
9
9
|
|
|
10
10
|
export default /*#__PURE__*/React.forwardRef(function DeprecatedToggleButton(props, ref) {
|
|
11
11
|
if (!warnedOnce) {
|
|
12
|
-
console.warn(['
|
|
12
|
+
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'));
|
|
13
13
|
warnedOnce = true;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ let warnedOnce = false;
|
|
|
9
9
|
|
|
10
10
|
export default /*#__PURE__*/React.forwardRef(function DeprecatedToggleButtonGroup(props, ref) {
|
|
11
11
|
if (!warnedOnce) {
|
|
12
|
-
console.warn(['
|
|
12
|
+
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'));
|
|
13
13
|
warnedOnce = true;
|
|
14
14
|
}
|
|
15
15
|
|
package/TreeItem/TreeItem.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ export interface TreeItemProps
|
|
|
65
65
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps>;
|
|
66
66
|
/**
|
|
67
67
|
* Props applied to the transition element.
|
|
68
|
-
* By default, the element is based on this [`Transition`](
|
|
68
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
|
|
69
69
|
*/
|
|
70
70
|
TransitionProps?: TransitionProps;
|
|
71
71
|
/**
|
|
@@ -78,10 +78,10 @@ export interface TreeItemProps
|
|
|
78
78
|
*
|
|
79
79
|
* Demos:
|
|
80
80
|
*
|
|
81
|
-
* - [Tree View](https://
|
|
81
|
+
* - [Tree View](https://mui.com/components/tree-view/)
|
|
82
82
|
*
|
|
83
83
|
* API:
|
|
84
84
|
*
|
|
85
|
-
* - [TreeItem API](https://
|
|
85
|
+
* - [TreeItem API](https://mui.com/api/tree-item/)
|
|
86
86
|
*/
|
|
87
87
|
export default function TreeItem(props: TreeItemProps): JSX.Element;
|
package/TreeItem/TreeItem.js
CHANGED
|
@@ -416,7 +416,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes
|
|
|
416
416
|
|
|
417
417
|
/**
|
|
418
418
|
* Props applied to the transition element.
|
|
419
|
-
* By default, the element is based on this [`Transition`](
|
|
419
|
+
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
|
|
420
420
|
*/
|
|
421
421
|
TransitionProps: PropTypes.object
|
|
422
422
|
} : void 0;
|
package/TreeView/TreeView.d.ts
CHANGED
|
@@ -135,10 +135,10 @@ export type TreeViewProps = SingleSelectTreeViewProps | MultiSelectTreeViewProps
|
|
|
135
135
|
*
|
|
136
136
|
* Demos:
|
|
137
137
|
*
|
|
138
|
-
* - [Tree View](https://
|
|
138
|
+
* - [Tree View](https://mui.com/components/tree-view/)
|
|
139
139
|
*
|
|
140
140
|
* API:
|
|
141
141
|
*
|
|
142
|
-
* - [TreeView API](https://
|
|
142
|
+
* - [TreeView API](https://mui.com/api/tree-view/)
|
|
143
143
|
*/
|
|
144
144
|
export default function TreeView(props: TreeViewProps): JSX.Element;
|
|
@@ -93,7 +93,7 @@ const PickersYear = /*#__PURE__*/React.forwardRef(function PickersYear(props, fo
|
|
|
93
93
|
|
|
94
94
|
React.useEffect(() => {
|
|
95
95
|
if (autoFocus) {
|
|
96
|
-
// `ref.current` being `null` would be a bug in
|
|
96
|
+
// `ref.current` being `null` would be a bug in MUIu
|
|
97
97
|
ref.current.focus();
|
|
98
98
|
}
|
|
99
99
|
}, [autoFocus]);
|
|
@@ -33,10 +33,10 @@ declare const _default: <TDate>(props: YearPickerProps<TDate>) => JSX.Element;
|
|
|
33
33
|
*
|
|
34
34
|
* Demos:
|
|
35
35
|
*
|
|
36
|
-
* - [Date Picker](https://
|
|
36
|
+
* - [Date Picker](https://mui.com/components/date-picker/)
|
|
37
37
|
*
|
|
38
38
|
* API:
|
|
39
39
|
*
|
|
40
|
-
* - [YearPicker API](https://
|
|
40
|
+
* - [YearPicker API](https://mui.com/api/year-picker/)
|
|
41
41
|
*/
|
|
42
42
|
export default _default;
|
package/YearPicker/YearPicker.js
CHANGED
|
@@ -225,11 +225,11 @@ process.env.NODE_ENV !== "production" ? YearPicker.propTypes
|
|
|
225
225
|
*
|
|
226
226
|
* Demos:
|
|
227
227
|
*
|
|
228
|
-
* - [Date Picker](https://
|
|
228
|
+
* - [Date Picker](https://mui.com/components/date-picker/)
|
|
229
229
|
*
|
|
230
230
|
* API:
|
|
231
231
|
*
|
|
232
|
-
* - [YearPicker API](https://
|
|
232
|
+
* - [YearPicker API](https://mui.com/api/year-picker/)
|
|
233
233
|
*/
|
|
234
234
|
|
|
235
235
|
export default YearPicker;
|
package/index.js
CHANGED