@mui/x-date-pickers 5.0.10 β†’ 5.0.12

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,55 @@
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
+ ## 5.17.17
7
+
8
+ _Dec 23, 2022_
9
+
10
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🌍 Improve Russian (ru-RU) and Korean (ko-KR) locales
13
+ - 🐞 Bugfixes
14
+
15
+ ### `@mui/x-data-grid@5.17.17` / `@mui/x-data-grid-pro@5.17.17` / `@mui/x-data-grid-premium@5.17.17`
16
+
17
+ #### Changes
18
+
19
+ - [DataGrid] Update Russian (ru-RU) locale (#7291) @VeceluXa
20
+ - [DataGridPro] Use row ID as `key` of the detail panels (#7311) @m4theushw
21
+ - [DataGridPremium] Fix `exceljs` import with parcel (#7285) @alexfauquette
22
+
23
+ ### `@mui/x-date-pickers@5.0.12` / `@mui/x-date-pickers-pro@5.0.12`
24
+
25
+ #### Changes
26
+
27
+ - [pickers] Improve Korean (ko-KR) locale (#7283) @hanbin9775
28
+
29
+ ## 5.17.16
30
+
31
+ _Dec 16, 2022_
32
+
33
+ We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
34
+
35
+ - 🐞 Bugfixes
36
+
37
+ ### `@mui/x-data-grid@v5.17.16` / `@mui/x-data-grid-pro@v5.17.16` / `@mui/x-data-grid-premium@v5.17.16`
38
+
39
+ #### Changes
40
+
41
+ - [DataGrid] Display sort column menu items as per `sortingOrder` prop (#7125) @hanbin9775
42
+ - [DataGrid] Fix flickering on mount (#7155) @cherniavskii
43
+ - [DataGridPremium] Use separate cache for aggregation columns pre-processor (#7174) @m4theushw
44
+
45
+ ### `@mui/x-date-pickers@v5.0.11` / `@mui/x-date-pickers-pro@v5.0.11`
46
+
47
+ #### Changes
48
+
49
+ - [DateTimePicker] Update export pattern (#7172) @kealjones-wk
50
+
51
+ ### Docs
52
+
53
+ - [docs] Document aggregation selectors (#7151) @cherniavskii
54
+
6
55
  ## 5.17.15
7
56
 
8
57
  _Dec 8, 2022_
@@ -37,5 +37,5 @@ declare type DateTimePickerComponent = (<TInputDate, TDate = TInputDate>(props:
37
37
  *
38
38
  * - [DateTimePicker API](https://mui.com/x/api/date-pickers/date-time-picker/)
39
39
  */
40
- declare const DateTimePicker: DateTimePickerComponent;
41
- export { DateTimePicker };
40
+ export declare const DateTimePicker: DateTimePickerComponent;
41
+ export {};
@@ -20,7 +20,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
20
20
  *
21
21
  * - [DateTimePicker API](https://mui.com/x/api/date-pickers/date-time-picker/)
22
22
  */
23
- const DateTimePicker = /*#__PURE__*/React.forwardRef(function DateTimePicker(inProps, ref) {
23
+ export const DateTimePicker = /*#__PURE__*/React.forwardRef(function DateTimePicker(inProps, ref) {
24
24
  const props = useThemeProps({
25
25
  props: inProps,
26
26
  name: 'MuiDateTimePicker'
@@ -529,5 +529,4 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes = {
529
529
  * @default ['year', 'day', 'hours', 'minutes']
530
530
  */
531
531
  views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'hours', 'minutes', 'month', 'seconds', 'year']).isRequired)
532
- } : void 0;
533
- export { DateTimePicker };
532
+ } : void 0;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.10
1
+ /** @license MUI v5.0.12
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -20,7 +20,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
20
20
  *
21
21
  * - [DateTimePicker API](https://mui.com/x/api/date-pickers/date-time-picker/)
22
22
  */
23
- var DateTimePicker = /*#__PURE__*/React.forwardRef(function DateTimePicker(inProps, ref) {
23
+ export var DateTimePicker = /*#__PURE__*/React.forwardRef(function DateTimePicker(inProps, ref) {
24
24
  var props = useThemeProps({
25
25
  props: inProps,
26
26
  name: 'MuiDateTimePicker'
@@ -528,5 +528,4 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes = {
528
528
  * @default ['year', 'day', 'hours', 'minutes']
529
529
  */
530
530
  views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'hours', 'minutes', 'month', 'seconds', 'year']).isRequired)
531
- } : void 0;
532
- export { DateTimePicker };
531
+ } : void 0;
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.10
1
+ /** @license MUI v5.0.12
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -14,7 +14,9 @@ var koKRPickers = {
14
14
  calendarViewSwitchingButtonAriaLabel: function calendarViewSwitchingButtonAriaLabel(view) {
15
15
  return view === 'year' ? '연도 선택 ν™”λ©΄μ—μ„œ 달λ ₯ ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°' : '달λ ₯ ν™”λ©΄μ—μ„œ 연도 선택 ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°';
16
16
  },
17
- // inputModeToggleButtonAriaLabel: (isKeyboardInputOpen: boolean, viewType: 'calendar' | 'clock') => isKeyboardInputOpen ? `text input view is open, go to ${viewType} view` : `${viewType} view is open, go to text input view`,
17
+ inputModeToggleButtonAriaLabel: function inputModeToggleButtonAriaLabel(isKeyboardInputOpen, viewType) {
18
+ return isKeyboardInputOpen ? "\uD14D\uC2A4\uD2B8 \uC785\uB825 \uD654\uBA74\uC5D0\uC11C ".concat(viewType, " \uD654\uBA74\uC73C\uB85C \uC804\uD658\uD558\uAE30") : "".concat(viewType, " \uD654\uBA74\uC5D0\uC11C \uD14D\uC2A4\uD2B8 \uC785\uB825 \uD654\uBA74\uC73C\uB85C \uC804\uD658\uD558\uAE30");
19
+ },
18
20
  // DateRange placeholders
19
21
  start: 'μ‹œμž‘',
20
22
  end: 'μ’…λ£Œ',
@@ -24,10 +26,10 @@ var koKRPickers = {
24
26
  okButtonLabel: '확인',
25
27
  todayButtonLabel: '였늘',
26
28
  // Toolbar titles
27
- // datePickerDefaultToolbarTitle: 'Select date',
28
- // dateTimePickerDefaultToolbarTitle: 'Select date & time',
29
- // timePickerDefaultToolbarTitle: 'Select time',
30
- // dateRangePickerDefaultToolbarTitle: 'Select date range',
29
+ datePickerDefaultToolbarTitle: 'λ‚ μ§œ μ„ νƒν•˜κΈ°',
30
+ dateTimePickerDefaultToolbarTitle: 'λ‚ μ§œ & μ‹œκ°„ μ„ νƒν•˜κΈ°',
31
+ timePickerDefaultToolbarTitle: 'μ‹œκ°„ μ„ νƒν•˜κΈ°',
32
+ dateRangePickerDefaultToolbarTitle: 'λ‚ μ§œ λ²”μœ„ μ„ νƒν•˜κΈ°',
31
33
  // Clock labels
32
34
  clockLabelText: function clockLabelText(view, time, adapter) {
33
35
  return "".concat(views[view], " \uC120\uD0DD\uD558\uC138\uC694. ").concat(time === null ? 'μ‹œκ°„μ„ μ„ νƒν•˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.' : "\uD604\uC7AC \uC120\uD0DD\uB41C \uC2DC\uAC04\uC740 ".concat(adapter.format(time, 'fullTime'), "\uC785\uB2C8\uB2E4."));
package/locales/koKR.js CHANGED
@@ -12,7 +12,7 @@ const koKRPickers = {
12
12
  openPreviousView: '이전 ν™”λ©΄ 보기',
13
13
  openNextView: 'λ‹€μŒ ν™”λ©΄ 보기',
14
14
  calendarViewSwitchingButtonAriaLabel: view => view === 'year' ? '연도 선택 ν™”λ©΄μ—μ„œ 달λ ₯ ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°' : '달λ ₯ ν™”λ©΄μ—μ„œ 연도 선택 ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°',
15
- // inputModeToggleButtonAriaLabel: (isKeyboardInputOpen: boolean, viewType: 'calendar' | 'clock') => isKeyboardInputOpen ? `text input view is open, go to ${viewType} view` : `${viewType} view is open, go to text input view`,
15
+ inputModeToggleButtonAriaLabel: (isKeyboardInputOpen, viewType) => isKeyboardInputOpen ? `ν…μŠ€νŠΈ μž…λ ₯ ν™”λ©΄μ—μ„œ ${viewType} ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°` : `${viewType} ν™”λ©΄μ—μ„œ ν…μŠ€νŠΈ μž…λ ₯ ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°`,
16
16
  // DateRange placeholders
17
17
  start: 'μ‹œμž‘',
18
18
  end: 'μ’…λ£Œ',
@@ -22,10 +22,10 @@ const koKRPickers = {
22
22
  okButtonLabel: '확인',
23
23
  todayButtonLabel: '였늘',
24
24
  // Toolbar titles
25
- // datePickerDefaultToolbarTitle: 'Select date',
26
- // dateTimePickerDefaultToolbarTitle: 'Select date & time',
27
- // timePickerDefaultToolbarTitle: 'Select time',
28
- // dateRangePickerDefaultToolbarTitle: 'Select date range',
25
+ datePickerDefaultToolbarTitle: 'λ‚ μ§œ μ„ νƒν•˜κΈ°',
26
+ dateTimePickerDefaultToolbarTitle: 'λ‚ μ§œ & μ‹œκ°„ μ„ νƒν•˜κΈ°',
27
+ timePickerDefaultToolbarTitle: 'μ‹œκ°„ μ„ νƒν•˜κΈ°',
28
+ dateRangePickerDefaultToolbarTitle: 'λ‚ μ§œ λ²”μœ„ μ„ νƒν•˜κΈ°',
29
29
  // Clock labels
30
30
  clockLabelText: (view, time, adapter) => `${views[view]} μ„ νƒν•˜μ„Έμš”. ${time === null ? 'μ‹œκ°„μ„ μ„ νƒν•˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.' : `ν˜„μž¬ μ„ νƒλœ μ‹œκ°„μ€ ${adapter.format(time, 'fullTime')}μž…λ‹ˆλ‹€.`}`,
31
31
  hoursClockNumberText: hours => `${hours}μ‹œκ°„`,
@@ -20,7 +20,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
20
20
  *
21
21
  * - [DateTimePicker API](https://mui.com/x/api/date-pickers/date-time-picker/)
22
22
  */
23
- const DateTimePicker = /*#__PURE__*/React.forwardRef(function DateTimePicker(inProps, ref) {
23
+ export const DateTimePicker = /*#__PURE__*/React.forwardRef(function DateTimePicker(inProps, ref) {
24
24
  const props = useThemeProps({
25
25
  props: inProps,
26
26
  name: 'MuiDateTimePicker'
@@ -529,5 +529,4 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes = {
529
529
  * @default ['year', 'day', 'hours', 'minutes']
530
530
  */
531
531
  views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'hours', 'minutes', 'month', 'seconds', 'year']).isRequired)
532
- } : void 0;
533
- export { DateTimePicker };
532
+ } : void 0;
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.10
1
+ /** @license MUI v5.0.12
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -12,7 +12,7 @@ const koKRPickers = {
12
12
  openPreviousView: '이전 ν™”λ©΄ 보기',
13
13
  openNextView: 'λ‹€μŒ ν™”λ©΄ 보기',
14
14
  calendarViewSwitchingButtonAriaLabel: view => view === 'year' ? '연도 선택 ν™”λ©΄μ—μ„œ 달λ ₯ ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°' : '달λ ₯ ν™”λ©΄μ—μ„œ 연도 선택 ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°',
15
- // inputModeToggleButtonAriaLabel: (isKeyboardInputOpen: boolean, viewType: 'calendar' | 'clock') => isKeyboardInputOpen ? `text input view is open, go to ${viewType} view` : `${viewType} view is open, go to text input view`,
15
+ inputModeToggleButtonAriaLabel: (isKeyboardInputOpen, viewType) => isKeyboardInputOpen ? `ν…μŠ€νŠΈ μž…λ ₯ ν™”λ©΄μ—μ„œ ${viewType} ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°` : `${viewType} ν™”λ©΄μ—μ„œ ν…μŠ€νŠΈ μž…λ ₯ ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°`,
16
16
  // DateRange placeholders
17
17
  start: 'μ‹œμž‘',
18
18
  end: 'μ’…λ£Œ',
@@ -22,10 +22,10 @@ const koKRPickers = {
22
22
  okButtonLabel: '확인',
23
23
  todayButtonLabel: '였늘',
24
24
  // Toolbar titles
25
- // datePickerDefaultToolbarTitle: 'Select date',
26
- // dateTimePickerDefaultToolbarTitle: 'Select date & time',
27
- // timePickerDefaultToolbarTitle: 'Select time',
28
- // dateRangePickerDefaultToolbarTitle: 'Select date range',
25
+ datePickerDefaultToolbarTitle: 'λ‚ μ§œ μ„ νƒν•˜κΈ°',
26
+ dateTimePickerDefaultToolbarTitle: 'λ‚ μ§œ & μ‹œκ°„ μ„ νƒν•˜κΈ°',
27
+ timePickerDefaultToolbarTitle: 'μ‹œκ°„ μ„ νƒν•˜κΈ°',
28
+ dateRangePickerDefaultToolbarTitle: 'λ‚ μ§œ λ²”μœ„ μ„ νƒν•˜κΈ°',
29
29
  // Clock labels
30
30
  clockLabelText: (view, time, adapter) => `${views[view]} μ„ νƒν•˜μ„Έμš”. ${time === null ? 'μ‹œκ°„μ„ μ„ νƒν•˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.' : `ν˜„μž¬ μ„ νƒλœ μ‹œκ°„μ€ ${adapter.format(time, 'fullTime')}μž…λ‹ˆλ‹€.`}`,
31
31
  hoursClockNumberText: hours => `${hours}μ‹œκ°„`,
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.10
1
+ /** @license MUI v5.0.12
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -20,7 +20,7 @@ const koKRPickers = {
20
20
  openPreviousView: '이전 ν™”λ©΄ 보기',
21
21
  openNextView: 'λ‹€μŒ ν™”λ©΄ 보기',
22
22
  calendarViewSwitchingButtonAriaLabel: view => view === 'year' ? '연도 선택 ν™”λ©΄μ—μ„œ 달λ ₯ ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°' : '달λ ₯ ν™”λ©΄μ—μ„œ 연도 선택 ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°',
23
- // inputModeToggleButtonAriaLabel: (isKeyboardInputOpen: boolean, viewType: 'calendar' | 'clock') => isKeyboardInputOpen ? `text input view is open, go to ${viewType} view` : `${viewType} view is open, go to text input view`,
23
+ inputModeToggleButtonAriaLabel: (isKeyboardInputOpen, viewType) => isKeyboardInputOpen ? `ν…μŠ€νŠΈ μž…λ ₯ ν™”λ©΄μ—μ„œ ${viewType} ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°` : `${viewType} ν™”λ©΄μ—μ„œ ν…μŠ€νŠΈ μž…λ ₯ ν™”λ©΄μœΌλ‘œ μ „ν™˜ν•˜κΈ°`,
24
24
  // DateRange placeholders
25
25
  start: 'μ‹œμž‘',
26
26
  end: 'μ’…λ£Œ',
@@ -30,10 +30,10 @@ const koKRPickers = {
30
30
  okButtonLabel: '확인',
31
31
  todayButtonLabel: '였늘',
32
32
  // Toolbar titles
33
- // datePickerDefaultToolbarTitle: 'Select date',
34
- // dateTimePickerDefaultToolbarTitle: 'Select date & time',
35
- // timePickerDefaultToolbarTitle: 'Select time',
36
- // dateRangePickerDefaultToolbarTitle: 'Select date range',
33
+ datePickerDefaultToolbarTitle: 'λ‚ μ§œ μ„ νƒν•˜κΈ°',
34
+ dateTimePickerDefaultToolbarTitle: 'λ‚ μ§œ & μ‹œκ°„ μ„ νƒν•˜κΈ°',
35
+ timePickerDefaultToolbarTitle: 'μ‹œκ°„ μ„ νƒν•˜κΈ°',
36
+ dateRangePickerDefaultToolbarTitle: 'λ‚ μ§œ λ²”μœ„ μ„ νƒν•˜κΈ°',
37
37
  // Clock labels
38
38
  clockLabelText: (view, time, adapter) => `${views[view]} μ„ νƒν•˜μ„Έμš”. ${time === null ? 'μ‹œκ°„μ„ μ„ νƒν•˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.' : `ν˜„μž¬ μ„ νƒλœ μ‹œκ°„μ€ ${adapter.format(time, 'fullTime')}μž…λ‹ˆλ‹€.`}`,
39
39
  hoursClockNumberText: hours => `${hours}μ‹œκ°„`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-date-pickers",
3
- "version": "5.0.10",
3
+ "version": "5.0.12",
4
4
  "description": "The community edition of the date picker components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",