@atlaskit/editor-shared-styles 2.13.1 → 2.13.3

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
+ ## 2.13.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#131374](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/131374)
8
+ [`9ef24a0e887b2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9ef24a0e887b2) -
9
+ Fix type definitions for `any` type in editor-core.
10
+
11
+ ## 2.13.2
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 2.13.1
4
18
 
5
19
  ### Patch 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
+ }
@@ -93,7 +93,7 @@ export declare const akEditorSelectedNodeClassName = "ak-editor-selected-node";
93
93
  export declare const editorFontSize: ({ theme }: {
94
94
  theme: {
95
95
  baseFontSize?: number;
96
- };
96
+ } | undefined;
97
97
  }) => number;
98
98
  export declare const relativeSize: (multiplier: number) => ({ theme }: {
99
99
  theme: EditorTheme;
@@ -93,7 +93,7 @@ export declare const akEditorSelectedNodeClassName = "ak-editor-selected-node";
93
93
  export declare const editorFontSize: ({ theme }: {
94
94
  theme: {
95
95
  baseFontSize?: number;
96
- };
96
+ } | undefined;
97
97
  }) => number;
98
98
  export declare const relativeSize: (multiplier: number) => ({ theme }: {
99
99
  theme: EditorTheme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "2.13.1",
3
+ "version": "2.13.3",
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": "^12.11.0",
48
- "@atlaskit/tokens": "^1.56.0",
47
+ "@atlaskit/theme": "^13.0.0",
48
+ "@atlaskit/tokens": "^1.59.0",
49
49
  "@babel/runtime": "^7.0.0",
50
50
  "@emotion/react": "^11.7.1"
51
51
  },
@@ -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: { baseFontSize?: number } }) =>
170
+ export const editorFontSize = ({ theme }: { theme: { baseFontSize?: number } | undefined }) =>
171
171
  theme && theme.baseFontSize ? theme.baseFontSize : defaultFontSize();
172
172
 
173
173
  export const relativeSize =