@mui/x-date-pickers 8.16.0 → 8.17.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 +108 -1
- package/DateCalendar/DayCalendar.d.ts +1 -1
- package/DateCalendar/PickersFadeTransitionGroup.d.ts +1 -1
- package/DateCalendar/PickersSlideTransition.d.ts +1 -1
- package/DateTimePicker/DateTimePickerTabs.d.ts +1 -1
- package/DateTimePicker/DateTimePickerToolbar.d.ts +1 -1
- package/DayCalendarSkeleton/DayCalendarSkeleton.d.ts +1 -1
- package/PickersActionBar/PickersActionBar.d.ts +1 -1
- package/PickersShortcuts/PickersShortcuts.d.ts +1 -2
- package/PickersShortcuts/PickersShortcuts.js +0 -2
- package/PickersTextField/PickersOutlinedInput/Outline.d.ts +1 -1
- package/TimeClock/Clock.d.ts +1 -1
- package/TimeClock/ClockNumber.d.ts +1 -1
- package/TimeClock/ClockNumbers.d.ts +1 -1
- package/TimeClock/ClockPointer.d.ts +1 -1
- package/TimePicker/TimePickerToolbar.d.ts +1 -2
- package/TimePicker/TimePickerToolbar.js +0 -2
- package/dateViewRenderers/dateViewRenderers.d.ts +1 -2
- package/dateViewRenderers/dateViewRenderers.js +0 -2
- package/esm/DateCalendar/DayCalendar.d.ts +1 -1
- package/esm/DateCalendar/PickersFadeTransitionGroup.d.ts +1 -1
- package/esm/DateCalendar/PickersSlideTransition.d.ts +1 -1
- package/esm/DateTimePicker/DateTimePickerTabs.d.ts +1 -1
- package/esm/DateTimePicker/DateTimePickerToolbar.d.ts +1 -1
- package/esm/DayCalendarSkeleton/DayCalendarSkeleton.d.ts +1 -1
- package/esm/PickersActionBar/PickersActionBar.d.ts +1 -1
- package/esm/PickersShortcuts/PickersShortcuts.d.ts +1 -2
- package/esm/PickersShortcuts/PickersShortcuts.js +0 -1
- package/esm/PickersTextField/PickersOutlinedInput/Outline.d.ts +1 -1
- package/esm/TimeClock/Clock.d.ts +1 -1
- package/esm/TimeClock/ClockNumber.d.ts +1 -1
- package/esm/TimeClock/ClockNumbers.d.ts +1 -1
- package/esm/TimeClock/ClockPointer.d.ts +1 -1
- package/esm/TimePicker/TimePickerToolbar.d.ts +1 -2
- package/esm/TimePicker/TimePickerToolbar.js +0 -1
- package/esm/dateViewRenderers/dateViewRenderers.d.ts +1 -2
- package/esm/dateViewRenderers/dateViewRenderers.js +0 -1
- package/esm/index.js +1 -1
- package/esm/internals/components/PickerFieldUI.d.ts +2 -2
- package/esm/internals/components/PickerPopper/PickerPopper.d.ts +1 -1
- package/esm/internals/components/PickerProvider.d.ts +1 -1
- package/esm/internals/components/PickersModalDialog.d.ts +1 -1
- package/esm/internals/demo/DemoContainer.d.ts +2 -2
- package/esm/internals/hooks/useDesktopPicker/useDesktopPicker.d.ts +1 -2
- package/esm/internals/hooks/useDesktopPicker/useDesktopPicker.js +0 -1
- package/esm/internals/hooks/useMobilePicker/useMobilePicker.d.ts +1 -2
- package/esm/internals/hooks/useMobilePicker/useMobilePicker.js +0 -1
- package/esm/internals/hooks/useStaticPicker/useStaticPicker.d.ts +1 -2
- package/esm/internals/hooks/useStaticPicker/useStaticPicker.js +0 -1
- package/esm/timeViewRenderers/timeViewRenderers.d.ts +3 -4
- package/esm/timeViewRenderers/timeViewRenderers.js +0 -1
- package/index.js +1 -1
- package/internals/components/PickerFieldUI.d.ts +2 -2
- package/internals/components/PickerPopper/PickerPopper.d.ts +1 -1
- package/internals/components/PickerProvider.d.ts +1 -1
- package/internals/components/PickersModalDialog.d.ts +1 -1
- package/internals/demo/DemoContainer.d.ts +2 -2
- package/internals/hooks/useDesktopPicker/useDesktopPicker.d.ts +1 -2
- package/internals/hooks/useDesktopPicker/useDesktopPicker.js +0 -2
- package/internals/hooks/useMobilePicker/useMobilePicker.d.ts +1 -2
- package/internals/hooks/useMobilePicker/useMobilePicker.js +0 -2
- package/internals/hooks/useStaticPicker/useStaticPicker.d.ts +1 -2
- package/internals/hooks/useStaticPicker/useStaticPicker.js +0 -2
- package/package.json +2 -2
- package/timeViewRenderers/timeViewRenderers.d.ts +3 -4
- package/timeViewRenderers/timeViewRenderers.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,113 @@
|
|
|
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.17.0
|
|
9
|
+
|
|
10
|
+
_Nov 5, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to extend a big thank you to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- Add `colorGetter` prop to cartesian charts series
|
|
15
|
+
|
|
16
|
+
<img width="400" alt="Image" src="https://github.com/user-attachments/assets/d8b1263f-794e-4939-b17e-87350fdd1746" />
|
|
17
|
+
|
|
18
|
+
- 🌎 Add Catalan (ca-ES) locale on the Data Grid
|
|
19
|
+
- 🌎 Add Norwegian Bokmål (nb-NO) locale on the Charts
|
|
20
|
+
- 🐞 Bugfixes
|
|
21
|
+
- 📚 Documentation improvements
|
|
22
|
+
|
|
23
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
24
|
+
@frncesc, @Methuselah96, @samuelwalk, @htollefsen
|
|
25
|
+
|
|
26
|
+
The following team members contributed to this release:
|
|
27
|
+
@alexfauquette, @bernardobelchior, @flaviendelangle, @Janpot, @JCQuintas, @mnajdova, @rita-codes, @arminmeh, @brijeshb42
|
|
28
|
+
|
|
29
|
+
### Data Grid
|
|
30
|
+
|
|
31
|
+
#### `@mui/x-data-grid@8.17.0`
|
|
32
|
+
|
|
33
|
+
- [DataGrid] Stop event propagation on data grid action buttons (GridActionsCellItem) (#19513) @Copilot
|
|
34
|
+
- [DataGrid] Update cell editable state if `editable` prop is updated in the column definition (#20147) @arminmeh
|
|
35
|
+
- [DataGrid] Wait for external model updates before resetting pagination after sort/filter (#20162) @arminmeh
|
|
36
|
+
- [l10n] Add Catalan (ca-ES) locale (#20154) @frncesc
|
|
37
|
+
- [l10n] Improve Arabic (ar-SD) locale (#20185) @samuelwalk
|
|
38
|
+
|
|
39
|
+
#### `@mui/x-data-grid-pro@8.17.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
40
|
+
|
|
41
|
+
Same changes as in `@mui/x-data-grid@8.17.0`.
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-data-grid-premium@8.17.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
44
|
+
|
|
45
|
+
Same changes as in `@mui/x-data-grid-pro@8.17.0`.
|
|
46
|
+
|
|
47
|
+
### Date and Time Pickers
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-date-pickers@8.17.0`
|
|
50
|
+
|
|
51
|
+
Internal changes.
|
|
52
|
+
|
|
53
|
+
#### `@mui/x-date-pickers-pro@8.17.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
54
|
+
|
|
55
|
+
Same changes as in `@mui/x-date-pickers@8.17.0`.
|
|
56
|
+
|
|
57
|
+
### Charts
|
|
58
|
+
|
|
59
|
+
#### `@mui/x-charts@8.17.0`
|
|
60
|
+
|
|
61
|
+
- [charts] Add `barLabel` to bar series. Deprecate `barLabel` in `BarPlot`. (#20184) @bernardobelchior
|
|
62
|
+
- [charts] Add series color callback (#20084) @bernardobelchior
|
|
63
|
+
- [charts] Expose `ChartsSurface` classes (#20180) @bernardobelchior
|
|
64
|
+
- [charts] Fix chart cut off when inside `overflow: scroll` container (#20182) @bernardobelchior
|
|
65
|
+
- [charts] Fix tick label overflow on multiple axes and series demo (#20152) @bernardobelchior
|
|
66
|
+
- [charts] Organize series config (#20155) @bernardobelchior
|
|
67
|
+
- [charts] Use selectors from `@mui/x-internals` (#20052) @alexfauquette
|
|
68
|
+
- [charts] Use store from `@mui/x-internals` (#20121) @alexfauquette
|
|
69
|
+
- [charts] Add `useDataset` hook (#20205) @JCQuintas
|
|
70
|
+
- [l10n] Add Norwegian Bokmål (nb-NO) locale (#20197) @htollefsen
|
|
71
|
+
|
|
72
|
+
#### `@mui/x-charts-pro@8.17.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
73
|
+
|
|
74
|
+
Same changes as in `@mui/x-charts@8.17.0`, plus:
|
|
75
|
+
|
|
76
|
+
- [charts-pro] Fix zoom pan issue when controlled (#20163) @JCQuintas
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-charts-premium@8.17.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
79
|
+
|
|
80
|
+
Same changes as in `@mui/x-charts-pro@8.17.0`.
|
|
81
|
+
|
|
82
|
+
### Tree View
|
|
83
|
+
|
|
84
|
+
#### `@mui/x-tree-view@8.17.0`
|
|
85
|
+
|
|
86
|
+
- [tree view] Accept read only arrays in `expandedItems` prop (#20181) @Methuselah96
|
|
87
|
+
- [tree view] Use `aria-checked` instead of `aria-selected` on items (#19851) @flaviendelangle
|
|
88
|
+
|
|
89
|
+
#### `@mui/x-tree-view-pro@8.17.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
90
|
+
|
|
91
|
+
Same changes as in `@mui/x-tree-view@8.17.0`.
|
|
92
|
+
|
|
93
|
+
### Codemod
|
|
94
|
+
|
|
95
|
+
#### `@mui/x-codemod@8.17.0`
|
|
96
|
+
|
|
97
|
+
Internal changes.
|
|
98
|
+
|
|
99
|
+
### Docs
|
|
100
|
+
|
|
101
|
+
- [docs] Fix focus issues in the action column demo (#20178) @arminmeh
|
|
102
|
+
- [docs] Remove hidden Tree View headless page (#20119) @flaviendelangle
|
|
103
|
+
- [docs] Fix some external redirects (#20211) @Janpot
|
|
104
|
+
|
|
105
|
+
### Core
|
|
106
|
+
|
|
107
|
+
- [code-infra] Fix cci job timeout due to buffered test output (#20193) @Janpot
|
|
108
|
+
- [code-infra] Fix publish workflow (#20140) @bernardobelchior
|
|
109
|
+
- [code-infra] Increase JSDOM test parallelism (#20179) @Janpot
|
|
110
|
+
- [code-infra] Remove React import requirement for jsx (#20144) @brijeshb42
|
|
111
|
+
- [code-infra] Replace `getInitialProps` with `getStaticProps` (#20192) @Janpot
|
|
112
|
+
- [code-infra] git-ignore next-env.d.ts (#20177) @Janpot
|
|
113
|
+
- [code-infra] Stabilize screenshot testing (#19868) @Janpot
|
|
114
|
+
|
|
8
115
|
## 8.16.0
|
|
9
116
|
|
|
10
117
|
_Oct 29, 2025_
|
|
@@ -39,7 +146,7 @@ Same changes as in `@mui/x-data-grid@8.16.0`, plus:
|
|
|
39
146
|
Same changes as in `@mui/x-data-grid-pro@8.16.0`, plus:
|
|
40
147
|
|
|
41
148
|
- [DataGridPremium] Export and restore chart integration state (#20079) @arminmeh
|
|
42
|
-
- [DataGridPremium] Fix grouping column `valueFormatter()` crash
|
|
149
|
+
- [DataGridPremium] Fix grouping column `valueFormatter()` crash (#20070) @sai6855
|
|
43
150
|
- [DataGridPremium] Refetch aggregation data after row update with server-side aggregation (#20039) @arminmeh
|
|
44
151
|
|
|
45
152
|
### Date and Time Pickers
|
|
@@ -82,4 +82,4 @@ export interface DayCalendarProps extends ExportedDayCalendarProps, DayValidatio
|
|
|
82
82
|
/**
|
|
83
83
|
* @ignore - do not document.
|
|
84
84
|
*/
|
|
85
|
-
export declare function DayCalendar(inProps: DayCalendarProps):
|
|
85
|
+
export declare function DayCalendar(inProps: DayCalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,4 +15,4 @@ export interface PickersFadeTransitionGroupProps extends ExportedPickersFadeTran
|
|
|
15
15
|
/**
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
|
-
export declare function PickersFadeTransitionGroup(inProps: PickersFadeTransitionGroupProps):
|
|
18
|
+
export declare function PickersFadeTransitionGroup(inProps: PickersFadeTransitionGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -22,4 +22,4 @@ export interface SlideTransitionProps extends Omit<CSSTransitionProps, 'timeout'
|
|
|
22
22
|
/**
|
|
23
23
|
* @ignore - do not document.
|
|
24
24
|
*/
|
|
25
|
-
export declare function PickersSlideTransition(inProps: SlideTransitionProps):
|
|
25
|
+
export declare function PickersSlideTransition(inProps: SlideTransitionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -33,7 +33,7 @@ export interface DateTimePickerTabsProps extends ExportedBaseTabsProps {
|
|
|
33
33
|
* - [DateTimePickerTabs API](https://mui.com/x/api/date-pickers/date-time-picker-tabs/)
|
|
34
34
|
*/
|
|
35
35
|
declare const DateTimePickerTabs: {
|
|
36
|
-
(inProps: DateTimePickerTabsProps):
|
|
36
|
+
(inProps: DateTimePickerTabsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
37
37
|
propTypes: any;
|
|
38
38
|
};
|
|
39
39
|
export { DateTimePickerTabs };
|
|
@@ -40,7 +40,7 @@ export declare const DateTimePickerToolbarOverrideContext: React.Context<{
|
|
|
40
40
|
*
|
|
41
41
|
* - [DateTimePickerToolbar API](https://mui.com/x/api/date-pickers/date-time-picker-toolbar/)
|
|
42
42
|
*/
|
|
43
|
-
declare function DateTimePickerToolbar(inProps: DateTimePickerToolbarProps):
|
|
43
|
+
declare function DateTimePickerToolbar(inProps: DateTimePickerToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
44
44
|
declare namespace DateTimePickerToolbar {
|
|
45
45
|
var propTypes: any;
|
|
46
46
|
}
|
|
@@ -23,7 +23,7 @@ export interface DayCalendarSkeletonProps extends HTMLDivProps {
|
|
|
23
23
|
*
|
|
24
24
|
* - [CalendarPickerSkeleton API](https://mui.com/x/api/date-pickers/calendar-picker-skeleton/)
|
|
25
25
|
*/
|
|
26
|
-
declare function DayCalendarSkeleton(inProps: DayCalendarSkeletonProps):
|
|
26
|
+
declare function DayCalendarSkeleton(inProps: DayCalendarSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
declare namespace DayCalendarSkeleton {
|
|
28
28
|
var propTypes: any;
|
|
29
29
|
}
|
|
@@ -21,7 +21,7 @@ export interface PickersActionBarProps extends DialogActionsProps {
|
|
|
21
21
|
*
|
|
22
22
|
* - [PickersActionBar API](https://mui.com/x/api/date-pickers/pickers-action-bar/)
|
|
23
23
|
*/
|
|
24
|
-
declare function PickersActionBarComponent(props: PickersActionBarProps):
|
|
24
|
+
declare function PickersActionBarComponent(props: PickersActionBarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
25
25
|
declare namespace PickersActionBarComponent {
|
|
26
26
|
var propTypes: any;
|
|
27
27
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ListProps } from '@mui/material/List';
|
|
3
2
|
import { PickerValidValue } from "../internals/models/index.js";
|
|
4
3
|
import { PickerChangeImportance } from "../models/pickers.js";
|
|
@@ -40,7 +39,7 @@ export interface PickersShortcutsProps<TValue extends PickerValidValue> extends
|
|
|
40
39
|
*
|
|
41
40
|
* - [PickersShortcuts API](https://mui.com/x/api/date-pickers/pickers-shortcuts/)
|
|
42
41
|
*/
|
|
43
|
-
declare function PickersShortcuts<TValue extends PickerValidValue>(props: PickersShortcutsProps<TValue>):
|
|
42
|
+
declare function PickersShortcuts<TValue extends PickerValidValue>(props: PickersShortcutsProps<TValue>): import("react/jsx-runtime").JSX.Element | null;
|
|
44
43
|
declare namespace PickersShortcuts {
|
|
45
44
|
var propTypes: any;
|
|
46
45
|
}
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
'use client';
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
5
|
Object.defineProperty(exports, "__esModule", {
|
|
7
6
|
value: true
|
|
8
7
|
});
|
|
9
8
|
exports.PickersShortcuts = PickersShortcuts;
|
|
10
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
10
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
12
|
-
var React = _interopRequireWildcard(require("react"));
|
|
13
11
|
var _styles = require("@mui/material/styles");
|
|
14
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
13
|
var _List = _interopRequireDefault(require("@mui/material/List"));
|
|
@@ -7,5 +7,5 @@ interface OutlineProps extends React.HTMLAttributes<HTMLFieldSetElement> {
|
|
|
7
7
|
/**
|
|
8
8
|
* @ignore - internal component.
|
|
9
9
|
*/
|
|
10
|
-
export default function Outline(props: OutlineProps):
|
|
10
|
+
export default function Outline(props: OutlineProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
package/TimeClock/Clock.d.ts
CHANGED
|
@@ -47,4 +47,4 @@ export interface ClockOwnerState extends PickerOwnerState {
|
|
|
47
47
|
/**
|
|
48
48
|
* @ignore - internal component.
|
|
49
49
|
*/
|
|
50
|
-
export declare function Clock(inProps: ClockProps):
|
|
50
|
+
export declare function Clock(inProps: ClockProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -34,4 +34,4 @@ export interface ClockNumberOwnerState extends PickerOwnerState {
|
|
|
34
34
|
/**
|
|
35
35
|
* @ignore - internal component.
|
|
36
36
|
*/
|
|
37
|
-
export declare function ClockNumber(inProps: ClockNumberProps):
|
|
37
|
+
export declare function ClockNumber(inProps: ClockNumberProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -28,4 +28,4 @@ export interface ClockPointerOwnerState extends PickerOwnerState {
|
|
|
28
28
|
/**
|
|
29
29
|
* @ignore - internal component.
|
|
30
30
|
*/
|
|
31
|
-
export declare function ClockPointer(inProps: ClockPointerProps):
|
|
31
|
+
export declare function ClockPointer(inProps: ClockPointerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.js";
|
|
3
2
|
import { TimePickerToolbarClasses } from "./timePickerToolbarClasses.js";
|
|
4
3
|
export interface TimePickerToolbarProps extends BaseToolbarProps, ExportedTimePickerToolbarProps {
|
|
@@ -21,7 +20,7 @@ export interface ExportedTimePickerToolbarProps extends ExportedBaseToolbarProps
|
|
|
21
20
|
*
|
|
22
21
|
* - [TimePickerToolbar API](https://mui.com/x/api/date-pickers/time-picker-toolbar/)
|
|
23
22
|
*/
|
|
24
|
-
declare function TimePickerToolbar(inProps: TimePickerToolbarProps):
|
|
23
|
+
declare function TimePickerToolbar(inProps: TimePickerToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
25
24
|
declare namespace TimePickerToolbar {
|
|
26
25
|
var propTypes: any;
|
|
27
26
|
}
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
'use client';
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
5
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
6
5
|
Object.defineProperty(exports, "__esModule", {
|
|
7
6
|
value: true
|
|
8
7
|
});
|
|
9
8
|
exports.TimePickerToolbar = TimePickerToolbar;
|
|
10
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
10
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
12
|
-
var React = _interopRequireWildcard(require("react"));
|
|
13
11
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
14
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
13
|
var _styles = require("@mui/material/styles");
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { DateCalendarProps } from "../DateCalendar/index.js";
|
|
3
2
|
import { DateView } from "../models/index.js";
|
|
4
3
|
import { DateOrTimeViewWithMeridiem } from "../internals/models/index.js";
|
|
@@ -47,4 +46,4 @@ export declare const renderDateViewCalendar: ({
|
|
|
47
46
|
fixedWeekNumber,
|
|
48
47
|
displayWeekNumber,
|
|
49
48
|
timezone
|
|
50
|
-
}: DateViewRendererProps<DateView>) =>
|
|
49
|
+
}: DateViewRendererProps<DateView>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.renderDateViewCalendar = void 0;
|
|
8
|
-
var React = _interopRequireWildcard(require("react"));
|
|
9
7
|
var _DateCalendar = require("../DateCalendar");
|
|
10
8
|
var _dateUtils = require("../internals/utils/date-utils");
|
|
11
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -82,4 +82,4 @@ export interface DayCalendarProps extends ExportedDayCalendarProps, DayValidatio
|
|
|
82
82
|
/**
|
|
83
83
|
* @ignore - do not document.
|
|
84
84
|
*/
|
|
85
|
-
export declare function DayCalendar(inProps: DayCalendarProps):
|
|
85
|
+
export declare function DayCalendar(inProps: DayCalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,4 +15,4 @@ export interface PickersFadeTransitionGroupProps extends ExportedPickersFadeTran
|
|
|
15
15
|
/**
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
|
-
export declare function PickersFadeTransitionGroup(inProps: PickersFadeTransitionGroupProps):
|
|
18
|
+
export declare function PickersFadeTransitionGroup(inProps: PickersFadeTransitionGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -22,4 +22,4 @@ export interface SlideTransitionProps extends Omit<CSSTransitionProps, 'timeout'
|
|
|
22
22
|
/**
|
|
23
23
|
* @ignore - do not document.
|
|
24
24
|
*/
|
|
25
|
-
export declare function PickersSlideTransition(inProps: SlideTransitionProps):
|
|
25
|
+
export declare function PickersSlideTransition(inProps: SlideTransitionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -33,7 +33,7 @@ export interface DateTimePickerTabsProps extends ExportedBaseTabsProps {
|
|
|
33
33
|
* - [DateTimePickerTabs API](https://mui.com/x/api/date-pickers/date-time-picker-tabs/)
|
|
34
34
|
*/
|
|
35
35
|
declare const DateTimePickerTabs: {
|
|
36
|
-
(inProps: DateTimePickerTabsProps):
|
|
36
|
+
(inProps: DateTimePickerTabsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
37
37
|
propTypes: any;
|
|
38
38
|
};
|
|
39
39
|
export { DateTimePickerTabs };
|
|
@@ -40,7 +40,7 @@ export declare const DateTimePickerToolbarOverrideContext: React.Context<{
|
|
|
40
40
|
*
|
|
41
41
|
* - [DateTimePickerToolbar API](https://mui.com/x/api/date-pickers/date-time-picker-toolbar/)
|
|
42
42
|
*/
|
|
43
|
-
declare function DateTimePickerToolbar(inProps: DateTimePickerToolbarProps):
|
|
43
|
+
declare function DateTimePickerToolbar(inProps: DateTimePickerToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
44
44
|
declare namespace DateTimePickerToolbar {
|
|
45
45
|
var propTypes: any;
|
|
46
46
|
}
|
|
@@ -23,7 +23,7 @@ export interface DayCalendarSkeletonProps extends HTMLDivProps {
|
|
|
23
23
|
*
|
|
24
24
|
* - [CalendarPickerSkeleton API](https://mui.com/x/api/date-pickers/calendar-picker-skeleton/)
|
|
25
25
|
*/
|
|
26
|
-
declare function DayCalendarSkeleton(inProps: DayCalendarSkeletonProps):
|
|
26
|
+
declare function DayCalendarSkeleton(inProps: DayCalendarSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
declare namespace DayCalendarSkeleton {
|
|
28
28
|
var propTypes: any;
|
|
29
29
|
}
|
|
@@ -21,7 +21,7 @@ export interface PickersActionBarProps extends DialogActionsProps {
|
|
|
21
21
|
*
|
|
22
22
|
* - [PickersActionBar API](https://mui.com/x/api/date-pickers/pickers-action-bar/)
|
|
23
23
|
*/
|
|
24
|
-
declare function PickersActionBarComponent(props: PickersActionBarProps):
|
|
24
|
+
declare function PickersActionBarComponent(props: PickersActionBarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
25
25
|
declare namespace PickersActionBarComponent {
|
|
26
26
|
var propTypes: any;
|
|
27
27
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { ListProps } from '@mui/material/List';
|
|
3
2
|
import { PickerValidValue } from "../internals/models/index.js";
|
|
4
3
|
import { PickerChangeImportance } from "../models/pickers.js";
|
|
@@ -40,7 +39,7 @@ export interface PickersShortcutsProps<TValue extends PickerValidValue> extends
|
|
|
40
39
|
*
|
|
41
40
|
* - [PickersShortcuts API](https://mui.com/x/api/date-pickers/pickers-shortcuts/)
|
|
42
41
|
*/
|
|
43
|
-
declare function PickersShortcuts<TValue extends PickerValidValue>(props: PickersShortcutsProps<TValue>):
|
|
42
|
+
declare function PickersShortcuts<TValue extends PickerValidValue>(props: PickersShortcutsProps<TValue>): import("react/jsx-runtime").JSX.Element | null;
|
|
44
43
|
declare namespace PickersShortcuts {
|
|
45
44
|
var propTypes: any;
|
|
46
45
|
}
|
|
@@ -4,7 +4,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
4
4
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
5
5
|
const _excluded = ["items", "changeImportance"],
|
|
6
6
|
_excluded2 = ["getValue"];
|
|
7
|
-
import * as React from 'react';
|
|
8
7
|
import { styled } from '@mui/material/styles';
|
|
9
8
|
import PropTypes from 'prop-types';
|
|
10
9
|
import List from '@mui/material/List';
|
|
@@ -7,5 +7,5 @@ interface OutlineProps extends React.HTMLAttributes<HTMLFieldSetElement> {
|
|
|
7
7
|
/**
|
|
8
8
|
* @ignore - internal component.
|
|
9
9
|
*/
|
|
10
|
-
export default function Outline(props: OutlineProps):
|
|
10
|
+
export default function Outline(props: OutlineProps): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export {};
|
package/esm/TimeClock/Clock.d.ts
CHANGED
|
@@ -47,4 +47,4 @@ export interface ClockOwnerState extends PickerOwnerState {
|
|
|
47
47
|
/**
|
|
48
48
|
* @ignore - internal component.
|
|
49
49
|
*/
|
|
50
|
-
export declare function Clock(inProps: ClockProps):
|
|
50
|
+
export declare function Clock(inProps: ClockProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -34,4 +34,4 @@ export interface ClockNumberOwnerState extends PickerOwnerState {
|
|
|
34
34
|
/**
|
|
35
35
|
* @ignore - internal component.
|
|
36
36
|
*/
|
|
37
|
-
export declare function ClockNumber(inProps: ClockNumberProps):
|
|
37
|
+
export declare function ClockNumber(inProps: ClockNumberProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -28,4 +28,4 @@ export interface ClockPointerOwnerState extends PickerOwnerState {
|
|
|
28
28
|
/**
|
|
29
29
|
* @ignore - internal component.
|
|
30
30
|
*/
|
|
31
|
-
export declare function ClockPointer(inProps: ClockPointerProps):
|
|
31
|
+
export declare function ClockPointer(inProps: ClockPointerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.js";
|
|
3
2
|
import { TimePickerToolbarClasses } from "./timePickerToolbarClasses.js";
|
|
4
3
|
export interface TimePickerToolbarProps extends BaseToolbarProps, ExportedTimePickerToolbarProps {
|
|
@@ -21,7 +20,7 @@ export interface ExportedTimePickerToolbarProps extends ExportedBaseToolbarProps
|
|
|
21
20
|
*
|
|
22
21
|
* - [TimePickerToolbar API](https://mui.com/x/api/date-pickers/time-picker-toolbar/)
|
|
23
22
|
*/
|
|
24
|
-
declare function TimePickerToolbar(inProps: TimePickerToolbarProps):
|
|
23
|
+
declare function TimePickerToolbar(inProps: TimePickerToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
25
24
|
declare namespace TimePickerToolbar {
|
|
26
25
|
var propTypes: any;
|
|
27
26
|
}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
5
5
|
const _excluded = ["ampm", "ampmInClock", "className", "classes"];
|
|
6
|
-
import * as React from 'react';
|
|
7
6
|
import clsx from 'clsx';
|
|
8
7
|
import PropTypes from 'prop-types';
|
|
9
8
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { DateCalendarProps } from "../DateCalendar/index.js";
|
|
3
2
|
import { DateView } from "../models/index.js";
|
|
4
3
|
import { DateOrTimeViewWithMeridiem } from "../internals/models/index.js";
|
|
@@ -47,4 +46,4 @@ export declare const renderDateViewCalendar: ({
|
|
|
47
46
|
fixedWeekNumber,
|
|
48
47
|
displayWeekNumber,
|
|
49
48
|
timezone
|
|
50
|
-
}: DateViewRendererProps<DateView>) =>
|
|
49
|
+
}: DateViewRendererProps<DateView>) => import("react/jsx-runtime").JSX.Element;
|
package/esm/index.js
CHANGED
|
@@ -22,7 +22,7 @@ export declare const PickerFieldUIContext: React.Context<PickerFieldUIContextVal
|
|
|
22
22
|
* Adds the button to open the Picker and the button to clear the value of the field.
|
|
23
23
|
* @ignore - internal component.
|
|
24
24
|
*/
|
|
25
|
-
export declare function PickerFieldUI<TEnableAccessibleFieldDOMStructure extends boolean, TProps extends UseFieldProps<TEnableAccessibleFieldDOMStructure>>(props: PickerFieldUIProps<TEnableAccessibleFieldDOMStructure, TProps>):
|
|
25
|
+
export declare function PickerFieldUI<TEnableAccessibleFieldDOMStructure extends boolean, TProps extends UseFieldProps<TEnableAccessibleFieldDOMStructure>>(props: PickerFieldUIProps<TEnableAccessibleFieldDOMStructure, TProps>): import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
export interface ExportedPickerFieldUIProps {
|
|
27
27
|
/**
|
|
28
28
|
* If `true`, a clear button will be shown in the field allowing value clearing.
|
|
@@ -123,7 +123,7 @@ interface UseFieldTextFieldPropsParameters {
|
|
|
123
123
|
ref: React.Ref<HTMLDivElement>;
|
|
124
124
|
externalForwardedProps: any;
|
|
125
125
|
}
|
|
126
|
-
export declare function PickerFieldUIContextProvider(props: PickerFieldUIContextProviderProps):
|
|
126
|
+
export declare function PickerFieldUIContextProvider(props: PickerFieldUIContextProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
127
127
|
interface PickerFieldUIContextProviderProps {
|
|
128
128
|
children: React.ReactNode;
|
|
129
129
|
inputRef: React.Ref<HTMLInputElement> | undefined;
|
|
@@ -64,4 +64,4 @@ export interface PickerPopperProps extends ExportedPickerPopperProps {
|
|
|
64
64
|
slots?: PickerPopperSlots;
|
|
65
65
|
slotProps?: PickerPopperSlotProps;
|
|
66
66
|
}
|
|
67
|
-
export declare function PickerPopper(inProps: PickerPopperProps):
|
|
67
|
+
export declare function PickerPopper(inProps: PickerPopperProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,7 +16,7 @@ export declare const PickerPrivateContext: React.Context<PickerPrivateContextVal
|
|
|
16
16
|
*
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
export declare function PickerProvider<TValue extends PickerValidValue>(props: PickerProviderProps<TValue>):
|
|
19
|
+
export declare function PickerProvider<TValue extends PickerValidValue>(props: PickerProviderProps<TValue>): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export interface PickerProviderProps<TValue extends PickerValidValue> {
|
|
21
21
|
contextValue: PickerContextValue<any, any, any>;
|
|
22
22
|
actionsContextValue: PickerActionsContextValue<any, any, any>;
|
|
@@ -45,4 +45,4 @@ export interface PickersModalDialogProps {
|
|
|
45
45
|
*/
|
|
46
46
|
slotProps?: PickersModalDialogSlotProps;
|
|
47
47
|
}
|
|
48
|
-
export declare function PickersModalDialog(props: React.PropsWithChildren<PickersModalDialogProps>):
|
|
48
|
+
export declare function PickersModalDialog(props: React.PropsWithChildren<PickersModalDialogProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,7 +14,7 @@ interface DemoItemProps extends Omit<StackProps, 'component'> {
|
|
|
14
14
|
* WARNING: This is an internal component used in documentation to achieve a desired layout.
|
|
15
15
|
* Please do not use it in your application.
|
|
16
16
|
*/
|
|
17
|
-
export declare function DemoItem(props: DemoItemProps):
|
|
17
|
+
export declare function DemoItem(props: DemoItemProps): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export declare namespace DemoItem {
|
|
19
19
|
var displayName: string;
|
|
20
20
|
}
|
|
@@ -22,5 +22,5 @@ export declare namespace DemoItem {
|
|
|
22
22
|
* WARNING: This is an internal component used in documentation to achieve a desired layout.
|
|
23
23
|
* Please do not use it in your application.
|
|
24
24
|
*/
|
|
25
|
-
export declare function DemoContainer(props: DemoGridProps):
|
|
25
|
+
export declare function DemoContainer(props: DemoGridProps): import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { UseDesktopPickerParams, UseDesktopPickerProps } from "./useDesktopPicker.types.js";
|
|
3
2
|
import { DateOrTimeViewWithMeridiem } from "../../models/index.js";
|
|
4
3
|
/**
|
|
@@ -12,5 +11,5 @@ export declare const useDesktopPicker: <TView extends DateOrTimeViewWithMeridiem
|
|
|
12
11
|
steps,
|
|
13
12
|
...pickerParams
|
|
14
13
|
}: UseDesktopPickerParams<TView, TEnableAccessibleFieldDOMStructure, TExternalProps>) => {
|
|
15
|
-
renderPicker: () =>
|
|
14
|
+
renderPicker: () => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
};
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
3
|
const _excluded = ["props", "steps"],
|
|
4
4
|
_excluded2 = ["ownerState"];
|
|
5
|
-
import * as React from 'react';
|
|
6
5
|
import useSlotProps from '@mui/utils/useSlotProps';
|
|
7
6
|
import { PickerPopper } from "../../components/PickerPopper/PickerPopper.js";
|
|
8
7
|
import { usePicker } from "../usePicker/index.js";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { UseMobilePickerParams, UseMobilePickerProps } from "./useMobilePicker.types.js";
|
|
3
2
|
import { DateOrTimeViewWithMeridiem } from "../../models/index.js";
|
|
4
3
|
/**
|
|
@@ -12,5 +11,5 @@ export declare const useMobilePicker: <TView extends DateOrTimeViewWithMeridiem,
|
|
|
12
11
|
steps,
|
|
13
12
|
...pickerParams
|
|
14
13
|
}: UseMobilePickerParams<TView, TEnableAccessibleFieldDOMStructure, TExternalProps>) => {
|
|
15
|
-
renderPicker: () =>
|
|
14
|
+
renderPicker: () => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
};
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
3
|
const _excluded = ["props", "steps"],
|
|
4
4
|
_excluded2 = ["ownerState"];
|
|
5
|
-
import * as React from 'react';
|
|
6
5
|
import useSlotProps from '@mui/utils/useSlotProps';
|
|
7
6
|
import { PickersModalDialog } from "../../components/PickersModalDialog.js";
|
|
8
7
|
import { usePicker } from "../usePicker/index.js";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { UseStaticPickerParams, UseStaticPickerProps } from "./useStaticPicker.types.js";
|
|
3
2
|
import { DateOrTimeViewWithMeridiem } from "../../models/index.js";
|
|
4
3
|
/**
|
|
@@ -12,5 +11,5 @@ export declare const useStaticPicker: <TView extends DateOrTimeViewWithMeridiem,
|
|
|
12
11
|
steps,
|
|
13
12
|
...pickerParams
|
|
14
13
|
}: UseStaticPickerParams<TView, TExternalProps>) => {
|
|
15
|
-
renderPicker: () =>
|
|
14
|
+
renderPicker: () => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
3
|
const _excluded = ["props", "steps"];
|
|
4
|
-
import * as React from 'react';
|
|
5
4
|
import clsx from 'clsx';
|
|
6
5
|
import { styled } from '@mui/material/styles';
|
|
7
6
|
import { usePicker } from "../usePicker/index.js";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { TimeClockProps } from "../TimeClock/index.js";
|
|
3
2
|
import { TimeView } from "../models/index.js";
|
|
4
3
|
import { DigitalClockProps } from "../DigitalClock/index.js";
|
|
@@ -40,7 +39,7 @@ export declare const renderTimeViewClock: ({
|
|
|
40
39
|
showViewSwitcher,
|
|
41
40
|
disableIgnoringDatePartForTimeValidation,
|
|
42
41
|
timezone
|
|
43
|
-
}: TimeViewRendererProps<TimeView, TimeClockProps<TimeView>>) =>
|
|
42
|
+
}: TimeViewRendererProps<TimeView, TimeClockProps<TimeView>>) => import("react/jsx-runtime").JSX.Element;
|
|
44
43
|
export declare const renderDigitalClockTimeView: ({
|
|
45
44
|
view,
|
|
46
45
|
onViewChange,
|
|
@@ -70,7 +69,7 @@ export declare const renderDigitalClockTimeView: ({
|
|
|
70
69
|
timeSteps,
|
|
71
70
|
skipDisabled,
|
|
72
71
|
timezone
|
|
73
|
-
}: TimeViewRendererProps<Extract<TimeView, "hours">, Omit<DigitalClockProps, "timeStep"> & Pick<TimePickerProps, "timeSteps">>) =>
|
|
72
|
+
}: TimeViewRendererProps<Extract<TimeView, "hours">, Omit<DigitalClockProps, "timeStep"> & Pick<TimePickerProps, "timeSteps">>) => import("react/jsx-runtime").JSX.Element;
|
|
74
73
|
export declare const renderMultiSectionDigitalClockTimeView: ({
|
|
75
74
|
view,
|
|
76
75
|
onViewChange,
|
|
@@ -100,4 +99,4 @@ export declare const renderMultiSectionDigitalClockTimeView: ({
|
|
|
100
99
|
timeSteps,
|
|
101
100
|
skipDisabled,
|
|
102
101
|
timezone
|
|
103
|
-
}: TimeViewRendererProps<TimeViewWithMeridiem, MultiSectionDigitalClockProps>) =>
|
|
102
|
+
}: TimeViewRendererProps<TimeViewWithMeridiem, MultiSectionDigitalClockProps>) => import("react/jsx-runtime").JSX.Element;
|
package/index.js
CHANGED
|
@@ -22,7 +22,7 @@ export declare const PickerFieldUIContext: React.Context<PickerFieldUIContextVal
|
|
|
22
22
|
* Adds the button to open the Picker and the button to clear the value of the field.
|
|
23
23
|
* @ignore - internal component.
|
|
24
24
|
*/
|
|
25
|
-
export declare function PickerFieldUI<TEnableAccessibleFieldDOMStructure extends boolean, TProps extends UseFieldProps<TEnableAccessibleFieldDOMStructure>>(props: PickerFieldUIProps<TEnableAccessibleFieldDOMStructure, TProps>):
|
|
25
|
+
export declare function PickerFieldUI<TEnableAccessibleFieldDOMStructure extends boolean, TProps extends UseFieldProps<TEnableAccessibleFieldDOMStructure>>(props: PickerFieldUIProps<TEnableAccessibleFieldDOMStructure, TProps>): import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
export interface ExportedPickerFieldUIProps {
|
|
27
27
|
/**
|
|
28
28
|
* If `true`, a clear button will be shown in the field allowing value clearing.
|
|
@@ -123,7 +123,7 @@ interface UseFieldTextFieldPropsParameters {
|
|
|
123
123
|
ref: React.Ref<HTMLDivElement>;
|
|
124
124
|
externalForwardedProps: any;
|
|
125
125
|
}
|
|
126
|
-
export declare function PickerFieldUIContextProvider(props: PickerFieldUIContextProviderProps):
|
|
126
|
+
export declare function PickerFieldUIContextProvider(props: PickerFieldUIContextProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
127
127
|
interface PickerFieldUIContextProviderProps {
|
|
128
128
|
children: React.ReactNode;
|
|
129
129
|
inputRef: React.Ref<HTMLInputElement> | undefined;
|
|
@@ -64,4 +64,4 @@ export interface PickerPopperProps extends ExportedPickerPopperProps {
|
|
|
64
64
|
slots?: PickerPopperSlots;
|
|
65
65
|
slotProps?: PickerPopperSlotProps;
|
|
66
66
|
}
|
|
67
|
-
export declare function PickerPopper(inProps: PickerPopperProps):
|
|
67
|
+
export declare function PickerPopper(inProps: PickerPopperProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,7 +16,7 @@ export declare const PickerPrivateContext: React.Context<PickerPrivateContextVal
|
|
|
16
16
|
*
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
export declare function PickerProvider<TValue extends PickerValidValue>(props: PickerProviderProps<TValue>):
|
|
19
|
+
export declare function PickerProvider<TValue extends PickerValidValue>(props: PickerProviderProps<TValue>): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export interface PickerProviderProps<TValue extends PickerValidValue> {
|
|
21
21
|
contextValue: PickerContextValue<any, any, any>;
|
|
22
22
|
actionsContextValue: PickerActionsContextValue<any, any, any>;
|
|
@@ -45,4 +45,4 @@ export interface PickersModalDialogProps {
|
|
|
45
45
|
*/
|
|
46
46
|
slotProps?: PickersModalDialogSlotProps;
|
|
47
47
|
}
|
|
48
|
-
export declare function PickersModalDialog(props: React.PropsWithChildren<PickersModalDialogProps>):
|
|
48
|
+
export declare function PickersModalDialog(props: React.PropsWithChildren<PickersModalDialogProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -14,7 +14,7 @@ interface DemoItemProps extends Omit<StackProps, 'component'> {
|
|
|
14
14
|
* WARNING: This is an internal component used in documentation to achieve a desired layout.
|
|
15
15
|
* Please do not use it in your application.
|
|
16
16
|
*/
|
|
17
|
-
export declare function DemoItem(props: DemoItemProps):
|
|
17
|
+
export declare function DemoItem(props: DemoItemProps): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export declare namespace DemoItem {
|
|
19
19
|
var displayName: string;
|
|
20
20
|
}
|
|
@@ -22,5 +22,5 @@ export declare namespace DemoItem {
|
|
|
22
22
|
* WARNING: This is an internal component used in documentation to achieve a desired layout.
|
|
23
23
|
* Please do not use it in your application.
|
|
24
24
|
*/
|
|
25
|
-
export declare function DemoContainer(props: DemoGridProps):
|
|
25
|
+
export declare function DemoContainer(props: DemoGridProps): import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { UseDesktopPickerParams, UseDesktopPickerProps } from "./useDesktopPicker.types.js";
|
|
3
2
|
import { DateOrTimeViewWithMeridiem } from "../../models/index.js";
|
|
4
3
|
/**
|
|
@@ -12,5 +11,5 @@ export declare const useDesktopPicker: <TView extends DateOrTimeViewWithMeridiem
|
|
|
12
11
|
steps,
|
|
13
12
|
...pickerParams
|
|
14
13
|
}: UseDesktopPickerParams<TView, TEnableAccessibleFieldDOMStructure, TExternalProps>) => {
|
|
15
|
-
renderPicker: () =>
|
|
14
|
+
renderPicker: () => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
};
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.useDesktopPicker = void 0;
|
|
9
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
9
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
10
|
var _useSlotProps2 = _interopRequireDefault(require("@mui/utils/useSlotProps"));
|
|
13
11
|
var _PickerPopper = require("../../components/PickerPopper/PickerPopper");
|
|
14
12
|
var _usePicker = require("../usePicker");
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { UseMobilePickerParams, UseMobilePickerProps } from "./useMobilePicker.types.js";
|
|
3
2
|
import { DateOrTimeViewWithMeridiem } from "../../models/index.js";
|
|
4
3
|
/**
|
|
@@ -12,5 +11,5 @@ export declare const useMobilePicker: <TView extends DateOrTimeViewWithMeridiem,
|
|
|
12
11
|
steps,
|
|
13
12
|
...pickerParams
|
|
14
13
|
}: UseMobilePickerParams<TView, TEnableAccessibleFieldDOMStructure, TExternalProps>) => {
|
|
15
|
-
renderPicker: () =>
|
|
14
|
+
renderPicker: () => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
};
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.useMobilePicker = void 0;
|
|
9
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
9
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
10
|
var _useSlotProps2 = _interopRequireDefault(require("@mui/utils/useSlotProps"));
|
|
13
11
|
var _PickersModalDialog = require("../../components/PickersModalDialog");
|
|
14
12
|
var _usePicker = require("../usePicker");
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { UseStaticPickerParams, UseStaticPickerProps } from "./useStaticPicker.types.js";
|
|
3
2
|
import { DateOrTimeViewWithMeridiem } from "../../models/index.js";
|
|
4
3
|
/**
|
|
@@ -12,5 +11,5 @@ export declare const useStaticPicker: <TView extends DateOrTimeViewWithMeridiem,
|
|
|
12
11
|
steps,
|
|
13
12
|
...pickerParams
|
|
14
13
|
}: UseStaticPickerParams<TView, TExternalProps>) => {
|
|
15
|
-
renderPicker: () =>
|
|
14
|
+
renderPicker: () => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
};
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.useStaticPicker = void 0;
|
|
9
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
9
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
|
-
var React = _interopRequireWildcard(require("react"));
|
|
12
10
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
13
11
|
var _styles = require("@mui/material/styles");
|
|
14
12
|
var _usePicker = require("../usePicker");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-date-pickers",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.17.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "The community edition of the MUI X Date and Time Picker components.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"clsx": "^2.1.1",
|
|
40
40
|
"prop-types": "^15.8.1",
|
|
41
41
|
"react-transition-group": "^4.4.5",
|
|
42
|
-
"@mui/x-internals": "8.
|
|
42
|
+
"@mui/x-internals": "8.17.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@emotion/react": "^11.9.0",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { TimeClockProps } from "../TimeClock/index.js";
|
|
3
2
|
import { TimeView } from "../models/index.js";
|
|
4
3
|
import { DigitalClockProps } from "../DigitalClock/index.js";
|
|
@@ -40,7 +39,7 @@ export declare const renderTimeViewClock: ({
|
|
|
40
39
|
showViewSwitcher,
|
|
41
40
|
disableIgnoringDatePartForTimeValidation,
|
|
42
41
|
timezone
|
|
43
|
-
}: TimeViewRendererProps<TimeView, TimeClockProps<TimeView>>) =>
|
|
42
|
+
}: TimeViewRendererProps<TimeView, TimeClockProps<TimeView>>) => import("react/jsx-runtime").JSX.Element;
|
|
44
43
|
export declare const renderDigitalClockTimeView: ({
|
|
45
44
|
view,
|
|
46
45
|
onViewChange,
|
|
@@ -70,7 +69,7 @@ export declare const renderDigitalClockTimeView: ({
|
|
|
70
69
|
timeSteps,
|
|
71
70
|
skipDisabled,
|
|
72
71
|
timezone
|
|
73
|
-
}: TimeViewRendererProps<Extract<TimeView, "hours">, Omit<DigitalClockProps, "timeStep"> & Pick<TimePickerProps, "timeSteps">>) =>
|
|
72
|
+
}: TimeViewRendererProps<Extract<TimeView, "hours">, Omit<DigitalClockProps, "timeStep"> & Pick<TimePickerProps, "timeSteps">>) => import("react/jsx-runtime").JSX.Element;
|
|
74
73
|
export declare const renderMultiSectionDigitalClockTimeView: ({
|
|
75
74
|
view,
|
|
76
75
|
onViewChange,
|
|
@@ -100,4 +99,4 @@ export declare const renderMultiSectionDigitalClockTimeView: ({
|
|
|
100
99
|
timeSteps,
|
|
101
100
|
skipDisabled,
|
|
102
101
|
timezone
|
|
103
|
-
}: TimeViewRendererProps<TimeViewWithMeridiem, MultiSectionDigitalClockProps>) =>
|
|
102
|
+
}: TimeViewRendererProps<TimeViewWithMeridiem, MultiSectionDigitalClockProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.renderTimeViewClock = exports.renderMultiSectionDigitalClockTimeView = exports.renderDigitalClockTimeView = void 0;
|
|
8
|
-
var React = _interopRequireWildcard(require("react"));
|
|
9
7
|
var _TimeClock = require("../TimeClock");
|
|
10
8
|
var _DigitalClock = require("../DigitalClock");
|
|
11
9
|
var _MultiSectionDigitalClock = require("../MultiSectionDigitalClock");
|