@mui/lab 5.0.0-alpha.86 → 5.0.0-alpha.89

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 (85) hide show
  1. package/AdapterDateFns/index.d.ts +1 -1
  2. package/AdapterDayjs/index.d.ts +1 -1
  3. package/AdapterLuxon/index.d.ts +1 -1
  4. package/AdapterMoment/index.d.ts +1 -1
  5. package/CHANGELOG.md +185 -4
  6. package/CalendarPicker/CalendarPicker.d.ts +10 -10
  7. package/CalendarPicker/index.d.ts +3 -3
  8. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +10 -10
  9. package/CalendarPickerSkeleton/index.d.ts +3 -3
  10. package/ClockPicker/ClockPicker.d.ts +10 -10
  11. package/ClockPicker/index.d.ts +3 -3
  12. package/DatePicker/DatePicker.d.ts +10 -10
  13. package/DatePicker/index.d.ts +2 -2
  14. package/DateRangePicker/DateRangePicker.d.ts +11 -11
  15. package/DateRangePicker/index.d.ts +2 -2
  16. package/DateRangePickerDay/DateRangePickerDay.d.ts +13 -13
  17. package/DateRangePickerDay/index.d.ts +2 -2
  18. package/DateTimePicker/DateTimePicker.d.ts +10 -10
  19. package/DateTimePicker/index.d.ts +2 -2
  20. package/DesktopDatePicker/DesktopDatePicker.d.ts +10 -10
  21. package/DesktopDatePicker/index.d.ts +2 -2
  22. package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +10 -10
  23. package/DesktopDateRangePicker/index.d.ts +2 -2
  24. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +10 -10
  25. package/DesktopDateTimePicker/index.d.ts +2 -2
  26. package/DesktopTimePicker/DesktopTimePicker.d.ts +10 -10
  27. package/DesktopTimePicker/index.d.ts +2 -2
  28. package/LoadingButton/loadingButtonClasses.d.ts +22 -22
  29. package/LocalizationProvider/LocalizationProvider.d.ts +10 -10
  30. package/LocalizationProvider/index.d.ts +2 -2
  31. package/Masonry/Masonry.js +8 -3
  32. package/Masonry/masonryClasses.d.ts +8 -8
  33. package/MobileDatePicker/MobileDatePicker.d.ts +10 -10
  34. package/MobileDatePicker/index.d.ts +2 -2
  35. package/MobileDateRangePicker/MobileDateRangePicker.d.ts +10 -10
  36. package/MobileDateRangePicker/index.d.ts +2 -2
  37. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +10 -10
  38. package/MobileDateTimePicker/index.d.ts +2 -2
  39. package/MobileTimePicker/MobileTimePicker.d.ts +10 -10
  40. package/MobileTimePicker/index.d.ts +2 -2
  41. package/MonthPicker/MonthPicker.d.ts +10 -10
  42. package/MonthPicker/index.d.ts +3 -3
  43. package/PickersDay/PickersDay.d.ts +10 -10
  44. package/PickersDay/index.d.ts +3 -3
  45. package/StaticDatePicker/StaticDatePicker.d.ts +10 -10
  46. package/StaticDatePicker/index.d.ts +2 -2
  47. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +10 -10
  48. package/StaticDateRangePicker/index.d.ts +2 -2
  49. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +10 -10
  50. package/StaticDateTimePicker/index.d.ts +2 -2
  51. package/StaticTimePicker/StaticTimePicker.d.ts +10 -10
  52. package/StaticTimePicker/index.d.ts +2 -2
  53. package/TabPanel/tabPanelClasses.d.ts +8 -8
  54. package/TimePicker/TimePicker.d.ts +10 -10
  55. package/TimePicker/index.d.ts +2 -2
  56. package/Timeline/Timeline.d.ts +59 -59
  57. package/Timeline/TimelineContext.d.ts +6 -6
  58. package/Timeline/index.d.ts +5 -5
  59. package/Timeline/timelineClasses.d.ts +3 -3
  60. package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
  61. package/TimelineContent/timelineContentClasses.d.ts +14 -14
  62. package/TimelineDot/timelineDotClasses.d.ts +24 -24
  63. package/TimelineItem/timelineItemClasses.d.ts +16 -16
  64. package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
  65. package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
  66. package/TreeItem/treeItemClasses.d.ts +24 -24
  67. package/TreeView/treeViewClasses.d.ts +8 -8
  68. package/YearPicker/YearPicker.d.ts +10 -10
  69. package/YearPicker/index.d.ts +2 -2
  70. package/index.js +1 -1
  71. package/internal/svg-icons/ArrowDropDown.d.ts +7 -7
  72. package/internal/svg-icons/ArrowLeft.d.ts +7 -7
  73. package/internal/svg-icons/ArrowRight.d.ts +7 -7
  74. package/internal/svg-icons/Calendar.d.ts +7 -7
  75. package/internal/svg-icons/Clock.d.ts +7 -7
  76. package/internal/svg-icons/DateRange.d.ts +7 -7
  77. package/internal/svg-icons/Pen.d.ts +7 -7
  78. package/internal/svg-icons/Time.d.ts +7 -7
  79. package/legacy/Masonry/Masonry.js +8 -3
  80. package/legacy/index.js +1 -1
  81. package/modern/Masonry/Masonry.js +8 -3
  82. package/modern/index.js +1 -1
  83. package/node/Masonry/Masonry.js +9 -3
  84. package/node/index.js +1 -1
  85. package/package.json +5 -5
