@mui/lab 5.0.0-alpha.76 → 5.0.0-alpha.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AdapterDateFns/index.d.ts +1 -1
- package/AdapterDayjs/index.d.ts +1 -1
- package/AdapterLuxon/index.d.ts +1 -1
- package/AdapterMoment/index.d.ts +1 -1
- package/CHANGELOG.md +75 -30
- package/CalendarPicker/index.d.ts +2 -2
- package/CalendarPickerSkeleton/index.d.ts +2 -2
- package/ClockPicker/index.d.ts +2 -2
- 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/index.d.ts +2 -2
- package/DesktopDatePicker/index.d.ts +2 -2
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +10 -10
- package/DesktopDateRangePicker/index.d.ts +2 -2
- package/DesktopDateTimePicker/index.d.ts +2 -2
- package/DesktopTimePicker/index.d.ts +2 -2
- package/LoadingButton/LoadingButton.d.ts +3 -3
- package/LoadingButton/loadingButtonClasses.d.ts +22 -22
- package/LocalizationProvider/index.d.ts +2 -2
- package/Masonry/Masonry.d.ts +2 -2
- package/Masonry/masonryClasses.d.ts +8 -8
- package/MobileDatePicker/index.d.ts +2 -2
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +10 -10
- package/MobileDateRangePicker/index.d.ts +2 -2
- package/MobileDateTimePicker/index.d.ts +2 -2
- package/MobileTimePicker/index.d.ts +2 -2
- package/MonthPicker/index.d.ts +2 -2
- package/PickersDay/index.d.ts +2 -2
- package/StaticDatePicker/index.d.ts +2 -2
- package/StaticDateRangePicker/StaticDateRangePicker.d.ts +10 -10
- package/StaticDateRangePicker/index.d.ts +2 -2
- package/StaticDateTimePicker/index.d.ts +2 -2
- package/StaticTimePicker/index.d.ts +2 -2
- package/TabContext/TabContext.d.ts +2 -2
- package/TabList/TabList.d.ts +3 -3
- package/TabPanel/TabPanel.d.ts +2 -2
- package/TabPanel/tabPanelClasses.d.ts +8 -8
- package/TimePicker/index.d.ts +2 -2
- package/Timeline/Timeline.d.ts +59 -59
- package/Timeline/Timeline.js +2 -2
- package/Timeline/TimelineContext.d.ts +6 -6
- package/Timeline/index.d.ts +5 -5
- package/Timeline/timelineClasses.d.ts +3 -3
- package/TimelineConnector/TimelineConnector.d.ts +2 -2
- package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
- package/TimelineContent/TimelineContent.d.ts +3 -3
- package/TimelineContent/timelineContentClasses.d.ts +14 -14
- package/TimelineDot/TimelineDot.d.ts +2 -2
- package/TimelineDot/timelineDotClasses.d.ts +24 -24
- package/TimelineItem/TimelineItem.d.ts +2 -2
- package/TimelineItem/timelineItemClasses.d.ts +16 -16
- package/TimelineOppositeContent/TimelineOppositeContent.d.ts +3 -3
- package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
- package/TimelineSeparator/TimelineSeparator.d.ts +2 -2
- package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
- package/TreeItem/TreeItem.d.ts +3 -3
- package/TreeItem/TreeItem.js +1 -1
- package/TreeItem/treeItemClasses.d.ts +24 -24
- package/TreeView/TreeView.d.ts +2 -2
- package/TreeView/treeViewClasses.d.ts +8 -8
- 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/Timeline/Timeline.js +2 -2
- package/legacy/TreeItem/TreeItem.js +1 -1
- package/legacy/index.js +1 -1
- package/modern/Timeline/Timeline.js +2 -2
- package/modern/TreeItem/TreeItem.js +1 -1
- package/modern/index.js +1 -1
- package/node/Timeline/Timeline.js +2 -2
- package/node/TreeItem/TreeItem.js +1 -1
- package/node/index.js +1 -1
- package/package.json +6 -6
package/PickersDay/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { PickersDay as default, pickersDayClasses, getPickersDayUtilityClass, } from '@mui/x-date-pickers/PickersDay';
|
|
2
|
-
export type { PickersDayClassKey, PickersDayProps } from '@mui/x-date-pickers/PickersDay';
|
|
1
|
+
export { PickersDay as default, pickersDayClasses, getPickersDayUtilityClass, } from '@mui/x-date-pickers/PickersDay';
|
|
2
|
+
export type { PickersDayClassKey, PickersDayProps } from '@mui/x-date-pickers/PickersDay';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { StaticDatePicker as default } from '@mui/x-date-pickers/StaticDatePicker';
|
|
2
|
-
export type { StaticDatePickerProps } from '@mui/x-date-pickers/StaticDatePicker';
|
|
1
|
+
export { StaticDatePicker as default } from '@mui/x-date-pickers/StaticDatePicker';
|
|
2
|
+
export type { StaticDatePickerProps } from '@mui/x-date-pickers/StaticDatePicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare 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 declare type StaticDateRangePickerProps = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare 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 declare 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,2 +1,2 @@
|
|
|
1
|
-
export { StaticDateTimePicker as default } from '@mui/x-date-pickers/StaticDateTimePicker';
|
|
2
|
-
export type { StaticDateTimePickerProps } from '@mui/x-date-pickers/StaticDateTimePicker';
|
|
1
|
+
export { StaticDateTimePicker as default } from '@mui/x-date-pickers/StaticDateTimePicker';
|
|
2
|
+
export type { StaticDateTimePickerProps } from '@mui/x-date-pickers/StaticDateTimePicker';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { StaticTimePicker as default } from '@mui/x-date-pickers/StaticTimePicker';
|
|
2
|
-
export type { StaticTimePickerProps } from '@mui/x-date-pickers/StaticTimePicker';
|
|
1
|
+
export { StaticTimePicker as default } from '@mui/x-date-pickers/StaticTimePicker';
|
|
2
|
+
export type { StaticTimePickerProps } from '@mui/x-date-pickers/StaticTimePicker';
|
|
@@ -19,11 +19,11 @@ export interface TabContextProps {
|
|
|
19
19
|
*
|
|
20
20
|
* Demos:
|
|
21
21
|
*
|
|
22
|
-
* - [Tabs](https://mui.com/
|
|
22
|
+
* - [Tabs](https://mui.com/material-ui/react-tabs/)
|
|
23
23
|
*
|
|
24
24
|
* API:
|
|
25
25
|
*
|
|
26
|
-
* - [TabContext API](https://mui.com/api/tab-context/)
|
|
26
|
+
* - [TabContext API](https://mui.com/material-ui/api/tab-context/)
|
|
27
27
|
*/
|
|
28
28
|
export default function TabContext(props: TabContextProps): JSX.Element;
|
|
29
29
|
export function useTabContext(): TabContextValue | null;
|
package/TabList/TabList.d.ts
CHANGED
|
@@ -20,12 +20,12 @@ export interface TabListTypeMap<
|
|
|
20
20
|
*
|
|
21
21
|
* Demos:
|
|
22
22
|
*
|
|
23
|
-
* - [Tabs](https://mui.com/
|
|
23
|
+
* - [Tabs](https://mui.com/material-ui/react-tabs/)
|
|
24
24
|
*
|
|
25
25
|
* API:
|
|
26
26
|
*
|
|
27
|
-
* - [TabList API](https://mui.com/api/tab-list/)
|
|
28
|
-
* - inherits [Tabs API](https://mui.com/api/tabs/)
|
|
27
|
+
* - [TabList API](https://mui.com/material-ui/api/tab-list/)
|
|
28
|
+
* - inherits [Tabs API](https://mui.com/material-ui/api/tabs/)
|
|
29
29
|
*/
|
|
30
30
|
declare const TabList: OverridableComponent<TabListTypeMap>;
|
|
31
31
|
|
package/TabPanel/TabPanel.d.ts
CHANGED
|
@@ -28,10 +28,10 @@ export interface TabPanelProps extends StandardProps<React.HTMLAttributes<HTMLDi
|
|
|
28
28
|
*
|
|
29
29
|
* Demos:
|
|
30
30
|
*
|
|
31
|
-
* - [Tabs](https://mui.com/
|
|
31
|
+
* - [Tabs](https://mui.com/material-ui/react-tabs/)
|
|
32
32
|
*
|
|
33
33
|
* API:
|
|
34
34
|
*
|
|
35
|
-
* - [TabPanel API](https://mui.com/api/tab-panel/)
|
|
35
|
+
* - [TabPanel API](https://mui.com/material-ui/api/tab-panel/)
|
|
36
36
|
*/
|
|
37
37
|
export default function TabPanel(props: TabPanelProps): JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface TabPanelClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export declare 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 declare type TabPanelClassKey = keyof TabPanelClasses;
|
|
6
|
+
export declare function getTabPanelUtilityClass(slot: string): string;
|
|
7
|
+
declare const tabPanelClasses: TabPanelClasses;
|
|
8
|
+
export default tabPanelClasses;
|
package/TimePicker/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { TimePicker as default } from '@mui/x-date-pickers/TimePicker';
|
|
2
|
-
export type { TimePickerProps } from '@mui/x-date-pickers/TimePicker';
|
|
1
|
+
export { TimePicker as default } from '@mui/x-date-pickers/TimePicker';
|
|
2
|
+
export type { TimePickerProps } from '@mui/x-date-pickers/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 declare 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/
|
|
43
|
-
*
|
|
44
|
-
* API:
|
|
45
|
-
*
|
|
46
|
-
* - [Timeline API](https://mui.com/api/timeline/)
|
|
47
|
-
*/
|
|
48
|
-
declare const Timeline: React.ForwardRefExoticComponent<Pick<TimelineProps, "slot" | "style" | "title" | "hidden" | "className" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "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" | "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
|
+
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 declare 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" | "className" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "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" | "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;
|
package/Timeline/Timeline.js
CHANGED
|
@@ -41,11 +41,11 @@ const TimelineRoot = styled('ul', {
|
|
|
41
41
|
*
|
|
42
42
|
* Demos:
|
|
43
43
|
*
|
|
44
|
-
* - [Timeline](https://mui.com/
|
|
44
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
45
45
|
*
|
|
46
46
|
* API:
|
|
47
47
|
*
|
|
48
|
-
* - [Timeline API](https://mui.com/api/timeline/)
|
|
48
|
+
* - [Timeline API](https://mui.com/material-ui/api/timeline/)
|
|
49
49
|
*/
|
|
50
50
|
|
|
51
51
|
const Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
|
|
@@ -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 declare type TimelineClassKey = import('./Timeline').TimelineClassKey;
|
|
3
|
-
export declare type TimelineProps = import('./Timeline').TimelineProps;
|
|
4
|
-
export { default as timelineClasses } from './timelineClasses';
|
|
5
|
-
export * from './timelineClasses';
|
|
1
|
+
export { default } from './Timeline';
|
|
2
|
+
export declare type TimelineClassKey = import('./Timeline').TimelineClassKey;
|
|
3
|
+
export declare 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;
|
|
@@ -24,10 +24,10 @@ export interface TimelineConnectorProps
|
|
|
24
24
|
*
|
|
25
25
|
* Demos:
|
|
26
26
|
*
|
|
27
|
-
* - [Timeline](https://mui.com/
|
|
27
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
28
28
|
*
|
|
29
29
|
* API:
|
|
30
30
|
*
|
|
31
|
-
* - [TimelineConnector API](https://mui.com/api/timeline-connector/)
|
|
31
|
+
* - [TimelineConnector API](https://mui.com/material-ui/api/timeline-connector/)
|
|
32
32
|
*/
|
|
33
33
|
export default function TimelineConnector(props: TimelineConnectorProps): JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface TimelineConnectorClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export declare 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 declare type TimelineConnectorClassKey = keyof TimelineConnectorClasses;
|
|
6
|
+
export declare function getTimelineConnectorUtilityClass(slot: string): string;
|
|
7
|
+
declare const timelineConnectorClasses: TimelineConnectorClasses;
|
|
8
|
+
export default timelineConnectorClasses;
|
|
@@ -23,11 +23,11 @@ export interface TimelineContentProps extends StandardProps<TypographyProps> {
|
|
|
23
23
|
*
|
|
24
24
|
* Demos:
|
|
25
25
|
*
|
|
26
|
-
* - [Timeline](https://mui.com/
|
|
26
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
27
27
|
*
|
|
28
28
|
* API:
|
|
29
29
|
*
|
|
30
|
-
* - [TimelineContent API](https://mui.com/api/timeline-content/)
|
|
31
|
-
* - inherits [Typography API](https://mui.com/api/typography/)
|
|
30
|
+
* - [TimelineContent API](https://mui.com/material-ui/api/timeline-content/)
|
|
31
|
+
* - inherits [Typography API](https://mui.com/material-ui/api/typography/)
|
|
32
32
|
*/
|
|
33
33
|
export default function TimelineContent(props: TimelineContentProps): JSX.Element;
|
|
@@ -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 declare 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 declare type TimelineContentClassKey = keyof TimelineContentClasses;
|
|
12
|
+
export declare function getTimelineContentUtilityClass(slot: string): string;
|
|
13
|
+
declare const timelineContentClasses: TimelineContentClasses;
|
|
14
|
+
export default timelineContentClasses;
|
|
@@ -36,10 +36,10 @@ export interface TimelineDotProps extends StandardProps<React.HTMLAttributes<HTM
|
|
|
36
36
|
*
|
|
37
37
|
* Demos:
|
|
38
38
|
*
|
|
39
|
-
* - [Timeline](https://mui.com/
|
|
39
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
40
40
|
*
|
|
41
41
|
* API:
|
|
42
42
|
*
|
|
43
|
-
* - [TimelineDot API](https://mui.com/api/timeline-dot/)
|
|
43
|
+
* - [TimelineDot API](https://mui.com/material-ui/api/timeline-dot/)
|
|
44
44
|
*/
|
|
45
45
|
export default function TimelineDot(props: TimelineDotProps): JSX.Element;
|
|
@@ -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 declare 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 declare type TimelineDotClassKey = keyof TimelineDotClasses;
|
|
22
|
+
export declare function getTimelineDotUtilityClass(slot: string): string;
|
|
23
|
+
declare const timelineDotClasses: TimelineDotClasses;
|
|
24
|
+
export default timelineDotClasses;
|
|
@@ -27,10 +27,10 @@ export interface TimelineItemProps extends StandardProps<React.HTMLAttributes<HT
|
|
|
27
27
|
*
|
|
28
28
|
* Demos:
|
|
29
29
|
*
|
|
30
|
-
* - [Timeline](https://mui.com/
|
|
30
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
31
31
|
*
|
|
32
32
|
* API:
|
|
33
33
|
*
|
|
34
|
-
* - [TimelineItem API](https://mui.com/api/timeline-item/)
|
|
34
|
+
* - [TimelineItem API](https://mui.com/material-ui/api/timeline-item/)
|
|
35
35
|
*/
|
|
36
36
|
export default function TimelineItem(props: TimelineItemProps): JSX.Element;
|
|
@@ -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 declare 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 declare type TimelineItemClassKey = keyof TimelineItemClasses;
|
|
14
|
+
export declare function getTimelineItemUtilityClass(slot: string): string;
|
|
15
|
+
declare const timelineItemClasses: TimelineItemClasses;
|
|
16
|
+
export default timelineItemClasses;
|
|
@@ -23,12 +23,12 @@ export interface TimelineOppositeContentProps extends StandardProps<TypographyPr
|
|
|
23
23
|
*
|
|
24
24
|
* Demos:
|
|
25
25
|
*
|
|
26
|
-
* - [Timeline](https://mui.com/
|
|
26
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
27
27
|
*
|
|
28
28
|
* API:
|
|
29
29
|
*
|
|
30
|
-
* - [TimelineOppositeContent API](https://mui.com/api/timeline-opposite-content/)
|
|
31
|
-
* - inherits [Typography API](https://mui.com/api/typography/)
|
|
30
|
+
* - [TimelineOppositeContent API](https://mui.com/material-ui/api/timeline-opposite-content/)
|
|
31
|
+
* - inherits [Typography API](https://mui.com/material-ui/api/typography/)
|
|
32
32
|
*/
|
|
33
33
|
declare const TimelineOppositeContent: ((props: TimelineOppositeContentProps) => JSX.Element) & {
|
|
34
34
|
muiName: string;
|
|
@@ -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 declare 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 declare type TimelineOppositeContentClassKey = keyof TimelineOppositeContentClasses;
|
|
12
|
+
export declare function getTimelineOppositeContentUtilityClass(slot: string): string;
|
|
13
|
+
declare const timelineOppositeContentClasses: TimelineOppositeContentClasses;
|
|
14
|
+
export default timelineOppositeContentClasses;
|
|
@@ -24,10 +24,10 @@ export interface TimelineSeparatorProps
|
|
|
24
24
|
*
|
|
25
25
|
* Demos:
|
|
26
26
|
*
|
|
27
|
-
* - [Timeline](https://mui.com/
|
|
27
|
+
* - [Timeline](https://mui.com/material-ui/react-timeline/)
|
|
28
28
|
*
|
|
29
29
|
* API:
|
|
30
30
|
*
|
|
31
|
-
* - [TimelineSeparator API](https://mui.com/api/timeline-separator/)
|
|
31
|
+
* - [TimelineSeparator API](https://mui.com/material-ui/api/timeline-separator/)
|
|
32
32
|
*/
|
|
33
33
|
export default function TimelineSeparator(props: TimelineSeparatorProps): JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface TimelineSeparatorClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export declare 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 declare type TimelineSeparatorClassKey = keyof TimelineSeparatorClasses;
|
|
6
|
+
export declare function getTimelineSeparatorUtilityClass(slot: string): string;
|
|
7
|
+
declare const timelineSeparatorClasses: TimelineSeparatorClasses;
|
|
8
|
+
export default timelineSeparatorClasses;
|
package/TreeItem/TreeItem.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export interface TreeItemProps
|
|
|
59
59
|
nodeId: string;
|
|
60
60
|
/**
|
|
61
61
|
* The component used for the transition.
|
|
62
|
-
* [Follow this guide](/
|
|
62
|
+
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
63
63
|
* @default Collapse
|
|
64
64
|
*/
|
|
65
65
|
TransitionComponent?: React.JSXElementConstructor<TransitionProps>;
|
|
@@ -78,10 +78,10 @@ export interface TreeItemProps
|
|
|
78
78
|
*
|
|
79
79
|
* Demos:
|
|
80
80
|
*
|
|
81
|
-
* - [Tree View](https://mui.com/
|
|
81
|
+
* - [Tree View](https://mui.com/material-ui/react-tree-view/)
|
|
82
82
|
*
|
|
83
83
|
* API:
|
|
84
84
|
*
|
|
85
|
-
* - [TreeItem API](https://mui.com/api/tree-item/)
|
|
85
|
+
* - [TreeItem API](https://mui.com/material-ui/api/tree-item/)
|
|
86
86
|
*/
|
|
87
87
|
export default function TreeItem(props: TreeItemProps): JSX.Element;
|
package/TreeItem/TreeItem.js
CHANGED
|
@@ -409,7 +409,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes
|
|
|
409
409
|
|
|
410
410
|
/**
|
|
411
411
|
* The component used for the transition.
|
|
412
|
-
* [Follow this guide](/
|
|
412
|
+
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
413
413
|
* @default Collapse
|
|
414
414
|
*/
|
|
415
415
|
TransitionComponent: PropTypes.elementType,
|