@mui/x-date-pickers-pro 7.5.0 → 7.6.0

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 (67) hide show
  1. package/CHANGELOG.md +148 -5418
  2. package/DateRangeCalendar/DateRangeCalendar.js +1 -1
  3. package/DateRangeCalendar/DateRangeCalendar.types.d.ts +2 -3
  4. package/DateRangeCalendar/useDragRange.d.ts +3 -4
  5. package/DateRangePicker/DateRangePicker.js +1 -1
  6. package/DateRangePicker/DateRangePickerToolbar.js +1 -1
  7. package/DateRangePickerDay/DateRangePickerDay.js +1 -15
  8. package/DateTimeRangePicker/DateTimeRangePicker.js +1 -1
  9. package/DateTimeRangePicker/DateTimeRangePickerTabs.js +1 -1
  10. package/DateTimeRangePicker/DateTimeRangePickerToolbar.js +1 -1
  11. package/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
  12. package/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.js +1 -1
  13. package/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
  14. package/MobileDateTimeRangePicker/MobileDateTimeRangePicker.js +1 -1
  15. package/MultiInputDateRangeField/MultiInputDateRangeField.js +1 -1
  16. package/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +1 -1
  17. package/MultiInputTimeRangeField/MultiInputTimeRangeField.js +1 -1
  18. package/PickersRangeCalendarHeader/PickersRangeCalendarHeader.js +1 -1
  19. package/SingleInputDateRangeField/SingleInputDateRangeField.js +1 -1
  20. package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +1 -1
  21. package/SingleInputTimeRangeField/SingleInputTimeRangeField.js +1 -1
  22. package/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
  23. package/index.js +1 -1
  24. package/internals/utils/releaseInfo.js +1 -1
  25. package/modern/DateRangeCalendar/DateRangeCalendar.js +1 -1
  26. package/modern/DateRangePicker/DateRangePicker.js +1 -1
  27. package/modern/DateRangePicker/DateRangePickerToolbar.js +1 -1
  28. package/modern/DateRangePickerDay/DateRangePickerDay.js +1 -15
  29. package/modern/DateTimeRangePicker/DateTimeRangePicker.js +1 -1
  30. package/modern/DateTimeRangePicker/DateTimeRangePickerTabs.js +1 -1
  31. package/modern/DateTimeRangePicker/DateTimeRangePickerToolbar.js +1 -1
  32. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
  33. package/modern/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.js +1 -1
  34. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
  35. package/modern/MobileDateTimeRangePicker/MobileDateTimeRangePicker.js +1 -1
  36. package/modern/MultiInputDateRangeField/MultiInputDateRangeField.js +1 -1
  37. package/modern/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +1 -1
  38. package/modern/MultiInputTimeRangeField/MultiInputTimeRangeField.js +1 -1
  39. package/modern/PickersRangeCalendarHeader/PickersRangeCalendarHeader.js +1 -1
  40. package/modern/SingleInputDateRangeField/SingleInputDateRangeField.js +1 -1
  41. package/modern/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +1 -1
  42. package/modern/SingleInputTimeRangeField/SingleInputTimeRangeField.js +1 -1
  43. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
  44. package/modern/index.js +1 -1
  45. package/modern/internals/utils/releaseInfo.js +1 -1
  46. package/node/DateRangeCalendar/DateRangeCalendar.js +1 -1
  47. package/node/DateRangePicker/DateRangePicker.js +1 -1
  48. package/node/DateRangePicker/DateRangePickerToolbar.js +1 -1
  49. package/node/DateRangePickerDay/DateRangePickerDay.js +1 -15
  50. package/node/DateTimeRangePicker/DateTimeRangePicker.js +1 -1
  51. package/node/DateTimeRangePicker/DateTimeRangePickerTabs.js +1 -1
  52. package/node/DateTimeRangePicker/DateTimeRangePickerToolbar.js +1 -1
  53. package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
  54. package/node/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.js +1 -1
  55. package/node/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
  56. package/node/MobileDateTimeRangePicker/MobileDateTimeRangePicker.js +1 -1
  57. package/node/MultiInputDateRangeField/MultiInputDateRangeField.js +1 -1
  58. package/node/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +1 -1
  59. package/node/MultiInputTimeRangeField/MultiInputTimeRangeField.js +1 -1
  60. package/node/PickersRangeCalendarHeader/PickersRangeCalendarHeader.js +1 -1
  61. package/node/SingleInputDateRangeField/SingleInputDateRangeField.js +1 -1
  62. package/node/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +1 -1
  63. package/node/SingleInputTimeRangeField/SingleInputTimeRangeField.js +1 -1
  64. package/node/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
  65. package/node/index.js +1 -1
  66. package/node/internals/utils/releaseInfo.js +1 -1
  67. package/package.json +5 -5
