@mui/lab 5.0.0-alpha.91 → 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 -3
- package/AdapterDateFns/index.d.ts +1 -1
- package/AdapterDayjs/AdapterDayjs.d.ts +3 -3
- package/AdapterDayjs/index.d.ts +1 -1
- package/AdapterLuxon/AdapterLuxon.d.ts +3 -3
- package/AdapterLuxon/index.d.ts +1 -1
- package/AdapterMoment/AdapterMoment.d.ts +3 -3
- package/AdapterMoment/index.d.ts +1 -1
- package/CHANGELOG.md +66 -4
- package/CalendarPicker/CalendarPicker.d.ts +14 -14
- package/CalendarPicker/index.d.ts +2 -2
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +13 -13
- package/CalendarPickerSkeleton/index.d.ts +2 -2
- package/ClockPicker/ClockPicker.d.ts +14 -14
- package/ClockPicker/index.d.ts +2 -2
- 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/LoadingButton.js +7 -14
- package/LoadingButton/loadingButtonClasses.d.ts +22 -22
- package/LocalizationProvider/LocalizationProvider.d.ts +10 -10
- package/LocalizationProvider/index.d.ts +2 -2
- 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 +13 -13
- package/MonthPicker/index.d.ts +2 -2
- package/PickersDay/PickersDay.d.ts +13 -13
- package/PickersDay/index.d.ts +2 -2
- 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 +14 -14
- 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/LoadingButton/LoadingButton.js +7 -14
- package/legacy/index.js +1 -1
- package/modern/LoadingButton/LoadingButton.js +7 -14
- package/modern/index.js +1 -1
- package/node/LoadingButton/LoadingButton.js +7 -14
- package/node/index.js +1 -1
- package/package.json +3 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export default class AdapterDateFns {
|
|
2
|
-
constructor();
|
|
3
|
-
}
|
|
1
|
+
export default class AdapterDateFns {
|
|
2
|
+
constructor();
|
|
3
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './AdapterDateFns';
|
|
1
|
+
export { default } from './AdapterDateFns';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export default class AdapterDayjs {
|
|
2
|
-
constructor();
|
|
3
|
-
}
|
|
1
|
+
export default class AdapterDayjs {
|
|
2
|
+
constructor();
|
|
3
|
+
}
|
package/AdapterDayjs/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './AdapterDayjs';
|
|
1
|
+
export { default } from './AdapterDayjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export default class AdapterLuxon {
|
|
2
|
-
constructor();
|
|
3
|
-
}
|
|
1
|
+
export default class AdapterLuxon {
|
|
2
|
+
constructor();
|
|
3
|
+
}
|
package/AdapterLuxon/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './AdapterLuxon';
|
|
1
|
+
export { default } from './AdapterLuxon';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export default class AdapterMoment {
|
|
2
|
-
constructor();
|
|
3
|
-
}
|
|
1
|
+
export default class AdapterMoment {
|
|
2
|
+
constructor();
|
|
3
|
+
}
|
package/AdapterMoment/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './AdapterMoment';
|
|
1
|
+
export { default } from './AdapterMoment';
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
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
|
+
|
|
3
65
|
## 5.9.1
|
|
4
66
|
|
|
5
67
|
<!-- generated comparing v5.9.0..master -->
|
|
@@ -2064,7 +2126,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
2064
2126
|
- ​<!-- 19 -->[docs] Sync translations with Crowdin (#30067) @l10nbot
|
|
2065
2127
|
- ​<!-- 18 -->[docs] Fix link on "Custom variables" section in the Theming page #30100 @danilo-leal
|
|
2066
2128
|
- ​<!-- 17 -->[docs] Fix justifyContent option in the Grid interactive demo (#30117) @danilo-leal
|
|
2067
|
-
- ​<!-- 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
|
|
2068
2130
|
- ​<!-- 15 -->[docs] Fix import example inside Unstyled Backdrop section (#30098) @TheodosiouTh
|
|
2069
2131
|
- ​<!-- 01 -->[website] Column pinning and Tree data are out (#30136) @oliviertassinari
|
|
2070
2132
|
- ​<!-- 07 -->[survey] Remove survey promotion items (#30122) @danilo-leal
|
|
@@ -2145,7 +2207,7 @@ A big thanks to the 25 contributors who made this release possible. Here are som
|
|
|
2145
2207
|
- ​<!-- 21 -->[docs] Update nextjs-typescript-example (#29974) @huydhoang
|
|
2146
2208
|
- ​<!-- 20 -->[docs] Add missing global state classes to API docs generator (#29945) @michaldudak
|
|
2147
2209
|
- ​<!-- 19 -->[docs] Fix benchmarks folder link (#29981) @fourjr
|
|
2148
|
-
- ​<!-- 18 -->[docs] Improve wording in
|
|
2210
|
+
- ​<!-- 18 -->[docs] Improve wording in Stack Overflow section of support page (#29956) @ronwarner
|
|
2149
2211
|
- ​<!-- 17 -->[docs] Remove Black Friday sale notification (#29936) @mbrookes
|
|
2150
2212
|
- ​<!-- 16 -->[examples] Fix typos in the Remix example (#30071) @MichaelDeBoey
|
|
2151
2213
|
- ​<!-- 15 -->[examples] Add Remix example (#29952) @mnajdova
|
|
@@ -2158,7 +2220,7 @@ A big thanks to the 25 contributors who made this release possible. Here are som
|
|
|
2158
2220
|
### Core
|
|
2159
2221
|
|
|
2160
2222
|
- ​<!-- 31 -->[core] Batch small changes (#30042) @oliviertassinari
|
|
2161
|
-
- ​<!-- 28 -->[core] Transition to a new
|
|
2223
|
+
- ​<!-- 28 -->[core] Transition to a new Stack Overflow tag (#29967) @oliviertassinari
|
|
2162
2224
|
|
|
2163
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
|
|
2164
2226
|
|
|
@@ -5844,7 +5906,7 @@ A big thanks to the 30 contributors who made this release possible. Here are som
|
|
|
5844
5906
|
#### Breaking changes
|
|
5845
5907
|
|
|
5846
5908
|
- ​<!-- 91 -->[types] Rename the exported `Omit` type in `@material-ui/types`. (#24795) @petyosi
|
|
5847
|
-
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).
|
|
5848
5910
|
|
|
5849
5911
|
```diff
|
|
5850
5912
|
-import { Omit } from '@material-ui/types';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const CalendarPicker: CalendarPickerComponent;
|
|
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
|
+
import * as React from 'react';
|
|
2
|
+
declare type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const CalendarPicker: CalendarPickerComponent;
|
|
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,2 +1,2 @@
|
|
|
1
|
-
export { default } from './CalendarPicker';
|
|
2
|
-
export * from './CalendarPicker';
|
|
1
|
+
export { default } from './CalendarPicker';
|
|
2
|
+
export * from './CalendarPicker';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const CalendarPickerSkeleton: CalendarPickerSkeletonComponent;
|
|
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
|
+
import * as React from 'react';
|
|
2
|
+
declare type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const CalendarPickerSkeleton: CalendarPickerSkeletonComponent;
|
|
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,2 +1,2 @@
|
|
|
1
|
-
export { default } from './CalendarPickerSkeleton';
|
|
2
|
-
export * from './CalendarPickerSkeleton';
|
|
1
|
+
export { default } from './CalendarPickerSkeleton';
|
|
2
|
+
export * from './CalendarPickerSkeleton';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const ClockPicker: ClockPickerComponent;
|
|
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
|
+
import * as React from 'react';
|
|
2
|
+
declare type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const ClockPicker: ClockPickerComponent;
|
|
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;
|
package/ClockPicker/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './ClockPicker';
|
|
2
|
-
export * from './ClockPicker';
|
|
1
|
+
export { default } from './ClockPicker';
|
|
2
|
+
export * from './ClockPicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const DatePicker: DatePickerComponent;
|
|
9
|
-
export default DatePicker;
|
|
10
|
-
export declare type DatePickerProps<TDate> = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const DatePicker: DatePickerComponent;
|
|
9
|
+
export default DatePicker;
|
|
10
|
+
export declare type DatePickerProps<TDate> = Record<any, any>;
|
package/DatePicker/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './DatePicker';
|
|
2
|
-
export * from './DatePicker';
|
|
1
|
+
export { default } from './DatePicker';
|
|
2
|
+
export * from './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
|
-
declare type DateTimePickerComponent = (<TDate>(props: DateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const DateTimePicker: DateTimePickerComponent;
|
|
9
|
-
export default DateTimePicker;
|
|
10
|
-
export declare type DateTimePickerProps<TDate> = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type DateTimePickerComponent = (<TDate>(props: DateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const DateTimePicker: DateTimePickerComponent;
|
|
9
|
+
export default DateTimePicker;
|
|
10
|
+
export declare type DateTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './DateTimePicker';
|
|
2
|
-
export * from './DateTimePicker';
|
|
1
|
+
export { default } from './DateTimePicker';
|
|
2
|
+
export * from './DateTimePicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type DesktopDatePickerComponent = (<TDate>(props: DesktopDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const DesktopDatePicker: DesktopDatePickerComponent;
|
|
9
|
-
export default DesktopDatePicker;
|
|
10
|
-
export declare type DesktopDatePickerProps<TDate> = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type DesktopDatePickerComponent = (<TDate>(props: DesktopDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const DesktopDatePicker: DesktopDatePickerComponent;
|
|
9
|
+
export default DesktopDatePicker;
|
|
10
|
+
export declare type DesktopDatePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './DesktopDatePicker';
|
|
2
|
-
export * from './DesktopDatePicker';
|
|
1
|
+
export { default } from './DesktopDatePicker';
|
|
2
|
+
export * from './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
|
-
declare type DesktopDateTimePickerComponent = (<TDate>(props: DesktopDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const DesktopDateTimePicker: DesktopDateTimePickerComponent;
|
|
9
|
-
export default DesktopDateTimePicker;
|
|
10
|
-
export declare type DesktopDateTimePickerProps<TDate> = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type DesktopDateTimePickerComponent = (<TDate>(props: DesktopDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const DesktopDateTimePicker: DesktopDateTimePickerComponent;
|
|
9
|
+
export default DesktopDateTimePicker;
|
|
10
|
+
export declare type DesktopDateTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './DesktopDateTimePicker';
|
|
2
|
-
export * from './DesktopDateTimePicker';
|
|
1
|
+
export { default } from './DesktopDateTimePicker';
|
|
2
|
+
export * from './DesktopDateTimePicker';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type DesktopTimePickerComponent = (<TDate>(props: DesktopTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const DesktopTimePicker: DesktopTimePickerComponent;
|
|
9
|
-
export default DesktopTimePicker;
|
|
10
|
-
export declare type DesktopTimePickerProps<TDate> = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type DesktopTimePickerComponent = (<TDate>(props: DesktopTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const DesktopTimePicker: DesktopTimePickerComponent;
|
|
9
|
+
export default DesktopTimePicker;
|
|
10
|
+
export declare type DesktopTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './DesktopTimePicker';
|
|
2
|
-
export * from './DesktopTimePicker';
|
|
1
|
+
export { default } from './DesktopTimePicker';
|
|
2
|
+
export * from './DesktopTimePicker';
|
|
@@ -145,7 +145,12 @@ const LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inPro
|
|
|
145
145
|
});
|
|
146
146
|
|
|
147
147
|
const classes = useUtilityClasses(ownerState);
|
|
148
|
-
|
|
148
|
+
const loadingButtonLoadingIndicator = loading ? /*#__PURE__*/_jsx(LoadingButtonLoadingIndicator, {
|
|
149
|
+
className: classes.loadingIndicator,
|
|
150
|
+
ownerState: ownerState,
|
|
151
|
+
children: loadingIndicator
|
|
152
|
+
}) : null;
|
|
153
|
+
return /*#__PURE__*/_jsxs(LoadingButtonRoot, _extends({
|
|
149
154
|
disabled: disabled || loading,
|
|
150
155
|
id: id,
|
|
151
156
|
ref: ref
|
|
@@ -153,19 +158,7 @@ const LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inPro
|
|
|
153
158
|
variant: variant,
|
|
154
159
|
classes: classes,
|
|
155
160
|
ownerState: ownerState,
|
|
156
|
-
children: ownerState.loadingPosition === 'end' ?
|
|
157
|
-
children: [children, loading && /*#__PURE__*/_jsx(LoadingButtonLoadingIndicator, {
|
|
158
|
-
className: classes.loadingIndicator,
|
|
159
|
-
ownerState: ownerState,
|
|
160
|
-
children: loadingIndicator
|
|
161
|
-
})]
|
|
162
|
-
}) : /*#__PURE__*/_jsxs(React.Fragment, {
|
|
163
|
-
children: [loading && /*#__PURE__*/_jsx(LoadingButtonLoadingIndicator, {
|
|
164
|
-
className: classes.loadingIndicator,
|
|
165
|
-
ownerState: ownerState,
|
|
166
|
-
children: loadingIndicator
|
|
167
|
-
}), children]
|
|
168
|
-
})
|
|
161
|
+
children: [ownerState.loadingPosition === 'end' ? children : loadingButtonLoadingIndicator, ownerState.loadingPosition === 'end' ? loadingButtonLoadingIndicator : children]
|
|
169
162
|
}));
|
|
170
163
|
});
|
|
171
164
|
process.env.NODE_ENV !== "production" ? LoadingButton.propTypes
|
|
@@ -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
|
-
declare type LocalizationProviderComponent = ((props: LocalizationProviderProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const LocalizationProvider: LocalizationProviderComponent;
|
|
9
|
-
export default LocalizationProvider;
|
|
10
|
-
export declare type LocalizationProviderProps = Record<any, any>;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare type LocalizationProviderComponent = ((props: LocalizationProviderProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
|
|
3
|
+
propTypes?: any;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* @ignore - do not document.
|
|
7
|
+
*/
|
|
8
|
+
declare const LocalizationProvider: LocalizationProviderComponent;
|
|
9
|
+
export default LocalizationProvider;
|
|
10
|
+
export declare type LocalizationProviderProps = Record<any, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from './LocalizationProvider';
|
|
2
|
-
export * from './LocalizationProvider';
|
|
1
|
+
export { default } from './LocalizationProvider';
|
|
2
|
+
export * from './LocalizationProvider';
|
|
@@ -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;
|