@mui/lab 5.0.0-alpha.89 → 5.0.0-alpha.92
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/AdapterDateFns/AdapterDateFns.d.ts +3 -0
- package/AdapterDateFns/AdapterDateFns.js +16 -0
- package/AdapterDateFns/index.d.ts +1 -1
- package/AdapterDateFns/index.js +1 -1
- package/AdapterDayjs/AdapterDayjs.d.ts +3 -0
- package/AdapterDayjs/AdapterDayjs.js +16 -0
- package/AdapterDayjs/index.d.ts +1 -1
- package/AdapterDayjs/index.js +1 -1
- package/AdapterLuxon/AdapterLuxon.d.ts +3 -0
- package/AdapterLuxon/AdapterLuxon.js +16 -0
- package/AdapterLuxon/index.d.ts +1 -1
- package/AdapterLuxon/index.js +1 -1
- package/AdapterMoment/AdapterMoment.d.ts +3 -0
- package/AdapterMoment/AdapterMoment.js +16 -0
- package/AdapterMoment/index.d.ts +1 -1
- package/AdapterMoment/index.js +1 -1
- package/CHANGELOG.md +200 -4
- package/CalendarPicker/CalendarPicker.d.ts +5 -1
- package/CalendarPicker/CalendarPicker.js +6 -9
- package/CalendarPicker/index.d.ts +1 -2
- package/CalendarPicker/index.js +1 -1
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +4 -1
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +10 -23
- package/CalendarPickerSkeleton/index.d.ts +1 -2
- package/CalendarPickerSkeleton/index.js +1 -1
- package/ClockPicker/ClockPicker.d.ts +5 -1
- package/ClockPicker/ClockPicker.js +6 -9
- package/ClockPicker/index.d.ts +1 -2
- package/ClockPicker/index.js +1 -1
- package/DatePicker/DatePicker.d.ts +1 -1
- package/DatePicker/DatePicker.js +4 -448
- package/DatePicker/index.d.ts +1 -1
- package/DatePicker/index.js +2 -1
- package/DateTimePicker/DateTimePicker.d.ts +1 -1
- package/DateTimePicker/DateTimePicker.js +4 -536
- package/DateTimePicker/index.d.ts +1 -1
- package/DateTimePicker/index.js +2 -1
- package/DesktopDatePicker/DesktopDatePicker.d.ts +1 -1
- package/DesktopDatePicker/DesktopDatePicker.js +4 -412
- package/DesktopDatePicker/index.d.ts +1 -1
- package/DesktopDatePicker/index.js +2 -1
- package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +1 -1
- package/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -500
- package/DesktopDateTimePicker/index.d.ts +1 -1
- package/DesktopDateTimePicker/index.js +2 -1
- package/DesktopTimePicker/DesktopTimePicker.d.ts +1 -1
- package/DesktopTimePicker/DesktopTimePicker.js +4 -330
- package/DesktopTimePicker/index.d.ts +2 -2
- package/DesktopTimePicker/index.js +2 -1
- package/LoadingButton/LoadingButton.js +7 -14
- package/LocalizationProvider/LocalizationProvider.d.ts +1 -1
- package/LocalizationProvider/LocalizationProvider.js +3 -22
- package/LocalizationProvider/index.d.ts +1 -1
- package/LocalizationProvider/index.js +2 -1
- package/Masonry/Masonry.js +14 -7
- package/MobileDatePicker/MobileDatePicker.d.ts +1 -1
- package/MobileDatePicker/MobileDatePicker.js +3 -425
- package/MobileDatePicker/index.d.ts +1 -1
- package/MobileDatePicker/index.js +2 -1
- package/MobileDateTimePicker/MobileDateTimePicker.d.ts +1 -1
- package/MobileDateTimePicker/MobileDateTimePicker.js +4 -514
- package/MobileDateTimePicker/index.d.ts +1 -1
- package/MobileDateTimePicker/index.js +2 -1
- package/MobileTimePicker/MobileTimePicker.d.ts +1 -1
- package/MobileTimePicker/MobileTimePicker.js +4 -344
- package/MobileTimePicker/index.d.ts +1 -1
- package/MobileTimePicker/index.js +2 -1
- package/MonthPicker/MonthPicker.d.ts +4 -1
- package/MonthPicker/MonthPicker.js +10 -9
- package/MonthPicker/index.d.ts +1 -2
- package/MonthPicker/index.js +1 -1
- package/PickersDay/PickersDay.d.ts +4 -1
- package/PickersDay/PickersDay.js +10 -23
- package/PickersDay/index.d.ts +1 -2
- package/PickersDay/index.js +1 -1
- package/StaticDatePicker/StaticDatePicker.d.ts +1 -1
- package/StaticDatePicker/StaticDatePicker.js +4 -386
- package/StaticDatePicker/index.d.ts +1 -1
- package/StaticDatePicker/index.js +2 -1
- package/StaticDateTimePicker/StaticDateTimePicker.d.ts +1 -1
- package/StaticDateTimePicker/StaticDateTimePicker.js +4 -474
- package/StaticDateTimePicker/index.d.ts +1 -1
- package/StaticDateTimePicker/index.js +2 -1
- package/StaticTimePicker/StaticTimePicker.d.ts +1 -1
- package/StaticTimePicker/StaticTimePicker.js +4 -304
- package/StaticTimePicker/index.d.ts +2 -2
- package/StaticTimePicker/index.js +2 -1
- package/TimePicker/TimePicker.d.ts +1 -1
- package/TimePicker/TimePicker.js +4 -366
- package/TimePicker/index.d.ts +1 -1
- package/TimePicker/index.js +2 -1
- package/Timeline/Timeline.d.ts +1 -1
- package/TimelineDot/TimelineDot.d.ts +6 -1
- package/TimelineDot/TimelineDot.js +3 -1
- package/YearPicker/YearPicker.d.ts +5 -1
- package/YearPicker/YearPicker.js +10 -8
- package/YearPicker/index.d.ts +2 -2
- package/YearPicker/index.js +2 -1
- package/index.js +1 -1
- package/legacy/AdapterDateFns/AdapterDateFns.js +19 -0
- package/legacy/AdapterDateFns/index.js +1 -1
- package/legacy/AdapterDayjs/AdapterDayjs.js +19 -0
- package/legacy/AdapterDayjs/index.js +1 -1
- package/legacy/AdapterLuxon/AdapterLuxon.js +19 -0
- package/legacy/AdapterLuxon/index.js +1 -1
- package/legacy/AdapterMoment/AdapterMoment.js +19 -0
- package/legacy/AdapterMoment/index.js +1 -1
- package/legacy/CalendarPicker/CalendarPicker.js +6 -9
- package/legacy/CalendarPicker/index.js +1 -1
- package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +10 -23
- package/legacy/CalendarPickerSkeleton/index.js +1 -1
- package/legacy/ClockPicker/ClockPicker.js +6 -9
- package/legacy/ClockPicker/index.js +1 -1
- package/legacy/DatePicker/DatePicker.js +4 -448
- package/legacy/DatePicker/index.js +2 -1
- package/legacy/DateTimePicker/DateTimePicker.js +4 -536
- package/legacy/DateTimePicker/index.js +2 -1
- package/legacy/DesktopDatePicker/DesktopDatePicker.js +4 -412
- package/legacy/DesktopDatePicker/index.js +2 -1
- package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -500
- package/legacy/DesktopDateTimePicker/index.js +2 -1
- package/legacy/DesktopTimePicker/DesktopTimePicker.js +4 -330
- package/legacy/DesktopTimePicker/index.js +2 -1
- package/legacy/LoadingButton/LoadingButton.js +7 -14
- package/legacy/LocalizationProvider/LocalizationProvider.js +3 -22
- package/legacy/LocalizationProvider/index.js +2 -1
- package/legacy/Masonry/Masonry.js +14 -7
- package/legacy/MobileDatePicker/MobileDatePicker.js +3 -425
- package/legacy/MobileDatePicker/index.js +2 -1
- package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +4 -514
- package/legacy/MobileDateTimePicker/index.js +2 -1
- package/legacy/MobileTimePicker/MobileTimePicker.js +4 -344
- package/legacy/MobileTimePicker/index.js +2 -1
- package/legacy/MonthPicker/MonthPicker.js +10 -9
- package/legacy/MonthPicker/index.js +1 -1
- package/legacy/PickersDay/PickersDay.js +10 -23
- package/legacy/PickersDay/index.js +1 -1
- package/legacy/StaticDatePicker/StaticDatePicker.js +4 -386
- package/legacy/StaticDatePicker/index.js +2 -1
- package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +4 -474
- package/legacy/StaticDateTimePicker/index.js +2 -1
- package/legacy/StaticTimePicker/StaticTimePicker.js +4 -304
- package/legacy/StaticTimePicker/index.js +2 -1
- package/legacy/TimePicker/TimePicker.js +4 -366
- package/legacy/TimePicker/index.js +2 -1
- package/legacy/TimelineDot/TimelineDot.js +3 -1
- package/legacy/YearPicker/YearPicker.js +10 -8
- package/legacy/YearPicker/index.js +2 -1
- package/legacy/index.js +1 -1
- package/modern/AdapterDateFns/AdapterDateFns.js +16 -0
- package/modern/AdapterDateFns/index.js +1 -1
- package/modern/AdapterDayjs/AdapterDayjs.js +16 -0
- package/modern/AdapterDayjs/index.js +1 -1
- package/modern/AdapterLuxon/AdapterLuxon.js +16 -0
- package/modern/AdapterLuxon/index.js +1 -1
- package/modern/AdapterMoment/AdapterMoment.js +16 -0
- package/modern/AdapterMoment/index.js +1 -1
- package/modern/CalendarPicker/CalendarPicker.js +6 -9
- package/modern/CalendarPicker/index.js +1 -1
- package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +10 -23
- package/modern/CalendarPickerSkeleton/index.js +1 -1
- package/modern/ClockPicker/ClockPicker.js +6 -9
- package/modern/ClockPicker/index.js +1 -1
- package/modern/DatePicker/DatePicker.js +4 -448
- package/modern/DatePicker/index.js +2 -1
- package/modern/DateTimePicker/DateTimePicker.js +4 -536
- package/modern/DateTimePicker/index.js +2 -1
- package/modern/DesktopDatePicker/DesktopDatePicker.js +4 -412
- package/modern/DesktopDatePicker/index.js +2 -1
- package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -500
- package/modern/DesktopDateTimePicker/index.js +2 -1
- package/modern/DesktopTimePicker/DesktopTimePicker.js +4 -330
- package/modern/DesktopTimePicker/index.js +2 -1
- package/modern/LoadingButton/LoadingButton.js +7 -14
- package/modern/LocalizationProvider/LocalizationProvider.js +3 -22
- package/modern/LocalizationProvider/index.js +2 -1
- package/modern/Masonry/Masonry.js +14 -7
- package/modern/MobileDatePicker/MobileDatePicker.js +3 -425
- package/modern/MobileDatePicker/index.js +2 -1
- package/modern/MobileDateTimePicker/MobileDateTimePicker.js +4 -514
- package/modern/MobileDateTimePicker/index.js +2 -1
- package/modern/MobileTimePicker/MobileTimePicker.js +4 -344
- package/modern/MobileTimePicker/index.js +2 -1
- package/modern/MonthPicker/MonthPicker.js +10 -9
- package/modern/MonthPicker/index.js +1 -1
- package/modern/PickersDay/PickersDay.js +10 -23
- package/modern/PickersDay/index.js +1 -1
- package/modern/StaticDatePicker/StaticDatePicker.js +4 -386
- package/modern/StaticDatePicker/index.js +2 -1
- package/modern/StaticDateTimePicker/StaticDateTimePicker.js +4 -474
- package/modern/StaticDateTimePicker/index.js +2 -1
- package/modern/StaticTimePicker/StaticTimePicker.js +4 -304
- package/modern/StaticTimePicker/index.js +2 -1
- package/modern/TimePicker/TimePicker.js +4 -366
- package/modern/TimePicker/index.js +2 -1
- package/modern/TimelineDot/TimelineDot.js +3 -1
- package/modern/YearPicker/YearPicker.js +10 -8
- package/modern/YearPicker/index.js +2 -1
- package/modern/index.js +1 -1
- package/node/AdapterDateFns/AdapterDateFns.js +24 -0
- package/node/AdapterDateFns/index.js +4 -2
- package/node/AdapterDayjs/AdapterDayjs.js +24 -0
- package/node/AdapterDayjs/index.js +4 -2
- package/node/AdapterLuxon/AdapterLuxon.js +24 -0
- package/node/AdapterLuxon/index.js +4 -2
- package/node/AdapterMoment/AdapterMoment.js +24 -0
- package/node/AdapterMoment/index.js +4 -2
- package/node/CalendarPicker/CalendarPicker.js +8 -15
- package/node/CalendarPicker/index.js +17 -10
- package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +15 -30
- package/node/CalendarPickerSkeleton/index.js +16 -15
- package/node/ClockPicker/ClockPicker.js +8 -15
- package/node/ClockPicker/index.js +17 -10
- package/node/DatePicker/DatePicker.js +4 -454
- package/node/DatePicker/index.js +18 -3
- package/node/DateTimePicker/DateTimePicker.js +4 -542
- package/node/DateTimePicker/index.js +18 -3
- package/node/DesktopDatePicker/DesktopDatePicker.js +4 -418
- package/node/DesktopDatePicker/index.js +18 -3
- package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +4 -506
- package/node/DesktopDateTimePicker/index.js +18 -3
- package/node/DesktopTimePicker/DesktopTimePicker.js +4 -336
- package/node/DesktopTimePicker/index.js +19 -2
- package/node/LoadingButton/LoadingButton.js +7 -14
- package/node/LocalizationProvider/LocalizationProvider.js +3 -28
- package/node/LocalizationProvider/index.js +18 -3
- package/node/Masonry/Masonry.js +14 -7
- package/node/MobileDatePicker/MobileDatePicker.js +3 -431
- package/node/MobileDatePicker/index.js +18 -3
- package/node/MobileDateTimePicker/MobileDateTimePicker.js +4 -520
- package/node/MobileDateTimePicker/index.js +18 -3
- package/node/MobileTimePicker/MobileTimePicker.js +4 -350
- package/node/MobileTimePicker/index.js +18 -3
- package/node/MonthPicker/MonthPicker.js +15 -15
- package/node/MonthPicker/index.js +16 -15
- package/node/PickersDay/PickersDay.js +15 -30
- package/node/PickersDay/index.js +16 -15
- package/node/StaticDatePicker/StaticDatePicker.js +4 -392
- package/node/StaticDatePicker/index.js +18 -3
- package/node/StaticDateTimePicker/StaticDateTimePicker.js +4 -480
- package/node/StaticDateTimePicker/index.js +18 -3
- package/node/StaticTimePicker/StaticTimePicker.js +4 -310
- package/node/StaticTimePicker/index.js +19 -2
- package/node/TimePicker/TimePicker.js +4 -372
- package/node/TimePicker/index.js +18 -3
- package/node/TimelineDot/TimelineDot.js +3 -1
- package/node/YearPicker/YearPicker.js +15 -19
- package/node/YearPicker/index.js +18 -13
- package/node/index.js +1 -1
- package/package.json +6 -25
- package/themeAugmentation/index.d.ts +0 -2
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
let warnedOnce = false;
|
|
2
|
+
|
|
3
|
+
const warn = () => {
|
|
4
|
+
if (!warnedOnce) {
|
|
5
|
+
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'));
|
|
6
|
+
warnedOnce = true;
|
|
7
|
+
}
|
|
8
|
+
}; // tslint:disable-next-line:no-unnecessary-class
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export default class AdapterDateFns {
|
|
12
|
+
constructor() {
|
|
13
|
+
warn();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { default } from './AdapterDateFns';
|
package/AdapterDateFns/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { default } from './AdapterDateFns';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
let warnedOnce = false;
|
|
2
|
+
|
|
3
|
+
const warn = () => {
|
|
4
|
+
if (!warnedOnce) {
|
|
5
|
+
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'));
|
|
6
|
+
warnedOnce = true;
|
|
7
|
+
}
|
|
8
|
+
}; // tslint:disable-next-line:no-unnecessary-class
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export default class AdapterDayjs {
|
|
12
|
+
constructor() {
|
|
13
|
+
warn();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|
package/AdapterDayjs/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { default } from './AdapterDayjs';
|
package/AdapterDayjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { default } from './AdapterDayjs';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
let warnedOnce = false;
|
|
2
|
+
|
|
3
|
+
const warn = () => {
|
|
4
|
+
if (!warnedOnce) {
|
|
5
|
+
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'));
|
|
6
|
+
warnedOnce = true;
|
|
7
|
+
}
|
|
8
|
+
}; // tslint:disable-next-line:no-unnecessary-class
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export default class AdapterLuxon {
|
|
12
|
+
constructor() {
|
|
13
|
+
warn();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|
package/AdapterLuxon/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { default } from './AdapterLuxon';
|
package/AdapterLuxon/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { default } from './AdapterLuxon';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
let warnedOnce = false;
|
|
2
|
+
|
|
3
|
+
const warn = () => {
|
|
4
|
+
if (!warnedOnce) {
|
|
5
|
+
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'));
|
|
6
|
+
warnedOnce = true;
|
|
7
|
+
}
|
|
8
|
+
}; // tslint:disable-next-line:no-unnecessary-class
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export default class AdapterMoment {
|
|
12
|
+
constructor() {
|
|
13
|
+
warn();
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|
package/AdapterMoment/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { default } from './AdapterMoment';
|
package/AdapterMoment/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { default } from './AdapterMoment';
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,201 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.9.2
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.9.1..master -->
|
|
6
|
+
|
|
7
|
+
_Jul 25, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🧪 Ensure all Base components are `OverridableComponent` (#33506) @michaldudak
|
|
12
|
+
- 🧪 Various improvements on the Material `Stack` component (#33548, #33588, #33549) @hbjORbj
|
|
13
|
+
- Many other 🐛 bug fixes and 📚 documentation improvements
|
|
14
|
+
|
|
15
|
+
### `@mui/material@5.9.2`
|
|
16
|
+
|
|
17
|
+
- ​<!-- 34 -->Revert "[Tooltip] Fix children mouse over detection (#32321)" @oliviertassinari
|
|
18
|
+
- ​<!-- 19 -->[FormHelperText] Fix unable to create new variants (#33589) @DinhBaoTran
|
|
19
|
+
- ​<!-- 18 -->[ImageList] Remove vertical spacing between items in masonry layout (#33593) @michaldudak
|
|
20
|
+
- ​<!-- 13 -->[LoadingButton] Refactor duplicate code (#33570) @ZeeshanTamboli
|
|
21
|
+
- ​<!-- 12 -->[Modal] Explain the meaning of deprecation of the BackdropComponent prop (#33591) @michaldudak
|
|
22
|
+
- ​<!-- 11 -->[Stack] Fix unit test failure (#33588) @hbjORbj
|
|
23
|
+
- ​<!-- 10 -->[Stack] Fix default `flexDirection` value with responsive prop (#33549) @hbjORbj
|
|
24
|
+
- ​<!-- 09 -->[Stack] Ensure that `marginundefined` doesn't occur in styling (#33548) @hbjORbj
|
|
25
|
+
- ​<!-- 08 -->[Tabs] Fix `indicatorColor` prop type (#33569) @ZeeshanTamboli
|
|
26
|
+
- ​<!-- 07 -->[Tabs] Add TypeScript interface to augment tab indicator color in theme (#33333) @AHeiming
|
|
27
|
+
|
|
28
|
+
### `@mui/base@5.0.0-alpha.91`
|
|
29
|
+
|
|
30
|
+
- ​<!-- 33 -->[Base] Make PopperUnstyled `component` overridable (#33573) @siriwatknp
|
|
31
|
+
- ​<!-- 32 -->[Base] Ensure all components are OverridableComponent (#33506) @michaldudak
|
|
32
|
+
|
|
33
|
+
### `@mui/joy@5.0.0-alpha.38`
|
|
34
|
+
|
|
35
|
+
- ​<!-- 17 -->[Select] Add new component in Joy (#33630) @siriwatknp
|
|
36
|
+
- ​<!-- 15 -->[Joy] Add Text field documentation (#33430, #33631) @danilo-leal
|
|
37
|
+
- ​<!-- 14 -->[Joy] Add menu components (#31789) @siriwatknp
|
|
38
|
+
|
|
39
|
+
### Docs
|
|
40
|
+
|
|
41
|
+
- ​<!-- 31 -->[blog] Fix 404 link to Algolia docs search (dd4308d) @oliviertassinari
|
|
42
|
+
- ​<!-- 28 -->[docs] Add accessibility tips (#33633) @siriwatknp
|
|
43
|
+
- ​<!-- 27 -->[docs] Fix production deploy of codesandboxes (#33608) @oliviertassinari
|
|
44
|
+
- ​<!-- 26 -->[docs] Show border on `palette.background.paper` in dark mode docs (#33611) @ZeeshanTamboli
|
|
45
|
+
- ​<!-- 25 -->[docs] Fix typo in Joy UI dark mode page (#33620) @bairamau
|
|
46
|
+
- ​<!-- 24 -->[docs] Final polish on Base docs - formatting and style consistency (#33156) @samuelsycamore
|
|
47
|
+
- ​<!-- 23 -->[docs] Fix `CssBaseline` import in example code (#33614) @dd-ssc
|
|
48
|
+
- ​<!-- 22 -->[docs] Fix Toolpad docs redirection (#33524) @bharatkashyap
|
|
49
|
+
- ​<!-- 21 -->[docs] Fix link to Snackbar customization section in Alert docs (#33586) @ZeeshanTamboli
|
|
50
|
+
- ​<!-- 20 -->[docs] Fix `placement choices` typo in Tooltip docs (#33571) @MonstraG
|
|
51
|
+
- ​<!-- 05 -->[website] Update home page's sponsor grid (#33528) @danilo-leal
|
|
52
|
+
- ​<!-- 04 -->[website] Add Vytautas to the about page (#33567) @bytasv
|
|
53
|
+
- ​<!-- 03 -->[website] Improve newsletter input design (#33585) @danilo-leal
|
|
54
|
+
- ​<!-- 02 -->[website] Add YouTube link to footer (#33580) @gerdadesign
|
|
55
|
+
- ​<!-- 01 -->[website] Clarify scope of technical support (#33435) @joserodolfofreitas
|
|
56
|
+
|
|
57
|
+
### Core
|
|
58
|
+
|
|
59
|
+
- ​<!-- 30 -->[core] Swallow ad blocker fetch fail (#33617) @oliviertassinari
|
|
60
|
+
- ​<!-- 29 -->[core] Fix dep security by resolving `thenify` to latest (#33612) @siriwatknp
|
|
61
|
+
- ​<!-- 06 -->[test] Remove `view` option from Event in Snackbar tests (#33555) @ZeeshanTamboli
|
|
62
|
+
|
|
63
|
+
All contributors of this release in alphabetical order: @AHeiming, @bairamau, @bharatkashyap, @bytasv, @danilo-leal, @dd-ssc, @DinhBaoTran, @gerdadesign, @hbjORbj, @joserodolfofreitas, @michaldudak, @MonstraG, @oliviertassinari, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
|
|
64
|
+
|
|
65
|
+
## 5.9.1
|
|
66
|
+
|
|
67
|
+
<!-- generated comparing v5.9.0..master -->
|
|
68
|
+
|
|
69
|
+
_Jul 18, 2022_
|
|
70
|
+
|
|
71
|
+
A big thanks to the 17 contributors who made this release possible. This release is mainly about 🐛 bug fixes and 📚 documentation improvements
|
|
72
|
+
|
|
73
|
+
### `@mui/material@5.9.1`
|
|
74
|
+
|
|
75
|
+
- ​<!-- 24 -->[Autocomplete] Fix disabling component crashing when focused (#31313) @mzedel
|
|
76
|
+
- ​<!-- 07 -->[Grid] Avoid scrollbar in demo (#33527) @oliviertassinari
|
|
77
|
+
- ​<!-- 05 -->[Slider] Fix transition of tooltips on vertical slider (#33009) @abhinav-22-tech
|
|
78
|
+
- ​<!-- 01 -->[TouchRipple] Fix crash on android where `event.touches` are an empty array (#32974) @lukeggchapman
|
|
79
|
+
|
|
80
|
+
### `@mui/system@5.9.1`
|
|
81
|
+
|
|
82
|
+
- ​<!-- 04 -->[system] Add flag to switch negative margin approach in Grid (#33484) @siriwatknp
|
|
83
|
+
- ​<!-- 03 -->[system] Remove needless optional chaining check in `createEmptyBreakpointObject` method (#33482) @ZeeshanTamboli
|
|
84
|
+
|
|
85
|
+
### `@mui/base@5.0.0-alpha.90`
|
|
86
|
+
|
|
87
|
+
- ​<!-- 23 -->[base] Export types used by components' props (#33522) @michaldudak
|
|
88
|
+
- ​<!-- 22 -->[base] Add missing type definitions in useControllableReducer (#33496) @michaldudak
|
|
89
|
+
- ​<!-- 06 -->[SelectUnstyled] Do not call onChange unnecessarily (#33408) @michaldudak
|
|
90
|
+
|
|
91
|
+
### `@mui/lab@5.0.0-alpha.91`
|
|
92
|
+
|
|
93
|
+
- ​<!-- 02 -->[TimelineDot] Add TimelineDotPropsColorOverrides interface to extend color options (#33466) @lolaignatova
|
|
94
|
+
|
|
95
|
+
### Docs
|
|
96
|
+
|
|
97
|
+
- ​<!-- 19 -->[docs] Add note about CssBaseline in the dark mode page (#33108) @GabrielaLokelani
|
|
98
|
+
- ​<!-- 18 -->[docs] Fix typos in the Interoperability page (#33273) @HexM7
|
|
99
|
+
- ​<!-- 17 -->[docs] Improve the `useTheme` documentation (#33508) @rickstaa
|
|
100
|
+
- ​<!-- 16 -->[docs] Fix 301 redirections (#33521) @oliviertassinari
|
|
101
|
+
- ​<!-- 15 -->[docs] Link the same codesandbox as in the docs (#33472) @oliviertassinari
|
|
102
|
+
- ​<!-- 14 -->[docs] Fix copy search false positives (#33438) @oliviertassinari
|
|
103
|
+
- ​<!-- 13 -->[docs] Fix typo (#33520) @aravindpanicker
|
|
104
|
+
- ​<!-- 12 -->[docs] Update Tailwind docs to include step about updating popover containers (#33315) @ajhenry
|
|
105
|
+
- ​<!-- 11 -->[docs] Add yarn command for Roboto font in Material UI's typography.md (#33485) @anthonypz
|
|
106
|
+
- ​<!-- 10 -->[docs] Add new community content to the Material UI Learn page (#32927) @Nikhilthadani
|
|
107
|
+
- ​<!-- 09 -->[examples] Change createEmotionCache to use `insertionPoint` (#32104) @ANTARES-KOR
|
|
108
|
+
- ​<!-- 08 -->[examples] Fix error in Next.js example with @mui/styles (#33456) @paustria
|
|
109
|
+
|
|
110
|
+
### Core
|
|
111
|
+
|
|
112
|
+
- ​<!-- 21 -->[core] Cleanup experiments (#33547) @siriwatknp
|
|
113
|
+
- ​<!-- 20 -->[core] Update CHANGELOG to include pickers breaking change (#33486) @siriwatknp
|
|
114
|
+
|
|
115
|
+
All contributors of this release in alphabetical order: @abhinav-22-tech, @ajhenry, @ANTARES-KOR, @anthonypz, @aravindpanicker, @GabrielaLokelani, @HexM7, @lolaignatova, @lukeggchapman, @michaldudak, @mzedel, @Nikhilthadani, @oliviertassinari, @paustria, @rickstaa, @siriwatknp, @ZeeshanTamboli
|
|
116
|
+
|
|
117
|
+
## 5.9.0
|
|
118
|
+
|
|
119
|
+
<!-- generated comparing v5.8.7..master -->
|
|
120
|
+
|
|
121
|
+
_Jul 12, 2022_
|
|
122
|
+
|
|
123
|
+
A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
|
|
124
|
+
|
|
125
|
+
- 🧪 Exported Grid v2 as `Unstable_Grid2` (#33479) @siriwatknp
|
|
126
|
+
- 📖 Added a guide for using Joy UI and Material UI together (#33396) @siriwatknp
|
|
127
|
+
- 🐛 Fixed a few bugs in Material UI components. Thanks to @ZeeshanTamboli, @ivan-ngchakming, and @joebingham-wk.
|
|
128
|
+
- ⚠️ **[BREAKING CHANGE]** Date pickers were removed from the lab. Learn how to migrate by visiting the [migration guide](https://mui.com/x/react-date-pickers/migration-lab/). (#33386) @flaviendelangle
|
|
129
|
+
- many other 🐛 bug fixes and 📚 documentation improvements
|
|
130
|
+
- our documentation site is now running with React 18! (#33196) @mnajdova
|
|
131
|
+
|
|
132
|
+
### `@mui/material@5.9.0`
|
|
133
|
+
|
|
134
|
+
- [CssBaseline] Fixes in overriding style (#33338) @ZeeshanTamboli
|
|
135
|
+
- [Autocomplete] Remove unnecessary `clsx` wrapper for single className (#33398) @ZeeshanTamboli
|
|
136
|
+
- [Grid] Export new grid as unstable (#33479) @siriwatknp
|
|
137
|
+
- [Tooltip] Fix children mouse over detection (#32321) @ivan-ngchakming
|
|
138
|
+
- [TypeScript] getCssVar autocomplete for Material UI (#33464) @siriwatknp
|
|
139
|
+
- [TypeScript] Fix theme options components types to use `Theme` (#33434) @siriwatknp
|
|
140
|
+
- [TypeScript] Reexports necessary types for module augmentation (#33397) @siriwatknp
|
|
141
|
+
- [ScopedCssBaseline] Add sx typings (#33474) @joebingham-wk
|
|
142
|
+
|
|
143
|
+
### `@mui/system@5.9.0`
|
|
144
|
+
|
|
145
|
+
- [System] Add offset feature to Grid (#33415) @siriwatknp
|
|
146
|
+
- [system] Add new `Grid` implementation (#32746) @siriwatknp
|
|
147
|
+
|
|
148
|
+
### `@mui/lab@5.0.0-alpha.90`
|
|
149
|
+
|
|
150
|
+
**⚠️ Breaking changes**
|
|
151
|
+
|
|
152
|
+
- [lab] Remove the pickers (#33386) @flaviendelangle
|
|
153
|
+
|
|
154
|
+
The pickers are moved to MUI X, check out the [migration guide](https://mui.com/x/react-date-pickers/migration-lab/).
|
|
155
|
+
|
|
156
|
+
**Changes**
|
|
157
|
+
|
|
158
|
+
- [Masonry] Support rem/em values for spacing prop (#33384) @hbjORbj
|
|
159
|
+
|
|
160
|
+
### `@mui/base@5.0.0-alpha.89`
|
|
161
|
+
|
|
162
|
+
- Base] Change the order of class names merged in useSlotProps (#33383) @michaldudak
|
|
163
|
+
- [ModalUnstyled] Accept callbacks in componentsProps (#33181) @michaldudak
|
|
164
|
+
- [SelectUnstyled] Accept callbacks in componentsProps (#33197) @michaldudak
|
|
165
|
+
- [TabsUnstyled] Accept callbacks in componentsProps (#33284) @michaldudak
|
|
166
|
+
|
|
167
|
+
### `@mui/joy@5.0.0-alpha.36`
|
|
168
|
+
|
|
169
|
+
- [Joy] Add guide about using Joy and Material UI together (#33396) @siriwatknp
|
|
170
|
+
- [Joy] Fix variants color palette regressions (#33394) @danilo-leal
|
|
171
|
+
|
|
172
|
+
### Docs
|
|
173
|
+
|
|
174
|
+
- [docs] Correcting small grammatical error (#33393) @robyyo
|
|
175
|
+
- [docs] Link to the correct package on Joy component pages (#33439) @cherniavskii
|
|
176
|
+
- [docs] Fix e2e tests (#33477) @siriwatknp
|
|
177
|
+
- [docs] Fix dead links (#33462) @oliviertassinari
|
|
178
|
+
- [docs] Cleanup the migration (#33463) @siriwatknp
|
|
179
|
+
- [docs] Fix broken Sponsoring services links @samuelsycamore
|
|
180
|
+
- [docs] Improve repo README with light/dark logos, relative links and more (#33356) @samuelsycamore
|
|
181
|
+
- [docs] Update links to MUI X Overview and Introduction pages (#33201) @samuelsycamore
|
|
182
|
+
- [docs] Update to React 18 (#33196) @mnajdova
|
|
183
|
+
- [docs] Simplify "Upload button" demo (#33326) @baharalidurrani
|
|
184
|
+
- [docs] Add "refine" demo to showcase (#33240) @omeraplak
|
|
185
|
+
- [docs] Add webpack alias for legacy utils package (#33376) @jgbae
|
|
186
|
+
- [docs] Improve external link icons synonyms (#33257) @davidgarciab
|
|
187
|
+
- [examples] Update MUI Base with Tailwind CSS to use the latest versions of the dependencies (#33401) @mnajdova
|
|
188
|
+
- [examples] Add MUI base example (#33154) @siriwatknp
|
|
189
|
+
|
|
190
|
+
### Core
|
|
191
|
+
|
|
192
|
+
- [core] Fix @mui/monorepo regression for the import of the docs infra (#33390) @Janpot
|
|
193
|
+
- [core] Remove old babel resolve rule (#33432) @oliviertassinari
|
|
194
|
+
- [website] Shorten the plan descriptions on the pricing page (#32984) @joserodolfofreitas
|
|
195
|
+
- [website] Link EULA in the license quantity section (#33292) @oliviertassinari
|
|
196
|
+
|
|
197
|
+
All contributors of this release in alphabetical order: @baharalidurrani, @cherniavskii, @danilo-leal, @davidgarciab, @flaviendelangle, @hbjORbj, @ivan-ngchakming, @Janpot, @jgbae, @joebingham-wk, @joserodolfofreitas, @michaldudak, @mnajdova, @oliviertassinari, @omeraplak, @robyyo, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
|
|
198
|
+
|
|
3
199
|
## 5.8.7
|
|
4
200
|
|
|
5
201
|
<!-- generated comparing v5.8.6..master -->
|
|
@@ -1930,7 +2126,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
1930
2126
|
- ​<!-- 19 -->[docs] Sync translations with Crowdin (#30067) @l10nbot
|
|
1931
2127
|
- ​<!-- 18 -->[docs] Fix link on "Custom variables" section in the Theming page #30100 @danilo-leal
|
|
1932
2128
|
- ​<!-- 17 -->[docs] Fix justifyContent option in the Grid interactive demo (#30117) @danilo-leal
|
|
1933
|
-
- ​<!-- 16 -->[docs] Add tip to help access the docs of a previous version when finding answers in
|
|
2129
|
+
- ​<!-- 16 -->[docs] Add tip to help access the docs of a previous version when finding answers in Stack Overflow (#30101) @danilo-leal
|
|
1934
2130
|
- ​<!-- 15 -->[docs] Fix import example inside Unstyled Backdrop section (#30098) @TheodosiouTh
|
|
1935
2131
|
- ​<!-- 01 -->[website] Column pinning and Tree data are out (#30136) @oliviertassinari
|
|
1936
2132
|
- ​<!-- 07 -->[survey] Remove survey promotion items (#30122) @danilo-leal
|
|
@@ -2011,7 +2207,7 @@ A big thanks to the 25 contributors who made this release possible. Here are som
|
|
|
2011
2207
|
- ​<!-- 21 -->[docs] Update nextjs-typescript-example (#29974) @huydhoang
|
|
2012
2208
|
- ​<!-- 20 -->[docs] Add missing global state classes to API docs generator (#29945) @michaldudak
|
|
2013
2209
|
- ​<!-- 19 -->[docs] Fix benchmarks folder link (#29981) @fourjr
|
|
2014
|
-
- ​<!-- 18 -->[docs] Improve wording in
|
|
2210
|
+
- ​<!-- 18 -->[docs] Improve wording in Stack Overflow section of support page (#29956) @ronwarner
|
|
2015
2211
|
- ​<!-- 17 -->[docs] Remove Black Friday sale notification (#29936) @mbrookes
|
|
2016
2212
|
- ​<!-- 16 -->[examples] Fix typos in the Remix example (#30071) @MichaelDeBoey
|
|
2017
2213
|
- ​<!-- 15 -->[examples] Add Remix example (#29952) @mnajdova
|
|
@@ -2024,7 +2220,7 @@ A big thanks to the 25 contributors who made this release possible. Here are som
|
|
|
2024
2220
|
### Core
|
|
2025
2221
|
|
|
2026
2222
|
- ​<!-- 31 -->[core] Batch small changes (#30042) @oliviertassinari
|
|
2027
|
-
- ​<!-- 28 -->[core] Transition to a new
|
|
2223
|
+
- ​<!-- 28 -->[core] Transition to a new Stack Overflow tag (#29967) @oliviertassinari
|
|
2028
2224
|
|
|
2029
2225
|
All contributors of this release in alphabetical order: @chao813, @daniel-sachs, @danilo-leal, @Domino987, @eduardomcv, @flaviendelangle, @fourjr, @genzyy, @hbjORbj, @huydhoang, @jayeclark, @jonathanrtuck, @kkorach, @l10nbot, @mbrookes, @MichaelDeBoey, @michaldudak, @mnajdova, @oliviertassinari, @ronwarner, @Semigradsky, @siriwatknp, @tasugi, @ThewBear, @ZeeshanTamboli
|
|
2030
2226
|
|
|
@@ -5710,7 +5906,7 @@ A big thanks to the 30 contributors who made this release possible. Here are som
|
|
|
5710
5906
|
#### Breaking changes
|
|
5711
5907
|
|
|
5712
5908
|
- ​<!-- 91 -->[types] Rename the exported `Omit` type in `@material-ui/types`. (#24795) @petyosi
|
|
5713
|
-
The module is now called `DistributiveOmit`. The change removes the confusion with the built-in `Omit` helper introduced in TypeScript v3.5. The built-in `Omit`, while similar, is non-distributive. This leads to differences when applied to union types. [See this
|
|
5909
|
+
The module is now called `DistributiveOmit`. The change removes the confusion with the built-in `Omit` helper introduced in TypeScript v3.5. The built-in `Omit`, while similar, is non-distributive. This leads to differences when applied to union types. [See this Stack Overflow answer for further details](https://stackoverflow.com/a/57103940/1009797).
|
|
5714
5910
|
|
|
5715
5911
|
```diff
|
|
5716
5912
|
-import { Omit } from '@material-ui/types';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { CalendarPickerProps } from '@mui/x-date-pickers/CalendarPicker';
|
|
3
2
|
declare type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
3
|
propTypes?: any;
|
|
5
4
|
};
|
|
@@ -8,3 +7,8 @@ declare type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate
|
|
|
8
7
|
*/
|
|
9
8
|
declare const CalendarPicker: CalendarPickerComponent;
|
|
10
9
|
export default CalendarPicker;
|
|
10
|
+
export declare const calendarPickerClasses: {};
|
|
11
|
+
export declare type CalendarPickerClassKey = any;
|
|
12
|
+
export declare type CalendarPickerClasses = any;
|
|
13
|
+
export declare type CalendarPickerProps<TDate> = Record<any, any>;
|
|
14
|
+
export declare type CalendarPickerView = 'year' | 'day' | 'month';
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { CalendarPicker as XCalendarPicker } from '@mui/x-date-pickers/CalendarPicker';
|
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
3
|
let warnedOnce = false;
|
|
6
4
|
|
|
7
5
|
const warn = () => {
|
|
8
6
|
if (!warnedOnce) {
|
|
9
|
-
console.warn(['MUI: The CalendarPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '
|
|
7
|
+
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'));
|
|
10
8
|
warnedOnce = true;
|
|
11
9
|
}
|
|
12
10
|
};
|
|
@@ -14,10 +12,9 @@ const warn = () => {
|
|
|
14
12
|
/**
|
|
15
13
|
* @ignore - do not document.
|
|
16
14
|
*/
|
|
17
|
-
const CalendarPicker = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPicker(
|
|
15
|
+
const CalendarPicker = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPicker() {
|
|
18
16
|
warn();
|
|
19
|
-
return
|
|
20
|
-
ref: ref
|
|
21
|
-
}, props));
|
|
17
|
+
return null;
|
|
22
18
|
});
|
|
23
|
-
export default CalendarPicker;
|
|
19
|
+
export default CalendarPicker;
|
|
20
|
+
export const calendarPickerClasses = {};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export { default } from './CalendarPicker';
|
|
2
|
-
export
|
|
3
|
-
export type { CalendarPickerClassKey, CalendarPickerClasses, CalendarPickerProps, CalendarPickerView, } from '@mui/x-date-pickers/CalendarPicker';
|
|
2
|
+
export * from './CalendarPicker';
|
package/CalendarPicker/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from './CalendarPicker';
|
|
2
|
-
export
|
|
2
|
+
export * from './CalendarPicker';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { CalendarPickerSkeletonProps } from '@mui/x-date-pickers/CalendarPickerSkeleton';
|
|
3
2
|
declare type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
3
|
propTypes?: any;
|
|
5
4
|
};
|
|
@@ -8,3 +7,7 @@ declare type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonPr
|
|
|
8
7
|
*/
|
|
9
8
|
declare const CalendarPickerSkeleton: CalendarPickerSkeletonComponent;
|
|
10
9
|
export default CalendarPickerSkeleton;
|
|
10
|
+
export declare const calendarPickerSkeletonClasses: {};
|
|
11
|
+
export declare const getCalendarPickerSkeletonUtilityClass: (slot: string) => string;
|
|
12
|
+
export declare type CalendarPickerSkeletonProps = Record<any, any>;
|
|
13
|
+
export declare type CalendarPickerSkeletonClassKey = any;
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
|
-
import { CalendarPickerSkeleton as XCalendarPickerSkeleton } from '@mui/x-date-pickers/CalendarPickerSkeleton';
|
|
5
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
3
|
let warnedOnce = false;
|
|
7
4
|
|
|
8
5
|
const warn = () => {
|
|
9
6
|
if (!warnedOnce) {
|
|
10
|
-
console.warn(['MUI: The CalendarPickerSkeleton component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '
|
|
7
|
+
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'));
|
|
11
8
|
warnedOnce = true;
|
|
12
9
|
}
|
|
13
10
|
};
|
|
@@ -15,23 +12,13 @@ const warn = () => {
|
|
|
15
12
|
/**
|
|
16
13
|
* @ignore - do not document.
|
|
17
14
|
*/
|
|
18
|
-
const CalendarPickerSkeleton = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPickerSkeleton(
|
|
15
|
+
const CalendarPickerSkeleton = /*#__PURE__*/React.forwardRef(function DeprecatedCalendarPickerSkeleton() {
|
|
19
16
|
warn();
|
|
20
|
-
return
|
|
21
|
-
ref: ref
|
|
22
|
-
}, props));
|
|
17
|
+
return null;
|
|
23
18
|
});
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
= {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
// ----------------------------------------------------------------------
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* @ignore
|
|
34
|
-
*/
|
|
35
|
-
children: PropTypes.node
|
|
36
|
-
} : void 0;
|
|
37
|
-
export default CalendarPickerSkeleton;
|
|
19
|
+
export default CalendarPickerSkeleton;
|
|
20
|
+
export const calendarPickerSkeletonClasses = {};
|
|
21
|
+
export const getCalendarPickerSkeletonUtilityClass = slot => {
|
|
22
|
+
warn();
|
|
23
|
+
return '';
|
|
24
|
+
};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export { default } from './CalendarPickerSkeleton';
|
|
2
|
-
export
|
|
3
|
-
export type { CalendarPickerSkeletonClassKey, CalendarPickerSkeletonProps, } from '@mui/x-date-pickers/CalendarPickerSkeleton';
|
|
2
|
+
export * from './CalendarPickerSkeleton';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from './CalendarPickerSkeleton';
|
|
2
|
-
export
|
|
2
|
+
export * from './CalendarPickerSkeleton';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ClockPickerProps } from '@mui/x-date-pickers/ClockPicker';
|
|
3
2
|
declare type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
3
|
propTypes?: any;
|
|
5
4
|
};
|
|
@@ -8,3 +7,8 @@ declare type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & Re
|
|
|
8
7
|
*/
|
|
9
8
|
declare const ClockPicker: ClockPickerComponent;
|
|
10
9
|
export default ClockPicker;
|
|
10
|
+
export declare const clockPickerClasses: {};
|
|
11
|
+
export declare type ClockPickerProps<TDate> = Record<any, any>;
|
|
12
|
+
export declare type ClockPickerView = 'hours' | 'minutes' | 'seconds';
|
|
13
|
+
export declare type ClockPickerClasses = any;
|
|
14
|
+
export declare type ClockPickerClassKey = any;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { ClockPicker as XClockPicker } from '@mui/x-date-pickers/ClockPicker';
|
|
4
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
3
|
let warnedOnce = false;
|
|
6
4
|
|
|
7
5
|
const warn = () => {
|
|
8
6
|
if (!warnedOnce) {
|
|
9
|
-
console.warn(['MUI: The ClockPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`.', '
|
|
7
|
+
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'));
|
|
10
8
|
warnedOnce = true;
|
|
11
9
|
}
|
|
12
10
|
};
|
|
@@ -14,10 +12,9 @@ const warn = () => {
|
|
|
14
12
|
/**
|
|
15
13
|
* @ignore - do not document.
|
|
16
14
|
*/
|
|
17
|
-
const ClockPicker = /*#__PURE__*/React.forwardRef(function DeprecatedClockPicker(
|
|
15
|
+
const ClockPicker = /*#__PURE__*/React.forwardRef(function DeprecatedClockPicker() {
|
|
18
16
|
warn();
|
|
19
|
-
return
|
|
20
|
-
ref: ref
|
|
21
|
-
}, props));
|
|
17
|
+
return null;
|
|
22
18
|
});
|
|
23
|
-
export default ClockPicker;
|
|
19
|
+
export default ClockPicker;
|
|
20
|
+
export const clockPickerClasses = {};
|
package/ClockPicker/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
export { default } from './ClockPicker';
|
|
2
|
-
export
|
|
3
|
-
export type { ClockPickerClasses, ClockPickerClassKey, ClockPickerProps, ClockPickerView, } from '@mui/x-date-pickers/ClockPicker';
|
|
2
|
+
export * from './ClockPicker';
|
package/ClockPicker/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from './ClockPicker';
|
|
2
|
-
export
|
|
2
|
+
export * from './ClockPicker';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DatePickerProps } from '@mui/x-date-pickers/DatePicker';
|
|
3
2
|
declare type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
3
|
propTypes?: any;
|
|
5
4
|
};
|
|
@@ -8,3 +7,4 @@ declare type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & Reac
|
|
|
8
7
|
*/
|
|
9
8
|
declare const DatePicker: DatePickerComponent;
|
|
10
9
|
export default DatePicker;
|
|
10
|
+
export declare type DatePickerProps<TDate> = Record<any, any>;
|