@mui/x-date-pickers 7.0.0-alpha.3 → 7.0.0-alpha.4

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 (98) hide show
  1. package/AdapterLuxon/AdapterLuxon.d.ts +27 -27
  2. package/AdapterLuxon/AdapterLuxon.js +0 -1
  3. package/CHANGELOG.md +123 -0
  4. package/DateCalendar/useCalendarState.js +0 -1
  5. package/MonthCalendar/MonthCalendar.js +0 -1
  6. package/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +8 -2
  7. package/MultiSectionDigitalClock/multiSectionDigitalClockSectionClasses.js +2 -2
  8. package/PickersCalendarHeader/PickersCalendarHeader.js +4 -4
  9. package/TimeClock/Clock.js +0 -1
  10. package/TimeClock/ClockPointer.js +0 -1
  11. package/YearCalendar/YearCalendar.js +0 -1
  12. package/index.js +1 -1
  13. package/internals/components/PickersTextField/Outline.d.ts +7 -1
  14. package/internals/components/PickersTextField/Outline.js +2 -4
  15. package/internals/components/PickersTextField/PickersInput.d.ts +1 -2
  16. package/internals/components/PickersTextField/PickersInput.js +117 -112
  17. package/internals/components/PickersTextField/PickersInput.types.d.ts +35 -20
  18. package/internals/components/PickersTextField/PickersTextField.js +57 -48
  19. package/internals/components/PickersTextField/PickersTextField.types.d.ts +19 -16
  20. package/internals/components/PickersTextField/pickersTextFieldClasses.d.ts +11 -7
  21. package/internals/components/PickersTextField/pickersTextFieldClasses.js +1 -1
  22. package/internals/constants/dimensions.d.ts +1 -1
  23. package/internals/constants/dimensions.js +1 -1
  24. package/internals/demo/DemoContainer.d.ts +4 -0
  25. package/internals/demo/DemoContainer.js +47 -19
  26. package/internals/hooks/useClockReferenceDate.js +0 -1
  27. package/internals/hooks/useField/useField.utils.js +0 -2
  28. package/internals/hooks/useViews.js +0 -1
  29. package/legacy/AdapterLuxon/AdapterLuxon.js +0 -1
  30. package/legacy/DateCalendar/useCalendarState.js +0 -1
  31. package/legacy/MonthCalendar/MonthCalendar.js +0 -1
  32. package/legacy/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +8 -2
  33. package/legacy/MultiSectionDigitalClock/multiSectionDigitalClockSectionClasses.js +2 -2
  34. package/legacy/PickersCalendarHeader/PickersCalendarHeader.js +4 -4
  35. package/legacy/TimeClock/Clock.js +0 -1
  36. package/legacy/TimeClock/ClockPointer.js +0 -1
  37. package/legacy/YearCalendar/YearCalendar.js +0 -1
  38. package/legacy/index.js +1 -1
  39. package/legacy/internals/components/PickersTextField/Outline.js +1 -4
  40. package/legacy/internals/components/PickersTextField/PickersInput.js +119 -115
  41. package/legacy/internals/components/PickersTextField/PickersTextField.js +51 -51
  42. package/legacy/internals/components/PickersTextField/pickersTextFieldClasses.js +1 -1
  43. package/legacy/internals/constants/dimensions.js +1 -1
  44. package/legacy/internals/demo/DemoContainer.js +45 -19
  45. package/legacy/internals/hooks/useClockReferenceDate.js +0 -1
  46. package/legacy/internals/hooks/useField/useField.utils.js +0 -2
  47. package/legacy/internals/hooks/useViews.js +0 -1
  48. package/legacy/locales/plPL.js +0 -1
  49. package/legacy/locales/svSE.js +0 -1
  50. package/legacy/locales/urPK.js +0 -1
  51. package/locales/plPL.js +0 -1
  52. package/locales/svSE.js +0 -1
  53. package/locales/urPK.js +0 -1
  54. package/modern/AdapterLuxon/AdapterLuxon.js +0 -1
  55. package/modern/DateCalendar/useCalendarState.js +0 -1
  56. package/modern/MonthCalendar/MonthCalendar.js +0 -1
  57. package/modern/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +8 -2
  58. package/modern/MultiSectionDigitalClock/multiSectionDigitalClockSectionClasses.js +2 -2
  59. package/modern/PickersCalendarHeader/PickersCalendarHeader.js +4 -4
  60. package/modern/TimeClock/Clock.js +0 -1
  61. package/modern/TimeClock/ClockPointer.js +0 -1
  62. package/modern/YearCalendar/YearCalendar.js +0 -1
  63. package/modern/index.js +1 -1
  64. package/modern/internals/components/PickersTextField/Outline.js +2 -4
  65. package/modern/internals/components/PickersTextField/PickersInput.js +116 -112
  66. package/modern/internals/components/PickersTextField/PickersTextField.js +57 -47
  67. package/modern/internals/components/PickersTextField/pickersTextFieldClasses.js +1 -1
  68. package/modern/internals/constants/dimensions.js +1 -1
  69. package/modern/internals/demo/DemoContainer.js +47 -19
  70. package/modern/internals/hooks/useClockReferenceDate.js +0 -1
  71. package/modern/internals/hooks/useField/useField.utils.js +0 -2
  72. package/modern/internals/hooks/useViews.js +0 -1
  73. package/modern/locales/plPL.js +0 -1
  74. package/modern/locales/svSE.js +0 -1
  75. package/modern/locales/urPK.js +0 -1
  76. package/node/AdapterLuxon/AdapterLuxon.js +0 -1
  77. package/node/DateCalendar/useCalendarState.js +0 -1
  78. package/node/MonthCalendar/MonthCalendar.js +0 -1
  79. package/node/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +8 -2
  80. package/node/MultiSectionDigitalClock/multiSectionDigitalClockSectionClasses.js +2 -2
  81. package/node/PickersCalendarHeader/PickersCalendarHeader.js +4 -4
  82. package/node/TimeClock/Clock.js +0 -1
  83. package/node/TimeClock/ClockPointer.js +0 -1
  84. package/node/YearCalendar/YearCalendar.js +0 -1
  85. package/node/index.js +1 -1
  86. package/node/internals/components/PickersTextField/Outline.js +2 -4
  87. package/node/internals/components/PickersTextField/PickersInput.js +119 -115
  88. package/node/internals/components/PickersTextField/PickersTextField.js +58 -48
  89. package/node/internals/components/PickersTextField/pickersTextFieldClasses.js +1 -1
  90. package/node/internals/constants/dimensions.js +1 -1
  91. package/node/internals/demo/DemoContainer.js +47 -19
  92. package/node/internals/hooks/useClockReferenceDate.js +0 -1
  93. package/node/internals/hooks/useField/useField.utils.js +0 -2
  94. package/node/internals/hooks/useViews.js +0 -1
  95. package/node/locales/plPL.js +0 -1
  96. package/node/locales/svSE.js +0 -1
  97. package/node/locales/urPK.js +0 -1
  98. package/package.json +5 -5
