@mui/lab 5.0.0-alpha.128 → 5.0.0-alpha.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/AdapterDateFns/AdapterDateFns.d.ts +3 -3
  2. package/AdapterDateFns/index.d.ts +1 -1
  3. package/AdapterDayjs/AdapterDayjs.d.ts +3 -3
  4. package/AdapterDayjs/index.d.ts +1 -1
  5. package/AdapterLuxon/AdapterLuxon.d.ts +3 -3
  6. package/AdapterLuxon/index.d.ts +1 -1
  7. package/AdapterMoment/AdapterMoment.d.ts +3 -3
  8. package/AdapterMoment/index.d.ts +1 -1
  9. package/CHANGELOG.md +120 -0
  10. package/CalendarPicker/CalendarPicker.d.ts +14 -14
  11. package/CalendarPicker/index.d.ts +2 -2
  12. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +13 -13
  13. package/CalendarPickerSkeleton/index.d.ts +2 -2
  14. package/ClockPicker/ClockPicker.d.ts +14 -14
  15. package/ClockPicker/index.d.ts +2 -2
  16. package/DatePicker/DatePicker.d.ts +10 -10
  17. package/DatePicker/index.d.ts +2 -2
  18. package/DateRangePicker/DateRangePicker.d.ts +11 -11
  19. package/DateRangePicker/index.d.ts +2 -2
  20. package/DateRangePickerDay/DateRangePickerDay.d.ts +13 -13
  21. package/DateRangePickerDay/index.d.ts +2 -2
  22. package/DateTimePicker/DateTimePicker.d.ts +10 -10
  23. package/DateTimePicker/index.d.ts +2 -2
  24. package/DesktopDatePicker/DesktopDatePicker.d.ts +10 -10
  25. package/DesktopDatePicker/index.d.ts +2 -2
  26. package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +10 -10
  27. package/DesktopDateRangePicker/index.d.ts +2 -2
  28. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +10 -10
  29. package/DesktopDateTimePicker/index.d.ts +2 -2
  30. package/DesktopTimePicker/DesktopTimePicker.d.ts +10 -10
  31. package/DesktopTimePicker/index.d.ts +2 -2
  32. package/LoadingButton/loadingButtonClasses.d.ts +22 -22
  33. package/LocalizationProvider/LocalizationProvider.d.ts +10 -10
  34. package/LocalizationProvider/index.d.ts +2 -2
  35. package/Masonry/masonryClasses.d.ts +8 -8
  36. package/MobileDatePicker/MobileDatePicker.d.ts +10 -10
  37. package/MobileDatePicker/index.d.ts +2 -2
  38. package/MobileDateRangePicker/MobileDateRangePicker.d.ts +10 -10
  39. package/MobileDateRangePicker/index.d.ts +2 -2
  40. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +10 -10
  41. package/MobileDateTimePicker/index.d.ts +2 -2
  42. package/MobileTimePicker/MobileTimePicker.d.ts +10 -10
  43. package/MobileTimePicker/index.d.ts +2 -2
  44. package/MonthPicker/MonthPicker.d.ts +13 -13
  45. package/MonthPicker/index.d.ts +2 -2
  46. package/PickersDay/PickersDay.d.ts +13 -13
  47. package/PickersDay/index.d.ts +2 -2
  48. package/StaticDatePicker/StaticDatePicker.d.ts +10 -10
  49. package/StaticDatePicker/index.d.ts +2 -2
  50. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +10 -10
  51. package/StaticDateRangePicker/index.d.ts +2 -2
  52. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +10 -10
  53. package/StaticDateTimePicker/index.d.ts +2 -2
  54. package/StaticTimePicker/StaticTimePicker.d.ts +10 -10
  55. package/StaticTimePicker/index.d.ts +2 -2
  56. package/TabPanel/tabPanelClasses.d.ts +8 -8
  57. package/TimePicker/TimePicker.d.ts +10 -10
  58. package/TimePicker/index.d.ts +2 -2
  59. package/Timeline/Timeline.d.ts +59 -59
  60. package/Timeline/Timeline.js +3 -0
  61. package/Timeline/TimelineContext.d.ts +6 -6
  62. package/Timeline/index.d.ts +5 -5
  63. package/Timeline/timelineClasses.d.ts +3 -3
  64. package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
  65. package/TimelineContent/timelineContentClasses.d.ts +14 -14
  66. package/TimelineDot/timelineDotClasses.d.ts +24 -24
  67. package/TimelineItem/timelineItemClasses.d.ts +16 -16
  68. package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
  69. package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
  70. package/TreeItem/treeItemClasses.d.ts +24 -24
  71. package/TreeView/treeViewClasses.d.ts +8 -8
  72. package/YearPicker/YearPicker.d.ts +14 -14
  73. package/YearPicker/index.d.ts +2 -2
  74. package/index.js +1 -1
  75. package/internal/svg-icons/ArrowDropDown.d.ts +7 -7
  76. package/internal/svg-icons/ArrowLeft.d.ts +7 -7
  77. package/internal/svg-icons/ArrowRight.d.ts +7 -7
  78. package/internal/svg-icons/Calendar.d.ts +7 -7
  79. package/internal/svg-icons/Clock.d.ts +7 -7
  80. package/internal/svg-icons/DateRange.d.ts +7 -7
  81. package/internal/svg-icons/Pen.d.ts +7 -7
  82. package/internal/svg-icons/Time.d.ts +7 -7
  83. package/legacy/Timeline/Timeline.js +3 -0
  84. package/legacy/index.js +1 -1
  85. package/modern/Timeline/Timeline.js +3 -0
  86. package/modern/index.js +1 -1
  87. package/node/TabContext/TabContext.js +1 -2
  88. package/node/Timeline/Timeline.js +1 -1
  89. package/node/TreeItem/TreeItemContent.js +2 -2
  90. package/node/TreeView/descendants.js +2 -3
  91. package/node/index.js +1 -1
  92. package/package.json +4 -4
