@atlaskit/renderer 132.5.3 → 132.6.1
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 +27 -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,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
6
|
-
import type { Dispatch, SetStateAction } from 'react';
|
|
7
|
-
export interface CodeBlockButtonContainerProps {
|
|
8
|
-
allowCopyToClipboard?: boolean;
|
|
9
|
-
allowWrapCodeBlock?: boolean;
|
|
10
|
-
setWrapLongLines: Dispatch<SetStateAction<boolean>>;
|
|
11
|
-
text: string;
|
|
12
|
-
wrapLongLines: boolean;
|
|
13
|
-
}
|
|
14
|
-
declare const CodeBlockButtonContainer: ({ allowCopyToClipboard, allowWrapCodeBlock, setWrapLongLines, text, wrapLongLines, }: CodeBlockButtonContainerProps) => jsx.JSX.Element;
|
|
15
|
-
export default CodeBlockButtonContainer;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
6
|
-
import type { ReactNode } from 'react';
|
|
7
|
-
import type { CodeBlockButtonContainerProps } from './codeBlockButtonContainer';
|
|
8
|
-
interface ContainerProps extends CodeBlockButtonContainerProps {
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
localId?: string;
|
|
12
|
-
}
|
|
13
|
-
declare const CodeBlockContainer: ({ allowCopyToClipboard, allowWrapCodeBlock, children, className, localId, setWrapLongLines, text, wrapLongLines, }: ContainerProps) => jsx.JSX.Element;
|
|
14
|
-
export default CodeBlockContainer;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type ComponentType, type FC } from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
|
-
type Props = {
|
|
4
|
-
content: string;
|
|
5
|
-
};
|
|
6
|
-
declare const _default_1: FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
7
|
-
WrappedComponent: ComponentType<Props & WrappedComponentProps>;
|
|
8
|
-
};
|
|
9
|
-
export default _default_1;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ComponentType, Dispatch, FC, SetStateAction } from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
|
-
type Props = {
|
|
4
|
-
setWrapLongLines: Dispatch<SetStateAction<boolean>>;
|
|
5
|
-
wrapLongLines?: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare const _default_1: FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
8
|
-
WrappedComponent: ComponentType<Props & WrappedComponentProps>;
|
|
9
|
-
};
|
|
10
|
-
export default _default_1;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { type SerializedStyles } from '@emotion/react';
|
|
7
|
-
import type { Props as CodeBlockProps } from '../codeBlock';
|
|
8
|
-
export declare const LightWeightCodeBlockCssClassName: {
|
|
9
|
-
CONTAINER: string;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @private
|
|
13
|
-
* @deprecated styles are moved to RendererStyleContainer
|
|
14
|
-
*/
|
|
15
|
-
export declare const getLightWeightCodeBlockStylesForRootRendererStyleSheet: () => SerializedStyles;
|
|
16
|
-
declare const LightWeightCodeBlock: React.ForwardRefExoticComponent<Pick<CodeBlockProps, 'text' | 'className' | 'codeBidiWarningTooltipEnabled' | 'hideLineNumbers'> & React.RefAttributes<HTMLDivElement>>;
|
|
17
|
-
export default LightWeightCodeBlock;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react';
|
|
2
|
-
import type { Props as CodeBlockProps } from './codeBlock';
|
|
3
|
-
declare const WindowedCodeBlock: ({ text, language, allowCopyToClipboard, allowWrapCodeBlock, codeBidiWarningTooltipEnabled, hideLineNumbers, className: rootClassName, wrap, }: CodeBlockProps) => jsx.JSX.Element;
|
|
4
|
-
export default WindowedCodeBlock;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
|
-
import type { MarkDataAttributes } from '../../ui/annotations/element/useInlineAnnotationProps';
|
|
4
|
-
export interface Props extends MarkDataAttributes {
|
|
5
|
-
parentIsIncompleteTask?: boolean;
|
|
6
|
-
timestamp: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const DateComponent: React.FC<WithIntlProps<Props & WrappedComponentProps>> & {
|
|
9
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
|
|
10
|
-
};
|
|
11
|
-
declare function DateWithFormatContext(props: Props): React.JSX.Element;
|
|
12
|
-
export default DateWithFormatContext;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
6
|
-
import type { FC } from 'react';
|
|
7
|
-
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
|
|
8
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
9
|
-
import type { RichMediaLayout } from '@atlaskit/adf-schema';
|
|
10
|
-
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
11
|
-
type EmbedCardInternalProps = {
|
|
12
|
-
data?: object;
|
|
13
|
-
eventHandlers?: EventHandlers;
|
|
14
|
-
isInsideOfBlockNode?: boolean;
|
|
15
|
-
isInsideOfInlineExtension?: boolean;
|
|
16
|
-
layout: RichMediaLayout;
|
|
17
|
-
onSetLinkTarget?: (url: string) => '_blank' | undefined;
|
|
18
|
-
originalHeight?: number;
|
|
19
|
-
originalWidth?: number;
|
|
20
|
-
portal?: HTMLElement;
|
|
21
|
-
rendererAppearance?: RendererAppearance;
|
|
22
|
-
smartLinks?: SmartLinksOptions;
|
|
23
|
-
url?: string;
|
|
24
|
-
width?: number;
|
|
25
|
-
};
|
|
26
|
-
export declare const EmbedOrBlockCardInternal: ({ url, data, eventHandlers, portal, originalHeight, originalWidth, width: embedWidth, layout, rendererAppearance, isInsideOfBlockNode, smartLinks, isInsideOfInlineExtension, onSetLinkTarget, }: EmbedCardInternalProps) => jsx.JSX.Element;
|
|
27
|
-
declare const EmbedCardWithCondition: FC<EmbedCardInternalProps>;
|
|
28
|
-
export default EmbedCardWithCondition;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { EmojiResourceConfig } from '@atlaskit/emoji/resource';
|
|
2
|
-
import type { FC, NamedExoticComponent } from 'react';
|
|
3
|
-
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
-
import type { EmojiId } from '@atlaskit/emoji/types';
|
|
5
|
-
import type { MarkDataAttributes } from '../../ui/annotations/element/useInlineAnnotationProps';
|
|
6
|
-
import type { EmojiAttributes } from '@atlaskit/adf-schema';
|
|
7
|
-
export interface EmojiProps extends EmojiId, EmojiAttributes, MarkDataAttributes {
|
|
8
|
-
allowTextFallback?: boolean;
|
|
9
|
-
fitToHeight?: number;
|
|
10
|
-
providers?: ProviderFactory;
|
|
11
|
-
resourceConfig?: EmojiResourceConfig;
|
|
12
|
-
showTooltip?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const EmojiItemComponent: FC<EmojiProps>;
|
|
15
|
-
declare const _default_1: NamedExoticComponent<EmojiProps>;
|
|
16
|
-
export default _default_1;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
7
|
-
import type { RendererContext, ExtensionViewportSize } from '../types';
|
|
8
|
-
import type { ExtensionLayout } from '@atlaskit/adf-schema';
|
|
9
|
-
import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
|
|
10
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
11
|
-
import type { OverflowShadowProps, OverflowShadowState } from '@atlaskit/editor-common/ui';
|
|
12
|
-
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
13
|
-
import type { AnalyticsEventPayload } from '../../analytics/events';
|
|
14
|
-
interface Props {
|
|
15
|
-
extensionHandlers?: ExtensionHandlers;
|
|
16
|
-
extensionKey: string;
|
|
17
|
-
extensionType: string;
|
|
18
|
-
extensionViewportSizes?: ExtensionViewportSize[];
|
|
19
|
-
isInsideOfInlineExtension?: boolean;
|
|
20
|
-
layout?: ExtensionLayout;
|
|
21
|
-
localId?: string;
|
|
22
|
-
marks?: PMMark[];
|
|
23
|
-
nodeHeight?: string;
|
|
24
|
-
parameters?: any;
|
|
25
|
-
path?: PMNode[];
|
|
26
|
-
providers: ProviderFactory;
|
|
27
|
-
rendererAppearance?: RendererAppearance;
|
|
28
|
-
rendererContext: RendererContext;
|
|
29
|
-
shouldDisplayExtensionAsInline?: (extensionParams?: ExtensionParams<Parameters>) => boolean;
|
|
30
|
-
text?: string;
|
|
31
|
-
}
|
|
32
|
-
type AllOrNone<T> = T | {
|
|
33
|
-
[K in keyof T]?: never;
|
|
34
|
-
};
|
|
35
|
-
type RenderExtensionOptions = {
|
|
36
|
-
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
37
|
-
isTopLevel?: boolean;
|
|
38
|
-
rendererAppearance?: RendererAppearance;
|
|
39
|
-
} & AllOrNone<OverflowShadowProps>;
|
|
40
|
-
export declare const renderExtension: (content: any, layout: ExtensionLayout, options?: RenderExtensionOptions, removeOverflow?: boolean, extensionId?: string, extensionViewportSizes?: ExtensionViewportSize[], nodeHeight?: string, localId?: string, shouldDisplayExtensionAsInline?: (extensionParams?: ExtensionParams<Parameters>) => boolean, node?: ExtensionParams<Parameters>, isInsideOfInlineExtension?: boolean) => React.JSX.Element;
|
|
41
|
-
declare const _default_1: React.ComponentClass<Props & OverflowShadowProps, OverflowShadowState>;
|
|
42
|
-
export default _default_1;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { jsx } from '@emotion/react';
|
|
6
|
-
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
7
|
-
import type { RendererContext } from '../types';
|
|
8
|
-
import type { Serializer } from '../../serializer';
|
|
9
|
-
import type { ExtensionLayout } from '@atlaskit/adf-schema';
|
|
10
|
-
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
11
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
12
|
-
type Props = React.PropsWithChildren<{
|
|
13
|
-
content?: any;
|
|
14
|
-
extensionHandlers?: ExtensionHandlers;
|
|
15
|
-
extensionKey: string;
|
|
16
|
-
extensionType: string;
|
|
17
|
-
layout?: ExtensionLayout;
|
|
18
|
-
localId?: string;
|
|
19
|
-
originalContent?: any;
|
|
20
|
-
parameters?: any;
|
|
21
|
-
path?: PMNode[];
|
|
22
|
-
providers: ProviderFactory;
|
|
23
|
-
rendererContext: RendererContext;
|
|
24
|
-
serializer: Serializer<any>;
|
|
25
|
-
}>;
|
|
26
|
-
declare const ExtensionFrame: (props: Props) => jsx.JSX.Element;
|
|
27
|
-
export default ExtensionFrame;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type CardErrorBoundaryProps = {
|
|
3
|
-
unsupportedComponent: React.ComponentType<React.PropsWithChildren<unknown>>;
|
|
4
|
-
};
|
|
5
|
-
export declare class CardErrorBoundary extends React.PureComponent<{
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
datasourceId?: string;
|
|
8
|
-
isDatasource?: boolean;
|
|
9
|
-
onClick?: (e: React.MouseEvent<HTMLElement>, url?: string) => void;
|
|
10
|
-
onSetLinkTarget?: (url: string) => '_blank' | undefined;
|
|
11
|
-
url?: string;
|
|
12
|
-
} & CardErrorBoundaryProps> {
|
|
13
|
-
state: {
|
|
14
|
-
isError: boolean;
|
|
15
|
-
error: null;
|
|
16
|
-
};
|
|
17
|
-
onClickFallback: (e: React.MouseEvent<HTMLElement>) => void;
|
|
18
|
-
static getDerivedStateFromError(error: Error): {
|
|
19
|
-
isError: boolean;
|
|
20
|
-
error: Error;
|
|
21
|
-
};
|
|
22
|
-
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
23
|
-
componentDidCatch(_error: Error): void;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
|
-
export declare const HeadingAnchorWrapperClassName = "heading-anchor-wrapper";
|
|
4
|
-
type Props = {
|
|
5
|
-
enableNestedHeaderLinks?: boolean;
|
|
6
|
-
headingId?: string;
|
|
7
|
-
hideFromScreenReader?: boolean;
|
|
8
|
-
level: number;
|
|
9
|
-
onCopyText: () => Promise<void>;
|
|
10
|
-
};
|
|
11
|
-
type HeadingAnchorProps = Props & React.PropsWithChildren<unknown> & WrappedComponentProps;
|
|
12
|
-
declare const _default_1: React.FC<WithIntlProps<HeadingAnchorProps>> & {
|
|
13
|
-
WrappedComponent: React.ComponentType<HeadingAnchorProps>;
|
|
14
|
-
};
|
|
15
|
-
export default _default_1;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
* @jsxFrag
|
|
5
|
-
*/
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
8
|
-
import type { NodeProps } from '../types';
|
|
9
|
-
import type { HeadingAnchorLinksProps } from '../../ui/Renderer/types';
|
|
10
|
-
export type HeadingLevels = 1 | 2 | 3 | 4 | 5 | 6;
|
|
11
|
-
type HeadingProps = NodeProps<{
|
|
12
|
-
allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
|
|
13
|
-
headingId?: string;
|
|
14
|
-
invisible?: boolean;
|
|
15
|
-
level: HeadingLevels;
|
|
16
|
-
localId?: string;
|
|
17
|
-
marks?: PMNode['marks'];
|
|
18
|
-
showAnchorLink?: boolean;
|
|
19
|
-
}>;
|
|
20
|
-
/**
|
|
21
|
-
* Gated Heading component:
|
|
22
|
-
* - When platform_editor_copy_link_a11y_inconsistency_fix experiment is enabled,
|
|
23
|
-
* returns HeadingWithWrapper (new a11y-improved structure)
|
|
24
|
-
* - Otherwise returns HeadingWithDuplicateAnchor (old structure)
|
|
25
|
-
*/
|
|
26
|
-
declare function Heading({ allowHeadingAnchorLinks, children, dataAttributes, headingId, invisible, level, localId, marks, nodeType, showAnchorLink, serializer, asInline, }: HeadingProps): React.JSX.Element;
|
|
27
|
-
export default Heading;
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import Loadable from 'react-loadable';
|
|
3
|
-
import type { Fragment, Node, Mark } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
import { type EventHandlers } from '@atlaskit/editor-common/ui';
|
|
5
|
-
import Blockquote from './blockquote';
|
|
6
|
-
import BodiedExtension from './bodiedExtension';
|
|
7
|
-
import MultiBodiedExtension from './multiBodiedExtension';
|
|
8
|
-
import ExtensionFrame from './extensionFrame';
|
|
9
|
-
import BulletList from './bulletList';
|
|
10
|
-
import Doc, { DocWithSelectAllTrap } from './doc';
|
|
11
|
-
import Extension from './extension';
|
|
12
|
-
import HardBreak from './hardBreak';
|
|
13
|
-
import Heading from './heading';
|
|
14
|
-
import InlineExtension from './inlineExtension';
|
|
15
|
-
import LayoutSection from './layoutSection';
|
|
16
|
-
import LayoutColumn from './layoutColumn';
|
|
17
|
-
import ListItem from './listItem';
|
|
18
|
-
import Caption from './caption';
|
|
19
|
-
import OrderedList from './orderedList';
|
|
20
|
-
import Paragraph from './paragraph';
|
|
21
|
-
import Placeholder from './placeholder';
|
|
22
|
-
import Rule from './rule';
|
|
23
|
-
import Table from './table';
|
|
24
|
-
import { TableCell } from './tableCell';
|
|
25
|
-
import TableRow from './tableRow';
|
|
26
|
-
import UnknownBlock from './unknownBlock';
|
|
27
|
-
import type { NodeComponentsProps, RendererAppearance } from '../../ui/Renderer/types';
|
|
28
|
-
import type { RichMediaLayout, DatasourceAttributeProperties } from '@atlaskit/adf-schema';
|
|
29
|
-
import type { MediaInlineAttrs } from '@atlaskit/editor-common/media-inline';
|
|
30
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
31
|
-
import type { Diff } from '@atlaskit/editor-common/utils';
|
|
32
|
-
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
33
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
34
|
-
import type { MediaSSR } from '../../types/mediaOptions';
|
|
35
|
-
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
|
|
36
|
-
import type { ExpandProps } from '../../ui/Expand';
|
|
37
|
-
import type { WithSmartCardStorageProps } from '../../ui/SmartCardStorage';
|
|
38
|
-
import type { NodeProps } from '../types';
|
|
39
|
-
import type { Props as CodeBlockNodeProps } from './codeBlock/codeBlock';
|
|
40
|
-
import type { Props as DateNodeProps } from './date';
|
|
41
|
-
import type { Props as DecisionListNodeProps } from './decisionList';
|
|
42
|
-
import type { EmojiProps } from './emoji';
|
|
43
|
-
import type { InlineCardProps } from './inlineCard';
|
|
44
|
-
import type { MediaProps } from './media';
|
|
45
|
-
import type { MediaGroupProps } from './mediaGroup';
|
|
46
|
-
import type { Props as MediaSingleNodeProps } from './mediaSingle';
|
|
47
|
-
import type { Props as MentionNodeProps } from './mention';
|
|
48
|
-
import type { Props as PanelNodeProps } from './panel';
|
|
49
|
-
import type { Props as StatusNodeProps } from './status';
|
|
50
|
-
import type { Props as TaskItemNodeProps } from './taskItem';
|
|
51
|
-
import type { Props as TaskListNodeProps } from './taskList';
|
|
52
|
-
declare const WindowedCodeBlock: React.ComponentType<CodeBlockNodeProps> & Loadable.LoadableComponent;
|
|
53
|
-
declare const CodeBlock: React.ComponentType<WithIntlProps<CodeBlockNodeProps & WrappedComponentProps>> & Loadable.LoadableComponent;
|
|
54
|
-
declare const TaskList: React.ComponentType<TaskListNodeProps> & Loadable.LoadableComponent;
|
|
55
|
-
declare const TaskItem: React.ComponentType<NodeProps<TaskItemNodeProps>> & Loadable.LoadableComponent;
|
|
56
|
-
declare const DecisionList: React.ComponentType<DecisionListNodeProps> & Loadable.LoadableComponent;
|
|
57
|
-
declare const DecisionItem: React.ComponentType<NodeProps> & Loadable.LoadableComponent;
|
|
58
|
-
declare const Date: React.ComponentType<DateNodeProps> & Loadable.LoadableComponent;
|
|
59
|
-
declare const Status: React.ComponentType<StatusNodeProps> & Loadable.LoadableComponent;
|
|
60
|
-
declare const Emoji: React.ComponentType<EmojiProps> & Loadable.LoadableComponent;
|
|
61
|
-
declare const Panel: React.ComponentType<PanelNodeProps> & Loadable.LoadableComponent;
|
|
62
|
-
declare const EmbedCard: React.ComponentType<{
|
|
63
|
-
data?: object;
|
|
64
|
-
eventHandlers?: EventHandlers;
|
|
65
|
-
isInsideOfBlockNode?: boolean;
|
|
66
|
-
isInsideOfInlineExtension?: boolean;
|
|
67
|
-
layout: RichMediaLayout;
|
|
68
|
-
onSetLinkTarget?: (url: string) => '_blank' | undefined;
|
|
69
|
-
originalHeight?: number;
|
|
70
|
-
originalWidth?: number;
|
|
71
|
-
portal?: HTMLElement;
|
|
72
|
-
rendererAppearance?: RendererAppearance;
|
|
73
|
-
smartLinks?: SmartLinksOptions;
|
|
74
|
-
url?: string;
|
|
75
|
-
width?: number;
|
|
76
|
-
}> & Loadable.LoadableComponent;
|
|
77
|
-
declare const InlineCard: React.ComponentType<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>> & Loadable.LoadableComponent;
|
|
78
|
-
declare const BlockCard: React.ComponentType<{
|
|
79
|
-
data?: object;
|
|
80
|
-
datasource?: DatasourceAttributeProperties;
|
|
81
|
-
eventHandlers?: EventHandlers;
|
|
82
|
-
isNodeNested?: boolean;
|
|
83
|
-
layout?: string;
|
|
84
|
-
localId?: string;
|
|
85
|
-
onSetLinkTarget?: (url: string) => '_blank' | undefined;
|
|
86
|
-
portal?: HTMLElement;
|
|
87
|
-
rendererAppearance?: RendererAppearance;
|
|
88
|
-
smartLinks?: SmartLinksOptions;
|
|
89
|
-
url?: string;
|
|
90
|
-
}> & Loadable.LoadableComponent;
|
|
91
|
-
declare const Media: React.ComponentType<React.PropsWithChildren<MediaProps>> & Loadable.LoadableComponent;
|
|
92
|
-
declare const MediaGroup: React.ComponentType<MediaGroupProps> & Loadable.LoadableComponent;
|
|
93
|
-
declare const MediaInline: React.ComponentType<WithIntlProps<{
|
|
94
|
-
collection?: string;
|
|
95
|
-
eventHandlers?: EventHandlers;
|
|
96
|
-
fallbackMediaNameFetcher?: (id: string) => Promise<string>;
|
|
97
|
-
featureFlags?: MediaFeatureFlags;
|
|
98
|
-
id: string;
|
|
99
|
-
marks?: Array<Mark>;
|
|
100
|
-
providers: ProviderFactory;
|
|
101
|
-
rendererAppearance?: RendererAppearance;
|
|
102
|
-
ssr?: MediaSSR;
|
|
103
|
-
} & WrappedComponentProps & MediaInlineAttrs>> & Loadable.LoadableComponent;
|
|
104
|
-
declare const MediaSingle: React.ComponentType<WithIntlProps<MediaSingleNodeProps & WrappedComponentProps>> & Loadable.LoadableComponent;
|
|
105
|
-
declare const Mention: React.ComponentType<MentionNodeProps> & Loadable.LoadableComponent;
|
|
106
|
-
declare const Expand: React.ComponentType<WithIntlProps<ExpandProps & WrappedComponentProps>> & Loadable.LoadableComponent;
|
|
107
|
-
export declare const nodeToReact: {
|
|
108
|
-
[key: string]: React.ComponentType<React.PropsWithChildren<any>>;
|
|
109
|
-
};
|
|
110
|
-
interface ToReactFlags {
|
|
111
|
-
allowSelectAllTrap?: boolean;
|
|
112
|
-
allowWindowedCodeBlock?: boolean;
|
|
113
|
-
}
|
|
114
|
-
export declare const toReact: (node: Node, flags?: ToReactFlags, nodeComponents?: NodeComponentsProps) => React.ComponentType<React.PropsWithChildren<any>>;
|
|
115
|
-
export interface TextWrapper {
|
|
116
|
-
content: Node[];
|
|
117
|
-
nodeSize: number;
|
|
118
|
-
type: {
|
|
119
|
-
name: 'textWrapper';
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
interface NodeSimple {
|
|
123
|
-
attrs?: any;
|
|
124
|
-
nodeSize: number;
|
|
125
|
-
text?: string;
|
|
126
|
-
type: {
|
|
127
|
-
name: string;
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
export declare const mergeTextNodes: (nodes: (Node | NodeSimple)[]) => (Node | TextWrapper | NodeSimple)[];
|
|
131
|
-
export declare const isText: (type: string) => type is "text";
|
|
132
|
-
export declare const isTextWrapper: (node: Node | TextWrapper | NodeSimple) => node is TextWrapper;
|
|
133
|
-
export declare function isTextNode(node: Node | Mark): node is Node;
|
|
134
|
-
/**
|
|
135
|
-
* Detects whether a fragment contains a single paragraph node
|
|
136
|
-
* whose content satisfies the condition for an emoji block
|
|
137
|
-
*/
|
|
138
|
-
export declare const isEmojiDoc: (doc: Fragment) => boolean;
|
|
139
|
-
export { Blockquote, BodiedExtension, BulletList, BlockCard, Caption, CodeBlock, WindowedCodeBlock, Date, DecisionItem, DecisionList, Doc, DocWithSelectAllTrap, Emoji, Extension, ExtensionFrame, Expand, HardBreak, Heading, ListItem, InlineCard, InlineExtension, LayoutSection, LayoutColumn, Media, MediaGroup, MediaInline, MediaSingle, Mention, MultiBodiedExtension, OrderedList, Panel, Paragraph, Placeholder, Rule, Status, TaskItem, TaskList, Table, TableCell, TableRow, UnknownBlock, EmbedCard, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function Inline(props: any): any;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { ComponentClass } from 'react';
|
|
2
|
-
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
4
|
-
import type { WithSmartCardStorageProps } from '../../ui/SmartCardStorage';
|
|
5
|
-
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
|
|
6
|
-
import type { MarkDataAttributes } from '../../ui/annotations/element/useInlineAnnotationProps';
|
|
7
|
-
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
8
|
-
import type { AnalyticsEventPayload } from '../../analytics/events';
|
|
9
|
-
import type { Diff } from '@atlaskit/editor-common/utils';
|
|
10
|
-
export interface InlineCardProps extends MarkDataAttributes {
|
|
11
|
-
data?: object;
|
|
12
|
-
eventHandlers?: EventHandlers;
|
|
13
|
-
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
14
|
-
marks?: Mark[];
|
|
15
|
-
onSetLinkTarget?: (url: string) => '_blank' | undefined;
|
|
16
|
-
portal?: HTMLElement;
|
|
17
|
-
rendererAppearance?: RendererAppearance;
|
|
18
|
-
smartLinks?: SmartLinksOptions;
|
|
19
|
-
url?: string;
|
|
20
|
-
}
|
|
21
|
-
declare const _default_1: ComponentClass<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>;
|
|
22
|
-
export default _default_1;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { RendererContext } from '../types';
|
|
3
|
-
import type { Mark as PMMark } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
5
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
6
|
-
interface Props {
|
|
7
|
-
extensionHandlers?: ExtensionHandlers;
|
|
8
|
-
extensionKey: string;
|
|
9
|
-
extensionType: string;
|
|
10
|
-
localId?: string;
|
|
11
|
-
marks?: PMMark[];
|
|
12
|
-
parameters?: any;
|
|
13
|
-
providers: ProviderFactory;
|
|
14
|
-
rendererContext: RendererContext;
|
|
15
|
-
text?: string;
|
|
16
|
-
}
|
|
17
|
-
declare const InlineExtension: (props: Props) => React.JSX.Element;
|
|
18
|
-
export default InlineExtension;
|
|
@@ -1,16 +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 `layoutColumn.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import React from 'react';
|
|
12
|
-
import type { Valign } from '@atlaskit/adf-schema/layout-column';
|
|
13
|
-
export declare const LayoutSectionCompiled: (props: React.PropsWithChildren<{
|
|
14
|
-
valign?: Valign;
|
|
15
|
-
width?: number;
|
|
16
|
-
}>) => React.JSX.Element;
|
|
@@ -1,16 +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 `layoutColumn.tsx`.
|
|
8
|
-
*
|
|
9
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
-
*/
|
|
11
|
-
import React from 'react';
|
|
12
|
-
import type { Valign } from '@atlaskit/adf-schema/layout-column';
|
|
13
|
-
export declare const LayoutSectionEmotion: (props: React.PropsWithChildren<{
|
|
14
|
-
valign?: Valign;
|
|
15
|
-
width?: number;
|
|
16
|
-
}>) => React.JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Valign } from '@atlaskit/adf-schema/layout-column';
|
|
3
|
-
/**
|
|
4
|
-
* Render a layout column in renderer.
|
|
5
|
-
*/
|
|
6
|
-
export default function LayoutSection(props: React.PropsWithChildren<{
|
|
7
|
-
valign?: Valign;
|
|
8
|
-
width?: number;
|
|
9
|
-
}>): React.JSX.Element;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
* @jsxFrag
|
|
5
|
-
*/
|
|
6
|
-
import type { PropsWithChildren } from 'react';
|
|
7
|
-
import React from 'react';
|
|
8
|
-
import { jsx } from '@emotion/react';
|
|
9
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
10
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
11
|
-
import type { MediaCardProps } from '../../../ui/MediaCard';
|
|
12
|
-
import type { LinkDefinition, BorderMarkDefinition, AnnotationMarkDefinition } from '@atlaskit/adf-schema';
|
|
13
|
-
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
14
|
-
import type { AnalyticsEventPayload } from '../../../analytics/events';
|
|
15
|
-
export type MediaProps = MediaCardProps & {
|
|
16
|
-
allowAltTextOnImages?: boolean;
|
|
17
|
-
allowAnnotationsDraftMode?: boolean;
|
|
18
|
-
children?: React.ReactNode;
|
|
19
|
-
enableDownloadButton?: boolean;
|
|
20
|
-
eventHandlers?: EventHandlers;
|
|
21
|
-
featureFlags?: MediaFeatureFlags;
|
|
22
|
-
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
23
|
-
height?: number;
|
|
24
|
-
isAnnotationMark?: () => boolean;
|
|
25
|
-
isBorderMark: () => boolean;
|
|
26
|
-
isDrafting: boolean;
|
|
27
|
-
isInsideOfBlockNode?: boolean;
|
|
28
|
-
isLinkMark: () => boolean;
|
|
29
|
-
marks: Array<LinkDefinition | BorderMarkDefinition | AnnotationMarkDefinition>;
|
|
30
|
-
mediaSingleElement?: HTMLElement | null;
|
|
31
|
-
providers?: ProviderFactory;
|
|
32
|
-
width?: number;
|
|
33
|
-
};
|
|
34
|
-
declare const MediaWithDraftAnnotation: (props: PropsWithChildren<MediaProps>) => jsx.JSX.Element;
|
|
35
|
-
export default MediaWithDraftAnnotation;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { ReactElement } from 'react';
|
|
2
|
-
import React, { PureComponent } from 'react';
|
|
3
|
-
import type { CardEvent } from '@atlaskit/media-card';
|
|
4
|
-
import type { EventHandlers, CardEventClickHandler } from '@atlaskit/editor-common/ui';
|
|
5
|
-
import type { Identifier } from '@atlaskit/media-client';
|
|
6
|
-
import type { MediaProps } from './media';
|
|
7
|
-
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
8
|
-
export interface MediaGroupProps {
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
enableDownloadButton?: boolean;
|
|
11
|
-
eventHandlers?: EventHandlers;
|
|
12
|
-
featureFlags?: MediaFeatureFlags;
|
|
13
|
-
}
|
|
14
|
-
interface MediaGroupState {
|
|
15
|
-
animate: boolean;
|
|
16
|
-
offset: number;
|
|
17
|
-
}
|
|
18
|
-
export default class MediaGroup extends PureComponent<MediaGroupProps, MediaGroupState> {
|
|
19
|
-
state: MediaGroupState;
|
|
20
|
-
private handleSize;
|
|
21
|
-
private handleScroll;
|
|
22
|
-
render(): React.JSX.Element;
|
|
23
|
-
renderSingleFile(child: ReactElement<MediaProps>): ReactElement<MediaProps>;
|
|
24
|
-
renderSingleLink(child: ReactElement<MediaProps>): ReactElement<MediaProps>;
|
|
25
|
-
onMediaClick: (cardClickHandler: CardEventClickHandler, child: ReactElement<MediaProps>, surroundingItems: Identifier[]) => (event: CardEvent, analyticsEvent?: any) => void;
|
|
26
|
-
cloneFileCard(child: ReactElement<MediaProps>, surroundingItems: Identifier[]): ReactElement<MediaProps>;
|
|
27
|
-
renderStrip(): React.JSX.Element;
|
|
28
|
-
private mapMediaPropsToIdentifier;
|
|
29
|
-
}
|
|
30
|
-
export {};
|