@atlaskit/editor-shared-styles 2.13.0 → 2.13.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 +14 -0
- package/afm-post-office/tsconfig.json +30 -0
- package/dist/cjs/consts/consts.js +1 -1
- package/dist/es2019/consts/consts.js +1 -1
- package/dist/esm/consts/consts.js +1 -1
- package/dist/types/consts/consts.d.ts +4 -2
- package/dist/types-ts4.5/consts/consts.d.ts +4 -2
- package/package.json +3 -3
- package/src/consts/consts.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-shared-styles
|
|
2
2
|
|
|
3
|
+
## 2.13.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 2.13.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#121871](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/121871)
|
|
14
|
+
[`3d286b2a5bdcb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3d286b2a5bdcb) -
|
|
15
|
+
ED-24090 increase guideline z index
|
|
16
|
+
|
|
3
17
|
## 2.13.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -0,0 +1,30 @@
|
|
|
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/theme/afm-post-office/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -47,7 +47,7 @@ var akEditorUnitZIndex = exports.akEditorUnitZIndex = 1;
|
|
|
47
47
|
var akEditorShadowZIndex = exports.akEditorShadowZIndex = 2;
|
|
48
48
|
var akEditorStickyHeaderZIndex = exports.akEditorStickyHeaderZIndex = 11; // filmstrip uses 10 for its shadow
|
|
49
49
|
var akEditorSmallZIndex = exports.akEditorSmallZIndex = akEditorStickyHeaderZIndex + 1;
|
|
50
|
-
var akEditorGridLineZIndex = exports.akEditorGridLineZIndex =
|
|
50
|
+
var akEditorGridLineZIndex = exports.akEditorGridLineZIndex = 2;
|
|
51
51
|
// z-index for main menu bar -
|
|
52
52
|
// this is highest as it should be above anything else in editor below.
|
|
53
53
|
var akEditorMenuZIndex = exports.akEditorMenuZIndex = _constants.layers.blanket();
|
|
@@ -38,7 +38,7 @@ export const akEditorUnitZIndex = 1;
|
|
|
38
38
|
export const akEditorShadowZIndex = 2;
|
|
39
39
|
export const akEditorStickyHeaderZIndex = 11; // filmstrip uses 10 for its shadow
|
|
40
40
|
export const akEditorSmallZIndex = akEditorStickyHeaderZIndex + 1;
|
|
41
|
-
export const akEditorGridLineZIndex =
|
|
41
|
+
export const akEditorGridLineZIndex = 2;
|
|
42
42
|
// z-index for main menu bar -
|
|
43
43
|
// this is highest as it should be above anything else in editor below.
|
|
44
44
|
export const akEditorMenuZIndex = layers.blanket();
|
|
@@ -39,7 +39,7 @@ export var akEditorUnitZIndex = 1;
|
|
|
39
39
|
export var akEditorShadowZIndex = 2;
|
|
40
40
|
export var akEditorStickyHeaderZIndex = 11; // filmstrip uses 10 for its shadow
|
|
41
41
|
export var akEditorSmallZIndex = akEditorStickyHeaderZIndex + 1;
|
|
42
|
-
export var akEditorGridLineZIndex =
|
|
42
|
+
export var akEditorGridLineZIndex = 2;
|
|
43
43
|
// z-index for main menu bar -
|
|
44
44
|
// this is highest as it should be above anything else in editor below.
|
|
45
45
|
export var akEditorMenuZIndex = layers.blanket();
|
|
@@ -33,7 +33,7 @@ export declare const akEditorUnitZIndex = 1;
|
|
|
33
33
|
export declare const akEditorShadowZIndex = 2;
|
|
34
34
|
export declare const akEditorStickyHeaderZIndex = 11;
|
|
35
35
|
export declare const akEditorSmallZIndex: number;
|
|
36
|
-
export declare const akEditorGridLineZIndex =
|
|
36
|
+
export declare const akEditorGridLineZIndex = 2;
|
|
37
37
|
export declare const akEditorMenuZIndex: 500;
|
|
38
38
|
export declare const akEditorFloatingPanelZIndex: 400;
|
|
39
39
|
export declare const akEditorFloatingDialogZIndex: number;
|
|
@@ -91,7 +91,9 @@ export declare const ATLASSIAN_NAVIGATION_HEIGHT = "56px";
|
|
|
91
91
|
export declare const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT: () => "56px" | "var(--ds-space-500)";
|
|
92
92
|
export declare const akEditorSelectedNodeClassName = "ak-editor-selected-node";
|
|
93
93
|
export declare const editorFontSize: ({ theme }: {
|
|
94
|
-
theme:
|
|
94
|
+
theme: {
|
|
95
|
+
baseFontSize?: number;
|
|
96
|
+
};
|
|
95
97
|
}) => number;
|
|
96
98
|
export declare const relativeSize: (multiplier: number) => ({ theme }: {
|
|
97
99
|
theme: EditorTheme;
|
|
@@ -33,7 +33,7 @@ export declare const akEditorUnitZIndex = 1;
|
|
|
33
33
|
export declare const akEditorShadowZIndex = 2;
|
|
34
34
|
export declare const akEditorStickyHeaderZIndex = 11;
|
|
35
35
|
export declare const akEditorSmallZIndex: number;
|
|
36
|
-
export declare const akEditorGridLineZIndex =
|
|
36
|
+
export declare const akEditorGridLineZIndex = 2;
|
|
37
37
|
export declare const akEditorMenuZIndex: 500;
|
|
38
38
|
export declare const akEditorFloatingPanelZIndex: 400;
|
|
39
39
|
export declare const akEditorFloatingDialogZIndex: number;
|
|
@@ -91,7 +91,9 @@ export declare const ATLASSIAN_NAVIGATION_HEIGHT = "56px";
|
|
|
91
91
|
export declare const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT: () => "56px" | "var(--ds-space-500)";
|
|
92
92
|
export declare const akEditorSelectedNodeClassName = "ak-editor-selected-node";
|
|
93
93
|
export declare const editorFontSize: ({ theme }: {
|
|
94
|
-
theme:
|
|
94
|
+
theme: {
|
|
95
|
+
baseFontSize?: number;
|
|
96
|
+
};
|
|
95
97
|
}) => number;
|
|
96
98
|
export declare const relativeSize: (multiplier: number) => ({ theme }: {
|
|
97
99
|
theme: EditorTheme;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-shared-styles",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.2",
|
|
4
4
|
"description": "Style values used in the editor/renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
47
|
-
"@atlaskit/theme": "^
|
|
48
|
-
"@atlaskit/tokens": "^1.
|
|
47
|
+
"@atlaskit/theme": "^13.0.0",
|
|
48
|
+
"@atlaskit/tokens": "^1.58.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@emotion/react": "^11.7.1"
|
|
51
51
|
},
|
package/src/consts/consts.ts
CHANGED
|
@@ -91,7 +91,7 @@ export const akEditorUnitZIndex = 1;
|
|
|
91
91
|
export const akEditorShadowZIndex = 2;
|
|
92
92
|
export const akEditorStickyHeaderZIndex = 11; // filmstrip uses 10 for its shadow
|
|
93
93
|
export const akEditorSmallZIndex = akEditorStickyHeaderZIndex + 1;
|
|
94
|
-
export const akEditorGridLineZIndex =
|
|
94
|
+
export const akEditorGridLineZIndex = 2;
|
|
95
95
|
// z-index for main menu bar -
|
|
96
96
|
// this is highest as it should be above anything else in editor below.
|
|
97
97
|
export const akEditorMenuZIndex = layers.blanket();
|
|
@@ -167,7 +167,7 @@ export const FULL_PAGE_EDITOR_TOOLBAR_HEIGHT = () =>
|
|
|
167
167
|
|
|
168
168
|
export const akEditorSelectedNodeClassName = 'ak-editor-selected-node';
|
|
169
169
|
|
|
170
|
-
export const editorFontSize = ({ theme }: { theme:
|
|
170
|
+
export const editorFontSize = ({ theme }: { theme: { baseFontSize?: number } }) =>
|
|
171
171
|
theme && theme.baseFontSize ? theme.baseFontSize : defaultFontSize();
|
|
172
172
|
|
|
173
173
|
export const relativeSize =
|