@atlaskit/adf-schema 54.0.3 → 55.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 +34 -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 +5 -5
- 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,52 +0,0 @@
|
|
|
1
|
-
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import type { Mappable } from '@atlaskit/editor-prosemirror/transform';
|
|
3
|
-
import { ReplaceStep, Step, StepMap, StepResult } from '@atlaskit/editor-prosemirror/transform';
|
|
4
|
-
export declare const stepType = "editor-linking-meta";
|
|
5
|
-
export declare const invertStepType = "editor-linking-meta-invert";
|
|
6
|
-
export type LinkStepMetadata = {
|
|
7
|
-
/**
|
|
8
|
-
* Editor action performed
|
|
9
|
-
*/
|
|
10
|
-
action?: string;
|
|
11
|
-
/**
|
|
12
|
-
* The applicable card action for this step
|
|
13
|
-
* if is RESOLVE then the undo/redo steps should be considered "updates" of a link
|
|
14
|
-
* if is AUTO_CONVERT then the transaction is converting a link to a non-link node (e.g. extension)
|
|
15
|
-
* and the link removal should not be tracked as a deletion
|
|
16
|
-
*/
|
|
17
|
-
cardAction?: 'RESOLVE' | 'AUTO_CONVERT';
|
|
18
|
-
/**
|
|
19
|
-
* Editor input method that triggered the transaction
|
|
20
|
-
*/
|
|
21
|
-
inputMethod?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Source UI that tiggered this step, if available/applicable
|
|
24
|
-
*/
|
|
25
|
-
sourceEvent?: unknown;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Custom Prosemirror Step to attach metadata about user interactions with links
|
|
29
|
-
* Using a Step means that it will work with prosemirror-history and we get utilise when
|
|
30
|
-
* firing events on history change
|
|
31
|
-
*/
|
|
32
|
-
export declare class LinkMetaStep extends Step {
|
|
33
|
-
private pos;
|
|
34
|
-
private metadata;
|
|
35
|
-
private isInverted;
|
|
36
|
-
constructor(pos: number | null, metadata: LinkStepMetadata, isInverted?: boolean);
|
|
37
|
-
getMetadata(): LinkStepMetadata;
|
|
38
|
-
/**
|
|
39
|
-
* Generate new undo/redo analytics event when step is inverted
|
|
40
|
-
*/
|
|
41
|
-
invert(): LinkMetaStep;
|
|
42
|
-
apply(doc: PMNode): StepResult;
|
|
43
|
-
map(mapping: Mappable): LinkMetaStep;
|
|
44
|
-
getMap(): StepMap;
|
|
45
|
-
merge(): null;
|
|
46
|
-
toJSON(): {
|
|
47
|
-
stepType: string;
|
|
48
|
-
from: number;
|
|
49
|
-
to: number;
|
|
50
|
-
};
|
|
51
|
-
static fromJSON(): ReplaceStep;
|
|
52
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Step, StepResult, StepMap } from '@atlaskit/editor-prosemirror/transform';
|
|
2
|
-
import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { ADFEntity } from './types';
|
|
4
|
-
type Options = {
|
|
5
|
-
inverted?: boolean;
|
|
6
|
-
nextDocument: PMNode;
|
|
7
|
-
};
|
|
8
|
-
export declare const overrideDocumentStepType = "override-document";
|
|
9
|
-
export declare class OverrideDocumentStep extends Step {
|
|
10
|
-
inverted: boolean;
|
|
11
|
-
private nextDocument;
|
|
12
|
-
private oldDocumentSize;
|
|
13
|
-
constructor(opts: Options);
|
|
14
|
-
apply(doc: PMNode): StepResult;
|
|
15
|
-
map(): OverrideDocumentStep;
|
|
16
|
-
getMap(): StepMap;
|
|
17
|
-
invert(doc: PMNode): OverrideDocumentStep;
|
|
18
|
-
toJSON(): OverrideDocumentStepJSON;
|
|
19
|
-
static fromJSON(schema: Schema, json: OverrideDocumentStepJSON): OverrideDocumentStep;
|
|
20
|
-
}
|
|
21
|
-
export type OverrideDocumentStepJSON = {
|
|
22
|
-
inverted: boolean;
|
|
23
|
-
nextDocument: ADFEntity;
|
|
24
|
-
stepType: 'override-document';
|
|
25
|
-
};
|
|
26
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { Mappable } from '@atlaskit/editor-prosemirror/transform';
|
|
2
|
-
import { Step, StepResult } from '@atlaskit/editor-prosemirror/transform';
|
|
3
|
-
import type { Node as ProseMirrorNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
/**
|
|
5
|
-
* For more context on what this is about:
|
|
6
|
-
* @see https://discuss.prosemirror.net/t/preventing-image-placeholder-replacement-from-being-undone/1394
|
|
7
|
-
*/
|
|
8
|
-
export declare class SetAttrsStep extends Step {
|
|
9
|
-
pos: number;
|
|
10
|
-
attrs: object;
|
|
11
|
-
constructor(pos: number, attrs: object);
|
|
12
|
-
apply(doc: ProseMirrorNode): StepResult;
|
|
13
|
-
invert(doc: ProseMirrorNode): SetAttrsStep;
|
|
14
|
-
map(mapping: Mappable): SetAttrsStep | null;
|
|
15
|
-
toJSON(): {
|
|
16
|
-
attrs: object;
|
|
17
|
-
pos: number;
|
|
18
|
-
stepType: string;
|
|
19
|
-
};
|
|
20
|
-
static fromJSON(_schema: Schema, json: {
|
|
21
|
-
attrs: object;
|
|
22
|
-
pos?: number;
|
|
23
|
-
}): SetAttrsStep;
|
|
24
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import { ReplaceStep, Step, StepMap, StepResult } from '@atlaskit/editor-prosemirror/transform';
|
|
3
|
-
export declare const insertTypeAheadStepType = "atlaskit-insert-type-ahead";
|
|
4
|
-
export declare enum InsertTypeAheadStages {
|
|
5
|
-
DELETING_RAW_QUERY = "DELETING_RAW_QUERY",
|
|
6
|
-
INSERTING_ITEM = "INSERTING_ITEM"
|
|
7
|
-
}
|
|
8
|
-
type Config = {
|
|
9
|
-
query: string;
|
|
10
|
-
selectedIndex: number;
|
|
11
|
-
stage: InsertTypeAheadStages;
|
|
12
|
-
trigger: string;
|
|
13
|
-
};
|
|
14
|
-
export declare class InsertTypeAheadStep extends Step {
|
|
15
|
-
private isInvertStep;
|
|
16
|
-
selectedIndex: number;
|
|
17
|
-
stage: InsertTypeAheadStages;
|
|
18
|
-
query: string;
|
|
19
|
-
trigger: string;
|
|
20
|
-
constructor({ stage, query, trigger, selectedIndex }: Config, isInvertStep?: boolean);
|
|
21
|
-
invert(): InsertTypeAheadStep;
|
|
22
|
-
apply(doc: PMNode): StepResult;
|
|
23
|
-
merge(): null;
|
|
24
|
-
isInsertionStep(): boolean;
|
|
25
|
-
isUndoingStep(): boolean;
|
|
26
|
-
map(): InsertTypeAheadStep;
|
|
27
|
-
getMap(): StepMap;
|
|
28
|
-
toJSON(): {
|
|
29
|
-
stepType: string;
|
|
30
|
-
from: number;
|
|
31
|
-
to: number;
|
|
32
|
-
};
|
|
33
|
-
static fromJSON(): ReplaceStep;
|
|
34
|
-
}
|
|
35
|
-
export {};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* These types are taken from adf-utils, but not imported to avoid circular dependencies.
|
|
3
|
-
* They can be seen here:
|
|
4
|
-
* https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/editor/adf-utils/src/types/index.ts
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* Represents a mark in the Atlassian Document Format (ADF).
|
|
8
|
-
* Marks are used to apply formatting or metadata to content, such as bold, italic, links, etc.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```typescript
|
|
12
|
-
* const boldMark: ADFEntityMark = {
|
|
13
|
-
* type: 'strong'
|
|
14
|
-
* };
|
|
15
|
-
*
|
|
16
|
-
* const linkMark: ADFEntityMark = {
|
|
17
|
-
* type: 'link',
|
|
18
|
-
* attrs: {
|
|
19
|
-
* href: 'https://example.com',
|
|
20
|
-
* title: 'Example Link'
|
|
21
|
-
* }
|
|
22
|
-
* };
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export interface ADFEntityMark {
|
|
26
|
-
/** The type of mark (e.g., 'strong', 'em', 'link', 'code', etc.) */
|
|
27
|
-
type: string;
|
|
28
|
-
/**
|
|
29
|
-
* Optional attributes for the mark, containing mark-specific properties.
|
|
30
|
-
* For example, a link mark would have 'href' and optionally 'title' attributes.
|
|
31
|
-
*/
|
|
32
|
-
attrs?: {
|
|
33
|
-
[name: string]: any;
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Represents a node or entity in the Atlassian Document Format (ADF).
|
|
38
|
-
* This is the core building block of ADF documents, representing elements like
|
|
39
|
-
* paragraphs, headings, images, tables, and other content types.
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* ```typescript
|
|
43
|
-
* const paragraph: ADFEntity = {
|
|
44
|
-
* type: 'paragraph',
|
|
45
|
-
* content: [
|
|
46
|
-
* {
|
|
47
|
-
* type: 'text',
|
|
48
|
-
* text: 'Hello world!',
|
|
49
|
-
* marks: [{ type: 'strong' }]
|
|
50
|
-
* }
|
|
51
|
-
* ]
|
|
52
|
-
* };
|
|
53
|
-
*
|
|
54
|
-
* const heading: ADFEntity = {
|
|
55
|
-
* type: 'heading',
|
|
56
|
-
* attrs: { level: 1 },
|
|
57
|
-
* content: [
|
|
58
|
-
* {
|
|
59
|
-
* type: 'text',
|
|
60
|
-
* text: 'Document Title'
|
|
61
|
-
* }
|
|
62
|
-
* ]
|
|
63
|
-
* };
|
|
64
|
-
* ```
|
|
65
|
-
*/
|
|
66
|
-
export interface ADFEntity {
|
|
67
|
-
/** The type of ADF node (e.g., 'doc', 'paragraph', 'heading', 'text', 'image', etc.) */
|
|
68
|
-
type: string;
|
|
69
|
-
/**
|
|
70
|
-
* Optional attributes for the entity, containing node-specific properties.
|
|
71
|
-
* For example, a heading node would have a 'level' attribute, an image would have 'src', etc.
|
|
72
|
-
*/
|
|
73
|
-
attrs?: {
|
|
74
|
-
[name: string]: any;
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* Optional array of child entities. Used for container nodes like paragraphs, headings, etc.
|
|
78
|
-
* Can contain undefined values to handle cases where content might be filtered or removed.
|
|
79
|
-
*/
|
|
80
|
-
content?: Array<ADFEntity | undefined>;
|
|
81
|
-
/**
|
|
82
|
-
* Optional array of marks applied to this entity.
|
|
83
|
-
* Marks provide formatting and metadata like bold, italic, links, etc.
|
|
84
|
-
*/
|
|
85
|
-
marks?: Array<ADFEntityMark>;
|
|
86
|
-
/**
|
|
87
|
-
* Optional text content for text nodes.
|
|
88
|
-
* Only present on nodes of type 'text'.
|
|
89
|
-
*/
|
|
90
|
-
text?: string;
|
|
91
|
-
/**
|
|
92
|
-
* Index signature to allow additional properties that may be specific to certain node types
|
|
93
|
-
* or used for extensions and custom functionality.
|
|
94
|
-
*/
|
|
95
|
-
[key: string]: any;
|
|
96
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { InsertTypeAheadStages, InsertTypeAheadStep } from './steps/type-ahead';
|
|
2
|
-
export { SetAttrsStep } from './steps/set-attrs';
|
|
3
|
-
export { AnalyticsStep } from './steps/analytics';
|
|
4
|
-
export type { AnalyticsInvertStep, AnalyticsWithChannel, AnalyticsPayload, } from './steps/analytics';
|
|
5
|
-
export { LinkMetaStep } from './steps/link-meta-step';
|
|
6
|
-
export type { LinkStepMetadata } from './steps/link-meta-step';
|
|
7
|
-
export { OverrideDocumentStep } from './steps/override-document-step';
|
|
8
|
-
export type { OverrideDocumentStepJSON } from './steps/override-document-step';
|
|
9
|
-
export { BatchAttrsStep } from './steps/batch-attrs-step';
|
|
10
|
-
export type { BatchAttrsStepData } from './steps/batch-attrs-step';
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* We're avoding importing these colors from @atlaskit/theme since we
|
|
3
|
-
* do not want to have react as a dependency of this package.
|
|
4
|
-
* TODO: Refactor this once tokenization by Core team is ready
|
|
5
|
-
* https://product-fabric.atlassian.net/browse/CS-908
|
|
6
|
-
*/
|
|
7
|
-
export declare const R50 = "#FFEBE6";
|
|
8
|
-
export declare const R75 = "#FFBDAD";
|
|
9
|
-
export declare const R100 = "#FF8F73";
|
|
10
|
-
export declare const R300 = "#FF5630";
|
|
11
|
-
export declare const R400 = "#DE350B";
|
|
12
|
-
export declare const R500 = "#BF2600";
|
|
13
|
-
export declare const Y50 = "#FFFAE6";
|
|
14
|
-
export declare const Y75 = "#FFF0B3";
|
|
15
|
-
export declare const Y200 = "#FFC400";
|
|
16
|
-
export declare const Yellow200 = "#F8E6A0";
|
|
17
|
-
export declare const Y400 = "#FF991F";
|
|
18
|
-
export declare const Y500 = "#FF8B00";
|
|
19
|
-
export declare const G50 = "#E3FCEF";
|
|
20
|
-
export declare const G75 = "#ABF5D1";
|
|
21
|
-
export declare const G200 = "#57D9A3";
|
|
22
|
-
export declare const G300 = "#36B37E";
|
|
23
|
-
export declare const G400 = "#00875A";
|
|
24
|
-
export declare const G500 = "#006644";
|
|
25
|
-
export declare const B50 = "#DEEBFF";
|
|
26
|
-
export declare const B75 = "#B3D4FF";
|
|
27
|
-
export declare const B100 = "#4C9AFF";
|
|
28
|
-
export declare const B400 = "#0052CC";
|
|
29
|
-
export declare const B500 = "#0747A6";
|
|
30
|
-
export declare const L200 = "#D3F1A7";
|
|
31
|
-
export declare const N0 = "#FFFFFF";
|
|
32
|
-
export declare const N20 = "#F4F5F7";
|
|
33
|
-
export declare const N30 = "#EBECF0";
|
|
34
|
-
export declare const N40 = "#DFE1E6";
|
|
35
|
-
export declare const N50 = "#C1C7D0";
|
|
36
|
-
export declare const N60 = "#B3BAC5";
|
|
37
|
-
export declare const N80 = "#97A0AF";
|
|
38
|
-
export declare const N90 = "#8993A4";
|
|
39
|
-
export declare const N200 = "#6B778C";
|
|
40
|
-
export declare const N300 = "#5E6C84";
|
|
41
|
-
export declare const Neutral300 = "#DCDFE4";
|
|
42
|
-
export declare const N300A = "#091E4224";
|
|
43
|
-
export declare const N500 = "#42526E";
|
|
44
|
-
export declare const N600 = "#758195";
|
|
45
|
-
export declare const N800 = "#172B4D";
|
|
46
|
-
export declare const N1000 = "#172B4D";
|
|
47
|
-
export declare const M200 = "#FDD0EC";
|
|
48
|
-
export declare const O200 = "#FEDEC8";
|
|
49
|
-
export declare const P50 = "#EAE6FF";
|
|
50
|
-
export declare const P75 = "#C0B6F2";
|
|
51
|
-
export declare const P100 = "#998DD9";
|
|
52
|
-
export declare const P200 = "#DFD8FD";
|
|
53
|
-
export declare const P300 = "#6554C0";
|
|
54
|
-
export declare const P400 = "#5243AA";
|
|
55
|
-
export declare const P500 = "#403294";
|
|
56
|
-
export declare const T50 = "#E6FCFF";
|
|
57
|
-
export declare const T75 = "#B3F5FF";
|
|
58
|
-
export declare const T100 = "#79E2F2";
|
|
59
|
-
export declare const T200 = "#C6EDFB";
|
|
60
|
-
export declare const T300 = "#00B8D9";
|
|
61
|
-
export declare const T500 = "#008DA6";
|
|
62
|
-
/**
|
|
63
|
-
* @returns String with HEX-coded color.
|
|
64
|
-
*/
|
|
65
|
-
export declare function normalizeHexColor(color: string | null, defaultColor?: string): string | null;
|
|
66
|
-
/**
|
|
67
|
-
* Converts hex color format to rgb.
|
|
68
|
-
* Works well with full hex color format and shortcut as well.
|
|
69
|
-
*
|
|
70
|
-
* @param hex - hex color string (#xxx, or #xxxxxx)
|
|
71
|
-
*/
|
|
72
|
-
export declare function hexToRgb(color: string): string | null;
|
|
73
|
-
/**
|
|
74
|
-
* Converts hex color format to rgba.
|
|
75
|
-
*
|
|
76
|
-
* @param hex - hex color string (#xxx, or #xxxxxx)
|
|
77
|
-
*/
|
|
78
|
-
export declare function hexToRgba(rawColor: string, alpha: number): string | null;
|
|
79
|
-
export declare function rgbToHex(value: string): string | null;
|
|
80
|
-
export declare function isRgb(color: string): boolean;
|
|
81
|
-
export declare function isHex(color: string): boolean;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Confluence glyphs ac:name of <ac:emoticon /> map to new emojis
|
|
3
|
-
* {
|
|
4
|
-
* [ac:name] : ['emoji-id', 'emoji-shortName', 'emoji-fallback']
|
|
5
|
-
* ...
|
|
6
|
-
* }
|
|
7
|
-
* Glyphs that do not map to Fabric Emoji
|
|
8
|
-
* will be mapped to Emoji Id '2b50' (:star:) with preserving ac:name as shortName attribute;
|
|
9
|
-
*/
|
|
10
|
-
declare const acNameToEmojiMap: {
|
|
11
|
-
'blue-star': string[];
|
|
12
|
-
'broken-heart': string[];
|
|
13
|
-
cheeky: string[];
|
|
14
|
-
cross: string[];
|
|
15
|
-
'green-star': string[];
|
|
16
|
-
heart: string[];
|
|
17
|
-
information: string[];
|
|
18
|
-
laugh: string[];
|
|
19
|
-
'light-off': string[];
|
|
20
|
-
'light-on': string[];
|
|
21
|
-
minus: string[];
|
|
22
|
-
plus: string[];
|
|
23
|
-
question: string[];
|
|
24
|
-
'red-star': string[];
|
|
25
|
-
sad: string[];
|
|
26
|
-
smile: string[];
|
|
27
|
-
'thumbs-down': string[];
|
|
28
|
-
'thumbs-up': string[];
|
|
29
|
-
tick: string[];
|
|
30
|
-
warning: string[];
|
|
31
|
-
wink: string[];
|
|
32
|
-
'yellow-star': string[];
|
|
33
|
-
};
|
|
34
|
-
export type NameToEmoji = keyof typeof acNameToEmojiMap;
|
|
35
|
-
export declare function acNameToEmoji(acName: NameToEmoji): {
|
|
36
|
-
id: string;
|
|
37
|
-
shortName: string;
|
|
38
|
-
text: string;
|
|
39
|
-
};
|
|
40
|
-
export declare function emojiIdToAcName(emojiId: string): never;
|
|
41
|
-
export declare function acShortcutToEmoji(hipchatEmoticonShortName: string): {
|
|
42
|
-
id: string;
|
|
43
|
-
shortName: string;
|
|
44
|
-
text: string;
|
|
45
|
-
};
|
|
46
|
-
export declare function getEmojiAcName({ id, shortName }: {
|
|
47
|
-
id: string;
|
|
48
|
-
shortName: string;
|
|
49
|
-
}): string;
|
|
50
|
-
export {};
|
|
@@ -1,257 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This takes an adf hex color and returns a matching border palette color.
|
|
3
|
-
*
|
|
4
|
-
* By providing a design token, this enables ADF content to be rendered in new themes such as dark mode.
|
|
5
|
-
*
|
|
6
|
-
* Example usage
|
|
7
|
-
* ```tsx
|
|
8
|
-
* const cssValue = hexToEditorBorderPaletteColor('#091E4224');
|
|
9
|
-
* // ^? const cssValue: string
|
|
10
|
-
* <div style={{borderColor: cssValue}} />
|
|
11
|
-
* ```
|
|
12
|
-
* The names of tokens can change over time, and the values of tokens will differ between themes.
|
|
13
|
-
* The exact output of this function is an implementation detail and should only be used when rendering
|
|
14
|
-
* content to the user, on a client with a matching major version of `@atlaskit/tokens`.
|
|
15
|
-
* - **DO NOT**: store the output of these functions in any user-generated content or back-end.
|
|
16
|
-
* - **DO**: store the ADF hex color, and use these utilities at render time to display the themed version of the color
|
|
17
|
-
*/
|
|
18
|
-
export declare function hexToEditorBorderPaletteColor<HexColor extends string>(hexColor: HexColor): HexColor extends EditorBorderPaletteKey ? EditorBorderPalette[HexColor] : string | undefined;
|
|
19
|
-
type EditorBorderPalette = typeof editorBorderPalette;
|
|
20
|
-
export type EditorBorderPaletteKey = keyof EditorBorderPalette;
|
|
21
|
-
export declare const editorBorderPalette: {
|
|
22
|
-
/** gray - subtle */
|
|
23
|
-
'#091E4224': string;
|
|
24
|
-
/** gray */
|
|
25
|
-
'#758195': string;
|
|
26
|
-
/** gray - bold */
|
|
27
|
-
'#172B4D': string;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* This takes an adf hex color and returns a matching text palette color.
|
|
31
|
-
*
|
|
32
|
-
* By providing a design token, this enables ADF content to be rendered in new themes such as dark mode.
|
|
33
|
-
*
|
|
34
|
-
* Example usage
|
|
35
|
-
* ```tsx
|
|
36
|
-
* const cssValue = hexToTextPaletteColor('#0747A6');
|
|
37
|
-
* // ^? const cssValue: string
|
|
38
|
-
* <span style={{textColor: cssValue}} />
|
|
39
|
-
* ```
|
|
40
|
-
* The names of tokens can change over time, and the values of tokens will differ between themes.
|
|
41
|
-
* The exact output of this function is an implementation detail and should only be used when rendering
|
|
42
|
-
* content to the user, on a client with a matching major version of `@atlaskit/tokens`.
|
|
43
|
-
* - **DO NOT**: store the output of these functions in any user-generated content or back-end.
|
|
44
|
-
* - **DO**: store the ADF hex color, and use these utilities at render time to display the themed version of the color
|
|
45
|
-
*/
|
|
46
|
-
export declare function hexToEditorTextPaletteColor<HexColor extends string>(hexColor: HexColor): HexColor extends EditorTextPaletteKey ? EditorTextPalette[HexColor] : string | undefined;
|
|
47
|
-
type EditorTextPalette = typeof editorTextPalette;
|
|
48
|
-
export type EditorTextPaletteKey = keyof EditorTextPalette;
|
|
49
|
-
export declare const editorTextPalette: {
|
|
50
|
-
/** blue - light */
|
|
51
|
-
'#B3D4FF': string;
|
|
52
|
-
/** blue - medium */
|
|
53
|
-
'#4C9AFF': string;
|
|
54
|
-
/** blue - strong */
|
|
55
|
-
'#0747A6': string;
|
|
56
|
-
/** teal - light */
|
|
57
|
-
'#B3F5FF': string;
|
|
58
|
-
/** teal - medium */
|
|
59
|
-
'#00B8D9': string;
|
|
60
|
-
/** teal - strong */
|
|
61
|
-
'#008DA6': string;
|
|
62
|
-
/** green - light */
|
|
63
|
-
'#ABF5D1': string;
|
|
64
|
-
/** green - medium */
|
|
65
|
-
'#36B37E': string;
|
|
66
|
-
/** green - strong */
|
|
67
|
-
'#006644': string;
|
|
68
|
-
/** yellowOrange - light */
|
|
69
|
-
'#FFF0B3': string;
|
|
70
|
-
/** yellowOrange - medium */
|
|
71
|
-
'#FFC400': string;
|
|
72
|
-
/** yellowOrange - strong */
|
|
73
|
-
'#FF991F': string;
|
|
74
|
-
/** red - light */
|
|
75
|
-
'#FFBDAD': string;
|
|
76
|
-
/** red - medium */
|
|
77
|
-
'#FF5630': string;
|
|
78
|
-
/** red - strong */
|
|
79
|
-
'#BF2600': string;
|
|
80
|
-
/** purple - light */
|
|
81
|
-
'#EAE6FF': string;
|
|
82
|
-
/** purple - medium */
|
|
83
|
-
'#6554C0': string;
|
|
84
|
-
/** purple - strong */
|
|
85
|
-
'#403294': string;
|
|
86
|
-
/** whiteGray - light */
|
|
87
|
-
'#FFFFFF': string;
|
|
88
|
-
/** whiteGray - medium */
|
|
89
|
-
'#97A0AF': string;
|
|
90
|
-
/** whiteGray - strong */
|
|
91
|
-
'#172B4D': string;
|
|
92
|
-
};
|
|
93
|
-
/**
|
|
94
|
-
* This takes an ADF hex color and returns a matching text background palette color.
|
|
95
|
-
*
|
|
96
|
-
* By providing a design token, this enables ADF content to be rendered in new themes such as dark mode.
|
|
97
|
-
*
|
|
98
|
-
* Example usage
|
|
99
|
-
* ```tsx
|
|
100
|
-
* const cssValue = hexToEditorTextBackgroundPaletteColor('#0747A6');
|
|
101
|
-
* // ^? const cssValue: string
|
|
102
|
-
* <span style={{backgroundColor: cssValue}} />
|
|
103
|
-
* ```
|
|
104
|
-
* The names of tokens can change over time, and the values of tokens will differ between themes.
|
|
105
|
-
* The exact output of this function is an implementation detail and should only be used when rendering
|
|
106
|
-
* content to the user, on a client with a matching major version of `@atlaskit/tokens`.
|
|
107
|
-
* - **DO NOT**: store the output of these functions in any user-generated content or back-end.
|
|
108
|
-
* - **DO**: store the ADF hex color, and use these utilities at render time to display the themed version of the color
|
|
109
|
-
*/
|
|
110
|
-
export declare function hexToEditorTextBackgroundPaletteColor<HexColor extends string>(hexColor: HexColor): HexColor extends TextBackgroundColorPaletteKey ? TextBackgroundColorPalette[HexColor] : string | undefined;
|
|
111
|
-
export declare const textBackgroundColorPalette: {
|
|
112
|
-
/** Gray - light */
|
|
113
|
-
'#DCDFE4': string;
|
|
114
|
-
/** Teal - light */
|
|
115
|
-
'#C6EDFB': string;
|
|
116
|
-
/** Lime - light */
|
|
117
|
-
'#D3F1A7': string;
|
|
118
|
-
/** Yellow - light */
|
|
119
|
-
'#F8E6A0': string;
|
|
120
|
-
/** Orange - light */
|
|
121
|
-
'#FEDEC8': string;
|
|
122
|
-
/** Magenta - light */
|
|
123
|
-
'#FDD0EC': string;
|
|
124
|
-
/** Purple - light */
|
|
125
|
-
'#DFD8FD': string;
|
|
126
|
-
};
|
|
127
|
-
type TextBackgroundColorPalette = typeof textBackgroundColorPalette;
|
|
128
|
-
export type TextBackgroundColorPaletteKey = keyof TextBackgroundColorPalette;
|
|
129
|
-
/**
|
|
130
|
-
* Takes an ADF hex color and returns the rendered hex code for the associated background palette design token using getTokenValue.
|
|
131
|
-
* If the provided color does not exist in the Editor color palette, this function returns undefined.
|
|
132
|
-
*
|
|
133
|
-
* This should only be used when rendering content where CSS variables are not feasible, such as a non-CSS environment
|
|
134
|
-
* or to enable cross-app copy/paste.
|
|
135
|
-
*
|
|
136
|
-
* WARNING: If the rendered theme changes (such as from light -> dark mode) the value returned here will no longer match
|
|
137
|
-
* the surrounding UI and will need to be re-fetched.
|
|
138
|
-
* In addition, the values of tokens will differ between themes and the value for a given theme can and will change.
|
|
139
|
-
* - **DO NOT**: store the output of these functions in any user-generated content or back-end.
|
|
140
|
-
* - **DO**: store the ADF hex color, and use these utilities at render time to display the themed version of the color.
|
|
141
|
-
*/
|
|
142
|
-
export declare function hexToEditorBackgroundPaletteRawValue<HexColor extends string>(hexColor: HexColor): HexColor extends EditorBackgroundPaletteKey ? string : undefined;
|
|
143
|
-
type EditorBackgroundPalette = typeof editorBackgroundPalette;
|
|
144
|
-
export type EditorBackgroundPaletteKey = keyof EditorBackgroundPalette;
|
|
145
|
-
/**
|
|
146
|
-
* Values are asserted to improve generated type declarations
|
|
147
|
-
* Using object structure as getValue() function needed for table values, and other
|
|
148
|
-
* properties may be needed in the future.
|
|
149
|
-
*/
|
|
150
|
-
export declare const editorBackgroundPalette: {
|
|
151
|
-
/** blue - light */
|
|
152
|
-
'#DEEBFF': {
|
|
153
|
-
getValue: () => string;
|
|
154
|
-
token: string;
|
|
155
|
-
};
|
|
156
|
-
/** blue - medium */
|
|
157
|
-
'#B3D4FF': {
|
|
158
|
-
getValue: () => string;
|
|
159
|
-
token: string;
|
|
160
|
-
};
|
|
161
|
-
/** blue - strong */
|
|
162
|
-
'#4C9AFF': {
|
|
163
|
-
getValue: () => string;
|
|
164
|
-
token: string;
|
|
165
|
-
};
|
|
166
|
-
/** teal - light */
|
|
167
|
-
'#E6FCFF': {
|
|
168
|
-
getValue: () => string;
|
|
169
|
-
token: string;
|
|
170
|
-
};
|
|
171
|
-
/** teal - medium */
|
|
172
|
-
'#B3F5FF': {
|
|
173
|
-
getValue: () => string;
|
|
174
|
-
token: string;
|
|
175
|
-
};
|
|
176
|
-
/** teal - strong */
|
|
177
|
-
'#79E2F2': {
|
|
178
|
-
getValue: () => string;
|
|
179
|
-
token: string;
|
|
180
|
-
};
|
|
181
|
-
/** green - light */
|
|
182
|
-
'#E3FCEF': {
|
|
183
|
-
getValue: () => string;
|
|
184
|
-
token: string;
|
|
185
|
-
};
|
|
186
|
-
/** green - medium */
|
|
187
|
-
'#ABF5D1': {
|
|
188
|
-
getValue: () => string;
|
|
189
|
-
token: string;
|
|
190
|
-
};
|
|
191
|
-
/** green - strong */
|
|
192
|
-
'#57D9A3': {
|
|
193
|
-
getValue: () => string;
|
|
194
|
-
token: string;
|
|
195
|
-
};
|
|
196
|
-
/** yellowOrange - light */
|
|
197
|
-
'#FFFAE6': {
|
|
198
|
-
getValue: () => string;
|
|
199
|
-
token: string;
|
|
200
|
-
};
|
|
201
|
-
/** yellowOrange - medium */
|
|
202
|
-
'#FFF0B3': {
|
|
203
|
-
getValue: () => string;
|
|
204
|
-
token: string;
|
|
205
|
-
};
|
|
206
|
-
/** yellowOrange - strong */
|
|
207
|
-
'#FFC400': {
|
|
208
|
-
getValue: () => string;
|
|
209
|
-
token: string;
|
|
210
|
-
};
|
|
211
|
-
/** red - light */
|
|
212
|
-
'#FFEBE6': {
|
|
213
|
-
getValue: () => string;
|
|
214
|
-
token: string;
|
|
215
|
-
};
|
|
216
|
-
/** red - medium */
|
|
217
|
-
'#FFBDAD': {
|
|
218
|
-
getValue: () => string;
|
|
219
|
-
token: string;
|
|
220
|
-
};
|
|
221
|
-
/** red - strong */
|
|
222
|
-
'#FF8F73': {
|
|
223
|
-
getValue: () => string;
|
|
224
|
-
token: string;
|
|
225
|
-
};
|
|
226
|
-
/** purple - light */
|
|
227
|
-
'#EAE6FF': {
|
|
228
|
-
getValue: () => string;
|
|
229
|
-
token: string;
|
|
230
|
-
};
|
|
231
|
-
/** purple - medium */
|
|
232
|
-
'#C0B6F2': {
|
|
233
|
-
getValue: () => string;
|
|
234
|
-
token: string;
|
|
235
|
-
};
|
|
236
|
-
/** purple - strong */
|
|
237
|
-
'#998DD9': {
|
|
238
|
-
getValue: () => string;
|
|
239
|
-
token: string;
|
|
240
|
-
};
|
|
241
|
-
/** whiteGray - light */
|
|
242
|
-
'#FFFFFF': {
|
|
243
|
-
getValue: () => string;
|
|
244
|
-
token: string;
|
|
245
|
-
};
|
|
246
|
-
/** whiteGray - medium */
|
|
247
|
-
'#F4F5F7': {
|
|
248
|
-
getValue: () => string;
|
|
249
|
-
token: string;
|
|
250
|
-
};
|
|
251
|
-
/** whiteGray - strong */
|
|
252
|
-
'#B3BAC5': {
|
|
253
|
-
getValue: () => string;
|
|
254
|
-
token: string;
|
|
255
|
-
};
|
|
256
|
-
};
|
|
257
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { ExtensionAttributes, Layout } from '../schema/nodes/types/extensions';
|
|
2
|
-
export declare const isValidLayout: (name: string | null) => name is Layout;
|
|
3
|
-
export declare const getExtensionAttrs: (dom: HTMLElement, isInline?: boolean) => ExtensionAttributes | false;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { acNameToEmoji, acShortcutToEmoji, emojiIdToAcName, getEmojiAcName, } from './confluence/emoji';
|
|
2
|
-
export type { NameToEmoji } from './confluence/emoji';
|
|
3
|
-
export { generateUuid, uuid } from './uuid';
|
|
4
|
-
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, hexToRgb, hexToRgba, isHex, isRgb, normalizeHexColor, rgbToHex, } from './colors';
|
|
5
|
-
export { getLinkMatch, isSafeUrl, normalizeUrl, linkify, linkifyMatch } from './url';
|
|
6
|
-
export type { Match } from './url';
|
|
7
|
-
export { getDarkModeLCHColor } from './lch-color-inversion';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isDOMElement: (maybeNode: unknown) => maybeNode is Element;
|