@atlaskit/editor-json-transformer 8.27.0 → 8.27.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 +16 -0
- package/afm-cc/tsconfig.json +3 -3
- package/dist/types/markOverrideRules.d.ts +1 -1
- package/dist/types/sanitize/remove-marks.d.ts +2 -2
- package/dist/types/types.d.ts +3 -3
- package/dist/types-ts4.5/markOverrideRules.d.ts +1 -1
- package/dist/types-ts4.5/sanitize/remove-marks.d.ts +2 -2
- package/dist/types-ts4.5/types.d.ts +3 -3
- package/package.json +2 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-json-transformer
|
|
2
2
|
|
|
3
|
+
## 8.27.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a2cd8c46a3e94`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a2cd8c46a3e94) -
|
|
8
|
+
EDITOR-1442 Bump adf-schema
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 8.27.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`0fdcb6f2f96fd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0fdcb6f2f96fd) -
|
|
16
|
+
Sorted type and interface props to improve Atlaskit docs
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 8.27.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"declaration": true,
|
|
5
5
|
"target": "es5",
|
|
6
|
-
"composite": true,
|
|
7
6
|
"outDir": "../../../../../confluence/tsDist/@atlaskit__editor-json-transformer",
|
|
8
|
-
"rootDir": "../"
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
9
|
},
|
|
10
10
|
"include": [
|
|
11
11
|
"../src/**/*.ts",
|
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
"path": "../../adf-utils/afm-cc/tsconfig.json"
|
|
28
28
|
}
|
|
29
29
|
]
|
|
30
|
-
}
|
|
30
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { JSONNode } from '../index';
|
|
2
2
|
export declare function removeMarks(node: JSONNode): {
|
|
3
|
-
type: string;
|
|
4
3
|
attrs?: object;
|
|
5
4
|
content?: Array<JSONNode | undefined>;
|
|
6
5
|
marks?: any[];
|
|
7
6
|
text?: string;
|
|
7
|
+
type: string;
|
|
8
8
|
};
|
|
9
9
|
export declare function removeNonAnnotationMarks(node: JSONNode): {
|
|
10
|
-
type: string;
|
|
11
10
|
attrs?: object;
|
|
12
11
|
content?: Array<JSONNode | undefined>;
|
|
13
12
|
marks?: any[];
|
|
14
13
|
text?: string;
|
|
14
|
+
type: string;
|
|
15
15
|
};
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export type JSONNode = {
|
|
2
|
-
type: string;
|
|
3
2
|
attrs?: object;
|
|
4
3
|
content?: Array<JSONNode | undefined>;
|
|
5
4
|
marks?: any[];
|
|
6
5
|
text?: string;
|
|
6
|
+
type: string;
|
|
7
7
|
};
|
|
8
8
|
export type JSONDocNode = {
|
|
9
|
-
version: number;
|
|
10
|
-
type: 'doc';
|
|
11
9
|
content: JSONNode[];
|
|
10
|
+
type: 'doc';
|
|
11
|
+
version: number;
|
|
12
12
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { JSONNode } from '../index';
|
|
2
2
|
export declare function removeMarks(node: JSONNode): {
|
|
3
|
-
type: string;
|
|
4
3
|
attrs?: object;
|
|
5
4
|
content?: Array<JSONNode | undefined>;
|
|
6
5
|
marks?: any[];
|
|
7
6
|
text?: string;
|
|
7
|
+
type: string;
|
|
8
8
|
};
|
|
9
9
|
export declare function removeNonAnnotationMarks(node: JSONNode): {
|
|
10
|
-
type: string;
|
|
11
10
|
attrs?: object;
|
|
12
11
|
content?: Array<JSONNode | undefined>;
|
|
13
12
|
marks?: any[];
|
|
14
13
|
text?: string;
|
|
14
|
+
type: string;
|
|
15
15
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export type JSONNode = {
|
|
2
|
-
type: string;
|
|
3
2
|
attrs?: object;
|
|
4
3
|
content?: Array<JSONNode | undefined>;
|
|
5
4
|
marks?: any[];
|
|
6
5
|
text?: string;
|
|
6
|
+
type: string;
|
|
7
7
|
};
|
|
8
8
|
export type JSONDocNode = {
|
|
9
|
-
version: number;
|
|
10
|
-
type: 'doc';
|
|
11
9
|
content: JSONNode[];
|
|
10
|
+
type: 'doc';
|
|
11
|
+
version: number;
|
|
12
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-json-transformer",
|
|
3
|
-
"version": "8.27.
|
|
3
|
+
"version": "8.27.2",
|
|
4
4
|
"description": "JSON transformer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,14 +28,8 @@
|
|
|
28
28
|
"name": "Editor Json Transformer"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"af:exports": {
|
|
32
|
-
".": "./src/index.ts",
|
|
33
|
-
"./markOverrideRules": "./src/markOverrideRules.ts",
|
|
34
|
-
"./sanitize": "./src/sanitize.ts",
|
|
35
|
-
"./types": "./src/types.ts"
|
|
36
|
-
},
|
|
37
31
|
"dependencies": {
|
|
38
|
-
"@atlaskit/adf-schema": "^50.2.
|
|
32
|
+
"@atlaskit/adf-schema": "^50.2.3",
|
|
39
33
|
"@atlaskit/adf-utils": "^19.21.0",
|
|
40
34
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
41
35
|
"@babel/runtime": "^7.0.0",
|