@mui/lab 7.0.0-beta.3 → 7.0.0-beta.5
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/AdapterDateFns.d.ts +6 -0
- package/AdapterDateFns/index.d.ts +1 -0
- package/AdapterDayjs/AdapterDayjs.d.ts +6 -0
- package/AdapterDayjs/index.d.ts +1 -0
- package/AdapterLuxon/AdapterLuxon.d.ts +6 -0
- package/AdapterLuxon/index.d.ts +1 -0
- package/AdapterMoment/AdapterMoment.d.ts +6 -0
- package/AdapterMoment/index.d.ts +1 -0
- package/CHANGELOG.md +30 -0
- package/CalendarPicker/CalendarPicker.d.ts +15 -0
- package/CalendarPicker/index.d.ts +2 -0
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +14 -0
- package/CalendarPickerSkeleton/index.d.ts +2 -0
- package/ClockPicker/ClockPicker.d.ts +15 -0
- package/ClockPicker/index.d.ts +2 -0
- package/DatePicker/DatePicker.d.ts +10 -0
- package/DatePicker/index.d.ts +2 -0
- package/DateRangePicker/DateRangePicker.d.ts +12 -0
- package/DateRangePicker/index.d.ts +2 -0
- package/DateRangePickerDay/DateRangePickerDay.d.ts +14 -0
- package/DateRangePickerDay/index.d.ts +2 -0
- package/DateTimePicker/DateTimePicker.d.ts +11 -0
- package/DateTimePicker/index.d.ts +2 -0
- package/DesktopDatePicker/DesktopDatePicker.d.ts +11 -0
- package/DesktopDatePicker/index.d.ts +2 -0
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +11 -0
- package/DesktopDateRangePicker/index.d.ts +2 -0
- package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +11 -0
- package/DesktopDateTimePicker/index.d.ts +2 -0
- package/DesktopTimePicker/DesktopTimePicker.d.ts +11 -0
- package/DesktopTimePicker/index.d.ts +2 -0
- package/LoadingButton/LoadingButton.d.ts +3 -0
- package/LoadingButton/index.d.ts +2 -0
- package/LocalizationProvider/LocalizationProvider.d.ts +11 -0
- package/LocalizationProvider/index.d.ts +2 -0
- package/Masonry/Masonry.d.ts +62 -0
- package/Masonry/index.d.ts +4 -0
- package/Masonry/masonryClasses.d.ts +8 -0
- package/MobileDatePicker/MobileDatePicker.d.ts +11 -0
- package/MobileDatePicker/index.d.ts +2 -0
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +11 -0
- package/MobileDateRangePicker/index.d.ts +2 -0
- package/MobileDateTimePicker/MobileDateTimePicker.d.ts +11 -0
- package/MobileDateTimePicker/index.d.ts +2 -0
- package/MobileTimePicker/MobileTimePicker.d.ts +11 -0
- package/MobileTimePicker/index.d.ts +2 -0
- package/MonthPicker/MonthPicker.d.ts +14 -0
- package/MonthPicker/index.d.ts +2 -0
- package/PickersDay/PickersDay.d.ts +14 -0
- package/PickersDay/index.d.ts +2 -0
- package/StaticDatePicker/StaticDatePicker.d.ts +11 -0
- package/StaticDatePicker/index.d.ts +2 -0
- package/StaticDateRangePicker/StaticDateRangePicker.d.ts +11 -0
- package/StaticDateRangePicker/index.d.ts +2 -0
- package/StaticDateTimePicker/StaticDateTimePicker.d.ts +11 -0
- package/StaticDateTimePicker/index.d.ts +2 -0
- package/StaticTimePicker/StaticTimePicker.d.ts +11 -0
- package/StaticTimePicker/index.d.ts +2 -0
- package/TabContext/TabContext.d.ts +29 -0
- package/TabContext/index.d.ts +2 -0
- package/TabList/TabList.d.ts +30 -0
- package/TabList/index.d.ts +2 -0
- package/TabPanel/TabPanel.d.ts +41 -0
- package/TabPanel/index.d.ts +4 -0
- package/TabPanel/tabPanelClasses.d.ts +10 -0
- package/TimePicker/TimePicker.d.ts +11 -0
- package/TimePicker/index.d.ts +2 -0
- package/Timeline/Timeline.d.ts +24 -0
- package/Timeline/Timeline.types.d.ts +27 -0
- package/Timeline/TimelineContext.d.ts +6 -0
- package/Timeline/index.d.ts +4 -0
- package/Timeline/timelineClasses.d.ts +16 -0
- package/TimelineConnector/TimelineConnector.d.ts +31 -0
- package/TimelineConnector/index.d.ts +4 -0
- package/TimelineConnector/timelineConnectorClasses.d.ts +8 -0
- package/TimelineContent/TimelineContent.d.ts +32 -0
- package/TimelineContent/index.d.ts +4 -0
- package/TimelineContent/timelineContentClasses.d.ts +16 -0
- package/TimelineDot/TimelineDot.d.ts +44 -0
- package/TimelineDot/index.d.ts +4 -0
- package/TimelineDot/timelineDotClasses.d.ts +24 -0
- package/TimelineItem/TimelineItem.d.ts +35 -0
- package/TimelineItem/index.d.ts +4 -0
- package/TimelineItem/timelineItemClasses.d.ts +18 -0
- package/TimelineOppositeContent/TimelineOppositeContent.d.ts +35 -0
- package/TimelineOppositeContent/index.d.ts +4 -0
- package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +16 -0
- package/TimelineSeparator/TimelineSeparator.d.ts +31 -0
- package/TimelineSeparator/index.d.ts +4 -0
- package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -0
- package/TreeItem/TreeItem.d.ts +11 -0
- package/TreeItem/index.d.ts +2 -0
- package/TreeView/TreeView.d.ts +11 -0
- package/TreeView/index.d.ts +2 -0
- package/YearPicker/YearPicker.d.ts +15 -0
- package/YearPicker/index.d.ts +2 -0
- package/esm/index.js +1 -1
- package/index.d.ts +78 -0
- package/index.js +1 -1
- package/internal/convertTimelinePositionToClass.d.ts +1 -0
- package/internal/svg-icons/ArrowDropDown.d.ts +7 -0
- package/internal/svg-icons/ArrowLeft.d.ts +7 -0
- package/internal/svg-icons/ArrowRight.d.ts +7 -0
- package/internal/svg-icons/Calendar.d.ts +7 -0
- package/internal/svg-icons/Clock.d.ts +7 -0
- package/internal/svg-icons/DateRange.d.ts +7 -0
- package/internal/svg-icons/Pen.d.ts +7 -0
- package/internal/svg-icons/Time.d.ts +7 -0
- package/modern/AdapterDateFns/AdapterDateFns.d.ts +6 -0
- package/modern/AdapterDateFns/index.d.ts +1 -0
- package/modern/AdapterDayjs/AdapterDayjs.d.ts +6 -0
- package/modern/AdapterDayjs/index.d.ts +1 -0
- package/modern/AdapterLuxon/AdapterLuxon.d.ts +6 -0
- package/modern/AdapterLuxon/index.d.ts +1 -0
- package/modern/AdapterMoment/AdapterMoment.d.ts +6 -0
- package/modern/AdapterMoment/index.d.ts +1 -0
- package/modern/CalendarPicker/CalendarPicker.d.ts +15 -0
- package/modern/CalendarPicker/index.d.ts +2 -0
- package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +14 -0
- package/modern/CalendarPickerSkeleton/index.d.ts +2 -0
- package/modern/ClockPicker/ClockPicker.d.ts +15 -0
- package/modern/ClockPicker/index.d.ts +2 -0
- package/modern/DatePicker/DatePicker.d.ts +10 -0
- package/modern/DatePicker/index.d.ts +2 -0
- package/modern/DateRangePicker/DateRangePicker.d.ts +12 -0
- package/modern/DateRangePicker/index.d.ts +2 -0
- package/modern/DateRangePickerDay/DateRangePickerDay.d.ts +14 -0
- package/modern/DateRangePickerDay/index.d.ts +2 -0
- package/modern/DateTimePicker/DateTimePicker.d.ts +11 -0
- package/modern/DateTimePicker/index.d.ts +2 -0
- package/modern/DesktopDatePicker/DesktopDatePicker.d.ts +11 -0
- package/modern/DesktopDatePicker/index.d.ts +2 -0
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +11 -0
- package/modern/DesktopDateRangePicker/index.d.ts +2 -0
- package/modern/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +11 -0
- package/modern/DesktopDateTimePicker/index.d.ts +2 -0
- package/modern/DesktopTimePicker/DesktopTimePicker.d.ts +11 -0
- package/modern/DesktopTimePicker/index.d.ts +2 -0
- package/modern/LoadingButton/LoadingButton.d.ts +3 -0
- package/modern/LoadingButton/index.d.ts +2 -0
- package/modern/LocalizationProvider/LocalizationProvider.d.ts +11 -0
- package/modern/LocalizationProvider/index.d.ts +2 -0
- package/modern/Masonry/Masonry.d.ts +62 -0
- package/modern/Masonry/index.d.ts +4 -0
- package/modern/Masonry/masonryClasses.d.ts +8 -0
- package/modern/MobileDatePicker/MobileDatePicker.d.ts +11 -0
- package/modern/MobileDatePicker/index.d.ts +2 -0
- package/modern/MobileDateRangePicker/MobileDateRangePicker.d.ts +11 -0
- package/modern/MobileDateRangePicker/index.d.ts +2 -0
- package/modern/MobileDateTimePicker/MobileDateTimePicker.d.ts +11 -0
- package/modern/MobileDateTimePicker/index.d.ts +2 -0
- package/modern/MobileTimePicker/MobileTimePicker.d.ts +11 -0
- package/modern/MobileTimePicker/index.d.ts +2 -0
- package/modern/MonthPicker/MonthPicker.d.ts +14 -0
- package/modern/MonthPicker/index.d.ts +2 -0
- package/modern/PickersDay/PickersDay.d.ts +14 -0
- package/modern/PickersDay/index.d.ts +2 -0
- package/modern/StaticDatePicker/StaticDatePicker.d.ts +11 -0
- package/modern/StaticDatePicker/index.d.ts +2 -0
- package/modern/StaticDateRangePicker/StaticDateRangePicker.d.ts +11 -0
- package/modern/StaticDateRangePicker/index.d.ts +2 -0
- package/modern/StaticDateTimePicker/StaticDateTimePicker.d.ts +11 -0
- package/modern/StaticDateTimePicker/index.d.ts +2 -0
- package/modern/StaticTimePicker/StaticTimePicker.d.ts +11 -0
- package/modern/StaticTimePicker/index.d.ts +2 -0
- package/modern/TabContext/TabContext.d.ts +29 -0
- package/modern/TabContext/index.d.ts +2 -0
- package/modern/TabList/TabList.d.ts +30 -0
- package/modern/TabList/index.d.ts +2 -0
- package/modern/TabPanel/TabPanel.d.ts +41 -0
- package/modern/TabPanel/index.d.ts +4 -0
- package/modern/TabPanel/tabPanelClasses.d.ts +10 -0
- package/modern/TimePicker/TimePicker.d.ts +11 -0
- package/modern/TimePicker/index.d.ts +2 -0
- package/modern/Timeline/Timeline.d.ts +24 -0
- package/modern/Timeline/Timeline.types.d.ts +27 -0
- package/modern/Timeline/TimelineContext.d.ts +6 -0
- package/modern/Timeline/index.d.ts +4 -0
- package/modern/Timeline/timelineClasses.d.ts +16 -0
- package/modern/TimelineConnector/TimelineConnector.d.ts +31 -0
- package/modern/TimelineConnector/index.d.ts +4 -0
- package/modern/TimelineConnector/timelineConnectorClasses.d.ts +8 -0
- package/modern/TimelineContent/TimelineContent.d.ts +32 -0
- package/modern/TimelineContent/index.d.ts +4 -0
- package/modern/TimelineContent/timelineContentClasses.d.ts +16 -0
- package/modern/TimelineDot/TimelineDot.d.ts +44 -0
- package/modern/TimelineDot/index.d.ts +4 -0
- package/modern/TimelineDot/timelineDotClasses.d.ts +24 -0
- package/modern/TimelineItem/TimelineItem.d.ts +35 -0
- package/modern/TimelineItem/index.d.ts +4 -0
- package/modern/TimelineItem/timelineItemClasses.d.ts +18 -0
- package/modern/TimelineOppositeContent/TimelineOppositeContent.d.ts +35 -0
- package/modern/TimelineOppositeContent/index.d.ts +4 -0
- package/modern/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +16 -0
- package/modern/TimelineSeparator/TimelineSeparator.d.ts +31 -0
- package/modern/TimelineSeparator/index.d.ts +4 -0
- package/modern/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -0
- package/modern/TreeItem/TreeItem.d.ts +11 -0
- package/modern/TreeItem/index.d.ts +2 -0
- package/modern/TreeView/TreeView.d.ts +11 -0
- package/modern/TreeView/index.d.ts +2 -0
- package/modern/YearPicker/YearPicker.d.ts +15 -0
- package/modern/YearPicker/index.d.ts +2 -0
- package/modern/index.d.ts +78 -0
- package/modern/index.js +1 -1
- package/modern/internal/convertTimelinePositionToClass.d.ts +1 -0
- package/modern/internal/svg-icons/ArrowDropDown.d.ts +7 -0
- package/modern/internal/svg-icons/ArrowLeft.d.ts +7 -0
- package/modern/internal/svg-icons/ArrowRight.d.ts +7 -0
- package/modern/internal/svg-icons/Calendar.d.ts +7 -0
- package/modern/internal/svg-icons/Clock.d.ts +7 -0
- package/modern/internal/svg-icons/DateRange.d.ts +7 -0
- package/modern/internal/svg-icons/Pen.d.ts +7 -0
- package/modern/internal/svg-icons/Time.d.ts +7 -0
- package/modern/themeAugmentation/components.d.ts +63 -0
- package/modern/themeAugmentation/index.d.ts +3 -0
- package/modern/themeAugmentation/overrides.d.ts +28 -0
- package/modern/themeAugmentation/props.d.ts +28 -0
- package/modern/useAutocomplete/index.d.ts +1 -0
- package/modern/zero-styled/index.d.ts +1 -0
- package/package.json +8 -6
- package/themeAugmentation/components.d.ts +63 -0
- package/themeAugmentation/index.d.ts +3 -0
- package/themeAugmentation/overrides.d.ts +28 -0
- package/themeAugmentation/props.d.ts +28 -0
- package/useAutocomplete/index.d.ts +1 -0
- package/zero-styled/index.d.ts +1 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type StaticDatePickerComponent = (<TDate>(props: StaticDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated The StaticDatePicker 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/.
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const StaticDatePicker: StaticDatePickerComponent;
|
|
10
|
+
export default StaticDatePicker;
|
|
11
|
+
export type StaticDatePickerProps<TDate> = Record<any, any>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type StaticDateRangePickerComponent = (<TDate>(props: StaticDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated The StaticDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const StaticDateRangePicker: StaticDateRangePickerComponent;
|
|
10
|
+
export default StaticDateRangePicker;
|
|
11
|
+
export type StaticDateRangePickerProps = Record<any, any>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type StaticDateTimePickerComponent = (<TDate>(props: StaticDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated The StaticDateTimePicker 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/.
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const StaticDateTimePicker: StaticDateTimePickerComponent;
|
|
10
|
+
export default StaticDateTimePicker;
|
|
11
|
+
export type StaticDateTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type StaticTimePickerComponent = (<TDate>(props: StaticTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated The StaticTimePicker 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/.
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const StaticTimePicker: StaticTimePickerComponent;
|
|
10
|
+
export default StaticTimePicker;
|
|
11
|
+
export type StaticTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface TabContextValue {
|
|
3
|
+
idPrefix: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
export interface TabContextProps {
|
|
7
|
+
/**
|
|
8
|
+
* The content of the component.
|
|
9
|
+
*/
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* The value of the currently selected `Tab`.
|
|
13
|
+
*/
|
|
14
|
+
value: string | number;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* Demos:
|
|
19
|
+
*
|
|
20
|
+
* - [Tabs](https://next.mui.com/material-ui/react-tabs/)
|
|
21
|
+
*
|
|
22
|
+
* API:
|
|
23
|
+
*
|
|
24
|
+
* - [TabContext API](https://next.mui.com/material-ui/api/tab-context/)
|
|
25
|
+
*/
|
|
26
|
+
export default function TabContext(props: TabContextProps): React.JSX.Element;
|
|
27
|
+
export function useTabContext(): TabContextValue | null;
|
|
28
|
+
export function getPanelId(context: TabContextValue, tabValue: string): string;
|
|
29
|
+
export function getTabId(context: TabContextValue, tabValue: string): string;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TabsTypeMap } from '@mui/material/Tabs';
|
|
3
|
+
import { DistributiveOmit } from '@mui/types';
|
|
4
|
+
import { OverridableComponent, OverrideProps } from '@mui/material/OverridableComponent';
|
|
5
|
+
interface TabListOwnProps extends DistributiveOmit<TabsTypeMap['props'], 'children' | 'value'> {
|
|
6
|
+
/**
|
|
7
|
+
* A list of `<Tab />` elements.
|
|
8
|
+
*/
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
}
|
|
11
|
+
export interface TabListTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = TabsTypeMap['defaultComponent']> {
|
|
12
|
+
props: AdditionalProps & TabListOwnProps;
|
|
13
|
+
defaultComponent: RootComponent;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* Demos:
|
|
19
|
+
*
|
|
20
|
+
* - [Tabs](https://next.mui.com/material-ui/react-tabs/)
|
|
21
|
+
*
|
|
22
|
+
* API:
|
|
23
|
+
*
|
|
24
|
+
* - [TabList API](https://next.mui.com/material-ui/api/tab-list/)
|
|
25
|
+
* - inherits [Tabs API](https://next.mui.com/material-ui/api/tabs/)
|
|
26
|
+
*/
|
|
27
|
+
declare const TabList: OverridableComponent<TabListTypeMap>;
|
|
28
|
+
export type TabListClassKey = keyof NonNullable<TabListTypeMap['props']['classes']>;
|
|
29
|
+
export type TabListProps<RootComponent extends React.ElementType = TabListTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<TabListTypeMap<AdditionalProps, RootComponent>, RootComponent>;
|
|
30
|
+
export default TabList;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
3
|
+
import { Theme } from '@mui/material/styles';
|
|
4
|
+
import { SxProps } from '@mui/system';
|
|
5
|
+
import { TabPanelClasses } from "./tabPanelClasses.js";
|
|
6
|
+
export interface TabPanelProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
|
|
7
|
+
/**
|
|
8
|
+
* The content of the component.
|
|
9
|
+
*/
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Override or extend the styles applied to the component.
|
|
13
|
+
*/
|
|
14
|
+
classes?: Partial<TabPanelClasses>;
|
|
15
|
+
/**
|
|
16
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17
|
+
*/
|
|
18
|
+
sx?: SxProps<Theme>;
|
|
19
|
+
/**
|
|
20
|
+
* The `value` of the corresponding `Tab`. Must use the index of the `Tab` when
|
|
21
|
+
* no `value` was passed to `Tab`.
|
|
22
|
+
*/
|
|
23
|
+
value: string | number;
|
|
24
|
+
/**
|
|
25
|
+
* Always keep the children in the DOM.
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
keepMounted?: boolean;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* Demos:
|
|
34
|
+
*
|
|
35
|
+
* - [Tabs](https://next.mui.com/material-ui/react-tabs/)
|
|
36
|
+
*
|
|
37
|
+
* API:
|
|
38
|
+
*
|
|
39
|
+
* - [TabPanel API](https://next.mui.com/material-ui/api/tab-panel/)
|
|
40
|
+
*/
|
|
41
|
+
export default function TabPanel(props: TabPanelProps): React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface TabPanelClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the root `div` element if `hidden={true}`. */
|
|
5
|
+
hidden: string;
|
|
6
|
+
}
|
|
7
|
+
export type TabPanelClassKey = keyof TabPanelClasses;
|
|
8
|
+
export declare function getTabPanelUtilityClass(slot: string): string;
|
|
9
|
+
declare const tabPanelClasses: TabPanelClasses;
|
|
10
|
+
export default tabPanelClasses;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type TimePickerComponent = (<TDate>(props: TimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated The StaticTimePicker 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/.
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const TimePicker: TimePickerComponent;
|
|
10
|
+
export default TimePicker;
|
|
11
|
+
export type TimePickerProps<TDate> = Record<any, any>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TimelineProps } from "./Timeline.types.js";
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* Demos:
|
|
6
|
+
*
|
|
7
|
+
* - [Timeline](https://next.mui.com/material-ui/react-timeline/)
|
|
8
|
+
*
|
|
9
|
+
* API:
|
|
10
|
+
*
|
|
11
|
+
* - [Timeline API](https://next.mui.com/material-ui/api/timeline/)
|
|
12
|
+
*/
|
|
13
|
+
declare const Timeline: React.ForwardRefExoticComponent<TimelineProps & React.RefAttributes<HTMLUListElement>>;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* Demos:
|
|
17
|
+
*
|
|
18
|
+
* - [Timeline](https://mui.com/components/timeline/)
|
|
19
|
+
*
|
|
20
|
+
* API:
|
|
21
|
+
*
|
|
22
|
+
* - [Timeline API](https://mui.com/api/timeline/)
|
|
23
|
+
*/
|
|
24
|
+
export default Timeline;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
2
|
+
import { Theme } from '@mui/material/styles';
|
|
3
|
+
import { SxProps } from '@mui/system';
|
|
4
|
+
import { TimelineClasses } from "./timelineClasses.js";
|
|
5
|
+
export interface TimelineProps extends StandardProps<React.ComponentProps<'ul'>> {
|
|
6
|
+
/**
|
|
7
|
+
* The position where the TimelineContent should appear relative to the time axis.
|
|
8
|
+
* @default 'right'
|
|
9
|
+
*/
|
|
10
|
+
position?: 'left' | 'right' | 'alternate' | 'alternate-reverse';
|
|
11
|
+
/**
|
|
12
|
+
* The content of the component.
|
|
13
|
+
*/
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Override or extend the styles applied to the component.
|
|
17
|
+
*/
|
|
18
|
+
classes?: Partial<TimelineClasses>;
|
|
19
|
+
/**
|
|
20
|
+
* className applied to the root element.
|
|
21
|
+
*/
|
|
22
|
+
className?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
25
|
+
*/
|
|
26
|
+
sx?: SxProps<Theme>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface TimelineClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `position="left"`. */
|
|
5
|
+
positionLeft: string;
|
|
6
|
+
/** Styles applied to the root element if `position="right"`. */
|
|
7
|
+
positionRight: string;
|
|
8
|
+
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
|
+
positionAlternate: string;
|
|
10
|
+
/** Styles applied to the root element if `position="alternate-reverse"`. */
|
|
11
|
+
positionAlternateReverse: string;
|
|
12
|
+
}
|
|
13
|
+
export type TimelineClassKey = keyof TimelineClasses;
|
|
14
|
+
export declare function getTimelineUtilityClass(slot: string): string;
|
|
15
|
+
declare const timelineClasses: TimelineClasses;
|
|
16
|
+
export default timelineClasses;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
3
|
+
import { Theme } from '@mui/material/styles';
|
|
4
|
+
import { SxProps } from '@mui/system';
|
|
5
|
+
import { TimelineConnectorClasses } from "./timelineConnectorClasses.js";
|
|
6
|
+
export interface TimelineConnectorProps extends StandardProps<React.HTMLAttributes<HTMLSpanElement>> {
|
|
7
|
+
/**
|
|
8
|
+
* The content of the component.
|
|
9
|
+
*/
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Override or extend the styles applied to the component.
|
|
13
|
+
*/
|
|
14
|
+
classes?: Partial<TimelineConnectorClasses>;
|
|
15
|
+
/**
|
|
16
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17
|
+
*/
|
|
18
|
+
sx?: SxProps<Theme>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* Demos:
|
|
24
|
+
*
|
|
25
|
+
* - [Timeline](https://next.mui.com/material-ui/react-timeline/)
|
|
26
|
+
*
|
|
27
|
+
* API:
|
|
28
|
+
*
|
|
29
|
+
* - [TimelineConnector API](https://next.mui.com/material-ui/api/timeline-connector/)
|
|
30
|
+
*/
|
|
31
|
+
export default function TimelineConnector(props: TimelineConnectorProps): React.JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface TimelineConnectorClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type TimelineConnectorClassKey = keyof TimelineConnectorClasses;
|
|
6
|
+
export declare function getTimelineConnectorUtilityClass(slot: string): string;
|
|
7
|
+
declare const timelineConnectorClasses: TimelineConnectorClasses;
|
|
8
|
+
export default timelineConnectorClasses;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { Theme } from '@mui/material/styles';
|
|
4
|
+
import { InternalStandardProps as StandardProps, TypographyProps } from '@mui/material';
|
|
5
|
+
import { TimelineContentClasses } from "./timelineContentClasses.js";
|
|
6
|
+
export interface TimelineContentProps extends StandardProps<TypographyProps> {
|
|
7
|
+
/**
|
|
8
|
+
* The content of the component.
|
|
9
|
+
*/
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Override or extend the styles applied to the component.
|
|
13
|
+
*/
|
|
14
|
+
classes?: Partial<TimelineContentClasses>;
|
|
15
|
+
/**
|
|
16
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17
|
+
*/
|
|
18
|
+
sx?: SxProps<Theme>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* Demos:
|
|
24
|
+
*
|
|
25
|
+
* - [Timeline](https://next.mui.com/material-ui/react-timeline/)
|
|
26
|
+
*
|
|
27
|
+
* API:
|
|
28
|
+
*
|
|
29
|
+
* - [TimelineContent API](https://next.mui.com/material-ui/api/timeline-content/)
|
|
30
|
+
* - inherits [Typography API](https://next.mui.com/material-ui/api/typography/)
|
|
31
|
+
*/
|
|
32
|
+
export default function TimelineContent(props: TimelineContentProps): React.JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface TimelineContentClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `position="right"`. */
|
|
5
|
+
positionRight: string;
|
|
6
|
+
/** Styles applied to the root element if `position="left"`. */
|
|
7
|
+
positionLeft: string;
|
|
8
|
+
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
|
+
positionAlternate: string;
|
|
10
|
+
/** Styles applied to the root element if `position="alternate-reverse"`. */
|
|
11
|
+
positionAlternateReverse: string;
|
|
12
|
+
}
|
|
13
|
+
export type TimelineContentClassKey = keyof TimelineContentClasses;
|
|
14
|
+
export declare function getTimelineContentUtilityClass(slot: string): string;
|
|
15
|
+
declare const timelineContentClasses: TimelineContentClasses;
|
|
16
|
+
export default timelineContentClasses;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { OverridableStringUnion } from '@mui/types';
|
|
3
|
+
import { SxProps } from '@mui/system';
|
|
4
|
+
import { Theme } from '@mui/material/styles';
|
|
5
|
+
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
6
|
+
import { TimelineDotClasses } from "./timelineDotClasses.js";
|
|
7
|
+
export interface TimelineDotPropsVariantOverrides {}
|
|
8
|
+
export interface TimelineDotPropsColorOverrides {}
|
|
9
|
+
export interface TimelineDotProps extends StandardProps<React.HTMLAttributes<HTMLSpanElement>> {
|
|
10
|
+
/**
|
|
11
|
+
* The content of the component.
|
|
12
|
+
*/
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* Override or extend the styles applied to the component.
|
|
16
|
+
*/
|
|
17
|
+
classes?: Partial<TimelineDotClasses>;
|
|
18
|
+
/**
|
|
19
|
+
* The dot can have a different colors.
|
|
20
|
+
* @default 'grey'
|
|
21
|
+
*/
|
|
22
|
+
color?: OverridableStringUnion<'inherit' | 'grey' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning', TimelineDotPropsColorOverrides>;
|
|
23
|
+
/**
|
|
24
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
25
|
+
*/
|
|
26
|
+
sx?: SxProps<Theme>;
|
|
27
|
+
/**
|
|
28
|
+
* The dot can appear filled or outlined.
|
|
29
|
+
* @default 'filled'
|
|
30
|
+
*/
|
|
31
|
+
variant?: OverridableStringUnion<'filled' | 'outlined', TimelineDotPropsVariantOverrides>;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* Demos:
|
|
37
|
+
*
|
|
38
|
+
* - [Timeline](https://next.mui.com/material-ui/react-timeline/)
|
|
39
|
+
*
|
|
40
|
+
* API:
|
|
41
|
+
*
|
|
42
|
+
* - [TimelineDot API](https://next.mui.com/material-ui/api/timeline-dot/)
|
|
43
|
+
*/
|
|
44
|
+
export default function TimelineDot(props: TimelineDotProps): React.JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface TimelineDotClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="filled"`. */
|
|
5
|
+
filled: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
+
outlined: string;
|
|
8
|
+
/** Styles applied to the root element if `color="grey"` and `variant="filled"`. */
|
|
9
|
+
filledGrey: string;
|
|
10
|
+
/** Styles applied to the root element if `color="grey"` and `variant="outlined"`. */
|
|
11
|
+
outlinedGrey: string;
|
|
12
|
+
/** Styles applied to the root element if `color="primary"` and `variant="filled"`. */
|
|
13
|
+
filledPrimary: string;
|
|
14
|
+
/** Styles applied to the root element if `color="primary"` and `variant="outlined"`. */
|
|
15
|
+
outlinedPrimary: string;
|
|
16
|
+
/** Styles applied to the root element if `color="secondary"` and `variant="filled"`. */
|
|
17
|
+
filledSecondary: string;
|
|
18
|
+
/** Styles applied to the root element if `color="secondary"` and `variant="outlined"`. */
|
|
19
|
+
outlinedSecondary: string;
|
|
20
|
+
}
|
|
21
|
+
export type TimelineDotClassKey = keyof TimelineDotClasses;
|
|
22
|
+
export declare function getTimelineDotUtilityClass(slot: string): string;
|
|
23
|
+
declare const timelineDotClasses: TimelineDotClasses;
|
|
24
|
+
export default timelineDotClasses;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { Theme } from '@mui/material/styles';
|
|
4
|
+
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
5
|
+
import { TimelineItemClasses } from "./timelineItemClasses.js";
|
|
6
|
+
export interface TimelineItemProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
|
|
7
|
+
/**
|
|
8
|
+
* The position where the timeline's item should appear.
|
|
9
|
+
*/
|
|
10
|
+
position?: 'left' | 'right' | 'alternate' | 'alternate-reverse';
|
|
11
|
+
/**
|
|
12
|
+
* The content of the component.
|
|
13
|
+
*/
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Override or extend the styles applied to the component.
|
|
17
|
+
*/
|
|
18
|
+
classes?: Partial<TimelineItemClasses>;
|
|
19
|
+
/**
|
|
20
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
21
|
+
*/
|
|
22
|
+
sx?: SxProps<Theme>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* Demos:
|
|
28
|
+
*
|
|
29
|
+
* - [Timeline](https://next.mui.com/material-ui/react-timeline/)
|
|
30
|
+
*
|
|
31
|
+
* API:
|
|
32
|
+
*
|
|
33
|
+
* - [TimelineItem API](https://next.mui.com/material-ui/api/timeline-item/)
|
|
34
|
+
*/
|
|
35
|
+
export default function TimelineItem(props: TimelineItemProps): React.JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface TimelineItemClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `position="left"`. */
|
|
5
|
+
positionLeft: string;
|
|
6
|
+
/** Styles applied to the root element if `position="right"`. */
|
|
7
|
+
positionRight: string;
|
|
8
|
+
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
|
+
positionAlternate: string;
|
|
10
|
+
/** Styles applied to the root element if `position="alternate-reverse"`. */
|
|
11
|
+
positionAlternateReverse: string;
|
|
12
|
+
/** Styles applied to the root element if TimelineOppositeContent isn't provided. */
|
|
13
|
+
missingOppositeContent: string;
|
|
14
|
+
}
|
|
15
|
+
export type TimelineItemClassKey = keyof TimelineItemClasses;
|
|
16
|
+
export declare function getTimelineItemUtilityClass(slot: string): string;
|
|
17
|
+
declare const timelineItemClasses: TimelineItemClasses;
|
|
18
|
+
export default timelineItemClasses;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { Theme } from '@mui/material/styles';
|
|
4
|
+
import { InternalStandardProps as StandardProps, TypographyProps } from '@mui/material';
|
|
5
|
+
import { TimelineOppositeContentClasses } from "./timelineOppositeContentClasses.js";
|
|
6
|
+
export interface TimelineOppositeContentProps extends StandardProps<TypographyProps> {
|
|
7
|
+
/**
|
|
8
|
+
* The content of the component.
|
|
9
|
+
*/
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Override or extend the styles applied to the component.
|
|
13
|
+
*/
|
|
14
|
+
classes?: Partial<TimelineOppositeContentClasses>;
|
|
15
|
+
/**
|
|
16
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17
|
+
*/
|
|
18
|
+
sx?: SxProps<Theme>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* Demos:
|
|
24
|
+
*
|
|
25
|
+
* - [Timeline](https://next.mui.com/material-ui/react-timeline/)
|
|
26
|
+
*
|
|
27
|
+
* API:
|
|
28
|
+
*
|
|
29
|
+
* - [TimelineOppositeContent API](https://next.mui.com/material-ui/api/timeline-opposite-content/)
|
|
30
|
+
* - inherits [Typography API](https://next.mui.com/material-ui/api/typography/)
|
|
31
|
+
*/
|
|
32
|
+
declare const TimelineOppositeContent: ((props: TimelineOppositeContentProps) => React.JSX.Element) & {
|
|
33
|
+
muiName: string;
|
|
34
|
+
};
|
|
35
|
+
export default TimelineOppositeContent;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface TimelineOppositeContentClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `position="right"`. */
|
|
5
|
+
positionRight: string;
|
|
6
|
+
/** Styles applied to the root element if `position="left"`. */
|
|
7
|
+
positionLeft: string;
|
|
8
|
+
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
|
+
positionAlternate: string;
|
|
10
|
+
/** Styles applied to the root element if `position="alternate-reverse"`. */
|
|
11
|
+
positionAlternateReverse: string;
|
|
12
|
+
}
|
|
13
|
+
export type TimelineOppositeContentClassKey = keyof TimelineOppositeContentClasses;
|
|
14
|
+
export declare function getTimelineOppositeContentUtilityClass(slot: string): string;
|
|
15
|
+
declare const timelineOppositeContentClasses: TimelineOppositeContentClasses;
|
|
16
|
+
export default timelineOppositeContentClasses;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
3
|
+
import { Theme } from '@mui/material/styles';
|
|
4
|
+
import { SxProps } from '@mui/system';
|
|
5
|
+
import { TimelineSeparatorClasses } from "./timelineSeparatorClasses.js";
|
|
6
|
+
export interface TimelineSeparatorProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
|
|
7
|
+
/**
|
|
8
|
+
* The content of the component.
|
|
9
|
+
*/
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Override or extend the styles applied to the component.
|
|
13
|
+
*/
|
|
14
|
+
classes?: Partial<TimelineSeparatorClasses>;
|
|
15
|
+
/**
|
|
16
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17
|
+
*/
|
|
18
|
+
sx?: SxProps<Theme>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* Demos:
|
|
24
|
+
*
|
|
25
|
+
* - [Timeline](https://next.mui.com/material-ui/react-timeline/)
|
|
26
|
+
*
|
|
27
|
+
* API:
|
|
28
|
+
*
|
|
29
|
+
* - [TimelineSeparator API](https://next.mui.com/material-ui/api/timeline-separator/)
|
|
30
|
+
*/
|
|
31
|
+
export default function TimelineSeparator(props: TimelineSeparatorProps): React.JSX.Element;
|