@atlaskit/editor-plugin-tasks-and-decisions 8.3.0 → 8.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,16 @@
1
1
  # @atlaskit/editor-plugin-tasks-and-decisions
2
2
 
3
+ ## 8.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`b367661ba720e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b367661ba720e) -
8
+ EDITOR-1562 bump adf-schema for afm
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 8.3.0
4
15
 
5
16
  ### Minor Changes
@@ -1,4 +1,4 @@
1
- /* tasksAndDecisionsPlugin.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* tasksAndDecisionsPlugin.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -56,7 +56,6 @@ var addItem = function addItem(insert, listType, schema) {
56
56
  };
57
57
  function ContentComponent(_ref2) {
58
58
  var editorView = _ref2.editorView,
59
- dispatchAnalyticsEvent = _ref2.dispatchAnalyticsEvent,
60
59
  popupsMountPoint = _ref2.popupsMountPoint,
61
60
  popupsBoundariesElement = _ref2.popupsBoundariesElement,
62
61
  popupsScrollableElement = _ref2.popupsScrollableElement,
@@ -279,6 +278,9 @@ var tasksAndDecisionsPlugin = exports.tasksAndDecisionsPlugin = function tasksAn
279
278
  popupsMountPoint = _ref10.popupsMountPoint,
280
279
  popupsBoundariesElement = _ref10.popupsBoundariesElement,
281
280
  popupsScrollableElement = _ref10.popupsScrollableElement;
281
+ if (!editorView) {
282
+ return null;
283
+ }
282
284
  return /*#__PURE__*/React.createElement(ContentComponent, {
283
285
  dependencyApi: api,
284
286
  editorView: editorView,
@@ -1,4 +1,4 @@
1
- /* RequestToEditPopup.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* RequestToEditPopup.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* tasksAndDecisionsPlugin.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* tasksAndDecisionsPlugin.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import "./tasksAndDecisionsPlugin.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -44,7 +44,6 @@ const addItem = (insert, listType, schema) => ({
44
44
  };
45
45
  function ContentComponent({
46
46
  editorView,
47
- dispatchAnalyticsEvent,
48
47
  popupsMountPoint,
49
48
  popupsBoundariesElement,
50
49
  popupsScrollableElement,
@@ -241,6 +240,9 @@ export const tasksAndDecisionsPlugin = ({
241
240
  popupsBoundariesElement,
242
241
  popupsScrollableElement
243
242
  }) {
243
+ if (!editorView) {
244
+ return null;
245
+ }
244
246
  return /*#__PURE__*/React.createElement(ContentComponent, {
245
247
  dependencyApi: api,
246
248
  editorView: editorView,
@@ -1,4 +1,4 @@
1
- /* RequestToEditPopup.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* RequestToEditPopup.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  // import Popup from '@atlaskit/popup';
3
3
  import "./RequestToEditPopup.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* tasksAndDecisionsPlugin.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* tasksAndDecisionsPlugin.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
3
3
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
4
4
  import "./tasksAndDecisionsPlugin.compiled.css";
@@ -47,7 +47,6 @@ var addItem = function addItem(insert, listType, schema) {
47
47
  };
48
48
  function ContentComponent(_ref2) {
49
49
  var editorView = _ref2.editorView,
50
- dispatchAnalyticsEvent = _ref2.dispatchAnalyticsEvent,
51
50
  popupsMountPoint = _ref2.popupsMountPoint,
52
51
  popupsBoundariesElement = _ref2.popupsBoundariesElement,
53
52
  popupsScrollableElement = _ref2.popupsScrollableElement,
@@ -270,6 +269,9 @@ export var tasksAndDecisionsPlugin = function tasksAndDecisionsPlugin(_ref3) {
270
269
  popupsMountPoint = _ref10.popupsMountPoint,
271
270
  popupsBoundariesElement = _ref10.popupsBoundariesElement,
272
271
  popupsScrollableElement = _ref10.popupsScrollableElement;
272
+ if (!editorView) {
273
+ return null;
274
+ }
273
275
  return /*#__PURE__*/React.createElement(ContentComponent, {
274
276
  dependencyApi: api,
275
277
  editorView: editorView,
@@ -1,4 +1,4 @@
1
- /* RequestToEditPopup.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* RequestToEditPopup.tsx generated by @compiled/babel-plugin v0.38.1 */
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import "./RequestToEditPopup.compiled.css";
4
4
  import * as React from 'react';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "8.3.0",
3
+ "version": "8.4.0",
4
4
  "description": "Tasks and decisions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,16 +29,16 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/adf-schema": "^51.1.1",
32
+ "@atlaskit/adf-schema": "^51.1.2",
33
33
  "@atlaskit/analytics-namespaced-context": "^7.0.0",
34
34
  "@atlaskit/analytics-next": "^11.1.0",
35
35
  "@atlaskit/css": "^0.14.0",
36
- "@atlaskit/editor-plugin-analytics": "^5.1.0",
36
+ "@atlaskit/editor-plugin-analytics": "^5.2.0",
37
37
  "@atlaskit/editor-plugin-block-menu": "^3.1.0",
38
38
  "@atlaskit/editor-plugin-context-identifier": "^5.0.0",
39
39
  "@atlaskit/editor-plugin-editor-viewmode": "^7.0.0",
40
40
  "@atlaskit/editor-plugin-selection": "^5.0.0",
41
- "@atlaskit/editor-plugin-type-ahead": "^5.1.0",
41
+ "@atlaskit/editor-plugin-type-ahead": "^5.2.0",
42
42
  "@atlaskit/editor-prosemirror": "7.0.0",
43
43
  "@atlaskit/editor-shared-styles": "^3.6.0",
44
44
  "@atlaskit/editor-toolbar": "^0.8.0",
@@ -56,7 +56,7 @@
56
56
  "bind-event-listener": "^3.0.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^109.4.0",
59
+ "@atlaskit/editor-common": "^109.5.0",
60
60
  "react": "^18.2.0",
61
61
  "react-dom": "^18.2.0",
62
62
  "react-intl-next": "npm:react-intl@^5.18.1"