@atlaskit/editor-wikimarkup-transformer 11.15.5 → 11.16.0
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,24 @@
|
|
|
1
1
|
# @atlaskit/editor-wikimarkup-transformer
|
|
2
2
|
|
|
3
|
+
## 11.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`72f94befc61f2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/72f94befc61f2) -
|
|
8
|
+
replace method-style signatures with function-style signatures
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 11.15.6
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`57b19274b9fdd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/57b19274b9fdd) -
|
|
19
|
+
EDITOR-1373 Bump adf-schema version
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 11.15.5
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/char/package.json
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import { type Context } from './interfaces';
|
|
3
3
|
interface Transformer<T> {
|
|
4
|
-
encode(node: PMNode)
|
|
5
|
-
parse(content: T)
|
|
4
|
+
encode: (node: PMNode) => T;
|
|
5
|
+
parse: (content: T) => PMNode;
|
|
6
6
|
}
|
|
7
7
|
export declare class WikiMarkupTransformer implements Transformer<string> {
|
|
8
8
|
private schema;
|
|
@@ -9,12 +9,12 @@ export interface Builder {
|
|
|
9
9
|
* Add a item to the builder
|
|
10
10
|
* @param {AddCellArgs[]} items
|
|
11
11
|
*/
|
|
12
|
-
add(items:
|
|
12
|
+
add: (items: AddCellArgs[]) => void;
|
|
13
13
|
/**
|
|
14
14
|
* Compile a prosemirror node from the root list
|
|
15
15
|
* @returns {PMNode}
|
|
16
16
|
*/
|
|
17
|
-
buildPMNode()
|
|
17
|
+
buildPMNode: () => PMNode;
|
|
18
18
|
}
|
|
19
19
|
export interface ListItem {
|
|
20
20
|
content?: any[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type Node as PMNode, type Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import { type Context } from './interfaces';
|
|
3
3
|
interface Transformer<T> {
|
|
4
|
-
encode(node: PMNode)
|
|
5
|
-
parse(content: T)
|
|
4
|
+
encode: (node: PMNode) => T;
|
|
5
|
+
parse: (content: T) => PMNode;
|
|
6
6
|
}
|
|
7
7
|
export declare class WikiMarkupTransformer implements Transformer<string> {
|
|
8
8
|
private schema;
|
|
@@ -9,12 +9,12 @@ export interface Builder {
|
|
|
9
9
|
* Add a item to the builder
|
|
10
10
|
* @param {AddCellArgs[]} items
|
|
11
11
|
*/
|
|
12
|
-
add(items:
|
|
12
|
+
add: (items: AddCellArgs[]) => void;
|
|
13
13
|
/**
|
|
14
14
|
* Compile a prosemirror node from the root list
|
|
15
15
|
* @returns {PMNode}
|
|
16
16
|
*/
|
|
17
|
-
buildPMNode()
|
|
17
|
+
buildPMNode: () => PMNode;
|
|
18
18
|
}
|
|
19
19
|
export interface ListItem {
|
|
20
20
|
content?: any[];
|
package/interfaces/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-wikimarkup-transformer",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.16.0",
|
|
4
4
|
"description": "Wiki markup transformer for JIRA and Confluence",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,27 +29,26 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/adf-schema": "^50.2.
|
|
33
|
-
"@atlaskit/editor-json-transformer": "^8.
|
|
32
|
+
"@atlaskit/adf-schema": "^50.2.1",
|
|
33
|
+
"@atlaskit/editor-json-transformer": "^8.27.0",
|
|
34
34
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
35
35
|
"@atlaskit/theme": "^19.0.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@atlaskit/activity": "^1.0.1",
|
|
40
|
-
"@atlaskit/editor-core": "^
|
|
40
|
+
"@atlaskit/editor-core": "^210.1.0",
|
|
41
41
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
42
42
|
"@atlaskit/mention": "^24.2.0",
|
|
43
43
|
"@atlaskit/tokens": "^6.0.0",
|
|
44
|
-
"@atlaskit/util-data-test": "^18.
|
|
44
|
+
"@atlaskit/util-data-test": "^18.1.0",
|
|
45
45
|
"@emotion/react": "^11.7.1",
|
|
46
46
|
"@types/debug": "^4.1.10",
|
|
47
47
|
"cookie": "^0.3.1",
|
|
48
48
|
"debug": "^4.3.4",
|
|
49
49
|
"react": "^18.2.0",
|
|
50
50
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
51
|
-
"rxjs": "^5.5.0"
|
|
52
|
-
"typescript": "~5.4.2"
|
|
51
|
+
"rxjs": "^5.5.0"
|
|
53
52
|
},
|
|
54
53
|
"af:exports": {
|
|
55
54
|
".": "./src/index.ts",
|