@@ -16,9 +16,9 @@ var _InputLabel = _interopRequireDefault(require("@mui/material/InputLabel"));
16
16
  var _FormHelperText = _interopRequireDefault(require("@mui/material/FormHelperText"));
17
17
  var _FormControl = _interopRequireDefault(require("@mui/material/FormControl"));
18
18
  var _pickersTextFieldClasses = require("./pickersTextFieldClasses");
19
- var _PickersInput = _interopRequireDefault(require("./PickersInput"));
19
+ var _PickersInput = require("./PickersInput");
20
20
  var _jsxRuntime = require("react/jsx-runtime");
21
- const _excluded = ["elements", "className", "color", "disabled", "error", "label", "variant", "fullWidth", "valueStr", "helperText", "valueType", "id", "FormHelperTextProps", "InputLabelProps", "inputProps", "InputProps", "required", "focused", "ownerState"];
21
+ const _excluded = ["onFocus", "onBlur", "className", "color", "disabled", "error", "required", "variant", "InputProps", "inputProps", "inputRef", "sectionsContainerRef", "elements", "areAllSectionsEmpty", "onClick", "onKeyDown", "onKeyUp", "onPaste", "onInput", "endAdornment", "startAdornment", "tabIndex", "contentEditable", "focused", "value", "onChange", "fullWidth", "id", "helperText", "FormHelperTextProps", "label", "InputLabelProps"];
22
22
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
23
23
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
24
24
  const PickersTextFieldRoot = (0, _styles.styled)(_FormControl.default, {
@@ -40,32 +40,46 @@ const useUtilityClasses = ownerState => {
40
40
  };
41
41
  const PickersTextField = exports.PickersTextField = /*#__PURE__*/React.forwardRef(function PickersTextField(props, ref) {
42
42
  const {
43
- elements,
43
+ // Props used by FormControl
44
+ onFocus,
45
+ onBlur,
44
46
  className,
45
47
  color = 'primary',
46
48
  disabled = false,
47
49
  error = false,
48
- label,
50
+ required = false,
49
51
  variant = 'outlined',
50
- fullWidth = false,
51
- valueStr,
52
+ // Props used by PickersInput
53
+ InputProps,
54
+ inputProps,
55
+ inputRef,
56
+ sectionsContainerRef,
57
+ elements,
58
+ areAllSectionsEmpty,
59
+ onClick,
60
+ onKeyDown,
61
+ onPaste,
62
+ onInput,
63
+ endAdornment,
64
+ startAdornment,
65
+ tabIndex,
66
+ contentEditable,
67
+ focused,
68
+ value,
69
+ onChange,
70
+ fullWidth,
71
+ id: idProp,
72
+ // Props used by FormHelperText
52
73
  helperText,
53
- valueType,
54
- id: idOverride,
55
74
  FormHelperTextProps,
56
- InputLabelProps,
57
- inputProps,
58
- InputProps,
59
- required = false,
60
- focused: focusedProp
75
+ // Props used by InputLabel
76
+ label,
77
+ InputLabelProps
61
78
  } = props,
62
79
  other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
63
- const [focused, setFocused] = React.useState(focusedProp);
64
80
  const rootRef = React.useRef(null);
65
81
  const handleRootRef = (0, _useForkRef.default)(ref, rootRef);
66
- const inputRef = React.useRef(null);
67
- const handleInputRef = (0, _useForkRef.default)(inputRef, InputProps?.ref);
68
- const id = (0, _utils.unstable_useId)(idOverride);
82
+ const id = (0, _utils.unstable_useId)(idProp);
69
83
  const helperTextId = helperText && id ? `${id}-helper-text` : undefined;
70
84
  const inputLabelId = label && id ? `${id}-label` : undefined;
71
85
  const ownerState = (0, _extends2.default)({}, props, {
@@ -73,55 +87,51 @@ const PickersTextField = exports.PickersTextField = /*#__PURE__*/React.forwardRe
73
87
  disabled,
74
88
  error,
75
89
  focused,
90
+ required,
76
91
  variant
77
92
  });
78
93
  const classes = useUtilityClasses(ownerState);
79
-
80
- // TODO: delete after behavior implementation
81
- const onWrapperClick = () => {
82
- if (!focused) {
83
- setFocused(true);
84
- const container = rootRef.current;
85
-
86
- // Find the first input element within the container
87
- const firstInput = container?.querySelector('.content');
88
-
89
- // Check if the input element exists before focusing it
90
- if (firstInput) {
91
- firstInput.focus();
92
- }
93
- inputRef.current?.focus();
94
- }
95
- };
96
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(PickersTextFieldRoot, {
94
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(PickersTextFieldRoot, (0, _extends2.default)({
97
95
  className: (0, _clsx.default)(classes.root, className),
98
96
  ref: handleRootRef,
99
97
  focused: focused,
98
+ onFocus: onFocus,
99
+ onBlur: onBlur,
100
100
  disabled: disabled,
101
101
  variant: variant,
102
102
  error: error,
103
103
  color: color,
104
- fullWidth: fullWidth,
105
104
  required: required,
106
- ownerState: ownerState,
105
+ ownerState: ownerState
106
+ }, other, {
107
107
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_InputLabel.default, (0, _extends2.default)({
108
108
  htmlFor: id,
109
109
  id: inputLabelId
110
110
  }, InputLabelProps, {
111
111
  children: label
112
- })), /*#__PURE__*/(0, _jsxRuntime.jsx)(_PickersInput.default, (0, _extends2.default)({
113
- elements,
114
- valueStr,
115
- valueType,
116
- onWrapperClick,
117
- inputProps,
118
- label
119
- }, other, InputProps, {
120
- ref: handleInputRef
121
- })), helperText && /*#__PURE__*/(0, _jsxRuntime.jsx)(_FormHelperText.default, (0, _extends2.default)({
112
+ })), /*#__PURE__*/(0, _jsxRuntime.jsx)(_PickersInput.PickersInput, (0, _extends2.default)({
113
+ elements: elements,
114
+ areAllSectionsEmpty: areAllSectionsEmpty,
115
+ onClick: onClick,
116
+ onKeyDown: onKeyDown,
117
+ onInput: onInput,
118
+ onPaste: onPaste,
119
+ endAdornment: endAdornment,
120
+ startAdornment: startAdornment,
121
+ tabIndex: tabIndex,
122
+ contentEditable: contentEditable,
123
+ value: value,
124
+ onChange: onChange,
125
+ id: id,
126
+ fullWidth: fullWidth,
127
+ inputProps: inputProps,
128
+ inputRef: inputRef,
129
+ sectionsContainerRef: sectionsContainerRef,
130
+ label: label
131
+ }, InputProps)), helperText && /*#__PURE__*/(0, _jsxRuntime.jsx)(_FormHelperText.default, (0, _extends2.default)({
122
132
  id: helperTextId
123
133
  }, FormHelperTextProps, {
124
134
  children: helperText
125
135
  }))]
126
- });
136
+ }));
127
137
  });
