@mui/lab 5.0.0-alpha.85 → 5.0.0-alpha.86

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 (99) hide show
  1. package/CHANGELOG.md +90 -10
  2. package/CalendarPicker/CalendarPicker.js +4 -2
  3. package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -2
  4. package/ClockPicker/ClockPicker.js +4 -2
  5. package/DatePicker/DatePicker.js +4 -7
  6. package/DateRangePicker/DateRangePicker.js +0 -14
  7. package/DateTimePicker/DateTimePicker.js +4 -7
  8. package/DesktopDatePicker/DesktopDatePicker.js +4 -7
  9. package/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -14
  10. package/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -7
  11. package/DesktopTimePicker/DesktopTimePicker.js +4 -7
  12. package/LocalizationProvider/LocalizationProvider.js +4 -2
  13. package/MobileDatePicker/MobileDatePicker.js +4 -7
  14. package/MobileDateRangePicker/MobileDateRangePicker.js +0 -14
  15. package/MobileDateTimePicker/MobileDateTimePicker.js +4 -7
  16. package/MobileTimePicker/MobileTimePicker.js +4 -7
  17. package/MonthPicker/MonthPicker.js +4 -2
  18. package/PickersDay/PickersDay.js +4 -2
  19. package/README.md +1 -1
  20. package/StaticDatePicker/StaticDatePicker.js +4 -7
  21. package/StaticDateRangePicker/StaticDateRangePicker.js +0 -14
  22. package/StaticDateTimePicker/StaticDateTimePicker.js +4 -7
  23. package/StaticTimePicker/StaticTimePicker.js +4 -7
  24. package/TimePicker/TimePicker.js +4 -7
  25. package/YearPicker/YearPicker.js +3 -2
  26. package/index.js +1 -1
  27. package/legacy/CalendarPicker/CalendarPicker.js +4 -2
  28. package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -2
  29. package/legacy/ClockPicker/ClockPicker.js +4 -2
  30. package/legacy/DatePicker/DatePicker.js +4 -7
  31. package/legacy/DateRangePicker/DateRangePicker.js +0 -14
  32. package/legacy/DateTimePicker/DateTimePicker.js +4 -7
  33. package/legacy/DesktopDatePicker/DesktopDatePicker.js +4 -7
  34. package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -14
  35. package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -7
  36. package/legacy/DesktopTimePicker/DesktopTimePicker.js +4 -7
  37. package/legacy/LocalizationProvider/LocalizationProvider.js +4 -2
  38. package/legacy/MobileDatePicker/MobileDatePicker.js +4 -7
  39. package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +0 -14
  40. package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +4 -7
  41. package/legacy/MobileTimePicker/MobileTimePicker.js +4 -7
  42. package/legacy/MonthPicker/MonthPicker.js +4 -2
  43. package/legacy/PickersDay/PickersDay.js +4 -2
  44. package/legacy/StaticDatePicker/StaticDatePicker.js +4 -7
  45. package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +0 -14
  46. package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +4 -7
  47. package/legacy/StaticTimePicker/StaticTimePicker.js +4 -7
  48. package/legacy/TimePicker/TimePicker.js +4 -7
  49. package/legacy/YearPicker/YearPicker.js +3 -2
  50. package/legacy/index.js +1 -1
  51. package/modern/CalendarPicker/CalendarPicker.js +4 -2
  52. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -2
  53. package/modern/ClockPicker/ClockPicker.js +4 -2
  54. package/modern/DatePicker/DatePicker.js +4 -7
  55. package/modern/DateRangePicker/DateRangePicker.js +0 -14
  56. package/modern/DateTimePicker/DateTimePicker.js +4 -7
  57. package/modern/DesktopDatePicker/DesktopDatePicker.js +4 -7
  58. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -14
  59. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -7
  60. package/modern/DesktopTimePicker/DesktopTimePicker.js +4 -7
  61. package/modern/LocalizationProvider/LocalizationProvider.js +4 -2
  62. package/modern/MobileDatePicker/MobileDatePicker.js +4 -7
  63. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +0 -14
  64. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +4 -7
  65. package/modern/MobileTimePicker/MobileTimePicker.js +4 -7
  66. package/modern/MonthPicker/MonthPicker.js +4 -2
  67. package/modern/PickersDay/PickersDay.js +4 -2
  68. package/modern/StaticDatePicker/StaticDatePicker.js +4 -7
  69. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +0 -14
  70. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +4 -7
  71. package/modern/StaticTimePicker/StaticTimePicker.js +4 -7
  72. package/modern/TimePicker/TimePicker.js +4 -7
  73. package/modern/YearPicker/YearPicker.js +3 -2
  74. package/modern/index.js +1 -1
  75. package/node/CalendarPicker/CalendarPicker.js +4 -2
  76. package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -2
  77. package/node/ClockPicker/ClockPicker.js +4 -2
  78. package/node/DatePicker/DatePicker.js +4 -7
  79. package/node/DateRangePicker/DateRangePicker.js +0 -17
  80. package/node/DateTimePicker/DateTimePicker.js +4 -7
  81. package/node/DesktopDatePicker/DesktopDatePicker.js +4 -7
  82. package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -17
  83. package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -7
  84. package/node/DesktopTimePicker/DesktopTimePicker.js +4 -7
  85. package/node/LocalizationProvider/LocalizationProvider.js +4 -2
  86. package/node/MobileDatePicker/MobileDatePicker.js +4 -7
  87. package/node/MobileDateRangePicker/MobileDateRangePicker.js +0 -17
  88. package/node/MobileDateTimePicker/MobileDateTimePicker.js +4 -7
  89. package/node/MobileTimePicker/MobileTimePicker.js +4 -7
  90. package/node/MonthPicker/MonthPicker.js +4 -2
  91. package/node/PickersDay/PickersDay.js +4 -2
  92. package/node/StaticDatePicker/StaticDatePicker.js +4 -7
  93. package/node/StaticDateRangePicker/StaticDateRangePicker.js +0 -17
  94. package/node/StaticDateTimePicker/StaticDateTimePicker.js +4 -7
  95. package/node/StaticTimePicker/StaticTimePicker.js +4 -7
  96. package/node/TimePicker/TimePicker.js +4 -7
  97. package/node/YearPicker/YearPicker.js +3 -2
  98. package/node/index.js +1 -1
  99. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,85 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.8.4
