@mui/x-date-pickers-pro 9.0.0-beta.0 → 9.0.0-rc.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 +155 -1
- package/DateRangeCalendar/DateRangeCalendar.js +9 -21
- package/DateRangeCalendar/DateRangeCalendar.mjs +9 -21
- package/DateRangeCalendar/DateRangeCalendar.types.d.mts +3 -3
- package/DateRangeCalendar/DateRangeCalendar.types.d.ts +3 -3
- package/DateRangePicker/DateRangePicker.d.mts +1 -1
- package/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/DateRangePicker/DateRangePicker.js +1 -5
- package/DateRangePicker/DateRangePicker.mjs +1 -5
- package/DateRangePicker/DateRangePicker.types.d.mts +3 -3
- package/DateRangePicker/DateRangePicker.types.d.ts +3 -3
- package/DateRangePickerDay/DateRangePickerDay.d.mts +3 -3
- package/DateRangePickerDay/DateRangePickerDay.d.ts +3 -3
- package/DateRangePickerDay/DateRangePickerDay.js +416 -212
- package/DateRangePickerDay/DateRangePickerDay.mjs +418 -214
- package/DateRangePickerDay/DateRangePickerDay.types.d.mts +71 -23
- package/DateRangePickerDay/DateRangePickerDay.types.d.ts +71 -23
- package/DateRangePickerDay/dateRangePickerDayClasses.d.mts +35 -31
- package/DateRangePickerDay/dateRangePickerDayClasses.d.ts +35 -31
- package/DateRangePickerDay/dateRangePickerDayClasses.js +1 -1
- package/DateRangePickerDay/dateRangePickerDayClasses.mjs +1 -1
- package/DateTimeRangePicker/DateTimeRangePicker.d.mts +1 -1
- package/DateTimeRangePicker/DateTimeRangePicker.d.ts +1 -1
- package/DateTimeRangePicker/DateTimeRangePicker.js +1 -5
- package/DateTimeRangePicker/DateTimeRangePicker.mjs +1 -5
- package/DateTimeRangePicker/DateTimeRangePicker.types.d.mts +3 -3
- package/DateTimeRangePicker/DateTimeRangePicker.types.d.ts +3 -3
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.mts +1 -1
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +1 -1
- package/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -5
- package/DesktopDateRangePicker/DesktopDateRangePicker.mjs +1 -5
- 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.js +1 -5
- package/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.mjs +1 -5
- 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.js +0 -4
- package/DesktopTimeRangePicker/DesktopTimeRangePicker.mjs +0 -4
- package/DesktopTimeRangePicker/DesktopTimeRangePicker.types.d.mts +3 -3
- package/DesktopTimeRangePicker/DesktopTimeRangePicker.types.d.ts +3 -3
- package/MobileDateRangePicker/MobileDateRangePicker.d.mts +1 -1
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +1 -1
- package/MobileDateRangePicker/MobileDateRangePicker.js +1 -5
- package/MobileDateRangePicker/MobileDateRangePicker.mjs +1 -5
- 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.js +1 -5
- package/MobileDateTimeRangePicker/MobileDateTimeRangePicker.mjs +1 -5
- 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.js +0 -4
- package/MobileTimeRangePicker/MobileTimeRangePicker.mjs +0 -4
- package/MobileTimeRangePicker/MobileTimeRangePicker.types.d.mts +3 -3
- package/MobileTimeRangePicker/MobileTimeRangePicker.types.d.ts +3 -3
- package/MultiInputDateRangeField/MultiInputDateRangeField.d.mts +2 -2
- package/MultiInputDateRangeField/MultiInputDateRangeField.d.ts +2 -2
- package/MultiInputDateRangeField/MultiInputDateRangeField.js +0 -4
- package/MultiInputDateRangeField/MultiInputDateRangeField.mjs +0 -4
- package/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.d.mts +2 -2
- package/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.d.ts +2 -2
- package/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.js +0 -4
- package/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.mjs +0 -4
- package/MultiInputTimeRangeField/MultiInputTimeRangeField.d.mts +2 -2
- package/MultiInputTimeRangeField/MultiInputTimeRangeField.d.ts +2 -2
- package/MultiInputTimeRangeField/MultiInputTimeRangeField.js +0 -4
- package/MultiInputTimeRangeField/MultiInputTimeRangeField.mjs +0 -4
- package/SingleInputDateRangeField/SingleInputDateRangeField.d.mts +1 -1
- package/SingleInputDateRangeField/SingleInputDateRangeField.d.ts +1 -1
- package/SingleInputDateRangeField/SingleInputDateRangeField.js +22 -4
- package/SingleInputDateRangeField/SingleInputDateRangeField.mjs +22 -4
- package/SingleInputDateRangeField/SingleInputDateRangeField.types.d.mts +2 -2
- package/SingleInputDateRangeField/SingleInputDateRangeField.types.d.ts +2 -2
- package/SingleInputDateRangeField/useSingleInputDateRangeField.d.mts +1 -1
- package/SingleInputDateRangeField/useSingleInputDateRangeField.d.ts +1 -1
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.d.mts +1 -1
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.d.ts +1 -1
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.js +22 -4
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.mjs +22 -4
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.types.d.mts +2 -2
- package/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.types.d.ts +2 -2
- package/SingleInputDateTimeRangeField/useSingleInputDateTimeRangeField.d.mts +1 -1
- package/SingleInputDateTimeRangeField/useSingleInputDateTimeRangeField.d.ts +1 -1
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.d.mts +1 -1
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.d.ts +1 -1
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.js +22 -4
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.mjs +22 -4
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.types.d.mts +2 -2
- package/SingleInputTimeRangeField/SingleInputTimeRangeField.types.d.ts +2 -2
- package/SingleInputTimeRangeField/useSingleInputTimeRangeField.d.mts +1 -1
- package/SingleInputTimeRangeField/useSingleInputTimeRangeField.d.ts +1 -1
- package/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
- package/StaticDateRangePicker/StaticDateRangePicker.mjs +1 -1
- package/TimeRangePicker/TimeRangePicker.d.mts +1 -1
- package/TimeRangePicker/TimeRangePicker.d.ts +1 -1
- package/TimeRangePicker/TimeRangePicker.js +0 -4
- package/TimeRangePicker/TimeRangePicker.mjs +0 -4
- package/TimeRangePicker/TimeRangePicker.types.d.mts +3 -3
- package/TimeRangePicker/TimeRangePicker.types.d.ts +3 -3
- package/hooks/useMultiInputRangeField/useMultiInputRangeField.d.mts +8 -9
- package/hooks/useMultiInputRangeField/useMultiInputRangeField.d.ts +8 -9
- package/hooks/useMultiInputRangeField/useMultiInputRangeField.js +4 -7
- package/hooks/useMultiInputRangeField/useMultiInputRangeField.mjs +4 -7
- package/hooks/useMultiInputRangeField/useMultiInputRangeFieldSelectedSections.d.mts +1 -1
- package/hooks/useMultiInputRangeField/useMultiInputRangeFieldSelectedSections.d.ts +1 -1
- package/hooks/useMultiInputRangeField/useTextFieldProps.d.mts +3 -3
- package/hooks/useMultiInputRangeField/useTextFieldProps.d.ts +3 -3
- package/hooks/useMultiInputRangeField/useTextFieldProps.js +1 -3
- package/hooks/useMultiInputRangeField/useTextFieldProps.mjs +1 -3
- package/index.d.mts +0 -1
- package/index.d.ts +0 -1
- package/index.js +1 -12
- package/index.mjs +1 -2
- package/internals/constants/dimensions.d.mts +1 -2
- package/internals/constants/dimensions.d.ts +1 -2
- package/internals/constants/dimensions.js +7 -2
- package/internals/constants/dimensions.mjs +2 -2
- 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 +5 -5
- package/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.types.d.ts +5 -5
- 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/models/fields.d.mts +1 -1
- package/internals/models/fields.d.ts +1 -1
- package/internals/models/managers.d.mts +1 -1
- package/internals/models/managers.d.ts +1 -1
- package/internals/utils/createMultiInputRangeField/createMultiInputRangeField.js +7 -6
- package/internals/utils/createMultiInputRangeField/createMultiInputRangeField.mjs +7 -6
- package/internals/utils/createMultiInputRangeField/createMultiInputRangeField.types.d.mts +4 -7
- package/internals/utils/createMultiInputRangeField/createMultiInputRangeField.types.d.ts +4 -7
- package/internals/utils/valueManagers.js +2 -6
- package/internals/utils/valueManagers.mjs +3 -7
- package/managers/useDateRangeManager.d.mts +4 -6
- package/managers/useDateRangeManager.d.ts +4 -6
- package/managers/useDateRangeManager.js +1 -3
- package/managers/useDateRangeManager.mjs +1 -3
- package/managers/useDateTimeRangeManager.d.mts +4 -6
- package/managers/useDateTimeRangeManager.d.ts +4 -6
- package/managers/useDateTimeRangeManager.js +1 -3
- package/managers/useDateTimeRangeManager.mjs +1 -3
- package/managers/useTimeRangeManager.d.mts +4 -6
- package/managers/useTimeRangeManager.d.ts +4 -6
- package/managers/useTimeRangeManager.js +1 -3
- package/managers/useTimeRangeManager.mjs +1 -3
- package/models/fields.d.mts +2 -2
- package/models/fields.d.ts +2 -2
- package/package.json +7 -21
- package/themeAugmentation/components.d.mts +0 -4
- package/themeAugmentation/components.d.ts +0 -4
- package/themeAugmentation/overrides.d.mts +0 -2
- package/themeAugmentation/overrides.d.ts +0 -2
- package/themeAugmentation/props.d.mts +12 -14
- package/themeAugmentation/props.d.ts +12 -14
- package/DateRangePickerDay2/DateRangePickerDay2.d.mts +0 -7
- package/DateRangePickerDay2/DateRangePickerDay2.d.ts +0 -7
- package/DateRangePickerDay2/DateRangePickerDay2.js +0 -605
- package/DateRangePickerDay2/DateRangePickerDay2.mjs +0 -598
- package/DateRangePickerDay2/DateRangePickerDay2.types.d.mts +0 -92
- package/DateRangePickerDay2/DateRangePickerDay2.types.d.ts +0 -92
- package/DateRangePickerDay2/DateRangePickerDay2.types.js +0 -5
- package/DateRangePickerDay2/DateRangePickerDay2.types.mjs +0 -1
- package/DateRangePickerDay2/dateRangePickerDay2Classes.d.mts +0 -29
- package/DateRangePickerDay2/dateRangePickerDay2Classes.d.ts +0 -29
- package/DateRangePickerDay2/dateRangePickerDay2Classes.js +0 -14
- package/DateRangePickerDay2/dateRangePickerDay2Classes.mjs +0 -6
- package/DateRangePickerDay2/index.d.mts +0 -4
- package/DateRangePickerDay2/index.d.ts +0 -4
- package/DateRangePickerDay2/index.js +0 -25
- package/DateRangePickerDay2/index.mjs +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,159 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.0.0-rc.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v9.0.0-beta.0..master -->
|
|
6
|
+
|
|
7
|
+
_Apr 7, 2026_
|
|
8
|
+
|
|
9
|
+
We'd like to extend a big thank you to the 18 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
12
|
+
@mixelburg, @sibananda485, @youjin-hong
|
|
13
|
+
|
|
14
|
+
The following team members contributed to this release:
|
|
15
|
+
@aemartos, @alexfauquette, @arminmeh, @brijeshb42, @flaviendelangle, @JCQuintas, @LukasTy, @mapache-salvaje, @MBilalShafi, @michelengelen, @noraleonte, @rita-codes, @romgrk, @siriwatknp, @ZeeshanTamboli
|
|
16
|
+
|
|
17
|
+
### Data Grid
|
|
18
|
+
|
|
19
|
+
#### `@mui/x-data-grid@9.0.0-rc.0`
|
|
20
|
+
|
|
21
|
+
- [DataGrid] Rename filter panel `Columns` label to singular `Column` (#21935) @youjin-hong
|
|
22
|
+
- [DataGrid] Export `GridColumnUnsortedIconProps` for custom column icon slots (#21658) @mixelburg
|
|
23
|
+
- [DataGrid] Remove `x-virtualizer`'s `virtualScroller` from public API (#21936) @romgrk
|
|
24
|
+
- [DataGrid][virtualizer] Scrolling without render gaps (#21616) @romgrk
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-pro@9.0.0-rc.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid@9.0.0-rc.0`, plus:
|
|
29
|
+
|
|
30
|
+
- [DataGridPro] Improve trigger for nested row reordering (#21642) @MBilalShafi
|
|
31
|
+
- [DataGridPro] Undeprecate `onRowsScrollEnd` prop (#21912) @MBilalShafi
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-premium@9.0.0-rc.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid-pro@9.0.0-rc.0`, plus:
|
|
36
|
+
|
|
37
|
+
- [DataGridPremium] Fix clipboard paste issue in portal (#21931) @sibananda485
|
|
38
|
+
|
|
39
|
+
### Date and Time Pickers
|
|
40
|
+
|
|
41
|
+
#### Breaking changes
|
|
42
|
+
|
|
43
|
+
- Accessible DOM structure is now the only default. [Read more](https://next.mui.com/x/migration/migration-pickers-v8/#accessible-dom-structure-is-now-the-default)
|
|
44
|
+
- The `PickerDay2` and `DateRangePickerDay2` components were propagated to stable while removing the previous defaults. [Read more](https://next.mui.com/x/migration/migration-pickers-v8/#day-slot)
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-date-pickers@9.0.0-rc.0`
|
|
47
|
+
|
|
48
|
+
- [pickers] Remove `PickersDay` and `DateRangePickerDay` and promote their `2` versions as replacements (#21739) @michelengelen
|
|
49
|
+
|
|
50
|
+
#### `@mui/x-date-pickers-pro@9.0.0-rc.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
51
|
+
|
|
52
|
+
Same changes as in `@mui/x-date-pickers@9.0.0-rc.0`.
|
|
53
|
+
|
|
54
|
+
### Charts
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-charts@9.0.0-rc.0.0`
|
|
57
|
+
|
|
58
|
+
- [charts] Make line visibility toggle start from the baseline (#21893) @alexfauquette
|
|
59
|
+
- [charts] Remove the container overflow (#21955) @alexfauquette
|
|
60
|
+
- [charts] Revert `theme.alpha` for non-channel token (#21965) @siriwatknp
|
|
61
|
+
|
|
62
|
+
#### `@mui/x-charts-pro@9.0.0-rc.0.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
63
|
+
|
|
64
|
+
Same changes as in `@mui/x-charts@9.0.0-rc.0.0`, plus:
|
|
65
|
+
|
|
66
|
+
- [charts-pro] Zoom slider touch improvements (#21832) @JCQuintas
|
|
67
|
+
- [charts-pro] Add `seriesIds` filter to zoom slider preview (#21933) @JCQuintas
|
|
68
|
+
- [charts-pro] Fix zoom slider preview with discard filter mode (#21883) @JCQuintas
|
|
69
|
+
|
|
70
|
+
#### `@mui/x-charts-premium@9.0.0-rc.0.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
71
|
+
|
|
72
|
+
Same changes as in `@mui/x-charts-pro@9.0.0-rc.0.0`, plus:
|
|
73
|
+
|
|
74
|
+
- [charts-premium] Add series `valueFormatter` to candlestick chart (#21905) @JCQuintas
|
|
75
|
+
- [charts-premium] Add zoom slider preview support for candlestick charts (#21914) @JCQuintas
|
|
76
|
+
- [charts-premium] Allow color customization in `Candlestick` chart (#21838) @JCQuintas
|
|
77
|
+
- [charts-premium] Support hide/show for OHLC (candlestick) series (#21807) @Copilot
|
|
78
|
+
- [charts-premium] Add `dataset` support to `Candlestick` chart (#21872) @JCQuintas
|
|
79
|
+
- [charts-premium] Add candlestick page to sidebar navigation (#21834) @JCQuintas
|
|
80
|
+
|
|
81
|
+
### Tree View
|
|
82
|
+
|
|
83
|
+
#### `@mui/x-tree-view@9.0.0-rc.0`
|
|
84
|
+
|
|
85
|
+
Internal changes.
|
|
86
|
+
|
|
87
|
+
#### `@mui/x-tree-view-pro@9.0.0-rc.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
88
|
+
|
|
89
|
+
Same changes as in `@mui/x-tree-view@9.0.0-rc.0`, plus:
|
|
90
|
+
|
|
91
|
+
- [RichTreeViewPro] Allow to auto-expand lazy loaded items (#21759) @flaviendelangle
|
|
92
|
+
|
|
93
|
+
### Scheduler
|
|
94
|
+
|
|
95
|
+
#### `@mui/x-scheduler@9.0.0-alpha.0`
|
|
96
|
+
|
|
97
|
+
- [scheduler] Add locale files, adapt l10n scripts, and add localization table to docs (#21870) @rita-codes
|
|
98
|
+
- [scheduler] Add planned features to the docs (#21705) @rita-codes
|
|
99
|
+
- [scheduler] Add scheduler to docs introduction (#21845) @rita-codes
|
|
100
|
+
- [scheduler] Add wide docs to scheduler (#21860) @noraleonte
|
|
101
|
+
- [scheduler] All day event bugfixes (#21884) @noraleonte
|
|
102
|
+
- [scheduler] Autofocus title field (#21947) @noraleonte
|
|
103
|
+
- [scheduler] Change default event creation trigger to single click (#21979) @rita-codes
|
|
104
|
+
- [scheduler] Change order of the views on the view selector (#21904) @rita-codes
|
|
105
|
+
- [scheduler] Disabled border color for the repeat day picker in dark mode (#21987) @rita-codes
|
|
106
|
+
- [scheduler] Drop unused dependency (#21956) @flaviendelangle
|
|
107
|
+
- [scheduler] Fix all-day event shifting to previous day in negative UTC offsets (#21994) @rita-codes
|
|
108
|
+
- [scheduler] Fix dark theme localization demos (#21992) @noraleonte
|
|
109
|
+
- [scheduler] Fix licensing confusion in docs (#21939) @rita-codes
|
|
110
|
+
- [scheduler] Fix preferences menu width shift when toggling options + Improve preferences menu accessibility (#21902) @rita-codes
|
|
111
|
+
- [scheduler] Prepare for the alpha launch (#21859) @rita-codes
|
|
112
|
+
- [scheduler] Sync Base UI internals and apply good practices (#21946) @flaviendelangle
|
|
113
|
+
- [scheduler] Update close modal aria label translation (#21940) @rita-codes
|
|
114
|
+
- [scheduler] Add Spanish (es-ES) locale (#21900) @rita-codes
|
|
115
|
+
- [scheduler] Improve French (fr-FR) locale (#21941) @rita-codes
|
|
116
|
+
- [scheduler] Improve Romanian (ro-RO) locale (#21942) @rita-codes
|
|
117
|
+
|
|
118
|
+
#### `@mui/x-scheduler-premium@9.0.0-alpha.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
119
|
+
|
|
120
|
+
Same changes as in `@mui/x-scheduler@9.0.0-alpha.0`.
|
|
121
|
+
|
|
122
|
+
### Codemod
|
|
123
|
+
|
|
124
|
+
#### `@mui/x-codemod@9.0.0-rc.0`
|
|
125
|
+
|
|
126
|
+
Internal changes.
|
|
127
|
+
|
|
128
|
+
### Docs
|
|
129
|
+
|
|
130
|
+
- [docs] Fix JSDOM → jsdom casing (#21907) @JCQuintas
|
|
131
|
+
- [docs] Remove Joy UI references and dependency (#21937) @siriwatknp
|
|
132
|
+
- [docs] Remove none generated files (#21886) @alexfauquette
|
|
133
|
+
- [docs] Remove unused interactive demo code (#21945) @LukasTy
|
|
134
|
+
- [docs] Revise the Funnel doc (#21677) @mapache-salvaje
|
|
135
|
+
- [docs] Revise the Line chart docs (#21554) @mapache-salvaje
|
|
136
|
+
- [docs] Revise the Radar doc (#21674) @mapache-salvaje
|
|
137
|
+
- [docs] Revise the Sankey doc (#21678) @mapache-salvaje
|
|
138
|
+
- [docs] Revise the Scatter chart docs (#21564) @mapache-salvaje
|
|
139
|
+
|
|
140
|
+
### Core
|
|
141
|
+
|
|
142
|
+
- [docs-infra] Update to the latest monorepo (#21971) @brijeshb42
|
|
143
|
+
- [internal] Remove checks for `materialVersion >= 6` (#21975) @LukasTy
|
|
144
|
+
|
|
145
|
+
### Miscellaneous
|
|
146
|
+
|
|
147
|
+
- [core] Bump @mui/material to v9.0.0-beta.1 (#21858) @siriwatknp
|
|
148
|
+
- [core] Update browserslistrc (#21974) @siriwatknp
|
|
149
|
+
- [deps] Bump minimum core packages to 7.3.0 to adopt theme color manipulator (#21892) @siriwatknp
|
|
150
|
+
- [telemetry] Prefer upstream remote over origin for `projectId` (#21882) @aemartos
|
|
151
|
+
- [telemetry] Send `repoHash`, `[x]packageNameHash`, and `rootPathHash` alongside `projectId` (#21896) @aemartos
|
|
152
|
+
- [test] Exclude flaky `DataGrid` argos test (#21977) @MBilalShafi
|
|
153
|
+
- [test] Fix flaky `DataGrid` test (#22000) @arminmeh
|
|
154
|
+
- [test] Remove `componentsProp` test from `describeConformance` (#21897) @ZeeshanTamboli
|
|
155
|
+
- [x-license] Change `orderId` type from `number` to `string` (#21885) @aemartos
|
|
156
|
+
|
|
3
157
|
## 9.0.0-beta.0
|
|
4
158
|
|
|
5
159
|
<!-- generated comparing v9.0.0-alpha.4..master -->
|
|
@@ -313,7 +467,7 @@ Same changes as in `@mui/x-charts-pro@9.0.0-alpha.3`, plus:
|
|
|
313
467
|
- Remove deprecated CSS state classes from `treeItemClasses`: `expanded`, `selected`, `focused`, `disabled`, `editable`, `editing` (use `[data-expanded]`, `[data-selected]`, etc.)
|
|
314
468
|
- The `<RichTreeViewPro />` component has now virtualization enabled by default.
|
|
315
469
|
- The items used inside the `<RichTreeViewPro />` now have a default height of `32px`.
|
|
316
|
-
- The
|
|
470
|
+
- The items of the `<RichTreeViewPro />` are now rendered as a flat list instead of a nested tree.
|
|
317
471
|
|
|
318
472
|
#### `@mui/x-tree-view@9.0.0-alpha.3`
|
|
319
473
|
|
|
@@ -33,13 +33,12 @@ var _useRangePosition = require("../internals/hooks/useRangePosition");
|
|
|
33
33
|
var _dimensions = require("../internals/constants/dimensions");
|
|
34
34
|
var _PickersRangeCalendarHeader = require("../PickersRangeCalendarHeader");
|
|
35
35
|
var _useNullablePickerRangePositionContext = require("../internals/hooks/useNullablePickerRangePositionContext");
|
|
36
|
-
var _DateRangePickerDay2 = require("../DateRangePickerDay2");
|
|
37
36
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
38
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"],
|
|
39
38
|
_excluded2 = ["isDragging", "rangeDragDay", "draggingDatePosition"];
|
|
40
39
|
const packageInfo = {
|
|
41
|
-
releaseDate: "
|
|
42
|
-
version: "9.0.0-
|
|
40
|
+
releaseDate: "MTc3NTUyMDAwMDAwMA==",
|
|
41
|
+
version: "9.0.0-rc.0",
|
|
43
42
|
name: 'x-date-pickers-pro'
|
|
44
43
|
};
|
|
45
44
|
const DateRangeCalendarRoot = (0, _styles.styled)('div', {
|
|
@@ -63,25 +62,12 @@ const DateRangeCalendarMonthContainer = (0, _styles.styled)('div', {
|
|
|
63
62
|
const weeksContainerHeight = (_dimensions.DAY_RANGE_SIZE + _dimensions.DAY_MARGIN * 2) * 6;
|
|
64
63
|
const InnerDayCalendarForRange = (0, _styles.styled)(_internals2.DayCalendar, {
|
|
65
64
|
slot: 'internal'
|
|
66
|
-
})(({
|
|
67
|
-
theme
|
|
68
|
-
}) => ({
|
|
65
|
+
})(() => ({
|
|
69
66
|
minWidth: 312,
|
|
70
67
|
minHeight: weeksContainerHeight,
|
|
71
68
|
[`&.${_dateRangeCalendarClasses.dateRangeCalendarClasses.dayDragging}`]: {
|
|
72
|
-
[`& .${
|
|
69
|
+
[`& .${_DateRangePickerDay.dateRangePickerDayClasses.root}`]: {
|
|
73
70
|
cursor: 'grabbing'
|
|
74
|
-
},
|
|
75
|
-
[`& .${_DateRangePickerDay.dateRangePickerDayClasses.root}:not(.${_DateRangePickerDay.dateRangePickerDayClasses.rangeIntervalDayHighlightStart}):not(.${_DateRangePickerDay.dateRangePickerDayClasses.rangeIntervalDayHighlightEnd}) .${_DateRangePickerDay.dateRangePickerDayClasses.day}:not(.${_DateRangePickerDay.dateRangePickerDayClasses.notSelectedDate})`]: {
|
|
76
|
-
// we can't override `PickersDay` background color here, because it's styles take precedence
|
|
77
|
-
opacity: 0.6
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
[`&:not(.${_dateRangeCalendarClasses.dateRangeCalendarClasses.dayDragging}) .${_DateRangePickerDay.dateRangePickerDayClasses.dayOutsideRangeInterval}`]: {
|
|
81
|
-
'@media (pointer: fine)': {
|
|
82
|
-
'&:hover': {
|
|
83
|
-
border: `1px solid ${(theme.vars || theme).palette.grey[500]}`
|
|
84
|
-
}
|
|
85
71
|
}
|
|
86
72
|
}
|
|
87
73
|
}));
|
|
@@ -416,7 +402,8 @@ const DateRangeCalendar = exports.DateRangeCalendar = /*#__PURE__*/React.forward
|
|
|
416
402
|
day: dayOwnerState => {
|
|
417
403
|
const {
|
|
418
404
|
day,
|
|
419
|
-
isDaySelected
|
|
405
|
+
isDaySelected,
|
|
406
|
+
isDayOutsideMonth
|
|
420
407
|
} = dayOwnerState;
|
|
421
408
|
const isSelectedStartDate = (0, _dateUtils.isStartOfRange)(adapter, day, valueDayRange);
|
|
422
409
|
const isSelectedEndDate = (0, _dateUtils.isEndOfRange)(adapter, day, valueDayRange);
|
|
@@ -442,7 +429,8 @@ const DateRangeCalendar = exports.DateRangeCalendar = /*#__PURE__*/React.forward
|
|
|
442
429
|
isVisuallySelected: isDaySelected || isDragging && (isStartOfHighlighting || isEndOfHighlighting),
|
|
443
430
|
'data-position': datePosition
|
|
444
431
|
}, dragEventHandlers, {
|
|
445
|
-
draggable: isElementDraggable ? true : undefined
|
|
432
|
+
draggable: isElementDraggable ? true : undefined,
|
|
433
|
+
isDayFillerCell: isDayOutsideMonth && !showDaysOutsideCurrentMonth
|
|
446
434
|
}, (0, _resolveComponentProps.default)(slotProps?.day, dayOwnerState) ?? {});
|
|
447
435
|
}
|
|
448
436
|
});
|
|
@@ -596,7 +584,7 @@ process.env.NODE_ENV !== "production" ? DateRangeCalendar.propTypes = {
|
|
|
596
584
|
*/
|
|
597
585
|
disableFuture: _propTypes.default.bool,
|
|
598
586
|
/**
|
|
599
|
-
* If `true`, today's
|
|
587
|
+
* If `true`, today's day is not highlighted.
|
|
600
588
|
* @default false
|
|
601
589
|
*/
|
|
602
590
|
disableHighlightToday: _propTypes.default.bool,
|
|
@@ -28,11 +28,10 @@ import { useRangePosition } from "../internals/hooks/useRangePosition.mjs";
|
|
|
28
28
|
import { DAY_RANGE_SIZE, DAY_MARGIN } from "../internals/constants/dimensions.mjs";
|
|
29
29
|
import { PickersRangeCalendarHeader } from "../PickersRangeCalendarHeader/index.mjs";
|
|
30
30
|
import { useNullablePickerRangePositionContext } from "../internals/hooks/useNullablePickerRangePositionContext.mjs";
|
|
31
|
-
import { dateRangePickerDay2Classes } from "../DateRangePickerDay2/index.mjs";
|
|
32
31
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
33
32
|
const packageInfo = {
|
|
34
|
-
releaseDate: "
|
|
35
|
-
version: "9.0.0-
|
|
33
|
+
releaseDate: "MTc3NTUyMDAwMDAwMA==",
|
|
34
|
+
version: "9.0.0-rc.0",
|
|
36
35
|
name: 'x-date-pickers-pro'
|
|
37
36
|
};
|
|
38
37
|
const DateRangeCalendarRoot = styled('div', {
|
|
@@ -56,25 +55,12 @@ const DateRangeCalendarMonthContainer = styled('div', {
|
|
|
56
55
|
const weeksContainerHeight = (DAY_RANGE_SIZE + DAY_MARGIN * 2) * 6;
|
|
57
56
|
const InnerDayCalendarForRange = styled(DayCalendar, {
|
|
58
57
|
slot: 'internal'
|
|
59
|
-
})(({
|
|
60
|
-
theme
|
|
61
|
-
}) => ({
|
|
58
|
+
})(() => ({
|
|
62
59
|
minWidth: 312,
|
|
63
60
|
minHeight: weeksContainerHeight,
|
|
64
61
|
[`&.${dateRangeCalendarClasses.dayDragging}`]: {
|
|
65
|
-
[`& .${
|
|
62
|
+
[`& .${dayClasses.root}`]: {
|
|
66
63
|
cursor: 'grabbing'
|
|
67
|
-
},
|
|
68
|
-
[`& .${dayClasses.root}:not(.${dayClasses.rangeIntervalDayHighlightStart}):not(.${dayClasses.rangeIntervalDayHighlightEnd}) .${dayClasses.day}:not(.${dayClasses.notSelectedDate})`]: {
|
|
69
|
-
// we can't override `PickersDay` background color here, because it's styles take precedence
|
|
70
|
-
opacity: 0.6
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
[`&:not(.${dateRangeCalendarClasses.dayDragging}) .${dayClasses.dayOutsideRangeInterval}`]: {
|
|
74
|
-
'@media (pointer: fine)': {
|
|
75
|
-
'&:hover': {
|
|
76
|
-
border: `1px solid ${(theme.vars || theme).palette.grey[500]}`
|
|
77
|
-
}
|
|
78
64
|
}
|
|
79
65
|
}
|
|
80
66
|
}));
|
|
@@ -409,7 +395,8 @@ const DateRangeCalendar = /*#__PURE__*/React.forwardRef(function DateRangeCalend
|
|
|
409
395
|
day: dayOwnerState => {
|
|
410
396
|
const {
|
|
411
397
|
day,
|
|
412
|
-
isDaySelected
|
|
398
|
+
isDaySelected,
|
|
399
|
+
isDayOutsideMonth
|
|
413
400
|
} = dayOwnerState;
|
|
414
401
|
const isSelectedStartDate = isStartOfRange(adapter, day, valueDayRange);
|
|
415
402
|
const isSelectedEndDate = isEndOfRange(adapter, day, valueDayRange);
|
|
@@ -435,7 +422,8 @@ const DateRangeCalendar = /*#__PURE__*/React.forwardRef(function DateRangeCalend
|
|
|
435
422
|
isVisuallySelected: isDaySelected || isDragging && (isStartOfHighlighting || isEndOfHighlighting),
|
|
436
423
|
'data-position': datePosition
|
|
437
424
|
}, dragEventHandlers, {
|
|
438
|
-
draggable: isElementDraggable ? true : undefined
|
|
425
|
+
draggable: isElementDraggable ? true : undefined,
|
|
426
|
+
isDayFillerCell: isDayOutsideMonth && !showDaysOutsideCurrentMonth
|
|
439
427
|
}, resolveComponentProps(slotProps?.day, dayOwnerState) ?? {});
|
|
440
428
|
}
|
|
441
429
|
});
|
|
@@ -589,7 +577,7 @@ process.env.NODE_ENV !== "production" ? DateRangeCalendar.propTypes = {
|
|
|
589
577
|
*/
|
|
590
578
|
disableFuture: PropTypes.bool,
|
|
591
579
|
/**
|
|
592
|
-
* If `true`, today's
|
|
580
|
+
* If `true`, today's day is not highlighted.
|
|
593
581
|
* @default false
|
|
594
582
|
*/
|
|
595
583
|
disableHighlightToday: PropTypes.bool,
|
|
@@ -5,7 +5,7 @@ import { Theme } from '@mui/material/styles';
|
|
|
5
5
|
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
6
6
|
import { PickerOwnerState, PickerValidDate, TimezoneProps } from '@mui/x-date-pickers/models';
|
|
7
7
|
import { PickersCalendarHeader, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps } from '@mui/x-date-pickers/PickersCalendarHeader';
|
|
8
|
-
import { PickerDayOwnerState } from '@mui/x-date-pickers/
|
|
8
|
+
import { PickerDayOwnerState } from '@mui/x-date-pickers/PickerDay';
|
|
9
9
|
import { BaseDateValidationProps, ExportedDayCalendarProps, DayCalendarSlots, DayCalendarSlotProps, PickersArrowSwitcherSlots, PickersArrowSwitcherSlotProps, ExportedUseViewsOptions, PickerRangeValue, FormProps } from '@mui/x-date-pickers/internals';
|
|
10
10
|
import { RangePosition } from "../models/index.mjs";
|
|
11
11
|
import { DateRangeCalendarClasses } from "./dateRangeCalendarClasses.mjs";
|
|
@@ -22,8 +22,8 @@ export interface DateRangeCalendarSlots extends PickersArrowSwitcherSlots, Omit<
|
|
|
22
22
|
calendarHeader?: React.ElementType<PickersRangeCalendarHeaderProps>;
|
|
23
23
|
/**
|
|
24
24
|
* Custom component for day in range pickers.
|
|
25
|
-
* Check the [
|
|
26
|
-
* @default
|
|
25
|
+
* Check the [DateRangePickerDay](https://mui.com/x/api/date-pickers/date-range-picker-day/) component.
|
|
26
|
+
* @default DateRangePickerDay
|
|
27
27
|
*/
|
|
28
28
|
day?: React.ElementType<DateRangePickerDayProps>;
|
|
29
29
|
}
|
|
@@ -5,7 +5,7 @@ import { Theme } from '@mui/material/styles';
|
|
|
5
5
|
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
6
6
|
import { PickerOwnerState, PickerValidDate, TimezoneProps } from '@mui/x-date-pickers/models';
|
|
7
7
|
import { PickersCalendarHeader, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps } from '@mui/x-date-pickers/PickersCalendarHeader';
|
|
8
|
-
import { PickerDayOwnerState } from '@mui/x-date-pickers/
|
|
8
|
+
import { PickerDayOwnerState } from '@mui/x-date-pickers/PickerDay';
|
|
9
9
|
import { BaseDateValidationProps, ExportedDayCalendarProps, DayCalendarSlots, DayCalendarSlotProps, PickersArrowSwitcherSlots, PickersArrowSwitcherSlotProps, ExportedUseViewsOptions, PickerRangeValue, FormProps } from '@mui/x-date-pickers/internals';
|
|
10
10
|
import { RangePosition } from "../models/index.js";
|
|
11
11
|
import { DateRangeCalendarClasses } from "./dateRangeCalendarClasses.js";
|
|
@@ -22,8 +22,8 @@ export interface DateRangeCalendarSlots extends PickersArrowSwitcherSlots, Omit<
|
|
|
22
22
|
calendarHeader?: React.ElementType<PickersRangeCalendarHeaderProps>;
|
|
23
23
|
/**
|
|
24
24
|
* Custom component for day in range pickers.
|
|
25
|
-
* Check the [
|
|
26
|
-
* @default
|
|
25
|
+
* Check the [DateRangePickerDay](https://mui.com/x/api/date-pickers/date-range-picker-day/) component.
|
|
26
|
+
* @default DateRangePickerDay
|
|
27
27
|
*/
|
|
28
28
|
day?: React.ElementType<DateRangePickerDayProps>;
|
|
29
29
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { DateRangePickerProps } from "./DateRangePicker.types.mjs";
|
|
3
|
-
type DatePickerComponent = (
|
|
3
|
+
type DatePickerComponent = ((props: DateRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { DateRangePickerProps } from "./DateRangePicker.types.js";
|
|
3
|
-
type DatePickerComponent = (
|
|
3
|
+
type DatePickerComponent = ((props: DateRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
@@ -127,7 +127,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
127
127
|
*/
|
|
128
128
|
disableFuture: _propTypes.default.bool,
|
|
129
129
|
/**
|
|
130
|
-
* If `true`, today's
|
|
130
|
+
* If `true`, today's day is not highlighted.
|
|
131
131
|
* @default false
|
|
132
132
|
*/
|
|
133
133
|
disableHighlightToday: _propTypes.default.bool,
|
|
@@ -146,10 +146,6 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
146
146
|
* If `true`, the week number will be display in the calendar.
|
|
147
147
|
*/
|
|
148
148
|
displayWeekNumber: _propTypes.default.bool,
|
|
149
|
-
/**
|
|
150
|
-
* @default true
|
|
151
|
-
*/
|
|
152
|
-
enableAccessibleFieldDOMStructure: _propTypes.default.any,
|
|
153
149
|
/**
|
|
154
150
|
* The day view will show as many weeks as needed after the end of the current month to match this value.
|
|
155
151
|
* Put it to 6 to have a fixed number of weeks in Gregorian calendars
|
|
@@ -120,7 +120,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
120
120
|
*/
|
|
121
121
|
disableFuture: PropTypes.bool,
|
|
122
122
|
/**
|
|
123
|
-
* If `true`, today's
|
|
123
|
+
* If `true`, today's day is not highlighted.
|
|
124
124
|
* @default false
|
|
125
125
|
*/
|
|
126
126
|
disableHighlightToday: PropTypes.bool,
|
|
@@ -139,10 +139,6 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
|
|
|
139
139
|
* If `true`, the week number will be display in the calendar.
|
|
140
140
|
*/
|
|
141
141
|
displayWeekNumber: PropTypes.bool,
|
|
142
|
-
/**
|
|
143
|
-
* @default true
|
|
144
|
-
*/
|
|
145
|
-
enableAccessibleFieldDOMStructure: PropTypes.any,
|
|
146
142
|
/**
|
|
147
143
|
* The day view will show as many weeks as needed after the end of the current month to match this value.
|
|
148
144
|
* Put it to 6 to have a fixed number of weeks in Gregorian calendars
|
|
@@ -3,8 +3,8 @@ import { DesktopDateRangePickerProps, DesktopDateRangePickerSlots, DesktopDateRa
|
|
|
3
3
|
import { MobileDateRangePickerProps, MobileDateRangePickerSlots, MobileDateRangePickerSlotProps } from "../MobileDateRangePicker/index.mjs";
|
|
4
4
|
import { ValidateDateRangeProps } from "../validation/index.mjs";
|
|
5
5
|
export interface DateRangePickerSlots extends DesktopDateRangePickerSlots, MobileDateRangePickerSlots {}
|
|
6
|
-
export interface DateRangePickerSlotProps
|
|
7
|
-
export interface DateRangePickerProps
|
|
6
|
+
export interface DateRangePickerSlotProps extends DesktopDateRangePickerSlotProps, MobileDateRangePickerSlotProps {}
|
|
7
|
+
export interface DateRangePickerProps extends DesktopDateRangePickerProps, MobileDateRangePickerProps {
|
|
8
8
|
/**
|
|
9
9
|
* CSS media query when `Mobile` mode will be changed to `Desktop`.
|
|
10
10
|
* @default '@media (pointer: fine)'
|
|
@@ -20,7 +20,7 @@ export interface DateRangePickerProps<TEnableAccessibleFieldDOMStructure extends
|
|
|
20
20
|
* The props used for each component slot.
|
|
21
21
|
* @default {}
|
|
22
22
|
*/
|
|
23
|
-
slotProps?: DateRangePickerSlotProps
|
|
23
|
+
slotProps?: DateRangePickerSlotProps;
|
|
24
24
|
/**
|
|
25
25
|
* If `true`, the Picker will close after submitting the full date.
|
|
26
26
|
* @default `true` for desktop, `false` for mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).
|
|
@@ -3,8 +3,8 @@ import { DesktopDateRangePickerProps, DesktopDateRangePickerSlots, DesktopDateRa
|
|
|
3
3
|
import { MobileDateRangePickerProps, MobileDateRangePickerSlots, MobileDateRangePickerSlotProps } from "../MobileDateRangePicker/index.js";
|
|
4
4
|
import { ValidateDateRangeProps } from "../validation/index.js";
|
|
5
5
|
export interface DateRangePickerSlots extends DesktopDateRangePickerSlots, MobileDateRangePickerSlots {}
|
|
6
|
-
export interface DateRangePickerSlotProps
|
|
7
|
-
export interface DateRangePickerProps
|
|
6
|
+
export interface DateRangePickerSlotProps extends DesktopDateRangePickerSlotProps, MobileDateRangePickerSlotProps {}
|
|
7
|
+
export interface DateRangePickerProps extends DesktopDateRangePickerProps, MobileDateRangePickerProps {
|
|
8
8
|
/**
|
|
9
9
|
* CSS media query when `Mobile` mode will be changed to `Desktop`.
|
|
10
10
|
* @default '@media (pointer: fine)'
|
|
@@ -20,7 +20,7 @@ export interface DateRangePickerProps<TEnableAccessibleFieldDOMStructure extends
|
|
|
20
20
|
* The props used for each component slot.
|
|
21
21
|
* @default {}
|
|
22
22
|
*/
|
|
23
|
-
slotProps?: DateRangePickerSlotProps
|
|
23
|
+
slotProps?: DateRangePickerSlotProps;
|
|
24
24
|
/**
|
|
25
25
|
* If `true`, the Picker will close after submitting the full date.
|
|
26
26
|
* @default `true` for desktop, `false` for mobile (based on the chosen wrapper and `desktopModeMediaQuery` prop).
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { DateRangePickerDayProps } from "./DateRangePickerDay.types.mjs";
|
|
3
|
-
type DateRangePickerDayComponent = (props: DateRangePickerDayProps & React.RefAttributes<HTMLButtonElement>) => React.JSX.Element
|
|
3
|
+
type DateRangePickerDayComponent = ((props: DateRangePickerDayProps & React.RefAttributes<HTMLButtonElement>) => React.JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
4
6
|
/**
|
|
5
7
|
* Demos:
|
|
6
|
-
*
|
|
7
8
|
* - [DateRangePicker](https://mui.com/x/react-date-pickers/date-range-picker/)
|
|
8
9
|
*
|
|
9
10
|
* API:
|
|
10
|
-
*
|
|
11
11
|
* - [DateRangePickerDay API](https://mui.com/x/api/date-pickers/date-range-picker-day/)
|
|
12
12
|
*/
|
|
13
13
|
export declare const DateRangePickerDay: DateRangePickerDayComponent;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { DateRangePickerDayProps } from "./DateRangePickerDay.types.js";
|
|
3
|
-
type DateRangePickerDayComponent = (props: DateRangePickerDayProps & React.RefAttributes<HTMLButtonElement>) => React.JSX.Element
|
|
3
|
+
type DateRangePickerDayComponent = ((props: DateRangePickerDayProps & React.RefAttributes<HTMLButtonElement>) => React.JSX.Element) & {
|
|
4
|
+
propTypes?: any;
|
|
5
|
+
};
|
|
4
6
|
/**
|
|
5
7
|
* Demos:
|
|
6
|
-
*
|
|
7
8
|
* - [DateRangePicker](https://mui.com/x/react-date-pickers/date-range-picker/)
|
|
8
9
|
*
|
|
9
10
|
* API:
|
|
10
|
-
*
|
|
11
11
|
* - [DateRangePickerDay API](https://mui.com/x/api/date-pickers/date-range-picker-day/)
|
|
12
12
|
*/
|
|
13
13
|
export declare const DateRangePickerDay: DateRangePickerDayComponent;
|