@atlaskit/editor-shared-styles 3.10.1 → 3.10.2
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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-shared-styles
|
|
2
2
|
|
|
3
|
+
## 3.10.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f910a750d2d52`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f910a750d2d52) -
|
|
8
|
+
Moving all references to aifc_create_enabled FG over to a new seperately controlled
|
|
9
|
+
platform_editor_ai_aifc_streaming gate
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 3.10.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -115,7 +115,7 @@ var DEFAULT_FONT_SIZE = 14;
|
|
|
115
115
|
var FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = exports.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = function FULL_PAGE_EDITOR_TOOLBAR_HEIGHT(isToolbarAIFCEnabled) {
|
|
116
116
|
if (
|
|
117
117
|
// if value is undefined assume this is being called outside of editor where the experiment can be checked
|
|
118
|
-
isToolbarAIFCEnabled === undefined ? ((0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true) || (0, _platformFeatureFlags.fg)('
|
|
118
|
+
isToolbarAIFCEnabled === undefined ? ((0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true) || (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_streaming')) && (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) : isToolbarAIFCEnabled && (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true)) {
|
|
119
119
|
return '44px';
|
|
120
120
|
}
|
|
121
121
|
if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
|
|
@@ -102,7 +102,7 @@ const DEFAULT_FONT_SIZE = 14;
|
|
|
102
102
|
export const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = isToolbarAIFCEnabled => {
|
|
103
103
|
if (
|
|
104
104
|
// if value is undefined assume this is being called outside of editor where the experiment can be checked
|
|
105
|
-
isToolbarAIFCEnabled === undefined ? (editorExperiment('platform_editor_toolbar_aifc', true) || fg('
|
|
105
|
+
isToolbarAIFCEnabled === undefined ? (editorExperiment('platform_editor_toolbar_aifc', true) || fg('platform_editor_ai_aifc_streaming')) && expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) : isToolbarAIFCEnabled && expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true)) {
|
|
106
106
|
return '44px';
|
|
107
107
|
}
|
|
108
108
|
if (editorExperiment('platform_editor_controls', 'variant1', {
|
|
@@ -106,7 +106,7 @@ var DEFAULT_FONT_SIZE = 14;
|
|
|
106
106
|
export var FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = function FULL_PAGE_EDITOR_TOOLBAR_HEIGHT(isToolbarAIFCEnabled) {
|
|
107
107
|
if (
|
|
108
108
|
// if value is undefined assume this is being called outside of editor where the experiment can be checked
|
|
109
|
-
isToolbarAIFCEnabled === undefined ? (editorExperiment('platform_editor_toolbar_aifc', true) || fg('
|
|
109
|
+
isToolbarAIFCEnabled === undefined ? (editorExperiment('platform_editor_toolbar_aifc', true) || fg('platform_editor_ai_aifc_streaming')) && expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) : isToolbarAIFCEnabled && expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true)) {
|
|
110
110
|
return '44px';
|
|
111
111
|
}
|
|
112
112
|
if (editorExperiment('platform_editor_controls', 'variant1', {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-shared-styles",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.2",
|
|
4
4
|
"description": "Style values used in the editor/renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"platform_editor_controls_increase_full_page_gutter": {
|
|
32
32
|
"type": "boolean"
|
|
33
33
|
},
|
|
34
|
-
"
|
|
34
|
+
"platform_editor_ai_aifc_streaming": {
|
|
35
35
|
"type": "boolean"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
41
|
-
"@atlaskit/tokens": "^8.
|
|
40
|
+
"@atlaskit/tmp-editor-statsig": "^14.0.0",
|
|
41
|
+
"@atlaskit/tokens": "^8.4.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@emotion/react": "^11.7.1"
|
|
44
44
|
},
|