@atlaskit/editor-plugin-tasks-and-decisions 13.0.3 → 13.1.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,22 @@
1
1
  # @atlaskit/editor-plugin-tasks-and-decisions
2
2
 
3
+ ## 13.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 13.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`e5cdd96dcf4f9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e5cdd96dcf4f9) -
14
+ Clean up platform_editor_hydratable_ui experiment (shipped as enabled)
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 13.0.3
4
21
 
5
22
  ### Patch Changes
@@ -66,10 +66,7 @@ function ContentComponent(_ref2) {
66
66
  dependencyApi = _ref2.dependencyApi;
67
67
  var openRequestToEditPopupAt = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(dependencyApi, 'taskDecision.openRequestToEditPopupAt');
68
68
  var hasEditPermission = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(dependencyApi, 'taskDecision.hasEditPermission');
69
- if ((0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) && !editorView) {
70
- return null;
71
- }
72
- if (hasEditPermission || !openRequestToEditPopupAt) {
69
+ if (!editorView || hasEditPermission || !openRequestToEditPopupAt) {
73
70
  return null;
74
71
  }
75
72
  var domAtPos = editorView.domAtPos.bind(editorView);
@@ -55,10 +55,7 @@ function ContentComponent({
55
55
  }) {
56
56
  const openRequestToEditPopupAt = useSharedPluginStateSelector(dependencyApi, 'taskDecision.openRequestToEditPopupAt');
57
57
  const hasEditPermission = useSharedPluginStateSelector(dependencyApi, 'taskDecision.hasEditPermission');
58
- if (expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) && !editorView) {
59
- return null;
60
- }
61
- if (hasEditPermission || !openRequestToEditPopupAt) {
58
+ if (!editorView || hasEditPermission || !openRequestToEditPopupAt) {
62
59
  return null;
63
60
  }
64
61
  const domAtPos = editorView.domAtPos.bind(editorView);
@@ -57,10 +57,7 @@ function ContentComponent(_ref2) {
57
57
  dependencyApi = _ref2.dependencyApi;
58
58
  var openRequestToEditPopupAt = useSharedPluginStateSelector(dependencyApi, 'taskDecision.openRequestToEditPopupAt');
59
59
  var hasEditPermission = useSharedPluginStateSelector(dependencyApi, 'taskDecision.hasEditPermission');
60
- if (expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) && !editorView) {
61
- return null;
62
- }
63
- if (hasEditPermission || !openRequestToEditPopupAt) {
60
+ if (!editorView || hasEditPermission || !openRequestToEditPopupAt) {
64
61
  return null;
65
62
  }
66
63
  var domAtPos = editorView.domAtPos.bind(editorView);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "13.0.3",
3
+ "version": "13.1.1",
4
4
  "description": "Tasks and decisions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -44,19 +44,19 @@
44
44
  "@atlaskit/editor-toolbar": "^1.0.0",
45
45
  "@atlaskit/editor-toolbar-model": "^0.4.0",
46
46
  "@atlaskit/heading": "^5.4.0",
47
- "@atlaskit/icon": "^34.2.0",
47
+ "@atlaskit/icon": "^34.3.0",
48
48
  "@atlaskit/platform-feature-flags": "^1.1.0",
49
49
  "@atlaskit/primitives": "^19.0.0",
50
50
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
51
51
  "@atlaskit/task-decision": "^20.0.0",
52
- "@atlaskit/tmp-editor-statsig": "^64.0.0",
52
+ "@atlaskit/tmp-editor-statsig": "^66.0.0",
53
53
  "@atlaskit/tokens": "^13.0.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@compiled/react": "^0.20.0",
56
56
  "bind-event-listener": "^3.0.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^114.5.0",
59
+ "@atlaskit/editor-common": "^114.7.0",
60
60
  "react": "^18.2.0",
61
61
  "react-dom": "^18.2.0",
62
62
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"