@atlaskit/editor-shared-styles 4.3.4 → 4.3.6

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
+ ## 4.3.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.3.5
10
+
11
+ ### Patch Changes
12
+
13
+ - [`3f76a4ffe41c8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3f76a4ffe41c8) -
14
+ Cleanup `platform_editor_controls_increase_full_page_gutter` and the fully rolled-out
15
+ `platform_editor_controls` checks directly stacked with it, retaining the larger full-page gutter
16
+ permanently. Other controls experiment checks remain for iterative cleanup.
17
+
3
18
  ## 4.3.4
4
19
 
5
20
  ### Patch Changes
@@ -70,10 +70,7 @@ var akEditorTableNumberColumnWidth = exports.akEditorTableNumberColumnWidth = 42
70
70
  var akEditorBreakoutPadding = exports.akEditorBreakoutPadding = 96;
71
71
  var akEditorGutterPadding = exports.akEditorGutterPadding = 32;
72
72
  var akEditorGutterPaddingDynamic = exports.akEditorGutterPaddingDynamic = function akEditorGutterPaddingDynamic() {
73
- return (
74
- // eslint-disable-next-line @atlaskit/platform/no-preconditioning
75
- (0, _fg.fg)('platform_editor_controls_increase_full_page_gutter') && (0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1') ? 72 : 52
76
- );
73
+ return 72;
77
74
  };
78
75
  var akEditorGutterPaddingReduced = exports.akEditorGutterPaddingReduced = 24;
79
76
  var akEditorFullPageNarrowBreakout = exports.akEditorFullPageNarrowBreakout = 600;
@@ -59,9 +59,7 @@ export const akEditorMaxLayoutWidth = 4000;
59
59
  export const akEditorTableNumberColumnWidth = 42;
60
60
  export const akEditorBreakoutPadding = 96;
61
61
  export const akEditorGutterPadding = 32;
62
- export const akEditorGutterPaddingDynamic = () =>
63
- // eslint-disable-next-line @atlaskit/platform/no-preconditioning
64
- fg('platform_editor_controls_increase_full_page_gutter') && editorExperiment('platform_editor_controls', 'variant1') ? 72 : 52;
62
+ export const akEditorGutterPaddingDynamic = () => 72;
65
63
  export const akEditorGutterPaddingReduced = 24;
66
64
  export const akEditorFullPageNarrowBreakout = 600;
67
65
  export const akEditorMobileBreakoutPoint = 720;
@@ -61,10 +61,7 @@ export var akEditorTableNumberColumnWidth = 42;
61
61
  export var akEditorBreakoutPadding = 96;
62
62
  export var akEditorGutterPadding = 32;
63
63
  export var akEditorGutterPaddingDynamic = function akEditorGutterPaddingDynamic() {
64
- return (
65
- // eslint-disable-next-line @atlaskit/platform/no-preconditioning
66
- fg('platform_editor_controls_increase_full_page_gutter') && editorExperiment('platform_editor_controls', 'variant1') ? 72 : 52
67
- );
64
+ return 72;
68
65
  };
69
66
  export var akEditorGutterPaddingReduced = 24;
70
67
  export var akEditorFullPageNarrowBreakout = 600;
@@ -48,7 +48,7 @@ export declare const akEditorMaxLayoutWidth = 4000;
48
48
  export declare const akEditorTableNumberColumnWidth = 42;
49
49
  export declare const akEditorBreakoutPadding = 96;
50
50
  export declare const akEditorGutterPadding = 32;
51
- export declare const akEditorGutterPaddingDynamic: () => 72 | 52;
51
+ export declare const akEditorGutterPaddingDynamic: () => 72;
52
52
  export declare const akEditorGutterPaddingReduced = 24;
53
53
  export declare const akEditorFullPageNarrowBreakout = 600;
54
54
  export declare const akEditorMobileBreakoutPoint = 720;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "4.3.4",
3
+ "version": "4.3.6",
4
4
  "description": "Style values used in the editor/renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -20,9 +20,6 @@
20
20
  "team": "Editor: Lego"
21
21
  },
22
22
  "platform-feature-flags": {
23
- "platform_editor_controls_increase_full_page_gutter": {
24
- "type": "boolean"
25
- },
26
23
  "platform_editor_ai_aifc_streaming": {
27
24
  "type": "boolean"
28
25
  }
@@ -30,7 +27,7 @@
30
27
  "dependencies": {
31
28
  "@atlaskit/agent-color": "^0.1.0",
32
29
  "@atlaskit/platform-feature-flags": "^2.2.0",
33
- "@atlaskit/tmp-editor-statsig": "^192.0.0",
30
+ "@atlaskit/tmp-editor-statsig": "^193.0.0",
34
31
  "@atlaskit/tokens": "^16.12.0",
35
32
  "@babel/runtime": "^7.0.0",
36
33
  "@emotion/react": "^11.7.1"