@atlaskit/editor-shared-styles 3.1.1 → 3.1.2
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-shared-styles
|
|
2
2
|
|
|
3
|
+
## 3.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#156102](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/156102)
|
|
8
|
+
[`05bfe209f2801`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/05bfe209f2801) -
|
|
9
|
+
Replace platform.editor.core.increase-full-page-guttering with new FG
|
|
10
|
+
|
|
3
11
|
## 3.1.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -62,7 +62,7 @@ var akEditorTableNumberColumnWidth = exports.akEditorTableNumberColumnWidth = 42
|
|
|
62
62
|
var akEditorBreakoutPadding = exports.akEditorBreakoutPadding = 96;
|
|
63
63
|
var akEditorGutterPadding = exports.akEditorGutterPadding = 32;
|
|
64
64
|
var akEditorGutterPaddingDynamic = exports.akEditorGutterPaddingDynamic = function akEditorGutterPaddingDynamic() {
|
|
65
|
-
return (0, _platformFeatureFlags.fg)('
|
|
65
|
+
return (0, _platformFeatureFlags.fg)('platform_editor_core_increase_full_page_guttering') ? 52 : 32;
|
|
66
66
|
};
|
|
67
67
|
var akEditorMobileBreakoutPoint = exports.akEditorMobileBreakoutPoint = 720;
|
|
68
68
|
var akEditorTableCellMinWidth = exports.akEditorTableCellMinWidth = 48;
|
|
@@ -51,7 +51,7 @@ export const akEditorFullWidthLayoutLineLength = 1792;
|
|
|
51
51
|
export const akEditorTableNumberColumnWidth = 42;
|
|
52
52
|
export const akEditorBreakoutPadding = 96;
|
|
53
53
|
export const akEditorGutterPadding = 32;
|
|
54
|
-
export const akEditorGutterPaddingDynamic = () => fg('
|
|
54
|
+
export const akEditorGutterPaddingDynamic = () => fg('platform_editor_core_increase_full_page_guttering') ? 52 : 32;
|
|
55
55
|
export const akEditorMobileBreakoutPoint = 720;
|
|
56
56
|
export const akEditorTableCellMinWidth = 48;
|
|
57
57
|
export const akEditorTableLegacyCellMinWidth = 128;
|
|
@@ -53,7 +53,7 @@ export var akEditorTableNumberColumnWidth = 42;
|
|
|
53
53
|
export var akEditorBreakoutPadding = 96;
|
|
54
54
|
export var akEditorGutterPadding = 32;
|
|
55
55
|
export var akEditorGutterPaddingDynamic = function akEditorGutterPaddingDynamic() {
|
|
56
|
-
return fg('
|
|
56
|
+
return fg('platform_editor_core_increase_full_page_guttering') ? 52 : 32;
|
|
57
57
|
};
|
|
58
58
|
export var akEditorMobileBreakoutPoint = 720;
|
|
59
59
|
export var akEditorTableCellMinWidth = 48;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-shared-styles",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
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
|
"platform.confluence.frontend.narrow-full-page-editor-toolbar": {
|
|
30
30
|
"type": "boolean"
|
|
31
31
|
},
|
|
32
|
-
"
|
|
32
|
+
"platform_editor_core_increase_full_page_guttering": {
|
|
33
33
|
"type": "boolean"
|
|
34
34
|
}
|
|
35
35
|
},
|
package/src/consts/consts.ts
CHANGED
|
@@ -59,7 +59,7 @@ export const akEditorTableNumberColumnWidth = 42;
|
|
|
59
59
|
export const akEditorBreakoutPadding = 96;
|
|
60
60
|
export const akEditorGutterPadding = 32;
|
|
61
61
|
export const akEditorGutterPaddingDynamic = () =>
|
|
62
|
-
fg('
|
|
62
|
+
fg('platform_editor_core_increase_full_page_guttering') ? 52 : 32;
|
|
63
63
|
export const akEditorMobileBreakoutPoint = 720;
|
|
64
64
|
export const akEditorTableCellMinWidth = 48;
|
|
65
65
|
export const akEditorTableLegacyCellMinWidth = 128;
|