@atlaskit/datetime-picker 12.7.8 → 12.7.10
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 +12 -0
- package/dist/cjs/components/date-picker.js +7 -2
- package/dist/cjs/components/date-time-picker.js +1 -1
- package/dist/cjs/components/time-picker.js +7 -2
- package/dist/cjs/internal/fixed-layer.js +11 -12
- package/dist/cjs/internal/single-value.js +29 -0
- package/dist/es2019/components/date-picker.js +6 -1
- package/dist/es2019/components/date-time-picker.js +1 -1
- package/dist/es2019/components/time-picker.js +6 -1
- package/dist/es2019/internal/fixed-layer.js +12 -12
- package/dist/es2019/internal/single-value.js +20 -0
- package/dist/esm/components/date-picker.js +7 -2
- package/dist/esm/components/date-time-picker.js +1 -1
- package/dist/esm/components/time-picker.js +7 -2
- package/dist/esm/internal/fixed-layer.js +11 -12
- package/dist/esm/internal/single-value.js +22 -0
- package/dist/types/components/date-picker.d.ts +3 -3
- package/dist/types/components/date-time-picker.d.ts +2 -2
- package/dist/types/components/time-picker.d.ts +2 -2
- package/dist/types/internal/single-value.d.ts +9 -0
- package/dist/types-ts4.5/components/date-picker.d.ts +3 -3
- package/dist/types-ts4.5/components/date-time-picker.d.ts +2 -2
- package/dist/types-ts4.5/components/time-picker.d.ts +2 -2
- package/dist/types-ts4.5/internal/single-value.d.ts +9 -0
- package/package.json +4 -4
- package/dist/cjs/version.json +0 -5
- package/dist/es2019/version.json +0 -5
- package/dist/esm/version.json +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/datetime-picker
|
|
2
2
|
|
|
3
|
+
## 12.7.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e211efc7c5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e211efc7c5f) - [ux] Add `lang` attribute to value of pickers.
|
|
8
|
+
|
|
9
|
+
## 12.7.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`6f1daf0e449`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6f1daf0e449) - Prevent calander from overlaying input when at the bottom of viewport
|
|
14
|
+
|
|
3
15
|
## 12.7.8
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -29,6 +29,7 @@ var _colors = require("@atlaskit/theme/colors");
|
|
|
29
29
|
var _constants = require("@atlaskit/theme/constants");
|
|
30
30
|
var _internal = require("../internal");
|
|
31
31
|
var _fixedLayer = _interopRequireDefault(require("../internal/fixed-layer"));
|
|
32
|
+
var _singleValue = require("../internal/single-value");
|
|
32
33
|
var _utils = require("./utils");
|
|
33
34
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
34
35
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -37,7 +38,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
37
38
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
38
39
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /* eslint-disable @repo/internal/react/use-noop */ /** @jsx jsx */ // eslint-disable-next-line no-restricted-imports
|
|
39
40
|
var packageName = "@atlaskit/datetime-picker";
|
|
40
|
-
var packageVersion = "12.7.
|
|
41
|
+
var packageVersion = "12.7.10";
|
|
41
42
|
|
|
42
43
|
/* eslint-disable react/no-unused-prop-types */
|
|
43
44
|
|
|
@@ -447,9 +448,13 @@ var DatePicker = /*#__PURE__*/function (_Component) {
|
|
|
447
448
|
var menuIsOpen = isOpen && !isDisabled;
|
|
448
449
|
var showClearIndicator = Boolean((value || selectInputValue) && !hideIcon);
|
|
449
450
|
var dropDownIcon = appearance === 'subtle' || hideIcon || showClearIndicator ? null : icon;
|
|
451
|
+
var SingleValue = (0, _singleValue.makeSingleValue)({
|
|
452
|
+
lang: this.props.locale
|
|
453
|
+
});
|
|
450
454
|
var selectComponents = _objectSpread({
|
|
451
455
|
DropdownIndicator: dropDownIcon,
|
|
452
|
-
Menu: Menu
|
|
456
|
+
Menu: Menu,
|
|
457
|
+
SingleValue: SingleValue
|
|
453
458
|
}, !showClearIndicator && {
|
|
454
459
|
ClearIndicator: _internal.EmptyComponent
|
|
455
460
|
});
|
|
@@ -31,7 +31,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
31
31
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
32
32
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /* eslint-disable @repo/internal/react/use-noop */ /** @jsx jsx */ // eslint-disable-next-line no-restricted-imports
|
|
33
33
|
var packageName = "@atlaskit/datetime-picker";
|
|
34
|
-
var packageVersion = "12.7.
|
|
34
|
+
var packageVersion = "12.7.10";
|
|
35
35
|
|
|
36
36
|
/* eslint-disable react/no-unused-prop-types */
|
|
37
37
|
|
|
@@ -25,6 +25,7 @@ var _constants = require("@atlaskit/theme/constants");
|
|
|
25
25
|
var _internal = require("../internal");
|
|
26
26
|
var _fixedLayer = _interopRequireDefault(require("../internal/fixed-layer"));
|
|
27
27
|
var _parseTime = _interopRequireDefault(require("../internal/parse-time"));
|
|
28
|
+
var _singleValue = require("../internal/single-value");
|
|
28
29
|
var _utils = require("./utils");
|
|
29
30
|
var _excluded = ["selectProps"],
|
|
30
31
|
_excluded2 = ["styles"];
|
|
@@ -38,7 +39,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
38
39
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
39
40
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
40
41
|
var packageName = "@atlaskit/datetime-picker";
|
|
41
|
-
var packageVersion = "12.7.
|
|
42
|
+
var packageVersion = "12.7.10";
|
|
42
43
|
|
|
43
44
|
/* eslint-disable react/no-unused-prop-types */
|
|
44
45
|
|
|
@@ -291,9 +292,13 @@ var TimePicker = /*#__PURE__*/function (_React$Component) {
|
|
|
291
292
|
label: this.formatTime(value),
|
|
292
293
|
value: value
|
|
293
294
|
};
|
|
295
|
+
var SingleValue = (0, _singleValue.makeSingleValue)({
|
|
296
|
+
lang: this.props.locale
|
|
297
|
+
});
|
|
294
298
|
var selectComponents = _objectSpread({
|
|
295
299
|
DropdownIndicator: _internal.EmptyComponent,
|
|
296
|
-
Menu: FixedLayerMenu
|
|
300
|
+
Menu: FixedLayerMenu,
|
|
301
|
+
SingleValue: SingleValue
|
|
297
302
|
}, hideIcon && {
|
|
298
303
|
ClearIndicator: _internal.EmptyComponent
|
|
299
304
|
});
|
|
@@ -61,6 +61,16 @@ var FixedLayer = /*#__PURE__*/function (_React$Component) {
|
|
|
61
61
|
if (!containerRef) {
|
|
62
62
|
return /*#__PURE__*/_react.default.createElement("div", null);
|
|
63
63
|
}
|
|
64
|
+
var divStyles = _objectSpread({
|
|
65
|
+
background: 'transparent',
|
|
66
|
+
position: 'absolute',
|
|
67
|
+
top: 0,
|
|
68
|
+
height: containerRef.getBoundingClientRect().height,
|
|
69
|
+
// Don't block the clear button
|
|
70
|
+
width: containerRef.getBoundingClientRect().width - parseInt(_icon.sizes.small.slice(0, -2)) - (0, _constants.gridSize)()
|
|
71
|
+
}, (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.date-picker-input-a11y-fix_cbbxs') && {
|
|
72
|
+
pointerEvents: 'none'
|
|
73
|
+
});
|
|
64
74
|
return (
|
|
65
75
|
/*#__PURE__*/
|
|
66
76
|
/* Need to wrap layer in a fixed position div so that it will render its content as fixed
|
|
@@ -71,18 +81,7 @@ var FixedLayer = /*#__PURE__*/function (_React$Component) {
|
|
|
71
81
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
72
82
|
ref: ref,
|
|
73
83
|
"data-layer-child": true,
|
|
74
|
-
style:
|
|
75
|
-
inset: 0,
|
|
76
|
-
pointerEvents: 'none',
|
|
77
|
-
background: 'transparent'
|
|
78
|
-
} : {
|
|
79
|
-
position: 'absolute',
|
|
80
|
-
top: 0,
|
|
81
|
-
height: containerRef.getBoundingClientRect().height,
|
|
82
|
-
// Don't block the clear button
|
|
83
|
-
width: containerRef.getBoundingClientRect().width - parseInt(_icon.sizes.small.slice(0, -2)) - (0, _constants.gridSize)(),
|
|
84
|
-
background: 'transparent'
|
|
85
|
-
}
|
|
84
|
+
style: divStyles
|
|
86
85
|
});
|
|
87
86
|
}), /*#__PURE__*/_react.default.createElement(_popper.Popper, null, function (_ref2) {
|
|
88
87
|
var ref = _ref2.ref,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.makeSingleValue = void 0;
|
|
8
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _select = require("@atlaskit/select");
|
|
12
|
+
var _excluded = ["children"];
|
|
13
|
+
/**
|
|
14
|
+
* This creates a functional component that `react-select` will use to make the
|
|
15
|
+
* SingleValue part of the different pickers.
|
|
16
|
+
*/
|
|
17
|
+
var makeSingleValue = function makeSingleValue(_ref) {
|
|
18
|
+
var lang = _ref.lang;
|
|
19
|
+
return function (_ref2) {
|
|
20
|
+
var children = _ref2.children,
|
|
21
|
+
props = (0, _objectWithoutProperties2.default)(_ref2, _excluded);
|
|
22
|
+
return /*#__PURE__*/_react.default.createElement(_select.components.SingleValue, (0, _extends2.default)({}, props, {
|
|
23
|
+
innerProps: {
|
|
24
|
+
lang: lang
|
|
25
|
+
}
|
|
26
|
+
}), children);
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
exports.makeSingleValue = makeSingleValue;
|
|
@@ -17,9 +17,10 @@ import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
|
17
17
|
import { layers } from '@atlaskit/theme/constants';
|
|
18
18
|
import { defaultDateFormat, EmptyComponent, padToTwo, placeholderDatetime } from '../internal';
|
|
19
19
|
import FixedLayer from '../internal/fixed-layer';
|
|
20
|
+
import { makeSingleValue } from '../internal/single-value';
|
|
20
21
|
import { convertTokens } from './utils';
|
|
21
22
|
const packageName = "@atlaskit/datetime-picker";
|
|
22
|
-
const packageVersion = "12.7.
|
|
23
|
+
const packageVersion = "12.7.10";
|
|
23
24
|
|
|
24
25
|
/* eslint-disable react/no-unused-prop-types */
|
|
25
26
|
|
|
@@ -435,9 +436,13 @@ class DatePicker extends Component {
|
|
|
435
436
|
const menuIsOpen = isOpen && !isDisabled;
|
|
436
437
|
const showClearIndicator = Boolean((value || selectInputValue) && !hideIcon);
|
|
437
438
|
const dropDownIcon = appearance === 'subtle' || hideIcon || showClearIndicator ? null : icon;
|
|
439
|
+
const SingleValue = makeSingleValue({
|
|
440
|
+
lang: this.props.locale
|
|
441
|
+
});
|
|
438
442
|
const selectComponents = {
|
|
439
443
|
DropdownIndicator: dropDownIcon,
|
|
440
444
|
Menu,
|
|
445
|
+
SingleValue,
|
|
441
446
|
...(!showClearIndicator && {
|
|
442
447
|
ClearIndicator: EmptyComponent
|
|
443
448
|
})
|
|
@@ -17,7 +17,7 @@ import DatePicker from './date-picker';
|
|
|
17
17
|
import TimePicker from './time-picker';
|
|
18
18
|
import { convertTokens } from './utils';
|
|
19
19
|
const packageName = "@atlaskit/datetime-picker";
|
|
20
|
-
const packageVersion = "12.7.
|
|
20
|
+
const packageVersion = "12.7.10";
|
|
21
21
|
|
|
22
22
|
/* eslint-disable react/no-unused-prop-types */
|
|
23
23
|
|
|
@@ -14,9 +14,10 @@ import { gridSize } from '@atlaskit/theme/constants';
|
|
|
14
14
|
import { defaultTimeFormat, defaultTimes, EmptyComponent, placeholderDatetime } from '../internal';
|
|
15
15
|
import FixedLayer from '../internal/fixed-layer';
|
|
16
16
|
import parseTime from '../internal/parse-time';
|
|
17
|
+
import { makeSingleValue } from '../internal/single-value';
|
|
17
18
|
import { convertTokens } from './utils';
|
|
18
19
|
const packageName = "@atlaskit/datetime-picker";
|
|
19
|
-
const packageVersion = "12.7.
|
|
20
|
+
const packageVersion = "12.7.10";
|
|
20
21
|
|
|
21
22
|
/* eslint-disable react/no-unused-prop-types */
|
|
22
23
|
|
|
@@ -265,9 +266,13 @@ class TimePicker extends React.Component {
|
|
|
265
266
|
label: this.formatTime(value),
|
|
266
267
|
value
|
|
267
268
|
};
|
|
269
|
+
const SingleValue = makeSingleValue({
|
|
270
|
+
lang: this.props.locale
|
|
271
|
+
});
|
|
268
272
|
const selectComponents = {
|
|
269
273
|
DropdownIndicator: EmptyComponent,
|
|
270
274
|
Menu: FixedLayerMenu,
|
|
275
|
+
SingleValue,
|
|
271
276
|
...(hideIcon && {
|
|
272
277
|
ClearIndicator: EmptyComponent
|
|
273
278
|
})
|
|
@@ -33,6 +33,17 @@ export default class FixedLayer extends React.Component {
|
|
|
33
33
|
if (!containerRef) {
|
|
34
34
|
return /*#__PURE__*/React.createElement("div", null);
|
|
35
35
|
}
|
|
36
|
+
const divStyles = {
|
|
37
|
+
background: 'transparent',
|
|
38
|
+
position: 'absolute',
|
|
39
|
+
top: 0,
|
|
40
|
+
height: containerRef.getBoundingClientRect().height,
|
|
41
|
+
// Don't block the clear button
|
|
42
|
+
width: containerRef.getBoundingClientRect().width - parseInt(sizes.small.slice(0, -2)) - gridSize(),
|
|
43
|
+
...(getBooleanFF('platform.design-system-team.date-picker-input-a11y-fix_cbbxs') && {
|
|
44
|
+
pointerEvents: 'none'
|
|
45
|
+
})
|
|
46
|
+
};
|
|
36
47
|
return (
|
|
37
48
|
/*#__PURE__*/
|
|
38
49
|
/* Need to wrap layer in a fixed position div so that it will render its content as fixed
|
|
@@ -43,18 +54,7 @@ export default class FixedLayer extends React.Component {
|
|
|
43
54
|
}) => /*#__PURE__*/React.createElement("div", {
|
|
44
55
|
ref: ref,
|
|
45
56
|
"data-layer-child": true,
|
|
46
|
-
style:
|
|
47
|
-
inset: 0,
|
|
48
|
-
pointerEvents: 'none',
|
|
49
|
-
background: 'transparent'
|
|
50
|
-
} : {
|
|
51
|
-
position: 'absolute',
|
|
52
|
-
top: 0,
|
|
53
|
-
height: containerRef.getBoundingClientRect().height,
|
|
54
|
-
// Don't block the clear button
|
|
55
|
-
width: containerRef.getBoundingClientRect().width - parseInt(sizes.small.slice(0, -2)) - gridSize(),
|
|
56
|
-
background: 'transparent'
|
|
57
|
-
}
|
|
57
|
+
style: divStyles
|
|
58
58
|
})), /*#__PURE__*/React.createElement(Popper, null, ({
|
|
59
59
|
ref,
|
|
60
60
|
style,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { components } from '@atlaskit/select';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* This creates a functional component that `react-select` will use to make the
|
|
7
|
+
* SingleValue part of the different pickers.
|
|
8
|
+
*/
|
|
9
|
+
export const makeSingleValue = ({
|
|
10
|
+
lang
|
|
11
|
+
}) => ({
|
|
12
|
+
children,
|
|
13
|
+
...props
|
|
14
|
+
}) => {
|
|
15
|
+
return /*#__PURE__*/React.createElement(components.SingleValue, _extends({}, props, {
|
|
16
|
+
innerProps: {
|
|
17
|
+
lang
|
|
18
|
+
}
|
|
19
|
+
}), children);
|
|
20
|
+
};
|
|
@@ -28,9 +28,10 @@ import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
|
28
28
|
import { layers } from '@atlaskit/theme/constants';
|
|
29
29
|
import { defaultDateFormat, EmptyComponent, padToTwo, placeholderDatetime } from '../internal';
|
|
30
30
|
import FixedLayer from '../internal/fixed-layer';
|
|
31
|
+
import { makeSingleValue } from '../internal/single-value';
|
|
31
32
|
import { convertTokens } from './utils';
|
|
32
33
|
var packageName = "@atlaskit/datetime-picker";
|
|
33
|
-
var packageVersion = "12.7.
|
|
34
|
+
var packageVersion = "12.7.10";
|
|
34
35
|
|
|
35
36
|
/* eslint-disable react/no-unused-prop-types */
|
|
36
37
|
|
|
@@ -440,9 +441,13 @@ var DatePicker = /*#__PURE__*/function (_Component) {
|
|
|
440
441
|
var menuIsOpen = isOpen && !isDisabled;
|
|
441
442
|
var showClearIndicator = Boolean((value || selectInputValue) && !hideIcon);
|
|
442
443
|
var dropDownIcon = appearance === 'subtle' || hideIcon || showClearIndicator ? null : icon;
|
|
444
|
+
var SingleValue = makeSingleValue({
|
|
445
|
+
lang: this.props.locale
|
|
446
|
+
});
|
|
443
447
|
var selectComponents = _objectSpread({
|
|
444
448
|
DropdownIndicator: dropDownIcon,
|
|
445
|
-
Menu: Menu
|
|
449
|
+
Menu: Menu,
|
|
450
|
+
SingleValue: SingleValue
|
|
446
451
|
}, !showClearIndicator && {
|
|
447
452
|
ClearIndicator: EmptyComponent
|
|
448
453
|
});
|
|
@@ -27,7 +27,7 @@ import DatePicker from './date-picker';
|
|
|
27
27
|
import TimePicker from './time-picker';
|
|
28
28
|
import { convertTokens } from './utils';
|
|
29
29
|
var packageName = "@atlaskit/datetime-picker";
|
|
30
|
-
var packageVersion = "12.7.
|
|
30
|
+
var packageVersion = "12.7.10";
|
|
31
31
|
|
|
32
32
|
/* eslint-disable react/no-unused-prop-types */
|
|
33
33
|
|
|
@@ -27,9 +27,10 @@ import { gridSize } from '@atlaskit/theme/constants';
|
|
|
27
27
|
import { defaultTimeFormat, defaultTimes, EmptyComponent, placeholderDatetime } from '../internal';
|
|
28
28
|
import FixedLayer from '../internal/fixed-layer';
|
|
29
29
|
import parseTime from '../internal/parse-time';
|
|
30
|
+
import { makeSingleValue } from '../internal/single-value';
|
|
30
31
|
import { convertTokens } from './utils';
|
|
31
32
|
var packageName = "@atlaskit/datetime-picker";
|
|
32
|
-
var packageVersion = "12.7.
|
|
33
|
+
var packageVersion = "12.7.10";
|
|
33
34
|
|
|
34
35
|
/* eslint-disable react/no-unused-prop-types */
|
|
35
36
|
|
|
@@ -282,9 +283,13 @@ var TimePicker = /*#__PURE__*/function (_React$Component) {
|
|
|
282
283
|
label: this.formatTime(value),
|
|
283
284
|
value: value
|
|
284
285
|
};
|
|
286
|
+
var SingleValue = makeSingleValue({
|
|
287
|
+
lang: this.props.locale
|
|
288
|
+
});
|
|
285
289
|
var selectComponents = _objectSpread({
|
|
286
290
|
DropdownIndicator: EmptyComponent,
|
|
287
|
-
Menu: FixedLayerMenu
|
|
291
|
+
Menu: FixedLayerMenu,
|
|
292
|
+
SingleValue: SingleValue
|
|
288
293
|
}, hideIcon && {
|
|
289
294
|
ClearIndicator: EmptyComponent
|
|
290
295
|
});
|
|
@@ -55,6 +55,16 @@ var FixedLayer = /*#__PURE__*/function (_React$Component) {
|
|
|
55
55
|
if (!containerRef) {
|
|
56
56
|
return /*#__PURE__*/React.createElement("div", null);
|
|
57
57
|
}
|
|
58
|
+
var divStyles = _objectSpread({
|
|
59
|
+
background: 'transparent',
|
|
60
|
+
position: 'absolute',
|
|
61
|
+
top: 0,
|
|
62
|
+
height: containerRef.getBoundingClientRect().height,
|
|
63
|
+
// Don't block the clear button
|
|
64
|
+
width: containerRef.getBoundingClientRect().width - parseInt(sizes.small.slice(0, -2)) - gridSize()
|
|
65
|
+
}, getBooleanFF('platform.design-system-team.date-picker-input-a11y-fix_cbbxs') && {
|
|
66
|
+
pointerEvents: 'none'
|
|
67
|
+
});
|
|
58
68
|
return (
|
|
59
69
|
/*#__PURE__*/
|
|
60
70
|
/* Need to wrap layer in a fixed position div so that it will render its content as fixed
|
|
@@ -65,18 +75,7 @@ var FixedLayer = /*#__PURE__*/function (_React$Component) {
|
|
|
65
75
|
return /*#__PURE__*/React.createElement("div", {
|
|
66
76
|
ref: ref,
|
|
67
77
|
"data-layer-child": true,
|
|
68
|
-
style:
|
|
69
|
-
inset: 0,
|
|
70
|
-
pointerEvents: 'none',
|
|
71
|
-
background: 'transparent'
|
|
72
|
-
} : {
|
|
73
|
-
position: 'absolute',
|
|
74
|
-
top: 0,
|
|
75
|
-
height: containerRef.getBoundingClientRect().height,
|
|
76
|
-
// Don't block the clear button
|
|
77
|
-
width: containerRef.getBoundingClientRect().width - parseInt(sizes.small.slice(0, -2)) - gridSize(),
|
|
78
|
-
background: 'transparent'
|
|
79
|
-
}
|
|
78
|
+
style: divStyles
|
|
80
79
|
});
|
|
81
80
|
}), /*#__PURE__*/React.createElement(Popper, null, function (_ref2) {
|
|
82
81
|
var ref = _ref2.ref,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["children"];
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { components } from '@atlaskit/select';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* This creates a functional component that `react-select` will use to make the
|
|
9
|
+
* SingleValue part of the different pickers.
|
|
10
|
+
*/
|
|
11
|
+
export var makeSingleValue = function makeSingleValue(_ref) {
|
|
12
|
+
var lang = _ref.lang;
|
|
13
|
+
return function (_ref2) {
|
|
14
|
+
var children = _ref2.children,
|
|
15
|
+
props = _objectWithoutProperties(_ref2, _excluded);
|
|
16
|
+
return /*#__PURE__*/React.createElement(components.SingleValue, _extends({}, props, {
|
|
17
|
+
innerProps: {
|
|
18
|
+
lang: lang
|
|
19
|
+
}
|
|
20
|
+
}), children);
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -216,8 +216,8 @@ declare class DatePicker extends Component<DatePickerProps, State> {
|
|
|
216
216
|
UNSAFE_componentWillReceiveProps(nextProps: Readonly<DatePickerProps>): void;
|
|
217
217
|
getSafeState: () => {
|
|
218
218
|
inputValue: any;
|
|
219
|
-
isOpen: boolean;
|
|
220
219
|
value: string;
|
|
220
|
+
isOpen: boolean;
|
|
221
221
|
isFocused: boolean;
|
|
222
222
|
clearingFromIcon: boolean;
|
|
223
223
|
calendarValue: string;
|
|
@@ -261,7 +261,7 @@ declare class DatePicker extends Component<DatePickerProps, State> {
|
|
|
261
261
|
render(): jsx.JSX.Element;
|
|
262
262
|
}
|
|
263
263
|
export { DatePicker as DatePickerWithoutAnalytics };
|
|
264
|
-
declare const _default: import("react").ForwardRefExoticComponent<Pick<Pick<Omit<DatePickerProps, keyof WithAnalyticsEventsProps>, "testId" | "
|
|
264
|
+
declare const _default: import("react").ForwardRefExoticComponent<Pick<Pick<Omit<DatePickerProps, keyof WithAnalyticsEventsProps>, "testId" | "value" | "placeholder" | "maxDate" | "minDate" | "isOpen" | "nextMonthLabel" | "parseInputValue" | "formatDisplayLabel" | "previousMonthLabel" | "dateFormat" | "weekStartDay"> & Partial<Pick<Omit<DatePickerProps, keyof WithAnalyticsEventsProps>, "icon" | "disabled" | "innerProps" | "isDisabled" | "selectProps" | "appearance" | "id" | "defaultValue" | "onFocus" | "onBlur" | "onChange" | "autoFocus" | "defaultIsOpen" | "disabledDateFilter" | "name" | "spacing" | "isInvalid" | "hideIcon" | "locale">> & Partial<Pick<{
|
|
265
265
|
appearance: Appearance;
|
|
266
266
|
autoFocus: boolean;
|
|
267
267
|
defaultIsOpen: boolean;
|
|
@@ -281,5 +281,5 @@ declare const _default: import("react").ForwardRefExoticComponent<Pick<Pick<Omit
|
|
|
281
281
|
selectProps: {};
|
|
282
282
|
spacing: Spacing;
|
|
283
283
|
locale: string;
|
|
284
|
-
}, never>> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "testId" | "icon" | "disabled" | "
|
|
284
|
+
}, never>> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "testId" | "icon" | "disabled" | "innerProps" | "isDisabled" | "selectProps" | "appearance" | "value" | "id" | "key" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "autoFocus" | "defaultIsOpen" | "disabledDateFilter" | "maxDate" | "minDate" | "isOpen" | "name" | "nextMonthLabel" | "parseInputValue" | "formatDisplayLabel" | "previousMonthLabel" | "spacing" | "isInvalid" | "hideIcon" | "dateFormat" | "locale" | "weekStartDay" | "analyticsContext"> & import("react").RefAttributes<any>>;
|
|
285
285
|
export default _default;
|
|
@@ -196,7 +196,7 @@ declare class DateTimePicker extends React.Component<DateTimePickerProps, State>
|
|
|
196
196
|
render(): jsx.JSX.Element;
|
|
197
197
|
}
|
|
198
198
|
export { DateTimePicker as DateTimePickerWithoutAnalytics };
|
|
199
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<DateTimePickerProps, keyof WithAnalyticsEventsProps>, "testId" | "value" | "dateFormat" | "timeFormat" | "parseValue"> & Partial<Pick<Omit<DateTimePickerProps, keyof WithAnalyticsEventsProps>, "times" | "
|
|
199
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<DateTimePickerProps, keyof WithAnalyticsEventsProps>, "testId" | "value" | "dateFormat" | "timeFormat" | "parseValue"> & Partial<Pick<Omit<DateTimePickerProps, keyof WithAnalyticsEventsProps>, "times" | "innerProps" | "isDisabled" | "appearance" | "id" | "defaultValue" | "onFocus" | "onBlur" | "onChange" | "autoFocus" | "name" | "spacing" | "isInvalid" | "locale" | "timeIsEditable" | "datePickerProps" | "timePickerProps" | "datePickerSelectProps" | "timePickerSelectProps">> & Partial<Pick<{
|
|
200
200
|
appearance: string;
|
|
201
201
|
autoFocus: boolean;
|
|
202
202
|
isDisabled: boolean;
|
|
@@ -216,5 +216,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<DateTimeP
|
|
|
216
216
|
times: string[];
|
|
217
217
|
spacing: string;
|
|
218
218
|
locale: string;
|
|
219
|
-
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "
|
|
219
|
+
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "innerProps" | "isDisabled" | "appearance" | "value" | "id" | "key" | "defaultValue" | "onFocus" | "onBlur" | "onChange" | "autoFocus" | "name" | "spacing" | "isInvalid" | "dateFormat" | "locale" | "analyticsContext" | "timeIsEditable" | "timeFormat" | "datePickerProps" | "timePickerProps" | "parseValue" | "datePickerSelectProps" | "timePickerSelectProps"> & React.RefAttributes<any>>;
|
|
220
220
|
export default _default;
|
|
@@ -202,7 +202,7 @@ declare class TimePicker extends React.Component<TimePickerProps, State> {
|
|
|
202
202
|
render(): JSX.Element;
|
|
203
203
|
}
|
|
204
204
|
export { TimePicker as TimePickerWithoutAnalytics };
|
|
205
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<TimePickerProps, keyof WithAnalyticsEventsProps>, "testId" | "
|
|
205
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<TimePickerProps, keyof WithAnalyticsEventsProps>, "testId" | "value" | "placeholder" | "isOpen" | "formatDisplayLabel" | "timeFormat"> & Partial<Pick<Omit<TimePickerProps, keyof WithAnalyticsEventsProps>, "times" | "innerProps" | "isDisabled" | "selectProps" | "appearance" | "id" | "defaultValue" | "onFocus" | "onBlur" | "onChange" | "autoFocus" | "defaultIsOpen" | "name" | "parseInputValue" | "spacing" | "isInvalid" | "hideIcon" | "locale" | "timeIsEditable">> & Partial<Pick<{
|
|
206
206
|
appearance: Appearance;
|
|
207
207
|
autoFocus: boolean;
|
|
208
208
|
defaultIsOpen: boolean;
|
|
@@ -222,5 +222,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<TimePicke
|
|
|
222
222
|
times: string[];
|
|
223
223
|
timeIsEditable: boolean;
|
|
224
224
|
locale: string;
|
|
225
|
-
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "
|
|
225
|
+
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "innerProps" | "isDisabled" | "selectProps" | "appearance" | "value" | "id" | "key" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "autoFocus" | "defaultIsOpen" | "isOpen" | "name" | "parseInputValue" | "formatDisplayLabel" | "spacing" | "isInvalid" | "hideIcon" | "locale" | "analyticsContext" | "timeIsEditable" | "timeFormat"> & React.RefAttributes<any>>;
|
|
226
226
|
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { OptionType, SingleValueProps } from '@atlaskit/select';
|
|
3
|
+
/**
|
|
4
|
+
* This creates a functional component that `react-select` will use to make the
|
|
5
|
+
* SingleValue part of the different pickers.
|
|
6
|
+
*/
|
|
7
|
+
export declare const makeSingleValue: ({ lang }: {
|
|
8
|
+
lang: string;
|
|
9
|
+
}) => ({ children, ...props }: SingleValueProps<OptionType, false>) => JSX.Element;
|
|
@@ -216,8 +216,8 @@ declare class DatePicker extends Component<DatePickerProps, State> {
|
|
|
216
216
|
UNSAFE_componentWillReceiveProps(nextProps: Readonly<DatePickerProps>): void;
|
|
217
217
|
getSafeState: () => {
|
|
218
218
|
inputValue: any;
|
|
219
|
-
isOpen: boolean;
|
|
220
219
|
value: string;
|
|
220
|
+
isOpen: boolean;
|
|
221
221
|
isFocused: boolean;
|
|
222
222
|
clearingFromIcon: boolean;
|
|
223
223
|
calendarValue: string;
|
|
@@ -261,7 +261,7 @@ declare class DatePicker extends Component<DatePickerProps, State> {
|
|
|
261
261
|
render(): jsx.JSX.Element;
|
|
262
262
|
}
|
|
263
263
|
export { DatePicker as DatePickerWithoutAnalytics };
|
|
264
|
-
declare const _default: import("react").ForwardRefExoticComponent<Pick<Pick<Omit<DatePickerProps, keyof WithAnalyticsEventsProps>, "testId" | "
|
|
264
|
+
declare const _default: import("react").ForwardRefExoticComponent<Pick<Pick<Omit<DatePickerProps, keyof WithAnalyticsEventsProps>, "testId" | "value" | "placeholder" | "maxDate" | "minDate" | "isOpen" | "nextMonthLabel" | "parseInputValue" | "formatDisplayLabel" | "previousMonthLabel" | "dateFormat" | "weekStartDay"> & Partial<Pick<Omit<DatePickerProps, keyof WithAnalyticsEventsProps>, "icon" | "disabled" | "innerProps" | "isDisabled" | "selectProps" | "appearance" | "id" | "defaultValue" | "onFocus" | "onBlur" | "onChange" | "autoFocus" | "defaultIsOpen" | "disabledDateFilter" | "name" | "spacing" | "isInvalid" | "hideIcon" | "locale">> & Partial<Pick<{
|
|
265
265
|
appearance: Appearance;
|
|
266
266
|
autoFocus: boolean;
|
|
267
267
|
defaultIsOpen: boolean;
|
|
@@ -281,5 +281,5 @@ declare const _default: import("react").ForwardRefExoticComponent<Pick<Pick<Omit
|
|
|
281
281
|
selectProps: {};
|
|
282
282
|
spacing: Spacing;
|
|
283
283
|
locale: string;
|
|
284
|
-
}, never>> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "testId" | "icon" | "disabled" | "
|
|
284
|
+
}, never>> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "testId" | "icon" | "disabled" | "innerProps" | "isDisabled" | "selectProps" | "appearance" | "value" | "id" | "key" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "autoFocus" | "defaultIsOpen" | "disabledDateFilter" | "maxDate" | "minDate" | "isOpen" | "name" | "nextMonthLabel" | "parseInputValue" | "formatDisplayLabel" | "previousMonthLabel" | "spacing" | "isInvalid" | "hideIcon" | "dateFormat" | "locale" | "weekStartDay" | "analyticsContext"> & import("react").RefAttributes<any>>;
|
|
285
285
|
export default _default;
|
|
@@ -196,7 +196,7 @@ declare class DateTimePicker extends React.Component<DateTimePickerProps, State>
|
|
|
196
196
|
render(): jsx.JSX.Element;
|
|
197
197
|
}
|
|
198
198
|
export { DateTimePicker as DateTimePickerWithoutAnalytics };
|
|
199
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<DateTimePickerProps, keyof WithAnalyticsEventsProps>, "testId" | "value" | "dateFormat" | "timeFormat" | "parseValue"> & Partial<Pick<Omit<DateTimePickerProps, keyof WithAnalyticsEventsProps>, "times" | "
|
|
199
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<DateTimePickerProps, keyof WithAnalyticsEventsProps>, "testId" | "value" | "dateFormat" | "timeFormat" | "parseValue"> & Partial<Pick<Omit<DateTimePickerProps, keyof WithAnalyticsEventsProps>, "times" | "innerProps" | "isDisabled" | "appearance" | "id" | "defaultValue" | "onFocus" | "onBlur" | "onChange" | "autoFocus" | "name" | "spacing" | "isInvalid" | "locale" | "timeIsEditable" | "datePickerProps" | "timePickerProps" | "datePickerSelectProps" | "timePickerSelectProps">> & Partial<Pick<{
|
|
200
200
|
appearance: string;
|
|
201
201
|
autoFocus: boolean;
|
|
202
202
|
isDisabled: boolean;
|
|
@@ -216,5 +216,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<DateTimeP
|
|
|
216
216
|
times: string[];
|
|
217
217
|
spacing: string;
|
|
218
218
|
locale: string;
|
|
219
|
-
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "
|
|
219
|
+
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "innerProps" | "isDisabled" | "appearance" | "value" | "id" | "key" | "defaultValue" | "onFocus" | "onBlur" | "onChange" | "autoFocus" | "name" | "spacing" | "isInvalid" | "dateFormat" | "locale" | "analyticsContext" | "timeIsEditable" | "timeFormat" | "datePickerProps" | "timePickerProps" | "parseValue" | "datePickerSelectProps" | "timePickerSelectProps"> & React.RefAttributes<any>>;
|
|
220
220
|
export default _default;
|
|
@@ -202,7 +202,7 @@ declare class TimePicker extends React.Component<TimePickerProps, State> {
|
|
|
202
202
|
render(): JSX.Element;
|
|
203
203
|
}
|
|
204
204
|
export { TimePicker as TimePickerWithoutAnalytics };
|
|
205
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<TimePickerProps, keyof WithAnalyticsEventsProps>, "testId" | "
|
|
205
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<TimePickerProps, keyof WithAnalyticsEventsProps>, "testId" | "value" | "placeholder" | "isOpen" | "formatDisplayLabel" | "timeFormat"> & Partial<Pick<Omit<TimePickerProps, keyof WithAnalyticsEventsProps>, "times" | "innerProps" | "isDisabled" | "selectProps" | "appearance" | "id" | "defaultValue" | "onFocus" | "onBlur" | "onChange" | "autoFocus" | "defaultIsOpen" | "name" | "parseInputValue" | "spacing" | "isInvalid" | "hideIcon" | "locale" | "timeIsEditable">> & Partial<Pick<{
|
|
206
206
|
appearance: Appearance;
|
|
207
207
|
autoFocus: boolean;
|
|
208
208
|
defaultIsOpen: boolean;
|
|
@@ -222,5 +222,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<TimePicke
|
|
|
222
222
|
times: string[];
|
|
223
223
|
timeIsEditable: boolean;
|
|
224
224
|
locale: string;
|
|
225
|
-
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "
|
|
225
|
+
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "innerProps" | "isDisabled" | "selectProps" | "appearance" | "value" | "id" | "key" | "defaultValue" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "autoFocus" | "defaultIsOpen" | "isOpen" | "name" | "parseInputValue" | "formatDisplayLabel" | "spacing" | "isInvalid" | "hideIcon" | "locale" | "analyticsContext" | "timeIsEditable" | "timeFormat"> & React.RefAttributes<any>>;
|
|
226
226
|
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { OptionType, SingleValueProps } from '@atlaskit/select';
|
|
3
|
+
/**
|
|
4
|
+
* This creates a functional component that `react-select` will use to make the
|
|
5
|
+
* SingleValue part of the different pickers.
|
|
6
|
+
*/
|
|
7
|
+
export declare const makeSingleValue: ({ lang }: {
|
|
8
|
+
lang: string;
|
|
9
|
+
}) => ({ children, ...props }: SingleValueProps<OptionType, false>) => JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/datetime-picker",
|
|
3
|
-
"version": "12.7.
|
|
3
|
+
"version": "12.7.10",
|
|
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/"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
36
|
-
"@atlaskit/calendar": "^13.
|
|
36
|
+
"@atlaskit/calendar": "^13.2.0",
|
|
37
37
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
38
38
|
"@atlaskit/icon": "^21.12.0",
|
|
39
39
|
"@atlaskit/locale": "^2.5.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/popper": "^5.5.0",
|
|
42
42
|
"@atlaskit/select": "^16.5.0",
|
|
43
43
|
"@atlaskit/theme": "^12.5.0",
|
|
44
|
-
"@atlaskit/tokens": "^1.
|
|
44
|
+
"@atlaskit/tokens": "^1.14.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@emotion/react": "^11.7.1",
|
|
47
47
|
"date-fns": "^2.17.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@af/accessibility-testing": "*",
|
|
56
|
-
"@atlaskit/button": "^16.
|
|
56
|
+
"@atlaskit/button": "^16.9.0",
|
|
57
57
|
"@atlaskit/docs": "*",
|
|
58
58
|
"@atlaskit/form": "^8.11.0",
|
|
59
59
|
"@atlaskit/modal-dialog": "^12.6.0",
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED