@mui/lab 5.0.0-alpha.76 → 5.0.0-alpha.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/AdapterDateFns/index.d.ts +1 -1
  2. package/AdapterDayjs/index.d.ts +1 -1
  3. package/AdapterLuxon/index.d.ts +1 -1
  4. package/AdapterMoment/index.d.ts +1 -1
  5. package/CHANGELOG.md +75 -30
  6. package/CalendarPicker/index.d.ts +2 -2
  7. package/CalendarPickerSkeleton/index.d.ts +2 -2
  8. package/ClockPicker/index.d.ts +2 -2
  9. package/DatePicker/index.d.ts +2 -2
  10. package/DateRangePicker/DateRangePicker.d.ts +11 -11
  11. package/DateRangePicker/index.d.ts +2 -2
  12. package/DateRangePickerDay/DateRangePickerDay.d.ts +13 -13
  13. package/DateRangePickerDay/index.d.ts +2 -2
  14. package/DateTimePicker/index.d.ts +2 -2
  15. package/DesktopDatePicker/index.d.ts +2 -2
  16. package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +10 -10
  17. package/DesktopDateRangePicker/index.d.ts +2 -2
  18. package/DesktopDateTimePicker/index.d.ts +2 -2
  19. package/DesktopTimePicker/index.d.ts +2 -2
  20. package/LoadingButton/LoadingButton.d.ts +3 -3
  21. package/LoadingButton/loadingButtonClasses.d.ts +22 -22
  22. package/LocalizationProvider/index.d.ts +2 -2
  23. package/Masonry/Masonry.d.ts +2 -2
  24. package/Masonry/masonryClasses.d.ts +8 -8
  25. package/MobileDatePicker/index.d.ts +2 -2
  26. package/MobileDateRangePicker/MobileDateRangePicker.d.ts +10 -10
  27. package/MobileDateRangePicker/index.d.ts +2 -2
  28. package/MobileDateTimePicker/index.d.ts +2 -2
  29. package/MobileTimePicker/index.d.ts +2 -2
  30. package/MonthPicker/index.d.ts +2 -2
  31. package/PickersDay/index.d.ts +2 -2
  32. package/StaticDatePicker/index.d.ts +2 -2
  33. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +10 -10
  34. package/StaticDateRangePicker/index.d.ts +2 -2
  35. package/StaticDateTimePicker/index.d.ts +2 -2
  36. package/StaticTimePicker/index.d.ts +2 -2
  37. package/TabContext/TabContext.d.ts +2 -2
  38. package/TabList/TabList.d.ts +3 -3
  39. package/TabPanel/TabPanel.d.ts +2 -2
  40. package/TabPanel/tabPanelClasses.d.ts +8 -8
  41. package/TimePicker/index.d.ts +2 -2
  42. package/Timeline/Timeline.d.ts +59 -59
  43. package/Timeline/Timeline.js +2 -2
  44. package/Timeline/TimelineContext.d.ts +6 -6
  45. package/Timeline/index.d.ts +5 -5
  46. package/Timeline/timelineClasses.d.ts +3 -3
  47. package/TimelineConnector/TimelineConnector.d.ts +2 -2
  48. package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
  49. package/TimelineContent/TimelineContent.d.ts +3 -3
  50. package/TimelineContent/timelineContentClasses.d.ts +14 -14
  51. package/TimelineDot/TimelineDot.d.ts +2 -2
  52. package/TimelineDot/timelineDotClasses.d.ts +24 -24
  53. package/TimelineItem/TimelineItem.d.ts +2 -2
  54. package/TimelineItem/timelineItemClasses.d.ts +16 -16
  55. package/TimelineOppositeContent/TimelineOppositeContent.d.ts +3 -3
  56. package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
  57. package/TimelineSeparator/TimelineSeparator.d.ts +2 -2
  58. package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
  59. package/TreeItem/TreeItem.d.ts +3 -3
  60. package/TreeItem/TreeItem.js +1 -1
  61. package/TreeItem/treeItemClasses.d.ts +24 -24
  62. package/TreeView/TreeView.d.ts +2 -2
  63. package/TreeView/treeViewClasses.d.ts +8 -8
  64. package/YearPicker/index.d.ts +2 -2
  65. package/index.js +1 -1
  66. package/internal/svg-icons/ArrowDropDown.d.ts +7 -7
  67. package/internal/svg-icons/ArrowLeft.d.ts +7 -7
  68. package/internal/svg-icons/ArrowRight.d.ts +7 -7
  69. package/internal/svg-icons/Calendar.d.ts +7 -7
  70. package/internal/svg-icons/Clock.d.ts +7 -7
  71. package/internal/svg-icons/DateRange.d.ts +7 -7
  72. package/internal/svg-icons/Pen.d.ts +7 -7
  73. package/internal/svg-icons/Time.d.ts +7 -7
  74. package/legacy/Timeline/Timeline.js +2 -2
  75. package/legacy/TreeItem/TreeItem.js +1 -1
  76. package/legacy/index.js +1 -1
  77. package/modern/Timeline/Timeline.js +2 -2
  78. package/modern/TreeItem/TreeItem.js +1 -1
  79. package/modern/index.js +1 -1
  80. package/node/Timeline/Timeline.js +2 -2
  81. package/node/TreeItem/TreeItem.js +1 -1
  82. package/node/index.js +1 -1
  83. package/package.json +6 -6
