@atlaskit/editor-plugin-tasks-and-decisions 5.1.12 → 5.1.13

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,11 @@
1
1
  # @atlaskit/editor-plugin-tasks-and-decisions
2
2
 
3
+ ## 5.1.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 5.1.12
4
10
 
5
11
  ### Patch Changes
@@ -28,6 +28,7 @@ var _reactNodeView = _interopRequireDefault(require("@atlaskit/editor-common/rea
28
28
  var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-plugin-state-selector");
29
29
  var _heading = _interopRequireDefault(require("@atlaskit/heading"));
30
30
  var _checkMarkEditorDone = _interopRequireDefault(require("@atlaskit/icon/core/migration/check-mark--editor-done"));
31
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
31
32
  var _popup = _interopRequireDefault(require("@atlaskit/popup"));
32
33
  var _compiled = require("@atlaskit/primitives/compiled");
33
34
  var _Task2 = _interopRequireDefault(require("../ui/Task"));
@@ -200,7 +201,8 @@ var TaskItemWrapper = function TaskItemWrapper(_ref2) {
200
201
  api: api
201
202
  });
202
203
  },
203
- placement: 'bottom-start'
204
+ placement: 'bottom-start',
205
+ shouldRenderToParent: (0, _platformFeatureFlags.fg)('should-render-to-parent-should-be-true-editor-ai')
204
206
  });
205
207
  };
206
208
  var Task = /*#__PURE__*/function (_ReactNodeView) {
@@ -13,6 +13,7 @@ import ReactNodeView from '@atlaskit/editor-common/react-node-view';
13
13
  import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
14
14
  import Heading from '@atlaskit/heading';
15
15
  import EditorDoneIcon from '@atlaskit/icon/core/migration/check-mark--editor-done';
16
+ import { fg } from '@atlaskit/platform-feature-flags';
16
17
  // Ignored via go/ees005
17
18
  // eslint-disable-next-line import/no-named-as-default
18
19
  import Popup from '@atlaskit/popup';
@@ -176,7 +177,8 @@ const TaskItemWrapper = ({
176
177
  api: api
177
178
  });
178
179
  },
179
- placement: 'bottom-start'
180
+ placement: 'bottom-start',
181
+ shouldRenderToParent: fg('should-render-to-parent-should-be-true-editor-ai')
180
182
  });
181
183
  };
182
184
  class Task extends ReactNodeView {
@@ -25,6 +25,7 @@ import ReactNodeView from '@atlaskit/editor-common/react-node-view';
25
25
  import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
26
26
  import Heading from '@atlaskit/heading';
27
27
  import EditorDoneIcon from '@atlaskit/icon/core/migration/check-mark--editor-done';
28
+ import { fg } from '@atlaskit/platform-feature-flags';
28
29
  // Ignored via go/ees005
29
30
  // eslint-disable-next-line import/no-named-as-default
30
31
  import Popup from '@atlaskit/popup';
@@ -192,7 +193,8 @@ var TaskItemWrapper = function TaskItemWrapper(_ref2) {
192
193
  api: api
193
194
  });
194
195
  },
195
- placement: 'bottom-start'
196
+ placement: 'bottom-start',
197
+ shouldRenderToParent: fg('should-render-to-parent-should-be-true-editor-ai')
196
198
  });
197
199
  };
198
200
  var Task = /*#__PURE__*/function (_ReactNodeView) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "5.1.12",
3
+ "version": "5.1.13",
4
4
  "description": "Tasks and decisions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/analytics-namespaced-context": "^7.0.0",
38
38
  "@atlaskit/analytics-next": "^11.1.0",
39
39
  "@atlaskit/css": "^0.10.0",
40
- "@atlaskit/editor-common": "^106.1.0",
40
+ "@atlaskit/editor-common": "^106.5.0",
41
41
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
42
42
  "@atlaskit/editor-plugin-context-identifier": "^2.1.0",
43
43
  "@atlaskit/editor-plugin-editor-viewmode": "^4.0.0",
@@ -51,8 +51,8 @@
51
51
  "@atlaskit/primitives": "^14.8.0",
52
52
  "@atlaskit/prosemirror-input-rules": "^3.3.0",
53
53
  "@atlaskit/task-decision": "^19.2.0",
54
- "@atlaskit/tmp-editor-statsig": "^5.8.0",
55
- "@atlaskit/tokens": "^5.0.0",
54
+ "@atlaskit/tmp-editor-statsig": "^6.0.0",
55
+ "@atlaskit/tokens": "^5.1.0",
56
56
  "@babel/runtime": "^7.0.0",
57
57
  "@compiled/react": "^0.18.3",
58
58
  "bind-event-listener": "^3.0.0"
@@ -110,6 +110,9 @@
110
110
  "platform-feature-flags": {
111
111
  "platform_editor_vanilla_dom": {
112
112
  "type": "boolean"
113
+ },
114
+ "should-render-to-parent-should-be-true-editor-ai": {
115
+ "type": "boolean"
113
116
  }
114
117
  }
115
118
  }