@mui/x-date-pickers-pro 9.6.0 → 9.7.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.
- package/CHANGELOG.md +111 -1
- package/DateRangeCalendar/DateRangeCalendar.d.mts +1 -1
- package/DateRangeCalendar/DateRangeCalendar.d.ts +1 -1
- package/DateRangeCalendar/DateRangeCalendar.js +2 -2
- package/DateRangeCalendar/DateRangeCalendar.mjs +2 -2
- package/DateRangeCalendar/DateRangeCalendar.types.d.mts +15 -15
- package/DateRangeCalendar/DateRangeCalendar.types.d.ts +15 -15
- package/DateRangeCalendar/useDragRange.d.mts +3 -3
- package/DateRangeCalendar/useDragRange.d.ts +3 -3
- package/DateRangePicker/DateRangePicker.d.mts +1 -1
- package/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/DateRangePicker/DateRangePicker.types.d.mts +4 -4
- package/DateRangePicker/DateRangePicker.types.d.ts +4 -4
- package/DateRangePicker/DateRangePickerToolbar.d.mts +2 -2
- package/DateRangePicker/DateRangePickerToolbar.d.ts +2 -2
- package/DateRangePicker/shared.d.mts +8 -8
- package/DateRangePicker/shared.d.ts +8 -8
- package/DateRangePickerDay/DateRangePickerDay.d.mts +1 -1
- package/DateRangePickerDay/DateRangePickerDay.d.ts +1 -1
- package/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/DateRangePickerDay/DateRangePickerDay.mjs +2 -2
- package/DateRangePickerDay/DateRangePickerDay.types.d.mts +4 -4
- package/DateRangePickerDay/DateRangePickerDay.types.d.ts +4 -4
- package/DateTimeRangePicker/DateTimeRangePicker.d.mts +1 -1
- package/DateTimeRangePicker/DateTimeRangePicker.d.ts +1 -1
- package/DateTimeRangePicker/DateTimeRangePicker.types.d.mts +3 -3
- package/DateTimeRangePicker/DateTimeRangePicker.types.d.ts +3 -3
- package/DateTimeRangePicker/DateTimeRangePickerTabs.d.mts +2 -2
- package/DateTimeRangePicker/DateTimeRangePickerTabs.d.ts +2 -2
- package/DateTimeRangePicker/DateTimeRangePickerTimeWrapper.d.mts +2 -2
- package/DateTimeRangePicker/DateTimeRangePickerTimeWrapper.d.ts +2 -2
- package/DateTimeRangePicker/DateTimeRangePickerToolbar.d.mts +2 -2
- package/DateTimeRangePicker/DateTimeRangePickerToolbar.d.ts +2 -2
- package/DateTimeRangePicker/shared.d.mts +14 -14
- package/DateTimeRangePicker/shared.d.ts +14 -14
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.mts +1 -1
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +1 -1
- package/DesktopDateRangePicker/DesktopDateRangePicker.types.d.mts +3 -3
- package/DesktopDateRangePicker/DesktopDateRangePicker.types.d.ts +3 -3
- package/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.d.mts +1 -1
- package/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.d.ts +1 -1
- package/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.types.d.mts +3 -3
- package/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.types.d.ts +3 -3
- package/DesktopTimeRangePicker/DesktopTimeRangePicker.d.mts +1 -1
- package/DesktopTimeRangePicker/DesktopTimeRangePicker.d.ts +1 -1
- package/DesktopTimeRangePicker/DesktopTimeRangePicker.types.d.mts +4 -4
- package/DesktopTimeRangePicker/DesktopTimeRangePicker.types.d.ts +4 -4
- package/MobileDateRangePicker/MobileDateRangePicker.d.mts +1 -1
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +1 -1
- package/MobileDateRangePicker/MobileDateRangePicker.types.d.mts +3 -3
- package/MobileDateRangePicker/MobileDateRangePicker.types.d.ts +3 -3
- package/MobileDateTimeRangePicker/MobileDateTimeRangePicker.d.mts +1 -1
- package/MobileDateTimeRangePicker/MobileDateTimeRangePicker.d.ts +1 -1
- package/MobileDateTimeRangePicker/MobileDateTimeRangePicker.types.d.mts +3 -3
- package/MobileDateTimeRangePicker/MobileDateTimeRangePicker.types.d.ts +3 -3
- package/MobileTimeRangePicker/MobileTimeRangePicker.d.mts +1 -1
- package/MobileTimeRangePicker/MobileTimeRangePicker.d.ts +1 -1
- package/MobileTimeRangePicker/MobileTimeRangePicker.types.d.mts +3 -3
- package/MobileTimeRangePicker/MobileTimeRangePicker.types.d.ts +3 -3
- package/MultiInputDateRangeField/MultiInputDateRangeField.d.mts +4 -4
- package/MultiInputDateRangeField/MultiInputDateRangeField.d.ts +4 -4
- package/MultiInputDateRangeField/multiInputDateRangeFieldClasses.d.mts +1 -1
- package/MultiInputDateRangeField/multiInputDateRangeFieldClasses.d.ts +1 -1
- package/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.d.mts +4 -4
- package/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.d.ts +4 -4
- package/MultiInputDateTimeRangeField/multiInputDateTimeRangeFieldClasses.d.mts +1 -1
- package/MultiInputDateTimeRangeField/multiInputDateTimeRangeFieldClasses.d.ts +1 -1
- package/MultiInputTimeRangeField/MultiInputTimeRangeField.d.mts +4 -4
- package/MultiInputTimeRangeField/MultiInputTimeRangeField.d.ts +4 -4
- package/MultiInputTimeRangeField/multiInputTimeRangeFieldClasses.d.mts +1 -1
- package/MultiInputTimeRangeField/multiInputTimeRangeFieldClasses.d.ts +1 -1
- package/PickersRangeCalendarHeader/PickersRangeCalendarHeader.d.mts +1 -1
- package/PickersRangeCalendarHeader/PickersRangeCalendarHeader.d.ts +1 -1
- package/PickersRangeCalendarHeader/PickersRangeCalendarHeader.types.d.mts +2 -2
- package/PickersRangeCalendarHeader/PickersRangeCalendarHeader.types.d.ts +2 -2
- package/SingleInputDateRangeField/SingleInputDateRangeField.d.mts +2 -2
- package/SingleInputDateRangeField/SingleInputDateRangeField.d.ts +2 -2
- package/SingleInputDateRangeField/SingleInputDateRangeField.js +1 -0
- package/SingleInputDateRangeField/SingleInputDateRangeField.mjs +1 -0
- package/SingleInputDateRangeField/SingleInputDateRangeField.types.d.mts +3 -3
- package/SingleInputDateRangeField/SingleInputDateRangeField.types.d.ts +3 -3
- package/SingleInputDateRangeField/useSingleInputDateRangeField.d.mts +1 -1
- package/SingleInputDateRangeField/useSingleInputDateRangeField.d.ts +1 -1
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.d.mts +2 -2
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.d.ts +2 -2
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +1 -0
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.mjs +1 -0
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.types.d.mts +3 -3
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.types.d.ts +3 -3
- package/SingleInputDateTimeRangeField/useSingleInputDateTimeRangeField.d.mts +1 -1
- package/SingleInputDateTimeRangeField/useSingleInputDateTimeRangeField.d.ts +1 -1
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.d.mts +2 -2
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.d.ts +2 -2
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.js +1 -0
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.mjs +1 -0
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.types.d.mts +3 -3
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.types.d.ts +3 -3
- package/SingleInputTimeRangeField/useSingleInputTimeRangeField.d.mts +1 -1
- package/SingleInputTimeRangeField/useSingleInputTimeRangeField.d.ts +1 -1
- package/StaticDateRangePicker/StaticDateRangePicker.d.mts +1 -1
- package/StaticDateRangePicker/StaticDateRangePicker.d.ts +1 -1
- package/StaticDateRangePicker/StaticDateRangePicker.types.d.mts +3 -3
- package/StaticDateRangePicker/StaticDateRangePicker.types.d.ts +3 -3
- package/TimeRangePicker/TimeRangePicker.d.mts +1 -1
- package/TimeRangePicker/TimeRangePicker.d.ts +1 -1
- package/TimeRangePicker/TimeRangePicker.types.d.mts +2 -2
- package/TimeRangePicker/TimeRangePicker.types.d.ts +2 -2
- package/TimeRangePicker/TimeRangePickerTabs.d.mts +2 -2
- package/TimeRangePicker/TimeRangePickerTabs.d.ts +2 -2
- package/TimeRangePicker/TimeRangePickerTimeWrapper.d.mts +2 -2
- package/TimeRangePicker/TimeRangePickerTimeWrapper.d.ts +2 -2
- package/TimeRangePicker/TimeRangePickerToolbar.d.mts +2 -2
- package/TimeRangePicker/TimeRangePickerToolbar.d.ts +2 -2
- package/TimeRangePicker/shared.d.mts +11 -11
- package/TimeRangePicker/shared.d.ts +11 -11
- package/dateRangeViewRenderers/dateRangeViewRenderers.d.mts +2 -2
- package/dateRangeViewRenderers/dateRangeViewRenderers.d.ts +2 -2
- package/hooks/useMultiInputRangeField/useMultiInputRangeField.d.mts +4 -4
- package/hooks/useMultiInputRangeField/useMultiInputRangeField.d.ts +4 -4
- package/hooks/useMultiInputRangeField/useMultiInputRangeFieldSelectedSections.d.mts +3 -3
- package/hooks/useMultiInputRangeField/useMultiInputRangeFieldSelectedSections.d.ts +3 -3
- package/hooks/useMultiInputRangeField/useTextFieldProps.d.mts +5 -5
- package/hooks/useMultiInputRangeField/useTextFieldProps.d.ts +5 -5
- package/hooks/usePickerRangePositionContext.d.mts +1 -1
- package/hooks/usePickerRangePositionContext.d.ts +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.d.mts +2 -2
- package/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.d.ts +2 -2
- package/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.js +2 -2
- package/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.mjs +2 -2
- package/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.types.d.mts +6 -6
- package/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.types.d.ts +6 -6
- package/internals/hooks/useMobileRangePicker/useMobileRangePicker.d.mts +2 -2
- package/internals/hooks/useMobileRangePicker/useMobileRangePicker.d.ts +2 -2
- package/internals/hooks/useMobileRangePicker/useMobileRangePicker.js +2 -2
- package/internals/hooks/useMobileRangePicker/useMobileRangePicker.mjs +2 -2
- package/internals/hooks/useMobileRangePicker/useMobileRangePicker.types.d.mts +6 -6
- package/internals/hooks/useMobileRangePicker/useMobileRangePicker.types.d.ts +6 -6
- package/internals/hooks/useRangePosition.d.mts +1 -1
- package/internals/hooks/useRangePosition.d.ts +1 -1
- package/internals/hooks/useStaticRangePicker/useStaticRangePicker.d.mts +2 -2
- package/internals/hooks/useStaticRangePicker/useStaticRangePicker.d.ts +2 -2
- package/internals/hooks/useStaticRangePicker/useStaticRangePicker.types.d.mts +4 -4
- package/internals/hooks/useStaticRangePicker/useStaticRangePicker.types.d.ts +4 -4
- package/internals/models/dateRange.d.mts +1 -1
- package/internals/models/dateRange.d.ts +1 -1
- package/internals/models/dateTimeRange.d.mts +1 -1
- package/internals/models/dateTimeRange.d.ts +1 -1
- package/internals/models/fields.d.mts +4 -4
- package/internals/models/fields.d.ts +4 -4
- package/internals/models/managers.d.mts +2 -2
- package/internals/models/managers.d.ts +2 -2
- package/internals/models/rangePickerProps.d.mts +4 -4
- package/internals/models/rangePickerProps.d.ts +4 -4
- package/internals/utils/createMultiInputRangeField/createMultiInputRangeField.d.mts +2 -2
- package/internals/utils/createMultiInputRangeField/createMultiInputRangeField.d.ts +2 -2
- package/internals/utils/createMultiInputRangeField/createMultiInputRangeField.types.d.mts +6 -6
- package/internals/utils/createMultiInputRangeField/createMultiInputRangeField.types.d.ts +6 -6
- package/internals/utils/createMultiInputRangeField/useTextFieldProps.d.mts +3 -3
- package/internals/utils/createMultiInputRangeField/useTextFieldProps.d.ts +3 -3
- package/internals/utils/createRangePickerStepNavigation.d.mts +2 -2
- package/internals/utils/createRangePickerStepNavigation.d.ts +2 -2
- package/internals/utils/date-fields-utils.d.mts +1 -1
- package/internals/utils/date-fields-utils.d.ts +1 -1
- package/internals/utils/date-range-manager.d.mts +3 -3
- package/internals/utils/date-range-manager.d.ts +3 -3
- package/internals/utils/date-utils.d.mts +2 -2
- package/internals/utils/date-utils.d.ts +2 -2
- package/internals/utils/valueManagers.d.mts +1 -1
- package/internals/utils/valueManagers.d.ts +1 -1
- package/managers/useDateRangeManager.d.mts +4 -4
- package/managers/useDateRangeManager.d.ts +4 -4
- package/managers/useDateTimeRangeManager.d.mts +4 -4
- package/managers/useDateTimeRangeManager.d.ts +4 -4
- package/managers/useTimeRangeManager.d.mts +4 -4
- package/managers/useTimeRangeManager.d.ts +4 -4
- package/models/fields.d.mts +3 -3
- package/models/fields.d.ts +3 -3
- package/models/range.d.mts +1 -1
- package/models/range.d.ts +1 -1
- package/models/validation.d.mts +1 -1
- package/models/validation.d.ts +1 -1
- package/package.json +5 -5
- package/themeAugmentation/components.d.mts +5 -5
- package/themeAugmentation/components.d.ts +5 -5
- package/themeAugmentation/overrides.d.mts +7 -7
- package/themeAugmentation/overrides.d.ts +7 -7
- package/themeAugmentation/props.d.mts +19 -19
- package/themeAugmentation/props.d.ts +19 -19
- package/validation/validateDateRange.d.mts +4 -4
- package/validation/validateDateRange.d.ts +4 -4
- package/validation/validateDateTimeRange.d.mts +5 -5
- package/validation/validateDateTimeRange.d.ts +5 -5
- package/validation/validateTimeRange.d.mts +3 -3
- package/validation/validateTimeRange.d.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,115 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.7.0
|
|
4
|
+
|
|
5
|
+
_Jun 25, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 🐞 Bugfixes
|
|
10
|
+
- 📚 Documentation improvements
|
|
11
|
+
|
|
12
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
13
|
+
@Anexus5919, @mustafajw07
|
|
14
|
+
|
|
15
|
+
The following team members contributed to this release:
|
|
16
|
+
@alexfauquette, @arminmeh, @brijeshb42, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @michelengelen, @romgrk, @sai6855, @siriwatknp
|
|
17
|
+
|
|
18
|
+
### Data Grid
|
|
19
|
+
|
|
20
|
+
#### `@mui/x-data-grid@9.7.0`
|
|
21
|
+
|
|
22
|
+
- [DataGrid] Fix `CustomColumnMenuGrid` demo crashing (#22897) @sai6855
|
|
23
|
+
- [DataGrid] Fix crash in `getRowValue` when `colDef` is `undefined` (#22838) @LukasTy
|
|
24
|
+
- [DataGrid] Fix `longText` expand button submitting surrounding form (#22450) @siriwatknp
|
|
25
|
+
- [DataGrid] Remove filename ignore list from `removePropTypesPlugin` in Babel config (#22727) @sai6855
|
|
26
|
+
- [DataGrid] Deduplicate scroll-preserving focus logic (#22916) @sai6855
|
|
27
|
+
- [DataGrid] Fix `singleSelect` clearing to use empty string instead of `null` (#22881) @michelengelen
|
|
28
|
+
- [DataGrid] Wait for rows before reacting on `autosizeOnMount` (#22698) @MBilalShafi
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-data-grid-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
31
|
+
|
|
32
|
+
Same changes as in `@mui/x-data-grid@9.7.0`.
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-premium@9.7.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid-pro@9.7.0`.
|
|
37
|
+
|
|
38
|
+
### Date and Time Pickers
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-date-pickers@9.7.0`
|
|
41
|
+
|
|
42
|
+
- [fields] Announce cardinal day in the day section `aria-valuetext` (#22922) @LukasTy
|
|
43
|
+
- [fields] Avoid focusing the field on blank space clicks (#22285) @LukasTy
|
|
44
|
+
- [pickers] Commit `TimeClock` value when the drag ends outside the clock (#22877) @LukasTy
|
|
45
|
+
- [pickers] Respect explicit `notched` prop on the outlined PickersTextField (#22875) @LukasTy
|
|
46
|
+
|
|
47
|
+
#### `@mui/x-date-pickers-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
48
|
+
|
|
49
|
+
Same changes as in `@mui/x-date-pickers@9.7.0`.
|
|
50
|
+
|
|
51
|
+
### Charts
|
|
52
|
+
|
|
53
|
+
#### `@mui/x-charts@9.7.0`
|
|
54
|
+
|
|
55
|
+
- [charts] Add demo for displaying the sum of all values from the stacked series on top of the stacked bars (#22879) @sai6855
|
|
56
|
+
- [charts] Add `zAxis` custom scatter component demo (#22746) @mustafajw07
|
|
57
|
+
- [charts] Apply axis `colorMap` to radial bar fill (#22800) @JCQuintas
|
|
58
|
+
- [charts] Simplify classes type (#22626) @alexfauquette
|
|
59
|
+
- [charts] Stable progressive scatter batching + responsive zoom/pan (#22862) @JCQuintas
|
|
60
|
+
- [charts] Strip dev-only console diagnostics from production (#22917) @sai6855
|
|
61
|
+
- [docs] Fix scatter renderer table blocking column (#22904) @JCQuintas
|
|
62
|
+
- [docs] Make `ScatterAsyncRenderer` button bar responsive (#22905) @JCQuintas
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-charts-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-charts@9.7.0`.
|
|
67
|
+
|
|
68
|
+
#### `@mui/x-charts-premium@9.7.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
69
|
+
|
|
70
|
+
Same changes as in `@mui/x-charts-pro@9.7.0`.
|
|
71
|
+
|
|
72
|
+
### Tree View
|
|
73
|
+
|
|
74
|
+
#### `@mui/x-tree-view@9.7.0`
|
|
75
|
+
|
|
76
|
+
Internal changes.
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-tree-view-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
79
|
+
|
|
80
|
+
Same changes as in `@mui/x-tree-view@9.7.0`.
|
|
81
|
+
|
|
82
|
+
### Scheduler
|
|
83
|
+
|
|
84
|
+
#### `@mui/x-scheduler@9.0.0-beta.3`
|
|
85
|
+
|
|
86
|
+
- [scheduler] Highlight only the edited occurrence of a recurring event (#22873) @Anexus5919
|
|
87
|
+
|
|
88
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
89
|
+
|
|
90
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.3`.
|
|
91
|
+
|
|
92
|
+
### Codemod
|
|
93
|
+
|
|
94
|
+
#### `@mui/x-codemod@9.7.0`
|
|
95
|
+
|
|
96
|
+
Internal changes.
|
|
97
|
+
|
|
98
|
+
### Core
|
|
99
|
+
|
|
100
|
+
- [code-infra] Fix react@^18 CI failing on nanoid trust-downgrade (#22923) @LukasTy
|
|
101
|
+
- [code-infra] Reduce Netlify build parallelism to 2 (#22925) @LukasTy
|
|
102
|
+
- [code-infra] Use Turbopack for docs in dev (#22882) @brijeshb42
|
|
103
|
+
- [docs-infra] Pre-render API page descriptions (#22919) @brijeshb42
|
|
104
|
+
- [internal] Use `@base-ui/utils/platform` for platform detection (#22710) @romgrk
|
|
105
|
+
- [internal] Enforce top-level type imports (#22679) @Janpot
|
|
106
|
+
|
|
107
|
+
### Miscellaneous
|
|
108
|
+
|
|
109
|
+
- [internal] Enable mui/no-floating-cleanup and fix leaks (#22872) @romgrk
|
|
110
|
+
- [infra] Update `.gitignore` to exclude `.claude` sub-directories (#22435) @michelengelen
|
|
111
|
+
- [virtualizer] Improve the dimensions' initial state (#22885) @arminmeh
|
|
112
|
+
|
|
3
113
|
## 9.6.0
|
|
4
114
|
|
|
5
115
|
_Jun 18, 2026_
|
|
@@ -115,7 +225,7 @@ Same changes as in `@mui/x-scheduler@9.0.0-beta.2`, plus:
|
|
|
115
225
|
|
|
116
226
|
- [scheduler-premium] Expose premium model types through public API (#22798) @mustafajw07
|
|
117
227
|
- [scheduler-premium] Remove non-functional `onPreferencesChange` prop from `EventTimelinePremium` (#22777) @rita-codes
|
|
118
|
-
- [scheduler-premium] Validate the `FREQ` value in `parseRRule`] (#22786) @rita-codes
|
|
228
|
+
- [scheduler-premium] Validate the `FREQ` value in `parseRRule`] (#22786) @rita-codes
|
|
119
229
|
|
|
120
230
|
### Codemod
|
|
121
231
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateRangeCalendarProps } from "./DateRangeCalendar.types.mjs";
|
|
2
|
+
import type { DateRangeCalendarProps } from "./DateRangeCalendar.types.mjs";
|
|
3
3
|
type DateRangeCalendarComponent = ((props: DateRangeCalendarProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateRangeCalendarProps } from "./DateRangeCalendar.types.js";
|
|
2
|
+
import type { DateRangeCalendarProps } from "./DateRangeCalendar.types.js";
|
|
3
3
|
type DateRangeCalendarComponent = ((props: DateRangeCalendarProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -37,8 +37,8 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
37
37
|
const _excluded = ["value", "defaultValue", "referenceDate", "onChange", "className", "classes", "disableFuture", "disablePast", "minDate", "maxDate", "shouldDisableDate", "reduceAnimations", "onMonthChange", "rangePosition", "defaultRangePosition", "onRangePositionChange", "calendars", "currentMonthCalendarPosition", "slots", "slotProps", "loading", "renderLoading", "disableHighlightToday", "focusedView", "onFocusedViewChange", "readOnly", "disabled", "showDaysOutsideCurrentMonth", "dayOfWeekFormatter", "disableAutoMonthSwitching", "autoFocus", "fixedWeekNumber", "disableDragEditing", "displayWeekNumber", "timezone", "availableRangePositions", "views", "view", "openTo", "onViewChange"],
|
|
38
38
|
_excluded2 = ["isDragging", "rangeDragDay", "draggingDatePosition"];
|
|
39
39
|
const packageInfo = {
|
|
40
|
-
releaseDate: "
|
|
41
|
-
version: "9.
|
|
40
|
+
releaseDate: "MTc4MjM0NTYwMDAwMA==",
|
|
41
|
+
version: "9.7.0",
|
|
42
42
|
name: 'x-date-pickers-pro'
|
|
43
43
|
};
|
|
44
44
|
const DateRangeCalendarRoot = (0, _styles.styled)('div', {
|
|
@@ -30,8 +30,8 @@ import { PickersRangeCalendarHeader } from "../PickersRangeCalendarHeader/index.
|
|
|
30
30
|
import { useNullablePickerRangePositionContext } from "../internals/hooks/useNullablePickerRangePositionContext.mjs";
|
|
31
31
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
32
32
|
const packageInfo = {
|
|
33
|
-
releaseDate: "
|
|
34
|
-
version: "9.
|
|
33
|
+
releaseDate: "MTc4MjM0NTYwMDAwMA==",
|
|
34
|
+
version: "9.7.0",
|
|
35
35
|
name: 'x-date-pickers-pro'
|
|
36
36
|
};
|
|
37
37
|
const DateRangeCalendarRoot = styled('div', {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
4
|
-
import { Theme } from '@mui/material/styles';
|
|
5
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
6
|
-
import { PickerOwnerState, PickerValidDate, TimezoneProps } from '@mui/x-date-pickers/models';
|
|
7
|
-
import { PickersCalendarHeader, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps } from '@mui/x-date-pickers/PickersCalendarHeader';
|
|
8
|
-
import { PickerDayOwnerState } from '@mui/x-date-pickers/PickerDay';
|
|
9
|
-
import { BaseDateValidationProps, ExportedDayCalendarProps, DayCalendarSlots, DayCalendarSlotProps, PickersArrowSwitcherSlots, PickersArrowSwitcherSlotProps, ExportedUseViewsOptions, PickerRangeValue, FormProps } from '@mui/x-date-pickers/internals';
|
|
10
|
-
import { RangePosition } from "../models/index.mjs";
|
|
11
|
-
import { DateRangeCalendarClasses } from "./dateRangeCalendarClasses.mjs";
|
|
12
|
-
import { DateRangePickerDay, DateRangePickerDayProps } from "../DateRangePickerDay/index.mjs";
|
|
13
|
-
import { UseRangePositionProps } from "../internals/hooks/useRangePosition.mjs";
|
|
14
|
-
import { PickersRangeCalendarHeaderProps } from "../PickersRangeCalendarHeader/index.mjs";
|
|
15
|
-
import { ExportedValidateDateRangeProps } from "../validation/validateDateRange.mjs";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SxProps } from '@mui/system';
|
|
3
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
4
|
+
import type { Theme } from '@mui/material/styles';
|
|
5
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
6
|
+
import type { PickerOwnerState, PickerValidDate, TimezoneProps } from '@mui/x-date-pickers/models';
|
|
7
|
+
import type { PickersCalendarHeader, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps } from '@mui/x-date-pickers/PickersCalendarHeader';
|
|
8
|
+
import type { PickerDayOwnerState } from '@mui/x-date-pickers/PickerDay';
|
|
9
|
+
import type { BaseDateValidationProps, ExportedDayCalendarProps, DayCalendarSlots, DayCalendarSlotProps, PickersArrowSwitcherSlots, PickersArrowSwitcherSlotProps, ExportedUseViewsOptions, PickerRangeValue, FormProps } from '@mui/x-date-pickers/internals';
|
|
10
|
+
import type { RangePosition } from "../models/index.mjs";
|
|
11
|
+
import type { DateRangeCalendarClasses } from "./dateRangeCalendarClasses.mjs";
|
|
12
|
+
import type { DateRangePickerDay, DateRangePickerDayProps } from "../DateRangePickerDay/index.mjs";
|
|
13
|
+
import type { UseRangePositionProps } from "../internals/hooks/useRangePosition.mjs";
|
|
14
|
+
import type { PickersRangeCalendarHeaderProps } from "../PickersRangeCalendarHeader/index.mjs";
|
|
15
|
+
import type { ExportedValidateDateRangeProps } from "../validation/validateDateRange.mjs";
|
|
16
16
|
export interface DateRangeCalendarSlots extends PickersArrowSwitcherSlots, Omit<DayCalendarSlots, 'day'>, PickersCalendarHeaderSlots {
|
|
17
17
|
/**
|
|
18
18
|
* Custom component for calendar header.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
4
|
-
import { Theme } from '@mui/material/styles';
|
|
5
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
6
|
-
import { PickerOwnerState, PickerValidDate, TimezoneProps } from '@mui/x-date-pickers/models';
|
|
7
|
-
import { PickersCalendarHeader, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps } from '@mui/x-date-pickers/PickersCalendarHeader';
|
|
8
|
-
import { PickerDayOwnerState } from '@mui/x-date-pickers/PickerDay';
|
|
9
|
-
import { BaseDateValidationProps, ExportedDayCalendarProps, DayCalendarSlots, DayCalendarSlotProps, PickersArrowSwitcherSlots, PickersArrowSwitcherSlotProps, ExportedUseViewsOptions, PickerRangeValue, FormProps } from '@mui/x-date-pickers/internals';
|
|
10
|
-
import { RangePosition } from "../models/index.js";
|
|
11
|
-
import { DateRangeCalendarClasses } from "./dateRangeCalendarClasses.js";
|
|
12
|
-
import { DateRangePickerDay, DateRangePickerDayProps } from "../DateRangePickerDay/index.js";
|
|
13
|
-
import { UseRangePositionProps } from "../internals/hooks/useRangePosition.js";
|
|
14
|
-
import { PickersRangeCalendarHeaderProps } from "../PickersRangeCalendarHeader/index.js";
|
|
15
|
-
import { ExportedValidateDateRangeProps } from "../validation/validateDateRange.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SxProps } from '@mui/system';
|
|
3
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
4
|
+
import type { Theme } from '@mui/material/styles';
|
|
5
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
6
|
+
import type { PickerOwnerState, PickerValidDate, TimezoneProps } from '@mui/x-date-pickers/models';
|
|
7
|
+
import type { PickersCalendarHeader, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps } from '@mui/x-date-pickers/PickersCalendarHeader';
|
|
8
|
+
import type { PickerDayOwnerState } from '@mui/x-date-pickers/PickerDay';
|
|
9
|
+
import type { BaseDateValidationProps, ExportedDayCalendarProps, DayCalendarSlots, DayCalendarSlotProps, PickersArrowSwitcherSlots, PickersArrowSwitcherSlotProps, ExportedUseViewsOptions, PickerRangeValue, FormProps } from '@mui/x-date-pickers/internals';
|
|
10
|
+
import type { RangePosition } from "../models/index.js";
|
|
11
|
+
import type { DateRangeCalendarClasses } from "./dateRangeCalendarClasses.js";
|
|
12
|
+
import type { DateRangePickerDay, DateRangePickerDayProps } from "../DateRangePickerDay/index.js";
|
|
13
|
+
import type { UseRangePositionProps } from "../internals/hooks/useRangePosition.js";
|
|
14
|
+
import type { PickersRangeCalendarHeaderProps } from "../PickersRangeCalendarHeader/index.js";
|
|
15
|
+
import type { ExportedValidateDateRangeProps } from "../validation/validateDateRange.js";
|
|
16
16
|
export interface DateRangeCalendarSlots extends PickersArrowSwitcherSlots, Omit<DayCalendarSlots, 'day'>, PickersCalendarHeaderSlots {
|
|
17
17
|
/**
|
|
18
18
|
* Custom component for calendar header.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MuiPickersAdapter, PickersTimezone, PickerValidDate } from '@mui/x-date-pickers/models';
|
|
3
|
-
import { PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
4
|
-
import { RangePosition } from "../models/index.mjs";
|
|
2
|
+
import type { MuiPickersAdapter, PickersTimezone, PickerValidDate } from '@mui/x-date-pickers/models';
|
|
3
|
+
import type { PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
4
|
+
import type { RangePosition } from "../models/index.mjs";
|
|
5
5
|
interface UseDragRangeParams {
|
|
6
6
|
disableDragEditing?: boolean;
|
|
7
7
|
adapter: MuiPickersAdapter;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MuiPickersAdapter, PickersTimezone, PickerValidDate } from '@mui/x-date-pickers/models';
|
|
3
|
-
import { PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
4
|
-
import { RangePosition } from "../models/index.js";
|
|
2
|
+
import type { MuiPickersAdapter, PickersTimezone, PickerValidDate } from '@mui/x-date-pickers/models';
|
|
3
|
+
import type { PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
4
|
+
import type { RangePosition } from "../models/index.js";
|
|
5
5
|
interface UseDragRangeParams {
|
|
6
6
|
disableDragEditing?: boolean;
|
|
7
7
|
adapter: MuiPickersAdapter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateRangePickerProps } from "./DateRangePicker.types.mjs";
|
|
2
|
+
import type { DateRangePickerProps } from "./DateRangePicker.types.mjs";
|
|
3
3
|
type DatePickerComponent = ((props: DateRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateRangePickerProps } from "./DateRangePicker.types.js";
|
|
2
|
+
import type { DateRangePickerProps } from "./DateRangePicker.types.js";
|
|
3
3
|
type DatePickerComponent = ((props: DateRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseSingleInputFieldProps } from '@mui/x-date-pickers/internals';
|
|
2
|
-
import { DesktopDateRangePickerProps, DesktopDateRangePickerSlots, DesktopDateRangePickerSlotProps } from "../DesktopDateRangePicker/index.mjs";
|
|
3
|
-
import { MobileDateRangePickerProps, MobileDateRangePickerSlots, MobileDateRangePickerSlotProps } from "../MobileDateRangePicker/index.mjs";
|
|
4
|
-
import { ValidateDateRangeProps } from "../validation/index.mjs";
|
|
1
|
+
import type { BaseSingleInputFieldProps } from '@mui/x-date-pickers/internals';
|
|
2
|
+
import type { DesktopDateRangePickerProps, DesktopDateRangePickerSlots, DesktopDateRangePickerSlotProps } from "../DesktopDateRangePicker/index.mjs";
|
|
3
|
+
import type { MobileDateRangePickerProps, MobileDateRangePickerSlots, MobileDateRangePickerSlotProps } from "../MobileDateRangePicker/index.mjs";
|
|
4
|
+
import type { ValidateDateRangeProps } from "../validation/index.mjs";
|
|
5
5
|
export interface DateRangePickerSlots extends DesktopDateRangePickerSlots, MobileDateRangePickerSlots {}
|
|
6
6
|
export interface DateRangePickerSlotProps extends DesktopDateRangePickerSlotProps, MobileDateRangePickerSlotProps {}
|
|
7
7
|
export interface DateRangePickerProps extends DesktopDateRangePickerProps, MobileDateRangePickerProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseSingleInputFieldProps } from '@mui/x-date-pickers/internals';
|
|
2
|
-
import { DesktopDateRangePickerProps, DesktopDateRangePickerSlots, DesktopDateRangePickerSlotProps } from "../DesktopDateRangePicker/index.js";
|
|
3
|
-
import { MobileDateRangePickerProps, MobileDateRangePickerSlots, MobileDateRangePickerSlotProps } from "../MobileDateRangePicker/index.js";
|
|
4
|
-
import { ValidateDateRangeProps } from "../validation/index.js";
|
|
1
|
+
import type { BaseSingleInputFieldProps } from '@mui/x-date-pickers/internals';
|
|
2
|
+
import type { DesktopDateRangePickerProps, DesktopDateRangePickerSlots, DesktopDateRangePickerSlotProps } from "../DesktopDateRangePicker/index.js";
|
|
3
|
+
import type { MobileDateRangePickerProps, MobileDateRangePickerSlots, MobileDateRangePickerSlotProps } from "../MobileDateRangePicker/index.js";
|
|
4
|
+
import type { ValidateDateRangeProps } from "../validation/index.js";
|
|
5
5
|
export interface DateRangePickerSlots extends DesktopDateRangePickerSlots, MobileDateRangePickerSlots {}
|
|
6
6
|
export interface DateRangePickerSlotProps extends DesktopDateRangePickerSlotProps, MobileDateRangePickerSlotProps {}
|
|
7
7
|
export interface DateRangePickerProps extends DesktopDateRangePickerProps, MobileDateRangePickerProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseToolbarProps, ExportedBaseToolbarProps } from '@mui/x-date-pickers/internals';
|
|
3
|
-
import { DateRangePickerToolbarClasses } from "./dateRangePickerToolbarClasses.mjs";
|
|
2
|
+
import type { BaseToolbarProps, ExportedBaseToolbarProps } from '@mui/x-date-pickers/internals';
|
|
3
|
+
import type { DateRangePickerToolbarClasses } from "./dateRangePickerToolbarClasses.mjs";
|
|
4
4
|
export interface DateRangePickerToolbarProps extends ExportedDateRangePickerToolbarProps, Omit<BaseToolbarProps, 'onChange' | 'isLandscape'> {}
|
|
5
5
|
export interface ExportedDateRangePickerToolbarProps extends ExportedBaseToolbarProps {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseToolbarProps, ExportedBaseToolbarProps } from '@mui/x-date-pickers/internals';
|
|
3
|
-
import { DateRangePickerToolbarClasses } from "./dateRangePickerToolbarClasses.js";
|
|
2
|
+
import type { BaseToolbarProps, ExportedBaseToolbarProps } from '@mui/x-date-pickers/internals';
|
|
3
|
+
import type { DateRangePickerToolbarClasses } from "./dateRangePickerToolbarClasses.js";
|
|
4
4
|
export interface DateRangePickerToolbarProps extends ExportedDateRangePickerToolbarProps, Omit<BaseToolbarProps, 'onChange' | 'isLandscape'> {}
|
|
5
5
|
export interface ExportedDateRangePickerToolbarProps extends ExportedBaseToolbarProps {
|
|
6
6
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
-
import { LocalizedComponent } from '@mui/x-date-pickers/locales';
|
|
4
|
-
import { BasePickerInputProps, PickerViewRendererLookup, PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
5
|
-
import { DateRangeValidationError } from "../models/index.mjs";
|
|
6
|
-
import { DateRangeCalendarSlots, DateRangeCalendarSlotProps, ExportedDateRangeCalendarProps } from "../DateRangeCalendar/index.mjs";
|
|
7
|
-
import { DateRangePickerToolbarProps, ExportedDateRangePickerToolbarProps } from "./DateRangePickerToolbar.mjs";
|
|
8
|
-
import { DateRangeViewRendererProps } from "../dateRangeViewRenderers/index.mjs";
|
|
9
|
-
import { ValidateDateRangePropsToDefault } from "../validation/validateDateRange.mjs";
|
|
2
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { LocalizedComponent } from '@mui/x-date-pickers/locales';
|
|
4
|
+
import type { BasePickerInputProps, PickerViewRendererLookup, PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
5
|
+
import type { DateRangeValidationError } from "../models/index.mjs";
|
|
6
|
+
import type { DateRangeCalendarSlots, DateRangeCalendarSlotProps, ExportedDateRangeCalendarProps } from "../DateRangeCalendar/index.mjs";
|
|
7
|
+
import type { DateRangePickerToolbarProps, ExportedDateRangePickerToolbarProps } from "./DateRangePickerToolbar.mjs";
|
|
8
|
+
import type { DateRangeViewRendererProps } from "../dateRangeViewRenderers/index.mjs";
|
|
9
|
+
import type { ValidateDateRangePropsToDefault } from "../validation/validateDateRange.mjs";
|
|
10
10
|
export interface BaseDateRangePickerSlots extends DateRangeCalendarSlots {
|
|
11
11
|
/**
|
|
12
12
|
* Custom component for the toolbar rendered above the views.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
-
import { LocalizedComponent } from '@mui/x-date-pickers/locales';
|
|
4
|
-
import { BasePickerInputProps, PickerViewRendererLookup, PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
5
|
-
import { DateRangeValidationError } from "../models/index.js";
|
|
6
|
-
import { DateRangeCalendarSlots, DateRangeCalendarSlotProps, ExportedDateRangeCalendarProps } from "../DateRangeCalendar/index.js";
|
|
7
|
-
import { DateRangePickerToolbarProps, ExportedDateRangePickerToolbarProps } from "./DateRangePickerToolbar.js";
|
|
8
|
-
import { DateRangeViewRendererProps } from "../dateRangeViewRenderers/index.js";
|
|
9
|
-
import { ValidateDateRangePropsToDefault } from "../validation/validateDateRange.js";
|
|
2
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { LocalizedComponent } from '@mui/x-date-pickers/locales';
|
|
4
|
+
import type { BasePickerInputProps, PickerViewRendererLookup, PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
5
|
+
import type { DateRangeValidationError } from "../models/index.js";
|
|
6
|
+
import type { DateRangeCalendarSlots, DateRangeCalendarSlotProps, ExportedDateRangeCalendarProps } from "../DateRangeCalendar/index.js";
|
|
7
|
+
import type { DateRangePickerToolbarProps, ExportedDateRangePickerToolbarProps } from "./DateRangePickerToolbar.js";
|
|
8
|
+
import type { DateRangeViewRendererProps } from "../dateRangeViewRenderers/index.js";
|
|
9
|
+
import type { ValidateDateRangePropsToDefault } from "../validation/validateDateRange.js";
|
|
10
10
|
export interface BaseDateRangePickerSlots extends DateRangeCalendarSlots {
|
|
11
11
|
/**
|
|
12
12
|
* Custom component for the toolbar rendered above the views.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateRangePickerDayProps } from "./DateRangePickerDay.types.mjs";
|
|
2
|
+
import type { DateRangePickerDayProps } from "./DateRangePickerDay.types.mjs";
|
|
3
3
|
type DateRangePickerDayComponent = ((props: DateRangePickerDayProps & React.RefAttributes<HTMLButtonElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateRangePickerDayProps } from "./DateRangePickerDay.types.js";
|
|
2
|
+
import type { DateRangePickerDayProps } from "./DateRangePickerDay.types.js";
|
|
3
3
|
type DateRangePickerDayComponent = ((props: DateRangePickerDayProps & React.RefAttributes<HTMLButtonElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -328,8 +328,8 @@ const DateRangePickerDayRaw = /*#__PURE__*/React.forwardRef(function DateRangePi
|
|
|
328
328
|
name: 'MuiDateRangePickerDay'
|
|
329
329
|
});
|
|
330
330
|
(0, _internals.useLicenseVerifier)({
|
|
331
|
-
releaseDate: "
|
|
332
|
-
version: "9.
|
|
331
|
+
releaseDate: "MTc4MjM0NTYwMDAwMA==",
|
|
332
|
+
version: "9.7.0",
|
|
333
333
|
name: 'x-date-pickers-pro'
|
|
334
334
|
});
|
|
335
335
|
const adapter = (0, _hooks.usePickerAdapter)();
|
|
@@ -321,8 +321,8 @@ const DateRangePickerDayRaw = /*#__PURE__*/React.forwardRef(function DateRangePi
|
|
|
321
321
|
name: 'MuiDateRangePickerDay'
|
|
322
322
|
});
|
|
323
323
|
useLicenseVerifier({
|
|
324
|
-
releaseDate: "
|
|
325
|
-
version: "9.
|
|
324
|
+
releaseDate: "MTc4MjM0NTYwMDAwMA==",
|
|
325
|
+
version: "9.7.0",
|
|
326
326
|
name: 'x-date-pickers-pro'
|
|
327
327
|
});
|
|
328
328
|
const adapter = usePickerAdapter();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PickerDayOwnerState, PickerDayProps } from '@mui/x-date-pickers/PickerDay';
|
|
2
|
-
import { PickerValidDate } from '@mui/x-date-pickers/models';
|
|
3
|
-
import { MuiEvent } from '@mui/x-internals/types';
|
|
4
|
-
import { DateRangePickerDayClasses } from "./dateRangePickerDayClasses.mjs";
|
|
1
|
+
import type { PickerDayOwnerState, PickerDayProps } from '@mui/x-date-pickers/PickerDay';
|
|
2
|
+
import type { PickerValidDate } from '@mui/x-date-pickers/models';
|
|
3
|
+
import type { MuiEvent } from '@mui/x-internals/types';
|
|
4
|
+
import type { DateRangePickerDayClasses } from "./dateRangePickerDayClasses.mjs";
|
|
5
5
|
export interface DateRangePickerDayProps extends Omit<PickerDayProps, 'classes'> {
|
|
6
6
|
/**
|
|
7
7
|
* Set to `true` if the `day` is in a highlighted date range.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PickerDayOwnerState, PickerDayProps } from '@mui/x-date-pickers/PickerDay';
|
|
2
|
-
import { PickerValidDate } from '@mui/x-date-pickers/models';
|
|
3
|
-
import { MuiEvent } from '@mui/x-internals/types';
|
|
4
|
-
import { DateRangePickerDayClasses } from "./dateRangePickerDayClasses.js";
|
|
1
|
+
import type { PickerDayOwnerState, PickerDayProps } from '@mui/x-date-pickers/PickerDay';
|
|
2
|
+
import type { PickerValidDate } from '@mui/x-date-pickers/models';
|
|
3
|
+
import type { MuiEvent } from '@mui/x-internals/types';
|
|
4
|
+
import type { DateRangePickerDayClasses } from "./dateRangePickerDayClasses.js";
|
|
5
5
|
export interface DateRangePickerDayProps extends Omit<PickerDayProps, 'classes'> {
|
|
6
6
|
/**
|
|
7
7
|
* Set to `true` if the `day` is in a highlighted date range.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateTimeRangePickerProps } from "./DateTimeRangePicker.types.mjs";
|
|
2
|
+
import type { DateTimeRangePickerProps } from "./DateTimeRangePicker.types.mjs";
|
|
3
3
|
type DateTimeRangePickerComponent = ((props: DateTimeRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateTimeRangePickerProps } from "./DateTimeRangePicker.types.js";
|
|
2
|
+
import type { DateTimeRangePickerProps } from "./DateTimeRangePicker.types.js";
|
|
3
3
|
type DateTimeRangePickerComponent = ((props: DateTimeRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseSingleInputFieldProps } from '@mui/x-date-pickers/internals';
|
|
2
|
-
import { DesktopDateTimeRangePickerProps, DesktopDateTimeRangePickerSlots, DesktopDateTimeRangePickerSlotProps } from "../DesktopDateTimeRangePicker/index.mjs";
|
|
3
|
-
import { MobileDateTimeRangePickerProps, MobileDateTimeRangePickerSlots, MobileDateTimeRangePickerSlotProps } from "../MobileDateTimeRangePicker/index.mjs";
|
|
1
|
+
import type { BaseSingleInputFieldProps } from '@mui/x-date-pickers/internals';
|
|
2
|
+
import type { DesktopDateTimeRangePickerProps, DesktopDateTimeRangePickerSlots, DesktopDateTimeRangePickerSlotProps } from "../DesktopDateTimeRangePicker/index.mjs";
|
|
3
|
+
import type { MobileDateTimeRangePickerProps, MobileDateTimeRangePickerSlots, MobileDateTimeRangePickerSlotProps } from "../MobileDateTimeRangePicker/index.mjs";
|
|
4
4
|
import type { ValidateDateTimeRangeProps } from "../validation/index.mjs";
|
|
5
5
|
export interface DateTimeRangePickerSlots extends DesktopDateTimeRangePickerSlots, MobileDateTimeRangePickerSlots {}
|
|
6
6
|
export interface DateTimeRangePickerSlotProps extends DesktopDateTimeRangePickerSlotProps, MobileDateTimeRangePickerSlotProps {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseSingleInputFieldProps } from '@mui/x-date-pickers/internals';
|
|
2
|
-
import { DesktopDateTimeRangePickerProps, DesktopDateTimeRangePickerSlots, DesktopDateTimeRangePickerSlotProps } from "../DesktopDateTimeRangePicker/index.js";
|
|
3
|
-
import { MobileDateTimeRangePickerProps, MobileDateTimeRangePickerSlots, MobileDateTimeRangePickerSlotProps } from "../MobileDateTimeRangePicker/index.js";
|
|
1
|
+
import type { BaseSingleInputFieldProps } from '@mui/x-date-pickers/internals';
|
|
2
|
+
import type { DesktopDateTimeRangePickerProps, DesktopDateTimeRangePickerSlots, DesktopDateTimeRangePickerSlotProps } from "../DesktopDateTimeRangePicker/index.js";
|
|
3
|
+
import type { MobileDateTimeRangePickerProps, MobileDateTimeRangePickerSlots, MobileDateTimeRangePickerSlotProps } from "../MobileDateTimeRangePicker/index.js";
|
|
4
4
|
import type { ValidateDateTimeRangeProps } from "../validation/index.js";
|
|
5
5
|
export interface DateTimeRangePickerSlots extends DesktopDateTimeRangePickerSlots, MobileDateTimeRangePickerSlots {}
|
|
6
6
|
export interface DateTimeRangePickerSlotProps extends DesktopDateTimeRangePickerSlotProps, MobileDateTimeRangePickerSlotProps {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ExportedBaseTabsProps } from '@mui/x-date-pickers/internals';
|
|
3
|
-
import { DateTimeRangePickerTabsClasses } from "./dateTimeRangePickerTabsClasses.mjs";
|
|
2
|
+
import type { ExportedBaseTabsProps } from '@mui/x-date-pickers/internals';
|
|
3
|
+
import type { DateTimeRangePickerTabsClasses } from "./dateTimeRangePickerTabsClasses.mjs";
|
|
4
4
|
export interface ExportedDateTimeRangePickerTabsProps extends ExportedBaseTabsProps {
|
|
5
5
|
/**
|
|
6
6
|
* Toggles visibility of the tabs allowing view switching.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ExportedBaseTabsProps } from '@mui/x-date-pickers/internals';
|
|
3
|
-
import { DateTimeRangePickerTabsClasses } from "./dateTimeRangePickerTabsClasses.js";
|
|
2
|
+
import type { ExportedBaseTabsProps } from '@mui/x-date-pickers/internals';
|
|
3
|
+
import type { DateTimeRangePickerTabsClasses } from "./dateTimeRangePickerTabsClasses.js";
|
|
4
4
|
export interface ExportedDateTimeRangePickerTabsProps extends ExportedBaseTabsProps {
|
|
5
5
|
/**
|
|
6
6
|
* Toggles visibility of the tabs allowing view switching.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
2
|
-
import { PickerSelectionState, PickerViewRenderer, TimeViewWithMeridiem, BaseClockProps, PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
1
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
2
|
+
import type { PickerSelectionState, PickerViewRenderer, TimeViewWithMeridiem, BaseClockProps, PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
3
3
|
export type DateTimeRangePickerTimeWrapperProps<TComponentProps extends DefaultizedProps<Omit<BaseClockProps<TimeViewWithMeridiem>, 'value' | 'defaultValue' | 'onChange'>, 'views'>> = Omit<TComponentProps, 'views' | 'view' | 'onViewChange' | 'value' | 'defaultValue' | 'onChange'> & {
|
|
4
4
|
view: TimeViewWithMeridiem;
|
|
5
5
|
onViewChange?: (view: TimeViewWithMeridiem) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
2
|
-
import { PickerSelectionState, PickerViewRenderer, TimeViewWithMeridiem, BaseClockProps, PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
1
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
2
|
+
import type { PickerSelectionState, PickerViewRenderer, TimeViewWithMeridiem, BaseClockProps, PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
3
3
|
export type DateTimeRangePickerTimeWrapperProps<TComponentProps extends DefaultizedProps<Omit<BaseClockProps<TimeViewWithMeridiem>, 'value' | 'defaultValue' | 'onChange'>, 'views'>> = Omit<TComponentProps, 'views' | 'view' | 'onViewChange' | 'value' | 'defaultValue' | 'onChange'> & {
|
|
4
4
|
view: TimeViewWithMeridiem;
|
|
5
5
|
onViewChange?: (view: TimeViewWithMeridiem) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseToolbarProps, ExportedBaseToolbarProps } from '@mui/x-date-pickers/internals';
|
|
3
|
-
import { DateTimeRangePickerToolbarClasses } from "./dateTimeRangePickerToolbarClasses.mjs";
|
|
2
|
+
import type { BaseToolbarProps, ExportedBaseToolbarProps } from '@mui/x-date-pickers/internals';
|
|
3
|
+
import type { DateTimeRangePickerToolbarClasses } from "./dateTimeRangePickerToolbarClasses.mjs";
|
|
4
4
|
export interface DateTimeRangePickerToolbarProps extends BaseToolbarProps, ExportedDateTimeRangePickerToolbarProps {
|
|
5
5
|
ampm?: boolean;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseToolbarProps, ExportedBaseToolbarProps } from '@mui/x-date-pickers/internals';
|
|
3
|
-
import { DateTimeRangePickerToolbarClasses } from "./dateTimeRangePickerToolbarClasses.js";
|
|
2
|
+
import type { BaseToolbarProps, ExportedBaseToolbarProps } from '@mui/x-date-pickers/internals';
|
|
3
|
+
import type { DateTimeRangePickerToolbarClasses } from "./dateTimeRangePickerToolbarClasses.js";
|
|
4
4
|
export interface DateTimeRangePickerToolbarProps extends BaseToolbarProps, ExportedDateTimeRangePickerToolbarProps {
|
|
5
5
|
ampm?: boolean;
|
|
6
6
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
-
import { LocalizedComponent } from '@mui/x-date-pickers/locales';
|
|
4
|
-
import { BasePickerInputProps, PickerViewRendererLookup, BaseClockProps, DigitalTimePickerProps, TimeViewWithMeridiem, UseViewsOptions, DateOrTimeViewWithMeridiem, PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
5
|
-
import { TimeViewRendererProps } from '@mui/x-date-pickers/timeViewRenderers';
|
|
6
|
-
import { DigitalClockSlots, DigitalClockSlotProps } from '@mui/x-date-pickers/DigitalClock';
|
|
7
|
-
import { MultiSectionDigitalClockSlots, MultiSectionDigitalClockSlotProps } from '@mui/x-date-pickers/MultiSectionDigitalClock';
|
|
8
|
-
import { DateTimeRangeValidationError } from "../models/index.mjs";
|
|
9
|
-
import { DateTimeRangePickerView, DateTimeRangePickerViewExternal } from "../internals/models/index.mjs";
|
|
10
|
-
import { DateRangeCalendarSlots, DateRangeCalendarSlotProps, ExportedDateRangeCalendarProps } from "../DateRangeCalendar/index.mjs";
|
|
11
|
-
import { DateTimeRangePickerToolbarProps, ExportedDateTimeRangePickerToolbarProps } from "./DateTimeRangePickerToolbar.mjs";
|
|
12
|
-
import { DateRangeViewRendererProps } from "../dateRangeViewRenderers/index.mjs";
|
|
13
|
-
import { DateTimeRangePickerTabsProps, ExportedDateTimeRangePickerTabsProps } from "./DateTimeRangePickerTabs.mjs";
|
|
14
|
-
import { ExportedValidateDateTimeRangeProps, ValidateDateTimeRangePropsToDefault } from "../validation/validateDateTimeRange.mjs";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { LocalizedComponent } from '@mui/x-date-pickers/locales';
|
|
4
|
+
import type { BasePickerInputProps, PickerViewRendererLookup, BaseClockProps, DigitalTimePickerProps, TimeViewWithMeridiem, UseViewsOptions, DateOrTimeViewWithMeridiem, PickerRangeValue } from '@mui/x-date-pickers/internals';
|
|
5
|
+
import type { TimeViewRendererProps } from '@mui/x-date-pickers/timeViewRenderers';
|
|
6
|
+
import type { DigitalClockSlots, DigitalClockSlotProps } from '@mui/x-date-pickers/DigitalClock';
|
|
7
|
+
import type { MultiSectionDigitalClockSlots, MultiSectionDigitalClockSlotProps } from '@mui/x-date-pickers/MultiSectionDigitalClock';
|
|
8
|
+
import type { DateTimeRangeValidationError } from "../models/index.mjs";
|
|
9
|
+
import type { DateTimeRangePickerView, DateTimeRangePickerViewExternal } from "../internals/models/index.mjs";
|
|
10
|
+
import type { DateRangeCalendarSlots, DateRangeCalendarSlotProps, ExportedDateRangeCalendarProps } from "../DateRangeCalendar/index.mjs";
|
|
11
|
+
import type { DateTimeRangePickerToolbarProps, ExportedDateTimeRangePickerToolbarProps } from "./DateTimeRangePickerToolbar.mjs";
|
|
12
|
+
import type { DateRangeViewRendererProps } from "../dateRangeViewRenderers/index.mjs";
|
|
13
|
+
import type { DateTimeRangePickerTabsProps, ExportedDateTimeRangePickerTabsProps } from "./DateTimeRangePickerTabs.mjs";
|
|
14
|
+
import type { ExportedValidateDateTimeRangeProps, ValidateDateTimeRangePropsToDefault } from "../validation/validateDateTimeRange.mjs";
|
|
15
15
|
export interface BaseDateTimeRangePickerSlots extends DateRangeCalendarSlots, DigitalClockSlots, MultiSectionDigitalClockSlots {
|
|
16
16
|
/**
|
|
17
17
|
* Tabs enabling toggling between date and time pickers.
|