@mui/lab 6.0.0-beta.3 → 6.0.0-beta.30
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.js +1 -1
- package/AdapterDayjs/index.js +1 -1
- package/AdapterLuxon/index.js +1 -1
- package/AdapterMoment/index.js +1 -1
- package/Alert/index.js +1 -1
- package/AlertTitle/index.js +1 -1
- package/Autocomplete/index.js +1 -1
- package/AvatarGroup/index.js +1 -1
- package/CHANGELOG.md +1648 -15413
- package/CalendarPicker/index.js +2 -2
- package/CalendarPickerSkeleton/index.js +2 -2
- package/ClockPicker/index.js +2 -2
- package/DatePicker/index.js +2 -2
- package/DateRangePicker/index.js +2 -2
- package/DateRangePickerDay/index.js +2 -2
- package/DateTimePicker/index.js +2 -2
- package/DesktopDatePicker/index.js +2 -2
- package/DesktopDateRangePicker/index.js +2 -2
- package/DesktopDateTimePicker/index.js +2 -2
- package/DesktopTimePicker/index.js +2 -2
- package/LoadingButton/LoadingButton.d.ts +6 -78
- package/LoadingButton/LoadingButton.js +15 -289
- package/LoadingButton/index.d.ts +0 -3
- package/LoadingButton/index.js +1 -3
- package/LocalizationProvider/index.js +2 -2
- package/Masonry/Masonry.d.ts +2 -2
- package/Masonry/Masonry.js +2 -2
- package/Masonry/index.js +3 -3
- package/MobileDatePicker/index.js +2 -2
- package/MobileDateRangePicker/index.js +2 -2
- package/MobileDateTimePicker/index.js +2 -2
- package/MobileTimePicker/index.js +2 -2
- package/MonthPicker/index.js +2 -2
- package/Pagination/index.js +2 -2
- package/PaginationItem/index.js +1 -1
- package/PickersDay/index.js +2 -2
- package/README.md +3 -3
- package/Rating/index.js +1 -1
- package/Skeleton/index.js +1 -1
- package/SpeedDial/index.js +1 -1
- package/SpeedDialAction/index.js +1 -1
- package/SpeedDialIcon/index.js +1 -1
- package/StaticDatePicker/index.js +2 -2
- package/StaticDateRangePicker/index.js +2 -2
- package/StaticDateTimePicker/index.js +2 -2
- package/StaticTimePicker/index.js +2 -2
- package/TabContext/TabContext.d.ts +2 -2
- package/TabContext/index.js +2 -2
- package/TabList/TabList.d.ts +3 -3
- package/TabList/TabList.js +1 -1
- package/TabList/index.js +1 -1
- package/TabPanel/TabPanel.d.ts +3 -3
- package/TabPanel/TabPanel.js +3 -3
- package/TabPanel/index.js +3 -3
- package/TimePicker/index.js +2 -2
- package/Timeline/Timeline.d.ts +2 -2
- package/Timeline/Timeline.js +6 -8
- package/Timeline/Timeline.types.d.ts +1 -2
- package/Timeline/TimelineContext.js +2 -0
- package/Timeline/index.js +4 -4
- package/TimelineConnector/TimelineConnector.d.ts +2 -2
- package/TimelineConnector/TimelineConnector.js +1 -1
- package/TimelineConnector/index.js +3 -3
- package/TimelineContent/TimelineContent.d.ts +3 -3
- package/TimelineContent/TimelineContent.js +3 -3
- package/TimelineContent/index.js +3 -3
- package/TimelineDot/TimelineDot.d.ts +2 -2
- package/TimelineDot/TimelineDot.js +1 -1
- package/TimelineDot/index.js +3 -3
- package/TimelineItem/TimelineItem.d.ts +2 -2
- package/TimelineItem/TimelineItem.js +5 -5
- package/TimelineItem/index.js +3 -3
- package/TimelineOppositeContent/TimelineOppositeContent.d.ts +3 -3
- package/TimelineOppositeContent/TimelineOppositeContent.js +3 -3
- package/TimelineOppositeContent/index.js +3 -3
- package/TimelineSeparator/TimelineSeparator.d.ts +2 -2
- package/TimelineSeparator/TimelineSeparator.js +1 -1
- package/TimelineSeparator/index.js +3 -3
- package/ToggleButton/index.js +1 -1
- package/ToggleButtonGroup/index.js +1 -1
- package/TreeItem/index.js +2 -2
- package/TreeView/TreeView.d.ts +1 -1
- package/TreeView/index.js +2 -2
- package/YearPicker/index.js +2 -2
- package/index.js +104 -104
- package/internal/svg-icons/ArrowDropDown.js +1 -1
- package/internal/svg-icons/ArrowLeft.js +1 -1
- package/internal/svg-icons/ArrowRight.js +1 -1
- package/internal/svg-icons/Calendar.js +1 -1
- package/internal/svg-icons/Clock.js +1 -1
- package/internal/svg-icons/DateRange.js +1 -1
- package/internal/svg-icons/Pen.js +1 -1
- package/internal/svg-icons/Time.js +1 -1
- package/modern/AdapterDateFns/index.js +1 -1
- package/modern/AdapterDayjs/index.js +1 -1
- package/modern/AdapterLuxon/index.js +1 -1
- package/modern/AdapterMoment/index.js +1 -1
- package/modern/Alert/index.js +1 -1
- package/modern/AlertTitle/index.js +1 -1
- package/modern/Autocomplete/index.js +1 -1
- package/modern/AvatarGroup/index.js +1 -1
- package/modern/CalendarPicker/index.js +2 -2
- package/modern/CalendarPickerSkeleton/index.js +2 -2
- package/modern/ClockPicker/index.js +2 -2
- package/modern/DatePicker/index.js +2 -2
- package/modern/DateRangePicker/index.js +2 -2
- package/modern/DateRangePickerDay/index.js +2 -2
- package/modern/DateTimePicker/index.js +2 -2
- package/modern/DesktopDatePicker/index.js +2 -2
- package/modern/DesktopDateRangePicker/index.js +2 -2
- package/modern/DesktopDateTimePicker/index.js +2 -2
- package/modern/DesktopTimePicker/index.js +2 -2
- package/modern/LoadingButton/LoadingButton.js +15 -289
- package/modern/LoadingButton/index.js +1 -3
- package/modern/LocalizationProvider/index.js +2 -2
- package/modern/Masonry/Masonry.js +2 -2
- package/modern/Masonry/index.js +3 -3
- package/modern/MobileDatePicker/index.js +2 -2
- package/modern/MobileDateRangePicker/index.js +2 -2
- package/modern/MobileDateTimePicker/index.js +2 -2
- package/modern/MobileTimePicker/index.js +2 -2
- package/modern/MonthPicker/index.js +2 -2
- package/modern/Pagination/index.js +2 -2
- package/modern/PaginationItem/index.js +1 -1
- package/modern/PickersDay/index.js +2 -2
- package/modern/Rating/index.js +1 -1
- package/modern/Skeleton/index.js +1 -1
- package/modern/SpeedDial/index.js +1 -1
- package/modern/SpeedDialAction/index.js +1 -1
- package/modern/SpeedDialIcon/index.js +1 -1
- package/modern/StaticDatePicker/index.js +2 -2
- package/modern/StaticDateRangePicker/index.js +2 -2
- package/modern/StaticDateTimePicker/index.js +2 -2
- package/modern/StaticTimePicker/index.js +2 -2
- package/modern/TabContext/index.js +2 -2
- package/modern/TabList/TabList.js +1 -1
- package/modern/TabList/index.js +1 -1
- package/modern/TabPanel/TabPanel.js +3 -3
- package/modern/TabPanel/index.js +3 -3
- package/modern/TimePicker/index.js +2 -2
- package/modern/Timeline/Timeline.js +6 -8
- package/modern/Timeline/TimelineContext.js +2 -0
- package/modern/Timeline/index.js +4 -4
- package/modern/TimelineConnector/TimelineConnector.js +1 -1
- package/modern/TimelineConnector/index.js +3 -3
- package/modern/TimelineContent/TimelineContent.js +3 -3
- package/modern/TimelineContent/index.js +3 -3
- package/modern/TimelineDot/TimelineDot.js +1 -1
- package/modern/TimelineDot/index.js +3 -3
- package/modern/TimelineItem/TimelineItem.js +5 -5
- package/modern/TimelineItem/index.js +3 -3
- package/modern/TimelineOppositeContent/TimelineOppositeContent.js +3 -3
- package/modern/TimelineOppositeContent/index.js +3 -3
- package/modern/TimelineSeparator/TimelineSeparator.js +1 -1
- package/modern/TimelineSeparator/index.js +3 -3
- package/modern/ToggleButton/index.js +1 -1
- package/modern/ToggleButtonGroup/index.js +1 -1
- package/modern/TreeItem/index.js +2 -2
- package/modern/TreeView/index.js +2 -2
- package/modern/YearPicker/index.js +2 -2
- package/modern/index.js +104 -104
- package/modern/internal/svg-icons/ArrowDropDown.js +1 -1
- package/modern/internal/svg-icons/ArrowLeft.js +1 -1
- package/modern/internal/svg-icons/ArrowRight.js +1 -1
- package/modern/internal/svg-icons/Calendar.js +1 -1
- package/modern/internal/svg-icons/Clock.js +1 -1
- package/modern/internal/svg-icons/DateRange.js +1 -1
- package/modern/internal/svg-icons/Pen.js +1 -1
- package/modern/internal/svg-icons/Time.js +1 -1
- package/modern/themeAugmentation/components.js +2 -0
- package/modern/themeAugmentation/overrides.js +4 -0
- package/modern/themeAugmentation/props.js +2 -0
- package/node/AdapterDateFns/index.js +1 -1
- package/node/AdapterDayjs/index.js +1 -1
- package/node/AdapterLuxon/index.js +1 -1
- package/node/AdapterMoment/index.js +1 -1
- package/node/Alert/Alert.js +2 -3
- package/node/Alert/index.js +1 -1
- package/node/AlertTitle/AlertTitle.js +2 -3
- package/node/AlertTitle/index.js +1 -1
- package/node/Autocomplete/Autocomplete.js +2 -3
- package/node/Autocomplete/index.js +1 -1
- package/node/AvatarGroup/AvatarGroup.js +2 -3
- package/node/AvatarGroup/index.js +1 -1
- package/node/CalendarPicker/CalendarPicker.js +1 -2
- package/node/CalendarPicker/index.js +2 -3
- package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +1 -2
- package/node/CalendarPickerSkeleton/index.js +2 -3
- package/node/ClockPicker/ClockPicker.js +1 -2
- package/node/ClockPicker/index.js +2 -3
- package/node/DatePicker/DatePicker.js +1 -2
- package/node/DatePicker/index.js +2 -3
- package/node/DateRangePicker/DateRangePicker.js +1 -2
- package/node/DateRangePicker/index.js +2 -3
- package/node/DateRangePickerDay/DateRangePickerDay.js +1 -2
- package/node/DateRangePickerDay/index.js +2 -3
- package/node/DateTimePicker/DateTimePicker.js +1 -2
- package/node/DateTimePicker/index.js +2 -3
- package/node/DesktopDatePicker/DesktopDatePicker.js +1 -2
- package/node/DesktopDatePicker/index.js +2 -3
- package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -2
- package/node/DesktopDateRangePicker/index.js +2 -3
- package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +1 -2
- package/node/DesktopDateTimePicker/index.js +2 -3
- package/node/DesktopTimePicker/DesktopTimePicker.js +1 -2
- package/node/DesktopTimePicker/index.js +2 -3
- package/node/LoadingButton/LoadingButton.js +16 -291
- package/node/LoadingButton/index.js +2 -25
- package/node/LocalizationProvider/LocalizationProvider.js +1 -2
- package/node/LocalizationProvider/index.js +2 -3
- package/node/Masonry/Masonry.js +3 -4
- package/node/Masonry/index.js +3 -4
- package/node/Masonry/masonryClasses.js +1 -1
- package/node/MobileDatePicker/MobileDatePicker.js +1 -2
- package/node/MobileDatePicker/index.js +2 -3
- package/node/MobileDateRangePicker/MobileDateRangePicker.js +1 -2
- package/node/MobileDateRangePicker/index.js +2 -3
- package/node/MobileDateTimePicker/MobileDateTimePicker.js +1 -2
- package/node/MobileDateTimePicker/index.js +2 -3
- package/node/MobileTimePicker/MobileTimePicker.js +1 -2
- package/node/MobileTimePicker/index.js +2 -3
- package/node/MonthPicker/MonthPicker.js +1 -2
- package/node/MonthPicker/index.js +2 -3
- package/node/Pagination/Pagination.js +2 -3
- package/node/Pagination/index.js +1 -1
- package/node/Pagination/usePagination.js +1 -1
- package/node/PaginationItem/PaginationItem.js +2 -3
- package/node/PaginationItem/index.js +1 -1
- package/node/PickersDay/PickersDay.js +1 -2
- package/node/PickersDay/index.js +2 -3
- package/node/Rating/Rating.js +2 -3
- package/node/Rating/index.js +1 -1
- package/node/Skeleton/Skeleton.js +2 -3
- package/node/Skeleton/index.js +1 -1
- package/node/SpeedDial/SpeedDial.js +2 -3
- package/node/SpeedDial/index.js +1 -1
- package/node/SpeedDialAction/SpeedDialAction.js +2 -3
- package/node/SpeedDialAction/index.js +1 -1
- package/node/SpeedDialIcon/SpeedDialIcon.js +2 -3
- package/node/SpeedDialIcon/index.js +1 -1
- package/node/StaticDatePicker/StaticDatePicker.js +1 -2
- package/node/StaticDatePicker/index.js +2 -3
- package/node/StaticDateRangePicker/StaticDateRangePicker.js +1 -2
- package/node/StaticDateRangePicker/index.js +2 -3
- package/node/StaticDateTimePicker/StaticDateTimePicker.js +1 -2
- package/node/StaticDateTimePicker/index.js +2 -3
- package/node/StaticTimePicker/StaticTimePicker.js +1 -2
- package/node/StaticTimePicker/index.js +2 -3
- package/node/TabContext/TabContext.js +2 -3
- package/node/TabContext/index.js +2 -3
- package/node/TabList/TabList.js +2 -3
- package/node/TabList/index.js +1 -1
- package/node/TabPanel/TabPanel.js +3 -4
- package/node/TabPanel/index.js +3 -4
- package/node/TabPanel/tabPanelClasses.js +1 -1
- package/node/TimePicker/TimePicker.js +1 -2
- package/node/TimePicker/index.js +2 -3
- package/node/Timeline/Timeline.js +5 -8
- package/node/Timeline/TimelineContext.js +2 -2
- package/node/Timeline/index.js +3 -4
- package/node/Timeline/timelineClasses.js +1 -1
- package/node/TimelineConnector/TimelineConnector.js +2 -3
- package/node/TimelineConnector/index.js +3 -4
- package/node/TimelineConnector/timelineConnectorClasses.js +1 -1
- package/node/TimelineContent/TimelineContent.js +2 -3
- package/node/TimelineContent/index.js +3 -4
- package/node/TimelineContent/timelineContentClasses.js +1 -1
- package/node/TimelineDot/TimelineDot.js +2 -3
- package/node/TimelineDot/index.js +3 -4
- package/node/TimelineDot/timelineDotClasses.js +1 -1
- package/node/TimelineItem/TimelineItem.js +2 -3
- package/node/TimelineItem/index.js +3 -4
- package/node/TimelineItem/timelineItemClasses.js +1 -1
- package/node/TimelineOppositeContent/TimelineOppositeContent.js +2 -3
- package/node/TimelineOppositeContent/index.js +3 -4
- package/node/TimelineOppositeContent/timelineOppositeContentClasses.js +1 -1
- package/node/TimelineSeparator/TimelineSeparator.js +2 -3
- package/node/TimelineSeparator/index.js +3 -4
- package/node/TimelineSeparator/timelineSeparatorClasses.js +1 -1
- package/node/ToggleButton/ToggleButton.js +2 -3
- package/node/ToggleButton/index.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +2 -3
- package/node/ToggleButtonGroup/index.js +1 -1
- package/node/TreeItem/TreeItem.js +1 -2
- package/node/TreeItem/index.js +2 -3
- package/node/TreeView/TreeView.js +1 -2
- package/node/TreeView/index.js +2 -3
- package/node/YearPicker/index.js +2 -3
- package/node/index.js +4 -5
- package/node/internal/svg-icons/ArrowDropDown.js +2 -3
- package/node/internal/svg-icons/ArrowLeft.js +2 -3
- package/node/internal/svg-icons/ArrowRight.js +2 -3
- package/node/internal/svg-icons/Calendar.js +2 -3
- package/node/internal/svg-icons/Clock.js +2 -3
- package/node/internal/svg-icons/DateRange.js +2 -3
- package/node/internal/svg-icons/Pen.js +2 -3
- package/node/internal/svg-icons/Time.js +2 -3
- package/node/themeAugmentation/components.js +5 -0
- package/node/themeAugmentation/overrides.js +5 -0
- package/node/themeAugmentation/props.js +5 -0
- package/package.json +12 -12
- package/themeAugmentation/components.d.ts +58 -67
- package/themeAugmentation/components.js +2 -0
- package/themeAugmentation/overrides.d.ts +13 -17
- package/themeAugmentation/overrides.js +4 -0
- package/themeAugmentation/props.d.ts +14 -17
- package/themeAugmentation/props.js +2 -0
- package/LoadingButton/loadingButtonClasses.d.ts +0 -22
- package/LoadingButton/loadingButtonClasses.js +0 -7
- package/modern/LoadingButton/loadingButtonClasses.js +0 -7
- package/node/LoadingButton/loadingButtonClasses.js +0 -15
|
@@ -19,11 +19,11 @@ export interface TabContextProps {
|
|
|
19
19
|
*
|
|
20
20
|
* Demos:
|
|
21
21
|
*
|
|
22
|
-
* - [Tabs](https://
|
|
22
|
+
* - [Tabs](https://mui.com/material-ui/react-tabs/)
|
|
23
23
|
*
|
|
24
24
|
* API:
|
|
25
25
|
*
|
|
26
|
-
* - [TabContext API](https://
|
|
26
|
+
* - [TabContext API](https://mui.com/material-ui/api/tab-context/)
|
|
27
27
|
*/
|
|
28
28
|
export default function TabContext(props: TabContextProps): React.JSX.Element;
|
|
29
29
|
export function useTabContext(): TabContextValue | null;
|
package/TabContext/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default } from "./TabContext.js";
|
|
2
|
+
export * from "./TabContext.js";
|
package/TabList/TabList.d.ts
CHANGED
|
@@ -22,12 +22,12 @@ export interface TabListTypeMap<
|
|
|
22
22
|
*
|
|
23
23
|
* Demos:
|
|
24
24
|
*
|
|
25
|
-
* - [Tabs](https://
|
|
25
|
+
* - [Tabs](https://mui.com/material-ui/react-tabs/)
|
|
26
26
|
*
|
|
27
27
|
* API:
|
|
28
28
|
*
|
|
29
|
-
* - [TabList API](https://
|
|
30
|
-
* - inherits [Tabs API](https://
|
|
29
|
+
* - [TabList API](https://mui.com/material-ui/api/tab-list/)
|
|
30
|
+
* - inherits [Tabs API](https://mui.com/material-ui/api/tabs/)
|
|
31
31
|
*/
|
|
32
32
|
declare const TabList: OverridableComponent<TabListTypeMap>;
|
|
33
33
|
|
package/TabList/TabList.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import Tabs from '@mui/material/Tabs';
|
|
6
|
-
import { useTabContext, getTabId, getPanelId } from
|
|
6
|
+
import { useTabContext, getTabId, getPanelId } from "../TabContext/index.js";
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
const TabList = /*#__PURE__*/React.forwardRef(function TabList(props, ref) {
|
|
9
9
|
const {
|
package/TabList/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./TabList.js";
|
package/TabPanel/TabPanel.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface TabPanelProps extends StandardProps<React.HTMLAttributes<HTMLDi
|
|
|
21
21
|
* The `value` of the corresponding `Tab`. Must use the index of the `Tab` when
|
|
22
22
|
* no `value` was passed to `Tab`.
|
|
23
23
|
*/
|
|
24
|
-
value: string;
|
|
24
|
+
value: string | number;
|
|
25
25
|
/**
|
|
26
26
|
* Always keep the children in the DOM.
|
|
27
27
|
* @default false
|
|
@@ -33,10 +33,10 @@ export interface TabPanelProps extends StandardProps<React.HTMLAttributes<HTMLDi
|
|
|
33
33
|
*
|
|
34
34
|
* Demos:
|
|
35
35
|
*
|
|
36
|
-
* - [Tabs](https://
|
|
36
|
+
* - [Tabs](https://mui.com/material-ui/react-tabs/)
|
|
37
37
|
*
|
|
38
38
|
* API:
|
|
39
39
|
*
|
|
40
|
-
* - [TabPanel API](https://
|
|
40
|
+
* - [TabPanel API](https://mui.com/material-ui/api/tab-panel/)
|
|
41
41
|
*/
|
|
42
42
|
export default function TabPanel(props: TabPanelProps): React.JSX.Element;
|
package/TabPanel/TabPanel.js
CHANGED
|
@@ -5,8 +5,8 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
7
7
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
8
|
-
import { getTabPanelUtilityClass } from
|
|
9
|
-
import { getPanelId, getTabId, useTabContext } from
|
|
8
|
+
import { getTabPanelUtilityClass } from "./tabPanelClasses.js";
|
|
9
|
+
import { getPanelId, getTabId, useTabContext } from "../TabContext/index.js";
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
const useUtilityClasses = ownerState => {
|
|
12
12
|
const {
|
|
@@ -91,6 +91,6 @@ process.env.NODE_ENV !== "production" ? TabPanel.propTypes /* remove-proptypes *
|
|
|
91
91
|
* The `value` of the corresponding `Tab`. Must use the index of the `Tab` when
|
|
92
92
|
* no `value` was passed to `Tab`.
|
|
93
93
|
*/
|
|
94
|
-
value: PropTypes.string.isRequired
|
|
94
|
+
value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired
|
|
95
95
|
} : void 0;
|
|
96
96
|
export default TabPanel;
|
package/TabPanel/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export { default as tabPanelClasses } from
|
|
3
|
-
export * from
|
|
1
|
+
export { default } from "./TabPanel.js";
|
|
2
|
+
export { default as tabPanelClasses } from "./tabPanelClasses.js";
|
|
3
|
+
export * from "./tabPanelClasses.js";
|
package/TimePicker/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default } from "./TimePicker.js";
|
|
2
|
+
export * from "./TimePicker.js";
|
package/Timeline/Timeline.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ import { TimelineProps } from './Timeline.types';
|
|
|
4
4
|
*
|
|
5
5
|
* Demos:
|
|
6
6
|
*
|
|
7
|
-
* - [Timeline](https://
|
|
7
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
8
8
|
*
|
|
9
9
|
* API:
|
|
10
10
|
*
|
|
11
|
-
* - [Timeline API](https://
|
|
11
|
+
* - [Timeline API](https://mui.com/material-ui/api/timeline/)
|
|
12
12
|
*/
|
|
13
13
|
declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & React.RefAttributes<HTMLUListElement>>;
|
|
14
14
|
/**
|
package/Timeline/Timeline.js
CHANGED
|
@@ -5,9 +5,9 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
7
7
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
8
|
-
import TimelineContext from
|
|
9
|
-
import { getTimelineUtilityClass } from
|
|
10
|
-
import convertTimelinePositionToClass from
|
|
8
|
+
import TimelineContext from "./TimelineContext.js";
|
|
9
|
+
import { getTimelineUtilityClass } from "./timelineClasses.js";
|
|
10
|
+
import convertTimelinePositionToClass from "../internal/convertTimelinePositionToClass.js";
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
const useUtilityClasses = ownerState => {
|
|
13
13
|
const {
|
|
@@ -39,11 +39,11 @@ const TimelineRoot = styled('ul', {
|
|
|
39
39
|
*
|
|
40
40
|
* Demos:
|
|
41
41
|
*
|
|
42
|
-
* - [Timeline](https://
|
|
42
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
43
43
|
*
|
|
44
44
|
* API:
|
|
45
45
|
*
|
|
46
|
-
* - [Timeline API](https://
|
|
46
|
+
* - [Timeline API](https://mui.com/material-ui/api/timeline/)
|
|
47
47
|
*/
|
|
48
48
|
const Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
|
|
49
49
|
const props = useThemeProps({
|
|
@@ -67,9 +67,7 @@ const Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
|
|
|
67
67
|
value: contextValue,
|
|
68
68
|
children: /*#__PURE__*/_jsx(TimelineRoot, {
|
|
69
69
|
className: clsx(classes.root, className),
|
|
70
|
-
ownerState: ownerState
|
|
71
|
-
// @ts-expect-error TypeScript bug, need to keep unknown for DX
|
|
72
|
-
,
|
|
70
|
+
ownerState: ownerState,
|
|
73
71
|
ref: ref,
|
|
74
72
|
...other
|
|
75
73
|
})
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
3
2
|
import { Theme } from '@mui/material/styles';
|
|
4
3
|
import { SxProps } from '@mui/system';
|
|
5
4
|
import { TimelineClasses } from './timelineClasses';
|
|
6
|
-
export interface TimelineProps extends StandardProps<React.
|
|
5
|
+
export interface TimelineProps extends StandardProps<React.ComponentProps<'ul'>> {
|
|
7
6
|
/**
|
|
8
7
|
* The position where the TimelineContent should appear relative to the time axis.
|
|
9
8
|
* @default 'right'
|
package/Timeline/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from
|
|
3
|
-
export { default as timelineClasses } from
|
|
4
|
-
export * from
|
|
1
|
+
export { default } from "./Timeline.js";
|
|
2
|
+
export * from "./Timeline.types.js";
|
|
3
|
+
export { default as timelineClasses } from "./timelineClasses.js";
|
|
4
|
+
export * from "./timelineClasses.js";
|
|
@@ -24,10 +24,10 @@ export interface TimelineConnectorProps
|
|
|
24
24
|
*
|
|
25
25
|
* Demos:
|
|
26
26
|
*
|
|
27
|
-
* - [Timeline](https://
|
|
27
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
28
28
|
*
|
|
29
29
|
* API:
|
|
30
30
|
*
|
|
31
|
-
* - [TimelineConnector API](https://
|
|
31
|
+
* - [TimelineConnector API](https://mui.com/material-ui/api/timeline-connector/)
|
|
32
32
|
*/
|
|
33
33
|
export default function TimelineConnector(props: TimelineConnectorProps): React.JSX.Element;
|
|
@@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
7
7
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
8
|
-
import { getTimelineConnectorUtilityClass } from
|
|
8
|
+
import { getTimelineConnectorUtilityClass } from "./timelineConnectorClasses.js";
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
const useUtilityClasses = ownerState => {
|
|
11
11
|
const {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export { default as timelineConnectorClasses } from
|
|
3
|
-
export * from
|
|
1
|
+
export { default } from "./TimelineConnector.js";
|
|
2
|
+
export { default as timelineConnectorClasses } from "./timelineConnectorClasses.js";
|
|
3
|
+
export * from "./timelineConnectorClasses.js";
|
|
@@ -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/material-ui/react-timeline/)
|
|
27
27
|
*
|
|
28
28
|
* API:
|
|
29
29
|
*
|
|
30
|
-
* - [TimelineContent API](https://
|
|
31
|
-
* - inherits [Typography API](https://
|
|
30
|
+
* - [TimelineContent API](https://mui.com/material-ui/api/timeline-content/)
|
|
31
|
+
* - inherits [Typography API](https://mui.com/material-ui/api/typography/)
|
|
32
32
|
*/
|
|
33
33
|
export default function TimelineContent(props: TimelineContentProps): React.JSX.Element;
|
|
@@ -6,9 +6,9 @@ import clsx from 'clsx';
|
|
|
6
6
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
7
7
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
8
8
|
import Typography from '@mui/material/Typography';
|
|
9
|
-
import TimelineContext from
|
|
10
|
-
import { getTimelineContentUtilityClass } from
|
|
11
|
-
import convertTimelinePositionToClass from
|
|
9
|
+
import TimelineContext from "../Timeline/TimelineContext.js";
|
|
10
|
+
import { getTimelineContentUtilityClass } from "./timelineContentClasses.js";
|
|
11
|
+
import convertTimelinePositionToClass from "../internal/convertTimelinePositionToClass.js";
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
const useUtilityClasses = ownerState => {
|
|
14
14
|
const {
|
package/TimelineContent/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export { default as timelineContentClasses } from
|
|
3
|
-
export * from
|
|
1
|
+
export { default } from "./TimelineContent.js";
|
|
2
|
+
export { default as timelineContentClasses } from "./timelineContentClasses.js";
|
|
3
|
+
export * from "./timelineContentClasses.js";
|
|
@@ -41,10 +41,10 @@ export interface TimelineDotProps extends StandardProps<React.HTMLAttributes<HTM
|
|
|
41
41
|
*
|
|
42
42
|
* Demos:
|
|
43
43
|
*
|
|
44
|
-
* - [Timeline](https://
|
|
44
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
45
45
|
*
|
|
46
46
|
* API:
|
|
47
47
|
*
|
|
48
|
-
* - [TimelineDot API](https://
|
|
48
|
+
* - [TimelineDot API](https://mui.com/material-ui/api/timeline-dot/)
|
|
49
49
|
*/
|
|
50
50
|
export default function TimelineDot(props: TimelineDotProps): React.JSX.Element;
|
|
@@ -6,7 +6,7 @@ import clsx from 'clsx';
|
|
|
6
6
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
7
7
|
import { capitalize } from '@mui/material/utils';
|
|
8
8
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
9
|
-
import { getTimelineDotUtilityClass } from
|
|
9
|
+
import { getTimelineDotUtilityClass } from "./timelineDotClasses.js";
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
const useUtilityClasses = ownerState => {
|
|
12
12
|
const {
|
package/TimelineDot/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export { default as timelineDotClasses } from
|
|
3
|
-
export * from
|
|
1
|
+
export { default } from "./TimelineDot.js";
|
|
2
|
+
export { default as timelineDotClasses } from "./timelineDotClasses.js";
|
|
3
|
+
export * from "./timelineDotClasses.js";
|
|
@@ -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/material-ui/react-timeline/)
|
|
31
31
|
*
|
|
32
32
|
* API:
|
|
33
33
|
*
|
|
34
|
-
* - [TimelineItem API](https://
|
|
34
|
+
* - [TimelineItem API](https://mui.com/material-ui/api/timeline-item/)
|
|
35
35
|
*/
|
|
36
36
|
export default function TimelineItem(props: TimelineItemProps): React.JSX.Element;
|
|
@@ -6,11 +6,11 @@ import clsx from 'clsx';
|
|
|
6
6
|
import { isMuiElement } from '@mui/material/utils';
|
|
7
7
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
8
8
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
9
|
-
import { timelineContentClasses } from
|
|
10
|
-
import { timelineOppositeContentClasses } from
|
|
11
|
-
import TimelineContext from
|
|
12
|
-
import { getTimelineItemUtilityClass } from
|
|
13
|
-
import convertTimelinePositionToClass from
|
|
9
|
+
import { timelineContentClasses } from "../TimelineContent/index.js";
|
|
10
|
+
import { timelineOppositeContentClasses } from "../TimelineOppositeContent/index.js";
|
|
11
|
+
import TimelineContext from "../Timeline/TimelineContext.js";
|
|
12
|
+
import { getTimelineItemUtilityClass } from "./timelineItemClasses.js";
|
|
13
|
+
import convertTimelinePositionToClass from "../internal/convertTimelinePositionToClass.js";
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
const useUtilityClasses = ownerState => {
|
|
16
16
|
const {
|
package/TimelineItem/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export { default as timelineItemClasses } from
|
|
3
|
-
export * from
|
|
1
|
+
export { default } from "./TimelineItem.js";
|
|
2
|
+
export { default as timelineItemClasses } from "./timelineItemClasses.js";
|
|
3
|
+
export * from "./timelineItemClasses.js";
|
|
@@ -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/material-ui/react-timeline/)
|
|
27
27
|
*
|
|
28
28
|
* API:
|
|
29
29
|
*
|
|
30
|
-
* - [TimelineOppositeContent API](https://
|
|
31
|
-
* - inherits [Typography API](https://
|
|
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: ((
|
|
34
34
|
props: TimelineOppositeContentProps,
|
|
@@ -6,9 +6,9 @@ import clsx from 'clsx';
|
|
|
6
6
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
7
7
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
8
8
|
import Typography from '@mui/material/Typography';
|
|
9
|
-
import TimelineContext from
|
|
10
|
-
import { getTimelineOppositeContentUtilityClass } from
|
|
11
|
-
import convertTimelinePositionToClass from
|
|
9
|
+
import TimelineContext from "../Timeline/TimelineContext.js";
|
|
10
|
+
import { getTimelineOppositeContentUtilityClass } from "./timelineOppositeContentClasses.js";
|
|
11
|
+
import convertTimelinePositionToClass from "../internal/convertTimelinePositionToClass.js";
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
const useUtilityClasses = ownerState => {
|
|
14
14
|
const {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export { default as timelineOppositeContentClasses } from
|
|
3
|
-
export * from
|
|
1
|
+
export { default } from "./TimelineOppositeContent.js";
|
|
2
|
+
export { default as timelineOppositeContentClasses } from "./timelineOppositeContentClasses.js";
|
|
3
|
+
export * from "./timelineOppositeContentClasses.js";
|
|
@@ -24,10 +24,10 @@ export interface TimelineSeparatorProps
|
|
|
24
24
|
*
|
|
25
25
|
* Demos:
|
|
26
26
|
*
|
|
27
|
-
* - [Timeline](https://
|
|
27
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
28
28
|
*
|
|
29
29
|
* API:
|
|
30
30
|
*
|
|
31
|
-
* - [TimelineSeparator API](https://
|
|
31
|
+
* - [TimelineSeparator API](https://mui.com/material-ui/api/timeline-separator/)
|
|
32
32
|
*/
|
|
33
33
|
export default function TimelineSeparator(props: TimelineSeparatorProps): React.JSX.Element;
|
|
@@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
7
7
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
8
|
-
import { getTimelineSeparatorUtilityClass } from
|
|
8
|
+
import { getTimelineSeparatorUtilityClass } from "./timelineSeparatorClasses.js";
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
const useUtilityClasses = ownerState => {
|
|
11
11
|
const {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export { default as timelineSeparatorClasses } from
|
|
3
|
-
export * from
|
|
1
|
+
export { default } from "./TimelineSeparator.js";
|
|
2
|
+
export { default as timelineSeparatorClasses } from "./timelineSeparatorClasses.js";
|
|
3
|
+
export * from "./timelineSeparatorClasses.js";
|
package/ToggleButton/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./ToggleButton.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./ToggleButtonGroup.js";
|
package/TreeItem/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default } from "./TreeItem.js";
|
|
2
|
+
export * from "./TreeItem.js";
|
package/TreeView/TreeView.d.ts
CHANGED
|
@@ -6,6 +6,6 @@ type TreeViewComponent<Multiple extends boolean | undefined = undefined> = ((pro
|
|
|
6
6
|
* @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
|
|
7
7
|
* @ignore - do not document.
|
|
8
8
|
*/
|
|
9
|
-
declare const TreeView: TreeViewComponent
|
|
9
|
+
declare const TreeView: TreeViewComponent;
|
|
10
10
|
export default TreeView;
|
|
11
11
|
export type TreeViewProps<Multiple> = Record<any, any>;
|
package/TreeView/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default } from "./TreeView.js";
|
|
2
|
+
export * from "./TreeView.js";
|
package/YearPicker/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from
|
|
2
|
-
export * from
|
|
1
|
+
export { default } from "./YearPicker.js";
|
|
2
|
+
export * from "./YearPicker.js";
|