@atlaskit/datetime-picker 13.7.4 → 13.7.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 +8 -0
- package/dist/cjs/components/date-picker.js +1 -1
- package/dist/cjs/components/date-time-picker.js +1 -1
- package/dist/cjs/components/time-picker.js +1 -1
- package/dist/cjs/internal/menu.js +1 -2
- package/dist/es2019/components/date-picker.js +1 -1
- package/dist/es2019/components/date-time-picker.js +1 -1
- package/dist/es2019/components/time-picker.js +1 -1
- package/dist/es2019/internal/menu.js +1 -2
- package/dist/esm/components/date-picker.js +1 -1
- package/dist/esm/components/date-time-picker.js +1 -1
- package/dist/esm/components/time-picker.js +1 -1
- package/dist/esm/internal/menu.js +1 -2
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/datetime-picker
|
|
2
2
|
|
|
3
|
+
## 13.7.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#123484](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/123484)
|
|
8
|
+
[`404b4cb52e659`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/404b4cb52e659) -
|
|
9
|
+
Launch layering in datetime picker to fix escape close issue
|
|
10
|
+
|
|
3
11
|
## 13.7.4
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -39,7 +39,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
39
39
|
* @jsx jsx
|
|
40
40
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
41
41
|
var packageName = "@atlaskit/datetime-picker";
|
|
42
|
-
var packageVersion = "13.7.
|
|
42
|
+
var packageVersion = "13.7.5";
|
|
43
43
|
var datePickerDefaultProps = {
|
|
44
44
|
appearance: 'default',
|
|
45
45
|
autoFocus: false,
|
|
@@ -34,7 +34,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
34
34
|
* @jsx jsx
|
|
35
35
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
36
36
|
var packageName = "@atlaskit/datetime-picker";
|
|
37
|
-
var packageVersion = "13.7.
|
|
37
|
+
var packageVersion = "13.7.5";
|
|
38
38
|
// Make DatePicker 50% the width of DateTimePicker
|
|
39
39
|
// If rendering an icon container, shrink the TimePicker
|
|
40
40
|
var datePickerContainerStyles = (0, _react2.css)({
|
|
@@ -36,7 +36,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
36
36
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } // eslint-disable-next-line no-restricted-imports
|
|
37
37
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
38
38
|
var packageName = "@atlaskit/datetime-picker";
|
|
39
|
-
var packageVersion = "13.7.
|
|
39
|
+
var packageVersion = "13.7.5";
|
|
40
40
|
var menuStyles = {
|
|
41
41
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
42
42
|
position: 'static',
|
|
@@ -10,7 +10,6 @@ var _react = require("@emotion/react");
|
|
|
10
10
|
var _dateFns = require("date-fns");
|
|
11
11
|
var _calendar = _interopRequireDefault(require("@atlaskit/calendar"));
|
|
12
12
|
var _layering = require("@atlaskit/layering");
|
|
13
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
14
13
|
var _colors = require("@atlaskit/theme/colors");
|
|
15
14
|
var _constants = require("@atlaskit/theme/constants");
|
|
16
15
|
var _fixedLayer = _interopRequireDefault(require("../internal/fixed-layer"));
|
|
@@ -43,7 +42,7 @@ var Menu = exports.Menu = function Menu(_ref) {
|
|
|
43
42
|
var selectProps = _ref.selectProps,
|
|
44
43
|
innerProps = _ref.innerProps;
|
|
45
44
|
return (0, _react.jsx)(_layering.UNSAFE_LAYERING, {
|
|
46
|
-
isDisabled:
|
|
45
|
+
isDisabled: false
|
|
47
46
|
}, (0, _react.jsx)(_fixedLayer.default, {
|
|
48
47
|
inputValue: selectProps.inputValue,
|
|
49
48
|
containerRef: selectProps.calendarContainerRef,
|
|
@@ -21,7 +21,7 @@ import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date'
|
|
|
21
21
|
import { convertTokens } from '../internal/parse-tokens';
|
|
22
22
|
import { makeSingleValue } from '../internal/single-value';
|
|
23
23
|
const packageName = "@atlaskit/datetime-picker";
|
|
24
|
-
const packageVersion = "13.7.
|
|
24
|
+
const packageVersion = "13.7.5";
|
|
25
25
|
const datePickerDefaultProps = {
|
|
26
26
|
appearance: 'default',
|
|
27
27
|
autoFocus: false,
|
|
@@ -20,7 +20,7 @@ import { convertTokens } from '../internal/parse-tokens';
|
|
|
20
20
|
import DatePicker from './date-picker';
|
|
21
21
|
import TimePicker from './time-picker';
|
|
22
22
|
const packageName = "@atlaskit/datetime-picker";
|
|
23
|
-
const packageVersion = "13.7.
|
|
23
|
+
const packageVersion = "13.7.5";
|
|
24
24
|
// Make DatePicker 50% the width of DateTimePicker
|
|
25
25
|
// If rendering an icon container, shrink the TimePicker
|
|
26
26
|
const datePickerContainerStyles = css({
|
|
@@ -16,7 +16,7 @@ import parseTime from '../internal/parse-time';
|
|
|
16
16
|
import { convertTokens } from '../internal/parse-tokens';
|
|
17
17
|
import { makeSingleValue } from '../internal/single-value';
|
|
18
18
|
const packageName = "@atlaskit/datetime-picker";
|
|
19
|
-
const packageVersion = "13.7.
|
|
19
|
+
const packageVersion = "13.7.5";
|
|
20
20
|
const menuStyles = {
|
|
21
21
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
22
22
|
position: 'static',
|
|
@@ -8,7 +8,6 @@ import { css, jsx } from '@emotion/react';
|
|
|
8
8
|
import { isValid, parseISO } from 'date-fns';
|
|
9
9
|
import Calendar from '@atlaskit/calendar';
|
|
10
10
|
import { UNSAFE_LAYERING } from '@atlaskit/layering';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
13
12
|
import { layers } from '@atlaskit/theme/constants';
|
|
14
13
|
import FixedLayer from '../internal/fixed-layer';
|
|
@@ -35,7 +34,7 @@ export const Menu = ({
|
|
|
35
34
|
selectProps,
|
|
36
35
|
innerProps
|
|
37
36
|
}) => jsx(UNSAFE_LAYERING, {
|
|
38
|
-
isDisabled:
|
|
37
|
+
isDisabled: false
|
|
39
38
|
}, jsx(FixedLayer, {
|
|
40
39
|
inputValue: selectProps.inputValue,
|
|
41
40
|
containerRef: selectProps.calendarContainerRef,
|
|
@@ -32,7 +32,7 @@ import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date'
|
|
|
32
32
|
import { convertTokens } from '../internal/parse-tokens';
|
|
33
33
|
import { makeSingleValue } from '../internal/single-value';
|
|
34
34
|
var packageName = "@atlaskit/datetime-picker";
|
|
35
|
-
var packageVersion = "13.7.
|
|
35
|
+
var packageVersion = "13.7.5";
|
|
36
36
|
var datePickerDefaultProps = {
|
|
37
37
|
appearance: 'default',
|
|
38
38
|
autoFocus: false,
|
|
@@ -30,7 +30,7 @@ import { convertTokens } from '../internal/parse-tokens';
|
|
|
30
30
|
import DatePicker from './date-picker';
|
|
31
31
|
import TimePicker from './time-picker';
|
|
32
32
|
var packageName = "@atlaskit/datetime-picker";
|
|
33
|
-
var packageVersion = "13.7.
|
|
33
|
+
var packageVersion = "13.7.5";
|
|
34
34
|
// Make DatePicker 50% the width of DateTimePicker
|
|
35
35
|
// If rendering an icon container, shrink the TimePicker
|
|
36
36
|
var datePickerContainerStyles = css({
|
|
@@ -28,7 +28,7 @@ import parseTime from '../internal/parse-time';
|
|
|
28
28
|
import { convertTokens } from '../internal/parse-tokens';
|
|
29
29
|
import { makeSingleValue } from '../internal/single-value';
|
|
30
30
|
var packageName = "@atlaskit/datetime-picker";
|
|
31
|
-
var packageVersion = "13.7.
|
|
31
|
+
var packageVersion = "13.7.5";
|
|
32
32
|
var menuStyles = {
|
|
33
33
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
34
34
|
position: 'static',
|
|
@@ -8,7 +8,6 @@ import { css, jsx } from '@emotion/react';
|
|
|
8
8
|
import { isValid, parseISO } from 'date-fns';
|
|
9
9
|
import Calendar from '@atlaskit/calendar';
|
|
10
10
|
import { UNSAFE_LAYERING } from '@atlaskit/layering';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
11
|
import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
13
12
|
import { layers } from '@atlaskit/theme/constants';
|
|
14
13
|
import FixedLayer from '../internal/fixed-layer';
|
|
@@ -35,7 +34,7 @@ export var Menu = function Menu(_ref) {
|
|
|
35
34
|
var selectProps = _ref.selectProps,
|
|
36
35
|
innerProps = _ref.innerProps;
|
|
37
36
|
return jsx(UNSAFE_LAYERING, {
|
|
38
|
-
isDisabled:
|
|
37
|
+
isDisabled: false
|
|
39
38
|
}, jsx(FixedLayer, {
|
|
40
39
|
inputValue: selectProps.inputValue,
|
|
41
40
|
containerRef: selectProps.calendarContainerRef,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/datetime-picker",
|
|
3
|
-
"version": "13.7.
|
|
3
|
+
"version": "13.7.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/"
|
|
@@ -104,9 +104,6 @@
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"platform-feature-flags": {
|
|
107
|
-
"platform.design-system-team.layering_qmiw3": {
|
|
108
|
-
"type": "boolean"
|
|
109
|
-
},
|
|
110
107
|
"platform.design-system-team.date-picker-input-a11y-fix_cbbxs": {
|
|
111
108
|
"type": "boolean"
|
|
112
109
|
},
|