@atlaskit/datetime-picker 17.5.6 → 17.5.7
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 +9 -0
- package/dist/cjs/components/date-picker.js +1 -0
- package/dist/cjs/components/date-time-picker-class.js +1 -0
- package/dist/cjs/components/date-time-picker-fc.js +1 -0
- package/dist/cjs/components/time-picker.js +1 -1
- package/dist/cjs/internal/date-picker-migration.js +2 -0
- package/dist/cjs/internal/menu.js +1 -0
- package/dist/cjs/internal/parse-date.js +2 -0
- package/dist/cjs/internal/single-value.js +2 -1
- package/dist/es2019/components/date-picker.js +2 -0
- package/dist/es2019/components/date-time-picker-class.js +1 -0
- package/dist/es2019/components/date-time-picker-fc.js +2 -0
- package/dist/es2019/components/time-picker.js +2 -0
- package/dist/es2019/internal/date-picker-migration.js +1 -0
- package/dist/es2019/internal/menu.js +2 -0
- package/dist/es2019/internal/parse-date.js +1 -0
- package/dist/es2019/internal/single-value.js +2 -1
- package/dist/esm/components/date-picker.js +2 -0
- package/dist/esm/components/date-time-picker-class.js +1 -0
- package/dist/esm/components/date-time-picker-fc.js +2 -0
- package/dist/esm/components/time-picker.js +2 -0
- package/dist/esm/internal/date-picker-migration.js +1 -0
- package/dist/esm/internal/menu.js +2 -0
- package/dist/esm/internal/parse-date.js +1 -0
- package/dist/esm/internal/single-value.js +2 -1
- package/package.json +12 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/datetime-picker
|
|
2
2
|
|
|
3
|
+
## 17.5.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3f079fa52f117`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3f079fa52f117) -
|
|
8
|
+
Change lang.replace(\_, -) ensures any ICU format input is normalised to valid BCP 47 before
|
|
9
|
+
rendering to DOM. This is a no-op when locale is already in BCP 47 format, making the change
|
|
10
|
+
backward compatible
|
|
11
|
+
|
|
3
12
|
## 17.5.6
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -32,6 +32,7 @@ var _parseDate = require("../internal/parse-date");
|
|
|
32
32
|
var _singleValue = require("../internal/single-value");
|
|
33
33
|
var _excluded = ["appearance", "autoFocus", "clearControlLabel", "hideIcon", "openCalendarLabel", "defaultIsOpen", "defaultValue", "disabled", "disabledDateFilter", "icon", "id", "innerProps", "inputLabel", "inputLabelId", "isDisabled", "isInvalid", "isRequired", "label", "name", "onBlur", "onChange", "onFocus", "selectProps", "shouldShowCalendarButton", "spacing", "locale", "value", "isOpen", "maxDate", "minDate", "weekStartDay", "formatDisplayLabel", "testId", "aria-describedby", "placeholder", "nextMonthLabel", "previousMonthLabel"]; /// <reference types="node" />
|
|
34
34
|
// for typing `process`
|
|
35
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
35
36
|
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); }
|
|
36
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; }
|
|
37
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; }
|
|
@@ -28,6 +28,7 @@ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0,
|
|
|
28
28
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
29
29
|
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; }
|
|
30
30
|
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; } /// <reference types="node" />
|
|
31
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
31
32
|
var packageName = "@atlaskit/datetime-picker";
|
|
32
33
|
var packageVersion = "0.0.0-development";
|
|
33
34
|
var compiledStyles = {
|
|
@@ -31,6 +31,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
31
31
|
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; }
|
|
32
32
|
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; } /// <reference types="node" />
|
|
33
33
|
// for typing `process`
|
|
34
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
34
35
|
var packageName = "@atlaskit/datetime-picker";
|
|
35
36
|
var packageVersion = "0.0.0-development";
|
|
36
37
|
var analyticsAttributes = {
|
|
@@ -24,7 +24,7 @@ var _singleValue = require("../internal/single-value");
|
|
|
24
24
|
var _excluded = ["styles"];
|
|
25
25
|
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); }
|
|
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
|
-
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; }
|
|
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; } // oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
28
28
|
var packageName = "@atlaskit/datetime-picker";
|
|
29
29
|
var packageVersion = "0.0.0-development";
|
|
30
30
|
var menuStyles = {
|
|
@@ -27,6 +27,8 @@ var _index = require("./index");
|
|
|
27
27
|
* broken out to be it's own function.
|
|
28
28
|
*/
|
|
29
29
|
|
|
30
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
31
|
+
|
|
30
32
|
var isDateDisabled = exports.isDateDisabled = function isDateDisabled(date, di) {
|
|
31
33
|
var disabled = di.disabled;
|
|
32
34
|
return disabled.indexOf(date) > -1;
|
|
@@ -18,6 +18,7 @@ var _layering = require("@atlaskit/layering");
|
|
|
18
18
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
19
|
var _fixedLayer = _interopRequireDefault(require("../internal/fixed-layer"));
|
|
20
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); }
|
|
21
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
21
22
|
/**
|
|
22
23
|
* @param isos A series of ISO dates.
|
|
23
24
|
* @returns The last valid date within the array of ISO strings.
|
|
@@ -7,6 +7,8 @@ exports.getSafeCalendarValue = getSafeCalendarValue;
|
|
|
7
7
|
exports.getShortISOString = getShortISOString;
|
|
8
8
|
var _dateFns = require("date-fns");
|
|
9
9
|
var _parseTokens = require("./parse-tokens");
|
|
10
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
11
|
+
|
|
10
12
|
/**
|
|
11
13
|
* Converts a Date object into an ISO date, formatted `YYYY-MM-DD`.
|
|
12
14
|
*
|
|
@@ -8,6 +8,7 @@ exports.makeSingleValue = void 0;
|
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
11
12
|
var _select = require("@atlaskit/select");
|
|
12
13
|
var _excluded = ["children", "className", "clearValue", "cx", "data", "getStyles", "getValue", "hasValue", "isDisabled", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue"];
|
|
13
14
|
/**
|
|
@@ -47,7 +48,7 @@ function makeSingleValue(_ref) {
|
|
|
47
48
|
hasValue: hasValue,
|
|
48
49
|
innerProps: {
|
|
49
50
|
id: id,
|
|
50
|
-
lang: lang
|
|
51
|
+
lang: (0, _platformFeatureFlags.fg)('platform-dst-single-value-lang-replace') ? lang.replace('_', '-') : lang
|
|
51
52
|
},
|
|
52
53
|
isDisabled: isDisabled,
|
|
53
54
|
isMulti: isMulti,
|
|
@@ -6,6 +6,8 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
/// <reference types="node" />
|
|
7
7
|
// for typing `process`
|
|
8
8
|
import { forwardRef, useCallback, useEffect, useReducer, useRef, useState } from 'react';
|
|
9
|
+
|
|
10
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
9
11
|
import { isValid, parseISO } from 'date-fns';
|
|
10
12
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
11
13
|
import { IconButton } from '@atlaskit/button/new';
|
|
@@ -5,6 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
/// <reference types="node" />
|
|
6
6
|
|
|
7
7
|
import React from 'react';
|
|
8
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
8
9
|
import { format, isValid, parseISO } from 'date-fns';
|
|
9
10
|
import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
10
11
|
import SelectClearIcon from '@atlaskit/icon/core/cross-circle';
|
|
@@ -6,6 +6,8 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
// for typing `process`
|
|
7
7
|
|
|
8
8
|
import React, { forwardRef, useCallback, useEffect, useState } from 'react';
|
|
9
|
+
|
|
10
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
9
11
|
import { format, isValid, parseISO } from 'date-fns';
|
|
10
12
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
11
13
|
import { IconButton } from '@atlaskit/button/new';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { forwardRef, useCallback, useEffect, useReducer, useState } from 'react';
|
|
3
|
+
|
|
4
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
3
5
|
import { format, isValid } from 'date-fns';
|
|
4
6
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
5
7
|
import __noop from '@atlaskit/ds-lib/noop';
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
* broken out to be it's own function.
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
19
20
|
import { format, lastDayOfMonth, parseISO } from 'date-fns';
|
|
20
21
|
import { convertTokens } from './parse-tokens';
|
|
21
22
|
import { defaultDateFormat, padToTwo, placeholderDatetime } from './index';
|
|
@@ -4,6 +4,8 @@ import "./menu.compiled.css";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { Fragment } from 'react';
|
|
7
|
+
|
|
8
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
7
9
|
import { isValid, parseISO } from 'date-fns';
|
|
8
10
|
import Calendar from '@atlaskit/calendar';
|
|
9
11
|
import { Layering } from '@atlaskit/layering';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
4
|
import { components } from '@atlaskit/select';
|
|
4
5
|
|
|
5
6
|
/**
|
|
@@ -40,7 +41,7 @@ export const makeSingleValue =
|
|
|
40
41
|
hasValue: hasValue,
|
|
41
42
|
innerProps: {
|
|
42
43
|
id,
|
|
43
|
-
lang
|
|
44
|
+
lang: fg('platform-dst-single-value-lang-replace') ? lang.replace('_', '-') : lang
|
|
44
45
|
},
|
|
45
46
|
isDisabled: isDisabled,
|
|
46
47
|
isMulti: isMulti,
|
|
@@ -12,6 +12,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
12
12
|
/// <reference types="node" />
|
|
13
13
|
// for typing `process`
|
|
14
14
|
import { forwardRef, useCallback, useEffect, useReducer, useRef, useState } from 'react';
|
|
15
|
+
|
|
16
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
15
17
|
import { isValid, parseISO } from 'date-fns';
|
|
16
18
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
17
19
|
import { IconButton } from '@atlaskit/button/new';
|
|
@@ -14,6 +14,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
14
14
|
/// <reference types="node" />
|
|
15
15
|
|
|
16
16
|
import React from 'react';
|
|
17
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
17
18
|
import { format, isValid, parseISO } from 'date-fns';
|
|
18
19
|
import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
19
20
|
import SelectClearIcon from '@atlaskit/icon/core/cross-circle';
|
|
@@ -13,6 +13,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
13
13
|
// for typing `process`
|
|
14
14
|
|
|
15
15
|
import React, { forwardRef, useCallback, useEffect, useState } from 'react';
|
|
16
|
+
|
|
17
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
16
18
|
import { format, isValid, parseISO } from 'date-fns';
|
|
17
19
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
18
20
|
import { IconButton } from '@atlaskit/button/new';
|
|
@@ -6,6 +6,8 @@ var _excluded = ["styles"];
|
|
|
6
6
|
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; }
|
|
7
7
|
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) { _defineProperty(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; }
|
|
8
8
|
import React, { forwardRef, useCallback, useEffect, useReducer, useState } from 'react';
|
|
9
|
+
|
|
10
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
9
11
|
import { format, isValid } from 'date-fns';
|
|
10
12
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
11
13
|
import __noop from '@atlaskit/ds-lib/noop';
|
|
@@ -17,6 +17,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
17
17
|
* broken out to be it's own function.
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
20
21
|
import { format, lastDayOfMonth, parseISO } from 'date-fns';
|
|
21
22
|
import { convertTokens } from './parse-tokens';
|
|
22
23
|
import { defaultDateFormat, padToTwo, placeholderDatetime } from './index';
|
|
@@ -4,6 +4,8 @@ import "./menu.compiled.css";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { Fragment } from 'react';
|
|
7
|
+
|
|
8
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
7
9
|
import { isValid, parseISO } from 'date-fns';
|
|
8
10
|
import Calendar from '@atlaskit/calendar';
|
|
9
11
|
import { Layering } from '@atlaskit/layering';
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["children", "className", "clearValue", "cx", "data", "getStyles", "getValue", "hasValue", "isDisabled", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue"];
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
6
|
import { components } from '@atlaskit/select';
|
|
6
7
|
|
|
7
8
|
/**
|
|
@@ -41,7 +42,7 @@ function makeSingleValue(_ref) {
|
|
|
41
42
|
hasValue: hasValue,
|
|
42
43
|
innerProps: {
|
|
43
44
|
id: id,
|
|
44
|
-
lang: lang
|
|
45
|
+
lang: fg('platform-dst-single-value-lang-replace') ? lang.replace('_', '-') : lang
|
|
45
46
|
},
|
|
46
47
|
isDisabled: isDisabled,
|
|
47
48
|
isMulti: isMulti,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/datetime-picker",
|
|
3
|
-
"version": "17.5.
|
|
3
|
+
"version": "17.5.7",
|
|
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/"
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/analytics-next": "^11.
|
|
35
|
+
"@atlaskit/analytics-next": "^11.2.0",
|
|
36
36
|
"@atlaskit/button": "^23.10.0",
|
|
37
37
|
"@atlaskit/calendar": "^17.2.0",
|
|
38
38
|
"@atlaskit/css": "^0.19.0",
|
|
39
39
|
"@atlaskit/ds-lib": "^6.0.0",
|
|
40
|
-
"@atlaskit/icon": "^33.
|
|
40
|
+
"@atlaskit/icon": "^33.1.0",
|
|
41
41
|
"@atlaskit/layering": "^3.6.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": "^18.
|
|
46
|
-
"@atlaskit/select": "^21.
|
|
47
|
-
"@atlaskit/tokens": "^11.
|
|
45
|
+
"@atlaskit/primitives": "^18.1.0",
|
|
46
|
+
"@atlaskit/select": "^21.9.0",
|
|
47
|
+
"@atlaskit/tokens": "^11.4.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^0.20.0",
|
|
50
50
|
"date-fns": "^2.17.0"
|
|
@@ -59,15 +59,16 @@
|
|
|
59
59
|
"@atlaskit/code": "^17.4.0",
|
|
60
60
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
61
61
|
"@atlaskit/docs": "^11.7.0",
|
|
62
|
-
"@atlaskit/form": "^15.
|
|
62
|
+
"@atlaskit/form": "^15.5.0",
|
|
63
63
|
"@atlaskit/heading": "^5.3.0",
|
|
64
64
|
"@atlaskit/link": "^3.3.0",
|
|
65
|
-
"@atlaskit/modal-dialog": "^14.
|
|
65
|
+
"@atlaskit/modal-dialog": "^14.13.0",
|
|
66
66
|
"@atlaskit/popup": "^4.14.0",
|
|
67
67
|
"@atlaskit/range": "^10.0.0",
|
|
68
68
|
"@atlaskit/section-message": "^8.12.0",
|
|
69
69
|
"@atlaskit/textfield": "^8.2.0",
|
|
70
70
|
"@atlaskit/toggle": "^15.2.0",
|
|
71
|
+
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
71
72
|
"@atlassian/ssr-tests": "workspace:^",
|
|
72
73
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
73
74
|
"@testing-library/react": "^16.3.0",
|
|
@@ -111,6 +112,9 @@
|
|
|
111
112
|
},
|
|
112
113
|
"platform-dst-shape-theme-default": {
|
|
113
114
|
"type": "boolean"
|
|
115
|
+
},
|
|
116
|
+
"platform-dst-single-value-lang-replace": {
|
|
117
|
+
"type": "boolean"
|
|
114
118
|
}
|
|
115
119
|
},
|
|
116
120
|
"homepage": "https://atlassian.design/components/datetime-picker/"
|