@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.
- package/CHANGELOG.md +90 -10
- package/CalendarPicker/CalendarPicker.js +4 -2
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -2
- package/ClockPicker/ClockPicker.js +4 -2
- package/DatePicker/DatePicker.js +4 -7
- package/DateRangePicker/DateRangePicker.js +0 -14
- package/DateTimePicker/DateTimePicker.js +4 -7
- package/DesktopDatePicker/DesktopDatePicker.js +4 -7
- package/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -14
- package/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -7
- package/DesktopTimePicker/DesktopTimePicker.js +4 -7
- package/LocalizationProvider/LocalizationProvider.js +4 -2
- package/MobileDatePicker/MobileDatePicker.js +4 -7
- package/MobileDateRangePicker/MobileDateRangePicker.js +0 -14
- package/MobileDateTimePicker/MobileDateTimePicker.js +4 -7
- package/MobileTimePicker/MobileTimePicker.js +4 -7
- package/MonthPicker/MonthPicker.js +4 -2
- package/PickersDay/PickersDay.js +4 -2
- package/README.md +1 -1
- package/StaticDatePicker/StaticDatePicker.js +4 -7
- package/StaticDateRangePicker/StaticDateRangePicker.js +0 -14
- package/StaticDateTimePicker/StaticDateTimePicker.js +4 -7
- package/StaticTimePicker/StaticTimePicker.js +4 -7
- package/TimePicker/TimePicker.js +4 -7
- package/YearPicker/YearPicker.js +3 -2
- package/index.js +1 -1
- package/legacy/CalendarPicker/CalendarPicker.js +4 -2
- package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -2
- package/legacy/ClockPicker/ClockPicker.js +4 -2
- package/legacy/DatePicker/DatePicker.js +4 -7
- package/legacy/DateRangePicker/DateRangePicker.js +0 -14
- package/legacy/DateTimePicker/DateTimePicker.js +4 -7
- package/legacy/DesktopDatePicker/DesktopDatePicker.js +4 -7
- package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -14
- package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -7
- package/legacy/DesktopTimePicker/DesktopTimePicker.js +4 -7
- package/legacy/LocalizationProvider/LocalizationProvider.js +4 -2
- package/legacy/MobileDatePicker/MobileDatePicker.js +4 -7
- package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +0 -14
- package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +4 -7
- package/legacy/MobileTimePicker/MobileTimePicker.js +4 -7
- package/legacy/MonthPicker/MonthPicker.js +4 -2
- package/legacy/PickersDay/PickersDay.js +4 -2
- package/legacy/StaticDatePicker/StaticDatePicker.js +4 -7
- package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +0 -14
- package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +4 -7
- package/legacy/StaticTimePicker/StaticTimePicker.js +4 -7
- package/legacy/TimePicker/TimePicker.js +4 -7
- package/legacy/YearPicker/YearPicker.js +3 -2
- package/legacy/index.js +1 -1
- package/modern/CalendarPicker/CalendarPicker.js +4 -2
- package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -2
- package/modern/ClockPicker/ClockPicker.js +4 -2
- package/modern/DatePicker/DatePicker.js +4 -7
- package/modern/DateRangePicker/DateRangePicker.js +0 -14
- package/modern/DateTimePicker/DateTimePicker.js +4 -7
- package/modern/DesktopDatePicker/DesktopDatePicker.js +4 -7
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -14
- package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -7
- package/modern/DesktopTimePicker/DesktopTimePicker.js +4 -7
- package/modern/LocalizationProvider/LocalizationProvider.js +4 -2
- package/modern/MobileDatePicker/MobileDatePicker.js +4 -7
- package/modern/MobileDateRangePicker/MobileDateRangePicker.js +0 -14
- package/modern/MobileDateTimePicker/MobileDateTimePicker.js +4 -7
- package/modern/MobileTimePicker/MobileTimePicker.js +4 -7
- package/modern/MonthPicker/MonthPicker.js +4 -2
- package/modern/PickersDay/PickersDay.js +4 -2
- package/modern/StaticDatePicker/StaticDatePicker.js +4 -7
- package/modern/StaticDateRangePicker/StaticDateRangePicker.js +0 -14
- package/modern/StaticDateTimePicker/StaticDateTimePicker.js +4 -7
- package/modern/StaticTimePicker/StaticTimePicker.js +4 -7
- package/modern/TimePicker/TimePicker.js +4 -7
- package/modern/YearPicker/YearPicker.js +3 -2
- package/modern/index.js +1 -1
- package/node/CalendarPicker/CalendarPicker.js +4 -2
- package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -2
- package/node/ClockPicker/ClockPicker.js +4 -2
- package/node/DatePicker/DatePicker.js +4 -7
- package/node/DateRangePicker/DateRangePicker.js +0 -17
- package/node/DateTimePicker/DateTimePicker.js +4 -7
- package/node/DesktopDatePicker/DesktopDatePicker.js +4 -7
- package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +0 -17
- package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -7
- package/node/DesktopTimePicker/DesktopTimePicker.js +4 -7
- package/node/LocalizationProvider/LocalizationProvider.js +4 -2
- package/node/MobileDatePicker/MobileDatePicker.js +4 -7
- package/node/MobileDateRangePicker/MobileDateRangePicker.js +0 -17
- package/node/MobileDateTimePicker/MobileDateTimePicker.js +4 -7
- package/node/MobileTimePicker/MobileTimePicker.js +4 -7
- package/node/MonthPicker/MonthPicker.js +4 -2
- package/node/PickersDay/PickersDay.js +4 -2
- package/node/StaticDatePicker/StaticDatePicker.js +4 -7
- package/node/StaticDateRangePicker/StaticDateRangePicker.js +0 -17
- package/node/StaticDateTimePicker/StaticDateTimePicker.js +4 -7
- package/node/StaticTimePicker/StaticTimePicker.js +4 -7
- package/node/TimePicker/TimePicker.js +4 -7
- package/node/YearPicker/YearPicker.js +3 -2
- package/node/index.js +1 -1
- 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
|
+
- ​<!-- 36 -->[Button] Add missing classes in `ButtonClasses` type (#33040) @ZeeshanTamboli
|
|
18
|
+
- ​<!-- 20 -->[Grid] Fix prop-type key regression (#33123) @oliviertassinari
|
|
19
|
+
- ​<!-- 19 -->[Grid] Support custom breakpoints (#31998) @boutahlilsoufiane
|
|
20
|
+
- ​<!-- 18 -->[Grow] Limit CSS transition bug workaround to Safari 15.4 only (#32996) @igordanchenko
|
|
21
|
+
- ​<!-- 17 -->[Hidden] Remove dependency on hoist-non-react-statics (#33015) @oliviertassinari
|
|
22
|
+
- ​<!-- 12 -->[Link] Add support for CSS variables (#33036) @winderica
|
|
23
|
+
- ​<!-- 07 -->[Popover] Export `getOffsetTop` & `getOffsetLeft` from Popover's index and add typings (#32959) @rart
|
|
24
|
+
- ​<!-- 06 -->[Slider] Fix SliderValueLabelProps type (#32895) @oliviertassinari
|
|
25
|
+
- ​<!-- 05 -->[Snackbar] Remove `RTL` direction specific logic (#32808) @aaarichter
|
|
26
|
+
- ​<!-- 04 -->[StepIcon] Fix text centering when changing browser font size (#32706) @alansouzati
|
|
27
|
+
- ​<!-- 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
|
+
- ​<!-- 38 -->[Stack, system] Apply correct responsive styles if any custom breakpoints are provided (#32913) @ZeeshanTamboli
|
|
32
|
+
- ​<!-- 03 -->[system] Fix missing typings for ColorFormat (#32417) @l-zoy
|
|
33
|
+
|
|
34
|
+
### `@mui/codemod@5.8.4`
|
|
35
|
+
|
|
36
|
+
- ​<!-- 35 -->[codemod] Add support for `@mui/styles/makeStyles` imports (#32962) @joshkel
|
|
37
|
+
|
|
38
|
+
### `@mui/lab@5.0.0-alpha.86`
|
|
39
|
+
|
|
40
|
+
- ​<!-- 08 -->[pickers] Fix broken ref forwarding (#33107) @oliviertassinari
|
|
41
|
+
- ​<!-- 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
|
+
- ​<!-- 11 -->[MenuUnstyled] Accept callbacks in componentsProps (#32997) @michaldudak
|
|
46
|
+
- ​<!-- 10 -->[ModalUnstyled] Fix errors from the W3C validator about incorrect aria-hidden attribute on some elements (#30920) @mkrtchian
|
|
47
|
+
- ​<!-- 09 -->[ModalUnstyled] Fix behavior of not respecting props ariaHidden value (#32055) @tech-meppem
|
|
48
|
+
|
|
49
|
+
### `@mui/joy@5.0.0-alpha.32`
|
|
50
|
+
|
|
51
|
+
- ​<!-- 16 -->[Joy] Miscellaneous card fixes (#33129) @siriwatknp
|
|
52
|
+
- ​<!-- 15 -->[Joy] Miscellaneous fixes (#33073) @siriwatknp
|
|
53
|
+
- ​<!-- 14 -->[Joy] Add typography and link docs (#33047) @siriwatknp
|
|
54
|
+
|
|
55
|
+
### Docs
|
|
56
|
+
|
|
57
|
+
- ​<!-- 40 -->[Contributing.md] Local install instructions (#32975) @Moizsohail
|
|
58
|
+
- ​<!-- 32 -->[docs] Add responsive AppBar with drawer (#32769) @dvlprAlamin
|
|
59
|
+
- ​<!-- 31 -->[docs] Move codesandbox to MUI org (#33122) @oliviertassinari
|
|
60
|
+
- ​<!-- 30 -->[docs] Add Shadow DOM guide (#33007) @cherniavskii
|
|
61
|
+
- ​<!-- 29 -->[docs] Fix typo in Material UI overview page (#33087) @oliviertassinari
|
|
62
|
+
- ​<!-- 28 -->[docs] Miscellaneous fixes in `MUI Base` docs (#33091) @ZeeshanTamboli
|
|
63
|
+
- ​<!-- 27 -->[docs] Fix GitHub capitalization (#33071) @oliviertassinari
|
|
64
|
+
- ​<!-- 26 -->[docs] Fix a typo in `InputUnstyled` docs (#33077) @ZeeshanTamboli
|
|
65
|
+
- ​<!-- 25 -->[docs] Add notification for Joy blog post (#33059) @siriwatknp
|
|
66
|
+
- ​<!-- 24 -->[docs] Improve aspect ratio docs and integration (#33065) @siriwatknp
|
|
67
|
+
- ​<!-- 34 -->[docs] Update code block copy label (#33128) @siriwatknp
|
|
68
|
+
- ​<!-- 23 -->[docs] Fix typo in Autocomplete CSS API (#32838) @KeaghanKennedy
|
|
69
|
+
- ​<!-- 22 -->[docs] Improvements for Radio Group Rating Docs (#32843) @Kai-W
|
|
70
|
+
- ​<!-- 21 -->[docs] Enable Joy pages (#33064) @siriwatknp
|
|
71
|
+
- ​<!-- 02 -->[website] Add Joy UI to the pricing page (#33099) @danilo-leal
|
|
72
|
+
- ​<!-- 01 -->[website] Clarify the pricing a bit (#33069) @oliviertassinari
|
|
73
|
+
|
|
74
|
+
### Core
|
|
75
|
+
|
|
76
|
+
- ​<!-- 39 -->yarn proptypes @oliviertassinari
|
|
77
|
+
- ​<!-- 34 -->[core] Update dependencies to fix security vulnerabilities (#33095) @michaldudak
|
|
78
|
+
- ​<!-- 33 -->[core] Import new line convention (#33068) @oliviertassinari
|
|
79
|
+
- ​<!-- 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
|
-
|
|
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
|
-
|
|
98
|
+
### `@mui/system@5.8.3`
|
|
19
99
|
|
|
20
100
|
- [system] Configurable attributes for libraries (#32971) @siriwatknp
|
|
21
101
|
|
|
22
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
- ​<!-- 33 -->[core] Add `experiments` index page (#29582) @siriwatknp
|
|
2001
2081
|
- ​<!-- 32 -->[core] Move s3 bucket ownership to mui-org (#29609) @eps1lon
|
|
2002
2082
|
- ​<!-- 31 -->[core] Improve support request message (#29614) @mnajdova
|
|
2003
|
-
- ​<!-- 30 -->[core] Use support request
|
|
2083
|
+
- ​<!-- 30 -->[core] Use support request GitHub Action (#29594) @mnajdova
|
|
2004
2084
|
- ​<!-- 29 -->[core] Remove unused `getJsxPreview` util (#29586) @ZeeshanTamboli
|
|
2005
2085
|
- ​<!-- 28 -->[core] Use GitHub issue forms (#28038) @oliviertassinari
|
|
2006
2086
|
- ​<!-- 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
|
|
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({
|
|
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({
|
|
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({
|
|
19
|
+
return /*#__PURE__*/_jsx(XClockPicker, _extends({
|
|
20
|
+
ref: ref
|
|
21
|
+
}, props));
|
|
20
22
|
});
|
|
21
23
|
export default ClockPicker;
|
package/DatePicker/DatePicker.js
CHANGED
|
@@ -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({
|
|
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({
|
|
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({
|
|
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({
|
|
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({
|
|
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({
|
|
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({
|
|
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({
|
|
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({
|
|
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({
|
|
19
|
+
return /*#__PURE__*/_jsx(XMonthPicker, _extends({
|
|
20
|
+
ref: ref
|
|
21
|
+
}, props));
|
|
20
22
|
});
|
|
21
23
|
export default MonthPicker;
|
package/PickersDay/PickersDay.js
CHANGED
|
@@ -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({
|
|
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
|
|
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({
|
|
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({
|
|
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({
|
|
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
|
*/
|