@atlaskit/adf-schema 54.0.2 → 54.0.4
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 +14 -0
- package/alignment/package.json +1 -8
- package/annotation/package.json +1 -8
- package/background-color/package.json +1 -8
- package/block-card/package.json +1 -8
- package/block-content/package.json +1 -8
- package/blockquote/package.json +1 -8
- package/bodied-extension/package.json +1 -8
- package/bodied-sync-block/package.json +1 -8
- package/border/package.json +1 -8
- package/breakout/package.json +1 -8
- package/bullet-list/package.json +1 -8
- package/caption/package.json +1 -8
- package/code/package.json +1 -8
- package/code-block/package.json +1 -8
- package/colors/package.json +1 -8
- package/confluence/emoji/package.json +1 -8
- package/confluence-inline-comment/package.json +1 -8
- package/confluence-jira-issue/package.json +1 -8
- package/confluence-unsupported-block/package.json +1 -8
- package/confluence-unsupported-inline/package.json +1 -8
- package/create-schema/package.json +1 -8
- package/createPMSpecFactory/package.json +1 -8
- package/data-consumer/package.json +1 -8
- package/date/package.json +1 -8
- package/decision-item/package.json +1 -8
- package/decision-list/package.json +1 -8
- package/dist/cjs/schema/marks/background-color.js +4 -2
- package/dist/cjs/schema/marks/strong.js +4 -3
- package/dist/cjs/schema/marks/text-color.js +4 -2
- package/dist/cjs/schema/nodes/code-block.js +7 -5
- package/dist/cjs/schema/nodes/media.js +3 -2
- package/dist/cjs/schema/nodes/status.js +4 -2
- package/dist/cjs/schema/nodes/tableNodes.js +4 -3
- package/dist/cjs/schema/sanitizeNodes.js +5 -3
- package/dist/cjs/utils/colors.js +7 -4
- package/dist/cjs/utils/lch-color-inversion.js +8 -8
- package/dist/es2019/schema/marks/background-color.js +4 -2
- package/dist/es2019/schema/marks/strong.js +4 -3
- package/dist/es2019/schema/marks/text-color.js +4 -2
- package/dist/es2019/schema/nodes/code-block.js +7 -5
- package/dist/es2019/schema/nodes/media.js +3 -2
- package/dist/es2019/schema/nodes/status.js +3 -2
- package/dist/es2019/schema/nodes/tableNodes.js +4 -3
- package/dist/es2019/schema/sanitizeNodes.js +5 -3
- package/dist/es2019/utils/colors.js +7 -4
- package/dist/es2019/utils/lch-color-inversion.js +6 -5
- package/dist/esm/schema/marks/background-color.js +4 -2
- package/dist/esm/schema/marks/strong.js +4 -3
- package/dist/esm/schema/marks/text-color.js +4 -2
- package/dist/esm/schema/nodes/code-block.js +7 -5
- package/dist/esm/schema/nodes/media.js +3 -2
- package/dist/esm/schema/nodes/status.js +3 -2
- package/dist/esm/schema/nodes/tableNodes.js +4 -3
- package/dist/esm/schema/sanitizeNodes.js +5 -3
- package/dist/esm/utils/colors.js +7 -4
- package/dist/esm/utils/lch-color-inversion.js +8 -8
- package/dist/json-schema/package.json +1 -8
- package/doc/package.json +1 -8
- package/em/package.json +1 -8
- package/embed-card/package.json +1 -8
- package/emoji/package.json +1 -8
- package/expand/package.json +1 -8
- package/extension/package.json +1 -8
- package/extensions/package.json +1 -8
- package/font-size/package.json +1 -8
- package/fragment/package.json +1 -8
- package/hard-break/package.json +1 -8
- package/heading/package.json +1 -8
- package/image/package.json +1 -8
- package/indentation/package.json +1 -8
- package/inline-card/package.json +1 -8
- package/inline-content/package.json +1 -8
- package/inline-extension/package.json +1 -8
- package/inline-nodes/package.json +1 -8
- package/json-schema/package.json +1 -8
- package/layout-column/package.json +1 -8
- package/layout-section/package.json +1 -8
- package/lch-color-inversion/package.json +1 -8
- package/link/package.json +1 -8
- package/list/package.json +1 -8
- package/list-item/package.json +1 -8
- package/mark/package.json +1 -8
- package/media/package.json +1 -8
- package/media-group/package.json +1 -8
- package/media-inline/package.json +1 -8
- package/media-single/package.json +1 -8
- package/mention/package.json +1 -8
- package/multi-bodied-extension/package.json +1 -8
- package/nested-expand/package.json +1 -8
- package/non-nestable-block-content/package.json +1 -8
- package/ordered-list/package.json +1 -8
- package/package.json +2 -2
- package/panel/package.json +1 -8
- package/paragraph/package.json +1 -8
- package/placeholder/package.json +1 -8
- package/rich-media-common/package.json +1 -8
- package/rule/package.json +1 -8
- package/sanitizeNodes/package.json +1 -8
- package/schema/alignment/package.json +1 -8
- package/schema/annotation/package.json +1 -8
- package/schema/background-color/package.json +1 -8
- package/schema/block-card/package.json +1 -8
- package/schema/block-content/package.json +1 -8
- package/schema/blockquote/package.json +1 -8
- package/schema/bodied-extension/package.json +1 -8
- package/schema/bodied-sync-block/package.json +1 -8
- package/schema/border/package.json +1 -8
- package/schema/breakout/package.json +1 -8
- package/schema/bullet-list/package.json +1 -8
- package/schema/caption/package.json +1 -8
- package/schema/code/package.json +1 -8
- package/schema/code-block/package.json +1 -8
- package/schema/confluence-inline-comment/package.json +1 -8
- package/schema/confluence-jira-issue/package.json +1 -8
- package/schema/confluence-unsupported-block/package.json +1 -8
- package/schema/confluence-unsupported-inline/package.json +1 -8
- package/schema/create-schema/package.json +1 -8
- package/schema/createPMSpecFactory/package.json +1 -8
- package/schema/data-consumer/package.json +1 -8
- package/schema/date/package.json +1 -8
- package/schema/decision-item/package.json +1 -8
- package/schema/decision-list/package.json +1 -8
- package/schema/doc/package.json +1 -8
- package/schema/em/package.json +1 -8
- package/schema/embed-card/package.json +1 -8
- package/schema/emoji/package.json +1 -8
- package/schema/expand/package.json +1 -8
- package/schema/extension/package.json +1 -8
- package/schema/extensions/package.json +1 -8
- package/schema/font-size/package.json +1 -8
- package/schema/fragment/package.json +1 -8
- package/schema/hard-break/package.json +1 -8
- package/schema/heading/package.json +1 -8
- package/schema/image/package.json +1 -8
- package/schema/indentation/package.json +1 -8
- package/schema/inline-card/package.json +1 -8
- package/schema/inline-content/package.json +1 -8
- package/schema/inline-extension/package.json +1 -8
- package/schema/inline-nodes/package.json +1 -8
- package/schema/layout-section/package.json +1 -8
- package/schema/link/package.json +1 -8
- package/schema/list/package.json +1 -8
- package/schema/list-item/package.json +1 -8
- package/schema/mark/package.json +1 -8
- package/schema/media/package.json +1 -8
- package/schema/media-group/package.json +1 -8
- package/schema/media-inline/package.json +1 -8
- package/schema/media-single/package.json +1 -8
- package/schema/mention/package.json +1 -8
- package/schema/multi-bodied-extension/package.json +1 -8
- package/schema/nested-expand/package.json +1 -8
- package/schema/non-nestable-block-content/package.json +1 -8
- package/schema/ordered-list/package.json +1 -8
- package/schema/package.json +1 -8
- package/schema/panel/package.json +1 -8
- package/schema/paragraph/package.json +1 -8
- package/schema/placeholder/package.json +1 -8
- package/schema/rich-media-common/package.json +1 -8
- package/schema/rule/package.json +1 -8
- package/schema/sanitizeNodes/package.json +1 -8
- package/schema/status/package.json +1 -8
- package/schema/strike/package.json +1 -8
- package/schema/strong/package.json +1 -8
- package/schema/subsup/package.json +1 -8
- package/schema/sync-block/package.json +1 -8
- package/schema/tableNodes/package.json +1 -8
- package/schema/task-item/package.json +1 -8
- package/schema/task-list/package.json +1 -8
- package/schema/text/package.json +1 -8
- package/schema/text-color/package.json +1 -8
- package/schema/type-ahead-query/package.json +1 -8
- package/schema/underline/package.json +1 -8
- package/schema/unknown-block/package.json +1 -8
- package/schema/unsupported/package.json +1 -8
- package/schema/unsupported-block/package.json +1 -8
- package/schema/unsupported-inline/package.json +1 -8
- package/schema/unsupported-mark/package.json +1 -8
- package/schema/unsupported-node-attributes/package.json +1 -8
- package/schema-bitbucket/package.json +1 -8
- package/schema-confluence/package.json +1 -8
- package/schema-default/package.json +1 -8
- package/schema-jira/package.json +1 -8
- package/schema-next/markTypes/package.json +1 -8
- package/schema-next/nodeGroupTypes/package.json +1 -8
- package/schema-next/nodeTypes/package.json +1 -8
- package/schema-next/package.json +1 -8
- package/schema-validator/package.json +1 -8
- package/status/package.json +1 -8
- package/steps/analytics/package.json +1 -8
- package/steps/batch-attrs-step/package.json +1 -8
- package/steps/link-meta-step/package.json +1 -8
- package/steps/override-document-step/package.json +1 -8
- package/steps/package.json +1 -8
- package/steps/set-attrs/package.json +1 -8
- package/steps/type-ahead/package.json +1 -8
- package/strike/package.json +1 -8
- package/strong/package.json +1 -8
- package/subsup/package.json +1 -8
- package/sync-block/package.json +1 -8
- package/tableNodes/package.json +1 -8
- package/task-item/package.json +1 -8
- package/task-list/package.json +1 -8
- package/text/package.json +1 -8
- package/text-color/package.json +1 -8
- package/type-ahead-query/package.json +1 -8
- package/underline/package.json +1 -8
- package/unknown-block/package.json +1 -8
- package/unsupported/package.json +1 -8
- package/unsupported-block/package.json +1 -8
- package/unsupported-inline/package.json +1 -8
- package/unsupported-mark/package.json +1 -8
- package/unsupported-node-attributes/package.json +1 -8
- package/url/package.json +1 -8
- package/uuid/package.json +1 -8
- package/dist/types-ts4.5/entry-points/alignment.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/annotation.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/background-color.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/block-card.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/block-content.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/blockquote.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/bodied-extension.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/bodied-sync-block.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/border.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/breakout.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/bullet-list.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/caption.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/code-block.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/code.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/colors.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/confluence-emoji.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/confluence-inline-comment.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/confluence-jira-issue.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/confluence-unsupported-block.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/confluence-unsupported-inline.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/create-schema.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/createPMSpecFactory.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/data-consumer.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/date.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/decision-item.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/decision-list.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/doc.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/em.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/embed-card.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/emoji.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/expand.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/extension.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/extensions.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/font-size.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/fragment.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/hard-break.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/heading.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/image.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/indentation.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/inline-card.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/inline-content.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/inline-extension.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/inline-nodes.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/layout-column.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/layout-section.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/lch-color-inversion.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/link.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/list-item.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/list.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/mark.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/media-group.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/media-inline.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/media-single.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/media.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/mention.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/multi-bodied-extension.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/nested-expand.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/non-nestable-block-content.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/ordered-list.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/panel.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/paragraph.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/placeholder.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/rich-media-common.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/rule.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/sanitizeNodes.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-alignment.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-annotation.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-background-color.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-block-card.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-block-content.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-blockquote.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-bodied-extension.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-bodied-sync-block.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-border.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-breakout.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-bullet-list.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-caption.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-code-block.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-code.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-confluence-inline-comment.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-confluence-jira-issue.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-confluence-unsupported-block.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-confluence-unsupported-inline.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-create-schema.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-createPMSpecFactory.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-data-consumer.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-date.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-decision-item.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-decision-list.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-doc.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-em.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-embed-card.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-emoji.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-expand.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-extension.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-extensions.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-font-size.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-fragment.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-hard-break.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-heading.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-image.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-indentation.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-inline-card.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-inline-content.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-inline-extension.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-inline-nodes.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-layout-section.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-link.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-list-item.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-list.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-mark.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-media-group.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-media-inline.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-media-single.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-media.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-mention.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-multi-bodied-extension.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-nested-expand.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-next-markTypes.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-next-nodeGroupTypes.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-next-nodeTypes.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-non-nestable-block-content.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-ordered-list.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-panel.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-paragraph.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-placeholder.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-rich-media-common.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-rule.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-sanitizeNodes.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-status.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-strike.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-strong.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-subsup.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-sync-block.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-tableNodes.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-task-item.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-task-list.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-text-color.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-text.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-type-ahead-query.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-underline.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/schema-unknown-block.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-unsupported-block.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-unsupported-inline.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-unsupported-mark.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-unsupported-node-attributes.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/schema-unsupported.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/status.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/steps-analytics.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/steps-batch-attrs-step.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/steps-link-meta-step.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/steps-override-document-step.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/steps-set-attrs.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/steps-type-ahead.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/strike.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/strong.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/subsup.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/sync-block.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/tableNodes.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/task-item.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/task-list.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/text-color.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/text.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/type-ahead-query.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/underline.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/unknown-block.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/unsupported-block.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/unsupported-inline.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/unsupported-mark.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/unsupported-node-attributes.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/unsupported.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/uuid.d.ts +0 -1
- package/dist/types-ts4.5/index.d.ts +0 -8
- package/dist/types-ts4.5/next-schema/full-schema.adf.d.ts +0 -5
- package/dist/types-ts4.5/next-schema/generated/markTypes.d.ts +0 -218
- package/dist/types-ts4.5/next-schema/generated/nodeGroupTypes.d.ts +0 -10
- package/dist/types-ts4.5/next-schema/generated/nodeTypes.d.ts +0 -1056
- package/dist/types-ts4.5/next-schema/groups/blockContentGroup.d.ts +0 -14
- package/dist/types-ts4.5/next-schema/groups/blockGroup.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/groups/blockRootOnlyGroup.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/groups/fontStyleGroup.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/groups/inlineContentGroup.d.ts +0 -12
- package/dist/types-ts4.5/next-schema/groups/inlineGroup.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/groups/linkMarkGroup.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/groups/nonNestableBlockContentGroup.d.ts +0 -9
- package/dist/types-ts4.5/next-schema/groups/searchQueryMarkGroup.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/groups/tableCellContentPseudoGroup.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/index.d.ts +0 -3
- package/dist/types-ts4.5/next-schema/marks/alignmentAndIndentation.d.ts +0 -3
- package/dist/types-ts4.5/next-schema/marks/annotation.d.ts +0 -3
- package/dist/types-ts4.5/next-schema/marks/border.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/breakout.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/code.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/color.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/marks/confluenceInlineComment.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/dataConsumer.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/em.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/fontSize.d.ts +0 -17
- package/dist/types-ts4.5/next-schema/marks/fragment.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/link.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/strike.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/strong.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/subsup.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/typeAheadQuery.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/underline.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/unsupportedMark.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/marks/unsupportedNodeAttribute.d.ts +0 -2
- package/dist/types-ts4.5/next-schema/nodes/blockCard.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/blockquote.d.ts +0 -15
- package/dist/types-ts4.5/next-schema/nodes/bodiedExtension.d.ts +0 -9
- package/dist/types-ts4.5/next-schema/nodes/bodiedSyncBlock.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/caption.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/codeBlock.d.ts +0 -9
- package/dist/types-ts4.5/next-schema/nodes/confluenceJiraIssue.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/confluenceUnsupportedBlock.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/confluenceUnsupportedInline.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/date.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/decisionItem.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/decisionList.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/embedCard.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/emoji.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/expand.d.ts +0 -9
- package/dist/types-ts4.5/next-schema/nodes/extension.d.ts +0 -8
- package/dist/types-ts4.5/next-schema/nodes/extensionFrame.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/hardBreak.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/heading.d.ts +0 -39
- package/dist/types-ts4.5/next-schema/nodes/image.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/inlineCard.d.ts +0 -7
- package/dist/types-ts4.5/next-schema/nodes/inlineExtension.d.ts +0 -7
- package/dist/types-ts4.5/next-schema/nodes/layoutColumn.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/layoutSection.d.ts +0 -26
- package/dist/types-ts4.5/next-schema/nodes/list.d.ts +0 -7
- package/dist/types-ts4.5/next-schema/nodes/media.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/mediaGroup.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/mediaInline.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/mediaSingle.d.ts +0 -7
- package/dist/types-ts4.5/next-schema/nodes/mention.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/multiBodiedExtension.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/nestedExpand.d.ts +0 -12
- package/dist/types-ts4.5/next-schema/nodes/panel.d.ts +0 -5
- package/dist/types-ts4.5/next-schema/nodes/paragraph.d.ts +0 -30
- package/dist/types-ts4.5/next-schema/nodes/placeholder.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/rule.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/status.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/syncBlock.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/tableCellContent.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/tableNodes.d.ts +0 -5
- package/dist/types-ts4.5/next-schema/nodes/task.d.ts +0 -10
- package/dist/types-ts4.5/next-schema/nodes/text.d.ts +0 -26
- package/dist/types-ts4.5/next-schema/nodes/unsupportedBlock.d.ts +0 -4
- package/dist/types-ts4.5/next-schema/nodes/unsupportedInline.d.ts +0 -4
- package/dist/types-ts4.5/schema/bitbucket-schema.d.ts +0 -5
- package/dist/types-ts4.5/schema/confluence-schema.d.ts +0 -9
- package/dist/types-ts4.5/schema/create-schema.d.ts +0 -27
- package/dist/types-ts4.5/schema/createPMSpecFactory.d.ts +0 -37
- package/dist/types-ts4.5/schema/default-schema.d.ts +0 -9
- package/dist/types-ts4.5/schema/groups.d.ts +0 -6
- package/dist/types-ts4.5/schema/index.d.ts +0 -12
- package/dist/types-ts4.5/schema/inline-nodes.d.ts +0 -1
- package/dist/types-ts4.5/schema/jira-schema.d.ts +0 -65
- package/dist/types-ts4.5/schema/marks/alignment.d.ts +0 -16
- package/dist/types-ts4.5/schema/marks/annotation.d.ts +0 -32
- package/dist/types-ts4.5/schema/marks/background-color.d.ts +0 -15
- package/dist/types-ts4.5/schema/marks/border.d.ts +0 -26
- package/dist/types-ts4.5/schema/marks/breakout.d.ts +0 -12
- package/dist/types-ts4.5/schema/marks/code.d.ts +0 -8
- package/dist/types-ts4.5/schema/marks/confluence-inline-comment.d.ts +0 -12
- package/dist/types-ts4.5/schema/marks/data-consumer.d.ts +0 -48
- package/dist/types-ts4.5/schema/marks/em.d.ts +0 -8
- package/dist/types-ts4.5/schema/marks/font-size.d.ts +0 -12
- package/dist/types-ts4.5/schema/marks/fragment.d.ts +0 -30
- package/dist/types-ts4.5/schema/marks/indentation.d.ts +0 -16
- package/dist/types-ts4.5/schema/marks/index.d.ts +0 -38
- package/dist/types-ts4.5/schema/marks/link.d.ts +0 -40
- package/dist/types-ts4.5/schema/marks/strike.d.ts +0 -8
- package/dist/types-ts4.5/schema/marks/strong.d.ts +0 -8
- package/dist/types-ts4.5/schema/marks/subsup.d.ts +0 -15
- package/dist/types-ts4.5/schema/marks/text-color.d.ts +0 -27
- package/dist/types-ts4.5/schema/marks/type-ahead-query.d.ts +0 -2
- package/dist/types-ts4.5/schema/marks/underline.d.ts +0 -8
- package/dist/types-ts4.5/schema/marks/unsupported-mark.d.ts +0 -2
- package/dist/types-ts4.5/schema/marks/unsupported-node-attributes.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/block-card.d.ts +0 -49
- package/dist/types-ts4.5/schema/nodes/blockquote.d.ts +0 -30
- package/dist/types-ts4.5/schema/nodes/bodied-extension.d.ts +0 -26
- package/dist/types-ts4.5/schema/nodes/bodied-sync-block.d.ts +0 -46
- package/dist/types-ts4.5/schema/nodes/bullet-list.d.ts +0 -4
- package/dist/types-ts4.5/schema/nodes/caption.d.ts +0 -27
- package/dist/types-ts4.5/schema/nodes/code-block.d.ts +0 -34
- package/dist/types-ts4.5/schema/nodes/confluence-jira-issue.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/confluence-unsupported-block.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/confluence-unsupported-inline.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/date.d.ts +0 -23
- package/dist/types-ts4.5/schema/nodes/decision-item.d.ts +0 -18
- package/dist/types-ts4.5/schema/nodes/decision-list.d.ts +0 -20
- package/dist/types-ts4.5/schema/nodes/doc.d.ts +0 -22
- package/dist/types-ts4.5/schema/nodes/embed-card.d.ts +0 -17
- package/dist/types-ts4.5/schema/nodes/emoji.d.ts +0 -22
- package/dist/types-ts4.5/schema/nodes/expand.d.ts +0 -36
- package/dist/types-ts4.5/schema/nodes/extension.d.ts +0 -18
- package/dist/types-ts4.5/schema/nodes/hard-break.d.ts +0 -11
- package/dist/types-ts4.5/schema/nodes/heading.d.ts +0 -43
- package/dist/types-ts4.5/schema/nodes/image.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/index.d.ts +0 -98
- package/dist/types-ts4.5/schema/nodes/inline-card.d.ts +0 -17
- package/dist/types-ts4.5/schema/nodes/inline-extension.d.ts +0 -18
- package/dist/types-ts4.5/schema/nodes/layout-column.d.ts +0 -30
- package/dist/types-ts4.5/schema/nodes/layout-section.d.ts +0 -57
- package/dist/types-ts4.5/schema/nodes/list-item.d.ts +0 -9
- package/dist/types-ts4.5/schema/nodes/media-group.d.ts +0 -16
- package/dist/types-ts4.5/schema/nodes/media-inline.d.ts +0 -20
- package/dist/types-ts4.5/schema/nodes/media-single.d.ts +0 -78
- package/dist/types-ts4.5/schema/nodes/media.d.ts +0 -71
- package/dist/types-ts4.5/schema/nodes/mention.d.ts +0 -31
- package/dist/types-ts4.5/schema/nodes/multi-bodied-extension.d.ts +0 -55
- package/dist/types-ts4.5/schema/nodes/nested-expand.d.ts +0 -43
- package/dist/types-ts4.5/schema/nodes/ordered-list.d.ts +0 -6
- package/dist/types-ts4.5/schema/nodes/panel.d.ts +0 -64
- package/dist/types-ts4.5/schema/nodes/paragraph.d.ts +0 -45
- package/dist/types-ts4.5/schema/nodes/placeholder.d.ts +0 -13
- package/dist/types-ts4.5/schema/nodes/rule.d.ts +0 -12
- package/dist/types-ts4.5/schema/nodes/status.d.ts +0 -27
- package/dist/types-ts4.5/schema/nodes/sync-block.d.ts +0 -23
- package/dist/types-ts4.5/schema/nodes/tableNodes.d.ts +0 -174
- package/dist/types-ts4.5/schema/nodes/task-item.d.ts +0 -36
- package/dist/types-ts4.5/schema/nodes/task-list.d.ts +0 -26
- package/dist/types-ts4.5/schema/nodes/text.d.ts +0 -14
- package/dist/types-ts4.5/schema/nodes/types/block-content.d.ts +0 -21
- package/dist/types-ts4.5/schema/nodes/types/extensions.d.ts +0 -34
- package/dist/types-ts4.5/schema/nodes/types/inline-content.d.ts +0 -28
- package/dist/types-ts4.5/schema/nodes/types/list.d.ts +0 -51
- package/dist/types-ts4.5/schema/nodes/types/mark.d.ts +0 -15
- package/dist/types-ts4.5/schema/nodes/types/non-nestable-block-content.d.ts +0 -19
- package/dist/types-ts4.5/schema/nodes/types/rich-media-common.d.ts +0 -37
- package/dist/types-ts4.5/schema/nodes/types/valign.d.ts +0 -6
- package/dist/types-ts4.5/schema/nodes/unknown-block.d.ts +0 -3
- package/dist/types-ts4.5/schema/nodes/unsupported-block.d.ts +0 -2
- package/dist/types-ts4.5/schema/nodes/unsupported-inline.d.ts +0 -2
- package/dist/types-ts4.5/schema/sanitizeNodes.d.ts +0 -8
- package/dist/types-ts4.5/schema/unsupported.d.ts +0 -1
- package/dist/types-ts4.5/steps/analytics.d.ts +0 -60
- package/dist/types-ts4.5/steps/batch-attrs-step.d.ts +0 -74
- package/dist/types-ts4.5/steps/link-meta-step.d.ts +0 -52
- package/dist/types-ts4.5/steps/override-document-step.d.ts +0 -26
- package/dist/types-ts4.5/steps/set-attrs.d.ts +0 -24
- package/dist/types-ts4.5/steps/type-ahead.d.ts +0 -35
- package/dist/types-ts4.5/steps/types.d.ts +0 -96
- package/dist/types-ts4.5/steps.d.ts +0 -10
- package/dist/types-ts4.5/utils/colors.d.ts +0 -81
- package/dist/types-ts4.5/utils/confluence/emoji.d.ts +0 -50
- package/dist/types-ts4.5/utils/editor-palette.d.ts +0 -257
- package/dist/types-ts4.5/utils/extensions.d.ts +0 -3
- package/dist/types-ts4.5/utils/index.d.ts +0 -7
- package/dist/types-ts4.5/utils/lch-color-inversion.d.ts +0 -2
- package/dist/types-ts4.5/utils/parseDOM.d.ts +0 -1
- package/dist/types-ts4.5/utils/url.d.ts +0 -40
- package/dist/types-ts4.5/utils/uuid.d.ts +0 -5
- package/dist/types-ts4.5/validator-schema/generated/validatorSpec.d.ts +0 -2016
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import type { LayoutColumnDefinition } from './layout-column';
|
|
2
|
-
import type { BreakoutMarkDefinition } from '../marks';
|
|
3
|
-
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
/**
|
|
5
|
-
* @name layoutSection_node
|
|
6
|
-
*/
|
|
7
|
-
export type LayoutSectionBaseDefinition = {
|
|
8
|
-
attrs?: {
|
|
9
|
-
localId?: string;
|
|
10
|
-
};
|
|
11
|
-
content: Array<LayoutColumnDefinition>;
|
|
12
|
-
marks?: Array<BreakoutMarkDefinition>;
|
|
13
|
-
type: 'layoutSection';
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Need duplicate `type` and `marks` to make both validator and json-schema satisfied
|
|
17
|
-
*/
|
|
18
|
-
/**
|
|
19
|
-
* @name layoutSection_full_node
|
|
20
|
-
*/
|
|
21
|
-
export type LayoutSectionFullDefinition = LayoutSectionBaseDefinition & {
|
|
22
|
-
/**
|
|
23
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
24
|
-
* @minItems 2
|
|
25
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
26
|
-
* @maxItems 3
|
|
27
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
28
|
-
* @allowUnsupportedBlock true
|
|
29
|
-
*/
|
|
30
|
-
content: Array<LayoutColumnDefinition>;
|
|
31
|
-
marks?: Array<BreakoutMarkDefinition>;
|
|
32
|
-
type: 'layoutSection';
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
36
|
-
* @stage 0
|
|
37
|
-
* @name layoutSection_with_single_column_node
|
|
38
|
-
*/
|
|
39
|
-
export type LayoutSectionWithSingleColumnDefinition = LayoutSectionBaseDefinition & {
|
|
40
|
-
/**
|
|
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
|
-
*/
|
|
48
|
-
content: Array<LayoutColumnDefinition>;
|
|
49
|
-
marks?: Array<BreakoutMarkDefinition>;
|
|
50
|
-
type: 'layoutSection';
|
|
51
|
-
};
|
|
52
|
-
export type LayoutSectionDefinition = LayoutSectionFullDefinition | LayoutSectionWithSingleColumnDefinition;
|
|
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,16 +0,0 @@
|
|
|
1
|
-
import type { MediaDefinition as Media } from './media';
|
|
2
|
-
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
/**
|
|
4
|
-
* @name mediaGroup_node
|
|
5
|
-
*/
|
|
6
|
-
export interface MediaGroupDefinition {
|
|
7
|
-
/**
|
|
8
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
9
|
-
* @minItems 1
|
|
10
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
11
|
-
* @allowUnsupportedBlock true
|
|
12
|
-
*/
|
|
13
|
-
content: Array<Media>;
|
|
14
|
-
type: 'mediaGroup';
|
|
15
|
-
}
|
|
16
|
-
export declare const mediaGroup: NodeSpec;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import type { LinkDefinition } from '../marks/link';
|
|
3
|
-
import type { MediaBaseAttributes } from './media';
|
|
4
|
-
import type { BorderMarkDefinition } from '../marks/border';
|
|
5
|
-
import type { AnnotationMarkDefinition } from '../marks/annotation';
|
|
6
|
-
export interface MediaInlineAttributes extends MediaBaseAttributes {
|
|
7
|
-
data?: object;
|
|
8
|
-
type?: 'file' | 'link' | 'image';
|
|
9
|
-
url?: string | null;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @name mediaInline_node
|
|
13
|
-
*/
|
|
14
|
-
export interface MediaInlineDefinition {
|
|
15
|
-
attrs: MediaInlineAttributes;
|
|
16
|
-
marks?: Array<LinkDefinition | BorderMarkDefinition | AnnotationMarkDefinition>;
|
|
17
|
-
type: 'mediaInline';
|
|
18
|
-
}
|
|
19
|
-
export declare const mediaInline: NodeSpec;
|
|
20
|
-
export declare const mediaInlineWithLocalId: NodeSpec;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import type { NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import type { MediaDefinition as Media } from './media';
|
|
3
|
-
import type { LinkDefinition } from '../marks/link';
|
|
4
|
-
import type { ExtendedMediaAttributes } from './types/rich-media-common';
|
|
5
|
-
import type { CaptionDefinition as Caption } from './caption';
|
|
6
|
-
export type MediaSingleDefinition = MediaSingleFullDefinition | MediaSingleWithCaptionDefinition;
|
|
7
|
-
/**
|
|
8
|
-
* @name mediaSingle_node
|
|
9
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
10
|
-
* @additionalProperties true
|
|
11
|
-
*/
|
|
12
|
-
export interface MediaSingleBaseDefinition {
|
|
13
|
-
attrs?: ExtendedMediaAttributes;
|
|
14
|
-
marks?: Array<LinkDefinition>;
|
|
15
|
-
type: 'mediaSingle';
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
19
|
-
* @additionalProperties true
|
|
20
|
-
*/
|
|
21
|
-
export interface MediaCaptionContent {
|
|
22
|
-
/**
|
|
23
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
24
|
-
* @minItems 1
|
|
25
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
26
|
-
* @maxItems 2
|
|
27
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
28
|
-
* @allowUnsupportedBlock true
|
|
29
|
-
*/
|
|
30
|
-
content: [
|
|
31
|
-
Media,
|
|
32
|
-
Caption?
|
|
33
|
-
];
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @name mediaSingle_caption_node
|
|
37
|
-
*/
|
|
38
|
-
export type MediaSingleWithCaptionDefinition = MediaSingleBaseDefinition & MediaCaptionContent;
|
|
39
|
-
/**
|
|
40
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
41
|
-
* @additionalProperties true
|
|
42
|
-
*/
|
|
43
|
-
export interface MediaSingleFullContent {
|
|
44
|
-
/**
|
|
45
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
46
|
-
* @minItems 1
|
|
47
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
48
|
-
* @maxItems 1
|
|
49
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
50
|
-
* @allowUnsupportedBlock true
|
|
51
|
-
*/
|
|
52
|
-
content: Array<Media>;
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* @name mediaSingle_full_node
|
|
56
|
-
*/
|
|
57
|
-
export type MediaSingleFullDefinition = MediaSingleBaseDefinition & MediaSingleFullContent;
|
|
58
|
-
export declare const defaultAttrs: {
|
|
59
|
-
layout: {
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
width: {
|
|
63
|
-
default: null;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
export declare const mediaSingleSpec: ({ withCaption, withExtendedWidthTypes, generateLocalId, }: {
|
|
67
|
-
generateLocalId?: boolean | undefined;
|
|
68
|
-
withCaption?: boolean | undefined;
|
|
69
|
-
withExtendedWidthTypes?: boolean | undefined;
|
|
70
|
-
}) => NodeSpec;
|
|
71
|
-
export declare const mediaSingle: NodeSpec;
|
|
72
|
-
export declare const mediaSingleWithCaption: NodeSpec;
|
|
73
|
-
export declare const mediaSingleWithWidthType: NodeSpec;
|
|
74
|
-
export declare const mediaSingleFull: NodeSpec;
|
|
75
|
-
export declare const mediaSingleFullWithLocalId: NodeSpec;
|
|
76
|
-
export declare const toJSON: (node: PMNode) => {
|
|
77
|
-
attrs: any;
|
|
78
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import type { AttributeSpec, NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import type { BorderMarkDefinition } from '../marks/border';
|
|
3
|
-
import type { LinkDefinition } from '../marks/link';
|
|
4
|
-
import type { AnnotationMarkDefinition } from '../marks/annotation';
|
|
5
|
-
export type MediaType = 'file' | 'link' | 'external';
|
|
6
|
-
export type DisplayType = 'file' | 'thumbnail';
|
|
7
|
-
export type DefaultAttributes<T> = {
|
|
8
|
-
[P in keyof T]: {
|
|
9
|
-
default?: T[P] | null;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* @name media_node
|
|
14
|
-
*/
|
|
15
|
-
export interface MediaDefinition {
|
|
16
|
-
/**
|
|
17
|
-
* Minimum item: 1
|
|
18
|
-
*/
|
|
19
|
-
attrs: MediaADFAttrs;
|
|
20
|
-
marks?: Array<LinkDefinition | BorderMarkDefinition | AnnotationMarkDefinition>;
|
|
21
|
-
type: 'media';
|
|
22
|
-
}
|
|
23
|
-
export interface MediaBaseAttributes {
|
|
24
|
-
__contextId?: string | null;
|
|
25
|
-
__displayType?: DisplayType | null;
|
|
26
|
-
__external?: boolean;
|
|
27
|
-
__fileMimeType?: string | null;
|
|
28
|
-
__fileName?: string | null;
|
|
29
|
-
__fileSize?: number | null;
|
|
30
|
-
__mediaTraceId?: string | null;
|
|
31
|
-
alt?: string;
|
|
32
|
-
collection: string;
|
|
33
|
-
height?: number;
|
|
34
|
-
/**
|
|
35
|
-
* Minimum length: 1
|
|
36
|
-
*/
|
|
37
|
-
id: string;
|
|
38
|
-
localId?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Occurrence key (minimum length: 1)
|
|
41
|
-
*/
|
|
42
|
-
occurrenceKey?: string;
|
|
43
|
-
width?: number;
|
|
44
|
-
}
|
|
45
|
-
export interface MediaAttributes extends MediaBaseAttributes {
|
|
46
|
-
type: 'file' | 'link';
|
|
47
|
-
}
|
|
48
|
-
export interface ExternalMediaAttributes {
|
|
49
|
-
__external?: boolean;
|
|
50
|
-
alt?: string;
|
|
51
|
-
height?: number;
|
|
52
|
-
localId?: string;
|
|
53
|
-
type: 'external';
|
|
54
|
-
url: string;
|
|
55
|
-
width?: number;
|
|
56
|
-
}
|
|
57
|
-
export type MediaADFAttrs = MediaAttributes | ExternalMediaAttributes;
|
|
58
|
-
export declare const defaultAttrs: {
|
|
59
|
-
[name: string]: AttributeSpec;
|
|
60
|
-
} | undefined;
|
|
61
|
-
export interface MutableMediaAttributes extends MediaAttributes {
|
|
62
|
-
[key: string]: string | number | undefined | null | boolean;
|
|
63
|
-
}
|
|
64
|
-
export declare const camelCaseToKebabCase: (str: string) => string;
|
|
65
|
-
export declare const copyPrivateAttributes: (from: Record<string, any>, to: Record<string, any>, attributes?: Partial<NodeSpec["attrs"]>, map?: ((str: string) => string) | undefined) => void;
|
|
66
|
-
export declare const createMediaSpec: (attributes: Partial<NodeSpec["attrs"]>, inline?: boolean, generateLocalId?: boolean) => NodeSpec;
|
|
67
|
-
export declare const media: NodeSpec;
|
|
68
|
-
export declare const mediaWithLocalId: NodeSpec;
|
|
69
|
-
export declare const toJSON: (node: PMNode) => {
|
|
70
|
-
attrs: Record<string, any>;
|
|
71
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { Attrs, NodeSpec, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import type { AnnotationMarkDefinition } from '../marks/annotation';
|
|
3
|
-
export declare enum USER_TYPES {
|
|
4
|
-
DEFAULT = "DEFAULT",
|
|
5
|
-
SPECIAL = "SPECIAL",
|
|
6
|
-
APP = "APP"
|
|
7
|
-
}
|
|
8
|
-
export type UserType = keyof typeof USER_TYPES;
|
|
9
|
-
export interface MentionAttributes {
|
|
10
|
-
accessLevel?: string;
|
|
11
|
-
id: string;
|
|
12
|
-
localId?: string;
|
|
13
|
-
text?: string;
|
|
14
|
-
userType?: UserType;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @name mention_node
|
|
18
|
-
*/
|
|
19
|
-
export interface MentionDefinition {
|
|
20
|
-
attrs: MentionAttributes;
|
|
21
|
-
/**
|
|
22
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
23
|
-
* @stage 0
|
|
24
|
-
*/
|
|
25
|
-
marks?: Array<AnnotationMarkDefinition>;
|
|
26
|
-
type: 'mention';
|
|
27
|
-
}
|
|
28
|
-
export declare const mention: NodeSpec;
|
|
29
|
-
export declare const toJSON: (node: PMNode) => {
|
|
30
|
-
attrs: Attrs;
|
|
31
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { ExtensionAttributes } from './types/extensions';
|
|
2
|
-
import type { BodiedExtensionDefinition as BodiedExtension } from './bodied-extension';
|
|
3
|
-
import type { PanelDefinition as Panel } from './panel';
|
|
4
|
-
import type { ParagraphDefinition as Paragraph } from './paragraph';
|
|
5
|
-
import type { BlockQuoteDefinition as Blockquote } from './blockquote';
|
|
6
|
-
import type { OrderedListDefinition as OrderedList, BulletListDefinition as BulletList } from './types/list';
|
|
7
|
-
import type { RuleDefinition as Rule } from './rule';
|
|
8
|
-
import type { HeadingDefinition as Heading } from './heading';
|
|
9
|
-
import type { CodeBlockDefinition as CodeBlock } from './code-block';
|
|
10
|
-
import type { MediaGroupDefinition as MediaGroup } from './media-group';
|
|
11
|
-
import type { MediaSingleDefinition as MediaSingle } from './media-single';
|
|
12
|
-
import type { DecisionListDefinition as DecisionList } from './decision-list';
|
|
13
|
-
import type { TaskListDefinition as TaskList } from './task-list';
|
|
14
|
-
import type { TableDefinition as Table } from './tableNodes';
|
|
15
|
-
import type { ExtensionDefinition as Extension } from './extension';
|
|
16
|
-
import type { BlockCardDefinition as BlockCard } from './block-card';
|
|
17
|
-
import type { EmbedCardDefinition as EmbedCard } from './embed-card';
|
|
18
|
-
import type { DataConsumerDefinition, FragmentDefinition } from '../marks';
|
|
19
|
-
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
20
|
-
/**
|
|
21
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
22
|
-
* @stage 0
|
|
23
|
-
* @name extensionFrame_node
|
|
24
|
-
* @description Wraps the block content
|
|
25
|
-
*/
|
|
26
|
-
export interface ExtensionFrameDefinition {
|
|
27
|
-
/**
|
|
28
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
29
|
-
* @minItems 1
|
|
30
|
-
*/
|
|
31
|
-
content: Array<BodiedExtension | Panel | Paragraph | Blockquote | OrderedList | BulletList | Rule | Heading | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Table | Extension | BlockCard | EmbedCard>;
|
|
32
|
-
marks?: Array<DataConsumerDefinition | FragmentDefinition>;
|
|
33
|
-
type: 'extensionFrame';
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @returns NodeSpec for ExtensionFrameDefinition
|
|
37
|
-
*/
|
|
38
|
-
export declare const extensionFrame: NodeSpec;
|
|
39
|
-
/**
|
|
40
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
41
|
-
* @stage 0
|
|
42
|
-
* @name multiBodiedExtension_node
|
|
43
|
-
* @description Wraps multiple extensionFrame objects.
|
|
44
|
-
*/
|
|
45
|
-
export interface MultiBodiedExtensionDefinition {
|
|
46
|
-
attrs: ExtensionAttributes;
|
|
47
|
-
/**
|
|
48
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
49
|
-
* @minLength 1
|
|
50
|
-
*/
|
|
51
|
-
content: Array<ExtensionFrameDefinition>;
|
|
52
|
-
marks?: Array<any>;
|
|
53
|
-
type: 'multiBodiedExtension';
|
|
54
|
-
}
|
|
55
|
-
export declare const multiBodiedExtension: NodeSpec;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { NoMark } from './types/mark';
|
|
2
|
-
import type { ParagraphDefinition as Paragraph } from './paragraph';
|
|
3
|
-
import type { HeadingDefinition as Heading } from './heading';
|
|
4
|
-
import type { MediaSingleDefinition as MediaSingle } from './media-single';
|
|
5
|
-
import type { MediaGroupDefinition as MediaGroup } from './media-group';
|
|
6
|
-
import type { CodeBlockDefinition as CodeBlock } from './code-block';
|
|
7
|
-
import type { BulletListDefinition as BulletList, OrderedListDefinition as OrderedList } from './types/list';
|
|
8
|
-
import type { TaskListDefinition as TaskList } from './task-list';
|
|
9
|
-
import type { DecisionListDefinition as DecisionList } from './decision-list';
|
|
10
|
-
import type { RuleDefinition as Rule } from './rule';
|
|
11
|
-
import type { PanelDefinition as Panel } from './panel';
|
|
12
|
-
import type { BlockQuoteDefinition as BlockQuote } from './blockquote';
|
|
13
|
-
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
14
|
-
/**
|
|
15
|
-
* @name nestedExpand_content
|
|
16
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
17
|
-
* @minItems 1
|
|
18
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
19
|
-
* @allowUnsupportedBlock true
|
|
20
|
-
*/
|
|
21
|
-
export type NestedExpandContent = Array<Paragraph | Heading | MediaSingle | MediaGroup | CodeBlock | BulletList | OrderedList | TaskList | DecisionList | Rule | Panel | BlockQuote>;
|
|
22
|
-
/**
|
|
23
|
-
* @name nestedExpand_node
|
|
24
|
-
*/
|
|
25
|
-
export interface NestedExpandBaseDefinition {
|
|
26
|
-
attrs: {
|
|
27
|
-
__expanded?: boolean;
|
|
28
|
-
localId?: string;
|
|
29
|
-
title?: string;
|
|
30
|
-
};
|
|
31
|
-
content: NestedExpandContent;
|
|
32
|
-
type: 'nestedExpand';
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* @name nestedExpand_with_no_marks_node
|
|
36
|
-
*/
|
|
37
|
-
export type NestedExpandDefinition = NestedExpandBaseDefinition & NoMark;
|
|
38
|
-
/**
|
|
39
|
-
* @name nestedExpand
|
|
40
|
-
* @description an expand that can be nested (eg. inside table, layout).
|
|
41
|
-
*/
|
|
42
|
-
export declare const nestedExpand: NodeSpec;
|
|
43
|
-
export declare const nestedExpandWithLocalId: NodeSpec;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
export declare const orderedListSelector = ".ak-ol";
|
|
3
|
-
export declare const orderedList: NodeSpec;
|
|
4
|
-
export declare const orderedListWithLocalId: NodeSpec;
|
|
5
|
-
export declare const orderedListWithOrder: NodeSpec;
|
|
6
|
-
export declare const orderedListWithOrderAndLocalId: NodeSpec;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { ParagraphDefinition as Paragraph } from './paragraph';
|
|
2
|
-
import type { OrderedListDefinition as OrderedList, BulletListDefinition as BulletList } from './types/list';
|
|
3
|
-
import type { HeadingDefinition as Heading } from './heading';
|
|
4
|
-
import type { BlockCardDefinition as BlockCard } from './block-card';
|
|
5
|
-
import type { CodeBlockDefinition as CodeBlock } from './code-block';
|
|
6
|
-
import type { MediaGroupDefinition as MediaGroup } from './media-group';
|
|
7
|
-
import type { MediaSingleDefinition as MediaSingle } from './media-single';
|
|
8
|
-
import type { DecisionListDefinition as DecisionList } from './decision-list';
|
|
9
|
-
import type { TaskListDefinition as TaskList } from './task-list';
|
|
10
|
-
import type { RuleDefinition as Rule } from './rule';
|
|
11
|
-
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
12
|
-
export declare enum PanelType {
|
|
13
|
-
INFO = "info",
|
|
14
|
-
NOTE = "note",
|
|
15
|
-
TIP = "tip",
|
|
16
|
-
WARNING = "warning",
|
|
17
|
-
ERROR = "error",
|
|
18
|
-
SUCCESS = "success",
|
|
19
|
-
CUSTOM = "custom"
|
|
20
|
-
}
|
|
21
|
-
export interface PanelAttributes {
|
|
22
|
-
localId?: string;
|
|
23
|
-
panelColor?: string;
|
|
24
|
-
panelIcon?: string;
|
|
25
|
-
panelIconId?: string;
|
|
26
|
-
panelIconText?: string;
|
|
27
|
-
panelType: PanelType;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* @name panel_node
|
|
31
|
-
*/
|
|
32
|
-
export interface PanelDefinition {
|
|
33
|
-
attrs: PanelAttributes;
|
|
34
|
-
/**
|
|
35
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
36
|
-
* @minItems 1
|
|
37
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
38
|
-
* @allowUnsupportedBlock true
|
|
39
|
-
*/
|
|
40
|
-
content: Array<Paragraph | Heading | OrderedList | BulletList | BlockCard | CodeBlock | MediaGroup | MediaSingle | DecisionList | TaskList | Rule>;
|
|
41
|
-
type: 'panel';
|
|
42
|
-
}
|
|
43
|
-
export interface DOMAttributes {
|
|
44
|
-
[propName: string]: string;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* @name extended_panel
|
|
48
|
-
*
|
|
49
|
-
* it allows more content to be nested as compared to panel node.
|
|
50
|
-
* Specifically, it allows Media, action, code-block, rule and decision nodes in
|
|
51
|
-
* addition to content allowed inside panel
|
|
52
|
-
*/
|
|
53
|
-
export declare const extendedPanel: (allowCustomPanel: boolean) => NodeSpec;
|
|
54
|
-
export declare const extendedPanelWithLocalId: (allowCustomPanel: boolean) => NodeSpec;
|
|
55
|
-
/**
|
|
56
|
-
* @name extended_panel_c1
|
|
57
|
-
*
|
|
58
|
-
* Depth-level-1 variant of panel. Allows all standard panel content
|
|
59
|
-
* plus table nodes. Derives its parseDOM/toDOM behaviour from the same
|
|
60
|
-
* createPanelNodeSpecOptions helper as extendedPanel so that allowCustomPanel
|
|
61
|
-
* and generateLocalId propagate identically.
|
|
62
|
-
*/
|
|
63
|
-
export declare const extendedPanelC1: (allowCustomPanel: boolean) => NodeSpec;
|
|
64
|
-
export declare const extendedPanelC1WithLocalId: (allowCustomPanel: boolean) => NodeSpec;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { AlignmentMarkDefinition, IndentationMarkDefinition } from '../marks';
|
|
2
|
-
import type { MarksObject, NoMark } from './types/mark';
|
|
3
|
-
import type { Inline } from './types/inline-content';
|
|
4
|
-
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
5
|
-
export interface ParagraphAttributes {
|
|
6
|
-
/**
|
|
7
|
-
* An optional UUID for unique identification of the node
|
|
8
|
-
*/
|
|
9
|
-
localId?: string;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @name paragraph_node
|
|
13
|
-
*/
|
|
14
|
-
export interface ParagraphBaseDefinition {
|
|
15
|
-
attrs?: ParagraphAttributes;
|
|
16
|
-
/**
|
|
17
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
18
|
-
* @allowUnsupportedInline true
|
|
19
|
-
*/
|
|
20
|
-
content?: Array<Inline>;
|
|
21
|
-
marks?: Array<any>;
|
|
22
|
-
type: 'paragraph';
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* @name paragraph_with_no_marks_node
|
|
26
|
-
*/
|
|
27
|
-
export type ParagraphDefinition = ParagraphBaseDefinition & NoMark;
|
|
28
|
-
/**
|
|
29
|
-
* NOTE: Need this because TS is too smart and inline everything.
|
|
30
|
-
* So we need to give them separate identity.
|
|
31
|
-
* Probably there's a way to solve it but that will need time and exploration.
|
|
32
|
-
* // http://bit.ly/2raXFX5
|
|
33
|
-
* type T1 = X | Y
|
|
34
|
-
* type T2 = A | T1 | B // T2 = A | X | Y | B
|
|
35
|
-
*/
|
|
36
|
-
/**
|
|
37
|
-
* @name paragraph_with_alignment_node
|
|
38
|
-
*/
|
|
39
|
-
export type ParagraphWithAlignmentDefinition = ParagraphBaseDefinition & MarksObject<AlignmentMarkDefinition>;
|
|
40
|
-
/**
|
|
41
|
-
* @name paragraph_with_indentation_node
|
|
42
|
-
*/
|
|
43
|
-
export type ParagraphWithIndentationDefinition = ParagraphBaseDefinition & MarksObject<IndentationMarkDefinition>;
|
|
44
|
-
export type ParagraphWithMarksDefinition = ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition;
|
|
45
|
-
export declare const paragraph: NodeSpec;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
/**
|
|
3
|
-
* @name placeholder_node
|
|
4
|
-
*/
|
|
5
|
-
export interface PlaceholderDefinition {
|
|
6
|
-
attrs: {
|
|
7
|
-
localId?: string;
|
|
8
|
-
text: string;
|
|
9
|
-
};
|
|
10
|
-
type: 'placeholder';
|
|
11
|
-
}
|
|
12
|
-
export declare const placeholder: NodeSpec;
|
|
13
|
-
export declare const placeholderWithLocalId: NodeSpec;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
/**
|
|
3
|
-
* @name rule_node
|
|
4
|
-
*/
|
|
5
|
-
export interface RuleDefinition {
|
|
6
|
-
attrs?: {
|
|
7
|
-
localId?: string;
|
|
8
|
-
};
|
|
9
|
-
type: 'rule';
|
|
10
|
-
}
|
|
11
|
-
export declare const rule: NodeSpec;
|
|
12
|
-
export declare const ruleWithLocalId: NodeSpec;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { AnnotationMarkDefinition } from '../marks/annotation';
|
|
2
|
-
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
/**
|
|
4
|
-
* @name status_node
|
|
5
|
-
*/
|
|
6
|
-
export interface StatusDefinition {
|
|
7
|
-
attrs: {
|
|
8
|
-
color: 'neutral' | 'purple' | 'blue' | 'red' | 'yellow' | 'green';
|
|
9
|
-
localId?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Supported values are bold, subtle, and mixedCase
|
|
12
|
-
*/
|
|
13
|
-
style?: string;
|
|
14
|
-
/**
|
|
15
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
16
|
-
* @minLength 1
|
|
17
|
-
*/
|
|
18
|
-
text: string;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
// eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
|
|
22
|
-
* @stage 0
|
|
23
|
-
*/
|
|
24
|
-
marks?: Array<AnnotationMarkDefinition>;
|
|
25
|
-
type: 'status';
|
|
26
|
-
}
|
|
27
|
-
export declare const status: NodeSpec;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import type { BreakoutMarkDefinition } from '../marks';
|
|
3
|
-
export interface SyncBlockAttrs {
|
|
4
|
-
/**
|
|
5
|
-
* An optional UUID for unique identification of the node
|
|
6
|
-
*/
|
|
7
|
-
localId: string;
|
|
8
|
-
/**
|
|
9
|
-
* The ID of the resource to be synchronized.
|
|
10
|
-
*/
|
|
11
|
-
resourceId: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Represents a block node that is designed to be synchronized
|
|
15
|
-
* with an external resource across different products.
|
|
16
|
-
* @name syncBlock_node
|
|
17
|
-
*/
|
|
18
|
-
export interface SyncBlockDefinition {
|
|
19
|
-
attrs: SyncBlockAttrs;
|
|
20
|
-
marks?: Array<BreakoutMarkDefinition>;
|
|
21
|
-
type: 'syncBlock';
|
|
22
|
-
}
|
|
23
|
-
export declare const syncBlock: NodeSpec;
|