@mui/lab 5.0.0-alpha.86 → 5.0.0-alpha.87
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/index.d.ts +1 -1
- package/AdapterDayjs/index.d.ts +1 -1
- package/AdapterLuxon/index.d.ts +1 -1
- package/AdapterMoment/index.d.ts +1 -1
- package/CHANGELOG.md +69 -4
- package/CalendarPicker/CalendarPicker.d.ts +10 -10
- package/CalendarPicker/index.d.ts +3 -3
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +10 -10
- package/CalendarPickerSkeleton/index.d.ts +3 -3
- package/ClockPicker/ClockPicker.d.ts +10 -10
- package/ClockPicker/index.d.ts +3 -3
- package/DatePicker/DatePicker.d.ts +10 -10
- package/DatePicker/index.d.ts +2 -2
- package/DateRangePicker/DateRangePicker.d.ts +11 -11
- package/DateRangePicker/index.d.ts +2 -2
- package/DateRangePickerDay/DateRangePickerDay.d.ts +13 -13
- package/DateRangePickerDay/index.d.ts +2 -2
- package/DateTimePicker/DateTimePicker.d.ts +10 -10
- package/DateTimePicker/index.d.ts +2 -2
- package/DesktopDatePicker/DesktopDatePicker.d.ts +10 -10
- package/DesktopDatePicker/index.d.ts +2 -2
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +10 -10
- package/DesktopDateRangePicker/index.d.ts +2 -2
- package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +10 -10
- package/DesktopDateTimePicker/index.d.ts +2 -2
- package/DesktopTimePicker/DesktopTimePicker.d.ts +10 -10
- package/DesktopTimePicker/index.d.ts +2 -2
- package/LoadingButton/loadingButtonClasses.d.ts +22 -22
- package/LocalizationProvider/LocalizationProvider.d.ts +10 -10
- package/LocalizationProvider/index.d.ts +2 -2
- package/Masonry/Masonry.js +8 -3
- package/Masonry/masonryClasses.d.ts +8 -8
- package/MobileDatePicker/MobileDatePicker.d.ts +10 -10
- package/MobileDatePicker/index.d.ts +2 -2
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +10 -10
- package/MobileDateRangePicker/index.d.ts +2 -2
- package/MobileDateTimePicker/MobileDateTimePicker.d.ts +10 -10
- package/MobileDateTimePicker/index.d.ts +2 -2
- package/MobileTimePicker/MobileTimePicker.d.ts +10 -10
- package/MobileTimePicker/index.d.ts +2 -2
- package/MonthPicker/MonthPicker.d.ts +10 -10
- package/MonthPicker/index.d.ts +3 -3
- package/PickersDay/PickersDay.d.ts +10 -10
- package/PickersDay/index.d.ts +3 -3
- package/StaticDatePicker/StaticDatePicker.d.ts +10 -10
- package/StaticDatePicker/index.d.ts +2 -2
- package/StaticDateRangePicker/StaticDateRangePicker.d.ts +10 -10
- package/StaticDateRangePicker/index.d.ts +2 -2
- package/StaticDateTimePicker/StaticDateTimePicker.d.ts +10 -10
- package/StaticDateTimePicker/index.d.ts +2 -2
- package/StaticTimePicker/StaticTimePicker.d.ts +10 -10
- package/StaticTimePicker/index.d.ts +2 -2
- package/TabPanel/tabPanelClasses.d.ts +8 -8
- package/TimePicker/TimePicker.d.ts +10 -10
- package/TimePicker/index.d.ts +2 -2
- package/Timeline/Timeline.d.ts +59 -59
- package/Timeline/TimelineContext.d.ts +6 -6
- package/Timeline/index.d.ts +5 -5
- package/Timeline/timelineClasses.d.ts +3 -3
- package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
- package/TimelineContent/timelineContentClasses.d.ts +14 -14
- package/TimelineDot/timelineDotClasses.d.ts +24 -24
- package/TimelineItem/timelineItemClasses.d.ts +16 -16
- package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
- package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
- package/TreeItem/treeItemClasses.d.ts +24 -24
- package/TreeView/treeViewClasses.d.ts +8 -8
- package/YearPicker/YearPicker.d.ts +10 -10
- package/YearPicker/index.d.ts +2 -2
- package/index.js +1 -1
- package/internal/svg-icons/ArrowDropDown.d.ts +7 -7
- package/internal/svg-icons/ArrowLeft.d.ts +7 -7
- package/internal/svg-icons/ArrowRight.d.ts +7 -7
- package/internal/svg-icons/Calendar.d.ts +7 -7
- package/internal/svg-icons/Clock.d.ts +7 -7
- package/internal/svg-icons/DateRange.d.ts +7 -7
- package/internal/svg-icons/Pen.d.ts +7 -7
- package/internal/svg-icons/Time.d.ts +7 -7
- package/legacy/Masonry/Masonry.js +8 -3
- package/legacy/index.js +1 -1
- package/modern/Masonry/Masonry.js +8 -3
- package/modern/index.js +1 -1
- package/node/Masonry/Masonry.js +9 -3
- package/node/index.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AdapterDateFns as default } from '@mui/x-date-pickers/AdapterDateFns';
|
|
1
|
+
export { AdapterDateFns as default } from '@mui/x-date-pickers/AdapterDateFns';
|
package/AdapterDayjs/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AdapterDayjs as default } from '@mui/x-date-pickers/AdapterDayjs';
|
|
1
|
+
export { AdapterDayjs as default } from '@mui/x-date-pickers/AdapterDayjs';
|
package/AdapterLuxon/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AdapterLuxon as default } from '@mui/x-date-pickers/AdapterLuxon';
|
|
1
|
+
export { AdapterLuxon as default } from '@mui/x-date-pickers/AdapterLuxon';
|
package/AdapterMoment/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AdapterMoment as default } from '@mui/x-date-pickers/AdapterMoment';
|
|
1
|
+
export { AdapterMoment as default } from '@mui/x-date-pickers/AdapterMoment';
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,70 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.8.5
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.8.4..master -->
|
|
6
|
+
|
|
7
|
+
_Jun 20, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🚀 Added support for CSS variables in the `Avatar` component and the `SpeedDialAction` component respectively by @vicasas and @gin1314
|
|
12
|
+
- many other 🐛 bug fixes and 📚 documentation improvements
|
|
13
|
+
|
|
14
|
+
### `@mui/material@5.8.5`
|
|
15
|
+
|
|
16
|
+
- ​<!-- 30 -->[Avatar] Add support for CSS variables (#32499) @vicasas
|
|
17
|
+
- ​<!-- 19 -->[Dialog] Fix broken styles if `maxWidth` is set to `false` (#32987) @kmurgic
|
|
18
|
+
- ​<!-- 04 -->[SpeedDialAction] Add support for CSS variables (#32608) @gin1314
|
|
19
|
+
- ​<!-- 02 -->[Tabs] Increment scroll of the minimum amount possible (#33103) @oliviertassinari
|
|
20
|
+
|
|
21
|
+
### `@mui/codemod@5.8.5`
|
|
22
|
+
|
|
23
|
+
- ​<!-- 24 -->[codemod] Preserve comments within jss-to-tss-react (#33170) @ryancogswell
|
|
24
|
+
|
|
25
|
+
### `@mui/lab@5.0.0-alpha.87`
|
|
26
|
+
|
|
27
|
+
- ​<!-- 06 -->[Masonry] Fix flickering when used with React 18 (#33163) @mnajdova
|
|
28
|
+
|
|
29
|
+
### `@mui/base@5.0.0-alpha.86`
|
|
30
|
+
|
|
31
|
+
- ​<!-- 29 -->[BadgeUnstyled] Accept callbacks in componentsProps (#33176) @michaldudak
|
|
32
|
+
- ​<!-- 25 -->[ButtonUnstyled] Use useSlotProps (#33096) @michaldudak
|
|
33
|
+
- ​<!-- 11 -->[FormControlUnstyled] Accept callbacks in componentsProps (#33180) @michaldudak
|
|
34
|
+
- ​<!-- 10 -->[InputUnstyled] Use useSlotProps (#33094) @michaldudak
|
|
35
|
+
- ​<!-- 05 -->[ModalUnstyled] Define ownerState and slot props' types (#32901) @michaldudak
|
|
36
|
+
- ​<!-- 03 -->[SwitchUnstyled] Use useSlotProps (#33174) @michaldudak
|
|
37
|
+
|
|
38
|
+
### `@mui/joy@5.0.0-alpha.33`
|
|
39
|
+
|
|
40
|
+
- ​<!-- 09 -->[Joy] Add Checkbox documentation (#33171) @siriwatknp
|
|
41
|
+
- ​<!-- 08 -->[Joy] Add List documentation (#33120) @siriwatknp
|
|
42
|
+
- ​<!-- 07 -->[Joy] Make slider displays Joy classname (#33051) @siriwatknp
|
|
43
|
+
|
|
44
|
+
### Docs
|
|
45
|
+
|
|
46
|
+
- ​<!-- 28 -->[blog] Update Blogpost to clear confusion on "no impact" disclaimer. (#33131) @joserodolfofreitas
|
|
47
|
+
- ​<!-- 27 -->[blog] Add post about v5 Migration guide update (#33063) @samuelsycamore
|
|
48
|
+
- ​<!-- 26 -->[blog] Fix display on Safari (#33102) @oliviertassinari
|
|
49
|
+
- ​<!-- 18 -->[docs] Add guide on how to use MUI Base with Tailwind CSS (#33100) @mnajdova
|
|
50
|
+
- ​<!-- 17 -->[docs] Improve Joy template UX (#33159) @siriwatknp
|
|
51
|
+
- ​<!-- 16 -->[docs] Update Shadow DOM guide (#33160) @cherniavskii
|
|
52
|
+
- ​<!-- 15 -->[docs] Fix SEO regressions (#33106) @oliviertassinari
|
|
53
|
+
- ​<!-- 14 -->[docs] Add job ad in table of content (#33143) @mnajdova
|
|
54
|
+
- ​<!-- 13 -->[docs] Add customization as a value proposition (#33014) @oliviertassinari
|
|
55
|
+
- ​<!-- 12 -->[examples] Add example using nextjs & @mui/styles as a starter for the migration to v5 (#33005) @mnajdova
|
|
56
|
+
- ​<!-- 01 -->[website] Replace Airtable with Ashby links for applying to a opened position (#33193) @DanailH
|
|
57
|
+
|
|
58
|
+
### Core
|
|
59
|
+
|
|
60
|
+
- ​<!-- 31 -->[core] Add CSS variables support for Material UI components (#32835) @siriwatknp
|
|
61
|
+
- ​<!-- 23 -->[core] Add name to workspace root package.json (#33226) @Janpot
|
|
62
|
+
- ​<!-- 22 -->[core] Update bug template with generic instruction (#33153) @joserodolfofreitas
|
|
63
|
+
- ​<!-- 21 -->[core] Remove dead and redundant code (#33125) @oliviertassinari
|
|
64
|
+
- ​<!-- 20 -->[core] Improve inline code rendering within the details tag (#33086) @Harmouch101
|
|
65
|
+
|
|
66
|
+
All contributors of this release in alphabetical order: @cherniavskii, @DanailH, @gin1314, @Harmouch101, @Janpot, @joserodolfofreitas, @kmurgic, @michaldudak, @mnajdova, @oliviertassinari, @ryancogswell, @samuelsycamore, @siriwatknp, @vicasas
|
|
67
|
+
|
|
3
68
|
## 5.8.4
|
|
4
69
|
|
|
5
70
|
<!-- generated comparing v5.8.3..master -->
|
|
@@ -1101,7 +1166,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
1101
1166
|
- ​<!-- 25 -->[core] Update playwright docker to match the specified version (#31236) @siriwatknp
|
|
1102
1167
|
- ​<!-- 24 -->[core] Remove parallel on buildTypes (#31189) @siriwatknp
|
|
1103
1168
|
- ​<!-- 23 -->[core] Fix propTypes generation for optional any props (#31141) @m4theushw
|
|
1104
|
-
- ​<!-- 04 -->[
|
|
1169
|
+
- ​<!-- 04 -->[typescript] Remove variants deprecation (#31239) @siriwatknp
|
|
1105
1170
|
|
|
1106
1171
|
All contributors of this release in alphabetical order: @adriancampos, @Andarist, @bonellia, @davwheat, @greengiraffe, @hbjORbj, @iclaude3, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @PunitSoniME, @RedHeadphone, @robertwt7, @samuelsycamore, @siriwatknp, @sviande
|
|
1107
1172
|
|
|
@@ -1166,7 +1231,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
1166
1231
|
- [Select] Allow customizing Select based on its variant (#30788) @michaldudak
|
|
1167
1232
|
- [Portal] Re-export 'Portal' in material (#31003) @liradb2000
|
|
1168
1233
|
- [ToggleButton] Add prop types for `onClick` and `onChange` (#30883) @sydneyjodon-wk
|
|
1169
|
-
- [
|
|
1234
|
+
- [typescript] Added TypeText declaration to the exports file (#30890) @agauravdev
|
|
1170
1235
|
|
|
1171
1236
|
### `@mui/system@5.4.2`
|
|
1172
1237
|
|
|
@@ -4604,8 +4669,8 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
4604
4669
|
- ​<!-- 29 -->[Button] Rename `pending` prop to `loading` in LoadingButton (#25874) @m4theushw
|
|
4605
4670
|
|
|
4606
4671
|
```diff
|
|
4607
|
-
-<LoadingButton pending pendingIndicator="Pending
|
|
4608
|
-
+<LoadingButton loading loadingIndicator="Pending
|
|
4672
|
+
-<LoadingButton pending pendingIndicator="Pending…" pendingPosition="end" />
|
|
4673
|
+
+<LoadingButton loading loadingIndicator="Pending…" loadingPosition="end" />
|
|
4609
4674
|
```
|
|
4610
4675
|
|
|
4611
4676
|
- ​<!-- 25 -->[ButtonBase] Remove buttonRef prop (#25896) @m4theushw
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { CalendarPickerProps } from '@mui/x-date-pickers/CalendarPicker';
|
|
3
|
-
declare type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
-
propTypes?: any;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const CalendarPicker: CalendarPickerComponent;
|
|
10
|
-
export default CalendarPicker;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { CalendarPickerProps } from '@mui/x-date-pickers/CalendarPicker';
|
|
3
|
+
declare type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const CalendarPicker: CalendarPickerComponent;
|
|
10
|
+
export default CalendarPicker;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from './CalendarPicker';
|
|
2
|
-
export { calendarPickerClasses } from '@mui/x-date-pickers/CalendarPicker';
|
|
3
|
-
export type { CalendarPickerClassKey, CalendarPickerClasses, CalendarPickerProps, CalendarPickerView, } from '@mui/x-date-pickers/CalendarPicker';
|
|
1
|
+
export { default } from './CalendarPicker';
|
|
2
|
+
export { calendarPickerClasses } from '@mui/x-date-pickers/CalendarPicker';
|
|
3
|
+
export type { CalendarPickerClassKey, CalendarPickerClasses, CalendarPickerProps, CalendarPickerView, } from '@mui/x-date-pickers/CalendarPicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { CalendarPickerSkeletonProps } from '@mui/x-date-pickers/CalendarPickerSkeleton';
|
|
3
|
-
declare type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
-
propTypes?: any;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const CalendarPickerSkeleton: CalendarPickerSkeletonComponent;
|
|
10
|
-
export default CalendarPickerSkeleton;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { CalendarPickerSkeletonProps } from '@mui/x-date-pickers/CalendarPickerSkeleton';
|
|
3
|
+
declare type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const CalendarPickerSkeleton: CalendarPickerSkeletonComponent;
|
|
10
|
+
export default CalendarPickerSkeleton;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from './CalendarPickerSkeleton';
|
|
2
|
-
export { calendarPickerSkeletonClasses, getCalendarPickerSkeletonUtilityClass, } from '@mui/x-date-pickers/CalendarPickerSkeleton';
|
|
3
|
-
export type { CalendarPickerSkeletonClassKey, CalendarPickerSkeletonProps, } from '@mui/x-date-pickers/CalendarPickerSkeleton';
|
|
1
|
+
export { default } from './CalendarPickerSkeleton';
|
|
2
|
+
export { calendarPickerSkeletonClasses, getCalendarPickerSkeletonUtilityClass, } from '@mui/x-date-pickers/CalendarPickerSkeleton';
|
|
3
|
+
export type { CalendarPickerSkeletonClassKey, CalendarPickerSkeletonProps, } from '@mui/x-date-pickers/CalendarPickerSkeleton';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ClockPickerProps } from '@mui/x-date-pickers/ClockPicker';
|
|
3
|
-
declare type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
-
propTypes?: any;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const ClockPicker: ClockPickerComponent;
|
|
10
|
-
export default ClockPicker;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ClockPickerProps } from '@mui/x-date-pickers/ClockPicker';
|
|
3
|
+
declare type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const ClockPicker: ClockPickerComponent;
|
|
10
|
+
export default ClockPicker;
|
package/ClockPicker/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default } from './ClockPicker';
|
|
2
|
-
export { clockPickerClasses } from '@mui/x-date-pickers/ClockPicker';
|
|
3
|
-
export type { ClockPickerClasses, ClockPickerClassKey, ClockPickerProps, ClockPickerView, } from '@mui/x-date-pickers/ClockPicker';
|
|
1
|
+
export { default } from './ClockPicker';
|
|
2
|
+
export { clockPickerClasses } from '@mui/x-date-pickers/ClockPicker';
|
|
3
|
+
export type { ClockPickerClasses, ClockPickerClassKey, ClockPickerProps, ClockPickerView, } from '@mui/x-date-pickers/ClockPicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DatePickerProps } from '@mui/x-date-pickers/DatePicker';
|
|
3
|
-
declare type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
-
propTypes?: any;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const DatePicker: DatePickerComponent;
|
|
10
|
-
export default DatePicker;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DatePickerProps } from '@mui/x-date-pickers/DatePicker';
|
|
3
|
+
declare type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const DatePicker: DatePickerComponent;
|
|
10
|
+
export default DatePicker;
|
package/DatePicker/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './DatePicker';
|
|
2
|
-
export type { DatePickerProps } from '@mui/x-date-pickers/DatePicker';
|
|
1
|
+
export { default } from './DatePicker';
|
|
2
|
+
export type { DatePickerProps } from '@mui/x-date-pickers/DatePicker';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type DateRangePickerComponent = (<TDate>(props: DateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const DateRangePicker: DateRangePickerComponent;
|
|
9
|
-
export default DateRangePicker;
|
|
10
|
-
export declare type DateRangePickerProps = Record<any, any>;
|
|
11
|
-
export declare type DateRange<TDate> = [TDate | null, TDate | null];
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type DateRangePickerComponent = (<TDate>(props: DateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const DateRangePicker: DateRangePickerComponent;
|
|
9
|
+
export default DateRangePicker;
|
|
10
|
+
export declare type DateRangePickerProps = Record<any, any>;
|
|
11
|
+
export declare type DateRange<TDate> = [TDate | null, TDate | null];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './DateRangePicker';
|
|
2
|
-
export * from './DateRangePicker';
|
|
1
|
+
export { default } from './DateRangePicker';
|
|
2
|
+
export * from './DateRangePicker';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type DateRangePickerDayComponent = (<TDate>(props: DateRangePickerDayProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const DateRangePickerDay: DateRangePickerDayComponent;
|
|
9
|
-
export default DateRangePickerDay;
|
|
10
|
-
export declare const getDateRangePickerDayUtilityClass: (slot: string) => string;
|
|
11
|
-
export declare type DateRangePickerDayProps = Record<any, any>;
|
|
12
|
-
export declare type DateRangePickerDayClasses = any;
|
|
13
|
-
export declare type DateRangePickerDayClassKey = any;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type DateRangePickerDayComponent = (<TDate>(props: DateRangePickerDayProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const DateRangePickerDay: DateRangePickerDayComponent;
|
|
9
|
+
export default DateRangePickerDay;
|
|
10
|
+
export declare const getDateRangePickerDayUtilityClass: (slot: string) => string;
|
|
11
|
+
export declare type DateRangePickerDayProps = Record<any, any>;
|
|
12
|
+
export declare type DateRangePickerDayClasses = any;
|
|
13
|
+
export declare type DateRangePickerDayClassKey = any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './DateRangePickerDay';
|
|
2
|
-
export * from './DateRangePickerDay';
|
|
1
|
+
export { default } from './DateRangePickerDay';
|
|
2
|
+
export * from './DateRangePickerDay';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DateTimePickerProps } from '@mui/x-date-pickers/DateTimePicker';
|
|
3
|
-
declare type DateTimePickerComponent = (<TDate>(props: DateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
-
propTypes?: any;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const DateTimePicker: DateTimePickerComponent;
|
|
10
|
-
export default DateTimePicker;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DateTimePickerProps } from '@mui/x-date-pickers/DateTimePicker';
|
|
3
|
+
declare type DateTimePickerComponent = (<TDate>(props: DateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const DateTimePicker: DateTimePickerComponent;
|
|
10
|
+
export default DateTimePicker;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './DateTimePicker';
|
|
2
|
-
export type { DateTimePickerProps } from '@mui/x-date-pickers/DateTimePicker';
|
|
1
|
+
export { default } from './DateTimePicker';
|
|
2
|
+
export type { DateTimePickerProps } from '@mui/x-date-pickers/DateTimePicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DesktopDatePickerProps } from '@mui/x-date-pickers/DesktopDatePicker';
|
|
3
|
-
declare type DesktopDatePickerComponent = (<TDate>(props: DesktopDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
-
propTypes?: any;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const DesktopDatePicker: DesktopDatePickerComponent;
|
|
10
|
-
export default DesktopDatePicker;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DesktopDatePickerProps } from '@mui/x-date-pickers/DesktopDatePicker';
|
|
3
|
+
declare type DesktopDatePickerComponent = (<TDate>(props: DesktopDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const DesktopDatePicker: DesktopDatePickerComponent;
|
|
10
|
+
export default DesktopDatePicker;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './DesktopDatePicker';
|
|
2
|
-
export type { DesktopDatePickerProps } from '@mui/x-date-pickers/DesktopDatePicker';
|
|
1
|
+
export { default } from './DesktopDatePicker';
|
|
2
|
+
export type { DesktopDatePickerProps } from '@mui/x-date-pickers/DesktopDatePicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type DesktopDateRangePickerComponent = (<TDate>(props: DesktopDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const DesktopDateRangePicker: DesktopDateRangePickerComponent;
|
|
9
|
-
export default DesktopDateRangePicker;
|
|
10
|
-
export declare type DesktopDateRangePickerProps = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type DesktopDateRangePickerComponent = (<TDate>(props: DesktopDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const DesktopDateRangePicker: DesktopDateRangePickerComponent;
|
|
9
|
+
export default DesktopDateRangePicker;
|
|
10
|
+
export declare type DesktopDateRangePickerProps = Record<any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './DesktopDateRangePicker';
|
|
2
|
-
export * from './DesktopDateRangePicker';
|
|
1
|
+
export { default } from './DesktopDateRangePicker';
|
|
2
|
+
export * from './DesktopDateRangePicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DesktopDateTimePickerProps } from '@mui/x-date-pickers/DesktopDateTimePicker';
|
|
3
|
-
declare type DesktopDateTimePickerComponent = (<TDate>(props: DesktopDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
-
propTypes?: any;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const DesktopDateTimePicker: DesktopDateTimePickerComponent;
|
|
10
|
-
export default DesktopDateTimePicker;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DesktopDateTimePickerProps } from '@mui/x-date-pickers/DesktopDateTimePicker';
|
|
3
|
+
declare type DesktopDateTimePickerComponent = (<TDate>(props: DesktopDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const DesktopDateTimePicker: DesktopDateTimePickerComponent;
|
|
10
|
+
export default DesktopDateTimePicker;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './DesktopDateTimePicker';
|
|
2
|
-
export type { DesktopDateTimePickerProps } from '@mui/x-date-pickers/DesktopDateTimePicker';
|
|
1
|
+
export { default } from './DesktopDateTimePicker';
|
|
2
|
+
export type { DesktopDateTimePickerProps } from '@mui/x-date-pickers/DesktopDateTimePicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DesktopTimePickerProps } from '@mui/x-date-pickers/DesktopTimePicker';
|
|
3
|
-
declare type DesktopTimePickerComponent = (<TDate>(props: DesktopTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
-
propTypes?: any;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const DesktopTimePicker: DesktopTimePickerComponent;
|
|
10
|
-
export default DesktopTimePicker;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DesktopTimePickerProps } from '@mui/x-date-pickers/DesktopTimePicker';
|
|
3
|
+
declare type DesktopTimePickerComponent = (<TDate>(props: DesktopTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const DesktopTimePicker: DesktopTimePickerComponent;
|
|
10
|
+
export default DesktopTimePicker;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DesktopTimePicker as default } from '@mui/x-date-pickers/DesktopTimePicker';
|
|
2
|
-
export type { DesktopTimePickerProps } from '@mui/x-date-pickers/DesktopTimePicker';
|
|
1
|
+
export { DesktopTimePicker as default } from '@mui/x-date-pickers/DesktopTimePicker';
|
|
2
|
+
export type { DesktopTimePickerProps } from '@mui/x-date-pickers/DesktopTimePicker';
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export interface LoadingButtonClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `loading={true}`. */
|
|
5
|
-
loading: string;
|
|
6
|
-
/** Styles applied to the loadingIndicator element. */
|
|
7
|
-
loadingIndicator: string;
|
|
8
|
-
/** Styles applied to the loadingIndicator element if `loadingPosition="center"`. */
|
|
9
|
-
loadingIndicatorCenter: string;
|
|
10
|
-
/** Styles applied to the loadingIndicator element if `loadingPosition="start"`. */
|
|
11
|
-
loadingIndicatorStart: string;
|
|
12
|
-
/** Styles applied to the loadingIndicator element if `loadingPosition="end"`. */
|
|
13
|
-
loadingIndicatorEnd: string;
|
|
14
|
-
/** Styles applied to the endIcon element if `loading={true}` and `loadingPosition="end"`. */
|
|
15
|
-
endIconLoadingEnd: string;
|
|
16
|
-
/** Styles applied to the startIcon element if `loading={true}` and `loadingPosition="start"`. */
|
|
17
|
-
startIconLoadingStart: string;
|
|
18
|
-
}
|
|
19
|
-
export declare type LoadingButtonClassKey = keyof LoadingButtonClasses;
|
|
20
|
-
export declare function getLoadingButtonUtilityClass(slot: string): string;
|
|
21
|
-
declare const loadingButtonClasses: LoadingButtonClasses;
|
|
22
|
-
export default loadingButtonClasses;
|
|
1
|
+
export interface LoadingButtonClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `loading={true}`. */
|
|
5
|
+
loading: string;
|
|
6
|
+
/** Styles applied to the loadingIndicator element. */
|
|
7
|
+
loadingIndicator: string;
|
|
8
|
+
/** Styles applied to the loadingIndicator element if `loadingPosition="center"`. */
|
|
9
|
+
loadingIndicatorCenter: string;
|
|
10
|
+
/** Styles applied to the loadingIndicator element if `loadingPosition="start"`. */
|
|
11
|
+
loadingIndicatorStart: string;
|
|
12
|
+
/** Styles applied to the loadingIndicator element if `loadingPosition="end"`. */
|
|
13
|
+
loadingIndicatorEnd: string;
|
|
14
|
+
/** Styles applied to the endIcon element if `loading={true}` and `loadingPosition="end"`. */
|
|
15
|
+
endIconLoadingEnd: string;
|
|
16
|
+
/** Styles applied to the startIcon element if `loading={true}` and `loadingPosition="start"`. */
|
|
17
|
+
startIconLoadingStart: string;
|
|
18
|
+
}
|
|
19
|
+
export declare type LoadingButtonClassKey = keyof LoadingButtonClasses;
|
|
20
|
+
export declare function getLoadingButtonUtilityClass(slot: string): string;
|
|
21
|
+
declare const loadingButtonClasses: LoadingButtonClasses;
|
|
22
|
+
export default loadingButtonClasses;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { LocalizationProviderProps } from '@mui/x-date-pickers/LocalizationProvider';
|
|
3
|
-
declare type LocalizationProviderComponent = ((props: LocalizationProviderProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
-
propTypes?: any;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const LocalizationProvider: LocalizationProviderComponent;
|
|
10
|
-
export default LocalizationProvider;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { LocalizationProviderProps } from '@mui/x-date-pickers/LocalizationProvider';
|
|
3
|
+
declare type LocalizationProviderComponent = ((props: LocalizationProviderProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const LocalizationProvider: LocalizationProviderComponent;
|
|
10
|
+
export default LocalizationProvider;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './LocalizationProvider';
|
|
2
|
-
export type { LocalizationProviderProps } from '@mui/x-date-pickers/LocalizationProvider';
|
|
1
|
+
export { default } from './LocalizationProvider';
|
|
2
|
+
export type { LocalizationProviderProps } from '@mui/x-date-pickers/LocalizationProvider';
|
package/Masonry/Masonry.js
CHANGED
|
@@ -2,6 +2,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
const _excluded = ["children", "className", "component", "columns", "spacing", "defaultColumns", "defaultHeight", "defaultSpacing"];
|
|
4
4
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
5
|
+
import { flushSync } from 'react-dom';
|
|
5
6
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
6
7
|
import { createUnarySpacing, getValue, handleBreakpoints, unstable_resolveBreakpointValues as resolveBreakpointValues } from '@mui/system';
|
|
7
8
|
import { deepmerge, unstable_useForkRef as useForkRef } from '@mui/utils';
|
|
@@ -229,9 +230,13 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
|
|
|
229
230
|
});
|
|
230
231
|
|
|
231
232
|
if (!skip) {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
// In React 18, state updates in a ResizeObserver's callback are happening after the paint which causes flickering
|
|
234
|
+
// when doing some visual updates in it. Using flushSync ensures that the dom will be painted after the states updates happen
|
|
235
|
+
// Related issue - https://github.com/facebook/react/issues/24331
|
|
236
|
+
flushSync(() => {
|
|
237
|
+
setMaxColumnHeight(Math.max(...columnHeights));
|
|
238
|
+
setNumberOfLineBreaks(currentNumberOfColumns > 0 ? currentNumberOfColumns - 1 : 0);
|
|
239
|
+
});
|
|
235
240
|
}
|
|
236
241
|
};
|
|
237
242
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface MasonryClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type MasonryClassKey = keyof MasonryClasses;
|
|
6
|
-
export declare function getMasonryUtilityClass(slot: string): string;
|
|
7
|
-
declare const masonryClasses: MasonryClasses;
|
|
8
|
-
export default masonryClasses;
|
|
1
|
+
export interface MasonryClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export declare type MasonryClassKey = keyof MasonryClasses;
|
|
6
|
+
export declare function getMasonryUtilityClass(slot: string): string;
|
|
7
|
+
declare const masonryClasses: MasonryClasses;
|
|
8
|
+
export default masonryClasses;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { MobileDatePickerProps } from '@mui/x-date-pickers/MobileDatePicker';
|
|
3
|
-
declare type MobileDatePickerComponent = (<TDate>(props: MobileDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
-
propTypes?: any;
|
|
5
|
-
};
|
|
6
|
-
/**
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const MobileDatePicker: MobileDatePickerComponent;
|
|
10
|
-
export default MobileDatePicker;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { MobileDatePickerProps } from '@mui/x-date-pickers/MobileDatePicker';
|
|
3
|
+
declare type MobileDatePickerComponent = (<TDate>(props: MobileDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* @ignore - do not document.
|
|
8
|
+
*/
|
|
9
|
+
declare const MobileDatePicker: MobileDatePickerComponent;
|
|
10
|
+
export default MobileDatePicker;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './MobileDatePicker';
|
|
2
|
-
export type { MobileDatePickerProps } from '@mui/x-date-pickers/MobileDatePicker';
|
|
1
|
+
export { default } from './MobileDatePicker';
|
|
2
|
+
export type { MobileDatePickerProps } from '@mui/x-date-pickers/MobileDatePicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type MobileDateRangePickerComponent = (<TDate>(props: MobileDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const MobileDateRangePicker: MobileDateRangePickerComponent;
|
|
9
|
-
export default MobileDateRangePicker;
|
|
10
|
-
export declare type MobileDateRangePickerProps = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type MobileDateRangePickerComponent = (<TDate>(props: MobileDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const MobileDateRangePicker: MobileDateRangePickerComponent;
|
|
9
|
+
export default MobileDateRangePicker;
|
|
10
|
+
export declare type MobileDateRangePickerProps = Record<any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './MobileDateRangePicker';
|
|
2
|
-
export * from './MobileDateRangePicker';
|
|
1
|
+
export { default } from './MobileDateRangePicker';
|
|
2
|
+
export * from './MobileDateRangePicker';
|