@atlaskit/adf-utils 19.0.19 → 19.0.21
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 +12 -0
- package/dist/cjs/validator/specs/extensionFrame.js +5 -0
- package/dist/cjs/validator/specs/nestedExpand_content.js +1 -1
- package/dist/es2019/validator/specs/extensionFrame.js +5 -0
- package/dist/es2019/validator/specs/nestedExpand_content.js +1 -1
- package/dist/esm/validator/specs/extensionFrame.js +5 -0
- package/dist/esm/validator/specs/nestedExpand_content.js +1 -1
- package/dist/types/validator/specs/extensionFrame.d.ts +5 -0
- package/dist/types-ts4.5/validator/specs/extensionFrame.d.ts +5 -0
- package/package.json +3 -3
- package/tsconfig.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/adf-utils
|
|
2
2
|
|
|
3
|
+
## 19.0.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#78224](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78224) [`6b4c9dd4ad34`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b4c9dd4ad34) - ED-22219: adf-schema updated to 35.5.2
|
|
8
|
+
|
|
9
|
+
## 19.0.20
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152) [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) - Updating adf-schema version to 35.5.1
|
|
14
|
+
|
|
3
15
|
## 19.0.19
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -14,6 +14,11 @@ var _default = exports.default = {
|
|
|
14
14
|
type: 'array',
|
|
15
15
|
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'bodiedExtension_with_marks']],
|
|
16
16
|
minItems: 1
|
|
17
|
+
},
|
|
18
|
+
marks: {
|
|
19
|
+
type: 'array',
|
|
20
|
+
items: [['dataConsumer', 'fragment']],
|
|
21
|
+
optional: true
|
|
17
22
|
}
|
|
18
23
|
}
|
|
19
24
|
};
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _default = exports.default = {
|
|
8
8
|
type: 'array',
|
|
9
|
-
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'heading_with_no_marks', 'mediaGroup']],
|
|
9
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote']],
|
|
10
10
|
minItems: 1,
|
|
11
11
|
allowUnsupportedBlock: true
|
|
12
12
|
};
|
|
@@ -8,6 +8,11 @@ export default {
|
|
|
8
8
|
type: 'array',
|
|
9
9
|
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'bodiedExtension_with_marks']],
|
|
10
10
|
minItems: 1
|
|
11
|
+
},
|
|
12
|
+
marks: {
|
|
13
|
+
type: 'array',
|
|
14
|
+
items: [['dataConsumer', 'fragment']],
|
|
15
|
+
optional: true
|
|
11
16
|
}
|
|
12
17
|
}
|
|
13
18
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
type: 'array',
|
|
3
|
-
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'heading_with_no_marks', 'mediaGroup']],
|
|
3
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote']],
|
|
4
4
|
minItems: 1,
|
|
5
5
|
allowUnsupportedBlock: true
|
|
6
6
|
};
|
|
@@ -8,6 +8,11 @@ export default {
|
|
|
8
8
|
type: 'array',
|
|
9
9
|
items: [['blockCard', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'bodiedExtension_with_marks']],
|
|
10
10
|
minItems: 1
|
|
11
|
+
},
|
|
12
|
+
marks: {
|
|
13
|
+
type: 'array',
|
|
14
|
+
items: [['dataConsumer', 'fragment']],
|
|
15
|
+
optional: true
|
|
11
16
|
}
|
|
12
17
|
}
|
|
13
18
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
type: 'array',
|
|
3
|
-
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'heading_with_no_marks', 'mediaGroup']],
|
|
3
|
+
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote']],
|
|
4
4
|
minItems: 1,
|
|
5
5
|
allowUnsupportedBlock: true
|
|
6
6
|
};
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-utils",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.21",
|
|
4
4
|
"description": "Set of utilities to traverse, modify and create ADF documents.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
7
7
|
},
|
|
8
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
9
|
"author": "Atlassian Pty Ltd",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/cjs/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"generate:spec": "rm -rf ./src/validator/specs/ && yarn json-schema-generator --outDir=./src/validator/specs/ --mode=Spec --stage=0 ./src/validator/entry.ts"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@atlaskit/adf-schema": "^35.
|
|
44
|
+
"@atlaskit/adf-schema": "^35.5.2",
|
|
45
45
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0"
|
|
47
47
|
},
|
package/tsconfig.json
CHANGED