@mui/lab 5.0.0-alpha.112 → 5.0.0-alpha.113
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 +3 -3
- package/AdapterDateFns/index.d.ts +1 -1
- package/AdapterDayjs/AdapterDayjs.d.ts +3 -3
- package/AdapterDayjs/index.d.ts +1 -1
- package/AdapterLuxon/AdapterLuxon.d.ts +3 -3
- package/AdapterLuxon/index.d.ts +1 -1
- package/AdapterMoment/AdapterMoment.d.ts +3 -3
- package/AdapterMoment/index.d.ts +1 -1
- package/CHANGELOG.md +56 -0
- package/CalendarPicker/CalendarPicker.d.ts +14 -14
- package/CalendarPicker/index.d.ts +2 -2
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +13 -13
- package/CalendarPickerSkeleton/index.d.ts +2 -2
- package/ClockPicker/ClockPicker.d.ts +14 -14
- package/ClockPicker/index.d.ts +2 -2
- package/DatePicker/DatePicker.d.ts +10 -10
- package/DatePicker/index.d.ts +2 -2
- package/DateRangePicker/DateRangePicker.d.ts +11 -11
- package/DateRangePicker/index.d.ts +2 -2
- package/DateRangePickerDay/DateRangePickerDay.d.ts +13 -13
- package/DateRangePickerDay/index.d.ts +2 -2
- package/DateTimePicker/DateTimePicker.d.ts +10 -10
- package/DateTimePicker/index.d.ts +2 -2
- package/DesktopDatePicker/DesktopDatePicker.d.ts +10 -10
- package/DesktopDatePicker/index.d.ts +2 -2
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +10 -10
- package/DesktopDateRangePicker/index.d.ts +2 -2
- package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +10 -10
- package/DesktopDateTimePicker/index.d.ts +2 -2
- package/DesktopTimePicker/DesktopTimePicker.d.ts +10 -10
- package/DesktopTimePicker/index.d.ts +2 -2
- package/LoadingButton/loadingButtonClasses.d.ts +22 -22
- package/LocalizationProvider/LocalizationProvider.d.ts +10 -10
- package/LocalizationProvider/index.d.ts +2 -2
- package/Masonry/masonryClasses.d.ts +8 -8
- package/MobileDatePicker/MobileDatePicker.d.ts +10 -10
- package/MobileDatePicker/index.d.ts +2 -2
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +10 -10
- package/MobileDateRangePicker/index.d.ts +2 -2
- package/MobileDateTimePicker/MobileDateTimePicker.d.ts +10 -10
- package/MobileDateTimePicker/index.d.ts +2 -2
- package/MobileTimePicker/MobileTimePicker.d.ts +10 -10
- package/MobileTimePicker/index.d.ts +2 -2
- package/MonthPicker/MonthPicker.d.ts +13 -13
- package/MonthPicker/index.d.ts +2 -2
- package/PickersDay/PickersDay.d.ts +13 -13
- package/PickersDay/index.d.ts +2 -2
- package/StaticDatePicker/StaticDatePicker.d.ts +10 -10
- package/StaticDatePicker/index.d.ts +2 -2
- package/StaticDateRangePicker/StaticDateRangePicker.d.ts +10 -10
- package/StaticDateRangePicker/index.d.ts +2 -2
- package/StaticDateTimePicker/StaticDateTimePicker.d.ts +10 -10
- package/StaticDateTimePicker/index.d.ts +2 -2
- package/StaticTimePicker/StaticTimePicker.d.ts +10 -10
- package/StaticTimePicker/index.d.ts +2 -2
- package/TabPanel/tabPanelClasses.d.ts +8 -8
- package/TimePicker/TimePicker.d.ts +10 -10
- package/TimePicker/index.d.ts +2 -2
- package/Timeline/Timeline.d.ts +59 -59
- package/Timeline/TimelineContext.d.ts +6 -6
- package/Timeline/index.d.ts +5 -5
- package/Timeline/timelineClasses.d.ts +3 -3
- package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
- package/TimelineContent/timelineContentClasses.d.ts +14 -14
- package/TimelineDot/timelineDotClasses.d.ts +24 -24
- package/TimelineItem/timelineItemClasses.d.ts +16 -16
- package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
- package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
- package/TreeItem/treeItemClasses.d.ts +24 -24
- package/TreeView/treeViewClasses.d.ts +8 -8
- package/YearPicker/YearPicker.d.ts +14 -14
- package/YearPicker/index.d.ts +2 -2
- package/index.js +1 -1
- package/internal/svg-icons/ArrowDropDown.d.ts +7 -7
- package/internal/svg-icons/ArrowLeft.d.ts +7 -7
- package/internal/svg-icons/ArrowRight.d.ts +7 -7
- package/internal/svg-icons/Calendar.d.ts +7 -7
- package/internal/svg-icons/Clock.d.ts +7 -7
- package/internal/svg-icons/DateRange.d.ts +7 -7
- package/internal/svg-icons/Pen.d.ts +7 -7
- package/internal/svg-icons/Time.d.ts +7 -7
- package/legacy/index.js +1 -1
- package/modern/index.js +1 -1
- package/node/index.js +1 -1
- package/package.json +4 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type MobileTimePickerComponent = (<TDate>(props: MobileTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const MobileTimePicker: MobileTimePickerComponent;
|
|
9
|
-
export default MobileTimePicker;
|
|
10
|
-
export type MobileTimePickerProps<TDate> = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type MobileTimePickerComponent = (<TDate>(props: MobileTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const MobileTimePicker: MobileTimePickerComponent;
|
|
9
|
+
export default MobileTimePicker;
|
|
10
|
+
export type MobileTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './MobileTimePicker';
|
|
2
|
-
export * from './MobileTimePicker';
|
|
1
|
+
export { default } from './MobileTimePicker';
|
|
2
|
+
export * from './MobileTimePicker';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type MonthPickerComponent = (<TDate>(props: MonthPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const MonthPicker: MonthPickerComponent;
|
|
9
|
-
export default MonthPicker;
|
|
10
|
-
export declare const monthPickerClasses: {};
|
|
11
|
-
export declare const getMonthPickerUtilityClass: (slot: string) => string;
|
|
12
|
-
export type MonthPickerProps<TDate> = Record<any, any>;
|
|
13
|
-
export type MonthPickerClassKey = any;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type MonthPickerComponent = (<TDate>(props: MonthPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const MonthPicker: MonthPickerComponent;
|
|
9
|
+
export default MonthPicker;
|
|
10
|
+
export declare const monthPickerClasses: {};
|
|
11
|
+
export declare const getMonthPickerUtilityClass: (slot: string) => string;
|
|
12
|
+
export type MonthPickerProps<TDate> = Record<any, any>;
|
|
13
|
+
export type MonthPickerClassKey = any;
|
package/MonthPicker/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './MonthPicker';
|
|
2
|
-
export * from './MonthPicker';
|
|
1
|
+
export { default } from './MonthPicker';
|
|
2
|
+
export * from './MonthPicker';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type PickersDayComponent = (<TDate>(props: PickersDayProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const PickersDay: PickersDayComponent;
|
|
9
|
-
export default PickersDay;
|
|
10
|
-
export declare const pickersDayClasses: {};
|
|
11
|
-
export declare const getPickersDayUtilityClass: (slot: string) => string;
|
|
12
|
-
export type PickersDayProps<TDate> = Record<any, any>;
|
|
13
|
-
export type PickersDayClassKey = any;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type PickersDayComponent = (<TDate>(props: PickersDayProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const PickersDay: PickersDayComponent;
|
|
9
|
+
export default PickersDay;
|
|
10
|
+
export declare const pickersDayClasses: {};
|
|
11
|
+
export declare const getPickersDayUtilityClass: (slot: string) => string;
|
|
12
|
+
export type PickersDayProps<TDate> = Record<any, any>;
|
|
13
|
+
export type PickersDayClassKey = any;
|
package/PickersDay/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './PickersDay';
|
|
2
|
-
export * from './PickersDay';
|
|
1
|
+
export { default } from './PickersDay';
|
|
2
|
+
export * from './PickersDay';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type StaticDatePickerComponent = (<TDate>(props: StaticDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const StaticDatePicker: StaticDatePickerComponent;
|
|
9
|
-
export default StaticDatePicker;
|
|
10
|
-
export type StaticDatePickerProps<TDate> = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type StaticDatePickerComponent = (<TDate>(props: StaticDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const StaticDatePicker: StaticDatePickerComponent;
|
|
9
|
+
export default StaticDatePicker;
|
|
10
|
+
export type StaticDatePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './StaticDatePicker';
|
|
2
|
-
export * from './StaticDatePicker';
|
|
1
|
+
export { default } from './StaticDatePicker';
|
|
2
|
+
export * from './StaticDatePicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type StaticDateRangePickerComponent = (<TDate>(props: StaticDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const StaticDateRangePicker: StaticDateRangePickerComponent;
|
|
9
|
-
export default StaticDateRangePicker;
|
|
10
|
-
export type StaticDateRangePickerProps = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type StaticDateRangePickerComponent = (<TDate>(props: StaticDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const StaticDateRangePicker: StaticDateRangePickerComponent;
|
|
9
|
+
export default StaticDateRangePicker;
|
|
10
|
+
export type StaticDateRangePickerProps = Record<any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './StaticDateRangePicker';
|
|
2
|
-
export * from './StaticDateRangePicker';
|
|
1
|
+
export { default } from './StaticDateRangePicker';
|
|
2
|
+
export * from './StaticDateRangePicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type StaticDateTimePickerComponent = (<TDate>(props: StaticDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const StaticDateTimePicker: StaticDateTimePickerComponent;
|
|
9
|
-
export default StaticDateTimePicker;
|
|
10
|
-
export type StaticDateTimePickerProps<TDate> = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type StaticDateTimePickerComponent = (<TDate>(props: StaticDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const StaticDateTimePicker: StaticDateTimePickerComponent;
|
|
9
|
+
export default StaticDateTimePicker;
|
|
10
|
+
export type StaticDateTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './StaticDateTimePicker';
|
|
2
|
-
export * from './StaticDateTimePicker';
|
|
1
|
+
export { default } from './StaticDateTimePicker';
|
|
2
|
+
export * from './StaticDateTimePicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type StaticTimePickerComponent = (<TDate>(props: StaticTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const StaticTimePicker: StaticTimePickerComponent;
|
|
9
|
-
export default StaticTimePicker;
|
|
10
|
-
export type StaticTimePickerProps<TDate> = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type StaticTimePickerComponent = (<TDate>(props: StaticTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const StaticTimePicker: StaticTimePickerComponent;
|
|
9
|
+
export default StaticTimePicker;
|
|
10
|
+
export type StaticTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './StaticTimePicker';
|
|
2
|
-
export * from './StaticTimePicker';
|
|
1
|
+
export { default } from './StaticTimePicker';
|
|
2
|
+
export * from './StaticTimePicker';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface TabPanelClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export type TabPanelClassKey = keyof TabPanelClasses;
|
|
6
|
-
export declare function getTabPanelUtilityClass(slot: string): string;
|
|
7
|
-
declare const tabPanelClasses: TabPanelClasses;
|
|
8
|
-
export default tabPanelClasses;
|
|
1
|
+
export interface TabPanelClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type TabPanelClassKey = keyof TabPanelClasses;
|
|
6
|
+
export declare function getTabPanelUtilityClass(slot: string): string;
|
|
7
|
+
declare const tabPanelClasses: TabPanelClasses;
|
|
8
|
+
export default tabPanelClasses;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type TimePickerComponent = (<TDate>(props: TimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const TimePicker: TimePickerComponent;
|
|
9
|
-
export default TimePicker;
|
|
10
|
-
export type TimePickerProps<TDate> = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type TimePickerComponent = (<TDate>(props: TimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const TimePicker: TimePickerComponent;
|
|
9
|
+
export default TimePicker;
|
|
10
|
+
export type TimePickerProps<TDate> = Record<any, any>;
|
package/TimePicker/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './TimePicker';
|
|
2
|
-
export * from './TimePicker';
|
|
1
|
+
export { default } from './TimePicker';
|
|
2
|
+
export * from './TimePicker';
|
package/Timeline/Timeline.d.ts
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
4
|
-
import { Theme } from '@mui/material/styles';
|
|
5
|
-
export type TimelineClassKey = keyof NonNullable<TimelineProps['classes']>;
|
|
6
|
-
export interface TimelineProps extends StandardProps<React.HTMLAttributes<HTMLUListElement>> {
|
|
7
|
-
/**
|
|
8
|
-
* The position where the TimelineContent should appear relative to the time axis.
|
|
9
|
-
* @default 'right'
|
|
10
|
-
*/
|
|
11
|
-
position?: 'left' | 'right' | 'alternate';
|
|
12
|
-
/**
|
|
13
|
-
* The content of the component.
|
|
14
|
-
*/
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
/**
|
|
17
|
-
* Override or extend the styles applied to the component.
|
|
18
|
-
*/
|
|
19
|
-
classes?: {
|
|
20
|
-
/** Styles applied to the root element. */
|
|
21
|
-
root?: string;
|
|
22
|
-
/** Styles applied to the root element if `position="left"`. */
|
|
23
|
-
positionLeft?: string;
|
|
24
|
-
/** Styles applied to the root element if `position="right"`. */
|
|
25
|
-
positionRight?: string;
|
|
26
|
-
/** Styles applied to the root element if `position="alternate"`. */
|
|
27
|
-
positionAlternate?: string;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* className applied to the root element.
|
|
31
|
-
*/
|
|
32
|
-
className?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
35
|
-
*/
|
|
36
|
-
sx?: SxProps<Theme>;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* Demos:
|
|
41
|
-
*
|
|
42
|
-
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
43
|
-
*
|
|
44
|
-
* API:
|
|
45
|
-
*
|
|
46
|
-
* - [Timeline API](https://mui.com/material-ui/api/timeline/)
|
|
47
|
-
*/
|
|
48
|
-
declare const Timeline: React.ForwardRefExoticComponent<Pick<TimelineProps, "slot" | "style" | "title" | "hidden" | "
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* Demos:
|
|
52
|
-
*
|
|
53
|
-
* - [Timeline](https://mui.com/components/timeline/)
|
|
54
|
-
*
|
|
55
|
-
* API:
|
|
56
|
-
*
|
|
57
|
-
* - [Timeline API](https://mui.com/api/timeline/)
|
|
58
|
-
*/
|
|
59
|
-
export default Timeline;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { SxProps } from '@mui/system';
|
|
3
|
+
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
4
|
+
import { Theme } from '@mui/material/styles';
|
|
5
|
+
export type TimelineClassKey = keyof NonNullable<TimelineProps['classes']>;
|
|
6
|
+
export interface TimelineProps extends StandardProps<React.HTMLAttributes<HTMLUListElement>> {
|
|
7
|
+
/**
|
|
8
|
+
* The position where the TimelineContent should appear relative to the time axis.
|
|
9
|
+
* @default 'right'
|
|
10
|
+
*/
|
|
11
|
+
position?: 'left' | 'right' | 'alternate';
|
|
12
|
+
/**
|
|
13
|
+
* The content of the component.
|
|
14
|
+
*/
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* Override or extend the styles applied to the component.
|
|
18
|
+
*/
|
|
19
|
+
classes?: {
|
|
20
|
+
/** Styles applied to the root element. */
|
|
21
|
+
root?: string;
|
|
22
|
+
/** Styles applied to the root element if `position="left"`. */
|
|
23
|
+
positionLeft?: string;
|
|
24
|
+
/** Styles applied to the root element if `position="right"`. */
|
|
25
|
+
positionRight?: string;
|
|
26
|
+
/** Styles applied to the root element if `position="alternate"`. */
|
|
27
|
+
positionAlternate?: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* className applied to the root element.
|
|
31
|
+
*/
|
|
32
|
+
className?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
35
|
+
*/
|
|
36
|
+
sx?: SxProps<Theme>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* Demos:
|
|
41
|
+
*
|
|
42
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
43
|
+
*
|
|
44
|
+
* API:
|
|
45
|
+
*
|
|
46
|
+
* - [Timeline API](https://mui.com/material-ui/api/timeline/)
|
|
47
|
+
*/
|
|
48
|
+
declare const Timeline: React.ForwardRefExoticComponent<Pick<TimelineProps, "slot" | "style" | "title" | "hidden" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "position" | "sx"> & React.RefAttributes<HTMLUListElement>>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* Demos:
|
|
52
|
+
*
|
|
53
|
+
* - [Timeline](https://mui.com/components/timeline/)
|
|
54
|
+
*
|
|
55
|
+
* API:
|
|
56
|
+
*
|
|
57
|
+
* - [Timeline API](https://mui.com/api/timeline/)
|
|
58
|
+
*/
|
|
59
|
+
export default Timeline;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* @ignore - internal component.
|
|
4
|
-
*/
|
|
5
|
-
declare const TimelineContext: React.Context<{}>;
|
|
6
|
-
export default TimelineContext;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @ignore - internal component.
|
|
4
|
+
*/
|
|
5
|
+
declare const TimelineContext: React.Context<{}>;
|
|
6
|
+
export default TimelineContext;
|
package/Timeline/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default } from './Timeline';
|
|
2
|
-
export type TimelineClassKey = import('./Timeline').TimelineClassKey;
|
|
3
|
-
export type TimelineProps = import('./Timeline').TimelineProps;
|
|
4
|
-
export { default as timelineClasses } from './timelineClasses';
|
|
5
|
-
export * from './timelineClasses';
|
|
1
|
+
export { default } from './Timeline';
|
|
2
|
+
export type TimelineClassKey = import('./Timeline').TimelineClassKey;
|
|
3
|
+
export type TimelineProps = import('./Timeline').TimelineProps;
|
|
4
|
+
export { default as timelineClasses } from './timelineClasses';
|
|
5
|
+
export * from './timelineClasses';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare function getTimelineUtilityClass(slot: string): string;
|
|
2
|
-
declare const timelineClasses: Record<"root" | "positionLeft" | "positionRight" | "positionAlternate", string>;
|
|
3
|
-
export default timelineClasses;
|
|
1
|
+
export declare function getTimelineUtilityClass(slot: string): string;
|
|
2
|
+
declare const timelineClasses: Record<"root" | "positionLeft" | "positionRight" | "positionAlternate", string>;
|
|
3
|
+
export default timelineClasses;
|
|
@@ -1,8 +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;
|
|
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;
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
-
}
|
|
11
|
-
export type TimelineContentClassKey = keyof TimelineContentClasses;
|
|
12
|
-
export declare function getTimelineContentUtilityClass(slot: string): string;
|
|
13
|
-
declare const timelineContentClasses: TimelineContentClasses;
|
|
14
|
-
export default timelineContentClasses;
|
|
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
|
+
}
|
|
11
|
+
export type TimelineContentClassKey = keyof TimelineContentClasses;
|
|
12
|
+
export declare function getTimelineContentUtilityClass(slot: string): string;
|
|
13
|
+
declare const timelineContentClasses: TimelineContentClasses;
|
|
14
|
+
export default timelineContentClasses;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
export interface TimelineDotClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `variant="filled"`. */
|
|
5
|
-
filled: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
-
outlined: string;
|
|
8
|
-
/** Styles applied to the root element if `color="grey"` and `variant="filled"`. */
|
|
9
|
-
filledGrey: string;
|
|
10
|
-
/** Styles applied to the root element if `color="grey"` and `variant="outlined"`. */
|
|
11
|
-
outlinedGrey: string;
|
|
12
|
-
/** Styles applied to the root element if `color="primary"` and `variant="filled"`. */
|
|
13
|
-
filledPrimary: string;
|
|
14
|
-
/** Styles applied to the root element if `color="primary"` and `variant="outlined"`. */
|
|
15
|
-
outlinedPrimary: string;
|
|
16
|
-
/** Styles applied to the root element if `color="secondary"` and `variant="filled"`. */
|
|
17
|
-
filledSecondary: string;
|
|
18
|
-
/** Styles applied to the root element if `color="secondary"` and `variant="outlined"`. */
|
|
19
|
-
outlinedSecondary: string;
|
|
20
|
-
}
|
|
21
|
-
export type TimelineDotClassKey = keyof TimelineDotClasses;
|
|
22
|
-
export declare function getTimelineDotUtilityClass(slot: string): string;
|
|
23
|
-
declare const timelineDotClasses: TimelineDotClasses;
|
|
24
|
-
export default timelineDotClasses;
|
|
1
|
+
export interface TimelineDotClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="filled"`. */
|
|
5
|
+
filled: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
7
|
+
outlined: string;
|
|
8
|
+
/** Styles applied to the root element if `color="grey"` and `variant="filled"`. */
|
|
9
|
+
filledGrey: string;
|
|
10
|
+
/** Styles applied to the root element if `color="grey"` and `variant="outlined"`. */
|
|
11
|
+
outlinedGrey: string;
|
|
12
|
+
/** Styles applied to the root element if `color="primary"` and `variant="filled"`. */
|
|
13
|
+
filledPrimary: string;
|
|
14
|
+
/** Styles applied to the root element if `color="primary"` and `variant="outlined"`. */
|
|
15
|
+
outlinedPrimary: string;
|
|
16
|
+
/** Styles applied to the root element if `color="secondary"` and `variant="filled"`. */
|
|
17
|
+
filledSecondary: string;
|
|
18
|
+
/** Styles applied to the root element if `color="secondary"` and `variant="outlined"`. */
|
|
19
|
+
outlinedSecondary: string;
|
|
20
|
+
}
|
|
21
|
+
export type TimelineDotClassKey = keyof TimelineDotClasses;
|
|
22
|
+
export declare function getTimelineDotUtilityClass(slot: string): string;
|
|
23
|
+
declare const timelineDotClasses: TimelineDotClasses;
|
|
24
|
+
export default timelineDotClasses;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export interface TimelineItemClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `position="left"`. */
|
|
5
|
-
positionLeft: string;
|
|
6
|
-
/** Styles applied to the root element if `position="right"`. */
|
|
7
|
-
positionRight: string;
|
|
8
|
-
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
|
-
positionAlternate: string;
|
|
10
|
-
/** Styles applied to the root element if TimelineOppositeContent isn't provided. */
|
|
11
|
-
missingOppositeContent: string;
|
|
12
|
-
}
|
|
13
|
-
export type TimelineItemClassKey = keyof TimelineItemClasses;
|
|
14
|
-
export declare function getTimelineItemUtilityClass(slot: string): string;
|
|
15
|
-
declare const timelineItemClasses: TimelineItemClasses;
|
|
16
|
-
export default timelineItemClasses;
|
|
1
|
+
export interface TimelineItemClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `position="left"`. */
|
|
5
|
+
positionLeft: string;
|
|
6
|
+
/** Styles applied to the root element if `position="right"`. */
|
|
7
|
+
positionRight: string;
|
|
8
|
+
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
|
+
positionAlternate: string;
|
|
10
|
+
/** Styles applied to the root element if TimelineOppositeContent isn't provided. */
|
|
11
|
+
missingOppositeContent: string;
|
|
12
|
+
}
|
|
13
|
+
export type TimelineItemClassKey = keyof TimelineItemClasses;
|
|
14
|
+
export declare function getTimelineItemUtilityClass(slot: string): string;
|
|
15
|
+
declare const timelineItemClasses: TimelineItemClasses;
|
|
16
|
+
export default timelineItemClasses;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface TimelineOppositeContentClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `position="right"`. */
|
|
5
|
-
positionRight: string;
|
|
6
|
-
/** Styles applied to the root element if `position="left"`. */
|
|
7
|
-
positionLeft: string;
|
|
8
|
-
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
|
-
positionAlternate: string;
|
|
10
|
-
}
|
|
11
|
-
export type TimelineOppositeContentClassKey = keyof TimelineOppositeContentClasses;
|
|
12
|
-
export declare function getTimelineOppositeContentUtilityClass(slot: string): string;
|
|
13
|
-
declare const timelineOppositeContentClasses: TimelineOppositeContentClasses;
|
|
14
|
-
export default timelineOppositeContentClasses;
|
|
1
|
+
export interface TimelineOppositeContentClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `position="right"`. */
|
|
5
|
+
positionRight: string;
|
|
6
|
+
/** Styles applied to the root element if `position="left"`. */
|
|
7
|
+
positionLeft: string;
|
|
8
|
+
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
|
+
positionAlternate: string;
|
|
10
|
+
}
|
|
11
|
+
export type TimelineOppositeContentClassKey = keyof TimelineOppositeContentClasses;
|
|
12
|
+
export declare function getTimelineOppositeContentUtilityClass(slot: string): string;
|
|
13
|
+
declare const timelineOppositeContentClasses: TimelineOppositeContentClasses;
|
|
14
|
+
export default timelineOppositeContentClasses;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface TimelineSeparatorClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export type TimelineSeparatorClassKey = keyof TimelineSeparatorClasses;
|
|
6
|
-
export declare function getTimelineSeparatorUtilityClass(slot: string): string;
|
|
7
|
-
declare const timelineSeparatorClasses: TimelineSeparatorClasses;
|
|
8
|
-
export default timelineSeparatorClasses;
|
|
1
|
+
export interface TimelineSeparatorClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type TimelineSeparatorClassKey = keyof TimelineSeparatorClasses;
|
|
6
|
+
export declare function getTimelineSeparatorUtilityClass(slot: string): string;
|
|
7
|
+
declare const timelineSeparatorClasses: TimelineSeparatorClasses;
|
|
8
|
+
export default timelineSeparatorClasses;
|