@atlaskit/adf-schema 57.7.28 → 57.7.29

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.
Files changed (27) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  3. package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
  4. package/dist/cjs/next-schema/nodes/bodiedSyncBlock.js +1 -1
  5. package/dist/cjs/next-schema/nodes/extensionFrame.js +1 -1
  6. package/dist/cjs/next-schema/nodes/nestedExpand.js +1 -1
  7. package/dist/cjs/next-schema/nodes/panel.js +1 -1
  8. package/dist/cjs/validator-schema/generated/validatorSpec.js +10 -10
  9. package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  10. package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
  11. package/dist/es2019/next-schema/nodes/bodiedSyncBlock.js +1 -1
  12. package/dist/es2019/next-schema/nodes/extensionFrame.js +1 -1
  13. package/dist/es2019/next-schema/nodes/nestedExpand.js +1 -1
  14. package/dist/es2019/next-schema/nodes/panel.js +1 -1
  15. package/dist/es2019/validator-schema/generated/validatorSpec.js +10 -10
  16. package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  17. package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
  18. package/dist/esm/next-schema/nodes/bodiedSyncBlock.js +1 -1
  19. package/dist/esm/next-schema/nodes/extensionFrame.js +1 -1
  20. package/dist/esm/next-schema/nodes/nestedExpand.js +1 -1
  21. package/dist/esm/next-schema/nodes/panel.js +1 -1
  22. package/dist/esm/validator-schema/generated/validatorSpec.js +10 -10
  23. package/dist/json-schema/v1/stage-0.json +18 -18
  24. package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +1 -1
  25. package/json-schema/v1/stage-0.json +18 -18
  26. package/package.json +1 -1
  27. package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/adf-schema
2
2
 
