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

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 (89) 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 +144 -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/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/TreeItem.js +7 -1
  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/TreeItem/TreeItem.js +7 -1
  84. package/legacy/index.js +1 -1
  85. package/modern/TreeItem/TreeItem.js +7 -1
  86. package/modern/index.js +1 -1
  87. package/node/TreeItem/TreeItem.js +7 -1
  88. package/node/index.js +1 -1
  89. 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,149 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.11.12
4
+
5
+ <!-- generated comparing v5.11.11..master -->
6
+
7
+ _Mar 6, 2023_
8
+
9
+ A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - @michaldudak added the multiselect functionality to SelectUnstyled (#36274)
12
+ - @mnajdova updated `extendTheme` so that it can generate CSS variables with default values. This means that the `CssVarsProvider` is no longer required for Joy UI when using the default theme (#35739)
13
+ - other 🐛 bug fixes and 📚 documentation improvements.
14
+
15
+ ### `@mui/material@5.11.12`
16
+
17
+ - &#8203;<!-- 30 -->[Autocomplete] Fix list scrolls to the top when new data is added on touch devices (#36231) @SaidMarar
18
+ - &#8203;<!-- 29 -->[Autocomplete] Add `Mui-expanded` class (#33312) @Osman-Sodefa
19
+ - &#8203;<!-- 24 -->[Dialog] Use the `id` prop provided to the `DialogTitle` component (#36353) @Kundan28
20
+ - &#8203;<!-- 07 -->[Menu] Fix Menu Paper styles overriding in the theme (#36316) @Paatus
21
+
22
+ ### `@mui/lab@5.0.0-alpha.122`
23
+
24
+ - &#8203;<!-- 05 -->[TreeView] Fix Tree View inside shadow root crashes (#36225) @NoFr1ends
25
+
26
+ ### `@mui/system@5.11.12`
27
+
28
+ #### Breaking changes
29
+
30
+ - &#8203;<!-- 26 -->[core] Generate vars in `extendTheme` (#35739) @mnajdova
31
+
32
+ The `shouldSkipGeneratingVar` prop was moved from the `createCssVarsProvider`'s option to the `theme`. If the default theme does not use `extendTheme` from Material UI or Joy UI, it needs to be wrapped inside `unstable_createCssVarsTheme` - a util exported from the MUI System. Below is an example of how the migration should look like:
33
+
34
+ ```diff
35
+ import {
36
+ unstable_createCssVarsProvider as createCssVarsProvider,
37
+ + unstable_createCssVarsTheme as createCssVarsTheme,
38
+ } from '@mui/system';
39
+
40
+ const { CssVarsProvider } = createCssVarsProvider({
41
+ - theme: {
42
+ + theme: createCssVarsTheme({
43
+ colorSchemes: {
44
+ light: {
45
+ typography: {
46
+ htmlFontSize: '16px',
47
+ h1: {
48
+ fontSize: '1rem',
49
+ fontWeight: 500,
50
+ },
51
+ },
52
+ },
53
+ },
54
+ + shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1',
55
+ - },
56
+ + }),
57
+ defaultColorScheme: 'light',
58
+ - shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1',
59
+ });
60
+ ```
61
+
62
+ Or you can define it directly in the theme prop:
63
+
64
+ ```diff
65
+ <CssVarsProvider
66
+ + theme={createCssVarsProvider({
67
+ + // other theme keys
68
+ + shouldSkipGeneratingVar: (keys) => keys[0] === 'typography' && keys[1] === 'h1'
69
+ + })} />
70
+ ```
71
+
72
+ This breaking change **only** affects experimental APIs
73
+
74
+ ### `@mui/base@5.0.0-alpha.120`
75
+
76
+ #### Breaking changes
77
+
78
+ - &#8203;<!-- 27 -->[Select][base] Add the multiselect functionality to SelectUnstyled (#36274) @michaldudak
79
+
80
+ The MultiSelectUnstyled was removed. The `SelectUnstyled` component with the `multiple` prop should be used instead. Additionally, the SelectUnstyledProps received a second generic parameter: `Multiple extends boolean`. If you deal with strictly single- or multi-select components, you can hard-code this parameter to `false` or `true`, respectively. Below is an example of how the migration should look like:
81
+
82
+ ```diff
83
+ -import MultiSelectUnstyled from '@mui/base/MultiSelectUnstyled';
84
+ +import SelectUnstyled from '@mui/base/SelectUnstyled';
85
+
86
+ export default App() {
87
+ -return <MultiSelectUnstyled />
88
+ +return <SelectUnstyled multiple />
89
+ }
90
+ ```
91
+
92
+ #### Changes
93
+
94
+ - &#8203;<!-- 34 -->[useSnackBar] Add explicit return type (#36052) @sai6855
95
+ - &#8203;<!-- 04 -->[useMenu] Fix `import type` syntax (#36411) @ZeeshanTamboli
96
+ - &#8203;<!-- 03 -->[useSwitch] Add explicit return type (#36050) @sai6855
97
+
98
+ ### `@mui/joy@5.0.0-alpha.70`
99
+
100
+ #### Breaking changes
101
+
102
+ - &#8203;<!-- 09 -->[Joy] Change CSS variables naming for components (#36282) @hbjORbj
103
+
104
+ Joy UI has new naming standards of the CSS variables for its components. Below is an example of how the migration should look like:
105
+
106
+ ```diff
107
+ -<List sx={{ py: 'var(--List-divider-gap)' }}>
108
+ +<List sx={{ py: 'var(--ListDivider-gap)' }}>
109
+ -<Switch sx={{ '--Switch-track-width': '40px' }}>
110
+ +<Switch sx={{ '--Switch-trackWidth': '40px' }}>
111
+ ```
112
+
113
+ #### Changes
114
+
115
+ - &#8203;<!-- 28 -->[Autocomplete][joy] Add disabled class to the popup indicator (#36397) @hbjORbj
116
+ - &#8203;<!-- 08 -->[Joy] Fix broken loading button in Safari (#36298) @Kuba429
117
+
118
+ ### Docs
119
+
120
+ - &#8203;<!-- 33 -->[docs][joy] Clarify when `CssVarsProvider` is required (#36410) @mnajdova
121
+ - &#8203;<!-- 32 -->MUI X v6 release announcement (#36398) @joserodolfofreitas
122
+ - &#8203;<!-- 23 -->[docs] Add instructions for deploying docs without a release (#36301) @cherniavskii
123
+ - &#8203;<!-- 22 -->[docs] Fix 301 redirections on the docs @oliviertassinari
124
+ - &#8203;<!-- 21 -->[docs] Update MUI X banner to reflect stable release (#36354) @MBilalShafi
125
+ - &#8203;<!-- 20 -->[docs] Clarify the future plan for integrating MUI Base in Material UI (#36365) @mnajdova
126
+ - &#8203;<!-- 19 -->[docs] Improve visual look of loose lists (#36190) @oliviertassinari
127
+ - &#8203;<!-- 18 -->[docs] Fix @mui/styles example links (#36331) @oliviertassinari
128
+ - &#8203;<!-- 17 -->[docs][joy] Build TS versions for List component demos (#36382) @sai6855
129
+ - &#8203;<!-- 16 -->[docs][joy] Build TS versions for Radio component demos (#36406) @sai6855
130
+ - &#8203;<!-- 15 -->[docs][joy] Build TS versions for Checkbox component demos (#36381) @sai6855
131
+ - &#8203;<!-- 14 -->[docs][joy] Build TS versions for Select component demos (#36380) @sai6855
132
+ - &#8203;<!-- 13 -->[docs][joy] Build TS versions for Typography component demos (#36378) @varunmulay22
133
+ - &#8203;<!-- 12 -->[docs][joy] Add typescript demos for `Divider` (#36374) @sai6855
134
+ - &#8203;<!-- 11 -->[docs][joy] Build TS versions for Textarea component demos (#36371) @varunmulay22
135
+ - &#8203;<!-- 10 -->[docs][joy] Build TS versions for Link component demos (#36366) @hbjORbj
136
+
137
+ ### Core
138
+
139
+ - &#8203;<!-- 31 -->Revert "Bump rimraf to ^4.1.3" (#36420) @mnajdova
140
+ - &#8203;<!-- 25 -->[core] Fix test utils types and external `buildApiUtils` usage issues (#36310) @LukasTy
141
+ - &#8203;<!-- 06 -->[test] Remove duplicate `combobox` role queries in Autocomplete tests (#36394) @ZeeshanTamboli
142
+ - &#8203;<!-- 02 -->[website] Clarify redistribution @oliviertassinari
143
+ - &#8203;<!-- 01 -->[website] Sync /about page (#36334) @oliviertassinari
144
+
145
+ All contributors of this release in alphabetical order: @cherniavskii, @hbjORbj, @joserodolfofreitas, @Kuba429, @Kundan28, @LukasTy, @MBilalShafi, @michaldudak, @mnajdova, @NoFr1ends, @oliviertassinari, @Osman-Sodefa, @Paatus, @sai6855, @SaidMarar, @varunmulay22, @ZeeshanTamboli
146
+
3
147
  ## 5.11.11
4
148
 
5
149
  <!-- generated comparing v5.11.10..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;