@@ -14,4 +14,4 @@ const pickersTextFieldClasses = exports.pickersTextFieldClasses = (0, _utils.uns
14
14
  function getPickersInputUtilityClass(slot) {
15
15
  return (0, _utils.unstable_generateUtilityClass)('MuiPickersInput', slot);
16
16
  }
17
- const pickersInputClasses = exports.pickersInputClasses = (0, _utils.unstable_generateUtilityClasses)('MuiPickersInput', ['root', 'focused', 'disabled', 'error', 'notchedOutline', 'content', 'before', 'after', 'adornedStart', 'adornedEnd', 'input']);
17
+ const pickersInputClasses = exports.pickersInputClasses = (0, _utils.unstable_generateUtilityClasses)('MuiPickersInput', ['root', 'focused', 'disabled', 'error', 'notchedOutline', 'adornedStart', 'adornedEnd', 'input', 'sectionsContainer', 'sectionContent', 'sectionBefore', 'sectionAfter']);
@@ -8,6 +8,6 @@ const DAY_SIZE = exports.DAY_SIZE = 36;
8
8
  const DAY_MARGIN = exports.DAY_MARGIN = 2;
9
9
  const DIALOG_WIDTH = exports.DIALOG_WIDTH = 320;
10
10
  const MAX_CALENDAR_HEIGHT = exports.MAX_CALENDAR_HEIGHT = 280;
11
- const VIEW_HEIGHT = exports.VIEW_HEIGHT = 334;
11
+ const VIEW_HEIGHT = exports.VIEW_HEIGHT = 336;
12
12
  const DIGITAL_CLOCK_VIEW_HEIGHT = exports.DIGITAL_CLOCK_VIEW_HEIGHT = 232;
13
13
  const MULTI_SECTION_CLOCK_SECTION_WIDTH = exports.MULTI_SECTION_CLOCK_SECTION_WIDTH = 48;
@@ -8,7 +8,7 @@ exports.DemoContainer = DemoContainer;
8
8
  exports.DemoItem = DemoItem;
9
9
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
10
  var React = _interopRequireWildcard(require("react"));
11
- var _Stack = _interopRequireDefault(require("@mui/material/Stack"));
11
+ var _Stack = _interopRequireWildcard(require("@mui/material/Stack"));
12
12
  var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
13
13
  var _TextField = require("@mui/material/TextField");
14
14
  var _jsxRuntime = require("react/jsx-runtime");
@@ -49,20 +49,20 @@ function DemoItem(props) {
49
49
  const {
50
50
  label,
51
51
  children,
52
- component
52
+ component,
53
+ sx: sxProp
53
54
  } = props;
54
55
  let spacing;
55
- let sx;
56
+ let sx = sxProp;
56
57
  if (component && getChildTypeFromChildName(component) === 'multi-input-range-field') {
57
58
  spacing = 1.5;
58
- sx = {
59
+ sx = (0, _extends2.default)({}, sx, {
59
60
  [`& .${_TextField.textFieldClasses.root}`]: {
60
61
  flexGrow: 1
61
62
  }
62
- };
63
+ });
63
64
  } else {
64
65
  spacing = 1;
65
- sx = undefined;
66
66
  }
67
67
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Stack.default, {
68
68
  direction: "column",
@@ -75,7 +75,14 @@ function DemoItem(props) {
75
75
  }), children]
76
76
  });
