@atlaskit/renderer 132.5.3 → 132.6.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 +15 -0
- package/actions/main/package.json +1 -8
- package/actions/package.json +1 -8
- package/actions/renderer-actions-context/package.json +1 -8
- package/actions/with-renderer-actions/package.json +1 -8
- package/annotations/package.json +1 -8
- package/consts/package.json +1 -8
- package/custom-nodes/loosely-lazy/package.json +1 -8
- package/custom-nodes/package.json +1 -8
- package/dist/cjs/react/nodes/emoji.js +28 -2
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/emoji.js +28 -2
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/emoji.js +28 -2
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/events/package.json +1 -8
- package/experimental-sync-custom-nodes/cards/package.json +1 -8
- package/experimental-sync-custom-nodes/media/package.json +1 -8
- package/experimental-sync-custom-nodes/small-nodes/package.json +1 -8
- package/extension-renderer/package.json +1 -8
- package/loosely-lazy/package.json +1 -8
- package/media-options/package.json +1 -8
- package/messages/package.json +1 -8
- package/nodes/package.json +1 -8
- package/package.json +6 -2
- package/react/package.json +1 -8
- package/react/types/package.json +1 -8
- package/render-document/package.json +1 -8
- package/renderer/package.json +1 -8
- package/renderer-actions-context/package.json +1 -8
- package/renderer-context/package.json +1 -8
- package/renderer-props/package.json +1 -8
- package/serializer/package.json +1 -8
- package/text/package.json +1 -8
- package/text-serializer/package.json +1 -8
- package/text-serializer/text/package.json +1 -8
- package/types/package.json +1 -8
- package/use-feature-flags/package.json +1 -8
- package/utils/package.json +1 -8
- package/validation-context/package.json +1 -8
- package/dist/types-ts4.5/actions/get-renderer-range-inline-node-names.d.ts +0 -23
- package/dist/types-ts4.5/actions/index.d.ts +0 -76
- package/dist/types-ts4.5/actions/matches-utils.d.ts +0 -8
- package/dist/types-ts4.5/actions/selection.d.ts +0 -8
- package/dist/types-ts4.5/analytics/analyticsContext.d.ts +0 -6
- package/dist/types-ts4.5/analytics/enums.d.ts +0 -59
- package/dist/types-ts4.5/analytics/events.d.ts +0 -184
- package/dist/types-ts4.5/analytics/unsupported-content.d.ts +0 -10
- package/dist/types-ts4.5/consts.d.ts +0 -24
- package/dist/types-ts4.5/custom-nodes.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/actions-main.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/actions-renderer-actions-context.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/actions-with-renderer-actions.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/annotations.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/consts.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/custom-nodes-loosely-lazy.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/events.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/experimental-sync-custom-nodes/cards.d.ts +0 -9
- package/dist/types-ts4.5/entry-points/experimental-sync-custom-nodes/media.d.ts +0 -9
- package/dist/types-ts4.5/entry-points/experimental-sync-custom-nodes/small-nodes.d.ts +0 -9
- package/dist/types-ts4.5/entry-points/extension-renderer.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/loosely-lazy.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/media-options.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/messages.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/nodes.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/react-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/react.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/render-document.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/renderer-actions-context.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/renderer-context.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/renderer-props.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/renderer.d.ts +0 -3
- package/dist/types-ts4.5/entry-points/serializer.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/text-serializer-text.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/text.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/use-feature-flags.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/utils.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/validation-context.d.ts +0 -1
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -18
- package/dist/types-ts4.5/i18n/da.d.ts +0 -18
- package/dist/types-ts4.5/i18n/de.d.ts +0 -18
- package/dist/types-ts4.5/i18n/en.d.ts +0 -18
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -18
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -18
- package/dist/types-ts4.5/i18n/es.d.ts +0 -18
- package/dist/types-ts4.5/i18n/et.d.ts +0 -8
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -18
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -18
- package/dist/types-ts4.5/i18n/hr.d.ts +0 -18
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -18
- package/dist/types-ts4.5/i18n/index.d.ts +0 -33
- package/dist/types-ts4.5/i18n/it.d.ts +0 -18
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -18
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -18
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -18
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -18
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -18
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -18
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -8
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -18
- package/dist/types-ts4.5/i18n/sk.d.ts +0 -18
- package/dist/types-ts4.5/i18n/sl.d.ts +0 -18
- package/dist/types-ts4.5/i18n/sr.d.ts +0 -18
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -18
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -18
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -18
- package/dist/types-ts4.5/i18n/th.d.ts +0 -18
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -18
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -18
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -18
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -18
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -18
- package/dist/types-ts4.5/index.d.ts +0 -16
- package/dist/types-ts4.5/messages.d.ts +0 -61
- package/dist/types-ts4.5/react/hooks/use-bidi-warnings.d.ts +0 -10
- package/dist/types-ts4.5/react/hooks/use-in-viewport.d.ts +0 -5
- package/dist/types-ts4.5/react/index.d.ts +0 -158
- package/dist/types-ts4.5/react/marks/alignment.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/annotation.d.ts +0 -6
- package/dist/types-ts4.5/react/marks/backgroundColor.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/border.d.ts +0 -8
- package/dist/types-ts4.5/react/marks/breakout.d.ts +0 -14
- package/dist/types-ts4.5/react/marks/code.d.ts +0 -20
- package/dist/types-ts4.5/react/marks/confluence-inline-comment.d.ts +0 -9
- package/dist/types-ts4.5/react/marks/data-consumer.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/em.d.ts +0 -3
- package/dist/types-ts4.5/react/marks/fontSize.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/fragment.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/indentation.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/index.d.ts +0 -24
- package/dist/types-ts4.5/react/marks/link-compiled.d.ts +0 -13
- package/dist/types-ts4.5/react/marks/link-emotion.d.ts +0 -14
- package/dist/types-ts4.5/react/marks/link.d.ts +0 -13
- package/dist/types-ts4.5/react/marks/strike.d.ts +0 -3
- package/dist/types-ts4.5/react/marks/strong.d.ts +0 -3
- package/dist/types-ts4.5/react/marks/subsup.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/textColor.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/underline.d.ts +0 -3
- package/dist/types-ts4.5/react/marks/unsupportedMark.d.ts +0 -3
- package/dist/types-ts4.5/react/marks/unsupportedNodeAttribute.d.ts +0 -3
- package/dist/types-ts4.5/react/nodes/TableStickyScrollbar.d.ts +0 -21
- package/dist/types-ts4.5/react/nodes/blockCard.d.ts +0 -22
- package/dist/types-ts4.5/react/nodes/blockquote.d.ts +0 -4
- package/dist/types-ts4.5/react/nodes/bodiedExtension.d.ts +0 -31
- package/dist/types-ts4.5/react/nodes/bodiedSyncBlock.d.ts +0 -8
- package/dist/types-ts4.5/react/nodes/bulletList.d.ts +0 -6
- package/dist/types-ts4.5/react/nodes/caption.d.ts +0 -4
- package/dist/types-ts4.5/react/nodes/codeBlock/codeBlock.d.ts +0 -22
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockButtonContainer.d.ts +0 -15
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockContainer.d.ts +0 -14
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +0 -9
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +0 -10
- package/dist/types-ts4.5/react/nodes/codeBlock/components/lightWeightCodeBlock.d.ts +0 -17
- package/dist/types-ts4.5/react/nodes/codeBlock/windowedCodeBlock.d.ts +0 -4
- package/dist/types-ts4.5/react/nodes/date.d.ts +0 -12
- package/dist/types-ts4.5/react/nodes/decisionItem.d.ts +0 -3
- package/dist/types-ts4.5/react/nodes/decisionList.d.ts +0 -7
- package/dist/types-ts4.5/react/nodes/doc.d.ts +0 -3
- package/dist/types-ts4.5/react/nodes/embedCard.d.ts +0 -28
- package/dist/types-ts4.5/react/nodes/emoji.d.ts +0 -16
- package/dist/types-ts4.5/react/nodes/extension.d.ts +0 -42
- package/dist/types-ts4.5/react/nodes/extensionFrame.d.ts +0 -27
- package/dist/types-ts4.5/react/nodes/fallback.d.ts +0 -25
- package/dist/types-ts4.5/react/nodes/hardBreak.d.ts +0 -6
- package/dist/types-ts4.5/react/nodes/heading-anchor.d.ts +0 -15
- package/dist/types-ts4.5/react/nodes/heading.d.ts +0 -27
- package/dist/types-ts4.5/react/nodes/index.d.ts +0 -139
- package/dist/types-ts4.5/react/nodes/inline.d.ts +0 -1
- package/dist/types-ts4.5/react/nodes/inlineCard.d.ts +0 -22
- package/dist/types-ts4.5/react/nodes/inlineExtension.d.ts +0 -18
- package/dist/types-ts4.5/react/nodes/layoutColumn-compiled.d.ts +0 -16
- package/dist/types-ts4.5/react/nodes/layoutColumn-emotion.d.ts +0 -16
- package/dist/types-ts4.5/react/nodes/layoutColumn.d.ts +0 -9
- package/dist/types-ts4.5/react/nodes/layoutSection.d.ts +0 -6
- package/dist/types-ts4.5/react/nodes/listItem.d.ts +0 -2
- package/dist/types-ts4.5/react/nodes/loosely-lazy.d.ts +0 -4
- package/dist/types-ts4.5/react/nodes/media/index.d.ts +0 -35
- package/dist/types-ts4.5/react/nodes/mediaGroup.d.ts +0 -30
- package/dist/types-ts4.5/react/nodes/mediaInline.d.ts +0 -24
- package/dist/types-ts4.5/react/nodes/mediaSingle/index.d.ts +0 -28
- package/dist/types-ts4.5/react/nodes/mention.d.ts +0 -14
- package/dist/types-ts4.5/react/nodes/multiBodiedExtension/actions.d.ts +0 -10
- package/dist/types-ts4.5/react/nodes/multiBodiedExtension/context.d.ts +0 -19
- package/dist/types-ts4.5/react/nodes/multiBodiedExtension.d.ts +0 -32
- package/dist/types-ts4.5/react/nodes/orderedList.d.ts +0 -10
- package/dist/types-ts4.5/react/nodes/panel-compiled.d.ts +0 -22
- package/dist/types-ts4.5/react/nodes/panel-emotion.d.ts +0 -23
- package/dist/types-ts4.5/react/nodes/panel.d.ts +0 -16
- package/dist/types-ts4.5/react/nodes/paragraph.d.ts +0 -3
- package/dist/types-ts4.5/react/nodes/placeholder.d.ts +0 -7
- package/dist/types-ts4.5/react/nodes/rule.d.ts +0 -2
- package/dist/types-ts4.5/react/nodes/status.d.ts +0 -11
- package/dist/types-ts4.5/react/nodes/syncBlock.d.ts +0 -7
- package/dist/types-ts4.5/react/nodes/table/colgroup.d.ts +0 -4
- package/dist/types-ts4.5/react/nodes/table/content-mode.d.ts +0 -10
- package/dist/types-ts4.5/react/nodes/table/sticky.d.ts +0 -75
- package/dist/types-ts4.5/react/nodes/table/table.d.ts +0 -10
- package/dist/types-ts4.5/react/nodes/table/types.d.ts +0 -16
- package/dist/types-ts4.5/react/nodes/table.d.ts +0 -116
- package/dist/types-ts4.5/react/nodes/tableCell.d.ts +0 -30
- package/dist/types-ts4.5/react/nodes/tableNew.d.ts +0 -173
- package/dist/types-ts4.5/react/nodes/tableRow.d.ts +0 -26
- package/dist/types-ts4.5/react/nodes/task-item-with-providers.d.ts +0 -23
- package/dist/types-ts4.5/react/nodes/taskItem.d.ts +0 -20
- package/dist/types-ts4.5/react/nodes/taskList.d.ts +0 -9
- package/dist/types-ts4.5/react/nodes/text-wrapper.d.ts +0 -13
- package/dist/types-ts4.5/react/nodes/unknownBlock.d.ts +0 -2
- package/dist/types-ts4.5/react/renderer-node.d.ts +0 -7
- package/dist/types-ts4.5/react/types.d.ts +0 -78
- package/dist/types-ts4.5/react/utils/EditorMediaClientProvider.d.ts +0 -5
- package/dist/types-ts4.5/react/utils/appearance.d.ts +0 -6
- package/dist/types-ts4.5/react/utils/breakout.d.ts +0 -1
- package/dist/types-ts4.5/react/utils/clipboard.d.ts +0 -1
- package/dist/types-ts4.5/react/utils/element-selection.d.ts +0 -9
- package/dist/types-ts4.5/react/utils/getCardClickHandler.d.ts +0 -3
- package/dist/types-ts4.5/react/utils/getStandaloneBackgroundColorMarks.d.ts +0 -12
- package/dist/types-ts4.5/react/utils/inject-props.d.ts +0 -6
- package/dist/types-ts4.5/react/utils/links.d.ts +0 -3
- package/dist/types-ts4.5/react/utils/lists.d.ts +0 -2
- package/dist/types-ts4.5/react/utils/markBlockAsInline.d.ts +0 -10
- package/dist/types-ts4.5/react/utils/render-text-segments.d.ts +0 -5
- package/dist/types-ts4.5/react/utils/segment-text.d.ts +0 -10
- package/dist/types-ts4.5/react/utils/use-select-all-trap.d.ts +0 -2
- package/dist/types-ts4.5/render-document.d.ts +0 -27
- package/dist/types-ts4.5/renderer-context.d.ts +0 -11
- package/dist/types-ts4.5/serializer.d.ts +0 -4
- package/dist/types-ts4.5/steps/index.d.ts +0 -17
- package/dist/types-ts4.5/text/index.d.ts +0 -8
- package/dist/types-ts4.5/text/nodes/blockquote.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/bulletList.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/date.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/decisionItem.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/hardBreak.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/heading.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/index.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/inlineCard.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/listItem.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/mediaGroup.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/mention.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/orderedList.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/panel.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/paragraph.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/rule.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/status.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/table.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/taskItem.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/unknown.d.ts +0 -3
- package/dist/types-ts4.5/text-serializer.d.ts +0 -1
- package/dist/types-ts4.5/types/i18n.d.ts +0 -5
- package/dist/types-ts4.5/types/mediaOptions.d.ts +0 -23
- package/dist/types-ts4.5/types/smartLinksOptions.d.ts +0 -59
- package/dist/types-ts4.5/ui/Expand.d.ts +0 -19
- package/dist/types-ts4.5/ui/ExtensionRenderer.d.ts +0 -38
- package/dist/types-ts4.5/ui/MediaCard.d.ts +0 -98
- package/dist/types-ts4.5/ui/Renderer/ErrorBoundary.d.ts +0 -30
- package/dist/types-ts4.5/ui/Renderer/PortalContext.d.ts +0 -4
- package/dist/types-ts4.5/ui/Renderer/RendererStyleContainer.d.ts +0 -14
- package/dist/types-ts4.5/ui/Renderer/ValidationContext.d.ts +0 -14
- package/dist/types-ts4.5/ui/Renderer/analytics-utils.d.ts +0 -3
- package/dist/types-ts4.5/ui/Renderer/breakout-ssr.d.ts +0 -19
- package/dist/types-ts4.5/ui/Renderer/click-to-edit.d.ts +0 -6
- package/dist/types-ts4.5/ui/Renderer/count-nodes.d.ts +0 -1
- package/dist/types-ts4.5/ui/Renderer/get-base-font-size.d.ts +0 -2
- package/dist/types-ts4.5/ui/Renderer/index.d.ts +0 -51
- package/dist/types-ts4.5/ui/Renderer/rendererHelper.d.ts +0 -2
- package/dist/types-ts4.5/ui/Renderer/style.d.ts +0 -2
- package/dist/types-ts4.5/ui/Renderer/truncated-wrapper.d.ts +0 -17
- package/dist/types-ts4.5/ui/Renderer/types.d.ts +0 -37
- package/dist/types-ts4.5/ui/Renderer/useMemoFromPropsDerivative.d.ts +0 -1
- package/dist/types-ts4.5/ui/RendererActionsContext/WithRendererActions.d.ts +0 -8
- package/dist/types-ts4.5/ui/RendererActionsContext/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +0 -8
- package/dist/types-ts4.5/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +0 -16
- package/dist/types-ts4.5/ui/active-header-id-provider.d.ts +0 -18
- package/dist/types-ts4.5/ui/annotations/context.d.ts +0 -5
- package/dist/types-ts4.5/ui/annotations/contexts/AnnotationHoverContext.d.ts +0 -18
- package/dist/types-ts4.5/ui/annotations/contexts/AnnotationManagerContext.d.ts +0 -73
- package/dist/types-ts4.5/ui/annotations/contexts/AnnotationRangeContext.d.ts +0 -50
- package/dist/types-ts4.5/ui/annotations/draft/component.d.ts +0 -30
- package/dist/types-ts4.5/ui/annotations/draft/dom.d.ts +0 -7
- package/dist/types-ts4.5/ui/annotations/draft/position.d.ts +0 -3
- package/dist/types-ts4.5/ui/annotations/draft/text.d.ts +0 -13
- package/dist/types-ts4.5/ui/annotations/element/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/annotations/element/mark.d.ts +0 -125
- package/dist/types-ts4.5/ui/annotations/element/useInlineAnnotationProps.d.ts +0 -24
- package/dist/types-ts4.5/ui/annotations/hooks/use-events.d.ts +0 -22
- package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +0 -2
- package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comments-filter.d.ts +0 -9
- package/dist/types-ts4.5/ui/annotations/hooks/use-load-annotations.d.ts +0 -11
- package/dist/types-ts4.5/ui/annotations/hooks/user-selection.d.ts +0 -11
- package/dist/types-ts4.5/ui/annotations/hooks/utils.d.ts +0 -2
- package/dist/types-ts4.5/ui/annotations/hover/mounter.d.ts +0 -19
- package/dist/types-ts4.5/ui/annotations/hover/range-validator.d.ts +0 -13
- package/dist/types-ts4.5/ui/annotations/index.d.ts +0 -7
- package/dist/types-ts4.5/ui/annotations/selection/mounter.d.ts +0 -19
- package/dist/types-ts4.5/ui/annotations/selection/range-validator.d.ts +0 -13
- package/dist/types-ts4.5/ui/annotations/types.d.ts +0 -33
- package/dist/types-ts4.5/ui/annotations/view/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/annotations/wrapper.d.ts +0 -9
- package/dist/types-ts4.5/ui/hooks/useScrollToBlock.d.ts +0 -16
- package/dist/types-ts4.5/ui/hooks/useStableScroll.d.ts +0 -27
- package/dist/types-ts4.5/ui/renderer-props.d.ts +0 -172
- package/dist/types-ts4.5/use-feature-flags.d.ts +0 -2
- package/dist/types-ts4.5/utils.d.ts +0 -21
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SortOrder } from '@atlaskit/editor-common/types';
|
|
3
|
-
type Props = {
|
|
4
|
-
allowColumnSorting?: boolean;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
index?: number;
|
|
7
|
-
innerRef?: React.Ref<HTMLTableRowElement>;
|
|
8
|
-
isFirstRow?: boolean;
|
|
9
|
-
isLastRow?: boolean;
|
|
10
|
-
isNumberColumnEnabled?: number;
|
|
11
|
-
onSorting?: (columnIndex?: number, currentSortOrdered?: SortOrder) => void;
|
|
12
|
-
tableOrderStatus?: {
|
|
13
|
-
columnIndex: number;
|
|
14
|
-
order: SortOrder;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
type State = {
|
|
18
|
-
colGroupWidths: string[];
|
|
19
|
-
};
|
|
20
|
-
export default class TableRow extends React.Component<Props, State> {
|
|
21
|
-
state: State;
|
|
22
|
-
addSortableColumn: (childrenArray: React.ReactNode[]) => React.ReactNode[];
|
|
23
|
-
addColGroupWidth: (childrenArray: React.ReactNode[]) => React.ReactNode[];
|
|
24
|
-
render(): React.JSX.Element;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
-
import type { ContentRef, TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
5
|
-
interface Props {
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
contentRef?: ContentRef;
|
|
8
|
-
contextIdentifierProvider?: Promise<ContextIdentifierProvider>;
|
|
9
|
-
dataAttributes?: {
|
|
10
|
-
[key: string]: string | number;
|
|
11
|
-
};
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
disableOnChange?: boolean;
|
|
14
|
-
isDone: boolean;
|
|
15
|
-
isRenderer?: boolean;
|
|
16
|
-
objectAri: string;
|
|
17
|
-
onChange?: (taskId: string, isChecked: boolean) => void;
|
|
18
|
-
showPlaceholder?: boolean;
|
|
19
|
-
taskDecisionProvider?: Promise<TaskDecisionProvider>;
|
|
20
|
-
taskId: string;
|
|
21
|
-
}
|
|
22
|
-
export default function TaskItemWithProviders(props: Props): React.JSX.Element;
|
|
23
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent } from 'react';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
-
import type { RendererContext, NodeProps } from '../types';
|
|
5
|
-
export interface Props {
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
disableOnChange?: boolean;
|
|
9
|
-
localId: string;
|
|
10
|
-
providers?: ProviderFactory;
|
|
11
|
-
rendererContext?: RendererContext;
|
|
12
|
-
state?: string;
|
|
13
|
-
}
|
|
14
|
-
export default class TaskItem extends PureComponent<NodeProps<Props>, Object> {
|
|
15
|
-
private providerFactory;
|
|
16
|
-
constructor(props: NodeProps<Props>);
|
|
17
|
-
componentWillUnmount(): void;
|
|
18
|
-
private renderWithProvider;
|
|
19
|
-
render(): React.JSX.Element;
|
|
20
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent } from 'react';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
export interface Props {
|
|
4
|
-
children?: ReactNode;
|
|
5
|
-
localId?: string;
|
|
6
|
-
}
|
|
7
|
-
export default class TaskList extends PureComponent<Props, Object> {
|
|
8
|
-
render(): React.JSX.Element | null;
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { TextHighlighter } from '../types';
|
|
4
|
-
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
5
|
-
type Props = {
|
|
6
|
-
children?: ReactNode | null;
|
|
7
|
-
endPos: number;
|
|
8
|
-
marks?: readonly Mark[];
|
|
9
|
-
startPos: number;
|
|
10
|
-
textHighlighter?: TextHighlighter;
|
|
11
|
-
};
|
|
12
|
-
declare const TextWrapper: (props: Props) => React.JSX.Element | null;
|
|
13
|
-
export default TextWrapper;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
export declare const insideBreakoutLayout: (path: Node[]) => boolean;
|
|
3
|
-
export declare const insideBreakoutExpand: (path: Node[]) => boolean;
|
|
4
|
-
export declare const insideBlockNode: (path: Node[], schema: Schema) => boolean;
|
|
5
|
-
export declare const insideMultiBodiedExtension: (path: Node[], schema: Schema) => boolean;
|
|
6
|
-
export declare const insideTable: (path: Node[], schema: Schema) => boolean;
|
|
7
|
-
export declare const getNestedUnderNodes: (path: Node[], nodeTypeNames: string[]) => string | undefined;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import type { PropsWithChildren } from 'react';
|
|
2
|
-
import type { Node as PMNode, NodeType, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
4
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
5
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
6
|
-
import type { AnalyticsEventPayload } from '../analytics/events';
|
|
7
|
-
import type { Serializer } from '../serializer';
|
|
8
|
-
import type { RendererAppearance, HeadingAnchorLinksProps, RendererContentMode, NestedRendererType } from '../ui/Renderer/types';
|
|
9
|
-
import type { AnnotationId, AnnotationTypes } from '@atlaskit/adf-schema';
|
|
10
|
-
export interface RendererContext {
|
|
11
|
-
adDoc?: any;
|
|
12
|
-
containerAri?: string;
|
|
13
|
-
nestedRendererType?: NestedRendererType;
|
|
14
|
-
objectAri?: string;
|
|
15
|
-
schema?: Schema;
|
|
16
|
-
}
|
|
17
|
-
export interface NodeMeta {
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
allowCopyToClipboard?: boolean;
|
|
20
|
-
allowCustomPanels?: boolean;
|
|
21
|
-
allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
|
|
22
|
-
allowPlaceholderText?: boolean;
|
|
23
|
-
allowWrapCodeBlock?: boolean;
|
|
24
|
-
asInline?: 'on' | undefined;
|
|
25
|
-
content?: {
|
|
26
|
-
[key: string]: any;
|
|
27
|
-
} | null;
|
|
28
|
-
dataAttributes: {
|
|
29
|
-
'data-renderer-start-pos': number;
|
|
30
|
-
};
|
|
31
|
-
eventHandlers?: EventHandlers | undefined;
|
|
32
|
-
extensionHandlers?: ExtensionHandlers | undefined;
|
|
33
|
-
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
34
|
-
marks: PMNode['marks'];
|
|
35
|
-
nodeType: NodeType['name'];
|
|
36
|
-
portal?: HTMLElement | undefined;
|
|
37
|
-
providers?: ProviderFactory | undefined;
|
|
38
|
-
rendererAppearance?: RendererAppearance;
|
|
39
|
-
rendererContentMode?: RendererContentMode;
|
|
40
|
-
rendererContext?: RendererContext;
|
|
41
|
-
serializer: Serializer<JSX.Element>;
|
|
42
|
-
text?: PMNode['text'];
|
|
43
|
-
}
|
|
44
|
-
export interface MarkMeta {
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
dataAttributes: {
|
|
47
|
-
'data-block-mark'?: true;
|
|
48
|
-
'data-renderer-mark': true;
|
|
49
|
-
};
|
|
50
|
-
eventHandlers?: EventHandlers;
|
|
51
|
-
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
52
|
-
isInline?: boolean;
|
|
53
|
-
markKey?: any;
|
|
54
|
-
}
|
|
55
|
-
export interface AnnotationMarkMeta extends MarkMeta {
|
|
56
|
-
allowAnnotations: boolean;
|
|
57
|
-
annotationParentIds: string[];
|
|
58
|
-
annotationType: AnnotationTypes;
|
|
59
|
-
id: AnnotationId;
|
|
60
|
-
isMediaInline?: boolean;
|
|
61
|
-
useBlockLevel?: boolean;
|
|
62
|
-
}
|
|
63
|
-
export type NodeProps<NodeAttrs = Object> = NodeAttrs & PropsWithChildren<NodeMeta>;
|
|
64
|
-
export type MarkProps<MarkAttrs = Object> = MarkAttrs & PropsWithChildren<MarkMeta>;
|
|
65
|
-
export type TextHighlighter = {
|
|
66
|
-
component: React.ComponentType<{
|
|
67
|
-
children: React.ReactNode;
|
|
68
|
-
groups: Array<string> | undefined;
|
|
69
|
-
marks: Set<string>;
|
|
70
|
-
match: string;
|
|
71
|
-
startPos: number;
|
|
72
|
-
}>;
|
|
73
|
-
pattern: RegExp;
|
|
74
|
-
};
|
|
75
|
-
export interface ExtensionViewportSize {
|
|
76
|
-
extensionId?: string;
|
|
77
|
-
viewportSize?: string;
|
|
78
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
2
|
-
export declare const isFullWidthAppearance: (appearance: RendererAppearance) => appearance is "full-width";
|
|
3
|
-
export declare const isMaxWidthAppearance: (appearance: RendererAppearance) => appearance is "max";
|
|
4
|
-
export declare const isFullPageAppearance: (appearance: RendererAppearance) => appearance is "full-page";
|
|
5
|
-
export declare const isCommentAppearance: (appearance: RendererAppearance) => appearance is "comment";
|
|
6
|
-
export declare const isFullWidthOrFullPageAppearance: (appearance: RendererAppearance) => appearance is "full-width" | "full-page" | "max";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const calcBreakoutWidthCss: (layout: "full-width" | "wide" | "default") => "100%" | "min(var(--ak-editor--breakout-container-without-gutter-width), var(--ak-editor--full-width-layout-width))" | "min(var(--ak-editor--breakout-container-without-gutter-width), var(--ak-editor--breakout-wide-layout-width))";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const copyTextToClipboard: (text: string) => Promise<void>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare class ElementSelection {
|
|
2
|
-
readonly type: string;
|
|
3
|
-
readonly range?: Range;
|
|
4
|
-
private constructor();
|
|
5
|
-
eq(selection?: ElementSelection): boolean;
|
|
6
|
-
inside(el: HTMLElement): boolean;
|
|
7
|
-
select(el: HTMLElement): ElementSelection;
|
|
8
|
-
static fromWindow(win?: Window): ElementSelection;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Mark, Node } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
/**
|
|
3
|
-
* Returns an array of **backgroundColor marks** that should be considered "standalone"
|
|
4
|
-
* for highlight padding purposes.
|
|
5
|
-
*
|
|
6
|
-
* Standalone backgroundColor marks are determined by scanning the content array and
|
|
7
|
-
* checking for backgroundColor marks that are separated by whitespace boundaries.
|
|
8
|
-
*
|
|
9
|
-
* @param content Array of ProseMirror nodes to scan for standalone backgroundColor marks.
|
|
10
|
-
* @returns Array of backgroundColor marks that are standalone.
|
|
11
|
-
*/
|
|
12
|
-
export declare const getStandaloneBackgroundColorMarks: (content: Node[]) => Mark[];
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { HeadingAnchorLinksProps } from '../../ui/Renderer/types';
|
|
2
|
-
export declare function isNestedHeaderLinksEnabled(allowHeadingAnchorLinks?: HeadingAnchorLinksProps): boolean;
|
|
3
|
-
export declare function getActiveHeadingId(allowHeadingAnchorLinks?: HeadingAnchorLinksProps): string | undefined;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import type { ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
|
|
3
|
-
export declare function markBlockAsInline({ nodes, onMark, parentPos, shouldDisplayExtensionAsInline, }: {
|
|
4
|
-
nodes: PMNode[];
|
|
5
|
-
onMark: ({ pos }: {
|
|
6
|
-
pos: number;
|
|
7
|
-
}) => void;
|
|
8
|
-
parentPos: number;
|
|
9
|
-
shouldDisplayExtensionAsInline: (extensionParams: ExtensionParams<Parameters>) => boolean;
|
|
10
|
-
}): void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { TextSegment } from './segment-text';
|
|
4
|
-
import type { TextHighlighter } from '../types';
|
|
5
|
-
export declare function renderTextSegments(segments: Array<TextSegment>, textHighlighter: TextHighlighter | undefined, marksList: readonly Mark[], startPos: number): string | React.JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { TextHighlighter } from '../types';
|
|
2
|
-
export type TextSegment = {
|
|
3
|
-
text: string;
|
|
4
|
-
type: 'plain';
|
|
5
|
-
} | {
|
|
6
|
-
groups: Array<string> | undefined;
|
|
7
|
-
text: string;
|
|
8
|
-
type: 'match';
|
|
9
|
-
};
|
|
10
|
-
export declare function segmentText(text: string | undefined, highlighter: TextHighlighter | undefined): Array<TextSegment>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
|
|
2
|
-
import type { ADFStage } from '@atlaskit/editor-common/validator';
|
|
3
|
-
import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
import type { AnalyticsEventPayload } from './analytics/events';
|
|
5
|
-
import type { Serializer } from './serializer';
|
|
6
|
-
import type { RendererAppearance } from './ui/Renderer/types';
|
|
7
|
-
export interface RenderOutput<T> {
|
|
8
|
-
pmDoc?: PMNode;
|
|
9
|
-
result: T;
|
|
10
|
-
stat: RenderOutputStat;
|
|
11
|
-
}
|
|
12
|
-
export interface RenderOutputStat {
|
|
13
|
-
buildTreeTime?: number;
|
|
14
|
-
nodesCount?: Record<string, number>;
|
|
15
|
-
sanitizeTime: number;
|
|
16
|
-
serializeTime?: number;
|
|
17
|
-
}
|
|
18
|
-
export interface ResultWithTime<T> {
|
|
19
|
-
output: T;
|
|
20
|
-
time: number;
|
|
21
|
-
}
|
|
22
|
-
type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
|
|
23
|
-
export declare const renderDocument: <T>(doc: any, serializer: Serializer<T>, schema?: Schema, adfStage?: ADFStage, useSpecBasedValidator?: boolean, rendererId?: string, dispatchAnalyticsEvent?: DispatchAnalyticsEvent, unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking, appearance?: RendererAppearance, includeNodesCountInStats?: boolean, skipValidation?: boolean, validationOverrides?: {
|
|
24
|
-
allowNestedTables?: boolean;
|
|
25
|
-
allowTableInPanel?: boolean;
|
|
26
|
-
}) => RenderOutput<T | null>;
|
|
27
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type { NestedRendererType } from './ui/Renderer/types';
|
|
4
|
-
export type RendererContextProps = {
|
|
5
|
-
featureFlags?: FeatureFlags;
|
|
6
|
-
isTopLevelRenderer?: boolean;
|
|
7
|
-
nestedRendererType?: NestedRendererType;
|
|
8
|
-
timeZone?: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const useRendererContext: () => RendererContextProps;
|
|
11
|
-
export declare const RendererContextProvider: React.Provider<{}>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import { AddMarkStep } from '@atlaskit/editor-prosemirror/transform';
|
|
3
|
-
export declare function getStartPos(element: HTMLElement): number;
|
|
4
|
-
export declare function findParent(element: ChildNode | Node): HTMLElement | null;
|
|
5
|
-
export declare function isRendererRoot(element: HTMLElement | null): boolean;
|
|
6
|
-
export declare function resolvePos(node: Node | null, offset: number, findEnd?: boolean): number | false;
|
|
7
|
-
interface AnnotationStepOptions {
|
|
8
|
-
annotationId: string;
|
|
9
|
-
annotationType: 'inlineComment';
|
|
10
|
-
schema: Schema;
|
|
11
|
-
}
|
|
12
|
-
export declare function getPosFromRange(range: Range): {
|
|
13
|
-
from: number;
|
|
14
|
-
to: number;
|
|
15
|
-
} | false;
|
|
16
|
-
export declare function createAnnotationStep(from: number, to: number, opts: AnnotationStepOptions): AddMarkStep;
|
|
17
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Fragment, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import type { Serializer } from '../serializer';
|
|
3
|
-
export default class TextSerializer implements Serializer<string> {
|
|
4
|
-
private schema;
|
|
5
|
-
constructor(schema: Schema);
|
|
6
|
-
serializeFragment(fragment: Fragment): string;
|
|
7
|
-
static fromSchema(schema?: Schema): TextSerializer;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as TextSerializer } from './text';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { MediaClientConfig } from '@atlaskit/media-core';
|
|
2
|
-
import type { MediaFeatureFlags, SSR } from '@atlaskit/media-common';
|
|
3
|
-
import type { MediaViewerExtensions } from '@atlaskit/media-viewer';
|
|
4
|
-
export type MediaSSR = {
|
|
5
|
-
config: MediaClientConfig;
|
|
6
|
-
mode: SSR;
|
|
7
|
-
};
|
|
8
|
-
export interface MediaOptions {
|
|
9
|
-
allowCaptions?: boolean;
|
|
10
|
-
allowLinking?: boolean;
|
|
11
|
-
enableDownloadButton?: boolean;
|
|
12
|
-
enableSyncMediaCard?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Optional fallback fetcher to retrieve the media filename from another service
|
|
15
|
-
* Workaround for #hot-301450 where media service is missing filenames for DC -> Cloud migrated media
|
|
16
|
-
* Receives the file ID and should resolve to the filename string.
|
|
17
|
-
*/
|
|
18
|
-
fallbackMediaNameFetcher?: (id: string) => Promise<string>;
|
|
19
|
-
featureFlags?: MediaFeatureFlags;
|
|
20
|
-
/** Extensions for the media viewer header (e.g. comment navigation button). */
|
|
21
|
-
mediaViewerExtensions?: MediaViewerExtensions;
|
|
22
|
-
ssr?: MediaSSR;
|
|
23
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { CardProps } from '@atlaskit/smart-card';
|
|
3
|
-
export interface SmartLinksOptions {
|
|
4
|
-
/**
|
|
5
|
-
* Configure visibility of actions available.
|
|
6
|
-
* By default, smart links show all actions available on the views.
|
|
7
|
-
* Set `hide` to true to disable all actions.
|
|
8
|
-
* Set `hide` to false and set `exclude` to enable only specific actions.
|
|
9
|
-
*
|
|
10
|
-
* Component: inline (hover preview), block (card)
|
|
11
|
-
*/
|
|
12
|
-
actionOptions?: CardProps['actionOptions'];
|
|
13
|
-
/**
|
|
14
|
-
* Competitor Prompt Component for Competitor link
|
|
15
|
-
*/
|
|
16
|
-
CompetitorPrompt?: React.ComponentType<{
|
|
17
|
-
linkType?: string;
|
|
18
|
-
sourceUrl: string;
|
|
19
|
-
}>;
|
|
20
|
-
/**
|
|
21
|
-
* A prop that determines the style of a frame:
|
|
22
|
-
* whether to show it, hide it or only show it when a user hovers over embed.
|
|
23
|
-
* Default is `show`
|
|
24
|
-
*
|
|
25
|
-
* Component: embed
|
|
26
|
-
*/
|
|
27
|
-
frameStyle?: CardProps['frameStyle'];
|
|
28
|
-
/**
|
|
29
|
-
* Returns a placeholder string for an inline smart link while it is in a resolving state.
|
|
30
|
-
* Used to show a preloaded title instead of the raw URL.
|
|
31
|
-
*
|
|
32
|
-
* Component: inline
|
|
33
|
-
*/
|
|
34
|
-
getResolvingPlaceholder?: (url: string) => string | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* A flag to disable hover preview on inline Smart Link.
|
|
37
|
-
* Default is false.
|
|
38
|
-
*
|
|
39
|
-
* Component: inline
|
|
40
|
-
*/
|
|
41
|
-
hideHoverPreview?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* A flag to enable inline Smart Link to render without lazy loading.
|
|
44
|
-
* Default is false.
|
|
45
|
-
*
|
|
46
|
-
* Component: inline
|
|
47
|
-
*/
|
|
48
|
-
ssr?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* A Suspense boundary wrapper to enable inline SmartLinks to wait until data fetchers have completed before rendering
|
|
51
|
-
* Default is undefined.
|
|
52
|
-
*
|
|
53
|
-
* Component: inline
|
|
54
|
-
*/
|
|
55
|
-
SuspenseWrapperForUrl?: React.ComponentType<{
|
|
56
|
-
children: React.ReactNode;
|
|
57
|
-
url?: string;
|
|
58
|
-
}>;
|
|
59
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
|
-
import type { AnalyticsEventPayload } from '../analytics/events';
|
|
4
|
-
import type { RendererAppearance, RendererContentMode } from './Renderer/types';
|
|
5
|
-
export interface ExpandProps {
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
8
|
-
loadBodyContent?: boolean;
|
|
9
|
-
localId?: string;
|
|
10
|
-
nestedHeaderIds?: Array<string>;
|
|
11
|
-
nodeType: 'expand' | 'nestedExpand';
|
|
12
|
-
rendererAppearance?: RendererAppearance;
|
|
13
|
-
rendererContentMode?: RendererContentMode;
|
|
14
|
-
title: string;
|
|
15
|
-
}
|
|
16
|
-
declare const _default_1: React.FC<WithIntlProps<ExpandProps & WrappedComponentProps>> & {
|
|
17
|
-
WrappedComponent: React.ComponentType<ExpandProps & WrappedComponentProps>;
|
|
18
|
-
};
|
|
19
|
-
export default _default_1;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import type { RendererContext } from '../react/types';
|
|
8
|
-
import type { ExtensionLayout } from '@atlaskit/adf-schema';
|
|
9
|
-
import type { ExtensionHandlers, ExtensionParams, MultiBodiedExtensionActions, Parameters } from '@atlaskit/editor-common/extensions';
|
|
10
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
11
|
-
import type { Mark as PMMark } from '@atlaskit/editor-prosemirror/model';
|
|
12
|
-
interface Props {
|
|
13
|
-
actions?: MultiBodiedExtensionActions;
|
|
14
|
-
children: ({ node, result, }: {
|
|
15
|
-
node: ExtensionParams<Parameters>;
|
|
16
|
-
result?: JSX.Element | null;
|
|
17
|
-
}) => JSX.Element;
|
|
18
|
-
content?: any;
|
|
19
|
-
extensionHandlers?: ExtensionHandlers;
|
|
20
|
-
extensionKey: string;
|
|
21
|
-
extensionType: string;
|
|
22
|
-
layout?: ExtensionLayout;
|
|
23
|
-
localId?: string;
|
|
24
|
-
marks?: PMMark[];
|
|
25
|
-
parameters?: any;
|
|
26
|
-
providers?: ProviderFactory;
|
|
27
|
-
rendererContext: RendererContext;
|
|
28
|
-
text?: string;
|
|
29
|
-
type: 'extension' | 'inlineExtension' | 'bodiedExtension' | 'multiBodiedExtension';
|
|
30
|
-
}
|
|
31
|
-
/** Renders extension (macro) nodes inside the ADF renderer. */
|
|
32
|
-
export default function ExtensionRenderer(props: Props): jsx.JSX.Element;
|
|
33
|
-
export declare const InlineNodeRendererWrapper: ({ children, isPlainTextMacro, ssrPlaceholder, ssrPlaceholderReplace, }: React.PropsWithChildren<{
|
|
34
|
-
isPlainTextMacro?: boolean;
|
|
35
|
-
ssrPlaceholder?: string;
|
|
36
|
-
ssrPlaceholderReplace?: string;
|
|
37
|
-
}>) => jsx.JSX.Element;
|
|
38
|
-
export {};
|