@atlaskit/editor-plugin-insert-block 2.3.4 → 2.3.6

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-insert-block
2
2
 
3
+ ## 2.3.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 2.3.5
10
+
11
+ ### Patch Changes
12
+
13
+ - [#153789](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/153789)
14
+ [`5062618c0206b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5062618c0206b) -
15
+ fix issue where insert menu would show with right rail when clicking blank page more elements
16
+ button
17
+
3
18
  ## 2.3.4
4
19
 
5
20
  ### Patch Changes
@@ -786,7 +786,7 @@ var ToolbarInsertBlock = exports.ToolbarInsertBlock = /*#__PURE__*/function (_Re
786
786
  editorView: this.props.editorView,
787
787
  spacing: this.props.isReducedSpacing ? 'none' : 'default',
788
788
  label: this.props.intl.formatMessage(_messages.messages.insertMenu),
789
- open: this.state.isPlusMenuOpen,
789
+ open: this.state.isPlusMenuOpen && (0, _experiments.editorExperiment)('insert-menu-in-right-rail', false),
790
790
  plusButtonRef: this.plusButtonRef,
791
791
  items: this.state.dropdownItems,
792
792
  onRef: this.handleDropDownButtonRef,
@@ -820,7 +820,7 @@ export class ToolbarInsertBlock extends React.PureComponent {
820
820
  editorView: this.props.editorView,
821
821
  spacing: this.props.isReducedSpacing ? 'none' : 'default',
822
822
  label: this.props.intl.formatMessage(messages.insertMenu),
823
- open: this.state.isPlusMenuOpen,
823
+ open: this.state.isPlusMenuOpen && editorExperiment('insert-menu-in-right-rail', false),
824
824
  plusButtonRef: this.plusButtonRef,
825
825
  items: this.state.dropdownItems,
826
826
  onRef: this.handleDropDownButtonRef,
@@ -777,7 +777,7 @@ export var ToolbarInsertBlock = /*#__PURE__*/function (_React$PureComponent) {
777
777
  editorView: this.props.editorView,
778
778
  spacing: this.props.isReducedSpacing ? 'none' : 'default',
779
779
  label: this.props.intl.formatMessage(messages.insertMenu),
780
- open: this.state.isPlusMenuOpen,
780
+ open: this.state.isPlusMenuOpen && editorExperiment('insert-menu-in-right-rail', false),
781
781
  plusButtonRef: this.plusButtonRef,
782
782
  items: this.state.dropdownItems,
783
783
  onRef: this.handleDropDownButtonRef,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-insert-block",
3
- "version": "2.3.4",
3
+ "version": "2.3.6",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/button": "^20.2.0",
35
- "@atlaskit/editor-common": "^93.6.0",
35
+ "@atlaskit/editor-common": "^94.0.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
37
37
  "@atlaskit/editor-plugin-block-type": "^3.16.0",
38
38
  "@atlaskit/editor-plugin-code-block": "^3.5.0",
@@ -44,9 +44,9 @@
44
44
  "@atlaskit/editor-plugin-hyperlink": "^3.1.0",
45
45
  "@atlaskit/editor-plugin-image-upload": "^1.2.0",
46
46
  "@atlaskit/editor-plugin-layout": "^1.9.0",
47
- "@atlaskit/editor-plugin-media": "^1.36.0",
47
+ "@atlaskit/editor-plugin-media": "^1.37.0",
48
48
  "@atlaskit/editor-plugin-media-insert": "^3.2.0",
49
- "@atlaskit/editor-plugin-mentions": "^2.9.0",
49
+ "@atlaskit/editor-plugin-mentions": "^2.10.0",
50
50
  "@atlaskit/editor-plugin-panel": "^2.6.0",
51
51
  "@atlaskit/editor-plugin-placeholder-text": "^1.8.0",
52
52
  "@atlaskit/editor-plugin-primary-toolbar": "^2.0.0",
@@ -60,12 +60,12 @@
60
60
  "@atlaskit/editor-shared-styles": "^3.0.0",
61
61
  "@atlaskit/emoji": "^67.8.0",
62
62
  "@atlaskit/heading": "2.4.6",
63
- "@atlaskit/icon": "^22.22.0",
63
+ "@atlaskit/icon": "^22.23.0",
64
64
  "@atlaskit/icon-lab": "^1.0.0",
65
65
  "@atlaskit/platform-feature-flags": "^0.3.0",
66
66
  "@atlaskit/primitives": "^12.2.0",
67
67
  "@atlaskit/theme": "^14.0.0",
68
- "@atlaskit/tmp-editor-statsig": "^2.6.0",
68
+ "@atlaskit/tmp-editor-statsig": "^2.7.0",
69
69
  "@atlaskit/tokens": "^2.0.0",
70
70
  "@atlaskit/tooltip": "18.8.5",
71
71
  "@babel/runtime": "^7.0.0",