@mui/lab 6.0.0-alpha.8 → 6.0.0-dev.20240529-082515-213b5e33ab

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 (38) hide show
  1. package/CalendarPicker/CalendarPicker.d.ts +1 -1
  2. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +1 -1
  3. package/ClockPicker/ClockPicker.d.ts +1 -1
  4. package/DatePicker/DatePicker.d.ts +1 -1
  5. package/DateRangePicker/DateRangePicker.d.ts +1 -1
  6. package/DateRangePickerDay/DateRangePickerDay.d.ts +1 -1
  7. package/DateTimePicker/DateTimePicker.d.ts +1 -1
  8. package/DesktopDatePicker/DesktopDatePicker.d.ts +1 -1
  9. package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +1 -1
  10. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +1 -1
  11. package/DesktopTimePicker/DesktopTimePicker.d.ts +1 -1
  12. package/LocalizationProvider/LocalizationProvider.d.ts +1 -1
  13. package/MobileDatePicker/MobileDatePicker.d.ts +1 -1
  14. package/MobileDateRangePicker/MobileDateRangePicker.d.ts +1 -1
  15. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +1 -1
  16. package/MobileTimePicker/MobileTimePicker.d.ts +1 -1
  17. package/MonthPicker/MonthPicker.d.ts +1 -1
  18. package/PickersDay/PickersDay.d.ts +1 -1
  19. package/StaticDatePicker/StaticDatePicker.d.ts +1 -1
  20. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +1 -1
  21. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +1 -1
  22. package/StaticTimePicker/StaticTimePicker.d.ts +1 -1
  23. package/TabContext/TabContext.d.ts +1 -1
  24. package/TabPanel/TabPanel.d.ts +1 -1
  25. package/TimePicker/TimePicker.d.ts +1 -1
  26. package/TimelineConnector/TimelineConnector.d.ts +1 -1
  27. package/TimelineContent/TimelineContent.d.ts +1 -1
  28. package/TimelineDot/TimelineDot.d.ts +1 -1
  29. package/TimelineItem/TimelineItem.d.ts +1 -1
  30. package/TimelineOppositeContent/TimelineOppositeContent.d.ts +3 -1
  31. package/TimelineSeparator/TimelineSeparator.d.ts +1 -1
  32. package/TreeItem/TreeItem.d.ts +1 -1
  33. package/TreeView/TreeView.d.ts +1 -1
  34. package/YearPicker/YearPicker.d.ts +1 -1
  35. package/index.js +1 -1
  36. package/modern/index.js +1 -1
  37. package/node/index.js +1 -1
  38. package/package.json +7 -7
@@ -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
  /**
@@ -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;
@@ -39,4 +39,4 @@ export interface TabPanelProps extends StandardProps<React.HTMLAttributes<HTMLDi
39
39
  *
40
40
  * - [TabPanel API](https://mui.com/material-ui/api/tab-panel/)
41
41
  */
42
- export default function TabPanel(props: TabPanelProps): JSX.Element;
42
+ 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
  /**
@@ -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 v6.0.0-alpha.8
2
+ * @mui/lab v6.0.0-dev.20240529-082515-213b5e33ab
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v6.0.0-alpha.8
2
+ * @mui/lab v6.0.0-dev.20240529-082515-213b5e33ab
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v6.0.0-alpha.8
2
+ * @mui/lab v6.0.0-dev.20240529-082515-213b5e33ab
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": "6.0.0-alpha.8",
3
+ "version": "6.0.0-dev.20240529-082515-213b5e33ab",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Laboratory for new MUI modules.",
@@ -28,13 +28,13 @@
28
28
  "url": "https://opencollective.com/mui-org"
29
29
  },
30
30
  "dependencies": {
31
- "@babel/runtime": "^7.24.5",
31
+ "@babel/runtime": "^7.24.6",
32
32
  "clsx": "^2.1.1",
33
33
  "prop-types": "^15.8.1",
34
- "@mui/base": "5.0.0-beta.46",
35
- "@mui/system": "^6.0.0-alpha.8",
36
- "@mui/utils": "^6.0.0-alpha.8",
37
- "@mui/types": "^7.2.14"
34
+ "@mui/base": "5.0.0-dev.20240529-082515-213b5e33ab",
35
+ "@mui/types": "^7.2.14-dev.20240529-082515-213b5e33ab",
36
+ "@mui/utils": "^6.0.0-dev.20240529-082515-213b5e33ab",
37
+ "@mui/system": "^6.0.0-dev.20240529-082515-213b5e33ab"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "@emotion/react": "^11.5.0",
@@ -42,7 +42,7 @@
42
42
  "@types/react": "^17.0.0 || ^18.0.0",
43
43
  "react": "^17.0.0 || ^18.0.0",
44
44
  "react-dom": "^17.0.0 || ^18.0.0",
45
- "@mui/material": "^6.0.0-alpha.8"
45
+ "@mui/material": "^6.0.0-dev.20240529-082515-213b5e33ab"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "@types/react": {