@@ -1,24 +1,24 @@
1
- export interface TreeItemClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the transition component. */
5
- group: string;
6
- /** Styles applied to the content element. */
7
- content: string;
8
- /** State class applied to the content element when expanded. */
9
- expanded: string;
10
- /** State class applied to the content element when selected. */
11
- selected: string;
12
- /** State class applied to the content element when focused. */
13
- focused: string;
14
- /** State class applied to the element when disabled. */
15
- disabled: string;
16
- /** Styles applied to the tree node icon. */
17
- iconContainer: string;
18
- /** Styles applied to the label element. */
19
- label: string;
20
- }
21
- export declare type TreeItemClassKey = keyof TreeItemClasses;
22
- export declare function getTreeItemUtilityClass(slot: string): string;
23
- declare const treeItemClasses: TreeItemClasses;
24
- export default treeItemClasses;
1
+ export interface TreeItemClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the transition component. */
5
+ group: string;
6
+ /** Styles applied to the content element. */
7
+ content: string;
8
+ /** State class applied to the content element when expanded. */
9
+ expanded: string;
10
+ /** State class applied to the content element when selected. */
11
+ selected: string;
12
+ /** State class applied to the content element when focused. */
13
+ focused: string;
14
+ /** State class applied to the element when disabled. */
15
+ disabled: string;
16
+ /** Styles applied to the tree node icon. */
17
+ iconContainer: string;
18
+ /** Styles applied to the label element. */
19
+ label: string;
20
+ }
21
+ export declare type TreeItemClassKey = keyof TreeItemClasses;
22
+ export declare function getTreeItemUtilityClass(slot: string): string;
23
+ declare const treeItemClasses: TreeItemClasses;
24
+ export default treeItemClasses;
@@ -135,10 +135,10 @@ export type TreeViewProps = SingleSelectTreeViewProps | MultiSelectTreeViewProps
135
135
  *
136
136
  * Demos:
137
137
  *
