@atlaskit/editor-plugin-primary-toolbar 4.1.4 → 4.1.5
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-primary-toolbar
|
|
2
2
|
|
|
3
|
+
## 4.1.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6ca68bbf39757`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6ca68bbf39757) -
|
|
8
|
+
Change all AIFC feature gates over to an experiment platform_editor_ai_aifc
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 4.1.4
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -20,9 +20,7 @@ var getToolbarComponents = exports.getToolbarComponents = function getToolbarCom
|
|
|
20
20
|
configuration = toolbarConfigurationV2(true, shouldShowUndoRedoGroup);
|
|
21
21
|
} else {
|
|
22
22
|
var shouldShowFindGroup = !!contextualFormattingEnabled;
|
|
23
|
-
|
|
24
|
-
// editor-jira-undo-redo-show-diff-buttons is the feature flag for Jira
|
|
25
|
-
if (((0, _platformFeatureFlags.fg)('platform_editor_ai_in_document_streaming') || (0, _platformFeatureFlags.fg)('editor-jira-undo-redo-show-diff-buttons')) && componentRegistry.has('trackChanges')) {
|
|
23
|
+
if (componentRegistry.has('trackChanges')) {
|
|
26
24
|
configuration = toolbarConfigurationV3(shouldShowFindGroup);
|
|
27
25
|
} else {
|
|
28
26
|
configuration = toolbarConfiguration(shouldShowFindGroup);
|
|
@@ -13,9 +13,7 @@ export const getToolbarComponents = ({
|
|
|
13
13
|
configuration = toolbarConfigurationV2(true, shouldShowUndoRedoGroup);
|
|
14
14
|
} else {
|
|
15
15
|
const shouldShowFindGroup = !!contextualFormattingEnabled;
|
|
16
|
-
|
|
17
|
-
// editor-jira-undo-redo-show-diff-buttons is the feature flag for Jira
|
|
18
|
-
if ((fg('platform_editor_ai_in_document_streaming') || fg('editor-jira-undo-redo-show-diff-buttons')) && componentRegistry.has('trackChanges')) {
|
|
16
|
+
if (componentRegistry.has('trackChanges')) {
|
|
19
17
|
configuration = toolbarConfigurationV3(shouldShowFindGroup);
|
|
20
18
|
} else {
|
|
21
19
|
configuration = toolbarConfiguration(shouldShowFindGroup);
|
|
@@ -13,9 +13,7 @@ export var getToolbarComponents = function getToolbarComponents(_ref) {
|
|
|
13
13
|
configuration = toolbarConfigurationV2(true, shouldShowUndoRedoGroup);
|
|
14
14
|
} else {
|
|
15
15
|
var shouldShowFindGroup = !!contextualFormattingEnabled;
|
|
16
|
-
|
|
17
|
-
// editor-jira-undo-redo-show-diff-buttons is the feature flag for Jira
|
|
18
|
-
if ((fg('platform_editor_ai_in_document_streaming') || fg('editor-jira-undo-redo-show-diff-buttons')) && componentRegistry.has('trackChanges')) {
|
|
16
|
+
if (componentRegistry.has('trackChanges')) {
|
|
19
17
|
configuration = toolbarConfigurationV3(shouldShowFindGroup);
|
|
20
18
|
} else {
|
|
21
19
|
configuration = toolbarConfiguration(shouldShowFindGroup);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-primary-toolbar",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5",
|
|
4
4
|
"description": "Primary toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
40
|
+
"@atlaskit/tmp-editor-statsig": "^11.0.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0",
|
|
42
42
|
"@emotion/react": "^11.7.1"
|
|
43
43
|
},
|
|
@@ -81,13 +81,6 @@
|
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
"platform-feature-flags": {
|
|
84
|
-
"platform_editor_ai_in_document_streaming": {
|
|
85
|
-
"type": "boolean",
|
|
86
|
-
"referenceOnly": true
|
|
87
|
-
},
|
|
88
|
-
"editor-jira-undo-redo-show-diff-buttons": {
|
|
89
|
-
"type": "boolean"
|
|
90
|
-
},
|
|
91
84
|
"platform_editor_undo_redo_find_on_primary_toolbar": {
|
|
92
85
|
"type": "boolean"
|
|
93
86
|
}
|