@atlaskit/editor-shared-styles 4.0.56 → 4.0.58

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,21 @@
1
1
  # @atlaskit/editor-shared-styles
2
2
 
3
+ ## 4.0.58
4
+
5
+ ### Patch Changes
6
+
7
+ - [`656801b9e097c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/656801b9e097c) -
8
+ VOLTC-331 - Migrate updated package usage in platform/editor: rewrite barrel imports of
9
+ voltCompliant provider packages to deep/subpath imports (consumer-side debarrel). No public API
10
+ changes.
11
+ - Updated dependencies
12
+
13
+ ## 4.0.57
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 4.0.56
4
20
 
5
21
  ### Patch Changes
@@ -8,7 +8,7 @@ exports.editorFontSize = exports.breakoutWideScaleRatio = exports.blockNodesVert
8
8
  exports.getTableCellBackgroundDarkModeColorCSS = getTableCellBackgroundDarkModeColorCSS;
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
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
11
+ var _fg = require("@atlaskit/platform-feature-flags/fg");
12
12
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
13
13
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
14
14
 
@@ -72,7 +72,7 @@ var akEditorGutterPadding = exports.akEditorGutterPadding = 32;
72
72
  var akEditorGutterPaddingDynamic = exports.akEditorGutterPaddingDynamic = function akEditorGutterPaddingDynamic() {
73
73
  return (
74
74
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning
75
- (0, _platformFeatureFlags.fg)('platform_editor_controls_increase_full_page_gutter') && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? 72 : 52
75
+ (0, _fg.fg)('platform_editor_controls_increase_full_page_gutter') && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? 72 : 52
76
76
  );
77
77
  };
78
78
  var akEditorGutterPaddingReduced = exports.akEditorGutterPaddingReduced = 24;
@@ -116,7 +116,7 @@ var DEFAULT_FONT_SIZE = 14;
116
116
  var FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = exports.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = function FULL_PAGE_EDITOR_TOOLBAR_HEIGHT(isToolbarAIFCEnabled) {
117
117
  if (
118
118
  // if value is undefined assume this is being called outside of editor where the experiment can be checked
119
- isToolbarAIFCEnabled === undefined ? (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true) || (0, _platformFeatureFlags.fg)('platform_editor_ai_aifc_streaming') : isToolbarAIFCEnabled) {
119
+ isToolbarAIFCEnabled === undefined ? (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true) || (0, _fg.fg)('platform_editor_ai_aifc_streaming') : isToolbarAIFCEnabled) {
120
120
  return '44px';
121
121
  }
122
122
  if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
@@ -1,4 +1,4 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
1
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
2
2
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
3
3
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
4
4
 
@@ -1,5 +1,5 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
- import { fg } from '@atlaskit/platform-feature-flags';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
4
4
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "4.0.56",
3
+ "version": "4.0.58",
4
4
  "description": "Style values used in the editor/renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@atlaskit/platform-feature-flags": "^2.1.0",
32
- "@atlaskit/tmp-editor-statsig": "^158.0.0",
32
+ "@atlaskit/tmp-editor-statsig": "^159.0.0",
33
33
  "@atlaskit/tokens": "^16.8.0",
34
34
  "@babel/runtime": "^7.0.0",
35
35
  "@emotion/react": "^11.7.1"