@atlaskit/editor-plugin-block-menu 14.1.7 → 14.2.1
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,27 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-menu
|
|
2
2
|
|
|
3
|
+
## 14.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 14.2.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`d96f86ff344b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d96f86ff344b8) -
|
|
14
|
+
Use @atlaskit/platform-feature-experiments directly for
|
|
15
|
+
platform_editor_vc90_transition_expand_icon, platform_editor_add_image_editing,
|
|
16
|
+
platform_editor_ai_multi_format_streaming, platform_editor_default_toolbar_state,
|
|
17
|
+
platform_editor_early_exit_return_draft, platform_editor_fix_focus_MediaInsertPicker,
|
|
18
|
+
platform_editor_fix_table_move_shortcut, platform_editor_menu_radius_update,
|
|
19
|
+
platform_editor_react19_migration, and show_mentions_in_suggest_reply.
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 14.1.7
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -23,6 +23,7 @@ var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
|
23
23
|
var _uiReact = require("@atlaskit/editor-common/ui-react");
|
|
24
24
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
25
25
|
var _toolbarMenuContainer = require("@atlaskit/editor-toolbar/toolbar-menu-container");
|
|
26
|
+
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
26
27
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
27
28
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
28
29
|
var _prosemirrorHistory = require("@atlaskit/prosemirror-history");
|
|
@@ -138,7 +139,7 @@ var BlockMenuContent = function BlockMenuContent(_ref4) {
|
|
|
138
139
|
}
|
|
139
140
|
return target.closest('[data-toolbar-nested-dropdown-menu]') !== null;
|
|
140
141
|
};
|
|
141
|
-
if ((0,
|
|
142
|
+
if ((0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_menu_radius_update')) {
|
|
142
143
|
return /*#__PURE__*/_react.default.createElement(_toolbarMenuContainer.ToolbarMenuContainer, {
|
|
143
144
|
testId: _blockMenu.BLOCK_MENU_TEST_ID,
|
|
144
145
|
ref: ref,
|
|
@@ -14,6 +14,7 @@ import { ArrowKeyNavigationProvider, ArrowKeyNavigationType } from '@atlaskit/ed
|
|
|
14
14
|
import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners } from '@atlaskit/editor-common/ui-react';
|
|
15
15
|
import { akEditorFloatingOverlapPanelZIndex } from '@atlaskit/editor-shared-styles';
|
|
16
16
|
import { ToolbarMenuContainer } from '@atlaskit/editor-toolbar/toolbar-menu-container';
|
|
17
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
17
18
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
18
19
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
19
20
|
import { redo, undo } from '@atlaskit/prosemirror-history';
|
|
@@ -129,7 +130,7 @@ const BlockMenuContent = ({
|
|
|
129
130
|
}
|
|
130
131
|
return target.closest('[data-toolbar-nested-dropdown-menu]') !== null;
|
|
131
132
|
};
|
|
132
|
-
if (
|
|
133
|
+
if (isExperimentEnabled('platform_editor_menu_radius_update')) {
|
|
133
134
|
return /*#__PURE__*/React.createElement(ToolbarMenuContainer, {
|
|
134
135
|
testId: BLOCK_MENU_TEST_ID,
|
|
135
136
|
ref: ref,
|
|
@@ -15,6 +15,7 @@ import { ArrowKeyNavigationProvider, ArrowKeyNavigationType } from '@atlaskit/ed
|
|
|
15
15
|
import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners } from '@atlaskit/editor-common/ui-react';
|
|
16
16
|
import { akEditorFloatingOverlapPanelZIndex } from '@atlaskit/editor-shared-styles';
|
|
17
17
|
import { ToolbarMenuContainer } from '@atlaskit/editor-toolbar/toolbar-menu-container';
|
|
18
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
18
19
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
19
20
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
20
21
|
import { redo, undo } from '@atlaskit/prosemirror-history';
|
|
@@ -129,7 +130,7 @@ var BlockMenuContent = function BlockMenuContent(_ref4) {
|
|
|
129
130
|
}
|
|
130
131
|
return target.closest('[data-toolbar-nested-dropdown-menu]') !== null;
|
|
131
132
|
};
|
|
132
|
-
if (
|
|
133
|
+
if (isExperimentEnabled('platform_editor_menu_radius_update')) {
|
|
133
134
|
return /*#__PURE__*/React.createElement(ToolbarMenuContainer, {
|
|
134
135
|
testId: BLOCK_MENU_TEST_ID,
|
|
135
136
|
ref: ref,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-menu",
|
|
3
|
-
"version": "14.1
|
|
3
|
+
"version": "14.2.1",
|
|
4
4
|
"description": "BlockMenu plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,28 +23,28 @@
|
|
|
23
23
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
24
24
|
"@atlaskit/css": "^1.0.0",
|
|
25
25
|
"@atlaskit/editor-plugin-analytics": "^15.0.0",
|
|
26
|
-
"@atlaskit/editor-plugin-block-controls": "^16.
|
|
26
|
+
"@atlaskit/editor-plugin-block-controls": "^16.1.0",
|
|
27
27
|
"@atlaskit/editor-plugin-decorations": "^15.0.0",
|
|
28
28
|
"@atlaskit/editor-plugin-selection": "^15.0.0",
|
|
29
29
|
"@atlaskit/editor-plugin-user-intent": "^13.0.0",
|
|
30
30
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
31
31
|
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
32
32
|
"@atlaskit/editor-tables": "^3.0.0",
|
|
33
|
-
"@atlaskit/editor-toolbar": "^2.
|
|
34
|
-
"@atlaskit/flag": "^18.
|
|
35
|
-
"@atlaskit/icon": "^37.
|
|
33
|
+
"@atlaskit/editor-toolbar": "^2.6.0",
|
|
34
|
+
"@atlaskit/flag": "^18.4.0",
|
|
35
|
+
"@atlaskit/icon": "^37.5.0",
|
|
36
36
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
37
37
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
38
|
-
"@atlaskit/primitives": "^22.
|
|
38
|
+
"@atlaskit/primitives": "^22.4.0",
|
|
39
39
|
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
40
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
41
|
-
"@atlaskit/tokens": "^16.
|
|
40
|
+
"@atlaskit/tmp-editor-statsig": "^158.0.0",
|
|
41
|
+
"@atlaskit/tokens": "^16.8.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"bind-event-listener": "^3.0.0",
|
|
44
44
|
"memoize-one": "^6.0.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@atlaskit/editor-common": "^119.
|
|
47
|
+
"@atlaskit/editor-common": "^119.16.0",
|
|
48
48
|
"react": "^18.2.0 || ^19.2.0",
|
|
49
49
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
50
50
|
},
|