@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
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export interface TimelineDotClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `variant="filled"`. */
|
|
5
|
-
filled: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
-
outlined: string;
|
|
8
|
-
/** Styles applied to the root element if `color="grey"` and `variant="filled"`. */
|
|
9
|
-
filledGrey: string;
|
|
10
|
-
/** Styles applied to the root element if `color="grey"` and `variant="outlined"`. */
|
|
11
|
-
outlinedGrey: string;
|
|
12
|
-
/** Styles applied to the root element if `color="primary"` and `variant="filled"`. */
|
|
13
|
-
filledPrimary: string;
|
|
14
|
-
/** Styles applied to the root element if `color="primary"` and `variant="outlined"`. */
|
|
15
|
-
outlinedPrimary: string;
|
|
16
|
-
/** Styles applied to the root element if `color="secondary"` and `variant="filled"`. */
|
|
17
|
-
filledSecondary: string;
|
|
18
|
-
/** Styles applied to the root element if `color="secondary"` and `variant="outlined"`. */
|
|
19
|
-
outlinedSecondary: string;
|
|
20
|
-
}
|
|
21
|
-
export declare type TimelineDotClassKey = keyof TimelineDotClasses;
|
|
22
|
-
export declare function getTimelineDotUtilityClass(slot: string): string;
|
|
23
|
-
declare const timelineDotClasses: TimelineDotClasses;
|
|
24
|
-
export default timelineDotClasses;
|
|
1
|
+
export interface TimelineDotClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="filled"`. */
|
|
5
|
+
filled: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
+
outlined: string;
|
|
8
|
+
/** Styles applied to the root element if `color="grey"` and `variant="filled"`. */
|
|
9
|
+
filledGrey: string;
|
|
10
|
+
/** Styles applied to the root element if `color="grey"` and `variant="outlined"`. */
|
|
11
|
+
outlinedGrey: string;
|
|
12
|
+
/** Styles applied to the root element if `color="primary"` and `variant="filled"`. */
|
|
13
|
+
filledPrimary: string;
|
|
14
|
+
/** Styles applied to the root element if `color="primary"` and `variant="outlined"`. */
|
|
15
|
+
outlinedPrimary: string;
|
|
16
|
+
/** Styles applied to the root element if `color="secondary"` and `variant="filled"`. */
|
|
17
|
+
filledSecondary: string;
|
|
18
|
+
/** Styles applied to the root element if `color="secondary"` and `variant="outlined"`. */
|
|
19
|
+
outlinedSecondary: string;
|
|
20
|
+
}
|
|
21
|
+
export declare type TimelineDotClassKey = keyof TimelineDotClasses;
|
|
22
|
+
export declare function getTimelineDotUtilityClass(slot: string): string;
|
|
23
|
+
declare const timelineDotClasses: TimelineDotClasses;
|
|
24
|
+
export default timelineDotClasses;
|
|
@@ -27,10 +27,10 @@ export interface TimelineItemProps extends StandardProps<React.HTMLAttributes<HT
|
|
|
27
27
|
*
|
|
28
28
|
* Demos:
|
|
29
29
|
*
|
|
30
|
-
* - [Timeline](https://mui.com/
|
|
30
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
31
31
|
*
|
|
32
32
|
* API:
|
|
33
33
|
*
|
|
34
|
-
* - [TimelineItem API](https://mui.com/api/timeline-item/)
|
|
34
|
+
* - [TimelineItem API](https://mui.com/material-ui/api/timeline-item/)
|
|
35
35
|
*/
|
|
36
36
|
export default function TimelineItem(props: TimelineItemProps): JSX.Element;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface TimelineItemClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `position="left"`. */
|
|
5
|
-
positionLeft: string;
|
|
6
|
-
/** Styles applied to the root element if `position="right"`. */
|
|
7
|
-
positionRight: string;
|
|
8
|
-
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
|
-
positionAlternate: string;
|
|
10
|
-
/** Styles applied to the root element if TimelineOppositeContent isn't provided. */
|
|
11
|
-
missingOppositeContent: string;
|
|
12
|
-
}
|
|
13
|
-
export declare type TimelineItemClassKey = keyof TimelineItemClasses;
|
|
14
|
-
export declare function getTimelineItemUtilityClass(slot: string): string;
|
|
15
|
-
declare const timelineItemClasses: TimelineItemClasses;
|
|
16
|
-
export default timelineItemClasses;
|
|
1
|
+
export interface TimelineItemClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `position="left"`. */
|
|
5
|
+
positionLeft: string;
|
|
6
|
+
/** Styles applied to the root element if `position="right"`. */
|
|
7
|
+
positionRight: string;
|
|
8
|
+
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
|
+
positionAlternate: string;
|
|
10
|
+
/** Styles applied to the root element if TimelineOppositeContent isn't provided. */
|
|
11
|
+
missingOppositeContent: string;
|
|
12
|
+
}
|
|
13
|
+
export declare type TimelineItemClassKey = keyof TimelineItemClasses;
|
|
14
|
+
export declare function getTimelineItemUtilityClass(slot: string): string;
|
|
15
|
+
declare const timelineItemClasses: TimelineItemClasses;
|
|
16
|
+
export default timelineItemClasses;
|
|
@@ -23,12 +23,12 @@ export interface TimelineOppositeContentProps extends StandardProps<TypographyPr
|
|
|
23
23
|
*
|
|
24
24
|
* Demos:
|
|
25
25
|
*
|
|
26
|
-
* - [Timeline](https://mui.com/
|
|
26
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
27
27
|
*
|
|
28
28
|
* API:
|
|
29
29
|
*
|
|
30
|
-
* - [TimelineOppositeContent API](https://mui.com/api/timeline-opposite-content/)
|
|
31
|
-
* - inherits [Typography API](https://mui.com/api/typography/)
|
|
30
|
+
* - [TimelineOppositeContent API](https://mui.com/material-ui/api/timeline-opposite-content/)
|
|
31
|
+
* - inherits [Typography API](https://mui.com/material-ui/api/typography/)
|
|
32
32
|
*/
|
|
33
33
|
declare const TimelineOppositeContent: ((props: TimelineOppositeContentProps) => JSX.Element) & {
|
|
34
34
|
muiName: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface TimelineOppositeContentClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `position="right"`. */
|
|
5
|
-
positionRight: string;
|
|
6
|
-
/** Styles applied to the root element if `position="left"`. */
|
|
7
|
-
positionLeft: string;
|
|
8
|
-
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
|
-
positionAlternate: string;
|
|
10
|
-
}
|
|
11
|
-
export declare type TimelineOppositeContentClassKey = keyof TimelineOppositeContentClasses;
|
|
12
|
-
export declare function getTimelineOppositeContentUtilityClass(slot: string): string;
|
|
13
|
-
declare const timelineOppositeContentClasses: TimelineOppositeContentClasses;
|
|
14
|
-
export default timelineOppositeContentClasses;
|
|
1
|
+
export interface TimelineOppositeContentClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `position="right"`. */
|
|
5
|
+
positionRight: string;
|
|
6
|
+
/** Styles applied to the root element if `position="left"`. */
|
|
7
|
+
positionLeft: string;
|
|
8
|
+
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
|
+
positionAlternate: string;
|
|
10
|
+
}
|
|
11
|
+
export declare type TimelineOppositeContentClassKey = keyof TimelineOppositeContentClasses;
|
|
12
|
+
export declare function getTimelineOppositeContentUtilityClass(slot: string): string;
|
|
13
|
+
declare const timelineOppositeContentClasses: TimelineOppositeContentClasses;
|
|
14
|
+
export default timelineOppositeContentClasses;
|
|
@@ -24,10 +24,10 @@ export interface TimelineSeparatorProps
|
|
|
24
24
|
*
|
|
25
25
|
* Demos:
|
|
26
26
|
*
|
|
27
|
-
* - [Timeline](https://mui.com/
|
|
27
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
28
28
|
*
|
|
29
29
|
* API:
|
|
30
30
|
*
|
|
31
|
-
* - [TimelineSeparator API](https://mui.com/api/timeline-separator/)
|
|
31
|
+
* - [TimelineSeparator API](https://mui.com/material-ui/api/timeline-separator/)
|
|
32
32
|
*/
|
|
33
33
|
export default function TimelineSeparator(props: TimelineSeparatorProps): JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface TimelineSeparatorClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type TimelineSeparatorClassKey = keyof TimelineSeparatorClasses;
|
|
6
|
-
export declare function getTimelineSeparatorUtilityClass(slot: string): string;
|
|
7
|
-
declare const timelineSeparatorClasses: TimelineSeparatorClasses;
|
|
8
|
-
export default timelineSeparatorClasses;
|
|
1
|
+
export interface TimelineSeparatorClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export declare type TimelineSeparatorClassKey = keyof TimelineSeparatorClasses;
|
|
6
|
+
export declare function getTimelineSeparatorUtilityClass(slot: string): string;
|
|
7
|
+
declare const timelineSeparatorClasses: TimelineSeparatorClasses;
|
|
8
|
+
export default timelineSeparatorClasses;
|
package/TreeItem/TreeItem.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export interface TreeItemProps
|
|
|
59
59
|
nodeId: string;
|
|
60
60
|
/**
|
|
61
61
|
* The component used for the transition.
|
|
62
|
-
* [Follow this guide](/
|
|
62
|
+
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
63
63
|
* @default Collapse
|
|
64
64
|
*/
|
|
65
65
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps>;
|
|
@@ -78,10 +78,10 @@ export interface TreeItemProps
|
|
|
78
78
|
*
|
|
79
79
|
* Demos:
|
|
80
80
|
*
|
|
81
|
-
* - [Tree
|
|
81
|
+
* - [Tree view](https://mui.com/material-ui/react-tree-view/)
|
|
82
82
|
*
|
|
83
83
|
* API:
|
|
84
84
|
*
|
|
85
|
-
* - [TreeItem API](https://mui.com/api/tree-item/)
|
|
85
|
+
* - [TreeItem API](https://mui.com/material-ui/api/tree-item/)
|
|
86
86
|
*/
|
|
87
87
|
export default function TreeItem(props: TreeItemProps): JSX.Element;
|
package/TreeItem/TreeItem.js
CHANGED
|
@@ -409,7 +409,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes
|
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
411
|
* The component used for the transition.
|
|
412
|
-
* [Follow this guide](/
|
|
412
|
+
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
413
413
|
* @default Collapse
|
|
414
414
|
*/
|
|
415
415
|
TransitionComponent: PropTypes.elementType,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export interface TreeItemClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the transition component. */
|
|
5
|
-
group: string;
|
|
6
|
-
/** Styles applied to the content element. */
|
|
7
|
-
content: string;
|
|
8
|
-
/** State class applied to the content element when expanded. */
|
|
9
|
-
expanded: string;
|
|
10
|
-
/** State class applied to the content element when selected. */
|
|
11
|
-
selected: string;
|
|
12
|
-
/** State class applied to the content element when focused. */
|
|
13
|
-
focused: string;
|
|
14
|
-
/** State class applied to the element when disabled. */
|
|
15
|
-
disabled: string;
|
|
16
|
-
/** Styles applied to the tree node icon. */
|
|
17
|
-
iconContainer: string;
|
|
18
|
-
/** Styles applied to the label element. */
|
|
19
|
-
label: string;
|
|
20
|
-
}
|
|
21
|
-
export declare type TreeItemClassKey = keyof TreeItemClasses;
|
|
22
|
-
export declare function getTreeItemUtilityClass(slot: string): string;
|
|
23
|
-
declare const treeItemClasses: TreeItemClasses;
|
|
24
|
-
export default treeItemClasses;
|
|
1
|
+
export interface TreeItemClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the transition component. */
|
|
5
|
+
group: string;
|
|
6
|
+
/** Styles applied to the content element. */
|
|
7
|
+
content: string;
|
|
8
|
+
/** State class applied to the content element when expanded. */
|
|
9
|
+
expanded: string;
|
|
10
|
+
/** State class applied to the content element when selected. */
|
|
11
|
+
selected: string;
|
|
12
|
+
/** State class applied to the content element when focused. */
|
|
13
|
+
focused: string;
|
|
14
|
+
/** State class applied to the element when disabled. */
|
|
15
|
+
disabled: string;
|
|
16
|
+
/** Styles applied to the tree node icon. */
|
|
17
|
+
iconContainer: string;
|
|
18
|
+
/** Styles applied to the label element. */
|
|
19
|
+
label: string;
|
|
20
|
+
}
|
|
21
|
+
export declare type TreeItemClassKey = keyof TreeItemClasses;
|
|
22
|
+
export declare function getTreeItemUtilityClass(slot: string): string;
|
|
23
|
+
declare const treeItemClasses: TreeItemClasses;
|
|
24
|
+
export default treeItemClasses;
|
package/TreeView/TreeView.d.ts
CHANGED
|
@@ -135,10 +135,10 @@ export type TreeViewProps = SingleSelectTreeViewProps | MultiSelectTreeViewProps
|
|
|
135
135
|
*
|
|
136
136
|
* Demos:
|
|
137
137
|
*
|
|
138
|
-
* - [Tree
|
|
138
|
+
* - [Tree view](https://mui.com/material-ui/react-tree-view/)
|
|
139
139
|
*
|
|
140
140
|
* API:
|
|
141
141
|
*
|
|
142
|
-
* - [TreeView API](https://mui.com/api/tree-view/)
|
|
142
|
+
* - [TreeView API](https://mui.com/material-ui/api/tree-view/)
|
|
143
143
|
*/
|
|
144
144
|
export default function TreeView(props: TreeViewProps): JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface TreeViewClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type TreeViewClassKey = keyof TreeViewClasses;
|
|
6
|
-
export declare function getTreeViewUtilityClass(slot: string): string;
|
|
7
|
-
declare const treeViewClasses: TreeViewClasses;
|
|
8
|
-
export default treeViewClasses;
|
|
1
|
+
export interface TreeViewClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export declare type TreeViewClassKey = keyof TreeViewClasses;
|
|
6
|
+
export declare function getTreeViewUtilityClass(slot: string): string;
|
|
7
|
+
declare const treeViewClasses: TreeViewClasses;
|
|
8
|
+
export default treeViewClasses;
|
package/YearPicker/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { YearPicker as default, yearPickerClasses, getYearPickerUtilityClass, } from '@mui/x-date-pickers/YearPicker';
|
|
2
|
-
export type { YearPickerProps, YearPickerClasses, YearPickerClassKey, } from '@mui/x-date-pickers/YearPicker';
|
|
1
|
+
export { YearPicker as default, yearPickerClasses, getYearPickerUtilityClass, } from '@mui/x-date-pickers/YearPicker';
|
|
2
|
+
export type { YearPickerProps, YearPickerClasses, YearPickerClassKey, } from '@mui/x-date-pickers/YearPicker';
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
-
muiName: string;
|
|
3
|
-
};
|
|
4
|
-
/**
|
|
5
|
-
* @ignore - internal component.
|
|
6
|
-
*/
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
+
muiName: string;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* @ignore - internal component.
|
|
6
|
+
*/
|
|
7
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
-
muiName: string;
|
|
3
|
-
};
|
|
4
|
-
/**
|
|
5
|
-
* @ignore - internal component.
|
|
6
|
-
*/
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
+
muiName: string;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* @ignore - internal component.
|
|
6
|
+
*/
|
|
7
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
-
muiName: string;
|
|
3
|
-
};
|
|
4
|
-
/**
|
|
5
|
-
* @ignore - internal component.
|
|
6
|
-
*/
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
+
muiName: string;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* @ignore - internal component.
|
|
6
|
+
*/
|
|
7
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
-
muiName: string;
|
|
3
|
-
};
|
|
4
|
-
/**
|
|
5
|
-
* @ignore - internal component.
|
|
6
|
-
*/
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
+
muiName: string;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* @ignore - internal component.
|
|
6
|
+
*/
|
|
7
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
-
muiName: string;
|
|
3
|
-
};
|
|
4
|
-
/**
|
|
5
|
-
* @ignore - internal component.
|
|
6
|
-
*/
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
+
muiName: string;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* @ignore - internal component.
|
|
6
|
+
*/
|
|
7
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
-
muiName: string;
|
|
3
|
-
};
|
|
4
|
-
/**
|
|
5
|
-
* @ignore - internal component.
|
|
6
|
-
*/
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
+
muiName: string;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* @ignore - internal component.
|
|
6
|
+
*/
|
|
7
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
-
muiName: string;
|
|
3
|
-
};
|
|
4
|
-
/**
|
|
5
|
-
* @ignore - internal component.
|
|
6
|
-
*/
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
+
muiName: string;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* @ignore - internal component.
|
|
6
|
+
*/
|
|
7
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
-
muiName: string;
|
|
3
|
-
};
|
|
4
|
-
/**
|
|
5
|
-
* @ignore - internal component.
|
|
6
|
-
*/
|
|
7
|
-
export default _default;
|
|
1
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
2
|
+
muiName: string;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* @ignore - internal component.
|
|
6
|
+
*/
|
|
7
|
+
export default _default;
|
|
@@ -5,7 +5,7 @@ var warnedOnce = false;
|
|
|
5
5
|
|
|
6
6
|
var warn = function warn() {
|
|
7
7
|
if (!warnedOnce) {
|
|
8
|
-
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
|
|
8
|
+
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'));
|
|
9
9
|
warnedOnce = true;
|
|
10
10
|
}
|
|
11
11
|
};
|
|
@@ -4,7 +4,7 @@ var warnedOnce = false;
|
|
|
4
4
|
|
|
5
5
|
var warn = function warn() {
|
|
6
6
|
if (!warnedOnce) {
|
|
7
|
-
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
|
|
7
|
+
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'));
|
|
8
8
|
warnedOnce = true;
|
|
9
9
|
}
|
|
10
10
|
};
|
|
@@ -5,7 +5,7 @@ var warnedOnce = false;
|
|
|
5
5
|
|
|
6
6
|
var warn = function warn() {
|
|
7
7
|
if (!warnedOnce) {
|
|
8
|
-
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
|
|
8
|
+
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'));
|
|
9
9
|
warnedOnce = true;
|
|
10
10
|
}
|
|
11
11
|
};
|
|
@@ -5,7 +5,7 @@ var warnedOnce = false;
|
|
|
5
5
|
|
|
6
6
|
var warn = function warn() {
|
|
7
7
|
if (!warnedOnce) {
|
|
8
|
-
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
|
|
8
|
+
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'));
|
|
9
9
|
warnedOnce = true;
|
|
10
10
|
}
|
|
11
11
|
};
|
|
@@ -5,7 +5,7 @@ var warnedOnce = false;
|
|
|
5
5
|
|
|
6
6
|
var warn = function warn() {
|
|
7
7
|
if (!warnedOnce) {
|
|
8
|
-
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
|
|
8
|
+
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'));
|
|
9
9
|
warnedOnce = true;
|
|
10
10
|
}
|
|
11
11
|
};
|
|
@@ -36,11 +36,11 @@ var TimelineRoot = styled('ul', {
|
|
|
36
36
|
*
|
|
37
37
|
* Demos:
|
|
38
38
|
*
|
|
39
|
-
* - [Timeline](https://mui.com/
|
|
39
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
40
40
|
*
|
|
41
41
|
* API:
|
|
42
42
|
*
|
|
43
|
-
* - [Timeline API](https://mui.com/api/timeline/)
|
|
43
|
+
* - [Timeline API](https://mui.com/material-ui/api/timeline/)
|
|
44
44
|
*/
|
|
45
45
|
|
|
46
46
|
var Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
|
|
@@ -411,7 +411,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes
|
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
413
|
* The component used for the transition.
|
|
414
|
-
* [Follow this guide](/
|
|
414
|
+
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
415
415
|
* @default Collapse
|
|
416
416
|
*/
|
|
417
417
|
TransitionComponent: PropTypes.elementType,
|
package/legacy/index.js
CHANGED
|
@@ -5,7 +5,7 @@ let warnedOnce = false;
|
|
|
5
5
|
|
|
6
6
|
const warn = () => {
|
|
7
7
|
if (!warnedOnce) {
|
|
8
|
-
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
|
|
8
|
+
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'));
|
|
9
9
|
warnedOnce = true;
|
|
10
10
|
}
|
|
11
11
|
};
|
|
@@ -4,7 +4,7 @@ let warnedOnce = false;
|
|
|
4
4
|
|
|
5
5
|
const warn = () => {
|
|
6
6
|
if (!warnedOnce) {
|
|
7
|
-
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
|
|
7
|
+
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'));
|
|
8
8
|
warnedOnce = true;
|
|
9
9
|
}
|
|
10
10
|
};
|
|
@@ -5,7 +5,7 @@ let warnedOnce = false;
|
|
|
5
5
|
|
|
6
6
|
const warn = () => {
|
|
7
7
|
if (!warnedOnce) {
|
|
8
|
-
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
|
|
8
|
+
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'));
|
|
9
9
|
warnedOnce = true;
|
|
10
10
|
}
|
|
11
11
|
};
|
|
@@ -5,7 +5,7 @@ let warnedOnce = false;
|
|
|
5
5
|
|
|
6
6
|
const warn = () => {
|
|
7
7
|
if (!warnedOnce) {
|
|
8
|
-
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
|
|
8
|
+
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'));
|
|
9
9
|
warnedOnce = true;
|
|
10
10
|
}
|
|
11
11
|
};
|
|
@@ -5,7 +5,7 @@ let warnedOnce = false;
|
|
|
5
5
|
|
|
6
6
|
const warn = () => {
|
|
7
7
|
if (!warnedOnce) {
|
|
8
|
-
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
|
|
8
|
+
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'));
|
|
9
9
|
warnedOnce = true;
|
|
10
10
|
}
|
|
11
11
|
};
|
|
@@ -41,11 +41,11 @@ const TimelineRoot = styled('ul', {
|
|
|
41
41
|
*
|
|
42
42
|
* Demos:
|
|
43
43
|
*
|
|
44
|
-
* - [Timeline](https://mui.com/
|
|
44
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
45
45
|
*
|
|
46
46
|
* API:
|
|
47
47
|
*
|
|
48
|
-
* - [Timeline API](https://mui.com/api/timeline/)
|
|
48
|
+
* - [Timeline API](https://mui.com/material-ui/api/timeline/)
|
|
49
49
|
*/
|
|
50
50
|
|
|
51
51
|
const Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
|
|
@@ -409,7 +409,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes
|
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
411
|
* The component used for the transition.
|
|
412
|
-
* [Follow this guide](/
|
|
412
|
+
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
413
413
|
* @default Collapse
|
|
414
414
|
*/
|
|
415
415
|
TransitionComponent: PropTypes.elementType,
|
package/modern/index.js
CHANGED