@@ -2,6 +2,7 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWith
2
2
  import _extends from "@babel/runtime/helpers/esm/extends";
3
3
  const _excluded = ["children", "className", "component", "columns", "spacing", "defaultColumns", "defaultHeight", "defaultSpacing"];
4
4
  import { unstable_composeClasses as composeClasses } from '@mui/base';
5
+ import { flushSync } from 'react-dom';
5
6
  import { styled, useThemeProps } from '@mui/material/styles';
6
7
  import { createUnarySpacing, getValue, handleBreakpoints, unstable_resolveBreakpointValues as resolveBreakpointValues } from '@mui/system';
7
8
  import { deepmerge, unstable_useForkRef as useForkRef } from '@mui/utils';
@@ -229,9 +230,13 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
229
230
  });
230
231
 
231
232
  if (!skip) {
232
- setMaxColumnHeight(Math.max(...columnHeights));
233
- const numOfLineBreaks = currentNumberOfColumns > 0 ? currentNumberOfColumns - 1 : 0;
234
- setNumberOfLineBreaks(numOfLineBreaks);
233
+ // In React 18, state updates in a ResizeObserver's callback are happening after the paint which causes flickering
234
+ // when doing some visual updates in it. Using flushSync ensures that the dom will be painted after the states updates happen
235
+ // Related issue - https://github.com/facebook/react/issues/24331
236
+ flushSync(() => {
237
+ setMaxColumnHeight(Math.max(...columnHeights));
238
+ setNumberOfLineBreaks(currentNumberOfColumns > 0 ? currentNumberOfColumns - 1 : 0);
239
+ });
235
240
  }
236
241
  };
237
242
 
