@atlaskit/editor-plugin-list 10.2.14 → 11.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,20 @@
1
1
  # @atlaskit/editor-plugin-list
2
2
 
3
+ ## 11.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 10.2.15
10
+
11
+ ### Patch Changes
12
+
13
+ - [`1bd298ad0a152`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1bd298ad0a152) -
14
+ [ux] EDITOR-6280 Clean up platform_editor_block_menu_v2_patch_3 to fix icon and copy in jira block
15
+ menu
16
+ - Updated dependencies
17
+
3
18
  ## 10.2.14
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 _listBulleted = _interopRequireDefault(require("@atlaskit/icon/core/list-bulleted"));
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
14
  var NODE_NAME = 'bulletList';
16
15
  var BulletedListBlockMenuItem = function BulletedListBlockMenuItem(_ref) {
17
16
  var api = _ref.api;
@@ -33,16 +32,11 @@ var BulletedListBlockMenuItem = function BulletedListBlockMenuItem(_ref) {
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: handleClick,
43
37
  elemBefore: /*#__PURE__*/_react.default.createElement(_listBulleted.default, {
44
38
  label: "",
45
- size: iconSize
39
+ size: "small"
46
40
  })
47
41
  }, formatMessage(_messages.listMessages.bulletedList));
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 _listNumbered = _interopRequireDefault(require("@atlaskit/icon/core/list-numbered"));
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
14
  var NODE_NAME = 'orderedList';
16
15
  var NumberedListBlockMenuItem = function NumberedListBlockMenuItem(_ref) {
17
16
  var api = _ref.api;
@@ -33,16 +32,11 @@ var NumberedListBlockMenuItem = function NumberedListBlockMenuItem(_ref) {
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: handleClick,
43
37
  elemBefore: /*#__PURE__*/_react.default.createElement(_listNumbered.default, {
44
38
  label: "",
45
- size: iconSize
39
+ size: "small"
46
40
  })
47
41
  }, formatMessage(_messages.listMessages.orderedList));
48
42
  };
@@ -4,7 +4,6 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { listMessages } from '@atlaskit/editor-common/messages';
5
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
6
6
  import ListBulletedIcon from '@atlaskit/icon/core/list-bulleted';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
7
  const NODE_NAME = 'bulletList';
9
8
  const BulletedListBlockMenuItem = ({
10
9
  api
@@ -29,16 +28,11 @@ const BulletedListBlockMenuItem = ({
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: handleClick,
39
33
  elemBefore: /*#__PURE__*/React.createElement(ListBulletedIcon, {
40
34
  label: "",
41
- size: iconSize
35
+ size: "small"
42
36
  })
43
37
  }, formatMessage(listMessages.bulletedList));
44
38
  };
@@ -4,7 +4,6 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { listMessages } from '@atlaskit/editor-common/messages';
5
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
6
6
  import ListNumberedIcon from '@atlaskit/icon/core/list-numbered';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
7
  const NODE_NAME = 'orderedList';
9
8
  const NumberedListBlockMenuItem = ({
10
9
  api
@@ -29,16 +28,11 @@ const NumberedListBlockMenuItem = ({
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: handleClick,
39
33
  elemBefore: /*#__PURE__*/React.createElement(ListNumberedIcon, {
40
34
  label: "",
41
- size: iconSize
35
+ size: "small"
42
36
  })
43
37
  }, formatMessage(listMessages.orderedList));
44
38
  };
@@ -4,7 +4,6 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { listMessages } from '@atlaskit/editor-common/messages';
5
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
6
6
  import ListBulletedIcon from '@atlaskit/icon/core/list-bulleted';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
7
  var NODE_NAME = 'bulletList';
9
8
  var BulletedListBlockMenuItem = function BulletedListBlockMenuItem(_ref) {
10
9
  var api = _ref.api;
@@ -26,16 +25,11 @@ var BulletedListBlockMenuItem = function BulletedListBlockMenuItem(_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: handleClick,
36
30
  elemBefore: /*#__PURE__*/React.createElement(ListBulletedIcon, {
37
31
  label: "",
38
- size: iconSize
32
+ size: "small"
39
33
  })
40
34
  }, formatMessage(listMessages.bulletedList));
41
35
  };
@@ -4,7 +4,6 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { listMessages } from '@atlaskit/editor-common/messages';
5
5
  import { ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
6
6
  import ListNumberedIcon from '@atlaskit/icon/core/list-numbered';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
7
  var NODE_NAME = 'orderedList';
9
8
  var NumberedListBlockMenuItem = function NumberedListBlockMenuItem(_ref) {
10
9
  var api = _ref.api;
@@ -26,16 +25,11 @@ var NumberedListBlockMenuItem = function NumberedListBlockMenuItem(_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: handleClick,
36
30
  elemBefore: /*#__PURE__*/React.createElement(ListNumberedIcon, {
37
31
  label: "",
38
- size: iconSize
32
+ size: "small"
39
33
  })
40
34
  }, formatMessage(listMessages.orderedList));
41
35
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-list",
3
- "version": "10.2.14",
3
+ "version": "11.0.0",
4
4
  "description": "List plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,22 +27,22 @@
27
27
  "sideEffects": false,
28
28
  "atlaskit:src": "src/index.ts",
29
29
  "dependencies": {
30
- "@atlaskit/adf-schema": "^52.4.0",
31
- "@atlaskit/editor-plugin-analytics": "^8.0.0",
32
- "@atlaskit/editor-plugin-block-menu": "^7.0.0",
33
- "@atlaskit/editor-plugin-feature-flags": "^7.0.0",
34
- "@atlaskit/editor-plugin-toolbar": "^5.1.0",
30
+ "@atlaskit/adf-schema": "^52.5.0",
31
+ "@atlaskit/editor-plugin-analytics": "^9.0.0",
32
+ "@atlaskit/editor-plugin-block-menu": "^8.0.0",
33
+ "@atlaskit/editor-plugin-feature-flags": "^8.0.0",
34
+ "@atlaskit/editor-plugin-toolbar": "^6.0.0",
35
35
  "@atlaskit/editor-prosemirror": "^7.3.0",
36
36
  "@atlaskit/editor-toolbar": "^0.20.0",
37
- "@atlaskit/icon": "^34.1.0",
37
+ "@atlaskit/icon": "^34.2.0",
38
38
  "@atlaskit/platform-feature-flags": "^1.1.0",
39
39
  "@atlaskit/prosemirror-history": "^0.2.0",
40
40
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
41
- "@atlaskit/tmp-editor-statsig": "^62.0.0",
41
+ "@atlaskit/tmp-editor-statsig": "^62.4.0",
42
42
  "@babel/runtime": "^7.0.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "@atlaskit/editor-common": "^112.21.0",
45
+ "@atlaskit/editor-common": "^113.0.0",
46
46
  "react": "^18.2.0",
47
47
  "react-intl-next": "npm:react-intl@^5.18.1"
48
48
  },