@atlaskit/datetime-picker 17.4.3 → 17.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/datetime-picker
2
2
 
3
+ ## 17.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`14d2eba104d4b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/14d2eba104d4b) -
8
+ Add bugfix for state values not updating correctly in date picker.
9
+
3
10
  ## 17.4.3
4
11
 
5
12
  ### Patch Changes
@@ -602,7 +602,7 @@ var DatePicker = /*#__PURE__*/(0, _react.forwardRef)(function (props, _forwarded
602
602
  shouldSetFocusOnCurrentDay: calendarProps.shouldSetFocusOnCurrentDay,
603
603
  menuInnerWrapper: calendarProps.menuInnerWrapper
604
604
  })), shouldShowCalendarButton && !isDisabled ? /*#__PURE__*/React.createElement(_compiled.Box, {
605
- xcss: (0, _css.cx)(styles.iconContainerStyles, value && !hideIcon ? styles.iconSpacingWithClearButtonStyles : styles.iconSpacingWithoutClearButtonStyles)
605
+ xcss: (0, _css.cx)(styles.iconContainerStyles, getterValue && !hideIcon ? styles.iconSpacingWithClearButtonStyles : styles.iconSpacingWithoutClearButtonStyles)
606
606
  }, /*#__PURE__*/React.createElement(_new.IconButton, {
607
607
  appearance: "subtle",
608
608
  label: !inputLabelId ? fullopenCalendarLabel : openCalendarLabel,
@@ -529,7 +529,7 @@ const DatePicker = /*#__PURE__*/forwardRef((props, _forwardedRef) => {
529
529
  shouldSetFocusOnCurrentDay: calendarProps.shouldSetFocusOnCurrentDay,
530
530
  menuInnerWrapper: calendarProps.menuInnerWrapper
531
531
  })), shouldShowCalendarButton && !isDisabled ? /*#__PURE__*/React.createElement(Box, {
532
- xcss: cx(styles.iconContainerStyles, value && !hideIcon ? styles.iconSpacingWithClearButtonStyles : styles.iconSpacingWithoutClearButtonStyles)
532
+ xcss: cx(styles.iconContainerStyles, getterValue && !hideIcon ? styles.iconSpacingWithClearButtonStyles : styles.iconSpacingWithoutClearButtonStyles)
533
533
  }, /*#__PURE__*/React.createElement(IconButton, {
534
534
  appearance: "subtle",
535
535
  label: !inputLabelId ? fullopenCalendarLabel : openCalendarLabel,
@@ -594,7 +594,7 @@ var DatePicker = /*#__PURE__*/forwardRef(function (props, _forwardedRef) {
594
594
  shouldSetFocusOnCurrentDay: calendarProps.shouldSetFocusOnCurrentDay,
595
595
  menuInnerWrapper: calendarProps.menuInnerWrapper
596
596
  })), shouldShowCalendarButton && !isDisabled ? /*#__PURE__*/React.createElement(Box, {
597
- xcss: cx(styles.iconContainerStyles, value && !hideIcon ? styles.iconSpacingWithClearButtonStyles : styles.iconSpacingWithoutClearButtonStyles)
597
+ xcss: cx(styles.iconContainerStyles, getterValue && !hideIcon ? styles.iconSpacingWithClearButtonStyles : styles.iconSpacingWithoutClearButtonStyles)
598
598
  }, /*#__PURE__*/React.createElement(IconButton, {
599
599
  appearance: "subtle",
600
600
  label: !inputLabelId ? fullopenCalendarLabel : openCalendarLabel,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/datetime-picker",
3
- "version": "17.4.3",
3
+ "version": "17.4.4",
4
4
  "description": "A date time picker allows the user to select an associated date and time.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"