@@ -1,8 +1,8 @@
1
- export interface MasonryClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type MasonryClassKey = keyof MasonryClasses;
6
- export declare function getMasonryUtilityClass(slot: string): string;
7
- declare const masonryClasses: MasonryClasses;
8
- export default masonryClasses;
1
+ export interface MasonryClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type MasonryClassKey = keyof MasonryClasses;
6
+ export declare function getMasonryUtilityClass(slot: string): string;
7
+ declare const masonryClasses: MasonryClasses;
8
+ export default masonryClasses;
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { MobileDatePickerProps } from '@mui/x-date-pickers/MobileDatePicker';
3
- declare type MobileDatePickerComponent = (<TDate>(props: MobileDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
- propTypes?: any;
5
- };
6
- /**
7
- * @ignore - do not document.
8
- */
9
- declare const MobileDatePicker: MobileDatePickerComponent;
10
- export default MobileDatePicker;
1
+ import * as React from 'react';
2
+ import { MobileDatePickerProps } from '@mui/x-date-pickers/MobileDatePicker';
3
+ declare type MobileDatePickerComponent = (<TDate>(props: MobileDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const MobileDatePicker: MobileDatePickerComponent;
10
+ export default MobileDatePicker;
@@ -1,2 +1,2 @@
1
- export { default } from './MobileDatePicker';
2
- export type { MobileDatePickerProps } from '@mui/x-date-pickers/MobileDatePicker';
1
+ export { default } from './MobileDatePicker';
2
+ export type { MobileDatePickerProps } from '@mui/x-date-pickers/MobileDatePicker';
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- declare type MobileDateRangePickerComponent = (<TDate>(props: MobileDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
3
- propTypes?: any;
4
- };
5
- /**
6
- * @ignore - do not document.
7
- */
8
- declare const MobileDateRangePicker: MobileDateRangePickerComponent;
9
- export default MobileDateRangePicker;
10
- export declare type MobileDateRangePickerProps = Record<any, any>;
1
+ import * as React from 'react';
2
+ declare type MobileDateRangePickerComponent = (<TDate>(props: MobileDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
3
+ propTypes?: any;
4
+ };
5
+ /**
6
+ * @ignore - do not document.
7
+ */
8
+ declare const MobileDateRangePicker: MobileDateRangePickerComponent;
9
+ export default MobileDateRangePicker;
10
+ export declare type MobileDateRangePickerProps = Record<any, any>;
@@ -1,2 +1,2 @@
1
- export { default } from './MobileDateRangePicker';
2
- export * from './MobileDateRangePicker';
1
+ export { default } from './MobileDateRangePicker';
2
+ export * from './MobileDateRangePicker';
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { MobileDateTimePickerProps } from '@mui/x-date-pickers/MobileDateTimePicker';
3
- declare type MobileDateTimePickerComponent = (<TDate>(props: MobileDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
- propTypes?: any;
5
- };
6
- /**
7
- * @ignore - do not document.
8
- */
9
- declare const MobileDateTimePicker: MobileDateTimePickerComponent;
10
- export default MobileDateTimePicker;
1
+ import * as React from 'react';
2
+ import { MobileDateTimePickerProps } from '@mui/x-date-pickers/MobileDateTimePicker';
3
+ declare type MobileDateTimePickerComponent = (<TDate>(props: MobileDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const MobileDateTimePicker: MobileDateTimePickerComponent;
10
+ export default MobileDateTimePicker;
@@ -1,2 +1,2 @@
1
- export { default } from './MobileDateTimePicker';
2
- export type { MobileDateTimePickerProps } from '@mui/x-date-pickers/MobileDateTimePicker';
1
+ export { default } from './MobileDateTimePicker';
2
+ export type { MobileDateTimePickerProps } from '@mui/x-date-pickers/MobileDateTimePicker';
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { MobileTimePickerProps } from '@mui/x-date-pickers/MobileTimePicker';
3
- declare type MobileTimePickerComponent = (<TDate>(props: MobileTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
- propTypes?: any;
5
- };
6
- /**
7
- * @ignore - do not document.
8
- */
9
- declare const MobileTimePicker: MobileTimePickerComponent;
10
- export default MobileTimePicker;
1
+ import * as React from 'react';
2
+ import { MobileTimePickerProps } from '@mui/x-date-pickers/MobileTimePicker';
3
+ declare type MobileTimePickerComponent = (<TDate>(props: MobileTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const MobileTimePicker: MobileTimePickerComponent;
10
+ export default MobileTimePicker;
@@ -1,2 +1,2 @@
1
- export { default } from './MobileTimePicker';
2
- export type { MobileTimePickerProps } from '@mui/x-date-pickers/MobileTimePicker';
1
+ export { default } from './MobileTimePicker';
2
+ export type { MobileTimePickerProps } from '@mui/x-date-pickers/MobileTimePicker';
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { MonthPickerProps } from '@mui/x-date-pickers/MonthPicker';
3
- declare type MonthPickerComponent = (<TDate>(props: MonthPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
- propTypes?: any;
5
- };
6
- /**
7
- * @ignore - do not document.
8
- */
9
- declare const MonthPicker: MonthPickerComponent;
10
- export default MonthPicker;
1
+ import * as React from 'react';
2
+ import { MonthPickerProps } from '@mui/x-date-pickers/MonthPicker';
3
+ declare type MonthPickerComponent = (<TDate>(props: MonthPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const MonthPicker: MonthPickerComponent;
10
+ export default MonthPicker;
@@ -1,3 +1,3 @@
1
- export { default } from './MonthPicker';
2
- export { getMonthPickerUtilityClass, monthPickerClasses } from '@mui/x-date-pickers/MonthPicker';
3
- export type { MonthPickerClassKey, MonthPickerProps } from '@mui/x-date-pickers/MonthPicker';
1
+ export { default } from './MonthPicker';
2
+ export { getMonthPickerUtilityClass, monthPickerClasses } from '@mui/x-date-pickers/MonthPicker';
3
+ export type { MonthPickerClassKey, MonthPickerProps } from '@mui/x-date-pickers/MonthPicker';
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { PickersDayProps } from '@mui/x-date-pickers/PickersDay';
3
- declare type PickersDayComponent = (<TDate>(props: PickersDayProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
- propTypes?: any;
5
- };
6
- /**
7
- * @ignore - do not document.
8
- */
9
- declare const PickersDay: PickersDayComponent;
10
- export default PickersDay;
1
+ import * as React from 'react';
2
+ import { PickersDayProps } from '@mui/x-date-pickers/PickersDay';
3
+ declare type PickersDayComponent = (<TDate>(props: PickersDayProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const PickersDay: PickersDayComponent;
10
+ export default PickersDay;
@@ -1,3 +1,3 @@
1
- export { default } from './PickersDay';
2
- export { pickersDayClasses, getPickersDayUtilityClass } from '@mui/x-date-pickers/PickersDay';
3
- export type { PickersDayClassKey, PickersDayProps } from '@mui/x-date-pickers/PickersDay';
1
+ export { default } from './PickersDay';
2
+ export { pickersDayClasses, getPickersDayUtilityClass } from '@mui/x-date-pickers/PickersDay';
3
+ export type { PickersDayClassKey, PickersDayProps } from '@mui/x-date-pickers/PickersDay';
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { StaticDatePickerProps } from '@mui/x-date-pickers/StaticDatePicker';
3
- declare type StaticDatePickerComponent = (<TDate>(props: StaticDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
- propTypes?: any;
5
- };
6
- /**
7
- * @ignore - do not document.
8
- */
9
- declare const StaticDatePicker: StaticDatePickerComponent;
10
- export default StaticDatePicker;
1
+ import * as React from 'react';
2
+ import { StaticDatePickerProps } from '@mui/x-date-pickers/StaticDatePicker';
3
+ declare type StaticDatePickerComponent = (<TDate>(props: StaticDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const StaticDatePicker: StaticDatePickerComponent;
10
+ export default StaticDatePicker;
@@ -1,2 +1,2 @@
1
- export { default } from './StaticDatePicker';
2
- export type { StaticDatePickerProps } from '@mui/x-date-pickers/StaticDatePicker';
1
+ export { default } from './StaticDatePicker';
2
+ export type { StaticDatePickerProps } from '@mui/x-date-pickers/StaticDatePicker';
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- declare type StaticDateRangePickerComponent = (<TDate>(props: StaticDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
3
- propTypes?: any;
4
- };
5
- /**
6
- * @ignore - do not document.
7
- */
8
- declare const StaticDateRangePicker: StaticDateRangePickerComponent;
9
- export default StaticDateRangePicker;
10
- export declare type StaticDateRangePickerProps = Record<any, any>;
1
+ import * as React from 'react';
2
+ declare type StaticDateRangePickerComponent = (<TDate>(props: StaticDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
3
+ propTypes?: any;
4
+ };
5
+ /**
6
+ * @ignore - do not document.
7
+ */
8
+ declare const StaticDateRangePicker: StaticDateRangePickerComponent;
9
+ export default StaticDateRangePicker;
10
+ export declare type StaticDateRangePickerProps = Record<any, any>;
@@ -1,2 +1,2 @@
1
- export { default } from './StaticDateRangePicker';
2
- export * from './StaticDateRangePicker';
1
+ export { default } from './StaticDateRangePicker';
2
+ export * from './StaticDateRangePicker';
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { StaticDateTimePickerProps } from '@mui/x-date-pickers/StaticDateTimePicker';
3
- declare type StaticDateTimePickerComponent = (<TDate>(props: StaticDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
- propTypes?: any;
5
- };
6
- /**
7
- * @ignore - do not document.
8
- */
9
- declare const StaticDateTimePicker: StaticDateTimePickerComponent;
10
- export default StaticDateTimePicker;
1
+ import * as React from 'react';
2
+ import { StaticDateTimePickerProps } from '@mui/x-date-pickers/StaticDateTimePicker';
3
+ declare type StaticDateTimePickerComponent = (<TDate>(props: StaticDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const StaticDateTimePicker: StaticDateTimePickerComponent;
10
+ export default StaticDateTimePicker;
@@ -1,2 +1,2 @@
1
- export { default } from './StaticDateTimePicker';
2
- export type { StaticDateTimePickerProps } from '@mui/x-date-pickers/StaticDateTimePicker';
1
+ export { default } from './StaticDateTimePicker';
2
+ export type { StaticDateTimePickerProps } from '@mui/x-date-pickers/StaticDateTimePicker';
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { StaticTimePickerProps } from '@mui/x-date-pickers/StaticTimePicker';
3
- declare type StaticTimePickerComponent = (<TDate>(props: StaticTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
- propTypes?: any;
5
- };
6
- /**
7
- * @ignore - do not document.
8
- */
9
- declare const StaticTimePicker: StaticTimePickerComponent;
10
- export default StaticTimePicker;
1
+ import * as React from 'react';
2
+ import { StaticTimePickerProps } from '@mui/x-date-pickers/StaticTimePicker';
3
+ declare type StaticTimePickerComponent = (<TDate>(props: StaticTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const StaticTimePicker: StaticTimePickerComponent;
10
+ export default StaticTimePicker;
@@ -1,2 +1,2 @@
1
- export { StaticTimePicker as default } from '@mui/x-date-pickers/StaticTimePicker';
2
- export type { StaticTimePickerProps } from '@mui/x-date-pickers/StaticTimePicker';
1
+ export { StaticTimePicker as default } from '@mui/x-date-pickers/StaticTimePicker';
2
+ export type { StaticTimePickerProps } from '@mui/x-date-pickers/StaticTimePicker';
@@ -1,8 +1,8 @@
1
- export interface TabPanelClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type TabPanelClassKey = keyof TabPanelClasses;
6
- export declare function getTabPanelUtilityClass(slot: string): string;
7
- declare const tabPanelClasses: TabPanelClasses;
8
- export default tabPanelClasses;
1
+ export interface TabPanelClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type TabPanelClassKey = keyof TabPanelClasses;
6
+ export declare function getTabPanelUtilityClass(slot: string): string;
7
+ declare const tabPanelClasses: TabPanelClasses;
8
+ export default tabPanelClasses;
@@ -1,10 +1,10 @@
1
- import * as React from 'react';
2
- import { TimePickerProps } from '@mui/x-date-pickers/TimePicker';
3
- declare type TimePickerComponent = (<TDate>(props: TimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
- propTypes?: any;
5
- };
6
- /**
7
- * @ignore - do not document.
8
- */
9
- declare const TimePicker: TimePickerComponent;
10
- export default TimePicker;
1
+ import * as React from 'react';
2
+ import { TimePickerProps } from '@mui/x-date-pickers/TimePicker';
3
+ declare type TimePickerComponent = (<TDate>(props: TimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
4
+ propTypes?: any;
5
+ };
6
+ /**
7
+ * @ignore - do not document.
8
+ */
9
+ declare const TimePicker: TimePickerComponent;
10
+ export default TimePicker;
@@ -1,2 +1,2 @@
1
- export { default } from './TimePicker';
2
- export type { TimePickerProps } from '@mui/x-date-pickers/TimePicker';
1
+ export { default } from './TimePicker';
2
+ export type { TimePickerProps } from '@mui/x-date-pickers/TimePicker';
@@ -1,59 +1,59 @@
1
- import * as React from 'react';
2
- import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps } from '@mui/material';
4
- import { Theme } from '@mui/material/styles';
5
- export declare type TimelineClassKey = keyof NonNullable<TimelineProps['classes']>;
6
- export interface TimelineProps extends StandardProps<React.HTMLAttributes<HTMLUListElement>> {
7
- /**
8
- * The position where the TimelineContent should appear relative to the time axis.
9
- * @default 'right'
10
- */
11
- position?: 'left' | 'right' | 'alternate';
12
- /**
13
- * The content of the component.
14
- */
15
- children?: React.ReactNode;
16
- /**
17
- * Override or extend the styles applied to the component.
18
- */
19
- classes?: {
20
- /** Styles applied to the root element. */
21
- root?: string;
22
- /** Styles applied to the root element if `position="left"`. */
23
- positionLeft?: string;
24
- /** Styles applied to the root element if `position="right"`. */
25
- positionRight?: string;
26
- /** Styles applied to the root element if `position="alternate"`. */
27
- positionAlternate?: string;
28
- };
29
- /**
30
- * className applied to the root element.
31
- */
32
- className?: string;
33
- /**
34
- * The system prop that allows defining system overrides as well as additional CSS styles.
35
- */
36
- sx?: SxProps<Theme>;
37
- }
38
- /**
39
- *
40
- * Demos:
41
- *
42
- * - [Timeline](https://mui.com/material-ui/react-timeline/)
43
- *
44
- * API:
45
- *
46
- * - [Timeline API](https://mui.com/material-ui/api/timeline/)
47
- */
48
- declare const Timeline: React.ForwardRefExoticComponent<Pick<TimelineProps, "slot" | "style" | "title" | "hidden" | "className" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "position"> & React.RefAttributes<HTMLUListElement>>;
49
- /**
50
- *
51
- * Demos:
52
- *
53
- * - [Timeline](https://mui.com/components/timeline/)
54
- *
55
- * API:
56
- *
57
- * - [Timeline API](https://mui.com/api/timeline/)
58
- */
59
- export default Timeline;
1
+ import * as React from 'react';
2
+ import { SxProps } from '@mui/system';
3
+ import { InternalStandardProps as StandardProps } from '@mui/material';
4
+ import { Theme } from '@mui/material/styles';
5
+ export declare type TimelineClassKey = keyof NonNullable<TimelineProps['classes']>;
6
+ export interface TimelineProps extends StandardProps<React.HTMLAttributes<HTMLUListElement>> {
7
+ /**
8
+ * The position where the TimelineContent should appear relative to the time axis.
9
+ * @default 'right'
10
+ */
11
+ position?: 'left' | 'right' | 'alternate';
12
+ /**
13
+ * The content of the component.
14
+ */
15
+ children?: React.ReactNode;
16
+ /**
17
+ * Override or extend the styles applied to the component.
18
+ */
19
+ classes?: {
20
+ /** Styles applied to the root element. */
21
+ root?: string;
22
+ /** Styles applied to the root element if `position="left"`. */
23
+ positionLeft?: string;
24
+ /** Styles applied to the root element if `position="right"`. */
25
+ positionRight?: string;
26
+ /** Styles applied to the root element if `position="alternate"`. */
27
+ positionAlternate?: string;
28
+ };
29
+ /**
30
+ * className applied to the root element.
31
+ */
32
+ className?: string;
33
+ /**
34
+ * The system prop that allows defining system overrides as well as additional CSS styles.
35
+ */
36
+ sx?: SxProps<Theme>;
37
+ }
38
+ /**
39
+ *
40
+ * Demos:
41
+ *
42
+ * - [Timeline](https://mui.com/material-ui/react-timeline/)
43
+ *
44
+ * API:
45
+ *
46
+ * - [Timeline API](https://mui.com/material-ui/api/timeline/)
47
+ */
48
+ declare const Timeline: React.ForwardRefExoticComponent<Pick<TimelineProps, "slot" | "style" | "title" | "hidden" | "className" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "position"> & React.RefAttributes<HTMLUListElement>>;
49
+ /**
50
+ *
51
+ * Demos:
52
+ *
53
+ * - [Timeline](https://mui.com/components/timeline/)
54
+ *
55
+ * API:
56
+ *
57
+ * - [Timeline API](https://mui.com/api/timeline/)
58
+ */
59
+ export default Timeline;
@@ -1,6 +1,6 @@
1
- import * as React from 'react';
2
- /**
3
- * @ignore - internal component.
4
- */
5
- declare const TimelineContext: React.Context<{}>;
6
- export default TimelineContext;
1
+ import * as React from 'react';
2
+ /**
3
+ * @ignore - internal component.
4
+ */
5
+ declare const TimelineContext: React.Context<{}>;
6
+ export default TimelineContext;
@@ -1,5 +1,5 @@
1
- export { default } from './Timeline';
2
- export declare type TimelineClassKey = import('./Timeline').TimelineClassKey;
3
- export declare type TimelineProps = import('./Timeline').TimelineProps;
4
- export { default as timelineClasses } from './timelineClasses';
5
- export * from './timelineClasses';
1
+ export { default } from './Timeline';
2
+ export declare type TimelineClassKey = import('./Timeline').TimelineClassKey;
3
+ export declare type TimelineProps = import('./Timeline').TimelineProps;
4
+ export { default as timelineClasses } from './timelineClasses';
5
+ export * from './timelineClasses';
@@ -1,3 +1,3 @@
1
- export declare function getTimelineUtilityClass(slot: string): string;
2
- declare const timelineClasses: Record<"root" | "positionLeft" | "positionRight" | "positionAlternate", string>;
3
- export default timelineClasses;
1
+ export declare function getTimelineUtilityClass(slot: string): string;
2
+ declare const timelineClasses: Record<"root" | "positionLeft" | "positionRight" | "positionAlternate", string>;
3
+ export default timelineClasses;
@@ -1,8 +1,8 @@
1
- export interface TimelineConnectorClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type TimelineConnectorClassKey = keyof TimelineConnectorClasses;
6
- export declare function getTimelineConnectorUtilityClass(slot: string): string;
7
- declare const timelineConnectorClasses: TimelineConnectorClasses;
8
- export default timelineConnectorClasses;
1
+ export interface TimelineConnectorClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type TimelineConnectorClassKey = keyof TimelineConnectorClasses;
6
+ export declare function getTimelineConnectorUtilityClass(slot: string): string;
7
+ declare const timelineConnectorClasses: TimelineConnectorClasses;
8
+ export default timelineConnectorClasses;
@@ -1,14 +1,14 @@
1
- export interface TimelineContentClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `position="right"`. */
5
- positionRight: string;
6
- /** Styles applied to the root element if `position="left"`. */
7
- positionLeft: string;
8
- /** Styles applied to the root element if `position="alternate"`. */
9
- positionAlternate: string;
10
- }
11
- export declare type TimelineContentClassKey = keyof TimelineContentClasses;
12
- export declare function getTimelineContentUtilityClass(slot: string): string;
13
- declare const timelineContentClasses: TimelineContentClasses;
14
- export default timelineContentClasses;
1
+ export interface TimelineContentClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `position="right"`. */
5
+ positionRight: string;
6
+ /** Styles applied to the root element if `position="left"`. */
7
+ positionLeft: string;
8
+ /** Styles applied to the root element if `position="alternate"`. */
9
+ positionAlternate: string;
10
+ }
11
+ export declare type TimelineContentClassKey = keyof TimelineContentClasses;
12
+ export declare function getTimelineContentUtilityClass(slot: string): string;
13
+ declare const timelineContentClasses: TimelineContentClasses;
14
+ export default timelineContentClasses;