@mui/x-date-pickers-pro 7.5.0 → 7.5.1
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.
- package/CHANGELOG.md +61 -5417
- package/DateRangeCalendar/DateRangeCalendar.js +1 -1
- package/DateRangePicker/DateRangePicker.js +1 -1
- package/DateRangePicker/DateRangePickerToolbar.js +1 -1
- package/DateRangePickerDay/DateRangePickerDay.js +1 -15
- package/DateTimeRangePicker/DateTimeRangePicker.js +1 -1
- package/DateTimeRangePicker/DateTimeRangePickerTabs.js +1 -1
- package/DateTimeRangePicker/DateTimeRangePickerToolbar.js +1 -1
- package/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
- package/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.js +1 -1
- package/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
- package/MobileDateTimeRangePicker/MobileDateTimeRangePicker.js +1 -1
- package/MultiInputDateRangeField/MultiInputDateRangeField.js +1 -1
- package/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +1 -1
- package/MultiInputTimeRangeField/MultiInputTimeRangeField.js +1 -1
- package/PickersRangeCalendarHeader/PickersRangeCalendarHeader.js +1 -1
- package/SingleInputDateRangeField/SingleInputDateRangeField.js +1 -1
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +1 -1
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.js +1 -1
- package/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
- package/index.js +1 -1
- package/internals/utils/releaseInfo.js +1 -1
- package/modern/DateRangeCalendar/DateRangeCalendar.js +1 -1
- package/modern/DateRangePicker/DateRangePicker.js +1 -1
- package/modern/DateRangePicker/DateRangePickerToolbar.js +1 -1
- package/modern/DateRangePickerDay/DateRangePickerDay.js +1 -15
- package/modern/DateTimeRangePicker/DateTimeRangePicker.js +1 -1
- package/modern/DateTimeRangePicker/DateTimeRangePickerTabs.js +1 -1
- package/modern/DateTimeRangePicker/DateTimeRangePickerToolbar.js +1 -1
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
- package/modern/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.js +1 -1
- package/modern/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
- package/modern/MobileDateTimeRangePicker/MobileDateTimeRangePicker.js +1 -1
- package/modern/MultiInputDateRangeField/MultiInputDateRangeField.js +1 -1
- package/modern/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +1 -1
- package/modern/MultiInputTimeRangeField/MultiInputTimeRangeField.js +1 -1
- package/modern/PickersRangeCalendarHeader/PickersRangeCalendarHeader.js +1 -1
- package/modern/SingleInputDateRangeField/SingleInputDateRangeField.js +1 -1
- package/modern/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +1 -1
- package/modern/SingleInputTimeRangeField/SingleInputTimeRangeField.js +1 -1
- package/modern/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
- package/modern/index.js +1 -1
- package/modern/internals/utils/releaseInfo.js +1 -1
- package/node/DateRangeCalendar/DateRangeCalendar.js +1 -1
- package/node/DateRangePicker/DateRangePicker.js +1 -1
- package/node/DateRangePicker/DateRangePickerToolbar.js +1 -1
- package/node/DateRangePickerDay/DateRangePickerDay.js +1 -15
- package/node/DateTimeRangePicker/DateTimeRangePicker.js +1 -1
- package/node/DateTimeRangePicker/DateTimeRangePickerTabs.js +1 -1
- package/node/DateTimeRangePicker/DateTimeRangePickerToolbar.js +1 -1
- package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
- package/node/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.js +1 -1
- package/node/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
- package/node/MobileDateTimeRangePicker/MobileDateTimeRangePicker.js +1 -1
- package/node/MultiInputDateRangeField/MultiInputDateRangeField.js +1 -1
- package/node/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +1 -1
- package/node/MultiInputTimeRangeField/MultiInputTimeRangeField.js +1 -1
- package/node/PickersRangeCalendarHeader/PickersRangeCalendarHeader.js +1 -1
- package/node/SingleInputDateRangeField/SingleInputDateRangeField.js +1 -1
- package/node/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +1 -1
- package/node/SingleInputTimeRangeField/SingleInputTimeRangeField.js +1 -1
- package/node/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
- package/node/index.js +1 -1
- package/node/internals/utils/releaseInfo.js +1 -1
- package/package.json +3 -3
|
@@ -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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcxNjQxNTIwMDAwMA==";
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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,6 +1,6 @@
|
|
|
1
1
|
import { ponyfillGlobal } from '@mui/utils';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTcxNjQxNTIwMDAwMA==";
|
|
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 "
|
|
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 "
|
|
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 "
|
|
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 "
|
|
268
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
283
269
|
// ----------------------------------------------------------------------
|
|
284
270
|
/**
|
|
285
271
|
* A ref for imperative actions.
|
|
@@ -54,7 +54,7 @@ const DateTimeRangePicker = exports.DateTimeRangePicker = /*#__PURE__*/React.for
|
|
|
54
54
|
process.env.NODE_ENV !== "production" ? DateTimeRangePicker.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 "
|
|
57
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
58
58
|
// ----------------------------------------------------------------------
|
|
59
59
|
/**
|
|
60
60
|
* 12h/24h view for hour selection clock.
|
|
@@ -155,7 +155,7 @@ const DateTimeRangePickerTabs = exports.DateTimeRangePickerTabs = function DateT
|
|
|
155
155
|
process.env.NODE_ENV !== "production" ? DateTimeRangePickerTabs.propTypes = {
|
|
156
156
|
// ----------------------------- Warning --------------------------------
|
|
157
157
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
158
|
-
// | To update them edit the TypeScript types and run "
|
|
158
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
159
159
|
// ----------------------------------------------------------------------
|
|
160
160
|
/**
|
|
161
161
|
* Override or extend the styles applied to the component.
|
|
@@ -181,7 +181,7 @@ const DateTimeRangePickerToolbar = exports.DateTimeRangePickerToolbar = /*#__PUR
|
|
|
181
181
|
process.env.NODE_ENV !== "production" ? DateTimeRangePickerToolbar.propTypes = {
|
|
182
182
|
// ----------------------------- Warning --------------------------------
|
|
183
183
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
184
|
-
// | To update them edit the TypeScript types and run "
|
|
184
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
185
185
|
// ----------------------------------------------------------------------
|
|
186
186
|
ampm: _propTypes.default.bool,
|
|
187
187
|
/**
|
|
@@ -65,7 +65,7 @@ const DesktopDateRangePicker = exports.DesktopDateRangePicker = /*#__PURE__*/Rea
|
|
|
65
65
|
DesktopDateRangePicker.propTypes = {
|
|
66
66
|
// ----------------------------- Warning --------------------------------
|
|
67
67
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
68
|
-
// | To update them edit the TypeScript types and run "
|
|
68
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
69
69
|
// ----------------------------------------------------------------------
|
|
70
70
|
/**
|
|
71
71
|
* If `true`, the main element is focused during the first mount.
|
|
@@ -138,7 +138,7 @@ const DesktopDateTimeRangePicker = exports.DesktopDateTimeRangePicker = /*#__PUR
|
|
|
138
138
|
DesktopDateTimeRangePicker.propTypes = {
|
|
139
139
|
// ----------------------------- Warning --------------------------------
|
|
140
140
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
141
|
-
// | To update them edit the TypeScript types and run "
|
|
141
|
+
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
142
142
|
// ----------------------------------------------------------------------
|
|
143
143
|
/**
|
|
144
144
|
* 12h/24h view for hour selection clock.
|