@@ -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
+ }
@@ -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
+ }
@@ -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
+ }
@@ -1 +1 @@
1
- export { default } from './AdapterMoment';
1
+ export { default } from './AdapterMoment';
package/CHANGELOG.md CHANGED
@@ -1,5 +1,125 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.12.3
4
+
5
+ <!-- generated comparing v5.12.2..master -->
6
+
7
+ _May 2, 2023_
8
+
9
+ A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - all planned breaking changes for Base UI are done. The first beta release should come next week 🎉
12
+ - 🐛 bug fixes and 📚 documentation improvements.
13
+
14
+ ### `@mui/material@5.12.3`
15
+
16
+ - &#8203;<!-- 43 -->[Accordion] Add missing `component` type (#37111) @sai6855
17
+ - &#8203;<!-- 23 -->[ButtonGroup] Should not retain divider color when it is disabled and variant is `text` (#36967) @DavidBoyer11
18
+ - &#8203;<!-- 21 -->[Divider] Fix styles on dividers with text (#35072) @maxdestors
19
+ - &#8203;<!-- 04 -->[TextField] Improve IntelliSense support for props (#36737) @sai6855
20
+ - &#8203;<!-- 03 -->[TextField] Fix running click event on disabled (#36892) @sai6855
21
+
22
+ ### `@mui/joy@5.0.0-alpha.78`
23
+
24
+ - &#8203;<!-- 09 -->[Joy] Miscellaneous fixes and docs improvement (#37026) @siriwatknp
25
+
26
+ ### `@mui/base@5.0.0-alpha.128`
27
+
28
+ #### Breaking changes
29
+
30
+ - The `component` prop is no longer supported because it can be replaced with the slots API. This is how the transformation will look like:
31
+
32
+ ```diff
33
+ <Button
34
+ - component="span"
35
+ + slots={{ root: "span" }}
36
+ />
37
+ ```
38
+
39
+ If using TypeScript, the custom component type should be added as a generic on the `Button` component.
40
+
41
+ ```diff
42
+ -<Button
43
+ +<Button<typeof CustomComponent>
44
+ slots={{ root: CustomComponent }}
45
+ customProp="foo"
46
+ />
47
+ ```
48
+
49
+ There is codemod that you can run in your project to do the transformation:
50
+
51
+ ```sh
52
+ npx @mui/codemod v5.0.0/base-remove-component-prop <path>
53
+ ```
54
+
55
+ The full documentation about the codemod can be found [here](https://github.com/mui/material-ui/blob/master/packages/mui-codemod/README.md#base-remove-component-prop).
56
+
57
+ This is the list of PR related to this change:
58
+
59
+ - &#8203;<!-- 40 -->[Button][base] Drop `component` prop (#36677) @mnajdova
60
+ - &#8203;<!-- 42 -->[Badge][base] Drop `component` prop (#37028) @hbjORbj
61
+ - &#8203;<!-- 37 -->[FormControl][base] Drop component prop (#37031) @hbjORbj
62
+ - &#8203;<!-- 35 -->[Input][base] Drop component prop (#37057) @hbjORbj
63
+ - &#8203;<!-- 34 -->[Menu][base] Drop component prop (#37033) @hbjORbj
64
+ - &#8203;<!-- 33 -->[MenuItem][base] Drop component prop (#37032) @hbjORbj
65
+ - &#8203;<!-- 32 -->[Modal][base] Drop component prop (#37058) @hbjORbj
66
+ - &#8203;<!-- 31 -->[Option][base] Drop component prop (#37052) @hbjORbj
67
+ - &#8203;<!-- 30 -->[OptionGroup][base] Drop component prop (#37055) @hbjORbj
68
+ - &#8203;<!-- 31 -->[Popper][base] Drop component prop (#37084) @hbjORbj
69
+ - &#8203;<!-- 29 -->[Select][base] Drop component prop (#37035) @hbjORbj
70
+ - &#8203;<!-- 28 -->[Slider][base] Drop component prop (#37056) @hbjORbj
71
+ - &#8203;<!-- 27 -->[Snackbar][base] Drop component prop (#37041) @nicolas-ot
72
+ - &#8203;<!-- 26 -->[Switch][base] Drop component prop (#37053) @hbjORbj
73
+ - &#8203;<!-- 25 -->[Tab][base] Drop component prop (#36768) @sai6855
74
+ - &#8203;<!-- 24 -->[Tabs][base] Drop component prop (#36770) @sai6855
75
+ - &#8203;<!-- 08 -->[TablePagination][base] Drop component prop (#37059) @sai6855
76
+ - &#8203;<!-- 07 -->[TabPanel][base] Drop component prop (#37054) @sai6855
77
+ - &#8203;<!-- 06 -->[TabsList][base] Drop component prop (#37042) @sai6855
78
+
79
+ - &#8203;<!-- 41 -->[base] Improve API consistency (#36970) @michaldudak
80
+
81
+ Brought consistency to Base UI components and hooks' parameters and return values:
82
+
83
+ 1. Whenever a hook needs a ref, it's now called `<slot_name>Ref`, which matches the `get<slot_name>Props` in the return value.
84
+ 2. All hooks that accept external refs now return merged refs, making combining multiple hooks on one element easier. This was proven necessary in several compound components (like menuItem being both a button and a list item). The type of this value is `React.RefCallback` as using the more general `React.Ref` caused variance issues.
85
+ 3. Type of accepted refs is standardized to `React.Ref<Element>`
86
+ 4. Naming and typing of the forwarded ref in unstyled components were standardized - it's forwardedRef: React.ForwardedRef<Element> (unless a more specific type is needed).
87
+ 5. The shape of the definition of unstyled components was standardized - it's React.forwardRef(function Component(props: Props, forwardedRef: React.Ref<Element>) { ... });. Specifically, the generic parameters of forwardRef were removed as they are specified in function arguments.
88
+
89
+ #### Changes
90
+
91
+ - &#8203;<!-- 36 -->[FormControl][base] Do not use optional fields in useFormControlContext's return value (#37037) @michaldudak
92
+
93
+ ### Docs
94
+
95
+ - &#8203;<!-- 39 -->[base][docs] Add Base UI Quickstart Guide (#36717) @mj12albert
96
+ - &#8203;<!-- 20 -->[docs] Fix Material UI's API linking to Base UI (#37121) @mnajdova
97
+ - &#8203;<!-- 19 -->[docs] Fix pagination in the DataGrid demo (#37114) @cherniavskii
98
+ - &#8203;<!-- 18 -->[docs] Add notification to the release of the new Time Picker UI (#37065) @joserodolfofreitas
99
+ - &#8203;<!-- 17 -->[docs] Specify "Material UI" (not "MUI") where appropriate throughout the docs (#37066) @samuelsycamore
100
+ - &#8203;<!-- 16 -->[docs] Use focus-visible instead of focus for Menu demos (#36847) @michaldudak
101
+ - &#8203;<!-- 15 -->[docs] Fix small regressions API pages (#36972) @oliviertassinari
102
+ - &#8203;<!-- 14 -->[docs] Handle a few docs-feedback (#36977) @oliviertassinari
103
+ - &#8203;<!-- 13 -->[docs] Fix anchor link in customization (#37004) @oliviertassinari
104
+ - &#8203;<!-- 12 -->[docs] Add a note about minimal required version for theme merging to the guides (#36973) @jakub-stastny
105
+ - &#8203;<!-- 11 -->[docs] smooth scrolling added for `back to top` (#37011) @PunitSoniME
106
+ - &#8203;<!-- 10 -->[docs] Remove `useFormControl` return values from demos page (#37036) @ZeeshanTamboli
107
+ - &#8203;<!-- 47 --> [docs][base] Move styles to the bottom of demos code for `SwitchUnstyled` (#36720) @varunmulay22
108
+ - &#8203;<!-- 46 --> [docs][base] Move styles to the bottom of demos code for `InputUnstyled` (#36724) @varunmulay22
109
+ - &#8203;<!-- 45 --> [docs][base] Move styles to the bottom of demos code for `SliderUnstyled` (#36721) @varunmulay22
110
+ - &#8203;<!-- 44 --> [docs][base] Move styles to the bottom of demos code for `Snackbar` (#36719) @varunmulay22
111
+ - &#8203;<!-- 38 -->[docs][base] Move styles to the bottom of demos code for `SelectUnstyled` (#36718) @varunmulay22
112
+ - &#8203;<!-- 05 -->[templates] Image not displayed in blog layout of React template. (#36991) @navedqb
113
+ - &#8203;<!-- 02 -->[website] Take the design role offline @oliviertassinari
114
+ - &#8203;<!-- 01 -->[website] Fix URL convention @oliviertassinari
115
+ - &#8203;<!-- 21 -->[docs] Turn off job banner on docs (#36080) @joserodolfofreitas
116
+
117
+ ### Core
118
+
119
+ - &#8203;<!-- 22 -->[core] Allow type alias as well in hooks API docs generation (#37034) @ZeeshanTamboli
120
+
121
+ All contributors of this release in alphabetical order: @cherniavskii, @DavidBoyer11, @hbjORbj, @jakub-stastny, @joserodolfofreitas, @maxdestors, @michaldudak, @mj12albert, @mnajdova, @navedqb, @nicolas-ot, @oliviertassinari, @PunitSoniME, @sai6855, @samuelsycamore, @siriwatknp, @varunmulay22, @ZeeshanTamboli
122
+
3
123
  ## 5.12.2
4
124
 
5
125
  <!-- generated comparing v5.12.1..master -->
@@ -1,14 +1,14 @@
1
- import * as React from 'react';
2
- 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 type CalendarPickerClassKey = any;
12
- export type CalendarPickerClasses = any;
13
- export type CalendarPickerProps<TDate> = Record<any, any>;
14
- export type CalendarPickerView = 'year' | 'day' | 'month';
1
+ import * as React from 'react';
2
+ 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 type CalendarPickerClassKey = any;
12
+ export type CalendarPickerClasses = any;
13
+ export type CalendarPickerProps<TDate> = Record<any, any>;
14
+ export 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
- 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 type CalendarPickerSkeletonProps = Record<any, any>;
13
- export type CalendarPickerSkeletonClassKey = any;
1
+ import * as React from 'react';
2
+ 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 type CalendarPickerSkeletonProps = Record<any, any>;
13
+ export 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
- 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 type ClockPickerProps<TDate> = Record<any, any>;
12
- export type ClockPickerView = 'hours' | 'minutes' | 'seconds';
13
- export type ClockPickerClasses = any;
14
- export type ClockPickerClassKey = any;
1
+ import * as React from 'react';
2
+ 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 type ClockPickerProps<TDate> = Record<any, any>;
12
+ export type ClockPickerView = 'hours' | 'minutes' | 'seconds';
13
+ export type ClockPickerClasses = any;
14
+ export type ClockPickerClassKey = any;
@@ -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
- 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 type DatePickerProps<TDate> = Record<any, any>;
1
+ import * as React from 'react';
2
+ 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 type DatePickerProps<TDate> = Record<any, any>;
@@ -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
- 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 type DateRangePickerProps = Record<any, any>;
11
- export type DateRange<TDate> = [TDate | null, TDate | null];
1
+ import * as React from 'react';
2
+ 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 type DateRangePickerProps = Record<any, any>;
11
+ export 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
- 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 type DateRangePickerDayProps = Record<any, any>;
12
- export type DateRangePickerDayClasses = any;
13
- export type DateRangePickerDayClassKey = any;
1
+ import * as React from 'react';
2
+ 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 type DateRangePickerDayProps = Record<any, any>;
12
+ export type DateRangePickerDayClasses = any;
13
+ export 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
- 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 type DateTimePickerProps<TDate> = Record<any, any>;
1
+ import * as React from 'react';
2
+ 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 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
- 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 type DesktopDatePickerProps<TDate> = Record<any, any>;
1
+ import * as React from 'react';
2
+ 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 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
- 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 type DesktopDateRangePickerProps = Record<any, any>;
1
+ import * as React from 'react';
2
+ 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 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
- 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 type DesktopDateTimePickerProps<TDate> = Record<any, any>;
1
+ import * as React from 'react';
2
+ 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 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
- 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 type DesktopTimePickerProps<TDate> = Record<any, any>;
1
+ import * as React from 'react';
2
+ 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 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';
@@ -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 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 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
- 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 type LocalizationProviderProps = Record<any, any>;
1
+ import * as React from 'react';
2
+ 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 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 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 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
- type MobileDatePickerComponent = (<TDate>(props: MobileDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
3
- propTypes?: any;
4
- };
5
- /**
6
- * @ignore - do not document.
7
- */
8
- declare const MobileDatePicker: MobileDatePickerComponent;
9
- export default MobileDatePicker;
10
- export type MobileDatePickerProps<TDate> = Record<any, any>;
1
+ import * as React from 'react';
2
+ type MobileDatePickerComponent = (<TDate>(props: MobileDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
3
+ propTypes?: any;
4
+ };
5
+ /**
6
+ * @ignore - do not document.
7
+ */
8
+ declare const MobileDatePicker: MobileDatePickerComponent;
9
+ export default MobileDatePicker;
10
+ export type MobileDatePickerProps<TDate> = Record<any, any>;