@atlaskit/editor-shared-styles 3.10.6 → 3.10.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-shared-styles
2
2
 
3
+ ## 3.10.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.10.7
10
+
11
+ ### Patch Changes
12
+
13
+ - [`6e8029473620b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6e8029473620b) -
14
+ [EDITOR-4496] clean up experiment platform_editor_toolbar_aifc_patch_3 and remove view-mode plugin
15
+ dependency from loom plugin
16
+ - Updated dependencies
17
+
3
18
  ## 3.10.6
4
19
 
5
20
  ### Patch Changes
@@ -9,7 +9,6 @@ exports.getTableCellBackgroundDarkModeColorCSS = getTableCellBackgroundDarkModeC
9
9
  exports.scaledBlockNodesVerticalMargin = exports.relativeSizeToBaseFontSize = exports.relativeSize = exports.relativeFontSizeToBase16 = exports.participantColors = exports.layoutBreakpointWidth = exports.gridMediumMaxWidth = exports.getTableCellBackgroundDarkModeColors = void 0;
10
10
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
11
11
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
13
12
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
14
13
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
15
14
 
@@ -115,7 +114,7 @@ var DEFAULT_FONT_SIZE = 14;
115
114
  var FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = exports.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = function FULL_PAGE_EDITOR_TOOLBAR_HEIGHT(isToolbarAIFCEnabled) {
116
115
  if (
117
116
  // 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)('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)) {
117
+ isToolbarAIFCEnabled === undefined ? (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true) || (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_streaming') : isToolbarAIFCEnabled) {
119
118
  return '44px';
120
119
  }
121
120
  if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
@@ -1,5 +1,4 @@
1
1
  import { fg } from '@atlaskit/platform-feature-flags';
2
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
3
2
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
4
3
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
5
4
 
@@ -102,7 +101,7 @@ const DEFAULT_FONT_SIZE = 14;
102
101
  export const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = isToolbarAIFCEnabled => {
103
102
  if (
104
103
  // 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('platform_editor_ai_aifc_streaming')) && expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) : isToolbarAIFCEnabled && expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true)) {
104
+ isToolbarAIFCEnabled === undefined ? editorExperiment('platform_editor_toolbar_aifc', true) || fg('platform_editor_ai_aifc_streaming') : isToolbarAIFCEnabled) {
106
105
  return '44px';
107
106
  }
108
107
  if (editorExperiment('platform_editor_controls', 'variant1', {
@@ -1,6 +1,5 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import { fg } from '@atlaskit/platform-feature-flags';
3
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
3
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
5
4
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
6
5
 
@@ -106,7 +105,7 @@ var DEFAULT_FONT_SIZE = 14;
106
105
  export var FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = function FULL_PAGE_EDITOR_TOOLBAR_HEIGHT(isToolbarAIFCEnabled) {
107
106
  if (
108
107
  // 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('platform_editor_ai_aifc_streaming')) && expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) : isToolbarAIFCEnabled && expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true)) {
108
+ isToolbarAIFCEnabled === undefined ? editorExperiment('platform_editor_toolbar_aifc', true) || fg('platform_editor_ai_aifc_streaming') : isToolbarAIFCEnabled) {
110
109
  return '44px';
111
110
  }
112
111
  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.6",
3
+ "version": "3.10.8",
4
4
  "description": "Style values used in the editor/renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
- "@atlaskit/tmp-editor-statsig": "^16.23.0",
41
- "@atlaskit/tokens": "^10.0.0",
40
+ "@atlaskit/tmp-editor-statsig": "^17.0.0",
41
+ "@atlaskit/tokens": "^10.1.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "@emotion/react": "^11.7.1"
44
44
  },