@atlaskit/editor-shared-styles 3.10.1 → 3.10.3

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-shared-styles
2
2
 
3
+ ## 3.10.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.10.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`f910a750d2d52`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f910a750d2d52) -
14
+ Moving all references to aifc_create_enabled FG over to a new seperately controlled
15
+ platform_editor_ai_aifc_streaming gate
16
+ - Updated dependencies
17
+
3
18
  ## 3.10.1
4
19
 
5
20
  ### 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)('aifc_create_enabled')) && (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) : isToolbarAIFCEnabled && (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true)) {
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('aifc_create_enabled')) && expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) : isToolbarAIFCEnabled && expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true)) {
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('aifc_create_enabled')) && expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) : isToolbarAIFCEnabled && expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true)) {
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.1",
3
+ "version": "3.10.3",
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
- "aifc_create_enabled": {
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": "^13.38.0",
41
- "@atlaskit/tokens": "^8.0.0",
40
+ "@atlaskit/tmp-editor-statsig": "^15.0.0",
41
+ "@atlaskit/tokens": "^8.4.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "@emotion/react": "^11.7.1"
44
44
  },