@atlaskit/editor-plugin-tasks-and-decisions 11.4.16 → 11.4.18

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,20 @@
1
1
  # @atlaskit/editor-plugin-tasks-and-decisions
2
2
 
3
+ ## 11.4.18
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1bd298ad0a152`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1bd298ad0a152) -
8
+ [ux] EDITOR-6280 Clean up platform_editor_block_menu_v2_patch_3 to fix icon and copy in jira block
9
+ menu
10
+ - Updated dependencies
11
+
12
+ ## 11.4.17
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 11.4.16
4
19
 
5
20
  ### Patch Changes
@@ -11,7 +11,6 @@ var _analytics = require("@atlaskit/editor-common/analytics");
11
11
  var _messages = require("@atlaskit/editor-common/messages");
12
12
  var _editorToolbar = require("@atlaskit/editor-toolbar");
13
13
  var _decision = _interopRequireDefault(require("@atlaskit/icon/core/decision"));
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
14
  var NODE_NAME = 'decisionList';
16
15
  var DecisionListBlockMenuItem = exports.DecisionListBlockMenuItem = function DecisionListBlockMenuItem(_ref) {
17
16
  var api = _ref.api;
@@ -33,16 +32,11 @@ var DecisionListBlockMenuItem = exports.DecisionListBlockMenuItem = function Dec
33
32
  }) : null;
34
33
  });
35
34
  };
36
-
37
- // [FEATURE FLAG: platform_editor_block_menu_v2_patch_3]
38
- // Adds size="small" to icons for better visual consistency in block menu.
39
- // To clean up: remove conditional, keep only size="small" version.
40
- var iconSize = (0, _platformFeatureFlags.fg)('platform_editor_block_menu_v2_patch_3') ? 'small' : undefined;
41
35
  return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItem, {
42
36
  onClick: onClick,
43
37
  elemBefore: /*#__PURE__*/_react.default.createElement(_decision.default, {
44
38
  label: "",
45
- size: iconSize
39
+ size: "small"
46
40
  })
47
41
  }, formatMessage(_messages.blockMenuMessages.decisionList));
48
42
  };
@@ -11,7 +11,6 @@ var _analytics = require("@atlaskit/editor-common/analytics");
11
11
  var _messages = require("@atlaskit/editor-common/messages");
12
12
  var _editorToolbar = require("@atlaskit/editor-toolbar");
13
13
  var _task = _interopRequireDefault(require("@atlaskit/icon/core/task"));
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
14
  var NODE_NAME = 'taskList';
16
15
  var TaskListBlockMenuItem = exports.TaskListBlockMenuItem = function TaskListBlockMenuItem(_ref) {
17
16
  var api = _ref.api;
@@ -33,16 +32,11 @@ var TaskListBlockMenuItem = exports.TaskListBlockMenuItem = function TaskListBlo
33
32
  }) : null;
34
33
  });
35
34
  };
36
-
37
- // [FEATURE FLAG: platform_editor_block_menu_v2_patch_3]
38
- // Adds size="small" to icons for better visual consistency in block menu.
39
- // To clean up: remove conditional, keep only size="small" version.
40
- var iconSize = (0, _platformFeatureFlags.fg)('platform_editor_block_menu_v2_patch_3') ? 'small' : undefined;
41
35
  return /*#__PURE__*/_react.default.createElement(_editorToolbar.ToolbarDropdownItem, {
42
36
  onClick: onClick,
43
37
  elemBefore: /*#__PURE__*/_react.default.createElement(_task.default, {
44
38
  label: "",
45
- size: iconSize
39
+ size: "small"
46
40
  })
47
41
  }, formatMessage(_messages.tasksAndDecisionsMessages.taskList));
48
42
  };
@@ -4,7 +4,6 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { blockMenuMessages } from '@atlaskit/editor-common/messages';
5
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
6
6
  import DecisionIcon from '@atlaskit/icon/core/decision';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
7
  const NODE_NAME = 'decisionList';
9
8
  export const DecisionListBlockMenuItem = ({
10
9
  api
@@ -29,16 +28,11 @@ export const DecisionListBlockMenuItem = ({
29
28
  }) : null;
30
29
  });
31
30
  };
32
-
33
- // [FEATURE FLAG: platform_editor_block_menu_v2_patch_3]
34
- // Adds size="small" to icons for better visual consistency in block menu.
35
- // To clean up: remove conditional, keep only size="small" version.
36
- const iconSize = fg('platform_editor_block_menu_v2_patch_3') ? 'small' : undefined;
37
31
  return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
38
32
  onClick: onClick,
39
33
  elemBefore: /*#__PURE__*/React.createElement(DecisionIcon, {
40
34
  label: "",
41
- size: iconSize
35
+ size: "small"
42
36
  })
43
37
  }, formatMessage(blockMenuMessages.decisionList));
44
38
  };
@@ -4,7 +4,6 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
5
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
6
6
  import TaskIcon from '@atlaskit/icon/core/task';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
7
  const NODE_NAME = 'taskList';
9
8
  export const TaskListBlockMenuItem = ({
10
9
  api
@@ -29,16 +28,11 @@ export const TaskListBlockMenuItem = ({
29
28
  }) : null;
30
29
  });
31
30
  };
32
-
33
- // [FEATURE FLAG: platform_editor_block_menu_v2_patch_3]
34
- // Adds size="small" to icons for better visual consistency in block menu.
35
- // To clean up: remove conditional, keep only size="small" version.
36
- const iconSize = fg('platform_editor_block_menu_v2_patch_3') ? 'small' : undefined;
37
31
  return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
38
32
  onClick: onClick,
39
33
  elemBefore: /*#__PURE__*/React.createElement(TaskIcon, {
40
34
  label: "",
41
- size: iconSize
35
+ size: "small"
42
36
  })
43
37
  }, formatMessage(tasksAndDecisionsMessages.taskList));
44
38
  };
@@ -4,7 +4,6 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { blockMenuMessages } from '@atlaskit/editor-common/messages';
5
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
6
6
  import DecisionIcon from '@atlaskit/icon/core/decision';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
7
  var NODE_NAME = 'decisionList';
9
8
  export var DecisionListBlockMenuItem = function DecisionListBlockMenuItem(_ref) {
10
9
  var api = _ref.api;
@@ -26,16 +25,11 @@ export var DecisionListBlockMenuItem = function DecisionListBlockMenuItem(_ref)
26
25
  }) : null;
27
26
  });
28
27
  };
29
-
30
- // [FEATURE FLAG: platform_editor_block_menu_v2_patch_3]
31
- // Adds size="small" to icons for better visual consistency in block menu.
32
- // To clean up: remove conditional, keep only size="small" version.
33
- var iconSize = fg('platform_editor_block_menu_v2_patch_3') ? 'small' : undefined;
34
28
  return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
35
29
  onClick: onClick,
36
30
  elemBefore: /*#__PURE__*/React.createElement(DecisionIcon, {
37
31
  label: "",
38
- size: iconSize
32
+ size: "small"
39
33
  })
40
34
  }, formatMessage(blockMenuMessages.decisionList));
41
35
  };
@@ -4,7 +4,6 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { tasksAndDecisionsMessages } from '@atlaskit/editor-common/messages';
5
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
6
6
  import TaskIcon from '@atlaskit/icon/core/task';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
7
  var NODE_NAME = 'taskList';
9
8
  export var TaskListBlockMenuItem = function TaskListBlockMenuItem(_ref) {
10
9
  var api = _ref.api;
@@ -26,16 +25,11 @@ export var TaskListBlockMenuItem = function TaskListBlockMenuItem(_ref) {
26
25
  }) : null;
27
26
  });
28
27
  };
29
-
30
- // [FEATURE FLAG: platform_editor_block_menu_v2_patch_3]
31
- // Adds size="small" to icons for better visual consistency in block menu.
32
- // To clean up: remove conditional, keep only size="small" version.
33
- var iconSize = fg('platform_editor_block_menu_v2_patch_3') ? 'small' : undefined;
34
28
  return /*#__PURE__*/React.createElement(ToolbarDropdownItem, {
35
29
  onClick: onClick,
36
30
  elemBefore: /*#__PURE__*/React.createElement(TaskIcon, {
37
31
  label: "",
38
- size: iconSize
32
+ size: "small"
39
33
  })
40
34
  }, formatMessage(tasksAndDecisionsMessages.taskList));
41
35
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-tasks-and-decisions",
3
- "version": "11.4.16",
3
+ "version": "11.4.18",
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": "^0.20.0",
45
45
  "@atlaskit/editor-toolbar-model": "^0.4.0",
46
46
  "@atlaskit/heading": "^5.4.0",
47
- "@atlaskit/icon": "^34.0.0",
47
+ "@atlaskit/icon": "^34.1.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": "^19.3.0",
52
- "@atlaskit/tmp-editor-statsig": "^61.0.0",
52
+ "@atlaskit/tmp-editor-statsig": "^62.2.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": "^112.20.0",
59
+ "@atlaskit/editor-common": "^112.21.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"
@@ -104,9 +104,6 @@
104
104
  "platform_editor_element_browser_analytic": {
105
105
  "type": "boolean"
106
106
  },
107
- "platform_editor_block_menu_v2_patch_3": {
108
- "type": "boolean"
109
- },
110
107
  "platform_editor_toolbar_task_list_analytics": {
111
108
  "type": "boolean"
112
109
  }