@atlaskit/editor-shared-styles 3.2.0 → 3.2.1

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.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#163855](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163855)
8
+ [`893dd8380fd30`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/893dd8380fd30) -
9
+ [ux] Cleaned up FF platform.confluence.frontend.narrow-full-page-editor-toolbar
10
+
3
11
  ## 3.2.0
4
12
 
5
13
  ### Minor Changes
@@ -1,27 +1,27 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.jira.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../tsDist/@atlaskit__editor-shared-styles/app",
7
- "composite": true,
8
- "rootDir": "../"
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../design-system/tokens/afm-jira/tsconfig.json"
25
- }
26
- ]
27
- }
2
+ "extends": "../../../../tsconfig.entry-points.jira.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../tsDist/@atlaskit__editor-shared-styles/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../../design-system/tokens/afm-jira/tsconfig.json"
25
+ }
26
+ ]
27
+ }
@@ -1,27 +1,27 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.post-office.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../tsDist/@atlaskit__editor-shared-styles/app",
7
- "composite": true,
8
- "rootDir": "../"
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
25
- }
26
- ]
27
- }
2
+ "extends": "../../../../tsconfig.entry-points.post-office.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../post-office/tsDist/@atlaskit__editor-shared-styles/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
25
+ }
26
+ ]
27
+ }
@@ -99,7 +99,7 @@ var MAX_BROWSER_SCROLLBAR_HEIGHT = exports.MAX_BROWSER_SCROLLBAR_HEIGHT = 20;
99
99
  var ATLASSIAN_NAVIGATION_HEIGHT = exports.ATLASSIAN_NAVIGATION_HEIGHT = '56px';
100
100
  var DEFAULT_FONT_SIZE = 14;
101
101
  var FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = exports.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = function FULL_PAGE_EDITOR_TOOLBAR_HEIGHT() {
102
- return (0, _platformFeatureFlags.fg)('platform.confluence.frontend.narrow-full-page-editor-toolbar') ? "var(--ds-space-500, 40px)" : '56px';
102
+ return "var(--ds-space-500, 40px)";
103
103
  };
104
104
  var akEditorSelectedNodeClassName = exports.akEditorSelectedNodeClassName = 'ak-editor-selected-node';
105
105
  var editorFontSize = exports.editorFontSize = function editorFontSize(_ref) {
@@ -86,7 +86,7 @@ export const MAX_BROWSER_SCROLLBAR_HEIGHT = 20;
86
86
  // @deprecated
87
87
  export const ATLASSIAN_NAVIGATION_HEIGHT = '56px';
88
88
  const DEFAULT_FONT_SIZE = 14;
89
- export const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = () => fg('platform.confluence.frontend.narrow-full-page-editor-toolbar') ? "var(--ds-space-500, 40px)" : '56px';
89
+ export const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = () => "var(--ds-space-500, 40px)";
90
90
  export const akEditorSelectedNodeClassName = 'ak-editor-selected-node';
91
91
  export const editorFontSize = ({
92
92
  theme
@@ -90,7 +90,7 @@ export var MAX_BROWSER_SCROLLBAR_HEIGHT = 20;
90
90
  export var ATLASSIAN_NAVIGATION_HEIGHT = '56px';
91
91
  var DEFAULT_FONT_SIZE = 14;
92
92
  export var FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = function FULL_PAGE_EDITOR_TOOLBAR_HEIGHT() {
93
- return fg('platform.confluence.frontend.narrow-full-page-editor-toolbar') ? "var(--ds-space-500, 40px)" : '56px';
93
+ return "var(--ds-space-500, 40px)";
94
94
  };
95
95
  export var akEditorSelectedNodeClassName = 'ak-editor-selected-node';
96
96
  export var editorFontSize = function editorFontSize(_ref) {
@@ -72,7 +72,7 @@ export declare const DEFAULT_EMBED_CARD_WIDTH = 680;
72
72
  export declare const DEFAULT_EMBED_CARD_HEIGHT = 480;
73
73
  export declare const MAX_BROWSER_SCROLLBAR_HEIGHT = 20;
74
74
  export declare const ATLASSIAN_NAVIGATION_HEIGHT = "56px";
75
- export declare const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT: () => "56px" | "var(--ds-space-500)";
75
+ export declare const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT: () => "var(--ds-space-500)";
76
76
  export declare const akEditorSelectedNodeClassName = "ak-editor-selected-node";
77
77
  export declare const editorFontSize: ({ theme }: {
78
78
  theme: {
@@ -72,7 +72,7 @@ export declare const DEFAULT_EMBED_CARD_WIDTH = 680;
72
72
  export declare const DEFAULT_EMBED_CARD_HEIGHT = 480;
73
73
  export declare const MAX_BROWSER_SCROLLBAR_HEIGHT = 20;
74
74
  export declare const ATLASSIAN_NAVIGATION_HEIGHT = "56px";
75
- export declare const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT: () => "56px" | "var(--ds-space-500)";
75
+ export declare const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT: () => "var(--ds-space-500)";
76
76
  export declare const akEditorSelectedNodeClassName = "ak-editor-selected-node";
77
77
  export declare const editorFontSize: ({ theme }: {
78
78
  theme: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "Style values used in the editor/renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -26,9 +26,6 @@
26
26
  "team": "Editor: Lego"
27
27
  },
28
28
  "platform-feature-flags": {
29
- "platform.confluence.frontend.narrow-full-page-editor-toolbar": {
30
- "type": "boolean"
31
- },
32
29
  "platform_editor_core_increase_full_page_guttering": {
33
30
  "type": "boolean"
34
31
  }
@@ -42,7 +39,7 @@
42
39
  },
43
40
  "dependencies": {
44
41
  "@atlaskit/platform-feature-flags": "^0.3.0",
45
- "@atlaskit/tokens": "^2.0.0",
42
+ "@atlaskit/tokens": "^2.2.0",
46
43
  "@babel/runtime": "^7.0.0",
47
44
  "@emotion/react": "^11.7.1"
48
45
  },
@@ -98,10 +98,7 @@ export const ATLASSIAN_NAVIGATION_HEIGHT = '56px';
98
98
 
99
99
  const DEFAULT_FONT_SIZE = 14;
100
100
 
101
- export const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = () =>
102
- fg('platform.confluence.frontend.narrow-full-page-editor-toolbar')
103
- ? token('space.500', '40px')
104
- : '56px';
101
+ export const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = () => token('space.500', '40px');
105
102
 
106
103
  export const akEditorSelectedNodeClassName = 'ak-editor-selected-node';
107
104