@atlaskit/datetime-picker 15.13.1 → 16.0.1

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,29 @@
1
1
  # @atlaskit/datetime-picker
2
2
 
3
+ ## 16.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 16.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
14
+ [`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
15
+ This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
16
+ status of only supporting React 18 going forward. No explicit breaking change to React support has
17
+ been made in this release, but this is to signify going forward, breaking changes for React 16 or
18
+ React 17 may come via non-major semver releases.
19
+
20
+ Please refer this community post for more details:
21
+ https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+
3
27
  ## 15.13.1
4
28
 
5
29
  ### Patch Changes
@@ -40,7 +40,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
40
40
  * @jsx jsx
41
41
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
42
42
  var packageName = "@atlaskit/datetime-picker";
43
- var packageVersion = "15.13.1";
43
+ var packageVersion = "16.0.1";
44
44
  var dropdownIndicatorStyles = (0, _primitives.xcss)({
45
45
  minWidth: "var(--ds-space-300, 24px)",
46
46
  minHeight: "var(--ds-space-300, 24px)",
@@ -38,7 +38,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
38
38
  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; }
39
39
  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; }
40
40
  var packageName = "@atlaskit/datetime-picker";
41
- var packageVersion = "15.13.1";
41
+ var packageVersion = "16.0.1";
42
42
  var analyticsAttributes = {
43
43
  componentName: 'datePicker',
44
44
  packageName: packageName,
@@ -37,7 +37,7 @@ var DatePicker = (0, _ffComponent.componentWithCondition)(function () {
37
37
  return (0, _platformFeatureFlags.fg)('dst-date-picker-use-functional-component');
38
38
  }, _datePickerFc.default, _datePickerClass.default);
39
39
  var packageName = "@atlaskit/datetime-picker";
40
- var packageVersion = "15.13.1";
40
+ var packageVersion = "16.0.1";
41
41
  // Make DatePicker 50% the width of DateTimePicker
42
42
  // If rendering an icon container, shrink the TimePicker
43
43
  var datePickerContainerStyles = (0, _react2.css)({
@@ -37,7 +37,7 @@ function () {
37
37
  return (0, _platformFeatureFlags.fg)('dst-date-picker-use-functional-component');
38
38
  }, _datePickerFc.default, _datePickerClass.default);
39
39
  var packageName = "@atlaskit/datetime-picker";
40
- var packageVersion = "15.13.1";
40
+ var packageVersion = "16.0.1";
41
41
  var analyticsAttributes = {
42
42
  componentName: 'dateTimePicker',
43
43
  packageName: packageName,
@@ -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.13.1";
30
+ var packageVersion = "16.0.1";
31
31
  var menuStyles = {
32
32
  /* Need to remove default absolute positioning as that causes issues with position fixed */
33
33
  position: 'static',
@@ -24,7 +24,7 @@ import { Menu } from '../internal/menu';
24
24
  import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
25
25
  import { makeSingleValue } from '../internal/single-value';
26
26
  const packageName = "@atlaskit/datetime-picker";
27
- const packageVersion = "15.13.1";
27
+ const packageVersion = "16.0.1";
28
28
  const dropdownIndicatorStyles = xcss({
29
29
  minWidth: "var(--ds-space-300, 24px)",
30
30
  minHeight: "var(--ds-space-300, 24px)",
@@ -23,7 +23,7 @@ import { Menu } from '../internal/menu';
23
23
  import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
24
24
  import { makeSingleValue } from '../internal/single-value';
25
25
  const packageName = "@atlaskit/datetime-picker";
26
- const packageVersion = "15.13.1";
26
+ const packageVersion = "16.0.1";
27
27
  const analyticsAttributes = {
28
28
  componentName: 'datePicker',
29
29
  packageName,
@@ -22,7 +22,7 @@ import DatePickerNew from './date-picker-fc';
22
22
  import TimePicker from './time-picker';
23
23
  const DatePicker = componentWithCondition(() => fg('dst-date-picker-use-functional-component'), DatePickerNew, DatePickerOld);
24
24
  const packageName = "@atlaskit/datetime-picker";
25
- const packageVersion = "15.13.1";
25
+ const packageVersion = "16.0.1";
26
26
  // Make DatePicker 50% the width of DateTimePicker
27
27
  // If rendering an icon container, shrink the TimePicker
28
28
  const datePickerContainerStyles = css({
@@ -18,7 +18,7 @@ const DatePicker = componentWithCondition(
18
18
  // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
19
19
  () => fg('dst-date-picker-use-functional-component'), DatePickerNew, DatePickerOld);
20
20
  const packageName = "@atlaskit/datetime-picker";
21
- const packageVersion = "15.13.1";
21
+ const packageVersion = "16.0.1";
22
22
  const analyticsAttributes = {
23
23
  componentName: 'dateTimePicker',
24
24
  packageName,
@@ -11,7 +11,7 @@ import parseTime from '../internal/parse-time';
11
11
  import { convertTokens } from '../internal/parse-tokens';
12
12
  import { makeSingleValue } from '../internal/single-value';
13
13
  const packageName = "@atlaskit/datetime-picker";
14
- const packageVersion = "15.13.1";
14
+ const packageVersion = "16.0.1";
15
15
  const menuStyles = {
16
16
  /* Need to remove default absolute positioning as that causes issues with position fixed */
17
17
  position: 'static',
@@ -33,7 +33,7 @@ import { Menu } from '../internal/menu';
33
33
  import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
34
34
  import { makeSingleValue } from '../internal/single-value';
35
35
  var packageName = "@atlaskit/datetime-picker";
36
- var packageVersion = "15.13.1";
36
+ var packageVersion = "16.0.1";
37
37
  var dropdownIndicatorStyles = xcss({
38
38
  minWidth: "var(--ds-space-300, 24px)",
39
39
  minHeight: "var(--ds-space-300, 24px)",
@@ -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.13.1";
32
+ var packageVersion = "16.0.1";
33
33
  var analyticsAttributes = {
34
34
  componentName: 'datePicker',
35
35
  packageName: packageName,
@@ -33,7 +33,7 @@ var DatePicker = componentWithCondition(function () {
33
33
  return fg('dst-date-picker-use-functional-component');
34
34
  }, DatePickerNew, DatePickerOld);
35
35
  var packageName = "@atlaskit/datetime-picker";
36
- var packageVersion = "15.13.1";
36
+ var packageVersion = "16.0.1";
37
37
  // Make DatePicker 50% the width of DateTimePicker
38
38
  // If rendering an icon container, shrink the TimePicker
39
39
  var datePickerContainerStyles = css({
@@ -27,7 +27,7 @@ function () {
27
27
  return fg('dst-date-picker-use-functional-component');
28
28
  }, DatePickerNew, DatePickerOld);
29
29
  var packageName = "@atlaskit/datetime-picker";
30
- var packageVersion = "15.13.1";
30
+ var packageVersion = "16.0.1";
31
31
  var analyticsAttributes = {
32
32
  componentName: 'dateTimePicker',
33
33
  packageName: packageName,
@@ -17,7 +17,7 @@ import parseTime from '../internal/parse-time';
17
17
  import { convertTokens } from '../internal/parse-tokens';
18
18
  import { makeSingleValue } from '../internal/single-value';
19
19
  var packageName = "@atlaskit/datetime-picker";
20
- var packageVersion = "15.13.1";
20
+ var packageVersion = "16.0.1";
21
21
  var menuStyles = {
22
22
  /* Need to remove default absolute positioning as that causes issues with position fixed */
23
23
  position: 'static',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/datetime-picker",
3
- "version": "15.13.1",
3
+ "version": "16.0.1",
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,46 +37,45 @@
37
37
  "runReact18": true
38
38
  },
39
39
  "dependencies": {
40
- "@atlaskit/analytics-next": "^10.3.0",
41
- "@atlaskit/button": "^20.5.0",
42
- "@atlaskit/calendar": "^16.3.0",
43
- "@atlaskit/ds-lib": "^3.5.0",
44
- "@atlaskit/icon": "^23.9.0",
45
- "@atlaskit/layering": "^1.1.0",
46
- "@atlaskit/locale": "^2.8.0",
40
+ "@atlaskit/analytics-next": "^11.0.0",
41
+ "@atlaskit/button": "^21.1.0",
42
+ "@atlaskit/calendar": "^17.1.0",
43
+ "@atlaskit/ds-lib": "^4.0.0",
44
+ "@atlaskit/icon": "^24.1.0",
45
+ "@atlaskit/layering": "^2.0.0",
46
+ "@atlaskit/locale": "^3.0.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
- "@atlaskit/popper": "^6.4.0",
49
- "@atlaskit/primitives": "^13.5.0",
50
- "@atlaskit/select": "^18.10.0",
51
- "@atlaskit/theme": "^16.0.0",
52
- "@atlaskit/tokens": "^3.3.0",
53
- "@atlaskit/visually-hidden": "^1.6.0",
48
+ "@atlaskit/popper": "^7.0.0",
49
+ "@atlaskit/primitives": "^14.1.0",
50
+ "@atlaskit/select": "^20.0.0",
51
+ "@atlaskit/theme": "^17.0.0",
52
+ "@atlaskit/tokens": "^4.2.0",
53
+ "@atlaskit/visually-hidden": "^2.0.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1",
56
56
  "date-fns": "^2.17.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
59
+ "react": "^18.2.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@af/accessibility-testing": "*",
63
63
  "@af/integration-testing": "*",
64
64
  "@af/visual-regression": "*",
65
- "@atlaskit/code": "^15.7.0",
65
+ "@atlaskit/code": "^16.0.0",
66
66
  "@atlaskit/codemod-utils": "4.2.4",
67
67
  "@atlaskit/docs": "*",
68
- "@atlaskit/form": "^11.1.0",
69
- "@atlaskit/heading": "^4.1.0",
70
- "@atlaskit/link": "^2.1.0",
71
- "@atlaskit/modal-dialog": "^12.20.0",
72
- "@atlaskit/popup": "^1.31.0",
73
- "@atlaskit/range": "^8.1.0",
74
- "@atlaskit/section-message": "^6.9.0",
68
+ "@atlaskit/form": "^12.0.0",
69
+ "@atlaskit/heading": "^5.1.0",
70
+ "@atlaskit/link": "^3.0.0",
71
+ "@atlaskit/modal-dialog": "^13.0.0",
72
+ "@atlaskit/popup": "^2.0.0",
73
+ "@atlaskit/range": "^9.0.0",
74
+ "@atlaskit/section-message": "^8.0.0",
75
75
  "@atlaskit/ssr": "*",
76
- "@atlaskit/textfield": "^6.8.0",
77
- "@atlaskit/toggle": "^14.1.0",
76
+ "@atlaskit/textfield": "^8.0.0",
77
+ "@atlaskit/toggle": "^15.0.0",
78
78
  "@atlaskit/visual-regression": "*",
79
- "@atlassian/feature-flags-test-utils": "*",
80
79
  "@testing-library/react": "^13.4.0",
81
80
  "@testing-library/user-event": "^14.4.3",
82
81
  "@types/testing-library__jest-dom": "^5.14.5",