@atlaskit/editor-plugin-block-menu 9.2.13 → 10.0.0
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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-menu
|
|
2
2
|
|
|
3
|
+
## 10.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`98b3fa19212bf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/98b3fa19212bf) -
|
|
8
|
+
Gate the block menu format title update behind platform_editor_block_menu_jira_patch_3.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 9.2.14
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 9.2.13
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -28,7 +28,7 @@ var FormatMenuComponent = exports.FormatMenuComponent = function FormatMenuCompo
|
|
|
28
28
|
formatMessage = _useIntl.formatMessage;
|
|
29
29
|
|
|
30
30
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning -- gate + experiment layering for MAUI rollout (cc-maui-experiment + cc-maui-phase-3); will simplify post-rollout
|
|
31
|
-
var formatMenuLabel = (0, _expValEquals.expValEquals)('cc-maui-experiment', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('cc-maui-phase-3') ? _messages.blockMenuMessages.changeFormat : _messages.blockMenuMessages.turnInto;
|
|
31
|
+
var formatMenuLabel = (0, _expValEquals.expValEquals)('cc-maui-experiment', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('cc-maui-phase-3') || (0, _platformFeatureFlags.fg)('platform_editor_block_menu_jira_patch_3') ? _messages.blockMenuMessages.changeFormat : _messages.blockMenuMessages.turnInto;
|
|
32
32
|
var handleClick = (0, _react.useCallback)(function () {
|
|
33
33
|
api === null || api === void 0 || api.core.actions.execute(function (_ref2) {
|
|
34
34
|
var _api$analytics;
|
|
@@ -19,7 +19,7 @@ export const FormatMenuComponent = ({
|
|
|
19
19
|
} = useIntl();
|
|
20
20
|
|
|
21
21
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning -- gate + experiment layering for MAUI rollout (cc-maui-experiment + cc-maui-phase-3); will simplify post-rollout
|
|
22
|
-
const formatMenuLabel = expValEquals('cc-maui-experiment', 'isEnabled', true) && fg('cc-maui-phase-3') ? blockMenuMessages.changeFormat : blockMenuMessages.turnInto;
|
|
22
|
+
const formatMenuLabel = expValEquals('cc-maui-experiment', 'isEnabled', true) && fg('cc-maui-phase-3') || fg('platform_editor_block_menu_jira_patch_3') ? blockMenuMessages.changeFormat : blockMenuMessages.turnInto;
|
|
23
23
|
const handleClick = useCallback(() => {
|
|
24
24
|
api === null || api === void 0 ? void 0 : api.core.actions.execute(({
|
|
25
25
|
tr
|
|
@@ -19,7 +19,7 @@ export var FormatMenuComponent = function FormatMenuComponent(_ref) {
|
|
|
19
19
|
formatMessage = _useIntl.formatMessage;
|
|
20
20
|
|
|
21
21
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning -- gate + experiment layering for MAUI rollout (cc-maui-experiment + cc-maui-phase-3); will simplify post-rollout
|
|
22
|
-
var formatMenuLabel = expValEquals('cc-maui-experiment', 'isEnabled', true) && fg('cc-maui-phase-3') ? blockMenuMessages.changeFormat : blockMenuMessages.turnInto;
|
|
22
|
+
var formatMenuLabel = expValEquals('cc-maui-experiment', 'isEnabled', true) && fg('cc-maui-phase-3') || fg('platform_editor_block_menu_jira_patch_3') ? blockMenuMessages.changeFormat : blockMenuMessages.turnInto;
|
|
23
23
|
var handleClick = useCallback(function () {
|
|
24
24
|
api === null || api === void 0 || api.core.actions.execute(function (_ref2) {
|
|
25
25
|
var _api$analytics;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-menu",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "BlockMenu plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@atlaskit/browser-apis": "^0.0.2",
|
|
32
32
|
"@atlaskit/css": "^0.19.0",
|
|
33
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
34
|
-
"@atlaskit/editor-plugin-block-controls": "^
|
|
35
|
-
"@atlaskit/editor-plugin-decorations": "^
|
|
36
|
-
"@atlaskit/editor-plugin-selection": "^
|
|
37
|
-
"@atlaskit/editor-plugin-user-intent": "^
|
|
33
|
+
"@atlaskit/editor-plugin-analytics": "^11.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-block-controls": "^12.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-decorations": "^11.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-selection": "^11.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-user-intent": "^9.0.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.11.0",
|
|
40
40
|
"@atlaskit/editor-tables": "^2.10.0",
|
|
@@ -44,13 +44,13 @@
|
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
45
|
"@atlaskit/primitives": "^19.0.0",
|
|
46
46
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^88.0.0",
|
|
48
48
|
"@atlaskit/tokens": "^13.1.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"bind-event-listener": "^3.0.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@atlaskit/editor-common": "^
|
|
53
|
+
"@atlaskit/editor-common": "^115.0.0",
|
|
54
54
|
"react": "^18.2.0",
|
|
55
55
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
56
56
|
},
|