@atlaskit/renderer 132.5.2 → 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 +21 -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 +7 -3
- 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,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE:
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by Traduki 2.0.
|
|
5
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
-
*/
|
|
7
|
-
declare const _default: {
|
|
8
|
-
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
9
|
-
'fabric.editor.headingLink.copied': string;
|
|
10
|
-
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
11
|
-
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
12
|
-
'fabric.editor.headingLink.descSortingLabel': string;
|
|
13
|
-
'fabric.editor.headingLink.failedToCopy': string;
|
|
14
|
-
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
15
|
-
'fabric.editor.inlineComment.marker.end': string;
|
|
16
|
-
'fabric.editor.inlineComment.marker.start': string;
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE:
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by Traduki 2.0.
|
|
5
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
-
*/
|
|
7
|
-
declare const _default: {
|
|
8
|
-
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
9
|
-
'fabric.editor.headingLink.copied': string;
|
|
10
|
-
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
11
|
-
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
12
|
-
'fabric.editor.headingLink.descSortingLabel': string;
|
|
13
|
-
'fabric.editor.headingLink.failedToCopy': string;
|
|
14
|
-
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
15
|
-
'fabric.editor.inlineComment.marker.end': string;
|
|
16
|
-
'fabric.editor.inlineComment.marker.start': string;
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export { default as ReactSerializer, type ReactSerializerInit } from './react';
|
|
2
|
-
export { default as TextSerializer } from './text';
|
|
3
|
-
export { default as ReactRenderer, RendererWithAnalytics } from './ui/Renderer';
|
|
4
|
-
export { InlineNodeRendererWrapper } from './ui/ExtensionRenderer';
|
|
5
|
-
export { nodeToReact as defaultNodeComponents } from './react/nodes';
|
|
6
|
-
export { AnnotationsWrapper } from './ui/annotations';
|
|
7
|
-
export { ValidationContextProvider } from './ui/Renderer/ValidationContext';
|
|
8
|
-
export type { Serializer } from './serializer';
|
|
9
|
-
export type { HeadingAnchorLinksProps, RendererAppearance, RendererContentMode, StickyHeaderProps, NodeComponentsProps, } from './ui/Renderer/types';
|
|
10
|
-
export type { RendererProps } from './ui/renderer-props';
|
|
11
|
-
export type { RendererContext, NodeProps, ExtensionViewportSize } from './react/types';
|
|
12
|
-
export { ADFEncoder } from './utils';
|
|
13
|
-
export { renderDocument } from './render-document';
|
|
14
|
-
export type { RenderOutputStat } from './render-document';
|
|
15
|
-
export type { MediaSSR } from './types/mediaOptions';
|
|
16
|
-
export type { AnalyticsEventPayload } from './analytics/events';
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export declare const headingAnchorLinkMessages: {
|
|
2
|
-
copyHeadingLinkToClipboard: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
description: string;
|
|
6
|
-
};
|
|
7
|
-
copyLinkToClipboard: {
|
|
8
|
-
id: string;
|
|
9
|
-
defaultMessage: string;
|
|
10
|
-
description: string;
|
|
11
|
-
};
|
|
12
|
-
copyHeadingLinkLabelledBy: {
|
|
13
|
-
id: string;
|
|
14
|
-
defaultMessage: string;
|
|
15
|
-
description: string;
|
|
16
|
-
};
|
|
17
|
-
copiedHeadingLinkToClipboard: {
|
|
18
|
-
id: string;
|
|
19
|
-
defaultMessage: string;
|
|
20
|
-
description: string;
|
|
21
|
-
};
|
|
22
|
-
failedToCopyHeadingLink: {
|
|
23
|
-
id: string;
|
|
24
|
-
defaultMessage: string;
|
|
25
|
-
description: string;
|
|
26
|
-
};
|
|
27
|
-
copyAriaLabel: {
|
|
28
|
-
id: string;
|
|
29
|
-
defaultMessage: string;
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export declare const tableCellMessages: {
|
|
34
|
-
noneSortingLabel: {
|
|
35
|
-
id: string;
|
|
36
|
-
defaultMessage: string;
|
|
37
|
-
description: string;
|
|
38
|
-
};
|
|
39
|
-
ascSortingLabel: {
|
|
40
|
-
id: string;
|
|
41
|
-
defaultMessage: string;
|
|
42
|
-
description: string;
|
|
43
|
-
};
|
|
44
|
-
descSortingLabel: {
|
|
45
|
-
id: string;
|
|
46
|
-
defaultMessage: string;
|
|
47
|
-
description: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
export declare const inlineCommentMessages: {
|
|
51
|
-
contentRendererInlineCommentMarkerStart: {
|
|
52
|
-
id: string;
|
|
53
|
-
defaultMessage: string;
|
|
54
|
-
description: string;
|
|
55
|
-
};
|
|
56
|
-
contentRendererInlineCommentMarkerEnd: {
|
|
57
|
-
id: string;
|
|
58
|
-
defaultMessage: string;
|
|
59
|
-
description: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
interface Config {
|
|
3
|
-
enableWarningTooltip: boolean;
|
|
4
|
-
}
|
|
5
|
-
interface Result {
|
|
6
|
-
renderBidiWarnings: (text: string) => ReactNode;
|
|
7
|
-
warningLabel: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const useBidiWarnings: ({ enableWarningTooltip }: Config) => Result;
|
|
10
|
-
export {};
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import type { GetPMNodeHeight } from '@atlaskit/editor-common/extensibility';
|
|
2
|
-
import type { Fragment, Mark, Node } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { AnalyticsEventPayload } from '../analytics/events';
|
|
4
|
-
import type { Serializer } from '../serializer';
|
|
5
|
-
import type { HeadingAnchorLinksProps, NodeComponentsProps, RendererAppearance, RendererContentMode, StickyHeaderConfig } from '../ui/Renderer/types';
|
|
6
|
-
import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
|
|
7
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
8
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
9
|
-
import type { EmojiResourceConfig } from '@atlaskit/emoji/resource';
|
|
10
|
-
import type { MediaOptions } from '../types/mediaOptions';
|
|
11
|
-
import type { SmartLinksOptions } from '../types/smartLinksOptions';
|
|
12
|
-
import type { ExtensionViewportSize, RendererContext, TextHighlighter } from './types';
|
|
13
|
-
export interface ReactSerializerInit {
|
|
14
|
-
allowAltTextOnImages?: boolean;
|
|
15
|
-
allowAnnotations?: boolean;
|
|
16
|
-
allowColumnSorting?: boolean;
|
|
17
|
-
allowCopyToClipboard?: boolean;
|
|
18
|
-
allowCustomPanels?: boolean;
|
|
19
|
-
allowFixedColumnWidthOption?: boolean;
|
|
20
|
-
allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
|
|
21
|
-
allowMediaLinking?: boolean;
|
|
22
|
-
allowPlaceholderText?: boolean;
|
|
23
|
-
allowSelectAllTrap?: boolean;
|
|
24
|
-
allowTableAlignment?: boolean;
|
|
25
|
-
allowTableResizing?: boolean;
|
|
26
|
-
allowWindowedCodeBlock?: boolean;
|
|
27
|
-
allowWrapCodeBlock?: boolean;
|
|
28
|
-
appearance?: RendererAppearance;
|
|
29
|
-
contentMode?: RendererContentMode;
|
|
30
|
-
disableActions?: boolean;
|
|
31
|
-
disableHeadingIDs?: boolean;
|
|
32
|
-
disableTableOverflowShadow?: boolean;
|
|
33
|
-
emojiResourceConfig?: EmojiResourceConfig;
|
|
34
|
-
eventHandlers?: EventHandlers;
|
|
35
|
-
extensionHandlers?: ExtensionHandlers;
|
|
36
|
-
extensionViewportSizes?: ExtensionViewportSize[];
|
|
37
|
-
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
38
|
-
getExtensionHeight?: GetPMNodeHeight;
|
|
39
|
-
isInsideOfInlineExtension?: boolean;
|
|
40
|
-
isPresentational?: boolean;
|
|
41
|
-
media?: MediaOptions;
|
|
42
|
-
nodeComponents?: NodeComponentsProps;
|
|
43
|
-
objectContext?: RendererContext;
|
|
44
|
-
onSetLinkTarget?: (url: string) => '_blank' | undefined;
|
|
45
|
-
portal?: HTMLElement;
|
|
46
|
-
providers?: ProviderFactory;
|
|
47
|
-
shouldDisplayExtensionAsInline?: (extensionParams: ExtensionParams<Parameters>) => boolean;
|
|
48
|
-
shouldOpenMediaViewer?: boolean;
|
|
49
|
-
smartLinks?: SmartLinksOptions;
|
|
50
|
-
/**
|
|
51
|
-
* Used for to set positions on nodes for annotations.
|
|
52
|
-
*
|
|
53
|
-
* When not provided defaults to 1.
|
|
54
|
-
*/
|
|
55
|
-
startPos?: number;
|
|
56
|
-
stickyHeaders?: StickyHeaderConfig;
|
|
57
|
-
surroundTextNodesWithTextWrapper?: boolean;
|
|
58
|
-
textHighlighter?: TextHighlighter;
|
|
59
|
-
}
|
|
60
|
-
interface ParentInfo {
|
|
61
|
-
parentIsIncompleteTask: boolean;
|
|
62
|
-
path: Array<Node>;
|
|
63
|
-
pos: number;
|
|
64
|
-
}
|
|
65
|
-
export default class ReactSerializer implements Serializer<JSX.Element> {
|
|
66
|
-
private providers?;
|
|
67
|
-
private eventHandlers?;
|
|
68
|
-
private extensionHandlers?;
|
|
69
|
-
private portal?;
|
|
70
|
-
private rendererContext?;
|
|
71
|
-
private appearance?;
|
|
72
|
-
private contentMode?;
|
|
73
|
-
private disableHeadingIDs?;
|
|
74
|
-
private disableActions?;
|
|
75
|
-
private headingIds;
|
|
76
|
-
/**
|
|
77
|
-
* The reason we have this extra array here is because we need to generate the same unique
|
|
78
|
-
* heading id for 2 different nodes: headers and expands (check the implementation of
|
|
79
|
-
* `getUniqueHeadingId` for more info).
|
|
80
|
-
*
|
|
81
|
-
* We will eventually need to refactor the current approach to generate unique ids
|
|
82
|
-
* for headers under this ticket -> https://product-fabric.atlassian.net/browse/ED-9668
|
|
83
|
-
*/
|
|
84
|
-
private expandHeadingIds;
|
|
85
|
-
private allowHeadingAnchorLinks?;
|
|
86
|
-
private allowColumnSorting?;
|
|
87
|
-
private allowCopyToClipboard?;
|
|
88
|
-
private allowWrapCodeBlock?;
|
|
89
|
-
private allowPlaceholderText?;
|
|
90
|
-
private allowCustomPanels?;
|
|
91
|
-
private fireAnalyticsEvent?;
|
|
92
|
-
private shouldOpenMediaViewer?;
|
|
93
|
-
private allowAltTextOnImages?;
|
|
94
|
-
private stickyHeaders?;
|
|
95
|
-
private allowMediaLinking?;
|
|
96
|
-
private initStartPos;
|
|
97
|
-
private startPos;
|
|
98
|
-
private surroundTextNodesWithTextWrapper;
|
|
99
|
-
private media?;
|
|
100
|
-
private emojiResourceConfig?;
|
|
101
|
-
private smartLinks?;
|
|
102
|
-
private extensionViewportSizes?;
|
|
103
|
-
private getExtensionHeight?;
|
|
104
|
-
private allowAnnotations;
|
|
105
|
-
private allowSelectAllTrap?;
|
|
106
|
-
private nodeComponents?;
|
|
107
|
-
private allowWindowedCodeBlock?;
|
|
108
|
-
private isInsideOfInlineExtension?;
|
|
109
|
-
private textHighlighter?;
|
|
110
|
-
private allowTableAlignment?;
|
|
111
|
-
private allowTableResizing?;
|
|
112
|
-
private allowFixedColumnWidthOption?;
|
|
113
|
-
private isPresentational?;
|
|
114
|
-
private disableTableOverflowShadow?;
|
|
115
|
-
private standaloneBackgroundColorMarks;
|
|
116
|
-
private onSetLinkTarget?;
|
|
117
|
-
private shouldDisplayExtensionAsInline?;
|
|
118
|
-
private inlinePositions;
|
|
119
|
-
constructor(init: ReactSerializerInit);
|
|
120
|
-
private resetState;
|
|
121
|
-
private getNodeProps;
|
|
122
|
-
serializeFragment(fragment: Fragment, props?: any, target?: any, key?: string, parentInfo?: ParentInfo): JSX.Element | null;
|
|
123
|
-
private serializeFragmentChild;
|
|
124
|
-
private withMediaMarkProps;
|
|
125
|
-
private serializeTextWrapper;
|
|
126
|
-
private serializeMark;
|
|
127
|
-
private renderNode;
|
|
128
|
-
private renderMark;
|
|
129
|
-
private getTableChildrenProps;
|
|
130
|
-
private getTableProps;
|
|
131
|
-
private getDateProps;
|
|
132
|
-
private getMediaSingleProps;
|
|
133
|
-
private getMediaProps;
|
|
134
|
-
private getExtensionProps;
|
|
135
|
-
private getEmojiProps;
|
|
136
|
-
private getEmbedCardProps;
|
|
137
|
-
private getBlockCardProps;
|
|
138
|
-
private getInlineCardProps;
|
|
139
|
-
private getMediaGroupProps;
|
|
140
|
-
private getMediaInlineProps;
|
|
141
|
-
private getTaskItemProps;
|
|
142
|
-
private getHardBreakProps;
|
|
143
|
-
private getCodeBlockProps;
|
|
144
|
-
private getPanelProps;
|
|
145
|
-
private getUnsupportedContentProps;
|
|
146
|
-
private getProps;
|
|
147
|
-
private headingAnchorSupported;
|
|
148
|
-
private getHeadingProps;
|
|
149
|
-
private getExpandProps;
|
|
150
|
-
private getHeadingId;
|
|
151
|
-
private getUniqueHeadingId;
|
|
152
|
-
private getAnnotationMarkProps;
|
|
153
|
-
private getMarkProps;
|
|
154
|
-
private getChildNodes;
|
|
155
|
-
static getMarks(node: Node): Mark[];
|
|
156
|
-
static buildMarkStructure(content: Node[]): Mark[];
|
|
157
|
-
}
|
|
158
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { MarkProps, AnnotationMarkMeta } from '../types';
|
|
3
|
-
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
export declare const isAnnotationMark: (mark: Mark) => boolean;
|
|
5
|
-
declare const AnnotationComponent: ({ id, annotationType, children, dataAttributes, annotationParentIds, allowAnnotations, useBlockLevel, isMediaInline, }: MarkProps<AnnotationMarkMeta>) => React.JSX.Element;
|
|
6
|
-
export default AnnotationComponent;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
6
|
-
import type { BorderMarkAttributes } from '@atlaskit/adf-schema';
|
|
7
|
-
import type { MarkProps } from '../types';
|
|
8
|
-
export default function Border(props: MarkProps<BorderMarkAttributes>): jsx.JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
6
|
-
import type { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
7
|
-
import type { MarkProps } from '../types';
|
|
8
|
-
/**
|
|
9
|
-
* React component that renders a breakout mark with dynamic width based on editor layout (wide or full-width).
|
|
10
|
-
*
|
|
11
|
-
* @param props - Breakout mark attrs, such as mode (wide or full-width).
|
|
12
|
-
* @returns The rendered breakout mark as a React element.
|
|
13
|
-
*/
|
|
14
|
-
export default function Breakout(props: MarkProps<BreakoutMarkAttrs>): jsx.JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
|
-
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
import type { MarkMeta, MarkProps } from '../types';
|
|
5
|
-
export declare const isCodeMark: (mark: Mark) => boolean;
|
|
6
|
-
export declare function CodeWithIntl(props: MarkProps<{
|
|
7
|
-
codeBidiWarningTooltipEnabled: boolean;
|
|
8
|
-
}> & WrappedComponentProps): React.JSX.Element;
|
|
9
|
-
declare const _default_1: React.FC<WithIntlProps<{
|
|
10
|
-
codeBidiWarningTooltipEnabled: boolean;
|
|
11
|
-
} & MarkMeta & {
|
|
12
|
-
children?: React.ReactNode | undefined;
|
|
13
|
-
} & WrappedComponentProps>> & {
|
|
14
|
-
WrappedComponent: React.ComponentType<{
|
|
15
|
-
codeBidiWarningTooltipEnabled: boolean;
|
|
16
|
-
} & MarkMeta & {
|
|
17
|
-
children?: React.ReactNode | undefined;
|
|
18
|
-
} & WrappedComponentProps>;
|
|
19
|
-
};
|
|
20
|
-
export default _default_1;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
import type { MarkProps } from '../types';
|
|
3
|
-
interface Props {
|
|
4
|
-
reference: string;
|
|
5
|
-
}
|
|
6
|
-
export default class ConfluenceInlineComment extends Component<MarkProps<Props>, Object> {
|
|
7
|
-
render(): React.JSX.Element;
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { ComponentType } from 'react';
|
|
2
|
-
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import Code from './code';
|
|
4
|
-
import Em from './em';
|
|
5
|
-
import Link from './link';
|
|
6
|
-
import Strike from './strike';
|
|
7
|
-
import Strong from './strong';
|
|
8
|
-
import Subsup from './subsup';
|
|
9
|
-
import TextColor from './textColor';
|
|
10
|
-
import BackgroundColor from './backgroundColor';
|
|
11
|
-
import Underline from './underline';
|
|
12
|
-
import Breakout from './breakout';
|
|
13
|
-
import UnsupportedMark from './unsupportedMark';
|
|
14
|
-
import UnsupportedNodeAttribute from './unsupportedNodeAttribute';
|
|
15
|
-
import DataConsumer from './data-consumer';
|
|
16
|
-
import FragmentMark from './fragment';
|
|
17
|
-
import Annotation, { isAnnotationMark } from './annotation';
|
|
18
|
-
import Border from './border';
|
|
19
|
-
import FontSize from './fontSize';
|
|
20
|
-
export declare const markToReact: {
|
|
21
|
-
[key: string]: ComponentType<React.PropsWithChildren<any>>;
|
|
22
|
-
};
|
|
23
|
-
export declare const toReact: (mark: Mark) => ComponentType<React.PropsWithChildren<any>>;
|
|
24
|
-
export { Code, Em, Link, Strike, Strong, Subsup, TextColor, BackgroundColor, Underline, Breakout, Annotation, Border, FontSize, UnsupportedMark, isAnnotationMark, UnsupportedNodeAttribute, DataConsumer, FragmentMark, };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Compiled branch of the `platform_editor_static_css` experiment.
|
|
7
|
-
* Used via `componentWithCondition` in `link.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import type { ComponentProps } from 'react';
|
|
12
|
-
import LinkUrl from '@atlaskit/smart-card/link-url';
|
|
13
|
-
export declare const LinkUrlCompiled: (props: ComponentProps<typeof LinkUrl>) => JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Emotion branch of the `platform_editor_static_css` experiment.
|
|
7
|
-
* Used via `componentWithCondition` in `link.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import type { ComponentProps } from 'react';
|
|
12
|
-
import { jsx } from '@emotion/react';
|
|
13
|
-
import LinkUrl from '@atlaskit/smart-card/link-url';
|
|
14
|
-
export declare const LinkUrlEmotion: (props: ComponentProps<typeof LinkUrl>) => jsx.JSX.Element;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { LinkAttributes } from '@atlaskit/adf-schema';
|
|
3
|
-
import type { MarkProps } from '../types';
|
|
4
|
-
interface LinkProps extends LinkAttributes {
|
|
5
|
-
isMediaLink?: boolean;
|
|
6
|
-
onSetLinkTarget?: (url: string) => '_blank' | undefined;
|
|
7
|
-
target?: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Render an ADF link mark in renderer.
|
|
11
|
-
*/
|
|
12
|
-
export default function Link(props: MarkProps<LinkProps>): React.JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare class TableStickyScrollbar {
|
|
2
|
-
private wrapper;
|
|
3
|
-
private rendererScrollableElement?;
|
|
4
|
-
private intersectionObserver?;
|
|
5
|
-
private stickyScrollbarContainerElement?;
|
|
6
|
-
private sentinels;
|
|
7
|
-
private topSentinelState?;
|
|
8
|
-
private bottomSentinelState?;
|
|
9
|
-
constructor(wrapper: HTMLDivElement);
|
|
10
|
-
dispose(): void;
|
|
11
|
-
scrollLeft(left: number): void;
|
|
12
|
-
private init;
|
|
13
|
-
private createIntersectionObserver;
|
|
14
|
-
private deleteIntersectionObserver;
|
|
15
|
-
private sentinelBottomCallback;
|
|
16
|
-
private sentinelTopCallback;
|
|
17
|
-
private toggle;
|
|
18
|
-
private hide;
|
|
19
|
-
private show;
|
|
20
|
-
private handleScroll;
|
|
21
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
6
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
7
|
-
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
8
|
-
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
|
|
9
|
-
import type { DatasourceAttributeProperties } from '@atlaskit/adf-schema/schema';
|
|
10
|
-
export default function BlockCard(props: {
|
|
11
|
-
data?: object;
|
|
12
|
-
datasource?: DatasourceAttributeProperties;
|
|
13
|
-
eventHandlers?: EventHandlers;
|
|
14
|
-
isNodeNested?: boolean;
|
|
15
|
-
layout?: string;
|
|
16
|
-
localId?: string;
|
|
17
|
-
onSetLinkTarget?: (url: string) => '_blank' | undefined;
|
|
18
|
-
portal?: HTMLElement;
|
|
19
|
-
rendererAppearance?: RendererAppearance;
|
|
20
|
-
smartLinks?: SmartLinksOptions;
|
|
21
|
-
url?: string;
|
|
22
|
-
}): jsx.JSX.Element;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { RendererContext, ExtensionViewportSize } from '../types';
|
|
4
|
-
import type { Serializer } from '../../serializer';
|
|
5
|
-
import type { ExtensionLayout } from '@atlaskit/adf-schema';
|
|
6
|
-
import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
|
|
7
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
8
|
-
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
9
|
-
import type { AnalyticsEventPayload } from '../../analytics/events';
|
|
10
|
-
interface Props {
|
|
11
|
-
content?: any;
|
|
12
|
-
extensionHandlers?: ExtensionHandlers;
|
|
13
|
-
extensionKey: string;
|
|
14
|
-
extensionType: string;
|
|
15
|
-
extensionViewportSizes?: ExtensionViewportSize[];
|
|
16
|
-
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
17
|
-
layout?: ExtensionLayout;
|
|
18
|
-
localId?: string;
|
|
19
|
-
marks?: PMMark[];
|
|
20
|
-
originalContent?: any;
|
|
21
|
-
parameters?: any;
|
|
22
|
-
path?: PMNode[];
|
|
23
|
-
providers: ProviderFactory;
|
|
24
|
-
rendererAppearance?: RendererAppearance;
|
|
25
|
-
rendererContext: RendererContext;
|
|
26
|
-
serializer: Serializer<any>;
|
|
27
|
-
shouldDisplayExtensionAsInline?: (extensionParams?: ExtensionParams<Parameters>) => boolean;
|
|
28
|
-
startPos: number;
|
|
29
|
-
}
|
|
30
|
-
declare const BodiedExtension: (props: React.PropsWithChildren<Props>) => React.JSX.Element;
|
|
31
|
-
export default BodiedExtension;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type ComponentType, type FC } from 'react';
|
|
6
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
7
|
-
import type { SupportedLanguages } from '@atlaskit/code';
|
|
8
|
-
export interface Props {
|
|
9
|
-
allowCopyToClipboard?: boolean;
|
|
10
|
-
allowWrapCodeBlock?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
codeBidiWarningTooltipEnabled: boolean;
|
|
13
|
-
hideLineNumbers?: boolean;
|
|
14
|
-
language: SupportedLanguages;
|
|
15
|
-
localId?: string;
|
|
16
|
-
text: string;
|
|
17
|
-
wrap?: boolean;
|
|
18
|
-
}
|
|
19
|
-
declare const _default_1: FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
20
|
-
WrappedComponent: ComponentType<Props & WrappedComponentProps>;
|
|
21
|
-
};
|
|
22
|
-
export default _default_1;
|