@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,6 +1,7 @@
|
|
|
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
|
export interface ParagraphAttributes {
|
|
5
6
|
/**
|
|
6
7
|
* An optional UUID for unique identification of the node
|
|
@@ -13,6 +14,7 @@ export interface ParagraphAttributes {
|
|
|
13
14
|
export interface ParagraphBaseDefinition {
|
|
14
15
|
attrs?: ParagraphAttributes;
|
|
15
16
|
/**
|
|
17
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
16
18
|
* @allowUnsupportedInline true
|
|
17
19
|
*/
|
|
18
20
|
content?: Array<Inline>;
|
|
@@ -40,4 +42,4 @@ export type ParagraphWithAlignmentDefinition = ParagraphBaseDefinition & MarksOb
|
|
|
40
42
|
*/
|
|
41
43
|
export type ParagraphWithIndentationDefinition = ParagraphBaseDefinition & MarksObject<IndentationMarkDefinition>;
|
|
42
44
|
export type ParagraphWithMarksDefinition = ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition;
|
|
43
|
-
export declare const paragraph:
|
|
45
|
+
export declare const paragraph: NodeSpec;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
1
2
|
/**
|
|
2
3
|
* @name placeholder_node
|
|
3
4
|
*/
|
|
4
5
|
export interface PlaceholderDefinition {
|
|
5
|
-
type: 'placeholder';
|
|
6
6
|
attrs: {
|
|
7
|
-
text: string;
|
|
8
7
|
localId?: string;
|
|
8
|
+
text: string;
|
|
9
9
|
};
|
|
10
|
+
type: 'placeholder';
|
|
10
11
|
}
|
|
11
|
-
export declare const placeholder:
|
|
12
|
-
export declare const placeholderWithLocalId:
|
|
12
|
+
export declare const placeholder: NodeSpec;
|
|
13
|
+
export declare const placeholderWithLocalId: NodeSpec;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
1
2
|
/**
|
|
2
3
|
* @name rule_node
|
|
3
4
|
*/
|
|
@@ -7,5 +8,5 @@ export interface RuleDefinition {
|
|
|
7
8
|
};
|
|
8
9
|
type: 'rule';
|
|
9
10
|
}
|
|
10
|
-
export declare const rule:
|
|
11
|
-
export declare const ruleWithLocalId:
|
|
11
|
+
export declare const rule: NodeSpec;
|
|
12
|
+
export declare const ruleWithLocalId: 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 status_node
|
|
4
5
|
*/
|
|
@@ -11,14 +12,16 @@ export interface StatusDefinition {
|
|
|
11
12
|
*/
|
|
12
13
|
style?: string;
|
|
13
14
|
/**
|
|
15
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
14
16
|
* @minLength 1
|
|
15
17
|
*/
|
|
16
18
|
text: string;
|
|
17
19
|
};
|
|
18
20
|
/**
|
|
21
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
19
22
|
* @stage 0
|
|
20
23
|
*/
|
|
21
24
|
marks?: Array<AnnotationMarkDefinition>;
|
|
22
25
|
type: 'status';
|
|
23
26
|
}
|
|
24
|
-
export declare const status:
|
|
27
|
+
export declare const status: NodeSpec;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
1
2
|
import type { BreakoutMarkDefinition } from '../marks';
|
|
2
3
|
export interface SyncBlockAttrs {
|
|
3
4
|
/**
|
|
@@ -19,4 +20,4 @@ export interface SyncBlockDefinition {
|
|
|
19
20
|
marks?: Array<BreakoutMarkDefinition>;
|
|
20
21
|
type: 'syncBlock';
|
|
21
22
|
}
|
|
22
|
-
export declare const syncBlock:
|
|
23
|
+
export declare const syncBlock: 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 { PanelDefinition as Panel } from './panel';
|
|
3
3
|
import type { ParagraphDefinition as Paragraph, ParagraphWithAlignmentDefinition as ParagraphWithMarks } from './paragraph';
|
|
4
4
|
import type { BlockQuoteDefinition as Blockquote } from './blockquote';
|
|
@@ -23,10 +23,10 @@ export interface CellAttributes {
|
|
|
23
23
|
rowspan?: number;
|
|
24
24
|
}
|
|
25
25
|
export declare const tablePrefixSelector = "pm-table";
|
|
26
|
-
export declare const tableCellSelector
|
|
27
|
-
export declare const tableHeaderSelector
|
|
28
|
-
export declare const tableCellContentWrapperSelector
|
|
29
|
-
export declare const tableCellContentDomSelector
|
|
26
|
+
export declare const tableCellSelector: 'pm-table-cell-content-wrap';
|
|
27
|
+
export declare const tableHeaderSelector: 'pm-table-header-content-wrap';
|
|
28
|
+
export declare const tableCellContentWrapperSelector: 'pm-table-cell-nodeview-wrapper';
|
|
29
|
+
export declare const tableCellContentDomSelector: 'pm-table-cell-nodeview-content-dom';
|
|
30
30
|
export declare const getCellAttrs: (dom: HTMLElement, defaultValues?: CellAttributes) => {
|
|
31
31
|
background: string | null;
|
|
32
32
|
colspan: number;
|
|
@@ -61,6 +61,7 @@ export interface TableAttributes {
|
|
|
61
61
|
isNumberColumnEnabled?: boolean;
|
|
62
62
|
layout?: Layout;
|
|
63
63
|
/**
|
|
64
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
64
65
|
* @minLength 1
|
|
65
66
|
*/
|
|
66
67
|
localId?: string;
|
|
@@ -72,6 +73,7 @@ export interface TableAttributes {
|
|
|
72
73
|
export interface TableDefinition {
|
|
73
74
|
attrs?: TableAttributes;
|
|
74
75
|
/**
|
|
76
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
75
77
|
* @minItems 1
|
|
76
78
|
*/
|
|
77
79
|
content: Array<TableRow>;
|
|
@@ -87,7 +89,9 @@ export interface TableRow {
|
|
|
87
89
|
}
|
|
88
90
|
/**
|
|
89
91
|
* @name table_cell_content
|
|
92
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
90
93
|
* @minItems 1
|
|
94
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
91
95
|
* @allowUnsupportedBlock true
|
|
92
96
|
*/
|
|
93
97
|
export type TableCellContent = Array<Panel | Paragraph | ParagraphWithMarks | Blockquote | OrderedList | BulletList | Rule | Heading | HeadingWithMarks | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Extension | BlockCard | NestedExpand | EmbedCard>;
|
|
@@ -110,6 +114,7 @@ export interface TableHeader {
|
|
|
110
114
|
export interface TableWithNestedTableDefinition {
|
|
111
115
|
attrs?: TableAttributes;
|
|
112
116
|
/**
|
|
117
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
113
118
|
* @minItems 1
|
|
114
119
|
*/
|
|
115
120
|
content: Array<TableRow>;
|
|
@@ -131,29 +136,29 @@ export interface TableHeaderWithNestedTableDefinition {
|
|
|
131
136
|
type: 'tableHeader';
|
|
132
137
|
}
|
|
133
138
|
/** Includes table width attribute */
|
|
134
|
-
export declare const table:
|
|
139
|
+
export declare const table: NodeSpec;
|
|
135
140
|
/** @deprecated Do not use, instead use the regular `table` export */
|
|
136
|
-
export declare const tableWithCustomWidth:
|
|
137
|
-
export declare const tableStage0:
|
|
141
|
+
export declare const tableWithCustomWidth: NodeSpec;
|
|
142
|
+
export declare const tableStage0: NodeSpec;
|
|
138
143
|
export declare const tableToJSON: (node: PmNode) => {
|
|
139
|
-
attrs:
|
|
144
|
+
attrs: Attrs;
|
|
140
145
|
};
|
|
141
|
-
export declare const tableRow:
|
|
142
|
-
export declare const tableCell:
|
|
146
|
+
export declare const tableRow: NodeSpec;
|
|
147
|
+
export declare const tableCell: NodeSpec;
|
|
143
148
|
export declare const toJSONTableCell: (node: PmNode) => {
|
|
144
149
|
attrs: Record<string, any>;
|
|
145
150
|
};
|
|
146
|
-
export declare const tableHeader:
|
|
151
|
+
export declare const tableHeader: NodeSpec;
|
|
147
152
|
export declare const toJSONTableHeader: (node: PmNode) => {
|
|
148
153
|
attrs: Record<string, any>;
|
|
149
154
|
};
|
|
150
|
-
export declare const tableWithNestedTable:
|
|
151
|
-
export declare const tableRowWithNestedTable:
|
|
152
|
-
export declare const tableCellWithNestedTable:
|
|
153
|
-
export declare const tableHeaderWithNestedTable:
|
|
154
|
-
export declare const tableRowWithLocalId:
|
|
155
|
-
export declare const tableCellWithLocalId:
|
|
156
|
-
export declare const tableHeaderWithLocalId:
|
|
157
|
-
export declare const tableRowWithNestedTableWithLocalId:
|
|
158
|
-
export declare const tableCellWithNestedTableWithLocalId:
|
|
159
|
-
export declare const tableHeaderWithNestedTableWithLocalId:
|
|
155
|
+
export declare const tableWithNestedTable: NodeSpec;
|
|
156
|
+
export declare const tableRowWithNestedTable: NodeSpec;
|
|
157
|
+
export declare const tableCellWithNestedTable: NodeSpec;
|
|
158
|
+
export declare const tableHeaderWithNestedTable: NodeSpec;
|
|
159
|
+
export declare const tableRowWithLocalId: NodeSpec;
|
|
160
|
+
export declare const tableCellWithLocalId: NodeSpec;
|
|
161
|
+
export declare const tableHeaderWithLocalId: NodeSpec;
|
|
162
|
+
export declare const tableRowWithNestedTableWithLocalId: NodeSpec;
|
|
163
|
+
export declare const tableCellWithNestedTableWithLocalId: NodeSpec;
|
|
164
|
+
export declare const tableHeaderWithNestedTableWithLocalId: NodeSpec;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Inline } from './types/inline-content';
|
|
2
2
|
import type { ParagraphDefinition as Paragraph } from './paragraph';
|
|
3
3
|
import type { ExtensionDefinition as Extension } from './extension';
|
|
4
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
4
5
|
/**
|
|
5
6
|
* @name taskItem_node
|
|
6
7
|
*/
|
|
@@ -10,6 +11,7 @@ export interface TaskItemDefinition {
|
|
|
10
11
|
state: 'TODO' | 'DONE';
|
|
11
12
|
};
|
|
12
13
|
/**
|
|
14
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
13
15
|
* @allowUnsupportedInline true
|
|
14
16
|
*/
|
|
15
17
|
content?: Array<Inline>;
|
|
@@ -24,10 +26,11 @@ export interface BlockTaskItemDefinition {
|
|
|
24
26
|
state: 'TODO' | 'DONE';
|
|
25
27
|
};
|
|
26
28
|
/**
|
|
29
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
27
30
|
* @allowUnsupportedInline true
|
|
28
31
|
*/
|
|
29
32
|
content?: Array<Paragraph | Extension>;
|
|
30
33
|
type: 'blockTaskItem';
|
|
31
34
|
}
|
|
32
|
-
export declare const taskItem:
|
|
33
|
-
export declare const blockTaskItem:
|
|
35
|
+
export declare const taskItem: NodeSpec;
|
|
36
|
+
export declare const blockTaskItem: NodeSpec;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { TaskItemDefinition as TaskItemNode, BlockTaskItemDefinition as BlockTaskItem } from './task-item';
|
|
2
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
3
|
export interface TaskListContent extends Array<TaskItemNode | TaskListDefinition | BlockTaskItem> {
|
|
3
4
|
0: TaskItemNode | BlockTaskItem;
|
|
4
5
|
}
|
|
@@ -10,11 +11,13 @@ export interface TaskListDefinition {
|
|
|
10
11
|
localId: string;
|
|
11
12
|
};
|
|
12
13
|
/**
|
|
14
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
13
15
|
* @minItems 1
|
|
16
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
14
17
|
* @allowUnsupportedBlock true
|
|
15
18
|
*/
|
|
16
19
|
content: TaskListContent;
|
|
17
20
|
type: 'taskList';
|
|
18
21
|
}
|
|
19
|
-
export declare const taskListSelector
|
|
20
|
-
export declare const taskList:
|
|
22
|
+
export declare const taskListSelector: '[data-node-type="actionList"]';
|
|
23
|
+
export declare const taskList: NodeSpec;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
1
2
|
/**
|
|
2
3
|
* @name text_node
|
|
3
4
|
*/
|
|
4
5
|
export interface TextDefinition {
|
|
5
|
-
|
|
6
|
+
marks?: Array<any>;
|
|
6
7
|
/**
|
|
8
|
+
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
7
9
|
* @minLength 1
|
|
8
10
|
*/
|
|
9
11
|
text: string;
|
|
10
|
-
|
|
12
|
+
type: 'text';
|
|
11
13
|
}
|
|
12
|
-
export declare const text:
|
|
14
|
+
export declare const text: NodeSpec;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
export declare const unsupportedBlock: NodeSpec;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
export declare const unsupportedInline: NodeSpec;
|
|
@@ -63,9 +63,9 @@ export declare class BatchAttrsStep extends Step {
|
|
|
63
63
|
invert(doc: PMNode): BatchAttrsStep;
|
|
64
64
|
map(mapping: Mappable): BatchAttrsStep | null;
|
|
65
65
|
toJSON(): {
|
|
66
|
-
stepType: string;
|
|
67
66
|
data: BatchAttrsStepData[];
|
|
68
67
|
inverted: boolean;
|
|
68
|
+
stepType: string;
|
|
69
69
|
};
|
|
70
70
|
static fromJSON(_schema: Schema, json: {
|
|
71
71
|
data: Array<Record<string, unknown>>;
|
|
@@ -13,9 +13,9 @@ export declare class SetAttrsStep extends Step {
|
|
|
13
13
|
invert(doc: ProseMirrorNode): SetAttrsStep;
|
|
14
14
|
map(mapping: Mappable): SetAttrsStep | null;
|
|
15
15
|
toJSON(): {
|
|
16
|
-
stepType: string;
|
|
17
|
-
pos: number;
|
|
18
16
|
attrs: object;
|
|
17
|
+
pos: number;
|
|
18
|
+
stepType: string;
|
|
19
19
|
};
|
|
20
20
|
static fromJSON(_schema: Schema, json: {
|
|
21
21
|
attrs: object;
|
|
@@ -8,28 +8,28 @@
|
|
|
8
8
|
* will be mapped to Emoji Id '2b50' (:star:) with preserving ac:name as shortName attribute;
|
|
9
9
|
*/
|
|
10
10
|
declare const acNameToEmojiMap: {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
'blue-star': string[];
|
|
12
|
+
'broken-heart': string[];
|
|
13
13
|
cheeky: string[];
|
|
14
|
-
laugh: string[];
|
|
15
|
-
wink: string[];
|
|
16
|
-
information: string[];
|
|
17
|
-
tick: string[];
|
|
18
14
|
cross: string[];
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
'green-star': string[];
|
|
16
|
+
heart: string[];
|
|
17
|
+
information: string[];
|
|
18
|
+
laugh: string[];
|
|
19
|
+
'light-off': string[];
|
|
20
|
+
'light-on': string[];
|
|
21
21
|
minus: string[];
|
|
22
|
+
plus: string[];
|
|
22
23
|
question: string[];
|
|
23
|
-
'
|
|
24
|
+
'red-star': string[];
|
|
25
|
+
sad: string[];
|
|
26
|
+
smile: string[];
|
|
24
27
|
'thumbs-down': string[];
|
|
25
|
-
'
|
|
28
|
+
'thumbs-up': string[];
|
|
29
|
+
tick: string[];
|
|
30
|
+
warning: string[];
|
|
31
|
+
wink: string[];
|
|
26
32
|
'yellow-star': string[];
|
|
27
|
-
'light-off': string[];
|
|
28
|
-
'red-star': string[];
|
|
29
|
-
'green-star': string[];
|
|
30
|
-
'blue-star': string[];
|
|
31
|
-
heart: string[];
|
|
32
|
-
'broken-heart': string[];
|
|
33
33
|
};
|
|
34
34
|
export type NameToEmoji = keyof typeof acNameToEmojiMap;
|
|
35
35
|
export declare function acNameToEmoji(acName: NameToEmoji): {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-schema",
|
|
3
|
-
"version": "51.5.
|
|
3
|
+
"version": "51.5.18",
|
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@atlaskit/adf-schema-generator": "^2.1.0",
|
|
44
44
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^26.0.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"css-color-names": "0.0.4",
|
|
48
48
|
"linkify-it": "^3.0.3",
|