3
+ ## 57.7.29
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9de7fd5676824`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9de7fd5676824) -
8
+ [ux] [EDITOR-9955] preserve rule attributes (color, style and weight) inside nested containers
9
+ during renderer validation for `platform_editor_lovability_dividers_attributes`.
10
+
3
11
  ## 57.7.28
4
12
 
5
13
  ### Patch Changes
@@ -25,7 +25,7 @@ var _unsupportedBlock = require("../nodes/unsupportedBlock");
25
25
  // Not an actual group, but a collection of nodes that can't be nested inside each other
26
26
  // TODO: ED-29537 - make it an actual group
27
27
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
28
- var nonNestableBlockContent = exports.nonNestableBlockContent = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _panel.panel, _blockquote.blockquote, _list.orderedList, _list.bulletList, _rule.rule, _rule.rule.use('with_attrs'), _bodiedRule.bodiedRule, _heading.heading.use('with_no_marks'), _codeBlock.codeBlock, _mediaGroup.mediaGroup, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _decisionList.decisionList, _task.taskList, _tableNodes.table,
28
+ var nonNestableBlockContent = exports.nonNestableBlockContent = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _panel.panel, _blockquote.blockquote, _list.orderedList, _list.bulletList, _rule.rule.use('with_attrs'), _rule.rule, _bodiedRule.bodiedRule, _heading.heading.use('with_no_marks'), _codeBlock.codeBlock, _mediaGroup.mediaGroup, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _decisionList.decisionList, _task.taskList, _tableNodes.table,
29
29
  // @ts-expect-error - types don't deal well with circular references for the variant
30
30
  _tableNodes.table.use('with_nested_table'), _blockCard.blockCard, _embedCard.embedCard, _extension.extension.use('with_marks'), _unsupportedBlock.unsupportedBlock];
31
31
 
@@ -24,7 +24,7 @@ var _rule = require("../nodes/rule");
24
24
  var _task = require("../nodes/task");
25
25
  var _unsupportedBlock = require("../nodes/unsupportedBlock");
26
26
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
27
- var tableCellContentNodes = exports.tableCellContentNodes = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _panel.panel, _blockquote.blockquote, _list.orderedList, _list.bulletList, _rule.rule, _rule.rule.use('with_attrs'), _bodiedRule.bodiedRule, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _codeBlock.codeBlock, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaGroup.mediaGroup, _decisionList.decisionList, _task.taskList, _blockCard.blockCard, _embedCard.embedCard, _extension.extension.use('with_marks'), _extension.extension.use('with_annotation'), _nestedExpand.nestedExpand.use('content'), _nestedExpand.nestedExpand.use('with_no_marks')];
27
+ var tableCellContentNodes = exports.tableCellContentNodes = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _panel.panel, _blockquote.blockquote, _list.orderedList, _list.bulletList, _rule.rule.use('with_attrs'), _rule.rule, _bodiedRule.bodiedRule, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _codeBlock.codeBlock, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaGroup.mediaGroup, _decisionList.decisionList, _task.taskList, _blockCard.blockCard, _embedCard.embedCard, _extension.extension.use('with_marks'), _extension.extension.use('with_annotation'), _nestedExpand.nestedExpand.use('content'), _nestedExpand.nestedExpand.use('with_no_marks')];
28
28
 
29
29
  // This is not an actual group, but a collection of nodes
30
30
  // @DSLCompatibilityException JSON Schema and PM Spec are not in sync. We need to fix it
@@ -46,7 +46,7 @@ var bodiedSyncBlock = exports.bodiedSyncBlock = (0, _adfNode.adfNode)('bodiedSyn
46
46
  content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(_paragraph.paragraph, _paragraph.paragraph.use('with_alignment'), _paragraph.paragraph.use('with_indentation'), _paragraph.paragraph.use('with_no_marks'), _blockCard.blockCard, _blockquote.blockquote, _blockquote.blockquote.use('legacy'), _list.bulletList, _codeBlock.codeBlock, _confluenceUnsupportedBlock.confluenceUnsupportedBlock, _decisionList.decisionList, _embedCard.embedCard, _expand.expand, _heading.heading, _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _heading.heading.use('with_no_marks'), _layoutSection.layoutSection, _layoutSection.layoutSection.use('with_single_column'), _layoutSection.layoutSection.use('full'), _mediaGroup.mediaGroup, _mediaSingle.mediaSingle, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaSingle.mediaSingle.use('width_type'), _list.orderedList,
47
47
  // panel_c1 must precede bare `panel` so the validator's repairing loop reaches it before
48
48
  // base `panel` wraps a nested table as `unsupportedBlock`. See full-schema.adf.ts.
49
- _panel.panel.use('c1'), _panel.panel, _rule.rule, _rule.rule.use('with_attrs'), _bodiedRule.bodiedRule, _tableNodes.table,
49
+ _panel.panel.use('c1'), _panel.panel, _rule.rule.use('with_attrs'), _rule.rule, _bodiedRule.bodiedRule, _tableNodes.table,
50
50
  // @ts-expect-error - types don't deal well with circular references for the variant
51
51
  _tableNodes.table.use('with_nested_table'), _task.taskList, _unsupportedBlock.unsupportedBlock))]
52
52
  });
@@ -39,7 +39,7 @@ var extensionFrame = exports.extensionFrame = (0, _adfNode.adfNode)('extensionFr
39
39
  // packages/adf-schema-generator/src/transforms/adfToPm/buildPmSpec.ts
40
40
  marks: [_dataConsumer.dataConsumer, _fragment.fragment, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
41
41
  attrs: {},
42
- content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _panel.panel, _blockquote.blockquote, _list.orderedList, _list.bulletList, _rule.rule, _rule.rule.use('with_attrs'), _bodiedRule.bodiedRule, _heading.heading.use('with_no_marks'), _codeBlock.codeBlock, _mediaGroup.mediaGroup, _mediaSingle.mediaSingle.use('full'), _mediaSingle.mediaSingle.use('caption'), _decisionList.decisionList, _task.taskList, _tableNodes.table,
42
+ content: [(0, _$onePlus.$onePlus)((0, _$or.$or)(_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _panel.panel, _blockquote.blockquote, _list.orderedList, _list.bulletList, _rule.rule.use('with_attrs'), _rule.rule, _bodiedRule.bodiedRule, _heading.heading.use('with_no_marks'), _codeBlock.codeBlock, _mediaGroup.mediaGroup, _mediaSingle.mediaSingle.use('full'), _mediaSingle.mediaSingle.use('caption'), _decisionList.decisionList, _task.taskList, _tableNodes.table,
43
43
  // @ts-expect-error - types don't deal well with circular references for the variant
44
44
  _tableNodes.table.use('with_nested_table'), _extension.extension.use('with_marks'), _bodiedExtension.bodiedExtension.use('with_marks'), _unsupportedBlock.unsupportedBlock, _blockCard.blockCard, _embedCard.embedCard))],
45
45
  DANGEROUS_MANUAL_OVERRIDE: {
@@ -23,7 +23,7 @@ var _paragraph = require("./paragraph");
23
23
  var _rule = require("./rule");
24
24
  var _task = require("./task");
25
25
  var _unsupportedBlock = require("./unsupportedBlock");
26
- var nestedExpandContent = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _heading.heading.use('with_no_marks'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaGroup.mediaGroup, _codeBlock.codeBlock, _list.bulletList, _list.orderedList, _task.taskList, _decisionList.decisionList, _rule.rule, _rule.rule.use('with_attrs'), _bodiedRule.bodiedRule, _panel.panel, _blockquote.blockquote, _unsupportedBlock.unsupportedBlock];
26
+ var nestedExpandContent = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _heading.heading.use('with_no_marks'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaGroup.mediaGroup, _codeBlock.codeBlock, _list.bulletList, _list.orderedList, _task.taskList, _decisionList.decisionList, _rule.rule.use('with_attrs'), _rule.rule, _bodiedRule.bodiedRule, _panel.panel, _blockquote.blockquote, _unsupportedBlock.unsupportedBlock];
27
27
  var nestedExpand = exports.nestedExpand = (0, _adfNode.adfNode)('nestedExpand').define({
28
28
  isolating: true,
29
29
  selectable: true,
@@ -24,7 +24,7 @@ var _rule = require("./rule");
24
24
  var _tableStub = require("./tableStub");
25
25
  var _task = require("./task");
26
26
  var _unsupportedBlock = require("./unsupportedBlock");
27
- var panelContent = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _heading.heading.use('with_no_marks'), _list.bulletList, _list.orderedList, _blockCard.blockCard, _mediaGroup.mediaGroup, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _task.taskList, _rule.rule, _rule.rule.use('with_attrs'), _bodiedRule.bodiedRule, _decisionList.decisionList, _unsupportedBlock.unsupportedBlock];
27
+ var panelContent = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_font_size'), _heading.heading.use('with_no_marks'), _list.bulletList, _list.orderedList, _blockCard.blockCard, _mediaGroup.mediaGroup, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _task.taskList, _rule.rule.use('with_attrs'), _rule.rule, _bodiedRule.bodiedRule, _decisionList.decisionList, _unsupportedBlock.unsupportedBlock];
28
28
  var panel = exports.panel = (0, _adfNode.adfNode)('panel').define({
29
29
  selectable: true,
30
30
  marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
@@ -325,7 +325,7 @@ var bodiedSyncBlock = exports.bodiedSyncBlock = {
325
325
  },
326
326
  content: {
327
327
  allowUnsupportedBlock: true,
328
- items: [['paragraph', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_no_marks', 'blockCard', 'blockquote', 'bulletList', 'codeBlock', 'decisionList', 'embedCard', 'expand', 'heading', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'layoutSection', 'layoutSection_with_single_column', 'layoutSection_full', 'mediaGroup', 'mediaSingle', 'mediaSingle_caption', 'mediaSingle_full', 'mediaSingle_width_type', 'orderedList', 'panel_c1', 'panel', 'rule', 'rule_with_attrs', 'bodiedRule', 'table', 'taskList']],
328
+ items: [['paragraph', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_no_marks', 'blockCard', 'blockquote', 'bulletList', 'codeBlock', 'decisionList', 'embedCard', 'expand', 'heading', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'layoutSection', 'layoutSection_with_single_column', 'layoutSection_full', 'mediaGroup', 'mediaSingle', 'mediaSingle_caption', 'mediaSingle_full', 'mediaSingle_width_type', 'orderedList', 'panel_c1', 'panel', 'rule_with_attrs', 'rule', 'bodiedRule', 'table', 'taskList']],
329
329
  minItems: 1,
330
330
  type: 'array'
331
331
  },
@@ -704,7 +704,7 @@ var expand = exports.expand = {
704
704
  },
705
705
  content: {
706
706
  allowUnsupportedBlock: true,
707
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
707
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
708
708
  minItems: 1,
709
709
  type: 'array'
710
710
  },
@@ -823,7 +823,7 @@ var extensionFrame = exports.extensionFrame = {
823
823
  },
824
824
  props: {
825
825
  content: {
826
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_full', 'mediaSingle_caption', 'decisionList', 'taskList', 'table', 'extension_with_marks', 'bodiedExtension_with_marks', 'blockCard', 'embedCard']],
826
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_full', 'mediaSingle_caption', 'decisionList', 'taskList', 'table', 'extension_with_marks', 'bodiedExtension_with_marks', 'blockCard', 'embedCard']],
827
827
  minItems: 1,
828
828
  type: 'array'
829
829
  },
@@ -1582,7 +1582,7 @@ var nestedExpand = exports.nestedExpand = {
1582
1582
  };
1583
1583
  var nestedExpand_content = exports.nestedExpand_content = {
1584
1584
  allowUnsupportedBlock: true,
1585
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'rule_with_attrs', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation']],
1585
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule_with_attrs', 'rule', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation']],
1586
1586
  minItems: 1,
1587
1587
  type: 'array'
1588
1588
  };
@@ -1596,7 +1596,7 @@ var nestedExpand_with_no_marks = exports.nestedExpand_with_no_marks = ['nestedEx
1596
1596
  }
1597
1597
  }
1598
1598
  }];
1599
- var non_nestable_block_content = exports.non_nestable_block_content = ['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks'];
1599
+ var non_nestable_block_content = exports.non_nestable_block_content = ['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks'];
1600
1600
  var orderedList = exports.orderedList = {
1601
1601
  props: {
1602
1602
  attrs: {
@@ -1656,7 +1656,7 @@ var panel = exports.panel = {
1656
1656
  },
1657
1657
  content: {
1658
1658
  allowUnsupportedBlock: true,
1659
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation']],
1659
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule_with_attrs', 'rule', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation']],
1660
1660
  minItems: 1,
1661
1661
  type: 'array'
1662
1662
  },
@@ -1673,7 +1673,7 @@ var panel_c1 = exports.panel_c1 = ['panel', {
1673
1673
  props: {
1674
1674
  content: {
1675
1675
  allowUnsupportedBlock: true,
1676
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
1676
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule_with_attrs', 'rule', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
1677
1677
  minItems: 1,
1678
1678
  type: 'array'
1679
1679
  }
@@ -1686,7 +1686,7 @@ var panel_c1_root_only = exports.panel_c1_root_only = ['panel', {
1686
1686
  props: {
1687
1687
  content: {
1688
1688
  allowUnsupportedBlock: true,
1689
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
1689
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule_with_attrs', 'rule', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
1690
1690
  minItems: 1,
1691
1691
  type: 'array'
1692
1692
  },
@@ -2062,7 +2062,7 @@ var tableCell = exports.tableCell = {
2062
2062
  },
2063
2063
  content: {
2064
2064
  allowUnsupportedBlock: true,
2065
- items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
2065
+ items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
2066
2066
  minItems: 1,
2067
2067
  type: 'array'
2068
2068
  },
@@ -2109,7 +2109,7 @@ var tableHeader = exports.tableHeader = {
2109
2109
  }
2110
2110
  },
2111
2111
  content: {
2112
- items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks', 'nestedExpand']],
2112
+ items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks', 'nestedExpand']],
2113
2113
  minItems: 1,
2114
2114
  type: 'array'
2115
2115
  },
@@ -20,7 +20,7 @@ import { unsupportedBlock } from '../nodes/unsupportedBlock';
20
20
  // Not an actual group, but a collection of nodes that can't be nested inside each other
21
21
  // TODO: ED-29537 - make it an actual group
22
22
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
23
- export const nonNestableBlockContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), panel, blockquote, orderedList, bulletList, rule, rule.use('with_attrs'), bodiedRule, heading.use('with_no_marks'), codeBlock, mediaGroup, mediaSingle.use('caption'), mediaSingle.use('full'), decisionList, taskList, table,
23
+ export const nonNestableBlockContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), panel, blockquote, orderedList, bulletList, rule.use('with_attrs'), rule, bodiedRule, heading.use('with_no_marks'), codeBlock, mediaGroup, mediaSingle.use('caption'), mediaSingle.use('full'), decisionList, taskList, table,
24
24
  // @ts-expect-error - types don't deal well with circular references for the variant
25
25
  table.use('with_nested_table'), blockCard, embedCard, extension.use('with_marks'), unsupportedBlock];
26
26
 
@@ -19,7 +19,7 @@ import { taskList } from '../nodes/task';
19
19
  import { unsupportedBlock } from '../nodes/unsupportedBlock';
20
20
 
21
21
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
22
- export const tableCellContentNodes = [paragraph.use('with_no_marks'), paragraph.use('with_alignment'), panel, blockquote, orderedList, bulletList, rule, rule.use('with_attrs'), bodiedRule, heading.use('with_no_marks'), heading.use('with_alignment'), heading.use('with_indentation'), codeBlock, mediaSingle.use('caption'), mediaSingle.use('full'), mediaGroup, decisionList, taskList, blockCard, embedCard, extension.use('with_marks'), extension.use('with_annotation'), nestedExpand.use('content'), nestedExpand.use('with_no_marks')];
22
+ export const tableCellContentNodes = [paragraph.use('with_no_marks'), paragraph.use('with_alignment'), panel, blockquote, orderedList, bulletList, rule.use('with_attrs'), rule, bodiedRule, heading.use('with_no_marks'), heading.use('with_alignment'), heading.use('with_indentation'), codeBlock, mediaSingle.use('caption'), mediaSingle.use('full'), mediaGroup, decisionList, taskList, blockCard, embedCard, extension.use('with_marks'), extension.use('with_annotation'), nestedExpand.use('content'), nestedExpand.use('with_no_marks')];
23
23
 
24
24
  // This is not an actual group, but a collection of nodes
25
25
  // @DSLCompatibilityException JSON Schema and PM Spec are not in sync. We need to fix it
@@ -40,7 +40,7 @@ export const bodiedSyncBlock = adfNode('bodiedSyncBlock').define({
40
40
  content: [$onePlus($or(paragraph, paragraph.use('with_alignment'), paragraph.use('with_indentation'), paragraph.use('with_no_marks'), blockCard, blockquote, blockquote.use('legacy'), bulletList, codeBlock, confluenceUnsupportedBlock, decisionList, embedCard, expand, heading, heading.use('with_alignment'), heading.use('with_indentation'), heading.use('with_no_marks'), layoutSection, layoutSection.use('with_single_column'), layoutSection.use('full'), mediaGroup, mediaSingle, mediaSingle.use('caption'), mediaSingle.use('full'), mediaSingle.use('width_type'), orderedList,
41
41
  // panel_c1 must precede bare `panel` so the validator's repairing loop reaches it before
42
42
  // base `panel` wraps a nested table as `unsupportedBlock`. See full-schema.adf.ts.
43
- panel.use('c1'), panel, rule, rule.use('with_attrs'), bodiedRule, table,
43
+ panel.use('c1'), panel, rule.use('with_attrs'), rule, bodiedRule, table,
44
44
  // @ts-expect-error - types don't deal well with circular references for the variant
45
45
  table.use('with_nested_table'), taskList, unsupportedBlock))]
46
46
  });
@@ -33,7 +33,7 @@ export const extensionFrame = adfNode('extensionFrame').define({
33
33
  // packages/adf-schema-generator/src/transforms/adfToPm/buildPmSpec.ts
34
34
  marks: [dataConsumer, fragment, unsupportedMark, unsupportedNodeAttribute],
35
35
  attrs: {},
36
- content: [$onePlus($or(paragraph.use('with_no_marks'), paragraph.use('with_font_size'), panel, blockquote, orderedList, bulletList, rule, rule.use('with_attrs'), bodiedRule, heading.use('with_no_marks'), codeBlock, mediaGroup, mediaSingle.use('full'), mediaSingle.use('caption'), decisionList, taskList, table,
36
+ content: [$onePlus($or(paragraph.use('with_no_marks'), paragraph.use('with_font_size'), panel, blockquote, orderedList, bulletList, rule.use('with_attrs'), rule, bodiedRule, heading.use('with_no_marks'), codeBlock, mediaGroup, mediaSingle.use('full'), mediaSingle.use('caption'), decisionList, taskList, table,
37
37
  // @ts-expect-error - types don't deal well with circular references for the variant
38
38
  table.use('with_nested_table'), extension.use('with_marks'), bodiedExtension.use('with_marks'), unsupportedBlock, blockCard, embedCard))],
39
39
  DANGEROUS_MANUAL_OVERRIDE: {
@@ -17,7 +17,7 @@ import { paragraph } from './paragraph';
17
17
  import { rule } from './rule';
18
18
  import { taskList } from './task';
19
19
  import { unsupportedBlock } from './unsupportedBlock';
20
- const nestedExpandContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), heading.use('with_no_marks'), mediaSingle.use('caption'), mediaSingle.use('full'), mediaGroup, codeBlock, bulletList, orderedList, taskList, decisionList, rule, rule.use('with_attrs'), bodiedRule, panel, blockquote, unsupportedBlock];
20
+ const nestedExpandContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), heading.use('with_no_marks'), mediaSingle.use('caption'), mediaSingle.use('full'), mediaGroup, codeBlock, bulletList, orderedList, taskList, decisionList, rule.use('with_attrs'), rule, bodiedRule, panel, blockquote, unsupportedBlock];
21
21
  export const nestedExpand = adfNode('nestedExpand').define({
22
22
  isolating: true,
23
23
  selectable: true,
@@ -18,7 +18,7 @@ import { rule } from './rule';
18
18
  import { table } from './tableStub';
19
19
  import { taskList } from './task';
20
20
  import { unsupportedBlock } from './unsupportedBlock';
21
- const panelContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), heading.use('with_no_marks'), bulletList, orderedList, blockCard, mediaGroup, mediaSingle.use('caption'), mediaSingle.use('full'), codeBlock, taskList, rule, rule.use('with_attrs'), bodiedRule, decisionList, unsupportedBlock];
21
+ const panelContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), heading.use('with_no_marks'), bulletList, orderedList, blockCard, mediaGroup, mediaSingle.use('caption'), mediaSingle.use('full'), codeBlock, taskList, rule.use('with_attrs'), rule, bodiedRule, decisionList, unsupportedBlock];
22
22
  export const panel = adfNode('panel').define({
23
23
  selectable: true,
24
24
  marks: [unsupportedMark, unsupportedNodeAttribute],
@@ -318,7 +318,7 @@ export const bodiedSyncBlock = {
318
318
  },
319
319
  content: {
320
320
  allowUnsupportedBlock: true,
321
- items: [['paragraph', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_no_marks', 'blockCard', 'blockquote', 'bulletList', 'codeBlock', 'decisionList', 'embedCard', 'expand', 'heading', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'layoutSection', 'layoutSection_with_single_column', 'layoutSection_full', 'mediaGroup', 'mediaSingle', 'mediaSingle_caption', 'mediaSingle_full', 'mediaSingle_width_type', 'orderedList', 'panel_c1', 'panel', 'rule', 'rule_with_attrs', 'bodiedRule', 'table', 'taskList']],
321
+ items: [['paragraph', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_no_marks', 'blockCard', 'blockquote', 'bulletList', 'codeBlock', 'decisionList', 'embedCard', 'expand', 'heading', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'layoutSection', 'layoutSection_with_single_column', 'layoutSection_full', 'mediaGroup', 'mediaSingle', 'mediaSingle_caption', 'mediaSingle_full', 'mediaSingle_width_type', 'orderedList', 'panel_c1', 'panel', 'rule_with_attrs', 'rule', 'bodiedRule', 'table', 'taskList']],
322
322
  minItems: 1,
323
323
  type: 'array'
324
324
  },
@@ -697,7 +697,7 @@ export const expand = {
697
697
  },
698
698
  content: {
699
699
  allowUnsupportedBlock: true,
700
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
700
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
701
701
  minItems: 1,
702
702
  type: 'array'
703
703
  },
@@ -816,7 +816,7 @@ export const extensionFrame = {
816
816
  },
817
817
  props: {
818
818
  content: {
819
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_full', 'mediaSingle_caption', 'decisionList', 'taskList', 'table', 'extension_with_marks', 'bodiedExtension_with_marks', 'blockCard', 'embedCard']],
819
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_full', 'mediaSingle_caption', 'decisionList', 'taskList', 'table', 'extension_with_marks', 'bodiedExtension_with_marks', 'blockCard', 'embedCard']],
820
820
  minItems: 1,
821
821
  type: 'array'
822
822
  },
@@ -1575,7 +1575,7 @@ export const nestedExpand = {
1575
1575
  };
1576
1576
  export const nestedExpand_content = {
1577
1577
  allowUnsupportedBlock: true,
1578
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'rule_with_attrs', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation']],
1578
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule_with_attrs', 'rule', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation']],
1579
1579
  minItems: 1,
1580
1580
  type: 'array'
1581
1581
  };
@@ -1589,7 +1589,7 @@ export const nestedExpand_with_no_marks = ['nestedExpand', {
1589
1589
  }
1590
1590
  }
1591
1591
  }];
1592
- export const non_nestable_block_content = ['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks'];
1592
+ export const non_nestable_block_content = ['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks'];
1593
1593
  export const orderedList = {
1594
1594
  props: {
1595
1595
  attrs: {
@@ -1649,7 +1649,7 @@ export const panel = {
1649
1649
  },
1650
1650
  content: {
1651
1651
  allowUnsupportedBlock: true,
1652
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation']],
1652
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule_with_attrs', 'rule', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation']],
1653
1653
  minItems: 1,
1654
1654
  type: 'array'
1655
1655
  },
@@ -1666,7 +1666,7 @@ export const panel_c1 = ['panel', {
1666
1666
  props: {
1667
1667
  content: {
1668
1668
  allowUnsupportedBlock: true,
1669
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
1669
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule_with_attrs', 'rule', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
1670
1670
  minItems: 1,
1671
1671
  type: 'array'
1672
1672
  }
@@ -1679,7 +1679,7 @@ export const panel_c1_root_only = ['panel', {
1679
1679
  props: {
1680
1680
  content: {
1681
1681
  allowUnsupportedBlock: true,
1682
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
1682
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule_with_attrs', 'rule', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
1683
1683
  minItems: 1,
1684
1684
  type: 'array'
1685
1685
  },
@@ -2055,7 +2055,7 @@ export const tableCell = {
2055
2055
  },
2056
2056
  content: {
2057
2057
  allowUnsupportedBlock: true,
2058
- items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
2058
+ items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
2059
2059
  minItems: 1,
2060
2060
  type: 'array'
2061
2061
  },
@@ -2102,7 +2102,7 @@ export const tableHeader = {
2102
2102
  }
2103
2103
  },
2104
2104
  content: {
2105
- items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks', 'nestedExpand']],
2105
+ items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks', 'nestedExpand']],
2106
2106
  minItems: 1,
2107
2107
  type: 'array'
2108
2108
  },
@@ -20,7 +20,7 @@ import { unsupportedBlock } from '../nodes/unsupportedBlock';
20
20
  // Not an actual group, but a collection of nodes that can't be nested inside each other
21
21
  // TODO: ED-29537 - make it an actual group
22
22
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
23
- export var nonNestableBlockContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), panel, blockquote, orderedList, bulletList, rule, rule.use('with_attrs'), bodiedRule, heading.use('with_no_marks'), codeBlock, mediaGroup, mediaSingle.use('caption'), mediaSingle.use('full'), decisionList, taskList, table,
23
+ export var nonNestableBlockContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), panel, blockquote, orderedList, bulletList, rule.use('with_attrs'), rule, bodiedRule, heading.use('with_no_marks'), codeBlock, mediaGroup, mediaSingle.use('caption'), mediaSingle.use('full'), decisionList, taskList, table,
24
24
  // @ts-expect-error - types don't deal well with circular references for the variant
25
25
  table.use('with_nested_table'), blockCard, embedCard, extension.use('with_marks'), unsupportedBlock];
26
26
 
@@ -19,7 +19,7 @@ import { taskList } from '../nodes/task';
19
19
  import { unsupportedBlock } from '../nodes/unsupportedBlock';
20
20
 
21
21
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
22
- export var tableCellContentNodes = [paragraph.use('with_no_marks'), paragraph.use('with_alignment'), panel, blockquote, orderedList, bulletList, rule, rule.use('with_attrs'), bodiedRule, heading.use('with_no_marks'), heading.use('with_alignment'), heading.use('with_indentation'), codeBlock, mediaSingle.use('caption'), mediaSingle.use('full'), mediaGroup, decisionList, taskList, blockCard, embedCard, extension.use('with_marks'), extension.use('with_annotation'), nestedExpand.use('content'), nestedExpand.use('with_no_marks')];
22
+ export var tableCellContentNodes = [paragraph.use('with_no_marks'), paragraph.use('with_alignment'), panel, blockquote, orderedList, bulletList, rule.use('with_attrs'), rule, bodiedRule, heading.use('with_no_marks'), heading.use('with_alignment'), heading.use('with_indentation'), codeBlock, mediaSingle.use('caption'), mediaSingle.use('full'), mediaGroup, decisionList, taskList, blockCard, embedCard, extension.use('with_marks'), extension.use('with_annotation'), nestedExpand.use('content'), nestedExpand.use('with_no_marks')];
23
23
 
24
24
  // This is not an actual group, but a collection of nodes
25
25
  // @DSLCompatibilityException JSON Schema and PM Spec are not in sync. We need to fix it
@@ -40,7 +40,7 @@ export var bodiedSyncBlock = adfNode('bodiedSyncBlock').define({
40
40
  content: [$onePlus($or(paragraph, paragraph.use('with_alignment'), paragraph.use('with_indentation'), paragraph.use('with_no_marks'), blockCard, blockquote, blockquote.use('legacy'), bulletList, codeBlock, confluenceUnsupportedBlock, decisionList, embedCard, expand, heading, heading.use('with_alignment'), heading.use('with_indentation'), heading.use('with_no_marks'), layoutSection, layoutSection.use('with_single_column'), layoutSection.use('full'), mediaGroup, mediaSingle, mediaSingle.use('caption'), mediaSingle.use('full'), mediaSingle.use('width_type'), orderedList,
41
41
  // panel_c1 must precede bare `panel` so the validator's repairing loop reaches it before
42
42
  // base `panel` wraps a nested table as `unsupportedBlock`. See full-schema.adf.ts.
43
- panel.use('c1'), panel, rule, rule.use('with_attrs'), bodiedRule, table,
43
+ panel.use('c1'), panel, rule.use('with_attrs'), rule, bodiedRule, table,
44
44
  // @ts-expect-error - types don't deal well with circular references for the variant
45
45
  table.use('with_nested_table'), taskList, unsupportedBlock))]
46
46
  });
@@ -33,7 +33,7 @@ export var extensionFrame = adfNode('extensionFrame').define({
33
33
  // packages/adf-schema-generator/src/transforms/adfToPm/buildPmSpec.ts
34
34
  marks: [dataConsumer, fragment, unsupportedMark, unsupportedNodeAttribute],
35
35
  attrs: {},
36
- content: [$onePlus($or(paragraph.use('with_no_marks'), paragraph.use('with_font_size'), panel, blockquote, orderedList, bulletList, rule, rule.use('with_attrs'), bodiedRule, heading.use('with_no_marks'), codeBlock, mediaGroup, mediaSingle.use('full'), mediaSingle.use('caption'), decisionList, taskList, table,
36
+ content: [$onePlus($or(paragraph.use('with_no_marks'), paragraph.use('with_font_size'), panel, blockquote, orderedList, bulletList, rule.use('with_attrs'), rule, bodiedRule, heading.use('with_no_marks'), codeBlock, mediaGroup, mediaSingle.use('full'), mediaSingle.use('caption'), decisionList, taskList, table,
37
37
  // @ts-expect-error - types don't deal well with circular references for the variant
38
38
  table.use('with_nested_table'), extension.use('with_marks'), bodiedExtension.use('with_marks'), unsupportedBlock, blockCard, embedCard))],
39
39
  DANGEROUS_MANUAL_OVERRIDE: {
@@ -17,7 +17,7 @@ import { paragraph } from './paragraph';
17
17
  import { rule } from './rule';
18
18
  import { taskList } from './task';
19
19
  import { unsupportedBlock } from './unsupportedBlock';
20
- var nestedExpandContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), heading.use('with_no_marks'), mediaSingle.use('caption'), mediaSingle.use('full'), mediaGroup, codeBlock, bulletList, orderedList, taskList, decisionList, rule, rule.use('with_attrs'), bodiedRule, panel, blockquote, unsupportedBlock];
20
+ var nestedExpandContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), heading.use('with_no_marks'), mediaSingle.use('caption'), mediaSingle.use('full'), mediaGroup, codeBlock, bulletList, orderedList, taskList, decisionList, rule.use('with_attrs'), rule, bodiedRule, panel, blockquote, unsupportedBlock];
21
21
  export var nestedExpand = adfNode('nestedExpand').define({
22
22
  isolating: true,
23
23
  selectable: true,
@@ -18,7 +18,7 @@ import { rule } from './rule';
18
18
  import { table } from './tableStub';
19
19
  import { taskList } from './task';
20
20
  import { unsupportedBlock } from './unsupportedBlock';
21
- var panelContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), heading.use('with_no_marks'), bulletList, orderedList, blockCard, mediaGroup, mediaSingle.use('caption'), mediaSingle.use('full'), codeBlock, taskList, rule, rule.use('with_attrs'), bodiedRule, decisionList, unsupportedBlock];
21
+ var panelContent = [paragraph.use('with_no_marks'), paragraph.use('with_font_size'), heading.use('with_no_marks'), bulletList, orderedList, blockCard, mediaGroup, mediaSingle.use('caption'), mediaSingle.use('full'), codeBlock, taskList, rule.use('with_attrs'), rule, bodiedRule, decisionList, unsupportedBlock];
22
22
  export var panel = adfNode('panel').define({
23
23
  selectable: true,
24
24
  marks: [unsupportedMark, unsupportedNodeAttribute],
@@ -318,7 +318,7 @@ export var bodiedSyncBlock = {
318
318
  },
319
319
  content: {
320
320
  allowUnsupportedBlock: true,
321
- items: [['paragraph', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_no_marks', 'blockCard', 'blockquote', 'bulletList', 'codeBlock', 'decisionList', 'embedCard', 'expand', 'heading', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'layoutSection', 'layoutSection_with_single_column', 'layoutSection_full', 'mediaGroup', 'mediaSingle', 'mediaSingle_caption', 'mediaSingle_full', 'mediaSingle_width_type', 'orderedList', 'panel_c1', 'panel', 'rule', 'rule_with_attrs', 'bodiedRule', 'table', 'taskList']],
321
+ items: [['paragraph', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_no_marks', 'blockCard', 'blockquote', 'bulletList', 'codeBlock', 'decisionList', 'embedCard', 'expand', 'heading', 'heading_with_alignment', 'heading_with_indentation', 'heading_with_no_marks', 'layoutSection', 'layoutSection_with_single_column', 'layoutSection_full', 'mediaGroup', 'mediaSingle', 'mediaSingle_caption', 'mediaSingle_full', 'mediaSingle_width_type', 'orderedList', 'panel_c1', 'panel', 'rule_with_attrs', 'rule', 'bodiedRule', 'table', 'taskList']],
322
322
  minItems: 1,
323
323
  type: 'array'
324
324
  },
@@ -697,7 +697,7 @@ export var expand = {
697
697
  },
698
698
  content: {
699
699
  allowUnsupportedBlock: true,
700
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
700
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
701
701
  minItems: 1,
702
702
  type: 'array'
703
703
  },
@@ -816,7 +816,7 @@ export var extensionFrame = {
816
816
  },
817
817
  props: {
818
818
  content: {
819
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_full', 'mediaSingle_caption', 'decisionList', 'taskList', 'table', 'extension_with_marks', 'bodiedExtension_with_marks', 'blockCard', 'embedCard']],
819
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_full', 'mediaSingle_caption', 'decisionList', 'taskList', 'table', 'extension_with_marks', 'bodiedExtension_with_marks', 'blockCard', 'embedCard']],
820
820
  minItems: 1,
821
821
  type: 'array'
822
822
  },
@@ -1575,7 +1575,7 @@ export var nestedExpand = {
1575
1575
  };
1576
1576
  export var nestedExpand_content = {
1577
1577
  allowUnsupportedBlock: true,
1578
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'rule_with_attrs', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation']],
1578
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule_with_attrs', 'rule', 'bodiedRule', 'panel', 'blockquote', 'extension_with_marks', 'extension_with_annotation']],
1579
1579
  minItems: 1,
1580
1580
  type: 'array'
1581
1581
  };
@@ -1589,7 +1589,7 @@ export var nestedExpand_with_no_marks = ['nestedExpand', {
1589
1589
  }
1590
1590
  }
1591
1591
  }];
1592
- export var non_nestable_block_content = ['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks'];
1592
+ export var non_nestable_block_content = ['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks'];
1593
1593
  export var orderedList = {
1594
1594
  props: {
1595
1595
  attrs: {
@@ -1649,7 +1649,7 @@ export var panel = {
1649
1649
  },
1650
1650
  content: {
1651
1651
  allowUnsupportedBlock: true,
1652
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation']],
1652
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule_with_attrs', 'rule', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation']],
1653
1653
  minItems: 1,
1654
1654
  type: 'array'
1655
1655
  },
@@ -1666,7 +1666,7 @@ export var panel_c1 = ['panel', {
1666
1666
  props: {
1667
1667
  content: {
1668
1668
  allowUnsupportedBlock: true,
1669
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
1669
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule_with_attrs', 'rule', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
1670
1670
  minItems: 1,
1671
1671
  type: 'array'
1672
1672
  }
@@ -1679,7 +1679,7 @@ export var panel_c1_root_only = ['panel', {
1679
1679
  props: {
1680
1680
  content: {
1681
1681
  allowUnsupportedBlock: true,
1682
- items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'rule_with_attrs', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
1682
+ items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule_with_attrs', 'rule', 'bodiedRule', 'decisionList', 'extension_with_marks', 'extension_with_annotation', 'table']],
1683
1683
  minItems: 1,
1684
1684
  type: 'array'
1685
1685
  },
@@ -2055,7 +2055,7 @@ export var tableCell = {
2055
2055
  },
2056
2056
  content: {
2057
2057
  allowUnsupportedBlock: true,
2058
- items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
2058
+ items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks']],
2059
2059
  minItems: 1,
2060
2060
  type: 'array'
2061
2061
  },
@@ -2102,7 +2102,7 @@ export var tableHeader = {
2102
2102
  }
2103
2103
  },
2104
2104
  content: {
2105
- items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'rule_with_attrs', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks', 'nestedExpand']],
2105
+ items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule_with_attrs', 'rule', 'bodiedRule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'extension_with_annotation', 'nestedExpand_with_no_marks', 'nestedExpand']],
2106
2106
  minItems: 1,
2107
2107
  type: 'array'
2108
2108
  },
@@ -677,10 +677,10 @@
677
677
  "$ref": "#/definitions/panel_node"
678
678
  },
679
679
  {
680
- "$ref": "#/definitions/rule_node"
680
+ "$ref": "#/definitions/rule_with_attrs_node"
681
681
  },
682
682
  {
683
- "$ref": "#/definitions/rule_with_attrs_node"
683
+ "$ref": "#/definitions/rule_node"
684
684
  },
685
685
  {
686
686
  "$ref": "#/definitions/bodiedRule_node"
@@ -1584,10 +1584,10 @@
1584
1584
  "$ref": "#/definitions/bulletList_node"
1585
1585
  },
1586
1586
  {
1587
- "$ref": "#/definitions/rule_node"
1587
+ "$ref": "#/definitions/rule_with_attrs_node"
1588
1588
  },
1589
1589
  {
1590
- "$ref": "#/definitions/rule_with_attrs_node"
1590
+ "$ref": "#/definitions/rule_node"
1591
1591
  },
1592
1592
  {
1593
1593
  "$ref": "#/definitions/bodiedRule_node"
@@ -2697,10 +2697,10 @@
2697
2697
  "$ref": "#/definitions/decisionList_node"
2698
2698
  },
2699
2699
  {
2700
- "$ref": "#/definitions/rule_node"
2700
+ "$ref": "#/definitions/rule_with_attrs_node"
2701
2701
  },
2702
2702
  {
2703
- "$ref": "#/definitions/rule_with_attrs_node"
2703
+ "$ref": "#/definitions/rule_node"
2704
2704
  },
2705
2705
  {
2706
2706
  "$ref": "#/definitions/bodiedRule_node"
@@ -2784,10 +2784,10 @@
2784
2784
  "$ref": "#/definitions/bulletList_node"
2785
2785
  },
2786
2786
  {
2787
- "$ref": "#/definitions/rule_node"
2787
+ "$ref": "#/definitions/rule_with_attrs_node"
2788
2788
  },
2789
2789
  {
2790
- "$ref": "#/definitions/rule_with_attrs_node"
2790
+ "$ref": "#/definitions/rule_node"
2791
2791
  },
2792
2792
  {
2793
2793
  "$ref": "#/definitions/bodiedRule_node"
@@ -2934,10 +2934,10 @@
2934
2934
  "$ref": "#/definitions/taskList_node"
2935
2935
  },
2936
2936
  {
2937
- "$ref": "#/definitions/rule_node"
2937
+ "$ref": "#/definitions/rule_with_attrs_node"
2938
2938
  },
2939
2939
  {
2940
- "$ref": "#/definitions/rule_with_attrs_node"
2940
+ "$ref": "#/definitions/rule_node"
2941
2941
  },
2942
2942
  {
2943
2943
  "$ref": "#/definitions/bodiedRule_node"
@@ -3045,10 +3045,10 @@
3045
3045
  "$ref": "#/definitions/taskList_node"
3046
3046
  },
3047
3047
  {
3048
- "$ref": "#/definitions/rule_node"
3048
+ "$ref": "#/definitions/rule_with_attrs_node"
3049
3049
  },
3050
3050
  {
3051
- "$ref": "#/definitions/rule_with_attrs_node"
3051
+ "$ref": "#/definitions/rule_node"
3052
3052
  },
3053
3053
  {
3054
3054
  "$ref": "#/definitions/bodiedRule_node"
@@ -3150,10 +3150,10 @@
3150
3150
  "$ref": "#/definitions/taskList_node"
3151
3151
  },
3152
3152
  {
3153
- "$ref": "#/definitions/rule_node"
3153
+ "$ref": "#/definitions/rule_with_attrs_node"
3154
3154
  },
3155
3155
  {
3156
- "$ref": "#/definitions/rule_with_attrs_node"
3156
+ "$ref": "#/definitions/rule_node"
3157
3157
  },
3158
3158
  {
3159
3159
  "$ref": "#/definitions/bodiedRule_node"
@@ -3227,10 +3227,10 @@
3227
3227
  "$ref": "#/definitions/taskList_node"
3228
3228
  },
3229
3229
  {
3230
- "$ref": "#/definitions/rule_node"
3230
+ "$ref": "#/definitions/rule_with_attrs_node"
3231
3231
  },
3232
3232
  {
3233
- "$ref": "#/definitions/rule_with_attrs_node"
3233
+ "$ref": "#/definitions/rule_node"
3234
3234
  },
3235
3235
  {
3236
3236
  "$ref": "#/definitions/bodiedRule_node"
@@ -3628,10 +3628,10 @@
3628
3628
  "$ref": "#/definitions/bulletList_node"
3629
3629
  },
3630
3630
  {
3631
- "$ref": "#/definitions/rule_node"
3631
+ "$ref": "#/definitions/rule_with_attrs_node"
3632
3632
  },
3633
3633
  {
3634
- "$ref": "#/definitions/rule_with_attrs_node"
3634
+ "$ref": "#/definitions/rule_node"
3635
3635
  },
3636
3636
  {
3637
3637
  "$ref": "#/definitions/bodiedRule_node"
@@ -7,4 +7,4 @@ import type { BlockCardDefinition, BlockquoteDefinition, BlockquoteLegacyDefinit
7
7
  export type BlockDefinition = Array<BlockCardDefinition | CodeBlockDefinition | MediaSingleDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleWidthTypeDefinition | ParagraphDefinition | ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | OrderedListDefinition | BulletListDefinition | BlockquoteDefinition | BlockquoteLegacyDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionDefinition | ExtensionWithMarksDefinition | ExtensionWithAnnotationStage0Definition | HeadingDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | HeadingWithAlignmentDefinition | MediaGroupDefinition | RuleDefinition | RuleWithAttrsStage0Definition | BodiedRuleStage0Definition | PanelDefinition | PanelC1Stage0Definition | TableDefinition | TableWithNestedTableDefinition | BodiedExtensionDefinition | BodiedExtensionWithMarksDefinition | ExpandDefinition | ConfluenceUnsupportedBlockDefinition | UnsupportedBlockDefinition>;
8
8
  export type BlockRootOnlyDefinition = Array<MultiBodiedExtensionStage0Definition>;
9
9
  export type InlineDefinition = Array<TextDefinition | TextFormattedDefinition | TextCodeInlineDefinition | DateDefinition | DateStage0Definition | EmojiDefinition | EmojiStage0Definition | HardBreakDefinition | InlineCardDefinition | InlineCardStage0Definition | MentionDefinition | MentionStage0Definition | PlaceholderDefinition | StatusDefinition | StatusStage0Definition | InlineExtensionDefinition | InlineExtensionWithMarksDefinition | MediaInlineDefinition | ImageDefinition | ConfluenceJiraIssueDefinition | ConfluenceUnsupportedInlineDefinition | UnsupportedInlineDefinition>;
10
- export type NonNestableBlockContentDefinition = Array<ParagraphWithNoMarksDefinition | ParagraphWithFontSizeDefinition | PanelDefinition | BlockquoteDefinition | OrderedListDefinition | BulletListDefinition | RuleDefinition | RuleWithAttrsStage0Definition | BodiedRuleStage0Definition | HeadingWithNoMarksDefinition | CodeBlockDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | DecisionListDefinition | TaskListDefinition | TableDefinition | TableWithNestedTableDefinition | BlockCardDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | UnsupportedBlockDefinition>;
10
+ export type NonNestableBlockContentDefinition = Array<ParagraphWithNoMarksDefinition | ParagraphWithFontSizeDefinition | PanelDefinition | BlockquoteDefinition | OrderedListDefinition | BulletListDefinition | RuleWithAttrsStage0Definition | RuleDefinition | BodiedRuleStage0Definition | HeadingWithNoMarksDefinition | CodeBlockDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | DecisionListDefinition | TaskListDefinition | TableDefinition | TableWithNestedTableDefinition | BlockCardDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | UnsupportedBlockDefinition>;
@@ -677,10 +677,10 @@
677
677
  "$ref": "#/definitions/panel_node"
678
678
  },
679
679
  {
680
- "$ref": "#/definitions/rule_node"
680
+ "$ref": "#/definitions/rule_with_attrs_node"
681
681
  },
682
682
  {
683
- "$ref": "#/definitions/rule_with_attrs_node"
683
+ "$ref": "#/definitions/rule_node"
684
684
  },
685
685
  {
686
686
  "$ref": "#/definitions/bodiedRule_node"
@@ -1584,10 +1584,10 @@
1584
1584
  "$ref": "#/definitions/bulletList_node"
1585
1585
  },
1586
1586
  {
1587
- "$ref": "#/definitions/rule_node"
1587
+ "$ref": "#/definitions/rule_with_attrs_node"
1588
1588
  },
1589
1589
  {
1590
- "$ref": "#/definitions/rule_with_attrs_node"
1590
+ "$ref": "#/definitions/rule_node"
1591
1591
  },
1592
1592
  {
1593
1593
  "$ref": "#/definitions/bodiedRule_node"
@@ -2697,10 +2697,10 @@
2697
2697
  "$ref": "#/definitions/decisionList_node"
2698
2698
  },
2699
2699
  {
2700
- "$ref": "#/definitions/rule_node"
2700
+ "$ref": "#/definitions/rule_with_attrs_node"
2701
2701
  },
2702
2702
  {
2703
- "$ref": "#/definitions/rule_with_attrs_node"
2703
+ "$ref": "#/definitions/rule_node"
2704
2704
  },
2705
2705
  {
2706
2706
  "$ref": "#/definitions/bodiedRule_node"
@@ -2784,10 +2784,10 @@
2784
2784
  "$ref": "#/definitions/bulletList_node"
2785
2785
  },
2786
2786
  {
2787
- "$ref": "#/definitions/rule_node"
2787
+ "$ref": "#/definitions/rule_with_attrs_node"
2788
2788
  },
2789
2789
  {
2790
- "$ref": "#/definitions/rule_with_attrs_node"
2790
+ "$ref": "#/definitions/rule_node"
2791
2791
  },
2792
2792
  {
2793
2793
  "$ref": "#/definitions/bodiedRule_node"
@@ -2934,10 +2934,10 @@
2934
2934
  "$ref": "#/definitions/taskList_node"
2935
2935
  },
2936
2936
  {
2937
- "$ref": "#/definitions/rule_node"
2937
+ "$ref": "#/definitions/rule_with_attrs_node"
2938
2938
  },
2939
2939
  {
2940
- "$ref": "#/definitions/rule_with_attrs_node"
2940
+ "$ref": "#/definitions/rule_node"
2941
2941
  },
2942
2942
  {
2943
2943
  "$ref": "#/definitions/bodiedRule_node"
@@ -3045,10 +3045,10 @@
3045
3045
  "$ref": "#/definitions/taskList_node"
3046
3046
  },
3047
3047
  {
3048
- "$ref": "#/definitions/rule_node"
3048
+ "$ref": "#/definitions/rule_with_attrs_node"
3049
3049
  },
3050
3050
  {
3051
- "$ref": "#/definitions/rule_with_attrs_node"
3051
+ "$ref": "#/definitions/rule_node"
3052
3052
  },
3053
3053
  {
3054
3054
  "$ref": "#/definitions/bodiedRule_node"
@@ -3150,10 +3150,10 @@
3150
3150
  "$ref": "#/definitions/taskList_node"
3151
3151
  },
3152
3152
  {
3153
- "$ref": "#/definitions/rule_node"
3153
+ "$ref": "#/definitions/rule_with_attrs_node"
3154
3154
  },
3155
3155
  {
3156
- "$ref": "#/definitions/rule_with_attrs_node"
3156
+ "$ref": "#/definitions/rule_node"
3157
3157
  },
3158
3158
  {
3159
3159
  "$ref": "#/definitions/bodiedRule_node"
@@ -3227,10 +3227,10 @@
3227
3227
  "$ref": "#/definitions/taskList_node"
3228
3228
  },
3229
3229
  {
3230
- "$ref": "#/definitions/rule_node"
3230
+ "$ref": "#/definitions/rule_with_attrs_node"
3231
3231
  },
3232
3232
  {
3233
- "$ref": "#/definitions/rule_with_attrs_node"
3233
+ "$ref": "#/definitions/rule_node"
3234
3234
  },
3235
3235
  {
3236
3236
  "$ref": "#/definitions/bodiedRule_node"
@@ -3628,10 +3628,10 @@
3628
3628
  "$ref": "#/definitions/bulletList_node"
3629
3629
  },
3630
3630
  {
3631
- "$ref": "#/definitions/rule_node"
3631
+ "$ref": "#/definitions/rule_with_attrs_node"
3632
3632
  },
3633
3633
  {
3634
- "$ref": "#/definitions/rule_with_attrs_node"
3634
+ "$ref": "#/definitions/rule_node"
3635
3635
  },
3636
3636
  {
3637
3637
  "$ref": "#/definitions/bodiedRule_node"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "57.7.28",
3
+ "version": "57.7.29",
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/"
@@ -77,8 +77,8 @@ const panel = {
77
77
  'mediaSingle_full',
78
78
  'codeBlock',
79
79
  'taskList',
80
- 'rule',
81
80
  'rule_with_attrs',
81
+ 'rule',
82
82
  'bodiedRule',
83
83
  'decisionList',
84
84
  'extension_with_marks',