@mui/lab 7.0.0-beta.10 → 7.0.0-beta.11

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 (116) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/esm/index.js +1 -1
  3. package/index.js +1 -1
  4. package/package.json +7 -15
  5. package/modern/AdapterDateFns/AdapterDateFns.js +0 -16
  6. package/modern/AdapterDateFns/index.js +0 -1
  7. package/modern/AdapterDayjs/AdapterDayjs.js +0 -16
  8. package/modern/AdapterDayjs/index.js +0 -1
  9. package/modern/AdapterLuxon/AdapterLuxon.js +0 -16
  10. package/modern/AdapterLuxon/index.js +0 -1
  11. package/modern/AdapterMoment/AdapterMoment.js +0 -16
  12. package/modern/AdapterMoment/index.js +0 -1
  13. package/modern/CalendarPicker/CalendarPicker.js +0 -21
  14. package/modern/CalendarPicker/index.js +0 -2
  15. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +0 -25
  16. package/modern/CalendarPickerSkeleton/index.js +0 -2
  17. package/modern/ClockPicker/ClockPicker.js +0 -21
  18. package/modern/ClockPicker/index.js +0 -2
  19. package/modern/DatePicker/DatePicker.js +0 -19
  20. package/modern/DatePicker/index.js +0 -2
  21. package/modern/DateRangePicker/DateRangePicker.js +0 -18
  22. package/modern/DateRangePicker/index.js +0 -2
  23. package/modern/DateRangePickerDay/DateRangePickerDay.js +0 -22
  24. package/modern/DateRangePickerDay/index.js +0 -2
  25. package/modern/DateTimePicker/DateTimePicker.js +0 -20
  26. package/modern/DateTimePicker/index.js +0 -2
  27. package/modern/DesktopDatePicker/DesktopDatePicker.js +0 -20
  28. package/modern/DesktopDatePicker/index.js +0 -2
  29. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -18
  30. package/modern/DesktopDateRangePicker/index.js +0 -2
  31. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +0 -20
  32. package/modern/DesktopDateTimePicker/index.js +0 -2
  33. package/modern/DesktopTimePicker/DesktopTimePicker.js +0 -20
  34. package/modern/DesktopTimePicker/index.js +0 -2
  35. package/modern/LoadingButton/LoadingButton.js +0 -23
  36. package/modern/LoadingButton/index.js +0 -1
  37. package/modern/LocalizationProvider/LocalizationProvider.js +0 -19
  38. package/modern/LocalizationProvider/index.js +0 -2
  39. package/modern/Masonry/Masonry.js +0 -338
  40. package/modern/Masonry/index.js +0 -3
  41. package/modern/Masonry/masonryClasses.js +0 -7
  42. package/modern/MobileDatePicker/MobileDatePicker.js +0 -20
  43. package/modern/MobileDatePicker/index.js +0 -2
  44. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +0 -18
  45. package/modern/MobileDateRangePicker/index.js +0 -2
  46. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +0 -20
  47. package/modern/MobileDateTimePicker/index.js +0 -2
  48. package/modern/MobileTimePicker/MobileTimePicker.js +0 -20
  49. package/modern/MobileTimePicker/index.js +0 -2
  50. package/modern/MonthPicker/MonthPicker.js +0 -25
  51. package/modern/MonthPicker/index.js +0 -2
  52. package/modern/PickersDay/PickersDay.js +0 -25
  53. package/modern/PickersDay/index.js +0 -2
  54. package/modern/StaticDatePicker/StaticDatePicker.js +0 -20
  55. package/modern/StaticDatePicker/index.js +0 -2
  56. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +0 -18
  57. package/modern/StaticDateRangePicker/index.js +0 -2
  58. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +0 -20
  59. package/modern/StaticDateTimePicker/index.js +0 -2
  60. package/modern/StaticTimePicker/StaticTimePicker.js +0 -20
  61. package/modern/StaticTimePicker/index.js +0 -2
  62. package/modern/TabContext/TabContext.js +0 -76
  63. package/modern/TabContext/index.js +0 -2
  64. package/modern/TabList/TabList.js +0 -44
  65. package/modern/TabList/index.js +0 -1
  66. package/modern/TabPanel/TabPanel.js +0 -96
  67. package/modern/TabPanel/index.js +0 -3
  68. package/modern/TabPanel/tabPanelClasses.js +0 -7
  69. package/modern/TimePicker/TimePicker.js +0 -20
  70. package/modern/TimePicker/index.js +0 -2
  71. package/modern/Timeline/Timeline.js +0 -114
  72. package/modern/Timeline/Timeline.types.js +0 -1
  73. package/modern/Timeline/TimelineContext.js +0 -12
  74. package/modern/Timeline/index.js +0 -4
  75. package/modern/Timeline/timelineClasses.js +0 -7
  76. package/modern/TimelineConnector/TimelineConnector.js +0 -72
  77. package/modern/TimelineConnector/index.js +0 -3
  78. package/modern/TimelineConnector/timelineConnectorClasses.js +0 -7
  79. package/modern/TimelineContent/TimelineContent.js +0 -89
  80. package/modern/TimelineContent/index.js +0 -3
  81. package/modern/TimelineContent/timelineContentClasses.js +0 -7
  82. package/modern/TimelineDot/TimelineDot.js +0 -123
  83. package/modern/TimelineDot/index.js +0 -3
  84. package/modern/TimelineDot/timelineDotClasses.js +0 -7
  85. package/modern/TimelineItem/TimelineItem.js +0 -128
  86. package/modern/TimelineItem/index.js +0 -3
  87. package/modern/TimelineItem/timelineItemClasses.js +0 -7
  88. package/modern/TimelineOppositeContent/TimelineOppositeContent.js +0 -91
  89. package/modern/TimelineOppositeContent/index.js +0 -3
  90. package/modern/TimelineOppositeContent/timelineOppositeContentClasses.js +0 -7
  91. package/modern/TimelineSeparator/TimelineSeparator.js +0 -69
  92. package/modern/TimelineSeparator/index.js +0 -3
  93. package/modern/TimelineSeparator/timelineSeparatorClasses.js +0 -7
  94. package/modern/TreeItem/TreeItem.js +0 -19
  95. package/modern/TreeItem/index.js +0 -2
  96. package/modern/TreeView/TreeView.js +0 -20
  97. package/modern/TreeView/index.js +0 -2
  98. package/modern/YearPicker/YearPicker.js +0 -24
  99. package/modern/YearPicker/index.js +0 -2
  100. package/modern/index.js +0 -88
  101. package/modern/internal/convertTimelinePositionToClass.js +0 -4
  102. package/modern/internal/svg-icons/ArrowDropDown.js +0 -12
  103. package/modern/internal/svg-icons/ArrowLeft.js +0 -12
  104. package/modern/internal/svg-icons/ArrowRight.js +0 -12
  105. package/modern/internal/svg-icons/Calendar.js +0 -12
  106. package/modern/internal/svg-icons/Clock.js +0 -16
  107. package/modern/internal/svg-icons/DateRange.js +0 -12
  108. package/modern/internal/svg-icons/Pen.js +0 -12
  109. package/modern/internal/svg-icons/Time.js +0 -16
  110. package/modern/package.json +0 -1
  111. package/modern/themeAugmentation/components.js +0 -2
  112. package/modern/themeAugmentation/index.js +0 -1
  113. package/modern/themeAugmentation/overrides.js +0 -4
  114. package/modern/themeAugmentation/props.js +0 -2
  115. package/modern/useAutocomplete/index.js +0 -1
  116. package/modern/zero-styled/index.js +0 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,65 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 7.0.2
