@atlaskit/editor-plugin-block-type 19.1.1 → 19.1.3
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 +16 -0
- package/dist/cjs/pm-plugins/block-types.js +2 -2
- package/dist/cjs/pm-plugins/keymap.js +4 -3
- package/dist/cjs/pm-plugins/ui/ToolbarBlockType/HeadingButton.js +2 -2
- package/dist/cjs/pm-plugins/ui/ToolbarBlockType/QuoteButton.js +2 -2
- package/dist/cjs/pm-plugins/ui/ToolbarBlockType/TextStylesMenuButton.js +3 -3
- package/dist/es2019/pm-plugins/block-types.js +1 -1
- package/dist/es2019/pm-plugins/keymap.js +2 -1
- package/dist/es2019/pm-plugins/ui/ToolbarBlockType/HeadingButton.js +1 -1
- package/dist/es2019/pm-plugins/ui/ToolbarBlockType/QuoteButton.js +1 -1
- package/dist/es2019/pm-plugins/ui/ToolbarBlockType/TextStylesMenuButton.js +1 -1
- package/dist/esm/pm-plugins/block-types.js +1 -1
- package/dist/esm/pm-plugins/keymap.js +2 -1
- package/dist/esm/pm-plugins/ui/ToolbarBlockType/HeadingButton.js +1 -1
- package/dist/esm/pm-plugins/ui/ToolbarBlockType/QuoteButton.js +1 -1
- package/dist/esm/pm-plugins/ui/ToolbarBlockType/TextStylesMenuButton.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
|
2
2
|
|
|
3
|
+
## 19.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`656801b9e097c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/656801b9e097c) -
|
|
8
|
+
VOLTC-331 - Migrate updated package usage in platform/editor: rewrite barrel imports of
|
|
9
|
+
voltCompliant provider packages to deep/subpath imports (consumer-side debarrel). No public API
|
|
10
|
+
changes.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 19.1.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 19.1.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -17,7 +17,7 @@ var _textHeadingSix = _interopRequireDefault(require("@atlaskit/icon-lab/core/te
|
|
|
17
17
|
var _textHeadingThree = _interopRequireDefault(require("@atlaskit/icon-lab/core/text-heading-three"));
|
|
18
18
|
var _textHeadingTwo = _interopRequireDefault(require("@atlaskit/icon-lab/core/text-heading-two"));
|
|
19
19
|
var _text = _interopRequireDefault(require("@atlaskit/icon/core/text"));
|
|
20
|
-
var
|
|
20
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
21
21
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
22
22
|
var _icons = require("./ui/ToolbarBlockType/icons");
|
|
23
23
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -147,7 +147,7 @@ var toolbarBlockTypesWithRank = exports.toolbarBlockTypesWithRank = function too
|
|
|
147
147
|
normal: _objectSpread(_objectSpread({}, NORMAL_TEXT), {}, {
|
|
148
148
|
icon:
|
|
149
149
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
150
|
-
(0, _expValEquals.expValEquals)('platform_editor_small_font_size', 'isEnabled', true) && (0,
|
|
150
|
+
(0, _expValEquals.expValEquals)('platform_editor_small_font_size', 'isEnabled', true) && (0, _fg.fg)('platform_editor_change_normal_text_icon') ? /*#__PURE__*/_react.default.createElement(_editorToolbar.TextNormalIcon, {
|
|
151
151
|
size: "small",
|
|
152
152
|
label: ""
|
|
153
153
|
}) : /*#__PURE__*/_react.default.createElement(_editorToolbar.TextIcon, {
|
|
@@ -9,7 +9,8 @@ var _analytics = require("@atlaskit/editor-common/analytics");
|
|
|
9
9
|
var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
10
10
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
11
11
|
var _commands = require("@atlaskit/editor-prosemirror/commands");
|
|
12
|
-
var
|
|
12
|
+
var _redo = require("@atlaskit/prosemirror-history/redo");
|
|
13
|
+
var _undo = require("@atlaskit/prosemirror-history/undo");
|
|
13
14
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
14
15
|
var blockTypes = _interopRequireWildcard(require("./block-types"));
|
|
15
16
|
var _blockType = require("./commands/block-type");
|
|
@@ -46,11 +47,11 @@ function keymapPlugin(editorAnalyticsApi, schema, _featureFlags) {
|
|
|
46
47
|
(0, _keymaps.bindKeymapWithCommand)(_keymaps.moveDown.common, _utils.createNewParagraphBelow, list);
|
|
47
48
|
// Ignored via go/ees005
|
|
48
49
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
49
|
-
(0, _keymaps.bindKeymapWithCommand)((0, _keymaps.findKeyMapForBrowser)(_keymaps.redo),
|
|
50
|
+
(0, _keymaps.bindKeymapWithCommand)((0, _keymaps.findKeyMapForBrowser)(_keymaps.redo), _redo.redo, list);
|
|
50
51
|
|
|
51
52
|
// Ignored via go/ees005
|
|
52
53
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
53
|
-
(0, _keymaps.bindKeymapWithCommand)(_keymaps.undo.common,
|
|
54
|
+
(0, _keymaps.bindKeymapWithCommand)(_keymaps.undo.common, _undo.undo, list);
|
|
54
55
|
|
|
55
56
|
// Ignored via go/ees005
|
|
56
57
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
@@ -18,7 +18,7 @@ var _ugcTokens = require("@atlaskit/editor-common/ugc-tokens");
|
|
|
18
18
|
var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-plugin-state-selector");
|
|
19
19
|
var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
20
20
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
21
|
-
var
|
|
21
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
22
22
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
23
23
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
24
24
|
var _utils = require("../../utils");
|
|
@@ -154,7 +154,7 @@ var HeadingButton = exports.HeadingButton = function HeadingButton(_ref4) {
|
|
|
154
154
|
formatMessage = _useIntl.formatMessage;
|
|
155
155
|
var currentBlockType = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'blockType.currentBlockType');
|
|
156
156
|
var availableBlockTypesInDropdown = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'blockType.availableBlockTypesInDropdown');
|
|
157
|
-
var isMarkdownBridgeEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-markdown-mode', 'isEnabled', true) && (0,
|
|
157
|
+
var isMarkdownBridgeEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-markdown-mode', 'isEnabled', true) && (0, _fg.fg)('platform_editor_markdown_compatible_toolbar');
|
|
158
158
|
var _useSharedPluginState = (0, _hooks.useSharedPluginStateWithSelector)(api, ['markdownMode'], function (states) {
|
|
159
159
|
var _states$markdownModeS, _states$markdownModeS2;
|
|
160
160
|
return {
|
|
@@ -13,7 +13,7 @@ var _keymaps = require("@atlaskit/editor-common/keymaps");
|
|
|
13
13
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
14
14
|
var _useSharedPluginStateSelector = require("@atlaskit/editor-common/use-shared-plugin-state-selector");
|
|
15
15
|
var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
16
|
-
var
|
|
16
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
17
17
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
18
18
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
19
19
|
var _utils = require("../../utils");
|
|
@@ -32,7 +32,7 @@ var QuoteButton = exports.QuoteButton = function QuoteButton(_ref) {
|
|
|
32
32
|
var currentBlockType = (0, _useSharedPluginStateSelector.useSharedPluginStateSelector)(api, 'blockType.currentBlockType');
|
|
33
33
|
var _useEditorToolbar = (0, _toolbar.useEditorToolbar)(),
|
|
34
34
|
editorView = _useEditorToolbar.editorView;
|
|
35
|
-
var isMarkdownBridgeEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-markdown-mode', 'isEnabled', true) && (0,
|
|
35
|
+
var isMarkdownBridgeEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-markdown-mode', 'isEnabled', true) && (0, _fg.fg)('platform_editor_markdown_compatible_toolbar');
|
|
36
36
|
var _useSharedPluginState = (0, _hooks.useSharedPluginStateWithSelector)(api, ['markdownMode'], function (states) {
|
|
37
37
|
var _states$markdownModeS, _states$markdownModeS2;
|
|
38
38
|
return {
|
|
@@ -12,7 +12,7 @@ var _messages = require("@atlaskit/editor-common/messages");
|
|
|
12
12
|
var _toolbar = require("@atlaskit/editor-common/toolbar");
|
|
13
13
|
var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
14
14
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
15
|
-
var
|
|
15
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
16
16
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
17
17
|
var _blockTypes = require("../../block-types");
|
|
18
18
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -31,7 +31,7 @@ var usePluginState = function usePluginState(api) {
|
|
|
31
31
|
// When the markdown bridge is active and the source view is mounted,
|
|
32
32
|
// derive currentBlockType from the CM6 Lezer heading level rather than
|
|
33
33
|
// PM block type state (which reflects the last WYSIWYG cursor position).
|
|
34
|
-
var isMarkdownBridgeEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-markdown-mode', 'isEnabled', true) && (0,
|
|
34
|
+
var isMarkdownBridgeEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-markdown-mode', 'isEnabled', true) && (0, _fg.fg)('platform_editor_markdown_compatible_toolbar');
|
|
35
35
|
var sourceFormatState = isMarkdownBridgeEnabled ? (_state$markdownModeSt = state.markdownModeState) === null || _state$markdownModeSt === void 0 ? void 0 : _state$markdownModeSt.sourceBlockFormatState : null;
|
|
36
36
|
// markdownView is authoritative for "in source view" — it flips synchronously
|
|
37
37
|
// on setView. sourceFormatState is null between the view switch and the first
|
|
@@ -107,6 +107,6 @@ var TextStylesMenuButton = exports.TextStylesMenuButton = function TextStylesMen
|
|
|
107
107
|
label: formatMessage(_messages.toolbarMessages.textStyles, {
|
|
108
108
|
blockTypeName: currentBlockType === null || currentBlockType === void 0 ? void 0 : currentBlockType.name
|
|
109
109
|
}),
|
|
110
|
-
shouldRenderToParent: (0,
|
|
110
|
+
shouldRenderToParent: (0, _fg.fg)('platform_editor_return_focus_after_text_styles')
|
|
111
111
|
}, children);
|
|
112
112
|
};
|
|
@@ -9,7 +9,7 @@ import TextHeadingSixIcon from '@atlaskit/icon-lab/core/text-heading-six';
|
|
|
9
9
|
import TextHeadingThreeIcon from '@atlaskit/icon-lab/core/text-heading-three';
|
|
10
10
|
import TextHeadingTwoIcon from '@atlaskit/icon-lab/core/text-heading-two';
|
|
11
11
|
import TextIcon from '@atlaskit/icon/core/text';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
13
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
14
14
|
import { Text, H1, H2, H3, H4, H5, H6 } from './ui/ToolbarBlockType/icons';
|
|
15
15
|
export const NORMAL_TEXT = {
|
|
@@ -2,7 +2,8 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
|
2
2
|
import { backspace, bindKeymapWithCommand, deleteKey, enter, findKeyMapForBrowser, findShortcutByKeymap, forwardDelete, insertNewLine, keymap, moveDown, moveUp, redo as redoKeymap, toggleBlockQuote, undo as undoKeymap } from '@atlaskit/editor-common/keymaps';
|
|
3
3
|
import { createNewParagraphAbove, createNewParagraphBelow, deleteEmptyParagraphAndMoveBlockUp, insertNewLineWithAnalytics } from '@atlaskit/editor-common/utils';
|
|
4
4
|
import { chainCommands } from '@atlaskit/editor-prosemirror/commands';
|
|
5
|
-
import { redo
|
|
5
|
+
import { redo } from '@atlaskit/prosemirror-history/redo';
|
|
6
|
+
import { undo } from '@atlaskit/prosemirror-history/undo';
|
|
6
7
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
7
8
|
|
|
8
9
|
// Ignored via go/ees005
|
|
@@ -15,7 +15,7 @@ import { editorUGCToken } from '@atlaskit/editor-common/ugc-tokens';
|
|
|
15
15
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
|
16
16
|
import { ToolbarDropdownItem, ToolbarKeyboardShortcutHint } from '@atlaskit/editor-toolbar';
|
|
17
17
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
18
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
18
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
19
19
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
20
20
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
21
21
|
import { isSelectionInsideListNode } from '../../utils';
|
|
@@ -6,7 +6,7 @@ import { formatShortcut, toggleBlockQuote } from '@atlaskit/editor-common/keymap
|
|
|
6
6
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
7
7
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
|
8
8
|
import { ToolbarDropdownItem, ToolbarKeyboardShortcutHint } from '@atlaskit/editor-toolbar';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
10
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
11
11
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
12
12
|
import { isSelectionInsideListNode } from '../../utils';
|
|
@@ -5,7 +5,7 @@ import { toolbarMessages } from '@atlaskit/editor-common/messages';
|
|
|
5
5
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
6
6
|
import { ToolbarDropdownMenu, ToolbarTooltip, TextIcon } from '@atlaskit/editor-toolbar';
|
|
7
7
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
9
9
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
10
10
|
import { toolbarBlockTypesWithRank } from '../../block-types';
|
|
11
11
|
const usePluginState = api => {
|
|
@@ -12,7 +12,7 @@ import TextHeadingSixIcon from '@atlaskit/icon-lab/core/text-heading-six';
|
|
|
12
12
|
import TextHeadingThreeIcon from '@atlaskit/icon-lab/core/text-heading-three';
|
|
13
13
|
import TextHeadingTwoIcon from '@atlaskit/icon-lab/core/text-heading-two';
|
|
14
14
|
import TextIcon from '@atlaskit/icon/core/text';
|
|
15
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
16
16
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
17
17
|
import { Text, H1, H2, H3, H4, H5, H6 } from './ui/ToolbarBlockType/icons';
|
|
18
18
|
export var NORMAL_TEXT = {
|
|
@@ -2,7 +2,8 @@ import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
|
2
2
|
import { backspace, bindKeymapWithCommand, deleteKey, enter, findKeyMapForBrowser, findShortcutByKeymap, forwardDelete, insertNewLine, keymap, moveDown, moveUp, redo as redoKeymap, toggleBlockQuote, undo as undoKeymap } from '@atlaskit/editor-common/keymaps';
|
|
3
3
|
import { createNewParagraphAbove, createNewParagraphBelow, deleteEmptyParagraphAndMoveBlockUp, insertNewLineWithAnalytics } from '@atlaskit/editor-common/utils';
|
|
4
4
|
import { chainCommands } from '@atlaskit/editor-prosemirror/commands';
|
|
5
|
-
import { redo
|
|
5
|
+
import { redo } from '@atlaskit/prosemirror-history/redo';
|
|
6
|
+
import { undo } from '@atlaskit/prosemirror-history/undo';
|
|
6
7
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
7
8
|
|
|
8
9
|
// Ignored via go/ees005
|
|
@@ -15,7 +15,7 @@ import { editorUGCToken } from '@atlaskit/editor-common/ugc-tokens';
|
|
|
15
15
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
|
16
16
|
import { ToolbarDropdownItem, ToolbarKeyboardShortcutHint } from '@atlaskit/editor-toolbar';
|
|
17
17
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
18
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
18
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
19
19
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
20
20
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
21
21
|
import { isSelectionInsideListNode } from '../../utils';
|
|
@@ -6,7 +6,7 @@ import { formatShortcut, toggleBlockQuote } from '@atlaskit/editor-common/keymap
|
|
|
6
6
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
7
7
|
import { useSharedPluginStateSelector } from '@atlaskit/editor-common/use-shared-plugin-state-selector';
|
|
8
8
|
import { ToolbarDropdownItem, ToolbarKeyboardShortcutHint } from '@atlaskit/editor-toolbar';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
10
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
11
11
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
12
12
|
import { isSelectionInsideListNode } from '../../utils';
|
|
@@ -5,7 +5,7 @@ import { toolbarMessages } from '@atlaskit/editor-common/messages';
|
|
|
5
5
|
import { useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
6
6
|
import { ToolbarDropdownMenu, ToolbarTooltip, TextIcon } from '@atlaskit/editor-toolbar';
|
|
7
7
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
9
9
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
10
10
|
import { toolbarBlockTypesWithRank } from '../../block-types';
|
|
11
11
|
var usePluginState = function usePluginState(api) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
|
3
|
-
"version": "19.1.
|
|
3
|
+
"version": "19.1.3",
|
|
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.4.0",
|
|
44
44
|
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
45
45
|
"@atlaskit/prosemirror-input-rules": "^4.0.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^159.0.0",
|
|
47
47
|
"@atlaskit/tokens": "^16.8.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^1.0.2",
|