@mui/x-date-pickers 7.12.0 โ†’ 7.13.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 CHANGED
@@ -3,6 +3,155 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 7.13.0
7
+
8
+ _Aug 16, 2024_
9
+
10
+ We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights โœจ:
11
+
12
+ - ๐Ÿ’ซ Allow to [edit the label](https://mui.com/x/react-tree-view/rich-tree-view/editing/) of Tree View's items.
13
+
14
+ <img width="344" src="https://github.com/user-attachments/assets/1a6cf765-2dc8-4906-bd93-139086eed148" alt="Item label editing" />
15
+
16
+ - ๐Ÿ”ง Improve rows accessibility on the Data Grid features "Tree Data" and "Row Grouping". Certain "Row Grouping" accessibility updates will only be applied if experimental feature flag is enabled. See the [documentation](https://mui.com/x/react-data-grid/row-grouping/#accessibility-changes-in-v8) for more information.
17
+ - ๐ŸŒ Improve Vietnamese (vi-VN) locale on the Data Grid
18
+ - ๐Ÿž Bugfixes
19
+
20
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
21
+
22
+ ### Data Grid
23
+
24
+ #### `@mui/x-data-grid@7.13.0`
25
+
26
+ - [DataGrid] Fix CSV export for `null` and `undefined` values (#14166) @k-rajat19
27
+ - [DataGrid] Fix error logged during skeleton loading with nested data grid (#14186) @KenanYusuf
28
+ - [DataGrid] Remove needless check in `useGridStateInitialization` (#14181) @k-rajat19
29
+ - [DataGrid] Add recipe for persisting filters in local storage (#14208) @cherniavskii
30
+ - [l10n] Improve Vietnamese (vi-VN) locale (#14216) @hungnd-casso
31
+
32
+ #### `@mui/x-data-grid-pro@7.13.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
33
+
34
+ Same changes as in `@mui/x-data-grid@7.13.0`, plus:
35
+
36
+ - [DataGridPro] Fix Tree Data and Row Grouping rows accessibility (#13623) @arminmeh
37
+
38
+ #### `@mui/x-data-grid-premium@7.13.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
39
+
40
+ Same changes as in `@mui/x-data-grid-pro@7.13.0`.
41
+
42
+ ### Date and Time Pickers
43
+
44
+ #### `@mui/x-date-pickers@7.13.0`
45
+
46
+ - [pickers] Fix date and time merging to retain milliseconds (#14173) @LukasTy
47
+
48
+ #### `@mui/x-date-pickers-pro@7.13.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
49
+
50
+ Same changes as in `@mui/x-date-pickers@7.13.0`.
51
+
52
+ ### Charts
53
+
54
+ #### `@mui/x-charts@7.13.0`
55
+
56
+ - [charts] Add `baseline` property to the `LineChart` `series` (#14153) @JCQuintas
57
+ - [charts] Fix issue where tooltip would disappear on mouse click (#14187) @alexfauquette
58
+ - [charts] Rename `CartesianContextProvider` to `CartesianProvider` (#14102) @JCQuintas
59
+ - [charts] Support axis with the same value for all data points (#14191) @alexfauquette
60
+
61
+ #### `@mui/x-date-charts-pro@7.0.0-alpha.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
62
+
63
+ Same changes as in `@mui/x-charts@7.13.0`.
64
+
65
+ ### Tree View
66
+
67
+ #### `@mui/x-tree-view@7.13.0`
68
+
69
+ - [TreeView] Add label editing feature (#13388) @noraleonte
70
+ - [TreeView] Fix the parameters passed for the `canMoveItemToNewPosition` prop (#14176) @flaviendelangle
71
+
72
+ ### Docs
73
+
74
+ - [docs] Extract dataset in the Line chart docs (#14034) @alexfauquette
75
+ - [docs] Remove redundant encoding in the mock data source server (#14185) @MBilalShafi
76
+ - [docs] Use Netflix financial results to document bar charts (#13991) @alexfauquette
77
+ - [docs] Remove relience of abbreviations (#14226) @oliviertassinari
78
+
79
+ ### Core
80
+
81
+ - [core] Bump monorepo (#14141) @Janpot
82
+ - [core] Fix ESLint issue (#14207) @LukasTy
83
+ - [core] Fix Netlify build cache issue (#14182) @cherniavskii
84
+ - [code-infra] Refactor Netlify `cache-docs` plugin setup (#14105) @LukasTy
85
+ - [internals] Move utils needed for tree view virtualization to shared package (#14202) @flaviendelangle
86
+
87
+ ## 7.12.1
88
+
89
+ _Aug 8, 2024_
90
+
91
+ We'd like to offer a big thanks to the 9 contributors who made this release possible. Here are some highlights โœจ:
92
+
93
+ - ๐ŸŽจ Charts get a new component to display color mapping in the legend
94
+ - ๐Ÿš€ The `@mui/x-charts-pro` is released in alpha version ๐Ÿงช. This new package introduces two main features:
95
+ - The Heatmap component
96
+ - The zoom interaction on the bar, line, and scatter charts
97
+ - ๐ŸŒ Improve Dutch (nl-NL) locale on the Date and Time Pickers
98
+ - ๐Ÿž Bugfixes
99
+
100
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
101
+
102
+ ### Data Grid
103
+
104
+ #### `@mui/x-data-grid@7.12.1`
105
+
106
+ - [DataGrid] Fix `checkboxSelectionVisibleOnly` behavior with server-side pagination (#14083) @MBilalShafi
107
+ - [DataGrid] Fix `columnHeadersContainerRef` being `undefined` before mount (#14051) @samwato
108
+ - [DataGrid] Support Yarn PnP (#14126) @cherniavskii
109
+
110
+ #### `@mui/x-data-grid-pro@7.12.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
111
+
112
+ Same changes as in `@mui/x-data-grid@7.12.1`.
113
+
114
+ #### `@mui/x-data-grid-premium@7.12.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
115
+
116
+ Same changes as in `@mui/x-data-grid-pro@7.12.1`.
117
+
118
+ ### Date and Time Pickers
119
+
120
+ #### `@mui/x-date-pickers@7.12.1`
121
+
122
+ - [l10n] Improve Dutch (nlNL) locale (pickers) (#14036) @Robin1896
123
+
124
+ #### `@mui/x-date-pickers-pro@7.12.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
125
+
126
+ Same changes as in `@mui/x-date-pickers@7.12.1`.
127
+
128
+ ### Charts
129
+
130
+ #### `@mui/x-charts@7.12.1`
131
+
132
+ - [charts] Fix charts vendor publish config (#14073) @JCQuintas
133
+ - [charts] Move `plugins` to `PluginProvider` (#14056) @JCQuintas
134
+
135
+ #### `@mui/x-date-charts-pro@7.0.0-alpha.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
136
+
137
+ Same changes as in `@mui/x-charts@7.12.1`, plus:
138
+
139
+ - [charts-pro] Release the pro package in alpha (#13859) @alexfauquette
140
+
141
+ ### Tree View
142
+
143
+ #### `@mui/x-tree-view@7.12.1`
144
+
145
+ ### Docs
146
+
147
+ - [docs] Add a warning to promote the usage of `updateRows` (#14027) @MBilalShafi
148
+ - [docs] Disable ad in `Rich Tree View-Ordering` page (#14123) @oliviertassinari
149
+ - [docs] Redesign Date and Time Pickers overview page (#13241) @noraleonte
150
+
151
+ - [CHANGELOG] Polish details @oliviertassinari
152
+ - [code-infra] Use concurrency 1 in CircleCI (#14110) @JCQuintas
153
+ - [infra] Re-added the removal of `Latest Version` section (#14132) @michelengelen
154
+
6
155
  ## 7.12.0
7
156
 
8
157
  _Aug 1, 2024_
@@ -24,9 +173,9 @@ We'd like to offer a big thanks to the 12 contributors who made this release pos
24
173
 
25
174
  - ๐ŸŽ Introduce [item reordering using drag and drop](https://mui.com/x/react-tree-view/rich-tree-view/ordering/) on the `RichTreeViewPro` component
26
175
 
27
- <img width="384" src="https://github.com/user-attachments/assets/78bd83c5-7ce4-4ed7-acf9-be70b2dbce54" alt="Item reordering using drag and drop" />
176
+ <img width="287" src="https://github.com/user-attachments/assets/78bd83c5-7ce4-4ed7-acf9-be70b2dbce54" alt="Item reordering using drag and drop" />
28
177
 
29
- - ๐Ÿ“ฆ Support Common JS bundle out of the box on `@mui/x-charts` by adding vendored D3 dependencies.
178
+ - ๐Ÿ“ฆ Support CommonJS bundle out of the box on `@mui/x-charts` by adding vendored D3 dependencies.
30
179
 
31
180
  - This modifies how the package imports D3.js. It will impact you if you use `d3` packages installed by `@mui/x-charts` and don't have them in your `package.json`. You shouldn't be affected otherwise.
32
181
  - For more context, the initial issue is caused by D3 only exporting ESM.
@@ -63,6 +63,7 @@ const PickersTextField = /*#__PURE__*/React.forwardRef(function PickersTextField
63
63
  areAllSectionsEmpty,
64
64
  onClick,
65
65
  onKeyDown,
66
+ onKeyUp,
66
67
  onPaste,
67
68
  onInput,
68
69
  endAdornment,
@@ -122,6 +123,7 @@ const PickersTextField = /*#__PURE__*/React.forwardRef(function PickersTextField
122
123
  areAllSectionsEmpty: areAllSectionsEmpty,
123
124
  onClick: onClick,
124
125
  onKeyDown: onKeyDown,
126
+ onKeyUp: onKeyUp,
125
127
  onInput: onInput,
126
128
  onPaste: onPaste,
127
129
  endAdornment: endAdornment,
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v7.12.0
2
+ * @mui/x-date-pickers v7.13.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -4,6 +4,7 @@ export const mergeDateAndTime = (utils, dateParam, timeParam) => {
4
4
  mergedDate = utils.setHours(mergedDate, utils.getHours(timeParam));
5
5
  mergedDate = utils.setMinutes(mergedDate, utils.getMinutes(timeParam));
6
6
  mergedDate = utils.setSeconds(mergedDate, utils.getSeconds(timeParam));
7
+ mergedDate = utils.setMilliseconds(mergedDate, utils.getMilliseconds(timeParam));
7
8
  return mergedDate;
8
9
  };
9
10
  export const findClosestEnabledDate = ({
package/locales/nlNL.js CHANGED
@@ -16,11 +16,10 @@ const nlNLPickers = {
16
16
  // DateRange labels
17
17
  start: 'Start',
18
18
  end: 'Einde',
19
- // startDate: 'Start date',
20
- // startTime: 'Start time',
21
- // endDate: 'End date',
22
- // endTime: 'End time',
23
-
19
+ startDate: 'Start datum',
20
+ startTime: 'Start tijd',
21
+ endDate: 'Eind datum',
22
+ endTime: 'Eind tijd',
24
23
  // Action bar
25
24
  cancelButtonLabel: 'Annuleren',
26
25
  clearButtonLabel: 'Resetten',
@@ -46,8 +45,7 @@ const nlNLPickers = {
46
45
  // Open picker labels
47
46
  openDatePickerDialogue: (value, utils) => value !== null && utils.isValid(value) ? `Kies datum, geselecteerde datum is ${utils.format(value, 'fullDate')}` : 'Kies datum',
48
47
  openTimePickerDialogue: (value, utils) => value !== null && utils.isValid(value) ? `Kies tijd, geselecteerde tijd is ${utils.format(value, 'fullTime')}` : 'Kies tijd',
49
- // fieldClearLabel: 'Clear value',
50
-
48
+ fieldClearLabel: 'Wissen',
51
49
  // Table labels
52
50
  timeTableLabel: 'kies tijd',
53
51
  dateTableLabel: 'kies datum',
@@ -59,19 +57,17 @@ const nlNLPickers = {
59
57
  fieldHoursPlaceholder: () => 'hh',
60
58
  fieldMinutesPlaceholder: () => 'mm',
61
59
  fieldSecondsPlaceholder: () => 'ss',
62
- fieldMeridiemPlaceholder: () => 'aa'
63
-
60
+ fieldMeridiemPlaceholder: () => 'aa',
64
61
  // View names
65
- // year: 'Year',
66
- // month: 'Month',
67
- // day: 'Day',
68
- // weekDay: 'Week day',
69
- // hours: 'Hours',
70
- // minutes: 'Minutes',
71
- // seconds: 'Seconds',
72
- // meridiem: 'Meridiem',
73
-
62
+ year: 'Jaar',
63
+ month: 'Maand',
64
+ day: 'Dag',
65
+ weekDay: 'Weekdag',
66
+ hours: 'Uren',
67
+ minutes: 'Minuten',
68
+ seconds: 'Seconden',
69
+ meridiem: 'Middag',
74
70
  // Common
75
- // empty: 'Empty',
71
+ empty: 'Legen'
76
72
  };
77
73
  export const nlNL = getPickersLocalization(nlNLPickers);
@@ -63,6 +63,7 @@ const PickersTextField = /*#__PURE__*/React.forwardRef(function PickersTextField
63
63
  areAllSectionsEmpty,
64
64
  onClick,
65
65
  onKeyDown,
66
+ onKeyUp,
66
67
  onPaste,
67
68
  onInput,
68
69
  endAdornment,
@@ -122,6 +123,7 @@ const PickersTextField = /*#__PURE__*/React.forwardRef(function PickersTextField
122
123
  areAllSectionsEmpty: areAllSectionsEmpty,
123
124
  onClick: onClick,
124
125
  onKeyDown: onKeyDown,
126
+ onKeyUp: onKeyUp,
125
127
  onInput: onInput,
126
128
  onPaste: onPaste,
127
129
  endAdornment: endAdornment,
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v7.12.0
2
+ * @mui/x-date-pickers v7.13.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -4,6 +4,7 @@ export const mergeDateAndTime = (utils, dateParam, timeParam) => {
4
4
  mergedDate = utils.setHours(mergedDate, utils.getHours(timeParam));
5
5
  mergedDate = utils.setMinutes(mergedDate, utils.getMinutes(timeParam));
6
6
  mergedDate = utils.setSeconds(mergedDate, utils.getSeconds(timeParam));
7
+ mergedDate = utils.setMilliseconds(mergedDate, utils.getMilliseconds(timeParam));
7
8
  return mergedDate;
8
9
  };
9
10
  export const findClosestEnabledDate = ({
@@ -16,11 +16,10 @@ const nlNLPickers = {
16
16
  // DateRange labels
17
17
  start: 'Start',
18
18
  end: 'Einde',
19
- // startDate: 'Start date',
20
- // startTime: 'Start time',
21
- // endDate: 'End date',
22
- // endTime: 'End time',
23
-
19
+ startDate: 'Start datum',
20
+ startTime: 'Start tijd',
21
+ endDate: 'Eind datum',
22
+ endTime: 'Eind tijd',
24
23
  // Action bar
25
24
  cancelButtonLabel: 'Annuleren',
26
25
  clearButtonLabel: 'Resetten',
@@ -46,8 +45,7 @@ const nlNLPickers = {
46
45
  // Open picker labels
47
46
  openDatePickerDialogue: (value, utils) => value !== null && utils.isValid(value) ? `Kies datum, geselecteerde datum is ${utils.format(value, 'fullDate')}` : 'Kies datum',
48
47
  openTimePickerDialogue: (value, utils) => value !== null && utils.isValid(value) ? `Kies tijd, geselecteerde tijd is ${utils.format(value, 'fullTime')}` : 'Kies tijd',
49
- // fieldClearLabel: 'Clear value',
50
-
48
+ fieldClearLabel: 'Wissen',
51
49
  // Table labels
52
50
  timeTableLabel: 'kies tijd',
53
51
  dateTableLabel: 'kies datum',
@@ -59,19 +57,17 @@ const nlNLPickers = {
59
57
  fieldHoursPlaceholder: () => 'hh',
60
58
  fieldMinutesPlaceholder: () => 'mm',
61
59
  fieldSecondsPlaceholder: () => 'ss',
62
- fieldMeridiemPlaceholder: () => 'aa'
63
-
60
+ fieldMeridiemPlaceholder: () => 'aa',
64
61
  // View names
65
- // year: 'Year',
66
- // month: 'Month',
67
- // day: 'Day',
68
- // weekDay: 'Week day',
69
- // hours: 'Hours',
70
- // minutes: 'Minutes',
71
- // seconds: 'Seconds',
72
- // meridiem: 'Meridiem',
73
-
62
+ year: 'Jaar',
63
+ month: 'Maand',
64
+ day: 'Dag',
65
+ weekDay: 'Weekdag',
66
+ hours: 'Uren',
67
+ minutes: 'Minuten',
68
+ seconds: 'Seconden',
69
+ meridiem: 'Middag',
74
70
  // Common
75
- // empty: 'Empty',
71
+ empty: 'Legen'
76
72
  };
77
73
  export const nlNL = getPickersLocalization(nlNLPickers);
@@ -72,6 +72,7 @@ const PickersTextField = exports.PickersTextField = /*#__PURE__*/React.forwardRe
72
72
  areAllSectionsEmpty,
73
73
  onClick,
74
74
  onKeyDown,
75
+ onKeyUp,
75
76
  onPaste,
76
77
  onInput,
77
78
  endAdornment,
@@ -131,6 +132,7 @@ const PickersTextField = exports.PickersTextField = /*#__PURE__*/React.forwardRe
131
132
  areAllSectionsEmpty: areAllSectionsEmpty,
132
133
  onClick: onClick,
133
134
  onKeyDown: onKeyDown,
135
+ onKeyUp: onKeyUp,
134
136
  onInput: onInput,
135
137
  onPaste: onPaste,
136
138
  endAdornment: endAdornment,
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers v7.12.0
2
+ * @mui/x-date-pickers v7.13.0
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -10,6 +10,7 @@ const mergeDateAndTime = (utils, dateParam, timeParam) => {
10
10
  mergedDate = utils.setHours(mergedDate, utils.getHours(timeParam));
11
11
  mergedDate = utils.setMinutes(mergedDate, utils.getMinutes(timeParam));
12
12
  mergedDate = utils.setSeconds(mergedDate, utils.getSeconds(timeParam));
13
+ mergedDate = utils.setMilliseconds(mergedDate, utils.getMilliseconds(timeParam));
13
14
  return mergedDate;
14
15
  };
15
16
  exports.mergeDateAndTime = mergeDateAndTime;
@@ -22,11 +22,10 @@ const nlNLPickers = {
22
22
  // DateRange labels
23
23
  start: 'Start',
24
24
  end: 'Einde',
25
- // startDate: 'Start date',
26
- // startTime: 'Start time',
27
- // endDate: 'End date',
28
- // endTime: 'End time',
29
-
25
+ startDate: 'Start datum',
26
+ startTime: 'Start tijd',
27
+ endDate: 'Eind datum',
28
+ endTime: 'Eind tijd',
30
29
  // Action bar
31
30
  cancelButtonLabel: 'Annuleren',
32
31
  clearButtonLabel: 'Resetten',
@@ -52,8 +51,7 @@ const nlNLPickers = {
52
51
  // Open picker labels
53
52
  openDatePickerDialogue: (value, utils) => value !== null && utils.isValid(value) ? `Kies datum, geselecteerde datum is ${utils.format(value, 'fullDate')}` : 'Kies datum',
54
53
  openTimePickerDialogue: (value, utils) => value !== null && utils.isValid(value) ? `Kies tijd, geselecteerde tijd is ${utils.format(value, 'fullTime')}` : 'Kies tijd',
55
- // fieldClearLabel: 'Clear value',
56
-
54
+ fieldClearLabel: 'Wissen',
57
55
  // Table labels
58
56
  timeTableLabel: 'kies tijd',
59
57
  dateTableLabel: 'kies datum',
@@ -65,19 +63,17 @@ const nlNLPickers = {
65
63
  fieldHoursPlaceholder: () => 'hh',
66
64
  fieldMinutesPlaceholder: () => 'mm',
67
65
  fieldSecondsPlaceholder: () => 'ss',
68
- fieldMeridiemPlaceholder: () => 'aa'
69
-
66
+ fieldMeridiemPlaceholder: () => 'aa',
70
67
  // View names
71
- // year: 'Year',
72
- // month: 'Month',
73
- // day: 'Day',
74
- // weekDay: 'Week day',
75
- // hours: 'Hours',
76
- // minutes: 'Minutes',
77
- // seconds: 'Seconds',
78
- // meridiem: 'Meridiem',
79
-
68
+ year: 'Jaar',
69
+ month: 'Maand',
70
+ day: 'Dag',
71
+ weekDay: 'Weekdag',
72
+ hours: 'Uren',
73
+ minutes: 'Minuten',
74
+ seconds: 'Seconden',
75
+ meridiem: 'Middag',
80
76
  // Common
81
- // empty: 'Empty',
77
+ empty: 'Legen'
82
78
  };
83
79
  const nlNL = exports.nlNL = (0, _getPickersLocalization.getPickersLocalization)(nlNLPickers);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-date-pickers",
3
- "version": "7.12.0",
3
+ "version": "7.13.0",
4
4
  "description": "The community edition of the Date and Time Picker components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",