@atlaskit/editor-plugin-primary-toolbar 3.2.6 → 3.2.8
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-primary-toolbar
|
|
2
2
|
|
|
3
|
+
## 3.2.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 3.2.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#154313](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/154313)
|
|
14
|
+
[`36c5067417688`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/36c5067417688) -
|
|
15
|
+
Clean up platform_editor_insert_button_on_primary_toolbar feature gate
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 3.2.6
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -16,9 +16,8 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
|
|
|
16
16
|
if (contextualFormattingEnabled && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
|
|
17
17
|
exposure: true
|
|
18
18
|
})) {
|
|
19
|
-
var shouldShowInsertBlock = (0, _platformFeatureFlags.fg)('platform_editor_insert_button_on_primary_toolbar');
|
|
20
19
|
var shouldShowUndoRedoGroup = (0, _platformFeatureFlags.fg)('platform_editor_undo_redo_find_on_primary_toolbar');
|
|
21
|
-
configuration = toolbarConfigurationV2(
|
|
20
|
+
configuration = toolbarConfigurationV2(true, shouldShowUndoRedoGroup);
|
|
22
21
|
} else {
|
|
23
22
|
var shouldShowFindGroup = !(!contextualFormattingEnabled && (0, _platformFeatureFlags.fg)('platform_editor_controls_fix_toolbar_config_embeds'));
|
|
24
23
|
configuration = toolbarConfiguration(shouldShowFindGroup);
|
|
@@ -9,9 +9,8 @@ export const getToolbarComponents = ({
|
|
|
9
9
|
if (contextualFormattingEnabled && editorExperiment('platform_editor_controls', 'variant1', {
|
|
10
10
|
exposure: true
|
|
11
11
|
})) {
|
|
12
|
-
const shouldShowInsertBlock = fg('platform_editor_insert_button_on_primary_toolbar');
|
|
13
12
|
const shouldShowUndoRedoGroup = fg('platform_editor_undo_redo_find_on_primary_toolbar');
|
|
14
|
-
configuration = toolbarConfigurationV2(
|
|
13
|
+
configuration = toolbarConfigurationV2(true, shouldShowUndoRedoGroup);
|
|
15
14
|
} else {
|
|
16
15
|
const shouldShowFindGroup = !(!contextualFormattingEnabled && fg('platform_editor_controls_fix_toolbar_config_embeds'));
|
|
17
16
|
configuration = toolbarConfiguration(shouldShowFindGroup);
|
|
@@ -9,9 +9,8 @@ export var getToolbarComponents = function getToolbarComponents(_ref) {
|
|
|
9
9
|
if (contextualFormattingEnabled && editorExperiment('platform_editor_controls', 'variant1', {
|
|
10
10
|
exposure: true
|
|
11
11
|
})) {
|
|
12
|
-
var shouldShowInsertBlock = fg('platform_editor_insert_button_on_primary_toolbar');
|
|
13
12
|
var shouldShowUndoRedoGroup = fg('platform_editor_undo_redo_find_on_primary_toolbar');
|
|
14
|
-
configuration = toolbarConfigurationV2(
|
|
13
|
+
configuration = toolbarConfigurationV2(true, shouldShowUndoRedoGroup);
|
|
15
14
|
} else {
|
|
16
15
|
var shouldShowFindGroup = !(!contextualFormattingEnabled && fg('platform_editor_controls_fix_toolbar_config_embeds'));
|
|
17
16
|
configuration = toolbarConfiguration(shouldShowFindGroup);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-primary-toolbar",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.8",
|
|
4
4
|
"description": "Primary toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
".": "./src/index.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/editor-common": "^105.
|
|
39
|
+
"@atlaskit/editor-common": "^105.10.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^5.0.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@emotion/react": "^11.7.1"
|
|
45
45
|
},
|
|
@@ -88,9 +88,6 @@
|
|
|
88
88
|
"platform_editor_controls_move_actions": {
|
|
89
89
|
"type": "boolean"
|
|
90
90
|
},
|
|
91
|
-
"platform_editor_insert_button_on_primary_toolbar": {
|
|
92
|
-
"type": "boolean"
|
|
93
|
-
},
|
|
94
91
|
"platform_editor_undo_redo_find_on_primary_toolbar": {
|
|
95
92
|
"type": "boolean"
|
|
96
93
|
},
|