@atlaskit/adf-schema 36.11.0 → 36.12.0
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 +6 -0
- package/dist/cjs/next-schema/generated/nodeTypes.js +45 -45
- package/dist/es2019/next-schema/generated/nodeTypes.js +45 -45
- package/dist/esm/next-schema/generated/nodeTypes.js +45 -45
- package/dist/types/next-schema/generated/nodeTypes.d.ts +42 -42
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -117,9 +117,6 @@ var media = exports.media = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
|
117
117
|
},
|
118
118
|
selectable: true
|
119
119
|
});
|
120
|
-
var textFormatted = exports.textFormatted = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
121
|
-
group: 'inline'
|
122
|
-
});
|
123
120
|
var hardBreak = exports.hardBreak = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
124
121
|
group: 'inline',
|
125
122
|
inline: true,
|
@@ -217,9 +214,15 @@ var status = exports.status = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
|
217
214
|
},
|
218
215
|
selectable: true
|
219
216
|
});
|
217
|
+
var textFormatted = exports.textFormatted = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
218
|
+
group: 'inline'
|
219
|
+
});
|
220
|
+
var textCodeInline = exports.textCodeInline = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
221
|
+
group: 'inline'
|
222
|
+
});
|
220
223
|
var caption = exports.caption = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
221
|
-
content: '(
|
222
|
-
marks: 'link em strong strike subsup underline textColor annotation backgroundColor',
|
224
|
+
content: '(hardBreak | mention | emoji | date | placeholder | inlineCard | status | text)*',
|
225
|
+
marks: 'link em strong strike subsup underline textColor annotation backgroundColor code',
|
223
226
|
selectable: false,
|
224
227
|
isolating: true
|
225
228
|
});
|
@@ -257,9 +260,6 @@ var mediaSingleFull = exports.mediaSingleFull = (0, _adfSchemaGenerator.createPM
|
|
257
260
|
},
|
258
261
|
selectable: true
|
259
262
|
});
|
260
|
-
var textCodeInline = exports.textCodeInline = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
261
|
-
group: 'inline'
|
262
|
-
});
|
263
263
|
var inlineExtension = exports.inlineExtension = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
264
264
|
group: 'inline',
|
265
265
|
inline: true,
|
@@ -528,13 +528,8 @@ var mediaGroup = exports.mediaGroup = (0, _adfSchemaGenerator.createPMNodeSpecFa
|
|
528
528
|
var rule = exports.rule = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
529
529
|
group: 'block'
|
530
530
|
});
|
531
|
-
var paragraph = exports.paragraph = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
532
|
-
content: 'inline*',
|
533
|
-
marks: 'link em strong strike subsup underline textColor annotation backgroundColor code border',
|
534
|
-
selectable: false
|
535
|
-
});
|
536
531
|
var panel = exports.panel = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
537
|
-
content: '(
|
532
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule)+',
|
538
533
|
marks: 'link',
|
539
534
|
group: 'block',
|
540
535
|
attrs: {
|
@@ -578,8 +573,8 @@ var headingWithIndentation = exports.headingWithIndentation = (0, _adfSchemaGene
|
|
578
573
|
selectable: false,
|
579
574
|
defining: true
|
580
575
|
});
|
581
|
-
var
|
582
|
-
content: '(
|
576
|
+
var nestedExpandWithNoMarks = exports.nestedExpandWithNoMarks = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
577
|
+
content: '(codeBlock | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote)+',
|
583
578
|
marks: 'link',
|
584
579
|
attrs: {
|
585
580
|
title: {
|
@@ -593,8 +588,8 @@ var nestedExpand = exports.nestedExpand = (0, _adfSchemaGenerator.createPMNodeSp
|
|
593
588
|
isolating: true
|
594
589
|
});
|
595
590
|
var tableCell = exports.tableCell = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
596
|
-
content: '(
|
597
|
-
marks: 'alignment indentation
|
591
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | nestedExpand)+',
|
592
|
+
marks: 'alignment link indentation dataConsumer fragment',
|
598
593
|
attrs: {
|
599
594
|
colspan: {
|
600
595
|
default: 1
|
@@ -612,23 +607,9 @@ var tableCell = exports.tableCell = (0, _adfSchemaGenerator.createPMNodeSpecFact
|
|
612
607
|
selectable: false,
|
613
608
|
isolating: true
|
614
609
|
});
|
615
|
-
var nestedExpandWithNoMarks = exports.nestedExpandWithNoMarks = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
616
|
-
content: '(paragraph | heading | mediaSingle | mediaGroup | codeBlock | bulletList | orderedList | taskList | decisionList | rule | panel | blockquote)+',
|
617
|
-
marks: 'link',
|
618
|
-
attrs: {
|
619
|
-
title: {
|
620
|
-
default: ''
|
621
|
-
},
|
622
|
-
__expanded: {
|
623
|
-
default: true
|
624
|
-
}
|
625
|
-
},
|
626
|
-
selectable: true,
|
627
|
-
isolating: true
|
628
|
-
});
|
629
610
|
var tableHeader = exports.tableHeader = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
630
|
-
content: '(
|
631
|
-
marks: 'alignment indentation
|
611
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | nestedExpand)+',
|
612
|
+
marks: 'alignment link indentation dataConsumer fragment',
|
632
613
|
attrs: {
|
633
614
|
colspan: {
|
634
615
|
default: 1
|
@@ -675,8 +656,8 @@ var table = exports.table = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
|
675
656
|
isolating: true
|
676
657
|
});
|
677
658
|
var bodiedExtension = exports.bodiedExtension = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
678
|
-
content: '(
|
679
|
-
marks: 'link fragment',
|
659
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
660
|
+
marks: 'link dataConsumer fragment',
|
680
661
|
group: 'block',
|
681
662
|
attrs: {
|
682
663
|
extensionType: {
|
@@ -703,8 +684,8 @@ var bodiedExtension = exports.bodiedExtension = (0, _adfSchemaGenerator.createPM
|
|
703
684
|
isolating: true
|
704
685
|
});
|
705
686
|
var bodiedExtensionWithMarks = exports.bodiedExtensionWithMarks = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
706
|
-
content: '(
|
707
|
-
marks: 'link fragment',
|
687
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
688
|
+
marks: 'link dataConsumer fragment',
|
708
689
|
group: 'block',
|
709
690
|
attrs: {
|
710
691
|
extensionType: {
|
@@ -731,8 +712,8 @@ var bodiedExtensionWithMarks = exports.bodiedExtensionWithMarks = (0, _adfSchema
|
|
731
712
|
isolating: true
|
732
713
|
});
|
733
714
|
var expand = exports.expand = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
734
|
-
content: '(
|
735
|
-
marks: 'link fragment',
|
715
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
716
|
+
marks: 'link dataConsumer fragment',
|
736
717
|
group: 'block',
|
737
718
|
attrs: {
|
738
719
|
title: {
|
@@ -746,8 +727,8 @@ var expand = exports.expand = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
|
746
727
|
isolating: true
|
747
728
|
});
|
748
729
|
var expandWithBreakoutMark = exports.expandWithBreakoutMark = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
749
|
-
content: '(
|
750
|
-
marks: 'link fragment',
|
730
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
731
|
+
marks: 'link dataConsumer fragment',
|
751
732
|
group: 'block',
|
752
733
|
attrs: {
|
753
734
|
title: {
|
@@ -761,8 +742,8 @@ var expandWithBreakoutMark = exports.expandWithBreakoutMark = (0, _adfSchemaGene
|
|
761
742
|
isolating: true
|
762
743
|
});
|
763
744
|
var expandWithNoMark = exports.expandWithNoMark = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
764
|
-
content: '(
|
765
|
-
marks: 'link fragment',
|
745
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
746
|
+
marks: 'link dataConsumer fragment',
|
766
747
|
group: 'block',
|
767
748
|
attrs: {
|
768
749
|
title: {
|
@@ -792,7 +773,26 @@ var layoutSectionFull = exports.layoutSectionFull = (0, _adfSchemaGenerator.crea
|
|
792
773
|
content: 'layoutColumn{1,3}',
|
793
774
|
isolating: true
|
794
775
|
});
|
776
|
+
var nestedExpand = exports.nestedExpand = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
777
|
+
content: '(codeBlock | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote)+',
|
778
|
+
marks: 'link',
|
779
|
+
attrs: {
|
780
|
+
title: {
|
781
|
+
default: ''
|
782
|
+
},
|
783
|
+
__expanded: {
|
784
|
+
default: true
|
785
|
+
}
|
786
|
+
},
|
787
|
+
selectable: true,
|
788
|
+
isolating: true
|
789
|
+
});
|
790
|
+
var paragraph = exports.paragraph = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
791
|
+
content: 'inline*',
|
792
|
+
marks: 'link em strong strike subsup underline textColor annotation backgroundColor code border',
|
793
|
+
selectable: false
|
794
|
+
});
|
795
795
|
var doc = exports.doc = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
796
|
-
content: '(block | layoutSection | blockRootOnly)*',
|
796
|
+
content: '(block | layoutSection | blockRootOnly | nestedExpand | paragraph)*',
|
797
797
|
marks: 'breakout link alignment indentation dataConsumer fragment'
|
798
798
|
});
|
@@ -111,9 +111,6 @@ export const media = createPMNodeSpecFactory({
|
|
111
111
|
},
|
112
112
|
selectable: true
|
113
113
|
});
|
114
|
-
export const textFormatted = createPMNodeSpecFactory({
|
115
|
-
group: 'inline'
|
116
|
-
});
|
117
114
|
export const hardBreak = createPMNodeSpecFactory({
|
118
115
|
group: 'inline',
|
119
116
|
inline: true,
|
@@ -211,9 +208,15 @@ export const status = createPMNodeSpecFactory({
|
|
211
208
|
},
|
212
209
|
selectable: true
|
213
210
|
});
|
211
|
+
export const textFormatted = createPMNodeSpecFactory({
|
212
|
+
group: 'inline'
|
213
|
+
});
|
214
|
+
export const textCodeInline = createPMNodeSpecFactory({
|
215
|
+
group: 'inline'
|
216
|
+
});
|
214
217
|
export const caption = createPMNodeSpecFactory({
|
215
|
-
content: '(
|
216
|
-
marks: 'link em strong strike subsup underline textColor annotation backgroundColor',
|
218
|
+
content: '(hardBreak | mention | emoji | date | placeholder | inlineCard | status | text)*',
|
219
|
+
marks: 'link em strong strike subsup underline textColor annotation backgroundColor code',
|
217
220
|
selectable: false,
|
218
221
|
isolating: true
|
219
222
|
});
|
@@ -251,9 +254,6 @@ export const mediaSingleFull = createPMNodeSpecFactory({
|
|
251
254
|
},
|
252
255
|
selectable: true
|
253
256
|
});
|
254
|
-
export const textCodeInline = createPMNodeSpecFactory({
|
255
|
-
group: 'inline'
|
256
|
-
});
|
257
257
|
export const inlineExtension = createPMNodeSpecFactory({
|
258
258
|
group: 'inline',
|
259
259
|
inline: true,
|
@@ -522,13 +522,8 @@ export const mediaGroup = createPMNodeSpecFactory({
|
|
522
522
|
export const rule = createPMNodeSpecFactory({
|
523
523
|
group: 'block'
|
524
524
|
});
|
525
|
-
export const paragraph = createPMNodeSpecFactory({
|
526
|
-
content: 'inline*',
|
527
|
-
marks: 'link em strong strike subsup underline textColor annotation backgroundColor code border',
|
528
|
-
selectable: false
|
529
|
-
});
|
530
525
|
export const panel = createPMNodeSpecFactory({
|
531
|
-
content: '(
|
526
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule)+',
|
532
527
|
marks: 'link',
|
533
528
|
group: 'block',
|
534
529
|
attrs: {
|
@@ -572,8 +567,8 @@ export const headingWithIndentation = createPMNodeSpecFactory({
|
|
572
567
|
selectable: false,
|
573
568
|
defining: true
|
574
569
|
});
|
575
|
-
export const
|
576
|
-
content: '(
|
570
|
+
export const nestedExpandWithNoMarks = createPMNodeSpecFactory({
|
571
|
+
content: '(codeBlock | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote)+',
|
577
572
|
marks: 'link',
|
578
573
|
attrs: {
|
579
574
|
title: {
|
@@ -587,8 +582,8 @@ export const nestedExpand = createPMNodeSpecFactory({
|
|
587
582
|
isolating: true
|
588
583
|
});
|
589
584
|
export const tableCell = createPMNodeSpecFactory({
|
590
|
-
content: '(
|
591
|
-
marks: 'alignment indentation
|
585
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | nestedExpand)+',
|
586
|
+
marks: 'alignment link indentation dataConsumer fragment',
|
592
587
|
attrs: {
|
593
588
|
colspan: {
|
594
589
|
default: 1
|
@@ -606,23 +601,9 @@ export const tableCell = createPMNodeSpecFactory({
|
|
606
601
|
selectable: false,
|
607
602
|
isolating: true
|
608
603
|
});
|
609
|
-
export const nestedExpandWithNoMarks = createPMNodeSpecFactory({
|
610
|
-
content: '(paragraph | heading | mediaSingle | mediaGroup | codeBlock | bulletList | orderedList | taskList | decisionList | rule | panel | blockquote)+',
|
611
|
-
marks: 'link',
|
612
|
-
attrs: {
|
613
|
-
title: {
|
614
|
-
default: ''
|
615
|
-
},
|
616
|
-
__expanded: {
|
617
|
-
default: true
|
618
|
-
}
|
619
|
-
},
|
620
|
-
selectable: true,
|
621
|
-
isolating: true
|
622
|
-
});
|
623
604
|
export const tableHeader = createPMNodeSpecFactory({
|
624
|
-
content: '(
|
625
|
-
marks: 'alignment indentation
|
605
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | nestedExpand)+',
|
606
|
+
marks: 'alignment link indentation dataConsumer fragment',
|
626
607
|
attrs: {
|
627
608
|
colspan: {
|
628
609
|
default: 1
|
@@ -669,8 +650,8 @@ export const table = createPMNodeSpecFactory({
|
|
669
650
|
isolating: true
|
670
651
|
});
|
671
652
|
export const bodiedExtension = createPMNodeSpecFactory({
|
672
|
-
content: '(
|
673
|
-
marks: 'link fragment',
|
653
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
654
|
+
marks: 'link dataConsumer fragment',
|
674
655
|
group: 'block',
|
675
656
|
attrs: {
|
676
657
|
extensionType: {
|
@@ -697,8 +678,8 @@ export const bodiedExtension = createPMNodeSpecFactory({
|
|
697
678
|
isolating: true
|
698
679
|
});
|
699
680
|
export const bodiedExtensionWithMarks = createPMNodeSpecFactory({
|
700
|
-
content: '(
|
701
|
-
marks: 'link fragment',
|
681
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
682
|
+
marks: 'link dataConsumer fragment',
|
702
683
|
group: 'block',
|
703
684
|
attrs: {
|
704
685
|
extensionType: {
|
@@ -725,8 +706,8 @@ export const bodiedExtensionWithMarks = createPMNodeSpecFactory({
|
|
725
706
|
isolating: true
|
726
707
|
});
|
727
708
|
export const expand = createPMNodeSpecFactory({
|
728
|
-
content: '(
|
729
|
-
marks: 'link fragment',
|
709
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
710
|
+
marks: 'link dataConsumer fragment',
|
730
711
|
group: 'block',
|
731
712
|
attrs: {
|
732
713
|
title: {
|
@@ -740,8 +721,8 @@ export const expand = createPMNodeSpecFactory({
|
|
740
721
|
isolating: true
|
741
722
|
});
|
742
723
|
export const expandWithBreakoutMark = createPMNodeSpecFactory({
|
743
|
-
content: '(
|
744
|
-
marks: 'link fragment',
|
724
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
725
|
+
marks: 'link dataConsumer fragment',
|
745
726
|
group: 'block',
|
746
727
|
attrs: {
|
747
728
|
title: {
|
@@ -755,8 +736,8 @@ export const expandWithBreakoutMark = createPMNodeSpecFactory({
|
|
755
736
|
isolating: true
|
756
737
|
});
|
757
738
|
export const expandWithNoMark = createPMNodeSpecFactory({
|
758
|
-
content: '(
|
759
|
-
marks: 'link fragment',
|
739
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
740
|
+
marks: 'link dataConsumer fragment',
|
760
741
|
group: 'block',
|
761
742
|
attrs: {
|
762
743
|
title: {
|
@@ -786,7 +767,26 @@ export const layoutSectionFull = createPMNodeSpecFactory({
|
|
786
767
|
content: 'layoutColumn{1,3}',
|
787
768
|
isolating: true
|
788
769
|
});
|
770
|
+
export const nestedExpand = createPMNodeSpecFactory({
|
771
|
+
content: '(codeBlock | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote)+',
|
772
|
+
marks: 'link',
|
773
|
+
attrs: {
|
774
|
+
title: {
|
775
|
+
default: ''
|
776
|
+
},
|
777
|
+
__expanded: {
|
778
|
+
default: true
|
779
|
+
}
|
780
|
+
},
|
781
|
+
selectable: true,
|
782
|
+
isolating: true
|
783
|
+
});
|
784
|
+
export const paragraph = createPMNodeSpecFactory({
|
785
|
+
content: 'inline*',
|
786
|
+
marks: 'link em strong strike subsup underline textColor annotation backgroundColor code border',
|
787
|
+
selectable: false
|
788
|
+
});
|
789
789
|
export const doc = createPMNodeSpecFactory({
|
790
|
-
content: '(block | layoutSection | blockRootOnly)*',
|
790
|
+
content: '(block | layoutSection | blockRootOnly | nestedExpand | paragraph)*',
|
791
791
|
marks: 'breakout link alignment indentation dataConsumer fragment'
|
792
792
|
});
|
@@ -111,9 +111,6 @@ export var media = createPMNodeSpecFactory({
|
|
111
111
|
},
|
112
112
|
selectable: true
|
113
113
|
});
|
114
|
-
export var textFormatted = createPMNodeSpecFactory({
|
115
|
-
group: 'inline'
|
116
|
-
});
|
117
114
|
export var hardBreak = createPMNodeSpecFactory({
|
118
115
|
group: 'inline',
|
119
116
|
inline: true,
|
@@ -211,9 +208,15 @@ export var status = createPMNodeSpecFactory({
|
|
211
208
|
},
|
212
209
|
selectable: true
|
213
210
|
});
|
211
|
+
export var textFormatted = createPMNodeSpecFactory({
|
212
|
+
group: 'inline'
|
213
|
+
});
|
214
|
+
export var textCodeInline = createPMNodeSpecFactory({
|
215
|
+
group: 'inline'
|
216
|
+
});
|
214
217
|
export var caption = createPMNodeSpecFactory({
|
215
|
-
content: '(
|
216
|
-
marks: 'link em strong strike subsup underline textColor annotation backgroundColor',
|
218
|
+
content: '(hardBreak | mention | emoji | date | placeholder | inlineCard | status | text)*',
|
219
|
+
marks: 'link em strong strike subsup underline textColor annotation backgroundColor code',
|
217
220
|
selectable: false,
|
218
221
|
isolating: true
|
219
222
|
});
|
@@ -251,9 +254,6 @@ export var mediaSingleFull = createPMNodeSpecFactory({
|
|
251
254
|
},
|
252
255
|
selectable: true
|
253
256
|
});
|
254
|
-
export var textCodeInline = createPMNodeSpecFactory({
|
255
|
-
group: 'inline'
|
256
|
-
});
|
257
257
|
export var inlineExtension = createPMNodeSpecFactory({
|
258
258
|
group: 'inline',
|
259
259
|
inline: true,
|
@@ -522,13 +522,8 @@ export var mediaGroup = createPMNodeSpecFactory({
|
|
522
522
|
export var rule = createPMNodeSpecFactory({
|
523
523
|
group: 'block'
|
524
524
|
});
|
525
|
-
export var paragraph = createPMNodeSpecFactory({
|
526
|
-
content: 'inline*',
|
527
|
-
marks: 'link em strong strike subsup underline textColor annotation backgroundColor code border',
|
528
|
-
selectable: false
|
529
|
-
});
|
530
525
|
export var panel = createPMNodeSpecFactory({
|
531
|
-
content: '(
|
526
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule)+',
|
532
527
|
marks: 'link',
|
533
528
|
group: 'block',
|
534
529
|
attrs: {
|
@@ -572,8 +567,8 @@ export var headingWithIndentation = createPMNodeSpecFactory({
|
|
572
567
|
selectable: false,
|
573
568
|
defining: true
|
574
569
|
});
|
575
|
-
export var
|
576
|
-
content: '(
|
570
|
+
export var nestedExpandWithNoMarks = createPMNodeSpecFactory({
|
571
|
+
content: '(codeBlock | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote)+',
|
577
572
|
marks: 'link',
|
578
573
|
attrs: {
|
579
574
|
title: {
|
@@ -587,8 +582,8 @@ export var nestedExpand = createPMNodeSpecFactory({
|
|
587
582
|
isolating: true
|
588
583
|
});
|
589
584
|
export var tableCell = createPMNodeSpecFactory({
|
590
|
-
content: '(
|
591
|
-
marks: 'alignment indentation
|
585
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | nestedExpand)+',
|
586
|
+
marks: 'alignment link indentation dataConsumer fragment',
|
592
587
|
attrs: {
|
593
588
|
colspan: {
|
594
589
|
default: 1
|
@@ -606,23 +601,9 @@ export var tableCell = createPMNodeSpecFactory({
|
|
606
601
|
selectable: false,
|
607
602
|
isolating: true
|
608
603
|
});
|
609
|
-
export var nestedExpandWithNoMarks = createPMNodeSpecFactory({
|
610
|
-
content: '(paragraph | heading | mediaSingle | mediaGroup | codeBlock | bulletList | orderedList | taskList | decisionList | rule | panel | blockquote)+',
|
611
|
-
marks: 'link',
|
612
|
-
attrs: {
|
613
|
-
title: {
|
614
|
-
default: ''
|
615
|
-
},
|
616
|
-
__expanded: {
|
617
|
-
default: true
|
618
|
-
}
|
619
|
-
},
|
620
|
-
selectable: true,
|
621
|
-
isolating: true
|
622
|
-
});
|
623
604
|
export var tableHeader = createPMNodeSpecFactory({
|
624
|
-
content: '(
|
625
|
-
marks: 'alignment indentation
|
605
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | nestedExpand)+',
|
606
|
+
marks: 'alignment link indentation dataConsumer fragment',
|
626
607
|
attrs: {
|
627
608
|
colspan: {
|
628
609
|
default: 1
|
@@ -669,8 +650,8 @@ export var table = createPMNodeSpecFactory({
|
|
669
650
|
isolating: true
|
670
651
|
});
|
671
652
|
export var bodiedExtension = createPMNodeSpecFactory({
|
672
|
-
content: '(
|
673
|
-
marks: 'link fragment',
|
653
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
654
|
+
marks: 'link dataConsumer fragment',
|
674
655
|
group: 'block',
|
675
656
|
attrs: {
|
676
657
|
extensionType: {
|
@@ -697,8 +678,8 @@ export var bodiedExtension = createPMNodeSpecFactory({
|
|
697
678
|
isolating: true
|
698
679
|
});
|
699
680
|
export var bodiedExtensionWithMarks = createPMNodeSpecFactory({
|
700
|
-
content: '(
|
701
|
-
marks: 'link fragment',
|
681
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
682
|
+
marks: 'link dataConsumer fragment',
|
702
683
|
group: 'block',
|
703
684
|
attrs: {
|
704
685
|
extensionType: {
|
@@ -725,8 +706,8 @@ export var bodiedExtensionWithMarks = createPMNodeSpecFactory({
|
|
725
706
|
isolating: true
|
726
707
|
});
|
727
708
|
export var expand = createPMNodeSpecFactory({
|
728
|
-
content: '(
|
729
|
-
marks: 'link fragment',
|
709
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
710
|
+
marks: 'link dataConsumer fragment',
|
730
711
|
group: 'block',
|
731
712
|
attrs: {
|
732
713
|
title: {
|
@@ -740,8 +721,8 @@ export var expand = createPMNodeSpecFactory({
|
|
740
721
|
isolating: true
|
741
722
|
});
|
742
723
|
export var expandWithBreakoutMark = createPMNodeSpecFactory({
|
743
|
-
content: '(
|
744
|
-
marks: 'link fragment',
|
724
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
725
|
+
marks: 'link dataConsumer fragment',
|
745
726
|
group: 'block',
|
746
727
|
attrs: {
|
747
728
|
title: {
|
@@ -755,8 +736,8 @@ export var expandWithBreakoutMark = createPMNodeSpecFactory({
|
|
755
736
|
isolating: true
|
756
737
|
});
|
757
738
|
export var expandWithNoMark = createPMNodeSpecFactory({
|
758
|
-
content: '(
|
759
|
-
marks: 'link fragment',
|
739
|
+
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table)+',
|
740
|
+
marks: 'link dataConsumer fragment',
|
760
741
|
group: 'block',
|
761
742
|
attrs: {
|
762
743
|
title: {
|
@@ -786,7 +767,26 @@ export var layoutSectionFull = createPMNodeSpecFactory({
|
|
786
767
|
content: 'layoutColumn{1,3}',
|
787
768
|
isolating: true
|
788
769
|
});
|
770
|
+
export var nestedExpand = createPMNodeSpecFactory({
|
771
|
+
content: '(codeBlock | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote)+',
|
772
|
+
marks: 'link',
|
773
|
+
attrs: {
|
774
|
+
title: {
|
775
|
+
default: ''
|
776
|
+
},
|
777
|
+
__expanded: {
|
778
|
+
default: true
|
779
|
+
}
|
780
|
+
},
|
781
|
+
selectable: true,
|
782
|
+
isolating: true
|
783
|
+
});
|
784
|
+
export var paragraph = createPMNodeSpecFactory({
|
785
|
+
content: 'inline*',
|
786
|
+
marks: 'link em strong strike subsup underline textColor annotation backgroundColor code border',
|
787
|
+
selectable: false
|
788
|
+
});
|
789
789
|
export var doc = createPMNodeSpecFactory({
|
790
|
-
content: '(block | layoutSection | blockRootOnly)*',
|
790
|
+
content: '(block | layoutSection | blockRootOnly | nestedExpand | paragraph)*',
|
791
791
|
marks: 'breakout link alignment indentation dataConsumer fragment'
|
792
792
|
});
|
@@ -79,12 +79,6 @@ export interface MediaDefinition {
|
|
79
79
|
}
|
80
80
|
export type MediaNode = PMNode & MediaDefinition;
|
81
81
|
export declare const media: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<MediaNode>) => import("prosemirror-model").NodeSpec;
|
82
|
-
export interface TextFormattedDefinition {
|
83
|
-
type: 'text';
|
84
|
-
marks: Array<LinkMark | EmMark | StrongMark | StrikeMark | SubsupMark | UnderlineMark | TextColorMark | AnnotationMark | BackgroundColorMark>;
|
85
|
-
}
|
86
|
-
export type TextFormattedNode = PMNode & TextFormattedDefinition;
|
87
|
-
export declare const textFormatted: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<TextFormattedNode>) => import("prosemirror-model").NodeSpec;
|
88
82
|
export interface HardBreakDefinition {
|
89
83
|
type: 'hardBreak';
|
90
84
|
attrs: {
|
@@ -150,9 +144,21 @@ export interface StatusDefinition {
|
|
150
144
|
}
|
151
145
|
export type StatusNode = PMNode & StatusDefinition;
|
152
146
|
export declare const status: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<StatusNode>) => import("prosemirror-model").NodeSpec;
|
147
|
+
export interface TextFormattedDefinition {
|
148
|
+
type: 'text';
|
149
|
+
marks: Array<LinkMark | EmMark | StrongMark | StrikeMark | SubsupMark | UnderlineMark | TextColorMark | AnnotationMark | BackgroundColorMark>;
|
150
|
+
}
|
151
|
+
export type TextFormattedNode = PMNode & TextFormattedDefinition;
|
152
|
+
export declare const textFormatted: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<TextFormattedNode>) => import("prosemirror-model").NodeSpec;
|
153
|
+
export interface TextCodeInlineDefinition {
|
154
|
+
type: 'text';
|
155
|
+
marks: Array<CodeMark | LinkMark | AnnotationMark>;
|
156
|
+
}
|
157
|
+
export type TextCodeInlineNode = PMNode & TextCodeInlineDefinition;
|
158
|
+
export declare const textCodeInline: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<TextCodeInlineNode>) => import("prosemirror-model").NodeSpec;
|
153
159
|
export interface CaptionDefinition {
|
154
160
|
type: 'caption';
|
155
|
-
content: Array<
|
161
|
+
content: Array<HardBreakDefinition | MentionDefinition | EmojiDefinition | DateDefinition | PlaceholderDefinition | InlineCardDefinition | StatusDefinition | TextFormattedDefinition | TextCodeInlineDefinition>;
|
156
162
|
}
|
157
163
|
export type CaptionNode = PMNode & CaptionDefinition;
|
158
164
|
export declare const caption: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<CaptionNode>) => import("prosemirror-model").NodeSpec;
|
@@ -179,12 +185,6 @@ export interface MediaSingleFullDefinition {
|
|
179
185
|
}
|
180
186
|
export type MediaSingleFullNode = PMNode & MediaSingleFullDefinition;
|
181
187
|
export declare const mediaSingleFull: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<MediaSingleFullNode>) => import("prosemirror-model").NodeSpec;
|
182
|
-
export interface TextCodeInlineDefinition {
|
183
|
-
type: 'text';
|
184
|
-
marks: Array<CodeMark | LinkMark | AnnotationMark>;
|
185
|
-
}
|
186
|
-
export type TextCodeInlineNode = PMNode & TextCodeInlineDefinition;
|
187
|
-
export declare const textCodeInline: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<TextCodeInlineNode>) => import("prosemirror-model").NodeSpec;
|
188
188
|
export interface InlineExtensionDefinition {
|
189
189
|
type: 'inlineExtension';
|
190
190
|
attrs: {
|
@@ -380,15 +380,9 @@ export interface RuleDefinition {
|
|
380
380
|
}
|
381
381
|
export type RuleNode = PMNode & RuleDefinition;
|
382
382
|
export declare const rule: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<RuleNode>) => import("prosemirror-model").NodeSpec;
|
383
|
-
export interface ParagraphDefinition {
|
384
|
-
type: 'paragraph';
|
385
|
-
content: Array<InlineDefinition>;
|
386
|
-
}
|
387
|
-
export type ParagraphNode = PMNode & ParagraphDefinition;
|
388
|
-
export declare const paragraph: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<ParagraphNode>) => import("prosemirror-model").NodeSpec;
|
389
383
|
export interface PanelDefinition {
|
390
384
|
type: 'panel';
|
391
|
-
content: Array<
|
385
|
+
content: Array<CodeBlockWithNoMarksDefinition | BlockCardDefinition | ParagraphWithNoMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | TaskListDefinition | BulletListDefinition | OrderedListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | DecisionListDefinition | RuleDefinition>;
|
392
386
|
attrs: {
|
393
387
|
panelType: 'info' | 'note' | 'tip' | 'warning' | 'error' | 'success' | 'custom';
|
394
388
|
panelIcon?: string;
|
@@ -419,19 +413,19 @@ export interface HeadingWithIndentationDefinition {
|
|
419
413
|
}
|
420
414
|
export type HeadingWithIndentationNode = PMNode & HeadingWithIndentationDefinition;
|
421
415
|
export declare const headingWithIndentation: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<HeadingWithIndentationNode>) => import("prosemirror-model").NodeSpec;
|
422
|
-
export interface
|
416
|
+
export interface NestedExpandWithNoMarksDefinition {
|
423
417
|
type: 'nestedExpand';
|
424
|
-
content: Array<
|
418
|
+
content: Array<CodeBlockWithNoMarksDefinition | ParagraphWithNoMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | TaskListDefinition | BulletListDefinition | OrderedListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | DecisionListDefinition | RuleDefinition | PanelDefinition | BlockquoteDefinition>;
|
425
419
|
attrs: {
|
426
420
|
title?: string;
|
427
421
|
__expanded?: boolean;
|
428
422
|
};
|
429
423
|
}
|
430
|
-
export type
|
431
|
-
export declare const
|
424
|
+
export type NestedExpandWithNoMarksNode = PMNode & NestedExpandWithNoMarksDefinition;
|
425
|
+
export declare const nestedExpandWithNoMarks: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<NestedExpandWithNoMarksNode>) => import("prosemirror-model").NodeSpec;
|
432
426
|
export interface TableCellDefinition {
|
433
427
|
type: 'tableCell';
|
434
|
-
content: Array<
|
428
|
+
content: Array<CodeBlockWithNoMarksDefinition | BlockCardDefinition | ParagraphWithNoMarksDefinition | ParagraphWithAlignmentDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | TaskListDefinition | BulletListDefinition | OrderedListDefinition | HeadingWithNoMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | MediaGroupDefinition | DecisionListDefinition | RuleDefinition | PanelDefinition | BlockquoteDefinition | ExtensionWithMarksDefinition | EmbedCardDefinition | NestedExpandWithNoMarksDefinition>;
|
435
429
|
attrs: {
|
436
430
|
colspan?: number;
|
437
431
|
rowspan?: number;
|
@@ -441,19 +435,9 @@ export interface TableCellDefinition {
|
|
441
435
|
}
|
442
436
|
export type TableCellNode = PMNode & TableCellDefinition;
|
443
437
|
export declare const tableCell: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<TableCellNode>) => import("prosemirror-model").NodeSpec;
|
444
|
-
export interface NestedExpandWithNoMarksDefinition {
|
445
|
-
type: 'nestedExpand';
|
446
|
-
content: Array<ParagraphDefinition | HeadingDefinition | MediaSingleDefinition | MediaGroupDefinition | CodeBlockDefinition | BulletListDefinition | OrderedListDefinition | TaskListDefinition | DecisionListDefinition | RuleDefinition | PanelDefinition | BlockquoteDefinition>;
|
447
|
-
attrs: {
|
448
|
-
title?: string;
|
449
|
-
__expanded?: boolean;
|
450
|
-
};
|
451
|
-
}
|
452
|
-
export type NestedExpandWithNoMarksNode = PMNode & NestedExpandWithNoMarksDefinition;
|
453
|
-
export declare const nestedExpandWithNoMarks: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<NestedExpandWithNoMarksNode>) => import("prosemirror-model").NodeSpec;
|
454
438
|
export interface TableHeaderDefinition {
|
455
439
|
type: 'tableHeader';
|
456
|
-
content: Array<
|
440
|
+
content: Array<CodeBlockWithNoMarksDefinition | BlockCardDefinition | ParagraphWithNoMarksDefinition | ParagraphWithAlignmentDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | TaskListDefinition | BulletListDefinition | OrderedListDefinition | HeadingWithNoMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | MediaGroupDefinition | DecisionListDefinition | RuleDefinition | PanelDefinition | BlockquoteDefinition | ExtensionWithMarksDefinition | EmbedCardDefinition | NestedExpandWithNoMarksDefinition>;
|
457
441
|
attrs: {
|
458
442
|
colspan?: number;
|
459
443
|
rowspan?: number;
|
@@ -486,7 +470,7 @@ export type TableNode = PMNode & TableDefinition;
|
|
486
470
|
export declare const table: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<TableNode>) => import("prosemirror-model").NodeSpec;
|
487
471
|
export interface BodiedExtensionDefinition {
|
488
472
|
type: 'bodiedExtension';
|
489
|
-
content: Array<
|
473
|
+
content: Array<CodeBlockWithNoMarksDefinition | BlockCardDefinition | ParagraphWithNoMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | TaskListDefinition | BulletListDefinition | OrderedListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | DecisionListDefinition | RuleDefinition | PanelDefinition | BlockquoteDefinition | ExtensionWithMarksDefinition | EmbedCardDefinition | TableDefinition>;
|
490
474
|
attrs: {
|
491
475
|
extensionType: string;
|
492
476
|
extensionKey: string;
|
@@ -499,7 +483,7 @@ export type BodiedExtensionNode = PMNode & BodiedExtensionDefinition;
|
|
499
483
|
export declare const bodiedExtension: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<BodiedExtensionNode>) => import("prosemirror-model").NodeSpec;
|
500
484
|
export interface BodiedExtensionWithMarksDefinition {
|
501
485
|
type: 'bodiedExtension';
|
502
|
-
content: Array<
|
486
|
+
content: Array<CodeBlockWithNoMarksDefinition | BlockCardDefinition | ParagraphWithNoMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | TaskListDefinition | BulletListDefinition | OrderedListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | DecisionListDefinition | RuleDefinition | PanelDefinition | BlockquoteDefinition | ExtensionWithMarksDefinition | EmbedCardDefinition | TableDefinition>;
|
503
487
|
marks: Array<DataConsumerMark | FragmentMark>;
|
504
488
|
attrs: {
|
505
489
|
extensionType: string;
|
@@ -513,7 +497,7 @@ export type BodiedExtensionWithMarksNode = PMNode & BodiedExtensionWithMarksDefi
|
|
513
497
|
export declare const bodiedExtensionWithMarks: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<BodiedExtensionWithMarksNode>) => import("prosemirror-model").NodeSpec;
|
514
498
|
export interface ExpandDefinition {
|
515
499
|
type: 'expand';
|
516
|
-
content: Array<
|
500
|
+
content: Array<CodeBlockWithNoMarksDefinition | BlockCardDefinition | ParagraphWithNoMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | TaskListDefinition | BulletListDefinition | OrderedListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | DecisionListDefinition | RuleDefinition | PanelDefinition | BlockquoteDefinition | ExtensionWithMarksDefinition | EmbedCardDefinition | TableDefinition>;
|
517
501
|
attrs: {
|
518
502
|
title?: string;
|
519
503
|
__expanded?: boolean;
|
@@ -523,7 +507,7 @@ export type ExpandNode = PMNode & ExpandDefinition;
|
|
523
507
|
export declare const expand: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<ExpandNode>) => import("prosemirror-model").NodeSpec;
|
524
508
|
export interface ExpandWithBreakoutMarkDefinition {
|
525
509
|
type: 'expand';
|
526
|
-
content: Array<
|
510
|
+
content: Array<CodeBlockWithNoMarksDefinition | BlockCardDefinition | ParagraphWithNoMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | TaskListDefinition | BulletListDefinition | OrderedListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | DecisionListDefinition | RuleDefinition | PanelDefinition | BlockquoteDefinition | ExtensionWithMarksDefinition | EmbedCardDefinition | TableDefinition>;
|
527
511
|
marks: Array<BreakoutMark>;
|
528
512
|
attrs: {
|
529
513
|
title?: string;
|
@@ -534,7 +518,7 @@ export type ExpandWithBreakoutMarkNode = PMNode & ExpandWithBreakoutMarkDefiniti
|
|
534
518
|
export declare const expandWithBreakoutMark: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<ExpandWithBreakoutMarkNode>) => import("prosemirror-model").NodeSpec;
|
535
519
|
export interface ExpandWithNoMarkDefinition {
|
536
520
|
type: 'expand';
|
537
|
-
content: Array<
|
521
|
+
content: Array<CodeBlockWithNoMarksDefinition | BlockCardDefinition | ParagraphWithNoMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | TaskListDefinition | BulletListDefinition | OrderedListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | DecisionListDefinition | RuleDefinition | PanelDefinition | BlockquoteDefinition | ExtensionWithMarksDefinition | EmbedCardDefinition | TableDefinition>;
|
538
522
|
attrs: {
|
539
523
|
title?: string;
|
540
524
|
__expanded?: boolean;
|
@@ -565,9 +549,25 @@ export interface LayoutSectionFullDefinition {
|
|
565
549
|
}
|
566
550
|
export type LayoutSectionFullNode = PMNode & LayoutSectionFullDefinition;
|
567
551
|
export declare const layoutSectionFull: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<LayoutSectionFullNode>) => import("prosemirror-model").NodeSpec;
|
552
|
+
export interface NestedExpandDefinition {
|
553
|
+
type: 'nestedExpand';
|
554
|
+
content: Array<CodeBlockWithNoMarksDefinition | ParagraphWithNoMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | TaskListDefinition | BulletListDefinition | OrderedListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | DecisionListDefinition | RuleDefinition | PanelDefinition | BlockquoteDefinition>;
|
555
|
+
attrs: {
|
556
|
+
title?: string;
|
557
|
+
__expanded?: boolean;
|
558
|
+
};
|
559
|
+
}
|
560
|
+
export type NestedExpandNode = PMNode & NestedExpandDefinition;
|
561
|
+
export declare const nestedExpand: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<NestedExpandNode>) => import("prosemirror-model").NodeSpec;
|
562
|
+
export interface ParagraphDefinition {
|
563
|
+
type: 'paragraph';
|
564
|
+
content: Array<InlineDefinition>;
|
565
|
+
}
|
566
|
+
export type ParagraphNode = PMNode & ParagraphDefinition;
|
567
|
+
export declare const paragraph: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<ParagraphNode>) => import("prosemirror-model").NodeSpec;
|
568
568
|
export interface DocDefinition {
|
569
569
|
type: 'doc';
|
570
|
-
content: Array<BlockDefinition | LayoutSectionDefinition | LayoutSectionFullDefinition>;
|
570
|
+
content: Array<BlockDefinition | LayoutSectionDefinition | LayoutSectionFullDefinition | NestedExpandDefinition | ParagraphDefinition>;
|
571
571
|
}
|
572
572
|
export type DocNode = PMNode & DocDefinition;
|
573
573
|
export declare const doc: ({ parseDOM, toDOM }: import("@atlaskit/adf-schema-generator").NodeSpecOptions<DocNode>) => import("prosemirror-model").NodeSpec;
|
package/package.json
CHANGED