@mui/lab 5.0.0-alpha.108 → 5.0.0-alpha.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +108 -0
- package/CalendarPicker/CalendarPicker.d.ts +5 -5
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +3 -3
- package/ClockPicker/ClockPicker.d.ts +5 -5
- package/DatePicker/DatePicker.d.ts +2 -2
- package/DateRangePicker/DateRangePicker.d.ts +3 -3
- package/DateRangePickerDay/DateRangePickerDay.d.ts +4 -4
- package/DateTimePicker/DateTimePicker.d.ts +2 -2
- package/DesktopDatePicker/DesktopDatePicker.d.ts +2 -2
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +2 -2
- package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +2 -2
- package/DesktopTimePicker/DesktopTimePicker.d.ts +2 -2
- package/LoadingButton/loadingButtonClasses.d.ts +1 -1
- package/LocalizationProvider/LocalizationProvider.d.ts +2 -2
- package/Masonry/masonryClasses.d.ts +1 -1
- package/MobileDatePicker/MobileDatePicker.d.ts +2 -2
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +2 -2
- package/MobileDateTimePicker/MobileDateTimePicker.d.ts +2 -2
- package/MobileTimePicker/MobileTimePicker.d.ts +2 -2
- package/MonthPicker/MonthPicker.d.ts +3 -3
- package/PickersDay/PickersDay.d.ts +3 -3
- package/StaticDatePicker/StaticDatePicker.d.ts +2 -2
- package/StaticDateRangePicker/StaticDateRangePicker.d.ts +2 -2
- package/StaticDateTimePicker/StaticDateTimePicker.d.ts +2 -2
- package/StaticTimePicker/StaticTimePicker.d.ts +2 -2
- package/TabPanel/tabPanelClasses.d.ts +1 -1
- package/TimePicker/TimePicker.d.ts +2 -2
- package/Timeline/Timeline.d.ts +2 -2
- package/Timeline/index.d.ts +2 -2
- package/TimelineConnector/timelineConnectorClasses.d.ts +1 -1
- package/TimelineContent/timelineContentClasses.d.ts +1 -1
- package/TimelineDot/timelineDotClasses.d.ts +1 -1
- package/TimelineItem/timelineItemClasses.d.ts +1 -1
- package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +1 -1
- package/TimelineSeparator/timelineSeparatorClasses.d.ts +1 -1
- package/TreeItem/treeItemClasses.d.ts +1 -1
- package/TreeView/TreeView.js +2 -2
- package/TreeView/treeViewClasses.d.ts +1 -1
- package/YearPicker/YearPicker.d.ts +4 -4
- package/index.js +1 -1
- package/legacy/TreeView/TreeView.js +2 -2
- package/legacy/index.js +1 -1
- package/modern/TreeView/TreeView.js +2 -2
- package/modern/index.js +1 -1
- package/node/TreeView/TreeView.js +2 -2
- package/node/index.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,113 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.10.16
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.10.15..master -->
|
|
6
|
+
|
|
7
|
+
_Nov 28, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 13 contributors who made this release possible. This release contains various 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure improvements.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@5.10.16`
|
|
12
|
+
|
|
13
|
+
- ​<!-- 21 -->[Autocomplete] Fix inferred value type when `multiple` prop is `true` (#35275) @fenghan34
|
|
14
|
+
- ​<!-- 19 -->[Chip] Add `skipFocusWhenDisabled` prop to not allow focussing deletable chip if disabled (#35065) @sai6855
|
|
15
|
+
- ​<!-- 18 -->[Chip] Remove unnecessary handleKeyDown event handler (#35231) @ZeeshanTamboli
|
|
16
|
+
- ​<!-- 05 -->[FormControl] Add missing types in `useFormControl` (#35168) @ZeeshanTamboli
|
|
17
|
+
- ​<!-- 04 -->[IconButton] Add missing color classes (#33820) @Zetta56
|
|
18
|
+
- ​<!-- 03 -->[SwipeableDrawer] Make paper ref accessible (#35082) @sai6855
|
|
19
|
+
|
|
20
|
+
### `@mui/system@5.10.16`
|
|
21
|
+
|
|
22
|
+
- ​<!-- 02 -->[system] Remove unnecessary parsed theme (#35239) @siriwatknp
|
|
23
|
+
- ​<!-- 01 -->[theme] Fix TypeScript type for custom variants in responsive font sizes (#35057) @ZeeshanTamboli
|
|
24
|
+
|
|
25
|
+
### `@mui/base@5.0.0-alpha.108`
|
|
26
|
+
|
|
27
|
+
- ​<!-- 20 -->[Base] Allow useSlotProps to receive undefined elementType (#35192) @leventdeniz
|
|
28
|
+
|
|
29
|
+
### Docs
|
|
30
|
+
|
|
31
|
+
- ​<!-- 13 -->[docs] Improve feedback precision (#34641) @alexfauquette
|
|
32
|
+
- ​<!-- 12 -->[docs] Add Black Friday notification @oliviertassinari
|
|
33
|
+
- ​<!-- 11 -->[docs] Fix migration feedback (#35232) @alexfauquette
|
|
34
|
+
- ​<!-- 10 -->[docs] Improve the useSelect demo styling (#33883) @michaldudak
|
|
35
|
+
- ​<!-- 09 -->[docs] Fix layout jump on first mistake (#35215) @oliviertassinari
|
|
36
|
+
- ​<!-- 08 -->[docs] Support demos with side effect imports (#35177) @m4theushw
|
|
37
|
+
- ​<!-- 07 -->[examples] Fix Next.js errors (#35246) @oliviertassinari
|
|
38
|
+
- ​<!-- 06 -->[examples] Updated Remix examples with the lates changes using React 18 (#35092) @58bits
|
|
39
|
+
|
|
40
|
+
### Core
|
|
41
|
+
|
|
42
|
+
- ​<!-- 17 -->[core] Remove unused pattern (#35165) @iamxukai
|
|
43
|
+
- ​<!-- 16 -->[core] Fix Base version in changelog (#35224) @siriwatknp
|
|
44
|
+
- ​<!-- 15 -->[core] Migrate `describeConformance` to TypeScript (#35193) @flaviendelangle
|
|
45
|
+
- ​<!-- 14 -->[core] Skip CI for docs and examples paths (#35225) @siriwatknp
|
|
46
|
+
|
|
47
|
+
All contributors of this release in alphabetical order: @58bits, @alexfauquette, @fenghan34, @flaviendelangle, @iamxukai, @leventdeniz, @m4theushw, @michaldudak, @oliviertassinari, @sai6855, @siriwatknp, @ZeeshanTamboli, @Zetta56
|
|
48
|
+
|
|
49
|
+
## 5.10.15
|
|
50
|
+
|
|
51
|
+
<!-- generated comparing v5.10.14..master -->
|
|
52
|
+
|
|
53
|
+
_Nov 21, 2022_
|
|
54
|
+
|
|
55
|
+
A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
|
|
56
|
+
|
|
57
|
+
- 🚀 @mnajdova added the button as the first component that implements [Material You](https://m3.material.io/) design (MD3)
|
|
58
|
+
- 🌐 @MBilalShafi added Urdu (Pakistan) localization
|
|
59
|
+
- Many other 🐛 bug fixes, 📚 documentation, and ⚙️ infrastructure improvements
|
|
60
|
+
|
|
61
|
+
### `@mui/material@5.10.15`
|
|
62
|
+
|
|
63
|
+
- [Autocomplete] Fix keyboard navigation when using custom popover (#35160) @sai6855
|
|
64
|
+
- [typescript] Add `background.defaultChannel` to `CssVarsPalette` (#35174) @alexfauquette
|
|
65
|
+
- [l10n] Add Urdu (ur-PK) locale (#35154) @MBilalShafi
|
|
66
|
+
|
|
67
|
+
### `@mui/icons-material@5.10.15`
|
|
68
|
+
|
|
69
|
+
- [icons] Update the Material Design icons (#35194) @michaldudak
|
|
70
|
+
|
|
71
|
+
### `@mui/material-next@6.0.0-alpha.63`
|
|
72
|
+
|
|
73
|
+
- [Material You] Add theme structure & Button component (#34650) @mnajdova
|
|
74
|
+
|
|
75
|
+
### `@mui/base@5.0.0-alpha.107`
|
|
76
|
+
|
|
77
|
+
- [Select] Add attributes to conform with ARIA 1.2 (#35182) @michaldudak
|
|
78
|
+
|
|
79
|
+
### Docs
|
|
80
|
+
|
|
81
|
+
- [docs] Fix a couple documentation errors (#35217) @danilo-leal
|
|
82
|
+
- [docs] Change MUI -> Material UI in icons-material's readme (#35220) @michaldudak
|
|
83
|
+
- [docs] the pages have no <link rel=canonical so we need to tell Google to not index the staging envs @oliviertassinari
|
|
84
|
+
- [docs] Fix confusion in TOCs when reaching scroll bottom (#35214) @oliviertassinari
|
|
85
|
+
- [docs] Fix typos in section titles (#35025) @iamxukai
|
|
86
|
+
- [docs] Fix typo in legacy date picker migration guide @oliviertassinari
|
|
87
|
+
- [docs] Iterating on recent Joy UI Component page updates (#35162) @samuelsycamore
|
|
88
|
+
- [docs] Inform that pickers are in X repository (#35189) @alexfauquette
|
|
89
|
+
- [docs] Explain how the `error` prop works in the Unstyled Input (#35171) @michaldudak
|
|
90
|
+
- [docs] Hotfix missing styles in dark mode (#35179) @siriwatknp
|
|
91
|
+
- [docs] Add Joy UI theme typography page (#34811) @siriwatknp
|
|
92
|
+
- [docs] Fix undo/redo in live editor (#35163) @oliviertassinari
|
|
93
|
+
- [docs] Revise the Joy UI "Avatar" component page (#35152) @samuelsycamore
|
|
94
|
+
- [docs] Make navbar backdrop filter consistent with website (#35157) @danilo-leal
|
|
95
|
+
- [docs] Host CodeSandbox on MUI org (#35110) @oliviertassinari
|
|
96
|
+
- [docs] Uplift introduction demos & make consistent with Base (#34316) @danilo-leal
|
|
97
|
+
- [website] Add Security questionnaire in pricing (#35172) @oliviertassinari
|
|
98
|
+
- [website] Fix theme mode toggle state (#35216) @siriwatknp
|
|
99
|
+
- [website] Exclude experiment pages in production (#35180) @siriwatknp
|
|
100
|
+
- [website] Disable SEO for performance pages (#35173) @oliviertassinari
|
|
101
|
+
|
|
102
|
+
### Core
|
|
103
|
+
|
|
104
|
+
- [core] Convert icons scripts to ESM (#35101) @Janpot
|
|
105
|
+
- [core] Group renovate GitHub Action dependency updates @oliviertassinari
|
|
106
|
+
- [core] Upgrade eslint-config-airbnb-typescript (#34642) @Janpot
|
|
107
|
+
- [core] Ensure that prettier CI step fails when code is badly formatted (#35170) @michaldudak
|
|
108
|
+
|
|
109
|
+
All contributors of this release in alphabetical order: @alexfauquette, @danilo-leal, @iamxukai, @Janpot, @MBilalShafi, @michaldudak, @oliviertassinari, @samuelsycamore, @siriwatknp
|
|
110
|
+
|
|
3
111
|
## v5.10.14
|
|
4
112
|
|
|
5
113
|
<!-- generated comparing v5.10.13..master -->
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -8,7 +8,7 @@ declare type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate
|
|
|
8
8
|
declare const CalendarPicker: CalendarPickerComponent;
|
|
9
9
|
export default CalendarPicker;
|
|
10
10
|
export declare const calendarPickerClasses: {};
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
11
|
+
export type CalendarPickerClassKey = any;
|
|
12
|
+
export type CalendarPickerClasses = any;
|
|
13
|
+
export type CalendarPickerProps<TDate> = Record<any, any>;
|
|
14
|
+
export type CalendarPickerView = 'year' | 'day' | 'month';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -9,5 +9,5 @@ declare const CalendarPickerSkeleton: CalendarPickerSkeletonComponent;
|
|
|
9
9
|
export default CalendarPickerSkeleton;
|
|
10
10
|
export declare const calendarPickerSkeletonClasses: {};
|
|
11
11
|
export declare const getCalendarPickerSkeletonUtilityClass: (slot: string) => string;
|
|
12
|
-
export
|
|
13
|
-
export
|
|
12
|
+
export type CalendarPickerSkeletonProps = Record<any, any>;
|
|
13
|
+
export type CalendarPickerSkeletonClassKey = any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -8,7 +8,7 @@ declare type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & Re
|
|
|
8
8
|
declare const ClockPicker: ClockPickerComponent;
|
|
9
9
|
export default ClockPicker;
|
|
10
10
|
export declare const clockPickerClasses: {};
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
11
|
+
export type ClockPickerProps<TDate> = Record<any, any>;
|
|
12
|
+
export type ClockPickerView = 'hours' | 'minutes' | 'seconds';
|
|
13
|
+
export type ClockPickerClasses = any;
|
|
14
|
+
export type ClockPickerClassKey = any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & Reac
|
|
|
7
7
|
*/
|
|
8
8
|
declare const DatePicker: DatePickerComponent;
|
|
9
9
|
export default DatePicker;
|
|
10
|
-
export
|
|
10
|
+
export type DatePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type DateRangePickerComponent = (<TDate>(props: DateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,5 +7,5 @@ declare type DateRangePickerComponent = (<TDate>(props: DateRangePickerProps & R
|
|
|
7
7
|
*/
|
|
8
8
|
declare const DateRangePicker: DateRangePickerComponent;
|
|
9
9
|
export default DateRangePicker;
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type DateRangePickerProps = Record<any, any>;
|
|
11
|
+
export type DateRange<TDate> = [TDate | null, TDate | null];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type DateRangePickerDayComponent = (<TDate>(props: DateRangePickerDayProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -8,6 +8,6 @@ declare type DateRangePickerDayComponent = (<TDate>(props: DateRangePickerDayPro
|
|
|
8
8
|
declare const DateRangePickerDay: DateRangePickerDayComponent;
|
|
9
9
|
export default DateRangePickerDay;
|
|
10
10
|
export declare const getDateRangePickerDayUtilityClass: (slot: string) => string;
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
11
|
+
export type DateRangePickerDayProps = Record<any, any>;
|
|
12
|
+
export type DateRangePickerDayClasses = any;
|
|
13
|
+
export type DateRangePickerDayClassKey = any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type DateTimePickerComponent = (<TDate>(props: DateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type DateTimePickerComponent = (<TDate>(props: DateTimePickerProps<TDate
|
|
|
7
7
|
*/
|
|
8
8
|
declare const DateTimePicker: DateTimePickerComponent;
|
|
9
9
|
export default DateTimePicker;
|
|
10
|
-
export
|
|
10
|
+
export type DateTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type DesktopDatePickerComponent = (<TDate>(props: DesktopDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type DesktopDatePickerComponent = (<TDate>(props: DesktopDatePickerProps
|
|
|
7
7
|
*/
|
|
8
8
|
declare const DesktopDatePicker: DesktopDatePickerComponent;
|
|
9
9
|
export default DesktopDatePicker;
|
|
10
|
-
export
|
|
10
|
+
export type DesktopDatePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type DesktopDateRangePickerComponent = (<TDate>(props: DesktopDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type DesktopDateRangePickerComponent = (<TDate>(props: DesktopDateRangeP
|
|
|
7
7
|
*/
|
|
8
8
|
declare const DesktopDateRangePicker: DesktopDateRangePickerComponent;
|
|
9
9
|
export default DesktopDateRangePicker;
|
|
10
|
-
export
|
|
10
|
+
export type DesktopDateRangePickerProps = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type DesktopDateTimePickerComponent = (<TDate>(props: DesktopDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type DesktopDateTimePickerComponent = (<TDate>(props: DesktopDateTimePic
|
|
|
7
7
|
*/
|
|
8
8
|
declare const DesktopDateTimePicker: DesktopDateTimePickerComponent;
|
|
9
9
|
export default DesktopDateTimePicker;
|
|
10
|
-
export
|
|
10
|
+
export type DesktopDateTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type DesktopTimePickerComponent = (<TDate>(props: DesktopTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type DesktopTimePickerComponent = (<TDate>(props: DesktopTimePickerProps
|
|
|
7
7
|
*/
|
|
8
8
|
declare const DesktopTimePicker: DesktopTimePickerComponent;
|
|
9
9
|
export default DesktopTimePicker;
|
|
10
|
-
export
|
|
10
|
+
export type DesktopTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -16,7 +16,7 @@ export interface LoadingButtonClasses {
|
|
|
16
16
|
/** Styles applied to the startIcon element if `loading={true}` and `loadingPosition="start"`. */
|
|
17
17
|
startIconLoadingStart: string;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
19
|
+
export type LoadingButtonClassKey = keyof LoadingButtonClasses;
|
|
20
20
|
export declare function getLoadingButtonUtilityClass(slot: string): string;
|
|
21
21
|
declare const loadingButtonClasses: LoadingButtonClasses;
|
|
22
22
|
export default loadingButtonClasses;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type LocalizationProviderComponent = ((props: LocalizationProviderProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type LocalizationProviderComponent = ((props: LocalizationProviderProps
|
|
|
7
7
|
*/
|
|
8
8
|
declare const LocalizationProvider: LocalizationProviderComponent;
|
|
9
9
|
export default LocalizationProvider;
|
|
10
|
-
export
|
|
10
|
+
export type LocalizationProviderProps = Record<any, any>;
|
|
@@ -2,7 +2,7 @@ export interface MasonryClasses {
|
|
|
2
2
|
/** Styles applied to the root element. */
|
|
3
3
|
root: string;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
5
|
+
export type MasonryClassKey = keyof MasonryClasses;
|
|
6
6
|
export declare function getMasonryUtilityClass(slot: string): string;
|
|
7
7
|
declare const masonryClasses: MasonryClasses;
|
|
8
8
|
export default masonryClasses;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type MobileDatePickerComponent = (<TDate>(props: MobileDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type MobileDatePickerComponent = (<TDate>(props: MobileDatePickerProps<T
|
|
|
7
7
|
*/
|
|
8
8
|
declare const MobileDatePicker: MobileDatePickerComponent;
|
|
9
9
|
export default MobileDatePicker;
|
|
10
|
-
export
|
|
10
|
+
export type MobileDatePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type MobileDateRangePickerComponent = (<TDate>(props: MobileDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type MobileDateRangePickerComponent = (<TDate>(props: MobileDateRangePic
|
|
|
7
7
|
*/
|
|
8
8
|
declare const MobileDateRangePicker: MobileDateRangePickerComponent;
|
|
9
9
|
export default MobileDateRangePicker;
|
|
10
|
-
export
|
|
10
|
+
export type MobileDateRangePickerProps = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type MobileDateTimePickerComponent = (<TDate>(props: MobileDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type MobileDateTimePickerComponent = (<TDate>(props: MobileDateTimePicke
|
|
|
7
7
|
*/
|
|
8
8
|
declare const MobileDateTimePicker: MobileDateTimePickerComponent;
|
|
9
9
|
export default MobileDateTimePicker;
|
|
10
|
-
export
|
|
10
|
+
export type MobileDateTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type MobileTimePickerComponent = (<TDate>(props: MobileTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type MobileTimePickerComponent = (<TDate>(props: MobileTimePickerProps<T
|
|
|
7
7
|
*/
|
|
8
8
|
declare const MobileTimePicker: MobileTimePickerComponent;
|
|
9
9
|
export default MobileTimePicker;
|
|
10
|
-
export
|
|
10
|
+
export type MobileTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type MonthPickerComponent = (<TDate>(props: MonthPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -9,5 +9,5 @@ declare const MonthPicker: MonthPickerComponent;
|
|
|
9
9
|
export default MonthPicker;
|
|
10
10
|
export declare const monthPickerClasses: {};
|
|
11
11
|
export declare const getMonthPickerUtilityClass: (slot: string) => string;
|
|
12
|
-
export
|
|
13
|
-
export
|
|
12
|
+
export type MonthPickerProps<TDate> = Record<any, any>;
|
|
13
|
+
export type MonthPickerClassKey = any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type PickersDayComponent = (<TDate>(props: PickersDayProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -9,5 +9,5 @@ declare const PickersDay: PickersDayComponent;
|
|
|
9
9
|
export default PickersDay;
|
|
10
10
|
export declare const pickersDayClasses: {};
|
|
11
11
|
export declare const getPickersDayUtilityClass: (slot: string) => string;
|
|
12
|
-
export
|
|
13
|
-
export
|
|
12
|
+
export type PickersDayProps<TDate> = Record<any, any>;
|
|
13
|
+
export type PickersDayClassKey = any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type StaticDatePickerComponent = (<TDate>(props: StaticDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type StaticDatePickerComponent = (<TDate>(props: StaticDatePickerProps<T
|
|
|
7
7
|
*/
|
|
8
8
|
declare const StaticDatePicker: StaticDatePickerComponent;
|
|
9
9
|
export default StaticDatePicker;
|
|
10
|
-
export
|
|
10
|
+
export type StaticDatePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type StaticDateRangePickerComponent = (<TDate>(props: StaticDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type StaticDateRangePickerComponent = (<TDate>(props: StaticDateRangePic
|
|
|
7
7
|
*/
|
|
8
8
|
declare const StaticDateRangePicker: StaticDateRangePickerComponent;
|
|
9
9
|
export default StaticDateRangePicker;
|
|
10
|
-
export
|
|
10
|
+
export type StaticDateRangePickerProps = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type StaticDateTimePickerComponent = (<TDate>(props: StaticDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type StaticDateTimePickerComponent = (<TDate>(props: StaticDateTimePicke
|
|
|
7
7
|
*/
|
|
8
8
|
declare const StaticDateTimePicker: StaticDateTimePickerComponent;
|
|
9
9
|
export default StaticDateTimePicker;
|
|
10
|
-
export
|
|
10
|
+
export type StaticDateTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type StaticTimePickerComponent = (<TDate>(props: StaticTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type StaticTimePickerComponent = (<TDate>(props: StaticTimePickerProps<T
|
|
|
7
7
|
*/
|
|
8
8
|
declare const StaticTimePicker: StaticTimePickerComponent;
|
|
9
9
|
export default StaticTimePicker;
|
|
10
|
-
export
|
|
10
|
+
export type StaticTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -2,7 +2,7 @@ export interface TabPanelClasses {
|
|
|
2
2
|
/** Styles applied to the root element. */
|
|
3
3
|
root: string;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
5
|
+
export type TabPanelClassKey = keyof TabPanelClasses;
|
|
6
6
|
export declare function getTabPanelUtilityClass(slot: string): string;
|
|
7
7
|
declare const tabPanelClasses: TabPanelClasses;
|
|
8
8
|
export default tabPanelClasses;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type TimePickerComponent = (<TDate>(props: TimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -7,4 +7,4 @@ declare type TimePickerComponent = (<TDate>(props: TimePickerProps<TDate> & Reac
|
|
|
7
7
|
*/
|
|
8
8
|
declare const TimePicker: TimePickerComponent;
|
|
9
9
|
export default TimePicker;
|
|
10
|
-
export
|
|
10
|
+
export type TimePickerProps<TDate> = Record<any, any>;
|
package/Timeline/Timeline.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
3
|
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
4
4
|
import { Theme } from '@mui/material/styles';
|
|
5
|
-
export
|
|
5
|
+
export type TimelineClassKey = keyof NonNullable<TimelineProps['classes']>;
|
|
6
6
|
export interface TimelineProps extends StandardProps<React.HTMLAttributes<HTMLUListElement>> {
|
|
7
7
|
/**
|
|
8
8
|
* The position where the TimelineContent should appear relative to the time axis.
|
|
@@ -45,7 +45,7 @@ export interface TimelineProps extends StandardProps<React.HTMLAttributes<HTMLUL
|
|
|
45
45
|
*
|
|
46
46
|
* - [Timeline API](https://mui.com/material-ui/api/timeline/)
|
|
47
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>>;
|
|
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" | "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
49
|
/**
|
|
50
50
|
*
|
|
51
51
|
* Demos:
|
package/Timeline/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default } from './Timeline';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type TimelineClassKey = import('./Timeline').TimelineClassKey;
|
|
3
|
+
export type TimelineProps = import('./Timeline').TimelineProps;
|
|
4
4
|
export { default as timelineClasses } from './timelineClasses';
|
|
5
5
|
export * from './timelineClasses';
|
|
@@ -2,7 +2,7 @@ export interface TimelineConnectorClasses {
|
|
|
2
2
|
/** Styles applied to the root element. */
|
|
3
3
|
root: string;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
5
|
+
export type TimelineConnectorClassKey = keyof TimelineConnectorClasses;
|
|
6
6
|
export declare function getTimelineConnectorUtilityClass(slot: string): string;
|
|
7
7
|
declare const timelineConnectorClasses: TimelineConnectorClasses;
|
|
8
8
|
export default timelineConnectorClasses;
|
|
@@ -8,7 +8,7 @@ export interface TimelineContentClasses {
|
|
|
8
8
|
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
9
|
positionAlternate: string;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type TimelineContentClassKey = keyof TimelineContentClasses;
|
|
12
12
|
export declare function getTimelineContentUtilityClass(slot: string): string;
|
|
13
13
|
declare const timelineContentClasses: TimelineContentClasses;
|
|
14
14
|
export default timelineContentClasses;
|
|
@@ -18,7 +18,7 @@ export interface TimelineDotClasses {
|
|
|
18
18
|
/** Styles applied to the root element if `color="secondary"` and `variant="outlined"`. */
|
|
19
19
|
outlinedSecondary: string;
|
|
20
20
|
}
|
|
21
|
-
export
|
|
21
|
+
export type TimelineDotClassKey = keyof TimelineDotClasses;
|
|
22
22
|
export declare function getTimelineDotUtilityClass(slot: string): string;
|
|
23
23
|
declare const timelineDotClasses: TimelineDotClasses;
|
|
24
24
|
export default timelineDotClasses;
|
|
@@ -10,7 +10,7 @@ export interface TimelineItemClasses {
|
|
|
10
10
|
/** Styles applied to the root element if TimelineOppositeContent isn't provided. */
|
|
11
11
|
missingOppositeContent: string;
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export type TimelineItemClassKey = keyof TimelineItemClasses;
|
|
14
14
|
export declare function getTimelineItemUtilityClass(slot: string): string;
|
|
15
15
|
declare const timelineItemClasses: TimelineItemClasses;
|
|
16
16
|
export default timelineItemClasses;
|
|
@@ -8,7 +8,7 @@ export interface TimelineOppositeContentClasses {
|
|
|
8
8
|
/** Styles applied to the root element if `position="alternate"`. */
|
|
9
9
|
positionAlternate: string;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type TimelineOppositeContentClassKey = keyof TimelineOppositeContentClasses;
|
|
12
12
|
export declare function getTimelineOppositeContentUtilityClass(slot: string): string;
|
|
13
13
|
declare const timelineOppositeContentClasses: TimelineOppositeContentClasses;
|
|
14
14
|
export default timelineOppositeContentClasses;
|
|
@@ -2,7 +2,7 @@ export interface TimelineSeparatorClasses {
|
|
|
2
2
|
/** Styles applied to the root element. */
|
|
3
3
|
root: string;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
5
|
+
export type TimelineSeparatorClassKey = keyof TimelineSeparatorClasses;
|
|
6
6
|
export declare function getTimelineSeparatorUtilityClass(slot: string): string;
|
|
7
7
|
declare const timelineSeparatorClasses: TimelineSeparatorClasses;
|
|
8
8
|
export default timelineSeparatorClasses;
|
|
@@ -18,7 +18,7 @@ export interface TreeItemClasses {
|
|
|
18
18
|
/** Styles applied to the label element. */
|
|
19
19
|
label: string;
|
|
20
20
|
}
|
|
21
|
-
export
|
|
21
|
+
export type TreeItemClassKey = keyof TreeItemClasses;
|
|
22
22
|
export declare function getTreeItemUtilityClass(slot: string): string;
|
|
23
23
|
declare const treeItemClasses: TreeItemClasses;
|
|
24
24
|
export default treeItemClasses;
|
package/TreeView/TreeView.js
CHANGED
|
@@ -678,8 +678,8 @@ const TreeView = /*#__PURE__*/React.forwardRef(function TreeView(inProps, ref) {
|
|
|
678
678
|
};
|
|
679
679
|
const activeDescendant = nodeMap.current[focusedNodeId] ? nodeMap.current[focusedNodeId].idAttribute : null;
|
|
680
680
|
return /*#__PURE__*/_jsx(TreeViewContext.Provider, {
|
|
681
|
-
// TODO: fix lint error
|
|
682
|
-
|
|
681
|
+
// TODO: fix this lint error
|
|
682
|
+
// eslint-disable-next-line react/jsx-no-constructed-context-values
|
|
683
683
|
value: {
|
|
684
684
|
icons: {
|
|
685
685
|
defaultCollapseIcon,
|
|
@@ -2,7 +2,7 @@ export interface TreeViewClasses {
|
|
|
2
2
|
/** Styles applied to the root element. */
|
|
3
3
|
root: string;
|
|
4
4
|
}
|
|
5
|
-
export
|
|
5
|
+
export type TreeViewClassKey = keyof TreeViewClasses;
|
|
6
6
|
export declare function getTreeViewUtilityClass(slot: string): string;
|
|
7
7
|
declare const treeViewClasses: TreeViewClasses;
|
|
8
8
|
export default treeViewClasses;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
2
|
+
type YearPickerComponent = (<TDate>(props: YearPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -9,6 +9,6 @@ declare const YearPicker: YearPickerComponent;
|
|
|
9
9
|
export default YearPicker;
|
|
10
10
|
export declare const yearPickerClasses: {};
|
|
11
11
|
export declare const getYearPickerUtilityClass: (slot: string) => string;
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
12
|
+
export type YearPickerClasses = any;
|
|
13
|
+
export type YearPickerClassKey = any;
|
|
14
|
+
export type YearPickerProps<TDate> = Record<any, any>;
|
package/index.js
CHANGED
|
@@ -732,8 +732,8 @@ var TreeView = /*#__PURE__*/React.forwardRef(function TreeView(inProps, ref) {
|
|
|
732
732
|
};
|
|
733
733
|
var activeDescendant = nodeMap.current[focusedNodeId] ? nodeMap.current[focusedNodeId].idAttribute : null;
|
|
734
734
|
return /*#__PURE__*/_jsx(TreeViewContext.Provider, {
|
|
735
|
-
// TODO: fix lint error
|
|
736
|
-
|
|
735
|
+
// TODO: fix this lint error
|
|
736
|
+
// eslint-disable-next-line react/jsx-no-constructed-context-values
|
|
737
737
|
value: {
|
|
738
738
|
icons: {
|
|
739
739
|
defaultCollapseIcon: defaultCollapseIcon,
|
package/legacy/index.js
CHANGED
|
@@ -678,8 +678,8 @@ const TreeView = /*#__PURE__*/React.forwardRef(function TreeView(inProps, ref) {
|
|
|
678
678
|
};
|
|
679
679
|
const activeDescendant = nodeMap.current[focusedNodeId] ? nodeMap.current[focusedNodeId].idAttribute : null;
|
|
680
680
|
return /*#__PURE__*/_jsx(TreeViewContext.Provider, {
|
|
681
|
-
// TODO: fix lint error
|
|
682
|
-
|
|
681
|
+
// TODO: fix this lint error
|
|
682
|
+
// eslint-disable-next-line react/jsx-no-constructed-context-values
|
|
683
683
|
value: {
|
|
684
684
|
icons: {
|
|
685
685
|
defaultCollapseIcon,
|
package/modern/index.js
CHANGED
|
@@ -687,8 +687,8 @@ const TreeView = /*#__PURE__*/React.forwardRef(function TreeView(inProps, ref) {
|
|
|
687
687
|
};
|
|
688
688
|
const activeDescendant = nodeMap.current[focusedNodeId] ? nodeMap.current[focusedNodeId].idAttribute : null;
|
|
689
689
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TreeViewContext.default.Provider, {
|
|
690
|
-
// TODO: fix lint error
|
|
691
|
-
|
|
690
|
+
// TODO: fix this lint error
|
|
691
|
+
// eslint-disable-next-line react/jsx-no-constructed-context-values
|
|
692
692
|
value: {
|
|
693
693
|
icons: {
|
|
694
694
|
defaultCollapseIcon,
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/lab",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.110",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Laboratory for new MUI modules.",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@babel/runtime": "^7.20.1",
|
|
51
|
-
"@mui/base": "5.0.0-alpha.
|
|
52
|
-
"@mui/system": "^5.10.
|
|
53
|
-
"@mui/types": "^7.2.
|
|
54
|
-
"@mui/utils": "^5.10.
|
|
51
|
+
"@mui/base": "5.0.0-alpha.108",
|
|
52
|
+
"@mui/system": "^5.10.16",
|
|
53
|
+
"@mui/types": "^7.2.2",
|
|
54
|
+
"@mui/utils": "^5.10.16",
|
|
55
55
|
"clsx": "^1.2.1",
|
|
56
56
|
"prop-types": "^15.8.1",
|
|
57
57
|
"react-is": "^18.2.0"
|