@@ -471,7 +471,7 @@ const DateRangeCalendar = /*#__PURE__*/React.forwardRef(function DateRangeCalend
471
471
  process.env.NODE_ENV !== "production" ? DateRangeCalendar.propTypes = {
472
472
  // ----------------------------- Warning --------------------------------
473
473
  // | These PropTypes are generated from the TypeScript type definitions |
474
- // | To update them edit the TypeScript types and run "yarn proptypes" |
474
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
475
475
  // ----------------------------------------------------------------------
476
476
  /**
477
477
  * If `true`, the main element is focused during the first mount.
@@ -6,12 +6,11 @@ import { PickerValidDate, TimezoneProps } from '@mui/x-date-pickers/models';
6
6
  import { PickersCalendarHeader, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps } from '@mui/x-date-pickers/PickersCalendarHeader';
7
7
  import { BaseDateValidationProps, DefaultizedProps, ExportedDayCalendarProps, DayCalendarSlots, DayCalendarSlotProps, PickersArrowSwitcherSlots, PickersArrowSwitcherSlotProps, DayCalendarProps, ExportedUseViewsOptions } from '@mui/x-date-pickers/internals';
8
8
  import { DayRangeValidationProps } from '../internals/models/dateRange';
9
- import { DateRange } from '../models';
9
+ import { DateRange, RangePosition } from '../models';
10
10
  import { DateRangeCalendarClasses } from './dateRangeCalendarClasses';
11
11
  import { DateRangePickerDay, DateRangePickerDayProps } from '../DateRangePickerDay';
12
12
  import { UseRangePositionProps } from '../internals/hooks/useRangePosition';
13
13
  import { PickersRangeCalendarHeaderProps } from '../PickersRangeCalendarHeader';
14
- export type DateRangePosition = 'start' | 'end';
15
14
  export interface DateRangeCalendarSlots<TDate extends PickerValidDate> extends PickersArrowSwitcherSlots, Omit<DayCalendarSlots<TDate>, 'day'>, PickersCalendarHeaderSlots {
16
15
  /**
17
16
  * Custom component for calendar header.
@@ -118,7 +117,7 @@ export interface DateRangeCalendarProps<TDate extends PickerValidDate> extends E
118
117
  * Used on Date Time Range pickers with current `rangePosition` to force a `finish` selection after just one range position selection.
119
118
  * @default ['start', 'end']
120
119
  */
121
- availableRangePositions?: DateRangePosition[];
120
+ availableRangePositions?: RangePosition[];
122
121
  }
123
122
  export interface DateRangeCalendarOwnerState<TDate extends PickerValidDate> extends DateRangeCalendarProps<TDate> {
124
123
  isDragging: boolean;
@@ -1,14 +1,13 @@
1
1
  import * as React from 'react';
2
2
  import { MuiPickersAdapter, PickersTimezone, PickerValidDate } from '@mui/x-date-pickers/models';
3
- import { DateRangePosition } from './DateRangeCalendar.types';
4
- import { DateRange } from '../models';
3
+ import { DateRange, RangePosition } from '../models';
5
4
  interface UseDragRangeParams<TDate extends PickerValidDate> {
6
5
  disableDragEditing?: boolean;
7
6
  utils: MuiPickersAdapter<TDate>;
8
7
  setRangeDragDay: (value: TDate | null) => void;
9
8
  setIsDragging: (value: boolean) => void;
10
9
  isDragging: boolean;
11
- onDatePositionChange: (position: DateRangePosition) => void;
10
+ onDatePositionChange: (position: RangePosition) => void;
12
11
  onDrop: (newDate: TDate) => void;
13
12
  dateRange: DateRange<TDate>;
14
13
  timezone: PickersTimezone;
@@ -27,7 +26,7 @@ interface UseDragRangeEvents {
27
26
  interface UseDragRangeResponse<TDate extends PickerValidDate> extends UseDragRangeEvents {
28
27
  isDragging: boolean;
29
28
  rangeDragDay: TDate | null;
30
- draggingDatePosition: DateRangePosition | null;
29
+ draggingDatePosition: RangePosition | null;
31
30
  }
32
31
  export declare const useDragRange: <TDate extends PickerValidDate>({ disableDragEditing, utils, onDatePositionChange, onDrop, dateRange, timezone, }: Omit<UseDragRangeParams<TDate>, 'setRangeDragDay' | 'setIsDragging' | 'isDragging'>) => UseDragRangeResponse<TDate>;
33
32
  export {};
@@ -45,7 +45,7 @@ const DateRangePicker = /*#__PURE__*/React.forwardRef(function DateRangePicker(i
45
45
  process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
46
46
  // ----------------------------- Warning --------------------------------
47
47
  // | These PropTypes are generated from the TypeScript type definitions |
48
- // | To update them edit the TypeScript types and run "yarn proptypes" |
48
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
49
49
  // ----------------------------------------------------------------------
50
50
  /**
51
51
  * If `true`, the main element is focused during the first mount.
@@ -90,7 +90,7 @@ const DateRangePickerToolbar = /*#__PURE__*/React.forwardRef(function DateRangeP
90
90
  process.env.NODE_ENV !== "production" ? DateRangePickerToolbar.propTypes = {
91
91
  // ----------------------------- Warning --------------------------------
92
92
  // | These PropTypes are generated from the TypeScript type definitions |
93
- // | To update them edit the TypeScript types and run "yarn proptypes" |
93
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
94
94
  // ----------------------------------------------------------------------
95
95
  /**
96
96
  * Override or extend the styles applied to the component.
@@ -118,13 +118,6 @@ const DateRangePickerDayRoot = styled('div', {
118
118
  })
119
119
  }]
120
120
  }));
121
- DateRangePickerDayRoot.propTypes = {
122
- // ----------------------------- Warning --------------------------------
123
- // | These PropTypes are generated from the TypeScript type definitions |
124
- // | To update them edit the TypeScript types and run "yarn proptypes" |
125
- // ----------------------------------------------------------------------
126
- ownerState: PropTypes.object.isRequired
127
- };
128
121
  const DateRangePickerDayRangeIntervalPreview = styled('div', {
129
122
  name: 'MuiDateRangePickerDay',
130
123
  slot: 'RangeIntervalPreview',
@@ -177,13 +170,6 @@ const DateRangePickerDayRangeIntervalPreview = styled('div', {
177
170
  }, endBorderStyle)
178
171
  }]
179
172
  }));
180
- DateRangePickerDayRangeIntervalPreview.propTypes = {
181
- // ----------------------------- Warning --------------------------------
182
- // | These PropTypes are generated from the TypeScript type definitions |
183
- // | To update them edit the TypeScript types and run "yarn proptypes" |
184
- // ----------------------------------------------------------------------
185
- ownerState: PropTypes.object.isRequired
186
- };
187
173
  const DateRangePickerDayDay = styled(PickersDay, {
188
174
  name: 'MuiDateRangePickerDay',
189
175
  slot: 'Day',
@@ -270,7 +256,7 @@ const DateRangePickerDayRaw = /*#__PURE__*/React.forwardRef(function DateRangePi
270
256
  process.env.NODE_ENV !== "production" ? DateRangePickerDayRaw.propTypes = {
271
257
  // ----------------------------- Warning --------------------------------
272
258
  // | These PropTypes are generated from the TypeScript type definitions |
273
- // | To update them edit the TypeScript types and run "yarn proptypes" |
259
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
274
260
  // ----------------------------------------------------------------------
275
261
  /**
276
262
  * A ref for imperative actions.
@@ -45,7 +45,7 @@ const DateTimeRangePicker = /*#__PURE__*/React.forwardRef(function DateTimeRange
45
45
  process.env.NODE_ENV !== "production" ? DateTimeRangePicker.propTypes = {
46
46
  // ----------------------------- Warning --------------------------------
47
47
  // | These PropTypes are generated from the TypeScript type definitions |
48
- // | To update them edit the TypeScript types and run "yarn proptypes" |
48
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
49
49
  // ----------------------------------------------------------------------
50
50
  /**
51
51
  * 12h/24h view for hour selection clock.
@@ -146,7 +146,7 @@ const DateTimeRangePickerTabs = function DateTimeRangePickerTabs(inProps) {
146
146
  process.env.NODE_ENV !== "production" ? DateTimeRangePickerTabs.propTypes = {
147
147
  // ----------------------------- Warning --------------------------------
148
148
  // | These PropTypes are generated from the TypeScript type definitions |
149
- // | To update them edit the TypeScript types and run "yarn proptypes" |
149
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
150
150
  // ----------------------------------------------------------------------
151
151
  /**
152
152
  * Override or extend the styles applied to the component.
@@ -172,7 +172,7 @@ const DateTimeRangePickerToolbar = /*#__PURE__*/React.forwardRef(function DateTi
172
172
  process.env.NODE_ENV !== "production" ? DateTimeRangePickerToolbar.propTypes = {
173
173
  // ----------------------------- Warning --------------------------------
174
174
  // | These PropTypes are generated from the TypeScript type definitions |
175
- // | To update them edit the TypeScript types and run "yarn proptypes" |
175
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
176
176
  // ----------------------------------------------------------------------
177
177
  ampm: PropTypes.bool,
178
178
  /**
@@ -56,7 +56,7 @@ const DesktopDateRangePicker = /*#__PURE__*/React.forwardRef(function DesktopDat
56
56
  DesktopDateRangePicker.propTypes = {
57
57
  // ----------------------------- Warning --------------------------------
58
58
  // | These PropTypes are generated from the TypeScript type definitions |
59
- // | To update them edit the TypeScript types and run "yarn proptypes" |
59
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
60
60
  // ----------------------------------------------------------------------
61
61
  /**
62
62
  * If `true`, the main element is focused during the first mount.
@@ -129,7 +129,7 @@ const DesktopDateTimeRangePicker = /*#__PURE__*/React.forwardRef(function Deskto
129
129
  DesktopDateTimeRangePicker.propTypes = {
130
130
  // ----------------------------- Warning --------------------------------
131
131
  // | These PropTypes are generated from the TypeScript type definitions |
132
- // | To update them edit the TypeScript types and run "yarn proptypes" |
132
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
133
133
  // ----------------------------------------------------------------------
134
134
  /**
135
135
  * 12h/24h view for hour selection clock.
@@ -57,7 +57,7 @@ const MobileDateRangePicker = /*#__PURE__*/React.forwardRef(function MobileDateR
57
57
  MobileDateRangePicker.propTypes = {
58
58
  // ----------------------------- Warning --------------------------------
59
59
  // | These PropTypes are generated from the TypeScript type definitions |
60
- // | To update them edit the TypeScript types and run "yarn proptypes" |
60
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
61
61
  // ----------------------------------------------------------------------
62
62
  /**
63
63
  * If `true`, the main element is focused during the first mount.
@@ -128,7 +128,7 @@ const MobileDateTimeRangePicker = /*#__PURE__*/React.forwardRef(function MobileD
128
128
  MobileDateTimeRangePicker.propTypes = {
129
129
  // ----------------------------- Warning --------------------------------
130
130
  // | These PropTypes are generated from the TypeScript type definitions |
131
- // | To update them edit the TypeScript types and run "yarn proptypes" |
131
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
132
132
  // ----------------------------------------------------------------------
133
133
  /**
134
134
  * 12h/24h view for hour selection clock.
@@ -128,7 +128,7 @@ const MultiInputDateRangeField = /*#__PURE__*/React.forwardRef(function MultiInp
128
128
  process.env.NODE_ENV !== "production" ? MultiInputDateRangeField.propTypes = {
129
129
  // ----------------------------- Warning --------------------------------
130
130
  // | These PropTypes are generated from the TypeScript type definitions |
131
- // | To update them edit the TypeScript types and run "yarn proptypes" |
131
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
132
132
  // ----------------------------------------------------------------------
133
133
  /**
134
134
  * If `true`, the `input` element is focused during the first mount.
@@ -128,7 +128,7 @@ const MultiInputDateTimeRangeField = /*#__PURE__*/React.forwardRef(function Mult
128
128
  process.env.NODE_ENV !== "production" ? MultiInputDateTimeRangeField.propTypes = {
129
129
  // ----------------------------- Warning --------------------------------
130
130
  // | These PropTypes are generated from the TypeScript type definitions |
131
- // | To update them edit the TypeScript types and run "yarn proptypes" |
131
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
132
132
  // ----------------------------------------------------------------------
133
133
  /**
134
134
  * 12h/24h view for hour selection clock.
@@ -128,7 +128,7 @@ const MultiInputTimeRangeField = /*#__PURE__*/React.forwardRef(function MultiInp
128
128
  process.env.NODE_ENV !== "production" ? MultiInputTimeRangeField.propTypes = {
129
129
  // ----------------------------- Warning --------------------------------
130
130
  // | These PropTypes are generated from the TypeScript type definitions |
131
- // | To update them edit the TypeScript types and run "yarn proptypes" |
131
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
132
132
  // ----------------------------------------------------------------------
133
133
  /**
134
134
  * 12h/24h view for hour selection clock.
@@ -69,7 +69,7 @@ const PickersRangeCalendarHeader = /*#__PURE__*/React.forwardRef(function Picker
69
69
  process.env.NODE_ENV !== "production" ? PickersRangeCalendarHeader.propTypes = {
70
70
  // ----------------------------- Warning --------------------------------
71
71
  // | These PropTypes are generated from the TypeScript type definitions |
72
- // | To update them edit the TypeScript types and run "yarn proptypes" |
72
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
73
73
  // ----------------------------------------------------------------------
74
74
  /**
75
75
  * The number of calendars rendered.
@@ -61,7 +61,7 @@ SingleInputDateRangeField.fieldType = 'single-input';
61
61
  process.env.NODE_ENV !== "production" ? SingleInputDateRangeField.propTypes = {
62
62
  // ----------------------------- Warning --------------------------------
63
63
  // | These PropTypes are generated from the TypeScript type definitions |
64
- // | To update them edit the TypeScript types and run "yarn proptypes" |
64
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
65
65
  // ----------------------------------------------------------------------
66
66
  /**
67
67
  * If `true`, the `input` element is focused during the first mount.
@@ -61,7 +61,7 @@ SingleInputDateTimeRangeField.fieldType = 'single-input';
61
61
  process.env.NODE_ENV !== "production" ? SingleInputDateTimeRangeField.propTypes = {
62
62
  // ----------------------------- Warning --------------------------------
63
63
  // | These PropTypes are generated from the TypeScript type definitions |
64
- // | To update them edit the TypeScript types and run "yarn proptypes" |
64
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
65
65
  // ----------------------------------------------------------------------
66
66
  /**
67
67
  * 12h/24h view for hour selection clock.
@@ -61,7 +61,7 @@ SingleInputTimeRangeField.fieldType = 'single-input';
61
61
  process.env.NODE_ENV !== "production" ? SingleInputTimeRangeField.propTypes = {
62
62
  // ----------------------------- Warning --------------------------------
63
63
  // | These PropTypes are generated from the TypeScript type definitions |
64
- // | To update them edit the TypeScript types and run "yarn proptypes" |
64
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
65
65
  // ----------------------------------------------------------------------
66
66
  /**
67
67
  * 12h/24h view for hour selection clock.
@@ -50,7 +50,7 @@ const StaticDateRangePicker = /*#__PURE__*/React.forwardRef(function StaticDateR
50
50
  StaticDateRangePicker.propTypes = {
51
51
  // ----------------------------- Warning --------------------------------
52
52
  // | These PropTypes are generated from the TypeScript type definitions |
53
- // | To update them edit the TypeScript types and run "yarn proptypes" |
53
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
54
54
  // ----------------------------------------------------------------------
55
55
  /**
56
56
  * If `true`, the main element is focused during the first mount.
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v7.5.0
2
+ * @mui/x-date-pickers-pro v7.6.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTcxNTg5NjgwMDAwMA==";
3
+ const releaseInfo = "MTcxNzAxNjQwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
@@ -471,7 +471,7 @@ const DateRangeCalendar = /*#__PURE__*/React.forwardRef(function DateRangeCalend
471
471
  process.env.NODE_ENV !== "production" ? DateRangeCalendar.propTypes = {
472
472
  // ----------------------------- Warning --------------------------------
473
473
  // | These PropTypes are generated from the TypeScript type definitions |
474
- // | To update them edit the TypeScript types and run "yarn proptypes" |
474
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
475
475
  // ----------------------------------------------------------------------
476
476
  /**
477
477
  * If `true`, the main element is focused during the first mount.
@@ -45,7 +45,7 @@ const DateRangePicker = /*#__PURE__*/React.forwardRef(function DateRangePicker(i
45
45
  process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
46
46
  // ----------------------------- Warning --------------------------------
47
47
  // | These PropTypes are generated from the TypeScript type definitions |
48
- // | To update them edit the TypeScript types and run "yarn proptypes" |
48
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
49
49
  // ----------------------------------------------------------------------
50
50
  /**
51
51
  * If `true`, the main element is focused during the first mount.
@@ -90,7 +90,7 @@ const DateRangePickerToolbar = /*#__PURE__*/React.forwardRef(function DateRangeP
90
90
  process.env.NODE_ENV !== "production" ? DateRangePickerToolbar.propTypes = {
91
91
  // ----------------------------- Warning --------------------------------
92
92
  // | These PropTypes are generated from the TypeScript type definitions |
93
- // | To update them edit the TypeScript types and run "yarn proptypes" |
93
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
94
94
  // ----------------------------------------------------------------------
95
95
  /**
96
96
  * Override or extend the styles applied to the component.
@@ -118,13 +118,6 @@ const DateRangePickerDayRoot = styled('div', {
118
118
  })
119
119
  }]
120
120
  }));
121
- DateRangePickerDayRoot.propTypes = {
122
- // ----------------------------- Warning --------------------------------
123
- // | These PropTypes are generated from the TypeScript type definitions |
124
- // | To update them edit the TypeScript types and run "yarn proptypes" |
125
- // ----------------------------------------------------------------------
126
- ownerState: PropTypes.object.isRequired
127
- };
128
121
  const DateRangePickerDayRangeIntervalPreview = styled('div', {
129
122
  name: 'MuiDateRangePickerDay',
130
123
  slot: 'RangeIntervalPreview',
@@ -177,13 +170,6 @@ const DateRangePickerDayRangeIntervalPreview = styled('div', {
177
170
  }, endBorderStyle)
178
171
  }]
179
172
  }));
180
- DateRangePickerDayRangeIntervalPreview.propTypes = {
181
- // ----------------------------- Warning --------------------------------
182
- // | These PropTypes are generated from the TypeScript type definitions |
183
- // | To update them edit the TypeScript types and run "yarn proptypes" |
184
- // ----------------------------------------------------------------------
185
- ownerState: PropTypes.object.isRequired
186
- };
187
173
  const DateRangePickerDayDay = styled(PickersDay, {
188
174
  name: 'MuiDateRangePickerDay',
189
175
  slot: 'Day',
@@ -270,7 +256,7 @@ const DateRangePickerDayRaw = /*#__PURE__*/React.forwardRef(function DateRangePi
270
256
  process.env.NODE_ENV !== "production" ? DateRangePickerDayRaw.propTypes = {
271
257
  // ----------------------------- Warning --------------------------------
272
258
  // | These PropTypes are generated from the TypeScript type definitions |
273
- // | To update them edit the TypeScript types and run "yarn proptypes" |
259
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
274
260
  // ----------------------------------------------------------------------
275
261
  /**
276
262
  * A ref for imperative actions.
@@ -45,7 +45,7 @@ const DateTimeRangePicker = /*#__PURE__*/React.forwardRef(function DateTimeRange
45
45
  process.env.NODE_ENV !== "production" ? DateTimeRangePicker.propTypes = {
46
46
  // ----------------------------- Warning --------------------------------
47
47
  // | These PropTypes are generated from the TypeScript type definitions |
48
- // | To update them edit the TypeScript types and run "yarn proptypes" |
48
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
49
49
  // ----------------------------------------------------------------------
50
50
  /**
51
51
  * 12h/24h view for hour selection clock.
@@ -146,7 +146,7 @@ const DateTimeRangePickerTabs = function DateTimeRangePickerTabs(inProps) {
146
146
  process.env.NODE_ENV !== "production" ? DateTimeRangePickerTabs.propTypes = {
147
147
  // ----------------------------- Warning --------------------------------
148
148
  // | These PropTypes are generated from the TypeScript type definitions |
149
- // | To update them edit the TypeScript types and run "yarn proptypes" |
149
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
150
150
  // ----------------------------------------------------------------------
151
151
  /**
152
152
  * Override or extend the styles applied to the component.
@@ -172,7 +172,7 @@ const DateTimeRangePickerToolbar = /*#__PURE__*/React.forwardRef(function DateTi
172
172
  process.env.NODE_ENV !== "production" ? DateTimeRangePickerToolbar.propTypes = {
173
173
  // ----------------------------- Warning --------------------------------
174
174
  // | These PropTypes are generated from the TypeScript type definitions |
175
- // | To update them edit the TypeScript types and run "yarn proptypes" |
175
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
176
176
  // ----------------------------------------------------------------------
177
177
  ampm: PropTypes.bool,
178
178
  /**
@@ -56,7 +56,7 @@ const DesktopDateRangePicker = /*#__PURE__*/React.forwardRef(function DesktopDat
56
56
  DesktopDateRangePicker.propTypes = {
57
57
  // ----------------------------- Warning --------------------------------
58
58
  // | These PropTypes are generated from the TypeScript type definitions |
59
- // | To update them edit the TypeScript types and run "yarn proptypes" |
59
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
60
60
  // ----------------------------------------------------------------------
61
61
  /**
62
62
  * If `true`, the main element is focused during the first mount.
@@ -129,7 +129,7 @@ const DesktopDateTimeRangePicker = /*#__PURE__*/React.forwardRef(function Deskto
129
129
  DesktopDateTimeRangePicker.propTypes = {
130
130
  // ----------------------------- Warning --------------------------------
131
131
  // | These PropTypes are generated from the TypeScript type definitions |
132
- // | To update them edit the TypeScript types and run "yarn proptypes" |
132
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
133
133
  // ----------------------------------------------------------------------
134
134
  /**
135
135
  * 12h/24h view for hour selection clock.
@@ -57,7 +57,7 @@ const MobileDateRangePicker = /*#__PURE__*/React.forwardRef(function MobileDateR
57
57
  MobileDateRangePicker.propTypes = {
58
58
  // ----------------------------- Warning --------------------------------
59
59
  // | These PropTypes are generated from the TypeScript type definitions |
60
- // | To update them edit the TypeScript types and run "yarn proptypes" |
60
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
61
61
  // ----------------------------------------------------------------------
62
62
  /**
63
63
  * If `true`, the main element is focused during the first mount.
@@ -128,7 +128,7 @@ const MobileDateTimeRangePicker = /*#__PURE__*/React.forwardRef(function MobileD
128
128
  MobileDateTimeRangePicker.propTypes = {
129
129
  // ----------------------------- Warning --------------------------------
130
130
  // | These PropTypes are generated from the TypeScript type definitions |
131
- // | To update them edit the TypeScript types and run "yarn proptypes" |
131
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
132
132
  // ----------------------------------------------------------------------
133
133
  /**
134
134
  * 12h/24h view for hour selection clock.
@@ -128,7 +128,7 @@ const MultiInputDateRangeField = /*#__PURE__*/React.forwardRef(function MultiInp
128
128
  process.env.NODE_ENV !== "production" ? MultiInputDateRangeField.propTypes = {
129
129
  // ----------------------------- Warning --------------------------------
130
130
  // | These PropTypes are generated from the TypeScript type definitions |
131
- // | To update them edit the TypeScript types and run "yarn proptypes" |
131
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
132
132
  // ----------------------------------------------------------------------
133
133
  /**
134
134
  * If `true`, the `input` element is focused during the first mount.
@@ -128,7 +128,7 @@ const MultiInputDateTimeRangeField = /*#__PURE__*/React.forwardRef(function Mult
128
128
  process.env.NODE_ENV !== "production" ? MultiInputDateTimeRangeField.propTypes = {
129
129
  // ----------------------------- Warning --------------------------------
130
130
  // | These PropTypes are generated from the TypeScript type definitions |
131
- // | To update them edit the TypeScript types and run "yarn proptypes" |
131
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
132
132
  // ----------------------------------------------------------------------
133
133
  /**
134
134
  * 12h/24h view for hour selection clock.
@@ -128,7 +128,7 @@ const MultiInputTimeRangeField = /*#__PURE__*/React.forwardRef(function MultiInp
128
128
  process.env.NODE_ENV !== "production" ? MultiInputTimeRangeField.propTypes = {
129
129
  // ----------------------------- Warning --------------------------------
130
130
  // | These PropTypes are generated from the TypeScript type definitions |
131
- // | To update them edit the TypeScript types and run "yarn proptypes" |
131
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
132
132
  // ----------------------------------------------------------------------
133
133
  /**
134
134
  * 12h/24h view for hour selection clock.
@@ -69,7 +69,7 @@ const PickersRangeCalendarHeader = /*#__PURE__*/React.forwardRef(function Picker
69
69
  process.env.NODE_ENV !== "production" ? PickersRangeCalendarHeader.propTypes = {
70
70
  // ----------------------------- Warning --------------------------------
71
71
  // | These PropTypes are generated from the TypeScript type definitions |
72
- // | To update them edit the TypeScript types and run "yarn proptypes" |
72
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
73
73
  // ----------------------------------------------------------------------
74
74
  /**
75
75
  * The number of calendars rendered.
@@ -61,7 +61,7 @@ SingleInputDateRangeField.fieldType = 'single-input';
61
61
  process.env.NODE_ENV !== "production" ? SingleInputDateRangeField.propTypes = {
62
62
  // ----------------------------- Warning --------------------------------
63
63
  // | These PropTypes are generated from the TypeScript type definitions |
64
- // | To update them edit the TypeScript types and run "yarn proptypes" |
64
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
65
65
  // ----------------------------------------------------------------------
66
66
  /**
67
67
  * If `true`, the `input` element is focused during the first mount.
@@ -61,7 +61,7 @@ SingleInputDateTimeRangeField.fieldType = 'single-input';
61
61
  process.env.NODE_ENV !== "production" ? SingleInputDateTimeRangeField.propTypes = {
62
62
  // ----------------------------- Warning --------------------------------
63
63
  // | These PropTypes are generated from the TypeScript type definitions |
64
- // | To update them edit the TypeScript types and run "yarn proptypes" |
64
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
65
65
  // ----------------------------------------------------------------------
66
66
  /**
67
67
  * 12h/24h view for hour selection clock.
@@ -61,7 +61,7 @@ SingleInputTimeRangeField.fieldType = 'single-input';
61
61
  process.env.NODE_ENV !== "production" ? SingleInputTimeRangeField.propTypes = {
62
62
  // ----------------------------- Warning --------------------------------
63
63
  // | These PropTypes are generated from the TypeScript type definitions |
64
- // | To update them edit the TypeScript types and run "yarn proptypes" |
64
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
65
65
  // ----------------------------------------------------------------------
66
66
  /**
67
67
  * 12h/24h view for hour selection clock.
@@ -50,7 +50,7 @@ const StaticDateRangePicker = /*#__PURE__*/React.forwardRef(function StaticDateR
50
50
  StaticDateRangePicker.propTypes = {
51
51
  // ----------------------------- Warning --------------------------------
52
52
  // | These PropTypes are generated from the TypeScript type definitions |
53
- // | To update them edit the TypeScript types and run "yarn proptypes" |
53
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
54
54
  // ----------------------------------------------------------------------
55
55
  /**
56
56
  * If `true`, the main element is focused during the first mount.
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v7.5.0
2
+ * @mui/x-date-pickers-pro v7.6.0
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTcxNTg5NjgwMDAwMA==";
3
+ const releaseInfo = "MTcxNzAxNjQwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
@@ -480,7 +480,7 @@ const DateRangeCalendar = exports.DateRangeCalendar = /*#__PURE__*/React.forward
480
480
  process.env.NODE_ENV !== "production" ? DateRangeCalendar.propTypes = {
481
481
  // ----------------------------- Warning --------------------------------
482
482
  // | These PropTypes are generated from the TypeScript type definitions |
483
- // | To update them edit the TypeScript types and run "yarn proptypes" |
483
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
484
484
  // ----------------------------------------------------------------------
485
485
  /**
486
486
  * If `true`, the main element is focused during the first mount.
@@ -54,7 +54,7 @@ const DateRangePicker = exports.DateRangePicker = /*#__PURE__*/React.forwardRef(
54
54
  process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
55
55
  // ----------------------------- Warning --------------------------------
56
56
  // | These PropTypes are generated from the TypeScript type definitions |
57
- // | To update them edit the TypeScript types and run "yarn proptypes" |
57
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
58
58
  // ----------------------------------------------------------------------
59
59
  /**
60
60
  * If `true`, the main element is focused during the first mount.
@@ -99,7 +99,7 @@ const DateRangePickerToolbar = exports.DateRangePickerToolbar = /*#__PURE__*/Rea
99
99
  process.env.NODE_ENV !== "production" ? DateRangePickerToolbar.propTypes = {
100
100
  // ----------------------------- Warning --------------------------------
101
101
  // | These PropTypes are generated from the TypeScript type definitions |
102
- // | To update them edit the TypeScript types and run "yarn proptypes" |
102
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
103
103
  // ----------------------------------------------------------------------
104
104
  /**
105
105
  * Override or extend the styles applied to the component.
@@ -127,13 +127,6 @@ const DateRangePickerDayRoot = (0, _styles.styled)('div', {
127
127
  })
128
128
  }]
129
129
  }));
130
- DateRangePickerDayRoot.propTypes = {
131
- // ----------------------------- Warning --------------------------------
132
- // | These PropTypes are generated from the TypeScript type definitions |
133
- // | To update them edit the TypeScript types and run "yarn proptypes" |
134
- // ----------------------------------------------------------------------
135
- ownerState: _propTypes.default.object.isRequired
136
- };
137
130
  const DateRangePickerDayRangeIntervalPreview = (0, _styles.styled)('div', {
138
131
  name: 'MuiDateRangePickerDay',
139
132
  slot: 'RangeIntervalPreview',
@@ -186,13 +179,6 @@ const DateRangePickerDayRangeIntervalPreview = (0, _styles.styled)('div', {
186
179
  }, endBorderStyle)
187
180
  }]
188
181
  }));
189
- DateRangePickerDayRangeIntervalPreview.propTypes = {
190
- // ----------------------------- Warning --------------------------------
191
- // | These PropTypes are generated from the TypeScript type definitions |
192
- // | To update them edit the TypeScript types and run "yarn proptypes" |
193
- // ----------------------------------------------------------------------
194
- ownerState: _propTypes.default.object.isRequired
195
- };
196
182
  const DateRangePickerDayDay = (0, _styles.styled)(_PickersDay.PickersDay, {
197
183
  name: 'MuiDateRangePickerDay',
198
184
  slot: 'Day',
@@ -279,7 +265,7 @@ const DateRangePickerDayRaw = /*#__PURE__*/React.forwardRef(function DateRangePi
279
265
  process.env.NODE_ENV !== "production" ? DateRangePickerDayRaw.propTypes = {
280
266
  // ----------------------------- Warning --------------------------------
281
267
  // | These PropTypes are generated from the TypeScript type definitions |
282
- // | To update them edit the TypeScript types and run "yarn proptypes" |
268
+ // | To update them edit the TypeScript types and run "pnpm proptypes" |
283
269
  // ----------------------------------------------------------------------
284
270
  /**
285
271
  * A ref for imperative actions.