@atlaskit/datetime-picker 17.4.3 → 17.4.5
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,18 @@
|
|
|
1
1
|
# @atlaskit/datetime-picker
|
|
2
2
|
|
|
3
|
+
## 17.4.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 17.4.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`14d2eba104d4b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/14d2eba104d4b) -
|
|
14
|
+
Add bugfix for state values not updating correctly in date picker.
|
|
15
|
+
|
|
3
16
|
## 17.4.3
|
|
4
17
|
|
|
5
18
|
### 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,
|
|
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,
|
|
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,
|
|
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
|
+
"version": "17.4.5",
|
|
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/"
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"@atlaskit/locale": "^3.0.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/popper": "^7.1.0",
|
|
45
|
-
"@atlaskit/primitives": "^
|
|
45
|
+
"@atlaskit/primitives": "^18.0.0",
|
|
46
46
|
"@atlaskit/select": "^21.7.0",
|
|
47
|
-
"@atlaskit/tokens": "^
|
|
47
|
+
"@atlaskit/tokens": "^11.0.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^0.18.6",
|
|
50
50
|
"date-fns": "^2.17.0"
|