@atlaskit/datetime-picker 14.0.1 → 14.0.3

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
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/datetime-picker
2
2
 
3
+ ## 14.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#137357](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/137357)
8
+ [`023251c8a0af7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/023251c8a0af7) -
9
+ Converting the time picker from a class component into a functional component.
10
+
11
+ ## 14.0.2
12
+
13
+ ### Patch Changes
14
+
15
+ - [#136647](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136647)
16
+ [`a3f810c087f5d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a3f810c087f5d) -
17
+ Internal changes based on calendar API changes.
18
+ - Updated dependencies
19
+
3
20
  ## 14.0.1
4
21
 
5
22
  ### Patch Changes
@@ -37,7 +37,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
37
37
  * @jsx jsx
38
38
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
39
39
  var packageName = "@atlaskit/datetime-picker";
40
- var packageVersion = "14.0.1";
40
+ var packageVersion = "14.0.3";
41
41
  var datePickerDefaultProps = {
42
42
  appearance: 'default',
43
43
  autoFocus: false,
@@ -75,7 +75,6 @@ var DatePickerComponent = exports.DatePickerWithoutAnalytics = /*#__PURE__*/func
75
75
  var _this;
76
76
  (0, _classCallCheck2.default)(this, DatePickerComponent);
77
77
  _this = _super.call(this, props);
78
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "calendarRef", null);
79
78
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "containerRef", null);
80
79
  // All state needs to be accessed via this function so that the state is mapped from props
81
80
  // correctly to allow controlled/uncontrolled usage.
@@ -305,9 +304,6 @@ var DatePickerComponent = exports.DatePickerWithoutAnalytics = /*#__PURE__*/func
305
304
  _this.onClear();
306
305
  }
307
306
  });
308
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "refCalendar", function (ref) {
309
- _this.calendarRef = ref;
310
- });
311
307
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleSelectInputChange", function (selectInputValue, actionMeta) {
312
308
  var onInputChange = _this.props.selectProps.onInputChange;
313
309
  if (onInputChange) {
@@ -434,7 +430,6 @@ var DatePickerComponent = exports.DatePickerWithoutAnalytics = /*#__PURE__*/func
434
430
  } : {};
435
431
  var calendarProps = {
436
432
  calendarContainerRef: this.containerRef,
437
- calendarRef: this.refCalendar,
438
433
  calendarDisabled: disabled,
439
434
  calendarDisabledDateFilter: disabledDateFilter,
440
435
  calendarMaxDate: maxDate,
@@ -514,7 +509,6 @@ var DatePickerComponent = exports.DatePickerWithoutAnalytics = /*#__PURE__*/func
514
509
  calendarLocale: calendarProps.calendarLocale,
515
510
  calendarMaxDate: calendarProps.calendarMaxDate,
516
511
  calendarMinDate: calendarProps.calendarMinDate,
517
- calendarRef: calendarProps.calendarRef,
518
512
  calendarValue: calendarProps.calendarValue,
519
513
  calendarView: calendarProps.calendarView,
520
514
  calendarWeekStartDay: calendarProps.calendarWeekStartDay,
@@ -35,7 +35,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
35
35
  * @jsx jsx
36
36
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
37
37
  var packageName = "@atlaskit/datetime-picker";
38
- var packageVersion = "14.0.1";
38
+ var packageVersion = "14.0.3";
39
39
  // Make DatePicker 50% the width of DateTimePicker
40
40
  // If rendering an icon container, shrink the TimePicker
41
41
  var datePickerContainerStyles = (0, _react2.css)({