@atlaskit/editor-plugin-insert-block 8.2.1 → 8.2.2

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.
Files changed (26) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/ui/ElementBrowser/InsertMenu.js +3 -8
  3. package/dist/cjs/ui/ToolbarInsertBlock/block-insert-menu.js +2 -9
  4. package/dist/cjs/ui/ToolbarInsertBlock/create-items.js +0 -7
  5. package/dist/cjs/ui/ToolbarInsertBlock/index.js +2 -18
  6. package/dist/cjs/ui/ToolbarInsertBlock/item.js +1 -24
  7. package/dist/cjs/ui/toolbar-components/InsertButton.js +3 -9
  8. package/dist/es2019/ui/ElementBrowser/InsertMenu.js +3 -8
  9. package/dist/es2019/ui/ToolbarInsertBlock/block-insert-menu.js +2 -9
  10. package/dist/es2019/ui/ToolbarInsertBlock/create-items.js +1 -8
  11. package/dist/es2019/ui/ToolbarInsertBlock/index.js +2 -20
  12. package/dist/es2019/ui/ToolbarInsertBlock/item.js +0 -19
  13. package/dist/es2019/ui/toolbar-components/InsertButton.js +3 -9
  14. package/dist/esm/ui/ElementBrowser/InsertMenu.js +3 -8
  15. package/dist/esm/ui/ToolbarInsertBlock/block-insert-menu.js +2 -9
  16. package/dist/esm/ui/ToolbarInsertBlock/create-items.js +1 -8
  17. package/dist/esm/ui/ToolbarInsertBlock/index.js +2 -18
  18. package/dist/esm/ui/ToolbarInsertBlock/item.js +0 -23
  19. package/dist/esm/ui/toolbar-components/InsertButton.js +3 -9
  20. package/dist/types/ui/ElementBrowser/InsertMenu.d.ts +1 -1
  21. package/dist/types/ui/ToolbarInsertBlock/index.d.ts +0 -1
  22. package/dist/types/ui/ToolbarInsertBlock/item.d.ts +0 -8
  23. package/dist/types-ts4.5/ui/ElementBrowser/InsertMenu.d.ts +1 -1
  24. package/dist/types-ts4.5/ui/ToolbarInsertBlock/index.d.ts +0 -1
  25. package/dist/types-ts4.5/ui/ToolbarInsertBlock/item.d.ts +0 -8
  26. package/package.json +3 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/editor-plugin-insert-block
2
2
 
3
+ ## 8.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`11bd6ea9cb0ba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/11bd6ea9cb0ba) -
8
+ [ux] Clean up platform_editor_refactor_view_more
9
+ - Updated dependencies
10
+
3
11
  ## 8.2.1
4
12
 
5
13
  ### Patch Changes
@@ -155,8 +155,7 @@ var InsertMenu = function InsertMenu(_ref) {
155
155
  showElementBrowserLink = _ref.showElementBrowserLink,
156
156
  onInsert = _ref.onInsert,
157
157
  toggleVisiblity = _ref.toggleVisiblity,
158
- pluginInjectionApi = _ref.pluginInjectionApi,
159
- isFullPageAppearance = _ref.isFullPageAppearance;
158
+ pluginInjectionApi = _ref.pluginInjectionApi;
160
159
  var _useState = (0, _react.useState)(0),
161
160
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
162
161
  itemCount = _useState2[0],
@@ -213,9 +212,6 @@ var InsertMenu = function InsertMenu(_ref) {
213
212
  };
214
213
  }, [onInsert]);
215
214
  var quickInsertDropdownItems = dropdownItems.map(transform);
