@mui/x-date-pickers 8.1.0 → 8.2.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 +126 -7
- package/DateCalendar/PickersFadeTransitionGroup.d.ts +4 -2
- package/DateCalendar/PickersFadeTransitionGroup.js +9 -1
- package/DateCalendar/PickersSlideTransition.d.ts +4 -0
- package/DateCalendar/PickersSlideTransition.js +1 -0
- package/DateCalendar/index.d.ts +7 -7
- package/DateField/index.d.ts +1 -1
- package/DateField/useDateField.d.ts +1 -1
- package/DatePicker/index.d.ts +3 -3
- package/DateTimeField/index.d.ts +1 -1
- package/DateTimeField/useDateTimeField.d.ts +1 -1
- package/DateTimePicker/index.d.ts +5 -5
- package/DayCalendarSkeleton/DayCalendarSkeleton.js +2 -1
- package/DayCalendarSkeleton/index.d.ts +2 -2
- package/DesktopDatePicker/index.d.ts +1 -1
- package/DesktopDateTimePicker/index.d.ts +1 -1
- package/DesktopTimePicker/index.d.ts +1 -1
- package/DigitalClock/index.d.ts +2 -2
- package/LocalizationProvider/index.d.ts +1 -1
- package/MobileDatePicker/index.d.ts +1 -1
- package/MobileDateTimePicker/index.d.ts +1 -1
- package/MobileTimePicker/index.d.ts +1 -1
- package/MonthCalendar/index.d.ts +2 -2
- package/MultiSectionDigitalClock/MultiSectionDigitalClockSection.d.ts +8 -1
- package/MultiSectionDigitalClock/index.d.ts +4 -4
- package/PickersActionBar/index.d.ts +1 -1
- package/PickersCalendarHeader/index.d.ts +2 -2
- package/PickersDay/index.d.ts +2 -2
- package/PickersLayout/index.d.ts +2 -2
- package/PickersSectionList/PickersSectionList.d.ts +1 -1
- package/PickersSectionList/PickersSectionList.types.d.ts +1 -1
- package/PickersSectionList/index.d.ts +2 -2
- package/PickersShortcuts/index.d.ts +1 -1
- package/PickersTextField/PickersFilledInput/index.d.ts +2 -2
- package/PickersTextField/PickersInput/PickersInput.d.ts +7 -0
- package/PickersTextField/PickersInput/index.d.ts +2 -2
- package/PickersTextField/PickersInputBase/index.d.ts +2 -2
- package/PickersTextField/PickersOutlinedInput/index.d.ts +2 -2
- package/PickersTextField/PickersTextField.d.ts +1 -1
- package/PickersTextField/PickersTextField.types.d.ts +3 -3
- package/PickersTextField/index.d.ts +2 -2
- package/StaticDatePicker/index.d.ts +1 -1
- package/StaticDateTimePicker/index.d.ts +1 -1
- package/StaticTimePicker/index.d.ts +1 -1
- package/TimeClock/Clock.d.ts +13 -2
- package/TimeClock/ClockNumber.d.ts +18 -0
- package/TimeClock/ClockNumbers.d.ts +1 -1
- package/TimeClock/ClockPointer.d.ts +13 -1
- package/TimeClock/index.d.ts +8 -8
- package/TimeField/index.d.ts +1 -1
- package/TimeField/useTimeField.d.ts +1 -1
- package/TimePicker/index.d.ts +3 -3
- package/YearCalendar/index.d.ts +2 -2
- package/dateViewRenderers/index.d.ts +1 -1
- package/esm/DateCalendar/PickersFadeTransitionGroup.d.ts +4 -2
- package/esm/DateCalendar/PickersFadeTransitionGroup.js +9 -1
- package/esm/DateCalendar/PickersSlideTransition.d.ts +4 -0
- package/esm/DateCalendar/PickersSlideTransition.js +1 -0
- package/esm/DateCalendar/index.d.ts +7 -7
- package/esm/DateField/index.d.ts +1 -1
- package/esm/DateField/useDateField.d.ts +1 -1
- package/esm/DatePicker/index.d.ts +3 -3
- package/esm/DateTimeField/index.d.ts +1 -1
- package/esm/DateTimeField/useDateTimeField.d.ts +1 -1
- package/esm/DateTimePicker/index.d.ts +5 -5
- package/esm/DayCalendarSkeleton/DayCalendarSkeleton.js +2 -1
- package/esm/DayCalendarSkeleton/index.d.ts +2 -2
- package/esm/DesktopDatePicker/index.d.ts +1 -1
- package/esm/DesktopDateTimePicker/index.d.ts +1 -1
- package/esm/DesktopTimePicker/index.d.ts +1 -1
- package/esm/DigitalClock/index.d.ts +2 -2
- package/esm/LocalizationProvider/index.d.ts +1 -1
- package/esm/MobileDatePicker/index.d.ts +1 -1
- package/esm/MobileDateTimePicker/index.d.ts +1 -1
- package/esm/MobileTimePicker/index.d.ts +1 -1
- package/esm/MonthCalendar/index.d.ts +2 -2
- package/esm/MultiSectionDigitalClock/MultiSectionDigitalClockSection.d.ts +8 -1
- package/esm/MultiSectionDigitalClock/index.d.ts +4 -4
- package/esm/PickersActionBar/index.d.ts +1 -1
- package/esm/PickersCalendarHeader/index.d.ts +2 -2
- package/esm/PickersDay/index.d.ts +2 -2
- package/esm/PickersLayout/index.d.ts +2 -2
- package/esm/PickersSectionList/PickersSectionList.d.ts +1 -1
- package/esm/PickersSectionList/PickersSectionList.types.d.ts +1 -1
- package/esm/PickersSectionList/index.d.ts +2 -2
- package/esm/PickersShortcuts/index.d.ts +1 -1
- package/esm/PickersTextField/PickersFilledInput/index.d.ts +2 -2
- package/esm/PickersTextField/PickersInput/PickersInput.d.ts +7 -0
- package/esm/PickersTextField/PickersInput/index.d.ts +2 -2
- package/esm/PickersTextField/PickersInputBase/index.d.ts +2 -2
- package/esm/PickersTextField/PickersOutlinedInput/index.d.ts +2 -2
- package/esm/PickersTextField/PickersTextField.d.ts +1 -1
- package/esm/PickersTextField/PickersTextField.types.d.ts +3 -3
- package/esm/PickersTextField/index.d.ts +2 -2
- package/esm/StaticDatePicker/index.d.ts +1 -1
- package/esm/StaticDateTimePicker/index.d.ts +1 -1
- package/esm/StaticTimePicker/index.d.ts +1 -1
- package/esm/TimeClock/Clock.d.ts +13 -2
- package/esm/TimeClock/ClockNumber.d.ts +18 -0
- package/esm/TimeClock/ClockNumbers.d.ts +1 -1
- package/esm/TimeClock/ClockPointer.d.ts +13 -1
- package/esm/TimeClock/index.d.ts +8 -8
- package/esm/TimeField/index.d.ts +1 -1
- package/esm/TimeField/useTimeField.d.ts +1 -1
- package/esm/TimePicker/index.d.ts +3 -3
- package/esm/YearCalendar/index.d.ts +2 -2
- package/esm/dateViewRenderers/index.d.ts +1 -1
- package/esm/hooks/usePickerContext.d.ts +1 -1
- package/esm/hooks/usePickerTranslations.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/internals/components/PickerFieldUI.d.ts +1 -1
- package/esm/internals/components/PickerPopper/PickerPopper.d.ts +2 -3
- package/esm/internals/components/PickerPopper/index.d.ts +2 -2
- package/esm/internals/components/PickerProvider.d.ts +2 -2
- package/esm/internals/components/PickersArrowSwitcher/index.d.ts +2 -2
- package/esm/internals/components/PickersToolbarButton.js +2 -1
- package/esm/internals/components/PickersToolbarText.js +2 -1
- package/esm/internals/hooks/date-helpers-hooks.d.ts +1 -1
- package/esm/internals/hooks/useControlledValue.d.ts +1 -1
- package/esm/internals/hooks/useDesktopPicker/index.d.ts +1 -1
- package/esm/internals/hooks/useField/index.d.ts +1 -1
- package/esm/internals/hooks/useField/useField.types.d.ts +1 -1
- package/esm/internals/hooks/useMobilePicker/index.d.ts +1 -1
- package/esm/internals/hooks/useNullableFieldPrivateContext.d.ts +1 -1
- package/esm/internals/hooks/useNullablePickerContext.d.ts +1 -1
- package/esm/internals/hooks/usePicker/index.d.ts +1 -1
- package/esm/internals/hooks/usePickerPrivateContext.d.ts +1 -1
- package/esm/internals/hooks/useStaticPicker/index.d.ts +1 -1
- package/esm/internals/hooks/useViews.d.ts +1 -1
- package/esm/internals/index.d.ts +34 -32
- package/esm/internals/index.js +1 -0
- package/esm/internals/models/fields.d.ts +1 -1
- package/esm/internals/models/helpers.d.ts +12 -1
- package/esm/internals/models/manager.d.ts +3 -3
- package/esm/internals/models/props/basePickerProps.d.ts +1 -1
- package/esm/internals/models/props/time.d.ts +3 -3
- package/esm/internals/models/validation.d.ts +1 -1
- package/esm/internals/utils/createNonRangePickerStepNavigation.d.ts +1 -1
- package/esm/internals/utils/valueManagers.d.ts +2 -2
- package/esm/locales/enUS.d.ts +1 -1
- package/esm/locales/itIT.js +2 -2
- package/esm/locales/mk.d.ts +1 -1
- package/esm/locales/utils/getPickersLocalization.d.ts +1 -1
- package/esm/managers/index.d.ts +3 -3
- package/esm/models/fields.d.ts +4 -4
- package/esm/models/manager.d.ts +4 -4
- package/esm/models/pickers.d.ts +1 -1
- package/esm/models/validation.d.ts +1 -1
- package/esm/themeAugmentation/components.d.ts +44 -37
- package/esm/themeAugmentation/components.js +1 -0
- package/esm/themeAugmentation/index.d.ts +3 -3
- package/esm/themeAugmentation/overrides.d.ts +0 -6
- package/esm/themeAugmentation/overrides.js +4 -0
- package/esm/themeAugmentation/props.d.ts +2 -12
- package/esm/themeAugmentation/props.js +2 -0
- package/esm/timeViewRenderers/index.d.ts +1 -1
- package/esm/timeViewRenderers/timeViewRenderers.d.ts +1 -1
- package/esm/validation/index.d.ts +4 -4
- package/esm/validation/useValidation.d.ts +1 -1
- package/hooks/usePickerContext.d.ts +1 -1
- package/hooks/usePickerTranslations.d.ts +1 -1
- package/index.js +1 -1
- package/internals/components/PickerFieldUI.d.ts +1 -1
- package/internals/components/PickerPopper/PickerPopper.d.ts +2 -3
- package/internals/components/PickerPopper/index.d.ts +2 -2
- package/internals/components/PickerProvider.d.ts +2 -2
- package/internals/components/PickersArrowSwitcher/index.d.ts +2 -2
- package/internals/components/PickersToolbarButton.js +2 -1
- package/internals/components/PickersToolbarText.js +2 -1
- package/internals/hooks/date-helpers-hooks.d.ts +1 -1
- package/internals/hooks/useControlledValue.d.ts +1 -1
- package/internals/hooks/useDesktopPicker/index.d.ts +1 -1
- package/internals/hooks/useField/index.d.ts +1 -1
- package/internals/hooks/useField/useField.types.d.ts +1 -1
- package/internals/hooks/useMobilePicker/index.d.ts +1 -1
- package/internals/hooks/useNullableFieldPrivateContext.d.ts +1 -1
- package/internals/hooks/useNullablePickerContext.d.ts +1 -1
- package/internals/hooks/usePicker/index.d.ts +1 -1
- package/internals/hooks/usePickerPrivateContext.d.ts +1 -1
- package/internals/hooks/useStaticPicker/index.d.ts +1 -1
- package/internals/hooks/useViews.d.ts +1 -1
- package/internals/index.d.ts +34 -32
- package/internals/index.js +7 -0
- package/internals/models/fields.d.ts +1 -1
- package/internals/models/helpers.d.ts +12 -1
- package/internals/models/manager.d.ts +3 -3
- package/internals/models/props/basePickerProps.d.ts +1 -1
- package/internals/models/props/time.d.ts +3 -3
- package/internals/models/validation.d.ts +1 -1
- package/internals/utils/createNonRangePickerStepNavigation.d.ts +1 -1
- package/internals/utils/valueManagers.d.ts +2 -2
- package/locales/enUS.d.ts +1 -1
- package/locales/itIT.js +2 -2
- package/locales/mk.d.ts +1 -1
- package/locales/utils/getPickersLocalization.d.ts +1 -1
- package/managers/index.d.ts +3 -3
- package/models/fields.d.ts +4 -4
- package/models/manager.d.ts +4 -4
- package/models/pickers.d.ts +1 -1
- package/models/validation.d.ts +1 -1
- package/package.json +2 -2
- package/themeAugmentation/components.d.ts +44 -37
- package/themeAugmentation/components.js +5 -0
- package/themeAugmentation/index.d.ts +3 -3
- package/themeAugmentation/overrides.d.ts +0 -6
- package/themeAugmentation/overrides.js +5 -0
- package/themeAugmentation/props.d.ts +2 -12
- package/themeAugmentation/props.js +5 -0
- package/timeViewRenderers/index.d.ts +1 -1
- package/timeViewRenderers/timeViewRenderers.d.ts +1 -1
- package/validation/index.d.ts +4 -4
- package/validation/useValidation.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,13 +5,128 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
+
## 8.2.0
|
|
9
|
+
|
|
10
|
+
_May 1, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 📊 `<FunnelChart/>` now uses the `strawberrySky` sequential color palette by default.
|
|
15
|
+
<img width="481" alt="Screenshot 2025-04-29 at 13 55 21" src="https://github.com/user-attachments/assets/182085d1-a7ce-4e4d-9d8d-a4fe87f27167" />
|
|
16
|
+
- 📊 Add API to export a chart as an image: `apiRef.exportAsImage` — [Learn more](https://mui.com/x/react-charts/export/#export-as-image).
|
|
17
|
+
|
|
18
|
+
Special thanks go out to the community members for their valuable contributions:
|
|
19
|
+
@federico-ntr, @nusr.
|
|
20
|
+
Following are all team members who have contributed to this release:
|
|
21
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @hasdfa, @Janpot, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @oliviertassinari, @romgrk.
|
|
22
|
+
|
|
23
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
24
|
+
|
|
25
|
+
### Data Grid
|
|
26
|
+
|
|
27
|
+
#### `@mui/x-data-grid@8.2.0`
|
|
28
|
+
|
|
29
|
+
- [DataGrid] Fix panel alignment (#17625) @KenanYusuf
|
|
30
|
+
- [DataGrid] Fix theme `defaultProps` causing unwanted re-renders (#17490) @KenanYusuf
|
|
31
|
+
- [DataGrid] Fix circular reference error (#17591) @romgrk
|
|
32
|
+
- [DataGrid] Fix `<GridEditInputCell />` break input (#16773) @nusr
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-data-grid-pro@8.2.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-data-grid@8.2.0`, plus:
|
|
37
|
+
|
|
38
|
+
- [DataGridPro] Use intersection observer to trigger server-side infinite loading (#17369) @arminmeh
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid-premium@8.2.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
41
|
+
|
|
42
|
+
Same changes as in `@mui/x-data-grid-pro@8.2.0`.
|
|
43
|
+
|
|
44
|
+
### Date and Time Pickers
|
|
45
|
+
|
|
46
|
+
#### `@mui/x-date-pickers@8.2.0`
|
|
47
|
+
|
|
48
|
+
- [l10n] Improve Italian (it-IT) locale (#17600) @federico-ntr
|
|
49
|
+
- [pickers] Refactor owner state typing (#17517) @LukasTy
|
|
50
|
+
|
|
51
|
+
#### `@mui/x-date-pickers-pro@8.2.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
52
|
+
|
|
53
|
+
Same changes as in `@mui/x-date-pickers@8.2.0`.
|
|
54
|
+
|
|
55
|
+
### Charts
|
|
56
|
+
|
|
57
|
+
#### `@mui/x-charts@8.2.0`
|
|
58
|
+
|
|
59
|
+
- [charts] Add library name to errors (#17547) @bernardobelchior
|
|
60
|
+
- [charts] Add monochrome palettes (#17610) @JCQuintas
|
|
61
|
+
- [charts] Add screenshot of the tooltip (#17395) @alexfauquette
|
|
62
|
+
- [charts] Default bar chart x-axis scale type to band (#17519) @bernardobelchior
|
|
63
|
+
- [charts] Document axis ID uniqueness constraints (#17630) @bernardobelchior
|
|
64
|
+
- [charts] Refactor axis types (#17632) @bernardobelchior
|
|
65
|
+
- [charts] Use `<circle />` for circular legend mark (#17590) @alexfauquette
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-charts-pro@8.2.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
68
|
+
|
|
69
|
+
Same changes as in `@mui/x-charts@8.2.0`, plus:
|
|
70
|
+
|
|
71
|
+
- [charts-pro] Add `gap` option to `<FunnelChart />` (#17642) @JCQuintas
|
|
72
|
+
- [charts-pro] Export charts as image (#17353) @bernardobelchior
|
|
73
|
+
- [charts-pro] Simplify zoom testing (#17525) @JCQuintas
|
|
74
|
+
- [charts-pro] Use new sequential color palette in `<FunnelChart />` (#17606) @JCQuintas
|
|
75
|
+
|
|
76
|
+
### Tree View
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-tree-view@8.2.0`
|
|
79
|
+
|
|
80
|
+
Internal changes.
|
|
81
|
+
|
|
82
|
+
#### `@mui/x-tree-view-pro@8.2.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
83
|
+
|
|
84
|
+
Same changes as in `@mui/x-tree-view@8.2.0`.
|
|
85
|
+
|
|
86
|
+
### Docs
|
|
87
|
+
|
|
88
|
+
- [docs][charts] Add composition sections (#17377) @alexfauquette
|
|
89
|
+
- [docs][charts] Add docs on tooltip style (#17601) @bernardobelchior
|
|
90
|
+
- [docs][charts] Fix highlighting heading structure (#17581) @oliviertassinari
|
|
91
|
+
- [docs][charts] Improve export docs (#17538) @oliviertassinari
|
|
92
|
+
- [docs][charts] Similar introduction on most charts pages (#17374) @alexfauquette
|
|
93
|
+
- [docs][DataGrid] Clear component docs (#17540) @oliviertassinari
|
|
94
|
+
- [docs] Explicitly state that `groupingColDef` reference needs to be stable (#17544) @arminmeh
|
|
95
|
+
- [docs] Fix <kbd> a11y (#17536) @oliviertassinari
|
|
96
|
+
- [docs] Fix CodeSandbox spelling @oliviertassinari
|
|
97
|
+
- [docs] Fix coding style function @oliviertassinari
|
|
98
|
+
- [docs] Fix migration guide format (#17450) @oliviertassinari
|
|
99
|
+
- [docs] Improve data grid export docs (#17551) @MBilalShafi
|
|
100
|
+
- [docs] Remove leftover `@next` usages (#17542) @LukasTy
|
|
101
|
+
|
|
102
|
+
### Core
|
|
103
|
+
|
|
104
|
+
- [core] Add security label to dependabot PRs @oliviertassinari
|
|
105
|
+
- [core] Allow post-install vale @oliviertassinari
|
|
106
|
+
- [core] Component consistency @oliviertassinari
|
|
107
|
+
- [core] Fix all Vale errors @oliviertassinari
|
|
108
|
+
- [core] Move `loadStyleSheets` to internals and use it in data grid and charts (#17548) @bernardobelchior
|
|
109
|
+
- [core] Remove empty version (#17582) @oliviertassinari
|
|
110
|
+
- [core] Remove eslint from codemod spec files (#17443) @alexfauquette
|
|
111
|
+
- [core] Remove unnecessary versions (#17597) @oliviertassinari
|
|
112
|
+
- [code-infra] Allow postinstall scripts for packages requesting it (#17635) @LukasTy
|
|
113
|
+
- [code-infra] Data Grid `vitest` changes (#17619) @JCQuintas
|
|
114
|
+
- [code-infra] Fix date-time sensitive tests (#17644) @JCQuintas
|
|
115
|
+
- [code-infra] Fix extension handling for type imports (#17636) @Janpot
|
|
116
|
+
- [code-infra] Further remove `clock=fake` and add `async act` for datagrid (#17563) @JCQuintas
|
|
117
|
+
- [code-infra] Latest vitest picker changes (#17577) @JCQuintas
|
|
118
|
+
- [docs-infra] Fix Vale no longer working (#17602) @alexfauquette
|
|
119
|
+
- [docs-infra] Uniformize Vale between repositories @oliviertassinari
|
|
120
|
+
- [infra] Updates to `branch switch comments` (#17589) @michelengelen
|
|
121
|
+
- [x-telemetry] Fix issue with get machineid hash (#17614) @hasdfa
|
|
122
|
+
|
|
8
123
|
## 8.1.0
|
|
9
124
|
|
|
10
125
|
_Apr 24, 2025_
|
|
11
126
|
|
|
12
127
|
We'd like to offer a big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
|
|
13
128
|
|
|
14
|
-
- 📊 Add API to print a chart or export it as PDF: `apiRef.exportAsPrint`.
|
|
129
|
+
- 📊 Add API to print a chart or export it as PDF: `apiRef.exportAsPrint()`.
|
|
15
130
|
- 📚 Documentation improvements
|
|
16
131
|
- 🐞 Bugfixes
|
|
17
132
|
|
|
@@ -56,7 +171,7 @@ Same changes as in `@mui/x-date-pickers@8.1.0`.
|
|
|
56
171
|
|
|
57
172
|
### Charts
|
|
58
173
|
|
|
59
|
-
- Add API to print a chart or export it as PDF: `apiRef.exportAsPrint`.
|
|
174
|
+
- Add API to print a chart or export it as PDF: `apiRef.exportAsPrint()`.
|
|
60
175
|
|
|
61
176
|
#### `@mui/x-charts@8.1.0`
|
|
62
177
|
|
|
@@ -1821,7 +1936,7 @@ Same changes as in `@mui/x-tree-view@8.0.0-alpha.8`.
|
|
|
1821
1936
|
- [docs] Add example for custom legend (#16169) @alexfauquette
|
|
1822
1937
|
- [docs] Add full custom field creation example (#15194) @flaviendelangle
|
|
1823
1938
|
- [docs] Copyedit the Data Grid cell selection page (#16099) @samuelsycamore
|
|
1824
|
-
- [docs] Fix demo rendering issue on
|
|
1939
|
+
- [docs] Fix demo rendering issue on CodeSandbox (#16118) @arminmeh
|
|
1825
1940
|
- [docs] Remove broken links (#16167) @alexfauquette
|
|
1826
1941
|
- [docs] Split the Data Grid editing page (#14931) @MBilalShafi
|
|
1827
1942
|
- [docs] Fix wrong props warnings (#16119) @JCQuintas
|
|
@@ -2268,7 +2383,7 @@ Releasing to benefit from license package fix (#15814).
|
|
|
2268
2383
|
|
|
2269
2384
|
- [code-infra] Add Charts sandbox generation (#15830) @JCQuintas
|
|
2270
2385
|
- [code-infra] Remove redundant `@type/react-test-renderer` dep (#15766) @LukasTy
|
|
2271
|
-
- [license] Use `console.log` for the error message on
|
|
2386
|
+
- [license] Use `console.log` for the error message on CodeSandbox to avoid rendering error (#15814) @arminmeh
|
|
2272
2387
|
|
|
2273
2388
|
## 8.0.0-alpha.3
|
|
2274
2389
|
|
|
@@ -2484,6 +2599,8 @@ Same changes as in `@mui/x-tree-view@v8.0.0-alpha.2`.
|
|
|
2484
2599
|
|
|
2485
2600
|
### Docs
|
|
2486
2601
|
|
|
2602
|
+
<!-- vale MUI.CorrectRererenceCased = NO -->
|
|
2603
|
+
|
|
2487
2604
|
- [docs] Fix 404 links (#15575) @oliviertassinari
|
|
2488
2605
|
- [docs] Fix bash comments (#15571) @oliviertassinari
|
|
2489
2606
|
- [docs] Fix Pickers theme augmentation example (#15672) @LukasTy
|
|
@@ -2493,6 +2610,8 @@ Same changes as in `@mui/x-tree-view@v8.0.0-alpha.2`.
|
|
|
2493
2610
|
- [docs] Fix `anchorEl` API page for charts (#15625) @oliviertassinari
|
|
2494
2611
|
- [docs] Add documentation for the list view feature (#15344) @KenanYusuf
|
|
2495
2612
|
|
|
2613
|
+
<!-- vale MUI.CorrectRererenceCased = YES -->
|
|
2614
|
+
|
|
2496
2615
|
### Core
|
|
2497
2616
|
|
|
2498
2617
|
- [core] Follow `()` function convention for docs @oliviertassinari
|
|
@@ -3401,7 +3520,7 @@ Same changes as in `@mui/x-tree-view@7.24.0`.
|
|
|
3401
3520
|
### Docs
|
|
3402
3521
|
|
|
3403
3522
|
- [docs] Copyedit the Data Grid cell selection page (#16213) @samuelsycamore
|
|
3404
|
-
- [docs] Fix demo rendering issue on
|
|
3523
|
+
- [docs] Fix demo rendering issue on CodeSandbox (#16129) @arminmeh
|
|
3405
3524
|
|
|
3406
3525
|
### Core
|
|
3407
3526
|
|
|
@@ -3679,7 +3798,7 @@ Releasing to benefit from license package fix (#15818).
|
|
|
3679
3798
|
### Core
|
|
3680
3799
|
|
|
3681
3800
|
- [core] Add `@mui/x-tree-view-pro` to `releaseChangelog` (#15747) @flaviendelangle
|
|
3682
|
-
- [license] Use `console.log` for the error message on
|
|
3801
|
+
- [license] Use `console.log` for the error message on CodeSandbox to avoid rendering error (#15818) @arminmeh
|
|
3683
3802
|
|
|
3684
3803
|
## 7.23.1
|
|
3685
3804
|
|
|
@@ -7020,7 +7139,7 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.4`.
|
|
|
7020
7139
|
/>
|
|
7021
7140
|
```
|
|
7022
7141
|
|
|
7023
|
-
- The headless field hooks (
|
|
7142
|
+
- The headless field hooks (for example `useDateField()`) now returns a new prop called `enableAccessibleFieldDOMStructure`.
|
|
7024
7143
|
This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure.
|
|
7025
7144
|
Learn more about this new accessible DOM structure in the [v8 migration guide](https://v7.mui.com/x/migration/migration-pickers-v7/#new-dom-structure-for-the-field).
|
|
7026
7145
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PickersFadeTransitionGroupClasses } from "./pickersFadeTransitionGroupClasses.js";
|
|
3
|
-
export interface
|
|
4
|
-
children: React.ReactElement<any>;
|
|
3
|
+
export interface ExportedPickersFadeTransitionGroupProps {
|
|
5
4
|
className?: string;
|
|
6
5
|
reduceAnimations: boolean;
|
|
7
6
|
transKey: React.Key;
|
|
@@ -10,6 +9,9 @@ export interface PickersFadeTransitionGroupProps {
|
|
|
10
9
|
*/
|
|
11
10
|
classes?: Partial<PickersFadeTransitionGroupClasses>;
|
|
12
11
|
}
|
|
12
|
+
export interface PickersFadeTransitionGroupProps extends ExportedPickersFadeTransitionGroupProps {
|
|
13
|
+
children: React.ReactElement<any>;
|
|
14
|
+
}
|
|
13
15
|
/**
|
|
14
16
|
* @ignore - do not document.
|
|
15
17
|
*/
|
|
@@ -6,6 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.PickersFadeTransitionGroup = PickersFadeTransitionGroup;
|
|
9
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
9
11
|
var React = _interopRequireWildcard(require("react"));
|
|
10
12
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
11
13
|
var _reactTransitionGroup = require("react-transition-group");
|
|
@@ -14,6 +16,7 @@ var _styles = require("@mui/material/styles");
|
|
|
14
16
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
17
|
var _pickersFadeTransitionGroupClasses = require("./pickersFadeTransitionGroupClasses");
|
|
16
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
+
const _excluded = ["children"];
|
|
17
20
|
const useUtilityClasses = classes => {
|
|
18
21
|
const slots = {
|
|
19
22
|
root: ['root']
|
|
@@ -37,19 +40,24 @@ function PickersFadeTransitionGroup(inProps) {
|
|
|
37
40
|
name: 'MuiPickersFadeTransitionGroup'
|
|
38
41
|
});
|
|
39
42
|
const {
|
|
40
|
-
children,
|
|
41
43
|
className,
|
|
42
44
|
reduceAnimations,
|
|
43
45
|
transKey,
|
|
44
46
|
classes: classesProp
|
|
45
47
|
} = props;
|
|
48
|
+
const {
|
|
49
|
+
children
|
|
50
|
+
} = props,
|
|
51
|
+
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
46
52
|
const classes = useUtilityClasses(classesProp);
|
|
47
53
|
const theme = (0, _styles.useTheme)();
|
|
48
54
|
if (reduceAnimations) {
|
|
49
55
|
return children;
|
|
50
56
|
}
|
|
57
|
+
const ownerState = (0, _extends2.default)({}, other);
|
|
51
58
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(PickersFadeTransitionGroupRoot, {
|
|
52
59
|
className: (0, _clsx.default)(classes.root, className),
|
|
60
|
+
ownerState: ownerState,
|
|
53
61
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Fade.default, {
|
|
54
62
|
appear: false,
|
|
55
63
|
mountOnEnter: true,
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { CSSTransitionProps } from 'react-transition-group/CSSTransition';
|
|
3
3
|
import { PickersSlideTransitionClasses } from "./pickersSlideTransitionClasses.js";
|
|
4
|
+
import { PickerOwnerState } from "../models/pickers.js";
|
|
4
5
|
export type SlideDirection = 'right' | 'left';
|
|
6
|
+
export interface PickerSlideTransitionOwnerState extends PickerOwnerState {
|
|
7
|
+
slideDirection: SlideDirection;
|
|
8
|
+
}
|
|
5
9
|
export interface ExportedSlideTransitionProps {
|
|
6
10
|
/**
|
|
7
11
|
* Override or extend the styles applied to the component.
|
|
@@ -138,6 +138,7 @@ function PickersSlideTransition(inProps) {
|
|
|
138
138
|
classNames: transitionClasses
|
|
139
139
|
}),
|
|
140
140
|
role: "presentation",
|
|
141
|
+
ownerState: ownerState,
|
|
141
142
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactTransitionGroup.CSSTransition, (0, _extends2.default)({
|
|
142
143
|
mountOnEnter: true,
|
|
143
144
|
unmountOnExit: true,
|
package/DateCalendar/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { DateCalendar } from "./DateCalendar.js";
|
|
2
|
-
export type { DateCalendarProps, DateCalendarSlots, DateCalendarSlotProps } from
|
|
2
|
+
export type { DateCalendarProps, DateCalendarSlots, DateCalendarSlotProps } from "./DateCalendar.types.js";
|
|
3
3
|
export { getDateCalendarUtilityClass, dateCalendarClasses } from "./dateCalendarClasses.js";
|
|
4
|
-
export type { DateCalendarClassKey, DateCalendarClasses } from
|
|
4
|
+
export type { DateCalendarClassKey, DateCalendarClasses } from "./dateCalendarClasses.js";
|
|
5
5
|
export { dayCalendarClasses } from "./dayCalendarClasses.js";
|
|
6
|
-
export type { DayCalendarClassKey, DayCalendarClasses } from
|
|
7
|
-
export type { PickersFadeTransitionGroupProps } from
|
|
6
|
+
export type { DayCalendarClassKey, DayCalendarClasses } from "./dayCalendarClasses.js";
|
|
7
|
+
export type { PickersFadeTransitionGroupProps, ExportedPickersFadeTransitionGroupProps } from "./PickersFadeTransitionGroup.js";
|
|
8
8
|
export { pickersFadeTransitionGroupClasses } from "./pickersFadeTransitionGroupClasses.js";
|
|
9
|
-
export type { PickersFadeTransitionGroupClassKey, PickersFadeTransitionGroupClasses } from
|
|
9
|
+
export type { PickersFadeTransitionGroupClassKey, PickersFadeTransitionGroupClasses } from "./pickersFadeTransitionGroupClasses.js";
|
|
10
10
|
export { pickersSlideTransitionClasses } from "./pickersSlideTransitionClasses.js";
|
|
11
|
-
export type { PickersSlideTransitionClassKey, PickersSlideTransitionClasses } from
|
|
12
|
-
export type { ExportedSlideTransitionProps } from
|
|
11
|
+
export type { PickersSlideTransitionClassKey, PickersSlideTransitionClasses } from "./pickersSlideTransitionClasses.js";
|
|
12
|
+
export type { ExportedSlideTransitionProps } from "./PickersSlideTransition.js";
|
package/DateField/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { DateField } from "./DateField.js";
|
|
2
2
|
export { useDateField as unstable_useDateField } from "./useDateField.js";
|
|
3
|
-
export type { UseDateFieldProps, DateFieldProps } from
|
|
3
|
+
export type { UseDateFieldProps, DateFieldProps } from "./DateField.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { UseDateFieldProps } from "./DateField.types.js";
|
|
2
|
-
export declare const useDateField: <TEnableAccessibleFieldDOMStructure extends boolean, TProps extends UseDateFieldProps<TEnableAccessibleFieldDOMStructure>>(props: TProps) => import("../internals").UseFieldReturnValue<TEnableAccessibleFieldDOMStructure, TProps>;
|
|
2
|
+
export declare const useDateField: <TEnableAccessibleFieldDOMStructure extends boolean, TProps extends UseDateFieldProps<TEnableAccessibleFieldDOMStructure>>(props: TProps) => import("../internals/index.js").UseFieldReturnValue<TEnableAccessibleFieldDOMStructure, TProps>;
|
package/DatePicker/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DatePicker } from "./DatePicker.js";
|
|
2
|
-
export type { DatePickerProps, DatePickerSlots, DatePickerSlotProps, DatePickerFieldProps } from
|
|
2
|
+
export type { DatePickerProps, DatePickerSlots, DatePickerSlotProps, DatePickerFieldProps } from "./DatePicker.types.js";
|
|
3
3
|
export { DatePickerToolbar } from "./DatePickerToolbar.js";
|
|
4
|
-
export type { DatePickerToolbarProps } from
|
|
4
|
+
export type { DatePickerToolbarProps } from "./DatePickerToolbar.js";
|
|
5
5
|
export { datePickerToolbarClasses } from "./datePickerToolbarClasses.js";
|
|
6
|
-
export type { DatePickerToolbarClassKey, DatePickerToolbarClasses } from
|
|
6
|
+
export type { DatePickerToolbarClassKey, DatePickerToolbarClasses } from "./datePickerToolbarClasses.js";
|
package/DateTimeField/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { DateTimeField } from "./DateTimeField.js";
|
|
2
2
|
export { useDateTimeField as unstable_useDateTimeField } from "./useDateTimeField.js";
|
|
3
|
-
export type { UseDateTimeFieldProps, DateTimeFieldProps } from
|
|
3
|
+
export type { UseDateTimeFieldProps, DateTimeFieldProps } from "./DateTimeField.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { UseDateTimeFieldProps } from "./DateTimeField.types.js";
|
|
2
|
-
export declare const useDateTimeField: <TEnableAccessibleFieldDOMStructure extends boolean, TProps extends UseDateTimeFieldProps<TEnableAccessibleFieldDOMStructure>>(props: TProps) => import("../internals").UseFieldReturnValue<TEnableAccessibleFieldDOMStructure, TProps>;
|
|
2
|
+
export declare const useDateTimeField: <TEnableAccessibleFieldDOMStructure extends boolean, TProps extends UseDateTimeFieldProps<TEnableAccessibleFieldDOMStructure>>(props: TProps) => import("../internals/index.js").UseFieldReturnValue<TEnableAccessibleFieldDOMStructure, TProps>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { DateTimePicker } from "./DateTimePicker.js";
|
|
2
|
-
export type { DateTimePickerProps, DateTimePickerSlots, DateTimePickerSlotProps, DateTimePickerFieldProps } from
|
|
2
|
+
export type { DateTimePickerProps, DateTimePickerSlots, DateTimePickerSlotProps, DateTimePickerFieldProps } from "./DateTimePicker.types.js";
|
|
3
3
|
export { DateTimePickerTabs } from "./DateTimePickerTabs.js";
|
|
4
|
-
export type { DateTimePickerTabsProps } from
|
|
4
|
+
export type { DateTimePickerTabsProps } from "./DateTimePickerTabs.js";
|
|
5
5
|
export { dateTimePickerTabsClasses } from "./dateTimePickerTabsClasses.js";
|
|
6
|
-
export type { DateTimePickerTabsClassKey, DateTimePickerTabsClasses } from
|
|
6
|
+
export type { DateTimePickerTabsClassKey, DateTimePickerTabsClasses } from "./dateTimePickerTabsClasses.js";
|
|
7
7
|
export { DateTimePickerToolbar } from "./DateTimePickerToolbar.js";
|
|
8
|
-
export type { DateTimePickerToolbarProps } from
|
|
8
|
+
export type { DateTimePickerToolbarProps } from "./DateTimePickerToolbar.js";
|
|
9
9
|
export { dateTimePickerToolbarClasses } from "./dateTimePickerToolbarClasses.js";
|
|
10
|
-
export type { DateTimePickerToolbarClassKey, DateTimePickerToolbarClasses } from
|
|
10
|
+
export type { DateTimePickerToolbarClassKey, DateTimePickerToolbarClasses } from "./dateTimePickerToolbarClasses.js";
|
|
@@ -73,7 +73,8 @@ function DayCalendarSkeleton(inProps) {
|
|
|
73
73
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
74
74
|
const classes = useUtilityClasses(classesProp);
|
|
75
75
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(DayCalendarSkeletonRoot, (0, _extends2.default)({
|
|
76
|
-
className: (0, _clsx.default)(classes.root, className)
|
|
76
|
+
className: (0, _clsx.default)(classes.root, className),
|
|
77
|
+
ownerState: props
|
|
77
78
|
}, other, {
|
|
78
79
|
children: monthMap.map((week, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(DayCalendarSkeletonWeek, {
|
|
79
80
|
className: classes.week,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { DayCalendarSkeleton } from "./DayCalendarSkeleton.js";
|
|
2
|
-
export type { DayCalendarSkeletonProps } from
|
|
2
|
+
export type { DayCalendarSkeletonProps } from "./DayCalendarSkeleton.js";
|
|
3
3
|
export { dayCalendarSkeletonClasses, getDayCalendarSkeletonUtilityClass } from "./dayCalendarSkeletonClasses.js";
|
|
4
|
-
export type { DayCalendarSkeletonClassKey, DayCalendarSkeletonClasses } from
|
|
4
|
+
export type { DayCalendarSkeletonClassKey, DayCalendarSkeletonClasses } from "./dayCalendarSkeletonClasses.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { DesktopDatePicker } from "./DesktopDatePicker.js";
|
|
2
|
-
export type { DesktopDatePickerProps, DesktopDatePickerSlots, DesktopDatePickerSlotProps } from
|
|
2
|
+
export type { DesktopDatePickerProps, DesktopDatePickerSlots, DesktopDatePickerSlotProps } from "./DesktopDatePicker.types.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { DesktopDateTimePicker } from "./DesktopDateTimePicker.js";
|
|
2
2
|
export { DesktopDateTimePickerLayout } from "./DesktopDateTimePickerLayout.js";
|
|
3
|
-
export type { DesktopDateTimePickerProps, DesktopDateTimePickerSlots, DesktopDateTimePickerSlotProps } from
|
|
3
|
+
export type { DesktopDateTimePickerProps, DesktopDateTimePickerSlots, DesktopDateTimePickerSlotProps } from "./DesktopDateTimePicker.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { DesktopTimePicker } from "./DesktopTimePicker.js";
|
|
2
|
-
export type { DesktopTimePickerProps, DesktopTimePickerSlots, DesktopTimePickerSlotProps } from
|
|
2
|
+
export type { DesktopTimePickerProps, DesktopTimePickerSlots, DesktopTimePickerSlotProps } from "./DesktopTimePicker.types.js";
|
package/DigitalClock/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { DigitalClock, DigitalClockItem } from "./DigitalClock.js";
|
|
2
|
-
export type { DigitalClockProps, DigitalClockSlots, DigitalClockSlotProps, ExportedDigitalClockProps, DigitalClockItemProps } from
|
|
2
|
+
export type { DigitalClockProps, DigitalClockSlots, DigitalClockSlotProps, ExportedDigitalClockProps, DigitalClockItemProps } from "./DigitalClock.types.js";
|
|
3
3
|
export { digitalClockClasses, getDigitalClockUtilityClass } from "./digitalClockClasses.js";
|
|
4
|
-
export type { DigitalClockClasses, DigitalClockClassKey } from
|
|
4
|
+
export type { DigitalClockClasses, DigitalClockClassKey } from "./digitalClockClasses.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { LocalizationProvider, MuiPickersAdapterContext } from "./LocalizationProvider.js";
|
|
2
|
-
export type { LocalizationProviderProps } from
|
|
2
|
+
export type { LocalizationProviderProps } from "./LocalizationProvider.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { MobileDatePicker } from "./MobileDatePicker.js";
|
|
2
|
-
export type { MobileDatePickerProps, MobileDatePickerSlots, MobileDatePickerSlotProps } from
|
|
2
|
+
export type { MobileDatePickerProps, MobileDatePickerSlots, MobileDatePickerSlotProps } from "./MobileDatePicker.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { MobileDateTimePicker } from "./MobileDateTimePicker.js";
|
|
2
|
-
export type { MobileDateTimePickerProps, MobileDateTimePickerSlots, MobileDateTimePickerSlotProps } from
|
|
2
|
+
export type { MobileDateTimePickerProps, MobileDateTimePickerSlots, MobileDateTimePickerSlotProps } from "./MobileDateTimePicker.types.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { MobileTimePicker } from "./MobileTimePicker.js";
|
|
2
|
-
export type { MobileTimePickerProps, MobileTimePickerSlots, MobileTimePickerSlotProps } from
|
|
2
|
+
export type { MobileTimePickerProps, MobileTimePickerSlots, MobileTimePickerSlotProps } from "./MobileTimePicker.types.js";
|
package/MonthCalendar/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { MonthCalendar } from "./MonthCalendar.js";
|
|
2
|
-
export type { MonthCalendarProps, MonthCalendarSlots, MonthCalendarSlotProps } from
|
|
2
|
+
export type { MonthCalendarProps, MonthCalendarSlots, MonthCalendarSlotProps } from "./MonthCalendar.types.js";
|
|
3
3
|
export { monthCalendarClasses, getMonthCalendarUtilityClass } from "./monthCalendarClasses.js";
|
|
4
|
-
export type { MonthCalendarClasses, MonthCalendarClassKey } from
|
|
4
|
+
export type { MonthCalendarClasses, MonthCalendarClassKey } from "./monthCalendarClasses.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { MultiSectionDigitalClockSectionClasses } from "./multiSectionDigitalClockSectionClasses.js";
|
|
3
|
-
import type { MultiSectionDigitalClockOption, MultiSectionDigitalClockSlots, MultiSectionDigitalClockSlotProps } from
|
|
3
|
+
import type { MultiSectionDigitalClockOption, MultiSectionDigitalClockSlots, MultiSectionDigitalClockSlotProps } from "./MultiSectionDigitalClock.types.js";
|
|
4
4
|
import { FormProps } from "../internals/models/formProps.js";
|
|
5
|
+
import { PickerOwnerState } from "../models/pickers.js";
|
|
5
6
|
export interface ExportedMultiSectionDigitalClockSectionProps {
|
|
6
7
|
className?: string;
|
|
7
8
|
classes?: Partial<MultiSectionDigitalClockSectionClasses>;
|
|
@@ -16,6 +17,12 @@ export interface MultiSectionDigitalClockSectionProps<TSectionValue extends numb
|
|
|
16
17
|
skipDisabled?: boolean;
|
|
17
18
|
role?: string;
|
|
18
19
|
}
|
|
20
|
+
export interface MultiSectionDigitalClockSectionOwnerState extends PickerOwnerState {
|
|
21
|
+
/**
|
|
22
|
+
* `true` if this is not the initial render of the digital clock.
|
|
23
|
+
*/
|
|
24
|
+
hasDigitalClockAlreadyBeenRendered: boolean;
|
|
25
|
+
}
|
|
19
26
|
type MultiSectionDigitalClockSectionComponent = <TSectionValue extends number | string>(props: MultiSectionDigitalClockSectionProps<TSectionValue> & React.RefAttributes<HTMLUListElement>) => React.JSX.Element & {
|
|
20
27
|
propTypes?: any;
|
|
21
28
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { MultiSectionDigitalClock } from "./MultiSectionDigitalClock.js";
|
|
2
|
-
export type { MultiSectionDigitalClockProps, MultiSectionDigitalClockSlots, MultiSectionDigitalClockSlotProps } from
|
|
2
|
+
export type { MultiSectionDigitalClockProps, MultiSectionDigitalClockSlots, MultiSectionDigitalClockSlotProps } from "./MultiSectionDigitalClock.types.js";
|
|
3
3
|
export { multiSectionDigitalClockSectionClasses } from "./multiSectionDigitalClockSectionClasses.js";
|
|
4
|
-
export type { MultiSectionDigitalClockSectionClasses, MultiSectionDigitalClockSectionClassKey } from
|
|
5
|
-
export type { ExportedMultiSectionDigitalClockSectionProps } from
|
|
4
|
+
export type { MultiSectionDigitalClockSectionClasses, MultiSectionDigitalClockSectionClassKey } from "./multiSectionDigitalClockSectionClasses.js";
|
|
5
|
+
export type { ExportedMultiSectionDigitalClockSectionProps } from "./MultiSectionDigitalClockSection.js";
|
|
6
6
|
export { multiSectionDigitalClockClasses, getMultiSectionDigitalClockUtilityClass } from "./multiSectionDigitalClockClasses.js";
|
|
7
|
-
export type { MultiSectionDigitalClockClasses, MultiSectionDigitalClockClassKey } from
|
|
7
|
+
export type { MultiSectionDigitalClockClasses, MultiSectionDigitalClockClassKey } from "./multiSectionDigitalClockClasses.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { PickersActionBar } from "./PickersActionBar.js";
|
|
2
|
-
export type { PickersActionBarProps, PickersActionBarAction } from
|
|
2
|
+
export type { PickersActionBarProps, PickersActionBarAction } from "./PickersActionBar.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { pickersCalendarHeaderClasses } from "./pickersCalendarHeaderClasses.js";
|
|
2
|
-
export type { PickersCalendarHeaderClassKey, PickersCalendarHeaderClasses } from
|
|
2
|
+
export type { PickersCalendarHeaderClassKey, PickersCalendarHeaderClasses } from "./pickersCalendarHeaderClasses.js";
|
|
3
3
|
export { PickersCalendarHeader } from "./PickersCalendarHeader.js";
|
|
4
|
-
export type { PickersCalendarHeaderProps, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps, ExportedPickersCalendarHeaderProps } from
|
|
4
|
+
export type { PickersCalendarHeaderProps, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps, ExportedPickersCalendarHeaderProps } from "./PickersCalendarHeader.types.js";
|
package/PickersDay/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PickersDay } from "./PickersDay.js";
|
|
2
|
-
export type { PickersDayProps, PickerDayOwnerState } from
|
|
2
|
+
export type { PickersDayProps, PickerDayOwnerState } from "./PickersDay.types.js";
|
|
3
3
|
export { pickersDayClasses, getPickersDayUtilityClass } from "./pickersDayClasses.js";
|
|
4
|
-
export type { PickersDayClasses, PickersDayClassKey } from
|
|
4
|
+
export type { PickersDayClasses, PickersDayClassKey } from "./pickersDayClasses.js";
|
package/PickersLayout/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { PickersLayout, PickersLayoutRoot, PickersLayoutContentWrapper } from "./PickersLayout.js";
|
|
2
|
-
export type { PickersLayoutProps, PickersLayoutSlots, PickersLayoutSlotProps, ExportedPickersLayoutSlots, ExportedPickersLayoutSlotProps, PickerLayoutOwnerState } from
|
|
2
|
+
export type { PickersLayoutProps, PickersLayoutSlots, PickersLayoutSlotProps, ExportedPickersLayoutSlots, ExportedPickersLayoutSlotProps, PickerLayoutOwnerState } from "./PickersLayout.types.js";
|
|
3
3
|
export { default as usePickerLayout } from "./usePickerLayout.js";
|
|
4
4
|
export { pickersLayoutClasses } from "./pickersLayoutClasses.js";
|
|
5
|
-
export type { PickersLayoutClassKey } from
|
|
5
|
+
export type { PickersLayoutClassKey } from "./pickersLayoutClasses.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { PickersSectionListProps } from
|
|
2
|
+
import type { PickersSectionListProps } from "./PickersSectionList.types.js";
|
|
3
3
|
export declare const PickersSectionListRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
4
|
export declare const PickersSectionListSection: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
5
5
|
export declare const PickersSectionListSectionSeparator: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof React.ClassAttributes<HTMLSpanElement> | keyof React.HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { SlotComponentProps } from '@mui/utils';
|
|
3
3
|
import { PickersSectionListClasses } from "./pickersSectionListClasses.js";
|
|
4
4
|
import { PickerOwnerState } from "../models/index.js";
|
|
5
|
-
import type { UseFieldDOMGetters } from
|
|
5
|
+
import type { UseFieldDOMGetters } from "../internals/hooks/useField/useField.types.js";
|
|
6
6
|
export interface PickersSectionListSlots {
|
|
7
7
|
root: React.ElementType;
|
|
8
8
|
section: React.ElementType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PickersSectionList as Unstable_PickersSectionList, PickersSectionListRoot as Unstable_PickersSectionListRoot, PickersSectionListSection as Unstable_PickersSectionListSection, PickersSectionListSectionSeparator as Unstable_PickersSectionListSectionSeparator, PickersSectionListSectionContent as Unstable_PickersSectionListSectionContent } from "./PickersSectionList.js";
|
|
2
|
-
export type { PickersSectionListProps, PickersSectionElement, PickersSectionListRef, PickersSectionListSlots, PickersSectionListSlotProps, ExportedPickersSectionListProps } from
|
|
2
|
+
export type { PickersSectionListProps, PickersSectionElement, PickersSectionListRef, PickersSectionListSlots, PickersSectionListSlotProps, ExportedPickersSectionListProps } from "./PickersSectionList.types.js";
|
|
3
3
|
export { getPickersSectionListUtilityClass, pickersSectionListClasses } from "./pickersSectionListClasses.js";
|
|
4
|
-
export type { PickersSectionListClasses, PickersSectionListClassKey } from
|
|
4
|
+
export type { PickersSectionListClasses, PickersSectionListClassKey } from "./pickersSectionListClasses.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { PickersShortcuts } from "./PickersShortcuts.js";
|
|
2
|
-
export type { PickersShortcutsProps, PickersShortcutsItem, PickersShortcutsItemContext } from
|
|
2
|
+
export type { PickersShortcutsProps, PickersShortcutsItem, PickersShortcutsItemContext } from "./PickersShortcuts.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PickersFilledInput } from "./PickersFilledInput.js";
|
|
2
|
-
export type { PickersFilledInputProps } from
|
|
3
|
-
export type { PickersFilledInputClasses, PickersFilledInputClassKey } from
|
|
2
|
+
export type { PickersFilledInputProps } from "./PickersFilledInput.js";
|
|
3
|
+
export type { PickersFilledInputClasses, PickersFilledInputClassKey } from "./pickersFilledInputClasses.js";
|
|
4
4
|
export { getPickersFilledInputUtilityClass, pickersFilledInputClasses } from "./pickersFilledInputClasses.js";
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { PickersInputBaseProps } from "../PickersInputBase/index.js";
|
|
3
|
+
import { PickerTextFieldOwnerState } from "../../models/fields.js";
|
|
3
4
|
export interface PickersInputProps extends PickersInputBaseProps {
|
|
4
5
|
disableUnderline?: boolean;
|
|
5
6
|
}
|
|
7
|
+
export interface PickerInputOwnerState extends PickerTextFieldOwnerState {
|
|
8
|
+
/**
|
|
9
|
+
* `true` if the input has an underline, `false` otherwise.
|
|
10
|
+
*/
|
|
11
|
+
inputHasUnderline: boolean;
|
|
12
|
+
}
|
|
6
13
|
/**
|
|
7
14
|
* @ignore - internal component.
|
|
8
15
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PickersInput } from "./PickersInput.js";
|
|
2
|
-
export type { PickersInputProps } from
|
|
3
|
-
export type { PickersInputClasses, PickersInputClassKey } from
|
|
2
|
+
export type { PickersInputProps } from "./PickersInput.js";
|
|
3
|
+
export type { PickersInputClasses, PickersInputClassKey } from "./pickersInputClasses.js";
|
|
4
4
|
export { getPickersInputUtilityClass, pickersInputClasses } from "./pickersInputClasses.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PickersInputBase } from "./PickersInputBase.js";
|
|
2
|
-
export type { PickersInputBaseProps } from
|
|
2
|
+
export type { PickersInputBaseProps } from "./PickersInputBase.types.js";
|
|
3
3
|
export { pickersInputBaseClasses, getPickersInputBaseUtilityClass } from "./pickersInputBaseClasses.js";
|
|
4
|
-
export type { PickersInputBaseClasses, PickersInputBaseClassKey } from
|
|
4
|
+
export type { PickersInputBaseClasses, PickersInputBaseClassKey } from "./pickersInputBaseClasses.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { PickersOutlinedInput } from "./PickersOutlinedInput.js";
|
|
2
|
-
export type { PickersOutlinedInputProps } from
|
|
3
|
-
export type { PickersOutlinedInputClasses, PickersOutlinedInputClassKey } from
|
|
2
|
+
export type { PickersOutlinedInputProps } from "./PickersOutlinedInput.js";
|
|
3
|
+
export type { PickersOutlinedInputClasses, PickersOutlinedInputClassKey } from "./pickersOutlinedInputClasses.js";
|
|
4
4
|
export { getPickersOutlinedInputUtilityClass, pickersOutlinedInputClasses } from "./pickersOutlinedInputClasses.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
declare const PickersTextField: React.ForwardRefExoticComponent<(Omit<import("./PickersTextField.types").PickersStandardTextFieldProps, "ref"> | Omit<import("./PickersTextField.types").PickersOutlinedTextFieldProps, "ref"> | Omit<import("./PickersTextField.types").PickersFilledTextFieldProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
2
|
+
declare const PickersTextField: React.ForwardRefExoticComponent<(Omit<import("./PickersTextField.types.js").PickersStandardTextFieldProps, "ref"> | Omit<import("./PickersTextField.types.js").PickersOutlinedTextFieldProps, "ref"> | Omit<import("./PickersTextField.types.js").PickersFilledTextFieldProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
|
|
3
3
|
export { PickersTextField };
|
|
@@ -4,9 +4,9 @@ import { FormHelperTextProps } from '@mui/material/FormHelperText';
|
|
|
4
4
|
import { InputLabelProps } from '@mui/material/InputLabel';
|
|
5
5
|
import { TextFieldVariants } from '@mui/material/TextField';
|
|
6
6
|
import { PickersInputPropsUsedByField } from "./PickersInputBase/PickersInputBase.types.js";
|
|
7
|
-
import type { PickersInputProps } from
|
|
8
|
-
import type { PickersOutlinedInputProps } from
|
|
9
|
-
import type { PickersFilledInputProps } from
|
|
7
|
+
import type { PickersInputProps } from "./PickersInput/index.js";
|
|
8
|
+
import type { PickersOutlinedInputProps } from "./PickersOutlinedInput/index.js";
|
|
9
|
+
import type { PickersFilledInputProps } from "./PickersFilledInput/index.js";
|
|
10
10
|
interface PickersTextFieldPropsUsedByField {
|
|
11
11
|
onFocus: React.FocusEventHandler<HTMLDivElement>;
|
|
12
12
|
onBlur: React.FocusEventHandler<HTMLDivElement>;
|