@atlaskit/editor-plugin-tasks-and-decisions 7.0.5 → 8.0.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,22 @@
1
1
  # @atlaskit/editor-plugin-tasks-and-decisions
2
2
 
3
+ ## 8.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`0d497d7b37080`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0d497d7b37080) -
8
+ EDITOR-1432 Updating editor-plugin-tasks-and-decisions to be compatible with adf-schema 51.0.0
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 7.0.6
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 7.0.5
4
21
 
5
22
  ### Patch Changes
@@ -43,9 +43,9 @@ var taskItemNodeSpec = exports.taskItemNodeSpec = function taskItemNodeSpec() {
43
43
  */
44
44
  var blockTaskItemNodeSpec = exports.blockTaskItemNodeSpec = function blockTaskItemNodeSpec() {
45
45
  if ((0, _experiments.editorExperiment)('platform_editor_exp_lazy_node_views', false)) {
46
- return _adfSchema.blockTaskItemStage0;
46
+ return _adfSchema.blockTaskItem;
47
47
  }
48
- return _objectSpread(_objectSpread({}, _adfSchema.blockTaskItemStage0), {}, {
48
+ return _objectSpread(_objectSpread({}, _adfSchema.blockTaskItem), {}, {
49
49
  toDOM: function toDOM(node) {
50
50
  return lazyTaskItemToDom(node);
51
51
  }
@@ -1,4 +1,4 @@
1
- import { taskItem, blockTaskItemStage0 as blockTaskItem } from '@atlaskit/adf-schema';
1
+ import { taskItem, blockTaskItem } from '@atlaskit/adf-schema';
2
2
  import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
3
3
  import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
4
4
  import { TaskDecisionSharedCssClassName } from '@atlaskit/editor-common/styles';
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  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; }
3
3
  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; }
4
- import { taskItem, blockTaskItemStage0 as blockTaskItem } from '@atlaskit/adf-schema';
4
+ import { taskItem, blockTaskItem } from '@atlaskit/adf-schema';
5
5
  import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
6
6
  import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
7
7
  import { TaskDecisionSharedCssClassName } from '@atlaskit/editor-common/styles';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "7.0.5",
3
+ "version": "8.0.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": "^50.2.3",
32
+ "@atlaskit/adf-schema": "^51.0.0",
33
33
  "@atlaskit/analytics-namespaced-context": "^7.0.0",
34
34
  "@atlaskit/analytics-next": "^11.1.0",
35
- "@atlaskit/css": "^0.13.0",
36
- "@atlaskit/editor-plugin-analytics": "^4.0.0",
37
- "@atlaskit/editor-plugin-block-menu": "^1.0.0",
38
- "@atlaskit/editor-plugin-context-identifier": "^4.0.0",
39
- "@atlaskit/editor-plugin-editor-viewmode": "^6.0.0",
40
- "@atlaskit/editor-plugin-selection": "^4.0.0",
41
- "@atlaskit/editor-plugin-type-ahead": "^4.0.0",
35
+ "@atlaskit/css": "^0.14.0",
36
+ "@atlaskit/editor-plugin-analytics": "^5.0.0",
37
+ "@atlaskit/editor-plugin-block-menu": "^2.0.0",
38
+ "@atlaskit/editor-plugin-context-identifier": "^5.0.0",
39
+ "@atlaskit/editor-plugin-editor-viewmode": "^7.0.0",
40
+ "@atlaskit/editor-plugin-selection": "^5.0.0",
41
+ "@atlaskit/editor-plugin-type-ahead": "^5.0.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",
@@ -46,17 +46,17 @@
46
46
  "@atlaskit/icon": "^28.1.0",
47
47
  "@atlaskit/platform-feature-flags": "^1.1.0",
48
48
  "@atlaskit/popup": "^4.3.0",
49
- "@atlaskit/primitives": "^14.13.0",
49
+ "@atlaskit/primitives": "^14.14.0",
50
50
  "@atlaskit/prosemirror-input-rules": "^3.4.0",
51
51
  "@atlaskit/task-decision": "^19.2.0",
52
- "@atlaskit/tmp-editor-statsig": "^12.4.0",
53
- "@atlaskit/tokens": "^6.2.0",
52
+ "@atlaskit/tmp-editor-statsig": "^12.9.0",
53
+ "@atlaskit/tokens": "^6.3.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@compiled/react": "^0.18.3",
56
56
  "bind-event-listener": "^3.0.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^108.2.0",
59
+ "@atlaskit/editor-common": "^109.0.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"