@atlaskit/adf-schema 51.5.17 → 51.5.18
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/groups/blockContentGroup.js +1 -0
- package/dist/cjs/next-schema/groups/inlineContentGroup.js +1 -0
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +2 -0
- package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +1 -0
- package/dist/cjs/schema/default-schema.js +5 -1
- package/dist/cjs/schema/marks/data-consumer.js +1 -0
- package/dist/cjs/schema/nodes/embed-card.js +8 -8
- package/dist/cjs/schema/nodes/emoji.js +36 -12
- package/dist/cjs/schema/nodes/layout-section.js +1 -0
- package/dist/cjs/schema/nodes/media-single.js +3 -0
- package/dist/cjs/schema/nodes/mention.js +3 -1
- package/dist/cjs/schema/nodes/multi-bodied-extension.js +2 -0
- package/dist/cjs/schema/nodes/nested-expand.js +2 -0
- package/dist/cjs/schema/nodes/placeholder.js +6 -2
- package/dist/cjs/schema/nodes/tableNodes.js +2 -1
- package/dist/cjs/schema/nodes/unsupported-block.js +2 -1
- package/dist/cjs/schema/nodes/unsupported-inline.js +2 -1
- package/dist/es2019/next-schema/groups/blockContentGroup.js +1 -0
- package/dist/es2019/next-schema/groups/inlineContentGroup.js +1 -0
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +2 -0
- package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +2 -0
- package/dist/es2019/schema/default-schema.js +5 -1
- package/dist/es2019/schema/marks/data-consumer.js +1 -0
- package/dist/es2019/schema/nodes/embed-card.js +8 -8
- package/dist/es2019/schema/nodes/emoji.js +36 -12
- package/dist/es2019/schema/nodes/layout-section.js +1 -0
- package/dist/es2019/schema/nodes/list-item.js +0 -1
- package/dist/es2019/schema/nodes/media-single.js +3 -0
- package/dist/es2019/schema/nodes/mention.js +3 -1
- package/dist/es2019/schema/nodes/multi-bodied-extension.js +2 -0
- package/dist/es2019/schema/nodes/nested-expand.js +2 -0
- package/dist/es2019/schema/nodes/placeholder.js +6 -2
- package/dist/es2019/schema/nodes/tableNodes.js +2 -1
- package/dist/es2019/schema/nodes/unsupported-block.js +2 -1
- package/dist/es2019/schema/nodes/unsupported-inline.js +2 -1
- package/dist/esm/next-schema/groups/blockContentGroup.js +1 -0
- package/dist/esm/next-schema/groups/inlineContentGroup.js +1 -0
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +2 -0
- package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +2 -0
- package/dist/esm/schema/default-schema.js +5 -1
- package/dist/esm/schema/marks/data-consumer.js +1 -0
- package/dist/esm/schema/nodes/embed-card.js +8 -8
- package/dist/esm/schema/nodes/emoji.js +36 -12
- package/dist/esm/schema/nodes/layout-section.js +1 -0
- package/dist/esm/schema/nodes/list-item.js +0 -1
- package/dist/esm/schema/nodes/media-single.js +3 -0
- package/dist/esm/schema/nodes/mention.js +3 -1
- package/dist/esm/schema/nodes/multi-bodied-extension.js +2 -0
- package/dist/esm/schema/nodes/nested-expand.js +2 -0
- package/dist/esm/schema/nodes/placeholder.js +6 -2
- package/dist/esm/schema/nodes/tableNodes.js +2 -1
- package/dist/esm/schema/nodes/unsupported-block.js +2 -1
- package/dist/esm/schema/nodes/unsupported-inline.js +2 -1
- package/dist/types/next-schema/full-schema.adf.d.ts +2 -1
- package/dist/types/next-schema/groups/blockContentGroup.d.ts +3 -1
- package/dist/types/next-schema/groups/blockGroup.d.ts +2 -1
- package/dist/types/next-schema/groups/blockRootOnlyGroup.d.ts +2 -1
- package/dist/types/next-schema/groups/fontStyleGroup.d.ts +2 -1
- package/dist/types/next-schema/groups/inlineContentGroup.d.ts +3 -1
- package/dist/types/next-schema/groups/inlineGroup.d.ts +2 -1
- package/dist/types/next-schema/groups/linkMarkGroup.d.ts +2 -1
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +4 -16
- package/dist/types/next-schema/groups/searchQueryMarkGroup.d.ts +2 -1
- package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +4 -17
- package/dist/types/next-schema/marks/alignmentAndIndentation.d.ts +3 -2
- package/dist/types/next-schema/marks/annotation.d.ts +3 -2
- package/dist/types/next-schema/marks/border.d.ts +2 -1
- package/dist/types/next-schema/marks/breakout.d.ts +2 -1
- package/dist/types/next-schema/marks/code.d.ts +2 -1
- package/dist/types/next-schema/marks/color.d.ts +4 -3
- package/dist/types/next-schema/marks/confluenceInlineComment.d.ts +2 -1
- package/dist/types/next-schema/marks/dataConsumer.d.ts +2 -1
- package/dist/types/next-schema/marks/em.d.ts +2 -1
- package/dist/types/next-schema/marks/fragment.d.ts +2 -1
- package/dist/types/next-schema/marks/link.d.ts +2 -1
- package/dist/types/next-schema/marks/strike.d.ts +2 -1
- package/dist/types/next-schema/marks/strong.d.ts +2 -1
- package/dist/types/next-schema/marks/subsup.d.ts +2 -1
- package/dist/types/next-schema/marks/typeAheadQuery.d.ts +2 -1
- package/dist/types/next-schema/marks/underline.d.ts +2 -1
- package/dist/types/next-schema/marks/unsupportedMark.d.ts +2 -1
- package/dist/types/next-schema/marks/unsupportedNodeAttribute.d.ts +2 -1
- package/dist/types/next-schema/nodes/blockCard.d.ts +2 -1
- package/dist/types/next-schema/nodes/blockquote.d.ts +8 -4
- package/dist/types/next-schema/nodes/bodiedExtension.d.ts +6 -2
- package/dist/types/next-schema/nodes/bodiedSyncBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/caption.d.ts +2 -1
- package/dist/types/next-schema/nodes/codeBlock.d.ts +7 -3
- package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +2 -1
- package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +2 -1
- package/dist/types/next-schema/nodes/date.d.ts +2 -1
- package/dist/types/next-schema/nodes/decisionItem.d.ts +2 -1
- package/dist/types/next-schema/nodes/decisionList.d.ts +2 -1
- package/dist/types/next-schema/nodes/embedCard.d.ts +2 -1
- package/dist/types/next-schema/nodes/emoji.d.ts +2 -1
- package/dist/types/next-schema/nodes/expand.d.ts +7 -3
- package/dist/types/next-schema/nodes/extension.d.ts +6 -2
- package/dist/types/next-schema/nodes/extensionFrame.d.ts +2 -1
- package/dist/types/next-schema/nodes/hardBreak.d.ts +2 -1
- package/dist/types/next-schema/nodes/heading.d.ts +19 -8
- package/dist/types/next-schema/nodes/image.d.ts +2 -1
- package/dist/types/next-schema/nodes/inlineCard.d.ts +6 -2
- package/dist/types/next-schema/nodes/inlineExtension.d.ts +6 -2
- package/dist/types/next-schema/nodes/layoutColumn.d.ts +2 -1
- package/dist/types/next-schema/nodes/layoutSection.d.ts +14 -9
- package/dist/types/next-schema/nodes/list.d.ts +3 -2
- package/dist/types/next-schema/nodes/media.d.ts +2 -1
- package/dist/types/next-schema/nodes/mediaGroup.d.ts +2 -1
- package/dist/types/next-schema/nodes/mediaInline.d.ts +2 -1
- package/dist/types/next-schema/nodes/mediaSingle.d.ts +7 -52
- package/dist/types/next-schema/nodes/mention.d.ts +2 -1
- package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +2 -1
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +3 -2
- package/dist/types/next-schema/nodes/panel.d.ts +2 -1
- package/dist/types/next-schema/nodes/paragraph.d.ts +12 -5
- package/dist/types/next-schema/nodes/placeholder.d.ts +2 -1
- package/dist/types/next-schema/nodes/rule.d.ts +2 -1
- package/dist/types/next-schema/nodes/status.d.ts +2 -1
- package/dist/types/next-schema/nodes/syncBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/tableCellContent.d.ts +2 -1
- package/dist/types/next-schema/nodes/tableNodes.d.ts +2 -1
- package/dist/types/next-schema/nodes/task.d.ts +4 -3
- package/dist/types/next-schema/nodes/text.d.ts +13 -6
- package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/unsupportedInline.d.ts +2 -1
- package/dist/types/schema/create-schema.d.ts +1 -1
- package/dist/types/schema/default-schema.d.ts +4 -2
- package/dist/types/schema/marks/border.d.ts +3 -0
- package/dist/types/schema/marks/data-consumer.d.ts +4 -2
- package/dist/types/schema/marks/fragment.d.ts +3 -2
- package/dist/types/schema/marks/link.d.ts +2 -1
- package/dist/types/schema/marks/text-color.d.ts +1 -0
- package/dist/types/schema/nodes/block-card.d.ts +7 -2
- package/dist/types/schema/nodes/blockquote.d.ts +6 -3
- package/dist/types/schema/nodes/bodied-extension.d.ts +4 -1
- package/dist/types/schema/nodes/bodied-sync-block.d.ts +4 -1
- package/dist/types/schema/nodes/bullet-list.d.ts +3 -2
- package/dist/types/schema/nodes/caption.d.ts +5 -2
- package/dist/types/schema/nodes/code-block.d.ts +4 -3
- package/dist/types/schema/nodes/confluence-jira-issue.d.ts +2 -1
- package/dist/types/schema/nodes/confluence-unsupported-block.d.ts +2 -1
- package/dist/types/schema/nodes/confluence-unsupported-inline.d.ts +2 -1
- package/dist/types/schema/nodes/date.d.ts +5 -2
- package/dist/types/schema/nodes/decision-item.d.ts +3 -1
- package/dist/types/schema/nodes/decision-list.d.ts +5 -2
- package/dist/types/schema/nodes/doc.d.ts +3 -1
- package/dist/types/schema/nodes/embed-card.d.ts +3 -5
- package/dist/types/schema/nodes/emoji.d.ts +4 -2
- package/dist/types/schema/nodes/expand.d.ts +6 -4
- package/dist/types/schema/nodes/extension.d.ts +2 -1
- package/dist/types/schema/nodes/hard-break.d.ts +3 -2
- package/dist/types/schema/nodes/heading.d.ts +5 -1
- package/dist/types/schema/nodes/image.d.ts +2 -1
- package/dist/types/schema/nodes/inline-card.d.ts +4 -2
- package/dist/types/schema/nodes/inline-extension.d.ts +2 -1
- package/dist/types/schema/nodes/layout-column.d.ts +7 -2
- package/dist/types/schema/nodes/layout-section.d.ts +17 -9
- package/dist/types/schema/nodes/list-item.d.ts +22 -20
- package/dist/types/schema/nodes/media-group.d.ts +4 -1
- package/dist/types/schema/nodes/media-single.d.ts +9 -0
- package/dist/types/schema/nodes/media.d.ts +2 -2
- package/dist/types/schema/nodes/mention.d.ts +4 -3
- package/dist/types/schema/nodes/multi-bodied-extension.d.ts +7 -2
- package/dist/types/schema/nodes/nested-expand.d.ts +5 -2
- package/dist/types/schema/nodes/ordered-list.d.ts +5 -4
- package/dist/types/schema/nodes/panel.d.ts +5 -2
- package/dist/types/schema/nodes/paragraph.d.ts +3 -1
- package/dist/types/schema/nodes/placeholder.d.ts +5 -4
- package/dist/types/schema/nodes/rule.d.ts +3 -2
- package/dist/types/schema/nodes/status.d.ts +4 -1
- package/dist/types/schema/nodes/sync-block.d.ts +2 -1
- package/dist/types/schema/nodes/tableNodes.d.ts +27 -22
- package/dist/types/schema/nodes/task-item.d.ts +5 -2
- package/dist/types/schema/nodes/task-list.d.ts +5 -2
- package/dist/types/schema/nodes/text.d.ts +5 -3
- package/dist/types/schema/nodes/unsupported-block.d.ts +2 -1
- package/dist/types/schema/nodes/unsupported-inline.d.ts +2 -1
- package/dist/types/steps/batch-attrs-step.d.ts +1 -1
- package/dist/types/steps/set-attrs.d.ts +2 -2
- package/dist/types/utils/confluence/emoji.d.ts +16 -16
- package/dist/types-ts4.5/next-schema/full-schema.adf.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/groups/blockContentGroup.d.ts +3 -1
- package/dist/types-ts4.5/next-schema/groups/blockGroup.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/groups/blockRootOnlyGroup.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/groups/fontStyleGroup.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/groups/inlineContentGroup.d.ts +3 -1
- package/dist/types-ts4.5/next-schema/groups/inlineGroup.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/groups/linkMarkGroup.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/groups/nonNestableBlockContentGroup.d.ts +4 -25
- package/dist/types-ts4.5/next-schema/groups/searchQueryMarkGroup.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/groups/tableCellContentPseudoGroup.d.ts +4 -26
- package/dist/types-ts4.5/next-schema/marks/alignmentAndIndentation.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/marks/annotation.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/marks/border.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/breakout.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/code.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/color.d.ts +4 -3
- package/dist/types-ts4.5/next-schema/marks/confluenceInlineComment.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/dataConsumer.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/em.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/fragment.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/link.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/strike.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/strong.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/subsup.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/typeAheadQuery.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/underline.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/unsupportedMark.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/marks/unsupportedNodeAttribute.d.ts +2 -1
- package/dist/types-ts4.5/next-schema/nodes/blockCard.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/blockquote.d.ts +7 -6
- package/dist/types-ts4.5/next-schema/nodes/bodiedExtension.d.ts +5 -4
- package/dist/types-ts4.5/next-schema/nodes/bodiedSyncBlock.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/caption.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/codeBlock.d.ts +6 -5
- package/dist/types-ts4.5/next-schema/nodes/confluenceJiraIssue.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/confluenceUnsupportedBlock.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/confluenceUnsupportedInline.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/date.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/decisionItem.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/decisionList.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/embedCard.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/emoji.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/expand.d.ts +6 -5
- package/dist/types-ts4.5/next-schema/nodes/extension.d.ts +5 -4
- package/dist/types-ts4.5/next-schema/nodes/extensionFrame.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/hardBreak.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/heading.d.ts +17 -16
- package/dist/types-ts4.5/next-schema/nodes/image.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/inlineCard.d.ts +5 -4
- package/dist/types-ts4.5/next-schema/nodes/inlineExtension.d.ts +5 -4
- package/dist/types-ts4.5/next-schema/nodes/layoutColumn.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/layoutSection.d.ts +13 -12
- package/dist/types-ts4.5/next-schema/nodes/list.d.ts +5 -4
- package/dist/types-ts4.5/next-schema/nodes/media.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/mediaGroup.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/mediaInline.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/mediaSingle.d.ts +6 -56
- package/dist/types-ts4.5/next-schema/nodes/mention.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/multiBodiedExtension.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/nestedExpand.d.ts +4 -3
- package/dist/types-ts4.5/next-schema/nodes/panel.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/paragraph.d.ts +11 -10
- package/dist/types-ts4.5/next-schema/nodes/placeholder.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/rule.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/status.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/syncBlock.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/tableCellContent.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/tableNodes.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/task.d.ts +7 -6
- package/dist/types-ts4.5/next-schema/nodes/text.d.ts +12 -11
- package/dist/types-ts4.5/next-schema/nodes/unsupportedBlock.d.ts +3 -2
- package/dist/types-ts4.5/next-schema/nodes/unsupportedInline.d.ts +3 -2
- package/dist/types-ts4.5/schema/create-schema.d.ts +1 -1
- package/dist/types-ts4.5/schema/default-schema.d.ts +4 -2
- package/dist/types-ts4.5/schema/marks/border.d.ts +3 -0
- package/dist/types-ts4.5/schema/marks/data-consumer.d.ts +4 -2
- package/dist/types-ts4.5/schema/marks/fragment.d.ts +3 -2
- package/dist/types-ts4.5/schema/marks/link.d.ts +2 -1
- package/dist/types-ts4.5/schema/marks/text-color.d.ts +1 -0
- package/dist/types-ts4.5/schema/nodes/block-card.d.ts +7 -2
- package/dist/types-ts4.5/schema/nodes/blockquote.d.ts +6 -3
- package/dist/types-ts4.5/schema/nodes/bodied-extension.d.ts +4 -1
- package/dist/types-ts4.5/schema/nodes/bodied-sync-block.d.ts +4 -1
- package/dist/types-ts4.5/schema/nodes/bullet-list.d.ts +3 -2
- package/dist/types-ts4.5/schema/nodes/caption.d.ts +5 -2
- package/dist/types-ts4.5/schema/nodes/code-block.d.ts +4 -3
- package/dist/types-ts4.5/schema/nodes/confluence-jira-issue.d.ts +2 -1
- package/dist/types-ts4.5/schema/nodes/confluence-unsupported-block.d.ts +2 -1
- package/dist/types-ts4.5/schema/nodes/confluence-unsupported-inline.d.ts +2 -1
- package/dist/types-ts4.5/schema/nodes/date.d.ts +5 -2
- package/dist/types-ts4.5/schema/nodes/decision-item.d.ts +3 -1
- package/dist/types-ts4.5/schema/nodes/decision-list.d.ts +5 -2
- package/dist/types-ts4.5/schema/nodes/doc.d.ts +3 -1
- package/dist/types-ts4.5/schema/nodes/embed-card.d.ts +3 -5
- package/dist/types-ts4.5/schema/nodes/emoji.d.ts +4 -2
- package/dist/types-ts4.5/schema/nodes/expand.d.ts +6 -4
- package/dist/types-ts4.5/schema/nodes/extension.d.ts +2 -1
- package/dist/types-ts4.5/schema/nodes/hard-break.d.ts +3 -2
- package/dist/types-ts4.5/schema/nodes/heading.d.ts +5 -1
- package/dist/types-ts4.5/schema/nodes/image.d.ts +2 -1
- package/dist/types-ts4.5/schema/nodes/inline-card.d.ts +4 -2
- package/dist/types-ts4.5/schema/nodes/inline-extension.d.ts +2 -1
- package/dist/types-ts4.5/schema/nodes/layout-column.d.ts +7 -2
- package/dist/types-ts4.5/schema/nodes/layout-section.d.ts +17 -9
- package/dist/types-ts4.5/schema/nodes/list-item.d.ts +22 -20
- package/dist/types-ts4.5/schema/nodes/media-group.d.ts +4 -1
- package/dist/types-ts4.5/schema/nodes/media-single.d.ts +9 -0
- package/dist/types-ts4.5/schema/nodes/media.d.ts +2 -2
- package/dist/types-ts4.5/schema/nodes/mention.d.ts +4 -3
- package/dist/types-ts4.5/schema/nodes/multi-bodied-extension.d.ts +7 -2
- package/dist/types-ts4.5/schema/nodes/nested-expand.d.ts +5 -2
- package/dist/types-ts4.5/schema/nodes/ordered-list.d.ts +5 -4
- package/dist/types-ts4.5/schema/nodes/panel.d.ts +5 -2
- package/dist/types-ts4.5/schema/nodes/paragraph.d.ts +3 -1
- package/dist/types-ts4.5/schema/nodes/placeholder.d.ts +5 -4
- package/dist/types-ts4.5/schema/nodes/rule.d.ts +3 -2
- package/dist/types-ts4.5/schema/nodes/status.d.ts +4 -1
- package/dist/types-ts4.5/schema/nodes/sync-block.d.ts +2 -1
- package/dist/types-ts4.5/schema/nodes/tableNodes.d.ts +27 -22
- package/dist/types-ts4.5/schema/nodes/task-item.d.ts +5 -2
- package/dist/types-ts4.5/schema/nodes/task-list.d.ts +5 -2
- package/dist/types-ts4.5/schema/nodes/text.d.ts +5 -3
- package/dist/types-ts4.5/schema/nodes/unsupported-block.d.ts +2 -1
- package/dist/types-ts4.5/schema/nodes/unsupported-inline.d.ts +2 -1
- package/dist/types-ts4.5/steps/batch-attrs-step.d.ts +1 -1
- package/dist/types-ts4.5/steps/set-attrs.d.ts +2 -2
- package/dist/types-ts4.5/utils/confluence/emoji.d.ts +16 -16
- package/package.json +2 -2
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
1
|
+
import type { NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { TextDefinition as Text } from './text';
|
|
3
3
|
import type { BreakoutMarkDefinition } from '../marks/breakout';
|
|
4
4
|
import type { MarksObject, NoMark } from './types/mark';
|
|
5
5
|
export type CodeBlockBaseDefinition = {
|
|
6
6
|
attrs?: CodeBlockAttrs;
|
|
7
7
|
/**
|
|
8
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
8
9
|
* @allowUnsupportedInline true
|
|
9
10
|
*/
|
|
10
11
|
content?: Array<Text & NoMark>;
|
|
@@ -24,8 +25,8 @@ export type CodeBlockDefinition = CodeBlockBaseDefinition & NoMark;
|
|
|
24
25
|
* @name codeBlock_node
|
|
25
26
|
*/
|
|
26
27
|
export type CodeBlockWithMarksDefinition = CodeBlockBaseDefinition & MarksObject<BreakoutMarkDefinition>;
|
|
27
|
-
export declare const codeBlock:
|
|
28
|
+
export declare const codeBlock: NodeSpec;
|
|
28
29
|
export declare const toJSON: (node: PMNode) => {
|
|
29
30
|
attrs: Record<string, any>;
|
|
30
31
|
};
|
|
31
|
-
export declare const codeBlockWithLocalId:
|
|
32
|
+
export declare const codeBlockWithLocalId: NodeSpec;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
export declare const confluenceJiraIssue: NodeSpec;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
export declare const confluenceUnsupportedBlock: NodeSpec;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
export declare const confluenceUnsupportedInline: NodeSpec;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AnnotationMarkDefinition } from '../marks/annotation';
|
|
2
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
3
|
/**
|
|
3
4
|
* @name date_node
|
|
4
5
|
*/
|
|
@@ -6,15 +7,17 @@ export interface DateDefinition {
|
|
|
6
7
|
attrs: {
|
|
7
8
|
localId?: string;
|
|
8
9
|
/**
|
|
10
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
9
11
|
* @minLength 1
|
|
10
12
|
*/
|
|
11
13
|
timestamp: string;
|
|
12
14
|
};
|
|
13
15
|
/**
|
|
16
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
14
17
|
* @stage 0
|
|
15
18
|
*/
|
|
16
19
|
marks?: Array<AnnotationMarkDefinition>;
|
|
17
20
|
type: 'date';
|
|
18
21
|
}
|
|
19
|
-
export declare const date:
|
|
20
|
-
export declare const dateWithLocalId:
|
|
22
|
+
export declare const date: NodeSpec;
|
|
23
|
+
export declare const dateWithLocalId: NodeSpec;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Inline } from './types/inline-content';
|
|
2
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
3
|
/**
|
|
3
4
|
* @name decisionItem_node
|
|
4
5
|
*/
|
|
@@ -8,9 +9,10 @@ export interface DecisionItemDefinition {
|
|
|
8
9
|
state: string;
|
|
9
10
|
};
|
|
10
11
|
/**
|
|
12
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
11
13
|
* @allowUnsupportedInline true
|
|
12
14
|
*/
|
|
13
15
|
content?: Array<Inline>;
|
|
14
16
|
type: 'decisionItem';
|
|
15
17
|
}
|
|
16
|
-
export declare const decisionItem:
|
|
18
|
+
export declare const decisionItem: NodeSpec;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DecisionItemDefinition as DecisionItemNode } from './decision-item';
|
|
2
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
3
|
/**
|
|
3
4
|
* @name decisionList_node
|
|
4
5
|
*/
|
|
@@ -7,11 +8,13 @@ export interface DecisionListDefinition {
|
|
|
7
8
|
localId: string;
|
|
8
9
|
};
|
|
9
10
|
/**
|
|
11
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
10
12
|
* @minItems 1
|
|
13
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
11
14
|
* @allowUnsupportedBlock true
|
|
12
15
|
*/
|
|
13
16
|
content: Array<DecisionItemNode>;
|
|
14
17
|
type: 'decisionList';
|
|
15
18
|
}
|
|
16
|
-
export declare const decisionListSelector
|
|
17
|
-
export declare const decisionList:
|
|
19
|
+
export declare const decisionListSelector: '[data-node-type="decisionList"]';
|
|
20
|
+
export declare const decisionList: NodeSpec;
|
|
@@ -6,15 +6,17 @@ import type { BlockContent } from './types/block-content';
|
|
|
6
6
|
import type { MultiBodiedExtensionDefinition as MultiBodiedExtension } from './multi-bodied-extension';
|
|
7
7
|
import type { SyncBlockDefinition as SyncBlock } from './sync-block';
|
|
8
8
|
import type { BodiedSyncBlockDefinition as BodiedSyncBlock } from './bodied-sync-block';
|
|
9
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
9
10
|
/**
|
|
10
11
|
* @name doc_node
|
|
11
12
|
*/
|
|
12
13
|
export interface DocNode {
|
|
13
14
|
/**
|
|
15
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
14
16
|
* @allowUnsupportedBlock true
|
|
15
17
|
*/
|
|
16
18
|
content: Array<BlockContent | LayoutSection | CodeBlockWithMarks | ExpandRootOnly | ParagraphWithIndentationDefinition | MultiBodiedExtension | BodiedSyncBlock | SyncBlock>;
|
|
17
19
|
type: 'doc';
|
|
18
20
|
version: 1;
|
|
19
21
|
}
|
|
20
|
-
export declare const doc:
|
|
22
|
+
export declare const doc: NodeSpec;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import type { RichMediaAttributes } from './types/rich-media-common';
|
|
2
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
3
|
export interface EmbedCardAttributes extends RichMediaAttributes {
|
|
3
4
|
localId?: string;
|
|
4
5
|
originalHeight?: number;
|
|
5
6
|
originalWidth?: number;
|
|
6
|
-
/**
|
|
7
|
-
* @validatorFn safeUrl
|
|
8
|
-
*/
|
|
9
7
|
url: string;
|
|
10
8
|
}
|
|
11
9
|
/**
|
|
@@ -15,5 +13,5 @@ export interface EmbedCardDefinition {
|
|
|
15
13
|
attrs: EmbedCardAttributes;
|
|
16
14
|
type: 'embedCard';
|
|
17
15
|
}
|
|
18
|
-
export declare const embedCard:
|
|
19
|
-
export declare const embedCardWithLocalId:
|
|
16
|
+
export declare const embedCard: NodeSpec;
|
|
17
|
+
export declare const embedCardWithLocalId: NodeSpec;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
1
2
|
import type { AnnotationMarkDefinition } from '../marks/annotation';
|
|
2
3
|
/**
|
|
3
4
|
* @name emoji_node
|
|
@@ -5,6 +6,7 @@ import type { AnnotationMarkDefinition } from '../marks/annotation';
|
|
|
5
6
|
export interface EmojiDefinition {
|
|
6
7
|
attrs: EmojiAttributes;
|
|
7
8
|
/**
|
|
9
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
8
10
|
* @stage 0
|
|
9
11
|
*/
|
|
10
12
|
marks?: Array<AnnotationMarkDefinition>;
|
|
@@ -16,5 +18,5 @@ export interface EmojiAttributes {
|
|
|
16
18
|
shortName: string;
|
|
17
19
|
text?: string;
|
|
18
20
|
}
|
|
19
|
-
export declare const emoji:
|
|
20
|
-
export declare const emojiWithLocalId:
|
|
21
|
+
export declare const emoji: NodeSpec;
|
|
22
|
+
export declare const emojiWithLocalId: NodeSpec;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
1
|
+
import type { NodeSpec, Node as PMNode, Attrs } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { BreakoutMarkDefinition } from '../marks';
|
|
3
3
|
import type { MarksObject, NoMark } from './types/mark';
|
|
4
4
|
import type { NonNestableBlockContent } from './types/non-nestable-block-content';
|
|
@@ -13,7 +13,9 @@ export interface ExpandBaseDefinition {
|
|
|
13
13
|
title?: string;
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
16
17
|
* @minItems 1
|
|
18
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
17
19
|
* @allowUnsupportedBlock true
|
|
18
20
|
*/
|
|
19
21
|
content: Array<NonNestableBlockContent | NestedExpandDefinition>;
|
|
@@ -27,8 +29,8 @@ export type ExpandDefinition = ExpandBaseDefinition & NoMark;
|
|
|
27
29
|
* @name expand_root_only_node
|
|
28
30
|
*/
|
|
29
31
|
export type ExpandRootOnlyDefinition = ExpandBaseDefinition & MarksObject<BreakoutMarkDefinition>;
|
|
30
|
-
export declare const expandWithNestedExpand:
|
|
31
|
-
export declare const expandWithNestedExpandLocalId:
|
|
32
|
+
export declare const expandWithNestedExpand: NodeSpec;
|
|
33
|
+
export declare const expandWithNestedExpandLocalId: NodeSpec;
|
|
32
34
|
export declare const toJSON: (node: PMNode) => {
|
|
33
|
-
attrs:
|
|
35
|
+
attrs: Attrs;
|
|
34
36
|
};
|
|
@@ -2,6 +2,7 @@ import type { ExtensionAttributes } from './types/extensions';
|
|
|
2
2
|
import type { MarksObject } from './types/mark';
|
|
3
3
|
import type { DataConsumerDefinition } from '../marks/data-consumer';
|
|
4
4
|
import type { FragmentDefinition } from '../marks/fragment';
|
|
5
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
5
6
|
/**
|
|
6
7
|
* @name extension_node
|
|
7
8
|
*/
|
|
@@ -14,4 +15,4 @@ export interface ExtensionBaseDefinition {
|
|
|
14
15
|
* @name extension_with_marks_node
|
|
15
16
|
*/
|
|
16
17
|
export type ExtensionDefinition = ExtensionBaseDefinition & MarksObject<DataConsumerDefinition | FragmentDefinition>;
|
|
17
|
-
export declare const extension:
|
|
18
|
+
export declare const extension: NodeSpec;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
1
2
|
/**
|
|
2
3
|
* @name hardBreak_node
|
|
3
4
|
*/
|
|
4
5
|
export interface HardBreakDefinition {
|
|
5
|
-
type: 'hardBreak';
|
|
6
6
|
attrs?: {
|
|
7
7
|
text?: '\n';
|
|
8
8
|
};
|
|
9
|
+
type: 'hardBreak';
|
|
9
10
|
}
|
|
10
|
-
export declare const hardBreak:
|
|
11
|
+
export declare const hardBreak: NodeSpec;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import type { AlignmentMarkDefinition, IndentationMarkDefinition } from '../marks';
|
|
2
2
|
import type { MarksObject, NoMark } from './types/mark';
|
|
3
3
|
import type { Inline } from './types/inline-content';
|
|
4
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
4
5
|
/**
|
|
5
6
|
* @name heading_node
|
|
6
7
|
*/
|
|
7
8
|
export interface HeadingBaseDefinition {
|
|
8
9
|
attrs: {
|
|
9
10
|
/**
|
|
11
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
10
12
|
* @minimum 1
|
|
13
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
11
14
|
* @maximum 6
|
|
12
15
|
*/
|
|
13
16
|
level: number;
|
|
@@ -17,6 +20,7 @@ export interface HeadingBaseDefinition {
|
|
|
17
20
|
localId?: string;
|
|
18
21
|
};
|
|
19
22
|
/**
|
|
23
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
20
24
|
* @allowUnsupportedInline true
|
|
21
25
|
*/
|
|
22
26
|
content?: Array<Inline>;
|
|
@@ -36,4 +40,4 @@ export type HeadingWithAlignmentDefinition = HeadingBaseDefinition & MarksObject
|
|
|
36
40
|
*/
|
|
37
41
|
export type HeadingWithIndentationDefinition = HeadingBaseDefinition & MarksObject<IndentationMarkDefinition>;
|
|
38
42
|
export type HeadingWithMarksDefinition = HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition;
|
|
39
|
-
export declare const heading:
|
|
43
|
+
export declare const heading: NodeSpec;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
export declare const image: NodeSpec;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import type { CardAttributes } from './block-card';
|
|
2
2
|
import type { AnnotationMarkDefinition } from '../marks/annotation';
|
|
3
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
3
4
|
/**
|
|
4
5
|
* @name inlineCard_node
|
|
5
6
|
*/
|
|
6
7
|
export interface InlineCardDefinition {
|
|
7
8
|
attrs: CardAttributes;
|
|
8
9
|
/**
|
|
10
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
9
11
|
* @stage 0
|
|
10
12
|
*/
|
|
11
13
|
marks?: Array<AnnotationMarkDefinition>;
|
|
12
14
|
type: 'inlineCard';
|
|
13
15
|
}
|
|
14
|
-
export declare const inlineCard:
|
|
15
|
-
export declare const inlineCardWithLocalId:
|
|
16
|
+
export declare const inlineCard: NodeSpec;
|
|
17
|
+
export declare const inlineCardWithLocalId: NodeSpec;
|
|
@@ -2,6 +2,7 @@ import type { InlineExtensionAttributes } from './types/extensions';
|
|
|
2
2
|
import type { MarksObject } from './types/mark';
|
|
3
3
|
import type { DataConsumerDefinition } from '../marks/data-consumer';
|
|
4
4
|
import type { FragmentDefinition } from '../marks/fragment';
|
|
5
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
5
6
|
/**
|
|
6
7
|
* @name inlineExtension_node
|
|
7
8
|
*/
|
|
@@ -14,4 +15,4 @@ export interface InlineExtensionBaseDefinition {
|
|
|
14
15
|
* @name inlineExtension_with_marks_node
|
|
15
16
|
*/
|
|
16
17
|
export type InlineExtensionDefinition = InlineExtensionBaseDefinition & MarksObject<DataConsumerDefinition | FragmentDefinition>;
|
|
17
|
-
export declare const inlineExtension:
|
|
18
|
+
export declare const inlineExtension: NodeSpec;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BlockContent } from './types/block-content';
|
|
2
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
3
|
/**
|
|
3
4
|
* @name layoutColumn_node
|
|
4
5
|
*/
|
|
@@ -6,17 +7,21 @@ export interface LayoutColumnDefinition {
|
|
|
6
7
|
attrs: {
|
|
7
8
|
localId?: string;
|
|
8
9
|
/**
|
|
10
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
9
11
|
* @minimum 0
|
|
12
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
10
13
|
* @maximum 100
|
|
11
14
|
*/
|
|
12
15
|
width: number;
|
|
13
16
|
};
|
|
14
17
|
/**
|
|
18
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
15
19
|
* @minItems 1
|
|
20
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
16
21
|
* @allowUnsupportedBlock true
|
|
17
22
|
*/
|
|
18
23
|
content: Array<BlockContent>;
|
|
19
24
|
type: 'layoutColumn';
|
|
20
25
|
}
|
|
21
|
-
export declare const layoutColumn:
|
|
22
|
-
export declare const layoutColumnWithLocalId:
|
|
26
|
+
export declare const layoutColumn: NodeSpec;
|
|
27
|
+
export declare const layoutColumnWithLocalId: NodeSpec;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { LayoutColumnDefinition } from './layout-column';
|
|
2
2
|
import type { BreakoutMarkDefinition } from '../marks';
|
|
3
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
3
4
|
/**
|
|
4
5
|
* @name layoutSection_node
|
|
5
6
|
*/
|
|
@@ -19,8 +20,11 @@ export type LayoutSectionBaseDefinition = {
|
|
|
19
20
|
*/
|
|
20
21
|
export type LayoutSectionFullDefinition = LayoutSectionBaseDefinition & {
|
|
21
22
|
/**
|
|
23
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
22
24
|
* @minItems 2
|
|
25
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
23
26
|
* @maxItems 3
|
|
27
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
24
28
|
* @allowUnsupportedBlock true
|
|
25
29
|
*/
|
|
26
30
|
content: Array<LayoutColumnDefinition>;
|
|
@@ -28,22 +32,26 @@ export type LayoutSectionFullDefinition = LayoutSectionBaseDefinition & {
|
|
|
28
32
|
type: 'layoutSection';
|
|
29
33
|
};
|
|
30
34
|
/**
|
|
35
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
31
36
|
* @stage 0
|
|
32
37
|
* @name layoutSection_with_single_column_node
|
|
33
38
|
*/
|
|
34
39
|
export type LayoutSectionWithSingleColumnDefinition = LayoutSectionBaseDefinition & {
|
|
35
40
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
41
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
42
|
+
* @minItems 1
|
|
43
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
44
|
+
* @maxItems 3
|
|
45
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
46
|
+
* @allowUnsupportedBlock true
|
|
47
|
+
*/
|
|
40
48
|
content: Array<LayoutColumnDefinition>;
|
|
41
49
|
marks?: Array<BreakoutMarkDefinition>;
|
|
42
50
|
type: 'layoutSection';
|
|
43
51
|
};
|
|
44
52
|
export type LayoutSectionDefinition = LayoutSectionFullDefinition | LayoutSectionWithSingleColumnDefinition;
|
|
45
|
-
export declare const layoutSection:
|
|
46
|
-
export declare const layoutSectionFull:
|
|
47
|
-
export declare const layoutSectionWithSingleColumn:
|
|
48
|
-
export declare const layoutSectionWithLocalId:
|
|
49
|
-
export declare const layoutSectionWithSingleColumnLocalId:
|
|
53
|
+
export declare const layoutSection: NodeSpec;
|
|
54
|
+
export declare const layoutSectionFull: NodeSpec;
|
|
55
|
+
export declare const layoutSectionWithSingleColumn: NodeSpec;
|
|
56
|
+
export declare const layoutSectionWithLocalId: NodeSpec;
|
|
57
|
+
export declare const layoutSectionWithSingleColumnLocalId: NodeSpec;
|
|
@@ -1,34 +1,36 @@
|
|
|
1
|
+
import type { NodeSpec, AttributeSpec, Node, DOMOutputSpec, TagParseRule } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
1
3
|
/**
|
|
2
4
|
* @name list_item
|
|
3
5
|
* @description this node allows task-list to be nested inside list-item
|
|
4
6
|
*/
|
|
5
|
-
export declare const listItem:
|
|
6
|
-
export declare const listItemWithLocalId:
|
|
7
|
+
export declare const listItem: NodeSpec;
|
|
8
|
+
export declare const listItemWithLocalId: NodeSpec;
|
|
7
9
|
export declare const listItemWithDecisionStage0: {
|
|
8
|
-
content: string;
|
|
9
|
-
marks?: string;
|
|
10
|
-
group?: string;
|
|
11
|
-
inline?: boolean;
|
|
12
10
|
atom?: boolean;
|
|
13
11
|
attrs?: {
|
|
14
|
-
[name: string]:
|
|
12
|
+
[name: string]: AttributeSpec;
|
|
15
13
|
};
|
|
16
|
-
selectable?: boolean;
|
|
17
|
-
draggable?: boolean;
|
|
18
14
|
code?: boolean;
|
|
19
|
-
|
|
15
|
+
content: string;
|
|
16
|
+
defining?: boolean;
|
|
20
17
|
definingAsContext?: boolean;
|
|
21
18
|
definingForContent?: boolean;
|
|
22
|
-
|
|
23
|
-
isolating?: boolean;
|
|
24
|
-
toDOM?: (node: import("prosemirror-model").Node) => import("prosemirror-model").DOMOutputSpec;
|
|
25
|
-
parseDOM?: readonly import("prosemirror-model").TagParseRule[];
|
|
26
|
-
toDebugString?: (node: import("prosemirror-model").Node) => string;
|
|
27
|
-
leafText?: (node: import("prosemirror-model").Node) => string;
|
|
28
|
-
linebreakReplacement?: boolean;
|
|
29
|
-
disableDropCursor?: boolean | ((view: import("prosemirror-view").EditorView, pos: {
|
|
30
|
-
pos: number;
|
|
19
|
+
disableDropCursor?: boolean | ((view: EditorView, pos: {
|
|
31
20
|
inside: number;
|
|
21
|
+
pos: number;
|
|
32
22
|
}, event: DragEvent) => boolean);
|
|
23
|
+
draggable?: boolean;
|
|
24
|
+
group?: string;
|
|
25
|
+
inline?: boolean;
|
|
26
|
+
isolating?: boolean;
|
|
27
|
+
leafText?: (node: Node) => string;
|
|
28
|
+
linebreakReplacement?: boolean;
|
|
29
|
+
marks?: string;
|
|
30
|
+
parseDOM?: readonly TagParseRule[];
|
|
31
|
+
selectable?: boolean;
|
|
32
|
+
toDebugString?: (node: Node) => string;
|
|
33
|
+
toDOM?: (node: Node) => DOMOutputSpec;
|
|
34
|
+
whitespace?: 'pre' | 'normal';
|
|
33
35
|
};
|
|
34
|
-
export declare const listItemWithNestedDecisionAndLocalIdStage0:
|
|
36
|
+
export declare const listItemWithNestedDecisionAndLocalIdStage0: NodeSpec;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import type { MediaDefinition as Media } from './media';
|
|
2
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
3
|
/**
|
|
3
4
|
* @name mediaGroup_node
|
|
4
5
|
*/
|
|
5
6
|
export interface MediaGroupDefinition {
|
|
6
7
|
/**
|
|
8
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
7
9
|
* @minItems 1
|
|
10
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
8
11
|
* @allowUnsupportedBlock true
|
|
9
12
|
*/
|
|
10
13
|
content: Array<Media>;
|
|
11
14
|
type: 'mediaGroup';
|
|
12
15
|
}
|
|
13
|
-
export declare const mediaGroup:
|
|
16
|
+
export declare const mediaGroup: NodeSpec;
|
|
@@ -6,6 +6,7 @@ import type { CaptionDefinition as Caption } from './caption';
|
|
|
6
6
|
export type MediaSingleDefinition = MediaSingleFullDefinition | MediaSingleWithCaptionDefinition;
|
|
7
7
|
/**
|
|
8
8
|
* @name mediaSingle_node
|
|
9
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
9
10
|
* @additionalProperties true
|
|
10
11
|
*/
|
|
11
12
|
export interface MediaSingleBaseDefinition {
|
|
@@ -14,12 +15,16 @@ export interface MediaSingleBaseDefinition {
|
|
|
14
15
|
type: 'mediaSingle';
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
18
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
17
19
|
* @additionalProperties true
|
|
18
20
|
*/
|
|
19
21
|
export interface MediaCaptionContent {
|
|
20
22
|
/**
|
|
23
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
21
24
|
* @minItems 1
|
|
25
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
22
26
|
* @maxItems 2
|
|
27
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
23
28
|
* @allowUnsupportedBlock true
|
|
24
29
|
*/
|
|
25
30
|
content: [
|
|
@@ -32,12 +37,16 @@ export interface MediaCaptionContent {
|
|
|
32
37
|
*/
|
|
33
38
|
export type MediaSingleWithCaptionDefinition = MediaSingleBaseDefinition & MediaCaptionContent;
|
|
34
39
|
/**
|
|
40
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
35
41
|
* @additionalProperties true
|
|
36
42
|
*/
|
|
37
43
|
export interface MediaSingleFullContent {
|
|
38
44
|
/**
|
|
45
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
39
46
|
* @minItems 1
|
|
47
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
40
48
|
* @maxItems 1
|
|
49
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
41
50
|
* @allowUnsupportedBlock true
|
|
42
51
|
*/
|
|
43
52
|
content: Array<Media>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
1
|
+
import type { AttributeSpec, NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { BorderMarkDefinition } from '../marks/border';
|
|
3
3
|
import type { LinkDefinition } from '../marks/link';
|
|
4
4
|
import type { AnnotationMarkDefinition } from '../marks/annotation';
|
|
@@ -56,7 +56,7 @@ export interface ExternalMediaAttributes {
|
|
|
56
56
|
}
|
|
57
57
|
export type MediaADFAttrs = MediaAttributes | ExternalMediaAttributes;
|
|
58
58
|
export declare const defaultAttrs: {
|
|
59
|
-
[name: string]:
|
|
59
|
+
[name: string]: AttributeSpec;
|
|
60
60
|
} | undefined;
|
|
61
61
|
export interface MutableMediaAttributes extends MediaAttributes {
|
|
62
62
|
[key: string]: string | number | undefined | null | boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
1
|
+
import type { Attrs, NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { AnnotationMarkDefinition } from '../marks/annotation';
|
|
3
3
|
export declare enum USER_TYPES {
|
|
4
4
|
DEFAULT = "DEFAULT",
|
|
@@ -19,12 +19,13 @@ export interface MentionAttributes {
|
|
|
19
19
|
export interface MentionDefinition {
|
|
20
20
|
attrs: MentionAttributes;
|
|
21
21
|
/**
|
|
22
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
22
23
|
* @stage 0
|
|
23
24
|
*/
|
|
24
25
|
marks?: Array<AnnotationMarkDefinition>;
|
|
25
26
|
type: 'mention';
|
|
26
27
|
}
|
|
27
|
-
export declare const mention:
|
|
28
|
+
export declare const mention: NodeSpec;
|
|
28
29
|
export declare const toJSON: (node: PMNode) => {
|
|
29
|
-
attrs:
|
|
30
|
+
attrs: Attrs;
|
|
30
31
|
};
|
|
@@ -16,13 +16,16 @@ import type { ExtensionDefinition as Extension } from './extension';
|
|
|
16
16
|
import type { BlockCardDefinition as BlockCard } from './block-card';
|
|
17
17
|
import type { EmbedCardDefinition as EmbedCard } from './embed-card';
|
|
18
18
|
import type { DataConsumerDefinition, FragmentDefinition } from '../marks';
|
|
19
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
19
20
|
/**
|
|
21
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
20
22
|
* @stage 0
|
|
21
23
|
* @name extensionFrame_node
|
|
22
24
|
* @description Wraps the block content
|
|
23
25
|
*/
|
|
24
26
|
export interface ExtensionFrameDefinition {
|
|
25
27
|
/**
|
|
28
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
26
29
|
* @minItems 1
|
|
27
30
|
*/
|
|
28
31
|
content: Array<BodiedExtension | Panel | Paragraph | Blockquote | OrderedList | BulletList | Rule | Heading | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Table | Extension | BlockCard | EmbedCard>;
|
|
@@ -32,8 +35,9 @@ export interface ExtensionFrameDefinition {
|
|
|
32
35
|
/**
|
|
33
36
|
* @returns NodeSpec for ExtensionFrameDefinition
|
|
34
37
|
*/
|
|
35
|
-
export declare const extensionFrame:
|
|
38
|
+
export declare const extensionFrame: NodeSpec;
|
|
36
39
|
/**
|
|
40
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
37
41
|
* @stage 0
|
|
38
42
|
* @name multiBodiedExtension_node
|
|
39
43
|
* @description Wraps multiple extensionFrame objects.
|
|
@@ -41,10 +45,11 @@ export declare const extensionFrame: import("prosemirror-model").NodeSpec;
|
|
|
41
45
|
export interface MultiBodiedExtensionDefinition {
|
|
42
46
|
attrs: ExtensionAttributes;
|
|
43
47
|
/**
|
|
48
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
44
49
|
* @minLength 1
|
|
45
50
|
*/
|
|
46
51
|
content: Array<ExtensionFrameDefinition>;
|
|
47
52
|
marks?: Array<any>;
|
|
48
53
|
type: 'multiBodiedExtension';
|
|
49
54
|
}
|
|
50
|
-
export declare const multiBodiedExtension:
|
|
55
|
+
export declare const multiBodiedExtension: NodeSpec;
|
|
@@ -10,9 +10,12 @@ import type { DecisionListDefinition as DecisionList } from './decision-list';
|
|
|
10
10
|
import type { RuleDefinition as Rule } from './rule';
|
|
11
11
|
import type { PanelDefinition as Panel } from './panel';
|
|
12
12
|
import type { BlockQuoteDefinition as BlockQuote } from './blockquote';
|
|
13
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
13
14
|
/**
|
|
14
15
|
* @name nestedExpand_content
|
|
16
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
15
17
|
* @minItems 1
|
|
18
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
16
19
|
* @allowUnsupportedBlock true
|
|
17
20
|
*/
|
|
18
21
|
export type NestedExpandContent = Array<Paragraph | Heading | MediaSingle | MediaGroup | CodeBlock | BulletList | OrderedList | TaskList | DecisionList | Rule | Panel | BlockQuote>;
|
|
@@ -36,5 +39,5 @@ export type NestedExpandDefinition = NestedExpandBaseDefinition & NoMark;
|
|
|
36
39
|
* @name nestedExpand
|
|
37
40
|
* @description an expand that can be nested (eg. inside table, layout).
|
|
38
41
|
*/
|
|
39
|
-
export declare const nestedExpand:
|
|
40
|
-
export declare const nestedExpandWithLocalId:
|
|
42
|
+
export declare const nestedExpand: NodeSpec;
|
|
43
|
+
export declare const nestedExpandWithLocalId: NodeSpec;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
1
2
|
export declare const orderedListSelector = ".ak-ol";
|
|
2
|
-
export declare const orderedList:
|
|
3
|
-
export declare const orderedListWithLocalId:
|
|
4
|
-
export declare const orderedListWithOrder:
|
|
5
|
-
export declare const orderedListWithOrderAndLocalId:
|
|
3
|
+
export declare const orderedList: NodeSpec;
|
|
4
|
+
export declare const orderedListWithLocalId: NodeSpec;
|
|
5
|
+
export declare const orderedListWithOrder: NodeSpec;
|
|
6
|
+
export declare const orderedListWithOrderAndLocalId: NodeSpec;
|
|
@@ -8,6 +8,7 @@ import type { MediaSingleDefinition as MediaSingle } from './media-single';
|
|
|
8
8
|
import type { DecisionListDefinition as DecisionList } from './decision-list';
|
|
9
9
|
import type { TaskListDefinition as TaskList } from './task-list';
|
|
10
10
|
import type { RuleDefinition as Rule } from './rule';
|
|
11
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
11
12
|
export declare enum PanelType {
|
|
12
13
|
INFO = "info",
|
|
13
14
|
NOTE = "note",
|
|
@@ -31,7 +32,9 @@ export interface PanelAttributes {
|
|
|
31
32
|
export interface PanelDefinition {
|
|
32
33
|
attrs: PanelAttributes;
|
|
33
34
|
/**
|
|
35
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
34
36
|
* @minItems 1
|
|
37
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
35
38
|
* @allowUnsupportedBlock true
|
|
36
39
|
*/
|
|
37
40
|
content: Array<Paragraph | Heading | OrderedList | BulletList | BlockCard | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Rule>;
|
|
@@ -46,5 +49,5 @@ export interface DOMAttributes {
|
|
|
46
49
|
* Specifically, it allows Media, action, code-block, rule and decision nodes in
|
|
47
50
|
* addition to content allowed inside panel
|
|
48
51
|
*/
|
|
49
|
-
export declare const extendedPanel: (allowCustomPanel: boolean) =>
|
|
50
|
-
export declare const extendedPanelWithLocalId: (allowCustomPanel: boolean) =>
|
|
52
|
+
export declare const extendedPanel: (allowCustomPanel: boolean) => NodeSpec;
|
|
53
|
+
export declare const extendedPanelWithLocalId: (allowCustomPanel: boolean) => NodeSpec;
|