@mui/x-date-pickers-pro 7.3.1 → 7.3.2

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.
Files changed (31) hide show
  1. package/CHANGELOG.md +76 -5
  2. package/DateRangePicker/DateRangePicker.js +1 -1
  3. package/DateRangePicker/shared.d.ts +1 -1
  4. package/DateTimeRangePicker/DateTimeRangePicker.js +1 -1
  5. package/DateTimeRangePicker/shared.d.ts +1 -1
  6. package/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
  7. package/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.js +1 -1
  8. package/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
  9. package/MobileDateTimeRangePicker/MobileDateTimeRangePicker.js +1 -1
  10. package/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
  11. package/index.js +1 -1
  12. package/internals/utils/releaseInfo.js +1 -1
  13. package/modern/DateRangePicker/DateRangePicker.js +1 -1
  14. package/modern/DateTimeRangePicker/DateTimeRangePicker.js +1 -1
  15. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
  16. package/modern/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.js +1 -1
  17. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
  18. package/modern/MobileDateTimeRangePicker/MobileDateTimeRangePicker.js +1 -1
  19. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
  20. package/modern/index.js +1 -1
  21. package/modern/internals/utils/releaseInfo.js +1 -1
  22. package/node/DateRangePicker/DateRangePicker.js +1 -1
  23. package/node/DateTimeRangePicker/DateTimeRangePicker.js +1 -1
  24. package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -1
  25. package/node/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.js +1 -1
  26. package/node/MobileDateRangePicker/MobileDateRangePicker.js +1 -1
  27. package/node/MobileDateTimeRangePicker/MobileDateTimeRangePicker.js +1 -1
  28. package/node/StaticDateRangePicker/StaticDateRangePicker.js +1 -1
  29. package/node/index.js +1 -1
  30. package/node/internals/utils/releaseInfo.js +1 -1
  31. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -3,6 +3,77 @@
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.3.2
7
+
8
+ _May 2, 2024_
9
+
10
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🎁 Add "no data" and "loading" states to charts, allowing users to create [custom visualizations for each state](https://mui.com/x/react-charts/styling/#overlay)
13
+ - 🌍 Improve Hebrew (he-IL) and Hungarian (hu-HU) locales on the Date and Time Pickers
14
+ - 🌍 Improve Danish (da-DK) and Slovak (sk-SK) locales on the Data Grid
15
+ - 📝 Fix a [typo](https://github.com/mui/mui-x/pull/12941/files/4bf4bffbc2799a01a96bc7458a17318cf41c1722#diff-26c31cc69d6f51110f89e339578ef9b3d4a3551f79077fff73f7babb81c5099f) in the auto-generated Charts gradient `id` attribute.
16
+ It should not affect you, but if you were relying on the gradient `id` attribute, please update your usage.
17
+ - 🐞 Bugfixes
18
+ - 📚 Documentation improvements
19
+
20
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
21
+
22
+ ### Data Grid
23
+
24
+ #### `@mui/x-data-grid@7.3.2`
25
+
26
+ - [DataGrid] Allow to change reset text in the columns management panel (#12972) @MBilalShafi
27
+ - [DataGrid] Derive `formattedValue` from the edit value when passing to `renderEditCell` (#12870) @cherniavskii
28
+ - [DataGrid] Fix rows not being recomputed on `props.rowCount` change (#12833) @MBilalShafi
29
+ - [l10n] Improve Danish (da-DK) locale (#12844) @fosterbuster
30
+ - [l10n] Improve Slovak (sk-SK) locale (#12949) @stefikp
31
+
32
+ #### `@mui/x-data-grid-pro@7.3.2` [![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.3.2`.
35
+
36
+ #### `@mui/x-data-grid-premium@7.3.2` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
37
+
38
+ Same changes as in `@mui/x-data-grid-pro@7.3.2`, plus:
39
+
40
+ - [DataGridPremium] Fix print export not working with row grouping (#12957) @MBilalShafi
41
+
42
+ ### Date and Time Pickers
43
+
44
+ #### `@mui/x-date-pickers@7.3.2`
45
+
46
+ - [l10n] Improve Hebrew (he-IL) locale (#12910) @michaelNXT1
47
+ - [l10n] Improve Hungarian (hu-HU) locale (#12930) @noherczeg
48
+ - [pickers] Fix typo on the `viewRenderers` prop description (#12915) @flaviendelangle
49
+ - [pickers] Improve TypeScript performance in `PickersDay` (#12920) @flaviendelangle
50
+
51
+ #### `@mui/x-date-pickers-pro@7.3.2` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
52
+
53
+ Same changes as in `@mui/x-date-pickers@7.3.2`.
54
+
55
+ ### Charts
56
+
57
+ #### `@mui/x-charts@7.3.2`
58
+
59
+ - [charts] Add an overlay for "no data" or "loading" states (#12817) @alexfauquette
60
+ - [charts] Fix typos in documentation, translations and errors (#12941) @JCQuintas
61
+ - [charts] Fix `prop.slots` and `prop.slotProps` not passed to `<ChartsTooltip />` (#12939) @JCQuintas
62
+
63
+ ### Docs
64
+
65
+ - [docs] Improve Data Grid migration guide (#12969) @MBilalShafi
66
+ - [docs] Polish references to the plans (#12922) @oliviertassinari
67
+
68
+ ### Core
69
+
70
+ - [core] Fix dependencies (#12951) @LukasTy
71
+ - [core] Remove inconsistent blank lines (#12966) @oliviertassinari
72
+ - [code-infra] Bump node image used by CI in docker (#12961) @LukasTy
73
+ - [docs-infra] Remove no longer needed `next.config` settings (#12861) @oliviertassinari
74
+ - [docs-infra] Use the `@mui/docs/HighlightedCode` (#12848) @alexfauquette
75
+ - [test] Restore `t` command (#12948) @LukasTy
76
+
6
77
  ## 7.3.1
7
78
 
8
79
  _Apr 26, 2024_
@@ -305,7 +376,7 @@ Same changes as in `@mui/x-date-pickers@7.1.1`, plus:
305
376
 
306
377
  - [TreeView] Add JSDoc to all `publicAPI` methods (#12649) @flaviendelangle
307
378
  - [TreeView] Create `RichTreeViewPro` component (not released yet) (#12610) @flaviendelangle
308
- - [TreeView] Create pro package (not released yet) (#12240) @flaviendelangle
379
+ - [TreeView] Create Pro package (not released yet) (#12240) @flaviendelangle
309
380
  - [TreeView] Fix typo in errors (#12623) @alissa-tung
310
381
  - [TreeView] New API method: `setItemExpansion` (#12595) @flaviendelangle
311
382
 
@@ -2517,7 +2588,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.3`.
2517
2588
  - [core] Make `@mui/system` a direct dependency (#11128) @LukasTy
2518
2589
  - [core] Remove blank lines, coding style @oliviertassinari
2519
2590
  - [core] Remove outdated `ENABLE_AD` env variable (#11181) @oliviertassinari
2520
- - [github] Do not add `plan: Pro` and `plan: Premium` labels on pro / premium issue templates (#10183) @flaviendelangle
2591
+ - [github] Do not add `plan: Pro` and `plan: Premium` labels on Pro / Premium issue templates (#10183) @flaviendelangle
2521
2592
 
2522
2593
  ## 7.0.0-alpha.2
2523
2594
 
@@ -3440,10 +3511,10 @@ Same changes as in `@mui/x-date-pickers@6.19.5`.
3440
3511
  - [docs] Fix the Treemap illustration (#12189) @danilo-leal
3441
3512
  - [docs] Fix typo for `AdapterDateFnsV3` (#12037) @flaviendelangle
3442
3513
  - [docs] Improve performance on Charts entry point @oliviertassinari
3443
- - [docs] Move Heatmap to pro (#12170) @alexfauquette
3514
+ - [docs] Move Heatmap to Pro (#12170) @alexfauquette
3444
3515
  - [docs] Remove Charts installation next tag call-out (#12133) @LukasTy
3445
3516
  - [docs] Removed `focused` prop from demo (#12126) @michelengelen
3446
- - [docs] Add missing Heatmap pro icon @oliviertassinari
3517
+ - [docs] Add missing Heatmap Pro icon @oliviertassinari
3447
3518
  - [docs] Add more illustrations to the Overview page (#12041) @danilo-leal
3448
3519
  - [docs] Avoid use of shorthand (#12009) @oliviertassinari
3449
3520
 
@@ -6170,7 +6241,7 @@ We'd like to offer a big thanks to the 11 contributors who made this release pos
6170
6241
  - [docs] Create examples of pickers with custom fields (#8034) @flaviendelangle
6171
6242
  - [docs] Fix 301 redirections @oliviertassinari
6172
6243
  - [docs] Fix link to React's docs @oliviertassinari
6173
- - [docs] Fix pro license links to point to the same page (#8303) @LukasTy
6244
+ - [docs] Fix Pro license links to point to the same page (#8303) @LukasTy
6174
6245
  - [docs] Give an incentive to upgrade (#8269) @oliviertassinari
6175
6246
  - [docs] Improve contrast on data grid navigation (#8239) @oliviertassinari
6176
6247
  - [docs] Update shortcuts page to use slotProps (#8288) @dcorb
@@ -326,7 +326,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
326
326
  /**
327
327
  * Define custom view renderers for each section.
328
328
  * If `null`, the section will only have field editing.
329
- * If `undefined`, internally defined view will be the used.
329
+ * If `undefined`, internally defined view will be used.
330
330
  */
331
331
  viewRenderers: PropTypes.shape({
332
332
  day: PropTypes.func
@@ -30,7 +30,7 @@ export interface BaseDateRangePickerProps<TDate extends PickerValidDate> extends
30
30
  /**
31
31
  * Define custom view renderers for each section.
32
32
  * If `null`, the section will only have field editing.
33
- * If `undefined`, internally defined view will be the used.
33
+ * If `undefined`, internally defined view will be used.
34
34
  */
35
35
  viewRenderers?: Partial<PickerViewRendererLookup<DateRange<TDate>, 'day', DateRangeViewRendererProps<TDate, 'day'>, {}>>;
36
36
  }
@@ -406,7 +406,7 @@ process.env.NODE_ENV !== "production" ? DateTimeRangePicker.propTypes = {
406
406
  /**
407
407
  * Define custom view renderers for each section.
408
408
  * If `null`, the section will only have field editing.
409
- * If `undefined`, internally defined view will be the used.
409
+ * If `undefined`, internally defined view will be used.
410
410
  */
411
411
  viewRenderers: PropTypes.shape({
412
412
  day: PropTypes.func,
@@ -50,7 +50,7 @@ export interface BaseDateTimeRangePickerProps<TDate extends PickerValidDate> ext
50
50
  /**
51
51
  * Define custom view renderers for each section.
52
52
  * If `null`, the section will only have field editing.
53
- * If `undefined`, internally defined view will be the used.
53
+ * If `undefined`, internally defined view will be used.
54
54
  */
55
55
  viewRenderers?: Partial<DateTimeRangePickerRenderers<TDate, DateTimeRangePickerView>>;
56
56
  }
@@ -331,7 +331,7 @@ DesktopDateRangePicker.propTypes = {
331
331
  /**
332
332
  * Define custom view renderers for each section.
333
333
  * If `null`, the section will only have field editing.
334
- * If `undefined`, internally defined view will be the used.
334
+ * If `undefined`, internally defined view will be used.
335
335
  */
336
336
  viewRenderers: PropTypes.shape({
337
337
  day: PropTypes.func
@@ -484,7 +484,7 @@ DesktopDateTimeRangePicker.propTypes = {
484
484
  /**
485
485
  * Define custom view renderers for each section.
486
486
  * If `null`, the section will only have field editing.
487
- * If `undefined`, internally defined view will be the used.
487
+ * If `undefined`, internally defined view will be used.
488
488
  */
489
489
  viewRenderers: PropTypes.shape({
490
490
  day: PropTypes.func,
@@ -327,7 +327,7 @@ MobileDateRangePicker.propTypes = {
327
327
  /**
328
328
  * Define custom view renderers for each section.
329
329
  * If `null`, the section will only have field editing.
330
- * If `undefined`, internally defined view will be the used.
330
+ * If `undefined`, internally defined view will be used.
331
331
  */
332
332
  viewRenderers: PropTypes.shape({
333
333
  day: PropTypes.func
@@ -478,7 +478,7 @@ MobileDateTimeRangePicker.propTypes = {
478
478
  /**
479
479
  * Define custom view renderers for each section.
480
480
  * If `null`, the section will only have field editing.
481
- * If `undefined`, internally defined view will be the used.
481
+ * If `undefined`, internally defined view will be used.
482
482
  */
483
483
  viewRenderers: PropTypes.shape({
484
484
  day: PropTypes.func,
@@ -266,7 +266,7 @@ StaticDateRangePicker.propTypes = {
266
266
  /**
267
267
  * Define custom view renderers for each section.
268
268
  * If `null`, the section will only have field editing.
269
- * If `undefined`, internally defined view will be the used.
269
+ * If `undefined`, internally defined view will be used.
270
270
  */
271
271
  viewRenderers: PropTypes.shape({
272
272
  day: PropTypes.func
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v7.3.1
2
+ * @mui/x-date-pickers-pro v7.3.2
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTcxNDA3MTYwMDAwMA==";
3
+ const releaseInfo = "MTcxNDYwMDgwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
@@ -326,7 +326,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
326
326
  /**
327
327
  * Define custom view renderers for each section.
328
328
  * If `null`, the section will only have field editing.
329
- * If `undefined`, internally defined view will be the used.
329
+ * If `undefined`, internally defined view will be used.
330
330
  */
331
331
  viewRenderers: PropTypes.shape({
332
332
  day: PropTypes.func
@@ -406,7 +406,7 @@ process.env.NODE_ENV !== "production" ? DateTimeRangePicker.propTypes = {
406
406
  /**
407
407
  * Define custom view renderers for each section.
408
408
  * If `null`, the section will only have field editing.
409
- * If `undefined`, internally defined view will be the used.
409
+ * If `undefined`, internally defined view will be used.
410
410
  */
411
411
  viewRenderers: PropTypes.shape({
412
412
  day: PropTypes.func,
@@ -331,7 +331,7 @@ DesktopDateRangePicker.propTypes = {
331
331
  /**
332
332
  * Define custom view renderers for each section.
333
333
  * If `null`, the section will only have field editing.
334
- * If `undefined`, internally defined view will be the used.
334
+ * If `undefined`, internally defined view will be used.
335
335
  */
336
336
  viewRenderers: PropTypes.shape({
337
337
  day: PropTypes.func
@@ -484,7 +484,7 @@ DesktopDateTimeRangePicker.propTypes = {
484
484
  /**
485
485
  * Define custom view renderers for each section.
486
486
  * If `null`, the section will only have field editing.
487
- * If `undefined`, internally defined view will be the used.
487
+ * If `undefined`, internally defined view will be used.
488
488
  */
489
489
  viewRenderers: PropTypes.shape({
490
490
  day: PropTypes.func,
@@ -327,7 +327,7 @@ MobileDateRangePicker.propTypes = {
327
327
  /**
328
328
  * Define custom view renderers for each section.
329
329
  * If `null`, the section will only have field editing.
330
- * If `undefined`, internally defined view will be the used.
330
+ * If `undefined`, internally defined view will be used.
331
331
  */
332
332
  viewRenderers: PropTypes.shape({
333
333
  day: PropTypes.func
@@ -478,7 +478,7 @@ MobileDateTimeRangePicker.propTypes = {
478
478
  /**
479
479
  * Define custom view renderers for each section.
480
480
  * If `null`, the section will only have field editing.
481
- * If `undefined`, internally defined view will be the used.
481
+ * If `undefined`, internally defined view will be used.
482
482
  */
483
483
  viewRenderers: PropTypes.shape({
484
484
  day: PropTypes.func,
@@ -266,7 +266,7 @@ StaticDateRangePicker.propTypes = {
266
266
  /**
267
267
  * Define custom view renderers for each section.
268
268
  * If `null`, the section will only have field editing.
269
- * If `undefined`, internally defined view will be the used.
269
+ * If `undefined`, internally defined view will be used.
270
270
  */
271
271
  viewRenderers: PropTypes.shape({
272
272
  day: PropTypes.func
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v7.3.1
2
+ * @mui/x-date-pickers-pro v7.3.2
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -1,6 +1,6 @@
1
1
  import { ponyfillGlobal } from '@mui/utils';
2
2
  export const getReleaseInfo = () => {
3
- const releaseInfo = "MTcxNDA3MTYwMDAwMA==";
3
+ const releaseInfo = "MTcxNDYwMDgwMDAwMA==";
4
4
  if (process.env.NODE_ENV !== 'production') {
5
5
  // A simple hack to set the value in the test environment (has no build step).
6
6
  // eslint-disable-next-line no-useless-concat
@@ -335,7 +335,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes = {
335
335
  /**
336
336
  * Define custom view renderers for each section.
337
337
  * If `null`, the section will only have field editing.
338
- * If `undefined`, internally defined view will be the used.
338
+ * If `undefined`, internally defined view will be used.
339
339
  */
340
340
  viewRenderers: _propTypes.default.shape({
341
341
  day: _propTypes.default.func
@@ -415,7 +415,7 @@ process.env.NODE_ENV !== "production" ? DateTimeRangePicker.propTypes = {
415
415
  /**
416
416
  * Define custom view renderers for each section.
417
417
  * If `null`, the section will only have field editing.
418
- * If `undefined`, internally defined view will be the used.
418
+ * If `undefined`, internally defined view will be used.
419
419
  */
420
420
  viewRenderers: _propTypes.default.shape({
421
421
  day: _propTypes.default.func,
@@ -340,7 +340,7 @@ DesktopDateRangePicker.propTypes = {
340
340
  /**
341
341
  * Define custom view renderers for each section.
342
342
  * If `null`, the section will only have field editing.
343
- * If `undefined`, internally defined view will be the used.
343
+ * If `undefined`, internally defined view will be used.
344
344
  */
345
345
  viewRenderers: _propTypes.default.shape({
346
346
  day: _propTypes.default.func
@@ -493,7 +493,7 @@ DesktopDateTimeRangePicker.propTypes = {
493
493
  /**
494
494
  * Define custom view renderers for each section.
495
495
  * If `null`, the section will only have field editing.
496
- * If `undefined`, internally defined view will be the used.
496
+ * If `undefined`, internally defined view will be used.
497
497
  */
498
498
  viewRenderers: _propTypes.default.shape({
499
499
  day: _propTypes.default.func,
@@ -336,7 +336,7 @@ MobileDateRangePicker.propTypes = {
336
336
  /**
337
337
  * Define custom view renderers for each section.
338
338
  * If `null`, the section will only have field editing.
339
- * If `undefined`, internally defined view will be the used.
339
+ * If `undefined`, internally defined view will be used.
340
340
  */
341
341
  viewRenderers: _propTypes.default.shape({
342
342
  day: _propTypes.default.func
@@ -487,7 +487,7 @@ MobileDateTimeRangePicker.propTypes = {
487
487
  /**
488
488
  * Define custom view renderers for each section.
489
489
  * If `null`, the section will only have field editing.
490
- * If `undefined`, internally defined view will be the used.
490
+ * If `undefined`, internally defined view will be used.
491
491
  */
492
492
  viewRenderers: _propTypes.default.shape({
493
493
  day: _propTypes.default.func,
@@ -275,7 +275,7 @@ StaticDateRangePicker.propTypes = {
275
275
  /**
276
276
  * Define custom view renderers for each section.
277
277
  * If `null`, the section will only have field editing.
278
- * If `undefined`, internally defined view will be the used.
278
+ * If `undefined`, internally defined view will be used.
279
279
  */
280
280
  viewRenderers: _propTypes.default.shape({
281
281
  day: _propTypes.default.func
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-date-pickers-pro v7.3.1
2
+ * @mui/x-date-pickers-pro v7.3.2
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.getReleaseInfo = void 0;
7
7
  var _utils = require("@mui/utils");
8
8
  const getReleaseInfo = () => {
9
- const releaseInfo = "MTcxNDA3MTYwMDAwMA==";
9
+ const releaseInfo = "MTcxNDYwMDgwMDAwMA==";
10
10
  if (process.env.NODE_ENV !== 'production') {
11
11
  // A simple hack to set the value in the test environment (has no build step).
12
12
  // eslint-disable-next-line no-useless-concat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-date-pickers-pro",
3
- "version": "7.3.1",
3
+ "version": "7.3.2",
4
4
  "description": "The Pro plan edition of the Date and Time Picker components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -39,7 +39,7 @@
39
39
  "clsx": "^2.1.0",
40
40
  "prop-types": "^15.8.1",
41
41
  "react-transition-group": "^4.4.5",
42
- "@mui/x-date-pickers": "7.3.1",
42
+ "@mui/x-date-pickers": "7.3.2",
43
43
  "@mui/x-license": "7.2.0"
44
44
  },
45
45
  "peerDependencies": {