@atlaskit/datetime-picker 17.2.2 → 17.3.0
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 +13 -0
- package/dist/cjs/internal/menu.compiled.css +2 -1
- package/dist/cjs/internal/menu.js +3 -1
- package/dist/es2019/internal/menu.compiled.css +2 -1
- package/dist/es2019/internal/menu.js +3 -1
- package/dist/esm/internal/menu.compiled.css +2 -1
- package/dist/esm/internal/menu.js +3 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/datetime-picker
|
|
2
2
|
|
|
3
|
+
## 17.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`02ec75b8f75de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/02ec75b8f75de) -
|
|
8
|
+
Updated border radius behind a feature gate.
|
|
9
|
+
|
|
10
|
+
## 17.2.3
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 17.2.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
2
|
+
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
|
+
._2rko1mok{border-radius:var(--ds-radius-large,8px)}._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
3
4
|
._18m915vq{overflow-y:hidden}
|
|
4
5
|
._1pbyowjs{z-index:300}
|
|
5
6
|
._1reo15vq{overflow-x:hidden}
|
|
@@ -15,6 +15,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
15
15
|
var _dateFns = require("date-fns");
|
|
16
16
|
var _calendar = _interopRequireDefault(require("@atlaskit/calendar"));
|
|
17
17
|
var _layering = require("@atlaskit/layering");
|
|
18
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
19
|
var _fixedLayer = _interopRequireDefault(require("../internal/fixed-layer"));
|
|
19
20
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
20
21
|
/**
|
|
@@ -32,6 +33,7 @@ function getValidDate(isos) {
|
|
|
32
33
|
}, {});
|
|
33
34
|
}
|
|
34
35
|
var menuStyles = null;
|
|
36
|
+
var menuStylesT26Shape = null;
|
|
35
37
|
|
|
36
38
|
/**
|
|
37
39
|
* This is the menu used in the select of the date picker.
|
|
@@ -61,7 +63,7 @@ var Menu = exports.Menu = function Menu(_ref) {
|
|
|
61
63
|
containerRef: selectProps.calendarContainerRef,
|
|
62
64
|
content: /*#__PURE__*/React.createElement("div", (0, _extends2.default)({}, innerProps, {
|
|
63
65
|
onMouseDown: onMenuMouseDown,
|
|
64
|
-
className: (0, _runtime.ax)(["_2rko12b0 _1reo15vq _18m915vq _1pbyowjs _bfhk1bhr _16qs130s"])
|
|
66
|
+
className: (0, _runtime.ax)(["_2rko12b0 _1reo15vq _18m915vq _1pbyowjs _bfhk1bhr _16qs130s", (0, _platformFeatureFlags.fg)('platform-dst-shape-theme-default') && "_2rko1mok"])
|
|
65
67
|
}), /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(_calendar.default, {
|
|
66
68
|
day: day,
|
|
67
69
|
month: month,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
2
|
+
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
|
+
._2rko1mok{border-radius:var(--ds-radius-large,8px)}._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
3
4
|
._18m915vq{overflow-y:hidden}
|
|
4
5
|
._1pbyowjs{z-index:300}
|
|
5
6
|
._1reo15vq{overflow-x:hidden}
|
|
@@ -7,6 +7,7 @@ import { Fragment } from 'react';
|
|
|
7
7
|
import { isValid, parseISO } from 'date-fns';
|
|
8
8
|
import Calendar from '@atlaskit/calendar';
|
|
9
9
|
import { Layering } from '@atlaskit/layering';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
11
|
import FixedLayer from '../internal/fixed-layer';
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -24,6 +25,7 @@ function getValidDate(isos) {
|
|
|
24
25
|
}, {});
|
|
25
26
|
}
|
|
26
27
|
const menuStyles = null;
|
|
28
|
+
const menuStylesT26Shape = null;
|
|
27
29
|
|
|
28
30
|
/**
|
|
29
31
|
* This is the menu used in the select of the date picker.
|
|
@@ -57,7 +59,7 @@ export const Menu = ({
|
|
|
57
59
|
containerRef: selectProps.calendarContainerRef,
|
|
58
60
|
content: /*#__PURE__*/React.createElement("div", _extends({}, innerProps, {
|
|
59
61
|
onMouseDown: onMenuMouseDown,
|
|
60
|
-
className: ax(["_2rko12b0 _1reo15vq _18m915vq _1pbyowjs _bfhk1bhr _16qs130s"])
|
|
62
|
+
className: ax(["_2rko12b0 _1reo15vq _18m915vq _1pbyowjs _bfhk1bhr _16qs130s", fg('platform-dst-shape-theme-default') && "_2rko1mok"])
|
|
61
63
|
}), /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Calendar, {
|
|
62
64
|
day: day,
|
|
63
65
|
month: month,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
2
|
+
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
|
+
._2rko1mok{border-radius:var(--ds-radius-large,8px)}._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
3
4
|
._18m915vq{overflow-y:hidden}
|
|
4
5
|
._1pbyowjs{z-index:300}
|
|
5
6
|
._1reo15vq{overflow-x:hidden}
|
|
@@ -7,6 +7,7 @@ import { Fragment } from 'react';
|
|
|
7
7
|
import { isValid, parseISO } from 'date-fns';
|
|
8
8
|
import Calendar from '@atlaskit/calendar';
|
|
9
9
|
import { Layering } from '@atlaskit/layering';
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
11
|
import FixedLayer from '../internal/fixed-layer';
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -24,6 +25,7 @@ function getValidDate(isos) {
|
|
|
24
25
|
}, {});
|
|
25
26
|
}
|
|
26
27
|
var menuStyles = null;
|
|
28
|
+
var menuStylesT26Shape = null;
|
|
27
29
|
|
|
28
30
|
/**
|
|
29
31
|
* This is the menu used in the select of the date picker.
|
|
@@ -53,7 +55,7 @@ export var Menu = function Menu(_ref) {
|
|
|
53
55
|
containerRef: selectProps.calendarContainerRef,
|
|
54
56
|
content: /*#__PURE__*/React.createElement("div", _extends({}, innerProps, {
|
|
55
57
|
onMouseDown: onMenuMouseDown,
|
|
56
|
-
className: ax(["_2rko12b0 _1reo15vq _18m915vq _1pbyowjs _bfhk1bhr _16qs130s"])
|
|
58
|
+
className: ax(["_2rko12b0 _1reo15vq _18m915vq _1pbyowjs _bfhk1bhr _16qs130s", fg('platform-dst-shape-theme-default') && "_2rko1mok"])
|
|
57
59
|
}), /*#__PURE__*/React.createElement(Wrapper, null, /*#__PURE__*/React.createElement(Calendar, {
|
|
58
60
|
day: day,
|
|
59
61
|
month: month,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/datetime-picker",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.3.0",
|
|
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,18 +33,18 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
36
|
-
"@atlaskit/button": "^23.
|
|
36
|
+
"@atlaskit/button": "^23.9.0",
|
|
37
37
|
"@atlaskit/calendar": "^17.2.0",
|
|
38
|
-
"@atlaskit/css": "^0.
|
|
38
|
+
"@atlaskit/css": "^0.19.0",
|
|
39
39
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
40
40
|
"@atlaskit/icon": "^29.3.0",
|
|
41
41
|
"@atlaskit/layering": "^3.4.0",
|
|
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": "^17.0.0",
|
|
46
46
|
"@atlaskit/select": "^21.6.0",
|
|
47
|
-
"@atlaskit/tokens": "^
|
|
47
|
+
"@atlaskit/tokens": "^9.0.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^0.18.6",
|
|
50
50
|
"date-fns": "^2.17.0"
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"@atlaskit/code": "^17.4.0",
|
|
60
60
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
61
61
|
"@atlaskit/docs": "^11.2.0",
|
|
62
|
-
"@atlaskit/form": "^15.
|
|
62
|
+
"@atlaskit/form": "^15.2.0",
|
|
63
63
|
"@atlaskit/heading": "^5.2.0",
|
|
64
64
|
"@atlaskit/link": "^3.2.0",
|
|
65
65
|
"@atlaskit/modal-dialog": "^14.9.0",
|
|
66
|
-
"@atlaskit/popup": "^4.
|
|
66
|
+
"@atlaskit/popup": "^4.9.0",
|
|
67
67
|
"@atlaskit/range": "^9.3.0",
|
|
68
68
|
"@atlaskit/section-message": "^8.11.0",
|
|
69
69
|
"@atlaskit/textfield": "^8.2.0",
|