@atlaskit/datetime-picker 17.2.0 → 17.2.2
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 +14 -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 +3 -3
- package/dist/cjs/components/date-time-picker-fc.js +3 -3
- package/dist/cjs/components/time-picker.js +1 -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 +2 -2
- package/dist/es2019/components/date-time-picker-fc.js +2 -2
- package/dist/es2019/components/time-picker.js +1 -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 +2 -2
- package/dist/esm/components/date-time-picker-fc.js +2 -2
- package/dist/esm/components/time-picker.js +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/datetime-picker
|
|
2
2
|
|
|
3
|
+
## 17.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d14ea5f60b689`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d14ea5f60b689) -
|
|
8
|
+
chore: migrate platform UI & component libraries icon imports from migration paths to core
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 17.2.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 17.2.0
|
|
4
18
|
|
|
5
19
|
### Minor 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 = "
|
|
43
|
+
var packageVersion = "0.0.0-development";
|
|
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 = "
|
|
40
|
+
var packageVersion = "0.0.0-development";
|
|
41
41
|
var styles = {
|
|
42
42
|
pickerContainerStyle: "_kqswh2mm",
|
|
43
43
|
dropdownIndicatorStyles: "_1ul91k8s _1tke1k8s _1e0c1txw _4cvr1h6o _1bah1h6o",
|
|
@@ -17,7 +17,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
17
17
|
var _react = _interopRequireDefault(require("react"));
|
|
18
18
|
var _dateFns = require("date-fns");
|
|
19
19
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
20
|
-
var
|
|
20
|
+
var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/cross-circle"));
|
|
21
21
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
22
22
|
var _select = require("@atlaskit/select");
|
|
23
23
|
var _internal = require("../internal");
|
|
@@ -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 = "
|
|
38
|
+
var packageVersion = "0.0.0-development";
|
|
39
39
|
var compiledStyles = {
|
|
40
40
|
datePickerContainerStyles: "_i0dl1ssb _16jlkb7n _1o9zidpf",
|
|
41
41
|
timePickerContainerStyles: "_i0dl1ssb _16jlkb7n",
|
|
@@ -377,7 +377,7 @@ var DateTimePickerComponent = exports.DateTimePickerWithoutAnalytics = /*#__PURE
|
|
|
377
377
|
tabIndex: -1,
|
|
378
378
|
type: "button",
|
|
379
379
|
className: (0, _runtime.ax)([compiledStyles.iconContainerStyles])
|
|
380
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
380
|
+
}, /*#__PURE__*/_react.default.createElement(_crossCircle.default, {
|
|
381
381
|
LEGACY_size: "small",
|
|
382
382
|
color: "currentColor",
|
|
383
383
|
label: clearControlLabel,
|
|
@@ -17,7 +17,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
17
17
|
var _dateFns = require("date-fns");
|
|
18
18
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
19
19
|
var _new = require("@atlaskit/button/new");
|
|
20
|
-
var
|
|
20
|
+
var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/cross-circle"));
|
|
21
21
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
22
22
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
23
23
|
var _select = require("@atlaskit/select");
|
|
@@ -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 = "
|
|
41
|
+
var packageVersion = "0.0.0-development";
|
|
42
42
|
var analyticsAttributes = {
|
|
43
43
|
componentName: 'dateTimePicker',
|
|
44
44
|
packageName: packageName,
|
|
@@ -370,7 +370,7 @@ var DateTimePicker = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, _ref)
|
|
|
370
370
|
appearance: "subtle",
|
|
371
371
|
label: clearControlLabel,
|
|
372
372
|
icon: function icon(iconProps) {
|
|
373
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
373
|
+
return /*#__PURE__*/_react.default.createElement(_crossCircle.default, (0, _extends2.default)({}, iconProps, {
|
|
374
374
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
375
375
|
LEGACY_size: "small",
|
|
376
376
|
size: "small"
|
|
@@ -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 = "
|
|
29
|
+
var packageVersion = "0.0.0-development";
|
|
30
30
|
var menuStyles = {
|
|
31
31
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
32
32
|
position: 'static',
|
|
@@ -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 = "
|
|
26
|
+
const packageVersion = "0.0.0-development";
|
|
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 = "
|
|
26
|
+
const packageVersion = "0.0.0-development";
|
|
27
27
|
const styles = {
|
|
28
28
|
pickerContainerStyle: "_kqswh2mm",
|
|
29
29
|
dropdownIndicatorStyles: "_1ul91k8s _1tke1k8s _1e0c1txw _4cvr1h6o _1bah1h6o",
|
|
@@ -7,7 +7,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { format, isValid, parseISO } from 'date-fns';
|
|
9
9
|
import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
10
|
-
import SelectClearIcon from '@atlaskit/icon/core/
|
|
10
|
+
import SelectClearIcon from '@atlaskit/icon/core/cross-circle';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
12
|
import { mergeStyles } from '@atlaskit/select';
|
|
13
13
|
import { formatDateTimeZoneIntoIso } from '../internal';
|
|
@@ -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 = "
|
|
22
|
+
const packageVersion = "0.0.0-development";
|
|
23
23
|
const compiledStyles = {
|
|
24
24
|
datePickerContainerStyles: "_i0dl1ssb _16jlkb7n _1o9zidpf",
|
|
25
25
|
timePickerContainerStyles: "_i0dl1ssb _16jlkb7n",
|
|
@@ -9,7 +9,7 @@ import React, { forwardRef, useCallback, useEffect, useState } from 'react';
|
|
|
9
9
|
import { format, isValid, parseISO } from 'date-fns';
|
|
10
10
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
11
11
|
import { IconButton } from '@atlaskit/button/new';
|
|
12
|
-
import SelectClearIcon from '@atlaskit/icon/core/
|
|
12
|
+
import SelectClearIcon from '@atlaskit/icon/core/cross-circle';
|
|
13
13
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
14
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
15
15
|
import { mergeStyles } from '@atlaskit/select';
|
|
@@ -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 = "
|
|
25
|
+
const packageVersion = "0.0.0-development";
|
|
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 = "
|
|
14
|
+
const packageVersion = "0.0.0-development";
|
|
15
15
|
const menuStyles = {
|
|
16
16
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
17
17
|
position: 'static',
|
|
@@ -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 = "
|
|
35
|
+
var packageVersion = "0.0.0-development";
|
|
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 = "
|
|
32
|
+
var packageVersion = "0.0.0-development";
|
|
33
33
|
var styles = {
|
|
34
34
|
pickerContainerStyle: "_kqswh2mm",
|
|
35
35
|
dropdownIndicatorStyles: "_1ul91k8s _1tke1k8s _1e0c1txw _4cvr1h6o _1bah1h6o",
|
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
import React from 'react';
|
|
17
17
|
import { format, isValid, parseISO } from 'date-fns';
|
|
18
18
|
import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
19
|
-
import SelectClearIcon from '@atlaskit/icon/core/
|
|
19
|
+
import SelectClearIcon from '@atlaskit/icon/core/cross-circle';
|
|
20
20
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
21
21
|
import { mergeStyles } from '@atlaskit/select';
|
|
22
22
|
import { formatDateTimeZoneIntoIso } from '../internal';
|
|
@@ -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 = "
|
|
33
|
+
var packageVersion = "0.0.0-development";
|
|
34
34
|
var compiledStyles = {
|
|
35
35
|
datePickerContainerStyles: "_i0dl1ssb _16jlkb7n _1o9zidpf",
|
|
36
36
|
timePickerContainerStyles: "_i0dl1ssb _16jlkb7n",
|
|
@@ -16,7 +16,7 @@ import React, { forwardRef, useCallback, useEffect, useState } from 'react';
|
|
|
16
16
|
import { format, isValid, parseISO } from 'date-fns';
|
|
17
17
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
18
18
|
import { IconButton } from '@atlaskit/button/new';
|
|
19
|
-
import SelectClearIcon from '@atlaskit/icon/core/
|
|
19
|
+
import SelectClearIcon from '@atlaskit/icon/core/cross-circle';
|
|
20
20
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
21
21
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
22
22
|
import { mergeStyles } from '@atlaskit/select';
|
|
@@ -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 = "
|
|
34
|
+
var packageVersion = "0.0.0-development";
|
|
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 = "
|
|
20
|
+
var packageVersion = "0.0.0-development";
|
|
21
21
|
var menuStyles = {
|
|
22
22
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
23
23
|
position: 'static',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/datetime-picker",
|
|
3
|
-
"version": "17.2.
|
|
3
|
+
"version": "17.2.2",
|
|
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.8.0",
|
|
37
37
|
"@atlaskit/calendar": "^17.2.0",
|
|
38
|
-
"@atlaskit/css": "^0.
|
|
38
|
+
"@atlaskit/css": "^0.18.0",
|
|
39
39
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
40
|
-
"@atlaskit/icon": "^29.
|
|
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
45
|
"@atlaskit/primitives": "^16.4.0",
|
|
46
|
-
"@atlaskit/select": "^21.
|
|
47
|
-
"@atlaskit/tokens": "^8.
|
|
46
|
+
"@atlaskit/select": "^21.6.0",
|
|
47
|
+
"@atlaskit/tokens": "^8.6.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^0.18.6",
|
|
50
50
|
"date-fns": "^2.17.0"
|
|
@@ -59,13 +59,13 @@
|
|
|
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": "^
|
|
62
|
+
"@atlaskit/form": "^15.1.0",
|
|
63
63
|
"@atlaskit/heading": "^5.2.0",
|
|
64
64
|
"@atlaskit/link": "^3.2.0",
|
|
65
|
-
"@atlaskit/modal-dialog": "^14.
|
|
66
|
-
"@atlaskit/popup": "^4.
|
|
65
|
+
"@atlaskit/modal-dialog": "^14.9.0",
|
|
66
|
+
"@atlaskit/popup": "^4.8.0",
|
|
67
67
|
"@atlaskit/range": "^9.3.0",
|
|
68
|
-
"@atlaskit/section-message": "^8.
|
|
68
|
+
"@atlaskit/section-message": "^8.11.0",
|
|
69
69
|
"@atlaskit/textfield": "^8.2.0",
|
|
70
70
|
"@atlaskit/toggle": "^15.2.0",
|
|
71
71
|
"@atlassian/ssr-tests": "workspace:^",
|