@mui/lab 5.0.0-alpha.122 → 5.0.0-alpha.124

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 (88) 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 +114 -5
  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/TimelineContext.d.ts +6 -6
  61. package/Timeline/index.d.ts +5 -5
  62. package/Timeline/timelineClasses.d.ts +3 -3
  63. package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
  64. package/TimelineContent/timelineContentClasses.d.ts +14 -14
  65. package/TimelineDot/timelineDotClasses.d.ts +24 -24
  66. package/TimelineItem/timelineItemClasses.d.ts +16 -16
  67. package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
  68. package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
  69. package/TreeItem/treeItemClasses.d.ts +24 -24
  70. package/TreeView/treeViewClasses.d.ts +8 -8
  71. package/YearPicker/YearPicker.d.ts +14 -14
  72. package/YearPicker/index.d.ts +2 -2
  73. package/index.js +1 -1
  74. package/internal/svg-icons/ArrowDropDown.d.ts +7 -7
  75. package/internal/svg-icons/ArrowLeft.d.ts +7 -7
  76. package/internal/svg-icons/ArrowRight.d.ts +7 -7
  77. package/internal/svg-icons/Calendar.d.ts +7 -7
  78. package/internal/svg-icons/Clock.d.ts +7 -7
  79. package/internal/svg-icons/DateRange.d.ts +7 -7
  80. package/internal/svg-icons/Pen.d.ts +7 -7
  81. package/internal/svg-icons/Time.d.ts +7 -7
  82. package/legacy/index.js +1 -1
  83. package/modern/index.js +1 -1
  84. package/node/index.js +1 -1
  85. package/package.json +4 -4
  86. package/themeAugmentation/components.d.ts +5 -0
  87. package/themeAugmentation/overrides.d.ts +2 -0
  88. package/themeAugmentation/props.d.ts +2 -0