77
77
  }
78
-
78
+ DemoItem.displayName = 'DemoItem';
79
+ const isDemoItem = child => {
80
+ if ( /*#__PURE__*/React.isValidElement(child) && typeof child.type !== 'string') {
81
+ // @ts-ignore
82
+ return child.type.displayName === 'DemoItem';
83
+ }
84
+ return false;
85
+ };
79
86
  /**
80
87
  * WARNING: This is an internal component used in documentation to achieve a desired layout.
81
88
  * Please do not use it in your application.
@@ -100,7 +107,9 @@ function DemoContainer(props) {
100
107
  };
101
108
  let direction;
102
109
  let spacing;
103
- let sx = (0, _extends2.default)({
110
+ let extraSx = {};
111
+ let demoItemSx = {};
112
+ const sx = (0, _extends2.default)({
104
113
  overflow: 'auto',
105
114
  // Add padding as overflow can hide the outline text field label.
106
115
  pt: 1
@@ -122,38 +131,57 @@ function DemoContainer(props) {
122
131
  // noop
123
132
  } else if (childrenTypes.has('single-input-range-field')) {
124
133
  if (!childrenSupportedSections.has('date-time')) {
125
- sx = (0, _extends2.default)({}, sx, {
134
+ extraSx = {
126
135
  [`& > .${_TextField.textFieldClasses.root}`]: {
127
136
  minWidth: 300
128
137
  }
129
- });
138
+ };
130
139
  } else {
131
- sx = (0, _extends2.default)({}, sx, {
140
+ extraSx = {
132
141
  [`& > .${_TextField.textFieldClasses.root}`]: {
133
142
  minWidth: {
134
143
  xs: 300,
135
- md: 400
144
+ // If demo also contains MultiInputDateTimeRangeField, increase width to avoid cutting off the value.
145
+ md: childrenTypes.has('multi-input-range-field') ? 460 : 400
136
146
  }
137
147
  }
138
- });
148
+ };
139
149
  }
140
150
  } else if (childrenSupportedSections.has('date-time')) {
141
- sx = (0, _extends2.default)({}, sx, {
151
+ extraSx = {
142
152
  [`& > .${_TextField.textFieldClasses.root}`]: {
143
153
  minWidth: 270
144
154
  }
145
- });
155
+ };
156
+ if (childrenTypes.has('multi-input-range-field')) {
157
+ // increase width for the multi input date time range fields
158
+ demoItemSx = {
159
+ [`& > .${_Stack.stackClasses.root} > .${_TextField.textFieldClasses.root}`]: {
160
+ minWidth: 210
161
+ }
162
+ };
163
+ }
146
164
  } else {
147
- sx = (0, _extends2.default)({}, sx, {
165
+ extraSx = {
148
166
  [`& > .${_TextField.textFieldClasses.root}`]: {
149
167
  minWidth: 200
150
168
  }
151
- });
169
+ };
152
170
  }
171
+ const finalSx = (0, _extends2.default)({}, sx, extraSx);
153
172
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Stack.default, {
154
173
  direction: direction,
155
174
  spacing: spacing,
156
- sx: sx,
157
- children: children
175
+ sx: finalSx,
176
+ children: React.Children.map(children, child => {
177
+ if ( /*#__PURE__*/React.isValidElement(child) && isDemoItem(child)) {
178
+ // Inject sx styles to the `DemoItem` if it is a direct child of `DemoContainer`.
179
+ // @ts-ignore
180
+ return /*#__PURE__*/React.cloneElement(child, {
181
+ sx: (0, _extends2.default)({}, extraSx, demoItemSx)
182
+ });
183
+ }
184
+ return child;
185
+ })
158
186
  });
