@mui/lab 5.0.0-alpha.173 → 5.0.0-alpha.174

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.
Files changed (46) hide show
  1. package/CHANGELOG.md +94 -0
  2. package/CalendarPicker/CalendarPicker.d.ts +1 -1
  3. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +1 -1
  4. package/ClockPicker/ClockPicker.d.ts +1 -1
  5. package/DatePicker/DatePicker.d.ts +1 -1
  6. package/DateRangePicker/DateRangePicker.d.ts +1 -1
  7. package/DateRangePickerDay/DateRangePickerDay.d.ts +1 -1
  8. package/DateTimePicker/DateTimePicker.d.ts +1 -1
  9. package/DesktopDatePicker/DesktopDatePicker.d.ts +1 -1
  10. package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +1 -1
  11. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +1 -1
  12. package/DesktopTimePicker/DesktopTimePicker.d.ts +1 -1
  13. package/LocalizationProvider/LocalizationProvider.d.ts +1 -1
  14. package/MobileDatePicker/MobileDatePicker.d.ts +1 -1
  15. package/MobileDateRangePicker/MobileDateRangePicker.d.ts +1 -1
  16. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +1 -1
  17. package/MobileTimePicker/MobileTimePicker.d.ts +1 -1
  18. package/MonthPicker/MonthPicker.d.ts +1 -1
  19. package/PickersDay/PickersDay.d.ts +1 -1
  20. package/README.md +1 -1
  21. package/StaticDatePicker/StaticDatePicker.d.ts +1 -1
  22. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +1 -1
  23. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +1 -1
  24. package/StaticTimePicker/StaticTimePicker.d.ts +1 -1
  25. package/TabContext/TabContext.d.ts +1 -1
  26. package/TabPanel/TabPanel.d.ts +1 -1
  27. package/TimePicker/TimePicker.d.ts +1 -1
  28. package/Timeline/Timeline.js +1 -3
  29. package/Timeline/Timeline.types.d.ts +1 -1
  30. package/TimelineConnector/TimelineConnector.d.ts +1 -1
  31. package/TimelineContent/TimelineContent.d.ts +1 -1
  32. package/TimelineDot/TimelineDot.d.ts +1 -1
  33. package/TimelineItem/TimelineItem.d.ts +1 -1
  34. package/TimelineOppositeContent/TimelineOppositeContent.d.ts +3 -1
  35. package/TimelineSeparator/TimelineSeparator.d.ts +1 -1
  36. package/TreeItem/TreeItem.d.ts +1 -1
  37. package/TreeView/TreeView.d.ts +1 -1
  38. package/YearPicker/YearPicker.d.ts +1 -1
  39. package/index.js +1 -1
  40. package/legacy/Timeline/Timeline.js +1 -3
  41. package/legacy/index.js +1 -1
  42. package/modern/Timeline/Timeline.js +1 -3
  43. package/modern/index.js +1 -1
  44. package/node/Timeline/Timeline.js +1 -3
  45. package/node/index.js +1 -1
  46. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,99 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.16.8