4
+
5
+ _Apr 9, 2025_
6
+
7
+ A big thanks to the 12 contributors who made this release possible.
8
+
9
+ ### `@mui/material@7.0.2`
10
+
11
+ - [Autocomplete] Add ability to render custom single value (#45387) @ZeeshanTamboli
12
+ - [Autocomplete] Prevent shrink animation in controlled Autocomplete when initial `value` is provided (#45734) @imadx
13
+ - [AvatarGroup] Fix `spacing` prop ignoring value `0` (#45799) @Kartik-Murthy
14
+ - [Dialog] Deprecate composed classes (#45418) @sai6855
15
+
16
+ ### `@mui/material-nextjs@7.0.2`
17
+
18
+ - Fix nonce issues (#45794) @Janpot
19
+ - Add warnings to nextjs router integration (#45778) @Janpot
20
+
21
+ ### `@mui/styled-engine@7.0.2`
22
+
23
+ - Added caching to `StyledEngineProvider` to improve performance for running tests with Jest (#45846) @siriwatknp
24
+
25
+ ### Core
26
+
27
+ - [blog] Improve upvote video (0646444) @oliviertassinari
28
+ - [code-infra] Remove webpack aliases (#45841) @Janpot
29
+ - [code-infra] Remove .tsbuildinfo from build folder (#45727) @Janpot
30
+ - [code-infra] Stabilize theme viewer screenshot tests (#45768) @Janpot
31
+ - [code-infra] Remove modern bundles (#45808) @Janpot
32
+ - Update buildTypes script to optionally remove css imports (#45835) @brijeshb42
33
+ - Allow repo to be accepted as an argument for releaseTag (#45801) @brijeshb42
34
+ - Update scripts to support base-ui (#45784) @brijeshb42
35
+ - Sync scorecards.yml across codebase (4de5076) @oliviertassinari
36
+ - Remove baseUrl and skipLibCheck (#45806) @Janpot
37
+ - [docs-infra] Fix redirect styles pages (#45848) @siriwatknp
38
+ - [docs-infra] Remove false-positive Vale rules (#45843) @oliviertassinari
39
+ - [docs-infra] Make sure Next.js can find package.json through its aliases (#45840) @Janpot
40
+ - [docs-infra] Fix Next.js brand name coverage (6915f8d) @oliviertassinari
41
+ - [docs-infra] Fix layout shift between MIT and commercial pages (#45760) @oliviertassinari
42
+ - [docs-infra] Non breaking space for ESM (#45758) @oliviertassinari
43
+ - [support-infra] Remove dead 'workflow_call:' (#45736) @oliviertassinari
44
+ - [utils] Support cleanup callbacks in useForkRef (#45621) @DiegoAndai
45
+
46
+ ### Docs
47
+
48
+ - Fix pigment vite integration example (#44746) @brijeshb42
49
+ - Update migration instructions and codemod references for deprecated APIs (#45793) @sai6855
50
+ - Add TanStack Router routing example (#44930) @vetledv
51
+ - Fix layout shifting in icons page (#45779) @sai6855
52
+ - Fix migration instructions (#45762) @oliviertassinari
53
+ - Fix wrong TypeScript support version (#45761) @oliviertassinari
54
+ - Fix link to mui-joy/src/styles/components.d.ts (#45763) @oliviertassinari
55
+ - Fix 301 link (ae94c40) @oliviertassinari
56
+ - Fix 301 links (abd8f63) @oliviertassinari
57
+ - Fix 301 redirection (c7658de) @oliviertassinari
58
+ - [nextjs] Migrate from deprecated "legacyBehavior" prop (#44871) @oliviertassinari
59
+ - [nextjs] Document CSP for Next.js Pages Router (#45798) @Grohden
60
+
61
+ All contributors of this release in alphabetical order: @brijeshb42, @DiegoAndai, @Grohden, @imadx, @Janpot, @Kartik-Murthy, @oliviertassinari, @renovate[bot], @sai6855, @siriwatknp, @vetledv, @ZeeshanTamboli
62
+
3
63
  ## 7.0.1
4
64
 
5
65
  <!-- generated comparing v7.0.0..master -->
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v7.0.0-beta.10
2
+ * @mui/lab v7.0.0-beta.11
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v7.0.0-beta.10
2
+ * @mui/lab v7.0.0-beta.11
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": "7.0.0-beta.10",
3
+ "version": "7.0.0-beta.11",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Laboratory for new MUI modules.",
@@ -28,12 +28,12 @@
28
28
  "url": "https://opencollective.com/mui-org"
29
29
  },
30
30
  "dependencies": {
31
- "@babel/runtime": "^7.26.10",
31
+ "@babel/runtime": "^7.27.0",
32
32
  "clsx": "^2.1.1",
33
33
  "prop-types": "^15.8.1",
34
- "@mui/utils": "^7.0.1",
35
- "@mui/types": "^7.4.0",
36
- "@mui/system": "^7.0.1"
34
+ "@mui/types": "^7.4.1",
35
+ "@mui/utils": "^7.0.2",
36
+ "@mui/system": "^7.0.2"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@emotion/react": "^11.5.0",
@@ -41,8 +41,8 @@
41
41
  "@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
42
42
  "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
43
43
  "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
44
- "@mui/material": "^7.0.1",
45
- "@mui/material-pigment-css": "^7.0.1"
44
+ "@mui/material": "^7.0.2",
45
+ "@mui/material-pigment-css": "^7.0.2"
46
46
  },
47
47
  "peerDependenciesMeta": {
48
48
  "@types/react": {
@@ -77,10 +77,6 @@
77
77
  "import": {
78
78
  "types": "./esm/index.d.ts",
79
79
  "default": "./esm/index.js"
80
- },
81
- "mui-modern": {
82
- "types": "./modern/index.d.ts",
83
- "default": "./modern/index.js"
84
80
  }
85
81
  },
86
82
  "./*": {
@@ -91,10 +87,6 @@
91
87
  "import": {
92
88
  "types": "./esm/*/index.d.ts",
93
89
  "default": "./esm/*/index.js"
94
- },
95
- "mui-modern": {
96
- "types": "./modern/*/index.d.ts",
97
- "default": "./modern/*/index.js"
98
90
  }
99
91
  },
100
92
  "./esm": null,
@@ -1,16 +0,0 @@
1
- let warnedOnce = false;
2
- const warn = () => {
3
- if (!warnedOnce) {
4
- console.warn(['MUI: The AdapterDateFns class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
5
- warnedOnce = true;
6
- }
7
- };
8
-
9
- /**
10
- * @deprecated The AdapterDateFns class was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
11
- */
12
- export default class AdapterDateFns {
13
- constructor() {
14
- warn();
15
- }
16
- }
@@ -1 +0,0 @@
1
- export { default } from "./AdapterDateFns.js";
@@ -1,16 +0,0 @@
1
- let warnedOnce = false;
2
- const warn = () => {
3
- if (!warnedOnce) {
4
- console.warn(['MUI: The AdapterDayjs class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
5
- warnedOnce = true;
6
- }
7
- };
8
-
9
- /**
10
- * @deprecated The AdapterDayjs class was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
11
- */
12
- export default class AdapterDayjs {
13
- constructor() {
14
- warn();
15
- }
16
- }
@@ -1 +0,0 @@
1
- export { default } from "./AdapterDayjs.js";
@@ -1,16 +0,0 @@
1
- let warnedOnce = false;
2
- const warn = () => {
3
- if (!warnedOnce) {
4
- console.warn(['MUI: The AdapterLuxon class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterLuxon } from '@mui/x-date-pickers/AdapterLuxon'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
5
- warnedOnce = true;
6
- }
7
- };
8
-
9
- /**
10
- * @deprecated The AdapterLuxon class was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
11
- */
12
- export default class AdapterLuxon {
13
- constructor() {
14
- warn();
15
- }
16
- }
@@ -1 +0,0 @@
1
- export { default } from "./AdapterLuxon.js";
@@ -1,16 +0,0 @@
1
- let warnedOnce = false;
2
- const warn = () => {
3
- if (!warnedOnce) {
4
- console.warn(['MUI: The AdapterMoment class was moved from `@mui/lab` to `@mui/x-date-pickers`', '', "You should use `import { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
5
- warnedOnce = true;
6
- }
7
- };
8
-
9
- /**
10
- * @deprecated The AdapterMoment class was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
11
- */
12
- export default class AdapterMoment {
13
- constructor() {
14
- warn();
15
- }
16
- }
@@ -1 +0,0 @@
1
- export { default } from "./AdapterMoment.js";
@@ -1,21 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The CalendarPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { CalendarPicker } from '@mui/x-date-pickers'`", "or `import { CalendarPicker } from '@mui/x-date-pickers/CalendarPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @deprecated The CalendarPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
14
- * @ignore - do not document.
15
- */
16
- const CalendarPicker = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPicker() {
17
- warn();
18
- return null;
19
- });
20
- export default CalendarPicker;
21
- export const calendarPickerClasses = {};
@@ -1,2 +0,0 @@
1
- export { default } from "./CalendarPicker.js";
2
- export * from "./CalendarPicker.js";
@@ -1,25 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The CalendarPickerSkeleton component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { CalendarPickerSkeleton } from '@mui/x-date-pickers'`", "or `import { CalendarPickerSkeleton } from '@mui/x-date-pickers/CalendarPickerSkeleton'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @deprecated The CalendarPickerSkeleton component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
14
- * @ignore - do not document.
15
- */
16
- const CalendarPickerSkeleton = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPickerSkeleton() {
17
- warn();
18
- return null;
19
- });
20
- export default CalendarPickerSkeleton;
21
- export const calendarPickerSkeletonClasses = {};
22
- export const getCalendarPickerSkeletonUtilityClass = slot => {
23
- warn();
24
- return '';
25
- };
@@ -1,2 +0,0 @@
1
- export { default } from "./CalendarPickerSkeleton.js";
2
- export * from "./CalendarPickerSkeleton.js";
@@ -1,21 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The ClockPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { ClockPicker } from '@mui/x-date-pickers'`", "or `import { ClockPicker } from '@mui/x-date-pickers/ClockPicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @deprecated The ClockPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
14
- * @ignore - do not document.
15
- */
16
- const ClockPicker = /*#__PURE__*/React.forwardRef(function DeprecatedClockPicker() {
17
- warn();
18
- return null;
19
- });
20
- export default ClockPicker;
21
- export const clockPickerClasses = {};
@@ -1,2 +0,0 @@
1
- export { default } from "./ClockPicker.js";
2
- export * from "./ClockPicker.js";
@@ -1,19 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The DatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { DatePicker } from '@mui/x-date-pickers'`", "or `import { DatePicker } from '@mui/x-date-pickers/DatePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @ignore - do not document.
14
- */
15
- const DatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDatePicker() {
16
- warn();
17
- return null;
18
- });
19
- export default DatePicker;
@@ -1,2 +0,0 @@
1
- export { default } from "./DatePicker.js";
2
- export * from "./DatePicker.js";
@@ -1,18 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-unused-vars */
2
- import * as React from 'react';
3
- let warnedOnce = false;
4
- const warn = () => {
5
- if (!warnedOnce) {
6
- console.warn(['MUI: The DateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { DateRangePicker } from '@mui/x-date-pickers-pro/DateRangePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
7
- warnedOnce = true;
8
- }
9
- };
10
- /**
11
- * @deprecated The DateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
12
- * @ignore - do not document.
13
- */
14
- const DateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDateRangePicker() {
15
- warn();
16
- return null;
17
- });
18
- export default DateRangePicker;
@@ -1,2 +0,0 @@
1
- export { default } from "./DateRangePicker.js";
2
- export * from "./DateRangePicker.js";
@@ -1,22 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-unused-vars */
2
- import * as React from 'react';
3
- let warnedOnce = false;
4
- const warn = () => {
5
- if (!warnedOnce) {
6
- console.warn(['MUI: The DateRangePickerDay component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DateRangePickerDay } from '@mui/x-date-pickers-pro'`", "or `import { DateRangePickerDay } from '@mui/x-date-pickers-pro/DateRangePickerDay'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
7
- warnedOnce = true;
8
- }
9
- };
10
- /**
11
- * @deprecated The DateRangePickerDay component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
12
- * @ignore - do not document.
13
- */
14
- const DateRangePickerDay = /*#__PURE__*/React.forwardRef(function DeprecatedDateRangePickerDay() {
15
- warn();
16
- return null;
17
- });
18
- export default DateRangePickerDay;
19
- export const getDateRangePickerDayUtilityClass = slot => {
20
- warn();
21
- return '';
22
- };
@@ -1,2 +0,0 @@
1
- export { default } from "./DateRangePickerDay.js";
2
- export * from "./DateRangePickerDay.js";
@@ -1,20 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The DateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { DateTimePicker } from '@mui/x-date-pickers'`", "or `import { DateTimePicker } from '@mui/x-date-pickers/DateTimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @deprecated The DateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
14
- * @ignore - do not document.
15
- */
16
- const DateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDateTimePicker() {
17
- warn();
18
- return null;
19
- });
20
- export default DateTimePicker;
@@ -1,2 +0,0 @@
1
- export { default } from "./DateTimePicker.js";
2
- export * from "./DateTimePicker.js";
@@ -1,20 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The DesktopDatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { DesktopDatePicker } from '@mui/x-date-pickers'`", "or `import { DesktopDatePicker } from '@mui/x-date-pickers/DesktopDatePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @deprecated The DesktopDatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
14
- * @ignore - do not document.
15
- */
16
- const DesktopDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDatePicker() {
17
- warn();
18
- return null;
19
- });
20
- export default DesktopDatePicker;
@@ -1,2 +0,0 @@
1
- export { default } from "./DesktopDatePicker.js";
2
- export * from "./DesktopDatePicker.js";
@@ -1,18 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-unused-vars */
2
- import * as React from 'react';
3
- let warnedOnce = false;
4
- const warn = () => {
5
- if (!warnedOnce) {
6
- console.warn(['MUI: The DesktopDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`', '', "You should use `import { DesktopDateRangePicker } from '@mui/x-date-pickers-pro'`", "or `import { DesktopDateRangePicker } from '@mui/x-date-pickers-pro/DesktopDateRangePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
7
- warnedOnce = true;
8
- }
9
- };
10
- /**
11
- * @deprecated The DesktopDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
12
- * @ignore - do not document.
13
- */
14
- const DesktopDateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDateRangePicker() {
15
- warn();
16
- return null;
17
- });
18
- export default DesktopDateRangePicker;
@@ -1,2 +0,0 @@
1
- export { default } from "./DesktopDateRangePicker.js";
2
- export * from "./DesktopDateRangePicker.js";
@@ -1,20 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The DesktopDateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { DesktopDateTimePicker } from '@mui/x-date-pickers'`", "or `import { DesktopDateTimePicker } from '@mui/x-date-pickers/DesktopDateTimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @deprecated The DesktopDateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
14
- * @ignore - do not document.
15
- */
16
- const DesktopDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDateTimePicker() {
17
- warn();
18
- return null;
19
- });
20
- export default DesktopDateTimePicker;
@@ -1,2 +0,0 @@
1
- export { default } from "./DesktopDateTimePicker.js";
2
- export * from "./DesktopDateTimePicker.js";
@@ -1,20 +0,0 @@
1
- 'use client';
2
-
3
- /* eslint-disable @typescript-eslint/no-unused-vars */
4
- import * as React from 'react';
5
- let warnedOnce = false;
6
- const warn = () => {
7
- if (!warnedOnce) {
8
- console.warn(['MUI: The DesktopTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { DesktopTimePicker } from '@mui/x-date-pickers'`", "or `import { DesktopTimePicker } from '@mui/x-date-pickers/DesktopTimePicker'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
9
- warnedOnce = true;
10
- }
11
- };
12
- /**
13
- * @deprecated The DesktopTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
14
- * @ignore - do not document.
15
- */
16
- const DesktopTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopTimePicker() {
17
- warn();
18
- return null;
19
- });
20
- export default DesktopTimePicker;
@@ -1,2 +0,0 @@
1
- export { default } from "./DesktopTimePicker.js";
2
- export * from "./DesktopTimePicker.js";
@@ -1,23 +0,0 @@
1
- 'use client';
2
-
3
- import * as React from 'react';
4
- import Button from '@mui/material/Button';
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
- let warnedOnce = false;
7
- const warn = () => {
8
- if (!warnedOnce) {
9
- console.warn(['MUI: The LoadingButton component functionality is now part of the Button component from Material UI.', '', "You should use `import Button from '@mui/material/Button'`", "or `import { Button } from '@mui/material'`"].join('\n'));
10
- warnedOnce = true;
11
- }
12
- };
13
-
14
- /**
15
- * @ignore - do not document.
16
- */
17
- export default /*#__PURE__*/React.forwardRef(function DeprecatedLoadingButton(props, ref) {
18
- warn();
19
- return /*#__PURE__*/_jsx(Button, {
20
- ref: ref,
21
- ...props
22
- });
23
- });
@@ -1 +0,0 @@
1
- export { default } from "./LoadingButton.js";
@@ -1,19 +0,0 @@
1
- 'use client';
2
-
3
- import * as React from 'react';
4
- let warnedOnce = false;
5
- const warn = () => {
6
- if (!warnedOnce) {
7
- console.warn(['MUI: The LocalizationProvider component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '', "You should use `import { LocalizationProvider } from '@mui/x-date-pickers'`", "or `import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider'`", '', 'More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.'].join('\n'));
8
- warnedOnce = true;
9
- }
10
- };
11
- /**
12
- * @deprecated The LocalizationProvider component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
13
- * @ignore - do not document.
14
- */
15
- const LocalizationProvider = /*#__PURE__*/React.forwardRef(function DeprecatedLocalizationProvider() {
16
- warn();
17
- return null;
18
- });
19
- export default LocalizationProvider;
@@ -1,2 +0,0 @@
1
- export { default } from "./LocalizationProvider.js";
2
- export * from "./LocalizationProvider.js";