@atlaskit/editor-shared-styles 4.0.57 → 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,15 @@
|
|
|
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
|
+
|
|
3
13
|
## 4.0.57
|
|
4
14
|
|
|
5
15
|
### 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
|
|
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,
|
|
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,
|
|
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,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
|
|