@atlaskit/editor-plugin-date 2.3.15 → 2.4.0

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,27 @@
1
1
  # @atlaskit/editor-plugin-date
2
2
 
3
+ ## 2.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#151190](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/151190)
8
+ [`a3723b1cdede2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a3723b1cdede2) -
9
+ [ux] [ED-25037] this change bumps @atlaskit/adf-schema from 40.9.0 to 40.9.4 which makes the
10
+ blockquote selectable, adds missing marks to the PM node spec and fixes a bug that converted
11
+ pasted external images to media groups.
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
17
+ ## 2.3.16
18
+
19
+ ### Patch Changes
20
+
21
+ - [#148528](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/148528)
22
+ [`dd1ab6e1f1bd2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dd1ab6e1f1bd2) -
23
+ Remove usage of findDomNode
24
+
3
25
  ## 2.3.15
4
26
 
5
27
  ### Patch Changes
@@ -14,7 +14,6 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
14
14
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
15
15
  var _react = _interopRequireDefault(require("react"));
16
16
  var _react2 = require("@emotion/react");
17
- var _reactDom = _interopRequireDefault(require("react-dom"));
18
17
  var _reactIntlNext = require("react-intl-next");
19
18
  var _calendar = _interopRequireDefault(require("@atlaskit/calendar"));
20
19
  var _analytics = require("@atlaskit/editor-common/analytics");
@@ -77,7 +76,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
77
76
  });
78
77
  });
79
78
  (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleRef", function (ref) {
80
- var elm = ref && _reactDom.default.findDOMNode(ref);
79
+ var elm = ref;
81
80
  if (elm) {
82
81
  elm.focus();
83
82
  }
@@ -7,7 +7,6 @@ import React from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { css, jsx } from '@emotion/react';
10
- import ReactDOM from 'react-dom';
11
10
  import { injectIntl } from 'react-intl-next';
12
11
  import Calendar from '@atlaskit/calendar';
13
12
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
@@ -63,7 +62,7 @@ class DatePicker extends React.Component {
63
62
  });
64
63
  });
65
64
  _defineProperty(this, "handleRef", ref => {
66
- const elm = ref && ReactDOM.findDOMNode(ref);
65
+ const elm = ref;
67
66
  if (elm) {
68
67
  elm.focus();
69
68
  }
@@ -15,7 +15,6 @@ import React from 'react';
15
15
 
16
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
17
  import { css, jsx } from '@emotion/react';
18
- import ReactDOM from 'react-dom';
19
18
  import { injectIntl } from 'react-intl-next';
20
19
  import Calendar from '@atlaskit/calendar';
21
20
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
@@ -74,7 +73,7 @@ var DatePicker = /*#__PURE__*/function (_React$Component) {
74
73
  });
75
74
  });
76
75
  _defineProperty(_assertThisInitialized(_this), "handleRef", function (ref) {
77
- var elm = ref && ReactDOM.findDOMNode(ref);
76
+ var elm = ref;
78
77
  if (elm) {
79
78
  elm.focus();
80
79
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-date",
3
- "version": "2.3.15",
3
+ "version": "2.4.0",
4
4
  "description": "Date plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,11 +31,11 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/adf-schema": "^40.9.0",
34
+ "@atlaskit/adf-schema": "^40.9.4",
35
35
  "@atlaskit/calendar": "^15.0.0",
36
36
  "@atlaskit/date": "^0.10.0",
37
- "@atlaskit/editor-common": "^93.1.0",
38
- "@atlaskit/editor-plugin-analytics": "^1.8.0",
37
+ "@atlaskit/editor-common": "^93.3.0",
38
+ "@atlaskit/editor-plugin-analytics": "^1.9.0",
39
39
  "@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
40
40
  "@atlaskit/editor-prosemirror": "6.0.0",
41
41
  "@atlaskit/editor-shared-styles": "^3.0.0",
@@ -54,15 +54,15 @@
54
54
  },
55
55
  "devDependencies": {
56
56
  "@atlaskit/editor-plugin-composition": "^1.2.0",
57
- "@atlaskit/editor-plugin-content-insertion": "^1.8.0",
57
+ "@atlaskit/editor-plugin-content-insertion": "^1.9.0",
58
58
  "@atlaskit/editor-plugin-decorations": "^1.3.0",
59
59
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
60
60
  "@atlaskit/editor-plugin-guideline": "^1.2.0",
61
61
  "@atlaskit/editor-plugin-quick-insert": "^1.4.0",
62
62
  "@atlaskit/editor-plugin-selection": "^1.4.0",
63
- "@atlaskit/editor-plugin-table": "^7.28.0",
64
- "@atlaskit/editor-plugin-tasks-and-decisions": "^2.9.0",
65
- "@atlaskit/editor-plugin-type-ahead": "^1.8.0",
63
+ "@atlaskit/editor-plugin-table": "^7.29.0",
64
+ "@atlaskit/editor-plugin-tasks-and-decisions": "^2.11.0",
65
+ "@atlaskit/editor-plugin-type-ahead": "^1.9.0",
66
66
  "@atlaskit/editor-plugin-width": "^1.3.0",
67
67
  "@testing-library/react": "^12.1.5"
68
68
  },