@atlaskit/adf-schema 37.2.0 → 38.0.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 +13 -0
- package/dist/cjs/index.js +12 -0
- package/dist/cjs/next-schema/generated/markTypes.js +21 -21
- package/dist/cjs/next-schema/generated/nodeTypes.js +191 -110
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/cjs/next-schema/index.js +32 -505
- package/dist/cjs/next-schema/nodes/blockCard.js +1 -1
- package/dist/cjs/next-schema/nodes/blockquote.js +2 -2
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +2 -2
- package/dist/cjs/next-schema/nodes/caption.js +1 -1
- package/dist/cjs/next-schema/nodes/codeBlock.js +2 -2
- package/dist/cjs/next-schema/nodes/date.js +4 -1
- package/dist/cjs/next-schema/nodes/decisionItem.js +1 -1
- package/dist/cjs/next-schema/nodes/decisionList.js +1 -1
- package/dist/cjs/next-schema/nodes/embedCard.js +1 -1
- package/dist/cjs/next-schema/nodes/emoji.js +4 -1
- package/dist/cjs/next-schema/nodes/expand.js +2 -2
- package/dist/cjs/next-schema/nodes/extension.js +2 -2
- package/dist/cjs/next-schema/nodes/extensionFrame.js +3 -2
- package/dist/cjs/next-schema/nodes/hardBreak.js +1 -1
- package/dist/cjs/next-schema/nodes/heading.js +3 -3
- package/dist/cjs/next-schema/nodes/inlineCard.js +5 -2
- package/dist/cjs/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/cjs/next-schema/nodes/layoutColumn.js +1 -1
- package/dist/cjs/next-schema/nodes/layoutSection.js +3 -2
- package/dist/cjs/next-schema/nodes/list.js +5 -5
- package/dist/cjs/next-schema/nodes/media.js +1 -1
- package/dist/cjs/next-schema/nodes/mediaGroup.js +1 -1
- package/dist/cjs/next-schema/nodes/mediaInline.js +1 -1
- package/dist/cjs/next-schema/nodes/mediaSingle.js +5 -5
- package/dist/cjs/next-schema/nodes/mention.js +4 -1
- package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +1 -3
- package/dist/cjs/next-schema/nodes/nestedExpand.js +2 -2
- package/dist/cjs/next-schema/nodes/panel.js +3 -3
- package/dist/cjs/next-schema/nodes/paragraph.js +4 -4
- package/dist/cjs/next-schema/nodes/placeholder.js +1 -1
- package/dist/cjs/next-schema/nodes/status.js +4 -1
- package/dist/cjs/next-schema/nodes/table.js +1 -1
- package/dist/cjs/next-schema/nodes/tableCell.js +1 -1
- package/dist/cjs/next-schema/nodes/tableHeader.js +1 -1
- package/dist/cjs/next-schema/nodes/tableRow.js +1 -1
- package/dist/cjs/next-schema/nodes/task.js +2 -2
- package/dist/cjs/next-schema/nodes/text.js +1 -1
- package/dist/cjs/schema/createPMSpecFactory.js +57 -0
- package/dist/cjs/schema/index.js +14 -1
- package/dist/cjs/schema/marks/alignment.js +3 -8
- package/dist/cjs/schema/marks/annotation.js +3 -13
- package/dist/cjs/schema/marks/background-color.js +3 -9
- package/dist/cjs/schema/marks/border.js +3 -7
- package/dist/cjs/schema/marks/breakout.js +3 -9
- package/dist/cjs/schema/marks/code.js +3 -5
- package/dist/cjs/schema/marks/confluence-inline-comment.js +3 -9
- package/dist/cjs/schema/marks/data-consumer.js +3 -7
- package/dist/cjs/schema/marks/em.js +3 -5
- package/dist/cjs/schema/marks/fragment.js +3 -12
- package/dist/cjs/schema/marks/indentation.js +3 -8
- package/dist/cjs/schema/marks/link.js +3 -13
- package/dist/cjs/schema/marks/strike.js +3 -5
- package/dist/cjs/schema/marks/strong.js +3 -5
- package/dist/cjs/schema/marks/subsup.js +3 -10
- package/dist/cjs/schema/marks/text-color.js +3 -8
- package/dist/cjs/schema/marks/type-ahead-query.js +3 -10
- package/dist/cjs/schema/marks/underline.js +3 -5
- package/dist/cjs/schema/marks/unsupported-mark.js +3 -6
- package/dist/cjs/schema/marks/unsupported-node-attributes.js +3 -6
- package/dist/cjs/schema/nodes/block-card.js +3 -23
- package/dist/cjs/schema/nodes/blockquote.js +17 -20
- package/dist/cjs/schema/nodes/bodied-extension.js +24 -54
- package/dist/cjs/schema/nodes/bullet-list.js +3 -6
- package/dist/cjs/schema/nodes/caption.js +3 -6
- package/dist/cjs/schema/nodes/code-block.js +31 -16
- package/dist/cjs/schema/nodes/confluence-jira-issue.js +3 -22
- package/dist/cjs/schema/nodes/confluence-unsupported-block.js +3 -8
- package/dist/cjs/schema/nodes/confluence-unsupported-inline.js +3 -10
- package/dist/cjs/schema/nodes/date.js +3 -10
- package/dist/cjs/schema/nodes/decision-item.js +3 -13
- package/dist/cjs/schema/nodes/decision-list.js +3 -12
- package/dist/cjs/schema/nodes/doc.js +2 -4
- package/dist/cjs/schema/nodes/embed-card.js +3 -22
- package/dist/cjs/schema/nodes/emoji.js +3 -16
- package/dist/cjs/schema/nodes/expand.js +3 -16
- package/dist/cjs/schema/nodes/extension.js +20 -47
- package/dist/cjs/schema/nodes/hard-break.js +3 -5
- package/dist/cjs/schema/nodes/heading.js +3 -14
- package/dist/cjs/schema/nodes/image.js +3 -16
- package/dist/cjs/schema/nodes/inline-card.js +3 -14
- package/dist/cjs/schema/nodes/inline-extension.js +19 -42
- package/dist/cjs/schema/nodes/layout-column.js +4 -12
- package/dist/cjs/schema/nodes/layout-section.js +23 -11
- package/dist/cjs/schema/nodes/list-item.js +5 -12
- package/dist/cjs/schema/nodes/media-group.js +3 -8
- package/dist/cjs/schema/nodes/media-inline.js +2 -1
- package/dist/cjs/schema/nodes/media-single.js +35 -14
- package/dist/cjs/schema/nodes/media.js +35 -83
- package/dist/cjs/schema/nodes/mention.js +3 -22
- package/dist/cjs/schema/nodes/multi-bodied-extension.js +26 -64
- package/dist/cjs/schema/nodes/nested-expand.js +31 -48
- package/dist/cjs/schema/nodes/ordered-list.js +4 -16
- package/dist/cjs/schema/nodes/panel.js +5 -34
- package/dist/cjs/schema/nodes/paragraph.js +3 -11
- package/dist/cjs/schema/nodes/placeholder.js +3 -11
- package/dist/cjs/schema/nodes/rule.js +3 -3
- package/dist/cjs/schema/nodes/status.js +3 -19
- package/dist/cjs/schema/nodes/tableNodes.js +9 -52
- package/dist/cjs/schema/nodes/task-item.js +3 -14
- package/dist/cjs/schema/nodes/task-list.js +3 -12
- package/dist/cjs/schema/nodes/text.js +3 -4
- package/dist/cjs/schema/nodes/unsupported-block.js +3 -11
- package/dist/cjs/schema/nodes/unsupported-inline.js +3 -10
- package/dist/es2019/index.js +5 -1
- package/dist/es2019/next-schema/generated/markTypes.js +1 -1
- package/dist/es2019/next-schema/generated/nodeTypes.js +123 -42
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/es2019/next-schema/index.js +3 -2
- package/dist/es2019/next-schema/nodes/blockCard.js +1 -1
- package/dist/es2019/next-schema/nodes/blockquote.js +2 -2
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +2 -2
- package/dist/es2019/next-schema/nodes/caption.js +1 -1
- package/dist/es2019/next-schema/nodes/codeBlock.js +2 -2
- package/dist/es2019/next-schema/nodes/date.js +4 -1
- package/dist/es2019/next-schema/nodes/decisionItem.js +1 -1
- package/dist/es2019/next-schema/nodes/decisionList.js +1 -1
- package/dist/es2019/next-schema/nodes/embedCard.js +1 -1
- package/dist/es2019/next-schema/nodes/emoji.js +4 -1
- package/dist/es2019/next-schema/nodes/expand.js +2 -2
- package/dist/es2019/next-schema/nodes/extension.js +2 -2
- package/dist/es2019/next-schema/nodes/extensionFrame.js +3 -2
- package/dist/es2019/next-schema/nodes/hardBreak.js +1 -1
- package/dist/es2019/next-schema/nodes/heading.js +3 -3
- package/dist/es2019/next-schema/nodes/inlineCard.js +5 -2
- package/dist/es2019/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/es2019/next-schema/nodes/layoutColumn.js +1 -1
- package/dist/es2019/next-schema/nodes/layoutSection.js +3 -2
- package/dist/es2019/next-schema/nodes/list.js +5 -5
- package/dist/es2019/next-schema/nodes/media.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaGroup.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaInline.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaSingle.js +5 -5
- package/dist/es2019/next-schema/nodes/mention.js +4 -1
- package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +1 -3
- package/dist/es2019/next-schema/nodes/nestedExpand.js +2 -2
- package/dist/es2019/next-schema/nodes/panel.js +3 -3
- package/dist/es2019/next-schema/nodes/paragraph.js +4 -4
- package/dist/es2019/next-schema/nodes/placeholder.js +1 -1
- package/dist/es2019/next-schema/nodes/status.js +4 -1
- package/dist/es2019/next-schema/nodes/table.js +1 -1
- package/dist/es2019/next-schema/nodes/tableCell.js +1 -1
- package/dist/es2019/next-schema/nodes/tableHeader.js +1 -1
- package/dist/es2019/next-schema/nodes/tableRow.js +1 -1
- package/dist/es2019/next-schema/nodes/task.js +2 -2
- package/dist/es2019/next-schema/nodes/text.js +1 -1
- package/dist/es2019/schema/createPMSpecFactory.js +55 -0
- package/dist/es2019/schema/index.js +5 -1
- package/dist/es2019/schema/marks/alignment.js +3 -8
- package/dist/es2019/schema/marks/annotation.js +4 -13
- package/dist/es2019/schema/marks/background-color.js +3 -9
- package/dist/es2019/schema/marks/border.js +3 -7
- package/dist/es2019/schema/marks/breakout.js +3 -9
- package/dist/es2019/schema/marks/code.js +3 -5
- package/dist/es2019/schema/marks/confluence-inline-comment.js +4 -9
- package/dist/es2019/schema/marks/data-consumer.js +3 -7
- package/dist/es2019/schema/marks/em.js +3 -5
- package/dist/es2019/schema/marks/fragment.js +3 -12
- package/dist/es2019/schema/marks/indentation.js +3 -8
- package/dist/es2019/schema/marks/link.js +3 -13
- package/dist/es2019/schema/marks/strike.js +3 -5
- package/dist/es2019/schema/marks/strong.js +3 -5
- package/dist/es2019/schema/marks/subsup.js +3 -10
- package/dist/es2019/schema/marks/text-color.js +3 -8
- package/dist/es2019/schema/marks/type-ahead-query.js +3 -10
- package/dist/es2019/schema/marks/underline.js +3 -5
- package/dist/es2019/schema/marks/unsupported-mark.js +3 -6
- package/dist/es2019/schema/marks/unsupported-node-attributes.js +3 -6
- package/dist/es2019/schema/nodes/block-card.js +4 -23
- package/dist/es2019/schema/nodes/blockquote.js +19 -20
- package/dist/es2019/schema/nodes/bodied-extension.js +23 -53
- package/dist/es2019/schema/nodes/bullet-list.js +3 -6
- package/dist/es2019/schema/nodes/caption.js +4 -6
- package/dist/es2019/schema/nodes/code-block.js +31 -16
- package/dist/es2019/schema/nodes/confluence-jira-issue.js +3 -22
- package/dist/es2019/schema/nodes/confluence-unsupported-block.js +3 -8
- package/dist/es2019/schema/nodes/confluence-unsupported-inline.js +3 -10
- package/dist/es2019/schema/nodes/date.js +4 -10
- package/dist/es2019/schema/nodes/decision-item.js +3 -13
- package/dist/es2019/schema/nodes/decision-list.js +3 -12
- package/dist/es2019/schema/nodes/doc.js +3 -4
- package/dist/es2019/schema/nodes/embed-card.js +4 -22
- package/dist/es2019/schema/nodes/emoji.js +3 -16
- package/dist/es2019/schema/nodes/expand.js +4 -16
- package/dist/es2019/schema/nodes/extension.js +19 -46
- package/dist/es2019/schema/nodes/hard-break.js +4 -5
- package/dist/es2019/schema/nodes/heading.js +4 -14
- package/dist/es2019/schema/nodes/image.js +3 -16
- package/dist/es2019/schema/nodes/inline-card.js +4 -14
- package/dist/es2019/schema/nodes/inline-extension.js +18 -41
- package/dist/es2019/schema/nodes/layout-column.js +5 -12
- package/dist/es2019/schema/nodes/layout-section.js +24 -10
- package/dist/es2019/schema/nodes/list-item.js +6 -12
- package/dist/es2019/schema/nodes/media-group.js +4 -8
- package/dist/es2019/schema/nodes/media-inline.js +3 -2
- package/dist/es2019/schema/nodes/media-single.js +35 -15
- package/dist/es2019/schema/nodes/media.js +35 -78
- package/dist/es2019/schema/nodes/mention.js +3 -22
- package/dist/es2019/schema/nodes/multi-bodied-extension.js +26 -63
- package/dist/es2019/schema/nodes/nested-expand.js +32 -48
- package/dist/es2019/schema/nodes/ordered-list.js +5 -14
- package/dist/es2019/schema/nodes/panel.js +5 -34
- package/dist/es2019/schema/nodes/paragraph.js +4 -11
- package/dist/es2019/schema/nodes/placeholder.js +4 -11
- package/dist/es2019/schema/nodes/rule.js +4 -3
- package/dist/es2019/schema/nodes/status.js +3 -19
- package/dist/es2019/schema/nodes/tableNodes.js +40 -82
- package/dist/es2019/schema/nodes/task-item.js +3 -14
- package/dist/es2019/schema/nodes/task-list.js +3 -12
- package/dist/es2019/schema/nodes/text.js +4 -4
- package/dist/es2019/schema/nodes/unsupported-block.js +3 -11
- package/dist/es2019/schema/nodes/unsupported-inline.js +3 -10
- package/dist/esm/index.js +5 -1
- package/dist/esm/next-schema/generated/markTypes.js +1 -1
- package/dist/esm/next-schema/generated/nodeTypes.js +123 -42
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/esm/next-schema/index.js +3 -2
- package/dist/esm/next-schema/nodes/blockCard.js +1 -1
- package/dist/esm/next-schema/nodes/blockquote.js +2 -2
- package/dist/esm/next-schema/nodes/bodiedExtension.js +2 -2
- package/dist/esm/next-schema/nodes/caption.js +1 -1
- package/dist/esm/next-schema/nodes/codeBlock.js +2 -2
- package/dist/esm/next-schema/nodes/date.js +4 -1
- package/dist/esm/next-schema/nodes/decisionItem.js +1 -1
- package/dist/esm/next-schema/nodes/decisionList.js +1 -1
- package/dist/esm/next-schema/nodes/embedCard.js +1 -1
- package/dist/esm/next-schema/nodes/emoji.js +4 -1
- package/dist/esm/next-schema/nodes/expand.js +2 -2
- package/dist/esm/next-schema/nodes/extension.js +2 -2
- package/dist/esm/next-schema/nodes/extensionFrame.js +3 -2
- package/dist/esm/next-schema/nodes/hardBreak.js +1 -1
- package/dist/esm/next-schema/nodes/heading.js +3 -3
- package/dist/esm/next-schema/nodes/inlineCard.js +5 -2
- package/dist/esm/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/esm/next-schema/nodes/layoutColumn.js +1 -1
- package/dist/esm/next-schema/nodes/layoutSection.js +3 -2
- package/dist/esm/next-schema/nodes/list.js +5 -5
- package/dist/esm/next-schema/nodes/media.js +1 -1
- package/dist/esm/next-schema/nodes/mediaGroup.js +1 -1
- package/dist/esm/next-schema/nodes/mediaInline.js +1 -1
- package/dist/esm/next-schema/nodes/mediaSingle.js +5 -5
- package/dist/esm/next-schema/nodes/mention.js +4 -1
- package/dist/esm/next-schema/nodes/multiBodiedExtension.js +1 -3
- package/dist/esm/next-schema/nodes/nestedExpand.js +2 -2
- package/dist/esm/next-schema/nodes/panel.js +3 -3
- package/dist/esm/next-schema/nodes/paragraph.js +4 -4
- package/dist/esm/next-schema/nodes/placeholder.js +1 -1
- package/dist/esm/next-schema/nodes/status.js +4 -1
- package/dist/esm/next-schema/nodes/table.js +1 -1
- package/dist/esm/next-schema/nodes/tableCell.js +1 -1
- package/dist/esm/next-schema/nodes/tableHeader.js +1 -1
- package/dist/esm/next-schema/nodes/tableRow.js +1 -1
- package/dist/esm/next-schema/nodes/task.js +2 -2
- package/dist/esm/next-schema/nodes/text.js +1 -1
- package/dist/esm/schema/createPMSpecFactory.js +50 -0
- package/dist/esm/schema/index.js +5 -1
- package/dist/esm/schema/marks/alignment.js +3 -8
- package/dist/esm/schema/marks/annotation.js +4 -13
- package/dist/esm/schema/marks/background-color.js +3 -9
- package/dist/esm/schema/marks/border.js +3 -7
- package/dist/esm/schema/marks/breakout.js +3 -9
- package/dist/esm/schema/marks/code.js +3 -5
- package/dist/esm/schema/marks/confluence-inline-comment.js +4 -9
- package/dist/esm/schema/marks/data-consumer.js +3 -7
- package/dist/esm/schema/marks/em.js +3 -5
- package/dist/esm/schema/marks/fragment.js +3 -12
- package/dist/esm/schema/marks/indentation.js +3 -8
- package/dist/esm/schema/marks/link.js +3 -13
- package/dist/esm/schema/marks/strike.js +3 -5
- package/dist/esm/schema/marks/strong.js +3 -5
- package/dist/esm/schema/marks/subsup.js +3 -10
- package/dist/esm/schema/marks/text-color.js +3 -8
- package/dist/esm/schema/marks/type-ahead-query.js +3 -10
- package/dist/esm/schema/marks/underline.js +3 -5
- package/dist/esm/schema/marks/unsupported-mark.js +3 -6
- package/dist/esm/schema/marks/unsupported-node-attributes.js +3 -6
- package/dist/esm/schema/nodes/block-card.js +4 -23
- package/dist/esm/schema/nodes/blockquote.js +19 -20
- package/dist/esm/schema/nodes/bodied-extension.js +24 -54
- package/dist/esm/schema/nodes/bullet-list.js +3 -6
- package/dist/esm/schema/nodes/caption.js +4 -6
- package/dist/esm/schema/nodes/code-block.js +31 -16
- package/dist/esm/schema/nodes/confluence-jira-issue.js +3 -22
- package/dist/esm/schema/nodes/confluence-unsupported-block.js +3 -8
- package/dist/esm/schema/nodes/confluence-unsupported-inline.js +3 -10
- package/dist/esm/schema/nodes/date.js +4 -10
- package/dist/esm/schema/nodes/decision-item.js +3 -13
- package/dist/esm/schema/nodes/decision-list.js +3 -12
- package/dist/esm/schema/nodes/doc.js +3 -4
- package/dist/esm/schema/nodes/embed-card.js +4 -22
- package/dist/esm/schema/nodes/emoji.js +3 -16
- package/dist/esm/schema/nodes/expand.js +4 -16
- package/dist/esm/schema/nodes/extension.js +20 -47
- package/dist/esm/schema/nodes/hard-break.js +4 -5
- package/dist/esm/schema/nodes/heading.js +4 -14
- package/dist/esm/schema/nodes/image.js +3 -16
- package/dist/esm/schema/nodes/inline-card.js +4 -14
- package/dist/esm/schema/nodes/inline-extension.js +19 -42
- package/dist/esm/schema/nodes/layout-column.js +5 -12
- package/dist/esm/schema/nodes/layout-section.js +24 -10
- package/dist/esm/schema/nodes/list-item.js +6 -12
- package/dist/esm/schema/nodes/media-group.js +4 -8
- package/dist/esm/schema/nodes/media-inline.js +3 -2
- package/dist/esm/schema/nodes/media-single.js +35 -14
- package/dist/esm/schema/nodes/media.js +36 -82
- package/dist/esm/schema/nodes/mention.js +3 -22
- package/dist/esm/schema/nodes/multi-bodied-extension.js +27 -64
- package/dist/esm/schema/nodes/nested-expand.js +32 -48
- package/dist/esm/schema/nodes/ordered-list.js +4 -15
- package/dist/esm/schema/nodes/panel.js +5 -34
- package/dist/esm/schema/nodes/paragraph.js +4 -11
- package/dist/esm/schema/nodes/placeholder.js +4 -11
- package/dist/esm/schema/nodes/rule.js +4 -3
- package/dist/esm/schema/nodes/status.js +3 -19
- package/dist/esm/schema/nodes/tableNodes.js +12 -52
- package/dist/esm/schema/nodes/task-item.js +3 -14
- package/dist/esm/schema/nodes/task-list.js +3 -12
- package/dist/esm/schema/nodes/text.js +4 -4
- package/dist/esm/schema/nodes/unsupported-block.js +3 -11
- package/dist/esm/schema/nodes/unsupported-inline.js +3 -10
- package/dist/types/index.d.ts +2 -0
- package/dist/types/next-schema/full-schema.adf.d.ts +1 -30
- package/dist/types/next-schema/generated/markTypes.d.ts +20 -20
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +4 -4
- package/dist/types/next-schema/generated/nodeTypes.d.ts +143 -85
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +3 -119
- package/dist/types/next-schema/index.d.ts +3 -5
- package/dist/types/next-schema/nodes/blockCard.d.ts +1 -30
- package/dist/types/next-schema/nodes/blockquote.d.ts +1 -30
- package/dist/types/next-schema/nodes/bodiedExtension.d.ts +1 -30
- package/dist/types/next-schema/nodes/caption.d.ts +1 -30
- package/dist/types/next-schema/nodes/codeBlock.d.ts +2 -60
- package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +1 -30
- package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +1 -30
- package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +1 -30
- package/dist/types/next-schema/nodes/date.d.ts +1 -30
- package/dist/types/next-schema/nodes/decisionItem.d.ts +1 -30
- package/dist/types/next-schema/nodes/decisionList.d.ts +1 -30
- package/dist/types/next-schema/nodes/embedCard.d.ts +1 -30
- package/dist/types/next-schema/nodes/emoji.d.ts +1 -30
- package/dist/types/next-schema/nodes/expand.d.ts +1 -30
- package/dist/types/next-schema/nodes/extension.d.ts +1 -30
- package/dist/types/next-schema/nodes/extensionFrame.d.ts +1 -30
- package/dist/types/next-schema/nodes/hardBreak.d.ts +1 -30
- package/dist/types/next-schema/nodes/heading.d.ts +2 -60
- package/dist/types/next-schema/nodes/image.d.ts +1 -30
- package/dist/types/next-schema/nodes/inlineCard.d.ts +1 -30
- package/dist/types/next-schema/nodes/inlineExtension.d.ts +1 -30
- package/dist/types/next-schema/nodes/layoutColumn.d.ts +1 -30
- package/dist/types/next-schema/nodes/layoutSection.d.ts +2 -30
- package/dist/types/next-schema/nodes/list.d.ts +2 -60
- package/dist/types/next-schema/nodes/media.d.ts +1 -30
- package/dist/types/next-schema/nodes/mediaGroup.d.ts +1 -30
- package/dist/types/next-schema/nodes/mediaInline.d.ts +1 -30
- package/dist/types/next-schema/nodes/mediaSingle.d.ts +1 -30
- package/dist/types/next-schema/nodes/mention.d.ts +1 -30
- package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +1 -30
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +1 -30
- package/dist/types/next-schema/nodes/panel.d.ts +1 -30
- package/dist/types/next-schema/nodes/paragraph.d.ts +1 -30
- package/dist/types/next-schema/nodes/placeholder.d.ts +1 -30
- package/dist/types/next-schema/nodes/rule.d.ts +1 -30
- package/dist/types/next-schema/nodes/status.d.ts +1 -30
- package/dist/types/next-schema/nodes/table.d.ts +1 -30
- package/dist/types/next-schema/nodes/tableCell.d.ts +1 -30
- package/dist/types/next-schema/nodes/tableCellContent.d.ts +1 -30
- package/dist/types/next-schema/nodes/tableHeader.d.ts +1 -30
- package/dist/types/next-schema/nodes/tableRow.d.ts +1 -30
- package/dist/types/next-schema/nodes/task.d.ts +2 -60
- package/dist/types/next-schema/nodes/text.d.ts +1 -30
- package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +1 -30
- package/dist/types/next-schema/nodes/unsupportedInline.d.ts +1 -30
- package/dist/types/schema/createPMSpecFactory.d.ts +33 -0
- package/dist/types/schema/index.d.ts +2 -0
- package/dist/types/schema/nodes/block-card.d.ts +1 -2
- package/dist/types/schema/nodes/blockquote.d.ts +2 -3
- package/dist/types/schema/nodes/bodied-extension.d.ts +1 -2
- package/dist/types/schema/nodes/bullet-list.d.ts +1 -2
- package/dist/types/schema/nodes/caption.d.ts +1 -2
- package/dist/types/schema/nodes/code-block.d.ts +2 -2
- package/dist/types/schema/nodes/confluence-jira-issue.d.ts +1 -2
- package/dist/types/schema/nodes/confluence-unsupported-block.d.ts +1 -2
- package/dist/types/schema/nodes/confluence-unsupported-inline.d.ts +1 -2
- package/dist/types/schema/nodes/date.d.ts +1 -2
- package/dist/types/schema/nodes/decision-item.d.ts +1 -2
- package/dist/types/schema/nodes/decision-list.d.ts +1 -2
- package/dist/types/schema/nodes/doc.d.ts +1 -2
- package/dist/types/schema/nodes/embed-card.d.ts +1 -2
- package/dist/types/schema/nodes/emoji.d.ts +1 -2
- package/dist/types/schema/nodes/expand.d.ts +2 -2
- package/dist/types/schema/nodes/extension.d.ts +1 -2
- package/dist/types/schema/nodes/hard-break.d.ts +1 -2
- package/dist/types/schema/nodes/heading.d.ts +1 -2
- package/dist/types/schema/nodes/image.d.ts +1 -2
- package/dist/types/schema/nodes/inline-card.d.ts +1 -2
- package/dist/types/schema/nodes/inline-extension.d.ts +1 -2
- package/dist/types/schema/nodes/layout-column.d.ts +1 -2
- package/dist/types/schema/nodes/layout-section.d.ts +3 -3
- package/dist/types/schema/nodes/list-item.d.ts +2 -3
- package/dist/types/schema/nodes/media-group.d.ts +1 -2
- package/dist/types/schema/nodes/media.d.ts +3 -1
- package/dist/types/schema/nodes/mention.d.ts +2 -2
- package/dist/types/schema/nodes/multi-bodied-extension.d.ts +2 -3
- package/dist/types/schema/nodes/nested-expand.d.ts +1 -2
- package/dist/types/schema/nodes/ordered-list.d.ts +2 -3
- package/dist/types/schema/nodes/panel.d.ts +2 -3
- package/dist/types/schema/nodes/paragraph.d.ts +1 -2
- package/dist/types/schema/nodes/placeholder.d.ts +1 -2
- package/dist/types/schema/nodes/rule.d.ts +1 -2
- package/dist/types/schema/nodes/status.d.ts +1 -2
- package/dist/types/schema/nodes/tableNodes.d.ts +7 -7
- package/dist/types/schema/nodes/task-item.d.ts +1 -2
- package/dist/types/schema/nodes/task-list.d.ts +1 -2
- package/dist/types/schema/nodes/text.d.ts +1 -4
- package/dist/types/schema/nodes/unsupported-block.d.ts +1 -2
- package/dist/types/schema/nodes/unsupported-inline.d.ts +1 -2
- package/package.json +7 -4
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +7 -7
- package/schema-generators/__tests__/unit/validate-pm-schema.unit.ts +6 -4
- package/schema-generators/json-full-schema.ts +5 -4
- package/schema-generators/pm-full-schema.ts +3 -3
- package/schema-generators/validator-full-schema.ts +1 -1
@@ -2,6 +2,10 @@ import { hexToEditorBackgroundPaletteRawValue } from '../../utils/editor-palette
|
|
2
2
|
import { B100, B50, B75, G200, G50, G75, hexToRgba, isHex, isRgb, N0, N20, N60, N800, P100, P50, P75, R100, R50, R75, rgbToHex, T100, T50, T75, Y200, Y50, Y75 } from '../../utils/colors';
|
3
3
|
import { uuid } from '../../utils/uuid';
|
4
4
|
import { getDarkModeLCHColor } from '../../utils/lch-color-inversion';
|
5
|
+
import { table as tableFactory } from '../../next-schema/generated/nodeTypes';
|
6
|
+
import { tableCell as tableCellFactory } from '../../next-schema/generated/nodeTypes';
|
7
|
+
import { tableHeader as tableHeaderFactory } from '../../next-schema/generated/nodeTypes';
|
8
|
+
import { tableRow as tableRowFactory } from '../../next-schema/generated/nodeTypes';
|
5
9
|
export const tablePrefixSelector = 'pm-table';
|
6
10
|
export const tableCellSelector = `${tablePrefixSelector}-cell-content-wrap`;
|
7
11
|
export const tableHeaderSelector = `${tablePrefixSelector}-header-content-wrap`;
|
@@ -189,68 +193,38 @@ export const tableBackgroundColorNames = new Map();
|
|
189
193
|
*/
|
190
194
|
|
191
195
|
// TODO: Fix any, potential issue. ED-5048
|
192
|
-
const createTableSpec = () => {
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
displayMode: {
|
210
|
-
default: null
|
211
|
-
}
|
212
|
-
};
|
213
|
-
const tableNodeSpec = {
|
214
|
-
content: 'tableRow+',
|
215
|
-
attrs: attrs,
|
216
|
-
marks: 'unsupportedMark unsupportedNodeAttribute',
|
217
|
-
tableRole: 'table',
|
218
|
-
isolating: true,
|
219
|
-
selectable: true,
|
220
|
-
group: 'block',
|
221
|
-
parseDOM: [{
|
222
|
-
tag: 'table',
|
223
|
-
getAttrs: node => {
|
224
|
-
var _dom$parentElement;
|
225
|
-
const dom = node;
|
226
|
-
const breakoutWrapper = (_dom$parentElement = dom.parentElement) === null || _dom$parentElement === void 0 ? void 0 : _dom$parentElement.parentElement;
|
227
|
-
return {
|
228
|
-
isNumberColumnEnabled: dom.getAttribute('data-number-column') === 'true',
|
229
|
-
layout:
|
230
|
-
// copying from editor
|
231
|
-
dom.getAttribute('data-layout') || ( // copying from renderer
|
232
|
-
breakoutWrapper === null || breakoutWrapper === void 0 ? void 0 : breakoutWrapper.getAttribute('data-layout')) || 'default',
|
233
|
-
__autoSize: dom.getAttribute('data-autosize') === 'true',
|
234
|
-
localId: dom.getAttribute('data-table-local-id') || uuid.generate(),
|
235
|
-
width: Number(dom.getAttribute('data-table-width')) || null,
|
236
|
-
displayMode: dom.getAttribute('data-table-display-mode') || null
|
237
|
-
};
|
238
|
-
}
|
239
|
-
}],
|
240
|
-
toDOM(node) {
|
241
|
-
const attrs = {
|
242
|
-
'data-number-column': node.attrs.isNumberColumnEnabled,
|
243
|
-
'data-layout': node.attrs.layout,
|
244
|
-
'data-autosize': node.attrs.__autoSize,
|
245
|
-
'data-table-local-id': node.attrs.localId,
|
246
|
-
'data-table-width': node.attrs.width,
|
247
|
-
'data-table-display-mode': node.attrs.displayMode
|
196
|
+
const createTableSpec = () => tableFactory({
|
197
|
+
parseDOM: [{
|
198
|
+
tag: 'table',
|
199
|
+
getAttrs: node => {
|
200
|
+
var _dom$parentElement;
|
201
|
+
const dom = node;
|
202
|
+
const breakoutWrapper = (_dom$parentElement = dom.parentElement) === null || _dom$parentElement === void 0 ? void 0 : _dom$parentElement.parentElement;
|
203
|
+
return {
|
204
|
+
isNumberColumnEnabled: dom.getAttribute('data-number-column') === 'true',
|
205
|
+
layout:
|
206
|
+
// copying from editor
|
207
|
+
dom.getAttribute('data-layout') || ( // copying from renderer
|
208
|
+
breakoutWrapper === null || breakoutWrapper === void 0 ? void 0 : breakoutWrapper.getAttribute('data-layout')) || 'default',
|
209
|
+
__autoSize: dom.getAttribute('data-autosize') === 'true',
|
210
|
+
localId: dom.getAttribute('data-table-local-id') || uuid.generate(),
|
211
|
+
width: Number(dom.getAttribute('data-table-width')) || null,
|
212
|
+
displayMode: dom.getAttribute('data-table-display-mode') || null
|
248
213
|
};
|
249
|
-
return ['table', attrs, ['tbody', 0]];
|
250
214
|
}
|
251
|
-
}
|
252
|
-
|
253
|
-
|
215
|
+
}],
|
216
|
+
toDOM(node) {
|
217
|
+
const attrs = {
|
218
|
+
'data-number-column': node.attrs.isNumberColumnEnabled,
|
219
|
+
'data-layout': node.attrs.layout,
|
220
|
+
'data-autosize': node.attrs.__autoSize,
|
221
|
+
'data-table-local-id': node.attrs.localId,
|
222
|
+
'data-table-width': node.attrs.width,
|
223
|
+
'data-table-display-mode': node.attrs.displayMode
|
224
|
+
};
|
225
|
+
return ['table', attrs, ['tbody', 0]];
|
226
|
+
}
|
227
|
+
});
|
254
228
|
|
255
229
|
// TODO: assuming breaking changes aren't allowed, so retaining both exports
|
256
230
|
/** Includes table width attribute */
|
@@ -267,18 +241,14 @@ export const tableToJSON = node => ({
|
|
267
241
|
};
|
268
242
|
}, {})
|
269
243
|
});
|
270
|
-
export const tableRow = {
|
271
|
-
selectable: false,
|
272
|
-
content: '(tableCell | tableHeader)+',
|
273
|
-
marks: 'unsupportedMark unsupportedNodeAttribute',
|
274
|
-
tableRole: 'row',
|
244
|
+
export const tableRow = tableRowFactory({
|
275
245
|
parseDOM: [{
|
276
246
|
tag: 'tr'
|
277
247
|
}],
|
278
248
|
toDOM() {
|
279
249
|
return ['tr', 0];
|
280
250
|
}
|
281
|
-
};
|
251
|
+
});
|
282
252
|
const cellAttrs = {
|
283
253
|
colspan: {
|
284
254
|
default: 1
|
@@ -293,13 +263,7 @@ const cellAttrs = {
|
|
293
263
|
default: null
|
294
264
|
}
|
295
265
|
};
|
296
|
-
export const tableCell = {
|
297
|
-
selectable: false,
|
298
|
-
content: '(paragraph | panel | blockquote | orderedList | bulletList | rule | heading | codeBlock | mediaSingle | mediaGroup | decisionList | taskList | blockCard | embedCard | extension | nestedExpand | unsupportedBlock)+',
|
299
|
-
attrs: cellAttrs,
|
300
|
-
tableRole: 'cell',
|
301
|
-
marks: 'alignment dataConsumer fragment unsupportedMark unsupportedNodeAttribute',
|
302
|
-
isolating: true,
|
266
|
+
export const tableCell = tableCellFactory({
|
303
267
|
parseDOM: [
|
304
268
|
// Ignore number cell copied from renderer
|
305
269
|
{
|
@@ -310,7 +274,7 @@ export const tableCell = {
|
|
310
274
|
getAttrs: dom => getCellAttrs(dom)
|
311
275
|
}],
|
312
276
|
toDOM: node => ['td', getCellDomAttrs(node), 0]
|
313
|
-
};
|
277
|
+
});
|
314
278
|
export const toJSONTableCell = node => ({
|
315
279
|
attrs: Object.keys(node.attrs).reduce((obj, key) => {
|
316
280
|
if (cellAttrs[key].default !== node.attrs[key]) {
|
@@ -319,13 +283,7 @@ export const toJSONTableCell = node => ({
|
|
319
283
|
return obj;
|
320
284
|
}, {})
|
321
285
|
});
|
322
|
-
export const tableHeader = {
|
323
|
-
selectable: false,
|
324
|
-
content: '(paragraph | panel | blockquote | orderedList | bulletList | rule | heading | codeBlock | mediaSingle | mediaGroup | decisionList | taskList | blockCard | embedCard | extension | nestedExpand)+',
|
325
|
-
attrs: cellAttrs,
|
326
|
-
tableRole: 'header_cell',
|
327
|
-
isolating: true,
|
328
|
-
marks: 'alignment dataConsumer fragment unsupportedMark unsupportedNodeAttribute',
|
286
|
+
export const tableHeader = tableHeaderFactory({
|
329
287
|
parseDOM: [{
|
330
288
|
tag: 'th',
|
331
289
|
getAttrs: dom => getCellAttrs(dom, {
|
@@ -333,5 +291,5 @@ export const tableHeader = {
|
|
333
291
|
})
|
334
292
|
}],
|
335
293
|
toDOM: node => ['th', getCellDomAttrs(node), 0]
|
336
|
-
};
|
294
|
+
});
|
337
295
|
export const toJSONTableHeader = toJSONTableCell;
|
@@ -1,22 +1,11 @@
|
|
1
1
|
import { uuid } from '../../utils/uuid';
|
2
|
+
import { taskItem as taskItemFactory } from '../../next-schema/generated/nodeTypes';
|
2
3
|
|
3
4
|
/**
|
4
5
|
* @name taskItem_node
|
5
6
|
*/
|
6
7
|
|
7
|
-
export const taskItem = {
|
8
|
-
content: 'inline*',
|
9
|
-
defining: true,
|
10
|
-
selectable: false,
|
11
|
-
marks: '_',
|
12
|
-
attrs: {
|
13
|
-
localId: {
|
14
|
-
default: ''
|
15
|
-
},
|
16
|
-
state: {
|
17
|
-
default: 'TODO'
|
18
|
-
}
|
19
|
-
},
|
8
|
+
export const taskItem = taskItemFactory({
|
20
9
|
parseDOM: [{
|
21
10
|
tag: 'div[data-task-local-id]',
|
22
11
|
// Default priority is 50. We normally don't change this but since this node type is
|
@@ -38,4 +27,4 @@ export const taskItem = {
|
|
38
27
|
};
|
39
28
|
return ['div', attrs, 0];
|
40
29
|
}
|
41
|
-
};
|
30
|
+
});
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { uuid } from '../../utils/uuid';
|
2
|
+
import { taskList as taskListFactory } from '../../next-schema/generated/nodeTypes';
|
2
3
|
|
3
4
|
/**
|
4
5
|
* @name taskList_node
|
@@ -6,17 +7,7 @@ import { uuid } from '../../utils/uuid';
|
|
6
7
|
|
7
8
|
const name = 'actionList';
|
8
9
|
export const taskListSelector = `[data-node-type="${name}"]`;
|
9
|
-
export const taskList = {
|
10
|
-
group: 'block',
|
11
|
-
defining: true,
|
12
|
-
selectable: false,
|
13
|
-
content: '(taskItem|unsupportedBlock)+ (taskItem|taskList|unsupportedBlock)*',
|
14
|
-
marks: 'unsupportedMark unsupportedNodeAttribute',
|
15
|
-
attrs: {
|
16
|
-
localId: {
|
17
|
-
default: ''
|
18
|
-
}
|
19
|
-
},
|
10
|
+
export const taskList = taskListFactory({
|
20
11
|
parseDOM: [{
|
21
12
|
tag: `div${taskListSelector}`,
|
22
13
|
// Default priority is 50. We normally don't change this but since this node type is
|
@@ -37,4 +28,4 @@ export const taskList = {
|
|
37
28
|
};
|
38
29
|
return ['div', attrs, 0];
|
39
30
|
}
|
40
|
-
};
|
31
|
+
});
|
@@ -1,9 +1,9 @@
|
|
1
|
+
import { text as textFactory } from '../../next-schema/generated/nodeTypes';
|
2
|
+
|
1
3
|
/**
|
2
4
|
* @name text_node
|
3
5
|
*/
|
4
6
|
|
5
|
-
export const text = {
|
6
|
-
group: 'inline',
|
7
|
-
// TODO: toDebugString needs to be passed with createToPmFactory when migrate in https://product-fabric.atlassian.net/browse/ED-23606
|
7
|
+
export const text = textFactory({
|
8
8
|
toDebugString: process.env.NODE_ENV !== 'production' ? undefined : () => 'text_node'
|
9
|
-
};
|
9
|
+
});
|
@@ -1,13 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
group: 'block',
|
4
|
-
atom: true,
|
5
|
-
selectable: true,
|
6
|
-
attrs: {
|
7
|
-
originalValue: {
|
8
|
-
default: {}
|
9
|
-
}
|
10
|
-
},
|
1
|
+
import { unsupportedBlock as unsupportedBlockFactory } from '../../next-schema/generated/nodeTypes';
|
2
|
+
export const unsupportedBlock = unsupportedBlockFactory({
|
11
3
|
parseDOM: [{
|
12
4
|
tag: '[data-node-type="unsupportedBlock"]',
|
13
5
|
getAttrs: dom => ({
|
@@ -21,4 +13,4 @@ export const unsupportedBlock = {
|
|
21
13
|
};
|
22
14
|
return ['div', attrs, 'Unsupported content'];
|
23
15
|
}
|
24
|
-
};
|
16
|
+
});
|
@@ -1,12 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
group: 'inline',
|
4
|
-
selectable: true,
|
5
|
-
attrs: {
|
6
|
-
originalValue: {
|
7
|
-
default: {}
|
8
|
-
}
|
9
|
-
},
|
1
|
+
import { unsupportedInline as unsupportedInlineFactory } from '../../next-schema/generated/nodeTypes';
|
2
|
+
export const unsupportedInline = unsupportedInlineFactory({
|
10
3
|
parseDOM: [{
|
11
4
|
tag: '[data-node-type="unsupportedInline"]',
|
12
5
|
getAttrs: dom => ({
|
@@ -20,4 +13,4 @@ export const unsupportedInline = {
|
|
20
13
|
};
|
21
14
|
return ['span', attrs, 'Unsupported content'];
|
22
15
|
}
|
23
|
-
};
|
16
|
+
});
|
package/dist/esm/index.js
CHANGED
@@ -1,3 +1,7 @@
|
|
1
1
|
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockquote, blockquoteWithList, bodiedExtension, breakout, bulletList, bulletListSelector, caption, code, codeBlock, codeBlockToJSON, colorPalette, /** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
2
2
|
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, emoji, expand, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineExtension, inlineNodes, layoutColumn, layoutSection, link, linkToJSON, listItem, listItemWithTask, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, orderedList, orderedListSelector, orderedListWithOrder, panel, extendedPanel, paragraph, placeholder, rule, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, extensionFrame, multiBodiedExtension, backgroundColor, backgroundColorPalette } from './schema';
|
3
|
-
export { B100, B400, B50, B500, B75, G200, G300, G400, G50, G500, G75, N0, N20, N200, N30, N300, N40, N50, N500, N60, N80, N800, N90, P100, P300, P400, P50, P500, P75, R100, R300, R400, R50, R500, R75, T100, T300, T50, T500, T75, Y200, Y400, Y50, Y500, Y75, acNameToEmoji, acShortcutToEmoji, emojiIdToAcName, generateUuid, getEmojiAcName, getLinkMatch, hexToRgb, hexToRgba, isHex, isRgb, isSafeUrl, linkify, linkifyMatch, normalizeHexColor, normalizeUrl, rgbToHex, uuid, getDarkModeLCHColor } from './utils';
|
3
|
+
export { B100, B400, B50, B500, B75, G200, G300, G400, G50, G500, G75, N0, N20, N200, N30, N300, N40, N50, N500, N60, N80, N800, N90, P100, P300, P400, P50, P500, P75, R100, R300, R400, R50, R500, R75, T100, T300, T50, T500, T75, Y200, Y400, Y50, Y500, Y75, acNameToEmoji, acShortcutToEmoji, emojiIdToAcName, generateUuid, getEmojiAcName, getLinkMatch, hexToRgb, hexToRgba, isHex, isRgb, isSafeUrl, linkify, linkifyMatch, normalizeHexColor, normalizeUrl, rgbToHex, uuid, getDarkModeLCHColor } from './utils';
|
4
|
+
|
5
|
+
// ADF createPMSpecFactory
|
6
|
+
|
7
|
+
export { createPMNodeSpecFactory, createPMMarkSpecFactory } from './schema';
|
@@ -4,7 +4,7 @@
|
|
4
4
|
* and run "yarn workspace @atlaskit/adf-schema build:pm:full" to regenerate this file.
|
5
5
|
*/
|
6
6
|
|
7
|
-
import { createPMMarkSpecFactory } from '
|
7
|
+
import { createPMMarkSpecFactory } from '../../schema/createPMSpecFactory';
|
8
8
|
export var alignment = createPMMarkSpecFactory({
|
9
9
|
attrs: {
|
10
10
|
align: {}
|