@atlaskit/adf-schema 57.7.23 → 57.7.24
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 +8 -0
- package/dist/cjs/next-schema/full-schema.adf.js +1 -1
- package/dist/cjs/next-schema/generated/nodeTypes.js +1 -1
- package/dist/cjs/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/cjs/validator-schema/generated/validatorSpec.js +3 -3
- package/dist/es2019/next-schema/full-schema.adf.js +1 -1
- package/dist/es2019/next-schema/generated/nodeTypes.js +1 -1
- package/dist/es2019/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/es2019/validator-schema/generated/validatorSpec.js +3 -3
- package/dist/esm/next-schema/full-schema.adf.js +1 -1
- package/dist/esm/next-schema/generated/nodeTypes.js +1 -1
- package/dist/esm/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/esm/validator-schema/generated/validatorSpec.js +3 -3
- package/dist/json-schema/v1/stage-0.json +5 -5
- package/json-schema/v1/stage-0.json +5 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/adf-schema
|
|
2
2
|
|
|
3
|
+
## 57.7.24
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`67557f74cffc4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/67557f74cffc4) -
|
|
8
|
+
[EDITOR-9048] preserve divider color, style and weight attributes in the renderer behind
|
|
9
|
+
platform_editor_lovability_dividers_attributes.
|
|
10
|
+
|
|
3
11
|
## 57.7.23
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -33,7 +33,7 @@ var doc = (0, _adfNode.adfNode)('doc').define({
|
|
|
33
33
|
// Deliberately placed AFTER `blockGroup` rather than first: `blockContentGroup` is ignored
|
|
34
34
|
// for `pm-spec`, so this keeps `block` the leading alternative in the PM content
|
|
35
35
|
// expression and leaves ProseMirror's defaultType/fill behaviour untouched.
|
|
36
|
-
_panel.panel.use('c1'), _blockContentGroup.blockContentGroup, _codeBlock.codeBlock.use('root_only'), _panel.panel.use('root_only'), _panel.panel.use('c1_root_only'), _rule.rule.use('root_only'),
|
|
36
|
+
_panel.panel.use('c1'), _rule.rule.use('with_attrs_root_only'), _blockContentGroup.blockContentGroup, _codeBlock.codeBlock.use('root_only'), _panel.panel.use('root_only'), _panel.panel.use('c1_root_only'), _rule.rule.use('root_only'), _bodiedRule.bodiedRule.use('root_only'), _extension.extension.use('root_only'), _extension.extension.use('root_only_with_annotation'), _bodiedExtension.bodiedExtension.use('root_only'), _multiBodiedExtension.multiBodiedExtension.use('root_only'), _layoutSection.layoutSection, _layoutSection.layoutSection.use('with_single_column'), _layoutSection.layoutSection.use('full'), _blockRootOnlyGroup.blockRootOnlyGroup, _expand.expand.use('root_only'), _syncBlock.syncBlock, _bodiedSyncBlock.bodiedSyncBlock))],
|
|
37
37
|
DANGEROUS_MANUAL_OVERRIDE: {
|
|
38
38
|
'validator-spec': {
|
|
39
39
|
'props.content.minItems': {
|
|
@@ -372,7 +372,7 @@ var decisionList = exports.decisionList = (0, _createPMSpecFactory.createPMNodeS
|
|
|
372
372
|
defining: true
|
|
373
373
|
});
|
|
374
374
|
var doc = exports.doc = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
|
375
|
-
content: '(block | panel_c1 | codeBlock | panel | panel_c1_root_only |
|
|
375
|
+
content: '(block | panel_c1 | rule | codeBlock | panel | panel_c1_root_only | bodiedRule | extension | bodiedExtension | multiBodiedExtension | layoutSection | blockRootOnly | expand | syncBlock | bodiedSyncBlock)+',
|
|
376
376
|
marks: 'unsupportedMark unsupportedNodeAttribute fontSize alignment indentation dataConsumer fragment annotation breakout'
|
|
377
377
|
});
|
|
378
378
|
var embedCard = exports.embedCard = (0, _createPMSpecFactory.createPMNodeSpecFactory)({
|
|
@@ -37,7 +37,7 @@ var _unsupportedBlock = require("../nodes/unsupportedBlock");
|
|
|
37
37
|
* - no base mediaSingle
|
|
38
38
|
* - no base heading
|
|
39
39
|
*/
|
|
40
|
-
var blockContentGroup = exports.blockContentGroup = (0, _adfNodeGroup.adfNodeGroup)('block_content', [_blockCard.blockCard, _paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _paragraph.paragraph.use('with_indentation'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _task.taskList, _list.bulletList, _list.orderedList, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _mediaGroup.mediaGroup, _decisionList.decisionList, _rule.rule
|
|
40
|
+
var blockContentGroup = exports.blockContentGroup = (0, _adfNodeGroup.adfNodeGroup)('block_content', [_blockCard.blockCard, _paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _paragraph.paragraph.use('with_indentation'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _task.taskList, _list.bulletList, _list.orderedList, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _mediaGroup.mediaGroup, _decisionList.decisionList, _rule.rule.use('with_attrs'), _rule.rule, _bodiedRule.bodiedRule, _panel.panel, _blockquote.blockquote, _extension.extension.use('with_marks'), _extension.extension.use('with_annotation'), _embedCard.embedCard, _tableNodes.table,
|
|
41
41
|
// @ts-expect-error - types don't deal well with circular references for the variant
|
|
42
42
|
_tableNodes.table.use('with_nested_table'), _expand.expand, _bodiedExtension.bodiedExtension.use('with_marks'), _confluenceUnsupportedBlock.confluenceUnsupportedBlock, _unsupportedBlock.unsupportedBlock], {
|
|
43
43
|
ignore: ['pm-spec']
|
|
@@ -56,7 +56,7 @@ var backgroundColor = exports.backgroundColor = {
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
|
-
var block_content = exports.block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', '
|
|
59
|
+
var block_content = exports.block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule_with_attrs', 'rule', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks'];
|
|
60
60
|
var blockCard = exports.blockCard = {
|
|
61
61
|
props: {
|
|
62
62
|
attrs: [{
|
|
@@ -596,7 +596,7 @@ var doc = exports.doc = {
|
|
|
596
596
|
props: {
|
|
597
597
|
content: {
|
|
598
598
|
allowUnsupportedBlock: true,
|
|
599
|
-
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', '
|
|
599
|
+
items: [['panel_c1', 'rule_with_attrs_root_only', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule_with_attrs', 'rule', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks', 'codeBlock_root_only', 'panel_root_only', 'panel_c1_root_only', 'rule_root_only', 'bodiedRule_root_only', 'extension_root_only', 'extension_root_only_with_annotation', 'bodiedExtension_root_only', 'multiBodiedExtension_root_only', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_root_only', 'syncBlock', 'bodiedSyncBlock']],
|
|
600
600
|
type: 'array'
|
|
601
601
|
},
|
|
602
602
|
type: {
|
|
@@ -1079,7 +1079,7 @@ var layoutColumn = exports.layoutColumn = {
|
|
|
1079
1079
|
},
|
|
1080
1080
|
content: {
|
|
1081
1081
|
allowUnsupportedBlock: true,
|
|
1082
|
-
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', '
|
|
1082
|
+
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule_with_attrs', 'rule', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks']],
|
|
1083
1083
|
minItems: 1,
|
|
1084
1084
|
type: 'array'
|
|
1085
1085
|
},
|
|
@@ -27,7 +27,7 @@ const doc = adfNode('doc').define({
|
|
|
27
27
|
// Deliberately placed AFTER `blockGroup` rather than first: `blockContentGroup` is ignored
|
|
28
28
|
// for `pm-spec`, so this keeps `block` the leading alternative in the PM content
|
|
29
29
|
// expression and leaves ProseMirror's defaultType/fill behaviour untouched.
|
|
30
|
-
panel.use('c1'), blockContentGroup, codeBlock.use('root_only'), panel.use('root_only'), panel.use('c1_root_only'), rule.use('root_only'),
|
|
30
|
+
panel.use('c1'), rule.use('with_attrs_root_only'), blockContentGroup, codeBlock.use('root_only'), panel.use('root_only'), panel.use('c1_root_only'), rule.use('root_only'), bodiedRule.use('root_only'), extension.use('root_only'), extension.use('root_only_with_annotation'), bodiedExtension.use('root_only'), multiBodiedExtension.use('root_only'), layoutSection, layoutSection.use('with_single_column'), layoutSection.use('full'), blockRootOnlyGroup, expand.use('root_only'), syncBlock, bodiedSyncBlock))],
|
|
31
31
|
DANGEROUS_MANUAL_OVERRIDE: {
|
|
32
32
|
'validator-spec': {
|
|
33
33
|
'props.content.minItems': {
|
|
@@ -366,7 +366,7 @@ export const decisionList = createPMNodeSpecFactory({
|
|
|
366
366
|
defining: true
|
|
367
367
|
});
|
|
368
368
|
export const doc = createPMNodeSpecFactory({
|
|
369
|
-
content: '(block | panel_c1 | codeBlock | panel | panel_c1_root_only |
|
|
369
|
+
content: '(block | panel_c1 | rule | codeBlock | panel | panel_c1_root_only | bodiedRule | extension | bodiedExtension | multiBodiedExtension | layoutSection | blockRootOnly | expand | syncBlock | bodiedSyncBlock)+',
|
|
370
370
|
marks: 'unsupportedMark unsupportedNodeAttribute fontSize alignment indentation dataConsumer fragment annotation breakout'
|
|
371
371
|
});
|
|
372
372
|
export const embedCard = createPMNodeSpecFactory({
|
|
@@ -32,7 +32,7 @@ import { unsupportedBlock } from '../nodes/unsupportedBlock';
|
|
|
32
32
|
* - no base mediaSingle
|
|
33
33
|
* - no base heading
|
|
34
34
|
*/
|
|
35
|
-
export const blockContentGroup = adfNodeGroup('block_content', [blockCard, paragraph.use('with_no_marks'), paragraph.use('with_alignment'), paragraph.use('with_indentation'), mediaSingle.use('caption'), mediaSingle.use('full'), codeBlock, taskList, bulletList, orderedList, heading.use('with_no_marks'), heading.use('with_alignment'), heading.use('with_indentation'), mediaGroup, decisionList, rule
|
|
35
|
+
export const blockContentGroup = adfNodeGroup('block_content', [blockCard, paragraph.use('with_no_marks'), paragraph.use('with_alignment'), paragraph.use('with_indentation'), mediaSingle.use('caption'), mediaSingle.use('full'), codeBlock, taskList, bulletList, orderedList, heading.use('with_no_marks'), heading.use('with_alignment'), heading.use('with_indentation'), mediaGroup, decisionList, rule.use('with_attrs'), rule, bodiedRule, panel, blockquote, extension.use('with_marks'), extension.use('with_annotation'), embedCard, table,
|
|
36
36
|
// @ts-expect-error - types don't deal well with circular references for the variant
|
|
37
37
|
table.use('with_nested_table'), expand, bodiedExtension.use('with_marks'), confluenceUnsupportedBlock, unsupportedBlock], {
|
|
38
38
|
ignore: ['pm-spec']
|
|
@@ -49,7 +49,7 @@ export const backgroundColor = {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
export const block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', '
|
|
52
|
+
export const block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule_with_attrs', 'rule', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks'];
|
|
53
53
|
export const blockCard = {
|
|
54
54
|
props: {
|
|
55
55
|
attrs: [{
|
|
@@ -589,7 +589,7 @@ export const doc = {
|
|
|
589
589
|
props: {
|
|
590
590
|
content: {
|
|
591
591
|
allowUnsupportedBlock: true,
|
|
592
|
-
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', '
|
|
592
|
+
items: [['panel_c1', 'rule_with_attrs_root_only', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule_with_attrs', 'rule', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks', 'codeBlock_root_only', 'panel_root_only', 'panel_c1_root_only', 'rule_root_only', 'bodiedRule_root_only', 'extension_root_only', 'extension_root_only_with_annotation', 'bodiedExtension_root_only', 'multiBodiedExtension_root_only', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_root_only', 'syncBlock', 'bodiedSyncBlock']],
|
|
593
593
|
type: 'array'
|
|
594
594
|
},
|
|
595
595
|
type: {
|
|
@@ -1072,7 +1072,7 @@ export const layoutColumn = {
|
|
|
1072
1072
|
},
|
|
1073
1073
|
content: {
|
|
1074
1074
|
allowUnsupportedBlock: true,
|
|
1075
|
-
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', '
|
|
1075
|
+
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule_with_attrs', 'rule', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks']],
|
|
1076
1076
|
minItems: 1,
|
|
1077
1077
|
type: 'array'
|
|
1078
1078
|
},
|
|
@@ -27,7 +27,7 @@ var doc = adfNode('doc').define({
|
|
|
27
27
|
// Deliberately placed AFTER `blockGroup` rather than first: `blockContentGroup` is ignored
|
|
28
28
|
// for `pm-spec`, so this keeps `block` the leading alternative in the PM content
|
|
29
29
|
// expression and leaves ProseMirror's defaultType/fill behaviour untouched.
|
|
30
|
-
panel.use('c1'), blockContentGroup, codeBlock.use('root_only'), panel.use('root_only'), panel.use('c1_root_only'), rule.use('root_only'),
|
|
30
|
+
panel.use('c1'), rule.use('with_attrs_root_only'), blockContentGroup, codeBlock.use('root_only'), panel.use('root_only'), panel.use('c1_root_only'), rule.use('root_only'), bodiedRule.use('root_only'), extension.use('root_only'), extension.use('root_only_with_annotation'), bodiedExtension.use('root_only'), multiBodiedExtension.use('root_only'), layoutSection, layoutSection.use('with_single_column'), layoutSection.use('full'), blockRootOnlyGroup, expand.use('root_only'), syncBlock, bodiedSyncBlock))],
|
|
31
31
|
DANGEROUS_MANUAL_OVERRIDE: {
|
|
32
32
|
'validator-spec': {
|
|
33
33
|
'props.content.minItems': {
|
|
@@ -366,7 +366,7 @@ export var decisionList = createPMNodeSpecFactory({
|
|
|
366
366
|
defining: true
|
|
367
367
|
});
|
|
368
368
|
export var doc = createPMNodeSpecFactory({
|
|
369
|
-
content: '(block | panel_c1 | codeBlock | panel | panel_c1_root_only |
|
|
369
|
+
content: '(block | panel_c1 | rule | codeBlock | panel | panel_c1_root_only | bodiedRule | extension | bodiedExtension | multiBodiedExtension | layoutSection | blockRootOnly | expand | syncBlock | bodiedSyncBlock)+',
|
|
370
370
|
marks: 'unsupportedMark unsupportedNodeAttribute fontSize alignment indentation dataConsumer fragment annotation breakout'
|
|
371
371
|
});
|
|
372
372
|
export var embedCard = createPMNodeSpecFactory({
|
|
@@ -32,7 +32,7 @@ import { unsupportedBlock } from '../nodes/unsupportedBlock';
|
|
|
32
32
|
* - no base mediaSingle
|
|
33
33
|
* - no base heading
|
|
34
34
|
*/
|
|
35
|
-
export var blockContentGroup = adfNodeGroup('block_content', [blockCard, paragraph.use('with_no_marks'), paragraph.use('with_alignment'), paragraph.use('with_indentation'), mediaSingle.use('caption'), mediaSingle.use('full'), codeBlock, taskList, bulletList, orderedList, heading.use('with_no_marks'), heading.use('with_alignment'), heading.use('with_indentation'), mediaGroup, decisionList, rule
|
|
35
|
+
export var blockContentGroup = adfNodeGroup('block_content', [blockCard, paragraph.use('with_no_marks'), paragraph.use('with_alignment'), paragraph.use('with_indentation'), mediaSingle.use('caption'), mediaSingle.use('full'), codeBlock, taskList, bulletList, orderedList, heading.use('with_no_marks'), heading.use('with_alignment'), heading.use('with_indentation'), mediaGroup, decisionList, rule.use('with_attrs'), rule, bodiedRule, panel, blockquote, extension.use('with_marks'), extension.use('with_annotation'), embedCard, table,
|
|
36
36
|
// @ts-expect-error - types don't deal well with circular references for the variant
|
|
37
37
|
table.use('with_nested_table'), expand, bodiedExtension.use('with_marks'), confluenceUnsupportedBlock, unsupportedBlock], {
|
|
38
38
|
ignore: ['pm-spec']
|
|
@@ -49,7 +49,7 @@ export var backgroundColor = {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
export var block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', '
|
|
52
|
+
export var block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule_with_attrs', 'rule', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks'];
|
|
53
53
|
export var blockCard = {
|
|
54
54
|
props: {
|
|
55
55
|
attrs: [{
|
|
@@ -589,7 +589,7 @@ export var doc = {
|
|
|
589
589
|
props: {
|
|
590
590
|
content: {
|
|
591
591
|
allowUnsupportedBlock: true,
|
|
592
|
-
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', '
|
|
592
|
+
items: [['panel_c1', 'rule_with_attrs_root_only', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule_with_attrs', 'rule', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks', 'codeBlock_root_only', 'panel_root_only', 'panel_c1_root_only', 'rule_root_only', 'bodiedRule_root_only', 'extension_root_only', 'extension_root_only_with_annotation', 'bodiedExtension_root_only', 'multiBodiedExtension_root_only', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_root_only', 'syncBlock', 'bodiedSyncBlock']],
|
|
593
593
|
type: 'array'
|
|
594
594
|
},
|
|
595
595
|
type: {
|
|
@@ -1072,7 +1072,7 @@ export var layoutColumn = {
|
|
|
1072
1072
|
},
|
|
1073
1073
|
content: {
|
|
1074
1074
|
allowUnsupportedBlock: true,
|
|
1075
|
-
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', '
|
|
1075
|
+
items: [['panel_c1', 'blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule_with_attrs', 'rule', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks']],
|
|
1076
1076
|
minItems: 1,
|
|
1077
1077
|
type: 'array'
|
|
1078
1078
|
},
|
|
@@ -115,10 +115,10 @@
|
|
|
115
115
|
"$ref": "#/definitions/decisionList_node"
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
|
-
"$ref": "#/definitions/
|
|
118
|
+
"$ref": "#/definitions/rule_with_attrs_node"
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
|
-
"$ref": "#/definitions/
|
|
121
|
+
"$ref": "#/definitions/rule_node"
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
"$ref": "#/definitions/bodiedRule_node"
|
|
@@ -1151,6 +1151,9 @@
|
|
|
1151
1151
|
{
|
|
1152
1152
|
"$ref": "#/definitions/expand_node"
|
|
1153
1153
|
},
|
|
1154
|
+
{
|
|
1155
|
+
"$ref": "#/definitions/rule_with_attrs_root_only_node"
|
|
1156
|
+
},
|
|
1154
1157
|
{
|
|
1155
1158
|
"$ref": "#/definitions/codeBlock_root_only_node"
|
|
1156
1159
|
},
|
|
@@ -1163,9 +1166,6 @@
|
|
|
1163
1166
|
{
|
|
1164
1167
|
"$ref": "#/definitions/rule_root_only_node"
|
|
1165
1168
|
},
|
|
1166
|
-
{
|
|
1167
|
-
"$ref": "#/definitions/rule_with_attrs_root_only_node"
|
|
1168
|
-
},
|
|
1169
1169
|
{
|
|
1170
1170
|
"$ref": "#/definitions/bodiedRule_root_only_node"
|
|
1171
1171
|
},
|
|
@@ -115,10 +115,10 @@
|
|
|
115
115
|
"$ref": "#/definitions/decisionList_node"
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
|
-
"$ref": "#/definitions/
|
|
118
|
+
"$ref": "#/definitions/rule_with_attrs_node"
|
|
119
119
|
},
|
|
120
120
|
{
|
|
121
|
-
"$ref": "#/definitions/
|
|
121
|
+
"$ref": "#/definitions/rule_node"
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
"$ref": "#/definitions/bodiedRule_node"
|
|
@@ -1151,6 +1151,9 @@
|
|
|
1151
1151
|
{
|
|
1152
1152
|
"$ref": "#/definitions/expand_node"
|
|
1153
1153
|
},
|
|
1154
|
+
{
|
|
1155
|
+
"$ref": "#/definitions/rule_with_attrs_root_only_node"
|
|
1156
|
+
},
|
|
1154
1157
|
{
|
|
1155
1158
|
"$ref": "#/definitions/codeBlock_root_only_node"
|
|
1156
1159
|
},
|
|
@@ -1163,9 +1166,6 @@
|
|
|
1163
1166
|
{
|
|
1164
1167
|
"$ref": "#/definitions/rule_root_only_node"
|
|
1165
1168
|
},
|
|
1166
|
-
{
|
|
1167
|
-
"$ref": "#/definitions/rule_with_attrs_root_only_node"
|
|
1168
|
-
},
|
|
1169
1169
|
{
|
|
1170
1170
|
"$ref": "#/definitions/bodiedRule_root_only_node"
|
|
1171
1171
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-schema",
|
|
3
|
-
"version": "57.7.
|
|
3
|
+
"version": "57.7.24",
|
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
45
45
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
47
|
-
"@atlaskit/tmp-editor-statsig": "^246.
|
|
47
|
+
"@atlaskit/tmp-editor-statsig": "^246.1.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"css-color-names": "0.0.4",
|
|
50
50
|
"linkify-it": "^5.0.2",
|