159
187
  }
@@ -29,7 +29,6 @@ const useClockReferenceDate = ({
29
29
  // We only want to compute the reference date on mount.
30
30
  [] // eslint-disable-line react-hooks/exhaustive-deps
31
31
  );
32
-
33
32
  return value ?? referenceDate;
34
33
  };
35
34
  exports.useClockReferenceDate = useClockReferenceDate;
@@ -137,7 +137,6 @@ const adjustSectionValue = (utils, timezone, section, keyCode, sectionsValueBoun
137
137
  if (delta < 0 || isStart) {
138
138
  newSectionValueNumber += step - (step + newSectionValueNumber) % step; // for JS -3 % 5 = -3 (should be 2)
139
139
  }
140
-
141
140
  if (delta > 0 || isEnd) {
142
141
  newSectionValueNumber -= newSectionValueNumber % step;
143
142
  }
@@ -418,7 +417,6 @@ const splitFormatIntoSections = (utils, timezone, localeText, format, date, form
418
417
  const isTokenStartRegExp = new RegExp(`^(${Object.keys(utils.formatTokenMap).sort((a, b) => b.length - a.length) // Sort to put longest word first
419
418
  .join('|')})`, 'g') // used to get access to lastIndex state
420
419
  ;
421
-
422
420
  let currentTokenValue = '';
423
421
  for (let i = 0; i < expandedFormat.length; i += 1) {
424
422
  const escapedPartOfCurrentChar = escapedParts.find(escapeIndex => escapeIndex.start <= i && escapeIndex.end >= i);
@@ -69,7 +69,6 @@ function useViews({
69
69
  setFocusedView(prevFocusedView => viewToFocus === prevFocusedView ? null : prevFocusedView // If false the blur is due to view switching
70
70
  );
71
71
  }
72
-
73
72
  onFocusedViewChange?.(viewToFocus, hasFocus);
74
73
  });
75
74
  const handleChangeView = (0, _useEventCallback.default)(newView => {
@@ -63,5 +63,4 @@ const plPLPickers = {
63
63
  // fieldSecondsPlaceholder: () => 'ss',
64
64
  // fieldMeridiemPlaceholder: () => 'aa',
65
65
  };
66
-
67
66
  const plPL = exports.plPL = (0, _getPickersLocalization.getPickersLocalization)(plPLPickers);
@@ -63,5 +63,4 @@ const svSEPickers = {
63
63
  // fieldSecondsPlaceholder: () => 'ss',
64
64
  // fieldMeridiemPlaceholder: () => 'aa',
65
65
  };
66
-
67
66
  const svSE = exports.svSE = (0, _getPickersLocalization.getPickersLocalization)(svSEPickers);
@@ -63,5 +63,4 @@ const urPKPickers = {
63
63
  // fieldSecondsPlaceholder: () => 'ss',
64
64
  // fieldMeridiemPlaceholder: () => 'aa',
65
65
  };
66
-
67
66
  const urPK = exports.urPK = (0, _getPickersLocalization.getPickersLocalization)(urPKPickers);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-date-pickers",
3
- "version": "7.0.0-alpha.3",
3
+ "version": "7.0.0-alpha.4",
4
4
  "description": "The community edition of the date picker components (MUI X).",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -34,10 +34,10 @@
34
34
  "directory": "packages/x-date-pickers"
35
35
  },
36
36
  "dependencies": {
37
- "@babel/runtime": "^7.23.4",
38
- "@mui/base": "^5.0.0-beta.24",
39
- "@mui/system": "^5.14.18",
40
- "@mui/utils": "^5.14.18",
37
+ "@babel/runtime": "^7.23.5",
38
+ "@mui/base": "^5.0.0-beta.26",
39
+ "@mui/system": "^5.14.20",
40
+ "@mui/utils": "^5.14.20",
41
41
  "@types/react-transition-group": "^4.4.9",
42
42
  "clsx": "^2.0.0",
43
43
  "prop-types": "^15.8.1",