@@ -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,114 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.11.14
4
+
5
+ <!-- generated comparing v5.11.13..master -->
6
+
7
+ _Mar 21, 2023_
8
+
9
+ A big thanks to the 15 contributors who made this release possible.
10
+ This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
11
+
12
+ ### `@mui/material@5.11.14`
13
+
14
+ - [Breadcrumbs] Add ability to change icon used in `BreadcrumbCollapsed` through slots (#33812) @pratikkarad
15
+ - [Stepper] Add aria-current to active StepButton (#36526) @michalak111
16
+ - [TabScrollButton] Add ability to change left and right icons (#33863) @pratikkarad
17
+ - [ListItemButton] Respect LinkComponent (#34159) @zaverden
18
+ - [l10n] Add Central Kurdish (ku-CKB) locale (#36592) @HediMuhamad
19
+
20
+ ### `@mui/system@5.11.14`
21
+
22
+ - [system] Fix sx prop regression for fontWeight values (#36543) @mnajdova
23
+
24
+ ### `@mui/base@5.0.0-alpha.121`
25
+
26
+ - [docs][base] Improve the Slots Table in API docs (#36330) @hbjORbj
27
+
28
+ ### `@mui/joy@5.0.0-alpha.72`
29
+
30
+ - [Joy] Ensure new CSS variable naming is everywhere (#36460) @hbjORbj
31
+ - [Menu][joy] Classname listbox is missing (#36520) @hbjORbj
32
+ - [Joy] Fix `--List-decorator*` vars (#36595) @siriwatknp
33
+
34
+ ### `@mui/lab@5.0.0-alpha.124`
35
+
36
+ - [Masonry] Include Masonry in theme augmentation interface (#36533) @hbjORbj
37
+
38
+ ### Docs
39
+
40
+ - [blog] Post blog about Chamonix retreat to the website (#36517) @mikailaread
41
+ - [blog] Fix image layout shift (#36522) @oliviertassinari
42
+ - [docs] Use `theme.applyDarkStyles` for the rest of the docs (#36161) @siriwatknp
43
+ - [docs] Fix 301 and 404 links (#36555) @oliviertassinari
44
+ - [docs] Keep slot code order in API docs (#36499) @oliviertassinari
45
+ - [docs] Missing className on Migrating from JSS example (#36536) @gabrielnafuzi
46
+ - [docs] Fix function name for Joy templates (#36512) @hbjORbj
47
+ - [docs] Add multiline Chip example (#36437) @dav1app
48
+ - [docs] Add a new gold sponsor (#36518) @hbjORbj
49
+ - [docs][joy] Improve the Slots Table in API docs (#36328) @hbjORbj
50
+ - [docs] Fix virtualElement demo for Popper (#36320) @sai6855
51
+ - [docs] Fix typo in API docs (#36388) @RomanHotsiy
52
+ - [docs] Ensure classname displayed under Slots section in API docs exists (#36539) @hbjORbj
53
+ - [docs][joy] Build TS versions for Modal component demos (#36385) @varunmulay22
54
+ - [docs][joy] Build TS versions for Menu component demos (#36383) @varunmulay22
55
+ - [docs][joy] Build TS versions for Switch component demos (#36379) @varunmulay22
56
+ - [docs] Remove `shouldSkipGeneratingVar` usage (#36581) @siriwatknp
57
+ - [docs][material] Update Table's demo to show pointer cursor on clickable rows (#36546) @varunmulay22
58
+ - [website] Designer role changes (#36528) @danilo-leal
59
+ - [website] No association between showcase and MUI @oliviertassinari
60
+ - [website] Open Head of Operations role (#36501) @oliviertassinari
61
+ - [website] Limit sponsors description to two rows @oliviertassinari
62
+
63
+ ### Core
64
+
65
+ - [core] Fix CI @oliviertassinari
66
+ - [core] Fix blank line @oliviertassinari
67
+ - [website] Simplify internal ops @oliviertassinari
68
+
69
+ All contributors of this release in alphabetical order: @danilo-leal, @dav1app, @gabrielnafuzi, @hbjORbj, @HediMuhamad, @michalak111, @mikailaread, @mnajdova, @oliviertassinari, @pratikkarad, @RomanHotsiy, @sai6855, @siriwatknp, @varunmulay22, @zaverden
70
+
71
+ ## 5.11.13
72
+
73
+ <!-- generated comparing v5.11.12..master -->
74
+
75
+ _Mar 14, 2023_
76
+
77
+ A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
78
+
79
+ - @michaldudak added an option for [disabling the generation](https://mui.com/base/getting-started/customization/#disabling-default-css-classes) of the default classes in MUI Base (#35963)
80
+ - other 🐛 bug fixes and 📚 documentation improvements.
81
+
82
+ ### `@mui/material@5.11.13`
83
+
84
+ - &#8203;<!-- 13 -->[core] Bump MUI Base's version in Material UI (#36492) @hbjORbj
85
+ - &#8203;<!-- 17 -->[material] Export `shouldSkipGeneratingVar` from Material UI (#36489) @siriwatknp
86
+ - &#8203;<!-- 06 -->[Typography] Apply font properties to typography inherit variant (#33621) @oyar99
87
+
88
+ ### `@mui/base@5.0.0-alpha.121`
89
+
90
+ - &#8203;<!-- 16 -->[base] Disable classes generation via a context (#35963) @michaldudak
91
+ - &#8203;<!-- 15 -->[useMenu][base] Add return interface for useMenu hook (#36376) @HeVictor
92
+ - &#8203;<!-- 05 -->[useBadge] Add interface for the return value (#36042) @skevprog
93
+ - &#8203;<!-- 04 -->[useMenuItem] Add explicit return type (#36359) @rayrw
94
+ - &#8203;<!-- 03 -->[useTabs] Add explicit return type (#36047) @sai6855
95
+
96
+ ### Docs
97
+
98
+ - &#8203;<!-- 14 -->[blog] Update fields behavior on date pickers blog post (#36480) @joserodolfofreitas
99
+ - &#8203;<!-- 12 -->[docs] Info markdown not rendering in Contributing Guide README (#36487) @hbjORbj
100
+ - &#8203;<!-- 11 -->[docs] Remove 301 redirection to MUI X lab migration @oliviertassinari
101
+ - &#8203;<!-- 10 -->[docs] Fix a grammar error (#36486) @hbjORbj
102
+ - &#8203;<!-- 09 -->[docs] Add blog post notification for v6 release (#36446) @joserodolfofreitas
103
+ - &#8203;<!-- 08 -->[docs] Update link to v5 docs (#36421) @m4theushw
104
+ - &#8203;<!-- 07 -->[docs] Fix 404 in the API page links (#36419) @oliviertassinari
105
+ - &#8203;<!-- 08 -->[docs][joy] Error in the exemplary Codesandbox of using Material UI and Joy UI together (#36462) @hbjORbj
106
+ - &#8203;<!-- 06 -->[examples] Refactor to have better types in the Next.js + TypeScript examples (#36355) @erikian
107
+ - &#8203;<!-- 02 -->[website] Fix layout shift when loading /blog/mui-x-v6/ @oliviertassinari
108
+ - &#8203;<!-- 01 -->[website] Update stats (#36477) @hrutik7
109
+
110
+ All contributors of this release in alphabetical order: @erikian, @hbjORbj, @HeVictor, @hrutik7, @joserodolfofreitas, @m4theushw, @michaldudak, @oliviertassinari, @oyar99, @rayrw, @sai6855, @siriwatknp, @skevprog
111
+
3
112
  ## 5.11.12
4
113
 
5
114
  <!-- generated comparing v5.11.11..master -->
@@ -2242,7 +2351,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
2242
2351
  - 🧪 Exported Grid v2 as `Unstable_Grid2` (#33479) @siriwatknp
2243
2352
  - 📖 Added a guide for using Joy UI and Material UI together (#33396) @siriwatknp
2244
2353
  - 🐛 Fixed a few bugs in Material UI components. Thanks to @ZeeshanTamboli, @ivan-ngchakming, and @joebingham-wk.
2245
- - ⚠️ **[BREAKING CHANGE]** Date pickers were removed from the lab. Learn how to migrate by visiting the [migration guide](https://mui.com/x/react-date-pickers/migration-lab/). (#33386) @flaviendelangle
2354
+ - ⚠️ **[BREAKING CHANGE]** Date pickers were removed from the lab. Learn how to migrate by visiting the [migration guide](https://mui.com/x/migration/migration-pickers-lab/). (#33386) @flaviendelangle
2246
2355
  - many other 🐛 bug fixes and 📚 documentation improvements
2247
2356
  - our documentation site is now running with React 18! (#33196) @mnajdova
2248
2357
 
@@ -2268,7 +2377,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
2268
2377
 
2269
2378
  - [lab] Remove the pickers (#33386) @flaviendelangle
2270
2379
 
2271
- The pickers are moved to MUI X, check out the [migration guide](https://mui.com/x/react-date-pickers/migration-lab/).
2380
+ The pickers are moved to MUI X, check out the [migration guide](https://mui.com/x/migration/migration-pickers-lab/).
2272
2381
 
2273
2382
  **Changes**
2274
2383
 
@@ -9035,7 +9144,7 @@ _Nov 4, 2020_
9035
9144
  A big thanks to the 20 contributors who made this release possible. Here are some highlights ✨:
9036
9145
 
9037
9146
  - ⚛️ Add support for React 17 (#23311) @eps1lon.
9038
- React 17 release is unusual because it doesn't add any new developer-facing features. It was released a couple of days ago. You can learn more about it in the [introduction post](https://reactjs.org/blog/2020/10/20/react-v17.html). Material UI now supports `^16.8.0 || ^17.0.0`.
9147
+ React 17 release is unusual because it doesn't add any new developer-facing features. It was released a couple of days ago. You can learn more about it in the [introduction post](https://legacy.reactjs.org/blog/2020/10/20/react-v17.html). Material UI now supports `^16.8.0 || ^17.0.0`.
9039
9148
  - 🛠 Introduce a new `@material-ui/unstyled` package (#23270) @mnajdova.
9040
9149
  This package will host the unstyled version of the components. In this first iteration, only the Slider is available. You can find it documented under the [same page](https://mui.com/components/slider-styled/#unstyled-slider) as the styled version.
9041
9150
 
@@ -10044,7 +10153,7 @@ Here are some highlights ✨:
10044
10153
  #### Breaking changes
10045
10154
 
10046
10155
  - [Modal] Remove `onRendered` prop from Modal and Portal (#22464) @eps1lon
10047
- Depending on your use case either use a [callback ref](https://reactjs.org/docs/refs-and-the-dom.html#callback-refs) on the child element or an effect hook in the child component.
10156
+ Depending on your use case either use a [callback ref](https://legacy.reactjs.org/docs/refs-and-the-dom.html#callback-refs) on the child element or an effect hook in the child component.
10048
10157
 
10049
10158
  #### Changes
10050
10159
 
@@ -10507,7 +10616,7 @@ Here are some highlights ✨:
10507
10616
 
10508
10617
  - [RootRef] Remove component (#21974) @eps1lon
10509
10618
  This component was removed. You can get a reference to the underlying DOM node of our components via `ref` prop.
10510
- The component relied on [`ReactDOM.findDOMNode`](https://reactjs.org/docs/react-dom.html#finddomnode) which is [deprecated in `React.StrictMode`](https://reactjs.org/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage).
10619
+ The component relied on [`ReactDOM.findDOMNode`](https://legacy.reactjs.org/docs/react-dom.html#finddomnode) which is [deprecated in `React.StrictMode`](https://legacy.reactjs.org/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage).
10511
10620
 
10512
10621
  ```diff
10513
10622
  -<RootRef rootRef={ref}>
@@ -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';