@atlaskit/datetime-picker 13.0.10 → 13.0.12
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 +30 -90
- package/dist/cjs/components/date-time-picker.js +14 -65
- package/dist/cjs/components/time-picker.js +11 -24
- package/dist/cjs/internal/date-time-picker-container.js +84 -0
- package/dist/cjs/internal/fixed-layer-menu.js +29 -0
- package/dist/cjs/internal/menu.js +57 -0
- package/dist/cjs/internal/parse-date.js +30 -0
- package/dist/es2019/components/date-picker.js +7 -67
- package/dist/es2019/components/date-time-picker.js +12 -63
- package/dist/es2019/components/time-picker.js +5 -16
- package/dist/es2019/internal/date-time-picker-container.js +77 -0
- package/dist/es2019/internal/fixed-layer-menu.js +20 -0
- package/dist/es2019/internal/menu.js +48 -0
- package/dist/es2019/internal/parse-date.js +22 -0
- package/dist/esm/components/date-picker.js +23 -83
- package/dist/esm/components/date-time-picker.js +12 -63
- package/dist/esm/components/time-picker.js +8 -21
- package/dist/esm/internal/date-time-picker-container.js +76 -0
- package/dist/esm/internal/fixed-layer-menu.js +23 -0
- package/dist/esm/internal/menu.js +49 -0
- package/dist/esm/internal/parse-date.js +22 -0
- package/dist/types/components/date-picker.d.ts +2 -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/date-time-picker-container.d.ts +15 -0
- package/dist/types/internal/fixed-layer-menu.d.ts +7 -0
- package/dist/types/internal/menu.d.ts +7 -0
- package/dist/types/internal/parse-date.d.ts +11 -0
- package/dist/types-ts4.5/components/date-picker.d.ts +2 -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/date-time-picker-container.d.ts +15 -0
- package/dist/types-ts4.5/internal/fixed-layer-menu.d.ts +7 -0
- package/dist/types-ts4.5/internal/menu.d.ts +7 -0
- package/dist/types-ts4.5/internal/parse-date.d.ts +11 -0
- package/package.json +2 -2
- /package/dist/cjs/{components/utils.js → internal/parse-tokens.js} +0 -0
- /package/dist/es2019/{components/utils.js → internal/parse-tokens.js} +0 -0
- /package/dist/esm/{components/utils.js → internal/parse-tokens.js} +0 -0
- /package/dist/types/{components/utils.d.ts → internal/parse-tokens.d.ts} +0 -0
- /package/dist/types-ts4.5/{components/utils.d.ts → internal/parse-tokens.d.ts} +0 -0
|
@@ -17,68 +17,15 @@ import { format, isValid, parseISO } from 'date-fns';
|
|
|
17
17
|
import pick from 'lodash/pick';
|
|
18
18
|
import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
19
19
|
import SelectClearIcon from '@atlaskit/icon/glyph/select-clear';
|
|
20
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
21
20
|
import { mergeStyles } from '@atlaskit/select';
|
|
22
|
-
import {
|
|
21
|
+
import { N500, N70 } from '@atlaskit/theme/colors';
|
|
23
22
|
import { defaultTimes, formatDateTimeZoneIntoIso } from '../internal';
|
|
23
|
+
import { DateTimePickerContainer } from '../internal/date-time-picker-container';
|
|
24
|
+
import { convertTokens } from '../internal/parse-tokens';
|
|
24
25
|
import DatePicker from './date-picker';
|
|
25
26
|
import TimePicker from './time-picker';
|
|
26
|
-
import { convertTokens } from './utils';
|
|
27
27
|
var packageName = "@atlaskit/datetime-picker";
|
|
28
|
-
var packageVersion = "13.0.
|
|
29
|
-
var isInvalidBorderStyles = css({
|
|
30
|
-
borderColor: "var(--ds-border-danger, ".concat(R400, ")")
|
|
31
|
-
});
|
|
32
|
-
var isFocusedBorderStyles = css({
|
|
33
|
-
borderColor: "var(--ds-border-focused, ".concat(B100, ")")
|
|
34
|
-
});
|
|
35
|
-
var isFocusedStyles = css({
|
|
36
|
-
backgroundColor: "var(--ds-background-input-pressed, ".concat(N0, ")")
|
|
37
|
-
});
|
|
38
|
-
var subtleBgStyles = css({
|
|
39
|
-
backgroundColor: 'transparent',
|
|
40
|
-
borderColor: 'transparent'
|
|
41
|
-
});
|
|
42
|
-
var subtleFocusedBgStyles = css({
|
|
43
|
-
backgroundColor: "var(--ds-background-input-pressed, transparent)",
|
|
44
|
-
borderColor: 'transparent'
|
|
45
|
-
});
|
|
46
|
-
var noBgStyles = css({
|
|
47
|
-
backgroundColor: 'transparent',
|
|
48
|
-
borderColor: 'transparent',
|
|
49
|
-
'&:hover': {
|
|
50
|
-
backgroundColor: 'transparent',
|
|
51
|
-
borderColor: 'transparent'
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
var hoverStyles = css({
|
|
55
|
-
'&:hover': {
|
|
56
|
-
backgroundColor: "var(--ds-background-input-hovered, ".concat(N30, ")"),
|
|
57
|
-
borderColor: "var(--ds-border-input, ".concat(getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? N100 : N30, ")")
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
var isInvalidHoverStyles = css({
|
|
61
|
-
'&:hover': {
|
|
62
|
-
backgroundColor: "var(--ds-background-input-hovered, ".concat(N0, ")"),
|
|
63
|
-
borderColor: "var(--ds-border-danger, ".concat(R400, ")")
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
var isDisabledStyles = css({
|
|
67
|
-
'&:hover': {
|
|
68
|
-
cursor: 'default'
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
var baseContainerStyles = css({
|
|
72
|
-
display: 'flex',
|
|
73
|
-
backgroundColor: "var(--ds-background-input, ".concat(N20, ")"),
|
|
74
|
-
border: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border-input, ".concat(N100, ")")) : "2px solid ".concat("var(--ds-border-input, ".concat(N20, ")")),
|
|
75
|
-
borderRadius: "var(--ds-border-radius, 3px)",
|
|
76
|
-
transition: 'background-color 200ms ease-in-out, border-color 200ms ease-in-out',
|
|
77
|
-
'&:hover': {
|
|
78
|
-
cursor: 'pointer'
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
|
|
28
|
+
var packageVersion = "13.0.12";
|
|
82
29
|
// Make DatePicker 50% the width of DateTimePicker
|
|
83
30
|
// If rendering an icon container, shrink the TimePicker
|
|
84
31
|
var datePickerContainerStyles = css({
|
|
@@ -298,12 +245,14 @@ var DateTimePicker = /*#__PURE__*/function (_React$Component) {
|
|
|
298
245
|
// Render DateTimePicker's IconContainer when a value has been filled
|
|
299
246
|
// Don't use Date or TimePicker's because they can't be customised
|
|
300
247
|
var isClearable = Boolean(dateValue || timeValue);
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
248
|
+
return jsx(DateTimePickerContainer, {
|
|
249
|
+
appearance: bothProps.appearance,
|
|
250
|
+
isDisabled: isDisabled,
|
|
251
|
+
isFocused: isFocused,
|
|
252
|
+
isInvalid: bothProps.isInvalid,
|
|
253
|
+
testId: testId,
|
|
254
|
+
innerProps: innerProps
|
|
255
|
+
}, jsx("input", {
|
|
307
256
|
name: name,
|
|
308
257
|
type: "hidden",
|
|
309
258
|
value: value,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
1
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
5
|
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
|
|
@@ -5,10 +7,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
5
7
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
6
8
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
9
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
|
-
|
|
9
|
-
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
10
|
-
var _excluded = ["selectProps"],
|
|
11
|
-
_excluded2 = ["styles"];
|
|
10
|
+
var _excluded = ["styles"];
|
|
12
11
|
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; }
|
|
13
12
|
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; }
|
|
14
13
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
@@ -20,16 +19,16 @@ import { format, isValid } from 'date-fns';
|
|
|
20
19
|
import pick from 'lodash/pick';
|
|
21
20
|
import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
22
21
|
import { createLocalizationProvider } from '@atlaskit/locale';
|
|
23
|
-
import Select, {
|
|
22
|
+
import Select, { CreatableSelect, mergeStyles } from '@atlaskit/select';
|
|
24
23
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
25
24
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
26
25
|
import { defaultTimeFormat, defaultTimes, EmptyComponent, placeholderDatetime } from '../internal';
|
|
27
|
-
import
|
|
26
|
+
import { FixedLayerMenu } from '../internal/fixed-layer-menu';
|
|
28
27
|
import parseTime from '../internal/parse-time';
|
|
28
|
+
import { convertTokens } from '../internal/parse-tokens';
|
|
29
29
|
import { makeSingleValue } from '../internal/single-value';
|
|
30
|
-
import { convertTokens } from './utils';
|
|
31
30
|
var packageName = "@atlaskit/datetime-picker";
|
|
32
|
-
var packageVersion = "13.0.
|
|
31
|
+
var packageVersion = "13.0.12";
|
|
33
32
|
var menuStyles = {
|
|
34
33
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
35
34
|
position: 'static',
|
|
@@ -38,18 +37,6 @@ var menuStyles = {
|
|
|
38
37
|
/* React-Popper has already offset the menu so we need to reset the margin, otherwise the offset value is doubled */
|
|
39
38
|
margin: 0
|
|
40
39
|
};
|
|
41
|
-
var FixedLayerMenu = function FixedLayerMenu(_ref) {
|
|
42
|
-
var selectProps = _ref.selectProps,
|
|
43
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
44
|
-
return /*#__PURE__*/React.createElement(FixedLayer, {
|
|
45
|
-
inputValue: selectProps.inputValue,
|
|
46
|
-
containerRef: selectProps.fixedLayerRef,
|
|
47
|
-
content: /*#__PURE__*/React.createElement(components.Menu, _extends({}, rest, {
|
|
48
|
-
menuShouldScrollIntoView: false
|
|
49
|
-
})),
|
|
50
|
-
testId: selectProps.testId
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
40
|
var timePickerDefaultProps = {
|
|
54
41
|
appearance: 'default',
|
|
55
42
|
autoFocus: false,
|
|
@@ -228,7 +215,7 @@ var TimePicker = /*#__PURE__*/function (_React$Component) {
|
|
|
228
215
|
isOpen = _this$getSafeState.isOpen;
|
|
229
216
|
var _selectProps$styles = selectProps.styles,
|
|
230
217
|
selectStyles = _selectProps$styles === void 0 ? {} : _selectProps$styles,
|
|
231
|
-
otherSelectProps = _objectWithoutProperties(selectProps,
|
|
218
|
+
otherSelectProps = _objectWithoutProperties(selectProps, _excluded);
|
|
232
219
|
var SelectComponent = timeIsEditable ? CreatableSelect : Select;
|
|
233
220
|
|
|
234
221
|
/**
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
/** @jsx jsx */
|
|
3
|
+
import { css, jsx } from '@emotion/react';
|
|
4
|
+
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
import { B100, N0, N100, N20, N30, R400 } from '@atlaskit/theme/colors';
|
|
6
|
+
var isInvalidBorderStyles = css({
|
|
7
|
+
borderColor: "var(--ds-border-danger, ".concat(R400, ")")
|
|
8
|
+
});
|
|
9
|
+
var isFocusedBorderStyles = css({
|
|
10
|
+
borderColor: "var(--ds-border-focused, ".concat(B100, ")")
|
|
11
|
+
});
|
|
12
|
+
var isFocusedStyles = css({
|
|
13
|
+
backgroundColor: "var(--ds-background-input-pressed, ".concat(N0, ")")
|
|
14
|
+
});
|
|
15
|
+
var subtleBgStyles = css({
|
|
16
|
+
backgroundColor: 'transparent',
|
|
17
|
+
borderColor: 'transparent'
|
|
18
|
+
});
|
|
19
|
+
var subtleFocusedBgStyles = css({
|
|
20
|
+
backgroundColor: "var(--ds-background-input-pressed, transparent)",
|
|
21
|
+
borderColor: 'transparent'
|
|
22
|
+
});
|
|
23
|
+
var noBgStyles = css({
|
|
24
|
+
backgroundColor: 'transparent',
|
|
25
|
+
borderColor: 'transparent',
|
|
26
|
+
'&:hover': {
|
|
27
|
+
backgroundColor: 'transparent',
|
|
28
|
+
borderColor: 'transparent'
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
var hoverStyles = css({
|
|
32
|
+
'&:hover': {
|
|
33
|
+
backgroundColor: "var(--ds-background-input-hovered, ".concat(N30, ")"),
|
|
34
|
+
borderColor: "var(--ds-border-input, ".concat(getBooleanFF('platform.design-system-team.border-checkbox_nyoiu') ? N100 : N30, ")")
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
var isInvalidHoverStyles = css({
|
|
38
|
+
'&:hover': {
|
|
39
|
+
backgroundColor: "var(--ds-background-input-hovered, ".concat(N0, ")"),
|
|
40
|
+
borderColor: "var(--ds-border-danger, ".concat(R400, ")")
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
var isDisabledStyles = css({
|
|
44
|
+
'&:hover': {
|
|
45
|
+
cursor: 'default'
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
var baseContainerStyles = css({
|
|
49
|
+
display: 'flex',
|
|
50
|
+
backgroundColor: "var(--ds-background-input, ".concat(N20, ")"),
|
|
51
|
+
border: getBooleanFF('platform.design-system-team.update-input-border-wdith_5abwv') ? "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border-input, ".concat(N100, ")")) : "2px solid ".concat("var(--ds-border-input, ".concat(N20, ")")),
|
|
52
|
+
borderRadius: "var(--ds-border-radius, 3px)",
|
|
53
|
+
transition: 'background-color 200ms ease-in-out, border-color 200ms ease-in-out',
|
|
54
|
+
'&:hover': {
|
|
55
|
+
cursor: 'pointer'
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* This is the container for the datetime picker component.
|
|
61
|
+
*/
|
|
62
|
+
export var DateTimePickerContainer = function DateTimePickerContainer(_ref) {
|
|
63
|
+
var isDisabled = _ref.isDisabled,
|
|
64
|
+
isFocused = _ref.isFocused,
|
|
65
|
+
appearance = _ref.appearance,
|
|
66
|
+
isInvalid = _ref.isInvalid,
|
|
67
|
+
innerProps = _ref.innerProps,
|
|
68
|
+
testId = _ref.testId,
|
|
69
|
+
children = _ref.children;
|
|
70
|
+
var notFocusedOrIsDisabled = !(isFocused || isDisabled);
|
|
71
|
+
return jsx("div", _extends({
|
|
72
|
+
css: [baseContainerStyles, isDisabled && isDisabledStyles, isFocused && isFocusedStyles, appearance === 'subtle' && (isFocused ? subtleFocusedBgStyles : subtleBgStyles), isFocused && isFocusedBorderStyles, isInvalid && isInvalidBorderStyles, notFocusedOrIsDisabled && (isInvalid ? isInvalidHoverStyles : hoverStyles), appearance === 'none' && noBgStyles]
|
|
73
|
+
}, innerProps, {
|
|
74
|
+
"data-testid": testId
|
|
75
|
+
}), children);
|
|
76
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["selectProps"];
|
|
4
|
+
/** @jsx jsx */
|
|
5
|
+
import { jsx } from '@emotion/react';
|
|
6
|
+
import { components } from '@atlaskit/select';
|
|
7
|
+
import FixedLayer from '../internal/fixed-layer';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* This is the fixed layer menu used in the time picker.
|
|
11
|
+
*/
|
|
12
|
+
export var FixedLayerMenu = function FixedLayerMenu(_ref) {
|
|
13
|
+
var selectProps = _ref.selectProps,
|
|
14
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
15
|
+
return jsx(FixedLayer, {
|
|
16
|
+
inputValue: selectProps.inputValue,
|
|
17
|
+
containerRef: selectProps.fixedLayerRef,
|
|
18
|
+
content: jsx(components.Menu, _extends({}, rest, {
|
|
19
|
+
menuShouldScrollIntoView: false
|
|
20
|
+
})),
|
|
21
|
+
testId: selectProps.testId
|
|
22
|
+
});
|
|
23
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
/** @jsx jsx */
|
|
3
|
+
import { css, jsx } from '@emotion/react';
|
|
4
|
+
import Calendar from '@atlaskit/calendar';
|
|
5
|
+
import { UNSAFE_LAYERING } from '@atlaskit/layering';
|
|
6
|
+
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
7
|
+
import { N0, N50A, N60A } from '@atlaskit/theme/colors';
|
|
8
|
+
import { layers } from '@atlaskit/theme/constants';
|
|
9
|
+
import FixedLayer from '../internal/fixed-layer';
|
|
10
|
+
import { getValidDate } from './parse-date';
|
|
11
|
+
var menuStyles = css({
|
|
12
|
+
zIndex: layers.dialog(),
|
|
13
|
+
backgroundColor: "var(--ds-surface-overlay, ".concat(N0, ")"),
|
|
14
|
+
borderRadius: "var(--ds-border-radius, 3px)",
|
|
15
|
+
boxShadow: "var(--ds-shadow-overlay, ".concat("0 4px 8px -2px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")"),
|
|
16
|
+
overflow: 'hidden'
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* This is the menu used in the select of the date picker.
|
|
21
|
+
*/
|
|
22
|
+
export var Menu = function Menu(_ref) {
|
|
23
|
+
var selectProps = _ref.selectProps,
|
|
24
|
+
innerProps = _ref.innerProps;
|
|
25
|
+
return jsx(UNSAFE_LAYERING, {
|
|
26
|
+
isDisabled: getBooleanFF('platform.design-system-team.layering_qmiw3') ? false : true
|
|
27
|
+
}, jsx(FixedLayer, {
|
|
28
|
+
inputValue: selectProps.inputValue,
|
|
29
|
+
containerRef: selectProps.calendarContainerRef,
|
|
30
|
+
content: jsx("div", _extends({
|
|
31
|
+
css: menuStyles
|
|
32
|
+
}, innerProps), jsx(Calendar, _extends({}, getValidDate(selectProps.calendarValue), getValidDate(selectProps.calendarView), {
|
|
33
|
+
disabled: selectProps.calendarDisabled,
|
|
34
|
+
disabledDateFilter: selectProps.calendarDisabledDateFilter,
|
|
35
|
+
minDate: selectProps.calendarMinDate,
|
|
36
|
+
maxDate: selectProps.calendarMaxDate,
|
|
37
|
+
nextMonthLabel: selectProps.nextMonthLabel,
|
|
38
|
+
onChange: selectProps.onCalendarChange,
|
|
39
|
+
onSelect: selectProps.onCalendarSelect,
|
|
40
|
+
previousMonthLabel: selectProps.previousMonthLabel,
|
|
41
|
+
calendarRef: selectProps.calendarRef,
|
|
42
|
+
selected: [selectProps.calendarValue],
|
|
43
|
+
locale: selectProps.calendarLocale,
|
|
44
|
+
testId: selectProps.testId && "".concat(selectProps.testId, "--calendar"),
|
|
45
|
+
weekStartDay: selectProps.calendarWeekStartDay
|
|
46
|
+
}))),
|
|
47
|
+
testId: selectProps.testId
|
|
48
|
+
}));
|
|
49
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { format, isValid, parseISO } from 'date-fns';
|
|
2
|
+
import { convertTokens } from './parse-tokens';
|
|
3
|
+
export function getValidDate(iso) {
|
|
4
|
+
var date = parseISO(iso);
|
|
5
|
+
return isValid(date) ? {
|
|
6
|
+
day: date.getDate(),
|
|
7
|
+
month: date.getMonth() + 1,
|
|
8
|
+
year: date.getFullYear()
|
|
9
|
+
} : {};
|
|
10
|
+
}
|
|
11
|
+
export function getShortISOString(date) {
|
|
12
|
+
return format(date, convertTokens('YYYY-MM-DD'));
|
|
13
|
+
}
|
|
14
|
+
export function getSafeCalendarValue(calendarValue) {
|
|
15
|
+
// If `calendarValue` has a year that is greater than 9999, default to
|
|
16
|
+
// today's date
|
|
17
|
+
var yearIsOverLimit = calendarValue.match(/^\d{5,}/);
|
|
18
|
+
if (yearIsOverLimit) {
|
|
19
|
+
return getShortISOString(new Date());
|
|
20
|
+
}
|
|
21
|
+
return calendarValue;
|
|
22
|
+
}
|
|
@@ -94,7 +94,6 @@ declare class DatePicker extends Component<DatePickerProps, State> {
|
|
|
94
94
|
onSelectBlur: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
95
95
|
onSelectFocus: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
96
96
|
onTextInput: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
97
|
-
getSafeCalendarValue: (calendarValue: string) => string;
|
|
98
97
|
onInputKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
|
|
99
98
|
onClear: () => void;
|
|
100
99
|
onSelectChange: (_value: ValueType<OptionType>, action: ActionMeta) => void;
|
|
@@ -120,7 +119,7 @@ declare class DatePicker extends Component<DatePickerProps, State> {
|
|
|
120
119
|
render(): jsx.JSX.Element;
|
|
121
120
|
}
|
|
122
121
|
export { DatePicker as DatePickerWithoutAnalytics };
|
|
123
|
-
declare const _default: import("react").ForwardRefExoticComponent<Pick<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "
|
|
122
|
+
declare const _default: import("react").ForwardRefExoticComponent<Pick<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "placeholder" | "maxDate" | "minDate" | "nextMonthLabel" | "previousMonthLabel" | "weekStartDay" | "value" | "isOpen" | "parseInputValue" | "formatDisplayLabel" | "dateFormat"> & Partial<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "icon" | "disabled" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "onFocus" | "onBlur" | "onChange" | "disabledDateFilter" | "locale" | "autoFocus" | "defaultIsOpen" | "name" | "spacing" | "isInvalid" | "hideIcon">> & Partial<Pick<{
|
|
124
123
|
appearance: Appearance;
|
|
125
124
|
autoFocus: boolean;
|
|
126
125
|
defaultIsOpen: boolean;
|
|
@@ -140,5 +139,5 @@ declare const _default: import("react").ForwardRefExoticComponent<Pick<Pick<Omit
|
|
|
140
139
|
selectProps: {};
|
|
141
140
|
spacing: Spacing;
|
|
142
141
|
locale: string;
|
|
143
|
-
}, never>> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "testId" | "icon" | "disabled" | "
|
|
142
|
+
}, never>> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "testId" | "icon" | "disabled" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "disabledDateFilter" | "maxDate" | "minDate" | "nextMonthLabel" | "previousMonthLabel" | "locale" | "analyticsContext" | "weekStartDay" | "value" | "autoFocus" | "defaultIsOpen" | "isOpen" | "name" | "parseInputValue" | "formatDisplayLabel" | "spacing" | "isInvalid" | "hideIcon" | "dateFormat"> & import("react").RefAttributes<any>>;
|
|
144
143
|
export default _default;
|
|
@@ -81,7 +81,7 @@ declare class DateTimePicker extends React.Component<DateTimePickerProps, State>
|
|
|
81
81
|
render(): jsx.JSX.Element;
|
|
82
82
|
}
|
|
83
83
|
export { DateTimePicker as DateTimePickerWithoutAnalytics };
|
|
84
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<DateTimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "value" | "dateFormat" | "timeFormat" | "parseValue"> & Partial<Pick<Omit<DateTimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "times" | "
|
|
84
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<DateTimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "value" | "dateFormat" | "timeFormat" | "parseValue"> & Partial<Pick<Omit<DateTimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "times" | "appearance" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "onFocus" | "onBlur" | "onChange" | "locale" | "autoFocus" | "name" | "spacing" | "isInvalid" | "timeIsEditable" | "datePickerProps" | "timePickerProps" | "datePickerSelectProps" | "timePickerSelectProps">> & Partial<Pick<{
|
|
85
85
|
appearance: string;
|
|
86
86
|
autoFocus: boolean;
|
|
87
87
|
isDisabled: boolean;
|
|
@@ -101,5 +101,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<DateTimeP
|
|
|
101
101
|
times: string[];
|
|
102
102
|
spacing: string;
|
|
103
103
|
locale: string;
|
|
104
|
-
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "innerProps" | "isDisabled" | "
|
|
104
|
+
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "appearance" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "onFocus" | "onBlur" | "onChange" | "locale" | "analyticsContext" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "dateFormat" | "timeIsEditable" | "timeFormat" | "datePickerProps" | "timePickerProps" | "parseValue" | "datePickerSelectProps" | "timePickerSelectProps"> & React.RefAttributes<any>>;
|
|
105
105
|
export default _default;
|
|
@@ -78,7 +78,7 @@ declare class TimePicker extends React.Component<TimePickerProps, State> {
|
|
|
78
78
|
render(): JSX.Element;
|
|
79
79
|
}
|
|
80
80
|
export { TimePicker as TimePickerWithoutAnalytics };
|
|
81
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<TimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "
|
|
81
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<TimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "placeholder" | "value" | "isOpen" | "formatDisplayLabel" | "timeFormat"> & Partial<Pick<Omit<TimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "times" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "onFocus" | "onBlur" | "onChange" | "locale" | "autoFocus" | "defaultIsOpen" | "name" | "parseInputValue" | "spacing" | "isInvalid" | "hideIcon" | "timeIsEditable">> & Partial<Pick<{
|
|
82
82
|
appearance: Appearance;
|
|
83
83
|
autoFocus: boolean;
|
|
84
84
|
defaultIsOpen: boolean;
|
|
@@ -98,5 +98,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<TimePicke
|
|
|
98
98
|
times: string[];
|
|
99
99
|
timeIsEditable: boolean;
|
|
100
100
|
locale: string;
|
|
101
|
-
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "innerProps" | "isDisabled" | "
|
|
101
|
+
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "locale" | "analyticsContext" | "value" | "autoFocus" | "defaultIsOpen" | "isOpen" | "name" | "parseInputValue" | "formatDisplayLabel" | "spacing" | "isInvalid" | "hideIcon" | "timeIsEditable" | "timeFormat"> & React.RefAttributes<any>>;
|
|
102
102
|
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
|
+
import { Appearance } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* This is the container for the datetime picker component.
|
|
6
|
+
*/
|
|
7
|
+
export declare const DateTimePickerContainer: ({ isDisabled, isFocused, appearance, isInvalid, innerProps, testId, children, }: {
|
|
8
|
+
isDisabled: boolean;
|
|
9
|
+
isFocused: boolean;
|
|
10
|
+
appearance: Appearance;
|
|
11
|
+
isInvalid: boolean;
|
|
12
|
+
innerProps: React.AllHTMLAttributes<HTMLElement>;
|
|
13
|
+
testId?: string | undefined;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
}) => jsx.JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
|
+
import { MenuProps, OptionType } from '@atlaskit/select';
|
|
4
|
+
/**
|
|
5
|
+
* This is the fixed layer menu used in the time picker.
|
|
6
|
+
*/
|
|
7
|
+
export declare const FixedLayerMenu: ({ selectProps, ...rest }: MenuProps<OptionType>) => jsx.JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
|
+
import { MenuProps } from '@atlaskit/select';
|
|
4
|
+
/**
|
|
5
|
+
* This is the menu used in the select of the date picker.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Menu: ({ selectProps, innerProps }: MenuProps<any>) => jsx.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare function getValidDate(iso: string): {
|
|
2
|
+
day: number;
|
|
3
|
+
month: number;
|
|
4
|
+
year: number;
|
|
5
|
+
} | {
|
|
6
|
+
day?: undefined;
|
|
7
|
+
month?: undefined;
|
|
8
|
+
year?: undefined;
|
|
9
|
+
};
|
|
10
|
+
export declare function getShortISOString(date: Date): string;
|
|
11
|
+
export declare function getSafeCalendarValue(calendarValue: string): string;
|
|
@@ -94,7 +94,6 @@ declare class DatePicker extends Component<DatePickerProps, State> {
|
|
|
94
94
|
onSelectBlur: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
95
95
|
onSelectFocus: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
96
96
|
onTextInput: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
97
|
-
getSafeCalendarValue: (calendarValue: string) => string;
|
|
98
97
|
onInputKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
|
|
99
98
|
onClear: () => void;
|
|
100
99
|
onSelectChange: (_value: ValueType<OptionType>, action: ActionMeta) => void;
|
|
@@ -120,7 +119,7 @@ declare class DatePicker extends Component<DatePickerProps, State> {
|
|
|
120
119
|
render(): jsx.JSX.Element;
|
|
121
120
|
}
|
|
122
121
|
export { DatePicker as DatePickerWithoutAnalytics };
|
|
123
|
-
declare const _default: import("react").ForwardRefExoticComponent<Pick<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "
|
|
122
|
+
declare const _default: import("react").ForwardRefExoticComponent<Pick<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "placeholder" | "maxDate" | "minDate" | "nextMonthLabel" | "previousMonthLabel" | "weekStartDay" | "value" | "isOpen" | "parseInputValue" | "formatDisplayLabel" | "dateFormat"> & Partial<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "icon" | "disabled" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "onFocus" | "onBlur" | "onChange" | "disabledDateFilter" | "locale" | "autoFocus" | "defaultIsOpen" | "name" | "spacing" | "isInvalid" | "hideIcon">> & Partial<Pick<{
|
|
124
123
|
appearance: Appearance;
|
|
125
124
|
autoFocus: boolean;
|
|
126
125
|
defaultIsOpen: boolean;
|
|
@@ -140,5 +139,5 @@ declare const _default: import("react").ForwardRefExoticComponent<Pick<Pick<Omit
|
|
|
140
139
|
selectProps: {};
|
|
141
140
|
spacing: Spacing;
|
|
142
141
|
locale: string;
|
|
143
|
-
}, never>> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "testId" | "icon" | "disabled" | "
|
|
142
|
+
}, never>> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "testId" | "icon" | "disabled" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "disabledDateFilter" | "maxDate" | "minDate" | "nextMonthLabel" | "previousMonthLabel" | "locale" | "analyticsContext" | "weekStartDay" | "value" | "autoFocus" | "defaultIsOpen" | "isOpen" | "name" | "parseInputValue" | "formatDisplayLabel" | "spacing" | "isInvalid" | "hideIcon" | "dateFormat"> & import("react").RefAttributes<any>>;
|
|
144
143
|
export default _default;
|
|
@@ -81,7 +81,7 @@ declare class DateTimePicker extends React.Component<DateTimePickerProps, State>
|
|
|
81
81
|
render(): jsx.JSX.Element;
|
|
82
82
|
}
|
|
83
83
|
export { DateTimePicker as DateTimePickerWithoutAnalytics };
|
|
84
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<DateTimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "value" | "dateFormat" | "timeFormat" | "parseValue"> & Partial<Pick<Omit<DateTimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "times" | "
|
|
84
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<DateTimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "value" | "dateFormat" | "timeFormat" | "parseValue"> & Partial<Pick<Omit<DateTimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "times" | "appearance" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "onFocus" | "onBlur" | "onChange" | "locale" | "autoFocus" | "name" | "spacing" | "isInvalid" | "timeIsEditable" | "datePickerProps" | "timePickerProps" | "datePickerSelectProps" | "timePickerSelectProps">> & Partial<Pick<{
|
|
85
85
|
appearance: string;
|
|
86
86
|
autoFocus: boolean;
|
|
87
87
|
isDisabled: boolean;
|
|
@@ -101,5 +101,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<DateTimeP
|
|
|
101
101
|
times: string[];
|
|
102
102
|
spacing: string;
|
|
103
103
|
locale: string;
|
|
104
|
-
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "innerProps" | "isDisabled" | "
|
|
104
|
+
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "appearance" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "onFocus" | "onBlur" | "onChange" | "locale" | "analyticsContext" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "dateFormat" | "timeIsEditable" | "timeFormat" | "datePickerProps" | "timePickerProps" | "parseValue" | "datePickerSelectProps" | "timePickerSelectProps"> & React.RefAttributes<any>>;
|
|
105
105
|
export default _default;
|
|
@@ -78,7 +78,7 @@ declare class TimePicker extends React.Component<TimePickerProps, State> {
|
|
|
78
78
|
render(): JSX.Element;
|
|
79
79
|
}
|
|
80
80
|
export { TimePicker as TimePickerWithoutAnalytics };
|
|
81
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<TimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "
|
|
81
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<TimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "placeholder" | "value" | "isOpen" | "formatDisplayLabel" | "timeFormat"> & Partial<Pick<Omit<TimePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "times" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "onFocus" | "onBlur" | "onChange" | "locale" | "autoFocus" | "defaultIsOpen" | "name" | "parseInputValue" | "spacing" | "isInvalid" | "hideIcon" | "timeIsEditable">> & Partial<Pick<{
|
|
82
82
|
appearance: Appearance;
|
|
83
83
|
autoFocus: boolean;
|
|
84
84
|
defaultIsOpen: boolean;
|
|
@@ -98,5 +98,5 @@ declare const _default: React.ForwardRefExoticComponent<Pick<Pick<Omit<TimePicke
|
|
|
98
98
|
times: string[];
|
|
99
99
|
timeIsEditable: boolean;
|
|
100
100
|
locale: string;
|
|
101
|
-
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "innerProps" | "isDisabled" | "
|
|
101
|
+
}, never>> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "times" | "testId" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "placeholder" | "onFocus" | "onBlur" | "onChange" | "locale" | "analyticsContext" | "value" | "autoFocus" | "defaultIsOpen" | "isOpen" | "name" | "parseInputValue" | "formatDisplayLabel" | "spacing" | "isInvalid" | "hideIcon" | "timeIsEditable" | "timeFormat"> & React.RefAttributes<any>>;
|
|
102
102
|
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
|
+
import { Appearance } from '../types';
|
|
4
|
+
/**
|
|
5
|
+
* This is the container for the datetime picker component.
|
|
6
|
+
*/
|
|
7
|
+
export declare const DateTimePickerContainer: ({ isDisabled, isFocused, appearance, isInvalid, innerProps, testId, children, }: {
|
|
8
|
+
isDisabled: boolean;
|
|
9
|
+
isFocused: boolean;
|
|
10
|
+
appearance: Appearance;
|
|
11
|
+
isInvalid: boolean;
|
|
12
|
+
innerProps: React.AllHTMLAttributes<HTMLElement>;
|
|
13
|
+
testId?: string | undefined;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
}) => jsx.JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
|
+
import { MenuProps, OptionType } from '@atlaskit/select';
|
|
4
|
+
/**
|
|
5
|
+
* This is the fixed layer menu used in the time picker.
|
|
6
|
+
*/
|
|
7
|
+
export declare const FixedLayerMenu: ({ selectProps, ...rest }: MenuProps<OptionType>) => jsx.JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
3
|
+
import { MenuProps } from '@atlaskit/select';
|
|
4
|
+
/**
|
|
5
|
+
* This is the menu used in the select of the date picker.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Menu: ({ selectProps, innerProps }: MenuProps<any>) => jsx.JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare function getValidDate(iso: string): {
|
|
2
|
+
day: number;
|
|
3
|
+
month: number;
|
|
4
|
+
year: number;
|
|
5
|
+
} | {
|
|
6
|
+
day?: undefined;
|
|
7
|
+
month?: undefined;
|
|
8
|
+
year?: undefined;
|
|
9
|
+
};
|
|
10
|
+
export declare function getShortISOString(date: Date): string;
|
|
11
|
+
export declare function getSafeCalendarValue(calendarValue: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/datetime-picker",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.12",
|
|
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/"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/analytics-next": "^9.2.0",
|
|
42
42
|
"@atlaskit/calendar": "^14.0.3",
|
|
43
43
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
44
|
-
"@atlaskit/icon": "^22.
|
|
44
|
+
"@atlaskit/icon": "^22.1.0",
|
|
45
45
|
"@atlaskit/layering": "^0.2.0",
|
|
46
46
|
"@atlaskit/locale": "^2.6.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|