@atlaskit/editor-plugin-block-type 21.0.8 → 21.0.10

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-block-type
2
2
 
3
+ ## 21.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 21.0.9
10
+
11
+ ### Patch Changes
12
+
13
+ - [`61a147bcf836c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/61a147bcf836c) -
14
+ Support Small text and Normal text transformations from the block menu by reusing the Paragraph
15
+ conversion with target block marks.
16
+ - Updated dependencies
17
+
3
18
  ## 21.0.8
4
19
 
5
20
  ### Patch Changes
@@ -18,6 +18,7 @@ var ParagraphBlockMenuItem = function ParagraphBlockMenuItem(_ref) {
18
18
  isSuggested = _ref.isSuggested;
19
19
  var _useIntl = (0, _reactIntl.useIntl)(),
20
20
  formatMessage = _useIntl.formatMessage;
21
+ var isNormalTextLabelEnabled = (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_menu_small_text');
21
22
  var handleClick = function handleClick(event) {
22
23
  var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? _analytics.INPUT_METHOD.KEYBOARD : _analytics.INPUT_METHOD.MOUSE;
23
24
  var inputMethod = _analytics.INPUT_METHOD.BLOCK_MENU;
@@ -27,6 +28,7 @@ var ParagraphBlockMenuItem = function ParagraphBlockMenuItem(_ref) {
27
28
  var command = api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.paragraph, {
28
29
  inputMethod: inputMethod,
29
30
  isSuggested: isSuggested,
31
+ marksToRemove: isNormalTextLabelEnabled ? ['fontSize'] : undefined,
30
32
  triggeredFrom: triggeredFrom,
31
33
  targetTypeName: NODE_NAME
32
34
  });
@@ -41,7 +43,7 @@ var ParagraphBlockMenuItem = function ParagraphBlockMenuItem(_ref) {
41
43
  label: "",
42
44
  size: "small"
43
45
  })
44
- }, formatMessage((0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_menu_small_text') ? _messages.blockMenuMessages.normalText : _messages.blockMenuMessages.paragraph));
46
+ }, formatMessage(isNormalTextLabelEnabled ? _messages.blockMenuMessages.normalText : _messages.blockMenuMessages.paragraph));
45
47
  };
46
48
  var createParagraphBlockMenuItem = exports.createParagraphBlockMenuItem = function createParagraphBlockMenuItem(_ref3) {
47
49
  var api = _ref3.api;
@@ -10,7 +10,7 @@ var _reactIntl = require("react-intl");
10
10
  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
- var NODE_NAME = 'paragraph';
13
+ var NODE_NAME = 'smallText';
14
14
  var SmallTextBlockMenuItem = function SmallTextBlockMenuItem(_ref) {
15
15
  var api = _ref.api,
16
16
  isSuggested = _ref.isSuggested;
@@ -25,6 +25,11 @@ var SmallTextBlockMenuItem = function SmallTextBlockMenuItem(_ref) {
25
25
  var command = api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.paragraph, {
26
26
  inputMethod: inputMethod,
27
27
  isSuggested: isSuggested,
28
+ marksToAdd: {
29
+ fontSize: {
30
+ fontSize: 'small'
31
+ }
32
+ },
28
33
  triggeredFrom: triggeredFrom,
29
34
  targetTypeName: NODE_NAME
30
35
  });
@@ -19,8 +19,7 @@ var QUOTE_NODE_NAME = 'blockquote';
19
19
  var PARAGRAPH_NODE_NAME = 'paragraph';
20
20
  var getBlockTypeComponents = exports.getBlockTypeComponents = function getBlockTypeComponents(api) {
21
21
  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
22
- allowFontSize = _ref.allowFontSize,
23
- isTextFormattingItemHidden = _ref.isHidden;
22
+ allowFontSize = _ref.allowFontSize;
24
23
  var isSmallTextExperimentEnabled = (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_menu_small_text');
25
24
  var isSmallTextEnabled = Boolean(allowFontSize && isSmallTextExperimentEnabled);
26
25
  var textFormattingRank = isSmallTextExperimentEnabled ? _rank.TRANSFORM_TEXT_FORMATTING_MENU_SECTION_RANK : _blockMenu.TRANSFORM_HEADINGS_MENU_SECTION_RANK;
@@ -148,8 +147,9 @@ var getBlockTypeComponents = exports.getBlockTypeComponents = function getBlockT
148
147
  }),
149
148
  isHidden: function isHidden() {
150
149
  var _api$blockMenu3;
151
- var injectedResult = isSmallTextExperimentEnabled ? isTextFormattingItemHidden === null || isTextFormattingItemHidden === void 0 ? void 0 : isTextFormattingItemHidden('normal-text') : undefined;
152
- return injectedResult !== null && injectedResult !== void 0 ? injectedResult : Boolean(api === null || api === void 0 || (_api$blockMenu3 = api.blockMenu) === null || _api$blockMenu3 === void 0 ? void 0 : _api$blockMenu3.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME));
150
+ return Boolean(api === null || api === void 0 || (_api$blockMenu3 = api.blockMenu) === null || _api$blockMenu3 === void 0 ? void 0 : _api$blockMenu3.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME, undefined, isSmallTextExperimentEnabled ? {
151
+ marksToRemove: ['fontSize']
152
+ } : undefined));
153
153
  }
154
154
  }].concat((0, _toConsumableArray2.default)(isSmallTextEnabled ? [{
155
155
  type: 'block-menu-item',
@@ -163,11 +163,14 @@ var getBlockTypeComponents = exports.getBlockTypeComponents = function getBlockT
163
163
  api: api
164
164
  }),
165
165
  isHidden: function isHidden() {
166
- var _api$core$sharedState, _api$blockMenu4, _isTextFormattingItem;
167
- if (!(api !== null && api !== void 0 && (_api$core$sharedState = api.core.sharedState.currentState()) !== null && _api$core$sharedState !== void 0 && (_api$core$sharedState = _api$core$sharedState.schema) !== null && _api$core$sharedState !== void 0 && _api$core$sharedState.marks.fontSize) || Boolean(api === null || api === void 0 || (_api$blockMenu4 = api.blockMenu) === null || _api$blockMenu4 === void 0 ? void 0 : _api$blockMenu4.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME)) && isTransformHeadingDisabled(1)) {
168
- return true;
169
- }
170
- return (_isTextFormattingItem = isTextFormattingItemHidden === null || isTextFormattingItemHidden === void 0 ? void 0 : isTextFormattingItemHidden('small-text')) !== null && _isTextFormattingItem !== void 0 ? _isTextFormattingItem : false;
166
+ var _api$core$sharedState, _api$blockMenu4;
167
+ return !(api !== null && api !== void 0 && (_api$core$sharedState = api.core.sharedState.currentState()) !== null && _api$core$sharedState !== void 0 && (_api$core$sharedState = _api$core$sharedState.schema) !== null && _api$core$sharedState !== void 0 && _api$core$sharedState.marks.fontSize) || Boolean(api === null || api === void 0 || (_api$blockMenu4 = api.blockMenu) === null || _api$blockMenu4 === void 0 ? void 0 : _api$blockMenu4.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME, undefined, {
168
+ marksToAdd: {
169
+ fontSize: {
170
+ fontSize: 'small'
171
+ }
172
+ }
173
+ }));
171
174
  }
172
175
  }] : []));
173
176
  };
@@ -13,6 +13,7 @@ const ParagraphBlockMenuItem = ({
13
13
  const {
14
14
  formatMessage
15
15
  } = useIntl();
16
+ const isNormalTextLabelEnabled = isExperimentEnabled('platform_editor_block_menu_small_text');
16
17
  const handleClick = event => {
17
18
  const triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? INPUT_METHOD.KEYBOARD : INPUT_METHOD.MOUSE;
18
19
  const inputMethod = INPUT_METHOD.BLOCK_MENU;
@@ -23,6 +24,7 @@ const ParagraphBlockMenuItem = ({
23
24
  const command = api === null || api === void 0 ? void 0 : (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.paragraph, {
24
25
  inputMethod,
25
26
  isSuggested,
27
+ marksToRemove: isNormalTextLabelEnabled ? ['fontSize'] : undefined,
26
28
  triggeredFrom,
27
29
  targetTypeName: NODE_NAME
28
30
  });
@@ -37,7 +39,7 @@ const ParagraphBlockMenuItem = ({
37
39
  label: "",
38
40
  size: "small"
39
41
  })
40
- }, formatMessage(isExperimentEnabled('platform_editor_block_menu_small_text') ? blockMenuMessages.normalText : blockMenuMessages.paragraph));
42
+ }, formatMessage(isNormalTextLabelEnabled ? blockMenuMessages.normalText : blockMenuMessages.paragraph));
41
43
  };
42
44
  export const createParagraphBlockMenuItem = ({
43
45
  api
@@ -3,7 +3,7 @@ import { useIntl } from 'react-intl';
3
3
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { blockTypeMessages } from '@atlaskit/editor-common/messages';
5
5
  import { TextSmallIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
6
- const NODE_NAME = 'paragraph';
6
+ const NODE_NAME = 'smallText';
7
7
  const SmallTextBlockMenuItem = ({
8
8
  api,
9
9
  isSuggested
@@ -21,6 +21,11 @@ const SmallTextBlockMenuItem = ({
21
21
  const command = api === null || api === void 0 ? void 0 : (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.paragraph, {
22
22
  inputMethod,
23
23
  isSuggested,
24
+ marksToAdd: {
25
+ fontSize: {
26
+ fontSize: 'small'
27
+ }
28
+ },
24
29
  triggeredFrom,
25
30
  targetTypeName: NODE_NAME
26
31
  });
@@ -10,8 +10,7 @@ const HEADING_NODE_NAME = 'heading';
10
10
  const QUOTE_NODE_NAME = 'blockquote';
11
11
  const PARAGRAPH_NODE_NAME = 'paragraph';
12
12
  export const getBlockTypeComponents = (api, {
13
- allowFontSize,
14
- isHidden: isTextFormattingItemHidden
13
+ allowFontSize
15
14
  } = {}) => {
16
15
  const isSmallTextExperimentEnabled = isExperimentEnabled('platform_editor_block_menu_small_text');
17
16
  const isSmallTextEnabled = Boolean(allowFontSize && isSmallTextExperimentEnabled);
@@ -128,8 +127,9 @@ export const getBlockTypeComponents = (api, {
128
127
  }),
129
128
  isHidden: () => {
130
129
  var _api$blockMenu3;
131
- const injectedResult = isSmallTextExperimentEnabled ? isTextFormattingItemHidden === null || isTextFormattingItemHidden === void 0 ? void 0 : isTextFormattingItemHidden('normal-text') : undefined;
132
- return injectedResult !== null && injectedResult !== void 0 ? injectedResult : Boolean(api === null || api === void 0 ? void 0 : (_api$blockMenu3 = api.blockMenu) === null || _api$blockMenu3 === void 0 ? void 0 : _api$blockMenu3.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME));
130
+ return Boolean(api === null || api === void 0 ? void 0 : (_api$blockMenu3 = api.blockMenu) === null || _api$blockMenu3 === void 0 ? void 0 : _api$blockMenu3.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME, undefined, isSmallTextExperimentEnabled ? {
131
+ marksToRemove: ['fontSize']
132
+ } : undefined));
133
133
  }
134
134
  }, ...(isSmallTextEnabled ? [{
135
135
  type: 'block-menu-item',
@@ -143,11 +143,14 @@ export const getBlockTypeComponents = (api, {
143
143
  api
144
144
  }),
145
145
  isHidden: () => {
146
- var _api$core$sharedState, _api$core$sharedState2, _api$blockMenu4, _isTextFormattingItem;
147
- if (!(api !== null && api !== void 0 && (_api$core$sharedState = api.core.sharedState.currentState()) !== null && _api$core$sharedState !== void 0 && (_api$core$sharedState2 = _api$core$sharedState.schema) !== null && _api$core$sharedState2 !== void 0 && _api$core$sharedState2.marks.fontSize) || Boolean(api === null || api === void 0 ? void 0 : (_api$blockMenu4 = api.blockMenu) === null || _api$blockMenu4 === void 0 ? void 0 : _api$blockMenu4.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME)) && isTransformHeadingDisabled(1)) {
148
- return true;
149
- }
150
- return (_isTextFormattingItem = isTextFormattingItemHidden === null || isTextFormattingItemHidden === void 0 ? void 0 : isTextFormattingItemHidden('small-text')) !== null && _isTextFormattingItem !== void 0 ? _isTextFormattingItem : false;
146
+ var _api$core$sharedState, _api$core$sharedState2, _api$blockMenu4;
147
+ return !(api !== null && api !== void 0 && (_api$core$sharedState = api.core.sharedState.currentState()) !== null && _api$core$sharedState !== void 0 && (_api$core$sharedState2 = _api$core$sharedState.schema) !== null && _api$core$sharedState2 !== void 0 && _api$core$sharedState2.marks.fontSize) || Boolean(api === null || api === void 0 ? void 0 : (_api$blockMenu4 = api.blockMenu) === null || _api$blockMenu4 === void 0 ? void 0 : _api$blockMenu4.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME, undefined, {
148
+ marksToAdd: {
149
+ fontSize: {
150
+ fontSize: 'small'
151
+ }
152
+ }
153
+ }));
151
154
  }
152
155
  }] : [])];
153
156
  };
@@ -11,6 +11,7 @@ var ParagraphBlockMenuItem = function ParagraphBlockMenuItem(_ref) {
11
11
  isSuggested = _ref.isSuggested;
12
12
  var _useIntl = useIntl(),
13
13
  formatMessage = _useIntl.formatMessage;
14
+ var isNormalTextLabelEnabled = isExperimentEnabled('platform_editor_block_menu_small_text');
14
15
  var handleClick = function handleClick(event) {
15
16
  var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? INPUT_METHOD.KEYBOARD : INPUT_METHOD.MOUSE;
16
17
  var inputMethod = INPUT_METHOD.BLOCK_MENU;
@@ -20,6 +21,7 @@ var ParagraphBlockMenuItem = function ParagraphBlockMenuItem(_ref) {
20
21
  var command = api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.paragraph, {
21
22
  inputMethod: inputMethod,
22
23
  isSuggested: isSuggested,
24
+ marksToRemove: isNormalTextLabelEnabled ? ['fontSize'] : undefined,
23
25
  triggeredFrom: triggeredFrom,
24
26
  targetTypeName: NODE_NAME
25
27
  });
@@ -34,7 +36,7 @@ var ParagraphBlockMenuItem = function ParagraphBlockMenuItem(_ref) {
34
36
  label: "",
35
37
  size: "small"
36
38
  })
37
- }, formatMessage(isExperimentEnabled('platform_editor_block_menu_small_text') ? blockMenuMessages.normalText : blockMenuMessages.paragraph));
39
+ }, formatMessage(isNormalTextLabelEnabled ? blockMenuMessages.normalText : blockMenuMessages.paragraph));
38
40
  };
39
41
  export var createParagraphBlockMenuItem = function createParagraphBlockMenuItem(_ref3) {
40
42
  var api = _ref3.api;
@@ -3,7 +3,7 @@ import { useIntl } from 'react-intl';
3
3
  import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { blockTypeMessages } from '@atlaskit/editor-common/messages';
5
5
  import { TextSmallIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
6
- var NODE_NAME = 'paragraph';
6
+ var NODE_NAME = 'smallText';
7
7
  var SmallTextBlockMenuItem = function SmallTextBlockMenuItem(_ref) {
8
8
  var api = _ref.api,
9
9
  isSuggested = _ref.isSuggested;
@@ -18,6 +18,11 @@ var SmallTextBlockMenuItem = function SmallTextBlockMenuItem(_ref) {
18
18
  var command = api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.paragraph, {
19
19
  inputMethod: inputMethod,
20
20
  isSuggested: isSuggested,
21
+ marksToAdd: {
22
+ fontSize: {
23
+ fontSize: 'small'
24
+ }
25
+ },
21
26
  triggeredFrom: triggeredFrom,
22
27
  targetTypeName: NODE_NAME
23
28
  });
@@ -12,8 +12,7 @@ var QUOTE_NODE_NAME = 'blockquote';
12
12
  var PARAGRAPH_NODE_NAME = 'paragraph';
13
13
  export var getBlockTypeComponents = function getBlockTypeComponents(api) {
14
14
  var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
15
- allowFontSize = _ref.allowFontSize,
16
- isTextFormattingItemHidden = _ref.isHidden;
15
+ allowFontSize = _ref.allowFontSize;
17
16
  var isSmallTextExperimentEnabled = isExperimentEnabled('platform_editor_block_menu_small_text');
18
17
  var isSmallTextEnabled = Boolean(allowFontSize && isSmallTextExperimentEnabled);
19
18
  var textFormattingRank = isSmallTextExperimentEnabled ? TRANSFORM_TEXT_FORMATTING_MENU_SECTION_RANK : TRANSFORM_HEADINGS_MENU_SECTION_RANK;
@@ -141,8 +140,9 @@ export var getBlockTypeComponents = function getBlockTypeComponents(api) {
141
140
  }),
142
141
  isHidden: function isHidden() {
143
142
  var _api$blockMenu3;
144
- var injectedResult = isSmallTextExperimentEnabled ? isTextFormattingItemHidden === null || isTextFormattingItemHidden === void 0 ? void 0 : isTextFormattingItemHidden('normal-text') : undefined;
145
- return injectedResult !== null && injectedResult !== void 0 ? injectedResult : Boolean(api === null || api === void 0 || (_api$blockMenu3 = api.blockMenu) === null || _api$blockMenu3 === void 0 ? void 0 : _api$blockMenu3.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME));
143
+ return Boolean(api === null || api === void 0 || (_api$blockMenu3 = api.blockMenu) === null || _api$blockMenu3 === void 0 ? void 0 : _api$blockMenu3.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME, undefined, isSmallTextExperimentEnabled ? {
144
+ marksToRemove: ['fontSize']
145
+ } : undefined));
146
146
  }
147
147
  }].concat(_toConsumableArray(isSmallTextEnabled ? [{
148
148
  type: 'block-menu-item',
@@ -156,11 +156,14 @@ export var getBlockTypeComponents = function getBlockTypeComponents(api) {
156
156
  api: api
157
157
  }),
158
158
  isHidden: function isHidden() {
159
- var _api$core$sharedState, _api$blockMenu4, _isTextFormattingItem;
160
- if (!(api !== null && api !== void 0 && (_api$core$sharedState = api.core.sharedState.currentState()) !== null && _api$core$sharedState !== void 0 && (_api$core$sharedState = _api$core$sharedState.schema) !== null && _api$core$sharedState !== void 0 && _api$core$sharedState.marks.fontSize) || Boolean(api === null || api === void 0 || (_api$blockMenu4 = api.blockMenu) === null || _api$blockMenu4 === void 0 ? void 0 : _api$blockMenu4.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME)) && isTransformHeadingDisabled(1)) {
161
- return true;
162
- }
163
- return (_isTextFormattingItem = isTextFormattingItemHidden === null || isTextFormattingItemHidden === void 0 ? void 0 : isTextFormattingItemHidden('small-text')) !== null && _isTextFormattingItem !== void 0 ? _isTextFormattingItem : false;
159
+ var _api$core$sharedState, _api$blockMenu4;
160
+ return !(api !== null && api !== void 0 && (_api$core$sharedState = api.core.sharedState.currentState()) !== null && _api$core$sharedState !== void 0 && (_api$core$sharedState = _api$core$sharedState.schema) !== null && _api$core$sharedState !== void 0 && _api$core$sharedState.marks.fontSize) || Boolean(api === null || api === void 0 || (_api$blockMenu4 = api.blockMenu) === null || _api$blockMenu4 === void 0 ? void 0 : _api$blockMenu4.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME, undefined, {
161
+ marksToAdd: {
162
+ fontSize: {
163
+ fontSize: 'small'
164
+ }
165
+ }
166
+ }));
164
167
  }
165
168
  }] : []));
166
169
  };
@@ -2,4 +2,4 @@ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
2
2
  import type { RegisterBlockMenuComponent } from '@atlaskit/editor-plugin-block-menu';
3
3
  import type { BlockTypePlugin } from '../blockTypePluginType';
4
4
  import type { TextFormattingBlockMenuOptions } from './types';
5
- export declare const getBlockTypeComponents: (api: ExtractInjectionAPI<BlockTypePlugin> | undefined, { allowFontSize, isHidden: isTextFormattingItemHidden }?: TextFormattingBlockMenuOptions) => RegisterBlockMenuComponent[];
5
+ export declare const getBlockTypeComponents: (api: ExtractInjectionAPI<BlockTypePlugin> | undefined, { allowFontSize }?: TextFormattingBlockMenuOptions) => RegisterBlockMenuComponent[];
@@ -1,5 +1,3 @@
1
- export type TextFormattingBlockMenuVariant = 'normal-text' | 'small-text';
2
1
  export type TextFormattingBlockMenuOptions = {
3
2
  allowFontSize?: boolean;
4
- isHidden?: (variant: TextFormattingBlockMenuVariant) => boolean | undefined;
5
3
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-type",
3
- "version": "21.0.8",
3
+ "version": "21.0.10",
4
4
  "description": "BlockType plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/primitives": "^22.5.0",
44
44
  "@atlaskit/prosemirror-history": "^1.2.0",
45
45
  "@atlaskit/prosemirror-input-rules": "^4.1.0",
46
- "@atlaskit/tmp-editor-statsig": "^186.0.0",
46
+ "@atlaskit/tmp-editor-statsig": "^187.0.0",
47
47
  "@atlaskit/tokens": "^16.12.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@compiled/react": "^1.0.2",