@atlaskit/datetime-picker 17.1.12 → 17.2.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 +11 -0
- package/dist/cjs/components/date-picker-class.js +1 -1
- package/dist/cjs/components/date-picker-fc.js +1 -1
- package/dist/cjs/components/date-time-picker-class.js +1 -1
- package/dist/cjs/components/date-time-picker-fc.js +1 -1
- package/dist/cjs/components/time-picker.js +1 -1
- package/dist/cjs/internal/date-time-picker-container.compiled.css +1 -0
- package/dist/cjs/internal/date-time-picker-container.js +4 -1
- package/dist/es2019/components/date-picker-class.js +1 -1
- package/dist/es2019/components/date-picker-fc.js +1 -1
- package/dist/es2019/components/date-time-picker-class.js +1 -1
- package/dist/es2019/components/date-time-picker-fc.js +1 -1
- package/dist/es2019/components/time-picker.js +1 -1
- package/dist/es2019/internal/date-time-picker-container.compiled.css +1 -0
- package/dist/es2019/internal/date-time-picker-container.js +4 -1
- package/dist/esm/components/date-picker-class.js +1 -1
- package/dist/esm/components/date-picker-fc.js +1 -1
- package/dist/esm/components/date-time-picker-class.js +1 -1
- package/dist/esm/components/date-time-picker-fc.js +1 -1
- package/dist/esm/components/time-picker.js +1 -1
- package/dist/esm/internal/date-time-picker-container.compiled.css +1 -0
- package/dist/esm/internal/date-time-picker-container.js +4 -1
- package/package.json +14 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/datetime-picker
|
|
2
2
|
|
|
3
|
+
## 17.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b867e641d818d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b867e641d818d) -
|
|
8
|
+
Updated border radius values behind a feature gate `platform-dst-shape-theme-default`.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 17.1.12
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -40,7 +40,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
40
40
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
41
41
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /// <reference types="node" />
|
|
42
42
|
var packageName = "@atlaskit/datetime-picker";
|
|
43
|
-
var packageVersion = "17.1.
|
|
43
|
+
var packageVersion = "17.1.12";
|
|
44
44
|
var datePickerDefaultProps = {
|
|
45
45
|
defaultIsOpen: false,
|
|
46
46
|
defaultValue: '',
|
|
@@ -37,7 +37,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
37
37
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
38
38
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
39
39
|
var packageName = "@atlaskit/datetime-picker";
|
|
40
|
-
var packageVersion = "17.1.
|
|
40
|
+
var packageVersion = "17.1.12";
|
|
41
41
|
var styles = {
|
|
42
42
|
pickerContainerStyle: "_kqswh2mm",
|
|
43
43
|
dropdownIndicatorStyles: "_1ul91k8s _1tke1k8s _1e0c1txw _4cvr1h6o _1bah1h6o",
|
|
@@ -35,7 +35,7 @@ var DatePicker = (0, _ffComponent.componentWithCondition)(function () {
|
|
|
35
35
|
return (0, _platformFeatureFlags.fg)('dst-date-picker-use-functional-component');
|
|
36
36
|
}, _datePickerFc.default, _datePickerClass.default);
|
|
37
37
|
var packageName = "@atlaskit/datetime-picker";
|
|
38
|
-
var packageVersion = "17.1.
|
|
38
|
+
var packageVersion = "17.1.12";
|
|
39
39
|
var compiledStyles = {
|
|
40
40
|
datePickerContainerStyles: "_i0dl1ssb _16jlkb7n _1o9zidpf",
|
|
41
41
|
timePickerContainerStyles: "_i0dl1ssb _16jlkb7n",
|
|
@@ -38,7 +38,7 @@ var DatePicker = (0, _ffComponent.componentWithCondition)(function () {
|
|
|
38
38
|
return (0, _platformFeatureFlags.fg)('dst-date-picker-use-functional-component');
|
|
39
39
|
}, _datePickerFc.default, _datePickerClass.default);
|
|
40
40
|
var packageName = "@atlaskit/datetime-picker";
|
|
41
|
-
var packageVersion = "17.1.
|
|
41
|
+
var packageVersion = "17.1.12";
|
|
42
42
|
var analyticsAttributes = {
|
|
43
43
|
componentName: 'dateTimePicker',
|
|
44
44
|
packageName: packageName,
|
|
@@ -26,7 +26,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
26
26
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
27
27
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28
28
|
var packageName = "@atlaskit/datetime-picker";
|
|
29
|
-
var packageVersion = "17.1.
|
|
29
|
+
var packageVersion = "17.1.12";
|
|
30
30
|
var menuStyles = {
|
|
31
31
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
32
32
|
position: 'static',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._19itno8c{border:var(--ds-border-width,1px) solid var(--ds-border-input,#8c8f97)}
|
|
3
3
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
4
|
+
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
4
5
|
._v564r5cv{transition:background-color .2s ease-in-out,border-color .2s ease-in-out}
|
|
5
6
|
._1h6d1bqt{border-color:var(--ds-border-danger,#e2483d)}
|
|
6
7
|
._1h6d1j28{border-color:transparent}
|
|
@@ -12,6 +12,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var React = _react;
|
|
13
13
|
var _runtime = require("@compiled/react/runtime");
|
|
14
14
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
16
|
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); }
|
|
16
17
|
var isInvalidBorderStyles = null;
|
|
17
18
|
var isFocusedBorderStyles = null;
|
|
@@ -24,6 +25,8 @@ var isInvalidHoverStyles = null;
|
|
|
24
25
|
var isDisabledStyles = null;
|
|
25
26
|
var newBorderStyles = null;
|
|
26
27
|
var baseContainerStyles = null;
|
|
28
|
+
// platform-dst-shape-theme-default TODO: Merge into base after rollout
|
|
29
|
+
var baseContainerStylesT26Shape = null;
|
|
27
30
|
/**
|
|
28
31
|
* This is the container for the datetime picker component.
|
|
29
32
|
*/
|
|
@@ -41,6 +44,6 @@ var DateTimePickerContainer = exports.DateTimePickerContainer = /*#__PURE__*/(0,
|
|
|
41
44
|
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({}, innerProps, {
|
|
42
45
|
"data-testid": testId,
|
|
43
46
|
ref: ref,
|
|
44
|
-
className: (0, _runtime.ax)(["_2rko12b0 _v564r5cv _1e0c1txw _bfhk1j9a _d0altlke", "_19itno8c", isDisabled && "_1h6dbk0g _bfhkby5v _d0al73ad", isFocused && "_bfhkr01l", appearance === 'subtle' && isFocused && "_1h6d1j28 _bfhk1y3p", appearance === 'subtle' && !isFocused && "_1h6d1j28 _bfhk1j28", isFocused && "_1h6d1v1w _16qsvyy1", isInvalid && "_1h6d1bqt", notFocusedOrIsDisabled && isInvalid && "_4cvx1bqt _irr3l4ek", notFocusedOrIsDisabled && !isInvalid && "_4cvxrsbi _irr3l4ek", appearance === 'none' && "_1h6d1j28 _bfhk1j28 _4cvx1j28 _irr31j28"])
|
|
47
|
+
className: (0, _runtime.ax)(["_2rko12b0 _v564r5cv _1e0c1txw _bfhk1j9a _d0altlke", (0, _platformFeatureFlags.fg)('platform-dst-shape-theme-default') && "_2rko1qi0", "_19itno8c", isDisabled && "_1h6dbk0g _bfhkby5v _d0al73ad", isFocused && "_bfhkr01l", appearance === 'subtle' && isFocused && "_1h6d1j28 _bfhk1y3p", appearance === 'subtle' && !isFocused && "_1h6d1j28 _bfhk1j28", isFocused && "_1h6d1v1w _16qsvyy1", isInvalid && "_1h6d1bqt", notFocusedOrIsDisabled && isInvalid && "_4cvx1bqt _irr3l4ek", notFocusedOrIsDisabled && !isInvalid && "_4cvxrsbi _irr3l4ek", appearance === 'none' && "_1h6d1j28 _bfhk1j28 _4cvx1j28 _irr31j28"])
|
|
45
48
|
}), children);
|
|
46
49
|
});
|
|
@@ -23,7 +23,7 @@ import { Menu } from '../internal/menu';
|
|
|
23
23
|
import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
|
|
24
24
|
import { makeSingleValue } from '../internal/single-value';
|
|
25
25
|
const packageName = "@atlaskit/datetime-picker";
|
|
26
|
-
const packageVersion = "17.1.
|
|
26
|
+
const packageVersion = "17.1.12";
|
|
27
27
|
const datePickerDefaultProps = {
|
|
28
28
|
defaultIsOpen: false,
|
|
29
29
|
defaultValue: '',
|
|
@@ -23,7 +23,7 @@ import { Menu } from '../internal/menu';
|
|
|
23
23
|
import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
|
|
24
24
|
import { makeSingleValue } from '../internal/single-value';
|
|
25
25
|
const packageName = "@atlaskit/datetime-picker";
|
|
26
|
-
const packageVersion = "17.1.
|
|
26
|
+
const packageVersion = "17.1.12";
|
|
27
27
|
const styles = {
|
|
28
28
|
pickerContainerStyle: "_kqswh2mm",
|
|
29
29
|
dropdownIndicatorStyles: "_1ul91k8s _1tke1k8s _1e0c1txw _4cvr1h6o _1bah1h6o",
|
|
@@ -19,7 +19,7 @@ import DatePickerNew from './date-picker-fc';
|
|
|
19
19
|
import TimePicker from './time-picker';
|
|
20
20
|
const DatePicker = componentWithCondition(() => fg('dst-date-picker-use-functional-component'), DatePickerNew, DatePickerOld);
|
|
21
21
|
const packageName = "@atlaskit/datetime-picker";
|
|
22
|
-
const packageVersion = "17.1.
|
|
22
|
+
const packageVersion = "17.1.12";
|
|
23
23
|
const compiledStyles = {
|
|
24
24
|
datePickerContainerStyles: "_i0dl1ssb _16jlkb7n _1o9zidpf",
|
|
25
25
|
timePickerContainerStyles: "_i0dl1ssb _16jlkb7n",
|
|
@@ -22,7 +22,7 @@ import DatePickerNew from './date-picker-fc';
|
|
|
22
22
|
import TimePicker from './time-picker';
|
|
23
23
|
const DatePicker = componentWithCondition(() => fg('dst-date-picker-use-functional-component'), DatePickerNew, DatePickerOld);
|
|
24
24
|
const packageName = "@atlaskit/datetime-picker";
|
|
25
|
-
const packageVersion = "17.1.
|
|
25
|
+
const packageVersion = "17.1.12";
|
|
26
26
|
const analyticsAttributes = {
|
|
27
27
|
componentName: 'dateTimePicker',
|
|
28
28
|
packageName,
|
|
@@ -11,7 +11,7 @@ import parseTime from '../internal/parse-time';
|
|
|
11
11
|
import { convertTokens } from '../internal/parse-tokens';
|
|
12
12
|
import { makeSingleValue } from '../internal/single-value';
|
|
13
13
|
const packageName = "@atlaskit/datetime-picker";
|
|
14
|
-
const packageVersion = "17.1.
|
|
14
|
+
const packageVersion = "17.1.12";
|
|
15
15
|
const menuStyles = {
|
|
16
16
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
17
17
|
position: 'static',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._19itno8c{border:var(--ds-border-width,1px) solid var(--ds-border-input,#8c8f97)}
|
|
3
3
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
4
|
+
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
4
5
|
._v564r5cv{transition:background-color .2s ease-in-out,border-color .2s ease-in-out}
|
|
5
6
|
._1h6d1bqt{border-color:var(--ds-border-danger,#e2483d)}
|
|
6
7
|
._1h6d1j28{border-color:transparent}
|
|
@@ -4,6 +4,7 @@ import "./date-time-picker-container.compiled.css";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
8
|
const isInvalidBorderStyles = null;
|
|
8
9
|
const isFocusedBorderStyles = null;
|
|
9
10
|
const isFocusedStyles = null;
|
|
@@ -15,6 +16,8 @@ const isInvalidHoverStyles = null;
|
|
|
15
16
|
const isDisabledStyles = null;
|
|
16
17
|
const newBorderStyles = null;
|
|
17
18
|
const baseContainerStyles = null;
|
|
19
|
+
// platform-dst-shape-theme-default TODO: Merge into base after rollout
|
|
20
|
+
const baseContainerStylesT26Shape = null;
|
|
18
21
|
/**
|
|
19
22
|
* This is the container for the datetime picker component.
|
|
20
23
|
*/
|
|
@@ -33,6 +36,6 @@ export const DateTimePickerContainer = /*#__PURE__*/forwardRef(({
|
|
|
33
36
|
return /*#__PURE__*/React.createElement("div", _extends({}, innerProps, {
|
|
34
37
|
"data-testid": testId,
|
|
35
38
|
ref: ref,
|
|
36
|
-
className: ax(["_2rko12b0 _v564r5cv _1e0c1txw _bfhk1j9a _d0altlke", "_19itno8c", isDisabled && "_1h6dbk0g _bfhkby5v _d0al73ad", isFocused && "_bfhkr01l", appearance === 'subtle' && isFocused && "_1h6d1j28 _bfhk1y3p", appearance === 'subtle' && !isFocused && "_1h6d1j28 _bfhk1j28", isFocused && "_1h6d1v1w _16qsvyy1", isInvalid && "_1h6d1bqt", notFocusedOrIsDisabled && isInvalid && "_4cvx1bqt _irr3l4ek", notFocusedOrIsDisabled && !isInvalid && "_4cvxrsbi _irr3l4ek", appearance === 'none' && "_1h6d1j28 _bfhk1j28 _4cvx1j28 _irr31j28"])
|
|
39
|
+
className: ax(["_2rko12b0 _v564r5cv _1e0c1txw _bfhk1j9a _d0altlke", fg('platform-dst-shape-theme-default') && "_2rko1qi0", "_19itno8c", isDisabled && "_1h6dbk0g _bfhkby5v _d0al73ad", isFocused && "_bfhkr01l", appearance === 'subtle' && isFocused && "_1h6d1j28 _bfhk1y3p", appearance === 'subtle' && !isFocused && "_1h6d1j28 _bfhk1j28", isFocused && "_1h6d1v1w _16qsvyy1", isInvalid && "_1h6d1bqt", notFocusedOrIsDisabled && isInvalid && "_4cvx1bqt _irr3l4ek", notFocusedOrIsDisabled && !isInvalid && "_4cvxrsbi _irr3l4ek", appearance === 'none' && "_1h6d1j28 _bfhk1j28 _4cvx1j28 _irr31j28"])
|
|
37
40
|
}), children);
|
|
38
41
|
});
|
|
@@ -32,7 +32,7 @@ import { Menu } from '../internal/menu';
|
|
|
32
32
|
import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
|
|
33
33
|
import { makeSingleValue } from '../internal/single-value';
|
|
34
34
|
var packageName = "@atlaskit/datetime-picker";
|
|
35
|
-
var packageVersion = "17.1.
|
|
35
|
+
var packageVersion = "17.1.12";
|
|
36
36
|
var datePickerDefaultProps = {
|
|
37
37
|
defaultIsOpen: false,
|
|
38
38
|
defaultValue: '',
|
|
@@ -29,7 +29,7 @@ import { Menu } from '../internal/menu';
|
|
|
29
29
|
import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
|
|
30
30
|
import { makeSingleValue } from '../internal/single-value';
|
|
31
31
|
var packageName = "@atlaskit/datetime-picker";
|
|
32
|
-
var packageVersion = "17.1.
|
|
32
|
+
var packageVersion = "17.1.12";
|
|
33
33
|
var styles = {
|
|
34
34
|
pickerContainerStyle: "_kqswh2mm",
|
|
35
35
|
dropdownIndicatorStyles: "_1ul91k8s _1tke1k8s _1e0c1txw _4cvr1h6o _1bah1h6o",
|
|
@@ -30,7 +30,7 @@ var DatePicker = componentWithCondition(function () {
|
|
|
30
30
|
return fg('dst-date-picker-use-functional-component');
|
|
31
31
|
}, DatePickerNew, DatePickerOld);
|
|
32
32
|
var packageName = "@atlaskit/datetime-picker";
|
|
33
|
-
var packageVersion = "17.1.
|
|
33
|
+
var packageVersion = "17.1.12";
|
|
34
34
|
var compiledStyles = {
|
|
35
35
|
datePickerContainerStyles: "_i0dl1ssb _16jlkb7n _1o9zidpf",
|
|
36
36
|
timePickerContainerStyles: "_i0dl1ssb _16jlkb7n",
|
|
@@ -31,7 +31,7 @@ var DatePicker = componentWithCondition(function () {
|
|
|
31
31
|
return fg('dst-date-picker-use-functional-component');
|
|
32
32
|
}, DatePickerNew, DatePickerOld);
|
|
33
33
|
var packageName = "@atlaskit/datetime-picker";
|
|
34
|
-
var packageVersion = "17.1.
|
|
34
|
+
var packageVersion = "17.1.12";
|
|
35
35
|
var analyticsAttributes = {
|
|
36
36
|
componentName: 'dateTimePicker',
|
|
37
37
|
packageName: packageName,
|
|
@@ -17,7 +17,7 @@ import parseTime from '../internal/parse-time';
|
|
|
17
17
|
import { convertTokens } from '../internal/parse-tokens';
|
|
18
18
|
import { makeSingleValue } from '../internal/single-value';
|
|
19
19
|
var packageName = "@atlaskit/datetime-picker";
|
|
20
|
-
var packageVersion = "17.1.
|
|
20
|
+
var packageVersion = "17.1.12";
|
|
21
21
|
var menuStyles = {
|
|
22
22
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
23
23
|
position: 'static',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
._19itno8c{border:var(--ds-border-width,1px) solid var(--ds-border-input,#8c8f97)}
|
|
3
3
|
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
4
|
+
._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
|
|
4
5
|
._v564r5cv{transition:background-color .2s ease-in-out,border-color .2s ease-in-out}
|
|
5
6
|
._1h6d1bqt{border-color:var(--ds-border-danger,#e2483d)}
|
|
6
7
|
._1h6d1j28{border-color:transparent}
|
|
@@ -4,6 +4,7 @@ import "./date-time-picker-container.compiled.css";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { forwardRef } from 'react';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
8
|
var isInvalidBorderStyles = null;
|
|
8
9
|
var isFocusedBorderStyles = null;
|
|
9
10
|
var isFocusedStyles = null;
|
|
@@ -15,6 +16,8 @@ var isInvalidHoverStyles = null;
|
|
|
15
16
|
var isDisabledStyles = null;
|
|
16
17
|
var newBorderStyles = null;
|
|
17
18
|
var baseContainerStyles = null;
|
|
19
|
+
// platform-dst-shape-theme-default TODO: Merge into base after rollout
|
|
20
|
+
var baseContainerStylesT26Shape = null;
|
|
18
21
|
/**
|
|
19
22
|
* This is the container for the datetime picker component.
|
|
20
23
|
*/
|
|
@@ -32,6 +35,6 @@ export var DateTimePickerContainer = /*#__PURE__*/forwardRef(function (_ref, ref
|
|
|
32
35
|
return /*#__PURE__*/React.createElement("div", _extends({}, innerProps, {
|
|
33
36
|
"data-testid": testId,
|
|
34
37
|
ref: ref,
|
|
35
|
-
className: ax(["_2rko12b0 _v564r5cv _1e0c1txw _bfhk1j9a _d0altlke", "_19itno8c", isDisabled && "_1h6dbk0g _bfhkby5v _d0al73ad", isFocused && "_bfhkr01l", appearance === 'subtle' && isFocused && "_1h6d1j28 _bfhk1y3p", appearance === 'subtle' && !isFocused && "_1h6d1j28 _bfhk1j28", isFocused && "_1h6d1v1w _16qsvyy1", isInvalid && "_1h6d1bqt", notFocusedOrIsDisabled && isInvalid && "_4cvx1bqt _irr3l4ek", notFocusedOrIsDisabled && !isInvalid && "_4cvxrsbi _irr3l4ek", appearance === 'none' && "_1h6d1j28 _bfhk1j28 _4cvx1j28 _irr31j28"])
|
|
38
|
+
className: ax(["_2rko12b0 _v564r5cv _1e0c1txw _bfhk1j9a _d0altlke", fg('platform-dst-shape-theme-default') && "_2rko1qi0", "_19itno8c", isDisabled && "_1h6dbk0g _bfhkby5v _d0al73ad", isFocused && "_bfhkr01l", appearance === 'subtle' && isFocused && "_1h6d1j28 _bfhk1y3p", appearance === 'subtle' && !isFocused && "_1h6d1j28 _bfhk1j28", isFocused && "_1h6d1v1w _16qsvyy1", isInvalid && "_1h6d1bqt", notFocusedOrIsDisabled && isInvalid && "_4cvx1bqt _irr3l4ek", notFocusedOrIsDisabled && !isInvalid && "_4cvxrsbi _irr3l4ek", appearance === 'none' && "_1h6d1j28 _bfhk1j28 _4cvx1j28 _irr31j28"])
|
|
36
39
|
}), children);
|
|
37
40
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/datetime-picker",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.2.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,8 +33,8 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
36
|
-
"@atlaskit/button": "^23.
|
|
37
|
-
"@atlaskit/calendar": "^17.
|
|
36
|
+
"@atlaskit/button": "^23.7.0",
|
|
37
|
+
"@atlaskit/calendar": "^17.2.0",
|
|
38
38
|
"@atlaskit/css": "^0.17.0",
|
|
39
39
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
40
40
|
"@atlaskit/icon": "^29.0.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/popper": "^7.1.0",
|
|
45
45
|
"@atlaskit/primitives": "^16.4.0",
|
|
46
|
-
"@atlaskit/select": "^21.
|
|
46
|
+
"@atlaskit/select": "^21.5.0",
|
|
47
47
|
"@atlaskit/tokens": "^8.4.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^0.18.6",
|
|
@@ -56,18 +56,18 @@
|
|
|
56
56
|
"@af/accessibility-testing": "workspace:^",
|
|
57
57
|
"@af/integration-testing": "workspace:^",
|
|
58
58
|
"@af/visual-regression": "workspace:^",
|
|
59
|
-
"@atlaskit/code": "^17.
|
|
59
|
+
"@atlaskit/code": "^17.4.0",
|
|
60
60
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
61
61
|
"@atlaskit/docs": "^11.2.0",
|
|
62
62
|
"@atlaskit/form": "^14.3.0",
|
|
63
63
|
"@atlaskit/heading": "^5.2.0",
|
|
64
64
|
"@atlaskit/link": "^3.2.0",
|
|
65
|
-
"@atlaskit/modal-dialog": "^14.
|
|
66
|
-
"@atlaskit/popup": "^4.
|
|
67
|
-
"@atlaskit/range": "^9.
|
|
68
|
-
"@atlaskit/section-message": "^8.
|
|
69
|
-
"@atlaskit/textfield": "^8.
|
|
70
|
-
"@atlaskit/toggle": "^15.
|
|
65
|
+
"@atlaskit/modal-dialog": "^14.8.0",
|
|
66
|
+
"@atlaskit/popup": "^4.7.0",
|
|
67
|
+
"@atlaskit/range": "^9.3.0",
|
|
68
|
+
"@atlaskit/section-message": "^8.10.0",
|
|
69
|
+
"@atlaskit/textfield": "^8.2.0",
|
|
70
|
+
"@atlaskit/toggle": "^15.2.0",
|
|
71
71
|
"@atlassian/ssr-tests": "workspace:^",
|
|
72
72
|
"@testing-library/react": "^13.4.0",
|
|
73
73
|
"@testing-library/user-event": "^14.4.3",
|
|
@@ -110,6 +110,9 @@
|
|
|
110
110
|
},
|
|
111
111
|
"platform-visual-refresh-icons": {
|
|
112
112
|
"type": "boolean"
|
|
113
|
+
},
|
|
114
|
+
"platform-dst-shape-theme-default": {
|
|
115
|
+
"type": "boolean"
|
|
113
116
|
}
|
|
114
117
|
},
|
|
115
118
|
"homepage": "https://atlassian.design/components/datetime-picker/"
|