4
+
5
+ <!-- generated comparing v5.8.3..master -->
6
+
7
+ _Jun 14, 2022_
8
+
9
+ A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 🚀 Added support for custom breakpoints in the `Grid` component by @boutahlilsoufiane
12
+ - 📚 Added guide on how to use Material UI with Shadow DOM by @cherniavskii
13
+ - many other 🐛 bug fixes and 📚 documentation improvements
14
+
15
+ ### `@mui/material@5.8.4`
16
+
17
+ - &#8203;<!-- 36 -->[Button] Add missing classes in `ButtonClasses` type (#33040) @ZeeshanTamboli
18
+ - &#8203;<!-- 20 -->[Grid] Fix prop-type key regression (#33123) @oliviertassinari
19
+ - &#8203;<!-- 19 -->[Grid] Support custom breakpoints (#31998) @boutahlilsoufiane
20
+ - &#8203;<!-- 18 -->[Grow] Limit CSS transition bug workaround to Safari 15.4 only (#32996) @igordanchenko
21
+ - &#8203;<!-- 17 -->[Hidden] Remove dependency on hoist-non-react-statics (#33015) @oliviertassinari
22
+ - &#8203;<!-- 12 -->[Link] Add support for CSS variables (#33036) @winderica
23
+ - &#8203;<!-- 07 -->[Popover] Export `getOffsetTop` & `getOffsetLeft` from Popover's index and add typings (#32959) @rart
24
+ - &#8203;<!-- 06 -->[Slider] Fix SliderValueLabelProps type (#32895) @oliviertassinari
25
+ - &#8203;<!-- 05 -->[Snackbar] Remove `RTL` direction specific logic (#32808) @aaarichter
26
+ - &#8203;<!-- 04 -->[StepIcon] Fix text centering when changing browser font size (#32706) @alansouzati
27
+ - &#8203;<!-- 02 -->[Tabs] Scroll by width of the first visible tab if only one tab is partially visible (#32778) @frankkluijtmans
28
+
29
+ ### `@mui/system@5.8.4`
30
+
31
+ - &#8203;<!-- 38 -->[Stack, system] Apply correct responsive styles if any custom breakpoints are provided (#32913) @ZeeshanTamboli
32
+ - &#8203;<!-- 03 -->[system] Fix missing typings for ColorFormat (#32417) @l-zoy
33
+
34
+ ### `@mui/codemod@5.8.4`
35
+
36
+ - &#8203;<!-- 35 -->[codemod] Add support for `@mui/styles/makeStyles` imports (#32962) @joshkel
37
+
38
+ ### `@mui/lab@5.0.0-alpha.86`
39
+
40
+ - &#8203;<!-- 08 -->[pickers] Fix broken ref forwarding (#33107) @oliviertassinari
41
+ - &#8203;<!-- 13 -->[lab] Fix React's `forwardRef` warning when importing from the index (#33134) @mnajdova
42
+
43
+ ### `@mui/base@5.0.0-alpha.85`
44
+
45
+ - &#8203;<!-- 11 -->[MenuUnstyled] Accept callbacks in componentsProps (#32997) @michaldudak
46
+ - &#8203;<!-- 10 -->[ModalUnstyled] Fix errors from the W3C validator about incorrect aria-hidden attribute on some elements (#30920) @mkrtchian
47
+ - &#8203;<!-- 09 -->[ModalUnstyled] Fix behavior of not respecting props ariaHidden value (#32055) @tech-meppem
48
+
49
+ ### `@mui/joy@5.0.0-alpha.32`
50
+
51
+ - &#8203;<!-- 16 -->[Joy] Miscellaneous card fixes (#33129) @siriwatknp
52
+ - &#8203;<!-- 15 -->[Joy] Miscellaneous fixes (#33073) @siriwatknp
53
+ - &#8203;<!-- 14 -->[Joy] Add typography and link docs (#33047) @siriwatknp
54
+
55
+ ### Docs
56
+
57
+ - &#8203;<!-- 40 -->[Contributing.md] Local install instructions (#32975) @Moizsohail
58
+ - &#8203;<!-- 32 -->[docs] Add responsive AppBar with drawer (#32769) @dvlprAlamin
59
+ - &#8203;<!-- 31 -->[docs] Move codesandbox to MUI org (#33122) @oliviertassinari
60
+ - &#8203;<!-- 30 -->[docs] Add Shadow DOM guide (#33007) @cherniavskii
61
+ - &#8203;<!-- 29 -->[docs] Fix typo in Material UI overview page (#33087) @oliviertassinari
62
+ - &#8203;<!-- 28 -->[docs] Miscellaneous fixes in `MUI Base` docs (#33091) @ZeeshanTamboli
63
+ - &#8203;<!-- 27 -->[docs] Fix GitHub capitalization (#33071) @oliviertassinari
64
+ - &#8203;<!-- 26 -->[docs] Fix a typo in `InputUnstyled` docs (#33077) @ZeeshanTamboli
65
+ - &#8203;<!-- 25 -->[docs] Add notification for Joy blog post (#33059) @siriwatknp
66
+ - &#8203;<!-- 24 -->[docs] Improve aspect ratio docs and integration (#33065) @siriwatknp
67
+ - &#8203;<!-- 34 -->[docs] Update code block copy label (#33128) @siriwatknp
68
+ - &#8203;<!-- 23 -->[docs] Fix typo in Autocomplete CSS API (#32838) @KeaghanKennedy
69
+ - &#8203;<!-- 22 -->[docs] Improvements for Radio Group Rating Docs (#32843) @Kai-W
70
+ - &#8203;<!-- 21 -->[docs] Enable Joy pages (#33064) @siriwatknp
71
+ - &#8203;<!-- 02 -->[website] Add Joy UI to the pricing page (#33099) @danilo-leal
72
+ - &#8203;<!-- 01 -->[website] Clarify the pricing a bit (#33069) @oliviertassinari
73
+
74
+ ### Core
75
+
76
+ - &#8203;<!-- 39 -->yarn proptypes @oliviertassinari
77
+ - &#8203;<!-- 34 -->[core] Update dependencies to fix security vulnerabilities (#33095) @michaldudak
78
+ - &#8203;<!-- 33 -->[core] Import new line convention (#33068) @oliviertassinari
79
+ - &#8203;<!-- 37 -->[core] Make repository configurable in changelog script (#33130) @Janpot
80
+
81
+ All contributors of this release in alphabetical order: @aaarichter, @alansouzati, @boutahlilsoufiane, @cherniavskii, @danilo-leal, @dvlprAlamin, @frankkluijtmans, @igordanchenko, @Janpot, @joshkel, @Kai-W, @KeaghanKennedy, @l-zoy, @michaldudak, @mkrtchian, @mnajdova, @Moizsohail, @oliviertassinari, @pushys, @rart, @siriwatknp, @tech-meppem, @winderica, @ZeeshanTamboli
82
+
3
83
  ## 5.8.3
