@atlaskit/adf-schema 52.1.0 → 52.2.1
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 +17 -0
- package/dist/cjs/index.js +6 -0
- package/dist/cjs/next-schema/generated/markTypes.js +8 -1
- package/dist/cjs/next-schema/generated/nodeTypes.js +41 -15
- package/dist/cjs/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/blockGroup.js +1 -1
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/cjs/next-schema/marks/fontSize.js +32 -0
- package/dist/cjs/next-schema/nodes/bodiedSyncBlock.js +1 -1
- package/dist/cjs/next-schema/nodes/extensionFrame.js +1 -1
- package/dist/cjs/next-schema/nodes/list.js +2 -2
- package/dist/cjs/next-schema/nodes/nestedExpand.js +1 -1
- package/dist/cjs/next-schema/nodes/panel.js +1 -1
- package/dist/cjs/next-schema/nodes/paragraph.js +16 -0
- package/dist/cjs/next-schema/nodes/task.js +1 -1
- package/dist/cjs/schema/create-schema.js +3 -0
- package/dist/cjs/schema/index.js +6 -0
- package/dist/cjs/schema/marks/font-size.js +31 -0
- package/dist/cjs/schema/marks/index.js +7 -0
- package/dist/cjs/validator-schema/generated/validatorSpec.js +57 -14
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/next-schema/generated/markTypes.js +7 -0
- package/dist/es2019/next-schema/generated/nodeTypes.js +40 -14
- package/dist/es2019/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/es2019/next-schema/marks/fontSize.js +27 -0
- package/dist/es2019/next-schema/nodes/bodiedSyncBlock.js +1 -1
- package/dist/es2019/next-schema/nodes/extensionFrame.js +1 -1
- package/dist/es2019/next-schema/nodes/list.js +2 -2
- package/dist/es2019/next-schema/nodes/nestedExpand.js +1 -1
- package/dist/es2019/next-schema/nodes/panel.js +1 -1
- package/dist/es2019/next-schema/nodes/paragraph.js +16 -0
- package/dist/es2019/next-schema/nodes/task.js +1 -1
- package/dist/es2019/schema/create-schema.js +4 -1
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/marks/font-size.js +25 -0
- package/dist/es2019/schema/marks/index.js +1 -0
- package/dist/es2019/validator-schema/generated/validatorSpec.js +56 -13
- package/dist/esm/index.js +1 -1
- package/dist/esm/next-schema/generated/markTypes.js +7 -0
- package/dist/esm/next-schema/generated/nodeTypes.js +40 -14
- package/dist/esm/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/blockGroup.js +1 -1
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/esm/next-schema/marks/fontSize.js +27 -0
- package/dist/esm/next-schema/nodes/bodiedSyncBlock.js +1 -1
- package/dist/esm/next-schema/nodes/extensionFrame.js +1 -1
- package/dist/esm/next-schema/nodes/list.js +2 -2
- package/dist/esm/next-schema/nodes/nestedExpand.js +1 -1
- package/dist/esm/next-schema/nodes/panel.js +1 -1
- package/dist/esm/next-schema/nodes/paragraph.js +16 -0
- package/dist/esm/next-schema/nodes/task.js +1 -1
- package/dist/esm/schema/create-schema.js +4 -1
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/marks/font-size.js +25 -0
- package/dist/esm/schema/marks/index.js +1 -0
- package/dist/esm/validator-schema/generated/validatorSpec.js +56 -13
- package/dist/json-schema/v1/stage-0.json +139 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/next-schema/generated/markTypes.d.ts +11 -0
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +3 -3
- package/dist/types/next-schema/generated/nodeTypes.d.ts +42 -15
- package/dist/types/next-schema/marks/fontSize.d.ts +16 -0
- package/dist/types/next-schema/nodes/paragraph.d.ts +19 -1
- package/dist/types/next-schema/nodes/task.d.ts +6 -3
- package/dist/types/schema/index.d.ts +2 -2
- package/dist/types/schema/marks/font-size.d.ts +12 -0
- package/dist/types/schema/marks/index.d.ts +2 -0
- package/dist/types/schema/nodes/index.d.ts +1 -1
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +43 -0
- package/dist/types-ts4.5/index.d.ts +2 -2
- package/dist/types-ts4.5/next-schema/generated/markTypes.d.ts +11 -0
- package/dist/types-ts4.5/next-schema/generated/nodeGroupTypes.d.ts +3 -3
- package/dist/types-ts4.5/next-schema/generated/nodeTypes.d.ts +42 -15
- package/dist/types-ts4.5/next-schema/marks/fontSize.d.ts +16 -0
- package/dist/types-ts4.5/next-schema/nodes/paragraph.d.ts +19 -1
- package/dist/types-ts4.5/next-schema/nodes/task.d.ts +3 -3
- package/dist/types-ts4.5/schema/index.d.ts +2 -2
- package/dist/types-ts4.5/schema/marks/font-size.d.ts +12 -0
- package/dist/types-ts4.5/schema/marks/index.d.ts +2 -0
- package/dist/types-ts4.5/schema/nodes/index.d.ts +1 -1
- package/dist/types-ts4.5/validator-schema/generated/validatorSpec.d.ts +43 -0
- package/json-schema/v1/stage-0.json +139 -0
- package/package.json +3 -3
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +1 -0
|
@@ -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', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks'];
|
|
52
|
+
export var block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_font_size_and_alignment', 'paragraph_with_font_size_and_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks'];
|
|
53
53
|
export var blockCard = {
|
|
54
54
|
props: {
|
|
55
55
|
type: {
|
|
@@ -171,7 +171,7 @@ export var blockTaskItem = {
|
|
|
171
171
|
content: {
|
|
172
172
|
type: 'array',
|
|
173
173
|
isTupleLike: true,
|
|
174
|
-
items: [['paragraph_with_no_marks', 'extension_with_marks'], ['paragraph_with_no_marks', 'extension_with_marks']],
|
|
174
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'extension_with_marks'], ['paragraph_with_no_marks', 'paragraph_with_font_size', 'extension_with_marks']],
|
|
175
175
|
minItems: 1
|
|
176
176
|
}
|
|
177
177
|
}
|
|
@@ -252,7 +252,7 @@ export var bodiedSyncBlock = {
|
|
|
252
252
|
},
|
|
253
253
|
content: {
|
|
254
254
|
type: 'array',
|
|
255
|
-
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', 'rule', 'table', 'taskList']],
|
|
255
|
+
items: [['paragraph', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_font_size_and_alignment', 'paragraph_with_font_size_and_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', 'rule', 'table', 'taskList']],
|
|
256
256
|
minItems: 1,
|
|
257
257
|
allowUnsupportedBlock: true
|
|
258
258
|
},
|
|
@@ -513,7 +513,7 @@ export var doc = {
|
|
|
513
513
|
},
|
|
514
514
|
content: {
|
|
515
515
|
type: 'array',
|
|
516
|
-
items: [['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', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks', 'codeBlock_root_only', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_root_only', 'syncBlock', 'bodiedSyncBlock']],
|
|
516
|
+
items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'paragraph_with_font_size_and_alignment', 'paragraph_with_font_size_and_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand', 'bodiedExtension_with_marks', 'codeBlock_root_only', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_root_only', 'syncBlock', 'bodiedSyncBlock']],
|
|
517
517
|
allowUnsupportedBlock: true
|
|
518
518
|
}
|
|
519
519
|
}
|
|
@@ -617,7 +617,7 @@ export var expand = {
|
|
|
617
617
|
},
|
|
618
618
|
content: {
|
|
619
619
|
type: 'array',
|
|
620
|
-
items: [['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
|
620
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
|
621
621
|
minItems: 1,
|
|
622
622
|
allowUnsupportedBlock: true
|
|
623
623
|
}
|
|
@@ -692,7 +692,7 @@ export var extensionFrame = {
|
|
|
692
692
|
},
|
|
693
693
|
content: {
|
|
694
694
|
type: 'array',
|
|
695
|
-
items: [['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_full', 'mediaSingle_caption', 'decisionList', 'taskList', 'table', 'extension_with_marks', 'bodiedExtension_with_marks', 'blockCard', 'embedCard']],
|
|
695
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_full', 'mediaSingle_caption', 'decisionList', 'taskList', 'table', 'extension_with_marks', 'bodiedExtension_with_marks', 'blockCard', 'embedCard']],
|
|
696
696
|
minItems: 1
|
|
697
697
|
},
|
|
698
698
|
marks: {
|
|
@@ -702,6 +702,22 @@ export var extensionFrame = {
|
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
};
|
|
705
|
+
export var fontSize = {
|
|
706
|
+
props: {
|
|
707
|
+
type: {
|
|
708
|
+
type: 'enum',
|
|
709
|
+
values: ['fontSize']
|
|
710
|
+
},
|
|
711
|
+
attrs: {
|
|
712
|
+
props: {
|
|
713
|
+
fontSize: {
|
|
714
|
+
type: 'enum',
|
|
715
|
+
values: ['small']
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
};
|
|
705
721
|
export var fragment = {
|
|
706
722
|
props: {
|
|
707
723
|
type: {
|
|
@@ -1057,7 +1073,7 @@ export var listItem = {
|
|
|
1057
1073
|
content: {
|
|
1058
1074
|
type: 'array',
|
|
1059
1075
|
isTupleLike: true,
|
|
1060
|
-
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'extension_with_marks'], ['paragraph_with_no_marks', 'bulletList', 'orderedList', 'taskList', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'extension_with_marks']],
|
|
1076
|
+
items: [['paragraph_with_font_size', 'paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'extension_with_marks'], ['paragraph_with_font_size', 'paragraph_with_no_marks', 'bulletList', 'orderedList', 'taskList', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'extension_with_marks']],
|
|
1061
1077
|
minItems: 1,
|
|
1062
1078
|
allowUnsupportedBlock: true
|
|
1063
1079
|
}
|
|
@@ -1067,7 +1083,7 @@ export var listItem_with_flexible_first_child = ['listItem', {
|
|
|
1067
1083
|
props: {
|
|
1068
1084
|
content: {
|
|
1069
1085
|
type: 'array',
|
|
1070
|
-
items: [['paragraph_with_no_marks', 'bulletList', 'orderedList', 'taskList', 'taskList_with_flexible_first_child', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'extension_with_marks']],
|
|
1086
|
+
items: [['paragraph_with_font_size', 'paragraph_with_no_marks', 'bulletList', 'orderedList', 'taskList', 'taskList_with_flexible_first_child', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'extension_with_marks']],
|
|
1071
1087
|
minItems: 1,
|
|
1072
1088
|
allowUnsupportedBlock: true
|
|
1073
1089
|
}
|
|
@@ -1418,7 +1434,7 @@ export var nestedExpand = {
|
|
|
1418
1434
|
};
|
|
1419
1435
|
export var nestedExpand_content = {
|
|
1420
1436
|
type: 'array',
|
|
1421
|
-
items: [['paragraph_with_no_marks', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks']],
|
|
1437
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'codeBlock', 'bulletList', 'orderedList', 'taskList', 'decisionList', 'rule', 'panel', 'blockquote', 'extension_with_marks']],
|
|
1422
1438
|
minItems: 1,
|
|
1423
1439
|
allowUnsupportedBlock: true
|
|
1424
1440
|
};
|
|
@@ -1432,7 +1448,7 @@ export var nestedExpand_with_no_marks = ['nestedExpand', {
|
|
|
1432
1448
|
}
|
|
1433
1449
|
}
|
|
1434
1450
|
}];
|
|
1435
|
-
export var non_nestable_block_content = ['paragraph_with_no_marks', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks'];
|
|
1451
|
+
export var non_nestable_block_content = ['paragraph_with_no_marks', 'paragraph_with_font_size', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'codeBlock', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'decisionList', 'taskList', 'table', 'blockCard', 'embedCard', 'extension_with_marks'];
|
|
1436
1452
|
export var orderedList = {
|
|
1437
1453
|
props: {
|
|
1438
1454
|
type: {
|
|
@@ -1496,7 +1512,7 @@ export var panel = {
|
|
|
1496
1512
|
},
|
|
1497
1513
|
content: {
|
|
1498
1514
|
type: 'array',
|
|
1499
|
-
items: [['paragraph_with_no_marks', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'decisionList', 'extension_with_marks']],
|
|
1515
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_font_size', 'heading_with_no_marks', 'bulletList', 'orderedList', 'blockCard', 'mediaGroup', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock', 'taskList', 'rule', 'decisionList', 'extension_with_marks']],
|
|
1500
1516
|
minItems: 1,
|
|
1501
1517
|
allowUnsupportedBlock: true
|
|
1502
1518
|
}
|
|
@@ -1539,6 +1555,33 @@ export var paragraph_with_alignment = ['paragraph', {
|
|
|
1539
1555
|
}
|
|
1540
1556
|
}
|
|
1541
1557
|
}];
|
|
1558
|
+
export var paragraph_with_font_size = ['paragraph', {
|
|
1559
|
+
props: {
|
|
1560
|
+
marks: {
|
|
1561
|
+
type: 'array',
|
|
1562
|
+
optional: true,
|
|
1563
|
+
items: ['fontSize']
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
}];
|
|
1567
|
+
export var paragraph_with_font_size_and_alignment = ['paragraph', {
|
|
1568
|
+
props: {
|
|
1569
|
+
marks: {
|
|
1570
|
+
type: 'array',
|
|
1571
|
+
optional: true,
|
|
1572
|
+
items: [['fontSize', 'alignment']]
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
}];
|
|
1576
|
+
export var paragraph_with_font_size_and_indentation = ['paragraph', {
|
|
1577
|
+
props: {
|
|
1578
|
+
marks: {
|
|
1579
|
+
type: 'array',
|
|
1580
|
+
optional: true,
|
|
1581
|
+
items: [['fontSize', 'indentation']]
|
|
1582
|
+
}
|
|
1583
|
+
}
|
|
1584
|
+
}];
|
|
1542
1585
|
export var paragraph_with_indentation = ['paragraph', {
|
|
1543
1586
|
props: {
|
|
1544
1587
|
marks: {
|
|
@@ -1764,7 +1807,7 @@ export var tableCell = {
|
|
|
1764
1807
|
},
|
|
1765
1808
|
content: {
|
|
1766
1809
|
type: 'array',
|
|
1767
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
|
1810
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_font_size_and_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
|
1768
1811
|
minItems: 1,
|
|
1769
1812
|
allowUnsupportedBlock: true
|
|
1770
1813
|
}
|
|
@@ -1807,7 +1850,7 @@ export var tableHeader = {
|
|
|
1807
1850
|
},
|
|
1808
1851
|
content: {
|
|
1809
1852
|
type: 'array',
|
|
1810
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks', 'nestedExpand']],
|
|
1853
|
+
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_font_size_and_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks', 'nestedExpand']],
|
|
1811
1854
|
minItems: 1
|
|
1812
1855
|
}
|
|
1813
1856
|
},
|
|
@@ -81,6 +81,12 @@
|
|
|
81
81
|
{
|
|
82
82
|
"$ref": "#/definitions/paragraph_with_indentation_node"
|
|
83
83
|
},
|
|
84
|
+
{
|
|
85
|
+
"$ref": "#/definitions/paragraph_with_font_size_and_alignment_node"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"$ref": "#/definitions/paragraph_with_font_size_and_indentation_node"
|
|
89
|
+
},
|
|
84
90
|
{
|
|
85
91
|
"$ref": "#/definitions/mediaSingle_caption_node"
|
|
86
92
|
},
|
|
@@ -309,6 +315,9 @@
|
|
|
309
315
|
{
|
|
310
316
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
311
317
|
},
|
|
318
|
+
{
|
|
319
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
320
|
+
},
|
|
312
321
|
{
|
|
313
322
|
"$ref": "#/definitions/extension_with_marks_node"
|
|
314
323
|
}
|
|
@@ -319,6 +328,9 @@
|
|
|
319
328
|
{
|
|
320
329
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
321
330
|
},
|
|
331
|
+
{
|
|
332
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
333
|
+
},
|
|
322
334
|
{
|
|
323
335
|
"$ref": "#/definitions/extension_with_marks_node"
|
|
324
336
|
}
|
|
@@ -441,6 +453,12 @@
|
|
|
441
453
|
{
|
|
442
454
|
"$ref": "#/definitions/paragraph_with_indentation_node"
|
|
443
455
|
},
|
|
456
|
+
{
|
|
457
|
+
"$ref": "#/definitions/paragraph_with_font_size_and_alignment_node"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"$ref": "#/definitions/paragraph_with_font_size_and_indentation_node"
|
|
461
|
+
},
|
|
444
462
|
{
|
|
445
463
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
446
464
|
},
|
|
@@ -905,6 +923,12 @@
|
|
|
905
923
|
{
|
|
906
924
|
"$ref": "#/definitions/paragraph_with_indentation_node"
|
|
907
925
|
},
|
|
926
|
+
{
|
|
927
|
+
"$ref": "#/definitions/paragraph_with_font_size_and_alignment_node"
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"$ref": "#/definitions/paragraph_with_font_size_and_indentation_node"
|
|
931
|
+
},
|
|
908
932
|
{
|
|
909
933
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
910
934
|
},
|
|
@@ -1250,6 +1274,9 @@
|
|
|
1250
1274
|
{
|
|
1251
1275
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
1252
1276
|
},
|
|
1277
|
+
{
|
|
1278
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
1279
|
+
},
|
|
1253
1280
|
{
|
|
1254
1281
|
"$ref": "#/definitions/panel_node"
|
|
1255
1282
|
},
|
|
@@ -1309,6 +1336,26 @@
|
|
|
1309
1336
|
"additionalProperties": false,
|
|
1310
1337
|
"required": ["type", "content"]
|
|
1311
1338
|
},
|
|
1339
|
+
"fontSize_mark": {
|
|
1340
|
+
"type": "object",
|
|
1341
|
+
"properties": {
|
|
1342
|
+
"type": {
|
|
1343
|
+
"enum": ["fontSize"]
|
|
1344
|
+
},
|
|
1345
|
+
"attrs": {
|
|
1346
|
+
"type": "object",
|
|
1347
|
+
"properties": {
|
|
1348
|
+
"fontSize": {
|
|
1349
|
+
"enum": ["small"]
|
|
1350
|
+
}
|
|
1351
|
+
},
|
|
1352
|
+
"required": ["fontSize"],
|
|
1353
|
+
"additionalProperties": false
|
|
1354
|
+
}
|
|
1355
|
+
},
|
|
1356
|
+
"required": ["type", "attrs"],
|
|
1357
|
+
"additionalProperties": false
|
|
1358
|
+
},
|
|
1312
1359
|
"formatted_text_inline_node": {
|
|
1313
1360
|
"allOf": [
|
|
1314
1361
|
{
|
|
@@ -1835,6 +1882,9 @@
|
|
|
1835
1882
|
"items": [
|
|
1836
1883
|
{
|
|
1837
1884
|
"anyOf": [
|
|
1885
|
+
{
|
|
1886
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
1887
|
+
},
|
|
1838
1888
|
{
|
|
1839
1889
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
1840
1890
|
},
|
|
@@ -1854,6 +1904,9 @@
|
|
|
1854
1904
|
},
|
|
1855
1905
|
{
|
|
1856
1906
|
"anyOf": [
|
|
1907
|
+
{
|
|
1908
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
1909
|
+
},
|
|
1857
1910
|
{
|
|
1858
1911
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
1859
1912
|
},
|
|
@@ -1906,6 +1959,9 @@
|
|
|
1906
1959
|
"type": "array",
|
|
1907
1960
|
"items": {
|
|
1908
1961
|
"anyOf": [
|
|
1962
|
+
{
|
|
1963
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
1964
|
+
},
|
|
1909
1965
|
{
|
|
1910
1966
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
1911
1967
|
},
|
|
@@ -2323,6 +2379,9 @@
|
|
|
2323
2379
|
{
|
|
2324
2380
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
2325
2381
|
},
|
|
2382
|
+
{
|
|
2383
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
2384
|
+
},
|
|
2326
2385
|
{
|
|
2327
2386
|
"$ref": "#/definitions/heading_with_no_marks_node"
|
|
2328
2387
|
},
|
|
@@ -2413,6 +2472,9 @@
|
|
|
2413
2472
|
{
|
|
2414
2473
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
2415
2474
|
},
|
|
2475
|
+
{
|
|
2476
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
2477
|
+
},
|
|
2416
2478
|
{
|
|
2417
2479
|
"$ref": "#/definitions/panel_node"
|
|
2418
2480
|
},
|
|
@@ -2546,6 +2608,9 @@
|
|
|
2546
2608
|
{
|
|
2547
2609
|
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
|
2548
2610
|
},
|
|
2611
|
+
{
|
|
2612
|
+
"$ref": "#/definitions/paragraph_with_font_size_node"
|
|
2613
|
+
},
|
|
2549
2614
|
{
|
|
2550
2615
|
"$ref": "#/definitions/heading_with_no_marks_node"
|
|
2551
2616
|
},
|
|
@@ -2637,6 +2702,77 @@
|
|
|
2637
2702
|
}
|
|
2638
2703
|
]
|
|
2639
2704
|
},
|
|
2705
|
+
"paragraph_with_font_size_and_alignment_node": {
|
|
2706
|
+
"allOf": [
|
|
2707
|
+
{
|
|
2708
|
+
"$ref": "#/definitions/paragraph_node"
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"type": "object",
|
|
2712
|
+
"properties": {
|
|
2713
|
+
"marks": {
|
|
2714
|
+
"type": "array",
|
|
2715
|
+
"items": {
|
|
2716
|
+
"anyOf": [
|
|
2717
|
+
{
|
|
2718
|
+
"$ref": "#/definitions/fontSize_mark"
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"$ref": "#/definitions/alignment_mark"
|
|
2722
|
+
}
|
|
2723
|
+
]
|
|
2724
|
+
}
|
|
2725
|
+
}
|
|
2726
|
+
},
|
|
2727
|
+
"additionalProperties": true
|
|
2728
|
+
}
|
|
2729
|
+
]
|
|
2730
|
+
},
|
|
2731
|
+
"paragraph_with_font_size_and_indentation_node": {
|
|
2732
|
+
"allOf": [
|
|
2733
|
+
{
|
|
2734
|
+
"$ref": "#/definitions/paragraph_node"
|
|
2735
|
+
},
|
|
2736
|
+
{
|
|
2737
|
+
"type": "object",
|
|
2738
|
+
"properties": {
|
|
2739
|
+
"marks": {
|
|
2740
|
+
"type": "array",
|
|
2741
|
+
"items": {
|
|
2742
|
+
"anyOf": [
|
|
2743
|
+
{
|
|
2744
|
+
"$ref": "#/definitions/fontSize_mark"
|
|
2745
|
+
},
|
|
2746
|
+
{
|
|
2747
|
+
"$ref": "#/definitions/indentation_mark"
|
|
2748
|
+
}
|
|
2749
|
+
]
|
|
2750
|
+
}
|
|
2751
|
+
}
|
|
2752
|
+
},
|
|
2753
|
+
"additionalProperties": true
|
|
2754
|
+
}
|
|
2755
|
+
]
|
|
2756
|
+
},
|
|
2757
|
+
"paragraph_with_font_size_node": {
|
|
2758
|
+
"allOf": [
|
|
2759
|
+
{
|
|
2760
|
+
"$ref": "#/definitions/paragraph_node"
|
|
2761
|
+
},
|
|
2762
|
+
{
|
|
2763
|
+
"type": "object",
|
|
2764
|
+
"properties": {
|
|
2765
|
+
"marks": {
|
|
2766
|
+
"type": "array",
|
|
2767
|
+
"items": {
|
|
2768
|
+
"$ref": "#/definitions/fontSize_mark"
|
|
2769
|
+
}
|
|
2770
|
+
}
|
|
2771
|
+
},
|
|
2772
|
+
"additionalProperties": true
|
|
2773
|
+
}
|
|
2774
|
+
]
|
|
2775
|
+
},
|
|
2640
2776
|
"paragraph_with_indentation_node": {
|
|
2641
2777
|
"allOf": [
|
|
2642
2778
|
{
|
|
@@ -2830,6 +2966,9 @@
|
|
|
2830
2966
|
{
|
|
2831
2967
|
"$ref": "#/definitions/paragraph_with_alignment_node"
|
|
2832
2968
|
},
|
|
2969
|
+
{
|
|
2970
|
+
"$ref": "#/definitions/paragraph_with_font_size_and_alignment_node"
|
|
2971
|
+
},
|
|
2833
2972
|
{
|
|
2834
2973
|
"$ref": "#/definitions/panel_node"
|
|
2835
2974
|
},
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, breakout, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, code, codeBlock, codeBlockWithLocalId, codeBlockToJSON, colorPalette,
|
|
1
|
+
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, fontSize, breakout, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, code, codeBlock, codeBlockWithLocalId, codeBlockToJSON, colorPalette,
|
|
2
2
|
/** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
|
3
3
|
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineCardWithLocalId, inlineExtension, inlineNodes, layoutColumn, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, link, linkToJSON, listItem, listItemWithFlexibleFirstChildStage0, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, taskListWithFlexibleFirstChildStage0, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, extensionFrame, multiBodiedExtension, backgroundColor, backgroundColorPalette, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './schema';
|
|
4
|
-
export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, CodeDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataConsumerAttributes, DataConsumerDefinition, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmDefinition, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, FragmentAttributes, FragmentDefinition, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, IndentationMarkAttributes, IndentationMarkDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, LinkAttributes, LinkDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StrikeDefinition, StrongDefinition, SyncBlockDefinition, BodiedSyncBlockDefinition, SubSupAttributes, SubSupDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, BlockTaskItemDefinition, TaskListContent, TaskListDefinition, TextColorAttributes, TextColorDefinition, TextDefinition, UnderlineDefinition, UrlType, AnnotationId, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, AnnotationDataAttributes, CellDomAttrs, BorderMarkAttributes, BorderMarkDefinition, MultiBodiedExtensionDefinition, ExtensionFrameDefinition, BackgroundColorDefinition, } from './schema';
|
|
4
|
+
export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, CodeDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataConsumerAttributes, DataConsumerDefinition, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmDefinition, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, FontSizeMarkAttrs, FontSizeMarkDefinition, FragmentAttributes, FragmentDefinition, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, IndentationMarkAttributes, IndentationMarkDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, LinkAttributes, LinkDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StrikeDefinition, StrongDefinition, SyncBlockDefinition, BodiedSyncBlockDefinition, SubSupAttributes, SubSupDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, BlockTaskItemDefinition, TaskListContent, TaskListDefinition, TextColorAttributes, TextColorDefinition, TextDefinition, UnderlineDefinition, UrlType, AnnotationId, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, AnnotationDataAttributes, CellDomAttrs, BorderMarkAttributes, BorderMarkDefinition, MultiBodiedExtensionDefinition, ExtensionFrameDefinition, BackgroundColorDefinition, } from './schema';
|
|
5
5
|
export { B100, B400, B50, B500, B75, G200, G300, G400, G50, G500, G75, N0, N20, N200, N30, N300, N40, N50, N500, N60, N80, N800, N90, P100, P300, P400, P50, P500, P75, R100, R300, R400, R50, R500, R75, T100, T300, T50, T500, T75, Y200, Y400, Y50, Y500, Y75, acNameToEmoji, acShortcutToEmoji, emojiIdToAcName, generateUuid, getEmojiAcName, getLinkMatch, hexToRgb, hexToRgba, isHex, isRgb, isSafeUrl, linkify, linkifyMatch, normalizeHexColor, normalizeUrl, rgbToHex, uuid, getDarkModeLCHColor, } from './utils';
|
|
6
6
|
export type { Match, NameToEmoji } from './utils';
|
|
7
7
|
export type { NodeSpecOptions, MarkSpecOptions } from './schema';
|
|
@@ -94,6 +94,17 @@ export interface EmDefinition {
|
|
|
94
94
|
}
|
|
95
95
|
export type EmMark = Mark;
|
|
96
96
|
export declare const em: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").MarkSpecOptions<Omit<Mark, "parseDOM" | "toDOM">>) => import("prosemirror-model").MarkSpec;
|
|
97
|
+
export interface FontSizeMarkAttributes {
|
|
98
|
+
fontSize: 'small';
|
|
99
|
+
}
|
|
100
|
+
export interface FontSizeDefinition {
|
|
101
|
+
type: 'fontSize';
|
|
102
|
+
attrs: FontSizeMarkAttributes;
|
|
103
|
+
}
|
|
104
|
+
export interface FontSizeMark extends Mark {
|
|
105
|
+
attrs: FontSizeMarkAttributes;
|
|
106
|
+
}
|
|
107
|
+
export declare const fontSize: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").MarkSpecOptions<FontSizeMark>) => import("prosemirror-model").MarkSpec;
|
|
97
108
|
export interface FragmentMarkAttributes {
|
|
98
109
|
localId: string;
|
|
99
110
|
name?: string;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source files in "packages/adf-schema/src/next-schema" ,
|
|
4
4
|
* and run "yarn workspace @atlaskit/adf-schema build:schema:all" to regenerate this file.
|
|
5
5
|
*/
|
|
6
|
-
import type { BlockCardDefinition, BlockquoteDefinition, BlockquoteLegacyDefinition, BodiedExtensionDefinition, BodiedExtensionWithMarksDefinition, BulletListDefinition, CodeBlockDefinition, ConfluenceJiraIssueDefinition, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedInlineDefinition, DateDefinition, DateStage0Definition, DecisionListDefinition, EmbedCardDefinition, EmojiDefinition, EmojiStage0Definition, ExpandDefinition, ExtensionDefinition, ExtensionWithMarksDefinition, HardBreakDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithNoMarksDefinition, ImageDefinition, InlineCardDefinition, InlineCardStage0Definition, InlineExtensionDefinition, InlineExtensionWithMarksDefinition, MediaGroupDefinition, MediaInlineDefinition, MediaSingleCaptionDefinition, MediaSingleDefinition, MediaSingleFullDefinition, MediaSingleWidthTypeDefinition, MentionDefinition, MentionStage0Definition, MultiBodiedExtensionStage0Definition, OrderedListDefinition, PanelDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithNoMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StatusStage0Definition, TableDefinition, TableWithNestedTableDefinition, TaskListDefinition, TextCodeInlineDefinition, TextDefinition, TextFormattedDefinition, UnsupportedBlockDefinition, UnsupportedInlineDefinition } from './nodeTypes';
|
|
7
|
-
export type BlockDefinition = Array<BlockCardDefinition | CodeBlockDefinition | MediaSingleDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleWidthTypeDefinition | ParagraphDefinition | ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | OrderedListDefinition | BulletListDefinition | BlockquoteDefinition | BlockquoteLegacyDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionDefinition | ExtensionWithMarksDefinition | HeadingDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | HeadingWithAlignmentDefinition | MediaGroupDefinition | RuleDefinition | PanelDefinition | TableDefinition | TableWithNestedTableDefinition | BodiedExtensionDefinition | BodiedExtensionWithMarksDefinition | ExpandDefinition | ConfluenceUnsupportedBlockDefinition | UnsupportedBlockDefinition>;
|
|
6
|
+
import type { BlockCardDefinition, BlockquoteDefinition, BlockquoteLegacyDefinition, BodiedExtensionDefinition, BodiedExtensionWithMarksDefinition, BulletListDefinition, CodeBlockDefinition, ConfluenceJiraIssueDefinition, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedInlineDefinition, DateDefinition, DateStage0Definition, DecisionListDefinition, EmbedCardDefinition, EmojiDefinition, EmojiStage0Definition, ExpandDefinition, ExtensionDefinition, ExtensionWithMarksDefinition, HardBreakDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithNoMarksDefinition, ImageDefinition, InlineCardDefinition, InlineCardStage0Definition, InlineExtensionDefinition, InlineExtensionWithMarksDefinition, MediaGroupDefinition, MediaInlineDefinition, MediaSingleCaptionDefinition, MediaSingleDefinition, MediaSingleFullDefinition, MediaSingleWidthTypeDefinition, MentionDefinition, MentionStage0Definition, MultiBodiedExtensionStage0Definition, OrderedListDefinition, PanelDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithFontSizeAndAlignmentStage0Definition, ParagraphWithFontSizeAndIndentationStage0Definition, ParagraphWithFontSizeStage0Definition, ParagraphWithIndentationDefinition, ParagraphWithNoMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StatusStage0Definition, TableDefinition, TableWithNestedTableDefinition, TaskListDefinition, TextCodeInlineDefinition, TextDefinition, TextFormattedDefinition, UnsupportedBlockDefinition, UnsupportedInlineDefinition } from './nodeTypes';
|
|
7
|
+
export type BlockDefinition = Array<BlockCardDefinition | CodeBlockDefinition | MediaSingleDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleWidthTypeDefinition | ParagraphDefinition | ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition | ParagraphWithFontSizeAndAlignmentStage0Definition | ParagraphWithFontSizeAndIndentationStage0Definition | ParagraphWithNoMarksDefinition | TaskListDefinition | OrderedListDefinition | BulletListDefinition | BlockquoteDefinition | BlockquoteLegacyDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionDefinition | ExtensionWithMarksDefinition | HeadingDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | HeadingWithAlignmentDefinition | MediaGroupDefinition | RuleDefinition | PanelDefinition | 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 | PanelDefinition | BlockquoteDefinition | OrderedListDefinition | BulletListDefinition | RuleDefinition | HeadingWithNoMarksDefinition | CodeBlockDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | DecisionListDefinition | TaskListDefinition | TableDefinition | TableWithNestedTableDefinition | BlockCardDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | UnsupportedBlockDefinition>;
|
|
10
|
+
export type NonNestableBlockContentDefinition = Array<ParagraphWithNoMarksDefinition | ParagraphWithFontSizeStage0Definition | PanelDefinition | BlockquoteDefinition | OrderedListDefinition | BulletListDefinition | RuleDefinition | HeadingWithNoMarksDefinition | CodeBlockDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | DecisionListDefinition | TaskListDefinition | TableDefinition | TableWithNestedTableDefinition | BlockCardDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | UnsupportedBlockDefinition>;
|