138
- * - [Tree View](https://mui.com/components/tree-view/)
138
+ * - [Tree View](https://mui.com/material-ui/react-tree-view/)
139
139
  *
140
140
  * API:
141
141
  *
142
- * - [TreeView API](https://mui.com/api/tree-view/)
142
+ * - [TreeView API](https://mui.com/material-ui/api/tree-view/)
143
143
  */
144
144
  export default function TreeView(props: TreeViewProps): JSX.Element;
@@ -1,8 +1,8 @@
1
- export interface TreeViewClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type TreeViewClassKey = keyof TreeViewClasses;
6
- export declare function getTreeViewUtilityClass(slot: string): string;
7
- declare const treeViewClasses: TreeViewClasses;
8
- export default treeViewClasses;
1
+ export interface TreeViewClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type TreeViewClassKey = keyof TreeViewClasses;
6
+ export declare function getTreeViewUtilityClass(slot: string): string;
7
+ declare const treeViewClasses: TreeViewClasses;
8
+ export default treeViewClasses;
@@ -1,2 +1,2 @@
1
- export { YearPicker as default, yearPickerClasses, getYearPickerUtilityClass, } from '@mui/x-date-pickers/YearPicker';
2
- export type { YearPickerProps, YearPickerClasses, YearPickerClassKey, } from '@mui/x-date-pickers/YearPicker';
1
+ export { YearPicker as default, yearPickerClasses, getYearPickerUtilityClass, } from '@mui/x-date-pickers/YearPicker';
2
+ export type { YearPickerProps, YearPickerClasses, YearPickerClassKey, } from '@mui/x-date-pickers/YearPicker';
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.0-alpha.76
1
+ /** @license MUI v5.0.0-alpha.77
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -1,7 +1,7 @@
1
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
- muiName: string;
3
- };
4
- /**
5
- * @ignore - internal component.
6
- */
7
- export default _default;
1
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
2
+ muiName: string;
3
+ };
4
+ /**
5
+ * @ignore - internal component.
6
+ */
7
+ export default _default;
@@ -36,11 +36,11 @@ var TimelineRoot = styled('ul', {
36
36
  *
37
37
  * Demos:
38
38
  *
39
- * - [Timeline](https://mui.com/components/timeline/)
39
+ * - [Timeline](https://mui.com/material-ui/react-timeline/)
40
40
  *
41
41
  * API:
42
42
  *
43
- * - [Timeline API](https://mui.com/api/timeline/)
43
+ * - [Timeline API](https://mui.com/material-ui/api/timeline/)
44
44
  */
45
45
 
46
46
  var Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
@@ -411,7 +411,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes
411
411
 
412
412
  /**
413
413
  * The component used for the transition.
414
- * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
414
+ * [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
415
415
  * @default Collapse
416
416
  */
417
417
  TransitionComponent: PropTypes.elementType,
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.0-alpha.76
1
+ /** @license MUI v5.0.0-alpha.77
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -41,11 +41,11 @@ const TimelineRoot = styled('ul', {
41
41
  *
42
42
  * Demos:
43
43
  *
44
- * - [Timeline](https://mui.com/components/timeline/)
44
+ * - [Timeline](https://mui.com/material-ui/react-timeline/)
45
45
  *
46
46
  * API:
47
47
  *
48
- * - [Timeline API](https://mui.com/api/timeline/)
48
+ * - [Timeline API](https://mui.com/material-ui/api/timeline/)
49
49
  */
50
50
 
51
51
  const Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
@@ -409,7 +409,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes
409
409
 
410
410
  /**
411
411
  * The component used for the transition.
412
- * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
412
+ * [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
413
413
  * @default Collapse
414
414
  */
415
415
  TransitionComponent: PropTypes.elementType,
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.0-alpha.76
1
+ /** @license MUI v5.0.0-alpha.77
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -65,11 +65,11 @@ const TimelineRoot = (0, _styles.styled)('ul', {
65
65
  *
66
66
  * Demos:
67
67
  *
68
- * - [Timeline](https://mui.com/components/timeline/)
68
+ * - [Timeline](https://mui.com/material-ui/react-timeline/)
69
69
  *
70
70
  * API:
71
71
  *
72
- * - [Timeline API](https://mui.com/api/timeline/)
72
+ * - [Timeline API](https://mui.com/material-ui/api/timeline/)
73
73
  */
74
74
 
75
75
  const Timeline = /*#__PURE__*/React.forwardRef(function Timeline(inProps, ref) {
@@ -432,7 +432,7 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes
432
432
 
433
433
  /**
434
434
  * The component used for the transition.
435
- * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
435
+ * [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
436
436
  * @default Collapse
437
437
  */
438
438
  TransitionComponent: _propTypes.default.elementType,
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.0-alpha.76
1
+ /** @license MUI v5.0.0-alpha.77
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/lab",
3
- "version": "5.0.0-alpha.76",
3
+ "version": "5.0.0-alpha.77",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Laboratory for new MUI modules.",
@@ -22,14 +22,14 @@
22
22
  "bugs": {
23
23
  "url": "https://github.com/mui/material-ui/issues"
24
24
  },
25
- "homepage": "https://mui.com/components/about-the-lab/",
25
+ "homepage": "https://mui.com/material-ui/about-the-lab/",
26
26
  "funding": {
27
27
  "type": "opencollective",
28
28
  "url": "https://opencollective.com/mui"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@mui/material": "^5.0.0",
32
- "@types/react": "^16.8.6 || ^17.0.0 || ^18.0.0",
32
+ "@types/react": "^17.0.0 || ^18.0.0",
33
33
  "date-fns": "^2.25.0",
34
34
  "dayjs": "^1.10.7",
35
35
  "luxon": "^1.28.0 || ^2.0.0",
@@ -56,9 +56,9 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@babel/runtime": "^7.17.2",
59
- "@mui/base": "5.0.0-alpha.75",
60
- "@mui/system": "^5.6.0",
61
- "@mui/utils": "^5.6.0",
59
+ "@mui/base": "5.0.0-alpha.76",
60
+ "@mui/system": "^5.6.1",
61
+ "@mui/utils": "^5.6.1",
62
62
  "@mui/x-date-pickers": "5.0.0-alpha.0",
63
63
  "clsx": "^1.1.1",
64
64
  "prop-types": "^15.7.2",