@mui/lab 6.0.0-alpha.2 → 6.0.0-alpha.4
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/CHANGELOG.md +128 -0
- package/index.js +1 -1
- package/modern/index.js +1 -1
- package/node/index.js +1 -1
- package/package.json +5 -5
- package/legacy/AdapterDateFns/AdapterDateFns.js +0 -18
- package/legacy/AdapterDateFns/index.js +0 -1
- package/legacy/AdapterDayjs/AdapterDayjs.js +0 -18
- package/legacy/AdapterDayjs/index.js +0 -1
- package/legacy/AdapterLuxon/AdapterLuxon.js +0 -18
- package/legacy/AdapterLuxon/index.js +0 -1
- package/legacy/AdapterMoment/AdapterMoment.js +0 -18
- package/legacy/AdapterMoment/index.js +0 -1
- package/legacy/Alert/Alert.js +0 -20
- package/legacy/Alert/index.js +0 -1
- package/legacy/AlertTitle/AlertTitle.js +0 -20
- package/legacy/AlertTitle/index.js +0 -1
- package/legacy/Autocomplete/Autocomplete.js +0 -20
- package/legacy/Autocomplete/index.js +0 -1
- package/legacy/AvatarGroup/AvatarGroup.js +0 -20
- package/legacy/AvatarGroup/index.js +0 -1
- package/legacy/CalendarPicker/CalendarPicker.js +0 -21
- package/legacy/CalendarPicker/index.js +0 -2
- package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +0 -25
- package/legacy/CalendarPickerSkeleton/index.js +0 -2
- package/legacy/ClockPicker/ClockPicker.js +0 -21
- package/legacy/ClockPicker/index.js +0 -2
- package/legacy/DatePicker/DatePicker.js +0 -19
- package/legacy/DatePicker/index.js +0 -2
- package/legacy/DateRangePicker/DateRangePicker.js +0 -18
- package/legacy/DateRangePicker/index.js +0 -2
- package/legacy/DateRangePickerDay/DateRangePickerDay.js +0 -22
- package/legacy/DateRangePickerDay/index.js +0 -2
- package/legacy/DateTimePicker/DateTimePicker.js +0 -20
- package/legacy/DateTimePicker/index.js +0 -2
- package/legacy/DesktopDatePicker/DesktopDatePicker.js +0 -20
- package/legacy/DesktopDatePicker/index.js +0 -2
- package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -18
- package/legacy/DesktopDateRangePicker/index.js +0 -2
- package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +0 -20
- package/legacy/DesktopDateTimePicker/index.js +0 -2
- package/legacy/DesktopTimePicker/DesktopTimePicker.js +0 -20
- package/legacy/DesktopTimePicker/index.js +0 -2
- package/legacy/LoadingButton/LoadingButton.js +0 -213
- package/legacy/LoadingButton/index.js +0 -3
- package/legacy/LoadingButton/loadingButtonClasses.js +0 -7
- package/legacy/LocalizationProvider/LocalizationProvider.js +0 -19
- package/legacy/LocalizationProvider/index.js +0 -2
- package/legacy/Masonry/Masonry.js +0 -339
- package/legacy/Masonry/index.js +0 -3
- package/legacy/Masonry/masonryClasses.js +0 -7
- package/legacy/MobileDatePicker/MobileDatePicker.js +0 -20
- package/legacy/MobileDatePicker/index.js +0 -2
- package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +0 -18
- package/legacy/MobileDateRangePicker/index.js +0 -2
- package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +0 -20
- package/legacy/MobileDateTimePicker/index.js +0 -2
- package/legacy/MobileTimePicker/MobileTimePicker.js +0 -20
- package/legacy/MobileTimePicker/index.js +0 -2
- package/legacy/MonthPicker/MonthPicker.js +0 -25
- package/legacy/MonthPicker/index.js +0 -2
- package/legacy/Pagination/Pagination.js +0 -20
- package/legacy/Pagination/index.js +0 -2
- package/legacy/Pagination/usePagination.js +0 -3
- package/legacy/PaginationItem/PaginationItem.js +0 -20
- package/legacy/PaginationItem/index.js +0 -1
- package/legacy/PickersDay/PickersDay.js +0 -25
- package/legacy/PickersDay/index.js +0 -2
- package/legacy/Rating/Rating.js +0 -20
- package/legacy/Rating/index.js +0 -1
- package/legacy/Skeleton/Skeleton.js +0 -20
- package/legacy/Skeleton/index.js +0 -1
- package/legacy/SpeedDial/SpeedDial.js +0 -20
- package/legacy/SpeedDial/index.js +0 -1
- package/legacy/SpeedDialAction/SpeedDialAction.js +0 -20
- package/legacy/SpeedDialAction/index.js +0 -1
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +0 -20
- package/legacy/SpeedDialIcon/index.js +0 -1
- package/legacy/StaticDatePicker/StaticDatePicker.js +0 -20
- package/legacy/StaticDatePicker/index.js +0 -2
- package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +0 -18
- package/legacy/StaticDateRangePicker/index.js +0 -2
- package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +0 -20
- package/legacy/StaticDateTimePicker/index.js +0 -2
- package/legacy/StaticTimePicker/StaticTimePicker.js +0 -20
- package/legacy/StaticTimePicker/index.js +0 -2
- package/legacy/TabContext/TabContext.js +0 -72
- package/legacy/TabContext/index.js +0 -2
- package/legacy/TabList/TabList.js +0 -43
- package/legacy/TabList/index.js +0 -1
- package/legacy/TabPanel/TabPanel.js +0 -96
- package/legacy/TabPanel/index.js +0 -3
- package/legacy/TabPanel/tabPanelClasses.js +0 -7
- package/legacy/TimePicker/TimePicker.js +0 -20
- package/legacy/TimePicker/index.js +0 -2
- package/legacy/Timeline/Timeline.js +0 -113
- package/legacy/Timeline/Timeline.types.js +0 -1
- package/legacy/Timeline/TimelineContext.js +0 -10
- package/legacy/Timeline/index.js +0 -4
- package/legacy/Timeline/timelineClasses.js +0 -7
- package/legacy/TimelineConnector/TimelineConnector.js +0 -70
- package/legacy/TimelineConnector/index.js +0 -3
- package/legacy/TimelineConnector/timelineConnectorClasses.js +0 -7
- package/legacy/TimelineContent/TimelineContent.js +0 -82
- package/legacy/TimelineContent/index.js +0 -3
- package/legacy/TimelineContent/timelineContentClasses.js +0 -7
- package/legacy/TimelineDot/TimelineDot.js +0 -112
- package/legacy/TimelineDot/index.js +0 -3
- package/legacy/TimelineDot/timelineDotClasses.js +0 -7
- package/legacy/TimelineItem/TimelineItem.js +0 -118
- package/legacy/TimelineItem/index.js +0 -3
- package/legacy/TimelineItem/timelineItemClasses.js +0 -7
- package/legacy/TimelineOppositeContent/TimelineOppositeContent.js +0 -84
- package/legacy/TimelineOppositeContent/index.js +0 -3
- package/legacy/TimelineOppositeContent/timelineOppositeContentClasses.js +0 -7
- package/legacy/TimelineSeparator/TimelineSeparator.js +0 -68
- package/legacy/TimelineSeparator/index.js +0 -3
- package/legacy/TimelineSeparator/timelineSeparatorClasses.js +0 -7
- package/legacy/ToggleButton/ToggleButton.js +0 -20
- package/legacy/ToggleButton/index.js +0 -1
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +0 -20
- package/legacy/ToggleButtonGroup/index.js +0 -1
- package/legacy/TreeItem/TreeItem.js +0 -19
- package/legacy/TreeItem/index.js +0 -2
- package/legacy/TreeView/TreeView.js +0 -20
- package/legacy/TreeView/index.js +0 -2
- package/legacy/YearPicker/YearPicker.js +0 -24
- package/legacy/YearPicker/index.js +0 -2
- package/legacy/index.js +0 -113
- package/legacy/internal/convertTimelinePositionToClass.js +0 -4
- package/legacy/internal/svg-icons/ArrowDropDown.js +0 -12
- package/legacy/internal/svg-icons/ArrowLeft.js +0 -12
- package/legacy/internal/svg-icons/ArrowRight.js +0 -12
- package/legacy/internal/svg-icons/Calendar.js +0 -12
- package/legacy/internal/svg-icons/Clock.js +0 -16
- package/legacy/internal/svg-icons/DateRange.js +0 -12
- package/legacy/internal/svg-icons/Pen.js +0 -12
- package/legacy/internal/svg-icons/Time.js +0 -16
- package/legacy/themeAugmentation/index.js +0 -1
- package/legacy/useAutocomplete/index.js +0 -1
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
import clsx from 'clsx';
|
|
8
|
-
import { styled, useThemeProps } from '@mui/material/styles';
|
|
9
|
-
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
10
|
-
import Typography from '@mui/material/Typography';
|
|
11
|
-
import TimelineContext from '../Timeline/TimelineContext';
|
|
12
|
-
import { getTimelineOppositeContentUtilityClass } from './timelineOppositeContentClasses';
|
|
13
|
-
import convertTimelinePositionToClass from '../internal/convertTimelinePositionToClass';
|
|
14
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
-
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
16
|
-
var position = ownerState.position,
|
|
17
|
-
classes = ownerState.classes;
|
|
18
|
-
var slots = {
|
|
19
|
-
root: ['root', convertTimelinePositionToClass(position)]
|
|
20
|
-
};
|
|
21
|
-
return composeClasses(slots, getTimelineOppositeContentUtilityClass, classes);
|
|
22
|
-
};
|
|
23
|
-
var TimelineOppositeContentRoot = styled(Typography, {
|
|
24
|
-
name: 'MuiTimelineOppositeContent',
|
|
25
|
-
slot: 'Root',
|
|
26
|
-
overridesResolver: function overridesResolver(props, styles) {
|
|
27
|
-
var ownerState = props.ownerState;
|
|
28
|
-
return [styles.root, styles[convertTimelinePositionToClass(ownerState.position)]];
|
|
29
|
-
}
|
|
30
|
-
})(function (_ref) {
|
|
31
|
-
var ownerState = _ref.ownerState;
|
|
32
|
-
return _extends({
|
|
33
|
-
padding: '6px 16px',
|
|
34
|
-
marginRight: 'auto',
|
|
35
|
-
textAlign: 'right',
|
|
36
|
-
flex: 1
|
|
37
|
-
}, ownerState.position === 'left' && {
|
|
38
|
-
textAlign: 'left'
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
var TimelineOppositeContent = /*#__PURE__*/React.forwardRef(function TimelineOppositeContent(inProps, ref) {
|
|
42
|
-
var props = useThemeProps({
|
|
43
|
-
props: inProps,
|
|
44
|
-
name: 'MuiTimelineOppositeContent'
|
|
45
|
-
});
|
|
46
|
-
var className = props.className,
|
|
47
|
-
other = _objectWithoutProperties(props, ["className"]);
|
|
48
|
-
var _React$useContext = React.useContext(TimelineContext),
|
|
49
|
-
positionContext = _React$useContext.position;
|
|
50
|
-
var ownerState = _extends({}, props, {
|
|
51
|
-
position: positionContext || 'left'
|
|
52
|
-
});
|
|
53
|
-
var classes = useUtilityClasses(ownerState);
|
|
54
|
-
return /*#__PURE__*/_jsx(TimelineOppositeContentRoot, _extends({
|
|
55
|
-
component: "div",
|
|
56
|
-
className: clsx(classes.root, className),
|
|
57
|
-
ownerState: ownerState,
|
|
58
|
-
ref: ref
|
|
59
|
-
}, other));
|
|
60
|
-
});
|
|
61
|
-
process.env.NODE_ENV !== "production" ? TimelineOppositeContent.propTypes /* remove-proptypes */ = {
|
|
62
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
63
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
64
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
65
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
66
|
-
/**
|
|
67
|
-
* The content of the component.
|
|
68
|
-
*/
|
|
69
|
-
children: PropTypes.node,
|
|
70
|
-
/**
|
|
71
|
-
* Override or extend the styles applied to the component.
|
|
72
|
-
*/
|
|
73
|
-
classes: PropTypes.object,
|
|
74
|
-
/**
|
|
75
|
-
* @ignore
|
|
76
|
-
*/
|
|
77
|
-
className: PropTypes.string,
|
|
78
|
-
/**
|
|
79
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
80
|
-
*/
|
|
81
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
82
|
-
} : void 0;
|
|
83
|
-
TimelineOppositeContent.muiName = 'TimelineOppositeContent';
|
|
84
|
-
export default TimelineOppositeContent;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
2
|
-
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
|
3
|
-
export function getTimelineOppositeContentUtilityClass(slot) {
|
|
4
|
-
return generateUtilityClass('MuiTimelineOppositeContent', slot);
|
|
5
|
-
}
|
|
6
|
-
var timelineOppositeContentClasses = generateUtilityClasses('MuiTimelineOppositeContent', ['root', 'positionLeft', 'positionRight', 'positionAlternate', 'positionAlternateReverse']);
|
|
7
|
-
export default timelineOppositeContentClasses;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import PropTypes from 'prop-types';
|
|
7
|
-
import clsx from 'clsx';
|
|
8
|
-
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
9
|
-
import { styled, useThemeProps } from '@mui/material/styles';
|
|
10
|
-
import { getTimelineSeparatorUtilityClass } from './timelineSeparatorClasses';
|
|
11
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
-
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
13
|
-
var classes = ownerState.classes;
|
|
14
|
-
var slots = {
|
|
15
|
-
root: ['root']
|
|
16
|
-
};
|
|
17
|
-
return composeClasses(slots, getTimelineSeparatorUtilityClass, classes);
|
|
18
|
-
};
|
|
19
|
-
var TimelineSeparatorRoot = styled('div', {
|
|
20
|
-
name: 'MuiTimelineSeparator',
|
|
21
|
-
slot: 'Root',
|
|
22
|
-
overridesResolver: function overridesResolver(props, styles) {
|
|
23
|
-
return styles.root;
|
|
24
|
-
}
|
|
25
|
-
})({
|
|
26
|
-
display: 'flex',
|
|
27
|
-
flexDirection: 'column',
|
|
28
|
-
flex: 0,
|
|
29
|
-
alignItems: 'center'
|
|
30
|
-
});
|
|
31
|
-
var TimelineSeparator = /*#__PURE__*/React.forwardRef(function TimelineSeparator(inProps, ref) {
|
|
32
|
-
var props = useThemeProps({
|
|
33
|
-
props: inProps,
|
|
34
|
-
name: 'MuiTimelineSeparator'
|
|
35
|
-
});
|
|
36
|
-
var className = props.className,
|
|
37
|
-
other = _objectWithoutProperties(props, ["className"]);
|
|
38
|
-
var ownerState = props;
|
|
39
|
-
var classes = useUtilityClasses(ownerState);
|
|
40
|
-
return /*#__PURE__*/_jsx(TimelineSeparatorRoot, _extends({
|
|
41
|
-
className: clsx(classes.root, className),
|
|
42
|
-
ownerState: ownerState,
|
|
43
|
-
ref: ref
|
|
44
|
-
}, other));
|
|
45
|
-
});
|
|
46
|
-
process.env.NODE_ENV !== "production" ? TimelineSeparator.propTypes /* remove-proptypes */ = {
|
|
47
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
48
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
49
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
50
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
51
|
-
/**
|
|
52
|
-
* The content of the component.
|
|
53
|
-
*/
|
|
54
|
-
children: PropTypes.node,
|
|
55
|
-
/**
|
|
56
|
-
* Override or extend the styles applied to the component.
|
|
57
|
-
*/
|
|
58
|
-
classes: PropTypes.object,
|
|
59
|
-
/**
|
|
60
|
-
* @ignore
|
|
61
|
-
*/
|
|
62
|
-
className: PropTypes.string,
|
|
63
|
-
/**
|
|
64
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
65
|
-
*/
|
|
66
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
67
|
-
} : void 0;
|
|
68
|
-
export default TimelineSeparator;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
2
|
-
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
|
3
|
-
export function getTimelineSeparatorUtilityClass(slot) {
|
|
4
|
-
return generateUtilityClass('MuiTimelineSeparator', slot);
|
|
5
|
-
}
|
|
6
|
-
var timelineSeparatorClasses = generateUtilityClasses('MuiTimelineSeparator', ['root']);
|
|
7
|
-
export default timelineSeparatorClasses;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import ToggleButton from '@mui/material/ToggleButton';
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
var warnedOnce = false;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @ignore - do not document.
|
|
11
|
-
*/
|
|
12
|
-
export default /*#__PURE__*/React.forwardRef(function DeprecatedToggleButton(props, ref) {
|
|
13
|
-
if (!warnedOnce) {
|
|
14
|
-
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'));
|
|
15
|
-
warnedOnce = true;
|
|
16
|
-
}
|
|
17
|
-
return /*#__PURE__*/_jsx(ToggleButton, _extends({
|
|
18
|
-
ref: ref
|
|
19
|
-
}, props));
|
|
20
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ToggleButton';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import ToggleButtonGroup from '@mui/material/ToggleButtonGroup';
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
var warnedOnce = false;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @ignore - do not document.
|
|
11
|
-
*/
|
|
12
|
-
export default /*#__PURE__*/React.forwardRef(function DeprecatedToggleButtonGroup(props, ref) {
|
|
13
|
-
if (!warnedOnce) {
|
|
14
|
-
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'));
|
|
15
|
-
warnedOnce = true;
|
|
16
|
-
}
|
|
17
|
-
return /*#__PURE__*/_jsx(ToggleButtonGroup, _extends({
|
|
18
|
-
ref: ref
|
|
19
|
-
}, props));
|
|
20
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './ToggleButtonGroup';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
var warnedOnce = false;
|
|
5
|
-
var warn = function warn() {
|
|
6
|
-
if (!warnedOnce) {
|
|
7
|
-
console.warn(['MUI: The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`.', '', "You should use `import { TreeItem } from '@mui/x-tree-view'`", "or `import { TreeItem } from '@mui/x-tree-view/TreeItem'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.'].join('\n'));
|
|
8
|
-
warnedOnce = true;
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated The TreeItem 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/.
|
|
13
|
-
* @ignore - do not document.
|
|
14
|
-
*/
|
|
15
|
-
var TreeItem = /*#__PURE__*/React.forwardRef(function DeprecatedTreeItem() {
|
|
16
|
-
warn();
|
|
17
|
-
return null;
|
|
18
|
-
});
|
|
19
|
-
export default TreeItem;
|
package/legacy/TreeItem/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
var warnedOnce = false;
|
|
6
|
-
var warn = function warn() {
|
|
7
|
-
if (!warnedOnce) {
|
|
8
|
-
console.warn(['MUI: The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`.', '', "You should use `import { TreeView } from '@mui/x-tree-view'`", "or `import { TreeView } from '@mui/x-tree-view/TreeView'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.'].join('\n'));
|
|
9
|
-
warnedOnce = true;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* @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/.
|
|
14
|
-
* @ignore - do not document.
|
|
15
|
-
*/
|
|
16
|
-
var TreeView = /*#__PURE__*/React.forwardRef(function DeprecatedTreeView() {
|
|
17
|
-
warn();
|
|
18
|
-
return null;
|
|
19
|
-
});
|
|
20
|
-
export default TreeView;
|
package/legacy/TreeView/index.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
4
|
-
var warnedOnce = false;
|
|
5
|
-
var warn = function warn() {
|
|
6
|
-
if (!warnedOnce) {
|
|
7
|
-
console.warn(['MUI: The YearPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { YearPicker } from '@mui/x-date-pickers'`", "or `import { YearPicker } from '@mui/x-date-pickers/YearPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
8
|
-
warnedOnce = true;
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated The YearPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
13
|
-
* @ignore - do not document.
|
|
14
|
-
*/
|
|
15
|
-
var YearPicker = function DeprecatedYearPicker() {
|
|
16
|
-
warn();
|
|
17
|
-
return null;
|
|
18
|
-
};
|
|
19
|
-
export default YearPicker;
|
|
20
|
-
export var yearPickerClasses = {};
|
|
21
|
-
export var getYearPickerUtilityClass = function getYearPickerUtilityClass(slot) {
|
|
22
|
-
warn();
|
|
23
|
-
return '';
|
|
24
|
-
};
|
package/legacy/index.js
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @mui/lab v6.0.0-alpha.2
|
|
3
|
-
*
|
|
4
|
-
* @license MIT
|
|
5
|
-
* This source code is licensed under the MIT license found in the
|
|
6
|
-
* LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
/* eslint-disable import/export */
|
|
9
|
-
export { default as Alert } from './Alert';
|
|
10
|
-
export * from './Alert';
|
|
11
|
-
export { default as AlertTitle } from './AlertTitle';
|
|
12
|
-
export * from './AlertTitle';
|
|
13
|
-
export { default as Autocomplete } from './Autocomplete';
|
|
14
|
-
export * from './Autocomplete';
|
|
15
|
-
export { default as AvatarGroup } from './AvatarGroup';
|
|
16
|
-
export * from './AvatarGroup';
|
|
17
|
-
export { default as CalendarPicker } from './CalendarPicker';
|
|
18
|
-
export * from './CalendarPicker';
|
|
19
|
-
export { default as ClockPicker } from './ClockPicker';
|
|
20
|
-
export * from './ClockPicker';
|
|
21
|
-
export { default as DatePicker } from './DatePicker';
|
|
22
|
-
export * from './DatePicker';
|
|
23
|
-
export { default as DateRangePicker } from './DateRangePicker';
|
|
24
|
-
export * from './DateRangePicker';
|
|
25
|
-
export { default as DateRangePickerDay } from './DateRangePickerDay';
|
|
26
|
-
export * from './DateRangePickerDay';
|
|
27
|
-
export { default as DateTimePicker } from './DateTimePicker';
|
|
28
|
-
export * from './DateTimePicker';
|
|
29
|
-
export { default as DesktopDatePicker } from './DesktopDatePicker';
|
|
30
|
-
export * from './DesktopDatePicker';
|
|
31
|
-
export { default as DesktopDateRangePicker } from './DesktopDateRangePicker';
|
|
32
|
-
export * from './DesktopDateRangePicker';
|
|
33
|
-
export { default as DesktopDateTimePicker } from './DesktopDateTimePicker';
|
|
34
|
-
export * from './DesktopDateTimePicker';
|
|
35
|
-
export { default as DesktopTimePicker } from './DesktopTimePicker';
|
|
36
|
-
export * from './DesktopTimePicker';
|
|
37
|
-
export { default as LoadingButton } from './LoadingButton';
|
|
38
|
-
export * from './LoadingButton';
|
|
39
|
-
export { default as LocalizationProvider } from './LocalizationProvider';
|
|
40
|
-
export * from './LocalizationProvider';
|
|
41
|
-
export { default as MobileDatePicker } from './MobileDatePicker';
|
|
42
|
-
export * from './MobileDatePicker';
|
|
43
|
-
export { default as MobileDateRangePicker } from './MobileDateRangePicker';
|
|
44
|
-
export * from './MobileDateRangePicker';
|
|
45
|
-
export { default as MobileDateTimePicker } from './MobileDateTimePicker';
|
|
46
|
-
export * from './MobileDateTimePicker';
|
|
47
|
-
export { default as MobileTimePicker } from './MobileTimePicker';
|
|
48
|
-
export * from './MobileTimePicker';
|
|
49
|
-
export { default as MonthPicker } from './MonthPicker';
|
|
50
|
-
export * from './MonthPicker';
|
|
51
|
-
export { default as Pagination } from './Pagination';
|
|
52
|
-
export * from './Pagination';
|
|
53
|
-
export { default as PaginationItem } from './PaginationItem';
|
|
54
|
-
export * from './PaginationItem';
|
|
55
|
-
export { default as CalendarPickerSkeleton } from './CalendarPickerSkeleton';
|
|
56
|
-
export * from './CalendarPickerSkeleton';
|
|
57
|
-
export { default as PickersDay } from './PickersDay';
|
|
58
|
-
export * from './PickersDay';
|
|
59
|
-
export { default as Rating } from './Rating';
|
|
60
|
-
export * from './Rating';
|
|
61
|
-
export { default as Skeleton } from './Skeleton';
|
|
62
|
-
export * from './Skeleton';
|
|
63
|
-
export { default as SpeedDial } from './SpeedDial';
|
|
64
|
-
export * from './SpeedDial';
|
|
65
|
-
export { default as SpeedDialAction } from './SpeedDialAction';
|
|
66
|
-
export * from './SpeedDialAction';
|
|
67
|
-
export { default as SpeedDialIcon } from './SpeedDialIcon';
|
|
68
|
-
export * from './SpeedDialIcon';
|
|
69
|
-
export { default as StaticDatePicker } from './StaticDatePicker';
|
|
70
|
-
export * from './StaticDatePicker';
|
|
71
|
-
export { default as StaticDateRangePicker } from './StaticDateRangePicker';
|
|
72
|
-
export * from './StaticDateRangePicker';
|
|
73
|
-
export { default as StaticDateTimePicker } from './StaticDateTimePicker';
|
|
74
|
-
export * from './StaticDateTimePicker';
|
|
75
|
-
export { default as StaticTimePicker } from './StaticTimePicker';
|
|
76
|
-
export * from './StaticTimePicker';
|
|
77
|
-
export { default as TabContext } from './TabContext';
|
|
78
|
-
export * from './TabContext';
|
|
79
|
-
export { default as TabList } from './TabList';
|
|
80
|
-
export * from './TabList';
|
|
81
|
-
export { default as TabPanel } from './TabPanel';
|
|
82
|
-
export * from './TabPanel';
|
|
83
|
-
export { default as TimePicker } from './TimePicker';
|
|
84
|
-
export * from './TimePicker';
|
|
85
|
-
export { default as Timeline } from './Timeline';
|
|
86
|
-
export * from './Timeline';
|
|
87
|
-
export { default as TimelineConnector } from './TimelineConnector';
|
|
88
|
-
export * from './TimelineConnector';
|
|
89
|
-
export { default as TimelineContent } from './TimelineContent';
|
|
90
|
-
export * from './TimelineContent';
|
|
91
|
-
export { default as TimelineDot } from './TimelineDot';
|
|
92
|
-
export * from './TimelineDot';
|
|
93
|
-
export { default as TimelineItem } from './TimelineItem';
|
|
94
|
-
export * from './TimelineItem';
|
|
95
|
-
export { default as TimelineOppositeContent } from './TimelineOppositeContent';
|
|
96
|
-
export * from './TimelineOppositeContent';
|
|
97
|
-
export { default as TimelineSeparator } from './TimelineSeparator';
|
|
98
|
-
export * from './TimelineSeparator';
|
|
99
|
-
export { default as ToggleButton } from './ToggleButton';
|
|
100
|
-
export * from './ToggleButton';
|
|
101
|
-
export { default as ToggleButtonGroup } from './ToggleButtonGroup';
|
|
102
|
-
export * from './ToggleButtonGroup';
|
|
103
|
-
export { default as TreeItem } from './TreeItem';
|
|
104
|
-
export * from './TreeItem';
|
|
105
|
-
export { default as TreeView } from './TreeView';
|
|
106
|
-
export * from './TreeView';
|
|
107
|
-
export { default as YearPicker } from './YearPicker';
|
|
108
|
-
export * from './YearPicker';
|
|
109
|
-
|
|
110
|
-
// createFilterOptions is exported from Autocomplete
|
|
111
|
-
export { default as useAutocomplete } from './useAutocomplete';
|
|
112
|
-
export { default as Masonry } from './Masonry';
|
|
113
|
-
export * from './Masonry';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { createSvgIcon } from '@mui/material/utils';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - internal component.
|
|
8
|
-
*/
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
|
|
11
|
-
d: "M7 10l5 5 5-5z"
|
|
12
|
-
}), 'ArrowDropDown');
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { createSvgIcon } from '@mui/material/utils';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - internal component.
|
|
8
|
-
*/
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
|
|
11
|
-
d: "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"
|
|
12
|
-
}), 'ArrowLeft');
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { createSvgIcon } from '@mui/material/utils';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - internal component.
|
|
8
|
-
*/
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
|
|
11
|
-
d: "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"
|
|
12
|
-
}), 'ArrowRight');
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { createSvgIcon } from '@mui/material/utils';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - internal component.
|
|
8
|
-
*/
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
|
|
11
|
-
d: "M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"
|
|
12
|
-
}), 'Calendar');
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { createSvgIcon } from '@mui/material/utils';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - internal component.
|
|
8
|
-
*/
|
|
9
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
-
export default createSvgIcon( /*#__PURE__*/_jsxs(React.Fragment, {
|
|
11
|
-
children: [/*#__PURE__*/_jsx("path", {
|
|
12
|
-
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
13
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
14
|
-
d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"
|
|
15
|
-
})]
|
|
16
|
-
}), 'Clock');
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { createSvgIcon } from '@mui/material/utils';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - internal component.
|
|
8
|
-
*/
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
|
|
11
|
-
d: "M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"
|
|
12
|
-
}), 'DateRange');
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { createSvgIcon } from '@mui/material/utils';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - internal component.
|
|
8
|
-
*/
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
|
|
11
|
-
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
|
|
12
|
-
}), 'Pen');
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { createSvgIcon } from '@mui/material/utils';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - internal component.
|
|
8
|
-
*/
|
|
9
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
-
export default createSvgIcon( /*#__PURE__*/_jsxs(React.Fragment, {
|
|
11
|
-
children: [/*#__PURE__*/_jsx("path", {
|
|
12
|
-
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
13
|
-
}), /*#__PURE__*/_jsx("path", {
|
|
14
|
-
d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"
|
|
15
|
-
})]
|
|
16
|
-
}), 'Time');
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
// Prefer to use `import type {} from '@mui/lab/themeAugmentation';` instead to avoid importing an empty file.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useAutocomplete as default, createFilterOptions } from '@mui/base';
|