4
+
5
+ <!-- generated comparing v5.16.7..v5.x -->
6
+
7
+ _Nov 26, 2024_
8
+
9
+ A big thanks to the 8 contributors who made this release possible.
10
+
11
+ ### `@mui/material@5.16.8`
12
+
13
+ - Cherry pick ref accessing PRs (#44543) @DiegoAndai
14
+
15
+ ### `@mui/utils@5.16.8`
16
+
17
+ - Skip deep clone React element (v5.x) (#44494) @jukkatupamaki
18
+
19
+ ### Docs
20
+
21
+ - Keep sponsors up to date @oliviertassinari
22
+ - Fix MUI Treasury Layout broken links (#43753) @oliviertassinari
23
+ - Strengthen CSP rule @oliviertassinari
24
+ - Give up on restoring search @oliviertassinari
25
+ - Normalize next major message @oliviertassinari
26
+ - Fix versions URL @oliviertassinari
27
+ - Fix use of absolute URLs (#43567) @oliviertassinari
28
+ - Restore search on v5 (#43566) @oliviertassinari
29
+ - Fix link from v5 to v6 (#43585) @alexfauquette
30
+ - Updated mui-x roadmap links with the new project URL (@michelengelen) (#43446) @michelengelen
31
+ - Fix broken link to Next.js docs @oliviertassinari
32
+
33
+ ### Core
34
+
35
+ - [blog] Polish Upcoming changes to MUI X pricing in 2024 (#43438) @oliviertassinari
36
+ - [blog] Add video to the Pigment CSS blog post (#42500) @oliviertassinari
37
+ - [blog] Announcing pricing changes Sep 2024 (#43272) @cherniavskii
38
+ - Prepare for moving to v5.x branch (#43447) @siriwatknp
39
+ - [core] Cherry pick #42346 to v5 (#44475) @DiegoAndai
40
+ - [core] Fix CI on v5.x branch (#44487) @DiegoAndai
41
+ - [core] Fix CI on v5.x branch (#43564) @oliviertassinari
42
+ - [examples] Fix v5 clone example instructions (#43755) @oliviertassinari
43
+ - [examples] Fix CLI download instructions @oliviertassinari
44
+ - [examples] Fix CDN live preview example @oliviertassinari
45
+ - [examples] Fix more examples to work with v5 @oliviertassinari
46
+ - [examples] Freeze examples dependency range (#43435) @oliviertassinari
47
+
48
+ All contributors of this release in alphabetical order: @alexfauquette, @cherniavskii, @DiegoAndai, @jukkatupamaki, @michelengelen, @oliviertassinari, @rluzists1, @siriwatknp
49
+
50
+ ## 5.16.7
51
+
52
+ <!-- generated comparing v5.16.6..master -->
53
+
54
+ _Aug 9, 2024_
55
+
56
+ A big thanks to the 3 contributors who made this release possible.
57
+
58
+ ### `@mui/material@5.16.7`
59
+
60
+ - &#8203;<!-- 3 -->[material-ui][mui-system] Add support for version runtime checks (#43233) @DiegoAndai
61
+
62
+ ### Docs
63
+
64
+ - &#8203;<!-- 4 -->[docs] Fix 301 @oliviertassinari
65
+
66
+ ### Core
67
+
68
+ - &#8203;<!-- 2 -->[website] Fix wrong link in pricing table (@zanivan) (#43143) @zanivan
69
+ - &#8203;<!-- 1 -->[website] Add blog link to pricing table (@zanivan) (#43140) @zanivan
70
+
71
+ All contributors of this release in alphabetical order: @DiegoAndai, @oliviertassinari, @zanivan
72
+
73
+ ## 5.16.6
74
+
75
+ <!-- generated comparing v5.16.5..master -->
76
+
77
+ _Jul 30, 2024_
78
+
79
+ A big thanks to the 5 contributors who made this release possible.
80
+
81
+ ### `@mui/material@5.16.6`
82
+
83
+ - [Divider] Enable borderStyle enhancement in divider with children (#43059) @anuujj
84
+
85
+ ### Docs
86
+
87
+ - [material-ui][Card] Update CardMedia description (#43121) @shahzaibdev1
88
+ - [material-ui] Replace deprecated `<ListItem button/>` with `ListItemButton` component in routing libraries list example (#43114) @aliharis99
89
+ - [material-ui][Snackbar] Improve close `reason` type in demos (#43105) @sai6855
90
+
91
+ ### Core
92
+
93
+ - [code-infra] Use the same CI names on master & next (#43064) @mnajdova
94
+
95
+ All contributors of this release in alphabetical order: @aliharis99, @anuujj, @mnajdova, @sai6855, @shahzaibdev1
96
+
3
97
  ## 5.16.5
4
98
 
5
99
  <!-- 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;
@@ -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
  /**
@@ -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
  });
@@ -3,7 +3,7 @@ import { InternalStandardProps as StandardProps } from '@mui/material';
3
3
  import { Theme } from '@mui/material/styles';
4
4
  import { SxProps } from '@mui/system';
5
5
  import { TimelineClasses } from './timelineClasses';
6
- export interface TimelineProps extends StandardProps<React.HTMLAttributes<HTMLUListElement>> {
6
+ export interface TimelineProps extends StandardProps<React.ComponentProps<'ul'>> {
7
7
  /**
8
8
  * The position where the TimelineContent should appear relative to the time axis.
9
9
  * @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: ((props: TimelineOppositeContentProps) => JSX.Element) & {
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;
@@ -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
  /**
@@ -1,5 +1,5 @@
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
  /**
@@ -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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.173
2
+ * @mui/lab v5.0.0-alpha.174
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.173
2
+ * @mui/lab v5.0.0-alpha.174
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.173
2
+ * @mui/lab v5.0.0-alpha.174
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -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
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v5.0.0-alpha.173
2
+ * @mui/lab v5.0.0-alpha.174
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/lab",
3
- "version": "5.0.0-alpha.173",
3
+ "version": "5.0.0-alpha.174",
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/system": "^5.16.8",
35
+ "@mui/base": "5.0.0-beta.40",
34
36
  "@mui/types": "^7.2.15",
35
- "@mui/system": "^5.16.5",
36
- "@mui/utils": "^5.16.5",
37
- "@mui/base": "5.0.0-beta.40"
37
+ "@mui/utils": "^5.16.8"
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": {