4
84
 
5
85
  <!-- generated comparing v5.8.2..master -->
@@ -9,25 +89,25 @@ _Jun 7, 2022_
9
89
  A big thanks to the 15 contributors who made this release possible.
10
90
  This release is mostly about 🐛 bug fixes and 📚 documentation improvements.
11
91
 
12
- ## `@mui/material@5.8.3`
92
+ ### `@mui/material@5.8.3`
13
93
 
14
94
  - [Alert] Constrain message width and allow overflow (#32747) @Janpot
15
95
  - [Checkbox] Add support for CSS variables (#32579) @haneenmahd
16
96
  - [Slider] Fix positioning of tooltips on vertical slider (#32919) @abhinav-22-tech
17
97
 
18
- ## `@mui/system@5.8.3`
98
+ ### `@mui/system@5.8.3`
19
99
 
20
100
  - [system] Configurable attributes for libraries (#32971) @siriwatknp
21
101
 
22
- ## `@mui/codemod@5.8.3
102
+ ### `@mui/codemod@5.8.3`
23
103
 
24
104
  - [codemod] Fix infinite loop in jss-to-tss-react and add TODO (#33048) @ryancogswell
25
105
 
26
- ## `@mui/lab@5.0.0-alpha.85`
106
+ ### `@mui/lab@5.0.0-alpha.85`
27
107
 
28
108
  - [pickers] Add deprecations when importing pickers from the lab (#32950) @flaviendelangle
29
109
 
30
- ## `@mui/joy@5.0.0-alpha.31`
110
+ ### `@mui/joy@5.0.0-alpha.31`
31
111
 
32
112
  - [Joy] Add `Slider` component and demos (#32694) @hbjORbj
33
113
  - [Joy] Add articles about customization approaches (#32887) @siriwatknp
@@ -35,7 +115,7 @@ This release is mostly about 🐛 bug fixes and 📚 documentation improvements.
35
115
  - [Joy] Add docs about dark mode (#33002) @siriwatknp
36
116
  - [Joy] Add template UIs & first look blog post (#32791) @danilo-leal
37
117
 
38
- ## `@mui/base@5.0.0-alpha.84`
118
+ ### `@mui/base@5.0.0-alpha.84`
39
119
 
40
120
  - [base] Remove @mui/system in tests (#32945) @kevinji
41
121
  - [ButtonUnstyled] Accept callbacks in componentsProps (#32991) @michaldudak
@@ -44,7 +124,7 @@ This release is mostly about 🐛 bug fixes and 📚 documentation improvements.
44
124
  - [TabPanelUnstyled] Define ownerState and slot props' types (#32928) @michaldudak
45
125
  - [TabsListUnstyled] Define ownerState and slot props' types (#32925) @michaldudak
46
126
 
47
- ## Docs
127
+ ### Docs
48
128
 
49
129
  - [blog] Fix anchor link scroll (#32994) @oliviertassinari
50
130
  - [docs] Add "Migration" section to sidebar and revise v4-v5 content (#32740) @samuelsycamore
@@ -62,7 +142,7 @@ This release is mostly about 🐛 bug fixes and 📚 documentation improvements.
62
142
  - [website] Polish the pricing page (#32811) @oliviertassinari
63
143
  - [website] Remove unnecessary `address` dependency (#32957) @michaldudak
64
144
 
65
- ## Core
145
+ ### Core
66
146
 
67
147
  - [core] Improve icon synonyms (#32742) @oliviertassinari
68
148
  - [core] Prepare Next.js config for React 18 (#32963) @michaldudak
@@ -2000,7 +2080,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
2000
2080
  - &#8203;<!-- 33 -->[core] Add `experiments` index page (#29582) @siriwatknp
2001
2081
  - &#8203;<!-- 32 -->[core] Move s3 bucket ownership to mui-org (#29609) @eps1lon
2002
2082
  - &#8203;<!-- 31 -->[core] Improve support request message (#29614) @mnajdova
2003
- - &#8203;<!-- 30 -->[core] Use support request Github Action (#29594) @mnajdova
2083
+ - &#8203;<!-- 30 -->[core] Use support request GitHub Action (#29594) @mnajdova
2004
2084
  - &#8203;<!-- 29 -->[core] Remove unused `getJsxPreview` util (#29586) @ZeeshanTamboli
2005
2085
  - &#8203;<!-- 28 -->[core] Use GitHub issue forms (#28038) @oliviertassinari
2006
2086
  - &#8203;<!-- 26 -->[core] Add playground (#29423) @oliviertassinari
@@ -6055,7 +6135,7 @@ A big thanks to the 24 contributors who made this release possible. Here are som
6055
6135
  - [docs] Fix duplicated styles generated from emotion (#23809) @mnajdova
6056
6136
  - [docs] Fix icon alignment in /components/breadcrumbs (#23818) @eps1lon
6057
6137
  - [docs] Fix production deploy (#23963) @eps1lon
6058
- - [docs] Fix source on Github links (#23821) @praveenkumar-kalidass
6138
+ - [docs] Fix source on GitHub links (#23821) @praveenkumar-kalidass
6059
6139
  - [docs] Fix StickyHeaderTable round borders (#23882) @antoniopacheco
6060
6140
  - [docs] Fix typo in date picker dayjs adapter name (#23935) @andresmrm
6061
6141
  - [docs] Improve system properties page (#23961) @mnajdova
@@ -14,8 +14,10 @@ const warn = () => {
14
14
  /**
15
15
  * @ignore - do not document.
16
16
  */
17
- const CalendarPicker = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPicker(props) {
17
+ const CalendarPicker = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPicker(props, ref) {
18
18
  warn();
19
- return /*#__PURE__*/_jsx(XCalendarPicker, _extends({}, props));
19
+ return /*#__PURE__*/_jsx(XCalendarPicker, _extends({
20
+ ref: ref
21
+ }, props));
20
22
  });
21
23
  export default CalendarPicker;
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const CalendarPickerSkeleton = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPickerSkeleton(props) {
18
+ const CalendarPickerSkeleton = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPickerSkeleton(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XCalendarPickerSkeleton, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XCalendarPickerSkeleton, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? CalendarPickerSkeleton.propTypes
23
25
  /* remove-proptypes */
@@ -14,8 +14,10 @@ const warn = () => {
14
14
  /**
15
15
  * @ignore - do not document.
16
16
  */
17
- const ClockPicker = /*#__PURE__*/React.forwardRef(function DeprecatedClockPicker(props) {
17
+ const ClockPicker = /*#__PURE__*/React.forwardRef(function DeprecatedClockPicker(props, ref) {
18
18
  warn();
19
- return /*#__PURE__*/_jsx(XClockPicker, _extends({}, props));
19
+ return /*#__PURE__*/_jsx(XClockPicker, _extends({
20
+ ref: ref
21
+ }, props));
20
22
  });
21
23
  export default ClockPicker;
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const DatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDatePicker(props) {
18
+ const DatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDatePicker(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XDatePicker, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XDatePicker, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? DatePicker.propTypes
23
25
  /* remove-proptypes */
@@ -198,11 +200,6 @@ process.env.NODE_ENV !== "production" ? DatePicker.propTypes
198
200
  current: PropTypes.object
199
201
  })]),
200
202
 
201
- /**
202
- * @ignore
203
- */
204
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
205
-
206
203
  /**
207
204
  * @ignore
208
205
  */
@@ -1,6 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
2
  import * as React from 'react';
3
- import PropTypes from 'prop-types';
4
3
  let warnedOnce = false;
5
4
 
6
5
  const warn = () => {
@@ -17,17 +16,4 @@ const DateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDateRan
17
16
  warn();
18
17
  return null;
19
18
  });
20
- process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes
21
- /* remove-proptypes */
22
- = {
23
- // ----------------------------- Warning --------------------------------
24
- // | These PropTypes are generated from the TypeScript type definitions |
25
- // | To update them edit TypeScript types and run "yarn proptypes" |
26
- // ----------------------------------------------------------------------
27
-
28
- /**
29
- * @ignore
30
- */
31
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
32
- } : void 0;
33
19
  export default DateRangePicker;
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const DateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDateTimePicker(props) {
18
+ const DateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDateTimePicker(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XDateTimePicker, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XDateTimePicker, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes
23
25
  /* remove-proptypes */
@@ -244,11 +246,6 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes
244
246
  current: PropTypes.object
245
247
  })]),
246
248
 
247
- /**
248
- * @ignore
249
- */
250
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
251
-
252
249
  /**
253
250
  * @ignore
254
251
  */
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const DesktopDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDatePicker(props) {
18
+ const DesktopDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDatePicker(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XDesktopDatePicker, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XDesktopDatePicker, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? DesktopDatePicker.propTypes
23
25
  /* remove-proptypes */
@@ -180,11 +182,6 @@ process.env.NODE_ENV !== "production" ? DesktopDatePicker.propTypes
180
182
  current: PropTypes.object
181
183
  })]),
182
184
 
183
- /**
184
- * @ignore
185
- */
186
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
187
-
188
185
  /**
189
186
  * @ignore
190
187
  */
@@ -1,6 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
2
  import * as React from 'react';
3
- import PropTypes from 'prop-types';
4
3
  let warnedOnce = false;
5
4
 
6
5
  const warn = () => {
@@ -17,17 +16,4 @@ const DesktopDateRangePicker = /*#__PURE__*/React.forwardRef(function Deprecated
17
16
  warn();
18
17
  return null;
19
18
  });
20
- process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes
21
- /* remove-proptypes */
22
- = {
23
- // ----------------------------- Warning --------------------------------
24
- // | These PropTypes are generated from the TypeScript type definitions |
25
- // | To update them edit TypeScript types and run "yarn proptypes" |
26
- // ----------------------------------------------------------------------
27
-
28
- /**
29
- * @ignore
30
- */
31
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
32
- } : void 0;
33
19
  export default DesktopDateRangePicker;
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const DesktopDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDateTimePicker(props) {
18
+ const DesktopDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopDateTimePicker(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XDesktopDateTimePicker, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XDesktopDateTimePicker, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? DesktopDateTimePicker.propTypes
23
25
  /* remove-proptypes */
@@ -226,11 +228,6 @@ process.env.NODE_ENV !== "production" ? DesktopDateTimePicker.propTypes
226
228
  current: PropTypes.object
227
229
  })]),
228
230
 
229
- /**
230
- * @ignore
231
- */
232
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
233
-
234
231
  /**
235
232
  * @ignore
236
233
  */
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const DesktopTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopTimePicker(props) {
18
+ const DesktopTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedDesktopTimePicker(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XDesktopTimePicker, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XDesktopTimePicker, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? DesktopTimePicker.propTypes
23
25
  /* remove-proptypes */
@@ -159,11 +161,6 @@ process.env.NODE_ENV !== "production" ? DesktopTimePicker.propTypes
159
161
  current: PropTypes.object
160
162
  })]),
161
163
 
162
- /**
163
- * @ignore
164
- */
165
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
166
-
167
164
  /**
168
165
  * @ignore
169
166
  */
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const LocalizationProvider = /*#__PURE__*/React.forwardRef(function DeprecatedLocalizationProvider(props) {
18
+ const LocalizationProvider = /*#__PURE__*/React.forwardRef(function DeprecatedLocalizationProvider(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XLocalizationProvider, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XLocalizationProvider, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? LocalizationProvider.propTypes
23
25
  /* remove-proptypes */
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const MobileDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileDatePicker(props) {
18
+ const MobileDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileDatePicker(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XMobileDatePicker, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XMobileDatePicker, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? MobileDatePicker.propTypes
23
25
  /* remove-proptypes */
@@ -191,11 +193,6 @@ process.env.NODE_ENV !== "production" ? MobileDatePicker.propTypes
191
193
  current: PropTypes.object
192
194
  })]),
193
195
 
194
- /**
195
- * @ignore
196
- */
197
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
198
-
199
196
  /**
200
197
  * @ignore
201
198
  */
@@ -1,6 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
2
  import * as React from 'react';
3
- import PropTypes from 'prop-types';
4
3
  let warnedOnce = false;
5
4
 
6
5
  const warn = () => {
@@ -17,17 +16,4 @@ const MobileDateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedM
17
16
  warn();
18
17
  return null;
19
18
  });
20
- process.env.NODE_ENV !== "production" ? MobileDateRangePicker.propTypes
21
- /* remove-proptypes */
22
- = {
23
- // ----------------------------- Warning --------------------------------
24
- // | These PropTypes are generated from the TypeScript type definitions |
25
- // | To update them edit TypeScript types and run "yarn proptypes" |
26
- // ----------------------------------------------------------------------
27
-
28
- /**
29
- * @ignore
30
- */
31
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
32
- } : void 0;
33
19
  export default MobileDateRangePicker;
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const MobileDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileDateTimePicker(props) {
18
+ const MobileDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileDateTimePicker(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XMobileDateTimePicker, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XMobileDateTimePicker, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? MobileDateTimePicker.propTypes
23
25
  /* remove-proptypes */
@@ -237,11 +239,6 @@ process.env.NODE_ENV !== "production" ? MobileDateTimePicker.propTypes
237
239
  current: PropTypes.object
238
240
  })]),
239
241
 
240
- /**
241
- * @ignore
242
- */
243
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
244
-
245
242
  /**
246
243
  * @ignore
247
244
  */
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const MobileTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileTimePicker(props) {
18
+ const MobileTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedMobileTimePicker(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XMobileTimePicker, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XMobileTimePicker, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? MobileTimePicker.propTypes
23
25
  /* remove-proptypes */
@@ -170,11 +172,6 @@ process.env.NODE_ENV !== "production" ? MobileTimePicker.propTypes
170
172
  current: PropTypes.object
171
173
  })]),
172
174
 
173
- /**
174
- * @ignore
175
- */
176
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
177
-
178
175
  /**
179
176
  * @ignore
180
177
  */
@@ -14,8 +14,10 @@ const warn = () => {
14
14
  /**
15
15
  * @ignore - do not document.
16
16
  */
17
- const MonthPicker = /*#__PURE__*/React.forwardRef(function DeprecatedMonthPicker(props) {
17
+ const MonthPicker = /*#__PURE__*/React.forwardRef(function DeprecatedMonthPicker(props, ref) {
18
18
  warn();
19
- return /*#__PURE__*/_jsx(XMonthPicker, _extends({}, props));
19
+ return /*#__PURE__*/_jsx(XMonthPicker, _extends({
20
+ ref: ref
21
+ }, props));
20
22
  });
21
23
  export default MonthPicker;
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const PickersDay = /*#__PURE__*/React.forwardRef(function DeprecatedPickersDay(props) {
18
+ const PickersDay = /*#__PURE__*/React.forwardRef(function DeprecatedPickersDay(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XPickersDay, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XPickersDay, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? PickersDay.propTypes
23
25
  /* remove-proptypes */
package/README.md CHANGED
@@ -16,7 +16,7 @@ npm install @mui/lab
16
16
  yarn add @mui/lab
17
17
  ```
18
18
 
19
- The lab has peer dependencies on the Material Design components and on the emotion library.
19
+ The lab has peer dependencies on the Material Design components and on the Emotion library.
20
20
  If you are not already using them in your project, you can install with:
21
21
 
22
22
  <!-- #default-branch-switch -->
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const StaticDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticDatePicker(props) {
18
+ const StaticDatePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticDatePicker(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XStaticDatePicker, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XStaticDatePicker, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? StaticDatePicker.propTypes
23
25
  /* remove-proptypes */
@@ -169,11 +171,6 @@ process.env.NODE_ENV !== "production" ? StaticDatePicker.propTypes
169
171
  current: PropTypes.object
170
172
  })]),
171
173
 
172
- /**
173
- * @ignore
174
- */
175
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
176
-
177
174
  /**
178
175
  * @ignore
179
176
  */
@@ -1,6 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-unused-vars */
2
2
  import * as React from 'react';
3
- import PropTypes from 'prop-types';
4
3
  let warnedOnce = false;
5
4
 
6
5
  const warn = () => {
@@ -17,17 +16,4 @@ const StaticDateRangePicker = /*#__PURE__*/React.forwardRef(function DeprecatedS
17
16
  warn();
18
17
  return null;
19
18
  });
20
- process.env.NODE_ENV !== "production" ? StaticDateRangePicker.propTypes
21
- /* remove-proptypes */
22
- = {
23
- // ----------------------------- Warning --------------------------------
24
- // | These PropTypes are generated from the TypeScript type definitions |
25
- // | To update them edit TypeScript types and run "yarn proptypes" |
26
- // ----------------------------------------------------------------------
27
-
28
- /**
29
- * @ignore
30
- */
31
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
32
- } : void 0;
33
19
  export default StaticDateRangePicker;
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const StaticDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticDateTimePicker(props) {
18
+ const StaticDateTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticDateTimePicker(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XStaticDateTimePicker, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XStaticDateTimePicker, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? StaticDateTimePicker.propTypes
23
25
  /* remove-proptypes */
@@ -215,11 +217,6 @@ process.env.NODE_ENV !== "production" ? StaticDateTimePicker.propTypes
215
217
  current: PropTypes.object
216
218
  })]),
217
219
 
218
- /**
219
- * @ignore
220
- */
221
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
222
-
223
220
  /**
224
221
  * @ignore
225
222
  */
@@ -15,9 +15,11 @@ const warn = () => {
15
15
  /**
16
16
  * @ignore - do not document.
17
17
  */
18
- const StaticTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticTimePicker(props) {
18
+ const StaticTimePicker = /*#__PURE__*/React.forwardRef(function DeprecatedStaticTimePicker(props, ref) {
19
19
  warn();
20
- return /*#__PURE__*/_jsx(XStaticTimePicker, _extends({}, props));
20
+ return /*#__PURE__*/_jsx(XStaticTimePicker, _extends({
21
+ ref: ref
22
+ }, props));
21
23
  });
22
24
  process.env.NODE_ENV !== "production" ? StaticTimePicker.propTypes
23
25
  /* remove-proptypes */
@@ -148,11 +150,6 @@ process.env.NODE_ENV !== "production" ? StaticTimePicker.propTypes
148
150
  current: PropTypes.object
149
151
  })]),
150
152
 
151
- /**
152
- * @ignore
153
- */
154
- key: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
155
-
156
153
  /**
157
154
  * @ignore
158
155
  */