216
-
217
- // Please clean up viewMoreItem when cleaning up platform_editor_refactor_view_more
218
- var viewMoreItem = !(0, _platformFeatureFlags.fg)('platform_editor_refactor_view_more') && showElementBrowserLink ? quickInsertDropdownItems.pop() : undefined;
219
215
  var onInsertItem = (0, _react.useCallback)(function (item) {
220
216
  var _pluginInjectionApi$q;
221
217
  toggleVisiblity();
@@ -270,7 +266,7 @@ var InsertMenu = function InsertMenu(_ref) {
270
266
  return (
271
267
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
272
268
  (0, _react2.jsx)("div", {
273
- css: insertMenuWrapper(height, isFullPageAppearance)
269
+ css: insertMenuWrapper(height)
274
270
  }, (0, _react2.jsx)(ElementBrowserWrapper, {
275
271
  handleClickOutside: toggleVisiblity,
276
272
  handleEscapeKeydown: toggleVisiblity,
@@ -285,7 +281,6 @@ var InsertMenu = function InsertMenu(_ref) {
285
281
  // On page resize we want the InlineElementBrowser to show updated tools/overflow items
286
282
  ,
287
283
  key: quickInsertDropdownItems.length,
288
- viewMoreItem: viewMoreItem,
289
284
  onViewMore: showElementBrowserLink ? onViewMore : undefined,
290
285
  cache: cache
291
286
  })))
@@ -307,7 +302,7 @@ var getSvgIconForItem = function getSvgIconForItem(_ref2) {
307
302
  label: ""
308
303
  }) : undefined;
309
304
  };
310
- var insertMenuWrapper = function insertMenuWrapper(height, isFullPageAppearance) {
305
+ var insertMenuWrapper = function insertMenuWrapper(height) {
311
306
  return (0, _react2.css)({
312
307
  display: 'flex',
313
308
  flexDirection: 'column',
@@ -6,18 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.BlockInsertMenu = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
10
9
  var _blockInsertElementBrowser = require("./block-insert-element-browser");
11
10
  var _dropdownButton = require("./dropdown-button");
12
11
  var BlockInsertMenu = exports.BlockInsertMenu = function BlockInsertMenu(props) {
13
- if ((0, _platformFeatureFlags.fg)('platform_editor_refactor_view_more')) {
14
- if (props.items.length === 0 && !props.showElementBrowserLink) {
15
- return null;
16
- }
17
- } else {
18
- if (props.items.length === 0) {
19
- return null;
20
- }
12
+ if (props.items.length === 0 && !props.showElementBrowserLink) {
13
+ return null;
21
14
  }
22
15
  if (props.disabled) {
23
16
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_dropdownButton.DropDownButton, {
@@ -49,7 +49,6 @@ var createInsertBlockItems = function createInsertBlockItems(config) {
49
49
  availableWrapperBlockTypes = config.availableWrapperBlockTypes,
50
50
  actionSupported = config.actionSupported,
51
51
  decisionSupported = config.decisionSupported,
52
- showElementBrowserLink = config.showElementBrowserLink,
53
52
  linkSupported = config.linkSupported,
54
53
  linkDisabled = config.linkDisabled,
55
54
  emojiDisabled = config.emojiDisabled,
@@ -246,12 +245,6 @@ var createInsertBlockItems = function createInsertBlockItems(config) {
246
245
  if (insertMenuItems) {
247
246
  items.push.apply(items, (0, _toConsumableArray2.default)(insertMenuItems));
248
247
  }
249
- if (showElementBrowserLink && !(0, _platformFeatureFlags.fg)('platform_editor_refactor_view_more')) {
250
- items.push((0, _item.more)({
251
- content: formatMessage(_messages.toolbarInsertBlockMessages.viewMore),
252
- disabled: false
253
- }));
254
- }
255
248
  var numButtonsAdjusted = numberOfButtons;
256
249
  if ((0, _platformFeatureFlags.fg)('platform_editor_toolbar_responsive_fixes')) {
257
250
  if (items.slice(0, numButtonsAdjusted).some(function (item) {
@@ -434,11 +434,6 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
434
434
  _this.toggleEmojiPicker();
435
435
  return true;
436
436
  });
437
- (0, _defineProperty2.default)(_this, "openElementBrowser", function () {
438
- var _pluginInjectionApi$c7, _pluginInjectionApi$q;
439
- var pluginInjectionApi = _this.props.pluginInjectionApi;
440
- pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$c7 = pluginInjectionApi.core) === null || _pluginInjectionApi$c7 === void 0 || _pluginInjectionApi$c7.actions.execute(pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$q = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q === void 0 ? void 0 : _pluginInjectionApi$q.commands.openElementBrowserModal);
441
- });
442
437
  (0, _defineProperty2.default)(_this, "onItemActivated", function (_ref4) {
443
438
  var item = _ref4.item,
444
439
  inputMethod = _ref4.inputMethod;
@@ -489,17 +484,6 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
489
484
  case 'horizontalrule':
490
485
  _this.insertHorizontalRule(inputMethod);
491
486
  break;
492
- case 'macro':
493
- /**
494
- * Remove 'macro' case when cleaning up platform_editor_refactor_view_more
495
- * along with the 'more' function from platform/packages/editor/editor-plugin-insert-block/src/ui/ToolbarInsertBlock/item.tsx
496
- * as it will no longer be needed for the View More button.
497
- * This will also reduce confusion from the 'macro' naming.
498
- */
499
- if (!(0, _platformFeatureFlags.fg)('platform_editor_refactor_view_more')) {
500
- _this.openElementBrowser();
501
- }
502
- break;
503
487
  case 'date':
504
488
  _this.createDate(inputMethod);
505
489
  break;
@@ -647,8 +631,8 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
647
631
  // Popup will be unmounted to ensure that the new table has a selection with a blinking cursor.
648
632
  // So we can start typing right away.
649
633
  var onUnmount = function onUnmount() {
650
- var _pluginInjectionApi$c8;
651
- return pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$c8 = pluginInjectionApi.core) === null || _pluginInjectionApi$c8 === void 0 || (_pluginInjectionApi$c8 = _pluginInjectionApi$c8.actions) === null || _pluginInjectionApi$c8 === void 0 ? void 0 : _pluginInjectionApi$c8.focus();
634
+ var _pluginInjectionApi$c7;
635
+ return pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$c7 = pluginInjectionApi.core) === null || _pluginInjectionApi$c7 === void 0 || (_pluginInjectionApi$c7 = _pluginInjectionApi$c7.actions) === null || _pluginInjectionApi$c7 === void 0 ? void 0 : _pluginInjectionApi$c7.focus();
652
636
  };
653
637
  return (0, _react2.jsx)(_ui.TableSelectorPopup, {
654
638
  allowOutsideSelection: true,
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.tableSelector = exports.table = exports.status = exports.placeholder = exports.panel = exports.more = exports.mention = exports.media = exports.link = exports.layout = exports.imageUpload = exports.horizontalrule = exports.expand = exports.emoji = exports.decision = exports.date = exports.codeblock = exports.blockquote = exports.action = void 0;
7
+ exports.tableSelector = exports.table = exports.status = exports.placeholder = exports.panel = exports.mention = exports.media = exports.link = exports.layout = exports.imageUpload = exports.horizontalrule = exports.expand = exports.emoji = exports.decision = exports.date = exports.codeblock = exports.blockquote = exports.action = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _react2 = require("@emotion/react");
10
10
  var _memoizeOne = _interopRequireDefault(require("memoize-one"));
@@ -25,7 +25,6 @@ var _link = _interopRequireDefault(require("@atlaskit/icon/core/link"));
25
25
  var _mention = _interopRequireDefault(require("@atlaskit/icon/core/mention"));
26
26
  var _minus = _interopRequireDefault(require("@atlaskit/icon/core/minus"));
27
27
  var _quotationMark = _interopRequireDefault(require("@atlaskit/icon/core/quotation-mark"));
28
- var _showMoreHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/show-more-horizontal"));
29
28
  var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
30
29
  var _task = _interopRequireDefault(require("@atlaskit/icon/core/task"));
31
30
  var _shallowEquals = require("./shallow-equals");
@@ -278,26 +277,4 @@ var status = exports.status = mem(function (init) {
278
277
  });
279
278
  }
280
279
  });
281
- });
282
-
283
- /**
284
- * @private
285
- * @deprecated
286
- * Deprecated as view more is not an item in the element browser.
287
- * View more is implemented directly in the ViewMore component inside the StatelessElementBrowser when
288
- * platform_editor_refactor_view_more is used.
289
- */
290
- var more = exports.more = mem(function (init) {
291
- return from({
292
- content: init.content,
293
- tooltipDescription: init.tooltipDescription,
294
- disabled: init.disabled,
295
- name: 'macro',
296
- Icon: function Icon() {
297
- return (0, _react2.jsx)(_showMoreHorizontal.default, {
298
- label: "",
299
- color: "currentColor"
300
- });
301
- }
302
- });
303
280
  });
@@ -99,7 +99,7 @@ var InsertButton = exports.InsertButton = function InsertButton(_ref) {
99
99
  toggleInsertMenuOpen(!insertMenuOpen);
100
100
  };
101
101
  var onItemActivated = function onItemActivated(_ref2) {
102
- var _api$core, _api$hyperlink, _api$imageUpload, _api$mention, _api$taskDecision, _api$rule, _api$core5, _api$date, _api$placeholderText, _api$layout, _api$core6, _api$status, _api$expand;
102
+ var _api$core, _api$hyperlink, _api$imageUpload, _api$mention, _api$taskDecision, _api$rule, _api$core4, _api$date, _api$placeholderText, _api$layout, _api$core5, _api$status, _api$expand;
103
103
  var item = _ref2.item,
104
104
  inputMethod = _ref2.inputMethod;
105
105
  if (!editorView) {
@@ -169,14 +169,8 @@ var InsertButton = exports.InsertButton = function InsertButton(_ref) {
169
169
  case 'horizontalrule':
170
170
  api === null || api === void 0 || (_api$rule = api.rule) === null || _api$rule === void 0 || _api$rule.actions.insertHorizontalRule(inputMethod)(state, dispatch);
171
171
  break;
172
- case 'macro':
173
- if (!(0, _platformFeatureFlags.fg)('platform_editor_refactor_view_more')) {
174
- var _api$core4, _api$quickInsert;
175
- api === null || api === void 0 || (_api$core4 = api.core) === null || _api$core4 === void 0 || _api$core4.actions.execute(api === null || api === void 0 || (_api$quickInsert = api.quickInsert) === null || _api$quickInsert === void 0 ? void 0 : _api$quickInsert.commands.openElementBrowserModal);
176
- }
177
- break;
178
172
  case 'date':
179
- api === null || api === void 0 || (_api$core5 = api.core) === null || _api$core5 === void 0 || _api$core5.actions.execute(api === null || api === void 0 || (_api$date = api.date) === null || _api$date === void 0 || (_api$date = _api$date.commands) === null || _api$date === void 0 ? void 0 : _api$date.insertDate({
173
+ api === null || api === void 0 || (_api$core4 = api.core) === null || _api$core4 === void 0 || _api$core4.actions.execute(api === null || api === void 0 || (_api$date = api.date) === null || _api$date === void 0 || (_api$date = _api$date.commands) === null || _api$date === void 0 ? void 0 : _api$date.insertDate({
180
174
  inputMethod: inputMethod
181
175
  }));
182
176
  break;
@@ -187,7 +181,7 @@ var InsertButton = exports.InsertButton = function InsertButton(_ref) {
187
181
  api === null || api === void 0 || (_api$layout = api.layout) === null || _api$layout === void 0 || _api$layout.actions.insertLayoutColumns(inputMethod)(state, dispatch);
188
182
  break;
189
183
  case 'status':
190
- api === null || api === void 0 || (_api$core6 = api.core) === null || _api$core6 === void 0 || _api$core6.actions.execute(api === null || api === void 0 || (_api$status = api.status) === null || _api$status === void 0 || (_api$status = _api$status.commands) === null || _api$status === void 0 ? void 0 : _api$status.insertStatus(inputMethod));
184
+ api === null || api === void 0 || (_api$core5 = api.core) === null || _api$core5 === void 0 || _api$core5.actions.execute(api === null || api === void 0 || (_api$status = api.status) === null || _api$status === void 0 || (_api$status = _api$status.commands) === null || _api$status === void 0 ? void 0 : _api$status.insertStatus(inputMethod));
191
185
  break;
192
186
  case 'expand':
193
187
  api === null || api === void 0 || (_api$expand = api.expand) === null || _api$expand === void 0 || _api$expand.actions.insertExpand(state, dispatch);
@@ -130,8 +130,7 @@ const InsertMenu = ({
130
130
  showElementBrowserLink,
131
131
  onInsert,
132
132
  toggleVisiblity,
133
- pluginInjectionApi,
134
- isFullPageAppearance
133
+ pluginInjectionApi
135
134
  }) => {
136
135
  var _pluginInjectionApi$q8, _pluginInjectionApi$q9, _pluginInjectionApi$q0;
137
136
  const [itemCount, setItemCount] = useState(0);
@@ -177,9 +176,6 @@ const InsertMenu = ({
177
176
  value: item.value
178
177
  }), [onInsert]);
179
178
  const quickInsertDropdownItems = dropdownItems.map(transform);
180
-
181
- // Please clean up viewMoreItem when cleaning up platform_editor_refactor_view_more
182
- const viewMoreItem = !fg('platform_editor_refactor_view_more') && showElementBrowserLink ? quickInsertDropdownItems.pop() : undefined;
183
179
  const onInsertItem = useCallback(item => {
184
180
  var _pluginInjectionApi$q;
185
181
  toggleVisiblity();
@@ -233,7 +229,7 @@ const InsertMenu = ({
233
229
  return (
234
230
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
235
231
  jsx("div", {
236
- css: insertMenuWrapper(height, isFullPageAppearance)
232
+ css: insertMenuWrapper(height)
237
233
  }, jsx(ElementBrowserWrapper, {
238
234
  handleClickOutside: toggleVisiblity,
239
235
  handleEscapeKeydown: toggleVisiblity,
@@ -248,7 +244,6 @@ const InsertMenu = ({
248
244
  // On page resize we want the InlineElementBrowser to show updated tools/overflow items
249
245
  ,
250
246
  key: quickInsertDropdownItems.length,
251
- viewMoreItem: viewMoreItem,
252
247
  onViewMore: showElementBrowserLink ? onViewMore : undefined,
253
248
  cache: cache
254
249
  })))
@@ -271,7 +266,7 @@ const getSvgIconForItem = ({
271
266
  label: ""
272
267
  }) : undefined;
273
268
  };
274
- const insertMenuWrapper = (height, isFullPageAppearance) => {
269
+ const insertMenuWrapper = height => {
275
270
  return css({
276
271
  display: 'flex',
277
272
  flexDirection: 'column',
@@ -1,16 +1,9 @@
1
1
  import React from 'react';
2
- import { fg } from '@atlaskit/platform-feature-flags';
3
2
  import { BlockInsertElementBrowser } from './block-insert-element-browser';
4
3
  import { DropDownButton } from './dropdown-button';
5
4
  export const BlockInsertMenu = props => {
6
- if (fg('platform_editor_refactor_view_more')) {
7
- if (props.items.length === 0 && !props.showElementBrowserLink) {
8
- return null;
9
- }
10
- } else {
11
- if (props.items.length === 0) {
12
- return null;
13
- }
5
+ if (props.items.length === 0 && !props.showElementBrowserLink) {
6
+ return null;
14
7
  }
15
8
  if (props.disabled) {
16
9
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(DropDownButton, {
@@ -5,7 +5,7 @@ import { ToolTipContent } from '@atlaskit/editor-common/keymaps';
5
5
  import { blockTypeMessages, toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
6
6
  import { fg } from '@atlaskit/platform-feature-flags';
7
7
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
8
- import { action, blockquote, codeblock, date, decision, emoji, expand, horizontalrule, imageUpload, layout, link, media, mention, more, panel, placeholder, status, table, tableSelector } from './item';
8
+ import { action, blockquote, codeblock, date, decision, emoji, expand, horizontalrule, imageUpload, layout, link, media, mention, panel, placeholder, status, table, tableSelector } from './item';
9
9
  import { shallowEquals } from './shallow-equals';
10
10
  const buttonToItem = memoize(button => ({
11
11
  ...button,
@@ -35,7 +35,6 @@ const createInsertBlockItems = config => {
35
35
  availableWrapperBlockTypes,
36
36
  actionSupported,
37
37
  decisionSupported,
38
- showElementBrowserLink,
39
38
  linkSupported,
40
39
  linkDisabled,
41
40
  emojiDisabled,
@@ -227,12 +226,6 @@ const createInsertBlockItems = config => {
227
226
  if (insertMenuItems) {
228
227
  items.push(...insertMenuItems);
229
228
  }
230
- if (showElementBrowserLink && !fg('platform_editor_refactor_view_more')) {
231
- items.push(more({
232
- content: formatMessage(messages.viewMore),
233
- disabled: false
234
- }));
235
- }
236
229
  let numButtonsAdjusted = numberOfButtons;
237
230
  if (fg('platform_editor_toolbar_responsive_fixes')) {
238
231
  if (items.slice(0, numButtonsAdjusted).some(item => item.value.name === 'table selector')) {
@@ -460,13 +460,6 @@ export class ToolbarInsertBlock extends React.PureComponent {
460
460
  this.toggleEmojiPicker();
461
461
  return true;
462
462
  });
463
- _defineProperty(this, "openElementBrowser", () => {
464
- var _pluginInjectionApi$c7, _pluginInjectionApi$q;
465
- const {
466
- pluginInjectionApi
467
- } = this.props;
468
- pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$c7 = pluginInjectionApi.core) === null || _pluginInjectionApi$c7 === void 0 ? void 0 : _pluginInjectionApi$c7.actions.execute(pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$q = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q === void 0 ? void 0 : _pluginInjectionApi$q.commands.openElementBrowserModal);
469
- });
470
463
  _defineProperty(this, "onItemActivated", ({
471
464
  item,
472
465
  inputMethod
@@ -521,17 +514,6 @@ export class ToolbarInsertBlock extends React.PureComponent {
521
514
  case 'horizontalrule':
522
515
  this.insertHorizontalRule(inputMethod);
523
516
  break;
524
- case 'macro':
525
- /**
526
- * Remove 'macro' case when cleaning up platform_editor_refactor_view_more
527
- * along with the 'more' function from platform/packages/editor/editor-plugin-insert-block/src/ui/ToolbarInsertBlock/item.tsx
528
- * as it will no longer be needed for the View More button.
529
- * This will also reduce confusion from the 'macro' naming.
530
- */
531
- if (!fg('platform_editor_refactor_view_more')) {
532
- this.openElementBrowser();
533
- }
534
- break;
535
517
  case 'date':
536
518
  this.createDate(inputMethod);
537
519
  break;
@@ -716,8 +698,8 @@ export class ToolbarInsertBlock extends React.PureComponent {
716
698
  // Popup will be unmounted to ensure that the new table has a selection with a blinking cursor.
717
699
  // So we can start typing right away.
718
700
  const onUnmount = () => {
719
- var _pluginInjectionApi$c8, _pluginInjectionApi$c9;
720
- return pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$c8 = pluginInjectionApi.core) === null || _pluginInjectionApi$c8 === void 0 ? void 0 : (_pluginInjectionApi$c9 = _pluginInjectionApi$c8.actions) === null || _pluginInjectionApi$c9 === void 0 ? void 0 : _pluginInjectionApi$c9.focus();
701
+ var _pluginInjectionApi$c7, _pluginInjectionApi$c8;
702
+ return pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$c7 = pluginInjectionApi.core) === null || _pluginInjectionApi$c7 === void 0 ? void 0 : (_pluginInjectionApi$c8 = _pluginInjectionApi$c7.actions) === null || _pluginInjectionApi$c8 === void 0 ? void 0 : _pluginInjectionApi$c8.focus();
721
703
  };
722
704
  return jsx(TableSelectorPopup, {
723
705
  allowOutsideSelection: true,
@@ -24,7 +24,6 @@ import LinkIcon from '@atlaskit/icon/core/link';
24
24
  import MentionIcon from '@atlaskit/icon/core/mention';
25
25
  import HorizontalRuleIcon from '@atlaskit/icon/core/minus';
26
26
  import QuotationMarkIcon from '@atlaskit/icon/core/quotation-mark';
27
- import ShowMoreHorizontalIcon from '@atlaskit/icon/core/show-more-horizontal';
28
27
  import InformationIcon from '@atlaskit/icon/core/status-information';
29
28
  import TaskIcon from '@atlaskit/icon/core/task';
30
29
  import { shallowEquals } from './shallow-equals';
@@ -222,22 +221,4 @@ export const status = mem(init => from({
222
221
  color: "currentColor",
223
222
  spacing: "spacious"
224
223
  })
225
- }));
226
-
227
- /**
228
- * @private
229
- * @deprecated
230
- * Deprecated as view more is not an item in the element browser.
231
- * View more is implemented directly in the ViewMore component inside the StatelessElementBrowser when
232
- * platform_editor_refactor_view_more is used.
233
- */
234
- export const more = mem(init => from({
235
- content: init.content,
236
- tooltipDescription: init.tooltipDescription,
237
- disabled: init.disabled,
238
- name: 'macro',
239
- Icon: () => jsx(ShowMoreHorizontalIcon, {
240
- label: "",
241
- color: "currentColor"
242
- })
243
224
  }));
@@ -91,7 +91,7 @@ export const InsertButton = ({
91
91
  item,
92
92
  inputMethod
93
93
  }) => {
94
- var _api$core, _api$hyperlink, _api$imageUpload, _api$mention, _api$mention$actions, _api$taskDecision, _api$rule, _api$core5, _api$date, _api$date$commands, _api$placeholderText, _api$layout, _api$core6, _api$status, _api$status$commands, _api$expand;
94
+ var _api$core, _api$hyperlink, _api$imageUpload, _api$mention, _api$mention$actions, _api$taskDecision, _api$rule, _api$core4, _api$date, _api$date$commands, _api$placeholderText, _api$layout, _api$core5, _api$status, _api$status$commands, _api$expand;
95
95
  if (!editorView) {
96
96
  return;
97
97
  }
@@ -161,14 +161,8 @@ export const InsertButton = ({
161
161
  case 'horizontalrule':
162
162
  api === null || api === void 0 ? void 0 : (_api$rule = api.rule) === null || _api$rule === void 0 ? void 0 : _api$rule.actions.insertHorizontalRule(inputMethod)(state, dispatch);
163
163
  break;
164
- case 'macro':
165
- if (!fg('platform_editor_refactor_view_more')) {
166
- var _api$core4, _api$quickInsert;
167
- api === null || api === void 0 ? void 0 : (_api$core4 = api.core) === null || _api$core4 === void 0 ? void 0 : _api$core4.actions.execute(api === null || api === void 0 ? void 0 : (_api$quickInsert = api.quickInsert) === null || _api$quickInsert === void 0 ? void 0 : _api$quickInsert.commands.openElementBrowserModal);
168
- }
169
- break;
170
164
  case 'date':
171
- api === null || api === void 0 ? void 0 : (_api$core5 = api.core) === null || _api$core5 === void 0 ? void 0 : _api$core5.actions.execute(api === null || api === void 0 ? void 0 : (_api$date = api.date) === null || _api$date === void 0 ? void 0 : (_api$date$commands = _api$date.commands) === null || _api$date$commands === void 0 ? void 0 : _api$date$commands.insertDate({
165
+ api === null || api === void 0 ? void 0 : (_api$core4 = api.core) === null || _api$core4 === void 0 ? void 0 : _api$core4.actions.execute(api === null || api === void 0 ? void 0 : (_api$date = api.date) === null || _api$date === void 0 ? void 0 : (_api$date$commands = _api$date.commands) === null || _api$date$commands === void 0 ? void 0 : _api$date$commands.insertDate({
172
166
  inputMethod
173
167
  }));
174
168
  break;
@@ -179,7 +173,7 @@ export const InsertButton = ({
179
173
  api === null || api === void 0 ? void 0 : (_api$layout = api.layout) === null || _api$layout === void 0 ? void 0 : _api$layout.actions.insertLayoutColumns(inputMethod)(state, dispatch);
180
174
  break;
181
175
  case 'status':
182
- api === null || api === void 0 ? void 0 : (_api$core6 = api.core) === null || _api$core6 === void 0 ? void 0 : _api$core6.actions.execute(api === null || api === void 0 ? void 0 : (_api$status = api.status) === null || _api$status === void 0 ? void 0 : (_api$status$commands = _api$status.commands) === null || _api$status$commands === void 0 ? void 0 : _api$status$commands.insertStatus(inputMethod));
176
+ api === null || api === void 0 ? void 0 : (_api$core5 = api.core) === null || _api$core5 === void 0 ? void 0 : _api$core5.actions.execute(api === null || api === void 0 ? void 0 : (_api$status = api.status) === null || _api$status === void 0 ? void 0 : (_api$status$commands = _api$status.commands) === null || _api$status$commands === void 0 ? void 0 : _api$status$commands.insertStatus(inputMethod));
183
177
  break;
184
178
  case 'expand':
185
179
  api === null || api === void 0 ? void 0 : (_api$expand = api.expand) === null || _api$expand === void 0 ? void 0 : _api$expand.actions.insertExpand(state, dispatch);
@@ -152,8 +152,7 @@ var InsertMenu = function InsertMenu(_ref) {
152
152
  showElementBrowserLink = _ref.showElementBrowserLink,
153
153
  onInsert = _ref.onInsert,
154
154
  toggleVisiblity = _ref.toggleVisiblity,
155
- pluginInjectionApi = _ref.pluginInjectionApi,
156
- isFullPageAppearance = _ref.isFullPageAppearance;
155
+ pluginInjectionApi = _ref.pluginInjectionApi;
157
156
  var _useState = useState(0),
158
157
  _useState2 = _slicedToArray(_useState, 2),
159
158
  itemCount = _useState2[0],
@@ -210,9 +209,6 @@ var InsertMenu = function InsertMenu(_ref) {
210
209
  };
211
210
  }, [onInsert]);
212
211
  var quickInsertDropdownItems = dropdownItems.map(transform);
213
-
214
- // Please clean up viewMoreItem when cleaning up platform_editor_refactor_view_more
215
- var viewMoreItem = !fg('platform_editor_refactor_view_more') && showElementBrowserLink ? quickInsertDropdownItems.pop() : undefined;
216
212
  var onInsertItem = useCallback(function (item) {
217
213
  var _pluginInjectionApi$q;
218
214
  toggleVisiblity();
@@ -267,7 +263,7 @@ var InsertMenu = function InsertMenu(_ref) {
267
263
  return (
268
264
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
269
265
  jsx("div", {
270
- css: insertMenuWrapper(height, isFullPageAppearance)
266
+ css: insertMenuWrapper(height)
271
267
  }, jsx(ElementBrowserWrapper, {
272
268
  handleClickOutside: toggleVisiblity,
273
269
  handleEscapeKeydown: toggleVisiblity,
@@ -282,7 +278,6 @@ var InsertMenu = function InsertMenu(_ref) {
282
278
  // On page resize we want the InlineElementBrowser to show updated tools/overflow items
283
279
  ,
284
280
  key: quickInsertDropdownItems.length,
285
- viewMoreItem: viewMoreItem,
286
281
  onViewMore: showElementBrowserLink ? onViewMore : undefined,
287
282
  cache: cache
288
283
  })))
@@ -304,7 +299,7 @@ var getSvgIconForItem = function getSvgIconForItem(_ref2) {
304
299
  label: ""
305
300
  }) : undefined;
306
301
  };
307
- var insertMenuWrapper = function insertMenuWrapper(height, isFullPageAppearance) {
302
+ var insertMenuWrapper = function insertMenuWrapper(height) {
308
303
  return css({
309
304
  display: 'flex',
310
305
  flexDirection: 'column',
@@ -1,16 +1,9 @@
1
1
  import React from 'react';
2
- import { fg } from '@atlaskit/platform-feature-flags';
3
2
  import { BlockInsertElementBrowser } from './block-insert-element-browser';
4
3
  import { DropDownButton } from './dropdown-button';
5
4
  export var BlockInsertMenu = function BlockInsertMenu(props) {
6
- if (fg('platform_editor_refactor_view_more')) {
7
- if (props.items.length === 0 && !props.showElementBrowserLink) {
8
- return null;
9
- }
10
- } else {
11
- if (props.items.length === 0) {
12
- return null;
13
- }
5
+ if (props.items.length === 0 && !props.showElementBrowserLink) {
6
+ return null;
14
7
  }
15
8
  if (props.disabled) {
16
9
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(DropDownButton, {
@@ -9,7 +9,7 @@ import { ToolTipContent } from '@atlaskit/editor-common/keymaps';
9
9
  import { blockTypeMessages, toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
10
10
  import { fg } from '@atlaskit/platform-feature-flags';
11
11
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
12
- import { action, blockquote, codeblock, date, decision, emoji, expand, horizontalrule, imageUpload, layout, link, media, mention, more, panel, placeholder, status, table, tableSelector } from './item';
12
+ import { action, blockquote, codeblock, date, decision, emoji, expand, horizontalrule, imageUpload, layout, link, media, mention, panel, placeholder, status, table, tableSelector } from './item';
13
13
  import { shallowEquals } from './shallow-equals';
14
14
  var buttonToItem = memoize(function (button) {
15
15
  return _objectSpread(_objectSpread({}, button), {}, {
@@ -42,7 +42,6 @@ var createInsertBlockItems = function createInsertBlockItems(config) {
42
42
  availableWrapperBlockTypes = config.availableWrapperBlockTypes,
43
43
  actionSupported = config.actionSupported,
44
44
  decisionSupported = config.decisionSupported,
45
- showElementBrowserLink = config.showElementBrowserLink,
46
45
  linkSupported = config.linkSupported,
47
46
  linkDisabled = config.linkDisabled,
48
47
  emojiDisabled = config.emojiDisabled,
@@ -239,12 +238,6 @@ var createInsertBlockItems = function createInsertBlockItems(config) {
239
238
  if (insertMenuItems) {
240
239
  items.push.apply(items, _toConsumableArray(insertMenuItems));
241
240
  }
242
- if (showElementBrowserLink && !fg('platform_editor_refactor_view_more')) {
243
- items.push(more({
244
- content: formatMessage(messages.viewMore),
245
- disabled: false
246
- }));
247
- }
248
241
  var numButtonsAdjusted = numberOfButtons;
249
242
  if (fg('platform_editor_toolbar_responsive_fixes')) {
250
243
  if (items.slice(0, numButtonsAdjusted).some(function (item) {
@@ -428,11 +428,6 @@ export var ToolbarInsertBlock = /*#__PURE__*/function (_React$PureComponent) {
428
428
  _this.toggleEmojiPicker();
429
429
  return true;
430
430
  });
431
- _defineProperty(_this, "openElementBrowser", function () {
432
- var _pluginInjectionApi$c7, _pluginInjectionApi$q;
433
- var pluginInjectionApi = _this.props.pluginInjectionApi;
434
- pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$c7 = pluginInjectionApi.core) === null || _pluginInjectionApi$c7 === void 0 || _pluginInjectionApi$c7.actions.execute(pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$q = pluginInjectionApi.quickInsert) === null || _pluginInjectionApi$q === void 0 ? void 0 : _pluginInjectionApi$q.commands.openElementBrowserModal);
435
- });
436
431
  _defineProperty(_this, "onItemActivated", function (_ref4) {
437
432
  var item = _ref4.item,
438
433
  inputMethod = _ref4.inputMethod;
@@ -483,17 +478,6 @@ export var ToolbarInsertBlock = /*#__PURE__*/function (_React$PureComponent) {
483
478
  case 'horizontalrule':
484
479
  _this.insertHorizontalRule(inputMethod);
485
480
  break;
486
- case 'macro':
487
- /**
488
- * Remove 'macro' case when cleaning up platform_editor_refactor_view_more
489
- * along with the 'more' function from platform/packages/editor/editor-plugin-insert-block/src/ui/ToolbarInsertBlock/item.tsx
490
- * as it will no longer be needed for the View More button.
491
- * This will also reduce confusion from the 'macro' naming.
492
- */
493
- if (!fg('platform_editor_refactor_view_more')) {
494
- _this.openElementBrowser();
495
- }
496
- break;
497
481
  case 'date':
498
482
  _this.createDate(inputMethod);
499
483
  break;
@@ -641,8 +625,8 @@ export var ToolbarInsertBlock = /*#__PURE__*/function (_React$PureComponent) {
641
625
  // Popup will be unmounted to ensure that the new table has a selection with a blinking cursor.
642
626
  // So we can start typing right away.
643
627
  var onUnmount = function onUnmount() {
644
- var _pluginInjectionApi$c8;
645
- return pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$c8 = pluginInjectionApi.core) === null || _pluginInjectionApi$c8 === void 0 || (_pluginInjectionApi$c8 = _pluginInjectionApi$c8.actions) === null || _pluginInjectionApi$c8 === void 0 ? void 0 : _pluginInjectionApi$c8.focus();
628
+ var _pluginInjectionApi$c7;
629
+ return pluginInjectionApi === null || pluginInjectionApi === void 0 || (_pluginInjectionApi$c7 = pluginInjectionApi.core) === null || _pluginInjectionApi$c7 === void 0 || (_pluginInjectionApi$c7 = _pluginInjectionApi$c7.actions) === null || _pluginInjectionApi$c7 === void 0 ? void 0 : _pluginInjectionApi$c7.focus();
646
630
  };
647
631
  return jsx(TableSelectorPopup, {
648
632
  allowOutsideSelection: true,
@@ -24,7 +24,6 @@ import LinkIcon from '@atlaskit/icon/core/link';
24
24
  import MentionIcon from '@atlaskit/icon/core/mention';
25
25
  import HorizontalRuleIcon from '@atlaskit/icon/core/minus';
26
26
  import QuotationMarkIcon from '@atlaskit/icon/core/quotation-mark';
27
- import ShowMoreHorizontalIcon from '@atlaskit/icon/core/show-more-horizontal';
28
27
  import InformationIcon from '@atlaskit/icon/core/status-information';
29
28
  import TaskIcon from '@atlaskit/icon/core/task';
30
29
  import { shallowEquals } from './shallow-equals';
@@ -270,26 +269,4 @@ export var status = mem(function (init) {
270
269
  });
271
270
  }
272
271
  });
273
- });
274
-
275
- /**
276
- * @private
277
- * @deprecated
278
- * Deprecated as view more is not an item in the element browser.
279
- * View more is implemented directly in the ViewMore component inside the StatelessElementBrowser when
280
- * platform_editor_refactor_view_more is used.
281
- */
282
- export var more = mem(function (init) {
283
- return from({
284
- content: init.content,
285
- tooltipDescription: init.tooltipDescription,
286
- disabled: init.disabled,
287
- name: 'macro',
288
- Icon: function Icon() {
289
- return jsx(ShowMoreHorizontalIcon, {
290
- label: "",
291
- color: "currentColor"
292
- });
293
- }
294
- });
295
272
  });
@@ -91,7 +91,7 @@ export var InsertButton = function InsertButton(_ref) {
91
91
  toggleInsertMenuOpen(!insertMenuOpen);
92
92
  };
93
93
  var onItemActivated = function onItemActivated(_ref2) {
94
- var _api$core, _api$hyperlink, _api$imageUpload, _api$mention, _api$taskDecision, _api$rule, _api$core5, _api$date, _api$placeholderText, _api$layout, _api$core6, _api$status, _api$expand;
94
+ var _api$core, _api$hyperlink, _api$imageUpload, _api$mention, _api$taskDecision, _api$rule, _api$core4, _api$date, _api$placeholderText, _api$layout, _api$core5, _api$status, _api$expand;
95
95
  var item = _ref2.item,
96
96
  inputMethod = _ref2.inputMethod;
97
97
  if (!editorView) {
@@ -161,14 +161,8 @@ export var InsertButton = function InsertButton(_ref) {
161
161
  case 'horizontalrule':
162
162
  api === null || api === void 0 || (_api$rule = api.rule) === null || _api$rule === void 0 || _api$rule.actions.insertHorizontalRule(inputMethod)(state, dispatch);
163
163
  break;
164
- case 'macro':
165
- if (!fg('platform_editor_refactor_view_more')) {
166
- var _api$core4, _api$quickInsert;
167
- api === null || api === void 0 || (_api$core4 = api.core) === null || _api$core4 === void 0 || _api$core4.actions.execute(api === null || api === void 0 || (_api$quickInsert = api.quickInsert) === null || _api$quickInsert === void 0 ? void 0 : _api$quickInsert.commands.openElementBrowserModal);
168
- }
169
- break;
170
164
  case 'date':
171
- api === null || api === void 0 || (_api$core5 = api.core) === null || _api$core5 === void 0 || _api$core5.actions.execute(api === null || api === void 0 || (_api$date = api.date) === null || _api$date === void 0 || (_api$date = _api$date.commands) === null || _api$date === void 0 ? void 0 : _api$date.insertDate({
165
+ api === null || api === void 0 || (_api$core4 = api.core) === null || _api$core4 === void 0 || _api$core4.actions.execute(api === null || api === void 0 || (_api$date = api.date) === null || _api$date === void 0 || (_api$date = _api$date.commands) === null || _api$date === void 0 ? void 0 : _api$date.insertDate({
172
166
  inputMethod: inputMethod
173
167
  }));
174
168
  break;
@@ -179,7 +173,7 @@ export var InsertButton = function InsertButton(_ref) {
179
173
  api === null || api === void 0 || (_api$layout = api.layout) === null || _api$layout === void 0 || _api$layout.actions.insertLayoutColumns(inputMethod)(state, dispatch);
180
174
  break;
181
175
  case 'status':
182
- api === null || api === void 0 || (_api$core6 = api.core) === null || _api$core6 === void 0 || _api$core6.actions.execute(api === null || api === void 0 || (_api$status = api.status) === null || _api$status === void 0 || (_api$status = _api$status.commands) === null || _api$status === void 0 ? void 0 : _api$status.insertStatus(inputMethod));
176
+ api === null || api === void 0 || (_api$core5 = api.core) === null || _api$core5 === void 0 || _api$core5.actions.execute(api === null || api === void 0 || (_api$status = api.status) === null || _api$status === void 0 || (_api$status = _api$status.commands) === null || _api$status === void 0 ? void 0 : _api$status.insertStatus(inputMethod));
183
177
  break;
184
178
  case 'expand':
185
179
  api === null || api === void 0 || (_api$expand = api.expand) === null || _api$expand === void 0 || _api$expand.actions.insertExpand(state, dispatch);
@@ -10,5 +10,5 @@ export declare const DEFAULT_HEIGHT = 560;
10
10
  they should be unified through `pluginInjectionApi?.quickInsert?.actions.getSuggestions`
11
11
  */
12
12
  export declare const filterForPinWhiteboardsExperiment: (featuredItems: QuickInsertItem[], formatMessage: (msg: MessageDescriptor) => string) => QuickInsertItem[];
13
- declare const InsertMenu: ({ editorView, dropdownItems, showElementBrowserLink, onInsert, toggleVisiblity, pluginInjectionApi, isFullPageAppearance, }: InsertMenuProps) => jsx.JSX.Element;
13
+ declare const InsertMenu: ({ editorView, dropdownItems, showElementBrowserLink, onInsert, toggleVisiblity, pluginInjectionApi, }: InsertMenuProps) => jsx.JSX.Element;
14
14
  export default InsertMenu;
@@ -53,7 +53,6 @@ export declare class ToolbarInsertBlock extends React.PureComponent<Props & Wrap
53
53
  private insertExpand;
54
54
  private insertBlockType;
55
55
  private handleSelectedEmoji;
56
- private openElementBrowser;
57
56
  private onItemActivated;
58
57
  private insertToolbarMenuItem;
59
58
  private insertInsertMenuItem;
@@ -36,11 +36,3 @@ export declare const expand: MemoizedFn<(init: CreateInit) => MenuItem>;
36
36
  export declare const date: MemoizedFn<(init: CreateInit) => MenuItem>;
37
37
  export declare const placeholder: MemoizedFn<(init: CreateInit) => MenuItem>;
38
38
  export declare const status: MemoizedFn<(init: CreateInit) => MenuItem>;
39
- /**
40
- * @private
41
- * @deprecated
42
- * Deprecated as view more is not an item in the element browser.
43
- * View more is implemented directly in the ViewMore component inside the StatelessElementBrowser when
44
- * platform_editor_refactor_view_more is used.
45
- */
46
- export declare const more: MemoizedFn<(init: CreateInit) => MenuItem>;
@@ -10,5 +10,5 @@ export declare const DEFAULT_HEIGHT = 560;
10
10
  they should be unified through `pluginInjectionApi?.quickInsert?.actions.getSuggestions`
11
11
  */
12
12
  export declare const filterForPinWhiteboardsExperiment: (featuredItems: QuickInsertItem[], formatMessage: (msg: MessageDescriptor) => string) => QuickInsertItem[];
13
- declare const InsertMenu: ({ editorView, dropdownItems, showElementBrowserLink, onInsert, toggleVisiblity, pluginInjectionApi, isFullPageAppearance, }: InsertMenuProps) => jsx.JSX.Element;
13
+ declare const InsertMenu: ({ editorView, dropdownItems, showElementBrowserLink, onInsert, toggleVisiblity, pluginInjectionApi, }: InsertMenuProps) => jsx.JSX.Element;
14
14
  export default InsertMenu;
@@ -53,7 +53,6 @@ export declare class ToolbarInsertBlock extends React.PureComponent<Props & Wrap
53
53
  private insertExpand;
54
54
  private insertBlockType;
55
55
  private handleSelectedEmoji;
56
- private openElementBrowser;
57
56
  private onItemActivated;
58
57
  private insertToolbarMenuItem;
59
58
  private insertInsertMenuItem;
@@ -36,11 +36,3 @@ export declare const expand: MemoizedFn<(init: CreateInit) => MenuItem>;
36
36
  export declare const date: MemoizedFn<(init: CreateInit) => MenuItem>;
37
37
  export declare const placeholder: MemoizedFn<(init: CreateInit) => MenuItem>;
38
38
  export declare const status: MemoizedFn<(init: CreateInit) => MenuItem>;
39
- /**
40
- * @private
41
- * @deprecated
42
- * Deprecated as view more is not an item in the element browser.
43
- * View more is implemented directly in the ViewMore component inside the StatelessElementBrowser when
44
- * platform_editor_refactor_view_more is used.
45
- */
46
- export declare const more: MemoizedFn<(init: CreateInit) => MenuItem>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-insert-block",
3
- "version": "8.2.1",
3
+ "version": "8.2.2",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -51,7 +51,7 @@
51
51
  "@atlaskit/editor-plugin-quick-insert": "^7.1.0",
52
52
  "@atlaskit/editor-plugin-rule": "^7.0.0",
53
53
  "@atlaskit/editor-plugin-status": "^8.1.0",
54
- "@atlaskit/editor-plugin-table": "^16.1.0",
54
+ "@atlaskit/editor-plugin-table": "^16.2.0",
55
55
  "@atlaskit/editor-plugin-tasks-and-decisions": "^10.1.0",
56
56
  "@atlaskit/editor-plugin-toolbar": "^4.0.0",
57
57
  "@atlaskit/editor-plugin-type-ahead": "^7.0.0",
@@ -64,7 +64,7 @@
64
64
  "@atlaskit/icon-lab": "^5.14.0",
65
65
  "@atlaskit/platform-feature-flags": "^1.1.0",
66
66
  "@atlaskit/theme": "^21.0.0",
67
- "@atlaskit/tmp-editor-statsig": "^16.14.0",
67
+ "@atlaskit/tmp-editor-statsig": "^16.15.0",
68
68
  "@atlaskit/tokens": "^9.1.0",
69
69
  "@babel/runtime": "^7.0.0",
70
70
  "@emotion/react": "^11.7.1",
@@ -129,9 +129,6 @@
129
129
  "platform_editor_ease_of_use_metrics": {
130
130
  "type": "boolean"
131
131
  },
132
- "platform_editor_refactor_view_more": {
133
- "type": "boolean"
134
- },
135
132
  "confluence-whiteboards-quick-insert-eligible": {
136
133
  "type": "boolean"
137
134
  },