@atlaskit/editor-shared-styles 3.10.5 → 3.10.7
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.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6e8029473620b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6e8029473620b) -
|
|
8
|
+
[EDITOR-4496] clean up experiment platform_editor_toolbar_aifc_patch_3 and remove view-mode plugin
|
|
9
|
+
dependency from loom plugin
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 3.10.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 3.10.5
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -9,13 +9,12 @@ 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
|
|
|
16
15
|
var akEditorFullPageDefaultFontSize = exports.akEditorFullPageDefaultFontSize = 16;
|
|
17
16
|
var akEditorFullPageDenseFontSize = exports.akEditorFullPageDenseFontSize = 13;
|
|
18
|
-
var akEditorCodeFontFamily = exports.akEditorCodeFontFamily = "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)";
|
|
17
|
+
var akEditorCodeFontFamily = exports.akEditorCodeFontFamily = "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)";
|
|
19
18
|
var akEditorSubtleAccent = exports.akEditorSubtleAccent = "var(--ds-background-accent-gray-subtler, #DDDEE1)";
|
|
20
19
|
var akEditorBlockquoteBorderColor = exports.akEditorBlockquoteBorderColor = "var(--ds-border, #0B120E24)";
|
|
21
20
|
var akEditorCodeBackground = exports.akEditorCodeBackground = "var(--ds-background-accent-gray-subtlest, #F0F1F2)";
|
|
@@ -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 ? (
|
|
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,11 +1,10 @@
|
|
|
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
|
|
|
6
5
|
export const akEditorFullPageDefaultFontSize = 16;
|
|
7
6
|
export const akEditorFullPageDenseFontSize = 13;
|
|
8
|
-
export const akEditorCodeFontFamily = "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)";
|
|
7
|
+
export const akEditorCodeFontFamily = "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)";
|
|
9
8
|
export const akEditorSubtleAccent = "var(--ds-background-accent-gray-subtler, #DDDEE1)";
|
|
10
9
|
export const akEditorBlockquoteBorderColor = "var(--ds-border, #0B120E24)";
|
|
11
10
|
export const akEditorCodeBackground = "var(--ds-background-accent-gray-subtlest, #F0F1F2)";
|
|
@@ -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 ?
|
|
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,12 +1,11 @@
|
|
|
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
|
|
|
7
6
|
export var akEditorFullPageDefaultFontSize = 16;
|
|
8
7
|
export var akEditorFullPageDenseFontSize = 13;
|
|
9
|
-
export var akEditorCodeFontFamily = "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)";
|
|
8
|
+
export var akEditorCodeFontFamily = "var(--ds-font-family-code, \"Atlassian Mono\", ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)";
|
|
10
9
|
export var akEditorSubtleAccent = "var(--ds-background-accent-gray-subtler, #DDDEE1)";
|
|
11
10
|
export var akEditorBlockquoteBorderColor = "var(--ds-border, #0B120E24)";
|
|
12
11
|
export var akEditorCodeBackground = "var(--ds-background-accent-gray-subtlest, #F0F1F2)";
|
|
@@ -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 ?
|
|
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.
|
|
3
|
+
"version": "3.10.7",
|
|
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.
|
|
41
|
-
"@atlaskit/tokens": "^
|
|
40
|
+
"@atlaskit/tmp-editor-statsig": "^16.30.0",
|
|
41
|
+
"@atlaskit/tokens": "^10.1.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"@emotion/react": "^11.7.1"
|
|
44
44
|
},
|