@mui/lab 7.0.0-beta.9 → 7.0.0
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 +590 -0
- package/Masonry/Masonry.js +9 -10
- package/TabPanel/TabPanel.d.ts +1 -1
- package/TabPanel/TabPanel.js +1 -2
- package/Timeline/Timeline.types.d.ts +1 -1
- package/TimelineConnector/TimelineConnector.d.ts +1 -1
- package/TimelineConnector/TimelineConnector.js +1 -2
- package/TimelineContent/TimelineContent.d.ts +2 -1
- package/TimelineDot/TimelineDot.d.ts +1 -1
- package/TimelineItem/TimelineItem.d.ts +1 -1
- package/TimelineOppositeContent/TimelineOppositeContent.d.ts +2 -1
- package/TimelineSeparator/TimelineSeparator.d.ts +1 -1
- package/TimelineSeparator/TimelineSeparator.js +1 -2
- package/esm/Masonry/Masonry.js +4 -5
- package/esm/TabPanel/TabPanel.d.ts +1 -1
- package/esm/TabPanel/TabPanel.js +1 -2
- package/esm/Timeline/Timeline.types.d.ts +1 -1
- package/esm/TimelineConnector/TimelineConnector.d.ts +1 -1
- package/esm/TimelineConnector/TimelineConnector.js +1 -2
- package/esm/TimelineContent/TimelineContent.d.ts +2 -1
- package/esm/TimelineDot/TimelineDot.d.ts +1 -1
- package/esm/TimelineItem/TimelineItem.d.ts +1 -1
- package/esm/TimelineOppositeContent/TimelineOppositeContent.d.ts +2 -1
- package/esm/TimelineSeparator/TimelineSeparator.d.ts +1 -1
- package/esm/TimelineSeparator/TimelineSeparator.js +1 -2
- package/esm/index.js +1 -1
- package/esm/internal/svg-icons/ArrowDropDown.d.ts +1 -1
- package/esm/internal/svg-icons/ArrowLeft.d.ts +1 -1
- package/esm/internal/svg-icons/ArrowRight.d.ts +1 -1
- package/esm/internal/svg-icons/Calendar.d.ts +1 -1
- package/esm/internal/svg-icons/Clock.d.ts +1 -1
- package/esm/internal/svg-icons/DateRange.d.ts +1 -1
- package/esm/internal/svg-icons/Pen.d.ts +1 -1
- package/esm/internal/svg-icons/Time.d.ts +1 -1
- package/index.js +1 -1
- package/internal/svg-icons/ArrowDropDown.d.ts +1 -1
- package/internal/svg-icons/ArrowLeft.d.ts +1 -1
- package/internal/svg-icons/ArrowRight.d.ts +1 -1
- package/internal/svg-icons/Calendar.d.ts +1 -1
- package/internal/svg-icons/Clock.d.ts +1 -1
- package/internal/svg-icons/DateRange.d.ts +1 -1
- package/internal/svg-icons/Pen.d.ts +1 -1
- package/internal/svg-icons/Time.d.ts +1 -1
- package/package.json +17 -27
- package/modern/AdapterDateFns/AdapterDateFns.d.ts +0 -6
- package/modern/AdapterDateFns/AdapterDateFns.js +0 -16
- package/modern/AdapterDateFns/index.d.ts +0 -1
- package/modern/AdapterDateFns/index.js +0 -1
- package/modern/AdapterDayjs/AdapterDayjs.d.ts +0 -6
- package/modern/AdapterDayjs/AdapterDayjs.js +0 -16
- package/modern/AdapterDayjs/index.d.ts +0 -1
- package/modern/AdapterDayjs/index.js +0 -1
- package/modern/AdapterLuxon/AdapterLuxon.d.ts +0 -6
- package/modern/AdapterLuxon/AdapterLuxon.js +0 -16
- package/modern/AdapterLuxon/index.d.ts +0 -1
- package/modern/AdapterLuxon/index.js +0 -1
- package/modern/AdapterMoment/AdapterMoment.d.ts +0 -6
- package/modern/AdapterMoment/AdapterMoment.js +0 -16
- package/modern/AdapterMoment/index.d.ts +0 -1
- package/modern/AdapterMoment/index.js +0 -1
- package/modern/CalendarPicker/CalendarPicker.d.ts +0 -15
- package/modern/CalendarPicker/CalendarPicker.js +0 -21
- package/modern/CalendarPicker/index.d.ts +0 -2
- package/modern/CalendarPicker/index.js +0 -2
- package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +0 -14
- package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +0 -25
- package/modern/CalendarPickerSkeleton/index.d.ts +0 -2
- package/modern/CalendarPickerSkeleton/index.js +0 -2
- package/modern/ClockPicker/ClockPicker.d.ts +0 -15
- package/modern/ClockPicker/ClockPicker.js +0 -21
- package/modern/ClockPicker/index.d.ts +0 -2
- package/modern/ClockPicker/index.js +0 -2
- package/modern/DatePicker/DatePicker.d.ts +0 -10
- package/modern/DatePicker/DatePicker.js +0 -19
- package/modern/DatePicker/index.d.ts +0 -2
- package/modern/DatePicker/index.js +0 -2
- package/modern/DateRangePicker/DateRangePicker.d.ts +0 -12
- package/modern/DateRangePicker/DateRangePicker.js +0 -18
- package/modern/DateRangePicker/index.d.ts +0 -2
- package/modern/DateRangePicker/index.js +0 -2
- package/modern/DateRangePickerDay/DateRangePickerDay.d.ts +0 -14
- package/modern/DateRangePickerDay/DateRangePickerDay.js +0 -22
- package/modern/DateRangePickerDay/index.d.ts +0 -2
- package/modern/DateRangePickerDay/index.js +0 -2
- package/modern/DateTimePicker/DateTimePicker.d.ts +0 -11
- package/modern/DateTimePicker/DateTimePicker.js +0 -20
- package/modern/DateTimePicker/index.d.ts +0 -2
- package/modern/DateTimePicker/index.js +0 -2
- package/modern/DesktopDatePicker/DesktopDatePicker.d.ts +0 -11
- package/modern/DesktopDatePicker/DesktopDatePicker.js +0 -20
- package/modern/DesktopDatePicker/index.d.ts +0 -2
- package/modern/DesktopDatePicker/index.js +0 -2
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +0 -11
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -18
- package/modern/DesktopDateRangePicker/index.d.ts +0 -2
- package/modern/DesktopDateRangePicker/index.js +0 -2
- package/modern/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +0 -11
- package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +0 -20
- package/modern/DesktopDateTimePicker/index.d.ts +0 -2
- package/modern/DesktopDateTimePicker/index.js +0 -2
- package/modern/DesktopTimePicker/DesktopTimePicker.d.ts +0 -11
- package/modern/DesktopTimePicker/DesktopTimePicker.js +0 -20
- package/modern/DesktopTimePicker/index.d.ts +0 -2
- package/modern/DesktopTimePicker/index.js +0 -2
- package/modern/LoadingButton/LoadingButton.d.ts +0 -3
- package/modern/LoadingButton/LoadingButton.js +0 -23
- package/modern/LoadingButton/index.d.ts +0 -2
- package/modern/LoadingButton/index.js +0 -1
- package/modern/LocalizationProvider/LocalizationProvider.d.ts +0 -11
- package/modern/LocalizationProvider/LocalizationProvider.js +0 -19
- package/modern/LocalizationProvider/index.d.ts +0 -2
- package/modern/LocalizationProvider/index.js +0 -2
- package/modern/Masonry/Masonry.d.ts +0 -62
- package/modern/Masonry/Masonry.js +0 -338
- package/modern/Masonry/index.d.ts +0 -4
- package/modern/Masonry/index.js +0 -3
- package/modern/Masonry/masonryClasses.d.ts +0 -8
- package/modern/Masonry/masonryClasses.js +0 -7
- package/modern/MobileDatePicker/MobileDatePicker.d.ts +0 -11
- package/modern/MobileDatePicker/MobileDatePicker.js +0 -20
- package/modern/MobileDatePicker/index.d.ts +0 -2
- package/modern/MobileDatePicker/index.js +0 -2
- package/modern/MobileDateRangePicker/MobileDateRangePicker.d.ts +0 -11
- package/modern/MobileDateRangePicker/MobileDateRangePicker.js +0 -18
- package/modern/MobileDateRangePicker/index.d.ts +0 -2
- package/modern/MobileDateRangePicker/index.js +0 -2
- package/modern/MobileDateTimePicker/MobileDateTimePicker.d.ts +0 -11
- package/modern/MobileDateTimePicker/MobileDateTimePicker.js +0 -20
- package/modern/MobileDateTimePicker/index.d.ts +0 -2
- package/modern/MobileDateTimePicker/index.js +0 -2
- package/modern/MobileTimePicker/MobileTimePicker.d.ts +0 -11
- package/modern/MobileTimePicker/MobileTimePicker.js +0 -20
- package/modern/MobileTimePicker/index.d.ts +0 -2
- package/modern/MobileTimePicker/index.js +0 -2
- package/modern/MonthPicker/MonthPicker.d.ts +0 -14
- package/modern/MonthPicker/MonthPicker.js +0 -25
- package/modern/MonthPicker/index.d.ts +0 -2
- package/modern/MonthPicker/index.js +0 -2
- package/modern/PickersDay/PickersDay.d.ts +0 -14
- package/modern/PickersDay/PickersDay.js +0 -25
- package/modern/PickersDay/index.d.ts +0 -2
- package/modern/PickersDay/index.js +0 -2
- package/modern/StaticDatePicker/StaticDatePicker.d.ts +0 -11
- package/modern/StaticDatePicker/StaticDatePicker.js +0 -20
- package/modern/StaticDatePicker/index.d.ts +0 -2
- package/modern/StaticDatePicker/index.js +0 -2
- package/modern/StaticDateRangePicker/StaticDateRangePicker.d.ts +0 -11
- package/modern/StaticDateRangePicker/StaticDateRangePicker.js +0 -18
- package/modern/StaticDateRangePicker/index.d.ts +0 -2
- package/modern/StaticDateRangePicker/index.js +0 -2
- package/modern/StaticDateTimePicker/StaticDateTimePicker.d.ts +0 -11
- package/modern/StaticDateTimePicker/StaticDateTimePicker.js +0 -20
- package/modern/StaticDateTimePicker/index.d.ts +0 -2
- package/modern/StaticDateTimePicker/index.js +0 -2
- package/modern/StaticTimePicker/StaticTimePicker.d.ts +0 -11
- package/modern/StaticTimePicker/StaticTimePicker.js +0 -20
- package/modern/StaticTimePicker/index.d.ts +0 -2
- package/modern/StaticTimePicker/index.js +0 -2
- package/modern/TabContext/TabContext.d.ts +0 -29
- package/modern/TabContext/TabContext.js +0 -76
- package/modern/TabContext/index.d.ts +0 -2
- package/modern/TabContext/index.js +0 -2
- package/modern/TabList/TabList.d.ts +0 -30
- package/modern/TabList/TabList.js +0 -44
- package/modern/TabList/index.d.ts +0 -2
- package/modern/TabList/index.js +0 -1
- package/modern/TabPanel/TabPanel.d.ts +0 -41
- package/modern/TabPanel/TabPanel.js +0 -96
- package/modern/TabPanel/index.d.ts +0 -4
- package/modern/TabPanel/index.js +0 -3
- package/modern/TabPanel/tabPanelClasses.d.ts +0 -10
- package/modern/TabPanel/tabPanelClasses.js +0 -7
- package/modern/TimePicker/TimePicker.d.ts +0 -11
- package/modern/TimePicker/TimePicker.js +0 -20
- package/modern/TimePicker/index.d.ts +0 -2
- package/modern/TimePicker/index.js +0 -2
- package/modern/Timeline/Timeline.d.ts +0 -24
- package/modern/Timeline/Timeline.js +0 -114
- package/modern/Timeline/Timeline.types.d.ts +0 -27
- package/modern/Timeline/Timeline.types.js +0 -1
- package/modern/Timeline/TimelineContext.d.ts +0 -6
- package/modern/Timeline/TimelineContext.js +0 -12
- package/modern/Timeline/index.d.ts +0 -4
- package/modern/Timeline/index.js +0 -4
- package/modern/Timeline/timelineClasses.d.ts +0 -16
- package/modern/Timeline/timelineClasses.js +0 -7
- package/modern/TimelineConnector/TimelineConnector.d.ts +0 -31
- package/modern/TimelineConnector/TimelineConnector.js +0 -72
- package/modern/TimelineConnector/index.d.ts +0 -4
- package/modern/TimelineConnector/index.js +0 -3
- package/modern/TimelineConnector/timelineConnectorClasses.d.ts +0 -8
- package/modern/TimelineConnector/timelineConnectorClasses.js +0 -7
- package/modern/TimelineContent/TimelineContent.d.ts +0 -32
- package/modern/TimelineContent/TimelineContent.js +0 -89
- package/modern/TimelineContent/index.d.ts +0 -4
- package/modern/TimelineContent/index.js +0 -3
- package/modern/TimelineContent/timelineContentClasses.d.ts +0 -16
- package/modern/TimelineContent/timelineContentClasses.js +0 -7
- package/modern/TimelineDot/TimelineDot.d.ts +0 -44
- package/modern/TimelineDot/TimelineDot.js +0 -123
- package/modern/TimelineDot/index.d.ts +0 -4
- package/modern/TimelineDot/index.js +0 -3
- package/modern/TimelineDot/timelineDotClasses.d.ts +0 -24
- package/modern/TimelineDot/timelineDotClasses.js +0 -7
- package/modern/TimelineItem/TimelineItem.d.ts +0 -35
- package/modern/TimelineItem/TimelineItem.js +0 -128
- package/modern/TimelineItem/index.d.ts +0 -4
- package/modern/TimelineItem/index.js +0 -3
- package/modern/TimelineItem/timelineItemClasses.d.ts +0 -18
- package/modern/TimelineItem/timelineItemClasses.js +0 -7
- package/modern/TimelineOppositeContent/TimelineOppositeContent.d.ts +0 -35
- package/modern/TimelineOppositeContent/TimelineOppositeContent.js +0 -91
- package/modern/TimelineOppositeContent/index.d.ts +0 -4
- package/modern/TimelineOppositeContent/index.js +0 -3
- package/modern/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +0 -16
- package/modern/TimelineOppositeContent/timelineOppositeContentClasses.js +0 -7
- package/modern/TimelineSeparator/TimelineSeparator.d.ts +0 -31
- package/modern/TimelineSeparator/TimelineSeparator.js +0 -69
- package/modern/TimelineSeparator/index.d.ts +0 -4
- package/modern/TimelineSeparator/index.js +0 -3
- package/modern/TimelineSeparator/timelineSeparatorClasses.d.ts +0 -8
- package/modern/TimelineSeparator/timelineSeparatorClasses.js +0 -7
- package/modern/TreeItem/TreeItem.d.ts +0 -11
- package/modern/TreeItem/TreeItem.js +0 -19
- package/modern/TreeItem/index.d.ts +0 -2
- package/modern/TreeItem/index.js +0 -2
- package/modern/TreeView/TreeView.d.ts +0 -11
- package/modern/TreeView/TreeView.js +0 -20
- package/modern/TreeView/index.d.ts +0 -2
- package/modern/TreeView/index.js +0 -2
- package/modern/YearPicker/YearPicker.d.ts +0 -15
- package/modern/YearPicker/YearPicker.js +0 -24
- package/modern/YearPicker/index.d.ts +0 -2
- package/modern/YearPicker/index.js +0 -2
- package/modern/index.d.ts +0 -78
- package/modern/index.js +0 -88
- package/modern/internal/convertTimelinePositionToClass.d.ts +0 -1
- package/modern/internal/convertTimelinePositionToClass.js +0 -4
- package/modern/internal/svg-icons/ArrowDropDown.d.ts +0 -7
- package/modern/internal/svg-icons/ArrowDropDown.js +0 -12
- package/modern/internal/svg-icons/ArrowLeft.d.ts +0 -7
- package/modern/internal/svg-icons/ArrowLeft.js +0 -12
- package/modern/internal/svg-icons/ArrowRight.d.ts +0 -7
- package/modern/internal/svg-icons/ArrowRight.js +0 -12
- package/modern/internal/svg-icons/Calendar.d.ts +0 -7
- package/modern/internal/svg-icons/Calendar.js +0 -12
- package/modern/internal/svg-icons/Clock.d.ts +0 -7
- package/modern/internal/svg-icons/Clock.js +0 -16
- package/modern/internal/svg-icons/DateRange.d.ts +0 -7
- package/modern/internal/svg-icons/DateRange.js +0 -12
- package/modern/internal/svg-icons/Pen.d.ts +0 -7
- package/modern/internal/svg-icons/Pen.js +0 -12
- package/modern/internal/svg-icons/Time.d.ts +0 -7
- package/modern/internal/svg-icons/Time.js +0 -16
- package/modern/package.json +0 -1
- package/modern/themeAugmentation/components.d.ts +0 -63
- package/modern/themeAugmentation/components.js +0 -2
- package/modern/themeAugmentation/index.d.ts +0 -3
- package/modern/themeAugmentation/index.js +0 -1
- package/modern/themeAugmentation/overrides.d.ts +0 -28
- package/modern/themeAugmentation/overrides.js +0 -4
- package/modern/themeAugmentation/props.d.ts +0 -28
- package/modern/themeAugmentation/props.js +0 -2
- package/modern/useAutocomplete/index.d.ts +0 -1
- package/modern/useAutocomplete/index.js +0 -1
- package/modern/zero-styled/index.d.ts +0 -1
- package/modern/zero-styled/index.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
1
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
2
2
|
import { Theme } from '@mui/material/styles';
|
|
3
3
|
import { SxProps } from '@mui/system';
|
|
4
4
|
import { TimelineClasses } from "./timelineClasses.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
2
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
3
3
|
import { Theme } from '@mui/material/styles';
|
|
4
4
|
import { SxProps } from '@mui/system';
|
|
5
5
|
import { TimelineConnectorClasses } from "./timelineConnectorClasses.js";
|
|
@@ -25,8 +25,7 @@ const useUtilityClasses = ownerState => {
|
|
|
25
25
|
};
|
|
26
26
|
const TimelineConnectorRoot = (0, _styles.styled)('span', {
|
|
27
27
|
name: 'MuiTimelineConnector',
|
|
28
|
-
slot: 'Root'
|
|
29
|
-
overridesResolver: (props, styles) => styles.root
|
|
28
|
+
slot: 'Root'
|
|
30
29
|
})(({
|
|
31
30
|
theme
|
|
32
31
|
}) => {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import {
|
|
4
|
+
import { TypographyProps } from '@mui/material/Typography';
|
|
5
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
5
6
|
import { TimelineContentClasses } from "./timelineContentClasses.js";
|
|
6
7
|
export interface TimelineContentProps extends StandardProps<TypographyProps> {
|
|
7
8
|
/**
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { OverridableStringUnion } from '@mui/types';
|
|
3
3
|
import { SxProps } from '@mui/system';
|
|
4
4
|
import { Theme } from '@mui/material/styles';
|
|
5
|
-
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
5
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
6
6
|
import { TimelineDotClasses } from "./timelineDotClasses.js";
|
|
7
7
|
export interface TimelineDotPropsVariantOverrides {}
|
|
8
8
|
export interface TimelineDotPropsColorOverrides {}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
4
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
5
5
|
import { TimelineItemClasses } from "./timelineItemClasses.js";
|
|
6
6
|
export interface TimelineItemProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
|
|
7
7
|
/**
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import {
|
|
4
|
+
import { TypographyProps } from '@mui/material/Typography';
|
|
5
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
5
6
|
import { TimelineOppositeContentClasses } from "./timelineOppositeContentClasses.js";
|
|
6
7
|
export interface TimelineOppositeContentProps extends StandardProps<TypographyProps> {
|
|
7
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
2
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
3
3
|
import { Theme } from '@mui/material/styles';
|
|
4
4
|
import { SxProps } from '@mui/system';
|
|
5
5
|
import { TimelineSeparatorClasses } from "./timelineSeparatorClasses.js";
|
|
@@ -25,8 +25,7 @@ const useUtilityClasses = ownerState => {
|
|
|
25
25
|
};
|
|
26
26
|
const TimelineSeparatorRoot = (0, _styles.styled)('div', {
|
|
27
27
|
name: 'MuiTimelineSeparator',
|
|
28
|
-
slot: 'Root'
|
|
29
|
-
overridesResolver: (props, styles) => styles.root
|
|
28
|
+
slot: 'Root'
|
|
30
29
|
})({
|
|
31
30
|
display: 'flex',
|
|
32
31
|
flexDirection: 'column',
|
package/esm/Masonry/Masonry.js
CHANGED
|
@@ -4,7 +4,9 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
4
4
|
import * as ReactDOM from 'react-dom';
|
|
5
5
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
6
6
|
import { createUnarySpacing, getValue, handleBreakpoints, unstable_resolveBreakpointValues as resolveBreakpointValues } from '@mui/system';
|
|
7
|
-
import
|
|
7
|
+
import useForkRef from '@mui/utils/useForkRef';
|
|
8
|
+
import useEnhancedEffect from '@mui/utils/useEnhancedEffect';
|
|
9
|
+
import deepmerge from '@mui/utils/deepmerge';
|
|
8
10
|
import clsx from 'clsx';
|
|
9
11
|
import PropTypes from 'prop-types';
|
|
10
12
|
import * as React from 'react';
|
|
@@ -134,10 +136,7 @@ export const getStyle = ({
|
|
|
134
136
|
};
|
|
135
137
|
const MasonryRoot = styled('div', {
|
|
136
138
|
name: 'MuiMasonry',
|
|
137
|
-
slot: 'Root'
|
|
138
|
-
overridesResolver: (props, styles) => {
|
|
139
|
-
return [styles.root];
|
|
140
|
-
}
|
|
139
|
+
slot: 'Root'
|
|
141
140
|
})(getStyle);
|
|
142
141
|
const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
|
|
143
142
|
const props = useThemeProps({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
2
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
3
3
|
import { Theme } from '@mui/material/styles';
|
|
4
4
|
import { SxProps } from '@mui/system';
|
|
5
5
|
import { TabPanelClasses } from "./tabPanelClasses.js";
|
package/esm/TabPanel/TabPanel.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
1
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
2
2
|
import { Theme } from '@mui/material/styles';
|
|
3
3
|
import { SxProps } from '@mui/system';
|
|
4
4
|
import { TimelineClasses } from "./timelineClasses.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
2
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
3
3
|
import { Theme } from '@mui/material/styles';
|
|
4
4
|
import { SxProps } from '@mui/system';
|
|
5
5
|
import { TimelineConnectorClasses } from "./timelineConnectorClasses.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import {
|
|
4
|
+
import { TypographyProps } from '@mui/material/Typography';
|
|
5
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
5
6
|
import { TimelineContentClasses } from "./timelineContentClasses.js";
|
|
6
7
|
export interface TimelineContentProps extends StandardProps<TypographyProps> {
|
|
7
8
|
/**
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { OverridableStringUnion } from '@mui/types';
|
|
3
3
|
import { SxProps } from '@mui/system';
|
|
4
4
|
import { Theme } from '@mui/material/styles';
|
|
5
|
-
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
5
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
6
6
|
import { TimelineDotClasses } from "./timelineDotClasses.js";
|
|
7
7
|
export interface TimelineDotPropsVariantOverrides {}
|
|
8
8
|
export interface TimelineDotPropsColorOverrides {}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
4
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
5
5
|
import { TimelineItemClasses } from "./timelineItemClasses.js";
|
|
6
6
|
export interface TimelineItemProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
|
|
7
7
|
/**
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import {
|
|
4
|
+
import { TypographyProps } from '@mui/material/Typography';
|
|
5
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
5
6
|
import { TimelineOppositeContentClasses } from "./timelineOppositeContentClasses.js";
|
|
6
7
|
export interface TimelineOppositeContentProps extends StandardProps<TypographyProps> {
|
|
7
8
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
2
|
+
import { InternalStandardProps as StandardProps } from '@mui/material/internal';
|
|
3
3
|
import { Theme } from '@mui/material/styles';
|
|
4
4
|
import { SxProps } from '@mui/system';
|
|
5
5
|
import { TimelineSeparatorClasses } from "./timelineSeparatorClasses.js";
|
|
@@ -18,8 +18,7 @@ const useUtilityClasses = ownerState => {
|
|
|
18
18
|
};
|
|
19
19
|
const TimelineSeparatorRoot = styled('div', {
|
|
20
20
|
name: 'MuiTimelineSeparator',
|
|
21
|
-
slot: 'Root'
|
|
22
|
-
overridesResolver: (props, styles) => styles.root
|
|
21
|
+
slot: 'Root'
|
|
23
22
|
})({
|
|
24
23
|
display: 'flex',
|
|
25
24
|
flexDirection: 'column',
|
package/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @ignore - internal component.
|
|
3
3
|
*/
|
|
4
|
-
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
4
|
+
declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
|
|
5
5
|
muiName: string;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/lab",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"//": "version should be 'alpha' at all time",
|
|
4
|
+
"version": "7.0.0",
|
|
5
5
|
"author": "MUI Team",
|
|
6
|
-
"description": "Laboratory for new
|
|
7
|
-
"main": "./index.js",
|
|
6
|
+
"description": "Laboratory for new Material UI modules.",
|
|
8
7
|
"keywords": [
|
|
9
8
|
"react",
|
|
10
9
|
"react-component",
|
|
@@ -28,12 +27,12 @@
|
|
|
28
27
|
"url": "https://opencollective.com/mui-org"
|
|
29
28
|
},
|
|
30
29
|
"dependencies": {
|
|
31
|
-
"@babel/runtime": "^7.
|
|
30
|
+
"@babel/runtime": "^7.28.4",
|
|
32
31
|
"clsx": "^2.1.1",
|
|
33
32
|
"prop-types": "^15.8.1",
|
|
34
|
-
"@mui/system": "^7.
|
|
35
|
-
"@mui/types": "^7.4.
|
|
36
|
-
"@mui/utils": "^7.
|
|
33
|
+
"@mui/system": "^7.3.3",
|
|
34
|
+
"@mui/types": "^7.4.7",
|
|
35
|
+
"@mui/utils": "^7.3.3"
|
|
37
36
|
},
|
|
38
37
|
"peerDependencies": {
|
|
39
38
|
"@emotion/react": "^11.5.0",
|
|
@@ -41,8 +40,8 @@
|
|
|
41
40
|
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
42
41
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
43
42
|
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
44
|
-
"@mui/material": "^7.
|
|
45
|
-
"@mui/material-pigment-css": "^7.
|
|
43
|
+
"@mui/material": "^7.3.3",
|
|
44
|
+
"@mui/material-pigment-css": "^7.3.3"
|
|
46
45
|
},
|
|
47
46
|
"peerDependenciesMeta": {
|
|
48
47
|
"@types/react": {
|
|
@@ -60,13 +59,14 @@
|
|
|
60
59
|
},
|
|
61
60
|
"sideEffects": false,
|
|
62
61
|
"publishConfig": {
|
|
63
|
-
"access": "public"
|
|
64
|
-
"directory": "build"
|
|
62
|
+
"access": "public"
|
|
65
63
|
},
|
|
66
64
|
"engines": {
|
|
67
65
|
"node": ">=14.0.0"
|
|
68
66
|
},
|
|
69
|
-
"
|
|
67
|
+
"type": "commonjs",
|
|
68
|
+
"main": "./index.js",
|
|
69
|
+
"types": "./index.d.ts",
|
|
70
70
|
"exports": {
|
|
71
71
|
"./package.json": "./package.json",
|
|
72
72
|
".": {
|
|
@@ -74,13 +74,9 @@
|
|
|
74
74
|
"types": "./index.d.ts",
|
|
75
75
|
"default": "./index.js"
|
|
76
76
|
},
|
|
77
|
-
"
|
|
77
|
+
"default": {
|
|
78
78
|
"types": "./esm/index.d.ts",
|
|
79
79
|
"default": "./esm/index.js"
|
|
80
|
-
},
|
|
81
|
-
"mui-modern": {
|
|
82
|
-
"types": "./modern/index.d.ts",
|
|
83
|
-
"default": "./modern/index.js"
|
|
84
80
|
}
|
|
85
81
|
},
|
|
86
82
|
"./*": {
|
|
@@ -88,17 +84,11 @@
|
|
|
88
84
|
"types": "./*/index.d.ts",
|
|
89
85
|
"default": "./*/index.js"
|
|
90
86
|
},
|
|
91
|
-
"
|
|
87
|
+
"default": {
|
|
92
88
|
"types": "./esm/*/index.d.ts",
|
|
93
89
|
"default": "./esm/*/index.js"
|
|
94
|
-
},
|
|
95
|
-
"mui-modern": {
|
|
96
|
-
"types": "./modern/*/index.d.ts",
|
|
97
|
-
"default": "./modern/*/index.js"
|
|
98
90
|
}
|
|
99
91
|
},
|
|
100
|
-
"./esm": null
|
|
101
|
-
|
|
102
|
-
},
|
|
103
|
-
"types": "./index.d.ts"
|
|
92
|
+
"./esm": null
|
|
93
|
+
}
|
|
104
94
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
let warnedOnce = false;
|
|
2
|
-
const warn = () => {
|
|
3
|
-
if (!warnedOnce) {
|
|
4
|
-
console.warn(['MUI: The AdapterDateFns class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
5
|
-
warnedOnce = true;
|
|
6
|
-
}
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated The AdapterDateFns class 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/.
|
|
11
|
-
*/
|
|
12
|
-
export default class AdapterDateFns {
|
|
13
|
-
constructor() {
|
|
14
|
-
warn();
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./AdapterDateFns.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./AdapterDateFns.js";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
let warnedOnce = false;
|
|
2
|
-
const warn = () => {
|
|
3
|
-
if (!warnedOnce) {
|
|
4
|
-
console.warn(['MUI: The AdapterDayjs class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
5
|
-
warnedOnce = true;
|
|
6
|
-
}
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated The AdapterDayjs class 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/.
|
|
11
|
-
*/
|
|
12
|
-
export default class AdapterDayjs {
|
|
13
|
-
constructor() {
|
|
14
|
-
warn();
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./AdapterDayjs.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./AdapterDayjs.js";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
let warnedOnce = false;
|
|
2
|
-
const warn = () => {
|
|
3
|
-
if (!warnedOnce) {
|
|
4
|
-
console.warn(['MUI: The AdapterLuxon class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterLuxon } from '@mui/x-date-pickers/AdapterLuxon'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
5
|
-
warnedOnce = true;
|
|
6
|
-
}
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated The AdapterLuxon class 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/.
|
|
11
|
-
*/
|
|
12
|
-
export default class AdapterLuxon {
|
|
13
|
-
constructor() {
|
|
14
|
-
warn();
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./AdapterLuxon.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./AdapterLuxon.js";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
let warnedOnce = false;
|
|
2
|
-
const warn = () => {
|
|
3
|
-
if (!warnedOnce) {
|
|
4
|
-
console.warn(['MUI: The AdapterMoment class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
|
|
5
|
-
warnedOnce = true;
|
|
6
|
-
}
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @deprecated The AdapterMoment class 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/.
|
|
11
|
-
*/
|
|
12
|
-
export default class AdapterMoment {
|
|
13
|
-
constructor() {
|
|
14
|
-
warn();
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./AdapterMoment.js";
|