@atlaskit/adf-schema 37.1.31 → 37.1.32
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 +7 -0
- package/dist/cjs/next-schema/nodes/extensionFrame.js +9 -1
- package/dist/es2019/next-schema/nodes/extensionFrame.js +9 -1
- package/dist/esm/next-schema/nodes/extensionFrame.js +9 -1
- package/package.json +1 -1
- package/schema-generators/__tests__/unit/adfToValidatorSpecValidation.unit.ts +0 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# @atlaskit/adf-schema
|
2
2
|
|
3
|
+
## 37.1.32
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 64d5ec6: Aligned extensionFrame with current validator spec implementation with exception override.
|
8
|
+
- 497d3c4: fix unit test description for node spec check
|
9
|
+
|
3
10
|
## 37.1.31
|
4
11
|
|
5
12
|
### Patch Changes
|
@@ -33,5 +33,13 @@ var extensionFrame = exports.extensionFrame = (0, _adfSchemaGenerator.adfNode)('
|
|
33
33
|
selectable: false,
|
34
34
|
marks: [_dataConsumer.dataConsumer, _fragment.fragment, _unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
|
35
35
|
attrs: {},
|
36
|
-
content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_bodiedExtension.bodiedExtension.use('with_marks'), _panel.panel, _paragraph.paragraph.use('with_no_marks'), _blockquote.blockquote, _list.orderedList, _list.bulletList, _rule.rule, _heading.heading.use('with_no_marks'), _codeBlock.codeBlock.use('with_no_marks'), _mediaGroup.mediaGroup, _mediaSingle.mediaSingle.use('full'), _mediaSingle.mediaSingle.use('caption'), _decisionList.decisionList, _task.taskList, _table.table, _extension.extension.use('with_marks'), _blockCard.blockCard, _embedCard.embedCard, _unsupportedBlock.unsupportedBlock))]
|
36
|
+
content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_bodiedExtension.bodiedExtension.use('with_marks'), _panel.panel, _paragraph.paragraph.use('with_no_marks'), _blockquote.blockquote, _list.orderedList, _list.bulletList, _rule.rule, _heading.heading.use('with_no_marks'), _codeBlock.codeBlock.use('with_no_marks'), _mediaGroup.mediaGroup, _mediaSingle.mediaSingle.use('full'), _mediaSingle.mediaSingle.use('caption'), _decisionList.decisionList, _task.taskList, _table.table, _extension.extension.use('with_marks'), _blockCard.blockCard, _embedCard.embedCard, _unsupportedBlock.unsupportedBlock))],
|
37
|
+
DANGEROUS_MANUAL_OVERRIDE: {
|
38
|
+
'validator-spec': {
|
39
|
+
'props.content.allowUnsupportedBlock': {
|
40
|
+
remove: true,
|
41
|
+
reason: '@DSLCompatibilityException - mismatch for extensionFrame'
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
37
45
|
});
|
@@ -27,5 +27,13 @@ export const extensionFrame = adfNode('extensionFrame').define({
|
|
27
27
|
selectable: false,
|
28
28
|
marks: [dataConsumer, fragment, unsupportedNodeAttribute, unsupportedMark],
|
29
29
|
attrs: {},
|
30
|
-
content: [$onePlus($or(bodiedExtension.use('with_marks'), panel, paragraph.use('with_no_marks'), blockquote, orderedList, bulletList, rule, heading.use('with_no_marks'), codeBlock.use('with_no_marks'), mediaGroup, mediaSingle.use('full'), mediaSingle.use('caption'), decisionList, taskList, table, extension.use('with_marks'), blockCard, embedCard, unsupportedBlock))]
|
30
|
+
content: [$onePlus($or(bodiedExtension.use('with_marks'), panel, paragraph.use('with_no_marks'), blockquote, orderedList, bulletList, rule, heading.use('with_no_marks'), codeBlock.use('with_no_marks'), mediaGroup, mediaSingle.use('full'), mediaSingle.use('caption'), decisionList, taskList, table, extension.use('with_marks'), blockCard, embedCard, unsupportedBlock))],
|
31
|
+
DANGEROUS_MANUAL_OVERRIDE: {
|
32
|
+
'validator-spec': {
|
33
|
+
'props.content.allowUnsupportedBlock': {
|
34
|
+
remove: true,
|
35
|
+
reason: '@DSLCompatibilityException - mismatch for extensionFrame'
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
31
39
|
});
|
@@ -27,5 +27,13 @@ export var extensionFrame = adfNode('extensionFrame').define({
|
|
27
27
|
selectable: false,
|
28
28
|
marks: [dataConsumer, fragment, unsupportedNodeAttribute, unsupportedMark],
|
29
29
|
attrs: {},
|
30
|
-
content: [$onePlus($or(bodiedExtension.use('with_marks'), panel, paragraph.use('with_no_marks'), blockquote, orderedList, bulletList, rule, heading.use('with_no_marks'), codeBlock.use('with_no_marks'), mediaGroup, mediaSingle.use('full'), mediaSingle.use('caption'), decisionList, taskList, table, extension.use('with_marks'), blockCard, embedCard, unsupportedBlock))]
|
30
|
+
content: [$onePlus($or(bodiedExtension.use('with_marks'), panel, paragraph.use('with_no_marks'), blockquote, orderedList, bulletList, rule, heading.use('with_no_marks'), codeBlock.use('with_no_marks'), mediaGroup, mediaSingle.use('full'), mediaSingle.use('caption'), decisionList, taskList, table, extension.use('with_marks'), blockCard, embedCard, unsupportedBlock))],
|
31
|
+
DANGEROUS_MANUAL_OVERRIDE: {
|
32
|
+
'validator-spec': {
|
33
|
+
'props.content.allowUnsupportedBlock': {
|
34
|
+
remove: true,
|
35
|
+
reason: '@DSLCompatibilityException - mismatch for extensionFrame'
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
31
39
|
});
|
package/package.json
CHANGED
@@ -6,7 +6,6 @@ const newSpecs = sortNestedArrays(adfToValidatorSpec(adfNode));
|
|
6
6
|
const SKIP_LIST = [
|
7
7
|
'codeBlock', // doesn't match existing spec
|
8
8
|
'doc', // doesn't match existing spec, need to flatten groups
|
9
|
-
'extensionFrame', // doesn't match existing spec
|
10
9
|
'inline_comment_marker', // doesn't exist in the output
|
11
10
|
'layoutSection_full', // doesn't match existing spec, allowUnsupportedBlock, extra marks
|
12
11
|
'layoutSection_with_single_column', // doesn't exist in the output
|