@atlaskit/editor-shared-styles 3.4.7 → 3.4.9

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,19 @@
1
1
  # @atlaskit/editor-shared-styles
2
2
 
3
+ ## 3.4.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#176901](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/176901)
8
+ [`501b9262a675a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/501b9262a675a) -
9
+ clean up feature flag live_pages_content_jump_mitigation
10
+
11
+ ## 3.4.8
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 3.4.7
4
18
 
5
19
  ### Patch Changes
@@ -111,9 +111,6 @@ var FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = exports.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT =
111
111
  })) {
112
112
  return "var(--ds-space-500, 40px)";
113
113
  }
114
- if ((0, _platformFeatureFlags.fg)('live_pages_content_jump_mitigation')) {
115
- return '2.188rem';
116
- }
117
114
  return "var(--ds-space-500, 40px)";
118
115
  };
119
116
  var akEditorSelectedNodeClassName = exports.akEditorSelectedNodeClassName = 'ak-editor-selected-node';
@@ -98,9 +98,6 @@ export const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = () => {
98
98
  })) {
99
99
  return "var(--ds-space-500, 40px)";
100
100
  }
101
- if (fg('live_pages_content_jump_mitigation')) {
102
- return '2.188rem';
103
- }
104
101
  return "var(--ds-space-500, 40px)";
105
102
  };
106
103
  export const akEditorSelectedNodeClassName = 'ak-editor-selected-node';
@@ -102,9 +102,6 @@ export var FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = function FULL_PAGE_EDITOR_TOOLBAR_H
102
102
  })) {
103
103
  return "var(--ds-space-500, 40px)";
104
104
  }
105
- if (fg('live_pages_content_jump_mitigation')) {
106
- return '2.188rem';
107
- }
108
105
  return "var(--ds-space-500, 40px)";
109
106
  };
110
107
  export var akEditorSelectedNodeClassName = 'ak-editor-selected-node';
@@ -73,7 +73,7 @@ export declare const DEFAULT_EMBED_CARD_WIDTH = 680;
73
73
  export declare const DEFAULT_EMBED_CARD_HEIGHT = 480;
74
74
  export declare const MAX_BROWSER_SCROLLBAR_HEIGHT = 20;
75
75
  export declare const ATLASSIAN_NAVIGATION_HEIGHT = "56px";
76
- export declare const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT: () => "var(--ds-space-500)" | "2.188rem";
76
+ export declare const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT: () => "var(--ds-space-500)";
77
77
  export declare const akEditorSelectedNodeClassName = "ak-editor-selected-node";
78
78
  export declare const editorFontSize: ({ theme }: {
79
79
  theme: {
@@ -73,7 +73,7 @@ export declare const DEFAULT_EMBED_CARD_WIDTH = 680;
73
73
  export declare const DEFAULT_EMBED_CARD_HEIGHT = 480;
74
74
  export declare const MAX_BROWSER_SCROLLBAR_HEIGHT = 20;
75
75
  export declare const ATLASSIAN_NAVIGATION_HEIGHT = "56px";
76
- export declare const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT: () => "var(--ds-space-500)" | "2.188rem";
76
+ export declare const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT: () => "var(--ds-space-500)";
77
77
  export declare const akEditorSelectedNodeClassName = "ak-editor-selected-node";
78
78
  export declare const editorFontSize: ({ theme }: {
79
79
  theme: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "3.4.7",
3
+ "version": "3.4.9",
4
4
  "description": "Style values used in the editor/renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,9 +30,6 @@
30
30
  "platform-feature-flags": {
31
31
  "platform_editor_controls_increase_full_page_gutter": {
32
32
  "type": "boolean"
33
- },
34
- "live_pages_content_jump_mitigation": {
35
- "type": "boolean"
36
33
  }
37
34
  },
38
35
  "af:exports": {
@@ -44,8 +41,8 @@
44
41
  },
45
42
  "dependencies": {
46
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
- "@atlaskit/tmp-editor-statsig": "^7.0.0",
48
- "@atlaskit/tokens": "^5.1.0",
44
+ "@atlaskit/tmp-editor-statsig": "^8.4.0",
45
+ "@atlaskit/tokens": "^5.4.0",
49
46
  "@babel/runtime": "^7.0.0",
50
47
  "@emotion/react": "^11.7.1"
51
48
  },
@@ -109,14 +109,11 @@ export const ATLASSIAN_NAVIGATION_HEIGHT = '56px';
109
109
  const DEFAULT_FONT_SIZE = 14;
110
110
 
111
111
  export const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = () => {
112
- if (editorExperiment('platform_editor_controls', 'variant1', { exposure: true })) {
113
- return token('space.500', '40px');
114
- }
115
- if (fg('live_pages_content_jump_mitigation')) {
116
- return '2.188rem';
117
- }
118
- return token('space.500', '40px');
119
- };
112
+ if (editorExperiment('platform_editor_controls', 'variant1', { exposure: true })) {
113
+ return token('space.500', '40px');
114
+ }
115
+ return token('space.500', '40px');
116
+ }
120
117
 
121
118
  export const akEditorSelectedNodeClassName = 'ak-editor-selected-node';
122
119