@atlaskit/datetime-picker 15.1.2 → 15.1.4

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/datetime-picker
2
2
 
3
+ ## 15.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#143559](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/143559)
8
+ [`56dfbfe361f96`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/56dfbfe361f96) -
9
+ Upgrade react-select from 5.4 to 5.8 and replace it with internal atlaskit/react-select
10
+ - Updated dependencies
11
+
12
+ ## 15.1.3
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 15.1.2
4
19
 
5
20
  ### Patch Changes
@@ -36,7 +36,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
36
36
  * @jsx jsx
37
37
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
38
38
  var packageName = "@atlaskit/datetime-picker";
39
- var packageVersion = "15.1.2";
39
+ var packageVersion = "15.1.4";
40
40
  var datePickerDefaultProps = {
41
41
  defaultIsOpen: false,
42
42
  defaultValue: '',
@@ -390,6 +390,7 @@ var DatePickerComponent = exports.DatePickerWithoutAnalytics = /*#__PURE__*/func
390
390
  calendarWeekStartDay: weekStartDay,
391
391
  shouldSetFocusOnCurrentDay: this.state.shouldSetFocusOnCurrentDay
392
392
  };
393
+ //@ts-ignore react-select unsupported props
393
394
  var mergedStyles = (0, _select.mergeStyles)(selectStyles, {
394
395
  control: function control(base) {
395
396
  return _objectSpread(_objectSpread({}, base), disabledStyle);
@@ -457,6 +458,7 @@ var DatePickerComponent = exports.DatePickerWithoutAnalytics = /*#__PURE__*/func
457
458
  spacing: spacing,
458
459
  testId: testId
459
460
  // These aren't part of `Select`'s API, but we're using them here.
461
+ //@ts-ignore react-select unsupported props
460
462
  ,
461
463
  calendarContainerRef: calendarProps.calendarContainerRef,
462
464
  calendarDisabled: calendarProps.calendarDisabled,
@@ -32,7 +32,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
32
32
  * @jsx jsx
33
33
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
34
34
  var packageName = "@atlaskit/datetime-picker";
35
- var packageVersion = "15.1.2";
35
+ var packageVersion = "15.1.4";
36
36
  // Make DatePicker 50% the width of DateTimePicker
37
37
  // If rendering an icon container, shrink the TimePicker
38
38
  var datePickerContainerStyles = (0, _react2.css)({
@@ -27,7 +27,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
27
27
  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; }
28
28
  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; }
29
29
  var packageName = "@atlaskit/datetime-picker";
30
- var packageVersion = "15.1.2";
30
+ var packageVersion = "15.1.4";
31
31
  var menuStyles = {
32
32
  /* Need to remove default absolute positioning as that causes issues with position fixed */
33
33
  position: 'static',
@@ -281,6 +281,7 @@ var TimePicker = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
281
281
  ClearIndicator: _internal.EmptyComponent
282
282
  });
283
283
  var renderIconContainer = Boolean(!hideIcon && value);
284
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
284
285
  var mergedStyles = (0, _select.mergeStyles)(selectStyles, {
285
286
  control: function control(base) {
286
287
  return _objectSpread({}, base);
@@ -332,7 +333,7 @@ var TimePicker = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
332
333
  value: initialValue,
333
334
  spacing: spacing
334
335
  // We need this to get things to work, even though it's not supported.
335
- // @ts-ignore
336
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
336
337
  ,
337
338
  fixedLayerRef: containerRef,
338
339
  isInvalid: isInvalid,
@@ -45,7 +45,9 @@ var FixedLayerMenu = exports.FixedLayerMenu = function FixedLayerMenu(_ref) {
45
45
  children = _ref.children,
46
46
  rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
47
47
  return (0, _react.jsx)(_fixedLayer.default, {
48
- inputValue: selectProps.inputValue,
48
+ inputValue: selectProps.inputValue
49
+ //@ts-ignore react-select unsupported props
50
+ ,
49
51
  containerRef: selectProps.fixedLayerRef,
50
52
  content: (0, _react.jsx)(_select.components.Menu, (0, _extends2.default)({}, rest, {
51
53
  // eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides, @atlaskit/ui-styling-standard/no-classname-prop
@@ -73,7 +75,9 @@ var FixedLayerMenu = exports.FixedLayerMenu = function FixedLayerMenu(_ref) {
73
75
  // eslint-disable-next-line @repo/internal/react/no-unsafe-overrides, @atlaskit/design-system/no-unsafe-style-overrides
74
76
  ,
75
77
  theme: theme
76
- }), children),
78
+ }), children)
79
+ //@ts-ignore react-select unsupported props
80
+ ,
77
81
  testId: selectProps.testId
78
82
  });
79
83
  };
@@ -19,7 +19,7 @@ import { Menu } from '../internal/menu';
19
19
  import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
20
20
  import { makeSingleValue } from '../internal/single-value';
21
21
  const packageName = "@atlaskit/datetime-picker";
22
- const packageVersion = "15.1.2";
22
+ const packageVersion = "15.1.4";
23
23
  const datePickerDefaultProps = {
24
24
  defaultIsOpen: false,
25
25
  defaultValue: '',
@@ -374,6 +374,7 @@ class DatePickerComponent extends Component {
374
374
  calendarWeekStartDay: weekStartDay,
375
375
  shouldSetFocusOnCurrentDay: this.state.shouldSetFocusOnCurrentDay
376
376
  };
377
+ //@ts-ignore react-select unsupported props
377
378
  const mergedStyles = mergeStyles(selectStyles, {
378
379
  control: base => ({
379
380
  ...base,
@@ -441,6 +442,7 @@ class DatePickerComponent extends Component {
441
442
  spacing: spacing,
442
443
  testId: testId
443
444
  // These aren't part of `Select`'s API, but we're using them here.
445
+ //@ts-ignore react-select unsupported props
444
446
  ,
445
447
  calendarContainerRef: calendarProps.calendarContainerRef,
446
448
  calendarDisabled: calendarProps.calendarDisabled,
@@ -18,7 +18,7 @@ import { convertTokens } from '../internal/parse-tokens';
18
18
  import DatePicker from './date-picker';
19
19
  import TimePicker from './time-picker';
20
20
  const packageName = "@atlaskit/datetime-picker";
21
- const packageVersion = "15.1.2";
21
+ const packageVersion = "15.1.4";
22
22
  // Make DatePicker 50% the width of DateTimePicker
23
23
  // If rendering an icon container, shrink the TimePicker
24
24
  const datePickerContainerStyles = css({
@@ -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 = "15.1.2";
14
+ const packageVersion = "15.1.4";
15
15
  const menuStyles = {
16
16
  /* Need to remove default absolute positioning as that causes issues with position fixed */
17
17
  position: 'static',
@@ -230,6 +230,7 @@ const TimePicker = /*#__PURE__*/forwardRef(({
230
230
  })
231
231
  };
232
232
  const renderIconContainer = Boolean(!hideIcon && value);
233
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
233
234
  const mergedStyles = mergeStyles(selectStyles, {
234
235
  control: base => ({
235
236
  ...base
@@ -280,7 +281,7 @@ const TimePicker = /*#__PURE__*/forwardRef(({
280
281
  value: initialValue,
281
282
  spacing: spacing
282
283
  // We need this to get things to work, even though it's not supported.
283
- // @ts-ignore
284
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
284
285
  ,
285
286
  fixedLayerRef: containerRef,
286
287
  isInvalid: isInvalid,
@@ -37,7 +37,9 @@ export const FixedLayerMenu = ({
37
37
  children,
38
38
  ...rest
39
39
  }) => jsx(FixedLayer, {
40
- inputValue: selectProps.inputValue,
40
+ inputValue: selectProps.inputValue
41
+ //@ts-ignore react-select unsupported props
42
+ ,
41
43
  containerRef: selectProps.fixedLayerRef,
42
44
  content: jsx(components.Menu, _extends({}, rest, {
43
45
  // eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides, @atlaskit/ui-styling-standard/no-classname-prop
@@ -65,6 +67,8 @@ export const FixedLayerMenu = ({
65
67
  // eslint-disable-next-line @repo/internal/react/no-unsafe-overrides, @atlaskit/design-system/no-unsafe-style-overrides
66
68
  ,
67
69
  theme: theme
68
- }), children),
70
+ }), children)
71
+ //@ts-ignore react-select unsupported props
72
+ ,
69
73
  testId: selectProps.testId
70
74
  });
@@ -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 = "15.1.2";
32
+ var packageVersion = "15.1.4";
33
33
  var datePickerDefaultProps = {
34
34
  defaultIsOpen: false,
35
35
  defaultValue: '',
@@ -383,6 +383,7 @@ var DatePickerComponent = /*#__PURE__*/function (_Component) {
383
383
  calendarWeekStartDay: weekStartDay,
384
384
  shouldSetFocusOnCurrentDay: this.state.shouldSetFocusOnCurrentDay
385
385
  };
386
+ //@ts-ignore react-select unsupported props
386
387
  var mergedStyles = mergeStyles(selectStyles, {
387
388
  control: function control(base) {
388
389
  return _objectSpread(_objectSpread({}, base), disabledStyle);
@@ -450,6 +451,7 @@ var DatePickerComponent = /*#__PURE__*/function (_Component) {
450
451
  spacing: spacing,
451
452
  testId: testId
452
453
  // These aren't part of `Select`'s API, but we're using them here.
454
+ //@ts-ignore react-select unsupported props
453
455
  ,
454
456
  calendarContainerRef: calendarProps.calendarContainerRef,
455
457
  calendarDisabled: calendarProps.calendarDisabled,
@@ -28,7 +28,7 @@ import { convertTokens } from '../internal/parse-tokens';
28
28
  import DatePicker from './date-picker';
29
29
  import TimePicker from './time-picker';
30
30
  var packageName = "@atlaskit/datetime-picker";
31
- var packageVersion = "15.1.2";
31
+ var packageVersion = "15.1.4";
32
32
  // Make DatePicker 50% the width of DateTimePicker
33
33
  // If rendering an icon container, shrink the TimePicker
34
34
  var datePickerContainerStyles = css({
@@ -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 = "15.1.2";
20
+ var packageVersion = "15.1.4";
21
21
  var menuStyles = {
22
22
  /* Need to remove default absolute positioning as that causes issues with position fixed */
23
23
  position: 'static',
@@ -271,6 +271,7 @@ var TimePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
271
271
  ClearIndicator: EmptyComponent
272
272
  });
273
273
  var renderIconContainer = Boolean(!hideIcon && value);
274
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
274
275
  var mergedStyles = mergeStyles(selectStyles, {
275
276
  control: function control(base) {
276
277
  return _objectSpread({}, base);
@@ -322,7 +323,7 @@ var TimePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
322
323
  value: initialValue,
323
324
  spacing: spacing
324
325
  // We need this to get things to work, even though it's not supported.
325
- // @ts-ignore
326
+ // @ts-ignore - https://product-fabric.atlassian.net/browse/DSP-21000
326
327
  ,
327
328
  fixedLayerRef: containerRef,
328
329
  isInvalid: isInvalid,
@@ -39,7 +39,9 @@ export var FixedLayerMenu = function FixedLayerMenu(_ref) {
39
39
  children = _ref.children,
40
40
  rest = _objectWithoutProperties(_ref, _excluded);
41
41
  return jsx(FixedLayer, {
42
- inputValue: selectProps.inputValue,
42
+ inputValue: selectProps.inputValue
43
+ //@ts-ignore react-select unsupported props
44
+ ,
43
45
  containerRef: selectProps.fixedLayerRef,
44
46
  content: jsx(components.Menu, _extends({}, rest, {
45
47
  // eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides, @atlaskit/ui-styling-standard/no-classname-prop
@@ -67,7 +69,9 @@ export var FixedLayerMenu = function FixedLayerMenu(_ref) {
67
69
  // eslint-disable-next-line @repo/internal/react/no-unsafe-overrides, @atlaskit/design-system/no-unsafe-style-overrides
68
70
  ,
69
71
  theme: theme
70
- }), children),
72
+ }), children)
73
+ //@ts-ignore react-select unsupported props
74
+ ,
71
75
  testId: selectProps.testId
72
76
  });
73
77
  };
@@ -82,7 +82,7 @@ export { DatePickerComponent as DatePickerWithoutAnalytics };
82
82
  * - [Code](https://atlassian.design/components/datetime-picker/date-picker/code)
83
83
  * - [Usage](https://atlassian.design/components/datetime-picker/date-picker/usage)
84
84
  */
85
- declare const DatePicker: import("react").ForwardRefExoticComponent<Pick<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "parseInputValue" | "dateFormat" | "formatDisplayLabel" | "placeholder" | "testId" | "label" | "icon" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "id" | "aria-describedby" | "maxDate" | "minDate" | "nextMonthLabel" | "previousMonthLabel" | "weekStartDay" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "isOpen" | "hideIcon"> & Partial<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "disabled" | "defaultValue" | "onFocus" | "onBlur" | "onChange" | "disabledDateFilter" | "locale" | "defaultIsOpen">> & Partial<Pick<{
85
+ declare const DatePicker: import("react").ForwardRefExoticComponent<Pick<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "parseInputValue" | "dateFormat" | "formatDisplayLabel" | "placeholder" | "testId" | "label" | "icon" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "id" | "aria-describedby" | "maxDate" | "minDate" | "nextMonthLabel" | "previousMonthLabel" | "weekStartDay" | "value" | "autoFocus" | "isInvalid" | "name" | "spacing" | "isOpen" | "hideIcon"> & Partial<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "disabled" | "defaultValue" | "onFocus" | "onBlur" | "onChange" | "disabledDateFilter" | "locale" | "defaultIsOpen">> & Partial<Pick<{
86
86
  defaultIsOpen: boolean;
87
87
  defaultValue: string;
88
88
  disabled: string[];
@@ -91,5 +91,5 @@ declare const DatePicker: import("react").ForwardRefExoticComponent<Pick<Pick<Om
91
91
  onBlur: (_event: React.FocusEvent<HTMLInputElement>) => void;
92
92
  onChange: (_value: string) => void;
93
93
  onFocus: (_event: React.FocusEvent<HTMLInputElement>) => void;
94
- }, never>> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "disabled" | "parseInputValue" | "dateFormat" | "formatDisplayLabel" | "placeholder" | "testId" | "label" | "icon" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "disabledDateFilter" | "maxDate" | "minDate" | "nextMonthLabel" | "previousMonthLabel" | "locale" | "analyticsContext" | "weekStartDay" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "defaultIsOpen" | "isOpen" | "hideIcon"> & import("react").RefAttributes<any>>;
94
+ }, never>> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "disabled" | "parseInputValue" | "dateFormat" | "formatDisplayLabel" | "placeholder" | "testId" | "label" | "icon" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "disabledDateFilter" | "maxDate" | "minDate" | "nextMonthLabel" | "previousMonthLabel" | "locale" | "analyticsContext" | "weekStartDay" | "value" | "autoFocus" | "isInvalid" | "name" | "spacing" | "defaultIsOpen" | "isOpen" | "hideIcon"> & import("react").RefAttributes<any>>;
95
95
  export default DatePicker;
@@ -52,5 +52,5 @@ export { DateTimePickerComponent as DateTimePickerWithoutAnalytics };
52
52
  * - [Code](https://atlassian.design/components/datetime-picker/code)
53
53
  * - [Usage](https://atlassian.design/components/datetime-picker/usage)
54
54
  */
55
- declare const DateTimePicker: React.ForwardRefExoticComponent<Pick<Pick<Pick<Omit<DateTimePickerBaseProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, never> & Partial<Pick<Omit<DateTimePickerBaseProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "appearance" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "clearControlLabel" | "datePickerProps" | "timePickerProps" | "parseValue">> & Partial<Pick<DateTimePickerBaseProps, "ref" | "createAnalyticsEvent">>, "testId" | "appearance" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "createAnalyticsEvent" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "clearControlLabel" | "datePickerProps" | "timePickerProps" | "parseValue"> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "testId" | "appearance" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "analyticsContext" | "createAnalyticsEvent" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "clearControlLabel" | "datePickerProps" | "timePickerProps" | "parseValue"> & React.RefAttributes<any>>;
55
+ declare const DateTimePicker: React.ForwardRefExoticComponent<Pick<Pick<Pick<Omit<DateTimePickerBaseProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, never> & Partial<Pick<Omit<DateTimePickerBaseProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "appearance" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "value" | "autoFocus" | "isInvalid" | "name" | "spacing" | "clearControlLabel" | "datePickerProps" | "timePickerProps" | "parseValue">> & Partial<Pick<DateTimePickerBaseProps, "ref" | "createAnalyticsEvent">>, "testId" | "appearance" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "createAnalyticsEvent" | "value" | "autoFocus" | "isInvalid" | "name" | "spacing" | "clearControlLabel" | "datePickerProps" | "timePickerProps" | "parseValue"> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "testId" | "appearance" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "analyticsContext" | "createAnalyticsEvent" | "value" | "autoFocus" | "isInvalid" | "name" | "spacing" | "clearControlLabel" | "datePickerProps" | "timePickerProps" | "parseValue"> & React.RefAttributes<any>>;
56
56
  export default DateTimePicker;
@@ -9,5 +9,5 @@ import { type TimePickerBaseProps } from '../types';
9
9
  * - [Code](https://atlassian.design/components/datetime-picker/time-picker/code)
10
10
  * - [Usage](https://atlassian.design/components/datetime-picker/time-picker/usage)
11
11
  */
12
- declare const TimePicker: React.ForwardRefExoticComponent<Pick<TimePickerBaseProps, "times" | "parseInputValue" | "formatDisplayLabel" | "placeholder" | "testId" | "label" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "createAnalyticsEvent" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "defaultIsOpen" | "isOpen" | "hideIcon" | "timeIsEditable" | "timeFormat"> & React.RefAttributes<unknown>>;
12
+ declare const TimePicker: React.ForwardRefExoticComponent<Pick<TimePickerBaseProps, "times" | "parseInputValue" | "formatDisplayLabel" | "placeholder" | "testId" | "label" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "createAnalyticsEvent" | "value" | "autoFocus" | "isInvalid" | "name" | "spacing" | "defaultIsOpen" | "isOpen" | "hideIcon" | "timeIsEditable" | "timeFormat"> & React.RefAttributes<unknown>>;
13
13
  export default TimePicker;
@@ -82,7 +82,7 @@ export { DatePickerComponent as DatePickerWithoutAnalytics };
82
82
  * - [Code](https://atlassian.design/components/datetime-picker/date-picker/code)
83
83
  * - [Usage](https://atlassian.design/components/datetime-picker/date-picker/usage)
84
84
  */
85
- declare const DatePicker: import("react").ForwardRefExoticComponent<Pick<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "parseInputValue" | "dateFormat" | "formatDisplayLabel" | "placeholder" | "testId" | "label" | "icon" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "id" | "aria-describedby" | "maxDate" | "minDate" | "nextMonthLabel" | "previousMonthLabel" | "weekStartDay" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "isOpen" | "hideIcon"> & Partial<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "disabled" | "defaultValue" | "onFocus" | "onBlur" | "onChange" | "disabledDateFilter" | "locale" | "defaultIsOpen">> & Partial<Pick<{
85
+ declare const DatePicker: import("react").ForwardRefExoticComponent<Pick<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "parseInputValue" | "dateFormat" | "formatDisplayLabel" | "placeholder" | "testId" | "label" | "icon" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "id" | "aria-describedby" | "maxDate" | "minDate" | "nextMonthLabel" | "previousMonthLabel" | "weekStartDay" | "value" | "autoFocus" | "isInvalid" | "name" | "spacing" | "isOpen" | "hideIcon"> & Partial<Pick<Omit<DatePickerProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "disabled" | "defaultValue" | "onFocus" | "onBlur" | "onChange" | "disabledDateFilter" | "locale" | "defaultIsOpen">> & Partial<Pick<{
86
86
  defaultIsOpen: boolean;
87
87
  defaultValue: string;
88
88
  disabled: string[];
@@ -91,5 +91,5 @@ declare const DatePicker: import("react").ForwardRefExoticComponent<Pick<Pick<Om
91
91
  onBlur: (_event: React.FocusEvent<HTMLInputElement>) => void;
92
92
  onChange: (_value: string) => void;
93
93
  onFocus: (_event: React.FocusEvent<HTMLInputElement>) => void;
94
- }, never>> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "disabled" | "parseInputValue" | "dateFormat" | "formatDisplayLabel" | "placeholder" | "testId" | "label" | "icon" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "disabledDateFilter" | "maxDate" | "minDate" | "nextMonthLabel" | "previousMonthLabel" | "locale" | "analyticsContext" | "weekStartDay" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "defaultIsOpen" | "isOpen" | "hideIcon"> & import("react").RefAttributes<any>>;
94
+ }, never>> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "disabled" | "parseInputValue" | "dateFormat" | "formatDisplayLabel" | "placeholder" | "testId" | "label" | "icon" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "disabledDateFilter" | "maxDate" | "minDate" | "nextMonthLabel" | "previousMonthLabel" | "locale" | "analyticsContext" | "weekStartDay" | "value" | "autoFocus" | "isInvalid" | "name" | "spacing" | "defaultIsOpen" | "isOpen" | "hideIcon"> & import("react").RefAttributes<any>>;
95
95
  export default DatePicker;
@@ -52,5 +52,5 @@ export { DateTimePickerComponent as DateTimePickerWithoutAnalytics };
52
52
  * - [Code](https://atlassian.design/components/datetime-picker/code)
53
53
  * - [Usage](https://atlassian.design/components/datetime-picker/usage)
54
54
  */
55
- declare const DateTimePicker: React.ForwardRefExoticComponent<Pick<Pick<Pick<Omit<DateTimePickerBaseProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, never> & Partial<Pick<Omit<DateTimePickerBaseProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "appearance" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "clearControlLabel" | "datePickerProps" | "timePickerProps" | "parseValue">> & Partial<Pick<DateTimePickerBaseProps, "ref" | "createAnalyticsEvent">>, "testId" | "appearance" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "createAnalyticsEvent" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "clearControlLabel" | "datePickerProps" | "timePickerProps" | "parseValue"> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "testId" | "appearance" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "analyticsContext" | "createAnalyticsEvent" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "clearControlLabel" | "datePickerProps" | "timePickerProps" | "parseValue"> & React.RefAttributes<any>>;
55
+ declare const DateTimePicker: React.ForwardRefExoticComponent<Pick<Pick<Pick<Omit<DateTimePickerBaseProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, never> & Partial<Pick<Omit<DateTimePickerBaseProps, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "testId" | "appearance" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "value" | "autoFocus" | "isInvalid" | "name" | "spacing" | "clearControlLabel" | "datePickerProps" | "timePickerProps" | "parseValue">> & Partial<Pick<DateTimePickerBaseProps, "ref" | "createAnalyticsEvent">>, "testId" | "appearance" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "createAnalyticsEvent" | "value" | "autoFocus" | "isInvalid" | "name" | "spacing" | "clearControlLabel" | "datePickerProps" | "timePickerProps" | "parseValue"> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "testId" | "appearance" | "innerProps" | "isDisabled" | "key" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "analyticsContext" | "createAnalyticsEvent" | "value" | "autoFocus" | "isInvalid" | "name" | "spacing" | "clearControlLabel" | "datePickerProps" | "timePickerProps" | "parseValue"> & React.RefAttributes<any>>;
56
56
  export default DateTimePicker;
@@ -9,5 +9,5 @@ import { type TimePickerBaseProps } from '../types';
9
9
  * - [Code](https://atlassian.design/components/datetime-picker/time-picker/code)
10
10
  * - [Usage](https://atlassian.design/components/datetime-picker/time-picker/usage)
11
11
  */
12
- declare const TimePicker: React.ForwardRefExoticComponent<Pick<TimePickerBaseProps, "times" | "parseInputValue" | "formatDisplayLabel" | "placeholder" | "testId" | "label" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "createAnalyticsEvent" | "value" | "autoFocus" | "name" | "spacing" | "isInvalid" | "defaultIsOpen" | "isOpen" | "hideIcon" | "timeIsEditable" | "timeFormat"> & React.RefAttributes<unknown>>;
12
+ declare const TimePicker: React.ForwardRefExoticComponent<Pick<TimePickerBaseProps, "times" | "parseInputValue" | "formatDisplayLabel" | "placeholder" | "testId" | "label" | "appearance" | "selectProps" | "innerProps" | "isDisabled" | "defaultValue" | "id" | "aria-describedby" | "onFocus" | "onBlur" | "onChange" | "locale" | "createAnalyticsEvent" | "value" | "autoFocus" | "isInvalid" | "name" | "spacing" | "defaultIsOpen" | "isOpen" | "hideIcon" | "timeIsEditable" | "timeFormat"> & React.RefAttributes<unknown>>;
13
13
  export default TimePicker;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/datetime-picker",
3
- "version": "15.1.2",
3
+ "version": "15.1.4",
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/"
@@ -37,12 +37,12 @@
37
37
  "dependencies": {
38
38
  "@atlaskit/analytics-next": "^10.1.0",
39
39
  "@atlaskit/calendar": "^15.0.0",
40
- "@atlaskit/ds-lib": "^2.6.0",
40
+ "@atlaskit/ds-lib": "^3.0.0",
41
41
  "@atlaskit/icon": "^22.20.0",
42
42
  "@atlaskit/layering": "^0.5.0",
43
43
  "@atlaskit/locale": "^2.8.0",
44
44
  "@atlaskit/popper": "^6.3.0",
45
- "@atlaskit/select": "^17.19.0",
45
+ "@atlaskit/select": "^18.0.0",
46
46
  "@atlaskit/theme": "^13.0.0",
47
47
  "@atlaskit/tokens": "^2.0.0",
48
48
  "@babel/runtime": "^7.0.0",