@mui/lab 5.0.0-alpha.173 → 5.0.0-alpha.175
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 +143 -0
- package/CalendarPicker/CalendarPicker.d.ts +1 -1
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +1 -1
- package/ClockPicker/ClockPicker.d.ts +1 -1
- package/DatePicker/DatePicker.d.ts +1 -1
- package/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/DateRangePickerDay/DateRangePickerDay.d.ts +1 -1
- package/DateTimePicker/DateTimePicker.d.ts +1 -1
- package/DesktopDatePicker/DesktopDatePicker.d.ts +1 -1
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +1 -1
- package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +1 -1
- package/DesktopTimePicker/DesktopTimePicker.d.ts +1 -1
- package/LocalizationProvider/LocalizationProvider.d.ts +1 -1
- package/MobileDatePicker/MobileDatePicker.d.ts +1 -1
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +1 -1
- package/MobileDateTimePicker/MobileDateTimePicker.d.ts +1 -1
- package/MobileTimePicker/MobileTimePicker.d.ts +1 -1
- package/MonthPicker/MonthPicker.d.ts +1 -1
- package/PickersDay/PickersDay.d.ts +1 -1
- package/README.md +1 -1
- package/StaticDatePicker/StaticDatePicker.d.ts +1 -1
- package/StaticDateRangePicker/StaticDateRangePicker.d.ts +1 -1
- package/StaticDateTimePicker/StaticDateTimePicker.d.ts +1 -1
- package/StaticTimePicker/StaticTimePicker.d.ts +1 -1
- package/TabContext/TabContext.d.ts +1 -1
- package/TabPanel/TabPanel.d.ts +1 -1
- package/TimePicker/TimePicker.d.ts +1 -1
- package/Timeline/Timeline.js +1 -3
- package/Timeline/Timeline.types.d.ts +1 -2
- package/TimelineConnector/TimelineConnector.d.ts +1 -1
- package/TimelineContent/TimelineContent.d.ts +1 -1
- package/TimelineDot/TimelineDot.d.ts +1 -1
- package/TimelineItem/TimelineItem.d.ts +1 -1
- package/TimelineOppositeContent/TimelineOppositeContent.d.ts +3 -1
- package/TimelineSeparator/TimelineSeparator.d.ts +1 -1
- package/TreeItem/TreeItem.d.ts +1 -1
- package/TreeView/TreeView.d.ts +2 -2
- package/YearPicker/YearPicker.d.ts +1 -1
- package/index.js +1 -1
- package/legacy/Timeline/Timeline.js +1 -3
- package/legacy/index.js +1 -1
- package/modern/Timeline/Timeline.js +1 -3
- package/modern/index.js +1 -1
- package/node/Timeline/Timeline.js +1 -3
- package/node/index.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,148 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## v5.16.12
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.16.11..v5.x -->
|
|
6
|
+
|
|
7
|
+
_Dec 16, 2024_
|
|
8
|
+
|
|
9
|
+
Material UI v5 is now compatible with React 19 (#44720) @DiegoAndai
|
|
10
|
+
|
|
11
|
+
### Core
|
|
12
|
+
|
|
13
|
+
- Bump react 19 in v5 (#44720) @DiegoAndai
|
|
14
|
+
- Add `latest-v5` tag to v5 releases (#44757) @DiegoAndai
|
|
15
|
+
|
|
16
|
+
All contributors of this release in alphabetical order: @DiegoAndai
|
|
17
|
+
|
|
18
|
+
## 5.16.11
|
|
19
|
+
|
|
20
|
+
<!-- generated comparing v5.16.9..v5.x -->
|
|
21
|
+
|
|
22
|
+
_Dec 11, 2024_
|
|
23
|
+
|
|
24
|
+
A big thanks to the contributor who made this release possible.
|
|
25
|
+
|
|
26
|
+
### Core
|
|
27
|
+
|
|
28
|
+
- Bump pnpm to 9.14.4 in v5 (#44705) @DiegoAndai
|
|
29
|
+
- Fix UMD examples (#44706) @DiegoAndai
|
|
30
|
+
- [typescript] Rescue missing backports v5 (#44712) @DiegoAndai
|
|
31
|
+
|
|
32
|
+
All contributors of this release in alphabetical order: @DiegoAndai
|
|
33
|
+
|
|
34
|
+
## 5.16.9
|
|
35
|
+
|
|
36
|
+
<!-- generated comparing v5.16.8..v5.x -->
|
|
37
|
+
|
|
38
|
+
_Dec 3, 2024_
|
|
39
|
+
|
|
40
|
+
A big thanks to the 2 contributors who made this release possible.
|
|
41
|
+
|
|
42
|
+
### `@mui/material@5.16.9`
|
|
43
|
+
|
|
44
|
+
- [Tabs] Cherry pick `ScrollbarSize` ref being overridden fix (#44595) @DiegoAndai
|
|
45
|
+
|
|
46
|
+
### Core
|
|
47
|
+
|
|
48
|
+
- Ignore browserslist and remove tag latest (#44589) @siriwatknp
|
|
49
|
+
|
|
50
|
+
All contributors of this release in alphabetical order: @DiegoAndai, @siriwatknp
|
|
51
|
+
|
|
52
|
+
## 5.16.8
|
|
53
|
+
|
|
54
|
+
<!-- generated comparing v5.16.7..v5.x -->
|
|
55
|
+
|
|
56
|
+
_Nov 26, 2024_
|
|
57
|
+
|
|
58
|
+
A big thanks to the 8 contributors who made this release possible.
|
|
59
|
+
|
|
60
|
+
### `@mui/material@5.16.8`
|
|
61
|
+
|
|
62
|
+
- Cherry pick ref accessing PRs (#44543) @DiegoAndai
|
|
63
|
+
|
|
64
|
+
### `@mui/utils@5.16.8`
|
|
65
|
+
|
|
66
|
+
- Skip deep clone React element (v5.x) (#44494) @jukkatupamaki
|
|
67
|
+
|
|
68
|
+
### Docs
|
|
69
|
+
|
|
70
|
+
- Keep sponsors up to date @oliviertassinari
|
|
71
|
+
- Fix MUI Treasury Layout broken links (#43753) @oliviertassinari
|
|
72
|
+
- Strengthen CSP rule @oliviertassinari
|
|
73
|
+
- Give up on restoring search @oliviertassinari
|
|
74
|
+
- Normalize next major message @oliviertassinari
|
|
75
|
+
- Fix versions URL @oliviertassinari
|
|
76
|
+
- Fix use of absolute URLs (#43567) @oliviertassinari
|
|
77
|
+
- Restore search on v5 (#43566) @oliviertassinari
|
|
78
|
+
- Fix link from v5 to v6 (#43585) @alexfauquette
|
|
79
|
+
- Updated mui-x roadmap links with the new project URL (@michelengelen) (#43446) @michelengelen
|
|
80
|
+
- Fix broken link to Next.js docs @oliviertassinari
|
|
81
|
+
|
|
82
|
+
### Core
|
|
83
|
+
|
|
84
|
+
- [blog] Polish Upcoming changes to MUI X pricing in 2024 (#43438) @oliviertassinari
|
|
85
|
+
- [blog] Add video to the Pigment CSS blog post (#42500) @oliviertassinari
|
|
86
|
+
- [blog] Announcing pricing changes Sep 2024 (#43272) @cherniavskii
|
|
87
|
+
- Prepare for moving to v5.x branch (#43447) @siriwatknp
|
|
88
|
+
- [core] Cherry pick #42346 to v5 (#44475) @DiegoAndai
|
|
89
|
+
- [core] Fix CI on v5.x branch (#44487) @DiegoAndai
|
|
90
|
+
- [core] Fix CI on v5.x branch (#43564) @oliviertassinari
|
|
91
|
+
- [examples] Fix v5 clone example instructions (#43755) @oliviertassinari
|
|
92
|
+
- [examples] Fix CLI download instructions @oliviertassinari
|
|
93
|
+
- [examples] Fix CDN live preview example @oliviertassinari
|
|
94
|
+
- [examples] Fix more examples to work with v5 @oliviertassinari
|
|
95
|
+
- [examples] Freeze examples dependency range (#43435) @oliviertassinari
|
|
96
|
+
|
|
97
|
+
All contributors of this release in alphabetical order: @alexfauquette, @cherniavskii, @DiegoAndai, @jukkatupamaki, @michelengelen, @oliviertassinari, @rluzists1, @siriwatknp
|
|
98
|
+
|
|
99
|
+
## 5.16.7
|
|
100
|
+
|
|
101
|
+
<!-- generated comparing v5.16.6..master -->
|
|
102
|
+
|
|
103
|
+
_Aug 9, 2024_
|
|
104
|
+
|
|
105
|
+
A big thanks to the 3 contributors who made this release possible.
|
|
106
|
+
|
|
107
|
+
### `@mui/material@5.16.7`
|
|
108
|
+
|
|
109
|
+
- ​<!-- 3 -->[material-ui][mui-system] Add support for version runtime checks (#43233) @DiegoAndai
|
|
110
|
+
|
|
111
|
+
### Docs
|
|
112
|
+
|
|
113
|
+
- ​<!-- 4 -->[docs] Fix 301 @oliviertassinari
|
|
114
|
+
|
|
115
|
+
### Core
|
|
116
|
+
|
|
117
|
+
- ​<!-- 2 -->[website] Fix wrong link in pricing table (@zanivan) (#43143) @zanivan
|
|
118
|
+
- ​<!-- 1 -->[website] Add blog link to pricing table (@zanivan) (#43140) @zanivan
|
|
119
|
+
|
|
120
|
+
All contributors of this release in alphabetical order: @DiegoAndai, @oliviertassinari, @zanivan
|
|
121
|
+
|
|
122
|
+
## 5.16.6
|
|
123
|
+
|
|
124
|
+
<!-- generated comparing v5.16.5..master -->
|
|
125
|
+
|
|
126
|
+
_Jul 30, 2024_
|
|
127
|
+
|
|
128
|
+
A big thanks to the 5 contributors who made this release possible.
|
|
129
|
+
|
|
130
|
+
### `@mui/material@5.16.6`
|
|
131
|
+
|
|
132
|
+
- [Divider] Enable borderStyle enhancement in divider with children (#43059) @anuujj
|
|
133
|
+
|
|
134
|
+
### Docs
|
|
135
|
+
|
|
136
|
+
- [material-ui][Card] Update CardMedia description (#43121) @shahzaibdev1
|
|
137
|
+
- [material-ui] Replace deprecated `<ListItem button/>` with `ListItemButton` component in routing libraries list example (#43114) @aliharis99
|
|
138
|
+
- [material-ui][Snackbar] Improve close `reason` type in demos (#43105) @sai6855
|
|
139
|
+
|
|
140
|
+
### Core
|
|
141
|
+
|
|
142
|
+
- [code-infra] Use the same CI names on master & next (#43064) @mnajdova
|
|
143
|
+
|
|
144
|
+
All contributors of this release in alphabetical order: @aliharis99, @anuujj, @mnajdova, @sai6855, @shahzaibdev1
|
|
145
|
+
|
|
3
146
|
## 5.16.5
|
|
4
147
|
|
|
5
148
|
<!-- generated comparing v5.16.4..master -->
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type DateRangePickerComponent = (<TDate>(props: DateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type DateRangePickerComponent = (<TDate>(props: DateRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type DateRangePickerDayComponent = (<TDate>(props: DateRangePickerDayProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type DateRangePickerDayComponent = (<TDate>(props: DateRangePickerDayProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type DateTimePickerComponent = (<TDate>(props: DateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type DateTimePickerComponent = (<TDate>(props: DateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type DesktopDatePickerComponent = (<TDate>(props: DesktopDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type DesktopDatePickerComponent = (<TDate>(props: DesktopDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type DesktopDateRangePickerComponent = (<TDate>(props: DesktopDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type DesktopDateRangePickerComponent = (<TDate>(props: DesktopDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type DesktopDateTimePickerComponent = (<TDate>(props: DesktopDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type DesktopDateTimePickerComponent = (<TDate>(props: DesktopDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type DesktopTimePickerComponent = (<TDate>(props: DesktopTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type DesktopTimePickerComponent = (<TDate>(props: DesktopTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type LocalizationProviderComponent = ((props: LocalizationProviderProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type LocalizationProviderComponent = ((props: LocalizationProviderProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type MobileDatePickerComponent = (<TDate>(props: MobileDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type MobileDatePickerComponent = (<TDate>(props: MobileDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type MobileDateRangePickerComponent = (<TDate>(props: MobileDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type MobileDateRangePickerComponent = (<TDate>(props: MobileDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type MobileDateTimePickerComponent = (<TDate>(props: MobileDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type MobileDateTimePickerComponent = (<TDate>(props: MobileDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type MobileTimePickerComponent = (<TDate>(props: MobileTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type MobileTimePickerComponent = (<TDate>(props: MobileTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type MonthPickerComponent = (<TDate>(props: MonthPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type MonthPickerComponent = (<TDate>(props: MonthPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type PickersDayComponent = (<TDate>(props: PickersDayProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type PickersDayComponent = (<TDate>(props: PickersDayProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
package/README.md
CHANGED
|
@@ -25,4 +25,4 @@ npm install @mui/material @emotion/react @emotion/styled
|
|
|
25
25
|
|
|
26
26
|
<!-- #default-branch-switch -->
|
|
27
27
|
|
|
28
|
-
Visit [https://mui.com/material-ui/about-the-lab/](https://mui.com/material-ui/about-the-lab/) to view the full documentation.
|
|
28
|
+
Visit [https://v5.mui.com/material-ui/about-the-lab/](https://v5.mui.com/material-ui/about-the-lab/) to view the full documentation.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type StaticDatePickerComponent = (<TDate>(props: StaticDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type StaticDatePickerComponent = (<TDate>(props: StaticDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type StaticDateRangePickerComponent = (<TDate>(props: StaticDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type StaticDateRangePickerComponent = (<TDate>(props: StaticDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type StaticDateTimePickerComponent = (<TDate>(props: StaticDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type StaticDateTimePickerComponent = (<TDate>(props: StaticDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type StaticTimePickerComponent = (<TDate>(props: StaticTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type StaticTimePickerComponent = (<TDate>(props: StaticTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
@@ -25,7 +25,7 @@ export interface TabContextProps {
|
|
|
25
25
|
*
|
|
26
26
|
* - [TabContext API](https://mui.com/material-ui/api/tab-context/)
|
|
27
27
|
*/
|
|
28
|
-
export default function TabContext(props: TabContextProps): JSX.Element;
|
|
28
|
+
export default function TabContext(props: TabContextProps): React.JSX.Element;
|
|
29
29
|
export function useTabContext(): TabContextValue | null;
|
|
30
30
|
export function getPanelId(context: TabContextValue, tabValue: string): string;
|
|
31
31
|
export function getTabId(context: TabContextValue, tabValue: string): string;
|
package/TabPanel/TabPanel.d.ts
CHANGED
|
@@ -34,4 +34,4 @@ export interface TabPanelProps extends StandardProps<React.HTMLAttributes<HTMLDi
|
|
|
34
34
|
*
|
|
35
35
|
* - [TabPanel API](https://mui.com/material-ui/api/tab-panel/)
|
|
36
36
|
*/
|
|
37
|
-
export default function TabPanel(props: TabPanelProps): JSX.Element;
|
|
37
|
+
export default function TabPanel(props: TabPanelProps): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type TimePickerComponent = (<TDate>(props: TimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type TimePickerComponent = (<TDate>(props: TimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
package/Timeline/Timeline.js
CHANGED
|
@@ -69,9 +69,7 @@ const Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
|
|
|
69
69
|
value: contextValue,
|
|
70
70
|
children: /*#__PURE__*/_jsx(TimelineRoot, _extends({
|
|
71
71
|
className: clsx(classes.root, className),
|
|
72
|
-
ownerState: ownerState
|
|
73
|
-
// @ts-expect-error TypeScript bug, need to keep unknown for DX
|
|
74
|
-
,
|
|
72
|
+
ownerState: ownerState,
|
|
75
73
|
ref: ref
|
|
76
74
|
}, other))
|
|
77
75
|
});
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { InternalStandardProps as StandardProps } from '@mui/material';
|
|
3
2
|
import { Theme } from '@mui/material/styles';
|
|
4
3
|
import { SxProps } from '@mui/system';
|
|
5
4
|
import { TimelineClasses } from './timelineClasses';
|
|
6
|
-
export interface TimelineProps extends StandardProps<React.
|
|
5
|
+
export interface TimelineProps extends StandardProps<React.ComponentProps<'ul'>> {
|
|
7
6
|
/**
|
|
8
7
|
* The position where the TimelineContent should appear relative to the time axis.
|
|
9
8
|
* @default 'right'
|
|
@@ -30,4 +30,4 @@ export interface TimelineConnectorProps
|
|
|
30
30
|
*
|
|
31
31
|
* - [TimelineConnector API](https://mui.com/material-ui/api/timeline-connector/)
|
|
32
32
|
*/
|
|
33
|
-
export default function TimelineConnector(props: TimelineConnectorProps): JSX.Element;
|
|
33
|
+
export default function TimelineConnector(props: TimelineConnectorProps): React.JSX.Element;
|
|
@@ -30,4 +30,4 @@ export interface TimelineContentProps extends StandardProps<TypographyProps> {
|
|
|
30
30
|
* - [TimelineContent API](https://mui.com/material-ui/api/timeline-content/)
|
|
31
31
|
* - inherits [Typography API](https://mui.com/material-ui/api/typography/)
|
|
32
32
|
*/
|
|
33
|
-
export default function TimelineContent(props: TimelineContentProps): JSX.Element;
|
|
33
|
+
export default function TimelineContent(props: TimelineContentProps): React.JSX.Element;
|
|
@@ -47,4 +47,4 @@ export interface TimelineDotProps extends StandardProps<React.HTMLAttributes<HTM
|
|
|
47
47
|
*
|
|
48
48
|
* - [TimelineDot API](https://mui.com/material-ui/api/timeline-dot/)
|
|
49
49
|
*/
|
|
50
|
-
export default function TimelineDot(props: TimelineDotProps): JSX.Element;
|
|
50
|
+
export default function TimelineDot(props: TimelineDotProps): React.JSX.Element;
|
|
@@ -33,4 +33,4 @@ export interface TimelineItemProps extends StandardProps<React.HTMLAttributes<HT
|
|
|
33
33
|
*
|
|
34
34
|
* - [TimelineItem API](https://mui.com/material-ui/api/timeline-item/)
|
|
35
35
|
*/
|
|
36
|
-
export default function TimelineItem(props: TimelineItemProps): JSX.Element;
|
|
36
|
+
export default function TimelineItem(props: TimelineItemProps): React.JSX.Element;
|
|
@@ -30,7 +30,9 @@ export interface TimelineOppositeContentProps extends StandardProps<TypographyPr
|
|
|
30
30
|
* - [TimelineOppositeContent API](https://mui.com/material-ui/api/timeline-opposite-content/)
|
|
31
31
|
* - inherits [Typography API](https://mui.com/material-ui/api/typography/)
|
|
32
32
|
*/
|
|
33
|
-
declare const TimelineOppositeContent: ((
|
|
33
|
+
declare const TimelineOppositeContent: ((
|
|
34
|
+
props: TimelineOppositeContentProps,
|
|
35
|
+
) => React.JSX.Element) & {
|
|
34
36
|
muiName: string;
|
|
35
37
|
};
|
|
36
38
|
|
|
@@ -30,4 +30,4 @@ export interface TimelineSeparatorProps
|
|
|
30
30
|
*
|
|
31
31
|
* - [TimelineSeparator API](https://mui.com/material-ui/api/timeline-separator/)
|
|
32
32
|
*/
|
|
33
|
-
export default function TimelineSeparator(props: TimelineSeparatorProps): JSX.Element;
|
|
33
|
+
export default function TimelineSeparator(props: TimelineSeparatorProps): React.JSX.Element;
|
package/TreeItem/TreeItem.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type TreeItemComponent = ((props: TreeItemProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type TreeItemComponent = ((props: TreeItemProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
package/TreeView/TreeView.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type TreeViewComponent<Multiple extends boolean | undefined = undefined> = ((props: TreeViewProps<Multiple> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type TreeViewComponent<Multiple extends boolean | undefined = undefined> = ((props: TreeViewProps<Multiple> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
|
|
7
7
|
* @ignore - do not document.
|
|
8
8
|
*/
|
|
9
|
-
declare const TreeView: TreeViewComponent
|
|
9
|
+
declare const TreeView: TreeViewComponent;
|
|
10
10
|
export default TreeView;
|
|
11
11
|
export type TreeViewProps<Multiple> = Record<any, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
type YearPickerComponent = (<TDate>(props: YearPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
2
|
+
type YearPickerComponent = (<TDate>(props: YearPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
3
|
propTypes?: any;
|
|
4
4
|
};
|
|
5
5
|
/**
|
package/index.js
CHANGED
|
@@ -65,9 +65,7 @@ var Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
|
|
|
65
65
|
value: contextValue,
|
|
66
66
|
children: /*#__PURE__*/_jsx(TimelineRoot, _extends({
|
|
67
67
|
className: clsx(classes.root, className),
|
|
68
|
-
ownerState: ownerState
|
|
69
|
-
// @ts-expect-error TypeScript bug, need to keep unknown for DX
|
|
70
|
-
,
|
|
68
|
+
ownerState: ownerState,
|
|
71
69
|
ref: ref
|
|
72
70
|
}, other))
|
|
73
71
|
});
|
package/legacy/index.js
CHANGED
|
@@ -69,9 +69,7 @@ const Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
|
|
|
69
69
|
value: contextValue,
|
|
70
70
|
children: /*#__PURE__*/_jsx(TimelineRoot, _extends({
|
|
71
71
|
className: clsx(classes.root, className),
|
|
72
|
-
ownerState: ownerState
|
|
73
|
-
// @ts-expect-error TypeScript bug, need to keep unknown for DX
|
|
74
|
-
,
|
|
72
|
+
ownerState: ownerState,
|
|
75
73
|
ref: ref
|
|
76
74
|
}, other))
|
|
77
75
|
});
|
package/modern/index.js
CHANGED
|
@@ -77,9 +77,7 @@ const Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
|
|
|
77
77
|
value: contextValue,
|
|
78
78
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(TimelineRoot, (0, _extends2.default)({
|
|
79
79
|
className: (0, _clsx.default)(classes.root, className),
|
|
80
|
-
ownerState: ownerState
|
|
81
|
-
// @ts-expect-error TypeScript bug, need to keep unknown for DX
|
|
82
|
-
,
|
|
80
|
+
ownerState: ownerState,
|
|
83
81
|
ref: ref
|
|
84
82
|
}, other))
|
|
85
83
|
});
|
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.175",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Laboratory for new MUI modules.",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"bugs": {
|
|
23
23
|
"url": "https://github.com/mui/material-ui/issues"
|
|
24
24
|
},
|
|
25
|
-
"homepage": "https://mui.com/material-ui/about-the-lab/",
|
|
25
|
+
"homepage": "https://v5.mui.com/material-ui/about-the-lab/",
|
|
26
26
|
"funding": {
|
|
27
27
|
"type": "opencollective",
|
|
28
28
|
"url": "https://opencollective.com/mui-org"
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
"@babel/runtime": "^7.23.9",
|
|
32
32
|
"clsx": "^2.1.0",
|
|
33
33
|
"prop-types": "^15.8.1",
|
|
34
|
+
"@mui/base": "5.0.0-beta.40-0",
|
|
35
|
+
"@mui/system": "^5.16.12",
|
|
34
36
|
"@mui/types": "^7.2.15",
|
|
35
|
-
"@mui/
|
|
36
|
-
"@mui/utils": "^5.16.5",
|
|
37
|
-
"@mui/base": "5.0.0-beta.40"
|
|
37
|
+
"@mui/utils": "^5.16.12"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@emotion/react": "^11.5.0",
|
|
41
41
|
"@emotion/styled": "^11.3.0",
|
|
42
42
|
"@mui/material": ">=5.15.0",
|
|
43
|
-
"@types/react": "^17.0.0 || ^18.0.0",
|
|
44
|
-
"react": "^17.0.0 || ^18.0.0",
|
|
45
|
-
"react-dom": "^17.0.0 || ^18.0.0"
|
|
43
|
+
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
44
|
+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
45
|
+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
48
48
|
"@types/react": {
|